2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
28 build_alias=@build_alias@
30 host_alias=@host_alias@
32 target_alias=@target_alias@
35 program_transform_name = @program_transform_name@
38 exec_prefix = @exec_prefix@
44 libexecdir = @libexecdir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
92 # This is the name of the environment variable used for the path to
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
106 # This is the list of directories to be built for the build system.
107 BUILD_CONFIGDIRS = libiberty libbanshee
108 # Build programs are put under this directory.
109 BUILD_SUBDIR = @build_subdir@
110 # This is set by the configure script to the arguments to use when configuring
111 # directories built for the build system.
112 BUILD_CONFIGARGS = @build_configargs@
114 # This is the list of variables to export in the environment when
115 # configuring any subdirectory. It must also be exported whenever
116 # recursing into a build directory in case that directory's Makefile
119 FLEX="$(FLEX)"; export FLEX; \
120 LEX="$(LEX)"; export LEX; \
121 BISON="$(BISON)"; export BISON; \
122 YACC="$(YACC)"; export YACC; \
123 M4="$(M4)"; export M4; \
124 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
126 # This is the list of variables to export in the environment when
127 # configuring subdirectories for the build system.
130 AR="$(AR_FOR_BUILD)"; export AR; \
131 AS="$(AS_FOR_BUILD)"; export AS; \
132 CC="$(CC_FOR_BUILD)"; export CC; \
133 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
134 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
135 CXX="$(CXX_FOR_BUILD)"; export CXX; \
136 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
137 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
138 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
139 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
140 LD="$(LD_FOR_BUILD)"; export LD; \
141 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
142 NM="$(NM_FOR_BUILD)"; export NM; \
143 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
144 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
146 # This is the list of directories to built for the host system.
147 SUBDIRS = @configdirs@
148 # This is set by the configure script to the arguments to use when configuring
149 # directories built for the host system.
150 HOST_CONFIGARGS = @host_configargs@
151 # This is the list of variables to export in the environment when
152 # configuring subdirectories for the host system.
155 CC="$(CC)"; export CC; \
156 CFLAGS="$(CFLAGS)"; export CFLAGS; \
157 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
158 CXX="$(CXX)"; export CXX; \
159 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
160 AR="$(AR)"; export AR; \
161 AS="$(AS)"; export AS; \
162 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
163 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
164 LD="$(LD)"; export LD; \
165 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
166 NM="$(NM)"; export NM; \
167 RANLIB="$(RANLIB)"; export RANLIB; \
168 WINDRES="$(WINDRES)"; export WINDRES; \
169 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
170 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
171 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
172 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
173 GMPINC="$(HOST_GMPINC)"; export GMPINC;
175 # Similar, for later GCC stages.
176 STAGE_HOST_EXPORTS = \
178 CC="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
179 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) $$r/prev-gcc/xgcc$(exeext) -B$$r/prev-gcc/ -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
181 # This is set by the configure script to the list of directories which
182 # should be built using the target tools.
183 TARGET_CONFIGDIRS = @target_configdirs@
184 # Target libraries are put under this directory:
185 TARGET_SUBDIR = @target_subdir@
186 # This is set by the configure script to the arguments to use when configuring
187 # directories built for the target.
188 TARGET_CONFIGARGS = @target_configargs@
189 # This is the list of variables to export in the environment when
190 # configuring subdirectories for the host system.
191 BASE_TARGET_EXPORTS = \
193 AR="$(AR_FOR_TARGET)"; export AR; \
194 AS="$(AS_FOR_TARGET)"; export AS; \
195 CC="$(CC_FOR_TARGET)"; export CC; \
196 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
197 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
198 CPPFLAGS="$(CFLAGS_FOR_TARGET)"; export CPPFLAGS; \
199 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
200 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
201 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
202 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
203 LD="$(LD_FOR_TARGET)"; export LD; \
204 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
205 NM="$(NM_FOR_TARGET)"; export NM; \
206 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
207 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES;
209 RAW_CXX_TARGET_EXPORTS = \
210 $(BASE_TARGET_EXPORTS) \
211 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
212 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
214 NORMAL_TARGET_EXPORTS = \
215 $(BASE_TARGET_EXPORTS) \
216 CXX="$(CXX_FOR_TARGET)"; export CXX;
219 HOST_GMPLIBS = @gmplibs@
220 HOST_GMPINC = @gmpinc@
222 # ----------------------------------------------
223 # Programs producing files for the BUILD machine
224 # ----------------------------------------------
226 SHELL = @config_shell@
228 # pwd command to use. Allow user to override default by setting PWDCMD in
229 # the environment to account for automounters. The make variable must not
230 # be called PWDCMD, otherwise the value set here is passed to make
231 # subprocesses and overrides the setting from the user's environment.
232 # Don't use PWD since it is a common shell environment variable and we
233 # don't want to corrupt it.
234 PWD_COMMAND = $${PWDCMD-pwd}
236 # compilers to use to create programs which must be run in the build
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
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 EXPECT = `if [ -f $$r/expect/expect ] ; \
297 then echo $$r/expect/expect ; \
298 else echo expect ; fi`
300 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
301 then echo $$s/dejagnu/runtest ; \
302 else echo runtest ; fi`
304 # ---------------------------------------------
305 # Programs producing files for the HOST machine
306 # ---------------------------------------------
308 # This is the list of directories that may be needed in RPATH_ENVVAR
309 # so that programs built for the host machine work.
310 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
319 LIBCFLAGS = $(CFLAGS)
322 CXXFLAGS = @CXXFLAGS@
323 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
338 # -----------------------------------------------
339 # Programs producing files for the TARGET machine
340 # -----------------------------------------------
342 # This is the list of directories that may be needed in RPATH_ENVVAR
343 # so that prorgams built for the target machine work.
344 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
346 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
348 AR_FOR_TARGET=@AR_FOR_TARGET@
349 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
350 USUAL_AR_FOR_TARGET = ` \
351 if [ -f $$r/binutils/ar ] ; then \
352 echo $$r/binutils/ar ; \
354 if [ '$(host)' = '$(target)' ] ; then \
357 echo $(CONFIGURED_AR_FOR_TARGET) ; \
361 AS_FOR_TARGET=@AS_FOR_TARGET@
362 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
363 USUAL_AS_FOR_TARGET = ` \
364 if [ -f $$r/gas/as-new ] ; then \
365 echo $$r/gas/as-new ; \
366 elif [ -f $$r/gcc/xgcc ]; then \
367 $(CC_FOR_TARGET) -print-prog-name=as ; \
369 if [ '$(host)' = '$(target)' ] ; then \
372 echo $(CONFIGURED_AS_FOR_TARGET) ; \
376 CC_FOR_TARGET = @CC_FOR_TARGET@
377 # During gcc bootstrap, if we use some random cc for stage1 then
378 # CFLAGS will be just -g. We want to ensure that TARGET libraries
379 # (which we know are built with gcc) are built with optimizations so
380 # prepend -O2 when setting CFLAGS_FOR_TARGET.
381 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
382 # If GCC_FOR_TARGET is not overriden on the command line, then this
383 # variable is passed down to the gcc Makefile, where it is used to
384 # build libgcc2.a. We define it here so that it can itself be
385 # overridden on the command line.
386 GCC_FOR_TARGET=@GCC_FOR_TARGET@
387 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
388 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
390 CXX_FOR_TARGET = @CXX_FOR_TARGET@
391 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
392 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
393 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
394 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
395 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
397 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
398 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
399 USUAL_DLLTOOL_FOR_TARGET = ` \
400 if [ -f $$r/binutils/dlltool ] ; then \
401 echo $$r/binutils/dlltool ; \
403 if [ '$(host)' = '$(target)' ] ; then \
406 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
410 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
411 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
413 LD_FOR_TARGET=@LD_FOR_TARGET@
414 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
415 USUAL_LD_FOR_TARGET = ` \
416 if [ -f $$r/ld/ld-new ] ; then \
417 echo $$r/ld/ld-new ; \
418 elif [ -f $$r/gcc/xgcc ]; then \
419 $(CC_FOR_TARGET) -print-prog-name=ld ; \
421 if [ '$(host)' = '$(target)' ] ; then \
424 echo $(CONFIGURED_LD_FOR_TARGET) ; \
430 NM_FOR_TARGET=@NM_FOR_TARGET@
431 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
432 USUAL_NM_FOR_TARGET = ` \
433 if [ -f $$r/binutils/nm-new ] ; then \
434 echo $$r/binutils/nm-new ; \
435 elif [ -f $$r/gcc/xgcc ]; then \
436 $(CC_FOR_TARGET) -print-prog-name=nm ; \
438 if [ '$(host)' = '$(target)' ] ; then \
441 echo $(CONFIGURED_NM_FOR_TARGET) ; \
445 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
446 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
447 USUAL_RANLIB_FOR_TARGET = ` \
448 if [ -f $$r/binutils/ranlib ] ; then \
449 echo $$r/binutils/ranlib ; \
451 if [ '$(host)' = '$(target)' ] ; then \
452 if [ x'$(RANLIB)' != x ]; then \
458 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
462 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
463 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
464 USUAL_WINDRES_FOR_TARGET = ` \
465 if [ -f $$r/binutils/windres ] ; then \
466 echo $$r/binutils/windres ; \
468 if [ '$(host)' = '$(target)' ] ; then \
471 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
477 # ------------------------------------
478 # Miscellaneous targets and flag lists
479 # ------------------------------------
482 # Let's leave this as the first rule in the file until toplevel
483 # bootstrap is fleshed out completely.
485 @echo Toplevel bootstrap temporarily out of commission.
486 @echo Please reconfigure without --enable-bootstrap
489 # Flags to pass to stage2 and later makes. -- define here so fragments can
494 # The first rule in the file had better be this one. Don't put any above it.
495 # This lives here to allow makefile fragments to contain dependencies.
498 #### host and target specific makefile fragments come in here.
499 @target_makefile_frag@
505 # Flags to pass down to all sub-makes.
506 BASE_FLAGS_TO_PASS = \
507 "DESTDIR=$(DESTDIR)" \
508 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
509 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
511 "datadir=$(datadir)" \
512 "exec_prefix=$(exec_prefix)" \
513 "includedir=$(includedir)" \
514 "infodir=$(infodir)" \
516 "libexecdir=$(libexecdir)" \
517 "lispdir=$(lispdir)" \
518 "libstdcxx_incdir=$(libstdcxx_incdir)" \
519 "libsubdir=$(libsubdir)" \
520 "localstatedir=$(localstatedir)" \
522 "oldincludedir=$(oldincludedir)" \
524 "sbindir=$(sbindir)" \
525 "sharedstatedir=$(sharedstatedir)" \
526 "sysconfdir=$(sysconfdir)" \
527 "tooldir=$(tooldir)" \
528 "build_tooldir=$(build_tooldir)" \
529 "gxx_include_dir=$(gxx_include_dir)" \
530 "gcc_version=$(gcc_version)" \
531 "gcc_version_trigger=$(gcc_version_trigger)" \
532 "target_alias=$(target_alias)" \
534 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
535 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
538 "INSTALL=$(INSTALL)" \
539 "INSTALL_DATA=$(INSTALL_DATA)" \
540 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
541 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
545 "RUNTEST=$(RUNTEST)" \
546 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
549 "AR_FLAGS=$(AR_FLAGS)" \
551 "CXXFLAGS=$(CXXFLAGS)" \
552 "LDFLAGS=$(LDFLAGS)" \
553 "LIBCFLAGS=$(LIBCFLAGS)" \
554 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
555 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
556 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
557 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
558 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
559 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
560 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
561 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
562 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
563 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
564 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
565 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
566 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
567 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
568 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
569 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
570 "CONFIG_SHELL=$(SHELL)" \
571 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
573 # For any flags above that may contain shell code that varies from one
574 # target library to another. When doing recursive invocations of the
575 # top-level Makefile, we don't want the outer make to evaluate them,
576 # so we pass these variables down unchanged. They must not contain
577 # single nor double quotes.
579 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
580 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
582 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
584 # Flags to pass down to most sub-makes, in which we're building with
585 # the host environment.
591 'DLLTOOL=$(DLLTOOL)' \
597 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
599 # Flags that are concerned with the location of the X11 include files
602 # NOTE: until the top-level is getting the values via autoconf, it only
603 # causes problems to have this top-level Makefile overriding the autoconf-set
604 # values in child directories. Only variables that don't conflict with
605 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
607 X11_FLAGS_TO_PASS = \
608 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
609 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
611 # Flags to pass down to makes which are built with the target environment.
612 # The double $ decreases the length of the command line; the variables
613 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
614 EXTRA_TARGET_FLAGS = \
615 'AR=$$(AR_FOR_TARGET)' \
616 'AS=$$(AS_FOR_TARGET)' \
617 'CC=$$(CC_FOR_TARGET)' \
618 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
619 'CXX=$$(CXX_FOR_TARGET)' \
620 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
621 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
622 'LD=$$(LD_FOR_TARGET)' \
623 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
624 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
625 'NM=$$(NM_FOR_TARGET)' \
626 'RANLIB=$$(RANLIB_FOR_TARGET)' \
627 'WINDRES=$$(WINDRES_FOR_TARGET)'
629 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
631 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
632 # unfortunately needs the native compiler and the target ar and
634 # If any variables are added here, they must be added to do-*, below.
635 # The BUILD_* variables are a special case, which are used for the gcc
636 # cross-building scheme.
638 'BUILD_PREFIX=$(BUILD_PREFIX)' \
639 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
640 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
641 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
642 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
646 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
647 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
648 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
649 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
650 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
652 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
654 .PHONY: configure-host
656 maybe-configure-ash \
657 maybe-configure-autoconf \
658 maybe-configure-automake \
659 maybe-configure-bash \
660 maybe-configure-bfd \
661 maybe-configure-opcodes \
662 maybe-configure-binutils \
663 maybe-configure-bison \
664 maybe-configure-byacc \
665 maybe-configure-bzip2 \
666 maybe-configure-dejagnu \
667 maybe-configure-diff \
668 maybe-configure-dosutils \
669 maybe-configure-etc \
670 maybe-configure-fastjar \
671 maybe-configure-fileutils \
672 maybe-configure-findutils \
673 maybe-configure-find \
674 maybe-configure-flex \
675 maybe-configure-gas \
676 maybe-configure-gcc \
677 maybe-configure-gawk \
678 maybe-configure-gettext \
679 maybe-configure-gnuserv \
680 maybe-configure-gprof \
681 maybe-configure-gzip \
682 maybe-configure-hello \
683 maybe-configure-indent \
684 maybe-configure-intl \
685 maybe-configure-tcl \
686 maybe-configure-itcl \
688 maybe-configure-libcpp \
689 maybe-configure-libgui \
690 maybe-configure-libbanshee \
691 maybe-configure-libiberty \
692 maybe-configure-libtool \
694 maybe-configure-make \
695 maybe-configure-mmalloc \
696 maybe-configure-patch \
697 maybe-configure-perl \
698 maybe-configure-prms \
699 maybe-configure-rcs \
700 maybe-configure-readline \
701 maybe-configure-release \
702 maybe-configure-recode \
703 maybe-configure-sed \
704 maybe-configure-send-pr \
705 maybe-configure-shellutils \
706 maybe-configure-sid \
707 maybe-configure-sim \
708 maybe-configure-tar \
709 maybe-configure-texinfo \
710 maybe-configure-textutils \
711 maybe-configure-time \
712 maybe-configure-uudecode \
713 maybe-configure-wdiff \
714 maybe-configure-zip \
715 maybe-configure-zlib \
716 maybe-configure-gdb \
717 maybe-configure-expect \
718 maybe-configure-guile \
720 maybe-configure-libtermcap \
721 maybe-configure-utils
722 .PHONY: configure-target
724 maybe-configure-target-libstdc++-v3 \
725 maybe-configure-target-libmudflap \
726 maybe-configure-target-newlib \
727 maybe-configure-target-libgfortran \
728 maybe-configure-target-libobjc \
729 maybe-configure-target-libtermcap \
730 maybe-configure-target-winsup \
731 maybe-configure-target-libgloss \
732 maybe-configure-target-libiberty \
733 maybe-configure-target-gperf \
734 maybe-configure-target-examples \
735 maybe-configure-target-libffi \
736 maybe-configure-target-libjava \
737 maybe-configure-target-zlib \
738 maybe-configure-target-boehm-gc \
739 maybe-configure-target-qthreads \
740 maybe-configure-target-rda \
741 maybe-configure-target-libada
743 # The target built for a native non-bootstrap build.
745 all: unstage all-host all-target stage
749 maybe-all-build-libiberty \
750 maybe-all-build-bison \
751 maybe-all-build-byacc \
752 maybe-all-build-flex \
754 maybe-all-build-texinfo \
755 maybe-all-build-fixincludes
773 maybe-all-fileutils \
774 maybe-all-findutils \
792 maybe-all-libbanshee \
793 maybe-all-libiberty \
807 maybe-all-shellutils \
812 maybe-all-textutils \
822 maybe-all-libtermcap \
826 maybe-all-target-libstdc++-v3 \
827 maybe-all-target-libmudflap \
828 maybe-all-target-newlib \
829 maybe-all-target-libgfortran \
830 maybe-all-target-libobjc \
831 maybe-all-target-libtermcap \
832 maybe-all-target-winsup \
833 maybe-all-target-libgloss \
834 maybe-all-target-libiberty \
835 maybe-all-target-gperf \
836 maybe-all-target-examples \
837 maybe-all-target-libffi \
838 maybe-all-target-libjava \
839 maybe-all-target-zlib \
840 maybe-all-target-boehm-gc \
841 maybe-all-target-qthreads \
842 maybe-all-target-rda \
843 maybe-all-target-libada
845 # Do a target for all the subdirectories. A ``make do-X'' will do a
846 # ``make X'' in all subdirectories (because, in general, there is a
847 # dependency (below) of X upon do-X, a ``make X'' will also do this,
848 # but it may do additional work as well).
851 do-info: unstage info-host info-target stage
856 maybe-info-autoconf \
857 maybe-info-automake \
861 maybe-info-binutils \
867 maybe-info-dosutils \
870 maybe-info-fileutils \
871 maybe-info-findutils \
889 maybe-info-libbanshee \
890 maybe-info-libiberty \
899 maybe-info-readline \
904 maybe-info-shellutils \
909 maybe-info-textutils \
911 maybe-info-uudecode \
919 maybe-info-libtermcap \
924 maybe-info-target-libstdc++-v3 \
925 maybe-info-target-libmudflap \
926 maybe-info-target-newlib \
927 maybe-info-target-libgfortran \
928 maybe-info-target-libobjc \
929 maybe-info-target-libtermcap \
930 maybe-info-target-winsup \
931 maybe-info-target-libgloss \
932 maybe-info-target-libiberty \
933 maybe-info-target-gperf \
934 maybe-info-target-examples \
935 maybe-info-target-libffi \
936 maybe-info-target-libjava \
937 maybe-info-target-zlib \
938 maybe-info-target-boehm-gc \
939 maybe-info-target-qthreads \
940 maybe-info-target-rda \
941 maybe-info-target-libada
944 do-dvi: unstage dvi-host dvi-target stage
963 maybe-dvi-fileutils \
964 maybe-dvi-findutils \
982 maybe-dvi-libbanshee \
983 maybe-dvi-libiberty \
997 maybe-dvi-shellutils \
1002 maybe-dvi-textutils \
1004 maybe-dvi-uudecode \
1012 maybe-dvi-libtermcap \
1017 maybe-dvi-target-libstdc++-v3 \
1018 maybe-dvi-target-libmudflap \
1019 maybe-dvi-target-newlib \
1020 maybe-dvi-target-libgfortran \
1021 maybe-dvi-target-libobjc \
1022 maybe-dvi-target-libtermcap \
1023 maybe-dvi-target-winsup \
1024 maybe-dvi-target-libgloss \
1025 maybe-dvi-target-libiberty \
1026 maybe-dvi-target-gperf \
1027 maybe-dvi-target-examples \
1028 maybe-dvi-target-libffi \
1029 maybe-dvi-target-libjava \
1030 maybe-dvi-target-zlib \
1031 maybe-dvi-target-boehm-gc \
1032 maybe-dvi-target-qthreads \
1033 maybe-dvi-target-rda \
1034 maybe-dvi-target-libada
1037 do-TAGS: unstage TAGS-host TAGS-target stage
1042 maybe-TAGS-autoconf \
1043 maybe-TAGS-automake \
1046 maybe-TAGS-opcodes \
1047 maybe-TAGS-binutils \
1051 maybe-TAGS-dejagnu \
1053 maybe-TAGS-dosutils \
1055 maybe-TAGS-fastjar \
1056 maybe-TAGS-fileutils \
1057 maybe-TAGS-findutils \
1063 maybe-TAGS-gettext \
1064 maybe-TAGS-gnuserv \
1075 maybe-TAGS-libbanshee \
1076 maybe-TAGS-libiberty \
1077 maybe-TAGS-libtool \
1080 maybe-TAGS-mmalloc \
1085 maybe-TAGS-readline \
1086 maybe-TAGS-release \
1089 maybe-TAGS-send-pr \
1090 maybe-TAGS-shellutils \
1094 maybe-TAGS-texinfo \
1095 maybe-TAGS-textutils \
1097 maybe-TAGS-uudecode \
1105 maybe-TAGS-libtermcap \
1110 maybe-TAGS-target-libstdc++-v3 \
1111 maybe-TAGS-target-libmudflap \
1112 maybe-TAGS-target-newlib \
1113 maybe-TAGS-target-libgfortran \
1114 maybe-TAGS-target-libobjc \
1115 maybe-TAGS-target-libtermcap \
1116 maybe-TAGS-target-winsup \
1117 maybe-TAGS-target-libgloss \
1118 maybe-TAGS-target-libiberty \
1119 maybe-TAGS-target-gperf \
1120 maybe-TAGS-target-examples \
1121 maybe-TAGS-target-libffi \
1122 maybe-TAGS-target-libjava \
1123 maybe-TAGS-target-zlib \
1124 maybe-TAGS-target-boehm-gc \
1125 maybe-TAGS-target-qthreads \
1126 maybe-TAGS-target-rda \
1127 maybe-TAGS-target-libada
1129 .PHONY: do-install-info
1130 do-install-info: unstage install-info-host install-info-target stage
1132 .PHONY: install-info-host
1133 install-info-host: \
1134 maybe-install-info-ash \
1135 maybe-install-info-autoconf \
1136 maybe-install-info-automake \
1137 maybe-install-info-bash \
1138 maybe-install-info-bfd \
1139 maybe-install-info-opcodes \
1140 maybe-install-info-binutils \
1141 maybe-install-info-bison \
1142 maybe-install-info-byacc \
1143 maybe-install-info-bzip2 \
1144 maybe-install-info-dejagnu \
1145 maybe-install-info-diff \
1146 maybe-install-info-dosutils \
1147 maybe-install-info-etc \
1148 maybe-install-info-fastjar \
1149 maybe-install-info-fileutils \
1150 maybe-install-info-findutils \
1151 maybe-install-info-find \
1152 maybe-install-info-flex \
1153 maybe-install-info-gas \
1154 maybe-install-info-gcc \
1155 maybe-install-info-gawk \
1156 maybe-install-info-gettext \
1157 maybe-install-info-gnuserv \
1158 maybe-install-info-gprof \
1159 maybe-install-info-gzip \
1160 maybe-install-info-hello \
1161 maybe-install-info-indent \
1162 maybe-install-info-intl \
1163 maybe-install-info-tcl \
1164 maybe-install-info-itcl \
1165 maybe-install-info-ld \
1166 maybe-install-info-libcpp \
1167 maybe-install-info-libgui \
1168 maybe-install-info-libbanshee \
1169 maybe-install-info-libiberty \
1170 maybe-install-info-libtool \
1171 maybe-install-info-m4 \
1172 maybe-install-info-make \
1173 maybe-install-info-mmalloc \
1174 maybe-install-info-patch \
1175 maybe-install-info-perl \
1176 maybe-install-info-prms \
1177 maybe-install-info-rcs \
1178 maybe-install-info-readline \
1179 maybe-install-info-release \
1180 maybe-install-info-recode \
1181 maybe-install-info-sed \
1182 maybe-install-info-send-pr \
1183 maybe-install-info-shellutils \
1184 maybe-install-info-sid \
1185 maybe-install-info-sim \
1186 maybe-install-info-tar \
1187 maybe-install-info-texinfo \
1188 maybe-install-info-textutils \
1189 maybe-install-info-time \
1190 maybe-install-info-uudecode \
1191 maybe-install-info-wdiff \
1192 maybe-install-info-zip \
1193 maybe-install-info-zlib \
1194 maybe-install-info-gdb \
1195 maybe-install-info-expect \
1196 maybe-install-info-guile \
1197 maybe-install-info-tk \
1198 maybe-install-info-libtermcap \
1199 maybe-install-info-utils
1201 .PHONY: install-info-target
1202 install-info-target: \
1203 maybe-install-info-target-libstdc++-v3 \
1204 maybe-install-info-target-libmudflap \
1205 maybe-install-info-target-newlib \
1206 maybe-install-info-target-libgfortran \
1207 maybe-install-info-target-libobjc \
1208 maybe-install-info-target-libtermcap \
1209 maybe-install-info-target-winsup \
1210 maybe-install-info-target-libgloss \
1211 maybe-install-info-target-libiberty \
1212 maybe-install-info-target-gperf \
1213 maybe-install-info-target-examples \
1214 maybe-install-info-target-libffi \
1215 maybe-install-info-target-libjava \
1216 maybe-install-info-target-zlib \
1217 maybe-install-info-target-boehm-gc \
1218 maybe-install-info-target-qthreads \
1219 maybe-install-info-target-rda \
1220 maybe-install-info-target-libada
1222 .PHONY: do-installcheck
1223 do-installcheck: unstage installcheck-host installcheck-target stage
1225 .PHONY: installcheck-host
1226 installcheck-host: \
1227 maybe-installcheck-ash \
1228 maybe-installcheck-autoconf \
1229 maybe-installcheck-automake \
1230 maybe-installcheck-bash \
1231 maybe-installcheck-bfd \
1232 maybe-installcheck-opcodes \
1233 maybe-installcheck-binutils \
1234 maybe-installcheck-bison \
1235 maybe-installcheck-byacc \
1236 maybe-installcheck-bzip2 \
1237 maybe-installcheck-dejagnu \
1238 maybe-installcheck-diff \
1239 maybe-installcheck-dosutils \
1240 maybe-installcheck-etc \
1241 maybe-installcheck-fastjar \
1242 maybe-installcheck-fileutils \
1243 maybe-installcheck-findutils \
1244 maybe-installcheck-find \
1245 maybe-installcheck-flex \
1246 maybe-installcheck-gas \
1247 maybe-installcheck-gcc \
1248 maybe-installcheck-gawk \
1249 maybe-installcheck-gettext \
1250 maybe-installcheck-gnuserv \
1251 maybe-installcheck-gprof \
1252 maybe-installcheck-gzip \
1253 maybe-installcheck-hello \
1254 maybe-installcheck-indent \
1255 maybe-installcheck-intl \
1256 maybe-installcheck-tcl \
1257 maybe-installcheck-itcl \
1258 maybe-installcheck-ld \
1259 maybe-installcheck-libcpp \
1260 maybe-installcheck-libgui \
1261 maybe-installcheck-libbanshee \
1262 maybe-installcheck-libiberty \
1263 maybe-installcheck-libtool \
1264 maybe-installcheck-m4 \
1265 maybe-installcheck-make \
1266 maybe-installcheck-mmalloc \
1267 maybe-installcheck-patch \
1268 maybe-installcheck-perl \
1269 maybe-installcheck-prms \
1270 maybe-installcheck-rcs \
1271 maybe-installcheck-readline \
1272 maybe-installcheck-release \
1273 maybe-installcheck-recode \
1274 maybe-installcheck-sed \
1275 maybe-installcheck-send-pr \
1276 maybe-installcheck-shellutils \
1277 maybe-installcheck-sid \
1278 maybe-installcheck-sim \
1279 maybe-installcheck-tar \
1280 maybe-installcheck-texinfo \
1281 maybe-installcheck-textutils \
1282 maybe-installcheck-time \
1283 maybe-installcheck-uudecode \
1284 maybe-installcheck-wdiff \
1285 maybe-installcheck-zip \
1286 maybe-installcheck-zlib \
1287 maybe-installcheck-gdb \
1288 maybe-installcheck-expect \
1289 maybe-installcheck-guile \
1290 maybe-installcheck-tk \
1291 maybe-installcheck-libtermcap \
1292 maybe-installcheck-utils
1294 .PHONY: installcheck-target
1295 installcheck-target: \
1296 maybe-installcheck-target-libstdc++-v3 \
1297 maybe-installcheck-target-libmudflap \
1298 maybe-installcheck-target-newlib \
1299 maybe-installcheck-target-libgfortran \
1300 maybe-installcheck-target-libobjc \
1301 maybe-installcheck-target-libtermcap \
1302 maybe-installcheck-target-winsup \
1303 maybe-installcheck-target-libgloss \
1304 maybe-installcheck-target-libiberty \
1305 maybe-installcheck-target-gperf \
1306 maybe-installcheck-target-examples \
1307 maybe-installcheck-target-libffi \
1308 maybe-installcheck-target-libjava \
1309 maybe-installcheck-target-zlib \
1310 maybe-installcheck-target-boehm-gc \
1311 maybe-installcheck-target-qthreads \
1312 maybe-installcheck-target-rda \
1313 maybe-installcheck-target-libada
1315 .PHONY: do-mostlyclean
1316 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1318 .PHONY: mostlyclean-host
1320 maybe-mostlyclean-ash \
1321 maybe-mostlyclean-autoconf \
1322 maybe-mostlyclean-automake \
1323 maybe-mostlyclean-bash \
1324 maybe-mostlyclean-bfd \
1325 maybe-mostlyclean-opcodes \
1326 maybe-mostlyclean-binutils \
1327 maybe-mostlyclean-bison \
1328 maybe-mostlyclean-byacc \
1329 maybe-mostlyclean-bzip2 \
1330 maybe-mostlyclean-dejagnu \
1331 maybe-mostlyclean-diff \
1332 maybe-mostlyclean-dosutils \
1333 maybe-mostlyclean-etc \
1334 maybe-mostlyclean-fastjar \
1335 maybe-mostlyclean-fileutils \
1336 maybe-mostlyclean-findutils \
1337 maybe-mostlyclean-find \
1338 maybe-mostlyclean-flex \
1339 maybe-mostlyclean-gas \
1340 maybe-mostlyclean-gcc \
1341 maybe-mostlyclean-gawk \
1342 maybe-mostlyclean-gettext \
1343 maybe-mostlyclean-gnuserv \
1344 maybe-mostlyclean-gprof \
1345 maybe-mostlyclean-gzip \
1346 maybe-mostlyclean-hello \
1347 maybe-mostlyclean-indent \
1348 maybe-mostlyclean-intl \
1349 maybe-mostlyclean-tcl \
1350 maybe-mostlyclean-itcl \
1351 maybe-mostlyclean-ld \
1352 maybe-mostlyclean-libcpp \
1353 maybe-mostlyclean-libgui \
1354 maybe-mostlyclean-libbanshee \
1355 maybe-mostlyclean-libiberty \
1356 maybe-mostlyclean-libtool \
1357 maybe-mostlyclean-m4 \
1358 maybe-mostlyclean-make \
1359 maybe-mostlyclean-mmalloc \
1360 maybe-mostlyclean-patch \
1361 maybe-mostlyclean-perl \
1362 maybe-mostlyclean-prms \
1363 maybe-mostlyclean-rcs \
1364 maybe-mostlyclean-readline \
1365 maybe-mostlyclean-release \
1366 maybe-mostlyclean-recode \
1367 maybe-mostlyclean-sed \
1368 maybe-mostlyclean-send-pr \
1369 maybe-mostlyclean-shellutils \
1370 maybe-mostlyclean-sid \
1371 maybe-mostlyclean-sim \
1372 maybe-mostlyclean-tar \
1373 maybe-mostlyclean-texinfo \
1374 maybe-mostlyclean-textutils \
1375 maybe-mostlyclean-time \
1376 maybe-mostlyclean-uudecode \
1377 maybe-mostlyclean-wdiff \
1378 maybe-mostlyclean-zip \
1379 maybe-mostlyclean-zlib \
1380 maybe-mostlyclean-gdb \
1381 maybe-mostlyclean-expect \
1382 maybe-mostlyclean-guile \
1383 maybe-mostlyclean-tk \
1384 maybe-mostlyclean-libtermcap \
1385 maybe-mostlyclean-utils
1387 .PHONY: mostlyclean-target
1388 mostlyclean-target: \
1389 maybe-mostlyclean-target-libstdc++-v3 \
1390 maybe-mostlyclean-target-libmudflap \
1391 maybe-mostlyclean-target-newlib \
1392 maybe-mostlyclean-target-libgfortran \
1393 maybe-mostlyclean-target-libobjc \
1394 maybe-mostlyclean-target-libtermcap \
1395 maybe-mostlyclean-target-winsup \
1396 maybe-mostlyclean-target-libgloss \
1397 maybe-mostlyclean-target-libiberty \
1398 maybe-mostlyclean-target-gperf \
1399 maybe-mostlyclean-target-examples \
1400 maybe-mostlyclean-target-libffi \
1401 maybe-mostlyclean-target-libjava \
1402 maybe-mostlyclean-target-zlib \
1403 maybe-mostlyclean-target-boehm-gc \
1404 maybe-mostlyclean-target-qthreads \
1405 maybe-mostlyclean-target-rda \
1406 maybe-mostlyclean-target-libada
1409 do-clean: unstage clean-host clean-target stage
1414 maybe-clean-autoconf \
1415 maybe-clean-automake \
1418 maybe-clean-opcodes \
1419 maybe-clean-binutils \
1423 maybe-clean-dejagnu \
1425 maybe-clean-dosutils \
1427 maybe-clean-fastjar \
1428 maybe-clean-fileutils \
1429 maybe-clean-findutils \
1435 maybe-clean-gettext \
1436 maybe-clean-gnuserv \
1440 maybe-clean-indent \
1445 maybe-clean-libcpp \
1446 maybe-clean-libgui \
1447 maybe-clean-libbanshee \
1448 maybe-clean-libiberty \
1449 maybe-clean-libtool \
1452 maybe-clean-mmalloc \
1457 maybe-clean-readline \
1458 maybe-clean-release \
1459 maybe-clean-recode \
1461 maybe-clean-send-pr \
1462 maybe-clean-shellutils \
1466 maybe-clean-texinfo \
1467 maybe-clean-textutils \
1469 maybe-clean-uudecode \
1474 maybe-clean-expect \
1477 maybe-clean-libtermcap \
1480 .PHONY: clean-target
1482 maybe-clean-target-libstdc++-v3 \
1483 maybe-clean-target-libmudflap \
1484 maybe-clean-target-newlib \
1485 maybe-clean-target-libgfortran \
1486 maybe-clean-target-libobjc \
1487 maybe-clean-target-libtermcap \
1488 maybe-clean-target-winsup \
1489 maybe-clean-target-libgloss \
1490 maybe-clean-target-libiberty \
1491 maybe-clean-target-gperf \
1492 maybe-clean-target-examples \
1493 maybe-clean-target-libffi \
1494 maybe-clean-target-libjava \
1495 maybe-clean-target-zlib \
1496 maybe-clean-target-boehm-gc \
1497 maybe-clean-target-qthreads \
1498 maybe-clean-target-rda \
1499 maybe-clean-target-libada
1501 .PHONY: do-distclean
1502 do-distclean: unstage distclean-host distclean-target stage
1504 .PHONY: distclean-host
1506 maybe-distclean-ash \
1507 maybe-distclean-autoconf \
1508 maybe-distclean-automake \
1509 maybe-distclean-bash \
1510 maybe-distclean-bfd \
1511 maybe-distclean-opcodes \
1512 maybe-distclean-binutils \
1513 maybe-distclean-bison \
1514 maybe-distclean-byacc \
1515 maybe-distclean-bzip2 \
1516 maybe-distclean-dejagnu \
1517 maybe-distclean-diff \
1518 maybe-distclean-dosutils \
1519 maybe-distclean-etc \
1520 maybe-distclean-fastjar \
1521 maybe-distclean-fileutils \
1522 maybe-distclean-findutils \
1523 maybe-distclean-find \
1524 maybe-distclean-flex \
1525 maybe-distclean-gas \
1526 maybe-distclean-gcc \
1527 maybe-distclean-gawk \
1528 maybe-distclean-gettext \
1529 maybe-distclean-gnuserv \
1530 maybe-distclean-gprof \
1531 maybe-distclean-gzip \
1532 maybe-distclean-hello \
1533 maybe-distclean-indent \
1534 maybe-distclean-intl \
1535 maybe-distclean-tcl \
1536 maybe-distclean-itcl \
1537 maybe-distclean-ld \
1538 maybe-distclean-libcpp \
1539 maybe-distclean-libgui \
1540 maybe-distclean-libbanshee \
1541 maybe-distclean-libiberty \
1542 maybe-distclean-libtool \
1543 maybe-distclean-m4 \
1544 maybe-distclean-make \
1545 maybe-distclean-mmalloc \
1546 maybe-distclean-patch \
1547 maybe-distclean-perl \
1548 maybe-distclean-prms \
1549 maybe-distclean-rcs \
1550 maybe-distclean-readline \
1551 maybe-distclean-release \
1552 maybe-distclean-recode \
1553 maybe-distclean-sed \
1554 maybe-distclean-send-pr \
1555 maybe-distclean-shellutils \
1556 maybe-distclean-sid \
1557 maybe-distclean-sim \
1558 maybe-distclean-tar \
1559 maybe-distclean-texinfo \
1560 maybe-distclean-textutils \
1561 maybe-distclean-time \
1562 maybe-distclean-uudecode \
1563 maybe-distclean-wdiff \
1564 maybe-distclean-zip \
1565 maybe-distclean-zlib \
1566 maybe-distclean-gdb \
1567 maybe-distclean-expect \
1568 maybe-distclean-guile \
1569 maybe-distclean-tk \
1570 maybe-distclean-libtermcap \
1571 maybe-distclean-utils
1573 .PHONY: distclean-target
1575 maybe-distclean-target-libstdc++-v3 \
1576 maybe-distclean-target-libmudflap \
1577 maybe-distclean-target-newlib \
1578 maybe-distclean-target-libgfortran \
1579 maybe-distclean-target-libobjc \
1580 maybe-distclean-target-libtermcap \
1581 maybe-distclean-target-winsup \
1582 maybe-distclean-target-libgloss \
1583 maybe-distclean-target-libiberty \
1584 maybe-distclean-target-gperf \
1585 maybe-distclean-target-examples \
1586 maybe-distclean-target-libffi \
1587 maybe-distclean-target-libjava \
1588 maybe-distclean-target-zlib \
1589 maybe-distclean-target-boehm-gc \
1590 maybe-distclean-target-qthreads \
1591 maybe-distclean-target-rda \
1592 maybe-distclean-target-libada
1594 .PHONY: do-maintainer-clean
1595 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1597 .PHONY: maintainer-clean-host
1598 maintainer-clean-host: \
1599 maybe-maintainer-clean-ash \
1600 maybe-maintainer-clean-autoconf \
1601 maybe-maintainer-clean-automake \
1602 maybe-maintainer-clean-bash \
1603 maybe-maintainer-clean-bfd \
1604 maybe-maintainer-clean-opcodes \
1605 maybe-maintainer-clean-binutils \
1606 maybe-maintainer-clean-bison \
1607 maybe-maintainer-clean-byacc \
1608 maybe-maintainer-clean-bzip2 \
1609 maybe-maintainer-clean-dejagnu \
1610 maybe-maintainer-clean-diff \
1611 maybe-maintainer-clean-dosutils \
1612 maybe-maintainer-clean-etc \
1613 maybe-maintainer-clean-fastjar \
1614 maybe-maintainer-clean-fileutils \
1615 maybe-maintainer-clean-findutils \
1616 maybe-maintainer-clean-find \
1617 maybe-maintainer-clean-flex \
1618 maybe-maintainer-clean-gas \
1619 maybe-maintainer-clean-gcc \
1620 maybe-maintainer-clean-gawk \
1621 maybe-maintainer-clean-gettext \
1622 maybe-maintainer-clean-gnuserv \
1623 maybe-maintainer-clean-gprof \
1624 maybe-maintainer-clean-gzip \
1625 maybe-maintainer-clean-hello \
1626 maybe-maintainer-clean-indent \
1627 maybe-maintainer-clean-intl \
1628 maybe-maintainer-clean-tcl \
1629 maybe-maintainer-clean-itcl \
1630 maybe-maintainer-clean-ld \
1631 maybe-maintainer-clean-libcpp \
1632 maybe-maintainer-clean-libgui \
1633 maybe-maintainer-clean-libbanshee \
1634 maybe-maintainer-clean-libiberty \
1635 maybe-maintainer-clean-libtool \
1636 maybe-maintainer-clean-m4 \
1637 maybe-maintainer-clean-make \
1638 maybe-maintainer-clean-mmalloc \
1639 maybe-maintainer-clean-patch \
1640 maybe-maintainer-clean-perl \
1641 maybe-maintainer-clean-prms \
1642 maybe-maintainer-clean-rcs \
1643 maybe-maintainer-clean-readline \
1644 maybe-maintainer-clean-release \
1645 maybe-maintainer-clean-recode \
1646 maybe-maintainer-clean-sed \
1647 maybe-maintainer-clean-send-pr \
1648 maybe-maintainer-clean-shellutils \
1649 maybe-maintainer-clean-sid \
1650 maybe-maintainer-clean-sim \
1651 maybe-maintainer-clean-tar \
1652 maybe-maintainer-clean-texinfo \
1653 maybe-maintainer-clean-textutils \
1654 maybe-maintainer-clean-time \
1655 maybe-maintainer-clean-uudecode \
1656 maybe-maintainer-clean-wdiff \
1657 maybe-maintainer-clean-zip \
1658 maybe-maintainer-clean-zlib \
1659 maybe-maintainer-clean-gdb \
1660 maybe-maintainer-clean-expect \
1661 maybe-maintainer-clean-guile \
1662 maybe-maintainer-clean-tk \
1663 maybe-maintainer-clean-libtermcap \
1664 maybe-maintainer-clean-utils
1666 .PHONY: maintainer-clean-target
1667 maintainer-clean-target: \
1668 maybe-maintainer-clean-target-libstdc++-v3 \
1669 maybe-maintainer-clean-target-libmudflap \
1670 maybe-maintainer-clean-target-newlib \
1671 maybe-maintainer-clean-target-libgfortran \
1672 maybe-maintainer-clean-target-libobjc \
1673 maybe-maintainer-clean-target-libtermcap \
1674 maybe-maintainer-clean-target-winsup \
1675 maybe-maintainer-clean-target-libgloss \
1676 maybe-maintainer-clean-target-libiberty \
1677 maybe-maintainer-clean-target-gperf \
1678 maybe-maintainer-clean-target-examples \
1679 maybe-maintainer-clean-target-libffi \
1680 maybe-maintainer-clean-target-libjava \
1681 maybe-maintainer-clean-target-zlib \
1682 maybe-maintainer-clean-target-boehm-gc \
1683 maybe-maintainer-clean-target-qthreads \
1684 maybe-maintainer-clean-target-rda \
1685 maybe-maintainer-clean-target-libada
1688 # Here are the targets which correspond to the do-X targets.
1690 .PHONY: info installcheck dvi install-info
1691 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1692 .PHONY: local-clean local-distclean local-maintainer-clean
1694 installcheck: do-installcheck
1697 # Make sure makeinfo is built before we do a `make info', if we're
1698 # in fact building texinfo.
1699 do-info: maybe-all-texinfo
1701 install-info: do-install-info dir.info
1702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1703 if [ -f dir.info ] ; then \
1704 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1708 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1711 -rm -f Makefile config.status config.cache mh-frag mt-frag
1712 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1713 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1714 rm -rf $(TARGET_SUBDIR); \
1716 -rm -rf $(BUILD_SUBDIR)
1717 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1718 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1719 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1720 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1721 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1723 local-maintainer-clean:
1724 @echo "This command is intended for maintainers to use;"
1725 @echo "it deletes files that may require special tools to rebuild."
1727 clean: do-clean local-clean
1728 mostlyclean: do-mostlyclean local-clean
1729 distclean: do-distclean local-clean local-distclean
1730 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1731 maintainer-clean: local-distclean
1732 realclean: maintainer-clean
1734 # Extra dependency for clean-target, owing to the mixed nature of gcc
1735 clean-target: clean-target-libgcc
1736 clean-target-libgcc:
1737 test ! -d gcc/libgcc || \
1738 (cd gcc/libgcc && find . -type d -print) | \
1739 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1744 .PHONY: check do-check
1747 # Only include modules actually being configured and built.
1750 maybe-check-autoconf \
1751 maybe-check-automake \
1754 maybe-check-opcodes \
1755 maybe-check-binutils \
1759 maybe-check-dejagnu \
1761 maybe-check-dosutils \
1763 maybe-check-fastjar \
1764 maybe-check-fileutils \
1765 maybe-check-findutils \
1771 maybe-check-gettext \
1772 maybe-check-gnuserv \
1776 maybe-check-indent \
1781 maybe-check-libcpp \
1782 maybe-check-libgui \
1783 maybe-check-libbanshee \
1784 maybe-check-libiberty \
1785 maybe-check-libtool \
1788 maybe-check-mmalloc \
1793 maybe-check-readline \
1794 maybe-check-release \
1795 maybe-check-recode \
1797 maybe-check-send-pr \
1798 maybe-check-shellutils \
1802 maybe-check-texinfo \
1803 maybe-check-textutils \
1805 maybe-check-uudecode \
1810 maybe-check-expect \
1813 maybe-check-libtermcap \
1815 maybe-check-target-libstdc++-v3 \
1816 maybe-check-target-libmudflap \
1817 maybe-check-target-newlib \
1818 maybe-check-target-libgfortran \
1819 maybe-check-target-libobjc \
1820 maybe-check-target-libtermcap \
1821 maybe-check-target-winsup \
1822 maybe-check-target-libgloss \
1823 maybe-check-target-libiberty \
1824 maybe-check-target-gperf \
1825 maybe-check-target-examples \
1826 maybe-check-target-libffi \
1827 maybe-check-target-libjava \
1828 maybe-check-target-zlib \
1829 maybe-check-target-boehm-gc \
1830 maybe-check-target-qthreads \
1831 maybe-check-target-rda \
1832 maybe-check-target-libada stage
1834 # Automated reporting of test results.
1836 warning.log: build.log
1837 $(srcdir)/contrib/warn_summary build.log > $@
1840 if test x'$(BOOT_CFLAGS)' != x''; then \
1841 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1843 $(srcdir)/contrib/test_summary -t >$@
1845 echo If you really want to send e-mail, run ./$@ now
1847 mail-report-with-warnings.log: warning.log
1848 if test x'$(BOOT_CFLAGS)' != x''; then \
1849 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1851 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1853 echo If you really want to send e-mail, run ./$@ now
1855 # Installation targets.
1857 .PHONY: install uninstall
1858 install: installdirs install-host install-target
1860 .PHONY: install-host-nogcc
1861 install-host-nogcc: \
1863 maybe-install-autoconf \
1864 maybe-install-automake \
1865 maybe-install-bash \
1867 maybe-install-opcodes \
1868 maybe-install-binutils \
1869 maybe-install-bison \
1870 maybe-install-byacc \
1871 maybe-install-bzip2 \
1872 maybe-install-dejagnu \
1873 maybe-install-diff \
1874 maybe-install-dosutils \
1876 maybe-install-fastjar \
1877 maybe-install-fileutils \
1878 maybe-install-findutils \
1879 maybe-install-find \
1880 maybe-install-flex \
1882 maybe-install-gawk \
1883 maybe-install-gettext \
1884 maybe-install-gnuserv \
1885 maybe-install-gprof \
1886 maybe-install-gzip \
1887 maybe-install-hello \
1888 maybe-install-indent \
1889 maybe-install-intl \
1891 maybe-install-itcl \
1893 maybe-install-libcpp \
1894 maybe-install-libgui \
1895 maybe-install-libbanshee \
1896 maybe-install-libiberty \
1897 maybe-install-libtool \
1899 maybe-install-make \
1900 maybe-install-mmalloc \
1901 maybe-install-patch \
1902 maybe-install-perl \
1903 maybe-install-prms \
1905 maybe-install-readline \
1906 maybe-install-release \
1907 maybe-install-recode \
1909 maybe-install-send-pr \
1910 maybe-install-shellutils \
1914 maybe-install-texinfo \
1915 maybe-install-textutils \
1916 maybe-install-time \
1917 maybe-install-uudecode \
1918 maybe-install-wdiff \
1920 maybe-install-zlib \
1922 maybe-install-expect \
1923 maybe-install-guile \
1925 maybe-install-libtermcap \
1928 .PHONY: install-host
1931 maybe-install-autoconf \
1932 maybe-install-automake \
1933 maybe-install-bash \
1935 maybe-install-opcodes \
1936 maybe-install-binutils \
1937 maybe-install-bison \
1938 maybe-install-byacc \
1939 maybe-install-bzip2 \
1940 maybe-install-dejagnu \
1941 maybe-install-diff \
1942 maybe-install-dosutils \
1944 maybe-install-fastjar \
1945 maybe-install-fileutils \
1946 maybe-install-findutils \
1947 maybe-install-find \
1948 maybe-install-flex \
1951 maybe-install-gawk \
1952 maybe-install-gettext \
1953 maybe-install-gnuserv \
1954 maybe-install-gprof \
1955 maybe-install-gzip \
1956 maybe-install-hello \
1957 maybe-install-indent \
1958 maybe-install-intl \
1960 maybe-install-itcl \
1962 maybe-install-libcpp \
1963 maybe-install-libgui \
1964 maybe-install-libbanshee \
1965 maybe-install-libiberty \
1966 maybe-install-libtool \
1968 maybe-install-make \
1969 maybe-install-mmalloc \
1970 maybe-install-patch \
1971 maybe-install-perl \
1972 maybe-install-prms \
1974 maybe-install-readline \
1975 maybe-install-release \
1976 maybe-install-recode \
1978 maybe-install-send-pr \
1979 maybe-install-shellutils \
1983 maybe-install-texinfo \
1984 maybe-install-textutils \
1985 maybe-install-time \
1986 maybe-install-uudecode \
1987 maybe-install-wdiff \
1989 maybe-install-zlib \
1991 maybe-install-expect \
1992 maybe-install-guile \
1994 maybe-install-libtermcap \
1997 .PHONY: install-target
1999 maybe-install-target-libstdc++-v3 \
2000 maybe-install-target-libmudflap \
2001 maybe-install-target-newlib \
2002 maybe-install-target-libgfortran \
2003 maybe-install-target-libobjc \
2004 maybe-install-target-libtermcap \
2005 maybe-install-target-winsup \
2006 maybe-install-target-libgloss \
2007 maybe-install-target-libiberty \
2008 maybe-install-target-gperf \
2009 maybe-install-target-examples \
2010 maybe-install-target-libffi \
2011 maybe-install-target-libjava \
2012 maybe-install-target-zlib \
2013 maybe-install-target-boehm-gc \
2014 maybe-install-target-qthreads \
2015 maybe-install-target-rda \
2016 maybe-install-target-libada
2019 @echo "the uninstall target is not supported in this tree"
2022 install.all: install-no-fixedincludes
2023 @if [ -f ./gcc/Makefile ] ; then \
2024 r=`${PWD_COMMAND}` ; export r ; \
2028 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2033 # install-no-fixedincludes is used because Cygnus can not distribute
2034 # the fixed header files.
2035 .PHONY: install-no-fixedincludes
2036 install-no-fixedincludes: installdirs install-host-nogcc \
2037 install-target gcc-no-fixedincludes
2039 ### other supporting targets
2042 $(DESTDIR)$(prefix) \
2043 $(DESTDIR)$(exec_prefix)
2045 installdirs: mkinstalldirs
2046 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2048 dir.info: do-install-info
2049 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2050 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2051 mv -f dir.info.new dir.info ; \
2056 @echo "Building a full distribution of this tree isn't done"
2057 @echo "via 'make dist'. Check out the etc/ subdirectory"
2061 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2062 # ability to use several tags files at once, so there is probably no need
2063 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2064 # (if we felt like it) have this Makefile write a piece of elisp which
2065 # the user could load to tell emacs19 where all the TAGS files we just
2069 # --------------------------------------
2070 # Modules which run on the build machine
2071 # --------------------------------------
2073 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2074 maybe-configure-build-libiberty:
2076 maybe-configure-build-libiberty: configure-build-libiberty
2077 configure-build-libiberty:
2078 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2079 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2080 r=`${PWD_COMMAND}`; export r; \
2081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2083 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2084 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2086 /* | [A-Za-z]:[\\/]*) \
2087 topdir=$(srcdir) ;; \
2089 case "$(BUILD_SUBDIR)" in \
2090 .) topdir="../$(srcdir)" ;; \
2091 *) topdir="../../$(srcdir)" ;; \
2094 if [ "$(srcdir)" = "." ] ; then \
2095 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2096 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2097 if [ -f Makefile ]; then \
2098 if $(MAKE) distclean; then \
2112 srcdiroption="--srcdir=."; \
2115 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2116 libsrcdir="$$s/libiberty"; \
2118 rm -f no-such-file || : ; \
2119 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2120 $(BUILD_CONFIGARGS) $${srcdiroption} \
2121 --with-build-subdir="$(BUILD_SUBDIR)" \
2123 @endif build-libiberty
2125 .PHONY: all-build-libiberty maybe-all-build-libiberty
2126 maybe-all-build-libiberty:
2128 TARGET-build-libiberty=all
2129 maybe-all-build-libiberty: all-build-libiberty
2130 all-build-libiberty: configure-build-libiberty
2131 @r=`${PWD_COMMAND}`; export r; \
2132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2134 (cd $(BUILD_SUBDIR)/libiberty && \
2135 $(MAKE) $(TARGET-build-libiberty))
2136 @endif build-libiberty
2138 .PHONY: configure-build-bison maybe-configure-build-bison
2139 maybe-configure-build-bison:
2141 maybe-configure-build-bison: configure-build-bison
2142 configure-build-bison:
2143 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2144 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2145 r=`${PWD_COMMAND}`; export r; \
2146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2148 echo Configuring in $(BUILD_SUBDIR)/bison; \
2149 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2151 /* | [A-Za-z]:[\\/]*) \
2152 topdir=$(srcdir) ;; \
2154 case "$(BUILD_SUBDIR)" in \
2155 .) topdir="../$(srcdir)" ;; \
2156 *) topdir="../../$(srcdir)" ;; \
2159 if [ "$(srcdir)" = "." ] ; then \
2160 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2161 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2162 if [ -f Makefile ]; then \
2163 if $(MAKE) distclean; then \
2177 srcdiroption="--srcdir=."; \
2180 srcdiroption="--srcdir=$${topdir}/bison"; \
2181 libsrcdir="$$s/bison"; \
2183 rm -f no-such-file || : ; \
2184 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2185 $(BUILD_CONFIGARGS) $${srcdiroption} \
2186 --with-build-subdir="$(BUILD_SUBDIR)" \
2190 .PHONY: all-build-bison maybe-all-build-bison
2191 maybe-all-build-bison:
2193 TARGET-build-bison=all
2194 maybe-all-build-bison: all-build-bison
2195 all-build-bison: configure-build-bison
2196 @r=`${PWD_COMMAND}`; export r; \
2197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2199 (cd $(BUILD_SUBDIR)/bison && \
2200 $(MAKE) $(TARGET-build-bison))
2203 .PHONY: configure-build-byacc maybe-configure-build-byacc
2204 maybe-configure-build-byacc:
2206 maybe-configure-build-byacc: configure-build-byacc
2207 configure-build-byacc:
2208 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2209 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2210 r=`${PWD_COMMAND}`; export r; \
2211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2213 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2214 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2216 /* | [A-Za-z]:[\\/]*) \
2217 topdir=$(srcdir) ;; \
2219 case "$(BUILD_SUBDIR)" in \
2220 .) topdir="../$(srcdir)" ;; \
2221 *) topdir="../../$(srcdir)" ;; \
2224 if [ "$(srcdir)" = "." ] ; then \
2225 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2226 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2227 if [ -f Makefile ]; then \
2228 if $(MAKE) distclean; then \
2242 srcdiroption="--srcdir=."; \
2245 srcdiroption="--srcdir=$${topdir}/byacc"; \
2246 libsrcdir="$$s/byacc"; \
2248 rm -f no-such-file || : ; \
2249 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2250 $(BUILD_CONFIGARGS) $${srcdiroption} \
2251 --with-build-subdir="$(BUILD_SUBDIR)" \
2255 .PHONY: all-build-byacc maybe-all-build-byacc
2256 maybe-all-build-byacc:
2258 TARGET-build-byacc=all
2259 maybe-all-build-byacc: all-build-byacc
2260 all-build-byacc: configure-build-byacc
2261 @r=`${PWD_COMMAND}`; export r; \
2262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2264 (cd $(BUILD_SUBDIR)/byacc && \
2265 $(MAKE) $(TARGET-build-byacc))
2268 .PHONY: configure-build-flex maybe-configure-build-flex
2269 maybe-configure-build-flex:
2271 maybe-configure-build-flex: configure-build-flex
2272 configure-build-flex:
2273 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2274 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2275 r=`${PWD_COMMAND}`; export r; \
2276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2278 echo Configuring in $(BUILD_SUBDIR)/flex; \
2279 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2281 /* | [A-Za-z]:[\\/]*) \
2282 topdir=$(srcdir) ;; \
2284 case "$(BUILD_SUBDIR)" in \
2285 .) topdir="../$(srcdir)" ;; \
2286 *) topdir="../../$(srcdir)" ;; \
2289 if [ "$(srcdir)" = "." ] ; then \
2290 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2291 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2292 if [ -f Makefile ]; then \
2293 if $(MAKE) distclean; then \
2307 srcdiroption="--srcdir=."; \
2310 srcdiroption="--srcdir=$${topdir}/flex"; \
2311 libsrcdir="$$s/flex"; \
2313 rm -f no-such-file || : ; \
2314 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2315 $(BUILD_CONFIGARGS) $${srcdiroption} \
2316 --with-build-subdir="$(BUILD_SUBDIR)" \
2320 .PHONY: all-build-flex maybe-all-build-flex
2321 maybe-all-build-flex:
2323 TARGET-build-flex=all
2324 maybe-all-build-flex: all-build-flex
2325 all-build-flex: configure-build-flex
2326 @r=`${PWD_COMMAND}`; export r; \
2327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2329 (cd $(BUILD_SUBDIR)/flex && \
2330 $(MAKE) $(TARGET-build-flex))
2333 .PHONY: configure-build-m4 maybe-configure-build-m4
2334 maybe-configure-build-m4:
2336 maybe-configure-build-m4: configure-build-m4
2338 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2339 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2340 r=`${PWD_COMMAND}`; export r; \
2341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2343 echo Configuring in $(BUILD_SUBDIR)/m4; \
2344 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2346 /* | [A-Za-z]:[\\/]*) \
2347 topdir=$(srcdir) ;; \
2349 case "$(BUILD_SUBDIR)" in \
2350 .) topdir="../$(srcdir)" ;; \
2351 *) topdir="../../$(srcdir)" ;; \
2354 if [ "$(srcdir)" = "." ] ; then \
2355 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2356 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2357 if [ -f Makefile ]; then \
2358 if $(MAKE) distclean; then \
2372 srcdiroption="--srcdir=."; \
2375 srcdiroption="--srcdir=$${topdir}/m4"; \
2376 libsrcdir="$$s/m4"; \
2378 rm -f no-such-file || : ; \
2379 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2380 $(BUILD_CONFIGARGS) $${srcdiroption} \
2381 --with-build-subdir="$(BUILD_SUBDIR)" \
2385 .PHONY: all-build-m4 maybe-all-build-m4
2389 maybe-all-build-m4: all-build-m4
2390 all-build-m4: configure-build-m4
2391 @r=`${PWD_COMMAND}`; export r; \
2392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 (cd $(BUILD_SUBDIR)/m4 && \
2395 $(MAKE) $(TARGET-build-m4))
2398 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2399 maybe-configure-build-texinfo:
2401 maybe-configure-build-texinfo: configure-build-texinfo
2402 configure-build-texinfo:
2403 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2404 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2405 r=`${PWD_COMMAND}`; export r; \
2406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2408 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2409 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2411 /* | [A-Za-z]:[\\/]*) \
2412 topdir=$(srcdir) ;; \
2414 case "$(BUILD_SUBDIR)" in \
2415 .) topdir="../$(srcdir)" ;; \
2416 *) topdir="../../$(srcdir)" ;; \
2419 if [ "$(srcdir)" = "." ] ; then \
2420 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2421 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2422 if [ -f Makefile ]; then \
2423 if $(MAKE) distclean; then \
2437 srcdiroption="--srcdir=."; \
2440 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2441 libsrcdir="$$s/texinfo"; \
2443 rm -f no-such-file || : ; \
2444 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2445 $(BUILD_CONFIGARGS) $${srcdiroption} \
2446 --with-build-subdir="$(BUILD_SUBDIR)" \
2448 @endif build-texinfo
2450 .PHONY: all-build-texinfo maybe-all-build-texinfo
2451 maybe-all-build-texinfo:
2453 TARGET-build-texinfo=all
2454 maybe-all-build-texinfo: all-build-texinfo
2455 all-build-texinfo: configure-build-texinfo
2456 @r=`${PWD_COMMAND}`; export r; \
2457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2459 (cd $(BUILD_SUBDIR)/texinfo && \
2460 $(MAKE) $(TARGET-build-texinfo))
2461 @endif build-texinfo
2463 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2464 maybe-configure-build-fixincludes:
2465 @if build-fixincludes
2466 maybe-configure-build-fixincludes: configure-build-fixincludes
2467 configure-build-fixincludes:
2468 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2469 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2470 r=`${PWD_COMMAND}`; export r; \
2471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2473 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2474 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2476 /* | [A-Za-z]:[\\/]*) \
2477 topdir=$(srcdir) ;; \
2479 case "$(BUILD_SUBDIR)" in \
2480 .) topdir="../$(srcdir)" ;; \
2481 *) topdir="../../$(srcdir)" ;; \
2484 if [ "$(srcdir)" = "." ] ; then \
2485 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2486 if $(SHELL) $$s/symlink-tree $${topdir}/fixincludes "no-such-file" ; then \
2487 if [ -f Makefile ]; then \
2488 if $(MAKE) distclean; then \
2502 srcdiroption="--srcdir=."; \
2505 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2506 libsrcdir="$$s/fixincludes"; \
2508 rm -f no-such-file || : ; \
2509 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2510 $(BUILD_CONFIGARGS) $${srcdiroption} \
2511 --with-build-subdir="$(BUILD_SUBDIR)" \
2513 @endif build-fixincludes
2515 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2516 maybe-all-build-fixincludes:
2517 @if build-fixincludes
2518 TARGET-build-fixincludes=all
2519 maybe-all-build-fixincludes: all-build-fixincludes
2520 all-build-fixincludes: configure-build-fixincludes
2521 @r=`${PWD_COMMAND}`; export r; \
2522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524 (cd $(BUILD_SUBDIR)/fixincludes && \
2525 $(MAKE) $(TARGET-build-fixincludes))
2526 @endif build-fixincludes
2529 # --------------------------------------
2530 # Modules which run on the host machine
2531 # --------------------------------------
2533 .PHONY: configure-ash maybe-configure-ash
2534 maybe-configure-ash:
2536 maybe-configure-ash: configure-ash
2538 @test ! -f ash/Makefile || exit 0; \
2539 [ -d ash ] || mkdir ash; \
2540 r=`${PWD_COMMAND}`; export r; \
2541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2543 echo Configuring in ash; \
2547 srcdiroption="--srcdir=."; \
2549 /* | [A-Za-z]:[\\/]*) \
2550 srcdiroption="--srcdir=$(srcdir)/ash"; \
2551 libsrcdir="$$s/ash";; \
2553 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2554 libsrcdir="$$s/ash";; \
2556 $(SHELL) $${libsrcdir}/configure \
2557 $(HOST_CONFIGARGS) $${srcdiroption} \
2561 .PHONY: all-ash maybe-all-ash
2564 maybe-all-ash: all-ash
2565 all-ash: configure-ash
2566 @r=`${PWD_COMMAND}`; export r; \
2567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2570 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2573 .PHONY: check-ash maybe-check-ash
2576 maybe-check-ash: check-ash
2579 @r=`${PWD_COMMAND}`; export r; \
2580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2583 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2587 .PHONY: install-ash maybe-install-ash
2590 maybe-install-ash: install-ash
2592 install-ash: installdirs
2593 @r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2597 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2601 # Other targets (info, dvi, etc.)
2603 .PHONY: maybe-info-ash info-ash
2606 maybe-info-ash: info-ash
2610 @[ -f ./ash/Makefile ] || exit 0; \
2611 r=`${PWD_COMMAND}`; export r; \
2612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 for flag in $(EXTRA_HOST_FLAGS) ; do \
2616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2618 echo "Doing info in ash" ; \
2620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2622 "RANLIB=$${RANLIB}" \
2623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2629 .PHONY: maybe-dvi-ash dvi-ash
2632 maybe-dvi-ash: dvi-ash
2636 @[ -f ./ash/Makefile ] || exit 0; \
2637 r=`${PWD_COMMAND}`; export r; \
2638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2641 for flag in $(EXTRA_HOST_FLAGS) ; do \
2642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2644 echo "Doing dvi in ash" ; \
2646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2648 "RANLIB=$${RANLIB}" \
2649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2655 .PHONY: maybe-TAGS-ash TAGS-ash
2658 maybe-TAGS-ash: TAGS-ash
2662 @[ -f ./ash/Makefile ] || exit 0; \
2663 r=`${PWD_COMMAND}`; export r; \
2664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 for flag in $(EXTRA_HOST_FLAGS) ; do \
2668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2670 echo "Doing TAGS in ash" ; \
2672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2674 "RANLIB=$${RANLIB}" \
2675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2681 .PHONY: maybe-install-info-ash install-info-ash
2682 maybe-install-info-ash:
2684 maybe-install-info-ash: install-info-ash
2689 @[ -f ./ash/Makefile ] || exit 0; \
2690 r=`${PWD_COMMAND}`; export r; \
2691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2694 for flag in $(EXTRA_HOST_FLAGS) ; do \
2695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2697 echo "Doing install-info in ash" ; \
2699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2701 "RANLIB=$${RANLIB}" \
2702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2708 .PHONY: maybe-installcheck-ash installcheck-ash
2709 maybe-installcheck-ash:
2711 maybe-installcheck-ash: installcheck-ash
2715 @[ -f ./ash/Makefile ] || exit 0; \
2716 r=`${PWD_COMMAND}`; export r; \
2717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720 for flag in $(EXTRA_HOST_FLAGS) ; do \
2721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2723 echo "Doing installcheck in ash" ; \
2725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2727 "RANLIB=$${RANLIB}" \
2728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2734 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2735 maybe-mostlyclean-ash:
2737 maybe-mostlyclean-ash: mostlyclean-ash
2740 @[ -f ./ash/Makefile ] || exit 0; \
2741 r=`${PWD_COMMAND}`; export r; \
2742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2745 for flag in $(EXTRA_HOST_FLAGS) ; do \
2746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2748 echo "Doing mostlyclean in ash" ; \
2750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2752 "RANLIB=$${RANLIB}" \
2753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2759 .PHONY: maybe-clean-ash clean-ash
2762 maybe-clean-ash: clean-ash
2765 @[ -f ./ash/Makefile ] || exit 0; \
2766 r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2770 for flag in $(EXTRA_HOST_FLAGS) ; do \
2771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2773 echo "Doing clean in ash" ; \
2775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2777 "RANLIB=$${RANLIB}" \
2778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2784 .PHONY: maybe-distclean-ash distclean-ash
2785 maybe-distclean-ash:
2787 maybe-distclean-ash: distclean-ash
2790 @[ -f ./ash/Makefile ] || exit 0; \
2791 r=`${PWD_COMMAND}`; export r; \
2792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2795 for flag in $(EXTRA_HOST_FLAGS) ; do \
2796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2798 echo "Doing distclean in ash" ; \
2800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2802 "RANLIB=$${RANLIB}" \
2803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2809 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2810 maybe-maintainer-clean-ash:
2812 maybe-maintainer-clean-ash: maintainer-clean-ash
2814 maintainer-clean-ash:
2815 @[ -f ./ash/Makefile ] || exit 0; \
2816 r=`${PWD_COMMAND}`; export r; \
2817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 for flag in $(EXTRA_HOST_FLAGS) ; do \
2821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2823 echo "Doing maintainer-clean in ash" ; \
2825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2827 "RANLIB=$${RANLIB}" \
2828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2835 .PHONY: configure-autoconf maybe-configure-autoconf
2836 maybe-configure-autoconf:
2838 maybe-configure-autoconf: configure-autoconf
2840 @test ! -f autoconf/Makefile || exit 0; \
2841 [ -d autoconf ] || mkdir autoconf; \
2842 r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2845 echo Configuring in autoconf; \
2846 cd autoconf || exit 1; \
2849 srcdiroption="--srcdir=."; \
2851 /* | [A-Za-z]:[\\/]*) \
2852 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2853 libsrcdir="$$s/autoconf";; \
2855 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2856 libsrcdir="$$s/autoconf";; \
2858 $(SHELL) $${libsrcdir}/configure \
2859 $(HOST_CONFIGARGS) $${srcdiroption} \
2863 .PHONY: all-autoconf maybe-all-autoconf
2866 maybe-all-autoconf: all-autoconf
2867 all-autoconf: configure-autoconf
2868 @r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2872 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2875 .PHONY: check-autoconf maybe-check-autoconf
2876 maybe-check-autoconf:
2878 maybe-check-autoconf: check-autoconf
2881 @r=`${PWD_COMMAND}`; export r; \
2882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2885 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2889 .PHONY: install-autoconf maybe-install-autoconf
2890 maybe-install-autoconf:
2892 maybe-install-autoconf: install-autoconf
2894 install-autoconf: installdirs
2895 @r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2903 # Other targets (info, dvi, etc.)
2905 .PHONY: maybe-info-autoconf info-autoconf
2906 maybe-info-autoconf:
2908 maybe-info-autoconf: info-autoconf
2912 @[ -f ./autoconf/Makefile ] || exit 0; \
2913 r=`${PWD_COMMAND}`; export r; \
2914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2917 for flag in $(EXTRA_HOST_FLAGS) ; do \
2918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2920 echo "Doing info in autoconf" ; \
2922 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2923 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2924 "RANLIB=$${RANLIB}" \
2925 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2931 .PHONY: maybe-dvi-autoconf dvi-autoconf
2934 maybe-dvi-autoconf: dvi-autoconf
2938 @[ -f ./autoconf/Makefile ] || exit 0; \
2939 r=`${PWD_COMMAND}`; export r; \
2940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2943 for flag in $(EXTRA_HOST_FLAGS) ; do \
2944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2946 echo "Doing dvi in autoconf" ; \
2948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2950 "RANLIB=$${RANLIB}" \
2951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2957 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2958 maybe-TAGS-autoconf:
2960 maybe-TAGS-autoconf: TAGS-autoconf
2964 @[ -f ./autoconf/Makefile ] || exit 0; \
2965 r=`${PWD_COMMAND}`; export r; \
2966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2969 for flag in $(EXTRA_HOST_FLAGS) ; do \
2970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2972 echo "Doing TAGS in autoconf" ; \
2974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2976 "RANLIB=$${RANLIB}" \
2977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2983 .PHONY: maybe-install-info-autoconf install-info-autoconf
2984 maybe-install-info-autoconf:
2986 maybe-install-info-autoconf: install-info-autoconf
2988 install-info-autoconf: \
2989 configure-autoconf \
2991 @[ -f ./autoconf/Makefile ] || exit 0; \
2992 r=`${PWD_COMMAND}`; export r; \
2993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2996 for flag in $(EXTRA_HOST_FLAGS) ; do \
2997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2999 echo "Doing install-info in autoconf" ; \
3001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3003 "RANLIB=$${RANLIB}" \
3004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3010 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3011 maybe-installcheck-autoconf:
3013 maybe-installcheck-autoconf: installcheck-autoconf
3015 installcheck-autoconf: \
3017 @[ -f ./autoconf/Makefile ] || exit 0; \
3018 r=`${PWD_COMMAND}`; export r; \
3019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3022 for flag in $(EXTRA_HOST_FLAGS) ; do \
3023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3025 echo "Doing installcheck in autoconf" ; \
3027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3029 "RANLIB=$${RANLIB}" \
3030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3036 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3037 maybe-mostlyclean-autoconf:
3039 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3041 mostlyclean-autoconf:
3042 @[ -f ./autoconf/Makefile ] || exit 0; \
3043 r=`${PWD_COMMAND}`; export r; \
3044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3047 for flag in $(EXTRA_HOST_FLAGS) ; do \
3048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3050 echo "Doing mostlyclean in autoconf" ; \
3052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3054 "RANLIB=$${RANLIB}" \
3055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3061 .PHONY: maybe-clean-autoconf clean-autoconf
3062 maybe-clean-autoconf:
3064 maybe-clean-autoconf: clean-autoconf
3067 @[ -f ./autoconf/Makefile ] || exit 0; \
3068 r=`${PWD_COMMAND}`; export r; \
3069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3072 for flag in $(EXTRA_HOST_FLAGS) ; do \
3073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3075 echo "Doing clean in autoconf" ; \
3077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3079 "RANLIB=$${RANLIB}" \
3080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3086 .PHONY: maybe-distclean-autoconf distclean-autoconf
3087 maybe-distclean-autoconf:
3089 maybe-distclean-autoconf: distclean-autoconf
3092 @[ -f ./autoconf/Makefile ] || exit 0; \
3093 r=`${PWD_COMMAND}`; export r; \
3094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3097 for flag in $(EXTRA_HOST_FLAGS) ; do \
3098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3100 echo "Doing distclean in autoconf" ; \
3102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3104 "RANLIB=$${RANLIB}" \
3105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3111 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3112 maybe-maintainer-clean-autoconf:
3114 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3116 maintainer-clean-autoconf:
3117 @[ -f ./autoconf/Makefile ] || exit 0; \
3118 r=`${PWD_COMMAND}`; export r; \
3119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3122 for flag in $(EXTRA_HOST_FLAGS) ; do \
3123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3125 echo "Doing maintainer-clean in autoconf" ; \
3127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3129 "RANLIB=$${RANLIB}" \
3130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3137 .PHONY: configure-automake maybe-configure-automake
3138 maybe-configure-automake:
3140 maybe-configure-automake: configure-automake
3142 @test ! -f automake/Makefile || exit 0; \
3143 [ -d automake ] || mkdir automake; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3147 echo Configuring in automake; \
3148 cd automake || exit 1; \
3151 srcdiroption="--srcdir=."; \
3153 /* | [A-Za-z]:[\\/]*) \
3154 srcdiroption="--srcdir=$(srcdir)/automake"; \
3155 libsrcdir="$$s/automake";; \
3157 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3158 libsrcdir="$$s/automake";; \
3160 $(SHELL) $${libsrcdir}/configure \
3161 $(HOST_CONFIGARGS) $${srcdiroption} \
3165 .PHONY: all-automake maybe-all-automake
3168 maybe-all-automake: all-automake
3169 all-automake: configure-automake
3170 @r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3174 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3177 .PHONY: check-automake maybe-check-automake
3178 maybe-check-automake:
3180 maybe-check-automake: check-automake
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3191 .PHONY: install-automake maybe-install-automake
3192 maybe-install-automake:
3194 maybe-install-automake: install-automake
3196 install-automake: installdirs
3197 @r=`${PWD_COMMAND}`; export r; \
3198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3205 # Other targets (info, dvi, etc.)
3207 .PHONY: maybe-info-automake info-automake
3208 maybe-info-automake:
3210 maybe-info-automake: info-automake
3214 @[ -f ./automake/Makefile ] || exit 0; \
3215 r=`${PWD_COMMAND}`; export r; \
3216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 for flag in $(EXTRA_HOST_FLAGS) ; do \
3220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 echo "Doing info in automake" ; \
3224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3226 "RANLIB=$${RANLIB}" \
3227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3233 .PHONY: maybe-dvi-automake dvi-automake
3236 maybe-dvi-automake: dvi-automake
3240 @[ -f ./automake/Makefile ] || exit 0; \
3241 r=`${PWD_COMMAND}`; export r; \
3242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 for flag in $(EXTRA_HOST_FLAGS) ; do \
3246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3248 echo "Doing dvi in automake" ; \
3250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3252 "RANLIB=$${RANLIB}" \
3253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3259 .PHONY: maybe-TAGS-automake TAGS-automake
3260 maybe-TAGS-automake:
3262 maybe-TAGS-automake: TAGS-automake
3266 @[ -f ./automake/Makefile ] || exit 0; \
3267 r=`${PWD_COMMAND}`; export r; \
3268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3271 for flag in $(EXTRA_HOST_FLAGS) ; do \
3272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3274 echo "Doing TAGS in automake" ; \
3276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3278 "RANLIB=$${RANLIB}" \
3279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3285 .PHONY: maybe-install-info-automake install-info-automake
3286 maybe-install-info-automake:
3288 maybe-install-info-automake: install-info-automake
3290 install-info-automake: \
3291 configure-automake \
3293 @[ -f ./automake/Makefile ] || exit 0; \
3294 r=`${PWD_COMMAND}`; export r; \
3295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3298 for flag in $(EXTRA_HOST_FLAGS) ; do \
3299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3301 echo "Doing install-info in automake" ; \
3303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3305 "RANLIB=$${RANLIB}" \
3306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3312 .PHONY: maybe-installcheck-automake installcheck-automake
3313 maybe-installcheck-automake:
3315 maybe-installcheck-automake: installcheck-automake
3317 installcheck-automake: \
3319 @[ -f ./automake/Makefile ] || exit 0; \
3320 r=`${PWD_COMMAND}`; export r; \
3321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 for flag in $(EXTRA_HOST_FLAGS) ; do \
3325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3327 echo "Doing installcheck in automake" ; \
3329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3331 "RANLIB=$${RANLIB}" \
3332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3338 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3339 maybe-mostlyclean-automake:
3341 maybe-mostlyclean-automake: mostlyclean-automake
3343 mostlyclean-automake:
3344 @[ -f ./automake/Makefile ] || exit 0; \
3345 r=`${PWD_COMMAND}`; export r; \
3346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3349 for flag in $(EXTRA_HOST_FLAGS) ; do \
3350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3352 echo "Doing mostlyclean in automake" ; \
3354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3356 "RANLIB=$${RANLIB}" \
3357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3363 .PHONY: maybe-clean-automake clean-automake
3364 maybe-clean-automake:
3366 maybe-clean-automake: clean-automake
3369 @[ -f ./automake/Makefile ] || exit 0; \
3370 r=`${PWD_COMMAND}`; export r; \
3371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3374 for flag in $(EXTRA_HOST_FLAGS) ; do \
3375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3377 echo "Doing clean in automake" ; \
3379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3381 "RANLIB=$${RANLIB}" \
3382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3388 .PHONY: maybe-distclean-automake distclean-automake
3389 maybe-distclean-automake:
3391 maybe-distclean-automake: distclean-automake
3394 @[ -f ./automake/Makefile ] || exit 0; \
3395 r=`${PWD_COMMAND}`; export r; \
3396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3399 for flag in $(EXTRA_HOST_FLAGS) ; do \
3400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3402 echo "Doing distclean in automake" ; \
3404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3406 "RANLIB=$${RANLIB}" \
3407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3413 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3414 maybe-maintainer-clean-automake:
3416 maybe-maintainer-clean-automake: maintainer-clean-automake
3418 maintainer-clean-automake:
3419 @[ -f ./automake/Makefile ] || exit 0; \
3420 r=`${PWD_COMMAND}`; export r; \
3421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3424 for flag in $(EXTRA_HOST_FLAGS) ; do \
3425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3427 echo "Doing maintainer-clean in automake" ; \
3429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3431 "RANLIB=$${RANLIB}" \
3432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3439 .PHONY: configure-bash maybe-configure-bash
3440 maybe-configure-bash:
3442 maybe-configure-bash: configure-bash
3444 @test ! -f bash/Makefile || exit 0; \
3445 [ -d bash ] || mkdir bash; \
3446 r=`${PWD_COMMAND}`; export r; \
3447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3449 echo Configuring in bash; \
3450 cd bash || exit 1; \
3453 srcdiroption="--srcdir=."; \
3455 /* | [A-Za-z]:[\\/]*) \
3456 srcdiroption="--srcdir=$(srcdir)/bash"; \
3457 libsrcdir="$$s/bash";; \
3459 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3460 libsrcdir="$$s/bash";; \
3462 $(SHELL) $${libsrcdir}/configure \
3463 $(HOST_CONFIGARGS) $${srcdiroption} \
3467 .PHONY: all-bash maybe-all-bash
3470 maybe-all-bash: all-bash
3471 all-bash: configure-bash
3472 @r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3476 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3479 .PHONY: check-bash maybe-check-bash
3482 maybe-check-bash: check-bash
3485 @r=`${PWD_COMMAND}`; export r; \
3486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3489 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3493 .PHONY: install-bash maybe-install-bash
3496 maybe-install-bash: install-bash
3498 install-bash: installdirs
3499 @r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3503 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3507 # Other targets (info, dvi, etc.)
3509 .PHONY: maybe-info-bash info-bash
3512 maybe-info-bash: info-bash
3516 @[ -f ./bash/Makefile ] || exit 0; \
3517 r=`${PWD_COMMAND}`; export r; \
3518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 for flag in $(EXTRA_HOST_FLAGS) ; do \
3522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3524 echo "Doing info in bash" ; \
3526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3528 "RANLIB=$${RANLIB}" \
3529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3535 .PHONY: maybe-dvi-bash dvi-bash
3538 maybe-dvi-bash: dvi-bash
3542 @[ -f ./bash/Makefile ] || exit 0; \
3543 r=`${PWD_COMMAND}`; export r; \
3544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3547 for flag in $(EXTRA_HOST_FLAGS) ; do \
3548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3550 echo "Doing dvi in bash" ; \
3552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3554 "RANLIB=$${RANLIB}" \
3555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3561 .PHONY: maybe-TAGS-bash TAGS-bash
3564 maybe-TAGS-bash: TAGS-bash
3568 @[ -f ./bash/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3573 for flag in $(EXTRA_HOST_FLAGS) ; do \
3574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 echo "Doing TAGS in bash" ; \
3578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3580 "RANLIB=$${RANLIB}" \
3581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3587 .PHONY: maybe-install-info-bash install-info-bash
3588 maybe-install-info-bash:
3590 maybe-install-info-bash: install-info-bash
3592 install-info-bash: \
3595 @[ -f ./bash/Makefile ] || exit 0; \
3596 r=`${PWD_COMMAND}`; export r; \
3597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3603 echo "Doing install-info in bash" ; \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3614 .PHONY: maybe-installcheck-bash installcheck-bash
3615 maybe-installcheck-bash:
3617 maybe-installcheck-bash: installcheck-bash
3619 installcheck-bash: \
3621 @[ -f ./bash/Makefile ] || exit 0; \
3622 r=`${PWD_COMMAND}`; export r; \
3623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 for flag in $(EXTRA_HOST_FLAGS) ; do \
3627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3629 echo "Doing installcheck in bash" ; \
3631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3633 "RANLIB=$${RANLIB}" \
3634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3640 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3641 maybe-mostlyclean-bash:
3643 maybe-mostlyclean-bash: mostlyclean-bash
3646 @[ -f ./bash/Makefile ] || exit 0; \
3647 r=`${PWD_COMMAND}`; export r; \
3648 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 mostlyclean in bash" ; \
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-clean-bash clean-bash
3668 maybe-clean-bash: clean-bash
3671 @[ -f ./bash/Makefile ] || exit 0; \
3672 r=`${PWD_COMMAND}`; export r; \
3673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 for flag in $(EXTRA_HOST_FLAGS) ; do \
3677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3679 echo "Doing clean in bash" ; \
3681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3683 "RANLIB=$${RANLIB}" \
3684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3690 .PHONY: maybe-distclean-bash distclean-bash
3691 maybe-distclean-bash:
3693 maybe-distclean-bash: distclean-bash
3696 @[ -f ./bash/Makefile ] || exit 0; \
3697 r=`${PWD_COMMAND}`; export r; \
3698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3704 echo "Doing distclean in bash" ; \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3715 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3716 maybe-maintainer-clean-bash:
3718 maybe-maintainer-clean-bash: maintainer-clean-bash
3720 maintainer-clean-bash:
3721 @[ -f ./bash/Makefile ] || exit 0; \
3722 r=`${PWD_COMMAND}`; export r; \
3723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 echo "Doing maintainer-clean in bash" ; \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3741 .PHONY: configure-bfd maybe-configure-bfd
3742 maybe-configure-bfd:
3744 maybe-configure-bfd: configure-bfd
3746 @test -f stage_last && exit 0; \
3747 test ! -f bfd/Makefile || exit 0; \
3748 [ -d bfd ] || mkdir bfd; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 echo Configuring in bfd; \
3756 srcdiroption="--srcdir=."; \
3758 /* | [A-Za-z]:[\\/]*) \
3759 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3760 libsrcdir="$$s/bfd";; \
3762 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3763 libsrcdir="$$s/bfd";; \
3765 $(SHELL) $${libsrcdir}/configure \
3766 $(HOST_CONFIGARGS) $${srcdiroption} \
3770 .PHONY: all-bfd maybe-all-bfd
3773 maybe-all-bfd: all-bfd
3774 all-bfd: configure-bfd
3775 @test -f stage_last && exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3780 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3783 .PHONY: check-bfd maybe-check-bfd
3786 maybe-check-bfd: check-bfd
3789 @r=`${PWD_COMMAND}`; export r; \
3790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3793 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3797 .PHONY: install-bfd maybe-install-bfd
3800 maybe-install-bfd: install-bfd
3802 install-bfd: installdirs
3803 @r=`${PWD_COMMAND}`; export r; \
3804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3811 # Other targets (info, dvi, etc.)
3813 .PHONY: maybe-info-bfd info-bfd
3816 maybe-info-bfd: info-bfd
3820 @[ -f ./bfd/Makefile ] || exit 0; \
3821 r=`${PWD_COMMAND}`; export r; \
3822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3825 for flag in $(EXTRA_HOST_FLAGS) ; do \
3826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3828 echo "Doing info in bfd" ; \
3830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3832 "RANLIB=$${RANLIB}" \
3833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3839 .PHONY: maybe-dvi-bfd dvi-bfd
3842 maybe-dvi-bfd: dvi-bfd
3846 @[ -f ./bfd/Makefile ] || exit 0; \
3847 r=`${PWD_COMMAND}`; export r; \
3848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 for flag in $(EXTRA_HOST_FLAGS) ; do \
3852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3854 echo "Doing dvi in bfd" ; \
3856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3858 "RANLIB=$${RANLIB}" \
3859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3865 .PHONY: maybe-TAGS-bfd TAGS-bfd
3868 maybe-TAGS-bfd: TAGS-bfd
3872 @[ -f ./bfd/Makefile ] || exit 0; \
3873 r=`${PWD_COMMAND}`; export r; \
3874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 for flag in $(EXTRA_HOST_FLAGS) ; do \
3878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3880 echo "Doing TAGS in bfd" ; \
3882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3884 "RANLIB=$${RANLIB}" \
3885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3891 .PHONY: maybe-install-info-bfd install-info-bfd
3892 maybe-install-info-bfd:
3894 maybe-install-info-bfd: install-info-bfd
3899 @[ -f ./bfd/Makefile ] || exit 0; \
3900 r=`${PWD_COMMAND}`; export r; \
3901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3904 for flag in $(EXTRA_HOST_FLAGS) ; do \
3905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3907 echo "Doing install-info in bfd" ; \
3909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3911 "RANLIB=$${RANLIB}" \
3912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 .PHONY: maybe-installcheck-bfd installcheck-bfd
3919 maybe-installcheck-bfd:
3921 maybe-installcheck-bfd: installcheck-bfd
3925 @[ -f ./bfd/Makefile ] || exit 0; \
3926 r=`${PWD_COMMAND}`; export r; \
3927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3930 for flag in $(EXTRA_HOST_FLAGS) ; do \
3931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3933 echo "Doing installcheck in bfd" ; \
3935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3937 "RANLIB=$${RANLIB}" \
3938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3944 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3945 maybe-mostlyclean-bfd:
3947 maybe-mostlyclean-bfd: mostlyclean-bfd
3950 @[ -f ./bfd/Makefile ] || exit 0; \
3951 r=`${PWD_COMMAND}`; export r; \
3952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3955 for flag in $(EXTRA_HOST_FLAGS) ; do \
3956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3958 echo "Doing mostlyclean in bfd" ; \
3960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3962 "RANLIB=$${RANLIB}" \
3963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3969 .PHONY: maybe-clean-bfd clean-bfd
3972 maybe-clean-bfd: clean-bfd
3975 @[ -f ./bfd/Makefile ] || exit 0; \
3976 r=`${PWD_COMMAND}`; export r; \
3977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3980 for flag in $(EXTRA_HOST_FLAGS) ; do \
3981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3983 echo "Doing clean in bfd" ; \
3985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3987 "RANLIB=$${RANLIB}" \
3988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3994 .PHONY: maybe-distclean-bfd distclean-bfd
3995 maybe-distclean-bfd:
3997 maybe-distclean-bfd: distclean-bfd
4000 @[ -f ./bfd/Makefile ] || exit 0; \
4001 r=`${PWD_COMMAND}`; export r; \
4002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4005 for flag in $(EXTRA_HOST_FLAGS) ; do \
4006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4008 echo "Doing distclean in bfd" ; \
4010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4012 "RANLIB=$${RANLIB}" \
4013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4019 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4020 maybe-maintainer-clean-bfd:
4022 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4024 maintainer-clean-bfd:
4025 @[ -f ./bfd/Makefile ] || exit 0; \
4026 r=`${PWD_COMMAND}`; export r; \
4027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4030 for flag in $(EXTRA_HOST_FLAGS) ; do \
4031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4033 echo "Doing maintainer-clean in bfd" ; \
4035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4037 "RANLIB=$${RANLIB}" \
4038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4045 .PHONY: configure-opcodes maybe-configure-opcodes
4046 maybe-configure-opcodes:
4048 maybe-configure-opcodes: configure-opcodes
4050 @test -f stage_last && exit 0; \
4051 test ! -f opcodes/Makefile || exit 0; \
4052 [ -d opcodes ] || mkdir opcodes; \
4053 r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 echo Configuring in opcodes; \
4057 cd opcodes || exit 1; \
4060 srcdiroption="--srcdir=."; \
4062 /* | [A-Za-z]:[\\/]*) \
4063 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4064 libsrcdir="$$s/opcodes";; \
4066 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4067 libsrcdir="$$s/opcodes";; \
4069 $(SHELL) $${libsrcdir}/configure \
4070 $(HOST_CONFIGARGS) $${srcdiroption} \
4074 .PHONY: all-opcodes maybe-all-opcodes
4077 maybe-all-opcodes: all-opcodes
4078 all-opcodes: configure-opcodes
4079 @test -f stage_last && exit 0; \
4080 r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4084 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4087 .PHONY: check-opcodes maybe-check-opcodes
4088 maybe-check-opcodes:
4090 maybe-check-opcodes: check-opcodes
4093 @r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4097 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4101 .PHONY: install-opcodes maybe-install-opcodes
4102 maybe-install-opcodes:
4104 maybe-install-opcodes: install-opcodes
4106 install-opcodes: installdirs
4107 @r=`${PWD_COMMAND}`; export r; \
4108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4111 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4115 # Other targets (info, dvi, etc.)
4117 .PHONY: maybe-info-opcodes info-opcodes
4120 maybe-info-opcodes: info-opcodes
4124 @[ -f ./opcodes/Makefile ] || exit 0; \
4125 r=`${PWD_COMMAND}`; export r; \
4126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4129 for flag in $(EXTRA_HOST_FLAGS) ; do \
4130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4132 echo "Doing info in opcodes" ; \
4134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4136 "RANLIB=$${RANLIB}" \
4137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4143 .PHONY: maybe-dvi-opcodes dvi-opcodes
4146 maybe-dvi-opcodes: dvi-opcodes
4150 @[ -f ./opcodes/Makefile ] || exit 0; \
4151 r=`${PWD_COMMAND}`; export r; \
4152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4155 for flag in $(EXTRA_HOST_FLAGS) ; do \
4156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4158 echo "Doing dvi in opcodes" ; \
4160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4162 "RANLIB=$${RANLIB}" \
4163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4169 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4172 maybe-TAGS-opcodes: TAGS-opcodes
4176 @[ -f ./opcodes/Makefile ] || exit 0; \
4177 r=`${PWD_COMMAND}`; export r; \
4178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4181 for flag in $(EXTRA_HOST_FLAGS) ; do \
4182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4184 echo "Doing TAGS in opcodes" ; \
4186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4188 "RANLIB=$${RANLIB}" \
4189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4195 .PHONY: maybe-install-info-opcodes install-info-opcodes
4196 maybe-install-info-opcodes:
4198 maybe-install-info-opcodes: install-info-opcodes
4200 install-info-opcodes: \
4203 @[ -f ./opcodes/Makefile ] || exit 0; \
4204 r=`${PWD_COMMAND}`; export r; \
4205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4208 for flag in $(EXTRA_HOST_FLAGS) ; do \
4209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4211 echo "Doing install-info in opcodes" ; \
4213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4215 "RANLIB=$${RANLIB}" \
4216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4222 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4223 maybe-installcheck-opcodes:
4225 maybe-installcheck-opcodes: installcheck-opcodes
4227 installcheck-opcodes: \
4229 @[ -f ./opcodes/Makefile ] || exit 0; \
4230 r=`${PWD_COMMAND}`; export r; \
4231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 for flag in $(EXTRA_HOST_FLAGS) ; do \
4235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4237 echo "Doing installcheck in opcodes" ; \
4239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4241 "RANLIB=$${RANLIB}" \
4242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4248 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4249 maybe-mostlyclean-opcodes:
4251 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4253 mostlyclean-opcodes:
4254 @[ -f ./opcodes/Makefile ] || exit 0; \
4255 r=`${PWD_COMMAND}`; export r; \
4256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4259 for flag in $(EXTRA_HOST_FLAGS) ; do \
4260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4262 echo "Doing mostlyclean in opcodes" ; \
4264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4266 "RANLIB=$${RANLIB}" \
4267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4273 .PHONY: maybe-clean-opcodes clean-opcodes
4274 maybe-clean-opcodes:
4276 maybe-clean-opcodes: clean-opcodes
4279 @[ -f ./opcodes/Makefile ] || exit 0; \
4280 r=`${PWD_COMMAND}`; export r; \
4281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4284 for flag in $(EXTRA_HOST_FLAGS) ; do \
4285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4287 echo "Doing clean in opcodes" ; \
4289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4291 "RANLIB=$${RANLIB}" \
4292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4298 .PHONY: maybe-distclean-opcodes distclean-opcodes
4299 maybe-distclean-opcodes:
4301 maybe-distclean-opcodes: distclean-opcodes
4304 @[ -f ./opcodes/Makefile ] || exit 0; \
4305 r=`${PWD_COMMAND}`; export r; \
4306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4309 for flag in $(EXTRA_HOST_FLAGS) ; do \
4310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4312 echo "Doing distclean in opcodes" ; \
4314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4316 "RANLIB=$${RANLIB}" \
4317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \