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 # Path to the build directory for a Canadian cross, empty otherwise.
244 BUILD_DIR_PREFIX = @BUILD_DIR_PREFIX@
246 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
247 # here so that they can be overridden by Makefile fragments.
248 BUILD_PREFIX = @BUILD_PREFIX@
249 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
251 CONFIGURED_BISON = @CONFIGURED_BISON@
252 BISON = `if [ -f $$r/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
253 echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -L $$s/bison/ ; \
255 echo ${CONFIGURED_BISON} ; \
258 CONFIGURED_YACC = @CONFIGURED_YACC@
259 YACC = `if [ -f $$s/$(BUILD_DIR_PREFIX)/bison/bison ] ; then \
260 echo $$r/$(BUILD_DIR_PREFIX)/bison/bison -y -L $$s/bison/ ; \
261 elif [ -f $$s/$(BUILD_DIR_PREFIX)/byacc/byacc ] ; then \
262 echo $$r/$(BUILD_DIR_PREFIX)/byacc/byacc ; \
264 echo ${CONFIGURED_YACC} ; \
267 CONFIGURED_FLEX = @CONFIGURED_FLEX@
268 FLEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
269 then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
270 else echo ${CONFIGURED_FLEX} ; fi`
272 CONFIGURED_LEX = @CONFIGURED_LEX@
273 LEX = `if [ -f $$r/$(BUILD_DIR_PREFIX)/flex/flex ] ; \
274 then echo $$r/$(BUILD_DIR_PREFIX)/flex/flex ; \
275 else echo ${CONFIGURED_LEX} ; fi`
277 CONFIGURED_M4 = @CONFIGURED_M4@
278 M4 = `if [ -f $$r/$(BUILD_DIR_PREFIX)/m4/m4 ] ; \
279 then echo $$r/$(BUILD_DIR_PREFIX)/m4/m4 ; \
280 else echo ${CONFIGURED_M4} ; fi`
282 # For an installed makeinfo, we require it to be from texinfo 4.2 or
283 # higher, else we use the "missing" dummy. We also pass the subdirectory
284 # makeinfo even if only the Makefile is there, because Texinfo builds its
285 # manual when made, and it requires its own version.
286 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
287 MAKEINFO = `if [ -f $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/Makefile ] ; \
288 then echo $$r/$(BUILD_DIR_PREFIX)/texinfo/makeinfo/makeinfo ; \
289 else if (${CONFIGURED_MAKEINFO} --version \
290 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
291 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
293 # This just becomes part of the MAKEINFO definition passed down to
294 # sub-makes. It lets flags be given on the command line while still
295 # using the makeinfo from the object tree.
296 # (Default to avoid splitting info files by setting the threshold high.)
297 MAKEINFOFLAGS = --split-size=5000000
299 EXPECT = `if [ -f $$r/expect/expect ] ; \
300 then echo $$r/expect/expect ; \
301 else echo expect ; fi`
303 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
304 then echo $$s/dejagnu/runtest ; \
305 else echo runtest ; fi`
307 # ---------------------------------------------
308 # Programs producing files for the HOST machine
309 # ---------------------------------------------
311 # This is the list of directories that may be needed in RPATH_ENVVAR
312 # so that programs built for the host machine work.
313 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
322 LIBCFLAGS = $(CFLAGS)
325 CXXFLAGS = @CXXFLAGS@
326 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
341 # -----------------------------------------------
342 # Programs producing files for the TARGET machine
343 # -----------------------------------------------
345 # This is the list of directories that may be needed in RPATH_ENVVAR
346 # so that prorgams built for the target machine work.
347 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
349 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
351 AR_FOR_TARGET=@AR_FOR_TARGET@
352 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
353 USUAL_AR_FOR_TARGET = ` \
354 if [ -f $$r/binutils/ar ] ; then \
355 echo $$r/binutils/ar ; \
357 if [ '$(host)' = '$(target)' ] ; then \
360 echo $(CONFIGURED_AR_FOR_TARGET) ; \
364 AS_FOR_TARGET=@AS_FOR_TARGET@
365 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
366 USUAL_AS_FOR_TARGET = ` \
367 if [ -f $$r/gas/as-new ] ; then \
368 echo $$r/gas/as-new ; \
369 elif [ -f $$r/gcc/xgcc ]; then \
370 $(CC_FOR_TARGET) -print-prog-name=as ; \
372 if [ '$(host)' = '$(target)' ] ; then \
375 echo $(CONFIGURED_AS_FOR_TARGET) ; \
379 CC_FOR_TARGET = @CC_FOR_TARGET@
380 # During gcc bootstrap, if we use some random cc for stage1 then
381 # CFLAGS will be just -g. We want to ensure that TARGET libraries
382 # (which we know are built with gcc) are built with optimizations so
383 # prepend -O2 when setting CFLAGS_FOR_TARGET.
384 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
385 # If GCC_FOR_TARGET is not overriden on the command line, then this
386 # variable is passed down to the gcc Makefile, where it is used to
387 # build libgcc2.a. We define it here so that it can itself be
388 # overridden on the command line.
389 GCC_FOR_TARGET=@GCC_FOR_TARGET@
390 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
391 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
393 CXX_FOR_TARGET = @CXX_FOR_TARGET@
394 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
395 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
396 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
397 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
398 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
400 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
401 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
402 USUAL_DLLTOOL_FOR_TARGET = ` \
403 if [ -f $$r/binutils/dlltool ] ; then \
404 echo $$r/binutils/dlltool ; \
406 if [ '$(host)' = '$(target)' ] ; then \
409 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
413 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
414 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
416 LD_FOR_TARGET=@LD_FOR_TARGET@
417 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
418 USUAL_LD_FOR_TARGET = ` \
419 if [ -f $$r/ld/ld-new ] ; then \
420 echo $$r/ld/ld-new ; \
421 elif [ -f $$r/gcc/xgcc ]; then \
422 $(CC_FOR_TARGET) -print-prog-name=ld ; \
424 if [ '$(host)' = '$(target)' ] ; then \
427 echo $(CONFIGURED_LD_FOR_TARGET) ; \
433 NM_FOR_TARGET=@NM_FOR_TARGET@
434 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
435 USUAL_NM_FOR_TARGET = ` \
436 if [ -f $$r/binutils/nm-new ] ; then \
437 echo $$r/binutils/nm-new ; \
438 elif [ -f $$r/gcc/xgcc ]; then \
439 $(CC_FOR_TARGET) -print-prog-name=nm ; \
441 if [ '$(host)' = '$(target)' ] ; then \
444 echo $(CONFIGURED_NM_FOR_TARGET) ; \
448 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
449 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
450 USUAL_RANLIB_FOR_TARGET = ` \
451 if [ -f $$r/binutils/ranlib ] ; then \
452 echo $$r/binutils/ranlib ; \
454 if [ '$(host)' = '$(target)' ] ; then \
455 if [ x'$(RANLIB)' != x ]; then \
461 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
465 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
466 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
467 USUAL_WINDRES_FOR_TARGET = ` \
468 if [ -f $$r/binutils/windres ] ; then \
469 echo $$r/binutils/windres ; \
471 if [ '$(host)' = '$(target)' ] ; then \
474 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
480 # ------------------------------------
481 # Miscellaneous targets and flag lists
482 # ------------------------------------
484 # The first rule in the file had better be this one. Don't put any above it.
485 # This lives here to allow makefile fragments to contain dependencies.
488 #### host and target specific makefile fragments come in here.
489 @target_makefile_frag@
495 # Flags to pass down to all sub-makes.
496 BASE_FLAGS_TO_PASS = \
497 "DESTDIR=$(DESTDIR)" \
498 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
499 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
501 "datadir=$(datadir)" \
502 "exec_prefix=$(exec_prefix)" \
503 "includedir=$(includedir)" \
504 "infodir=$(infodir)" \
506 "libexecdir=$(libexecdir)" \
507 "lispdir=$(lispdir)" \
508 "libstdcxx_incdir=$(libstdcxx_incdir)" \
509 "libsubdir=$(libsubdir)" \
510 "localstatedir=$(localstatedir)" \
512 "oldincludedir=$(oldincludedir)" \
514 "sbindir=$(sbindir)" \
515 "sharedstatedir=$(sharedstatedir)" \
516 "sysconfdir=$(sysconfdir)" \
517 "tooldir=$(tooldir)" \
518 "build_tooldir=$(build_tooldir)" \
519 "gxx_include_dir=$(gxx_include_dir)" \
520 "gcc_version=$(gcc_version)" \
521 "gcc_version_trigger=$(gcc_version_trigger)" \
522 "target_alias=$(target_alias)" \
524 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
525 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
528 "INSTALL=$(INSTALL)" \
529 "INSTALL_DATA=$(INSTALL_DATA)" \
530 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
531 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
535 "RUNTEST=$(RUNTEST)" \
536 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
539 "AR_FLAGS=$(AR_FLAGS)" \
541 "CXXFLAGS=$(CXXFLAGS)" \
542 "LDFLAGS=$(LDFLAGS)" \
543 "LIBCFLAGS=$(LIBCFLAGS)" \
544 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
545 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
546 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
547 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
548 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
549 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
550 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
551 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
552 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
553 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
554 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
555 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
556 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
557 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
558 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
559 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
560 "CONFIG_SHELL=$(SHELL)" \
561 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
563 # For any flags above that may contain shell code that varies from one
564 # target library to another. When doing recursive invocations of the
565 # top-level Makefile, we don't want the outer make to evaluate them,
566 # so we pass these variables down unchanged. They must not contain
567 # single nor double quotes.
569 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
570 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
572 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
574 # Flags to pass down to most sub-makes, in which we're building with
575 # the host environment.
581 'DLLTOOL=$(DLLTOOL)' \
587 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
589 # Flags that are concerned with the location of the X11 include files
592 # NOTE: until the top-level is getting the values via autoconf, it only
593 # causes problems to have this top-level Makefile overriding the autoconf-set
594 # values in child directories. Only variables that don't conflict with
595 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
597 X11_FLAGS_TO_PASS = \
598 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
599 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
601 # Flags to pass down to makes which are built with the target environment.
602 # The double $ decreases the length of the command line; the variables
603 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
604 EXTRA_TARGET_FLAGS = \
605 'AR=$$(AR_FOR_TARGET)' \
606 'AS=$$(AS_FOR_TARGET)' \
607 'CC=$$(CC_FOR_TARGET)' \
608 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
609 'CXX=$$(CXX_FOR_TARGET)' \
610 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
611 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
612 'LD=$$(LD_FOR_TARGET)' \
613 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
614 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
615 'NM=$$(NM_FOR_TARGET)' \
616 'RANLIB=$$(RANLIB_FOR_TARGET)' \
617 'WINDRES=$$(WINDRES_FOR_TARGET)'
619 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
621 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
622 # unfortunately needs the native compiler and the target ar and
624 # If any variables are added here, they must be added to do-*, below.
625 # The BUILD_* variables are a special case, which are used for the gcc
626 # cross-building scheme.
628 'BUILD_PREFIX=$(BUILD_PREFIX)' \
629 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
630 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
631 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
632 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
633 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
634 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
635 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
636 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
637 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
642 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
644 .PHONY: configure-host
645 configure-host: maybe-configure-gcc \
646 maybe-configure-ash \
647 maybe-configure-autoconf \
648 maybe-configure-automake \
649 maybe-configure-bash \
650 maybe-configure-bfd \
651 maybe-configure-opcodes \
652 maybe-configure-binutils \
653 maybe-configure-bison \
654 maybe-configure-byacc \
655 maybe-configure-bzip2 \
656 maybe-configure-dejagnu \
657 maybe-configure-diff \
658 maybe-configure-dosutils \
659 maybe-configure-etc \
660 maybe-configure-fastjar \
661 maybe-configure-fileutils \
662 maybe-configure-findutils \
663 maybe-configure-find \
664 maybe-configure-flex \
665 maybe-configure-gas \
666 maybe-configure-gawk \
667 maybe-configure-gettext \
668 maybe-configure-gnuserv \
669 maybe-configure-gprof \
670 maybe-configure-gzip \
671 maybe-configure-hello \
672 maybe-configure-indent \
673 maybe-configure-intl \
674 maybe-configure-tcl \
675 maybe-configure-itcl \
677 maybe-configure-libcpp \
678 maybe-configure-libgui \
679 maybe-configure-libbanshee \
680 maybe-configure-libiberty \
681 maybe-configure-libtool \
683 maybe-configure-make \
684 maybe-configure-mmalloc \
685 maybe-configure-patch \
686 maybe-configure-perl \
687 maybe-configure-prms \
688 maybe-configure-rcs \
689 maybe-configure-readline \
690 maybe-configure-release \
691 maybe-configure-recode \
692 maybe-configure-sed \
693 maybe-configure-send-pr \
694 maybe-configure-shellutils \
695 maybe-configure-sid \
696 maybe-configure-sim \
697 maybe-configure-tar \
698 maybe-configure-texinfo \
699 maybe-configure-textutils \
700 maybe-configure-time \
701 maybe-configure-uudecode \
702 maybe-configure-wdiff \
703 maybe-configure-zip \
704 maybe-configure-zlib \
705 maybe-configure-gdb \
706 maybe-configure-expect \
707 maybe-configure-guile \
709 maybe-configure-tix \
710 maybe-configure-libtermcap \
711 maybe-configure-utils
712 .PHONY: configure-target
714 maybe-configure-target-libstdc++-v3 \
715 maybe-configure-target-libmudflap \
716 maybe-configure-target-newlib \
717 maybe-configure-target-libgfortran \
718 maybe-configure-target-libobjc \
719 maybe-configure-target-libtermcap \
720 maybe-configure-target-winsup \
721 maybe-configure-target-libgloss \
722 maybe-configure-target-libiberty \
723 maybe-configure-target-gperf \
724 maybe-configure-target-examples \
725 maybe-configure-target-libffi \
726 maybe-configure-target-libjava \
727 maybe-configure-target-zlib \
728 maybe-configure-target-boehm-gc \
729 maybe-configure-target-qthreads \
730 maybe-configure-target-rda \
731 maybe-configure-target-libada
733 # The target built for a native non-bootstrap build.
735 all: all-build all-host all-target
739 maybe-all-build-libiberty \
740 maybe-all-build-libbanshee \
741 maybe-all-build-bison \
742 maybe-all-build-byacc \
743 maybe-all-build-flex \
745 maybe-all-build-texinfo
747 all-host: maybe-all-gcc \
763 maybe-all-fileutils \
764 maybe-all-findutils \
781 maybe-all-libbanshee \
782 maybe-all-libiberty \
796 maybe-all-shellutils \
801 maybe-all-textutils \
812 maybe-all-libtermcap \
816 maybe-all-target-libstdc++-v3 \
817 maybe-all-target-libmudflap \
818 maybe-all-target-newlib \
819 maybe-all-target-libgfortran \
820 maybe-all-target-libobjc \
821 maybe-all-target-libtermcap \
822 maybe-all-target-winsup \
823 maybe-all-target-libgloss \
824 maybe-all-target-libiberty \
825 maybe-all-target-gperf \
826 maybe-all-target-examples \
827 maybe-all-target-libffi \
828 maybe-all-target-libjava \
829 maybe-all-target-zlib \
830 maybe-all-target-boehm-gc \
831 maybe-all-target-qthreads \
832 maybe-all-target-rda \
833 maybe-all-target-libada
835 # Do a target for all the subdirectories. A ``make do-X'' will do a
836 # ``make X'' in all subdirectories (because, in general, there is a
837 # dependency (below) of X upon do-X, a ``make X'' will also do this,
838 # but it may do additional work as well).
841 do-info: info-host info-target
844 info-host: maybe-info-gcc \
846 maybe-info-autoconf \
847 maybe-info-automake \
851 maybe-info-binutils \
857 maybe-info-dosutils \
860 maybe-info-fileutils \
861 maybe-info-findutils \
878 maybe-info-libbanshee \
879 maybe-info-libiberty \
888 maybe-info-readline \
893 maybe-info-shellutils \
898 maybe-info-textutils \
900 maybe-info-uudecode \
909 maybe-info-libtermcap \
914 maybe-info-target-libstdc++-v3 \
915 maybe-info-target-libmudflap \
916 maybe-info-target-newlib \
917 maybe-info-target-libgfortran \
918 maybe-info-target-libobjc \
919 maybe-info-target-libtermcap \
920 maybe-info-target-winsup \
921 maybe-info-target-libgloss \
922 maybe-info-target-libiberty \
923 maybe-info-target-gperf \
924 maybe-info-target-examples \
925 maybe-info-target-libffi \
926 maybe-info-target-libjava \
927 maybe-info-target-zlib \
928 maybe-info-target-boehm-gc \
929 maybe-info-target-qthreads \
930 maybe-info-target-rda \
931 maybe-info-target-libada
934 do-dvi: dvi-host dvi-target
937 dvi-host: maybe-dvi-gcc \
953 maybe-dvi-fileutils \
954 maybe-dvi-findutils \
971 maybe-dvi-libbanshee \
972 maybe-dvi-libiberty \
986 maybe-dvi-shellutils \
991 maybe-dvi-textutils \
1002 maybe-dvi-libtermcap \
1007 maybe-dvi-target-libstdc++-v3 \
1008 maybe-dvi-target-libmudflap \
1009 maybe-dvi-target-newlib \
1010 maybe-dvi-target-libgfortran \
1011 maybe-dvi-target-libobjc \
1012 maybe-dvi-target-libtermcap \
1013 maybe-dvi-target-winsup \
1014 maybe-dvi-target-libgloss \
1015 maybe-dvi-target-libiberty \
1016 maybe-dvi-target-gperf \
1017 maybe-dvi-target-examples \
1018 maybe-dvi-target-libffi \
1019 maybe-dvi-target-libjava \
1020 maybe-dvi-target-zlib \
1021 maybe-dvi-target-boehm-gc \
1022 maybe-dvi-target-qthreads \
1023 maybe-dvi-target-rda \
1024 maybe-dvi-target-libada
1027 do-TAGS: TAGS-host TAGS-target
1030 TAGS-host: maybe-TAGS-gcc \
1032 maybe-TAGS-autoconf \
1033 maybe-TAGS-automake \
1036 maybe-TAGS-opcodes \
1037 maybe-TAGS-binutils \
1041 maybe-TAGS-dejagnu \
1043 maybe-TAGS-dosutils \
1045 maybe-TAGS-fastjar \
1046 maybe-TAGS-fileutils \
1047 maybe-TAGS-findutils \
1052 maybe-TAGS-gettext \
1053 maybe-TAGS-gnuserv \
1064 maybe-TAGS-libbanshee \
1065 maybe-TAGS-libiberty \
1066 maybe-TAGS-libtool \
1069 maybe-TAGS-mmalloc \
1074 maybe-TAGS-readline \
1075 maybe-TAGS-release \
1078 maybe-TAGS-send-pr \
1079 maybe-TAGS-shellutils \
1083 maybe-TAGS-texinfo \
1084 maybe-TAGS-textutils \
1086 maybe-TAGS-uudecode \
1095 maybe-TAGS-libtermcap \
1100 maybe-TAGS-target-libstdc++-v3 \
1101 maybe-TAGS-target-libmudflap \
1102 maybe-TAGS-target-newlib \
1103 maybe-TAGS-target-libgfortran \
1104 maybe-TAGS-target-libobjc \
1105 maybe-TAGS-target-libtermcap \
1106 maybe-TAGS-target-winsup \
1107 maybe-TAGS-target-libgloss \
1108 maybe-TAGS-target-libiberty \
1109 maybe-TAGS-target-gperf \
1110 maybe-TAGS-target-examples \
1111 maybe-TAGS-target-libffi \
1112 maybe-TAGS-target-libjava \
1113 maybe-TAGS-target-zlib \
1114 maybe-TAGS-target-boehm-gc \
1115 maybe-TAGS-target-qthreads \
1116 maybe-TAGS-target-rda \
1117 maybe-TAGS-target-libada
1119 .PHONY: do-install-info
1120 do-install-info: install-info-host install-info-target
1122 .PHONY: install-info-host
1123 install-info-host: maybe-install-info-gcc \
1124 maybe-install-info-ash \
1125 maybe-install-info-autoconf \
1126 maybe-install-info-automake \
1127 maybe-install-info-bash \
1128 maybe-install-info-bfd \
1129 maybe-install-info-opcodes \
1130 maybe-install-info-binutils \
1131 maybe-install-info-bison \
1132 maybe-install-info-byacc \
1133 maybe-install-info-bzip2 \
1134 maybe-install-info-dejagnu \
1135 maybe-install-info-diff \
1136 maybe-install-info-dosutils \
1137 maybe-install-info-etc \
1138 maybe-install-info-fastjar \
1139 maybe-install-info-fileutils \
1140 maybe-install-info-findutils \
1141 maybe-install-info-find \
1142 maybe-install-info-flex \
1143 maybe-install-info-gas \
1144 maybe-install-info-gawk \
1145 maybe-install-info-gettext \
1146 maybe-install-info-gnuserv \
1147 maybe-install-info-gprof \
1148 maybe-install-info-gzip \
1149 maybe-install-info-hello \
1150 maybe-install-info-indent \
1151 maybe-install-info-intl \
1152 maybe-install-info-tcl \
1153 maybe-install-info-itcl \
1154 maybe-install-info-ld \
1155 maybe-install-info-libcpp \
1156 maybe-install-info-libgui \
1157 maybe-install-info-libbanshee \
1158 maybe-install-info-libiberty \
1159 maybe-install-info-libtool \
1160 maybe-install-info-m4 \
1161 maybe-install-info-make \
1162 maybe-install-info-mmalloc \
1163 maybe-install-info-patch \
1164 maybe-install-info-perl \
1165 maybe-install-info-prms \
1166 maybe-install-info-rcs \
1167 maybe-install-info-readline \
1168 maybe-install-info-release \
1169 maybe-install-info-recode \
1170 maybe-install-info-sed \
1171 maybe-install-info-send-pr \
1172 maybe-install-info-shellutils \
1173 maybe-install-info-sid \
1174 maybe-install-info-sim \
1175 maybe-install-info-tar \
1176 maybe-install-info-texinfo \
1177 maybe-install-info-textutils \
1178 maybe-install-info-time \
1179 maybe-install-info-uudecode \
1180 maybe-install-info-wdiff \
1181 maybe-install-info-zip \
1182 maybe-install-info-zlib \
1183 maybe-install-info-gdb \
1184 maybe-install-info-expect \
1185 maybe-install-info-guile \
1186 maybe-install-info-tk \
1187 maybe-install-info-tix \
1188 maybe-install-info-libtermcap \
1189 maybe-install-info-utils
1191 .PHONY: install-info-target
1192 install-info-target: \
1193 maybe-install-info-target-libstdc++-v3 \
1194 maybe-install-info-target-libmudflap \
1195 maybe-install-info-target-newlib \
1196 maybe-install-info-target-libgfortran \
1197 maybe-install-info-target-libobjc \
1198 maybe-install-info-target-libtermcap \
1199 maybe-install-info-target-winsup \
1200 maybe-install-info-target-libgloss \
1201 maybe-install-info-target-libiberty \
1202 maybe-install-info-target-gperf \
1203 maybe-install-info-target-examples \
1204 maybe-install-info-target-libffi \
1205 maybe-install-info-target-libjava \
1206 maybe-install-info-target-zlib \
1207 maybe-install-info-target-boehm-gc \
1208 maybe-install-info-target-qthreads \
1209 maybe-install-info-target-rda \
1210 maybe-install-info-target-libada
1212 .PHONY: do-installcheck
1213 do-installcheck: installcheck-host installcheck-target
1215 .PHONY: installcheck-host
1216 installcheck-host: maybe-installcheck-gcc \
1217 maybe-installcheck-ash \
1218 maybe-installcheck-autoconf \
1219 maybe-installcheck-automake \
1220 maybe-installcheck-bash \
1221 maybe-installcheck-bfd \
1222 maybe-installcheck-opcodes \
1223 maybe-installcheck-binutils \
1224 maybe-installcheck-bison \
1225 maybe-installcheck-byacc \
1226 maybe-installcheck-bzip2 \
1227 maybe-installcheck-dejagnu \
1228 maybe-installcheck-diff \
1229 maybe-installcheck-dosutils \
1230 maybe-installcheck-etc \
1231 maybe-installcheck-fastjar \
1232 maybe-installcheck-fileutils \
1233 maybe-installcheck-findutils \
1234 maybe-installcheck-find \
1235 maybe-installcheck-flex \
1236 maybe-installcheck-gas \
1237 maybe-installcheck-gawk \
1238 maybe-installcheck-gettext \
1239 maybe-installcheck-gnuserv \
1240 maybe-installcheck-gprof \
1241 maybe-installcheck-gzip \
1242 maybe-installcheck-hello \
1243 maybe-installcheck-indent \
1244 maybe-installcheck-intl \
1245 maybe-installcheck-tcl \
1246 maybe-installcheck-itcl \
1247 maybe-installcheck-ld \
1248 maybe-installcheck-libcpp \
1249 maybe-installcheck-libgui \
1250 maybe-installcheck-libbanshee \
1251 maybe-installcheck-libiberty \
1252 maybe-installcheck-libtool \
1253 maybe-installcheck-m4 \
1254 maybe-installcheck-make \
1255 maybe-installcheck-mmalloc \
1256 maybe-installcheck-patch \
1257 maybe-installcheck-perl \
1258 maybe-installcheck-prms \
1259 maybe-installcheck-rcs \
1260 maybe-installcheck-readline \
1261 maybe-installcheck-release \
1262 maybe-installcheck-recode \
1263 maybe-installcheck-sed \
1264 maybe-installcheck-send-pr \
1265 maybe-installcheck-shellutils \
1266 maybe-installcheck-sid \
1267 maybe-installcheck-sim \
1268 maybe-installcheck-tar \
1269 maybe-installcheck-texinfo \
1270 maybe-installcheck-textutils \
1271 maybe-installcheck-time \
1272 maybe-installcheck-uudecode \
1273 maybe-installcheck-wdiff \
1274 maybe-installcheck-zip \
1275 maybe-installcheck-zlib \
1276 maybe-installcheck-gdb \
1277 maybe-installcheck-expect \
1278 maybe-installcheck-guile \
1279 maybe-installcheck-tk \
1280 maybe-installcheck-tix \
1281 maybe-installcheck-libtermcap \
1282 maybe-installcheck-utils
1284 .PHONY: installcheck-target
1285 installcheck-target: \
1286 maybe-installcheck-target-libstdc++-v3 \
1287 maybe-installcheck-target-libmudflap \
1288 maybe-installcheck-target-newlib \
1289 maybe-installcheck-target-libgfortran \
1290 maybe-installcheck-target-libobjc \
1291 maybe-installcheck-target-libtermcap \
1292 maybe-installcheck-target-winsup \
1293 maybe-installcheck-target-libgloss \
1294 maybe-installcheck-target-libiberty \
1295 maybe-installcheck-target-gperf \
1296 maybe-installcheck-target-examples \
1297 maybe-installcheck-target-libffi \
1298 maybe-installcheck-target-libjava \
1299 maybe-installcheck-target-zlib \
1300 maybe-installcheck-target-boehm-gc \
1301 maybe-installcheck-target-qthreads \
1302 maybe-installcheck-target-rda \
1303 maybe-installcheck-target-libada
1305 .PHONY: do-mostlyclean
1306 do-mostlyclean: mostlyclean-host mostlyclean-target
1308 .PHONY: mostlyclean-host
1309 mostlyclean-host: maybe-mostlyclean-gcc \
1310 maybe-mostlyclean-ash \
1311 maybe-mostlyclean-autoconf \
1312 maybe-mostlyclean-automake \
1313 maybe-mostlyclean-bash \
1314 maybe-mostlyclean-bfd \
1315 maybe-mostlyclean-opcodes \
1316 maybe-mostlyclean-binutils \
1317 maybe-mostlyclean-bison \
1318 maybe-mostlyclean-byacc \
1319 maybe-mostlyclean-bzip2 \
1320 maybe-mostlyclean-dejagnu \
1321 maybe-mostlyclean-diff \
1322 maybe-mostlyclean-dosutils \
1323 maybe-mostlyclean-etc \
1324 maybe-mostlyclean-fastjar \
1325 maybe-mostlyclean-fileutils \
1326 maybe-mostlyclean-findutils \
1327 maybe-mostlyclean-find \
1328 maybe-mostlyclean-flex \
1329 maybe-mostlyclean-gas \
1330 maybe-mostlyclean-gawk \
1331 maybe-mostlyclean-gettext \
1332 maybe-mostlyclean-gnuserv \
1333 maybe-mostlyclean-gprof \
1334 maybe-mostlyclean-gzip \
1335 maybe-mostlyclean-hello \
1336 maybe-mostlyclean-indent \
1337 maybe-mostlyclean-intl \
1338 maybe-mostlyclean-tcl \
1339 maybe-mostlyclean-itcl \
1340 maybe-mostlyclean-ld \
1341 maybe-mostlyclean-libcpp \
1342 maybe-mostlyclean-libgui \
1343 maybe-mostlyclean-libbanshee \
1344 maybe-mostlyclean-libiberty \
1345 maybe-mostlyclean-libtool \
1346 maybe-mostlyclean-m4 \
1347 maybe-mostlyclean-make \
1348 maybe-mostlyclean-mmalloc \
1349 maybe-mostlyclean-patch \
1350 maybe-mostlyclean-perl \
1351 maybe-mostlyclean-prms \
1352 maybe-mostlyclean-rcs \
1353 maybe-mostlyclean-readline \
1354 maybe-mostlyclean-release \
1355 maybe-mostlyclean-recode \
1356 maybe-mostlyclean-sed \
1357 maybe-mostlyclean-send-pr \
1358 maybe-mostlyclean-shellutils \
1359 maybe-mostlyclean-sid \
1360 maybe-mostlyclean-sim \
1361 maybe-mostlyclean-tar \
1362 maybe-mostlyclean-texinfo \
1363 maybe-mostlyclean-textutils \
1364 maybe-mostlyclean-time \
1365 maybe-mostlyclean-uudecode \
1366 maybe-mostlyclean-wdiff \
1367 maybe-mostlyclean-zip \
1368 maybe-mostlyclean-zlib \
1369 maybe-mostlyclean-gdb \
1370 maybe-mostlyclean-expect \
1371 maybe-mostlyclean-guile \
1372 maybe-mostlyclean-tk \
1373 maybe-mostlyclean-tix \
1374 maybe-mostlyclean-libtermcap \
1375 maybe-mostlyclean-utils
1377 .PHONY: mostlyclean-target
1378 mostlyclean-target: \
1379 maybe-mostlyclean-target-libstdc++-v3 \
1380 maybe-mostlyclean-target-libmudflap \
1381 maybe-mostlyclean-target-newlib \
1382 maybe-mostlyclean-target-libgfortran \
1383 maybe-mostlyclean-target-libobjc \
1384 maybe-mostlyclean-target-libtermcap \
1385 maybe-mostlyclean-target-winsup \
1386 maybe-mostlyclean-target-libgloss \
1387 maybe-mostlyclean-target-libiberty \
1388 maybe-mostlyclean-target-gperf \
1389 maybe-mostlyclean-target-examples \
1390 maybe-mostlyclean-target-libffi \
1391 maybe-mostlyclean-target-libjava \
1392 maybe-mostlyclean-target-zlib \
1393 maybe-mostlyclean-target-boehm-gc \
1394 maybe-mostlyclean-target-qthreads \
1395 maybe-mostlyclean-target-rda \
1396 maybe-mostlyclean-target-libada
1399 do-clean: clean-host clean-target
1402 clean-host: maybe-clean-gcc \
1404 maybe-clean-autoconf \
1405 maybe-clean-automake \
1408 maybe-clean-opcodes \
1409 maybe-clean-binutils \
1413 maybe-clean-dejagnu \
1415 maybe-clean-dosutils \
1417 maybe-clean-fastjar \
1418 maybe-clean-fileutils \
1419 maybe-clean-findutils \
1424 maybe-clean-gettext \
1425 maybe-clean-gnuserv \
1429 maybe-clean-indent \
1434 maybe-clean-libcpp \
1435 maybe-clean-libgui \
1436 maybe-clean-libbanshee \
1437 maybe-clean-libiberty \
1438 maybe-clean-libtool \
1441 maybe-clean-mmalloc \
1446 maybe-clean-readline \
1447 maybe-clean-release \
1448 maybe-clean-recode \
1450 maybe-clean-send-pr \
1451 maybe-clean-shellutils \
1455 maybe-clean-texinfo \
1456 maybe-clean-textutils \
1458 maybe-clean-uudecode \
1463 maybe-clean-expect \
1467 maybe-clean-libtermcap \
1470 .PHONY: clean-target
1472 maybe-clean-target-libstdc++-v3 \
1473 maybe-clean-target-libmudflap \
1474 maybe-clean-target-newlib \
1475 maybe-clean-target-libgfortran \
1476 maybe-clean-target-libobjc \
1477 maybe-clean-target-libtermcap \
1478 maybe-clean-target-winsup \
1479 maybe-clean-target-libgloss \
1480 maybe-clean-target-libiberty \
1481 maybe-clean-target-gperf \
1482 maybe-clean-target-examples \
1483 maybe-clean-target-libffi \
1484 maybe-clean-target-libjava \
1485 maybe-clean-target-zlib \
1486 maybe-clean-target-boehm-gc \
1487 maybe-clean-target-qthreads \
1488 maybe-clean-target-rda \
1489 maybe-clean-target-libada
1491 .PHONY: do-distclean
1492 do-distclean: distclean-host distclean-target
1494 .PHONY: distclean-host
1495 distclean-host: maybe-distclean-gcc \
1496 maybe-distclean-ash \
1497 maybe-distclean-autoconf \
1498 maybe-distclean-automake \
1499 maybe-distclean-bash \
1500 maybe-distclean-bfd \
1501 maybe-distclean-opcodes \
1502 maybe-distclean-binutils \
1503 maybe-distclean-bison \
1504 maybe-distclean-byacc \
1505 maybe-distclean-bzip2 \
1506 maybe-distclean-dejagnu \
1507 maybe-distclean-diff \
1508 maybe-distclean-dosutils \
1509 maybe-distclean-etc \
1510 maybe-distclean-fastjar \
1511 maybe-distclean-fileutils \
1512 maybe-distclean-findutils \
1513 maybe-distclean-find \
1514 maybe-distclean-flex \
1515 maybe-distclean-gas \
1516 maybe-distclean-gawk \
1517 maybe-distclean-gettext \
1518 maybe-distclean-gnuserv \
1519 maybe-distclean-gprof \
1520 maybe-distclean-gzip \
1521 maybe-distclean-hello \
1522 maybe-distclean-indent \
1523 maybe-distclean-intl \
1524 maybe-distclean-tcl \
1525 maybe-distclean-itcl \
1526 maybe-distclean-ld \
1527 maybe-distclean-libcpp \
1528 maybe-distclean-libgui \
1529 maybe-distclean-libbanshee \
1530 maybe-distclean-libiberty \
1531 maybe-distclean-libtool \
1532 maybe-distclean-m4 \
1533 maybe-distclean-make \
1534 maybe-distclean-mmalloc \
1535 maybe-distclean-patch \
1536 maybe-distclean-perl \
1537 maybe-distclean-prms \
1538 maybe-distclean-rcs \
1539 maybe-distclean-readline \
1540 maybe-distclean-release \
1541 maybe-distclean-recode \
1542 maybe-distclean-sed \
1543 maybe-distclean-send-pr \
1544 maybe-distclean-shellutils \
1545 maybe-distclean-sid \
1546 maybe-distclean-sim \
1547 maybe-distclean-tar \
1548 maybe-distclean-texinfo \
1549 maybe-distclean-textutils \
1550 maybe-distclean-time \
1551 maybe-distclean-uudecode \
1552 maybe-distclean-wdiff \
1553 maybe-distclean-zip \
1554 maybe-distclean-zlib \
1555 maybe-distclean-gdb \
1556 maybe-distclean-expect \
1557 maybe-distclean-guile \
1558 maybe-distclean-tk \
1559 maybe-distclean-tix \
1560 maybe-distclean-libtermcap \
1561 maybe-distclean-utils
1563 .PHONY: distclean-target
1565 maybe-distclean-target-libstdc++-v3 \
1566 maybe-distclean-target-libmudflap \
1567 maybe-distclean-target-newlib \
1568 maybe-distclean-target-libgfortran \
1569 maybe-distclean-target-libobjc \
1570 maybe-distclean-target-libtermcap \
1571 maybe-distclean-target-winsup \
1572 maybe-distclean-target-libgloss \
1573 maybe-distclean-target-libiberty \
1574 maybe-distclean-target-gperf \
1575 maybe-distclean-target-examples \
1576 maybe-distclean-target-libffi \
1577 maybe-distclean-target-libjava \
1578 maybe-distclean-target-zlib \
1579 maybe-distclean-target-boehm-gc \
1580 maybe-distclean-target-qthreads \
1581 maybe-distclean-target-rda \
1582 maybe-distclean-target-libada
1584 .PHONY: do-maintainer-clean
1585 do-maintainer-clean: maintainer-clean-host maintainer-clean-target
1587 .PHONY: maintainer-clean-host
1588 maintainer-clean-host: maybe-maintainer-clean-gcc \
1589 maybe-maintainer-clean-ash \
1590 maybe-maintainer-clean-autoconf \
1591 maybe-maintainer-clean-automake \
1592 maybe-maintainer-clean-bash \
1593 maybe-maintainer-clean-bfd \
1594 maybe-maintainer-clean-opcodes \
1595 maybe-maintainer-clean-binutils \
1596 maybe-maintainer-clean-bison \
1597 maybe-maintainer-clean-byacc \
1598 maybe-maintainer-clean-bzip2 \
1599 maybe-maintainer-clean-dejagnu \
1600 maybe-maintainer-clean-diff \
1601 maybe-maintainer-clean-dosutils \
1602 maybe-maintainer-clean-etc \
1603 maybe-maintainer-clean-fastjar \
1604 maybe-maintainer-clean-fileutils \
1605 maybe-maintainer-clean-findutils \
1606 maybe-maintainer-clean-find \
1607 maybe-maintainer-clean-flex \
1608 maybe-maintainer-clean-gas \
1609 maybe-maintainer-clean-gawk \
1610 maybe-maintainer-clean-gettext \
1611 maybe-maintainer-clean-gnuserv \
1612 maybe-maintainer-clean-gprof \
1613 maybe-maintainer-clean-gzip \
1614 maybe-maintainer-clean-hello \
1615 maybe-maintainer-clean-indent \
1616 maybe-maintainer-clean-intl \
1617 maybe-maintainer-clean-tcl \
1618 maybe-maintainer-clean-itcl \
1619 maybe-maintainer-clean-ld \
1620 maybe-maintainer-clean-libcpp \
1621 maybe-maintainer-clean-libgui \
1622 maybe-maintainer-clean-libbanshee \
1623 maybe-maintainer-clean-libiberty \
1624 maybe-maintainer-clean-libtool \
1625 maybe-maintainer-clean-m4 \
1626 maybe-maintainer-clean-make \
1627 maybe-maintainer-clean-mmalloc \
1628 maybe-maintainer-clean-patch \
1629 maybe-maintainer-clean-perl \
1630 maybe-maintainer-clean-prms \
1631 maybe-maintainer-clean-rcs \
1632 maybe-maintainer-clean-readline \
1633 maybe-maintainer-clean-release \
1634 maybe-maintainer-clean-recode \
1635 maybe-maintainer-clean-sed \
1636 maybe-maintainer-clean-send-pr \
1637 maybe-maintainer-clean-shellutils \
1638 maybe-maintainer-clean-sid \
1639 maybe-maintainer-clean-sim \
1640 maybe-maintainer-clean-tar \
1641 maybe-maintainer-clean-texinfo \
1642 maybe-maintainer-clean-textutils \
1643 maybe-maintainer-clean-time \
1644 maybe-maintainer-clean-uudecode \
1645 maybe-maintainer-clean-wdiff \
1646 maybe-maintainer-clean-zip \
1647 maybe-maintainer-clean-zlib \
1648 maybe-maintainer-clean-gdb \
1649 maybe-maintainer-clean-expect \
1650 maybe-maintainer-clean-guile \
1651 maybe-maintainer-clean-tk \
1652 maybe-maintainer-clean-tix \
1653 maybe-maintainer-clean-libtermcap \
1654 maybe-maintainer-clean-utils
1656 .PHONY: maintainer-clean-target
1657 maintainer-clean-target: \
1658 maybe-maintainer-clean-target-libstdc++-v3 \
1659 maybe-maintainer-clean-target-libmudflap \
1660 maybe-maintainer-clean-target-newlib \
1661 maybe-maintainer-clean-target-libgfortran \
1662 maybe-maintainer-clean-target-libobjc \
1663 maybe-maintainer-clean-target-libtermcap \
1664 maybe-maintainer-clean-target-winsup \
1665 maybe-maintainer-clean-target-libgloss \
1666 maybe-maintainer-clean-target-libiberty \
1667 maybe-maintainer-clean-target-gperf \
1668 maybe-maintainer-clean-target-examples \
1669 maybe-maintainer-clean-target-libffi \
1670 maybe-maintainer-clean-target-libjava \
1671 maybe-maintainer-clean-target-zlib \
1672 maybe-maintainer-clean-target-boehm-gc \
1673 maybe-maintainer-clean-target-qthreads \
1674 maybe-maintainer-clean-target-rda \
1675 maybe-maintainer-clean-target-libada
1678 # Here are the targets which correspond to the do-X targets.
1680 .PHONY: info installcheck dvi install-info
1681 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1682 .PHONY: local-clean local-distclean local-maintainer-clean
1684 installcheck: do-installcheck
1687 # Make sure makeinfo is built before we do a `make info', if we're
1688 # in fact building texinfo.
1689 do-info: maybe-all-texinfo
1691 install-info: do-install-info dir.info
1692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1693 if [ -f dir.info ] ; then \
1694 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1698 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1701 -rm -f Makefile config.status config.cache mh-frag mt-frag
1702 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1703 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1704 rm -rf $(TARGET_SUBDIR); \
1706 -rm -rf $(BUILD_SUBDIR)
1707 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1708 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1709 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1710 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1711 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1713 local-maintainer-clean:
1714 @echo "This command is intended for maintainers to use;"
1715 @echo "it deletes files that may require special tools to rebuild."
1717 clean: do-clean local-clean
1718 mostlyclean: do-mostlyclean local-clean
1719 distclean: do-distclean local-clean local-distclean
1720 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1721 maintainer-clean: local-distclean
1722 realclean: maintainer-clean
1724 # Extra dependency for clean-target, owing to the mixed nature of gcc
1725 clean-target: clean-target-libgcc
1726 clean-target-libgcc:
1727 test ! -d gcc/libgcc || \
1728 (cd gcc/libgcc && find . -type d -print) | \
1729 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1734 .PHONY: check do-check
1737 # Only include modules actually being configured and built.
1738 do-check: maybe-check-gcc \
1740 maybe-check-autoconf \
1741 maybe-check-automake \
1744 maybe-check-opcodes \
1745 maybe-check-binutils \
1749 maybe-check-dejagnu \
1751 maybe-check-dosutils \
1753 maybe-check-fastjar \
1754 maybe-check-fileutils \
1755 maybe-check-findutils \
1760 maybe-check-gettext \
1761 maybe-check-gnuserv \
1765 maybe-check-indent \
1770 maybe-check-libcpp \
1771 maybe-check-libgui \
1772 maybe-check-libbanshee \
1773 maybe-check-libiberty \
1774 maybe-check-libtool \
1777 maybe-check-mmalloc \
1782 maybe-check-readline \
1783 maybe-check-release \
1784 maybe-check-recode \
1786 maybe-check-send-pr \
1787 maybe-check-shellutils \
1791 maybe-check-texinfo \
1792 maybe-check-textutils \
1794 maybe-check-uudecode \
1799 maybe-check-expect \
1803 maybe-check-libtermcap \
1805 maybe-check-target-libstdc++-v3 \
1806 maybe-check-target-libmudflap \
1807 maybe-check-target-newlib \
1808 maybe-check-target-libgfortran \
1809 maybe-check-target-libobjc \
1810 maybe-check-target-libtermcap \
1811 maybe-check-target-winsup \
1812 maybe-check-target-libgloss \
1813 maybe-check-target-libiberty \
1814 maybe-check-target-gperf \
1815 maybe-check-target-examples \
1816 maybe-check-target-libffi \
1817 maybe-check-target-libjava \
1818 maybe-check-target-zlib \
1819 maybe-check-target-boehm-gc \
1820 maybe-check-target-qthreads \
1821 maybe-check-target-rda \
1822 maybe-check-target-libada
1824 # Automated reporting of test results.
1826 warning.log: build.log
1827 $(srcdir)/contrib/warn_summary build.log > $@
1830 if test x'$(BOOT_CFLAGS)' != x''; then \
1831 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1833 $(srcdir)/contrib/test_summary -t >$@
1835 echo If you really want to send e-mail, run ./$@ now
1837 mail-report-with-warnings.log: warning.log
1838 if test x'$(BOOT_CFLAGS)' != x''; then \
1839 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1841 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1843 echo If you really want to send e-mail, run ./$@ now
1845 # Installation targets.
1847 .PHONY: install uninstall
1848 install: installdirs install-host install-target
1850 .PHONY: install-host-nogcc
1851 install-host-nogcc: \
1853 maybe-install-autoconf \
1854 maybe-install-automake \
1855 maybe-install-bash \
1857 maybe-install-opcodes \
1858 maybe-install-binutils \
1859 maybe-install-bison \
1860 maybe-install-byacc \
1861 maybe-install-bzip2 \
1862 maybe-install-dejagnu \
1863 maybe-install-diff \
1864 maybe-install-dosutils \
1866 maybe-install-fastjar \
1867 maybe-install-fileutils \
1868 maybe-install-findutils \
1869 maybe-install-find \
1870 maybe-install-flex \
1872 maybe-install-gawk \
1873 maybe-install-gettext \
1874 maybe-install-gnuserv \
1875 maybe-install-gprof \
1876 maybe-install-gzip \
1877 maybe-install-hello \
1878 maybe-install-indent \
1879 maybe-install-intl \
1881 maybe-install-itcl \
1883 maybe-install-libcpp \
1884 maybe-install-libgui \
1885 maybe-install-libbanshee \
1886 maybe-install-libiberty \
1887 maybe-install-libtool \
1889 maybe-install-make \
1890 maybe-install-mmalloc \
1891 maybe-install-patch \
1892 maybe-install-perl \
1893 maybe-install-prms \
1895 maybe-install-readline \
1896 maybe-install-release \
1897 maybe-install-recode \
1899 maybe-install-send-pr \
1900 maybe-install-shellutils \
1904 maybe-install-texinfo \
1905 maybe-install-textutils \
1906 maybe-install-time \
1907 maybe-install-uudecode \
1908 maybe-install-wdiff \
1910 maybe-install-zlib \
1912 maybe-install-expect \
1913 maybe-install-guile \
1916 maybe-install-libtermcap \
1919 .PHONY: install-host
1920 install-host: maybe-install-gcc \
1922 maybe-install-autoconf \
1923 maybe-install-automake \
1924 maybe-install-bash \
1926 maybe-install-opcodes \
1927 maybe-install-binutils \
1928 maybe-install-bison \
1929 maybe-install-byacc \
1930 maybe-install-bzip2 \
1931 maybe-install-dejagnu \
1932 maybe-install-diff \
1933 maybe-install-dosutils \
1935 maybe-install-fastjar \
1936 maybe-install-fileutils \
1937 maybe-install-findutils \
1938 maybe-install-find \
1939 maybe-install-flex \
1941 maybe-install-gawk \
1942 maybe-install-gettext \
1943 maybe-install-gnuserv \
1944 maybe-install-gprof \
1945 maybe-install-gzip \
1946 maybe-install-hello \
1947 maybe-install-indent \
1948 maybe-install-intl \
1950 maybe-install-itcl \
1952 maybe-install-libcpp \
1953 maybe-install-libgui \
1954 maybe-install-libbanshee \
1955 maybe-install-libiberty \
1956 maybe-install-libtool \
1958 maybe-install-make \
1959 maybe-install-mmalloc \
1960 maybe-install-patch \
1961 maybe-install-perl \
1962 maybe-install-prms \
1964 maybe-install-readline \
1965 maybe-install-release \
1966 maybe-install-recode \
1968 maybe-install-send-pr \
1969 maybe-install-shellutils \
1973 maybe-install-texinfo \
1974 maybe-install-textutils \
1975 maybe-install-time \
1976 maybe-install-uudecode \
1977 maybe-install-wdiff \
1979 maybe-install-zlib \
1981 maybe-install-expect \
1982 maybe-install-guile \
1985 maybe-install-libtermcap \
1988 .PHONY: install-target
1990 maybe-install-target-libstdc++-v3 \
1991 maybe-install-target-libmudflap \
1992 maybe-install-target-newlib \
1993 maybe-install-target-libgfortran \
1994 maybe-install-target-libobjc \
1995 maybe-install-target-libtermcap \
1996 maybe-install-target-winsup \
1997 maybe-install-target-libgloss \
1998 maybe-install-target-libiberty \
1999 maybe-install-target-gperf \
2000 maybe-install-target-examples \
2001 maybe-install-target-libffi \
2002 maybe-install-target-libjava \
2003 maybe-install-target-zlib \
2004 maybe-install-target-boehm-gc \
2005 maybe-install-target-qthreads \
2006 maybe-install-target-rda \
2007 maybe-install-target-libada
2010 @echo "the uninstall target is not supported in this tree"
2013 install.all: install-no-fixedincludes
2014 @if [ -f ./gcc/Makefile ] ; then \
2015 r=`${PWD_COMMAND}` ; export r ; \
2019 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2024 # install-no-fixedincludes is used because Cygnus can not distribute
2025 # the fixed header files.
2026 .PHONY: install-no-fixedincludes
2027 install-no-fixedincludes: installdirs install-host-nogcc \
2028 install-target gcc-no-fixedincludes
2030 ### other supporting targets
2033 $(DESTDIR)$(prefix) \
2034 $(DESTDIR)$(exec_prefix)
2036 installdirs: mkinstalldirs
2037 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2039 dir.info: do-install-info
2040 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2041 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2042 mv -f dir.info.new dir.info ; \
2047 @echo "Building a full distribution of this tree isn't done"
2048 @echo "via 'make dist'. Check out the etc/ subdirectory"
2052 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2053 # ability to use several tags files at once, so there is probably no need
2054 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2055 # (if we felt like it) have this Makefile write a piece of elisp which
2056 # the user could load to tell emacs19 where all the TAGS files we just
2060 # --------------------------------------
2061 # Modules which run on the build machine
2062 # --------------------------------------
2064 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2065 maybe-configure-build-libiberty:
2067 maybe-configure-build-libiberty: configure-build-libiberty
2068 configure-build-libiberty:
2069 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2070 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2071 r=`${PWD_COMMAND}`; export r; \
2072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2074 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2075 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2077 /* | [A-Za-z]:[\\/]*) \
2078 topdir=$(srcdir) ;; \
2080 case "$(BUILD_SUBDIR)" in \
2081 .) topdir="../$(srcdir)" ;; \
2082 *) topdir="../../$(srcdir)" ;; \
2085 if [ "$(srcdir)" = "." ] ; then \
2086 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2087 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2088 if [ -f Makefile ]; then \
2089 if $(MAKE) distclean; then \
2103 srcdiroption="--srcdir=."; \
2106 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2107 libsrcdir="$$s/libiberty"; \
2109 rm -f no-such-file || : ; \
2110 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2111 $(BUILD_CONFIGARGS) $${srcdiroption} \
2112 --with-build-subdir="$(BUILD_SUBDIR)" \
2114 @endif build-libiberty
2116 .PHONY: all-build-libiberty maybe-all-build-libiberty
2117 maybe-all-build-libiberty:
2119 maybe-all-build-libiberty: all-build-libiberty
2120 all-build-libiberty: configure-build-libiberty
2121 @r=`${PWD_COMMAND}`; export r; \
2122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2124 (cd $(BUILD_SUBDIR)/libiberty && $(MAKE) all)
2125 @endif build-libiberty
2127 .PHONY: configure-build-libbanshee maybe-configure-build-libbanshee
2128 maybe-configure-build-libbanshee:
2129 @if build-libbanshee
2130 maybe-configure-build-libbanshee: configure-build-libbanshee
2131 configure-build-libbanshee:
2132 @test ! -f $(BUILD_SUBDIR)/libbanshee/Makefile || exit 0; \
2133 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libbanshee ; \
2134 r=`${PWD_COMMAND}`; export r; \
2135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2137 echo Configuring in $(BUILD_SUBDIR)/libbanshee; \
2138 cd "$(BUILD_SUBDIR)/libbanshee" || exit 1; \
2140 /* | [A-Za-z]:[\\/]*) \
2141 topdir=$(srcdir) ;; \
2143 case "$(BUILD_SUBDIR)" in \
2144 .) topdir="../$(srcdir)" ;; \
2145 *) topdir="../../$(srcdir)" ;; \
2148 if [ "$(srcdir)" = "." ] ; then \
2149 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2150 if $(SHELL) $$s/symlink-tree $${topdir}/libbanshee "no-such-file" ; then \
2151 if [ -f Makefile ]; then \
2152 if $(MAKE) distclean; then \
2166 srcdiroption="--srcdir=."; \
2169 srcdiroption="--srcdir=$${topdir}/libbanshee"; \
2170 libsrcdir="$$s/libbanshee"; \
2172 rm -f no-such-file || : ; \
2173 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2174 $(BUILD_CONFIGARGS) $${srcdiroption} \
2175 --with-build-subdir="$(BUILD_SUBDIR)" \
2177 @endif build-libbanshee
2179 .PHONY: all-build-libbanshee maybe-all-build-libbanshee
2180 maybe-all-build-libbanshee:
2181 @if build-libbanshee
2182 maybe-all-build-libbanshee: all-build-libbanshee
2183 all-build-libbanshee: configure-build-libbanshee
2184 @r=`${PWD_COMMAND}`; export r; \
2185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2187 (cd $(BUILD_SUBDIR)/libbanshee && $(MAKE) all)
2188 @endif build-libbanshee
2190 .PHONY: configure-build-bison maybe-configure-build-bison
2191 maybe-configure-build-bison:
2193 maybe-configure-build-bison: configure-build-bison
2194 configure-build-bison:
2195 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2196 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2197 r=`${PWD_COMMAND}`; export r; \
2198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2200 echo Configuring in $(BUILD_SUBDIR)/bison; \
2201 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2203 /* | [A-Za-z]:[\\/]*) \
2204 topdir=$(srcdir) ;; \
2206 case "$(BUILD_SUBDIR)" in \
2207 .) topdir="../$(srcdir)" ;; \
2208 *) topdir="../../$(srcdir)" ;; \
2211 if [ "$(srcdir)" = "." ] ; then \
2212 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2213 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2214 if [ -f Makefile ]; then \
2215 if $(MAKE) distclean; then \
2229 srcdiroption="--srcdir=."; \
2232 srcdiroption="--srcdir=$${topdir}/bison"; \
2233 libsrcdir="$$s/bison"; \
2235 rm -f no-such-file || : ; \
2236 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2237 $(BUILD_CONFIGARGS) $${srcdiroption} \
2238 --with-build-subdir="$(BUILD_SUBDIR)" \
2242 .PHONY: all-build-bison maybe-all-build-bison
2243 maybe-all-build-bison:
2245 maybe-all-build-bison: all-build-bison
2246 all-build-bison: configure-build-bison
2247 @r=`${PWD_COMMAND}`; export r; \
2248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2250 (cd $(BUILD_SUBDIR)/bison && $(MAKE) all)
2253 .PHONY: configure-build-byacc maybe-configure-build-byacc
2254 maybe-configure-build-byacc:
2256 maybe-configure-build-byacc: configure-build-byacc
2257 configure-build-byacc:
2258 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2259 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2260 r=`${PWD_COMMAND}`; export r; \
2261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2263 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2264 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2266 /* | [A-Za-z]:[\\/]*) \
2267 topdir=$(srcdir) ;; \
2269 case "$(BUILD_SUBDIR)" in \
2270 .) topdir="../$(srcdir)" ;; \
2271 *) topdir="../../$(srcdir)" ;; \
2274 if [ "$(srcdir)" = "." ] ; then \
2275 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2276 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2277 if [ -f Makefile ]; then \
2278 if $(MAKE) distclean; then \
2292 srcdiroption="--srcdir=."; \
2295 srcdiroption="--srcdir=$${topdir}/byacc"; \
2296 libsrcdir="$$s/byacc"; \
2298 rm -f no-such-file || : ; \
2299 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2300 $(BUILD_CONFIGARGS) $${srcdiroption} \
2301 --with-build-subdir="$(BUILD_SUBDIR)" \
2305 .PHONY: all-build-byacc maybe-all-build-byacc
2306 maybe-all-build-byacc:
2308 maybe-all-build-byacc: all-build-byacc
2309 all-build-byacc: configure-build-byacc
2310 @r=`${PWD_COMMAND}`; export r; \
2311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2313 (cd $(BUILD_SUBDIR)/byacc && $(MAKE) all)
2316 .PHONY: configure-build-flex maybe-configure-build-flex
2317 maybe-configure-build-flex:
2319 maybe-configure-build-flex: configure-build-flex
2320 configure-build-flex:
2321 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2322 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2323 r=`${PWD_COMMAND}`; export r; \
2324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2326 echo Configuring in $(BUILD_SUBDIR)/flex; \
2327 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2329 /* | [A-Za-z]:[\\/]*) \
2330 topdir=$(srcdir) ;; \
2332 case "$(BUILD_SUBDIR)" in \
2333 .) topdir="../$(srcdir)" ;; \
2334 *) topdir="../../$(srcdir)" ;; \
2337 if [ "$(srcdir)" = "." ] ; then \
2338 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2339 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2340 if [ -f Makefile ]; then \
2341 if $(MAKE) distclean; then \
2355 srcdiroption="--srcdir=."; \
2358 srcdiroption="--srcdir=$${topdir}/flex"; \
2359 libsrcdir="$$s/flex"; \
2361 rm -f no-such-file || : ; \
2362 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2363 $(BUILD_CONFIGARGS) $${srcdiroption} \
2364 --with-build-subdir="$(BUILD_SUBDIR)" \
2368 .PHONY: all-build-flex maybe-all-build-flex
2369 maybe-all-build-flex:
2371 maybe-all-build-flex: all-build-flex
2372 all-build-flex: configure-build-flex
2373 @r=`${PWD_COMMAND}`; export r; \
2374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2376 (cd $(BUILD_SUBDIR)/flex && $(MAKE) all)
2379 .PHONY: configure-build-m4 maybe-configure-build-m4
2380 maybe-configure-build-m4:
2382 maybe-configure-build-m4: configure-build-m4
2384 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2385 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2386 r=`${PWD_COMMAND}`; export r; \
2387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2389 echo Configuring in $(BUILD_SUBDIR)/m4; \
2390 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2392 /* | [A-Za-z]:[\\/]*) \
2393 topdir=$(srcdir) ;; \
2395 case "$(BUILD_SUBDIR)" in \
2396 .) topdir="../$(srcdir)" ;; \
2397 *) topdir="../../$(srcdir)" ;; \
2400 if [ "$(srcdir)" = "." ] ; then \
2401 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2402 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2403 if [ -f Makefile ]; then \
2404 if $(MAKE) distclean; then \
2418 srcdiroption="--srcdir=."; \
2421 srcdiroption="--srcdir=$${topdir}/m4"; \
2422 libsrcdir="$$s/m4"; \
2424 rm -f no-such-file || : ; \
2425 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2426 $(BUILD_CONFIGARGS) $${srcdiroption} \
2427 --with-build-subdir="$(BUILD_SUBDIR)" \
2431 .PHONY: all-build-m4 maybe-all-build-m4
2434 maybe-all-build-m4: all-build-m4
2435 all-build-m4: configure-build-m4
2436 @r=`${PWD_COMMAND}`; export r; \
2437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2439 (cd $(BUILD_SUBDIR)/m4 && $(MAKE) all)
2442 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2443 maybe-configure-build-texinfo:
2445 maybe-configure-build-texinfo: configure-build-texinfo
2446 configure-build-texinfo:
2447 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2448 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2449 r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2452 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2453 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2455 /* | [A-Za-z]:[\\/]*) \
2456 topdir=$(srcdir) ;; \
2458 case "$(BUILD_SUBDIR)" in \
2459 .) topdir="../$(srcdir)" ;; \
2460 *) topdir="../../$(srcdir)" ;; \
2463 if [ "$(srcdir)" = "." ] ; then \
2464 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2465 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2466 if [ -f Makefile ]; then \
2467 if $(MAKE) distclean; then \
2481 srcdiroption="--srcdir=."; \
2484 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2485 libsrcdir="$$s/texinfo"; \
2487 rm -f no-such-file || : ; \
2488 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2489 $(BUILD_CONFIGARGS) $${srcdiroption} \
2490 --with-build-subdir="$(BUILD_SUBDIR)" \
2492 @endif build-texinfo
2494 .PHONY: all-build-texinfo maybe-all-build-texinfo
2495 maybe-all-build-texinfo:
2497 maybe-all-build-texinfo: all-build-texinfo
2498 all-build-texinfo: configure-build-texinfo
2499 @r=`${PWD_COMMAND}`; export r; \
2500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 (cd $(BUILD_SUBDIR)/texinfo && $(MAKE) all)
2503 @endif build-texinfo
2506 # --------------------------------------
2507 # Modules which run on the host machine
2508 # --------------------------------------
2510 .PHONY: configure-ash maybe-configure-ash
2511 maybe-configure-ash:
2513 maybe-configure-ash: configure-ash
2515 @test ! -f ash/Makefile || exit 0; \
2516 [ -d ash ] || mkdir ash; \
2517 r=`${PWD_COMMAND}`; export r; \
2518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2520 echo Configuring in ash; \
2524 srcdiroption="--srcdir=."; \
2526 /* | [A-Za-z]:[\\/]*) \
2527 srcdiroption="--srcdir=$(srcdir)/ash"; \
2528 libsrcdir="$$s/ash";; \
2530 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2531 libsrcdir="$$s/ash";; \
2533 $(SHELL) $${libsrcdir}/configure \
2534 $(HOST_CONFIGARGS) $${srcdiroption} \
2538 .PHONY: all-ash maybe-all-ash
2541 maybe-all-ash: all-ash
2542 all-ash: configure-ash
2543 @r=`${PWD_COMMAND}`; export r; \
2544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2550 .PHONY: check-ash maybe-check-ash
2553 maybe-check-ash: check-ash
2556 @r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2560 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2564 .PHONY: install-ash maybe-install-ash
2567 maybe-install-ash: install-ash
2569 install-ash: installdirs
2570 @r=`${PWD_COMMAND}`; export r; \
2571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2574 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2578 # Other targets (info, dvi, etc.)
2580 .PHONY: maybe-info-ash info-ash
2583 maybe-info-ash: info-ash
2587 @[ -f ./ash/Makefile ] || exit 0; \
2588 r=`${PWD_COMMAND}`; export r; \
2589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2592 for flag in $(EXTRA_HOST_FLAGS); do \
2593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2595 echo "Doing info in ash" ; \
2597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2599 "RANLIB=$${RANLIB}" \
2600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2606 .PHONY: maybe-dvi-ash dvi-ash
2609 maybe-dvi-ash: dvi-ash
2613 @[ -f ./ash/Makefile ] || exit 0; \
2614 r=`${PWD_COMMAND}`; export r; \
2615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2618 for flag in $(EXTRA_HOST_FLAGS); do \
2619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2621 echo "Doing dvi in ash" ; \
2623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2625 "RANLIB=$${RANLIB}" \
2626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2632 .PHONY: maybe-TAGS-ash TAGS-ash
2635 maybe-TAGS-ash: TAGS-ash
2639 @[ -f ./ash/Makefile ] || exit 0; \
2640 r=`${PWD_COMMAND}`; export r; \
2641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2644 for flag in $(EXTRA_HOST_FLAGS); do \
2645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2647 echo "Doing TAGS in ash" ; \
2649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2651 "RANLIB=$${RANLIB}" \
2652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658 .PHONY: maybe-install-info-ash install-info-ash
2659 maybe-install-info-ash:
2661 maybe-install-info-ash: install-info-ash
2666 @[ -f ./ash/Makefile ] || exit 0; \
2667 r=`${PWD_COMMAND}`; export r; \
2668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2671 for flag in $(EXTRA_HOST_FLAGS); do \
2672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2674 echo "Doing install-info in ash" ; \
2676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2678 "RANLIB=$${RANLIB}" \
2679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2685 .PHONY: maybe-installcheck-ash installcheck-ash
2686 maybe-installcheck-ash:
2688 maybe-installcheck-ash: installcheck-ash
2692 @[ -f ./ash/Makefile ] || exit 0; \
2693 r=`${PWD_COMMAND}`; export r; \
2694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2697 for flag in $(EXTRA_HOST_FLAGS); do \
2698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2700 echo "Doing installcheck in ash" ; \
2702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2704 "RANLIB=$${RANLIB}" \
2705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2711 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2712 maybe-mostlyclean-ash:
2714 maybe-mostlyclean-ash: mostlyclean-ash
2717 @[ -f ./ash/Makefile ] || exit 0; \
2718 r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 for flag in $(EXTRA_HOST_FLAGS); do \
2723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2725 echo "Doing mostlyclean in ash" ; \
2727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2729 "RANLIB=$${RANLIB}" \
2730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2736 .PHONY: maybe-clean-ash clean-ash
2739 maybe-clean-ash: clean-ash
2742 @[ -f ./ash/Makefile ] || exit 0; \
2743 r=`${PWD_COMMAND}`; export r; \
2744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 for flag in $(EXTRA_HOST_FLAGS); do \
2748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2750 echo "Doing clean in ash" ; \
2752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2754 "RANLIB=$${RANLIB}" \
2755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2761 .PHONY: maybe-distclean-ash distclean-ash
2762 maybe-distclean-ash:
2764 maybe-distclean-ash: distclean-ash
2767 @[ -f ./ash/Makefile ] || exit 0; \
2768 r=`${PWD_COMMAND}`; export r; \
2769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2772 for flag in $(EXTRA_HOST_FLAGS); do \
2773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2775 echo "Doing distclean in ash" ; \
2777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2779 "RANLIB=$${RANLIB}" \
2780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2786 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2787 maybe-maintainer-clean-ash:
2789 maybe-maintainer-clean-ash: maintainer-clean-ash
2791 maintainer-clean-ash:
2792 @[ -f ./ash/Makefile ] || exit 0; \
2793 r=`${PWD_COMMAND}`; export r; \
2794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2797 for flag in $(EXTRA_HOST_FLAGS); do \
2798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2800 echo "Doing maintainer-clean in ash" ; \
2802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2804 "RANLIB=$${RANLIB}" \
2805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2812 .PHONY: configure-autoconf maybe-configure-autoconf
2813 maybe-configure-autoconf:
2815 maybe-configure-autoconf: configure-autoconf
2817 @test ! -f autoconf/Makefile || exit 0; \
2818 [ -d autoconf ] || mkdir autoconf; \
2819 r=`${PWD_COMMAND}`; export r; \
2820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2822 echo Configuring in autoconf; \
2823 cd autoconf || exit 1; \
2826 srcdiroption="--srcdir=."; \
2828 /* | [A-Za-z]:[\\/]*) \
2829 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2830 libsrcdir="$$s/autoconf";; \
2832 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2833 libsrcdir="$$s/autoconf";; \
2835 $(SHELL) $${libsrcdir}/configure \
2836 $(HOST_CONFIGARGS) $${srcdiroption} \
2840 .PHONY: all-autoconf maybe-all-autoconf
2843 maybe-all-autoconf: all-autoconf
2844 all-autoconf: configure-autoconf
2845 @r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2849 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2852 .PHONY: check-autoconf maybe-check-autoconf
2853 maybe-check-autoconf:
2855 maybe-check-autoconf: check-autoconf
2858 @r=`${PWD_COMMAND}`; export r; \
2859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2862 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2866 .PHONY: install-autoconf maybe-install-autoconf
2867 maybe-install-autoconf:
2869 maybe-install-autoconf: install-autoconf
2871 install-autoconf: installdirs
2872 @r=`${PWD_COMMAND}`; export r; \
2873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2876 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2880 # Other targets (info, dvi, etc.)
2882 .PHONY: maybe-info-autoconf info-autoconf
2883 maybe-info-autoconf:
2885 maybe-info-autoconf: info-autoconf
2889 @[ -f ./autoconf/Makefile ] || exit 0; \
2890 r=`${PWD_COMMAND}`; export r; \
2891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2894 for flag in $(EXTRA_HOST_FLAGS); do \
2895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2897 echo "Doing info in autoconf" ; \
2899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2901 "RANLIB=$${RANLIB}" \
2902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2908 .PHONY: maybe-dvi-autoconf dvi-autoconf
2911 maybe-dvi-autoconf: dvi-autoconf
2915 @[ -f ./autoconf/Makefile ] || exit 0; \
2916 r=`${PWD_COMMAND}`; export r; \
2917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2920 for flag in $(EXTRA_HOST_FLAGS); do \
2921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2923 echo "Doing dvi in autoconf" ; \
2925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2927 "RANLIB=$${RANLIB}" \
2928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2934 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2935 maybe-TAGS-autoconf:
2937 maybe-TAGS-autoconf: TAGS-autoconf
2941 @[ -f ./autoconf/Makefile ] || exit 0; \
2942 r=`${PWD_COMMAND}`; export r; \
2943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2946 for flag in $(EXTRA_HOST_FLAGS); do \
2947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2949 echo "Doing TAGS in autoconf" ; \
2951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2953 "RANLIB=$${RANLIB}" \
2954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2960 .PHONY: maybe-install-info-autoconf install-info-autoconf
2961 maybe-install-info-autoconf:
2963 maybe-install-info-autoconf: install-info-autoconf
2965 install-info-autoconf: \
2966 configure-autoconf \
2968 @[ -f ./autoconf/Makefile ] || exit 0; \
2969 r=`${PWD_COMMAND}`; export r; \
2970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2973 for flag in $(EXTRA_HOST_FLAGS); do \
2974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2976 echo "Doing install-info in autoconf" ; \
2978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2980 "RANLIB=$${RANLIB}" \
2981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2987 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2988 maybe-installcheck-autoconf:
2990 maybe-installcheck-autoconf: installcheck-autoconf
2992 installcheck-autoconf: \
2994 @[ -f ./autoconf/Makefile ] || exit 0; \
2995 r=`${PWD_COMMAND}`; export r; \
2996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2999 for flag in $(EXTRA_HOST_FLAGS); do \
3000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3002 echo "Doing installcheck in autoconf" ; \
3004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3006 "RANLIB=$${RANLIB}" \
3007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3014 maybe-mostlyclean-autoconf:
3016 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3018 mostlyclean-autoconf:
3019 @[ -f ./autoconf/Makefile ] || exit 0; \
3020 r=`${PWD_COMMAND}`; export r; \
3021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 for flag in $(EXTRA_HOST_FLAGS); do \
3025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3027 echo "Doing mostlyclean in autoconf" ; \
3029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3031 "RANLIB=$${RANLIB}" \
3032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 .PHONY: maybe-clean-autoconf clean-autoconf
3039 maybe-clean-autoconf:
3041 maybe-clean-autoconf: clean-autoconf
3044 @[ -f ./autoconf/Makefile ] || exit 0; \
3045 r=`${PWD_COMMAND}`; export r; \
3046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049 for flag in $(EXTRA_HOST_FLAGS); do \
3050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3052 echo "Doing clean in autoconf" ; \
3054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3056 "RANLIB=$${RANLIB}" \
3057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 .PHONY: maybe-distclean-autoconf distclean-autoconf
3064 maybe-distclean-autoconf:
3066 maybe-distclean-autoconf: distclean-autoconf
3069 @[ -f ./autoconf/Makefile ] || exit 0; \
3070 r=`${PWD_COMMAND}`; export r; \
3071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3074 for flag in $(EXTRA_HOST_FLAGS); do \
3075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3077 echo "Doing distclean in autoconf" ; \
3079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3081 "RANLIB=$${RANLIB}" \
3082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3088 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3089 maybe-maintainer-clean-autoconf:
3091 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3093 maintainer-clean-autoconf:
3094 @[ -f ./autoconf/Makefile ] || exit 0; \
3095 r=`${PWD_COMMAND}`; export r; \
3096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3099 for flag in $(EXTRA_HOST_FLAGS); do \
3100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3102 echo "Doing maintainer-clean in autoconf" ; \
3104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3106 "RANLIB=$${RANLIB}" \
3107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3114 .PHONY: configure-automake maybe-configure-automake
3115 maybe-configure-automake:
3117 maybe-configure-automake: configure-automake
3119 @test ! -f automake/Makefile || exit 0; \
3120 [ -d automake ] || mkdir automake; \
3121 r=`${PWD_COMMAND}`; export r; \
3122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3124 echo Configuring in automake; \
3125 cd automake || exit 1; \
3128 srcdiroption="--srcdir=."; \
3130 /* | [A-Za-z]:[\\/]*) \
3131 srcdiroption="--srcdir=$(srcdir)/automake"; \
3132 libsrcdir="$$s/automake";; \
3134 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3135 libsrcdir="$$s/automake";; \
3137 $(SHELL) $${libsrcdir}/configure \
3138 $(HOST_CONFIGARGS) $${srcdiroption} \
3142 .PHONY: all-automake maybe-all-automake
3145 maybe-all-automake: all-automake
3146 all-automake: configure-automake
3147 @r=`${PWD_COMMAND}`; export r; \
3148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3151 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3154 .PHONY: check-automake maybe-check-automake
3155 maybe-check-automake:
3157 maybe-check-automake: check-automake
3160 @r=`${PWD_COMMAND}`; export r; \
3161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3164 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3168 .PHONY: install-automake maybe-install-automake
3169 maybe-install-automake:
3171 maybe-install-automake: install-automake
3173 install-automake: installdirs
3174 @r=`${PWD_COMMAND}`; export r; \
3175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3182 # Other targets (info, dvi, etc.)
3184 .PHONY: maybe-info-automake info-automake
3185 maybe-info-automake:
3187 maybe-info-automake: info-automake
3191 @[ -f ./automake/Makefile ] || exit 0; \
3192 r=`${PWD_COMMAND}`; export r; \
3193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3196 for flag in $(EXTRA_HOST_FLAGS); do \
3197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3199 echo "Doing info in automake" ; \
3201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3203 "RANLIB=$${RANLIB}" \
3204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3210 .PHONY: maybe-dvi-automake dvi-automake
3213 maybe-dvi-automake: dvi-automake
3217 @[ -f ./automake/Makefile ] || exit 0; \
3218 r=`${PWD_COMMAND}`; export r; \
3219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3222 for flag in $(EXTRA_HOST_FLAGS); do \
3223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3225 echo "Doing dvi in automake" ; \
3227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3229 "RANLIB=$${RANLIB}" \
3230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3236 .PHONY: maybe-TAGS-automake TAGS-automake
3237 maybe-TAGS-automake:
3239 maybe-TAGS-automake: TAGS-automake
3243 @[ -f ./automake/Makefile ] || exit 0; \
3244 r=`${PWD_COMMAND}`; export r; \
3245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3248 for flag in $(EXTRA_HOST_FLAGS); do \
3249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3251 echo "Doing TAGS in automake" ; \
3253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3255 "RANLIB=$${RANLIB}" \
3256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 .PHONY: maybe-install-info-automake install-info-automake
3263 maybe-install-info-automake:
3265 maybe-install-info-automake: install-info-automake
3267 install-info-automake: \
3268 configure-automake \
3270 @[ -f ./automake/Makefile ] || exit 0; \
3271 r=`${PWD_COMMAND}`; export r; \
3272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3275 for flag in $(EXTRA_HOST_FLAGS); do \
3276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3278 echo "Doing install-info in automake" ; \
3280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3282 "RANLIB=$${RANLIB}" \
3283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3289 .PHONY: maybe-installcheck-automake installcheck-automake
3290 maybe-installcheck-automake:
3292 maybe-installcheck-automake: installcheck-automake
3294 installcheck-automake: \
3296 @[ -f ./automake/Makefile ] || exit 0; \
3297 r=`${PWD_COMMAND}`; export r; \
3298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 for flag in $(EXTRA_HOST_FLAGS); do \
3302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3304 echo "Doing installcheck in automake" ; \
3306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3308 "RANLIB=$${RANLIB}" \
3309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3315 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3316 maybe-mostlyclean-automake:
3318 maybe-mostlyclean-automake: mostlyclean-automake
3320 mostlyclean-automake:
3321 @[ -f ./automake/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 for flag in $(EXTRA_HOST_FLAGS); do \
3327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3329 echo "Doing mostlyclean in automake" ; \
3331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3333 "RANLIB=$${RANLIB}" \
3334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3340 .PHONY: maybe-clean-automake clean-automake
3341 maybe-clean-automake:
3343 maybe-clean-automake: clean-automake
3346 @[ -f ./automake/Makefile ] || exit 0; \
3347 r=`${PWD_COMMAND}`; export r; \
3348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 for flag in $(EXTRA_HOST_FLAGS); do \
3352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354 echo "Doing clean in automake" ; \
3356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358 "RANLIB=$${RANLIB}" \
3359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3365 .PHONY: maybe-distclean-automake distclean-automake
3366 maybe-distclean-automake:
3368 maybe-distclean-automake: distclean-automake
3371 @[ -f ./automake/Makefile ] || exit 0; \
3372 r=`${PWD_COMMAND}`; export r; \
3373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3376 for flag in $(EXTRA_HOST_FLAGS); do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3379 echo "Doing distclean in automake" ; \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3391 maybe-maintainer-clean-automake:
3393 maybe-maintainer-clean-automake: maintainer-clean-automake
3395 maintainer-clean-automake:
3396 @[ -f ./automake/Makefile ] || exit 0; \
3397 r=`${PWD_COMMAND}`; export r; \
3398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3401 for flag in $(EXTRA_HOST_FLAGS); do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3404 echo "Doing maintainer-clean in automake" ; \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3416 .PHONY: configure-bash maybe-configure-bash
3417 maybe-configure-bash:
3419 maybe-configure-bash: configure-bash
3421 @test ! -f bash/Makefile || exit 0; \
3422 [ -d bash ] || mkdir bash; \
3423 r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 echo Configuring in bash; \
3427 cd bash || exit 1; \
3430 srcdiroption="--srcdir=."; \
3432 /* | [A-Za-z]:[\\/]*) \
3433 srcdiroption="--srcdir=$(srcdir)/bash"; \
3434 libsrcdir="$$s/bash";; \
3436 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3437 libsrcdir="$$s/bash";; \
3439 $(SHELL) $${libsrcdir}/configure \
3440 $(HOST_CONFIGARGS) $${srcdiroption} \
3444 .PHONY: all-bash maybe-all-bash
3447 maybe-all-bash: all-bash
3448 all-bash: configure-bash
3449 @r=`${PWD_COMMAND}`; export r; \
3450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3456 .PHONY: check-bash maybe-check-bash
3459 maybe-check-bash: check-bash
3462 @r=`${PWD_COMMAND}`; export r; \
3463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3470 .PHONY: install-bash maybe-install-bash
3473 maybe-install-bash: install-bash
3475 install-bash: installdirs
3476 @r=`${PWD_COMMAND}`; export r; \
3477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3480 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3484 # Other targets (info, dvi, etc.)
3486 .PHONY: maybe-info-bash info-bash
3489 maybe-info-bash: info-bash
3493 @[ -f ./bash/Makefile ] || exit 0; \
3494 r=`${PWD_COMMAND}`; export r; \
3495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3498 for flag in $(EXTRA_HOST_FLAGS); do \
3499 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3501 echo "Doing info in bash" ; \
3503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3505 "RANLIB=$${RANLIB}" \
3506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3512 .PHONY: maybe-dvi-bash dvi-bash
3515 maybe-dvi-bash: dvi-bash
3519 @[ -f ./bash/Makefile ] || exit 0; \
3520 r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 for flag in $(EXTRA_HOST_FLAGS); do \
3525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3527 echo "Doing dvi in bash" ; \
3529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3531 "RANLIB=$${RANLIB}" \
3532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 .PHONY: maybe-TAGS-bash TAGS-bash
3541 maybe-TAGS-bash: TAGS-bash
3545 @[ -f ./bash/Makefile ] || exit 0; \
3546 r=`${PWD_COMMAND}`; export r; \
3547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3550 for flag in $(EXTRA_HOST_FLAGS); do \
3551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3553 echo "Doing TAGS in bash" ; \
3555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3557 "RANLIB=$${RANLIB}" \
3558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 .PHONY: maybe-install-info-bash install-info-bash
3565 maybe-install-info-bash:
3567 maybe-install-info-bash: install-info-bash
3569 install-info-bash: \
3572 @[ -f ./bash/Makefile ] || exit 0; \
3573 r=`${PWD_COMMAND}`; export r; \
3574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3577 for flag in $(EXTRA_HOST_FLAGS); do \
3578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3580 echo "Doing install-info in bash" ; \
3582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3584 "RANLIB=$${RANLIB}" \
3585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3591 .PHONY: maybe-installcheck-bash installcheck-bash
3592 maybe-installcheck-bash:
3594 maybe-installcheck-bash: installcheck-bash
3596 installcheck-bash: \
3598 @[ -f ./bash/Makefile ] || exit 0; \
3599 r=`${PWD_COMMAND}`; export r; \
3600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 for flag in $(EXTRA_HOST_FLAGS); do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3606 echo "Doing installcheck in bash" ; \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3617 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3618 maybe-mostlyclean-bash:
3620 maybe-mostlyclean-bash: mostlyclean-bash
3623 @[ -f ./bash/Makefile ] || exit 0; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 for flag in $(EXTRA_HOST_FLAGS); do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3631 echo "Doing mostlyclean in bash" ; \
3633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635 "RANLIB=$${RANLIB}" \
3636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3642 .PHONY: maybe-clean-bash clean-bash
3645 maybe-clean-bash: clean-bash
3648 @[ -f ./bash/Makefile ] || exit 0; \
3649 r=`${PWD_COMMAND}`; export r; \
3650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 for flag in $(EXTRA_HOST_FLAGS); do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3656 echo "Doing clean in bash" ; \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3667 .PHONY: maybe-distclean-bash distclean-bash
3668 maybe-distclean-bash:
3670 maybe-distclean-bash: distclean-bash
3673 @[ -f ./bash/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3678 for flag in $(EXTRA_HOST_FLAGS); do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3681 echo "Doing distclean in bash" ; \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3692 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3693 maybe-maintainer-clean-bash:
3695 maybe-maintainer-clean-bash: maintainer-clean-bash
3697 maintainer-clean-bash:
3698 @[ -f ./bash/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 for flag in $(EXTRA_HOST_FLAGS); do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 echo "Doing maintainer-clean in bash" ; \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3718 .PHONY: configure-bfd maybe-configure-bfd
3719 maybe-configure-bfd:
3721 maybe-configure-bfd: configure-bfd
3723 @test ! -f bfd/Makefile || exit 0; \
3724 [ -d bfd ] || mkdir bfd; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 echo Configuring in bfd; \
3732 srcdiroption="--srcdir=."; \
3734 /* | [A-Za-z]:[\\/]*) \
3735 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3736 libsrcdir="$$s/bfd";; \
3738 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3739 libsrcdir="$$s/bfd";; \
3741 $(SHELL) $${libsrcdir}/configure \
3742 $(HOST_CONFIGARGS) $${srcdiroption} \
3746 .PHONY: all-bfd maybe-all-bfd
3749 maybe-all-bfd: all-bfd
3750 all-bfd: configure-bfd
3751 @r=`${PWD_COMMAND}`; export r; \
3752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3755 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3758 .PHONY: check-bfd maybe-check-bfd
3761 maybe-check-bfd: check-bfd
3764 @r=`${PWD_COMMAND}`; export r; \
3765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3768 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3772 .PHONY: install-bfd maybe-install-bfd
3775 maybe-install-bfd: install-bfd
3777 install-bfd: installdirs
3778 @r=`${PWD_COMMAND}`; export r; \
3779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3782 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3786 # Other targets (info, dvi, etc.)
3788 .PHONY: maybe-info-bfd info-bfd
3791 maybe-info-bfd: info-bfd
3795 @[ -f ./bfd/Makefile ] || exit 0; \
3796 r=`${PWD_COMMAND}`; export r; \
3797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 for flag in $(EXTRA_HOST_FLAGS); do \
3801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 echo "Doing info in bfd" ; \
3805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3807 "RANLIB=$${RANLIB}" \
3808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3814 .PHONY: maybe-dvi-bfd dvi-bfd
3817 maybe-dvi-bfd: dvi-bfd
3821 @[ -f ./bfd/Makefile ] || exit 0; \
3822 r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3826 for flag in $(EXTRA_HOST_FLAGS); do \
3827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3829 echo "Doing dvi in bfd" ; \
3831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3833 "RANLIB=$${RANLIB}" \
3834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3840 .PHONY: maybe-TAGS-bfd TAGS-bfd
3843 maybe-TAGS-bfd: TAGS-bfd
3847 @[ -f ./bfd/Makefile ] || exit 0; \
3848 r=`${PWD_COMMAND}`; export r; \
3849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3852 for flag in $(EXTRA_HOST_FLAGS); do \
3853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3855 echo "Doing TAGS in bfd" ; \
3857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3859 "RANLIB=$${RANLIB}" \
3860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3866 .PHONY: maybe-install-info-bfd install-info-bfd
3867 maybe-install-info-bfd:
3869 maybe-install-info-bfd: install-info-bfd
3874 @[ -f ./bfd/Makefile ] || exit 0; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3879 for flag in $(EXTRA_HOST_FLAGS); do \
3880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3882 echo "Doing install-info in bfd" ; \
3884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3886 "RANLIB=$${RANLIB}" \
3887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3893 .PHONY: maybe-installcheck-bfd installcheck-bfd
3894 maybe-installcheck-bfd:
3896 maybe-installcheck-bfd: installcheck-bfd
3900 @[ -f ./bfd/Makefile ] || exit 0; \
3901 r=`${PWD_COMMAND}`; export r; \
3902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3905 for flag in $(EXTRA_HOST_FLAGS); do \
3906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3908 echo "Doing installcheck in bfd" ; \
3910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3912 "RANLIB=$${RANLIB}" \
3913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3919 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3920 maybe-mostlyclean-bfd:
3922 maybe-mostlyclean-bfd: mostlyclean-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 mostlyclean 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-clean-bfd clean-bfd
3947 maybe-clean-bfd: clean-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 clean 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-distclean-bfd distclean-bfd
3970 maybe-distclean-bfd:
3972 maybe-distclean-bfd: distclean-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 distclean 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-maintainer-clean-bfd maintainer-clean-bfd
3995 maybe-maintainer-clean-bfd:
3997 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3999 maintainer-clean-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 maintainer-clean 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}" \
4020 .PHONY: configure-opcodes maybe-configure-opcodes
4021 maybe-configure-opcodes:
4023 maybe-configure-opcodes: configure-opcodes
4025 @test ! -f opcodes/Makefile || exit 0; \
4026 [ -d opcodes ] || mkdir opcodes; \
4027 r=`${PWD_COMMAND}`; export r; \
4028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4030 echo Configuring in opcodes; \
4031 cd opcodes || exit 1; \
4034 srcdiroption="--srcdir=."; \
4036 /* | [A-Za-z]:[\\/]*) \
4037 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
4038 libsrcdir="$$s/opcodes";; \
4040 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
4041 libsrcdir="$$s/opcodes";; \
4043 $(SHELL) $${libsrcdir}/configure \
4044 $(HOST_CONFIGARGS) $${srcdiroption} \
4048 .PHONY: all-opcodes maybe-all-opcodes
4051 maybe-all-opcodes: all-opcodes
4052 all-opcodes: configure-opcodes
4053 @r=`${PWD_COMMAND}`; export r; \
4054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4057 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4060 .PHONY: check-opcodes maybe-check-opcodes
4061 maybe-check-opcodes:
4063 maybe-check-opcodes: check-opcodes
4066 @r=`${PWD_COMMAND}`; export r; \
4067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4070 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4074 .PHONY: install-opcodes maybe-install-opcodes
4075 maybe-install-opcodes:
4077 maybe-install-opcodes: install-opcodes
4079 install-opcodes: installdirs
4080 @r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4084 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4088 # Other targets (info, dvi, etc.)
4090 .PHONY: maybe-info-opcodes info-opcodes
4093 maybe-info-opcodes: info-opcodes
4097 @[ -f ./opcodes/Makefile ] || exit 0; \
4098 r=`${PWD_COMMAND}`; export r; \
4099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4102 for flag in $(EXTRA_HOST_FLAGS); do \
4103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4105 echo "Doing info in opcodes" ; \
4107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4109 "RANLIB=$${RANLIB}" \
4110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4116 .PHONY: maybe-dvi-opcodes dvi-opcodes
4119 maybe-dvi-opcodes: dvi-opcodes
4123 @[ -f ./opcodes/Makefile ] || exit 0; \
4124 r=`${PWD_COMMAND}`; export r; \
4125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4128 for flag in $(EXTRA_HOST_FLAGS); do \
4129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4131 echo "Doing dvi in opcodes" ; \
4133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4135 "RANLIB=$${RANLIB}" \
4136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4142 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4145 maybe-TAGS-opcodes: TAGS-opcodes
4149 @[ -f ./opcodes/Makefile ] || exit 0; \
4150 r=`${PWD_COMMAND}`; export r; \
4151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4154 for flag in $(EXTRA_HOST_FLAGS); do \
4155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4157 echo "Doing TAGS in opcodes" ; \
4159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4161 "RANLIB=$${RANLIB}" \
4162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4168 .PHONY: maybe-install-info-opcodes install-info-opcodes
4169 maybe-install-info-opcodes:
4171 maybe-install-info-opcodes: install-info-opcodes
4173 install-info-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 install-info 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-installcheck-opcodes installcheck-opcodes
4196 maybe-installcheck-opcodes:
4198 maybe-installcheck-opcodes: installcheck-opcodes
4200 installcheck-opcodes: \
4202 @[ -f ./opcodes/Makefile ] || exit 0; \
4203 r=`${PWD_COMMAND}`; export r; \
4204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4207 for flag in $(EXTRA_HOST_FLAGS); do \
4208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4210 echo "Doing installcheck in opcodes" ; \
4212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4214 "RANLIB=$${RANLIB}" \
4215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4221 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4222 maybe-mostlyclean-opcodes:
4224 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4226 mostlyclean-opcodes:
4227 @[ -f ./opcodes/Makefile ] || exit 0; \
4228 r=`${PWD_COMMAND}`; export r; \
4229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4232 for flag in $(EXTRA_HOST_FLAGS); do \
4233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4235 echo "Doing mostlyclean in opcodes" ; \
4237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4239 "RANLIB=$${RANLIB}" \
4240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4246 .PHONY: maybe-clean-opcodes clean-opcodes
4247 maybe-clean-opcodes:
4249 maybe-clean-opcodes: clean-opcodes
4252 @[ -f ./opcodes/Makefile ] || exit 0; \
4253 r=`${PWD_COMMAND}`; export r; \
4254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4257 for flag in $(EXTRA_HOST_FLAGS); do \
4258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4260 echo "Doing clean in opcodes" ; \
4262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4264 "RANLIB=$${RANLIB}" \
4265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4271 .PHONY: maybe-distclean-opcodes distclean-opcodes
4272 maybe-distclean-opcodes:
4274 maybe-distclean-opcodes: distclean-opcodes
4277 @[ -f ./opcodes/Makefile ] || exit 0; \
4278 r=`${PWD_COMMAND}`; export r; \
4279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4282 for flag in $(EXTRA_HOST_FLAGS); do \
4283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4285 echo "Doing distclean in opcodes" ; \
4287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4289 "RANLIB=$${RANLIB}" \
4290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4296 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4297 maybe-maintainer-clean-opcodes:
4299 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4301 maintainer-clean-opcodes:
4302 @[ -f ./opcodes/Makefile ] || exit 0; \
4303 r=`${PWD_COMMAND}`; export r; \
4304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4307 for flag in $(EXTRA_HOST_FLAGS); do \
4308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4310 echo "Doing maintainer-clean in opcodes" ; \
4312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4314 "RANLIB=$${RANLIB}" \
4315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4322 .PHONY: configure-binutils maybe-configure-binutils
4323 maybe-configure-binutils:
4325 maybe-configure-binutils: configure-binutils
4327 @test ! -f binutils/Makefile || exit 0; \
4328 [ -d binutils ] || mkdir binutils; \
4329 r=`${PWD_COMMAND}`; export r; \
4330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4332 echo Configuring in binutils; \
4333 cd binutils || exit 1; \
4336 srcdiroption="--srcdir=."; \
4338 /* | [A-Za-z]:[\\/]*) \
4339 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4340 libsrcdir="$$s/binutils";; \
4342 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4343 libsrcdir="$$s/binutils";; \
4345 $(SHELL) $${libsrcdir}/configure \
4346 $(HOST_CONFIGARGS) $${srcdiroption} \
4350 .PHONY: all-binutils maybe-all-binutils
4353 maybe-all-binutils: all-binutils
4354 all-binutils: configure-binutils
4355 @r=`${PWD_COMMAND}`; export r; \
4356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4359 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4362 .PHONY: check-binutils maybe-check-binutils
4363 maybe-check-binutils:
4365 maybe-check-binutils: check-binutils
4368 @r=`${PWD_COMMAND}`; export r; \
4369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4372 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4376 .PHONY: install-binutils maybe-install-binutils
4377 maybe-install-binutils:
4379 maybe-install-binutils: install-binutils
4381 install-binutils: installdirs
4382 @r=`${PWD_COMMAND}`; export r; \
4383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4390 # Other targets (info, dvi, etc.)
4392 .PHONY: maybe-info-binutils info-binutils
4393 maybe-info-binutils:
4395 maybe-info-binutils: info-binutils
4399 @[ -f ./binutils/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4404 for flag in $(EXTRA_HOST_FLAGS); do \
4405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4407 echo "Doing info in binutils" ; \
4409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4411 "RANLIB=$${RANLIB}" \
4412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4418 .PHONY: maybe-dvi-binutils dvi-binutils
4421 maybe-dvi-binutils: dvi-binutils
4425 @[ -f ./binutils/Makefile ] || exit 0; \
4426 r=`${PWD_COMMAND}`; export r; \
4427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4430 for flag in $(EXTRA_HOST_FLAGS); do \
4431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4433 echo "Doing dvi in binutils" ; \
4435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4437 "RANLIB=$${RANLIB}" \
4438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4444 .PHONY: maybe-TAGS-binutils TAGS-binutils
4445 maybe-TAGS-binutils:
4447 maybe-TAGS-binutils: TAGS-binutils
4451 @[ -f ./binutils/Makefile ] || exit 0; \
4452 r=`${PWD_COMMAND}`; export r; \
4453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4456 for flag in $(EXTRA_HOST_FLAGS); do \
4457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4459 echo "Doing TAGS in binutils" ; \
4461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4463 "RANLIB=$${RANLIB}" \
4464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4470 .PHONY: maybe-install-info-binutils install-info-binutils
4471 maybe-install-info-binutils:
4473 maybe-install-info-binutils: install-info-binutils
4475 install-info-binutils: \
4476 configure-binutils \
4478 @[ -f ./binutils/Makefile ] || exit 0; \
4479 r=`${PWD_COMMAND}`; export r; \
4480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4483 for flag in $(EXTRA_HOST_FLAGS); do \
4484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4486 echo "Doing install-info in binutils" ; \
4488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4490 "RANLIB=$${RANLIB}" \
4491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4497 .PHONY: maybe-installcheck-binutils installcheck-binutils
4498 maybe-installcheck-binutils:
4500 maybe-installcheck-binutils: installcheck-binutils
4502 installcheck-binutils: \
4504 @[ -f ./binutils/Makefile ] || exit 0; \
4505 r=`${PWD_COMMAND}`; export r; \
4506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4509 for flag in $(EXTRA_HOST_FLAGS); do \
4510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4512 echo "Doing installcheck in binutils" ; \
4514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4516 "RANLIB=$${RANLIB}" \
4517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4523 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4524 maybe-mostlyclean-binutils:
4526 maybe-mostlyclean-binutils: mostlyclean-binutils
4528 mostlyclean-binutils:
4529 @[ -f ./binutils/Makefile ] || exit 0; \
4530 r=`${PWD_COMMAND}`; export r; \
4531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4534 for flag in $(EXTRA_HOST_FLAGS); do \
4535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4537 echo "Doing mostlyclean in binutils" ; \
4539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4541 "RANLIB=$${RANLIB}" \
4542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4548 .PHONY: maybe-clean-binutils clean-binutils
4549 maybe-clean-binutils:
4551 maybe-clean-binutils: clean-binutils
4554 @[ -f ./binutils/Makefile ] || exit 0; \
4555 r=`${PWD_COMMAND}`; export r; \
4556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4559 for flag in $(EXTRA_HOST_FLAGS); do \
4560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4562 echo "Doing clean in binutils" ; \
4564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4566 "RANLIB=$${RANLIB}" \
4567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4573 .PHONY: maybe-distclean-binutils distclean-binutils
4574 maybe-distclean-binutils:
4576 maybe-distclean-binutils: distclean-binutils
4579 @[ -f ./binutils/Makefile ] || exit 0; \
4580 r=`${PWD_COMMAND}`; export r; \
4581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4584 for flag in $(EXTRA_HOST_FLAGS); do \
4585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4587 echo "Doing distclean in binutils" ; \
4589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4591 "RANLIB=$${RANLIB}" \
4592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4598 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4599 maybe-maintainer-clean-binutils:
4601 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4603 maintainer-clean-binutils:
4604 @[ -f ./binutils/Makefile ] || exit 0; \
4605 r=`${PWD_COMMAND}`; export r; \
4606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4609 for flag in $(EXTRA_HOST_FLAGS); do \
4610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4612 echo "Doing maintainer-clean in binutils" ; \
4614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4616 "RANLIB=$${RANLIB}" \
4617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4624 .PHONY: configure-bison maybe-configure-bison
4625 maybe-configure-bison:
4627 maybe-configure-bison: configure-bison
4629 @test ! -f bison/Makefile || exit 0; \
4630 [ -d bison ] || mkdir bison; \
4631 r=`${PWD_COMMAND}`; export r; \
4632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4634 echo Configuring in bison; \
4635 cd bison || exit 1; \
4638 srcdiroption="--srcdir=."; \
4640 /* | [A-Za-z]:[\\/]*) \
4641 srcdiroption="--srcdir=$(srcdir)/bison"; \
4642 libsrcdir="$$s/bison";; \
4644 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4645 libsrcdir="$$s/bison";; \
4647 $(SHELL) $${libsrcdir}/configure \
4648 $(HOST_CONFIGARGS) $${srcdiroption} \
4652 .PHONY: all-bison maybe-all-bison
4655 maybe-all-bison: all-bison
4656 all-bison: configure-bison
4657 @r=`${PWD_COMMAND}`; export r; \
4658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4661 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4664 .PHONY: check-bison maybe-check-bison
4667 maybe-check-bison: check-bison
4669 # This module is only tested in a native toolchain.
4671 @if [ '$(host)' = '$(target)' ] ; then \
4672 r=`${PWD_COMMAND}`; export r; \
4673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4676 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4681 .PHONY: install-bison maybe-install-bison
4682 maybe-install-bison:
4684 maybe-install-bison: install-bison
4686 install-bison: installdirs
4687 @r=`${PWD_COMMAND}`; export r; \
4688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4695 # Other targets (info, dvi, etc.)
4697 .PHONY: maybe-info-bison info-bison
4700 maybe-info-bison: info-bison
4704 @[ -f ./bison/Makefile ] || exit 0; \
4705 r=`${PWD_COMMAND}`; export r; \
4706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4709 for flag in $(EXTRA_HOST_FLAGS); do \
4710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4712 echo "Doing info in bison" ; \
4714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4716 "RANLIB=$${RANLIB}" \
4717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4723 .PHONY: maybe-dvi-bison dvi-bison
4726 maybe-dvi-bison: dvi-bison
4730 @[ -f ./bison/Makefile ] || exit 0; \
4731 r=`${PWD_COMMAND}`; export r; \
4732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4735 for flag in $(EXTRA_HOST_FLAGS); do \
4736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4738 echo "Doing dvi in bison" ; \
4740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4742 "RANLIB=$${RANLIB}" \
4743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4749 .PHONY: maybe-TAGS-bison TAGS-bison
4752 maybe-TAGS-bison: TAGS-bison
4756 @[ -f ./bison/Makefile ] || exit 0; \
4757 r=`${PWD_COMMAND}`; export r; \
4758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4761 for flag in $(EXTRA_HOST_FLAGS); do \
4762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4764 echo "Doing TAGS in bison" ; \
4766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4768 "RANLIB=$${RANLIB}" \
4769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4775 .PHONY: maybe-install-info-bison install-info-bison
4776 maybe-install-info-bison:
4778 maybe-install-info-bison: install-info-bison
4780 install-info-bison: \
4783 @[ -f ./bison/Makefile ] || exit 0; \
4784 r=`${PWD_COMMAND}`; export r; \
4785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4788 for flag in $(EXTRA_HOST_FLAGS); do \
4789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4791 echo "Doing install-info in bison" ; \
4793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4795 "RANLIB=$${RANLIB}" \
4796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4802 .PHONY: maybe-installcheck-bison installcheck-bison
4803 maybe-installcheck-bison:
4805 maybe-installcheck-bison: installcheck-bison
4807 installcheck-bison: \
4809 @[ -f ./bison/Makefile ] || exit 0; \
4810 r=`${PWD_COMMAND}`; export r; \
4811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4814 for flag in $(EXTRA_HOST_FLAGS); do \
4815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4817 echo "Doing installcheck in bison" ; \
4819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4821 "RANLIB=$${RANLIB}" \
4822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4828 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4829 maybe-mostlyclean-bison:
4831 maybe-mostlyclean-bison: mostlyclean-bison
4834 @[ -f ./bison/Makefile ] || exit 0; \
4835 r=`${PWD_COMMAND}`; export r; \
4836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4839 for flag in $(EXTRA_HOST_FLAGS); do \
4840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4842 echo "Doing mostlyclean in bison" ; \
4844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4846 "RANLIB=$${RANLIB}" \
4847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4853 .PHONY: maybe-clean-bison clean-bison
4856 maybe-clean-bison: clean-bison
4859 @[ -f ./bison/Makefile ] || exit 0; \
4860 r=`${PWD_COMMAND}`; export r; \
4861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4864 for flag in $(EXTRA_HOST_FLAGS); do \
4865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4867 echo "Doing clean in bison" ; \
4869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4871 "RANLIB=$${RANLIB}" \
4872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4878 .PHONY: maybe-distclean-bison distclean-bison
4879 maybe-distclean-bison:
4881 maybe-distclean-bison: distclean-bison
4884 @[ -f ./bison/Makefile ] || exit 0; \
4885 r=`${PWD_COMMAND}`; export r; \
4886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4889 for flag in $(EXTRA_HOST_FLAGS); do \
4890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4892 echo "Doing distclean in bison" ; \
4894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4896 "RANLIB=$${RANLIB}" \
4897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4903 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4904 maybe-maintainer-clean-bison:
4906 maybe-maintainer-clean-bison: maintainer-clean-bison
4908 maintainer-clean-bison:
4909 @[ -f ./bison/Makefile ] || exit 0; \
4910 r=`${PWD_COMMAND}`; export r; \
4911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4914 for flag in $(EXTRA_HOST_FLAGS); do \
4915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4917 echo "Doing maintainer-clean in bison" ; \
4919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4921 "RANLIB=$${RANLIB}" \
4922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4929 .PHONY: configure-byacc maybe-configure-byacc
4930 maybe-configure-byacc:
4932 maybe-configure-byacc: configure-byacc
4934 @test ! -f byacc/Makefile || exit 0; \
4935 [ -d byacc ] || mkdir byacc; \
4936 r=`${PWD_COMMAND}`; export r; \
4937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4939 echo Configuring in byacc; \
4940 cd byacc || exit 1; \
4943 srcdiroption="--srcdir=."; \
4945 /* | [A-Za-z]:[\\/]*) \
4946 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4947 libsrcdir="$$s/byacc";; \
4949 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4950 libsrcdir="$$s/byacc";; \
4952 $(SHELL) $${libsrcdir}/configure \
4953 $(HOST_CONFIGARGS) $${srcdiroption} \
4957 .PHONY: all-byacc maybe-all-byacc
4960 maybe-all-byacc: all-byacc
4961 all-byacc: configure-byacc
4962 @r=`${PWD_COMMAND}`; export r; \
4963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4966 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4969 .PHONY: check-byacc maybe-check-byacc
4972 maybe-check-byacc: check-byacc
4974 # This module is only tested in a native toolchain.
4976 @if [ '$(host)' = '$(target)' ] ; then \
4977 r=`${PWD_COMMAND}`; export r; \
4978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4981 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4986 .PHONY: install-byacc maybe-install-byacc
4987 maybe-install-byacc:
4989 maybe-install-byacc: install-byacc
4991 install-byacc: installdirs
4992 @r=`${PWD_COMMAND}`; export r; \
4993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4996 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
5000 # Other targets (info, dvi, etc.)
5002 .PHONY: maybe-info-byacc info-byacc
5005 maybe-info-byacc: info-byacc
5009 @[ -f ./byacc/Makefile ] || exit 0; \
5010 r=`${PWD_COMMAND}`; export r; \
5011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5014 for flag in $(EXTRA_HOST_FLAGS); do \
5015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5017 echo "Doing info in byacc" ; \
5019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5021 "RANLIB=$${RANLIB}" \
5022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5028 .PHONY: maybe-dvi-byacc dvi-byacc
5031 maybe-dvi-byacc: dvi-byacc
5035 @[ -f ./byacc/Makefile ] || exit 0; \
5036 r=`${PWD_COMMAND}`; export r; \
5037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5040 for flag in $(EXTRA_HOST_FLAGS); do \
5041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5043 echo "Doing dvi in byacc" ; \
5045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5047 "RANLIB=$${RANLIB}" \
5048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5054 .PHONY: maybe-TAGS-byacc TAGS-byacc
5057 maybe-TAGS-byacc: TAGS-byacc
5061 @[ -f ./byacc/Makefile ] || exit 0; \
5062 r=`${PWD_COMMAND}`; export r; \
5063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5066 for flag in $(EXTRA_HOST_FLAGS); do \
5067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5069 echo "Doing TAGS in byacc" ; \
5071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5073 "RANLIB=$${RANLIB}" \
5074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5080 .PHONY: maybe-install-info-byacc install-info-byacc
5081 maybe-install-info-byacc:
5083 maybe-install-info-byacc: install-info-byacc
5085 install-info-byacc: \
5088 @[ -f ./byacc/Makefile ] || exit 0; \
5089 r=`${PWD_COMMAND}`; export r; \
5090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093 for flag in $(EXTRA_HOST_FLAGS); do \
5094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5096 echo "Doing install-info in byacc" ; \
5098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5100 "RANLIB=$${RANLIB}" \
5101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5107 .PHONY: maybe-installcheck-byacc installcheck-byacc
5108 maybe-installcheck-byacc:
5110 maybe-installcheck-byacc: installcheck-byacc
5112 installcheck-byacc: \
5114 @[ -f ./byacc/Makefile ] || exit 0; \
5115 r=`${PWD_COMMAND}`; export r; \
5116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5119 for flag in $(EXTRA_HOST_FLAGS); do \
5120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5122 echo "Doing installcheck in byacc" ; \
5124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5126 "RANLIB=$${RANLIB}" \
5127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5133 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5134 maybe-mostlyclean-byacc:
5136 maybe-mostlyclean-byacc: mostlyclean-byacc
5139 @[ -f ./byacc/Makefile ] || exit 0; \
5140 r=`${PWD_COMMAND}`; export r; \
5141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5144 for flag in $(EXTRA_HOST_FLAGS); do \
5145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5147 echo "Doing mostlyclean in byacc" ; \
5149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5151 "RANLIB=$${RANLIB}" \
5152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5158 .PHONY: maybe-clean-byacc clean-byacc
5161 maybe-clean-byacc: clean-byacc
5164 @[ -f ./byacc/Makefile ] || exit 0; \
5165 r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5169 for flag in $(EXTRA_HOST_FLAGS); do \
5170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5172 echo "Doing clean in byacc" ; \
5174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5176 "RANLIB=$${RANLIB}" \
5177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5183 .PHONY: maybe-distclean-byacc distclean-byacc
5184 maybe-distclean-byacc:
5186 maybe-distclean-byacc: distclean-byacc
5189 @[ -f ./byacc/Makefile ] || exit 0; \
5190 r=`${PWD_COMMAND}`; export r; \
5191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5194 for flag in $(EXTRA_HOST_FLAGS); do \
5195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5197 echo "Doing distclean in byacc" ; \
5199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5201 "RANLIB=$${RANLIB}" \
5202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5208 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5209 maybe-maintainer-clean-byacc:
5211 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5213 maintainer-clean-byacc:
5214 @[ -f ./byacc/Makefile ] || exit 0; \
5215 r=`${PWD_COMMAND}`; export r; \
5216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 for flag in $(EXTRA_HOST_FLAGS); do \
5220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 echo "Doing maintainer-clean in byacc" ; \
5224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5226 "RANLIB=$${RANLIB}" \
5227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5234 .PHONY: configure-bzip2 maybe-configure-bzip2
5235 maybe-configure-bzip2:
5237 maybe-configure-bzip2: configure-bzip2
5239 @test ! -f bzip2/Makefile || exit 0; \
5240 [ -d bzip2 ] || mkdir bzip2; \
5241 r=`${PWD_COMMAND}`; export r; \
5242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244 echo Configuring in bzip2; \
5245 cd bzip2 || exit 1; \
5248 srcdiroption="--srcdir=."; \
5250 /* | [A-Za-z]:[\\/]*) \
5251 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5252 libsrcdir="$$s/bzip2";; \
5254 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5255 libsrcdir="$$s/bzip2";; \
5257 $(SHELL) $${libsrcdir}/configure \
5258 $(HOST_CONFIGARGS) $${srcdiroption} \
5262 .PHONY: all-bzip2 maybe-all-bzip2
5265 maybe-all-bzip2: all-bzip2
5266 all-bzip2: configure-bzip2
5267 @r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5271 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5274 .PHONY: check-bzip2 maybe-check-bzip2
5277 maybe-check-bzip2: check-bzip2
5280 @r=`${PWD_COMMAND}`; export r; \
5281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5284 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5288 .PHONY: install-bzip2 maybe-install-bzip2
5289 maybe-install-bzip2:
5291 maybe-install-bzip2: install-bzip2
5293 install-bzip2: installdirs
5294 @r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5298 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5302 # Other targets (info, dvi, etc.)
5304 .PHONY: maybe-info-bzip2 info-bzip2
5307 maybe-info-bzip2: info-bzip2
5311 @[ -f ./bzip2/Makefile ] || exit 0; \
5312 r=`${PWD_COMMAND}`; export r; \
5313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5316 for flag in $(EXTRA_HOST_FLAGS); do \
5317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5319 echo "Doing info in bzip2" ; \
5321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5323 "RANLIB=$${RANLIB}" \
5324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5330 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5333 maybe-dvi-bzip2: dvi-bzip2
5337 @[ -f ./bzip2/Makefile ] || exit 0; \
5338 r=`${PWD_COMMAND}`; export r; \
5339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 for flag in $(EXTRA_HOST_FLAGS); do \
5343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5345 echo "Doing dvi in bzip2" ; \
5347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5349 "RANLIB=$${RANLIB}" \
5350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5356 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5359 maybe-TAGS-bzip2: TAGS-bzip2
5363 @[ -f ./bzip2/Makefile ] || exit 0; \
5364 r=`${PWD_COMMAND}`; export r; \
5365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5368 for flag in $(EXTRA_HOST_FLAGS); do \
5369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5371 echo "Doing TAGS in bzip2" ; \
5373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5375 "RANLIB=$${RANLIB}" \
5376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5382 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5383 maybe-install-info-bzip2:
5385 maybe-install-info-bzip2: install-info-bzip2
5387 install-info-bzip2: \
5390 @[ -f ./bzip2/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5395 for flag in $(EXTRA_HOST_FLAGS); do \
5396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5398 echo "Doing install-info in bzip2" ; \
5400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5402 "RANLIB=$${RANLIB}" \
5403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5409 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5410 maybe-installcheck-bzip2:
5412 maybe-installcheck-bzip2: installcheck-bzip2
5414 installcheck-bzip2: \
5416 @[ -f ./bzip2/Makefile ] || exit 0; \
5417 r=`${PWD_COMMAND}`; export r; \
5418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5421 for flag in $(EXTRA_HOST_FLAGS); do \
5422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5424 echo "Doing installcheck in bzip2" ; \
5426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5428 "RANLIB=$${RANLIB}" \
5429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5435 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5436 maybe-mostlyclean-bzip2:
5438 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5441 @[ -f ./bzip2/Makefile ] || exit 0; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5446 for flag in $(EXTRA_HOST_FLAGS); do \
5447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5449 echo "Doing mostlyclean in bzip2" ; \
5451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5453 "RANLIB=$${RANLIB}" \
5454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5460 .PHONY: maybe-clean-bzip2 clean-bzip2
5463 maybe-clean-bzip2: clean-bzip2
5466 @[ -f ./bzip2/Makefile ] || exit 0; \
5467 r=`${PWD_COMMAND}`; export r; \
5468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5471 for flag in $(EXTRA_HOST_FLAGS); do \
5472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5474 echo "Doing clean in bzip2" ; \
5476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5478 "RANLIB=$${RANLIB}" \
5479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5485 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5486 maybe-distclean-bzip2:
5488 maybe-distclean-bzip2: distclean-bzip2
5491 @[ -f ./bzip2/Makefile ] || exit 0; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5496 for flag in $(EXTRA_HOST_FLAGS); do \
5497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5499 echo "Doing distclean in bzip2" ; \
5501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5503 "RANLIB=$${RANLIB}" \
5504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5510 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5511 maybe-maintainer-clean-bzip2:
5513 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5515 maintainer-clean-bzip2:
5516 @[ -f ./bzip2/Makefile ] || exit 0; \
5517 r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5521 for flag in $(EXTRA_HOST_FLAGS); do \
5522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5524 echo "Doing maintainer-clean in bzip2" ; \
5526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5528 "RANLIB=$${RANLIB}" \
5529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5536 .PHONY: configure-dejagnu maybe-configure-dejagnu
5537 maybe-configure-dejagnu:
5539 maybe-configure-dejagnu: configure-dejagnu
5541 @test ! -f dejagnu/Makefile || exit 0; \
5542 [ -d dejagnu ] || mkdir dejagnu; \
5543 r=`${PWD_COMMAND}`; export r; \
5544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5546 echo Configuring in dejagnu; \
5547 cd dejagnu || exit 1; \
5550 srcdiroption="--srcdir=."; \
5552 /* | [A-Za-z]:[\\/]*) \
5553 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5554 libsrcdir="$$s/dejagnu";; \
5556 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5557 libsrcdir="$$s/dejagnu";; \
5559 $(SHELL) $${libsrcdir}/configure \
5560 $(HOST_CONFIGARGS) $${srcdiroption} \
5564 .PHONY: all-dejagnu maybe-all-dejagnu
5567 maybe-all-dejagnu: all-dejagnu
5568 all-dejagnu: configure-dejagnu
5569 @r=`${PWD_COMMAND}`; export r; \
5570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5573 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5576 .PHONY: check-dejagnu maybe-check-dejagnu
5577 maybe-check-dejagnu:
5579 maybe-check-dejagnu: check-dejagnu
5582 @r=`${PWD_COMMAND}`; export r; \
5583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5586 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5590 .PHONY: install-dejagnu maybe-install-dejagnu
5591 maybe-install-dejagnu:
5593 maybe-install-dejagnu: install-dejagnu
5595 install-dejagnu: installdirs
5596 @r=`${PWD_COMMAND}`; export r; \
5597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5604 # Other targets (info, dvi, etc.)
5606 .PHONY: maybe-info-dejagnu info-dejagnu
5609 maybe-info-dejagnu: info-dejagnu
5613 @[ -f ./dejagnu/Makefile ] || exit 0; \
5614 r=`${PWD_COMMAND}`; export r; \
5615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 for flag in $(EXTRA_HOST_FLAGS); do \
5619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5621 echo "Doing info in dejagnu" ; \
5623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5625 "RANLIB=$${RANLIB}" \
5626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5632 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5635 maybe-dvi-dejagnu: dvi-dejagnu
5639 @[ -f ./dejagnu/Makefile ] || exit 0; \
5640 r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5644 for flag in $(EXTRA_HOST_FLAGS); do \
5645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5647 echo "Doing dvi in dejagnu" ; \
5649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5651 "RANLIB=$${RANLIB}" \
5652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5658 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5661 maybe-TAGS-dejagnu: TAGS-dejagnu
5665 @[ -f ./dejagnu/Makefile ] || exit 0; \
5666 r=`${PWD_COMMAND}`; export r; \
5667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 for flag in $(EXTRA_HOST_FLAGS); do \
5671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5673 echo "Doing TAGS in dejagnu" ; \
5675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5677 "RANLIB=$${RANLIB}" \
5678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5684 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5685 maybe-install-info-dejagnu:
5687 maybe-install-info-dejagnu: install-info-dejagnu
5689 install-info-dejagnu: \
5692 @[ -f ./dejagnu/Makefile ] || exit 0; \
5693 r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5697 for flag in $(EXTRA_HOST_FLAGS); do \
5698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5700 echo "Doing install-info in dejagnu" ; \
5702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5704 "RANLIB=$${RANLIB}" \
5705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5711 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5712 maybe-installcheck-dejagnu:
5714 maybe-installcheck-dejagnu: installcheck-dejagnu
5716 installcheck-dejagnu: \
5718 @[ -f ./dejagnu/Makefile ] || exit 0; \
5719 r=`${PWD_COMMAND}`; export r; \
5720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 for flag in $(EXTRA_HOST_FLAGS); do \
5724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5726 echo "Doing installcheck in dejagnu" ; \
5728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5730 "RANLIB=$${RANLIB}" \
5731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5737 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5738 maybe-mostlyclean-dejagnu:
5740 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5742 mostlyclean-dejagnu:
5743 @[ -f ./dejagnu/Makefile ] || exit 0; \
5744 r=`${PWD_COMMAND}`; export r; \
5745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5748 for flag in $(EXTRA_HOST_FLAGS); do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5751 echo "Doing mostlyclean in dejagnu" ; \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5762 .PHONY: maybe-clean-dejagnu clean-dejagnu
5763 maybe-clean-dejagnu:
5765 maybe-clean-dejagnu: clean-dejagnu
5768 @[ -f ./dejagnu/Makefile ] || exit 0; \
5769 r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5773 for flag in $(EXTRA_HOST_FLAGS); do \
5774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5776 echo "Doing clean in dejagnu" ; \
5778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5780 "RANLIB=$${RANLIB}" \
5781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5787 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5788 maybe-distclean-dejagnu:
5790 maybe-distclean-dejagnu: distclean-dejagnu
5793 @[ -f ./dejagnu/Makefile ] || exit 0; \
5794 r=`${PWD_COMMAND}`; export r; \
5795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5798 for flag in $(EXTRA_HOST_FLAGS); do \
5799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5801 echo "Doing distclean in dejagnu" ; \
5803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5805 "RANLIB=$${RANLIB}" \
5806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5812 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5813 maybe-maintainer-clean-dejagnu:
5815 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5817 maintainer-clean-dejagnu:
5818 @[ -f ./dejagnu/Makefile ] || exit 0; \
5819 r=`${PWD_COMMAND}`; export r; \
5820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5823 for flag in $(EXTRA_HOST_FLAGS); do \
5824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5826 echo "Doing maintainer-clean in dejagnu" ; \
5828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5830 "RANLIB=$${RANLIB}" \
5831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5838 .PHONY: configure-diff maybe-configure-diff
5839 maybe-configure-diff:
5841 maybe-configure-diff: configure-diff
5843 @test ! -f diff/Makefile || exit 0; \
5844 [ -d diff ] || mkdir diff; \
5845 r=`${PWD_COMMAND}`; export r; \
5846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5848 echo Configuring in diff; \
5849 cd diff || exit 1; \
5852 srcdiroption="--srcdir=."; \
5854 /* | [A-Za-z]:[\\/]*) \
5855 srcdiroption="--srcdir=$(srcdir)/diff"; \
5856 libsrcdir="$$s/diff";; \
5858 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5859 libsrcdir="$$s/diff";; \
5861 $(SHELL) $${libsrcdir}/configure \
5862 $(HOST_CONFIGARGS) $${srcdiroption} \
5866 .PHONY: all-diff maybe-all-diff
5869 maybe-all-diff: all-diff
5870 all-diff: configure-diff
5871 @r=`${PWD_COMMAND}`; export r; \
5872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5875 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5878 .PHONY: check-diff maybe-check-diff
5881 maybe-check-diff: check-diff
5884 @r=`${PWD_COMMAND}`; export r; \
5885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5888 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5892 .PHONY: install-diff maybe-install-diff
5895 maybe-install-diff: install-diff
5897 install-diff: installdirs
5898 @r=`${PWD_COMMAND}`; export r; \
5899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5906 # Other targets (info, dvi, etc.)
5908 .PHONY: maybe-info-diff info-diff
5911 maybe-info-diff: info-diff
5915 @[ -f ./diff/Makefile ] || exit 0; \
5916 r=`${PWD_COMMAND}`; export r; \
5917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 for flag in $(EXTRA_HOST_FLAGS); do \
5921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5923 echo "Doing info in diff" ; \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5927 "RANLIB=$${RANLIB}" \
5928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5934 .PHONY: maybe-dvi-diff dvi-diff
5937 maybe-dvi-diff: dvi-diff
5941 @[ -f ./diff/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5946 for flag in $(EXTRA_HOST_FLAGS); do \
5947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5949 echo "Doing dvi in diff" ; \
5951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5953 "RANLIB=$${RANLIB}" \
5954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5960 .PHONY: maybe-TAGS-diff TAGS-diff
5963 maybe-TAGS-diff: TAGS-diff
5967 @[ -f ./diff/Makefile ] || exit 0; \
5968 r=`${PWD_COMMAND}`; export r; \
5969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5972 for flag in $(EXTRA_HOST_FLAGS); do \
5973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5975 echo "Doing TAGS in diff" ; \
5977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5979 "RANLIB=$${RANLIB}" \
5980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5986 .PHONY: maybe-install-info-diff install-info-diff
5987 maybe-install-info-diff:
5989 maybe-install-info-diff: install-info-diff
5991 install-info-diff: \
5994 @[ -f ./diff/Makefile ] || exit 0; \
5995 r=`${PWD_COMMAND}`; export r; \
5996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5999 for flag in $(EXTRA_HOST_FLAGS); do \
6000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6002 echo "Doing install-info in diff" ; \
6004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6006 "RANLIB=$${RANLIB}" \
6007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6013 .PHONY: maybe-installcheck-diff installcheck-diff
6014 maybe-installcheck-diff:
6016 maybe-installcheck-diff: installcheck-diff
6018 installcheck-diff: \
6020 @[ -f ./diff/Makefile ] || exit 0; \
6021 r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 for flag in $(EXTRA_HOST_FLAGS); do \
6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 echo "Doing installcheck in diff" ; \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6039 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6040 maybe-mostlyclean-diff:
6042 maybe-mostlyclean-diff: mostlyclean-diff
6045 @[ -f ./diff/Makefile ] || exit 0; \
6046 r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6050 for flag in $(EXTRA_HOST_FLAGS); do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6053 echo "Doing mostlyclean in diff" ; \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6064 .PHONY: maybe-clean-diff clean-diff
6067 maybe-clean-diff: clean-diff
6070 @[ -f ./diff/Makefile ] || exit 0; \
6071 r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6075 for flag in $(EXTRA_HOST_FLAGS); do \
6076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6078 echo "Doing clean in diff" ; \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082 "RANLIB=$${RANLIB}" \
6083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6089 .PHONY: maybe-distclean-diff distclean-diff
6090 maybe-distclean-diff:
6092 maybe-distclean-diff: distclean-diff
6095 @[ -f ./diff/Makefile ] || exit 0; \
6096 r=`${PWD_COMMAND}`; export r; \
6097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 for flag in $(EXTRA_HOST_FLAGS); do \
6101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6103 echo "Doing distclean in diff" ; \
6105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6107 "RANLIB=$${RANLIB}" \
6108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6114 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6115 maybe-maintainer-clean-diff:
6117 maybe-maintainer-clean-diff: maintainer-clean-diff
6119 maintainer-clean-diff:
6120 @[ -f ./diff/Makefile ] || exit 0; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6125 for flag in $(EXTRA_HOST_FLAGS); do \
6126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6128 echo "Doing maintainer-clean in diff" ; \
6130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6132 "RANLIB=$${RANLIB}" \
6133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6140 .PHONY: configure-dosutils maybe-configure-dosutils
6141 maybe-configure-dosutils:
6143 maybe-configure-dosutils: configure-dosutils
6145 @test ! -f dosutils/Makefile || exit 0; \
6146 [ -d dosutils ] || mkdir dosutils; \
6147 r=`${PWD_COMMAND}`; export r; \
6148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 echo Configuring in dosutils; \
6151 cd dosutils || exit 1; \
6154 srcdiroption="--srcdir=."; \
6156 /* | [A-Za-z]:[\\/]*) \
6157 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6158 libsrcdir="$$s/dosutils";; \
6160 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6161 libsrcdir="$$s/dosutils";; \
6163 $(SHELL) $${libsrcdir}/configure \
6164 $(HOST_CONFIGARGS) $${srcdiroption} \
6168 .PHONY: all-dosutils maybe-all-dosutils
6171 maybe-all-dosutils: all-dosutils
6172 all-dosutils: configure-dosutils
6173 @r=`${PWD_COMMAND}`; export r; \
6174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6177 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6180 .PHONY: check-dosutils maybe-check-dosutils
6181 maybe-check-dosutils:
6183 maybe-check-dosutils: check-dosutils
6189 .PHONY: install-dosutils maybe-install-dosutils
6190 maybe-install-dosutils:
6192 maybe-install-dosutils: install-dosutils
6194 install-dosutils: installdirs
6195 @r=`${PWD_COMMAND}`; export r; \
6196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6199 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6203 # Other targets (info, dvi, etc.)
6205 .PHONY: maybe-info-dosutils info-dosutils
6206 maybe-info-dosutils:
6208 maybe-info-dosutils: info-dosutils
6212 @[ -f ./dosutils/Makefile ] || exit 0; \
6213 r=`${PWD_COMMAND}`; export r; \
6214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6217 for flag in $(EXTRA_HOST_FLAGS); do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6220 echo "Doing info in dosutils" ; \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6231 .PHONY: maybe-dvi-dosutils dvi-dosutils
6234 maybe-dvi-dosutils: dvi-dosutils
6238 @[ -f ./dosutils/Makefile ] || exit 0; \
6239 r=`${PWD_COMMAND}`; export r; \
6240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6243 for flag in $(EXTRA_HOST_FLAGS); do \
6244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6246 echo "Doing dvi in dosutils" ; \
6248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6250 "RANLIB=$${RANLIB}" \
6251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6257 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6258 maybe-TAGS-dosutils:
6260 maybe-TAGS-dosutils: TAGS-dosutils
6264 @[ -f ./dosutils/Makefile ] || exit 0; \
6265 r=`${PWD_COMMAND}`; export r; \
6266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6269 for flag in $(EXTRA_HOST_FLAGS); do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6272 echo "Doing TAGS in dosutils" ; \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6283 .PHONY: maybe-install-info-dosutils install-info-dosutils
6284 maybe-install-info-dosutils:
6286 maybe-install-info-dosutils: install-info-dosutils
6288 install-info-dosutils: \
6289 configure-dosutils \
6291 @[ -f ./dosutils/Makefile ] || exit 0; \
6292 r=`${PWD_COMMAND}`; export r; \
6293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6296 for flag in $(EXTRA_HOST_FLAGS); do \
6297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6299 echo "Doing install-info in dosutils" ; \
6301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6303 "RANLIB=$${RANLIB}" \
6304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6310 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6311 maybe-installcheck-dosutils:
6313 maybe-installcheck-dosutils: installcheck-dosutils
6315 installcheck-dosutils: \
6317 @[ -f ./dosutils/Makefile ] || exit 0; \
6318 r=`${PWD_COMMAND}`; export r; \
6319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6322 for flag in $(EXTRA_HOST_FLAGS); do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6325 echo "Doing installcheck in dosutils" ; \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6336 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6337 maybe-mostlyclean-dosutils:
6339 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6341 mostlyclean-dosutils:
6342 @[ -f ./dosutils/Makefile ] || exit 0; \
6343 r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6347 for flag in $(EXTRA_HOST_FLAGS); do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6350 echo "Doing mostlyclean in dosutils" ; \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6361 .PHONY: maybe-clean-dosutils clean-dosutils
6362 maybe-clean-dosutils:
6364 maybe-clean-dosutils: clean-dosutils
6367 @[ -f ./dosutils/Makefile ] || exit 0; \
6368 r=`${PWD_COMMAND}`; export r; \
6369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6372 for flag in $(EXTRA_HOST_FLAGS); do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6375 echo "Doing clean in dosutils" ; \
6377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6379 "RANLIB=$${RANLIB}" \
6380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6386 .PHONY: maybe-distclean-dosutils distclean-dosutils
6387 maybe-distclean-dosutils:
6389 maybe-distclean-dosutils: distclean-dosutils
6392 @[ -f ./dosutils/Makefile ] || exit 0; \
6393 r=`${PWD_COMMAND}`; export r; \
6394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6397 for flag in $(EXTRA_HOST_FLAGS); do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6400 echo "Doing distclean in dosutils" ; \
6402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6404 "RANLIB=$${RANLIB}" \
6405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6411 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6412 maybe-maintainer-clean-dosutils:
6414 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6416 maintainer-clean-dosutils:
6417 @[ -f ./dosutils/Makefile ] || exit 0; \
6418 r=`${PWD_COMMAND}`; export r; \
6419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6422 for flag in $(EXTRA_HOST_FLAGS); do \
6423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6425 echo "Doing maintainer-clean in dosutils" ; \
6427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6429 "RANLIB=$${RANLIB}" \
6430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6437 .PHONY: configure-etc maybe-configure-etc
6438 maybe-configure-etc:
6440 maybe-configure-etc: configure-etc
6442 @test ! -f etc/Makefile || exit 0; \
6443 [ -d etc ] || mkdir etc; \
6444 r=`${PWD_COMMAND}`; export r; \
6445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6447 echo Configuring in etc; \
6451 srcdiroption="--srcdir=."; \
6453 /* | [A-Za-z]:[\\/]*) \
6454 srcdiroption="--srcdir=$(srcdir)/etc"; \
6455 libsrcdir="$$s/etc";; \
6457 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6458 libsrcdir="$$s/etc";; \
6460 $(SHELL) $${libsrcdir}/configure \
6461 $(HOST_CONFIGARGS) $${srcdiroption} \
6465 .PHONY: all-etc maybe-all-etc
6468 maybe-all-etc: all-etc
6469 all-etc: configure-etc
6470 @r=`${PWD_COMMAND}`; export r; \
6471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6474 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6477 .PHONY: check-etc maybe-check-etc
6480 maybe-check-etc: check-etc
6483 @r=`${PWD_COMMAND}`; export r; \
6484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6487 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6491 .PHONY: install-etc maybe-install-etc
6494 maybe-install-etc: install-etc
6496 install-etc: installdirs
6497 @r=`${PWD_COMMAND}`; export r; \
6498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6505 # Other targets (info, dvi, etc.)
6507 .PHONY: maybe-info-etc info-etc
6510 maybe-info-etc: info-etc
6514 @[ -f ./etc/Makefile ] || exit 0; \
6515 r=`${PWD_COMMAND}`; export r; \
6516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 for flag in $(EXTRA_HOST_FLAGS); do \
6520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6522 echo "Doing info in etc" ; \
6524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6526 "RANLIB=$${RANLIB}" \
6527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6533 .PHONY: maybe-dvi-etc dvi-etc
6536 maybe-dvi-etc: dvi-etc
6540 @[ -f ./etc/Makefile ] || exit 0; \
6541 r=`${PWD_COMMAND}`; export r; \
6542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6545 for flag in $(EXTRA_HOST_FLAGS); do \
6546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6548 echo "Doing dvi in etc" ; \
6550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6552 "RANLIB=$${RANLIB}" \
6553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6559 .PHONY: maybe-TAGS-etc TAGS-etc
6562 maybe-TAGS-etc: TAGS-etc
6566 @[ -f ./etc/Makefile ] || exit 0; \
6567 r=`${PWD_COMMAND}`; export r; \
6568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6571 for flag in $(EXTRA_HOST_FLAGS); do \
6572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6574 echo "Doing TAGS in etc" ; \
6576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6578 "RANLIB=$${RANLIB}" \
6579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6585 .PHONY: maybe-install-info-etc install-info-etc
6586 maybe-install-info-etc:
6588 maybe-install-info-etc: install-info-etc
6593 @[ -f ./etc/Makefile ] || exit 0; \
6594 r=`${PWD_COMMAND}`; export r; \
6595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6598 for flag in $(EXTRA_HOST_FLAGS); do \
6599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6601 echo "Doing install-info in etc" ; \
6603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6605 "RANLIB=$${RANLIB}" \
6606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6612 .PHONY: maybe-installcheck-etc installcheck-etc
6613 maybe-installcheck-etc:
6615 maybe-installcheck-etc: installcheck-etc
6619 @[ -f ./etc/Makefile ] || exit 0; \
6620 r=`${PWD_COMMAND}`; export r; \
6621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6624 for flag in $(EXTRA_HOST_FLAGS); do \
6625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6627 echo "Doing installcheck in etc" ; \
6629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6631 "RANLIB=$${RANLIB}" \
6632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6638 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6639 maybe-mostlyclean-etc:
6641 maybe-mostlyclean-etc: mostlyclean-etc
6644 @[ -f ./etc/Makefile ] || exit 0; \
6645 r=`${PWD_COMMAND}`; export r; \
6646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6649 for flag in $(EXTRA_HOST_FLAGS); do \
6650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6652 echo "Doing mostlyclean in etc" ; \
6654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6656 "RANLIB=$${RANLIB}" \
6657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6663 .PHONY: maybe-clean-etc clean-etc
6666 maybe-clean-etc: clean-etc
6669 @[ -f ./etc/Makefile ] || exit 0; \
6670 r=`${PWD_COMMAND}`; export r; \
6671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674 for flag in $(EXTRA_HOST_FLAGS); do \
6675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 echo "Doing clean in etc" ; \
6679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6681 "RANLIB=$${RANLIB}" \
6682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6688 .PHONY: maybe-distclean-etc distclean-etc
6689 maybe-distclean-etc:
6691 maybe-distclean-etc: distclean-etc
6694 @[ -f ./etc/Makefile ] || exit 0; \
6695 r=`${PWD_COMMAND}`; export r; \
6696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6699 for flag in $(EXTRA_HOST_FLAGS); do \
6700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 echo "Doing distclean in etc" ; \
6704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6706 "RANLIB=$${RANLIB}" \
6707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6713 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6714 maybe-maintainer-clean-etc:
6716 maybe-maintainer-clean-etc: maintainer-clean-etc
6718 maintainer-clean-etc:
6719 @[ -f ./etc/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6724 for flag in $(EXTRA_HOST_FLAGS); do \
6725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6727 echo "Doing maintainer-clean in etc" ; \
6729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6731 "RANLIB=$${RANLIB}" \
6732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6739 .PHONY: configure-fastjar maybe-configure-fastjar
6740 maybe-configure-fastjar:
6742 maybe-configure-fastjar: configure-fastjar
6744 @test ! -f fastjar/Makefile || exit 0; \
6745 [ -d fastjar ] || mkdir fastjar; \
6746 r=`${PWD_COMMAND}`; export r; \
6747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6749 echo Configuring in fastjar; \
6750 cd fastjar || exit 1; \
6753 srcdiroption="--srcdir=."; \
6755 /* | [A-Za-z]:[\\/]*) \
6756 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6757 libsrcdir="$$s/fastjar";; \
6759 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6760 libsrcdir="$$s/fastjar";; \
6762 $(SHELL) $${libsrcdir}/configure \
6763 $(HOST_CONFIGARGS) $${srcdiroption} \
6767 .PHONY: all-fastjar maybe-all-fastjar
6770 maybe-all-fastjar: all-fastjar
6771 all-fastjar: configure-fastjar
6772 @r=`${PWD_COMMAND}`; export r; \
6773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6776 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6779 .PHONY: check-fastjar maybe-check-fastjar
6780 maybe-check-fastjar:
6782 maybe-check-fastjar: check-fastjar
6784 # This module is only tested in a native toolchain.
6786 @if [ '$(host)' = '$(target)' ] ; then \
6787 r=`${PWD_COMMAND}`; export r; \
6788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6791 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6796 .PHONY: install-fastjar maybe-install-fastjar
6797 maybe-install-fastjar:
6799 maybe-install-fastjar: install-fastjar
6801 install-fastjar: installdirs
6802 @r=`${PWD_COMMAND}`; export r; \
6803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6810 # Other targets (info, dvi, etc.)
6812 .PHONY: maybe-info-fastjar info-fastjar
6815 maybe-info-fastjar: info-fastjar
6819 @[ -f ./fastjar/Makefile ] || exit 0; \
6820 r=`${PWD_COMMAND}`; export r; \
6821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6824 for flag in $(EXTRA_HOST_FLAGS); do \
6825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6827 echo "Doing info in fastjar" ; \
6829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6831 "RANLIB=$${RANLIB}" \
6832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6838 .PHONY: maybe-dvi-fastjar dvi-fastjar
6841 maybe-dvi-fastjar: dvi-fastjar
6845 @[ -f ./fastjar/Makefile ] || exit 0; \
6846 r=`${PWD_COMMAND}`; export r; \
6847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6850 for flag in $(EXTRA_HOST_FLAGS); do \
6851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6853 echo "Doing dvi in fastjar" ; \
6855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6857 "RANLIB=$${RANLIB}" \
6858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6864 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6867 maybe-TAGS-fastjar: TAGS-fastjar
6871 @[ -f ./fastjar/Makefile ] || exit 0; \
6872 r=`${PWD_COMMAND}`; export r; \
6873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6876 for flag in $(EXTRA_HOST_FLAGS); do \
6877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6879 echo "Doing TAGS in fastjar" ; \
6881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6883 "RANLIB=$${RANLIB}" \
6884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6890 .PHONY: maybe-install-info-fastjar install-info-fastjar
6891 maybe-install-info-fastjar:
6893 maybe-install-info-fastjar: install-info-fastjar
6895 install-info-fastjar: \
6898 @[ -f ./fastjar/Makefile ] || exit 0; \
6899 r=`${PWD_COMMAND}`; export r; \
6900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6903 for flag in $(EXTRA_HOST_FLAGS); do \
6904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6906 echo "Doing install-info in fastjar" ; \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6910 "RANLIB=$${RANLIB}" \
6911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6917 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6918 maybe-installcheck-fastjar:
6920 maybe-installcheck-fastjar: installcheck-fastjar
6922 installcheck-fastjar: \
6924 @[ -f ./fastjar/Makefile ] || exit 0; \
6925 r=`${PWD_COMMAND}`; export r; \
6926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6929 for flag in $(EXTRA_HOST_FLAGS); do \
6930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6932 echo "Doing installcheck in fastjar" ; \
6934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6936 "RANLIB=$${RANLIB}" \
6937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6943 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6944 maybe-mostlyclean-fastjar:
6946 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6948 mostlyclean-fastjar:
6949 @[ -f ./fastjar/Makefile ] || exit 0; \
6950 r=`${PWD_COMMAND}`; export r; \
6951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6954 for flag in $(EXTRA_HOST_FLAGS); do \
6955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6957 echo "Doing mostlyclean in fastjar" ; \
6959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6961 "RANLIB=$${RANLIB}" \
6962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6968 .PHONY: maybe-clean-fastjar clean-fastjar
6969 maybe-clean-fastjar:
6971 maybe-clean-fastjar: clean-fastjar
6974 @[ -f ./fastjar/Makefile ] || exit 0; \
6975 r=`${PWD_COMMAND}`; export r; \
6976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6979 for flag in $(EXTRA_HOST_FLAGS); do \
6980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6982 echo "Doing clean in fastjar" ; \
6984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6986 "RANLIB=$${RANLIB}" \
6987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6993 .PHONY: maybe-distclean-fastjar distclean-fastjar
6994 maybe-distclean-fastjar:
6996 maybe-distclean-fastjar: distclean-fastjar
6999 @[ -f ./fastjar/Makefile ] || exit 0; \
7000 r=`${PWD_COMMAND}`; export r; \
7001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7004 for flag in $(EXTRA_HOST_FLAGS); do \
7005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7007 echo "Doing distclean in fastjar" ; \
7009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7011 "RANLIB=$${RANLIB}" \
7012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7018 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7019 maybe-maintainer-clean-fastjar:
7021 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7023 maintainer-clean-fastjar:
7024 @[ -f ./fastjar/Makefile ] || exit 0; \
7025 r=`${PWD_COMMAND}`; export r; \
7026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7029 for flag in $(EXTRA_HOST_FLAGS); do \
7030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7032 echo "Doing maintainer-clean in fastjar" ; \
7034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7036 "RANLIB=$${RANLIB}" \
7037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7044 .PHONY: configure-fileutils maybe-configure-fileutils
7045 maybe-configure-fileutils:
7047 maybe-configure-fileutils: configure-fileutils
7048 configure-fileutils:
7049 @test ! -f fileutils/Makefile || exit 0; \
7050 [ -d fileutils ] || mkdir fileutils; \
7051 r=`${PWD_COMMAND}`; export r; \
7052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7054 echo Configuring in fileutils; \
7055 cd fileutils || exit 1; \
7058 srcdiroption="--srcdir=."; \
7060 /* | [A-Za-z]:[\\/]*) \
7061 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7062 libsrcdir="$$s/fileutils";; \
7064 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7065 libsrcdir="$$s/fileutils";; \
7067 $(SHELL) $${libsrcdir}/configure \
7068 $(HOST_CONFIGARGS) $${srcdiroption} \
7072 .PHONY: all-fileutils maybe-all-fileutils
7073 maybe-all-fileutils:
7075 maybe-all-fileutils: all-fileutils
7076 all-fileutils: configure-fileutils
7077 @r=`${PWD_COMMAND}`; export r; \
7078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7081 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7084 .PHONY: check-fileutils maybe-check-fileutils
7085 maybe-check-fileutils:
7087 maybe-check-fileutils: check-fileutils
7090 @r=`${PWD_COMMAND}`; export r; \
7091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7094 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7098 .PHONY: install-fileutils maybe-install-fileutils
7099 maybe-install-fileutils:
7101 maybe-install-fileutils: install-fileutils
7103 install-fileutils: installdirs
7104 @r=`${PWD_COMMAND}`; export r; \
7105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7112 # Other targets (info, dvi, etc.)
7114 .PHONY: maybe-info-fileutils info-fileutils
7115 maybe-info-fileutils:
7117 maybe-info-fileutils: info-fileutils
7121 @[ -f ./fileutils/Makefile ] || exit 0; \
7122 r=`${PWD_COMMAND}`; export r; \
7123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7126 for flag in $(EXTRA_HOST_FLAGS); do \
7127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7129 echo "Doing info in fileutils" ; \
7131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7133 "RANLIB=$${RANLIB}" \
7134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7140 .PHONY: maybe-dvi-fileutils dvi-fileutils
7141 maybe-dvi-fileutils:
7143 maybe-dvi-fileutils: dvi-fileutils
7147 @[ -f ./fileutils/Makefile ] || exit 0; \
7148 r=`${PWD_COMMAND}`; export r; \
7149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 for flag in $(EXTRA_HOST_FLAGS); do \
7153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 echo "Doing dvi in fileutils" ; \
7157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7159 "RANLIB=$${RANLIB}" \
7160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7166 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7167 maybe-TAGS-fileutils:
7169 maybe-TAGS-fileutils: TAGS-fileutils
7173 @[ -f ./fileutils/Makefile ] || exit 0; \
7174 r=`${PWD_COMMAND}`; export r; \
7175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7178 for flag in $(EXTRA_HOST_FLAGS); do \
7179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 echo "Doing TAGS in fileutils" ; \
7183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7185 "RANLIB=$${RANLIB}" \
7186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7192 .PHONY: maybe-install-info-fileutils install-info-fileutils
7193 maybe-install-info-fileutils:
7195 maybe-install-info-fileutils: install-info-fileutils
7197 install-info-fileutils: \
7198 configure-fileutils \
7200 @[ -f ./fileutils/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 for flag in $(EXTRA_HOST_FLAGS); do \
7206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7208 echo "Doing install-info in fileutils" ; \
7210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7212 "RANLIB=$${RANLIB}" \
7213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7219 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7220 maybe-installcheck-fileutils:
7222 maybe-installcheck-fileutils: installcheck-fileutils
7224 installcheck-fileutils: \
7226 @[ -f ./fileutils/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7231 for flag in $(EXTRA_HOST_FLAGS); do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7234 echo "Doing installcheck in fileutils" ; \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7245 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7246 maybe-mostlyclean-fileutils:
7248 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7250 mostlyclean-fileutils:
7251 @[ -f ./fileutils/Makefile ] || exit 0; \
7252 r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 for flag in $(EXTRA_HOST_FLAGS); do \
7257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7259 echo "Doing mostlyclean in fileutils" ; \
7261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7263 "RANLIB=$${RANLIB}" \
7264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7270 .PHONY: maybe-clean-fileutils clean-fileutils
7271 maybe-clean-fileutils:
7273 maybe-clean-fileutils: clean-fileutils
7276 @[ -f ./fileutils/Makefile ] || exit 0; \
7277 r=`${PWD_COMMAND}`; export r; \
7278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7281 for flag in $(EXTRA_HOST_FLAGS); do \
7282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7284 echo "Doing clean in fileutils" ; \
7286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7288 "RANLIB=$${RANLIB}" \
7289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7295 .PHONY: maybe-distclean-fileutils distclean-fileutils
7296 maybe-distclean-fileutils:
7298 maybe-distclean-fileutils: distclean-fileutils
7300 distclean-fileutils:
7301 @[ -f ./fileutils/Makefile ] || exit 0; \
7302 r=`${PWD_COMMAND}`; export r; \
7303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 for flag in $(EXTRA_HOST_FLAGS); do \
7307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7309 echo "Doing distclean in fileutils" ; \
7311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7313 "RANLIB=$${RANLIB}" \
7314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7320 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7321 maybe-maintainer-clean-fileutils:
7323 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7325 maintainer-clean-fileutils:
7326 @[ -f ./fileutils/Makefile ] || exit 0; \
7327 r=`${PWD_COMMAND}`; export r; \
7328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7331 for flag in $(EXTRA_HOST_FLAGS); do \
7332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7334 echo "Doing maintainer-clean in fileutils" ; \
7336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7338 "RANLIB=$${RANLIB}" \
7339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7346 .PHONY: configure-findutils maybe-configure-findutils
7347 maybe-configure-findutils:
7349 maybe-configure-findutils: configure-findutils
7350 configure-findutils:
7351 @test ! -f findutils/Makefile || exit 0; \
7352 [ -d findutils ] || mkdir findutils; \
7353 r=`${PWD_COMMAND}`; export r; \
7354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7356 echo Configuring in findutils; \
7357 cd findutils || exit 1; \
7360 srcdiroption="--srcdir=."; \
7362 /* | [A-Za-z]:[\\/]*) \
7363 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7364 libsrcdir="$$s/findutils";; \
7366 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7367 libsrcdir="$$s/findutils";; \
7369 $(SHELL) $${libsrcdir}/configure \
7370 $(HOST_CONFIGARGS) $${srcdiroption} \
7374 .PHONY: all-findutils maybe-all-findutils
7375 maybe-all-findutils:
7377 maybe-all-findutils: all-findutils
7378 all-findutils: configure-findutils
7379 @r=`${PWD_COMMAND}`; export r; \
7380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7383 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7386 .PHONY: check-findutils maybe-check-findutils
7387 maybe-check-findutils:
7389 maybe-check-findutils: check-findutils
7392 @r=`${PWD_COMMAND}`; export r; \
7393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7396 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7400 .PHONY: install-findutils maybe-install-findutils
7401 maybe-install-findutils:
7403 maybe-install-findutils: install-findutils
7405 install-findutils: installdirs
7406 @r=`${PWD_COMMAND}`; export r; \
7407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7414 # Other targets (info, dvi, etc.)
7416 .PHONY: maybe-info-findutils info-findutils
7417 maybe-info-findutils:
7419 maybe-info-findutils: info-findutils
7423 @[ -f ./findutils/Makefile ] || exit 0; \
7424 r=`${PWD_COMMAND}`; export r; \
7425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7428 for flag in $(EXTRA_HOST_FLAGS); do \
7429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7431 echo "Doing info in findutils" ; \
7433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7435 "RANLIB=$${RANLIB}" \
7436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7442 .PHONY: maybe-dvi-findutils dvi-findutils
7443 maybe-dvi-findutils:
7445 maybe-dvi-findutils: dvi-findutils
7449 @[ -f ./findutils/Makefile ] || exit 0; \
7450 r=`${PWD_COMMAND}`; export r; \
7451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7454 for flag in $(EXTRA_HOST_FLAGS); do \
7455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7457 echo "Doing dvi in findutils" ; \
7459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7461 "RANLIB=$${RANLIB}" \
7462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7468 .PHONY: maybe-TAGS-findutils TAGS-findutils
7469 maybe-TAGS-findutils:
7471 maybe-TAGS-findutils: TAGS-findutils
7475 @[ -f ./findutils/Makefile ] || exit 0; \
7476 r=`${PWD_COMMAND}`; export r; \
7477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7480 for flag in $(EXTRA_HOST_FLAGS); do \
7481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483 echo "Doing TAGS in findutils" ; \
7485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7487 "RANLIB=$${RANLIB}" \
7488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7494 .PHONY: maybe-install-info-findutils install-info-findutils
7495 maybe-install-info-findutils:
7497 maybe-install-info-findutils: install-info-findutils
7499 install-info-findutils: \
7500 configure-findutils \
7502 @[ -f ./findutils/Makefile ] || exit 0; \
7503 r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7507 for flag in $(EXTRA_HOST_FLAGS); do \
7508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7510 echo "Doing install-info in findutils" ; \
7512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7514 "RANLIB=$${RANLIB}" \
7515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7521 .PHONY: maybe-installcheck-findutils installcheck-findutils
7522 maybe-installcheck-findutils:
7524 maybe-installcheck-findutils: installcheck-findutils
7526 installcheck-findutils: \
7528 @[ -f ./findutils/Makefile ] || exit 0; \
7529 r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7533 for flag in $(EXTRA_HOST_FLAGS); do \
7534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7536 echo "Doing installcheck in findutils" ; \
7538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7540 "RANLIB=$${RANLIB}" \
7541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7547 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7548 maybe-mostlyclean-findutils:
7550 maybe-mostlyclean-findutils: mostlyclean-findutils
7552 mostlyclean-findutils:
7553 @[ -f ./findutils/Makefile ] || exit 0; \
7554 r=`${PWD_COMMAND}`; export r; \
7555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7558 for flag in $(EXTRA_HOST_FLAGS); do \
7559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7561 echo "Doing mostlyclean in findutils" ; \
7563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7565 "RANLIB=$${RANLIB}" \
7566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7572 .PHONY: maybe-clean-findutils clean-findutils
7573 maybe-clean-findutils:
7575 maybe-clean-findutils: clean-findutils
7578 @[ -f ./findutils/Makefile ] || exit 0; \
7579 r=`${PWD_COMMAND}`; export r; \
7580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7583 for flag in $(EXTRA_HOST_FLAGS); do \
7584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7586 echo "Doing clean in findutils" ; \
7588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7590 "RANLIB=$${RANLIB}" \
7591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7597 .PHONY: maybe-distclean-findutils distclean-findutils
7598 maybe-distclean-findutils:
7600 maybe-distclean-findutils: distclean-findutils
7602 distclean-findutils:
7603 @[ -f ./findutils/Makefile ] || exit 0; \
7604 r=`${PWD_COMMAND}`; export r; \
7605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7608 for flag in $(EXTRA_HOST_FLAGS); do \
7609 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7611 echo "Doing distclean in findutils" ; \
7613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7615 "RANLIB=$${RANLIB}" \
7616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7622 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7623 maybe-maintainer-clean-findutils:
7625 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7627 maintainer-clean-findutils:
7628 @[ -f ./findutils/Makefile ] || exit 0; \
7629 r=`${PWD_COMMAND}`; export r; \
7630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7633 for flag in $(EXTRA_HOST_FLAGS); do \
7634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7636 echo "Doing maintainer-clean in findutils" ; \
7638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7640 "RANLIB=$${RANLIB}" \
7641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7648 .PHONY: configure-find maybe-configure-find
7649 maybe-configure-find:
7651 maybe-configure-find: configure-find
7653 @test ! -f find/Makefile || exit 0; \
7654 [ -d find ] || mkdir find; \
7655 r=`${PWD_COMMAND}`; export r; \
7656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7658 echo Configuring in find; \
7659 cd find || exit 1; \
7662 srcdiroption="--srcdir=."; \
7664 /* | [A-Za-z]:[\\/]*) \
7665 srcdiroption="--srcdir=$(srcdir)/find"; \
7666 libsrcdir="$$s/find";; \
7668 srcdiroption="--srcdir=../$(srcdir)/find"; \
7669 libsrcdir="$$s/find";; \
7671 $(SHELL) $${libsrcdir}/configure \
7672 $(HOST_CONFIGARGS) $${srcdiroption} \
7676 .PHONY: all-find maybe-all-find
7679 maybe-all-find: all-find
7680 all-find: configure-find
7681 @r=`${PWD_COMMAND}`; export r; \
7682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7688 .PHONY: check-find maybe-check-find
7691 maybe-check-find: check-find
7694 @r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7698 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7702 .PHONY: install-find maybe-install-find
7705 maybe-install-find: install-find
7707 install-find: installdirs
7708 @r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7712 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7716 # Other targets (info, dvi, etc.)
7718 .PHONY: maybe-info-find info-find
7721 maybe-info-find: info-find
7725 @[ -f ./find/Makefile ] || exit 0; \
7726 r=`${PWD_COMMAND}`; export r; \
7727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7730 for flag in $(EXTRA_HOST_FLAGS); do \
7731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7733 echo "Doing info in find" ; \
7735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7737 "RANLIB=$${RANLIB}" \
7738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7744 .PHONY: maybe-dvi-find dvi-find
7747 maybe-dvi-find: dvi-find
7751 @[ -f ./find/Makefile ] || exit 0; \
7752 r=`${PWD_COMMAND}`; export r; \
7753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7756 for flag in $(EXTRA_HOST_FLAGS); do \
7757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7759 echo "Doing dvi in find" ; \
7761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7763 "RANLIB=$${RANLIB}" \
7764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7770 .PHONY: maybe-TAGS-find TAGS-find
7773 maybe-TAGS-find: TAGS-find
7777 @[ -f ./find/Makefile ] || exit 0; \
7778 r=`${PWD_COMMAND}`; export r; \
7779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 for flag in $(EXTRA_HOST_FLAGS); do \
7783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 echo "Doing TAGS in find" ; \
7787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7789 "RANLIB=$${RANLIB}" \
7790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7796 .PHONY: maybe-install-info-find install-info-find
7797 maybe-install-info-find:
7799 maybe-install-info-find: install-info-find
7801 install-info-find: \
7804 @[ -f ./find/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7809 for flag in $(EXTRA_HOST_FLAGS); do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7812 echo "Doing install-info in find" ; \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7823 .PHONY: maybe-installcheck-find installcheck-find
7824 maybe-installcheck-find:
7826 maybe-installcheck-find: installcheck-find
7828 installcheck-find: \
7830 @[ -f ./find/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7835 for flag in $(EXTRA_HOST_FLAGS); do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7838 echo "Doing installcheck in find" ; \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7849 .PHONY: maybe-mostlyclean-find mostlyclean-find
7850 maybe-mostlyclean-find:
7852 maybe-mostlyclean-find: mostlyclean-find
7855 @[ -f ./find/Makefile ] || exit 0; \
7856 r=`${PWD_COMMAND}`; export r; \
7857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7860 for flag in $(EXTRA_HOST_FLAGS); do \
7861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7863 echo "Doing mostlyclean in find" ; \
7865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7867 "RANLIB=$${RANLIB}" \
7868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7874 .PHONY: maybe-clean-find clean-find
7877 maybe-clean-find: clean-find
7880 @[ -f ./find/Makefile ] || exit 0; \
7881 r=`${PWD_COMMAND}`; export r; \
7882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7885 for flag in $(EXTRA_HOST_FLAGS); do \
7886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7888 echo "Doing clean in find" ; \
7890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7892 "RANLIB=$${RANLIB}" \
7893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7899 .PHONY: maybe-distclean-find distclean-find
7900 maybe-distclean-find:
7902 maybe-distclean-find: distclean-find
7905 @[ -f ./find/Makefile ] || exit 0; \
7906 r=`${PWD_COMMAND}`; export r; \
7907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7910 for flag in $(EXTRA_HOST_FLAGS); do \
7911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7913 echo "Doing distclean in find" ; \
7915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7917 "RANLIB=$${RANLIB}" \
7918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7924 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7925 maybe-maintainer-clean-find:
7927 maybe-maintainer-clean-find: maintainer-clean-find
7929 maintainer-clean-find:
7930 @[ -f ./find/Makefile ] || exit 0; \
7931 r=`${PWD_COMMAND}`; export r; \
7932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7935 for flag in $(EXTRA_HOST_FLAGS); do \
7936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7938 echo "Doing maintainer-clean in find" ; \
7940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7942 "RANLIB=$${RANLIB}" \
7943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7950 .PHONY: configure-flex maybe-configure-flex
7951 maybe-configure-flex:
7953 maybe-configure-flex: configure-flex
7955 @test ! -f flex/Makefile || exit 0; \
7956 [ -d flex ] || mkdir flex; \
7957 r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7960 echo Configuring in flex; \
7961 cd flex || exit 1; \
7964 srcdiroption="--srcdir=."; \
7966 /* | [A-Za-z]:[\\/]*) \
7967 srcdiroption="--srcdir=$(srcdir)/flex"; \
7968 libsrcdir="$$s/flex";; \
7970 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7971 libsrcdir="$$s/flex";; \
7973 $(SHELL) $${libsrcdir}/configure \
7974 $(HOST_CONFIGARGS) $${srcdiroption} \
7978 .PHONY: all-flex maybe-all-flex
7981 maybe-all-flex: all-flex
7982 all-flex: configure-flex
7983 @r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7987 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7990 .PHONY: check-flex maybe-check-flex
7993 maybe-check-flex: check-flex
7995 # This module is only tested in a native toolchain.
7997 @if [ '$(host)' = '$(target)' ] ; then \
7998 r=`${PWD_COMMAND}`; export r; \
7999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8002 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
8007 .PHONY: install-flex maybe-install-flex
8010 maybe-install-flex: install-flex
8012 install-flex: installdirs
8013 @r=`${PWD_COMMAND}`; export r; \
8014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8017 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
8021 # Other targets (info, dvi, etc.)
8023 .PHONY: maybe-info-flex info-flex
8026 maybe-info-flex: info-flex
8030 @[ -f ./flex/Makefile ] || exit 0; \
8031 r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8035 for flag in $(EXTRA_HOST_FLAGS); do \
8036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8038 echo "Doing info in flex" ; \
8040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8042 "RANLIB=$${RANLIB}" \
8043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8049 .PHONY: maybe-dvi-flex dvi-flex
8052 maybe-dvi-flex: dvi-flex
8056 @[ -f ./flex/Makefile ] || exit 0; \
8057 r=`${PWD_COMMAND}`; export r; \
8058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8061 for flag in $(EXTRA_HOST_FLAGS); do \
8062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8064 echo "Doing dvi in flex" ; \
8066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8068 "RANLIB=$${RANLIB}" \
8069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8075 .PHONY: maybe-TAGS-flex TAGS-flex
8078 maybe-TAGS-flex: TAGS-flex
8082 @[ -f ./flex/Makefile ] || exit 0; \
8083 r=`${PWD_COMMAND}`; export r; \
8084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 for flag in $(EXTRA_HOST_FLAGS); do \
8088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8090 echo "Doing TAGS in flex" ; \
8092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8094 "RANLIB=$${RANLIB}" \
8095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8101 .PHONY: maybe-install-info-flex install-info-flex
8102 maybe-install-info-flex:
8104 maybe-install-info-flex: install-info-flex
8106 install-info-flex: \
8109 @[ -f ./flex/Makefile ] || exit 0; \
8110 r=`${PWD_COMMAND}`; export r; \
8111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8114 for flag in $(EXTRA_HOST_FLAGS); do \
8115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8117 echo "Doing install-info in flex" ; \
8119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8121 "RANLIB=$${RANLIB}" \
8122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8128 .PHONY: maybe-installcheck-flex installcheck-flex
8129 maybe-installcheck-flex:
8131 maybe-installcheck-flex: installcheck-flex
8133 installcheck-flex: \
8135 @[ -f ./flex/Makefile ] || exit 0; \
8136 r=`${PWD_COMMAND}`; export r; \
8137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8140 for flag in $(EXTRA_HOST_FLAGS); do \
8141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8143 echo "Doing installcheck in flex" ; \
8145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8147 "RANLIB=$${RANLIB}" \
8148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8154 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8155 maybe-mostlyclean-flex:
8157 maybe-mostlyclean-flex: mostlyclean-flex
8160 @[ -f ./flex/Makefile ] || exit 0; \
8161 r=`${PWD_COMMAND}`; export r; \
8162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8165 for flag in $(EXTRA_HOST_FLAGS); do \
8166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8168 echo "Doing mostlyclean in flex" ; \
8170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8172 "RANLIB=$${RANLIB}" \
8173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8179 .PHONY: maybe-clean-flex clean-flex
8182 maybe-clean-flex: clean-flex
8185 @[ -f ./flex/Makefile ] || exit 0; \
8186 r=`${PWD_COMMAND}`; export r; \
8187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8190 for flag in $(EXTRA_HOST_FLAGS); do \
8191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8193 echo "Doing clean in flex" ; \
8195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8197 "RANLIB=$${RANLIB}" \
8198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8204 .PHONY: maybe-distclean-flex distclean-flex
8205 maybe-distclean-flex:
8207 maybe-distclean-flex: distclean-flex
8210 @[ -f ./flex/Makefile ] || exit 0; \
8211 r=`${PWD_COMMAND}`; export r; \
8212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8215 for flag in $(EXTRA_HOST_FLAGS); do \
8216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8218 echo "Doing distclean in flex" ; \
8220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8222 "RANLIB=$${RANLIB}" \
8223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8229 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8230 maybe-maintainer-clean-flex:
8232 maybe-maintainer-clean-flex: maintainer-clean-flex
8234 maintainer-clean-flex:
8235 @[ -f ./flex/Makefile ] || exit 0; \
8236 r=`${PWD_COMMAND}`; export r; \
8237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8240 for flag in $(EXTRA_HOST_FLAGS); do \
8241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8243 echo "Doing maintainer-clean in flex" ; \
8245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8247 "RANLIB=$${RANLIB}" \
8248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8255 .PHONY: configure-gas maybe-configure-gas
8256 maybe-configure-gas:
8258 maybe-configure-gas: configure-gas
8260 @test ! -f gas/Makefile || exit 0; \
8261 [ -d gas ] || mkdir gas; \
8262 r=`${PWD_COMMAND}`; export r; \
8263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8265 echo Configuring in gas; \
8269 srcdiroption="--srcdir=."; \
8271 /* | [A-Za-z]:[\\/]*) \
8272 srcdiroption="--srcdir=$(srcdir)/gas"; \
8273 libsrcdir="$$s/gas";; \
8275 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8276 libsrcdir="$$s/gas";; \
8278 $(SHELL) $${libsrcdir}/configure \
8279 $(HOST_CONFIGARGS) $${srcdiroption} \
8283 .PHONY: all-gas maybe-all-gas
8286 maybe-all-gas: all-gas
8287 all-gas: configure-gas
8288 @r=`${PWD_COMMAND}`; export r; \
8289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8292 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8295 .PHONY: check-gas maybe-check-gas
8298 maybe-check-gas: check-gas
8301 @r=`${PWD_COMMAND}`; export r; \
8302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8305 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8309 .PHONY: install-gas maybe-install-gas
8312 maybe-install-gas: install-gas
8314 install-gas: installdirs
8315 @r=`${PWD_COMMAND}`; export r; \
8316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8319 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8323 # Other targets (info, dvi, etc.)
8325 .PHONY: maybe-info-gas info-gas
8328 maybe-info-gas: info-gas
8332 @[ -f ./gas/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8337 for flag in $(EXTRA_HOST_FLAGS); do \
8338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8340 echo "Doing info in gas" ; \
8342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8344 "RANLIB=$${RANLIB}" \
8345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8351 .PHONY: maybe-dvi-gas dvi-gas
8354 maybe-dvi-gas: dvi-gas
8358 @[ -f ./gas/Makefile ] || exit 0; \
8359 r=`${PWD_COMMAND}`; export r; \
8360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8363 for flag in $(EXTRA_HOST_FLAGS); do \
8364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8366 echo "Doing dvi in gas" ; \
8368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8370 "RANLIB=$${RANLIB}" \
8371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8377 .PHONY: maybe-TAGS-gas TAGS-gas
8380 maybe-TAGS-gas: TAGS-gas
8384 @[ -f ./gas/Makefile ] || exit 0; \
8385 r=`${PWD_COMMAND}`; export r; \
8386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 for flag in $(EXTRA_HOST_FLAGS); do \
8390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 echo "Doing TAGS in gas" ; \
8394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8396 "RANLIB=$${RANLIB}" \
8397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8403 .PHONY: maybe-install-info-gas install-info-gas
8404 maybe-install-info-gas:
8406 maybe-install-info-gas: install-info-gas
8411 @[ -f ./gas/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8416 for flag in $(EXTRA_HOST_FLAGS); do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8419 echo "Doing install-info in gas" ; \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8430 .PHONY: maybe-installcheck-gas installcheck-gas
8431 maybe-installcheck-gas:
8433 maybe-installcheck-gas: installcheck-gas
8437 @[ -f ./gas/Makefile ] || exit 0; \
8438 r=`${PWD_COMMAND}`; export r; \
8439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 for flag in $(EXTRA_HOST_FLAGS); do \
8443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8445 echo "Doing installcheck in gas" ; \
8447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8449 "RANLIB=$${RANLIB}" \
8450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8456 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8457 maybe-mostlyclean-gas:
8459 maybe-mostlyclean-gas: mostlyclean-gas
8462 @[ -f ./gas/Makefile ] || exit 0; \
8463 r=`${PWD_COMMAND}`; export r; \
8464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467 for flag in $(EXTRA_HOST_FLAGS); do \
8468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8470 echo "Doing mostlyclean in gas" ; \
8472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8474 "RANLIB=$${RANLIB}" \
8475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8481 .PHONY: maybe-clean-gas clean-gas
8484 maybe-clean-gas: clean-gas
8487 @[ -f ./gas/Makefile ] || exit 0; \
8488 r=`${PWD_COMMAND}`; export r; \
8489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8492 for flag in $(EXTRA_HOST_FLAGS); do \
8493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8495 echo "Doing clean in gas" ; \
8497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8499 "RANLIB=$${RANLIB}" \
8500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8506 .PHONY: maybe-distclean-gas distclean-gas
8507 maybe-distclean-gas:
8509 maybe-distclean-gas: distclean-gas
8512 @[ -f ./gas/Makefile ] || exit 0; \
8513 r=`${PWD_COMMAND}`; export r; \
8514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8517 for flag in $(EXTRA_HOST_FLAGS); do \
8518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8520 echo "Doing distclean in gas" ; \
8522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8524 "RANLIB=$${RANLIB}" \
8525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8531 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8532 maybe-maintainer-clean-gas:
8534 maybe-maintainer-clean-gas: maintainer-clean-gas
8536 maintainer-clean-gas:
8537 @[ -f ./gas/Makefile ] || exit 0; \
8538 r=`${PWD_COMMAND}`; export r; \
8539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8542 for flag in $(EXTRA_HOST_FLAGS); do \
8543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8545 echo "Doing maintainer-clean in gas" ; \
8547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8549 "RANLIB=$${RANLIB}" \
8550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8557 .PHONY: configure-gawk maybe-configure-gawk
8558 maybe-configure-gawk:
8560 maybe-configure-gawk: configure-gawk
8562 @test ! -f gawk/Makefile || exit 0; \
8563 [ -d gawk ] || mkdir gawk; \
8564 r=`${PWD_COMMAND}`; export r; \
8565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8567 echo Configuring in gawk; \
8568 cd gawk || exit 1; \
8571 srcdiroption="--srcdir=."; \
8573 /* | [A-Za-z]:[\\/]*) \
8574 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8575 libsrcdir="$$s/gawk";; \
8577 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8578 libsrcdir="$$s/gawk";; \
8580 $(SHELL) $${libsrcdir}/configure \
8581 $(HOST_CONFIGARGS) $${srcdiroption} \
8585 .PHONY: all-gawk maybe-all-gawk
8588 maybe-all-gawk: all-gawk
8589 all-gawk: configure-gawk
8590 @r=`${PWD_COMMAND}`; export r; \
8591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8594 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8597 .PHONY: check-gawk maybe-check-gawk
8600 maybe-check-gawk: check-gawk
8603 @r=`${PWD_COMMAND}`; export r; \
8604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8607 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8611 .PHONY: install-gawk maybe-install-gawk
8614 maybe-install-gawk: install-gawk
8616 install-gawk: installdirs
8617 @r=`${PWD_COMMAND}`; export r; \
8618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8621 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8625 # Other targets (info, dvi, etc.)
8627 .PHONY: maybe-info-gawk info-gawk
8630 maybe-info-gawk: info-gawk
8634 @[ -f ./gawk/Makefile ] || exit 0; \
8635 r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8639 for flag in $(EXTRA_HOST_FLAGS); do \
8640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8642 echo "Doing info in gawk" ; \
8644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8646 "RANLIB=$${RANLIB}" \
8647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8653 .PHONY: maybe-dvi-gawk dvi-gawk
8656 maybe-dvi-gawk: dvi-gawk
8660 @[ -f ./gawk/Makefile ] || exit 0; \
8661 r=`${PWD_COMMAND}`; export r; \
8662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8665 for flag in $(EXTRA_HOST_FLAGS); do \
8666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8668 echo "Doing dvi in gawk" ; \
8670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8672 "RANLIB=$${RANLIB}" \
8673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8679 .PHONY: maybe-TAGS-gawk TAGS-gawk
8682 maybe-TAGS-gawk: TAGS-gawk
8686 @[ -f ./gawk/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8691 for flag in $(EXTRA_HOST_FLAGS); do \
8692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8694 echo "Doing TAGS in gawk" ; \
8696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8698 "RANLIB=$${RANLIB}" \
8699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8705 .PHONY: maybe-install-info-gawk install-info-gawk
8706 maybe-install-info-gawk:
8708 maybe-install-info-gawk: install-info-gawk
8710 install-info-gawk: \
8713 @[ -f ./gawk/Makefile ] || exit 0; \
8714 r=`${PWD_COMMAND}`; export r; \
8715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8718 for flag in $(EXTRA_HOST_FLAGS); do \
8719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8721 echo "Doing install-info in gawk" ; \
8723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8725 "RANLIB=$${RANLIB}" \
8726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8732 .PHONY: maybe-installcheck-gawk installcheck-gawk
8733 maybe-installcheck-gawk:
8735 maybe-installcheck-gawk: installcheck-gawk
8737 installcheck-gawk: \
8739 @[ -f ./gawk/Makefile ] || exit 0; \
8740 r=`${PWD_COMMAND}`; export r; \
8741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8744 for flag in $(EXTRA_HOST_FLAGS); do \
8745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8747 echo "Doing installcheck in gawk" ; \
8749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8751 "RANLIB=$${RANLIB}" \
8752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8758 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
8759 maybe-mostlyclean-gawk:
8761 maybe-mostlyclean-gawk: mostlyclean-gawk
8764 @[ -f ./gawk/Makefile ] || exit 0; \
8765 r=`${PWD_COMMAND}`; export r; \
8766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8769 for flag in $(EXTRA_HOST_FLAGS); do \
8770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8772 echo "Doing mostlyclean in gawk" ; \
8774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8776 "RANLIB=$${RANLIB}" \
8777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8783 .PHONY: maybe-clean-gawk clean-gawk
8786 maybe-clean-gawk: clean-gawk
8789 @[ -f ./gawk/Makefile ] || exit 0; \
8790 r=`${PWD_COMMAND}`; export r; \
8791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8794 for flag in $(EXTRA_HOST_FLAGS); do \
8795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8797 echo "Doing clean in gawk" ; \
8799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8801 "RANLIB=$${RANLIB}" \
8802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8808 .PHONY: maybe-distclean-gawk distclean-gawk
8809 maybe-distclean-gawk:
8811 maybe-distclean-gawk: distclean-gawk
8814 @[ -f ./gawk/Makefile ] || exit 0; \
8815 r=`${PWD_COMMAND}`; export r; \
8816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8819 for flag in $(EXTRA_HOST_FLAGS); do \
8820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8822 echo "Doing distclean in gawk" ; \
8824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8826 "RANLIB=$${RANLIB}" \
8827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8833 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
8834 maybe-maintainer-clean-gawk:
8836 maybe-maintainer-clean-gawk: maintainer-clean-gawk
8838 maintainer-clean-gawk:
8839 @[ -f ./gawk/Makefile ] || exit 0; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8844 for flag in $(EXTRA_HOST_FLAGS); do \
8845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8847 echo "Doing maintainer-clean in gawk" ; \
8849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8851 "RANLIB=$${RANLIB}" \
8852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8859 .PHONY: configure-gettext maybe-configure-gettext
8860 maybe-configure-gettext:
8862 maybe-configure-gettext: configure-gettext
8864 @test ! -f gettext/Makefile || exit 0; \
8865 [ -d gettext ] || mkdir gettext; \
8866 r=`${PWD_COMMAND}`; export r; \
8867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 echo Configuring in gettext; \
8870 cd gettext || exit 1; \
8873 srcdiroption="--srcdir=."; \
8875 /* | [A-Za-z]:[\\/]*) \
8876 srcdiroption="--srcdir=$(srcdir)/gettext"; \
8877 libsrcdir="$$s/gettext";; \
8879 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
8880 libsrcdir="$$s/gettext";; \
8882 $(SHELL) $${libsrcdir}/configure \
8883 $(HOST_CONFIGARGS) $${srcdiroption} \
8887 .PHONY: all-gettext maybe-all-gettext
8890 maybe-all-gettext: all-gettext
8891 all-gettext: configure-gettext
8892 @r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8896 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
8899 .PHONY: check-gettext maybe-check-gettext
8900 maybe-check-gettext:
8902 maybe-check-gettext: check-gettext
8905 @r=`${PWD_COMMAND}`; export r; \
8906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
8913 .PHONY: install-gettext maybe-install-gettext
8914 maybe-install-gettext:
8916 maybe-install-gettext: install-gettext
8918 install-gettext: installdirs
8919 @r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8923 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
8927 # Other targets (info, dvi, etc.)
8929 .PHONY: maybe-info-gettext info-gettext
8932 maybe-info-gettext: info-gettext
8936 @[ -f ./gettext/Makefile ] || exit 0; \
8937 r=`${PWD_COMMAND}`; export r; \
8938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8941 for flag in $(EXTRA_HOST_FLAGS); do \
8942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8944 echo "Doing info in gettext" ; \
8946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8948 "RANLIB=$${RANLIB}" \
8949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8955 .PHONY: maybe-dvi-gettext dvi-gettext
8958 maybe-dvi-gettext: dvi-gettext
8962 @[ -f ./gettext/Makefile ] || exit 0; \
8963 r=`${PWD_COMMAND}`; export r; \
8964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8967 for flag in $(EXTRA_HOST_FLAGS); do \
8968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8970 echo "Doing dvi in gettext" ; \
8972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8974 "RANLIB=$${RANLIB}" \
8975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8981 .PHONY: maybe-TAGS-gettext TAGS-gettext
8984 maybe-TAGS-gettext: TAGS-gettext
8988 @[ -f ./gettext/Makefile ] || exit 0; \
8989 r=`${PWD_COMMAND}`; export r; \
8990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8993 for flag in $(EXTRA_HOST_FLAGS); do \
8994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8996 echo "Doing TAGS in gettext" ; \
8998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9000 "RANLIB=$${RANLIB}" \
9001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9007 .PHONY: maybe-install-info-gettext install-info-gettext
9008 maybe-install-info-gettext:
9010 maybe-install-info-gettext: install-info-gettext
9012 install-info-gettext: \
9015 @[ -f ./gettext/Makefile ] || exit 0; \
9016 r=`${PWD_COMMAND}`; export r; \
9017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9020 for flag in $(EXTRA_HOST_FLAGS); do \
9021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9023 echo "Doing install-info in gettext" ; \
9025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9027 "RANLIB=$${RANLIB}" \
9028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9034 .PHONY: maybe-installcheck-gettext installcheck-gettext
9035 maybe-installcheck-gettext:
9037 maybe-installcheck-gettext: installcheck-gettext
9039 installcheck-gettext: \
9041 @[ -f ./gettext/Makefile ] || exit 0; \
9042 r=`${PWD_COMMAND}`; export r; \
9043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9046 for flag in $(EXTRA_HOST_FLAGS); do \
9047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9049 echo "Doing installcheck in gettext" ; \
9051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9053 "RANLIB=$${RANLIB}" \
9054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9060 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9061 maybe-mostlyclean-gettext:
9063 maybe-mostlyclean-gettext: mostlyclean-gettext
9065 mostlyclean-gettext:
9066 @[ -f ./gettext/Makefile ] || exit 0; \
9067 r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9071 for flag in $(EXTRA_HOST_FLAGS); do \
9072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9074 echo "Doing mostlyclean in gettext" ; \
9076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9078 "RANLIB=$${RANLIB}" \
9079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9085 .PHONY: maybe-clean-gettext clean-gettext
9086 maybe-clean-gettext:
9088 maybe-clean-gettext: clean-gettext
9091 @[ -f ./gettext/Makefile ] || exit 0; \
9092 r=`${PWD_COMMAND}`; export r; \
9093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9096 for flag in $(EXTRA_HOST_FLAGS); do \
9097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9099 echo "Doing clean in gettext" ; \
9101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9103 "RANLIB=$${RANLIB}" \
9104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9110 .PHONY: maybe-distclean-gettext distclean-gettext
9111 maybe-distclean-gettext:
9113 maybe-distclean-gettext: distclean-gettext
9116 @[ -f ./gettext/Makefile ] || exit 0; \
9117 r=`${PWD_COMMAND}`; export r; \
9118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 for flag in $(EXTRA_HOST_FLAGS); do \
9122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9124 echo "Doing distclean in gettext" ; \
9126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9128 "RANLIB=$${RANLIB}" \
9129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9135 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9136 maybe-maintainer-clean-gettext:
9138 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9140 maintainer-clean-gettext:
9141 @[ -f ./gettext/Makefile ] || exit 0; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9146 for flag in $(EXTRA_HOST_FLAGS); do \
9147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9149 echo "Doing maintainer-clean in gettext" ; \
9151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9153 "RANLIB=$${RANLIB}" \
9154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9161 .PHONY: configure-gnuserv maybe-configure-gnuserv
9162 maybe-configure-gnuserv:
9164 maybe-configure-gnuserv: configure-gnuserv
9166 @test ! -f gnuserv/Makefile || exit 0; \
9167 [ -d gnuserv ] || mkdir gnuserv; \
9168 r=`${PWD_COMMAND}`; export r; \
9169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9171 echo Configuring in gnuserv; \
9172 cd gnuserv || exit 1; \
9175 srcdiroption="--srcdir=."; \
9177 /* | [A-Za-z]:[\\/]*) \
9178 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9179 libsrcdir="$$s/gnuserv";; \
9181 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9182 libsrcdir="$$s/gnuserv";; \
9184 $(SHELL) $${libsrcdir}/configure \
9185 $(HOST_CONFIGARGS) $${srcdiroption} \
9189 .PHONY: all-gnuserv maybe-all-gnuserv
9192 maybe-all-gnuserv: all-gnuserv
9193 all-gnuserv: configure-gnuserv
9194 @r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9198 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9201 .PHONY: check-gnuserv maybe-check-gnuserv
9202 maybe-check-gnuserv:
9204 maybe-check-gnuserv: check-gnuserv
9207 @r=`${PWD_COMMAND}`; export r; \
9208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9211 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9215 .PHONY: install-gnuserv maybe-install-gnuserv
9216 maybe-install-gnuserv:
9218 maybe-install-gnuserv: install-gnuserv
9220 install-gnuserv: installdirs
9221 @r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9225 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9229 # Other targets (info, dvi, etc.)
9231 .PHONY: maybe-info-gnuserv info-gnuserv
9234 maybe-info-gnuserv: info-gnuserv
9238 @[ -f ./gnuserv/Makefile ] || exit 0; \
9239 r=`${PWD_COMMAND}`; export r; \
9240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9243 for flag in $(EXTRA_HOST_FLAGS); do \
9244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9246 echo "Doing info in gnuserv" ; \
9248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9250 "RANLIB=$${RANLIB}" \
9251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9257 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9260 maybe-dvi-gnuserv: dvi-gnuserv
9264 @[ -f ./gnuserv/Makefile ] || exit 0; \
9265 r=`${PWD_COMMAND}`; export r; \
9266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9269 for flag in $(EXTRA_HOST_FLAGS); do \
9270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9272 echo "Doing dvi in gnuserv" ; \
9274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9276 "RANLIB=$${RANLIB}" \
9277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9283 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9286 maybe-TAGS-gnuserv: TAGS-gnuserv
9290 @[ -f ./gnuserv/Makefile ] || exit 0; \
9291 r=`${PWD_COMMAND}`; export r; \
9292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9295 for flag in $(EXTRA_HOST_FLAGS); do \
9296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9298 echo "Doing TAGS in gnuserv" ; \
9300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9302 "RANLIB=$${RANLIB}" \
9303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9309 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9310 maybe-install-info-gnuserv:
9312 maybe-install-info-gnuserv: install-info-gnuserv
9314 install-info-gnuserv: \
9317 @[ -f ./gnuserv/Makefile ] || exit 0; \
9318 r=`${PWD_COMMAND}`; export r; \
9319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9322 for flag in $(EXTRA_HOST_FLAGS); do \
9323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9325 echo "Doing install-info in gnuserv" ; \
9327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9329 "RANLIB=$${RANLIB}" \
9330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9336 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9337 maybe-installcheck-gnuserv:
9339 maybe-installcheck-gnuserv: installcheck-gnuserv
9341 installcheck-gnuserv: \
9343 @[ -f ./gnuserv/Makefile ] || exit 0; \
9344 r=`${PWD_COMMAND}`; export r; \
9345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9348 for flag in $(EXTRA_HOST_FLAGS); do \
9349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9351 echo "Doing installcheck in gnuserv" ; \
9353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9355 "RANLIB=$${RANLIB}" \
9356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9362 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9363 maybe-mostlyclean-gnuserv:
9365 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9367 mostlyclean-gnuserv:
9368 @[ -f ./gnuserv/Makefile ] || exit 0; \
9369 r=`${PWD_COMMAND}`; export r; \
9370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9373 for flag in $(EXTRA_HOST_FLAGS); do \
9374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9376 echo "Doing mostlyclean in gnuserv" ; \
9378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9380 "RANLIB=$${RANLIB}" \
9381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9387 .PHONY: maybe-clean-gnuserv clean-gnuserv
9388 maybe-clean-gnuserv:
9390 maybe-clean-gnuserv: clean-gnuserv
9393 @[ -f ./gnuserv/Makefile ] || exit 0; \
9394 r=`${PWD_COMMAND}`; export r; \
9395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9398 for flag in $(EXTRA_HOST_FLAGS); do \
9399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9401 echo "Doing clean in gnuserv" ; \
9403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9405 "RANLIB=$${RANLIB}" \
9406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9412 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9413 maybe-distclean-gnuserv:
9415 maybe-distclean-gnuserv: distclean-gnuserv
9418 @[ -f ./gnuserv/Makefile ] || exit 0; \
9419 r=`${PWD_COMMAND}`; export r; \
9420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9423 for flag in $(EXTRA_HOST_FLAGS); do \
9424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9426 echo "Doing distclean in gnuserv" ; \
9428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9430 "RANLIB=$${RANLIB}" \
9431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9437 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9438 maybe-maintainer-clean-gnuserv:
9440 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9442 maintainer-clean-gnuserv:
9443 @[ -f ./gnuserv/Makefile ] || exit 0; \
9444 r=`${PWD_COMMAND}`; export r; \
9445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9448 for flag in $(EXTRA_HOST_FLAGS); do \
9449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9451 echo "Doing maintainer-clean in gnuserv" ; \
9453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9455 "RANLIB=$${RANLIB}" \
9456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9463 .PHONY: configure-gprof maybe-configure-gprof
9464 maybe-configure-gprof:
9466 maybe-configure-gprof: configure-gprof
9468 @test ! -f gprof/Makefile || exit 0; \
9469 [ -d gprof ] || mkdir gprof; \
9470 r=`${PWD_COMMAND}`; export r; \
9471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9473 echo Configuring in gprof; \
9474 cd gprof || exit 1; \
9477 srcdiroption="--srcdir=."; \
9479 /* | [A-Za-z]:[\\/]*) \
9480 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9481 libsrcdir="$$s/gprof";; \
9483 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9484 libsrcdir="$$s/gprof";; \
9486 $(SHELL) $${libsrcdir}/configure \
9487 $(HOST_CONFIGARGS) $${srcdiroption} \
9491 .PHONY: all-gprof maybe-all-gprof
9494 maybe-all-gprof: all-gprof
9495 all-gprof: configure-gprof
9496 @r=`${PWD_COMMAND}`; export r; \
9497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9500 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9503 .PHONY: check-gprof maybe-check-gprof
9506 maybe-check-gprof: check-gprof
9509 @r=`${PWD_COMMAND}`; export r; \
9510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9513 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9517 .PHONY: install-gprof maybe-install-gprof
9518 maybe-install-gprof:
9520 maybe-install-gprof: install-gprof
9522 install-gprof: installdirs
9523 @r=`${PWD_COMMAND}`; export r; \
9524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9531 # Other targets (info, dvi, etc.)
9533 .PHONY: maybe-info-gprof info-gprof
9536 maybe-info-gprof: info-gprof
9540 @[ -f ./gprof/Makefile ] || exit 0; \
9541 r=`${PWD_COMMAND}`; export r; \
9542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9545 for flag in $(EXTRA_HOST_FLAGS); do \
9546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9548 echo "Doing info in gprof" ; \
9550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9552 "RANLIB=$${RANLIB}" \
9553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9559 .PHONY: maybe-dvi-gprof dvi-gprof
9562 maybe-dvi-gprof: dvi-gprof
9566 @[ -f ./gprof/Makefile ] || exit 0; \
9567 r=`${PWD_COMMAND}`; export r; \
9568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9571 for flag in $(EXTRA_HOST_FLAGS); do \
9572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9574 echo "Doing dvi in gprof" ; \
9576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9578 "RANLIB=$${RANLIB}" \
9579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9585 .PHONY: maybe-TAGS-gprof TAGS-gprof
9588 maybe-TAGS-gprof: TAGS-gprof
9592 @[ -f ./gprof/Makefile ] || exit 0; \
9593 r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9597 for flag in $(EXTRA_HOST_FLAGS); do \
9598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9600 echo "Doing TAGS in gprof" ; \
9602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9604 "RANLIB=$${RANLIB}" \
9605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9611 .PHONY: maybe-install-info-gprof install-info-gprof
9612 maybe-install-info-gprof:
9614 maybe-install-info-gprof: install-info-gprof
9616 install-info-gprof: \
9619 @[ -f ./gprof/Makefile ] || exit 0; \
9620 r=`${PWD_COMMAND}`; export r; \
9621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9624 for flag in $(EXTRA_HOST_FLAGS); do \
9625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9627 echo "Doing install-info in gprof" ; \
9629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9631 "RANLIB=$${RANLIB}" \
9632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9638 .PHONY: maybe-installcheck-gprof installcheck-gprof
9639 maybe-installcheck-gprof:
9641 maybe-installcheck-gprof: installcheck-gprof
9643 installcheck-gprof: \
9645 @[ -f ./gprof/Makefile ] || exit 0; \
9646 r=`${PWD_COMMAND}`; export r; \
9647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9650 for flag in $(EXTRA_HOST_FLAGS); do \
9651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9653 echo "Doing installcheck in gprof" ; \
9655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9657 "RANLIB=$${RANLIB}" \
9658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9664 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9665 maybe-mostlyclean-gprof:
9667 maybe-mostlyclean-gprof: mostlyclean-gprof
9670 @[ -f ./gprof/Makefile ] || exit 0; \
9671 r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9675 for flag in $(EXTRA_HOST_FLAGS); do \
9676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9678 echo "Doing mostlyclean in gprof" ; \
9680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9682 "RANLIB=$${RANLIB}" \
9683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9689 .PHONY: maybe-clean-gprof clean-gprof
9692 maybe-clean-gprof: clean-gprof
9695 @[ -f ./gprof/Makefile ] || exit 0; \
9696 r=`${PWD_COMMAND}`; export r; \
9697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 for flag in $(EXTRA_HOST_FLAGS); do \
9701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 echo "Doing clean in gprof" ; \
9705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9707 "RANLIB=$${RANLIB}" \
9708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9714 .PHONY: maybe-distclean-gprof distclean-gprof
9715 maybe-distclean-gprof:
9717 maybe-distclean-gprof: distclean-gprof
9720 @[ -f ./gprof/Makefile ] || exit 0; \
9721 r=`${PWD_COMMAND}`; export r; \
9722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9725 for flag in $(EXTRA_HOST_FLAGS); do \
9726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9728 echo "Doing distclean in gprof" ; \
9730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9732 "RANLIB=$${RANLIB}" \
9733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9739 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
9740 maybe-maintainer-clean-gprof:
9742 maybe-maintainer-clean-gprof: maintainer-clean-gprof
9744 maintainer-clean-gprof:
9745 @[ -f ./gprof/Makefile ] || exit 0; \
9746 r=`${PWD_COMMAND}`; export r; \
9747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9750 for flag in $(EXTRA_HOST_FLAGS); do \
9751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9753 echo "Doing maintainer-clean in gprof" ; \
9755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9757 "RANLIB=$${RANLIB}" \
9758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9765 .PHONY: configure-gzip maybe-configure-gzip
9766 maybe-configure-gzip:
9768 maybe-configure-gzip: configure-gzip
9770 @test ! -f gzip/Makefile || exit 0; \
9771 [ -d gzip ] || mkdir gzip; \
9772 r=`${PWD_COMMAND}`; export r; \
9773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9775 echo Configuring in gzip; \
9776 cd gzip || exit 1; \
9779 srcdiroption="--srcdir=."; \
9781 /* | [A-Za-z]:[\\/]*) \
9782 srcdiroption="--srcdir=$(srcdir)/gzip"; \
9783 libsrcdir="$$s/gzip";; \
9785 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
9786 libsrcdir="$$s/gzip";; \
9788 $(SHELL) $${libsrcdir}/configure \
9789 $(HOST_CONFIGARGS) $${srcdiroption} \
9793 .PHONY: all-gzip maybe-all-gzip
9796 maybe-all-gzip: all-gzip
9797 all-gzip: configure-gzip
9798 @r=`${PWD_COMMAND}`; export r; \
9799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9802 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
9805 .PHONY: check-gzip maybe-check-gzip
9808 maybe-check-gzip: check-gzip
9811 @r=`${PWD_COMMAND}`; export r; \
9812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9815 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
9819 .PHONY: install-gzip maybe-install-gzip
9822 maybe-install-gzip: install-gzip
9824 install-gzip: installdirs
9825 @r=`${PWD_COMMAND}`; export r; \
9826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
9833 # Other targets (info, dvi, etc.)
9835 .PHONY: maybe-info-gzip info-gzip
9838 maybe-info-gzip: info-gzip
9842 @[ -f ./gzip/Makefile ] || exit 0; \
9843 r=`${PWD_COMMAND}`; export r; \
9844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9847 for flag in $(EXTRA_HOST_FLAGS); do \
9848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9850 echo "Doing info in gzip" ; \
9852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9854 "RANLIB=$${RANLIB}" \
9855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9861 .PHONY: maybe-dvi-gzip dvi-gzip
9864 maybe-dvi-gzip: dvi-gzip
9868 @[ -f ./gzip/Makefile ] || exit 0; \
9869 r=`${PWD_COMMAND}`; export r; \
9870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9873 for flag in $(EXTRA_HOST_FLAGS); do \
9874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9876 echo "Doing dvi in gzip" ; \
9878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9880 "RANLIB=$${RANLIB}" \
9881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9887 .PHONY: maybe-TAGS-gzip TAGS-gzip
9890 maybe-TAGS-gzip: TAGS-gzip
9894 @[ -f ./gzip/Makefile ] || exit 0; \
9895 r=`${PWD_COMMAND}`; export r; \
9896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9899 for flag in $(EXTRA_HOST_FLAGS); do \
9900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9902 echo "Doing TAGS in gzip" ; \
9904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9906 "RANLIB=$${RANLIB}" \
9907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9913 .PHONY: maybe-install-info-gzip install-info-gzip
9914 maybe-install-info-gzip:
9916 maybe-install-info-gzip: install-info-gzip
9918 install-info-gzip: \
9921 @[ -f ./gzip/Makefile ] || exit 0; \
9922 r=`${PWD_COMMAND}`; export r; \
9923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9926 for flag in $(EXTRA_HOST_FLAGS); do \
9927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9929 echo "Doing install-info in gzip" ; \
9931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9933 "RANLIB=$${RANLIB}" \
9934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9940 .PHONY: maybe-installcheck-gzip installcheck-gzip
9941 maybe-installcheck-gzip:
9943 maybe-installcheck-gzip: installcheck-gzip
9945 installcheck-gzip: \
9947 @[ -f ./gzip/Makefile ] || exit 0; \
9948 r=`${PWD_COMMAND}`; export r; \
9949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9952 for flag in $(EXTRA_HOST_FLAGS); do \
9953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9955 echo "Doing installcheck in gzip" ; \
9957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9959 "RANLIB=$${RANLIB}" \
9960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9966 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
9967 maybe-mostlyclean-gzip:
9969 maybe-mostlyclean-gzip: mostlyclean-gzip
9972 @[ -f ./gzip/Makefile ] || exit 0; \
9973 r=`${PWD_COMMAND}`; export r; \
9974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9977 for flag in $(EXTRA_HOST_FLAGS); do \
9978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9980 echo "Doing mostlyclean in gzip" ; \
9982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9984 "RANLIB=$${RANLIB}" \
9985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9991 .PHONY: maybe-clean-gzip clean-gzip
9994 maybe-clean-gzip: clean-gzip
9997 @[ -f ./gzip/Makefile ] || exit 0; \
9998 r=`${PWD_COMMAND}`; export r; \
9999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10002 for flag in $(EXTRA_HOST_FLAGS); do \
10003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10005 echo "Doing clean in gzip" ; \
10007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10009 "RANLIB=$${RANLIB}" \
10010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10016 .PHONY: maybe-distclean-gzip distclean-gzip
10017 maybe-distclean-gzip:
10019 maybe-distclean-gzip: distclean-gzip
10022 @[ -f ./gzip/Makefile ] || exit 0; \
10023 r=`${PWD_COMMAND}`; export r; \
10024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10027 for flag in $(EXTRA_HOST_FLAGS); do \
10028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10030 echo "Doing distclean in gzip" ; \
10032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10034 "RANLIB=$${RANLIB}" \
10035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10041 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10042 maybe-maintainer-clean-gzip:
10044 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10046 maintainer-clean-gzip:
10047 @[ -f ./gzip/Makefile ] || exit 0; \
10048 r=`${PWD_COMMAND}`; export r; \
10049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10052 for flag in $(EXTRA_HOST_FLAGS); do \
10053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10055 echo "Doing maintainer-clean in gzip" ; \
10057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10059 "RANLIB=$${RANLIB}" \
10060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10061 maintainer-clean) \
10067 .PHONY: configure-hello maybe-configure-hello
10068 maybe-configure-hello:
10070 maybe-configure-hello: configure-hello
10072 @test ! -f hello/Makefile || exit 0; \
10073 [ -d hello ] || mkdir hello; \
10074 r=`${PWD_COMMAND}`; export r; \
10075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10077 echo Configuring in hello; \
10078 cd hello || exit 1; \
10079 case $(srcdir) in \
10081 srcdiroption="--srcdir=."; \
10083 /* | [A-Za-z]:[\\/]*) \
10084 srcdiroption="--srcdir=$(srcdir)/hello"; \
10085 libsrcdir="$$s/hello";; \
10087 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10088 libsrcdir="$$s/hello";; \
10090 $(SHELL) $${libsrcdir}/configure \
10091 $(HOST_CONFIGARGS) $${srcdiroption} \
10095 .PHONY: all-hello maybe-all-hello
10098 maybe-all-hello: all-hello
10099 all-hello: configure-hello
10100 @r=`${PWD_COMMAND}`; export r; \
10101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10104 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10107 .PHONY: check-hello maybe-check-hello
10110 maybe-check-hello: check-hello
10113 @r=`${PWD_COMMAND}`; export r; \
10114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10117 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10121 .PHONY: install-hello maybe-install-hello
10122 maybe-install-hello:
10124 maybe-install-hello: install-hello
10126 install-hello: installdirs
10127 @r=`${PWD_COMMAND}`; export r; \
10128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10131 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10135 # Other targets (info, dvi, etc.)
10137 .PHONY: maybe-info-hello info-hello
10140 maybe-info-hello: info-hello
10144 @[ -f ./hello/Makefile ] || exit 0; \
10145 r=`${PWD_COMMAND}`; export r; \
10146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10149 for flag in $(EXTRA_HOST_FLAGS); do \
10150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10152 echo "Doing info in hello" ; \
10154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10156 "RANLIB=$${RANLIB}" \
10157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10163 .PHONY: maybe-dvi-hello dvi-hello
10166 maybe-dvi-hello: dvi-hello
10170 @[ -f ./hello/Makefile ] || exit 0; \
10171 r=`${PWD_COMMAND}`; export r; \
10172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10175 for flag in $(EXTRA_HOST_FLAGS); do \
10176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10178 echo "Doing dvi in hello" ; \
10180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10182 "RANLIB=$${RANLIB}" \
10183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10189 .PHONY: maybe-TAGS-hello TAGS-hello
10192 maybe-TAGS-hello: TAGS-hello
10196 @[ -f ./hello/Makefile ] || exit 0; \
10197 r=`${PWD_COMMAND}`; export r; \
10198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10201 for flag in $(EXTRA_HOST_FLAGS); do \
10202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10204 echo "Doing TAGS in hello" ; \
10206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10208 "RANLIB=$${RANLIB}" \
10209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10215 .PHONY: maybe-install-info-hello install-info-hello
10216 maybe-install-info-hello:
10218 maybe-install-info-hello: install-info-hello
10220 install-info-hello: \
10223 @[ -f ./hello/Makefile ] || exit 0; \
10224 r=`${PWD_COMMAND}`; export r; \
10225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10228 for flag in $(EXTRA_HOST_FLAGS); do \
10229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10231 echo "Doing install-info in hello" ; \
10233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10235 "RANLIB=$${RANLIB}" \
10236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10242 .PHONY: maybe-installcheck-hello installcheck-hello
10243 maybe-installcheck-hello:
10245 maybe-installcheck-hello: installcheck-hello
10247 installcheck-hello: \
10249 @[ -f ./hello/Makefile ] || exit 0; \
10250 r=`${PWD_COMMAND}`; export r; \
10251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10254 for flag in $(EXTRA_HOST_FLAGS); do \
10255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10257 echo "Doing installcheck in hello" ; \
10259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10261 "RANLIB=$${RANLIB}" \
10262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10268 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10269 maybe-mostlyclean-hello:
10271 maybe-mostlyclean-hello: mostlyclean-hello
10274 @[ -f ./hello/Makefile ] || exit 0; \
10275 r=`${PWD_COMMAND}`; export r; \
10276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10279 for flag in $(EXTRA_HOST_FLAGS); do \
10280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10282 echo "Doing mostlyclean in hello" ; \
10284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10286 "RANLIB=$${RANLIB}" \
10287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10293 .PHONY: maybe-clean-hello clean-hello
10296 maybe-clean-hello: clean-hello
10299 @[ -f ./hello/Makefile ] || exit 0; \
10300 r=`${PWD_COMMAND}`; export r; \
10301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10304 for flag in $(EXTRA_HOST_FLAGS); do \
10305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10307 echo "Doing clean in hello" ; \
10309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10311 "RANLIB=$${RANLIB}" \
10312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10318 .PHONY: maybe-distclean-hello distclean-hello
10319 maybe-distclean-hello:
10321 maybe-distclean-hello: distclean-hello
10324 @[ -f ./hello/Makefile ] || exit 0; \
10325 r=`${PWD_COMMAND}`; export r; \
10326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10329 for flag in $(EXTRA_HOST_FLAGS); do \
10330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10332 echo "Doing distclean in hello" ; \
10334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10336 "RANLIB=$${RANLIB}" \
10337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10343 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10344 maybe-maintainer-clean-hello:
10346 maybe-maintainer-clean-hello: maintainer-clean-hello
10348 maintainer-clean-hello:
10349 @[ -f ./hello/Makefile ] || exit 0; \
10350 r=`${PWD_COMMAND}`; export r; \
10351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10354 for flag in $(EXTRA_HOST_FLAGS); do \
10355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 echo "Doing maintainer-clean in hello" ; \
10359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10361 "RANLIB=$${RANLIB}" \
10362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10363 maintainer-clean) \
10369 .PHONY: configure-indent maybe-configure-indent
10370 maybe-configure-indent:
10372 maybe-configure-indent: configure-indent
10374 @test ! -f indent/Makefile || exit 0; \
10375 [ -d indent ] || mkdir indent; \
10376 r=`${PWD_COMMAND}`; export r; \
10377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 echo Configuring in indent; \
10380 cd indent || exit 1; \
10381 case $(srcdir) in \
10383 srcdiroption="--srcdir=."; \
10385 /* | [A-Za-z]:[\\/]*) \
10386 srcdiroption="--srcdir=$(srcdir)/indent"; \
10387 libsrcdir="$$s/indent";; \
10389 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10390 libsrcdir="$$s/indent";; \
10392 $(SHELL) $${libsrcdir}/configure \
10393 $(HOST_CONFIGARGS) $${srcdiroption} \
10397 .PHONY: all-indent maybe-all-indent
10400 maybe-all-indent: all-indent
10401 all-indent: configure-indent
10402 @r=`${PWD_COMMAND}`; export r; \
10403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10406 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10409 .PHONY: check-indent maybe-check-indent
10410 maybe-check-indent:
10412 maybe-check-indent: check-indent
10415 @r=`${PWD_COMMAND}`; export r; \
10416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10419 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10423 .PHONY: install-indent maybe-install-indent
10424 maybe-install-indent:
10426 maybe-install-indent: install-indent
10428 install-indent: installdirs
10429 @r=`${PWD_COMMAND}`; export r; \
10430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10437 # Other targets (info, dvi, etc.)
10439 .PHONY: maybe-info-indent info-indent
10442 maybe-info-indent: info-indent
10446 @[ -f ./indent/Makefile ] || exit 0; \
10447 r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10451 for flag in $(EXTRA_HOST_FLAGS); do \
10452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10454 echo "Doing info in indent" ; \
10456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10458 "RANLIB=$${RANLIB}" \
10459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10465 .PHONY: maybe-dvi-indent dvi-indent
10468 maybe-dvi-indent: dvi-indent
10472 @[ -f ./indent/Makefile ] || exit 0; \
10473 r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10477 for flag in $(EXTRA_HOST_FLAGS); do \
10478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10480 echo "Doing dvi in indent" ; \
10482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10484 "RANLIB=$${RANLIB}" \
10485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10491 .PHONY: maybe-TAGS-indent TAGS-indent
10494 maybe-TAGS-indent: TAGS-indent
10498 @[ -f ./indent/Makefile ] || exit 0; \
10499 r=`${PWD_COMMAND}`; export r; \
10500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10503 for flag in $(EXTRA_HOST_FLAGS); do \
10504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10506 echo "Doing TAGS in indent" ; \
10508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10510 "RANLIB=$${RANLIB}" \
10511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10517 .PHONY: maybe-install-info-indent install-info-indent
10518 maybe-install-info-indent:
10520 maybe-install-info-indent: install-info-indent
10522 install-info-indent: \
10525 @[ -f ./indent/Makefile ] || exit 0; \
10526 r=`${PWD_COMMAND}`; export r; \
10527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 for flag in $(EXTRA_HOST_FLAGS); do \
10531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10533 echo "Doing install-info in indent" ; \
10535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10537 "RANLIB=$${RANLIB}" \
10538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10544 .PHONY: maybe-installcheck-indent installcheck-indent
10545 maybe-installcheck-indent:
10547 maybe-installcheck-indent: installcheck-indent
10549 installcheck-indent: \
10551 @[ -f ./indent/Makefile ] || exit 0; \
10552 r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10556 for flag in $(EXTRA_HOST_FLAGS); do \
10557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10559 echo "Doing installcheck in indent" ; \
10561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10563 "RANLIB=$${RANLIB}" \
10564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10570 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10571 maybe-mostlyclean-indent:
10573 maybe-mostlyclean-indent: mostlyclean-indent
10575 mostlyclean-indent:
10576 @[ -f ./indent/Makefile ] || exit 0; \
10577 r=`${PWD_COMMAND}`; export r; \
10578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 for flag in $(EXTRA_HOST_FLAGS); do \
10582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10584 echo "Doing mostlyclean in indent" ; \
10586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10588 "RANLIB=$${RANLIB}" \
10589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10595 .PHONY: maybe-clean-indent clean-indent
10596 maybe-clean-indent:
10598 maybe-clean-indent: clean-indent
10601 @[ -f ./indent/Makefile ] || exit 0; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10606 for flag in $(EXTRA_HOST_FLAGS); do \
10607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10609 echo "Doing clean in indent" ; \
10611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10613 "RANLIB=$${RANLIB}" \
10614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10620 .PHONY: maybe-distclean-indent distclean-indent
10621 maybe-distclean-indent:
10623 maybe-distclean-indent: distclean-indent
10626 @[ -f ./indent/Makefile ] || exit 0; \
10627 r=`${PWD_COMMAND}`; export r; \
10628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 for flag in $(EXTRA_HOST_FLAGS); do \
10632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10634 echo "Doing distclean in indent" ; \
10636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10638 "RANLIB=$${RANLIB}" \
10639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10645 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10646 maybe-maintainer-clean-indent:
10648 maybe-maintainer-clean-indent: maintainer-clean-indent
10650 maintainer-clean-indent:
10651 @[ -f ./indent/Makefile ] || exit 0; \
10652 r=`${PWD_COMMAND}`; export r; \
10653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 for flag in $(EXTRA_HOST_FLAGS); do \
10657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10659 echo "Doing maintainer-clean in indent" ; \
10661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10663 "RANLIB=$${RANLIB}" \
10664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10665 maintainer-clean) \
10671 .PHONY: configure-intl maybe-configure-intl
10672 maybe-configure-intl:
10674 maybe-configure-intl: configure-intl
10676 @test ! -f intl/Makefile || exit 0; \
10677 [ -d intl ] || mkdir intl; \
10678 r=`${PWD_COMMAND}`; export r; \
10679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 echo Configuring in intl; \
10682 cd intl || exit 1; \
10683 case $(srcdir) in \
10685 srcdiroption="--srcdir=."; \
10687 /* | [A-Za-z]:[\\/]*) \
10688 srcdiroption="--srcdir=$(srcdir)/intl"; \
10689 libsrcdir="$$s/intl";; \
10691 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10692 libsrcdir="$$s/intl";; \
10694 $(SHELL) $${libsrcdir}/configure \
10695 $(HOST_CONFIGARGS) $${srcdiroption} \
10699 .PHONY: all-intl maybe-all-intl
10702 maybe-all-intl: all-intl
10703 all-intl: configure-intl
10704 @r=`${PWD_COMMAND}`; export r; \
10705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10708 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10711 .PHONY: check-intl maybe-check-intl
10714 maybe-check-intl: check-intl
10717 @r=`${PWD_COMMAND}`; export r; \
10718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10721 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10725 .PHONY: install-intl maybe-install-intl
10726 maybe-install-intl:
10728 maybe-install-intl: install-intl
10730 install-intl: installdirs
10731 @r=`${PWD_COMMAND}`; export r; \
10732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10735 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
10739 # Other targets (info, dvi, etc.)
10741 .PHONY: maybe-info-intl info-intl
10744 maybe-info-intl: info-intl
10748 @[ -f ./intl/Makefile ] || exit 0; \
10749 r=`${PWD_COMMAND}`; export r; \
10750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10753 for flag in $(EXTRA_HOST_FLAGS); do \
10754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10756 echo "Doing info in intl" ; \
10758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10760 "RANLIB=$${RANLIB}" \
10761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10767 .PHONY: maybe-dvi-intl dvi-intl
10770 maybe-dvi-intl: dvi-intl
10774 @[ -f ./intl/Makefile ] || exit 0; \
10775 r=`${PWD_COMMAND}`; export r; \
10776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10779 for flag in $(EXTRA_HOST_FLAGS); do \
10780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10782 echo "Doing dvi in intl" ; \
10784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10786 "RANLIB=$${RANLIB}" \
10787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10793 .PHONY: maybe-TAGS-intl TAGS-intl
10796 maybe-TAGS-intl: TAGS-intl
10800 @[ -f ./intl/Makefile ] || exit 0; \
10801 r=`${PWD_COMMAND}`; export r; \
10802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 for flag in $(EXTRA_HOST_FLAGS); do \
10806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10808 echo "Doing TAGS in intl" ; \
10810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10812 "RANLIB=$${RANLIB}" \
10813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10819 .PHONY: maybe-install-info-intl install-info-intl
10820 maybe-install-info-intl:
10822 maybe-install-info-intl: install-info-intl
10824 install-info-intl: \
10827 @[ -f ./intl/Makefile ] || exit 0; \
10828 r=`${PWD_COMMAND}`; export r; \
10829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10832 for flag in $(EXTRA_HOST_FLAGS); do \
10833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10835 echo "Doing install-info in intl" ; \
10837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10839 "RANLIB=$${RANLIB}" \
10840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10846 .PHONY: maybe-installcheck-intl installcheck-intl
10847 maybe-installcheck-intl:
10849 maybe-installcheck-intl: installcheck-intl
10851 installcheck-intl: \
10853 @[ -f ./intl/Makefile ] || exit 0; \
10854 r=`${PWD_COMMAND}`; export r; \
10855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10858 for flag in $(EXTRA_HOST_FLAGS); do \
10859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10861 echo "Doing installcheck in intl" ; \
10863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10865 "RANLIB=$${RANLIB}" \
10866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10872 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
10873 maybe-mostlyclean-intl:
10875 maybe-mostlyclean-intl: mostlyclean-intl
10878 @[ -f ./intl/Makefile ] || exit 0; \
10879 r=`${PWD_COMMAND}`; export r; \
10880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10883 for flag in $(EXTRA_HOST_FLAGS); do \
10884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10886 echo "Doing mostlyclean in intl" ; \
10888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10890 "RANLIB=$${RANLIB}" \
10891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10897 .PHONY: maybe-clean-intl clean-intl
10900 maybe-clean-intl: clean-intl
10903 @[ -f ./intl/Makefile ] || exit 0; \
10904 r=`${PWD_COMMAND}`; export r; \
10905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10908 for flag in $(EXTRA_HOST_FLAGS); do \
10909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10911 echo "Doing clean in intl" ; \
10913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10915 "RANLIB=$${RANLIB}" \
10916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10922 .PHONY: maybe-distclean-intl distclean-intl
10923 maybe-distclean-intl:
10925 maybe-distclean-intl: distclean-intl
10928 @[ -f ./intl/Makefile ] || exit 0; \
10929 r=`${PWD_COMMAND}`; export r; \
10930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10933 for flag in $(EXTRA_HOST_FLAGS); do \
10934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10936 echo "Doing distclean in intl" ; \
10938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10940 "RANLIB=$${RANLIB}" \
10941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10947 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
10948 maybe-maintainer-clean-intl:
10950 maybe-maintainer-clean-intl: maintainer-clean-intl
10952 maintainer-clean-intl:
10953 @[ -f ./intl/Makefile ] || exit 0; \
10954 r=`${PWD_COMMAND}`; export r; \
10955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10958 for flag in $(EXTRA_HOST_FLAGS); do \
10959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10961 echo "Doing maintainer-clean in intl" ; \
10963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10965 "RANLIB=$${RANLIB}" \
10966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10967 maintainer-clean) \
10973 .PHONY: configure-tcl maybe-configure-tcl
10974 maybe-configure-tcl:
10976 maybe-configure-tcl: configure-tcl
10978 @test ! -f tcl/Makefile || exit 0; \
10979 [ -d tcl ] || mkdir tcl; \
10980 r=`${PWD_COMMAND}`; export r; \
10981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10983 echo Configuring in tcl; \
10984 cd tcl || exit 1; \
10985 case $(srcdir) in \
10987 srcdiroption="--srcdir=."; \
10989 /* | [A-Za-z]:[\\/]*) \
10990 srcdiroption="--srcdir=$(srcdir)/tcl"; \
10991 libsrcdir="$$s/tcl";; \
10993 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
10994 libsrcdir="$$s/tcl";; \
10996 $(SHELL) $${libsrcdir}/configure \
10997 $(HOST_CONFIGARGS) $${srcdiroption} \
11001 .PHONY: all-tcl maybe-all-tcl
11004 maybe-all-tcl: all-tcl
11005 all-tcl: configure-tcl
11006 @r=`${PWD_COMMAND}`; export r; \
11007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11010 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11013 .PHONY: check-tcl maybe-check-tcl
11016 maybe-check-tcl: check-tcl
11019 @r=`${PWD_COMMAND}`; export r; \
11020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11023 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11027 .PHONY: install-tcl maybe-install-tcl
11030 maybe-install-tcl: install-tcl
11032 install-tcl: installdirs
11033 @r=`${PWD_COMMAND}`; export r; \
11034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11037 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11041 # Other targets (info, dvi, etc.)
11043 .PHONY: maybe-info-tcl info-tcl
11046 maybe-info-tcl: info-tcl
11050 @[ -f ./tcl/Makefile ] || exit 0; \
11051 r=`${PWD_COMMAND}`; export r; \
11052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11055 for flag in $(EXTRA_HOST_FLAGS); do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11058 echo "Doing info in tcl" ; \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11069 .PHONY: maybe-dvi-tcl dvi-tcl
11072 maybe-dvi-tcl: dvi-tcl
11076 @[ -f ./tcl/Makefile ] || exit 0; \
11077 r=`${PWD_COMMAND}`; export r; \
11078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11081 for flag in $(EXTRA_HOST_FLAGS); do \
11082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11084 echo "Doing dvi in tcl" ; \
11086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11088 "RANLIB=$${RANLIB}" \
11089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11095 .PHONY: maybe-TAGS-tcl TAGS-tcl
11098 maybe-TAGS-tcl: TAGS-tcl
11102 @[ -f ./tcl/Makefile ] || exit 0; \
11103 r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11107 for flag in $(EXTRA_HOST_FLAGS); do \
11108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11110 echo "Doing TAGS in tcl" ; \
11112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11114 "RANLIB=$${RANLIB}" \
11115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11121 .PHONY: maybe-install-info-tcl install-info-tcl
11122 maybe-install-info-tcl:
11124 maybe-install-info-tcl: install-info-tcl
11126 install-info-tcl: \
11129 @[ -f ./tcl/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11134 for flag in $(EXTRA_HOST_FLAGS); do \
11135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11137 echo "Doing install-info in tcl" ; \
11139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11141 "RANLIB=$${RANLIB}" \
11142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11148 .PHONY: maybe-installcheck-tcl installcheck-tcl
11149 maybe-installcheck-tcl:
11151 maybe-installcheck-tcl: installcheck-tcl
11153 installcheck-tcl: \
11155 @[ -f ./tcl/Makefile ] || exit 0; \
11156 r=`${PWD_COMMAND}`; export r; \
11157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11160 for flag in $(EXTRA_HOST_FLAGS); do \
11161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11163 echo "Doing installcheck in tcl" ; \
11165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11167 "RANLIB=$${RANLIB}" \
11168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11174 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11175 maybe-mostlyclean-tcl:
11177 maybe-mostlyclean-tcl: mostlyclean-tcl
11179 # tcl doesn't support mostlyclean.
11184 .PHONY: maybe-clean-tcl clean-tcl
11187 maybe-clean-tcl: clean-tcl
11190 @[ -f ./tcl/Makefile ] || exit 0; \
11191 r=`${PWD_COMMAND}`; export r; \
11192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11195 for flag in $(EXTRA_HOST_FLAGS); do \
11196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11198 echo "Doing clean in tcl" ; \
11200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11202 "RANLIB=$${RANLIB}" \
11203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11209 .PHONY: maybe-distclean-tcl distclean-tcl
11210 maybe-distclean-tcl:
11212 maybe-distclean-tcl: distclean-tcl
11215 @[ -f ./tcl/Makefile ] || exit 0; \
11216 r=`${PWD_COMMAND}`; export r; \
11217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11220 for flag in $(EXTRA_HOST_FLAGS); do \
11221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11223 echo "Doing distclean in tcl" ; \
11225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11227 "RANLIB=$${RANLIB}" \
11228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11234 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11235 maybe-maintainer-clean-tcl:
11237 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11239 maintainer-clean-tcl:
11240 @[ -f ./tcl/Makefile ] || exit 0; \
11241 r=`${PWD_COMMAND}`; export r; \
11242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11245 for flag in $(EXTRA_HOST_FLAGS); do \
11246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11248 echo "Doing maintainer-clean in tcl" ; \
11250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11252 "RANLIB=$${RANLIB}" \
11253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11254 maintainer-clean) \
11260 .PHONY: configure-itcl maybe-configure-itcl
11261 maybe-configure-itcl:
11263 maybe-configure-itcl: configure-itcl
11265 @test ! -f itcl/Makefile || exit 0; \
11266 [ -d itcl ] || mkdir itcl; \
11267 r=`${PWD_COMMAND}`; export r; \
11268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 echo Configuring in itcl; \
11271 cd itcl || exit 1; \
11272 case $(srcdir) in \
11274 srcdiroption="--srcdir=."; \
11276 /* | [A-Za-z]:[\\/]*) \
11277 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11278 libsrcdir="$$s/itcl";; \
11280 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11281 libsrcdir="$$s/itcl";; \
11283 $(SHELL) $${libsrcdir}/configure \
11284 $(HOST_CONFIGARGS) $${srcdiroption} \
11288 .PHONY: all-itcl maybe-all-itcl
11291 maybe-all-itcl: all-itcl
11292 all-itcl: configure-itcl
11293 @r=`${PWD_COMMAND}`; export r; \
11294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11297 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11300 .PHONY: check-itcl maybe-check-itcl
11303 maybe-check-itcl: check-itcl
11306 @r=`${PWD_COMMAND}`; export r; \
11307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11310 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11314 .PHONY: install-itcl maybe-install-itcl
11315 maybe-install-itcl:
11317 maybe-install-itcl: install-itcl
11319 install-itcl: installdirs
11320 @r=`${PWD_COMMAND}`; export r; \
11321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11324 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11328 # Other targets (info, dvi, etc.)
11330 .PHONY: maybe-info-itcl info-itcl
11333 maybe-info-itcl: info-itcl
11337 @[ -f ./itcl/Makefile ] || exit 0; \
11338 r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11342 for flag in $(EXTRA_HOST_FLAGS); do \
11343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11345 echo "Doing info in itcl" ; \
11347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11349 "RANLIB=$${RANLIB}" \
11350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11356 .PHONY: maybe-dvi-itcl dvi-itcl
11359 maybe-dvi-itcl: dvi-itcl
11363 @[ -f ./itcl/Makefile ] || exit 0; \
11364 r=`${PWD_COMMAND}`; export r; \
11365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11368 for flag in $(EXTRA_HOST_FLAGS); do \
11369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11371 echo "Doing dvi in itcl" ; \
11373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11375 "RANLIB=$${RANLIB}" \
11376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11382 .PHONY: maybe-TAGS-itcl TAGS-itcl
11385 maybe-TAGS-itcl: TAGS-itcl
11389 @[ -f ./itcl/Makefile ] || exit 0; \
11390 r=`${PWD_COMMAND}`; export r; \
11391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11394 for flag in $(EXTRA_HOST_FLAGS); do \
11395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11397 echo "Doing TAGS in itcl" ; \
11399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11401 "RANLIB=$${RANLIB}" \
11402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11408 .PHONY: maybe-install-info-itcl install-info-itcl
11409 maybe-install-info-itcl:
11411 maybe-install-info-itcl: install-info-itcl
11413 install-info-itcl: \
11416 @[ -f ./itcl/Makefile ] || exit 0; \
11417 r=`${PWD_COMMAND}`; export r; \
11418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11421 for flag in $(EXTRA_HOST_FLAGS); do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11424 echo "Doing install-info in itcl" ; \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11435 .PHONY: maybe-installcheck-itcl installcheck-itcl
11436 maybe-installcheck-itcl:
11438 maybe-installcheck-itcl: installcheck-itcl
11440 installcheck-itcl: \
11442 @[ -f ./itcl/Makefile ] || exit 0; \
11443 r=`${PWD_COMMAND}`; export r; \
11444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11447 for flag in $(EXTRA_HOST_FLAGS); do \
11448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 echo "Doing installcheck in itcl" ; \
11452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11454 "RANLIB=$${RANLIB}" \
11455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11461 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11462 maybe-mostlyclean-itcl:
11464 maybe-mostlyclean-itcl: mostlyclean-itcl
11467 @[ -f ./itcl/Makefile ] || exit 0; \
11468 r=`${PWD_COMMAND}`; export r; \
11469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 for flag in $(EXTRA_HOST_FLAGS); do \
11473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11475 echo "Doing mostlyclean in itcl" ; \
11477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11479 "RANLIB=$${RANLIB}" \
11480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11486 .PHONY: maybe-clean-itcl clean-itcl
11489 maybe-clean-itcl: clean-itcl
11492 @[ -f ./itcl/Makefile ] || exit 0; \
11493 r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11497 for flag in $(EXTRA_HOST_FLAGS); do \
11498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11500 echo "Doing clean in itcl" ; \
11502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11504 "RANLIB=$${RANLIB}" \
11505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11511 .PHONY: maybe-distclean-itcl distclean-itcl
11512 maybe-distclean-itcl:
11514 maybe-distclean-itcl: distclean-itcl
11517 @[ -f ./itcl/Makefile ] || exit 0; \
11518 r=`${PWD_COMMAND}`; export r; \
11519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 for flag in $(EXTRA_HOST_FLAGS); do \
11523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11525 echo "Doing distclean in itcl" ; \
11527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11529 "RANLIB=$${RANLIB}" \
11530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11536 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11537 maybe-maintainer-clean-itcl:
11539 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11541 maintainer-clean-itcl:
11542 @[ -f ./itcl/Makefile ] || exit 0; \
11543 r=`${PWD_COMMAND}`; export r; \
11544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 for flag in $(EXTRA_HOST_FLAGS); do \
11548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11550 echo "Doing maintainer-clean in itcl" ; \
11552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11554 "RANLIB=$${RANLIB}" \
11555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11556 maintainer-clean) \
11562 .PHONY: configure-ld maybe-configure-ld
11563 maybe-configure-ld:
11565 maybe-configure-ld: configure-ld
11567 @test ! -f ld/Makefile || exit 0; \
11568 [ -d ld ] || mkdir ld; \
11569 r=`${PWD_COMMAND}`; export r; \
11570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572 echo Configuring in ld; \
11574 case $(srcdir) in \
11576 srcdiroption="--srcdir=."; \
11578 /* | [A-Za-z]:[\\/]*) \
11579 srcdiroption="--srcdir=$(srcdir)/ld"; \
11580 libsrcdir="$$s/ld";; \
11582 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11583 libsrcdir="$$s/ld";; \
11585 $(SHELL) $${libsrcdir}/configure \
11586 $(HOST_CONFIGARGS) $${srcdiroption} \
11590 .PHONY: all-ld maybe-all-ld
11593 maybe-all-ld: all-ld
11594 all-ld: configure-ld
11595 @r=`${PWD_COMMAND}`; export r; \
11596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11599 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11602 .PHONY: check-ld maybe-check-ld
11605 maybe-check-ld: check-ld
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11612 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11616 .PHONY: install-ld maybe-install-ld
11619 maybe-install-ld: install-ld
11621 install-ld: installdirs
11622 @r=`${PWD_COMMAND}`; export r; \
11623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11626 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11630 # Other targets (info, dvi, etc.)
11632 .PHONY: maybe-info-ld info-ld
11635 maybe-info-ld: info-ld
11639 @[ -f ./ld/Makefile ] || exit 0; \
11640 r=`${PWD_COMMAND}`; export r; \
11641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11644 for flag in $(EXTRA_HOST_FLAGS); do \
11645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11647 echo "Doing info in ld" ; \
11649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11651 "RANLIB=$${RANLIB}" \
11652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11658 .PHONY: maybe-dvi-ld dvi-ld
11661 maybe-dvi-ld: dvi-ld
11665 @[ -f ./ld/Makefile ] || exit 0; \
11666 r=`${PWD_COMMAND}`; export r; \
11667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11670 for flag in $(EXTRA_HOST_FLAGS); do \
11671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11673 echo "Doing dvi in ld" ; \
11675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11677 "RANLIB=$${RANLIB}" \
11678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11684 .PHONY: maybe-TAGS-ld TAGS-ld
11687 maybe-TAGS-ld: TAGS-ld
11691 @[ -f ./ld/Makefile ] || exit 0; \
11692 r=`${PWD_COMMAND}`; export r; \
11693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11696 for flag in $(EXTRA_HOST_FLAGS); do \
11697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11699 echo "Doing TAGS in ld" ; \
11701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11703 "RANLIB=$${RANLIB}" \
11704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710 .PHONY: maybe-install-info-ld install-info-ld
11711 maybe-install-info-ld:
11713 maybe-install-info-ld: install-info-ld
11718 @[ -f ./ld/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11723 for flag in $(EXTRA_HOST_FLAGS); do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11726 echo "Doing install-info in ld" ; \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11737 .PHONY: maybe-installcheck-ld installcheck-ld
11738 maybe-installcheck-ld:
11740 maybe-installcheck-ld: installcheck-ld
11744 @[ -f ./ld/Makefile ] || exit 0; \
11745 r=`${PWD_COMMAND}`; export r; \
11746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11749 for flag in $(EXTRA_HOST_FLAGS); do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11752 echo "Doing installcheck in ld" ; \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11763 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
11764 maybe-mostlyclean-ld:
11766 maybe-mostlyclean-ld: mostlyclean-ld
11769 @[ -f ./ld/Makefile ] || exit 0; \
11770 r=`${PWD_COMMAND}`; export r; \
11771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 for flag in $(EXTRA_HOST_FLAGS); do \
11775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11777 echo "Doing mostlyclean in ld" ; \
11779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11781 "RANLIB=$${RANLIB}" \
11782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11788 .PHONY: maybe-clean-ld clean-ld
11791 maybe-clean-ld: clean-ld
11794 @[ -f ./ld/Makefile ] || exit 0; \
11795 r=`${PWD_COMMAND}`; export r; \
11796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799 for flag in $(EXTRA_HOST_FLAGS); do \
11800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11802 echo "Doing clean in ld" ; \
11804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11806 "RANLIB=$${RANLIB}" \
11807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11813 .PHONY: maybe-distclean-ld distclean-ld
11814 maybe-distclean-ld:
11816 maybe-distclean-ld: distclean-ld
11819 @[ -f ./ld/Makefile ] || exit 0; \
11820 r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11824 for flag in $(EXTRA_HOST_FLAGS); do \
11825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11827 echo "Doing distclean in ld" ; \
11829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11831 "RANLIB=$${RANLIB}" \
11832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11838 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
11839 maybe-maintainer-clean-ld:
11841 maybe-maintainer-clean-ld: maintainer-clean-ld
11843 maintainer-clean-ld:
11844 @[ -f ./ld/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11849 for flag in $(EXTRA_HOST_FLAGS); do \
11850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11852 echo "Doing maintainer-clean in ld" ; \
11854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11856 "RANLIB=$${RANLIB}" \
11857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11858 maintainer-clean) \
11864 .PHONY: configure-libcpp maybe-configure-libcpp
11865 maybe-configure-libcpp:
11867 maybe-configure-libcpp: configure-libcpp
11869 @test ! -f libcpp/Makefile || exit 0; \
11870 [ -d libcpp ] || mkdir libcpp; \
11871 r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11874 echo Configuring in libcpp; \
11875 cd libcpp || exit 1; \
11876 case $(srcdir) in \
11878 srcdiroption="--srcdir=."; \
11880 /* | [A-Za-z]:[\\/]*) \
11881 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
11882 libsrcdir="$$s/libcpp";; \
11884 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
11885 libsrcdir="$$s/libcpp";; \
11887 $(SHELL) $${libsrcdir}/configure \
11888 $(HOST_CONFIGARGS) $${srcdiroption} \
11892 .PHONY: all-libcpp maybe-all-libcpp
11895 maybe-all-libcpp: all-libcpp
11896 all-libcpp: configure-libcpp
11897 @r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11901 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
11904 .PHONY: check-libcpp maybe-check-libcpp
11905 maybe-check-libcpp:
11907 maybe-check-libcpp: check-libcpp
11910 @r=`${PWD_COMMAND}`; export r; \
11911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11914 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
11918 .PHONY: install-libcpp maybe-install-libcpp
11919 maybe-install-libcpp:
11921 maybe-install-libcpp: install-libcpp
11923 install-libcpp: installdirs
11924 @r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11928 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
11932 # Other targets (info, dvi, etc.)
11934 .PHONY: maybe-info-libcpp info-libcpp
11937 maybe-info-libcpp: info-libcpp
11941 @[ -f ./libcpp/Makefile ] || exit 0; \
11942 r=`${PWD_COMMAND}`; export r; \
11943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11946 for flag in $(EXTRA_HOST_FLAGS); do \
11947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11949 echo "Doing info in libcpp" ; \
11951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11953 "RANLIB=$${RANLIB}" \
11954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11960 .PHONY: maybe-dvi-libcpp dvi-libcpp
11963 maybe-dvi-libcpp: dvi-libcpp
11967 @[ -f ./libcpp/Makefile ] || exit 0; \
11968 r=`${PWD_COMMAND}`; export r; \
11969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11972 for flag in $(EXTRA_HOST_FLAGS); do \
11973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11975 echo "Doing dvi in libcpp" ; \
11977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11979 "RANLIB=$${RANLIB}" \
11980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11986 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
11989 maybe-TAGS-libcpp: TAGS-libcpp
11993 @[ -f ./libcpp/Makefile ] || exit 0; \
11994 r=`${PWD_COMMAND}`; export r; \
11995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11998 for flag in $(EXTRA_HOST_FLAGS); do \
11999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12001 echo "Doing TAGS in libcpp" ; \
12003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12005 "RANLIB=$${RANLIB}" \
12006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12012 .PHONY: maybe-install-info-libcpp install-info-libcpp
12013 maybe-install-info-libcpp:
12015 maybe-install-info-libcpp: install-info-libcpp
12017 install-info-libcpp: \
12020 @[ -f ./libcpp/Makefile ] || exit 0; \
12021 r=`${PWD_COMMAND}`; export r; \
12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 for flag in $(EXTRA_HOST_FLAGS); do \
12026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12028 echo "Doing install-info in libcpp" ; \
12030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12032 "RANLIB=$${RANLIB}" \
12033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12039 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12040 maybe-installcheck-libcpp:
12042 maybe-installcheck-libcpp: installcheck-libcpp
12044 installcheck-libcpp: \
12046 @[ -f ./libcpp/Makefile ] || exit 0; \
12047 r=`${PWD_COMMAND}`; export r; \
12048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12051 for flag in $(EXTRA_HOST_FLAGS); do \
12052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054 echo "Doing installcheck in libcpp" ; \
12056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12058 "RANLIB=$${RANLIB}" \
12059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12065 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12066 maybe-mostlyclean-libcpp:
12068 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12070 mostlyclean-libcpp:
12071 @[ -f ./libcpp/Makefile ] || exit 0; \
12072 r=`${PWD_COMMAND}`; export r; \
12073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 for flag in $(EXTRA_HOST_FLAGS); do \
12077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12079 echo "Doing mostlyclean in libcpp" ; \
12081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12083 "RANLIB=$${RANLIB}" \
12084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12090 .PHONY: maybe-clean-libcpp clean-libcpp
12091 maybe-clean-libcpp:
12093 maybe-clean-libcpp: clean-libcpp
12096 @[ -f ./libcpp/Makefile ] || exit 0; \
12097 r=`${PWD_COMMAND}`; export r; \
12098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 for flag in $(EXTRA_HOST_FLAGS); do \
12102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12104 echo "Doing clean in libcpp" ; \
12106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12108 "RANLIB=$${RANLIB}" \
12109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 .PHONY: maybe-distclean-libcpp distclean-libcpp
12116 maybe-distclean-libcpp:
12118 maybe-distclean-libcpp: distclean-libcpp
12121 @[ -f ./libcpp/Makefile ] || exit 0; \
12122 r=`${PWD_COMMAND}`; export r; \
12123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12126 for flag in $(EXTRA_HOST_FLAGS); do \
12127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12129 echo "Doing distclean in libcpp" ; \
12131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12133 "RANLIB=$${RANLIB}" \
12134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12140 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12141 maybe-maintainer-clean-libcpp:
12143 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12145 maintainer-clean-libcpp:
12146 @[ -f ./libcpp/Makefile ] || exit 0; \
12147 r=`${PWD_COMMAND}`; export r; \
12148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12151 for flag in $(EXTRA_HOST_FLAGS); do \
12152 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12154 echo "Doing maintainer-clean in libcpp" ; \
12156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12158 "RANLIB=$${RANLIB}" \
12159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12160 maintainer-clean) \
12166 .PHONY: configure-libgui maybe-configure-libgui
12167 maybe-configure-libgui:
12169 maybe-configure-libgui: configure-libgui
12171 @test ! -f libgui/Makefile || exit 0; \
12172 [ -d libgui ] || mkdir libgui; \
12173 r=`${PWD_COMMAND}`; export r; \
12174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12176 echo Configuring in libgui; \
12177 cd libgui || exit 1; \
12178 case $(srcdir) in \
12180 srcdiroption="--srcdir=."; \
12182 /* | [A-Za-z]:[\\/]*) \
12183 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12184 libsrcdir="$$s/libgui";; \
12186 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12187 libsrcdir="$$s/libgui";; \
12189 $(SHELL) $${libsrcdir}/configure \
12190 $(HOST_CONFIGARGS) $${srcdiroption} \
12194 .PHONY: all-libgui maybe-all-libgui
12197 maybe-all-libgui: all-libgui
12198 all-libgui: configure-libgui
12199 @r=`${PWD_COMMAND}`; export r; \
12200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12203 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12206 .PHONY: check-libgui maybe-check-libgui
12207 maybe-check-libgui:
12209 maybe-check-libgui: check-libgui
12212 @r=`${PWD_COMMAND}`; export r; \
12213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12216 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12220 .PHONY: install-libgui maybe-install-libgui
12221 maybe-install-libgui:
12223 maybe-install-libgui: install-libgui
12225 install-libgui: installdirs
12226 @r=`${PWD_COMMAND}`; export r; \
12227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12230 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12234 # Other targets (info, dvi, etc.)
12236 .PHONY: maybe-info-libgui info-libgui
12239 maybe-info-libgui: info-libgui
12243 @[ -f ./libgui/Makefile ] || exit 0; \
12244 r=`${PWD_COMMAND}`; export r; \
12245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12248 for flag in $(EXTRA_HOST_FLAGS); do \
12249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12251 echo "Doing info in libgui" ; \
12253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12255 "RANLIB=$${RANLIB}" \
12256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12262 .PHONY: maybe-dvi-libgui dvi-libgui
12265 maybe-dvi-libgui: dvi-libgui
12269 @[ -f ./libgui/Makefile ] || exit 0; \
12270 r=`${PWD_COMMAND}`; export r; \
12271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12274 for flag in $(EXTRA_HOST_FLAGS); do \
12275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12277 echo "Doing dvi in libgui" ; \
12279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12281 "RANLIB=$${RANLIB}" \
12282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12288 .PHONY: maybe-TAGS-libgui TAGS-libgui
12291 maybe-TAGS-libgui: TAGS-libgui
12295 @[ -f ./libgui/Makefile ] || exit 0; \
12296 r=`${PWD_COMMAND}`; export r; \
12297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12300 for flag in $(EXTRA_HOST_FLAGS); do \
12301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12303 echo "Doing TAGS in libgui" ; \
12305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12307 "RANLIB=$${RANLIB}" \
12308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12314 .PHONY: maybe-install-info-libgui install-info-libgui
12315 maybe-install-info-libgui:
12317 maybe-install-info-libgui: install-info-libgui
12319 install-info-libgui: \
12322 @[ -f ./libgui/Makefile ] || exit 0; \
12323 r=`${PWD_COMMAND}`; export r; \
12324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12327 for flag in $(EXTRA_HOST_FLAGS); do \
12328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12330 echo "Doing install-info in libgui" ; \
12332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12334 "RANLIB=$${RANLIB}" \
12335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12341 .PHONY: maybe-installcheck-libgui installcheck-libgui
12342 maybe-installcheck-libgui:
12344 maybe-installcheck-libgui: installcheck-libgui
12346 installcheck-libgui: \
12348 @[ -f ./libgui/Makefile ] || exit 0; \
12349 r=`${PWD_COMMAND}`; export r; \
12350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12353 for flag in $(EXTRA_HOST_FLAGS); do \
12354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12356 echo "Doing installcheck in libgui" ; \
12358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12360 "RANLIB=$${RANLIB}" \
12361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12367 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12368 maybe-mostlyclean-libgui:
12370 maybe-mostlyclean-libgui: mostlyclean-libgui
12372 mostlyclean-libgui:
12373 @[ -f ./libgui/Makefile ] || exit 0; \
12374 r=`${PWD_COMMAND}`; export r; \
12375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12378 for flag in $(EXTRA_HOST_FLAGS); do \
12379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12381 echo "Doing mostlyclean in libgui" ; \
12383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12385 "RANLIB=$${RANLIB}" \
12386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12392 .PHONY: maybe-clean-libgui clean-libgui
12393 maybe-clean-libgui:
12395 maybe-clean-libgui: clean-libgui
12398 @[ -f ./libgui/Makefile ] || exit 0; \
12399 r=`${PWD_COMMAND}`; export r; \
12400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12403 for flag in $(EXTRA_HOST_FLAGS); do \
12404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12406 echo "Doing clean in libgui" ; \
12408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12410 "RANLIB=$${RANLIB}" \
12411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12417 .PHONY: maybe-distclean-libgui distclean-libgui
12418 maybe-distclean-libgui:
12420 maybe-distclean-libgui: distclean-libgui
12423 @[ -f ./libgui/Makefile ] || exit 0; \
12424 r=`${PWD_COMMAND}`; export r; \
12425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12428 for flag in $(EXTRA_HOST_FLAGS); do \
12429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12431 echo "Doing distclean in libgui" ; \
12433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12435 "RANLIB=$${RANLIB}" \
12436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12442 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12443 maybe-maintainer-clean-libgui:
12445 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12447 maintainer-clean-libgui:
12448 @[ -f ./libgui/Makefile ] || exit 0; \
12449 r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12453 for flag in $(EXTRA_HOST_FLAGS); do \
12454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12456 echo "Doing maintainer-clean in libgui" ; \
12458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12460 "RANLIB=$${RANLIB}" \
12461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12462 maintainer-clean) \
12468 .PHONY: configure-libbanshee maybe-configure-libbanshee
12469 maybe-configure-libbanshee:
12471 maybe-configure-libbanshee: configure-libbanshee
12472 configure-libbanshee:
12473 @test ! -f libbanshee/Makefile || exit 0; \
12474 [ -d libbanshee ] || mkdir libbanshee; \
12475 r=`${PWD_COMMAND}`; export r; \
12476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12478 echo Configuring in libbanshee; \
12479 cd libbanshee || exit 1; \
12480 case $(srcdir) in \
12482 srcdiroption="--srcdir=."; \
12484 /* | [A-Za-z]:[\\/]*) \
12485 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12486 libsrcdir="$$s/libbanshee";; \
12488 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12489 libsrcdir="$$s/libbanshee";; \
12491 $(SHELL) $${libsrcdir}/configure \
12492 $(HOST_CONFIGARGS) $${srcdiroption} \
12496 .PHONY: all-libbanshee maybe-all-libbanshee
12497 maybe-all-libbanshee:
12499 maybe-all-libbanshee: all-libbanshee
12500 all-libbanshee: configure-libbanshee
12501 @r=`${PWD_COMMAND}`; export r; \
12502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12505 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12508 .PHONY: check-libbanshee maybe-check-libbanshee
12509 maybe-check-libbanshee:
12511 maybe-check-libbanshee: check-libbanshee
12514 @r=`${PWD_COMMAND}`; export r; \
12515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12522 .PHONY: install-libbanshee maybe-install-libbanshee
12523 maybe-install-libbanshee:
12525 maybe-install-libbanshee: install-libbanshee
12527 install-libbanshee:
12531 # Other targets (info, dvi, etc.)
12533 .PHONY: maybe-info-libbanshee info-libbanshee
12534 maybe-info-libbanshee:
12536 maybe-info-libbanshee: info-libbanshee
12539 configure-libbanshee
12540 @[ -f ./libbanshee/Makefile ] || exit 0; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 for flag in $(EXTRA_HOST_FLAGS); do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 echo "Doing info in libbanshee" ; \
12549 (cd libbanshee && \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12559 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12560 maybe-dvi-libbanshee:
12562 maybe-dvi-libbanshee: dvi-libbanshee
12565 configure-libbanshee
12566 @[ -f ./libbanshee/Makefile ] || exit 0; \
12567 r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12571 for flag in $(EXTRA_HOST_FLAGS); do \
12572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12574 echo "Doing dvi in libbanshee" ; \
12575 (cd libbanshee && \
12576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12578 "RANLIB=$${RANLIB}" \
12579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12585 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12586 maybe-TAGS-libbanshee:
12588 maybe-TAGS-libbanshee: TAGS-libbanshee
12591 configure-libbanshee
12592 @[ -f ./libbanshee/Makefile ] || exit 0; \
12593 r=`${PWD_COMMAND}`; export r; \
12594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12597 for flag in $(EXTRA_HOST_FLAGS); do \
12598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 echo "Doing TAGS in libbanshee" ; \
12601 (cd libbanshee && \
12602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12604 "RANLIB=$${RANLIB}" \
12605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12611 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12612 maybe-install-info-libbanshee:
12614 maybe-install-info-libbanshee: install-info-libbanshee
12616 install-info-libbanshee: \
12617 configure-libbanshee \
12619 @[ -f ./libbanshee/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 for flag in $(EXTRA_HOST_FLAGS); do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 echo "Doing install-info in libbanshee" ; \
12628 (cd libbanshee && \
12629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12631 "RANLIB=$${RANLIB}" \
12632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12638 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12639 maybe-installcheck-libbanshee:
12641 maybe-installcheck-libbanshee: installcheck-libbanshee
12643 installcheck-libbanshee: \
12644 configure-libbanshee
12645 @[ -f ./libbanshee/Makefile ] || exit 0; \
12646 r=`${PWD_COMMAND}`; export r; \
12647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 for flag in $(EXTRA_HOST_FLAGS); do \
12651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 echo "Doing installcheck in libbanshee" ; \
12654 (cd libbanshee && \
12655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12657 "RANLIB=$${RANLIB}" \
12658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12664 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12665 maybe-mostlyclean-libbanshee:
12667 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12669 mostlyclean-libbanshee:
12670 @[ -f ./libbanshee/Makefile ] || exit 0; \
12671 r=`${PWD_COMMAND}`; export r; \
12672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 for flag in $(EXTRA_HOST_FLAGS); do \
12676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 echo "Doing mostlyclean in libbanshee" ; \
12679 (cd libbanshee && \
12680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12682 "RANLIB=$${RANLIB}" \
12683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12689 .PHONY: maybe-clean-libbanshee clean-libbanshee
12690 maybe-clean-libbanshee:
12692 maybe-clean-libbanshee: clean-libbanshee
12695 @[ -f ./libbanshee/Makefile ] || exit 0; \
12696 r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 for flag in $(EXTRA_HOST_FLAGS); do \
12701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12703 echo "Doing clean in libbanshee" ; \
12704 (cd libbanshee && \
12705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12707 "RANLIB=$${RANLIB}" \
12708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12714 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12715 maybe-distclean-libbanshee:
12717 maybe-distclean-libbanshee: distclean-libbanshee
12719 distclean-libbanshee:
12720 @[ -f ./libbanshee/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 for flag in $(EXTRA_HOST_FLAGS); do \
12726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12728 echo "Doing distclean in libbanshee" ; \
12729 (cd libbanshee && \
12730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12732 "RANLIB=$${RANLIB}" \
12733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12739 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
12740 maybe-maintainer-clean-libbanshee:
12742 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
12744 maintainer-clean-libbanshee:
12745 @[ -f ./libbanshee/Makefile ] || exit 0; \
12746 r=`${PWD_COMMAND}`; export r; \
12747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 for flag in $(EXTRA_HOST_FLAGS); do \
12751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12753 echo "Doing maintainer-clean in libbanshee" ; \
12754 (cd libbanshee && \
12755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12757 "RANLIB=$${RANLIB}" \
12758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12759 maintainer-clean) \
12765 .PHONY: configure-libiberty maybe-configure-libiberty
12766 maybe-configure-libiberty:
12768 maybe-configure-libiberty: configure-libiberty
12769 configure-libiberty:
12770 @test ! -f libiberty/Makefile || exit 0; \
12771 [ -d libiberty ] || mkdir libiberty; \
12772 r=`${PWD_COMMAND}`; export r; \
12773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12775 echo Configuring in libiberty; \
12776 cd libiberty || exit 1; \
12777 case $(srcdir) in \
12779 srcdiroption="--srcdir=."; \
12781 /* | [A-Za-z]:[\\/]*) \
12782 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
12783 libsrcdir="$$s/libiberty";; \
12785 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
12786 libsrcdir="$$s/libiberty";; \
12788 $(SHELL) $${libsrcdir}/configure \
12789 $(HOST_CONFIGARGS) $${srcdiroption} \
12793 .PHONY: all-libiberty maybe-all-libiberty
12794 maybe-all-libiberty:
12796 maybe-all-libiberty: all-libiberty
12797 all-libiberty: configure-libiberty
12798 @r=`${PWD_COMMAND}`; export r; \
12799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12802 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
12805 .PHONY: check-libiberty maybe-check-libiberty
12806 maybe-check-libiberty:
12808 maybe-check-libiberty: check-libiberty
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12815 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
12819 .PHONY: install-libiberty maybe-install-libiberty
12820 maybe-install-libiberty:
12822 maybe-install-libiberty: install-libiberty
12824 install-libiberty: installdirs
12825 @r=`${PWD_COMMAND}`; export r; \
12826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12829 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
12833 # Other targets (info, dvi, etc.)
12835 .PHONY: maybe-info-libiberty info-libiberty
12836 maybe-info-libiberty:
12838 maybe-info-libiberty: info-libiberty
12841 configure-libiberty
12842 @[ -f ./libiberty/Makefile ] || exit 0; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12847 for flag in $(EXTRA_HOST_FLAGS); do \
12848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 echo "Doing info in libiberty" ; \
12852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12854 "RANLIB=$${RANLIB}" \
12855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12861 .PHONY: maybe-dvi-libiberty dvi-libiberty
12862 maybe-dvi-libiberty:
12864 maybe-dvi-libiberty: dvi-libiberty
12867 configure-libiberty
12868 @[ -f ./libiberty/Makefile ] || exit 0; \
12869 r=`${PWD_COMMAND}`; export r; \
12870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12873 for flag in $(EXTRA_HOST_FLAGS); do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12876 echo "Doing dvi in libiberty" ; \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12887 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
12888 maybe-TAGS-libiberty:
12890 maybe-TAGS-libiberty: TAGS-libiberty
12893 configure-libiberty
12894 @[ -f ./libiberty/Makefile ] || exit 0; \
12895 r=`${PWD_COMMAND}`; export r; \
12896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 for flag in $(EXTRA_HOST_FLAGS); do \
12900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12902 echo "Doing TAGS in libiberty" ; \
12904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12906 "RANLIB=$${RANLIB}" \
12907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12913 .PHONY: maybe-install-info-libiberty install-info-libiberty
12914 maybe-install-info-libiberty:
12916 maybe-install-info-libiberty: install-info-libiberty
12918 install-info-libiberty: \
12919 configure-libiberty \
12921 @[ -f ./libiberty/Makefile ] || exit 0; \
12922 r=`${PWD_COMMAND}`; export r; \
12923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12926 for flag in $(EXTRA_HOST_FLAGS); do \
12927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12929 echo "Doing install-info in libiberty" ; \
12931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12933 "RANLIB=$${RANLIB}" \
12934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12940 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
12941 maybe-installcheck-libiberty:
12943 maybe-installcheck-libiberty: installcheck-libiberty
12945 installcheck-libiberty: \
12946 configure-libiberty
12947 @[ -f ./libiberty/Makefile ] || exit 0; \
12948 r=`${PWD_COMMAND}`; export r; \
12949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12952 for flag in $(EXTRA_HOST_FLAGS); do \
12953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12955 echo "Doing installcheck in libiberty" ; \
12957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12959 "RANLIB=$${RANLIB}" \
12960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12966 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
12967 maybe-mostlyclean-libiberty:
12969 maybe-mostlyclean-libiberty: mostlyclean-libiberty
12971 mostlyclean-libiberty:
12972 @[ -f ./libiberty/Makefile ] || exit 0; \
12973 r=`${PWD_COMMAND}`; export r; \
12974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12977 for flag in $(EXTRA_HOST_FLAGS); do \
12978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12980 echo "Doing mostlyclean in libiberty" ; \
12982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12984 "RANLIB=$${RANLIB}" \
12985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12991 .PHONY: maybe-clean-libiberty clean-libiberty
12992 maybe-clean-libiberty:
12994 maybe-clean-libiberty: clean-libiberty
12997 @[ -f ./libiberty/Makefile ] || exit 0; \
12998 r=`${PWD_COMMAND}`; export r; \
12999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13002 for flag in $(EXTRA_HOST_FLAGS); do \
13003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13005 echo "Doing clean in libiberty" ; \
13007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13009 "RANLIB=$${RANLIB}" \
13010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13016 .PHONY: maybe-distclean-libiberty distclean-libiberty
13017 maybe-distclean-libiberty:
13019 maybe-distclean-libiberty: distclean-libiberty
13021 distclean-libiberty:
13022 @[ -f ./libiberty/Makefile ] || exit 0; \
13023 r=`${PWD_COMMAND}`; export r; \
13024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13027 for flag in $(EXTRA_HOST_FLAGS); do \
13028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13030 echo "Doing distclean in libiberty" ; \
13032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13034 "RANLIB=$${RANLIB}" \
13035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13041 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13042 maybe-maintainer-clean-libiberty:
13044 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13046 maintainer-clean-libiberty:
13047 @[ -f ./libiberty/Makefile ] || exit 0; \
13048 r=`${PWD_COMMAND}`; export r; \
13049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13052 for flag in $(EXTRA_HOST_FLAGS); do \
13053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13055 echo "Doing maintainer-clean in libiberty" ; \
13057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13059 "RANLIB=$${RANLIB}" \
13060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13061 maintainer-clean) \
13067 .PHONY: configure-libtool maybe-configure-libtool
13068 maybe-configure-libtool:
13070 maybe-configure-libtool: configure-libtool
13072 @test ! -f libtool/Makefile || exit 0; \
13073 [ -d libtool ] || mkdir libtool; \
13074 r=`${PWD_COMMAND}`; export r; \
13075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13077 echo Configuring in libtool; \
13078 cd libtool || exit 1; \
13079 case $(srcdir) in \
13081 srcdiroption="--srcdir=."; \
13083 /* | [A-Za-z]:[\\/]*) \
13084 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13085 libsrcdir="$$s/libtool";; \
13087 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13088 libsrcdir="$$s/libtool";; \
13090 $(SHELL) $${libsrcdir}/configure \
13091 $(HOST_CONFIGARGS) $${srcdiroption} \
13095 .PHONY: all-libtool maybe-all-libtool
13098 maybe-all-libtool: all-libtool
13099 all-libtool: configure-libtool
13100 @r=`${PWD_COMMAND}`; export r; \
13101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13104 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13107 .PHONY: check-libtool maybe-check-libtool
13108 maybe-check-libtool:
13110 maybe-check-libtool: check-libtool
13113 @r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13117 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13121 .PHONY: install-libtool maybe-install-libtool
13122 maybe-install-libtool:
13124 maybe-install-libtool: install-libtool
13126 install-libtool: installdirs
13127 @r=`${PWD_COMMAND}`; export r; \
13128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13131 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13135 # Other targets (info, dvi, etc.)
13137 .PHONY: maybe-info-libtool info-libtool
13138 maybe-info-libtool:
13140 maybe-info-libtool: info-libtool
13144 @[ -f ./libtool/Makefile ] || exit 0; \
13145 r=`${PWD_COMMAND}`; export r; \
13146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13149 for flag in $(EXTRA_HOST_FLAGS); do \
13150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13152 echo "Doing info in libtool" ; \
13154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13156 "RANLIB=$${RANLIB}" \
13157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13163 .PHONY: maybe-dvi-libtool dvi-libtool
13166 maybe-dvi-libtool: dvi-libtool
13170 @[ -f ./libtool/Makefile ] || exit 0; \
13171 r=`${PWD_COMMAND}`; export r; \
13172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13175 for flag in $(EXTRA_HOST_FLAGS); do \
13176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13178 echo "Doing dvi in libtool" ; \
13180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13182 "RANLIB=$${RANLIB}" \
13183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13189 .PHONY: maybe-TAGS-libtool TAGS-libtool
13190 maybe-TAGS-libtool:
13192 maybe-TAGS-libtool: TAGS-libtool
13196 @[ -f ./libtool/Makefile ] || exit 0; \
13197 r=`${PWD_COMMAND}`; export r; \
13198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13201 for flag in $(EXTRA_HOST_FLAGS); do \
13202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13204 echo "Doing TAGS in libtool" ; \
13206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13208 "RANLIB=$${RANLIB}" \
13209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13215 .PHONY: maybe-install-info-libtool install-info-libtool
13216 maybe-install-info-libtool:
13218 maybe-install-info-libtool: install-info-libtool
13220 install-info-libtool: \
13221 configure-libtool \
13223 @[ -f ./libtool/Makefile ] || exit 0; \
13224 r=`${PWD_COMMAND}`; export r; \
13225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 for flag in $(EXTRA_HOST_FLAGS); do \
13229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13231 echo "Doing install-info in libtool" ; \
13233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13235 "RANLIB=$${RANLIB}" \
13236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13242 .PHONY: maybe-installcheck-libtool installcheck-libtool
13243 maybe-installcheck-libtool:
13245 maybe-installcheck-libtool: installcheck-libtool
13247 installcheck-libtool: \
13249 @[ -f ./libtool/Makefile ] || exit 0; \
13250 r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13254 for flag in $(EXTRA_HOST_FLAGS); do \
13255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13257 echo "Doing installcheck in libtool" ; \
13259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13261 "RANLIB=$${RANLIB}" \
13262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13268 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13269 maybe-mostlyclean-libtool:
13271 maybe-mostlyclean-libtool: mostlyclean-libtool
13273 mostlyclean-libtool:
13274 @[ -f ./libtool/Makefile ] || exit 0; \
13275 r=`${PWD_COMMAND}`; export r; \
13276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13279 for flag in $(EXTRA_HOST_FLAGS); do \
13280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13282 echo "Doing mostlyclean in libtool" ; \
13284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13286 "RANLIB=$${RANLIB}" \
13287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13293 .PHONY: maybe-clean-libtool clean-libtool
13294 maybe-clean-libtool:
13296 maybe-clean-libtool: clean-libtool
13299 @[ -f ./libtool/Makefile ] || exit 0; \
13300 r=`${PWD_COMMAND}`; export r; \
13301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13304 for flag in $(EXTRA_HOST_FLAGS); do \
13305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13307 echo "Doing clean in libtool" ; \
13309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13311 "RANLIB=$${RANLIB}" \
13312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13318 .PHONY: maybe-distclean-libtool distclean-libtool
13319 maybe-distclean-libtool:
13321 maybe-distclean-libtool: distclean-libtool
13324 @[ -f ./libtool/Makefile ] || exit 0; \
13325 r=`${PWD_COMMAND}`; export r; \
13326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13329 for flag in $(EXTRA_HOST_FLAGS); do \
13330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13332 echo "Doing distclean in libtool" ; \
13334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13336 "RANLIB=$${RANLIB}" \
13337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13343 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13344 maybe-maintainer-clean-libtool:
13346 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13348 maintainer-clean-libtool:
13349 @[ -f ./libtool/Makefile ] || exit 0; \
13350 r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13354 for flag in $(EXTRA_HOST_FLAGS); do \
13355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13357 echo "Doing maintainer-clean in libtool" ; \
13359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13361 "RANLIB=$${RANLIB}" \
13362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13363 maintainer-clean) \
13369 .PHONY: configure-m4 maybe-configure-m4
13370 maybe-configure-m4:
13372 maybe-configure-m4: configure-m4
13374 @test ! -f m4/Makefile || exit 0; \
13375 [ -d m4 ] || mkdir m4; \
13376 r=`${PWD_COMMAND}`; export r; \
13377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13379 echo Configuring in m4; \
13381 case $(srcdir) in \
13383 srcdiroption="--srcdir=."; \
13385 /* | [A-Za-z]:[\\/]*) \
13386 srcdiroption="--srcdir=$(srcdir)/m4"; \
13387 libsrcdir="$$s/m4";; \
13389 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13390 libsrcdir="$$s/m4";; \
13392 $(SHELL) $${libsrcdir}/configure \
13393 $(HOST_CONFIGARGS) $${srcdiroption} \
13397 .PHONY: all-m4 maybe-all-m4
13400 maybe-all-m4: all-m4
13401 all-m4: configure-m4
13402 @r=`${PWD_COMMAND}`; export r; \
13403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13406 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13409 .PHONY: check-m4 maybe-check-m4
13412 maybe-check-m4: check-m4
13415 @r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13419 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13423 .PHONY: install-m4 maybe-install-m4
13426 maybe-install-m4: install-m4
13428 install-m4: installdirs
13429 @r=`${PWD_COMMAND}`; export r; \
13430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13433 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13437 # Other targets (info, dvi, etc.)
13439 .PHONY: maybe-info-m4 info-m4
13442 maybe-info-m4: info-m4
13446 @[ -f ./m4/Makefile ] || exit 0; \
13447 r=`${PWD_COMMAND}`; export r; \
13448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 for flag in $(EXTRA_HOST_FLAGS); do \
13452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13454 echo "Doing info in m4" ; \
13456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13458 "RANLIB=$${RANLIB}" \
13459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13465 .PHONY: maybe-dvi-m4 dvi-m4
13468 maybe-dvi-m4: dvi-m4
13472 @[ -f ./m4/Makefile ] || exit 0; \
13473 r=`${PWD_COMMAND}`; export r; \
13474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13477 for flag in $(EXTRA_HOST_FLAGS); do \
13478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13480 echo "Doing dvi in m4" ; \
13482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13484 "RANLIB=$${RANLIB}" \
13485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13491 .PHONY: maybe-TAGS-m4 TAGS-m4
13494 maybe-TAGS-m4: TAGS-m4
13498 @[ -f ./m4/Makefile ] || exit 0; \
13499 r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13503 for flag in $(EXTRA_HOST_FLAGS); do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13506 echo "Doing TAGS in m4" ; \
13508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13510 "RANLIB=$${RANLIB}" \
13511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13517 .PHONY: maybe-install-info-m4 install-info-m4
13518 maybe-install-info-m4:
13520 maybe-install-info-m4: install-info-m4
13525 @[ -f ./m4/Makefile ] || exit 0; \
13526 r=`${PWD_COMMAND}`; export r; \
13527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13530 for flag in $(EXTRA_HOST_FLAGS); do \
13531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13533 echo "Doing install-info in m4" ; \
13535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13537 "RANLIB=$${RANLIB}" \
13538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13544 .PHONY: maybe-installcheck-m4 installcheck-m4
13545 maybe-installcheck-m4:
13547 maybe-installcheck-m4: installcheck-m4
13551 @[ -f ./m4/Makefile ] || exit 0; \
13552 r=`${PWD_COMMAND}`; export r; \
13553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13556 for flag in $(EXTRA_HOST_FLAGS); do \
13557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13559 echo "Doing installcheck in m4" ; \
13561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13563 "RANLIB=$${RANLIB}" \
13564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13570 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13571 maybe-mostlyclean-m4:
13573 maybe-mostlyclean-m4: mostlyclean-m4
13576 @[ -f ./m4/Makefile ] || exit 0; \
13577 r=`${PWD_COMMAND}`; export r; \
13578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13581 for flag in $(EXTRA_HOST_FLAGS); do \
13582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13584 echo "Doing mostlyclean in m4" ; \
13586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13588 "RANLIB=$${RANLIB}" \
13589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13595 .PHONY: maybe-clean-m4 clean-m4
13598 maybe-clean-m4: clean-m4
13601 @[ -f ./m4/Makefile ] || exit 0; \
13602 r=`${PWD_COMMAND}`; export r; \
13603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13606 for flag in $(EXTRA_HOST_FLAGS); do \
13607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13609 echo "Doing clean in m4" ; \
13611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13613 "RANLIB=$${RANLIB}" \
13614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13620 .PHONY: maybe-distclean-m4 distclean-m4
13621 maybe-distclean-m4:
13623 maybe-distclean-m4: distclean-m4
13626 @[ -f ./m4/Makefile ] || exit 0; \
13627 r=`${PWD_COMMAND}`; export r; \
13628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13631 for flag in $(EXTRA_HOST_FLAGS); do \
13632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13634 echo "Doing distclean in m4" ; \
13636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13638 "RANLIB=$${RANLIB}" \
13639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13645 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13646 maybe-maintainer-clean-m4:
13648 maybe-maintainer-clean-m4: maintainer-clean-m4
13650 maintainer-clean-m4:
13651 @[ -f ./m4/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13656 for flag in $(EXTRA_HOST_FLAGS); do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13659 echo "Doing maintainer-clean in m4" ; \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 maintainer-clean) \
13671 .PHONY: configure-make maybe-configure-make
13672 maybe-configure-make:
13674 maybe-configure-make: configure-make
13676 @test ! -f make/Makefile || exit 0; \
13677 [ -d make ] || mkdir make; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13681 echo Configuring in make; \
13682 cd make || exit 1; \
13683 case $(srcdir) in \
13685 srcdiroption="--srcdir=."; \
13687 /* | [A-Za-z]:[\\/]*) \
13688 srcdiroption="--srcdir=$(srcdir)/make"; \
13689 libsrcdir="$$s/make";; \
13691 srcdiroption="--srcdir=../$(srcdir)/make"; \
13692 libsrcdir="$$s/make";; \
13694 $(SHELL) $${libsrcdir}/configure \
13695 $(HOST_CONFIGARGS) $${srcdiroption} \
13699 .PHONY: all-make maybe-all-make
13702 maybe-all-make: all-make
13703 all-make: configure-make
13704 @r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13708 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13711 .PHONY: check-make maybe-check-make
13714 maybe-check-make: check-make
13717 @r=`${PWD_COMMAND}`; export r; \
13718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13721 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13725 .PHONY: install-make maybe-install-make
13726 maybe-install-make:
13728 maybe-install-make: install-make
13730 install-make: installdirs
13731 @r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13735 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
13739 # Other targets (info, dvi, etc.)
13741 .PHONY: maybe-info-make info-make
13744 maybe-info-make: info-make
13748 @[ -f ./make/Makefile ] || exit 0; \
13749 r=`${PWD_COMMAND}`; export r; \
13750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13753 for flag in $(EXTRA_HOST_FLAGS); do \
13754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13756 echo "Doing info in make" ; \
13758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13760 "RANLIB=$${RANLIB}" \
13761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13767 .PHONY: maybe-dvi-make dvi-make
13770 maybe-dvi-make: dvi-make
13774 @[ -f ./make/Makefile ] || exit 0; \
13775 r=`${PWD_COMMAND}`; export r; \
13776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13779 for flag in $(EXTRA_HOST_FLAGS); do \
13780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13782 echo "Doing dvi in make" ; \
13784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13786 "RANLIB=$${RANLIB}" \
13787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13793 .PHONY: maybe-TAGS-make TAGS-make
13796 maybe-TAGS-make: TAGS-make
13800 @[ -f ./make/Makefile ] || exit 0; \
13801 r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13805 for flag in $(EXTRA_HOST_FLAGS); do \
13806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13808 echo "Doing TAGS in make" ; \
13810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13812 "RANLIB=$${RANLIB}" \
13813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13819 .PHONY: maybe-install-info-make install-info-make
13820 maybe-install-info-make:
13822 maybe-install-info-make: install-info-make
13824 install-info-make: \
13827 @[ -f ./make/Makefile ] || exit 0; \
13828 r=`${PWD_COMMAND}`; export r; \
13829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 for flag in $(EXTRA_HOST_FLAGS); do \
13833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13835 echo "Doing install-info in make" ; \
13837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13839 "RANLIB=$${RANLIB}" \
13840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13846 .PHONY: maybe-installcheck-make installcheck-make
13847 maybe-installcheck-make:
13849 maybe-installcheck-make: installcheck-make
13851 installcheck-make: \
13853 @[ -f ./make/Makefile ] || exit 0; \
13854 r=`${PWD_COMMAND}`; export r; \
13855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13858 for flag in $(EXTRA_HOST_FLAGS); do \
13859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13861 echo "Doing installcheck in make" ; \
13863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13865 "RANLIB=$${RANLIB}" \
13866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13872 .PHONY: maybe-mostlyclean-make mostlyclean-make
13873 maybe-mostlyclean-make:
13875 maybe-mostlyclean-make: mostlyclean-make
13878 @[ -f ./make/Makefile ] || exit 0; \
13879 r=`${PWD_COMMAND}`; export r; \
13880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13883 for flag in $(EXTRA_HOST_FLAGS); do \
13884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13886 echo "Doing mostlyclean in make" ; \
13888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13890 "RANLIB=$${RANLIB}" \
13891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13897 .PHONY: maybe-clean-make clean-make
13900 maybe-clean-make: clean-make
13903 @[ -f ./make/Makefile ] || exit 0; \
13904 r=`${PWD_COMMAND}`; export r; \
13905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13908 for flag in $(EXTRA_HOST_FLAGS); do \
13909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13911 echo "Doing clean in make" ; \
13913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13915 "RANLIB=$${RANLIB}" \
13916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13922 .PHONY: maybe-distclean-make distclean-make
13923 maybe-distclean-make:
13925 maybe-distclean-make: distclean-make
13928 @[ -f ./make/Makefile ] || exit 0; \
13929 r=`${PWD_COMMAND}`; export r; \
13930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13933 for flag in $(EXTRA_HOST_FLAGS); do \
13934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13936 echo "Doing distclean in make" ; \
13938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13940 "RANLIB=$${RANLIB}" \
13941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13947 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
13948 maybe-maintainer-clean-make:
13950 maybe-maintainer-clean-make: maintainer-clean-make
13952 maintainer-clean-make:
13953 @[ -f ./make/Makefile ] || exit 0; \
13954 r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13958 for flag in $(EXTRA_HOST_FLAGS); do \
13959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13961 echo "Doing maintainer-clean in make" ; \
13963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13965 "RANLIB=$${RANLIB}" \
13966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13967 maintainer-clean) \
13973 .PHONY: configure-mmalloc maybe-configure-mmalloc
13974 maybe-configure-mmalloc:
13976 maybe-configure-mmalloc: configure-mmalloc
13978 @test ! -f mmalloc/Makefile || exit 0; \
13979 [ -d mmalloc ] || mkdir mmalloc; \
13980 r=`${PWD_COMMAND}`; export r; \
13981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13983 echo Configuring in mmalloc; \
13984 cd mmalloc || exit 1; \
13985 case $(srcdir) in \
13987 srcdiroption="--srcdir=."; \
13989 /* | [A-Za-z]:[\\/]*) \
13990 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
13991 libsrcdir="$$s/mmalloc";; \
13993 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
13994 libsrcdir="$$s/mmalloc";; \
13996 $(SHELL) $${libsrcdir}/configure \
13997 $(HOST_CONFIGARGS) $${srcdiroption} \
14001 .PHONY: all-mmalloc maybe-all-mmalloc
14004 maybe-all-mmalloc: all-mmalloc
14005 all-mmalloc: configure-mmalloc
14006 @r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14013 .PHONY: check-mmalloc maybe-check-mmalloc
14014 maybe-check-mmalloc:
14016 maybe-check-mmalloc: check-mmalloc
14022 .PHONY: install-mmalloc maybe-install-mmalloc
14023 maybe-install-mmalloc:
14025 maybe-install-mmalloc: install-mmalloc
14027 install-mmalloc: installdirs
14028 @r=`${PWD_COMMAND}`; export r; \
14029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14032 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14036 # Other targets (info, dvi, etc.)
14038 .PHONY: maybe-info-mmalloc info-mmalloc
14039 maybe-info-mmalloc:
14041 maybe-info-mmalloc: info-mmalloc
14045 @[ -f ./mmalloc/Makefile ] || exit 0; \
14046 r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14050 for flag in $(EXTRA_HOST_FLAGS); do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14053 echo "Doing info in mmalloc" ; \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14064 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14067 maybe-dvi-mmalloc: dvi-mmalloc
14071 @[ -f ./mmalloc/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14076 for flag in $(EXTRA_HOST_FLAGS); do \
14077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14079 echo "Doing dvi in mmalloc" ; \
14081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14083 "RANLIB=$${RANLIB}" \
14084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14090 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14091 maybe-TAGS-mmalloc:
14093 maybe-TAGS-mmalloc: TAGS-mmalloc
14097 @[ -f ./mmalloc/Makefile ] || exit 0; \
14098 r=`${PWD_COMMAND}`; export r; \
14099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14102 for flag in $(EXTRA_HOST_FLAGS); do \
14103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14105 echo "Doing TAGS in mmalloc" ; \
14107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14109 "RANLIB=$${RANLIB}" \
14110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14116 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14117 maybe-install-info-mmalloc:
14119 maybe-install-info-mmalloc: install-info-mmalloc
14121 install-info-mmalloc: \
14122 configure-mmalloc \
14124 @[ -f ./mmalloc/Makefile ] || exit 0; \
14125 r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14129 for flag in $(EXTRA_HOST_FLAGS); do \
14130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14132 echo "Doing install-info in mmalloc" ; \
14134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14136 "RANLIB=$${RANLIB}" \
14137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14143 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14144 maybe-installcheck-mmalloc:
14146 maybe-installcheck-mmalloc: installcheck-mmalloc
14148 installcheck-mmalloc: \
14150 @[ -f ./mmalloc/Makefile ] || exit 0; \
14151 r=`${PWD_COMMAND}`; export r; \
14152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14155 for flag in $(EXTRA_HOST_FLAGS); do \
14156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14158 echo "Doing installcheck in mmalloc" ; \
14160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14162 "RANLIB=$${RANLIB}" \
14163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14169 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14170 maybe-mostlyclean-mmalloc:
14172 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14174 mostlyclean-mmalloc:
14175 @[ -f ./mmalloc/Makefile ] || exit 0; \
14176 r=`${PWD_COMMAND}`; export r; \
14177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14180 for flag in $(EXTRA_HOST_FLAGS); do \
14181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14183 echo "Doing mostlyclean in mmalloc" ; \
14185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14187 "RANLIB=$${RANLIB}" \
14188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14194 .PHONY: maybe-clean-mmalloc clean-mmalloc
14195 maybe-clean-mmalloc:
14197 maybe-clean-mmalloc: clean-mmalloc
14200 @[ -f ./mmalloc/Makefile ] || exit 0; \
14201 r=`${PWD_COMMAND}`; export r; \
14202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14205 for flag in $(EXTRA_HOST_FLAGS); do \
14206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14208 echo "Doing clean in mmalloc" ; \
14210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14212 "RANLIB=$${RANLIB}" \
14213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14219 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14220 maybe-distclean-mmalloc:
14222 maybe-distclean-mmalloc: distclean-mmalloc
14225 @[ -f ./mmalloc/Makefile ] || exit 0; \
14226 r=`${PWD_COMMAND}`; export r; \
14227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14230 for flag in $(EXTRA_HOST_FLAGS); do \
14231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14233 echo "Doing distclean in mmalloc" ; \
14235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14237 "RANLIB=$${RANLIB}" \
14238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14244 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14245 maybe-maintainer-clean-mmalloc:
14247 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14249 maintainer-clean-mmalloc:
14250 @[ -f ./mmalloc/Makefile ] || exit 0; \
14251 r=`${PWD_COMMAND}`; export r; \
14252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14255 for flag in $(EXTRA_HOST_FLAGS); do \
14256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14258 echo "Doing maintainer-clean in mmalloc" ; \
14260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14262 "RANLIB=$${RANLIB}" \
14263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14264 maintainer-clean) \
14270 .PHONY: configure-patch maybe-configure-patch
14271 maybe-configure-patch:
14273 maybe-configure-patch: configure-patch
14275 @test ! -f patch/Makefile || exit 0; \
14276 [ -d patch ] || mkdir patch; \
14277 r=`${PWD_COMMAND}`; export r; \
14278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 echo Configuring in patch; \
14281 cd patch || exit 1; \
14282 case $(srcdir) in \
14284 srcdiroption="--srcdir=."; \
14286 /* | [A-Za-z]:[\\/]*) \
14287 srcdiroption="--srcdir=$(srcdir)/patch"; \
14288 libsrcdir="$$s/patch";; \
14290 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14291 libsrcdir="$$s/patch";; \
14293 $(SHELL) $${libsrcdir}/configure \
14294 $(HOST_CONFIGARGS) $${srcdiroption} \
14298 .PHONY: all-patch maybe-all-patch
14301 maybe-all-patch: all-patch
14302 all-patch: configure-patch
14303 @r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14307 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14310 .PHONY: check-patch maybe-check-patch
14313 maybe-check-patch: check-patch
14316 @r=`${PWD_COMMAND}`; export r; \
14317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14320 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14324 .PHONY: install-patch maybe-install-patch
14325 maybe-install-patch:
14327 maybe-install-patch: install-patch
14329 install-patch: installdirs
14330 @r=`${PWD_COMMAND}`; export r; \
14331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14338 # Other targets (info, dvi, etc.)
14340 .PHONY: maybe-info-patch info-patch
14343 maybe-info-patch: info-patch
14347 @[ -f ./patch/Makefile ] || exit 0; \
14348 r=`${PWD_COMMAND}`; export r; \
14349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352 for flag in $(EXTRA_HOST_FLAGS); do \
14353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14355 echo "Doing info in patch" ; \
14357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14359 "RANLIB=$${RANLIB}" \
14360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14366 .PHONY: maybe-dvi-patch dvi-patch
14369 maybe-dvi-patch: dvi-patch
14373 @[ -f ./patch/Makefile ] || exit 0; \
14374 r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14378 for flag in $(EXTRA_HOST_FLAGS); do \
14379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14381 echo "Doing dvi in patch" ; \
14383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14385 "RANLIB=$${RANLIB}" \
14386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14392 .PHONY: maybe-TAGS-patch TAGS-patch
14395 maybe-TAGS-patch: TAGS-patch
14399 @[ -f ./patch/Makefile ] || exit 0; \
14400 r=`${PWD_COMMAND}`; export r; \
14401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14404 for flag in $(EXTRA_HOST_FLAGS); do \
14405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14407 echo "Doing TAGS in patch" ; \
14409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14411 "RANLIB=$${RANLIB}" \
14412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14418 .PHONY: maybe-install-info-patch install-info-patch
14419 maybe-install-info-patch:
14421 maybe-install-info-patch: install-info-patch
14423 install-info-patch: \
14426 @[ -f ./patch/Makefile ] || exit 0; \
14427 r=`${PWD_COMMAND}`; export r; \
14428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14431 for flag in $(EXTRA_HOST_FLAGS); do \
14432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14434 echo "Doing install-info in patch" ; \
14436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14438 "RANLIB=$${RANLIB}" \
14439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14445 .PHONY: maybe-installcheck-patch installcheck-patch
14446 maybe-installcheck-patch:
14448 maybe-installcheck-patch: installcheck-patch
14450 installcheck-patch: \
14452 @[ -f ./patch/Makefile ] || exit 0; \
14453 r=`${PWD_COMMAND}`; export r; \
14454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14457 for flag in $(EXTRA_HOST_FLAGS); do \
14458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14460 echo "Doing installcheck in patch" ; \
14462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14464 "RANLIB=$${RANLIB}" \
14465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14471 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14472 maybe-mostlyclean-patch:
14474 maybe-mostlyclean-patch: mostlyclean-patch
14477 @[ -f ./patch/Makefile ] || exit 0; \
14478 r=`${PWD_COMMAND}`; export r; \
14479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14482 for flag in $(EXTRA_HOST_FLAGS); do \
14483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14485 echo "Doing mostlyclean in patch" ; \
14487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14489 "RANLIB=$${RANLIB}" \
14490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14496 .PHONY: maybe-clean-patch clean-patch
14499 maybe-clean-patch: clean-patch
14502 @[ -f ./patch/Makefile ] || exit 0; \
14503 r=`${PWD_COMMAND}`; export r; \
14504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507 for flag in $(EXTRA_HOST_FLAGS); do \
14508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14510 echo "Doing clean in patch" ; \
14512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14514 "RANLIB=$${RANLIB}" \
14515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14521 .PHONY: maybe-distclean-patch distclean-patch
14522 maybe-distclean-patch:
14524 maybe-distclean-patch: distclean-patch
14527 @[ -f ./patch/Makefile ] || exit 0; \
14528 r=`${PWD_COMMAND}`; export r; \
14529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14532 for flag in $(EXTRA_HOST_FLAGS); do \
14533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14535 echo "Doing distclean in patch" ; \
14537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14539 "RANLIB=$${RANLIB}" \
14540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14546 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14547 maybe-maintainer-clean-patch:
14549 maybe-maintainer-clean-patch: maintainer-clean-patch
14551 maintainer-clean-patch:
14552 @[ -f ./patch/Makefile ] || exit 0; \
14553 r=`${PWD_COMMAND}`; export r; \
14554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14557 for flag in $(EXTRA_HOST_FLAGS); do \
14558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14560 echo "Doing maintainer-clean in patch" ; \
14562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14564 "RANLIB=$${RANLIB}" \
14565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14566 maintainer-clean) \
14572 .PHONY: configure-perl maybe-configure-perl
14573 maybe-configure-perl:
14575 maybe-configure-perl: configure-perl
14577 @test ! -f perl/Makefile || exit 0; \
14578 [ -d perl ] || mkdir perl; \
14579 r=`${PWD_COMMAND}`; export r; \
14580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14582 echo Configuring in perl; \
14583 cd perl || exit 1; \
14584 case $(srcdir) in \
14586 srcdiroption="--srcdir=."; \
14588 /* | [A-Za-z]:[\\/]*) \
14589 srcdiroption="--srcdir=$(srcdir)/perl"; \
14590 libsrcdir="$$s/perl";; \
14592 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14593 libsrcdir="$$s/perl";; \
14595 $(SHELL) $${libsrcdir}/configure \
14596 $(HOST_CONFIGARGS) $${srcdiroption} \
14600 .PHONY: all-perl maybe-all-perl
14603 maybe-all-perl: all-perl
14604 all-perl: configure-perl
14605 @r=`${PWD_COMMAND}`; export r; \
14606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14609 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14612 .PHONY: check-perl maybe-check-perl
14615 maybe-check-perl: check-perl
14618 @r=`${PWD_COMMAND}`; export r; \
14619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14622 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14626 .PHONY: install-perl maybe-install-perl
14627 maybe-install-perl:
14629 maybe-install-perl: install-perl
14631 install-perl: installdirs
14632 @r=`${PWD_COMMAND}`; export r; \
14633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14636 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14640 # Other targets (info, dvi, etc.)
14642 .PHONY: maybe-info-perl info-perl
14645 maybe-info-perl: info-perl
14649 @[ -f ./perl/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14654 for flag in $(EXTRA_HOST_FLAGS); do \
14655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14657 echo "Doing info in perl" ; \
14659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14661 "RANLIB=$${RANLIB}" \
14662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14668 .PHONY: maybe-dvi-perl dvi-perl
14671 maybe-dvi-perl: dvi-perl
14675 @[ -f ./perl/Makefile ] || exit 0; \
14676 r=`${PWD_COMMAND}`; export r; \
14677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14680 for flag in $(EXTRA_HOST_FLAGS); do \
14681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14683 echo "Doing dvi in perl" ; \
14685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14687 "RANLIB=$${RANLIB}" \
14688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14694 .PHONY: maybe-TAGS-perl TAGS-perl
14697 maybe-TAGS-perl: TAGS-perl
14701 @[ -f ./perl/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14706 for flag in $(EXTRA_HOST_FLAGS); do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14709 echo "Doing TAGS in perl" ; \
14711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14713 "RANLIB=$${RANLIB}" \
14714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14720 .PHONY: maybe-install-info-perl install-info-perl
14721 maybe-install-info-perl:
14723 maybe-install-info-perl: install-info-perl
14725 install-info-perl: \
14728 @[ -f ./perl/Makefile ] || exit 0; \
14729 r=`${PWD_COMMAND}`; export r; \
14730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14733 for flag in $(EXTRA_HOST_FLAGS); do \
14734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14736 echo "Doing install-info in perl" ; \
14738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14740 "RANLIB=$${RANLIB}" \
14741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14747 .PHONY: maybe-installcheck-perl installcheck-perl
14748 maybe-installcheck-perl:
14750 maybe-installcheck-perl: installcheck-perl
14752 installcheck-perl: \
14754 @[ -f ./perl/Makefile ] || exit 0; \
14755 r=`${PWD_COMMAND}`; export r; \
14756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14759 for flag in $(EXTRA_HOST_FLAGS); do \
14760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14762 echo "Doing installcheck in perl" ; \
14764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14766 "RANLIB=$${RANLIB}" \
14767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14773 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
14774 maybe-mostlyclean-perl:
14776 maybe-mostlyclean-perl: mostlyclean-perl
14779 @[ -f ./perl/Makefile ] || exit 0; \
14780 r=`${PWD_COMMAND}`; export r; \
14781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14784 for flag in $(EXTRA_HOST_FLAGS); do \
14785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14787 echo "Doing mostlyclean in perl" ; \
14789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14791 "RANLIB=$${RANLIB}" \
14792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14798 .PHONY: maybe-clean-perl clean-perl
14801 maybe-clean-perl: clean-perl
14804 @[ -f ./perl/Makefile ] || exit 0; \
14805 r=`${PWD_COMMAND}`; export r; \
14806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14809 for flag in $(EXTRA_HOST_FLAGS); do \
14810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14812 echo "Doing clean in perl" ; \
14814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14816 "RANLIB=$${RANLIB}" \
14817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14823 .PHONY: maybe-distclean-perl distclean-perl
14824 maybe-distclean-perl:
14826 maybe-distclean-perl: distclean-perl
14829 @[ -f ./perl/Makefile ] || exit 0; \
14830 r=`${PWD_COMMAND}`; export r; \
14831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14834 for flag in $(EXTRA_HOST_FLAGS); do \
14835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14837 echo "Doing distclean in perl" ; \
14839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14841 "RANLIB=$${RANLIB}" \
14842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14848 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
14849 maybe-maintainer-clean-perl:
14851 maybe-maintainer-clean-perl: maintainer-clean-perl
14853 maintainer-clean-perl:
14854 @[ -f ./perl/Makefile ] || exit 0; \
14855 r=`${PWD_COMMAND}`; export r; \
14856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14859 for flag in $(EXTRA_HOST_FLAGS); do \
14860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14862 echo "Doing maintainer-clean in perl" ; \
14864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14866 "RANLIB=$${RANLIB}" \
14867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14868 maintainer-clean) \
14874 .PHONY: configure-prms maybe-configure-prms
14875 maybe-configure-prms:
14877 maybe-configure-prms: configure-prms
14879 @test ! -f prms/Makefile || exit 0; \
14880 [ -d prms ] || mkdir prms; \
14881 r=`${PWD_COMMAND}`; export r; \
14882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14884 echo Configuring in prms; \
14885 cd prms || exit 1; \
14886 case $(srcdir) in \
14888 srcdiroption="--srcdir=."; \
14890 /* | [A-Za-z]:[\\/]*) \
14891 srcdiroption="--srcdir=$(srcdir)/prms"; \
14892 libsrcdir="$$s/prms";; \
14894 srcdiroption="--srcdir=../$(srcdir)/prms"; \
14895 libsrcdir="$$s/prms";; \
14897 $(SHELL) $${libsrcdir}/configure \
14898 $(HOST_CONFIGARGS) $${srcdiroption} \
14902 .PHONY: all-prms maybe-all-prms
14905 maybe-all-prms: all-prms
14906 all-prms: configure-prms
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14911 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
14914 .PHONY: check-prms maybe-check-prms
14917 maybe-check-prms: check-prms
14920 @r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
14928 .PHONY: install-prms maybe-install-prms
14929 maybe-install-prms:
14931 maybe-install-prms: install-prms
14933 install-prms: installdirs
14934 @r=`${PWD_COMMAND}`; export r; \
14935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14938 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
14942 # Other targets (info, dvi, etc.)
14944 .PHONY: maybe-info-prms info-prms
14947 maybe-info-prms: info-prms
14951 @[ -f ./prms/Makefile ] || exit 0; \
14952 r=`${PWD_COMMAND}`; export r; \
14953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14956 for flag in $(EXTRA_HOST_FLAGS); do \
14957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14959 echo "Doing info in prms" ; \
14961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14963 "RANLIB=$${RANLIB}" \
14964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14970 .PHONY: maybe-dvi-prms dvi-prms
14973 maybe-dvi-prms: dvi-prms
14977 @[ -f ./prms/Makefile ] || exit 0; \
14978 r=`${PWD_COMMAND}`; export r; \
14979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14982 for flag in $(EXTRA_HOST_FLAGS); do \
14983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14985 echo "Doing dvi in prms" ; \
14987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14989 "RANLIB=$${RANLIB}" \
14990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14996 .PHONY: maybe-TAGS-prms TAGS-prms
14999 maybe-TAGS-prms: TAGS-prms
15003 @[ -f ./prms/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15008 for flag in $(EXTRA_HOST_FLAGS); do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15011 echo "Doing TAGS in prms" ; \
15013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15015 "RANLIB=$${RANLIB}" \
15016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15022 .PHONY: maybe-install-info-prms install-info-prms
15023 maybe-install-info-prms:
15025 maybe-install-info-prms: install-info-prms
15027 install-info-prms: \
15030 @[ -f ./prms/Makefile ] || exit 0; \
15031 r=`${PWD_COMMAND}`; export r; \
15032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 for flag in $(EXTRA_HOST_FLAGS); do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 echo "Doing install-info in prms" ; \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15049 .PHONY: maybe-installcheck-prms installcheck-prms
15050 maybe-installcheck-prms:
15052 maybe-installcheck-prms: installcheck-prms
15054 installcheck-prms: \
15056 @[ -f ./prms/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15061 for flag in $(EXTRA_HOST_FLAGS); do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15064 echo "Doing installcheck in prms" ; \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15075 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15076 maybe-mostlyclean-prms:
15078 maybe-mostlyclean-prms: mostlyclean-prms
15081 @[ -f ./prms/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15086 for flag in $(EXTRA_HOST_FLAGS); do \
15087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15089 echo "Doing mostlyclean in prms" ; \
15091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15093 "RANLIB=$${RANLIB}" \
15094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15100 .PHONY: maybe-clean-prms clean-prms
15103 maybe-clean-prms: clean-prms
15106 @[ -f ./prms/Makefile ] || exit 0; \
15107 r=`${PWD_COMMAND}`; export r; \
15108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 for flag in $(EXTRA_HOST_FLAGS); do \
15112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15114 echo "Doing clean in prms" ; \
15116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15118 "RANLIB=$${RANLIB}" \
15119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15125 .PHONY: maybe-distclean-prms distclean-prms
15126 maybe-distclean-prms:
15128 maybe-distclean-prms: distclean-prms
15131 @[ -f ./prms/Makefile ] || exit 0; \
15132 r=`${PWD_COMMAND}`; export r; \
15133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15136 for flag in $(EXTRA_HOST_FLAGS); do \
15137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15139 echo "Doing distclean in prms" ; \
15141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15143 "RANLIB=$${RANLIB}" \
15144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15150 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15151 maybe-maintainer-clean-prms:
15153 maybe-maintainer-clean-prms: maintainer-clean-prms
15155 maintainer-clean-prms:
15156 @[ -f ./prms/Makefile ] || exit 0; \
15157 r=`${PWD_COMMAND}`; export r; \
15158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15161 for flag in $(EXTRA_HOST_FLAGS); do \
15162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15164 echo "Doing maintainer-clean in prms" ; \
15166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15168 "RANLIB=$${RANLIB}" \
15169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15170 maintainer-clean) \
15176 .PHONY: configure-rcs maybe-configure-rcs
15177 maybe-configure-rcs:
15179 maybe-configure-rcs: configure-rcs
15181 @test ! -f rcs/Makefile || exit 0; \
15182 [ -d rcs ] || mkdir rcs; \
15183 r=`${PWD_COMMAND}`; export r; \
15184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15186 echo Configuring in rcs; \
15187 cd rcs || exit 1; \
15188 case $(srcdir) in \
15190 srcdiroption="--srcdir=."; \
15192 /* | [A-Za-z]:[\\/]*) \
15193 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15194 libsrcdir="$$s/rcs";; \
15196 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15197 libsrcdir="$$s/rcs";; \
15199 $(SHELL) $${libsrcdir}/configure \
15200 $(HOST_CONFIGARGS) $${srcdiroption} \
15204 .PHONY: all-rcs maybe-all-rcs
15207 maybe-all-rcs: all-rcs
15208 all-rcs: configure-rcs
15209 @r=`${PWD_COMMAND}`; export r; \
15210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15213 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15216 .PHONY: check-rcs maybe-check-rcs
15219 maybe-check-rcs: check-rcs
15222 @r=`${PWD_COMMAND}`; export r; \
15223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15226 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15230 .PHONY: install-rcs maybe-install-rcs
15233 maybe-install-rcs: install-rcs
15235 install-rcs: installdirs
15236 @r=`${PWD_COMMAND}`; export r; \
15237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15240 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15244 # Other targets (info, dvi, etc.)
15246 .PHONY: maybe-info-rcs info-rcs
15249 maybe-info-rcs: info-rcs
15253 @[ -f ./rcs/Makefile ] || exit 0; \
15254 r=`${PWD_COMMAND}`; export r; \
15255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15258 for flag in $(EXTRA_HOST_FLAGS); do \
15259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15261 echo "Doing info in rcs" ; \
15263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15265 "RANLIB=$${RANLIB}" \
15266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15272 .PHONY: maybe-dvi-rcs dvi-rcs
15275 maybe-dvi-rcs: dvi-rcs
15279 @[ -f ./rcs/Makefile ] || exit 0; \
15280 r=`${PWD_COMMAND}`; export r; \
15281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15284 for flag in $(EXTRA_HOST_FLAGS); do \
15285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15287 echo "Doing dvi in rcs" ; \
15289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15291 "RANLIB=$${RANLIB}" \
15292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15298 .PHONY: maybe-TAGS-rcs TAGS-rcs
15301 maybe-TAGS-rcs: TAGS-rcs
15305 @[ -f ./rcs/Makefile ] || exit 0; \
15306 r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15310 for flag in $(EXTRA_HOST_FLAGS); do \
15311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15313 echo "Doing TAGS in rcs" ; \
15315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15317 "RANLIB=$${RANLIB}" \
15318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15324 .PHONY: maybe-install-info-rcs install-info-rcs
15325 maybe-install-info-rcs:
15327 maybe-install-info-rcs: install-info-rcs
15329 install-info-rcs: \
15332 @[ -f ./rcs/Makefile ] || exit 0; \
15333 r=`${PWD_COMMAND}`; export r; \
15334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15337 for flag in $(EXTRA_HOST_FLAGS); do \
15338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15340 echo "Doing install-info in rcs" ; \
15342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15344 "RANLIB=$${RANLIB}" \
15345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15351 .PHONY: maybe-installcheck-rcs installcheck-rcs
15352 maybe-installcheck-rcs:
15354 maybe-installcheck-rcs: installcheck-rcs
15356 installcheck-rcs: \
15358 @[ -f ./rcs/Makefile ] || exit 0; \
15359 r=`${PWD_COMMAND}`; export r; \
15360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15363 for flag in $(EXTRA_HOST_FLAGS); do \
15364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15366 echo "Doing installcheck in rcs" ; \
15368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15370 "RANLIB=$${RANLIB}" \
15371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15377 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15378 maybe-mostlyclean-rcs:
15380 maybe-mostlyclean-rcs: mostlyclean-rcs
15383 @[ -f ./rcs/Makefile ] || exit 0; \
15384 r=`${PWD_COMMAND}`; export r; \
15385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15388 for flag in $(EXTRA_HOST_FLAGS); do \
15389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15391 echo "Doing mostlyclean in rcs" ; \
15393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15395 "RANLIB=$${RANLIB}" \
15396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15402 .PHONY: maybe-clean-rcs clean-rcs
15405 maybe-clean-rcs: clean-rcs
15408 @[ -f ./rcs/Makefile ] || exit 0; \
15409 r=`${PWD_COMMAND}`; export r; \
15410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15413 for flag in $(EXTRA_HOST_FLAGS); do \
15414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15416 echo "Doing clean in rcs" ; \
15418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15420 "RANLIB=$${RANLIB}" \
15421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15427 .PHONY: maybe-distclean-rcs distclean-rcs
15428 maybe-distclean-rcs:
15430 maybe-distclean-rcs: distclean-rcs
15433 @[ -f ./rcs/Makefile ] || exit 0; \
15434 r=`${PWD_COMMAND}`; export r; \
15435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15438 for flag in $(EXTRA_HOST_FLAGS); do \
15439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15441 echo "Doing distclean in rcs" ; \
15443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15445 "RANLIB=$${RANLIB}" \
15446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15452 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15453 maybe-maintainer-clean-rcs:
15455 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15457 maintainer-clean-rcs:
15458 @[ -f ./rcs/Makefile ] || exit 0; \
15459 r=`${PWD_COMMAND}`; export r; \
15460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15463 for flag in $(EXTRA_HOST_FLAGS); do \
15464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15466 echo "Doing maintainer-clean in rcs" ; \
15468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15470 "RANLIB=$${RANLIB}" \
15471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15472 maintainer-clean) \
15478 .PHONY: configure-readline maybe-configure-readline
15479 maybe-configure-readline:
15481 maybe-configure-readline: configure-readline
15482 configure-readline:
15483 @test ! -f readline/Makefile || exit 0; \
15484 [ -d readline ] || mkdir readline; \
15485 r=`${PWD_COMMAND}`; export r; \
15486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15488 echo Configuring in readline; \
15489 cd readline || exit 1; \
15490 case $(srcdir) in \
15492 srcdiroption="--srcdir=."; \
15494 /* | [A-Za-z]:[\\/]*) \
15495 srcdiroption="--srcdir=$(srcdir)/readline"; \
15496 libsrcdir="$$s/readline";; \
15498 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15499 libsrcdir="$$s/readline";; \
15501 $(SHELL) $${libsrcdir}/configure \
15502 $(HOST_CONFIGARGS) $${srcdiroption} \
15506 .PHONY: all-readline maybe-all-readline
15507 maybe-all-readline:
15509 maybe-all-readline: all-readline
15510 all-readline: configure-readline
15511 @r=`${PWD_COMMAND}`; export r; \
15512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15515 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15518 .PHONY: check-readline maybe-check-readline
15519 maybe-check-readline:
15521 maybe-check-readline: check-readline
15524 @r=`${PWD_COMMAND}`; export r; \
15525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15528 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15532 .PHONY: install-readline maybe-install-readline
15533 maybe-install-readline:
15535 maybe-install-readline: install-readline
15537 install-readline: installdirs
15538 @r=`${PWD_COMMAND}`; export r; \
15539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15542 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15546 # Other targets (info, dvi, etc.)
15548 .PHONY: maybe-info-readline info-readline
15549 maybe-info-readline:
15551 maybe-info-readline: info-readline
15555 @[ -f ./readline/Makefile ] || exit 0; \
15556 r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15560 for flag in $(EXTRA_HOST_FLAGS); do \
15561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15563 echo "Doing info in readline" ; \
15565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15567 "RANLIB=$${RANLIB}" \
15568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15574 .PHONY: maybe-dvi-readline dvi-readline
15575 maybe-dvi-readline:
15577 maybe-dvi-readline: dvi-readline
15581 @[ -f ./readline/Makefile ] || exit 0; \
15582 r=`${PWD_COMMAND}`; export r; \
15583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15586 for flag in $(EXTRA_HOST_FLAGS); do \
15587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15589 echo "Doing dvi in readline" ; \
15591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15593 "RANLIB=$${RANLIB}" \
15594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15600 .PHONY: maybe-TAGS-readline TAGS-readline
15601 maybe-TAGS-readline:
15603 maybe-TAGS-readline: TAGS-readline
15607 @[ -f ./readline/Makefile ] || exit 0; \
15608 r=`${PWD_COMMAND}`; export r; \
15609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15612 for flag in $(EXTRA_HOST_FLAGS); do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15615 echo "Doing TAGS in readline" ; \
15617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15619 "RANLIB=$${RANLIB}" \
15620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15626 .PHONY: maybe-install-info-readline install-info-readline
15627 maybe-install-info-readline:
15629 maybe-install-info-readline: install-info-readline
15631 install-info-readline: \
15632 configure-readline \
15634 @[ -f ./readline/Makefile ] || exit 0; \
15635 r=`${PWD_COMMAND}`; export r; \
15636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15639 for flag in $(EXTRA_HOST_FLAGS); do \
15640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15642 echo "Doing install-info in readline" ; \
15644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15646 "RANLIB=$${RANLIB}" \
15647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15653 .PHONY: maybe-installcheck-readline installcheck-readline
15654 maybe-installcheck-readline:
15656 maybe-installcheck-readline: installcheck-readline
15658 installcheck-readline: \
15660 @[ -f ./readline/Makefile ] || exit 0; \
15661 r=`${PWD_COMMAND}`; export r; \
15662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15665 for flag in $(EXTRA_HOST_FLAGS); do \
15666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15668 echo "Doing installcheck in readline" ; \
15670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15672 "RANLIB=$${RANLIB}" \
15673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15679 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15680 maybe-mostlyclean-readline:
15682 maybe-mostlyclean-readline: mostlyclean-readline
15684 mostlyclean-readline:
15685 @[ -f ./readline/Makefile ] || exit 0; \
15686 r=`${PWD_COMMAND}`; export r; \
15687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15690 for flag in $(EXTRA_HOST_FLAGS); do \
15691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15693 echo "Doing mostlyclean in readline" ; \
15695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15697 "RANLIB=$${RANLIB}" \
15698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15704 .PHONY: maybe-clean-readline clean-readline
15705 maybe-clean-readline:
15707 maybe-clean-readline: clean-readline
15710 @[ -f ./readline/Makefile ] || exit 0; \
15711 r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15715 for flag in $(EXTRA_HOST_FLAGS); do \
15716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15718 echo "Doing clean in readline" ; \
15720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15722 "RANLIB=$${RANLIB}" \
15723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15729 .PHONY: maybe-distclean-readline distclean-readline
15730 maybe-distclean-readline:
15732 maybe-distclean-readline: distclean-readline
15734 distclean-readline:
15735 @[ -f ./readline/Makefile ] || exit 0; \
15736 r=`${PWD_COMMAND}`; export r; \
15737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15740 for flag in $(EXTRA_HOST_FLAGS); do \
15741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15743 echo "Doing distclean in readline" ; \
15745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15747 "RANLIB=$${RANLIB}" \
15748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15754 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
15755 maybe-maintainer-clean-readline:
15757 maybe-maintainer-clean-readline: maintainer-clean-readline
15759 maintainer-clean-readline:
15760 @[ -f ./readline/Makefile ] || exit 0; \
15761 r=`${PWD_COMMAND}`; export r; \
15762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15765 for flag in $(EXTRA_HOST_FLAGS); do \
15766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15768 echo "Doing maintainer-clean in readline" ; \
15770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15772 "RANLIB=$${RANLIB}" \
15773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15774 maintainer-clean) \
15780 .PHONY: configure-release maybe-configure-release
15781 maybe-configure-release:
15783 maybe-configure-release: configure-release
15785 @test ! -f release/Makefile || exit 0; \
15786 [ -d release ] || mkdir release; \
15787 r=`${PWD_COMMAND}`; export r; \
15788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15790 echo Configuring in release; \
15791 cd release || exit 1; \
15792 case $(srcdir) in \
15794 srcdiroption="--srcdir=."; \
15796 /* | [A-Za-z]:[\\/]*) \
15797 srcdiroption="--srcdir=$(srcdir)/release"; \
15798 libsrcdir="$$s/release";; \
15800 srcdiroption="--srcdir=../$(srcdir)/release"; \
15801 libsrcdir="$$s/release";; \
15803 $(SHELL) $${libsrcdir}/configure \
15804 $(HOST_CONFIGARGS) $${srcdiroption} \
15808 .PHONY: all-release maybe-all-release
15811 maybe-all-release: all-release
15812 all-release: configure-release
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15817 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
15820 .PHONY: check-release maybe-check-release
15821 maybe-check-release:
15823 maybe-check-release: check-release
15829 .PHONY: install-release maybe-install-release
15830 maybe-install-release:
15832 maybe-install-release: install-release
15838 # Other targets (info, dvi, etc.)
15840 .PHONY: maybe-info-release info-release
15841 maybe-info-release:
15843 maybe-info-release: info-release
15847 @[ -f ./release/Makefile ] || exit 0; \
15848 r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15852 for flag in $(EXTRA_HOST_FLAGS); do \
15853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15855 echo "Doing info in release" ; \
15857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15859 "RANLIB=$${RANLIB}" \
15860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15866 .PHONY: maybe-dvi-release dvi-release
15869 maybe-dvi-release: dvi-release
15873 @[ -f ./release/Makefile ] || exit 0; \
15874 r=`${PWD_COMMAND}`; export r; \
15875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15878 for flag in $(EXTRA_HOST_FLAGS); do \
15879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15881 echo "Doing dvi in release" ; \
15883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15885 "RANLIB=$${RANLIB}" \
15886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15892 .PHONY: maybe-TAGS-release TAGS-release
15893 maybe-TAGS-release:
15895 maybe-TAGS-release: TAGS-release
15899 @[ -f ./release/Makefile ] || exit 0; \
15900 r=`${PWD_COMMAND}`; export r; \
15901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15904 for flag in $(EXTRA_HOST_FLAGS); do \
15905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15907 echo "Doing TAGS in release" ; \
15909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15911 "RANLIB=$${RANLIB}" \
15912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15918 .PHONY: maybe-install-info-release install-info-release
15919 maybe-install-info-release:
15921 maybe-install-info-release: install-info-release
15923 install-info-release: \
15924 configure-release \
15926 @[ -f ./release/Makefile ] || exit 0; \
15927 r=`${PWD_COMMAND}`; export r; \
15928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15931 for flag in $(EXTRA_HOST_FLAGS); do \
15932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15934 echo "Doing install-info in release" ; \
15936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15938 "RANLIB=$${RANLIB}" \
15939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15945 .PHONY: maybe-installcheck-release installcheck-release
15946 maybe-installcheck-release:
15948 maybe-installcheck-release: installcheck-release
15950 installcheck-release: \
15952 @[ -f ./release/Makefile ] || exit 0; \
15953 r=`${PWD_COMMAND}`; export r; \
15954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15957 for flag in $(EXTRA_HOST_FLAGS); do \
15958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15960 echo "Doing installcheck in release" ; \
15962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15964 "RANLIB=$${RANLIB}" \
15965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15971 .PHONY: maybe-mostlyclean-release mostlyclean-release
15972 maybe-mostlyclean-release:
15974 maybe-mostlyclean-release: mostlyclean-release
15976 mostlyclean-release:
15977 @[ -f ./release/Makefile ] || exit 0; \
15978 r=`${PWD_COMMAND}`; export r; \
15979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15982 for flag in $(EXTRA_HOST_FLAGS); do \
15983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15985 echo "Doing mostlyclean in release" ; \
15987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15989 "RANLIB=$${RANLIB}" \
15990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15996 .PHONY: maybe-clean-release clean-release
15997 maybe-clean-release:
15999 maybe-clean-release: clean-release
16002 @[ -f ./release/Makefile ] || exit 0; \
16003 r=`${PWD_COMMAND}`; export r; \
16004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16007 for flag in $(EXTRA_HOST_FLAGS); do \
16008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16010 echo "Doing clean in release" ; \
16012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16014 "RANLIB=$${RANLIB}" \
16015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16021 .PHONY: maybe-distclean-release distclean-release
16022 maybe-distclean-release:
16024 maybe-distclean-release: distclean-release
16027 @[ -f ./release/Makefile ] || exit 0; \
16028 r=`${PWD_COMMAND}`; export r; \
16029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16032 for flag in $(EXTRA_HOST_FLAGS); do \
16033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16035 echo "Doing distclean in release" ; \
16037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16039 "RANLIB=$${RANLIB}" \
16040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16046 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16047 maybe-maintainer-clean-release:
16049 maybe-maintainer-clean-release: maintainer-clean-release
16051 maintainer-clean-release:
16052 @[ -f ./release/Makefile ] || exit 0; \
16053 r=`${PWD_COMMAND}`; export r; \
16054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16057 for flag in $(EXTRA_HOST_FLAGS); do \
16058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16060 echo "Doing maintainer-clean in release" ; \
16062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16064 "RANLIB=$${RANLIB}" \
16065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16066 maintainer-clean) \
16072 .PHONY: configure-recode maybe-configure-recode
16073 maybe-configure-recode:
16075 maybe-configure-recode: configure-recode
16077 @test ! -f recode/Makefile || exit 0; \
16078 [ -d recode ] || mkdir recode; \
16079 r=`${PWD_COMMAND}`; export r; \
16080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16082 echo Configuring in recode; \
16083 cd recode || exit 1; \
16084 case $(srcdir) in \
16086 srcdiroption="--srcdir=."; \
16088 /* | [A-Za-z]:[\\/]*) \
16089 srcdiroption="--srcdir=$(srcdir)/recode"; \
16090 libsrcdir="$$s/recode";; \
16092 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16093 libsrcdir="$$s/recode";; \
16095 $(SHELL) $${libsrcdir}/configure \
16096 $(HOST_CONFIGARGS) $${srcdiroption} \
16100 .PHONY: all-recode maybe-all-recode
16103 maybe-all-recode: all-recode
16104 all-recode: configure-recode
16105 @r=`${PWD_COMMAND}`; export r; \
16106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16109 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16112 .PHONY: check-recode maybe-check-recode
16113 maybe-check-recode:
16115 maybe-check-recode: check-recode
16118 @r=`${PWD_COMMAND}`; export r; \
16119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16122 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16126 .PHONY: install-recode maybe-install-recode
16127 maybe-install-recode:
16129 maybe-install-recode: install-recode
16131 install-recode: installdirs
16132 @r=`${PWD_COMMAND}`; export r; \
16133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16136 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16140 # Other targets (info, dvi, etc.)
16142 .PHONY: maybe-info-recode info-recode
16145 maybe-info-recode: info-recode
16149 @[ -f ./recode/Makefile ] || exit 0; \
16150 r=`${PWD_COMMAND}`; export r; \
16151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16154 for flag in $(EXTRA_HOST_FLAGS); do \
16155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16157 echo "Doing info in recode" ; \
16159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16161 "RANLIB=$${RANLIB}" \
16162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16168 .PHONY: maybe-dvi-recode dvi-recode
16171 maybe-dvi-recode: dvi-recode
16175 @[ -f ./recode/Makefile ] || exit 0; \
16176 r=`${PWD_COMMAND}`; export r; \
16177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16180 for flag in $(EXTRA_HOST_FLAGS); do \
16181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16183 echo "Doing dvi in recode" ; \
16185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16187 "RANLIB=$${RANLIB}" \
16188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16194 .PHONY: maybe-TAGS-recode TAGS-recode
16197 maybe-TAGS-recode: TAGS-recode
16201 @[ -f ./recode/Makefile ] || exit 0; \
16202 r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16206 for flag in $(EXTRA_HOST_FLAGS); do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16209 echo "Doing TAGS in recode" ; \
16211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16213 "RANLIB=$${RANLIB}" \
16214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16220 .PHONY: maybe-install-info-recode install-info-recode
16221 maybe-install-info-recode:
16223 maybe-install-info-recode: install-info-recode
16225 install-info-recode: \
16228 @[ -f ./recode/Makefile ] || exit 0; \
16229 r=`${PWD_COMMAND}`; export r; \
16230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16233 for flag in $(EXTRA_HOST_FLAGS); do \
16234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16236 echo "Doing install-info in recode" ; \
16238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16240 "RANLIB=$${RANLIB}" \
16241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16247 .PHONY: maybe-installcheck-recode installcheck-recode
16248 maybe-installcheck-recode:
16250 maybe-installcheck-recode: installcheck-recode
16252 installcheck-recode: \
16254 @[ -f ./recode/Makefile ] || exit 0; \
16255 r=`${PWD_COMMAND}`; export r; \
16256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16259 for flag in $(EXTRA_HOST_FLAGS); do \
16260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16262 echo "Doing installcheck in recode" ; \
16264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16266 "RANLIB=$${RANLIB}" \
16267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16273 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16274 maybe-mostlyclean-recode:
16276 maybe-mostlyclean-recode: mostlyclean-recode
16278 mostlyclean-recode:
16279 @[ -f ./recode/Makefile ] || exit 0; \
16280 r=`${PWD_COMMAND}`; export r; \
16281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16284 for flag in $(EXTRA_HOST_FLAGS); do \
16285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16287 echo "Doing mostlyclean in recode" ; \
16289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16291 "RANLIB=$${RANLIB}" \
16292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16298 .PHONY: maybe-clean-recode clean-recode
16299 maybe-clean-recode:
16301 maybe-clean-recode: clean-recode
16304 @[ -f ./recode/Makefile ] || exit 0; \
16305 r=`${PWD_COMMAND}`; export r; \
16306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16309 for flag in $(EXTRA_HOST_FLAGS); do \
16310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16312 echo "Doing clean in recode" ; \
16314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16316 "RANLIB=$${RANLIB}" \
16317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16323 .PHONY: maybe-distclean-recode distclean-recode
16324 maybe-distclean-recode:
16326 maybe-distclean-recode: distclean-recode
16329 @[ -f ./recode/Makefile ] || exit 0; \
16330 r=`${PWD_COMMAND}`; export r; \
16331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16334 for flag in $(EXTRA_HOST_FLAGS); do \
16335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16337 echo "Doing distclean in recode" ; \
16339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16341 "RANLIB=$${RANLIB}" \
16342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16348 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16349 maybe-maintainer-clean-recode:
16351 maybe-maintainer-clean-recode: maintainer-clean-recode
16353 maintainer-clean-recode:
16354 @[ -f ./recode/Makefile ] || exit 0; \
16355 r=`${PWD_COMMAND}`; export r; \
16356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16359 for flag in $(EXTRA_HOST_FLAGS); do \
16360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16362 echo "Doing maintainer-clean in recode" ; \
16364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16366 "RANLIB=$${RANLIB}" \
16367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16368 maintainer-clean) \
16374 .PHONY: configure-sed maybe-configure-sed
16375 maybe-configure-sed:
16377 maybe-configure-sed: configure-sed
16379 @test ! -f sed/Makefile || exit 0; \
16380 [ -d sed ] || mkdir sed; \
16381 r=`${PWD_COMMAND}`; export r; \
16382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16384 echo Configuring in sed; \
16385 cd sed || exit 1; \
16386 case $(srcdir) in \
16388 srcdiroption="--srcdir=."; \
16390 /* | [A-Za-z]:[\\/]*) \
16391 srcdiroption="--srcdir=$(srcdir)/sed"; \
16392 libsrcdir="$$s/sed";; \
16394 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16395 libsrcdir="$$s/sed";; \
16397 $(SHELL) $${libsrcdir}/configure \
16398 $(HOST_CONFIGARGS) $${srcdiroption} \
16402 .PHONY: all-sed maybe-all-sed
16405 maybe-all-sed: all-sed
16406 all-sed: configure-sed
16407 @r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16411 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16414 .PHONY: check-sed maybe-check-sed
16417 maybe-check-sed: check-sed
16420 @r=`${PWD_COMMAND}`; export r; \
16421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16424 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16428 .PHONY: install-sed maybe-install-sed
16431 maybe-install-sed: install-sed
16433 install-sed: installdirs
16434 @r=`${PWD_COMMAND}`; export r; \
16435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16438 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16442 # Other targets (info, dvi, etc.)
16444 .PHONY: maybe-info-sed info-sed
16447 maybe-info-sed: info-sed
16451 @[ -f ./sed/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16456 for flag in $(EXTRA_HOST_FLAGS); do \
16457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16459 echo "Doing info in sed" ; \
16461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16463 "RANLIB=$${RANLIB}" \
16464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16470 .PHONY: maybe-dvi-sed dvi-sed
16473 maybe-dvi-sed: dvi-sed
16477 @[ -f ./sed/Makefile ] || exit 0; \
16478 r=`${PWD_COMMAND}`; export r; \
16479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16482 for flag in $(EXTRA_HOST_FLAGS); do \
16483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16485 echo "Doing dvi in sed" ; \
16487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16489 "RANLIB=$${RANLIB}" \
16490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16496 .PHONY: maybe-TAGS-sed TAGS-sed
16499 maybe-TAGS-sed: TAGS-sed
16503 @[ -f ./sed/Makefile ] || exit 0; \
16504 r=`${PWD_COMMAND}`; export r; \
16505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16508 for flag in $(EXTRA_HOST_FLAGS); do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16511 echo "Doing TAGS in sed" ; \
16513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16515 "RANLIB=$${RANLIB}" \
16516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16522 .PHONY: maybe-install-info-sed install-info-sed
16523 maybe-install-info-sed:
16525 maybe-install-info-sed: install-info-sed
16527 install-info-sed: \
16530 @[ -f ./sed/Makefile ] || exit 0; \
16531 r=`${PWD_COMMAND}`; export r; \
16532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16535 for flag in $(EXTRA_HOST_FLAGS); do \
16536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16538 echo "Doing install-info in sed" ; \
16540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16542 "RANLIB=$${RANLIB}" \
16543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16549 .PHONY: maybe-installcheck-sed installcheck-sed
16550 maybe-installcheck-sed:
16552 maybe-installcheck-sed: installcheck-sed
16554 installcheck-sed: \
16556 @[ -f ./sed/Makefile ] || exit 0; \
16557 r=`${PWD_COMMAND}`; export r; \
16558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16561 for flag in $(EXTRA_HOST_FLAGS); do \
16562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16564 echo "Doing installcheck in sed" ; \
16566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16568 "RANLIB=$${RANLIB}" \
16569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16575 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16576 maybe-mostlyclean-sed:
16578 maybe-mostlyclean-sed: mostlyclean-sed
16581 @[ -f ./sed/Makefile ] || exit 0; \
16582 r=`${PWD_COMMAND}`; export r; \
16583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16586 for flag in $(EXTRA_HOST_FLAGS); do \
16587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16589 echo "Doing mostlyclean in sed" ; \
16591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16593 "RANLIB=$${RANLIB}" \
16594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16600 .PHONY: maybe-clean-sed clean-sed
16603 maybe-clean-sed: clean-sed
16606 @[ -f ./sed/Makefile ] || exit 0; \
16607 r=`${PWD_COMMAND}`; export r; \
16608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16611 for flag in $(EXTRA_HOST_FLAGS); do \
16612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16614 echo "Doing clean in sed" ; \
16616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16618 "RANLIB=$${RANLIB}" \
16619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16625 .PHONY: maybe-distclean-sed distclean-sed
16626 maybe-distclean-sed:
16628 maybe-distclean-sed: distclean-sed
16631 @[ -f ./sed/Makefile ] || exit 0; \
16632 r=`${PWD_COMMAND}`; export r; \
16633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16636 for flag in $(EXTRA_HOST_FLAGS); do \
16637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16639 echo "Doing distclean in sed" ; \
16641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16643 "RANLIB=$${RANLIB}" \
16644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16650 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16651 maybe-maintainer-clean-sed:
16653 maybe-maintainer-clean-sed: maintainer-clean-sed
16655 maintainer-clean-sed:
16656 @[ -f ./sed/Makefile ] || exit 0; \
16657 r=`${PWD_COMMAND}`; export r; \
16658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16661 for flag in $(EXTRA_HOST_FLAGS); do \
16662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16664 echo "Doing maintainer-clean in sed" ; \
16666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16668 "RANLIB=$${RANLIB}" \
16669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16670 maintainer-clean) \
16676 .PHONY: configure-send-pr maybe-configure-send-pr
16677 maybe-configure-send-pr:
16679 maybe-configure-send-pr: configure-send-pr
16681 @test ! -f send-pr/Makefile || exit 0; \
16682 [ -d send-pr ] || mkdir send-pr; \
16683 r=`${PWD_COMMAND}`; export r; \
16684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16686 echo Configuring in send-pr; \
16687 cd send-pr || exit 1; \
16688 case $(srcdir) in \
16690 srcdiroption="--srcdir=."; \
16692 /* | [A-Za-z]:[\\/]*) \
16693 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16694 libsrcdir="$$s/send-pr";; \
16696 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16697 libsrcdir="$$s/send-pr";; \
16699 $(SHELL) $${libsrcdir}/configure \
16700 $(HOST_CONFIGARGS) $${srcdiroption} \
16704 .PHONY: all-send-pr maybe-all-send-pr
16707 maybe-all-send-pr: all-send-pr
16708 all-send-pr: configure-send-pr
16709 @r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16713 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16716 .PHONY: check-send-pr maybe-check-send-pr
16717 maybe-check-send-pr:
16719 maybe-check-send-pr: check-send-pr
16722 @r=`${PWD_COMMAND}`; export r; \
16723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16726 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
16730 .PHONY: install-send-pr maybe-install-send-pr
16731 maybe-install-send-pr:
16733 maybe-install-send-pr: install-send-pr
16735 install-send-pr: installdirs
16736 @r=`${PWD_COMMAND}`; export r; \
16737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16740 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
16744 # Other targets (info, dvi, etc.)
16746 .PHONY: maybe-info-send-pr info-send-pr
16747 maybe-info-send-pr:
16749 maybe-info-send-pr: info-send-pr
16753 @[ -f ./send-pr/Makefile ] || exit 0; \
16754 r=`${PWD_COMMAND}`; export r; \
16755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16758 for flag in $(EXTRA_HOST_FLAGS); do \
16759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16761 echo "Doing info in send-pr" ; \
16763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16765 "RANLIB=$${RANLIB}" \
16766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16772 .PHONY: maybe-dvi-send-pr dvi-send-pr
16775 maybe-dvi-send-pr: dvi-send-pr
16779 @[ -f ./send-pr/Makefile ] || exit 0; \
16780 r=`${PWD_COMMAND}`; export r; \
16781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16784 for flag in $(EXTRA_HOST_FLAGS); do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16787 echo "Doing dvi in send-pr" ; \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16798 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
16799 maybe-TAGS-send-pr:
16801 maybe-TAGS-send-pr: TAGS-send-pr
16805 @[ -f ./send-pr/Makefile ] || exit 0; \
16806 r=`${PWD_COMMAND}`; export r; \
16807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16810 for flag in $(EXTRA_HOST_FLAGS); do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16813 echo "Doing TAGS in send-pr" ; \
16815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16817 "RANLIB=$${RANLIB}" \
16818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16824 .PHONY: maybe-install-info-send-pr install-info-send-pr
16825 maybe-install-info-send-pr:
16827 maybe-install-info-send-pr: install-info-send-pr
16829 install-info-send-pr: \
16830 configure-send-pr \
16832 @[ -f ./send-pr/Makefile ] || exit 0; \
16833 r=`${PWD_COMMAND}`; export r; \
16834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 for flag in $(EXTRA_HOST_FLAGS); do \
16838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16840 echo "Doing install-info in send-pr" ; \
16842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16844 "RANLIB=$${RANLIB}" \
16845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16851 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
16852 maybe-installcheck-send-pr:
16854 maybe-installcheck-send-pr: installcheck-send-pr
16856 installcheck-send-pr: \
16858 @[ -f ./send-pr/Makefile ] || exit 0; \
16859 r=`${PWD_COMMAND}`; export r; \
16860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16863 for flag in $(EXTRA_HOST_FLAGS); do \
16864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16866 echo "Doing installcheck in send-pr" ; \
16868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16870 "RANLIB=$${RANLIB}" \
16871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16877 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
16878 maybe-mostlyclean-send-pr:
16880 maybe-mostlyclean-send-pr: mostlyclean-send-pr
16882 mostlyclean-send-pr:
16883 @[ -f ./send-pr/Makefile ] || exit 0; \
16884 r=`${PWD_COMMAND}`; export r; \
16885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16888 for flag in $(EXTRA_HOST_FLAGS); do \
16889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16891 echo "Doing mostlyclean in send-pr" ; \
16893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16895 "RANLIB=$${RANLIB}" \
16896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16902 .PHONY: maybe-clean-send-pr clean-send-pr
16903 maybe-clean-send-pr:
16905 maybe-clean-send-pr: clean-send-pr
16908 @[ -f ./send-pr/Makefile ] || exit 0; \
16909 r=`${PWD_COMMAND}`; export r; \
16910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16913 for flag in $(EXTRA_HOST_FLAGS); do \
16914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16916 echo "Doing clean in send-pr" ; \
16918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16920 "RANLIB=$${RANLIB}" \
16921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16927 .PHONY: maybe-distclean-send-pr distclean-send-pr
16928 maybe-distclean-send-pr:
16930 maybe-distclean-send-pr: distclean-send-pr
16933 @[ -f ./send-pr/Makefile ] || exit 0; \
16934 r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16938 for flag in $(EXTRA_HOST_FLAGS); do \
16939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16941 echo "Doing distclean in send-pr" ; \
16943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16945 "RANLIB=$${RANLIB}" \
16946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16952 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
16953 maybe-maintainer-clean-send-pr:
16955 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
16957 maintainer-clean-send-pr:
16958 @[ -f ./send-pr/Makefile ] || exit 0; \
16959 r=`${PWD_COMMAND}`; export r; \
16960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16963 for flag in $(EXTRA_HOST_FLAGS); do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16966 echo "Doing maintainer-clean in send-pr" ; \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 maintainer-clean) \
16978 .PHONY: configure-shellutils maybe-configure-shellutils
16979 maybe-configure-shellutils:
16981 maybe-configure-shellutils: configure-shellutils
16982 configure-shellutils:
16983 @test ! -f shellutils/Makefile || exit 0; \
16984 [ -d shellutils ] || mkdir shellutils; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16988 echo Configuring in shellutils; \
16989 cd shellutils || exit 1; \
16990 case $(srcdir) in \
16992 srcdiroption="--srcdir=."; \
16994 /* | [A-Za-z]:[\\/]*) \
16995 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
16996 libsrcdir="$$s/shellutils";; \
16998 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
16999 libsrcdir="$$s/shellutils";; \
17001 $(SHELL) $${libsrcdir}/configure \
17002 $(HOST_CONFIGARGS) $${srcdiroption} \
17006 .PHONY: all-shellutils maybe-all-shellutils
17007 maybe-all-shellutils:
17009 maybe-all-shellutils: all-shellutils
17010 all-shellutils: configure-shellutils
17011 @r=`${PWD_COMMAND}`; export r; \
17012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17015 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17018 .PHONY: check-shellutils maybe-check-shellutils
17019 maybe-check-shellutils:
17021 maybe-check-shellutils: check-shellutils
17024 @r=`${PWD_COMMAND}`; export r; \
17025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17028 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17032 .PHONY: install-shellutils maybe-install-shellutils
17033 maybe-install-shellutils:
17035 maybe-install-shellutils: install-shellutils
17037 install-shellutils: installdirs
17038 @r=`${PWD_COMMAND}`; export r; \
17039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17042 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17046 # Other targets (info, dvi, etc.)
17048 .PHONY: maybe-info-shellutils info-shellutils
17049 maybe-info-shellutils:
17051 maybe-info-shellutils: info-shellutils
17054 configure-shellutils
17055 @[ -f ./shellutils/Makefile ] || exit 0; \
17056 r=`${PWD_COMMAND}`; export r; \
17057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17060 for flag in $(EXTRA_HOST_FLAGS); do \
17061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17063 echo "Doing info in shellutils" ; \
17064 (cd shellutils && \
17065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17067 "RANLIB=$${RANLIB}" \
17068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17074 .PHONY: maybe-dvi-shellutils dvi-shellutils
17075 maybe-dvi-shellutils:
17077 maybe-dvi-shellutils: dvi-shellutils
17080 configure-shellutils
17081 @[ -f ./shellutils/Makefile ] || exit 0; \
17082 r=`${PWD_COMMAND}`; export r; \
17083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17086 for flag in $(EXTRA_HOST_FLAGS); do \
17087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17089 echo "Doing dvi in shellutils" ; \
17090 (cd shellutils && \
17091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17093 "RANLIB=$${RANLIB}" \
17094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17100 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17101 maybe-TAGS-shellutils:
17103 maybe-TAGS-shellutils: TAGS-shellutils
17106 configure-shellutils
17107 @[ -f ./shellutils/Makefile ] || exit 0; \
17108 r=`${PWD_COMMAND}`; export r; \
17109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17112 for flag in $(EXTRA_HOST_FLAGS); do \
17113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17115 echo "Doing TAGS in shellutils" ; \
17116 (cd shellutils && \
17117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17119 "RANLIB=$${RANLIB}" \
17120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17126 .PHONY: maybe-install-info-shellutils install-info-shellutils
17127 maybe-install-info-shellutils:
17129 maybe-install-info-shellutils: install-info-shellutils
17131 install-info-shellutils: \
17132 configure-shellutils \
17134 @[ -f ./shellutils/Makefile ] || exit 0; \
17135 r=`${PWD_COMMAND}`; export r; \
17136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 for flag in $(EXTRA_HOST_FLAGS); do \
17140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17142 echo "Doing install-info in shellutils" ; \
17143 (cd shellutils && \
17144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17146 "RANLIB=$${RANLIB}" \
17147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17153 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17154 maybe-installcheck-shellutils:
17156 maybe-installcheck-shellutils: installcheck-shellutils
17158 installcheck-shellutils: \
17159 configure-shellutils
17160 @[ -f ./shellutils/Makefile ] || exit 0; \
17161 r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17165 for flag in $(EXTRA_HOST_FLAGS); do \
17166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17168 echo "Doing installcheck in shellutils" ; \
17169 (cd shellutils && \
17170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17172 "RANLIB=$${RANLIB}" \
17173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17179 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17180 maybe-mostlyclean-shellutils:
17182 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17184 mostlyclean-shellutils:
17185 @[ -f ./shellutils/Makefile ] || exit 0; \
17186 r=`${PWD_COMMAND}`; export r; \
17187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17190 for flag in $(EXTRA_HOST_FLAGS); do \
17191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17193 echo "Doing mostlyclean in shellutils" ; \
17194 (cd shellutils && \
17195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17197 "RANLIB=$${RANLIB}" \
17198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17204 .PHONY: maybe-clean-shellutils clean-shellutils
17205 maybe-clean-shellutils:
17207 maybe-clean-shellutils: clean-shellutils
17210 @[ -f ./shellutils/Makefile ] || exit 0; \
17211 r=`${PWD_COMMAND}`; export r; \
17212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17215 for flag in $(EXTRA_HOST_FLAGS); do \
17216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17218 echo "Doing clean in shellutils" ; \
17219 (cd shellutils && \
17220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17222 "RANLIB=$${RANLIB}" \
17223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17229 .PHONY: maybe-distclean-shellutils distclean-shellutils
17230 maybe-distclean-shellutils:
17232 maybe-distclean-shellutils: distclean-shellutils
17234 distclean-shellutils:
17235 @[ -f ./shellutils/Makefile ] || exit 0; \
17236 r=`${PWD_COMMAND}`; export r; \
17237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17240 for flag in $(EXTRA_HOST_FLAGS); do \
17241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17243 echo "Doing distclean in shellutils" ; \
17244 (cd shellutils && \
17245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17247 "RANLIB=$${RANLIB}" \
17248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17254 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17255 maybe-maintainer-clean-shellutils:
17257 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17259 maintainer-clean-shellutils:
17260 @[ -f ./shellutils/Makefile ] || exit 0; \
17261 r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17265 for flag in $(EXTRA_HOST_FLAGS); do \
17266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17268 echo "Doing maintainer-clean in shellutils" ; \
17269 (cd shellutils && \
17270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17272 "RANLIB=$${RANLIB}" \
17273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17274 maintainer-clean) \
17280 .PHONY: configure-sid maybe-configure-sid
17281 maybe-configure-sid:
17283 maybe-configure-sid: configure-sid
17285 @test ! -f sid/Makefile || exit 0; \
17286 [ -d sid ] || mkdir sid; \
17287 r=`${PWD_COMMAND}`; export r; \
17288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17290 echo Configuring in sid; \
17291 cd sid || exit 1; \
17292 case $(srcdir) in \
17294 srcdiroption="--srcdir=."; \
17296 /* | [A-Za-z]:[\\/]*) \
17297 srcdiroption="--srcdir=$(srcdir)/sid"; \
17298 libsrcdir="$$s/sid";; \
17300 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17301 libsrcdir="$$s/sid";; \
17303 $(SHELL) $${libsrcdir}/configure \
17304 $(HOST_CONFIGARGS) $${srcdiroption} \
17308 .PHONY: all-sid maybe-all-sid
17311 maybe-all-sid: all-sid
17312 all-sid: configure-sid
17313 @r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17317 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17320 .PHONY: check-sid maybe-check-sid
17323 maybe-check-sid: check-sid
17326 @r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17330 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17334 .PHONY: install-sid maybe-install-sid
17337 maybe-install-sid: install-sid
17339 install-sid: installdirs
17340 @r=`${PWD_COMMAND}`; export r; \
17341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17344 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17348 # Other targets (info, dvi, etc.)
17350 .PHONY: maybe-info-sid info-sid
17353 maybe-info-sid: info-sid
17357 @[ -f ./sid/Makefile ] || exit 0; \
17358 r=`${PWD_COMMAND}`; export r; \
17359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17362 for flag in $(EXTRA_HOST_FLAGS); do \
17363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17365 echo "Doing info in sid" ; \
17367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17369 "RANLIB=$${RANLIB}" \
17370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17376 .PHONY: maybe-dvi-sid dvi-sid
17379 maybe-dvi-sid: dvi-sid
17383 @[ -f ./sid/Makefile ] || exit 0; \
17384 r=`${PWD_COMMAND}`; export r; \
17385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17388 for flag in $(EXTRA_HOST_FLAGS); do \
17389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17391 echo "Doing dvi in sid" ; \
17393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17395 "RANLIB=$${RANLIB}" \
17396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17402 .PHONY: maybe-TAGS-sid TAGS-sid
17405 maybe-TAGS-sid: TAGS-sid
17409 @[ -f ./sid/Makefile ] || exit 0; \
17410 r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17414 for flag in $(EXTRA_HOST_FLAGS); do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17417 echo "Doing TAGS in sid" ; \
17419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17421 "RANLIB=$${RANLIB}" \
17422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17428 .PHONY: maybe-install-info-sid install-info-sid
17429 maybe-install-info-sid:
17431 maybe-install-info-sid: install-info-sid
17433 install-info-sid: \
17436 @[ -f ./sid/Makefile ] || exit 0; \
17437 r=`${PWD_COMMAND}`; export r; \
17438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 for flag in $(EXTRA_HOST_FLAGS); do \
17442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17444 echo "Doing install-info in sid" ; \
17446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17448 "RANLIB=$${RANLIB}" \
17449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17455 .PHONY: maybe-installcheck-sid installcheck-sid
17456 maybe-installcheck-sid:
17458 maybe-installcheck-sid: installcheck-sid
17460 installcheck-sid: \
17462 @[ -f ./sid/Makefile ] || exit 0; \
17463 r=`${PWD_COMMAND}`; export r; \
17464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17467 for flag in $(EXTRA_HOST_FLAGS); do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17470 echo "Doing installcheck in sid" ; \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17481 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17482 maybe-mostlyclean-sid:
17484 maybe-mostlyclean-sid: mostlyclean-sid
17487 @[ -f ./sid/Makefile ] || exit 0; \
17488 r=`${PWD_COMMAND}`; export r; \
17489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17492 for flag in $(EXTRA_HOST_FLAGS); do \
17493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17495 echo "Doing mostlyclean in sid" ; \
17497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17499 "RANLIB=$${RANLIB}" \
17500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17506 .PHONY: maybe-clean-sid clean-sid
17509 maybe-clean-sid: clean-sid
17512 @[ -f ./sid/Makefile ] || exit 0; \
17513 r=`${PWD_COMMAND}`; export r; \
17514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17517 for flag in $(EXTRA_HOST_FLAGS); do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17520 echo "Doing clean in sid" ; \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17531 .PHONY: maybe-distclean-sid distclean-sid
17532 maybe-distclean-sid:
17534 maybe-distclean-sid: distclean-sid
17537 @[ -f ./sid/Makefile ] || exit 0; \
17538 r=`${PWD_COMMAND}`; export r; \
17539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 for flag in $(EXTRA_HOST_FLAGS); do \
17543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 echo "Doing distclean in sid" ; \
17547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17549 "RANLIB=$${RANLIB}" \
17550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17556 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17557 maybe-maintainer-clean-sid:
17559 maybe-maintainer-clean-sid: maintainer-clean-sid
17561 maintainer-clean-sid:
17562 @[ -f ./sid/Makefile ] || exit 0; \
17563 r=`${PWD_COMMAND}`; export r; \
17564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567 for flag in $(EXTRA_HOST_FLAGS); do \
17568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17570 echo "Doing maintainer-clean in sid" ; \
17572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17574 "RANLIB=$${RANLIB}" \
17575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17576 maintainer-clean) \
17582 .PHONY: configure-sim maybe-configure-sim
17583 maybe-configure-sim:
17585 maybe-configure-sim: configure-sim
17587 @test ! -f sim/Makefile || exit 0; \
17588 [ -d sim ] || mkdir sim; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17592 echo Configuring in sim; \
17593 cd sim || exit 1; \
17594 case $(srcdir) in \
17596 srcdiroption="--srcdir=."; \
17598 /* | [A-Za-z]:[\\/]*) \
17599 srcdiroption="--srcdir=$(srcdir)/sim"; \
17600 libsrcdir="$$s/sim";; \
17602 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17603 libsrcdir="$$s/sim";; \
17605 $(SHELL) $${libsrcdir}/configure \
17606 $(HOST_CONFIGARGS) $${srcdiroption} \
17610 .PHONY: all-sim maybe-all-sim
17613 maybe-all-sim: all-sim
17614 all-sim: configure-sim
17615 @r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17619 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17622 .PHONY: check-sim maybe-check-sim
17625 maybe-check-sim: check-sim
17628 @r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17632 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17636 .PHONY: install-sim maybe-install-sim
17639 maybe-install-sim: install-sim
17641 install-sim: installdirs
17642 @r=`${PWD_COMMAND}`; export r; \
17643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17646 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17650 # Other targets (info, dvi, etc.)
17652 .PHONY: maybe-info-sim info-sim
17655 maybe-info-sim: info-sim
17659 @[ -f ./sim/Makefile ] || exit 0; \
17660 r=`${PWD_COMMAND}`; export r; \
17661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17664 for flag in $(EXTRA_HOST_FLAGS); do \
17665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17667 echo "Doing info in sim" ; \
17669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17671 "RANLIB=$${RANLIB}" \
17672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17678 .PHONY: maybe-dvi-sim dvi-sim
17681 maybe-dvi-sim: dvi-sim
17685 @[ -f ./sim/Makefile ] || exit 0; \
17686 r=`${PWD_COMMAND}`; export r; \
17687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17690 for flag in $(EXTRA_HOST_FLAGS); do \
17691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17693 echo "Doing dvi in sim" ; \
17695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17697 "RANLIB=$${RANLIB}" \
17698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17704 .PHONY: maybe-TAGS-sim TAGS-sim
17707 maybe-TAGS-sim: TAGS-sim
17711 @[ -f ./sim/Makefile ] || exit 0; \
17712 r=`${PWD_COMMAND}`; export r; \
17713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17716 for flag in $(EXTRA_HOST_FLAGS); do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17719 echo "Doing TAGS in sim" ; \
17721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17723 "RANLIB=$${RANLIB}" \
17724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17730 .PHONY: maybe-install-info-sim install-info-sim
17731 maybe-install-info-sim:
17733 maybe-install-info-sim: install-info-sim
17735 install-info-sim: \
17738 @[ -f ./sim/Makefile ] || exit 0; \
17739 r=`${PWD_COMMAND}`; export r; \
17740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17743 for flag in $(EXTRA_HOST_FLAGS); do \
17744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17746 echo "Doing install-info in sim" ; \
17748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17750 "RANLIB=$${RANLIB}" \
17751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17757 .PHONY: maybe-installcheck-sim installcheck-sim
17758 maybe-installcheck-sim:
17760 maybe-installcheck-sim: installcheck-sim
17762 installcheck-sim: \
17764 @[ -f ./sim/Makefile ] || exit 0; \
17765 r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17769 for flag in $(EXTRA_HOST_FLAGS); do \
17770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17772 echo "Doing installcheck in sim" ; \
17774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17776 "RANLIB=$${RANLIB}" \
17777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17783 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
17784 maybe-mostlyclean-sim:
17786 maybe-mostlyclean-sim: mostlyclean-sim
17789 @[ -f ./sim/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17794 for flag in $(EXTRA_HOST_FLAGS); do \
17795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17797 echo "Doing mostlyclean in sim" ; \
17799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17801 "RANLIB=$${RANLIB}" \
17802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17808 .PHONY: maybe-clean-sim clean-sim
17811 maybe-clean-sim: clean-sim
17814 @[ -f ./sim/Makefile ] || exit 0; \
17815 r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17819 for flag in $(EXTRA_HOST_FLAGS); do \
17820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17822 echo "Doing clean in sim" ; \
17824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17826 "RANLIB=$${RANLIB}" \
17827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17833 .PHONY: maybe-distclean-sim distclean-sim
17834 maybe-distclean-sim:
17836 maybe-distclean-sim: distclean-sim
17839 @[ -f ./sim/Makefile ] || exit 0; \
17840 r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17844 for flag in $(EXTRA_HOST_FLAGS); do \
17845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17847 echo "Doing distclean in sim" ; \
17849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17851 "RANLIB=$${RANLIB}" \
17852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17858 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
17859 maybe-maintainer-clean-sim:
17861 maybe-maintainer-clean-sim: maintainer-clean-sim
17863 maintainer-clean-sim:
17864 @[ -f ./sim/Makefile ] || exit 0; \
17865 r=`${PWD_COMMAND}`; export r; \
17866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17869 for flag in $(EXTRA_HOST_FLAGS); do \
17870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17872 echo "Doing maintainer-clean in sim" ; \
17874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17876 "RANLIB=$${RANLIB}" \
17877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17878 maintainer-clean) \
17884 .PHONY: configure-tar maybe-configure-tar
17885 maybe-configure-tar:
17887 maybe-configure-tar: configure-tar
17889 @test ! -f tar/Makefile || exit 0; \
17890 [ -d tar ] || mkdir tar; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17894 echo Configuring in tar; \
17895 cd tar || exit 1; \
17896 case $(srcdir) in \
17898 srcdiroption="--srcdir=."; \
17900 /* | [A-Za-z]:[\\/]*) \
17901 srcdiroption="--srcdir=$(srcdir)/tar"; \
17902 libsrcdir="$$s/tar";; \
17904 srcdiroption="--srcdir=../$(srcdir)/tar"; \
17905 libsrcdir="$$s/tar";; \
17907 $(SHELL) $${libsrcdir}/configure \
17908 $(HOST_CONFIGARGS) $${srcdiroption} \
17912 .PHONY: all-tar maybe-all-tar
17915 maybe-all-tar: all-tar
17916 all-tar: configure-tar
17917 @r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17921 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
17924 .PHONY: check-tar maybe-check-tar
17927 maybe-check-tar: check-tar
17930 @r=`${PWD_COMMAND}`; export r; \
17931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
17938 .PHONY: install-tar maybe-install-tar
17941 maybe-install-tar: install-tar
17943 install-tar: installdirs
17944 @r=`${PWD_COMMAND}`; export r; \
17945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17948 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
17952 # Other targets (info, dvi, etc.)
17954 .PHONY: maybe-info-tar info-tar
17957 maybe-info-tar: info-tar
17961 @[ -f ./tar/Makefile ] || exit 0; \
17962 r=`${PWD_COMMAND}`; export r; \
17963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17966 for flag in $(EXTRA_HOST_FLAGS); do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17969 echo "Doing info in tar" ; \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17980 .PHONY: maybe-dvi-tar dvi-tar
17983 maybe-dvi-tar: dvi-tar
17987 @[ -f ./tar/Makefile ] || exit 0; \
17988 r=`${PWD_COMMAND}`; export r; \
17989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17992 for flag in $(EXTRA_HOST_FLAGS); do \
17993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17995 echo "Doing dvi in tar" ; \
17997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17999 "RANLIB=$${RANLIB}" \
18000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18006 .PHONY: maybe-TAGS-tar TAGS-tar
18009 maybe-TAGS-tar: TAGS-tar
18013 @[ -f ./tar/Makefile ] || exit 0; \
18014 r=`${PWD_COMMAND}`; export r; \
18015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18018 for flag in $(EXTRA_HOST_FLAGS); do \
18019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18021 echo "Doing TAGS in tar" ; \
18023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18025 "RANLIB=$${RANLIB}" \
18026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18032 .PHONY: maybe-install-info-tar install-info-tar
18033 maybe-install-info-tar:
18035 maybe-install-info-tar: install-info-tar
18037 install-info-tar: \
18040 @[ -f ./tar/Makefile ] || exit 0; \
18041 r=`${PWD_COMMAND}`; export r; \
18042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18045 for flag in $(EXTRA_HOST_FLAGS); do \
18046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18048 echo "Doing install-info in tar" ; \
18050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18052 "RANLIB=$${RANLIB}" \
18053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18059 .PHONY: maybe-installcheck-tar installcheck-tar
18060 maybe-installcheck-tar:
18062 maybe-installcheck-tar: installcheck-tar
18064 installcheck-tar: \
18066 @[ -f ./tar/Makefile ] || exit 0; \
18067 r=`${PWD_COMMAND}`; export r; \
18068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18071 for flag in $(EXTRA_HOST_FLAGS); do \
18072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18074 echo "Doing installcheck in tar" ; \
18076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18078 "RANLIB=$${RANLIB}" \
18079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18085 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18086 maybe-mostlyclean-tar:
18088 maybe-mostlyclean-tar: mostlyclean-tar
18091 @[ -f ./tar/Makefile ] || exit 0; \
18092 r=`${PWD_COMMAND}`; export r; \
18093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18096 for flag in $(EXTRA_HOST_FLAGS); do \
18097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18099 echo "Doing mostlyclean in tar" ; \
18101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18103 "RANLIB=$${RANLIB}" \
18104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18110 .PHONY: maybe-clean-tar clean-tar
18113 maybe-clean-tar: clean-tar
18116 @[ -f ./tar/Makefile ] || exit 0; \
18117 r=`${PWD_COMMAND}`; export r; \
18118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18121 for flag in $(EXTRA_HOST_FLAGS); do \
18122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18124 echo "Doing clean in tar" ; \
18126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18128 "RANLIB=$${RANLIB}" \
18129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18135 .PHONY: maybe-distclean-tar distclean-tar
18136 maybe-distclean-tar:
18138 maybe-distclean-tar: distclean-tar
18141 @[ -f ./tar/Makefile ] || exit 0; \
18142 r=`${PWD_COMMAND}`; export r; \
18143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18146 for flag in $(EXTRA_HOST_FLAGS); do \
18147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18149 echo "Doing distclean in tar" ; \
18151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18153 "RANLIB=$${RANLIB}" \
18154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18160 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18161 maybe-maintainer-clean-tar:
18163 maybe-maintainer-clean-tar: maintainer-clean-tar
18165 maintainer-clean-tar:
18166 @[ -f ./tar/Makefile ] || exit 0; \
18167 r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18171 for flag in $(EXTRA_HOST_FLAGS); do \
18172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18174 echo "Doing maintainer-clean in tar" ; \
18176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18178 "RANLIB=$${RANLIB}" \
18179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18180 maintainer-clean) \
18186 .PHONY: configure-texinfo maybe-configure-texinfo
18187 maybe-configure-texinfo:
18189 maybe-configure-texinfo: configure-texinfo
18191 @test ! -f texinfo/Makefile || exit 0; \
18192 [ -d texinfo ] || mkdir texinfo; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18196 echo Configuring in texinfo; \
18197 cd texinfo || exit 1; \
18198 case $(srcdir) in \
18200 srcdiroption="--srcdir=."; \
18202 /* | [A-Za-z]:[\\/]*) \
18203 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18204 libsrcdir="$$s/texinfo";; \
18206 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18207 libsrcdir="$$s/texinfo";; \
18209 $(SHELL) $${libsrcdir}/configure \
18210 $(HOST_CONFIGARGS) $${srcdiroption} \
18214 .PHONY: all-texinfo maybe-all-texinfo
18217 maybe-all-texinfo: all-texinfo
18218 all-texinfo: configure-texinfo
18219 @r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18223 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18226 .PHONY: check-texinfo maybe-check-texinfo
18227 maybe-check-texinfo:
18229 maybe-check-texinfo: check-texinfo
18232 @r=`${PWD_COMMAND}`; export r; \
18233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18236 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18240 .PHONY: install-texinfo maybe-install-texinfo
18241 maybe-install-texinfo:
18243 maybe-install-texinfo: install-texinfo
18249 # Other targets (info, dvi, etc.)
18251 .PHONY: maybe-info-texinfo info-texinfo
18252 maybe-info-texinfo:
18254 maybe-info-texinfo: info-texinfo
18258 @[ -f ./texinfo/Makefile ] || exit 0; \
18259 r=`${PWD_COMMAND}`; export r; \
18260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18263 for flag in $(EXTRA_HOST_FLAGS); do \
18264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18266 echo "Doing info in texinfo" ; \
18268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18270 "RANLIB=$${RANLIB}" \
18271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18277 .PHONY: maybe-dvi-texinfo dvi-texinfo
18280 maybe-dvi-texinfo: dvi-texinfo
18284 @[ -f ./texinfo/Makefile ] || exit 0; \
18285 r=`${PWD_COMMAND}`; export r; \
18286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18289 for flag in $(EXTRA_HOST_FLAGS); do \
18290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18292 echo "Doing dvi in texinfo" ; \
18294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18296 "RANLIB=$${RANLIB}" \
18297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18303 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18304 maybe-TAGS-texinfo:
18306 maybe-TAGS-texinfo: TAGS-texinfo
18310 @[ -f ./texinfo/Makefile ] || exit 0; \
18311 r=`${PWD_COMMAND}`; export r; \
18312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18315 for flag in $(EXTRA_HOST_FLAGS); do \
18316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18318 echo "Doing TAGS in texinfo" ; \
18320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18322 "RANLIB=$${RANLIB}" \
18323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18329 .PHONY: maybe-install-info-texinfo install-info-texinfo
18330 maybe-install-info-texinfo:
18332 maybe-install-info-texinfo: install-info-texinfo
18334 install-info-texinfo: \
18335 configure-texinfo \
18337 @[ -f ./texinfo/Makefile ] || exit 0; \
18338 r=`${PWD_COMMAND}`; export r; \
18339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18342 for flag in $(EXTRA_HOST_FLAGS); do \
18343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18345 echo "Doing install-info in texinfo" ; \
18347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18349 "RANLIB=$${RANLIB}" \
18350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18356 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18357 maybe-installcheck-texinfo:
18359 maybe-installcheck-texinfo: installcheck-texinfo
18361 installcheck-texinfo: \
18363 @[ -f ./texinfo/Makefile ] || exit 0; \
18364 r=`${PWD_COMMAND}`; export r; \
18365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18368 for flag in $(EXTRA_HOST_FLAGS); do \
18369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18371 echo "Doing installcheck in texinfo" ; \
18373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18375 "RANLIB=$${RANLIB}" \
18376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18382 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18383 maybe-mostlyclean-texinfo:
18385 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18387 mostlyclean-texinfo:
18388 @[ -f ./texinfo/Makefile ] || exit 0; \
18389 r=`${PWD_COMMAND}`; export r; \
18390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18393 for flag in $(EXTRA_HOST_FLAGS); do \
18394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18396 echo "Doing mostlyclean in texinfo" ; \
18398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18400 "RANLIB=$${RANLIB}" \
18401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18407 .PHONY: maybe-clean-texinfo clean-texinfo
18408 maybe-clean-texinfo:
18410 maybe-clean-texinfo: clean-texinfo
18413 @[ -f ./texinfo/Makefile ] || exit 0; \
18414 r=`${PWD_COMMAND}`; export r; \
18415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18418 for flag in $(EXTRA_HOST_FLAGS); do \
18419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18421 echo "Doing clean in texinfo" ; \
18423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18425 "RANLIB=$${RANLIB}" \
18426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18432 .PHONY: maybe-distclean-texinfo distclean-texinfo
18433 maybe-distclean-texinfo:
18435 maybe-distclean-texinfo: distclean-texinfo
18438 @[ -f ./texinfo/Makefile ] || exit 0; \
18439 r=`${PWD_COMMAND}`; export r; \
18440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18443 for flag in $(EXTRA_HOST_FLAGS); do \
18444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18446 echo "Doing distclean in texinfo" ; \
18448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18450 "RANLIB=$${RANLIB}" \
18451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18457 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18458 maybe-maintainer-clean-texinfo:
18460 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18462 maintainer-clean-texinfo:
18463 @[ -f ./texinfo/Makefile ] || exit 0; \
18464 r=`${PWD_COMMAND}`; export r; \
18465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18468 for flag in $(EXTRA_HOST_FLAGS); do \
18469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18471 echo "Doing maintainer-clean in texinfo" ; \
18473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18475 "RANLIB=$${RANLIB}" \
18476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18477 maintainer-clean) \
18483 .PHONY: configure-textutils maybe-configure-textutils
18484 maybe-configure-textutils:
18486 maybe-configure-textutils: configure-textutils
18487 configure-textutils:
18488 @test ! -f textutils/Makefile || exit 0; \
18489 [ -d textutils ] || mkdir textutils; \
18490 r=`${PWD_COMMAND}`; export r; \
18491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18493 echo Configuring in textutils; \
18494 cd textutils || exit 1; \
18495 case $(srcdir) in \
18497 srcdiroption="--srcdir=."; \
18499 /* | [A-Za-z]:[\\/]*) \
18500 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18501 libsrcdir="$$s/textutils";; \
18503 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18504 libsrcdir="$$s/textutils";; \
18506 $(SHELL) $${libsrcdir}/configure \
18507 $(HOST_CONFIGARGS) $${srcdiroption} \
18511 .PHONY: all-textutils maybe-all-textutils
18512 maybe-all-textutils:
18514 maybe-all-textutils: all-textutils
18515 all-textutils: configure-textutils
18516 @r=`${PWD_COMMAND}`; export r; \
18517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18520 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18523 .PHONY: check-textutils maybe-check-textutils
18524 maybe-check-textutils:
18526 maybe-check-textutils: check-textutils
18529 @r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18533 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18537 .PHONY: install-textutils maybe-install-textutils
18538 maybe-install-textutils:
18540 maybe-install-textutils: install-textutils
18542 install-textutils: installdirs
18543 @r=`${PWD_COMMAND}`; export r; \
18544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18547 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18551 # Other targets (info, dvi, etc.)
18553 .PHONY: maybe-info-textutils info-textutils
18554 maybe-info-textutils:
18556 maybe-info-textutils: info-textutils
18559 configure-textutils
18560 @[ -f ./textutils/Makefile ] || exit 0; \
18561 r=`${PWD_COMMAND}`; export r; \
18562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18565 for flag in $(EXTRA_HOST_FLAGS); do \
18566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18568 echo "Doing info in textutils" ; \
18570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18572 "RANLIB=$${RANLIB}" \
18573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18579 .PHONY: maybe-dvi-textutils dvi-textutils
18580 maybe-dvi-textutils:
18582 maybe-dvi-textutils: dvi-textutils
18585 configure-textutils
18586 @[ -f ./textutils/Makefile ] || exit 0; \
18587 r=`${PWD_COMMAND}`; export r; \
18588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18591 for flag in $(EXTRA_HOST_FLAGS); do \
18592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18594 echo "Doing dvi in textutils" ; \
18596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18598 "RANLIB=$${RANLIB}" \
18599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18605 .PHONY: maybe-TAGS-textutils TAGS-textutils
18606 maybe-TAGS-textutils:
18608 maybe-TAGS-textutils: TAGS-textutils
18611 configure-textutils
18612 @[ -f ./textutils/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18617 for flag in $(EXTRA_HOST_FLAGS); do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18620 echo "Doing TAGS in textutils" ; \
18622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18624 "RANLIB=$${RANLIB}" \
18625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18631 .PHONY: maybe-install-info-textutils install-info-textutils
18632 maybe-install-info-textutils:
18634 maybe-install-info-textutils: install-info-textutils
18636 install-info-textutils: \
18637 configure-textutils \
18639 @[ -f ./textutils/Makefile ] || exit 0; \
18640 r=`${PWD_COMMAND}`; export r; \
18641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18644 for flag in $(EXTRA_HOST_FLAGS); do \
18645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18647 echo "Doing install-info in textutils" ; \
18649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18651 "RANLIB=$${RANLIB}" \
18652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18658 .PHONY: maybe-installcheck-textutils installcheck-textutils
18659 maybe-installcheck-textutils:
18661 maybe-installcheck-textutils: installcheck-textutils
18663 installcheck-textutils: \
18664 configure-textutils
18665 @[ -f ./textutils/Makefile ] || exit 0; \
18666 r=`${PWD_COMMAND}`; export r; \
18667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18670 for flag in $(EXTRA_HOST_FLAGS); do \
18671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18673 echo "Doing installcheck in textutils" ; \
18675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18677 "RANLIB=$${RANLIB}" \
18678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18684 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18685 maybe-mostlyclean-textutils:
18687 maybe-mostlyclean-textutils: mostlyclean-textutils
18689 mostlyclean-textutils:
18690 @[ -f ./textutils/Makefile ] || exit 0; \
18691 r=`${PWD_COMMAND}`; export r; \
18692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18695 for flag in $(EXTRA_HOST_FLAGS); do \
18696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18698 echo "Doing mostlyclean in textutils" ; \
18700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18702 "RANLIB=$${RANLIB}" \
18703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18709 .PHONY: maybe-clean-textutils clean-textutils
18710 maybe-clean-textutils:
18712 maybe-clean-textutils: clean-textutils
18715 @[ -f ./textutils/Makefile ] || exit 0; \
18716 r=`${PWD_COMMAND}`; export r; \
18717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18720 for flag in $(EXTRA_HOST_FLAGS); do \
18721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18723 echo "Doing clean in textutils" ; \
18725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18727 "RANLIB=$${RANLIB}" \
18728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18734 .PHONY: maybe-distclean-textutils distclean-textutils
18735 maybe-distclean-textutils:
18737 maybe-distclean-textutils: distclean-textutils
18739 distclean-textutils:
18740 @[ -f ./textutils/Makefile ] || exit 0; \
18741 r=`${PWD_COMMAND}`; export r; \
18742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18745 for flag in $(EXTRA_HOST_FLAGS); do \
18746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18748 echo "Doing distclean in textutils" ; \
18750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18752 "RANLIB=$${RANLIB}" \
18753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18759 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
18760 maybe-maintainer-clean-textutils:
18762 maybe-maintainer-clean-textutils: maintainer-clean-textutils
18764 maintainer-clean-textutils:
18765 @[ -f ./textutils/Makefile ] || exit 0; \
18766 r=`${PWD_COMMAND}`; export r; \
18767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18770 for flag in $(EXTRA_HOST_FLAGS); do \
18771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18773 echo "Doing maintainer-clean in textutils" ; \
18775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18777 "RANLIB=$${RANLIB}" \
18778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18779 maintainer-clean) \
18785 .PHONY: configure-time maybe-configure-time
18786 maybe-configure-time:
18788 maybe-configure-time: configure-time
18790 @test ! -f time/Makefile || exit 0; \
18791 [ -d time ] || mkdir time; \
18792 r=`${PWD_COMMAND}`; export r; \
18793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18795 echo Configuring in time; \
18796 cd time || exit 1; \
18797 case $(srcdir) in \
18799 srcdiroption="--srcdir=."; \
18801 /* | [A-Za-z]:[\\/]*) \
18802 srcdiroption="--srcdir=$(srcdir)/time"; \
18803 libsrcdir="$$s/time";; \
18805 srcdiroption="--srcdir=../$(srcdir)/time"; \
18806 libsrcdir="$$s/time";; \
18808 $(SHELL) $${libsrcdir}/configure \
18809 $(HOST_CONFIGARGS) $${srcdiroption} \
18813 .PHONY: all-time maybe-all-time
18816 maybe-all-time: all-time
18817 all-time: configure-time
18818 @r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18822 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
18825 .PHONY: check-time maybe-check-time
18828 maybe-check-time: check-time
18831 @r=`${PWD_COMMAND}`; export r; \
18832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18835 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
18839 .PHONY: install-time maybe-install-time
18840 maybe-install-time:
18842 maybe-install-time: install-time
18844 install-time: installdirs
18845 @r=`${PWD_COMMAND}`; export r; \
18846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18849 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
18853 # Other targets (info, dvi, etc.)
18855 .PHONY: maybe-info-time info-time
18858 maybe-info-time: info-time
18862 @[ -f ./time/Makefile ] || exit 0; \
18863 r=`${PWD_COMMAND}`; export r; \
18864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18867 for flag in $(EXTRA_HOST_FLAGS); do \
18868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18870 echo "Doing info in time" ; \
18872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18874 "RANLIB=$${RANLIB}" \
18875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18881 .PHONY: maybe-dvi-time dvi-time
18884 maybe-dvi-time: dvi-time
18888 @[ -f ./time/Makefile ] || exit 0; \
18889 r=`${PWD_COMMAND}`; export r; \
18890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18893 for flag in $(EXTRA_HOST_FLAGS); do \
18894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18896 echo "Doing dvi in time" ; \
18898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18900 "RANLIB=$${RANLIB}" \
18901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18907 .PHONY: maybe-TAGS-time TAGS-time
18910 maybe-TAGS-time: TAGS-time
18914 @[ -f ./time/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18919 for flag in $(EXTRA_HOST_FLAGS); do \
18920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18922 echo "Doing TAGS in time" ; \
18924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18926 "RANLIB=$${RANLIB}" \
18927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18933 .PHONY: maybe-install-info-time install-info-time
18934 maybe-install-info-time:
18936 maybe-install-info-time: install-info-time
18938 install-info-time: \
18941 @[ -f ./time/Makefile ] || exit 0; \
18942 r=`${PWD_COMMAND}`; export r; \
18943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 for flag in $(EXTRA_HOST_FLAGS); do \
18947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18949 echo "Doing install-info in time" ; \
18951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18953 "RANLIB=$${RANLIB}" \
18954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18960 .PHONY: maybe-installcheck-time installcheck-time
18961 maybe-installcheck-time:
18963 maybe-installcheck-time: installcheck-time
18965 installcheck-time: \
18967 @[ -f ./time/Makefile ] || exit 0; \
18968 r=`${PWD_COMMAND}`; export r; \
18969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18972 for flag in $(EXTRA_HOST_FLAGS); do \
18973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18975 echo "Doing installcheck in time" ; \
18977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18979 "RANLIB=$${RANLIB}" \
18980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18986 .PHONY: maybe-mostlyclean-time mostlyclean-time
18987 maybe-mostlyclean-time:
18989 maybe-mostlyclean-time: mostlyclean-time
18992 @[ -f ./time/Makefile ] || exit 0; \
18993 r=`${PWD_COMMAND}`; export r; \
18994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18997 for flag in $(EXTRA_HOST_FLAGS); do \
18998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19000 echo "Doing mostlyclean in time" ; \
19002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19004 "RANLIB=$${RANLIB}" \
19005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19011 .PHONY: maybe-clean-time clean-time
19014 maybe-clean-time: clean-time
19017 @[ -f ./time/Makefile ] || exit 0; \
19018 r=`${PWD_COMMAND}`; export r; \
19019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 for flag in $(EXTRA_HOST_FLAGS); do \
19023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19025 echo "Doing clean in time" ; \
19027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19029 "RANLIB=$${RANLIB}" \
19030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19036 .PHONY: maybe-distclean-time distclean-time
19037 maybe-distclean-time:
19039 maybe-distclean-time: distclean-time
19042 @[ -f ./time/Makefile ] || exit 0; \
19043 r=`${PWD_COMMAND}`; export r; \
19044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19047 for flag in $(EXTRA_HOST_FLAGS); do \
19048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19050 echo "Doing distclean in time" ; \
19052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19054 "RANLIB=$${RANLIB}" \
19055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19061 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19062 maybe-maintainer-clean-time:
19064 maybe-maintainer-clean-time: maintainer-clean-time
19066 maintainer-clean-time:
19067 @[ -f ./time/Makefile ] || exit 0; \
19068 r=`${PWD_COMMAND}`; export r; \
19069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19072 for flag in $(EXTRA_HOST_FLAGS); do \
19073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19075 echo "Doing maintainer-clean in time" ; \
19077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19079 "RANLIB=$${RANLIB}" \
19080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19081 maintainer-clean) \
19087 .PHONY: configure-uudecode maybe-configure-uudecode
19088 maybe-configure-uudecode:
19090 maybe-configure-uudecode: configure-uudecode
19091 configure-uudecode:
19092 @test ! -f uudecode/Makefile || exit 0; \
19093 [ -d uudecode ] || mkdir uudecode; \
19094 r=`${PWD_COMMAND}`; export r; \
19095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19097 echo Configuring in uudecode; \
19098 cd uudecode || exit 1; \
19099 case $(srcdir) in \
19101 srcdiroption="--srcdir=."; \
19103 /* | [A-Za-z]:[\\/]*) \
19104 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19105 libsrcdir="$$s/uudecode";; \
19107 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19108 libsrcdir="$$s/uudecode";; \
19110 $(SHELL) $${libsrcdir}/configure \
19111 $(HOST_CONFIGARGS) $${srcdiroption} \
19115 .PHONY: all-uudecode maybe-all-uudecode
19116 maybe-all-uudecode:
19118 maybe-all-uudecode: all-uudecode
19119 all-uudecode: configure-uudecode
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19124 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19127 .PHONY: check-uudecode maybe-check-uudecode
19128 maybe-check-uudecode:
19130 maybe-check-uudecode: check-uudecode
19133 @r=`${PWD_COMMAND}`; export r; \
19134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19137 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19141 .PHONY: install-uudecode maybe-install-uudecode
19142 maybe-install-uudecode:
19144 maybe-install-uudecode: install-uudecode
19146 install-uudecode: installdirs
19147 @r=`${PWD_COMMAND}`; export r; \
19148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19151 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19155 # Other targets (info, dvi, etc.)
19157 .PHONY: maybe-info-uudecode info-uudecode
19158 maybe-info-uudecode:
19160 maybe-info-uudecode: info-uudecode
19164 @[ -f ./uudecode/Makefile ] || exit 0; \
19165 r=`${PWD_COMMAND}`; export r; \
19166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 for flag in $(EXTRA_HOST_FLAGS); do \
19170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19172 echo "Doing info in uudecode" ; \
19174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19176 "RANLIB=$${RANLIB}" \
19177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19183 .PHONY: maybe-dvi-uudecode dvi-uudecode
19184 maybe-dvi-uudecode:
19186 maybe-dvi-uudecode: dvi-uudecode
19190 @[ -f ./uudecode/Makefile ] || exit 0; \
19191 r=`${PWD_COMMAND}`; export r; \
19192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19195 for flag in $(EXTRA_HOST_FLAGS); do \
19196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19198 echo "Doing dvi in uudecode" ; \
19200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19202 "RANLIB=$${RANLIB}" \
19203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19209 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19210 maybe-TAGS-uudecode:
19212 maybe-TAGS-uudecode: TAGS-uudecode
19216 @[ -f ./uudecode/Makefile ] || exit 0; \
19217 r=`${PWD_COMMAND}`; export r; \
19218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19221 for flag in $(EXTRA_HOST_FLAGS); do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19224 echo "Doing TAGS in uudecode" ; \
19226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19228 "RANLIB=$${RANLIB}" \
19229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19235 .PHONY: maybe-install-info-uudecode install-info-uudecode
19236 maybe-install-info-uudecode:
19238 maybe-install-info-uudecode: install-info-uudecode
19240 install-info-uudecode: \
19241 configure-uudecode \
19243 @[ -f ./uudecode/Makefile ] || exit 0; \
19244 r=`${PWD_COMMAND}`; export r; \
19245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19248 for flag in $(EXTRA_HOST_FLAGS); do \
19249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19251 echo "Doing install-info in uudecode" ; \
19253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19255 "RANLIB=$${RANLIB}" \
19256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19262 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19263 maybe-installcheck-uudecode:
19265 maybe-installcheck-uudecode: installcheck-uudecode
19267 installcheck-uudecode: \
19269 @[ -f ./uudecode/Makefile ] || exit 0; \
19270 r=`${PWD_COMMAND}`; export r; \
19271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19274 for flag in $(EXTRA_HOST_FLAGS); do \
19275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19277 echo "Doing installcheck in uudecode" ; \
19279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19281 "RANLIB=$${RANLIB}" \
19282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19288 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19289 maybe-mostlyclean-uudecode:
19291 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19293 mostlyclean-uudecode:
19294 @[ -f ./uudecode/Makefile ] || exit 0; \
19295 r=`${PWD_COMMAND}`; export r; \
19296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 for flag in $(EXTRA_HOST_FLAGS); do \
19300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19302 echo "Doing mostlyclean in uudecode" ; \
19304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19306 "RANLIB=$${RANLIB}" \
19307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19313 .PHONY: maybe-clean-uudecode clean-uudecode
19314 maybe-clean-uudecode:
19316 maybe-clean-uudecode: clean-uudecode
19319 @[ -f ./uudecode/Makefile ] || exit 0; \
19320 r=`${PWD_COMMAND}`; export r; \
19321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19324 for flag in $(EXTRA_HOST_FLAGS); do \
19325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19327 echo "Doing clean in uudecode" ; \
19329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19331 "RANLIB=$${RANLIB}" \
19332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19338 .PHONY: maybe-distclean-uudecode distclean-uudecode
19339 maybe-distclean-uudecode:
19341 maybe-distclean-uudecode: distclean-uudecode
19343 distclean-uudecode:
19344 @[ -f ./uudecode/Makefile ] || exit 0; \
19345 r=`${PWD_COMMAND}`; export r; \
19346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19349 for flag in $(EXTRA_HOST_FLAGS); do \
19350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19352 echo "Doing distclean in uudecode" ; \
19354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19356 "RANLIB=$${RANLIB}" \
19357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19363 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19364 maybe-maintainer-clean-uudecode:
19366 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19368 maintainer-clean-uudecode:
19369 @[ -f ./uudecode/Makefile ] || exit 0; \
19370 r=`${PWD_COMMAND}`; export r; \
19371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19374 for flag in $(EXTRA_HOST_FLAGS); do \
19375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19377 echo "Doing maintainer-clean in uudecode" ; \
19379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19381 "RANLIB=$${RANLIB}" \
19382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19383 maintainer-clean) \
19389 .PHONY: configure-wdiff maybe-configure-wdiff
19390 maybe-configure-wdiff:
19392 maybe-configure-wdiff: configure-wdiff
19394 @test ! -f wdiff/Makefile || exit 0; \
19395 [ -d wdiff ] || mkdir wdiff; \
19396 r=`${PWD_COMMAND}`; export r; \
19397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 echo Configuring in wdiff; \
19400 cd wdiff || exit 1; \
19401 case $(srcdir) in \
19403 srcdiroption="--srcdir=."; \
19405 /* | [A-Za-z]:[\\/]*) \
19406 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19407 libsrcdir="$$s/wdiff";; \
19409 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19410 libsrcdir="$$s/wdiff";; \
19412 $(SHELL) $${libsrcdir}/configure \
19413 $(HOST_CONFIGARGS) $${srcdiroption} \
19417 .PHONY: all-wdiff maybe-all-wdiff
19420 maybe-all-wdiff: all-wdiff
19421 all-wdiff: configure-wdiff
19422 @r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19426 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19429 .PHONY: check-wdiff maybe-check-wdiff
19432 maybe-check-wdiff: check-wdiff
19435 @r=`${PWD_COMMAND}`; export r; \
19436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19439 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19443 .PHONY: install-wdiff maybe-install-wdiff
19444 maybe-install-wdiff:
19446 maybe-install-wdiff: install-wdiff
19448 install-wdiff: installdirs
19449 @r=`${PWD_COMMAND}`; export r; \
19450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19453 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19457 # Other targets (info, dvi, etc.)
19459 .PHONY: maybe-info-wdiff info-wdiff
19462 maybe-info-wdiff: info-wdiff
19466 @[ -f ./wdiff/Makefile ] || exit 0; \
19467 r=`${PWD_COMMAND}`; export r; \
19468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19471 for flag in $(EXTRA_HOST_FLAGS); do \
19472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19474 echo "Doing info in wdiff" ; \
19476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19478 "RANLIB=$${RANLIB}" \
19479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19485 .PHONY: maybe-dvi-wdiff dvi-wdiff
19488 maybe-dvi-wdiff: dvi-wdiff
19492 @[ -f ./wdiff/Makefile ] || exit 0; \
19493 r=`${PWD_COMMAND}`; export r; \
19494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497 for flag in $(EXTRA_HOST_FLAGS); do \
19498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19500 echo "Doing dvi in wdiff" ; \
19502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19504 "RANLIB=$${RANLIB}" \
19505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19511 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19514 maybe-TAGS-wdiff: TAGS-wdiff
19518 @[ -f ./wdiff/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19523 for flag in $(EXTRA_HOST_FLAGS); do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19526 echo "Doing TAGS in wdiff" ; \
19528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19530 "RANLIB=$${RANLIB}" \
19531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19537 .PHONY: maybe-install-info-wdiff install-info-wdiff
19538 maybe-install-info-wdiff:
19540 maybe-install-info-wdiff: install-info-wdiff
19542 install-info-wdiff: \
19545 @[ -f ./wdiff/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19550 for flag in $(EXTRA_HOST_FLAGS); do \
19551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19553 echo "Doing install-info in wdiff" ; \
19555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19557 "RANLIB=$${RANLIB}" \
19558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19564 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19565 maybe-installcheck-wdiff:
19567 maybe-installcheck-wdiff: installcheck-wdiff
19569 installcheck-wdiff: \
19571 @[ -f ./wdiff/Makefile ] || exit 0; \
19572 r=`${PWD_COMMAND}`; export r; \
19573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19576 for flag in $(EXTRA_HOST_FLAGS); do \
19577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19579 echo "Doing installcheck in wdiff" ; \
19581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19583 "RANLIB=$${RANLIB}" \
19584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19590 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19591 maybe-mostlyclean-wdiff:
19593 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19596 @[ -f ./wdiff/Makefile ] || exit 0; \
19597 r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19601 for flag in $(EXTRA_HOST_FLAGS); do \
19602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19604 echo "Doing mostlyclean in wdiff" ; \
19606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19608 "RANLIB=$${RANLIB}" \
19609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19615 .PHONY: maybe-clean-wdiff clean-wdiff
19618 maybe-clean-wdiff: clean-wdiff
19621 @[ -f ./wdiff/Makefile ] || exit 0; \
19622 r=`${PWD_COMMAND}`; export r; \
19623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19626 for flag in $(EXTRA_HOST_FLAGS); do \
19627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19629 echo "Doing clean in wdiff" ; \
19631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19633 "RANLIB=$${RANLIB}" \
19634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19640 .PHONY: maybe-distclean-wdiff distclean-wdiff
19641 maybe-distclean-wdiff:
19643 maybe-distclean-wdiff: distclean-wdiff
19646 @[ -f ./wdiff/Makefile ] || exit 0; \
19647 r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19651 for flag in $(EXTRA_HOST_FLAGS); do \
19652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19654 echo "Doing distclean in wdiff" ; \
19656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19658 "RANLIB=$${RANLIB}" \
19659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19665 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19666 maybe-maintainer-clean-wdiff:
19668 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19670 maintainer-clean-wdiff:
19671 @[ -f ./wdiff/Makefile ] || exit 0; \
19672 r=`${PWD_COMMAND}`; export r; \
19673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19676 for flag in $(EXTRA_HOST_FLAGS); do \
19677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19679 echo "Doing maintainer-clean in wdiff" ; \
19681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19683 "RANLIB=$${RANLIB}" \
19684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19685 maintainer-clean) \
19691 .PHONY: configure-zip maybe-configure-zip
19692 maybe-configure-zip:
19694 maybe-configure-zip: configure-zip
19696 @test ! -f zip/Makefile || exit 0; \
19697 [ -d zip ] || mkdir zip; \
19698 r=`${PWD_COMMAND}`; export r; \
19699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19701 echo Configuring in zip; \
19702 cd zip || exit 1; \
19703 case $(srcdir) in \
19705 srcdiroption="--srcdir=."; \
19707 /* | [A-Za-z]:[\\/]*) \
19708 srcdiroption="--srcdir=$(srcdir)/zip"; \
19709 libsrcdir="$$s/zip";; \
19711 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19712 libsrcdir="$$s/zip";; \
19714 $(SHELL) $${libsrcdir}/configure \
19715 $(HOST_CONFIGARGS) $${srcdiroption} \
19719 .PHONY: all-zip maybe-all-zip
19722 maybe-all-zip: all-zip
19723 all-zip: configure-zip
19724 @r=`${PWD_COMMAND}`; export r; \
19725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19728 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
19731 .PHONY: check-zip maybe-check-zip
19734 maybe-check-zip: check-zip
19736 # This module is only tested in a native toolchain.
19738 @if [ '$(host)' = '$(target)' ] ; then \
19739 r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19743 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
19748 .PHONY: install-zip maybe-install-zip
19751 maybe-install-zip: install-zip
19753 install-zip: installdirs
19754 @r=`${PWD_COMMAND}`; export r; \
19755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19758 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
19762 # Other targets (info, dvi, etc.)
19764 .PHONY: maybe-info-zip info-zip
19767 maybe-info-zip: info-zip
19771 @[ -f ./zip/Makefile ] || exit 0; \
19772 r=`${PWD_COMMAND}`; export r; \
19773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19776 for flag in $(EXTRA_HOST_FLAGS); do \
19777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19779 echo "Doing info in zip" ; \
19781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19783 "RANLIB=$${RANLIB}" \
19784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19790 .PHONY: maybe-dvi-zip dvi-zip
19793 maybe-dvi-zip: dvi-zip
19797 @[ -f ./zip/Makefile ] || exit 0; \
19798 r=`${PWD_COMMAND}`; export r; \
19799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19802 for flag in $(EXTRA_HOST_FLAGS); do \
19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19805 echo "Doing dvi in zip" ; \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19816 .PHONY: maybe-TAGS-zip TAGS-zip
19819 maybe-TAGS-zip: TAGS-zip
19823 @[ -f ./zip/Makefile ] || exit 0; \
19824 r=`${PWD_COMMAND}`; export r; \
19825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19828 for flag in $(EXTRA_HOST_FLAGS); do \
19829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19831 echo "Doing TAGS in zip" ; \
19833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19835 "RANLIB=$${RANLIB}" \
19836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19842 .PHONY: maybe-install-info-zip install-info-zip
19843 maybe-install-info-zip:
19845 maybe-install-info-zip: install-info-zip
19847 install-info-zip: \
19850 @[ -f ./zip/Makefile ] || exit 0; \
19851 r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19855 for flag in $(EXTRA_HOST_FLAGS); do \
19856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19858 echo "Doing install-info in zip" ; \
19860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19862 "RANLIB=$${RANLIB}" \
19863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19869 .PHONY: maybe-installcheck-zip installcheck-zip
19870 maybe-installcheck-zip:
19872 maybe-installcheck-zip: installcheck-zip
19874 installcheck-zip: \
19876 @[ -f ./zip/Makefile ] || exit 0; \
19877 r=`${PWD_COMMAND}`; export r; \
19878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19881 for flag in $(EXTRA_HOST_FLAGS); do \
19882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19884 echo "Doing installcheck in zip" ; \
19886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19888 "RANLIB=$${RANLIB}" \
19889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19895 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
19896 maybe-mostlyclean-zip:
19898 maybe-mostlyclean-zip: mostlyclean-zip
19901 @[ -f ./zip/Makefile ] || exit 0; \
19902 r=`${PWD_COMMAND}`; export r; \
19903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19906 for flag in $(EXTRA_HOST_FLAGS); do \
19907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19909 echo "Doing mostlyclean in zip" ; \
19911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19913 "RANLIB=$${RANLIB}" \
19914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19920 .PHONY: maybe-clean-zip clean-zip
19923 maybe-clean-zip: clean-zip
19926 @[ -f ./zip/Makefile ] || exit 0; \
19927 r=`${PWD_COMMAND}`; export r; \
19928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19931 for flag in $(EXTRA_HOST_FLAGS); do \
19932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19934 echo "Doing clean in zip" ; \
19936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19938 "RANLIB=$${RANLIB}" \
19939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19945 .PHONY: maybe-distclean-zip distclean-zip
19946 maybe-distclean-zip:
19948 maybe-distclean-zip: distclean-zip
19951 @[ -f ./zip/Makefile ] || exit 0; \
19952 r=`${PWD_COMMAND}`; export r; \
19953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19956 for flag in $(EXTRA_HOST_FLAGS); do \
19957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19959 echo "Doing distclean in zip" ; \
19961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19963 "RANLIB=$${RANLIB}" \
19964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19970 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
19971 maybe-maintainer-clean-zip:
19973 maybe-maintainer-clean-zip: maintainer-clean-zip
19975 maintainer-clean-zip:
19976 @[ -f ./zip/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19981 for flag in $(EXTRA_HOST_FLAGS); do \
19982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19984 echo "Doing maintainer-clean in zip" ; \
19986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19988 "RANLIB=$${RANLIB}" \
19989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19990 maintainer-clean) \
19996 .PHONY: configure-zlib maybe-configure-zlib
19997 maybe-configure-zlib:
19999 maybe-configure-zlib: configure-zlib
20001 @test ! -f zlib/Makefile || exit 0; \
20002 [ -d zlib ] || mkdir zlib; \
20003 r=`${PWD_COMMAND}`; export r; \
20004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20006 echo Configuring in zlib; \
20007 cd zlib || exit 1; \
20008 case $(srcdir) in \
20010 srcdiroption="--srcdir=."; \
20012 /* | [A-Za-z]:[\\/]*) \
20013 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20014 libsrcdir="$$s/zlib";; \
20016 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20017 libsrcdir="$$s/zlib";; \
20019 $(SHELL) $${libsrcdir}/configure \
20020 $(HOST_CONFIGARGS) $${srcdiroption} \
20024 .PHONY: all-zlib maybe-all-zlib
20027 maybe-all-zlib: all-zlib
20028 all-zlib: configure-zlib
20029 @r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20033 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20036 .PHONY: check-zlib maybe-check-zlib
20039 maybe-check-zlib: check-zlib
20045 .PHONY: install-zlib maybe-install-zlib
20046 maybe-install-zlib:
20048 maybe-install-zlib: install-zlib
20054 # Other targets (info, dvi, etc.)
20056 .PHONY: maybe-info-zlib info-zlib
20059 maybe-info-zlib: info-zlib
20063 @[ -f ./zlib/Makefile ] || exit 0; \
20064 r=`${PWD_COMMAND}`; export r; \
20065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20068 for flag in $(EXTRA_HOST_FLAGS); do \
20069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20071 echo "Doing info in zlib" ; \
20073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20075 "RANLIB=$${RANLIB}" \
20076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20082 .PHONY: maybe-dvi-zlib dvi-zlib
20085 maybe-dvi-zlib: dvi-zlib
20089 @[ -f ./zlib/Makefile ] || exit 0; \
20090 r=`${PWD_COMMAND}`; export r; \
20091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20094 for flag in $(EXTRA_HOST_FLAGS); do \
20095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20097 echo "Doing dvi in zlib" ; \
20099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20101 "RANLIB=$${RANLIB}" \
20102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20108 .PHONY: maybe-TAGS-zlib TAGS-zlib
20111 maybe-TAGS-zlib: TAGS-zlib
20115 @[ -f ./zlib/Makefile ] || exit 0; \
20116 r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20120 for flag in $(EXTRA_HOST_FLAGS); do \
20121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20123 echo "Doing TAGS in zlib" ; \
20125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20127 "RANLIB=$${RANLIB}" \
20128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20134 .PHONY: maybe-install-info-zlib install-info-zlib
20135 maybe-install-info-zlib:
20137 maybe-install-info-zlib: install-info-zlib
20139 install-info-zlib: \
20142 @[ -f ./zlib/Makefile ] || exit 0; \
20143 r=`${PWD_COMMAND}`; export r; \
20144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20147 for flag in $(EXTRA_HOST_FLAGS); do \
20148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20150 echo "Doing install-info in zlib" ; \
20152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20154 "RANLIB=$${RANLIB}" \
20155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20161 .PHONY: maybe-installcheck-zlib installcheck-zlib
20162 maybe-installcheck-zlib:
20164 maybe-installcheck-zlib: installcheck-zlib
20166 installcheck-zlib: \
20168 @[ -f ./zlib/Makefile ] || exit 0; \
20169 r=`${PWD_COMMAND}`; export r; \
20170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20173 for flag in $(EXTRA_HOST_FLAGS); do \
20174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20176 echo "Doing installcheck in zlib" ; \
20178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20180 "RANLIB=$${RANLIB}" \
20181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20187 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20188 maybe-mostlyclean-zlib:
20190 maybe-mostlyclean-zlib: mostlyclean-zlib
20193 @[ -f ./zlib/Makefile ] || exit 0; \
20194 r=`${PWD_COMMAND}`; export r; \
20195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20198 for flag in $(EXTRA_HOST_FLAGS); do \
20199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20201 echo "Doing mostlyclean in zlib" ; \
20203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20205 "RANLIB=$${RANLIB}" \
20206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20212 .PHONY: maybe-clean-zlib clean-zlib
20215 maybe-clean-zlib: clean-zlib
20218 @[ -f ./zlib/Makefile ] || exit 0; \
20219 r=`${PWD_COMMAND}`; export r; \
20220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20223 for flag in $(EXTRA_HOST_FLAGS); do \
20224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20226 echo "Doing clean in zlib" ; \
20228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20230 "RANLIB=$${RANLIB}" \
20231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20237 .PHONY: maybe-distclean-zlib distclean-zlib
20238 maybe-distclean-zlib:
20240 maybe-distclean-zlib: distclean-zlib
20243 @[ -f ./zlib/Makefile ] || exit 0; \
20244 r=`${PWD_COMMAND}`; export r; \
20245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20248 for flag in $(EXTRA_HOST_FLAGS); do \
20249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20251 echo "Doing distclean in zlib" ; \
20253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20255 "RANLIB=$${RANLIB}" \
20256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20262 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20263 maybe-maintainer-clean-zlib:
20265 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20267 maintainer-clean-zlib:
20268 @[ -f ./zlib/Makefile ] || exit 0; \
20269 r=`${PWD_COMMAND}`; export r; \
20270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20273 for flag in $(EXTRA_HOST_FLAGS); do \
20274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20276 echo "Doing maintainer-clean in zlib" ; \
20278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20280 "RANLIB=$${RANLIB}" \
20281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20282 maintainer-clean) \
20288 .PHONY: configure-gdb maybe-configure-gdb
20289 maybe-configure-gdb:
20291 maybe-configure-gdb: configure-gdb
20293 @test ! -f gdb/Makefile || exit 0; \
20294 [ -d gdb ] || mkdir gdb; \
20295 r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20298 echo Configuring in gdb; \
20299 cd gdb || exit 1; \
20300 case $(srcdir) in \
20302 srcdiroption="--srcdir=."; \
20304 /* | [A-Za-z]:[\\/]*) \
20305 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20306 libsrcdir="$$s/gdb";; \
20308 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20309 libsrcdir="$$s/gdb";; \
20311 $(SHELL) $${libsrcdir}/configure \
20312 $(HOST_CONFIGARGS) $${srcdiroption} \
20316 .PHONY: all-gdb maybe-all-gdb
20319 maybe-all-gdb: all-gdb
20320 all-gdb: configure-gdb
20321 @r=`${PWD_COMMAND}`; export r; \
20322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20325 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20328 .PHONY: check-gdb maybe-check-gdb
20331 maybe-check-gdb: check-gdb
20334 @r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20338 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20342 .PHONY: install-gdb maybe-install-gdb
20345 maybe-install-gdb: install-gdb
20347 install-gdb: installdirs
20348 @r=`${PWD_COMMAND}`; export r; \
20349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20352 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20356 # Other targets (info, dvi, etc.)
20358 .PHONY: maybe-info-gdb info-gdb
20361 maybe-info-gdb: info-gdb
20365 @[ -f ./gdb/Makefile ] || exit 0; \
20366 r=`${PWD_COMMAND}`; export r; \
20367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20370 for flag in $(EXTRA_HOST_FLAGS); do \
20371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20373 echo "Doing info in gdb" ; \
20375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20377 "RANLIB=$${RANLIB}" \
20378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20384 .PHONY: maybe-dvi-gdb dvi-gdb
20387 maybe-dvi-gdb: dvi-gdb
20391 @[ -f ./gdb/Makefile ] || exit 0; \
20392 r=`${PWD_COMMAND}`; export r; \
20393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20396 for flag in $(EXTRA_HOST_FLAGS); do \
20397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20399 echo "Doing dvi in gdb" ; \
20401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20403 "RANLIB=$${RANLIB}" \
20404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20410 .PHONY: maybe-TAGS-gdb TAGS-gdb
20413 maybe-TAGS-gdb: TAGS-gdb
20417 @[ -f ./gdb/Makefile ] || exit 0; \
20418 r=`${PWD_COMMAND}`; export r; \
20419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 for flag in $(EXTRA_HOST_FLAGS); do \
20423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20425 echo "Doing TAGS in gdb" ; \
20427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20429 "RANLIB=$${RANLIB}" \
20430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20436 .PHONY: maybe-install-info-gdb install-info-gdb
20437 maybe-install-info-gdb:
20439 maybe-install-info-gdb: install-info-gdb
20441 install-info-gdb: \
20444 @[ -f ./gdb/Makefile ] || exit 0; \
20445 r=`${PWD_COMMAND}`; export r; \
20446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20449 for flag in $(EXTRA_HOST_FLAGS); do \
20450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20452 echo "Doing install-info in gdb" ; \
20454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20456 "RANLIB=$${RANLIB}" \
20457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20463 .PHONY: maybe-installcheck-gdb installcheck-gdb
20464 maybe-installcheck-gdb:
20466 maybe-installcheck-gdb: installcheck-gdb
20468 installcheck-gdb: \
20470 @[ -f ./gdb/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 for flag in $(EXTRA_HOST_FLAGS); do \
20476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20478 echo "Doing installcheck in gdb" ; \
20480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20482 "RANLIB=$${RANLIB}" \
20483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20489 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20490 maybe-mostlyclean-gdb:
20492 maybe-mostlyclean-gdb: mostlyclean-gdb
20495 @[ -f ./gdb/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20500 for flag in $(EXTRA_HOST_FLAGS); do \
20501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20503 echo "Doing mostlyclean in gdb" ; \
20505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20507 "RANLIB=$${RANLIB}" \
20508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20514 .PHONY: maybe-clean-gdb clean-gdb
20517 maybe-clean-gdb: clean-gdb
20520 @[ -f ./gdb/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20525 for flag in $(EXTRA_HOST_FLAGS); do \
20526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20528 echo "Doing clean in gdb" ; \
20530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20532 "RANLIB=$${RANLIB}" \
20533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20539 .PHONY: maybe-distclean-gdb distclean-gdb
20540 maybe-distclean-gdb:
20542 maybe-distclean-gdb: distclean-gdb
20545 @[ -f ./gdb/Makefile ] || exit 0; \
20546 r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20550 for flag in $(EXTRA_HOST_FLAGS); do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20553 echo "Doing distclean in gdb" ; \
20555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20557 "RANLIB=$${RANLIB}" \
20558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20564 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20565 maybe-maintainer-clean-gdb:
20567 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20569 maintainer-clean-gdb:
20570 @[ -f ./gdb/Makefile ] || exit 0; \
20571 r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20575 for flag in $(EXTRA_HOST_FLAGS); do \
20576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20578 echo "Doing maintainer-clean in gdb" ; \
20580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20582 "RANLIB=$${RANLIB}" \
20583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20584 maintainer-clean) \
20590 .PHONY: configure-expect maybe-configure-expect
20591 maybe-configure-expect:
20593 maybe-configure-expect: configure-expect
20595 @test ! -f expect/Makefile || exit 0; \
20596 [ -d expect ] || mkdir expect; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20600 echo Configuring in expect; \
20601 cd expect || exit 1; \
20602 case $(srcdir) in \
20604 srcdiroption="--srcdir=."; \
20606 /* | [A-Za-z]:[\\/]*) \
20607 srcdiroption="--srcdir=$(srcdir)/expect"; \
20608 libsrcdir="$$s/expect";; \
20610 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20611 libsrcdir="$$s/expect";; \
20613 $(SHELL) $${libsrcdir}/configure \
20614 $(HOST_CONFIGARGS) $${srcdiroption} \
20618 .PHONY: all-expect maybe-all-expect
20621 maybe-all-expect: all-expect
20622 all-expect: configure-expect
20623 @r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20630 .PHONY: check-expect maybe-check-expect
20631 maybe-check-expect:
20633 maybe-check-expect: check-expect
20636 @r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20640 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20644 .PHONY: install-expect maybe-install-expect
20645 maybe-install-expect:
20647 maybe-install-expect: install-expect
20649 install-expect: installdirs
20650 @r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20654 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20658 # Other targets (info, dvi, etc.)
20660 .PHONY: maybe-info-expect info-expect
20663 maybe-info-expect: info-expect
20667 @[ -f ./expect/Makefile ] || exit 0; \
20668 r=`${PWD_COMMAND}`; export r; \
20669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20672 for flag in $(EXTRA_HOST_FLAGS); do \
20673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20675 echo "Doing info in expect" ; \
20677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20679 "RANLIB=$${RANLIB}" \
20680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20686 .PHONY: maybe-dvi-expect dvi-expect
20689 maybe-dvi-expect: dvi-expect
20693 @[ -f ./expect/Makefile ] || exit 0; \
20694 r=`${PWD_COMMAND}`; export r; \
20695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20698 for flag in $(EXTRA_HOST_FLAGS); do \
20699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20701 echo "Doing dvi in expect" ; \
20703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20705 "RANLIB=$${RANLIB}" \
20706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712 .PHONY: maybe-TAGS-expect TAGS-expect
20715 maybe-TAGS-expect: TAGS-expect
20719 @[ -f ./expect/Makefile ] || exit 0; \
20720 r=`${PWD_COMMAND}`; export r; \
20721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20724 for flag in $(EXTRA_HOST_FLAGS); do \
20725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20727 echo "Doing TAGS in expect" ; \
20729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20731 "RANLIB=$${RANLIB}" \
20732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 .PHONY: maybe-install-info-expect install-info-expect
20739 maybe-install-info-expect:
20741 maybe-install-info-expect: install-info-expect
20743 install-info-expect: \
20746 @[ -f ./expect/Makefile ] || exit 0; \
20747 r=`${PWD_COMMAND}`; export r; \
20748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20751 for flag in $(EXTRA_HOST_FLAGS); do \
20752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20754 echo "Doing install-info in expect" ; \
20756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20758 "RANLIB=$${RANLIB}" \
20759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20765 .PHONY: maybe-installcheck-expect installcheck-expect
20766 maybe-installcheck-expect:
20768 maybe-installcheck-expect: installcheck-expect
20770 installcheck-expect: \
20772 @[ -f ./expect/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20777 for flag in $(EXTRA_HOST_FLAGS); do \
20778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20780 echo "Doing installcheck in expect" ; \
20782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20784 "RANLIB=$${RANLIB}" \
20785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20791 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
20792 maybe-mostlyclean-expect:
20794 maybe-mostlyclean-expect: mostlyclean-expect
20796 mostlyclean-expect:
20797 @[ -f ./expect/Makefile ] || exit 0; \
20798 r=`${PWD_COMMAND}`; export r; \
20799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20802 for flag in $(EXTRA_HOST_FLAGS); do \
20803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20805 echo "Doing mostlyclean in expect" ; \
20807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20809 "RANLIB=$${RANLIB}" \
20810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20816 .PHONY: maybe-clean-expect clean-expect
20817 maybe-clean-expect:
20819 maybe-clean-expect: clean-expect
20822 @[ -f ./expect/Makefile ] || exit 0; \
20823 r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20827 for flag in $(EXTRA_HOST_FLAGS); do \
20828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20830 echo "Doing clean in expect" ; \
20832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20834 "RANLIB=$${RANLIB}" \
20835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20841 .PHONY: maybe-distclean-expect distclean-expect
20842 maybe-distclean-expect:
20844 maybe-distclean-expect: distclean-expect
20847 @[ -f ./expect/Makefile ] || exit 0; \
20848 r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20852 for flag in $(EXTRA_HOST_FLAGS); do \
20853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20855 echo "Doing distclean in expect" ; \
20857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20859 "RANLIB=$${RANLIB}" \
20860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20866 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
20867 maybe-maintainer-clean-expect:
20869 maybe-maintainer-clean-expect: maintainer-clean-expect
20871 maintainer-clean-expect:
20872 @[ -f ./expect/Makefile ] || exit 0; \
20873 r=`${PWD_COMMAND}`; export r; \
20874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20877 for flag in $(EXTRA_HOST_FLAGS); do \
20878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20880 echo "Doing maintainer-clean in expect" ; \
20882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20884 "RANLIB=$${RANLIB}" \
20885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20886 maintainer-clean) \
20892 .PHONY: configure-guile maybe-configure-guile
20893 maybe-configure-guile:
20895 maybe-configure-guile: configure-guile
20897 @test ! -f guile/Makefile || exit 0; \
20898 [ -d guile ] || mkdir guile; \
20899 r=`${PWD_COMMAND}`; export r; \
20900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20902 echo Configuring in guile; \
20903 cd guile || exit 1; \
20904 case $(srcdir) in \
20906 srcdiroption="--srcdir=."; \
20908 /* | [A-Za-z]:[\\/]*) \
20909 srcdiroption="--srcdir=$(srcdir)/guile"; \
20910 libsrcdir="$$s/guile";; \
20912 srcdiroption="--srcdir=../$(srcdir)/guile"; \
20913 libsrcdir="$$s/guile";; \
20915 $(SHELL) $${libsrcdir}/configure \
20916 $(HOST_CONFIGARGS) $${srcdiroption} \
20920 .PHONY: all-guile maybe-all-guile
20923 maybe-all-guile: all-guile
20924 all-guile: configure-guile
20925 @r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20932 .PHONY: check-guile maybe-check-guile
20935 maybe-check-guile: check-guile
20938 @r=`${PWD_COMMAND}`; export r; \
20939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20942 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
20946 .PHONY: install-guile maybe-install-guile
20947 maybe-install-guile:
20949 maybe-install-guile: install-guile
20951 install-guile: installdirs
20952 @r=`${PWD_COMMAND}`; export r; \
20953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20956 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
20960 # Other targets (info, dvi, etc.)
20962 .PHONY: maybe-info-guile info-guile
20965 maybe-info-guile: info-guile
20969 @[ -f ./guile/Makefile ] || exit 0; \
20970 r=`${PWD_COMMAND}`; export r; \
20971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20974 for flag in $(EXTRA_HOST_FLAGS); do \
20975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20977 echo "Doing info in guile" ; \
20979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20981 "RANLIB=$${RANLIB}" \
20982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988 .PHONY: maybe-dvi-guile dvi-guile
20991 maybe-dvi-guile: dvi-guile
20995 @[ -f ./guile/Makefile ] || exit 0; \
20996 r=`${PWD_COMMAND}`; export r; \
20997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21000 for flag in $(EXTRA_HOST_FLAGS); do \
21001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 echo "Doing dvi in guile" ; \
21005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21007 "RANLIB=$${RANLIB}" \
21008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21014 .PHONY: maybe-TAGS-guile TAGS-guile
21017 maybe-TAGS-guile: TAGS-guile
21021 @[ -f ./guile/Makefile ] || exit 0; \
21022 r=`${PWD_COMMAND}`; export r; \
21023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21026 for flag in $(EXTRA_HOST_FLAGS); do \
21027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21029 echo "Doing TAGS in guile" ; \
21031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21033 "RANLIB=$${RANLIB}" \
21034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21040 .PHONY: maybe-install-info-guile install-info-guile
21041 maybe-install-info-guile:
21043 maybe-install-info-guile: install-info-guile
21045 install-info-guile: \
21048 @[ -f ./guile/Makefile ] || exit 0; \
21049 r=`${PWD_COMMAND}`; export r; \
21050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 for flag in $(EXTRA_HOST_FLAGS); do \
21054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21056 echo "Doing install-info in guile" ; \
21058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21060 "RANLIB=$${RANLIB}" \
21061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21067 .PHONY: maybe-installcheck-guile installcheck-guile
21068 maybe-installcheck-guile:
21070 maybe-installcheck-guile: installcheck-guile
21072 installcheck-guile: \
21074 @[ -f ./guile/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 for flag in $(EXTRA_HOST_FLAGS); do \
21080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21082 echo "Doing installcheck in guile" ; \
21084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21086 "RANLIB=$${RANLIB}" \
21087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21094 maybe-mostlyclean-guile:
21096 maybe-mostlyclean-guile: mostlyclean-guile
21099 @[ -f ./guile/Makefile ] || exit 0; \
21100 r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21104 for flag in $(EXTRA_HOST_FLAGS); do \
21105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21107 echo "Doing mostlyclean in guile" ; \
21109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21111 "RANLIB=$${RANLIB}" \
21112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21118 .PHONY: maybe-clean-guile clean-guile
21121 maybe-clean-guile: clean-guile
21124 @[ -f ./guile/Makefile ] || exit 0; \
21125 r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 for flag in $(EXTRA_HOST_FLAGS); do \
21130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21132 echo "Doing clean in guile" ; \
21134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21136 "RANLIB=$${RANLIB}" \
21137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21143 .PHONY: maybe-distclean-guile distclean-guile
21144 maybe-distclean-guile:
21146 maybe-distclean-guile: distclean-guile
21149 @[ -f ./guile/Makefile ] || exit 0; \
21150 r=`${PWD_COMMAND}`; export r; \
21151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21154 for flag in $(EXTRA_HOST_FLAGS); do \
21155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21157 echo "Doing distclean in guile" ; \
21159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21161 "RANLIB=$${RANLIB}" \
21162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21168 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21169 maybe-maintainer-clean-guile:
21171 maybe-maintainer-clean-guile: maintainer-clean-guile
21173 maintainer-clean-guile:
21174 @[ -f ./guile/Makefile ] || exit 0; \
21175 r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21179 for flag in $(EXTRA_HOST_FLAGS); do \
21180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21182 echo "Doing maintainer-clean in guile" ; \
21184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21186 "RANLIB=$${RANLIB}" \
21187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21188 maintainer-clean) \
21194 .PHONY: configure-tk maybe-configure-tk
21195 maybe-configure-tk:
21197 maybe-configure-tk: configure-tk
21199 @test ! -f tk/Makefile || exit 0; \
21200 [ -d tk ] || mkdir tk; \
21201 r=`${PWD_COMMAND}`; export r; \
21202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 echo Configuring in tk; \
21206 case $(srcdir) in \
21208 srcdiroption="--srcdir=."; \
21210 /* | [A-Za-z]:[\\/]*) \
21211 srcdiroption="--srcdir=$(srcdir)/tk"; \
21212 libsrcdir="$$s/tk";; \
21214 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21215 libsrcdir="$$s/tk";; \
21217 $(SHELL) $${libsrcdir}/configure \
21218 $(HOST_CONFIGARGS) $${srcdiroption} \
21222 .PHONY: all-tk maybe-all-tk
21225 maybe-all-tk: all-tk
21226 all-tk: configure-tk
21227 @r=`${PWD_COMMAND}`; export r; \
21228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21231 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21234 .PHONY: check-tk maybe-check-tk
21237 maybe-check-tk: check-tk
21240 @r=`${PWD_COMMAND}`; export r; \
21241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21244 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21248 .PHONY: install-tk maybe-install-tk
21251 maybe-install-tk: install-tk
21253 install-tk: installdirs
21254 @r=`${PWD_COMMAND}`; export r; \
21255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21258 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21262 # Other targets (info, dvi, etc.)
21264 .PHONY: maybe-info-tk info-tk
21267 maybe-info-tk: info-tk
21271 @[ -f ./tk/Makefile ] || exit 0; \
21272 r=`${PWD_COMMAND}`; export r; \
21273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21276 for flag in $(EXTRA_HOST_FLAGS); do \
21277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21279 echo "Doing info in tk" ; \
21281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21283 "RANLIB=$${RANLIB}" \
21284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21290 .PHONY: maybe-dvi-tk dvi-tk
21293 maybe-dvi-tk: dvi-tk
21297 @[ -f ./tk/Makefile ] || exit 0; \
21298 r=`${PWD_COMMAND}`; export r; \
21299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 for flag in $(EXTRA_HOST_FLAGS); do \
21303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 echo "Doing dvi in tk" ; \
21307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21309 "RANLIB=$${RANLIB}" \
21310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21316 .PHONY: maybe-TAGS-tk TAGS-tk
21319 maybe-TAGS-tk: TAGS-tk
21323 @[ -f ./tk/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 for flag in $(EXTRA_HOST_FLAGS); do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21331 echo "Doing TAGS in tk" ; \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342 .PHONY: maybe-install-info-tk install-info-tk
21343 maybe-install-info-tk:
21345 maybe-install-info-tk: install-info-tk
21350 @[ -f ./tk/Makefile ] || exit 0; \
21351 r=`${PWD_COMMAND}`; export r; \
21352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21355 for flag in $(EXTRA_HOST_FLAGS); do \
21356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21358 echo "Doing install-info in tk" ; \
21360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21362 "RANLIB=$${RANLIB}" \
21363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21369 .PHONY: maybe-installcheck-tk installcheck-tk
21370 maybe-installcheck-tk:
21372 maybe-installcheck-tk: installcheck-tk
21376 @[ -f ./tk/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21381 for flag in $(EXTRA_HOST_FLAGS); do \
21382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21384 echo "Doing installcheck in tk" ; \
21386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21388 "RANLIB=$${RANLIB}" \
21389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21395 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21396 maybe-mostlyclean-tk:
21398 maybe-mostlyclean-tk: mostlyclean-tk
21401 @[ -f ./tk/Makefile ] || exit 0; \
21402 r=`${PWD_COMMAND}`; export r; \
21403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21406 for flag in $(EXTRA_HOST_FLAGS); do \
21407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21409 echo "Doing mostlyclean in tk" ; \
21411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21413 "RANLIB=$${RANLIB}" \
21414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21420 .PHONY: maybe-clean-tk clean-tk
21423 maybe-clean-tk: clean-tk
21426 @[ -f ./tk/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21431 for flag in $(EXTRA_HOST_FLAGS); do \
21432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21434 echo "Doing clean in tk" ; \
21436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21438 "RANLIB=$${RANLIB}" \
21439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21445 .PHONY: maybe-distclean-tk distclean-tk
21446 maybe-distclean-tk:
21448 maybe-distclean-tk: distclean-tk
21451 @[ -f ./tk/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21456 for flag in $(EXTRA_HOST_FLAGS); do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21459 echo "Doing distclean in tk" ; \
21461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21463 "RANLIB=$${RANLIB}" \
21464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21470 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21471 maybe-maintainer-clean-tk:
21473 maybe-maintainer-clean-tk: maintainer-clean-tk
21475 maintainer-clean-tk:
21476 @[ -f ./tk/Makefile ] || exit 0; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21481 for flag in $(EXTRA_HOST_FLAGS); do \
21482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21484 echo "Doing maintainer-clean in tk" ; \
21486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21488 "RANLIB=$${RANLIB}" \
21489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21490 maintainer-clean) \
21496 .PHONY: configure-tix maybe-configure-tix
21497 maybe-configure-tix:
21499 maybe-configure-tix: configure-tix
21501 @test ! -f tix/Makefile || exit 0; \
21502 [ -d tix ] || mkdir tix; \
21503 r=`${PWD_COMMAND}`; export r; \
21504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 echo Configuring in tix; \
21507 cd tix || exit 1; \
21508 case $(srcdir) in \
21510 srcdiroption="--srcdir=."; \
21512 /* | [A-Za-z]:[\\/]*) \
21513 srcdiroption="--srcdir=$(srcdir)/tix"; \
21514 libsrcdir="$$s/tix";; \
21516 srcdiroption="--srcdir=../$(srcdir)/tix"; \
21517 libsrcdir="$$s/tix";; \
21519 $(SHELL) $${libsrcdir}/configure \
21520 $(HOST_CONFIGARGS) $${srcdiroption} \
21524 .PHONY: all-tix maybe-all-tix
21527 maybe-all-tix: all-tix
21528 all-tix: configure-tix
21529 @r=`${PWD_COMMAND}`; export r; \
21530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21536 .PHONY: check-tix maybe-check-tix
21539 maybe-check-tix: check-tix
21542 @r=`${PWD_COMMAND}`; export r; \
21543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
21550 .PHONY: install-tix maybe-install-tix
21553 maybe-install-tix: install-tix
21555 install-tix: installdirs
21556 @r=`${PWD_COMMAND}`; export r; \
21557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21560 (cd tix && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
21564 # Other targets (info, dvi, etc.)
21566 .PHONY: maybe-info-tix info-tix
21569 maybe-info-tix: info-tix
21573 @[ -f ./tix/Makefile ] || exit 0; \
21574 r=`${PWD_COMMAND}`; export r; \
21575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21578 for flag in $(EXTRA_HOST_FLAGS); do \
21579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21581 echo "Doing info in tix" ; \
21583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21585 "RANLIB=$${RANLIB}" \
21586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21592 .PHONY: maybe-dvi-tix dvi-tix
21595 maybe-dvi-tix: dvi-tix
21599 @[ -f ./tix/Makefile ] || exit 0; \
21600 r=`${PWD_COMMAND}`; export r; \
21601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21604 for flag in $(EXTRA_HOST_FLAGS); do \
21605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21607 echo "Doing dvi in tix" ; \
21609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21611 "RANLIB=$${RANLIB}" \
21612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21618 .PHONY: maybe-TAGS-tix TAGS-tix
21621 maybe-TAGS-tix: TAGS-tix
21625 @[ -f ./tix/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 for flag in $(EXTRA_HOST_FLAGS); do \
21631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21633 echo "Doing TAGS in tix" ; \
21635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21637 "RANLIB=$${RANLIB}" \
21638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21644 .PHONY: maybe-install-info-tix install-info-tix
21645 maybe-install-info-tix:
21647 maybe-install-info-tix: install-info-tix
21649 install-info-tix: \
21652 @[ -f ./tix/Makefile ] || exit 0; \
21653 r=`${PWD_COMMAND}`; export r; \
21654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21657 for flag in $(EXTRA_HOST_FLAGS); do \
21658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 echo "Doing install-info in tix" ; \
21662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21664 "RANLIB=$${RANLIB}" \
21665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21671 .PHONY: maybe-installcheck-tix installcheck-tix
21672 maybe-installcheck-tix:
21674 maybe-installcheck-tix: installcheck-tix
21676 installcheck-tix: \
21678 @[ -f ./tix/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21683 for flag in $(EXTRA_HOST_FLAGS); do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21686 echo "Doing installcheck in tix" ; \
21688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21690 "RANLIB=$${RANLIB}" \
21691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21697 .PHONY: maybe-mostlyclean-tix mostlyclean-tix
21698 maybe-mostlyclean-tix:
21700 maybe-mostlyclean-tix: mostlyclean-tix
21703 @[ -f ./tix/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21708 for flag in $(EXTRA_HOST_FLAGS); do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21711 echo "Doing mostlyclean in tix" ; \
21713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21715 "RANLIB=$${RANLIB}" \
21716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21722 .PHONY: maybe-clean-tix clean-tix
21725 maybe-clean-tix: clean-tix
21728 @[ -f ./tix/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21733 for flag in $(EXTRA_HOST_FLAGS); do \
21734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21736 echo "Doing clean in tix" ; \
21738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21740 "RANLIB=$${RANLIB}" \
21741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21747 .PHONY: maybe-distclean-tix distclean-tix
21748 maybe-distclean-tix:
21750 maybe-distclean-tix: distclean-tix
21753 @[ -f ./tix/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21758 for flag in $(EXTRA_HOST_FLAGS); do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21761 echo "Doing distclean in tix" ; \
21763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21765 "RANLIB=$${RANLIB}" \
21766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21772 .PHONY: maybe-maintainer-clean-tix maintainer-clean-tix
21773 maybe-maintainer-clean-tix:
21775 maybe-maintainer-clean-tix: maintainer-clean-tix
21777 maintainer-clean-tix:
21778 @[ -f ./tix/Makefile ] || exit 0; \
21779 r=`${PWD_COMMAND}`; export r; \
21780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21783 for flag in $(EXTRA_HOST_FLAGS); do \
21784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21786 echo "Doing maintainer-clean in tix" ; \
21788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21790 "RANLIB=$${RANLIB}" \
21791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21792 maintainer-clean) \
21798 .PHONY: configure-libtermcap maybe-configure-libtermcap
21799 maybe-configure-libtermcap:
21801 maybe-configure-libtermcap: configure-libtermcap
21802 configure-libtermcap:
21803 @test ! -f libtermcap/Makefile || exit 0; \
21804 [ -d libtermcap ] || mkdir libtermcap; \
21805 r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21808 echo Configuring in libtermcap; \
21809 cd libtermcap || exit 1; \
21810 case $(srcdir) in \
21812 srcdiroption="--srcdir=."; \
21814 /* | [A-Za-z]:[\\/]*) \
21815 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21816 libsrcdir="$$s/libtermcap";; \
21818 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21819 libsrcdir="$$s/libtermcap";; \
21821 $(SHELL) $${libsrcdir}/configure \
21822 $(HOST_CONFIGARGS) $${srcdiroption} \
21826 .PHONY: all-libtermcap maybe-all-libtermcap
21827 maybe-all-libtermcap:
21829 maybe-all-libtermcap: all-libtermcap
21830 all-libtermcap: configure-libtermcap
21831 @r=`${PWD_COMMAND}`; export r; \
21832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21835 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21838 .PHONY: check-libtermcap maybe-check-libtermcap
21839 maybe-check-libtermcap:
21841 maybe-check-libtermcap: check-libtermcap
21847 .PHONY: install-libtermcap maybe-install-libtermcap
21848 maybe-install-libtermcap:
21850 maybe-install-libtermcap: install-libtermcap
21852 install-libtermcap: installdirs
21853 @r=`${PWD_COMMAND}`; export r; \
21854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21857 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21861 # Other targets (info, dvi, etc.)
21863 .PHONY: maybe-info-libtermcap info-libtermcap
21864 maybe-info-libtermcap:
21866 maybe-info-libtermcap: info-libtermcap
21869 configure-libtermcap
21870 @[ -f ./libtermcap/Makefile ] || exit 0; \
21871 r=`${PWD_COMMAND}`; export r; \
21872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21875 for flag in $(EXTRA_HOST_FLAGS); do \
21876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21878 echo "Doing info in libtermcap" ; \
21879 (cd libtermcap && \
21880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21882 "RANLIB=$${RANLIB}" \
21883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21889 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21890 maybe-dvi-libtermcap:
21892 maybe-dvi-libtermcap: dvi-libtermcap
21895 configure-libtermcap
21896 @[ -f ./libtermcap/Makefile ] || exit 0; \
21897 r=`${PWD_COMMAND}`; export r; \
21898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21901 for flag in $(EXTRA_HOST_FLAGS); do \
21902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21904 echo "Doing dvi in libtermcap" ; \
21905 (cd libtermcap && \
21906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21908 "RANLIB=$${RANLIB}" \
21909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21915 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21916 maybe-TAGS-libtermcap:
21918 maybe-TAGS-libtermcap: TAGS-libtermcap
21921 configure-libtermcap
21922 @[ -f ./libtermcap/Makefile ] || exit 0; \
21923 r=`${PWD_COMMAND}`; export r; \
21924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 for flag in $(EXTRA_HOST_FLAGS); do \
21928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21930 echo "Doing TAGS in libtermcap" ; \
21931 (cd libtermcap && \
21932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21934 "RANLIB=$${RANLIB}" \
21935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21941 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21942 maybe-install-info-libtermcap:
21944 maybe-install-info-libtermcap: install-info-libtermcap
21946 install-info-libtermcap: \
21947 configure-libtermcap \
21949 @[ -f ./libtermcap/Makefile ] || exit 0; \
21950 r=`${PWD_COMMAND}`; export r; \
21951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21954 for flag in $(EXTRA_HOST_FLAGS); do \
21955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21957 echo "Doing install-info in libtermcap" ; \
21958 (cd libtermcap && \
21959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21961 "RANLIB=$${RANLIB}" \
21962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21968 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21969 maybe-installcheck-libtermcap:
21971 maybe-installcheck-libtermcap: installcheck-libtermcap
21973 installcheck-libtermcap: \
21974 configure-libtermcap
21975 @[ -f ./libtermcap/Makefile ] || exit 0; \
21976 r=`${PWD_COMMAND}`; export r; \
21977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 for flag in $(EXTRA_HOST_FLAGS); do \
21981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21983 echo "Doing installcheck in libtermcap" ; \
21984 (cd libtermcap && \
21985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21987 "RANLIB=$${RANLIB}" \
21988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21994 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21995 maybe-mostlyclean-libtermcap:
21997 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21999 # libtermcap doesn't support mostlyclean.
22000 mostlyclean-libtermcap:
22004 .PHONY: maybe-clean-libtermcap clean-libtermcap
22005 maybe-clean-libtermcap:
22007 maybe-clean-libtermcap: clean-libtermcap
22009 # libtermcap doesn't support clean.
22014 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
22015 maybe-distclean-libtermcap:
22017 maybe-distclean-libtermcap: distclean-libtermcap
22019 # libtermcap doesn't support distclean.
22020 distclean-libtermcap:
22024 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22025 maybe-maintainer-clean-libtermcap:
22027 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22029 # libtermcap doesn't support maintainer-clean.
22030 maintainer-clean-libtermcap:
22035 .PHONY: configure-utils maybe-configure-utils
22036 maybe-configure-utils:
22038 maybe-configure-utils: configure-utils
22040 @test ! -f utils/Makefile || exit 0; \
22041 [ -d utils ] || mkdir utils; \
22042 r=`${PWD_COMMAND}`; export r; \
22043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22045 echo Configuring in utils; \
22046 cd utils || exit 1; \
22047 case $(srcdir) in \
22049 srcdiroption="--srcdir=."; \
22051 /* | [A-Za-z]:[\\/]*) \
22052 srcdiroption="--srcdir=$(srcdir)/utils"; \
22053 libsrcdir="$$s/utils";; \
22055 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22056 libsrcdir="$$s/utils";; \
22058 $(SHELL) $${libsrcdir}/configure \
22059 $(HOST_CONFIGARGS) $${srcdiroption} \
22063 .PHONY: all-utils maybe-all-utils
22066 maybe-all-utils: all-utils
22067 all-utils: configure-utils
22068 @r=`${PWD_COMMAND}`; export r; \
22069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22072 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22075 .PHONY: check-utils maybe-check-utils
22078 maybe-check-utils: check-utils
22084 .PHONY: install-utils maybe-install-utils
22085 maybe-install-utils:
22087 maybe-install-utils: install-utils
22089 install-utils: installdirs
22090 @r=`${PWD_COMMAND}`; export r; \
22091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22094 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22098 # Other targets (info, dvi, etc.)
22100 .PHONY: maybe-info-utils info-utils
22103 maybe-info-utils: info-utils
22107 @[ -f ./utils/Makefile ] || exit 0; \
22108 r=`${PWD_COMMAND}`; export r; \
22109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22112 for flag in $(EXTRA_HOST_FLAGS); do \
22113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22115 echo "Doing info in utils" ; \
22117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22119 "RANLIB=$${RANLIB}" \
22120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22126 .PHONY: maybe-dvi-utils dvi-utils
22129 maybe-dvi-utils: dvi-utils
22133 @[ -f ./utils/Makefile ] || exit 0; \
22134 r=`${PWD_COMMAND}`; export r; \
22135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22138 for flag in $(EXTRA_HOST_FLAGS); do \
22139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22141 echo "Doing dvi in utils" ; \
22143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22145 "RANLIB=$${RANLIB}" \
22146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22152 .PHONY: maybe-TAGS-utils TAGS-utils
22155 maybe-TAGS-utils: TAGS-utils
22159 @[ -f ./utils/Makefile ] || exit 0; \
22160 r=`${PWD_COMMAND}`; export r; \
22161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 for flag in $(EXTRA_HOST_FLAGS); do \
22165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22167 echo "Doing TAGS in utils" ; \
22169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22171 "RANLIB=$${RANLIB}" \
22172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22178 .PHONY: maybe-install-info-utils install-info-utils
22179 maybe-install-info-utils:
22181 maybe-install-info-utils: install-info-utils
22183 install-info-utils: \
22186 @[ -f ./utils/Makefile ] || exit 0; \
22187 r=`${PWD_COMMAND}`; export r; \
22188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22191 for flag in $(EXTRA_HOST_FLAGS); do \
22192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22194 echo "Doing install-info in utils" ; \
22196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22198 "RANLIB=$${RANLIB}" \
22199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22205 .PHONY: maybe-installcheck-utils installcheck-utils
22206 maybe-installcheck-utils:
22208 maybe-installcheck-utils: installcheck-utils
22210 installcheck-utils: \
22212 @[ -f ./utils/Makefile ] || exit 0; \
22213 r=`${PWD_COMMAND}`; export r; \
22214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22217 for flag in $(EXTRA_HOST_FLAGS); do \
22218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22220 echo "Doing installcheck in utils" ; \
22222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22224 "RANLIB=$${RANLIB}" \
22225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22231 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22232 maybe-mostlyclean-utils:
22234 maybe-mostlyclean-utils: mostlyclean-utils
22237 @[ -f ./utils/Makefile ] || exit 0; \
22238 r=`${PWD_COMMAND}`; export r; \
22239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 for flag in $(EXTRA_HOST_FLAGS); do \
22243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22245 echo "Doing mostlyclean in utils" ; \
22247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22249 "RANLIB=$${RANLIB}" \
22250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22256 .PHONY: maybe-clean-utils clean-utils
22259 maybe-clean-utils: clean-utils
22262 @[ -f ./utils/Makefile ] || exit 0; \
22263 r=`${PWD_COMMAND}`; export r; \
22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22267 for flag in $(EXTRA_HOST_FLAGS); do \
22268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22270 echo "Doing clean in utils" ; \
22272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22274 "RANLIB=$${RANLIB}" \
22275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22281 .PHONY: maybe-distclean-utils distclean-utils
22282 maybe-distclean-utils:
22284 maybe-distclean-utils: distclean-utils
22287 @[ -f ./utils/Makefile ] || exit 0; \
22288 r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22292 for flag in $(EXTRA_HOST_FLAGS); do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22295 echo "Doing distclean in utils" ; \
22297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22299 "RANLIB=$${RANLIB}" \
22300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22306 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22307 maybe-maintainer-clean-utils:
22309 maybe-maintainer-clean-utils: maintainer-clean-utils
22311 maintainer-clean-utils:
22312 @[ -f ./utils/Makefile ] || exit 0; \
22313 r=`${PWD_COMMAND}`; export r; \
22314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22317 for flag in $(EXTRA_HOST_FLAGS); do \
22318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22320 echo "Doing maintainer-clean in utils" ; \
22322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22324 "RANLIB=$${RANLIB}" \
22325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22326 maintainer-clean) \
22333 # ---------------------------------------
22334 # Modules which run on the target machine
22335 # ---------------------------------------
22337 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22338 maybe-configure-target-libstdc++-v3:
22339 @if target-libstdc++-v3
22340 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22342 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22343 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22344 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22345 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22346 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22348 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22349 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22350 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22351 r=`${PWD_COMMAND}`; export r; \
22352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22354 $(RAW_CXX_TARGET_EXPORTS) \
22355 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22356 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22357 case $(srcdir) in \
22358 /* | [A-Za-z]:[\\/]*) \
22359 topdir=$(srcdir) ;; \
22361 case "$(TARGET_SUBDIR)" in \
22362 .) topdir="../$(srcdir)" ;; \
22363 *) topdir="../../$(srcdir)" ;; \
22366 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22367 libsrcdir="$$s/libstdc++-v3"; \
22368 rm -f no-such-file || : ; \
22369 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22370 $(TARGET_CONFIGARGS) $${srcdiroption} \
22371 --with-target-subdir="$(TARGET_SUBDIR)" \
22373 @endif target-libstdc++-v3
22375 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22376 maybe-all-target-libstdc++-v3:
22377 @if target-libstdc++-v3
22378 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22379 all-target-libstdc++-v3: configure-target-libstdc++-v3
22380 @r=`${PWD_COMMAND}`; export r; \
22381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22383 $(RAW_CXX_TARGET_EXPORTS) \
22384 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22385 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
22386 @endif target-libstdc++-v3
22388 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22389 maybe-check-target-libstdc++-v3:
22390 @if target-libstdc++-v3
22391 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22393 check-target-libstdc++-v3:
22394 @r=`${PWD_COMMAND}`; export r; \
22395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22397 $(RAW_CXX_TARGET_EXPORTS) \
22398 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22399 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22401 @endif target-libstdc++-v3
22403 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22404 maybe-install-target-libstdc++-v3:
22405 @if target-libstdc++-v3
22406 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22408 install-target-libstdc++-v3: installdirs
22409 @r=`${PWD_COMMAND}`; export r; \
22410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22412 $(RAW_CXX_TARGET_EXPORTS) \
22413 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22414 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22416 @endif target-libstdc++-v3
22418 # Other targets (info, dvi, etc.)
22420 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22421 maybe-info-target-libstdc++-v3:
22422 @if target-libstdc++-v3
22423 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22425 info-target-libstdc++-v3: \
22426 configure-target-libstdc++-v3
22427 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22428 r=`${PWD_COMMAND}`; export r; \
22429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22431 $(RAW_CXX_TARGET_EXPORTS) \
22432 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22433 for flag in $(EXTRA_TARGET_FLAGS); do \
22434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22436 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22439 "RANLIB=$${RANLIB}" \
22440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22444 @endif target-libstdc++-v3
22446 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22447 maybe-dvi-target-libstdc++-v3:
22448 @if target-libstdc++-v3
22449 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22451 dvi-target-libstdc++-v3: \
22452 configure-target-libstdc++-v3
22453 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22454 r=`${PWD_COMMAND}`; export r; \
22455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22457 $(RAW_CXX_TARGET_EXPORTS) \
22458 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22459 for flag in $(EXTRA_TARGET_FLAGS); do \
22460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22462 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22465 "RANLIB=$${RANLIB}" \
22466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22470 @endif target-libstdc++-v3
22472 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22473 maybe-TAGS-target-libstdc++-v3:
22474 @if target-libstdc++-v3
22475 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22477 TAGS-target-libstdc++-v3: \
22478 configure-target-libstdc++-v3
22479 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22480 r=`${PWD_COMMAND}`; export r; \
22481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22483 $(RAW_CXX_TARGET_EXPORTS) \
22484 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22485 for flag in $(EXTRA_TARGET_FLAGS); do \
22486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22488 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22491 "RANLIB=$${RANLIB}" \
22492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22496 @endif target-libstdc++-v3
22498 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22499 maybe-install-info-target-libstdc++-v3:
22500 @if target-libstdc++-v3
22501 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22503 install-info-target-libstdc++-v3: \
22504 configure-target-libstdc++-v3 \
22505 info-target-libstdc++-v3
22506 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22507 r=`${PWD_COMMAND}`; export r; \
22508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22510 $(RAW_CXX_TARGET_EXPORTS) \
22511 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22512 for flag in $(EXTRA_TARGET_FLAGS); do \
22513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22515 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22518 "RANLIB=$${RANLIB}" \
22519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22523 @endif target-libstdc++-v3
22525 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22526 maybe-installcheck-target-libstdc++-v3:
22527 @if target-libstdc++-v3
22528 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22530 installcheck-target-libstdc++-v3: \
22531 configure-target-libstdc++-v3
22532 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22533 r=`${PWD_COMMAND}`; export r; \
22534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(RAW_CXX_TARGET_EXPORTS) \
22537 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22538 for flag in $(EXTRA_TARGET_FLAGS); do \
22539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22541 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22544 "RANLIB=$${RANLIB}" \
22545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22549 @endif target-libstdc++-v3
22551 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22552 maybe-mostlyclean-target-libstdc++-v3:
22553 @if target-libstdc++-v3
22554 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22556 mostlyclean-target-libstdc++-v3:
22557 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22558 r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 $(RAW_CXX_TARGET_EXPORTS) \
22562 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22563 for flag in $(EXTRA_TARGET_FLAGS); do \
22564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22566 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22569 "RANLIB=$${RANLIB}" \
22570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22574 @endif target-libstdc++-v3
22576 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22577 maybe-clean-target-libstdc++-v3:
22578 @if target-libstdc++-v3
22579 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22581 clean-target-libstdc++-v3:
22582 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22583 r=`${PWD_COMMAND}`; export r; \
22584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 $(RAW_CXX_TARGET_EXPORTS) \
22587 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22588 for flag in $(EXTRA_TARGET_FLAGS); do \
22589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22594 "RANLIB=$${RANLIB}" \
22595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22599 @endif target-libstdc++-v3
22601 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22602 maybe-distclean-target-libstdc++-v3:
22603 @if target-libstdc++-v3
22604 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22606 distclean-target-libstdc++-v3:
22607 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22608 r=`${PWD_COMMAND}`; export r; \
22609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(RAW_CXX_TARGET_EXPORTS) \
22612 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22613 for flag in $(EXTRA_TARGET_FLAGS); do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22616 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22619 "RANLIB=$${RANLIB}" \
22620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22624 @endif target-libstdc++-v3
22626 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22627 maybe-maintainer-clean-target-libstdc++-v3:
22628 @if target-libstdc++-v3
22629 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22631 maintainer-clean-target-libstdc++-v3:
22632 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22633 r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(RAW_CXX_TARGET_EXPORTS) \
22637 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22638 for flag in $(EXTRA_TARGET_FLAGS); do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22641 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22644 "RANLIB=$${RANLIB}" \
22645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22646 maintainer-clean) \
22649 @endif target-libstdc++-v3
22652 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22653 maybe-configure-target-libmudflap:
22654 @if target-libmudflap
22655 maybe-configure-target-libmudflap: configure-target-libmudflap
22657 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22658 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22659 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22660 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22661 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22663 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22664 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22665 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22666 r=`${PWD_COMMAND}`; export r; \
22667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22669 $(NORMAL_TARGET_EXPORTS) \
22670 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22671 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22672 case $(srcdir) in \
22673 /* | [A-Za-z]:[\\/]*) \
22674 topdir=$(srcdir) ;; \
22676 case "$(TARGET_SUBDIR)" in \
22677 .) topdir="../$(srcdir)" ;; \
22678 *) topdir="../../$(srcdir)" ;; \
22681 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22682 libsrcdir="$$s/libmudflap"; \
22683 rm -f no-such-file || : ; \
22684 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22685 $(TARGET_CONFIGARGS) $${srcdiroption} \
22686 --with-target-subdir="$(TARGET_SUBDIR)" \
22688 @endif target-libmudflap
22690 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22691 maybe-all-target-libmudflap:
22692 @if target-libmudflap
22693 maybe-all-target-libmudflap: all-target-libmudflap
22694 all-target-libmudflap: configure-target-libmudflap
22695 @r=`${PWD_COMMAND}`; export r; \
22696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22698 $(NORMAL_TARGET_EXPORTS) \
22699 (cd $(TARGET_SUBDIR)/libmudflap && \
22700 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
22701 @endif target-libmudflap
22703 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22704 maybe-check-target-libmudflap:
22705 @if target-libmudflap
22706 maybe-check-target-libmudflap: check-target-libmudflap
22708 check-target-libmudflap:
22709 @r=`${PWD_COMMAND}`; export r; \
22710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22712 $(NORMAL_TARGET_EXPORTS) \
22713 (cd $(TARGET_SUBDIR)/libmudflap && \
22714 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22716 @endif target-libmudflap
22718 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22719 maybe-install-target-libmudflap:
22720 @if target-libmudflap
22721 maybe-install-target-libmudflap: install-target-libmudflap
22723 install-target-libmudflap: installdirs
22724 @r=`${PWD_COMMAND}`; export r; \
22725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22727 $(NORMAL_TARGET_EXPORTS) \
22728 (cd $(TARGET_SUBDIR)/libmudflap && \
22729 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22731 @endif target-libmudflap
22733 # Other targets (info, dvi, etc.)
22735 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22736 maybe-info-target-libmudflap:
22737 @if target-libmudflap
22738 maybe-info-target-libmudflap: info-target-libmudflap
22740 info-target-libmudflap: \
22741 configure-target-libmudflap
22742 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22743 r=`${PWD_COMMAND}`; export r; \
22744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22746 $(NORMAL_TARGET_EXPORTS) \
22747 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22748 for flag in $(EXTRA_TARGET_FLAGS); do \
22749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22751 (cd $(TARGET_SUBDIR)/libmudflap && \
22752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22754 "RANLIB=$${RANLIB}" \
22755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22759 @endif target-libmudflap
22761 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22762 maybe-dvi-target-libmudflap:
22763 @if target-libmudflap
22764 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22766 dvi-target-libmudflap: \
22767 configure-target-libmudflap
22768 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22769 r=`${PWD_COMMAND}`; export r; \
22770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22772 $(NORMAL_TARGET_EXPORTS) \
22773 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22774 for flag in $(EXTRA_TARGET_FLAGS); do \
22775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22777 (cd $(TARGET_SUBDIR)/libmudflap && \
22778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22780 "RANLIB=$${RANLIB}" \
22781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22785 @endif target-libmudflap
22787 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22788 maybe-TAGS-target-libmudflap:
22789 @if target-libmudflap
22790 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22792 TAGS-target-libmudflap: \
22793 configure-target-libmudflap
22794 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22795 r=`${PWD_COMMAND}`; export r; \
22796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22798 $(NORMAL_TARGET_EXPORTS) \
22799 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22800 for flag in $(EXTRA_TARGET_FLAGS); do \
22801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22803 (cd $(TARGET_SUBDIR)/libmudflap && \
22804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22806 "RANLIB=$${RANLIB}" \
22807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22811 @endif target-libmudflap
22813 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22814 maybe-install-info-target-libmudflap:
22815 @if target-libmudflap
22816 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22818 install-info-target-libmudflap: \
22819 configure-target-libmudflap \
22820 info-target-libmudflap
22821 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22822 r=`${PWD_COMMAND}`; export r; \
22823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22825 $(NORMAL_TARGET_EXPORTS) \
22826 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22827 for flag in $(EXTRA_TARGET_FLAGS); do \
22828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22830 (cd $(TARGET_SUBDIR)/libmudflap && \
22831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22833 "RANLIB=$${RANLIB}" \
22834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22838 @endif target-libmudflap
22840 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22841 maybe-installcheck-target-libmudflap:
22842 @if target-libmudflap
22843 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22845 installcheck-target-libmudflap: \
22846 configure-target-libmudflap
22847 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22848 r=`${PWD_COMMAND}`; export r; \
22849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22851 $(NORMAL_TARGET_EXPORTS) \
22852 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22853 for flag in $(EXTRA_TARGET_FLAGS); do \
22854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22856 (cd $(TARGET_SUBDIR)/libmudflap && \
22857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22859 "RANLIB=$${RANLIB}" \
22860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22864 @endif target-libmudflap
22866 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22867 maybe-mostlyclean-target-libmudflap:
22868 @if target-libmudflap
22869 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22871 mostlyclean-target-libmudflap:
22872 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22873 r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22876 $(NORMAL_TARGET_EXPORTS) \
22877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22878 for flag in $(EXTRA_TARGET_FLAGS); do \
22879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22881 (cd $(TARGET_SUBDIR)/libmudflap && \
22882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22884 "RANLIB=$${RANLIB}" \
22885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22889 @endif target-libmudflap
22891 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22892 maybe-clean-target-libmudflap:
22893 @if target-libmudflap
22894 maybe-clean-target-libmudflap: clean-target-libmudflap
22896 clean-target-libmudflap:
22897 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22898 r=`${PWD_COMMAND}`; export r; \
22899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22901 $(NORMAL_TARGET_EXPORTS) \
22902 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22903 for flag in $(EXTRA_TARGET_FLAGS); do \
22904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22906 (cd $(TARGET_SUBDIR)/libmudflap && \
22907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22909 "RANLIB=$${RANLIB}" \
22910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22914 @endif target-libmudflap
22916 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22917 maybe-distclean-target-libmudflap:
22918 @if target-libmudflap
22919 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22921 distclean-target-libmudflap:
22922 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22923 r=`${PWD_COMMAND}`; export r; \
22924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22926 $(NORMAL_TARGET_EXPORTS) \
22927 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22928 for flag in $(EXTRA_TARGET_FLAGS); do \
22929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22931 (cd $(TARGET_SUBDIR)/libmudflap && \
22932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22934 "RANLIB=$${RANLIB}" \
22935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22939 @endif target-libmudflap
22941 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22942 maybe-maintainer-clean-target-libmudflap:
22943 @if target-libmudflap
22944 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22946 maintainer-clean-target-libmudflap:
22947 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22948 r=`${PWD_COMMAND}`; export r; \
22949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22951 $(NORMAL_TARGET_EXPORTS) \
22952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22953 for flag in $(EXTRA_TARGET_FLAGS); do \
22954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22956 (cd $(TARGET_SUBDIR)/libmudflap && \
22957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22959 "RANLIB=$${RANLIB}" \
22960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22961 maintainer-clean) \
22964 @endif target-libmudflap
22967 .PHONY: configure-target-newlib maybe-configure-target-newlib
22968 maybe-configure-target-newlib:
22970 maybe-configure-target-newlib: configure-target-newlib
22972 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22973 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22974 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22975 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22976 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22978 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22979 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22981 r=`${PWD_COMMAND}`; export r; \
22982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22984 $(NORMAL_TARGET_EXPORTS) \
22985 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22986 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22987 case $(srcdir) in \
22988 /* | [A-Za-z]:[\\/]*) \
22989 topdir=$(srcdir) ;; \
22991 case "$(TARGET_SUBDIR)" in \
22992 .) topdir="../$(srcdir)" ;; \
22993 *) topdir="../../$(srcdir)" ;; \
22996 srcdiroption="--srcdir=$${topdir}/newlib"; \
22997 libsrcdir="$$s/newlib"; \
22998 rm -f no-such-file || : ; \
22999 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23000 $(TARGET_CONFIGARGS) $${srcdiroption} \
23001 --with-target-subdir="$(TARGET_SUBDIR)" \
23003 @endif target-newlib
23005 .PHONY: all-target-newlib maybe-all-target-newlib
23006 maybe-all-target-newlib:
23008 maybe-all-target-newlib: all-target-newlib
23009 all-target-newlib: configure-target-newlib
23010 @r=`${PWD_COMMAND}`; export r; \
23011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 $(NORMAL_TARGET_EXPORTS) \
23014 (cd $(TARGET_SUBDIR)/newlib && \
23015 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23016 @endif target-newlib
23018 .PHONY: check-target-newlib maybe-check-target-newlib
23019 maybe-check-target-newlib:
23021 maybe-check-target-newlib: check-target-newlib
23023 check-target-newlib:
23024 @r=`${PWD_COMMAND}`; export r; \
23025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23027 $(NORMAL_TARGET_EXPORTS) \
23028 (cd $(TARGET_SUBDIR)/newlib && \
23029 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23031 @endif target-newlib
23033 .PHONY: install-target-newlib maybe-install-target-newlib
23034 maybe-install-target-newlib:
23036 maybe-install-target-newlib: install-target-newlib
23038 install-target-newlib: installdirs
23039 @r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23042 $(NORMAL_TARGET_EXPORTS) \
23043 (cd $(TARGET_SUBDIR)/newlib && \
23044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23046 @endif target-newlib
23048 # Other targets (info, dvi, etc.)
23050 .PHONY: maybe-info-target-newlib info-target-newlib
23051 maybe-info-target-newlib:
23053 maybe-info-target-newlib: info-target-newlib
23055 info-target-newlib: \
23056 configure-target-newlib
23057 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23058 r=`${PWD_COMMAND}`; export r; \
23059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23061 $(NORMAL_TARGET_EXPORTS) \
23062 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23063 for flag in $(EXTRA_TARGET_FLAGS); do \
23064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23066 (cd $(TARGET_SUBDIR)/newlib && \
23067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23069 "RANLIB=$${RANLIB}" \
23070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23074 @endif target-newlib
23076 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23077 maybe-dvi-target-newlib:
23079 maybe-dvi-target-newlib: dvi-target-newlib
23081 dvi-target-newlib: \
23082 configure-target-newlib
23083 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23084 r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23087 $(NORMAL_TARGET_EXPORTS) \
23088 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23089 for flag in $(EXTRA_TARGET_FLAGS); do \
23090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092 (cd $(TARGET_SUBDIR)/newlib && \
23093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23095 "RANLIB=$${RANLIB}" \
23096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23100 @endif target-newlib
23102 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23103 maybe-TAGS-target-newlib:
23105 maybe-TAGS-target-newlib: TAGS-target-newlib
23107 TAGS-target-newlib: \
23108 configure-target-newlib
23109 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23110 r=`${PWD_COMMAND}`; export r; \
23111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113 $(NORMAL_TARGET_EXPORTS) \
23114 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23115 for flag in $(EXTRA_TARGET_FLAGS); do \
23116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23118 (cd $(TARGET_SUBDIR)/newlib && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23126 @endif target-newlib
23128 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23129 maybe-install-info-target-newlib:
23131 maybe-install-info-target-newlib: install-info-target-newlib
23133 install-info-target-newlib: \
23134 configure-target-newlib \
23136 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23137 r=`${PWD_COMMAND}`; export r; \
23138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23140 $(NORMAL_TARGET_EXPORTS) \
23141 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23142 for flag in $(EXTRA_TARGET_FLAGS); do \
23143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23145 (cd $(TARGET_SUBDIR)/newlib && \
23146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23148 "RANLIB=$${RANLIB}" \
23149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23153 @endif target-newlib
23155 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23156 maybe-installcheck-target-newlib:
23158 maybe-installcheck-target-newlib: installcheck-target-newlib
23160 installcheck-target-newlib: \
23161 configure-target-newlib
23162 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23163 r=`${PWD_COMMAND}`; export r; \
23164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23166 $(NORMAL_TARGET_EXPORTS) \
23167 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23168 for flag in $(EXTRA_TARGET_FLAGS); do \
23169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23171 (cd $(TARGET_SUBDIR)/newlib && \
23172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23174 "RANLIB=$${RANLIB}" \
23175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23179 @endif target-newlib
23181 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23182 maybe-mostlyclean-target-newlib:
23184 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23186 mostlyclean-target-newlib:
23187 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23188 r=`${PWD_COMMAND}`; export r; \
23189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23191 $(NORMAL_TARGET_EXPORTS) \
23192 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23193 for flag in $(EXTRA_TARGET_FLAGS); do \
23194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23196 (cd $(TARGET_SUBDIR)/newlib && \
23197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23199 "RANLIB=$${RANLIB}" \
23200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23204 @endif target-newlib
23206 .PHONY: maybe-clean-target-newlib clean-target-newlib
23207 maybe-clean-target-newlib:
23209 maybe-clean-target-newlib: clean-target-newlib
23211 clean-target-newlib:
23212 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23213 r=`${PWD_COMMAND}`; export r; \
23214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 $(NORMAL_TARGET_EXPORTS) \
23217 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23218 for flag in $(EXTRA_TARGET_FLAGS); do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23221 (cd $(TARGET_SUBDIR)/newlib && \
23222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23224 "RANLIB=$${RANLIB}" \
23225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23229 @endif target-newlib
23231 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23232 maybe-distclean-target-newlib:
23234 maybe-distclean-target-newlib: distclean-target-newlib
23236 distclean-target-newlib:
23237 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23238 r=`${PWD_COMMAND}`; export r; \
23239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23241 $(NORMAL_TARGET_EXPORTS) \
23242 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23243 for flag in $(EXTRA_TARGET_FLAGS); do \
23244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 (cd $(TARGET_SUBDIR)/newlib && \
23247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23249 "RANLIB=$${RANLIB}" \
23250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23254 @endif target-newlib
23256 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23257 maybe-maintainer-clean-target-newlib:
23259 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23261 maintainer-clean-target-newlib:
23262 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23263 r=`${PWD_COMMAND}`; export r; \
23264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23266 $(NORMAL_TARGET_EXPORTS) \
23267 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23268 for flag in $(EXTRA_TARGET_FLAGS); do \
23269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23271 (cd $(TARGET_SUBDIR)/newlib && \
23272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23274 "RANLIB=$${RANLIB}" \
23275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23276 maintainer-clean) \
23279 @endif target-newlib
23282 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23283 maybe-configure-target-libgfortran:
23284 @if target-libgfortran
23285 maybe-configure-target-libgfortran: configure-target-libgfortran
23287 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23288 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23290 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23291 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23293 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23294 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23295 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23296 r=`${PWD_COMMAND}`; export r; \
23297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23299 $(NORMAL_TARGET_EXPORTS) \
23300 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23301 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23302 case $(srcdir) in \
23303 /* | [A-Za-z]:[\\/]*) \
23304 topdir=$(srcdir) ;; \
23306 case "$(TARGET_SUBDIR)" in \
23307 .) topdir="../$(srcdir)" ;; \
23308 *) topdir="../../$(srcdir)" ;; \
23311 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23312 libsrcdir="$$s/libgfortran"; \
23313 rm -f no-such-file || : ; \
23314 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23315 $(TARGET_CONFIGARGS) $${srcdiroption} \
23316 --with-target-subdir="$(TARGET_SUBDIR)" \
23318 @endif target-libgfortran
23320 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23321 maybe-all-target-libgfortran:
23322 @if target-libgfortran
23323 maybe-all-target-libgfortran: all-target-libgfortran
23324 all-target-libgfortran: configure-target-libgfortran
23325 @r=`${PWD_COMMAND}`; export r; \
23326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23328 $(NORMAL_TARGET_EXPORTS) \
23329 (cd $(TARGET_SUBDIR)/libgfortran && \
23330 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23331 @endif target-libgfortran
23333 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23334 maybe-check-target-libgfortran:
23335 @if target-libgfortran
23336 maybe-check-target-libgfortran: check-target-libgfortran
23338 check-target-libgfortran:
23339 @r=`${PWD_COMMAND}`; export r; \
23340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(NORMAL_TARGET_EXPORTS) \
23343 (cd $(TARGET_SUBDIR)/libgfortran && \
23344 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23346 @endif target-libgfortran
23348 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23349 maybe-install-target-libgfortran:
23350 @if target-libgfortran
23351 maybe-install-target-libgfortran: install-target-libgfortran
23353 install-target-libgfortran: installdirs
23354 @r=`${PWD_COMMAND}`; export r; \
23355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23357 $(NORMAL_TARGET_EXPORTS) \
23358 (cd $(TARGET_SUBDIR)/libgfortran && \
23359 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23361 @endif target-libgfortran
23363 # Other targets (info, dvi, etc.)
23365 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23366 maybe-info-target-libgfortran:
23367 @if target-libgfortran
23368 maybe-info-target-libgfortran: info-target-libgfortran
23370 info-target-libgfortran: \
23371 configure-target-libgfortran
23372 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23373 r=`${PWD_COMMAND}`; export r; \
23374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23376 $(NORMAL_TARGET_EXPORTS) \
23377 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23378 for flag in $(EXTRA_TARGET_FLAGS); do \
23379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23381 (cd $(TARGET_SUBDIR)/libgfortran && \
23382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23384 "RANLIB=$${RANLIB}" \
23385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23389 @endif target-libgfortran
23391 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23392 maybe-dvi-target-libgfortran:
23393 @if target-libgfortran
23394 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23396 dvi-target-libgfortran: \
23397 configure-target-libgfortran
23398 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23399 r=`${PWD_COMMAND}`; export r; \
23400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23402 $(NORMAL_TARGET_EXPORTS) \
23403 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23404 for flag in $(EXTRA_TARGET_FLAGS); do \
23405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23407 (cd $(TARGET_SUBDIR)/libgfortran && \
23408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23410 "RANLIB=$${RANLIB}" \
23411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23415 @endif target-libgfortran
23417 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23418 maybe-TAGS-target-libgfortran:
23419 @if target-libgfortran
23420 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23422 TAGS-target-libgfortran: \
23423 configure-target-libgfortran
23424 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23425 r=`${PWD_COMMAND}`; export r; \
23426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23428 $(NORMAL_TARGET_EXPORTS) \
23429 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23430 for flag in $(EXTRA_TARGET_FLAGS); do \
23431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23433 (cd $(TARGET_SUBDIR)/libgfortran && \
23434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23436 "RANLIB=$${RANLIB}" \
23437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23441 @endif target-libgfortran
23443 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23444 maybe-install-info-target-libgfortran:
23445 @if target-libgfortran
23446 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23448 install-info-target-libgfortran: \
23449 configure-target-libgfortran \
23450 info-target-libgfortran
23451 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23452 r=`${PWD_COMMAND}`; export r; \
23453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23455 $(NORMAL_TARGET_EXPORTS) \
23456 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23457 for flag in $(EXTRA_TARGET_FLAGS); do \
23458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23460 (cd $(TARGET_SUBDIR)/libgfortran && \
23461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23463 "RANLIB=$${RANLIB}" \
23464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23468 @endif target-libgfortran
23470 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23471 maybe-installcheck-target-libgfortran:
23472 @if target-libgfortran
23473 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23475 installcheck-target-libgfortran: \
23476 configure-target-libgfortran
23477 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23478 r=`${PWD_COMMAND}`; export r; \
23479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23481 $(NORMAL_TARGET_EXPORTS) \
23482 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23483 for flag in $(EXTRA_TARGET_FLAGS); do \
23484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23486 (cd $(TARGET_SUBDIR)/libgfortran && \
23487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23489 "RANLIB=$${RANLIB}" \
23490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23494 @endif target-libgfortran
23496 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23497 maybe-mostlyclean-target-libgfortran:
23498 @if target-libgfortran
23499 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23501 mostlyclean-target-libgfortran:
23502 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23503 r=`${PWD_COMMAND}`; export r; \
23504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23506 $(NORMAL_TARGET_EXPORTS) \
23507 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23508 for flag in $(EXTRA_TARGET_FLAGS); do \
23509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23511 (cd $(TARGET_SUBDIR)/libgfortran && \
23512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23514 "RANLIB=$${RANLIB}" \
23515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23519 @endif target-libgfortran
23521 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23522 maybe-clean-target-libgfortran:
23523 @if target-libgfortran
23524 maybe-clean-target-libgfortran: clean-target-libgfortran
23526 clean-target-libgfortran:
23527 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23528 r=`${PWD_COMMAND}`; export r; \
23529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23531 $(NORMAL_TARGET_EXPORTS) \
23532 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23533 for flag in $(EXTRA_TARGET_FLAGS); do \
23534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23536 (cd $(TARGET_SUBDIR)/libgfortran && \
23537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23539 "RANLIB=$${RANLIB}" \
23540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23544 @endif target-libgfortran
23546 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23547 maybe-distclean-target-libgfortran:
23548 @if target-libgfortran
23549 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23551 distclean-target-libgfortran:
23552 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23553 r=`${PWD_COMMAND}`; export r; \
23554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23556 $(NORMAL_TARGET_EXPORTS) \
23557 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23558 for flag in $(EXTRA_TARGET_FLAGS); do \
23559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 (cd $(TARGET_SUBDIR)/libgfortran && \
23562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23564 "RANLIB=$${RANLIB}" \
23565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23569 @endif target-libgfortran
23571 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23572 maybe-maintainer-clean-target-libgfortran:
23573 @if target-libgfortran
23574 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23576 maintainer-clean-target-libgfortran:
23577 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23578 r=`${PWD_COMMAND}`; export r; \
23579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23581 $(NORMAL_TARGET_EXPORTS) \
23582 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23583 for flag in $(EXTRA_TARGET_FLAGS); do \
23584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 (cd $(TARGET_SUBDIR)/libgfortran && \
23587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23589 "RANLIB=$${RANLIB}" \
23590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23591 maintainer-clean) \
23594 @endif target-libgfortran
23597 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23598 maybe-configure-target-libobjc:
23600 maybe-configure-target-libobjc: configure-target-libobjc
23602 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23603 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23604 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23605 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23606 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23608 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23609 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23610 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23611 r=`${PWD_COMMAND}`; export r; \
23612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23614 $(NORMAL_TARGET_EXPORTS) \
23615 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23616 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23617 case $(srcdir) in \
23618 /* | [A-Za-z]:[\\/]*) \
23619 topdir=$(srcdir) ;; \
23621 case "$(TARGET_SUBDIR)" in \
23622 .) topdir="../$(srcdir)" ;; \
23623 *) topdir="../../$(srcdir)" ;; \
23626 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23627 libsrcdir="$$s/libobjc"; \
23628 rm -f no-such-file || : ; \
23629 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23630 $(TARGET_CONFIGARGS) $${srcdiroption} \
23631 --with-target-subdir="$(TARGET_SUBDIR)" \
23633 @endif target-libobjc
23635 .PHONY: all-target-libobjc maybe-all-target-libobjc
23636 maybe-all-target-libobjc:
23638 maybe-all-target-libobjc: all-target-libobjc
23639 all-target-libobjc: configure-target-libobjc
23640 @r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23643 $(NORMAL_TARGET_EXPORTS) \
23644 (cd $(TARGET_SUBDIR)/libobjc && \
23645 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23646 @endif target-libobjc
23648 .PHONY: check-target-libobjc maybe-check-target-libobjc
23649 maybe-check-target-libobjc:
23651 maybe-check-target-libobjc: check-target-libobjc
23653 check-target-libobjc:
23654 @r=`${PWD_COMMAND}`; export r; \
23655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23657 $(NORMAL_TARGET_EXPORTS) \
23658 (cd $(TARGET_SUBDIR)/libobjc && \
23659 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23661 @endif target-libobjc
23663 .PHONY: install-target-libobjc maybe-install-target-libobjc
23664 maybe-install-target-libobjc:
23666 maybe-install-target-libobjc: install-target-libobjc
23668 install-target-libobjc: installdirs
23669 @r=`${PWD_COMMAND}`; export r; \
23670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23672 $(NORMAL_TARGET_EXPORTS) \
23673 (cd $(TARGET_SUBDIR)/libobjc && \
23674 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23676 @endif target-libobjc
23678 # Other targets (info, dvi, etc.)
23680 .PHONY: maybe-info-target-libobjc info-target-libobjc
23681 maybe-info-target-libobjc:
23683 maybe-info-target-libobjc: info-target-libobjc
23685 info-target-libobjc: \
23686 configure-target-libobjc
23687 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23688 r=`${PWD_COMMAND}`; export r; \
23689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23691 $(NORMAL_TARGET_EXPORTS) \
23692 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23693 for flag in $(EXTRA_TARGET_FLAGS); do \
23694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 (cd $(TARGET_SUBDIR)/libobjc && \
23697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23699 "RANLIB=$${RANLIB}" \
23700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23704 @endif target-libobjc
23706 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23707 maybe-dvi-target-libobjc:
23709 maybe-dvi-target-libobjc: dvi-target-libobjc
23711 dvi-target-libobjc: \
23712 configure-target-libobjc
23713 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23714 r=`${PWD_COMMAND}`; export r; \
23715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23717 $(NORMAL_TARGET_EXPORTS) \
23718 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23719 for flag in $(EXTRA_TARGET_FLAGS); do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23722 (cd $(TARGET_SUBDIR)/libobjc && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23730 @endif target-libobjc
23732 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23733 maybe-TAGS-target-libobjc:
23735 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23737 TAGS-target-libobjc: \
23738 configure-target-libobjc
23739 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23740 r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(NORMAL_TARGET_EXPORTS) \
23744 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23745 for flag in $(EXTRA_TARGET_FLAGS); do \
23746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23748 (cd $(TARGET_SUBDIR)/libobjc && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23756 @endif target-libobjc
23758 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23759 maybe-install-info-target-libobjc:
23761 maybe-install-info-target-libobjc: install-info-target-libobjc
23763 install-info-target-libobjc: \
23764 configure-target-libobjc \
23765 info-target-libobjc
23766 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23767 r=`${PWD_COMMAND}`; export r; \
23768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23770 $(NORMAL_TARGET_EXPORTS) \
23771 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23772 for flag in $(EXTRA_TARGET_FLAGS); do \
23773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23775 (cd $(TARGET_SUBDIR)/libobjc && \
23776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23778 "RANLIB=$${RANLIB}" \
23779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23783 @endif target-libobjc
23785 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23786 maybe-installcheck-target-libobjc:
23788 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23790 installcheck-target-libobjc: \
23791 configure-target-libobjc
23792 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23793 r=`${PWD_COMMAND}`; export r; \
23794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23796 $(NORMAL_TARGET_EXPORTS) \
23797 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23798 for flag in $(EXTRA_TARGET_FLAGS); do \
23799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23801 (cd $(TARGET_SUBDIR)/libobjc && \
23802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23804 "RANLIB=$${RANLIB}" \
23805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23809 @endif target-libobjc
23811 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23812 maybe-mostlyclean-target-libobjc:
23814 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23816 mostlyclean-target-libobjc:
23817 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23818 r=`${PWD_COMMAND}`; export r; \
23819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23821 $(NORMAL_TARGET_EXPORTS) \
23822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23823 for flag in $(EXTRA_TARGET_FLAGS); do \
23824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23826 (cd $(TARGET_SUBDIR)/libobjc && \
23827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23829 "RANLIB=$${RANLIB}" \
23830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23834 @endif target-libobjc
23836 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23837 maybe-clean-target-libobjc:
23839 maybe-clean-target-libobjc: clean-target-libobjc
23841 clean-target-libobjc:
23842 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23843 r=`${PWD_COMMAND}`; export r; \
23844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23846 $(NORMAL_TARGET_EXPORTS) \
23847 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23848 for flag in $(EXTRA_TARGET_FLAGS); do \
23849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23851 (cd $(TARGET_SUBDIR)/libobjc && \
23852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23854 "RANLIB=$${RANLIB}" \
23855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23859 @endif target-libobjc
23861 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23862 maybe-distclean-target-libobjc:
23864 maybe-distclean-target-libobjc: distclean-target-libobjc
23866 distclean-target-libobjc:
23867 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23868 r=`${PWD_COMMAND}`; export r; \
23869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23871 $(NORMAL_TARGET_EXPORTS) \
23872 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23873 for flag in $(EXTRA_TARGET_FLAGS); do \
23874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23876 (cd $(TARGET_SUBDIR)/libobjc && \
23877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23879 "RANLIB=$${RANLIB}" \
23880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23884 @endif target-libobjc
23886 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23887 maybe-maintainer-clean-target-libobjc:
23889 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23891 maintainer-clean-target-libobjc:
23892 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23893 r=`${PWD_COMMAND}`; export r; \
23894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23896 $(NORMAL_TARGET_EXPORTS) \
23897 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23898 for flag in $(EXTRA_TARGET_FLAGS); do \
23899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23901 (cd $(TARGET_SUBDIR)/libobjc && \
23902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23904 "RANLIB=$${RANLIB}" \
23905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23906 maintainer-clean) \
23909 @endif target-libobjc
23912 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23913 maybe-configure-target-libtermcap:
23914 @if target-libtermcap
23915 maybe-configure-target-libtermcap: configure-target-libtermcap
23917 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23918 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23919 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23920 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23921 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23923 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23924 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23926 r=`${PWD_COMMAND}`; export r; \
23927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23929 $(NORMAL_TARGET_EXPORTS) \
23930 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23931 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23932 case $(srcdir) in \
23933 /* | [A-Za-z]:[\\/]*) \
23934 topdir=$(srcdir) ;; \
23936 case "$(TARGET_SUBDIR)" in \
23937 .) topdir="../$(srcdir)" ;; \
23938 *) topdir="../../$(srcdir)" ;; \
23941 if [ "$(srcdir)" = "." ] ; then \
23942 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23943 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23944 if [ -f Makefile ]; then \
23945 if $(MAKE) distclean; then \
23959 srcdiroption="--srcdir=."; \
23962 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23963 libsrcdir="$$s/libtermcap"; \
23965 rm -f no-such-file || : ; \
23966 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23967 $(TARGET_CONFIGARGS) $${srcdiroption} \
23968 --with-target-subdir="$(TARGET_SUBDIR)" \
23970 @endif target-libtermcap
23972 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23973 maybe-all-target-libtermcap:
23974 @if target-libtermcap
23975 maybe-all-target-libtermcap: all-target-libtermcap
23976 all-target-libtermcap: configure-target-libtermcap
23977 @r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23980 $(NORMAL_TARGET_EXPORTS) \
23981 (cd $(TARGET_SUBDIR)/libtermcap && \
23982 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
23983 @endif target-libtermcap
23985 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23986 maybe-check-target-libtermcap:
23987 @if target-libtermcap
23988 maybe-check-target-libtermcap: check-target-libtermcap
23990 # Dummy target for uncheckable module.
23991 check-target-libtermcap:
23993 @endif target-libtermcap
23995 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23996 maybe-install-target-libtermcap:
23997 @if target-libtermcap
23998 maybe-install-target-libtermcap: install-target-libtermcap
24000 install-target-libtermcap: installdirs
24001 @r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(NORMAL_TARGET_EXPORTS) \
24005 (cd $(TARGET_SUBDIR)/libtermcap && \
24006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24008 @endif target-libtermcap
24010 # Other targets (info, dvi, etc.)
24012 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
24013 maybe-info-target-libtermcap:
24014 @if target-libtermcap
24015 maybe-info-target-libtermcap: info-target-libtermcap
24017 info-target-libtermcap: \
24018 configure-target-libtermcap
24019 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24020 r=`${PWD_COMMAND}`; export r; \
24021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24023 $(NORMAL_TARGET_EXPORTS) \
24024 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24025 for flag in $(EXTRA_TARGET_FLAGS); do \
24026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24028 (cd $(TARGET_SUBDIR)/libtermcap && \
24029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24031 "RANLIB=$${RANLIB}" \
24032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24036 @endif target-libtermcap
24038 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24039 maybe-dvi-target-libtermcap:
24040 @if target-libtermcap
24041 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24043 dvi-target-libtermcap: \
24044 configure-target-libtermcap
24045 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24046 r=`${PWD_COMMAND}`; export r; \
24047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 $(NORMAL_TARGET_EXPORTS) \
24050 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24051 for flag in $(EXTRA_TARGET_FLAGS); do \
24052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24054 (cd $(TARGET_SUBDIR)/libtermcap && \
24055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24057 "RANLIB=$${RANLIB}" \
24058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24062 @endif target-libtermcap
24064 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24065 maybe-TAGS-target-libtermcap:
24066 @if target-libtermcap
24067 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24069 TAGS-target-libtermcap: \
24070 configure-target-libtermcap
24071 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24072 r=`${PWD_COMMAND}`; export r; \
24073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24075 $(NORMAL_TARGET_EXPORTS) \
24076 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24077 for flag in $(EXTRA_TARGET_FLAGS); do \
24078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24080 (cd $(TARGET_SUBDIR)/libtermcap && \
24081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24083 "RANLIB=$${RANLIB}" \
24084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24088 @endif target-libtermcap
24090 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24091 maybe-install-info-target-libtermcap:
24092 @if target-libtermcap
24093 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24095 install-info-target-libtermcap: \
24096 configure-target-libtermcap \
24097 info-target-libtermcap
24098 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24099 r=`${PWD_COMMAND}`; export r; \
24100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24102 $(NORMAL_TARGET_EXPORTS) \
24103 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24104 for flag in $(EXTRA_TARGET_FLAGS); do \
24105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24107 (cd $(TARGET_SUBDIR)/libtermcap && \
24108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24110 "RANLIB=$${RANLIB}" \
24111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24115 @endif target-libtermcap
24117 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24118 maybe-installcheck-target-libtermcap:
24119 @if target-libtermcap
24120 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24122 installcheck-target-libtermcap: \
24123 configure-target-libtermcap
24124 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24125 r=`${PWD_COMMAND}`; export r; \
24126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24128 $(NORMAL_TARGET_EXPORTS) \
24129 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24130 for flag in $(EXTRA_TARGET_FLAGS); do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24133 (cd $(TARGET_SUBDIR)/libtermcap && \
24134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24136 "RANLIB=$${RANLIB}" \
24137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24141 @endif target-libtermcap
24143 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24144 maybe-mostlyclean-target-libtermcap:
24145 @if target-libtermcap
24146 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24148 # libtermcap doesn't support mostlyclean.
24149 mostlyclean-target-libtermcap:
24151 @endif target-libtermcap
24153 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24154 maybe-clean-target-libtermcap:
24155 @if target-libtermcap
24156 maybe-clean-target-libtermcap: clean-target-libtermcap
24158 # libtermcap doesn't support clean.
24159 clean-target-libtermcap:
24161 @endif target-libtermcap
24163 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24164 maybe-distclean-target-libtermcap:
24165 @if target-libtermcap
24166 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24168 # libtermcap doesn't support distclean.
24169 distclean-target-libtermcap:
24171 @endif target-libtermcap
24173 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24174 maybe-maintainer-clean-target-libtermcap:
24175 @if target-libtermcap
24176 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24178 # libtermcap doesn't support maintainer-clean.
24179 maintainer-clean-target-libtermcap:
24181 @endif target-libtermcap
24184 .PHONY: configure-target-winsup maybe-configure-target-winsup
24185 maybe-configure-target-winsup:
24187 maybe-configure-target-winsup: configure-target-winsup
24189 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24190 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24191 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24192 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24193 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24195 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24196 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24197 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24198 r=`${PWD_COMMAND}`; export r; \
24199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24201 $(NORMAL_TARGET_EXPORTS) \
24202 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24203 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24204 case $(srcdir) in \
24205 /* | [A-Za-z]:[\\/]*) \
24206 topdir=$(srcdir) ;; \
24208 case "$(TARGET_SUBDIR)" in \
24209 .) topdir="../$(srcdir)" ;; \
24210 *) topdir="../../$(srcdir)" ;; \
24213 srcdiroption="--srcdir=$${topdir}/winsup"; \
24214 libsrcdir="$$s/winsup"; \
24215 rm -f no-such-file || : ; \
24216 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24217 $(TARGET_CONFIGARGS) $${srcdiroption} \
24218 --with-target-subdir="$(TARGET_SUBDIR)" \
24220 @endif target-winsup
24222 .PHONY: all-target-winsup maybe-all-target-winsup
24223 maybe-all-target-winsup:
24225 maybe-all-target-winsup: all-target-winsup
24226 all-target-winsup: configure-target-winsup
24227 @r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24230 $(NORMAL_TARGET_EXPORTS) \
24231 (cd $(TARGET_SUBDIR)/winsup && \
24232 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24233 @endif target-winsup
24235 .PHONY: check-target-winsup maybe-check-target-winsup
24236 maybe-check-target-winsup:
24238 maybe-check-target-winsup: check-target-winsup
24240 check-target-winsup:
24241 @r=`${PWD_COMMAND}`; export r; \
24242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24244 $(NORMAL_TARGET_EXPORTS) \
24245 (cd $(TARGET_SUBDIR)/winsup && \
24246 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24248 @endif target-winsup
24250 .PHONY: install-target-winsup maybe-install-target-winsup
24251 maybe-install-target-winsup:
24253 maybe-install-target-winsup: install-target-winsup
24255 install-target-winsup: installdirs
24256 @r=`${PWD_COMMAND}`; export r; \
24257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(NORMAL_TARGET_EXPORTS) \
24260 (cd $(TARGET_SUBDIR)/winsup && \
24261 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24263 @endif target-winsup
24265 # Other targets (info, dvi, etc.)
24267 .PHONY: maybe-info-target-winsup info-target-winsup
24268 maybe-info-target-winsup:
24270 maybe-info-target-winsup: info-target-winsup
24272 info-target-winsup: \
24273 configure-target-winsup
24274 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24275 r=`${PWD_COMMAND}`; export r; \
24276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24278 $(NORMAL_TARGET_EXPORTS) \
24279 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24280 for flag in $(EXTRA_TARGET_FLAGS); do \
24281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24283 (cd $(TARGET_SUBDIR)/winsup && \
24284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24286 "RANLIB=$${RANLIB}" \
24287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24291 @endif target-winsup
24293 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24294 maybe-dvi-target-winsup:
24296 maybe-dvi-target-winsup: dvi-target-winsup
24298 dvi-target-winsup: \
24299 configure-target-winsup
24300 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24301 r=`${PWD_COMMAND}`; export r; \
24302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24304 $(NORMAL_TARGET_EXPORTS) \
24305 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24306 for flag in $(EXTRA_TARGET_FLAGS); do \
24307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24309 (cd $(TARGET_SUBDIR)/winsup && \
24310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24312 "RANLIB=$${RANLIB}" \
24313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24317 @endif target-winsup
24319 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24320 maybe-TAGS-target-winsup:
24322 maybe-TAGS-target-winsup: TAGS-target-winsup
24324 TAGS-target-winsup: \
24325 configure-target-winsup
24326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24327 r=`${PWD_COMMAND}`; export r; \
24328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24330 $(NORMAL_TARGET_EXPORTS) \
24331 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24332 for flag in $(EXTRA_TARGET_FLAGS); do \
24333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24335 (cd $(TARGET_SUBDIR)/winsup && \
24336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24338 "RANLIB=$${RANLIB}" \
24339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24343 @endif target-winsup
24345 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24346 maybe-install-info-target-winsup:
24348 maybe-install-info-target-winsup: install-info-target-winsup
24350 install-info-target-winsup: \
24351 configure-target-winsup \
24353 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24354 r=`${PWD_COMMAND}`; export r; \
24355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(NORMAL_TARGET_EXPORTS) \
24358 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24359 for flag in $(EXTRA_TARGET_FLAGS); do \
24360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24362 (cd $(TARGET_SUBDIR)/winsup && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24370 @endif target-winsup
24372 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24373 maybe-installcheck-target-winsup:
24375 maybe-installcheck-target-winsup: installcheck-target-winsup
24377 installcheck-target-winsup: \
24378 configure-target-winsup
24379 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24380 r=`${PWD_COMMAND}`; export r; \
24381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24383 $(NORMAL_TARGET_EXPORTS) \
24384 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24385 for flag in $(EXTRA_TARGET_FLAGS); do \
24386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24388 (cd $(TARGET_SUBDIR)/winsup && \
24389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24391 "RANLIB=$${RANLIB}" \
24392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24396 @endif target-winsup
24398 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24399 maybe-mostlyclean-target-winsup:
24401 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24403 mostlyclean-target-winsup:
24404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24405 r=`${PWD_COMMAND}`; export r; \
24406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(NORMAL_TARGET_EXPORTS) \
24409 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24410 for flag in $(EXTRA_TARGET_FLAGS); do \
24411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24413 (cd $(TARGET_SUBDIR)/winsup && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24421 @endif target-winsup
24423 .PHONY: maybe-clean-target-winsup clean-target-winsup
24424 maybe-clean-target-winsup:
24426 maybe-clean-target-winsup: clean-target-winsup
24428 clean-target-winsup:
24429 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24430 r=`${PWD_COMMAND}`; export r; \
24431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24433 $(NORMAL_TARGET_EXPORTS) \
24434 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24435 for flag in $(EXTRA_TARGET_FLAGS); do \
24436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24438 (cd $(TARGET_SUBDIR)/winsup && \
24439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24441 "RANLIB=$${RANLIB}" \
24442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24446 @endif target-winsup
24448 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24449 maybe-distclean-target-winsup:
24451 maybe-distclean-target-winsup: distclean-target-winsup
24453 distclean-target-winsup:
24454 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24455 r=`${PWD_COMMAND}`; export r; \
24456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24458 $(NORMAL_TARGET_EXPORTS) \
24459 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24460 for flag in $(EXTRA_TARGET_FLAGS); do \
24461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24463 (cd $(TARGET_SUBDIR)/winsup && \
24464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24466 "RANLIB=$${RANLIB}" \
24467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24471 @endif target-winsup
24473 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24474 maybe-maintainer-clean-target-winsup:
24476 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24478 maintainer-clean-target-winsup:
24479 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24483 $(NORMAL_TARGET_EXPORTS) \
24484 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24485 for flag in $(EXTRA_TARGET_FLAGS); do \
24486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24488 (cd $(TARGET_SUBDIR)/winsup && \
24489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24491 "RANLIB=$${RANLIB}" \
24492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24493 maintainer-clean) \
24496 @endif target-winsup
24499 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24500 maybe-configure-target-libgloss:
24501 @if target-libgloss
24502 maybe-configure-target-libgloss: configure-target-libgloss
24504 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24505 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24506 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24507 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24508 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24510 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24511 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24512 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24513 r=`${PWD_COMMAND}`; export r; \
24514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24516 $(NORMAL_TARGET_EXPORTS) \
24517 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24518 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24519 case $(srcdir) in \
24520 /* | [A-Za-z]:[\\/]*) \
24521 topdir=$(srcdir) ;; \
24523 case "$(TARGET_SUBDIR)" in \
24524 .) topdir="../$(srcdir)" ;; \
24525 *) topdir="../../$(srcdir)" ;; \
24528 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24529 libsrcdir="$$s/libgloss"; \
24530 rm -f no-such-file || : ; \
24531 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24532 $(TARGET_CONFIGARGS) $${srcdiroption} \
24533 --with-target-subdir="$(TARGET_SUBDIR)" \
24535 @endif target-libgloss
24537 .PHONY: all-target-libgloss maybe-all-target-libgloss
24538 maybe-all-target-libgloss:
24539 @if target-libgloss
24540 maybe-all-target-libgloss: all-target-libgloss
24541 all-target-libgloss: configure-target-libgloss
24542 @r=`${PWD_COMMAND}`; export r; \
24543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24545 $(NORMAL_TARGET_EXPORTS) \
24546 (cd $(TARGET_SUBDIR)/libgloss && \
24547 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24548 @endif target-libgloss
24550 .PHONY: check-target-libgloss maybe-check-target-libgloss
24551 maybe-check-target-libgloss:
24552 @if target-libgloss
24553 maybe-check-target-libgloss: check-target-libgloss
24555 # Dummy target for uncheckable module.
24556 check-target-libgloss:
24558 @endif target-libgloss
24560 .PHONY: install-target-libgloss maybe-install-target-libgloss
24561 maybe-install-target-libgloss:
24562 @if target-libgloss
24563 maybe-install-target-libgloss: install-target-libgloss
24565 install-target-libgloss: installdirs
24566 @r=`${PWD_COMMAND}`; export r; \
24567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24569 $(NORMAL_TARGET_EXPORTS) \
24570 (cd $(TARGET_SUBDIR)/libgloss && \
24571 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24573 @endif target-libgloss
24575 # Other targets (info, dvi, etc.)
24577 .PHONY: maybe-info-target-libgloss info-target-libgloss
24578 maybe-info-target-libgloss:
24579 @if target-libgloss
24580 maybe-info-target-libgloss: info-target-libgloss
24582 info-target-libgloss: \
24583 configure-target-libgloss
24584 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24585 r=`${PWD_COMMAND}`; export r; \
24586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24588 $(NORMAL_TARGET_EXPORTS) \
24589 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24590 for flag in $(EXTRA_TARGET_FLAGS); do \
24591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24593 (cd $(TARGET_SUBDIR)/libgloss && \
24594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24596 "RANLIB=$${RANLIB}" \
24597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24601 @endif target-libgloss
24603 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24604 maybe-dvi-target-libgloss:
24605 @if target-libgloss
24606 maybe-dvi-target-libgloss: dvi-target-libgloss
24608 dvi-target-libgloss: \
24609 configure-target-libgloss
24610 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24611 r=`${PWD_COMMAND}`; export r; \
24612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24614 $(NORMAL_TARGET_EXPORTS) \
24615 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24616 for flag in $(EXTRA_TARGET_FLAGS); do \
24617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24619 (cd $(TARGET_SUBDIR)/libgloss && \
24620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24622 "RANLIB=$${RANLIB}" \
24623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24627 @endif target-libgloss
24629 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24630 maybe-TAGS-target-libgloss:
24631 @if target-libgloss
24632 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24634 TAGS-target-libgloss: \
24635 configure-target-libgloss
24636 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24637 r=`${PWD_COMMAND}`; export r; \
24638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24640 $(NORMAL_TARGET_EXPORTS) \
24641 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24642 for flag in $(EXTRA_TARGET_FLAGS); do \
24643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24645 (cd $(TARGET_SUBDIR)/libgloss && \
24646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24648 "RANLIB=$${RANLIB}" \
24649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24653 @endif target-libgloss
24655 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24656 maybe-install-info-target-libgloss:
24657 @if target-libgloss
24658 maybe-install-info-target-libgloss: install-info-target-libgloss
24660 install-info-target-libgloss: \
24661 configure-target-libgloss \
24662 info-target-libgloss
24663 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24664 r=`${PWD_COMMAND}`; export r; \
24665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24667 $(NORMAL_TARGET_EXPORTS) \
24668 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24669 for flag in $(EXTRA_TARGET_FLAGS); do \
24670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24672 (cd $(TARGET_SUBDIR)/libgloss && \
24673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24675 "RANLIB=$${RANLIB}" \
24676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24680 @endif target-libgloss
24682 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24683 maybe-installcheck-target-libgloss:
24684 @if target-libgloss
24685 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24687 installcheck-target-libgloss: \
24688 configure-target-libgloss
24689 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24690 r=`${PWD_COMMAND}`; export r; \
24691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24693 $(NORMAL_TARGET_EXPORTS) \
24694 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24695 for flag in $(EXTRA_TARGET_FLAGS); do \
24696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24698 (cd $(TARGET_SUBDIR)/libgloss && \
24699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24701 "RANLIB=$${RANLIB}" \
24702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24706 @endif target-libgloss
24708 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24709 maybe-mostlyclean-target-libgloss:
24710 @if target-libgloss
24711 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24713 mostlyclean-target-libgloss:
24714 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24715 r=`${PWD_COMMAND}`; export r; \
24716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24718 $(NORMAL_TARGET_EXPORTS) \
24719 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24720 for flag in $(EXTRA_TARGET_FLAGS); do \
24721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24723 (cd $(TARGET_SUBDIR)/libgloss && \
24724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24726 "RANLIB=$${RANLIB}" \
24727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24731 @endif target-libgloss
24733 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24734 maybe-clean-target-libgloss:
24735 @if target-libgloss
24736 maybe-clean-target-libgloss: clean-target-libgloss
24738 clean-target-libgloss:
24739 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24740 r=`${PWD_COMMAND}`; export r; \
24741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24743 $(NORMAL_TARGET_EXPORTS) \
24744 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24745 for flag in $(EXTRA_TARGET_FLAGS); do \
24746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24748 (cd $(TARGET_SUBDIR)/libgloss && \
24749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24751 "RANLIB=$${RANLIB}" \
24752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24756 @endif target-libgloss
24758 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24759 maybe-distclean-target-libgloss:
24760 @if target-libgloss
24761 maybe-distclean-target-libgloss: distclean-target-libgloss
24763 distclean-target-libgloss:
24764 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24765 r=`${PWD_COMMAND}`; export r; \
24766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24768 $(NORMAL_TARGET_EXPORTS) \
24769 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24770 for flag in $(EXTRA_TARGET_FLAGS); do \
24771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24773 (cd $(TARGET_SUBDIR)/libgloss && \
24774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24776 "RANLIB=$${RANLIB}" \
24777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24781 @endif target-libgloss
24783 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24784 maybe-maintainer-clean-target-libgloss:
24785 @if target-libgloss
24786 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24788 maintainer-clean-target-libgloss:
24789 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24790 r=`${PWD_COMMAND}`; export r; \
24791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24793 $(NORMAL_TARGET_EXPORTS) \
24794 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24795 for flag in $(EXTRA_TARGET_FLAGS); do \
24796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24798 (cd $(TARGET_SUBDIR)/libgloss && \
24799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24801 "RANLIB=$${RANLIB}" \
24802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24803 maintainer-clean) \
24806 @endif target-libgloss
24809 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24810 maybe-configure-target-libiberty:
24811 @if target-libiberty
24812 maybe-configure-target-libiberty: configure-target-libiberty
24814 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24815 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24817 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24818 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24820 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24821 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24823 r=`${PWD_COMMAND}`; export r; \
24824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24826 $(NORMAL_TARGET_EXPORTS) \
24827 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24828 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24829 case $(srcdir) in \
24830 /* | [A-Za-z]:[\\/]*) \
24831 topdir=$(srcdir) ;; \
24833 case "$(TARGET_SUBDIR)" in \
24834 .) topdir="../$(srcdir)" ;; \
24835 *) topdir="../../$(srcdir)" ;; \
24838 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24839 libsrcdir="$$s/libiberty"; \
24840 rm -f no-such-file || : ; \
24841 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24842 $(TARGET_CONFIGARGS) $${srcdiroption} \
24843 --with-target-subdir="$(TARGET_SUBDIR)" \
24845 @endif target-libiberty
24847 .PHONY: all-target-libiberty maybe-all-target-libiberty
24848 maybe-all-target-libiberty:
24849 @if target-libiberty
24850 maybe-all-target-libiberty: all-target-libiberty
24851 all-target-libiberty: configure-target-libiberty
24852 @r=`${PWD_COMMAND}`; export r; \
24853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24855 $(NORMAL_TARGET_EXPORTS) \
24856 (cd $(TARGET_SUBDIR)/libiberty && \
24857 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
24858 @endif target-libiberty
24860 .PHONY: check-target-libiberty maybe-check-target-libiberty
24861 maybe-check-target-libiberty:
24862 @if target-libiberty
24863 maybe-check-target-libiberty: check-target-libiberty
24865 check-target-libiberty:
24866 @r=`${PWD_COMMAND}`; export r; \
24867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24869 $(NORMAL_TARGET_EXPORTS) \
24870 (cd $(TARGET_SUBDIR)/libiberty && \
24871 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24873 @endif target-libiberty
24875 .PHONY: install-target-libiberty maybe-install-target-libiberty
24876 maybe-install-target-libiberty:
24877 @if target-libiberty
24878 maybe-install-target-libiberty: install-target-libiberty
24880 install-target-libiberty: installdirs
24881 @r=`${PWD_COMMAND}`; export r; \
24882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24884 $(NORMAL_TARGET_EXPORTS) \
24885 (cd $(TARGET_SUBDIR)/libiberty && \
24886 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24888 @endif target-libiberty
24890 # Other targets (info, dvi, etc.)
24892 .PHONY: maybe-info-target-libiberty info-target-libiberty
24893 maybe-info-target-libiberty:
24894 @if target-libiberty
24895 maybe-info-target-libiberty: info-target-libiberty
24897 info-target-libiberty: \
24898 configure-target-libiberty
24899 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24900 r=`${PWD_COMMAND}`; export r; \
24901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24903 $(NORMAL_TARGET_EXPORTS) \
24904 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24905 for flag in $(EXTRA_TARGET_FLAGS); do \
24906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24908 (cd $(TARGET_SUBDIR)/libiberty && \
24909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24911 "RANLIB=$${RANLIB}" \
24912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24916 @endif target-libiberty
24918 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24919 maybe-dvi-target-libiberty:
24920 @if target-libiberty
24921 maybe-dvi-target-libiberty: dvi-target-libiberty
24923 dvi-target-libiberty: \
24924 configure-target-libiberty
24925 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24926 r=`${PWD_COMMAND}`; export r; \
24927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24929 $(NORMAL_TARGET_EXPORTS) \
24930 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24931 for flag in $(EXTRA_TARGET_FLAGS); do \
24932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24934 (cd $(TARGET_SUBDIR)/libiberty && \
24935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24937 "RANLIB=$${RANLIB}" \
24938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24942 @endif target-libiberty
24944 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24945 maybe-TAGS-target-libiberty:
24946 @if target-libiberty
24947 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24949 TAGS-target-libiberty: \
24950 configure-target-libiberty
24951 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24952 r=`${PWD_COMMAND}`; export r; \
24953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24955 $(NORMAL_TARGET_EXPORTS) \
24956 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24957 for flag in $(EXTRA_TARGET_FLAGS); do \
24958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24960 (cd $(TARGET_SUBDIR)/libiberty && \
24961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24963 "RANLIB=$${RANLIB}" \
24964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24968 @endif target-libiberty
24970 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24971 maybe-install-info-target-libiberty:
24972 @if target-libiberty
24973 maybe-install-info-target-libiberty: install-info-target-libiberty
24975 install-info-target-libiberty: \
24976 configure-target-libiberty \
24977 info-target-libiberty
24978 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24979 r=`${PWD_COMMAND}`; export r; \
24980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24982 $(NORMAL_TARGET_EXPORTS) \
24983 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24984 for flag in $(EXTRA_TARGET_FLAGS); do \
24985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24987 (cd $(TARGET_SUBDIR)/libiberty && \
24988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24990 "RANLIB=$${RANLIB}" \
24991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24995 @endif target-libiberty
24997 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24998 maybe-installcheck-target-libiberty:
24999 @if target-libiberty
25000 maybe-installcheck-target-libiberty: installcheck-target-libiberty
25002 installcheck-target-libiberty: \
25003 configure-target-libiberty
25004 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25005 r=`${PWD_COMMAND}`; export r; \
25006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(NORMAL_TARGET_EXPORTS) \
25009 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
25010 for flag in $(EXTRA_TARGET_FLAGS); do \
25011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25013 (cd $(TARGET_SUBDIR)/libiberty && \
25014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25016 "RANLIB=$${RANLIB}" \
25017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25021 @endif target-libiberty
25023 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25024 maybe-mostlyclean-target-libiberty:
25025 @if target-libiberty
25026 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25028 mostlyclean-target-libiberty:
25029 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25030 r=`${PWD_COMMAND}`; export r; \
25031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25033 $(NORMAL_TARGET_EXPORTS) \
25034 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25035 for flag in $(EXTRA_TARGET_FLAGS); do \
25036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25038 (cd $(TARGET_SUBDIR)/libiberty && \
25039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25041 "RANLIB=$${RANLIB}" \
25042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25046 @endif target-libiberty
25048 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25049 maybe-clean-target-libiberty:
25050 @if target-libiberty
25051 maybe-clean-target-libiberty: clean-target-libiberty
25053 clean-target-libiberty:
25054 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25055 r=`${PWD_COMMAND}`; export r; \
25056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25058 $(NORMAL_TARGET_EXPORTS) \
25059 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25060 for flag in $(EXTRA_TARGET_FLAGS); do \
25061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25063 (cd $(TARGET_SUBDIR)/libiberty && \
25064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25066 "RANLIB=$${RANLIB}" \
25067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25071 @endif target-libiberty
25073 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25074 maybe-distclean-target-libiberty:
25075 @if target-libiberty
25076 maybe-distclean-target-libiberty: distclean-target-libiberty
25078 distclean-target-libiberty:
25079 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25080 r=`${PWD_COMMAND}`; export r; \
25081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25083 $(NORMAL_TARGET_EXPORTS) \
25084 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25085 for flag in $(EXTRA_TARGET_FLAGS); do \
25086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25088 (cd $(TARGET_SUBDIR)/libiberty && \
25089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25091 "RANLIB=$${RANLIB}" \
25092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25096 @endif target-libiberty
25098 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25099 maybe-maintainer-clean-target-libiberty:
25100 @if target-libiberty
25101 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25103 maintainer-clean-target-libiberty:
25104 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25105 r=`${PWD_COMMAND}`; export r; \
25106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25108 $(NORMAL_TARGET_EXPORTS) \
25109 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25110 for flag in $(EXTRA_TARGET_FLAGS); do \
25111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25113 (cd $(TARGET_SUBDIR)/libiberty && \
25114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25116 "RANLIB=$${RANLIB}" \
25117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25118 maintainer-clean) \
25121 @endif target-libiberty
25124 .PHONY: configure-target-gperf maybe-configure-target-gperf
25125 maybe-configure-target-gperf:
25127 maybe-configure-target-gperf: configure-target-gperf
25129 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25130 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25131 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25132 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25133 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25135 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25136 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25137 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25138 r=`${PWD_COMMAND}`; export r; \
25139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 $(NORMAL_TARGET_EXPORTS) \
25142 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25143 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25144 case $(srcdir) in \
25145 /* | [A-Za-z]:[\\/]*) \
25146 topdir=$(srcdir) ;; \
25148 case "$(TARGET_SUBDIR)" in \
25149 .) topdir="../$(srcdir)" ;; \
25150 *) topdir="../../$(srcdir)" ;; \
25153 srcdiroption="--srcdir=$${topdir}/gperf"; \
25154 libsrcdir="$$s/gperf"; \
25155 rm -f no-such-file || : ; \
25156 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25157 $(TARGET_CONFIGARGS) $${srcdiroption} \
25158 --with-target-subdir="$(TARGET_SUBDIR)" \
25160 @endif target-gperf
25162 .PHONY: all-target-gperf maybe-all-target-gperf
25163 maybe-all-target-gperf:
25165 maybe-all-target-gperf: all-target-gperf
25166 all-target-gperf: configure-target-gperf
25167 @r=`${PWD_COMMAND}`; export r; \
25168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25170 $(NORMAL_TARGET_EXPORTS) \
25171 (cd $(TARGET_SUBDIR)/gperf && \
25172 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25173 @endif target-gperf
25175 .PHONY: check-target-gperf maybe-check-target-gperf
25176 maybe-check-target-gperf:
25178 maybe-check-target-gperf: check-target-gperf
25180 check-target-gperf:
25181 @r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25184 $(NORMAL_TARGET_EXPORTS) \
25185 (cd $(TARGET_SUBDIR)/gperf && \
25186 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25188 @endif target-gperf
25190 .PHONY: install-target-gperf maybe-install-target-gperf
25191 maybe-install-target-gperf:
25193 maybe-install-target-gperf: install-target-gperf
25195 install-target-gperf: installdirs
25196 @r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25199 $(NORMAL_TARGET_EXPORTS) \
25200 (cd $(TARGET_SUBDIR)/gperf && \
25201 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25203 @endif target-gperf
25205 # Other targets (info, dvi, etc.)
25207 .PHONY: maybe-info-target-gperf info-target-gperf
25208 maybe-info-target-gperf:
25210 maybe-info-target-gperf: info-target-gperf
25212 info-target-gperf: \
25213 configure-target-gperf
25214 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25215 r=`${PWD_COMMAND}`; export r; \
25216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25218 $(NORMAL_TARGET_EXPORTS) \
25219 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25220 for flag in $(EXTRA_TARGET_FLAGS); do \
25221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25223 (cd $(TARGET_SUBDIR)/gperf && \
25224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25226 "RANLIB=$${RANLIB}" \
25227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25231 @endif target-gperf
25233 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25234 maybe-dvi-target-gperf:
25236 maybe-dvi-target-gperf: dvi-target-gperf
25238 dvi-target-gperf: \
25239 configure-target-gperf
25240 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25241 r=`${PWD_COMMAND}`; export r; \
25242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25244 $(NORMAL_TARGET_EXPORTS) \
25245 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25246 for flag in $(EXTRA_TARGET_FLAGS); do \
25247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25249 (cd $(TARGET_SUBDIR)/gperf && \
25250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25252 "RANLIB=$${RANLIB}" \
25253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25257 @endif target-gperf
25259 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25260 maybe-TAGS-target-gperf:
25262 maybe-TAGS-target-gperf: TAGS-target-gperf
25264 TAGS-target-gperf: \
25265 configure-target-gperf
25266 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25267 r=`${PWD_COMMAND}`; export r; \
25268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25270 $(NORMAL_TARGET_EXPORTS) \
25271 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25272 for flag in $(EXTRA_TARGET_FLAGS); do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25275 (cd $(TARGET_SUBDIR)/gperf && \
25276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25278 "RANLIB=$${RANLIB}" \
25279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25283 @endif target-gperf
25285 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25286 maybe-install-info-target-gperf:
25288 maybe-install-info-target-gperf: install-info-target-gperf
25290 install-info-target-gperf: \
25291 configure-target-gperf \
25293 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25294 r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25297 $(NORMAL_TARGET_EXPORTS) \
25298 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25299 for flag in $(EXTRA_TARGET_FLAGS); do \
25300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 (cd $(TARGET_SUBDIR)/gperf && \
25303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25305 "RANLIB=$${RANLIB}" \
25306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25310 @endif target-gperf
25312 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25313 maybe-installcheck-target-gperf:
25315 maybe-installcheck-target-gperf: installcheck-target-gperf
25317 installcheck-target-gperf: \
25318 configure-target-gperf
25319 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25320 r=`${PWD_COMMAND}`; export r; \
25321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 $(NORMAL_TARGET_EXPORTS) \
25324 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25325 for flag in $(EXTRA_TARGET_FLAGS); do \
25326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25328 (cd $(TARGET_SUBDIR)/gperf && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25336 @endif target-gperf
25338 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25339 maybe-mostlyclean-target-gperf:
25341 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25343 mostlyclean-target-gperf:
25344 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25345 r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25348 $(NORMAL_TARGET_EXPORTS) \
25349 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25350 for flag in $(EXTRA_TARGET_FLAGS); do \
25351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25353 (cd $(TARGET_SUBDIR)/gperf && \
25354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25356 "RANLIB=$${RANLIB}" \
25357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25361 @endif target-gperf
25363 .PHONY: maybe-clean-target-gperf clean-target-gperf
25364 maybe-clean-target-gperf:
25366 maybe-clean-target-gperf: clean-target-gperf
25368 clean-target-gperf:
25369 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25370 r=`${PWD_COMMAND}`; export r; \
25371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25373 $(NORMAL_TARGET_EXPORTS) \
25374 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25375 for flag in $(EXTRA_TARGET_FLAGS); do \
25376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25378 (cd $(TARGET_SUBDIR)/gperf && \
25379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25381 "RANLIB=$${RANLIB}" \
25382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25386 @endif target-gperf
25388 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25389 maybe-distclean-target-gperf:
25391 maybe-distclean-target-gperf: distclean-target-gperf
25393 distclean-target-gperf:
25394 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25395 r=`${PWD_COMMAND}`; export r; \
25396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25398 $(NORMAL_TARGET_EXPORTS) \
25399 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25400 for flag in $(EXTRA_TARGET_FLAGS); do \
25401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25403 (cd $(TARGET_SUBDIR)/gperf && \
25404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25406 "RANLIB=$${RANLIB}" \
25407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25411 @endif target-gperf
25413 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25414 maybe-maintainer-clean-target-gperf:
25416 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25418 maintainer-clean-target-gperf:
25419 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25420 r=`${PWD_COMMAND}`; export r; \
25421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25423 $(NORMAL_TARGET_EXPORTS) \
25424 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25425 for flag in $(EXTRA_TARGET_FLAGS); do \
25426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25428 (cd $(TARGET_SUBDIR)/gperf && \
25429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25431 "RANLIB=$${RANLIB}" \
25432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25433 maintainer-clean) \
25436 @endif target-gperf
25439 .PHONY: configure-target-examples maybe-configure-target-examples
25440 maybe-configure-target-examples:
25441 @if target-examples
25442 maybe-configure-target-examples: configure-target-examples
25444 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25445 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25446 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25447 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25448 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25450 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25451 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25452 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(NORMAL_TARGET_EXPORTS) \
25457 echo Configuring in $(TARGET_SUBDIR)/examples; \
25458 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25459 case $(srcdir) in \
25460 /* | [A-Za-z]:[\\/]*) \
25461 topdir=$(srcdir) ;; \
25463 case "$(TARGET_SUBDIR)" in \
25464 .) topdir="../$(srcdir)" ;; \
25465 *) topdir="../../$(srcdir)" ;; \
25468 srcdiroption="--srcdir=$${topdir}/examples"; \
25469 libsrcdir="$$s/examples"; \
25470 rm -f no-such-file || : ; \
25471 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25472 $(TARGET_CONFIGARGS) $${srcdiroption} \
25473 --with-target-subdir="$(TARGET_SUBDIR)" \
25475 @endif target-examples
25477 .PHONY: all-target-examples maybe-all-target-examples
25478 maybe-all-target-examples:
25479 @if target-examples
25480 maybe-all-target-examples: all-target-examples
25481 all-target-examples: configure-target-examples
25482 @r=`${PWD_COMMAND}`; export r; \
25483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25485 $(NORMAL_TARGET_EXPORTS) \
25486 (cd $(TARGET_SUBDIR)/examples && \
25487 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25488 @endif target-examples
25490 .PHONY: check-target-examples maybe-check-target-examples
25491 maybe-check-target-examples:
25492 @if target-examples
25493 maybe-check-target-examples: check-target-examples
25495 # Dummy target for uncheckable module.
25496 check-target-examples:
25498 @endif target-examples
25500 .PHONY: install-target-examples maybe-install-target-examples
25501 maybe-install-target-examples:
25502 @if target-examples
25503 maybe-install-target-examples: install-target-examples
25505 # Dummy target for uninstallable.
25506 install-target-examples:
25508 @endif target-examples
25510 # Other targets (info, dvi, etc.)
25512 .PHONY: maybe-info-target-examples info-target-examples
25513 maybe-info-target-examples:
25514 @if target-examples
25515 maybe-info-target-examples: info-target-examples
25517 info-target-examples: \
25518 configure-target-examples
25519 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25520 r=`${PWD_COMMAND}`; export r; \
25521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25523 $(NORMAL_TARGET_EXPORTS) \
25524 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25525 for flag in $(EXTRA_TARGET_FLAGS); do \
25526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25528 (cd $(TARGET_SUBDIR)/examples && \
25529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25531 "RANLIB=$${RANLIB}" \
25532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25536 @endif target-examples
25538 .PHONY: maybe-dvi-target-examples dvi-target-examples
25539 maybe-dvi-target-examples:
25540 @if target-examples
25541 maybe-dvi-target-examples: dvi-target-examples
25543 dvi-target-examples: \
25544 configure-target-examples
25545 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25546 r=`${PWD_COMMAND}`; export r; \
25547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25549 $(NORMAL_TARGET_EXPORTS) \
25550 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25551 for flag in $(EXTRA_TARGET_FLAGS); do \
25552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25554 (cd $(TARGET_SUBDIR)/examples && \
25555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25557 "RANLIB=$${RANLIB}" \
25558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25562 @endif target-examples
25564 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25565 maybe-TAGS-target-examples:
25566 @if target-examples
25567 maybe-TAGS-target-examples: TAGS-target-examples
25569 TAGS-target-examples: \
25570 configure-target-examples
25571 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25572 r=`${PWD_COMMAND}`; export r; \
25573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25575 $(NORMAL_TARGET_EXPORTS) \
25576 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25577 for flag in $(EXTRA_TARGET_FLAGS); do \
25578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25580 (cd $(TARGET_SUBDIR)/examples && \
25581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25583 "RANLIB=$${RANLIB}" \
25584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25588 @endif target-examples
25590 .PHONY: maybe-install-info-target-examples install-info-target-examples
25591 maybe-install-info-target-examples:
25592 @if target-examples
25593 maybe-install-info-target-examples: install-info-target-examples
25595 install-info-target-examples: \
25596 configure-target-examples \
25597 info-target-examples
25598 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25599 r=`${PWD_COMMAND}`; export r; \
25600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25602 $(NORMAL_TARGET_EXPORTS) \
25603 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25604 for flag in $(EXTRA_TARGET_FLAGS); do \
25605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25607 (cd $(TARGET_SUBDIR)/examples && \
25608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25610 "RANLIB=$${RANLIB}" \
25611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25615 @endif target-examples
25617 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25618 maybe-installcheck-target-examples:
25619 @if target-examples
25620 maybe-installcheck-target-examples: installcheck-target-examples
25622 installcheck-target-examples: \
25623 configure-target-examples
25624 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25625 r=`${PWD_COMMAND}`; export r; \
25626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25628 $(NORMAL_TARGET_EXPORTS) \
25629 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25630 for flag in $(EXTRA_TARGET_FLAGS); do \
25631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25633 (cd $(TARGET_SUBDIR)/examples && \
25634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25636 "RANLIB=$${RANLIB}" \
25637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25641 @endif target-examples
25643 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25644 maybe-mostlyclean-target-examples:
25645 @if target-examples
25646 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25648 mostlyclean-target-examples:
25649 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25650 r=`${PWD_COMMAND}`; export r; \
25651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25653 $(NORMAL_TARGET_EXPORTS) \
25654 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25655 for flag in $(EXTRA_TARGET_FLAGS); do \
25656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25658 (cd $(TARGET_SUBDIR)/examples && \
25659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25661 "RANLIB=$${RANLIB}" \
25662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25666 @endif target-examples
25668 .PHONY: maybe-clean-target-examples clean-target-examples
25669 maybe-clean-target-examples:
25670 @if target-examples
25671 maybe-clean-target-examples: clean-target-examples
25673 clean-target-examples:
25674 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25675 r=`${PWD_COMMAND}`; export r; \
25676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25678 $(NORMAL_TARGET_EXPORTS) \
25679 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25680 for flag in $(EXTRA_TARGET_FLAGS); do \
25681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25683 (cd $(TARGET_SUBDIR)/examples && \
25684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25686 "RANLIB=$${RANLIB}" \
25687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25691 @endif target-examples
25693 .PHONY: maybe-distclean-target-examples distclean-target-examples
25694 maybe-distclean-target-examples:
25695 @if target-examples
25696 maybe-distclean-target-examples: distclean-target-examples
25698 distclean-target-examples:
25699 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25700 r=`${PWD_COMMAND}`; export r; \
25701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25703 $(NORMAL_TARGET_EXPORTS) \
25704 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25705 for flag in $(EXTRA_TARGET_FLAGS); do \
25706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25708 (cd $(TARGET_SUBDIR)/examples && \
25709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25711 "RANLIB=$${RANLIB}" \
25712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25716 @endif target-examples
25718 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25719 maybe-maintainer-clean-target-examples:
25720 @if target-examples
25721 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25723 maintainer-clean-target-examples:
25724 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25725 r=`${PWD_COMMAND}`; export r; \
25726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25728 $(NORMAL_TARGET_EXPORTS) \
25729 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25730 for flag in $(EXTRA_TARGET_FLAGS); do \
25731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25733 (cd $(TARGET_SUBDIR)/examples && \
25734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25736 "RANLIB=$${RANLIB}" \
25737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25738 maintainer-clean) \
25741 @endif target-examples
25744 .PHONY: configure-target-libffi maybe-configure-target-libffi
25745 maybe-configure-target-libffi:
25747 maybe-configure-target-libffi: configure-target-libffi
25749 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25750 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25751 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25752 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25753 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25755 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25756 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25757 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25758 r=`${PWD_COMMAND}`; export r; \
25759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25761 $(NORMAL_TARGET_EXPORTS) \
25762 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25763 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25764 case $(srcdir) in \
25765 /* | [A-Za-z]:[\\/]*) \
25766 topdir=$(srcdir) ;; \
25768 case "$(TARGET_SUBDIR)" in \
25769 .) topdir="../$(srcdir)" ;; \
25770 *) topdir="../../$(srcdir)" ;; \
25773 srcdiroption="--srcdir=$${topdir}/libffi"; \
25774 libsrcdir="$$s/libffi"; \
25775 rm -f no-such-file || : ; \
25776 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25777 $(TARGET_CONFIGARGS) $${srcdiroption} \
25778 --with-target-subdir="$(TARGET_SUBDIR)" \
25780 @endif target-libffi
25782 .PHONY: all-target-libffi maybe-all-target-libffi
25783 maybe-all-target-libffi:
25785 maybe-all-target-libffi: all-target-libffi
25786 all-target-libffi: configure-target-libffi
25787 @r=`${PWD_COMMAND}`; export r; \
25788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(NORMAL_TARGET_EXPORTS) \
25791 (cd $(TARGET_SUBDIR)/libffi && \
25792 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
25793 @endif target-libffi
25795 .PHONY: check-target-libffi maybe-check-target-libffi
25796 maybe-check-target-libffi:
25798 maybe-check-target-libffi: check-target-libffi
25800 check-target-libffi:
25801 @r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25804 $(NORMAL_TARGET_EXPORTS) \
25805 (cd $(TARGET_SUBDIR)/libffi && \
25806 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25808 @endif target-libffi
25810 .PHONY: install-target-libffi maybe-install-target-libffi
25811 maybe-install-target-libffi:
25813 maybe-install-target-libffi: install-target-libffi
25815 install-target-libffi: installdirs
25816 @r=`${PWD_COMMAND}`; export r; \
25817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(NORMAL_TARGET_EXPORTS) \
25820 (cd $(TARGET_SUBDIR)/libffi && \
25821 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25823 @endif target-libffi
25825 # Other targets (info, dvi, etc.)
25827 .PHONY: maybe-info-target-libffi info-target-libffi
25828 maybe-info-target-libffi:
25830 maybe-info-target-libffi: info-target-libffi
25832 info-target-libffi: \
25833 configure-target-libffi
25834 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25835 r=`${PWD_COMMAND}`; export r; \
25836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25838 $(NORMAL_TARGET_EXPORTS) \
25839 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25840 for flag in $(EXTRA_TARGET_FLAGS); do \
25841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25843 (cd $(TARGET_SUBDIR)/libffi && \
25844 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25845 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25846 "RANLIB=$${RANLIB}" \
25847 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 @endif target-libffi
25853 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25854 maybe-dvi-target-libffi:
25856 maybe-dvi-target-libffi: dvi-target-libffi
25858 dvi-target-libffi: \
25859 configure-target-libffi
25860 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25861 r=`${PWD_COMMAND}`; export r; \
25862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25864 $(NORMAL_TARGET_EXPORTS) \
25865 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25866 for flag in $(EXTRA_TARGET_FLAGS); do \
25867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 (cd $(TARGET_SUBDIR)/libffi && \
25870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25872 "RANLIB=$${RANLIB}" \
25873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25877 @endif target-libffi
25879 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25880 maybe-TAGS-target-libffi:
25882 maybe-TAGS-target-libffi: TAGS-target-libffi
25884 TAGS-target-libffi: \
25885 configure-target-libffi
25886 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25890 $(NORMAL_TARGET_EXPORTS) \
25891 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25892 for flag in $(EXTRA_TARGET_FLAGS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25895 (cd $(TARGET_SUBDIR)/libffi && \
25896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25898 "RANLIB=$${RANLIB}" \
25899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25903 @endif target-libffi
25905 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25906 maybe-install-info-target-libffi:
25908 maybe-install-info-target-libffi: install-info-target-libffi
25910 install-info-target-libffi: \
25911 configure-target-libffi \
25913 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25914 r=`${PWD_COMMAND}`; export r; \
25915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25917 $(NORMAL_TARGET_EXPORTS) \
25918 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25919 for flag in $(EXTRA_TARGET_FLAGS); do \
25920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25922 (cd $(TARGET_SUBDIR)/libffi && \
25923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25925 "RANLIB=$${RANLIB}" \
25926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25930 @endif target-libffi
25932 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25933 maybe-installcheck-target-libffi:
25935 maybe-installcheck-target-libffi: installcheck-target-libffi
25937 installcheck-target-libffi: \
25938 configure-target-libffi
25939 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25940 r=`${PWD_COMMAND}`; export r; \
25941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25943 $(NORMAL_TARGET_EXPORTS) \
25944 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25945 for flag in $(EXTRA_TARGET_FLAGS); do \
25946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 (cd $(TARGET_SUBDIR)/libffi && \
25949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25951 "RANLIB=$${RANLIB}" \
25952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25956 @endif target-libffi
25958 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25959 maybe-mostlyclean-target-libffi:
25961 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25963 mostlyclean-target-libffi:
25964 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25965 r=`${PWD_COMMAND}`; export r; \
25966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25968 $(NORMAL_TARGET_EXPORTS) \
25969 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25970 for flag in $(EXTRA_TARGET_FLAGS); do \
25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25973 (cd $(TARGET_SUBDIR)/libffi && \
25974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25976 "RANLIB=$${RANLIB}" \
25977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25981 @endif target-libffi
25983 .PHONY: maybe-clean-target-libffi clean-target-libffi
25984 maybe-clean-target-libffi:
25986 maybe-clean-target-libffi: clean-target-libffi
25988 clean-target-libffi:
25989 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25990 r=`${PWD_COMMAND}`; export r; \
25991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993 $(NORMAL_TARGET_EXPORTS) \
25994 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25995 for flag in $(EXTRA_TARGET_FLAGS); do \
25996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25998 (cd $(TARGET_SUBDIR)/libffi && \
25999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26001 "RANLIB=$${RANLIB}" \
26002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26006 @endif target-libffi
26008 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
26009 maybe-distclean-target-libffi:
26011 maybe-distclean-target-libffi: distclean-target-libffi
26013 distclean-target-libffi:
26014 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26015 r=`${PWD_COMMAND}`; export r; \
26016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26018 $(NORMAL_TARGET_EXPORTS) \
26019 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26020 for flag in $(EXTRA_TARGET_FLAGS); do \
26021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26023 (cd $(TARGET_SUBDIR)/libffi && \
26024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26026 "RANLIB=$${RANLIB}" \
26027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26031 @endif target-libffi
26033 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26034 maybe-maintainer-clean-target-libffi:
26036 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26038 maintainer-clean-target-libffi:
26039 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26040 r=`${PWD_COMMAND}`; export r; \
26041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26043 $(NORMAL_TARGET_EXPORTS) \
26044 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26045 for flag in $(EXTRA_TARGET_FLAGS); do \
26046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26048 (cd $(TARGET_SUBDIR)/libffi && \
26049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26051 "RANLIB=$${RANLIB}" \
26052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26053 maintainer-clean) \
26056 @endif target-libffi
26059 .PHONY: configure-target-libjava maybe-configure-target-libjava
26060 maybe-configure-target-libjava:
26062 maybe-configure-target-libjava: configure-target-libjava
26064 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26065 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26066 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26067 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26068 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26070 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26071 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26072 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26073 r=`${PWD_COMMAND}`; export r; \
26074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26076 $(RAW_CXX_TARGET_EXPORTS) \
26077 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26078 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26079 case $(srcdir) in \
26080 /* | [A-Za-z]:[\\/]*) \
26081 topdir=$(srcdir) ;; \
26083 case "$(TARGET_SUBDIR)" in \
26084 .) topdir="../$(srcdir)" ;; \
26085 *) topdir="../../$(srcdir)" ;; \
26088 srcdiroption="--srcdir=$${topdir}/libjava"; \
26089 libsrcdir="$$s/libjava"; \
26090 rm -f no-such-file || : ; \
26091 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26092 $(TARGET_CONFIGARGS) $${srcdiroption} \
26093 --with-target-subdir="$(TARGET_SUBDIR)" \
26095 @endif target-libjava
26097 .PHONY: all-target-libjava maybe-all-target-libjava
26098 maybe-all-target-libjava:
26100 maybe-all-target-libjava: all-target-libjava
26101 all-target-libjava: configure-target-libjava
26102 @r=`${PWD_COMMAND}`; export r; \
26103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(RAW_CXX_TARGET_EXPORTS) \
26106 (cd $(TARGET_SUBDIR)/libjava && \
26107 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' all)
26108 @endif target-libjava
26110 .PHONY: check-target-libjava maybe-check-target-libjava
26111 maybe-check-target-libjava:
26113 maybe-check-target-libjava: check-target-libjava
26115 check-target-libjava:
26116 @r=`${PWD_COMMAND}`; export r; \
26117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26119 $(RAW_CXX_TARGET_EXPORTS) \
26120 (cd $(TARGET_SUBDIR)/libjava && \
26121 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26123 @endif target-libjava
26125 .PHONY: install-target-libjava maybe-install-target-libjava
26126 maybe-install-target-libjava:
26128 maybe-install-target-libjava: install-target-libjava
26130 install-target-libjava: installdirs
26131 @r=`${PWD_COMMAND}`; export r; \
26132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26134 $(RAW_CXX_TARGET_EXPORTS) \
26135 (cd $(TARGET_SUBDIR)/libjava && \
26136 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26138 @endif target-libjava
26140 # Other targets (info, dvi, etc.)
26142 .PHONY: maybe-info-target-libjava info-target-libjava
26143 maybe-info-target-libjava:
26145 maybe-info-target-libjava: info-target-libjava
26147 info-target-libjava: \
26148 configure-target-libjava
26149 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26150 r=`${PWD_COMMAND}`; export r; \
26151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26153 $(RAW_CXX_TARGET_EXPORTS) \
26154 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26155 for flag in $(EXTRA_TARGET_FLAGS); do \
26156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26158 (cd $(TARGET_SUBDIR)/libjava && \
26159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26161 "RANLIB=$${RANLIB}" \
26162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26166 @endif target-libjava
26168 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26169 maybe-dvi-target-libjava:
26171 maybe-dvi-target-libjava: dvi-target-libjava
26173 dvi-target-libjava: \
26174 configure-target-libjava
26175 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26176 r=`${PWD_COMMAND}`; export r; \
26177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26179 $(RAW_CXX_TARGET_EXPORTS) \
26180 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26181 for flag in $(EXTRA_TARGET_FLAGS); do \
26182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26184 (cd $(TARGET_SUBDIR)/libjava && \
26185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26187 "RANLIB=$${RANLIB}" \
26188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26192 @endif target-libjava
26194 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26195 maybe-TAGS-target-libjava:
26197 maybe-TAGS-target-libjava: TAGS-target-libjava
26199 TAGS-target-libjava: \
26200 configure-target-libjava
26201 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26202 r=`${PWD_COMMAND}`; export r; \
26203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26205 $(RAW_CXX_TARGET_EXPORTS) \
26206 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26207 for flag in $(EXTRA_TARGET_FLAGS); do \
26208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26210 (cd $(TARGET_SUBDIR)/libjava && \
26211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26213 "RANLIB=$${RANLIB}" \
26214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26218 @endif target-libjava
26220 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26221 maybe-install-info-target-libjava:
26223 maybe-install-info-target-libjava: install-info-target-libjava
26225 install-info-target-libjava: \
26226 configure-target-libjava \
26227 info-target-libjava
26228 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26229 r=`${PWD_COMMAND}`; export r; \
26230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26232 $(RAW_CXX_TARGET_EXPORTS) \
26233 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26234 for flag in $(EXTRA_TARGET_FLAGS); do \
26235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26237 (cd $(TARGET_SUBDIR)/libjava && \
26238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26240 "RANLIB=$${RANLIB}" \
26241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26245 @endif target-libjava
26247 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26248 maybe-installcheck-target-libjava:
26250 maybe-installcheck-target-libjava: installcheck-target-libjava
26252 installcheck-target-libjava: \
26253 configure-target-libjava
26254 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26258 $(RAW_CXX_TARGET_EXPORTS) \
26259 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26260 for flag in $(EXTRA_TARGET_FLAGS); do \
26261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26263 (cd $(TARGET_SUBDIR)/libjava && \
26264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26266 "RANLIB=$${RANLIB}" \
26267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26271 @endif target-libjava
26273 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26274 maybe-mostlyclean-target-libjava:
26276 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26278 mostlyclean-target-libjava:
26279 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26280 r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26283 $(RAW_CXX_TARGET_EXPORTS) \
26284 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26285 for flag in $(EXTRA_TARGET_FLAGS); do \
26286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26288 (cd $(TARGET_SUBDIR)/libjava && \
26289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26291 "RANLIB=$${RANLIB}" \
26292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26296 @endif target-libjava
26298 .PHONY: maybe-clean-target-libjava clean-target-libjava
26299 maybe-clean-target-libjava:
26301 maybe-clean-target-libjava: clean-target-libjava
26303 clean-target-libjava:
26304 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26305 r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26308 $(RAW_CXX_TARGET_EXPORTS) \
26309 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26310 for flag in $(EXTRA_TARGET_FLAGS); do \
26311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26313 (cd $(TARGET_SUBDIR)/libjava && \
26314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26316 "RANLIB=$${RANLIB}" \
26317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26321 @endif target-libjava
26323 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26324 maybe-distclean-target-libjava:
26326 maybe-distclean-target-libjava: distclean-target-libjava
26328 distclean-target-libjava:
26329 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26333 $(RAW_CXX_TARGET_EXPORTS) \
26334 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26335 for flag in $(EXTRA_TARGET_FLAGS); do \
26336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26338 (cd $(TARGET_SUBDIR)/libjava && \
26339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26341 "RANLIB=$${RANLIB}" \
26342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26346 @endif target-libjava
26348 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26349 maybe-maintainer-clean-target-libjava:
26351 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26353 maintainer-clean-target-libjava:
26354 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26355 r=`${PWD_COMMAND}`; export r; \
26356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26358 $(RAW_CXX_TARGET_EXPORTS) \
26359 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26360 for flag in $(EXTRA_TARGET_FLAGS); do \
26361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26363 (cd $(TARGET_SUBDIR)/libjava && \
26364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26366 "RANLIB=$${RANLIB}" \
26367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26368 maintainer-clean) \
26371 @endif target-libjava
26374 .PHONY: configure-target-zlib maybe-configure-target-zlib
26375 maybe-configure-target-zlib:
26377 maybe-configure-target-zlib: configure-target-zlib
26379 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26380 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26381 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26382 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26383 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26385 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26386 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26387 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26391 $(NORMAL_TARGET_EXPORTS) \
26392 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26393 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26394 case $(srcdir) in \
26395 /* | [A-Za-z]:[\\/]*) \
26396 topdir=$(srcdir) ;; \
26398 case "$(TARGET_SUBDIR)" in \
26399 .) topdir="../$(srcdir)" ;; \
26400 *) topdir="../../$(srcdir)" ;; \
26403 if [ "$(srcdir)" = "." ] ; then \
26404 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26405 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26406 if [ -f Makefile ]; then \
26407 if $(MAKE) distclean; then \
26421 srcdiroption="--srcdir=."; \
26424 srcdiroption="--srcdir=$${topdir}/zlib"; \
26425 libsrcdir="$$s/zlib"; \
26427 rm -f no-such-file || : ; \
26428 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26429 $(TARGET_CONFIGARGS) $${srcdiroption} \
26430 --with-target-subdir="$(TARGET_SUBDIR)" \
26434 .PHONY: all-target-zlib maybe-all-target-zlib
26435 maybe-all-target-zlib:
26437 maybe-all-target-zlib: all-target-zlib
26438 all-target-zlib: configure-target-zlib
26439 @r=`${PWD_COMMAND}`; export r; \
26440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26442 $(NORMAL_TARGET_EXPORTS) \
26443 (cd $(TARGET_SUBDIR)/zlib && \
26444 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26447 .PHONY: check-target-zlib maybe-check-target-zlib
26448 maybe-check-target-zlib:
26450 maybe-check-target-zlib: check-target-zlib
26453 @r=`${PWD_COMMAND}`; export r; \
26454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26456 $(NORMAL_TARGET_EXPORTS) \
26457 (cd $(TARGET_SUBDIR)/zlib && \
26458 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26462 .PHONY: install-target-zlib maybe-install-target-zlib
26463 maybe-install-target-zlib:
26465 maybe-install-target-zlib: install-target-zlib
26467 install-target-zlib: installdirs
26468 @r=`${PWD_COMMAND}`; export r; \
26469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26471 $(NORMAL_TARGET_EXPORTS) \
26472 (cd $(TARGET_SUBDIR)/zlib && \
26473 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26477 # Other targets (info, dvi, etc.)
26479 .PHONY: maybe-info-target-zlib info-target-zlib
26480 maybe-info-target-zlib:
26482 maybe-info-target-zlib: info-target-zlib
26484 info-target-zlib: \
26485 configure-target-zlib
26486 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26487 r=`${PWD_COMMAND}`; export r; \
26488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26490 $(NORMAL_TARGET_EXPORTS) \
26491 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26492 for flag in $(EXTRA_TARGET_FLAGS); do \
26493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26495 (cd $(TARGET_SUBDIR)/zlib && \
26496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26498 "RANLIB=$${RANLIB}" \
26499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26505 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26506 maybe-dvi-target-zlib:
26508 maybe-dvi-target-zlib: dvi-target-zlib
26511 configure-target-zlib
26512 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26513 r=`${PWD_COMMAND}`; export r; \
26514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26516 $(NORMAL_TARGET_EXPORTS) \
26517 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26518 for flag in $(EXTRA_TARGET_FLAGS); do \
26519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26521 (cd $(TARGET_SUBDIR)/zlib && \
26522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26524 "RANLIB=$${RANLIB}" \
26525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26531 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26532 maybe-TAGS-target-zlib:
26534 maybe-TAGS-target-zlib: TAGS-target-zlib
26536 TAGS-target-zlib: \
26537 configure-target-zlib
26538 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26539 r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26542 $(NORMAL_TARGET_EXPORTS) \
26543 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26544 for flag in $(EXTRA_TARGET_FLAGS); do \
26545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26547 (cd $(TARGET_SUBDIR)/zlib && \
26548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26550 "RANLIB=$${RANLIB}" \
26551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26557 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26558 maybe-install-info-target-zlib:
26560 maybe-install-info-target-zlib: install-info-target-zlib
26562 install-info-target-zlib: \
26563 configure-target-zlib \
26565 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26566 r=`${PWD_COMMAND}`; export r; \
26567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26569 $(NORMAL_TARGET_EXPORTS) \
26570 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26571 for flag in $(EXTRA_TARGET_FLAGS); do \
26572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26574 (cd $(TARGET_SUBDIR)/zlib && \
26575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26577 "RANLIB=$${RANLIB}" \
26578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26584 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26585 maybe-installcheck-target-zlib:
26587 maybe-installcheck-target-zlib: installcheck-target-zlib
26589 installcheck-target-zlib: \
26590 configure-target-zlib
26591 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26592 r=`${PWD_COMMAND}`; export r; \
26593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26595 $(NORMAL_TARGET_EXPORTS) \
26596 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26597 for flag in $(EXTRA_TARGET_FLAGS); do \
26598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26600 (cd $(TARGET_SUBDIR)/zlib && \
26601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26603 "RANLIB=$${RANLIB}" \
26604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26610 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26611 maybe-mostlyclean-target-zlib:
26613 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26615 mostlyclean-target-zlib:
26616 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26617 r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26620 $(NORMAL_TARGET_EXPORTS) \
26621 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26622 for flag in $(EXTRA_TARGET_FLAGS); do \
26623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26625 (cd $(TARGET_SUBDIR)/zlib && \
26626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26628 "RANLIB=$${RANLIB}" \
26629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26635 .PHONY: maybe-clean-target-zlib clean-target-zlib
26636 maybe-clean-target-zlib:
26638 maybe-clean-target-zlib: clean-target-zlib
26641 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26642 r=`${PWD_COMMAND}`; export r; \
26643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26645 $(NORMAL_TARGET_EXPORTS) \
26646 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26647 for flag in $(EXTRA_TARGET_FLAGS); do \
26648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26650 (cd $(TARGET_SUBDIR)/zlib && \
26651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26653 "RANLIB=$${RANLIB}" \
26654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26660 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26661 maybe-distclean-target-zlib:
26663 maybe-distclean-target-zlib: distclean-target-zlib
26665 distclean-target-zlib:
26666 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26667 r=`${PWD_COMMAND}`; export r; \
26668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26670 $(NORMAL_TARGET_EXPORTS) \
26671 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26672 for flag in $(EXTRA_TARGET_FLAGS); do \
26673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26675 (cd $(TARGET_SUBDIR)/zlib && \
26676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26678 "RANLIB=$${RANLIB}" \
26679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26685 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26686 maybe-maintainer-clean-target-zlib:
26688 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26690 maintainer-clean-target-zlib:
26691 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26692 r=`${PWD_COMMAND}`; export r; \
26693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26695 $(NORMAL_TARGET_EXPORTS) \
26696 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26697 for flag in $(EXTRA_TARGET_FLAGS); do \
26698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26700 (cd $(TARGET_SUBDIR)/zlib && \
26701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26703 "RANLIB=$${RANLIB}" \
26704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26705 maintainer-clean) \
26711 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26712 maybe-configure-target-boehm-gc:
26713 @if target-boehm-gc
26714 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26716 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26717 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26718 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26719 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26720 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26722 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26723 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26724 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26725 r=`${PWD_COMMAND}`; export r; \
26726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26728 $(NORMAL_TARGET_EXPORTS) \
26729 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26730 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26731 case $(srcdir) in \
26732 /* | [A-Za-z]:[\\/]*) \
26733 topdir=$(srcdir) ;; \
26735 case "$(TARGET_SUBDIR)" in \
26736 .) topdir="../$(srcdir)" ;; \
26737 *) topdir="../../$(srcdir)" ;; \
26740 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26741 libsrcdir="$$s/boehm-gc"; \
26742 rm -f no-such-file || : ; \
26743 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26744 $(TARGET_CONFIGARGS) $${srcdiroption} \
26745 --with-target-subdir="$(TARGET_SUBDIR)" \
26747 @endif target-boehm-gc
26749 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26750 maybe-all-target-boehm-gc:
26751 @if target-boehm-gc
26752 maybe-all-target-boehm-gc: all-target-boehm-gc
26753 all-target-boehm-gc: configure-target-boehm-gc
26754 @r=`${PWD_COMMAND}`; export r; \
26755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(NORMAL_TARGET_EXPORTS) \
26758 (cd $(TARGET_SUBDIR)/boehm-gc && \
26759 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
26760 @endif target-boehm-gc
26762 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26763 maybe-check-target-boehm-gc:
26764 @if target-boehm-gc
26765 maybe-check-target-boehm-gc: check-target-boehm-gc
26767 check-target-boehm-gc:
26768 @r=`${PWD_COMMAND}`; export r; \
26769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26771 $(NORMAL_TARGET_EXPORTS) \
26772 (cd $(TARGET_SUBDIR)/boehm-gc && \
26773 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26775 @endif target-boehm-gc
26777 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26778 maybe-install-target-boehm-gc:
26779 @if target-boehm-gc
26780 maybe-install-target-boehm-gc: install-target-boehm-gc
26782 install-target-boehm-gc: installdirs
26783 @r=`${PWD_COMMAND}`; export r; \
26784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26786 $(NORMAL_TARGET_EXPORTS) \
26787 (cd $(TARGET_SUBDIR)/boehm-gc && \
26788 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26790 @endif target-boehm-gc
26792 # Other targets (info, dvi, etc.)
26794 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26795 maybe-info-target-boehm-gc:
26796 @if target-boehm-gc
26797 maybe-info-target-boehm-gc: info-target-boehm-gc
26799 info-target-boehm-gc: \
26800 configure-target-boehm-gc
26801 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26802 r=`${PWD_COMMAND}`; export r; \
26803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26805 $(NORMAL_TARGET_EXPORTS) \
26806 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26807 for flag in $(EXTRA_TARGET_FLAGS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26810 (cd $(TARGET_SUBDIR)/boehm-gc && \
26811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26813 "RANLIB=$${RANLIB}" \
26814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26818 @endif target-boehm-gc
26820 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26821 maybe-dvi-target-boehm-gc:
26822 @if target-boehm-gc
26823 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26825 dvi-target-boehm-gc: \
26826 configure-target-boehm-gc
26827 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26828 r=`${PWD_COMMAND}`; export r; \
26829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26831 $(NORMAL_TARGET_EXPORTS) \
26832 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26833 for flag in $(EXTRA_TARGET_FLAGS); do \
26834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26836 (cd $(TARGET_SUBDIR)/boehm-gc && \
26837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26839 "RANLIB=$${RANLIB}" \
26840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26844 @endif target-boehm-gc
26846 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26847 maybe-TAGS-target-boehm-gc:
26848 @if target-boehm-gc
26849 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26851 TAGS-target-boehm-gc: \
26852 configure-target-boehm-gc
26853 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26854 r=`${PWD_COMMAND}`; export r; \
26855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26857 $(NORMAL_TARGET_EXPORTS) \
26858 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26859 for flag in $(EXTRA_TARGET_FLAGS); do \
26860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26862 (cd $(TARGET_SUBDIR)/boehm-gc && \
26863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26865 "RANLIB=$${RANLIB}" \
26866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26870 @endif target-boehm-gc
26872 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26873 maybe-install-info-target-boehm-gc:
26874 @if target-boehm-gc
26875 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26877 install-info-target-boehm-gc: \
26878 configure-target-boehm-gc \
26879 info-target-boehm-gc
26880 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26881 r=`${PWD_COMMAND}`; export r; \
26882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26884 $(NORMAL_TARGET_EXPORTS) \
26885 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26886 for flag in $(EXTRA_TARGET_FLAGS); do \
26887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26889 (cd $(TARGET_SUBDIR)/boehm-gc && \
26890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26892 "RANLIB=$${RANLIB}" \
26893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26897 @endif target-boehm-gc
26899 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26900 maybe-installcheck-target-boehm-gc:
26901 @if target-boehm-gc
26902 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26904 installcheck-target-boehm-gc: \
26905 configure-target-boehm-gc
26906 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26907 r=`${PWD_COMMAND}`; export r; \
26908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26910 $(NORMAL_TARGET_EXPORTS) \
26911 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26912 for flag in $(EXTRA_TARGET_FLAGS); do \
26913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26915 (cd $(TARGET_SUBDIR)/boehm-gc && \
26916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26918 "RANLIB=$${RANLIB}" \
26919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26923 @endif target-boehm-gc
26925 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26926 maybe-mostlyclean-target-boehm-gc:
26927 @if target-boehm-gc
26928 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26930 mostlyclean-target-boehm-gc:
26931 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26932 r=`${PWD_COMMAND}`; export r; \
26933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26935 $(NORMAL_TARGET_EXPORTS) \
26936 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26937 for flag in $(EXTRA_TARGET_FLAGS); do \
26938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26940 (cd $(TARGET_SUBDIR)/boehm-gc && \
26941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26943 "RANLIB=$${RANLIB}" \
26944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26948 @endif target-boehm-gc
26950 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26951 maybe-clean-target-boehm-gc:
26952 @if target-boehm-gc
26953 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26955 clean-target-boehm-gc:
26956 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26957 r=`${PWD_COMMAND}`; export r; \
26958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26960 $(NORMAL_TARGET_EXPORTS) \
26961 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26962 for flag in $(EXTRA_TARGET_FLAGS); do \
26963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26965 (cd $(TARGET_SUBDIR)/boehm-gc && \
26966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26968 "RANLIB=$${RANLIB}" \
26969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26973 @endif target-boehm-gc
26975 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26976 maybe-distclean-target-boehm-gc:
26977 @if target-boehm-gc
26978 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26980 distclean-target-boehm-gc:
26981 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26982 r=`${PWD_COMMAND}`; export r; \
26983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26985 $(NORMAL_TARGET_EXPORTS) \
26986 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26987 for flag in $(EXTRA_TARGET_FLAGS); do \
26988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26990 (cd $(TARGET_SUBDIR)/boehm-gc && \
26991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26993 "RANLIB=$${RANLIB}" \
26994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26998 @endif target-boehm-gc
27000 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
27001 maybe-maintainer-clean-target-boehm-gc:
27002 @if target-boehm-gc
27003 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
27005 maintainer-clean-target-boehm-gc:
27006 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
27007 r=`${PWD_COMMAND}`; export r; \
27008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(NORMAL_TARGET_EXPORTS) \
27011 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27012 for flag in $(EXTRA_TARGET_FLAGS); do \
27013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27015 (cd $(TARGET_SUBDIR)/boehm-gc && \
27016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27018 "RANLIB=$${RANLIB}" \
27019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27020 maintainer-clean) \
27023 @endif target-boehm-gc
27026 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27027 maybe-configure-target-qthreads:
27028 @if target-qthreads
27029 maybe-configure-target-qthreads: configure-target-qthreads
27031 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27032 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27033 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27034 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27035 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27037 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27038 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27039 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27040 r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27043 $(NORMAL_TARGET_EXPORTS) \
27044 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27045 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27046 case $(srcdir) in \
27047 /* | [A-Za-z]:[\\/]*) \
27048 topdir=$(srcdir) ;; \
27050 case "$(TARGET_SUBDIR)" in \
27051 .) topdir="../$(srcdir)" ;; \
27052 *) topdir="../../$(srcdir)" ;; \
27055 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27056 libsrcdir="$$s/qthreads"; \
27057 rm -f no-such-file || : ; \
27058 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27059 $(TARGET_CONFIGARGS) $${srcdiroption} \
27060 --with-target-subdir="$(TARGET_SUBDIR)" \
27062 @endif target-qthreads
27064 .PHONY: all-target-qthreads maybe-all-target-qthreads
27065 maybe-all-target-qthreads:
27066 @if target-qthreads
27067 maybe-all-target-qthreads: all-target-qthreads
27068 all-target-qthreads: configure-target-qthreads
27069 @r=`${PWD_COMMAND}`; export r; \
27070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27072 $(NORMAL_TARGET_EXPORTS) \
27073 (cd $(TARGET_SUBDIR)/qthreads && \
27074 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27075 @endif target-qthreads
27077 .PHONY: check-target-qthreads maybe-check-target-qthreads
27078 maybe-check-target-qthreads:
27079 @if target-qthreads
27080 maybe-check-target-qthreads: check-target-qthreads
27082 check-target-qthreads:
27083 @r=`${PWD_COMMAND}`; export r; \
27084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27086 $(NORMAL_TARGET_EXPORTS) \
27087 (cd $(TARGET_SUBDIR)/qthreads && \
27088 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27090 @endif target-qthreads
27092 .PHONY: install-target-qthreads maybe-install-target-qthreads
27093 maybe-install-target-qthreads:
27094 @if target-qthreads
27095 maybe-install-target-qthreads: install-target-qthreads
27097 install-target-qthreads: installdirs
27098 @r=`${PWD_COMMAND}`; export r; \
27099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27101 $(NORMAL_TARGET_EXPORTS) \
27102 (cd $(TARGET_SUBDIR)/qthreads && \
27103 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27105 @endif target-qthreads
27107 # Other targets (info, dvi, etc.)
27109 .PHONY: maybe-info-target-qthreads info-target-qthreads
27110 maybe-info-target-qthreads:
27111 @if target-qthreads
27112 maybe-info-target-qthreads: info-target-qthreads
27114 info-target-qthreads: \
27115 configure-target-qthreads
27116 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27117 r=`${PWD_COMMAND}`; export r; \
27118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27120 $(NORMAL_TARGET_EXPORTS) \
27121 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27122 for flag in $(EXTRA_TARGET_FLAGS); do \
27123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27125 (cd $(TARGET_SUBDIR)/qthreads && \
27126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27128 "RANLIB=$${RANLIB}" \
27129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27133 @endif target-qthreads
27135 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27136 maybe-dvi-target-qthreads:
27137 @if target-qthreads
27138 maybe-dvi-target-qthreads: dvi-target-qthreads
27140 dvi-target-qthreads: \
27141 configure-target-qthreads
27142 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27143 r=`${PWD_COMMAND}`; export r; \
27144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27146 $(NORMAL_TARGET_EXPORTS) \
27147 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27148 for flag in $(EXTRA_TARGET_FLAGS); do \
27149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27151 (cd $(TARGET_SUBDIR)/qthreads && \
27152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27154 "RANLIB=$${RANLIB}" \
27155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27159 @endif target-qthreads
27161 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27162 maybe-TAGS-target-qthreads:
27163 @if target-qthreads
27164 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27166 TAGS-target-qthreads: \
27167 configure-target-qthreads
27168 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27172 $(NORMAL_TARGET_EXPORTS) \
27173 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27174 for flag in $(EXTRA_TARGET_FLAGS); do \
27175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27177 (cd $(TARGET_SUBDIR)/qthreads && \
27178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27180 "RANLIB=$${RANLIB}" \
27181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27185 @endif target-qthreads
27187 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27188 maybe-install-info-target-qthreads:
27189 @if target-qthreads
27190 maybe-install-info-target-qthreads: install-info-target-qthreads
27192 install-info-target-qthreads: \
27193 configure-target-qthreads \
27194 info-target-qthreads
27195 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27196 r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27199 $(NORMAL_TARGET_EXPORTS) \
27200 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27201 for flag in $(EXTRA_TARGET_FLAGS); do \
27202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27204 (cd $(TARGET_SUBDIR)/qthreads && \
27205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27207 "RANLIB=$${RANLIB}" \
27208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27212 @endif target-qthreads
27214 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27215 maybe-installcheck-target-qthreads:
27216 @if target-qthreads
27217 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27219 installcheck-target-qthreads: \
27220 configure-target-qthreads
27221 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27222 r=`${PWD_COMMAND}`; export r; \
27223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27225 $(NORMAL_TARGET_EXPORTS) \
27226 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27227 for flag in $(EXTRA_TARGET_FLAGS); do \
27228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27230 (cd $(TARGET_SUBDIR)/qthreads && \
27231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27233 "RANLIB=$${RANLIB}" \
27234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27238 @endif target-qthreads
27240 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27241 maybe-mostlyclean-target-qthreads:
27242 @if target-qthreads
27243 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27245 mostlyclean-target-qthreads:
27246 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27247 r=`${PWD_COMMAND}`; export r; \
27248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(NORMAL_TARGET_EXPORTS) \
27251 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27252 for flag in $(EXTRA_TARGET_FLAGS); do \
27253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27255 (cd $(TARGET_SUBDIR)/qthreads && \
27256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27258 "RANLIB=$${RANLIB}" \
27259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27263 @endif target-qthreads
27265 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27266 maybe-clean-target-qthreads:
27267 @if target-qthreads
27268 maybe-clean-target-qthreads: clean-target-qthreads
27270 clean-target-qthreads:
27271 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27272 r=`${PWD_COMMAND}`; export r; \
27273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27275 $(NORMAL_TARGET_EXPORTS) \
27276 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27277 for flag in $(EXTRA_TARGET_FLAGS); do \
27278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27280 (cd $(TARGET_SUBDIR)/qthreads && \
27281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27283 "RANLIB=$${RANLIB}" \
27284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27288 @endif target-qthreads
27290 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27291 maybe-distclean-target-qthreads:
27292 @if target-qthreads
27293 maybe-distclean-target-qthreads: distclean-target-qthreads
27295 distclean-target-qthreads:
27296 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27297 r=`${PWD_COMMAND}`; export r; \
27298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27300 $(NORMAL_TARGET_EXPORTS) \
27301 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27302 for flag in $(EXTRA_TARGET_FLAGS); do \
27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27305 (cd $(TARGET_SUBDIR)/qthreads && \
27306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27308 "RANLIB=$${RANLIB}" \
27309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27313 @endif target-qthreads
27315 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27316 maybe-maintainer-clean-target-qthreads:
27317 @if target-qthreads
27318 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27320 maintainer-clean-target-qthreads:
27321 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27322 r=`${PWD_COMMAND}`; export r; \
27323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27325 $(NORMAL_TARGET_EXPORTS) \
27326 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27327 for flag in $(EXTRA_TARGET_FLAGS); do \
27328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330 (cd $(TARGET_SUBDIR)/qthreads && \
27331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27333 "RANLIB=$${RANLIB}" \
27334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27335 maintainer-clean) \
27338 @endif target-qthreads
27341 .PHONY: configure-target-rda maybe-configure-target-rda
27342 maybe-configure-target-rda:
27344 maybe-configure-target-rda: configure-target-rda
27346 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27347 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27348 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27349 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27350 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27352 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27353 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27354 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27355 r=`${PWD_COMMAND}`; export r; \
27356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27358 $(NORMAL_TARGET_EXPORTS) \
27359 echo Configuring in $(TARGET_SUBDIR)/rda; \
27360 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27361 case $(srcdir) in \
27362 /* | [A-Za-z]:[\\/]*) \
27363 topdir=$(srcdir) ;; \
27365 case "$(TARGET_SUBDIR)" in \
27366 .) topdir="../$(srcdir)" ;; \
27367 *) topdir="../../$(srcdir)" ;; \
27370 srcdiroption="--srcdir=$${topdir}/rda"; \
27371 libsrcdir="$$s/rda"; \
27372 rm -f no-such-file || : ; \
27373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27374 $(TARGET_CONFIGARGS) $${srcdiroption} \
27375 --with-target-subdir="$(TARGET_SUBDIR)" \
27379 .PHONY: all-target-rda maybe-all-target-rda
27380 maybe-all-target-rda:
27382 maybe-all-target-rda: all-target-rda
27383 all-target-rda: configure-target-rda
27384 @r=`${PWD_COMMAND}`; export r; \
27385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27387 $(NORMAL_TARGET_EXPORTS) \
27388 (cd $(TARGET_SUBDIR)/rda && \
27389 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27392 .PHONY: check-target-rda maybe-check-target-rda
27393 maybe-check-target-rda:
27395 maybe-check-target-rda: check-target-rda
27398 @r=`${PWD_COMMAND}`; export r; \
27399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27401 $(NORMAL_TARGET_EXPORTS) \
27402 (cd $(TARGET_SUBDIR)/rda && \
27403 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27407 .PHONY: install-target-rda maybe-install-target-rda
27408 maybe-install-target-rda:
27410 maybe-install-target-rda: install-target-rda
27412 install-target-rda: installdirs
27413 @r=`${PWD_COMMAND}`; export r; \
27414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27416 $(NORMAL_TARGET_EXPORTS) \
27417 (cd $(TARGET_SUBDIR)/rda && \
27418 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27422 # Other targets (info, dvi, etc.)
27424 .PHONY: maybe-info-target-rda info-target-rda
27425 maybe-info-target-rda:
27427 maybe-info-target-rda: info-target-rda
27430 configure-target-rda
27431 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27432 r=`${PWD_COMMAND}`; export r; \
27433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(NORMAL_TARGET_EXPORTS) \
27436 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27437 for flag in $(EXTRA_TARGET_FLAGS); do \
27438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27440 (cd $(TARGET_SUBDIR)/rda && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27450 .PHONY: maybe-dvi-target-rda dvi-target-rda
27451 maybe-dvi-target-rda:
27453 maybe-dvi-target-rda: dvi-target-rda
27456 configure-target-rda
27457 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27458 r=`${PWD_COMMAND}`; export r; \
27459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27461 $(NORMAL_TARGET_EXPORTS) \
27462 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27463 for flag in $(EXTRA_TARGET_FLAGS); do \
27464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27466 (cd $(TARGET_SUBDIR)/rda && \
27467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27469 "RANLIB=$${RANLIB}" \
27470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27476 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27477 maybe-TAGS-target-rda:
27479 maybe-TAGS-target-rda: TAGS-target-rda
27482 configure-target-rda
27483 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27484 r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27487 $(NORMAL_TARGET_EXPORTS) \
27488 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27489 for flag in $(EXTRA_TARGET_FLAGS); do \
27490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27492 (cd $(TARGET_SUBDIR)/rda && \
27493 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27494 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27495 "RANLIB=$${RANLIB}" \
27496 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27502 .PHONY: maybe-install-info-target-rda install-info-target-rda
27503 maybe-install-info-target-rda:
27505 maybe-install-info-target-rda: install-info-target-rda
27507 install-info-target-rda: \
27508 configure-target-rda \
27510 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27511 r=`${PWD_COMMAND}`; export r; \
27512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27514 $(NORMAL_TARGET_EXPORTS) \
27515 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27516 for flag in $(EXTRA_TARGET_FLAGS); do \
27517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27519 (cd $(TARGET_SUBDIR)/rda && \
27520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27522 "RANLIB=$${RANLIB}" \
27523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27529 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27530 maybe-installcheck-target-rda:
27532 maybe-installcheck-target-rda: installcheck-target-rda
27534 installcheck-target-rda: \
27535 configure-target-rda
27536 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27537 r=`${PWD_COMMAND}`; export r; \
27538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27540 $(NORMAL_TARGET_EXPORTS) \
27541 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27542 for flag in $(EXTRA_TARGET_FLAGS); do \
27543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27545 (cd $(TARGET_SUBDIR)/rda && \
27546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27548 "RANLIB=$${RANLIB}" \
27549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27555 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27556 maybe-mostlyclean-target-rda:
27558 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27560 mostlyclean-target-rda:
27561 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27562 r=`${PWD_COMMAND}`; export r; \
27563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27565 $(NORMAL_TARGET_EXPORTS) \
27566 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27567 for flag in $(EXTRA_TARGET_FLAGS); do \
27568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27570 (cd $(TARGET_SUBDIR)/rda && \
27571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27573 "RANLIB=$${RANLIB}" \
27574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27580 .PHONY: maybe-clean-target-rda clean-target-rda
27581 maybe-clean-target-rda:
27583 maybe-clean-target-rda: clean-target-rda
27586 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27587 r=`${PWD_COMMAND}`; export r; \
27588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27590 $(NORMAL_TARGET_EXPORTS) \
27591 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27592 for flag in $(EXTRA_TARGET_FLAGS); do \
27593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27595 (cd $(TARGET_SUBDIR)/rda && \
27596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27598 "RANLIB=$${RANLIB}" \
27599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27605 .PHONY: maybe-distclean-target-rda distclean-target-rda
27606 maybe-distclean-target-rda:
27608 maybe-distclean-target-rda: distclean-target-rda
27610 distclean-target-rda:
27611 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27612 r=`${PWD_COMMAND}`; export r; \
27613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27615 $(NORMAL_TARGET_EXPORTS) \
27616 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27617 for flag in $(EXTRA_TARGET_FLAGS); do \
27618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27620 (cd $(TARGET_SUBDIR)/rda && \
27621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27623 "RANLIB=$${RANLIB}" \
27624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27630 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27631 maybe-maintainer-clean-target-rda:
27633 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27635 maintainer-clean-target-rda:
27636 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27637 r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27640 $(NORMAL_TARGET_EXPORTS) \
27641 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27642 for flag in $(EXTRA_TARGET_FLAGS); do \
27643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27645 (cd $(TARGET_SUBDIR)/rda && \
27646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27648 "RANLIB=$${RANLIB}" \
27649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27650 maintainer-clean) \
27656 .PHONY: configure-target-libada maybe-configure-target-libada
27657 maybe-configure-target-libada:
27659 maybe-configure-target-libada: configure-target-libada
27661 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27662 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27663 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27664 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27665 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27667 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27668 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27669 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27670 r=`${PWD_COMMAND}`; export r; \
27671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27673 $(NORMAL_TARGET_EXPORTS) \
27674 echo Configuring in $(TARGET_SUBDIR)/libada; \
27675 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27676 case $(srcdir) in \
27677 /* | [A-Za-z]:[\\/]*) \
27678 topdir=$(srcdir) ;; \
27680 case "$(TARGET_SUBDIR)" in \
27681 .) topdir="../$(srcdir)" ;; \
27682 *) topdir="../../$(srcdir)" ;; \
27685 srcdiroption="--srcdir=$${topdir}/libada"; \
27686 libsrcdir="$$s/libada"; \
27687 rm -f no-such-file || : ; \
27688 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27689 $(TARGET_CONFIGARGS) $${srcdiroption} \
27690 --with-target-subdir="$(TARGET_SUBDIR)" \
27692 @endif target-libada
27694 .PHONY: all-target-libada maybe-all-target-libada
27695 maybe-all-target-libada:
27697 maybe-all-target-libada: all-target-libada
27698 all-target-libada: configure-target-libada
27699 @r=`${PWD_COMMAND}`; export r; \
27700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27702 $(NORMAL_TARGET_EXPORTS) \
27703 (cd $(TARGET_SUBDIR)/libada && \
27704 $(MAKE) $(TARGET_FLAGS_TO_PASS) all)
27705 @endif target-libada
27707 .PHONY: check-target-libada maybe-check-target-libada
27708 maybe-check-target-libada:
27710 maybe-check-target-libada: check-target-libada
27712 check-target-libada:
27713 @r=`${PWD_COMMAND}`; export r; \
27714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27716 $(NORMAL_TARGET_EXPORTS) \
27717 (cd $(TARGET_SUBDIR)/libada && \
27718 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27720 @endif target-libada
27722 .PHONY: install-target-libada maybe-install-target-libada
27723 maybe-install-target-libada:
27725 maybe-install-target-libada: install-target-libada
27727 install-target-libada: installdirs
27728 @r=`${PWD_COMMAND}`; export r; \
27729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27731 $(NORMAL_TARGET_EXPORTS) \
27732 (cd $(TARGET_SUBDIR)/libada && \
27733 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27735 @endif target-libada
27737 # Other targets (info, dvi, etc.)
27739 .PHONY: maybe-info-target-libada info-target-libada
27740 maybe-info-target-libada:
27742 maybe-info-target-libada: info-target-libada
27744 info-target-libada: \
27745 configure-target-libada
27746 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27747 r=`${PWD_COMMAND}`; export r; \
27748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27750 $(NORMAL_TARGET_EXPORTS) \
27751 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27752 for flag in $(EXTRA_TARGET_FLAGS); do \
27753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27755 (cd $(TARGET_SUBDIR)/libada && \
27756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27758 "RANLIB=$${RANLIB}" \
27759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27763 @endif target-libada
27765 .PHONY: maybe-dvi-target-libada dvi-target-libada
27766 maybe-dvi-target-libada:
27768 maybe-dvi-target-libada: dvi-target-libada
27770 dvi-target-libada: \
27771 configure-target-libada
27772 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27773 r=`${PWD_COMMAND}`; export r; \
27774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27776 $(NORMAL_TARGET_EXPORTS) \
27777 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27778 for flag in $(EXTRA_TARGET_FLAGS); do \
27779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27781 (cd $(TARGET_SUBDIR)/libada && \
27782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27784 "RANLIB=$${RANLIB}" \
27785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27789 @endif target-libada
27791 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27792 maybe-TAGS-target-libada:
27794 maybe-TAGS-target-libada: TAGS-target-libada
27796 TAGS-target-libada: \
27797 configure-target-libada
27798 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27799 r=`${PWD_COMMAND}`; export r; \
27800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27802 $(NORMAL_TARGET_EXPORTS) \
27803 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27804 for flag in $(EXTRA_TARGET_FLAGS); do \
27805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27807 (cd $(TARGET_SUBDIR)/libada && \
27808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27810 "RANLIB=$${RANLIB}" \
27811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27815 @endif target-libada
27817 .PHONY: maybe-install-info-target-libada install-info-target-libada
27818 maybe-install-info-target-libada:
27820 maybe-install-info-target-libada: install-info-target-libada
27822 install-info-target-libada: \
27823 configure-target-libada \
27825 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27826 r=`${PWD_COMMAND}`; export r; \
27827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27829 $(NORMAL_TARGET_EXPORTS) \
27830 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27831 for flag in $(EXTRA_TARGET_FLAGS); do \
27832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27834 (cd $(TARGET_SUBDIR)/libada && \
27835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27837 "RANLIB=$${RANLIB}" \
27838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27842 @endif target-libada
27844 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27845 maybe-installcheck-target-libada:
27847 maybe-installcheck-target-libada: installcheck-target-libada
27849 installcheck-target-libada: \
27850 configure-target-libada
27851 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27852 r=`${PWD_COMMAND}`; export r; \
27853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27855 $(NORMAL_TARGET_EXPORTS) \
27856 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27857 for flag in $(EXTRA_TARGET_FLAGS); do \
27858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27860 (cd $(TARGET_SUBDIR)/libada && \
27861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27863 "RANLIB=$${RANLIB}" \
27864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27868 @endif target-libada
27870 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27871 maybe-mostlyclean-target-libada:
27873 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27875 mostlyclean-target-libada:
27876 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27880 $(NORMAL_TARGET_EXPORTS) \
27881 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27882 for flag in $(EXTRA_TARGET_FLAGS); do \
27883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27885 (cd $(TARGET_SUBDIR)/libada && \
27886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27888 "RANLIB=$${RANLIB}" \
27889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27893 @endif target-libada
27895 .PHONY: maybe-clean-target-libada clean-target-libada
27896 maybe-clean-target-libada:
27898 maybe-clean-target-libada: clean-target-libada
27900 clean-target-libada:
27901 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27902 r=`${PWD_COMMAND}`; export r; \
27903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(NORMAL_TARGET_EXPORTS) \
27906 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27907 for flag in $(EXTRA_TARGET_FLAGS); do \
27908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27910 (cd $(TARGET_SUBDIR)/libada && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27918 @endif target-libada
27920 .PHONY: maybe-distclean-target-libada distclean-target-libada
27921 maybe-distclean-target-libada:
27923 maybe-distclean-target-libada: distclean-target-libada
27925 distclean-target-libada:
27926 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(NORMAL_TARGET_EXPORTS) \
27931 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27932 for flag in $(EXTRA_TARGET_FLAGS); do \
27933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27935 (cd $(TARGET_SUBDIR)/libada && \
27936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27938 "RANLIB=$${RANLIB}" \
27939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27943 @endif target-libada
27945 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27946 maybe-maintainer-clean-target-libada:
27948 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27950 maintainer-clean-target-libada:
27951 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27952 r=`${PWD_COMMAND}`; export r; \
27953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27955 $(NORMAL_TARGET_EXPORTS) \
27956 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27957 for flag in $(EXTRA_TARGET_FLAGS); do \
27958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27960 (cd $(TARGET_SUBDIR)/libada && \
27961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27963 "RANLIB=$${RANLIB}" \
27964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27965 maintainer-clean) \
27968 @endif target-libada
27976 # Unfortunately, while gcc _should_ be a host module,
27977 # libgcc is a target module, and gen* programs are
27978 # build modules. So GCC is a sort of hybrid.
27980 # gcc is the only module which uses GCC_FLAGS_TO_PASS.
27981 # Don't use shared host config.cache, as it will confuse later
27982 # directories; GCC wants slightly different values for some
27983 # precious variables. *sigh*
27985 # We must skip configuring if toplevel bootstrap is going.
27986 .PHONY: configure-gcc maybe-configure-gcc
27987 maybe-configure-gcc:
27989 maybe-configure-gcc: configure-gcc
27992 @if gcc-no-bootstrap
27993 @test ! -f gcc/Makefile || exit 0; \
27994 [ -d gcc ] || mkdir gcc; \
27995 r=`${PWD_COMMAND}`; export r; \
27996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27998 echo Configuring in gcc; \
27999 cd gcc || exit 1; \
28000 case $(srcdir) in \
28002 srcdiroption="--srcdir=."; \
28004 /* | [A-Za-z]:[\\/]*) \
28005 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28006 libsrcdir="$$s/gcc";; \
28008 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28009 libsrcdir="$$s/gcc";; \
28011 $(SHELL) $${libsrcdir}/configure \
28012 $(HOST_CONFIGARGS) $${srcdiroption} \
28014 @endif gcc-no-bootstrap
28016 # Don't 'make all' in gcc if it's already been made by 'bootstrap'; that
28017 # causes trouble. This wart will be fixed eventually by moving
28018 # the bootstrap behavior to this file.
28019 .PHONY: all-gcc maybe-all-gcc
28022 maybe-all-gcc: all-gcc
28023 all-gcc: configure-gcc
28025 @if gcc-no-bootstrap
28026 r=`${PWD_COMMAND}`; export r; \
28027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28030 if [ -f gcc/stage_last ] ; then \
28031 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) quickstrap); \
28033 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) all); \
28036 # Building GCC uses some tools for rebuilding "source" files
28037 # like texinfo, bison/byacc, etc. So we must depend on those.
28039 # While building GCC, it may be necessary to run various target
28040 # programs like the assembler, linker, etc. So we depend on
28043 # In theory, on an SMP all those dependencies can be resolved
28046 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
28047 .PHONY: $(GCC_STRAP_TARGETS)
28048 $(GCC_STRAP_TARGETS): all-bootstrap configure-gcc
28049 @r=`${PWD_COMMAND}`; export r; \
28050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28053 echo "Bootstrapping the compiler"; \
28054 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
28055 @r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28058 *bootstrap4-lean ) \
28059 msg="Comparing stage3 and stage4 of the compiler"; \
28060 compare=compare3-lean ;; \
28062 msg="Comparing stage3 and stage4 of the compiler"; \
28063 compare=compare3 ;; \
28065 msg="Comparing stage2 and stage3 of the compiler"; \
28066 compare=compare-lean ;; \
28068 msg="Comparing stage2 and stage3 of the compiler"; \
28069 compare=compare ;; \
28074 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28075 @r=`${PWD_COMMAND}`; export r; \
28076 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28078 echo "Building runtime libraries"; \
28079 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28081 profiledbootstrap: all-bootstrap configure-gcc
28082 @r=`${PWD_COMMAND}`; export r; \
28083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28086 echo "Bootstrapping training compiler"; \
28087 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28088 @r=`${PWD_COMMAND}`; export r; \
28089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28092 echo "Building feedback based compiler"; \
28093 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28094 @r=`${PWD_COMMAND}`; export r; \
28095 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28097 echo "Building runtime libraries"; \
28098 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28101 cross: all-texinfo all-bison all-byacc all-binutils all-gas all-ld
28102 @r=`${PWD_COMMAND}`; export r; \
28103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28106 echo "Building the C and C++ compiler"; \
28107 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28108 @r=`${PWD_COMMAND}`; export r; \
28109 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28111 echo "Building runtime libraries"; \
28112 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28113 @endif gcc-no-bootstrap
28115 .PHONY: check-gcc maybe-check-gcc
28118 maybe-check-gcc: check-gcc
28120 @if [ -f ./gcc/Makefile ] ; then \
28121 r=`${PWD_COMMAND}`; export r; \
28122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28125 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check); \
28130 .PHONY: check-gcc-c++
28132 @if [ -f ./gcc/Makefile ] ; then \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28143 check-c++: check-target-libstdc++-v3 check-gcc-c++
28146 .PHONY: install-gcc maybe-install-gcc
28149 maybe-install-gcc: install-gcc
28151 @if [ -f ./gcc/Makefile ] ; then \
28152 r=`${PWD_COMMAND}`; export r; \
28153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28156 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28162 # Install the gcc headers files, but not the fixed include files,
28163 # which Cygnus is not allowed to distribute. This rule is very
28164 # dependent on the workings of the gcc Makefile.in.
28165 .PHONY: gcc-no-fixedincludes
28166 gcc-no-fixedincludes:
28167 @if [ -f ./gcc/Makefile ]; then \
28168 rm -rf gcc/tmp-include; \
28169 mv gcc/include gcc/tmp-include 2>/dev/null; \
28170 mkdir gcc/include; \
28171 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28172 touch gcc/stmp-fixinc gcc/include/fixed; \
28173 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28174 r=`${PWD_COMMAND}`; export r; \
28175 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28179 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28180 rm -rf gcc/include; \
28181 mv gcc/tmp-include gcc/include 2>/dev/null; \
28184 # Other targets (dvi, info, etc.)
28186 .PHONY: maybe-info-gcc info-gcc
28189 maybe-info-gcc: info-gcc
28192 @[ -f ./gcc/Makefile ] || exit 0; \
28193 r=`${PWD_COMMAND}`; export r; \
28194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28196 for flag in $(EXTRA_GCC_FLAGS); do \
28197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28200 echo "Doing info in gcc" ; \
28202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28204 "RANLIB=$${RANLIB}" \
28205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28211 .PHONY: maybe-dvi-gcc dvi-gcc
28214 maybe-dvi-gcc: dvi-gcc
28217 @[ -f ./gcc/Makefile ] || exit 0; \
28218 r=`${PWD_COMMAND}`; export r; \
28219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28221 for flag in $(EXTRA_GCC_FLAGS); do \
28222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28225 echo "Doing dvi in gcc" ; \
28227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28229 "RANLIB=$${RANLIB}" \
28230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28236 .PHONY: maybe-TAGS-gcc TAGS-gcc
28239 maybe-TAGS-gcc: TAGS-gcc
28242 @[ -f ./gcc/Makefile ] || exit 0; \
28243 r=`${PWD_COMMAND}`; export r; \
28244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28246 for flag in $(EXTRA_GCC_FLAGS); do \
28247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28250 echo "Doing TAGS in gcc" ; \
28252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28254 "RANLIB=$${RANLIB}" \
28255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28261 .PHONY: maybe-install-info-gcc install-info-gcc
28262 maybe-install-info-gcc:
28264 maybe-install-info-gcc: install-info-gcc
28265 install-info-gcc: \
28268 @[ -f ./gcc/Makefile ] || exit 0; \
28269 r=`${PWD_COMMAND}`; export r; \
28270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28272 for flag in $(EXTRA_GCC_FLAGS); do \
28273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28276 echo "Doing install-info in gcc" ; \
28278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28280 "RANLIB=$${RANLIB}" \
28281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28287 .PHONY: maybe-installcheck-gcc installcheck-gcc
28288 maybe-installcheck-gcc:
28290 maybe-installcheck-gcc: installcheck-gcc
28291 installcheck-gcc: \
28293 @[ -f ./gcc/Makefile ] || exit 0; \
28294 r=`${PWD_COMMAND}`; export r; \
28295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28297 for flag in $(EXTRA_GCC_FLAGS); do \
28298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28301 echo "Doing installcheck in gcc" ; \
28303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28305 "RANLIB=$${RANLIB}" \
28306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28312 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
28313 maybe-mostlyclean-gcc:
28315 maybe-mostlyclean-gcc: mostlyclean-gcc
28317 @[ -f ./gcc/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28321 for flag in $(EXTRA_GCC_FLAGS); do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28325 echo "Doing mostlyclean in gcc" ; \
28327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28329 "RANLIB=$${RANLIB}" \
28330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28336 .PHONY: maybe-clean-gcc clean-gcc
28339 maybe-clean-gcc: clean-gcc
28341 @[ -f ./gcc/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 for flag in $(EXTRA_GCC_FLAGS); do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28349 echo "Doing clean in gcc" ; \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28360 .PHONY: maybe-distclean-gcc distclean-gcc
28361 maybe-distclean-gcc:
28363 maybe-distclean-gcc: distclean-gcc
28365 @[ -f ./gcc/Makefile ] || exit 0; \
28366 r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 for flag in $(EXTRA_GCC_FLAGS); do \
28370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 echo "Doing distclean in gcc" ; \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28384 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
28385 maybe-maintainer-clean-gcc:
28387 maybe-maintainer-clean-gcc: maintainer-clean-gcc
28388 maintainer-clean-gcc:
28389 @[ -f ./gcc/Makefile ] || exit 0; \
28390 r=`${PWD_COMMAND}`; export r; \
28391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28393 for flag in $(EXTRA_GCC_FLAGS); do \
28394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28397 echo "Doing maintainer-clean in gcc" ; \
28399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28401 "RANLIB=$${RANLIB}" \
28402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28403 maintainer-clean) \
28410 # ---------------------
28411 # GCC bootstrap support
28412 # ---------------------
28414 # We track the current stage (the one in 'gcc') in the stage_last file.
28415 # We name the build directories for the various stages "stage1-gcc",
28416 # "stage2-gcc","stage3-gcc", etc.
28418 # Since the 'compare' process will fail (on debugging information) if any
28419 # directory names are different, we need to link the gcc directory for
28420 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28421 # the build directories constant as well. For the latter, we use naked names
28422 # like 'gcc', because the scripts in that directory assume it. We use
28423 # mv on platforms where symlinks to directories do not work or are not
28426 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28427 # be kept, so that libraries can find it. Ick!
28429 # It would be best to preinstall gcc into a staging area (and in the
28430 # future, gather there all prebootstrap packages). This would allow
28431 # assemblers and linkers can be bootstrapped as well as the compiler
28432 # (both in a combined tree, or separately). This however requires some
28433 # change to the gcc driver, again in order to avoid comparison failures.
28435 # Bugs: This is almost certainly not parallel-make safe.
28437 # 'touch' doesn't work right on some platforms.
28438 STAMP = echo timestamp >
28440 # Only build the C compiler for stage1, because that is the only one that
28441 # we can guarantee will build with the native compiler, and also it is the
28442 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28443 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28444 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28446 STAGE1_CFLAGS=@stage1_cflags@
28447 STAGE1_LANGUAGES=@stage1_languages@
28449 # We only want to compare .o files, so set this!
28452 # Real targets act phony if they depend on phony targets; this hack
28453 # prevents gratuitous rebuilding of stage 1.
28455 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-bootstrap
28456 $(STAMP) prebootstrap
28458 # Flags to pass to stage2 and later makes.
28459 BOOT_CFLAGS= -g -O2
28460 POSTSTAGE1_FLAGS_TO_PASS = \
28461 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28462 STAGE_PREFIX=$$r/stage-gcc/ \
28463 CFLAGS="$(BOOT_CFLAGS)" \
28467 # * We force-disable intermodule optimizations, even if
28468 # --enable-intermodule was passed, since the installed compiler probably
28469 # can't handle them. Luckily, autoconf always respects
28470 # the last argument when conflicting --enable arguments are passed.
28471 # * Likewise, we force-disable coverage flags, since the installed compiler
28472 # probably has never heard of them.
28473 # * We build only C (and possibly Ada).
28476 .PHONY: stage1-start stage1-end
28479 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28480 echo stage1 > stage_last ; \
28481 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28482 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28485 rm -f stage_last ; \
28486 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28488 # Bubble a bugfix through all the stages up to stage 1. They
28489 # are remade, but not reconfigured. The next stage (if any) will not
28490 # be reconfigured as well.
28491 .PHONY: stage1-bubble
28493 @if [ -f all-stage1-gcc ] ; then \
28494 echo Remaking stage 1 ; \
28495 rm -f all-stage1-gcc ; \
28497 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28501 configure-stage1-gcc: prebootstrap
28502 $(MAKE) stage1-start
28503 @if [ -f stage1-gcc/Makefile ] ; then \
28504 $(STAMP) configure-stage1-gcc ; \
28509 r=`${PWD_COMMAND}`; export r; \
28510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28512 echo Configuring stage 1 in gcc ; \
28513 cd gcc || exit 1; \
28514 case $(srcdir) in \
28516 srcdiroption="--srcdir=."; \
28518 /* | [A-Za-z]:[\\/]*) \
28519 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28520 libsrcdir="$$s/gcc";; \
28522 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28523 libsrcdir="$$s/gcc";; \
28525 $(SHELL) $${libsrcdir}/configure \
28526 $(HOST_CONFIGARGS) $${srcdiroption} \
28527 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28528 $(STAMP) ../configure-stage1-gcc
28530 all-stage1-gcc: configure-stage1-gcc
28531 $(MAKE) stage1-start
28532 @r=`${PWD_COMMAND}`; export r; \
28533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28536 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28537 CFLAGS="$(STAGE1_CFLAGS)" && $(STAMP) ../all-stage1-gcc
28543 .PHONY: restage1 touch-stage1 distclean-stage1
28545 # Rules to wipe a stage and all the following ones, used for cleanstrap
28548 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28549 rm -rf configure-stage1-gcc all-stage1-gcc stage1-gcc
28551 # Rules to renew the timestamp on a stage and all the following ones
28554 @[ -f configure-stage1-gcc ] && \
28555 echo '$(STAMP) configure-stage1-gcc' && \
28556 $(STAMP) configure-stage1-gcc; \
28557 [ -f all-stage1-gcc ] && \
28558 echo '$(STAMP) all-stage1-gcc' && \
28559 $(STAMP) all-stage1-gcc; \
28562 # After building a stage, touch the following ones
28565 rm -rf all-stage1-gcc
28566 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1-gcc
28571 .PHONY: stage2-start stage2-end
28574 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28575 echo stage2 > stage_last ; \
28576 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28577 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28578 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28581 rm -f stage_last ; \
28582 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28583 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28585 # Bubble a bugfix through all the stages up to stage 2. They
28586 # are remade, but not reconfigured. The next stage (if any) will not
28587 # be reconfigured as well.
28588 .PHONY: stage2-bubble
28589 stage2-bubble:: stage1-bubble
28590 @if [ -f all-stage2-gcc ] ; then \
28591 echo Remaking stage 2 ; \
28592 rm -f all-stage2-gcc ; \
28594 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28598 @if [ -f configure-stage2-gcc ] ; then \
28599 $(STAMP) configure-stage2-gcc ; \
28603 configure-stage2-gcc: all-stage1-gcc
28604 $(MAKE) stage2-start
28605 @if [ -f stage2-gcc/Makefile ] ; then \
28606 $(STAMP) configure-stage2-gcc ; \
28611 r=`${PWD_COMMAND}`; export r; \
28612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28613 $(STAGE_HOST_EXPORTS) \
28614 echo Configuring stage 2 in gcc ; \
28615 cd gcc || exit 1; \
28616 case $(srcdir) in \
28618 srcdiroption="--srcdir=."; \
28620 /* | [A-Za-z]:[\\/]*) \
28621 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28622 libsrcdir="$$s/gcc";; \
28624 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28625 libsrcdir="$$s/gcc";; \
28627 $(SHELL) $${libsrcdir}/configure \
28628 $(HOST_CONFIGARGS) $${srcdiroption} \
28629 @stage2_werror_flag@ && \
28630 $(STAMP) ../configure-stage2-gcc
28632 all-stage2-gcc: configure-stage2-gcc
28633 $(MAKE) stage2-start
28634 @r=`${PWD_COMMAND}`; export r; \
28635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28636 $(STAGE_HOST_EXPORTS) \
28638 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28639 $(POSTSTAGE1_FLAGS_TO_PASS) \
28640 && $(STAMP) ../all-stage2-gcc
28647 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage2-bubble \
28648 stage2-start all stage2-end
28651 .PHONY: restage2 touch-stage2 distclean-stage2
28653 # Rules to wipe a stage and all the following ones, used for cleanstrap
28654 distclean-stage1:: distclean-stage2
28656 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28657 rm -rf configure-stage2-gcc all-stage2-gcc stage2-gcc
28659 # Rules to renew the timestamp on a stage and all the following ones
28660 touch-stage1:: touch-stage2
28662 @[ -f configure-stage2-gcc ] && \
28663 echo '$(STAMP) configure-stage2-gcc' && \
28664 $(STAMP) configure-stage2-gcc; \
28665 [ -f all-stage2-gcc ] && \
28666 echo '$(STAMP) all-stage2-gcc' && \
28667 $(STAMP) all-stage2-gcc; \
28670 # After building a stage, touch the following ones
28671 restage1:: touch-stage2
28673 rm -rf all-stage2-gcc
28674 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2-gcc
28679 .PHONY: stage3-start stage3-end
28682 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28683 echo stage3 > stage_last ; \
28684 [ -d stage3-gcc ] || mkdir stage3-gcc; \
28685 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28686 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28689 rm -f stage_last ; \
28690 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
28691 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
28693 # Bubble a bugfix through all the stages up to stage 3. They
28694 # are remade, but not reconfigured. The next stage (if any) will not
28695 # be reconfigured as well.
28696 .PHONY: stage3-bubble
28697 stage3-bubble:: stage2-bubble
28698 @if [ -f all-stage3-gcc ] ; then \
28699 echo Remaking stage 3 ; \
28700 rm -f all-stage3-gcc ; \
28702 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3-gcc
28706 @if [ -f configure-stage3-gcc ] ; then \
28707 $(STAMP) configure-stage3-gcc ; \
28711 configure-stage3-gcc: all-stage2-gcc
28712 $(MAKE) stage3-start
28713 @if [ -f stage3-gcc/Makefile ] ; then \
28714 $(STAMP) configure-stage3-gcc ; \
28719 r=`${PWD_COMMAND}`; export r; \
28720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28721 $(STAGE_HOST_EXPORTS) \
28722 echo Configuring stage 3 in gcc ; \
28723 cd gcc || exit 1; \
28724 case $(srcdir) in \
28726 srcdiroption="--srcdir=."; \
28728 /* | [A-Za-z]:[\\/]*) \
28729 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28730 libsrcdir="$$s/gcc";; \
28732 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28733 libsrcdir="$$s/gcc";; \
28735 $(SHELL) $${libsrcdir}/configure \
28736 $(HOST_CONFIGARGS) $${srcdiroption} \
28737 @stage2_werror_flag@ && \
28738 $(STAMP) ../configure-stage3-gcc
28740 all-stage3-gcc: configure-stage3-gcc
28741 $(MAKE) stage3-start
28742 @r=`${PWD_COMMAND}`; export r; \
28743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28744 $(STAGE_HOST_EXPORTS) \
28746 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28747 $(POSTSTAGE1_FLAGS_TO_PASS) \
28748 && $(STAMP) ../all-stage3-gcc
28751 compare: all-stage3-gcc
28752 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28753 @r=`${PWD_COMMAND}`; export r; \
28754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28755 rm -f .bad_compare ; \
28757 files=`find . -name "*$(objext)" -print` ; \
28759 for file in $${files} ; do \
28760 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
28761 @do_compare@ > /dev/null 2>&1; \
28762 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28764 if [ -f .bad_compare ]; then \
28765 echo "Bootstrap comparison failure!"; \
28766 cat .bad_compare; \
28777 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage3-bubble compare \
28778 stage3-start all stage3-end
28781 .PHONY: restage3 touch-stage3 distclean-stage3
28783 # Rules to wipe a stage and all the following ones, used for cleanstrap
28784 distclean-stage2:: distclean-stage3
28786 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28787 rm -rf configure-stage3-gcc all-stage3-gcc stage3-gcc compare
28789 # Rules to renew the timestamp on a stage and all the following ones
28790 touch-stage2:: touch-stage3
28792 @[ -f configure-stage3-gcc ] && \
28793 echo '$(STAMP) configure-stage3-gcc' && \
28794 $(STAMP) configure-stage3-gcc; \
28795 [ -f all-stage3-gcc ] && \
28796 echo '$(STAMP) all-stage3-gcc' && \
28797 $(STAMP) all-stage3-gcc; \
28800 # After building a stage, touch the following ones
28801 restage2:: touch-stage3
28803 rm -rf all-stage3-gcc compare
28804 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
28808 cleanstrap: distclean-stage1 bootstrap
28812 .PHONY: stage4-start stage4-end
28815 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28816 echo stage4 > stage_last ; \
28817 [ -d stage4-gcc ] || mkdir stage4-gcc; \
28818 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28819 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28822 rm -f stage_last ; \
28823 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
28824 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
28826 # Bubble a bugfix through all the stages up to stage 4. They
28827 # are remade, but not reconfigured. The next stage (if any) will not
28828 # be reconfigured as well.
28829 .PHONY: stage4-bubble
28830 stage4-bubble:: stage3-bubble
28831 @if [ -f all-stage4-gcc ] ; then \
28832 echo Remaking stage 4 ; \
28833 rm -f all-stage4-gcc ; \
28835 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4-gcc
28839 @if [ -f configure-stage4-gcc ] ; then \
28840 $(STAMP) configure-stage4-gcc ; \
28844 configure-stage4-gcc: all-stage3-gcc
28845 $(MAKE) stage4-start
28846 @if [ -f stage4-gcc/Makefile ] ; then \
28847 $(STAMP) configure-stage4-gcc ; \
28852 r=`${PWD_COMMAND}`; export r; \
28853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28854 $(STAGE_HOST_EXPORTS) \
28855 echo Configuring stage 4 in gcc ; \
28856 cd gcc || exit 1; \
28857 case $(srcdir) in \
28859 srcdiroption="--srcdir=."; \
28861 /* | [A-Za-z]:[\\/]*) \
28862 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28863 libsrcdir="$$s/gcc";; \
28865 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28866 libsrcdir="$$s/gcc";; \
28868 $(SHELL) $${libsrcdir}/configure \
28869 $(HOST_CONFIGARGS) $${srcdiroption} \
28870 @stage2_werror_flag@ && \
28871 $(STAMP) ../configure-stage4-gcc
28873 all-stage4-gcc: configure-stage4-gcc
28874 $(MAKE) stage4-start
28875 @r=`${PWD_COMMAND}`; export r; \
28876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28877 $(STAGE_HOST_EXPORTS) \
28879 $(MAKE) $(GCC_FLAGS_TO_PASS) \
28880 $(POSTSTAGE1_FLAGS_TO_PASS) \
28881 && $(STAMP) ../all-stage4-gcc
28884 compare3: all-stage4-gcc
28885 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28886 @r=`${PWD_COMMAND}`; export r; \
28887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28888 rm -f .bad_compare ; \
28890 files=`find . -name "*$(objext)" -print` ; \
28892 for file in $${files} ; do \
28893 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
28894 @do_compare@ > /dev/null 2>&1; \
28895 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
28897 if [ -f .bad_compare ]; then \
28898 echo "Bootstrap comparison failure!"; \
28899 cat .bad_compare; \
28910 $(MAKE) $(RECURSE_FLAGS_TO_PASS) stage4-bubble compare3 \
28911 stage4-start all stage4-end
28914 .PHONY: restage4 touch-stage4 distclean-stage4
28916 # Rules to wipe a stage and all the following ones, used for cleanstrap
28917 distclean-stage3:: distclean-stage4
28919 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28920 rm -rf configure-stage4-gcc all-stage4-gcc stage4-gcc compare3
28922 # Rules to renew the timestamp on a stage and all the following ones
28923 touch-stage3:: touch-stage4
28925 @[ -f configure-stage4-gcc ] && \
28926 echo '$(STAMP) configure-stage4-gcc' && \
28927 $(STAMP) configure-stage4-gcc; \
28928 [ -f all-stage4-gcc ] && \
28929 echo '$(STAMP) all-stage4-gcc' && \
28930 $(STAMP) all-stage4-gcc; \
28933 # After building a stage, touch the following ones
28934 restage3:: touch-stage4
28936 rm -rf all-stage4-gcc compare3
28937 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
28942 .PHONY: stageprofile-start stageprofile-end
28944 stageprofile-start::
28945 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
28946 echo stageprofile > stage_last ; \
28947 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
28948 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28949 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28952 rm -f stage_last ; \
28953 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
28954 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28956 # Bubble a bugfix through all the stages up to stage profile. They
28957 # are remade, but not reconfigured. The next stage (if any) will not
28958 # be reconfigured as well.
28959 .PHONY: stageprofile-bubble
28960 stageprofile-bubble:: stage1-bubble
28961 @if [ -f all-stageprofile-gcc ] ; then \
28962 echo Remaking stage profile ; \
28963 rm -f all-stageprofile-gcc ; \
28965 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
28969 @if [ -f configure-stageprofile-gcc ] ; then \
28970 $(STAMP) configure-stageprofile-gcc ; \
28974 configure-stageprofile-gcc: all-stage1-gcc
28975 $(MAKE) stageprofile-start
28976 @if [ -f stageprofile-gcc/Makefile ] ; then \
28977 $(STAMP) configure-stageprofile-gcc ; \
28982 r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(STAGE_HOST_EXPORTS) \
28985 echo Configuring stage profile in gcc ; \
28986 cd gcc || exit 1; \
28987 case $(srcdir) in \
28989 srcdiroption="--srcdir=."; \
28991 /* | [A-Za-z]:[\\/]*) \
28992 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28993 libsrcdir="$$s/gcc";; \
28995 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28996 libsrcdir="$$s/gcc";; \
28998 $(SHELL) $${libsrcdir}/configure \
28999 $(HOST_CONFIGARGS) $${srcdiroption} \
29000 @stage2_werror_flag@ && \
29001 $(STAMP) ../configure-stageprofile-gcc
29003 all-stageprofile-gcc: configure-stageprofile-gcc
29004 $(MAKE) stageprofile-start
29005 @r=`${PWD_COMMAND}`; export r; \
29006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29007 $(STAGE_HOST_EXPORTS) \
29009 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29010 $(POSTSTAGE1_FLAGS_TO_PASS) \
29011 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && $(STAMP) ../all-stageprofile-gcc
29017 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
29019 # Rules to wipe a stage and all the following ones, used for cleanstrap
29020 distclean-stage1:: distclean-stageprofile
29021 distclean-stageprofile::
29022 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29023 rm -rf configure-stageprofile-gcc all-stageprofile-gcc stageprofile-gcc
29025 # Rules to renew the timestamp on a stage and all the following ones
29026 touch-stage1:: touch-stageprofile
29027 touch-stageprofile::
29028 @[ -f configure-stageprofile-gcc ] && \
29029 echo '$(STAMP) configure-stageprofile-gcc' && \
29030 $(STAMP) configure-stageprofile-gcc; \
29031 [ -f all-stageprofile-gcc ] && \
29032 echo '$(STAMP) all-stageprofile-gcc' && \
29033 $(STAMP) all-stageprofile-gcc; \
29036 # After building a stage, touch the following ones
29037 restage1:: touch-stageprofile
29039 rm -rf all-stageprofile-gcc
29040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile-gcc
29045 .PHONY: stagefeedback-start stagefeedback-end
29047 stagefeedback-start::
29048 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29049 echo stagefeedback > stage_last ; \
29050 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
29051 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29052 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29054 stagefeedback-end::
29055 rm -f stage_last ; \
29056 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
29057 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
29059 # Bubble a bugfix through all the stages up to stage feedback. They
29060 # are remade, but not reconfigured. The next stage (if any) will not
29061 # be reconfigured as well.
29062 .PHONY: stagefeedback-bubble
29063 stagefeedback-bubble:: stage1-bubble
29064 @if [ -f all-stagefeedback-gcc ] ; then \
29065 echo Remaking stage feedback ; \
29066 rm -f all-stagefeedback-gcc ; \
29068 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29072 @if [ -f configure-stagefeedback-gcc ] ; then \
29073 $(STAMP) configure-stagefeedback-gcc ; \
29077 configure-stagefeedback-gcc: all-stage1-gcc
29078 $(MAKE) stagefeedback-start
29079 @if [ -f stagefeedback-gcc/Makefile ] ; then \
29080 $(STAMP) configure-stagefeedback-gcc ; \
29085 r=`${PWD_COMMAND}`; export r; \
29086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29087 $(STAGE_HOST_EXPORTS) \
29088 echo Configuring stage feedback in gcc ; \
29089 cd gcc || exit 1; \
29090 case $(srcdir) in \
29092 srcdiroption="--srcdir=."; \
29094 /* | [A-Za-z]:[\\/]*) \
29095 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29096 libsrcdir="$$s/gcc";; \
29098 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29099 libsrcdir="$$s/gcc";; \
29101 $(SHELL) $${libsrcdir}/configure \
29102 $(HOST_CONFIGARGS) $${srcdiroption} \
29103 @stage2_werror_flag@ && \
29104 $(STAMP) ../configure-stagefeedback-gcc
29106 all-stagefeedback-gcc: configure-stagefeedback-gcc
29107 $(MAKE) stagefeedback-start
29108 @r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(STAGE_HOST_EXPORTS) \
29112 $(MAKE) $(GCC_FLAGS_TO_PASS) \
29113 $(POSTSTAGE1_FLAGS_TO_PASS) \
29114 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && $(STAMP) ../all-stagefeedback-gcc
29120 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
29122 # Rules to wipe a stage and all the following ones, used for cleanstrap
29123 distclean-stage1:: distclean-stagefeedback
29124 distclean-stagefeedback::
29125 [ -f stage_last ] && $(MAKE) `cat stage_last`-end || :
29126 rm -rf configure-stagefeedback-gcc all-stagefeedback-gcc stagefeedback-gcc
29128 # Rules to renew the timestamp on a stage and all the following ones
29129 touch-stage1:: touch-stagefeedback
29130 touch-stagefeedback::
29131 @[ -f configure-stagefeedback-gcc ] && \
29132 echo '$(STAMP) configure-stagefeedback-gcc' && \
29133 $(STAMP) configure-stagefeedback-gcc; \
29134 [ -f all-stagefeedback-gcc ] && \
29135 echo '$(STAMP) all-stagefeedback-gcc' && \
29136 $(STAMP) all-stagefeedback-gcc; \
29139 # After building a stage, touch the following ones
29140 restage1:: touch-stagefeedback
29142 rm -rf all-stagefeedback-gcc
29143 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback-gcc
29149 stagefeedback-start::
29150 @r=`${PWD_COMMAND}`; export r; \
29151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29152 cd stageprofile-gcc && \
29153 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
29154 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
29156 profiledbootstrap: all-bootstrap configure-gcc
29157 @r=`${PWD_COMMAND}`; export r; \
29158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 echo "Bootstrapping the compiler"; \
29162 $(MAKE) stageprofile-bubble distclean-stagefeedback stageprofile-start
29163 @r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
29166 echo "Building runtime libraries and training compiler"; \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
29168 @r=`${PWD_COMMAND}`; export r; \
29169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29172 echo "Building feedback based compiler"; \
29173 $(MAKE) stagefeedback-bubble stagefeedback-end
29175 @endif gcc-bootstrap
29177 # --------------------------------------
29178 # Dependencies between different modules
29179 # --------------------------------------
29181 # There are two types of dependencies here: 'hard' dependencies, where one
29182 # module simply won't build without the other; and 'soft' dependencies, where
29183 # if the depended-on module is missing, the depending module will do without
29184 # or find a substitute somewhere (perhaps installed). Soft dependencies
29185 # are specified by depending on a 'maybe-' target. If you're not sure,
29186 # it's safer to use a soft dependency.
29189 all-build-bison: maybe-all-build-texinfo
29190 all-build-flex: maybe-all-build-texinfo
29191 all-build-libiberty: maybe-all-build-texinfo
29192 all-build-m4: maybe-all-build-libiberty maybe-all-build-texinfo
29194 # Host modules specific to gcc.
29195 # GCC needs to identify certain tools.
29196 # GCC also needs the information exported by the intl configure script.
29197 configure-gcc: maybe-configure-intl maybe-configure-binutils maybe-configure-gas maybe-configure-ld maybe-configure-bison maybe-configure-flex
29198 all-gcc: maybe-all-libiberty maybe-all-intl maybe-all-texinfo maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-binutils maybe-all-gas maybe-all-ld maybe-all-zlib maybe-all-libbanshee maybe-all-libcpp
29199 configure-libcpp: maybe-configure-libiberty maybe-configure-intl
29200 all-libcpp: maybe-all-libiberty maybe-all-intl
29201 # This is a slightly kludgy method of getting dependencies on
29202 # all-build-libiberty correct; it would be better to build it every time.
29203 all-gcc: maybe-all-build-libiberty
29204 all-bootstrap: maybe-all-binutils maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-gas maybe-all-intl maybe-all-ld maybe-all-libcpp maybe-all-libbanshee maybe-all-libiberty maybe-all-texinfo maybe-all-zlib
29206 # Host modules specific to gdb.
29207 # GDB needs to know that the simulator is being built.
29208 configure-gdb: maybe-configure-itcl maybe-configure-tcl maybe-configure-tk maybe-configure-sim
29210 all-gdb: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-mmalloc maybe-all-readline maybe-all-bison maybe-all-byacc maybe-all-sim $(gdbnlmrequirements) $(GDB_TK)
29211 install-gdb: maybe-install-tcl maybe-install-tk maybe-install-itcl maybe-install-tix maybe-install-libgui
29212 configure-libgui: maybe-configure-tcl maybe-configure-tk
29213 all-libgui: maybe-all-tcl maybe-all-tk maybe-all-itcl
29215 # Host modules specific to binutils.
29216 configure-bfd: configure-libiberty
29217 all-bfd: maybe-all-libiberty maybe-all-intl
29218 all-binutils: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-flex maybe-all-bison maybe-all-byacc maybe-all-intl
29219 # We put install-opcodes before install-binutils because the installed
29220 # binutils might be on PATH, and they might need the shared opcodes
29222 install-binutils: maybe-install-opcodes
29223 # libopcodes depends on libbfd
29224 install-opcodes: maybe-install-bfd
29225 all-gas: maybe-all-libiberty maybe-all-opcodes maybe-all-bfd maybe-all-intl
29226 all-gprof: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-intl
29227 all-ld: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-bison maybe-all-byacc maybe-all-flex maybe-all-intl
29228 all-opcodes: maybe-all-bfd maybe-all-libiberty
29230 # Other host modules in the 'src' repository.
29231 all-dejagnu: maybe-all-tcl maybe-all-expect maybe-all-tk
29232 configure-expect: maybe-configure-tcl maybe-configure-tk
29233 all-expect: maybe-all-tcl maybe-all-tk
29234 configure-itcl: maybe-configure-tcl maybe-configure-tk
29235 all-itcl: maybe-all-tcl maybe-all-tk
29236 # We put install-tcl before install-itcl because itcl wants to run a
29237 # program on installation which uses the Tcl libraries.
29238 install-itcl: maybe-install-tcl
29239 all-sid: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-tcl maybe-all-tk
29240 install-sid: maybe-install-tcl maybe-install-tk
29241 all-sim: maybe-all-libiberty maybe-all-bfd maybe-all-opcodes maybe-all-readline maybe-configure-gdb
29242 configure-tk: maybe-configure-tcl
29243 all-tk: maybe-all-tcl
29244 configure-tix: maybe-configure-tcl maybe-configure-tk
29245 all-tix: maybe-all-tcl maybe-all-tk
29246 all-texinfo: maybe-all-libiberty
29248 # Other host modules. Warning, these are not well tested.
29249 all-autoconf: maybe-all-m4 maybe-all-texinfo
29250 all-automake: maybe-all-m4 maybe-all-texinfo
29251 all-bison: maybe-all-texinfo
29252 all-diff: maybe-all-libiberty
29253 all-fastjar: maybe-all-zlib maybe-all-libiberty
29254 all-fileutils: maybe-all-libiberty
29255 all-flex: maybe-all-libiberty maybe-all-bison maybe-all-byacc
29256 all-gzip: maybe-all-libiberty
29257 all-hello: maybe-all-libiberty
29258 all-m4: maybe-all-libiberty maybe-all-texinfo
29259 all-make: maybe-all-libiberty maybe-all-intl
29260 all-patch: maybe-all-libiberty
29261 all-prms: maybe-all-libiberty
29262 all-recode: maybe-all-libiberty
29263 all-sed: maybe-all-libiberty
29264 all-send-pr: maybe-all-prms
29265 all-tar: maybe-all-libiberty
29266 all-uudecode: maybe-all-libiberty
29268 ALL_GCC = maybe-all-gcc
29269 ALL_GCC_C = $(ALL_GCC) maybe-all-target-newlib maybe-all-target-libgloss
29270 ALL_GCC_CXX = $(ALL_GCC_C) maybe-all-target-libstdc++-v3
29272 # Target modules specific to gcc.
29273 configure-target-boehm-gc: $(ALL_GCC_C) maybe-configure-target-qthreads
29274 configure-target-fastjar: maybe-configure-target-zlib
29275 all-target-fastjar: maybe-all-target-zlib maybe-all-target-libiberty
29276 configure-target-libada: $(ALL_GCC_C)
29277 configure-target-libgfortran: $(ALL_GCC_C)
29278 configure-target-libffi: $(ALL_GCC_C)
29279 configure-target-libjava: $(ALL_GCC_C) maybe-configure-target-zlib maybe-configure-target-boehm-gc maybe-configure-target-qthreads maybe-configure-target-libffi
29280 all-target-libjava: maybe-all-fastjar maybe-all-target-zlib maybe-all-target-boehm-gc maybe-all-target-qthreads maybe-all-target-libffi
29281 configure-target-libobjc: $(ALL_GCC_C)
29282 all-target-libobjc: maybe-all-target-libiberty
29283 configure-target-libstdc++-v3: $(ALL_GCC_C)
29284 all-target-libstdc++-v3: maybe-all-target-libiberty
29285 configure-target-zlib: $(ALL_GCC_C)
29287 # Target modules in the 'src' repository.
29288 configure-target-examples: $(ALL_GCC_C)
29289 configure-target-libgloss: $(ALL_GCC)
29290 all-target-libgloss: maybe-configure-target-newlib
29291 configure-target-libiberty: $(ALL_GCC)
29292 configure-target-libtermcap: $(ALL_GCC_C)
29293 configure-target-newlib: $(ALL_GCC)
29294 configure-target-rda: $(ALL_GCC_C)
29295 configure-target-winsup: $(ALL_GCC_C)
29296 all-target-winsup: maybe-all-target-libiberty maybe-all-target-libtermcap
29298 # Other target modules. Warning, these are not well tested.
29299 configure-target-gperf: $(ALL_GCC_CXX)
29300 all-target-gperf: maybe-all-target-libiberty maybe-all-target-libstdc++-v3
29301 configure-target-qthreads: $(ALL_GCC_C)
29303 # Serialization dependencies. Host configures don't work well in parallel to
29304 # each other, due to contention over config.cache. Target configures and
29305 # build configures are similar.
29306 @serialization_dependencies@
29308 # --------------------------------
29309 # Regenerating top level configury
29310 # --------------------------------
29312 # Multilib.out tells target dirs what multilibs they should build.
29313 # There is really only one copy. We use the 'timestamp' method to
29314 # work around various timestamp bugs on some systems.
29315 # We use move-if-change so that it's only considered updated when it
29316 # actually changes, because it has to depend on a phony target.
29317 multilib.out: maybe-all-gcc
29318 @r=`${PWD_COMMAND}`; export r; \
29319 echo "Checking multilib configuration..."; \
29320 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
29321 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
29323 # Rebuilding Makefile.in, using autogen.
29325 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
29326 cd $(srcdir) && $(AUTOGEN) Makefile.def
29328 # Rebuilding Makefile.
29329 Makefile: $(srcdir)/Makefile.in config.status
29330 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
29332 config.status: configure $(gcc_version_trigger)
29333 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
29335 # Rebuilding configure.
29336 AUTOCONF = autoconf
29337 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
29338 cd $(srcdir) && $(AUTOCONF)
29340 # ------------------------------
29341 # Special directives to GNU Make
29342 # ------------------------------
29344 # Don't pass command-line variables to submakes.
29348 # end of Makefile.in