* elf64-ppc.c (func_desc_adjust): Give undefined dot-symbols a value
[binutils.git] / Makefile.in
blobfa9432ba26d8702f44d6aea7e37eefb9d0b76539
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 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
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
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
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@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
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
117 # re-runs configure.
118 BASE_EXPORTS = \
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.
128 BUILD_EXPORTS = \
129 $(BASE_EXPORTS) \
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.
153 HOST_EXPORTS = \
154 $(BASE_EXPORTS) \
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 = \
177 $(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 = \
192 $(BASE_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;
218 # Where to find GMP
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
237 # environment.
238 CC_FOR_BUILD = @CC_FOR_BUILD@
239 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
241 CXX_FOR_BUILD = $(CXX)
243 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
244 # here so that they can be overridden by Makefile fragments.
245 BUILD_PREFIX = @BUILD_PREFIX@
246 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
248 CONFIGURED_BISON = @CONFIGURED_BISON@
249 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
250 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
251 else \
252 echo ${CONFIGURED_BISON} ; \
255 CONFIGURED_YACC = @CONFIGURED_YACC@
256 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
258 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
260 else \
261 echo ${CONFIGURED_YACC} ; \
264 CONFIGURED_FLEX = @CONFIGURED_FLEX@
265 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_FLEX} ; fi`
269 CONFIGURED_LEX = @CONFIGURED_LEX@
270 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
272 else echo ${CONFIGURED_LEX} ; fi`
274 CONFIGURED_M4 = @CONFIGURED_M4@
275 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
276 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
277 else echo ${CONFIGURED_M4} ; fi`
279 # For an installed makeinfo, we require it to be from texinfo 4.2 or
280 # higher, else we use the "missing" dummy. We also pass the subdirectory
281 # makeinfo even if only the Makefile is there, because Texinfo builds its
282 # manual when made, and it requires its own version.
283 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
284 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
286 else if (${CONFIGURED_MAKEINFO} --version \
287 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
288 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
290 # This just becomes part of the MAKEINFO definition passed down to
291 # sub-makes. It lets flags be given on the command line while still
292 # using the makeinfo from the object tree.
293 # (Default to avoid splitting info files by setting the threshold high.)
294 MAKEINFOFLAGS = --split-size=5000000
296 EXPECT = `if [ -f $$r/expect/expect ] ; \
297 then echo $$r/expect/expect ; \
298 else echo expect ; fi`
300 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
301 then echo $$s/dejagnu/runtest ; \
302 else echo runtest ; fi`
304 # ---------------------------------------------
305 # Programs producing files for the HOST machine
306 # ---------------------------------------------
308 # This is the list of directories that may be needed in RPATH_ENVVAR
309 # so that programs built for the host machine work.
310 HOST_LIB_PATH = $$r/bfd:$$r/opcodes
312 AS = @AS@
314 AR = @AR@
315 AR_FLAGS = rc
317 CC = @CC@
318 CFLAGS = @CFLAGS@
319 LIBCFLAGS = $(CFLAGS)
321 CXX = @CXX@
322 CXXFLAGS = @CXXFLAGS@
323 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
325 DLLTOOL = @DLLTOOL@
327 NM = @NM@
329 LD = @LD@
330 LDFLAGS =
332 RANLIB = @RANLIB@
334 WINDRES = @WINDRES@
336 PICFLAG =
338 # -----------------------------------------------
339 # Programs producing files for the TARGET machine
340 # -----------------------------------------------
342 # This is the list of directories that may be needed in RPATH_ENVVAR
343 # so that prorgams built for the target machine work.
344 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
346 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
348 AR_FOR_TARGET=@AR_FOR_TARGET@
349 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
350 USUAL_AR_FOR_TARGET = ` \
351 if [ -f $$r/binutils/ar ] ; then \
352 echo $$r/binutils/ar ; \
353 else \
354 if [ '$(host)' = '$(target)' ] ; then \
355 echo $(AR); \
356 else \
357 echo $(CONFIGURED_AR_FOR_TARGET) ; \
358 fi; \
361 AS_FOR_TARGET=@AS_FOR_TARGET@
362 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
363 USUAL_AS_FOR_TARGET = ` \
364 if [ -f $$r/gas/as-new ] ; then \
365 echo $$r/gas/as-new ; \
366 elif [ -f $$r/gcc/xgcc ]; then \
367 $(CC_FOR_TARGET) -print-prog-name=as ; \
368 else \
369 if [ '$(host)' = '$(target)' ] ; then \
370 echo $(AS); \
371 else \
372 echo $(CONFIGURED_AS_FOR_TARGET) ; \
373 fi; \
376 CC_FOR_TARGET = @CC_FOR_TARGET@
377 # During gcc bootstrap, if we use some random cc for stage1 then
378 # CFLAGS will be just -g. We want to ensure that TARGET libraries
379 # (which we know are built with gcc) are built with optimizations so
380 # prepend -O2 when setting CFLAGS_FOR_TARGET.
381 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
382 # If GCC_FOR_TARGET is not overriden on the command line, then this
383 # variable is passed down to the gcc Makefile, where it is used to
384 # build libgcc2.a. We define it here so that it can itself be
385 # overridden on the command line.
386 GCC_FOR_TARGET=@GCC_FOR_TARGET@
387 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) $$r/gcc/xgcc -B$$r/gcc/ $(FLAGS_FOR_TARGET)
388 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
390 CXX_FOR_TARGET = @CXX_FOR_TARGET@
391 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
392 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
393 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
394 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
395 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
397 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
398 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
399 USUAL_DLLTOOL_FOR_TARGET = ` \
400 if [ -f $$r/binutils/dlltool ] ; then \
401 echo $$r/binutils/dlltool ; \
402 else \
403 if [ '$(host)' = '$(target)' ] ; then \
404 echo $(DLLTOOL); \
405 else \
406 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
407 fi; \
410 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
411 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
413 LD_FOR_TARGET=@LD_FOR_TARGET@
414 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
415 USUAL_LD_FOR_TARGET = ` \
416 if [ -f $$r/ld/ld-new ] ; then \
417 echo $$r/ld/ld-new ; \
418 elif [ -f $$r/gcc/xgcc ]; then \
419 $(CC_FOR_TARGET) -print-prog-name=ld ; \
420 else \
421 if [ '$(host)' = '$(target)' ] ; then \
422 echo $(LD); \
423 else \
424 echo $(CONFIGURED_LD_FOR_TARGET) ; \
425 fi; \
428 LDFLAGS_FOR_TARGET =
430 NM_FOR_TARGET=@NM_FOR_TARGET@
431 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
432 USUAL_NM_FOR_TARGET = ` \
433 if [ -f $$r/binutils/nm-new ] ; then \
434 echo $$r/binutils/nm-new ; \
435 elif [ -f $$r/gcc/xgcc ]; then \
436 $(CC_FOR_TARGET) -print-prog-name=nm ; \
437 else \
438 if [ '$(host)' = '$(target)' ] ; then \
439 echo $(NM); \
440 else \
441 echo $(CONFIGURED_NM_FOR_TARGET) ; \
442 fi; \
445 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
446 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
447 USUAL_RANLIB_FOR_TARGET = ` \
448 if [ -f $$r/binutils/ranlib ] ; then \
449 echo $$r/binutils/ranlib ; \
450 else \
451 if [ '$(host)' = '$(target)' ] ; then \
452 if [ x'$(RANLIB)' != x ]; then \
453 echo $(RANLIB); \
454 else \
455 echo ranlib; \
456 fi; \
457 else \
458 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
459 fi; \
462 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
463 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
464 USUAL_WINDRES_FOR_TARGET = ` \
465 if [ -f $$r/binutils/windres ] ; then \
466 echo $$r/binutils/windres ; \
467 else \
468 if [ '$(host)' = '$(target)' ] ; then \
469 echo $(WINDRES); \
470 else \
471 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
472 fi; \
475 PICFLAG_FOR_TARGET =
477 # ------------------------------------
478 # Miscellaneous targets and flag lists
479 # ------------------------------------
481 @if gcc-bootstrap
482 # Let's leave this as the first rule in the file until toplevel
483 # bootstrap is fleshed out completely.
484 sorry:
485 @echo Toplevel bootstrap temporarily out of commission.
486 @echo Please reconfigure without --enable-bootstrap
487 @endif gcc-bootstrap
489 # The first rule in the file had better be this one. Don't put any above it.
490 # This lives here to allow makefile fragments to contain dependencies.
491 @default_target@:
493 #### host and target specific makefile fragments come in here.
494 @target_makefile_frag@
495 @alphaieee_frag@
496 @ospace_frag@
497 @host_makefile_frag@
500 # Flags to pass down to all sub-makes.
501 BASE_FLAGS_TO_PASS = \
502 "DESTDIR=$(DESTDIR)" \
503 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
504 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
505 "bindir=$(bindir)" \
506 "datadir=$(datadir)" \
507 "exec_prefix=$(exec_prefix)" \
508 "includedir=$(includedir)" \
509 "infodir=$(infodir)" \
510 "libdir=$(libdir)" \
511 "libexecdir=$(libexecdir)" \
512 "lispdir=$(lispdir)" \
513 "libstdcxx_incdir=$(libstdcxx_incdir)" \
514 "libsubdir=$(libsubdir)" \
515 "localstatedir=$(localstatedir)" \
516 "mandir=$(mandir)" \
517 "oldincludedir=$(oldincludedir)" \
518 "prefix=$(prefix)" \
519 "sbindir=$(sbindir)" \
520 "sharedstatedir=$(sharedstatedir)" \
521 "sysconfdir=$(sysconfdir)" \
522 "tooldir=$(tooldir)" \
523 "build_tooldir=$(build_tooldir)" \
524 "gxx_include_dir=$(gxx_include_dir)" \
525 "gcc_version=$(gcc_version)" \
526 "gcc_version_trigger=$(gcc_version_trigger)" \
527 "target_alias=$(target_alias)" \
528 "BISON=$(BISON)" \
529 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
530 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
531 "EXPECT=$(EXPECT)" \
532 "FLEX=$(FLEX)" \
533 "INSTALL=$(INSTALL)" \
534 "INSTALL_DATA=$(INSTALL_DATA)" \
535 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
536 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
537 "LEX=$(LEX)" \
538 "M4=$(M4)" \
539 "MAKE=$(MAKE)" \
540 "RUNTEST=$(RUNTEST)" \
541 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
542 "SHELL=$(SHELL)" \
543 "YACC=$(YACC)" \
544 "AR_FLAGS=$(AR_FLAGS)" \
545 "CFLAGS=$(CFLAGS)" \
546 "CXXFLAGS=$(CXXFLAGS)" \
547 "LDFLAGS=$(LDFLAGS)" \
548 "LIBCFLAGS=$(LIBCFLAGS)" \
549 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
550 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
551 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
552 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
553 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
554 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
555 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
556 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
557 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
558 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
559 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
560 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
561 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
562 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
563 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
564 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
565 "CONFIG_SHELL=$(SHELL)" \
566 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
568 # For any flags above that may contain shell code that varies from one
569 # target library to another. When doing recursive invocations of the
570 # top-level Makefile, we don't want the outer make to evaluate them,
571 # so we pass these variables down unchanged. They must not contain
572 # single nor double quotes.
573 RECURSE_FLAGS = \
574 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
575 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
577 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
579 # Flags to pass down to most sub-makes, in which we're building with
580 # the host environment.
581 EXTRA_HOST_FLAGS = \
582 'AR=$(AR)' \
583 'AS=$(AS)' \
584 'CC=$(CC)' \
585 'CXX=$(CXX)' \
586 'DLLTOOL=$(DLLTOOL)' \
587 'LD=$(LD)' \
588 'NM=$(NM)' \
589 'RANLIB=$(RANLIB)' \
590 'WINDRES=$(WINDRES)'
592 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
594 # Flags that are concerned with the location of the X11 include files
595 # and library files
597 # NOTE: until the top-level is getting the values via autoconf, it only
598 # causes problems to have this top-level Makefile overriding the autoconf-set
599 # values in child directories. Only variables that don't conflict with
600 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
602 X11_FLAGS_TO_PASS = \
603 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
604 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
606 # Flags to pass down to makes which are built with the target environment.
607 # The double $ decreases the length of the command line; the variables
608 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
609 EXTRA_TARGET_FLAGS = \
610 'AR=$$(AR_FOR_TARGET)' \
611 'AS=$$(AS_FOR_TARGET)' \
612 'CC=$$(CC_FOR_TARGET)' \
613 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
614 'CXX=$$(CXX_FOR_TARGET)' \
615 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
616 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
617 'LD=$$(LD_FOR_TARGET)' \
618 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
619 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
620 'NM=$$(NM_FOR_TARGET)' \
621 'RANLIB=$$(RANLIB_FOR_TARGET)' \
622 'WINDRES=$$(WINDRES_FOR_TARGET)'
624 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
626 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
627 # unfortunately needs the native compiler and the target ar and
628 # ranlib.
629 # If any variables are added here, they must be added to do-*, below.
630 # The BUILD_* variables are a special case, which are used for the gcc
631 # cross-building scheme.
632 EXTRA_GCC_FLAGS = \
633 'BUILD_PREFIX=$(BUILD_PREFIX)' \
634 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
635 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
636 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
637 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
638 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
639 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
640 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
641 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
642 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
643 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
644 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
645 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
647 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
649 .PHONY: configure-host
650 configure-host: \
651 maybe-configure-ash \
652 maybe-configure-autoconf \
653 maybe-configure-automake \
654 maybe-configure-bash \
655 maybe-configure-bfd \
656 maybe-configure-opcodes \
657 maybe-configure-binutils \
658 maybe-configure-bison \
659 maybe-configure-byacc \
660 maybe-configure-bzip2 \
661 maybe-configure-dejagnu \
662 maybe-configure-diff \
663 maybe-configure-dosutils \
664 maybe-configure-etc \
665 maybe-configure-fastjar \
666 maybe-configure-fileutils \
667 maybe-configure-findutils \
668 maybe-configure-find \
669 maybe-configure-flex \
670 maybe-configure-gas \
671 maybe-configure-gcc \
672 maybe-configure-gawk \
673 maybe-configure-gettext \
674 maybe-configure-gnuserv \
675 maybe-configure-gprof \
676 maybe-configure-gzip \
677 maybe-configure-hello \
678 maybe-configure-indent \
679 maybe-configure-intl \
680 maybe-configure-tcl \
681 maybe-configure-itcl \
682 maybe-configure-ld \
683 maybe-configure-libcpp \
684 maybe-configure-libgui \
685 maybe-configure-libbanshee \
686 maybe-configure-libiberty \
687 maybe-configure-libtool \
688 maybe-configure-m4 \
689 maybe-configure-make \
690 maybe-configure-mmalloc \
691 maybe-configure-patch \
692 maybe-configure-perl \
693 maybe-configure-prms \
694 maybe-configure-rcs \
695 maybe-configure-readline \
696 maybe-configure-release \
697 maybe-configure-recode \
698 maybe-configure-sed \
699 maybe-configure-send-pr \
700 maybe-configure-shellutils \
701 maybe-configure-sid \
702 maybe-configure-sim \
703 maybe-configure-tar \
704 maybe-configure-texinfo \
705 maybe-configure-textutils \
706 maybe-configure-time \
707 maybe-configure-uudecode \
708 maybe-configure-wdiff \
709 maybe-configure-zip \
710 maybe-configure-zlib \
711 maybe-configure-gdb \
712 maybe-configure-expect \
713 maybe-configure-guile \
714 maybe-configure-tk \
715 maybe-configure-libtermcap \
716 maybe-configure-utils
717 .PHONY: configure-target
718 configure-target: \
719 maybe-configure-target-libstdc++-v3 \
720 maybe-configure-target-libmudflap \
721 maybe-configure-target-newlib \
722 maybe-configure-target-libgfortran \
723 maybe-configure-target-libobjc \
724 maybe-configure-target-libtermcap \
725 maybe-configure-target-winsup \
726 maybe-configure-target-libgloss \
727 maybe-configure-target-libiberty \
728 maybe-configure-target-gperf \
729 maybe-configure-target-examples \
730 maybe-configure-target-libffi \
731 maybe-configure-target-libjava \
732 maybe-configure-target-zlib \
733 maybe-configure-target-boehm-gc \
734 maybe-configure-target-qthreads \
735 maybe-configure-target-rda \
736 maybe-configure-target-libada
738 # The target built for a native non-bootstrap build.
739 .PHONY: all
740 all: unstage all-host all-target stage
742 .PHONY: all-build
743 all-build: \
744 maybe-all-build-libiberty \
745 maybe-all-build-bison \
746 maybe-all-build-byacc \
747 maybe-all-build-flex \
748 maybe-all-build-m4 \
749 maybe-all-build-texinfo
750 .PHONY: all-host
751 all-host: \
752 maybe-all-ash \
753 maybe-all-autoconf \
754 maybe-all-automake \
755 maybe-all-bash \
756 maybe-all-bfd \
757 maybe-all-opcodes \
758 maybe-all-binutils \
759 maybe-all-bison \
760 maybe-all-byacc \
761 maybe-all-bzip2 \
762 maybe-all-dejagnu \
763 maybe-all-diff \
764 maybe-all-dosutils \
765 maybe-all-etc \
766 maybe-all-fastjar \
767 maybe-all-fileutils \
768 maybe-all-findutils \
769 maybe-all-find \
770 maybe-all-flex \
771 maybe-all-gas \
772 maybe-all-gcc \
773 maybe-all-gawk \
774 maybe-all-gettext \
775 maybe-all-gnuserv \
776 maybe-all-gprof \
777 maybe-all-gzip \
778 maybe-all-hello \
779 maybe-all-indent \
780 maybe-all-intl \
781 maybe-all-tcl \
782 maybe-all-itcl \
783 maybe-all-ld \
784 maybe-all-libcpp \
785 maybe-all-libgui \
786 maybe-all-libbanshee \
787 maybe-all-libiberty \
788 maybe-all-libtool \
789 maybe-all-m4 \
790 maybe-all-make \
791 maybe-all-mmalloc \
792 maybe-all-patch \
793 maybe-all-perl \
794 maybe-all-prms \
795 maybe-all-rcs \
796 maybe-all-readline \
797 maybe-all-release \
798 maybe-all-recode \
799 maybe-all-sed \
800 maybe-all-send-pr \
801 maybe-all-shellutils \
802 maybe-all-sid \
803 maybe-all-sim \
804 maybe-all-tar \
805 maybe-all-texinfo \
806 maybe-all-textutils \
807 maybe-all-time \
808 maybe-all-uudecode \
809 maybe-all-wdiff \
810 maybe-all-zip \
811 maybe-all-zlib \
812 maybe-all-gdb \
813 maybe-all-expect \
814 maybe-all-guile \
815 maybe-all-tk \
816 maybe-all-libtermcap \
817 maybe-all-utils
818 .PHONY: all-target
819 all-target: \
820 maybe-all-target-libstdc++-v3 \
821 maybe-all-target-libmudflap \
822 maybe-all-target-newlib \
823 maybe-all-target-libgfortran \
824 maybe-all-target-libobjc \
825 maybe-all-target-libtermcap \
826 maybe-all-target-winsup \
827 maybe-all-target-libgloss \
828 maybe-all-target-libiberty \
829 maybe-all-target-gperf \
830 maybe-all-target-examples \
831 maybe-all-target-libffi \
832 maybe-all-target-libjava \
833 maybe-all-target-zlib \
834 maybe-all-target-boehm-gc \
835 maybe-all-target-qthreads \
836 maybe-all-target-rda \
837 maybe-all-target-libada
839 # Do a target for all the subdirectories. A ``make do-X'' will do a
840 # ``make X'' in all subdirectories (because, in general, there is a
841 # dependency (below) of X upon do-X, a ``make X'' will also do this,
842 # but it may do additional work as well).
844 .PHONY: do-info
845 do-info: unstage info-host info-target stage
847 .PHONY: info-host
848 info-host: \
849 maybe-info-ash \
850 maybe-info-autoconf \
851 maybe-info-automake \
852 maybe-info-bash \
853 maybe-info-bfd \
854 maybe-info-opcodes \
855 maybe-info-binutils \
856 maybe-info-bison \
857 maybe-info-byacc \
858 maybe-info-bzip2 \
859 maybe-info-dejagnu \
860 maybe-info-diff \
861 maybe-info-dosutils \
862 maybe-info-etc \
863 maybe-info-fastjar \
864 maybe-info-fileutils \
865 maybe-info-findutils \
866 maybe-info-find \
867 maybe-info-flex \
868 maybe-info-gas \
869 maybe-info-gcc \
870 maybe-info-gawk \
871 maybe-info-gettext \
872 maybe-info-gnuserv \
873 maybe-info-gprof \
874 maybe-info-gzip \
875 maybe-info-hello \
876 maybe-info-indent \
877 maybe-info-intl \
878 maybe-info-tcl \
879 maybe-info-itcl \
880 maybe-info-ld \
881 maybe-info-libcpp \
882 maybe-info-libgui \
883 maybe-info-libbanshee \
884 maybe-info-libiberty \
885 maybe-info-libtool \
886 maybe-info-m4 \
887 maybe-info-make \
888 maybe-info-mmalloc \
889 maybe-info-patch \
890 maybe-info-perl \
891 maybe-info-prms \
892 maybe-info-rcs \
893 maybe-info-readline \
894 maybe-info-release \
895 maybe-info-recode \
896 maybe-info-sed \
897 maybe-info-send-pr \
898 maybe-info-shellutils \
899 maybe-info-sid \
900 maybe-info-sim \
901 maybe-info-tar \
902 maybe-info-texinfo \
903 maybe-info-textutils \
904 maybe-info-time \
905 maybe-info-uudecode \
906 maybe-info-wdiff \
907 maybe-info-zip \
908 maybe-info-zlib \
909 maybe-info-gdb \
910 maybe-info-expect \
911 maybe-info-guile \
912 maybe-info-tk \
913 maybe-info-libtermcap \
914 maybe-info-utils
916 .PHONY: info-target
917 info-target: \
918 maybe-info-target-libstdc++-v3 \
919 maybe-info-target-libmudflap \
920 maybe-info-target-newlib \
921 maybe-info-target-libgfortran \
922 maybe-info-target-libobjc \
923 maybe-info-target-libtermcap \
924 maybe-info-target-winsup \
925 maybe-info-target-libgloss \
926 maybe-info-target-libiberty \
927 maybe-info-target-gperf \
928 maybe-info-target-examples \
929 maybe-info-target-libffi \
930 maybe-info-target-libjava \
931 maybe-info-target-zlib \
932 maybe-info-target-boehm-gc \
933 maybe-info-target-qthreads \
934 maybe-info-target-rda \
935 maybe-info-target-libada
937 .PHONY: do-dvi
938 do-dvi: unstage dvi-host dvi-target stage
940 .PHONY: dvi-host
941 dvi-host: \
942 maybe-dvi-ash \
943 maybe-dvi-autoconf \
944 maybe-dvi-automake \
945 maybe-dvi-bash \
946 maybe-dvi-bfd \
947 maybe-dvi-opcodes \
948 maybe-dvi-binutils \
949 maybe-dvi-bison \
950 maybe-dvi-byacc \
951 maybe-dvi-bzip2 \
952 maybe-dvi-dejagnu \
953 maybe-dvi-diff \
954 maybe-dvi-dosutils \
955 maybe-dvi-etc \
956 maybe-dvi-fastjar \
957 maybe-dvi-fileutils \
958 maybe-dvi-findutils \
959 maybe-dvi-find \
960 maybe-dvi-flex \
961 maybe-dvi-gas \
962 maybe-dvi-gcc \
963 maybe-dvi-gawk \
964 maybe-dvi-gettext \
965 maybe-dvi-gnuserv \
966 maybe-dvi-gprof \
967 maybe-dvi-gzip \
968 maybe-dvi-hello \
969 maybe-dvi-indent \
970 maybe-dvi-intl \
971 maybe-dvi-tcl \
972 maybe-dvi-itcl \
973 maybe-dvi-ld \
974 maybe-dvi-libcpp \
975 maybe-dvi-libgui \
976 maybe-dvi-libbanshee \
977 maybe-dvi-libiberty \
978 maybe-dvi-libtool \
979 maybe-dvi-m4 \
980 maybe-dvi-make \
981 maybe-dvi-mmalloc \
982 maybe-dvi-patch \
983 maybe-dvi-perl \
984 maybe-dvi-prms \
985 maybe-dvi-rcs \
986 maybe-dvi-readline \
987 maybe-dvi-release \
988 maybe-dvi-recode \
989 maybe-dvi-sed \
990 maybe-dvi-send-pr \
991 maybe-dvi-shellutils \
992 maybe-dvi-sid \
993 maybe-dvi-sim \
994 maybe-dvi-tar \
995 maybe-dvi-texinfo \
996 maybe-dvi-textutils \
997 maybe-dvi-time \
998 maybe-dvi-uudecode \
999 maybe-dvi-wdiff \
1000 maybe-dvi-zip \
1001 maybe-dvi-zlib \
1002 maybe-dvi-gdb \
1003 maybe-dvi-expect \
1004 maybe-dvi-guile \
1005 maybe-dvi-tk \
1006 maybe-dvi-libtermcap \
1007 maybe-dvi-utils
1009 .PHONY: dvi-target
1010 dvi-target: \
1011 maybe-dvi-target-libstdc++-v3 \
1012 maybe-dvi-target-libmudflap \
1013 maybe-dvi-target-newlib \
1014 maybe-dvi-target-libgfortran \
1015 maybe-dvi-target-libobjc \
1016 maybe-dvi-target-libtermcap \
1017 maybe-dvi-target-winsup \
1018 maybe-dvi-target-libgloss \
1019 maybe-dvi-target-libiberty \
1020 maybe-dvi-target-gperf \
1021 maybe-dvi-target-examples \
1022 maybe-dvi-target-libffi \
1023 maybe-dvi-target-libjava \
1024 maybe-dvi-target-zlib \
1025 maybe-dvi-target-boehm-gc \
1026 maybe-dvi-target-qthreads \
1027 maybe-dvi-target-rda \
1028 maybe-dvi-target-libada
1030 .PHONY: do-TAGS
1031 do-TAGS: unstage TAGS-host TAGS-target stage
1033 .PHONY: TAGS-host
1034 TAGS-host: \
1035 maybe-TAGS-ash \
1036 maybe-TAGS-autoconf \
1037 maybe-TAGS-automake \
1038 maybe-TAGS-bash \
1039 maybe-TAGS-bfd \
1040 maybe-TAGS-opcodes \
1041 maybe-TAGS-binutils \
1042 maybe-TAGS-bison \
1043 maybe-TAGS-byacc \
1044 maybe-TAGS-bzip2 \
1045 maybe-TAGS-dejagnu \
1046 maybe-TAGS-diff \
1047 maybe-TAGS-dosutils \
1048 maybe-TAGS-etc \
1049 maybe-TAGS-fastjar \
1050 maybe-TAGS-fileutils \
1051 maybe-TAGS-findutils \
1052 maybe-TAGS-find \
1053 maybe-TAGS-flex \
1054 maybe-TAGS-gas \
1055 maybe-TAGS-gcc \
1056 maybe-TAGS-gawk \
1057 maybe-TAGS-gettext \
1058 maybe-TAGS-gnuserv \
1059 maybe-TAGS-gprof \
1060 maybe-TAGS-gzip \
1061 maybe-TAGS-hello \
1062 maybe-TAGS-indent \
1063 maybe-TAGS-intl \
1064 maybe-TAGS-tcl \
1065 maybe-TAGS-itcl \
1066 maybe-TAGS-ld \
1067 maybe-TAGS-libcpp \
1068 maybe-TAGS-libgui \
1069 maybe-TAGS-libbanshee \
1070 maybe-TAGS-libiberty \
1071 maybe-TAGS-libtool \
1072 maybe-TAGS-m4 \
1073 maybe-TAGS-make \
1074 maybe-TAGS-mmalloc \
1075 maybe-TAGS-patch \
1076 maybe-TAGS-perl \
1077 maybe-TAGS-prms \
1078 maybe-TAGS-rcs \
1079 maybe-TAGS-readline \
1080 maybe-TAGS-release \
1081 maybe-TAGS-recode \
1082 maybe-TAGS-sed \
1083 maybe-TAGS-send-pr \
1084 maybe-TAGS-shellutils \
1085 maybe-TAGS-sid \
1086 maybe-TAGS-sim \
1087 maybe-TAGS-tar \
1088 maybe-TAGS-texinfo \
1089 maybe-TAGS-textutils \
1090 maybe-TAGS-time \
1091 maybe-TAGS-uudecode \
1092 maybe-TAGS-wdiff \
1093 maybe-TAGS-zip \
1094 maybe-TAGS-zlib \
1095 maybe-TAGS-gdb \
1096 maybe-TAGS-expect \
1097 maybe-TAGS-guile \
1098 maybe-TAGS-tk \
1099 maybe-TAGS-libtermcap \
1100 maybe-TAGS-utils
1102 .PHONY: TAGS-target
1103 TAGS-target: \
1104 maybe-TAGS-target-libstdc++-v3 \
1105 maybe-TAGS-target-libmudflap \
1106 maybe-TAGS-target-newlib \
1107 maybe-TAGS-target-libgfortran \
1108 maybe-TAGS-target-libobjc \
1109 maybe-TAGS-target-libtermcap \
1110 maybe-TAGS-target-winsup \
1111 maybe-TAGS-target-libgloss \
1112 maybe-TAGS-target-libiberty \
1113 maybe-TAGS-target-gperf \
1114 maybe-TAGS-target-examples \
1115 maybe-TAGS-target-libffi \
1116 maybe-TAGS-target-libjava \
1117 maybe-TAGS-target-zlib \
1118 maybe-TAGS-target-boehm-gc \
1119 maybe-TAGS-target-qthreads \
1120 maybe-TAGS-target-rda \
1121 maybe-TAGS-target-libada
1123 .PHONY: do-install-info
1124 do-install-info: unstage install-info-host install-info-target stage
1126 .PHONY: install-info-host
1127 install-info-host: \
1128 maybe-install-info-ash \
1129 maybe-install-info-autoconf \
1130 maybe-install-info-automake \
1131 maybe-install-info-bash \
1132 maybe-install-info-bfd \
1133 maybe-install-info-opcodes \
1134 maybe-install-info-binutils \
1135 maybe-install-info-bison \
1136 maybe-install-info-byacc \
1137 maybe-install-info-bzip2 \
1138 maybe-install-info-dejagnu \
1139 maybe-install-info-diff \
1140 maybe-install-info-dosutils \
1141 maybe-install-info-etc \
1142 maybe-install-info-fastjar \
1143 maybe-install-info-fileutils \
1144 maybe-install-info-findutils \
1145 maybe-install-info-find \
1146 maybe-install-info-flex \
1147 maybe-install-info-gas \
1148 maybe-install-info-gcc \
1149 maybe-install-info-gawk \
1150 maybe-install-info-gettext \
1151 maybe-install-info-gnuserv \
1152 maybe-install-info-gprof \
1153 maybe-install-info-gzip \
1154 maybe-install-info-hello \
1155 maybe-install-info-indent \
1156 maybe-install-info-intl \
1157 maybe-install-info-tcl \
1158 maybe-install-info-itcl \
1159 maybe-install-info-ld \
1160 maybe-install-info-libcpp \
1161 maybe-install-info-libgui \
1162 maybe-install-info-libbanshee \
1163 maybe-install-info-libiberty \
1164 maybe-install-info-libtool \
1165 maybe-install-info-m4 \
1166 maybe-install-info-make \
1167 maybe-install-info-mmalloc \
1168 maybe-install-info-patch \
1169 maybe-install-info-perl \
1170 maybe-install-info-prms \
1171 maybe-install-info-rcs \
1172 maybe-install-info-readline \
1173 maybe-install-info-release \
1174 maybe-install-info-recode \
1175 maybe-install-info-sed \
1176 maybe-install-info-send-pr \
1177 maybe-install-info-shellutils \
1178 maybe-install-info-sid \
1179 maybe-install-info-sim \
1180 maybe-install-info-tar \
1181 maybe-install-info-texinfo \
1182 maybe-install-info-textutils \
1183 maybe-install-info-time \
1184 maybe-install-info-uudecode \
1185 maybe-install-info-wdiff \
1186 maybe-install-info-zip \
1187 maybe-install-info-zlib \
1188 maybe-install-info-gdb \
1189 maybe-install-info-expect \
1190 maybe-install-info-guile \
1191 maybe-install-info-tk \
1192 maybe-install-info-libtermcap \
1193 maybe-install-info-utils
1195 .PHONY: install-info-target
1196 install-info-target: \
1197 maybe-install-info-target-libstdc++-v3 \
1198 maybe-install-info-target-libmudflap \
1199 maybe-install-info-target-newlib \
1200 maybe-install-info-target-libgfortran \
1201 maybe-install-info-target-libobjc \
1202 maybe-install-info-target-libtermcap \
1203 maybe-install-info-target-winsup \
1204 maybe-install-info-target-libgloss \
1205 maybe-install-info-target-libiberty \
1206 maybe-install-info-target-gperf \
1207 maybe-install-info-target-examples \
1208 maybe-install-info-target-libffi \
1209 maybe-install-info-target-libjava \
1210 maybe-install-info-target-zlib \
1211 maybe-install-info-target-boehm-gc \
1212 maybe-install-info-target-qthreads \
1213 maybe-install-info-target-rda \
1214 maybe-install-info-target-libada
1216 .PHONY: do-installcheck
1217 do-installcheck: unstage installcheck-host installcheck-target stage
1219 .PHONY: installcheck-host
1220 installcheck-host: \
1221 maybe-installcheck-ash \
1222 maybe-installcheck-autoconf \
1223 maybe-installcheck-automake \
1224 maybe-installcheck-bash \
1225 maybe-installcheck-bfd \
1226 maybe-installcheck-opcodes \
1227 maybe-installcheck-binutils \
1228 maybe-installcheck-bison \
1229 maybe-installcheck-byacc \
1230 maybe-installcheck-bzip2 \
1231 maybe-installcheck-dejagnu \
1232 maybe-installcheck-diff \
1233 maybe-installcheck-dosutils \
1234 maybe-installcheck-etc \
1235 maybe-installcheck-fastjar \
1236 maybe-installcheck-fileutils \
1237 maybe-installcheck-findutils \
1238 maybe-installcheck-find \
1239 maybe-installcheck-flex \
1240 maybe-installcheck-gas \
1241 maybe-installcheck-gcc \
1242 maybe-installcheck-gawk \
1243 maybe-installcheck-gettext \
1244 maybe-installcheck-gnuserv \
1245 maybe-installcheck-gprof \
1246 maybe-installcheck-gzip \
1247 maybe-installcheck-hello \
1248 maybe-installcheck-indent \
1249 maybe-installcheck-intl \
1250 maybe-installcheck-tcl \
1251 maybe-installcheck-itcl \
1252 maybe-installcheck-ld \
1253 maybe-installcheck-libcpp \
1254 maybe-installcheck-libgui \
1255 maybe-installcheck-libbanshee \
1256 maybe-installcheck-libiberty \
1257 maybe-installcheck-libtool \
1258 maybe-installcheck-m4 \
1259 maybe-installcheck-make \
1260 maybe-installcheck-mmalloc \
1261 maybe-installcheck-patch \
1262 maybe-installcheck-perl \
1263 maybe-installcheck-prms \
1264 maybe-installcheck-rcs \
1265 maybe-installcheck-readline \
1266 maybe-installcheck-release \
1267 maybe-installcheck-recode \
1268 maybe-installcheck-sed \
1269 maybe-installcheck-send-pr \
1270 maybe-installcheck-shellutils \
1271 maybe-installcheck-sid \
1272 maybe-installcheck-sim \
1273 maybe-installcheck-tar \
1274 maybe-installcheck-texinfo \
1275 maybe-installcheck-textutils \
1276 maybe-installcheck-time \
1277 maybe-installcheck-uudecode \
1278 maybe-installcheck-wdiff \
1279 maybe-installcheck-zip \
1280 maybe-installcheck-zlib \
1281 maybe-installcheck-gdb \
1282 maybe-installcheck-expect \
1283 maybe-installcheck-guile \
1284 maybe-installcheck-tk \
1285 maybe-installcheck-libtermcap \
1286 maybe-installcheck-utils
1288 .PHONY: installcheck-target
1289 installcheck-target: \
1290 maybe-installcheck-target-libstdc++-v3 \
1291 maybe-installcheck-target-libmudflap \
1292 maybe-installcheck-target-newlib \
1293 maybe-installcheck-target-libgfortran \
1294 maybe-installcheck-target-libobjc \
1295 maybe-installcheck-target-libtermcap \
1296 maybe-installcheck-target-winsup \
1297 maybe-installcheck-target-libgloss \
1298 maybe-installcheck-target-libiberty \
1299 maybe-installcheck-target-gperf \
1300 maybe-installcheck-target-examples \
1301 maybe-installcheck-target-libffi \
1302 maybe-installcheck-target-libjava \
1303 maybe-installcheck-target-zlib \
1304 maybe-installcheck-target-boehm-gc \
1305 maybe-installcheck-target-qthreads \
1306 maybe-installcheck-target-rda \
1307 maybe-installcheck-target-libada
1309 .PHONY: do-mostlyclean
1310 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1312 .PHONY: mostlyclean-host
1313 mostlyclean-host: \
1314 maybe-mostlyclean-ash \
1315 maybe-mostlyclean-autoconf \
1316 maybe-mostlyclean-automake \
1317 maybe-mostlyclean-bash \
1318 maybe-mostlyclean-bfd \
1319 maybe-mostlyclean-opcodes \
1320 maybe-mostlyclean-binutils \
1321 maybe-mostlyclean-bison \
1322 maybe-mostlyclean-byacc \
1323 maybe-mostlyclean-bzip2 \
1324 maybe-mostlyclean-dejagnu \
1325 maybe-mostlyclean-diff \
1326 maybe-mostlyclean-dosutils \
1327 maybe-mostlyclean-etc \
1328 maybe-mostlyclean-fastjar \
1329 maybe-mostlyclean-fileutils \
1330 maybe-mostlyclean-findutils \
1331 maybe-mostlyclean-find \
1332 maybe-mostlyclean-flex \
1333 maybe-mostlyclean-gas \
1334 maybe-mostlyclean-gcc \
1335 maybe-mostlyclean-gawk \
1336 maybe-mostlyclean-gettext \
1337 maybe-mostlyclean-gnuserv \
1338 maybe-mostlyclean-gprof \
1339 maybe-mostlyclean-gzip \
1340 maybe-mostlyclean-hello \
1341 maybe-mostlyclean-indent \
1342 maybe-mostlyclean-intl \
1343 maybe-mostlyclean-tcl \
1344 maybe-mostlyclean-itcl \
1345 maybe-mostlyclean-ld \
1346 maybe-mostlyclean-libcpp \
1347 maybe-mostlyclean-libgui \
1348 maybe-mostlyclean-libbanshee \
1349 maybe-mostlyclean-libiberty \
1350 maybe-mostlyclean-libtool \
1351 maybe-mostlyclean-m4 \
1352 maybe-mostlyclean-make \
1353 maybe-mostlyclean-mmalloc \
1354 maybe-mostlyclean-patch \
1355 maybe-mostlyclean-perl \
1356 maybe-mostlyclean-prms \
1357 maybe-mostlyclean-rcs \
1358 maybe-mostlyclean-readline \
1359 maybe-mostlyclean-release \
1360 maybe-mostlyclean-recode \
1361 maybe-mostlyclean-sed \
1362 maybe-mostlyclean-send-pr \
1363 maybe-mostlyclean-shellutils \
1364 maybe-mostlyclean-sid \
1365 maybe-mostlyclean-sim \
1366 maybe-mostlyclean-tar \
1367 maybe-mostlyclean-texinfo \
1368 maybe-mostlyclean-textutils \
1369 maybe-mostlyclean-time \
1370 maybe-mostlyclean-uudecode \
1371 maybe-mostlyclean-wdiff \
1372 maybe-mostlyclean-zip \
1373 maybe-mostlyclean-zlib \
1374 maybe-mostlyclean-gdb \
1375 maybe-mostlyclean-expect \
1376 maybe-mostlyclean-guile \
1377 maybe-mostlyclean-tk \
1378 maybe-mostlyclean-libtermcap \
1379 maybe-mostlyclean-utils
1381 .PHONY: mostlyclean-target
1382 mostlyclean-target: \
1383 maybe-mostlyclean-target-libstdc++-v3 \
1384 maybe-mostlyclean-target-libmudflap \
1385 maybe-mostlyclean-target-newlib \
1386 maybe-mostlyclean-target-libgfortran \
1387 maybe-mostlyclean-target-libobjc \
1388 maybe-mostlyclean-target-libtermcap \
1389 maybe-mostlyclean-target-winsup \
1390 maybe-mostlyclean-target-libgloss \
1391 maybe-mostlyclean-target-libiberty \
1392 maybe-mostlyclean-target-gperf \
1393 maybe-mostlyclean-target-examples \
1394 maybe-mostlyclean-target-libffi \
1395 maybe-mostlyclean-target-libjava \
1396 maybe-mostlyclean-target-zlib \
1397 maybe-mostlyclean-target-boehm-gc \
1398 maybe-mostlyclean-target-qthreads \
1399 maybe-mostlyclean-target-rda \
1400 maybe-mostlyclean-target-libada
1402 .PHONY: do-clean
1403 do-clean: unstage clean-host clean-target stage
1405 .PHONY: clean-host
1406 clean-host: \
1407 maybe-clean-ash \
1408 maybe-clean-autoconf \
1409 maybe-clean-automake \
1410 maybe-clean-bash \
1411 maybe-clean-bfd \
1412 maybe-clean-opcodes \
1413 maybe-clean-binutils \
1414 maybe-clean-bison \
1415 maybe-clean-byacc \
1416 maybe-clean-bzip2 \
1417 maybe-clean-dejagnu \
1418 maybe-clean-diff \
1419 maybe-clean-dosutils \
1420 maybe-clean-etc \
1421 maybe-clean-fastjar \
1422 maybe-clean-fileutils \
1423 maybe-clean-findutils \
1424 maybe-clean-find \
1425 maybe-clean-flex \
1426 maybe-clean-gas \
1427 maybe-clean-gcc \
1428 maybe-clean-gawk \
1429 maybe-clean-gettext \
1430 maybe-clean-gnuserv \
1431 maybe-clean-gprof \
1432 maybe-clean-gzip \
1433 maybe-clean-hello \
1434 maybe-clean-indent \
1435 maybe-clean-intl \
1436 maybe-clean-tcl \
1437 maybe-clean-itcl \
1438 maybe-clean-ld \
1439 maybe-clean-libcpp \
1440 maybe-clean-libgui \
1441 maybe-clean-libbanshee \
1442 maybe-clean-libiberty \
1443 maybe-clean-libtool \
1444 maybe-clean-m4 \
1445 maybe-clean-make \
1446 maybe-clean-mmalloc \
1447 maybe-clean-patch \
1448 maybe-clean-perl \
1449 maybe-clean-prms \
1450 maybe-clean-rcs \
1451 maybe-clean-readline \
1452 maybe-clean-release \
1453 maybe-clean-recode \
1454 maybe-clean-sed \
1455 maybe-clean-send-pr \
1456 maybe-clean-shellutils \
1457 maybe-clean-sid \
1458 maybe-clean-sim \
1459 maybe-clean-tar \
1460 maybe-clean-texinfo \
1461 maybe-clean-textutils \
1462 maybe-clean-time \
1463 maybe-clean-uudecode \
1464 maybe-clean-wdiff \
1465 maybe-clean-zip \
1466 maybe-clean-zlib \
1467 maybe-clean-gdb \
1468 maybe-clean-expect \
1469 maybe-clean-guile \
1470 maybe-clean-tk \
1471 maybe-clean-libtermcap \
1472 maybe-clean-utils
1474 .PHONY: clean-target
1475 clean-target: \
1476 maybe-clean-target-libstdc++-v3 \
1477 maybe-clean-target-libmudflap \
1478 maybe-clean-target-newlib \
1479 maybe-clean-target-libgfortran \
1480 maybe-clean-target-libobjc \
1481 maybe-clean-target-libtermcap \
1482 maybe-clean-target-winsup \
1483 maybe-clean-target-libgloss \
1484 maybe-clean-target-libiberty \
1485 maybe-clean-target-gperf \
1486 maybe-clean-target-examples \
1487 maybe-clean-target-libffi \
1488 maybe-clean-target-libjava \
1489 maybe-clean-target-zlib \
1490 maybe-clean-target-boehm-gc \
1491 maybe-clean-target-qthreads \
1492 maybe-clean-target-rda \
1493 maybe-clean-target-libada
1495 .PHONY: do-distclean
1496 do-distclean: unstage distclean-host distclean-target stage
1498 .PHONY: distclean-host
1499 distclean-host: \
1500 maybe-distclean-ash \
1501 maybe-distclean-autoconf \
1502 maybe-distclean-automake \
1503 maybe-distclean-bash \
1504 maybe-distclean-bfd \
1505 maybe-distclean-opcodes \
1506 maybe-distclean-binutils \
1507 maybe-distclean-bison \
1508 maybe-distclean-byacc \
1509 maybe-distclean-bzip2 \
1510 maybe-distclean-dejagnu \
1511 maybe-distclean-diff \
1512 maybe-distclean-dosutils \
1513 maybe-distclean-etc \
1514 maybe-distclean-fastjar \
1515 maybe-distclean-fileutils \
1516 maybe-distclean-findutils \
1517 maybe-distclean-find \
1518 maybe-distclean-flex \
1519 maybe-distclean-gas \
1520 maybe-distclean-gcc \
1521 maybe-distclean-gawk \
1522 maybe-distclean-gettext \
1523 maybe-distclean-gnuserv \
1524 maybe-distclean-gprof \
1525 maybe-distclean-gzip \
1526 maybe-distclean-hello \
1527 maybe-distclean-indent \
1528 maybe-distclean-intl \
1529 maybe-distclean-tcl \
1530 maybe-distclean-itcl \
1531 maybe-distclean-ld \
1532 maybe-distclean-libcpp \
1533 maybe-distclean-libgui \
1534 maybe-distclean-libbanshee \
1535 maybe-distclean-libiberty \
1536 maybe-distclean-libtool \
1537 maybe-distclean-m4 \
1538 maybe-distclean-make \
1539 maybe-distclean-mmalloc \
1540 maybe-distclean-patch \
1541 maybe-distclean-perl \
1542 maybe-distclean-prms \
1543 maybe-distclean-rcs \
1544 maybe-distclean-readline \
1545 maybe-distclean-release \
1546 maybe-distclean-recode \
1547 maybe-distclean-sed \
1548 maybe-distclean-send-pr \
1549 maybe-distclean-shellutils \
1550 maybe-distclean-sid \
1551 maybe-distclean-sim \
1552 maybe-distclean-tar \
1553 maybe-distclean-texinfo \
1554 maybe-distclean-textutils \
1555 maybe-distclean-time \
1556 maybe-distclean-uudecode \
1557 maybe-distclean-wdiff \
1558 maybe-distclean-zip \
1559 maybe-distclean-zlib \
1560 maybe-distclean-gdb \
1561 maybe-distclean-expect \
1562 maybe-distclean-guile \
1563 maybe-distclean-tk \
1564 maybe-distclean-libtermcap \
1565 maybe-distclean-utils
1567 .PHONY: distclean-target
1568 distclean-target: \
1569 maybe-distclean-target-libstdc++-v3 \
1570 maybe-distclean-target-libmudflap \
1571 maybe-distclean-target-newlib \
1572 maybe-distclean-target-libgfortran \
1573 maybe-distclean-target-libobjc \
1574 maybe-distclean-target-libtermcap \
1575 maybe-distclean-target-winsup \
1576 maybe-distclean-target-libgloss \
1577 maybe-distclean-target-libiberty \
1578 maybe-distclean-target-gperf \
1579 maybe-distclean-target-examples \
1580 maybe-distclean-target-libffi \
1581 maybe-distclean-target-libjava \
1582 maybe-distclean-target-zlib \
1583 maybe-distclean-target-boehm-gc \
1584 maybe-distclean-target-qthreads \
1585 maybe-distclean-target-rda \
1586 maybe-distclean-target-libada
1588 .PHONY: do-maintainer-clean
1589 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1591 .PHONY: maintainer-clean-host
1592 maintainer-clean-host: \
1593 maybe-maintainer-clean-ash \
1594 maybe-maintainer-clean-autoconf \
1595 maybe-maintainer-clean-automake \
1596 maybe-maintainer-clean-bash \
1597 maybe-maintainer-clean-bfd \
1598 maybe-maintainer-clean-opcodes \
1599 maybe-maintainer-clean-binutils \
1600 maybe-maintainer-clean-bison \
1601 maybe-maintainer-clean-byacc \
1602 maybe-maintainer-clean-bzip2 \
1603 maybe-maintainer-clean-dejagnu \
1604 maybe-maintainer-clean-diff \
1605 maybe-maintainer-clean-dosutils \
1606 maybe-maintainer-clean-etc \
1607 maybe-maintainer-clean-fastjar \
1608 maybe-maintainer-clean-fileutils \
1609 maybe-maintainer-clean-findutils \
1610 maybe-maintainer-clean-find \
1611 maybe-maintainer-clean-flex \
1612 maybe-maintainer-clean-gas \
1613 maybe-maintainer-clean-gcc \
1614 maybe-maintainer-clean-gawk \
1615 maybe-maintainer-clean-gettext \
1616 maybe-maintainer-clean-gnuserv \
1617 maybe-maintainer-clean-gprof \
1618 maybe-maintainer-clean-gzip \
1619 maybe-maintainer-clean-hello \
1620 maybe-maintainer-clean-indent \
1621 maybe-maintainer-clean-intl \
1622 maybe-maintainer-clean-tcl \
1623 maybe-maintainer-clean-itcl \
1624 maybe-maintainer-clean-ld \
1625 maybe-maintainer-clean-libcpp \
1626 maybe-maintainer-clean-libgui \
1627 maybe-maintainer-clean-libbanshee \
1628 maybe-maintainer-clean-libiberty \
1629 maybe-maintainer-clean-libtool \
1630 maybe-maintainer-clean-m4 \
1631 maybe-maintainer-clean-make \
1632 maybe-maintainer-clean-mmalloc \
1633 maybe-maintainer-clean-patch \
1634 maybe-maintainer-clean-perl \
1635 maybe-maintainer-clean-prms \
1636 maybe-maintainer-clean-rcs \
1637 maybe-maintainer-clean-readline \
1638 maybe-maintainer-clean-release \
1639 maybe-maintainer-clean-recode \
1640 maybe-maintainer-clean-sed \
1641 maybe-maintainer-clean-send-pr \
1642 maybe-maintainer-clean-shellutils \
1643 maybe-maintainer-clean-sid \
1644 maybe-maintainer-clean-sim \
1645 maybe-maintainer-clean-tar \
1646 maybe-maintainer-clean-texinfo \
1647 maybe-maintainer-clean-textutils \
1648 maybe-maintainer-clean-time \
1649 maybe-maintainer-clean-uudecode \
1650 maybe-maintainer-clean-wdiff \
1651 maybe-maintainer-clean-zip \
1652 maybe-maintainer-clean-zlib \
1653 maybe-maintainer-clean-gdb \
1654 maybe-maintainer-clean-expect \
1655 maybe-maintainer-clean-guile \
1656 maybe-maintainer-clean-tk \
1657 maybe-maintainer-clean-libtermcap \
1658 maybe-maintainer-clean-utils
1660 .PHONY: maintainer-clean-target
1661 maintainer-clean-target: \
1662 maybe-maintainer-clean-target-libstdc++-v3 \
1663 maybe-maintainer-clean-target-libmudflap \
1664 maybe-maintainer-clean-target-newlib \
1665 maybe-maintainer-clean-target-libgfortran \
1666 maybe-maintainer-clean-target-libobjc \
1667 maybe-maintainer-clean-target-libtermcap \
1668 maybe-maintainer-clean-target-winsup \
1669 maybe-maintainer-clean-target-libgloss \
1670 maybe-maintainer-clean-target-libiberty \
1671 maybe-maintainer-clean-target-gperf \
1672 maybe-maintainer-clean-target-examples \
1673 maybe-maintainer-clean-target-libffi \
1674 maybe-maintainer-clean-target-libjava \
1675 maybe-maintainer-clean-target-zlib \
1676 maybe-maintainer-clean-target-boehm-gc \
1677 maybe-maintainer-clean-target-qthreads \
1678 maybe-maintainer-clean-target-rda \
1679 maybe-maintainer-clean-target-libada
1682 # Here are the targets which correspond to the do-X targets.
1684 .PHONY: info installcheck dvi install-info
1685 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1686 .PHONY: local-clean local-distclean local-maintainer-clean
1687 info: do-info
1688 installcheck: do-installcheck
1689 dvi: do-dvi
1691 # Make sure makeinfo is built before we do a `make info', if we're
1692 # in fact building texinfo.
1693 do-info: maybe-all-texinfo
1695 install-info: do-install-info dir.info
1696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1697 if [ -f dir.info ] ; then \
1698 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1699 else true ; fi
1701 local-clean:
1702 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1704 local-distclean:
1705 -rm -f Makefile config.status config.cache mh-frag mt-frag
1706 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1707 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1708 rm -rf $(TARGET_SUBDIR); \
1709 else true; fi
1710 -rm -rf $(BUILD_SUBDIR)
1711 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1712 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1713 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1714 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1715 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1717 local-maintainer-clean:
1718 @echo "This command is intended for maintainers to use;"
1719 @echo "it deletes files that may require special tools to rebuild."
1721 clean: do-clean local-clean
1722 mostlyclean: do-mostlyclean local-clean
1723 distclean: do-distclean local-clean local-distclean
1724 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1725 maintainer-clean: local-distclean
1726 realclean: maintainer-clean
1728 # Extra dependency for clean-target, owing to the mixed nature of gcc
1729 clean-target: clean-target-libgcc
1730 clean-target-libgcc:
1731 test ! -d gcc/libgcc || \
1732 (cd gcc/libgcc && find . -type d -print) | \
1733 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1734 -rm -rf gcc/libgcc
1736 # Check target.
1738 .PHONY: check do-check
1739 check: do-check
1741 # Only include modules actually being configured and built.
1742 do-check: unstage \
1743 maybe-check-ash \
1744 maybe-check-autoconf \
1745 maybe-check-automake \
1746 maybe-check-bash \
1747 maybe-check-bfd \
1748 maybe-check-opcodes \
1749 maybe-check-binutils \
1750 maybe-check-bison \
1751 maybe-check-byacc \
1752 maybe-check-bzip2 \
1753 maybe-check-dejagnu \
1754 maybe-check-diff \
1755 maybe-check-dosutils \
1756 maybe-check-etc \
1757 maybe-check-fastjar \
1758 maybe-check-fileutils \
1759 maybe-check-findutils \
1760 maybe-check-find \
1761 maybe-check-flex \
1762 maybe-check-gas \
1763 maybe-check-gcc \
1764 maybe-check-gawk \
1765 maybe-check-gettext \
1766 maybe-check-gnuserv \
1767 maybe-check-gprof \
1768 maybe-check-gzip \
1769 maybe-check-hello \
1770 maybe-check-indent \
1771 maybe-check-intl \
1772 maybe-check-tcl \
1773 maybe-check-itcl \
1774 maybe-check-ld \
1775 maybe-check-libcpp \
1776 maybe-check-libgui \
1777 maybe-check-libbanshee \
1778 maybe-check-libiberty \
1779 maybe-check-libtool \
1780 maybe-check-m4 \
1781 maybe-check-make \
1782 maybe-check-mmalloc \
1783 maybe-check-patch \
1784 maybe-check-perl \
1785 maybe-check-prms \
1786 maybe-check-rcs \
1787 maybe-check-readline \
1788 maybe-check-release \
1789 maybe-check-recode \
1790 maybe-check-sed \
1791 maybe-check-send-pr \
1792 maybe-check-shellutils \
1793 maybe-check-sid \
1794 maybe-check-sim \
1795 maybe-check-tar \
1796 maybe-check-texinfo \
1797 maybe-check-textutils \
1798 maybe-check-time \
1799 maybe-check-uudecode \
1800 maybe-check-wdiff \
1801 maybe-check-zip \
1802 maybe-check-zlib \
1803 maybe-check-gdb \
1804 maybe-check-expect \
1805 maybe-check-guile \
1806 maybe-check-tk \
1807 maybe-check-libtermcap \
1808 maybe-check-utils \
1809 maybe-check-target-libstdc++-v3 \
1810 maybe-check-target-libmudflap \
1811 maybe-check-target-newlib \
1812 maybe-check-target-libgfortran \
1813 maybe-check-target-libobjc \
1814 maybe-check-target-libtermcap \
1815 maybe-check-target-winsup \
1816 maybe-check-target-libgloss \
1817 maybe-check-target-libiberty \
1818 maybe-check-target-gperf \
1819 maybe-check-target-examples \
1820 maybe-check-target-libffi \
1821 maybe-check-target-libjava \
1822 maybe-check-target-zlib \
1823 maybe-check-target-boehm-gc \
1824 maybe-check-target-qthreads \
1825 maybe-check-target-rda \
1826 maybe-check-target-libada stage
1828 # Automated reporting of test results.
1830 warning.log: build.log
1831 $(srcdir)/contrib/warn_summary build.log > $@
1833 mail-report.log:
1834 if test x'$(BOOT_CFLAGS)' != x''; then \
1835 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1836 fi; \
1837 $(srcdir)/contrib/test_summary -t >$@
1838 chmod +x $@
1839 echo If you really want to send e-mail, run ./$@ now
1841 mail-report-with-warnings.log: warning.log
1842 if test x'$(BOOT_CFLAGS)' != x''; then \
1843 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1844 fi; \
1845 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1846 chmod +x $@
1847 echo If you really want to send e-mail, run ./$@ now
1849 # Installation targets.
1851 .PHONY: install uninstall
1852 install: installdirs install-host install-target
1854 .PHONY: install-host-nogcc
1855 install-host-nogcc: \
1856 maybe-install-ash \
1857 maybe-install-autoconf \
1858 maybe-install-automake \
1859 maybe-install-bash \
1860 maybe-install-bfd \
1861 maybe-install-opcodes \
1862 maybe-install-binutils \
1863 maybe-install-bison \
1864 maybe-install-byacc \
1865 maybe-install-bzip2 \
1866 maybe-install-dejagnu \
1867 maybe-install-diff \
1868 maybe-install-dosutils \
1869 maybe-install-etc \
1870 maybe-install-fastjar \
1871 maybe-install-fileutils \
1872 maybe-install-findutils \
1873 maybe-install-find \
1874 maybe-install-flex \
1875 maybe-install-gas \
1876 maybe-install-gawk \
1877 maybe-install-gettext \
1878 maybe-install-gnuserv \
1879 maybe-install-gprof \
1880 maybe-install-gzip \
1881 maybe-install-hello \
1882 maybe-install-indent \
1883 maybe-install-intl \
1884 maybe-install-tcl \
1885 maybe-install-itcl \
1886 maybe-install-ld \
1887 maybe-install-libcpp \
1888 maybe-install-libgui \
1889 maybe-install-libbanshee \
1890 maybe-install-libiberty \
1891 maybe-install-libtool \
1892 maybe-install-m4 \
1893 maybe-install-make \
1894 maybe-install-mmalloc \
1895 maybe-install-patch \
1896 maybe-install-perl \
1897 maybe-install-prms \
1898 maybe-install-rcs \
1899 maybe-install-readline \
1900 maybe-install-release \
1901 maybe-install-recode \
1902 maybe-install-sed \
1903 maybe-install-send-pr \
1904 maybe-install-shellutils \
1905 maybe-install-sid \
1906 maybe-install-sim \
1907 maybe-install-tar \
1908 maybe-install-texinfo \
1909 maybe-install-textutils \
1910 maybe-install-time \
1911 maybe-install-uudecode \
1912 maybe-install-wdiff \
1913 maybe-install-zip \
1914 maybe-install-zlib \
1915 maybe-install-gdb \
1916 maybe-install-expect \
1917 maybe-install-guile \
1918 maybe-install-tk \
1919 maybe-install-libtermcap \
1920 maybe-install-utils
1922 .PHONY: install-host
1923 install-host: \
1924 maybe-install-ash \
1925 maybe-install-autoconf \
1926 maybe-install-automake \
1927 maybe-install-bash \
1928 maybe-install-bfd \
1929 maybe-install-opcodes \
1930 maybe-install-binutils \
1931 maybe-install-bison \
1932 maybe-install-byacc \
1933 maybe-install-bzip2 \
1934 maybe-install-dejagnu \
1935 maybe-install-diff \
1936 maybe-install-dosutils \
1937 maybe-install-etc \
1938 maybe-install-fastjar \
1939 maybe-install-fileutils \
1940 maybe-install-findutils \
1941 maybe-install-find \
1942 maybe-install-flex \
1943 maybe-install-gas \
1944 maybe-install-gcc \
1945 maybe-install-gawk \
1946 maybe-install-gettext \
1947 maybe-install-gnuserv \
1948 maybe-install-gprof \
1949 maybe-install-gzip \
1950 maybe-install-hello \
1951 maybe-install-indent \
1952 maybe-install-intl \
1953 maybe-install-tcl \
1954 maybe-install-itcl \
1955 maybe-install-ld \
1956 maybe-install-libcpp \
1957 maybe-install-libgui \
1958 maybe-install-libbanshee \
1959 maybe-install-libiberty \
1960 maybe-install-libtool \
1961 maybe-install-m4 \
1962 maybe-install-make \
1963 maybe-install-mmalloc \
1964 maybe-install-patch \
1965 maybe-install-perl \
1966 maybe-install-prms \
1967 maybe-install-rcs \
1968 maybe-install-readline \
1969 maybe-install-release \
1970 maybe-install-recode \
1971 maybe-install-sed \
1972 maybe-install-send-pr \
1973 maybe-install-shellutils \
1974 maybe-install-sid \
1975 maybe-install-sim \
1976 maybe-install-tar \
1977 maybe-install-texinfo \
1978 maybe-install-textutils \
1979 maybe-install-time \
1980 maybe-install-uudecode \
1981 maybe-install-wdiff \
1982 maybe-install-zip \
1983 maybe-install-zlib \
1984 maybe-install-gdb \
1985 maybe-install-expect \
1986 maybe-install-guile \
1987 maybe-install-tk \
1988 maybe-install-libtermcap \
1989 maybe-install-utils
1991 .PHONY: install-target
1992 install-target: \
1993 maybe-install-target-libstdc++-v3 \
1994 maybe-install-target-libmudflap \
1995 maybe-install-target-newlib \
1996 maybe-install-target-libgfortran \
1997 maybe-install-target-libobjc \
1998 maybe-install-target-libtermcap \
1999 maybe-install-target-winsup \
2000 maybe-install-target-libgloss \
2001 maybe-install-target-libiberty \
2002 maybe-install-target-gperf \
2003 maybe-install-target-examples \
2004 maybe-install-target-libffi \
2005 maybe-install-target-libjava \
2006 maybe-install-target-zlib \
2007 maybe-install-target-boehm-gc \
2008 maybe-install-target-qthreads \
2009 maybe-install-target-rda \
2010 maybe-install-target-libada
2012 uninstall:
2013 @echo "the uninstall target is not supported in this tree"
2015 .PHONY: install.all
2016 install.all: install-no-fixedincludes
2017 @if [ -f ./gcc/Makefile ] ; then \
2018 r=`${PWD_COMMAND}` ; export r ; \
2019 $(SET_LIB_PATH) \
2020 $(HOST_EXPORTS) \
2021 (cd ./gcc && \
2022 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2023 else \
2024 true ; \
2027 # install-no-fixedincludes is used because Cygnus can not distribute
2028 # the fixed header files.
2029 .PHONY: install-no-fixedincludes
2030 install-no-fixedincludes: installdirs install-host-nogcc \
2031 install-target gcc-no-fixedincludes
2033 ### other supporting targets
2035 MAKEDIRS= \
2036 $(DESTDIR)$(prefix) \
2037 $(DESTDIR)$(exec_prefix)
2038 .PHONY: installdirs
2039 installdirs: mkinstalldirs
2040 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2042 dir.info: do-install-info
2043 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2044 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2045 mv -f dir.info.new dir.info ; \
2046 else true ; \
2049 dist:
2050 @echo "Building a full distribution of this tree isn't done"
2051 @echo "via 'make dist'. Check out the etc/ subdirectory"
2053 etags tags: TAGS
2055 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2056 # ability to use several tags files at once, so there is probably no need
2057 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2058 # (if we felt like it) have this Makefile write a piece of elisp which
2059 # the user could load to tell emacs19 where all the TAGS files we just
2060 # built are.
2061 TAGS: do-TAGS
2063 # --------------------------------------
2064 # Modules which run on the build machine
2065 # --------------------------------------
2067 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2068 maybe-configure-build-libiberty:
2069 @if build-libiberty
2070 maybe-configure-build-libiberty: configure-build-libiberty
2071 configure-build-libiberty:
2072 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2073 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2074 r=`${PWD_COMMAND}`; export r; \
2075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2076 $(BUILD_EXPORTS) \
2077 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2078 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2079 case $(srcdir) in \
2080 /* | [A-Za-z]:[\\/]*) \
2081 topdir=$(srcdir) ;; \
2082 *) \
2083 case "$(BUILD_SUBDIR)" in \
2084 .) topdir="../$(srcdir)" ;; \
2085 *) topdir="../../$(srcdir)" ;; \
2086 esac ;; \
2087 esac; \
2088 if [ "$(srcdir)" = "." ] ; then \
2089 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2090 if $(SHELL) $$s/symlink-tree $${topdir}/libiberty "no-such-file" ; then \
2091 if [ -f Makefile ]; then \
2092 if $(MAKE) distclean; then \
2093 true; \
2094 else \
2095 exit 1; \
2096 fi; \
2097 else \
2098 true; \
2099 fi; \
2100 else \
2101 exit 1; \
2102 fi; \
2103 else \
2104 true; \
2105 fi; \
2106 srcdiroption="--srcdir=."; \
2107 libsrcdir="."; \
2108 else \
2109 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2110 libsrcdir="$$s/libiberty"; \
2111 fi; \
2112 rm -f no-such-file || : ; \
2113 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2114 $(BUILD_CONFIGARGS) $${srcdiroption} \
2115 --with-build-subdir="$(BUILD_SUBDIR)" \
2116 || exit 1
2117 @endif build-libiberty
2119 .PHONY: all-build-libiberty maybe-all-build-libiberty
2120 maybe-all-build-libiberty:
2121 @if build-libiberty
2122 TARGET-build-libiberty=all
2123 maybe-all-build-libiberty: all-build-libiberty
2124 all-build-libiberty: configure-build-libiberty
2125 @r=`${PWD_COMMAND}`; export r; \
2126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2127 $(BUILD_EXPORTS) \
2128 (cd $(BUILD_SUBDIR)/libiberty && \
2129 $(MAKE) $(TARGET-build-libiberty))
2130 @endif build-libiberty
2132 .PHONY: configure-build-bison maybe-configure-build-bison
2133 maybe-configure-build-bison:
2134 @if build-bison
2135 maybe-configure-build-bison: configure-build-bison
2136 configure-build-bison:
2137 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2138 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2139 r=`${PWD_COMMAND}`; export r; \
2140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2141 $(BUILD_EXPORTS) \
2142 echo Configuring in $(BUILD_SUBDIR)/bison; \
2143 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2144 case $(srcdir) in \
2145 /* | [A-Za-z]:[\\/]*) \
2146 topdir=$(srcdir) ;; \
2147 *) \
2148 case "$(BUILD_SUBDIR)" in \
2149 .) topdir="../$(srcdir)" ;; \
2150 *) topdir="../../$(srcdir)" ;; \
2151 esac ;; \
2152 esac; \
2153 if [ "$(srcdir)" = "." ] ; then \
2154 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2155 if $(SHELL) $$s/symlink-tree $${topdir}/bison "no-such-file" ; then \
2156 if [ -f Makefile ]; then \
2157 if $(MAKE) distclean; then \
2158 true; \
2159 else \
2160 exit 1; \
2161 fi; \
2162 else \
2163 true; \
2164 fi; \
2165 else \
2166 exit 1; \
2167 fi; \
2168 else \
2169 true; \
2170 fi; \
2171 srcdiroption="--srcdir=."; \
2172 libsrcdir="."; \
2173 else \
2174 srcdiroption="--srcdir=$${topdir}/bison"; \
2175 libsrcdir="$$s/bison"; \
2176 fi; \
2177 rm -f no-such-file || : ; \
2178 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2179 $(BUILD_CONFIGARGS) $${srcdiroption} \
2180 --with-build-subdir="$(BUILD_SUBDIR)" \
2181 || exit 1
2182 @endif build-bison
2184 .PHONY: all-build-bison maybe-all-build-bison
2185 maybe-all-build-bison:
2186 @if build-bison
2187 TARGET-build-bison=all
2188 maybe-all-build-bison: all-build-bison
2189 all-build-bison: configure-build-bison
2190 @r=`${PWD_COMMAND}`; export r; \
2191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2192 $(BUILD_EXPORTS) \
2193 (cd $(BUILD_SUBDIR)/bison && \
2194 $(MAKE) $(TARGET-build-bison))
2195 @endif build-bison
2197 .PHONY: configure-build-byacc maybe-configure-build-byacc
2198 maybe-configure-build-byacc:
2199 @if build-byacc
2200 maybe-configure-build-byacc: configure-build-byacc
2201 configure-build-byacc:
2202 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2203 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2204 r=`${PWD_COMMAND}`; export r; \
2205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2206 $(BUILD_EXPORTS) \
2207 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2208 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2209 case $(srcdir) in \
2210 /* | [A-Za-z]:[\\/]*) \
2211 topdir=$(srcdir) ;; \
2212 *) \
2213 case "$(BUILD_SUBDIR)" in \
2214 .) topdir="../$(srcdir)" ;; \
2215 *) topdir="../../$(srcdir)" ;; \
2216 esac ;; \
2217 esac; \
2218 if [ "$(srcdir)" = "." ] ; then \
2219 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2220 if $(SHELL) $$s/symlink-tree $${topdir}/byacc "no-such-file" ; then \
2221 if [ -f Makefile ]; then \
2222 if $(MAKE) distclean; then \
2223 true; \
2224 else \
2225 exit 1; \
2226 fi; \
2227 else \
2228 true; \
2229 fi; \
2230 else \
2231 exit 1; \
2232 fi; \
2233 else \
2234 true; \
2235 fi; \
2236 srcdiroption="--srcdir=."; \
2237 libsrcdir="."; \
2238 else \
2239 srcdiroption="--srcdir=$${topdir}/byacc"; \
2240 libsrcdir="$$s/byacc"; \
2241 fi; \
2242 rm -f no-such-file || : ; \
2243 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2244 $(BUILD_CONFIGARGS) $${srcdiroption} \
2245 --with-build-subdir="$(BUILD_SUBDIR)" \
2246 || exit 1
2247 @endif build-byacc
2249 .PHONY: all-build-byacc maybe-all-build-byacc
2250 maybe-all-build-byacc:
2251 @if build-byacc
2252 TARGET-build-byacc=all
2253 maybe-all-build-byacc: all-build-byacc
2254 all-build-byacc: configure-build-byacc
2255 @r=`${PWD_COMMAND}`; export r; \
2256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2257 $(BUILD_EXPORTS) \
2258 (cd $(BUILD_SUBDIR)/byacc && \
2259 $(MAKE) $(TARGET-build-byacc))
2260 @endif build-byacc
2262 .PHONY: configure-build-flex maybe-configure-build-flex
2263 maybe-configure-build-flex:
2264 @if build-flex
2265 maybe-configure-build-flex: configure-build-flex
2266 configure-build-flex:
2267 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2268 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2269 r=`${PWD_COMMAND}`; export r; \
2270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2271 $(BUILD_EXPORTS) \
2272 echo Configuring in $(BUILD_SUBDIR)/flex; \
2273 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2274 case $(srcdir) in \
2275 /* | [A-Za-z]:[\\/]*) \
2276 topdir=$(srcdir) ;; \
2277 *) \
2278 case "$(BUILD_SUBDIR)" in \
2279 .) topdir="../$(srcdir)" ;; \
2280 *) topdir="../../$(srcdir)" ;; \
2281 esac ;; \
2282 esac; \
2283 if [ "$(srcdir)" = "." ] ; then \
2284 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2285 if $(SHELL) $$s/symlink-tree $${topdir}/flex "no-such-file" ; then \
2286 if [ -f Makefile ]; then \
2287 if $(MAKE) distclean; then \
2288 true; \
2289 else \
2290 exit 1; \
2291 fi; \
2292 else \
2293 true; \
2294 fi; \
2295 else \
2296 exit 1; \
2297 fi; \
2298 else \
2299 true; \
2300 fi; \
2301 srcdiroption="--srcdir=."; \
2302 libsrcdir="."; \
2303 else \
2304 srcdiroption="--srcdir=$${topdir}/flex"; \
2305 libsrcdir="$$s/flex"; \
2306 fi; \
2307 rm -f no-such-file || : ; \
2308 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2309 $(BUILD_CONFIGARGS) $${srcdiroption} \
2310 --with-build-subdir="$(BUILD_SUBDIR)" \
2311 || exit 1
2312 @endif build-flex
2314 .PHONY: all-build-flex maybe-all-build-flex
2315 maybe-all-build-flex:
2316 @if build-flex
2317 TARGET-build-flex=all
2318 maybe-all-build-flex: all-build-flex
2319 all-build-flex: configure-build-flex
2320 @r=`${PWD_COMMAND}`; export r; \
2321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2322 $(BUILD_EXPORTS) \
2323 (cd $(BUILD_SUBDIR)/flex && \
2324 $(MAKE) $(TARGET-build-flex))
2325 @endif build-flex
2327 .PHONY: configure-build-m4 maybe-configure-build-m4
2328 maybe-configure-build-m4:
2329 @if build-m4
2330 maybe-configure-build-m4: configure-build-m4
2331 configure-build-m4:
2332 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2333 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2334 r=`${PWD_COMMAND}`; export r; \
2335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2336 $(BUILD_EXPORTS) \
2337 echo Configuring in $(BUILD_SUBDIR)/m4; \
2338 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2339 case $(srcdir) in \
2340 /* | [A-Za-z]:[\\/]*) \
2341 topdir=$(srcdir) ;; \
2342 *) \
2343 case "$(BUILD_SUBDIR)" in \
2344 .) topdir="../$(srcdir)" ;; \
2345 *) topdir="../../$(srcdir)" ;; \
2346 esac ;; \
2347 esac; \
2348 if [ "$(srcdir)" = "." ] ; then \
2349 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2350 if $(SHELL) $$s/symlink-tree $${topdir}/m4 "no-such-file" ; then \
2351 if [ -f Makefile ]; then \
2352 if $(MAKE) distclean; then \
2353 true; \
2354 else \
2355 exit 1; \
2356 fi; \
2357 else \
2358 true; \
2359 fi; \
2360 else \
2361 exit 1; \
2362 fi; \
2363 else \
2364 true; \
2365 fi; \
2366 srcdiroption="--srcdir=."; \
2367 libsrcdir="."; \
2368 else \
2369 srcdiroption="--srcdir=$${topdir}/m4"; \
2370 libsrcdir="$$s/m4"; \
2371 fi; \
2372 rm -f no-such-file || : ; \
2373 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2374 $(BUILD_CONFIGARGS) $${srcdiroption} \
2375 --with-build-subdir="$(BUILD_SUBDIR)" \
2376 || exit 1
2377 @endif build-m4
2379 .PHONY: all-build-m4 maybe-all-build-m4
2380 maybe-all-build-m4:
2381 @if build-m4
2382 TARGET-build-m4=all
2383 maybe-all-build-m4: all-build-m4
2384 all-build-m4: configure-build-m4
2385 @r=`${PWD_COMMAND}`; export r; \
2386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2387 $(BUILD_EXPORTS) \
2388 (cd $(BUILD_SUBDIR)/m4 && \
2389 $(MAKE) $(TARGET-build-m4))
2390 @endif build-m4
2392 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2393 maybe-configure-build-texinfo:
2394 @if build-texinfo
2395 maybe-configure-build-texinfo: configure-build-texinfo
2396 configure-build-texinfo:
2397 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2398 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2399 r=`${PWD_COMMAND}`; export r; \
2400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2401 $(BUILD_EXPORTS) \
2402 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2403 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2404 case $(srcdir) in \
2405 /* | [A-Za-z]:[\\/]*) \
2406 topdir=$(srcdir) ;; \
2407 *) \
2408 case "$(BUILD_SUBDIR)" in \
2409 .) topdir="../$(srcdir)" ;; \
2410 *) topdir="../../$(srcdir)" ;; \
2411 esac ;; \
2412 esac; \
2413 if [ "$(srcdir)" = "." ] ; then \
2414 if [ "$(BUILD_SUBDIR)" != "." ] ; then \
2415 if $(SHELL) $$s/symlink-tree $${topdir}/texinfo "no-such-file" ; then \
2416 if [ -f Makefile ]; then \
2417 if $(MAKE) distclean; then \
2418 true; \
2419 else \
2420 exit 1; \
2421 fi; \
2422 else \
2423 true; \
2424 fi; \
2425 else \
2426 exit 1; \
2427 fi; \
2428 else \
2429 true; \
2430 fi; \
2431 srcdiroption="--srcdir=."; \
2432 libsrcdir="."; \
2433 else \
2434 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2435 libsrcdir="$$s/texinfo"; \
2436 fi; \
2437 rm -f no-such-file || : ; \
2438 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2439 $(BUILD_CONFIGARGS) $${srcdiroption} \
2440 --with-build-subdir="$(BUILD_SUBDIR)" \
2441 || exit 1
2442 @endif build-texinfo
2444 .PHONY: all-build-texinfo maybe-all-build-texinfo
2445 maybe-all-build-texinfo:
2446 @if build-texinfo
2447 TARGET-build-texinfo=all
2448 maybe-all-build-texinfo: all-build-texinfo
2449 all-build-texinfo: configure-build-texinfo
2450 @r=`${PWD_COMMAND}`; export r; \
2451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2452 $(BUILD_EXPORTS) \
2453 (cd $(BUILD_SUBDIR)/texinfo && \
2454 $(MAKE) $(TARGET-build-texinfo))
2455 @endif build-texinfo
2458 # --------------------------------------
2459 # Modules which run on the host machine
2460 # --------------------------------------
2462 .PHONY: configure-ash maybe-configure-ash
2463 maybe-configure-ash:
2464 @if ash
2465 maybe-configure-ash: configure-ash
2466 configure-ash:
2467 @test ! -f ash/Makefile || exit 0; \
2468 [ -d ash ] || mkdir ash; \
2469 r=`${PWD_COMMAND}`; export r; \
2470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2471 $(HOST_EXPORTS) \
2472 echo Configuring in ash; \
2473 cd ash || exit 1; \
2474 case $(srcdir) in \
2475 \.) \
2476 srcdiroption="--srcdir=."; \
2477 libsrcdir=".";; \
2478 /* | [A-Za-z]:[\\/]*) \
2479 srcdiroption="--srcdir=$(srcdir)/ash"; \
2480 libsrcdir="$$s/ash";; \
2481 *) \
2482 srcdiroption="--srcdir=../$(srcdir)/ash"; \
2483 libsrcdir="$$s/ash";; \
2484 esac; \
2485 $(SHELL) $${libsrcdir}/configure \
2486 $(HOST_CONFIGARGS) $${srcdiroption} \
2487 || exit 1
2488 @endif ash
2490 .PHONY: all-ash maybe-all-ash
2491 maybe-all-ash:
2492 @if ash
2493 maybe-all-ash: all-ash
2494 all-ash: configure-ash
2495 @r=`${PWD_COMMAND}`; export r; \
2496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2497 $(SET_LIB_PATH) \
2498 $(HOST_EXPORTS) \
2499 (cd ash && $(MAKE) $(FLAGS_TO_PASS) all)
2500 @endif ash
2502 .PHONY: check-ash maybe-check-ash
2503 maybe-check-ash:
2504 @if ash
2505 maybe-check-ash: check-ash
2507 check-ash:
2508 @r=`${PWD_COMMAND}`; export r; \
2509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2510 $(SET_LIB_PATH) \
2511 $(HOST_EXPORTS) \
2512 (cd ash && $(MAKE) $(FLAGS_TO_PASS) check)
2514 @endif ash
2516 .PHONY: install-ash maybe-install-ash
2517 maybe-install-ash:
2518 @if ash
2519 maybe-install-ash: install-ash
2521 install-ash: installdirs
2522 @r=`${PWD_COMMAND}`; export r; \
2523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2524 $(SET_LIB_PATH) \
2525 $(HOST_EXPORTS) \
2526 (cd ash && $(MAKE) $(FLAGS_TO_PASS) install)
2528 @endif ash
2530 # Other targets (info, dvi, etc.)
2532 .PHONY: maybe-info-ash info-ash
2533 maybe-info-ash:
2534 @if ash
2535 maybe-info-ash: info-ash
2537 info-ash: \
2538 configure-ash
2539 @[ -f ./ash/Makefile ] || exit 0; \
2540 r=`${PWD_COMMAND}`; export r; \
2541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2542 $(SET_LIB_PATH) \
2543 $(HOST_EXPORTS) \
2544 for flag in $(EXTRA_HOST_FLAGS) ; do \
2545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2546 done; \
2547 echo "Doing info in ash" ; \
2548 (cd ash && \
2549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2551 "RANLIB=$${RANLIB}" \
2552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2553 info) \
2554 || exit 1
2556 @endif ash
2558 .PHONY: maybe-dvi-ash dvi-ash
2559 maybe-dvi-ash:
2560 @if ash
2561 maybe-dvi-ash: dvi-ash
2563 dvi-ash: \
2564 configure-ash
2565 @[ -f ./ash/Makefile ] || exit 0; \
2566 r=`${PWD_COMMAND}`; export r; \
2567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2568 $(SET_LIB_PATH) \
2569 $(HOST_EXPORTS) \
2570 for flag in $(EXTRA_HOST_FLAGS) ; do \
2571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2572 done; \
2573 echo "Doing dvi in ash" ; \
2574 (cd ash && \
2575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2577 "RANLIB=$${RANLIB}" \
2578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2579 dvi) \
2580 || exit 1
2582 @endif ash
2584 .PHONY: maybe-TAGS-ash TAGS-ash
2585 maybe-TAGS-ash:
2586 @if ash
2587 maybe-TAGS-ash: TAGS-ash
2589 TAGS-ash: \
2590 configure-ash
2591 @[ -f ./ash/Makefile ] || exit 0; \
2592 r=`${PWD_COMMAND}`; export r; \
2593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2594 $(SET_LIB_PATH) \
2595 $(HOST_EXPORTS) \
2596 for flag in $(EXTRA_HOST_FLAGS) ; do \
2597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2598 done; \
2599 echo "Doing TAGS in ash" ; \
2600 (cd ash && \
2601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2603 "RANLIB=$${RANLIB}" \
2604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2605 TAGS) \
2606 || exit 1
2608 @endif ash
2610 .PHONY: maybe-install-info-ash install-info-ash
2611 maybe-install-info-ash:
2612 @if ash
2613 maybe-install-info-ash: install-info-ash
2615 install-info-ash: \
2616 configure-ash \
2617 info-ash
2618 @[ -f ./ash/Makefile ] || exit 0; \
2619 r=`${PWD_COMMAND}`; export r; \
2620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2621 $(SET_LIB_PATH) \
2622 $(HOST_EXPORTS) \
2623 for flag in $(EXTRA_HOST_FLAGS) ; do \
2624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2625 done; \
2626 echo "Doing install-info in ash" ; \
2627 (cd ash && \
2628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2630 "RANLIB=$${RANLIB}" \
2631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2632 install-info) \
2633 || exit 1
2635 @endif ash
2637 .PHONY: maybe-installcheck-ash installcheck-ash
2638 maybe-installcheck-ash:
2639 @if ash
2640 maybe-installcheck-ash: installcheck-ash
2642 installcheck-ash: \
2643 configure-ash
2644 @[ -f ./ash/Makefile ] || exit 0; \
2645 r=`${PWD_COMMAND}`; export r; \
2646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2647 $(SET_LIB_PATH) \
2648 $(HOST_EXPORTS) \
2649 for flag in $(EXTRA_HOST_FLAGS) ; do \
2650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2651 done; \
2652 echo "Doing installcheck in ash" ; \
2653 (cd ash && \
2654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2656 "RANLIB=$${RANLIB}" \
2657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2658 installcheck) \
2659 || exit 1
2661 @endif ash
2663 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2664 maybe-mostlyclean-ash:
2665 @if ash
2666 maybe-mostlyclean-ash: mostlyclean-ash
2668 mostlyclean-ash:
2669 @[ -f ./ash/Makefile ] || exit 0; \
2670 r=`${PWD_COMMAND}`; export r; \
2671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2672 $(SET_LIB_PATH) \
2673 $(HOST_EXPORTS) \
2674 for flag in $(EXTRA_HOST_FLAGS) ; do \
2675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2676 done; \
2677 echo "Doing mostlyclean in ash" ; \
2678 (cd ash && \
2679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2681 "RANLIB=$${RANLIB}" \
2682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2683 mostlyclean) \
2684 || exit 1
2686 @endif ash
2688 .PHONY: maybe-clean-ash clean-ash
2689 maybe-clean-ash:
2690 @if ash
2691 maybe-clean-ash: clean-ash
2693 clean-ash:
2694 @[ -f ./ash/Makefile ] || exit 0; \
2695 r=`${PWD_COMMAND}`; export r; \
2696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2697 $(SET_LIB_PATH) \
2698 $(HOST_EXPORTS) \
2699 for flag in $(EXTRA_HOST_FLAGS) ; do \
2700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2701 done; \
2702 echo "Doing clean in ash" ; \
2703 (cd ash && \
2704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2706 "RANLIB=$${RANLIB}" \
2707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2708 clean) \
2709 || exit 1
2711 @endif ash
2713 .PHONY: maybe-distclean-ash distclean-ash
2714 maybe-distclean-ash:
2715 @if ash
2716 maybe-distclean-ash: distclean-ash
2718 distclean-ash:
2719 @[ -f ./ash/Makefile ] || exit 0; \
2720 r=`${PWD_COMMAND}`; export r; \
2721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2722 $(SET_LIB_PATH) \
2723 $(HOST_EXPORTS) \
2724 for flag in $(EXTRA_HOST_FLAGS) ; do \
2725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2726 done; \
2727 echo "Doing distclean in ash" ; \
2728 (cd ash && \
2729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2731 "RANLIB=$${RANLIB}" \
2732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2733 distclean) \
2734 || exit 1
2736 @endif ash
2738 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2739 maybe-maintainer-clean-ash:
2740 @if ash
2741 maybe-maintainer-clean-ash: maintainer-clean-ash
2743 maintainer-clean-ash:
2744 @[ -f ./ash/Makefile ] || exit 0; \
2745 r=`${PWD_COMMAND}`; export r; \
2746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2747 $(SET_LIB_PATH) \
2748 $(HOST_EXPORTS) \
2749 for flag in $(EXTRA_HOST_FLAGS) ; do \
2750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2751 done; \
2752 echo "Doing maintainer-clean in ash" ; \
2753 (cd ash && \
2754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2756 "RANLIB=$${RANLIB}" \
2757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2758 maintainer-clean) \
2759 || exit 1
2761 @endif ash
2764 .PHONY: configure-autoconf maybe-configure-autoconf
2765 maybe-configure-autoconf:
2766 @if autoconf
2767 maybe-configure-autoconf: configure-autoconf
2768 configure-autoconf:
2769 @test ! -f autoconf/Makefile || exit 0; \
2770 [ -d autoconf ] || mkdir autoconf; \
2771 r=`${PWD_COMMAND}`; export r; \
2772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2773 $(HOST_EXPORTS) \
2774 echo Configuring in autoconf; \
2775 cd autoconf || exit 1; \
2776 case $(srcdir) in \
2777 \.) \
2778 srcdiroption="--srcdir=."; \
2779 libsrcdir=".";; \
2780 /* | [A-Za-z]:[\\/]*) \
2781 srcdiroption="--srcdir=$(srcdir)/autoconf"; \
2782 libsrcdir="$$s/autoconf";; \
2783 *) \
2784 srcdiroption="--srcdir=../$(srcdir)/autoconf"; \
2785 libsrcdir="$$s/autoconf";; \
2786 esac; \
2787 $(SHELL) $${libsrcdir}/configure \
2788 $(HOST_CONFIGARGS) $${srcdiroption} \
2789 || exit 1
2790 @endif autoconf
2792 .PHONY: all-autoconf maybe-all-autoconf
2793 maybe-all-autoconf:
2794 @if autoconf
2795 maybe-all-autoconf: all-autoconf
2796 all-autoconf: configure-autoconf
2797 @r=`${PWD_COMMAND}`; export r; \
2798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2799 $(SET_LIB_PATH) \
2800 $(HOST_EXPORTS) \
2801 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) all)
2802 @endif autoconf
2804 .PHONY: check-autoconf maybe-check-autoconf
2805 maybe-check-autoconf:
2806 @if autoconf
2807 maybe-check-autoconf: check-autoconf
2809 check-autoconf:
2810 @r=`${PWD_COMMAND}`; export r; \
2811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2812 $(SET_LIB_PATH) \
2813 $(HOST_EXPORTS) \
2814 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) check)
2816 @endif autoconf
2818 .PHONY: install-autoconf maybe-install-autoconf
2819 maybe-install-autoconf:
2820 @if autoconf
2821 maybe-install-autoconf: install-autoconf
2823 install-autoconf: installdirs
2824 @r=`${PWD_COMMAND}`; export r; \
2825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2826 $(SET_LIB_PATH) \
2827 $(HOST_EXPORTS) \
2828 (cd autoconf && $(MAKE) $(FLAGS_TO_PASS) install)
2830 @endif autoconf
2832 # Other targets (info, dvi, etc.)
2834 .PHONY: maybe-info-autoconf info-autoconf
2835 maybe-info-autoconf:
2836 @if autoconf
2837 maybe-info-autoconf: info-autoconf
2839 info-autoconf: \
2840 configure-autoconf
2841 @[ -f ./autoconf/Makefile ] || exit 0; \
2842 r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2844 $(SET_LIB_PATH) \
2845 $(HOST_EXPORTS) \
2846 for flag in $(EXTRA_HOST_FLAGS) ; do \
2847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2848 done; \
2849 echo "Doing info in autoconf" ; \
2850 (cd autoconf && \
2851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2853 "RANLIB=$${RANLIB}" \
2854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2855 info) \
2856 || exit 1
2858 @endif autoconf
2860 .PHONY: maybe-dvi-autoconf dvi-autoconf
2861 maybe-dvi-autoconf:
2862 @if autoconf
2863 maybe-dvi-autoconf: dvi-autoconf
2865 dvi-autoconf: \
2866 configure-autoconf
2867 @[ -f ./autoconf/Makefile ] || exit 0; \
2868 r=`${PWD_COMMAND}`; export r; \
2869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2870 $(SET_LIB_PATH) \
2871 $(HOST_EXPORTS) \
2872 for flag in $(EXTRA_HOST_FLAGS) ; do \
2873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2874 done; \
2875 echo "Doing dvi in autoconf" ; \
2876 (cd autoconf && \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2879 "RANLIB=$${RANLIB}" \
2880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2881 dvi) \
2882 || exit 1
2884 @endif autoconf
2886 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2887 maybe-TAGS-autoconf:
2888 @if autoconf
2889 maybe-TAGS-autoconf: TAGS-autoconf
2891 TAGS-autoconf: \
2892 configure-autoconf
2893 @[ -f ./autoconf/Makefile ] || exit 0; \
2894 r=`${PWD_COMMAND}`; export r; \
2895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2896 $(SET_LIB_PATH) \
2897 $(HOST_EXPORTS) \
2898 for flag in $(EXTRA_HOST_FLAGS) ; do \
2899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2900 done; \
2901 echo "Doing TAGS in autoconf" ; \
2902 (cd autoconf && \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2905 "RANLIB=$${RANLIB}" \
2906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2907 TAGS) \
2908 || exit 1
2910 @endif autoconf
2912 .PHONY: maybe-install-info-autoconf install-info-autoconf
2913 maybe-install-info-autoconf:
2914 @if autoconf
2915 maybe-install-info-autoconf: install-info-autoconf
2917 install-info-autoconf: \
2918 configure-autoconf \
2919 info-autoconf
2920 @[ -f ./autoconf/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923 $(SET_LIB_PATH) \
2924 $(HOST_EXPORTS) \
2925 for flag in $(EXTRA_HOST_FLAGS) ; do \
2926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2927 done; \
2928 echo "Doing install-info in autoconf" ; \
2929 (cd autoconf && \
2930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2932 "RANLIB=$${RANLIB}" \
2933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2934 install-info) \
2935 || exit 1
2937 @endif autoconf
2939 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
2940 maybe-installcheck-autoconf:
2941 @if autoconf
2942 maybe-installcheck-autoconf: installcheck-autoconf
2944 installcheck-autoconf: \
2945 configure-autoconf
2946 @[ -f ./autoconf/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2949 $(SET_LIB_PATH) \
2950 $(HOST_EXPORTS) \
2951 for flag in $(EXTRA_HOST_FLAGS) ; do \
2952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2953 done; \
2954 echo "Doing installcheck in autoconf" ; \
2955 (cd autoconf && \
2956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2958 "RANLIB=$${RANLIB}" \
2959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2960 installcheck) \
2961 || exit 1
2963 @endif autoconf
2965 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
2966 maybe-mostlyclean-autoconf:
2967 @if autoconf
2968 maybe-mostlyclean-autoconf: mostlyclean-autoconf
2970 mostlyclean-autoconf:
2971 @[ -f ./autoconf/Makefile ] || exit 0; \
2972 r=`${PWD_COMMAND}`; export r; \
2973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2974 $(SET_LIB_PATH) \
2975 $(HOST_EXPORTS) \
2976 for flag in $(EXTRA_HOST_FLAGS) ; do \
2977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2978 done; \
2979 echo "Doing mostlyclean in autoconf" ; \
2980 (cd autoconf && \
2981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2983 "RANLIB=$${RANLIB}" \
2984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2985 mostlyclean) \
2986 || exit 1
2988 @endif autoconf
2990 .PHONY: maybe-clean-autoconf clean-autoconf
2991 maybe-clean-autoconf:
2992 @if autoconf
2993 maybe-clean-autoconf: clean-autoconf
2995 clean-autoconf:
2996 @[ -f ./autoconf/Makefile ] || exit 0; \
2997 r=`${PWD_COMMAND}`; export r; \
2998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2999 $(SET_LIB_PATH) \
3000 $(HOST_EXPORTS) \
3001 for flag in $(EXTRA_HOST_FLAGS) ; do \
3002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3003 done; \
3004 echo "Doing clean in autoconf" ; \
3005 (cd autoconf && \
3006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3008 "RANLIB=$${RANLIB}" \
3009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3010 clean) \
3011 || exit 1
3013 @endif autoconf
3015 .PHONY: maybe-distclean-autoconf distclean-autoconf
3016 maybe-distclean-autoconf:
3017 @if autoconf
3018 maybe-distclean-autoconf: distclean-autoconf
3020 distclean-autoconf:
3021 @[ -f ./autoconf/Makefile ] || exit 0; \
3022 r=`${PWD_COMMAND}`; export r; \
3023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3024 $(SET_LIB_PATH) \
3025 $(HOST_EXPORTS) \
3026 for flag in $(EXTRA_HOST_FLAGS) ; do \
3027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3028 done; \
3029 echo "Doing distclean in autoconf" ; \
3030 (cd autoconf && \
3031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3033 "RANLIB=$${RANLIB}" \
3034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3035 distclean) \
3036 || exit 1
3038 @endif autoconf
3040 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3041 maybe-maintainer-clean-autoconf:
3042 @if autoconf
3043 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3045 maintainer-clean-autoconf:
3046 @[ -f ./autoconf/Makefile ] || exit 0; \
3047 r=`${PWD_COMMAND}`; export r; \
3048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3049 $(SET_LIB_PATH) \
3050 $(HOST_EXPORTS) \
3051 for flag in $(EXTRA_HOST_FLAGS) ; do \
3052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3053 done; \
3054 echo "Doing maintainer-clean in autoconf" ; \
3055 (cd autoconf && \
3056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3058 "RANLIB=$${RANLIB}" \
3059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3060 maintainer-clean) \
3061 || exit 1
3063 @endif autoconf
3066 .PHONY: configure-automake maybe-configure-automake
3067 maybe-configure-automake:
3068 @if automake
3069 maybe-configure-automake: configure-automake
3070 configure-automake:
3071 @test ! -f automake/Makefile || exit 0; \
3072 [ -d automake ] || mkdir automake; \
3073 r=`${PWD_COMMAND}`; export r; \
3074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3075 $(HOST_EXPORTS) \
3076 echo Configuring in automake; \
3077 cd automake || exit 1; \
3078 case $(srcdir) in \
3079 \.) \
3080 srcdiroption="--srcdir=."; \
3081 libsrcdir=".";; \
3082 /* | [A-Za-z]:[\\/]*) \
3083 srcdiroption="--srcdir=$(srcdir)/automake"; \
3084 libsrcdir="$$s/automake";; \
3085 *) \
3086 srcdiroption="--srcdir=../$(srcdir)/automake"; \
3087 libsrcdir="$$s/automake";; \
3088 esac; \
3089 $(SHELL) $${libsrcdir}/configure \
3090 $(HOST_CONFIGARGS) $${srcdiroption} \
3091 || exit 1
3092 @endif automake
3094 .PHONY: all-automake maybe-all-automake
3095 maybe-all-automake:
3096 @if automake
3097 maybe-all-automake: all-automake
3098 all-automake: configure-automake
3099 @r=`${PWD_COMMAND}`; export r; \
3100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3101 $(SET_LIB_PATH) \
3102 $(HOST_EXPORTS) \
3103 (cd automake && $(MAKE) $(FLAGS_TO_PASS) all)
3104 @endif automake
3106 .PHONY: check-automake maybe-check-automake
3107 maybe-check-automake:
3108 @if automake
3109 maybe-check-automake: check-automake
3111 check-automake:
3112 @r=`${PWD_COMMAND}`; export r; \
3113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3114 $(SET_LIB_PATH) \
3115 $(HOST_EXPORTS) \
3116 (cd automake && $(MAKE) $(FLAGS_TO_PASS) check)
3118 @endif automake
3120 .PHONY: install-automake maybe-install-automake
3121 maybe-install-automake:
3122 @if automake
3123 maybe-install-automake: install-automake
3125 install-automake: installdirs
3126 @r=`${PWD_COMMAND}`; export r; \
3127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3128 $(SET_LIB_PATH) \
3129 $(HOST_EXPORTS) \
3130 (cd automake && $(MAKE) $(FLAGS_TO_PASS) install)
3132 @endif automake
3134 # Other targets (info, dvi, etc.)
3136 .PHONY: maybe-info-automake info-automake
3137 maybe-info-automake:
3138 @if automake
3139 maybe-info-automake: info-automake
3141 info-automake: \
3142 configure-automake
3143 @[ -f ./automake/Makefile ] || exit 0; \
3144 r=`${PWD_COMMAND}`; export r; \
3145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3146 $(SET_LIB_PATH) \
3147 $(HOST_EXPORTS) \
3148 for flag in $(EXTRA_HOST_FLAGS) ; do \
3149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3150 done; \
3151 echo "Doing info in automake" ; \
3152 (cd automake && \
3153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3155 "RANLIB=$${RANLIB}" \
3156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3157 info) \
3158 || exit 1
3160 @endif automake
3162 .PHONY: maybe-dvi-automake dvi-automake
3163 maybe-dvi-automake:
3164 @if automake
3165 maybe-dvi-automake: dvi-automake
3167 dvi-automake: \
3168 configure-automake
3169 @[ -f ./automake/Makefile ] || exit 0; \
3170 r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(SET_LIB_PATH) \
3173 $(HOST_EXPORTS) \
3174 for flag in $(EXTRA_HOST_FLAGS) ; do \
3175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3176 done; \
3177 echo "Doing dvi in automake" ; \
3178 (cd automake && \
3179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3181 "RANLIB=$${RANLIB}" \
3182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3183 dvi) \
3184 || exit 1
3186 @endif automake
3188 .PHONY: maybe-TAGS-automake TAGS-automake
3189 maybe-TAGS-automake:
3190 @if automake
3191 maybe-TAGS-automake: TAGS-automake
3193 TAGS-automake: \
3194 configure-automake
3195 @[ -f ./automake/Makefile ] || exit 0; \
3196 r=`${PWD_COMMAND}`; export r; \
3197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3198 $(SET_LIB_PATH) \
3199 $(HOST_EXPORTS) \
3200 for flag in $(EXTRA_HOST_FLAGS) ; do \
3201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3202 done; \
3203 echo "Doing TAGS in automake" ; \
3204 (cd automake && \
3205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3207 "RANLIB=$${RANLIB}" \
3208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3209 TAGS) \
3210 || exit 1
3212 @endif automake
3214 .PHONY: maybe-install-info-automake install-info-automake
3215 maybe-install-info-automake:
3216 @if automake
3217 maybe-install-info-automake: install-info-automake
3219 install-info-automake: \
3220 configure-automake \
3221 info-automake
3222 @[ -f ./automake/Makefile ] || exit 0; \
3223 r=`${PWD_COMMAND}`; export r; \
3224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3225 $(SET_LIB_PATH) \
3226 $(HOST_EXPORTS) \
3227 for flag in $(EXTRA_HOST_FLAGS) ; do \
3228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3229 done; \
3230 echo "Doing install-info in automake" ; \
3231 (cd automake && \
3232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3234 "RANLIB=$${RANLIB}" \
3235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3236 install-info) \
3237 || exit 1
3239 @endif automake
3241 .PHONY: maybe-installcheck-automake installcheck-automake
3242 maybe-installcheck-automake:
3243 @if automake
3244 maybe-installcheck-automake: installcheck-automake
3246 installcheck-automake: \
3247 configure-automake
3248 @[ -f ./automake/Makefile ] || exit 0; \
3249 r=`${PWD_COMMAND}`; export r; \
3250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3251 $(SET_LIB_PATH) \
3252 $(HOST_EXPORTS) \
3253 for flag in $(EXTRA_HOST_FLAGS) ; do \
3254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3255 done; \
3256 echo "Doing installcheck in automake" ; \
3257 (cd automake && \
3258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3260 "RANLIB=$${RANLIB}" \
3261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3262 installcheck) \
3263 || exit 1
3265 @endif automake
3267 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3268 maybe-mostlyclean-automake:
3269 @if automake
3270 maybe-mostlyclean-automake: mostlyclean-automake
3272 mostlyclean-automake:
3273 @[ -f ./automake/Makefile ] || exit 0; \
3274 r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276 $(SET_LIB_PATH) \
3277 $(HOST_EXPORTS) \
3278 for flag in $(EXTRA_HOST_FLAGS) ; do \
3279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3280 done; \
3281 echo "Doing mostlyclean in automake" ; \
3282 (cd automake && \
3283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3285 "RANLIB=$${RANLIB}" \
3286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3287 mostlyclean) \
3288 || exit 1
3290 @endif automake
3292 .PHONY: maybe-clean-automake clean-automake
3293 maybe-clean-automake:
3294 @if automake
3295 maybe-clean-automake: clean-automake
3297 clean-automake:
3298 @[ -f ./automake/Makefile ] || exit 0; \
3299 r=`${PWD_COMMAND}`; export r; \
3300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 $(SET_LIB_PATH) \
3302 $(HOST_EXPORTS) \
3303 for flag in $(EXTRA_HOST_FLAGS) ; do \
3304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3305 done; \
3306 echo "Doing clean in automake" ; \
3307 (cd automake && \
3308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3310 "RANLIB=$${RANLIB}" \
3311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3312 clean) \
3313 || exit 1
3315 @endif automake
3317 .PHONY: maybe-distclean-automake distclean-automake
3318 maybe-distclean-automake:
3319 @if automake
3320 maybe-distclean-automake: distclean-automake
3322 distclean-automake:
3323 @[ -f ./automake/Makefile ] || exit 0; \
3324 r=`${PWD_COMMAND}`; export r; \
3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 $(SET_LIB_PATH) \
3327 $(HOST_EXPORTS) \
3328 for flag in $(EXTRA_HOST_FLAGS) ; do \
3329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3330 done; \
3331 echo "Doing distclean in automake" ; \
3332 (cd automake && \
3333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3335 "RANLIB=$${RANLIB}" \
3336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3337 distclean) \
3338 || exit 1
3340 @endif automake
3342 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3343 maybe-maintainer-clean-automake:
3344 @if automake
3345 maybe-maintainer-clean-automake: maintainer-clean-automake
3347 maintainer-clean-automake:
3348 @[ -f ./automake/Makefile ] || exit 0; \
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 $(SET_LIB_PATH) \
3352 $(HOST_EXPORTS) \
3353 for flag in $(EXTRA_HOST_FLAGS) ; do \
3354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3355 done; \
3356 echo "Doing maintainer-clean in automake" ; \
3357 (cd automake && \
3358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3360 "RANLIB=$${RANLIB}" \
3361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3362 maintainer-clean) \
3363 || exit 1
3365 @endif automake
3368 .PHONY: configure-bash maybe-configure-bash
3369 maybe-configure-bash:
3370 @if bash
3371 maybe-configure-bash: configure-bash
3372 configure-bash:
3373 @test ! -f bash/Makefile || exit 0; \
3374 [ -d bash ] || mkdir bash; \
3375 r=`${PWD_COMMAND}`; export r; \
3376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3377 $(HOST_EXPORTS) \
3378 echo Configuring in bash; \
3379 cd bash || exit 1; \
3380 case $(srcdir) in \
3381 \.) \
3382 srcdiroption="--srcdir=."; \
3383 libsrcdir=".";; \
3384 /* | [A-Za-z]:[\\/]*) \
3385 srcdiroption="--srcdir=$(srcdir)/bash"; \
3386 libsrcdir="$$s/bash";; \
3387 *) \
3388 srcdiroption="--srcdir=../$(srcdir)/bash"; \
3389 libsrcdir="$$s/bash";; \
3390 esac; \
3391 $(SHELL) $${libsrcdir}/configure \
3392 $(HOST_CONFIGARGS) $${srcdiroption} \
3393 || exit 1
3394 @endif bash
3396 .PHONY: all-bash maybe-all-bash
3397 maybe-all-bash:
3398 @if bash
3399 maybe-all-bash: all-bash
3400 all-bash: configure-bash
3401 @r=`${PWD_COMMAND}`; export r; \
3402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3403 $(SET_LIB_PATH) \
3404 $(HOST_EXPORTS) \
3405 (cd bash && $(MAKE) $(FLAGS_TO_PASS) all)
3406 @endif bash
3408 .PHONY: check-bash maybe-check-bash
3409 maybe-check-bash:
3410 @if bash
3411 maybe-check-bash: check-bash
3413 check-bash:
3414 @r=`${PWD_COMMAND}`; export r; \
3415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3416 $(SET_LIB_PATH) \
3417 $(HOST_EXPORTS) \
3418 (cd bash && $(MAKE) $(FLAGS_TO_PASS) check)
3420 @endif bash
3422 .PHONY: install-bash maybe-install-bash
3423 maybe-install-bash:
3424 @if bash
3425 maybe-install-bash: install-bash
3427 install-bash: installdirs
3428 @r=`${PWD_COMMAND}`; export r; \
3429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3430 $(SET_LIB_PATH) \
3431 $(HOST_EXPORTS) \
3432 (cd bash && $(MAKE) $(FLAGS_TO_PASS) install)
3434 @endif bash
3436 # Other targets (info, dvi, etc.)
3438 .PHONY: maybe-info-bash info-bash
3439 maybe-info-bash:
3440 @if bash
3441 maybe-info-bash: info-bash
3443 info-bash: \
3444 configure-bash
3445 @[ -f ./bash/Makefile ] || exit 0; \
3446 r=`${PWD_COMMAND}`; export r; \
3447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3448 $(SET_LIB_PATH) \
3449 $(HOST_EXPORTS) \
3450 for flag in $(EXTRA_HOST_FLAGS) ; do \
3451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3452 done; \
3453 echo "Doing info in bash" ; \
3454 (cd bash && \
3455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3457 "RANLIB=$${RANLIB}" \
3458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3459 info) \
3460 || exit 1
3462 @endif bash
3464 .PHONY: maybe-dvi-bash dvi-bash
3465 maybe-dvi-bash:
3466 @if bash
3467 maybe-dvi-bash: dvi-bash
3469 dvi-bash: \
3470 configure-bash
3471 @[ -f ./bash/Makefile ] || exit 0; \
3472 r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474 $(SET_LIB_PATH) \
3475 $(HOST_EXPORTS) \
3476 for flag in $(EXTRA_HOST_FLAGS) ; do \
3477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3478 done; \
3479 echo "Doing dvi in bash" ; \
3480 (cd bash && \
3481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3483 "RANLIB=$${RANLIB}" \
3484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3485 dvi) \
3486 || exit 1
3488 @endif bash
3490 .PHONY: maybe-TAGS-bash TAGS-bash
3491 maybe-TAGS-bash:
3492 @if bash
3493 maybe-TAGS-bash: TAGS-bash
3495 TAGS-bash: \
3496 configure-bash
3497 @[ -f ./bash/Makefile ] || exit 0; \
3498 r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(SET_LIB_PATH) \
3501 $(HOST_EXPORTS) \
3502 for flag in $(EXTRA_HOST_FLAGS) ; do \
3503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3504 done; \
3505 echo "Doing TAGS in bash" ; \
3506 (cd bash && \
3507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3509 "RANLIB=$${RANLIB}" \
3510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3511 TAGS) \
3512 || exit 1
3514 @endif bash
3516 .PHONY: maybe-install-info-bash install-info-bash
3517 maybe-install-info-bash:
3518 @if bash
3519 maybe-install-info-bash: install-info-bash
3521 install-info-bash: \
3522 configure-bash \
3523 info-bash
3524 @[ -f ./bash/Makefile ] || exit 0; \
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 $(SET_LIB_PATH) \
3528 $(HOST_EXPORTS) \
3529 for flag in $(EXTRA_HOST_FLAGS) ; do \
3530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3531 done; \
3532 echo "Doing install-info in bash" ; \
3533 (cd bash && \
3534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3536 "RANLIB=$${RANLIB}" \
3537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3538 install-info) \
3539 || exit 1
3541 @endif bash
3543 .PHONY: maybe-installcheck-bash installcheck-bash
3544 maybe-installcheck-bash:
3545 @if bash
3546 maybe-installcheck-bash: installcheck-bash
3548 installcheck-bash: \
3549 configure-bash
3550 @[ -f ./bash/Makefile ] || exit 0; \
3551 r=`${PWD_COMMAND}`; export r; \
3552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3553 $(SET_LIB_PATH) \
3554 $(HOST_EXPORTS) \
3555 for flag in $(EXTRA_HOST_FLAGS) ; do \
3556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3557 done; \
3558 echo "Doing installcheck in bash" ; \
3559 (cd bash && \
3560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3562 "RANLIB=$${RANLIB}" \
3563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3564 installcheck) \
3565 || exit 1
3567 @endif bash
3569 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3570 maybe-mostlyclean-bash:
3571 @if bash
3572 maybe-mostlyclean-bash: mostlyclean-bash
3574 mostlyclean-bash:
3575 @[ -f ./bash/Makefile ] || exit 0; \
3576 r=`${PWD_COMMAND}`; export r; \
3577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3578 $(SET_LIB_PATH) \
3579 $(HOST_EXPORTS) \
3580 for flag in $(EXTRA_HOST_FLAGS) ; do \
3581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3582 done; \
3583 echo "Doing mostlyclean in bash" ; \
3584 (cd bash && \
3585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3587 "RANLIB=$${RANLIB}" \
3588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3589 mostlyclean) \
3590 || exit 1
3592 @endif bash
3594 .PHONY: maybe-clean-bash clean-bash
3595 maybe-clean-bash:
3596 @if bash
3597 maybe-clean-bash: clean-bash
3599 clean-bash:
3600 @[ -f ./bash/Makefile ] || exit 0; \
3601 r=`${PWD_COMMAND}`; export r; \
3602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3603 $(SET_LIB_PATH) \
3604 $(HOST_EXPORTS) \
3605 for flag in $(EXTRA_HOST_FLAGS) ; do \
3606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3607 done; \
3608 echo "Doing clean in bash" ; \
3609 (cd bash && \
3610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3612 "RANLIB=$${RANLIB}" \
3613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3614 clean) \
3615 || exit 1
3617 @endif bash
3619 .PHONY: maybe-distclean-bash distclean-bash
3620 maybe-distclean-bash:
3621 @if bash
3622 maybe-distclean-bash: distclean-bash
3624 distclean-bash:
3625 @[ -f ./bash/Makefile ] || exit 0; \
3626 r=`${PWD_COMMAND}`; export r; \
3627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3628 $(SET_LIB_PATH) \
3629 $(HOST_EXPORTS) \
3630 for flag in $(EXTRA_HOST_FLAGS) ; do \
3631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3632 done; \
3633 echo "Doing distclean in bash" ; \
3634 (cd bash && \
3635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3637 "RANLIB=$${RANLIB}" \
3638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3639 distclean) \
3640 || exit 1
3642 @endif bash
3644 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3645 maybe-maintainer-clean-bash:
3646 @if bash
3647 maybe-maintainer-clean-bash: maintainer-clean-bash
3649 maintainer-clean-bash:
3650 @[ -f ./bash/Makefile ] || exit 0; \
3651 r=`${PWD_COMMAND}`; export r; \
3652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3653 $(SET_LIB_PATH) \
3654 $(HOST_EXPORTS) \
3655 for flag in $(EXTRA_HOST_FLAGS) ; do \
3656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3657 done; \
3658 echo "Doing maintainer-clean in bash" ; \
3659 (cd bash && \
3660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3662 "RANLIB=$${RANLIB}" \
3663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3664 maintainer-clean) \
3665 || exit 1
3667 @endif bash
3670 .PHONY: configure-bfd maybe-configure-bfd
3671 maybe-configure-bfd:
3672 @if bfd
3673 maybe-configure-bfd: configure-bfd
3674 configure-bfd:
3675 @test -f stage_last && exit 0; \
3676 test ! -f bfd/Makefile || exit 0; \
3677 [ -d bfd ] || mkdir bfd; \
3678 r=`${PWD_COMMAND}`; export r; \
3679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3680 $(HOST_EXPORTS) \
3681 echo Configuring in bfd; \
3682 cd bfd || exit 1; \
3683 case $(srcdir) in \
3684 \.) \
3685 srcdiroption="--srcdir=."; \
3686 libsrcdir=".";; \
3687 /* | [A-Za-z]:[\\/]*) \
3688 srcdiroption="--srcdir=$(srcdir)/bfd"; \
3689 libsrcdir="$$s/bfd";; \
3690 *) \
3691 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
3692 libsrcdir="$$s/bfd";; \
3693 esac; \
3694 $(SHELL) $${libsrcdir}/configure \
3695 $(HOST_CONFIGARGS) $${srcdiroption} \
3696 || exit 1
3697 @endif bfd
3699 .PHONY: all-bfd maybe-all-bfd
3700 maybe-all-bfd:
3701 @if bfd
3702 maybe-all-bfd: all-bfd
3703 all-bfd: configure-bfd
3704 @test -f stage_last && exit 0; \
3705 r=`${PWD_COMMAND}`; export r; \
3706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3707 $(SET_LIB_PATH) \
3708 $(HOST_EXPORTS) \
3709 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) all)
3710 @endif bfd
3712 .PHONY: check-bfd maybe-check-bfd
3713 maybe-check-bfd:
3714 @if bfd
3715 maybe-check-bfd: check-bfd
3717 check-bfd:
3718 @r=`${PWD_COMMAND}`; export r; \
3719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3720 $(SET_LIB_PATH) \
3721 $(HOST_EXPORTS) \
3722 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) check)
3724 @endif bfd
3726 .PHONY: install-bfd maybe-install-bfd
3727 maybe-install-bfd:
3728 @if bfd
3729 maybe-install-bfd: install-bfd
3731 install-bfd: installdirs
3732 @r=`${PWD_COMMAND}`; export r; \
3733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3734 $(SET_LIB_PATH) \
3735 $(HOST_EXPORTS) \
3736 (cd bfd && $(MAKE) $(FLAGS_TO_PASS) install)
3738 @endif bfd
3740 # Other targets (info, dvi, etc.)
3742 .PHONY: maybe-info-bfd info-bfd
3743 maybe-info-bfd:
3744 @if bfd
3745 maybe-info-bfd: info-bfd
3747 info-bfd: \
3748 configure-bfd
3749 @[ -f ./bfd/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(SET_LIB_PATH) \
3753 $(HOST_EXPORTS) \
3754 for flag in $(EXTRA_HOST_FLAGS) ; do \
3755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3756 done; \
3757 echo "Doing info in bfd" ; \
3758 (cd bfd && \
3759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3761 "RANLIB=$${RANLIB}" \
3762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3763 info) \
3764 || exit 1
3766 @endif bfd
3768 .PHONY: maybe-dvi-bfd dvi-bfd
3769 maybe-dvi-bfd:
3770 @if bfd
3771 maybe-dvi-bfd: dvi-bfd
3773 dvi-bfd: \
3774 configure-bfd
3775 @[ -f ./bfd/Makefile ] || exit 0; \
3776 r=`${PWD_COMMAND}`; export r; \
3777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3778 $(SET_LIB_PATH) \
3779 $(HOST_EXPORTS) \
3780 for flag in $(EXTRA_HOST_FLAGS) ; do \
3781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3782 done; \
3783 echo "Doing dvi in bfd" ; \
3784 (cd bfd && \
3785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3787 "RANLIB=$${RANLIB}" \
3788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3789 dvi) \
3790 || exit 1
3792 @endif bfd
3794 .PHONY: maybe-TAGS-bfd TAGS-bfd
3795 maybe-TAGS-bfd:
3796 @if bfd
3797 maybe-TAGS-bfd: TAGS-bfd
3799 TAGS-bfd: \
3800 configure-bfd
3801 @[ -f ./bfd/Makefile ] || exit 0; \
3802 r=`${PWD_COMMAND}`; export r; \
3803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3804 $(SET_LIB_PATH) \
3805 $(HOST_EXPORTS) \
3806 for flag in $(EXTRA_HOST_FLAGS) ; do \
3807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3808 done; \
3809 echo "Doing TAGS in bfd" ; \
3810 (cd bfd && \
3811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3813 "RANLIB=$${RANLIB}" \
3814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3815 TAGS) \
3816 || exit 1
3818 @endif bfd
3820 .PHONY: maybe-install-info-bfd install-info-bfd
3821 maybe-install-info-bfd:
3822 @if bfd
3823 maybe-install-info-bfd: install-info-bfd
3825 install-info-bfd: \
3826 configure-bfd \
3827 info-bfd
3828 @[ -f ./bfd/Makefile ] || exit 0; \
3829 r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(SET_LIB_PATH) \
3832 $(HOST_EXPORTS) \
3833 for flag in $(EXTRA_HOST_FLAGS) ; do \
3834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3835 done; \
3836 echo "Doing install-info in bfd" ; \
3837 (cd bfd && \
3838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3840 "RANLIB=$${RANLIB}" \
3841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3842 install-info) \
3843 || exit 1
3845 @endif bfd
3847 .PHONY: maybe-installcheck-bfd installcheck-bfd
3848 maybe-installcheck-bfd:
3849 @if bfd
3850 maybe-installcheck-bfd: installcheck-bfd
3852 installcheck-bfd: \
3853 configure-bfd
3854 @[ -f ./bfd/Makefile ] || exit 0; \
3855 r=`${PWD_COMMAND}`; export r; \
3856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3857 $(SET_LIB_PATH) \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing installcheck in bfd" ; \
3863 (cd bfd && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 installcheck) \
3869 || exit 1
3871 @endif bfd
3873 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
3874 maybe-mostlyclean-bfd:
3875 @if bfd
3876 maybe-mostlyclean-bfd: mostlyclean-bfd
3878 mostlyclean-bfd:
3879 @[ -f ./bfd/Makefile ] || exit 0; \
3880 r=`${PWD_COMMAND}`; export r; \
3881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3882 $(SET_LIB_PATH) \
3883 $(HOST_EXPORTS) \
3884 for flag in $(EXTRA_HOST_FLAGS) ; do \
3885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3886 done; \
3887 echo "Doing mostlyclean in bfd" ; \
3888 (cd bfd && \
3889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3891 "RANLIB=$${RANLIB}" \
3892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3893 mostlyclean) \
3894 || exit 1
3896 @endif bfd
3898 .PHONY: maybe-clean-bfd clean-bfd
3899 maybe-clean-bfd:
3900 @if bfd
3901 maybe-clean-bfd: clean-bfd
3903 clean-bfd:
3904 @[ -f ./bfd/Makefile ] || exit 0; \
3905 r=`${PWD_COMMAND}`; export r; \
3906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3907 $(SET_LIB_PATH) \
3908 $(HOST_EXPORTS) \
3909 for flag in $(EXTRA_HOST_FLAGS) ; do \
3910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3911 done; \
3912 echo "Doing clean in bfd" ; \
3913 (cd bfd && \
3914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916 "RANLIB=$${RANLIB}" \
3917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 clean) \
3919 || exit 1
3921 @endif bfd
3923 .PHONY: maybe-distclean-bfd distclean-bfd
3924 maybe-distclean-bfd:
3925 @if bfd
3926 maybe-distclean-bfd: distclean-bfd
3928 distclean-bfd:
3929 @[ -f ./bfd/Makefile ] || exit 0; \
3930 r=`${PWD_COMMAND}`; export r; \
3931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3932 $(SET_LIB_PATH) \
3933 $(HOST_EXPORTS) \
3934 for flag in $(EXTRA_HOST_FLAGS) ; do \
3935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3936 done; \
3937 echo "Doing distclean in bfd" ; \
3938 (cd bfd && \
3939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3941 "RANLIB=$${RANLIB}" \
3942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3943 distclean) \
3944 || exit 1
3946 @endif bfd
3948 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
3949 maybe-maintainer-clean-bfd:
3950 @if bfd
3951 maybe-maintainer-clean-bfd: maintainer-clean-bfd
3953 maintainer-clean-bfd:
3954 @[ -f ./bfd/Makefile ] || exit 0; \
3955 r=`${PWD_COMMAND}`; export r; \
3956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3957 $(SET_LIB_PATH) \
3958 $(HOST_EXPORTS) \
3959 for flag in $(EXTRA_HOST_FLAGS) ; do \
3960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3961 done; \
3962 echo "Doing maintainer-clean in bfd" ; \
3963 (cd bfd && \
3964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3966 "RANLIB=$${RANLIB}" \
3967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3968 maintainer-clean) \
3969 || exit 1
3971 @endif bfd
3974 .PHONY: configure-opcodes maybe-configure-opcodes
3975 maybe-configure-opcodes:
3976 @if opcodes
3977 maybe-configure-opcodes: configure-opcodes
3978 configure-opcodes:
3979 @test -f stage_last && exit 0; \
3980 test ! -f opcodes/Makefile || exit 0; \
3981 [ -d opcodes ] || mkdir opcodes; \
3982 r=`${PWD_COMMAND}`; export r; \
3983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3984 $(HOST_EXPORTS) \
3985 echo Configuring in opcodes; \
3986 cd opcodes || exit 1; \
3987 case $(srcdir) in \
3988 \.) \
3989 srcdiroption="--srcdir=."; \
3990 libsrcdir=".";; \
3991 /* | [A-Za-z]:[\\/]*) \
3992 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
3993 libsrcdir="$$s/opcodes";; \
3994 *) \
3995 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
3996 libsrcdir="$$s/opcodes";; \
3997 esac; \
3998 $(SHELL) $${libsrcdir}/configure \
3999 $(HOST_CONFIGARGS) $${srcdiroption} \
4000 || exit 1
4001 @endif opcodes
4003 .PHONY: all-opcodes maybe-all-opcodes
4004 maybe-all-opcodes:
4005 @if opcodes
4006 maybe-all-opcodes: all-opcodes
4007 all-opcodes: configure-opcodes
4008 @test -f stage_last && exit 0; \
4009 r=`${PWD_COMMAND}`; export r; \
4010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4011 $(SET_LIB_PATH) \
4012 $(HOST_EXPORTS) \
4013 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) all)
4014 @endif opcodes
4016 .PHONY: check-opcodes maybe-check-opcodes
4017 maybe-check-opcodes:
4018 @if opcodes
4019 maybe-check-opcodes: check-opcodes
4021 check-opcodes:
4022 @r=`${PWD_COMMAND}`; export r; \
4023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4024 $(SET_LIB_PATH) \
4025 $(HOST_EXPORTS) \
4026 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) check)
4028 @endif opcodes
4030 .PHONY: install-opcodes maybe-install-opcodes
4031 maybe-install-opcodes:
4032 @if opcodes
4033 maybe-install-opcodes: install-opcodes
4035 install-opcodes: installdirs
4036 @r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(SET_LIB_PATH) \
4039 $(HOST_EXPORTS) \
4040 (cd opcodes && $(MAKE) $(FLAGS_TO_PASS) install)
4042 @endif opcodes
4044 # Other targets (info, dvi, etc.)
4046 .PHONY: maybe-info-opcodes info-opcodes
4047 maybe-info-opcodes:
4048 @if opcodes
4049 maybe-info-opcodes: info-opcodes
4051 info-opcodes: \
4052 configure-opcodes
4053 @[ -f ./opcodes/Makefile ] || exit 0; \
4054 r=`${PWD_COMMAND}`; export r; \
4055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4056 $(SET_LIB_PATH) \
4057 $(HOST_EXPORTS) \
4058 for flag in $(EXTRA_HOST_FLAGS) ; do \
4059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4060 done; \
4061 echo "Doing info in opcodes" ; \
4062 (cd opcodes && \
4063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4065 "RANLIB=$${RANLIB}" \
4066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4067 info) \
4068 || exit 1
4070 @endif opcodes
4072 .PHONY: maybe-dvi-opcodes dvi-opcodes
4073 maybe-dvi-opcodes:
4074 @if opcodes
4075 maybe-dvi-opcodes: dvi-opcodes
4077 dvi-opcodes: \
4078 configure-opcodes
4079 @[ -f ./opcodes/Makefile ] || exit 0; \
4080 r=`${PWD_COMMAND}`; export r; \
4081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4082 $(SET_LIB_PATH) \
4083 $(HOST_EXPORTS) \
4084 for flag in $(EXTRA_HOST_FLAGS) ; do \
4085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4086 done; \
4087 echo "Doing dvi in opcodes" ; \
4088 (cd opcodes && \
4089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4091 "RANLIB=$${RANLIB}" \
4092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4093 dvi) \
4094 || exit 1
4096 @endif opcodes
4098 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4099 maybe-TAGS-opcodes:
4100 @if opcodes
4101 maybe-TAGS-opcodes: TAGS-opcodes
4103 TAGS-opcodes: \
4104 configure-opcodes
4105 @[ -f ./opcodes/Makefile ] || exit 0; \
4106 r=`${PWD_COMMAND}`; export r; \
4107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4108 $(SET_LIB_PATH) \
4109 $(HOST_EXPORTS) \
4110 for flag in $(EXTRA_HOST_FLAGS) ; do \
4111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4112 done; \
4113 echo "Doing TAGS in opcodes" ; \
4114 (cd opcodes && \
4115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4117 "RANLIB=$${RANLIB}" \
4118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4119 TAGS) \
4120 || exit 1
4122 @endif opcodes
4124 .PHONY: maybe-install-info-opcodes install-info-opcodes
4125 maybe-install-info-opcodes:
4126 @if opcodes
4127 maybe-install-info-opcodes: install-info-opcodes
4129 install-info-opcodes: \
4130 configure-opcodes \
4131 info-opcodes
4132 @[ -f ./opcodes/Makefile ] || exit 0; \
4133 r=`${PWD_COMMAND}`; export r; \
4134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4135 $(SET_LIB_PATH) \
4136 $(HOST_EXPORTS) \
4137 for flag in $(EXTRA_HOST_FLAGS) ; do \
4138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4139 done; \
4140 echo "Doing install-info in opcodes" ; \
4141 (cd opcodes && \
4142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4144 "RANLIB=$${RANLIB}" \
4145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4146 install-info) \
4147 || exit 1
4149 @endif opcodes
4151 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4152 maybe-installcheck-opcodes:
4153 @if opcodes
4154 maybe-installcheck-opcodes: installcheck-opcodes
4156 installcheck-opcodes: \
4157 configure-opcodes
4158 @[ -f ./opcodes/Makefile ] || exit 0; \
4159 r=`${PWD_COMMAND}`; export r; \
4160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4161 $(SET_LIB_PATH) \
4162 $(HOST_EXPORTS) \
4163 for flag in $(EXTRA_HOST_FLAGS) ; do \
4164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4165 done; \
4166 echo "Doing installcheck in opcodes" ; \
4167 (cd opcodes && \
4168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4170 "RANLIB=$${RANLIB}" \
4171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4172 installcheck) \
4173 || exit 1
4175 @endif opcodes
4177 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4178 maybe-mostlyclean-opcodes:
4179 @if opcodes
4180 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4182 mostlyclean-opcodes:
4183 @[ -f ./opcodes/Makefile ] || exit 0; \
4184 r=`${PWD_COMMAND}`; export r; \
4185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4186 $(SET_LIB_PATH) \
4187 $(HOST_EXPORTS) \
4188 for flag in $(EXTRA_HOST_FLAGS) ; do \
4189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4190 done; \
4191 echo "Doing mostlyclean in opcodes" ; \
4192 (cd opcodes && \
4193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4195 "RANLIB=$${RANLIB}" \
4196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4197 mostlyclean) \
4198 || exit 1
4200 @endif opcodes
4202 .PHONY: maybe-clean-opcodes clean-opcodes
4203 maybe-clean-opcodes:
4204 @if opcodes
4205 maybe-clean-opcodes: clean-opcodes
4207 clean-opcodes:
4208 @[ -f ./opcodes/Makefile ] || exit 0; \
4209 r=`${PWD_COMMAND}`; export r; \
4210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4211 $(SET_LIB_PATH) \
4212 $(HOST_EXPORTS) \
4213 for flag in $(EXTRA_HOST_FLAGS) ; do \
4214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4215 done; \
4216 echo "Doing clean in opcodes" ; \
4217 (cd opcodes && \
4218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4220 "RANLIB=$${RANLIB}" \
4221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4222 clean) \
4223 || exit 1
4225 @endif opcodes
4227 .PHONY: maybe-distclean-opcodes distclean-opcodes
4228 maybe-distclean-opcodes:
4229 @if opcodes
4230 maybe-distclean-opcodes: distclean-opcodes
4232 distclean-opcodes:
4233 @[ -f ./opcodes/Makefile ] || exit 0; \
4234 r=`${PWD_COMMAND}`; export r; \
4235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4236 $(SET_LIB_PATH) \
4237 $(HOST_EXPORTS) \
4238 for flag in $(EXTRA_HOST_FLAGS) ; do \
4239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4240 done; \
4241 echo "Doing distclean in opcodes" ; \
4242 (cd opcodes && \
4243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4245 "RANLIB=$${RANLIB}" \
4246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4247 distclean) \
4248 || exit 1
4250 @endif opcodes
4252 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4253 maybe-maintainer-clean-opcodes:
4254 @if opcodes
4255 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4257 maintainer-clean-opcodes:
4258 @[ -f ./opcodes/Makefile ] || exit 0; \
4259 r=`${PWD_COMMAND}`; export r; \
4260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4261 $(SET_LIB_PATH) \
4262 $(HOST_EXPORTS) \
4263 for flag in $(EXTRA_HOST_FLAGS) ; do \
4264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4265 done; \
4266 echo "Doing maintainer-clean in opcodes" ; \
4267 (cd opcodes && \
4268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4270 "RANLIB=$${RANLIB}" \
4271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4272 maintainer-clean) \
4273 || exit 1
4275 @endif opcodes
4278 .PHONY: configure-binutils maybe-configure-binutils
4279 maybe-configure-binutils:
4280 @if binutils
4281 maybe-configure-binutils: configure-binutils
4282 configure-binutils:
4283 @test -f stage_last && exit 0; \
4284 test ! -f binutils/Makefile || exit 0; \
4285 [ -d binutils ] || mkdir binutils; \
4286 r=`${PWD_COMMAND}`; export r; \
4287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4288 $(HOST_EXPORTS) \
4289 echo Configuring in binutils; \
4290 cd binutils || exit 1; \
4291 case $(srcdir) in \
4292 \.) \
4293 srcdiroption="--srcdir=."; \
4294 libsrcdir=".";; \
4295 /* | [A-Za-z]:[\\/]*) \
4296 srcdiroption="--srcdir=$(srcdir)/binutils"; \
4297 libsrcdir="$$s/binutils";; \
4298 *) \
4299 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
4300 libsrcdir="$$s/binutils";; \
4301 esac; \
4302 $(SHELL) $${libsrcdir}/configure \
4303 $(HOST_CONFIGARGS) $${srcdiroption} \
4304 || exit 1
4305 @endif binutils
4307 .PHONY: all-binutils maybe-all-binutils
4308 maybe-all-binutils:
4309 @if binutils
4310 maybe-all-binutils: all-binutils
4311 all-binutils: configure-binutils
4312 @test -f stage_last && exit 0; \
4313 r=`${PWD_COMMAND}`; export r; \
4314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4315 $(SET_LIB_PATH) \
4316 $(HOST_EXPORTS) \
4317 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) all)
4318 @endif binutils
4320 .PHONY: check-binutils maybe-check-binutils
4321 maybe-check-binutils:
4322 @if binutils
4323 maybe-check-binutils: check-binutils
4325 check-binutils:
4326 @r=`${PWD_COMMAND}`; export r; \
4327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4328 $(SET_LIB_PATH) \
4329 $(HOST_EXPORTS) \
4330 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) check)
4332 @endif binutils
4334 .PHONY: install-binutils maybe-install-binutils
4335 maybe-install-binutils:
4336 @if binutils
4337 maybe-install-binutils: install-binutils
4339 install-binutils: installdirs
4340 @r=`${PWD_COMMAND}`; export r; \
4341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4342 $(SET_LIB_PATH) \
4343 $(HOST_EXPORTS) \
4344 (cd binutils && $(MAKE) $(FLAGS_TO_PASS) install)
4346 @endif binutils
4348 # Other targets (info, dvi, etc.)
4350 .PHONY: maybe-info-binutils info-binutils
4351 maybe-info-binutils:
4352 @if binutils
4353 maybe-info-binutils: info-binutils
4355 info-binutils: \
4356 configure-binutils
4357 @[ -f ./binutils/Makefile ] || exit 0; \
4358 r=`${PWD_COMMAND}`; export r; \
4359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4360 $(SET_LIB_PATH) \
4361 $(HOST_EXPORTS) \
4362 for flag in $(EXTRA_HOST_FLAGS) ; do \
4363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4364 done; \
4365 echo "Doing info in binutils" ; \
4366 (cd binutils && \
4367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4369 "RANLIB=$${RANLIB}" \
4370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4371 info) \
4372 || exit 1
4374 @endif binutils
4376 .PHONY: maybe-dvi-binutils dvi-binutils
4377 maybe-dvi-binutils:
4378 @if binutils
4379 maybe-dvi-binutils: dvi-binutils
4381 dvi-binutils: \
4382 configure-binutils
4383 @[ -f ./binutils/Makefile ] || exit 0; \
4384 r=`${PWD_COMMAND}`; export r; \
4385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4386 $(SET_LIB_PATH) \
4387 $(HOST_EXPORTS) \
4388 for flag in $(EXTRA_HOST_FLAGS) ; do \
4389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4390 done; \
4391 echo "Doing dvi in binutils" ; \
4392 (cd binutils && \
4393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4395 "RANLIB=$${RANLIB}" \
4396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4397 dvi) \
4398 || exit 1
4400 @endif binutils
4402 .PHONY: maybe-TAGS-binutils TAGS-binutils
4403 maybe-TAGS-binutils:
4404 @if binutils
4405 maybe-TAGS-binutils: TAGS-binutils
4407 TAGS-binutils: \
4408 configure-binutils
4409 @[ -f ./binutils/Makefile ] || exit 0; \
4410 r=`${PWD_COMMAND}`; export r; \
4411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4412 $(SET_LIB_PATH) \
4413 $(HOST_EXPORTS) \
4414 for flag in $(EXTRA_HOST_FLAGS) ; do \
4415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4416 done; \
4417 echo "Doing TAGS in binutils" ; \
4418 (cd binutils && \
4419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4421 "RANLIB=$${RANLIB}" \
4422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4423 TAGS) \
4424 || exit 1
4426 @endif binutils
4428 .PHONY: maybe-install-info-binutils install-info-binutils
4429 maybe-install-info-binutils:
4430 @if binutils
4431 maybe-install-info-binutils: install-info-binutils
4433 install-info-binutils: \
4434 configure-binutils \
4435 info-binutils
4436 @[ -f ./binutils/Makefile ] || exit 0; \
4437 r=`${PWD_COMMAND}`; export r; \
4438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4439 $(SET_LIB_PATH) \
4440 $(HOST_EXPORTS) \
4441 for flag in $(EXTRA_HOST_FLAGS) ; do \
4442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4443 done; \
4444 echo "Doing install-info in binutils" ; \
4445 (cd binutils && \
4446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4448 "RANLIB=$${RANLIB}" \
4449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4450 install-info) \
4451 || exit 1
4453 @endif binutils
4455 .PHONY: maybe-installcheck-binutils installcheck-binutils
4456 maybe-installcheck-binutils:
4457 @if binutils
4458 maybe-installcheck-binutils: installcheck-binutils
4460 installcheck-binutils: \
4461 configure-binutils
4462 @[ -f ./binutils/Makefile ] || exit 0; \
4463 r=`${PWD_COMMAND}`; export r; \
4464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4465 $(SET_LIB_PATH) \
4466 $(HOST_EXPORTS) \
4467 for flag in $(EXTRA_HOST_FLAGS) ; do \
4468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4469 done; \
4470 echo "Doing installcheck in binutils" ; \
4471 (cd binutils && \
4472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4474 "RANLIB=$${RANLIB}" \
4475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4476 installcheck) \
4477 || exit 1
4479 @endif binutils
4481 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4482 maybe-mostlyclean-binutils:
4483 @if binutils
4484 maybe-mostlyclean-binutils: mostlyclean-binutils
4486 mostlyclean-binutils:
4487 @[ -f ./binutils/Makefile ] || exit 0; \
4488 r=`${PWD_COMMAND}`; export r; \
4489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4490 $(SET_LIB_PATH) \
4491 $(HOST_EXPORTS) \
4492 for flag in $(EXTRA_HOST_FLAGS) ; do \
4493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4494 done; \
4495 echo "Doing mostlyclean in binutils" ; \
4496 (cd binutils && \
4497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4499 "RANLIB=$${RANLIB}" \
4500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4501 mostlyclean) \
4502 || exit 1
4504 @endif binutils
4506 .PHONY: maybe-clean-binutils clean-binutils
4507 maybe-clean-binutils:
4508 @if binutils
4509 maybe-clean-binutils: clean-binutils
4511 clean-binutils:
4512 @[ -f ./binutils/Makefile ] || exit 0; \
4513 r=`${PWD_COMMAND}`; export r; \
4514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4515 $(SET_LIB_PATH) \
4516 $(HOST_EXPORTS) \
4517 for flag in $(EXTRA_HOST_FLAGS) ; do \
4518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4519 done; \
4520 echo "Doing clean in binutils" ; \
4521 (cd binutils && \
4522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4524 "RANLIB=$${RANLIB}" \
4525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4526 clean) \
4527 || exit 1
4529 @endif binutils
4531 .PHONY: maybe-distclean-binutils distclean-binutils
4532 maybe-distclean-binutils:
4533 @if binutils
4534 maybe-distclean-binutils: distclean-binutils
4536 distclean-binutils:
4537 @[ -f ./binutils/Makefile ] || exit 0; \
4538 r=`${PWD_COMMAND}`; export r; \
4539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4540 $(SET_LIB_PATH) \
4541 $(HOST_EXPORTS) \
4542 for flag in $(EXTRA_HOST_FLAGS) ; do \
4543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4544 done; \
4545 echo "Doing distclean in binutils" ; \
4546 (cd binutils && \
4547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4549 "RANLIB=$${RANLIB}" \
4550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4551 distclean) \
4552 || exit 1
4554 @endif binutils
4556 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4557 maybe-maintainer-clean-binutils:
4558 @if binutils
4559 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4561 maintainer-clean-binutils:
4562 @[ -f ./binutils/Makefile ] || exit 0; \
4563 r=`${PWD_COMMAND}`; export r; \
4564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4565 $(SET_LIB_PATH) \
4566 $(HOST_EXPORTS) \
4567 for flag in $(EXTRA_HOST_FLAGS) ; do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing maintainer-clean in binutils" ; \
4571 (cd binutils && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4576 maintainer-clean) \
4577 || exit 1
4579 @endif binutils
4582 .PHONY: configure-bison maybe-configure-bison
4583 maybe-configure-bison:
4584 @if bison
4585 maybe-configure-bison: configure-bison
4586 configure-bison:
4587 @test ! -f bison/Makefile || exit 0; \
4588 [ -d bison ] || mkdir bison; \
4589 r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 $(HOST_EXPORTS) \
4592 echo Configuring in bison; \
4593 cd bison || exit 1; \
4594 case $(srcdir) in \
4595 \.) \
4596 srcdiroption="--srcdir=."; \
4597 libsrcdir=".";; \
4598 /* | [A-Za-z]:[\\/]*) \
4599 srcdiroption="--srcdir=$(srcdir)/bison"; \
4600 libsrcdir="$$s/bison";; \
4601 *) \
4602 srcdiroption="--srcdir=../$(srcdir)/bison"; \
4603 libsrcdir="$$s/bison";; \
4604 esac; \
4605 $(SHELL) $${libsrcdir}/configure \
4606 $(HOST_CONFIGARGS) $${srcdiroption} \
4607 || exit 1
4608 @endif bison
4610 .PHONY: all-bison maybe-all-bison
4611 maybe-all-bison:
4612 @if bison
4613 maybe-all-bison: all-bison
4614 all-bison: configure-bison
4615 @r=`${PWD_COMMAND}`; export r; \
4616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4617 $(SET_LIB_PATH) \
4618 $(HOST_EXPORTS) \
4619 (cd bison && $(MAKE) $(FLAGS_TO_PASS) all)
4620 @endif bison
4622 .PHONY: check-bison maybe-check-bison
4623 maybe-check-bison:
4624 @if bison
4625 maybe-check-bison: check-bison
4627 # This module is only tested in a native toolchain.
4628 check-bison:
4629 @if [ '$(host)' = '$(target)' ] ; then \
4630 r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632 $(SET_LIB_PATH) \
4633 $(HOST_EXPORTS) \
4634 (cd bison && $(MAKE) $(FLAGS_TO_PASS) check); \
4637 @endif bison
4639 .PHONY: install-bison maybe-install-bison
4640 maybe-install-bison:
4641 @if bison
4642 maybe-install-bison: install-bison
4644 install-bison: installdirs
4645 @r=`${PWD_COMMAND}`; export r; \
4646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4647 $(SET_LIB_PATH) \
4648 $(HOST_EXPORTS) \
4649 (cd bison && $(MAKE) $(FLAGS_TO_PASS) install)
4651 @endif bison
4653 # Other targets (info, dvi, etc.)
4655 .PHONY: maybe-info-bison info-bison
4656 maybe-info-bison:
4657 @if bison
4658 maybe-info-bison: info-bison
4660 info-bison: \
4661 configure-bison
4662 @[ -f ./bison/Makefile ] || exit 0; \
4663 r=`${PWD_COMMAND}`; export r; \
4664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4665 $(SET_LIB_PATH) \
4666 $(HOST_EXPORTS) \
4667 for flag in $(EXTRA_HOST_FLAGS) ; do \
4668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4669 done; \
4670 echo "Doing info in bison" ; \
4671 (cd bison && \
4672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4674 "RANLIB=$${RANLIB}" \
4675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4676 info) \
4677 || exit 1
4679 @endif bison
4681 .PHONY: maybe-dvi-bison dvi-bison
4682 maybe-dvi-bison:
4683 @if bison
4684 maybe-dvi-bison: dvi-bison
4686 dvi-bison: \
4687 configure-bison
4688 @[ -f ./bison/Makefile ] || exit 0; \
4689 r=`${PWD_COMMAND}`; export r; \
4690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4691 $(SET_LIB_PATH) \
4692 $(HOST_EXPORTS) \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4695 done; \
4696 echo "Doing dvi in bison" ; \
4697 (cd bison && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4702 dvi) \
4703 || exit 1
4705 @endif bison
4707 .PHONY: maybe-TAGS-bison TAGS-bison
4708 maybe-TAGS-bison:
4709 @if bison
4710 maybe-TAGS-bison: TAGS-bison
4712 TAGS-bison: \
4713 configure-bison
4714 @[ -f ./bison/Makefile ] || exit 0; \
4715 r=`${PWD_COMMAND}`; export r; \
4716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4717 $(SET_LIB_PATH) \
4718 $(HOST_EXPORTS) \
4719 for flag in $(EXTRA_HOST_FLAGS) ; do \
4720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4721 done; \
4722 echo "Doing TAGS in bison" ; \
4723 (cd bison && \
4724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4726 "RANLIB=$${RANLIB}" \
4727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4728 TAGS) \
4729 || exit 1
4731 @endif bison
4733 .PHONY: maybe-install-info-bison install-info-bison
4734 maybe-install-info-bison:
4735 @if bison
4736 maybe-install-info-bison: install-info-bison
4738 install-info-bison: \
4739 configure-bison \
4740 info-bison
4741 @[ -f ./bison/Makefile ] || exit 0; \
4742 r=`${PWD_COMMAND}`; export r; \
4743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4744 $(SET_LIB_PATH) \
4745 $(HOST_EXPORTS) \
4746 for flag in $(EXTRA_HOST_FLAGS) ; do \
4747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4748 done; \
4749 echo "Doing install-info in bison" ; \
4750 (cd bison && \
4751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4753 "RANLIB=$${RANLIB}" \
4754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4755 install-info) \
4756 || exit 1
4758 @endif bison
4760 .PHONY: maybe-installcheck-bison installcheck-bison
4761 maybe-installcheck-bison:
4762 @if bison
4763 maybe-installcheck-bison: installcheck-bison
4765 installcheck-bison: \
4766 configure-bison
4767 @[ -f ./bison/Makefile ] || exit 0; \
4768 r=`${PWD_COMMAND}`; export r; \
4769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4770 $(SET_LIB_PATH) \
4771 $(HOST_EXPORTS) \
4772 for flag in $(EXTRA_HOST_FLAGS) ; do \
4773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4774 done; \
4775 echo "Doing installcheck in bison" ; \
4776 (cd bison && \
4777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4779 "RANLIB=$${RANLIB}" \
4780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4781 installcheck) \
4782 || exit 1
4784 @endif bison
4786 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
4787 maybe-mostlyclean-bison:
4788 @if bison
4789 maybe-mostlyclean-bison: mostlyclean-bison
4791 mostlyclean-bison:
4792 @[ -f ./bison/Makefile ] || exit 0; \
4793 r=`${PWD_COMMAND}`; export r; \
4794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4795 $(SET_LIB_PATH) \
4796 $(HOST_EXPORTS) \
4797 for flag in $(EXTRA_HOST_FLAGS) ; do \
4798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4799 done; \
4800 echo "Doing mostlyclean in bison" ; \
4801 (cd bison && \
4802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4804 "RANLIB=$${RANLIB}" \
4805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4806 mostlyclean) \
4807 || exit 1
4809 @endif bison
4811 .PHONY: maybe-clean-bison clean-bison
4812 maybe-clean-bison:
4813 @if bison
4814 maybe-clean-bison: clean-bison
4816 clean-bison:
4817 @[ -f ./bison/Makefile ] || exit 0; \
4818 r=`${PWD_COMMAND}`; export r; \
4819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 $(SET_LIB_PATH) \
4821 $(HOST_EXPORTS) \
4822 for flag in $(EXTRA_HOST_FLAGS) ; do \
4823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4824 done; \
4825 echo "Doing clean in bison" ; \
4826 (cd bison && \
4827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4829 "RANLIB=$${RANLIB}" \
4830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4831 clean) \
4832 || exit 1
4834 @endif bison
4836 .PHONY: maybe-distclean-bison distclean-bison
4837 maybe-distclean-bison:
4838 @if bison
4839 maybe-distclean-bison: distclean-bison
4841 distclean-bison:
4842 @[ -f ./bison/Makefile ] || exit 0; \
4843 r=`${PWD_COMMAND}`; export r; \
4844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4845 $(SET_LIB_PATH) \
4846 $(HOST_EXPORTS) \
4847 for flag in $(EXTRA_HOST_FLAGS) ; do \
4848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4849 done; \
4850 echo "Doing distclean in bison" ; \
4851 (cd bison && \
4852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4854 "RANLIB=$${RANLIB}" \
4855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4856 distclean) \
4857 || exit 1
4859 @endif bison
4861 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
4862 maybe-maintainer-clean-bison:
4863 @if bison
4864 maybe-maintainer-clean-bison: maintainer-clean-bison
4866 maintainer-clean-bison:
4867 @[ -f ./bison/Makefile ] || exit 0; \
4868 r=`${PWD_COMMAND}`; export r; \
4869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 $(SET_LIB_PATH) \
4871 $(HOST_EXPORTS) \
4872 for flag in $(EXTRA_HOST_FLAGS) ; do \
4873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4874 done; \
4875 echo "Doing maintainer-clean in bison" ; \
4876 (cd bison && \
4877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4879 "RANLIB=$${RANLIB}" \
4880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4881 maintainer-clean) \
4882 || exit 1
4884 @endif bison
4887 .PHONY: configure-byacc maybe-configure-byacc
4888 maybe-configure-byacc:
4889 @if byacc
4890 maybe-configure-byacc: configure-byacc
4891 configure-byacc:
4892 @test ! -f byacc/Makefile || exit 0; \
4893 [ -d byacc ] || mkdir byacc; \
4894 r=`${PWD_COMMAND}`; export r; \
4895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4896 $(HOST_EXPORTS) \
4897 echo Configuring in byacc; \
4898 cd byacc || exit 1; \
4899 case $(srcdir) in \
4900 \.) \
4901 srcdiroption="--srcdir=."; \
4902 libsrcdir=".";; \
4903 /* | [A-Za-z]:[\\/]*) \
4904 srcdiroption="--srcdir=$(srcdir)/byacc"; \
4905 libsrcdir="$$s/byacc";; \
4906 *) \
4907 srcdiroption="--srcdir=../$(srcdir)/byacc"; \
4908 libsrcdir="$$s/byacc";; \
4909 esac; \
4910 $(SHELL) $${libsrcdir}/configure \
4911 $(HOST_CONFIGARGS) $${srcdiroption} \
4912 || exit 1
4913 @endif byacc
4915 .PHONY: all-byacc maybe-all-byacc
4916 maybe-all-byacc:
4917 @if byacc
4918 maybe-all-byacc: all-byacc
4919 all-byacc: configure-byacc
4920 @r=`${PWD_COMMAND}`; export r; \
4921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4922 $(SET_LIB_PATH) \
4923 $(HOST_EXPORTS) \
4924 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) all)
4925 @endif byacc
4927 .PHONY: check-byacc maybe-check-byacc
4928 maybe-check-byacc:
4929 @if byacc
4930 maybe-check-byacc: check-byacc
4932 # This module is only tested in a native toolchain.
4933 check-byacc:
4934 @if [ '$(host)' = '$(target)' ] ; then \
4935 r=`${PWD_COMMAND}`; export r; \
4936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4937 $(SET_LIB_PATH) \
4938 $(HOST_EXPORTS) \
4939 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) check); \
4942 @endif byacc
4944 .PHONY: install-byacc maybe-install-byacc
4945 maybe-install-byacc:
4946 @if byacc
4947 maybe-install-byacc: install-byacc
4949 install-byacc: installdirs
4950 @r=`${PWD_COMMAND}`; export r; \
4951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4952 $(SET_LIB_PATH) \
4953 $(HOST_EXPORTS) \
4954 (cd byacc && $(MAKE) $(FLAGS_TO_PASS) install)
4956 @endif byacc
4958 # Other targets (info, dvi, etc.)
4960 .PHONY: maybe-info-byacc info-byacc
4961 maybe-info-byacc:
4962 @if byacc
4963 maybe-info-byacc: info-byacc
4965 info-byacc: \
4966 configure-byacc
4967 @[ -f ./byacc/Makefile ] || exit 0; \
4968 r=`${PWD_COMMAND}`; export r; \
4969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4970 $(SET_LIB_PATH) \
4971 $(HOST_EXPORTS) \
4972 for flag in $(EXTRA_HOST_FLAGS) ; do \
4973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4974 done; \
4975 echo "Doing info in byacc" ; \
4976 (cd byacc && \
4977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4979 "RANLIB=$${RANLIB}" \
4980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4981 info) \
4982 || exit 1
4984 @endif byacc
4986 .PHONY: maybe-dvi-byacc dvi-byacc
4987 maybe-dvi-byacc:
4988 @if byacc
4989 maybe-dvi-byacc: dvi-byacc
4991 dvi-byacc: \
4992 configure-byacc
4993 @[ -f ./byacc/Makefile ] || exit 0; \
4994 r=`${PWD_COMMAND}`; export r; \
4995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4996 $(SET_LIB_PATH) \
4997 $(HOST_EXPORTS) \
4998 for flag in $(EXTRA_HOST_FLAGS) ; do \
4999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5000 done; \
5001 echo "Doing dvi in byacc" ; \
5002 (cd byacc && \
5003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5005 "RANLIB=$${RANLIB}" \
5006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5007 dvi) \
5008 || exit 1
5010 @endif byacc
5012 .PHONY: maybe-TAGS-byacc TAGS-byacc
5013 maybe-TAGS-byacc:
5014 @if byacc
5015 maybe-TAGS-byacc: TAGS-byacc
5017 TAGS-byacc: \
5018 configure-byacc
5019 @[ -f ./byacc/Makefile ] || exit 0; \
5020 r=`${PWD_COMMAND}`; export r; \
5021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5022 $(SET_LIB_PATH) \
5023 $(HOST_EXPORTS) \
5024 for flag in $(EXTRA_HOST_FLAGS) ; do \
5025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5026 done; \
5027 echo "Doing TAGS in byacc" ; \
5028 (cd byacc && \
5029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5031 "RANLIB=$${RANLIB}" \
5032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5033 TAGS) \
5034 || exit 1
5036 @endif byacc
5038 .PHONY: maybe-install-info-byacc install-info-byacc
5039 maybe-install-info-byacc:
5040 @if byacc
5041 maybe-install-info-byacc: install-info-byacc
5043 install-info-byacc: \
5044 configure-byacc \
5045 info-byacc
5046 @[ -f ./byacc/Makefile ] || exit 0; \
5047 r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(SET_LIB_PATH) \
5050 $(HOST_EXPORTS) \
5051 for flag in $(EXTRA_HOST_FLAGS) ; do \
5052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5053 done; \
5054 echo "Doing install-info in byacc" ; \
5055 (cd byacc && \
5056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5058 "RANLIB=$${RANLIB}" \
5059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5060 install-info) \
5061 || exit 1
5063 @endif byacc
5065 .PHONY: maybe-installcheck-byacc installcheck-byacc
5066 maybe-installcheck-byacc:
5067 @if byacc
5068 maybe-installcheck-byacc: installcheck-byacc
5070 installcheck-byacc: \
5071 configure-byacc
5072 @[ -f ./byacc/Makefile ] || exit 0; \
5073 r=`${PWD_COMMAND}`; export r; \
5074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5075 $(SET_LIB_PATH) \
5076 $(HOST_EXPORTS) \
5077 for flag in $(EXTRA_HOST_FLAGS) ; do \
5078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5079 done; \
5080 echo "Doing installcheck in byacc" ; \
5081 (cd byacc && \
5082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5084 "RANLIB=$${RANLIB}" \
5085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5086 installcheck) \
5087 || exit 1
5089 @endif byacc
5091 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5092 maybe-mostlyclean-byacc:
5093 @if byacc
5094 maybe-mostlyclean-byacc: mostlyclean-byacc
5096 mostlyclean-byacc:
5097 @[ -f ./byacc/Makefile ] || exit 0; \
5098 r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 $(SET_LIB_PATH) \
5101 $(HOST_EXPORTS) \
5102 for flag in $(EXTRA_HOST_FLAGS) ; do \
5103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5104 done; \
5105 echo "Doing mostlyclean in byacc" ; \
5106 (cd byacc && \
5107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5109 "RANLIB=$${RANLIB}" \
5110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5111 mostlyclean) \
5112 || exit 1
5114 @endif byacc
5116 .PHONY: maybe-clean-byacc clean-byacc
5117 maybe-clean-byacc:
5118 @if byacc
5119 maybe-clean-byacc: clean-byacc
5121 clean-byacc:
5122 @[ -f ./byacc/Makefile ] || exit 0; \
5123 r=`${PWD_COMMAND}`; export r; \
5124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5125 $(SET_LIB_PATH) \
5126 $(HOST_EXPORTS) \
5127 for flag in $(EXTRA_HOST_FLAGS) ; do \
5128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5129 done; \
5130 echo "Doing clean in byacc" ; \
5131 (cd byacc && \
5132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5134 "RANLIB=$${RANLIB}" \
5135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5136 clean) \
5137 || exit 1
5139 @endif byacc
5141 .PHONY: maybe-distclean-byacc distclean-byacc
5142 maybe-distclean-byacc:
5143 @if byacc
5144 maybe-distclean-byacc: distclean-byacc
5146 distclean-byacc:
5147 @[ -f ./byacc/Makefile ] || exit 0; \
5148 r=`${PWD_COMMAND}`; export r; \
5149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5150 $(SET_LIB_PATH) \
5151 $(HOST_EXPORTS) \
5152 for flag in $(EXTRA_HOST_FLAGS) ; do \
5153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5154 done; \
5155 echo "Doing distclean in byacc" ; \
5156 (cd byacc && \
5157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5159 "RANLIB=$${RANLIB}" \
5160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5161 distclean) \
5162 || exit 1
5164 @endif byacc
5166 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5167 maybe-maintainer-clean-byacc:
5168 @if byacc
5169 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5171 maintainer-clean-byacc:
5172 @[ -f ./byacc/Makefile ] || exit 0; \
5173 r=`${PWD_COMMAND}`; export r; \
5174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5175 $(SET_LIB_PATH) \
5176 $(HOST_EXPORTS) \
5177 for flag in $(EXTRA_HOST_FLAGS) ; do \
5178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5179 done; \
5180 echo "Doing maintainer-clean in byacc" ; \
5181 (cd byacc && \
5182 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5183 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5184 "RANLIB=$${RANLIB}" \
5185 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5186 maintainer-clean) \
5187 || exit 1
5189 @endif byacc
5192 .PHONY: configure-bzip2 maybe-configure-bzip2
5193 maybe-configure-bzip2:
5194 @if bzip2
5195 maybe-configure-bzip2: configure-bzip2
5196 configure-bzip2:
5197 @test ! -f bzip2/Makefile || exit 0; \
5198 [ -d bzip2 ] || mkdir bzip2; \
5199 r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 echo Configuring in bzip2; \
5203 cd bzip2 || exit 1; \
5204 case $(srcdir) in \
5205 \.) \
5206 srcdiroption="--srcdir=."; \
5207 libsrcdir=".";; \
5208 /* | [A-Za-z]:[\\/]*) \
5209 srcdiroption="--srcdir=$(srcdir)/bzip2"; \
5210 libsrcdir="$$s/bzip2";; \
5211 *) \
5212 srcdiroption="--srcdir=../$(srcdir)/bzip2"; \
5213 libsrcdir="$$s/bzip2";; \
5214 esac; \
5215 $(SHELL) $${libsrcdir}/configure \
5216 $(HOST_CONFIGARGS) $${srcdiroption} \
5217 || exit 1
5218 @endif bzip2
5220 .PHONY: all-bzip2 maybe-all-bzip2
5221 maybe-all-bzip2:
5222 @if bzip2
5223 maybe-all-bzip2: all-bzip2
5224 all-bzip2: configure-bzip2
5225 @r=`${PWD_COMMAND}`; export r; \
5226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5227 $(SET_LIB_PATH) \
5228 $(HOST_EXPORTS) \
5229 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) all)
5230 @endif bzip2
5232 .PHONY: check-bzip2 maybe-check-bzip2
5233 maybe-check-bzip2:
5234 @if bzip2
5235 maybe-check-bzip2: check-bzip2
5237 check-bzip2:
5238 @r=`${PWD_COMMAND}`; export r; \
5239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5240 $(SET_LIB_PATH) \
5241 $(HOST_EXPORTS) \
5242 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) check)
5244 @endif bzip2
5246 .PHONY: install-bzip2 maybe-install-bzip2
5247 maybe-install-bzip2:
5248 @if bzip2
5249 maybe-install-bzip2: install-bzip2
5251 install-bzip2: installdirs
5252 @r=`${PWD_COMMAND}`; export r; \
5253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5254 $(SET_LIB_PATH) \
5255 $(HOST_EXPORTS) \
5256 (cd bzip2 && $(MAKE) $(FLAGS_TO_PASS) install)
5258 @endif bzip2
5260 # Other targets (info, dvi, etc.)
5262 .PHONY: maybe-info-bzip2 info-bzip2
5263 maybe-info-bzip2:
5264 @if bzip2
5265 maybe-info-bzip2: info-bzip2
5267 info-bzip2: \
5268 configure-bzip2
5269 @[ -f ./bzip2/Makefile ] || exit 0; \
5270 r=`${PWD_COMMAND}`; export r; \
5271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5272 $(SET_LIB_PATH) \
5273 $(HOST_EXPORTS) \
5274 for flag in $(EXTRA_HOST_FLAGS) ; do \
5275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5276 done; \
5277 echo "Doing info in bzip2" ; \
5278 (cd bzip2 && \
5279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5281 "RANLIB=$${RANLIB}" \
5282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5283 info) \
5284 || exit 1
5286 @endif bzip2
5288 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5289 maybe-dvi-bzip2:
5290 @if bzip2
5291 maybe-dvi-bzip2: dvi-bzip2
5293 dvi-bzip2: \
5294 configure-bzip2
5295 @[ -f ./bzip2/Makefile ] || exit 0; \
5296 r=`${PWD_COMMAND}`; export r; \
5297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5298 $(SET_LIB_PATH) \
5299 $(HOST_EXPORTS) \
5300 for flag in $(EXTRA_HOST_FLAGS) ; do \
5301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5302 done; \
5303 echo "Doing dvi in bzip2" ; \
5304 (cd bzip2 && \
5305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5307 "RANLIB=$${RANLIB}" \
5308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5309 dvi) \
5310 || exit 1
5312 @endif bzip2
5314 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5315 maybe-TAGS-bzip2:
5316 @if bzip2
5317 maybe-TAGS-bzip2: TAGS-bzip2
5319 TAGS-bzip2: \
5320 configure-bzip2
5321 @[ -f ./bzip2/Makefile ] || exit 0; \
5322 r=`${PWD_COMMAND}`; export r; \
5323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5324 $(SET_LIB_PATH) \
5325 $(HOST_EXPORTS) \
5326 for flag in $(EXTRA_HOST_FLAGS) ; do \
5327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5328 done; \
5329 echo "Doing TAGS in bzip2" ; \
5330 (cd bzip2 && \
5331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5333 "RANLIB=$${RANLIB}" \
5334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5335 TAGS) \
5336 || exit 1
5338 @endif bzip2
5340 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5341 maybe-install-info-bzip2:
5342 @if bzip2
5343 maybe-install-info-bzip2: install-info-bzip2
5345 install-info-bzip2: \
5346 configure-bzip2 \
5347 info-bzip2
5348 @[ -f ./bzip2/Makefile ] || exit 0; \
5349 r=`${PWD_COMMAND}`; export r; \
5350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5351 $(SET_LIB_PATH) \
5352 $(HOST_EXPORTS) \
5353 for flag in $(EXTRA_HOST_FLAGS) ; do \
5354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5355 done; \
5356 echo "Doing install-info in bzip2" ; \
5357 (cd bzip2 && \
5358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5360 "RANLIB=$${RANLIB}" \
5361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5362 install-info) \
5363 || exit 1
5365 @endif bzip2
5367 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5368 maybe-installcheck-bzip2:
5369 @if bzip2
5370 maybe-installcheck-bzip2: installcheck-bzip2
5372 installcheck-bzip2: \
5373 configure-bzip2
5374 @[ -f ./bzip2/Makefile ] || exit 0; \
5375 r=`${PWD_COMMAND}`; export r; \
5376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5377 $(SET_LIB_PATH) \
5378 $(HOST_EXPORTS) \
5379 for flag in $(EXTRA_HOST_FLAGS) ; do \
5380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5381 done; \
5382 echo "Doing installcheck in bzip2" ; \
5383 (cd bzip2 && \
5384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5386 "RANLIB=$${RANLIB}" \
5387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5388 installcheck) \
5389 || exit 1
5391 @endif bzip2
5393 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5394 maybe-mostlyclean-bzip2:
5395 @if bzip2
5396 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5398 mostlyclean-bzip2:
5399 @[ -f ./bzip2/Makefile ] || exit 0; \
5400 r=`${PWD_COMMAND}`; export r; \
5401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5402 $(SET_LIB_PATH) \
5403 $(HOST_EXPORTS) \
5404 for flag in $(EXTRA_HOST_FLAGS) ; do \
5405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5406 done; \
5407 echo "Doing mostlyclean in bzip2" ; \
5408 (cd bzip2 && \
5409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5411 "RANLIB=$${RANLIB}" \
5412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5413 mostlyclean) \
5414 || exit 1
5416 @endif bzip2
5418 .PHONY: maybe-clean-bzip2 clean-bzip2
5419 maybe-clean-bzip2:
5420 @if bzip2
5421 maybe-clean-bzip2: clean-bzip2
5423 clean-bzip2:
5424 @[ -f ./bzip2/Makefile ] || exit 0; \
5425 r=`${PWD_COMMAND}`; export r; \
5426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5427 $(SET_LIB_PATH) \
5428 $(HOST_EXPORTS) \
5429 for flag in $(EXTRA_HOST_FLAGS) ; do \
5430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5431 done; \
5432 echo "Doing clean in bzip2" ; \
5433 (cd bzip2 && \
5434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5436 "RANLIB=$${RANLIB}" \
5437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5438 clean) \
5439 || exit 1
5441 @endif bzip2
5443 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5444 maybe-distclean-bzip2:
5445 @if bzip2
5446 maybe-distclean-bzip2: distclean-bzip2
5448 distclean-bzip2:
5449 @[ -f ./bzip2/Makefile ] || exit 0; \
5450 r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(SET_LIB_PATH) \
5453 $(HOST_EXPORTS) \
5454 for flag in $(EXTRA_HOST_FLAGS) ; do \
5455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5456 done; \
5457 echo "Doing distclean in bzip2" ; \
5458 (cd bzip2 && \
5459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5461 "RANLIB=$${RANLIB}" \
5462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5463 distclean) \
5464 || exit 1
5466 @endif bzip2
5468 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5469 maybe-maintainer-clean-bzip2:
5470 @if bzip2
5471 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5473 maintainer-clean-bzip2:
5474 @[ -f ./bzip2/Makefile ] || exit 0; \
5475 r=`${PWD_COMMAND}`; export r; \
5476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5477 $(SET_LIB_PATH) \
5478 $(HOST_EXPORTS) \
5479 for flag in $(EXTRA_HOST_FLAGS) ; do \
5480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5481 done; \
5482 echo "Doing maintainer-clean in bzip2" ; \
5483 (cd bzip2 && \
5484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5486 "RANLIB=$${RANLIB}" \
5487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5488 maintainer-clean) \
5489 || exit 1
5491 @endif bzip2
5494 .PHONY: configure-dejagnu maybe-configure-dejagnu
5495 maybe-configure-dejagnu:
5496 @if dejagnu
5497 maybe-configure-dejagnu: configure-dejagnu
5498 configure-dejagnu:
5499 @test ! -f dejagnu/Makefile || exit 0; \
5500 [ -d dejagnu ] || mkdir dejagnu; \
5501 r=`${PWD_COMMAND}`; export r; \
5502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5503 $(HOST_EXPORTS) \
5504 echo Configuring in dejagnu; \
5505 cd dejagnu || exit 1; \
5506 case $(srcdir) in \
5507 \.) \
5508 srcdiroption="--srcdir=."; \
5509 libsrcdir=".";; \
5510 /* | [A-Za-z]:[\\/]*) \
5511 srcdiroption="--srcdir=$(srcdir)/dejagnu"; \
5512 libsrcdir="$$s/dejagnu";; \
5513 *) \
5514 srcdiroption="--srcdir=../$(srcdir)/dejagnu"; \
5515 libsrcdir="$$s/dejagnu";; \
5516 esac; \
5517 $(SHELL) $${libsrcdir}/configure \
5518 $(HOST_CONFIGARGS) $${srcdiroption} \
5519 || exit 1
5520 @endif dejagnu
5522 .PHONY: all-dejagnu maybe-all-dejagnu
5523 maybe-all-dejagnu:
5524 @if dejagnu
5525 maybe-all-dejagnu: all-dejagnu
5526 all-dejagnu: configure-dejagnu
5527 @r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529 $(SET_LIB_PATH) \
5530 $(HOST_EXPORTS) \
5531 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) all)
5532 @endif dejagnu
5534 .PHONY: check-dejagnu maybe-check-dejagnu
5535 maybe-check-dejagnu:
5536 @if dejagnu
5537 maybe-check-dejagnu: check-dejagnu
5539 check-dejagnu:
5540 @r=`${PWD_COMMAND}`; export r; \
5541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5542 $(SET_LIB_PATH) \
5543 $(HOST_EXPORTS) \
5544 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) check)
5546 @endif dejagnu
5548 .PHONY: install-dejagnu maybe-install-dejagnu
5549 maybe-install-dejagnu:
5550 @if dejagnu
5551 maybe-install-dejagnu: install-dejagnu
5553 install-dejagnu: installdirs
5554 @r=`${PWD_COMMAND}`; export r; \
5555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5556 $(SET_LIB_PATH) \
5557 $(HOST_EXPORTS) \
5558 (cd dejagnu && $(MAKE) $(FLAGS_TO_PASS) install)
5560 @endif dejagnu
5562 # Other targets (info, dvi, etc.)
5564 .PHONY: maybe-info-dejagnu info-dejagnu
5565 maybe-info-dejagnu:
5566 @if dejagnu
5567 maybe-info-dejagnu: info-dejagnu
5569 info-dejagnu: \
5570 configure-dejagnu
5571 @[ -f ./dejagnu/Makefile ] || exit 0; \
5572 r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 $(SET_LIB_PATH) \
5575 $(HOST_EXPORTS) \
5576 for flag in $(EXTRA_HOST_FLAGS) ; do \
5577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5578 done; \
5579 echo "Doing info in dejagnu" ; \
5580 (cd dejagnu && \
5581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5583 "RANLIB=$${RANLIB}" \
5584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5585 info) \
5586 || exit 1
5588 @endif dejagnu
5590 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5591 maybe-dvi-dejagnu:
5592 @if dejagnu
5593 maybe-dvi-dejagnu: dvi-dejagnu
5595 dvi-dejagnu: \
5596 configure-dejagnu
5597 @[ -f ./dejagnu/Makefile ] || exit 0; \
5598 r=`${PWD_COMMAND}`; export r; \
5599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5600 $(SET_LIB_PATH) \
5601 $(HOST_EXPORTS) \
5602 for flag in $(EXTRA_HOST_FLAGS) ; do \
5603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5604 done; \
5605 echo "Doing dvi in dejagnu" ; \
5606 (cd dejagnu && \
5607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5609 "RANLIB=$${RANLIB}" \
5610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5611 dvi) \
5612 || exit 1
5614 @endif dejagnu
5616 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5617 maybe-TAGS-dejagnu:
5618 @if dejagnu
5619 maybe-TAGS-dejagnu: TAGS-dejagnu
5621 TAGS-dejagnu: \
5622 configure-dejagnu
5623 @[ -f ./dejagnu/Makefile ] || exit 0; \
5624 r=`${PWD_COMMAND}`; export r; \
5625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5626 $(SET_LIB_PATH) \
5627 $(HOST_EXPORTS) \
5628 for flag in $(EXTRA_HOST_FLAGS) ; do \
5629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5630 done; \
5631 echo "Doing TAGS in dejagnu" ; \
5632 (cd dejagnu && \
5633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5635 "RANLIB=$${RANLIB}" \
5636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5637 TAGS) \
5638 || exit 1
5640 @endif dejagnu
5642 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5643 maybe-install-info-dejagnu:
5644 @if dejagnu
5645 maybe-install-info-dejagnu: install-info-dejagnu
5647 install-info-dejagnu: \
5648 configure-dejagnu \
5649 info-dejagnu
5650 @[ -f ./dejagnu/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(SET_LIB_PATH) \
5654 $(HOST_EXPORTS) \
5655 for flag in $(EXTRA_HOST_FLAGS) ; do \
5656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5657 done; \
5658 echo "Doing install-info in dejagnu" ; \
5659 (cd dejagnu && \
5660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5662 "RANLIB=$${RANLIB}" \
5663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5664 install-info) \
5665 || exit 1
5667 @endif dejagnu
5669 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5670 maybe-installcheck-dejagnu:
5671 @if dejagnu
5672 maybe-installcheck-dejagnu: installcheck-dejagnu
5674 installcheck-dejagnu: \
5675 configure-dejagnu
5676 @[ -f ./dejagnu/Makefile ] || exit 0; \
5677 r=`${PWD_COMMAND}`; export r; \
5678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5679 $(SET_LIB_PATH) \
5680 $(HOST_EXPORTS) \
5681 for flag in $(EXTRA_HOST_FLAGS) ; do \
5682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5683 done; \
5684 echo "Doing installcheck in dejagnu" ; \
5685 (cd dejagnu && \
5686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5688 "RANLIB=$${RANLIB}" \
5689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5690 installcheck) \
5691 || exit 1
5693 @endif dejagnu
5695 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5696 maybe-mostlyclean-dejagnu:
5697 @if dejagnu
5698 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5700 mostlyclean-dejagnu:
5701 @[ -f ./dejagnu/Makefile ] || exit 0; \
5702 r=`${PWD_COMMAND}`; export r; \
5703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5704 $(SET_LIB_PATH) \
5705 $(HOST_EXPORTS) \
5706 for flag in $(EXTRA_HOST_FLAGS) ; do \
5707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5708 done; \
5709 echo "Doing mostlyclean in dejagnu" ; \
5710 (cd dejagnu && \
5711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5713 "RANLIB=$${RANLIB}" \
5714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5715 mostlyclean) \
5716 || exit 1
5718 @endif dejagnu
5720 .PHONY: maybe-clean-dejagnu clean-dejagnu
5721 maybe-clean-dejagnu:
5722 @if dejagnu
5723 maybe-clean-dejagnu: clean-dejagnu
5725 clean-dejagnu:
5726 @[ -f ./dejagnu/Makefile ] || exit 0; \
5727 r=`${PWD_COMMAND}`; export r; \
5728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5729 $(SET_LIB_PATH) \
5730 $(HOST_EXPORTS) \
5731 for flag in $(EXTRA_HOST_FLAGS) ; do \
5732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5733 done; \
5734 echo "Doing clean in dejagnu" ; \
5735 (cd dejagnu && \
5736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5738 "RANLIB=$${RANLIB}" \
5739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5740 clean) \
5741 || exit 1
5743 @endif dejagnu
5745 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
5746 maybe-distclean-dejagnu:
5747 @if dejagnu
5748 maybe-distclean-dejagnu: distclean-dejagnu
5750 distclean-dejagnu:
5751 @[ -f ./dejagnu/Makefile ] || exit 0; \
5752 r=`${PWD_COMMAND}`; export r; \
5753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5754 $(SET_LIB_PATH) \
5755 $(HOST_EXPORTS) \
5756 for flag in $(EXTRA_HOST_FLAGS) ; do \
5757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5758 done; \
5759 echo "Doing distclean in dejagnu" ; \
5760 (cd dejagnu && \
5761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5763 "RANLIB=$${RANLIB}" \
5764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5765 distclean) \
5766 || exit 1
5768 @endif dejagnu
5770 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
5771 maybe-maintainer-clean-dejagnu:
5772 @if dejagnu
5773 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
5775 maintainer-clean-dejagnu:
5776 @[ -f ./dejagnu/Makefile ] || exit 0; \
5777 r=`${PWD_COMMAND}`; export r; \
5778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5779 $(SET_LIB_PATH) \
5780 $(HOST_EXPORTS) \
5781 for flag in $(EXTRA_HOST_FLAGS) ; do \
5782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5783 done; \
5784 echo "Doing maintainer-clean in dejagnu" ; \
5785 (cd dejagnu && \
5786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5788 "RANLIB=$${RANLIB}" \
5789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5790 maintainer-clean) \
5791 || exit 1
5793 @endif dejagnu
5796 .PHONY: configure-diff maybe-configure-diff
5797 maybe-configure-diff:
5798 @if diff
5799 maybe-configure-diff: configure-diff
5800 configure-diff:
5801 @test ! -f diff/Makefile || exit 0; \
5802 [ -d diff ] || mkdir diff; \
5803 r=`${PWD_COMMAND}`; export r; \
5804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5805 $(HOST_EXPORTS) \
5806 echo Configuring in diff; \
5807 cd diff || exit 1; \
5808 case $(srcdir) in \
5809 \.) \
5810 srcdiroption="--srcdir=."; \
5811 libsrcdir=".";; \
5812 /* | [A-Za-z]:[\\/]*) \
5813 srcdiroption="--srcdir=$(srcdir)/diff"; \
5814 libsrcdir="$$s/diff";; \
5815 *) \
5816 srcdiroption="--srcdir=../$(srcdir)/diff"; \
5817 libsrcdir="$$s/diff";; \
5818 esac; \
5819 $(SHELL) $${libsrcdir}/configure \
5820 $(HOST_CONFIGARGS) $${srcdiroption} \
5821 || exit 1
5822 @endif diff
5824 .PHONY: all-diff maybe-all-diff
5825 maybe-all-diff:
5826 @if diff
5827 maybe-all-diff: all-diff
5828 all-diff: configure-diff
5829 @r=`${PWD_COMMAND}`; export r; \
5830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5831 $(SET_LIB_PATH) \
5832 $(HOST_EXPORTS) \
5833 (cd diff && $(MAKE) $(FLAGS_TO_PASS) all)
5834 @endif diff
5836 .PHONY: check-diff maybe-check-diff
5837 maybe-check-diff:
5838 @if diff
5839 maybe-check-diff: check-diff
5841 check-diff:
5842 @r=`${PWD_COMMAND}`; export r; \
5843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5844 $(SET_LIB_PATH) \
5845 $(HOST_EXPORTS) \
5846 (cd diff && $(MAKE) $(FLAGS_TO_PASS) check)
5848 @endif diff
5850 .PHONY: install-diff maybe-install-diff
5851 maybe-install-diff:
5852 @if diff
5853 maybe-install-diff: install-diff
5855 install-diff: installdirs
5856 @r=`${PWD_COMMAND}`; export r; \
5857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5858 $(SET_LIB_PATH) \
5859 $(HOST_EXPORTS) \
5860 (cd diff && $(MAKE) $(FLAGS_TO_PASS) install)
5862 @endif diff
5864 # Other targets (info, dvi, etc.)
5866 .PHONY: maybe-info-diff info-diff
5867 maybe-info-diff:
5868 @if diff
5869 maybe-info-diff: info-diff
5871 info-diff: \
5872 configure-diff
5873 @[ -f ./diff/Makefile ] || exit 0; \
5874 r=`${PWD_COMMAND}`; export r; \
5875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876 $(SET_LIB_PATH) \
5877 $(HOST_EXPORTS) \
5878 for flag in $(EXTRA_HOST_FLAGS) ; do \
5879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5880 done; \
5881 echo "Doing info in diff" ; \
5882 (cd diff && \
5883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5885 "RANLIB=$${RANLIB}" \
5886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5887 info) \
5888 || exit 1
5890 @endif diff
5892 .PHONY: maybe-dvi-diff dvi-diff
5893 maybe-dvi-diff:
5894 @if diff
5895 maybe-dvi-diff: dvi-diff
5897 dvi-diff: \
5898 configure-diff
5899 @[ -f ./diff/Makefile ] || exit 0; \
5900 r=`${PWD_COMMAND}`; export r; \
5901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5902 $(SET_LIB_PATH) \
5903 $(HOST_EXPORTS) \
5904 for flag in $(EXTRA_HOST_FLAGS) ; do \
5905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5906 done; \
5907 echo "Doing dvi in diff" ; \
5908 (cd diff && \
5909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5911 "RANLIB=$${RANLIB}" \
5912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5913 dvi) \
5914 || exit 1
5916 @endif diff
5918 .PHONY: maybe-TAGS-diff TAGS-diff
5919 maybe-TAGS-diff:
5920 @if diff
5921 maybe-TAGS-diff: TAGS-diff
5923 TAGS-diff: \
5924 configure-diff
5925 @[ -f ./diff/Makefile ] || exit 0; \
5926 r=`${PWD_COMMAND}`; export r; \
5927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5928 $(SET_LIB_PATH) \
5929 $(HOST_EXPORTS) \
5930 for flag in $(EXTRA_HOST_FLAGS) ; do \
5931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5932 done; \
5933 echo "Doing TAGS in diff" ; \
5934 (cd diff && \
5935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5937 "RANLIB=$${RANLIB}" \
5938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5939 TAGS) \
5940 || exit 1
5942 @endif diff
5944 .PHONY: maybe-install-info-diff install-info-diff
5945 maybe-install-info-diff:
5946 @if diff
5947 maybe-install-info-diff: install-info-diff
5949 install-info-diff: \
5950 configure-diff \
5951 info-diff
5952 @[ -f ./diff/Makefile ] || exit 0; \
5953 r=`${PWD_COMMAND}`; export r; \
5954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5955 $(SET_LIB_PATH) \
5956 $(HOST_EXPORTS) \
5957 for flag in $(EXTRA_HOST_FLAGS) ; do \
5958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5959 done; \
5960 echo "Doing install-info in diff" ; \
5961 (cd diff && \
5962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5964 "RANLIB=$${RANLIB}" \
5965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5966 install-info) \
5967 || exit 1
5969 @endif diff
5971 .PHONY: maybe-installcheck-diff installcheck-diff
5972 maybe-installcheck-diff:
5973 @if diff
5974 maybe-installcheck-diff: installcheck-diff
5976 installcheck-diff: \
5977 configure-diff
5978 @[ -f ./diff/Makefile ] || exit 0; \
5979 r=`${PWD_COMMAND}`; export r; \
5980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5981 $(SET_LIB_PATH) \
5982 $(HOST_EXPORTS) \
5983 for flag in $(EXTRA_HOST_FLAGS) ; do \
5984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5985 done; \
5986 echo "Doing installcheck in diff" ; \
5987 (cd diff && \
5988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5990 "RANLIB=$${RANLIB}" \
5991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5992 installcheck) \
5993 || exit 1
5995 @endif diff
5997 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
5998 maybe-mostlyclean-diff:
5999 @if diff
6000 maybe-mostlyclean-diff: mostlyclean-diff
6002 mostlyclean-diff:
6003 @[ -f ./diff/Makefile ] || exit 0; \
6004 r=`${PWD_COMMAND}`; export r; \
6005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6006 $(SET_LIB_PATH) \
6007 $(HOST_EXPORTS) \
6008 for flag in $(EXTRA_HOST_FLAGS) ; do \
6009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6010 done; \
6011 echo "Doing mostlyclean in diff" ; \
6012 (cd diff && \
6013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6015 "RANLIB=$${RANLIB}" \
6016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6017 mostlyclean) \
6018 || exit 1
6020 @endif diff
6022 .PHONY: maybe-clean-diff clean-diff
6023 maybe-clean-diff:
6024 @if diff
6025 maybe-clean-diff: clean-diff
6027 clean-diff:
6028 @[ -f ./diff/Makefile ] || exit 0; \
6029 r=`${PWD_COMMAND}`; export r; \
6030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6031 $(SET_LIB_PATH) \
6032 $(HOST_EXPORTS) \
6033 for flag in $(EXTRA_HOST_FLAGS) ; do \
6034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6035 done; \
6036 echo "Doing clean in diff" ; \
6037 (cd diff && \
6038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6040 "RANLIB=$${RANLIB}" \
6041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6042 clean) \
6043 || exit 1
6045 @endif diff
6047 .PHONY: maybe-distclean-diff distclean-diff
6048 maybe-distclean-diff:
6049 @if diff
6050 maybe-distclean-diff: distclean-diff
6052 distclean-diff:
6053 @[ -f ./diff/Makefile ] || exit 0; \
6054 r=`${PWD_COMMAND}`; export r; \
6055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6056 $(SET_LIB_PATH) \
6057 $(HOST_EXPORTS) \
6058 for flag in $(EXTRA_HOST_FLAGS) ; do \
6059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6060 done; \
6061 echo "Doing distclean in diff" ; \
6062 (cd diff && \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6065 "RANLIB=$${RANLIB}" \
6066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 distclean) \
6068 || exit 1
6070 @endif diff
6072 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6073 maybe-maintainer-clean-diff:
6074 @if diff
6075 maybe-maintainer-clean-diff: maintainer-clean-diff
6077 maintainer-clean-diff:
6078 @[ -f ./diff/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(SET_LIB_PATH) \
6082 $(HOST_EXPORTS) \
6083 for flag in $(EXTRA_HOST_FLAGS) ; do \
6084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6085 done; \
6086 echo "Doing maintainer-clean in diff" ; \
6087 (cd diff && \
6088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6090 "RANLIB=$${RANLIB}" \
6091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6092 maintainer-clean) \
6093 || exit 1
6095 @endif diff
6098 .PHONY: configure-dosutils maybe-configure-dosutils
6099 maybe-configure-dosutils:
6100 @if dosutils
6101 maybe-configure-dosutils: configure-dosutils
6102 configure-dosutils:
6103 @test ! -f dosutils/Makefile || exit 0; \
6104 [ -d dosutils ] || mkdir dosutils; \
6105 r=`${PWD_COMMAND}`; export r; \
6106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6107 $(HOST_EXPORTS) \
6108 echo Configuring in dosutils; \
6109 cd dosutils || exit 1; \
6110 case $(srcdir) in \
6111 \.) \
6112 srcdiroption="--srcdir=."; \
6113 libsrcdir=".";; \
6114 /* | [A-Za-z]:[\\/]*) \
6115 srcdiroption="--srcdir=$(srcdir)/dosutils"; \
6116 libsrcdir="$$s/dosutils";; \
6117 *) \
6118 srcdiroption="--srcdir=../$(srcdir)/dosutils"; \
6119 libsrcdir="$$s/dosutils";; \
6120 esac; \
6121 $(SHELL) $${libsrcdir}/configure \
6122 $(HOST_CONFIGARGS) $${srcdiroption} \
6123 || exit 1
6124 @endif dosutils
6126 .PHONY: all-dosutils maybe-all-dosutils
6127 maybe-all-dosutils:
6128 @if dosutils
6129 maybe-all-dosutils: all-dosutils
6130 all-dosutils: configure-dosutils
6131 @r=`${PWD_COMMAND}`; export r; \
6132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6133 $(SET_LIB_PATH) \
6134 $(HOST_EXPORTS) \
6135 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) all)
6136 @endif dosutils
6138 .PHONY: check-dosutils maybe-check-dosutils
6139 maybe-check-dosutils:
6140 @if dosutils
6141 maybe-check-dosutils: check-dosutils
6143 check-dosutils:
6145 @endif dosutils
6147 .PHONY: install-dosutils maybe-install-dosutils
6148 maybe-install-dosutils:
6149 @if dosutils
6150 maybe-install-dosutils: install-dosutils
6152 install-dosutils: installdirs
6153 @r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155 $(SET_LIB_PATH) \
6156 $(HOST_EXPORTS) \
6157 (cd dosutils && $(MAKE) $(FLAGS_TO_PASS) install)
6159 @endif dosutils
6161 # Other targets (info, dvi, etc.)
6163 .PHONY: maybe-info-dosutils info-dosutils
6164 maybe-info-dosutils:
6165 @if dosutils
6166 maybe-info-dosutils: info-dosutils
6168 info-dosutils: \
6169 configure-dosutils
6170 @[ -f ./dosutils/Makefile ] || exit 0; \
6171 r=`${PWD_COMMAND}`; export r; \
6172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6173 $(SET_LIB_PATH) \
6174 $(HOST_EXPORTS) \
6175 for flag in $(EXTRA_HOST_FLAGS) ; do \
6176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6177 done; \
6178 echo "Doing info in dosutils" ; \
6179 (cd dosutils && \
6180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6182 "RANLIB=$${RANLIB}" \
6183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6184 info) \
6185 || exit 1
6187 @endif dosutils
6189 .PHONY: maybe-dvi-dosutils dvi-dosutils
6190 maybe-dvi-dosutils:
6191 @if dosutils
6192 maybe-dvi-dosutils: dvi-dosutils
6194 dvi-dosutils: \
6195 configure-dosutils
6196 @[ -f ./dosutils/Makefile ] || exit 0; \
6197 r=`${PWD_COMMAND}`; export r; \
6198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6199 $(SET_LIB_PATH) \
6200 $(HOST_EXPORTS) \
6201 for flag in $(EXTRA_HOST_FLAGS) ; do \
6202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6203 done; \
6204 echo "Doing dvi in dosutils" ; \
6205 (cd dosutils && \
6206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6208 "RANLIB=$${RANLIB}" \
6209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6210 dvi) \
6211 || exit 1
6213 @endif dosutils
6215 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6216 maybe-TAGS-dosutils:
6217 @if dosutils
6218 maybe-TAGS-dosutils: TAGS-dosutils
6220 TAGS-dosutils: \
6221 configure-dosutils
6222 @[ -f ./dosutils/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(SET_LIB_PATH) \
6226 $(HOST_EXPORTS) \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 echo "Doing TAGS in dosutils" ; \
6231 (cd dosutils && \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6236 TAGS) \
6237 || exit 1
6239 @endif dosutils
6241 .PHONY: maybe-install-info-dosutils install-info-dosutils
6242 maybe-install-info-dosutils:
6243 @if dosutils
6244 maybe-install-info-dosutils: install-info-dosutils
6246 install-info-dosutils: \
6247 configure-dosutils \
6248 info-dosutils
6249 @[ -f ./dosutils/Makefile ] || exit 0; \
6250 r=`${PWD_COMMAND}`; export r; \
6251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6252 $(SET_LIB_PATH) \
6253 $(HOST_EXPORTS) \
6254 for flag in $(EXTRA_HOST_FLAGS) ; do \
6255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6256 done; \
6257 echo "Doing install-info in dosutils" ; \
6258 (cd dosutils && \
6259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6261 "RANLIB=$${RANLIB}" \
6262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6263 install-info) \
6264 || exit 1
6266 @endif dosutils
6268 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6269 maybe-installcheck-dosutils:
6270 @if dosutils
6271 maybe-installcheck-dosutils: installcheck-dosutils
6273 installcheck-dosutils: \
6274 configure-dosutils
6275 @[ -f ./dosutils/Makefile ] || exit 0; \
6276 r=`${PWD_COMMAND}`; export r; \
6277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6278 $(SET_LIB_PATH) \
6279 $(HOST_EXPORTS) \
6280 for flag in $(EXTRA_HOST_FLAGS) ; do \
6281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6282 done; \
6283 echo "Doing installcheck in dosutils" ; \
6284 (cd dosutils && \
6285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6287 "RANLIB=$${RANLIB}" \
6288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6289 installcheck) \
6290 || exit 1
6292 @endif dosutils
6294 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6295 maybe-mostlyclean-dosutils:
6296 @if dosutils
6297 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6299 mostlyclean-dosutils:
6300 @[ -f ./dosutils/Makefile ] || exit 0; \
6301 r=`${PWD_COMMAND}`; export r; \
6302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6303 $(SET_LIB_PATH) \
6304 $(HOST_EXPORTS) \
6305 for flag in $(EXTRA_HOST_FLAGS) ; do \
6306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6307 done; \
6308 echo "Doing mostlyclean in dosutils" ; \
6309 (cd dosutils && \
6310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6312 "RANLIB=$${RANLIB}" \
6313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6314 mostlyclean) \
6315 || exit 1
6317 @endif dosutils
6319 .PHONY: maybe-clean-dosutils clean-dosutils
6320 maybe-clean-dosutils:
6321 @if dosutils
6322 maybe-clean-dosutils: clean-dosutils
6324 clean-dosutils:
6325 @[ -f ./dosutils/Makefile ] || exit 0; \
6326 r=`${PWD_COMMAND}`; export r; \
6327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6328 $(SET_LIB_PATH) \
6329 $(HOST_EXPORTS) \
6330 for flag in $(EXTRA_HOST_FLAGS) ; do \
6331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6332 done; \
6333 echo "Doing clean in dosutils" ; \
6334 (cd dosutils && \
6335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6337 "RANLIB=$${RANLIB}" \
6338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6339 clean) \
6340 || exit 1
6342 @endif dosutils
6344 .PHONY: maybe-distclean-dosutils distclean-dosutils
6345 maybe-distclean-dosutils:
6346 @if dosutils
6347 maybe-distclean-dosutils: distclean-dosutils
6349 distclean-dosutils:
6350 @[ -f ./dosutils/Makefile ] || exit 0; \
6351 r=`${PWD_COMMAND}`; export r; \
6352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6353 $(SET_LIB_PATH) \
6354 $(HOST_EXPORTS) \
6355 for flag in $(EXTRA_HOST_FLAGS) ; do \
6356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6357 done; \
6358 echo "Doing distclean in dosutils" ; \
6359 (cd dosutils && \
6360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6362 "RANLIB=$${RANLIB}" \
6363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6364 distclean) \
6365 || exit 1
6367 @endif dosutils
6369 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6370 maybe-maintainer-clean-dosutils:
6371 @if dosutils
6372 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6374 maintainer-clean-dosutils:
6375 @[ -f ./dosutils/Makefile ] || exit 0; \
6376 r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 $(SET_LIB_PATH) \
6379 $(HOST_EXPORTS) \
6380 for flag in $(EXTRA_HOST_FLAGS) ; do \
6381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6382 done; \
6383 echo "Doing maintainer-clean in dosutils" ; \
6384 (cd dosutils && \
6385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6387 "RANLIB=$${RANLIB}" \
6388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6389 maintainer-clean) \
6390 || exit 1
6392 @endif dosutils
6395 .PHONY: configure-etc maybe-configure-etc
6396 maybe-configure-etc:
6397 @if etc
6398 maybe-configure-etc: configure-etc
6399 configure-etc:
6400 @test ! -f etc/Makefile || exit 0; \
6401 [ -d etc ] || mkdir etc; \
6402 r=`${PWD_COMMAND}`; export r; \
6403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6404 $(HOST_EXPORTS) \
6405 echo Configuring in etc; \
6406 cd etc || exit 1; \
6407 case $(srcdir) in \
6408 \.) \
6409 srcdiroption="--srcdir=."; \
6410 libsrcdir=".";; \
6411 /* | [A-Za-z]:[\\/]*) \
6412 srcdiroption="--srcdir=$(srcdir)/etc"; \
6413 libsrcdir="$$s/etc";; \
6414 *) \
6415 srcdiroption="--srcdir=../$(srcdir)/etc"; \
6416 libsrcdir="$$s/etc";; \
6417 esac; \
6418 $(SHELL) $${libsrcdir}/configure \
6419 $(HOST_CONFIGARGS) $${srcdiroption} \
6420 || exit 1
6421 @endif etc
6423 .PHONY: all-etc maybe-all-etc
6424 maybe-all-etc:
6425 @if etc
6426 maybe-all-etc: all-etc
6427 all-etc: configure-etc
6428 @r=`${PWD_COMMAND}`; export r; \
6429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6430 $(SET_LIB_PATH) \
6431 $(HOST_EXPORTS) \
6432 (cd etc && $(MAKE) $(FLAGS_TO_PASS) all)
6433 @endif etc
6435 .PHONY: check-etc maybe-check-etc
6436 maybe-check-etc:
6437 @if etc
6438 maybe-check-etc: check-etc
6440 check-etc:
6441 @r=`${PWD_COMMAND}`; export r; \
6442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6443 $(SET_LIB_PATH) \
6444 $(HOST_EXPORTS) \
6445 (cd etc && $(MAKE) $(FLAGS_TO_PASS) check)
6447 @endif etc
6449 .PHONY: install-etc maybe-install-etc
6450 maybe-install-etc:
6451 @if etc
6452 maybe-install-etc: install-etc
6454 install-etc: installdirs
6455 @r=`${PWD_COMMAND}`; export r; \
6456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6457 $(SET_LIB_PATH) \
6458 $(HOST_EXPORTS) \
6459 (cd etc && $(MAKE) $(FLAGS_TO_PASS) install)
6461 @endif etc
6463 # Other targets (info, dvi, etc.)
6465 .PHONY: maybe-info-etc info-etc
6466 maybe-info-etc:
6467 @if etc
6468 maybe-info-etc: info-etc
6470 info-etc: \
6471 configure-etc
6472 @[ -f ./etc/Makefile ] || exit 0; \
6473 r=`${PWD_COMMAND}`; export r; \
6474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6475 $(SET_LIB_PATH) \
6476 $(HOST_EXPORTS) \
6477 for flag in $(EXTRA_HOST_FLAGS) ; do \
6478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6479 done; \
6480 echo "Doing info in etc" ; \
6481 (cd etc && \
6482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6484 "RANLIB=$${RANLIB}" \
6485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6486 info) \
6487 || exit 1
6489 @endif etc
6491 .PHONY: maybe-dvi-etc dvi-etc
6492 maybe-dvi-etc:
6493 @if etc
6494 maybe-dvi-etc: dvi-etc
6496 dvi-etc: \
6497 configure-etc
6498 @[ -f ./etc/Makefile ] || exit 0; \
6499 r=`${PWD_COMMAND}`; export r; \
6500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6501 $(SET_LIB_PATH) \
6502 $(HOST_EXPORTS) \
6503 for flag in $(EXTRA_HOST_FLAGS) ; do \
6504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6505 done; \
6506 echo "Doing dvi in etc" ; \
6507 (cd etc && \
6508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6510 "RANLIB=$${RANLIB}" \
6511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6512 dvi) \
6513 || exit 1
6515 @endif etc
6517 .PHONY: maybe-TAGS-etc TAGS-etc
6518 maybe-TAGS-etc:
6519 @if etc
6520 maybe-TAGS-etc: TAGS-etc
6522 TAGS-etc: \
6523 configure-etc
6524 @[ -f ./etc/Makefile ] || exit 0; \
6525 r=`${PWD_COMMAND}`; export r; \
6526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6527 $(SET_LIB_PATH) \
6528 $(HOST_EXPORTS) \
6529 for flag in $(EXTRA_HOST_FLAGS) ; do \
6530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6531 done; \
6532 echo "Doing TAGS in etc" ; \
6533 (cd etc && \
6534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6536 "RANLIB=$${RANLIB}" \
6537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6538 TAGS) \
6539 || exit 1
6541 @endif etc
6543 .PHONY: maybe-install-info-etc install-info-etc
6544 maybe-install-info-etc:
6545 @if etc
6546 maybe-install-info-etc: install-info-etc
6548 install-info-etc: \
6549 configure-etc \
6550 info-etc
6551 @[ -f ./etc/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 $(SET_LIB_PATH) \
6555 $(HOST_EXPORTS) \
6556 for flag in $(EXTRA_HOST_FLAGS) ; do \
6557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6558 done; \
6559 echo "Doing install-info in etc" ; \
6560 (cd etc && \
6561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6563 "RANLIB=$${RANLIB}" \
6564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6565 install-info) \
6566 || exit 1
6568 @endif etc
6570 .PHONY: maybe-installcheck-etc installcheck-etc
6571 maybe-installcheck-etc:
6572 @if etc
6573 maybe-installcheck-etc: installcheck-etc
6575 installcheck-etc: \
6576 configure-etc
6577 @[ -f ./etc/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(SET_LIB_PATH) \
6581 $(HOST_EXPORTS) \
6582 for flag in $(EXTRA_HOST_FLAGS) ; do \
6583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6584 done; \
6585 echo "Doing installcheck in etc" ; \
6586 (cd etc && \
6587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6589 "RANLIB=$${RANLIB}" \
6590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6591 installcheck) \
6592 || exit 1
6594 @endif etc
6596 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6597 maybe-mostlyclean-etc:
6598 @if etc
6599 maybe-mostlyclean-etc: mostlyclean-etc
6601 mostlyclean-etc:
6602 @[ -f ./etc/Makefile ] || exit 0; \
6603 r=`${PWD_COMMAND}`; export r; \
6604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6605 $(SET_LIB_PATH) \
6606 $(HOST_EXPORTS) \
6607 for flag in $(EXTRA_HOST_FLAGS) ; do \
6608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6609 done; \
6610 echo "Doing mostlyclean in etc" ; \
6611 (cd etc && \
6612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6614 "RANLIB=$${RANLIB}" \
6615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6616 mostlyclean) \
6617 || exit 1
6619 @endif etc
6621 .PHONY: maybe-clean-etc clean-etc
6622 maybe-clean-etc:
6623 @if etc
6624 maybe-clean-etc: clean-etc
6626 clean-etc:
6627 @[ -f ./etc/Makefile ] || exit 0; \
6628 r=`${PWD_COMMAND}`; export r; \
6629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6630 $(SET_LIB_PATH) \
6631 $(HOST_EXPORTS) \
6632 for flag in $(EXTRA_HOST_FLAGS) ; do \
6633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6634 done; \
6635 echo "Doing clean in etc" ; \
6636 (cd etc && \
6637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6639 "RANLIB=$${RANLIB}" \
6640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6641 clean) \
6642 || exit 1
6644 @endif etc
6646 .PHONY: maybe-distclean-etc distclean-etc
6647 maybe-distclean-etc:
6648 @if etc
6649 maybe-distclean-etc: distclean-etc
6651 distclean-etc:
6652 @[ -f ./etc/Makefile ] || exit 0; \
6653 r=`${PWD_COMMAND}`; export r; \
6654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6655 $(SET_LIB_PATH) \
6656 $(HOST_EXPORTS) \
6657 for flag in $(EXTRA_HOST_FLAGS) ; do \
6658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6659 done; \
6660 echo "Doing distclean in etc" ; \
6661 (cd etc && \
6662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6664 "RANLIB=$${RANLIB}" \
6665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6666 distclean) \
6667 || exit 1
6669 @endif etc
6671 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
6672 maybe-maintainer-clean-etc:
6673 @if etc
6674 maybe-maintainer-clean-etc: maintainer-clean-etc
6676 maintainer-clean-etc:
6677 @[ -f ./etc/Makefile ] || exit 0; \
6678 r=`${PWD_COMMAND}`; export r; \
6679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6680 $(SET_LIB_PATH) \
6681 $(HOST_EXPORTS) \
6682 for flag in $(EXTRA_HOST_FLAGS) ; do \
6683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6684 done; \
6685 echo "Doing maintainer-clean in etc" ; \
6686 (cd etc && \
6687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6689 "RANLIB=$${RANLIB}" \
6690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6691 maintainer-clean) \
6692 || exit 1
6694 @endif etc
6697 .PHONY: configure-fastjar maybe-configure-fastjar
6698 maybe-configure-fastjar:
6699 @if fastjar
6700 maybe-configure-fastjar: configure-fastjar
6701 configure-fastjar:
6702 @test ! -f fastjar/Makefile || exit 0; \
6703 [ -d fastjar ] || mkdir fastjar; \
6704 r=`${PWD_COMMAND}`; export r; \
6705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6706 $(HOST_EXPORTS) \
6707 echo Configuring in fastjar; \
6708 cd fastjar || exit 1; \
6709 case $(srcdir) in \
6710 \.) \
6711 srcdiroption="--srcdir=."; \
6712 libsrcdir=".";; \
6713 /* | [A-Za-z]:[\\/]*) \
6714 srcdiroption="--srcdir=$(srcdir)/fastjar"; \
6715 libsrcdir="$$s/fastjar";; \
6716 *) \
6717 srcdiroption="--srcdir=../$(srcdir)/fastjar"; \
6718 libsrcdir="$$s/fastjar";; \
6719 esac; \
6720 $(SHELL) $${libsrcdir}/configure \
6721 $(HOST_CONFIGARGS) $${srcdiroption} \
6722 || exit 1
6723 @endif fastjar
6725 .PHONY: all-fastjar maybe-all-fastjar
6726 maybe-all-fastjar:
6727 @if fastjar
6728 maybe-all-fastjar: all-fastjar
6729 all-fastjar: configure-fastjar
6730 @r=`${PWD_COMMAND}`; export r; \
6731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6732 $(SET_LIB_PATH) \
6733 $(HOST_EXPORTS) \
6734 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) all)
6735 @endif fastjar
6737 .PHONY: check-fastjar maybe-check-fastjar
6738 maybe-check-fastjar:
6739 @if fastjar
6740 maybe-check-fastjar: check-fastjar
6742 # This module is only tested in a native toolchain.
6743 check-fastjar:
6744 @if [ '$(host)' = '$(target)' ] ; then \
6745 r=`${PWD_COMMAND}`; export r; \
6746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6747 $(SET_LIB_PATH) \
6748 $(HOST_EXPORTS) \
6749 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) check); \
6752 @endif fastjar
6754 .PHONY: install-fastjar maybe-install-fastjar
6755 maybe-install-fastjar:
6756 @if fastjar
6757 maybe-install-fastjar: install-fastjar
6759 install-fastjar: installdirs
6760 @r=`${PWD_COMMAND}`; export r; \
6761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6762 $(SET_LIB_PATH) \
6763 $(HOST_EXPORTS) \
6764 (cd fastjar && $(MAKE) $(FLAGS_TO_PASS) install)
6766 @endif fastjar
6768 # Other targets (info, dvi, etc.)
6770 .PHONY: maybe-info-fastjar info-fastjar
6771 maybe-info-fastjar:
6772 @if fastjar
6773 maybe-info-fastjar: info-fastjar
6775 info-fastjar: \
6776 configure-fastjar
6777 @[ -f ./fastjar/Makefile ] || exit 0; \
6778 r=`${PWD_COMMAND}`; export r; \
6779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6780 $(SET_LIB_PATH) \
6781 $(HOST_EXPORTS) \
6782 for flag in $(EXTRA_HOST_FLAGS) ; do \
6783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6784 done; \
6785 echo "Doing info in fastjar" ; \
6786 (cd fastjar && \
6787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6789 "RANLIB=$${RANLIB}" \
6790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6791 info) \
6792 || exit 1
6794 @endif fastjar
6796 .PHONY: maybe-dvi-fastjar dvi-fastjar
6797 maybe-dvi-fastjar:
6798 @if fastjar
6799 maybe-dvi-fastjar: dvi-fastjar
6801 dvi-fastjar: \
6802 configure-fastjar
6803 @[ -f ./fastjar/Makefile ] || exit 0; \
6804 r=`${PWD_COMMAND}`; export r; \
6805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6806 $(SET_LIB_PATH) \
6807 $(HOST_EXPORTS) \
6808 for flag in $(EXTRA_HOST_FLAGS) ; do \
6809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6810 done; \
6811 echo "Doing dvi in fastjar" ; \
6812 (cd fastjar && \
6813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6815 "RANLIB=$${RANLIB}" \
6816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6817 dvi) \
6818 || exit 1
6820 @endif fastjar
6822 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
6823 maybe-TAGS-fastjar:
6824 @if fastjar
6825 maybe-TAGS-fastjar: TAGS-fastjar
6827 TAGS-fastjar: \
6828 configure-fastjar
6829 @[ -f ./fastjar/Makefile ] || exit 0; \
6830 r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(SET_LIB_PATH) \
6833 $(HOST_EXPORTS) \
6834 for flag in $(EXTRA_HOST_FLAGS) ; do \
6835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6836 done; \
6837 echo "Doing TAGS in fastjar" ; \
6838 (cd fastjar && \
6839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6841 "RANLIB=$${RANLIB}" \
6842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6843 TAGS) \
6844 || exit 1
6846 @endif fastjar
6848 .PHONY: maybe-install-info-fastjar install-info-fastjar
6849 maybe-install-info-fastjar:
6850 @if fastjar
6851 maybe-install-info-fastjar: install-info-fastjar
6853 install-info-fastjar: \
6854 configure-fastjar \
6855 info-fastjar
6856 @[ -f ./fastjar/Makefile ] || exit 0; \
6857 r=`${PWD_COMMAND}`; export r; \
6858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6859 $(SET_LIB_PATH) \
6860 $(HOST_EXPORTS) \
6861 for flag in $(EXTRA_HOST_FLAGS) ; do \
6862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6863 done; \
6864 echo "Doing install-info in fastjar" ; \
6865 (cd fastjar && \
6866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6868 "RANLIB=$${RANLIB}" \
6869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6870 install-info) \
6871 || exit 1
6873 @endif fastjar
6875 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
6876 maybe-installcheck-fastjar:
6877 @if fastjar
6878 maybe-installcheck-fastjar: installcheck-fastjar
6880 installcheck-fastjar: \
6881 configure-fastjar
6882 @[ -f ./fastjar/Makefile ] || exit 0; \
6883 r=`${PWD_COMMAND}`; export r; \
6884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6885 $(SET_LIB_PATH) \
6886 $(HOST_EXPORTS) \
6887 for flag in $(EXTRA_HOST_FLAGS) ; do \
6888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6889 done; \
6890 echo "Doing installcheck in fastjar" ; \
6891 (cd fastjar && \
6892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6894 "RANLIB=$${RANLIB}" \
6895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6896 installcheck) \
6897 || exit 1
6899 @endif fastjar
6901 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
6902 maybe-mostlyclean-fastjar:
6903 @if fastjar
6904 maybe-mostlyclean-fastjar: mostlyclean-fastjar
6906 mostlyclean-fastjar:
6907 @[ -f ./fastjar/Makefile ] || exit 0; \
6908 r=`${PWD_COMMAND}`; export r; \
6909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6910 $(SET_LIB_PATH) \
6911 $(HOST_EXPORTS) \
6912 for flag in $(EXTRA_HOST_FLAGS) ; do \
6913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6914 done; \
6915 echo "Doing mostlyclean in fastjar" ; \
6916 (cd fastjar && \
6917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6919 "RANLIB=$${RANLIB}" \
6920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6921 mostlyclean) \
6922 || exit 1
6924 @endif fastjar
6926 .PHONY: maybe-clean-fastjar clean-fastjar
6927 maybe-clean-fastjar:
6928 @if fastjar
6929 maybe-clean-fastjar: clean-fastjar
6931 clean-fastjar:
6932 @[ -f ./fastjar/Makefile ] || exit 0; \
6933 r=`${PWD_COMMAND}`; export r; \
6934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6935 $(SET_LIB_PATH) \
6936 $(HOST_EXPORTS) \
6937 for flag in $(EXTRA_HOST_FLAGS) ; do \
6938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6939 done; \
6940 echo "Doing clean in fastjar" ; \
6941 (cd fastjar && \
6942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6944 "RANLIB=$${RANLIB}" \
6945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6946 clean) \
6947 || exit 1
6949 @endif fastjar
6951 .PHONY: maybe-distclean-fastjar distclean-fastjar
6952 maybe-distclean-fastjar:
6953 @if fastjar
6954 maybe-distclean-fastjar: distclean-fastjar
6956 distclean-fastjar:
6957 @[ -f ./fastjar/Makefile ] || exit 0; \
6958 r=`${PWD_COMMAND}`; export r; \
6959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6960 $(SET_LIB_PATH) \
6961 $(HOST_EXPORTS) \
6962 for flag in $(EXTRA_HOST_FLAGS) ; do \
6963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6964 done; \
6965 echo "Doing distclean in fastjar" ; \
6966 (cd fastjar && \
6967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6969 "RANLIB=$${RANLIB}" \
6970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6971 distclean) \
6972 || exit 1
6974 @endif fastjar
6976 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
6977 maybe-maintainer-clean-fastjar:
6978 @if fastjar
6979 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
6981 maintainer-clean-fastjar:
6982 @[ -f ./fastjar/Makefile ] || exit 0; \
6983 r=`${PWD_COMMAND}`; export r; \
6984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6985 $(SET_LIB_PATH) \
6986 $(HOST_EXPORTS) \
6987 for flag in $(EXTRA_HOST_FLAGS) ; do \
6988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6989 done; \
6990 echo "Doing maintainer-clean in fastjar" ; \
6991 (cd fastjar && \
6992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6994 "RANLIB=$${RANLIB}" \
6995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6996 maintainer-clean) \
6997 || exit 1
6999 @endif fastjar
7002 .PHONY: configure-fileutils maybe-configure-fileutils
7003 maybe-configure-fileutils:
7004 @if fileutils
7005 maybe-configure-fileutils: configure-fileutils
7006 configure-fileutils:
7007 @test ! -f fileutils/Makefile || exit 0; \
7008 [ -d fileutils ] || mkdir fileutils; \
7009 r=`${PWD_COMMAND}`; export r; \
7010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7011 $(HOST_EXPORTS) \
7012 echo Configuring in fileutils; \
7013 cd fileutils || exit 1; \
7014 case $(srcdir) in \
7015 \.) \
7016 srcdiroption="--srcdir=."; \
7017 libsrcdir=".";; \
7018 /* | [A-Za-z]:[\\/]*) \
7019 srcdiroption="--srcdir=$(srcdir)/fileutils"; \
7020 libsrcdir="$$s/fileutils";; \
7021 *) \
7022 srcdiroption="--srcdir=../$(srcdir)/fileutils"; \
7023 libsrcdir="$$s/fileutils";; \
7024 esac; \
7025 $(SHELL) $${libsrcdir}/configure \
7026 $(HOST_CONFIGARGS) $${srcdiroption} \
7027 || exit 1
7028 @endif fileutils
7030 .PHONY: all-fileutils maybe-all-fileutils
7031 maybe-all-fileutils:
7032 @if fileutils
7033 maybe-all-fileutils: all-fileutils
7034 all-fileutils: configure-fileutils
7035 @r=`${PWD_COMMAND}`; export r; \
7036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7037 $(SET_LIB_PATH) \
7038 $(HOST_EXPORTS) \
7039 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) all)
7040 @endif fileutils
7042 .PHONY: check-fileutils maybe-check-fileutils
7043 maybe-check-fileutils:
7044 @if fileutils
7045 maybe-check-fileutils: check-fileutils
7047 check-fileutils:
7048 @r=`${PWD_COMMAND}`; export r; \
7049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7050 $(SET_LIB_PATH) \
7051 $(HOST_EXPORTS) \
7052 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) check)
7054 @endif fileutils
7056 .PHONY: install-fileutils maybe-install-fileutils
7057 maybe-install-fileutils:
7058 @if fileutils
7059 maybe-install-fileutils: install-fileutils
7061 install-fileutils: installdirs
7062 @r=`${PWD_COMMAND}`; export r; \
7063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7064 $(SET_LIB_PATH) \
7065 $(HOST_EXPORTS) \
7066 (cd fileutils && $(MAKE) $(FLAGS_TO_PASS) install)
7068 @endif fileutils
7070 # Other targets (info, dvi, etc.)
7072 .PHONY: maybe-info-fileutils info-fileutils
7073 maybe-info-fileutils:
7074 @if fileutils
7075 maybe-info-fileutils: info-fileutils
7077 info-fileutils: \
7078 configure-fileutils
7079 @[ -f ./fileutils/Makefile ] || exit 0; \
7080 r=`${PWD_COMMAND}`; export r; \
7081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7082 $(SET_LIB_PATH) \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing info in fileutils" ; \
7088 (cd fileutils && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7093 info) \
7094 || exit 1
7096 @endif fileutils
7098 .PHONY: maybe-dvi-fileutils dvi-fileutils
7099 maybe-dvi-fileutils:
7100 @if fileutils
7101 maybe-dvi-fileutils: dvi-fileutils
7103 dvi-fileutils: \
7104 configure-fileutils
7105 @[ -f ./fileutils/Makefile ] || exit 0; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(SET_LIB_PATH) \
7109 $(HOST_EXPORTS) \
7110 for flag in $(EXTRA_HOST_FLAGS) ; do \
7111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7112 done; \
7113 echo "Doing dvi in fileutils" ; \
7114 (cd fileutils && \
7115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7117 "RANLIB=$${RANLIB}" \
7118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7119 dvi) \
7120 || exit 1
7122 @endif fileutils
7124 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7125 maybe-TAGS-fileutils:
7126 @if fileutils
7127 maybe-TAGS-fileutils: TAGS-fileutils
7129 TAGS-fileutils: \
7130 configure-fileutils
7131 @[ -f ./fileutils/Makefile ] || exit 0; \
7132 r=`${PWD_COMMAND}`; export r; \
7133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7134 $(SET_LIB_PATH) \
7135 $(HOST_EXPORTS) \
7136 for flag in $(EXTRA_HOST_FLAGS) ; do \
7137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7138 done; \
7139 echo "Doing TAGS in fileutils" ; \
7140 (cd fileutils && \
7141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7143 "RANLIB=$${RANLIB}" \
7144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7145 TAGS) \
7146 || exit 1
7148 @endif fileutils
7150 .PHONY: maybe-install-info-fileutils install-info-fileutils
7151 maybe-install-info-fileutils:
7152 @if fileutils
7153 maybe-install-info-fileutils: install-info-fileutils
7155 install-info-fileutils: \
7156 configure-fileutils \
7157 info-fileutils
7158 @[ -f ./fileutils/Makefile ] || exit 0; \
7159 r=`${PWD_COMMAND}`; export r; \
7160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7161 $(SET_LIB_PATH) \
7162 $(HOST_EXPORTS) \
7163 for flag in $(EXTRA_HOST_FLAGS) ; do \
7164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7165 done; \
7166 echo "Doing install-info in fileutils" ; \
7167 (cd fileutils && \
7168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7170 "RANLIB=$${RANLIB}" \
7171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7172 install-info) \
7173 || exit 1
7175 @endif fileutils
7177 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7178 maybe-installcheck-fileutils:
7179 @if fileutils
7180 maybe-installcheck-fileutils: installcheck-fileutils
7182 installcheck-fileutils: \
7183 configure-fileutils
7184 @[ -f ./fileutils/Makefile ] || exit 0; \
7185 r=`${PWD_COMMAND}`; export r; \
7186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7187 $(SET_LIB_PATH) \
7188 $(HOST_EXPORTS) \
7189 for flag in $(EXTRA_HOST_FLAGS) ; do \
7190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7191 done; \
7192 echo "Doing installcheck in fileutils" ; \
7193 (cd fileutils && \
7194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7196 "RANLIB=$${RANLIB}" \
7197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7198 installcheck) \
7199 || exit 1
7201 @endif fileutils
7203 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7204 maybe-mostlyclean-fileutils:
7205 @if fileutils
7206 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7208 mostlyclean-fileutils:
7209 @[ -f ./fileutils/Makefile ] || exit 0; \
7210 r=`${PWD_COMMAND}`; export r; \
7211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7212 $(SET_LIB_PATH) \
7213 $(HOST_EXPORTS) \
7214 for flag in $(EXTRA_HOST_FLAGS) ; do \
7215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7216 done; \
7217 echo "Doing mostlyclean in fileutils" ; \
7218 (cd fileutils && \
7219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7221 "RANLIB=$${RANLIB}" \
7222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7223 mostlyclean) \
7224 || exit 1
7226 @endif fileutils
7228 .PHONY: maybe-clean-fileutils clean-fileutils
7229 maybe-clean-fileutils:
7230 @if fileutils
7231 maybe-clean-fileutils: clean-fileutils
7233 clean-fileutils:
7234 @[ -f ./fileutils/Makefile ] || exit 0; \
7235 r=`${PWD_COMMAND}`; export r; \
7236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7237 $(SET_LIB_PATH) \
7238 $(HOST_EXPORTS) \
7239 for flag in $(EXTRA_HOST_FLAGS) ; do \
7240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7241 done; \
7242 echo "Doing clean in fileutils" ; \
7243 (cd fileutils && \
7244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7246 "RANLIB=$${RANLIB}" \
7247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7248 clean) \
7249 || exit 1
7251 @endif fileutils
7253 .PHONY: maybe-distclean-fileutils distclean-fileutils
7254 maybe-distclean-fileutils:
7255 @if fileutils
7256 maybe-distclean-fileutils: distclean-fileutils
7258 distclean-fileutils:
7259 @[ -f ./fileutils/Makefile ] || exit 0; \
7260 r=`${PWD_COMMAND}`; export r; \
7261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7262 $(SET_LIB_PATH) \
7263 $(HOST_EXPORTS) \
7264 for flag in $(EXTRA_HOST_FLAGS) ; do \
7265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7266 done; \
7267 echo "Doing distclean in fileutils" ; \
7268 (cd fileutils && \
7269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7271 "RANLIB=$${RANLIB}" \
7272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7273 distclean) \
7274 || exit 1
7276 @endif fileutils
7278 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7279 maybe-maintainer-clean-fileutils:
7280 @if fileutils
7281 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7283 maintainer-clean-fileutils:
7284 @[ -f ./fileutils/Makefile ] || exit 0; \
7285 r=`${PWD_COMMAND}`; export r; \
7286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7287 $(SET_LIB_PATH) \
7288 $(HOST_EXPORTS) \
7289 for flag in $(EXTRA_HOST_FLAGS) ; do \
7290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7291 done; \
7292 echo "Doing maintainer-clean in fileutils" ; \
7293 (cd fileutils && \
7294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7296 "RANLIB=$${RANLIB}" \
7297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7298 maintainer-clean) \
7299 || exit 1
7301 @endif fileutils
7304 .PHONY: configure-findutils maybe-configure-findutils
7305 maybe-configure-findutils:
7306 @if findutils
7307 maybe-configure-findutils: configure-findutils
7308 configure-findutils:
7309 @test ! -f findutils/Makefile || exit 0; \
7310 [ -d findutils ] || mkdir findutils; \
7311 r=`${PWD_COMMAND}`; export r; \
7312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7313 $(HOST_EXPORTS) \
7314 echo Configuring in findutils; \
7315 cd findutils || exit 1; \
7316 case $(srcdir) in \
7317 \.) \
7318 srcdiroption="--srcdir=."; \
7319 libsrcdir=".";; \
7320 /* | [A-Za-z]:[\\/]*) \
7321 srcdiroption="--srcdir=$(srcdir)/findutils"; \
7322 libsrcdir="$$s/findutils";; \
7323 *) \
7324 srcdiroption="--srcdir=../$(srcdir)/findutils"; \
7325 libsrcdir="$$s/findutils";; \
7326 esac; \
7327 $(SHELL) $${libsrcdir}/configure \
7328 $(HOST_CONFIGARGS) $${srcdiroption} \
7329 || exit 1
7330 @endif findutils
7332 .PHONY: all-findutils maybe-all-findutils
7333 maybe-all-findutils:
7334 @if findutils
7335 maybe-all-findutils: all-findutils
7336 all-findutils: configure-findutils
7337 @r=`${PWD_COMMAND}`; export r; \
7338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7339 $(SET_LIB_PATH) \
7340 $(HOST_EXPORTS) \
7341 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) all)
7342 @endif findutils
7344 .PHONY: check-findutils maybe-check-findutils
7345 maybe-check-findutils:
7346 @if findutils
7347 maybe-check-findutils: check-findutils
7349 check-findutils:
7350 @r=`${PWD_COMMAND}`; export r; \
7351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7352 $(SET_LIB_PATH) \
7353 $(HOST_EXPORTS) \
7354 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) check)
7356 @endif findutils
7358 .PHONY: install-findutils maybe-install-findutils
7359 maybe-install-findutils:
7360 @if findutils
7361 maybe-install-findutils: install-findutils
7363 install-findutils: installdirs
7364 @r=`${PWD_COMMAND}`; export r; \
7365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7366 $(SET_LIB_PATH) \
7367 $(HOST_EXPORTS) \
7368 (cd findutils && $(MAKE) $(FLAGS_TO_PASS) install)
7370 @endif findutils
7372 # Other targets (info, dvi, etc.)
7374 .PHONY: maybe-info-findutils info-findutils
7375 maybe-info-findutils:
7376 @if findutils
7377 maybe-info-findutils: info-findutils
7379 info-findutils: \
7380 configure-findutils
7381 @[ -f ./findutils/Makefile ] || exit 0; \
7382 r=`${PWD_COMMAND}`; export r; \
7383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7384 $(SET_LIB_PATH) \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing info in findutils" ; \
7390 (cd findutils && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7395 info) \
7396 || exit 1
7398 @endif findutils
7400 .PHONY: maybe-dvi-findutils dvi-findutils
7401 maybe-dvi-findutils:
7402 @if findutils
7403 maybe-dvi-findutils: dvi-findutils
7405 dvi-findutils: \
7406 configure-findutils
7407 @[ -f ./findutils/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(SET_LIB_PATH) \
7411 $(HOST_EXPORTS) \
7412 for flag in $(EXTRA_HOST_FLAGS) ; do \
7413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7414 done; \
7415 echo "Doing dvi in findutils" ; \
7416 (cd findutils && \
7417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7419 "RANLIB=$${RANLIB}" \
7420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7421 dvi) \
7422 || exit 1
7424 @endif findutils
7426 .PHONY: maybe-TAGS-findutils TAGS-findutils
7427 maybe-TAGS-findutils:
7428 @if findutils
7429 maybe-TAGS-findutils: TAGS-findutils
7431 TAGS-findutils: \
7432 configure-findutils
7433 @[ -f ./findutils/Makefile ] || exit 0; \
7434 r=`${PWD_COMMAND}`; export r; \
7435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7436 $(SET_LIB_PATH) \
7437 $(HOST_EXPORTS) \
7438 for flag in $(EXTRA_HOST_FLAGS) ; do \
7439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7440 done; \
7441 echo "Doing TAGS in findutils" ; \
7442 (cd findutils && \
7443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7445 "RANLIB=$${RANLIB}" \
7446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7447 TAGS) \
7448 || exit 1
7450 @endif findutils
7452 .PHONY: maybe-install-info-findutils install-info-findutils
7453 maybe-install-info-findutils:
7454 @if findutils
7455 maybe-install-info-findutils: install-info-findutils
7457 install-info-findutils: \
7458 configure-findutils \
7459 info-findutils
7460 @[ -f ./findutils/Makefile ] || exit 0; \
7461 r=`${PWD_COMMAND}`; export r; \
7462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7463 $(SET_LIB_PATH) \
7464 $(HOST_EXPORTS) \
7465 for flag in $(EXTRA_HOST_FLAGS) ; do \
7466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7467 done; \
7468 echo "Doing install-info in findutils" ; \
7469 (cd findutils && \
7470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7472 "RANLIB=$${RANLIB}" \
7473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7474 install-info) \
7475 || exit 1
7477 @endif findutils
7479 .PHONY: maybe-installcheck-findutils installcheck-findutils
7480 maybe-installcheck-findutils:
7481 @if findutils
7482 maybe-installcheck-findutils: installcheck-findutils
7484 installcheck-findutils: \
7485 configure-findutils
7486 @[ -f ./findutils/Makefile ] || exit 0; \
7487 r=`${PWD_COMMAND}`; export r; \
7488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7489 $(SET_LIB_PATH) \
7490 $(HOST_EXPORTS) \
7491 for flag in $(EXTRA_HOST_FLAGS) ; do \
7492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7493 done; \
7494 echo "Doing installcheck in findutils" ; \
7495 (cd findutils && \
7496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7498 "RANLIB=$${RANLIB}" \
7499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7500 installcheck) \
7501 || exit 1
7503 @endif findutils
7505 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7506 maybe-mostlyclean-findutils:
7507 @if findutils
7508 maybe-mostlyclean-findutils: mostlyclean-findutils
7510 mostlyclean-findutils:
7511 @[ -f ./findutils/Makefile ] || exit 0; \
7512 r=`${PWD_COMMAND}`; export r; \
7513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7514 $(SET_LIB_PATH) \
7515 $(HOST_EXPORTS) \
7516 for flag in $(EXTRA_HOST_FLAGS) ; do \
7517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7518 done; \
7519 echo "Doing mostlyclean in findutils" ; \
7520 (cd findutils && \
7521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7523 "RANLIB=$${RANLIB}" \
7524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7525 mostlyclean) \
7526 || exit 1
7528 @endif findutils
7530 .PHONY: maybe-clean-findutils clean-findutils
7531 maybe-clean-findutils:
7532 @if findutils
7533 maybe-clean-findutils: clean-findutils
7535 clean-findutils:
7536 @[ -f ./findutils/Makefile ] || exit 0; \
7537 r=`${PWD_COMMAND}`; export r; \
7538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7539 $(SET_LIB_PATH) \
7540 $(HOST_EXPORTS) \
7541 for flag in $(EXTRA_HOST_FLAGS) ; do \
7542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7543 done; \
7544 echo "Doing clean in findutils" ; \
7545 (cd findutils && \
7546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7548 "RANLIB=$${RANLIB}" \
7549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7550 clean) \
7551 || exit 1
7553 @endif findutils
7555 .PHONY: maybe-distclean-findutils distclean-findutils
7556 maybe-distclean-findutils:
7557 @if findutils
7558 maybe-distclean-findutils: distclean-findutils
7560 distclean-findutils:
7561 @[ -f ./findutils/Makefile ] || exit 0; \
7562 r=`${PWD_COMMAND}`; export r; \
7563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7564 $(SET_LIB_PATH) \
7565 $(HOST_EXPORTS) \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7568 done; \
7569 echo "Doing distclean in findutils" ; \
7570 (cd findutils && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7575 distclean) \
7576 || exit 1
7578 @endif findutils
7580 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
7581 maybe-maintainer-clean-findutils:
7582 @if findutils
7583 maybe-maintainer-clean-findutils: maintainer-clean-findutils
7585 maintainer-clean-findutils:
7586 @[ -f ./findutils/Makefile ] || exit 0; \
7587 r=`${PWD_COMMAND}`; export r; \
7588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 $(SET_LIB_PATH) \
7590 $(HOST_EXPORTS) \
7591 for flag in $(EXTRA_HOST_FLAGS) ; do \
7592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7593 done; \
7594 echo "Doing maintainer-clean in findutils" ; \
7595 (cd findutils && \
7596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7598 "RANLIB=$${RANLIB}" \
7599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7600 maintainer-clean) \
7601 || exit 1
7603 @endif findutils
7606 .PHONY: configure-find maybe-configure-find
7607 maybe-configure-find:
7608 @if find
7609 maybe-configure-find: configure-find
7610 configure-find:
7611 @test ! -f find/Makefile || exit 0; \
7612 [ -d find ] || mkdir find; \
7613 r=`${PWD_COMMAND}`; export r; \
7614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7615 $(HOST_EXPORTS) \
7616 echo Configuring in find; \
7617 cd find || exit 1; \
7618 case $(srcdir) in \
7619 \.) \
7620 srcdiroption="--srcdir=."; \
7621 libsrcdir=".";; \
7622 /* | [A-Za-z]:[\\/]*) \
7623 srcdiroption="--srcdir=$(srcdir)/find"; \
7624 libsrcdir="$$s/find";; \
7625 *) \
7626 srcdiroption="--srcdir=../$(srcdir)/find"; \
7627 libsrcdir="$$s/find";; \
7628 esac; \
7629 $(SHELL) $${libsrcdir}/configure \
7630 $(HOST_CONFIGARGS) $${srcdiroption} \
7631 || exit 1
7632 @endif find
7634 .PHONY: all-find maybe-all-find
7635 maybe-all-find:
7636 @if find
7637 maybe-all-find: all-find
7638 all-find: configure-find
7639 @r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641 $(SET_LIB_PATH) \
7642 $(HOST_EXPORTS) \
7643 (cd find && $(MAKE) $(FLAGS_TO_PASS) all)
7644 @endif find
7646 .PHONY: check-find maybe-check-find
7647 maybe-check-find:
7648 @if find
7649 maybe-check-find: check-find
7651 check-find:
7652 @r=`${PWD_COMMAND}`; export r; \
7653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7654 $(SET_LIB_PATH) \
7655 $(HOST_EXPORTS) \
7656 (cd find && $(MAKE) $(FLAGS_TO_PASS) check)
7658 @endif find
7660 .PHONY: install-find maybe-install-find
7661 maybe-install-find:
7662 @if find
7663 maybe-install-find: install-find
7665 install-find: installdirs
7666 @r=`${PWD_COMMAND}`; export r; \
7667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7668 $(SET_LIB_PATH) \
7669 $(HOST_EXPORTS) \
7670 (cd find && $(MAKE) $(FLAGS_TO_PASS) install)
7672 @endif find
7674 # Other targets (info, dvi, etc.)
7676 .PHONY: maybe-info-find info-find
7677 maybe-info-find:
7678 @if find
7679 maybe-info-find: info-find
7681 info-find: \
7682 configure-find
7683 @[ -f ./find/Makefile ] || exit 0; \
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686 $(SET_LIB_PATH) \
7687 $(HOST_EXPORTS) \
7688 for flag in $(EXTRA_HOST_FLAGS) ; do \
7689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7690 done; \
7691 echo "Doing info in find" ; \
7692 (cd find && \
7693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7695 "RANLIB=$${RANLIB}" \
7696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7697 info) \
7698 || exit 1
7700 @endif find
7702 .PHONY: maybe-dvi-find dvi-find
7703 maybe-dvi-find:
7704 @if find
7705 maybe-dvi-find: dvi-find
7707 dvi-find: \
7708 configure-find
7709 @[ -f ./find/Makefile ] || exit 0; \
7710 r=`${PWD_COMMAND}`; export r; \
7711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7712 $(SET_LIB_PATH) \
7713 $(HOST_EXPORTS) \
7714 for flag in $(EXTRA_HOST_FLAGS) ; do \
7715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7716 done; \
7717 echo "Doing dvi in find" ; \
7718 (cd find && \
7719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7721 "RANLIB=$${RANLIB}" \
7722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7723 dvi) \
7724 || exit 1
7726 @endif find
7728 .PHONY: maybe-TAGS-find TAGS-find
7729 maybe-TAGS-find:
7730 @if find
7731 maybe-TAGS-find: TAGS-find
7733 TAGS-find: \
7734 configure-find
7735 @[ -f ./find/Makefile ] || exit 0; \
7736 r=`${PWD_COMMAND}`; export r; \
7737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7738 $(SET_LIB_PATH) \
7739 $(HOST_EXPORTS) \
7740 for flag in $(EXTRA_HOST_FLAGS) ; do \
7741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7742 done; \
7743 echo "Doing TAGS in find" ; \
7744 (cd find && \
7745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7747 "RANLIB=$${RANLIB}" \
7748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7749 TAGS) \
7750 || exit 1
7752 @endif find
7754 .PHONY: maybe-install-info-find install-info-find
7755 maybe-install-info-find:
7756 @if find
7757 maybe-install-info-find: install-info-find
7759 install-info-find: \
7760 configure-find \
7761 info-find
7762 @[ -f ./find/Makefile ] || exit 0; \
7763 r=`${PWD_COMMAND}`; export r; \
7764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7765 $(SET_LIB_PATH) \
7766 $(HOST_EXPORTS) \
7767 for flag in $(EXTRA_HOST_FLAGS) ; do \
7768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7769 done; \
7770 echo "Doing install-info in find" ; \
7771 (cd find && \
7772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7774 "RANLIB=$${RANLIB}" \
7775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7776 install-info) \
7777 || exit 1
7779 @endif find
7781 .PHONY: maybe-installcheck-find installcheck-find
7782 maybe-installcheck-find:
7783 @if find
7784 maybe-installcheck-find: installcheck-find
7786 installcheck-find: \
7787 configure-find
7788 @[ -f ./find/Makefile ] || exit 0; \
7789 r=`${PWD_COMMAND}`; export r; \
7790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7791 $(SET_LIB_PATH) \
7792 $(HOST_EXPORTS) \
7793 for flag in $(EXTRA_HOST_FLAGS) ; do \
7794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7795 done; \
7796 echo "Doing installcheck in find" ; \
7797 (cd find && \
7798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7800 "RANLIB=$${RANLIB}" \
7801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7802 installcheck) \
7803 || exit 1
7805 @endif find
7807 .PHONY: maybe-mostlyclean-find mostlyclean-find
7808 maybe-mostlyclean-find:
7809 @if find
7810 maybe-mostlyclean-find: mostlyclean-find
7812 mostlyclean-find:
7813 @[ -f ./find/Makefile ] || exit 0; \
7814 r=`${PWD_COMMAND}`; export r; \
7815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7816 $(SET_LIB_PATH) \
7817 $(HOST_EXPORTS) \
7818 for flag in $(EXTRA_HOST_FLAGS) ; do \
7819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7820 done; \
7821 echo "Doing mostlyclean in find" ; \
7822 (cd find && \
7823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7825 "RANLIB=$${RANLIB}" \
7826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7827 mostlyclean) \
7828 || exit 1
7830 @endif find
7832 .PHONY: maybe-clean-find clean-find
7833 maybe-clean-find:
7834 @if find
7835 maybe-clean-find: clean-find
7837 clean-find:
7838 @[ -f ./find/Makefile ] || exit 0; \
7839 r=`${PWD_COMMAND}`; export r; \
7840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7841 $(SET_LIB_PATH) \
7842 $(HOST_EXPORTS) \
7843 for flag in $(EXTRA_HOST_FLAGS) ; do \
7844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7845 done; \
7846 echo "Doing clean in find" ; \
7847 (cd find && \
7848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7850 "RANLIB=$${RANLIB}" \
7851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7852 clean) \
7853 || exit 1
7855 @endif find
7857 .PHONY: maybe-distclean-find distclean-find
7858 maybe-distclean-find:
7859 @if find
7860 maybe-distclean-find: distclean-find
7862 distclean-find:
7863 @[ -f ./find/Makefile ] || exit 0; \
7864 r=`${PWD_COMMAND}`; export r; \
7865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7866 $(SET_LIB_PATH) \
7867 $(HOST_EXPORTS) \
7868 for flag in $(EXTRA_HOST_FLAGS) ; do \
7869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7870 done; \
7871 echo "Doing distclean in find" ; \
7872 (cd find && \
7873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7875 "RANLIB=$${RANLIB}" \
7876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7877 distclean) \
7878 || exit 1
7880 @endif find
7882 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
7883 maybe-maintainer-clean-find:
7884 @if find
7885 maybe-maintainer-clean-find: maintainer-clean-find
7887 maintainer-clean-find:
7888 @[ -f ./find/Makefile ] || exit 0; \
7889 r=`${PWD_COMMAND}`; export r; \
7890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7891 $(SET_LIB_PATH) \
7892 $(HOST_EXPORTS) \
7893 for flag in $(EXTRA_HOST_FLAGS) ; do \
7894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7895 done; \
7896 echo "Doing maintainer-clean in find" ; \
7897 (cd find && \
7898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7900 "RANLIB=$${RANLIB}" \
7901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7902 maintainer-clean) \
7903 || exit 1
7905 @endif find
7908 .PHONY: configure-flex maybe-configure-flex
7909 maybe-configure-flex:
7910 @if flex
7911 maybe-configure-flex: configure-flex
7912 configure-flex:
7913 @test ! -f flex/Makefile || exit 0; \
7914 [ -d flex ] || mkdir flex; \
7915 r=`${PWD_COMMAND}`; export r; \
7916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7917 $(HOST_EXPORTS) \
7918 echo Configuring in flex; \
7919 cd flex || exit 1; \
7920 case $(srcdir) in \
7921 \.) \
7922 srcdiroption="--srcdir=."; \
7923 libsrcdir=".";; \
7924 /* | [A-Za-z]:[\\/]*) \
7925 srcdiroption="--srcdir=$(srcdir)/flex"; \
7926 libsrcdir="$$s/flex";; \
7927 *) \
7928 srcdiroption="--srcdir=../$(srcdir)/flex"; \
7929 libsrcdir="$$s/flex";; \
7930 esac; \
7931 $(SHELL) $${libsrcdir}/configure \
7932 $(HOST_CONFIGARGS) $${srcdiroption} \
7933 || exit 1
7934 @endif flex
7936 .PHONY: all-flex maybe-all-flex
7937 maybe-all-flex:
7938 @if flex
7939 maybe-all-flex: all-flex
7940 all-flex: configure-flex
7941 @r=`${PWD_COMMAND}`; export r; \
7942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7943 $(SET_LIB_PATH) \
7944 $(HOST_EXPORTS) \
7945 (cd flex && $(MAKE) $(FLAGS_TO_PASS) all)
7946 @endif flex
7948 .PHONY: check-flex maybe-check-flex
7949 maybe-check-flex:
7950 @if flex
7951 maybe-check-flex: check-flex
7953 # This module is only tested in a native toolchain.
7954 check-flex:
7955 @if [ '$(host)' = '$(target)' ] ; then \
7956 r=`${PWD_COMMAND}`; export r; \
7957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7958 $(SET_LIB_PATH) \
7959 $(HOST_EXPORTS) \
7960 (cd flex && $(MAKE) $(FLAGS_TO_PASS) check); \
7963 @endif flex
7965 .PHONY: install-flex maybe-install-flex
7966 maybe-install-flex:
7967 @if flex
7968 maybe-install-flex: install-flex
7970 install-flex: installdirs
7971 @r=`${PWD_COMMAND}`; export r; \
7972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7973 $(SET_LIB_PATH) \
7974 $(HOST_EXPORTS) \
7975 (cd flex && $(MAKE) $(FLAGS_TO_PASS) install)
7977 @endif flex
7979 # Other targets (info, dvi, etc.)
7981 .PHONY: maybe-info-flex info-flex
7982 maybe-info-flex:
7983 @if flex
7984 maybe-info-flex: info-flex
7986 info-flex: \
7987 configure-flex
7988 @[ -f ./flex/Makefile ] || exit 0; \
7989 r=`${PWD_COMMAND}`; export r; \
7990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7991 $(SET_LIB_PATH) \
7992 $(HOST_EXPORTS) \
7993 for flag in $(EXTRA_HOST_FLAGS) ; do \
7994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7995 done; \
7996 echo "Doing info in flex" ; \
7997 (cd flex && \
7998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8000 "RANLIB=$${RANLIB}" \
8001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8002 info) \
8003 || exit 1
8005 @endif flex
8007 .PHONY: maybe-dvi-flex dvi-flex
8008 maybe-dvi-flex:
8009 @if flex
8010 maybe-dvi-flex: dvi-flex
8012 dvi-flex: \
8013 configure-flex
8014 @[ -f ./flex/Makefile ] || exit 0; \
8015 r=`${PWD_COMMAND}`; export r; \
8016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8017 $(SET_LIB_PATH) \
8018 $(HOST_EXPORTS) \
8019 for flag in $(EXTRA_HOST_FLAGS) ; do \
8020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8021 done; \
8022 echo "Doing dvi in flex" ; \
8023 (cd flex && \
8024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8026 "RANLIB=$${RANLIB}" \
8027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8028 dvi) \
8029 || exit 1
8031 @endif flex
8033 .PHONY: maybe-TAGS-flex TAGS-flex
8034 maybe-TAGS-flex:
8035 @if flex
8036 maybe-TAGS-flex: TAGS-flex
8038 TAGS-flex: \
8039 configure-flex
8040 @[ -f ./flex/Makefile ] || exit 0; \
8041 r=`${PWD_COMMAND}`; export r; \
8042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8043 $(SET_LIB_PATH) \
8044 $(HOST_EXPORTS) \
8045 for flag in $(EXTRA_HOST_FLAGS) ; do \
8046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8047 done; \
8048 echo "Doing TAGS in flex" ; \
8049 (cd flex && \
8050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8052 "RANLIB=$${RANLIB}" \
8053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8054 TAGS) \
8055 || exit 1
8057 @endif flex
8059 .PHONY: maybe-install-info-flex install-info-flex
8060 maybe-install-info-flex:
8061 @if flex
8062 maybe-install-info-flex: install-info-flex
8064 install-info-flex: \
8065 configure-flex \
8066 info-flex
8067 @[ -f ./flex/Makefile ] || exit 0; \
8068 r=`${PWD_COMMAND}`; export r; \
8069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8070 $(SET_LIB_PATH) \
8071 $(HOST_EXPORTS) \
8072 for flag in $(EXTRA_HOST_FLAGS) ; do \
8073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8074 done; \
8075 echo "Doing install-info in flex" ; \
8076 (cd flex && \
8077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8079 "RANLIB=$${RANLIB}" \
8080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8081 install-info) \
8082 || exit 1
8084 @endif flex
8086 .PHONY: maybe-installcheck-flex installcheck-flex
8087 maybe-installcheck-flex:
8088 @if flex
8089 maybe-installcheck-flex: installcheck-flex
8091 installcheck-flex: \
8092 configure-flex
8093 @[ -f ./flex/Makefile ] || exit 0; \
8094 r=`${PWD_COMMAND}`; export r; \
8095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8096 $(SET_LIB_PATH) \
8097 $(HOST_EXPORTS) \
8098 for flag in $(EXTRA_HOST_FLAGS) ; do \
8099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8100 done; \
8101 echo "Doing installcheck in flex" ; \
8102 (cd flex && \
8103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8105 "RANLIB=$${RANLIB}" \
8106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8107 installcheck) \
8108 || exit 1
8110 @endif flex
8112 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8113 maybe-mostlyclean-flex:
8114 @if flex
8115 maybe-mostlyclean-flex: mostlyclean-flex
8117 mostlyclean-flex:
8118 @[ -f ./flex/Makefile ] || exit 0; \
8119 r=`${PWD_COMMAND}`; export r; \
8120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8121 $(SET_LIB_PATH) \
8122 $(HOST_EXPORTS) \
8123 for flag in $(EXTRA_HOST_FLAGS) ; do \
8124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8125 done; \
8126 echo "Doing mostlyclean in flex" ; \
8127 (cd flex && \
8128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8130 "RANLIB=$${RANLIB}" \
8131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8132 mostlyclean) \
8133 || exit 1
8135 @endif flex
8137 .PHONY: maybe-clean-flex clean-flex
8138 maybe-clean-flex:
8139 @if flex
8140 maybe-clean-flex: clean-flex
8142 clean-flex:
8143 @[ -f ./flex/Makefile ] || exit 0; \
8144 r=`${PWD_COMMAND}`; export r; \
8145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8146 $(SET_LIB_PATH) \
8147 $(HOST_EXPORTS) \
8148 for flag in $(EXTRA_HOST_FLAGS) ; do \
8149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8150 done; \
8151 echo "Doing clean in flex" ; \
8152 (cd flex && \
8153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8155 "RANLIB=$${RANLIB}" \
8156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8157 clean) \
8158 || exit 1
8160 @endif flex
8162 .PHONY: maybe-distclean-flex distclean-flex
8163 maybe-distclean-flex:
8164 @if flex
8165 maybe-distclean-flex: distclean-flex
8167 distclean-flex:
8168 @[ -f ./flex/Makefile ] || exit 0; \
8169 r=`${PWD_COMMAND}`; export r; \
8170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8171 $(SET_LIB_PATH) \
8172 $(HOST_EXPORTS) \
8173 for flag in $(EXTRA_HOST_FLAGS) ; do \
8174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8175 done; \
8176 echo "Doing distclean in flex" ; \
8177 (cd flex && \
8178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8180 "RANLIB=$${RANLIB}" \
8181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8182 distclean) \
8183 || exit 1
8185 @endif flex
8187 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8188 maybe-maintainer-clean-flex:
8189 @if flex
8190 maybe-maintainer-clean-flex: maintainer-clean-flex
8192 maintainer-clean-flex:
8193 @[ -f ./flex/Makefile ] || exit 0; \
8194 r=`${PWD_COMMAND}`; export r; \
8195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8196 $(SET_LIB_PATH) \
8197 $(HOST_EXPORTS) \
8198 for flag in $(EXTRA_HOST_FLAGS) ; do \
8199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8200 done; \
8201 echo "Doing maintainer-clean in flex" ; \
8202 (cd flex && \
8203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8205 "RANLIB=$${RANLIB}" \
8206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8207 maintainer-clean) \
8208 || exit 1
8210 @endif flex
8213 .PHONY: configure-gas maybe-configure-gas
8214 maybe-configure-gas:
8215 @if gas
8216 maybe-configure-gas: configure-gas
8217 configure-gas:
8218 @test -f stage_last && exit 0; \
8219 test ! -f gas/Makefile || exit 0; \
8220 [ -d gas ] || mkdir gas; \
8221 r=`${PWD_COMMAND}`; export r; \
8222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8223 $(HOST_EXPORTS) \
8224 echo Configuring in gas; \
8225 cd gas || exit 1; \
8226 case $(srcdir) in \
8227 \.) \
8228 srcdiroption="--srcdir=."; \
8229 libsrcdir=".";; \
8230 /* | [A-Za-z]:[\\/]*) \
8231 srcdiroption="--srcdir=$(srcdir)/gas"; \
8232 libsrcdir="$$s/gas";; \
8233 *) \
8234 srcdiroption="--srcdir=../$(srcdir)/gas"; \
8235 libsrcdir="$$s/gas";; \
8236 esac; \
8237 $(SHELL) $${libsrcdir}/configure \
8238 $(HOST_CONFIGARGS) $${srcdiroption} \
8239 || exit 1
8240 @endif gas
8242 .PHONY: all-gas maybe-all-gas
8243 maybe-all-gas:
8244 @if gas
8245 maybe-all-gas: all-gas
8246 all-gas: configure-gas
8247 @test -f stage_last && exit 0; \
8248 r=`${PWD_COMMAND}`; export r; \
8249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8250 $(SET_LIB_PATH) \
8251 $(HOST_EXPORTS) \
8252 (cd gas && $(MAKE) $(FLAGS_TO_PASS) all)
8253 @endif gas
8255 .PHONY: check-gas maybe-check-gas
8256 maybe-check-gas:
8257 @if gas
8258 maybe-check-gas: check-gas
8260 check-gas:
8261 @r=`${PWD_COMMAND}`; export r; \
8262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8263 $(SET_LIB_PATH) \
8264 $(HOST_EXPORTS) \
8265 (cd gas && $(MAKE) $(FLAGS_TO_PASS) check)
8267 @endif gas
8269 .PHONY: install-gas maybe-install-gas
8270 maybe-install-gas:
8271 @if gas
8272 maybe-install-gas: install-gas
8274 install-gas: installdirs
8275 @r=`${PWD_COMMAND}`; export r; \
8276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8277 $(SET_LIB_PATH) \
8278 $(HOST_EXPORTS) \
8279 (cd gas && $(MAKE) $(FLAGS_TO_PASS) install)
8281 @endif gas
8283 # Other targets (info, dvi, etc.)
8285 .PHONY: maybe-info-gas info-gas
8286 maybe-info-gas:
8287 @if gas
8288 maybe-info-gas: info-gas
8290 info-gas: \
8291 configure-gas
8292 @[ -f ./gas/Makefile ] || exit 0; \
8293 r=`${PWD_COMMAND}`; export r; \
8294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8295 $(SET_LIB_PATH) \
8296 $(HOST_EXPORTS) \
8297 for flag in $(EXTRA_HOST_FLAGS) ; do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299 done; \
8300 echo "Doing info in gas" ; \
8301 (cd gas && \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8306 info) \
8307 || exit 1
8309 @endif gas
8311 .PHONY: maybe-dvi-gas dvi-gas
8312 maybe-dvi-gas:
8313 @if gas
8314 maybe-dvi-gas: dvi-gas
8316 dvi-gas: \
8317 configure-gas
8318 @[ -f ./gas/Makefile ] || exit 0; \
8319 r=`${PWD_COMMAND}`; export r; \
8320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8321 $(SET_LIB_PATH) \
8322 $(HOST_EXPORTS) \
8323 for flag in $(EXTRA_HOST_FLAGS) ; do \
8324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8325 done; \
8326 echo "Doing dvi in gas" ; \
8327 (cd gas && \
8328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8330 "RANLIB=$${RANLIB}" \
8331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8332 dvi) \
8333 || exit 1
8335 @endif gas
8337 .PHONY: maybe-TAGS-gas TAGS-gas
8338 maybe-TAGS-gas:
8339 @if gas
8340 maybe-TAGS-gas: TAGS-gas
8342 TAGS-gas: \
8343 configure-gas
8344 @[ -f ./gas/Makefile ] || exit 0; \
8345 r=`${PWD_COMMAND}`; export r; \
8346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8347 $(SET_LIB_PATH) \
8348 $(HOST_EXPORTS) \
8349 for flag in $(EXTRA_HOST_FLAGS) ; do \
8350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8351 done; \
8352 echo "Doing TAGS in gas" ; \
8353 (cd gas && \
8354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8356 "RANLIB=$${RANLIB}" \
8357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8358 TAGS) \
8359 || exit 1
8361 @endif gas
8363 .PHONY: maybe-install-info-gas install-info-gas
8364 maybe-install-info-gas:
8365 @if gas
8366 maybe-install-info-gas: install-info-gas
8368 install-info-gas: \
8369 configure-gas \
8370 info-gas
8371 @[ -f ./gas/Makefile ] || exit 0; \
8372 r=`${PWD_COMMAND}`; export r; \
8373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8374 $(SET_LIB_PATH) \
8375 $(HOST_EXPORTS) \
8376 for flag in $(EXTRA_HOST_FLAGS) ; do \
8377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8378 done; \
8379 echo "Doing install-info in gas" ; \
8380 (cd gas && \
8381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383 "RANLIB=$${RANLIB}" \
8384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8385 install-info) \
8386 || exit 1
8388 @endif gas
8390 .PHONY: maybe-installcheck-gas installcheck-gas
8391 maybe-installcheck-gas:
8392 @if gas
8393 maybe-installcheck-gas: installcheck-gas
8395 installcheck-gas: \
8396 configure-gas
8397 @[ -f ./gas/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(SET_LIB_PATH) \
8401 $(HOST_EXPORTS) \
8402 for flag in $(EXTRA_HOST_FLAGS) ; do \
8403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8404 done; \
8405 echo "Doing installcheck in gas" ; \
8406 (cd gas && \
8407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8409 "RANLIB=$${RANLIB}" \
8410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8411 installcheck) \
8412 || exit 1
8414 @endif gas
8416 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
8417 maybe-mostlyclean-gas:
8418 @if gas
8419 maybe-mostlyclean-gas: mostlyclean-gas
8421 mostlyclean-gas:
8422 @[ -f ./gas/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(SET_LIB_PATH) \
8426 $(HOST_EXPORTS) \
8427 for flag in $(EXTRA_HOST_FLAGS) ; do \
8428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8429 done; \
8430 echo "Doing mostlyclean in gas" ; \
8431 (cd gas && \
8432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8434 "RANLIB=$${RANLIB}" \
8435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8436 mostlyclean) \
8437 || exit 1
8439 @endif gas
8441 .PHONY: maybe-clean-gas clean-gas
8442 maybe-clean-gas:
8443 @if gas
8444 maybe-clean-gas: clean-gas
8446 clean-gas:
8447 @[ -f ./gas/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(SET_LIB_PATH) \
8451 $(HOST_EXPORTS) \
8452 for flag in $(EXTRA_HOST_FLAGS) ; do \
8453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8454 done; \
8455 echo "Doing clean in gas" ; \
8456 (cd gas && \
8457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8459 "RANLIB=$${RANLIB}" \
8460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8461 clean) \
8462 || exit 1
8464 @endif gas
8466 .PHONY: maybe-distclean-gas distclean-gas
8467 maybe-distclean-gas:
8468 @if gas
8469 maybe-distclean-gas: distclean-gas
8471 distclean-gas:
8472 @[ -f ./gas/Makefile ] || exit 0; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(SET_LIB_PATH) \
8476 $(HOST_EXPORTS) \
8477 for flag in $(EXTRA_HOST_FLAGS) ; do \
8478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8479 done; \
8480 echo "Doing distclean in gas" ; \
8481 (cd gas && \
8482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8484 "RANLIB=$${RANLIB}" \
8485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8486 distclean) \
8487 || exit 1
8489 @endif gas
8491 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
8492 maybe-maintainer-clean-gas:
8493 @if gas
8494 maybe-maintainer-clean-gas: maintainer-clean-gas
8496 maintainer-clean-gas:
8497 @[ -f ./gas/Makefile ] || exit 0; \
8498 r=`${PWD_COMMAND}`; export r; \
8499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8500 $(SET_LIB_PATH) \
8501 $(HOST_EXPORTS) \
8502 for flag in $(EXTRA_HOST_FLAGS) ; do \
8503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8504 done; \
8505 echo "Doing maintainer-clean in gas" ; \
8506 (cd gas && \
8507 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8508 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8509 "RANLIB=$${RANLIB}" \
8510 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8511 maintainer-clean) \
8512 || exit 1
8514 @endif gas
8517 .PHONY: configure-gcc maybe-configure-gcc
8518 maybe-configure-gcc:
8519 @if gcc
8520 maybe-configure-gcc: configure-gcc
8521 configure-gcc:
8522 @test -f stage_last && exit 0; \
8523 test ! -f gcc/Makefile || exit 0; \
8524 [ -d gcc ] || mkdir gcc; \
8525 r=`${PWD_COMMAND}`; export r; \
8526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8527 $(HOST_EXPORTS) \
8528 echo Configuring in gcc; \
8529 cd gcc || exit 1; \
8530 case $(srcdir) in \
8531 \.) \
8532 srcdiroption="--srcdir=."; \
8533 libsrcdir=".";; \
8534 /* | [A-Za-z]:[\\/]*) \
8535 srcdiroption="--srcdir=$(srcdir)/gcc"; \
8536 libsrcdir="$$s/gcc";; \
8537 *) \
8538 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
8539 libsrcdir="$$s/gcc";; \
8540 esac; \
8541 $(SHELL) $${libsrcdir}/configure \
8542 $(HOST_CONFIGARGS) $${srcdiroption} \
8543 || exit 1
8544 @endif gcc
8546 .PHONY: all-gcc maybe-all-gcc
8547 maybe-all-gcc:
8548 @if gcc
8549 maybe-all-gcc: all-gcc
8550 all-gcc: configure-gcc
8551 @test -f stage_last && exit 0; \
8552 r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554 $(SET_LIB_PATH) \
8555 $(HOST_EXPORTS) \
8556 (cd gcc && $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
8557 `if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi` )
8558 @endif gcc
8560 .PHONY: check-gcc maybe-check-gcc
8561 maybe-check-gcc:
8562 @if gcc
8563 maybe-check-gcc: check-gcc
8565 check-gcc:
8566 @r=`${PWD_COMMAND}`; export r; \
8567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8568 $(SET_LIB_PATH) \
8569 $(HOST_EXPORTS) \
8570 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) check)
8572 @endif gcc
8574 .PHONY: install-gcc maybe-install-gcc
8575 maybe-install-gcc:
8576 @if gcc
8577 maybe-install-gcc: install-gcc
8579 install-gcc: installdirs
8580 @r=`${PWD_COMMAND}`; export r; \
8581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8582 $(SET_LIB_PATH) \
8583 $(HOST_EXPORTS) \
8584 (cd gcc && $(MAKE) $(FLAGS_TO_PASS)$(EXTRA_GCC_FLAGS) install)
8586 @endif gcc
8588 # Other targets (info, dvi, etc.)
8590 .PHONY: maybe-info-gcc info-gcc
8591 maybe-info-gcc:
8592 @if gcc
8593 maybe-info-gcc: info-gcc
8595 info-gcc: \
8596 configure-gcc
8597 @[ -f ./gcc/Makefile ] || exit 0; \
8598 r=`${PWD_COMMAND}`; export r; \
8599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8600 $(SET_LIB_PATH) \
8601 $(HOST_EXPORTS) \
8602 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing info in gcc" ; \
8606 (cd gcc && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611 info) \
8612 || exit 1
8614 @endif gcc
8616 .PHONY: maybe-dvi-gcc dvi-gcc
8617 maybe-dvi-gcc:
8618 @if gcc
8619 maybe-dvi-gcc: dvi-gcc
8621 dvi-gcc: \
8622 configure-gcc
8623 @[ -f ./gcc/Makefile ] || exit 0; \
8624 r=`${PWD_COMMAND}`; export r; \
8625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8626 $(SET_LIB_PATH) \
8627 $(HOST_EXPORTS) \
8628 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 done; \
8631 echo "Doing dvi in gcc" ; \
8632 (cd gcc && \
8633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8635 "RANLIB=$${RANLIB}" \
8636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8637 dvi) \
8638 || exit 1
8640 @endif gcc
8642 .PHONY: maybe-TAGS-gcc TAGS-gcc
8643 maybe-TAGS-gcc:
8644 @if gcc
8645 maybe-TAGS-gcc: TAGS-gcc
8647 TAGS-gcc: \
8648 configure-gcc
8649 @[ -f ./gcc/Makefile ] || exit 0; \
8650 r=`${PWD_COMMAND}`; export r; \
8651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8652 $(SET_LIB_PATH) \
8653 $(HOST_EXPORTS) \
8654 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8656 done; \
8657 echo "Doing TAGS in gcc" ; \
8658 (cd gcc && \
8659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8661 "RANLIB=$${RANLIB}" \
8662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8663 TAGS) \
8664 || exit 1
8666 @endif gcc
8668 .PHONY: maybe-install-info-gcc install-info-gcc
8669 maybe-install-info-gcc:
8670 @if gcc
8671 maybe-install-info-gcc: install-info-gcc
8673 install-info-gcc: \
8674 configure-gcc \
8675 info-gcc
8676 @[ -f ./gcc/Makefile ] || exit 0; \
8677 r=`${PWD_COMMAND}`; export r; \
8678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8679 $(SET_LIB_PATH) \
8680 $(HOST_EXPORTS) \
8681 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing install-info in gcc" ; \
8685 (cd gcc && \
8686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8688 "RANLIB=$${RANLIB}" \
8689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 install-info) \
8691 || exit 1
8693 @endif gcc
8695 .PHONY: maybe-installcheck-gcc installcheck-gcc
8696 maybe-installcheck-gcc:
8697 @if gcc
8698 maybe-installcheck-gcc: installcheck-gcc
8700 installcheck-gcc: \
8701 configure-gcc
8702 @[ -f ./gcc/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(SET_LIB_PATH) \
8706 $(HOST_EXPORTS) \
8707 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8709 done; \
8710 echo "Doing installcheck in gcc" ; \
8711 (cd gcc && \
8712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8714 "RANLIB=$${RANLIB}" \
8715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8716 installcheck) \
8717 || exit 1
8719 @endif gcc
8721 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
8722 maybe-mostlyclean-gcc:
8723 @if gcc
8724 maybe-mostlyclean-gcc: mostlyclean-gcc
8726 mostlyclean-gcc:
8727 @[ -f ./gcc/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(SET_LIB_PATH) \
8731 $(HOST_EXPORTS) \
8732 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8734 done; \
8735 echo "Doing mostlyclean in gcc" ; \
8736 (cd gcc && \
8737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8739 "RANLIB=$${RANLIB}" \
8740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8741 mostlyclean) \
8742 || exit 1
8744 @endif gcc
8746 .PHONY: maybe-clean-gcc clean-gcc
8747 maybe-clean-gcc:
8748 @if gcc
8749 maybe-clean-gcc: clean-gcc
8751 clean-gcc:
8752 @[ -f ./gcc/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(SET_LIB_PATH) \
8756 $(HOST_EXPORTS) \
8757 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8759 done; \
8760 echo "Doing clean in gcc" ; \
8761 (cd gcc && \
8762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8764 "RANLIB=$${RANLIB}" \
8765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8766 clean) \
8767 || exit 1
8769 @endif gcc
8771 .PHONY: maybe-distclean-gcc distclean-gcc
8772 maybe-distclean-gcc:
8773 @if gcc
8774 maybe-distclean-gcc: distclean-gcc
8776 distclean-gcc:
8777 @[ -f ./gcc/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(SET_LIB_PATH) \
8781 $(HOST_EXPORTS) \
8782 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8784 done; \
8785 echo "Doing distclean in gcc" ; \
8786 (cd gcc && \
8787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8789 "RANLIB=$${RANLIB}" \
8790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8791 distclean) \
8792 || exit 1
8794 @endif gcc
8796 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
8797 maybe-maintainer-clean-gcc:
8798 @if gcc
8799 maybe-maintainer-clean-gcc: maintainer-clean-gcc
8801 maintainer-clean-gcc:
8802 @[ -f ./gcc/Makefile ] || exit 0; \
8803 r=`${PWD_COMMAND}`; export r; \
8804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8805 $(SET_LIB_PATH) \
8806 $(HOST_EXPORTS) \
8807 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
8808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8809 done; \
8810 echo "Doing maintainer-clean in gcc" ; \
8811 (cd gcc && \
8812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8814 "RANLIB=$${RANLIB}" \
8815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8816 maintainer-clean) \
8817 || exit 1
8819 @endif gcc
8822 .PHONY: configure-gawk maybe-configure-gawk
8823 maybe-configure-gawk:
8824 @if gawk
8825 maybe-configure-gawk: configure-gawk
8826 configure-gawk:
8827 @test ! -f gawk/Makefile || exit 0; \
8828 [ -d gawk ] || mkdir gawk; \
8829 r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 $(HOST_EXPORTS) \
8832 echo Configuring in gawk; \
8833 cd gawk || exit 1; \
8834 case $(srcdir) in \
8835 \.) \
8836 srcdiroption="--srcdir=."; \
8837 libsrcdir=".";; \
8838 /* | [A-Za-z]:[\\/]*) \
8839 srcdiroption="--srcdir=$(srcdir)/gawk"; \
8840 libsrcdir="$$s/gawk";; \
8841 *) \
8842 srcdiroption="--srcdir=../$(srcdir)/gawk"; \
8843 libsrcdir="$$s/gawk";; \
8844 esac; \
8845 $(SHELL) $${libsrcdir}/configure \
8846 $(HOST_CONFIGARGS) $${srcdiroption} \
8847 || exit 1
8848 @endif gawk
8850 .PHONY: all-gawk maybe-all-gawk
8851 maybe-all-gawk:
8852 @if gawk
8853 maybe-all-gawk: all-gawk
8854 all-gawk: configure-gawk
8855 @r=`${PWD_COMMAND}`; export r; \
8856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8857 $(SET_LIB_PATH) \
8858 $(HOST_EXPORTS) \
8859 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) all)
8860 @endif gawk
8862 .PHONY: check-gawk maybe-check-gawk
8863 maybe-check-gawk:
8864 @if gawk
8865 maybe-check-gawk: check-gawk
8867 check-gawk:
8868 @r=`${PWD_COMMAND}`; export r; \
8869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8870 $(SET_LIB_PATH) \
8871 $(HOST_EXPORTS) \
8872 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) check)
8874 @endif gawk
8876 .PHONY: install-gawk maybe-install-gawk
8877 maybe-install-gawk:
8878 @if gawk
8879 maybe-install-gawk: install-gawk
8881 install-gawk: installdirs
8882 @r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8884 $(SET_LIB_PATH) \
8885 $(HOST_EXPORTS) \
8886 (cd gawk && $(MAKE) $(FLAGS_TO_PASS) install)
8888 @endif gawk
8890 # Other targets (info, dvi, etc.)
8892 .PHONY: maybe-info-gawk info-gawk
8893 maybe-info-gawk:
8894 @if gawk
8895 maybe-info-gawk: info-gawk
8897 info-gawk: \
8898 configure-gawk
8899 @[ -f ./gawk/Makefile ] || exit 0; \
8900 r=`${PWD_COMMAND}`; export r; \
8901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8902 $(SET_LIB_PATH) \
8903 $(HOST_EXPORTS) \
8904 for flag in $(EXTRA_HOST_FLAGS) ; do \
8905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8906 done; \
8907 echo "Doing info in gawk" ; \
8908 (cd gawk && \
8909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8911 "RANLIB=$${RANLIB}" \
8912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8913 info) \
8914 || exit 1
8916 @endif gawk
8918 .PHONY: maybe-dvi-gawk dvi-gawk
8919 maybe-dvi-gawk:
8920 @if gawk
8921 maybe-dvi-gawk: dvi-gawk
8923 dvi-gawk: \
8924 configure-gawk
8925 @[ -f ./gawk/Makefile ] || exit 0; \
8926 r=`${PWD_COMMAND}`; export r; \
8927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8928 $(SET_LIB_PATH) \
8929 $(HOST_EXPORTS) \
8930 for flag in $(EXTRA_HOST_FLAGS) ; do \
8931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8932 done; \
8933 echo "Doing dvi in gawk" ; \
8934 (cd gawk && \
8935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8937 "RANLIB=$${RANLIB}" \
8938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8939 dvi) \
8940 || exit 1
8942 @endif gawk
8944 .PHONY: maybe-TAGS-gawk TAGS-gawk
8945 maybe-TAGS-gawk:
8946 @if gawk
8947 maybe-TAGS-gawk: TAGS-gawk
8949 TAGS-gawk: \
8950 configure-gawk
8951 @[ -f ./gawk/Makefile ] || exit 0; \
8952 r=`${PWD_COMMAND}`; export r; \
8953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8954 $(SET_LIB_PATH) \
8955 $(HOST_EXPORTS) \
8956 for flag in $(EXTRA_HOST_FLAGS) ; do \
8957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8958 done; \
8959 echo "Doing TAGS in gawk" ; \
8960 (cd gawk && \
8961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8963 "RANLIB=$${RANLIB}" \
8964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8965 TAGS) \
8966 || exit 1
8968 @endif gawk
8970 .PHONY: maybe-install-info-gawk install-info-gawk
8971 maybe-install-info-gawk:
8972 @if gawk
8973 maybe-install-info-gawk: install-info-gawk
8975 install-info-gawk: \
8976 configure-gawk \
8977 info-gawk
8978 @[ -f ./gawk/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(SET_LIB_PATH) \
8982 $(HOST_EXPORTS) \
8983 for flag in $(EXTRA_HOST_FLAGS) ; do \
8984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8985 done; \
8986 echo "Doing install-info in gawk" ; \
8987 (cd gawk && \
8988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8990 "RANLIB=$${RANLIB}" \
8991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8992 install-info) \
8993 || exit 1
8995 @endif gawk
8997 .PHONY: maybe-installcheck-gawk installcheck-gawk
8998 maybe-installcheck-gawk:
8999 @if gawk
9000 maybe-installcheck-gawk: installcheck-gawk
9002 installcheck-gawk: \
9003 configure-gawk
9004 @[ -f ./gawk/Makefile ] || exit 0; \
9005 r=`${PWD_COMMAND}`; export r; \
9006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9007 $(SET_LIB_PATH) \
9008 $(HOST_EXPORTS) \
9009 for flag in $(EXTRA_HOST_FLAGS) ; do \
9010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9011 done; \
9012 echo "Doing installcheck in gawk" ; \
9013 (cd gawk && \
9014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9016 "RANLIB=$${RANLIB}" \
9017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9018 installcheck) \
9019 || exit 1
9021 @endif gawk
9023 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9024 maybe-mostlyclean-gawk:
9025 @if gawk
9026 maybe-mostlyclean-gawk: mostlyclean-gawk
9028 mostlyclean-gawk:
9029 @[ -f ./gawk/Makefile ] || exit 0; \
9030 r=`${PWD_COMMAND}`; export r; \
9031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9032 $(SET_LIB_PATH) \
9033 $(HOST_EXPORTS) \
9034 for flag in $(EXTRA_HOST_FLAGS) ; do \
9035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9036 done; \
9037 echo "Doing mostlyclean in gawk" ; \
9038 (cd gawk && \
9039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9041 "RANLIB=$${RANLIB}" \
9042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9043 mostlyclean) \
9044 || exit 1
9046 @endif gawk
9048 .PHONY: maybe-clean-gawk clean-gawk
9049 maybe-clean-gawk:
9050 @if gawk
9051 maybe-clean-gawk: clean-gawk
9053 clean-gawk:
9054 @[ -f ./gawk/Makefile ] || exit 0; \
9055 r=`${PWD_COMMAND}`; export r; \
9056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9057 $(SET_LIB_PATH) \
9058 $(HOST_EXPORTS) \
9059 for flag in $(EXTRA_HOST_FLAGS) ; do \
9060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9061 done; \
9062 echo "Doing clean in gawk" ; \
9063 (cd gawk && \
9064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9066 "RANLIB=$${RANLIB}" \
9067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9068 clean) \
9069 || exit 1
9071 @endif gawk
9073 .PHONY: maybe-distclean-gawk distclean-gawk
9074 maybe-distclean-gawk:
9075 @if gawk
9076 maybe-distclean-gawk: distclean-gawk
9078 distclean-gawk:
9079 @[ -f ./gawk/Makefile ] || exit 0; \
9080 r=`${PWD_COMMAND}`; export r; \
9081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9082 $(SET_LIB_PATH) \
9083 $(HOST_EXPORTS) \
9084 for flag in $(EXTRA_HOST_FLAGS) ; do \
9085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9086 done; \
9087 echo "Doing distclean in gawk" ; \
9088 (cd gawk && \
9089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9091 "RANLIB=$${RANLIB}" \
9092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9093 distclean) \
9094 || exit 1
9096 @endif gawk
9098 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9099 maybe-maintainer-clean-gawk:
9100 @if gawk
9101 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9103 maintainer-clean-gawk:
9104 @[ -f ./gawk/Makefile ] || exit 0; \
9105 r=`${PWD_COMMAND}`; export r; \
9106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9107 $(SET_LIB_PATH) \
9108 $(HOST_EXPORTS) \
9109 for flag in $(EXTRA_HOST_FLAGS) ; do \
9110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9111 done; \
9112 echo "Doing maintainer-clean in gawk" ; \
9113 (cd gawk && \
9114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9116 "RANLIB=$${RANLIB}" \
9117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9118 maintainer-clean) \
9119 || exit 1
9121 @endif gawk
9124 .PHONY: configure-gettext maybe-configure-gettext
9125 maybe-configure-gettext:
9126 @if gettext
9127 maybe-configure-gettext: configure-gettext
9128 configure-gettext:
9129 @test ! -f gettext/Makefile || exit 0; \
9130 [ -d gettext ] || mkdir gettext; \
9131 r=`${PWD_COMMAND}`; export r; \
9132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9133 $(HOST_EXPORTS) \
9134 echo Configuring in gettext; \
9135 cd gettext || exit 1; \
9136 case $(srcdir) in \
9137 \.) \
9138 srcdiroption="--srcdir=."; \
9139 libsrcdir=".";; \
9140 /* | [A-Za-z]:[\\/]*) \
9141 srcdiroption="--srcdir=$(srcdir)/gettext"; \
9142 libsrcdir="$$s/gettext";; \
9143 *) \
9144 srcdiroption="--srcdir=../$(srcdir)/gettext"; \
9145 libsrcdir="$$s/gettext";; \
9146 esac; \
9147 $(SHELL) $${libsrcdir}/configure \
9148 $(HOST_CONFIGARGS) $${srcdiroption} \
9149 || exit 1
9150 @endif gettext
9152 .PHONY: all-gettext maybe-all-gettext
9153 maybe-all-gettext:
9154 @if gettext
9155 maybe-all-gettext: all-gettext
9156 all-gettext: configure-gettext
9157 @r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(SET_LIB_PATH) \
9160 $(HOST_EXPORTS) \
9161 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) all)
9162 @endif gettext
9164 .PHONY: check-gettext maybe-check-gettext
9165 maybe-check-gettext:
9166 @if gettext
9167 maybe-check-gettext: check-gettext
9169 check-gettext:
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(SET_LIB_PATH) \
9173 $(HOST_EXPORTS) \
9174 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) check)
9176 @endif gettext
9178 .PHONY: install-gettext maybe-install-gettext
9179 maybe-install-gettext:
9180 @if gettext
9181 maybe-install-gettext: install-gettext
9183 install-gettext: installdirs
9184 @r=`${PWD_COMMAND}`; export r; \
9185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9186 $(SET_LIB_PATH) \
9187 $(HOST_EXPORTS) \
9188 (cd gettext && $(MAKE) $(FLAGS_TO_PASS) install)
9190 @endif gettext
9192 # Other targets (info, dvi, etc.)
9194 .PHONY: maybe-info-gettext info-gettext
9195 maybe-info-gettext:
9196 @if gettext
9197 maybe-info-gettext: info-gettext
9199 info-gettext: \
9200 configure-gettext
9201 @[ -f ./gettext/Makefile ] || exit 0; \
9202 r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204 $(SET_LIB_PATH) \
9205 $(HOST_EXPORTS) \
9206 for flag in $(EXTRA_HOST_FLAGS) ; do \
9207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9208 done; \
9209 echo "Doing info in gettext" ; \
9210 (cd gettext && \
9211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9213 "RANLIB=$${RANLIB}" \
9214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9215 info) \
9216 || exit 1
9218 @endif gettext
9220 .PHONY: maybe-dvi-gettext dvi-gettext
9221 maybe-dvi-gettext:
9222 @if gettext
9223 maybe-dvi-gettext: dvi-gettext
9225 dvi-gettext: \
9226 configure-gettext
9227 @[ -f ./gettext/Makefile ] || exit 0; \
9228 r=`${PWD_COMMAND}`; export r; \
9229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9230 $(SET_LIB_PATH) \
9231 $(HOST_EXPORTS) \
9232 for flag in $(EXTRA_HOST_FLAGS) ; do \
9233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9234 done; \
9235 echo "Doing dvi in gettext" ; \
9236 (cd gettext && \
9237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9239 "RANLIB=$${RANLIB}" \
9240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9241 dvi) \
9242 || exit 1
9244 @endif gettext
9246 .PHONY: maybe-TAGS-gettext TAGS-gettext
9247 maybe-TAGS-gettext:
9248 @if gettext
9249 maybe-TAGS-gettext: TAGS-gettext
9251 TAGS-gettext: \
9252 configure-gettext
9253 @[ -f ./gettext/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(SET_LIB_PATH) \
9257 $(HOST_EXPORTS) \
9258 for flag in $(EXTRA_HOST_FLAGS) ; do \
9259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9260 done; \
9261 echo "Doing TAGS in gettext" ; \
9262 (cd gettext && \
9263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9265 "RANLIB=$${RANLIB}" \
9266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9267 TAGS) \
9268 || exit 1
9270 @endif gettext
9272 .PHONY: maybe-install-info-gettext install-info-gettext
9273 maybe-install-info-gettext:
9274 @if gettext
9275 maybe-install-info-gettext: install-info-gettext
9277 install-info-gettext: \
9278 configure-gettext \
9279 info-gettext
9280 @[ -f ./gettext/Makefile ] || exit 0; \
9281 r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 $(SET_LIB_PATH) \
9284 $(HOST_EXPORTS) \
9285 for flag in $(EXTRA_HOST_FLAGS) ; do \
9286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9287 done; \
9288 echo "Doing install-info in gettext" ; \
9289 (cd gettext && \
9290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9292 "RANLIB=$${RANLIB}" \
9293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 install-info) \
9295 || exit 1
9297 @endif gettext
9299 .PHONY: maybe-installcheck-gettext installcheck-gettext
9300 maybe-installcheck-gettext:
9301 @if gettext
9302 maybe-installcheck-gettext: installcheck-gettext
9304 installcheck-gettext: \
9305 configure-gettext
9306 @[ -f ./gettext/Makefile ] || exit 0; \
9307 r=`${PWD_COMMAND}`; export r; \
9308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9309 $(SET_LIB_PATH) \
9310 $(HOST_EXPORTS) \
9311 for flag in $(EXTRA_HOST_FLAGS) ; do \
9312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 done; \
9314 echo "Doing installcheck in gettext" ; \
9315 (cd gettext && \
9316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9318 "RANLIB=$${RANLIB}" \
9319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 installcheck) \
9321 || exit 1
9323 @endif gettext
9325 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
9326 maybe-mostlyclean-gettext:
9327 @if gettext
9328 maybe-mostlyclean-gettext: mostlyclean-gettext
9330 mostlyclean-gettext:
9331 @[ -f ./gettext/Makefile ] || exit 0; \
9332 r=`${PWD_COMMAND}`; export r; \
9333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9334 $(SET_LIB_PATH) \
9335 $(HOST_EXPORTS) \
9336 for flag in $(EXTRA_HOST_FLAGS) ; do \
9337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9338 done; \
9339 echo "Doing mostlyclean in gettext" ; \
9340 (cd gettext && \
9341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9343 "RANLIB=$${RANLIB}" \
9344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9345 mostlyclean) \
9346 || exit 1
9348 @endif gettext
9350 .PHONY: maybe-clean-gettext clean-gettext
9351 maybe-clean-gettext:
9352 @if gettext
9353 maybe-clean-gettext: clean-gettext
9355 clean-gettext:
9356 @[ -f ./gettext/Makefile ] || exit 0; \
9357 r=`${PWD_COMMAND}`; export r; \
9358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9359 $(SET_LIB_PATH) \
9360 $(HOST_EXPORTS) \
9361 for flag in $(EXTRA_HOST_FLAGS) ; do \
9362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9363 done; \
9364 echo "Doing clean in gettext" ; \
9365 (cd gettext && \
9366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9368 "RANLIB=$${RANLIB}" \
9369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9370 clean) \
9371 || exit 1
9373 @endif gettext
9375 .PHONY: maybe-distclean-gettext distclean-gettext
9376 maybe-distclean-gettext:
9377 @if gettext
9378 maybe-distclean-gettext: distclean-gettext
9380 distclean-gettext:
9381 @[ -f ./gettext/Makefile ] || exit 0; \
9382 r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 $(SET_LIB_PATH) \
9385 $(HOST_EXPORTS) \
9386 for flag in $(EXTRA_HOST_FLAGS) ; do \
9387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9388 done; \
9389 echo "Doing distclean in gettext" ; \
9390 (cd gettext && \
9391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9393 "RANLIB=$${RANLIB}" \
9394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9395 distclean) \
9396 || exit 1
9398 @endif gettext
9400 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
9401 maybe-maintainer-clean-gettext:
9402 @if gettext
9403 maybe-maintainer-clean-gettext: maintainer-clean-gettext
9405 maintainer-clean-gettext:
9406 @[ -f ./gettext/Makefile ] || exit 0; \
9407 r=`${PWD_COMMAND}`; export r; \
9408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9409 $(SET_LIB_PATH) \
9410 $(HOST_EXPORTS) \
9411 for flag in $(EXTRA_HOST_FLAGS) ; do \
9412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9413 done; \
9414 echo "Doing maintainer-clean in gettext" ; \
9415 (cd gettext && \
9416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9418 "RANLIB=$${RANLIB}" \
9419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9420 maintainer-clean) \
9421 || exit 1
9423 @endif gettext
9426 .PHONY: configure-gnuserv maybe-configure-gnuserv
9427 maybe-configure-gnuserv:
9428 @if gnuserv
9429 maybe-configure-gnuserv: configure-gnuserv
9430 configure-gnuserv:
9431 @test ! -f gnuserv/Makefile || exit 0; \
9432 [ -d gnuserv ] || mkdir gnuserv; \
9433 r=`${PWD_COMMAND}`; export r; \
9434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9435 $(HOST_EXPORTS) \
9436 echo Configuring in gnuserv; \
9437 cd gnuserv || exit 1; \
9438 case $(srcdir) in \
9439 \.) \
9440 srcdiroption="--srcdir=."; \
9441 libsrcdir=".";; \
9442 /* | [A-Za-z]:[\\/]*) \
9443 srcdiroption="--srcdir=$(srcdir)/gnuserv"; \
9444 libsrcdir="$$s/gnuserv";; \
9445 *) \
9446 srcdiroption="--srcdir=../$(srcdir)/gnuserv"; \
9447 libsrcdir="$$s/gnuserv";; \
9448 esac; \
9449 $(SHELL) $${libsrcdir}/configure \
9450 $(HOST_CONFIGARGS) $${srcdiroption} \
9451 || exit 1
9452 @endif gnuserv
9454 .PHONY: all-gnuserv maybe-all-gnuserv
9455 maybe-all-gnuserv:
9456 @if gnuserv
9457 maybe-all-gnuserv: all-gnuserv
9458 all-gnuserv: configure-gnuserv
9459 @r=`${PWD_COMMAND}`; export r; \
9460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9461 $(SET_LIB_PATH) \
9462 $(HOST_EXPORTS) \
9463 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) all)
9464 @endif gnuserv
9466 .PHONY: check-gnuserv maybe-check-gnuserv
9467 maybe-check-gnuserv:
9468 @if gnuserv
9469 maybe-check-gnuserv: check-gnuserv
9471 check-gnuserv:
9472 @r=`${PWD_COMMAND}`; export r; \
9473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9474 $(SET_LIB_PATH) \
9475 $(HOST_EXPORTS) \
9476 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) check)
9478 @endif gnuserv
9480 .PHONY: install-gnuserv maybe-install-gnuserv
9481 maybe-install-gnuserv:
9482 @if gnuserv
9483 maybe-install-gnuserv: install-gnuserv
9485 install-gnuserv: installdirs
9486 @r=`${PWD_COMMAND}`; export r; \
9487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9488 $(SET_LIB_PATH) \
9489 $(HOST_EXPORTS) \
9490 (cd gnuserv && $(MAKE) $(FLAGS_TO_PASS) install)
9492 @endif gnuserv
9494 # Other targets (info, dvi, etc.)
9496 .PHONY: maybe-info-gnuserv info-gnuserv
9497 maybe-info-gnuserv:
9498 @if gnuserv
9499 maybe-info-gnuserv: info-gnuserv
9501 info-gnuserv: \
9502 configure-gnuserv
9503 @[ -f ./gnuserv/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(SET_LIB_PATH) \
9507 $(HOST_EXPORTS) \
9508 for flag in $(EXTRA_HOST_FLAGS) ; do \
9509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9510 done; \
9511 echo "Doing info in gnuserv" ; \
9512 (cd gnuserv && \
9513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9515 "RANLIB=$${RANLIB}" \
9516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9517 info) \
9518 || exit 1
9520 @endif gnuserv
9522 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
9523 maybe-dvi-gnuserv:
9524 @if gnuserv
9525 maybe-dvi-gnuserv: dvi-gnuserv
9527 dvi-gnuserv: \
9528 configure-gnuserv
9529 @[ -f ./gnuserv/Makefile ] || exit 0; \
9530 r=`${PWD_COMMAND}`; export r; \
9531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9532 $(SET_LIB_PATH) \
9533 $(HOST_EXPORTS) \
9534 for flag in $(EXTRA_HOST_FLAGS) ; do \
9535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9536 done; \
9537 echo "Doing dvi in gnuserv" ; \
9538 (cd gnuserv && \
9539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9541 "RANLIB=$${RANLIB}" \
9542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9543 dvi) \
9544 || exit 1
9546 @endif gnuserv
9548 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
9549 maybe-TAGS-gnuserv:
9550 @if gnuserv
9551 maybe-TAGS-gnuserv: TAGS-gnuserv
9553 TAGS-gnuserv: \
9554 configure-gnuserv
9555 @[ -f ./gnuserv/Makefile ] || exit 0; \
9556 r=`${PWD_COMMAND}`; export r; \
9557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9558 $(SET_LIB_PATH) \
9559 $(HOST_EXPORTS) \
9560 for flag in $(EXTRA_HOST_FLAGS) ; do \
9561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9562 done; \
9563 echo "Doing TAGS in gnuserv" ; \
9564 (cd gnuserv && \
9565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9567 "RANLIB=$${RANLIB}" \
9568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9569 TAGS) \
9570 || exit 1
9572 @endif gnuserv
9574 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
9575 maybe-install-info-gnuserv:
9576 @if gnuserv
9577 maybe-install-info-gnuserv: install-info-gnuserv
9579 install-info-gnuserv: \
9580 configure-gnuserv \
9581 info-gnuserv
9582 @[ -f ./gnuserv/Makefile ] || exit 0; \
9583 r=`${PWD_COMMAND}`; export r; \
9584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9585 $(SET_LIB_PATH) \
9586 $(HOST_EXPORTS) \
9587 for flag in $(EXTRA_HOST_FLAGS) ; do \
9588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9589 done; \
9590 echo "Doing install-info in gnuserv" ; \
9591 (cd gnuserv && \
9592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9594 "RANLIB=$${RANLIB}" \
9595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9596 install-info) \
9597 || exit 1
9599 @endif gnuserv
9601 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
9602 maybe-installcheck-gnuserv:
9603 @if gnuserv
9604 maybe-installcheck-gnuserv: installcheck-gnuserv
9606 installcheck-gnuserv: \
9607 configure-gnuserv
9608 @[ -f ./gnuserv/Makefile ] || exit 0; \
9609 r=`${PWD_COMMAND}`; export r; \
9610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9611 $(SET_LIB_PATH) \
9612 $(HOST_EXPORTS) \
9613 for flag in $(EXTRA_HOST_FLAGS) ; do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing installcheck in gnuserv" ; \
9617 (cd gnuserv && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 installcheck) \
9623 || exit 1
9625 @endif gnuserv
9627 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
9628 maybe-mostlyclean-gnuserv:
9629 @if gnuserv
9630 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
9632 mostlyclean-gnuserv:
9633 @[ -f ./gnuserv/Makefile ] || exit 0; \
9634 r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 $(SET_LIB_PATH) \
9637 $(HOST_EXPORTS) \
9638 for flag in $(EXTRA_HOST_FLAGS) ; do \
9639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9640 done; \
9641 echo "Doing mostlyclean in gnuserv" ; \
9642 (cd gnuserv && \
9643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9645 "RANLIB=$${RANLIB}" \
9646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9647 mostlyclean) \
9648 || exit 1
9650 @endif gnuserv
9652 .PHONY: maybe-clean-gnuserv clean-gnuserv
9653 maybe-clean-gnuserv:
9654 @if gnuserv
9655 maybe-clean-gnuserv: clean-gnuserv
9657 clean-gnuserv:
9658 @[ -f ./gnuserv/Makefile ] || exit 0; \
9659 r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(SET_LIB_PATH) \
9662 $(HOST_EXPORTS) \
9663 for flag in $(EXTRA_HOST_FLAGS) ; do \
9664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9665 done; \
9666 echo "Doing clean in gnuserv" ; \
9667 (cd gnuserv && \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670 "RANLIB=$${RANLIB}" \
9671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9672 clean) \
9673 || exit 1
9675 @endif gnuserv
9677 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
9678 maybe-distclean-gnuserv:
9679 @if gnuserv
9680 maybe-distclean-gnuserv: distclean-gnuserv
9682 distclean-gnuserv:
9683 @[ -f ./gnuserv/Makefile ] || exit 0; \
9684 r=`${PWD_COMMAND}`; export r; \
9685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9686 $(SET_LIB_PATH) \
9687 $(HOST_EXPORTS) \
9688 for flag in $(EXTRA_HOST_FLAGS) ; do \
9689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9690 done; \
9691 echo "Doing distclean in gnuserv" ; \
9692 (cd gnuserv && \
9693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9695 "RANLIB=$${RANLIB}" \
9696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9697 distclean) \
9698 || exit 1
9700 @endif gnuserv
9702 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
9703 maybe-maintainer-clean-gnuserv:
9704 @if gnuserv
9705 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
9707 maintainer-clean-gnuserv:
9708 @[ -f ./gnuserv/Makefile ] || exit 0; \
9709 r=`${PWD_COMMAND}`; export r; \
9710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9711 $(SET_LIB_PATH) \
9712 $(HOST_EXPORTS) \
9713 for flag in $(EXTRA_HOST_FLAGS) ; do \
9714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9715 done; \
9716 echo "Doing maintainer-clean in gnuserv" ; \
9717 (cd gnuserv && \
9718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9720 "RANLIB=$${RANLIB}" \
9721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9722 maintainer-clean) \
9723 || exit 1
9725 @endif gnuserv
9728 .PHONY: configure-gprof maybe-configure-gprof
9729 maybe-configure-gprof:
9730 @if gprof
9731 maybe-configure-gprof: configure-gprof
9732 configure-gprof:
9733 @test ! -f gprof/Makefile || exit 0; \
9734 [ -d gprof ] || mkdir gprof; \
9735 r=`${PWD_COMMAND}`; export r; \
9736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9737 $(HOST_EXPORTS) \
9738 echo Configuring in gprof; \
9739 cd gprof || exit 1; \
9740 case $(srcdir) in \
9741 \.) \
9742 srcdiroption="--srcdir=."; \
9743 libsrcdir=".";; \
9744 /* | [A-Za-z]:[\\/]*) \
9745 srcdiroption="--srcdir=$(srcdir)/gprof"; \
9746 libsrcdir="$$s/gprof";; \
9747 *) \
9748 srcdiroption="--srcdir=../$(srcdir)/gprof"; \
9749 libsrcdir="$$s/gprof";; \
9750 esac; \
9751 $(SHELL) $${libsrcdir}/configure \
9752 $(HOST_CONFIGARGS) $${srcdiroption} \
9753 || exit 1
9754 @endif gprof
9756 .PHONY: all-gprof maybe-all-gprof
9757 maybe-all-gprof:
9758 @if gprof
9759 maybe-all-gprof: all-gprof
9760 all-gprof: configure-gprof
9761 @r=`${PWD_COMMAND}`; export r; \
9762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9763 $(SET_LIB_PATH) \
9764 $(HOST_EXPORTS) \
9765 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) all)
9766 @endif gprof
9768 .PHONY: check-gprof maybe-check-gprof
9769 maybe-check-gprof:
9770 @if gprof
9771 maybe-check-gprof: check-gprof
9773 check-gprof:
9774 @r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 $(SET_LIB_PATH) \
9777 $(HOST_EXPORTS) \
9778 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) check)
9780 @endif gprof
9782 .PHONY: install-gprof maybe-install-gprof
9783 maybe-install-gprof:
9784 @if gprof
9785 maybe-install-gprof: install-gprof
9787 install-gprof: installdirs
9788 @r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(SET_LIB_PATH) \
9791 $(HOST_EXPORTS) \
9792 (cd gprof && $(MAKE) $(FLAGS_TO_PASS) install)
9794 @endif gprof
9796 # Other targets (info, dvi, etc.)
9798 .PHONY: maybe-info-gprof info-gprof
9799 maybe-info-gprof:
9800 @if gprof
9801 maybe-info-gprof: info-gprof
9803 info-gprof: \
9804 configure-gprof
9805 @[ -f ./gprof/Makefile ] || exit 0; \
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808 $(SET_LIB_PATH) \
9809 $(HOST_EXPORTS) \
9810 for flag in $(EXTRA_HOST_FLAGS) ; do \
9811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9812 done; \
9813 echo "Doing info in gprof" ; \
9814 (cd gprof && \
9815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9817 "RANLIB=$${RANLIB}" \
9818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9819 info) \
9820 || exit 1
9822 @endif gprof
9824 .PHONY: maybe-dvi-gprof dvi-gprof
9825 maybe-dvi-gprof:
9826 @if gprof
9827 maybe-dvi-gprof: dvi-gprof
9829 dvi-gprof: \
9830 configure-gprof
9831 @[ -f ./gprof/Makefile ] || exit 0; \
9832 r=`${PWD_COMMAND}`; export r; \
9833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9834 $(SET_LIB_PATH) \
9835 $(HOST_EXPORTS) \
9836 for flag in $(EXTRA_HOST_FLAGS) ; do \
9837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9838 done; \
9839 echo "Doing dvi in gprof" ; \
9840 (cd gprof && \
9841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9843 "RANLIB=$${RANLIB}" \
9844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9845 dvi) \
9846 || exit 1
9848 @endif gprof
9850 .PHONY: maybe-TAGS-gprof TAGS-gprof
9851 maybe-TAGS-gprof:
9852 @if gprof
9853 maybe-TAGS-gprof: TAGS-gprof
9855 TAGS-gprof: \
9856 configure-gprof
9857 @[ -f ./gprof/Makefile ] || exit 0; \
9858 r=`${PWD_COMMAND}`; export r; \
9859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9860 $(SET_LIB_PATH) \
9861 $(HOST_EXPORTS) \
9862 for flag in $(EXTRA_HOST_FLAGS) ; do \
9863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9864 done; \
9865 echo "Doing TAGS in gprof" ; \
9866 (cd gprof && \
9867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9869 "RANLIB=$${RANLIB}" \
9870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9871 TAGS) \
9872 || exit 1
9874 @endif gprof
9876 .PHONY: maybe-install-info-gprof install-info-gprof
9877 maybe-install-info-gprof:
9878 @if gprof
9879 maybe-install-info-gprof: install-info-gprof
9881 install-info-gprof: \
9882 configure-gprof \
9883 info-gprof
9884 @[ -f ./gprof/Makefile ] || exit 0; \
9885 r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(SET_LIB_PATH) \
9888 $(HOST_EXPORTS) \
9889 for flag in $(EXTRA_HOST_FLAGS) ; do \
9890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9891 done; \
9892 echo "Doing install-info in gprof" ; \
9893 (cd gprof && \
9894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9896 "RANLIB=$${RANLIB}" \
9897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9898 install-info) \
9899 || exit 1
9901 @endif gprof
9903 .PHONY: maybe-installcheck-gprof installcheck-gprof
9904 maybe-installcheck-gprof:
9905 @if gprof
9906 maybe-installcheck-gprof: installcheck-gprof
9908 installcheck-gprof: \
9909 configure-gprof
9910 @[ -f ./gprof/Makefile ] || exit 0; \
9911 r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 $(SET_LIB_PATH) \
9914 $(HOST_EXPORTS) \
9915 for flag in $(EXTRA_HOST_FLAGS) ; do \
9916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9917 done; \
9918 echo "Doing installcheck in gprof" ; \
9919 (cd gprof && \
9920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9922 "RANLIB=$${RANLIB}" \
9923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9924 installcheck) \
9925 || exit 1
9927 @endif gprof
9929 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
9930 maybe-mostlyclean-gprof:
9931 @if gprof
9932 maybe-mostlyclean-gprof: mostlyclean-gprof
9934 mostlyclean-gprof:
9935 @[ -f ./gprof/Makefile ] || exit 0; \
9936 r=`${PWD_COMMAND}`; export r; \
9937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9938 $(SET_LIB_PATH) \
9939 $(HOST_EXPORTS) \
9940 for flag in $(EXTRA_HOST_FLAGS) ; do \
9941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9942 done; \
9943 echo "Doing mostlyclean in gprof" ; \
9944 (cd gprof && \
9945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9947 "RANLIB=$${RANLIB}" \
9948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9949 mostlyclean) \
9950 || exit 1
9952 @endif gprof
9954 .PHONY: maybe-clean-gprof clean-gprof
9955 maybe-clean-gprof:
9956 @if gprof
9957 maybe-clean-gprof: clean-gprof
9959 clean-gprof:
9960 @[ -f ./gprof/Makefile ] || exit 0; \
9961 r=`${PWD_COMMAND}`; export r; \
9962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9963 $(SET_LIB_PATH) \
9964 $(HOST_EXPORTS) \
9965 for flag in $(EXTRA_HOST_FLAGS) ; do \
9966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9967 done; \
9968 echo "Doing clean in gprof" ; \
9969 (cd gprof && \
9970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9972 "RANLIB=$${RANLIB}" \
9973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9974 clean) \
9975 || exit 1
9977 @endif gprof
9979 .PHONY: maybe-distclean-gprof distclean-gprof
9980 maybe-distclean-gprof:
9981 @if gprof
9982 maybe-distclean-gprof: distclean-gprof
9984 distclean-gprof:
9985 @[ -f ./gprof/Makefile ] || exit 0; \
9986 r=`${PWD_COMMAND}`; export r; \
9987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9988 $(SET_LIB_PATH) \
9989 $(HOST_EXPORTS) \
9990 for flag in $(EXTRA_HOST_FLAGS) ; do \
9991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9992 done; \
9993 echo "Doing distclean in gprof" ; \
9994 (cd gprof && \
9995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9997 "RANLIB=$${RANLIB}" \
9998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9999 distclean) \
10000 || exit 1
10002 @endif gprof
10004 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10005 maybe-maintainer-clean-gprof:
10006 @if gprof
10007 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10009 maintainer-clean-gprof:
10010 @[ -f ./gprof/Makefile ] || exit 0; \
10011 r=`${PWD_COMMAND}`; export r; \
10012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10013 $(SET_LIB_PATH) \
10014 $(HOST_EXPORTS) \
10015 for flag in $(EXTRA_HOST_FLAGS) ; do \
10016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10017 done; \
10018 echo "Doing maintainer-clean in gprof" ; \
10019 (cd gprof && \
10020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10022 "RANLIB=$${RANLIB}" \
10023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10024 maintainer-clean) \
10025 || exit 1
10027 @endif gprof
10030 .PHONY: configure-gzip maybe-configure-gzip
10031 maybe-configure-gzip:
10032 @if gzip
10033 maybe-configure-gzip: configure-gzip
10034 configure-gzip:
10035 @test ! -f gzip/Makefile || exit 0; \
10036 [ -d gzip ] || mkdir gzip; \
10037 r=`${PWD_COMMAND}`; export r; \
10038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10039 $(HOST_EXPORTS) \
10040 echo Configuring in gzip; \
10041 cd gzip || exit 1; \
10042 case $(srcdir) in \
10043 \.) \
10044 srcdiroption="--srcdir=."; \
10045 libsrcdir=".";; \
10046 /* | [A-Za-z]:[\\/]*) \
10047 srcdiroption="--srcdir=$(srcdir)/gzip"; \
10048 libsrcdir="$$s/gzip";; \
10049 *) \
10050 srcdiroption="--srcdir=../$(srcdir)/gzip"; \
10051 libsrcdir="$$s/gzip";; \
10052 esac; \
10053 $(SHELL) $${libsrcdir}/configure \
10054 $(HOST_CONFIGARGS) $${srcdiroption} \
10055 || exit 1
10056 @endif gzip
10058 .PHONY: all-gzip maybe-all-gzip
10059 maybe-all-gzip:
10060 @if gzip
10061 maybe-all-gzip: all-gzip
10062 all-gzip: configure-gzip
10063 @r=`${PWD_COMMAND}`; export r; \
10064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10065 $(SET_LIB_PATH) \
10066 $(HOST_EXPORTS) \
10067 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) all)
10068 @endif gzip
10070 .PHONY: check-gzip maybe-check-gzip
10071 maybe-check-gzip:
10072 @if gzip
10073 maybe-check-gzip: check-gzip
10075 check-gzip:
10076 @r=`${PWD_COMMAND}`; export r; \
10077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10078 $(SET_LIB_PATH) \
10079 $(HOST_EXPORTS) \
10080 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) check)
10082 @endif gzip
10084 .PHONY: install-gzip maybe-install-gzip
10085 maybe-install-gzip:
10086 @if gzip
10087 maybe-install-gzip: install-gzip
10089 install-gzip: installdirs
10090 @r=`${PWD_COMMAND}`; export r; \
10091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10092 $(SET_LIB_PATH) \
10093 $(HOST_EXPORTS) \
10094 (cd gzip && $(MAKE) $(FLAGS_TO_PASS) install)
10096 @endif gzip
10098 # Other targets (info, dvi, etc.)
10100 .PHONY: maybe-info-gzip info-gzip
10101 maybe-info-gzip:
10102 @if gzip
10103 maybe-info-gzip: info-gzip
10105 info-gzip: \
10106 configure-gzip
10107 @[ -f ./gzip/Makefile ] || exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(SET_LIB_PATH) \
10111 $(HOST_EXPORTS) \
10112 for flag in $(EXTRA_HOST_FLAGS) ; do \
10113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10114 done; \
10115 echo "Doing info in gzip" ; \
10116 (cd gzip && \
10117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10119 "RANLIB=$${RANLIB}" \
10120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10121 info) \
10122 || exit 1
10124 @endif gzip
10126 .PHONY: maybe-dvi-gzip dvi-gzip
10127 maybe-dvi-gzip:
10128 @if gzip
10129 maybe-dvi-gzip: dvi-gzip
10131 dvi-gzip: \
10132 configure-gzip
10133 @[ -f ./gzip/Makefile ] || exit 0; \
10134 r=`${PWD_COMMAND}`; export r; \
10135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10136 $(SET_LIB_PATH) \
10137 $(HOST_EXPORTS) \
10138 for flag in $(EXTRA_HOST_FLAGS) ; do \
10139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10140 done; \
10141 echo "Doing dvi in gzip" ; \
10142 (cd gzip && \
10143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10145 "RANLIB=$${RANLIB}" \
10146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10147 dvi) \
10148 || exit 1
10150 @endif gzip
10152 .PHONY: maybe-TAGS-gzip TAGS-gzip
10153 maybe-TAGS-gzip:
10154 @if gzip
10155 maybe-TAGS-gzip: TAGS-gzip
10157 TAGS-gzip: \
10158 configure-gzip
10159 @[ -f ./gzip/Makefile ] || exit 0; \
10160 r=`${PWD_COMMAND}`; export r; \
10161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10162 $(SET_LIB_PATH) \
10163 $(HOST_EXPORTS) \
10164 for flag in $(EXTRA_HOST_FLAGS) ; do \
10165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10166 done; \
10167 echo "Doing TAGS in gzip" ; \
10168 (cd gzip && \
10169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10171 "RANLIB=$${RANLIB}" \
10172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10173 TAGS) \
10174 || exit 1
10176 @endif gzip
10178 .PHONY: maybe-install-info-gzip install-info-gzip
10179 maybe-install-info-gzip:
10180 @if gzip
10181 maybe-install-info-gzip: install-info-gzip
10183 install-info-gzip: \
10184 configure-gzip \
10185 info-gzip
10186 @[ -f ./gzip/Makefile ] || exit 0; \
10187 r=`${PWD_COMMAND}`; export r; \
10188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10189 $(SET_LIB_PATH) \
10190 $(HOST_EXPORTS) \
10191 for flag in $(EXTRA_HOST_FLAGS) ; do \
10192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10193 done; \
10194 echo "Doing install-info in gzip" ; \
10195 (cd gzip && \
10196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10198 "RANLIB=$${RANLIB}" \
10199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10200 install-info) \
10201 || exit 1
10203 @endif gzip
10205 .PHONY: maybe-installcheck-gzip installcheck-gzip
10206 maybe-installcheck-gzip:
10207 @if gzip
10208 maybe-installcheck-gzip: installcheck-gzip
10210 installcheck-gzip: \
10211 configure-gzip
10212 @[ -f ./gzip/Makefile ] || exit 0; \
10213 r=`${PWD_COMMAND}`; export r; \
10214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10215 $(SET_LIB_PATH) \
10216 $(HOST_EXPORTS) \
10217 for flag in $(EXTRA_HOST_FLAGS) ; do \
10218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10219 done; \
10220 echo "Doing installcheck in gzip" ; \
10221 (cd gzip && \
10222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10224 "RANLIB=$${RANLIB}" \
10225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10226 installcheck) \
10227 || exit 1
10229 @endif gzip
10231 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
10232 maybe-mostlyclean-gzip:
10233 @if gzip
10234 maybe-mostlyclean-gzip: mostlyclean-gzip
10236 mostlyclean-gzip:
10237 @[ -f ./gzip/Makefile ] || exit 0; \
10238 r=`${PWD_COMMAND}`; export r; \
10239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10240 $(SET_LIB_PATH) \
10241 $(HOST_EXPORTS) \
10242 for flag in $(EXTRA_HOST_FLAGS) ; do \
10243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10244 done; \
10245 echo "Doing mostlyclean in gzip" ; \
10246 (cd gzip && \
10247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10249 "RANLIB=$${RANLIB}" \
10250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10251 mostlyclean) \
10252 || exit 1
10254 @endif gzip
10256 .PHONY: maybe-clean-gzip clean-gzip
10257 maybe-clean-gzip:
10258 @if gzip
10259 maybe-clean-gzip: clean-gzip
10261 clean-gzip:
10262 @[ -f ./gzip/Makefile ] || exit 0; \
10263 r=`${PWD_COMMAND}`; export r; \
10264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10265 $(SET_LIB_PATH) \
10266 $(HOST_EXPORTS) \
10267 for flag in $(EXTRA_HOST_FLAGS) ; do \
10268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10269 done; \
10270 echo "Doing clean in gzip" ; \
10271 (cd gzip && \
10272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10274 "RANLIB=$${RANLIB}" \
10275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10276 clean) \
10277 || exit 1
10279 @endif gzip
10281 .PHONY: maybe-distclean-gzip distclean-gzip
10282 maybe-distclean-gzip:
10283 @if gzip
10284 maybe-distclean-gzip: distclean-gzip
10286 distclean-gzip:
10287 @[ -f ./gzip/Makefile ] || exit 0; \
10288 r=`${PWD_COMMAND}`; export r; \
10289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10290 $(SET_LIB_PATH) \
10291 $(HOST_EXPORTS) \
10292 for flag in $(EXTRA_HOST_FLAGS) ; do \
10293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10294 done; \
10295 echo "Doing distclean in gzip" ; \
10296 (cd gzip && \
10297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10299 "RANLIB=$${RANLIB}" \
10300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10301 distclean) \
10302 || exit 1
10304 @endif gzip
10306 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
10307 maybe-maintainer-clean-gzip:
10308 @if gzip
10309 maybe-maintainer-clean-gzip: maintainer-clean-gzip
10311 maintainer-clean-gzip:
10312 @[ -f ./gzip/Makefile ] || exit 0; \
10313 r=`${PWD_COMMAND}`; export r; \
10314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10315 $(SET_LIB_PATH) \
10316 $(HOST_EXPORTS) \
10317 for flag in $(EXTRA_HOST_FLAGS) ; do \
10318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10319 done; \
10320 echo "Doing maintainer-clean in gzip" ; \
10321 (cd gzip && \
10322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10324 "RANLIB=$${RANLIB}" \
10325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10326 maintainer-clean) \
10327 || exit 1
10329 @endif gzip
10332 .PHONY: configure-hello maybe-configure-hello
10333 maybe-configure-hello:
10334 @if hello
10335 maybe-configure-hello: configure-hello
10336 configure-hello:
10337 @test ! -f hello/Makefile || exit 0; \
10338 [ -d hello ] || mkdir hello; \
10339 r=`${PWD_COMMAND}`; export r; \
10340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10341 $(HOST_EXPORTS) \
10342 echo Configuring in hello; \
10343 cd hello || exit 1; \
10344 case $(srcdir) in \
10345 \.) \
10346 srcdiroption="--srcdir=."; \
10347 libsrcdir=".";; \
10348 /* | [A-Za-z]:[\\/]*) \
10349 srcdiroption="--srcdir=$(srcdir)/hello"; \
10350 libsrcdir="$$s/hello";; \
10351 *) \
10352 srcdiroption="--srcdir=../$(srcdir)/hello"; \
10353 libsrcdir="$$s/hello";; \
10354 esac; \
10355 $(SHELL) $${libsrcdir}/configure \
10356 $(HOST_CONFIGARGS) $${srcdiroption} \
10357 || exit 1
10358 @endif hello
10360 .PHONY: all-hello maybe-all-hello
10361 maybe-all-hello:
10362 @if hello
10363 maybe-all-hello: all-hello
10364 all-hello: configure-hello
10365 @r=`${PWD_COMMAND}`; export r; \
10366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10367 $(SET_LIB_PATH) \
10368 $(HOST_EXPORTS) \
10369 (cd hello && $(MAKE) $(FLAGS_TO_PASS) all)
10370 @endif hello
10372 .PHONY: check-hello maybe-check-hello
10373 maybe-check-hello:
10374 @if hello
10375 maybe-check-hello: check-hello
10377 check-hello:
10378 @r=`${PWD_COMMAND}`; export r; \
10379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10380 $(SET_LIB_PATH) \
10381 $(HOST_EXPORTS) \
10382 (cd hello && $(MAKE) $(FLAGS_TO_PASS) check)
10384 @endif hello
10386 .PHONY: install-hello maybe-install-hello
10387 maybe-install-hello:
10388 @if hello
10389 maybe-install-hello: install-hello
10391 install-hello: installdirs
10392 @r=`${PWD_COMMAND}`; export r; \
10393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10394 $(SET_LIB_PATH) \
10395 $(HOST_EXPORTS) \
10396 (cd hello && $(MAKE) $(FLAGS_TO_PASS) install)
10398 @endif hello
10400 # Other targets (info, dvi, etc.)
10402 .PHONY: maybe-info-hello info-hello
10403 maybe-info-hello:
10404 @if hello
10405 maybe-info-hello: info-hello
10407 info-hello: \
10408 configure-hello
10409 @[ -f ./hello/Makefile ] || exit 0; \
10410 r=`${PWD_COMMAND}`; export r; \
10411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10412 $(SET_LIB_PATH) \
10413 $(HOST_EXPORTS) \
10414 for flag in $(EXTRA_HOST_FLAGS) ; do \
10415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10416 done; \
10417 echo "Doing info in hello" ; \
10418 (cd hello && \
10419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10421 "RANLIB=$${RANLIB}" \
10422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10423 info) \
10424 || exit 1
10426 @endif hello
10428 .PHONY: maybe-dvi-hello dvi-hello
10429 maybe-dvi-hello:
10430 @if hello
10431 maybe-dvi-hello: dvi-hello
10433 dvi-hello: \
10434 configure-hello
10435 @[ -f ./hello/Makefile ] || exit 0; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(SET_LIB_PATH) \
10439 $(HOST_EXPORTS) \
10440 for flag in $(EXTRA_HOST_FLAGS) ; do \
10441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10442 done; \
10443 echo "Doing dvi in hello" ; \
10444 (cd hello && \
10445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10447 "RANLIB=$${RANLIB}" \
10448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10449 dvi) \
10450 || exit 1
10452 @endif hello
10454 .PHONY: maybe-TAGS-hello TAGS-hello
10455 maybe-TAGS-hello:
10456 @if hello
10457 maybe-TAGS-hello: TAGS-hello
10459 TAGS-hello: \
10460 configure-hello
10461 @[ -f ./hello/Makefile ] || exit 0; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(SET_LIB_PATH) \
10465 $(HOST_EXPORTS) \
10466 for flag in $(EXTRA_HOST_FLAGS) ; do \
10467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10468 done; \
10469 echo "Doing TAGS in hello" ; \
10470 (cd hello && \
10471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10473 "RANLIB=$${RANLIB}" \
10474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10475 TAGS) \
10476 || exit 1
10478 @endif hello
10480 .PHONY: maybe-install-info-hello install-info-hello
10481 maybe-install-info-hello:
10482 @if hello
10483 maybe-install-info-hello: install-info-hello
10485 install-info-hello: \
10486 configure-hello \
10487 info-hello
10488 @[ -f ./hello/Makefile ] || exit 0; \
10489 r=`${PWD_COMMAND}`; export r; \
10490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10491 $(SET_LIB_PATH) \
10492 $(HOST_EXPORTS) \
10493 for flag in $(EXTRA_HOST_FLAGS) ; do \
10494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10495 done; \
10496 echo "Doing install-info in hello" ; \
10497 (cd hello && \
10498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10500 "RANLIB=$${RANLIB}" \
10501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10502 install-info) \
10503 || exit 1
10505 @endif hello
10507 .PHONY: maybe-installcheck-hello installcheck-hello
10508 maybe-installcheck-hello:
10509 @if hello
10510 maybe-installcheck-hello: installcheck-hello
10512 installcheck-hello: \
10513 configure-hello
10514 @[ -f ./hello/Makefile ] || exit 0; \
10515 r=`${PWD_COMMAND}`; export r; \
10516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10517 $(SET_LIB_PATH) \
10518 $(HOST_EXPORTS) \
10519 for flag in $(EXTRA_HOST_FLAGS) ; do \
10520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10521 done; \
10522 echo "Doing installcheck in hello" ; \
10523 (cd hello && \
10524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10526 "RANLIB=$${RANLIB}" \
10527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10528 installcheck) \
10529 || exit 1
10531 @endif hello
10533 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
10534 maybe-mostlyclean-hello:
10535 @if hello
10536 maybe-mostlyclean-hello: mostlyclean-hello
10538 mostlyclean-hello:
10539 @[ -f ./hello/Makefile ] || exit 0; \
10540 r=`${PWD_COMMAND}`; export r; \
10541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10542 $(SET_LIB_PATH) \
10543 $(HOST_EXPORTS) \
10544 for flag in $(EXTRA_HOST_FLAGS) ; do \
10545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10546 done; \
10547 echo "Doing mostlyclean in hello" ; \
10548 (cd hello && \
10549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10551 "RANLIB=$${RANLIB}" \
10552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10553 mostlyclean) \
10554 || exit 1
10556 @endif hello
10558 .PHONY: maybe-clean-hello clean-hello
10559 maybe-clean-hello:
10560 @if hello
10561 maybe-clean-hello: clean-hello
10563 clean-hello:
10564 @[ -f ./hello/Makefile ] || exit 0; \
10565 r=`${PWD_COMMAND}`; export r; \
10566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10567 $(SET_LIB_PATH) \
10568 $(HOST_EXPORTS) \
10569 for flag in $(EXTRA_HOST_FLAGS) ; do \
10570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10571 done; \
10572 echo "Doing clean in hello" ; \
10573 (cd hello && \
10574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10576 "RANLIB=$${RANLIB}" \
10577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10578 clean) \
10579 || exit 1
10581 @endif hello
10583 .PHONY: maybe-distclean-hello distclean-hello
10584 maybe-distclean-hello:
10585 @if hello
10586 maybe-distclean-hello: distclean-hello
10588 distclean-hello:
10589 @[ -f ./hello/Makefile ] || exit 0; \
10590 r=`${PWD_COMMAND}`; export r; \
10591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10592 $(SET_LIB_PATH) \
10593 $(HOST_EXPORTS) \
10594 for flag in $(EXTRA_HOST_FLAGS) ; do \
10595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10596 done; \
10597 echo "Doing distclean in hello" ; \
10598 (cd hello && \
10599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10601 "RANLIB=$${RANLIB}" \
10602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10603 distclean) \
10604 || exit 1
10606 @endif hello
10608 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
10609 maybe-maintainer-clean-hello:
10610 @if hello
10611 maybe-maintainer-clean-hello: maintainer-clean-hello
10613 maintainer-clean-hello:
10614 @[ -f ./hello/Makefile ] || exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(SET_LIB_PATH) \
10618 $(HOST_EXPORTS) \
10619 for flag in $(EXTRA_HOST_FLAGS) ; do \
10620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10621 done; \
10622 echo "Doing maintainer-clean in hello" ; \
10623 (cd hello && \
10624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10626 "RANLIB=$${RANLIB}" \
10627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10628 maintainer-clean) \
10629 || exit 1
10631 @endif hello
10634 .PHONY: configure-indent maybe-configure-indent
10635 maybe-configure-indent:
10636 @if indent
10637 maybe-configure-indent: configure-indent
10638 configure-indent:
10639 @test ! -f indent/Makefile || exit 0; \
10640 [ -d indent ] || mkdir indent; \
10641 r=`${PWD_COMMAND}`; export r; \
10642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10643 $(HOST_EXPORTS) \
10644 echo Configuring in indent; \
10645 cd indent || exit 1; \
10646 case $(srcdir) in \
10647 \.) \
10648 srcdiroption="--srcdir=."; \
10649 libsrcdir=".";; \
10650 /* | [A-Za-z]:[\\/]*) \
10651 srcdiroption="--srcdir=$(srcdir)/indent"; \
10652 libsrcdir="$$s/indent";; \
10653 *) \
10654 srcdiroption="--srcdir=../$(srcdir)/indent"; \
10655 libsrcdir="$$s/indent";; \
10656 esac; \
10657 $(SHELL) $${libsrcdir}/configure \
10658 $(HOST_CONFIGARGS) $${srcdiroption} \
10659 || exit 1
10660 @endif indent
10662 .PHONY: all-indent maybe-all-indent
10663 maybe-all-indent:
10664 @if indent
10665 maybe-all-indent: all-indent
10666 all-indent: configure-indent
10667 @r=`${PWD_COMMAND}`; export r; \
10668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10669 $(SET_LIB_PATH) \
10670 $(HOST_EXPORTS) \
10671 (cd indent && $(MAKE) $(FLAGS_TO_PASS) all)
10672 @endif indent
10674 .PHONY: check-indent maybe-check-indent
10675 maybe-check-indent:
10676 @if indent
10677 maybe-check-indent: check-indent
10679 check-indent:
10680 @r=`${PWD_COMMAND}`; export r; \
10681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10682 $(SET_LIB_PATH) \
10683 $(HOST_EXPORTS) \
10684 (cd indent && $(MAKE) $(FLAGS_TO_PASS) check)
10686 @endif indent
10688 .PHONY: install-indent maybe-install-indent
10689 maybe-install-indent:
10690 @if indent
10691 maybe-install-indent: install-indent
10693 install-indent: installdirs
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(SET_LIB_PATH) \
10697 $(HOST_EXPORTS) \
10698 (cd indent && $(MAKE) $(FLAGS_TO_PASS) install)
10700 @endif indent
10702 # Other targets (info, dvi, etc.)
10704 .PHONY: maybe-info-indent info-indent
10705 maybe-info-indent:
10706 @if indent
10707 maybe-info-indent: info-indent
10709 info-indent: \
10710 configure-indent
10711 @[ -f ./indent/Makefile ] || exit 0; \
10712 r=`${PWD_COMMAND}`; export r; \
10713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10714 $(SET_LIB_PATH) \
10715 $(HOST_EXPORTS) \
10716 for flag in $(EXTRA_HOST_FLAGS) ; do \
10717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10718 done; \
10719 echo "Doing info in indent" ; \
10720 (cd indent && \
10721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10723 "RANLIB=$${RANLIB}" \
10724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10725 info) \
10726 || exit 1
10728 @endif indent
10730 .PHONY: maybe-dvi-indent dvi-indent
10731 maybe-dvi-indent:
10732 @if indent
10733 maybe-dvi-indent: dvi-indent
10735 dvi-indent: \
10736 configure-indent
10737 @[ -f ./indent/Makefile ] || exit 0; \
10738 r=`${PWD_COMMAND}`; export r; \
10739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10740 $(SET_LIB_PATH) \
10741 $(HOST_EXPORTS) \
10742 for flag in $(EXTRA_HOST_FLAGS) ; do \
10743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10744 done; \
10745 echo "Doing dvi in indent" ; \
10746 (cd indent && \
10747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10749 "RANLIB=$${RANLIB}" \
10750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10751 dvi) \
10752 || exit 1
10754 @endif indent
10756 .PHONY: maybe-TAGS-indent TAGS-indent
10757 maybe-TAGS-indent:
10758 @if indent
10759 maybe-TAGS-indent: TAGS-indent
10761 TAGS-indent: \
10762 configure-indent
10763 @[ -f ./indent/Makefile ] || exit 0; \
10764 r=`${PWD_COMMAND}`; export r; \
10765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10766 $(SET_LIB_PATH) \
10767 $(HOST_EXPORTS) \
10768 for flag in $(EXTRA_HOST_FLAGS) ; do \
10769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10770 done; \
10771 echo "Doing TAGS in indent" ; \
10772 (cd indent && \
10773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10775 "RANLIB=$${RANLIB}" \
10776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10777 TAGS) \
10778 || exit 1
10780 @endif indent
10782 .PHONY: maybe-install-info-indent install-info-indent
10783 maybe-install-info-indent:
10784 @if indent
10785 maybe-install-info-indent: install-info-indent
10787 install-info-indent: \
10788 configure-indent \
10789 info-indent
10790 @[ -f ./indent/Makefile ] || exit 0; \
10791 r=`${PWD_COMMAND}`; export r; \
10792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10793 $(SET_LIB_PATH) \
10794 $(HOST_EXPORTS) \
10795 for flag in $(EXTRA_HOST_FLAGS) ; do \
10796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10797 done; \
10798 echo "Doing install-info in indent" ; \
10799 (cd indent && \
10800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10802 "RANLIB=$${RANLIB}" \
10803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10804 install-info) \
10805 || exit 1
10807 @endif indent
10809 .PHONY: maybe-installcheck-indent installcheck-indent
10810 maybe-installcheck-indent:
10811 @if indent
10812 maybe-installcheck-indent: installcheck-indent
10814 installcheck-indent: \
10815 configure-indent
10816 @[ -f ./indent/Makefile ] || exit 0; \
10817 r=`${PWD_COMMAND}`; export r; \
10818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10819 $(SET_LIB_PATH) \
10820 $(HOST_EXPORTS) \
10821 for flag in $(EXTRA_HOST_FLAGS) ; do \
10822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10823 done; \
10824 echo "Doing installcheck in indent" ; \
10825 (cd indent && \
10826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10828 "RANLIB=$${RANLIB}" \
10829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10830 installcheck) \
10831 || exit 1
10833 @endif indent
10835 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
10836 maybe-mostlyclean-indent:
10837 @if indent
10838 maybe-mostlyclean-indent: mostlyclean-indent
10840 mostlyclean-indent:
10841 @[ -f ./indent/Makefile ] || exit 0; \
10842 r=`${PWD_COMMAND}`; export r; \
10843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10844 $(SET_LIB_PATH) \
10845 $(HOST_EXPORTS) \
10846 for flag in $(EXTRA_HOST_FLAGS) ; do \
10847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10848 done; \
10849 echo "Doing mostlyclean in indent" ; \
10850 (cd indent && \
10851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10853 "RANLIB=$${RANLIB}" \
10854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10855 mostlyclean) \
10856 || exit 1
10858 @endif indent
10860 .PHONY: maybe-clean-indent clean-indent
10861 maybe-clean-indent:
10862 @if indent
10863 maybe-clean-indent: clean-indent
10865 clean-indent:
10866 @[ -f ./indent/Makefile ] || exit 0; \
10867 r=`${PWD_COMMAND}`; export r; \
10868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10869 $(SET_LIB_PATH) \
10870 $(HOST_EXPORTS) \
10871 for flag in $(EXTRA_HOST_FLAGS) ; do \
10872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10873 done; \
10874 echo "Doing clean in indent" ; \
10875 (cd indent && \
10876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10878 "RANLIB=$${RANLIB}" \
10879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10880 clean) \
10881 || exit 1
10883 @endif indent
10885 .PHONY: maybe-distclean-indent distclean-indent
10886 maybe-distclean-indent:
10887 @if indent
10888 maybe-distclean-indent: distclean-indent
10890 distclean-indent:
10891 @[ -f ./indent/Makefile ] || exit 0; \
10892 r=`${PWD_COMMAND}`; export r; \
10893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10894 $(SET_LIB_PATH) \
10895 $(HOST_EXPORTS) \
10896 for flag in $(EXTRA_HOST_FLAGS) ; do \
10897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10898 done; \
10899 echo "Doing distclean in indent" ; \
10900 (cd indent && \
10901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10903 "RANLIB=$${RANLIB}" \
10904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10905 distclean) \
10906 || exit 1
10908 @endif indent
10910 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
10911 maybe-maintainer-clean-indent:
10912 @if indent
10913 maybe-maintainer-clean-indent: maintainer-clean-indent
10915 maintainer-clean-indent:
10916 @[ -f ./indent/Makefile ] || exit 0; \
10917 r=`${PWD_COMMAND}`; export r; \
10918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10919 $(SET_LIB_PATH) \
10920 $(HOST_EXPORTS) \
10921 for flag in $(EXTRA_HOST_FLAGS) ; do \
10922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10923 done; \
10924 echo "Doing maintainer-clean in indent" ; \
10925 (cd indent && \
10926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10928 "RANLIB=$${RANLIB}" \
10929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10930 maintainer-clean) \
10931 || exit 1
10933 @endif indent
10936 .PHONY: configure-intl maybe-configure-intl
10937 maybe-configure-intl:
10938 @if intl
10939 maybe-configure-intl: configure-intl
10940 configure-intl:
10941 @test -f stage_last && exit 0; \
10942 test ! -f intl/Makefile || exit 0; \
10943 [ -d intl ] || mkdir intl; \
10944 r=`${PWD_COMMAND}`; export r; \
10945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10946 $(HOST_EXPORTS) \
10947 echo Configuring in intl; \
10948 cd intl || exit 1; \
10949 case $(srcdir) in \
10950 \.) \
10951 srcdiroption="--srcdir=."; \
10952 libsrcdir=".";; \
10953 /* | [A-Za-z]:[\\/]*) \
10954 srcdiroption="--srcdir=$(srcdir)/intl"; \
10955 libsrcdir="$$s/intl";; \
10956 *) \
10957 srcdiroption="--srcdir=../$(srcdir)/intl"; \
10958 libsrcdir="$$s/intl";; \
10959 esac; \
10960 $(SHELL) $${libsrcdir}/configure \
10961 $(HOST_CONFIGARGS) $${srcdiroption} \
10962 || exit 1
10963 @endif intl
10965 .PHONY: all-intl maybe-all-intl
10966 maybe-all-intl:
10967 @if intl
10968 maybe-all-intl: all-intl
10969 all-intl: configure-intl
10970 @test -f stage_last && exit 0; \
10971 r=`${PWD_COMMAND}`; export r; \
10972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10973 $(SET_LIB_PATH) \
10974 $(HOST_EXPORTS) \
10975 (cd intl && $(MAKE) $(FLAGS_TO_PASS) all)
10976 @endif intl
10978 .PHONY: check-intl maybe-check-intl
10979 maybe-check-intl:
10980 @if intl
10981 maybe-check-intl: check-intl
10983 check-intl:
10984 @r=`${PWD_COMMAND}`; export r; \
10985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10986 $(SET_LIB_PATH) \
10987 $(HOST_EXPORTS) \
10988 (cd intl && $(MAKE) $(FLAGS_TO_PASS) check)
10990 @endif intl
10992 .PHONY: install-intl maybe-install-intl
10993 maybe-install-intl:
10994 @if intl
10995 maybe-install-intl: install-intl
10997 install-intl: installdirs
10998 @r=`${PWD_COMMAND}`; export r; \
10999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11000 $(SET_LIB_PATH) \
11001 $(HOST_EXPORTS) \
11002 (cd intl && $(MAKE) $(FLAGS_TO_PASS) install)
11004 @endif intl
11006 # Other targets (info, dvi, etc.)
11008 .PHONY: maybe-info-intl info-intl
11009 maybe-info-intl:
11010 @if intl
11011 maybe-info-intl: info-intl
11013 info-intl: \
11014 configure-intl
11015 @[ -f ./intl/Makefile ] || exit 0; \
11016 r=`${PWD_COMMAND}`; export r; \
11017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11018 $(SET_LIB_PATH) \
11019 $(HOST_EXPORTS) \
11020 for flag in $(EXTRA_HOST_FLAGS) ; do \
11021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11022 done; \
11023 echo "Doing info in intl" ; \
11024 (cd intl && \
11025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11027 "RANLIB=$${RANLIB}" \
11028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11029 info) \
11030 || exit 1
11032 @endif intl
11034 .PHONY: maybe-dvi-intl dvi-intl
11035 maybe-dvi-intl:
11036 @if intl
11037 maybe-dvi-intl: dvi-intl
11039 dvi-intl: \
11040 configure-intl
11041 @[ -f ./intl/Makefile ] || exit 0; \
11042 r=`${PWD_COMMAND}`; export r; \
11043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11044 $(SET_LIB_PATH) \
11045 $(HOST_EXPORTS) \
11046 for flag in $(EXTRA_HOST_FLAGS) ; do \
11047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11048 done; \
11049 echo "Doing dvi in intl" ; \
11050 (cd intl && \
11051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11053 "RANLIB=$${RANLIB}" \
11054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11055 dvi) \
11056 || exit 1
11058 @endif intl
11060 .PHONY: maybe-TAGS-intl TAGS-intl
11061 maybe-TAGS-intl:
11062 @if intl
11063 maybe-TAGS-intl: TAGS-intl
11065 TAGS-intl: \
11066 configure-intl
11067 @[ -f ./intl/Makefile ] || exit 0; \
11068 r=`${PWD_COMMAND}`; export r; \
11069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11070 $(SET_LIB_PATH) \
11071 $(HOST_EXPORTS) \
11072 for flag in $(EXTRA_HOST_FLAGS) ; do \
11073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11074 done; \
11075 echo "Doing TAGS in intl" ; \
11076 (cd intl && \
11077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11079 "RANLIB=$${RANLIB}" \
11080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11081 TAGS) \
11082 || exit 1
11084 @endif intl
11086 .PHONY: maybe-install-info-intl install-info-intl
11087 maybe-install-info-intl:
11088 @if intl
11089 maybe-install-info-intl: install-info-intl
11091 install-info-intl: \
11092 configure-intl \
11093 info-intl
11094 @[ -f ./intl/Makefile ] || exit 0; \
11095 r=`${PWD_COMMAND}`; export r; \
11096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11097 $(SET_LIB_PATH) \
11098 $(HOST_EXPORTS) \
11099 for flag in $(EXTRA_HOST_FLAGS) ; do \
11100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11101 done; \
11102 echo "Doing install-info in intl" ; \
11103 (cd intl && \
11104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11106 "RANLIB=$${RANLIB}" \
11107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11108 install-info) \
11109 || exit 1
11111 @endif intl
11113 .PHONY: maybe-installcheck-intl installcheck-intl
11114 maybe-installcheck-intl:
11115 @if intl
11116 maybe-installcheck-intl: installcheck-intl
11118 installcheck-intl: \
11119 configure-intl
11120 @[ -f ./intl/Makefile ] || exit 0; \
11121 r=`${PWD_COMMAND}`; export r; \
11122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11123 $(SET_LIB_PATH) \
11124 $(HOST_EXPORTS) \
11125 for flag in $(EXTRA_HOST_FLAGS) ; do \
11126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11127 done; \
11128 echo "Doing installcheck in intl" ; \
11129 (cd intl && \
11130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11132 "RANLIB=$${RANLIB}" \
11133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11134 installcheck) \
11135 || exit 1
11137 @endif intl
11139 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
11140 maybe-mostlyclean-intl:
11141 @if intl
11142 maybe-mostlyclean-intl: mostlyclean-intl
11144 mostlyclean-intl:
11145 @[ -f ./intl/Makefile ] || exit 0; \
11146 r=`${PWD_COMMAND}`; export r; \
11147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11148 $(SET_LIB_PATH) \
11149 $(HOST_EXPORTS) \
11150 for flag in $(EXTRA_HOST_FLAGS) ; do \
11151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11152 done; \
11153 echo "Doing mostlyclean in intl" ; \
11154 (cd intl && \
11155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11157 "RANLIB=$${RANLIB}" \
11158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11159 mostlyclean) \
11160 || exit 1
11162 @endif intl
11164 .PHONY: maybe-clean-intl clean-intl
11165 maybe-clean-intl:
11166 @if intl
11167 maybe-clean-intl: clean-intl
11169 clean-intl:
11170 @[ -f ./intl/Makefile ] || exit 0; \
11171 r=`${PWD_COMMAND}`; export r; \
11172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11173 $(SET_LIB_PATH) \
11174 $(HOST_EXPORTS) \
11175 for flag in $(EXTRA_HOST_FLAGS) ; do \
11176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11177 done; \
11178 echo "Doing clean in intl" ; \
11179 (cd intl && \
11180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11182 "RANLIB=$${RANLIB}" \
11183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11184 clean) \
11185 || exit 1
11187 @endif intl
11189 .PHONY: maybe-distclean-intl distclean-intl
11190 maybe-distclean-intl:
11191 @if intl
11192 maybe-distclean-intl: distclean-intl
11194 distclean-intl:
11195 @[ -f ./intl/Makefile ] || exit 0; \
11196 r=`${PWD_COMMAND}`; export r; \
11197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11198 $(SET_LIB_PATH) \
11199 $(HOST_EXPORTS) \
11200 for flag in $(EXTRA_HOST_FLAGS) ; do \
11201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11202 done; \
11203 echo "Doing distclean in intl" ; \
11204 (cd intl && \
11205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11207 "RANLIB=$${RANLIB}" \
11208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11209 distclean) \
11210 || exit 1
11212 @endif intl
11214 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
11215 maybe-maintainer-clean-intl:
11216 @if intl
11217 maybe-maintainer-clean-intl: maintainer-clean-intl
11219 maintainer-clean-intl:
11220 @[ -f ./intl/Makefile ] || exit 0; \
11221 r=`${PWD_COMMAND}`; export r; \
11222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11223 $(SET_LIB_PATH) \
11224 $(HOST_EXPORTS) \
11225 for flag in $(EXTRA_HOST_FLAGS) ; do \
11226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11227 done; \
11228 echo "Doing maintainer-clean in intl" ; \
11229 (cd intl && \
11230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11232 "RANLIB=$${RANLIB}" \
11233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11234 maintainer-clean) \
11235 || exit 1
11237 @endif intl
11240 .PHONY: configure-tcl maybe-configure-tcl
11241 maybe-configure-tcl:
11242 @if tcl
11243 maybe-configure-tcl: configure-tcl
11244 configure-tcl:
11245 @test ! -f tcl/Makefile || exit 0; \
11246 [ -d tcl ] || mkdir tcl; \
11247 r=`${PWD_COMMAND}`; export r; \
11248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11249 $(HOST_EXPORTS) \
11250 echo Configuring in tcl; \
11251 cd tcl || exit 1; \
11252 case $(srcdir) in \
11253 \.) \
11254 srcdiroption="--srcdir=."; \
11255 libsrcdir=".";; \
11256 /* | [A-Za-z]:[\\/]*) \
11257 srcdiroption="--srcdir=$(srcdir)/tcl"; \
11258 libsrcdir="$$s/tcl";; \
11259 *) \
11260 srcdiroption="--srcdir=../$(srcdir)/tcl"; \
11261 libsrcdir="$$s/tcl";; \
11262 esac; \
11263 $(SHELL) $${libsrcdir}/configure \
11264 $(HOST_CONFIGARGS) $${srcdiroption} \
11265 || exit 1
11266 @endif tcl
11268 .PHONY: all-tcl maybe-all-tcl
11269 maybe-all-tcl:
11270 @if tcl
11271 maybe-all-tcl: all-tcl
11272 all-tcl: configure-tcl
11273 @r=`${PWD_COMMAND}`; export r; \
11274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11275 $(SET_LIB_PATH) \
11276 $(HOST_EXPORTS) \
11277 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) all)
11278 @endif tcl
11280 .PHONY: check-tcl maybe-check-tcl
11281 maybe-check-tcl:
11282 @if tcl
11283 maybe-check-tcl: check-tcl
11285 check-tcl:
11286 @r=`${PWD_COMMAND}`; export r; \
11287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11288 $(SET_LIB_PATH) \
11289 $(HOST_EXPORTS) \
11290 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) check)
11292 @endif tcl
11294 .PHONY: install-tcl maybe-install-tcl
11295 maybe-install-tcl:
11296 @if tcl
11297 maybe-install-tcl: install-tcl
11299 install-tcl: installdirs
11300 @r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302 $(SET_LIB_PATH) \
11303 $(HOST_EXPORTS) \
11304 (cd tcl && $(MAKE) $(FLAGS_TO_PASS) install)
11306 @endif tcl
11308 # Other targets (info, dvi, etc.)
11310 .PHONY: maybe-info-tcl info-tcl
11311 maybe-info-tcl:
11312 @if tcl
11313 maybe-info-tcl: info-tcl
11315 info-tcl: \
11316 configure-tcl
11317 @[ -f ./tcl/Makefile ] || exit 0; \
11318 r=`${PWD_COMMAND}`; export r; \
11319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11320 $(SET_LIB_PATH) \
11321 $(HOST_EXPORTS) \
11322 for flag in $(EXTRA_HOST_FLAGS) ; do \
11323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11324 done; \
11325 echo "Doing info in tcl" ; \
11326 (cd tcl && \
11327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11329 "RANLIB=$${RANLIB}" \
11330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11331 info) \
11332 || exit 1
11334 @endif tcl
11336 .PHONY: maybe-dvi-tcl dvi-tcl
11337 maybe-dvi-tcl:
11338 @if tcl
11339 maybe-dvi-tcl: dvi-tcl
11341 dvi-tcl: \
11342 configure-tcl
11343 @[ -f ./tcl/Makefile ] || exit 0; \
11344 r=`${PWD_COMMAND}`; export r; \
11345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11346 $(SET_LIB_PATH) \
11347 $(HOST_EXPORTS) \
11348 for flag in $(EXTRA_HOST_FLAGS) ; do \
11349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11350 done; \
11351 echo "Doing dvi in tcl" ; \
11352 (cd tcl && \
11353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11355 "RANLIB=$${RANLIB}" \
11356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11357 dvi) \
11358 || exit 1
11360 @endif tcl
11362 .PHONY: maybe-TAGS-tcl TAGS-tcl
11363 maybe-TAGS-tcl:
11364 @if tcl
11365 maybe-TAGS-tcl: TAGS-tcl
11367 TAGS-tcl: \
11368 configure-tcl
11369 @[ -f ./tcl/Makefile ] || exit 0; \
11370 r=`${PWD_COMMAND}`; export r; \
11371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11372 $(SET_LIB_PATH) \
11373 $(HOST_EXPORTS) \
11374 for flag in $(EXTRA_HOST_FLAGS) ; do \
11375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11376 done; \
11377 echo "Doing TAGS in tcl" ; \
11378 (cd tcl && \
11379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11381 "RANLIB=$${RANLIB}" \
11382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11383 TAGS) \
11384 || exit 1
11386 @endif tcl
11388 .PHONY: maybe-install-info-tcl install-info-tcl
11389 maybe-install-info-tcl:
11390 @if tcl
11391 maybe-install-info-tcl: install-info-tcl
11393 install-info-tcl: \
11394 configure-tcl \
11395 info-tcl
11396 @[ -f ./tcl/Makefile ] || exit 0; \
11397 r=`${PWD_COMMAND}`; export r; \
11398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11399 $(SET_LIB_PATH) \
11400 $(HOST_EXPORTS) \
11401 for flag in $(EXTRA_HOST_FLAGS) ; do \
11402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11403 done; \
11404 echo "Doing install-info in tcl" ; \
11405 (cd tcl && \
11406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11408 "RANLIB=$${RANLIB}" \
11409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11410 install-info) \
11411 || exit 1
11413 @endif tcl
11415 .PHONY: maybe-installcheck-tcl installcheck-tcl
11416 maybe-installcheck-tcl:
11417 @if tcl
11418 maybe-installcheck-tcl: installcheck-tcl
11420 installcheck-tcl: \
11421 configure-tcl
11422 @[ -f ./tcl/Makefile ] || exit 0; \
11423 r=`${PWD_COMMAND}`; export r; \
11424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11425 $(SET_LIB_PATH) \
11426 $(HOST_EXPORTS) \
11427 for flag in $(EXTRA_HOST_FLAGS) ; do \
11428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11429 done; \
11430 echo "Doing installcheck in tcl" ; \
11431 (cd tcl && \
11432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11434 "RANLIB=$${RANLIB}" \
11435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11436 installcheck) \
11437 || exit 1
11439 @endif tcl
11441 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
11442 maybe-mostlyclean-tcl:
11443 @if tcl
11444 maybe-mostlyclean-tcl: mostlyclean-tcl
11446 # tcl doesn't support mostlyclean.
11447 mostlyclean-tcl:
11449 @endif tcl
11451 .PHONY: maybe-clean-tcl clean-tcl
11452 maybe-clean-tcl:
11453 @if tcl
11454 maybe-clean-tcl: clean-tcl
11456 clean-tcl:
11457 @[ -f ./tcl/Makefile ] || exit 0; \
11458 r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 $(SET_LIB_PATH) \
11461 $(HOST_EXPORTS) \
11462 for flag in $(EXTRA_HOST_FLAGS) ; do \
11463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11464 done; \
11465 echo "Doing clean in tcl" ; \
11466 (cd tcl && \
11467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11469 "RANLIB=$${RANLIB}" \
11470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11471 clean) \
11472 || exit 1
11474 @endif tcl
11476 .PHONY: maybe-distclean-tcl distclean-tcl
11477 maybe-distclean-tcl:
11478 @if tcl
11479 maybe-distclean-tcl: distclean-tcl
11481 distclean-tcl:
11482 @[ -f ./tcl/Makefile ] || exit 0; \
11483 r=`${PWD_COMMAND}`; export r; \
11484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11485 $(SET_LIB_PATH) \
11486 $(HOST_EXPORTS) \
11487 for flag in $(EXTRA_HOST_FLAGS) ; do \
11488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11489 done; \
11490 echo "Doing distclean in tcl" ; \
11491 (cd tcl && \
11492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11494 "RANLIB=$${RANLIB}" \
11495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11496 distclean) \
11497 || exit 1
11499 @endif tcl
11501 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
11502 maybe-maintainer-clean-tcl:
11503 @if tcl
11504 maybe-maintainer-clean-tcl: maintainer-clean-tcl
11506 maintainer-clean-tcl:
11507 @[ -f ./tcl/Makefile ] || exit 0; \
11508 r=`${PWD_COMMAND}`; export r; \
11509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 $(SET_LIB_PATH) \
11511 $(HOST_EXPORTS) \
11512 for flag in $(EXTRA_HOST_FLAGS) ; do \
11513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11514 done; \
11515 echo "Doing maintainer-clean in tcl" ; \
11516 (cd tcl && \
11517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11519 "RANLIB=$${RANLIB}" \
11520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11521 maintainer-clean) \
11522 || exit 1
11524 @endif tcl
11527 .PHONY: configure-itcl maybe-configure-itcl
11528 maybe-configure-itcl:
11529 @if itcl
11530 maybe-configure-itcl: configure-itcl
11531 configure-itcl:
11532 @test ! -f itcl/Makefile || exit 0; \
11533 [ -d itcl ] || mkdir itcl; \
11534 r=`${PWD_COMMAND}`; export r; \
11535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11536 $(HOST_EXPORTS) \
11537 echo Configuring in itcl; \
11538 cd itcl || exit 1; \
11539 case $(srcdir) in \
11540 \.) \
11541 srcdiroption="--srcdir=."; \
11542 libsrcdir=".";; \
11543 /* | [A-Za-z]:[\\/]*) \
11544 srcdiroption="--srcdir=$(srcdir)/itcl"; \
11545 libsrcdir="$$s/itcl";; \
11546 *) \
11547 srcdiroption="--srcdir=../$(srcdir)/itcl"; \
11548 libsrcdir="$$s/itcl";; \
11549 esac; \
11550 $(SHELL) $${libsrcdir}/configure \
11551 $(HOST_CONFIGARGS) $${srcdiroption} \
11552 || exit 1
11553 @endif itcl
11555 .PHONY: all-itcl maybe-all-itcl
11556 maybe-all-itcl:
11557 @if itcl
11558 maybe-all-itcl: all-itcl
11559 all-itcl: configure-itcl
11560 @r=`${PWD_COMMAND}`; export r; \
11561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11562 $(SET_LIB_PATH) \
11563 $(HOST_EXPORTS) \
11564 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) all)
11565 @endif itcl
11567 .PHONY: check-itcl maybe-check-itcl
11568 maybe-check-itcl:
11569 @if itcl
11570 maybe-check-itcl: check-itcl
11572 check-itcl:
11573 @r=`${PWD_COMMAND}`; export r; \
11574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11575 $(SET_LIB_PATH) \
11576 $(HOST_EXPORTS) \
11577 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) check)
11579 @endif itcl
11581 .PHONY: install-itcl maybe-install-itcl
11582 maybe-install-itcl:
11583 @if itcl
11584 maybe-install-itcl: install-itcl
11586 install-itcl: installdirs
11587 @r=`${PWD_COMMAND}`; export r; \
11588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11589 $(SET_LIB_PATH) \
11590 $(HOST_EXPORTS) \
11591 (cd itcl && $(MAKE) $(FLAGS_TO_PASS) install)
11593 @endif itcl
11595 # Other targets (info, dvi, etc.)
11597 .PHONY: maybe-info-itcl info-itcl
11598 maybe-info-itcl:
11599 @if itcl
11600 maybe-info-itcl: info-itcl
11602 info-itcl: \
11603 configure-itcl
11604 @[ -f ./itcl/Makefile ] || exit 0; \
11605 r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(SET_LIB_PATH) \
11608 $(HOST_EXPORTS) \
11609 for flag in $(EXTRA_HOST_FLAGS) ; do \
11610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11611 done; \
11612 echo "Doing info in itcl" ; \
11613 (cd itcl && \
11614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11616 "RANLIB=$${RANLIB}" \
11617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11618 info) \
11619 || exit 1
11621 @endif itcl
11623 .PHONY: maybe-dvi-itcl dvi-itcl
11624 maybe-dvi-itcl:
11625 @if itcl
11626 maybe-dvi-itcl: dvi-itcl
11628 dvi-itcl: \
11629 configure-itcl
11630 @[ -f ./itcl/Makefile ] || exit 0; \
11631 r=`${PWD_COMMAND}`; export r; \
11632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11633 $(SET_LIB_PATH) \
11634 $(HOST_EXPORTS) \
11635 for flag in $(EXTRA_HOST_FLAGS) ; do \
11636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11637 done; \
11638 echo "Doing dvi in itcl" ; \
11639 (cd itcl && \
11640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11642 "RANLIB=$${RANLIB}" \
11643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11644 dvi) \
11645 || exit 1
11647 @endif itcl
11649 .PHONY: maybe-TAGS-itcl TAGS-itcl
11650 maybe-TAGS-itcl:
11651 @if itcl
11652 maybe-TAGS-itcl: TAGS-itcl
11654 TAGS-itcl: \
11655 configure-itcl
11656 @[ -f ./itcl/Makefile ] || exit 0; \
11657 r=`${PWD_COMMAND}`; export r; \
11658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11659 $(SET_LIB_PATH) \
11660 $(HOST_EXPORTS) \
11661 for flag in $(EXTRA_HOST_FLAGS) ; do \
11662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11663 done; \
11664 echo "Doing TAGS in itcl" ; \
11665 (cd itcl && \
11666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11668 "RANLIB=$${RANLIB}" \
11669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11670 TAGS) \
11671 || exit 1
11673 @endif itcl
11675 .PHONY: maybe-install-info-itcl install-info-itcl
11676 maybe-install-info-itcl:
11677 @if itcl
11678 maybe-install-info-itcl: install-info-itcl
11680 install-info-itcl: \
11681 configure-itcl \
11682 info-itcl
11683 @[ -f ./itcl/Makefile ] || exit 0; \
11684 r=`${PWD_COMMAND}`; export r; \
11685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11686 $(SET_LIB_PATH) \
11687 $(HOST_EXPORTS) \
11688 for flag in $(EXTRA_HOST_FLAGS) ; do \
11689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11690 done; \
11691 echo "Doing install-info in itcl" ; \
11692 (cd itcl && \
11693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11695 "RANLIB=$${RANLIB}" \
11696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11697 install-info) \
11698 || exit 1
11700 @endif itcl
11702 .PHONY: maybe-installcheck-itcl installcheck-itcl
11703 maybe-installcheck-itcl:
11704 @if itcl
11705 maybe-installcheck-itcl: installcheck-itcl
11707 installcheck-itcl: \
11708 configure-itcl
11709 @[ -f ./itcl/Makefile ] || exit 0; \
11710 r=`${PWD_COMMAND}`; export r; \
11711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11712 $(SET_LIB_PATH) \
11713 $(HOST_EXPORTS) \
11714 for flag in $(EXTRA_HOST_FLAGS) ; do \
11715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11716 done; \
11717 echo "Doing installcheck in itcl" ; \
11718 (cd itcl && \
11719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11721 "RANLIB=$${RANLIB}" \
11722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11723 installcheck) \
11724 || exit 1
11726 @endif itcl
11728 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
11729 maybe-mostlyclean-itcl:
11730 @if itcl
11731 maybe-mostlyclean-itcl: mostlyclean-itcl
11733 mostlyclean-itcl:
11734 @[ -f ./itcl/Makefile ] || exit 0; \
11735 r=`${PWD_COMMAND}`; export r; \
11736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11737 $(SET_LIB_PATH) \
11738 $(HOST_EXPORTS) \
11739 for flag in $(EXTRA_HOST_FLAGS) ; do \
11740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11741 done; \
11742 echo "Doing mostlyclean in itcl" ; \
11743 (cd itcl && \
11744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11746 "RANLIB=$${RANLIB}" \
11747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11748 mostlyclean) \
11749 || exit 1
11751 @endif itcl
11753 .PHONY: maybe-clean-itcl clean-itcl
11754 maybe-clean-itcl:
11755 @if itcl
11756 maybe-clean-itcl: clean-itcl
11758 clean-itcl:
11759 @[ -f ./itcl/Makefile ] || exit 0; \
11760 r=`${PWD_COMMAND}`; export r; \
11761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11762 $(SET_LIB_PATH) \
11763 $(HOST_EXPORTS) \
11764 for flag in $(EXTRA_HOST_FLAGS) ; do \
11765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11766 done; \
11767 echo "Doing clean in itcl" ; \
11768 (cd itcl && \
11769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11771 "RANLIB=$${RANLIB}" \
11772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11773 clean) \
11774 || exit 1
11776 @endif itcl
11778 .PHONY: maybe-distclean-itcl distclean-itcl
11779 maybe-distclean-itcl:
11780 @if itcl
11781 maybe-distclean-itcl: distclean-itcl
11783 distclean-itcl:
11784 @[ -f ./itcl/Makefile ] || exit 0; \
11785 r=`${PWD_COMMAND}`; export r; \
11786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11787 $(SET_LIB_PATH) \
11788 $(HOST_EXPORTS) \
11789 for flag in $(EXTRA_HOST_FLAGS) ; do \
11790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11791 done; \
11792 echo "Doing distclean in itcl" ; \
11793 (cd itcl && \
11794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11796 "RANLIB=$${RANLIB}" \
11797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11798 distclean) \
11799 || exit 1
11801 @endif itcl
11803 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
11804 maybe-maintainer-clean-itcl:
11805 @if itcl
11806 maybe-maintainer-clean-itcl: maintainer-clean-itcl
11808 maintainer-clean-itcl:
11809 @[ -f ./itcl/Makefile ] || exit 0; \
11810 r=`${PWD_COMMAND}`; export r; \
11811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11812 $(SET_LIB_PATH) \
11813 $(HOST_EXPORTS) \
11814 for flag in $(EXTRA_HOST_FLAGS) ; do \
11815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11816 done; \
11817 echo "Doing maintainer-clean in itcl" ; \
11818 (cd itcl && \
11819 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11820 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11821 "RANLIB=$${RANLIB}" \
11822 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11823 maintainer-clean) \
11824 || exit 1
11826 @endif itcl
11829 .PHONY: configure-ld maybe-configure-ld
11830 maybe-configure-ld:
11831 @if ld
11832 maybe-configure-ld: configure-ld
11833 configure-ld:
11834 @test -f stage_last && exit 0; \
11835 test ! -f ld/Makefile || exit 0; \
11836 [ -d ld ] || mkdir ld; \
11837 r=`${PWD_COMMAND}`; export r; \
11838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11839 $(HOST_EXPORTS) \
11840 echo Configuring in ld; \
11841 cd ld || exit 1; \
11842 case $(srcdir) in \
11843 \.) \
11844 srcdiroption="--srcdir=."; \
11845 libsrcdir=".";; \
11846 /* | [A-Za-z]:[\\/]*) \
11847 srcdiroption="--srcdir=$(srcdir)/ld"; \
11848 libsrcdir="$$s/ld";; \
11849 *) \
11850 srcdiroption="--srcdir=../$(srcdir)/ld"; \
11851 libsrcdir="$$s/ld";; \
11852 esac; \
11853 $(SHELL) $${libsrcdir}/configure \
11854 $(HOST_CONFIGARGS) $${srcdiroption} \
11855 || exit 1
11856 @endif ld
11858 .PHONY: all-ld maybe-all-ld
11859 maybe-all-ld:
11860 @if ld
11861 maybe-all-ld: all-ld
11862 all-ld: configure-ld
11863 @test -f stage_last && exit 0; \
11864 r=`${PWD_COMMAND}`; export r; \
11865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11866 $(SET_LIB_PATH) \
11867 $(HOST_EXPORTS) \
11868 (cd ld && $(MAKE) $(FLAGS_TO_PASS) all)
11869 @endif ld
11871 .PHONY: check-ld maybe-check-ld
11872 maybe-check-ld:
11873 @if ld
11874 maybe-check-ld: check-ld
11876 check-ld:
11877 @r=`${PWD_COMMAND}`; export r; \
11878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11879 $(SET_LIB_PATH) \
11880 $(HOST_EXPORTS) \
11881 (cd ld && $(MAKE) $(FLAGS_TO_PASS) check)
11883 @endif ld
11885 .PHONY: install-ld maybe-install-ld
11886 maybe-install-ld:
11887 @if ld
11888 maybe-install-ld: install-ld
11890 install-ld: installdirs
11891 @r=`${PWD_COMMAND}`; export r; \
11892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11893 $(SET_LIB_PATH) \
11894 $(HOST_EXPORTS) \
11895 (cd ld && $(MAKE) $(FLAGS_TO_PASS) install)
11897 @endif ld
11899 # Other targets (info, dvi, etc.)
11901 .PHONY: maybe-info-ld info-ld
11902 maybe-info-ld:
11903 @if ld
11904 maybe-info-ld: info-ld
11906 info-ld: \
11907 configure-ld
11908 @[ -f ./ld/Makefile ] || exit 0; \
11909 r=`${PWD_COMMAND}`; export r; \
11910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11911 $(SET_LIB_PATH) \
11912 $(HOST_EXPORTS) \
11913 for flag in $(EXTRA_HOST_FLAGS) ; do \
11914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11915 done; \
11916 echo "Doing info in ld" ; \
11917 (cd ld && \
11918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11920 "RANLIB=$${RANLIB}" \
11921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11922 info) \
11923 || exit 1
11925 @endif ld
11927 .PHONY: maybe-dvi-ld dvi-ld
11928 maybe-dvi-ld:
11929 @if ld
11930 maybe-dvi-ld: dvi-ld
11932 dvi-ld: \
11933 configure-ld
11934 @[ -f ./ld/Makefile ] || exit 0; \
11935 r=`${PWD_COMMAND}`; export r; \
11936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11937 $(SET_LIB_PATH) \
11938 $(HOST_EXPORTS) \
11939 for flag in $(EXTRA_HOST_FLAGS) ; do \
11940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11941 done; \
11942 echo "Doing dvi in ld" ; \
11943 (cd ld && \
11944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11946 "RANLIB=$${RANLIB}" \
11947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11948 dvi) \
11949 || exit 1
11951 @endif ld
11953 .PHONY: maybe-TAGS-ld TAGS-ld
11954 maybe-TAGS-ld:
11955 @if ld
11956 maybe-TAGS-ld: TAGS-ld
11958 TAGS-ld: \
11959 configure-ld
11960 @[ -f ./ld/Makefile ] || exit 0; \
11961 r=`${PWD_COMMAND}`; export r; \
11962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11963 $(SET_LIB_PATH) \
11964 $(HOST_EXPORTS) \
11965 for flag in $(EXTRA_HOST_FLAGS) ; do \
11966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11967 done; \
11968 echo "Doing TAGS in ld" ; \
11969 (cd ld && \
11970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11972 "RANLIB=$${RANLIB}" \
11973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11974 TAGS) \
11975 || exit 1
11977 @endif ld
11979 .PHONY: maybe-install-info-ld install-info-ld
11980 maybe-install-info-ld:
11981 @if ld
11982 maybe-install-info-ld: install-info-ld
11984 install-info-ld: \
11985 configure-ld \
11986 info-ld
11987 @[ -f ./ld/Makefile ] || exit 0; \
11988 r=`${PWD_COMMAND}`; export r; \
11989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11990 $(SET_LIB_PATH) \
11991 $(HOST_EXPORTS) \
11992 for flag in $(EXTRA_HOST_FLAGS) ; do \
11993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11994 done; \
11995 echo "Doing install-info in ld" ; \
11996 (cd ld && \
11997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11999 "RANLIB=$${RANLIB}" \
12000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12001 install-info) \
12002 || exit 1
12004 @endif ld
12006 .PHONY: maybe-installcheck-ld installcheck-ld
12007 maybe-installcheck-ld:
12008 @if ld
12009 maybe-installcheck-ld: installcheck-ld
12011 installcheck-ld: \
12012 configure-ld
12013 @[ -f ./ld/Makefile ] || exit 0; \
12014 r=`${PWD_COMMAND}`; export r; \
12015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12016 $(SET_LIB_PATH) \
12017 $(HOST_EXPORTS) \
12018 for flag in $(EXTRA_HOST_FLAGS) ; do \
12019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12020 done; \
12021 echo "Doing installcheck in ld" ; \
12022 (cd ld && \
12023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12025 "RANLIB=$${RANLIB}" \
12026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12027 installcheck) \
12028 || exit 1
12030 @endif ld
12032 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
12033 maybe-mostlyclean-ld:
12034 @if ld
12035 maybe-mostlyclean-ld: mostlyclean-ld
12037 mostlyclean-ld:
12038 @[ -f ./ld/Makefile ] || exit 0; \
12039 r=`${PWD_COMMAND}`; export r; \
12040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12041 $(SET_LIB_PATH) \
12042 $(HOST_EXPORTS) \
12043 for flag in $(EXTRA_HOST_FLAGS) ; do \
12044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12045 done; \
12046 echo "Doing mostlyclean in ld" ; \
12047 (cd ld && \
12048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12050 "RANLIB=$${RANLIB}" \
12051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12052 mostlyclean) \
12053 || exit 1
12055 @endif ld
12057 .PHONY: maybe-clean-ld clean-ld
12058 maybe-clean-ld:
12059 @if ld
12060 maybe-clean-ld: clean-ld
12062 clean-ld:
12063 @[ -f ./ld/Makefile ] || exit 0; \
12064 r=`${PWD_COMMAND}`; export r; \
12065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12066 $(SET_LIB_PATH) \
12067 $(HOST_EXPORTS) \
12068 for flag in $(EXTRA_HOST_FLAGS) ; do \
12069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12070 done; \
12071 echo "Doing clean in ld" ; \
12072 (cd ld && \
12073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12075 "RANLIB=$${RANLIB}" \
12076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12077 clean) \
12078 || exit 1
12080 @endif ld
12082 .PHONY: maybe-distclean-ld distclean-ld
12083 maybe-distclean-ld:
12084 @if ld
12085 maybe-distclean-ld: distclean-ld
12087 distclean-ld:
12088 @[ -f ./ld/Makefile ] || exit 0; \
12089 r=`${PWD_COMMAND}`; export r; \
12090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12091 $(SET_LIB_PATH) \
12092 $(HOST_EXPORTS) \
12093 for flag in $(EXTRA_HOST_FLAGS) ; do \
12094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12095 done; \
12096 echo "Doing distclean in ld" ; \
12097 (cd ld && \
12098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12100 "RANLIB=$${RANLIB}" \
12101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12102 distclean) \
12103 || exit 1
12105 @endif ld
12107 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
12108 maybe-maintainer-clean-ld:
12109 @if ld
12110 maybe-maintainer-clean-ld: maintainer-clean-ld
12112 maintainer-clean-ld:
12113 @[ -f ./ld/Makefile ] || exit 0; \
12114 r=`${PWD_COMMAND}`; export r; \
12115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12116 $(SET_LIB_PATH) \
12117 $(HOST_EXPORTS) \
12118 for flag in $(EXTRA_HOST_FLAGS) ; do \
12119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12120 done; \
12121 echo "Doing maintainer-clean in ld" ; \
12122 (cd ld && \
12123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12125 "RANLIB=$${RANLIB}" \
12126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12127 maintainer-clean) \
12128 || exit 1
12130 @endif ld
12133 .PHONY: configure-libcpp maybe-configure-libcpp
12134 maybe-configure-libcpp:
12135 @if libcpp
12136 maybe-configure-libcpp: configure-libcpp
12137 configure-libcpp:
12138 @test -f stage_last && exit 0; \
12139 test ! -f libcpp/Makefile || exit 0; \
12140 [ -d libcpp ] || mkdir libcpp; \
12141 r=`${PWD_COMMAND}`; export r; \
12142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12143 $(HOST_EXPORTS) \
12144 echo Configuring in libcpp; \
12145 cd libcpp || exit 1; \
12146 case $(srcdir) in \
12147 \.) \
12148 srcdiroption="--srcdir=."; \
12149 libsrcdir=".";; \
12150 /* | [A-Za-z]:[\\/]*) \
12151 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
12152 libsrcdir="$$s/libcpp";; \
12153 *) \
12154 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
12155 libsrcdir="$$s/libcpp";; \
12156 esac; \
12157 $(SHELL) $${libsrcdir}/configure \
12158 $(HOST_CONFIGARGS) $${srcdiroption} \
12159 || exit 1
12160 @endif libcpp
12162 .PHONY: all-libcpp maybe-all-libcpp
12163 maybe-all-libcpp:
12164 @if libcpp
12165 maybe-all-libcpp: all-libcpp
12166 all-libcpp: configure-libcpp
12167 @test -f stage_last && exit 0; \
12168 r=`${PWD_COMMAND}`; export r; \
12169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 $(SET_LIB_PATH) \
12171 $(HOST_EXPORTS) \
12172 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) all)
12173 @endif libcpp
12175 .PHONY: check-libcpp maybe-check-libcpp
12176 maybe-check-libcpp:
12177 @if libcpp
12178 maybe-check-libcpp: check-libcpp
12180 check-libcpp:
12181 @r=`${PWD_COMMAND}`; export r; \
12182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12183 $(SET_LIB_PATH) \
12184 $(HOST_EXPORTS) \
12185 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) check)
12187 @endif libcpp
12189 .PHONY: install-libcpp maybe-install-libcpp
12190 maybe-install-libcpp:
12191 @if libcpp
12192 maybe-install-libcpp: install-libcpp
12194 install-libcpp: installdirs
12195 @r=`${PWD_COMMAND}`; export r; \
12196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12197 $(SET_LIB_PATH) \
12198 $(HOST_EXPORTS) \
12199 (cd libcpp && $(MAKE) $(FLAGS_TO_PASS) install)
12201 @endif libcpp
12203 # Other targets (info, dvi, etc.)
12205 .PHONY: maybe-info-libcpp info-libcpp
12206 maybe-info-libcpp:
12207 @if libcpp
12208 maybe-info-libcpp: info-libcpp
12210 info-libcpp: \
12211 configure-libcpp
12212 @[ -f ./libcpp/Makefile ] || exit 0; \
12213 r=`${PWD_COMMAND}`; export r; \
12214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12215 $(SET_LIB_PATH) \
12216 $(HOST_EXPORTS) \
12217 for flag in $(EXTRA_HOST_FLAGS) ; do \
12218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12219 done; \
12220 echo "Doing info in libcpp" ; \
12221 (cd libcpp && \
12222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12224 "RANLIB=$${RANLIB}" \
12225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12226 info) \
12227 || exit 1
12229 @endif libcpp
12231 .PHONY: maybe-dvi-libcpp dvi-libcpp
12232 maybe-dvi-libcpp:
12233 @if libcpp
12234 maybe-dvi-libcpp: dvi-libcpp
12236 dvi-libcpp: \
12237 configure-libcpp
12238 @[ -f ./libcpp/Makefile ] || exit 0; \
12239 r=`${PWD_COMMAND}`; export r; \
12240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12241 $(SET_LIB_PATH) \
12242 $(HOST_EXPORTS) \
12243 for flag in $(EXTRA_HOST_FLAGS) ; do \
12244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12245 done; \
12246 echo "Doing dvi in libcpp" ; \
12247 (cd libcpp && \
12248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12250 "RANLIB=$${RANLIB}" \
12251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12252 dvi) \
12253 || exit 1
12255 @endif libcpp
12257 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
12258 maybe-TAGS-libcpp:
12259 @if libcpp
12260 maybe-TAGS-libcpp: TAGS-libcpp
12262 TAGS-libcpp: \
12263 configure-libcpp
12264 @[ -f ./libcpp/Makefile ] || exit 0; \
12265 r=`${PWD_COMMAND}`; export r; \
12266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12267 $(SET_LIB_PATH) \
12268 $(HOST_EXPORTS) \
12269 for flag in $(EXTRA_HOST_FLAGS) ; do \
12270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12271 done; \
12272 echo "Doing TAGS in libcpp" ; \
12273 (cd libcpp && \
12274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12276 "RANLIB=$${RANLIB}" \
12277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12278 TAGS) \
12279 || exit 1
12281 @endif libcpp
12283 .PHONY: maybe-install-info-libcpp install-info-libcpp
12284 maybe-install-info-libcpp:
12285 @if libcpp
12286 maybe-install-info-libcpp: install-info-libcpp
12288 install-info-libcpp: \
12289 configure-libcpp \
12290 info-libcpp
12291 @[ -f ./libcpp/Makefile ] || exit 0; \
12292 r=`${PWD_COMMAND}`; export r; \
12293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12294 $(SET_LIB_PATH) \
12295 $(HOST_EXPORTS) \
12296 for flag in $(EXTRA_HOST_FLAGS) ; do \
12297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12298 done; \
12299 echo "Doing install-info in libcpp" ; \
12300 (cd libcpp && \
12301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12303 "RANLIB=$${RANLIB}" \
12304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12305 install-info) \
12306 || exit 1
12308 @endif libcpp
12310 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
12311 maybe-installcheck-libcpp:
12312 @if libcpp
12313 maybe-installcheck-libcpp: installcheck-libcpp
12315 installcheck-libcpp: \
12316 configure-libcpp
12317 @[ -f ./libcpp/Makefile ] || exit 0; \
12318 r=`${PWD_COMMAND}`; export r; \
12319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12320 $(SET_LIB_PATH) \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing installcheck in libcpp" ; \
12326 (cd libcpp && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 installcheck) \
12332 || exit 1
12334 @endif libcpp
12336 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
12337 maybe-mostlyclean-libcpp:
12338 @if libcpp
12339 maybe-mostlyclean-libcpp: mostlyclean-libcpp
12341 mostlyclean-libcpp:
12342 @[ -f ./libcpp/Makefile ] || exit 0; \
12343 r=`${PWD_COMMAND}`; export r; \
12344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12345 $(SET_LIB_PATH) \
12346 $(HOST_EXPORTS) \
12347 for flag in $(EXTRA_HOST_FLAGS) ; do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing mostlyclean in libcpp" ; \
12351 (cd libcpp && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12356 mostlyclean) \
12357 || exit 1
12359 @endif libcpp
12361 .PHONY: maybe-clean-libcpp clean-libcpp
12362 maybe-clean-libcpp:
12363 @if libcpp
12364 maybe-clean-libcpp: clean-libcpp
12366 clean-libcpp:
12367 @[ -f ./libcpp/Makefile ] || exit 0; \
12368 r=`${PWD_COMMAND}`; export r; \
12369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12370 $(SET_LIB_PATH) \
12371 $(HOST_EXPORTS) \
12372 for flag in $(EXTRA_HOST_FLAGS) ; do \
12373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12374 done; \
12375 echo "Doing clean in libcpp" ; \
12376 (cd libcpp && \
12377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12379 "RANLIB=$${RANLIB}" \
12380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12381 clean) \
12382 || exit 1
12384 @endif libcpp
12386 .PHONY: maybe-distclean-libcpp distclean-libcpp
12387 maybe-distclean-libcpp:
12388 @if libcpp
12389 maybe-distclean-libcpp: distclean-libcpp
12391 distclean-libcpp:
12392 @[ -f ./libcpp/Makefile ] || exit 0; \
12393 r=`${PWD_COMMAND}`; export r; \
12394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12395 $(SET_LIB_PATH) \
12396 $(HOST_EXPORTS) \
12397 for flag in $(EXTRA_HOST_FLAGS) ; do \
12398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12399 done; \
12400 echo "Doing distclean in libcpp" ; \
12401 (cd libcpp && \
12402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12404 "RANLIB=$${RANLIB}" \
12405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12406 distclean) \
12407 || exit 1
12409 @endif libcpp
12411 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
12412 maybe-maintainer-clean-libcpp:
12413 @if libcpp
12414 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
12416 maintainer-clean-libcpp:
12417 @[ -f ./libcpp/Makefile ] || exit 0; \
12418 r=`${PWD_COMMAND}`; export r; \
12419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12420 $(SET_LIB_PATH) \
12421 $(HOST_EXPORTS) \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12424 done; \
12425 echo "Doing maintainer-clean in libcpp" ; \
12426 (cd libcpp && \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12431 maintainer-clean) \
12432 || exit 1
12434 @endif libcpp
12437 .PHONY: configure-libgui maybe-configure-libgui
12438 maybe-configure-libgui:
12439 @if libgui
12440 maybe-configure-libgui: configure-libgui
12441 configure-libgui:
12442 @test ! -f libgui/Makefile || exit 0; \
12443 [ -d libgui ] || mkdir libgui; \
12444 r=`${PWD_COMMAND}`; export r; \
12445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12446 $(HOST_EXPORTS) \
12447 echo Configuring in libgui; \
12448 cd libgui || exit 1; \
12449 case $(srcdir) in \
12450 \.) \
12451 srcdiroption="--srcdir=."; \
12452 libsrcdir=".";; \
12453 /* | [A-Za-z]:[\\/]*) \
12454 srcdiroption="--srcdir=$(srcdir)/libgui"; \
12455 libsrcdir="$$s/libgui";; \
12456 *) \
12457 srcdiroption="--srcdir=../$(srcdir)/libgui"; \
12458 libsrcdir="$$s/libgui";; \
12459 esac; \
12460 $(SHELL) $${libsrcdir}/configure \
12461 $(HOST_CONFIGARGS) $${srcdiroption} \
12462 || exit 1
12463 @endif libgui
12465 .PHONY: all-libgui maybe-all-libgui
12466 maybe-all-libgui:
12467 @if libgui
12468 maybe-all-libgui: all-libgui
12469 all-libgui: configure-libgui
12470 @r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 $(SET_LIB_PATH) \
12473 $(HOST_EXPORTS) \
12474 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) all)
12475 @endif libgui
12477 .PHONY: check-libgui maybe-check-libgui
12478 maybe-check-libgui:
12479 @if libgui
12480 maybe-check-libgui: check-libgui
12482 check-libgui:
12483 @r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 $(SET_LIB_PATH) \
12486 $(HOST_EXPORTS) \
12487 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) check)
12489 @endif libgui
12491 .PHONY: install-libgui maybe-install-libgui
12492 maybe-install-libgui:
12493 @if libgui
12494 maybe-install-libgui: install-libgui
12496 install-libgui: installdirs
12497 @r=`${PWD_COMMAND}`; export r; \
12498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12499 $(SET_LIB_PATH) \
12500 $(HOST_EXPORTS) \
12501 (cd libgui && $(MAKE) $(FLAGS_TO_PASS) install)
12503 @endif libgui
12505 # Other targets (info, dvi, etc.)
12507 .PHONY: maybe-info-libgui info-libgui
12508 maybe-info-libgui:
12509 @if libgui
12510 maybe-info-libgui: info-libgui
12512 info-libgui: \
12513 configure-libgui
12514 @[ -f ./libgui/Makefile ] || exit 0; \
12515 r=`${PWD_COMMAND}`; export r; \
12516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12517 $(SET_LIB_PATH) \
12518 $(HOST_EXPORTS) \
12519 for flag in $(EXTRA_HOST_FLAGS) ; do \
12520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12521 done; \
12522 echo "Doing info in libgui" ; \
12523 (cd libgui && \
12524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12526 "RANLIB=$${RANLIB}" \
12527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12528 info) \
12529 || exit 1
12531 @endif libgui
12533 .PHONY: maybe-dvi-libgui dvi-libgui
12534 maybe-dvi-libgui:
12535 @if libgui
12536 maybe-dvi-libgui: dvi-libgui
12538 dvi-libgui: \
12539 configure-libgui
12540 @[ -f ./libgui/Makefile ] || exit 0; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 $(SET_LIB_PATH) \
12544 $(HOST_EXPORTS) \
12545 for flag in $(EXTRA_HOST_FLAGS) ; do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547 done; \
12548 echo "Doing dvi in libgui" ; \
12549 (cd libgui && \
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}" \
12554 dvi) \
12555 || exit 1
12557 @endif libgui
12559 .PHONY: maybe-TAGS-libgui TAGS-libgui
12560 maybe-TAGS-libgui:
12561 @if libgui
12562 maybe-TAGS-libgui: TAGS-libgui
12564 TAGS-libgui: \
12565 configure-libgui
12566 @[ -f ./libgui/Makefile ] || exit 0; \
12567 r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12569 $(SET_LIB_PATH) \
12570 $(HOST_EXPORTS) \
12571 for flag in $(EXTRA_HOST_FLAGS) ; do \
12572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12573 done; \
12574 echo "Doing TAGS in libgui" ; \
12575 (cd libgui && \
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}" \
12580 TAGS) \
12581 || exit 1
12583 @endif libgui
12585 .PHONY: maybe-install-info-libgui install-info-libgui
12586 maybe-install-info-libgui:
12587 @if libgui
12588 maybe-install-info-libgui: install-info-libgui
12590 install-info-libgui: \
12591 configure-libgui \
12592 info-libgui
12593 @[ -f ./libgui/Makefile ] || exit 0; \
12594 r=`${PWD_COMMAND}`; export r; \
12595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12596 $(SET_LIB_PATH) \
12597 $(HOST_EXPORTS) \
12598 for flag in $(EXTRA_HOST_FLAGS) ; do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 done; \
12601 echo "Doing install-info in libgui" ; \
12602 (cd libgui && \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 install-info) \
12608 || exit 1
12610 @endif libgui
12612 .PHONY: maybe-installcheck-libgui installcheck-libgui
12613 maybe-installcheck-libgui:
12614 @if libgui
12615 maybe-installcheck-libgui: installcheck-libgui
12617 installcheck-libgui: \
12618 configure-libgui
12619 @[ -f ./libgui/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(SET_LIB_PATH) \
12623 $(HOST_EXPORTS) \
12624 for flag in $(EXTRA_HOST_FLAGS) ; do \
12625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12626 done; \
12627 echo "Doing installcheck in libgui" ; \
12628 (cd libgui && \
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}" \
12633 installcheck) \
12634 || exit 1
12636 @endif libgui
12638 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
12639 maybe-mostlyclean-libgui:
12640 @if libgui
12641 maybe-mostlyclean-libgui: mostlyclean-libgui
12643 mostlyclean-libgui:
12644 @[ -f ./libgui/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(SET_LIB_PATH) \
12648 $(HOST_EXPORTS) \
12649 for flag in $(EXTRA_HOST_FLAGS) ; do \
12650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12651 done; \
12652 echo "Doing mostlyclean in libgui" ; \
12653 (cd libgui && \
12654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12656 "RANLIB=$${RANLIB}" \
12657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12658 mostlyclean) \
12659 || exit 1
12661 @endif libgui
12663 .PHONY: maybe-clean-libgui clean-libgui
12664 maybe-clean-libgui:
12665 @if libgui
12666 maybe-clean-libgui: clean-libgui
12668 clean-libgui:
12669 @[ -f ./libgui/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(SET_LIB_PATH) \
12673 $(HOST_EXPORTS) \
12674 for flag in $(EXTRA_HOST_FLAGS) ; do \
12675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12676 done; \
12677 echo "Doing clean in libgui" ; \
12678 (cd libgui && \
12679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12681 "RANLIB=$${RANLIB}" \
12682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12683 clean) \
12684 || exit 1
12686 @endif libgui
12688 .PHONY: maybe-distclean-libgui distclean-libgui
12689 maybe-distclean-libgui:
12690 @if libgui
12691 maybe-distclean-libgui: distclean-libgui
12693 distclean-libgui:
12694 @[ -f ./libgui/Makefile ] || exit 0; \
12695 r=`${PWD_COMMAND}`; export r; \
12696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12697 $(SET_LIB_PATH) \
12698 $(HOST_EXPORTS) \
12699 for flag in $(EXTRA_HOST_FLAGS) ; do \
12700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12701 done; \
12702 echo "Doing distclean in libgui" ; \
12703 (cd libgui && \
12704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12706 "RANLIB=$${RANLIB}" \
12707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12708 distclean) \
12709 || exit 1
12711 @endif libgui
12713 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
12714 maybe-maintainer-clean-libgui:
12715 @if libgui
12716 maybe-maintainer-clean-libgui: maintainer-clean-libgui
12718 maintainer-clean-libgui:
12719 @[ -f ./libgui/Makefile ] || exit 0; \
12720 r=`${PWD_COMMAND}`; export r; \
12721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12722 $(SET_LIB_PATH) \
12723 $(HOST_EXPORTS) \
12724 for flag in $(EXTRA_HOST_FLAGS) ; do \
12725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12726 done; \
12727 echo "Doing maintainer-clean in libgui" ; \
12728 (cd libgui && \
12729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12731 "RANLIB=$${RANLIB}" \
12732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12733 maintainer-clean) \
12734 || exit 1
12736 @endif libgui
12739 .PHONY: configure-libbanshee maybe-configure-libbanshee
12740 maybe-configure-libbanshee:
12741 @if libbanshee
12742 maybe-configure-libbanshee: configure-libbanshee
12743 configure-libbanshee:
12744 @test -f stage_last && exit 0; \
12745 test ! -f libbanshee/Makefile || exit 0; \
12746 [ -d libbanshee ] || mkdir libbanshee; \
12747 r=`${PWD_COMMAND}`; export r; \
12748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12749 $(HOST_EXPORTS) \
12750 echo Configuring in libbanshee; \
12751 cd libbanshee || exit 1; \
12752 case $(srcdir) in \
12753 \.) \
12754 srcdiroption="--srcdir=."; \
12755 libsrcdir=".";; \
12756 /* | [A-Za-z]:[\\/]*) \
12757 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
12758 libsrcdir="$$s/libbanshee";; \
12759 *) \
12760 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
12761 libsrcdir="$$s/libbanshee";; \
12762 esac; \
12763 $(SHELL) $${libsrcdir}/configure \
12764 $(HOST_CONFIGARGS) $${srcdiroption} \
12765 || exit 1
12766 @endif libbanshee
12768 .PHONY: all-libbanshee maybe-all-libbanshee
12769 maybe-all-libbanshee:
12770 @if libbanshee
12771 maybe-all-libbanshee: all-libbanshee
12772 all-libbanshee: configure-libbanshee
12773 @test -f stage_last && exit 0; \
12774 r=`${PWD_COMMAND}`; export r; \
12775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12776 $(SET_LIB_PATH) \
12777 $(HOST_EXPORTS) \
12778 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) all)
12779 @endif libbanshee
12781 .PHONY: check-libbanshee maybe-check-libbanshee
12782 maybe-check-libbanshee:
12783 @if libbanshee
12784 maybe-check-libbanshee: check-libbanshee
12786 check-libbanshee:
12787 @r=`${PWD_COMMAND}`; export r; \
12788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12789 $(SET_LIB_PATH) \
12790 $(HOST_EXPORTS) \
12791 (cd libbanshee && $(MAKE) $(FLAGS_TO_PASS) check)
12793 @endif libbanshee
12795 .PHONY: install-libbanshee maybe-install-libbanshee
12796 maybe-install-libbanshee:
12797 @if libbanshee
12798 maybe-install-libbanshee: install-libbanshee
12800 install-libbanshee:
12802 @endif libbanshee
12804 # Other targets (info, dvi, etc.)
12806 .PHONY: maybe-info-libbanshee info-libbanshee
12807 maybe-info-libbanshee:
12808 @if libbanshee
12809 maybe-info-libbanshee: info-libbanshee
12811 info-libbanshee: \
12812 configure-libbanshee
12813 @[ -f ./libbanshee/Makefile ] || exit 0; \
12814 r=`${PWD_COMMAND}`; export r; \
12815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12816 $(SET_LIB_PATH) \
12817 $(HOST_EXPORTS) \
12818 for flag in $(EXTRA_HOST_FLAGS) ; do \
12819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12820 done; \
12821 echo "Doing info in libbanshee" ; \
12822 (cd libbanshee && \
12823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12825 "RANLIB=$${RANLIB}" \
12826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12827 info) \
12828 || exit 1
12830 @endif libbanshee
12832 .PHONY: maybe-dvi-libbanshee dvi-libbanshee
12833 maybe-dvi-libbanshee:
12834 @if libbanshee
12835 maybe-dvi-libbanshee: dvi-libbanshee
12837 dvi-libbanshee: \
12838 configure-libbanshee
12839 @[ -f ./libbanshee/Makefile ] || exit 0; \
12840 r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(SET_LIB_PATH) \
12843 $(HOST_EXPORTS) \
12844 for flag in $(EXTRA_HOST_FLAGS) ; do \
12845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12846 done; \
12847 echo "Doing dvi in libbanshee" ; \
12848 (cd libbanshee && \
12849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12851 "RANLIB=$${RANLIB}" \
12852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12853 dvi) \
12854 || exit 1
12856 @endif libbanshee
12858 .PHONY: maybe-TAGS-libbanshee TAGS-libbanshee
12859 maybe-TAGS-libbanshee:
12860 @if libbanshee
12861 maybe-TAGS-libbanshee: TAGS-libbanshee
12863 TAGS-libbanshee: \
12864 configure-libbanshee
12865 @[ -f ./libbanshee/Makefile ] || exit 0; \
12866 r=`${PWD_COMMAND}`; export r; \
12867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12868 $(SET_LIB_PATH) \
12869 $(HOST_EXPORTS) \
12870 for flag in $(EXTRA_HOST_FLAGS) ; do \
12871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12872 done; \
12873 echo "Doing TAGS in libbanshee" ; \
12874 (cd libbanshee && \
12875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12877 "RANLIB=$${RANLIB}" \
12878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12879 TAGS) \
12880 || exit 1
12882 @endif libbanshee
12884 .PHONY: maybe-install-info-libbanshee install-info-libbanshee
12885 maybe-install-info-libbanshee:
12886 @if libbanshee
12887 maybe-install-info-libbanshee: install-info-libbanshee
12889 install-info-libbanshee: \
12890 configure-libbanshee \
12891 info-libbanshee
12892 @[ -f ./libbanshee/Makefile ] || exit 0; \
12893 r=`${PWD_COMMAND}`; export r; \
12894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12895 $(SET_LIB_PATH) \
12896 $(HOST_EXPORTS) \
12897 for flag in $(EXTRA_HOST_FLAGS) ; do \
12898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12899 done; \
12900 echo "Doing install-info in libbanshee" ; \
12901 (cd libbanshee && \
12902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12904 "RANLIB=$${RANLIB}" \
12905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12906 install-info) \
12907 || exit 1
12909 @endif libbanshee
12911 .PHONY: maybe-installcheck-libbanshee installcheck-libbanshee
12912 maybe-installcheck-libbanshee:
12913 @if libbanshee
12914 maybe-installcheck-libbanshee: installcheck-libbanshee
12916 installcheck-libbanshee: \
12917 configure-libbanshee
12918 @[ -f ./libbanshee/Makefile ] || exit 0; \
12919 r=`${PWD_COMMAND}`; export r; \
12920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12921 $(SET_LIB_PATH) \
12922 $(HOST_EXPORTS) \
12923 for flag in $(EXTRA_HOST_FLAGS) ; do \
12924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12925 done; \
12926 echo "Doing installcheck in libbanshee" ; \
12927 (cd libbanshee && \
12928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12930 "RANLIB=$${RANLIB}" \
12931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12932 installcheck) \
12933 || exit 1
12935 @endif libbanshee
12937 .PHONY: maybe-mostlyclean-libbanshee mostlyclean-libbanshee
12938 maybe-mostlyclean-libbanshee:
12939 @if libbanshee
12940 maybe-mostlyclean-libbanshee: mostlyclean-libbanshee
12942 mostlyclean-libbanshee:
12943 @[ -f ./libbanshee/Makefile ] || exit 0; \
12944 r=`${PWD_COMMAND}`; export r; \
12945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12946 $(SET_LIB_PATH) \
12947 $(HOST_EXPORTS) \
12948 for flag in $(EXTRA_HOST_FLAGS) ; do \
12949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12950 done; \
12951 echo "Doing mostlyclean in libbanshee" ; \
12952 (cd libbanshee && \
12953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12955 "RANLIB=$${RANLIB}" \
12956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12957 mostlyclean) \
12958 || exit 1
12960 @endif libbanshee
12962 .PHONY: maybe-clean-libbanshee clean-libbanshee
12963 maybe-clean-libbanshee:
12964 @if libbanshee
12965 maybe-clean-libbanshee: clean-libbanshee
12967 clean-libbanshee:
12968 @[ -f ./libbanshee/Makefile ] || exit 0; \
12969 r=`${PWD_COMMAND}`; export r; \
12970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12971 $(SET_LIB_PATH) \
12972 $(HOST_EXPORTS) \
12973 for flag in $(EXTRA_HOST_FLAGS) ; do \
12974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12975 done; \
12976 echo "Doing clean in libbanshee" ; \
12977 (cd libbanshee && \
12978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12980 "RANLIB=$${RANLIB}" \
12981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12982 clean) \
12983 || exit 1
12985 @endif libbanshee
12987 .PHONY: maybe-distclean-libbanshee distclean-libbanshee
12988 maybe-distclean-libbanshee:
12989 @if libbanshee
12990 maybe-distclean-libbanshee: distclean-libbanshee
12992 distclean-libbanshee:
12993 @[ -f ./libbanshee/Makefile ] || exit 0; \
12994 r=`${PWD_COMMAND}`; export r; \
12995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12996 $(SET_LIB_PATH) \
12997 $(HOST_EXPORTS) \
12998 for flag in $(EXTRA_HOST_FLAGS) ; do \
12999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13000 done; \
13001 echo "Doing distclean in libbanshee" ; \
13002 (cd libbanshee && \
13003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13005 "RANLIB=$${RANLIB}" \
13006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13007 distclean) \
13008 || exit 1
13010 @endif libbanshee
13012 .PHONY: maybe-maintainer-clean-libbanshee maintainer-clean-libbanshee
13013 maybe-maintainer-clean-libbanshee:
13014 @if libbanshee
13015 maybe-maintainer-clean-libbanshee: maintainer-clean-libbanshee
13017 maintainer-clean-libbanshee:
13018 @[ -f ./libbanshee/Makefile ] || exit 0; \
13019 r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021 $(SET_LIB_PATH) \
13022 $(HOST_EXPORTS) \
13023 for flag in $(EXTRA_HOST_FLAGS) ; do \
13024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13025 done; \
13026 echo "Doing maintainer-clean in libbanshee" ; \
13027 (cd libbanshee && \
13028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13030 "RANLIB=$${RANLIB}" \
13031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13032 maintainer-clean) \
13033 || exit 1
13035 @endif libbanshee
13038 .PHONY: configure-libiberty maybe-configure-libiberty
13039 maybe-configure-libiberty:
13040 @if libiberty
13041 maybe-configure-libiberty: configure-libiberty
13042 configure-libiberty:
13043 @test -f stage_last && exit 0; \
13044 test ! -f libiberty/Makefile || exit 0; \
13045 [ -d libiberty ] || mkdir libiberty; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 echo Configuring in libiberty; \
13050 cd libiberty || exit 1; \
13051 case $(srcdir) in \
13052 \.) \
13053 srcdiroption="--srcdir=."; \
13054 libsrcdir=".";; \
13055 /* | [A-Za-z]:[\\/]*) \
13056 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
13057 libsrcdir="$$s/libiberty";; \
13058 *) \
13059 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
13060 libsrcdir="$$s/libiberty";; \
13061 esac; \
13062 $(SHELL) $${libsrcdir}/configure \
13063 $(HOST_CONFIGARGS) $${srcdiroption} \
13064 || exit 1
13065 @endif libiberty
13067 .PHONY: all-libiberty maybe-all-libiberty
13068 maybe-all-libiberty:
13069 @if libiberty
13070 maybe-all-libiberty: all-libiberty
13071 all-libiberty: configure-libiberty
13072 @test -f stage_last && exit 0; \
13073 r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(SET_LIB_PATH) \
13076 $(HOST_EXPORTS) \
13077 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) all)
13078 @endif libiberty
13080 .PHONY: check-libiberty maybe-check-libiberty
13081 maybe-check-libiberty:
13082 @if libiberty
13083 maybe-check-libiberty: check-libiberty
13085 check-libiberty:
13086 @r=`${PWD_COMMAND}`; export r; \
13087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13088 $(SET_LIB_PATH) \
13089 $(HOST_EXPORTS) \
13090 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) check)
13092 @endif libiberty
13094 .PHONY: install-libiberty maybe-install-libiberty
13095 maybe-install-libiberty:
13096 @if libiberty
13097 maybe-install-libiberty: install-libiberty
13099 install-libiberty: installdirs
13100 @r=`${PWD_COMMAND}`; export r; \
13101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13102 $(SET_LIB_PATH) \
13103 $(HOST_EXPORTS) \
13104 (cd libiberty && $(MAKE) $(FLAGS_TO_PASS) install)
13106 @endif libiberty
13108 # Other targets (info, dvi, etc.)
13110 .PHONY: maybe-info-libiberty info-libiberty
13111 maybe-info-libiberty:
13112 @if libiberty
13113 maybe-info-libiberty: info-libiberty
13115 info-libiberty: \
13116 configure-libiberty
13117 @[ -f ./libiberty/Makefile ] || exit 0; \
13118 r=`${PWD_COMMAND}`; export r; \
13119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13120 $(SET_LIB_PATH) \
13121 $(HOST_EXPORTS) \
13122 for flag in $(EXTRA_HOST_FLAGS) ; do \
13123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13124 done; \
13125 echo "Doing info in libiberty" ; \
13126 (cd libiberty && \
13127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13129 "RANLIB=$${RANLIB}" \
13130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13131 info) \
13132 || exit 1
13134 @endif libiberty
13136 .PHONY: maybe-dvi-libiberty dvi-libiberty
13137 maybe-dvi-libiberty:
13138 @if libiberty
13139 maybe-dvi-libiberty: dvi-libiberty
13141 dvi-libiberty: \
13142 configure-libiberty
13143 @[ -f ./libiberty/Makefile ] || exit 0; \
13144 r=`${PWD_COMMAND}`; export r; \
13145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13146 $(SET_LIB_PATH) \
13147 $(HOST_EXPORTS) \
13148 for flag in $(EXTRA_HOST_FLAGS) ; do \
13149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13150 done; \
13151 echo "Doing dvi in libiberty" ; \
13152 (cd libiberty && \
13153 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13154 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13155 "RANLIB=$${RANLIB}" \
13156 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13157 dvi) \
13158 || exit 1
13160 @endif libiberty
13162 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
13163 maybe-TAGS-libiberty:
13164 @if libiberty
13165 maybe-TAGS-libiberty: TAGS-libiberty
13167 TAGS-libiberty: \
13168 configure-libiberty
13169 @[ -f ./libiberty/Makefile ] || exit 0; \
13170 r=`${PWD_COMMAND}`; export r; \
13171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13172 $(SET_LIB_PATH) \
13173 $(HOST_EXPORTS) \
13174 for flag in $(EXTRA_HOST_FLAGS) ; do \
13175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13176 done; \
13177 echo "Doing TAGS in libiberty" ; \
13178 (cd libiberty && \
13179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13181 "RANLIB=$${RANLIB}" \
13182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13183 TAGS) \
13184 || exit 1
13186 @endif libiberty
13188 .PHONY: maybe-install-info-libiberty install-info-libiberty
13189 maybe-install-info-libiberty:
13190 @if libiberty
13191 maybe-install-info-libiberty: install-info-libiberty
13193 install-info-libiberty: \
13194 configure-libiberty \
13195 info-libiberty
13196 @[ -f ./libiberty/Makefile ] || exit 0; \
13197 r=`${PWD_COMMAND}`; export r; \
13198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13199 $(SET_LIB_PATH) \
13200 $(HOST_EXPORTS) \
13201 for flag in $(EXTRA_HOST_FLAGS) ; do \
13202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13203 done; \
13204 echo "Doing install-info in libiberty" ; \
13205 (cd libiberty && \
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}" \
13210 install-info) \
13211 || exit 1
13213 @endif libiberty
13215 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
13216 maybe-installcheck-libiberty:
13217 @if libiberty
13218 maybe-installcheck-libiberty: installcheck-libiberty
13220 installcheck-libiberty: \
13221 configure-libiberty
13222 @[ -f ./libiberty/Makefile ] || exit 0; \
13223 r=`${PWD_COMMAND}`; export r; \
13224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13225 $(SET_LIB_PATH) \
13226 $(HOST_EXPORTS) \
13227 for flag in $(EXTRA_HOST_FLAGS) ; do \
13228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13229 done; \
13230 echo "Doing installcheck in libiberty" ; \
13231 (cd libiberty && \
13232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13234 "RANLIB=$${RANLIB}" \
13235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13236 installcheck) \
13237 || exit 1
13239 @endif libiberty
13241 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
13242 maybe-mostlyclean-libiberty:
13243 @if libiberty
13244 maybe-mostlyclean-libiberty: mostlyclean-libiberty
13246 mostlyclean-libiberty:
13247 @[ -f ./libiberty/Makefile ] || exit 0; \
13248 r=`${PWD_COMMAND}`; export r; \
13249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13250 $(SET_LIB_PATH) \
13251 $(HOST_EXPORTS) \
13252 for flag in $(EXTRA_HOST_FLAGS) ; do \
13253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13254 done; \
13255 echo "Doing mostlyclean in libiberty" ; \
13256 (cd libiberty && \
13257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13259 "RANLIB=$${RANLIB}" \
13260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13261 mostlyclean) \
13262 || exit 1
13264 @endif libiberty
13266 .PHONY: maybe-clean-libiberty clean-libiberty
13267 maybe-clean-libiberty:
13268 @if libiberty
13269 maybe-clean-libiberty: clean-libiberty
13271 clean-libiberty:
13272 @[ -f ./libiberty/Makefile ] || exit 0; \
13273 r=`${PWD_COMMAND}`; export r; \
13274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13275 $(SET_LIB_PATH) \
13276 $(HOST_EXPORTS) \
13277 for flag in $(EXTRA_HOST_FLAGS) ; do \
13278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13279 done; \
13280 echo "Doing clean in libiberty" ; \
13281 (cd libiberty && \
13282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13284 "RANLIB=$${RANLIB}" \
13285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13286 clean) \
13287 || exit 1
13289 @endif libiberty
13291 .PHONY: maybe-distclean-libiberty distclean-libiberty
13292 maybe-distclean-libiberty:
13293 @if libiberty
13294 maybe-distclean-libiberty: distclean-libiberty
13296 distclean-libiberty:
13297 @[ -f ./libiberty/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(SET_LIB_PATH) \
13301 $(HOST_EXPORTS) \
13302 for flag in $(EXTRA_HOST_FLAGS) ; do \
13303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304 done; \
13305 echo "Doing distclean in libiberty" ; \
13306 (cd libiberty && \
13307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13309 "RANLIB=$${RANLIB}" \
13310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13311 distclean) \
13312 || exit 1
13314 @endif libiberty
13316 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
13317 maybe-maintainer-clean-libiberty:
13318 @if libiberty
13319 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
13321 maintainer-clean-libiberty:
13322 @[ -f ./libiberty/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(SET_LIB_PATH) \
13326 $(HOST_EXPORTS) \
13327 for flag in $(EXTRA_HOST_FLAGS) ; do \
13328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13329 done; \
13330 echo "Doing maintainer-clean in libiberty" ; \
13331 (cd libiberty && \
13332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13334 "RANLIB=$${RANLIB}" \
13335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13336 maintainer-clean) \
13337 || exit 1
13339 @endif libiberty
13342 .PHONY: configure-libtool maybe-configure-libtool
13343 maybe-configure-libtool:
13344 @if libtool
13345 maybe-configure-libtool: configure-libtool
13346 configure-libtool:
13347 @test ! -f libtool/Makefile || exit 0; \
13348 [ -d libtool ] || mkdir libtool; \
13349 r=`${PWD_COMMAND}`; export r; \
13350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13351 $(HOST_EXPORTS) \
13352 echo Configuring in libtool; \
13353 cd libtool || exit 1; \
13354 case $(srcdir) in \
13355 \.) \
13356 srcdiroption="--srcdir=."; \
13357 libsrcdir=".";; \
13358 /* | [A-Za-z]:[\\/]*) \
13359 srcdiroption="--srcdir=$(srcdir)/libtool"; \
13360 libsrcdir="$$s/libtool";; \
13361 *) \
13362 srcdiroption="--srcdir=../$(srcdir)/libtool"; \
13363 libsrcdir="$$s/libtool";; \
13364 esac; \
13365 $(SHELL) $${libsrcdir}/configure \
13366 $(HOST_CONFIGARGS) $${srcdiroption} \
13367 || exit 1
13368 @endif libtool
13370 .PHONY: all-libtool maybe-all-libtool
13371 maybe-all-libtool:
13372 @if libtool
13373 maybe-all-libtool: all-libtool
13374 all-libtool: configure-libtool
13375 @r=`${PWD_COMMAND}`; export r; \
13376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13377 $(SET_LIB_PATH) \
13378 $(HOST_EXPORTS) \
13379 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) all)
13380 @endif libtool
13382 .PHONY: check-libtool maybe-check-libtool
13383 maybe-check-libtool:
13384 @if libtool
13385 maybe-check-libtool: check-libtool
13387 check-libtool:
13388 @r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(SET_LIB_PATH) \
13391 $(HOST_EXPORTS) \
13392 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) check)
13394 @endif libtool
13396 .PHONY: install-libtool maybe-install-libtool
13397 maybe-install-libtool:
13398 @if libtool
13399 maybe-install-libtool: install-libtool
13401 install-libtool: installdirs
13402 @r=`${PWD_COMMAND}`; export r; \
13403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13404 $(SET_LIB_PATH) \
13405 $(HOST_EXPORTS) \
13406 (cd libtool && $(MAKE) $(FLAGS_TO_PASS) install)
13408 @endif libtool
13410 # Other targets (info, dvi, etc.)
13412 .PHONY: maybe-info-libtool info-libtool
13413 maybe-info-libtool:
13414 @if libtool
13415 maybe-info-libtool: info-libtool
13417 info-libtool: \
13418 configure-libtool
13419 @[ -f ./libtool/Makefile ] || exit 0; \
13420 r=`${PWD_COMMAND}`; export r; \
13421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13422 $(SET_LIB_PATH) \
13423 $(HOST_EXPORTS) \
13424 for flag in $(EXTRA_HOST_FLAGS) ; do \
13425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13426 done; \
13427 echo "Doing info in libtool" ; \
13428 (cd libtool && \
13429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13431 "RANLIB=$${RANLIB}" \
13432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13433 info) \
13434 || exit 1
13436 @endif libtool
13438 .PHONY: maybe-dvi-libtool dvi-libtool
13439 maybe-dvi-libtool:
13440 @if libtool
13441 maybe-dvi-libtool: dvi-libtool
13443 dvi-libtool: \
13444 configure-libtool
13445 @[ -f ./libtool/Makefile ] || exit 0; \
13446 r=`${PWD_COMMAND}`; export r; \
13447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13448 $(SET_LIB_PATH) \
13449 $(HOST_EXPORTS) \
13450 for flag in $(EXTRA_HOST_FLAGS) ; do \
13451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13452 done; \
13453 echo "Doing dvi in libtool" ; \
13454 (cd libtool && \
13455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13457 "RANLIB=$${RANLIB}" \
13458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13459 dvi) \
13460 || exit 1
13462 @endif libtool
13464 .PHONY: maybe-TAGS-libtool TAGS-libtool
13465 maybe-TAGS-libtool:
13466 @if libtool
13467 maybe-TAGS-libtool: TAGS-libtool
13469 TAGS-libtool: \
13470 configure-libtool
13471 @[ -f ./libtool/Makefile ] || exit 0; \
13472 r=`${PWD_COMMAND}`; export r; \
13473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13474 $(SET_LIB_PATH) \
13475 $(HOST_EXPORTS) \
13476 for flag in $(EXTRA_HOST_FLAGS) ; do \
13477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13478 done; \
13479 echo "Doing TAGS in libtool" ; \
13480 (cd libtool && \
13481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13483 "RANLIB=$${RANLIB}" \
13484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13485 TAGS) \
13486 || exit 1
13488 @endif libtool
13490 .PHONY: maybe-install-info-libtool install-info-libtool
13491 maybe-install-info-libtool:
13492 @if libtool
13493 maybe-install-info-libtool: install-info-libtool
13495 install-info-libtool: \
13496 configure-libtool \
13497 info-libtool
13498 @[ -f ./libtool/Makefile ] || exit 0; \
13499 r=`${PWD_COMMAND}`; export r; \
13500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13501 $(SET_LIB_PATH) \
13502 $(HOST_EXPORTS) \
13503 for flag in $(EXTRA_HOST_FLAGS) ; do \
13504 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13505 done; \
13506 echo "Doing install-info in libtool" ; \
13507 (cd libtool && \
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}" \
13512 install-info) \
13513 || exit 1
13515 @endif libtool
13517 .PHONY: maybe-installcheck-libtool installcheck-libtool
13518 maybe-installcheck-libtool:
13519 @if libtool
13520 maybe-installcheck-libtool: installcheck-libtool
13522 installcheck-libtool: \
13523 configure-libtool
13524 @[ -f ./libtool/Makefile ] || exit 0; \
13525 r=`${PWD_COMMAND}`; export r; \
13526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13527 $(SET_LIB_PATH) \
13528 $(HOST_EXPORTS) \
13529 for flag in $(EXTRA_HOST_FLAGS) ; do \
13530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13531 done; \
13532 echo "Doing installcheck in libtool" ; \
13533 (cd libtool && \
13534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13536 "RANLIB=$${RANLIB}" \
13537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13538 installcheck) \
13539 || exit 1
13541 @endif libtool
13543 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
13544 maybe-mostlyclean-libtool:
13545 @if libtool
13546 maybe-mostlyclean-libtool: mostlyclean-libtool
13548 mostlyclean-libtool:
13549 @[ -f ./libtool/Makefile ] || exit 0; \
13550 r=`${PWD_COMMAND}`; export r; \
13551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13552 $(SET_LIB_PATH) \
13553 $(HOST_EXPORTS) \
13554 for flag in $(EXTRA_HOST_FLAGS) ; do \
13555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13556 done; \
13557 echo "Doing mostlyclean in libtool" ; \
13558 (cd libtool && \
13559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13561 "RANLIB=$${RANLIB}" \
13562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13563 mostlyclean) \
13564 || exit 1
13566 @endif libtool
13568 .PHONY: maybe-clean-libtool clean-libtool
13569 maybe-clean-libtool:
13570 @if libtool
13571 maybe-clean-libtool: clean-libtool
13573 clean-libtool:
13574 @[ -f ./libtool/Makefile ] || exit 0; \
13575 r=`${PWD_COMMAND}`; export r; \
13576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13577 $(SET_LIB_PATH) \
13578 $(HOST_EXPORTS) \
13579 for flag in $(EXTRA_HOST_FLAGS) ; do \
13580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13581 done; \
13582 echo "Doing clean in libtool" ; \
13583 (cd libtool && \
13584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13586 "RANLIB=$${RANLIB}" \
13587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13588 clean) \
13589 || exit 1
13591 @endif libtool
13593 .PHONY: maybe-distclean-libtool distclean-libtool
13594 maybe-distclean-libtool:
13595 @if libtool
13596 maybe-distclean-libtool: distclean-libtool
13598 distclean-libtool:
13599 @[ -f ./libtool/Makefile ] || exit 0; \
13600 r=`${PWD_COMMAND}`; export r; \
13601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13602 $(SET_LIB_PATH) \
13603 $(HOST_EXPORTS) \
13604 for flag in $(EXTRA_HOST_FLAGS) ; do \
13605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13606 done; \
13607 echo "Doing distclean in libtool" ; \
13608 (cd libtool && \
13609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13611 "RANLIB=$${RANLIB}" \
13612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13613 distclean) \
13614 || exit 1
13616 @endif libtool
13618 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
13619 maybe-maintainer-clean-libtool:
13620 @if libtool
13621 maybe-maintainer-clean-libtool: maintainer-clean-libtool
13623 maintainer-clean-libtool:
13624 @[ -f ./libtool/Makefile ] || exit 0; \
13625 r=`${PWD_COMMAND}`; export r; \
13626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13627 $(SET_LIB_PATH) \
13628 $(HOST_EXPORTS) \
13629 for flag in $(EXTRA_HOST_FLAGS) ; do \
13630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13631 done; \
13632 echo "Doing maintainer-clean in libtool" ; \
13633 (cd libtool && \
13634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13636 "RANLIB=$${RANLIB}" \
13637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13638 maintainer-clean) \
13639 || exit 1
13641 @endif libtool
13644 .PHONY: configure-m4 maybe-configure-m4
13645 maybe-configure-m4:
13646 @if m4
13647 maybe-configure-m4: configure-m4
13648 configure-m4:
13649 @test ! -f m4/Makefile || exit 0; \
13650 [ -d m4 ] || mkdir m4; \
13651 r=`${PWD_COMMAND}`; export r; \
13652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13653 $(HOST_EXPORTS) \
13654 echo Configuring in m4; \
13655 cd m4 || exit 1; \
13656 case $(srcdir) in \
13657 \.) \
13658 srcdiroption="--srcdir=."; \
13659 libsrcdir=".";; \
13660 /* | [A-Za-z]:[\\/]*) \
13661 srcdiroption="--srcdir=$(srcdir)/m4"; \
13662 libsrcdir="$$s/m4";; \
13663 *) \
13664 srcdiroption="--srcdir=../$(srcdir)/m4"; \
13665 libsrcdir="$$s/m4";; \
13666 esac; \
13667 $(SHELL) $${libsrcdir}/configure \
13668 $(HOST_CONFIGARGS) $${srcdiroption} \
13669 || exit 1
13670 @endif m4
13672 .PHONY: all-m4 maybe-all-m4
13673 maybe-all-m4:
13674 @if m4
13675 maybe-all-m4: all-m4
13676 all-m4: configure-m4
13677 @r=`${PWD_COMMAND}`; export r; \
13678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13679 $(SET_LIB_PATH) \
13680 $(HOST_EXPORTS) \
13681 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) all)
13682 @endif m4
13684 .PHONY: check-m4 maybe-check-m4
13685 maybe-check-m4:
13686 @if m4
13687 maybe-check-m4: check-m4
13689 check-m4:
13690 @r=`${PWD_COMMAND}`; export r; \
13691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13692 $(SET_LIB_PATH) \
13693 $(HOST_EXPORTS) \
13694 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) check)
13696 @endif m4
13698 .PHONY: install-m4 maybe-install-m4
13699 maybe-install-m4:
13700 @if m4
13701 maybe-install-m4: install-m4
13703 install-m4: installdirs
13704 @r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 $(SET_LIB_PATH) \
13707 $(HOST_EXPORTS) \
13708 (cd m4 && $(MAKE) $(FLAGS_TO_PASS) install)
13710 @endif m4
13712 # Other targets (info, dvi, etc.)
13714 .PHONY: maybe-info-m4 info-m4
13715 maybe-info-m4:
13716 @if m4
13717 maybe-info-m4: info-m4
13719 info-m4: \
13720 configure-m4
13721 @[ -f ./m4/Makefile ] || exit 0; \
13722 r=`${PWD_COMMAND}`; export r; \
13723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13724 $(SET_LIB_PATH) \
13725 $(HOST_EXPORTS) \
13726 for flag in $(EXTRA_HOST_FLAGS) ; do \
13727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13728 done; \
13729 echo "Doing info in m4" ; \
13730 (cd m4 && \
13731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13733 "RANLIB=$${RANLIB}" \
13734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13735 info) \
13736 || exit 1
13738 @endif m4
13740 .PHONY: maybe-dvi-m4 dvi-m4
13741 maybe-dvi-m4:
13742 @if m4
13743 maybe-dvi-m4: dvi-m4
13745 dvi-m4: \
13746 configure-m4
13747 @[ -f ./m4/Makefile ] || exit 0; \
13748 r=`${PWD_COMMAND}`; export r; \
13749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13750 $(SET_LIB_PATH) \
13751 $(HOST_EXPORTS) \
13752 for flag in $(EXTRA_HOST_FLAGS) ; do \
13753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13754 done; \
13755 echo "Doing dvi in m4" ; \
13756 (cd m4 && \
13757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13759 "RANLIB=$${RANLIB}" \
13760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13761 dvi) \
13762 || exit 1
13764 @endif m4
13766 .PHONY: maybe-TAGS-m4 TAGS-m4
13767 maybe-TAGS-m4:
13768 @if m4
13769 maybe-TAGS-m4: TAGS-m4
13771 TAGS-m4: \
13772 configure-m4
13773 @[ -f ./m4/Makefile ] || exit 0; \
13774 r=`${PWD_COMMAND}`; export r; \
13775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13776 $(SET_LIB_PATH) \
13777 $(HOST_EXPORTS) \
13778 for flag in $(EXTRA_HOST_FLAGS) ; do \
13779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13780 done; \
13781 echo "Doing TAGS in m4" ; \
13782 (cd m4 && \
13783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13785 "RANLIB=$${RANLIB}" \
13786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13787 TAGS) \
13788 || exit 1
13790 @endif m4
13792 .PHONY: maybe-install-info-m4 install-info-m4
13793 maybe-install-info-m4:
13794 @if m4
13795 maybe-install-info-m4: install-info-m4
13797 install-info-m4: \
13798 configure-m4 \
13799 info-m4
13800 @[ -f ./m4/Makefile ] || exit 0; \
13801 r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 $(SET_LIB_PATH) \
13804 $(HOST_EXPORTS) \
13805 for flag in $(EXTRA_HOST_FLAGS) ; do \
13806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13807 done; \
13808 echo "Doing install-info in m4" ; \
13809 (cd m4 && \
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}" \
13814 install-info) \
13815 || exit 1
13817 @endif m4
13819 .PHONY: maybe-installcheck-m4 installcheck-m4
13820 maybe-installcheck-m4:
13821 @if m4
13822 maybe-installcheck-m4: installcheck-m4
13824 installcheck-m4: \
13825 configure-m4
13826 @[ -f ./m4/Makefile ] || exit 0; \
13827 r=`${PWD_COMMAND}`; export r; \
13828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13829 $(SET_LIB_PATH) \
13830 $(HOST_EXPORTS) \
13831 for flag in $(EXTRA_HOST_FLAGS) ; do \
13832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13833 done; \
13834 echo "Doing installcheck in m4" ; \
13835 (cd m4 && \
13836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13838 "RANLIB=$${RANLIB}" \
13839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13840 installcheck) \
13841 || exit 1
13843 @endif m4
13845 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
13846 maybe-mostlyclean-m4:
13847 @if m4
13848 maybe-mostlyclean-m4: mostlyclean-m4
13850 mostlyclean-m4:
13851 @[ -f ./m4/Makefile ] || exit 0; \
13852 r=`${PWD_COMMAND}`; export r; \
13853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13854 $(SET_LIB_PATH) \
13855 $(HOST_EXPORTS) \
13856 for flag in $(EXTRA_HOST_FLAGS) ; do \
13857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13858 done; \
13859 echo "Doing mostlyclean in m4" ; \
13860 (cd m4 && \
13861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13863 "RANLIB=$${RANLIB}" \
13864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13865 mostlyclean) \
13866 || exit 1
13868 @endif m4
13870 .PHONY: maybe-clean-m4 clean-m4
13871 maybe-clean-m4:
13872 @if m4
13873 maybe-clean-m4: clean-m4
13875 clean-m4:
13876 @[ -f ./m4/Makefile ] || exit 0; \
13877 r=`${PWD_COMMAND}`; export r; \
13878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13879 $(SET_LIB_PATH) \
13880 $(HOST_EXPORTS) \
13881 for flag in $(EXTRA_HOST_FLAGS) ; do \
13882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13883 done; \
13884 echo "Doing clean in m4" ; \
13885 (cd m4 && \
13886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13888 "RANLIB=$${RANLIB}" \
13889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13890 clean) \
13891 || exit 1
13893 @endif m4
13895 .PHONY: maybe-distclean-m4 distclean-m4
13896 maybe-distclean-m4:
13897 @if m4
13898 maybe-distclean-m4: distclean-m4
13900 distclean-m4:
13901 @[ -f ./m4/Makefile ] || exit 0; \
13902 r=`${PWD_COMMAND}`; export r; \
13903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13904 $(SET_LIB_PATH) \
13905 $(HOST_EXPORTS) \
13906 for flag in $(EXTRA_HOST_FLAGS) ; do \
13907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13908 done; \
13909 echo "Doing distclean in m4" ; \
13910 (cd m4 && \
13911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13913 "RANLIB=$${RANLIB}" \
13914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13915 distclean) \
13916 || exit 1
13918 @endif m4
13920 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
13921 maybe-maintainer-clean-m4:
13922 @if m4
13923 maybe-maintainer-clean-m4: maintainer-clean-m4
13925 maintainer-clean-m4:
13926 @[ -f ./m4/Makefile ] || exit 0; \
13927 r=`${PWD_COMMAND}`; export r; \
13928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13929 $(SET_LIB_PATH) \
13930 $(HOST_EXPORTS) \
13931 for flag in $(EXTRA_HOST_FLAGS) ; do \
13932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13933 done; \
13934 echo "Doing maintainer-clean in m4" ; \
13935 (cd m4 && \
13936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13938 "RANLIB=$${RANLIB}" \
13939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13940 maintainer-clean) \
13941 || exit 1
13943 @endif m4
13946 .PHONY: configure-make maybe-configure-make
13947 maybe-configure-make:
13948 @if make
13949 maybe-configure-make: configure-make
13950 configure-make:
13951 @test ! -f make/Makefile || exit 0; \
13952 [ -d make ] || mkdir make; \
13953 r=`${PWD_COMMAND}`; export r; \
13954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13955 $(HOST_EXPORTS) \
13956 echo Configuring in make; \
13957 cd make || exit 1; \
13958 case $(srcdir) in \
13959 \.) \
13960 srcdiroption="--srcdir=."; \
13961 libsrcdir=".";; \
13962 /* | [A-Za-z]:[\\/]*) \
13963 srcdiroption="--srcdir=$(srcdir)/make"; \
13964 libsrcdir="$$s/make";; \
13965 *) \
13966 srcdiroption="--srcdir=../$(srcdir)/make"; \
13967 libsrcdir="$$s/make";; \
13968 esac; \
13969 $(SHELL) $${libsrcdir}/configure \
13970 $(HOST_CONFIGARGS) $${srcdiroption} \
13971 || exit 1
13972 @endif make
13974 .PHONY: all-make maybe-all-make
13975 maybe-all-make:
13976 @if make
13977 maybe-all-make: all-make
13978 all-make: configure-make
13979 @r=`${PWD_COMMAND}`; export r; \
13980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13981 $(SET_LIB_PATH) \
13982 $(HOST_EXPORTS) \
13983 (cd make && $(MAKE) $(FLAGS_TO_PASS) all)
13984 @endif make
13986 .PHONY: check-make maybe-check-make
13987 maybe-check-make:
13988 @if make
13989 maybe-check-make: check-make
13991 check-make:
13992 @r=`${PWD_COMMAND}`; export r; \
13993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13994 $(SET_LIB_PATH) \
13995 $(HOST_EXPORTS) \
13996 (cd make && $(MAKE) $(FLAGS_TO_PASS) check)
13998 @endif make
14000 .PHONY: install-make maybe-install-make
14001 maybe-install-make:
14002 @if make
14003 maybe-install-make: install-make
14005 install-make: installdirs
14006 @r=`${PWD_COMMAND}`; export r; \
14007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14008 $(SET_LIB_PATH) \
14009 $(HOST_EXPORTS) \
14010 (cd make && $(MAKE) $(FLAGS_TO_PASS) install)
14012 @endif make
14014 # Other targets (info, dvi, etc.)
14016 .PHONY: maybe-info-make info-make
14017 maybe-info-make:
14018 @if make
14019 maybe-info-make: info-make
14021 info-make: \
14022 configure-make
14023 @[ -f ./make/Makefile ] || exit 0; \
14024 r=`${PWD_COMMAND}`; export r; \
14025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14026 $(SET_LIB_PATH) \
14027 $(HOST_EXPORTS) \
14028 for flag in $(EXTRA_HOST_FLAGS) ; do \
14029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14030 done; \
14031 echo "Doing info in make" ; \
14032 (cd make && \
14033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14035 "RANLIB=$${RANLIB}" \
14036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14037 info) \
14038 || exit 1
14040 @endif make
14042 .PHONY: maybe-dvi-make dvi-make
14043 maybe-dvi-make:
14044 @if make
14045 maybe-dvi-make: dvi-make
14047 dvi-make: \
14048 configure-make
14049 @[ -f ./make/Makefile ] || exit 0; \
14050 r=`${PWD_COMMAND}`; export r; \
14051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14052 $(SET_LIB_PATH) \
14053 $(HOST_EXPORTS) \
14054 for flag in $(EXTRA_HOST_FLAGS) ; do \
14055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14056 done; \
14057 echo "Doing dvi in make" ; \
14058 (cd make && \
14059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14061 "RANLIB=$${RANLIB}" \
14062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14063 dvi) \
14064 || exit 1
14066 @endif make
14068 .PHONY: maybe-TAGS-make TAGS-make
14069 maybe-TAGS-make:
14070 @if make
14071 maybe-TAGS-make: TAGS-make
14073 TAGS-make: \
14074 configure-make
14075 @[ -f ./make/Makefile ] || exit 0; \
14076 r=`${PWD_COMMAND}`; export r; \
14077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14078 $(SET_LIB_PATH) \
14079 $(HOST_EXPORTS) \
14080 for flag in $(EXTRA_HOST_FLAGS) ; do \
14081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14082 done; \
14083 echo "Doing TAGS in make" ; \
14084 (cd make && \
14085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14087 "RANLIB=$${RANLIB}" \
14088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14089 TAGS) \
14090 || exit 1
14092 @endif make
14094 .PHONY: maybe-install-info-make install-info-make
14095 maybe-install-info-make:
14096 @if make
14097 maybe-install-info-make: install-info-make
14099 install-info-make: \
14100 configure-make \
14101 info-make
14102 @[ -f ./make/Makefile ] || exit 0; \
14103 r=`${PWD_COMMAND}`; export r; \
14104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14105 $(SET_LIB_PATH) \
14106 $(HOST_EXPORTS) \
14107 for flag in $(EXTRA_HOST_FLAGS) ; do \
14108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14109 done; \
14110 echo "Doing install-info in make" ; \
14111 (cd make && \
14112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14114 "RANLIB=$${RANLIB}" \
14115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14116 install-info) \
14117 || exit 1
14119 @endif make
14121 .PHONY: maybe-installcheck-make installcheck-make
14122 maybe-installcheck-make:
14123 @if make
14124 maybe-installcheck-make: installcheck-make
14126 installcheck-make: \
14127 configure-make
14128 @[ -f ./make/Makefile ] || exit 0; \
14129 r=`${PWD_COMMAND}`; export r; \
14130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14131 $(SET_LIB_PATH) \
14132 $(HOST_EXPORTS) \
14133 for flag in $(EXTRA_HOST_FLAGS) ; do \
14134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14135 done; \
14136 echo "Doing installcheck in make" ; \
14137 (cd make && \
14138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14140 "RANLIB=$${RANLIB}" \
14141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14142 installcheck) \
14143 || exit 1
14145 @endif make
14147 .PHONY: maybe-mostlyclean-make mostlyclean-make
14148 maybe-mostlyclean-make:
14149 @if make
14150 maybe-mostlyclean-make: mostlyclean-make
14152 mostlyclean-make:
14153 @[ -f ./make/Makefile ] || exit 0; \
14154 r=`${PWD_COMMAND}`; export r; \
14155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14156 $(SET_LIB_PATH) \
14157 $(HOST_EXPORTS) \
14158 for flag in $(EXTRA_HOST_FLAGS) ; do \
14159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14160 done; \
14161 echo "Doing mostlyclean in make" ; \
14162 (cd make && \
14163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14165 "RANLIB=$${RANLIB}" \
14166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14167 mostlyclean) \
14168 || exit 1
14170 @endif make
14172 .PHONY: maybe-clean-make clean-make
14173 maybe-clean-make:
14174 @if make
14175 maybe-clean-make: clean-make
14177 clean-make:
14178 @[ -f ./make/Makefile ] || exit 0; \
14179 r=`${PWD_COMMAND}`; export r; \
14180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14181 $(SET_LIB_PATH) \
14182 $(HOST_EXPORTS) \
14183 for flag in $(EXTRA_HOST_FLAGS) ; do \
14184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14185 done; \
14186 echo "Doing clean in make" ; \
14187 (cd make && \
14188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14190 "RANLIB=$${RANLIB}" \
14191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14192 clean) \
14193 || exit 1
14195 @endif make
14197 .PHONY: maybe-distclean-make distclean-make
14198 maybe-distclean-make:
14199 @if make
14200 maybe-distclean-make: distclean-make
14202 distclean-make:
14203 @[ -f ./make/Makefile ] || exit 0; \
14204 r=`${PWD_COMMAND}`; export r; \
14205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14206 $(SET_LIB_PATH) \
14207 $(HOST_EXPORTS) \
14208 for flag in $(EXTRA_HOST_FLAGS) ; do \
14209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14210 done; \
14211 echo "Doing distclean in make" ; \
14212 (cd make && \
14213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14215 "RANLIB=$${RANLIB}" \
14216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14217 distclean) \
14218 || exit 1
14220 @endif make
14222 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
14223 maybe-maintainer-clean-make:
14224 @if make
14225 maybe-maintainer-clean-make: maintainer-clean-make
14227 maintainer-clean-make:
14228 @[ -f ./make/Makefile ] || exit 0; \
14229 r=`${PWD_COMMAND}`; export r; \
14230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14231 $(SET_LIB_PATH) \
14232 $(HOST_EXPORTS) \
14233 for flag in $(EXTRA_HOST_FLAGS) ; do \
14234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14235 done; \
14236 echo "Doing maintainer-clean in make" ; \
14237 (cd make && \
14238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14240 "RANLIB=$${RANLIB}" \
14241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14242 maintainer-clean) \
14243 || exit 1
14245 @endif make
14248 .PHONY: configure-mmalloc maybe-configure-mmalloc
14249 maybe-configure-mmalloc:
14250 @if mmalloc
14251 maybe-configure-mmalloc: configure-mmalloc
14252 configure-mmalloc:
14253 @test ! -f mmalloc/Makefile || exit 0; \
14254 [ -d mmalloc ] || mkdir mmalloc; \
14255 r=`${PWD_COMMAND}`; export r; \
14256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14257 $(HOST_EXPORTS) \
14258 echo Configuring in mmalloc; \
14259 cd mmalloc || exit 1; \
14260 case $(srcdir) in \
14261 \.) \
14262 srcdiroption="--srcdir=."; \
14263 libsrcdir=".";; \
14264 /* | [A-Za-z]:[\\/]*) \
14265 srcdiroption="--srcdir=$(srcdir)/mmalloc"; \
14266 libsrcdir="$$s/mmalloc";; \
14267 *) \
14268 srcdiroption="--srcdir=../$(srcdir)/mmalloc"; \
14269 libsrcdir="$$s/mmalloc";; \
14270 esac; \
14271 $(SHELL) $${libsrcdir}/configure \
14272 $(HOST_CONFIGARGS) $${srcdiroption} \
14273 || exit 1
14274 @endif mmalloc
14276 .PHONY: all-mmalloc maybe-all-mmalloc
14277 maybe-all-mmalloc:
14278 @if mmalloc
14279 maybe-all-mmalloc: all-mmalloc
14280 all-mmalloc: configure-mmalloc
14281 @r=`${PWD_COMMAND}`; export r; \
14282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14283 $(SET_LIB_PATH) \
14284 $(HOST_EXPORTS) \
14285 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) all)
14286 @endif mmalloc
14288 .PHONY: check-mmalloc maybe-check-mmalloc
14289 maybe-check-mmalloc:
14290 @if mmalloc
14291 maybe-check-mmalloc: check-mmalloc
14293 check-mmalloc:
14295 @endif mmalloc
14297 .PHONY: install-mmalloc maybe-install-mmalloc
14298 maybe-install-mmalloc:
14299 @if mmalloc
14300 maybe-install-mmalloc: install-mmalloc
14302 install-mmalloc: installdirs
14303 @r=`${PWD_COMMAND}`; export r; \
14304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14305 $(SET_LIB_PATH) \
14306 $(HOST_EXPORTS) \
14307 (cd mmalloc && $(MAKE) $(FLAGS_TO_PASS) install)
14309 @endif mmalloc
14311 # Other targets (info, dvi, etc.)
14313 .PHONY: maybe-info-mmalloc info-mmalloc
14314 maybe-info-mmalloc:
14315 @if mmalloc
14316 maybe-info-mmalloc: info-mmalloc
14318 info-mmalloc: \
14319 configure-mmalloc
14320 @[ -f ./mmalloc/Makefile ] || exit 0; \
14321 r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 $(SET_LIB_PATH) \
14324 $(HOST_EXPORTS) \
14325 for flag in $(EXTRA_HOST_FLAGS) ; do \
14326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14327 done; \
14328 echo "Doing info in mmalloc" ; \
14329 (cd mmalloc && \
14330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14332 "RANLIB=$${RANLIB}" \
14333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14334 info) \
14335 || exit 1
14337 @endif mmalloc
14339 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
14340 maybe-dvi-mmalloc:
14341 @if mmalloc
14342 maybe-dvi-mmalloc: dvi-mmalloc
14344 dvi-mmalloc: \
14345 configure-mmalloc
14346 @[ -f ./mmalloc/Makefile ] || exit 0; \
14347 r=`${PWD_COMMAND}`; export r; \
14348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14349 $(SET_LIB_PATH) \
14350 $(HOST_EXPORTS) \
14351 for flag in $(EXTRA_HOST_FLAGS) ; do \
14352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14353 done; \
14354 echo "Doing dvi in mmalloc" ; \
14355 (cd mmalloc && \
14356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14358 "RANLIB=$${RANLIB}" \
14359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14360 dvi) \
14361 || exit 1
14363 @endif mmalloc
14365 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
14366 maybe-TAGS-mmalloc:
14367 @if mmalloc
14368 maybe-TAGS-mmalloc: TAGS-mmalloc
14370 TAGS-mmalloc: \
14371 configure-mmalloc
14372 @[ -f ./mmalloc/Makefile ] || exit 0; \
14373 r=`${PWD_COMMAND}`; export r; \
14374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14375 $(SET_LIB_PATH) \
14376 $(HOST_EXPORTS) \
14377 for flag in $(EXTRA_HOST_FLAGS) ; do \
14378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14379 done; \
14380 echo "Doing TAGS in mmalloc" ; \
14381 (cd mmalloc && \
14382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14384 "RANLIB=$${RANLIB}" \
14385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14386 TAGS) \
14387 || exit 1
14389 @endif mmalloc
14391 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
14392 maybe-install-info-mmalloc:
14393 @if mmalloc
14394 maybe-install-info-mmalloc: install-info-mmalloc
14396 install-info-mmalloc: \
14397 configure-mmalloc \
14398 info-mmalloc
14399 @[ -f ./mmalloc/Makefile ] || exit 0; \
14400 r=`${PWD_COMMAND}`; export r; \
14401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14402 $(SET_LIB_PATH) \
14403 $(HOST_EXPORTS) \
14404 for flag in $(EXTRA_HOST_FLAGS) ; do \
14405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14406 done; \
14407 echo "Doing install-info in mmalloc" ; \
14408 (cd mmalloc && \
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}" \
14413 install-info) \
14414 || exit 1
14416 @endif mmalloc
14418 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
14419 maybe-installcheck-mmalloc:
14420 @if mmalloc
14421 maybe-installcheck-mmalloc: installcheck-mmalloc
14423 installcheck-mmalloc: \
14424 configure-mmalloc
14425 @[ -f ./mmalloc/Makefile ] || exit 0; \
14426 r=`${PWD_COMMAND}`; export r; \
14427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14428 $(SET_LIB_PATH) \
14429 $(HOST_EXPORTS) \
14430 for flag in $(EXTRA_HOST_FLAGS) ; do \
14431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14432 done; \
14433 echo "Doing installcheck in mmalloc" ; \
14434 (cd mmalloc && \
14435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14437 "RANLIB=$${RANLIB}" \
14438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14439 installcheck) \
14440 || exit 1
14442 @endif mmalloc
14444 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
14445 maybe-mostlyclean-mmalloc:
14446 @if mmalloc
14447 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
14449 mostlyclean-mmalloc:
14450 @[ -f ./mmalloc/Makefile ] || exit 0; \
14451 r=`${PWD_COMMAND}`; export r; \
14452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14453 $(SET_LIB_PATH) \
14454 $(HOST_EXPORTS) \
14455 for flag in $(EXTRA_HOST_FLAGS) ; do \
14456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14457 done; \
14458 echo "Doing mostlyclean in mmalloc" ; \
14459 (cd mmalloc && \
14460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14462 "RANLIB=$${RANLIB}" \
14463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14464 mostlyclean) \
14465 || exit 1
14467 @endif mmalloc
14469 .PHONY: maybe-clean-mmalloc clean-mmalloc
14470 maybe-clean-mmalloc:
14471 @if mmalloc
14472 maybe-clean-mmalloc: clean-mmalloc
14474 clean-mmalloc:
14475 @[ -f ./mmalloc/Makefile ] || exit 0; \
14476 r=`${PWD_COMMAND}`; export r; \
14477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14478 $(SET_LIB_PATH) \
14479 $(HOST_EXPORTS) \
14480 for flag in $(EXTRA_HOST_FLAGS) ; do \
14481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14482 done; \
14483 echo "Doing clean in mmalloc" ; \
14484 (cd mmalloc && \
14485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14487 "RANLIB=$${RANLIB}" \
14488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14489 clean) \
14490 || exit 1
14492 @endif mmalloc
14494 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
14495 maybe-distclean-mmalloc:
14496 @if mmalloc
14497 maybe-distclean-mmalloc: distclean-mmalloc
14499 distclean-mmalloc:
14500 @[ -f ./mmalloc/Makefile ] || exit 0; \
14501 r=`${PWD_COMMAND}`; export r; \
14502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14503 $(SET_LIB_PATH) \
14504 $(HOST_EXPORTS) \
14505 for flag in $(EXTRA_HOST_FLAGS) ; do \
14506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14507 done; \
14508 echo "Doing distclean in mmalloc" ; \
14509 (cd mmalloc && \
14510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14512 "RANLIB=$${RANLIB}" \
14513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14514 distclean) \
14515 || exit 1
14517 @endif mmalloc
14519 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
14520 maybe-maintainer-clean-mmalloc:
14521 @if mmalloc
14522 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
14524 maintainer-clean-mmalloc:
14525 @[ -f ./mmalloc/Makefile ] || exit 0; \
14526 r=`${PWD_COMMAND}`; export r; \
14527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14528 $(SET_LIB_PATH) \
14529 $(HOST_EXPORTS) \
14530 for flag in $(EXTRA_HOST_FLAGS) ; do \
14531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14532 done; \
14533 echo "Doing maintainer-clean in mmalloc" ; \
14534 (cd mmalloc && \
14535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14537 "RANLIB=$${RANLIB}" \
14538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14539 maintainer-clean) \
14540 || exit 1
14542 @endif mmalloc
14545 .PHONY: configure-patch maybe-configure-patch
14546 maybe-configure-patch:
14547 @if patch
14548 maybe-configure-patch: configure-patch
14549 configure-patch:
14550 @test ! -f patch/Makefile || exit 0; \
14551 [ -d patch ] || mkdir patch; \
14552 r=`${PWD_COMMAND}`; export r; \
14553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14554 $(HOST_EXPORTS) \
14555 echo Configuring in patch; \
14556 cd patch || exit 1; \
14557 case $(srcdir) in \
14558 \.) \
14559 srcdiroption="--srcdir=."; \
14560 libsrcdir=".";; \
14561 /* | [A-Za-z]:[\\/]*) \
14562 srcdiroption="--srcdir=$(srcdir)/patch"; \
14563 libsrcdir="$$s/patch";; \
14564 *) \
14565 srcdiroption="--srcdir=../$(srcdir)/patch"; \
14566 libsrcdir="$$s/patch";; \
14567 esac; \
14568 $(SHELL) $${libsrcdir}/configure \
14569 $(HOST_CONFIGARGS) $${srcdiroption} \
14570 || exit 1
14571 @endif patch
14573 .PHONY: all-patch maybe-all-patch
14574 maybe-all-patch:
14575 @if patch
14576 maybe-all-patch: all-patch
14577 all-patch: configure-patch
14578 @r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(SET_LIB_PATH) \
14581 $(HOST_EXPORTS) \
14582 (cd patch && $(MAKE) $(FLAGS_TO_PASS) all)
14583 @endif patch
14585 .PHONY: check-patch maybe-check-patch
14586 maybe-check-patch:
14587 @if patch
14588 maybe-check-patch: check-patch
14590 check-patch:
14591 @r=`${PWD_COMMAND}`; export r; \
14592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14593 $(SET_LIB_PATH) \
14594 $(HOST_EXPORTS) \
14595 (cd patch && $(MAKE) $(FLAGS_TO_PASS) check)
14597 @endif patch
14599 .PHONY: install-patch maybe-install-patch
14600 maybe-install-patch:
14601 @if patch
14602 maybe-install-patch: install-patch
14604 install-patch: installdirs
14605 @r=`${PWD_COMMAND}`; export r; \
14606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14607 $(SET_LIB_PATH) \
14608 $(HOST_EXPORTS) \
14609 (cd patch && $(MAKE) $(FLAGS_TO_PASS) install)
14611 @endif patch
14613 # Other targets (info, dvi, etc.)
14615 .PHONY: maybe-info-patch info-patch
14616 maybe-info-patch:
14617 @if patch
14618 maybe-info-patch: info-patch
14620 info-patch: \
14621 configure-patch
14622 @[ -f ./patch/Makefile ] || exit 0; \
14623 r=`${PWD_COMMAND}`; export r; \
14624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14625 $(SET_LIB_PATH) \
14626 $(HOST_EXPORTS) \
14627 for flag in $(EXTRA_HOST_FLAGS) ; do \
14628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629 done; \
14630 echo "Doing info in patch" ; \
14631 (cd patch && \
14632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634 "RANLIB=$${RANLIB}" \
14635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14636 info) \
14637 || exit 1
14639 @endif patch
14641 .PHONY: maybe-dvi-patch dvi-patch
14642 maybe-dvi-patch:
14643 @if patch
14644 maybe-dvi-patch: dvi-patch
14646 dvi-patch: \
14647 configure-patch
14648 @[ -f ./patch/Makefile ] || exit 0; \
14649 r=`${PWD_COMMAND}`; export r; \
14650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14651 $(SET_LIB_PATH) \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) ; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing dvi in patch" ; \
14657 (cd patch && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14662 dvi) \
14663 || exit 1
14665 @endif patch
14667 .PHONY: maybe-TAGS-patch TAGS-patch
14668 maybe-TAGS-patch:
14669 @if patch
14670 maybe-TAGS-patch: TAGS-patch
14672 TAGS-patch: \
14673 configure-patch
14674 @[ -f ./patch/Makefile ] || exit 0; \
14675 r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 $(SET_LIB_PATH) \
14678 $(HOST_EXPORTS) \
14679 for flag in $(EXTRA_HOST_FLAGS) ; do \
14680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14681 done; \
14682 echo "Doing TAGS in patch" ; \
14683 (cd patch && \
14684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14686 "RANLIB=$${RANLIB}" \
14687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14688 TAGS) \
14689 || exit 1
14691 @endif patch
14693 .PHONY: maybe-install-info-patch install-info-patch
14694 maybe-install-info-patch:
14695 @if patch
14696 maybe-install-info-patch: install-info-patch
14698 install-info-patch: \
14699 configure-patch \
14700 info-patch
14701 @[ -f ./patch/Makefile ] || exit 0; \
14702 r=`${PWD_COMMAND}`; export r; \
14703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14704 $(SET_LIB_PATH) \
14705 $(HOST_EXPORTS) \
14706 for flag in $(EXTRA_HOST_FLAGS) ; do \
14707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14708 done; \
14709 echo "Doing install-info in patch" ; \
14710 (cd patch && \
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}" \
14715 install-info) \
14716 || exit 1
14718 @endif patch
14720 .PHONY: maybe-installcheck-patch installcheck-patch
14721 maybe-installcheck-patch:
14722 @if patch
14723 maybe-installcheck-patch: installcheck-patch
14725 installcheck-patch: \
14726 configure-patch
14727 @[ -f ./patch/Makefile ] || exit 0; \
14728 r=`${PWD_COMMAND}`; export r; \
14729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14730 $(SET_LIB_PATH) \
14731 $(HOST_EXPORTS) \
14732 for flag in $(EXTRA_HOST_FLAGS) ; do \
14733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14734 done; \
14735 echo "Doing installcheck in patch" ; \
14736 (cd patch && \
14737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14739 "RANLIB=$${RANLIB}" \
14740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14741 installcheck) \
14742 || exit 1
14744 @endif patch
14746 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
14747 maybe-mostlyclean-patch:
14748 @if patch
14749 maybe-mostlyclean-patch: mostlyclean-patch
14751 mostlyclean-patch:
14752 @[ -f ./patch/Makefile ] || exit 0; \
14753 r=`${PWD_COMMAND}`; export r; \
14754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14755 $(SET_LIB_PATH) \
14756 $(HOST_EXPORTS) \
14757 for flag in $(EXTRA_HOST_FLAGS) ; do \
14758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14759 done; \
14760 echo "Doing mostlyclean in patch" ; \
14761 (cd patch && \
14762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14764 "RANLIB=$${RANLIB}" \
14765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14766 mostlyclean) \
14767 || exit 1
14769 @endif patch
14771 .PHONY: maybe-clean-patch clean-patch
14772 maybe-clean-patch:
14773 @if patch
14774 maybe-clean-patch: clean-patch
14776 clean-patch:
14777 @[ -f ./patch/Makefile ] || exit 0; \
14778 r=`${PWD_COMMAND}`; export r; \
14779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14780 $(SET_LIB_PATH) \
14781 $(HOST_EXPORTS) \
14782 for flag in $(EXTRA_HOST_FLAGS) ; do \
14783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14784 done; \
14785 echo "Doing clean in patch" ; \
14786 (cd patch && \
14787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14789 "RANLIB=$${RANLIB}" \
14790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14791 clean) \
14792 || exit 1
14794 @endif patch
14796 .PHONY: maybe-distclean-patch distclean-patch
14797 maybe-distclean-patch:
14798 @if patch
14799 maybe-distclean-patch: distclean-patch
14801 distclean-patch:
14802 @[ -f ./patch/Makefile ] || exit 0; \
14803 r=`${PWD_COMMAND}`; export r; \
14804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14805 $(SET_LIB_PATH) \
14806 $(HOST_EXPORTS) \
14807 for flag in $(EXTRA_HOST_FLAGS) ; do \
14808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14809 done; \
14810 echo "Doing distclean in patch" ; \
14811 (cd patch && \
14812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14814 "RANLIB=$${RANLIB}" \
14815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14816 distclean) \
14817 || exit 1
14819 @endif patch
14821 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
14822 maybe-maintainer-clean-patch:
14823 @if patch
14824 maybe-maintainer-clean-patch: maintainer-clean-patch
14826 maintainer-clean-patch:
14827 @[ -f ./patch/Makefile ] || exit 0; \
14828 r=`${PWD_COMMAND}`; export r; \
14829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14830 $(SET_LIB_PATH) \
14831 $(HOST_EXPORTS) \
14832 for flag in $(EXTRA_HOST_FLAGS) ; do \
14833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14834 done; \
14835 echo "Doing maintainer-clean in patch" ; \
14836 (cd patch && \
14837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14839 "RANLIB=$${RANLIB}" \
14840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14841 maintainer-clean) \
14842 || exit 1
14844 @endif patch
14847 .PHONY: configure-perl maybe-configure-perl
14848 maybe-configure-perl:
14849 @if perl
14850 maybe-configure-perl: configure-perl
14851 configure-perl:
14852 @test ! -f perl/Makefile || exit 0; \
14853 [ -d perl ] || mkdir perl; \
14854 r=`${PWD_COMMAND}`; export r; \
14855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14856 $(HOST_EXPORTS) \
14857 echo Configuring in perl; \
14858 cd perl || exit 1; \
14859 case $(srcdir) in \
14860 \.) \
14861 srcdiroption="--srcdir=."; \
14862 libsrcdir=".";; \
14863 /* | [A-Za-z]:[\\/]*) \
14864 srcdiroption="--srcdir=$(srcdir)/perl"; \
14865 libsrcdir="$$s/perl";; \
14866 *) \
14867 srcdiroption="--srcdir=../$(srcdir)/perl"; \
14868 libsrcdir="$$s/perl";; \
14869 esac; \
14870 $(SHELL) $${libsrcdir}/configure \
14871 $(HOST_CONFIGARGS) $${srcdiroption} \
14872 || exit 1
14873 @endif perl
14875 .PHONY: all-perl maybe-all-perl
14876 maybe-all-perl:
14877 @if perl
14878 maybe-all-perl: all-perl
14879 all-perl: configure-perl
14880 @r=`${PWD_COMMAND}`; export r; \
14881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14882 $(SET_LIB_PATH) \
14883 $(HOST_EXPORTS) \
14884 (cd perl && $(MAKE) $(FLAGS_TO_PASS) all)
14885 @endif perl
14887 .PHONY: check-perl maybe-check-perl
14888 maybe-check-perl:
14889 @if perl
14890 maybe-check-perl: check-perl
14892 check-perl:
14893 @r=`${PWD_COMMAND}`; export r; \
14894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14895 $(SET_LIB_PATH) \
14896 $(HOST_EXPORTS) \
14897 (cd perl && $(MAKE) $(FLAGS_TO_PASS) check)
14899 @endif perl
14901 .PHONY: install-perl maybe-install-perl
14902 maybe-install-perl:
14903 @if perl
14904 maybe-install-perl: install-perl
14906 install-perl: installdirs
14907 @r=`${PWD_COMMAND}`; export r; \
14908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14909 $(SET_LIB_PATH) \
14910 $(HOST_EXPORTS) \
14911 (cd perl && $(MAKE) $(FLAGS_TO_PASS) install)
14913 @endif perl
14915 # Other targets (info, dvi, etc.)
14917 .PHONY: maybe-info-perl info-perl
14918 maybe-info-perl:
14919 @if perl
14920 maybe-info-perl: info-perl
14922 info-perl: \
14923 configure-perl
14924 @[ -f ./perl/Makefile ] || exit 0; \
14925 r=`${PWD_COMMAND}`; export r; \
14926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14927 $(SET_LIB_PATH) \
14928 $(HOST_EXPORTS) \
14929 for flag in $(EXTRA_HOST_FLAGS) ; do \
14930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14931 done; \
14932 echo "Doing info in perl" ; \
14933 (cd perl && \
14934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14936 "RANLIB=$${RANLIB}" \
14937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14938 info) \
14939 || exit 1
14941 @endif perl
14943 .PHONY: maybe-dvi-perl dvi-perl
14944 maybe-dvi-perl:
14945 @if perl
14946 maybe-dvi-perl: dvi-perl
14948 dvi-perl: \
14949 configure-perl
14950 @[ -f ./perl/Makefile ] || exit 0; \
14951 r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 $(SET_LIB_PATH) \
14954 $(HOST_EXPORTS) \
14955 for flag in $(EXTRA_HOST_FLAGS) ; do \
14956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14957 done; \
14958 echo "Doing dvi in perl" ; \
14959 (cd perl && \
14960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14962 "RANLIB=$${RANLIB}" \
14963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14964 dvi) \
14965 || exit 1
14967 @endif perl
14969 .PHONY: maybe-TAGS-perl TAGS-perl
14970 maybe-TAGS-perl:
14971 @if perl
14972 maybe-TAGS-perl: TAGS-perl
14974 TAGS-perl: \
14975 configure-perl
14976 @[ -f ./perl/Makefile ] || exit 0; \
14977 r=`${PWD_COMMAND}`; export r; \
14978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14979 $(SET_LIB_PATH) \
14980 $(HOST_EXPORTS) \
14981 for flag in $(EXTRA_HOST_FLAGS) ; do \
14982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14983 done; \
14984 echo "Doing TAGS in perl" ; \
14985 (cd perl && \
14986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14988 "RANLIB=$${RANLIB}" \
14989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14990 TAGS) \
14991 || exit 1
14993 @endif perl
14995 .PHONY: maybe-install-info-perl install-info-perl
14996 maybe-install-info-perl:
14997 @if perl
14998 maybe-install-info-perl: install-info-perl
15000 install-info-perl: \
15001 configure-perl \
15002 info-perl
15003 @[ -f ./perl/Makefile ] || exit 0; \
15004 r=`${PWD_COMMAND}`; export r; \
15005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15006 $(SET_LIB_PATH) \
15007 $(HOST_EXPORTS) \
15008 for flag in $(EXTRA_HOST_FLAGS) ; do \
15009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15010 done; \
15011 echo "Doing install-info in perl" ; \
15012 (cd perl && \
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}" \
15017 install-info) \
15018 || exit 1
15020 @endif perl
15022 .PHONY: maybe-installcheck-perl installcheck-perl
15023 maybe-installcheck-perl:
15024 @if perl
15025 maybe-installcheck-perl: installcheck-perl
15027 installcheck-perl: \
15028 configure-perl
15029 @[ -f ./perl/Makefile ] || exit 0; \
15030 r=`${PWD_COMMAND}`; export r; \
15031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15032 $(SET_LIB_PATH) \
15033 $(HOST_EXPORTS) \
15034 for flag in $(EXTRA_HOST_FLAGS) ; do \
15035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15036 done; \
15037 echo "Doing installcheck in perl" ; \
15038 (cd perl && \
15039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15041 "RANLIB=$${RANLIB}" \
15042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15043 installcheck) \
15044 || exit 1
15046 @endif perl
15048 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
15049 maybe-mostlyclean-perl:
15050 @if perl
15051 maybe-mostlyclean-perl: mostlyclean-perl
15053 mostlyclean-perl:
15054 @[ -f ./perl/Makefile ] || exit 0; \
15055 r=`${PWD_COMMAND}`; export r; \
15056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15057 $(SET_LIB_PATH) \
15058 $(HOST_EXPORTS) \
15059 for flag in $(EXTRA_HOST_FLAGS) ; do \
15060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15061 done; \
15062 echo "Doing mostlyclean in perl" ; \
15063 (cd perl && \
15064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15066 "RANLIB=$${RANLIB}" \
15067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15068 mostlyclean) \
15069 || exit 1
15071 @endif perl
15073 .PHONY: maybe-clean-perl clean-perl
15074 maybe-clean-perl:
15075 @if perl
15076 maybe-clean-perl: clean-perl
15078 clean-perl:
15079 @[ -f ./perl/Makefile ] || exit 0; \
15080 r=`${PWD_COMMAND}`; export r; \
15081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 $(SET_LIB_PATH) \
15083 $(HOST_EXPORTS) \
15084 for flag in $(EXTRA_HOST_FLAGS) ; do \
15085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15086 done; \
15087 echo "Doing clean in perl" ; \
15088 (cd perl && \
15089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15091 "RANLIB=$${RANLIB}" \
15092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15093 clean) \
15094 || exit 1
15096 @endif perl
15098 .PHONY: maybe-distclean-perl distclean-perl
15099 maybe-distclean-perl:
15100 @if perl
15101 maybe-distclean-perl: distclean-perl
15103 distclean-perl:
15104 @[ -f ./perl/Makefile ] || exit 0; \
15105 r=`${PWD_COMMAND}`; export r; \
15106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15107 $(SET_LIB_PATH) \
15108 $(HOST_EXPORTS) \
15109 for flag in $(EXTRA_HOST_FLAGS) ; do \
15110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15111 done; \
15112 echo "Doing distclean in perl" ; \
15113 (cd perl && \
15114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15116 "RANLIB=$${RANLIB}" \
15117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15118 distclean) \
15119 || exit 1
15121 @endif perl
15123 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
15124 maybe-maintainer-clean-perl:
15125 @if perl
15126 maybe-maintainer-clean-perl: maintainer-clean-perl
15128 maintainer-clean-perl:
15129 @[ -f ./perl/Makefile ] || exit 0; \
15130 r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 $(SET_LIB_PATH) \
15133 $(HOST_EXPORTS) \
15134 for flag in $(EXTRA_HOST_FLAGS) ; do \
15135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15136 done; \
15137 echo "Doing maintainer-clean in perl" ; \
15138 (cd perl && \
15139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15141 "RANLIB=$${RANLIB}" \
15142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15143 maintainer-clean) \
15144 || exit 1
15146 @endif perl
15149 .PHONY: configure-prms maybe-configure-prms
15150 maybe-configure-prms:
15151 @if prms
15152 maybe-configure-prms: configure-prms
15153 configure-prms:
15154 @test ! -f prms/Makefile || exit 0; \
15155 [ -d prms ] || mkdir prms; \
15156 r=`${PWD_COMMAND}`; export r; \
15157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15158 $(HOST_EXPORTS) \
15159 echo Configuring in prms; \
15160 cd prms || exit 1; \
15161 case $(srcdir) in \
15162 \.) \
15163 srcdiroption="--srcdir=."; \
15164 libsrcdir=".";; \
15165 /* | [A-Za-z]:[\\/]*) \
15166 srcdiroption="--srcdir=$(srcdir)/prms"; \
15167 libsrcdir="$$s/prms";; \
15168 *) \
15169 srcdiroption="--srcdir=../$(srcdir)/prms"; \
15170 libsrcdir="$$s/prms";; \
15171 esac; \
15172 $(SHELL) $${libsrcdir}/configure \
15173 $(HOST_CONFIGARGS) $${srcdiroption} \
15174 || exit 1
15175 @endif prms
15177 .PHONY: all-prms maybe-all-prms
15178 maybe-all-prms:
15179 @if prms
15180 maybe-all-prms: all-prms
15181 all-prms: configure-prms
15182 @r=`${PWD_COMMAND}`; export r; \
15183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15184 $(SET_LIB_PATH) \
15185 $(HOST_EXPORTS) \
15186 (cd prms && $(MAKE) $(FLAGS_TO_PASS) all)
15187 @endif prms
15189 .PHONY: check-prms maybe-check-prms
15190 maybe-check-prms:
15191 @if prms
15192 maybe-check-prms: check-prms
15194 check-prms:
15195 @r=`${PWD_COMMAND}`; export r; \
15196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15197 $(SET_LIB_PATH) \
15198 $(HOST_EXPORTS) \
15199 (cd prms && $(MAKE) $(FLAGS_TO_PASS) check)
15201 @endif prms
15203 .PHONY: install-prms maybe-install-prms
15204 maybe-install-prms:
15205 @if prms
15206 maybe-install-prms: install-prms
15208 install-prms: installdirs
15209 @r=`${PWD_COMMAND}`; export r; \
15210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15211 $(SET_LIB_PATH) \
15212 $(HOST_EXPORTS) \
15213 (cd prms && $(MAKE) $(FLAGS_TO_PASS) install)
15215 @endif prms
15217 # Other targets (info, dvi, etc.)
15219 .PHONY: maybe-info-prms info-prms
15220 maybe-info-prms:
15221 @if prms
15222 maybe-info-prms: info-prms
15224 info-prms: \
15225 configure-prms
15226 @[ -f ./prms/Makefile ] || exit 0; \
15227 r=`${PWD_COMMAND}`; export r; \
15228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15229 $(SET_LIB_PATH) \
15230 $(HOST_EXPORTS) \
15231 for flag in $(EXTRA_HOST_FLAGS) ; do \
15232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15233 done; \
15234 echo "Doing info in prms" ; \
15235 (cd prms && \
15236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15238 "RANLIB=$${RANLIB}" \
15239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15240 info) \
15241 || exit 1
15243 @endif prms
15245 .PHONY: maybe-dvi-prms dvi-prms
15246 maybe-dvi-prms:
15247 @if prms
15248 maybe-dvi-prms: dvi-prms
15250 dvi-prms: \
15251 configure-prms
15252 @[ -f ./prms/Makefile ] || exit 0; \
15253 r=`${PWD_COMMAND}`; export r; \
15254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15255 $(SET_LIB_PATH) \
15256 $(HOST_EXPORTS) \
15257 for flag in $(EXTRA_HOST_FLAGS) ; do \
15258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15259 done; \
15260 echo "Doing dvi in prms" ; \
15261 (cd prms && \
15262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15264 "RANLIB=$${RANLIB}" \
15265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15266 dvi) \
15267 || exit 1
15269 @endif prms
15271 .PHONY: maybe-TAGS-prms TAGS-prms
15272 maybe-TAGS-prms:
15273 @if prms
15274 maybe-TAGS-prms: TAGS-prms
15276 TAGS-prms: \
15277 configure-prms
15278 @[ -f ./prms/Makefile ] || exit 0; \
15279 r=`${PWD_COMMAND}`; export r; \
15280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15281 $(SET_LIB_PATH) \
15282 $(HOST_EXPORTS) \
15283 for flag in $(EXTRA_HOST_FLAGS) ; do \
15284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15285 done; \
15286 echo "Doing TAGS in prms" ; \
15287 (cd prms && \
15288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15290 "RANLIB=$${RANLIB}" \
15291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15292 TAGS) \
15293 || exit 1
15295 @endif prms
15297 .PHONY: maybe-install-info-prms install-info-prms
15298 maybe-install-info-prms:
15299 @if prms
15300 maybe-install-info-prms: install-info-prms
15302 install-info-prms: \
15303 configure-prms \
15304 info-prms
15305 @[ -f ./prms/Makefile ] || exit 0; \
15306 r=`${PWD_COMMAND}`; export r; \
15307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15308 $(SET_LIB_PATH) \
15309 $(HOST_EXPORTS) \
15310 for flag in $(EXTRA_HOST_FLAGS) ; do \
15311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15312 done; \
15313 echo "Doing install-info in prms" ; \
15314 (cd prms && \
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}" \
15319 install-info) \
15320 || exit 1
15322 @endif prms
15324 .PHONY: maybe-installcheck-prms installcheck-prms
15325 maybe-installcheck-prms:
15326 @if prms
15327 maybe-installcheck-prms: installcheck-prms
15329 installcheck-prms: \
15330 configure-prms
15331 @[ -f ./prms/Makefile ] || exit 0; \
15332 r=`${PWD_COMMAND}`; export r; \
15333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15334 $(SET_LIB_PATH) \
15335 $(HOST_EXPORTS) \
15336 for flag in $(EXTRA_HOST_FLAGS) ; do \
15337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15338 done; \
15339 echo "Doing installcheck in prms" ; \
15340 (cd prms && \
15341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15343 "RANLIB=$${RANLIB}" \
15344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15345 installcheck) \
15346 || exit 1
15348 @endif prms
15350 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
15351 maybe-mostlyclean-prms:
15352 @if prms
15353 maybe-mostlyclean-prms: mostlyclean-prms
15355 mostlyclean-prms:
15356 @[ -f ./prms/Makefile ] || exit 0; \
15357 r=`${PWD_COMMAND}`; export r; \
15358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15359 $(SET_LIB_PATH) \
15360 $(HOST_EXPORTS) \
15361 for flag in $(EXTRA_HOST_FLAGS) ; do \
15362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15363 done; \
15364 echo "Doing mostlyclean in prms" ; \
15365 (cd prms && \
15366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15368 "RANLIB=$${RANLIB}" \
15369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15370 mostlyclean) \
15371 || exit 1
15373 @endif prms
15375 .PHONY: maybe-clean-prms clean-prms
15376 maybe-clean-prms:
15377 @if prms
15378 maybe-clean-prms: clean-prms
15380 clean-prms:
15381 @[ -f ./prms/Makefile ] || exit 0; \
15382 r=`${PWD_COMMAND}`; export r; \
15383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15384 $(SET_LIB_PATH) \
15385 $(HOST_EXPORTS) \
15386 for flag in $(EXTRA_HOST_FLAGS) ; do \
15387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15388 done; \
15389 echo "Doing clean in prms" ; \
15390 (cd prms && \
15391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15393 "RANLIB=$${RANLIB}" \
15394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15395 clean) \
15396 || exit 1
15398 @endif prms
15400 .PHONY: maybe-distclean-prms distclean-prms
15401 maybe-distclean-prms:
15402 @if prms
15403 maybe-distclean-prms: distclean-prms
15405 distclean-prms:
15406 @[ -f ./prms/Makefile ] || exit 0; \
15407 r=`${PWD_COMMAND}`; export r; \
15408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15409 $(SET_LIB_PATH) \
15410 $(HOST_EXPORTS) \
15411 for flag in $(EXTRA_HOST_FLAGS) ; do \
15412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15413 done; \
15414 echo "Doing distclean in prms" ; \
15415 (cd prms && \
15416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15418 "RANLIB=$${RANLIB}" \
15419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15420 distclean) \
15421 || exit 1
15423 @endif prms
15425 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
15426 maybe-maintainer-clean-prms:
15427 @if prms
15428 maybe-maintainer-clean-prms: maintainer-clean-prms
15430 maintainer-clean-prms:
15431 @[ -f ./prms/Makefile ] || exit 0; \
15432 r=`${PWD_COMMAND}`; export r; \
15433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15434 $(SET_LIB_PATH) \
15435 $(HOST_EXPORTS) \
15436 for flag in $(EXTRA_HOST_FLAGS) ; do \
15437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15438 done; \
15439 echo "Doing maintainer-clean in prms" ; \
15440 (cd prms && \
15441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15443 "RANLIB=$${RANLIB}" \
15444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15445 maintainer-clean) \
15446 || exit 1
15448 @endif prms
15451 .PHONY: configure-rcs maybe-configure-rcs
15452 maybe-configure-rcs:
15453 @if rcs
15454 maybe-configure-rcs: configure-rcs
15455 configure-rcs:
15456 @test ! -f rcs/Makefile || exit 0; \
15457 [ -d rcs ] || mkdir rcs; \
15458 r=`${PWD_COMMAND}`; export r; \
15459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15460 $(HOST_EXPORTS) \
15461 echo Configuring in rcs; \
15462 cd rcs || exit 1; \
15463 case $(srcdir) in \
15464 \.) \
15465 srcdiroption="--srcdir=."; \
15466 libsrcdir=".";; \
15467 /* | [A-Za-z]:[\\/]*) \
15468 srcdiroption="--srcdir=$(srcdir)/rcs"; \
15469 libsrcdir="$$s/rcs";; \
15470 *) \
15471 srcdiroption="--srcdir=../$(srcdir)/rcs"; \
15472 libsrcdir="$$s/rcs";; \
15473 esac; \
15474 $(SHELL) $${libsrcdir}/configure \
15475 $(HOST_CONFIGARGS) $${srcdiroption} \
15476 || exit 1
15477 @endif rcs
15479 .PHONY: all-rcs maybe-all-rcs
15480 maybe-all-rcs:
15481 @if rcs
15482 maybe-all-rcs: all-rcs
15483 all-rcs: configure-rcs
15484 @r=`${PWD_COMMAND}`; export r; \
15485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15486 $(SET_LIB_PATH) \
15487 $(HOST_EXPORTS) \
15488 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) all)
15489 @endif rcs
15491 .PHONY: check-rcs maybe-check-rcs
15492 maybe-check-rcs:
15493 @if rcs
15494 maybe-check-rcs: check-rcs
15496 check-rcs:
15497 @r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(SET_LIB_PATH) \
15500 $(HOST_EXPORTS) \
15501 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) check)
15503 @endif rcs
15505 .PHONY: install-rcs maybe-install-rcs
15506 maybe-install-rcs:
15507 @if rcs
15508 maybe-install-rcs: install-rcs
15510 install-rcs: installdirs
15511 @r=`${PWD_COMMAND}`; export r; \
15512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15513 $(SET_LIB_PATH) \
15514 $(HOST_EXPORTS) \
15515 (cd rcs && $(MAKE) $(FLAGS_TO_PASS) install)
15517 @endif rcs
15519 # Other targets (info, dvi, etc.)
15521 .PHONY: maybe-info-rcs info-rcs
15522 maybe-info-rcs:
15523 @if rcs
15524 maybe-info-rcs: info-rcs
15526 info-rcs: \
15527 configure-rcs
15528 @[ -f ./rcs/Makefile ] || exit 0; \
15529 r=`${PWD_COMMAND}`; export r; \
15530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15531 $(SET_LIB_PATH) \
15532 $(HOST_EXPORTS) \
15533 for flag in $(EXTRA_HOST_FLAGS) ; do \
15534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15535 done; \
15536 echo "Doing info in rcs" ; \
15537 (cd rcs && \
15538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15540 "RANLIB=$${RANLIB}" \
15541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15542 info) \
15543 || exit 1
15545 @endif rcs
15547 .PHONY: maybe-dvi-rcs dvi-rcs
15548 maybe-dvi-rcs:
15549 @if rcs
15550 maybe-dvi-rcs: dvi-rcs
15552 dvi-rcs: \
15553 configure-rcs
15554 @[ -f ./rcs/Makefile ] || exit 0; \
15555 r=`${PWD_COMMAND}`; export r; \
15556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15557 $(SET_LIB_PATH) \
15558 $(HOST_EXPORTS) \
15559 for flag in $(EXTRA_HOST_FLAGS) ; do \
15560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15561 done; \
15562 echo "Doing dvi in rcs" ; \
15563 (cd rcs && \
15564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15566 "RANLIB=$${RANLIB}" \
15567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15568 dvi) \
15569 || exit 1
15571 @endif rcs
15573 .PHONY: maybe-TAGS-rcs TAGS-rcs
15574 maybe-TAGS-rcs:
15575 @if rcs
15576 maybe-TAGS-rcs: TAGS-rcs
15578 TAGS-rcs: \
15579 configure-rcs
15580 @[ -f ./rcs/Makefile ] || exit 0; \
15581 r=`${PWD_COMMAND}`; export r; \
15582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15583 $(SET_LIB_PATH) \
15584 $(HOST_EXPORTS) \
15585 for flag in $(EXTRA_HOST_FLAGS) ; do \
15586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15587 done; \
15588 echo "Doing TAGS in rcs" ; \
15589 (cd rcs && \
15590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15592 "RANLIB=$${RANLIB}" \
15593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15594 TAGS) \
15595 || exit 1
15597 @endif rcs
15599 .PHONY: maybe-install-info-rcs install-info-rcs
15600 maybe-install-info-rcs:
15601 @if rcs
15602 maybe-install-info-rcs: install-info-rcs
15604 install-info-rcs: \
15605 configure-rcs \
15606 info-rcs
15607 @[ -f ./rcs/Makefile ] || exit 0; \
15608 r=`${PWD_COMMAND}`; export r; \
15609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15610 $(SET_LIB_PATH) \
15611 $(HOST_EXPORTS) \
15612 for flag in $(EXTRA_HOST_FLAGS) ; do \
15613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15614 done; \
15615 echo "Doing install-info in rcs" ; \
15616 (cd rcs && \
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}" \
15621 install-info) \
15622 || exit 1
15624 @endif rcs
15626 .PHONY: maybe-installcheck-rcs installcheck-rcs
15627 maybe-installcheck-rcs:
15628 @if rcs
15629 maybe-installcheck-rcs: installcheck-rcs
15631 installcheck-rcs: \
15632 configure-rcs
15633 @[ -f ./rcs/Makefile ] || exit 0; \
15634 r=`${PWD_COMMAND}`; export r; \
15635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15636 $(SET_LIB_PATH) \
15637 $(HOST_EXPORTS) \
15638 for flag in $(EXTRA_HOST_FLAGS) ; do \
15639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15640 done; \
15641 echo "Doing installcheck in rcs" ; \
15642 (cd rcs && \
15643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15645 "RANLIB=$${RANLIB}" \
15646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15647 installcheck) \
15648 || exit 1
15650 @endif rcs
15652 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
15653 maybe-mostlyclean-rcs:
15654 @if rcs
15655 maybe-mostlyclean-rcs: mostlyclean-rcs
15657 mostlyclean-rcs:
15658 @[ -f ./rcs/Makefile ] || exit 0; \
15659 r=`${PWD_COMMAND}`; export r; \
15660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15661 $(SET_LIB_PATH) \
15662 $(HOST_EXPORTS) \
15663 for flag in $(EXTRA_HOST_FLAGS) ; do \
15664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15665 done; \
15666 echo "Doing mostlyclean in rcs" ; \
15667 (cd rcs && \
15668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15670 "RANLIB=$${RANLIB}" \
15671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15672 mostlyclean) \
15673 || exit 1
15675 @endif rcs
15677 .PHONY: maybe-clean-rcs clean-rcs
15678 maybe-clean-rcs:
15679 @if rcs
15680 maybe-clean-rcs: clean-rcs
15682 clean-rcs:
15683 @[ -f ./rcs/Makefile ] || exit 0; \
15684 r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 $(SET_LIB_PATH) \
15687 $(HOST_EXPORTS) \
15688 for flag in $(EXTRA_HOST_FLAGS) ; do \
15689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15690 done; \
15691 echo "Doing clean in rcs" ; \
15692 (cd rcs && \
15693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15695 "RANLIB=$${RANLIB}" \
15696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15697 clean) \
15698 || exit 1
15700 @endif rcs
15702 .PHONY: maybe-distclean-rcs distclean-rcs
15703 maybe-distclean-rcs:
15704 @if rcs
15705 maybe-distclean-rcs: distclean-rcs
15707 distclean-rcs:
15708 @[ -f ./rcs/Makefile ] || exit 0; \
15709 r=`${PWD_COMMAND}`; export r; \
15710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15711 $(SET_LIB_PATH) \
15712 $(HOST_EXPORTS) \
15713 for flag in $(EXTRA_HOST_FLAGS) ; do \
15714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15715 done; \
15716 echo "Doing distclean in rcs" ; \
15717 (cd rcs && \
15718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15720 "RANLIB=$${RANLIB}" \
15721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15722 distclean) \
15723 || exit 1
15725 @endif rcs
15727 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
15728 maybe-maintainer-clean-rcs:
15729 @if rcs
15730 maybe-maintainer-clean-rcs: maintainer-clean-rcs
15732 maintainer-clean-rcs:
15733 @[ -f ./rcs/Makefile ] || exit 0; \
15734 r=`${PWD_COMMAND}`; export r; \
15735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15736 $(SET_LIB_PATH) \
15737 $(HOST_EXPORTS) \
15738 for flag in $(EXTRA_HOST_FLAGS) ; do \
15739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15740 done; \
15741 echo "Doing maintainer-clean in rcs" ; \
15742 (cd rcs && \
15743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15745 "RANLIB=$${RANLIB}" \
15746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15747 maintainer-clean) \
15748 || exit 1
15750 @endif rcs
15753 .PHONY: configure-readline maybe-configure-readline
15754 maybe-configure-readline:
15755 @if readline
15756 maybe-configure-readline: configure-readline
15757 configure-readline:
15758 @test ! -f readline/Makefile || exit 0; \
15759 [ -d readline ] || mkdir readline; \
15760 r=`${PWD_COMMAND}`; export r; \
15761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15762 $(HOST_EXPORTS) \
15763 echo Configuring in readline; \
15764 cd readline || exit 1; \
15765 case $(srcdir) in \
15766 \.) \
15767 srcdiroption="--srcdir=."; \
15768 libsrcdir=".";; \
15769 /* | [A-Za-z]:[\\/]*) \
15770 srcdiroption="--srcdir=$(srcdir)/readline"; \
15771 libsrcdir="$$s/readline";; \
15772 *) \
15773 srcdiroption="--srcdir=../$(srcdir)/readline"; \
15774 libsrcdir="$$s/readline";; \
15775 esac; \
15776 $(SHELL) $${libsrcdir}/configure \
15777 $(HOST_CONFIGARGS) $${srcdiroption} \
15778 || exit 1
15779 @endif readline
15781 .PHONY: all-readline maybe-all-readline
15782 maybe-all-readline:
15783 @if readline
15784 maybe-all-readline: all-readline
15785 all-readline: configure-readline
15786 @r=`${PWD_COMMAND}`; export r; \
15787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15788 $(SET_LIB_PATH) \
15789 $(HOST_EXPORTS) \
15790 (cd readline && $(MAKE) $(FLAGS_TO_PASS) all)
15791 @endif readline
15793 .PHONY: check-readline maybe-check-readline
15794 maybe-check-readline:
15795 @if readline
15796 maybe-check-readline: check-readline
15798 check-readline:
15799 @r=`${PWD_COMMAND}`; export r; \
15800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15801 $(SET_LIB_PATH) \
15802 $(HOST_EXPORTS) \
15803 (cd readline && $(MAKE) $(FLAGS_TO_PASS) check)
15805 @endif readline
15807 .PHONY: install-readline maybe-install-readline
15808 maybe-install-readline:
15809 @if readline
15810 maybe-install-readline: install-readline
15812 install-readline: installdirs
15813 @r=`${PWD_COMMAND}`; export r; \
15814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15815 $(SET_LIB_PATH) \
15816 $(HOST_EXPORTS) \
15817 (cd readline && $(MAKE) $(FLAGS_TO_PASS) install)
15819 @endif readline
15821 # Other targets (info, dvi, etc.)
15823 .PHONY: maybe-info-readline info-readline
15824 maybe-info-readline:
15825 @if readline
15826 maybe-info-readline: info-readline
15828 info-readline: \
15829 configure-readline
15830 @[ -f ./readline/Makefile ] || exit 0; \
15831 r=`${PWD_COMMAND}`; export r; \
15832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15833 $(SET_LIB_PATH) \
15834 $(HOST_EXPORTS) \
15835 for flag in $(EXTRA_HOST_FLAGS) ; do \
15836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15837 done; \
15838 echo "Doing info in readline" ; \
15839 (cd readline && \
15840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15842 "RANLIB=$${RANLIB}" \
15843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15844 info) \
15845 || exit 1
15847 @endif readline
15849 .PHONY: maybe-dvi-readline dvi-readline
15850 maybe-dvi-readline:
15851 @if readline
15852 maybe-dvi-readline: dvi-readline
15854 dvi-readline: \
15855 configure-readline
15856 @[ -f ./readline/Makefile ] || exit 0; \
15857 r=`${PWD_COMMAND}`; export r; \
15858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15859 $(SET_LIB_PATH) \
15860 $(HOST_EXPORTS) \
15861 for flag in $(EXTRA_HOST_FLAGS) ; do \
15862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15863 done; \
15864 echo "Doing dvi in readline" ; \
15865 (cd readline && \
15866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15868 "RANLIB=$${RANLIB}" \
15869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15870 dvi) \
15871 || exit 1
15873 @endif readline
15875 .PHONY: maybe-TAGS-readline TAGS-readline
15876 maybe-TAGS-readline:
15877 @if readline
15878 maybe-TAGS-readline: TAGS-readline
15880 TAGS-readline: \
15881 configure-readline
15882 @[ -f ./readline/Makefile ] || exit 0; \
15883 r=`${PWD_COMMAND}`; export r; \
15884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15885 $(SET_LIB_PATH) \
15886 $(HOST_EXPORTS) \
15887 for flag in $(EXTRA_HOST_FLAGS) ; do \
15888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15889 done; \
15890 echo "Doing TAGS in readline" ; \
15891 (cd readline && \
15892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15894 "RANLIB=$${RANLIB}" \
15895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15896 TAGS) \
15897 || exit 1
15899 @endif readline
15901 .PHONY: maybe-install-info-readline install-info-readline
15902 maybe-install-info-readline:
15903 @if readline
15904 maybe-install-info-readline: install-info-readline
15906 install-info-readline: \
15907 configure-readline \
15908 info-readline
15909 @[ -f ./readline/Makefile ] || exit 0; \
15910 r=`${PWD_COMMAND}`; export r; \
15911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15912 $(SET_LIB_PATH) \
15913 $(HOST_EXPORTS) \
15914 for flag in $(EXTRA_HOST_FLAGS) ; do \
15915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 done; \
15917 echo "Doing install-info in readline" ; \
15918 (cd readline && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15921 "RANLIB=$${RANLIB}" \
15922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15923 install-info) \
15924 || exit 1
15926 @endif readline
15928 .PHONY: maybe-installcheck-readline installcheck-readline
15929 maybe-installcheck-readline:
15930 @if readline
15931 maybe-installcheck-readline: installcheck-readline
15933 installcheck-readline: \
15934 configure-readline
15935 @[ -f ./readline/Makefile ] || exit 0; \
15936 r=`${PWD_COMMAND}`; export r; \
15937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15938 $(SET_LIB_PATH) \
15939 $(HOST_EXPORTS) \
15940 for flag in $(EXTRA_HOST_FLAGS) ; do \
15941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15942 done; \
15943 echo "Doing installcheck in readline" ; \
15944 (cd readline && \
15945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15947 "RANLIB=$${RANLIB}" \
15948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15949 installcheck) \
15950 || exit 1
15952 @endif readline
15954 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
15955 maybe-mostlyclean-readline:
15956 @if readline
15957 maybe-mostlyclean-readline: mostlyclean-readline
15959 mostlyclean-readline:
15960 @[ -f ./readline/Makefile ] || exit 0; \
15961 r=`${PWD_COMMAND}`; export r; \
15962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15963 $(SET_LIB_PATH) \
15964 $(HOST_EXPORTS) \
15965 for flag in $(EXTRA_HOST_FLAGS) ; do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 done; \
15968 echo "Doing mostlyclean in readline" ; \
15969 (cd readline && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15972 "RANLIB=$${RANLIB}" \
15973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 mostlyclean) \
15975 || exit 1
15977 @endif readline
15979 .PHONY: maybe-clean-readline clean-readline
15980 maybe-clean-readline:
15981 @if readline
15982 maybe-clean-readline: clean-readline
15984 clean-readline:
15985 @[ -f ./readline/Makefile ] || exit 0; \
15986 r=`${PWD_COMMAND}`; export r; \
15987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15988 $(SET_LIB_PATH) \
15989 $(HOST_EXPORTS) \
15990 for flag in $(EXTRA_HOST_FLAGS) ; do \
15991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 done; \
15993 echo "Doing clean in readline" ; \
15994 (cd readline && \
15995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15997 "RANLIB=$${RANLIB}" \
15998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15999 clean) \
16000 || exit 1
16002 @endif readline
16004 .PHONY: maybe-distclean-readline distclean-readline
16005 maybe-distclean-readline:
16006 @if readline
16007 maybe-distclean-readline: distclean-readline
16009 distclean-readline:
16010 @[ -f ./readline/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(SET_LIB_PATH) \
16014 $(HOST_EXPORTS) \
16015 for flag in $(EXTRA_HOST_FLAGS) ; do \
16016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16017 done; \
16018 echo "Doing distclean in readline" ; \
16019 (cd readline && \
16020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16022 "RANLIB=$${RANLIB}" \
16023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16024 distclean) \
16025 || exit 1
16027 @endif readline
16029 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
16030 maybe-maintainer-clean-readline:
16031 @if readline
16032 maybe-maintainer-clean-readline: maintainer-clean-readline
16034 maintainer-clean-readline:
16035 @[ -f ./readline/Makefile ] || exit 0; \
16036 r=`${PWD_COMMAND}`; export r; \
16037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16038 $(SET_LIB_PATH) \
16039 $(HOST_EXPORTS) \
16040 for flag in $(EXTRA_HOST_FLAGS) ; do \
16041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16042 done; \
16043 echo "Doing maintainer-clean in readline" ; \
16044 (cd readline && \
16045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16047 "RANLIB=$${RANLIB}" \
16048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16049 maintainer-clean) \
16050 || exit 1
16052 @endif readline
16055 .PHONY: configure-release maybe-configure-release
16056 maybe-configure-release:
16057 @if release
16058 maybe-configure-release: configure-release
16059 configure-release:
16060 @test ! -f release/Makefile || exit 0; \
16061 [ -d release ] || mkdir release; \
16062 r=`${PWD_COMMAND}`; export r; \
16063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16064 $(HOST_EXPORTS) \
16065 echo Configuring in release; \
16066 cd release || exit 1; \
16067 case $(srcdir) in \
16068 \.) \
16069 srcdiroption="--srcdir=."; \
16070 libsrcdir=".";; \
16071 /* | [A-Za-z]:[\\/]*) \
16072 srcdiroption="--srcdir=$(srcdir)/release"; \
16073 libsrcdir="$$s/release";; \
16074 *) \
16075 srcdiroption="--srcdir=../$(srcdir)/release"; \
16076 libsrcdir="$$s/release";; \
16077 esac; \
16078 $(SHELL) $${libsrcdir}/configure \
16079 $(HOST_CONFIGARGS) $${srcdiroption} \
16080 || exit 1
16081 @endif release
16083 .PHONY: all-release maybe-all-release
16084 maybe-all-release:
16085 @if release
16086 maybe-all-release: all-release
16087 all-release: configure-release
16088 @r=`${PWD_COMMAND}`; export r; \
16089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16090 $(SET_LIB_PATH) \
16091 $(HOST_EXPORTS) \
16092 (cd release && $(MAKE) $(FLAGS_TO_PASS) all)
16093 @endif release
16095 .PHONY: check-release maybe-check-release
16096 maybe-check-release:
16097 @if release
16098 maybe-check-release: check-release
16100 check-release:
16102 @endif release
16104 .PHONY: install-release maybe-install-release
16105 maybe-install-release:
16106 @if release
16107 maybe-install-release: install-release
16109 install-release:
16111 @endif release
16113 # Other targets (info, dvi, etc.)
16115 .PHONY: maybe-info-release info-release
16116 maybe-info-release:
16117 @if release
16118 maybe-info-release: info-release
16120 info-release: \
16121 configure-release
16122 @[ -f ./release/Makefile ] || exit 0; \
16123 r=`${PWD_COMMAND}`; export r; \
16124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16125 $(SET_LIB_PATH) \
16126 $(HOST_EXPORTS) \
16127 for flag in $(EXTRA_HOST_FLAGS) ; do \
16128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16129 done; \
16130 echo "Doing info in release" ; \
16131 (cd release && \
16132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16134 "RANLIB=$${RANLIB}" \
16135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16136 info) \
16137 || exit 1
16139 @endif release
16141 .PHONY: maybe-dvi-release dvi-release
16142 maybe-dvi-release:
16143 @if release
16144 maybe-dvi-release: dvi-release
16146 dvi-release: \
16147 configure-release
16148 @[ -f ./release/Makefile ] || exit 0; \
16149 r=`${PWD_COMMAND}`; export r; \
16150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16151 $(SET_LIB_PATH) \
16152 $(HOST_EXPORTS) \
16153 for flag in $(EXTRA_HOST_FLAGS) ; do \
16154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16155 done; \
16156 echo "Doing dvi in release" ; \
16157 (cd release && \
16158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16160 "RANLIB=$${RANLIB}" \
16161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16162 dvi) \
16163 || exit 1
16165 @endif release
16167 .PHONY: maybe-TAGS-release TAGS-release
16168 maybe-TAGS-release:
16169 @if release
16170 maybe-TAGS-release: TAGS-release
16172 TAGS-release: \
16173 configure-release
16174 @[ -f ./release/Makefile ] || exit 0; \
16175 r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(SET_LIB_PATH) \
16178 $(HOST_EXPORTS) \
16179 for flag in $(EXTRA_HOST_FLAGS) ; do \
16180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16181 done; \
16182 echo "Doing TAGS in release" ; \
16183 (cd release && \
16184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16186 "RANLIB=$${RANLIB}" \
16187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16188 TAGS) \
16189 || exit 1
16191 @endif release
16193 .PHONY: maybe-install-info-release install-info-release
16194 maybe-install-info-release:
16195 @if release
16196 maybe-install-info-release: install-info-release
16198 install-info-release: \
16199 configure-release \
16200 info-release
16201 @[ -f ./release/Makefile ] || exit 0; \
16202 r=`${PWD_COMMAND}`; export r; \
16203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16204 $(SET_LIB_PATH) \
16205 $(HOST_EXPORTS) \
16206 for flag in $(EXTRA_HOST_FLAGS) ; do \
16207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16208 done; \
16209 echo "Doing install-info in release" ; \
16210 (cd release && \
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}" \
16215 install-info) \
16216 || exit 1
16218 @endif release
16220 .PHONY: maybe-installcheck-release installcheck-release
16221 maybe-installcheck-release:
16222 @if release
16223 maybe-installcheck-release: installcheck-release
16225 installcheck-release: \
16226 configure-release
16227 @[ -f ./release/Makefile ] || exit 0; \
16228 r=`${PWD_COMMAND}`; export r; \
16229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16230 $(SET_LIB_PATH) \
16231 $(HOST_EXPORTS) \
16232 for flag in $(EXTRA_HOST_FLAGS) ; do \
16233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16234 done; \
16235 echo "Doing installcheck in release" ; \
16236 (cd release && \
16237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16239 "RANLIB=$${RANLIB}" \
16240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16241 installcheck) \
16242 || exit 1
16244 @endif release
16246 .PHONY: maybe-mostlyclean-release mostlyclean-release
16247 maybe-mostlyclean-release:
16248 @if release
16249 maybe-mostlyclean-release: mostlyclean-release
16251 mostlyclean-release:
16252 @[ -f ./release/Makefile ] || exit 0; \
16253 r=`${PWD_COMMAND}`; export r; \
16254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16255 $(SET_LIB_PATH) \
16256 $(HOST_EXPORTS) \
16257 for flag in $(EXTRA_HOST_FLAGS) ; do \
16258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16259 done; \
16260 echo "Doing mostlyclean in release" ; \
16261 (cd release && \
16262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16264 "RANLIB=$${RANLIB}" \
16265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16266 mostlyclean) \
16267 || exit 1
16269 @endif release
16271 .PHONY: maybe-clean-release clean-release
16272 maybe-clean-release:
16273 @if release
16274 maybe-clean-release: clean-release
16276 clean-release:
16277 @[ -f ./release/Makefile ] || exit 0; \
16278 r=`${PWD_COMMAND}`; export r; \
16279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16280 $(SET_LIB_PATH) \
16281 $(HOST_EXPORTS) \
16282 for flag in $(EXTRA_HOST_FLAGS) ; do \
16283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16284 done; \
16285 echo "Doing clean in release" ; \
16286 (cd release && \
16287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16289 "RANLIB=$${RANLIB}" \
16290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16291 clean) \
16292 || exit 1
16294 @endif release
16296 .PHONY: maybe-distclean-release distclean-release
16297 maybe-distclean-release:
16298 @if release
16299 maybe-distclean-release: distclean-release
16301 distclean-release:
16302 @[ -f ./release/Makefile ] || exit 0; \
16303 r=`${PWD_COMMAND}`; export r; \
16304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16305 $(SET_LIB_PATH) \
16306 $(HOST_EXPORTS) \
16307 for flag in $(EXTRA_HOST_FLAGS) ; do \
16308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16309 done; \
16310 echo "Doing distclean in release" ; \
16311 (cd release && \
16312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16314 "RANLIB=$${RANLIB}" \
16315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16316 distclean) \
16317 || exit 1
16319 @endif release
16321 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
16322 maybe-maintainer-clean-release:
16323 @if release
16324 maybe-maintainer-clean-release: maintainer-clean-release
16326 maintainer-clean-release:
16327 @[ -f ./release/Makefile ] || exit 0; \
16328 r=`${PWD_COMMAND}`; export r; \
16329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16330 $(SET_LIB_PATH) \
16331 $(HOST_EXPORTS) \
16332 for flag in $(EXTRA_HOST_FLAGS) ; do \
16333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16334 done; \
16335 echo "Doing maintainer-clean in release" ; \
16336 (cd release && \
16337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16339 "RANLIB=$${RANLIB}" \
16340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16341 maintainer-clean) \
16342 || exit 1
16344 @endif release
16347 .PHONY: configure-recode maybe-configure-recode
16348 maybe-configure-recode:
16349 @if recode
16350 maybe-configure-recode: configure-recode
16351 configure-recode:
16352 @test ! -f recode/Makefile || exit 0; \
16353 [ -d recode ] || mkdir recode; \
16354 r=`${PWD_COMMAND}`; export r; \
16355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16356 $(HOST_EXPORTS) \
16357 echo Configuring in recode; \
16358 cd recode || exit 1; \
16359 case $(srcdir) in \
16360 \.) \
16361 srcdiroption="--srcdir=."; \
16362 libsrcdir=".";; \
16363 /* | [A-Za-z]:[\\/]*) \
16364 srcdiroption="--srcdir=$(srcdir)/recode"; \
16365 libsrcdir="$$s/recode";; \
16366 *) \
16367 srcdiroption="--srcdir=../$(srcdir)/recode"; \
16368 libsrcdir="$$s/recode";; \
16369 esac; \
16370 $(SHELL) $${libsrcdir}/configure \
16371 $(HOST_CONFIGARGS) $${srcdiroption} \
16372 || exit 1
16373 @endif recode
16375 .PHONY: all-recode maybe-all-recode
16376 maybe-all-recode:
16377 @if recode
16378 maybe-all-recode: all-recode
16379 all-recode: configure-recode
16380 @r=`${PWD_COMMAND}`; export r; \
16381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16382 $(SET_LIB_PATH) \
16383 $(HOST_EXPORTS) \
16384 (cd recode && $(MAKE) $(FLAGS_TO_PASS) all)
16385 @endif recode
16387 .PHONY: check-recode maybe-check-recode
16388 maybe-check-recode:
16389 @if recode
16390 maybe-check-recode: check-recode
16392 check-recode:
16393 @r=`${PWD_COMMAND}`; export r; \
16394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16395 $(SET_LIB_PATH) \
16396 $(HOST_EXPORTS) \
16397 (cd recode && $(MAKE) $(FLAGS_TO_PASS) check)
16399 @endif recode
16401 .PHONY: install-recode maybe-install-recode
16402 maybe-install-recode:
16403 @if recode
16404 maybe-install-recode: install-recode
16406 install-recode: installdirs
16407 @r=`${PWD_COMMAND}`; export r; \
16408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16409 $(SET_LIB_PATH) \
16410 $(HOST_EXPORTS) \
16411 (cd recode && $(MAKE) $(FLAGS_TO_PASS) install)
16413 @endif recode
16415 # Other targets (info, dvi, etc.)
16417 .PHONY: maybe-info-recode info-recode
16418 maybe-info-recode:
16419 @if recode
16420 maybe-info-recode: info-recode
16422 info-recode: \
16423 configure-recode
16424 @[ -f ./recode/Makefile ] || exit 0; \
16425 r=`${PWD_COMMAND}`; export r; \
16426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16427 $(SET_LIB_PATH) \
16428 $(HOST_EXPORTS) \
16429 for flag in $(EXTRA_HOST_FLAGS) ; do \
16430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16431 done; \
16432 echo "Doing info in recode" ; \
16433 (cd recode && \
16434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16436 "RANLIB=$${RANLIB}" \
16437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16438 info) \
16439 || exit 1
16441 @endif recode
16443 .PHONY: maybe-dvi-recode dvi-recode
16444 maybe-dvi-recode:
16445 @if recode
16446 maybe-dvi-recode: dvi-recode
16448 dvi-recode: \
16449 configure-recode
16450 @[ -f ./recode/Makefile ] || exit 0; \
16451 r=`${PWD_COMMAND}`; export r; \
16452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16453 $(SET_LIB_PATH) \
16454 $(HOST_EXPORTS) \
16455 for flag in $(EXTRA_HOST_FLAGS) ; do \
16456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16457 done; \
16458 echo "Doing dvi in recode" ; \
16459 (cd recode && \
16460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16462 "RANLIB=$${RANLIB}" \
16463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16464 dvi) \
16465 || exit 1
16467 @endif recode
16469 .PHONY: maybe-TAGS-recode TAGS-recode
16470 maybe-TAGS-recode:
16471 @if recode
16472 maybe-TAGS-recode: TAGS-recode
16474 TAGS-recode: \
16475 configure-recode
16476 @[ -f ./recode/Makefile ] || exit 0; \
16477 r=`${PWD_COMMAND}`; export r; \
16478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 $(SET_LIB_PATH) \
16480 $(HOST_EXPORTS) \
16481 for flag in $(EXTRA_HOST_FLAGS) ; do \
16482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16483 done; \
16484 echo "Doing TAGS in recode" ; \
16485 (cd recode && \
16486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16488 "RANLIB=$${RANLIB}" \
16489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16490 TAGS) \
16491 || exit 1
16493 @endif recode
16495 .PHONY: maybe-install-info-recode install-info-recode
16496 maybe-install-info-recode:
16497 @if recode
16498 maybe-install-info-recode: install-info-recode
16500 install-info-recode: \
16501 configure-recode \
16502 info-recode
16503 @[ -f ./recode/Makefile ] || exit 0; \
16504 r=`${PWD_COMMAND}`; export r; \
16505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16506 $(SET_LIB_PATH) \
16507 $(HOST_EXPORTS) \
16508 for flag in $(EXTRA_HOST_FLAGS) ; do \
16509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16510 done; \
16511 echo "Doing install-info in recode" ; \
16512 (cd recode && \
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}" \
16517 install-info) \
16518 || exit 1
16520 @endif recode
16522 .PHONY: maybe-installcheck-recode installcheck-recode
16523 maybe-installcheck-recode:
16524 @if recode
16525 maybe-installcheck-recode: installcheck-recode
16527 installcheck-recode: \
16528 configure-recode
16529 @[ -f ./recode/Makefile ] || exit 0; \
16530 r=`${PWD_COMMAND}`; export r; \
16531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16532 $(SET_LIB_PATH) \
16533 $(HOST_EXPORTS) \
16534 for flag in $(EXTRA_HOST_FLAGS) ; do \
16535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16536 done; \
16537 echo "Doing installcheck in recode" ; \
16538 (cd recode && \
16539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16541 "RANLIB=$${RANLIB}" \
16542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16543 installcheck) \
16544 || exit 1
16546 @endif recode
16548 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
16549 maybe-mostlyclean-recode:
16550 @if recode
16551 maybe-mostlyclean-recode: mostlyclean-recode
16553 mostlyclean-recode:
16554 @[ -f ./recode/Makefile ] || exit 0; \
16555 r=`${PWD_COMMAND}`; export r; \
16556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16557 $(SET_LIB_PATH) \
16558 $(HOST_EXPORTS) \
16559 for flag in $(EXTRA_HOST_FLAGS) ; do \
16560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16561 done; \
16562 echo "Doing mostlyclean in recode" ; \
16563 (cd recode && \
16564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16566 "RANLIB=$${RANLIB}" \
16567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16568 mostlyclean) \
16569 || exit 1
16571 @endif recode
16573 .PHONY: maybe-clean-recode clean-recode
16574 maybe-clean-recode:
16575 @if recode
16576 maybe-clean-recode: clean-recode
16578 clean-recode:
16579 @[ -f ./recode/Makefile ] || exit 0; \
16580 r=`${PWD_COMMAND}`; export r; \
16581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16582 $(SET_LIB_PATH) \
16583 $(HOST_EXPORTS) \
16584 for flag in $(EXTRA_HOST_FLAGS) ; do \
16585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16586 done; \
16587 echo "Doing clean in recode" ; \
16588 (cd recode && \
16589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16591 "RANLIB=$${RANLIB}" \
16592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16593 clean) \
16594 || exit 1
16596 @endif recode
16598 .PHONY: maybe-distclean-recode distclean-recode
16599 maybe-distclean-recode:
16600 @if recode
16601 maybe-distclean-recode: distclean-recode
16603 distclean-recode:
16604 @[ -f ./recode/Makefile ] || exit 0; \
16605 r=`${PWD_COMMAND}`; export r; \
16606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16607 $(SET_LIB_PATH) \
16608 $(HOST_EXPORTS) \
16609 for flag in $(EXTRA_HOST_FLAGS) ; do \
16610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16611 done; \
16612 echo "Doing distclean in recode" ; \
16613 (cd recode && \
16614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16616 "RANLIB=$${RANLIB}" \
16617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16618 distclean) \
16619 || exit 1
16621 @endif recode
16623 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
16624 maybe-maintainer-clean-recode:
16625 @if recode
16626 maybe-maintainer-clean-recode: maintainer-clean-recode
16628 maintainer-clean-recode:
16629 @[ -f ./recode/Makefile ] || exit 0; \
16630 r=`${PWD_COMMAND}`; export r; \
16631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16632 $(SET_LIB_PATH) \
16633 $(HOST_EXPORTS) \
16634 for flag in $(EXTRA_HOST_FLAGS) ; do \
16635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16636 done; \
16637 echo "Doing maintainer-clean in recode" ; \
16638 (cd recode && \
16639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16641 "RANLIB=$${RANLIB}" \
16642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16643 maintainer-clean) \
16644 || exit 1
16646 @endif recode
16649 .PHONY: configure-sed maybe-configure-sed
16650 maybe-configure-sed:
16651 @if sed
16652 maybe-configure-sed: configure-sed
16653 configure-sed:
16654 @test ! -f sed/Makefile || exit 0; \
16655 [ -d sed ] || mkdir sed; \
16656 r=`${PWD_COMMAND}`; export r; \
16657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16658 $(HOST_EXPORTS) \
16659 echo Configuring in sed; \
16660 cd sed || exit 1; \
16661 case $(srcdir) in \
16662 \.) \
16663 srcdiroption="--srcdir=."; \
16664 libsrcdir=".";; \
16665 /* | [A-Za-z]:[\\/]*) \
16666 srcdiroption="--srcdir=$(srcdir)/sed"; \
16667 libsrcdir="$$s/sed";; \
16668 *) \
16669 srcdiroption="--srcdir=../$(srcdir)/sed"; \
16670 libsrcdir="$$s/sed";; \
16671 esac; \
16672 $(SHELL) $${libsrcdir}/configure \
16673 $(HOST_CONFIGARGS) $${srcdiroption} \
16674 || exit 1
16675 @endif sed
16677 .PHONY: all-sed maybe-all-sed
16678 maybe-all-sed:
16679 @if sed
16680 maybe-all-sed: all-sed
16681 all-sed: configure-sed
16682 @r=`${PWD_COMMAND}`; export r; \
16683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16684 $(SET_LIB_PATH) \
16685 $(HOST_EXPORTS) \
16686 (cd sed && $(MAKE) $(FLAGS_TO_PASS) all)
16687 @endif sed
16689 .PHONY: check-sed maybe-check-sed
16690 maybe-check-sed:
16691 @if sed
16692 maybe-check-sed: check-sed
16694 check-sed:
16695 @r=`${PWD_COMMAND}`; export r; \
16696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16697 $(SET_LIB_PATH) \
16698 $(HOST_EXPORTS) \
16699 (cd sed && $(MAKE) $(FLAGS_TO_PASS) check)
16701 @endif sed
16703 .PHONY: install-sed maybe-install-sed
16704 maybe-install-sed:
16705 @if sed
16706 maybe-install-sed: install-sed
16708 install-sed: installdirs
16709 @r=`${PWD_COMMAND}`; export r; \
16710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16711 $(SET_LIB_PATH) \
16712 $(HOST_EXPORTS) \
16713 (cd sed && $(MAKE) $(FLAGS_TO_PASS) install)
16715 @endif sed
16717 # Other targets (info, dvi, etc.)
16719 .PHONY: maybe-info-sed info-sed
16720 maybe-info-sed:
16721 @if sed
16722 maybe-info-sed: info-sed
16724 info-sed: \
16725 configure-sed
16726 @[ -f ./sed/Makefile ] || exit 0; \
16727 r=`${PWD_COMMAND}`; export r; \
16728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16729 $(SET_LIB_PATH) \
16730 $(HOST_EXPORTS) \
16731 for flag in $(EXTRA_HOST_FLAGS) ; do \
16732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16733 done; \
16734 echo "Doing info in sed" ; \
16735 (cd sed && \
16736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16738 "RANLIB=$${RANLIB}" \
16739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16740 info) \
16741 || exit 1
16743 @endif sed
16745 .PHONY: maybe-dvi-sed dvi-sed
16746 maybe-dvi-sed:
16747 @if sed
16748 maybe-dvi-sed: dvi-sed
16750 dvi-sed: \
16751 configure-sed
16752 @[ -f ./sed/Makefile ] || exit 0; \
16753 r=`${PWD_COMMAND}`; export r; \
16754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16755 $(SET_LIB_PATH) \
16756 $(HOST_EXPORTS) \
16757 for flag in $(EXTRA_HOST_FLAGS) ; do \
16758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16759 done; \
16760 echo "Doing dvi in sed" ; \
16761 (cd sed && \
16762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16764 "RANLIB=$${RANLIB}" \
16765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16766 dvi) \
16767 || exit 1
16769 @endif sed
16771 .PHONY: maybe-TAGS-sed TAGS-sed
16772 maybe-TAGS-sed:
16773 @if sed
16774 maybe-TAGS-sed: TAGS-sed
16776 TAGS-sed: \
16777 configure-sed
16778 @[ -f ./sed/Makefile ] || exit 0; \
16779 r=`${PWD_COMMAND}`; export r; \
16780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16781 $(SET_LIB_PATH) \
16782 $(HOST_EXPORTS) \
16783 for flag in $(EXTRA_HOST_FLAGS) ; do \
16784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16785 done; \
16786 echo "Doing TAGS in sed" ; \
16787 (cd sed && \
16788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16790 "RANLIB=$${RANLIB}" \
16791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16792 TAGS) \
16793 || exit 1
16795 @endif sed
16797 .PHONY: maybe-install-info-sed install-info-sed
16798 maybe-install-info-sed:
16799 @if sed
16800 maybe-install-info-sed: install-info-sed
16802 install-info-sed: \
16803 configure-sed \
16804 info-sed
16805 @[ -f ./sed/Makefile ] || exit 0; \
16806 r=`${PWD_COMMAND}`; export r; \
16807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16808 $(SET_LIB_PATH) \
16809 $(HOST_EXPORTS) \
16810 for flag in $(EXTRA_HOST_FLAGS) ; do \
16811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16812 done; \
16813 echo "Doing install-info in sed" ; \
16814 (cd sed && \
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}" \
16819 install-info) \
16820 || exit 1
16822 @endif sed
16824 .PHONY: maybe-installcheck-sed installcheck-sed
16825 maybe-installcheck-sed:
16826 @if sed
16827 maybe-installcheck-sed: installcheck-sed
16829 installcheck-sed: \
16830 configure-sed
16831 @[ -f ./sed/Makefile ] || exit 0; \
16832 r=`${PWD_COMMAND}`; export r; \
16833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16834 $(SET_LIB_PATH) \
16835 $(HOST_EXPORTS) \
16836 for flag in $(EXTRA_HOST_FLAGS) ; do \
16837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16838 done; \
16839 echo "Doing installcheck in sed" ; \
16840 (cd sed && \
16841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16843 "RANLIB=$${RANLIB}" \
16844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16845 installcheck) \
16846 || exit 1
16848 @endif sed
16850 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
16851 maybe-mostlyclean-sed:
16852 @if sed
16853 maybe-mostlyclean-sed: mostlyclean-sed
16855 mostlyclean-sed:
16856 @[ -f ./sed/Makefile ] || exit 0; \
16857 r=`${PWD_COMMAND}`; export r; \
16858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16859 $(SET_LIB_PATH) \
16860 $(HOST_EXPORTS) \
16861 for flag in $(EXTRA_HOST_FLAGS) ; do \
16862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16863 done; \
16864 echo "Doing mostlyclean in sed" ; \
16865 (cd sed && \
16866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16868 "RANLIB=$${RANLIB}" \
16869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16870 mostlyclean) \
16871 || exit 1
16873 @endif sed
16875 .PHONY: maybe-clean-sed clean-sed
16876 maybe-clean-sed:
16877 @if sed
16878 maybe-clean-sed: clean-sed
16880 clean-sed:
16881 @[ -f ./sed/Makefile ] || exit 0; \
16882 r=`${PWD_COMMAND}`; export r; \
16883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16884 $(SET_LIB_PATH) \
16885 $(HOST_EXPORTS) \
16886 for flag in $(EXTRA_HOST_FLAGS) ; do \
16887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16888 done; \
16889 echo "Doing clean in sed" ; \
16890 (cd sed && \
16891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16893 "RANLIB=$${RANLIB}" \
16894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16895 clean) \
16896 || exit 1
16898 @endif sed
16900 .PHONY: maybe-distclean-sed distclean-sed
16901 maybe-distclean-sed:
16902 @if sed
16903 maybe-distclean-sed: distclean-sed
16905 distclean-sed:
16906 @[ -f ./sed/Makefile ] || exit 0; \
16907 r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 $(SET_LIB_PATH) \
16910 $(HOST_EXPORTS) \
16911 for flag in $(EXTRA_HOST_FLAGS) ; do \
16912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16913 done; \
16914 echo "Doing distclean in sed" ; \
16915 (cd sed && \
16916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16918 "RANLIB=$${RANLIB}" \
16919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16920 distclean) \
16921 || exit 1
16923 @endif sed
16925 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
16926 maybe-maintainer-clean-sed:
16927 @if sed
16928 maybe-maintainer-clean-sed: maintainer-clean-sed
16930 maintainer-clean-sed:
16931 @[ -f ./sed/Makefile ] || exit 0; \
16932 r=`${PWD_COMMAND}`; export r; \
16933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16934 $(SET_LIB_PATH) \
16935 $(HOST_EXPORTS) \
16936 for flag in $(EXTRA_HOST_FLAGS) ; do \
16937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16938 done; \
16939 echo "Doing maintainer-clean in sed" ; \
16940 (cd sed && \
16941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16943 "RANLIB=$${RANLIB}" \
16944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16945 maintainer-clean) \
16946 || exit 1
16948 @endif sed
16951 .PHONY: configure-send-pr maybe-configure-send-pr
16952 maybe-configure-send-pr:
16953 @if send-pr
16954 maybe-configure-send-pr: configure-send-pr
16955 configure-send-pr:
16956 @test ! -f send-pr/Makefile || exit 0; \
16957 [ -d send-pr ] || mkdir send-pr; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 $(HOST_EXPORTS) \
16961 echo Configuring in send-pr; \
16962 cd send-pr || exit 1; \
16963 case $(srcdir) in \
16964 \.) \
16965 srcdiroption="--srcdir=."; \
16966 libsrcdir=".";; \
16967 /* | [A-Za-z]:[\\/]*) \
16968 srcdiroption="--srcdir=$(srcdir)/send-pr"; \
16969 libsrcdir="$$s/send-pr";; \
16970 *) \
16971 srcdiroption="--srcdir=../$(srcdir)/send-pr"; \
16972 libsrcdir="$$s/send-pr";; \
16973 esac; \
16974 $(SHELL) $${libsrcdir}/configure \
16975 $(HOST_CONFIGARGS) $${srcdiroption} \
16976 || exit 1
16977 @endif send-pr
16979 .PHONY: all-send-pr maybe-all-send-pr
16980 maybe-all-send-pr:
16981 @if send-pr
16982 maybe-all-send-pr: all-send-pr
16983 all-send-pr: configure-send-pr
16984 @r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 $(SET_LIB_PATH) \
16987 $(HOST_EXPORTS) \
16988 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) all)
16989 @endif send-pr
16991 .PHONY: check-send-pr maybe-check-send-pr
16992 maybe-check-send-pr:
16993 @if send-pr
16994 maybe-check-send-pr: check-send-pr
16996 check-send-pr:
16997 @r=`${PWD_COMMAND}`; export r; \
16998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16999 $(SET_LIB_PATH) \
17000 $(HOST_EXPORTS) \
17001 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) check)
17003 @endif send-pr
17005 .PHONY: install-send-pr maybe-install-send-pr
17006 maybe-install-send-pr:
17007 @if send-pr
17008 maybe-install-send-pr: install-send-pr
17010 install-send-pr: installdirs
17011 @r=`${PWD_COMMAND}`; export r; \
17012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17013 $(SET_LIB_PATH) \
17014 $(HOST_EXPORTS) \
17015 (cd send-pr && $(MAKE) $(FLAGS_TO_PASS) install)
17017 @endif send-pr
17019 # Other targets (info, dvi, etc.)
17021 .PHONY: maybe-info-send-pr info-send-pr
17022 maybe-info-send-pr:
17023 @if send-pr
17024 maybe-info-send-pr: info-send-pr
17026 info-send-pr: \
17027 configure-send-pr
17028 @[ -f ./send-pr/Makefile ] || exit 0; \
17029 r=`${PWD_COMMAND}`; export r; \
17030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17031 $(SET_LIB_PATH) \
17032 $(HOST_EXPORTS) \
17033 for flag in $(EXTRA_HOST_FLAGS) ; do \
17034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17035 done; \
17036 echo "Doing info in send-pr" ; \
17037 (cd send-pr && \
17038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17040 "RANLIB=$${RANLIB}" \
17041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17042 info) \
17043 || exit 1
17045 @endif send-pr
17047 .PHONY: maybe-dvi-send-pr dvi-send-pr
17048 maybe-dvi-send-pr:
17049 @if send-pr
17050 maybe-dvi-send-pr: dvi-send-pr
17052 dvi-send-pr: \
17053 configure-send-pr
17054 @[ -f ./send-pr/Makefile ] || exit 0; \
17055 r=`${PWD_COMMAND}`; export r; \
17056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17057 $(SET_LIB_PATH) \
17058 $(HOST_EXPORTS) \
17059 for flag in $(EXTRA_HOST_FLAGS) ; do \
17060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17061 done; \
17062 echo "Doing dvi in send-pr" ; \
17063 (cd send-pr && \
17064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17066 "RANLIB=$${RANLIB}" \
17067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17068 dvi) \
17069 || exit 1
17071 @endif send-pr
17073 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
17074 maybe-TAGS-send-pr:
17075 @if send-pr
17076 maybe-TAGS-send-pr: TAGS-send-pr
17078 TAGS-send-pr: \
17079 configure-send-pr
17080 @[ -f ./send-pr/Makefile ] || exit 0; \
17081 r=`${PWD_COMMAND}`; export r; \
17082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17083 $(SET_LIB_PATH) \
17084 $(HOST_EXPORTS) \
17085 for flag in $(EXTRA_HOST_FLAGS) ; do \
17086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17087 done; \
17088 echo "Doing TAGS in send-pr" ; \
17089 (cd send-pr && \
17090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17092 "RANLIB=$${RANLIB}" \
17093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17094 TAGS) \
17095 || exit 1
17097 @endif send-pr
17099 .PHONY: maybe-install-info-send-pr install-info-send-pr
17100 maybe-install-info-send-pr:
17101 @if send-pr
17102 maybe-install-info-send-pr: install-info-send-pr
17104 install-info-send-pr: \
17105 configure-send-pr \
17106 info-send-pr
17107 @[ -f ./send-pr/Makefile ] || exit 0; \
17108 r=`${PWD_COMMAND}`; export r; \
17109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17110 $(SET_LIB_PATH) \
17111 $(HOST_EXPORTS) \
17112 for flag in $(EXTRA_HOST_FLAGS) ; do \
17113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17114 done; \
17115 echo "Doing install-info in send-pr" ; \
17116 (cd send-pr && \
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}" \
17121 install-info) \
17122 || exit 1
17124 @endif send-pr
17126 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
17127 maybe-installcheck-send-pr:
17128 @if send-pr
17129 maybe-installcheck-send-pr: installcheck-send-pr
17131 installcheck-send-pr: \
17132 configure-send-pr
17133 @[ -f ./send-pr/Makefile ] || exit 0; \
17134 r=`${PWD_COMMAND}`; export r; \
17135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17136 $(SET_LIB_PATH) \
17137 $(HOST_EXPORTS) \
17138 for flag in $(EXTRA_HOST_FLAGS) ; do \
17139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17140 done; \
17141 echo "Doing installcheck in send-pr" ; \
17142 (cd send-pr && \
17143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17145 "RANLIB=$${RANLIB}" \
17146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17147 installcheck) \
17148 || exit 1
17150 @endif send-pr
17152 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
17153 maybe-mostlyclean-send-pr:
17154 @if send-pr
17155 maybe-mostlyclean-send-pr: mostlyclean-send-pr
17157 mostlyclean-send-pr:
17158 @[ -f ./send-pr/Makefile ] || exit 0; \
17159 r=`${PWD_COMMAND}`; export r; \
17160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161 $(SET_LIB_PATH) \
17162 $(HOST_EXPORTS) \
17163 for flag in $(EXTRA_HOST_FLAGS) ; do \
17164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17165 done; \
17166 echo "Doing mostlyclean in send-pr" ; \
17167 (cd send-pr && \
17168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17170 "RANLIB=$${RANLIB}" \
17171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17172 mostlyclean) \
17173 || exit 1
17175 @endif send-pr
17177 .PHONY: maybe-clean-send-pr clean-send-pr
17178 maybe-clean-send-pr:
17179 @if send-pr
17180 maybe-clean-send-pr: clean-send-pr
17182 clean-send-pr:
17183 @[ -f ./send-pr/Makefile ] || exit 0; \
17184 r=`${PWD_COMMAND}`; export r; \
17185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17186 $(SET_LIB_PATH) \
17187 $(HOST_EXPORTS) \
17188 for flag in $(EXTRA_HOST_FLAGS) ; do \
17189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17190 done; \
17191 echo "Doing clean in send-pr" ; \
17192 (cd send-pr && \
17193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17195 "RANLIB=$${RANLIB}" \
17196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17197 clean) \
17198 || exit 1
17200 @endif send-pr
17202 .PHONY: maybe-distclean-send-pr distclean-send-pr
17203 maybe-distclean-send-pr:
17204 @if send-pr
17205 maybe-distclean-send-pr: distclean-send-pr
17207 distclean-send-pr:
17208 @[ -f ./send-pr/Makefile ] || exit 0; \
17209 r=`${PWD_COMMAND}`; export r; \
17210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17211 $(SET_LIB_PATH) \
17212 $(HOST_EXPORTS) \
17213 for flag in $(EXTRA_HOST_FLAGS) ; do \
17214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17215 done; \
17216 echo "Doing distclean in send-pr" ; \
17217 (cd send-pr && \
17218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17220 "RANLIB=$${RANLIB}" \
17221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17222 distclean) \
17223 || exit 1
17225 @endif send-pr
17227 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
17228 maybe-maintainer-clean-send-pr:
17229 @if send-pr
17230 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
17232 maintainer-clean-send-pr:
17233 @[ -f ./send-pr/Makefile ] || exit 0; \
17234 r=`${PWD_COMMAND}`; export r; \
17235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17236 $(SET_LIB_PATH) \
17237 $(HOST_EXPORTS) \
17238 for flag in $(EXTRA_HOST_FLAGS) ; do \
17239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17240 done; \
17241 echo "Doing maintainer-clean in send-pr" ; \
17242 (cd send-pr && \
17243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17245 "RANLIB=$${RANLIB}" \
17246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17247 maintainer-clean) \
17248 || exit 1
17250 @endif send-pr
17253 .PHONY: configure-shellutils maybe-configure-shellutils
17254 maybe-configure-shellutils:
17255 @if shellutils
17256 maybe-configure-shellutils: configure-shellutils
17257 configure-shellutils:
17258 @test ! -f shellutils/Makefile || exit 0; \
17259 [ -d shellutils ] || mkdir shellutils; \
17260 r=`${PWD_COMMAND}`; export r; \
17261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17262 $(HOST_EXPORTS) \
17263 echo Configuring in shellutils; \
17264 cd shellutils || exit 1; \
17265 case $(srcdir) in \
17266 \.) \
17267 srcdiroption="--srcdir=."; \
17268 libsrcdir=".";; \
17269 /* | [A-Za-z]:[\\/]*) \
17270 srcdiroption="--srcdir=$(srcdir)/shellutils"; \
17271 libsrcdir="$$s/shellutils";; \
17272 *) \
17273 srcdiroption="--srcdir=../$(srcdir)/shellutils"; \
17274 libsrcdir="$$s/shellutils";; \
17275 esac; \
17276 $(SHELL) $${libsrcdir}/configure \
17277 $(HOST_CONFIGARGS) $${srcdiroption} \
17278 || exit 1
17279 @endif shellutils
17281 .PHONY: all-shellutils maybe-all-shellutils
17282 maybe-all-shellutils:
17283 @if shellutils
17284 maybe-all-shellutils: all-shellutils
17285 all-shellutils: configure-shellutils
17286 @r=`${PWD_COMMAND}`; export r; \
17287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17288 $(SET_LIB_PATH) \
17289 $(HOST_EXPORTS) \
17290 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) all)
17291 @endif shellutils
17293 .PHONY: check-shellutils maybe-check-shellutils
17294 maybe-check-shellutils:
17295 @if shellutils
17296 maybe-check-shellutils: check-shellutils
17298 check-shellutils:
17299 @r=`${PWD_COMMAND}`; export r; \
17300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17301 $(SET_LIB_PATH) \
17302 $(HOST_EXPORTS) \
17303 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) check)
17305 @endif shellutils
17307 .PHONY: install-shellutils maybe-install-shellutils
17308 maybe-install-shellutils:
17309 @if shellutils
17310 maybe-install-shellutils: install-shellutils
17312 install-shellutils: installdirs
17313 @r=`${PWD_COMMAND}`; export r; \
17314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17315 $(SET_LIB_PATH) \
17316 $(HOST_EXPORTS) \
17317 (cd shellutils && $(MAKE) $(FLAGS_TO_PASS) install)
17319 @endif shellutils
17321 # Other targets (info, dvi, etc.)
17323 .PHONY: maybe-info-shellutils info-shellutils
17324 maybe-info-shellutils:
17325 @if shellutils
17326 maybe-info-shellutils: info-shellutils
17328 info-shellutils: \
17329 configure-shellutils
17330 @[ -f ./shellutils/Makefile ] || exit 0; \
17331 r=`${PWD_COMMAND}`; export r; \
17332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17333 $(SET_LIB_PATH) \
17334 $(HOST_EXPORTS) \
17335 for flag in $(EXTRA_HOST_FLAGS) ; do \
17336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17337 done; \
17338 echo "Doing info in shellutils" ; \
17339 (cd shellutils && \
17340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17342 "RANLIB=$${RANLIB}" \
17343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17344 info) \
17345 || exit 1
17347 @endif shellutils
17349 .PHONY: maybe-dvi-shellutils dvi-shellutils
17350 maybe-dvi-shellutils:
17351 @if shellutils
17352 maybe-dvi-shellutils: dvi-shellutils
17354 dvi-shellutils: \
17355 configure-shellutils
17356 @[ -f ./shellutils/Makefile ] || exit 0; \
17357 r=`${PWD_COMMAND}`; export r; \
17358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17359 $(SET_LIB_PATH) \
17360 $(HOST_EXPORTS) \
17361 for flag in $(EXTRA_HOST_FLAGS) ; do \
17362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17363 done; \
17364 echo "Doing dvi in shellutils" ; \
17365 (cd shellutils && \
17366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17368 "RANLIB=$${RANLIB}" \
17369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17370 dvi) \
17371 || exit 1
17373 @endif shellutils
17375 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
17376 maybe-TAGS-shellutils:
17377 @if shellutils
17378 maybe-TAGS-shellutils: TAGS-shellutils
17380 TAGS-shellutils: \
17381 configure-shellutils
17382 @[ -f ./shellutils/Makefile ] || exit 0; \
17383 r=`${PWD_COMMAND}`; export r; \
17384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17385 $(SET_LIB_PATH) \
17386 $(HOST_EXPORTS) \
17387 for flag in $(EXTRA_HOST_FLAGS) ; do \
17388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17389 done; \
17390 echo "Doing TAGS in shellutils" ; \
17391 (cd shellutils && \
17392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17394 "RANLIB=$${RANLIB}" \
17395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17396 TAGS) \
17397 || exit 1
17399 @endif shellutils
17401 .PHONY: maybe-install-info-shellutils install-info-shellutils
17402 maybe-install-info-shellutils:
17403 @if shellutils
17404 maybe-install-info-shellutils: install-info-shellutils
17406 install-info-shellutils: \
17407 configure-shellutils \
17408 info-shellutils
17409 @[ -f ./shellutils/Makefile ] || exit 0; \
17410 r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 $(SET_LIB_PATH) \
17413 $(HOST_EXPORTS) \
17414 for flag in $(EXTRA_HOST_FLAGS) ; do \
17415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17416 done; \
17417 echo "Doing install-info in shellutils" ; \
17418 (cd shellutils && \
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}" \
17423 install-info) \
17424 || exit 1
17426 @endif shellutils
17428 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
17429 maybe-installcheck-shellutils:
17430 @if shellutils
17431 maybe-installcheck-shellutils: installcheck-shellutils
17433 installcheck-shellutils: \
17434 configure-shellutils
17435 @[ -f ./shellutils/Makefile ] || exit 0; \
17436 r=`${PWD_COMMAND}`; export r; \
17437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17438 $(SET_LIB_PATH) \
17439 $(HOST_EXPORTS) \
17440 for flag in $(EXTRA_HOST_FLAGS) ; do \
17441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17442 done; \
17443 echo "Doing installcheck in shellutils" ; \
17444 (cd shellutils && \
17445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17447 "RANLIB=$${RANLIB}" \
17448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17449 installcheck) \
17450 || exit 1
17452 @endif shellutils
17454 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
17455 maybe-mostlyclean-shellutils:
17456 @if shellutils
17457 maybe-mostlyclean-shellutils: mostlyclean-shellutils
17459 mostlyclean-shellutils:
17460 @[ -f ./shellutils/Makefile ] || exit 0; \
17461 r=`${PWD_COMMAND}`; export r; \
17462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17463 $(SET_LIB_PATH) \
17464 $(HOST_EXPORTS) \
17465 for flag in $(EXTRA_HOST_FLAGS) ; do \
17466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17467 done; \
17468 echo "Doing mostlyclean in shellutils" ; \
17469 (cd shellutils && \
17470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17472 "RANLIB=$${RANLIB}" \
17473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17474 mostlyclean) \
17475 || exit 1
17477 @endif shellutils
17479 .PHONY: maybe-clean-shellutils clean-shellutils
17480 maybe-clean-shellutils:
17481 @if shellutils
17482 maybe-clean-shellutils: clean-shellutils
17484 clean-shellutils:
17485 @[ -f ./shellutils/Makefile ] || exit 0; \
17486 r=`${PWD_COMMAND}`; export r; \
17487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17488 $(SET_LIB_PATH) \
17489 $(HOST_EXPORTS) \
17490 for flag in $(EXTRA_HOST_FLAGS) ; do \
17491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17492 done; \
17493 echo "Doing clean in shellutils" ; \
17494 (cd shellutils && \
17495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17497 "RANLIB=$${RANLIB}" \
17498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17499 clean) \
17500 || exit 1
17502 @endif shellutils
17504 .PHONY: maybe-distclean-shellutils distclean-shellutils
17505 maybe-distclean-shellutils:
17506 @if shellutils
17507 maybe-distclean-shellutils: distclean-shellutils
17509 distclean-shellutils:
17510 @[ -f ./shellutils/Makefile ] || exit 0; \
17511 r=`${PWD_COMMAND}`; export r; \
17512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17513 $(SET_LIB_PATH) \
17514 $(HOST_EXPORTS) \
17515 for flag in $(EXTRA_HOST_FLAGS) ; do \
17516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17517 done; \
17518 echo "Doing distclean in shellutils" ; \
17519 (cd shellutils && \
17520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17522 "RANLIB=$${RANLIB}" \
17523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17524 distclean) \
17525 || exit 1
17527 @endif shellutils
17529 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
17530 maybe-maintainer-clean-shellutils:
17531 @if shellutils
17532 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
17534 maintainer-clean-shellutils:
17535 @[ -f ./shellutils/Makefile ] || exit 0; \
17536 r=`${PWD_COMMAND}`; export r; \
17537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17538 $(SET_LIB_PATH) \
17539 $(HOST_EXPORTS) \
17540 for flag in $(EXTRA_HOST_FLAGS) ; do \
17541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17542 done; \
17543 echo "Doing maintainer-clean in shellutils" ; \
17544 (cd shellutils && \
17545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17547 "RANLIB=$${RANLIB}" \
17548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17549 maintainer-clean) \
17550 || exit 1
17552 @endif shellutils
17555 .PHONY: configure-sid maybe-configure-sid
17556 maybe-configure-sid:
17557 @if sid
17558 maybe-configure-sid: configure-sid
17559 configure-sid:
17560 @test ! -f sid/Makefile || exit 0; \
17561 [ -d sid ] || mkdir sid; \
17562 r=`${PWD_COMMAND}`; export r; \
17563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17564 $(HOST_EXPORTS) \
17565 echo Configuring in sid; \
17566 cd sid || exit 1; \
17567 case $(srcdir) in \
17568 \.) \
17569 srcdiroption="--srcdir=."; \
17570 libsrcdir=".";; \
17571 /* | [A-Za-z]:[\\/]*) \
17572 srcdiroption="--srcdir=$(srcdir)/sid"; \
17573 libsrcdir="$$s/sid";; \
17574 *) \
17575 srcdiroption="--srcdir=../$(srcdir)/sid"; \
17576 libsrcdir="$$s/sid";; \
17577 esac; \
17578 $(SHELL) $${libsrcdir}/configure \
17579 $(HOST_CONFIGARGS) $${srcdiroption} \
17580 || exit 1
17581 @endif sid
17583 .PHONY: all-sid maybe-all-sid
17584 maybe-all-sid:
17585 @if sid
17586 maybe-all-sid: all-sid
17587 all-sid: configure-sid
17588 @r=`${PWD_COMMAND}`; export r; \
17589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17590 $(SET_LIB_PATH) \
17591 $(HOST_EXPORTS) \
17592 (cd sid && $(MAKE) $(FLAGS_TO_PASS) all)
17593 @endif sid
17595 .PHONY: check-sid maybe-check-sid
17596 maybe-check-sid:
17597 @if sid
17598 maybe-check-sid: check-sid
17600 check-sid:
17601 @r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(SET_LIB_PATH) \
17604 $(HOST_EXPORTS) \
17605 (cd sid && $(MAKE) $(FLAGS_TO_PASS) check)
17607 @endif sid
17609 .PHONY: install-sid maybe-install-sid
17610 maybe-install-sid:
17611 @if sid
17612 maybe-install-sid: install-sid
17614 install-sid: installdirs
17615 @r=`${PWD_COMMAND}`; export r; \
17616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17617 $(SET_LIB_PATH) \
17618 $(HOST_EXPORTS) \
17619 (cd sid && $(MAKE) $(FLAGS_TO_PASS) install)
17621 @endif sid
17623 # Other targets (info, dvi, etc.)
17625 .PHONY: maybe-info-sid info-sid
17626 maybe-info-sid:
17627 @if sid
17628 maybe-info-sid: info-sid
17630 info-sid: \
17631 configure-sid
17632 @[ -f ./sid/Makefile ] || exit 0; \
17633 r=`${PWD_COMMAND}`; export r; \
17634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17635 $(SET_LIB_PATH) \
17636 $(HOST_EXPORTS) \
17637 for flag in $(EXTRA_HOST_FLAGS) ; do \
17638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17639 done; \
17640 echo "Doing info in sid" ; \
17641 (cd sid && \
17642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17644 "RANLIB=$${RANLIB}" \
17645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17646 info) \
17647 || exit 1
17649 @endif sid
17651 .PHONY: maybe-dvi-sid dvi-sid
17652 maybe-dvi-sid:
17653 @if sid
17654 maybe-dvi-sid: dvi-sid
17656 dvi-sid: \
17657 configure-sid
17658 @[ -f ./sid/Makefile ] || exit 0; \
17659 r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(SET_LIB_PATH) \
17662 $(HOST_EXPORTS) \
17663 for flag in $(EXTRA_HOST_FLAGS) ; do \
17664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17665 done; \
17666 echo "Doing dvi in sid" ; \
17667 (cd sid && \
17668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17670 "RANLIB=$${RANLIB}" \
17671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17672 dvi) \
17673 || exit 1
17675 @endif sid
17677 .PHONY: maybe-TAGS-sid TAGS-sid
17678 maybe-TAGS-sid:
17679 @if sid
17680 maybe-TAGS-sid: TAGS-sid
17682 TAGS-sid: \
17683 configure-sid
17684 @[ -f ./sid/Makefile ] || exit 0; \
17685 r=`${PWD_COMMAND}`; export r; \
17686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17687 $(SET_LIB_PATH) \
17688 $(HOST_EXPORTS) \
17689 for flag in $(EXTRA_HOST_FLAGS) ; do \
17690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17691 done; \
17692 echo "Doing TAGS in sid" ; \
17693 (cd sid && \
17694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17696 "RANLIB=$${RANLIB}" \
17697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17698 TAGS) \
17699 || exit 1
17701 @endif sid
17703 .PHONY: maybe-install-info-sid install-info-sid
17704 maybe-install-info-sid:
17705 @if sid
17706 maybe-install-info-sid: install-info-sid
17708 install-info-sid: \
17709 configure-sid \
17710 info-sid
17711 @[ -f ./sid/Makefile ] || exit 0; \
17712 r=`${PWD_COMMAND}`; export r; \
17713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17714 $(SET_LIB_PATH) \
17715 $(HOST_EXPORTS) \
17716 for flag in $(EXTRA_HOST_FLAGS) ; do \
17717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17718 done; \
17719 echo "Doing install-info in sid" ; \
17720 (cd sid && \
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}" \
17725 install-info) \
17726 || exit 1
17728 @endif sid
17730 .PHONY: maybe-installcheck-sid installcheck-sid
17731 maybe-installcheck-sid:
17732 @if sid
17733 maybe-installcheck-sid: installcheck-sid
17735 installcheck-sid: \
17736 configure-sid
17737 @[ -f ./sid/Makefile ] || exit 0; \
17738 r=`${PWD_COMMAND}`; export r; \
17739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17740 $(SET_LIB_PATH) \
17741 $(HOST_EXPORTS) \
17742 for flag in $(EXTRA_HOST_FLAGS) ; do \
17743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17744 done; \
17745 echo "Doing installcheck in sid" ; \
17746 (cd sid && \
17747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17749 "RANLIB=$${RANLIB}" \
17750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17751 installcheck) \
17752 || exit 1
17754 @endif sid
17756 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
17757 maybe-mostlyclean-sid:
17758 @if sid
17759 maybe-mostlyclean-sid: mostlyclean-sid
17761 mostlyclean-sid:
17762 @[ -f ./sid/Makefile ] || exit 0; \
17763 r=`${PWD_COMMAND}`; export r; \
17764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17765 $(SET_LIB_PATH) \
17766 $(HOST_EXPORTS) \
17767 for flag in $(EXTRA_HOST_FLAGS) ; do \
17768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17769 done; \
17770 echo "Doing mostlyclean in sid" ; \
17771 (cd sid && \
17772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17774 "RANLIB=$${RANLIB}" \
17775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17776 mostlyclean) \
17777 || exit 1
17779 @endif sid
17781 .PHONY: maybe-clean-sid clean-sid
17782 maybe-clean-sid:
17783 @if sid
17784 maybe-clean-sid: clean-sid
17786 clean-sid:
17787 @[ -f ./sid/Makefile ] || exit 0; \
17788 r=`${PWD_COMMAND}`; export r; \
17789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17790 $(SET_LIB_PATH) \
17791 $(HOST_EXPORTS) \
17792 for flag in $(EXTRA_HOST_FLAGS) ; do \
17793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17794 done; \
17795 echo "Doing clean in sid" ; \
17796 (cd sid && \
17797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17799 "RANLIB=$${RANLIB}" \
17800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17801 clean) \
17802 || exit 1
17804 @endif sid
17806 .PHONY: maybe-distclean-sid distclean-sid
17807 maybe-distclean-sid:
17808 @if sid
17809 maybe-distclean-sid: distclean-sid
17811 distclean-sid:
17812 @[ -f ./sid/Makefile ] || exit 0; \
17813 r=`${PWD_COMMAND}`; export r; \
17814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17815 $(SET_LIB_PATH) \
17816 $(HOST_EXPORTS) \
17817 for flag in $(EXTRA_HOST_FLAGS) ; do \
17818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17819 done; \
17820 echo "Doing distclean in sid" ; \
17821 (cd sid && \
17822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17824 "RANLIB=$${RANLIB}" \
17825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17826 distclean) \
17827 || exit 1
17829 @endif sid
17831 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
17832 maybe-maintainer-clean-sid:
17833 @if sid
17834 maybe-maintainer-clean-sid: maintainer-clean-sid
17836 maintainer-clean-sid:
17837 @[ -f ./sid/Makefile ] || exit 0; \
17838 r=`${PWD_COMMAND}`; export r; \
17839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17840 $(SET_LIB_PATH) \
17841 $(HOST_EXPORTS) \
17842 for flag in $(EXTRA_HOST_FLAGS) ; do \
17843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17844 done; \
17845 echo "Doing maintainer-clean in sid" ; \
17846 (cd sid && \
17847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17849 "RANLIB=$${RANLIB}" \
17850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17851 maintainer-clean) \
17852 || exit 1
17854 @endif sid
17857 .PHONY: configure-sim maybe-configure-sim
17858 maybe-configure-sim:
17859 @if sim
17860 maybe-configure-sim: configure-sim
17861 configure-sim:
17862 @test ! -f sim/Makefile || exit 0; \
17863 [ -d sim ] || mkdir sim; \
17864 r=`${PWD_COMMAND}`; export r; \
17865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17866 $(HOST_EXPORTS) \
17867 echo Configuring in sim; \
17868 cd sim || exit 1; \
17869 case $(srcdir) in \
17870 \.) \
17871 srcdiroption="--srcdir=."; \
17872 libsrcdir=".";; \
17873 /* | [A-Za-z]:[\\/]*) \
17874 srcdiroption="--srcdir=$(srcdir)/sim"; \
17875 libsrcdir="$$s/sim";; \
17876 *) \
17877 srcdiroption="--srcdir=../$(srcdir)/sim"; \
17878 libsrcdir="$$s/sim";; \
17879 esac; \
17880 $(SHELL) $${libsrcdir}/configure \
17881 $(HOST_CONFIGARGS) $${srcdiroption} \
17882 || exit 1
17883 @endif sim
17885 .PHONY: all-sim maybe-all-sim
17886 maybe-all-sim:
17887 @if sim
17888 maybe-all-sim: all-sim
17889 all-sim: configure-sim
17890 @r=`${PWD_COMMAND}`; export r; \
17891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17892 $(SET_LIB_PATH) \
17893 $(HOST_EXPORTS) \
17894 (cd sim && $(MAKE) $(FLAGS_TO_PASS) all)
17895 @endif sim
17897 .PHONY: check-sim maybe-check-sim
17898 maybe-check-sim:
17899 @if sim
17900 maybe-check-sim: check-sim
17902 check-sim:
17903 @r=`${PWD_COMMAND}`; export r; \
17904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17905 $(SET_LIB_PATH) \
17906 $(HOST_EXPORTS) \
17907 (cd sim && $(MAKE) $(FLAGS_TO_PASS) check)
17909 @endif sim
17911 .PHONY: install-sim maybe-install-sim
17912 maybe-install-sim:
17913 @if sim
17914 maybe-install-sim: install-sim
17916 install-sim: installdirs
17917 @r=`${PWD_COMMAND}`; export r; \
17918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17919 $(SET_LIB_PATH) \
17920 $(HOST_EXPORTS) \
17921 (cd sim && $(MAKE) $(FLAGS_TO_PASS) install)
17923 @endif sim
17925 # Other targets (info, dvi, etc.)
17927 .PHONY: maybe-info-sim info-sim
17928 maybe-info-sim:
17929 @if sim
17930 maybe-info-sim: info-sim
17932 info-sim: \
17933 configure-sim
17934 @[ -f ./sim/Makefile ] || exit 0; \
17935 r=`${PWD_COMMAND}`; export r; \
17936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17937 $(SET_LIB_PATH) \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing info in sim" ; \
17943 (cd sim && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17948 info) \
17949 || exit 1
17951 @endif sim
17953 .PHONY: maybe-dvi-sim dvi-sim
17954 maybe-dvi-sim:
17955 @if sim
17956 maybe-dvi-sim: dvi-sim
17958 dvi-sim: \
17959 configure-sim
17960 @[ -f ./sim/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 $(SET_LIB_PATH) \
17964 $(HOST_EXPORTS) \
17965 for flag in $(EXTRA_HOST_FLAGS) ; do \
17966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17967 done; \
17968 echo "Doing dvi in sim" ; \
17969 (cd sim && \
17970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17972 "RANLIB=$${RANLIB}" \
17973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17974 dvi) \
17975 || exit 1
17977 @endif sim
17979 .PHONY: maybe-TAGS-sim TAGS-sim
17980 maybe-TAGS-sim:
17981 @if sim
17982 maybe-TAGS-sim: TAGS-sim
17984 TAGS-sim: \
17985 configure-sim
17986 @[ -f ./sim/Makefile ] || exit 0; \
17987 r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 $(SET_LIB_PATH) \
17990 $(HOST_EXPORTS) \
17991 for flag in $(EXTRA_HOST_FLAGS) ; do \
17992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17993 done; \
17994 echo "Doing TAGS in sim" ; \
17995 (cd sim && \
17996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17998 "RANLIB=$${RANLIB}" \
17999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18000 TAGS) \
18001 || exit 1
18003 @endif sim
18005 .PHONY: maybe-install-info-sim install-info-sim
18006 maybe-install-info-sim:
18007 @if sim
18008 maybe-install-info-sim: install-info-sim
18010 install-info-sim: \
18011 configure-sim \
18012 info-sim
18013 @[ -f ./sim/Makefile ] || exit 0; \
18014 r=`${PWD_COMMAND}`; export r; \
18015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18016 $(SET_LIB_PATH) \
18017 $(HOST_EXPORTS) \
18018 for flag in $(EXTRA_HOST_FLAGS) ; do \
18019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18020 done; \
18021 echo "Doing install-info in sim" ; \
18022 (cd sim && \
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}" \
18027 install-info) \
18028 || exit 1
18030 @endif sim
18032 .PHONY: maybe-installcheck-sim installcheck-sim
18033 maybe-installcheck-sim:
18034 @if sim
18035 maybe-installcheck-sim: installcheck-sim
18037 installcheck-sim: \
18038 configure-sim
18039 @[ -f ./sim/Makefile ] || exit 0; \
18040 r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(SET_LIB_PATH) \
18043 $(HOST_EXPORTS) \
18044 for flag in $(EXTRA_HOST_FLAGS) ; do \
18045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18046 done; \
18047 echo "Doing installcheck in sim" ; \
18048 (cd sim && \
18049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18051 "RANLIB=$${RANLIB}" \
18052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18053 installcheck) \
18054 || exit 1
18056 @endif sim
18058 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
18059 maybe-mostlyclean-sim:
18060 @if sim
18061 maybe-mostlyclean-sim: mostlyclean-sim
18063 mostlyclean-sim:
18064 @[ -f ./sim/Makefile ] || exit 0; \
18065 r=`${PWD_COMMAND}`; export r; \
18066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067 $(SET_LIB_PATH) \
18068 $(HOST_EXPORTS) \
18069 for flag in $(EXTRA_HOST_FLAGS) ; do \
18070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18071 done; \
18072 echo "Doing mostlyclean in sim" ; \
18073 (cd sim && \
18074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18076 "RANLIB=$${RANLIB}" \
18077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18078 mostlyclean) \
18079 || exit 1
18081 @endif sim
18083 .PHONY: maybe-clean-sim clean-sim
18084 maybe-clean-sim:
18085 @if sim
18086 maybe-clean-sim: clean-sim
18088 clean-sim:
18089 @[ -f ./sim/Makefile ] || exit 0; \
18090 r=`${PWD_COMMAND}`; export r; \
18091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18092 $(SET_LIB_PATH) \
18093 $(HOST_EXPORTS) \
18094 for flag in $(EXTRA_HOST_FLAGS) ; do \
18095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18096 done; \
18097 echo "Doing clean in sim" ; \
18098 (cd sim && \
18099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18101 "RANLIB=$${RANLIB}" \
18102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18103 clean) \
18104 || exit 1
18106 @endif sim
18108 .PHONY: maybe-distclean-sim distclean-sim
18109 maybe-distclean-sim:
18110 @if sim
18111 maybe-distclean-sim: distclean-sim
18113 distclean-sim:
18114 @[ -f ./sim/Makefile ] || exit 0; \
18115 r=`${PWD_COMMAND}`; export r; \
18116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18117 $(SET_LIB_PATH) \
18118 $(HOST_EXPORTS) \
18119 for flag in $(EXTRA_HOST_FLAGS) ; do \
18120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18121 done; \
18122 echo "Doing distclean in sim" ; \
18123 (cd sim && \
18124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18126 "RANLIB=$${RANLIB}" \
18127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18128 distclean) \
18129 || exit 1
18131 @endif sim
18133 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
18134 maybe-maintainer-clean-sim:
18135 @if sim
18136 maybe-maintainer-clean-sim: maintainer-clean-sim
18138 maintainer-clean-sim:
18139 @[ -f ./sim/Makefile ] || exit 0; \
18140 r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(SET_LIB_PATH) \
18143 $(HOST_EXPORTS) \
18144 for flag in $(EXTRA_HOST_FLAGS) ; do \
18145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18146 done; \
18147 echo "Doing maintainer-clean in sim" ; \
18148 (cd sim && \
18149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18151 "RANLIB=$${RANLIB}" \
18152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18153 maintainer-clean) \
18154 || exit 1
18156 @endif sim
18159 .PHONY: configure-tar maybe-configure-tar
18160 maybe-configure-tar:
18161 @if tar
18162 maybe-configure-tar: configure-tar
18163 configure-tar:
18164 @test ! -f tar/Makefile || exit 0; \
18165 [ -d tar ] || mkdir tar; \
18166 r=`${PWD_COMMAND}`; export r; \
18167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18168 $(HOST_EXPORTS) \
18169 echo Configuring in tar; \
18170 cd tar || exit 1; \
18171 case $(srcdir) in \
18172 \.) \
18173 srcdiroption="--srcdir=."; \
18174 libsrcdir=".";; \
18175 /* | [A-Za-z]:[\\/]*) \
18176 srcdiroption="--srcdir=$(srcdir)/tar"; \
18177 libsrcdir="$$s/tar";; \
18178 *) \
18179 srcdiroption="--srcdir=../$(srcdir)/tar"; \
18180 libsrcdir="$$s/tar";; \
18181 esac; \
18182 $(SHELL) $${libsrcdir}/configure \
18183 $(HOST_CONFIGARGS) $${srcdiroption} \
18184 || exit 1
18185 @endif tar
18187 .PHONY: all-tar maybe-all-tar
18188 maybe-all-tar:
18189 @if tar
18190 maybe-all-tar: all-tar
18191 all-tar: configure-tar
18192 @r=`${PWD_COMMAND}`; export r; \
18193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18194 $(SET_LIB_PATH) \
18195 $(HOST_EXPORTS) \
18196 (cd tar && $(MAKE) $(FLAGS_TO_PASS) all)
18197 @endif tar
18199 .PHONY: check-tar maybe-check-tar
18200 maybe-check-tar:
18201 @if tar
18202 maybe-check-tar: check-tar
18204 check-tar:
18205 @r=`${PWD_COMMAND}`; export r; \
18206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18207 $(SET_LIB_PATH) \
18208 $(HOST_EXPORTS) \
18209 (cd tar && $(MAKE) $(FLAGS_TO_PASS) check)
18211 @endif tar
18213 .PHONY: install-tar maybe-install-tar
18214 maybe-install-tar:
18215 @if tar
18216 maybe-install-tar: install-tar
18218 install-tar: installdirs
18219 @r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18221 $(SET_LIB_PATH) \
18222 $(HOST_EXPORTS) \
18223 (cd tar && $(MAKE) $(FLAGS_TO_PASS) install)
18225 @endif tar
18227 # Other targets (info, dvi, etc.)
18229 .PHONY: maybe-info-tar info-tar
18230 maybe-info-tar:
18231 @if tar
18232 maybe-info-tar: info-tar
18234 info-tar: \
18235 configure-tar
18236 @[ -f ./tar/Makefile ] || exit 0; \
18237 r=`${PWD_COMMAND}`; export r; \
18238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18239 $(SET_LIB_PATH) \
18240 $(HOST_EXPORTS) \
18241 for flag in $(EXTRA_HOST_FLAGS) ; do \
18242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18243 done; \
18244 echo "Doing info in tar" ; \
18245 (cd tar && \
18246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18248 "RANLIB=$${RANLIB}" \
18249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18250 info) \
18251 || exit 1
18253 @endif tar
18255 .PHONY: maybe-dvi-tar dvi-tar
18256 maybe-dvi-tar:
18257 @if tar
18258 maybe-dvi-tar: dvi-tar
18260 dvi-tar: \
18261 configure-tar
18262 @[ -f ./tar/Makefile ] || exit 0; \
18263 r=`${PWD_COMMAND}`; export r; \
18264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18265 $(SET_LIB_PATH) \
18266 $(HOST_EXPORTS) \
18267 for flag in $(EXTRA_HOST_FLAGS) ; do \
18268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18269 done; \
18270 echo "Doing dvi in tar" ; \
18271 (cd tar && \
18272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18274 "RANLIB=$${RANLIB}" \
18275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18276 dvi) \
18277 || exit 1
18279 @endif tar
18281 .PHONY: maybe-TAGS-tar TAGS-tar
18282 maybe-TAGS-tar:
18283 @if tar
18284 maybe-TAGS-tar: TAGS-tar
18286 TAGS-tar: \
18287 configure-tar
18288 @[ -f ./tar/Makefile ] || exit 0; \
18289 r=`${PWD_COMMAND}`; export r; \
18290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18291 $(SET_LIB_PATH) \
18292 $(HOST_EXPORTS) \
18293 for flag in $(EXTRA_HOST_FLAGS) ; do \
18294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18295 done; \
18296 echo "Doing TAGS in tar" ; \
18297 (cd tar && \
18298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18300 "RANLIB=$${RANLIB}" \
18301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18302 TAGS) \
18303 || exit 1
18305 @endif tar
18307 .PHONY: maybe-install-info-tar install-info-tar
18308 maybe-install-info-tar:
18309 @if tar
18310 maybe-install-info-tar: install-info-tar
18312 install-info-tar: \
18313 configure-tar \
18314 info-tar
18315 @[ -f ./tar/Makefile ] || exit 0; \
18316 r=`${PWD_COMMAND}`; export r; \
18317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18318 $(SET_LIB_PATH) \
18319 $(HOST_EXPORTS) \
18320 for flag in $(EXTRA_HOST_FLAGS) ; do \
18321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18322 done; \
18323 echo "Doing install-info in tar" ; \
18324 (cd tar && \
18325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18327 "RANLIB=$${RANLIB}" \
18328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18329 install-info) \
18330 || exit 1
18332 @endif tar
18334 .PHONY: maybe-installcheck-tar installcheck-tar
18335 maybe-installcheck-tar:
18336 @if tar
18337 maybe-installcheck-tar: installcheck-tar
18339 installcheck-tar: \
18340 configure-tar
18341 @[ -f ./tar/Makefile ] || exit 0; \
18342 r=`${PWD_COMMAND}`; export r; \
18343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18344 $(SET_LIB_PATH) \
18345 $(HOST_EXPORTS) \
18346 for flag in $(EXTRA_HOST_FLAGS) ; do \
18347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18348 done; \
18349 echo "Doing installcheck in tar" ; \
18350 (cd tar && \
18351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18353 "RANLIB=$${RANLIB}" \
18354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18355 installcheck) \
18356 || exit 1
18358 @endif tar
18360 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
18361 maybe-mostlyclean-tar:
18362 @if tar
18363 maybe-mostlyclean-tar: mostlyclean-tar
18365 mostlyclean-tar:
18366 @[ -f ./tar/Makefile ] || exit 0; \
18367 r=`${PWD_COMMAND}`; export r; \
18368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18369 $(SET_LIB_PATH) \
18370 $(HOST_EXPORTS) \
18371 for flag in $(EXTRA_HOST_FLAGS) ; do \
18372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18373 done; \
18374 echo "Doing mostlyclean in tar" ; \
18375 (cd tar && \
18376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18378 "RANLIB=$${RANLIB}" \
18379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18380 mostlyclean) \
18381 || exit 1
18383 @endif tar
18385 .PHONY: maybe-clean-tar clean-tar
18386 maybe-clean-tar:
18387 @if tar
18388 maybe-clean-tar: clean-tar
18390 clean-tar:
18391 @[ -f ./tar/Makefile ] || exit 0; \
18392 r=`${PWD_COMMAND}`; export r; \
18393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18394 $(SET_LIB_PATH) \
18395 $(HOST_EXPORTS) \
18396 for flag in $(EXTRA_HOST_FLAGS) ; do \
18397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18398 done; \
18399 echo "Doing clean in tar" ; \
18400 (cd tar && \
18401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18403 "RANLIB=$${RANLIB}" \
18404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18405 clean) \
18406 || exit 1
18408 @endif tar
18410 .PHONY: maybe-distclean-tar distclean-tar
18411 maybe-distclean-tar:
18412 @if tar
18413 maybe-distclean-tar: distclean-tar
18415 distclean-tar:
18416 @[ -f ./tar/Makefile ] || exit 0; \
18417 r=`${PWD_COMMAND}`; export r; \
18418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18419 $(SET_LIB_PATH) \
18420 $(HOST_EXPORTS) \
18421 for flag in $(EXTRA_HOST_FLAGS) ; do \
18422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18423 done; \
18424 echo "Doing distclean in tar" ; \
18425 (cd tar && \
18426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18428 "RANLIB=$${RANLIB}" \
18429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18430 distclean) \
18431 || exit 1
18433 @endif tar
18435 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
18436 maybe-maintainer-clean-tar:
18437 @if tar
18438 maybe-maintainer-clean-tar: maintainer-clean-tar
18440 maintainer-clean-tar:
18441 @[ -f ./tar/Makefile ] || exit 0; \
18442 r=`${PWD_COMMAND}`; export r; \
18443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18444 $(SET_LIB_PATH) \
18445 $(HOST_EXPORTS) \
18446 for flag in $(EXTRA_HOST_FLAGS) ; do \
18447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18448 done; \
18449 echo "Doing maintainer-clean in tar" ; \
18450 (cd tar && \
18451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18453 "RANLIB=$${RANLIB}" \
18454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18455 maintainer-clean) \
18456 || exit 1
18458 @endif tar
18461 .PHONY: configure-texinfo maybe-configure-texinfo
18462 maybe-configure-texinfo:
18463 @if texinfo
18464 maybe-configure-texinfo: configure-texinfo
18465 configure-texinfo:
18466 @test ! -f texinfo/Makefile || exit 0; \
18467 [ -d texinfo ] || mkdir texinfo; \
18468 r=`${PWD_COMMAND}`; export r; \
18469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18470 $(HOST_EXPORTS) \
18471 echo Configuring in texinfo; \
18472 cd texinfo || exit 1; \
18473 case $(srcdir) in \
18474 \.) \
18475 srcdiroption="--srcdir=."; \
18476 libsrcdir=".";; \
18477 /* | [A-Za-z]:[\\/]*) \
18478 srcdiroption="--srcdir=$(srcdir)/texinfo"; \
18479 libsrcdir="$$s/texinfo";; \
18480 *) \
18481 srcdiroption="--srcdir=../$(srcdir)/texinfo"; \
18482 libsrcdir="$$s/texinfo";; \
18483 esac; \
18484 $(SHELL) $${libsrcdir}/configure \
18485 $(HOST_CONFIGARGS) $${srcdiroption} \
18486 || exit 1
18487 @endif texinfo
18489 .PHONY: all-texinfo maybe-all-texinfo
18490 maybe-all-texinfo:
18491 @if texinfo
18492 maybe-all-texinfo: all-texinfo
18493 all-texinfo: configure-texinfo
18494 @r=`${PWD_COMMAND}`; export r; \
18495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18496 $(SET_LIB_PATH) \
18497 $(HOST_EXPORTS) \
18498 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) all)
18499 @endif texinfo
18501 .PHONY: check-texinfo maybe-check-texinfo
18502 maybe-check-texinfo:
18503 @if texinfo
18504 maybe-check-texinfo: check-texinfo
18506 check-texinfo:
18507 @r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 $(SET_LIB_PATH) \
18510 $(HOST_EXPORTS) \
18511 (cd texinfo && $(MAKE) $(FLAGS_TO_PASS) check)
18513 @endif texinfo
18515 .PHONY: install-texinfo maybe-install-texinfo
18516 maybe-install-texinfo:
18517 @if texinfo
18518 maybe-install-texinfo: install-texinfo
18520 install-texinfo:
18522 @endif texinfo
18524 # Other targets (info, dvi, etc.)
18526 .PHONY: maybe-info-texinfo info-texinfo
18527 maybe-info-texinfo:
18528 @if texinfo
18529 maybe-info-texinfo: info-texinfo
18531 info-texinfo: \
18532 configure-texinfo
18533 @[ -f ./texinfo/Makefile ] || exit 0; \
18534 r=`${PWD_COMMAND}`; export r; \
18535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18536 $(SET_LIB_PATH) \
18537 $(HOST_EXPORTS) \
18538 for flag in $(EXTRA_HOST_FLAGS) ; do \
18539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18540 done; \
18541 echo "Doing info in texinfo" ; \
18542 (cd texinfo && \
18543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18545 "RANLIB=$${RANLIB}" \
18546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18547 info) \
18548 || exit 1
18550 @endif texinfo
18552 .PHONY: maybe-dvi-texinfo dvi-texinfo
18553 maybe-dvi-texinfo:
18554 @if texinfo
18555 maybe-dvi-texinfo: dvi-texinfo
18557 dvi-texinfo: \
18558 configure-texinfo
18559 @[ -f ./texinfo/Makefile ] || exit 0; \
18560 r=`${PWD_COMMAND}`; export r; \
18561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18562 $(SET_LIB_PATH) \
18563 $(HOST_EXPORTS) \
18564 for flag in $(EXTRA_HOST_FLAGS) ; do \
18565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18566 done; \
18567 echo "Doing dvi in texinfo" ; \
18568 (cd texinfo && \
18569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18571 "RANLIB=$${RANLIB}" \
18572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18573 dvi) \
18574 || exit 1
18576 @endif texinfo
18578 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
18579 maybe-TAGS-texinfo:
18580 @if texinfo
18581 maybe-TAGS-texinfo: TAGS-texinfo
18583 TAGS-texinfo: \
18584 configure-texinfo
18585 @[ -f ./texinfo/Makefile ] || exit 0; \
18586 r=`${PWD_COMMAND}`; export r; \
18587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18588 $(SET_LIB_PATH) \
18589 $(HOST_EXPORTS) \
18590 for flag in $(EXTRA_HOST_FLAGS) ; do \
18591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18592 done; \
18593 echo "Doing TAGS in texinfo" ; \
18594 (cd texinfo && \
18595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18597 "RANLIB=$${RANLIB}" \
18598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18599 TAGS) \
18600 || exit 1
18602 @endif texinfo
18604 .PHONY: maybe-install-info-texinfo install-info-texinfo
18605 maybe-install-info-texinfo:
18606 @if texinfo
18607 maybe-install-info-texinfo: install-info-texinfo
18609 install-info-texinfo: \
18610 configure-texinfo \
18611 info-texinfo
18612 @[ -f ./texinfo/Makefile ] || exit 0; \
18613 r=`${PWD_COMMAND}`; export r; \
18614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18615 $(SET_LIB_PATH) \
18616 $(HOST_EXPORTS) \
18617 for flag in $(EXTRA_HOST_FLAGS) ; do \
18618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18619 done; \
18620 echo "Doing install-info in texinfo" ; \
18621 (cd texinfo && \
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}" \
18626 install-info) \
18627 || exit 1
18629 @endif texinfo
18631 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
18632 maybe-installcheck-texinfo:
18633 @if texinfo
18634 maybe-installcheck-texinfo: installcheck-texinfo
18636 installcheck-texinfo: \
18637 configure-texinfo
18638 @[ -f ./texinfo/Makefile ] || exit 0; \
18639 r=`${PWD_COMMAND}`; export r; \
18640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18641 $(SET_LIB_PATH) \
18642 $(HOST_EXPORTS) \
18643 for flag in $(EXTRA_HOST_FLAGS) ; do \
18644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18645 done; \
18646 echo "Doing installcheck in texinfo" ; \
18647 (cd texinfo && \
18648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18650 "RANLIB=$${RANLIB}" \
18651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18652 installcheck) \
18653 || exit 1
18655 @endif texinfo
18657 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
18658 maybe-mostlyclean-texinfo:
18659 @if texinfo
18660 maybe-mostlyclean-texinfo: mostlyclean-texinfo
18662 mostlyclean-texinfo:
18663 @[ -f ./texinfo/Makefile ] || exit 0; \
18664 r=`${PWD_COMMAND}`; export r; \
18665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18666 $(SET_LIB_PATH) \
18667 $(HOST_EXPORTS) \
18668 for flag in $(EXTRA_HOST_FLAGS) ; do \
18669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18670 done; \
18671 echo "Doing mostlyclean in texinfo" ; \
18672 (cd texinfo && \
18673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18675 "RANLIB=$${RANLIB}" \
18676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18677 mostlyclean) \
18678 || exit 1
18680 @endif texinfo
18682 .PHONY: maybe-clean-texinfo clean-texinfo
18683 maybe-clean-texinfo:
18684 @if texinfo
18685 maybe-clean-texinfo: clean-texinfo
18687 clean-texinfo:
18688 @[ -f ./texinfo/Makefile ] || exit 0; \
18689 r=`${PWD_COMMAND}`; export r; \
18690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18691 $(SET_LIB_PATH) \
18692 $(HOST_EXPORTS) \
18693 for flag in $(EXTRA_HOST_FLAGS) ; do \
18694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18695 done; \
18696 echo "Doing clean in texinfo" ; \
18697 (cd texinfo && \
18698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18700 "RANLIB=$${RANLIB}" \
18701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18702 clean) \
18703 || exit 1
18705 @endif texinfo
18707 .PHONY: maybe-distclean-texinfo distclean-texinfo
18708 maybe-distclean-texinfo:
18709 @if texinfo
18710 maybe-distclean-texinfo: distclean-texinfo
18712 distclean-texinfo:
18713 @[ -f ./texinfo/Makefile ] || exit 0; \
18714 r=`${PWD_COMMAND}`; export r; \
18715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18716 $(SET_LIB_PATH) \
18717 $(HOST_EXPORTS) \
18718 for flag in $(EXTRA_HOST_FLAGS) ; do \
18719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18720 done; \
18721 echo "Doing distclean in texinfo" ; \
18722 (cd texinfo && \
18723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18725 "RANLIB=$${RANLIB}" \
18726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18727 distclean) \
18728 || exit 1
18730 @endif texinfo
18732 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
18733 maybe-maintainer-clean-texinfo:
18734 @if texinfo
18735 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
18737 maintainer-clean-texinfo:
18738 @[ -f ./texinfo/Makefile ] || exit 0; \
18739 r=`${PWD_COMMAND}`; export r; \
18740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18741 $(SET_LIB_PATH) \
18742 $(HOST_EXPORTS) \
18743 for flag in $(EXTRA_HOST_FLAGS) ; do \
18744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18745 done; \
18746 echo "Doing maintainer-clean in texinfo" ; \
18747 (cd texinfo && \
18748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18750 "RANLIB=$${RANLIB}" \
18751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18752 maintainer-clean) \
18753 || exit 1
18755 @endif texinfo
18758 .PHONY: configure-textutils maybe-configure-textutils
18759 maybe-configure-textutils:
18760 @if textutils
18761 maybe-configure-textutils: configure-textutils
18762 configure-textutils:
18763 @test ! -f textutils/Makefile || exit 0; \
18764 [ -d textutils ] || mkdir textutils; \
18765 r=`${PWD_COMMAND}`; export r; \
18766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18767 $(HOST_EXPORTS) \
18768 echo Configuring in textutils; \
18769 cd textutils || exit 1; \
18770 case $(srcdir) in \
18771 \.) \
18772 srcdiroption="--srcdir=."; \
18773 libsrcdir=".";; \
18774 /* | [A-Za-z]:[\\/]*) \
18775 srcdiroption="--srcdir=$(srcdir)/textutils"; \
18776 libsrcdir="$$s/textutils";; \
18777 *) \
18778 srcdiroption="--srcdir=../$(srcdir)/textutils"; \
18779 libsrcdir="$$s/textutils";; \
18780 esac; \
18781 $(SHELL) $${libsrcdir}/configure \
18782 $(HOST_CONFIGARGS) $${srcdiroption} \
18783 || exit 1
18784 @endif textutils
18786 .PHONY: all-textutils maybe-all-textutils
18787 maybe-all-textutils:
18788 @if textutils
18789 maybe-all-textutils: all-textutils
18790 all-textutils: configure-textutils
18791 @r=`${PWD_COMMAND}`; export r; \
18792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18793 $(SET_LIB_PATH) \
18794 $(HOST_EXPORTS) \
18795 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) all)
18796 @endif textutils
18798 .PHONY: check-textutils maybe-check-textutils
18799 maybe-check-textutils:
18800 @if textutils
18801 maybe-check-textutils: check-textutils
18803 check-textutils:
18804 @r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 $(SET_LIB_PATH) \
18807 $(HOST_EXPORTS) \
18808 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) check)
18810 @endif textutils
18812 .PHONY: install-textutils maybe-install-textutils
18813 maybe-install-textutils:
18814 @if textutils
18815 maybe-install-textutils: install-textutils
18817 install-textutils: installdirs
18818 @r=`${PWD_COMMAND}`; export r; \
18819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18820 $(SET_LIB_PATH) \
18821 $(HOST_EXPORTS) \
18822 (cd textutils && $(MAKE) $(FLAGS_TO_PASS) install)
18824 @endif textutils
18826 # Other targets (info, dvi, etc.)
18828 .PHONY: maybe-info-textutils info-textutils
18829 maybe-info-textutils:
18830 @if textutils
18831 maybe-info-textutils: info-textutils
18833 info-textutils: \
18834 configure-textutils
18835 @[ -f ./textutils/Makefile ] || exit 0; \
18836 r=`${PWD_COMMAND}`; export r; \
18837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18838 $(SET_LIB_PATH) \
18839 $(HOST_EXPORTS) \
18840 for flag in $(EXTRA_HOST_FLAGS) ; do \
18841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18842 done; \
18843 echo "Doing info in textutils" ; \
18844 (cd textutils && \
18845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18847 "RANLIB=$${RANLIB}" \
18848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18849 info) \
18850 || exit 1
18852 @endif textutils
18854 .PHONY: maybe-dvi-textutils dvi-textutils
18855 maybe-dvi-textutils:
18856 @if textutils
18857 maybe-dvi-textutils: dvi-textutils
18859 dvi-textutils: \
18860 configure-textutils
18861 @[ -f ./textutils/Makefile ] || exit 0; \
18862 r=`${PWD_COMMAND}`; export r; \
18863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18864 $(SET_LIB_PATH) \
18865 $(HOST_EXPORTS) \
18866 for flag in $(EXTRA_HOST_FLAGS) ; do \
18867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18868 done; \
18869 echo "Doing dvi in textutils" ; \
18870 (cd textutils && \
18871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18873 "RANLIB=$${RANLIB}" \
18874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18875 dvi) \
18876 || exit 1
18878 @endif textutils
18880 .PHONY: maybe-TAGS-textutils TAGS-textutils
18881 maybe-TAGS-textutils:
18882 @if textutils
18883 maybe-TAGS-textutils: TAGS-textutils
18885 TAGS-textutils: \
18886 configure-textutils
18887 @[ -f ./textutils/Makefile ] || exit 0; \
18888 r=`${PWD_COMMAND}`; export r; \
18889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18890 $(SET_LIB_PATH) \
18891 $(HOST_EXPORTS) \
18892 for flag in $(EXTRA_HOST_FLAGS) ; do \
18893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18894 done; \
18895 echo "Doing TAGS in textutils" ; \
18896 (cd textutils && \
18897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18899 "RANLIB=$${RANLIB}" \
18900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18901 TAGS) \
18902 || exit 1
18904 @endif textutils
18906 .PHONY: maybe-install-info-textutils install-info-textutils
18907 maybe-install-info-textutils:
18908 @if textutils
18909 maybe-install-info-textutils: install-info-textutils
18911 install-info-textutils: \
18912 configure-textutils \
18913 info-textutils
18914 @[ -f ./textutils/Makefile ] || exit 0; \
18915 r=`${PWD_COMMAND}`; export r; \
18916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18917 $(SET_LIB_PATH) \
18918 $(HOST_EXPORTS) \
18919 for flag in $(EXTRA_HOST_FLAGS) ; do \
18920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18921 done; \
18922 echo "Doing install-info in textutils" ; \
18923 (cd textutils && \
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}" \
18928 install-info) \
18929 || exit 1
18931 @endif textutils
18933 .PHONY: maybe-installcheck-textutils installcheck-textutils
18934 maybe-installcheck-textutils:
18935 @if textutils
18936 maybe-installcheck-textutils: installcheck-textutils
18938 installcheck-textutils: \
18939 configure-textutils
18940 @[ -f ./textutils/Makefile ] || exit 0; \
18941 r=`${PWD_COMMAND}`; export r; \
18942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18943 $(SET_LIB_PATH) \
18944 $(HOST_EXPORTS) \
18945 for flag in $(EXTRA_HOST_FLAGS) ; do \
18946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18947 done; \
18948 echo "Doing installcheck in textutils" ; \
18949 (cd textutils && \
18950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18952 "RANLIB=$${RANLIB}" \
18953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18954 installcheck) \
18955 || exit 1
18957 @endif textutils
18959 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
18960 maybe-mostlyclean-textutils:
18961 @if textutils
18962 maybe-mostlyclean-textutils: mostlyclean-textutils
18964 mostlyclean-textutils:
18965 @[ -f ./textutils/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(SET_LIB_PATH) \
18969 $(HOST_EXPORTS) \
18970 for flag in $(EXTRA_HOST_FLAGS) ; do \
18971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18972 done; \
18973 echo "Doing mostlyclean in textutils" ; \
18974 (cd textutils && \
18975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18977 "RANLIB=$${RANLIB}" \
18978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18979 mostlyclean) \
18980 || exit 1
18982 @endif textutils
18984 .PHONY: maybe-clean-textutils clean-textutils
18985 maybe-clean-textutils:
18986 @if textutils
18987 maybe-clean-textutils: clean-textutils
18989 clean-textutils:
18990 @[ -f ./textutils/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(SET_LIB_PATH) \
18994 $(HOST_EXPORTS) \
18995 for flag in $(EXTRA_HOST_FLAGS) ; do \
18996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18997 done; \
18998 echo "Doing clean in textutils" ; \
18999 (cd textutils && \
19000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19002 "RANLIB=$${RANLIB}" \
19003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19004 clean) \
19005 || exit 1
19007 @endif textutils
19009 .PHONY: maybe-distclean-textutils distclean-textutils
19010 maybe-distclean-textutils:
19011 @if textutils
19012 maybe-distclean-textutils: distclean-textutils
19014 distclean-textutils:
19015 @[ -f ./textutils/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(SET_LIB_PATH) \
19019 $(HOST_EXPORTS) \
19020 for flag in $(EXTRA_HOST_FLAGS) ; do \
19021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19022 done; \
19023 echo "Doing distclean in textutils" ; \
19024 (cd textutils && \
19025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19027 "RANLIB=$${RANLIB}" \
19028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19029 distclean) \
19030 || exit 1
19032 @endif textutils
19034 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
19035 maybe-maintainer-clean-textutils:
19036 @if textutils
19037 maybe-maintainer-clean-textutils: maintainer-clean-textutils
19039 maintainer-clean-textutils:
19040 @[ -f ./textutils/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 $(SET_LIB_PATH) \
19044 $(HOST_EXPORTS) \
19045 for flag in $(EXTRA_HOST_FLAGS) ; do \
19046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19047 done; \
19048 echo "Doing maintainer-clean in textutils" ; \
19049 (cd textutils && \
19050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19052 "RANLIB=$${RANLIB}" \
19053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19054 maintainer-clean) \
19055 || exit 1
19057 @endif textutils
19060 .PHONY: configure-time maybe-configure-time
19061 maybe-configure-time:
19062 @if time
19063 maybe-configure-time: configure-time
19064 configure-time:
19065 @test ! -f time/Makefile || exit 0; \
19066 [ -d time ] || mkdir time; \
19067 r=`${PWD_COMMAND}`; export r; \
19068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19069 $(HOST_EXPORTS) \
19070 echo Configuring in time; \
19071 cd time || exit 1; \
19072 case $(srcdir) in \
19073 \.) \
19074 srcdiroption="--srcdir=."; \
19075 libsrcdir=".";; \
19076 /* | [A-Za-z]:[\\/]*) \
19077 srcdiroption="--srcdir=$(srcdir)/time"; \
19078 libsrcdir="$$s/time";; \
19079 *) \
19080 srcdiroption="--srcdir=../$(srcdir)/time"; \
19081 libsrcdir="$$s/time";; \
19082 esac; \
19083 $(SHELL) $${libsrcdir}/configure \
19084 $(HOST_CONFIGARGS) $${srcdiroption} \
19085 || exit 1
19086 @endif time
19088 .PHONY: all-time maybe-all-time
19089 maybe-all-time:
19090 @if time
19091 maybe-all-time: all-time
19092 all-time: configure-time
19093 @r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 $(SET_LIB_PATH) \
19096 $(HOST_EXPORTS) \
19097 (cd time && $(MAKE) $(FLAGS_TO_PASS) all)
19098 @endif time
19100 .PHONY: check-time maybe-check-time
19101 maybe-check-time:
19102 @if time
19103 maybe-check-time: check-time
19105 check-time:
19106 @r=`${PWD_COMMAND}`; export r; \
19107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19108 $(SET_LIB_PATH) \
19109 $(HOST_EXPORTS) \
19110 (cd time && $(MAKE) $(FLAGS_TO_PASS) check)
19112 @endif time
19114 .PHONY: install-time maybe-install-time
19115 maybe-install-time:
19116 @if time
19117 maybe-install-time: install-time
19119 install-time: installdirs
19120 @r=`${PWD_COMMAND}`; export r; \
19121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19122 $(SET_LIB_PATH) \
19123 $(HOST_EXPORTS) \
19124 (cd time && $(MAKE) $(FLAGS_TO_PASS) install)
19126 @endif time
19128 # Other targets (info, dvi, etc.)
19130 .PHONY: maybe-info-time info-time
19131 maybe-info-time:
19132 @if time
19133 maybe-info-time: info-time
19135 info-time: \
19136 configure-time
19137 @[ -f ./time/Makefile ] || exit 0; \
19138 r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(SET_LIB_PATH) \
19141 $(HOST_EXPORTS) \
19142 for flag in $(EXTRA_HOST_FLAGS) ; do \
19143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19144 done; \
19145 echo "Doing info in time" ; \
19146 (cd time && \
19147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19149 "RANLIB=$${RANLIB}" \
19150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19151 info) \
19152 || exit 1
19154 @endif time
19156 .PHONY: maybe-dvi-time dvi-time
19157 maybe-dvi-time:
19158 @if time
19159 maybe-dvi-time: dvi-time
19161 dvi-time: \
19162 configure-time
19163 @[ -f ./time/Makefile ] || exit 0; \
19164 r=`${PWD_COMMAND}`; export r; \
19165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19166 $(SET_LIB_PATH) \
19167 $(HOST_EXPORTS) \
19168 for flag in $(EXTRA_HOST_FLAGS) ; do \
19169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19170 done; \
19171 echo "Doing dvi in time" ; \
19172 (cd time && \
19173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19175 "RANLIB=$${RANLIB}" \
19176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19177 dvi) \
19178 || exit 1
19180 @endif time
19182 .PHONY: maybe-TAGS-time TAGS-time
19183 maybe-TAGS-time:
19184 @if time
19185 maybe-TAGS-time: TAGS-time
19187 TAGS-time: \
19188 configure-time
19189 @[ -f ./time/Makefile ] || exit 0; \
19190 r=`${PWD_COMMAND}`; export r; \
19191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19192 $(SET_LIB_PATH) \
19193 $(HOST_EXPORTS) \
19194 for flag in $(EXTRA_HOST_FLAGS) ; do \
19195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19196 done; \
19197 echo "Doing TAGS in time" ; \
19198 (cd time && \
19199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19201 "RANLIB=$${RANLIB}" \
19202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19203 TAGS) \
19204 || exit 1
19206 @endif time
19208 .PHONY: maybe-install-info-time install-info-time
19209 maybe-install-info-time:
19210 @if time
19211 maybe-install-info-time: install-info-time
19213 install-info-time: \
19214 configure-time \
19215 info-time
19216 @[ -f ./time/Makefile ] || exit 0; \
19217 r=`${PWD_COMMAND}`; export r; \
19218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19219 $(SET_LIB_PATH) \
19220 $(HOST_EXPORTS) \
19221 for flag in $(EXTRA_HOST_FLAGS) ; do \
19222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19223 done; \
19224 echo "Doing install-info in time" ; \
19225 (cd time && \
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}" \
19230 install-info) \
19231 || exit 1
19233 @endif time
19235 .PHONY: maybe-installcheck-time installcheck-time
19236 maybe-installcheck-time:
19237 @if time
19238 maybe-installcheck-time: installcheck-time
19240 installcheck-time: \
19241 configure-time
19242 @[ -f ./time/Makefile ] || exit 0; \
19243 r=`${PWD_COMMAND}`; export r; \
19244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19245 $(SET_LIB_PATH) \
19246 $(HOST_EXPORTS) \
19247 for flag in $(EXTRA_HOST_FLAGS) ; do \
19248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19249 done; \
19250 echo "Doing installcheck in time" ; \
19251 (cd time && \
19252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19254 "RANLIB=$${RANLIB}" \
19255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19256 installcheck) \
19257 || exit 1
19259 @endif time
19261 .PHONY: maybe-mostlyclean-time mostlyclean-time
19262 maybe-mostlyclean-time:
19263 @if time
19264 maybe-mostlyclean-time: mostlyclean-time
19266 mostlyclean-time:
19267 @[ -f ./time/Makefile ] || exit 0; \
19268 r=`${PWD_COMMAND}`; export r; \
19269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19270 $(SET_LIB_PATH) \
19271 $(HOST_EXPORTS) \
19272 for flag in $(EXTRA_HOST_FLAGS) ; do \
19273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19274 done; \
19275 echo "Doing mostlyclean in time" ; \
19276 (cd time && \
19277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19279 "RANLIB=$${RANLIB}" \
19280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19281 mostlyclean) \
19282 || exit 1
19284 @endif time
19286 .PHONY: maybe-clean-time clean-time
19287 maybe-clean-time:
19288 @if time
19289 maybe-clean-time: clean-time
19291 clean-time:
19292 @[ -f ./time/Makefile ] || exit 0; \
19293 r=`${PWD_COMMAND}`; export r; \
19294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19295 $(SET_LIB_PATH) \
19296 $(HOST_EXPORTS) \
19297 for flag in $(EXTRA_HOST_FLAGS) ; do \
19298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19299 done; \
19300 echo "Doing clean in time" ; \
19301 (cd time && \
19302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19304 "RANLIB=$${RANLIB}" \
19305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19306 clean) \
19307 || exit 1
19309 @endif time
19311 .PHONY: maybe-distclean-time distclean-time
19312 maybe-distclean-time:
19313 @if time
19314 maybe-distclean-time: distclean-time
19316 distclean-time:
19317 @[ -f ./time/Makefile ] || exit 0; \
19318 r=`${PWD_COMMAND}`; export r; \
19319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19320 $(SET_LIB_PATH) \
19321 $(HOST_EXPORTS) \
19322 for flag in $(EXTRA_HOST_FLAGS) ; do \
19323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19324 done; \
19325 echo "Doing distclean in time" ; \
19326 (cd time && \
19327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19329 "RANLIB=$${RANLIB}" \
19330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19331 distclean) \
19332 || exit 1
19334 @endif time
19336 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
19337 maybe-maintainer-clean-time:
19338 @if time
19339 maybe-maintainer-clean-time: maintainer-clean-time
19341 maintainer-clean-time:
19342 @[ -f ./time/Makefile ] || exit 0; \
19343 r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(SET_LIB_PATH) \
19346 $(HOST_EXPORTS) \
19347 for flag in $(EXTRA_HOST_FLAGS) ; do \
19348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19349 done; \
19350 echo "Doing maintainer-clean in time" ; \
19351 (cd time && \
19352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19354 "RANLIB=$${RANLIB}" \
19355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19356 maintainer-clean) \
19357 || exit 1
19359 @endif time
19362 .PHONY: configure-uudecode maybe-configure-uudecode
19363 maybe-configure-uudecode:
19364 @if uudecode
19365 maybe-configure-uudecode: configure-uudecode
19366 configure-uudecode:
19367 @test ! -f uudecode/Makefile || exit 0; \
19368 [ -d uudecode ] || mkdir uudecode; \
19369 r=`${PWD_COMMAND}`; export r; \
19370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19371 $(HOST_EXPORTS) \
19372 echo Configuring in uudecode; \
19373 cd uudecode || exit 1; \
19374 case $(srcdir) in \
19375 \.) \
19376 srcdiroption="--srcdir=."; \
19377 libsrcdir=".";; \
19378 /* | [A-Za-z]:[\\/]*) \
19379 srcdiroption="--srcdir=$(srcdir)/uudecode"; \
19380 libsrcdir="$$s/uudecode";; \
19381 *) \
19382 srcdiroption="--srcdir=../$(srcdir)/uudecode"; \
19383 libsrcdir="$$s/uudecode";; \
19384 esac; \
19385 $(SHELL) $${libsrcdir}/configure \
19386 $(HOST_CONFIGARGS) $${srcdiroption} \
19387 || exit 1
19388 @endif uudecode
19390 .PHONY: all-uudecode maybe-all-uudecode
19391 maybe-all-uudecode:
19392 @if uudecode
19393 maybe-all-uudecode: all-uudecode
19394 all-uudecode: configure-uudecode
19395 @r=`${PWD_COMMAND}`; export r; \
19396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19397 $(SET_LIB_PATH) \
19398 $(HOST_EXPORTS) \
19399 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) all)
19400 @endif uudecode
19402 .PHONY: check-uudecode maybe-check-uudecode
19403 maybe-check-uudecode:
19404 @if uudecode
19405 maybe-check-uudecode: check-uudecode
19407 check-uudecode:
19408 @r=`${PWD_COMMAND}`; export r; \
19409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19410 $(SET_LIB_PATH) \
19411 $(HOST_EXPORTS) \
19412 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) check)
19414 @endif uudecode
19416 .PHONY: install-uudecode maybe-install-uudecode
19417 maybe-install-uudecode:
19418 @if uudecode
19419 maybe-install-uudecode: install-uudecode
19421 install-uudecode: installdirs
19422 @r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19424 $(SET_LIB_PATH) \
19425 $(HOST_EXPORTS) \
19426 (cd uudecode && $(MAKE) $(FLAGS_TO_PASS) install)
19428 @endif uudecode
19430 # Other targets (info, dvi, etc.)
19432 .PHONY: maybe-info-uudecode info-uudecode
19433 maybe-info-uudecode:
19434 @if uudecode
19435 maybe-info-uudecode: info-uudecode
19437 info-uudecode: \
19438 configure-uudecode
19439 @[ -f ./uudecode/Makefile ] || exit 0; \
19440 r=`${PWD_COMMAND}`; export r; \
19441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19442 $(SET_LIB_PATH) \
19443 $(HOST_EXPORTS) \
19444 for flag in $(EXTRA_HOST_FLAGS) ; do \
19445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19446 done; \
19447 echo "Doing info in uudecode" ; \
19448 (cd uudecode && \
19449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19451 "RANLIB=$${RANLIB}" \
19452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19453 info) \
19454 || exit 1
19456 @endif uudecode
19458 .PHONY: maybe-dvi-uudecode dvi-uudecode
19459 maybe-dvi-uudecode:
19460 @if uudecode
19461 maybe-dvi-uudecode: dvi-uudecode
19463 dvi-uudecode: \
19464 configure-uudecode
19465 @[ -f ./uudecode/Makefile ] || exit 0; \
19466 r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 $(SET_LIB_PATH) \
19469 $(HOST_EXPORTS) \
19470 for flag in $(EXTRA_HOST_FLAGS) ; do \
19471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19472 done; \
19473 echo "Doing dvi in uudecode" ; \
19474 (cd uudecode && \
19475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19477 "RANLIB=$${RANLIB}" \
19478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19479 dvi) \
19480 || exit 1
19482 @endif uudecode
19484 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
19485 maybe-TAGS-uudecode:
19486 @if uudecode
19487 maybe-TAGS-uudecode: TAGS-uudecode
19489 TAGS-uudecode: \
19490 configure-uudecode
19491 @[ -f ./uudecode/Makefile ] || exit 0; \
19492 r=`${PWD_COMMAND}`; export r; \
19493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19494 $(SET_LIB_PATH) \
19495 $(HOST_EXPORTS) \
19496 for flag in $(EXTRA_HOST_FLAGS) ; do \
19497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19498 done; \
19499 echo "Doing TAGS in uudecode" ; \
19500 (cd uudecode && \
19501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19503 "RANLIB=$${RANLIB}" \
19504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19505 TAGS) \
19506 || exit 1
19508 @endif uudecode
19510 .PHONY: maybe-install-info-uudecode install-info-uudecode
19511 maybe-install-info-uudecode:
19512 @if uudecode
19513 maybe-install-info-uudecode: install-info-uudecode
19515 install-info-uudecode: \
19516 configure-uudecode \
19517 info-uudecode
19518 @[ -f ./uudecode/Makefile ] || exit 0; \
19519 r=`${PWD_COMMAND}`; export r; \
19520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19521 $(SET_LIB_PATH) \
19522 $(HOST_EXPORTS) \
19523 for flag in $(EXTRA_HOST_FLAGS) ; do \
19524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19525 done; \
19526 echo "Doing install-info in uudecode" ; \
19527 (cd uudecode && \
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}" \
19532 install-info) \
19533 || exit 1
19535 @endif uudecode
19537 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
19538 maybe-installcheck-uudecode:
19539 @if uudecode
19540 maybe-installcheck-uudecode: installcheck-uudecode
19542 installcheck-uudecode: \
19543 configure-uudecode
19544 @[ -f ./uudecode/Makefile ] || exit 0; \
19545 r=`${PWD_COMMAND}`; export r; \
19546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19547 $(SET_LIB_PATH) \
19548 $(HOST_EXPORTS) \
19549 for flag in $(EXTRA_HOST_FLAGS) ; do \
19550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19551 done; \
19552 echo "Doing installcheck in uudecode" ; \
19553 (cd uudecode && \
19554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19556 "RANLIB=$${RANLIB}" \
19557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19558 installcheck) \
19559 || exit 1
19561 @endif uudecode
19563 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
19564 maybe-mostlyclean-uudecode:
19565 @if uudecode
19566 maybe-mostlyclean-uudecode: mostlyclean-uudecode
19568 mostlyclean-uudecode:
19569 @[ -f ./uudecode/Makefile ] || exit 0; \
19570 r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572 $(SET_LIB_PATH) \
19573 $(HOST_EXPORTS) \
19574 for flag in $(EXTRA_HOST_FLAGS) ; do \
19575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19576 done; \
19577 echo "Doing mostlyclean in uudecode" ; \
19578 (cd uudecode && \
19579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19581 "RANLIB=$${RANLIB}" \
19582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19583 mostlyclean) \
19584 || exit 1
19586 @endif uudecode
19588 .PHONY: maybe-clean-uudecode clean-uudecode
19589 maybe-clean-uudecode:
19590 @if uudecode
19591 maybe-clean-uudecode: clean-uudecode
19593 clean-uudecode:
19594 @[ -f ./uudecode/Makefile ] || exit 0; \
19595 r=`${PWD_COMMAND}`; export r; \
19596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19597 $(SET_LIB_PATH) \
19598 $(HOST_EXPORTS) \
19599 for flag in $(EXTRA_HOST_FLAGS) ; do \
19600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19601 done; \
19602 echo "Doing clean in uudecode" ; \
19603 (cd uudecode && \
19604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19606 "RANLIB=$${RANLIB}" \
19607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19608 clean) \
19609 || exit 1
19611 @endif uudecode
19613 .PHONY: maybe-distclean-uudecode distclean-uudecode
19614 maybe-distclean-uudecode:
19615 @if uudecode
19616 maybe-distclean-uudecode: distclean-uudecode
19618 distclean-uudecode:
19619 @[ -f ./uudecode/Makefile ] || exit 0; \
19620 r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 $(SET_LIB_PATH) \
19623 $(HOST_EXPORTS) \
19624 for flag in $(EXTRA_HOST_FLAGS) ; do \
19625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19626 done; \
19627 echo "Doing distclean in uudecode" ; \
19628 (cd uudecode && \
19629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19631 "RANLIB=$${RANLIB}" \
19632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19633 distclean) \
19634 || exit 1
19636 @endif uudecode
19638 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
19639 maybe-maintainer-clean-uudecode:
19640 @if uudecode
19641 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
19643 maintainer-clean-uudecode:
19644 @[ -f ./uudecode/Makefile ] || exit 0; \
19645 r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(SET_LIB_PATH) \
19648 $(HOST_EXPORTS) \
19649 for flag in $(EXTRA_HOST_FLAGS) ; do \
19650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19651 done; \
19652 echo "Doing maintainer-clean in uudecode" ; \
19653 (cd uudecode && \
19654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19656 "RANLIB=$${RANLIB}" \
19657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 maintainer-clean) \
19659 || exit 1
19661 @endif uudecode
19664 .PHONY: configure-wdiff maybe-configure-wdiff
19665 maybe-configure-wdiff:
19666 @if wdiff
19667 maybe-configure-wdiff: configure-wdiff
19668 configure-wdiff:
19669 @test ! -f wdiff/Makefile || exit 0; \
19670 [ -d wdiff ] || mkdir wdiff; \
19671 r=`${PWD_COMMAND}`; export r; \
19672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19673 $(HOST_EXPORTS) \
19674 echo Configuring in wdiff; \
19675 cd wdiff || exit 1; \
19676 case $(srcdir) in \
19677 \.) \
19678 srcdiroption="--srcdir=."; \
19679 libsrcdir=".";; \
19680 /* | [A-Za-z]:[\\/]*) \
19681 srcdiroption="--srcdir=$(srcdir)/wdiff"; \
19682 libsrcdir="$$s/wdiff";; \
19683 *) \
19684 srcdiroption="--srcdir=../$(srcdir)/wdiff"; \
19685 libsrcdir="$$s/wdiff";; \
19686 esac; \
19687 $(SHELL) $${libsrcdir}/configure \
19688 $(HOST_CONFIGARGS) $${srcdiroption} \
19689 || exit 1
19690 @endif wdiff
19692 .PHONY: all-wdiff maybe-all-wdiff
19693 maybe-all-wdiff:
19694 @if wdiff
19695 maybe-all-wdiff: all-wdiff
19696 all-wdiff: configure-wdiff
19697 @r=`${PWD_COMMAND}`; export r; \
19698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19699 $(SET_LIB_PATH) \
19700 $(HOST_EXPORTS) \
19701 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) all)
19702 @endif wdiff
19704 .PHONY: check-wdiff maybe-check-wdiff
19705 maybe-check-wdiff:
19706 @if wdiff
19707 maybe-check-wdiff: check-wdiff
19709 check-wdiff:
19710 @r=`${PWD_COMMAND}`; export r; \
19711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19712 $(SET_LIB_PATH) \
19713 $(HOST_EXPORTS) \
19714 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) check)
19716 @endif wdiff
19718 .PHONY: install-wdiff maybe-install-wdiff
19719 maybe-install-wdiff:
19720 @if wdiff
19721 maybe-install-wdiff: install-wdiff
19723 install-wdiff: installdirs
19724 @r=`${PWD_COMMAND}`; export r; \
19725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19726 $(SET_LIB_PATH) \
19727 $(HOST_EXPORTS) \
19728 (cd wdiff && $(MAKE) $(FLAGS_TO_PASS) install)
19730 @endif wdiff
19732 # Other targets (info, dvi, etc.)
19734 .PHONY: maybe-info-wdiff info-wdiff
19735 maybe-info-wdiff:
19736 @if wdiff
19737 maybe-info-wdiff: info-wdiff
19739 info-wdiff: \
19740 configure-wdiff
19741 @[ -f ./wdiff/Makefile ] || exit 0; \
19742 r=`${PWD_COMMAND}`; export r; \
19743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19744 $(SET_LIB_PATH) \
19745 $(HOST_EXPORTS) \
19746 for flag in $(EXTRA_HOST_FLAGS) ; do \
19747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19748 done; \
19749 echo "Doing info in wdiff" ; \
19750 (cd wdiff && \
19751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19753 "RANLIB=$${RANLIB}" \
19754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19755 info) \
19756 || exit 1
19758 @endif wdiff
19760 .PHONY: maybe-dvi-wdiff dvi-wdiff
19761 maybe-dvi-wdiff:
19762 @if wdiff
19763 maybe-dvi-wdiff: dvi-wdiff
19765 dvi-wdiff: \
19766 configure-wdiff
19767 @[ -f ./wdiff/Makefile ] || exit 0; \
19768 r=`${PWD_COMMAND}`; export r; \
19769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19770 $(SET_LIB_PATH) \
19771 $(HOST_EXPORTS) \
19772 for flag in $(EXTRA_HOST_FLAGS) ; do \
19773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19774 done; \
19775 echo "Doing dvi in wdiff" ; \
19776 (cd wdiff && \
19777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19779 "RANLIB=$${RANLIB}" \
19780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19781 dvi) \
19782 || exit 1
19784 @endif wdiff
19786 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
19787 maybe-TAGS-wdiff:
19788 @if wdiff
19789 maybe-TAGS-wdiff: TAGS-wdiff
19791 TAGS-wdiff: \
19792 configure-wdiff
19793 @[ -f ./wdiff/Makefile ] || exit 0; \
19794 r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(SET_LIB_PATH) \
19797 $(HOST_EXPORTS) \
19798 for flag in $(EXTRA_HOST_FLAGS) ; do \
19799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19800 done; \
19801 echo "Doing TAGS in wdiff" ; \
19802 (cd wdiff && \
19803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19805 "RANLIB=$${RANLIB}" \
19806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19807 TAGS) \
19808 || exit 1
19810 @endif wdiff
19812 .PHONY: maybe-install-info-wdiff install-info-wdiff
19813 maybe-install-info-wdiff:
19814 @if wdiff
19815 maybe-install-info-wdiff: install-info-wdiff
19817 install-info-wdiff: \
19818 configure-wdiff \
19819 info-wdiff
19820 @[ -f ./wdiff/Makefile ] || exit 0; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 $(SET_LIB_PATH) \
19824 $(HOST_EXPORTS) \
19825 for flag in $(EXTRA_HOST_FLAGS) ; do \
19826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19827 done; \
19828 echo "Doing install-info in wdiff" ; \
19829 (cd wdiff && \
19830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19832 "RANLIB=$${RANLIB}" \
19833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19834 install-info) \
19835 || exit 1
19837 @endif wdiff
19839 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
19840 maybe-installcheck-wdiff:
19841 @if wdiff
19842 maybe-installcheck-wdiff: installcheck-wdiff
19844 installcheck-wdiff: \
19845 configure-wdiff
19846 @[ -f ./wdiff/Makefile ] || exit 0; \
19847 r=`${PWD_COMMAND}`; export r; \
19848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19849 $(SET_LIB_PATH) \
19850 $(HOST_EXPORTS) \
19851 for flag in $(EXTRA_HOST_FLAGS) ; do \
19852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19853 done; \
19854 echo "Doing installcheck in wdiff" ; \
19855 (cd wdiff && \
19856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19858 "RANLIB=$${RANLIB}" \
19859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19860 installcheck) \
19861 || exit 1
19863 @endif wdiff
19865 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
19866 maybe-mostlyclean-wdiff:
19867 @if wdiff
19868 maybe-mostlyclean-wdiff: mostlyclean-wdiff
19870 mostlyclean-wdiff:
19871 @[ -f ./wdiff/Makefile ] || exit 0; \
19872 r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 $(SET_LIB_PATH) \
19875 $(HOST_EXPORTS) \
19876 for flag in $(EXTRA_HOST_FLAGS) ; do \
19877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19878 done; \
19879 echo "Doing mostlyclean in wdiff" ; \
19880 (cd wdiff && \
19881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19883 "RANLIB=$${RANLIB}" \
19884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19885 mostlyclean) \
19886 || exit 1
19888 @endif wdiff
19890 .PHONY: maybe-clean-wdiff clean-wdiff
19891 maybe-clean-wdiff:
19892 @if wdiff
19893 maybe-clean-wdiff: clean-wdiff
19895 clean-wdiff:
19896 @[ -f ./wdiff/Makefile ] || exit 0; \
19897 r=`${PWD_COMMAND}`; export r; \
19898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 $(SET_LIB_PATH) \
19900 $(HOST_EXPORTS) \
19901 for flag in $(EXTRA_HOST_FLAGS) ; do \
19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19903 done; \
19904 echo "Doing clean in wdiff" ; \
19905 (cd wdiff && \
19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19908 "RANLIB=$${RANLIB}" \
19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19910 clean) \
19911 || exit 1
19913 @endif wdiff
19915 .PHONY: maybe-distclean-wdiff distclean-wdiff
19916 maybe-distclean-wdiff:
19917 @if wdiff
19918 maybe-distclean-wdiff: distclean-wdiff
19920 distclean-wdiff:
19921 @[ -f ./wdiff/Makefile ] || exit 0; \
19922 r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 $(SET_LIB_PATH) \
19925 $(HOST_EXPORTS) \
19926 for flag in $(EXTRA_HOST_FLAGS) ; do \
19927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19928 done; \
19929 echo "Doing distclean in wdiff" ; \
19930 (cd wdiff && \
19931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19933 "RANLIB=$${RANLIB}" \
19934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19935 distclean) \
19936 || exit 1
19938 @endif wdiff
19940 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
19941 maybe-maintainer-clean-wdiff:
19942 @if wdiff
19943 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
19945 maintainer-clean-wdiff:
19946 @[ -f ./wdiff/Makefile ] || exit 0; \
19947 r=`${PWD_COMMAND}`; export r; \
19948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19949 $(SET_LIB_PATH) \
19950 $(HOST_EXPORTS) \
19951 for flag in $(EXTRA_HOST_FLAGS) ; do \
19952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19953 done; \
19954 echo "Doing maintainer-clean in wdiff" ; \
19955 (cd wdiff && \
19956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19958 "RANLIB=$${RANLIB}" \
19959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19960 maintainer-clean) \
19961 || exit 1
19963 @endif wdiff
19966 .PHONY: configure-zip maybe-configure-zip
19967 maybe-configure-zip:
19968 @if zip
19969 maybe-configure-zip: configure-zip
19970 configure-zip:
19971 @test ! -f zip/Makefile || exit 0; \
19972 [ -d zip ] || mkdir zip; \
19973 r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 $(HOST_EXPORTS) \
19976 echo Configuring in zip; \
19977 cd zip || exit 1; \
19978 case $(srcdir) in \
19979 \.) \
19980 srcdiroption="--srcdir=."; \
19981 libsrcdir=".";; \
19982 /* | [A-Za-z]:[\\/]*) \
19983 srcdiroption="--srcdir=$(srcdir)/zip"; \
19984 libsrcdir="$$s/zip";; \
19985 *) \
19986 srcdiroption="--srcdir=../$(srcdir)/zip"; \
19987 libsrcdir="$$s/zip";; \
19988 esac; \
19989 $(SHELL) $${libsrcdir}/configure \
19990 $(HOST_CONFIGARGS) $${srcdiroption} \
19991 || exit 1
19992 @endif zip
19994 .PHONY: all-zip maybe-all-zip
19995 maybe-all-zip:
19996 @if zip
19997 maybe-all-zip: all-zip
19998 all-zip: configure-zip
19999 @r=`${PWD_COMMAND}`; export r; \
20000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20001 $(SET_LIB_PATH) \
20002 $(HOST_EXPORTS) \
20003 (cd zip && $(MAKE) $(FLAGS_TO_PASS) all)
20004 @endif zip
20006 .PHONY: check-zip maybe-check-zip
20007 maybe-check-zip:
20008 @if zip
20009 maybe-check-zip: check-zip
20011 # This module is only tested in a native toolchain.
20012 check-zip:
20013 @if [ '$(host)' = '$(target)' ] ; then \
20014 r=`${PWD_COMMAND}`; export r; \
20015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20016 $(SET_LIB_PATH) \
20017 $(HOST_EXPORTS) \
20018 (cd zip && $(MAKE) $(FLAGS_TO_PASS) check); \
20021 @endif zip
20023 .PHONY: install-zip maybe-install-zip
20024 maybe-install-zip:
20025 @if zip
20026 maybe-install-zip: install-zip
20028 install-zip: installdirs
20029 @r=`${PWD_COMMAND}`; export r; \
20030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20031 $(SET_LIB_PATH) \
20032 $(HOST_EXPORTS) \
20033 (cd zip && $(MAKE) $(FLAGS_TO_PASS) install)
20035 @endif zip
20037 # Other targets (info, dvi, etc.)
20039 .PHONY: maybe-info-zip info-zip
20040 maybe-info-zip:
20041 @if zip
20042 maybe-info-zip: info-zip
20044 info-zip: \
20045 configure-zip
20046 @[ -f ./zip/Makefile ] || exit 0; \
20047 r=`${PWD_COMMAND}`; export r; \
20048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20049 $(SET_LIB_PATH) \
20050 $(HOST_EXPORTS) \
20051 for flag in $(EXTRA_HOST_FLAGS) ; do \
20052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20053 done; \
20054 echo "Doing info in zip" ; \
20055 (cd zip && \
20056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20058 "RANLIB=$${RANLIB}" \
20059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20060 info) \
20061 || exit 1
20063 @endif zip
20065 .PHONY: maybe-dvi-zip dvi-zip
20066 maybe-dvi-zip:
20067 @if zip
20068 maybe-dvi-zip: dvi-zip
20070 dvi-zip: \
20071 configure-zip
20072 @[ -f ./zip/Makefile ] || exit 0; \
20073 r=`${PWD_COMMAND}`; export r; \
20074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20075 $(SET_LIB_PATH) \
20076 $(HOST_EXPORTS) \
20077 for flag in $(EXTRA_HOST_FLAGS) ; do \
20078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20079 done; \
20080 echo "Doing dvi in zip" ; \
20081 (cd zip && \
20082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20084 "RANLIB=$${RANLIB}" \
20085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20086 dvi) \
20087 || exit 1
20089 @endif zip
20091 .PHONY: maybe-TAGS-zip TAGS-zip
20092 maybe-TAGS-zip:
20093 @if zip
20094 maybe-TAGS-zip: TAGS-zip
20096 TAGS-zip: \
20097 configure-zip
20098 @[ -f ./zip/Makefile ] || exit 0; \
20099 r=`${PWD_COMMAND}`; export r; \
20100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20101 $(SET_LIB_PATH) \
20102 $(HOST_EXPORTS) \
20103 for flag in $(EXTRA_HOST_FLAGS) ; do \
20104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20105 done; \
20106 echo "Doing TAGS in zip" ; \
20107 (cd zip && \
20108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20110 "RANLIB=$${RANLIB}" \
20111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20112 TAGS) \
20113 || exit 1
20115 @endif zip
20117 .PHONY: maybe-install-info-zip install-info-zip
20118 maybe-install-info-zip:
20119 @if zip
20120 maybe-install-info-zip: install-info-zip
20122 install-info-zip: \
20123 configure-zip \
20124 info-zip
20125 @[ -f ./zip/Makefile ] || exit 0; \
20126 r=`${PWD_COMMAND}`; export r; \
20127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20128 $(SET_LIB_PATH) \
20129 $(HOST_EXPORTS) \
20130 for flag in $(EXTRA_HOST_FLAGS) ; do \
20131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20132 done; \
20133 echo "Doing install-info in zip" ; \
20134 (cd zip && \
20135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20137 "RANLIB=$${RANLIB}" \
20138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20139 install-info) \
20140 || exit 1
20142 @endif zip
20144 .PHONY: maybe-installcheck-zip installcheck-zip
20145 maybe-installcheck-zip:
20146 @if zip
20147 maybe-installcheck-zip: installcheck-zip
20149 installcheck-zip: \
20150 configure-zip
20151 @[ -f ./zip/Makefile ] || exit 0; \
20152 r=`${PWD_COMMAND}`; export r; \
20153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20154 $(SET_LIB_PATH) \
20155 $(HOST_EXPORTS) \
20156 for flag in $(EXTRA_HOST_FLAGS) ; do \
20157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20158 done; \
20159 echo "Doing installcheck in zip" ; \
20160 (cd zip && \
20161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20163 "RANLIB=$${RANLIB}" \
20164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20165 installcheck) \
20166 || exit 1
20168 @endif zip
20170 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
20171 maybe-mostlyclean-zip:
20172 @if zip
20173 maybe-mostlyclean-zip: mostlyclean-zip
20175 mostlyclean-zip:
20176 @[ -f ./zip/Makefile ] || exit 0; \
20177 r=`${PWD_COMMAND}`; export r; \
20178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20179 $(SET_LIB_PATH) \
20180 $(HOST_EXPORTS) \
20181 for flag in $(EXTRA_HOST_FLAGS) ; do \
20182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20183 done; \
20184 echo "Doing mostlyclean in zip" ; \
20185 (cd zip && \
20186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20188 "RANLIB=$${RANLIB}" \
20189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20190 mostlyclean) \
20191 || exit 1
20193 @endif zip
20195 .PHONY: maybe-clean-zip clean-zip
20196 maybe-clean-zip:
20197 @if zip
20198 maybe-clean-zip: clean-zip
20200 clean-zip:
20201 @[ -f ./zip/Makefile ] || exit 0; \
20202 r=`${PWD_COMMAND}`; export r; \
20203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20204 $(SET_LIB_PATH) \
20205 $(HOST_EXPORTS) \
20206 for flag in $(EXTRA_HOST_FLAGS) ; do \
20207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20208 done; \
20209 echo "Doing clean in zip" ; \
20210 (cd zip && \
20211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20213 "RANLIB=$${RANLIB}" \
20214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20215 clean) \
20216 || exit 1
20218 @endif zip
20220 .PHONY: maybe-distclean-zip distclean-zip
20221 maybe-distclean-zip:
20222 @if zip
20223 maybe-distclean-zip: distclean-zip
20225 distclean-zip:
20226 @[ -f ./zip/Makefile ] || exit 0; \
20227 r=`${PWD_COMMAND}`; export r; \
20228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20229 $(SET_LIB_PATH) \
20230 $(HOST_EXPORTS) \
20231 for flag in $(EXTRA_HOST_FLAGS) ; do \
20232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20233 done; \
20234 echo "Doing distclean in zip" ; \
20235 (cd zip && \
20236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20238 "RANLIB=$${RANLIB}" \
20239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20240 distclean) \
20241 || exit 1
20243 @endif zip
20245 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
20246 maybe-maintainer-clean-zip:
20247 @if zip
20248 maybe-maintainer-clean-zip: maintainer-clean-zip
20250 maintainer-clean-zip:
20251 @[ -f ./zip/Makefile ] || exit 0; \
20252 r=`${PWD_COMMAND}`; export r; \
20253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20254 $(SET_LIB_PATH) \
20255 $(HOST_EXPORTS) \
20256 for flag in $(EXTRA_HOST_FLAGS) ; do \
20257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20258 done; \
20259 echo "Doing maintainer-clean in zip" ; \
20260 (cd zip && \
20261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20263 "RANLIB=$${RANLIB}" \
20264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20265 maintainer-clean) \
20266 || exit 1
20268 @endif zip
20271 .PHONY: configure-zlib maybe-configure-zlib
20272 maybe-configure-zlib:
20273 @if zlib
20274 maybe-configure-zlib: configure-zlib
20275 configure-zlib:
20276 @test -f stage_last && exit 0; \
20277 test ! -f zlib/Makefile || exit 0; \
20278 [ -d zlib ] || mkdir zlib; \
20279 r=`${PWD_COMMAND}`; export r; \
20280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20281 $(HOST_EXPORTS) \
20282 echo Configuring in zlib; \
20283 cd zlib || exit 1; \
20284 case $(srcdir) in \
20285 \.) \
20286 srcdiroption="--srcdir=."; \
20287 libsrcdir=".";; \
20288 /* | [A-Za-z]:[\\/]*) \
20289 srcdiroption="--srcdir=$(srcdir)/zlib"; \
20290 libsrcdir="$$s/zlib";; \
20291 *) \
20292 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
20293 libsrcdir="$$s/zlib";; \
20294 esac; \
20295 $(SHELL) $${libsrcdir}/configure \
20296 $(HOST_CONFIGARGS) $${srcdiroption} \
20297 || exit 1
20298 @endif zlib
20300 .PHONY: all-zlib maybe-all-zlib
20301 maybe-all-zlib:
20302 @if zlib
20303 maybe-all-zlib: all-zlib
20304 all-zlib: configure-zlib
20305 @test -f stage_last && exit 0; \
20306 r=`${PWD_COMMAND}`; export r; \
20307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20308 $(SET_LIB_PATH) \
20309 $(HOST_EXPORTS) \
20310 (cd zlib && $(MAKE) $(FLAGS_TO_PASS) all)
20311 @endif zlib
20313 .PHONY: check-zlib maybe-check-zlib
20314 maybe-check-zlib:
20315 @if zlib
20316 maybe-check-zlib: check-zlib
20318 check-zlib:
20320 @endif zlib
20322 .PHONY: install-zlib maybe-install-zlib
20323 maybe-install-zlib:
20324 @if zlib
20325 maybe-install-zlib: install-zlib
20327 install-zlib:
20329 @endif zlib
20331 # Other targets (info, dvi, etc.)
20333 .PHONY: maybe-info-zlib info-zlib
20334 maybe-info-zlib:
20335 @if zlib
20336 maybe-info-zlib: info-zlib
20338 info-zlib: \
20339 configure-zlib
20340 @[ -f ./zlib/Makefile ] || exit 0; \
20341 r=`${PWD_COMMAND}`; export r; \
20342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20343 $(SET_LIB_PATH) \
20344 $(HOST_EXPORTS) \
20345 for flag in $(EXTRA_HOST_FLAGS) ; do \
20346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20347 done; \
20348 echo "Doing info in zlib" ; \
20349 (cd zlib && \
20350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20352 "RANLIB=$${RANLIB}" \
20353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20354 info) \
20355 || exit 1
20357 @endif zlib
20359 .PHONY: maybe-dvi-zlib dvi-zlib
20360 maybe-dvi-zlib:
20361 @if zlib
20362 maybe-dvi-zlib: dvi-zlib
20364 dvi-zlib: \
20365 configure-zlib
20366 @[ -f ./zlib/Makefile ] || exit 0; \
20367 r=`${PWD_COMMAND}`; export r; \
20368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20369 $(SET_LIB_PATH) \
20370 $(HOST_EXPORTS) \
20371 for flag in $(EXTRA_HOST_FLAGS) ; do \
20372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20373 done; \
20374 echo "Doing dvi in zlib" ; \
20375 (cd zlib && \
20376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20378 "RANLIB=$${RANLIB}" \
20379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20380 dvi) \
20381 || exit 1
20383 @endif zlib
20385 .PHONY: maybe-TAGS-zlib TAGS-zlib
20386 maybe-TAGS-zlib:
20387 @if zlib
20388 maybe-TAGS-zlib: TAGS-zlib
20390 TAGS-zlib: \
20391 configure-zlib
20392 @[ -f ./zlib/Makefile ] || exit 0; \
20393 r=`${PWD_COMMAND}`; export r; \
20394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20395 $(SET_LIB_PATH) \
20396 $(HOST_EXPORTS) \
20397 for flag in $(EXTRA_HOST_FLAGS) ; do \
20398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20399 done; \
20400 echo "Doing TAGS in zlib" ; \
20401 (cd zlib && \
20402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20404 "RANLIB=$${RANLIB}" \
20405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20406 TAGS) \
20407 || exit 1
20409 @endif zlib
20411 .PHONY: maybe-install-info-zlib install-info-zlib
20412 maybe-install-info-zlib:
20413 @if zlib
20414 maybe-install-info-zlib: install-info-zlib
20416 install-info-zlib: \
20417 configure-zlib \
20418 info-zlib
20419 @[ -f ./zlib/Makefile ] || exit 0; \
20420 r=`${PWD_COMMAND}`; export r; \
20421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20422 $(SET_LIB_PATH) \
20423 $(HOST_EXPORTS) \
20424 for flag in $(EXTRA_HOST_FLAGS) ; do \
20425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20426 done; \
20427 echo "Doing install-info in zlib" ; \
20428 (cd zlib && \
20429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20431 "RANLIB=$${RANLIB}" \
20432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20433 install-info) \
20434 || exit 1
20436 @endif zlib
20438 .PHONY: maybe-installcheck-zlib installcheck-zlib
20439 maybe-installcheck-zlib:
20440 @if zlib
20441 maybe-installcheck-zlib: installcheck-zlib
20443 installcheck-zlib: \
20444 configure-zlib
20445 @[ -f ./zlib/Makefile ] || exit 0; \
20446 r=`${PWD_COMMAND}`; export r; \
20447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20448 $(SET_LIB_PATH) \
20449 $(HOST_EXPORTS) \
20450 for flag in $(EXTRA_HOST_FLAGS) ; do \
20451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20452 done; \
20453 echo "Doing installcheck in zlib" ; \
20454 (cd zlib && \
20455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20457 "RANLIB=$${RANLIB}" \
20458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20459 installcheck) \
20460 || exit 1
20462 @endif zlib
20464 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
20465 maybe-mostlyclean-zlib:
20466 @if zlib
20467 maybe-mostlyclean-zlib: mostlyclean-zlib
20469 mostlyclean-zlib:
20470 @[ -f ./zlib/Makefile ] || exit 0; \
20471 r=`${PWD_COMMAND}`; export r; \
20472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20473 $(SET_LIB_PATH) \
20474 $(HOST_EXPORTS) \
20475 for flag in $(EXTRA_HOST_FLAGS) ; do \
20476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20477 done; \
20478 echo "Doing mostlyclean in zlib" ; \
20479 (cd zlib && \
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}" \
20484 mostlyclean) \
20485 || exit 1
20487 @endif zlib
20489 .PHONY: maybe-clean-zlib clean-zlib
20490 maybe-clean-zlib:
20491 @if zlib
20492 maybe-clean-zlib: clean-zlib
20494 clean-zlib:
20495 @[ -f ./zlib/Makefile ] || exit 0; \
20496 r=`${PWD_COMMAND}`; export r; \
20497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20498 $(SET_LIB_PATH) \
20499 $(HOST_EXPORTS) \
20500 for flag in $(EXTRA_HOST_FLAGS) ; do \
20501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20502 done; \
20503 echo "Doing clean in zlib" ; \
20504 (cd zlib && \
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}" \
20509 clean) \
20510 || exit 1
20512 @endif zlib
20514 .PHONY: maybe-distclean-zlib distclean-zlib
20515 maybe-distclean-zlib:
20516 @if zlib
20517 maybe-distclean-zlib: distclean-zlib
20519 distclean-zlib:
20520 @[ -f ./zlib/Makefile ] || exit 0; \
20521 r=`${PWD_COMMAND}`; export r; \
20522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20523 $(SET_LIB_PATH) \
20524 $(HOST_EXPORTS) \
20525 for flag in $(EXTRA_HOST_FLAGS) ; do \
20526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20527 done; \
20528 echo "Doing distclean in zlib" ; \
20529 (cd zlib && \
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}" \
20534 distclean) \
20535 || exit 1
20537 @endif zlib
20539 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
20540 maybe-maintainer-clean-zlib:
20541 @if zlib
20542 maybe-maintainer-clean-zlib: maintainer-clean-zlib
20544 maintainer-clean-zlib:
20545 @[ -f ./zlib/Makefile ] || exit 0; \
20546 r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20548 $(SET_LIB_PATH) \
20549 $(HOST_EXPORTS) \
20550 for flag in $(EXTRA_HOST_FLAGS) ; do \
20551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20552 done; \
20553 echo "Doing maintainer-clean in zlib" ; \
20554 (cd zlib && \
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}" \
20559 maintainer-clean) \
20560 || exit 1
20562 @endif zlib
20565 .PHONY: configure-gdb maybe-configure-gdb
20566 maybe-configure-gdb:
20567 @if gdb
20568 maybe-configure-gdb: configure-gdb
20569 configure-gdb:
20570 @test ! -f gdb/Makefile || exit 0; \
20571 [ -d gdb ] || mkdir gdb; \
20572 r=`${PWD_COMMAND}`; export r; \
20573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20574 $(HOST_EXPORTS) \
20575 echo Configuring in gdb; \
20576 cd gdb || exit 1; \
20577 case $(srcdir) in \
20578 \.) \
20579 srcdiroption="--srcdir=."; \
20580 libsrcdir=".";; \
20581 /* | [A-Za-z]:[\\/]*) \
20582 srcdiroption="--srcdir=$(srcdir)/gdb"; \
20583 libsrcdir="$$s/gdb";; \
20584 *) \
20585 srcdiroption="--srcdir=../$(srcdir)/gdb"; \
20586 libsrcdir="$$s/gdb";; \
20587 esac; \
20588 $(SHELL) $${libsrcdir}/configure \
20589 $(HOST_CONFIGARGS) $${srcdiroption} \
20590 || exit 1
20591 @endif gdb
20593 .PHONY: all-gdb maybe-all-gdb
20594 maybe-all-gdb:
20595 @if gdb
20596 maybe-all-gdb: all-gdb
20597 all-gdb: configure-gdb
20598 @r=`${PWD_COMMAND}`; export r; \
20599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20600 $(SET_LIB_PATH) \
20601 $(HOST_EXPORTS) \
20602 (cd gdb && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20603 @endif gdb
20605 .PHONY: check-gdb maybe-check-gdb
20606 maybe-check-gdb:
20607 @if gdb
20608 maybe-check-gdb: check-gdb
20610 check-gdb:
20611 @r=`${PWD_COMMAND}`; export r; \
20612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20613 $(SET_LIB_PATH) \
20614 $(HOST_EXPORTS) \
20615 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20617 @endif gdb
20619 .PHONY: install-gdb maybe-install-gdb
20620 maybe-install-gdb:
20621 @if gdb
20622 maybe-install-gdb: install-gdb
20624 install-gdb: installdirs
20625 @r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 $(SET_LIB_PATH) \
20628 $(HOST_EXPORTS) \
20629 (cd gdb && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20631 @endif gdb
20633 # Other targets (info, dvi, etc.)
20635 .PHONY: maybe-info-gdb info-gdb
20636 maybe-info-gdb:
20637 @if gdb
20638 maybe-info-gdb: info-gdb
20640 info-gdb: \
20641 configure-gdb
20642 @[ -f ./gdb/Makefile ] || exit 0; \
20643 r=`${PWD_COMMAND}`; export r; \
20644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20645 $(SET_LIB_PATH) \
20646 $(HOST_EXPORTS) \
20647 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20649 done; \
20650 echo "Doing info in gdb" ; \
20651 (cd gdb && \
20652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20654 "RANLIB=$${RANLIB}" \
20655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20656 info) \
20657 || exit 1
20659 @endif gdb
20661 .PHONY: maybe-dvi-gdb dvi-gdb
20662 maybe-dvi-gdb:
20663 @if gdb
20664 maybe-dvi-gdb: dvi-gdb
20666 dvi-gdb: \
20667 configure-gdb
20668 @[ -f ./gdb/Makefile ] || exit 0; \
20669 r=`${PWD_COMMAND}`; export r; \
20670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20671 $(SET_LIB_PATH) \
20672 $(HOST_EXPORTS) \
20673 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20675 done; \
20676 echo "Doing dvi in gdb" ; \
20677 (cd gdb && \
20678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20680 "RANLIB=$${RANLIB}" \
20681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20682 dvi) \
20683 || exit 1
20685 @endif gdb
20687 .PHONY: maybe-TAGS-gdb TAGS-gdb
20688 maybe-TAGS-gdb:
20689 @if gdb
20690 maybe-TAGS-gdb: TAGS-gdb
20692 TAGS-gdb: \
20693 configure-gdb
20694 @[ -f ./gdb/Makefile ] || exit 0; \
20695 r=`${PWD_COMMAND}`; export r; \
20696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20697 $(SET_LIB_PATH) \
20698 $(HOST_EXPORTS) \
20699 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20701 done; \
20702 echo "Doing TAGS in gdb" ; \
20703 (cd gdb && \
20704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20706 "RANLIB=$${RANLIB}" \
20707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20708 TAGS) \
20709 || exit 1
20711 @endif gdb
20713 .PHONY: maybe-install-info-gdb install-info-gdb
20714 maybe-install-info-gdb:
20715 @if gdb
20716 maybe-install-info-gdb: install-info-gdb
20718 install-info-gdb: \
20719 configure-gdb \
20720 info-gdb
20721 @[ -f ./gdb/Makefile ] || exit 0; \
20722 r=`${PWD_COMMAND}`; export r; \
20723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20724 $(SET_LIB_PATH) \
20725 $(HOST_EXPORTS) \
20726 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20728 done; \
20729 echo "Doing install-info in gdb" ; \
20730 (cd gdb && \
20731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20733 "RANLIB=$${RANLIB}" \
20734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20735 install-info) \
20736 || exit 1
20738 @endif gdb
20740 .PHONY: maybe-installcheck-gdb installcheck-gdb
20741 maybe-installcheck-gdb:
20742 @if gdb
20743 maybe-installcheck-gdb: installcheck-gdb
20745 installcheck-gdb: \
20746 configure-gdb
20747 @[ -f ./gdb/Makefile ] || exit 0; \
20748 r=`${PWD_COMMAND}`; export r; \
20749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20750 $(SET_LIB_PATH) \
20751 $(HOST_EXPORTS) \
20752 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20754 done; \
20755 echo "Doing installcheck in gdb" ; \
20756 (cd gdb && \
20757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20759 "RANLIB=$${RANLIB}" \
20760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20761 installcheck) \
20762 || exit 1
20764 @endif gdb
20766 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
20767 maybe-mostlyclean-gdb:
20768 @if gdb
20769 maybe-mostlyclean-gdb: mostlyclean-gdb
20771 mostlyclean-gdb:
20772 @[ -f ./gdb/Makefile ] || exit 0; \
20773 r=`${PWD_COMMAND}`; export r; \
20774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20775 $(SET_LIB_PATH) \
20776 $(HOST_EXPORTS) \
20777 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20779 done; \
20780 echo "Doing mostlyclean in gdb" ; \
20781 (cd gdb && \
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}" \
20786 mostlyclean) \
20787 || exit 1
20789 @endif gdb
20791 .PHONY: maybe-clean-gdb clean-gdb
20792 maybe-clean-gdb:
20793 @if gdb
20794 maybe-clean-gdb: clean-gdb
20796 clean-gdb:
20797 @[ -f ./gdb/Makefile ] || exit 0; \
20798 r=`${PWD_COMMAND}`; export r; \
20799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20800 $(SET_LIB_PATH) \
20801 $(HOST_EXPORTS) \
20802 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20804 done; \
20805 echo "Doing clean in gdb" ; \
20806 (cd gdb && \
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}" \
20811 clean) \
20812 || exit 1
20814 @endif gdb
20816 .PHONY: maybe-distclean-gdb distclean-gdb
20817 maybe-distclean-gdb:
20818 @if gdb
20819 maybe-distclean-gdb: distclean-gdb
20821 distclean-gdb:
20822 @[ -f ./gdb/Makefile ] || exit 0; \
20823 r=`${PWD_COMMAND}`; export r; \
20824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20825 $(SET_LIB_PATH) \
20826 $(HOST_EXPORTS) \
20827 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20829 done; \
20830 echo "Doing distclean in gdb" ; \
20831 (cd gdb && \
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}" \
20836 distclean) \
20837 || exit 1
20839 @endif gdb
20841 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
20842 maybe-maintainer-clean-gdb:
20843 @if gdb
20844 maybe-maintainer-clean-gdb: maintainer-clean-gdb
20846 maintainer-clean-gdb:
20847 @[ -f ./gdb/Makefile ] || exit 0; \
20848 r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 $(SET_LIB_PATH) \
20851 $(HOST_EXPORTS) \
20852 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20854 done; \
20855 echo "Doing maintainer-clean in gdb" ; \
20856 (cd gdb && \
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}" \
20861 maintainer-clean) \
20862 || exit 1
20864 @endif gdb
20867 .PHONY: configure-expect maybe-configure-expect
20868 maybe-configure-expect:
20869 @if expect
20870 maybe-configure-expect: configure-expect
20871 configure-expect:
20872 @test ! -f expect/Makefile || exit 0; \
20873 [ -d expect ] || mkdir expect; \
20874 r=`${PWD_COMMAND}`; export r; \
20875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20876 $(HOST_EXPORTS) \
20877 echo Configuring in expect; \
20878 cd expect || exit 1; \
20879 case $(srcdir) in \
20880 \.) \
20881 srcdiroption="--srcdir=."; \
20882 libsrcdir=".";; \
20883 /* | [A-Za-z]:[\\/]*) \
20884 srcdiroption="--srcdir=$(srcdir)/expect"; \
20885 libsrcdir="$$s/expect";; \
20886 *) \
20887 srcdiroption="--srcdir=../$(srcdir)/expect"; \
20888 libsrcdir="$$s/expect";; \
20889 esac; \
20890 $(SHELL) $${libsrcdir}/configure \
20891 $(HOST_CONFIGARGS) $${srcdiroption} \
20892 || exit 1
20893 @endif expect
20895 .PHONY: all-expect maybe-all-expect
20896 maybe-all-expect:
20897 @if expect
20898 maybe-all-expect: all-expect
20899 all-expect: configure-expect
20900 @r=`${PWD_COMMAND}`; export r; \
20901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20902 $(SET_LIB_PATH) \
20903 $(HOST_EXPORTS) \
20904 (cd expect && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
20905 @endif expect
20907 .PHONY: check-expect maybe-check-expect
20908 maybe-check-expect:
20909 @if expect
20910 maybe-check-expect: check-expect
20912 check-expect:
20913 @r=`${PWD_COMMAND}`; export r; \
20914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20915 $(SET_LIB_PATH) \
20916 $(HOST_EXPORTS) \
20917 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
20919 @endif expect
20921 .PHONY: install-expect maybe-install-expect
20922 maybe-install-expect:
20923 @if expect
20924 maybe-install-expect: install-expect
20926 install-expect: installdirs
20927 @r=`${PWD_COMMAND}`; export r; \
20928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20929 $(SET_LIB_PATH) \
20930 $(HOST_EXPORTS) \
20931 (cd expect && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
20933 @endif expect
20935 # Other targets (info, dvi, etc.)
20937 .PHONY: maybe-info-expect info-expect
20938 maybe-info-expect:
20939 @if expect
20940 maybe-info-expect: info-expect
20942 info-expect: \
20943 configure-expect
20944 @[ -f ./expect/Makefile ] || exit 0; \
20945 r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(SET_LIB_PATH) \
20948 $(HOST_EXPORTS) \
20949 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20951 done; \
20952 echo "Doing info in expect" ; \
20953 (cd expect && \
20954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20956 "RANLIB=$${RANLIB}" \
20957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20958 info) \
20959 || exit 1
20961 @endif expect
20963 .PHONY: maybe-dvi-expect dvi-expect
20964 maybe-dvi-expect:
20965 @if expect
20966 maybe-dvi-expect: dvi-expect
20968 dvi-expect: \
20969 configure-expect
20970 @[ -f ./expect/Makefile ] || exit 0; \
20971 r=`${PWD_COMMAND}`; export r; \
20972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20973 $(SET_LIB_PATH) \
20974 $(HOST_EXPORTS) \
20975 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
20976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20977 done; \
20978 echo "Doing dvi in expect" ; \
20979 (cd expect && \
20980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20982 "RANLIB=$${RANLIB}" \
20983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20984 dvi) \
20985 || exit 1
20987 @endif expect
20989 .PHONY: maybe-TAGS-expect TAGS-expect
20990 maybe-TAGS-expect:
20991 @if expect
20992 maybe-TAGS-expect: TAGS-expect
20994 TAGS-expect: \
20995 configure-expect
20996 @[ -f ./expect/Makefile ] || exit 0; \
20997 r=`${PWD_COMMAND}`; export r; \
20998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20999 $(SET_LIB_PATH) \
21000 $(HOST_EXPORTS) \
21001 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21003 done; \
21004 echo "Doing TAGS in expect" ; \
21005 (cd expect && \
21006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21008 "RANLIB=$${RANLIB}" \
21009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21010 TAGS) \
21011 || exit 1
21013 @endif expect
21015 .PHONY: maybe-install-info-expect install-info-expect
21016 maybe-install-info-expect:
21017 @if expect
21018 maybe-install-info-expect: install-info-expect
21020 install-info-expect: \
21021 configure-expect \
21022 info-expect
21023 @[ -f ./expect/Makefile ] || exit 0; \
21024 r=`${PWD_COMMAND}`; export r; \
21025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21026 $(SET_LIB_PATH) \
21027 $(HOST_EXPORTS) \
21028 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21030 done; \
21031 echo "Doing install-info in expect" ; \
21032 (cd expect && \
21033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21035 "RANLIB=$${RANLIB}" \
21036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21037 install-info) \
21038 || exit 1
21040 @endif expect
21042 .PHONY: maybe-installcheck-expect installcheck-expect
21043 maybe-installcheck-expect:
21044 @if expect
21045 maybe-installcheck-expect: installcheck-expect
21047 installcheck-expect: \
21048 configure-expect
21049 @[ -f ./expect/Makefile ] || exit 0; \
21050 r=`${PWD_COMMAND}`; export r; \
21051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 $(SET_LIB_PATH) \
21053 $(HOST_EXPORTS) \
21054 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21056 done; \
21057 echo "Doing installcheck in expect" ; \
21058 (cd expect && \
21059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21061 "RANLIB=$${RANLIB}" \
21062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21063 installcheck) \
21064 || exit 1
21066 @endif expect
21068 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
21069 maybe-mostlyclean-expect:
21070 @if expect
21071 maybe-mostlyclean-expect: mostlyclean-expect
21073 mostlyclean-expect:
21074 @[ -f ./expect/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077 $(SET_LIB_PATH) \
21078 $(HOST_EXPORTS) \
21079 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21081 done; \
21082 echo "Doing mostlyclean in expect" ; \
21083 (cd expect && \
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}" \
21088 mostlyclean) \
21089 || exit 1
21091 @endif expect
21093 .PHONY: maybe-clean-expect clean-expect
21094 maybe-clean-expect:
21095 @if expect
21096 maybe-clean-expect: clean-expect
21098 clean-expect:
21099 @[ -f ./expect/Makefile ] || exit 0; \
21100 r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 $(SET_LIB_PATH) \
21103 $(HOST_EXPORTS) \
21104 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21106 done; \
21107 echo "Doing clean in expect" ; \
21108 (cd expect && \
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}" \
21113 clean) \
21114 || exit 1
21116 @endif expect
21118 .PHONY: maybe-distclean-expect distclean-expect
21119 maybe-distclean-expect:
21120 @if expect
21121 maybe-distclean-expect: distclean-expect
21123 distclean-expect:
21124 @[ -f ./expect/Makefile ] || exit 0; \
21125 r=`${PWD_COMMAND}`; export r; \
21126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21127 $(SET_LIB_PATH) \
21128 $(HOST_EXPORTS) \
21129 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21131 done; \
21132 echo "Doing distclean in expect" ; \
21133 (cd expect && \
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}" \
21138 distclean) \
21139 || exit 1
21141 @endif expect
21143 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
21144 maybe-maintainer-clean-expect:
21145 @if expect
21146 maybe-maintainer-clean-expect: maintainer-clean-expect
21148 maintainer-clean-expect:
21149 @[ -f ./expect/Makefile ] || exit 0; \
21150 r=`${PWD_COMMAND}`; export r; \
21151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21152 $(SET_LIB_PATH) \
21153 $(HOST_EXPORTS) \
21154 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21156 done; \
21157 echo "Doing maintainer-clean in expect" ; \
21158 (cd expect && \
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}" \
21163 maintainer-clean) \
21164 || exit 1
21166 @endif expect
21169 .PHONY: configure-guile maybe-configure-guile
21170 maybe-configure-guile:
21171 @if guile
21172 maybe-configure-guile: configure-guile
21173 configure-guile:
21174 @test ! -f guile/Makefile || exit 0; \
21175 [ -d guile ] || mkdir guile; \
21176 r=`${PWD_COMMAND}`; export r; \
21177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21178 $(HOST_EXPORTS) \
21179 echo Configuring in guile; \
21180 cd guile || exit 1; \
21181 case $(srcdir) in \
21182 \.) \
21183 srcdiroption="--srcdir=."; \
21184 libsrcdir=".";; \
21185 /* | [A-Za-z]:[\\/]*) \
21186 srcdiroption="--srcdir=$(srcdir)/guile"; \
21187 libsrcdir="$$s/guile";; \
21188 *) \
21189 srcdiroption="--srcdir=../$(srcdir)/guile"; \
21190 libsrcdir="$$s/guile";; \
21191 esac; \
21192 $(SHELL) $${libsrcdir}/configure \
21193 $(HOST_CONFIGARGS) $${srcdiroption} \
21194 || exit 1
21195 @endif guile
21197 .PHONY: all-guile maybe-all-guile
21198 maybe-all-guile:
21199 @if guile
21200 maybe-all-guile: all-guile
21201 all-guile: configure-guile
21202 @r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(SET_LIB_PATH) \
21205 $(HOST_EXPORTS) \
21206 (cd guile && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21207 @endif guile
21209 .PHONY: check-guile maybe-check-guile
21210 maybe-check-guile:
21211 @if guile
21212 maybe-check-guile: check-guile
21214 check-guile:
21215 @r=`${PWD_COMMAND}`; export r; \
21216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21217 $(SET_LIB_PATH) \
21218 $(HOST_EXPORTS) \
21219 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21221 @endif guile
21223 .PHONY: install-guile maybe-install-guile
21224 maybe-install-guile:
21225 @if guile
21226 maybe-install-guile: install-guile
21228 install-guile: installdirs
21229 @r=`${PWD_COMMAND}`; export r; \
21230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21231 $(SET_LIB_PATH) \
21232 $(HOST_EXPORTS) \
21233 (cd guile && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21235 @endif guile
21237 # Other targets (info, dvi, etc.)
21239 .PHONY: maybe-info-guile info-guile
21240 maybe-info-guile:
21241 @if guile
21242 maybe-info-guile: info-guile
21244 info-guile: \
21245 configure-guile
21246 @[ -f ./guile/Makefile ] || exit 0; \
21247 r=`${PWD_COMMAND}`; export r; \
21248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21249 $(SET_LIB_PATH) \
21250 $(HOST_EXPORTS) \
21251 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21253 done; \
21254 echo "Doing info in guile" ; \
21255 (cd guile && \
21256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21258 "RANLIB=$${RANLIB}" \
21259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21260 info) \
21261 || exit 1
21263 @endif guile
21265 .PHONY: maybe-dvi-guile dvi-guile
21266 maybe-dvi-guile:
21267 @if guile
21268 maybe-dvi-guile: dvi-guile
21270 dvi-guile: \
21271 configure-guile
21272 @[ -f ./guile/Makefile ] || exit 0; \
21273 r=`${PWD_COMMAND}`; export r; \
21274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21275 $(SET_LIB_PATH) \
21276 $(HOST_EXPORTS) \
21277 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21279 done; \
21280 echo "Doing dvi in guile" ; \
21281 (cd guile && \
21282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21284 "RANLIB=$${RANLIB}" \
21285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21286 dvi) \
21287 || exit 1
21289 @endif guile
21291 .PHONY: maybe-TAGS-guile TAGS-guile
21292 maybe-TAGS-guile:
21293 @if guile
21294 maybe-TAGS-guile: TAGS-guile
21296 TAGS-guile: \
21297 configure-guile
21298 @[ -f ./guile/Makefile ] || exit 0; \
21299 r=`${PWD_COMMAND}`; export r; \
21300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21301 $(SET_LIB_PATH) \
21302 $(HOST_EXPORTS) \
21303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 done; \
21306 echo "Doing TAGS in guile" ; \
21307 (cd guile && \
21308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21310 "RANLIB=$${RANLIB}" \
21311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21312 TAGS) \
21313 || exit 1
21315 @endif guile
21317 .PHONY: maybe-install-info-guile install-info-guile
21318 maybe-install-info-guile:
21319 @if guile
21320 maybe-install-info-guile: install-info-guile
21322 install-info-guile: \
21323 configure-guile \
21324 info-guile
21325 @[ -f ./guile/Makefile ] || exit 0; \
21326 r=`${PWD_COMMAND}`; export r; \
21327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21328 $(SET_LIB_PATH) \
21329 $(HOST_EXPORTS) \
21330 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21332 done; \
21333 echo "Doing install-info in guile" ; \
21334 (cd guile && \
21335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21337 "RANLIB=$${RANLIB}" \
21338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21339 install-info) \
21340 || exit 1
21342 @endif guile
21344 .PHONY: maybe-installcheck-guile installcheck-guile
21345 maybe-installcheck-guile:
21346 @if guile
21347 maybe-installcheck-guile: installcheck-guile
21349 installcheck-guile: \
21350 configure-guile
21351 @[ -f ./guile/Makefile ] || exit 0; \
21352 r=`${PWD_COMMAND}`; export r; \
21353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21354 $(SET_LIB_PATH) \
21355 $(HOST_EXPORTS) \
21356 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21358 done; \
21359 echo "Doing installcheck in guile" ; \
21360 (cd guile && \
21361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21363 "RANLIB=$${RANLIB}" \
21364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21365 installcheck) \
21366 || exit 1
21368 @endif guile
21370 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
21371 maybe-mostlyclean-guile:
21372 @if guile
21373 maybe-mostlyclean-guile: mostlyclean-guile
21375 mostlyclean-guile:
21376 @[ -f ./guile/Makefile ] || exit 0; \
21377 r=`${PWD_COMMAND}`; export r; \
21378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21379 $(SET_LIB_PATH) \
21380 $(HOST_EXPORTS) \
21381 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21383 done; \
21384 echo "Doing mostlyclean in guile" ; \
21385 (cd guile && \
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}" \
21390 mostlyclean) \
21391 || exit 1
21393 @endif guile
21395 .PHONY: maybe-clean-guile clean-guile
21396 maybe-clean-guile:
21397 @if guile
21398 maybe-clean-guile: clean-guile
21400 clean-guile:
21401 @[ -f ./guile/Makefile ] || exit 0; \
21402 r=`${PWD_COMMAND}`; export r; \
21403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21404 $(SET_LIB_PATH) \
21405 $(HOST_EXPORTS) \
21406 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21408 done; \
21409 echo "Doing clean in guile" ; \
21410 (cd guile && \
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}" \
21415 clean) \
21416 || exit 1
21418 @endif guile
21420 .PHONY: maybe-distclean-guile distclean-guile
21421 maybe-distclean-guile:
21422 @if guile
21423 maybe-distclean-guile: distclean-guile
21425 distclean-guile:
21426 @[ -f ./guile/Makefile ] || exit 0; \
21427 r=`${PWD_COMMAND}`; export r; \
21428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21429 $(SET_LIB_PATH) \
21430 $(HOST_EXPORTS) \
21431 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21433 done; \
21434 echo "Doing distclean in guile" ; \
21435 (cd guile && \
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}" \
21440 distclean) \
21441 || exit 1
21443 @endif guile
21445 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
21446 maybe-maintainer-clean-guile:
21447 @if guile
21448 maybe-maintainer-clean-guile: maintainer-clean-guile
21450 maintainer-clean-guile:
21451 @[ -f ./guile/Makefile ] || exit 0; \
21452 r=`${PWD_COMMAND}`; export r; \
21453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21454 $(SET_LIB_PATH) \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing maintainer-clean in guile" ; \
21460 (cd guile && \
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}" \
21465 maintainer-clean) \
21466 || exit 1
21468 @endif guile
21471 .PHONY: configure-tk maybe-configure-tk
21472 maybe-configure-tk:
21473 @if tk
21474 maybe-configure-tk: configure-tk
21475 configure-tk:
21476 @test ! -f tk/Makefile || exit 0; \
21477 [ -d tk ] || mkdir tk; \
21478 r=`${PWD_COMMAND}`; export r; \
21479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21480 $(HOST_EXPORTS) \
21481 echo Configuring in tk; \
21482 cd tk || exit 1; \
21483 case $(srcdir) in \
21484 \.) \
21485 srcdiroption="--srcdir=."; \
21486 libsrcdir=".";; \
21487 /* | [A-Za-z]:[\\/]*) \
21488 srcdiroption="--srcdir=$(srcdir)/tk"; \
21489 libsrcdir="$$s/tk";; \
21490 *) \
21491 srcdiroption="--srcdir=../$(srcdir)/tk"; \
21492 libsrcdir="$$s/tk";; \
21493 esac; \
21494 $(SHELL) $${libsrcdir}/configure \
21495 $(HOST_CONFIGARGS) $${srcdiroption} \
21496 || exit 1
21497 @endif tk
21499 .PHONY: all-tk maybe-all-tk
21500 maybe-all-tk:
21501 @if tk
21502 maybe-all-tk: all-tk
21503 all-tk: configure-tk
21504 @r=`${PWD_COMMAND}`; export r; \
21505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21506 $(SET_LIB_PATH) \
21507 $(HOST_EXPORTS) \
21508 (cd tk && $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) all)
21509 @endif tk
21511 .PHONY: check-tk maybe-check-tk
21512 maybe-check-tk:
21513 @if tk
21514 maybe-check-tk: check-tk
21516 check-tk:
21517 @r=`${PWD_COMMAND}`; export r; \
21518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21519 $(SET_LIB_PATH) \
21520 $(HOST_EXPORTS) \
21521 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) check)
21523 @endif tk
21525 .PHONY: install-tk maybe-install-tk
21526 maybe-install-tk:
21527 @if tk
21528 maybe-install-tk: install-tk
21530 install-tk: installdirs
21531 @r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 $(SET_LIB_PATH) \
21534 $(HOST_EXPORTS) \
21535 (cd tk && $(MAKE) $(FLAGS_TO_PASS)$(X11_FLAGS_TO_PASS) install)
21537 @endif tk
21539 # Other targets (info, dvi, etc.)
21541 .PHONY: maybe-info-tk info-tk
21542 maybe-info-tk:
21543 @if tk
21544 maybe-info-tk: info-tk
21546 info-tk: \
21547 configure-tk
21548 @[ -f ./tk/Makefile ] || exit 0; \
21549 r=`${PWD_COMMAND}`; export r; \
21550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21551 $(SET_LIB_PATH) \
21552 $(HOST_EXPORTS) \
21553 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21555 done; \
21556 echo "Doing info in tk" ; \
21557 (cd tk && \
21558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21560 "RANLIB=$${RANLIB}" \
21561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21562 info) \
21563 || exit 1
21565 @endif tk
21567 .PHONY: maybe-dvi-tk dvi-tk
21568 maybe-dvi-tk:
21569 @if tk
21570 maybe-dvi-tk: dvi-tk
21572 dvi-tk: \
21573 configure-tk
21574 @[ -f ./tk/Makefile ] || exit 0; \
21575 r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(SET_LIB_PATH) \
21578 $(HOST_EXPORTS) \
21579 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21581 done; \
21582 echo "Doing dvi in tk" ; \
21583 (cd tk && \
21584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21586 "RANLIB=$${RANLIB}" \
21587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21588 dvi) \
21589 || exit 1
21591 @endif tk
21593 .PHONY: maybe-TAGS-tk TAGS-tk
21594 maybe-TAGS-tk:
21595 @if tk
21596 maybe-TAGS-tk: TAGS-tk
21598 TAGS-tk: \
21599 configure-tk
21600 @[ -f ./tk/Makefile ] || exit 0; \
21601 r=`${PWD_COMMAND}`; export r; \
21602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21603 $(SET_LIB_PATH) \
21604 $(HOST_EXPORTS) \
21605 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21607 done; \
21608 echo "Doing TAGS in tk" ; \
21609 (cd tk && \
21610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21612 "RANLIB=$${RANLIB}" \
21613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21614 TAGS) \
21615 || exit 1
21617 @endif tk
21619 .PHONY: maybe-install-info-tk install-info-tk
21620 maybe-install-info-tk:
21621 @if tk
21622 maybe-install-info-tk: install-info-tk
21624 install-info-tk: \
21625 configure-tk \
21626 info-tk
21627 @[ -f ./tk/Makefile ] || exit 0; \
21628 r=`${PWD_COMMAND}`; export r; \
21629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21630 $(SET_LIB_PATH) \
21631 $(HOST_EXPORTS) \
21632 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21634 done; \
21635 echo "Doing install-info in tk" ; \
21636 (cd tk && \
21637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21639 "RANLIB=$${RANLIB}" \
21640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21641 install-info) \
21642 || exit 1
21644 @endif tk
21646 .PHONY: maybe-installcheck-tk installcheck-tk
21647 maybe-installcheck-tk:
21648 @if tk
21649 maybe-installcheck-tk: installcheck-tk
21651 installcheck-tk: \
21652 configure-tk
21653 @[ -f ./tk/Makefile ] || exit 0; \
21654 r=`${PWD_COMMAND}`; export r; \
21655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21656 $(SET_LIB_PATH) \
21657 $(HOST_EXPORTS) \
21658 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21660 done; \
21661 echo "Doing installcheck in tk" ; \
21662 (cd tk && \
21663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21665 "RANLIB=$${RANLIB}" \
21666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21667 installcheck) \
21668 || exit 1
21670 @endif tk
21672 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
21673 maybe-mostlyclean-tk:
21674 @if tk
21675 maybe-mostlyclean-tk: mostlyclean-tk
21677 mostlyclean-tk:
21678 @[ -f ./tk/Makefile ] || exit 0; \
21679 r=`${PWD_COMMAND}`; export r; \
21680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21681 $(SET_LIB_PATH) \
21682 $(HOST_EXPORTS) \
21683 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21685 done; \
21686 echo "Doing mostlyclean in tk" ; \
21687 (cd tk && \
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}" \
21692 mostlyclean) \
21693 || exit 1
21695 @endif tk
21697 .PHONY: maybe-clean-tk clean-tk
21698 maybe-clean-tk:
21699 @if tk
21700 maybe-clean-tk: clean-tk
21702 clean-tk:
21703 @[ -f ./tk/Makefile ] || exit 0; \
21704 r=`${PWD_COMMAND}`; export r; \
21705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21706 $(SET_LIB_PATH) \
21707 $(HOST_EXPORTS) \
21708 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21710 done; \
21711 echo "Doing clean in tk" ; \
21712 (cd tk && \
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}" \
21717 clean) \
21718 || exit 1
21720 @endif tk
21722 .PHONY: maybe-distclean-tk distclean-tk
21723 maybe-distclean-tk:
21724 @if tk
21725 maybe-distclean-tk: distclean-tk
21727 distclean-tk:
21728 @[ -f ./tk/Makefile ] || exit 0; \
21729 r=`${PWD_COMMAND}`; export r; \
21730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21731 $(SET_LIB_PATH) \
21732 $(HOST_EXPORTS) \
21733 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21735 done; \
21736 echo "Doing distclean in tk" ; \
21737 (cd tk && \
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}" \
21742 distclean) \
21743 || exit 1
21745 @endif tk
21747 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
21748 maybe-maintainer-clean-tk:
21749 @if tk
21750 maybe-maintainer-clean-tk: maintainer-clean-tk
21752 maintainer-clean-tk:
21753 @[ -f ./tk/Makefile ] || exit 0; \
21754 r=`${PWD_COMMAND}`; export r; \
21755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21756 $(SET_LIB_PATH) \
21757 $(HOST_EXPORTS) \
21758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
21759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21760 done; \
21761 echo "Doing maintainer-clean in tk" ; \
21762 (cd tk && \
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}" \
21767 maintainer-clean) \
21768 || exit 1
21770 @endif tk
21773 .PHONY: configure-libtermcap maybe-configure-libtermcap
21774 maybe-configure-libtermcap:
21775 @if libtermcap
21776 maybe-configure-libtermcap: configure-libtermcap
21777 configure-libtermcap:
21778 @test ! -f libtermcap/Makefile || exit 0; \
21779 [ -d libtermcap ] || mkdir libtermcap; \
21780 r=`${PWD_COMMAND}`; export r; \
21781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21782 $(HOST_EXPORTS) \
21783 echo Configuring in libtermcap; \
21784 cd libtermcap || exit 1; \
21785 case $(srcdir) in \
21786 \.) \
21787 srcdiroption="--srcdir=."; \
21788 libsrcdir=".";; \
21789 /* | [A-Za-z]:[\\/]*) \
21790 srcdiroption="--srcdir=$(srcdir)/libtermcap"; \
21791 libsrcdir="$$s/libtermcap";; \
21792 *) \
21793 srcdiroption="--srcdir=../$(srcdir)/libtermcap"; \
21794 libsrcdir="$$s/libtermcap";; \
21795 esac; \
21796 $(SHELL) $${libsrcdir}/configure \
21797 $(HOST_CONFIGARGS) $${srcdiroption} \
21798 || exit 1
21799 @endif libtermcap
21801 .PHONY: all-libtermcap maybe-all-libtermcap
21802 maybe-all-libtermcap:
21803 @if libtermcap
21804 maybe-all-libtermcap: all-libtermcap
21805 all-libtermcap: configure-libtermcap
21806 @r=`${PWD_COMMAND}`; export r; \
21807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21808 $(SET_LIB_PATH) \
21809 $(HOST_EXPORTS) \
21810 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) all)
21811 @endif libtermcap
21813 .PHONY: check-libtermcap maybe-check-libtermcap
21814 maybe-check-libtermcap:
21815 @if libtermcap
21816 maybe-check-libtermcap: check-libtermcap
21818 check-libtermcap:
21820 @endif libtermcap
21822 .PHONY: install-libtermcap maybe-install-libtermcap
21823 maybe-install-libtermcap:
21824 @if libtermcap
21825 maybe-install-libtermcap: install-libtermcap
21827 install-libtermcap: installdirs
21828 @r=`${PWD_COMMAND}`; export r; \
21829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21830 $(SET_LIB_PATH) \
21831 $(HOST_EXPORTS) \
21832 (cd libtermcap && $(MAKE) $(FLAGS_TO_PASS) install)
21834 @endif libtermcap
21836 # Other targets (info, dvi, etc.)
21838 .PHONY: maybe-info-libtermcap info-libtermcap
21839 maybe-info-libtermcap:
21840 @if libtermcap
21841 maybe-info-libtermcap: info-libtermcap
21843 info-libtermcap: \
21844 configure-libtermcap
21845 @[ -f ./libtermcap/Makefile ] || exit 0; \
21846 r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 $(SET_LIB_PATH) \
21849 $(HOST_EXPORTS) \
21850 for flag in $(EXTRA_HOST_FLAGS) ; do \
21851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21852 done; \
21853 echo "Doing info in libtermcap" ; \
21854 (cd libtermcap && \
21855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21857 "RANLIB=$${RANLIB}" \
21858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21859 info) \
21860 || exit 1
21862 @endif libtermcap
21864 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
21865 maybe-dvi-libtermcap:
21866 @if libtermcap
21867 maybe-dvi-libtermcap: dvi-libtermcap
21869 dvi-libtermcap: \
21870 configure-libtermcap
21871 @[ -f ./libtermcap/Makefile ] || exit 0; \
21872 r=`${PWD_COMMAND}`; export r; \
21873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21874 $(SET_LIB_PATH) \
21875 $(HOST_EXPORTS) \
21876 for flag in $(EXTRA_HOST_FLAGS) ; do \
21877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21878 done; \
21879 echo "Doing dvi in libtermcap" ; \
21880 (cd libtermcap && \
21881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21883 "RANLIB=$${RANLIB}" \
21884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21885 dvi) \
21886 || exit 1
21888 @endif libtermcap
21890 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
21891 maybe-TAGS-libtermcap:
21892 @if libtermcap
21893 maybe-TAGS-libtermcap: TAGS-libtermcap
21895 TAGS-libtermcap: \
21896 configure-libtermcap
21897 @[ -f ./libtermcap/Makefile ] || exit 0; \
21898 r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 $(SET_LIB_PATH) \
21901 $(HOST_EXPORTS) \
21902 for flag in $(EXTRA_HOST_FLAGS) ; do \
21903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21904 done; \
21905 echo "Doing TAGS in libtermcap" ; \
21906 (cd libtermcap && \
21907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21909 "RANLIB=$${RANLIB}" \
21910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21911 TAGS) \
21912 || exit 1
21914 @endif libtermcap
21916 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
21917 maybe-install-info-libtermcap:
21918 @if libtermcap
21919 maybe-install-info-libtermcap: install-info-libtermcap
21921 install-info-libtermcap: \
21922 configure-libtermcap \
21923 info-libtermcap
21924 @[ -f ./libtermcap/Makefile ] || exit 0; \
21925 r=`${PWD_COMMAND}`; export r; \
21926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21927 $(SET_LIB_PATH) \
21928 $(HOST_EXPORTS) \
21929 for flag in $(EXTRA_HOST_FLAGS) ; do \
21930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21931 done; \
21932 echo "Doing install-info in libtermcap" ; \
21933 (cd libtermcap && \
21934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21936 "RANLIB=$${RANLIB}" \
21937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21938 install-info) \
21939 || exit 1
21941 @endif libtermcap
21943 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
21944 maybe-installcheck-libtermcap:
21945 @if libtermcap
21946 maybe-installcheck-libtermcap: installcheck-libtermcap
21948 installcheck-libtermcap: \
21949 configure-libtermcap
21950 @[ -f ./libtermcap/Makefile ] || exit 0; \
21951 r=`${PWD_COMMAND}`; export r; \
21952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21953 $(SET_LIB_PATH) \
21954 $(HOST_EXPORTS) \
21955 for flag in $(EXTRA_HOST_FLAGS) ; do \
21956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21957 done; \
21958 echo "Doing installcheck in libtermcap" ; \
21959 (cd libtermcap && \
21960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21962 "RANLIB=$${RANLIB}" \
21963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21964 installcheck) \
21965 || exit 1
21967 @endif libtermcap
21969 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
21970 maybe-mostlyclean-libtermcap:
21971 @if libtermcap
21972 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
21974 # libtermcap doesn't support mostlyclean.
21975 mostlyclean-libtermcap:
21977 @endif libtermcap
21979 .PHONY: maybe-clean-libtermcap clean-libtermcap
21980 maybe-clean-libtermcap:
21981 @if libtermcap
21982 maybe-clean-libtermcap: clean-libtermcap
21984 # libtermcap doesn't support clean.
21985 clean-libtermcap:
21987 @endif libtermcap
21989 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
21990 maybe-distclean-libtermcap:
21991 @if libtermcap
21992 maybe-distclean-libtermcap: distclean-libtermcap
21994 # libtermcap doesn't support distclean.
21995 distclean-libtermcap:
21997 @endif libtermcap
21999 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
22000 maybe-maintainer-clean-libtermcap:
22001 @if libtermcap
22002 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
22004 # libtermcap doesn't support maintainer-clean.
22005 maintainer-clean-libtermcap:
22007 @endif libtermcap
22010 .PHONY: configure-utils maybe-configure-utils
22011 maybe-configure-utils:
22012 @if utils
22013 maybe-configure-utils: configure-utils
22014 configure-utils:
22015 @test ! -f utils/Makefile || exit 0; \
22016 [ -d utils ] || mkdir utils; \
22017 r=`${PWD_COMMAND}`; export r; \
22018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22019 $(HOST_EXPORTS) \
22020 echo Configuring in utils; \
22021 cd utils || exit 1; \
22022 case $(srcdir) in \
22023 \.) \
22024 srcdiroption="--srcdir=."; \
22025 libsrcdir=".";; \
22026 /* | [A-Za-z]:[\\/]*) \
22027 srcdiroption="--srcdir=$(srcdir)/utils"; \
22028 libsrcdir="$$s/utils";; \
22029 *) \
22030 srcdiroption="--srcdir=../$(srcdir)/utils"; \
22031 libsrcdir="$$s/utils";; \
22032 esac; \
22033 $(SHELL) $${libsrcdir}/configure \
22034 $(HOST_CONFIGARGS) $${srcdiroption} \
22035 || exit 1
22036 @endif utils
22038 .PHONY: all-utils maybe-all-utils
22039 maybe-all-utils:
22040 @if utils
22041 maybe-all-utils: all-utils
22042 all-utils: configure-utils
22043 @r=`${PWD_COMMAND}`; export r; \
22044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22045 $(SET_LIB_PATH) \
22046 $(HOST_EXPORTS) \
22047 (cd utils && $(MAKE) $(FLAGS_TO_PASS) all)
22048 @endif utils
22050 .PHONY: check-utils maybe-check-utils
22051 maybe-check-utils:
22052 @if utils
22053 maybe-check-utils: check-utils
22055 check-utils:
22057 @endif utils
22059 .PHONY: install-utils maybe-install-utils
22060 maybe-install-utils:
22061 @if utils
22062 maybe-install-utils: install-utils
22064 install-utils: installdirs
22065 @r=`${PWD_COMMAND}`; export r; \
22066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22067 $(SET_LIB_PATH) \
22068 $(HOST_EXPORTS) \
22069 (cd utils && $(MAKE) $(FLAGS_TO_PASS) install)
22071 @endif utils
22073 # Other targets (info, dvi, etc.)
22075 .PHONY: maybe-info-utils info-utils
22076 maybe-info-utils:
22077 @if utils
22078 maybe-info-utils: info-utils
22080 info-utils: \
22081 configure-utils
22082 @[ -f ./utils/Makefile ] || exit 0; \
22083 r=`${PWD_COMMAND}`; export r; \
22084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22085 $(SET_LIB_PATH) \
22086 $(HOST_EXPORTS) \
22087 for flag in $(EXTRA_HOST_FLAGS) ; do \
22088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22089 done; \
22090 echo "Doing info in utils" ; \
22091 (cd utils && \
22092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22094 "RANLIB=$${RANLIB}" \
22095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22096 info) \
22097 || exit 1
22099 @endif utils
22101 .PHONY: maybe-dvi-utils dvi-utils
22102 maybe-dvi-utils:
22103 @if utils
22104 maybe-dvi-utils: dvi-utils
22106 dvi-utils: \
22107 configure-utils
22108 @[ -f ./utils/Makefile ] || exit 0; \
22109 r=`${PWD_COMMAND}`; export r; \
22110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22111 $(SET_LIB_PATH) \
22112 $(HOST_EXPORTS) \
22113 for flag in $(EXTRA_HOST_FLAGS) ; do \
22114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22115 done; \
22116 echo "Doing dvi in utils" ; \
22117 (cd utils && \
22118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22120 "RANLIB=$${RANLIB}" \
22121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22122 dvi) \
22123 || exit 1
22125 @endif utils
22127 .PHONY: maybe-TAGS-utils TAGS-utils
22128 maybe-TAGS-utils:
22129 @if utils
22130 maybe-TAGS-utils: TAGS-utils
22132 TAGS-utils: \
22133 configure-utils
22134 @[ -f ./utils/Makefile ] || exit 0; \
22135 r=`${PWD_COMMAND}`; export r; \
22136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22137 $(SET_LIB_PATH) \
22138 $(HOST_EXPORTS) \
22139 for flag in $(EXTRA_HOST_FLAGS) ; do \
22140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22141 done; \
22142 echo "Doing TAGS in utils" ; \
22143 (cd utils && \
22144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22146 "RANLIB=$${RANLIB}" \
22147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22148 TAGS) \
22149 || exit 1
22151 @endif utils
22153 .PHONY: maybe-install-info-utils install-info-utils
22154 maybe-install-info-utils:
22155 @if utils
22156 maybe-install-info-utils: install-info-utils
22158 install-info-utils: \
22159 configure-utils \
22160 info-utils
22161 @[ -f ./utils/Makefile ] || exit 0; \
22162 r=`${PWD_COMMAND}`; export r; \
22163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22164 $(SET_LIB_PATH) \
22165 $(HOST_EXPORTS) \
22166 for flag in $(EXTRA_HOST_FLAGS) ; do \
22167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22168 done; \
22169 echo "Doing install-info in utils" ; \
22170 (cd utils && \
22171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22173 "RANLIB=$${RANLIB}" \
22174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22175 install-info) \
22176 || exit 1
22178 @endif utils
22180 .PHONY: maybe-installcheck-utils installcheck-utils
22181 maybe-installcheck-utils:
22182 @if utils
22183 maybe-installcheck-utils: installcheck-utils
22185 installcheck-utils: \
22186 configure-utils
22187 @[ -f ./utils/Makefile ] || exit 0; \
22188 r=`${PWD_COMMAND}`; export r; \
22189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22190 $(SET_LIB_PATH) \
22191 $(HOST_EXPORTS) \
22192 for flag in $(EXTRA_HOST_FLAGS) ; do \
22193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22194 done; \
22195 echo "Doing installcheck in utils" ; \
22196 (cd utils && \
22197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22199 "RANLIB=$${RANLIB}" \
22200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22201 installcheck) \
22202 || exit 1
22204 @endif utils
22206 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
22207 maybe-mostlyclean-utils:
22208 @if utils
22209 maybe-mostlyclean-utils: mostlyclean-utils
22211 mostlyclean-utils:
22212 @[ -f ./utils/Makefile ] || exit 0; \
22213 r=`${PWD_COMMAND}`; export r; \
22214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22215 $(SET_LIB_PATH) \
22216 $(HOST_EXPORTS) \
22217 for flag in $(EXTRA_HOST_FLAGS) ; do \
22218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22219 done; \
22220 echo "Doing mostlyclean in utils" ; \
22221 (cd 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}" \
22226 mostlyclean) \
22227 || exit 1
22229 @endif utils
22231 .PHONY: maybe-clean-utils clean-utils
22232 maybe-clean-utils:
22233 @if utils
22234 maybe-clean-utils: clean-utils
22236 clean-utils:
22237 @[ -f ./utils/Makefile ] || exit 0; \
22238 r=`${PWD_COMMAND}`; export r; \
22239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22240 $(SET_LIB_PATH) \
22241 $(HOST_EXPORTS) \
22242 for flag in $(EXTRA_HOST_FLAGS) ; do \
22243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22244 done; \
22245 echo "Doing clean in utils" ; \
22246 (cd 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}" \
22251 clean) \
22252 || exit 1
22254 @endif utils
22256 .PHONY: maybe-distclean-utils distclean-utils
22257 maybe-distclean-utils:
22258 @if utils
22259 maybe-distclean-utils: distclean-utils
22261 distclean-utils:
22262 @[ -f ./utils/Makefile ] || exit 0; \
22263 r=`${PWD_COMMAND}`; export r; \
22264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22265 $(SET_LIB_PATH) \
22266 $(HOST_EXPORTS) \
22267 for flag in $(EXTRA_HOST_FLAGS) ; do \
22268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22269 done; \
22270 echo "Doing distclean in utils" ; \
22271 (cd 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}" \
22276 distclean) \
22277 || exit 1
22279 @endif utils
22281 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
22282 maybe-maintainer-clean-utils:
22283 @if utils
22284 maybe-maintainer-clean-utils: maintainer-clean-utils
22286 maintainer-clean-utils:
22287 @[ -f ./utils/Makefile ] || exit 0; \
22288 r=`${PWD_COMMAND}`; export r; \
22289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22290 $(SET_LIB_PATH) \
22291 $(HOST_EXPORTS) \
22292 for flag in $(EXTRA_HOST_FLAGS) ; do \
22293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22294 done; \
22295 echo "Doing maintainer-clean in utils" ; \
22296 (cd 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}" \
22301 maintainer-clean) \
22302 || exit 1
22304 @endif utils
22308 # ---------------------------------------
22309 # Modules which run on the target machine
22310 # ---------------------------------------
22312 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
22313 maybe-configure-target-libstdc++-v3:
22314 @if target-libstdc++-v3
22315 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
22317 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22318 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
22319 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22320 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
22321 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22323 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
22324 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
22325 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
22326 r=`${PWD_COMMAND}`; export r; \
22327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22328 $(SET_LIB_PATH) \
22329 $(RAW_CXX_TARGET_EXPORTS) \
22330 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
22331 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
22332 case $(srcdir) in \
22333 /* | [A-Za-z]:[\\/]*) \
22334 topdir=$(srcdir) ;; \
22335 *) \
22336 case "$(TARGET_SUBDIR)" in \
22337 .) topdir="../$(srcdir)" ;; \
22338 *) topdir="../../$(srcdir)" ;; \
22339 esac ;; \
22340 esac; \
22341 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
22342 libsrcdir="$$s/libstdc++-v3"; \
22343 rm -f no-such-file || : ; \
22344 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22345 $(TARGET_CONFIGARGS) $${srcdiroption} \
22346 --with-target-subdir="$(TARGET_SUBDIR)" \
22347 || exit 1
22348 @endif target-libstdc++-v3
22350 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
22351 maybe-all-target-libstdc++-v3:
22352 @if target-libstdc++-v3
22353 TARGET-target-libstdc++-v3=all
22354 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
22355 all-target-libstdc++-v3: configure-target-libstdc++-v3
22356 @r=`${PWD_COMMAND}`; export r; \
22357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22358 $(SET_LIB_PATH) \
22359 $(RAW_CXX_TARGET_EXPORTS) \
22360 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22361 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
22362 @endif target-libstdc++-v3
22364 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
22365 maybe-check-target-libstdc++-v3:
22366 @if target-libstdc++-v3
22367 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
22369 check-target-libstdc++-v3:
22370 @r=`${PWD_COMMAND}`; export r; \
22371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22372 $(SET_LIB_PATH) \
22373 $(RAW_CXX_TARGET_EXPORTS) \
22374 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22375 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
22377 @endif target-libstdc++-v3
22379 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
22380 maybe-install-target-libstdc++-v3:
22381 @if target-libstdc++-v3
22382 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
22384 install-target-libstdc++-v3: installdirs
22385 @r=`${PWD_COMMAND}`; export r; \
22386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22387 $(SET_LIB_PATH) \
22388 $(RAW_CXX_TARGET_EXPORTS) \
22389 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22390 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22392 @endif target-libstdc++-v3
22394 # Other targets (info, dvi, etc.)
22396 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
22397 maybe-info-target-libstdc++-v3:
22398 @if target-libstdc++-v3
22399 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
22401 info-target-libstdc++-v3: \
22402 configure-target-libstdc++-v3
22403 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22404 r=`${PWD_COMMAND}`; export r; \
22405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22406 $(SET_LIB_PATH) \
22407 $(RAW_CXX_TARGET_EXPORTS) \
22408 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22409 for flag in $(EXTRA_TARGET_FLAGS); do \
22410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22411 done; \
22412 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22415 "RANLIB=$${RANLIB}" \
22416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22417 info) \
22418 || exit 1
22420 @endif target-libstdc++-v3
22422 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
22423 maybe-dvi-target-libstdc++-v3:
22424 @if target-libstdc++-v3
22425 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
22427 dvi-target-libstdc++-v3: \
22428 configure-target-libstdc++-v3
22429 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22430 r=`${PWD_COMMAND}`; export r; \
22431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22432 $(SET_LIB_PATH) \
22433 $(RAW_CXX_TARGET_EXPORTS) \
22434 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22435 for flag in $(EXTRA_TARGET_FLAGS); do \
22436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22437 done; \
22438 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22441 "RANLIB=$${RANLIB}" \
22442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22443 dvi) \
22444 || exit 1
22446 @endif target-libstdc++-v3
22448 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
22449 maybe-TAGS-target-libstdc++-v3:
22450 @if target-libstdc++-v3
22451 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
22453 TAGS-target-libstdc++-v3: \
22454 configure-target-libstdc++-v3
22455 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22456 r=`${PWD_COMMAND}`; export r; \
22457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22458 $(SET_LIB_PATH) \
22459 $(RAW_CXX_TARGET_EXPORTS) \
22460 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22461 for flag in $(EXTRA_TARGET_FLAGS); do \
22462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22463 done; \
22464 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22467 "RANLIB=$${RANLIB}" \
22468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22469 TAGS) \
22470 || exit 1
22472 @endif target-libstdc++-v3
22474 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
22475 maybe-install-info-target-libstdc++-v3:
22476 @if target-libstdc++-v3
22477 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
22479 install-info-target-libstdc++-v3: \
22480 configure-target-libstdc++-v3 \
22481 info-target-libstdc++-v3
22482 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22483 r=`${PWD_COMMAND}`; export r; \
22484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22485 $(SET_LIB_PATH) \
22486 $(RAW_CXX_TARGET_EXPORTS) \
22487 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22488 for flag in $(EXTRA_TARGET_FLAGS); do \
22489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22490 done; \
22491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22494 "RANLIB=$${RANLIB}" \
22495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22496 install-info) \
22497 || exit 1
22499 @endif target-libstdc++-v3
22501 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
22502 maybe-installcheck-target-libstdc++-v3:
22503 @if target-libstdc++-v3
22504 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
22506 installcheck-target-libstdc++-v3: \
22507 configure-target-libstdc++-v3
22508 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22509 r=`${PWD_COMMAND}`; export r; \
22510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22511 $(SET_LIB_PATH) \
22512 $(RAW_CXX_TARGET_EXPORTS) \
22513 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22514 for flag in $(EXTRA_TARGET_FLAGS); do \
22515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22516 done; \
22517 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22520 "RANLIB=$${RANLIB}" \
22521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22522 installcheck) \
22523 || exit 1
22525 @endif target-libstdc++-v3
22527 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
22528 maybe-mostlyclean-target-libstdc++-v3:
22529 @if target-libstdc++-v3
22530 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
22532 mostlyclean-target-libstdc++-v3:
22533 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22534 r=`${PWD_COMMAND}`; export r; \
22535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22536 $(SET_LIB_PATH) \
22537 $(RAW_CXX_TARGET_EXPORTS) \
22538 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22539 for flag in $(EXTRA_TARGET_FLAGS); do \
22540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22541 done; \
22542 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22545 "RANLIB=$${RANLIB}" \
22546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22547 mostlyclean) \
22548 || exit 1
22550 @endif target-libstdc++-v3
22552 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
22553 maybe-clean-target-libstdc++-v3:
22554 @if target-libstdc++-v3
22555 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
22557 clean-target-libstdc++-v3:
22558 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22559 r=`${PWD_COMMAND}`; export r; \
22560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22561 $(SET_LIB_PATH) \
22562 $(RAW_CXX_TARGET_EXPORTS) \
22563 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22564 for flag in $(EXTRA_TARGET_FLAGS); do \
22565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22566 done; \
22567 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22570 "RANLIB=$${RANLIB}" \
22571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22572 clean) \
22573 || exit 1
22575 @endif target-libstdc++-v3
22577 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
22578 maybe-distclean-target-libstdc++-v3:
22579 @if target-libstdc++-v3
22580 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
22582 distclean-target-libstdc++-v3:
22583 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22584 r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 $(SET_LIB_PATH) \
22587 $(RAW_CXX_TARGET_EXPORTS) \
22588 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22589 for flag in $(EXTRA_TARGET_FLAGS); do \
22590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22591 done; \
22592 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22595 "RANLIB=$${RANLIB}" \
22596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22597 distclean) \
22598 || exit 1
22600 @endif target-libstdc++-v3
22602 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
22603 maybe-maintainer-clean-target-libstdc++-v3:
22604 @if target-libstdc++-v3
22605 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
22607 maintainer-clean-target-libstdc++-v3:
22608 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
22609 r=`${PWD_COMMAND}`; export r; \
22610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(SET_LIB_PATH) \
22612 $(RAW_CXX_TARGET_EXPORTS) \
22613 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
22614 for flag in $(EXTRA_TARGET_FLAGS); do \
22615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22616 done; \
22617 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22622 maintainer-clean) \
22623 || exit 1
22625 @endif target-libstdc++-v3
22628 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
22629 maybe-configure-target-libmudflap:
22630 @if target-libmudflap
22631 maybe-configure-target-libmudflap: configure-target-libmudflap
22633 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22634 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
22635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22636 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
22637 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
22639 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
22640 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
22641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
22642 r=`${PWD_COMMAND}`; export r; \
22643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22644 $(SET_LIB_PATH) \
22645 $(NORMAL_TARGET_EXPORTS) \
22646 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
22647 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
22648 case $(srcdir) in \
22649 /* | [A-Za-z]:[\\/]*) \
22650 topdir=$(srcdir) ;; \
22651 *) \
22652 case "$(TARGET_SUBDIR)" in \
22653 .) topdir="../$(srcdir)" ;; \
22654 *) topdir="../../$(srcdir)" ;; \
22655 esac ;; \
22656 esac; \
22657 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
22658 libsrcdir="$$s/libmudflap"; \
22659 rm -f no-such-file || : ; \
22660 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22661 $(TARGET_CONFIGARGS) $${srcdiroption} \
22662 --with-target-subdir="$(TARGET_SUBDIR)" \
22663 || exit 1
22664 @endif target-libmudflap
22666 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
22667 maybe-all-target-libmudflap:
22668 @if target-libmudflap
22669 TARGET-target-libmudflap=all
22670 maybe-all-target-libmudflap: all-target-libmudflap
22671 all-target-libmudflap: configure-target-libmudflap
22672 @r=`${PWD_COMMAND}`; export r; \
22673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22674 $(SET_LIB_PATH) \
22675 $(NORMAL_TARGET_EXPORTS) \
22676 (cd $(TARGET_SUBDIR)/libmudflap && \
22677 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
22678 @endif target-libmudflap
22680 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
22681 maybe-check-target-libmudflap:
22682 @if target-libmudflap
22683 maybe-check-target-libmudflap: check-target-libmudflap
22685 check-target-libmudflap:
22686 @r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(SET_LIB_PATH) \
22689 $(NORMAL_TARGET_EXPORTS) \
22690 (cd $(TARGET_SUBDIR)/libmudflap && \
22691 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
22693 @endif target-libmudflap
22695 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
22696 maybe-install-target-libmudflap:
22697 @if target-libmudflap
22698 maybe-install-target-libmudflap: install-target-libmudflap
22700 install-target-libmudflap: installdirs
22701 @r=`${PWD_COMMAND}`; export r; \
22702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22703 $(SET_LIB_PATH) \
22704 $(NORMAL_TARGET_EXPORTS) \
22705 (cd $(TARGET_SUBDIR)/libmudflap && \
22706 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
22708 @endif target-libmudflap
22710 # Other targets (info, dvi, etc.)
22712 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
22713 maybe-info-target-libmudflap:
22714 @if target-libmudflap
22715 maybe-info-target-libmudflap: info-target-libmudflap
22717 info-target-libmudflap: \
22718 configure-target-libmudflap
22719 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22720 r=`${PWD_COMMAND}`; export r; \
22721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22722 $(SET_LIB_PATH) \
22723 $(NORMAL_TARGET_EXPORTS) \
22724 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
22725 for flag in $(EXTRA_TARGET_FLAGS); do \
22726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22727 done; \
22728 (cd $(TARGET_SUBDIR)/libmudflap && \
22729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22731 "RANLIB=$${RANLIB}" \
22732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22733 info) \
22734 || exit 1
22736 @endif target-libmudflap
22738 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
22739 maybe-dvi-target-libmudflap:
22740 @if target-libmudflap
22741 maybe-dvi-target-libmudflap: dvi-target-libmudflap
22743 dvi-target-libmudflap: \
22744 configure-target-libmudflap
22745 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22746 r=`${PWD_COMMAND}`; export r; \
22747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22748 $(SET_LIB_PATH) \
22749 $(NORMAL_TARGET_EXPORTS) \
22750 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
22751 for flag in $(EXTRA_TARGET_FLAGS); do \
22752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22753 done; \
22754 (cd $(TARGET_SUBDIR)/libmudflap && \
22755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22757 "RANLIB=$${RANLIB}" \
22758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22759 dvi) \
22760 || exit 1
22762 @endif target-libmudflap
22764 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
22765 maybe-TAGS-target-libmudflap:
22766 @if target-libmudflap
22767 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
22769 TAGS-target-libmudflap: \
22770 configure-target-libmudflap
22771 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22772 r=`${PWD_COMMAND}`; export r; \
22773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22774 $(SET_LIB_PATH) \
22775 $(NORMAL_TARGET_EXPORTS) \
22776 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
22777 for flag in $(EXTRA_TARGET_FLAGS); do \
22778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22779 done; \
22780 (cd $(TARGET_SUBDIR)/libmudflap && \
22781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22783 "RANLIB=$${RANLIB}" \
22784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22785 TAGS) \
22786 || exit 1
22788 @endif target-libmudflap
22790 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
22791 maybe-install-info-target-libmudflap:
22792 @if target-libmudflap
22793 maybe-install-info-target-libmudflap: install-info-target-libmudflap
22795 install-info-target-libmudflap: \
22796 configure-target-libmudflap \
22797 info-target-libmudflap
22798 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22799 r=`${PWD_COMMAND}`; export r; \
22800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22801 $(SET_LIB_PATH) \
22802 $(NORMAL_TARGET_EXPORTS) \
22803 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
22804 for flag in $(EXTRA_TARGET_FLAGS); do \
22805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22806 done; \
22807 (cd $(TARGET_SUBDIR)/libmudflap && \
22808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22810 "RANLIB=$${RANLIB}" \
22811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22812 install-info) \
22813 || exit 1
22815 @endif target-libmudflap
22817 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
22818 maybe-installcheck-target-libmudflap:
22819 @if target-libmudflap
22820 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
22822 installcheck-target-libmudflap: \
22823 configure-target-libmudflap
22824 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22825 r=`${PWD_COMMAND}`; export r; \
22826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22827 $(SET_LIB_PATH) \
22828 $(NORMAL_TARGET_EXPORTS) \
22829 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
22830 for flag in $(EXTRA_TARGET_FLAGS); do \
22831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22832 done; \
22833 (cd $(TARGET_SUBDIR)/libmudflap && \
22834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22836 "RANLIB=$${RANLIB}" \
22837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22838 installcheck) \
22839 || exit 1
22841 @endif target-libmudflap
22843 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
22844 maybe-mostlyclean-target-libmudflap:
22845 @if target-libmudflap
22846 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
22848 mostlyclean-target-libmudflap:
22849 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22850 r=`${PWD_COMMAND}`; export r; \
22851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22852 $(SET_LIB_PATH) \
22853 $(NORMAL_TARGET_EXPORTS) \
22854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
22855 for flag in $(EXTRA_TARGET_FLAGS); do \
22856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22857 done; \
22858 (cd $(TARGET_SUBDIR)/libmudflap && \
22859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22861 "RANLIB=$${RANLIB}" \
22862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22863 mostlyclean) \
22864 || exit 1
22866 @endif target-libmudflap
22868 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
22869 maybe-clean-target-libmudflap:
22870 @if target-libmudflap
22871 maybe-clean-target-libmudflap: clean-target-libmudflap
22873 clean-target-libmudflap:
22874 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22875 r=`${PWD_COMMAND}`; export r; \
22876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22877 $(SET_LIB_PATH) \
22878 $(NORMAL_TARGET_EXPORTS) \
22879 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
22880 for flag in $(EXTRA_TARGET_FLAGS); do \
22881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22882 done; \
22883 (cd $(TARGET_SUBDIR)/libmudflap && \
22884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22886 "RANLIB=$${RANLIB}" \
22887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22888 clean) \
22889 || exit 1
22891 @endif target-libmudflap
22893 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
22894 maybe-distclean-target-libmudflap:
22895 @if target-libmudflap
22896 maybe-distclean-target-libmudflap: distclean-target-libmudflap
22898 distclean-target-libmudflap:
22899 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22900 r=`${PWD_COMMAND}`; export r; \
22901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22902 $(SET_LIB_PATH) \
22903 $(NORMAL_TARGET_EXPORTS) \
22904 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
22905 for flag in $(EXTRA_TARGET_FLAGS); do \
22906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22907 done; \
22908 (cd $(TARGET_SUBDIR)/libmudflap && \
22909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22911 "RANLIB=$${RANLIB}" \
22912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22913 distclean) \
22914 || exit 1
22916 @endif target-libmudflap
22918 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
22919 maybe-maintainer-clean-target-libmudflap:
22920 @if target-libmudflap
22921 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
22923 maintainer-clean-target-libmudflap:
22924 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
22925 r=`${PWD_COMMAND}`; export r; \
22926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22927 $(SET_LIB_PATH) \
22928 $(NORMAL_TARGET_EXPORTS) \
22929 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
22930 for flag in $(EXTRA_TARGET_FLAGS); do \
22931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22932 done; \
22933 (cd $(TARGET_SUBDIR)/libmudflap && \
22934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22936 "RANLIB=$${RANLIB}" \
22937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22938 maintainer-clean) \
22939 || exit 1
22941 @endif target-libmudflap
22944 .PHONY: configure-target-newlib maybe-configure-target-newlib
22945 maybe-configure-target-newlib:
22946 @if target-newlib
22947 maybe-configure-target-newlib: configure-target-newlib
22949 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
22950 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
22951 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22952 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
22953 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
22955 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
22956 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
22957 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
22958 r=`${PWD_COMMAND}`; export r; \
22959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22960 $(SET_LIB_PATH) \
22961 $(NORMAL_TARGET_EXPORTS) \
22962 echo Configuring in $(TARGET_SUBDIR)/newlib; \
22963 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
22964 case $(srcdir) in \
22965 /* | [A-Za-z]:[\\/]*) \
22966 topdir=$(srcdir) ;; \
22967 *) \
22968 case "$(TARGET_SUBDIR)" in \
22969 .) topdir="../$(srcdir)" ;; \
22970 *) topdir="../../$(srcdir)" ;; \
22971 esac ;; \
22972 esac; \
22973 srcdiroption="--srcdir=$${topdir}/newlib"; \
22974 libsrcdir="$$s/newlib"; \
22975 rm -f no-such-file || : ; \
22976 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
22977 $(TARGET_CONFIGARGS) $${srcdiroption} \
22978 --with-target-subdir="$(TARGET_SUBDIR)" \
22979 || exit 1
22980 @endif target-newlib
22982 .PHONY: all-target-newlib maybe-all-target-newlib
22983 maybe-all-target-newlib:
22984 @if target-newlib
22985 TARGET-target-newlib=all
22986 maybe-all-target-newlib: all-target-newlib
22987 all-target-newlib: configure-target-newlib
22988 @r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 $(SET_LIB_PATH) \
22991 $(NORMAL_TARGET_EXPORTS) \
22992 (cd $(TARGET_SUBDIR)/newlib && \
22993 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
22994 @endif target-newlib
22996 .PHONY: check-target-newlib maybe-check-target-newlib
22997 maybe-check-target-newlib:
22998 @if target-newlib
22999 maybe-check-target-newlib: check-target-newlib
23001 check-target-newlib:
23002 @r=`${PWD_COMMAND}`; export r; \
23003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23004 $(SET_LIB_PATH) \
23005 $(NORMAL_TARGET_EXPORTS) \
23006 (cd $(TARGET_SUBDIR)/newlib && \
23007 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23009 @endif target-newlib
23011 .PHONY: install-target-newlib maybe-install-target-newlib
23012 maybe-install-target-newlib:
23013 @if target-newlib
23014 maybe-install-target-newlib: install-target-newlib
23016 install-target-newlib: installdirs
23017 @r=`${PWD_COMMAND}`; export r; \
23018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23019 $(SET_LIB_PATH) \
23020 $(NORMAL_TARGET_EXPORTS) \
23021 (cd $(TARGET_SUBDIR)/newlib && \
23022 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23024 @endif target-newlib
23026 # Other targets (info, dvi, etc.)
23028 .PHONY: maybe-info-target-newlib info-target-newlib
23029 maybe-info-target-newlib:
23030 @if target-newlib
23031 maybe-info-target-newlib: info-target-newlib
23033 info-target-newlib: \
23034 configure-target-newlib
23035 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23036 r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23038 $(SET_LIB_PATH) \
23039 $(NORMAL_TARGET_EXPORTS) \
23040 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
23041 for flag in $(EXTRA_TARGET_FLAGS); do \
23042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23043 done; \
23044 (cd $(TARGET_SUBDIR)/newlib && \
23045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23047 "RANLIB=$${RANLIB}" \
23048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23049 info) \
23050 || exit 1
23052 @endif target-newlib
23054 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
23055 maybe-dvi-target-newlib:
23056 @if target-newlib
23057 maybe-dvi-target-newlib: dvi-target-newlib
23059 dvi-target-newlib: \
23060 configure-target-newlib
23061 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23062 r=`${PWD_COMMAND}`; export r; \
23063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23064 $(SET_LIB_PATH) \
23065 $(NORMAL_TARGET_EXPORTS) \
23066 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
23067 for flag in $(EXTRA_TARGET_FLAGS); do \
23068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23069 done; \
23070 (cd $(TARGET_SUBDIR)/newlib && \
23071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23073 "RANLIB=$${RANLIB}" \
23074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23075 dvi) \
23076 || exit 1
23078 @endif target-newlib
23080 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
23081 maybe-TAGS-target-newlib:
23082 @if target-newlib
23083 maybe-TAGS-target-newlib: TAGS-target-newlib
23085 TAGS-target-newlib: \
23086 configure-target-newlib
23087 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23088 r=`${PWD_COMMAND}`; export r; \
23089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23090 $(SET_LIB_PATH) \
23091 $(NORMAL_TARGET_EXPORTS) \
23092 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
23093 for flag in $(EXTRA_TARGET_FLAGS); do \
23094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23095 done; \
23096 (cd $(TARGET_SUBDIR)/newlib && \
23097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23099 "RANLIB=$${RANLIB}" \
23100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23101 TAGS) \
23102 || exit 1
23104 @endif target-newlib
23106 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
23107 maybe-install-info-target-newlib:
23108 @if target-newlib
23109 maybe-install-info-target-newlib: install-info-target-newlib
23111 install-info-target-newlib: \
23112 configure-target-newlib \
23113 info-target-newlib
23114 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23115 r=`${PWD_COMMAND}`; export r; \
23116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23117 $(SET_LIB_PATH) \
23118 $(NORMAL_TARGET_EXPORTS) \
23119 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
23120 for flag in $(EXTRA_TARGET_FLAGS); do \
23121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23122 done; \
23123 (cd $(TARGET_SUBDIR)/newlib && \
23124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23126 "RANLIB=$${RANLIB}" \
23127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23128 install-info) \
23129 || exit 1
23131 @endif target-newlib
23133 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
23134 maybe-installcheck-target-newlib:
23135 @if target-newlib
23136 maybe-installcheck-target-newlib: installcheck-target-newlib
23138 installcheck-target-newlib: \
23139 configure-target-newlib
23140 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23141 r=`${PWD_COMMAND}`; export r; \
23142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23143 $(SET_LIB_PATH) \
23144 $(NORMAL_TARGET_EXPORTS) \
23145 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
23146 for flag in $(EXTRA_TARGET_FLAGS); do \
23147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23148 done; \
23149 (cd $(TARGET_SUBDIR)/newlib && \
23150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23152 "RANLIB=$${RANLIB}" \
23153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23154 installcheck) \
23155 || exit 1
23157 @endif target-newlib
23159 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
23160 maybe-mostlyclean-target-newlib:
23161 @if target-newlib
23162 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
23164 mostlyclean-target-newlib:
23165 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23166 r=`${PWD_COMMAND}`; export r; \
23167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23168 $(SET_LIB_PATH) \
23169 $(NORMAL_TARGET_EXPORTS) \
23170 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
23171 for flag in $(EXTRA_TARGET_FLAGS); do \
23172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23173 done; \
23174 (cd $(TARGET_SUBDIR)/newlib && \
23175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23177 "RANLIB=$${RANLIB}" \
23178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23179 mostlyclean) \
23180 || exit 1
23182 @endif target-newlib
23184 .PHONY: maybe-clean-target-newlib clean-target-newlib
23185 maybe-clean-target-newlib:
23186 @if target-newlib
23187 maybe-clean-target-newlib: clean-target-newlib
23189 clean-target-newlib:
23190 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23191 r=`${PWD_COMMAND}`; export r; \
23192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23193 $(SET_LIB_PATH) \
23194 $(NORMAL_TARGET_EXPORTS) \
23195 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
23196 for flag in $(EXTRA_TARGET_FLAGS); do \
23197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23198 done; \
23199 (cd $(TARGET_SUBDIR)/newlib && \
23200 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23201 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23202 "RANLIB=$${RANLIB}" \
23203 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23204 clean) \
23205 || exit 1
23207 @endif target-newlib
23209 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
23210 maybe-distclean-target-newlib:
23211 @if target-newlib
23212 maybe-distclean-target-newlib: distclean-target-newlib
23214 distclean-target-newlib:
23215 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23216 r=`${PWD_COMMAND}`; export r; \
23217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23218 $(SET_LIB_PATH) \
23219 $(NORMAL_TARGET_EXPORTS) \
23220 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
23221 for flag in $(EXTRA_TARGET_FLAGS); do \
23222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23223 done; \
23224 (cd $(TARGET_SUBDIR)/newlib && \
23225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23227 "RANLIB=$${RANLIB}" \
23228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23229 distclean) \
23230 || exit 1
23232 @endif target-newlib
23234 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
23235 maybe-maintainer-clean-target-newlib:
23236 @if target-newlib
23237 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
23239 maintainer-clean-target-newlib:
23240 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
23241 r=`${PWD_COMMAND}`; export r; \
23242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23243 $(SET_LIB_PATH) \
23244 $(NORMAL_TARGET_EXPORTS) \
23245 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
23246 for flag in $(EXTRA_TARGET_FLAGS); do \
23247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23248 done; \
23249 (cd $(TARGET_SUBDIR)/newlib && \
23250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23252 "RANLIB=$${RANLIB}" \
23253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23254 maintainer-clean) \
23255 || exit 1
23257 @endif target-newlib
23260 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
23261 maybe-configure-target-libgfortran:
23262 @if target-libgfortran
23263 maybe-configure-target-libgfortran: configure-target-libgfortran
23265 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23266 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
23267 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23268 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
23269 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
23271 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
23272 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
23273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
23274 r=`${PWD_COMMAND}`; export r; \
23275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23276 $(SET_LIB_PATH) \
23277 $(NORMAL_TARGET_EXPORTS) \
23278 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
23279 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
23280 case $(srcdir) in \
23281 /* | [A-Za-z]:[\\/]*) \
23282 topdir=$(srcdir) ;; \
23283 *) \
23284 case "$(TARGET_SUBDIR)" in \
23285 .) topdir="../$(srcdir)" ;; \
23286 *) topdir="../../$(srcdir)" ;; \
23287 esac ;; \
23288 esac; \
23289 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
23290 libsrcdir="$$s/libgfortran"; \
23291 rm -f no-such-file || : ; \
23292 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23293 $(TARGET_CONFIGARGS) $${srcdiroption} \
23294 --with-target-subdir="$(TARGET_SUBDIR)" \
23295 || exit 1
23296 @endif target-libgfortran
23298 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
23299 maybe-all-target-libgfortran:
23300 @if target-libgfortran
23301 TARGET-target-libgfortran=all
23302 maybe-all-target-libgfortran: all-target-libgfortran
23303 all-target-libgfortran: configure-target-libgfortran
23304 @r=`${PWD_COMMAND}`; export r; \
23305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23306 $(SET_LIB_PATH) \
23307 $(NORMAL_TARGET_EXPORTS) \
23308 (cd $(TARGET_SUBDIR)/libgfortran && \
23309 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
23310 @endif target-libgfortran
23312 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
23313 maybe-check-target-libgfortran:
23314 @if target-libgfortran
23315 maybe-check-target-libgfortran: check-target-libgfortran
23317 check-target-libgfortran:
23318 @r=`${PWD_COMMAND}`; export r; \
23319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23320 $(SET_LIB_PATH) \
23321 $(NORMAL_TARGET_EXPORTS) \
23322 (cd $(TARGET_SUBDIR)/libgfortran && \
23323 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23325 @endif target-libgfortran
23327 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
23328 maybe-install-target-libgfortran:
23329 @if target-libgfortran
23330 maybe-install-target-libgfortran: install-target-libgfortran
23332 install-target-libgfortran: installdirs
23333 @r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(SET_LIB_PATH) \
23336 $(NORMAL_TARGET_EXPORTS) \
23337 (cd $(TARGET_SUBDIR)/libgfortran && \
23338 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23340 @endif target-libgfortran
23342 # Other targets (info, dvi, etc.)
23344 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
23345 maybe-info-target-libgfortran:
23346 @if target-libgfortran
23347 maybe-info-target-libgfortran: info-target-libgfortran
23349 info-target-libgfortran: \
23350 configure-target-libgfortran
23351 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23352 r=`${PWD_COMMAND}`; export r; \
23353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23354 $(SET_LIB_PATH) \
23355 $(NORMAL_TARGET_EXPORTS) \
23356 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
23357 for flag in $(EXTRA_TARGET_FLAGS); do \
23358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23359 done; \
23360 (cd $(TARGET_SUBDIR)/libgfortran && \
23361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23363 "RANLIB=$${RANLIB}" \
23364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23365 info) \
23366 || exit 1
23368 @endif target-libgfortran
23370 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
23371 maybe-dvi-target-libgfortran:
23372 @if target-libgfortran
23373 maybe-dvi-target-libgfortran: dvi-target-libgfortran
23375 dvi-target-libgfortran: \
23376 configure-target-libgfortran
23377 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23378 r=`${PWD_COMMAND}`; export r; \
23379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23380 $(SET_LIB_PATH) \
23381 $(NORMAL_TARGET_EXPORTS) \
23382 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
23383 for flag in $(EXTRA_TARGET_FLAGS); do \
23384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23385 done; \
23386 (cd $(TARGET_SUBDIR)/libgfortran && \
23387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23389 "RANLIB=$${RANLIB}" \
23390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23391 dvi) \
23392 || exit 1
23394 @endif target-libgfortran
23396 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
23397 maybe-TAGS-target-libgfortran:
23398 @if target-libgfortran
23399 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
23401 TAGS-target-libgfortran: \
23402 configure-target-libgfortran
23403 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23404 r=`${PWD_COMMAND}`; export r; \
23405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23406 $(SET_LIB_PATH) \
23407 $(NORMAL_TARGET_EXPORTS) \
23408 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
23409 for flag in $(EXTRA_TARGET_FLAGS); do \
23410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23411 done; \
23412 (cd $(TARGET_SUBDIR)/libgfortran && \
23413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23415 "RANLIB=$${RANLIB}" \
23416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23417 TAGS) \
23418 || exit 1
23420 @endif target-libgfortran
23422 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
23423 maybe-install-info-target-libgfortran:
23424 @if target-libgfortran
23425 maybe-install-info-target-libgfortran: install-info-target-libgfortran
23427 install-info-target-libgfortran: \
23428 configure-target-libgfortran \
23429 info-target-libgfortran
23430 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23431 r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23433 $(SET_LIB_PATH) \
23434 $(NORMAL_TARGET_EXPORTS) \
23435 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
23436 for flag in $(EXTRA_TARGET_FLAGS); do \
23437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23438 done; \
23439 (cd $(TARGET_SUBDIR)/libgfortran && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23444 install-info) \
23445 || exit 1
23447 @endif target-libgfortran
23449 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
23450 maybe-installcheck-target-libgfortran:
23451 @if target-libgfortran
23452 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
23454 installcheck-target-libgfortran: \
23455 configure-target-libgfortran
23456 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23457 r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23459 $(SET_LIB_PATH) \
23460 $(NORMAL_TARGET_EXPORTS) \
23461 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
23462 for flag in $(EXTRA_TARGET_FLAGS); do \
23463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23464 done; \
23465 (cd $(TARGET_SUBDIR)/libgfortran && \
23466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23468 "RANLIB=$${RANLIB}" \
23469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23470 installcheck) \
23471 || exit 1
23473 @endif target-libgfortran
23475 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
23476 maybe-mostlyclean-target-libgfortran:
23477 @if target-libgfortran
23478 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
23480 mostlyclean-target-libgfortran:
23481 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23482 r=`${PWD_COMMAND}`; export r; \
23483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23484 $(SET_LIB_PATH) \
23485 $(NORMAL_TARGET_EXPORTS) \
23486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
23487 for flag in $(EXTRA_TARGET_FLAGS); do \
23488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23489 done; \
23490 (cd $(TARGET_SUBDIR)/libgfortran && \
23491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23493 "RANLIB=$${RANLIB}" \
23494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23495 mostlyclean) \
23496 || exit 1
23498 @endif target-libgfortran
23500 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
23501 maybe-clean-target-libgfortran:
23502 @if target-libgfortran
23503 maybe-clean-target-libgfortran: clean-target-libgfortran
23505 clean-target-libgfortran:
23506 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23507 r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(SET_LIB_PATH) \
23510 $(NORMAL_TARGET_EXPORTS) \
23511 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
23512 for flag in $(EXTRA_TARGET_FLAGS); do \
23513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23514 done; \
23515 (cd $(TARGET_SUBDIR)/libgfortran && \
23516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23518 "RANLIB=$${RANLIB}" \
23519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23520 clean) \
23521 || exit 1
23523 @endif target-libgfortran
23525 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
23526 maybe-distclean-target-libgfortran:
23527 @if target-libgfortran
23528 maybe-distclean-target-libgfortran: distclean-target-libgfortran
23530 distclean-target-libgfortran:
23531 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23532 r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 $(SET_LIB_PATH) \
23535 $(NORMAL_TARGET_EXPORTS) \
23536 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
23537 for flag in $(EXTRA_TARGET_FLAGS); do \
23538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23539 done; \
23540 (cd $(TARGET_SUBDIR)/libgfortran && \
23541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23543 "RANLIB=$${RANLIB}" \
23544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23545 distclean) \
23546 || exit 1
23548 @endif target-libgfortran
23550 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
23551 maybe-maintainer-clean-target-libgfortran:
23552 @if target-libgfortran
23553 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
23555 maintainer-clean-target-libgfortran:
23556 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
23557 r=`${PWD_COMMAND}`; export r; \
23558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23559 $(SET_LIB_PATH) \
23560 $(NORMAL_TARGET_EXPORTS) \
23561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
23562 for flag in $(EXTRA_TARGET_FLAGS); do \
23563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23564 done; \
23565 (cd $(TARGET_SUBDIR)/libgfortran && \
23566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23568 "RANLIB=$${RANLIB}" \
23569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23570 maintainer-clean) \
23571 || exit 1
23573 @endif target-libgfortran
23576 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
23577 maybe-configure-target-libobjc:
23578 @if target-libobjc
23579 maybe-configure-target-libobjc: configure-target-libobjc
23581 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23582 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
23583 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23584 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
23585 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
23587 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
23588 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
23589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
23590 r=`${PWD_COMMAND}`; export r; \
23591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23592 $(SET_LIB_PATH) \
23593 $(NORMAL_TARGET_EXPORTS) \
23594 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
23595 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
23596 case $(srcdir) in \
23597 /* | [A-Za-z]:[\\/]*) \
23598 topdir=$(srcdir) ;; \
23599 *) \
23600 case "$(TARGET_SUBDIR)" in \
23601 .) topdir="../$(srcdir)" ;; \
23602 *) topdir="../../$(srcdir)" ;; \
23603 esac ;; \
23604 esac; \
23605 srcdiroption="--srcdir=$${topdir}/libobjc"; \
23606 libsrcdir="$$s/libobjc"; \
23607 rm -f no-such-file || : ; \
23608 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23609 $(TARGET_CONFIGARGS) $${srcdiroption} \
23610 --with-target-subdir="$(TARGET_SUBDIR)" \
23611 || exit 1
23612 @endif target-libobjc
23614 .PHONY: all-target-libobjc maybe-all-target-libobjc
23615 maybe-all-target-libobjc:
23616 @if target-libobjc
23617 TARGET-target-libobjc=all
23618 maybe-all-target-libobjc: all-target-libobjc
23619 all-target-libobjc: configure-target-libobjc
23620 @r=`${PWD_COMMAND}`; export r; \
23621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23622 $(SET_LIB_PATH) \
23623 $(NORMAL_TARGET_EXPORTS) \
23624 (cd $(TARGET_SUBDIR)/libobjc && \
23625 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
23626 @endif target-libobjc
23628 .PHONY: check-target-libobjc maybe-check-target-libobjc
23629 maybe-check-target-libobjc:
23630 @if target-libobjc
23631 maybe-check-target-libobjc: check-target-libobjc
23633 check-target-libobjc:
23634 @r=`${PWD_COMMAND}`; export r; \
23635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23636 $(SET_LIB_PATH) \
23637 $(NORMAL_TARGET_EXPORTS) \
23638 (cd $(TARGET_SUBDIR)/libobjc && \
23639 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
23641 @endif target-libobjc
23643 .PHONY: install-target-libobjc maybe-install-target-libobjc
23644 maybe-install-target-libobjc:
23645 @if target-libobjc
23646 maybe-install-target-libobjc: install-target-libobjc
23648 install-target-libobjc: installdirs
23649 @r=`${PWD_COMMAND}`; export r; \
23650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23651 $(SET_LIB_PATH) \
23652 $(NORMAL_TARGET_EXPORTS) \
23653 (cd $(TARGET_SUBDIR)/libobjc && \
23654 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23656 @endif target-libobjc
23658 # Other targets (info, dvi, etc.)
23660 .PHONY: maybe-info-target-libobjc info-target-libobjc
23661 maybe-info-target-libobjc:
23662 @if target-libobjc
23663 maybe-info-target-libobjc: info-target-libobjc
23665 info-target-libobjc: \
23666 configure-target-libobjc
23667 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23668 r=`${PWD_COMMAND}`; export r; \
23669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23670 $(SET_LIB_PATH) \
23671 $(NORMAL_TARGET_EXPORTS) \
23672 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
23673 for flag in $(EXTRA_TARGET_FLAGS); do \
23674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23675 done; \
23676 (cd $(TARGET_SUBDIR)/libobjc && \
23677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23679 "RANLIB=$${RANLIB}" \
23680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23681 info) \
23682 || exit 1
23684 @endif target-libobjc
23686 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
23687 maybe-dvi-target-libobjc:
23688 @if target-libobjc
23689 maybe-dvi-target-libobjc: dvi-target-libobjc
23691 dvi-target-libobjc: \
23692 configure-target-libobjc
23693 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23694 r=`${PWD_COMMAND}`; export r; \
23695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23696 $(SET_LIB_PATH) \
23697 $(NORMAL_TARGET_EXPORTS) \
23698 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
23699 for flag in $(EXTRA_TARGET_FLAGS); do \
23700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23701 done; \
23702 (cd $(TARGET_SUBDIR)/libobjc && \
23703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23705 "RANLIB=$${RANLIB}" \
23706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23707 dvi) \
23708 || exit 1
23710 @endif target-libobjc
23712 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
23713 maybe-TAGS-target-libobjc:
23714 @if target-libobjc
23715 maybe-TAGS-target-libobjc: TAGS-target-libobjc
23717 TAGS-target-libobjc: \
23718 configure-target-libobjc
23719 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23720 r=`${PWD_COMMAND}`; export r; \
23721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23722 $(SET_LIB_PATH) \
23723 $(NORMAL_TARGET_EXPORTS) \
23724 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
23725 for flag in $(EXTRA_TARGET_FLAGS); do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 done; \
23728 (cd $(TARGET_SUBDIR)/libobjc && \
23729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23731 "RANLIB=$${RANLIB}" \
23732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23733 TAGS) \
23734 || exit 1
23736 @endif target-libobjc
23738 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
23739 maybe-install-info-target-libobjc:
23740 @if target-libobjc
23741 maybe-install-info-target-libobjc: install-info-target-libobjc
23743 install-info-target-libobjc: \
23744 configure-target-libobjc \
23745 info-target-libobjc
23746 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(SET_LIB_PATH) \
23750 $(NORMAL_TARGET_EXPORTS) \
23751 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
23752 for flag in $(EXTRA_TARGET_FLAGS); do \
23753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23754 done; \
23755 (cd $(TARGET_SUBDIR)/libobjc && \
23756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23758 "RANLIB=$${RANLIB}" \
23759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23760 install-info) \
23761 || exit 1
23763 @endif target-libobjc
23765 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
23766 maybe-installcheck-target-libobjc:
23767 @if target-libobjc
23768 maybe-installcheck-target-libobjc: installcheck-target-libobjc
23770 installcheck-target-libobjc: \
23771 configure-target-libobjc
23772 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23773 r=`${PWD_COMMAND}`; export r; \
23774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23775 $(SET_LIB_PATH) \
23776 $(NORMAL_TARGET_EXPORTS) \
23777 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
23778 for flag in $(EXTRA_TARGET_FLAGS); do \
23779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23780 done; \
23781 (cd $(TARGET_SUBDIR)/libobjc && \
23782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23784 "RANLIB=$${RANLIB}" \
23785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23786 installcheck) \
23787 || exit 1
23789 @endif target-libobjc
23791 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
23792 maybe-mostlyclean-target-libobjc:
23793 @if target-libobjc
23794 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
23796 mostlyclean-target-libobjc:
23797 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23798 r=`${PWD_COMMAND}`; export r; \
23799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23800 $(SET_LIB_PATH) \
23801 $(NORMAL_TARGET_EXPORTS) \
23802 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
23803 for flag in $(EXTRA_TARGET_FLAGS); do \
23804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23805 done; \
23806 (cd $(TARGET_SUBDIR)/libobjc && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23811 mostlyclean) \
23812 || exit 1
23814 @endif target-libobjc
23816 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
23817 maybe-clean-target-libobjc:
23818 @if target-libobjc
23819 maybe-clean-target-libobjc: clean-target-libobjc
23821 clean-target-libobjc:
23822 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23823 r=`${PWD_COMMAND}`; export r; \
23824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23825 $(SET_LIB_PATH) \
23826 $(NORMAL_TARGET_EXPORTS) \
23827 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
23828 for flag in $(EXTRA_TARGET_FLAGS); do \
23829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23830 done; \
23831 (cd $(TARGET_SUBDIR)/libobjc && \
23832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23834 "RANLIB=$${RANLIB}" \
23835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23836 clean) \
23837 || exit 1
23839 @endif target-libobjc
23841 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
23842 maybe-distclean-target-libobjc:
23843 @if target-libobjc
23844 maybe-distclean-target-libobjc: distclean-target-libobjc
23846 distclean-target-libobjc:
23847 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23848 r=`${PWD_COMMAND}`; export r; \
23849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23850 $(SET_LIB_PATH) \
23851 $(NORMAL_TARGET_EXPORTS) \
23852 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
23853 for flag in $(EXTRA_TARGET_FLAGS); do \
23854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23855 done; \
23856 (cd $(TARGET_SUBDIR)/libobjc && \
23857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23859 "RANLIB=$${RANLIB}" \
23860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23861 distclean) \
23862 || exit 1
23864 @endif target-libobjc
23866 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
23867 maybe-maintainer-clean-target-libobjc:
23868 @if target-libobjc
23869 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
23871 maintainer-clean-target-libobjc:
23872 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
23873 r=`${PWD_COMMAND}`; export r; \
23874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23875 $(SET_LIB_PATH) \
23876 $(NORMAL_TARGET_EXPORTS) \
23877 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
23878 for flag in $(EXTRA_TARGET_FLAGS); do \
23879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23880 done; \
23881 (cd $(TARGET_SUBDIR)/libobjc && \
23882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23884 "RANLIB=$${RANLIB}" \
23885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23886 maintainer-clean) \
23887 || exit 1
23889 @endif target-libobjc
23892 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
23893 maybe-configure-target-libtermcap:
23894 @if target-libtermcap
23895 maybe-configure-target-libtermcap: configure-target-libtermcap
23897 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
23898 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
23899 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23900 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
23901 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
23903 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
23904 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
23905 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
23906 r=`${PWD_COMMAND}`; export r; \
23907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23908 $(SET_LIB_PATH) \
23909 $(NORMAL_TARGET_EXPORTS) \
23910 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
23911 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
23912 case $(srcdir) in \
23913 /* | [A-Za-z]:[\\/]*) \
23914 topdir=$(srcdir) ;; \
23915 *) \
23916 case "$(TARGET_SUBDIR)" in \
23917 .) topdir="../$(srcdir)" ;; \
23918 *) topdir="../../$(srcdir)" ;; \
23919 esac ;; \
23920 esac; \
23921 if [ "$(srcdir)" = "." ] ; then \
23922 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
23923 if $(SHELL) $$s/symlink-tree $${topdir}/libtermcap "no-such-file" ; then \
23924 if [ -f Makefile ]; then \
23925 if $(MAKE) distclean; then \
23926 true; \
23927 else \
23928 exit 1; \
23929 fi; \
23930 else \
23931 true; \
23932 fi; \
23933 else \
23934 exit 1; \
23935 fi; \
23936 else \
23937 true; \
23938 fi; \
23939 srcdiroption="--srcdir=."; \
23940 libsrcdir="."; \
23941 else \
23942 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23943 libsrcdir="$$s/libtermcap"; \
23944 fi; \
23945 rm -f no-such-file || : ; \
23946 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
23947 $(TARGET_CONFIGARGS) $${srcdiroption} \
23948 --with-target-subdir="$(TARGET_SUBDIR)" \
23949 || exit 1
23950 @endif target-libtermcap
23952 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
23953 maybe-all-target-libtermcap:
23954 @if target-libtermcap
23955 TARGET-target-libtermcap=all
23956 maybe-all-target-libtermcap: all-target-libtermcap
23957 all-target-libtermcap: configure-target-libtermcap
23958 @r=`${PWD_COMMAND}`; export r; \
23959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23960 $(SET_LIB_PATH) \
23961 $(NORMAL_TARGET_EXPORTS) \
23962 (cd $(TARGET_SUBDIR)/libtermcap && \
23963 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
23964 @endif target-libtermcap
23966 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
23967 maybe-check-target-libtermcap:
23968 @if target-libtermcap
23969 maybe-check-target-libtermcap: check-target-libtermcap
23971 # Dummy target for uncheckable module.
23972 check-target-libtermcap:
23974 @endif target-libtermcap
23976 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
23977 maybe-install-target-libtermcap:
23978 @if target-libtermcap
23979 maybe-install-target-libtermcap: install-target-libtermcap
23981 install-target-libtermcap: installdirs
23982 @r=`${PWD_COMMAND}`; export r; \
23983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23984 $(SET_LIB_PATH) \
23985 $(NORMAL_TARGET_EXPORTS) \
23986 (cd $(TARGET_SUBDIR)/libtermcap && \
23987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
23989 @endif target-libtermcap
23991 # Other targets (info, dvi, etc.)
23993 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
23994 maybe-info-target-libtermcap:
23995 @if target-libtermcap
23996 maybe-info-target-libtermcap: info-target-libtermcap
23998 info-target-libtermcap: \
23999 configure-target-libtermcap
24000 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24001 r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(SET_LIB_PATH) \
24004 $(NORMAL_TARGET_EXPORTS) \
24005 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
24006 for flag in $(EXTRA_TARGET_FLAGS); do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 (cd $(TARGET_SUBDIR)/libtermcap && \
24010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24012 "RANLIB=$${RANLIB}" \
24013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24014 info) \
24015 || exit 1
24017 @endif target-libtermcap
24019 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
24020 maybe-dvi-target-libtermcap:
24021 @if target-libtermcap
24022 maybe-dvi-target-libtermcap: dvi-target-libtermcap
24024 dvi-target-libtermcap: \
24025 configure-target-libtermcap
24026 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24027 r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(SET_LIB_PATH) \
24030 $(NORMAL_TARGET_EXPORTS) \
24031 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
24032 for flag in $(EXTRA_TARGET_FLAGS); do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 (cd $(TARGET_SUBDIR)/libtermcap && \
24036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24038 "RANLIB=$${RANLIB}" \
24039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24040 dvi) \
24041 || exit 1
24043 @endif target-libtermcap
24045 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
24046 maybe-TAGS-target-libtermcap:
24047 @if target-libtermcap
24048 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
24050 TAGS-target-libtermcap: \
24051 configure-target-libtermcap
24052 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(SET_LIB_PATH) \
24056 $(NORMAL_TARGET_EXPORTS) \
24057 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
24058 for flag in $(EXTRA_TARGET_FLAGS); do \
24059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24060 done; \
24061 (cd $(TARGET_SUBDIR)/libtermcap && \
24062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24064 "RANLIB=$${RANLIB}" \
24065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24066 TAGS) \
24067 || exit 1
24069 @endif target-libtermcap
24071 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
24072 maybe-install-info-target-libtermcap:
24073 @if target-libtermcap
24074 maybe-install-info-target-libtermcap: install-info-target-libtermcap
24076 install-info-target-libtermcap: \
24077 configure-target-libtermcap \
24078 info-target-libtermcap
24079 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(SET_LIB_PATH) \
24083 $(NORMAL_TARGET_EXPORTS) \
24084 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
24085 for flag in $(EXTRA_TARGET_FLAGS); do \
24086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24087 done; \
24088 (cd $(TARGET_SUBDIR)/libtermcap && \
24089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24091 "RANLIB=$${RANLIB}" \
24092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24093 install-info) \
24094 || exit 1
24096 @endif target-libtermcap
24098 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
24099 maybe-installcheck-target-libtermcap:
24100 @if target-libtermcap
24101 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
24103 installcheck-target-libtermcap: \
24104 configure-target-libtermcap
24105 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
24106 r=`${PWD_COMMAND}`; export r; \
24107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24108 $(SET_LIB_PATH) \
24109 $(NORMAL_TARGET_EXPORTS) \
24110 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
24111 for flag in $(EXTRA_TARGET_FLAGS); do \
24112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24113 done; \
24114 (cd $(TARGET_SUBDIR)/libtermcap && \
24115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24117 "RANLIB=$${RANLIB}" \
24118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24119 installcheck) \
24120 || exit 1
24122 @endif target-libtermcap
24124 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
24125 maybe-mostlyclean-target-libtermcap:
24126 @if target-libtermcap
24127 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
24129 # libtermcap doesn't support mostlyclean.
24130 mostlyclean-target-libtermcap:
24132 @endif target-libtermcap
24134 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
24135 maybe-clean-target-libtermcap:
24136 @if target-libtermcap
24137 maybe-clean-target-libtermcap: clean-target-libtermcap
24139 # libtermcap doesn't support clean.
24140 clean-target-libtermcap:
24142 @endif target-libtermcap
24144 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
24145 maybe-distclean-target-libtermcap:
24146 @if target-libtermcap
24147 maybe-distclean-target-libtermcap: distclean-target-libtermcap
24149 # libtermcap doesn't support distclean.
24150 distclean-target-libtermcap:
24152 @endif target-libtermcap
24154 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
24155 maybe-maintainer-clean-target-libtermcap:
24156 @if target-libtermcap
24157 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
24159 # libtermcap doesn't support maintainer-clean.
24160 maintainer-clean-target-libtermcap:
24162 @endif target-libtermcap
24165 .PHONY: configure-target-winsup maybe-configure-target-winsup
24166 maybe-configure-target-winsup:
24167 @if target-winsup
24168 maybe-configure-target-winsup: configure-target-winsup
24170 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24171 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
24172 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24173 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
24174 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
24176 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
24177 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
24178 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
24179 r=`${PWD_COMMAND}`; export r; \
24180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24181 $(SET_LIB_PATH) \
24182 $(NORMAL_TARGET_EXPORTS) \
24183 echo Configuring in $(TARGET_SUBDIR)/winsup; \
24184 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
24185 case $(srcdir) in \
24186 /* | [A-Za-z]:[\\/]*) \
24187 topdir=$(srcdir) ;; \
24188 *) \
24189 case "$(TARGET_SUBDIR)" in \
24190 .) topdir="../$(srcdir)" ;; \
24191 *) topdir="../../$(srcdir)" ;; \
24192 esac ;; \
24193 esac; \
24194 srcdiroption="--srcdir=$${topdir}/winsup"; \
24195 libsrcdir="$$s/winsup"; \
24196 rm -f no-such-file || : ; \
24197 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24198 $(TARGET_CONFIGARGS) $${srcdiroption} \
24199 --with-target-subdir="$(TARGET_SUBDIR)" \
24200 || exit 1
24201 @endif target-winsup
24203 .PHONY: all-target-winsup maybe-all-target-winsup
24204 maybe-all-target-winsup:
24205 @if target-winsup
24206 TARGET-target-winsup=all
24207 maybe-all-target-winsup: all-target-winsup
24208 all-target-winsup: configure-target-winsup
24209 @r=`${PWD_COMMAND}`; export r; \
24210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24211 $(SET_LIB_PATH) \
24212 $(NORMAL_TARGET_EXPORTS) \
24213 (cd $(TARGET_SUBDIR)/winsup && \
24214 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
24215 @endif target-winsup
24217 .PHONY: check-target-winsup maybe-check-target-winsup
24218 maybe-check-target-winsup:
24219 @if target-winsup
24220 maybe-check-target-winsup: check-target-winsup
24222 check-target-winsup:
24223 @r=`${PWD_COMMAND}`; export r; \
24224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24225 $(SET_LIB_PATH) \
24226 $(NORMAL_TARGET_EXPORTS) \
24227 (cd $(TARGET_SUBDIR)/winsup && \
24228 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24230 @endif target-winsup
24232 .PHONY: install-target-winsup maybe-install-target-winsup
24233 maybe-install-target-winsup:
24234 @if target-winsup
24235 maybe-install-target-winsup: install-target-winsup
24237 install-target-winsup: installdirs
24238 @r=`${PWD_COMMAND}`; export r; \
24239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24240 $(SET_LIB_PATH) \
24241 $(NORMAL_TARGET_EXPORTS) \
24242 (cd $(TARGET_SUBDIR)/winsup && \
24243 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24245 @endif target-winsup
24247 # Other targets (info, dvi, etc.)
24249 .PHONY: maybe-info-target-winsup info-target-winsup
24250 maybe-info-target-winsup:
24251 @if target-winsup
24252 maybe-info-target-winsup: info-target-winsup
24254 info-target-winsup: \
24255 configure-target-winsup
24256 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24257 r=`${PWD_COMMAND}`; export r; \
24258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24259 $(SET_LIB_PATH) \
24260 $(NORMAL_TARGET_EXPORTS) \
24261 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
24262 for flag in $(EXTRA_TARGET_FLAGS); do \
24263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24264 done; \
24265 (cd $(TARGET_SUBDIR)/winsup && \
24266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24268 "RANLIB=$${RANLIB}" \
24269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24270 info) \
24271 || exit 1
24273 @endif target-winsup
24275 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
24276 maybe-dvi-target-winsup:
24277 @if target-winsup
24278 maybe-dvi-target-winsup: dvi-target-winsup
24280 dvi-target-winsup: \
24281 configure-target-winsup
24282 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24283 r=`${PWD_COMMAND}`; export r; \
24284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24285 $(SET_LIB_PATH) \
24286 $(NORMAL_TARGET_EXPORTS) \
24287 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
24288 for flag in $(EXTRA_TARGET_FLAGS); do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 (cd $(TARGET_SUBDIR)/winsup && \
24292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24294 "RANLIB=$${RANLIB}" \
24295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24296 dvi) \
24297 || exit 1
24299 @endif target-winsup
24301 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
24302 maybe-TAGS-target-winsup:
24303 @if target-winsup
24304 maybe-TAGS-target-winsup: TAGS-target-winsup
24306 TAGS-target-winsup: \
24307 configure-target-winsup
24308 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24309 r=`${PWD_COMMAND}`; export r; \
24310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24311 $(SET_LIB_PATH) \
24312 $(NORMAL_TARGET_EXPORTS) \
24313 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
24314 for flag in $(EXTRA_TARGET_FLAGS); do \
24315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24316 done; \
24317 (cd $(TARGET_SUBDIR)/winsup && \
24318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24320 "RANLIB=$${RANLIB}" \
24321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24322 TAGS) \
24323 || exit 1
24325 @endif target-winsup
24327 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
24328 maybe-install-info-target-winsup:
24329 @if target-winsup
24330 maybe-install-info-target-winsup: install-info-target-winsup
24332 install-info-target-winsup: \
24333 configure-target-winsup \
24334 info-target-winsup
24335 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24336 r=`${PWD_COMMAND}`; export r; \
24337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24338 $(SET_LIB_PATH) \
24339 $(NORMAL_TARGET_EXPORTS) \
24340 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
24341 for flag in $(EXTRA_TARGET_FLAGS); do \
24342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24343 done; \
24344 (cd $(TARGET_SUBDIR)/winsup && \
24345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24347 "RANLIB=$${RANLIB}" \
24348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24349 install-info) \
24350 || exit 1
24352 @endif target-winsup
24354 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
24355 maybe-installcheck-target-winsup:
24356 @if target-winsup
24357 maybe-installcheck-target-winsup: installcheck-target-winsup
24359 installcheck-target-winsup: \
24360 configure-target-winsup
24361 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24362 r=`${PWD_COMMAND}`; export r; \
24363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24364 $(SET_LIB_PATH) \
24365 $(NORMAL_TARGET_EXPORTS) \
24366 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
24367 for flag in $(EXTRA_TARGET_FLAGS); do \
24368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24369 done; \
24370 (cd $(TARGET_SUBDIR)/winsup && \
24371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24373 "RANLIB=$${RANLIB}" \
24374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24375 installcheck) \
24376 || exit 1
24378 @endif target-winsup
24380 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
24381 maybe-mostlyclean-target-winsup:
24382 @if target-winsup
24383 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
24385 mostlyclean-target-winsup:
24386 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24387 r=`${PWD_COMMAND}`; export r; \
24388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24389 $(SET_LIB_PATH) \
24390 $(NORMAL_TARGET_EXPORTS) \
24391 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
24392 for flag in $(EXTRA_TARGET_FLAGS); do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 (cd $(TARGET_SUBDIR)/winsup && \
24396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24398 "RANLIB=$${RANLIB}" \
24399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24400 mostlyclean) \
24401 || exit 1
24403 @endif target-winsup
24405 .PHONY: maybe-clean-target-winsup clean-target-winsup
24406 maybe-clean-target-winsup:
24407 @if target-winsup
24408 maybe-clean-target-winsup: clean-target-winsup
24410 clean-target-winsup:
24411 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24412 r=`${PWD_COMMAND}`; export r; \
24413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24414 $(SET_LIB_PATH) \
24415 $(NORMAL_TARGET_EXPORTS) \
24416 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
24417 for flag in $(EXTRA_TARGET_FLAGS); do \
24418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24419 done; \
24420 (cd $(TARGET_SUBDIR)/winsup && \
24421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24423 "RANLIB=$${RANLIB}" \
24424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24425 clean) \
24426 || exit 1
24428 @endif target-winsup
24430 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
24431 maybe-distclean-target-winsup:
24432 @if target-winsup
24433 maybe-distclean-target-winsup: distclean-target-winsup
24435 distclean-target-winsup:
24436 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24437 r=`${PWD_COMMAND}`; export r; \
24438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24439 $(SET_LIB_PATH) \
24440 $(NORMAL_TARGET_EXPORTS) \
24441 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
24442 for flag in $(EXTRA_TARGET_FLAGS); do \
24443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24444 done; \
24445 (cd $(TARGET_SUBDIR)/winsup && \
24446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24448 "RANLIB=$${RANLIB}" \
24449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24450 distclean) \
24451 || exit 1
24453 @endif target-winsup
24455 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
24456 maybe-maintainer-clean-target-winsup:
24457 @if target-winsup
24458 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
24460 maintainer-clean-target-winsup:
24461 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
24462 r=`${PWD_COMMAND}`; export r; \
24463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24464 $(SET_LIB_PATH) \
24465 $(NORMAL_TARGET_EXPORTS) \
24466 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
24467 for flag in $(EXTRA_TARGET_FLAGS); do \
24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 done; \
24470 (cd $(TARGET_SUBDIR)/winsup && \
24471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24473 "RANLIB=$${RANLIB}" \
24474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24475 maintainer-clean) \
24476 || exit 1
24478 @endif target-winsup
24481 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
24482 maybe-configure-target-libgloss:
24483 @if target-libgloss
24484 maybe-configure-target-libgloss: configure-target-libgloss
24486 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24487 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
24488 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24489 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
24490 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
24492 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
24493 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
24494 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
24495 r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(SET_LIB_PATH) \
24498 $(NORMAL_TARGET_EXPORTS) \
24499 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
24500 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
24501 case $(srcdir) in \
24502 /* | [A-Za-z]:[\\/]*) \
24503 topdir=$(srcdir) ;; \
24504 *) \
24505 case "$(TARGET_SUBDIR)" in \
24506 .) topdir="../$(srcdir)" ;; \
24507 *) topdir="../../$(srcdir)" ;; \
24508 esac ;; \
24509 esac; \
24510 srcdiroption="--srcdir=$${topdir}/libgloss"; \
24511 libsrcdir="$$s/libgloss"; \
24512 rm -f no-such-file || : ; \
24513 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24514 $(TARGET_CONFIGARGS) $${srcdiroption} \
24515 --with-target-subdir="$(TARGET_SUBDIR)" \
24516 || exit 1
24517 @endif target-libgloss
24519 .PHONY: all-target-libgloss maybe-all-target-libgloss
24520 maybe-all-target-libgloss:
24521 @if target-libgloss
24522 TARGET-target-libgloss=all
24523 maybe-all-target-libgloss: all-target-libgloss
24524 all-target-libgloss: configure-target-libgloss
24525 @r=`${PWD_COMMAND}`; export r; \
24526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24527 $(SET_LIB_PATH) \
24528 $(NORMAL_TARGET_EXPORTS) \
24529 (cd $(TARGET_SUBDIR)/libgloss && \
24530 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
24531 @endif target-libgloss
24533 .PHONY: check-target-libgloss maybe-check-target-libgloss
24534 maybe-check-target-libgloss:
24535 @if target-libgloss
24536 maybe-check-target-libgloss: check-target-libgloss
24538 # Dummy target for uncheckable module.
24539 check-target-libgloss:
24541 @endif target-libgloss
24543 .PHONY: install-target-libgloss maybe-install-target-libgloss
24544 maybe-install-target-libgloss:
24545 @if target-libgloss
24546 maybe-install-target-libgloss: install-target-libgloss
24548 install-target-libgloss: installdirs
24549 @r=`${PWD_COMMAND}`; export r; \
24550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24551 $(SET_LIB_PATH) \
24552 $(NORMAL_TARGET_EXPORTS) \
24553 (cd $(TARGET_SUBDIR)/libgloss && \
24554 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24556 @endif target-libgloss
24558 # Other targets (info, dvi, etc.)
24560 .PHONY: maybe-info-target-libgloss info-target-libgloss
24561 maybe-info-target-libgloss:
24562 @if target-libgloss
24563 maybe-info-target-libgloss: info-target-libgloss
24565 info-target-libgloss: \
24566 configure-target-libgloss
24567 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24568 r=`${PWD_COMMAND}`; export r; \
24569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24570 $(SET_LIB_PATH) \
24571 $(NORMAL_TARGET_EXPORTS) \
24572 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
24573 for flag in $(EXTRA_TARGET_FLAGS); do \
24574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24575 done; \
24576 (cd $(TARGET_SUBDIR)/libgloss && \
24577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24579 "RANLIB=$${RANLIB}" \
24580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24581 info) \
24582 || exit 1
24584 @endif target-libgloss
24586 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
24587 maybe-dvi-target-libgloss:
24588 @if target-libgloss
24589 maybe-dvi-target-libgloss: dvi-target-libgloss
24591 dvi-target-libgloss: \
24592 configure-target-libgloss
24593 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24594 r=`${PWD_COMMAND}`; export r; \
24595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24596 $(SET_LIB_PATH) \
24597 $(NORMAL_TARGET_EXPORTS) \
24598 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
24599 for flag in $(EXTRA_TARGET_FLAGS); do \
24600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24601 done; \
24602 (cd $(TARGET_SUBDIR)/libgloss && \
24603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24605 "RANLIB=$${RANLIB}" \
24606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24607 dvi) \
24608 || exit 1
24610 @endif target-libgloss
24612 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
24613 maybe-TAGS-target-libgloss:
24614 @if target-libgloss
24615 maybe-TAGS-target-libgloss: TAGS-target-libgloss
24617 TAGS-target-libgloss: \
24618 configure-target-libgloss
24619 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24620 r=`${PWD_COMMAND}`; export r; \
24621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24622 $(SET_LIB_PATH) \
24623 $(NORMAL_TARGET_EXPORTS) \
24624 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
24625 for flag in $(EXTRA_TARGET_FLAGS); do \
24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24627 done; \
24628 (cd $(TARGET_SUBDIR)/libgloss && \
24629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24631 "RANLIB=$${RANLIB}" \
24632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24633 TAGS) \
24634 || exit 1
24636 @endif target-libgloss
24638 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
24639 maybe-install-info-target-libgloss:
24640 @if target-libgloss
24641 maybe-install-info-target-libgloss: install-info-target-libgloss
24643 install-info-target-libgloss: \
24644 configure-target-libgloss \
24645 info-target-libgloss
24646 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24647 r=`${PWD_COMMAND}`; export r; \
24648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24649 $(SET_LIB_PATH) \
24650 $(NORMAL_TARGET_EXPORTS) \
24651 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
24652 for flag in $(EXTRA_TARGET_FLAGS); do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 (cd $(TARGET_SUBDIR)/libgloss && \
24656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24658 "RANLIB=$${RANLIB}" \
24659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24660 install-info) \
24661 || exit 1
24663 @endif target-libgloss
24665 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
24666 maybe-installcheck-target-libgloss:
24667 @if target-libgloss
24668 maybe-installcheck-target-libgloss: installcheck-target-libgloss
24670 installcheck-target-libgloss: \
24671 configure-target-libgloss
24672 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24673 r=`${PWD_COMMAND}`; export r; \
24674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24675 $(SET_LIB_PATH) \
24676 $(NORMAL_TARGET_EXPORTS) \
24677 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
24678 for flag in $(EXTRA_TARGET_FLAGS); do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 (cd $(TARGET_SUBDIR)/libgloss && \
24682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24684 "RANLIB=$${RANLIB}" \
24685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24686 installcheck) \
24687 || exit 1
24689 @endif target-libgloss
24691 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
24692 maybe-mostlyclean-target-libgloss:
24693 @if target-libgloss
24694 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
24696 mostlyclean-target-libgloss:
24697 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24698 r=`${PWD_COMMAND}`; export r; \
24699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24700 $(SET_LIB_PATH) \
24701 $(NORMAL_TARGET_EXPORTS) \
24702 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
24703 for flag in $(EXTRA_TARGET_FLAGS); do \
24704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24705 done; \
24706 (cd $(TARGET_SUBDIR)/libgloss && \
24707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24709 "RANLIB=$${RANLIB}" \
24710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24711 mostlyclean) \
24712 || exit 1
24714 @endif target-libgloss
24716 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
24717 maybe-clean-target-libgloss:
24718 @if target-libgloss
24719 maybe-clean-target-libgloss: clean-target-libgloss
24721 clean-target-libgloss:
24722 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24723 r=`${PWD_COMMAND}`; export r; \
24724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24725 $(SET_LIB_PATH) \
24726 $(NORMAL_TARGET_EXPORTS) \
24727 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
24728 for flag in $(EXTRA_TARGET_FLAGS); do \
24729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24730 done; \
24731 (cd $(TARGET_SUBDIR)/libgloss && \
24732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24734 "RANLIB=$${RANLIB}" \
24735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24736 clean) \
24737 || exit 1
24739 @endif target-libgloss
24741 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
24742 maybe-distclean-target-libgloss:
24743 @if target-libgloss
24744 maybe-distclean-target-libgloss: distclean-target-libgloss
24746 distclean-target-libgloss:
24747 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24748 r=`${PWD_COMMAND}`; export r; \
24749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24750 $(SET_LIB_PATH) \
24751 $(NORMAL_TARGET_EXPORTS) \
24752 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
24753 for flag in $(EXTRA_TARGET_FLAGS); do \
24754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24755 done; \
24756 (cd $(TARGET_SUBDIR)/libgloss && \
24757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24759 "RANLIB=$${RANLIB}" \
24760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24761 distclean) \
24762 || exit 1
24764 @endif target-libgloss
24766 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
24767 maybe-maintainer-clean-target-libgloss:
24768 @if target-libgloss
24769 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
24771 maintainer-clean-target-libgloss:
24772 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
24773 r=`${PWD_COMMAND}`; export r; \
24774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24775 $(SET_LIB_PATH) \
24776 $(NORMAL_TARGET_EXPORTS) \
24777 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
24778 for flag in $(EXTRA_TARGET_FLAGS); do \
24779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24780 done; \
24781 (cd $(TARGET_SUBDIR)/libgloss && \
24782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24784 "RANLIB=$${RANLIB}" \
24785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24786 maintainer-clean) \
24787 || exit 1
24789 @endif target-libgloss
24792 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
24793 maybe-configure-target-libiberty:
24794 @if target-libiberty
24795 maybe-configure-target-libiberty: configure-target-libiberty
24797 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24798 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
24799 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24800 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
24801 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
24803 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
24804 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
24805 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
24806 r=`${PWD_COMMAND}`; export r; \
24807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24808 $(SET_LIB_PATH) \
24809 $(NORMAL_TARGET_EXPORTS) \
24810 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
24811 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
24812 case $(srcdir) in \
24813 /* | [A-Za-z]:[\\/]*) \
24814 topdir=$(srcdir) ;; \
24815 *) \
24816 case "$(TARGET_SUBDIR)" in \
24817 .) topdir="../$(srcdir)" ;; \
24818 *) topdir="../../$(srcdir)" ;; \
24819 esac ;; \
24820 esac; \
24821 srcdiroption="--srcdir=$${topdir}/libiberty"; \
24822 libsrcdir="$$s/libiberty"; \
24823 rm -f no-such-file || : ; \
24824 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24825 $(TARGET_CONFIGARGS) $${srcdiroption} \
24826 --with-target-subdir="$(TARGET_SUBDIR)" \
24827 || exit 1
24828 @endif target-libiberty
24830 .PHONY: all-target-libiberty maybe-all-target-libiberty
24831 maybe-all-target-libiberty:
24832 @if target-libiberty
24833 TARGET-target-libiberty=all
24834 maybe-all-target-libiberty: all-target-libiberty
24835 all-target-libiberty: configure-target-libiberty
24836 @r=`${PWD_COMMAND}`; export r; \
24837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24838 $(SET_LIB_PATH) \
24839 $(NORMAL_TARGET_EXPORTS) \
24840 (cd $(TARGET_SUBDIR)/libiberty && \
24841 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
24842 @endif target-libiberty
24844 .PHONY: check-target-libiberty maybe-check-target-libiberty
24845 maybe-check-target-libiberty:
24846 @if target-libiberty
24847 maybe-check-target-libiberty: check-target-libiberty
24849 check-target-libiberty:
24850 @r=`${PWD_COMMAND}`; export r; \
24851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24852 $(SET_LIB_PATH) \
24853 $(NORMAL_TARGET_EXPORTS) \
24854 (cd $(TARGET_SUBDIR)/libiberty && \
24855 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24857 @endif target-libiberty
24859 .PHONY: install-target-libiberty maybe-install-target-libiberty
24860 maybe-install-target-libiberty:
24861 @if target-libiberty
24862 maybe-install-target-libiberty: install-target-libiberty
24864 install-target-libiberty: installdirs
24865 @r=`${PWD_COMMAND}`; export r; \
24866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24867 $(SET_LIB_PATH) \
24868 $(NORMAL_TARGET_EXPORTS) \
24869 (cd $(TARGET_SUBDIR)/libiberty && \
24870 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24872 @endif target-libiberty
24874 # Other targets (info, dvi, etc.)
24876 .PHONY: maybe-info-target-libiberty info-target-libiberty
24877 maybe-info-target-libiberty:
24878 @if target-libiberty
24879 maybe-info-target-libiberty: info-target-libiberty
24881 info-target-libiberty: \
24882 configure-target-libiberty
24883 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24884 r=`${PWD_COMMAND}`; export r; \
24885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24886 $(SET_LIB_PATH) \
24887 $(NORMAL_TARGET_EXPORTS) \
24888 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
24889 for flag in $(EXTRA_TARGET_FLAGS); do \
24890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24891 done; \
24892 (cd $(TARGET_SUBDIR)/libiberty && \
24893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24895 "RANLIB=$${RANLIB}" \
24896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24897 info) \
24898 || exit 1
24900 @endif target-libiberty
24902 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
24903 maybe-dvi-target-libiberty:
24904 @if target-libiberty
24905 maybe-dvi-target-libiberty: dvi-target-libiberty
24907 dvi-target-libiberty: \
24908 configure-target-libiberty
24909 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24910 r=`${PWD_COMMAND}`; export r; \
24911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24912 $(SET_LIB_PATH) \
24913 $(NORMAL_TARGET_EXPORTS) \
24914 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
24915 for flag in $(EXTRA_TARGET_FLAGS); do \
24916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24917 done; \
24918 (cd $(TARGET_SUBDIR)/libiberty && \
24919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24921 "RANLIB=$${RANLIB}" \
24922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24923 dvi) \
24924 || exit 1
24926 @endif target-libiberty
24928 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
24929 maybe-TAGS-target-libiberty:
24930 @if target-libiberty
24931 maybe-TAGS-target-libiberty: TAGS-target-libiberty
24933 TAGS-target-libiberty: \
24934 configure-target-libiberty
24935 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24936 r=`${PWD_COMMAND}`; export r; \
24937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24938 $(SET_LIB_PATH) \
24939 $(NORMAL_TARGET_EXPORTS) \
24940 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
24941 for flag in $(EXTRA_TARGET_FLAGS); do \
24942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24943 done; \
24944 (cd $(TARGET_SUBDIR)/libiberty && \
24945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24947 "RANLIB=$${RANLIB}" \
24948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24949 TAGS) \
24950 || exit 1
24952 @endif target-libiberty
24954 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
24955 maybe-install-info-target-libiberty:
24956 @if target-libiberty
24957 maybe-install-info-target-libiberty: install-info-target-libiberty
24959 install-info-target-libiberty: \
24960 configure-target-libiberty \
24961 info-target-libiberty
24962 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24963 r=`${PWD_COMMAND}`; export r; \
24964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24965 $(SET_LIB_PATH) \
24966 $(NORMAL_TARGET_EXPORTS) \
24967 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
24968 for flag in $(EXTRA_TARGET_FLAGS); do \
24969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24970 done; \
24971 (cd $(TARGET_SUBDIR)/libiberty && \
24972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24974 "RANLIB=$${RANLIB}" \
24975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24976 install-info) \
24977 || exit 1
24979 @endif target-libiberty
24981 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
24982 maybe-installcheck-target-libiberty:
24983 @if target-libiberty
24984 maybe-installcheck-target-libiberty: installcheck-target-libiberty
24986 installcheck-target-libiberty: \
24987 configure-target-libiberty
24988 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
24989 r=`${PWD_COMMAND}`; export r; \
24990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24991 $(SET_LIB_PATH) \
24992 $(NORMAL_TARGET_EXPORTS) \
24993 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
24994 for flag in $(EXTRA_TARGET_FLAGS); do \
24995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24996 done; \
24997 (cd $(TARGET_SUBDIR)/libiberty && \
24998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25000 "RANLIB=$${RANLIB}" \
25001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25002 installcheck) \
25003 || exit 1
25005 @endif target-libiberty
25007 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
25008 maybe-mostlyclean-target-libiberty:
25009 @if target-libiberty
25010 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
25012 mostlyclean-target-libiberty:
25013 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016 $(SET_LIB_PATH) \
25017 $(NORMAL_TARGET_EXPORTS) \
25018 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
25019 for flag in $(EXTRA_TARGET_FLAGS); do \
25020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25021 done; \
25022 (cd $(TARGET_SUBDIR)/libiberty && \
25023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25025 "RANLIB=$${RANLIB}" \
25026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25027 mostlyclean) \
25028 || exit 1
25030 @endif target-libiberty
25032 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
25033 maybe-clean-target-libiberty:
25034 @if target-libiberty
25035 maybe-clean-target-libiberty: clean-target-libiberty
25037 clean-target-libiberty:
25038 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 $(SET_LIB_PATH) \
25042 $(NORMAL_TARGET_EXPORTS) \
25043 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
25044 for flag in $(EXTRA_TARGET_FLAGS); do \
25045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25046 done; \
25047 (cd $(TARGET_SUBDIR)/libiberty && \
25048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25050 "RANLIB=$${RANLIB}" \
25051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25052 clean) \
25053 || exit 1
25055 @endif target-libiberty
25057 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
25058 maybe-distclean-target-libiberty:
25059 @if target-libiberty
25060 maybe-distclean-target-libiberty: distclean-target-libiberty
25062 distclean-target-libiberty:
25063 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25064 r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066 $(SET_LIB_PATH) \
25067 $(NORMAL_TARGET_EXPORTS) \
25068 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
25069 for flag in $(EXTRA_TARGET_FLAGS); do \
25070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25071 done; \
25072 (cd $(TARGET_SUBDIR)/libiberty && \
25073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25075 "RANLIB=$${RANLIB}" \
25076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25077 distclean) \
25078 || exit 1
25080 @endif target-libiberty
25082 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
25083 maybe-maintainer-clean-target-libiberty:
25084 @if target-libiberty
25085 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
25087 maintainer-clean-target-libiberty:
25088 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(SET_LIB_PATH) \
25092 $(NORMAL_TARGET_EXPORTS) \
25093 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
25094 for flag in $(EXTRA_TARGET_FLAGS); do \
25095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25096 done; \
25097 (cd $(TARGET_SUBDIR)/libiberty && \
25098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25100 "RANLIB=$${RANLIB}" \
25101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25102 maintainer-clean) \
25103 || exit 1
25105 @endif target-libiberty
25108 .PHONY: configure-target-gperf maybe-configure-target-gperf
25109 maybe-configure-target-gperf:
25110 @if target-gperf
25111 maybe-configure-target-gperf: configure-target-gperf
25113 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25114 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
25115 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25116 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
25117 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
25119 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
25120 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
25121 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
25122 r=`${PWD_COMMAND}`; export r; \
25123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25124 $(SET_LIB_PATH) \
25125 $(NORMAL_TARGET_EXPORTS) \
25126 echo Configuring in $(TARGET_SUBDIR)/gperf; \
25127 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
25128 case $(srcdir) in \
25129 /* | [A-Za-z]:[\\/]*) \
25130 topdir=$(srcdir) ;; \
25131 *) \
25132 case "$(TARGET_SUBDIR)" in \
25133 .) topdir="../$(srcdir)" ;; \
25134 *) topdir="../../$(srcdir)" ;; \
25135 esac ;; \
25136 esac; \
25137 srcdiroption="--srcdir=$${topdir}/gperf"; \
25138 libsrcdir="$$s/gperf"; \
25139 rm -f no-such-file || : ; \
25140 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25141 $(TARGET_CONFIGARGS) $${srcdiroption} \
25142 --with-target-subdir="$(TARGET_SUBDIR)" \
25143 || exit 1
25144 @endif target-gperf
25146 .PHONY: all-target-gperf maybe-all-target-gperf
25147 maybe-all-target-gperf:
25148 @if target-gperf
25149 TARGET-target-gperf=all
25150 maybe-all-target-gperf: all-target-gperf
25151 all-target-gperf: configure-target-gperf
25152 @r=`${PWD_COMMAND}`; export r; \
25153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25154 $(SET_LIB_PATH) \
25155 $(NORMAL_TARGET_EXPORTS) \
25156 (cd $(TARGET_SUBDIR)/gperf && \
25157 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
25158 @endif target-gperf
25160 .PHONY: check-target-gperf maybe-check-target-gperf
25161 maybe-check-target-gperf:
25162 @if target-gperf
25163 maybe-check-target-gperf: check-target-gperf
25165 check-target-gperf:
25166 @r=`${PWD_COMMAND}`; export r; \
25167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25168 $(SET_LIB_PATH) \
25169 $(NORMAL_TARGET_EXPORTS) \
25170 (cd $(TARGET_SUBDIR)/gperf && \
25171 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25173 @endif target-gperf
25175 .PHONY: install-target-gperf maybe-install-target-gperf
25176 maybe-install-target-gperf:
25177 @if target-gperf
25178 maybe-install-target-gperf: install-target-gperf
25180 install-target-gperf: installdirs
25181 @r=`${PWD_COMMAND}`; export r; \
25182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25183 $(SET_LIB_PATH) \
25184 $(NORMAL_TARGET_EXPORTS) \
25185 (cd $(TARGET_SUBDIR)/gperf && \
25186 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25188 @endif target-gperf
25190 # Other targets (info, dvi, etc.)
25192 .PHONY: maybe-info-target-gperf info-target-gperf
25193 maybe-info-target-gperf:
25194 @if target-gperf
25195 maybe-info-target-gperf: info-target-gperf
25197 info-target-gperf: \
25198 configure-target-gperf
25199 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25200 r=`${PWD_COMMAND}`; export r; \
25201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25202 $(SET_LIB_PATH) \
25203 $(NORMAL_TARGET_EXPORTS) \
25204 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
25205 for flag in $(EXTRA_TARGET_FLAGS); do \
25206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25207 done; \
25208 (cd $(TARGET_SUBDIR)/gperf && \
25209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25211 "RANLIB=$${RANLIB}" \
25212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25213 info) \
25214 || exit 1
25216 @endif target-gperf
25218 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
25219 maybe-dvi-target-gperf:
25220 @if target-gperf
25221 maybe-dvi-target-gperf: dvi-target-gperf
25223 dvi-target-gperf: \
25224 configure-target-gperf
25225 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25226 r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(SET_LIB_PATH) \
25229 $(NORMAL_TARGET_EXPORTS) \
25230 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
25231 for flag in $(EXTRA_TARGET_FLAGS); do \
25232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25233 done; \
25234 (cd $(TARGET_SUBDIR)/gperf && \
25235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25237 "RANLIB=$${RANLIB}" \
25238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25239 dvi) \
25240 || exit 1
25242 @endif target-gperf
25244 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
25245 maybe-TAGS-target-gperf:
25246 @if target-gperf
25247 maybe-TAGS-target-gperf: TAGS-target-gperf
25249 TAGS-target-gperf: \
25250 configure-target-gperf
25251 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25252 r=`${PWD_COMMAND}`; export r; \
25253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25254 $(SET_LIB_PATH) \
25255 $(NORMAL_TARGET_EXPORTS) \
25256 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
25257 for flag in $(EXTRA_TARGET_FLAGS); do \
25258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25259 done; \
25260 (cd $(TARGET_SUBDIR)/gperf && \
25261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25263 "RANLIB=$${RANLIB}" \
25264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25265 TAGS) \
25266 || exit 1
25268 @endif target-gperf
25270 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
25271 maybe-install-info-target-gperf:
25272 @if target-gperf
25273 maybe-install-info-target-gperf: install-info-target-gperf
25275 install-info-target-gperf: \
25276 configure-target-gperf \
25277 info-target-gperf
25278 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25279 r=`${PWD_COMMAND}`; export r; \
25280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25281 $(SET_LIB_PATH) \
25282 $(NORMAL_TARGET_EXPORTS) \
25283 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
25284 for flag in $(EXTRA_TARGET_FLAGS); do \
25285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25286 done; \
25287 (cd $(TARGET_SUBDIR)/gperf && \
25288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25290 "RANLIB=$${RANLIB}" \
25291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25292 install-info) \
25293 || exit 1
25295 @endif target-gperf
25297 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
25298 maybe-installcheck-target-gperf:
25299 @if target-gperf
25300 maybe-installcheck-target-gperf: installcheck-target-gperf
25302 installcheck-target-gperf: \
25303 configure-target-gperf
25304 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25305 r=`${PWD_COMMAND}`; export r; \
25306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25307 $(SET_LIB_PATH) \
25308 $(NORMAL_TARGET_EXPORTS) \
25309 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
25310 for flag in $(EXTRA_TARGET_FLAGS); do \
25311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25312 done; \
25313 (cd $(TARGET_SUBDIR)/gperf && \
25314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25316 "RANLIB=$${RANLIB}" \
25317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25318 installcheck) \
25319 || exit 1
25321 @endif target-gperf
25323 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
25324 maybe-mostlyclean-target-gperf:
25325 @if target-gperf
25326 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
25328 mostlyclean-target-gperf:
25329 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25330 r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(SET_LIB_PATH) \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
25335 for flag in $(EXTRA_TARGET_FLAGS); do \
25336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25337 done; \
25338 (cd $(TARGET_SUBDIR)/gperf && \
25339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25341 "RANLIB=$${RANLIB}" \
25342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25343 mostlyclean) \
25344 || exit 1
25346 @endif target-gperf
25348 .PHONY: maybe-clean-target-gperf clean-target-gperf
25349 maybe-clean-target-gperf:
25350 @if target-gperf
25351 maybe-clean-target-gperf: clean-target-gperf
25353 clean-target-gperf:
25354 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25355 r=`${PWD_COMMAND}`; export r; \
25356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25357 $(SET_LIB_PATH) \
25358 $(NORMAL_TARGET_EXPORTS) \
25359 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
25360 for flag in $(EXTRA_TARGET_FLAGS); do \
25361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25362 done; \
25363 (cd $(TARGET_SUBDIR)/gperf && \
25364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25366 "RANLIB=$${RANLIB}" \
25367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25368 clean) \
25369 || exit 1
25371 @endif target-gperf
25373 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
25374 maybe-distclean-target-gperf:
25375 @if target-gperf
25376 maybe-distclean-target-gperf: distclean-target-gperf
25378 distclean-target-gperf:
25379 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25380 r=`${PWD_COMMAND}`; export r; \
25381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25382 $(SET_LIB_PATH) \
25383 $(NORMAL_TARGET_EXPORTS) \
25384 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
25385 for flag in $(EXTRA_TARGET_FLAGS); do \
25386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25387 done; \
25388 (cd $(TARGET_SUBDIR)/gperf && \
25389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25391 "RANLIB=$${RANLIB}" \
25392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25393 distclean) \
25394 || exit 1
25396 @endif target-gperf
25398 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
25399 maybe-maintainer-clean-target-gperf:
25400 @if target-gperf
25401 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
25403 maintainer-clean-target-gperf:
25404 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
25405 r=`${PWD_COMMAND}`; export r; \
25406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25407 $(SET_LIB_PATH) \
25408 $(NORMAL_TARGET_EXPORTS) \
25409 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
25410 for flag in $(EXTRA_TARGET_FLAGS); do \
25411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25412 done; \
25413 (cd $(TARGET_SUBDIR)/gperf && \
25414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25416 "RANLIB=$${RANLIB}" \
25417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25418 maintainer-clean) \
25419 || exit 1
25421 @endif target-gperf
25424 .PHONY: configure-target-examples maybe-configure-target-examples
25425 maybe-configure-target-examples:
25426 @if target-examples
25427 maybe-configure-target-examples: configure-target-examples
25429 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25430 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
25431 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25432 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
25433 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
25435 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
25436 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
25437 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
25438 r=`${PWD_COMMAND}`; export r; \
25439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25440 $(SET_LIB_PATH) \
25441 $(NORMAL_TARGET_EXPORTS) \
25442 echo Configuring in $(TARGET_SUBDIR)/examples; \
25443 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
25444 case $(srcdir) in \
25445 /* | [A-Za-z]:[\\/]*) \
25446 topdir=$(srcdir) ;; \
25447 *) \
25448 case "$(TARGET_SUBDIR)" in \
25449 .) topdir="../$(srcdir)" ;; \
25450 *) topdir="../../$(srcdir)" ;; \
25451 esac ;; \
25452 esac; \
25453 srcdiroption="--srcdir=$${topdir}/examples"; \
25454 libsrcdir="$$s/examples"; \
25455 rm -f no-such-file || : ; \
25456 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25457 $(TARGET_CONFIGARGS) $${srcdiroption} \
25458 --with-target-subdir="$(TARGET_SUBDIR)" \
25459 || exit 1
25460 @endif target-examples
25462 .PHONY: all-target-examples maybe-all-target-examples
25463 maybe-all-target-examples:
25464 @if target-examples
25465 TARGET-target-examples=all
25466 maybe-all-target-examples: all-target-examples
25467 all-target-examples: configure-target-examples
25468 @r=`${PWD_COMMAND}`; export r; \
25469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25470 $(SET_LIB_PATH) \
25471 $(NORMAL_TARGET_EXPORTS) \
25472 (cd $(TARGET_SUBDIR)/examples && \
25473 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
25474 @endif target-examples
25476 .PHONY: check-target-examples maybe-check-target-examples
25477 maybe-check-target-examples:
25478 @if target-examples
25479 maybe-check-target-examples: check-target-examples
25481 # Dummy target for uncheckable module.
25482 check-target-examples:
25484 @endif target-examples
25486 .PHONY: install-target-examples maybe-install-target-examples
25487 maybe-install-target-examples:
25488 @if target-examples
25489 maybe-install-target-examples: install-target-examples
25491 # Dummy target for uninstallable.
25492 install-target-examples:
25494 @endif target-examples
25496 # Other targets (info, dvi, etc.)
25498 .PHONY: maybe-info-target-examples info-target-examples
25499 maybe-info-target-examples:
25500 @if target-examples
25501 maybe-info-target-examples: info-target-examples
25503 info-target-examples: \
25504 configure-target-examples
25505 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25506 r=`${PWD_COMMAND}`; export r; \
25507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25508 $(SET_LIB_PATH) \
25509 $(NORMAL_TARGET_EXPORTS) \
25510 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
25511 for flag in $(EXTRA_TARGET_FLAGS); do \
25512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25513 done; \
25514 (cd $(TARGET_SUBDIR)/examples && \
25515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25517 "RANLIB=$${RANLIB}" \
25518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25519 info) \
25520 || exit 1
25522 @endif target-examples
25524 .PHONY: maybe-dvi-target-examples dvi-target-examples
25525 maybe-dvi-target-examples:
25526 @if target-examples
25527 maybe-dvi-target-examples: dvi-target-examples
25529 dvi-target-examples: \
25530 configure-target-examples
25531 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25532 r=`${PWD_COMMAND}`; export r; \
25533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25534 $(SET_LIB_PATH) \
25535 $(NORMAL_TARGET_EXPORTS) \
25536 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
25537 for flag in $(EXTRA_TARGET_FLAGS); do \
25538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25539 done; \
25540 (cd $(TARGET_SUBDIR)/examples && \
25541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25543 "RANLIB=$${RANLIB}" \
25544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25545 dvi) \
25546 || exit 1
25548 @endif target-examples
25550 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
25551 maybe-TAGS-target-examples:
25552 @if target-examples
25553 maybe-TAGS-target-examples: TAGS-target-examples
25555 TAGS-target-examples: \
25556 configure-target-examples
25557 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25558 r=`${PWD_COMMAND}`; export r; \
25559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25560 $(SET_LIB_PATH) \
25561 $(NORMAL_TARGET_EXPORTS) \
25562 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
25563 for flag in $(EXTRA_TARGET_FLAGS); do \
25564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25565 done; \
25566 (cd $(TARGET_SUBDIR)/examples && \
25567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25569 "RANLIB=$${RANLIB}" \
25570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25571 TAGS) \
25572 || exit 1
25574 @endif target-examples
25576 .PHONY: maybe-install-info-target-examples install-info-target-examples
25577 maybe-install-info-target-examples:
25578 @if target-examples
25579 maybe-install-info-target-examples: install-info-target-examples
25581 install-info-target-examples: \
25582 configure-target-examples \
25583 info-target-examples
25584 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25585 r=`${PWD_COMMAND}`; export r; \
25586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25587 $(SET_LIB_PATH) \
25588 $(NORMAL_TARGET_EXPORTS) \
25589 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
25590 for flag in $(EXTRA_TARGET_FLAGS); do \
25591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25592 done; \
25593 (cd $(TARGET_SUBDIR)/examples && \
25594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25596 "RANLIB=$${RANLIB}" \
25597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25598 install-info) \
25599 || exit 1
25601 @endif target-examples
25603 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
25604 maybe-installcheck-target-examples:
25605 @if target-examples
25606 maybe-installcheck-target-examples: installcheck-target-examples
25608 installcheck-target-examples: \
25609 configure-target-examples
25610 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25611 r=`${PWD_COMMAND}`; export r; \
25612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25613 $(SET_LIB_PATH) \
25614 $(NORMAL_TARGET_EXPORTS) \
25615 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
25616 for flag in $(EXTRA_TARGET_FLAGS); do \
25617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25618 done; \
25619 (cd $(TARGET_SUBDIR)/examples && \
25620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25622 "RANLIB=$${RANLIB}" \
25623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25624 installcheck) \
25625 || exit 1
25627 @endif target-examples
25629 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
25630 maybe-mostlyclean-target-examples:
25631 @if target-examples
25632 maybe-mostlyclean-target-examples: mostlyclean-target-examples
25634 mostlyclean-target-examples:
25635 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25636 r=`${PWD_COMMAND}`; export r; \
25637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25638 $(SET_LIB_PATH) \
25639 $(NORMAL_TARGET_EXPORTS) \
25640 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
25641 for flag in $(EXTRA_TARGET_FLAGS); do \
25642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25643 done; \
25644 (cd $(TARGET_SUBDIR)/examples && \
25645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25647 "RANLIB=$${RANLIB}" \
25648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25649 mostlyclean) \
25650 || exit 1
25652 @endif target-examples
25654 .PHONY: maybe-clean-target-examples clean-target-examples
25655 maybe-clean-target-examples:
25656 @if target-examples
25657 maybe-clean-target-examples: clean-target-examples
25659 clean-target-examples:
25660 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25661 r=`${PWD_COMMAND}`; export r; \
25662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25663 $(SET_LIB_PATH) \
25664 $(NORMAL_TARGET_EXPORTS) \
25665 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
25666 for flag in $(EXTRA_TARGET_FLAGS); do \
25667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25668 done; \
25669 (cd $(TARGET_SUBDIR)/examples && \
25670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25672 "RANLIB=$${RANLIB}" \
25673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25674 clean) \
25675 || exit 1
25677 @endif target-examples
25679 .PHONY: maybe-distclean-target-examples distclean-target-examples
25680 maybe-distclean-target-examples:
25681 @if target-examples
25682 maybe-distclean-target-examples: distclean-target-examples
25684 distclean-target-examples:
25685 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25686 r=`${PWD_COMMAND}`; export r; \
25687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25688 $(SET_LIB_PATH) \
25689 $(NORMAL_TARGET_EXPORTS) \
25690 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
25691 for flag in $(EXTRA_TARGET_FLAGS); do \
25692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25693 done; \
25694 (cd $(TARGET_SUBDIR)/examples && \
25695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25697 "RANLIB=$${RANLIB}" \
25698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25699 distclean) \
25700 || exit 1
25702 @endif target-examples
25704 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
25705 maybe-maintainer-clean-target-examples:
25706 @if target-examples
25707 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
25709 maintainer-clean-target-examples:
25710 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
25711 r=`${PWD_COMMAND}`; export r; \
25712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25713 $(SET_LIB_PATH) \
25714 $(NORMAL_TARGET_EXPORTS) \
25715 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
25716 for flag in $(EXTRA_TARGET_FLAGS); do \
25717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25718 done; \
25719 (cd $(TARGET_SUBDIR)/examples && \
25720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25722 "RANLIB=$${RANLIB}" \
25723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25724 maintainer-clean) \
25725 || exit 1
25727 @endif target-examples
25730 .PHONY: configure-target-libffi maybe-configure-target-libffi
25731 maybe-configure-target-libffi:
25732 @if target-libffi
25733 maybe-configure-target-libffi: configure-target-libffi
25735 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25736 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
25737 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25738 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
25739 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
25741 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
25742 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
25743 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
25744 r=`${PWD_COMMAND}`; export r; \
25745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25746 $(SET_LIB_PATH) \
25747 $(NORMAL_TARGET_EXPORTS) \
25748 echo Configuring in $(TARGET_SUBDIR)/libffi; \
25749 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
25750 case $(srcdir) in \
25751 /* | [A-Za-z]:[\\/]*) \
25752 topdir=$(srcdir) ;; \
25753 *) \
25754 case "$(TARGET_SUBDIR)" in \
25755 .) topdir="../$(srcdir)" ;; \
25756 *) topdir="../../$(srcdir)" ;; \
25757 esac ;; \
25758 esac; \
25759 srcdiroption="--srcdir=$${topdir}/libffi"; \
25760 libsrcdir="$$s/libffi"; \
25761 rm -f no-such-file || : ; \
25762 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25763 $(TARGET_CONFIGARGS) $${srcdiroption} \
25764 --with-target-subdir="$(TARGET_SUBDIR)" \
25765 || exit 1
25766 @endif target-libffi
25768 .PHONY: all-target-libffi maybe-all-target-libffi
25769 maybe-all-target-libffi:
25770 @if target-libffi
25771 TARGET-target-libffi=all
25772 maybe-all-target-libffi: all-target-libffi
25773 all-target-libffi: configure-target-libffi
25774 @r=`${PWD_COMMAND}`; export r; \
25775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25776 $(SET_LIB_PATH) \
25777 $(NORMAL_TARGET_EXPORTS) \
25778 (cd $(TARGET_SUBDIR)/libffi && \
25779 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
25780 @endif target-libffi
25782 .PHONY: check-target-libffi maybe-check-target-libffi
25783 maybe-check-target-libffi:
25784 @if target-libffi
25785 maybe-check-target-libffi: check-target-libffi
25787 check-target-libffi:
25788 @r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(SET_LIB_PATH) \
25791 $(NORMAL_TARGET_EXPORTS) \
25792 (cd $(TARGET_SUBDIR)/libffi && \
25793 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25795 @endif target-libffi
25797 .PHONY: install-target-libffi maybe-install-target-libffi
25798 maybe-install-target-libffi:
25799 @if target-libffi
25800 maybe-install-target-libffi: install-target-libffi
25802 install-target-libffi: installdirs
25803 @r=`${PWD_COMMAND}`; export r; \
25804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25805 $(SET_LIB_PATH) \
25806 $(NORMAL_TARGET_EXPORTS) \
25807 (cd $(TARGET_SUBDIR)/libffi && \
25808 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25810 @endif target-libffi
25812 # Other targets (info, dvi, etc.)
25814 .PHONY: maybe-info-target-libffi info-target-libffi
25815 maybe-info-target-libffi:
25816 @if target-libffi
25817 maybe-info-target-libffi: info-target-libffi
25819 info-target-libffi: \
25820 configure-target-libffi
25821 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25822 r=`${PWD_COMMAND}`; export r; \
25823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25824 $(SET_LIB_PATH) \
25825 $(NORMAL_TARGET_EXPORTS) \
25826 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
25827 for flag in $(EXTRA_TARGET_FLAGS); do \
25828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25829 done; \
25830 (cd $(TARGET_SUBDIR)/libffi && \
25831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25833 "RANLIB=$${RANLIB}" \
25834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25835 info) \
25836 || exit 1
25838 @endif target-libffi
25840 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
25841 maybe-dvi-target-libffi:
25842 @if target-libffi
25843 maybe-dvi-target-libffi: dvi-target-libffi
25845 dvi-target-libffi: \
25846 configure-target-libffi
25847 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25848 r=`${PWD_COMMAND}`; export r; \
25849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25850 $(SET_LIB_PATH) \
25851 $(NORMAL_TARGET_EXPORTS) \
25852 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
25853 for flag in $(EXTRA_TARGET_FLAGS); do \
25854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25855 done; \
25856 (cd $(TARGET_SUBDIR)/libffi && \
25857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25859 "RANLIB=$${RANLIB}" \
25860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25861 dvi) \
25862 || exit 1
25864 @endif target-libffi
25866 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
25867 maybe-TAGS-target-libffi:
25868 @if target-libffi
25869 maybe-TAGS-target-libffi: TAGS-target-libffi
25871 TAGS-target-libffi: \
25872 configure-target-libffi
25873 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25874 r=`${PWD_COMMAND}`; export r; \
25875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25876 $(SET_LIB_PATH) \
25877 $(NORMAL_TARGET_EXPORTS) \
25878 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
25879 for flag in $(EXTRA_TARGET_FLAGS); do \
25880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25881 done; \
25882 (cd $(TARGET_SUBDIR)/libffi && \
25883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25885 "RANLIB=$${RANLIB}" \
25886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25887 TAGS) \
25888 || exit 1
25890 @endif target-libffi
25892 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
25893 maybe-install-info-target-libffi:
25894 @if target-libffi
25895 maybe-install-info-target-libffi: install-info-target-libffi
25897 install-info-target-libffi: \
25898 configure-target-libffi \
25899 info-target-libffi
25900 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25901 r=`${PWD_COMMAND}`; export r; \
25902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25903 $(SET_LIB_PATH) \
25904 $(NORMAL_TARGET_EXPORTS) \
25905 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
25906 for flag in $(EXTRA_TARGET_FLAGS); do \
25907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25908 done; \
25909 (cd $(TARGET_SUBDIR)/libffi && \
25910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25912 "RANLIB=$${RANLIB}" \
25913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25914 install-info) \
25915 || exit 1
25917 @endif target-libffi
25919 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
25920 maybe-installcheck-target-libffi:
25921 @if target-libffi
25922 maybe-installcheck-target-libffi: installcheck-target-libffi
25924 installcheck-target-libffi: \
25925 configure-target-libffi
25926 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25927 r=`${PWD_COMMAND}`; export r; \
25928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25929 $(SET_LIB_PATH) \
25930 $(NORMAL_TARGET_EXPORTS) \
25931 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
25932 for flag in $(EXTRA_TARGET_FLAGS); do \
25933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25934 done; \
25935 (cd $(TARGET_SUBDIR)/libffi && \
25936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25938 "RANLIB=$${RANLIB}" \
25939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25940 installcheck) \
25941 || exit 1
25943 @endif target-libffi
25945 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
25946 maybe-mostlyclean-target-libffi:
25947 @if target-libffi
25948 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
25950 mostlyclean-target-libffi:
25951 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25952 r=`${PWD_COMMAND}`; export r; \
25953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25954 $(SET_LIB_PATH) \
25955 $(NORMAL_TARGET_EXPORTS) \
25956 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
25957 for flag in $(EXTRA_TARGET_FLAGS); do \
25958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25959 done; \
25960 (cd $(TARGET_SUBDIR)/libffi && \
25961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25963 "RANLIB=$${RANLIB}" \
25964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25965 mostlyclean) \
25966 || exit 1
25968 @endif target-libffi
25970 .PHONY: maybe-clean-target-libffi clean-target-libffi
25971 maybe-clean-target-libffi:
25972 @if target-libffi
25973 maybe-clean-target-libffi: clean-target-libffi
25975 clean-target-libffi:
25976 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
25977 r=`${PWD_COMMAND}`; export r; \
25978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25979 $(SET_LIB_PATH) \
25980 $(NORMAL_TARGET_EXPORTS) \
25981 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
25982 for flag in $(EXTRA_TARGET_FLAGS); do \
25983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25984 done; \
25985 (cd $(TARGET_SUBDIR)/libffi && \
25986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25988 "RANLIB=$${RANLIB}" \
25989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25990 clean) \
25991 || exit 1
25993 @endif target-libffi
25995 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
25996 maybe-distclean-target-libffi:
25997 @if target-libffi
25998 maybe-distclean-target-libffi: distclean-target-libffi
26000 distclean-target-libffi:
26001 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26002 r=`${PWD_COMMAND}`; export r; \
26003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26004 $(SET_LIB_PATH) \
26005 $(NORMAL_TARGET_EXPORTS) \
26006 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
26007 for flag in $(EXTRA_TARGET_FLAGS); do \
26008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26009 done; \
26010 (cd $(TARGET_SUBDIR)/libffi && \
26011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26013 "RANLIB=$${RANLIB}" \
26014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26015 distclean) \
26016 || exit 1
26018 @endif target-libffi
26020 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
26021 maybe-maintainer-clean-target-libffi:
26022 @if target-libffi
26023 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
26025 maintainer-clean-target-libffi:
26026 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
26027 r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 $(SET_LIB_PATH) \
26030 $(NORMAL_TARGET_EXPORTS) \
26031 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
26032 for flag in $(EXTRA_TARGET_FLAGS); do \
26033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26034 done; \
26035 (cd $(TARGET_SUBDIR)/libffi && \
26036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26038 "RANLIB=$${RANLIB}" \
26039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26040 maintainer-clean) \
26041 || exit 1
26043 @endif target-libffi
26046 .PHONY: configure-target-libjava maybe-configure-target-libjava
26047 maybe-configure-target-libjava:
26048 @if target-libjava
26049 maybe-configure-target-libjava: configure-target-libjava
26051 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26052 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
26053 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26054 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
26055 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
26057 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
26058 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
26059 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
26060 r=`${PWD_COMMAND}`; export r; \
26061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26062 $(SET_LIB_PATH) \
26063 $(RAW_CXX_TARGET_EXPORTS) \
26064 echo Configuring in $(TARGET_SUBDIR)/libjava; \
26065 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
26066 case $(srcdir) in \
26067 /* | [A-Za-z]:[\\/]*) \
26068 topdir=$(srcdir) ;; \
26069 *) \
26070 case "$(TARGET_SUBDIR)" in \
26071 .) topdir="../$(srcdir)" ;; \
26072 *) topdir="../../$(srcdir)" ;; \
26073 esac ;; \
26074 esac; \
26075 srcdiroption="--srcdir=$${topdir}/libjava"; \
26076 libsrcdir="$$s/libjava"; \
26077 rm -f no-such-file || : ; \
26078 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26079 $(TARGET_CONFIGARGS) $${srcdiroption} \
26080 --with-target-subdir="$(TARGET_SUBDIR)" \
26081 || exit 1
26082 @endif target-libjava
26084 .PHONY: all-target-libjava maybe-all-target-libjava
26085 maybe-all-target-libjava:
26086 @if target-libjava
26087 TARGET-target-libjava=all
26088 maybe-all-target-libjava: all-target-libjava
26089 all-target-libjava: configure-target-libjava
26090 @r=`${PWD_COMMAND}`; export r; \
26091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26092 $(SET_LIB_PATH) \
26093 $(RAW_CXX_TARGET_EXPORTS) \
26094 (cd $(TARGET_SUBDIR)/libjava && \
26095 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
26096 @endif target-libjava
26098 .PHONY: check-target-libjava maybe-check-target-libjava
26099 maybe-check-target-libjava:
26100 @if target-libjava
26101 maybe-check-target-libjava: check-target-libjava
26103 check-target-libjava:
26104 @r=`${PWD_COMMAND}`; export r; \
26105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26106 $(SET_LIB_PATH) \
26107 $(RAW_CXX_TARGET_EXPORTS) \
26108 (cd $(TARGET_SUBDIR)/libjava && \
26109 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
26111 @endif target-libjava
26113 .PHONY: install-target-libjava maybe-install-target-libjava
26114 maybe-install-target-libjava:
26115 @if target-libjava
26116 maybe-install-target-libjava: install-target-libjava
26118 install-target-libjava: installdirs
26119 @r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 $(SET_LIB_PATH) \
26122 $(RAW_CXX_TARGET_EXPORTS) \
26123 (cd $(TARGET_SUBDIR)/libjava && \
26124 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26126 @endif target-libjava
26128 # Other targets (info, dvi, etc.)
26130 .PHONY: maybe-info-target-libjava info-target-libjava
26131 maybe-info-target-libjava:
26132 @if target-libjava
26133 maybe-info-target-libjava: info-target-libjava
26135 info-target-libjava: \
26136 configure-target-libjava
26137 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26138 r=`${PWD_COMMAND}`; export r; \
26139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26140 $(SET_LIB_PATH) \
26141 $(RAW_CXX_TARGET_EXPORTS) \
26142 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
26143 for flag in $(EXTRA_TARGET_FLAGS); do \
26144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26145 done; \
26146 (cd $(TARGET_SUBDIR)/libjava && \
26147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26149 "RANLIB=$${RANLIB}" \
26150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26151 info) \
26152 || exit 1
26154 @endif target-libjava
26156 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
26157 maybe-dvi-target-libjava:
26158 @if target-libjava
26159 maybe-dvi-target-libjava: dvi-target-libjava
26161 dvi-target-libjava: \
26162 configure-target-libjava
26163 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26164 r=`${PWD_COMMAND}`; export r; \
26165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26166 $(SET_LIB_PATH) \
26167 $(RAW_CXX_TARGET_EXPORTS) \
26168 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
26169 for flag in $(EXTRA_TARGET_FLAGS); do \
26170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26171 done; \
26172 (cd $(TARGET_SUBDIR)/libjava && \
26173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26175 "RANLIB=$${RANLIB}" \
26176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26177 dvi) \
26178 || exit 1
26180 @endif target-libjava
26182 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
26183 maybe-TAGS-target-libjava:
26184 @if target-libjava
26185 maybe-TAGS-target-libjava: TAGS-target-libjava
26187 TAGS-target-libjava: \
26188 configure-target-libjava
26189 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26190 r=`${PWD_COMMAND}`; export r; \
26191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26192 $(SET_LIB_PATH) \
26193 $(RAW_CXX_TARGET_EXPORTS) \
26194 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
26195 for flag in $(EXTRA_TARGET_FLAGS); do \
26196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26197 done; \
26198 (cd $(TARGET_SUBDIR)/libjava && \
26199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26201 "RANLIB=$${RANLIB}" \
26202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26203 TAGS) \
26204 || exit 1
26206 @endif target-libjava
26208 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
26209 maybe-install-info-target-libjava:
26210 @if target-libjava
26211 maybe-install-info-target-libjava: install-info-target-libjava
26213 install-info-target-libjava: \
26214 configure-target-libjava \
26215 info-target-libjava
26216 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26217 r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 $(SET_LIB_PATH) \
26220 $(RAW_CXX_TARGET_EXPORTS) \
26221 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
26222 for flag in $(EXTRA_TARGET_FLAGS); do \
26223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26224 done; \
26225 (cd $(TARGET_SUBDIR)/libjava && \
26226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26228 "RANLIB=$${RANLIB}" \
26229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26230 install-info) \
26231 || exit 1
26233 @endif target-libjava
26235 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
26236 maybe-installcheck-target-libjava:
26237 @if target-libjava
26238 maybe-installcheck-target-libjava: installcheck-target-libjava
26240 installcheck-target-libjava: \
26241 configure-target-libjava
26242 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26243 r=`${PWD_COMMAND}`; export r; \
26244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26245 $(SET_LIB_PATH) \
26246 $(RAW_CXX_TARGET_EXPORTS) \
26247 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
26248 for flag in $(EXTRA_TARGET_FLAGS); do \
26249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26250 done; \
26251 (cd $(TARGET_SUBDIR)/libjava && \
26252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26254 "RANLIB=$${RANLIB}" \
26255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26256 installcheck) \
26257 || exit 1
26259 @endif target-libjava
26261 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
26262 maybe-mostlyclean-target-libjava:
26263 @if target-libjava
26264 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
26266 mostlyclean-target-libjava:
26267 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26268 r=`${PWD_COMMAND}`; export r; \
26269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26270 $(SET_LIB_PATH) \
26271 $(RAW_CXX_TARGET_EXPORTS) \
26272 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
26273 for flag in $(EXTRA_TARGET_FLAGS); do \
26274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26275 done; \
26276 (cd $(TARGET_SUBDIR)/libjava && \
26277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26279 "RANLIB=$${RANLIB}" \
26280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26281 mostlyclean) \
26282 || exit 1
26284 @endif target-libjava
26286 .PHONY: maybe-clean-target-libjava clean-target-libjava
26287 maybe-clean-target-libjava:
26288 @if target-libjava
26289 maybe-clean-target-libjava: clean-target-libjava
26291 clean-target-libjava:
26292 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26293 r=`${PWD_COMMAND}`; export r; \
26294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 $(SET_LIB_PATH) \
26296 $(RAW_CXX_TARGET_EXPORTS) \
26297 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
26298 for flag in $(EXTRA_TARGET_FLAGS); do \
26299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26300 done; \
26301 (cd $(TARGET_SUBDIR)/libjava && \
26302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26304 "RANLIB=$${RANLIB}" \
26305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26306 clean) \
26307 || exit 1
26309 @endif target-libjava
26311 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
26312 maybe-distclean-target-libjava:
26313 @if target-libjava
26314 maybe-distclean-target-libjava: distclean-target-libjava
26316 distclean-target-libjava:
26317 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26318 r=`${PWD_COMMAND}`; export r; \
26319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26320 $(SET_LIB_PATH) \
26321 $(RAW_CXX_TARGET_EXPORTS) \
26322 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
26323 for flag in $(EXTRA_TARGET_FLAGS); do \
26324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26325 done; \
26326 (cd $(TARGET_SUBDIR)/libjava && \
26327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26329 "RANLIB=$${RANLIB}" \
26330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26331 distclean) \
26332 || exit 1
26334 @endif target-libjava
26336 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
26337 maybe-maintainer-clean-target-libjava:
26338 @if target-libjava
26339 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
26341 maintainer-clean-target-libjava:
26342 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(SET_LIB_PATH) \
26346 $(RAW_CXX_TARGET_EXPORTS) \
26347 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
26348 for flag in $(EXTRA_TARGET_FLAGS); do \
26349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26350 done; \
26351 (cd $(TARGET_SUBDIR)/libjava && \
26352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26354 "RANLIB=$${RANLIB}" \
26355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26356 maintainer-clean) \
26357 || exit 1
26359 @endif target-libjava
26362 .PHONY: configure-target-zlib maybe-configure-target-zlib
26363 maybe-configure-target-zlib:
26364 @if target-zlib
26365 maybe-configure-target-zlib: configure-target-zlib
26367 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26368 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
26369 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26370 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
26371 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
26373 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
26374 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
26375 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
26376 r=`${PWD_COMMAND}`; export r; \
26377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26378 $(SET_LIB_PATH) \
26379 $(NORMAL_TARGET_EXPORTS) \
26380 echo Configuring in $(TARGET_SUBDIR)/zlib; \
26381 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
26382 case $(srcdir) in \
26383 /* | [A-Za-z]:[\\/]*) \
26384 topdir=$(srcdir) ;; \
26385 *) \
26386 case "$(TARGET_SUBDIR)" in \
26387 .) topdir="../$(srcdir)" ;; \
26388 *) topdir="../../$(srcdir)" ;; \
26389 esac ;; \
26390 esac; \
26391 if [ "$(srcdir)" = "." ] ; then \
26392 if [ "$(TARGET_SUBDIR)" != "." ] ; then \
26393 if $(SHELL) $$s/symlink-tree $${topdir}/zlib "no-such-file" ; then \
26394 if [ -f Makefile ]; then \
26395 if $(MAKE) distclean; then \
26396 true; \
26397 else \
26398 exit 1; \
26399 fi; \
26400 else \
26401 true; \
26402 fi; \
26403 else \
26404 exit 1; \
26405 fi; \
26406 else \
26407 true; \
26408 fi; \
26409 srcdiroption="--srcdir=."; \
26410 libsrcdir="."; \
26411 else \
26412 srcdiroption="--srcdir=$${topdir}/zlib"; \
26413 libsrcdir="$$s/zlib"; \
26414 fi; \
26415 rm -f no-such-file || : ; \
26416 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26417 $(TARGET_CONFIGARGS) $${srcdiroption} \
26418 --with-target-subdir="$(TARGET_SUBDIR)" \
26419 || exit 1
26420 @endif target-zlib
26422 .PHONY: all-target-zlib maybe-all-target-zlib
26423 maybe-all-target-zlib:
26424 @if target-zlib
26425 TARGET-target-zlib=all
26426 maybe-all-target-zlib: all-target-zlib
26427 all-target-zlib: configure-target-zlib
26428 @r=`${PWD_COMMAND}`; export r; \
26429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26430 $(SET_LIB_PATH) \
26431 $(NORMAL_TARGET_EXPORTS) \
26432 (cd $(TARGET_SUBDIR)/zlib && \
26433 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
26434 @endif target-zlib
26436 .PHONY: check-target-zlib maybe-check-target-zlib
26437 maybe-check-target-zlib:
26438 @if target-zlib
26439 maybe-check-target-zlib: check-target-zlib
26441 check-target-zlib:
26442 @r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 $(SET_LIB_PATH) \
26445 $(NORMAL_TARGET_EXPORTS) \
26446 (cd $(TARGET_SUBDIR)/zlib && \
26447 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26449 @endif target-zlib
26451 .PHONY: install-target-zlib maybe-install-target-zlib
26452 maybe-install-target-zlib:
26453 @if target-zlib
26454 maybe-install-target-zlib: install-target-zlib
26456 install-target-zlib: installdirs
26457 @r=`${PWD_COMMAND}`; export r; \
26458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26459 $(SET_LIB_PATH) \
26460 $(NORMAL_TARGET_EXPORTS) \
26461 (cd $(TARGET_SUBDIR)/zlib && \
26462 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26464 @endif target-zlib
26466 # Other targets (info, dvi, etc.)
26468 .PHONY: maybe-info-target-zlib info-target-zlib
26469 maybe-info-target-zlib:
26470 @if target-zlib
26471 maybe-info-target-zlib: info-target-zlib
26473 info-target-zlib: \
26474 configure-target-zlib
26475 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26476 r=`${PWD_COMMAND}`; export r; \
26477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26478 $(SET_LIB_PATH) \
26479 $(NORMAL_TARGET_EXPORTS) \
26480 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
26481 for flag in $(EXTRA_TARGET_FLAGS); do \
26482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26483 done; \
26484 (cd $(TARGET_SUBDIR)/zlib && \
26485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26487 "RANLIB=$${RANLIB}" \
26488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26489 info) \
26490 || exit 1
26492 @endif target-zlib
26494 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
26495 maybe-dvi-target-zlib:
26496 @if target-zlib
26497 maybe-dvi-target-zlib: dvi-target-zlib
26499 dvi-target-zlib: \
26500 configure-target-zlib
26501 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26502 r=`${PWD_COMMAND}`; export r; \
26503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26504 $(SET_LIB_PATH) \
26505 $(NORMAL_TARGET_EXPORTS) \
26506 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
26507 for flag in $(EXTRA_TARGET_FLAGS); do \
26508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26509 done; \
26510 (cd $(TARGET_SUBDIR)/zlib && \
26511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26513 "RANLIB=$${RANLIB}" \
26514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26515 dvi) \
26516 || exit 1
26518 @endif target-zlib
26520 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
26521 maybe-TAGS-target-zlib:
26522 @if target-zlib
26523 maybe-TAGS-target-zlib: TAGS-target-zlib
26525 TAGS-target-zlib: \
26526 configure-target-zlib
26527 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26528 r=`${PWD_COMMAND}`; export r; \
26529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26530 $(SET_LIB_PATH) \
26531 $(NORMAL_TARGET_EXPORTS) \
26532 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
26533 for flag in $(EXTRA_TARGET_FLAGS); do \
26534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26535 done; \
26536 (cd $(TARGET_SUBDIR)/zlib && \
26537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26539 "RANLIB=$${RANLIB}" \
26540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26541 TAGS) \
26542 || exit 1
26544 @endif target-zlib
26546 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
26547 maybe-install-info-target-zlib:
26548 @if target-zlib
26549 maybe-install-info-target-zlib: install-info-target-zlib
26551 install-info-target-zlib: \
26552 configure-target-zlib \
26553 info-target-zlib
26554 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26555 r=`${PWD_COMMAND}`; export r; \
26556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26557 $(SET_LIB_PATH) \
26558 $(NORMAL_TARGET_EXPORTS) \
26559 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
26560 for flag in $(EXTRA_TARGET_FLAGS); do \
26561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26562 done; \
26563 (cd $(TARGET_SUBDIR)/zlib && \
26564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26566 "RANLIB=$${RANLIB}" \
26567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26568 install-info) \
26569 || exit 1
26571 @endif target-zlib
26573 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
26574 maybe-installcheck-target-zlib:
26575 @if target-zlib
26576 maybe-installcheck-target-zlib: installcheck-target-zlib
26578 installcheck-target-zlib: \
26579 configure-target-zlib
26580 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26581 r=`${PWD_COMMAND}`; export r; \
26582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26583 $(SET_LIB_PATH) \
26584 $(NORMAL_TARGET_EXPORTS) \
26585 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
26586 for flag in $(EXTRA_TARGET_FLAGS); do \
26587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26588 done; \
26589 (cd $(TARGET_SUBDIR)/zlib && \
26590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26592 "RANLIB=$${RANLIB}" \
26593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26594 installcheck) \
26595 || exit 1
26597 @endif target-zlib
26599 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
26600 maybe-mostlyclean-target-zlib:
26601 @if target-zlib
26602 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
26604 mostlyclean-target-zlib:
26605 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26606 r=`${PWD_COMMAND}`; export r; \
26607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26608 $(SET_LIB_PATH) \
26609 $(NORMAL_TARGET_EXPORTS) \
26610 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
26611 for flag in $(EXTRA_TARGET_FLAGS); do \
26612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26613 done; \
26614 (cd $(TARGET_SUBDIR)/zlib && \
26615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26617 "RANLIB=$${RANLIB}" \
26618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26619 mostlyclean) \
26620 || exit 1
26622 @endif target-zlib
26624 .PHONY: maybe-clean-target-zlib clean-target-zlib
26625 maybe-clean-target-zlib:
26626 @if target-zlib
26627 maybe-clean-target-zlib: clean-target-zlib
26629 clean-target-zlib:
26630 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26631 r=`${PWD_COMMAND}`; export r; \
26632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26633 $(SET_LIB_PATH) \
26634 $(NORMAL_TARGET_EXPORTS) \
26635 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
26636 for flag in $(EXTRA_TARGET_FLAGS); do \
26637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26638 done; \
26639 (cd $(TARGET_SUBDIR)/zlib && \
26640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26642 "RANLIB=$${RANLIB}" \
26643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26644 clean) \
26645 || exit 1
26647 @endif target-zlib
26649 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
26650 maybe-distclean-target-zlib:
26651 @if target-zlib
26652 maybe-distclean-target-zlib: distclean-target-zlib
26654 distclean-target-zlib:
26655 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26656 r=`${PWD_COMMAND}`; export r; \
26657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26658 $(SET_LIB_PATH) \
26659 $(NORMAL_TARGET_EXPORTS) \
26660 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
26661 for flag in $(EXTRA_TARGET_FLAGS); do \
26662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26663 done; \
26664 (cd $(TARGET_SUBDIR)/zlib && \
26665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26667 "RANLIB=$${RANLIB}" \
26668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26669 distclean) \
26670 || exit 1
26672 @endif target-zlib
26674 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
26675 maybe-maintainer-clean-target-zlib:
26676 @if target-zlib
26677 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
26679 maintainer-clean-target-zlib:
26680 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
26681 r=`${PWD_COMMAND}`; export r; \
26682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26683 $(SET_LIB_PATH) \
26684 $(NORMAL_TARGET_EXPORTS) \
26685 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
26686 for flag in $(EXTRA_TARGET_FLAGS); do \
26687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26688 done; \
26689 (cd $(TARGET_SUBDIR)/zlib && \
26690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26692 "RANLIB=$${RANLIB}" \
26693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26694 maintainer-clean) \
26695 || exit 1
26697 @endif target-zlib
26700 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
26701 maybe-configure-target-boehm-gc:
26702 @if target-boehm-gc
26703 maybe-configure-target-boehm-gc: configure-target-boehm-gc
26705 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26706 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
26707 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26708 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
26709 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
26711 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
26712 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
26713 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
26714 r=`${PWD_COMMAND}`; export r; \
26715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26716 $(SET_LIB_PATH) \
26717 $(NORMAL_TARGET_EXPORTS) \
26718 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
26719 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
26720 case $(srcdir) in \
26721 /* | [A-Za-z]:[\\/]*) \
26722 topdir=$(srcdir) ;; \
26723 *) \
26724 case "$(TARGET_SUBDIR)" in \
26725 .) topdir="../$(srcdir)" ;; \
26726 *) topdir="../../$(srcdir)" ;; \
26727 esac ;; \
26728 esac; \
26729 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
26730 libsrcdir="$$s/boehm-gc"; \
26731 rm -f no-such-file || : ; \
26732 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26733 $(TARGET_CONFIGARGS) $${srcdiroption} \
26734 --with-target-subdir="$(TARGET_SUBDIR)" \
26735 || exit 1
26736 @endif target-boehm-gc
26738 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
26739 maybe-all-target-boehm-gc:
26740 @if target-boehm-gc
26741 TARGET-target-boehm-gc=all
26742 maybe-all-target-boehm-gc: all-target-boehm-gc
26743 all-target-boehm-gc: configure-target-boehm-gc
26744 @r=`${PWD_COMMAND}`; export r; \
26745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26746 $(SET_LIB_PATH) \
26747 $(NORMAL_TARGET_EXPORTS) \
26748 (cd $(TARGET_SUBDIR)/boehm-gc && \
26749 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
26750 @endif target-boehm-gc
26752 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
26753 maybe-check-target-boehm-gc:
26754 @if target-boehm-gc
26755 maybe-check-target-boehm-gc: check-target-boehm-gc
26757 check-target-boehm-gc:
26758 @r=`${PWD_COMMAND}`; export r; \
26759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26760 $(SET_LIB_PATH) \
26761 $(NORMAL_TARGET_EXPORTS) \
26762 (cd $(TARGET_SUBDIR)/boehm-gc && \
26763 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26765 @endif target-boehm-gc
26767 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
26768 maybe-install-target-boehm-gc:
26769 @if target-boehm-gc
26770 maybe-install-target-boehm-gc: install-target-boehm-gc
26772 install-target-boehm-gc: installdirs
26773 @r=`${PWD_COMMAND}`; export r; \
26774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26775 $(SET_LIB_PATH) \
26776 $(NORMAL_TARGET_EXPORTS) \
26777 (cd $(TARGET_SUBDIR)/boehm-gc && \
26778 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26780 @endif target-boehm-gc
26782 # Other targets (info, dvi, etc.)
26784 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
26785 maybe-info-target-boehm-gc:
26786 @if target-boehm-gc
26787 maybe-info-target-boehm-gc: info-target-boehm-gc
26789 info-target-boehm-gc: \
26790 configure-target-boehm-gc
26791 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26792 r=`${PWD_COMMAND}`; export r; \
26793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26794 $(SET_LIB_PATH) \
26795 $(NORMAL_TARGET_EXPORTS) \
26796 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
26797 for flag in $(EXTRA_TARGET_FLAGS); do \
26798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26799 done; \
26800 (cd $(TARGET_SUBDIR)/boehm-gc && \
26801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26803 "RANLIB=$${RANLIB}" \
26804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26805 info) \
26806 || exit 1
26808 @endif target-boehm-gc
26810 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
26811 maybe-dvi-target-boehm-gc:
26812 @if target-boehm-gc
26813 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
26815 dvi-target-boehm-gc: \
26816 configure-target-boehm-gc
26817 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26818 r=`${PWD_COMMAND}`; export r; \
26819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26820 $(SET_LIB_PATH) \
26821 $(NORMAL_TARGET_EXPORTS) \
26822 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
26823 for flag in $(EXTRA_TARGET_FLAGS); do \
26824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26825 done; \
26826 (cd $(TARGET_SUBDIR)/boehm-gc && \
26827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26829 "RANLIB=$${RANLIB}" \
26830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26831 dvi) \
26832 || exit 1
26834 @endif target-boehm-gc
26836 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
26837 maybe-TAGS-target-boehm-gc:
26838 @if target-boehm-gc
26839 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
26841 TAGS-target-boehm-gc: \
26842 configure-target-boehm-gc
26843 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26844 r=`${PWD_COMMAND}`; export r; \
26845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26846 $(SET_LIB_PATH) \
26847 $(NORMAL_TARGET_EXPORTS) \
26848 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
26849 for flag in $(EXTRA_TARGET_FLAGS); do \
26850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26851 done; \
26852 (cd $(TARGET_SUBDIR)/boehm-gc && \
26853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26855 "RANLIB=$${RANLIB}" \
26856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26857 TAGS) \
26858 || exit 1
26860 @endif target-boehm-gc
26862 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
26863 maybe-install-info-target-boehm-gc:
26864 @if target-boehm-gc
26865 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
26867 install-info-target-boehm-gc: \
26868 configure-target-boehm-gc \
26869 info-target-boehm-gc
26870 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26871 r=`${PWD_COMMAND}`; export r; \
26872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26873 $(SET_LIB_PATH) \
26874 $(NORMAL_TARGET_EXPORTS) \
26875 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
26876 for flag in $(EXTRA_TARGET_FLAGS); do \
26877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26878 done; \
26879 (cd $(TARGET_SUBDIR)/boehm-gc && \
26880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26882 "RANLIB=$${RANLIB}" \
26883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26884 install-info) \
26885 || exit 1
26887 @endif target-boehm-gc
26889 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
26890 maybe-installcheck-target-boehm-gc:
26891 @if target-boehm-gc
26892 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
26894 installcheck-target-boehm-gc: \
26895 configure-target-boehm-gc
26896 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26897 r=`${PWD_COMMAND}`; export r; \
26898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26899 $(SET_LIB_PATH) \
26900 $(NORMAL_TARGET_EXPORTS) \
26901 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
26902 for flag in $(EXTRA_TARGET_FLAGS); do \
26903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26904 done; \
26905 (cd $(TARGET_SUBDIR)/boehm-gc && \
26906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26908 "RANLIB=$${RANLIB}" \
26909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26910 installcheck) \
26911 || exit 1
26913 @endif target-boehm-gc
26915 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
26916 maybe-mostlyclean-target-boehm-gc:
26917 @if target-boehm-gc
26918 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
26920 mostlyclean-target-boehm-gc:
26921 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26922 r=`${PWD_COMMAND}`; export r; \
26923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26924 $(SET_LIB_PATH) \
26925 $(NORMAL_TARGET_EXPORTS) \
26926 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26927 for flag in $(EXTRA_TARGET_FLAGS); do \
26928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26929 done; \
26930 (cd $(TARGET_SUBDIR)/boehm-gc && \
26931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26933 "RANLIB=$${RANLIB}" \
26934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26935 mostlyclean) \
26936 || exit 1
26938 @endif target-boehm-gc
26940 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
26941 maybe-clean-target-boehm-gc:
26942 @if target-boehm-gc
26943 maybe-clean-target-boehm-gc: clean-target-boehm-gc
26945 clean-target-boehm-gc:
26946 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26947 r=`${PWD_COMMAND}`; export r; \
26948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26949 $(SET_LIB_PATH) \
26950 $(NORMAL_TARGET_EXPORTS) \
26951 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
26952 for flag in $(EXTRA_TARGET_FLAGS); do \
26953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26954 done; \
26955 (cd $(TARGET_SUBDIR)/boehm-gc && \
26956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26958 "RANLIB=$${RANLIB}" \
26959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26960 clean) \
26961 || exit 1
26963 @endif target-boehm-gc
26965 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
26966 maybe-distclean-target-boehm-gc:
26967 @if target-boehm-gc
26968 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
26970 distclean-target-boehm-gc:
26971 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26972 r=`${PWD_COMMAND}`; export r; \
26973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26974 $(SET_LIB_PATH) \
26975 $(NORMAL_TARGET_EXPORTS) \
26976 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
26977 for flag in $(EXTRA_TARGET_FLAGS); do \
26978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26979 done; \
26980 (cd $(TARGET_SUBDIR)/boehm-gc && \
26981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26983 "RANLIB=$${RANLIB}" \
26984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26985 distclean) \
26986 || exit 1
26988 @endif target-boehm-gc
26990 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
26991 maybe-maintainer-clean-target-boehm-gc:
26992 @if target-boehm-gc
26993 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
26995 maintainer-clean-target-boehm-gc:
26996 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
26997 r=`${PWD_COMMAND}`; export r; \
26998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26999 $(SET_LIB_PATH) \
27000 $(NORMAL_TARGET_EXPORTS) \
27001 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
27002 for flag in $(EXTRA_TARGET_FLAGS); do \
27003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27004 done; \
27005 (cd $(TARGET_SUBDIR)/boehm-gc && \
27006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27008 "RANLIB=$${RANLIB}" \
27009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27010 maintainer-clean) \
27011 || exit 1
27013 @endif target-boehm-gc
27016 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
27017 maybe-configure-target-qthreads:
27018 @if target-qthreads
27019 maybe-configure-target-qthreads: configure-target-qthreads
27021 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27022 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
27023 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27024 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
27025 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
27027 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
27028 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
27029 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
27030 r=`${PWD_COMMAND}`; export r; \
27031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27032 $(SET_LIB_PATH) \
27033 $(NORMAL_TARGET_EXPORTS) \
27034 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
27035 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
27036 case $(srcdir) in \
27037 /* | [A-Za-z]:[\\/]*) \
27038 topdir=$(srcdir) ;; \
27039 *) \
27040 case "$(TARGET_SUBDIR)" in \
27041 .) topdir="../$(srcdir)" ;; \
27042 *) topdir="../../$(srcdir)" ;; \
27043 esac ;; \
27044 esac; \
27045 srcdiroption="--srcdir=$${topdir}/qthreads"; \
27046 libsrcdir="$$s/qthreads"; \
27047 rm -f no-such-file || : ; \
27048 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27049 $(TARGET_CONFIGARGS) $${srcdiroption} \
27050 --with-target-subdir="$(TARGET_SUBDIR)" \
27051 || exit 1
27052 @endif target-qthreads
27054 .PHONY: all-target-qthreads maybe-all-target-qthreads
27055 maybe-all-target-qthreads:
27056 @if target-qthreads
27057 TARGET-target-qthreads=all
27058 maybe-all-target-qthreads: all-target-qthreads
27059 all-target-qthreads: configure-target-qthreads
27060 @r=`${PWD_COMMAND}`; export r; \
27061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27062 $(SET_LIB_PATH) \
27063 $(NORMAL_TARGET_EXPORTS) \
27064 (cd $(TARGET_SUBDIR)/qthreads && \
27065 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
27066 @endif target-qthreads
27068 .PHONY: check-target-qthreads maybe-check-target-qthreads
27069 maybe-check-target-qthreads:
27070 @if target-qthreads
27071 maybe-check-target-qthreads: check-target-qthreads
27073 check-target-qthreads:
27074 @r=`${PWD_COMMAND}`; export r; \
27075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27076 $(SET_LIB_PATH) \
27077 $(NORMAL_TARGET_EXPORTS) \
27078 (cd $(TARGET_SUBDIR)/qthreads && \
27079 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27081 @endif target-qthreads
27083 .PHONY: install-target-qthreads maybe-install-target-qthreads
27084 maybe-install-target-qthreads:
27085 @if target-qthreads
27086 maybe-install-target-qthreads: install-target-qthreads
27088 install-target-qthreads: installdirs
27089 @r=`${PWD_COMMAND}`; export r; \
27090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27091 $(SET_LIB_PATH) \
27092 $(NORMAL_TARGET_EXPORTS) \
27093 (cd $(TARGET_SUBDIR)/qthreads && \
27094 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27096 @endif target-qthreads
27098 # Other targets (info, dvi, etc.)
27100 .PHONY: maybe-info-target-qthreads info-target-qthreads
27101 maybe-info-target-qthreads:
27102 @if target-qthreads
27103 maybe-info-target-qthreads: info-target-qthreads
27105 info-target-qthreads: \
27106 configure-target-qthreads
27107 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27108 r=`${PWD_COMMAND}`; export r; \
27109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27110 $(SET_LIB_PATH) \
27111 $(NORMAL_TARGET_EXPORTS) \
27112 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
27113 for flag in $(EXTRA_TARGET_FLAGS); do \
27114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27115 done; \
27116 (cd $(TARGET_SUBDIR)/qthreads && \
27117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27119 "RANLIB=$${RANLIB}" \
27120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27121 info) \
27122 || exit 1
27124 @endif target-qthreads
27126 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
27127 maybe-dvi-target-qthreads:
27128 @if target-qthreads
27129 maybe-dvi-target-qthreads: dvi-target-qthreads
27131 dvi-target-qthreads: \
27132 configure-target-qthreads
27133 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27134 r=`${PWD_COMMAND}`; export r; \
27135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27136 $(SET_LIB_PATH) \
27137 $(NORMAL_TARGET_EXPORTS) \
27138 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
27139 for flag in $(EXTRA_TARGET_FLAGS); do \
27140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27141 done; \
27142 (cd $(TARGET_SUBDIR)/qthreads && \
27143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27145 "RANLIB=$${RANLIB}" \
27146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27147 dvi) \
27148 || exit 1
27150 @endif target-qthreads
27152 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
27153 maybe-TAGS-target-qthreads:
27154 @if target-qthreads
27155 maybe-TAGS-target-qthreads: TAGS-target-qthreads
27157 TAGS-target-qthreads: \
27158 configure-target-qthreads
27159 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27160 r=`${PWD_COMMAND}`; export r; \
27161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27162 $(SET_LIB_PATH) \
27163 $(NORMAL_TARGET_EXPORTS) \
27164 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
27165 for flag in $(EXTRA_TARGET_FLAGS); do \
27166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27167 done; \
27168 (cd $(TARGET_SUBDIR)/qthreads && \
27169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27171 "RANLIB=$${RANLIB}" \
27172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27173 TAGS) \
27174 || exit 1
27176 @endif target-qthreads
27178 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
27179 maybe-install-info-target-qthreads:
27180 @if target-qthreads
27181 maybe-install-info-target-qthreads: install-info-target-qthreads
27183 install-info-target-qthreads: \
27184 configure-target-qthreads \
27185 info-target-qthreads
27186 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27187 r=`${PWD_COMMAND}`; export r; \
27188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27189 $(SET_LIB_PATH) \
27190 $(NORMAL_TARGET_EXPORTS) \
27191 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
27192 for flag in $(EXTRA_TARGET_FLAGS); do \
27193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27194 done; \
27195 (cd $(TARGET_SUBDIR)/qthreads && \
27196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27198 "RANLIB=$${RANLIB}" \
27199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27200 install-info) \
27201 || exit 1
27203 @endif target-qthreads
27205 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
27206 maybe-installcheck-target-qthreads:
27207 @if target-qthreads
27208 maybe-installcheck-target-qthreads: installcheck-target-qthreads
27210 installcheck-target-qthreads: \
27211 configure-target-qthreads
27212 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27213 r=`${PWD_COMMAND}`; export r; \
27214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27215 $(SET_LIB_PATH) \
27216 $(NORMAL_TARGET_EXPORTS) \
27217 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
27218 for flag in $(EXTRA_TARGET_FLAGS); do \
27219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27220 done; \
27221 (cd $(TARGET_SUBDIR)/qthreads && \
27222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27224 "RANLIB=$${RANLIB}" \
27225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27226 installcheck) \
27227 || exit 1
27229 @endif target-qthreads
27231 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
27232 maybe-mostlyclean-target-qthreads:
27233 @if target-qthreads
27234 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
27236 mostlyclean-target-qthreads:
27237 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27238 r=`${PWD_COMMAND}`; export r; \
27239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27240 $(SET_LIB_PATH) \
27241 $(NORMAL_TARGET_EXPORTS) \
27242 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
27243 for flag in $(EXTRA_TARGET_FLAGS); do \
27244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27245 done; \
27246 (cd $(TARGET_SUBDIR)/qthreads && \
27247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27249 "RANLIB=$${RANLIB}" \
27250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27251 mostlyclean) \
27252 || exit 1
27254 @endif target-qthreads
27256 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
27257 maybe-clean-target-qthreads:
27258 @if target-qthreads
27259 maybe-clean-target-qthreads: clean-target-qthreads
27261 clean-target-qthreads:
27262 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27263 r=`${PWD_COMMAND}`; export r; \
27264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27265 $(SET_LIB_PATH) \
27266 $(NORMAL_TARGET_EXPORTS) \
27267 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
27268 for flag in $(EXTRA_TARGET_FLAGS); do \
27269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27270 done; \
27271 (cd $(TARGET_SUBDIR)/qthreads && \
27272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27274 "RANLIB=$${RANLIB}" \
27275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27276 clean) \
27277 || exit 1
27279 @endif target-qthreads
27281 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
27282 maybe-distclean-target-qthreads:
27283 @if target-qthreads
27284 maybe-distclean-target-qthreads: distclean-target-qthreads
27286 distclean-target-qthreads:
27287 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27288 r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(SET_LIB_PATH) \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
27293 for flag in $(EXTRA_TARGET_FLAGS); do \
27294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27295 done; \
27296 (cd $(TARGET_SUBDIR)/qthreads && \
27297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27299 "RANLIB=$${RANLIB}" \
27300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27301 distclean) \
27302 || exit 1
27304 @endif target-qthreads
27306 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
27307 maybe-maintainer-clean-target-qthreads:
27308 @if target-qthreads
27309 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
27311 maintainer-clean-target-qthreads:
27312 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
27313 r=`${PWD_COMMAND}`; export r; \
27314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27315 $(SET_LIB_PATH) \
27316 $(NORMAL_TARGET_EXPORTS) \
27317 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
27318 for flag in $(EXTRA_TARGET_FLAGS); do \
27319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27320 done; \
27321 (cd $(TARGET_SUBDIR)/qthreads && \
27322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27324 "RANLIB=$${RANLIB}" \
27325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27326 maintainer-clean) \
27327 || exit 1
27329 @endif target-qthreads
27332 .PHONY: configure-target-rda maybe-configure-target-rda
27333 maybe-configure-target-rda:
27334 @if target-rda
27335 maybe-configure-target-rda: configure-target-rda
27337 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27338 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
27339 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27340 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
27341 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
27343 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
27344 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
27345 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
27346 r=`${PWD_COMMAND}`; export r; \
27347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27348 $(SET_LIB_PATH) \
27349 $(NORMAL_TARGET_EXPORTS) \
27350 echo Configuring in $(TARGET_SUBDIR)/rda; \
27351 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
27352 case $(srcdir) in \
27353 /* | [A-Za-z]:[\\/]*) \
27354 topdir=$(srcdir) ;; \
27355 *) \
27356 case "$(TARGET_SUBDIR)" in \
27357 .) topdir="../$(srcdir)" ;; \
27358 *) topdir="../../$(srcdir)" ;; \
27359 esac ;; \
27360 esac; \
27361 srcdiroption="--srcdir=$${topdir}/rda"; \
27362 libsrcdir="$$s/rda"; \
27363 rm -f no-such-file || : ; \
27364 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27365 $(TARGET_CONFIGARGS) $${srcdiroption} \
27366 --with-target-subdir="$(TARGET_SUBDIR)" \
27367 || exit 1
27368 @endif target-rda
27370 .PHONY: all-target-rda maybe-all-target-rda
27371 maybe-all-target-rda:
27372 @if target-rda
27373 TARGET-target-rda=all
27374 maybe-all-target-rda: all-target-rda
27375 all-target-rda: configure-target-rda
27376 @r=`${PWD_COMMAND}`; export r; \
27377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27378 $(SET_LIB_PATH) \
27379 $(NORMAL_TARGET_EXPORTS) \
27380 (cd $(TARGET_SUBDIR)/rda && \
27381 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
27382 @endif target-rda
27384 .PHONY: check-target-rda maybe-check-target-rda
27385 maybe-check-target-rda:
27386 @if target-rda
27387 maybe-check-target-rda: check-target-rda
27389 check-target-rda:
27390 @r=`${PWD_COMMAND}`; export r; \
27391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27392 $(SET_LIB_PATH) \
27393 $(NORMAL_TARGET_EXPORTS) \
27394 (cd $(TARGET_SUBDIR)/rda && \
27395 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27397 @endif target-rda
27399 .PHONY: install-target-rda maybe-install-target-rda
27400 maybe-install-target-rda:
27401 @if target-rda
27402 maybe-install-target-rda: install-target-rda
27404 install-target-rda: installdirs
27405 @r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(SET_LIB_PATH) \
27408 $(NORMAL_TARGET_EXPORTS) \
27409 (cd $(TARGET_SUBDIR)/rda && \
27410 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27412 @endif target-rda
27414 # Other targets (info, dvi, etc.)
27416 .PHONY: maybe-info-target-rda info-target-rda
27417 maybe-info-target-rda:
27418 @if target-rda
27419 maybe-info-target-rda: info-target-rda
27421 info-target-rda: \
27422 configure-target-rda
27423 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27424 r=`${PWD_COMMAND}`; export r; \
27425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27426 $(SET_LIB_PATH) \
27427 $(NORMAL_TARGET_EXPORTS) \
27428 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
27429 for flag in $(EXTRA_TARGET_FLAGS); do \
27430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27431 done; \
27432 (cd $(TARGET_SUBDIR)/rda && \
27433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27435 "RANLIB=$${RANLIB}" \
27436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27437 info) \
27438 || exit 1
27440 @endif target-rda
27442 .PHONY: maybe-dvi-target-rda dvi-target-rda
27443 maybe-dvi-target-rda:
27444 @if target-rda
27445 maybe-dvi-target-rda: dvi-target-rda
27447 dvi-target-rda: \
27448 configure-target-rda
27449 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27450 r=`${PWD_COMMAND}`; export r; \
27451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27452 $(SET_LIB_PATH) \
27453 $(NORMAL_TARGET_EXPORTS) \
27454 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
27455 for flag in $(EXTRA_TARGET_FLAGS); do \
27456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27457 done; \
27458 (cd $(TARGET_SUBDIR)/rda && \
27459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27461 "RANLIB=$${RANLIB}" \
27462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27463 dvi) \
27464 || exit 1
27466 @endif target-rda
27468 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
27469 maybe-TAGS-target-rda:
27470 @if target-rda
27471 maybe-TAGS-target-rda: TAGS-target-rda
27473 TAGS-target-rda: \
27474 configure-target-rda
27475 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27476 r=`${PWD_COMMAND}`; export r; \
27477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27478 $(SET_LIB_PATH) \
27479 $(NORMAL_TARGET_EXPORTS) \
27480 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
27481 for flag in $(EXTRA_TARGET_FLAGS); do \
27482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27483 done; \
27484 (cd $(TARGET_SUBDIR)/rda && \
27485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27487 "RANLIB=$${RANLIB}" \
27488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27489 TAGS) \
27490 || exit 1
27492 @endif target-rda
27494 .PHONY: maybe-install-info-target-rda install-info-target-rda
27495 maybe-install-info-target-rda:
27496 @if target-rda
27497 maybe-install-info-target-rda: install-info-target-rda
27499 install-info-target-rda: \
27500 configure-target-rda \
27501 info-target-rda
27502 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27503 r=`${PWD_COMMAND}`; export r; \
27504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27505 $(SET_LIB_PATH) \
27506 $(NORMAL_TARGET_EXPORTS) \
27507 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
27508 for flag in $(EXTRA_TARGET_FLAGS); do \
27509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27510 done; \
27511 (cd $(TARGET_SUBDIR)/rda && \
27512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27514 "RANLIB=$${RANLIB}" \
27515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27516 install-info) \
27517 || exit 1
27519 @endif target-rda
27521 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
27522 maybe-installcheck-target-rda:
27523 @if target-rda
27524 maybe-installcheck-target-rda: installcheck-target-rda
27526 installcheck-target-rda: \
27527 configure-target-rda
27528 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27529 r=`${PWD_COMMAND}`; export r; \
27530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27531 $(SET_LIB_PATH) \
27532 $(NORMAL_TARGET_EXPORTS) \
27533 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
27534 for flag in $(EXTRA_TARGET_FLAGS); do \
27535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27536 done; \
27537 (cd $(TARGET_SUBDIR)/rda && \
27538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27540 "RANLIB=$${RANLIB}" \
27541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27542 installcheck) \
27543 || exit 1
27545 @endif target-rda
27547 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
27548 maybe-mostlyclean-target-rda:
27549 @if target-rda
27550 maybe-mostlyclean-target-rda: mostlyclean-target-rda
27552 mostlyclean-target-rda:
27553 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27554 r=`${PWD_COMMAND}`; export r; \
27555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27556 $(SET_LIB_PATH) \
27557 $(NORMAL_TARGET_EXPORTS) \
27558 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
27559 for flag in $(EXTRA_TARGET_FLAGS); do \
27560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27561 done; \
27562 (cd $(TARGET_SUBDIR)/rda && \
27563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27565 "RANLIB=$${RANLIB}" \
27566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27567 mostlyclean) \
27568 || exit 1
27570 @endif target-rda
27572 .PHONY: maybe-clean-target-rda clean-target-rda
27573 maybe-clean-target-rda:
27574 @if target-rda
27575 maybe-clean-target-rda: clean-target-rda
27577 clean-target-rda:
27578 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27579 r=`${PWD_COMMAND}`; export r; \
27580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27581 $(SET_LIB_PATH) \
27582 $(NORMAL_TARGET_EXPORTS) \
27583 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
27584 for flag in $(EXTRA_TARGET_FLAGS); do \
27585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27586 done; \
27587 (cd $(TARGET_SUBDIR)/rda && \
27588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27590 "RANLIB=$${RANLIB}" \
27591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27592 clean) \
27593 || exit 1
27595 @endif target-rda
27597 .PHONY: maybe-distclean-target-rda distclean-target-rda
27598 maybe-distclean-target-rda:
27599 @if target-rda
27600 maybe-distclean-target-rda: distclean-target-rda
27602 distclean-target-rda:
27603 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27604 r=`${PWD_COMMAND}`; export r; \
27605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27606 $(SET_LIB_PATH) \
27607 $(NORMAL_TARGET_EXPORTS) \
27608 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
27609 for flag in $(EXTRA_TARGET_FLAGS); do \
27610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27611 done; \
27612 (cd $(TARGET_SUBDIR)/rda && \
27613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27615 "RANLIB=$${RANLIB}" \
27616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27617 distclean) \
27618 || exit 1
27620 @endif target-rda
27622 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
27623 maybe-maintainer-clean-target-rda:
27624 @if target-rda
27625 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
27627 maintainer-clean-target-rda:
27628 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
27629 r=`${PWD_COMMAND}`; export r; \
27630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27631 $(SET_LIB_PATH) \
27632 $(NORMAL_TARGET_EXPORTS) \
27633 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
27634 for flag in $(EXTRA_TARGET_FLAGS); do \
27635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27636 done; \
27637 (cd $(TARGET_SUBDIR)/rda && \
27638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27640 "RANLIB=$${RANLIB}" \
27641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27642 maintainer-clean) \
27643 || exit 1
27645 @endif target-rda
27648 .PHONY: configure-target-libada maybe-configure-target-libada
27649 maybe-configure-target-libada:
27650 @if target-libada
27651 maybe-configure-target-libada: configure-target-libada
27653 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27654 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
27655 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27656 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
27657 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
27659 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
27660 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
27661 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
27662 r=`${PWD_COMMAND}`; export r; \
27663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27664 $(SET_LIB_PATH) \
27665 $(NORMAL_TARGET_EXPORTS) \
27666 echo Configuring in $(TARGET_SUBDIR)/libada; \
27667 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
27668 case $(srcdir) in \
27669 /* | [A-Za-z]:[\\/]*) \
27670 topdir=$(srcdir) ;; \
27671 *) \
27672 case "$(TARGET_SUBDIR)" in \
27673 .) topdir="../$(srcdir)" ;; \
27674 *) topdir="../../$(srcdir)" ;; \
27675 esac ;; \
27676 esac; \
27677 srcdiroption="--srcdir=$${topdir}/libada"; \
27678 libsrcdir="$$s/libada"; \
27679 rm -f no-such-file || : ; \
27680 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27681 $(TARGET_CONFIGARGS) $${srcdiroption} \
27682 --with-target-subdir="$(TARGET_SUBDIR)" \
27683 || exit 1
27684 @endif target-libada
27686 .PHONY: all-target-libada maybe-all-target-libada
27687 maybe-all-target-libada:
27688 @if target-libada
27689 TARGET-target-libada=all
27690 maybe-all-target-libada: all-target-libada
27691 all-target-libada: configure-target-libada
27692 @r=`${PWD_COMMAND}`; export r; \
27693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27694 $(SET_LIB_PATH) \
27695 $(NORMAL_TARGET_EXPORTS) \
27696 (cd $(TARGET_SUBDIR)/libada && \
27697 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
27698 @endif target-libada
27700 .PHONY: check-target-libada maybe-check-target-libada
27701 maybe-check-target-libada:
27702 @if target-libada
27703 maybe-check-target-libada: check-target-libada
27705 check-target-libada:
27706 @r=`${PWD_COMMAND}`; export r; \
27707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27708 $(SET_LIB_PATH) \
27709 $(NORMAL_TARGET_EXPORTS) \
27710 (cd $(TARGET_SUBDIR)/libada && \
27711 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27713 @endif target-libada
27715 .PHONY: install-target-libada maybe-install-target-libada
27716 maybe-install-target-libada:
27717 @if target-libada
27718 maybe-install-target-libada: install-target-libada
27720 install-target-libada: installdirs
27721 @r=`${PWD_COMMAND}`; export r; \
27722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27723 $(SET_LIB_PATH) \
27724 $(NORMAL_TARGET_EXPORTS) \
27725 (cd $(TARGET_SUBDIR)/libada && \
27726 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27728 @endif target-libada
27730 # Other targets (info, dvi, etc.)
27732 .PHONY: maybe-info-target-libada info-target-libada
27733 maybe-info-target-libada:
27734 @if target-libada
27735 maybe-info-target-libada: info-target-libada
27737 info-target-libada: \
27738 configure-target-libada
27739 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27740 r=`${PWD_COMMAND}`; export r; \
27741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27742 $(SET_LIB_PATH) \
27743 $(NORMAL_TARGET_EXPORTS) \
27744 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
27745 for flag in $(EXTRA_TARGET_FLAGS); do \
27746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27747 done; \
27748 (cd $(TARGET_SUBDIR)/libada && \
27749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27751 "RANLIB=$${RANLIB}" \
27752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27753 info) \
27754 || exit 1
27756 @endif target-libada
27758 .PHONY: maybe-dvi-target-libada dvi-target-libada
27759 maybe-dvi-target-libada:
27760 @if target-libada
27761 maybe-dvi-target-libada: dvi-target-libada
27763 dvi-target-libada: \
27764 configure-target-libada
27765 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27766 r=`${PWD_COMMAND}`; export r; \
27767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27768 $(SET_LIB_PATH) \
27769 $(NORMAL_TARGET_EXPORTS) \
27770 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
27771 for flag in $(EXTRA_TARGET_FLAGS); do \
27772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27773 done; \
27774 (cd $(TARGET_SUBDIR)/libada && \
27775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27777 "RANLIB=$${RANLIB}" \
27778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27779 dvi) \
27780 || exit 1
27782 @endif target-libada
27784 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
27785 maybe-TAGS-target-libada:
27786 @if target-libada
27787 maybe-TAGS-target-libada: TAGS-target-libada
27789 TAGS-target-libada: \
27790 configure-target-libada
27791 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27792 r=`${PWD_COMMAND}`; export r; \
27793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27794 $(SET_LIB_PATH) \
27795 $(NORMAL_TARGET_EXPORTS) \
27796 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
27797 for flag in $(EXTRA_TARGET_FLAGS); do \
27798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27799 done; \
27800 (cd $(TARGET_SUBDIR)/libada && \
27801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27803 "RANLIB=$${RANLIB}" \
27804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27805 TAGS) \
27806 || exit 1
27808 @endif target-libada
27810 .PHONY: maybe-install-info-target-libada install-info-target-libada
27811 maybe-install-info-target-libada:
27812 @if target-libada
27813 maybe-install-info-target-libada: install-info-target-libada
27815 install-info-target-libada: \
27816 configure-target-libada \
27817 info-target-libada
27818 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27819 r=`${PWD_COMMAND}`; export r; \
27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27821 $(SET_LIB_PATH) \
27822 $(NORMAL_TARGET_EXPORTS) \
27823 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
27824 for flag in $(EXTRA_TARGET_FLAGS); do \
27825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27826 done; \
27827 (cd $(TARGET_SUBDIR)/libada && \
27828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27830 "RANLIB=$${RANLIB}" \
27831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27832 install-info) \
27833 || exit 1
27835 @endif target-libada
27837 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
27838 maybe-installcheck-target-libada:
27839 @if target-libada
27840 maybe-installcheck-target-libada: installcheck-target-libada
27842 installcheck-target-libada: \
27843 configure-target-libada
27844 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27845 r=`${PWD_COMMAND}`; export r; \
27846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27847 $(SET_LIB_PATH) \
27848 $(NORMAL_TARGET_EXPORTS) \
27849 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
27850 for flag in $(EXTRA_TARGET_FLAGS); do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 (cd $(TARGET_SUBDIR)/libada && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27858 installcheck) \
27859 || exit 1
27861 @endif target-libada
27863 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
27864 maybe-mostlyclean-target-libada:
27865 @if target-libada
27866 maybe-mostlyclean-target-libada: mostlyclean-target-libada
27868 mostlyclean-target-libada:
27869 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27870 r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(SET_LIB_PATH) \
27873 $(NORMAL_TARGET_EXPORTS) \
27874 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
27875 for flag in $(EXTRA_TARGET_FLAGS); do \
27876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 done; \
27878 (cd $(TARGET_SUBDIR)/libada && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27883 mostlyclean) \
27884 || exit 1
27886 @endif target-libada
27888 .PHONY: maybe-clean-target-libada clean-target-libada
27889 maybe-clean-target-libada:
27890 @if target-libada
27891 maybe-clean-target-libada: clean-target-libada
27893 clean-target-libada:
27894 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27895 r=`${PWD_COMMAND}`; export r; \
27896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27897 $(SET_LIB_PATH) \
27898 $(NORMAL_TARGET_EXPORTS) \
27899 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
27900 for flag in $(EXTRA_TARGET_FLAGS); do \
27901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27902 done; \
27903 (cd $(TARGET_SUBDIR)/libada && \
27904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27906 "RANLIB=$${RANLIB}" \
27907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27908 clean) \
27909 || exit 1
27911 @endif target-libada
27913 .PHONY: maybe-distclean-target-libada distclean-target-libada
27914 maybe-distclean-target-libada:
27915 @if target-libada
27916 maybe-distclean-target-libada: distclean-target-libada
27918 distclean-target-libada:
27919 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27920 r=`${PWD_COMMAND}`; export r; \
27921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27922 $(SET_LIB_PATH) \
27923 $(NORMAL_TARGET_EXPORTS) \
27924 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
27925 for flag in $(EXTRA_TARGET_FLAGS); do \
27926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27927 done; \
27928 (cd $(TARGET_SUBDIR)/libada && \
27929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27931 "RANLIB=$${RANLIB}" \
27932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27933 distclean) \
27934 || exit 1
27936 @endif target-libada
27938 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
27939 maybe-maintainer-clean-target-libada:
27940 @if target-libada
27941 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
27943 maintainer-clean-target-libada:
27944 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
27945 r=`${PWD_COMMAND}`; export r; \
27946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27947 $(SET_LIB_PATH) \
27948 $(NORMAL_TARGET_EXPORTS) \
27949 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
27950 for flag in $(EXTRA_TARGET_FLAGS); do \
27951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27952 done; \
27953 (cd $(TARGET_SUBDIR)/libada && \
27954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27956 "RANLIB=$${RANLIB}" \
27957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27958 maintainer-clean) \
27959 || exit 1
27961 @endif target-libada
27965 # ----------
27966 # GCC module
27967 # ----------
27969 @if gcc-no-bootstrap
27970 # GCC has some more recursive targets, which trigger the old
27971 # (but still current, until the toplevel bootstrap project
27972 # is finished) compiler bootstrapping rules.
27974 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
27975 .PHONY: $(GCC_STRAP_TARGETS)
27976 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
27977 @r=`${PWD_COMMAND}`; export r; \
27978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27979 $(SET_LIB_PATH) \
27980 $(HOST_EXPORTS) \
27981 echo "Bootstrapping the compiler"; \
27982 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
27983 @r=`${PWD_COMMAND}`; export r; \
27984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27985 case "$@" in \
27986 *bootstrap4-lean ) \
27987 msg="Comparing stage3 and stage4 of the compiler"; \
27988 compare=compare3-lean ;; \
27989 *bootstrap4 ) \
27990 msg="Comparing stage3 and stage4 of the compiler"; \
27991 compare=compare3 ;; \
27992 *-lean ) \
27993 msg="Comparing stage2 and stage3 of the compiler"; \
27994 compare=compare-lean ;; \
27995 * ) \
27996 msg="Comparing stage2 and stage3 of the compiler"; \
27997 compare=compare ;; \
27998 esac; \
27999 $(SET_LIB_PATH) \
28000 $(HOST_EXPORTS) \
28001 echo "$$msg"; \
28002 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
28003 @r=`${PWD_COMMAND}`; export r; \
28004 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28005 $(SET_LIB_PATH) \
28006 echo "Building runtime libraries"; \
28007 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28009 profiledbootstrap: all-prebootstrap configure-gcc
28010 @r=`${PWD_COMMAND}`; export r; \
28011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28012 $(SET_LIB_PATH) \
28013 $(HOST_EXPORTS) \
28014 echo "Bootstrapping training compiler"; \
28015 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
28016 @r=`${PWD_COMMAND}`; export r; \
28017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28018 $(SET_LIB_PATH) \
28019 $(HOST_EXPORTS) \
28020 echo "Building feedback based compiler"; \
28021 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
28022 @r=`${PWD_COMMAND}`; export r; \
28023 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28024 $(SET_LIB_PATH) \
28025 echo "Building runtime libraries"; \
28026 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
28028 .PHONY: cross
28029 cross: all-build all-gas all-ld
28030 @r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(SET_LIB_PATH) \
28033 $(HOST_EXPORTS) \
28034 echo "Building the C and C++ compiler"; \
28035 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
28036 @r=`${PWD_COMMAND}`; export r; \
28037 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28038 $(SET_LIB_PATH) \
28039 echo "Building runtime libraries"; \
28040 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
28041 @endif gcc-no-bootstrap
28043 @if gcc
28044 .PHONY: check-gcc-c++
28045 check-gcc-c++:
28046 @if [ -f ./gcc/Makefile ] ; then \
28047 r=`${PWD_COMMAND}`; export r; \
28048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28049 $(SET_LIB_PATH) \
28050 $(HOST_EXPORTS) \
28051 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
28052 else \
28053 true; \
28056 .PHONY: check-c++
28057 check-c++: check-target-libstdc++-v3 check-gcc-c++
28059 # Install the gcc headers files, but not the fixed include files,
28060 # which Cygnus is not allowed to distribute. This rule is very
28061 # dependent on the workings of the gcc Makefile.in.
28062 .PHONY: gcc-no-fixedincludes
28063 gcc-no-fixedincludes:
28064 @if [ -f ./gcc/Makefile ]; then \
28065 rm -rf gcc/tmp-include; \
28066 mv gcc/include gcc/tmp-include 2>/dev/null; \
28067 mkdir gcc/include; \
28068 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
28069 touch gcc/stmp-fixinc gcc/include/fixed; \
28070 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
28071 r=`${PWD_COMMAND}`; export r; \
28072 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
28073 $(SET_LIB_PATH) \
28074 $(HOST_EXPORTS) \
28075 (cd ./gcc && \
28076 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
28077 rm -rf gcc/include; \
28078 mv gcc/tmp-include gcc/include 2>/dev/null; \
28079 else true; fi
28080 @endif gcc
28082 # ---------------------
28083 # GCC bootstrap support
28084 # ---------------------
28086 # We track the current stage (the one in 'gcc') in the stage_current file.
28087 # stage_last instead tracks the stage that was built last. These targets
28088 # are dummy when toplevel bootstrap is not active.
28090 .PHONY: unstage
28091 unstage:
28092 @if gcc-bootstrap
28093 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
28094 @endif gcc-bootstrap
28096 .PHONY: stage
28097 stage:
28098 @if gcc-bootstrap
28099 @$(MAKE) `cat stage_current`-end
28100 @endif gcc-bootstrap
28102 # We name the build directories for the various stages "stage1-gcc",
28103 # "stage2-gcc","stage3-gcc", etc.
28105 # Since the 'compare' process will fail (on debugging information) if any
28106 # directory names are different, we need to link the gcc directory for
28107 # the previous stage to a constant name ('gcc-prev'), and to make the name of
28108 # the build directories constant as well. For the latter, we use naked names
28109 # like 'gcc', because the scripts in that directory assume it. We use
28110 # mv on platforms where symlinks to directories do not work or are not
28111 # reliable.
28113 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
28114 # be kept, so that libraries can find it. Ick!
28116 # It would be best to preinstall gcc into a staging area (and in the
28117 # future, gather there all prebootstrap packages). This would allow
28118 # assemblers and linkers can be bootstrapped as well as the compiler
28119 # (both in a combined tree, or separately). This however requires some
28120 # change to the gcc driver, again in order to avoid comparison failures.
28122 # Bugs: This is almost certainly not parallel-make safe.
28124 # 'touch' doesn't work right on some platforms.
28125 STAMP = echo timestamp >
28127 # Only build the C compiler for stage1, because that is the only one that
28128 # we can guarantee will build with the native compiler, and also it is the
28129 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
28130 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
28131 # overrideable (for a bootstrap build stage1 also builds gcc.info).
28133 STAGE1_CFLAGS=@stage1_cflags@
28134 STAGE1_LANGUAGES=@stage1_languages@
28136 # We only want to compare .o files, so set this!
28137 objext = .o
28139 # Flags to pass to stage2 and later makes.
28140 BOOT_CFLAGS= -g -O2
28141 POSTSTAGE1_FLAGS_TO_PASS = \
28142 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
28143 STAGE_PREFIX=$$r/stage-gcc/ \
28144 CFLAGS="$(BOOT_CFLAGS)" \
28145 ADAC="\$$(CC)"
28147 # For stage 1:
28148 # * We force-disable intermodule optimizations, even if
28149 # --enable-intermodule was passed, since the installed compiler probably
28150 # can't handle them. Luckily, autoconf always respects
28151 # the last argument when conflicting --enable arguments are passed.
28152 # * Likewise, we force-disable coverage flags, since the installed compiler
28153 # probably has never heard of them.
28154 # * We build only C (and possibly Ada).
28157 .PHONY: stage1-start stage1-end
28159 stage1-start::
28160 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28161 echo stage1 > stage_current ; \
28162 echo stage1 > stage_last
28163 @if bfd
28164 [ -d stage1-bfd ] || mkdir stage1-bfd; \
28165 set stage1-bfd bfd ; @CREATE_LINK_TO_DIR@
28166 @endif bfd
28167 @if opcodes
28168 [ -d stage1-opcodes ] || mkdir stage1-opcodes; \
28169 set stage1-opcodes opcodes ; @CREATE_LINK_TO_DIR@
28170 @endif opcodes
28171 @if binutils
28172 [ -d stage1-binutils ] || mkdir stage1-binutils; \
28173 set stage1-binutils binutils ; @CREATE_LINK_TO_DIR@
28174 @endif binutils
28175 @if gas
28176 [ -d stage1-gas ] || mkdir stage1-gas; \
28177 set stage1-gas gas ; @CREATE_LINK_TO_DIR@
28178 @endif gas
28179 @if gcc
28180 [ -d stage1-gcc ] || mkdir stage1-gcc; \
28181 set stage1-gcc gcc ; @CREATE_LINK_TO_DIR@
28182 @endif gcc
28183 @if intl
28184 [ -d stage1-intl ] || mkdir stage1-intl; \
28185 set stage1-intl intl ; @CREATE_LINK_TO_DIR@
28186 @endif intl
28187 @if ld
28188 [ -d stage1-ld ] || mkdir stage1-ld; \
28189 set stage1-ld ld ; @CREATE_LINK_TO_DIR@
28190 @endif ld
28191 @if libcpp
28192 [ -d stage1-libcpp ] || mkdir stage1-libcpp; \
28193 set stage1-libcpp libcpp ; @CREATE_LINK_TO_DIR@
28194 @endif libcpp
28195 @if libbanshee
28196 [ -d stage1-libbanshee ] || mkdir stage1-libbanshee; \
28197 set stage1-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@
28198 @endif libbanshee
28199 @if libiberty
28200 [ -d stage1-libiberty ] || mkdir stage1-libiberty; \
28201 set stage1-libiberty libiberty ; @CREATE_LINK_TO_DIR@
28202 @endif libiberty
28203 @if zlib
28204 [ -d stage1-zlib ] || mkdir stage1-zlib; \
28205 set stage1-zlib zlib ; @CREATE_LINK_TO_DIR@
28206 @endif zlib
28208 stage1-end::
28209 rm -f stage_current
28210 @if bfd
28211 set bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28212 @endif bfd
28213 @if opcodes
28214 set opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28215 @endif opcodes
28216 @if binutils
28217 set binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28218 @endif binutils
28219 @if gas
28220 set gas stage1-gas ; @UNDO_LINK_TO_DIR@
28221 @endif gas
28222 @if gcc
28223 set gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28224 @endif gcc
28225 @if intl
28226 set intl stage1-intl ; @UNDO_LINK_TO_DIR@
28227 @endif intl
28228 @if ld
28229 set ld stage1-ld ; @UNDO_LINK_TO_DIR@
28230 @endif ld
28231 @if libcpp
28232 set libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28233 @endif libcpp
28234 @if libbanshee
28235 set libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
28236 @endif libbanshee
28237 @if libiberty
28238 set libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28239 @endif libiberty
28240 @if zlib
28241 set zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28242 @endif zlib
28244 # Bubble a bugfix through all the stages up to stage 1. They
28245 # are remade, but not reconfigured. The next stage (if any) will not
28246 # be reconfigured as well.
28247 .PHONY: stage1-bubble
28248 stage1-bubble::
28249 @case `echo all-stage1-*` in \
28250 'all-stage1-*') ;; \
28251 *) echo Remaking stage 1 ; rm -f all-stage1-* ;; \
28252 esac ; \
28253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1
28255 .PHONY: all-stage1
28256 all-stage1: \
28257 maybe-all-stage1-bfd \
28258 maybe-all-stage1-opcodes \
28259 maybe-all-stage1-binutils \
28260 maybe-all-stage1-gas \
28261 maybe-all-stage1-gcc \
28262 maybe-all-stage1-intl \
28263 maybe-all-stage1-ld \
28264 maybe-all-stage1-libcpp \
28265 maybe-all-stage1-libbanshee \
28266 maybe-all-stage1-libiberty \
28267 maybe-all-stage1-zlib
28270 maybe-configure-stage1-bfd:
28271 maybe-all-stage1-bfd:
28273 @if bfd-bootstrap
28274 maybe-configure-stage1-bfd: configure-stage1-bfd
28275 configure-stage1-bfd:
28276 $(MAKE) stage1-start
28277 @if [ -f stage1-bfd/Makefile ] ; then \
28278 $(STAMP) configure-stage1-bfd ; \
28279 exit 0; \
28280 else \
28281 true ; \
28282 fi ; \
28283 r=`${PWD_COMMAND}`; export r; \
28284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28285 $(HOST_EXPORTS) \
28286 echo Configuring stage 1 in bfd ; \
28287 cd bfd || exit 1; \
28288 case $(srcdir) in \
28289 \.) \
28290 srcdiroption="--srcdir=."; \
28291 libsrcdir=".";; \
28292 /* | [A-Za-z]:[\\/]*) \
28293 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28294 libsrcdir="$$s/bfd";; \
28295 *) \
28296 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28297 libsrcdir="$$s/bfd";; \
28298 esac; \
28299 $(SHELL) $${libsrcdir}/configure \
28300 $(HOST_CONFIGARGS) $${srcdiroption} \
28301 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28302 $(STAMP) ../configure-stage1-bfd
28304 maybe-all-stage1-bfd: all-stage1-bfd
28305 all-stage1-bfd: configure-stage1-bfd
28306 $(MAKE) stage1-start
28307 @r=`${PWD_COMMAND}`; export r; \
28308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28309 $(HOST_EXPORTS) \
28310 cd bfd && \
28311 $(MAKE) $(FLAGS_TO_PASS) \
28312 CFLAGS="$(STAGE1_CFLAGS)" && \
28313 $(STAMP) ../all-stage1-bfd
28314 @endif bfd-bootstrap
28316 maybe-configure-stage1-opcodes:
28317 maybe-all-stage1-opcodes:
28319 @if opcodes-bootstrap
28320 maybe-configure-stage1-opcodes: configure-stage1-opcodes
28321 configure-stage1-opcodes:
28322 $(MAKE) stage1-start
28323 @if [ -f stage1-opcodes/Makefile ] ; then \
28324 $(STAMP) configure-stage1-opcodes ; \
28325 exit 0; \
28326 else \
28327 true ; \
28328 fi ; \
28329 r=`${PWD_COMMAND}`; export r; \
28330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28331 $(HOST_EXPORTS) \
28332 echo Configuring stage 1 in opcodes ; \
28333 cd opcodes || exit 1; \
28334 case $(srcdir) in \
28335 \.) \
28336 srcdiroption="--srcdir=."; \
28337 libsrcdir=".";; \
28338 /* | [A-Za-z]:[\\/]*) \
28339 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
28340 libsrcdir="$$s/opcodes";; \
28341 *) \
28342 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
28343 libsrcdir="$$s/opcodes";; \
28344 esac; \
28345 $(SHELL) $${libsrcdir}/configure \
28346 $(HOST_CONFIGARGS) $${srcdiroption} \
28347 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28348 $(STAMP) ../configure-stage1-opcodes
28350 maybe-all-stage1-opcodes: all-stage1-opcodes
28351 all-stage1-opcodes: configure-stage1-opcodes
28352 $(MAKE) stage1-start
28353 @r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(HOST_EXPORTS) \
28356 cd opcodes && \
28357 $(MAKE) $(FLAGS_TO_PASS) \
28358 CFLAGS="$(STAGE1_CFLAGS)" && \
28359 $(STAMP) ../all-stage1-opcodes
28360 @endif opcodes-bootstrap
28362 maybe-configure-stage1-binutils:
28363 maybe-all-stage1-binutils:
28365 @if binutils-bootstrap
28366 maybe-configure-stage1-binutils: configure-stage1-binutils
28367 configure-stage1-binutils:
28368 $(MAKE) stage1-start
28369 @if [ -f stage1-binutils/Makefile ] ; then \
28370 $(STAMP) configure-stage1-binutils ; \
28371 exit 0; \
28372 else \
28373 true ; \
28374 fi ; \
28375 r=`${PWD_COMMAND}`; export r; \
28376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28377 $(HOST_EXPORTS) \
28378 echo Configuring stage 1 in binutils ; \
28379 cd binutils || exit 1; \
28380 case $(srcdir) in \
28381 \.) \
28382 srcdiroption="--srcdir=."; \
28383 libsrcdir=".";; \
28384 /* | [A-Za-z]:[\\/]*) \
28385 srcdiroption="--srcdir=$(srcdir)/binutils"; \
28386 libsrcdir="$$s/binutils";; \
28387 *) \
28388 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
28389 libsrcdir="$$s/binutils";; \
28390 esac; \
28391 $(SHELL) $${libsrcdir}/configure \
28392 $(HOST_CONFIGARGS) $${srcdiroption} \
28393 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28394 $(STAMP) ../configure-stage1-binutils
28396 maybe-all-stage1-binutils: all-stage1-binutils
28397 all-stage1-binutils: configure-stage1-binutils
28398 $(MAKE) stage1-start
28399 @r=`${PWD_COMMAND}`; export r; \
28400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28401 $(HOST_EXPORTS) \
28402 cd binutils && \
28403 $(MAKE) $(FLAGS_TO_PASS) \
28404 CFLAGS="$(STAGE1_CFLAGS)" && \
28405 $(STAMP) ../all-stage1-binutils
28406 @endif binutils-bootstrap
28408 maybe-configure-stage1-gas:
28409 maybe-all-stage1-gas:
28411 @if gas-bootstrap
28412 maybe-configure-stage1-gas: configure-stage1-gas
28413 configure-stage1-gas:
28414 $(MAKE) stage1-start
28415 @if [ -f stage1-gas/Makefile ] ; then \
28416 $(STAMP) configure-stage1-gas ; \
28417 exit 0; \
28418 else \
28419 true ; \
28420 fi ; \
28421 r=`${PWD_COMMAND}`; export r; \
28422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28423 $(HOST_EXPORTS) \
28424 echo Configuring stage 1 in gas ; \
28425 cd gas || exit 1; \
28426 case $(srcdir) in \
28427 \.) \
28428 srcdiroption="--srcdir=."; \
28429 libsrcdir=".";; \
28430 /* | [A-Za-z]:[\\/]*) \
28431 srcdiroption="--srcdir=$(srcdir)/gas"; \
28432 libsrcdir="$$s/gas";; \
28433 *) \
28434 srcdiroption="--srcdir=../$(srcdir)/gas"; \
28435 libsrcdir="$$s/gas";; \
28436 esac; \
28437 $(SHELL) $${libsrcdir}/configure \
28438 $(HOST_CONFIGARGS) $${srcdiroption} \
28439 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28440 $(STAMP) ../configure-stage1-gas
28442 maybe-all-stage1-gas: all-stage1-gas
28443 all-stage1-gas: configure-stage1-gas
28444 $(MAKE) stage1-start
28445 @r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 $(HOST_EXPORTS) \
28448 cd gas && \
28449 $(MAKE) $(FLAGS_TO_PASS) \
28450 CFLAGS="$(STAGE1_CFLAGS)" && \
28451 $(STAMP) ../all-stage1-gas
28452 @endif gas-bootstrap
28454 maybe-configure-stage1-gcc:
28455 maybe-all-stage1-gcc:
28457 @if gcc-bootstrap
28458 maybe-configure-stage1-gcc: configure-stage1-gcc
28459 configure-stage1-gcc:
28460 $(MAKE) stage1-start
28461 @if [ -f stage1-gcc/Makefile ] ; then \
28462 $(STAMP) configure-stage1-gcc ; \
28463 exit 0; \
28464 else \
28465 true ; \
28466 fi ; \
28467 r=`${PWD_COMMAND}`; export r; \
28468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28469 $(HOST_EXPORTS) \
28470 echo Configuring stage 1 in gcc ; \
28471 cd gcc || exit 1; \
28472 case $(srcdir) in \
28473 \.) \
28474 srcdiroption="--srcdir=."; \
28475 libsrcdir=".";; \
28476 /* | [A-Za-z]:[\\/]*) \
28477 srcdiroption="--srcdir=$(srcdir)/gcc"; \
28478 libsrcdir="$$s/gcc";; \
28479 *) \
28480 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
28481 libsrcdir="$$s/gcc";; \
28482 esac; \
28483 $(SHELL) $${libsrcdir}/configure \
28484 $(HOST_CONFIGARGS) $${srcdiroption} \
28485 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28486 $(STAMP) ../configure-stage1-gcc
28488 maybe-all-stage1-gcc: all-stage1-gcc
28489 all-stage1-gcc: configure-stage1-gcc
28490 $(MAKE) stage1-start
28491 @r=`${PWD_COMMAND}`; export r; \
28492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28493 $(HOST_EXPORTS) \
28494 cd gcc && \
28495 $(MAKE) $(FLAGS_TO_PASS) \
28496 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) && \
28497 $(STAMP) ../all-stage1-gcc
28498 @endif gcc-bootstrap
28500 maybe-configure-stage1-intl:
28501 maybe-all-stage1-intl:
28503 @if intl-bootstrap
28504 maybe-configure-stage1-intl: configure-stage1-intl
28505 configure-stage1-intl:
28506 $(MAKE) stage1-start
28507 @if [ -f stage1-intl/Makefile ] ; then \
28508 $(STAMP) configure-stage1-intl ; \
28509 exit 0; \
28510 else \
28511 true ; \
28512 fi ; \
28513 r=`${PWD_COMMAND}`; export r; \
28514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28515 $(HOST_EXPORTS) \
28516 echo Configuring stage 1 in intl ; \
28517 cd intl || exit 1; \
28518 case $(srcdir) in \
28519 \.) \
28520 srcdiroption="--srcdir=."; \
28521 libsrcdir=".";; \
28522 /* | [A-Za-z]:[\\/]*) \
28523 srcdiroption="--srcdir=$(srcdir)/intl"; \
28524 libsrcdir="$$s/intl";; \
28525 *) \
28526 srcdiroption="--srcdir=../$(srcdir)/intl"; \
28527 libsrcdir="$$s/intl";; \
28528 esac; \
28529 $(SHELL) $${libsrcdir}/configure \
28530 $(HOST_CONFIGARGS) $${srcdiroption} \
28531 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28532 $(STAMP) ../configure-stage1-intl
28534 maybe-all-stage1-intl: all-stage1-intl
28535 all-stage1-intl: configure-stage1-intl
28536 $(MAKE) stage1-start
28537 @r=`${PWD_COMMAND}`; export r; \
28538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28539 $(HOST_EXPORTS) \
28540 cd intl && \
28541 $(MAKE) $(FLAGS_TO_PASS) \
28542 CFLAGS="$(STAGE1_CFLAGS)" && \
28543 $(STAMP) ../all-stage1-intl
28544 @endif intl-bootstrap
28546 maybe-configure-stage1-ld:
28547 maybe-all-stage1-ld:
28549 @if ld-bootstrap
28550 maybe-configure-stage1-ld: configure-stage1-ld
28551 configure-stage1-ld:
28552 $(MAKE) stage1-start
28553 @if [ -f stage1-ld/Makefile ] ; then \
28554 $(STAMP) configure-stage1-ld ; \
28555 exit 0; \
28556 else \
28557 true ; \
28558 fi ; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(HOST_EXPORTS) \
28562 echo Configuring stage 1 in ld ; \
28563 cd ld || exit 1; \
28564 case $(srcdir) in \
28565 \.) \
28566 srcdiroption="--srcdir=."; \
28567 libsrcdir=".";; \
28568 /* | [A-Za-z]:[\\/]*) \
28569 srcdiroption="--srcdir=$(srcdir)/ld"; \
28570 libsrcdir="$$s/ld";; \
28571 *) \
28572 srcdiroption="--srcdir=../$(srcdir)/ld"; \
28573 libsrcdir="$$s/ld";; \
28574 esac; \
28575 $(SHELL) $${libsrcdir}/configure \
28576 $(HOST_CONFIGARGS) $${srcdiroption} \
28577 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28578 $(STAMP) ../configure-stage1-ld
28580 maybe-all-stage1-ld: all-stage1-ld
28581 all-stage1-ld: configure-stage1-ld
28582 $(MAKE) stage1-start
28583 @r=`${PWD_COMMAND}`; export r; \
28584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28585 $(HOST_EXPORTS) \
28586 cd ld && \
28587 $(MAKE) $(FLAGS_TO_PASS) \
28588 CFLAGS="$(STAGE1_CFLAGS)" && \
28589 $(STAMP) ../all-stage1-ld
28590 @endif ld-bootstrap
28592 maybe-configure-stage1-libcpp:
28593 maybe-all-stage1-libcpp:
28595 @if libcpp-bootstrap
28596 maybe-configure-stage1-libcpp: configure-stage1-libcpp
28597 configure-stage1-libcpp:
28598 $(MAKE) stage1-start
28599 @if [ -f stage1-libcpp/Makefile ] ; then \
28600 $(STAMP) configure-stage1-libcpp ; \
28601 exit 0; \
28602 else \
28603 true ; \
28604 fi ; \
28605 r=`${PWD_COMMAND}`; export r; \
28606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28607 $(HOST_EXPORTS) \
28608 echo Configuring stage 1 in libcpp ; \
28609 cd libcpp || exit 1; \
28610 case $(srcdir) in \
28611 \.) \
28612 srcdiroption="--srcdir=."; \
28613 libsrcdir=".";; \
28614 /* | [A-Za-z]:[\\/]*) \
28615 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
28616 libsrcdir="$$s/libcpp";; \
28617 *) \
28618 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
28619 libsrcdir="$$s/libcpp";; \
28620 esac; \
28621 $(SHELL) $${libsrcdir}/configure \
28622 $(HOST_CONFIGARGS) $${srcdiroption} \
28623 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28624 $(STAMP) ../configure-stage1-libcpp
28626 maybe-all-stage1-libcpp: all-stage1-libcpp
28627 all-stage1-libcpp: configure-stage1-libcpp
28628 $(MAKE) stage1-start
28629 @r=`${PWD_COMMAND}`; export r; \
28630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28631 $(HOST_EXPORTS) \
28632 cd libcpp && \
28633 $(MAKE) $(FLAGS_TO_PASS) \
28634 CFLAGS="$(STAGE1_CFLAGS)" && \
28635 $(STAMP) ../all-stage1-libcpp
28636 @endif libcpp-bootstrap
28638 maybe-configure-stage1-libbanshee:
28639 maybe-all-stage1-libbanshee:
28641 @if libbanshee-bootstrap
28642 maybe-configure-stage1-libbanshee: configure-stage1-libbanshee
28643 configure-stage1-libbanshee:
28644 $(MAKE) stage1-start
28645 @if [ -f stage1-libbanshee/Makefile ] ; then \
28646 $(STAMP) configure-stage1-libbanshee ; \
28647 exit 0; \
28648 else \
28649 true ; \
28650 fi ; \
28651 r=`${PWD_COMMAND}`; export r; \
28652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28653 $(HOST_EXPORTS) \
28654 echo Configuring stage 1 in libbanshee ; \
28655 cd libbanshee || exit 1; \
28656 case $(srcdir) in \
28657 \.) \
28658 srcdiroption="--srcdir=."; \
28659 libsrcdir=".";; \
28660 /* | [A-Za-z]:[\\/]*) \
28661 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
28662 libsrcdir="$$s/libbanshee";; \
28663 *) \
28664 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
28665 libsrcdir="$$s/libbanshee";; \
28666 esac; \
28667 $(SHELL) $${libsrcdir}/configure \
28668 $(HOST_CONFIGARGS) $${srcdiroption} \
28669 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28670 $(STAMP) ../configure-stage1-libbanshee
28672 maybe-all-stage1-libbanshee: all-stage1-libbanshee
28673 all-stage1-libbanshee: configure-stage1-libbanshee
28674 $(MAKE) stage1-start
28675 @r=`${PWD_COMMAND}`; export r; \
28676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28677 $(HOST_EXPORTS) \
28678 cd libbanshee && \
28679 $(MAKE) $(FLAGS_TO_PASS) \
28680 CFLAGS="$(STAGE1_CFLAGS)" && \
28681 $(STAMP) ../all-stage1-libbanshee
28682 @endif libbanshee-bootstrap
28684 maybe-configure-stage1-libiberty:
28685 maybe-all-stage1-libiberty:
28687 @if libiberty-bootstrap
28688 maybe-configure-stage1-libiberty: configure-stage1-libiberty
28689 configure-stage1-libiberty:
28690 $(MAKE) stage1-start
28691 @if [ -f stage1-libiberty/Makefile ] ; then \
28692 $(STAMP) configure-stage1-libiberty ; \
28693 exit 0; \
28694 else \
28695 true ; \
28696 fi ; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(HOST_EXPORTS) \
28700 echo Configuring stage 1 in libiberty ; \
28701 cd libiberty || exit 1; \
28702 case $(srcdir) in \
28703 \.) \
28704 srcdiroption="--srcdir=."; \
28705 libsrcdir=".";; \
28706 /* | [A-Za-z]:[\\/]*) \
28707 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
28708 libsrcdir="$$s/libiberty";; \
28709 *) \
28710 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
28711 libsrcdir="$$s/libiberty";; \
28712 esac; \
28713 $(SHELL) $${libsrcdir}/configure \
28714 $(HOST_CONFIGARGS) $${srcdiroption} \
28715 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28716 $(STAMP) ../configure-stage1-libiberty
28718 maybe-all-stage1-libiberty: all-stage1-libiberty
28719 all-stage1-libiberty: configure-stage1-libiberty
28720 $(MAKE) stage1-start
28721 @r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(HOST_EXPORTS) \
28724 cd libiberty && \
28725 $(MAKE) $(FLAGS_TO_PASS) \
28726 CFLAGS="$(STAGE1_CFLAGS)" && \
28727 $(STAMP) ../all-stage1-libiberty
28728 @endif libiberty-bootstrap
28730 maybe-configure-stage1-zlib:
28731 maybe-all-stage1-zlib:
28733 @if zlib-bootstrap
28734 maybe-configure-stage1-zlib: configure-stage1-zlib
28735 configure-stage1-zlib:
28736 $(MAKE) stage1-start
28737 @if [ -f stage1-zlib/Makefile ] ; then \
28738 $(STAMP) configure-stage1-zlib ; \
28739 exit 0; \
28740 else \
28741 true ; \
28742 fi ; \
28743 r=`${PWD_COMMAND}`; export r; \
28744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28745 $(HOST_EXPORTS) \
28746 echo Configuring stage 1 in zlib ; \
28747 cd zlib || exit 1; \
28748 case $(srcdir) in \
28749 \.) \
28750 srcdiroption="--srcdir=."; \
28751 libsrcdir=".";; \
28752 /* | [A-Za-z]:[\\/]*) \
28753 srcdiroption="--srcdir=$(srcdir)/zlib"; \
28754 libsrcdir="$$s/zlib";; \
28755 *) \
28756 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
28757 libsrcdir="$$s/zlib";; \
28758 esac; \
28759 $(SHELL) $${libsrcdir}/configure \
28760 $(HOST_CONFIGARGS) $${srcdiroption} \
28761 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)" && \
28762 $(STAMP) ../configure-stage1-zlib
28764 maybe-all-stage1-zlib: all-stage1-zlib
28765 all-stage1-zlib: configure-stage1-zlib
28766 $(MAKE) stage1-start
28767 @r=`${PWD_COMMAND}`; export r; \
28768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28769 $(HOST_EXPORTS) \
28770 cd zlib && \
28771 $(MAKE) $(FLAGS_TO_PASS) \
28772 CFLAGS="$(STAGE1_CFLAGS)" && \
28773 $(STAMP) ../all-stage1-zlib
28774 @endif zlib-bootstrap
28777 # FIXME: Will not need to be conditional when toplevel bootstrap is the
28778 # only possibility, but now it conflicts with no-bootstrap rules
28779 @if gcc-bootstrap
28784 .PHONY: restage1 touch-stage1 distclean-stage1
28786 # Rules to wipe a stage and all the following ones, used for cleanstrap
28788 distclean-stage1::
28789 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28790 rm -rf configure-stage1-* all-stage1-* stage1-*
28792 # Rules to renew the timestamp on a stage and all the following ones
28794 touch-stage1::
28795 @case `echo configure-stage1-*` in \
28796 'configure-stage1-*') ;; \
28797 *) \
28798 echo '$(STAMP)' configure-stage1-* && \
28799 $(STAMP) configure-stage1-* ;; \
28800 esac ; \
28801 case `echo all-stage1-*` in \
28802 'all-stage1-*') ;; \
28803 *) \
28804 echo '$(STAMP)' all-stage1-* && \
28805 $(STAMP) all-stage1-* ;; \
28806 esac
28808 # After building a stage, touch the following ones
28810 restage1::
28811 rm -rf all-stage1-*
28812 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1
28815 @endif gcc-bootstrap
28818 .PHONY: stage2-start stage2-end
28820 stage2-start::
28821 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
28822 echo stage2 > stage_current ; \
28823 echo stage2 > stage_last
28824 @if bfd
28825 [ -d stage2-bfd ] || mkdir stage2-bfd; \
28826 set stage2-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
28827 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
28828 @endif bfd
28829 @if opcodes
28830 [ -d stage2-opcodes ] || mkdir stage2-opcodes; \
28831 set stage2-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
28832 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
28833 @endif opcodes
28834 @if binutils
28835 [ -d stage2-binutils ] || mkdir stage2-binutils; \
28836 set stage2-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
28837 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
28838 @endif binutils
28839 @if gas
28840 [ -d stage2-gas ] || mkdir stage2-gas; \
28841 set stage2-gas gas ; @CREATE_LINK_TO_DIR@ ; \
28842 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
28843 @endif gas
28844 @if gcc
28845 [ -d stage2-gcc ] || mkdir stage2-gcc; \
28846 set stage2-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
28847 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
28848 @endif gcc
28849 @if intl
28850 [ -d stage2-intl ] || mkdir stage2-intl; \
28851 set stage2-intl intl ; @CREATE_LINK_TO_DIR@ ; \
28852 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
28853 @endif intl
28854 @if ld
28855 [ -d stage2-ld ] || mkdir stage2-ld; \
28856 set stage2-ld ld ; @CREATE_LINK_TO_DIR@ ; \
28857 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
28858 @endif ld
28859 @if libcpp
28860 [ -d stage2-libcpp ] || mkdir stage2-libcpp; \
28861 set stage2-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
28862 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
28863 @endif libcpp
28864 @if libbanshee
28865 [ -d stage2-libbanshee ] || mkdir stage2-libbanshee; \
28866 set stage2-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
28867 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
28868 @endif libbanshee
28869 @if libiberty
28870 [ -d stage2-libiberty ] || mkdir stage2-libiberty; \
28871 set stage2-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
28872 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
28873 @endif libiberty
28874 @if zlib
28875 [ -d stage2-zlib ] || mkdir stage2-zlib; \
28876 set stage2-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
28877 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
28878 @endif zlib
28880 stage2-end::
28881 rm -f stage_current
28882 @if bfd
28883 set bfd stage2-bfd ; @UNDO_LINK_TO_DIR@ ; \
28884 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
28885 @endif bfd
28886 @if opcodes
28887 set opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@ ; \
28888 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
28889 @endif opcodes
28890 @if binutils
28891 set binutils stage2-binutils ; @UNDO_LINK_TO_DIR@ ; \
28892 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
28893 @endif binutils
28894 @if gas
28895 set gas stage2-gas ; @UNDO_LINK_TO_DIR@ ; \
28896 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
28897 @endif gas
28898 @if gcc
28899 set gcc stage2-gcc ; @UNDO_LINK_TO_DIR@ ; \
28900 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
28901 @endif gcc
28902 @if intl
28903 set intl stage2-intl ; @UNDO_LINK_TO_DIR@ ; \
28904 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
28905 @endif intl
28906 @if ld
28907 set ld stage2-ld ; @UNDO_LINK_TO_DIR@ ; \
28908 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
28909 @endif ld
28910 @if libcpp
28911 set libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@ ; \
28912 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
28913 @endif libcpp
28914 @if libbanshee
28915 set libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
28916 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
28917 @endif libbanshee
28918 @if libiberty
28919 set libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@ ; \
28920 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
28921 @endif libiberty
28922 @if zlib
28923 set zlib stage2-zlib ; @UNDO_LINK_TO_DIR@ ; \
28924 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
28925 @endif zlib
28927 # Bubble a bugfix through all the stages up to stage 2. They
28928 # are remade, but not reconfigured. The next stage (if any) will not
28929 # be reconfigured as well.
28930 .PHONY: stage2-bubble
28931 stage2-bubble:: stage1-bubble
28932 @case `echo all-stage2-*` in \
28933 'all-stage2-*') ;; \
28934 *) echo Remaking stage 2 ; rm -f all-stage2-* ;; \
28935 esac ; \
28936 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2
28938 .PHONY: all-stage2
28939 all-stage2: \
28940 maybe-all-stage2-bfd \
28941 maybe-all-stage2-opcodes \
28942 maybe-all-stage2-binutils \
28943 maybe-all-stage2-gas \
28944 maybe-all-stage2-gcc \
28945 maybe-all-stage2-intl \
28946 maybe-all-stage2-ld \
28947 maybe-all-stage2-libcpp \
28948 maybe-all-stage2-libbanshee \
28949 maybe-all-stage2-libiberty \
28950 maybe-all-stage2-zlib
28953 maybe-configure-stage2-bfd:
28954 maybe-all-stage2-bfd:
28956 @if bfd-bootstrap
28957 maybe-configure-stage2-bfd: configure-stage2-bfd
28958 configure-stage2-bfd: maybe-all-stage1-bfd
28959 $(MAKE) stage2-start
28960 @if [ -f stage2-bfd/Makefile ] ; then \
28961 $(STAMP) configure-stage2-bfd ; \
28962 exit 0; \
28963 else \
28964 true ; \
28965 fi ; \
28966 r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(STAGE_HOST_EXPORTS) \
28969 echo Configuring stage 2 in bfd ; \
28970 cd bfd || exit 1; \
28971 case $(srcdir) in \
28972 \.) \
28973 srcdiroption="--srcdir=."; \
28974 libsrcdir=".";; \
28975 /* | [A-Za-z]:[\\/]*) \
28976 srcdiroption="--srcdir=$(srcdir)/bfd"; \
28977 libsrcdir="$$s/bfd";; \
28978 *) \
28979 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
28980 libsrcdir="$$s/bfd";; \
28981 esac; \
28982 $(SHELL) $${libsrcdir}/configure \
28983 $(HOST_CONFIGARGS) $${srcdiroption} \
28984 @stage2_werror_flag@ && \
28985 $(STAMP) ../configure-stage2-bfd
28987 maybe-all-stage2-bfd: all-stage2-bfd
28988 all-stage2-bfd: configure-stage2-bfd
28989 $(MAKE) stage2-start
28990 @r=`${PWD_COMMAND}`; export r; \
28991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28992 $(STAGE_HOST_EXPORTS) \
28993 cd bfd && \
28994 $(MAKE) $(FLAGS_TO_PASS) \
28995 $(POSTSTAGE1_FLAGS_TO_PASS) \
28996 && \
28997 $(STAMP) ../all-stage2-bfd
28998 @endif bfd-bootstrap
29000 maybe-configure-stage2-opcodes:
29001 maybe-all-stage2-opcodes:
29003 @if opcodes-bootstrap
29004 maybe-configure-stage2-opcodes: configure-stage2-opcodes
29005 configure-stage2-opcodes: maybe-all-stage1-opcodes
29006 $(MAKE) stage2-start
29007 @if [ -f stage2-opcodes/Makefile ] ; then \
29008 $(STAMP) configure-stage2-opcodes ; \
29009 exit 0; \
29010 else \
29011 true ; \
29012 fi ; \
29013 r=`${PWD_COMMAND}`; export r; \
29014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29015 $(STAGE_HOST_EXPORTS) \
29016 echo Configuring stage 2 in opcodes ; \
29017 cd opcodes || exit 1; \
29018 case $(srcdir) in \
29019 \.) \
29020 srcdiroption="--srcdir=."; \
29021 libsrcdir=".";; \
29022 /* | [A-Za-z]:[\\/]*) \
29023 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29024 libsrcdir="$$s/opcodes";; \
29025 *) \
29026 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29027 libsrcdir="$$s/opcodes";; \
29028 esac; \
29029 $(SHELL) $${libsrcdir}/configure \
29030 $(HOST_CONFIGARGS) $${srcdiroption} \
29031 @stage2_werror_flag@ && \
29032 $(STAMP) ../configure-stage2-opcodes
29034 maybe-all-stage2-opcodes: all-stage2-opcodes
29035 all-stage2-opcodes: configure-stage2-opcodes
29036 $(MAKE) stage2-start
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(STAGE_HOST_EXPORTS) \
29040 cd opcodes && \
29041 $(MAKE) $(FLAGS_TO_PASS) \
29042 $(POSTSTAGE1_FLAGS_TO_PASS) \
29043 && \
29044 $(STAMP) ../all-stage2-opcodes
29045 @endif opcodes-bootstrap
29047 maybe-configure-stage2-binutils:
29048 maybe-all-stage2-binutils:
29050 @if binutils-bootstrap
29051 maybe-configure-stage2-binutils: configure-stage2-binutils
29052 configure-stage2-binutils: maybe-all-stage1-binutils
29053 $(MAKE) stage2-start
29054 @if [ -f stage2-binutils/Makefile ] ; then \
29055 $(STAMP) configure-stage2-binutils ; \
29056 exit 0; \
29057 else \
29058 true ; \
29059 fi ; \
29060 r=`${PWD_COMMAND}`; export r; \
29061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29062 $(STAGE_HOST_EXPORTS) \
29063 echo Configuring stage 2 in binutils ; \
29064 cd binutils || exit 1; \
29065 case $(srcdir) in \
29066 \.) \
29067 srcdiroption="--srcdir=."; \
29068 libsrcdir=".";; \
29069 /* | [A-Za-z]:[\\/]*) \
29070 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29071 libsrcdir="$$s/binutils";; \
29072 *) \
29073 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29074 libsrcdir="$$s/binutils";; \
29075 esac; \
29076 $(SHELL) $${libsrcdir}/configure \
29077 $(HOST_CONFIGARGS) $${srcdiroption} \
29078 @stage2_werror_flag@ && \
29079 $(STAMP) ../configure-stage2-binutils
29081 maybe-all-stage2-binutils: all-stage2-binutils
29082 all-stage2-binutils: configure-stage2-binutils
29083 $(MAKE) stage2-start
29084 @r=`${PWD_COMMAND}`; export r; \
29085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29086 $(STAGE_HOST_EXPORTS) \
29087 cd binutils && \
29088 $(MAKE) $(FLAGS_TO_PASS) \
29089 $(POSTSTAGE1_FLAGS_TO_PASS) \
29090 && \
29091 $(STAMP) ../all-stage2-binutils
29092 @endif binutils-bootstrap
29094 maybe-configure-stage2-gas:
29095 maybe-all-stage2-gas:
29097 @if gas-bootstrap
29098 maybe-configure-stage2-gas: configure-stage2-gas
29099 configure-stage2-gas: maybe-all-stage1-gas
29100 $(MAKE) stage2-start
29101 @if [ -f stage2-gas/Makefile ] ; then \
29102 $(STAMP) configure-stage2-gas ; \
29103 exit 0; \
29104 else \
29105 true ; \
29106 fi ; \
29107 r=`${PWD_COMMAND}`; export r; \
29108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29109 $(STAGE_HOST_EXPORTS) \
29110 echo Configuring stage 2 in gas ; \
29111 cd gas || exit 1; \
29112 case $(srcdir) in \
29113 \.) \
29114 srcdiroption="--srcdir=."; \
29115 libsrcdir=".";; \
29116 /* | [A-Za-z]:[\\/]*) \
29117 srcdiroption="--srcdir=$(srcdir)/gas"; \
29118 libsrcdir="$$s/gas";; \
29119 *) \
29120 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29121 libsrcdir="$$s/gas";; \
29122 esac; \
29123 $(SHELL) $${libsrcdir}/configure \
29124 $(HOST_CONFIGARGS) $${srcdiroption} \
29125 @stage2_werror_flag@ && \
29126 $(STAMP) ../configure-stage2-gas
29128 maybe-all-stage2-gas: all-stage2-gas
29129 all-stage2-gas: configure-stage2-gas
29130 $(MAKE) stage2-start
29131 @r=`${PWD_COMMAND}`; export r; \
29132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29133 $(STAGE_HOST_EXPORTS) \
29134 cd gas && \
29135 $(MAKE) $(FLAGS_TO_PASS) \
29136 $(POSTSTAGE1_FLAGS_TO_PASS) \
29137 && \
29138 $(STAMP) ../all-stage2-gas
29139 @endif gas-bootstrap
29141 maybe-configure-stage2-gcc:
29142 maybe-all-stage2-gcc:
29144 @if gcc-bootstrap
29145 maybe-configure-stage2-gcc: configure-stage2-gcc
29146 configure-stage2-gcc: maybe-all-stage1-gcc
29147 $(MAKE) stage2-start
29148 @if [ -f stage2-gcc/Makefile ] ; then \
29149 $(STAMP) configure-stage2-gcc ; \
29150 exit 0; \
29151 else \
29152 true ; \
29153 fi ; \
29154 r=`${PWD_COMMAND}`; export r; \
29155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29156 $(STAGE_HOST_EXPORTS) \
29157 echo Configuring stage 2 in gcc ; \
29158 cd gcc || exit 1; \
29159 case $(srcdir) in \
29160 \.) \
29161 srcdiroption="--srcdir=."; \
29162 libsrcdir=".";; \
29163 /* | [A-Za-z]:[\\/]*) \
29164 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29165 libsrcdir="$$s/gcc";; \
29166 *) \
29167 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29168 libsrcdir="$$s/gcc";; \
29169 esac; \
29170 $(SHELL) $${libsrcdir}/configure \
29171 $(HOST_CONFIGARGS) $${srcdiroption} \
29172 @stage2_werror_flag@ && \
29173 $(STAMP) ../configure-stage2-gcc
29175 maybe-all-stage2-gcc: all-stage2-gcc
29176 all-stage2-gcc: configure-stage2-gcc
29177 $(MAKE) stage2-start
29178 @r=`${PWD_COMMAND}`; export r; \
29179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29180 $(STAGE_HOST_EXPORTS) \
29181 cd gcc && \
29182 $(MAKE) $(FLAGS_TO_PASS) \
29183 $(POSTSTAGE1_FLAGS_TO_PASS) \
29184 $(EXTRA_GCC_FLAGS) && \
29185 $(STAMP) ../all-stage2-gcc
29186 @endif gcc-bootstrap
29188 maybe-configure-stage2-intl:
29189 maybe-all-stage2-intl:
29191 @if intl-bootstrap
29192 maybe-configure-stage2-intl: configure-stage2-intl
29193 configure-stage2-intl: maybe-all-stage1-intl
29194 $(MAKE) stage2-start
29195 @if [ -f stage2-intl/Makefile ] ; then \
29196 $(STAMP) configure-stage2-intl ; \
29197 exit 0; \
29198 else \
29199 true ; \
29200 fi ; \
29201 r=`${PWD_COMMAND}`; export r; \
29202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29203 $(STAGE_HOST_EXPORTS) \
29204 echo Configuring stage 2 in intl ; \
29205 cd intl || exit 1; \
29206 case $(srcdir) in \
29207 \.) \
29208 srcdiroption="--srcdir=."; \
29209 libsrcdir=".";; \
29210 /* | [A-Za-z]:[\\/]*) \
29211 srcdiroption="--srcdir=$(srcdir)/intl"; \
29212 libsrcdir="$$s/intl";; \
29213 *) \
29214 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29215 libsrcdir="$$s/intl";; \
29216 esac; \
29217 $(SHELL) $${libsrcdir}/configure \
29218 $(HOST_CONFIGARGS) $${srcdiroption} \
29219 @stage2_werror_flag@ && \
29220 $(STAMP) ../configure-stage2-intl
29222 maybe-all-stage2-intl: all-stage2-intl
29223 all-stage2-intl: configure-stage2-intl
29224 $(MAKE) stage2-start
29225 @r=`${PWD_COMMAND}`; export r; \
29226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29227 $(STAGE_HOST_EXPORTS) \
29228 cd intl && \
29229 $(MAKE) $(FLAGS_TO_PASS) \
29230 $(POSTSTAGE1_FLAGS_TO_PASS) \
29231 && \
29232 $(STAMP) ../all-stage2-intl
29233 @endif intl-bootstrap
29235 maybe-configure-stage2-ld:
29236 maybe-all-stage2-ld:
29238 @if ld-bootstrap
29239 maybe-configure-stage2-ld: configure-stage2-ld
29240 configure-stage2-ld: maybe-all-stage1-ld
29241 $(MAKE) stage2-start
29242 @if [ -f stage2-ld/Makefile ] ; then \
29243 $(STAMP) configure-stage2-ld ; \
29244 exit 0; \
29245 else \
29246 true ; \
29247 fi ; \
29248 r=`${PWD_COMMAND}`; export r; \
29249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29250 $(STAGE_HOST_EXPORTS) \
29251 echo Configuring stage 2 in ld ; \
29252 cd ld || exit 1; \
29253 case $(srcdir) in \
29254 \.) \
29255 srcdiroption="--srcdir=."; \
29256 libsrcdir=".";; \
29257 /* | [A-Za-z]:[\\/]*) \
29258 srcdiroption="--srcdir=$(srcdir)/ld"; \
29259 libsrcdir="$$s/ld";; \
29260 *) \
29261 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29262 libsrcdir="$$s/ld";; \
29263 esac; \
29264 $(SHELL) $${libsrcdir}/configure \
29265 $(HOST_CONFIGARGS) $${srcdiroption} \
29266 @stage2_werror_flag@ && \
29267 $(STAMP) ../configure-stage2-ld
29269 maybe-all-stage2-ld: all-stage2-ld
29270 all-stage2-ld: configure-stage2-ld
29271 $(MAKE) stage2-start
29272 @r=`${PWD_COMMAND}`; export r; \
29273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29274 $(STAGE_HOST_EXPORTS) \
29275 cd ld && \
29276 $(MAKE) $(FLAGS_TO_PASS) \
29277 $(POSTSTAGE1_FLAGS_TO_PASS) \
29278 && \
29279 $(STAMP) ../all-stage2-ld
29280 @endif ld-bootstrap
29282 maybe-configure-stage2-libcpp:
29283 maybe-all-stage2-libcpp:
29285 @if libcpp-bootstrap
29286 maybe-configure-stage2-libcpp: configure-stage2-libcpp
29287 configure-stage2-libcpp: maybe-all-stage1-libcpp
29288 $(MAKE) stage2-start
29289 @if [ -f stage2-libcpp/Makefile ] ; then \
29290 $(STAMP) configure-stage2-libcpp ; \
29291 exit 0; \
29292 else \
29293 true ; \
29294 fi ; \
29295 r=`${PWD_COMMAND}`; export r; \
29296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29297 $(STAGE_HOST_EXPORTS) \
29298 echo Configuring stage 2 in libcpp ; \
29299 cd libcpp || exit 1; \
29300 case $(srcdir) in \
29301 \.) \
29302 srcdiroption="--srcdir=."; \
29303 libsrcdir=".";; \
29304 /* | [A-Za-z]:[\\/]*) \
29305 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
29306 libsrcdir="$$s/libcpp";; \
29307 *) \
29308 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
29309 libsrcdir="$$s/libcpp";; \
29310 esac; \
29311 $(SHELL) $${libsrcdir}/configure \
29312 $(HOST_CONFIGARGS) $${srcdiroption} \
29313 @stage2_werror_flag@ && \
29314 $(STAMP) ../configure-stage2-libcpp
29316 maybe-all-stage2-libcpp: all-stage2-libcpp
29317 all-stage2-libcpp: configure-stage2-libcpp
29318 $(MAKE) stage2-start
29319 @r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(STAGE_HOST_EXPORTS) \
29322 cd libcpp && \
29323 $(MAKE) $(FLAGS_TO_PASS) \
29324 $(POSTSTAGE1_FLAGS_TO_PASS) \
29325 && \
29326 $(STAMP) ../all-stage2-libcpp
29327 @endif libcpp-bootstrap
29329 maybe-configure-stage2-libbanshee:
29330 maybe-all-stage2-libbanshee:
29332 @if libbanshee-bootstrap
29333 maybe-configure-stage2-libbanshee: configure-stage2-libbanshee
29334 configure-stage2-libbanshee: maybe-all-stage1-libbanshee
29335 $(MAKE) stage2-start
29336 @if [ -f stage2-libbanshee/Makefile ] ; then \
29337 $(STAMP) configure-stage2-libbanshee ; \
29338 exit 0; \
29339 else \
29340 true ; \
29341 fi ; \
29342 r=`${PWD_COMMAND}`; export r; \
29343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29344 $(STAGE_HOST_EXPORTS) \
29345 echo Configuring stage 2 in libbanshee ; \
29346 cd libbanshee || exit 1; \
29347 case $(srcdir) in \
29348 \.) \
29349 srcdiroption="--srcdir=."; \
29350 libsrcdir=".";; \
29351 /* | [A-Za-z]:[\\/]*) \
29352 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
29353 libsrcdir="$$s/libbanshee";; \
29354 *) \
29355 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
29356 libsrcdir="$$s/libbanshee";; \
29357 esac; \
29358 $(SHELL) $${libsrcdir}/configure \
29359 $(HOST_CONFIGARGS) $${srcdiroption} \
29360 @stage2_werror_flag@ && \
29361 $(STAMP) ../configure-stage2-libbanshee
29363 maybe-all-stage2-libbanshee: all-stage2-libbanshee
29364 all-stage2-libbanshee: configure-stage2-libbanshee
29365 $(MAKE) stage2-start
29366 @r=`${PWD_COMMAND}`; export r; \
29367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29368 $(STAGE_HOST_EXPORTS) \
29369 cd libbanshee && \
29370 $(MAKE) $(FLAGS_TO_PASS) \
29371 $(POSTSTAGE1_FLAGS_TO_PASS) \
29372 && \
29373 $(STAMP) ../all-stage2-libbanshee
29374 @endif libbanshee-bootstrap
29376 maybe-configure-stage2-libiberty:
29377 maybe-all-stage2-libiberty:
29379 @if libiberty-bootstrap
29380 maybe-configure-stage2-libiberty: configure-stage2-libiberty
29381 configure-stage2-libiberty: maybe-all-stage1-libiberty
29382 $(MAKE) stage2-start
29383 @if [ -f stage2-libiberty/Makefile ] ; then \
29384 $(STAMP) configure-stage2-libiberty ; \
29385 exit 0; \
29386 else \
29387 true ; \
29388 fi ; \
29389 r=`${PWD_COMMAND}`; export r; \
29390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29391 $(STAGE_HOST_EXPORTS) \
29392 echo Configuring stage 2 in libiberty ; \
29393 cd libiberty || exit 1; \
29394 case $(srcdir) in \
29395 \.) \
29396 srcdiroption="--srcdir=."; \
29397 libsrcdir=".";; \
29398 /* | [A-Za-z]:[\\/]*) \
29399 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
29400 libsrcdir="$$s/libiberty";; \
29401 *) \
29402 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
29403 libsrcdir="$$s/libiberty";; \
29404 esac; \
29405 $(SHELL) $${libsrcdir}/configure \
29406 $(HOST_CONFIGARGS) $${srcdiroption} \
29407 @stage2_werror_flag@ && \
29408 $(STAMP) ../configure-stage2-libiberty
29410 maybe-all-stage2-libiberty: all-stage2-libiberty
29411 all-stage2-libiberty: configure-stage2-libiberty
29412 $(MAKE) stage2-start
29413 @r=`${PWD_COMMAND}`; export r; \
29414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29415 $(STAGE_HOST_EXPORTS) \
29416 cd libiberty && \
29417 $(MAKE) $(FLAGS_TO_PASS) \
29418 $(POSTSTAGE1_FLAGS_TO_PASS) \
29419 && \
29420 $(STAMP) ../all-stage2-libiberty
29421 @endif libiberty-bootstrap
29423 maybe-configure-stage2-zlib:
29424 maybe-all-stage2-zlib:
29426 @if zlib-bootstrap
29427 maybe-configure-stage2-zlib: configure-stage2-zlib
29428 configure-stage2-zlib: maybe-all-stage1-zlib
29429 $(MAKE) stage2-start
29430 @if [ -f stage2-zlib/Makefile ] ; then \
29431 $(STAMP) configure-stage2-zlib ; \
29432 exit 0; \
29433 else \
29434 true ; \
29435 fi ; \
29436 r=`${PWD_COMMAND}`; export r; \
29437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29438 $(STAGE_HOST_EXPORTS) \
29439 echo Configuring stage 2 in zlib ; \
29440 cd zlib || exit 1; \
29441 case $(srcdir) in \
29442 \.) \
29443 srcdiroption="--srcdir=."; \
29444 libsrcdir=".";; \
29445 /* | [A-Za-z]:[\\/]*) \
29446 srcdiroption="--srcdir=$(srcdir)/zlib"; \
29447 libsrcdir="$$s/zlib";; \
29448 *) \
29449 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
29450 libsrcdir="$$s/zlib";; \
29451 esac; \
29452 $(SHELL) $${libsrcdir}/configure \
29453 $(HOST_CONFIGARGS) $${srcdiroption} \
29454 @stage2_werror_flag@ && \
29455 $(STAMP) ../configure-stage2-zlib
29457 maybe-all-stage2-zlib: all-stage2-zlib
29458 all-stage2-zlib: configure-stage2-zlib
29459 $(MAKE) stage2-start
29460 @r=`${PWD_COMMAND}`; export r; \
29461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29462 $(STAGE_HOST_EXPORTS) \
29463 cd zlib && \
29464 $(MAKE) $(FLAGS_TO_PASS) \
29465 $(POSTSTAGE1_FLAGS_TO_PASS) \
29466 && \
29467 $(STAMP) ../all-stage2-zlib
29468 @endif zlib-bootstrap
29471 # FIXME: Will not need to be conditional when toplevel bootstrap is the
29472 # only possibility, but now it conflicts with no-bootstrap rules
29473 @if gcc-bootstrap
29477 .PHONY: bootstrap2
29478 bootstrap2: stage2-bubble all
29481 .PHONY: restage2 touch-stage2 distclean-stage2
29483 # Rules to wipe a stage and all the following ones, used for cleanstrap
29484 distclean-stage1:: distclean-stage2
29485 distclean-stage2::
29486 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29487 rm -rf configure-stage2-* all-stage2-* stage2-*
29489 # Rules to renew the timestamp on a stage and all the following ones
29490 touch-stage1:: touch-stage2
29491 touch-stage2::
29492 @case `echo configure-stage2-*` in \
29493 'configure-stage2-*') ;; \
29494 *) \
29495 echo '$(STAMP)' configure-stage2-* && \
29496 $(STAMP) configure-stage2-* ;; \
29497 esac ; \
29498 case `echo all-stage2-*` in \
29499 'all-stage2-*') ;; \
29500 *) \
29501 echo '$(STAMP)' all-stage2-* && \
29502 $(STAMP) all-stage2-* ;; \
29503 esac
29505 # After building a stage, touch the following ones
29506 restage1:: touch-stage2
29507 restage2::
29508 rm -rf all-stage2-*
29509 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2
29512 @endif gcc-bootstrap
29515 .PHONY: stage3-start stage3-end
29517 stage3-start::
29518 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
29519 echo stage3 > stage_current ; \
29520 echo stage3 > stage_last
29521 @if bfd
29522 [ -d stage3-bfd ] || mkdir stage3-bfd; \
29523 set stage3-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
29524 set stage2-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
29525 @endif bfd
29526 @if opcodes
29527 [ -d stage3-opcodes ] || mkdir stage3-opcodes; \
29528 set stage3-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
29529 set stage2-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
29530 @endif opcodes
29531 @if binutils
29532 [ -d stage3-binutils ] || mkdir stage3-binutils; \
29533 set stage3-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
29534 set stage2-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
29535 @endif binutils
29536 @if gas
29537 [ -d stage3-gas ] || mkdir stage3-gas; \
29538 set stage3-gas gas ; @CREATE_LINK_TO_DIR@ ; \
29539 set stage2-gas prev-gas ; @CREATE_LINK_TO_DIR@
29540 @endif gas
29541 @if gcc
29542 [ -d stage3-gcc ] || mkdir stage3-gcc; \
29543 set stage3-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
29544 set stage2-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
29545 @endif gcc
29546 @if intl
29547 [ -d stage3-intl ] || mkdir stage3-intl; \
29548 set stage3-intl intl ; @CREATE_LINK_TO_DIR@ ; \
29549 set stage2-intl prev-intl ; @CREATE_LINK_TO_DIR@
29550 @endif intl
29551 @if ld
29552 [ -d stage3-ld ] || mkdir stage3-ld; \
29553 set stage3-ld ld ; @CREATE_LINK_TO_DIR@ ; \
29554 set stage2-ld prev-ld ; @CREATE_LINK_TO_DIR@
29555 @endif ld
29556 @if libcpp
29557 [ -d stage3-libcpp ] || mkdir stage3-libcpp; \
29558 set stage3-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
29559 set stage2-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
29560 @endif libcpp
29561 @if libbanshee
29562 [ -d stage3-libbanshee ] || mkdir stage3-libbanshee; \
29563 set stage3-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
29564 set stage2-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
29565 @endif libbanshee
29566 @if libiberty
29567 [ -d stage3-libiberty ] || mkdir stage3-libiberty; \
29568 set stage3-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
29569 set stage2-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
29570 @endif libiberty
29571 @if zlib
29572 [ -d stage3-zlib ] || mkdir stage3-zlib; \
29573 set stage3-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
29574 set stage2-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
29575 @endif zlib
29577 stage3-end::
29578 rm -f stage_current
29579 @if bfd
29580 set bfd stage3-bfd ; @UNDO_LINK_TO_DIR@ ; \
29581 set prev-bfd stage2-bfd ; @UNDO_LINK_TO_DIR@
29582 @endif bfd
29583 @if opcodes
29584 set opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@ ; \
29585 set prev-opcodes stage2-opcodes ; @UNDO_LINK_TO_DIR@
29586 @endif opcodes
29587 @if binutils
29588 set binutils stage3-binutils ; @UNDO_LINK_TO_DIR@ ; \
29589 set prev-binutils stage2-binutils ; @UNDO_LINK_TO_DIR@
29590 @endif binutils
29591 @if gas
29592 set gas stage3-gas ; @UNDO_LINK_TO_DIR@ ; \
29593 set prev-gas stage2-gas ; @UNDO_LINK_TO_DIR@
29594 @endif gas
29595 @if gcc
29596 set gcc stage3-gcc ; @UNDO_LINK_TO_DIR@ ; \
29597 set prev-gcc stage2-gcc ; @UNDO_LINK_TO_DIR@
29598 @endif gcc
29599 @if intl
29600 set intl stage3-intl ; @UNDO_LINK_TO_DIR@ ; \
29601 set prev-intl stage2-intl ; @UNDO_LINK_TO_DIR@
29602 @endif intl
29603 @if ld
29604 set ld stage3-ld ; @UNDO_LINK_TO_DIR@ ; \
29605 set prev-ld stage2-ld ; @UNDO_LINK_TO_DIR@
29606 @endif ld
29607 @if libcpp
29608 set libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@ ; \
29609 set prev-libcpp stage2-libcpp ; @UNDO_LINK_TO_DIR@
29610 @endif libcpp
29611 @if libbanshee
29612 set libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
29613 set prev-libbanshee stage2-libbanshee ; @UNDO_LINK_TO_DIR@
29614 @endif libbanshee
29615 @if libiberty
29616 set libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@ ; \
29617 set prev-libiberty stage2-libiberty ; @UNDO_LINK_TO_DIR@
29618 @endif libiberty
29619 @if zlib
29620 set zlib stage3-zlib ; @UNDO_LINK_TO_DIR@ ; \
29621 set prev-zlib stage2-zlib ; @UNDO_LINK_TO_DIR@
29622 @endif zlib
29624 # Bubble a bugfix through all the stages up to stage 3. They
29625 # are remade, but not reconfigured. The next stage (if any) will not
29626 # be reconfigured as well.
29627 .PHONY: stage3-bubble
29628 stage3-bubble:: stage2-bubble
29629 @case `echo all-stage3-*` in \
29630 'all-stage3-*') ;; \
29631 *) echo Remaking stage 3 ; rm -f all-stage3-* ;; \
29632 esac ; \
29633 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3
29635 .PHONY: all-stage3
29636 all-stage3: \
29637 maybe-all-stage3-bfd \
29638 maybe-all-stage3-opcodes \
29639 maybe-all-stage3-binutils \
29640 maybe-all-stage3-gas \
29641 maybe-all-stage3-gcc \
29642 maybe-all-stage3-intl \
29643 maybe-all-stage3-ld \
29644 maybe-all-stage3-libcpp \
29645 maybe-all-stage3-libbanshee \
29646 maybe-all-stage3-libiberty \
29647 maybe-all-stage3-zlib
29650 maybe-configure-stage3-bfd:
29651 maybe-all-stage3-bfd:
29653 @if bfd-bootstrap
29654 maybe-configure-stage3-bfd: configure-stage3-bfd
29655 configure-stage3-bfd: maybe-all-stage2-bfd
29656 $(MAKE) stage3-start
29657 @if [ -f stage3-bfd/Makefile ] ; then \
29658 $(STAMP) configure-stage3-bfd ; \
29659 exit 0; \
29660 else \
29661 true ; \
29662 fi ; \
29663 r=`${PWD_COMMAND}`; export r; \
29664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29665 $(STAGE_HOST_EXPORTS) \
29666 echo Configuring stage 3 in bfd ; \
29667 cd bfd || exit 1; \
29668 case $(srcdir) in \
29669 \.) \
29670 srcdiroption="--srcdir=."; \
29671 libsrcdir=".";; \
29672 /* | [A-Za-z]:[\\/]*) \
29673 srcdiroption="--srcdir=$(srcdir)/bfd"; \
29674 libsrcdir="$$s/bfd";; \
29675 *) \
29676 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
29677 libsrcdir="$$s/bfd";; \
29678 esac; \
29679 $(SHELL) $${libsrcdir}/configure \
29680 $(HOST_CONFIGARGS) $${srcdiroption} \
29681 @stage2_werror_flag@ && \
29682 $(STAMP) ../configure-stage3-bfd
29684 maybe-all-stage3-bfd: all-stage3-bfd
29685 all-stage3-bfd: configure-stage3-bfd
29686 $(MAKE) stage3-start
29687 @r=`${PWD_COMMAND}`; export r; \
29688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29689 $(STAGE_HOST_EXPORTS) \
29690 cd bfd && \
29691 $(MAKE) $(FLAGS_TO_PASS) \
29692 $(POSTSTAGE1_FLAGS_TO_PASS) \
29693 && \
29694 $(STAMP) ../all-stage3-bfd
29695 @endif bfd-bootstrap
29697 maybe-configure-stage3-opcodes:
29698 maybe-all-stage3-opcodes:
29700 @if opcodes-bootstrap
29701 maybe-configure-stage3-opcodes: configure-stage3-opcodes
29702 configure-stage3-opcodes: maybe-all-stage2-opcodes
29703 $(MAKE) stage3-start
29704 @if [ -f stage3-opcodes/Makefile ] ; then \
29705 $(STAMP) configure-stage3-opcodes ; \
29706 exit 0; \
29707 else \
29708 true ; \
29709 fi ; \
29710 r=`${PWD_COMMAND}`; export r; \
29711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29712 $(STAGE_HOST_EXPORTS) \
29713 echo Configuring stage 3 in opcodes ; \
29714 cd opcodes || exit 1; \
29715 case $(srcdir) in \
29716 \.) \
29717 srcdiroption="--srcdir=."; \
29718 libsrcdir=".";; \
29719 /* | [A-Za-z]:[\\/]*) \
29720 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
29721 libsrcdir="$$s/opcodes";; \
29722 *) \
29723 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
29724 libsrcdir="$$s/opcodes";; \
29725 esac; \
29726 $(SHELL) $${libsrcdir}/configure \
29727 $(HOST_CONFIGARGS) $${srcdiroption} \
29728 @stage2_werror_flag@ && \
29729 $(STAMP) ../configure-stage3-opcodes
29731 maybe-all-stage3-opcodes: all-stage3-opcodes
29732 all-stage3-opcodes: configure-stage3-opcodes
29733 $(MAKE) stage3-start
29734 @r=`${PWD_COMMAND}`; export r; \
29735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29736 $(STAGE_HOST_EXPORTS) \
29737 cd opcodes && \
29738 $(MAKE) $(FLAGS_TO_PASS) \
29739 $(POSTSTAGE1_FLAGS_TO_PASS) \
29740 && \
29741 $(STAMP) ../all-stage3-opcodes
29742 @endif opcodes-bootstrap
29744 maybe-configure-stage3-binutils:
29745 maybe-all-stage3-binutils:
29747 @if binutils-bootstrap
29748 maybe-configure-stage3-binutils: configure-stage3-binutils
29749 configure-stage3-binutils: maybe-all-stage2-binutils
29750 $(MAKE) stage3-start
29751 @if [ -f stage3-binutils/Makefile ] ; then \
29752 $(STAMP) configure-stage3-binutils ; \
29753 exit 0; \
29754 else \
29755 true ; \
29756 fi ; \
29757 r=`${PWD_COMMAND}`; export r; \
29758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29759 $(STAGE_HOST_EXPORTS) \
29760 echo Configuring stage 3 in binutils ; \
29761 cd binutils || exit 1; \
29762 case $(srcdir) in \
29763 \.) \
29764 srcdiroption="--srcdir=."; \
29765 libsrcdir=".";; \
29766 /* | [A-Za-z]:[\\/]*) \
29767 srcdiroption="--srcdir=$(srcdir)/binutils"; \
29768 libsrcdir="$$s/binutils";; \
29769 *) \
29770 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
29771 libsrcdir="$$s/binutils";; \
29772 esac; \
29773 $(SHELL) $${libsrcdir}/configure \
29774 $(HOST_CONFIGARGS) $${srcdiroption} \
29775 @stage2_werror_flag@ && \
29776 $(STAMP) ../configure-stage3-binutils
29778 maybe-all-stage3-binutils: all-stage3-binutils
29779 all-stage3-binutils: configure-stage3-binutils
29780 $(MAKE) stage3-start
29781 @r=`${PWD_COMMAND}`; export r; \
29782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29783 $(STAGE_HOST_EXPORTS) \
29784 cd binutils && \
29785 $(MAKE) $(FLAGS_TO_PASS) \
29786 $(POSTSTAGE1_FLAGS_TO_PASS) \
29787 && \
29788 $(STAMP) ../all-stage3-binutils
29789 @endif binutils-bootstrap
29791 maybe-configure-stage3-gas:
29792 maybe-all-stage3-gas:
29794 @if gas-bootstrap
29795 maybe-configure-stage3-gas: configure-stage3-gas
29796 configure-stage3-gas: maybe-all-stage2-gas
29797 $(MAKE) stage3-start
29798 @if [ -f stage3-gas/Makefile ] ; then \
29799 $(STAMP) configure-stage3-gas ; \
29800 exit 0; \
29801 else \
29802 true ; \
29803 fi ; \
29804 r=`${PWD_COMMAND}`; export r; \
29805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29806 $(STAGE_HOST_EXPORTS) \
29807 echo Configuring stage 3 in gas ; \
29808 cd gas || exit 1; \
29809 case $(srcdir) in \
29810 \.) \
29811 srcdiroption="--srcdir=."; \
29812 libsrcdir=".";; \
29813 /* | [A-Za-z]:[\\/]*) \
29814 srcdiroption="--srcdir=$(srcdir)/gas"; \
29815 libsrcdir="$$s/gas";; \
29816 *) \
29817 srcdiroption="--srcdir=../$(srcdir)/gas"; \
29818 libsrcdir="$$s/gas";; \
29819 esac; \
29820 $(SHELL) $${libsrcdir}/configure \
29821 $(HOST_CONFIGARGS) $${srcdiroption} \
29822 @stage2_werror_flag@ && \
29823 $(STAMP) ../configure-stage3-gas
29825 maybe-all-stage3-gas: all-stage3-gas
29826 all-stage3-gas: configure-stage3-gas
29827 $(MAKE) stage3-start
29828 @r=`${PWD_COMMAND}`; export r; \
29829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29830 $(STAGE_HOST_EXPORTS) \
29831 cd gas && \
29832 $(MAKE) $(FLAGS_TO_PASS) \
29833 $(POSTSTAGE1_FLAGS_TO_PASS) \
29834 && \
29835 $(STAMP) ../all-stage3-gas
29836 @endif gas-bootstrap
29838 maybe-configure-stage3-gcc:
29839 maybe-all-stage3-gcc:
29841 @if gcc-bootstrap
29842 maybe-configure-stage3-gcc: configure-stage3-gcc
29843 configure-stage3-gcc: maybe-all-stage2-gcc
29844 $(MAKE) stage3-start
29845 @if [ -f stage3-gcc/Makefile ] ; then \
29846 $(STAMP) configure-stage3-gcc ; \
29847 exit 0; \
29848 else \
29849 true ; \
29850 fi ; \
29851 r=`${PWD_COMMAND}`; export r; \
29852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29853 $(STAGE_HOST_EXPORTS) \
29854 echo Configuring stage 3 in gcc ; \
29855 cd gcc || exit 1; \
29856 case $(srcdir) in \
29857 \.) \
29858 srcdiroption="--srcdir=."; \
29859 libsrcdir=".";; \
29860 /* | [A-Za-z]:[\\/]*) \
29861 srcdiroption="--srcdir=$(srcdir)/gcc"; \
29862 libsrcdir="$$s/gcc";; \
29863 *) \
29864 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
29865 libsrcdir="$$s/gcc";; \
29866 esac; \
29867 $(SHELL) $${libsrcdir}/configure \
29868 $(HOST_CONFIGARGS) $${srcdiroption} \
29869 @stage2_werror_flag@ && \
29870 $(STAMP) ../configure-stage3-gcc
29872 maybe-all-stage3-gcc: all-stage3-gcc
29873 all-stage3-gcc: configure-stage3-gcc
29874 $(MAKE) stage3-start
29875 @r=`${PWD_COMMAND}`; export r; \
29876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29877 $(STAGE_HOST_EXPORTS) \
29878 cd gcc && \
29879 $(MAKE) $(FLAGS_TO_PASS) \
29880 $(POSTSTAGE1_FLAGS_TO_PASS) \
29881 $(EXTRA_GCC_FLAGS) && \
29882 $(STAMP) ../all-stage3-gcc
29883 @endif gcc-bootstrap
29885 maybe-configure-stage3-intl:
29886 maybe-all-stage3-intl:
29888 @if intl-bootstrap
29889 maybe-configure-stage3-intl: configure-stage3-intl
29890 configure-stage3-intl: maybe-all-stage2-intl
29891 $(MAKE) stage3-start
29892 @if [ -f stage3-intl/Makefile ] ; then \
29893 $(STAMP) configure-stage3-intl ; \
29894 exit 0; \
29895 else \
29896 true ; \
29897 fi ; \
29898 r=`${PWD_COMMAND}`; export r; \
29899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29900 $(STAGE_HOST_EXPORTS) \
29901 echo Configuring stage 3 in intl ; \
29902 cd intl || exit 1; \
29903 case $(srcdir) in \
29904 \.) \
29905 srcdiroption="--srcdir=."; \
29906 libsrcdir=".";; \
29907 /* | [A-Za-z]:[\\/]*) \
29908 srcdiroption="--srcdir=$(srcdir)/intl"; \
29909 libsrcdir="$$s/intl";; \
29910 *) \
29911 srcdiroption="--srcdir=../$(srcdir)/intl"; \
29912 libsrcdir="$$s/intl";; \
29913 esac; \
29914 $(SHELL) $${libsrcdir}/configure \
29915 $(HOST_CONFIGARGS) $${srcdiroption} \
29916 @stage2_werror_flag@ && \
29917 $(STAMP) ../configure-stage3-intl
29919 maybe-all-stage3-intl: all-stage3-intl
29920 all-stage3-intl: configure-stage3-intl
29921 $(MAKE) stage3-start
29922 @r=`${PWD_COMMAND}`; export r; \
29923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29924 $(STAGE_HOST_EXPORTS) \
29925 cd intl && \
29926 $(MAKE) $(FLAGS_TO_PASS) \
29927 $(POSTSTAGE1_FLAGS_TO_PASS) \
29928 && \
29929 $(STAMP) ../all-stage3-intl
29930 @endif intl-bootstrap
29932 maybe-configure-stage3-ld:
29933 maybe-all-stage3-ld:
29935 @if ld-bootstrap
29936 maybe-configure-stage3-ld: configure-stage3-ld
29937 configure-stage3-ld: maybe-all-stage2-ld
29938 $(MAKE) stage3-start
29939 @if [ -f stage3-ld/Makefile ] ; then \
29940 $(STAMP) configure-stage3-ld ; \
29941 exit 0; \
29942 else \
29943 true ; \
29944 fi ; \
29945 r=`${PWD_COMMAND}`; export r; \
29946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29947 $(STAGE_HOST_EXPORTS) \
29948 echo Configuring stage 3 in ld ; \
29949 cd ld || exit 1; \
29950 case $(srcdir) in \
29951 \.) \
29952 srcdiroption="--srcdir=."; \
29953 libsrcdir=".";; \
29954 /* | [A-Za-z]:[\\/]*) \
29955 srcdiroption="--srcdir=$(srcdir)/ld"; \
29956 libsrcdir="$$s/ld";; \
29957 *) \
29958 srcdiroption="--srcdir=../$(srcdir)/ld"; \
29959 libsrcdir="$$s/ld";; \
29960 esac; \
29961 $(SHELL) $${libsrcdir}/configure \
29962 $(HOST_CONFIGARGS) $${srcdiroption} \
29963 @stage2_werror_flag@ && \
29964 $(STAMP) ../configure-stage3-ld
29966 maybe-all-stage3-ld: all-stage3-ld
29967 all-stage3-ld: configure-stage3-ld
29968 $(MAKE) stage3-start
29969 @r=`${PWD_COMMAND}`; export r; \
29970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29971 $(STAGE_HOST_EXPORTS) \
29972 cd ld && \
29973 $(MAKE) $(FLAGS_TO_PASS) \
29974 $(POSTSTAGE1_FLAGS_TO_PASS) \
29975 && \
29976 $(STAMP) ../all-stage3-ld
29977 @endif ld-bootstrap
29979 maybe-configure-stage3-libcpp:
29980 maybe-all-stage3-libcpp:
29982 @if libcpp-bootstrap
29983 maybe-configure-stage3-libcpp: configure-stage3-libcpp
29984 configure-stage3-libcpp: maybe-all-stage2-libcpp
29985 $(MAKE) stage3-start
29986 @if [ -f stage3-libcpp/Makefile ] ; then \
29987 $(STAMP) configure-stage3-libcpp ; \
29988 exit 0; \
29989 else \
29990 true ; \
29991 fi ; \
29992 r=`${PWD_COMMAND}`; export r; \
29993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29994 $(STAGE_HOST_EXPORTS) \
29995 echo Configuring stage 3 in libcpp ; \
29996 cd libcpp || exit 1; \
29997 case $(srcdir) in \
29998 \.) \
29999 srcdiroption="--srcdir=."; \
30000 libsrcdir=".";; \
30001 /* | [A-Za-z]:[\\/]*) \
30002 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30003 libsrcdir="$$s/libcpp";; \
30004 *) \
30005 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30006 libsrcdir="$$s/libcpp";; \
30007 esac; \
30008 $(SHELL) $${libsrcdir}/configure \
30009 $(HOST_CONFIGARGS) $${srcdiroption} \
30010 @stage2_werror_flag@ && \
30011 $(STAMP) ../configure-stage3-libcpp
30013 maybe-all-stage3-libcpp: all-stage3-libcpp
30014 all-stage3-libcpp: configure-stage3-libcpp
30015 $(MAKE) stage3-start
30016 @r=`${PWD_COMMAND}`; export r; \
30017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30018 $(STAGE_HOST_EXPORTS) \
30019 cd libcpp && \
30020 $(MAKE) $(FLAGS_TO_PASS) \
30021 $(POSTSTAGE1_FLAGS_TO_PASS) \
30022 && \
30023 $(STAMP) ../all-stage3-libcpp
30024 @endif libcpp-bootstrap
30026 maybe-configure-stage3-libbanshee:
30027 maybe-all-stage3-libbanshee:
30029 @if libbanshee-bootstrap
30030 maybe-configure-stage3-libbanshee: configure-stage3-libbanshee
30031 configure-stage3-libbanshee: maybe-all-stage2-libbanshee
30032 $(MAKE) stage3-start
30033 @if [ -f stage3-libbanshee/Makefile ] ; then \
30034 $(STAMP) configure-stage3-libbanshee ; \
30035 exit 0; \
30036 else \
30037 true ; \
30038 fi ; \
30039 r=`${PWD_COMMAND}`; export r; \
30040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30041 $(STAGE_HOST_EXPORTS) \
30042 echo Configuring stage 3 in libbanshee ; \
30043 cd libbanshee || exit 1; \
30044 case $(srcdir) in \
30045 \.) \
30046 srcdiroption="--srcdir=."; \
30047 libsrcdir=".";; \
30048 /* | [A-Za-z]:[\\/]*) \
30049 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
30050 libsrcdir="$$s/libbanshee";; \
30051 *) \
30052 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
30053 libsrcdir="$$s/libbanshee";; \
30054 esac; \
30055 $(SHELL) $${libsrcdir}/configure \
30056 $(HOST_CONFIGARGS) $${srcdiroption} \
30057 @stage2_werror_flag@ && \
30058 $(STAMP) ../configure-stage3-libbanshee
30060 maybe-all-stage3-libbanshee: all-stage3-libbanshee
30061 all-stage3-libbanshee: configure-stage3-libbanshee
30062 $(MAKE) stage3-start
30063 @r=`${PWD_COMMAND}`; export r; \
30064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30065 $(STAGE_HOST_EXPORTS) \
30066 cd libbanshee && \
30067 $(MAKE) $(FLAGS_TO_PASS) \
30068 $(POSTSTAGE1_FLAGS_TO_PASS) \
30069 && \
30070 $(STAMP) ../all-stage3-libbanshee
30071 @endif libbanshee-bootstrap
30073 maybe-configure-stage3-libiberty:
30074 maybe-all-stage3-libiberty:
30076 @if libiberty-bootstrap
30077 maybe-configure-stage3-libiberty: configure-stage3-libiberty
30078 configure-stage3-libiberty: maybe-all-stage2-libiberty
30079 $(MAKE) stage3-start
30080 @if [ -f stage3-libiberty/Makefile ] ; then \
30081 $(STAMP) configure-stage3-libiberty ; \
30082 exit 0; \
30083 else \
30084 true ; \
30085 fi ; \
30086 r=`${PWD_COMMAND}`; export r; \
30087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30088 $(STAGE_HOST_EXPORTS) \
30089 echo Configuring stage 3 in libiberty ; \
30090 cd libiberty || exit 1; \
30091 case $(srcdir) in \
30092 \.) \
30093 srcdiroption="--srcdir=."; \
30094 libsrcdir=".";; \
30095 /* | [A-Za-z]:[\\/]*) \
30096 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30097 libsrcdir="$$s/libiberty";; \
30098 *) \
30099 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30100 libsrcdir="$$s/libiberty";; \
30101 esac; \
30102 $(SHELL) $${libsrcdir}/configure \
30103 $(HOST_CONFIGARGS) $${srcdiroption} \
30104 @stage2_werror_flag@ && \
30105 $(STAMP) ../configure-stage3-libiberty
30107 maybe-all-stage3-libiberty: all-stage3-libiberty
30108 all-stage3-libiberty: configure-stage3-libiberty
30109 $(MAKE) stage3-start
30110 @r=`${PWD_COMMAND}`; export r; \
30111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30112 $(STAGE_HOST_EXPORTS) \
30113 cd libiberty && \
30114 $(MAKE) $(FLAGS_TO_PASS) \
30115 $(POSTSTAGE1_FLAGS_TO_PASS) \
30116 && \
30117 $(STAMP) ../all-stage3-libiberty
30118 @endif libiberty-bootstrap
30120 maybe-configure-stage3-zlib:
30121 maybe-all-stage3-zlib:
30123 @if zlib-bootstrap
30124 maybe-configure-stage3-zlib: configure-stage3-zlib
30125 configure-stage3-zlib: maybe-all-stage2-zlib
30126 $(MAKE) stage3-start
30127 @if [ -f stage3-zlib/Makefile ] ; then \
30128 $(STAMP) configure-stage3-zlib ; \
30129 exit 0; \
30130 else \
30131 true ; \
30132 fi ; \
30133 r=`${PWD_COMMAND}`; export r; \
30134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30135 $(STAGE_HOST_EXPORTS) \
30136 echo Configuring stage 3 in zlib ; \
30137 cd zlib || exit 1; \
30138 case $(srcdir) in \
30139 \.) \
30140 srcdiroption="--srcdir=."; \
30141 libsrcdir=".";; \
30142 /* | [A-Za-z]:[\\/]*) \
30143 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30144 libsrcdir="$$s/zlib";; \
30145 *) \
30146 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30147 libsrcdir="$$s/zlib";; \
30148 esac; \
30149 $(SHELL) $${libsrcdir}/configure \
30150 $(HOST_CONFIGARGS) $${srcdiroption} \
30151 @stage2_werror_flag@ && \
30152 $(STAMP) ../configure-stage3-zlib
30154 maybe-all-stage3-zlib: all-stage3-zlib
30155 all-stage3-zlib: configure-stage3-zlib
30156 $(MAKE) stage3-start
30157 @r=`${PWD_COMMAND}`; export r; \
30158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30159 $(STAGE_HOST_EXPORTS) \
30160 cd zlib && \
30161 $(MAKE) $(FLAGS_TO_PASS) \
30162 $(POSTSTAGE1_FLAGS_TO_PASS) \
30163 && \
30164 $(STAMP) ../all-stage3-zlib
30165 @endif zlib-bootstrap
30168 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30169 # only possibility, but now it conflicts with no-bootstrap rules
30170 @if gcc-bootstrap
30172 compare: all-stage3-gcc
30173 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30174 @r=`${PWD_COMMAND}`; export r; \
30175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30176 rm -f .bad_compare ; \
30177 cd stage3-gcc; \
30178 files=`find . -name "*$(objext)" -print` ; \
30179 cd .. ; \
30180 for file in $${files} ; do \
30181 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
30182 @do_compare@ > /dev/null 2>&1; \
30183 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30184 done ; \
30185 if [ -f .bad_compare ]; then \
30186 echo "Bootstrap comparison failure!"; \
30187 cat .bad_compare; \
30188 exit 1; \
30189 else \
30190 true; \
30191 fi ; \
30192 $(STAMP) compare
30196 .PHONY: bootstrap
30197 bootstrap: stage3-bubble compare all
30200 .PHONY: restage3 touch-stage3 distclean-stage3
30202 # Rules to wipe a stage and all the following ones, used for cleanstrap
30203 distclean-stage2:: distclean-stage3
30204 distclean-stage3::
30205 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30206 rm -rf configure-stage3-* all-stage3-* stage3-* compare
30208 # Rules to renew the timestamp on a stage and all the following ones
30209 touch-stage2:: touch-stage3
30210 touch-stage3::
30211 @case `echo configure-stage3-*` in \
30212 'configure-stage3-*') ;; \
30213 *) \
30214 echo '$(STAMP)' configure-stage3-* && \
30215 $(STAMP) configure-stage3-* ;; \
30216 esac ; \
30217 case `echo all-stage3-*` in \
30218 'all-stage3-*') ;; \
30219 *) \
30220 echo '$(STAMP)' all-stage3-* && \
30221 $(STAMP) all-stage3-* ;; \
30222 esac
30224 # After building a stage, touch the following ones
30225 restage2:: touch-stage3
30226 restage3::
30227 rm -rf all-stage3-* compare
30228 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare
30231 .PHONY: cleanstrap
30232 cleanstrap: distclean-stage1 bootstrap
30234 @endif gcc-bootstrap
30237 .PHONY: stage4-start stage4-end
30239 stage4-start::
30240 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30241 echo stage4 > stage_current ; \
30242 echo stage4 > stage_last
30243 @if bfd
30244 [ -d stage4-bfd ] || mkdir stage4-bfd; \
30245 set stage4-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30246 set stage3-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30247 @endif bfd
30248 @if opcodes
30249 [ -d stage4-opcodes ] || mkdir stage4-opcodes; \
30250 set stage4-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30251 set stage3-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30252 @endif opcodes
30253 @if binutils
30254 [ -d stage4-binutils ] || mkdir stage4-binutils; \
30255 set stage4-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30256 set stage3-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30257 @endif binutils
30258 @if gas
30259 [ -d stage4-gas ] || mkdir stage4-gas; \
30260 set stage4-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30261 set stage3-gas prev-gas ; @CREATE_LINK_TO_DIR@
30262 @endif gas
30263 @if gcc
30264 [ -d stage4-gcc ] || mkdir stage4-gcc; \
30265 set stage4-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30266 set stage3-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30267 @endif gcc
30268 @if intl
30269 [ -d stage4-intl ] || mkdir stage4-intl; \
30270 set stage4-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30271 set stage3-intl prev-intl ; @CREATE_LINK_TO_DIR@
30272 @endif intl
30273 @if ld
30274 [ -d stage4-ld ] || mkdir stage4-ld; \
30275 set stage4-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30276 set stage3-ld prev-ld ; @CREATE_LINK_TO_DIR@
30277 @endif ld
30278 @if libcpp
30279 [ -d stage4-libcpp ] || mkdir stage4-libcpp; \
30280 set stage4-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
30281 set stage3-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
30282 @endif libcpp
30283 @if libbanshee
30284 [ -d stage4-libbanshee ] || mkdir stage4-libbanshee; \
30285 set stage4-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
30286 set stage3-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
30287 @endif libbanshee
30288 @if libiberty
30289 [ -d stage4-libiberty ] || mkdir stage4-libiberty; \
30290 set stage4-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
30291 set stage3-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
30292 @endif libiberty
30293 @if zlib
30294 [ -d stage4-zlib ] || mkdir stage4-zlib; \
30295 set stage4-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
30296 set stage3-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
30297 @endif zlib
30299 stage4-end::
30300 rm -f stage_current
30301 @if bfd
30302 set bfd stage4-bfd ; @UNDO_LINK_TO_DIR@ ; \
30303 set prev-bfd stage3-bfd ; @UNDO_LINK_TO_DIR@
30304 @endif bfd
30305 @if opcodes
30306 set opcodes stage4-opcodes ; @UNDO_LINK_TO_DIR@ ; \
30307 set prev-opcodes stage3-opcodes ; @UNDO_LINK_TO_DIR@
30308 @endif opcodes
30309 @if binutils
30310 set binutils stage4-binutils ; @UNDO_LINK_TO_DIR@ ; \
30311 set prev-binutils stage3-binutils ; @UNDO_LINK_TO_DIR@
30312 @endif binutils
30313 @if gas
30314 set gas stage4-gas ; @UNDO_LINK_TO_DIR@ ; \
30315 set prev-gas stage3-gas ; @UNDO_LINK_TO_DIR@
30316 @endif gas
30317 @if gcc
30318 set gcc stage4-gcc ; @UNDO_LINK_TO_DIR@ ; \
30319 set prev-gcc stage3-gcc ; @UNDO_LINK_TO_DIR@
30320 @endif gcc
30321 @if intl
30322 set intl stage4-intl ; @UNDO_LINK_TO_DIR@ ; \
30323 set prev-intl stage3-intl ; @UNDO_LINK_TO_DIR@
30324 @endif intl
30325 @if ld
30326 set ld stage4-ld ; @UNDO_LINK_TO_DIR@ ; \
30327 set prev-ld stage3-ld ; @UNDO_LINK_TO_DIR@
30328 @endif ld
30329 @if libcpp
30330 set libcpp stage4-libcpp ; @UNDO_LINK_TO_DIR@ ; \
30331 set prev-libcpp stage3-libcpp ; @UNDO_LINK_TO_DIR@
30332 @endif libcpp
30333 @if libbanshee
30334 set libbanshee stage4-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
30335 set prev-libbanshee stage3-libbanshee ; @UNDO_LINK_TO_DIR@
30336 @endif libbanshee
30337 @if libiberty
30338 set libiberty stage4-libiberty ; @UNDO_LINK_TO_DIR@ ; \
30339 set prev-libiberty stage3-libiberty ; @UNDO_LINK_TO_DIR@
30340 @endif libiberty
30341 @if zlib
30342 set zlib stage4-zlib ; @UNDO_LINK_TO_DIR@ ; \
30343 set prev-zlib stage3-zlib ; @UNDO_LINK_TO_DIR@
30344 @endif zlib
30346 # Bubble a bugfix through all the stages up to stage 4. They
30347 # are remade, but not reconfigured. The next stage (if any) will not
30348 # be reconfigured as well.
30349 .PHONY: stage4-bubble
30350 stage4-bubble:: stage3-bubble
30351 @case `echo all-stage4-*` in \
30352 'all-stage4-*') ;; \
30353 *) echo Remaking stage 4 ; rm -f all-stage4-* ;; \
30354 esac ; \
30355 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4
30357 .PHONY: all-stage4
30358 all-stage4: \
30359 maybe-all-stage4-bfd \
30360 maybe-all-stage4-opcodes \
30361 maybe-all-stage4-binutils \
30362 maybe-all-stage4-gas \
30363 maybe-all-stage4-gcc \
30364 maybe-all-stage4-intl \
30365 maybe-all-stage4-ld \
30366 maybe-all-stage4-libcpp \
30367 maybe-all-stage4-libbanshee \
30368 maybe-all-stage4-libiberty \
30369 maybe-all-stage4-zlib
30372 maybe-configure-stage4-bfd:
30373 maybe-all-stage4-bfd:
30375 @if bfd-bootstrap
30376 maybe-configure-stage4-bfd: configure-stage4-bfd
30377 configure-stage4-bfd: maybe-all-stage3-bfd
30378 $(MAKE) stage4-start
30379 @if [ -f stage4-bfd/Makefile ] ; then \
30380 $(STAMP) configure-stage4-bfd ; \
30381 exit 0; \
30382 else \
30383 true ; \
30384 fi ; \
30385 r=`${PWD_COMMAND}`; export r; \
30386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30387 $(STAGE_HOST_EXPORTS) \
30388 echo Configuring stage 4 in bfd ; \
30389 cd bfd || exit 1; \
30390 case $(srcdir) in \
30391 \.) \
30392 srcdiroption="--srcdir=."; \
30393 libsrcdir=".";; \
30394 /* | [A-Za-z]:[\\/]*) \
30395 srcdiroption="--srcdir=$(srcdir)/bfd"; \
30396 libsrcdir="$$s/bfd";; \
30397 *) \
30398 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
30399 libsrcdir="$$s/bfd";; \
30400 esac; \
30401 $(SHELL) $${libsrcdir}/configure \
30402 $(HOST_CONFIGARGS) $${srcdiroption} \
30403 @stage2_werror_flag@ && \
30404 $(STAMP) ../configure-stage4-bfd
30406 maybe-all-stage4-bfd: all-stage4-bfd
30407 all-stage4-bfd: configure-stage4-bfd
30408 $(MAKE) stage4-start
30409 @r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 $(STAGE_HOST_EXPORTS) \
30412 cd bfd && \
30413 $(MAKE) $(FLAGS_TO_PASS) \
30414 $(POSTSTAGE1_FLAGS_TO_PASS) \
30415 && \
30416 $(STAMP) ../all-stage4-bfd
30417 @endif bfd-bootstrap
30419 maybe-configure-stage4-opcodes:
30420 maybe-all-stage4-opcodes:
30422 @if opcodes-bootstrap
30423 maybe-configure-stage4-opcodes: configure-stage4-opcodes
30424 configure-stage4-opcodes: maybe-all-stage3-opcodes
30425 $(MAKE) stage4-start
30426 @if [ -f stage4-opcodes/Makefile ] ; then \
30427 $(STAMP) configure-stage4-opcodes ; \
30428 exit 0; \
30429 else \
30430 true ; \
30431 fi ; \
30432 r=`${PWD_COMMAND}`; export r; \
30433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30434 $(STAGE_HOST_EXPORTS) \
30435 echo Configuring stage 4 in opcodes ; \
30436 cd opcodes || exit 1; \
30437 case $(srcdir) in \
30438 \.) \
30439 srcdiroption="--srcdir=."; \
30440 libsrcdir=".";; \
30441 /* | [A-Za-z]:[\\/]*) \
30442 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
30443 libsrcdir="$$s/opcodes";; \
30444 *) \
30445 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
30446 libsrcdir="$$s/opcodes";; \
30447 esac; \
30448 $(SHELL) $${libsrcdir}/configure \
30449 $(HOST_CONFIGARGS) $${srcdiroption} \
30450 @stage2_werror_flag@ && \
30451 $(STAMP) ../configure-stage4-opcodes
30453 maybe-all-stage4-opcodes: all-stage4-opcodes
30454 all-stage4-opcodes: configure-stage4-opcodes
30455 $(MAKE) stage4-start
30456 @r=`${PWD_COMMAND}`; export r; \
30457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30458 $(STAGE_HOST_EXPORTS) \
30459 cd opcodes && \
30460 $(MAKE) $(FLAGS_TO_PASS) \
30461 $(POSTSTAGE1_FLAGS_TO_PASS) \
30462 && \
30463 $(STAMP) ../all-stage4-opcodes
30464 @endif opcodes-bootstrap
30466 maybe-configure-stage4-binutils:
30467 maybe-all-stage4-binutils:
30469 @if binutils-bootstrap
30470 maybe-configure-stage4-binutils: configure-stage4-binutils
30471 configure-stage4-binutils: maybe-all-stage3-binutils
30472 $(MAKE) stage4-start
30473 @if [ -f stage4-binutils/Makefile ] ; then \
30474 $(STAMP) configure-stage4-binutils ; \
30475 exit 0; \
30476 else \
30477 true ; \
30478 fi ; \
30479 r=`${PWD_COMMAND}`; export r; \
30480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30481 $(STAGE_HOST_EXPORTS) \
30482 echo Configuring stage 4 in binutils ; \
30483 cd binutils || exit 1; \
30484 case $(srcdir) in \
30485 \.) \
30486 srcdiroption="--srcdir=."; \
30487 libsrcdir=".";; \
30488 /* | [A-Za-z]:[\\/]*) \
30489 srcdiroption="--srcdir=$(srcdir)/binutils"; \
30490 libsrcdir="$$s/binutils";; \
30491 *) \
30492 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
30493 libsrcdir="$$s/binutils";; \
30494 esac; \
30495 $(SHELL) $${libsrcdir}/configure \
30496 $(HOST_CONFIGARGS) $${srcdiroption} \
30497 @stage2_werror_flag@ && \
30498 $(STAMP) ../configure-stage4-binutils
30500 maybe-all-stage4-binutils: all-stage4-binutils
30501 all-stage4-binutils: configure-stage4-binutils
30502 $(MAKE) stage4-start
30503 @r=`${PWD_COMMAND}`; export r; \
30504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30505 $(STAGE_HOST_EXPORTS) \
30506 cd binutils && \
30507 $(MAKE) $(FLAGS_TO_PASS) \
30508 $(POSTSTAGE1_FLAGS_TO_PASS) \
30509 && \
30510 $(STAMP) ../all-stage4-binutils
30511 @endif binutils-bootstrap
30513 maybe-configure-stage4-gas:
30514 maybe-all-stage4-gas:
30516 @if gas-bootstrap
30517 maybe-configure-stage4-gas: configure-stage4-gas
30518 configure-stage4-gas: maybe-all-stage3-gas
30519 $(MAKE) stage4-start
30520 @if [ -f stage4-gas/Makefile ] ; then \
30521 $(STAMP) configure-stage4-gas ; \
30522 exit 0; \
30523 else \
30524 true ; \
30525 fi ; \
30526 r=`${PWD_COMMAND}`; export r; \
30527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30528 $(STAGE_HOST_EXPORTS) \
30529 echo Configuring stage 4 in gas ; \
30530 cd gas || exit 1; \
30531 case $(srcdir) in \
30532 \.) \
30533 srcdiroption="--srcdir=."; \
30534 libsrcdir=".";; \
30535 /* | [A-Za-z]:[\\/]*) \
30536 srcdiroption="--srcdir=$(srcdir)/gas"; \
30537 libsrcdir="$$s/gas";; \
30538 *) \
30539 srcdiroption="--srcdir=../$(srcdir)/gas"; \
30540 libsrcdir="$$s/gas";; \
30541 esac; \
30542 $(SHELL) $${libsrcdir}/configure \
30543 $(HOST_CONFIGARGS) $${srcdiroption} \
30544 @stage2_werror_flag@ && \
30545 $(STAMP) ../configure-stage4-gas
30547 maybe-all-stage4-gas: all-stage4-gas
30548 all-stage4-gas: configure-stage4-gas
30549 $(MAKE) stage4-start
30550 @r=`${PWD_COMMAND}`; export r; \
30551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30552 $(STAGE_HOST_EXPORTS) \
30553 cd gas && \
30554 $(MAKE) $(FLAGS_TO_PASS) \
30555 $(POSTSTAGE1_FLAGS_TO_PASS) \
30556 && \
30557 $(STAMP) ../all-stage4-gas
30558 @endif gas-bootstrap
30560 maybe-configure-stage4-gcc:
30561 maybe-all-stage4-gcc:
30563 @if gcc-bootstrap
30564 maybe-configure-stage4-gcc: configure-stage4-gcc
30565 configure-stage4-gcc: maybe-all-stage3-gcc
30566 $(MAKE) stage4-start
30567 @if [ -f stage4-gcc/Makefile ] ; then \
30568 $(STAMP) configure-stage4-gcc ; \
30569 exit 0; \
30570 else \
30571 true ; \
30572 fi ; \
30573 r=`${PWD_COMMAND}`; export r; \
30574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30575 $(STAGE_HOST_EXPORTS) \
30576 echo Configuring stage 4 in gcc ; \
30577 cd gcc || exit 1; \
30578 case $(srcdir) in \
30579 \.) \
30580 srcdiroption="--srcdir=."; \
30581 libsrcdir=".";; \
30582 /* | [A-Za-z]:[\\/]*) \
30583 srcdiroption="--srcdir=$(srcdir)/gcc"; \
30584 libsrcdir="$$s/gcc";; \
30585 *) \
30586 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
30587 libsrcdir="$$s/gcc";; \
30588 esac; \
30589 $(SHELL) $${libsrcdir}/configure \
30590 $(HOST_CONFIGARGS) $${srcdiroption} \
30591 @stage2_werror_flag@ && \
30592 $(STAMP) ../configure-stage4-gcc
30594 maybe-all-stage4-gcc: all-stage4-gcc
30595 all-stage4-gcc: configure-stage4-gcc
30596 $(MAKE) stage4-start
30597 @r=`${PWD_COMMAND}`; export r; \
30598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30599 $(STAGE_HOST_EXPORTS) \
30600 cd gcc && \
30601 $(MAKE) $(FLAGS_TO_PASS) \
30602 $(POSTSTAGE1_FLAGS_TO_PASS) \
30603 $(EXTRA_GCC_FLAGS) && \
30604 $(STAMP) ../all-stage4-gcc
30605 @endif gcc-bootstrap
30607 maybe-configure-stage4-intl:
30608 maybe-all-stage4-intl:
30610 @if intl-bootstrap
30611 maybe-configure-stage4-intl: configure-stage4-intl
30612 configure-stage4-intl: maybe-all-stage3-intl
30613 $(MAKE) stage4-start
30614 @if [ -f stage4-intl/Makefile ] ; then \
30615 $(STAMP) configure-stage4-intl ; \
30616 exit 0; \
30617 else \
30618 true ; \
30619 fi ; \
30620 r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 $(STAGE_HOST_EXPORTS) \
30623 echo Configuring stage 4 in intl ; \
30624 cd intl || exit 1; \
30625 case $(srcdir) in \
30626 \.) \
30627 srcdiroption="--srcdir=."; \
30628 libsrcdir=".";; \
30629 /* | [A-Za-z]:[\\/]*) \
30630 srcdiroption="--srcdir=$(srcdir)/intl"; \
30631 libsrcdir="$$s/intl";; \
30632 *) \
30633 srcdiroption="--srcdir=../$(srcdir)/intl"; \
30634 libsrcdir="$$s/intl";; \
30635 esac; \
30636 $(SHELL) $${libsrcdir}/configure \
30637 $(HOST_CONFIGARGS) $${srcdiroption} \
30638 @stage2_werror_flag@ && \
30639 $(STAMP) ../configure-stage4-intl
30641 maybe-all-stage4-intl: all-stage4-intl
30642 all-stage4-intl: configure-stage4-intl
30643 $(MAKE) stage4-start
30644 @r=`${PWD_COMMAND}`; export r; \
30645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30646 $(STAGE_HOST_EXPORTS) \
30647 cd intl && \
30648 $(MAKE) $(FLAGS_TO_PASS) \
30649 $(POSTSTAGE1_FLAGS_TO_PASS) \
30650 && \
30651 $(STAMP) ../all-stage4-intl
30652 @endif intl-bootstrap
30654 maybe-configure-stage4-ld:
30655 maybe-all-stage4-ld:
30657 @if ld-bootstrap
30658 maybe-configure-stage4-ld: configure-stage4-ld
30659 configure-stage4-ld: maybe-all-stage3-ld
30660 $(MAKE) stage4-start
30661 @if [ -f stage4-ld/Makefile ] ; then \
30662 $(STAMP) configure-stage4-ld ; \
30663 exit 0; \
30664 else \
30665 true ; \
30666 fi ; \
30667 r=`${PWD_COMMAND}`; export r; \
30668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30669 $(STAGE_HOST_EXPORTS) \
30670 echo Configuring stage 4 in ld ; \
30671 cd ld || exit 1; \
30672 case $(srcdir) in \
30673 \.) \
30674 srcdiroption="--srcdir=."; \
30675 libsrcdir=".";; \
30676 /* | [A-Za-z]:[\\/]*) \
30677 srcdiroption="--srcdir=$(srcdir)/ld"; \
30678 libsrcdir="$$s/ld";; \
30679 *) \
30680 srcdiroption="--srcdir=../$(srcdir)/ld"; \
30681 libsrcdir="$$s/ld";; \
30682 esac; \
30683 $(SHELL) $${libsrcdir}/configure \
30684 $(HOST_CONFIGARGS) $${srcdiroption} \
30685 @stage2_werror_flag@ && \
30686 $(STAMP) ../configure-stage4-ld
30688 maybe-all-stage4-ld: all-stage4-ld
30689 all-stage4-ld: configure-stage4-ld
30690 $(MAKE) stage4-start
30691 @r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(STAGE_HOST_EXPORTS) \
30694 cd ld && \
30695 $(MAKE) $(FLAGS_TO_PASS) \
30696 $(POSTSTAGE1_FLAGS_TO_PASS) \
30697 && \
30698 $(STAMP) ../all-stage4-ld
30699 @endif ld-bootstrap
30701 maybe-configure-stage4-libcpp:
30702 maybe-all-stage4-libcpp:
30704 @if libcpp-bootstrap
30705 maybe-configure-stage4-libcpp: configure-stage4-libcpp
30706 configure-stage4-libcpp: maybe-all-stage3-libcpp
30707 $(MAKE) stage4-start
30708 @if [ -f stage4-libcpp/Makefile ] ; then \
30709 $(STAMP) configure-stage4-libcpp ; \
30710 exit 0; \
30711 else \
30712 true ; \
30713 fi ; \
30714 r=`${PWD_COMMAND}`; export r; \
30715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30716 $(STAGE_HOST_EXPORTS) \
30717 echo Configuring stage 4 in libcpp ; \
30718 cd libcpp || exit 1; \
30719 case $(srcdir) in \
30720 \.) \
30721 srcdiroption="--srcdir=."; \
30722 libsrcdir=".";; \
30723 /* | [A-Za-z]:[\\/]*) \
30724 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
30725 libsrcdir="$$s/libcpp";; \
30726 *) \
30727 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
30728 libsrcdir="$$s/libcpp";; \
30729 esac; \
30730 $(SHELL) $${libsrcdir}/configure \
30731 $(HOST_CONFIGARGS) $${srcdiroption} \
30732 @stage2_werror_flag@ && \
30733 $(STAMP) ../configure-stage4-libcpp
30735 maybe-all-stage4-libcpp: all-stage4-libcpp
30736 all-stage4-libcpp: configure-stage4-libcpp
30737 $(MAKE) stage4-start
30738 @r=`${PWD_COMMAND}`; export r; \
30739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30740 $(STAGE_HOST_EXPORTS) \
30741 cd libcpp && \
30742 $(MAKE) $(FLAGS_TO_PASS) \
30743 $(POSTSTAGE1_FLAGS_TO_PASS) \
30744 && \
30745 $(STAMP) ../all-stage4-libcpp
30746 @endif libcpp-bootstrap
30748 maybe-configure-stage4-libbanshee:
30749 maybe-all-stage4-libbanshee:
30751 @if libbanshee-bootstrap
30752 maybe-configure-stage4-libbanshee: configure-stage4-libbanshee
30753 configure-stage4-libbanshee: maybe-all-stage3-libbanshee
30754 $(MAKE) stage4-start
30755 @if [ -f stage4-libbanshee/Makefile ] ; then \
30756 $(STAMP) configure-stage4-libbanshee ; \
30757 exit 0; \
30758 else \
30759 true ; \
30760 fi ; \
30761 r=`${PWD_COMMAND}`; export r; \
30762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30763 $(STAGE_HOST_EXPORTS) \
30764 echo Configuring stage 4 in libbanshee ; \
30765 cd libbanshee || exit 1; \
30766 case $(srcdir) in \
30767 \.) \
30768 srcdiroption="--srcdir=."; \
30769 libsrcdir=".";; \
30770 /* | [A-Za-z]:[\\/]*) \
30771 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
30772 libsrcdir="$$s/libbanshee";; \
30773 *) \
30774 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
30775 libsrcdir="$$s/libbanshee";; \
30776 esac; \
30777 $(SHELL) $${libsrcdir}/configure \
30778 $(HOST_CONFIGARGS) $${srcdiroption} \
30779 @stage2_werror_flag@ && \
30780 $(STAMP) ../configure-stage4-libbanshee
30782 maybe-all-stage4-libbanshee: all-stage4-libbanshee
30783 all-stage4-libbanshee: configure-stage4-libbanshee
30784 $(MAKE) stage4-start
30785 @r=`${PWD_COMMAND}`; export r; \
30786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30787 $(STAGE_HOST_EXPORTS) \
30788 cd libbanshee && \
30789 $(MAKE) $(FLAGS_TO_PASS) \
30790 $(POSTSTAGE1_FLAGS_TO_PASS) \
30791 && \
30792 $(STAMP) ../all-stage4-libbanshee
30793 @endif libbanshee-bootstrap
30795 maybe-configure-stage4-libiberty:
30796 maybe-all-stage4-libiberty:
30798 @if libiberty-bootstrap
30799 maybe-configure-stage4-libiberty: configure-stage4-libiberty
30800 configure-stage4-libiberty: maybe-all-stage3-libiberty
30801 $(MAKE) stage4-start
30802 @if [ -f stage4-libiberty/Makefile ] ; then \
30803 $(STAMP) configure-stage4-libiberty ; \
30804 exit 0; \
30805 else \
30806 true ; \
30807 fi ; \
30808 r=`${PWD_COMMAND}`; export r; \
30809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30810 $(STAGE_HOST_EXPORTS) \
30811 echo Configuring stage 4 in libiberty ; \
30812 cd libiberty || exit 1; \
30813 case $(srcdir) in \
30814 \.) \
30815 srcdiroption="--srcdir=."; \
30816 libsrcdir=".";; \
30817 /* | [A-Za-z]:[\\/]*) \
30818 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
30819 libsrcdir="$$s/libiberty";; \
30820 *) \
30821 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
30822 libsrcdir="$$s/libiberty";; \
30823 esac; \
30824 $(SHELL) $${libsrcdir}/configure \
30825 $(HOST_CONFIGARGS) $${srcdiroption} \
30826 @stage2_werror_flag@ && \
30827 $(STAMP) ../configure-stage4-libiberty
30829 maybe-all-stage4-libiberty: all-stage4-libiberty
30830 all-stage4-libiberty: configure-stage4-libiberty
30831 $(MAKE) stage4-start
30832 @r=`${PWD_COMMAND}`; export r; \
30833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30834 $(STAGE_HOST_EXPORTS) \
30835 cd libiberty && \
30836 $(MAKE) $(FLAGS_TO_PASS) \
30837 $(POSTSTAGE1_FLAGS_TO_PASS) \
30838 && \
30839 $(STAMP) ../all-stage4-libiberty
30840 @endif libiberty-bootstrap
30842 maybe-configure-stage4-zlib:
30843 maybe-all-stage4-zlib:
30845 @if zlib-bootstrap
30846 maybe-configure-stage4-zlib: configure-stage4-zlib
30847 configure-stage4-zlib: maybe-all-stage3-zlib
30848 $(MAKE) stage4-start
30849 @if [ -f stage4-zlib/Makefile ] ; then \
30850 $(STAMP) configure-stage4-zlib ; \
30851 exit 0; \
30852 else \
30853 true ; \
30854 fi ; \
30855 r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 $(STAGE_HOST_EXPORTS) \
30858 echo Configuring stage 4 in zlib ; \
30859 cd zlib || exit 1; \
30860 case $(srcdir) in \
30861 \.) \
30862 srcdiroption="--srcdir=."; \
30863 libsrcdir=".";; \
30864 /* | [A-Za-z]:[\\/]*) \
30865 srcdiroption="--srcdir=$(srcdir)/zlib"; \
30866 libsrcdir="$$s/zlib";; \
30867 *) \
30868 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
30869 libsrcdir="$$s/zlib";; \
30870 esac; \
30871 $(SHELL) $${libsrcdir}/configure \
30872 $(HOST_CONFIGARGS) $${srcdiroption} \
30873 @stage2_werror_flag@ && \
30874 $(STAMP) ../configure-stage4-zlib
30876 maybe-all-stage4-zlib: all-stage4-zlib
30877 all-stage4-zlib: configure-stage4-zlib
30878 $(MAKE) stage4-start
30879 @r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(STAGE_HOST_EXPORTS) \
30882 cd zlib && \
30883 $(MAKE) $(FLAGS_TO_PASS) \
30884 $(POSTSTAGE1_FLAGS_TO_PASS) \
30885 && \
30886 $(STAMP) ../all-stage4-zlib
30887 @endif zlib-bootstrap
30890 # FIXME: Will not need to be conditional when toplevel bootstrap is the
30891 # only possibility, but now it conflicts with no-bootstrap rules
30892 @if gcc-bootstrap
30894 compare3: all-stage4-gcc
30895 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30896 @r=`${PWD_COMMAND}`; export r; \
30897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30898 rm -f .bad_compare ; \
30899 cd stage4-gcc; \
30900 files=`find . -name "*$(objext)" -print` ; \
30901 cd .. ; \
30902 for file in $${files} ; do \
30903 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
30904 @do_compare@ > /dev/null 2>&1; \
30905 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
30906 done ; \
30907 if [ -f .bad_compare ]; then \
30908 echo "Bootstrap comparison failure!"; \
30909 cat .bad_compare; \
30910 exit 1; \
30911 else \
30912 true; \
30913 fi ; \
30914 $(STAMP) compare3
30918 .PHONY: bootstrap4
30919 bootstrap4: stage4-bubble compare3 all
30922 .PHONY: restage4 touch-stage4 distclean-stage4
30924 # Rules to wipe a stage and all the following ones, used for cleanstrap
30925 distclean-stage3:: distclean-stage4
30926 distclean-stage4::
30927 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30928 rm -rf configure-stage4-* all-stage4-* stage4-* compare3
30930 # Rules to renew the timestamp on a stage and all the following ones
30931 touch-stage3:: touch-stage4
30932 touch-stage4::
30933 @case `echo configure-stage4-*` in \
30934 'configure-stage4-*') ;; \
30935 *) \
30936 echo '$(STAMP)' configure-stage4-* && \
30937 $(STAMP) configure-stage4-* ;; \
30938 esac ; \
30939 case `echo all-stage4-*` in \
30940 'all-stage4-*') ;; \
30941 *) \
30942 echo '$(STAMP)' all-stage4-* && \
30943 $(STAMP) all-stage4-* ;; \
30944 esac
30946 # After building a stage, touch the following ones
30947 restage3:: touch-stage4
30948 restage4::
30949 rm -rf all-stage4-* compare3
30950 $(MAKE) $(RECURSE_FLAGS_TO_PASS) compare3
30953 @endif gcc-bootstrap
30956 .PHONY: stageprofile-start stageprofile-end
30958 stageprofile-start::
30959 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
30960 echo stageprofile > stage_current ; \
30961 echo stageprofile > stage_last
30962 @if bfd
30963 [ -d stageprofile-bfd ] || mkdir stageprofile-bfd; \
30964 set stageprofile-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
30965 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
30966 @endif bfd
30967 @if opcodes
30968 [ -d stageprofile-opcodes ] || mkdir stageprofile-opcodes; \
30969 set stageprofile-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
30970 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
30971 @endif opcodes
30972 @if binutils
30973 [ -d stageprofile-binutils ] || mkdir stageprofile-binutils; \
30974 set stageprofile-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
30975 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
30976 @endif binutils
30977 @if gas
30978 [ -d stageprofile-gas ] || mkdir stageprofile-gas; \
30979 set stageprofile-gas gas ; @CREATE_LINK_TO_DIR@ ; \
30980 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
30981 @endif gas
30982 @if gcc
30983 [ -d stageprofile-gcc ] || mkdir stageprofile-gcc; \
30984 set stageprofile-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
30985 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
30986 @endif gcc
30987 @if intl
30988 [ -d stageprofile-intl ] || mkdir stageprofile-intl; \
30989 set stageprofile-intl intl ; @CREATE_LINK_TO_DIR@ ; \
30990 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
30991 @endif intl
30992 @if ld
30993 [ -d stageprofile-ld ] || mkdir stageprofile-ld; \
30994 set stageprofile-ld ld ; @CREATE_LINK_TO_DIR@ ; \
30995 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
30996 @endif ld
30997 @if libcpp
30998 [ -d stageprofile-libcpp ] || mkdir stageprofile-libcpp; \
30999 set stageprofile-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31000 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31001 @endif libcpp
31002 @if libbanshee
31003 [ -d stageprofile-libbanshee ] || mkdir stageprofile-libbanshee; \
31004 set stageprofile-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
31005 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
31006 @endif libbanshee
31007 @if libiberty
31008 [ -d stageprofile-libiberty ] || mkdir stageprofile-libiberty; \
31009 set stageprofile-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31010 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31011 @endif libiberty
31012 @if zlib
31013 [ -d stageprofile-zlib ] || mkdir stageprofile-zlib; \
31014 set stageprofile-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31015 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31016 @endif zlib
31018 stageprofile-end::
31019 rm -f stage_current
31020 @if bfd
31021 set bfd stageprofile-bfd ; @UNDO_LINK_TO_DIR@ ; \
31022 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31023 @endif bfd
31024 @if opcodes
31025 set opcodes stageprofile-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31026 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31027 @endif opcodes
31028 @if binutils
31029 set binutils stageprofile-binutils ; @UNDO_LINK_TO_DIR@ ; \
31030 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31031 @endif binutils
31032 @if gas
31033 set gas stageprofile-gas ; @UNDO_LINK_TO_DIR@ ; \
31034 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31035 @endif gas
31036 @if gcc
31037 set gcc stageprofile-gcc ; @UNDO_LINK_TO_DIR@ ; \
31038 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31039 @endif gcc
31040 @if intl
31041 set intl stageprofile-intl ; @UNDO_LINK_TO_DIR@ ; \
31042 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31043 @endif intl
31044 @if ld
31045 set ld stageprofile-ld ; @UNDO_LINK_TO_DIR@ ; \
31046 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31047 @endif ld
31048 @if libcpp
31049 set libcpp stageprofile-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31050 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31051 @endif libcpp
31052 @if libbanshee
31053 set libbanshee stageprofile-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
31054 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
31055 @endif libbanshee
31056 @if libiberty
31057 set libiberty stageprofile-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31058 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31059 @endif libiberty
31060 @if zlib
31061 set zlib stageprofile-zlib ; @UNDO_LINK_TO_DIR@ ; \
31062 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31063 @endif zlib
31065 # Bubble a bugfix through all the stages up to stage profile. They
31066 # are remade, but not reconfigured. The next stage (if any) will not
31067 # be reconfigured as well.
31068 .PHONY: stageprofile-bubble
31069 stageprofile-bubble:: stage1-bubble
31070 @case `echo all-stageprofile-*` in \
31071 'all-stageprofile-*') ;; \
31072 *) echo Remaking stage profile ; rm -f all-stageprofile-* ;; \
31073 esac ; \
31074 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile
31076 .PHONY: all-stageprofile
31077 all-stageprofile: \
31078 maybe-all-stageprofile-bfd \
31079 maybe-all-stageprofile-opcodes \
31080 maybe-all-stageprofile-binutils \
31081 maybe-all-stageprofile-gas \
31082 maybe-all-stageprofile-gcc \
31083 maybe-all-stageprofile-intl \
31084 maybe-all-stageprofile-ld \
31085 maybe-all-stageprofile-libcpp \
31086 maybe-all-stageprofile-libbanshee \
31087 maybe-all-stageprofile-libiberty \
31088 maybe-all-stageprofile-zlib
31091 maybe-configure-stageprofile-bfd:
31092 maybe-all-stageprofile-bfd:
31094 @if bfd-bootstrap
31095 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
31096 configure-stageprofile-bfd: maybe-all-stage1-bfd
31097 $(MAKE) stageprofile-start
31098 @if [ -f stageprofile-bfd/Makefile ] ; then \
31099 $(STAMP) configure-stageprofile-bfd ; \
31100 exit 0; \
31101 else \
31102 true ; \
31103 fi ; \
31104 r=`${PWD_COMMAND}`; export r; \
31105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31106 $(STAGE_HOST_EXPORTS) \
31107 echo Configuring stage profile in bfd ; \
31108 cd bfd || exit 1; \
31109 case $(srcdir) in \
31110 \.) \
31111 srcdiroption="--srcdir=."; \
31112 libsrcdir=".";; \
31113 /* | [A-Za-z]:[\\/]*) \
31114 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31115 libsrcdir="$$s/bfd";; \
31116 *) \
31117 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31118 libsrcdir="$$s/bfd";; \
31119 esac; \
31120 $(SHELL) $${libsrcdir}/configure \
31121 $(HOST_CONFIGARGS) $${srcdiroption} \
31122 @stage2_werror_flag@ && \
31123 $(STAMP) ../configure-stageprofile-bfd
31125 maybe-all-stageprofile-bfd: all-stageprofile-bfd
31126 all-stageprofile-bfd: configure-stageprofile-bfd
31127 $(MAKE) stageprofile-start
31128 @r=`${PWD_COMMAND}`; export r; \
31129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31130 $(STAGE_HOST_EXPORTS) \
31131 cd bfd && \
31132 $(MAKE) $(FLAGS_TO_PASS) \
31133 $(POSTSTAGE1_FLAGS_TO_PASS) \
31134 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31135 $(STAMP) ../all-stageprofile-bfd
31136 @endif bfd-bootstrap
31138 maybe-configure-stageprofile-opcodes:
31139 maybe-all-stageprofile-opcodes:
31141 @if opcodes-bootstrap
31142 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
31143 configure-stageprofile-opcodes: maybe-all-stage1-opcodes
31144 $(MAKE) stageprofile-start
31145 @if [ -f stageprofile-opcodes/Makefile ] ; then \
31146 $(STAMP) configure-stageprofile-opcodes ; \
31147 exit 0; \
31148 else \
31149 true ; \
31150 fi ; \
31151 r=`${PWD_COMMAND}`; export r; \
31152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31153 $(STAGE_HOST_EXPORTS) \
31154 echo Configuring stage profile in opcodes ; \
31155 cd opcodes || exit 1; \
31156 case $(srcdir) in \
31157 \.) \
31158 srcdiroption="--srcdir=."; \
31159 libsrcdir=".";; \
31160 /* | [A-Za-z]:[\\/]*) \
31161 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31162 libsrcdir="$$s/opcodes";; \
31163 *) \
31164 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31165 libsrcdir="$$s/opcodes";; \
31166 esac; \
31167 $(SHELL) $${libsrcdir}/configure \
31168 $(HOST_CONFIGARGS) $${srcdiroption} \
31169 @stage2_werror_flag@ && \
31170 $(STAMP) ../configure-stageprofile-opcodes
31172 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
31173 all-stageprofile-opcodes: configure-stageprofile-opcodes
31174 $(MAKE) stageprofile-start
31175 @r=`${PWD_COMMAND}`; export r; \
31176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31177 $(STAGE_HOST_EXPORTS) \
31178 cd opcodes && \
31179 $(MAKE) $(FLAGS_TO_PASS) \
31180 $(POSTSTAGE1_FLAGS_TO_PASS) \
31181 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31182 $(STAMP) ../all-stageprofile-opcodes
31183 @endif opcodes-bootstrap
31185 maybe-configure-stageprofile-binutils:
31186 maybe-all-stageprofile-binutils:
31188 @if binutils-bootstrap
31189 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
31190 configure-stageprofile-binutils: maybe-all-stage1-binutils
31191 $(MAKE) stageprofile-start
31192 @if [ -f stageprofile-binutils/Makefile ] ; then \
31193 $(STAMP) configure-stageprofile-binutils ; \
31194 exit 0; \
31195 else \
31196 true ; \
31197 fi ; \
31198 r=`${PWD_COMMAND}`; export r; \
31199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31200 $(STAGE_HOST_EXPORTS) \
31201 echo Configuring stage profile in binutils ; \
31202 cd binutils || exit 1; \
31203 case $(srcdir) in \
31204 \.) \
31205 srcdiroption="--srcdir=."; \
31206 libsrcdir=".";; \
31207 /* | [A-Za-z]:[\\/]*) \
31208 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31209 libsrcdir="$$s/binutils";; \
31210 *) \
31211 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31212 libsrcdir="$$s/binutils";; \
31213 esac; \
31214 $(SHELL) $${libsrcdir}/configure \
31215 $(HOST_CONFIGARGS) $${srcdiroption} \
31216 @stage2_werror_flag@ && \
31217 $(STAMP) ../configure-stageprofile-binutils
31219 maybe-all-stageprofile-binutils: all-stageprofile-binutils
31220 all-stageprofile-binutils: configure-stageprofile-binutils
31221 $(MAKE) stageprofile-start
31222 @r=`${PWD_COMMAND}`; export r; \
31223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31224 $(STAGE_HOST_EXPORTS) \
31225 cd binutils && \
31226 $(MAKE) $(FLAGS_TO_PASS) \
31227 $(POSTSTAGE1_FLAGS_TO_PASS) \
31228 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31229 $(STAMP) ../all-stageprofile-binutils
31230 @endif binutils-bootstrap
31232 maybe-configure-stageprofile-gas:
31233 maybe-all-stageprofile-gas:
31235 @if gas-bootstrap
31236 maybe-configure-stageprofile-gas: configure-stageprofile-gas
31237 configure-stageprofile-gas: maybe-all-stage1-gas
31238 $(MAKE) stageprofile-start
31239 @if [ -f stageprofile-gas/Makefile ] ; then \
31240 $(STAMP) configure-stageprofile-gas ; \
31241 exit 0; \
31242 else \
31243 true ; \
31244 fi ; \
31245 r=`${PWD_COMMAND}`; export r; \
31246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31247 $(STAGE_HOST_EXPORTS) \
31248 echo Configuring stage profile in gas ; \
31249 cd gas || exit 1; \
31250 case $(srcdir) in \
31251 \.) \
31252 srcdiroption="--srcdir=."; \
31253 libsrcdir=".";; \
31254 /* | [A-Za-z]:[\\/]*) \
31255 srcdiroption="--srcdir=$(srcdir)/gas"; \
31256 libsrcdir="$$s/gas";; \
31257 *) \
31258 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31259 libsrcdir="$$s/gas";; \
31260 esac; \
31261 $(SHELL) $${libsrcdir}/configure \
31262 $(HOST_CONFIGARGS) $${srcdiroption} \
31263 @stage2_werror_flag@ && \
31264 $(STAMP) ../configure-stageprofile-gas
31266 maybe-all-stageprofile-gas: all-stageprofile-gas
31267 all-stageprofile-gas: configure-stageprofile-gas
31268 $(MAKE) stageprofile-start
31269 @r=`${PWD_COMMAND}`; export r; \
31270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31271 $(STAGE_HOST_EXPORTS) \
31272 cd gas && \
31273 $(MAKE) $(FLAGS_TO_PASS) \
31274 $(POSTSTAGE1_FLAGS_TO_PASS) \
31275 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31276 $(STAMP) ../all-stageprofile-gas
31277 @endif gas-bootstrap
31279 maybe-configure-stageprofile-gcc:
31280 maybe-all-stageprofile-gcc:
31282 @if gcc-bootstrap
31283 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
31284 configure-stageprofile-gcc: maybe-all-stage1-gcc
31285 $(MAKE) stageprofile-start
31286 @if [ -f stageprofile-gcc/Makefile ] ; then \
31287 $(STAMP) configure-stageprofile-gcc ; \
31288 exit 0; \
31289 else \
31290 true ; \
31291 fi ; \
31292 r=`${PWD_COMMAND}`; export r; \
31293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31294 $(STAGE_HOST_EXPORTS) \
31295 echo Configuring stage profile in gcc ; \
31296 cd gcc || exit 1; \
31297 case $(srcdir) in \
31298 \.) \
31299 srcdiroption="--srcdir=."; \
31300 libsrcdir=".";; \
31301 /* | [A-Za-z]:[\\/]*) \
31302 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31303 libsrcdir="$$s/gcc";; \
31304 *) \
31305 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
31306 libsrcdir="$$s/gcc";; \
31307 esac; \
31308 $(SHELL) $${libsrcdir}/configure \
31309 $(HOST_CONFIGARGS) $${srcdiroption} \
31310 @stage2_werror_flag@ && \
31311 $(STAMP) ../configure-stageprofile-gcc
31313 maybe-all-stageprofile-gcc: all-stageprofile-gcc
31314 all-stageprofile-gcc: configure-stageprofile-gcc
31315 $(MAKE) stageprofile-start
31316 @r=`${PWD_COMMAND}`; export r; \
31317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31318 $(STAGE_HOST_EXPORTS) \
31319 cd gcc && \
31320 $(MAKE) $(FLAGS_TO_PASS) \
31321 $(POSTSTAGE1_FLAGS_TO_PASS) \
31322 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) && \
31323 $(STAMP) ../all-stageprofile-gcc
31324 @endif gcc-bootstrap
31326 maybe-configure-stageprofile-intl:
31327 maybe-all-stageprofile-intl:
31329 @if intl-bootstrap
31330 maybe-configure-stageprofile-intl: configure-stageprofile-intl
31331 configure-stageprofile-intl: maybe-all-stage1-intl
31332 $(MAKE) stageprofile-start
31333 @if [ -f stageprofile-intl/Makefile ] ; then \
31334 $(STAMP) configure-stageprofile-intl ; \
31335 exit 0; \
31336 else \
31337 true ; \
31338 fi ; \
31339 r=`${PWD_COMMAND}`; export r; \
31340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31341 $(STAGE_HOST_EXPORTS) \
31342 echo Configuring stage profile in intl ; \
31343 cd intl || exit 1; \
31344 case $(srcdir) in \
31345 \.) \
31346 srcdiroption="--srcdir=."; \
31347 libsrcdir=".";; \
31348 /* | [A-Za-z]:[\\/]*) \
31349 srcdiroption="--srcdir=$(srcdir)/intl"; \
31350 libsrcdir="$$s/intl";; \
31351 *) \
31352 srcdiroption="--srcdir=../$(srcdir)/intl"; \
31353 libsrcdir="$$s/intl";; \
31354 esac; \
31355 $(SHELL) $${libsrcdir}/configure \
31356 $(HOST_CONFIGARGS) $${srcdiroption} \
31357 @stage2_werror_flag@ && \
31358 $(STAMP) ../configure-stageprofile-intl
31360 maybe-all-stageprofile-intl: all-stageprofile-intl
31361 all-stageprofile-intl: configure-stageprofile-intl
31362 $(MAKE) stageprofile-start
31363 @r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(STAGE_HOST_EXPORTS) \
31366 cd intl && \
31367 $(MAKE) $(FLAGS_TO_PASS) \
31368 $(POSTSTAGE1_FLAGS_TO_PASS) \
31369 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31370 $(STAMP) ../all-stageprofile-intl
31371 @endif intl-bootstrap
31373 maybe-configure-stageprofile-ld:
31374 maybe-all-stageprofile-ld:
31376 @if ld-bootstrap
31377 maybe-configure-stageprofile-ld: configure-stageprofile-ld
31378 configure-stageprofile-ld: maybe-all-stage1-ld
31379 $(MAKE) stageprofile-start
31380 @if [ -f stageprofile-ld/Makefile ] ; then \
31381 $(STAMP) configure-stageprofile-ld ; \
31382 exit 0; \
31383 else \
31384 true ; \
31385 fi ; \
31386 r=`${PWD_COMMAND}`; export r; \
31387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31388 $(STAGE_HOST_EXPORTS) \
31389 echo Configuring stage profile in ld ; \
31390 cd ld || exit 1; \
31391 case $(srcdir) in \
31392 \.) \
31393 srcdiroption="--srcdir=."; \
31394 libsrcdir=".";; \
31395 /* | [A-Za-z]:[\\/]*) \
31396 srcdiroption="--srcdir=$(srcdir)/ld"; \
31397 libsrcdir="$$s/ld";; \
31398 *) \
31399 srcdiroption="--srcdir=../$(srcdir)/ld"; \
31400 libsrcdir="$$s/ld";; \
31401 esac; \
31402 $(SHELL) $${libsrcdir}/configure \
31403 $(HOST_CONFIGARGS) $${srcdiroption} \
31404 @stage2_werror_flag@ && \
31405 $(STAMP) ../configure-stageprofile-ld
31407 maybe-all-stageprofile-ld: all-stageprofile-ld
31408 all-stageprofile-ld: configure-stageprofile-ld
31409 $(MAKE) stageprofile-start
31410 @r=`${PWD_COMMAND}`; export r; \
31411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31412 $(STAGE_HOST_EXPORTS) \
31413 cd ld && \
31414 $(MAKE) $(FLAGS_TO_PASS) \
31415 $(POSTSTAGE1_FLAGS_TO_PASS) \
31416 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31417 $(STAMP) ../all-stageprofile-ld
31418 @endif ld-bootstrap
31420 maybe-configure-stageprofile-libcpp:
31421 maybe-all-stageprofile-libcpp:
31423 @if libcpp-bootstrap
31424 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
31425 configure-stageprofile-libcpp: maybe-all-stage1-libcpp
31426 $(MAKE) stageprofile-start
31427 @if [ -f stageprofile-libcpp/Makefile ] ; then \
31428 $(STAMP) configure-stageprofile-libcpp ; \
31429 exit 0; \
31430 else \
31431 true ; \
31432 fi ; \
31433 r=`${PWD_COMMAND}`; export r; \
31434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31435 $(STAGE_HOST_EXPORTS) \
31436 echo Configuring stage profile in libcpp ; \
31437 cd libcpp || exit 1; \
31438 case $(srcdir) in \
31439 \.) \
31440 srcdiroption="--srcdir=."; \
31441 libsrcdir=".";; \
31442 /* | [A-Za-z]:[\\/]*) \
31443 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
31444 libsrcdir="$$s/libcpp";; \
31445 *) \
31446 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
31447 libsrcdir="$$s/libcpp";; \
31448 esac; \
31449 $(SHELL) $${libsrcdir}/configure \
31450 $(HOST_CONFIGARGS) $${srcdiroption} \
31451 @stage2_werror_flag@ && \
31452 $(STAMP) ../configure-stageprofile-libcpp
31454 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
31455 all-stageprofile-libcpp: configure-stageprofile-libcpp
31456 $(MAKE) stageprofile-start
31457 @r=`${PWD_COMMAND}`; export r; \
31458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31459 $(STAGE_HOST_EXPORTS) \
31460 cd libcpp && \
31461 $(MAKE) $(FLAGS_TO_PASS) \
31462 $(POSTSTAGE1_FLAGS_TO_PASS) \
31463 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31464 $(STAMP) ../all-stageprofile-libcpp
31465 @endif libcpp-bootstrap
31467 maybe-configure-stageprofile-libbanshee:
31468 maybe-all-stageprofile-libbanshee:
31470 @if libbanshee-bootstrap
31471 maybe-configure-stageprofile-libbanshee: configure-stageprofile-libbanshee
31472 configure-stageprofile-libbanshee: maybe-all-stage1-libbanshee
31473 $(MAKE) stageprofile-start
31474 @if [ -f stageprofile-libbanshee/Makefile ] ; then \
31475 $(STAMP) configure-stageprofile-libbanshee ; \
31476 exit 0; \
31477 else \
31478 true ; \
31479 fi ; \
31480 r=`${PWD_COMMAND}`; export r; \
31481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31482 $(STAGE_HOST_EXPORTS) \
31483 echo Configuring stage profile in libbanshee ; \
31484 cd libbanshee || exit 1; \
31485 case $(srcdir) in \
31486 \.) \
31487 srcdiroption="--srcdir=."; \
31488 libsrcdir=".";; \
31489 /* | [A-Za-z]:[\\/]*) \
31490 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
31491 libsrcdir="$$s/libbanshee";; \
31492 *) \
31493 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
31494 libsrcdir="$$s/libbanshee";; \
31495 esac; \
31496 $(SHELL) $${libsrcdir}/configure \
31497 $(HOST_CONFIGARGS) $${srcdiroption} \
31498 @stage2_werror_flag@ && \
31499 $(STAMP) ../configure-stageprofile-libbanshee
31501 maybe-all-stageprofile-libbanshee: all-stageprofile-libbanshee
31502 all-stageprofile-libbanshee: configure-stageprofile-libbanshee
31503 $(MAKE) stageprofile-start
31504 @r=`${PWD_COMMAND}`; export r; \
31505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31506 $(STAGE_HOST_EXPORTS) \
31507 cd libbanshee && \
31508 $(MAKE) $(FLAGS_TO_PASS) \
31509 $(POSTSTAGE1_FLAGS_TO_PASS) \
31510 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31511 $(STAMP) ../all-stageprofile-libbanshee
31512 @endif libbanshee-bootstrap
31514 maybe-configure-stageprofile-libiberty:
31515 maybe-all-stageprofile-libiberty:
31517 @if libiberty-bootstrap
31518 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
31519 configure-stageprofile-libiberty: maybe-all-stage1-libiberty
31520 $(MAKE) stageprofile-start
31521 @if [ -f stageprofile-libiberty/Makefile ] ; then \
31522 $(STAMP) configure-stageprofile-libiberty ; \
31523 exit 0; \
31524 else \
31525 true ; \
31526 fi ; \
31527 r=`${PWD_COMMAND}`; export r; \
31528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31529 $(STAGE_HOST_EXPORTS) \
31530 echo Configuring stage profile in libiberty ; \
31531 cd libiberty || exit 1; \
31532 case $(srcdir) in \
31533 \.) \
31534 srcdiroption="--srcdir=."; \
31535 libsrcdir=".";; \
31536 /* | [A-Za-z]:[\\/]*) \
31537 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
31538 libsrcdir="$$s/libiberty";; \
31539 *) \
31540 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
31541 libsrcdir="$$s/libiberty";; \
31542 esac; \
31543 $(SHELL) $${libsrcdir}/configure \
31544 $(HOST_CONFIGARGS) $${srcdiroption} \
31545 @stage2_werror_flag@ && \
31546 $(STAMP) ../configure-stageprofile-libiberty
31548 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
31549 all-stageprofile-libiberty: configure-stageprofile-libiberty
31550 $(MAKE) stageprofile-start
31551 @r=`${PWD_COMMAND}`; export r; \
31552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31553 $(STAGE_HOST_EXPORTS) \
31554 cd libiberty && \
31555 $(MAKE) $(FLAGS_TO_PASS) \
31556 $(POSTSTAGE1_FLAGS_TO_PASS) \
31557 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31558 $(STAMP) ../all-stageprofile-libiberty
31559 @endif libiberty-bootstrap
31561 maybe-configure-stageprofile-zlib:
31562 maybe-all-stageprofile-zlib:
31564 @if zlib-bootstrap
31565 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
31566 configure-stageprofile-zlib: maybe-all-stage1-zlib
31567 $(MAKE) stageprofile-start
31568 @if [ -f stageprofile-zlib/Makefile ] ; then \
31569 $(STAMP) configure-stageprofile-zlib ; \
31570 exit 0; \
31571 else \
31572 true ; \
31573 fi ; \
31574 r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(STAGE_HOST_EXPORTS) \
31577 echo Configuring stage profile in zlib ; \
31578 cd zlib || exit 1; \
31579 case $(srcdir) in \
31580 \.) \
31581 srcdiroption="--srcdir=."; \
31582 libsrcdir=".";; \
31583 /* | [A-Za-z]:[\\/]*) \
31584 srcdiroption="--srcdir=$(srcdir)/zlib"; \
31585 libsrcdir="$$s/zlib";; \
31586 *) \
31587 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
31588 libsrcdir="$$s/zlib";; \
31589 esac; \
31590 $(SHELL) $${libsrcdir}/configure \
31591 $(HOST_CONFIGARGS) $${srcdiroption} \
31592 @stage2_werror_flag@ && \
31593 $(STAMP) ../configure-stageprofile-zlib
31595 maybe-all-stageprofile-zlib: all-stageprofile-zlib
31596 all-stageprofile-zlib: configure-stageprofile-zlib
31597 $(MAKE) stageprofile-start
31598 @r=`${PWD_COMMAND}`; export r; \
31599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31600 $(STAGE_HOST_EXPORTS) \
31601 cd zlib && \
31602 $(MAKE) $(FLAGS_TO_PASS) \
31603 $(POSTSTAGE1_FLAGS_TO_PASS) \
31604 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" && \
31605 $(STAMP) ../all-stageprofile-zlib
31606 @endif zlib-bootstrap
31609 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31610 # only possibility, but now it conflicts with no-bootstrap rules
31611 @if gcc-bootstrap
31616 .PHONY: restageprofile touch-stageprofile distclean-stageprofile
31618 # Rules to wipe a stage and all the following ones, used for cleanstrap
31619 distclean-stage1:: distclean-stageprofile
31620 distclean-stageprofile::
31621 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31622 rm -rf configure-stageprofile-* all-stageprofile-* stageprofile-*
31624 # Rules to renew the timestamp on a stage and all the following ones
31625 touch-stage1:: touch-stageprofile
31626 touch-stageprofile::
31627 @case `echo configure-stageprofile-*` in \
31628 'configure-stageprofile-*') ;; \
31629 *) \
31630 echo '$(STAMP)' configure-stageprofile-* && \
31631 $(STAMP) configure-stageprofile-* ;; \
31632 esac ; \
31633 case `echo all-stageprofile-*` in \
31634 'all-stageprofile-*') ;; \
31635 *) \
31636 echo '$(STAMP)' all-stageprofile-* && \
31637 $(STAMP) all-stageprofile-* ;; \
31638 esac
31640 # After building a stage, touch the following ones
31641 restage1:: touch-stageprofile
31642 restageprofile::
31643 rm -rf all-stageprofile-*
31644 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile
31647 @endif gcc-bootstrap
31650 .PHONY: stagefeedback-start stagefeedback-end
31652 stagefeedback-start::
31653 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31654 echo stagefeedback > stage_current ; \
31655 echo stagefeedback > stage_last
31656 @if bfd
31657 [ -d stagefeedback-bfd ] || mkdir stagefeedback-bfd; \
31658 set stagefeedback-bfd bfd ; @CREATE_LINK_TO_DIR@ ; \
31659 set stage1-bfd prev-bfd ; @CREATE_LINK_TO_DIR@
31660 @endif bfd
31661 @if opcodes
31662 [ -d stagefeedback-opcodes ] || mkdir stagefeedback-opcodes; \
31663 set stagefeedback-opcodes opcodes ; @CREATE_LINK_TO_DIR@ ; \
31664 set stage1-opcodes prev-opcodes ; @CREATE_LINK_TO_DIR@
31665 @endif opcodes
31666 @if binutils
31667 [ -d stagefeedback-binutils ] || mkdir stagefeedback-binutils; \
31668 set stagefeedback-binutils binutils ; @CREATE_LINK_TO_DIR@ ; \
31669 set stage1-binutils prev-binutils ; @CREATE_LINK_TO_DIR@
31670 @endif binutils
31671 @if gas
31672 [ -d stagefeedback-gas ] || mkdir stagefeedback-gas; \
31673 set stagefeedback-gas gas ; @CREATE_LINK_TO_DIR@ ; \
31674 set stage1-gas prev-gas ; @CREATE_LINK_TO_DIR@
31675 @endif gas
31676 @if gcc
31677 [ -d stagefeedback-gcc ] || mkdir stagefeedback-gcc; \
31678 set stagefeedback-gcc gcc ; @CREATE_LINK_TO_DIR@ ; \
31679 set stage1-gcc prev-gcc ; @CREATE_LINK_TO_DIR@
31680 @endif gcc
31681 @if intl
31682 [ -d stagefeedback-intl ] || mkdir stagefeedback-intl; \
31683 set stagefeedback-intl intl ; @CREATE_LINK_TO_DIR@ ; \
31684 set stage1-intl prev-intl ; @CREATE_LINK_TO_DIR@
31685 @endif intl
31686 @if ld
31687 [ -d stagefeedback-ld ] || mkdir stagefeedback-ld; \
31688 set stagefeedback-ld ld ; @CREATE_LINK_TO_DIR@ ; \
31689 set stage1-ld prev-ld ; @CREATE_LINK_TO_DIR@
31690 @endif ld
31691 @if libcpp
31692 [ -d stagefeedback-libcpp ] || mkdir stagefeedback-libcpp; \
31693 set stagefeedback-libcpp libcpp ; @CREATE_LINK_TO_DIR@ ; \
31694 set stage1-libcpp prev-libcpp ; @CREATE_LINK_TO_DIR@
31695 @endif libcpp
31696 @if libbanshee
31697 [ -d stagefeedback-libbanshee ] || mkdir stagefeedback-libbanshee; \
31698 set stagefeedback-libbanshee libbanshee ; @CREATE_LINK_TO_DIR@ ; \
31699 set stage1-libbanshee prev-libbanshee ; @CREATE_LINK_TO_DIR@
31700 @endif libbanshee
31701 @if libiberty
31702 [ -d stagefeedback-libiberty ] || mkdir stagefeedback-libiberty; \
31703 set stagefeedback-libiberty libiberty ; @CREATE_LINK_TO_DIR@ ; \
31704 set stage1-libiberty prev-libiberty ; @CREATE_LINK_TO_DIR@
31705 @endif libiberty
31706 @if zlib
31707 [ -d stagefeedback-zlib ] || mkdir stagefeedback-zlib; \
31708 set stagefeedback-zlib zlib ; @CREATE_LINK_TO_DIR@ ; \
31709 set stage1-zlib prev-zlib ; @CREATE_LINK_TO_DIR@
31710 @endif zlib
31712 stagefeedback-end::
31713 rm -f stage_current
31714 @if bfd
31715 set bfd stagefeedback-bfd ; @UNDO_LINK_TO_DIR@ ; \
31716 set prev-bfd stage1-bfd ; @UNDO_LINK_TO_DIR@
31717 @endif bfd
31718 @if opcodes
31719 set opcodes stagefeedback-opcodes ; @UNDO_LINK_TO_DIR@ ; \
31720 set prev-opcodes stage1-opcodes ; @UNDO_LINK_TO_DIR@
31721 @endif opcodes
31722 @if binutils
31723 set binutils stagefeedback-binutils ; @UNDO_LINK_TO_DIR@ ; \
31724 set prev-binutils stage1-binutils ; @UNDO_LINK_TO_DIR@
31725 @endif binutils
31726 @if gas
31727 set gas stagefeedback-gas ; @UNDO_LINK_TO_DIR@ ; \
31728 set prev-gas stage1-gas ; @UNDO_LINK_TO_DIR@
31729 @endif gas
31730 @if gcc
31731 set gcc stagefeedback-gcc ; @UNDO_LINK_TO_DIR@ ; \
31732 set prev-gcc stage1-gcc ; @UNDO_LINK_TO_DIR@
31733 @endif gcc
31734 @if intl
31735 set intl stagefeedback-intl ; @UNDO_LINK_TO_DIR@ ; \
31736 set prev-intl stage1-intl ; @UNDO_LINK_TO_DIR@
31737 @endif intl
31738 @if ld
31739 set ld stagefeedback-ld ; @UNDO_LINK_TO_DIR@ ; \
31740 set prev-ld stage1-ld ; @UNDO_LINK_TO_DIR@
31741 @endif ld
31742 @if libcpp
31743 set libcpp stagefeedback-libcpp ; @UNDO_LINK_TO_DIR@ ; \
31744 set prev-libcpp stage1-libcpp ; @UNDO_LINK_TO_DIR@
31745 @endif libcpp
31746 @if libbanshee
31747 set libbanshee stagefeedback-libbanshee ; @UNDO_LINK_TO_DIR@ ; \
31748 set prev-libbanshee stage1-libbanshee ; @UNDO_LINK_TO_DIR@
31749 @endif libbanshee
31750 @if libiberty
31751 set libiberty stagefeedback-libiberty ; @UNDO_LINK_TO_DIR@ ; \
31752 set prev-libiberty stage1-libiberty ; @UNDO_LINK_TO_DIR@
31753 @endif libiberty
31754 @if zlib
31755 set zlib stagefeedback-zlib ; @UNDO_LINK_TO_DIR@ ; \
31756 set prev-zlib stage1-zlib ; @UNDO_LINK_TO_DIR@
31757 @endif zlib
31759 # Bubble a bugfix through all the stages up to stage feedback. They
31760 # are remade, but not reconfigured. The next stage (if any) will not
31761 # be reconfigured as well.
31762 .PHONY: stagefeedback-bubble
31763 stagefeedback-bubble:: stage1-bubble
31764 @case `echo all-stagefeedback-*` in \
31765 'all-stagefeedback-*') ;; \
31766 *) echo Remaking stage feedback ; rm -f all-stagefeedback-* ;; \
31767 esac ; \
31768 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback
31770 .PHONY: all-stagefeedback
31771 all-stagefeedback: \
31772 maybe-all-stagefeedback-bfd \
31773 maybe-all-stagefeedback-opcodes \
31774 maybe-all-stagefeedback-binutils \
31775 maybe-all-stagefeedback-gas \
31776 maybe-all-stagefeedback-gcc \
31777 maybe-all-stagefeedback-intl \
31778 maybe-all-stagefeedback-ld \
31779 maybe-all-stagefeedback-libcpp \
31780 maybe-all-stagefeedback-libbanshee \
31781 maybe-all-stagefeedback-libiberty \
31782 maybe-all-stagefeedback-zlib
31785 maybe-configure-stagefeedback-bfd:
31786 maybe-all-stagefeedback-bfd:
31788 @if bfd-bootstrap
31789 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
31790 configure-stagefeedback-bfd: maybe-all-stage1-bfd
31791 $(MAKE) stagefeedback-start
31792 @if [ -f stagefeedback-bfd/Makefile ] ; then \
31793 $(STAMP) configure-stagefeedback-bfd ; \
31794 exit 0; \
31795 else \
31796 true ; \
31797 fi ; \
31798 r=`${PWD_COMMAND}`; export r; \
31799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31800 $(STAGE_HOST_EXPORTS) \
31801 echo Configuring stage feedback in bfd ; \
31802 cd bfd || exit 1; \
31803 case $(srcdir) in \
31804 \.) \
31805 srcdiroption="--srcdir=."; \
31806 libsrcdir=".";; \
31807 /* | [A-Za-z]:[\\/]*) \
31808 srcdiroption="--srcdir=$(srcdir)/bfd"; \
31809 libsrcdir="$$s/bfd";; \
31810 *) \
31811 srcdiroption="--srcdir=../$(srcdir)/bfd"; \
31812 libsrcdir="$$s/bfd";; \
31813 esac; \
31814 $(SHELL) $${libsrcdir}/configure \
31815 $(HOST_CONFIGARGS) $${srcdiroption} \
31816 @stage2_werror_flag@ && \
31817 $(STAMP) ../configure-stagefeedback-bfd
31819 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
31820 all-stagefeedback-bfd: configure-stagefeedback-bfd
31821 $(MAKE) stagefeedback-start
31822 @r=`${PWD_COMMAND}`; export r; \
31823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31824 $(STAGE_HOST_EXPORTS) \
31825 cd bfd && \
31826 $(MAKE) $(FLAGS_TO_PASS) \
31827 $(POSTSTAGE1_FLAGS_TO_PASS) \
31828 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
31829 $(STAMP) ../all-stagefeedback-bfd
31830 @endif bfd-bootstrap
31832 maybe-configure-stagefeedback-opcodes:
31833 maybe-all-stagefeedback-opcodes:
31835 @if opcodes-bootstrap
31836 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
31837 configure-stagefeedback-opcodes: maybe-all-stage1-opcodes
31838 $(MAKE) stagefeedback-start
31839 @if [ -f stagefeedback-opcodes/Makefile ] ; then \
31840 $(STAMP) configure-stagefeedback-opcodes ; \
31841 exit 0; \
31842 else \
31843 true ; \
31844 fi ; \
31845 r=`${PWD_COMMAND}`; export r; \
31846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31847 $(STAGE_HOST_EXPORTS) \
31848 echo Configuring stage feedback in opcodes ; \
31849 cd opcodes || exit 1; \
31850 case $(srcdir) in \
31851 \.) \
31852 srcdiroption="--srcdir=."; \
31853 libsrcdir=".";; \
31854 /* | [A-Za-z]:[\\/]*) \
31855 srcdiroption="--srcdir=$(srcdir)/opcodes"; \
31856 libsrcdir="$$s/opcodes";; \
31857 *) \
31858 srcdiroption="--srcdir=../$(srcdir)/opcodes"; \
31859 libsrcdir="$$s/opcodes";; \
31860 esac; \
31861 $(SHELL) $${libsrcdir}/configure \
31862 $(HOST_CONFIGARGS) $${srcdiroption} \
31863 @stage2_werror_flag@ && \
31864 $(STAMP) ../configure-stagefeedback-opcodes
31866 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
31867 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
31868 $(MAKE) stagefeedback-start
31869 @r=`${PWD_COMMAND}`; export r; \
31870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31871 $(STAGE_HOST_EXPORTS) \
31872 cd opcodes && \
31873 $(MAKE) $(FLAGS_TO_PASS) \
31874 $(POSTSTAGE1_FLAGS_TO_PASS) \
31875 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
31876 $(STAMP) ../all-stagefeedback-opcodes
31877 @endif opcodes-bootstrap
31879 maybe-configure-stagefeedback-binutils:
31880 maybe-all-stagefeedback-binutils:
31882 @if binutils-bootstrap
31883 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
31884 configure-stagefeedback-binutils: maybe-all-stage1-binutils
31885 $(MAKE) stagefeedback-start
31886 @if [ -f stagefeedback-binutils/Makefile ] ; then \
31887 $(STAMP) configure-stagefeedback-binutils ; \
31888 exit 0; \
31889 else \
31890 true ; \
31891 fi ; \
31892 r=`${PWD_COMMAND}`; export r; \
31893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31894 $(STAGE_HOST_EXPORTS) \
31895 echo Configuring stage feedback in binutils ; \
31896 cd binutils || exit 1; \
31897 case $(srcdir) in \
31898 \.) \
31899 srcdiroption="--srcdir=."; \
31900 libsrcdir=".";; \
31901 /* | [A-Za-z]:[\\/]*) \
31902 srcdiroption="--srcdir=$(srcdir)/binutils"; \
31903 libsrcdir="$$s/binutils";; \
31904 *) \
31905 srcdiroption="--srcdir=../$(srcdir)/binutils"; \
31906 libsrcdir="$$s/binutils";; \
31907 esac; \
31908 $(SHELL) $${libsrcdir}/configure \
31909 $(HOST_CONFIGARGS) $${srcdiroption} \
31910 @stage2_werror_flag@ && \
31911 $(STAMP) ../configure-stagefeedback-binutils
31913 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
31914 all-stagefeedback-binutils: configure-stagefeedback-binutils
31915 $(MAKE) stagefeedback-start
31916 @r=`${PWD_COMMAND}`; export r; \
31917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31918 $(STAGE_HOST_EXPORTS) \
31919 cd binutils && \
31920 $(MAKE) $(FLAGS_TO_PASS) \
31921 $(POSTSTAGE1_FLAGS_TO_PASS) \
31922 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
31923 $(STAMP) ../all-stagefeedback-binutils
31924 @endif binutils-bootstrap
31926 maybe-configure-stagefeedback-gas:
31927 maybe-all-stagefeedback-gas:
31929 @if gas-bootstrap
31930 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
31931 configure-stagefeedback-gas: maybe-all-stage1-gas
31932 $(MAKE) stagefeedback-start
31933 @if [ -f stagefeedback-gas/Makefile ] ; then \
31934 $(STAMP) configure-stagefeedback-gas ; \
31935 exit 0; \
31936 else \
31937 true ; \
31938 fi ; \
31939 r=`${PWD_COMMAND}`; export r; \
31940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31941 $(STAGE_HOST_EXPORTS) \
31942 echo Configuring stage feedback in gas ; \
31943 cd gas || exit 1; \
31944 case $(srcdir) in \
31945 \.) \
31946 srcdiroption="--srcdir=."; \
31947 libsrcdir=".";; \
31948 /* | [A-Za-z]:[\\/]*) \
31949 srcdiroption="--srcdir=$(srcdir)/gas"; \
31950 libsrcdir="$$s/gas";; \
31951 *) \
31952 srcdiroption="--srcdir=../$(srcdir)/gas"; \
31953 libsrcdir="$$s/gas";; \
31954 esac; \
31955 $(SHELL) $${libsrcdir}/configure \
31956 $(HOST_CONFIGARGS) $${srcdiroption} \
31957 @stage2_werror_flag@ && \
31958 $(STAMP) ../configure-stagefeedback-gas
31960 maybe-all-stagefeedback-gas: all-stagefeedback-gas
31961 all-stagefeedback-gas: configure-stagefeedback-gas
31962 $(MAKE) stagefeedback-start
31963 @r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(STAGE_HOST_EXPORTS) \
31966 cd gas && \
31967 $(MAKE) $(FLAGS_TO_PASS) \
31968 $(POSTSTAGE1_FLAGS_TO_PASS) \
31969 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
31970 $(STAMP) ../all-stagefeedback-gas
31971 @endif gas-bootstrap
31973 maybe-configure-stagefeedback-gcc:
31974 maybe-all-stagefeedback-gcc:
31976 @if gcc-bootstrap
31977 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
31978 configure-stagefeedback-gcc: maybe-all-stage1-gcc
31979 $(MAKE) stagefeedback-start
31980 @if [ -f stagefeedback-gcc/Makefile ] ; then \
31981 $(STAMP) configure-stagefeedback-gcc ; \
31982 exit 0; \
31983 else \
31984 true ; \
31985 fi ; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(STAGE_HOST_EXPORTS) \
31989 echo Configuring stage feedback in gcc ; \
31990 cd gcc || exit 1; \
31991 case $(srcdir) in \
31992 \.) \
31993 srcdiroption="--srcdir=."; \
31994 libsrcdir=".";; \
31995 /* | [A-Za-z]:[\\/]*) \
31996 srcdiroption="--srcdir=$(srcdir)/gcc"; \
31997 libsrcdir="$$s/gcc";; \
31998 *) \
31999 srcdiroption="--srcdir=../$(srcdir)/gcc"; \
32000 libsrcdir="$$s/gcc";; \
32001 esac; \
32002 $(SHELL) $${libsrcdir}/configure \
32003 $(HOST_CONFIGARGS) $${srcdiroption} \
32004 @stage2_werror_flag@ && \
32005 $(STAMP) ../configure-stagefeedback-gcc
32007 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
32008 all-stagefeedback-gcc: configure-stagefeedback-gcc
32009 $(MAKE) stagefeedback-start
32010 @r=`${PWD_COMMAND}`; export r; \
32011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32012 $(STAGE_HOST_EXPORTS) \
32013 cd gcc && \
32014 $(MAKE) $(FLAGS_TO_PASS) \
32015 $(POSTSTAGE1_FLAGS_TO_PASS) \
32016 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) && \
32017 $(STAMP) ../all-stagefeedback-gcc
32018 @endif gcc-bootstrap
32020 maybe-configure-stagefeedback-intl:
32021 maybe-all-stagefeedback-intl:
32023 @if intl-bootstrap
32024 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
32025 configure-stagefeedback-intl: maybe-all-stage1-intl
32026 $(MAKE) stagefeedback-start
32027 @if [ -f stagefeedback-intl/Makefile ] ; then \
32028 $(STAMP) configure-stagefeedback-intl ; \
32029 exit 0; \
32030 else \
32031 true ; \
32032 fi ; \
32033 r=`${PWD_COMMAND}`; export r; \
32034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32035 $(STAGE_HOST_EXPORTS) \
32036 echo Configuring stage feedback in intl ; \
32037 cd intl || exit 1; \
32038 case $(srcdir) in \
32039 \.) \
32040 srcdiroption="--srcdir=."; \
32041 libsrcdir=".";; \
32042 /* | [A-Za-z]:[\\/]*) \
32043 srcdiroption="--srcdir=$(srcdir)/intl"; \
32044 libsrcdir="$$s/intl";; \
32045 *) \
32046 srcdiroption="--srcdir=../$(srcdir)/intl"; \
32047 libsrcdir="$$s/intl";; \
32048 esac; \
32049 $(SHELL) $${libsrcdir}/configure \
32050 $(HOST_CONFIGARGS) $${srcdiroption} \
32051 @stage2_werror_flag@ && \
32052 $(STAMP) ../configure-stagefeedback-intl
32054 maybe-all-stagefeedback-intl: all-stagefeedback-intl
32055 all-stagefeedback-intl: configure-stagefeedback-intl
32056 $(MAKE) stagefeedback-start
32057 @r=`${PWD_COMMAND}`; export r; \
32058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32059 $(STAGE_HOST_EXPORTS) \
32060 cd intl && \
32061 $(MAKE) $(FLAGS_TO_PASS) \
32062 $(POSTSTAGE1_FLAGS_TO_PASS) \
32063 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32064 $(STAMP) ../all-stagefeedback-intl
32065 @endif intl-bootstrap
32067 maybe-configure-stagefeedback-ld:
32068 maybe-all-stagefeedback-ld:
32070 @if ld-bootstrap
32071 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
32072 configure-stagefeedback-ld: maybe-all-stage1-ld
32073 $(MAKE) stagefeedback-start
32074 @if [ -f stagefeedback-ld/Makefile ] ; then \
32075 $(STAMP) configure-stagefeedback-ld ; \
32076 exit 0; \
32077 else \
32078 true ; \
32079 fi ; \
32080 r=`${PWD_COMMAND}`; export r; \
32081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32082 $(STAGE_HOST_EXPORTS) \
32083 echo Configuring stage feedback in ld ; \
32084 cd ld || exit 1; \
32085 case $(srcdir) in \
32086 \.) \
32087 srcdiroption="--srcdir=."; \
32088 libsrcdir=".";; \
32089 /* | [A-Za-z]:[\\/]*) \
32090 srcdiroption="--srcdir=$(srcdir)/ld"; \
32091 libsrcdir="$$s/ld";; \
32092 *) \
32093 srcdiroption="--srcdir=../$(srcdir)/ld"; \
32094 libsrcdir="$$s/ld";; \
32095 esac; \
32096 $(SHELL) $${libsrcdir}/configure \
32097 $(HOST_CONFIGARGS) $${srcdiroption} \
32098 @stage2_werror_flag@ && \
32099 $(STAMP) ../configure-stagefeedback-ld
32101 maybe-all-stagefeedback-ld: all-stagefeedback-ld
32102 all-stagefeedback-ld: configure-stagefeedback-ld
32103 $(MAKE) stagefeedback-start
32104 @r=`${PWD_COMMAND}`; export r; \
32105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32106 $(STAGE_HOST_EXPORTS) \
32107 cd ld && \
32108 $(MAKE) $(FLAGS_TO_PASS) \
32109 $(POSTSTAGE1_FLAGS_TO_PASS) \
32110 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32111 $(STAMP) ../all-stagefeedback-ld
32112 @endif ld-bootstrap
32114 maybe-configure-stagefeedback-libcpp:
32115 maybe-all-stagefeedback-libcpp:
32117 @if libcpp-bootstrap
32118 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
32119 configure-stagefeedback-libcpp: maybe-all-stage1-libcpp
32120 $(MAKE) stagefeedback-start
32121 @if [ -f stagefeedback-libcpp/Makefile ] ; then \
32122 $(STAMP) configure-stagefeedback-libcpp ; \
32123 exit 0; \
32124 else \
32125 true ; \
32126 fi ; \
32127 r=`${PWD_COMMAND}`; export r; \
32128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32129 $(STAGE_HOST_EXPORTS) \
32130 echo Configuring stage feedback in libcpp ; \
32131 cd libcpp || exit 1; \
32132 case $(srcdir) in \
32133 \.) \
32134 srcdiroption="--srcdir=."; \
32135 libsrcdir=".";; \
32136 /* | [A-Za-z]:[\\/]*) \
32137 srcdiroption="--srcdir=$(srcdir)/libcpp"; \
32138 libsrcdir="$$s/libcpp";; \
32139 *) \
32140 srcdiroption="--srcdir=../$(srcdir)/libcpp"; \
32141 libsrcdir="$$s/libcpp";; \
32142 esac; \
32143 $(SHELL) $${libsrcdir}/configure \
32144 $(HOST_CONFIGARGS) $${srcdiroption} \
32145 @stage2_werror_flag@ && \
32146 $(STAMP) ../configure-stagefeedback-libcpp
32148 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
32149 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
32150 $(MAKE) stagefeedback-start
32151 @r=`${PWD_COMMAND}`; export r; \
32152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32153 $(STAGE_HOST_EXPORTS) \
32154 cd libcpp && \
32155 $(MAKE) $(FLAGS_TO_PASS) \
32156 $(POSTSTAGE1_FLAGS_TO_PASS) \
32157 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32158 $(STAMP) ../all-stagefeedback-libcpp
32159 @endif libcpp-bootstrap
32161 maybe-configure-stagefeedback-libbanshee:
32162 maybe-all-stagefeedback-libbanshee:
32164 @if libbanshee-bootstrap
32165 maybe-configure-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
32166 configure-stagefeedback-libbanshee: maybe-all-stage1-libbanshee
32167 $(MAKE) stagefeedback-start
32168 @if [ -f stagefeedback-libbanshee/Makefile ] ; then \
32169 $(STAMP) configure-stagefeedback-libbanshee ; \
32170 exit 0; \
32171 else \
32172 true ; \
32173 fi ; \
32174 r=`${PWD_COMMAND}`; export r; \
32175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32176 $(STAGE_HOST_EXPORTS) \
32177 echo Configuring stage feedback in libbanshee ; \
32178 cd libbanshee || exit 1; \
32179 case $(srcdir) in \
32180 \.) \
32181 srcdiroption="--srcdir=."; \
32182 libsrcdir=".";; \
32183 /* | [A-Za-z]:[\\/]*) \
32184 srcdiroption="--srcdir=$(srcdir)/libbanshee"; \
32185 libsrcdir="$$s/libbanshee";; \
32186 *) \
32187 srcdiroption="--srcdir=../$(srcdir)/libbanshee"; \
32188 libsrcdir="$$s/libbanshee";; \
32189 esac; \
32190 $(SHELL) $${libsrcdir}/configure \
32191 $(HOST_CONFIGARGS) $${srcdiroption} \
32192 @stage2_werror_flag@ && \
32193 $(STAMP) ../configure-stagefeedback-libbanshee
32195 maybe-all-stagefeedback-libbanshee: all-stagefeedback-libbanshee
32196 all-stagefeedback-libbanshee: configure-stagefeedback-libbanshee
32197 $(MAKE) stagefeedback-start
32198 @r=`${PWD_COMMAND}`; export r; \
32199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32200 $(STAGE_HOST_EXPORTS) \
32201 cd libbanshee && \
32202 $(MAKE) $(FLAGS_TO_PASS) \
32203 $(POSTSTAGE1_FLAGS_TO_PASS) \
32204 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32205 $(STAMP) ../all-stagefeedback-libbanshee
32206 @endif libbanshee-bootstrap
32208 maybe-configure-stagefeedback-libiberty:
32209 maybe-all-stagefeedback-libiberty:
32211 @if libiberty-bootstrap
32212 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
32213 configure-stagefeedback-libiberty: maybe-all-stage1-libiberty
32214 $(MAKE) stagefeedback-start
32215 @if [ -f stagefeedback-libiberty/Makefile ] ; then \
32216 $(STAMP) configure-stagefeedback-libiberty ; \
32217 exit 0; \
32218 else \
32219 true ; \
32220 fi ; \
32221 r=`${PWD_COMMAND}`; export r; \
32222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32223 $(STAGE_HOST_EXPORTS) \
32224 echo Configuring stage feedback in libiberty ; \
32225 cd libiberty || exit 1; \
32226 case $(srcdir) in \
32227 \.) \
32228 srcdiroption="--srcdir=."; \
32229 libsrcdir=".";; \
32230 /* | [A-Za-z]:[\\/]*) \
32231 srcdiroption="--srcdir=$(srcdir)/libiberty"; \
32232 libsrcdir="$$s/libiberty";; \
32233 *) \
32234 srcdiroption="--srcdir=../$(srcdir)/libiberty"; \
32235 libsrcdir="$$s/libiberty";; \
32236 esac; \
32237 $(SHELL) $${libsrcdir}/configure \
32238 $(HOST_CONFIGARGS) $${srcdiroption} \
32239 @stage2_werror_flag@ && \
32240 $(STAMP) ../configure-stagefeedback-libiberty
32242 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
32243 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
32244 $(MAKE) stagefeedback-start
32245 @r=`${PWD_COMMAND}`; export r; \
32246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32247 $(STAGE_HOST_EXPORTS) \
32248 cd libiberty && \
32249 $(MAKE) $(FLAGS_TO_PASS) \
32250 $(POSTSTAGE1_FLAGS_TO_PASS) \
32251 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32252 $(STAMP) ../all-stagefeedback-libiberty
32253 @endif libiberty-bootstrap
32255 maybe-configure-stagefeedback-zlib:
32256 maybe-all-stagefeedback-zlib:
32258 @if zlib-bootstrap
32259 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
32260 configure-stagefeedback-zlib: maybe-all-stage1-zlib
32261 $(MAKE) stagefeedback-start
32262 @if [ -f stagefeedback-zlib/Makefile ] ; then \
32263 $(STAMP) configure-stagefeedback-zlib ; \
32264 exit 0; \
32265 else \
32266 true ; \
32267 fi ; \
32268 r=`${PWD_COMMAND}`; export r; \
32269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32270 $(STAGE_HOST_EXPORTS) \
32271 echo Configuring stage feedback in zlib ; \
32272 cd zlib || exit 1; \
32273 case $(srcdir) in \
32274 \.) \
32275 srcdiroption="--srcdir=."; \
32276 libsrcdir=".";; \
32277 /* | [A-Za-z]:[\\/]*) \
32278 srcdiroption="--srcdir=$(srcdir)/zlib"; \
32279 libsrcdir="$$s/zlib";; \
32280 *) \
32281 srcdiroption="--srcdir=../$(srcdir)/zlib"; \
32282 libsrcdir="$$s/zlib";; \
32283 esac; \
32284 $(SHELL) $${libsrcdir}/configure \
32285 $(HOST_CONFIGARGS) $${srcdiroption} \
32286 @stage2_werror_flag@ && \
32287 $(STAMP) ../configure-stagefeedback-zlib
32289 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
32290 all-stagefeedback-zlib: configure-stagefeedback-zlib
32291 $(MAKE) stagefeedback-start
32292 @r=`${PWD_COMMAND}`; export r; \
32293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32294 $(STAGE_HOST_EXPORTS) \
32295 cd zlib && \
32296 $(MAKE) $(FLAGS_TO_PASS) \
32297 $(POSTSTAGE1_FLAGS_TO_PASS) \
32298 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" && \
32299 $(STAMP) ../all-stagefeedback-zlib
32300 @endif zlib-bootstrap
32303 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32304 # only possibility, but now it conflicts with no-bootstrap rules
32305 @if gcc-bootstrap
32310 .PHONY: restagefeedback touch-stagefeedback distclean-stagefeedback
32312 # Rules to wipe a stage and all the following ones, used for cleanstrap
32313 distclean-stage1:: distclean-stagefeedback
32314 distclean-stagefeedback::
32315 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32316 rm -rf configure-stagefeedback-* all-stagefeedback-* stagefeedback-*
32318 # Rules to renew the timestamp on a stage and all the following ones
32319 touch-stage1:: touch-stagefeedback
32320 touch-stagefeedback::
32321 @case `echo configure-stagefeedback-*` in \
32322 'configure-stagefeedback-*') ;; \
32323 *) \
32324 echo '$(STAMP)' configure-stagefeedback-* && \
32325 $(STAMP) configure-stagefeedback-* ;; \
32326 esac ; \
32327 case `echo all-stagefeedback-*` in \
32328 'all-stagefeedback-*') ;; \
32329 *) \
32330 echo '$(STAMP)' all-stagefeedback-* && \
32331 $(STAMP) all-stagefeedback-* ;; \
32332 esac
32334 # After building a stage, touch the following ones
32335 restage1:: touch-stagefeedback
32336 restagefeedback::
32337 rm -rf all-stagefeedback-*
32338 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback
32341 @endif gcc-bootstrap
32345 stagefeedback-start::
32346 @r=`${PWD_COMMAND}`; export r; \
32347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32348 cd stageprofile-gcc && \
32349 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
32350 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
32352 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32353 # only possibility, but now it conflicts with no-bootstrap rules
32354 @if gcc-bootstrap
32355 profiledbootstrap:
32356 @r=`${PWD_COMMAND}`; export r; \
32357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32358 $(SET_LIB_PATH) \
32359 $(HOST_EXPORTS) \
32360 echo "Bootstrapping the compiler"; \
32361 $(MAKE) stageprofile-bubble distclean-stagefeedback
32362 @r=`${PWD_COMMAND}`; export r; \
32363 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
32364 $(SET_LIB_PATH) \
32365 echo "Building runtime libraries and training compiler"; \
32366 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
32367 @r=`${PWD_COMMAND}`; export r; \
32368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32369 $(SET_LIB_PATH) \
32370 $(HOST_EXPORTS) \
32371 echo "Building feedback based compiler"; \
32372 $(MAKE) stagefeedback-bubble stagefeedback-end
32373 @endif gcc-bootstrap
32375 # --------------------------------------
32376 # Dependencies between different modules
32377 # --------------------------------------
32379 # Generic dependencies for target modules on host stuff, especially gcc
32381 configure-target-libstdc++-v3: maybe-all-gcc
32383 configure-target-libmudflap: maybe-all-gcc
32385 configure-target-newlib: maybe-all-gcc
32387 configure-target-libgfortran: maybe-all-gcc
32389 configure-target-libobjc: maybe-all-gcc
32391 configure-target-libtermcap: maybe-all-gcc
32393 configure-target-winsup: maybe-all-gcc
32395 configure-target-libgloss: maybe-all-gcc
32397 configure-target-libiberty: maybe-all-gcc
32399 configure-target-gperf: maybe-all-gcc
32401 configure-target-examples: maybe-all-gcc
32403 configure-target-libffi: maybe-all-gcc
32405 configure-target-libjava: maybe-all-gcc
32407 configure-target-zlib: maybe-all-gcc
32409 configure-target-boehm-gc: maybe-all-gcc
32411 configure-target-qthreads: maybe-all-gcc
32413 configure-target-rda: maybe-all-gcc
32415 configure-target-libada: maybe-all-gcc
32419 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
32421 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
32422 configure-target-gperf: maybe-all-target-libstdc++-v3
32424 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
32426 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
32428 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
32430 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
32431 configure-target-libjava: maybe-all-target-libstdc++-v3
32433 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
32435 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
32437 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
32439 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
32441 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
32443 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
32445 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
32447 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
32450 # There are two types of dependencies here: 'hard' dependencies, where one
32451 # module simply won't build without the other; and 'soft' dependencies, where
32452 # if the depended-on module is missing, the depending module will do without
32453 # or find a substitute somewhere (perhaps installed). Soft dependencies
32454 # are made here to depend on a 'maybe-' target. If you're not sure,
32455 # it's safer to use a soft dependency.
32461 # With all the machinery above in place, it is pretty easy to generate
32462 # dependencies. Host dependencies are a bit more complex because we have
32463 # to check for bootstrap/prebootstrap dependencies. To resolve
32464 # prebootstrap dependencies, prebootstrap modules are gathered in
32465 # a hash table.
32466 all-build-bison: maybe-all-build-texinfo
32467 all-build-byacc: maybe-all-build-texinfo
32468 all-build-flex: maybe-all-build-texinfo
32469 all-build-flex: maybe-all-build-bison
32470 all-build-flex: maybe-all-build-byacc
32471 all-build-flex: maybe-all-build-m4
32472 all-build-libiberty: maybe-all-build-texinfo
32473 all-build-m4: maybe-all-build-texinfo
32474 configure-gcc: maybe-configure-intl
32476 configure-stage1-gcc: maybe-configure-stage1-intl
32477 configure-stage2-gcc: maybe-configure-stage2-intl
32478 configure-stage3-gcc: maybe-configure-stage3-intl
32479 configure-stage4-gcc: maybe-configure-stage4-intl
32480 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
32481 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
32482 configure-gcc: maybe-configure-binutils
32484 configure-stage1-gcc: maybe-configure-stage1-binutils
32485 configure-stage2-gcc: maybe-configure-stage2-binutils
32486 configure-stage3-gcc: maybe-configure-stage3-binutils
32487 configure-stage4-gcc: maybe-configure-stage4-binutils
32488 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
32489 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
32490 configure-gcc: maybe-configure-gas
32492 configure-stage1-gcc: maybe-configure-stage1-gas
32493 configure-stage2-gcc: maybe-configure-stage2-gas
32494 configure-stage3-gcc: maybe-configure-stage3-gas
32495 configure-stage4-gcc: maybe-configure-stage4-gas
32496 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
32497 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
32498 configure-gcc: maybe-configure-ld
32500 configure-stage1-gcc: maybe-configure-stage1-ld
32501 configure-stage2-gcc: maybe-configure-stage2-ld
32502 configure-stage3-gcc: maybe-configure-stage3-ld
32503 configure-stage4-gcc: maybe-configure-stage4-ld
32504 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
32505 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
32506 all-gcc: all-libiberty
32508 all-stage1-gcc: all-stage1-libiberty
32509 all-stage2-gcc: all-stage2-libiberty
32510 all-stage3-gcc: all-stage3-libiberty
32511 all-stage4-gcc: all-stage4-libiberty
32512 all-stageprofile-gcc: all-stageprofile-libiberty
32513 all-stagefeedback-gcc: all-stagefeedback-libiberty
32514 all-gcc: maybe-all-intl
32516 all-stage1-gcc: maybe-all-stage1-intl
32517 all-stage2-gcc: maybe-all-stage2-intl
32518 all-stage3-gcc: maybe-all-stage3-intl
32519 all-stage4-gcc: maybe-all-stage4-intl
32520 all-stageprofile-gcc: maybe-all-stageprofile-intl
32521 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
32522 all-gcc: maybe-all-build-texinfo
32524 all-stage1-gcc: maybe-all-build-texinfo
32525 all-stage2-gcc: maybe-all-build-texinfo
32526 all-stage3-gcc: maybe-all-build-texinfo
32527 all-stage4-gcc: maybe-all-build-texinfo
32528 all-stageprofile-gcc: maybe-all-build-texinfo
32529 all-stagefeedback-gcc: maybe-all-build-texinfo
32530 all-prebootstrap: maybe-all-build-texinfo
32531 all-gcc: maybe-all-build-bison
32533 all-stage1-gcc: maybe-all-build-bison
32534 all-stage2-gcc: maybe-all-build-bison
32535 all-stage3-gcc: maybe-all-build-bison
32536 all-stage4-gcc: maybe-all-build-bison
32537 all-stageprofile-gcc: maybe-all-build-bison
32538 all-stagefeedback-gcc: maybe-all-build-bison
32539 all-prebootstrap: maybe-all-build-bison
32540 all-gcc: maybe-all-build-byacc
32542 all-stage1-gcc: maybe-all-build-byacc
32543 all-stage2-gcc: maybe-all-build-byacc
32544 all-stage3-gcc: maybe-all-build-byacc
32545 all-stage4-gcc: maybe-all-build-byacc
32546 all-stageprofile-gcc: maybe-all-build-byacc
32547 all-stagefeedback-gcc: maybe-all-build-byacc
32548 all-prebootstrap: maybe-all-build-byacc
32549 all-gcc: maybe-all-build-flex
32551 all-stage1-gcc: maybe-all-build-flex
32552 all-stage2-gcc: maybe-all-build-flex
32553 all-stage3-gcc: maybe-all-build-flex
32554 all-stage4-gcc: maybe-all-build-flex
32555 all-stageprofile-gcc: maybe-all-build-flex
32556 all-stagefeedback-gcc: maybe-all-build-flex
32557 all-prebootstrap: maybe-all-build-flex
32558 all-gcc: maybe-all-binutils
32560 all-stage1-gcc: maybe-all-stage1-binutils
32561 all-stage2-gcc: maybe-all-stage2-binutils
32562 all-stage3-gcc: maybe-all-stage3-binutils
32563 all-stage4-gcc: maybe-all-stage4-binutils
32564 all-stageprofile-gcc: maybe-all-stageprofile-binutils
32565 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
32566 all-gcc: maybe-all-gas
32568 all-stage1-gcc: maybe-all-stage1-gas
32569 all-stage2-gcc: maybe-all-stage2-gas
32570 all-stage3-gcc: maybe-all-stage3-gas
32571 all-stage4-gcc: maybe-all-stage4-gas
32572 all-stageprofile-gcc: maybe-all-stageprofile-gas
32573 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
32574 all-gcc: maybe-all-ld
32576 all-stage1-gcc: maybe-all-stage1-ld
32577 all-stage2-gcc: maybe-all-stage2-ld
32578 all-stage3-gcc: maybe-all-stage3-ld
32579 all-stage4-gcc: maybe-all-stage4-ld
32580 all-stageprofile-gcc: maybe-all-stageprofile-ld
32581 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
32582 all-gcc: maybe-all-zlib
32584 all-stage1-gcc: maybe-all-stage1-zlib
32585 all-stage2-gcc: maybe-all-stage2-zlib
32586 all-stage3-gcc: maybe-all-stage3-zlib
32587 all-stage4-gcc: maybe-all-stage4-zlib
32588 all-stageprofile-gcc: maybe-all-stageprofile-zlib
32589 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
32590 all-gcc: maybe-all-libbanshee
32592 all-stage1-gcc: maybe-all-stage1-libbanshee
32593 all-stage2-gcc: maybe-all-stage2-libbanshee
32594 all-stage3-gcc: maybe-all-stage3-libbanshee
32595 all-stage4-gcc: maybe-all-stage4-libbanshee
32596 all-stageprofile-gcc: maybe-all-stageprofile-libbanshee
32597 all-stagefeedback-gcc: maybe-all-stagefeedback-libbanshee
32598 all-gcc: all-libcpp
32600 all-stage1-gcc: all-stage1-libcpp
32601 all-stage2-gcc: all-stage2-libcpp
32602 all-stage3-gcc: all-stage3-libcpp
32603 all-stage4-gcc: all-stage4-libcpp
32604 all-stageprofile-gcc: all-stageprofile-libcpp
32605 all-stagefeedback-gcc: all-stagefeedback-libcpp
32606 all-gcc: maybe-all-build-libiberty
32608 all-stage1-gcc: maybe-all-build-libiberty
32609 all-stage2-gcc: maybe-all-build-libiberty
32610 all-stage3-gcc: maybe-all-build-libiberty
32611 all-stage4-gcc: maybe-all-build-libiberty
32612 all-stageprofile-gcc: maybe-all-build-libiberty
32613 all-stagefeedback-gcc: maybe-all-build-libiberty
32614 all-prebootstrap: maybe-all-build-libiberty
32615 configure-libcpp: configure-libiberty
32617 configure-stage1-libcpp: configure-stage1-libiberty
32618 configure-stage2-libcpp: configure-stage2-libiberty
32619 configure-stage3-libcpp: configure-stage3-libiberty
32620 configure-stage4-libcpp: configure-stage4-libiberty
32621 configure-stageprofile-libcpp: configure-stageprofile-libiberty
32622 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
32623 configure-libcpp: maybe-configure-intl
32625 configure-stage1-libcpp: maybe-configure-stage1-intl
32626 configure-stage2-libcpp: maybe-configure-stage2-intl
32627 configure-stage3-libcpp: maybe-configure-stage3-intl
32628 configure-stage4-libcpp: maybe-configure-stage4-intl
32629 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
32630 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
32631 all-libcpp: all-libiberty
32633 all-stage1-libcpp: all-stage1-libiberty
32634 all-stage2-libcpp: all-stage2-libiberty
32635 all-stage3-libcpp: all-stage3-libiberty
32636 all-stage4-libcpp: all-stage4-libiberty
32637 all-stageprofile-libcpp: all-stageprofile-libiberty
32638 all-stagefeedback-libcpp: all-stagefeedback-libiberty
32639 all-libcpp: maybe-all-intl
32641 all-stage1-libcpp: maybe-all-stage1-intl
32642 all-stage2-libcpp: maybe-all-stage2-intl
32643 all-stage3-libcpp: maybe-all-stage3-intl
32644 all-stage4-libcpp: maybe-all-stage4-intl
32645 all-stageprofile-libcpp: maybe-all-stageprofile-intl
32646 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
32647 configure-gdb: maybe-configure-itcl
32648 configure-gdb: maybe-configure-tcl
32649 configure-gdb: maybe-configure-tk
32650 configure-gdb: maybe-configure-sim
32651 all-gdb: maybe-all-libiberty
32652 all-gdb: maybe-all-opcodes
32653 all-gdb: maybe-all-bfd
32654 all-gdb: maybe-all-readline
32655 all-gdb: maybe-all-build-bison
32656 all-gdb: maybe-all-build-byacc
32657 all-gdb: maybe-all-sim
32658 install-gdb: maybe-install-tcl
32659 install-gdb: maybe-install-tk
32660 install-gdb: maybe-install-itcl
32661 install-gdb: maybe-install-libgui
32662 configure-libgui: maybe-configure-tcl
32663 configure-libgui: maybe-configure-tk
32664 all-libgui: maybe-all-tcl
32665 all-libgui: maybe-all-tk
32666 all-libgui: maybe-all-itcl
32667 configure-bfd: configure-libiberty
32669 configure-stage1-bfd: configure-stage1-libiberty
32670 configure-stage2-bfd: configure-stage2-libiberty
32671 configure-stage3-bfd: configure-stage3-libiberty
32672 configure-stage4-bfd: configure-stage4-libiberty
32673 configure-stageprofile-bfd: configure-stageprofile-libiberty
32674 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
32675 all-bfd: maybe-all-libiberty
32677 all-stage1-bfd: maybe-all-stage1-libiberty
32678 all-stage2-bfd: maybe-all-stage2-libiberty
32679 all-stage3-bfd: maybe-all-stage3-libiberty
32680 all-stage4-bfd: maybe-all-stage4-libiberty
32681 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
32682 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
32683 all-bfd: maybe-all-intl
32685 all-stage1-bfd: maybe-all-stage1-intl
32686 all-stage2-bfd: maybe-all-stage2-intl
32687 all-stage3-bfd: maybe-all-stage3-intl
32688 all-stage4-bfd: maybe-all-stage4-intl
32689 all-stageprofile-bfd: maybe-all-stageprofile-intl
32690 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
32691 all-binutils: maybe-all-libiberty
32693 all-stage1-binutils: maybe-all-stage1-libiberty
32694 all-stage2-binutils: maybe-all-stage2-libiberty
32695 all-stage3-binutils: maybe-all-stage3-libiberty
32696 all-stage4-binutils: maybe-all-stage4-libiberty
32697 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
32698 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
32699 all-binutils: maybe-all-opcodes
32701 all-stage1-binutils: maybe-all-stage1-opcodes
32702 all-stage2-binutils: maybe-all-stage2-opcodes
32703 all-stage3-binutils: maybe-all-stage3-opcodes
32704 all-stage4-binutils: maybe-all-stage4-opcodes
32705 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
32706 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
32707 all-binutils: maybe-all-bfd
32709 all-stage1-binutils: maybe-all-stage1-bfd
32710 all-stage2-binutils: maybe-all-stage2-bfd
32711 all-stage3-binutils: maybe-all-stage3-bfd
32712 all-stage4-binutils: maybe-all-stage4-bfd
32713 all-stageprofile-binutils: maybe-all-stageprofile-bfd
32714 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
32715 all-binutils: maybe-all-build-flex
32717 all-stage1-binutils: maybe-all-build-flex
32718 all-stage2-binutils: maybe-all-build-flex
32719 all-stage3-binutils: maybe-all-build-flex
32720 all-stage4-binutils: maybe-all-build-flex
32721 all-stageprofile-binutils: maybe-all-build-flex
32722 all-stagefeedback-binutils: maybe-all-build-flex
32723 all-prebootstrap: maybe-all-build-flex
32724 all-binutils: maybe-all-build-bison
32726 all-stage1-binutils: maybe-all-build-bison
32727 all-stage2-binutils: maybe-all-build-bison
32728 all-stage3-binutils: maybe-all-build-bison
32729 all-stage4-binutils: maybe-all-build-bison
32730 all-stageprofile-binutils: maybe-all-build-bison
32731 all-stagefeedback-binutils: maybe-all-build-bison
32732 all-prebootstrap: maybe-all-build-bison
32733 all-binutils: maybe-all-build-byacc
32735 all-stage1-binutils: maybe-all-build-byacc
32736 all-stage2-binutils: maybe-all-build-byacc
32737 all-stage3-binutils: maybe-all-build-byacc
32738 all-stage4-binutils: maybe-all-build-byacc
32739 all-stageprofile-binutils: maybe-all-build-byacc
32740 all-stagefeedback-binutils: maybe-all-build-byacc
32741 all-prebootstrap: maybe-all-build-byacc
32742 all-binutils: maybe-all-intl
32744 all-stage1-binutils: maybe-all-stage1-intl
32745 all-stage2-binutils: maybe-all-stage2-intl
32746 all-stage3-binutils: maybe-all-stage3-intl
32747 all-stage4-binutils: maybe-all-stage4-intl
32748 all-stageprofile-binutils: maybe-all-stageprofile-intl
32749 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
32750 install-binutils: maybe-install-opcodes
32751 install-opcodes: maybe-install-bfd
32752 all-gas: maybe-all-libiberty
32754 all-stage1-gas: maybe-all-stage1-libiberty
32755 all-stage2-gas: maybe-all-stage2-libiberty
32756 all-stage3-gas: maybe-all-stage3-libiberty
32757 all-stage4-gas: maybe-all-stage4-libiberty
32758 all-stageprofile-gas: maybe-all-stageprofile-libiberty
32759 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
32760 all-gas: maybe-all-opcodes
32762 all-stage1-gas: maybe-all-stage1-opcodes
32763 all-stage2-gas: maybe-all-stage2-opcodes
32764 all-stage3-gas: maybe-all-stage3-opcodes
32765 all-stage4-gas: maybe-all-stage4-opcodes
32766 all-stageprofile-gas: maybe-all-stageprofile-opcodes
32767 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
32768 all-gas: maybe-all-bfd
32770 all-stage1-gas: maybe-all-stage1-bfd
32771 all-stage2-gas: maybe-all-stage2-bfd
32772 all-stage3-gas: maybe-all-stage3-bfd
32773 all-stage4-gas: maybe-all-stage4-bfd
32774 all-stageprofile-gas: maybe-all-stageprofile-bfd
32775 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
32776 all-gas: maybe-all-intl
32778 all-stage1-gas: maybe-all-stage1-intl
32779 all-stage2-gas: maybe-all-stage2-intl
32780 all-stage3-gas: maybe-all-stage3-intl
32781 all-stage4-gas: maybe-all-stage4-intl
32782 all-stageprofile-gas: maybe-all-stageprofile-intl
32783 all-stagefeedback-gas: maybe-all-stagefeedback-intl
32784 all-gprof: maybe-all-libiberty
32785 all-gprof: maybe-all-bfd
32786 all-gprof: maybe-all-opcodes
32787 all-gprof: maybe-all-intl
32788 all-ld: maybe-all-libiberty
32790 all-stage1-ld: maybe-all-stage1-libiberty
32791 all-stage2-ld: maybe-all-stage2-libiberty
32792 all-stage3-ld: maybe-all-stage3-libiberty
32793 all-stage4-ld: maybe-all-stage4-libiberty
32794 all-stageprofile-ld: maybe-all-stageprofile-libiberty
32795 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
32796 all-ld: maybe-all-bfd
32798 all-stage1-ld: maybe-all-stage1-bfd
32799 all-stage2-ld: maybe-all-stage2-bfd
32800 all-stage3-ld: maybe-all-stage3-bfd
32801 all-stage4-ld: maybe-all-stage4-bfd
32802 all-stageprofile-ld: maybe-all-stageprofile-bfd
32803 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
32804 all-ld: maybe-all-opcodes
32806 all-stage1-ld: maybe-all-stage1-opcodes
32807 all-stage2-ld: maybe-all-stage2-opcodes
32808 all-stage3-ld: maybe-all-stage3-opcodes
32809 all-stage4-ld: maybe-all-stage4-opcodes
32810 all-stageprofile-ld: maybe-all-stageprofile-opcodes
32811 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
32812 all-ld: maybe-all-build-bison
32814 all-stage1-ld: maybe-all-build-bison
32815 all-stage2-ld: maybe-all-build-bison
32816 all-stage3-ld: maybe-all-build-bison
32817 all-stage4-ld: maybe-all-build-bison
32818 all-stageprofile-ld: maybe-all-build-bison
32819 all-stagefeedback-ld: maybe-all-build-bison
32820 all-prebootstrap: maybe-all-build-bison
32821 all-ld: maybe-all-build-byacc
32823 all-stage1-ld: maybe-all-build-byacc
32824 all-stage2-ld: maybe-all-build-byacc
32825 all-stage3-ld: maybe-all-build-byacc
32826 all-stage4-ld: maybe-all-build-byacc
32827 all-stageprofile-ld: maybe-all-build-byacc
32828 all-stagefeedback-ld: maybe-all-build-byacc
32829 all-prebootstrap: maybe-all-build-byacc
32830 all-ld: maybe-all-build-flex
32832 all-stage1-ld: maybe-all-build-flex
32833 all-stage2-ld: maybe-all-build-flex
32834 all-stage3-ld: maybe-all-build-flex
32835 all-stage4-ld: maybe-all-build-flex
32836 all-stageprofile-ld: maybe-all-build-flex
32837 all-stagefeedback-ld: maybe-all-build-flex
32838 all-prebootstrap: maybe-all-build-flex
32839 all-ld: maybe-all-intl
32841 all-stage1-ld: maybe-all-stage1-intl
32842 all-stage2-ld: maybe-all-stage2-intl
32843 all-stage3-ld: maybe-all-stage3-intl
32844 all-stage4-ld: maybe-all-stage4-intl
32845 all-stageprofile-ld: maybe-all-stageprofile-intl
32846 all-stagefeedback-ld: maybe-all-stagefeedback-intl
32847 all-opcodes: maybe-all-bfd
32849 all-stage1-opcodes: maybe-all-stage1-bfd
32850 all-stage2-opcodes: maybe-all-stage2-bfd
32851 all-stage3-opcodes: maybe-all-stage3-bfd
32852 all-stage4-opcodes: maybe-all-stage4-bfd
32853 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
32854 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
32855 all-opcodes: maybe-all-libiberty
32857 all-stage1-opcodes: maybe-all-stage1-libiberty
32858 all-stage2-opcodes: maybe-all-stage2-libiberty
32859 all-stage3-opcodes: maybe-all-stage3-libiberty
32860 all-stage4-opcodes: maybe-all-stage4-libiberty
32861 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
32862 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
32863 all-dejagnu: maybe-all-tcl
32864 all-dejagnu: maybe-all-expect
32865 all-dejagnu: maybe-all-tk
32866 configure-expect: maybe-configure-tcl
32867 configure-expect: maybe-configure-tk
32868 all-expect: maybe-all-tcl
32869 all-expect: maybe-all-tk
32870 configure-itcl: maybe-configure-tcl
32871 configure-itcl: maybe-configure-tk
32872 all-itcl: maybe-all-tcl
32873 all-itcl: maybe-all-tk
32874 install-itcl: maybe-install-tcl
32875 configure-tk: maybe-configure-tcl
32876 all-tk: maybe-all-tcl
32877 all-sid: maybe-all-libiberty
32878 all-sid: maybe-all-bfd
32879 all-sid: maybe-all-opcodes
32880 all-sid: maybe-all-tcl
32881 all-sid: maybe-all-tk
32882 install-sid: maybe-install-tcl
32883 install-sid: maybe-install-tk
32884 all-sim: maybe-all-libiberty
32885 all-sim: maybe-all-bfd
32886 all-sim: maybe-all-opcodes
32887 all-sim: maybe-all-readline
32888 all-sim: maybe-configure-gdb
32889 all-fastjar: maybe-all-zlib
32890 all-fastjar: maybe-all-build-texinfo
32891 all-fastjar: maybe-all-libiberty
32892 all-autoconf: maybe-all-m4
32893 all-autoconf: maybe-all-build-texinfo
32894 all-automake: maybe-all-m4
32895 all-automake: maybe-all-build-texinfo
32896 all-automake: maybe-all-autoconf
32897 all-bison: maybe-all-intl
32898 all-bison: maybe-all-build-texinfo
32899 all-diff: maybe-all-intl
32900 all-diff: maybe-all-build-texinfo
32901 all-fileutils: maybe-all-intl
32902 all-fileutils: maybe-all-build-texinfo
32903 all-flex: maybe-all-build-bison
32904 all-flex: maybe-all-build-byacc
32905 all-flex: maybe-all-intl
32906 all-flex: maybe-all-m4
32907 all-flex: maybe-all-build-texinfo
32908 all-gzip: maybe-all-intl
32909 all-gzip: maybe-all-zlib
32910 all-gzip: maybe-all-build-texinfo
32911 all-hello: maybe-all-intl
32912 all-hello: maybe-all-build-texinfo
32913 all-m4: maybe-all-intl
32914 all-m4: maybe-all-build-texinfo
32915 all-make: maybe-all-intl
32916 all-make: maybe-all-build-texinfo
32917 all-patch: maybe-all-build-texinfo
32918 all-make: maybe-all-build-texinfo
32919 all-prms: maybe-all-libiberty
32920 all-recode: maybe-all-build-texinfo
32921 all-sed: maybe-all-build-texinfo
32922 all-send-pr: maybe-all-prms
32923 all-tar: maybe-all-build-texinfo
32924 all-uudecode: maybe-all-build-texinfo
32925 configure-target-boehm-gc: maybe-configure-target-qthreads
32926 configure-target-fastjar: maybe-configure-target-zlib
32927 all-target-fastjar: maybe-all-target-zlib
32928 all-target-fastjar: maybe-all-target-libiberty
32929 configure-target-libjava: maybe-configure-target-zlib
32930 configure-target-libjava: maybe-configure-target-boehm-gc
32931 configure-target-libjava: maybe-configure-target-qthreads
32932 configure-target-libjava: maybe-configure-target-libffi
32933 all-target-libjava: maybe-all-fastjar
32934 all-target-libjava: maybe-all-target-zlib
32935 all-target-libjava: maybe-all-target-boehm-gc
32936 all-target-libjava: maybe-all-target-qthreads
32937 all-target-libjava: maybe-all-target-libffi
32938 all-target-libobjc: maybe-all-target-libiberty
32939 all-target-libstdc++-v3: maybe-all-target-libiberty
32940 all-target-libgloss: maybe-configure-target-newlib
32941 all-target-winsup: maybe-all-target-libiberty
32942 all-target-winsup: maybe-all-target-libtermcap
32945 # Non-toplevel bootstrap rules must depend on several packages, to be built
32946 # before gcc. Another wart that will go away, hopefully soon.
32947 @if gcc-no-bootstrap
32949 all-prebootstrap: maybe-all-bfd
32950 all-prebootstrap: maybe-all-opcodes
32951 all-prebootstrap: maybe-all-binutils
32952 all-prebootstrap: maybe-all-gas
32953 all-prebootstrap: maybe-all-intl
32954 all-prebootstrap: maybe-all-ld
32955 all-prebootstrap: maybe-all-libcpp
32956 all-prebootstrap: maybe-all-libbanshee
32957 all-prebootstrap: maybe-all-libiberty
32958 all-prebootstrap: maybe-all-zlib
32959 @endif gcc-no-bootstrap
32961 GDB_TK = @GDB_TK@
32962 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
32964 # Serialization dependencies. Host configures don't work well in parallel to
32965 # each other, due to contention over config.cache. Target configures and
32966 # build configures are similar.
32967 @serialization_dependencies@
32969 # --------------------------------
32970 # Regenerating top level configury
32971 # --------------------------------
32973 # Multilib.out tells target dirs what multilibs they should build.
32974 # There is really only one copy. We use the 'timestamp' method to
32975 # work around various timestamp bugs on some systems.
32976 # We use move-if-change so that it's only considered updated when it
32977 # actually changes, because it has to depend on a phony target.
32978 multilib.out: maybe-all-gcc
32979 @r=`${PWD_COMMAND}`; export r; \
32980 echo "Checking multilib configuration..."; \
32981 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
32982 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
32984 # Rebuilding Makefile.in, using autogen.
32985 AUTOGEN = autogen
32986 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
32987 cd $(srcdir) && $(AUTOGEN) Makefile.def
32989 # Rebuilding Makefile.
32990 Makefile: $(srcdir)/Makefile.in config.status
32991 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
32993 config.status: configure $(gcc_version_trigger)
32994 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
32996 # Rebuilding configure.
32997 AUTOCONF = autoconf
32998 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
32999 cd $(srcdir) && $(AUTOCONF)
33001 # ------------------------------
33002 # Special directives to GNU Make
33003 # ------------------------------
33005 # Don't pass command-line variables to submakes.
33006 .NOEXPORT:
33007 MAKEOVERRIDES=
33009 # end of Makefile.in