bfd/
[binutils.git] / Makefile.in
blob4268704f2d49c90cc1db22f397fac3fbc9a641d1
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
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 gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
137 HOST_EXPORTS = \
138 $(BASE_EXPORTS) \
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
160 # Similar, for later GCC stages.
161 POSTSTAGE1_HOST_EXPORTS = \
162 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
163 $(HOST_EXPORTS) \
164 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
165 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
166 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
167 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
168 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
169 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
171 # This is set by the configure script to the list of directories which
172 # should be built using the target tools.
173 TARGET_CONFIGDIRS = @target_configdirs@
174 # Target libraries are put under this directory:
175 TARGET_SUBDIR = @target_subdir@
176 # This is set by the configure script to the arguments to use when configuring
177 # directories built for the target.
178 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
179 # This is the list of variables to export in the environment when
180 # configuring subdirectories for the host system.
181 BASE_TARGET_EXPORTS = \
182 $(BASE_EXPORTS) \
183 AR="$(AR_FOR_TARGET)"; export AR; \
184 AS="$(AS_FOR_TARGET)"; export AS; \
185 CC="$(CC_FOR_TARGET)"; export CC; \
186 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
187 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
188 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
189 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
190 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
191 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
192 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
193 LD="$(LD_FOR_TARGET)"; export LD; \
194 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
195 NM="$(NM_FOR_TARGET)"; export NM; \
196 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
197 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
198 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
200 RAW_CXX_TARGET_EXPORTS = \
201 $(BASE_TARGET_EXPORTS) \
202 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
203 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
205 NORMAL_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX="$(CXX_FOR_TARGET)"; export CXX;
209 # Where to find GMP
210 HOST_GMPLIBS = @gmplibs@
211 HOST_GMPINC = @gmpinc@
213 # ----------------------------------------------
214 # Programs producing files for the BUILD machine
215 # ----------------------------------------------
217 SHELL = @config_shell@
219 # pwd command to use. Allow user to override default by setting PWDCMD in
220 # the environment to account for automounters. The make variable must not
221 # be called PWDCMD, otherwise the value set here is passed to make
222 # subprocesses and overrides the setting from the user's environment.
223 # Don't use PWD since it is a common shell environment variable and we
224 # don't want to corrupt it.
225 PWD_COMMAND = $${PWDCMD-pwd}
227 # compilers to use to create programs which must be run in the build
228 # environment.
229 CC_FOR_BUILD = @CC_FOR_BUILD@
230 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
232 CXX_FOR_BUILD = $(CXX)
234 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
235 # here so that they can be overridden by Makefile fragments.
236 BUILD_PREFIX = @BUILD_PREFIX@
237 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
239 # Flags to pass to stage2 and later makes. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BOOT_CFLAGS= -g -O2
243 CONFIGURED_BISON = @CONFIGURED_BISON@
244 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
245 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
246 else \
247 echo ${CONFIGURED_BISON} ; \
250 CONFIGURED_YACC = @CONFIGURED_YACC@
251 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
252 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
253 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
254 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
255 else \
256 echo ${CONFIGURED_YACC} ; \
259 CONFIGURED_FLEX = @CONFIGURED_FLEX@
260 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
261 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
262 else echo ${CONFIGURED_FLEX} ; fi`
264 CONFIGURED_LEX = @CONFIGURED_LEX@
265 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_LEX} ; fi`
269 CONFIGURED_M4 = @CONFIGURED_M4@
270 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
272 else echo ${CONFIGURED_M4} ; fi`
274 # For an installed makeinfo, we require it to be from texinfo 4.2 or
275 # higher, else we use the "missing" dummy. We also pass the subdirectory
276 # makeinfo even if only the Makefile is there, because Texinfo builds its
277 # manual when made, and it requires its own version.
278 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
279 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
280 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
281 else if (${CONFIGURED_MAKEINFO} --version \
282 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
283 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
285 # This just becomes part of the MAKEINFO definition passed down to
286 # sub-makes. It lets flags be given on the command line while still
287 # using the makeinfo from the object tree.
288 # (Default to avoid splitting info files by setting the threshold high.)
289 MAKEINFOFLAGS = --split-size=5000000
291 # FIXME: expect may become a build tool?
292 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
293 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
294 else echo expect ; fi`
296 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
297 then echo $$s/dejagnu/runtest ; \
298 else echo runtest ; fi`
300 # ---------------------------------------------
301 # Programs producing files for the HOST machine
302 # ---------------------------------------------
304 AS = @AS@
306 AR = @AR@
307 AR_FLAGS = rc
309 CC = @CC@
310 CFLAGS = @CFLAGS@
311 LIBCFLAGS = $(CFLAGS)
313 CXX = @CXX@
314 CXXFLAGS = @CXXFLAGS@
315 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
317 DLLTOOL = @DLLTOOL@
319 NM = @NM@
321 LD = @LD@
322 LDFLAGS =
324 RANLIB = @RANLIB@
326 WINDRES = @WINDRES@
328 PICFLAG =
330 # -----------------------------------------------
331 # Programs producing files for the TARGET machine
332 # -----------------------------------------------
334 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
336 AR_FOR_TARGET=@AR_FOR_TARGET@
337 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
338 USUAL_AR_FOR_TARGET = ` \
339 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
340 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
341 else \
342 if [ '$(host)' = '$(target)' ] ; then \
343 echo $(AR); \
344 else \
345 echo $(CONFIGURED_AR_FOR_TARGET) ; \
346 fi; \
349 AS_FOR_TARGET=@AS_FOR_TARGET@
350 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
351 USUAL_AS_FOR_TARGET = ` \
352 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
353 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
354 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
355 $(CC_FOR_TARGET) -print-prog-name=as ; \
356 else \
357 if [ '$(host)' = '$(target)' ] ; then \
358 echo $(AS); \
359 else \
360 echo $(CONFIGURED_AS_FOR_TARGET) ; \
361 fi; \
364 CC_FOR_TARGET = @CC_FOR_TARGET@
365 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
366 # During gcc bootstrap, if we use some random cc for stage1 then
367 # CFLAGS will be just -g. We want to ensure that TARGET libraries
368 # (which we know are built with gcc) are built with optimizations so
369 # prepend -O2 when setting CFLAGS_FOR_TARGET.
370 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
371 # If GCC_FOR_TARGET is not overriden on the command line, then this
372 # variable is passed down to the gcc Makefile, where it is used to
373 # build libgcc2.a. We define it here so that it can itself be
374 # overridden on the command line.
375 GCC_FOR_TARGET=@GCC_FOR_TARGET@
376 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
377 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
378 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
380 CXX_FOR_TARGET = @CXX_FOR_TARGET@
381 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
382 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
384 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
385 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
387 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
388 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
389 USUAL_DLLTOOL_FOR_TARGET = ` \
390 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
391 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
392 else \
393 if [ '$(host)' = '$(target)' ] ; then \
394 echo $(DLLTOOL); \
395 else \
396 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
397 fi; \
400 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
401 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
403 LD_FOR_TARGET=@LD_FOR_TARGET@
404 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
405 USUAL_LD_FOR_TARGET = ` \
406 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
407 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
408 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
409 $(CC_FOR_TARGET) -print-prog-name=ld ; \
410 else \
411 if [ '$(host)' = '$(target)' ] ; then \
412 echo $(LD); \
413 else \
414 echo $(CONFIGURED_LD_FOR_TARGET) ; \
415 fi; \
418 LDFLAGS_FOR_TARGET =
420 NM_FOR_TARGET=@NM_FOR_TARGET@
421 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
422 USUAL_NM_FOR_TARGET = ` \
423 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
424 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
425 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
426 $(CC_FOR_TARGET) -print-prog-name=nm ; \
427 else \
428 if [ '$(host)' = '$(target)' ] ; then \
429 echo $(NM); \
430 else \
431 echo $(CONFIGURED_NM_FOR_TARGET) ; \
432 fi; \
435 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
436 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
437 USUAL_RANLIB_FOR_TARGET = ` \
438 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
439 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
440 else \
441 if [ '$(host)' = '$(target)' ] ; then \
442 if [ x'$(RANLIB)' != x ]; then \
443 echo $(RANLIB); \
444 else \
445 echo ranlib; \
446 fi; \
447 else \
448 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
449 fi; \
452 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
453 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
454 USUAL_WINDRES_FOR_TARGET = ` \
455 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
456 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
457 else \
458 if [ '$(host)' = '$(target)' ] ; then \
459 echo $(WINDRES); \
460 else \
461 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
462 fi; \
465 PICFLAG_FOR_TARGET =
467 # ------------------------------------
468 # Miscellaneous targets and flag lists
469 # ------------------------------------
471 # The first rule in the file had better be this one. Don't put any above it.
472 # This lives here to allow makefile fragments to contain dependencies.
473 @default_target@:
475 #### host and target specific makefile fragments come in here.
476 @target_makefile_frag@
477 @alphaieee_frag@
478 @ospace_frag@
479 @host_makefile_frag@
482 # This is the list of directories that may be needed in RPATH_ENVVAR
483 # so that prorgams built for the target machine work.
484 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
486 @if target-libstdc++-v3
487 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
488 @endif target-libstdc++-v3
490 @if target-libmudflap
491 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
492 @endif target-libmudflap
494 @if target-libssp
495 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
496 @endif target-libssp
500 # This is the list of directories that may be needed in RPATH_ENVVAR
501 # so that programs built for the host machine work.
502 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
504 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
505 @if gcc
506 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
507 @endif gcc
510 @if bfd
511 HOST_LIB_PATH_bfd = \
512 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
513 @endif bfd
515 @if opcodes
516 HOST_LIB_PATH_opcodes = \
517 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
518 @endif opcodes
521 # Flags to pass down to all sub-makes.
522 BASE_FLAGS_TO_PASS = \
523 "DESTDIR=$(DESTDIR)" \
524 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
525 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
526 "bindir=$(bindir)" \
527 "datadir=$(datadir)" \
528 "exec_prefix=$(exec_prefix)" \
529 "includedir=$(includedir)" \
530 "infodir=$(infodir)" \
531 "libdir=$(libdir)" \
532 "libexecdir=$(libexecdir)" \
533 "lispdir=$(lispdir)" \
534 "localstatedir=$(localstatedir)" \
535 "mandir=$(mandir)" \
536 "oldincludedir=$(oldincludedir)" \
537 "prefix=$(prefix)" \
538 "sbindir=$(sbindir)" \
539 "sharedstatedir=$(sharedstatedir)" \
540 "sysconfdir=$(sysconfdir)" \
541 "tooldir=$(tooldir)" \
542 "build_tooldir=$(build_tooldir)" \
543 "target_alias=$(target_alias)" \
544 "BISON=$(BISON)" \
545 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
546 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
547 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
548 "EXPECT=$(EXPECT)" \
549 "FLEX=$(FLEX)" \
550 "INSTALL=$(INSTALL)" \
551 "INSTALL_DATA=$(INSTALL_DATA)" \
552 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
553 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
554 "LEX=$(LEX)" \
555 "M4=$(M4)" \
556 "MAKE=$(MAKE)" \
557 "RUNTEST=$(RUNTEST)" \
558 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
559 "SHELL=$(SHELL)" \
560 "YACC=$(YACC)" \
561 "AR_FLAGS=$(AR_FLAGS)" \
562 "CFLAGS=$(CFLAGS)" \
563 "CXXFLAGS=$(CXXFLAGS)" \
564 "LDFLAGS=$(LDFLAGS)" \
565 "LIBCFLAGS=$(LIBCFLAGS)" \
566 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
567 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
568 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
569 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
570 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
571 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
572 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
573 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
574 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
575 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
576 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
577 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
578 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
579 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
580 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
581 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
582 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
583 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
584 "CONFIG_SHELL=$(SHELL)" \
585 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
587 # For any flags above that may contain shell code that varies from one
588 # target library to another. When doing recursive invocations of the
589 # top-level Makefile, we don't want the outer make to evaluate them,
590 # so we pass these variables down unchanged. They must not contain
591 # single nor double quotes.
592 RECURSE_FLAGS = \
593 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
594 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
596 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
598 # Flags to pass down to most sub-makes, in which we're building with
599 # the host environment.
600 EXTRA_HOST_FLAGS = \
601 'AR=$(AR)' \
602 'AS=$(AS)' \
603 'CC=$(CC)' \
604 'CXX=$(CXX)' \
605 'DLLTOOL=$(DLLTOOL)' \
606 'LD=$(LD)' \
607 'NM=$(NM)' \
608 'RANLIB=$(RANLIB)' \
609 'WINDRES=$(WINDRES)'
611 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
613 # Flags that are concerned with the location of the X11 include files
614 # and library files
616 # NOTE: until the top-level is getting the values via autoconf, it only
617 # causes problems to have this top-level Makefile overriding the autoconf-set
618 # values in child directories. Only variables that don't conflict with
619 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
621 X11_FLAGS_TO_PASS = \
622 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
623 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
625 # Flags to pass down to makes which are built with the target environment.
626 # The double $ decreases the length of the command line; the variables
627 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
628 EXTRA_TARGET_FLAGS = \
629 'AR=$$(AR_FOR_TARGET)' \
630 'AS=$$(AS_FOR_TARGET)' \
631 'CC=$$(CC_FOR_TARGET)' \
632 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
633 'CXX=$$(CXX_FOR_TARGET)' \
634 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
635 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
636 'LD=$$(LD_FOR_TARGET)' \
637 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
638 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
639 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
640 'NM=$$(NM_FOR_TARGET)' \
641 'RANLIB=$$(RANLIB_FOR_TARGET)' \
642 'WINDRES=$$(WINDRES_FOR_TARGET)'
644 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
646 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
647 # unfortunately needs the native compiler and the target ar and
648 # ranlib.
649 # If any variables are added here, they must be added to do-*, below.
650 # The BUILD_* variables are a special case, which are used for the gcc
651 # cross-building scheme.
652 EXTRA_GCC_FLAGS = \
653 'BUILD_PREFIX=$(BUILD_PREFIX)' \
654 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
655 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
656 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
657 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
658 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
659 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
660 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
661 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
662 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
663 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
664 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
666 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
668 .PHONY: configure-host
669 configure-host: \
670 maybe-configure-ash \
671 maybe-configure-autoconf \
672 maybe-configure-automake \
673 maybe-configure-bash \
674 maybe-configure-bfd \
675 maybe-configure-opcodes \
676 maybe-configure-binutils \
677 maybe-configure-bison \
678 maybe-configure-byacc \
679 maybe-configure-bzip2 \
680 maybe-configure-dejagnu \
681 maybe-configure-diff \
682 maybe-configure-dosutils \
683 maybe-configure-etc \
684 maybe-configure-fastjar \
685 maybe-configure-fileutils \
686 maybe-configure-findutils \
687 maybe-configure-find \
688 maybe-configure-fixincludes \
689 maybe-configure-flex \
690 maybe-configure-gas \
691 maybe-configure-gcc \
692 maybe-configure-gawk \
693 maybe-configure-gettext \
694 maybe-configure-gnuserv \
695 maybe-configure-gprof \
696 maybe-configure-gzip \
697 maybe-configure-hello \
698 maybe-configure-indent \
699 maybe-configure-intl \
700 maybe-configure-tcl \
701 maybe-configure-itcl \
702 maybe-configure-ld \
703 maybe-configure-libcpp \
704 maybe-configure-libgui \
705 maybe-configure-libiberty \
706 maybe-configure-libtool \
707 maybe-configure-m4 \
708 maybe-configure-make \
709 maybe-configure-mmalloc \
710 maybe-configure-patch \
711 maybe-configure-perl \
712 maybe-configure-prms \
713 maybe-configure-rcs \
714 maybe-configure-readline \
715 maybe-configure-release \
716 maybe-configure-recode \
717 maybe-configure-sed \
718 maybe-configure-send-pr \
719 maybe-configure-shellutils \
720 maybe-configure-sid \
721 maybe-configure-sim \
722 maybe-configure-tar \
723 maybe-configure-texinfo \
724 maybe-configure-textutils \
725 maybe-configure-time \
726 maybe-configure-uudecode \
727 maybe-configure-wdiff \
728 maybe-configure-zip \
729 maybe-configure-zlib \
730 maybe-configure-gdb \
731 maybe-configure-expect \
732 maybe-configure-guile \
733 maybe-configure-tk \
734 maybe-configure-libtermcap \
735 maybe-configure-utils \
736 maybe-configure-gnattools
737 .PHONY: configure-target
738 configure-target: \
739 maybe-configure-target-libstdc++-v3 \
740 maybe-configure-target-libmudflap \
741 maybe-configure-target-libssp \
742 maybe-configure-target-newlib \
743 maybe-configure-target-libgfortran \
744 maybe-configure-target-libobjc \
745 maybe-configure-target-libtermcap \
746 maybe-configure-target-winsup \
747 maybe-configure-target-libgloss \
748 maybe-configure-target-libiberty \
749 maybe-configure-target-gperf \
750 maybe-configure-target-examples \
751 maybe-configure-target-libffi \
752 maybe-configure-target-libjava \
753 maybe-configure-target-zlib \
754 maybe-configure-target-boehm-gc \
755 maybe-configure-target-qthreads \
756 maybe-configure-target-rda \
757 maybe-configure-target-libada
759 # The target built for a native non-bootstrap build.
760 .PHONY: all
761 all: unstage all-host all-target stage
763 .PHONY: all-build
764 all-build: \
765 maybe-all-build-libiberty \
766 maybe-all-build-bison \
767 maybe-all-build-byacc \
768 maybe-all-build-flex \
769 maybe-all-build-m4 \
770 maybe-all-build-texinfo \
771 maybe-all-build-fixincludes
772 .PHONY: all-host
773 all-host: \
774 maybe-all-ash \
775 maybe-all-autoconf \
776 maybe-all-automake \
777 maybe-all-bash \
778 maybe-all-bfd \
779 maybe-all-opcodes \
780 maybe-all-binutils \
781 maybe-all-bison \
782 maybe-all-byacc \
783 maybe-all-bzip2 \
784 maybe-all-dejagnu \
785 maybe-all-diff \
786 maybe-all-dosutils \
787 maybe-all-etc \
788 maybe-all-fastjar \
789 maybe-all-fileutils \
790 maybe-all-findutils \
791 maybe-all-find \
792 maybe-all-fixincludes \
793 maybe-all-flex \
794 maybe-all-gas \
795 maybe-all-gcc \
796 maybe-all-gawk \
797 maybe-all-gettext \
798 maybe-all-gnuserv \
799 maybe-all-gprof \
800 maybe-all-gzip \
801 maybe-all-hello \
802 maybe-all-indent \
803 maybe-all-intl \
804 maybe-all-tcl \
805 maybe-all-itcl \
806 maybe-all-ld \
807 maybe-all-libcpp \
808 maybe-all-libgui \
809 maybe-all-libiberty \
810 maybe-all-libtool \
811 maybe-all-m4 \
812 maybe-all-make \
813 maybe-all-mmalloc \
814 maybe-all-patch \
815 maybe-all-perl \
816 maybe-all-prms \
817 maybe-all-rcs \
818 maybe-all-readline \
819 maybe-all-release \
820 maybe-all-recode \
821 maybe-all-sed \
822 maybe-all-send-pr \
823 maybe-all-shellutils \
824 maybe-all-sid \
825 maybe-all-sim \
826 maybe-all-tar \
827 maybe-all-texinfo \
828 maybe-all-textutils \
829 maybe-all-time \
830 maybe-all-uudecode \
831 maybe-all-wdiff \
832 maybe-all-zip \
833 maybe-all-zlib \
834 maybe-all-gdb \
835 maybe-all-expect \
836 maybe-all-guile \
837 maybe-all-tk \
838 maybe-all-libtermcap \
839 maybe-all-utils \
840 maybe-all-gnattools
841 .PHONY: all-target
842 all-target: \
843 maybe-all-target-libstdc++-v3 \
844 maybe-all-target-libmudflap \
845 maybe-all-target-libssp \
846 maybe-all-target-newlib \
847 maybe-all-target-libgfortran \
848 maybe-all-target-libobjc \
849 maybe-all-target-libtermcap \
850 maybe-all-target-winsup \
851 maybe-all-target-libgloss \
852 maybe-all-target-libiberty \
853 maybe-all-target-gperf \
854 maybe-all-target-examples \
855 maybe-all-target-libffi \
856 maybe-all-target-libjava \
857 maybe-all-target-zlib \
858 maybe-all-target-boehm-gc \
859 maybe-all-target-qthreads \
860 maybe-all-target-rda \
861 maybe-all-target-libada
863 # Do a target for all the subdirectories. A ``make do-X'' will do a
864 # ``make X'' in all subdirectories (because, in general, there is a
865 # dependency (below) of X upon do-X, a ``make X'' will also do this,
866 # but it may do additional work as well).
868 .PHONY: do-info
869 do-info: unstage info-host info-target stage
871 .PHONY: info-host
872 info-host: \
873 maybe-info-ash \
874 maybe-info-autoconf \
875 maybe-info-automake \
876 maybe-info-bash \
877 maybe-info-bfd \
878 maybe-info-opcodes \
879 maybe-info-binutils \
880 maybe-info-bison \
881 maybe-info-byacc \
882 maybe-info-bzip2 \
883 maybe-info-dejagnu \
884 maybe-info-diff \
885 maybe-info-dosutils \
886 maybe-info-etc \
887 maybe-info-fastjar \
888 maybe-info-fileutils \
889 maybe-info-findutils \
890 maybe-info-find \
891 maybe-info-fixincludes \
892 maybe-info-flex \
893 maybe-info-gas \
894 maybe-info-gcc \
895 maybe-info-gawk \
896 maybe-info-gettext \
897 maybe-info-gnuserv \
898 maybe-info-gprof \
899 maybe-info-gzip \
900 maybe-info-hello \
901 maybe-info-indent \
902 maybe-info-intl \
903 maybe-info-tcl \
904 maybe-info-itcl \
905 maybe-info-ld \
906 maybe-info-libcpp \
907 maybe-info-libgui \
908 maybe-info-libiberty \
909 maybe-info-libtool \
910 maybe-info-m4 \
911 maybe-info-make \
912 maybe-info-mmalloc \
913 maybe-info-patch \
914 maybe-info-perl \
915 maybe-info-prms \
916 maybe-info-rcs \
917 maybe-info-readline \
918 maybe-info-release \
919 maybe-info-recode \
920 maybe-info-sed \
921 maybe-info-send-pr \
922 maybe-info-shellutils \
923 maybe-info-sid \
924 maybe-info-sim \
925 maybe-info-tar \
926 maybe-info-texinfo \
927 maybe-info-textutils \
928 maybe-info-time \
929 maybe-info-uudecode \
930 maybe-info-wdiff \
931 maybe-info-zip \
932 maybe-info-zlib \
933 maybe-info-gdb \
934 maybe-info-expect \
935 maybe-info-guile \
936 maybe-info-tk \
937 maybe-info-libtermcap \
938 maybe-info-utils \
939 maybe-info-gnattools
941 .PHONY: info-target
942 info-target: \
943 maybe-info-target-libstdc++-v3 \
944 maybe-info-target-libmudflap \
945 maybe-info-target-libssp \
946 maybe-info-target-newlib \
947 maybe-info-target-libgfortran \
948 maybe-info-target-libobjc \
949 maybe-info-target-libtermcap \
950 maybe-info-target-winsup \
951 maybe-info-target-libgloss \
952 maybe-info-target-libiberty \
953 maybe-info-target-gperf \
954 maybe-info-target-examples \
955 maybe-info-target-libffi \
956 maybe-info-target-libjava \
957 maybe-info-target-zlib \
958 maybe-info-target-boehm-gc \
959 maybe-info-target-qthreads \
960 maybe-info-target-rda \
961 maybe-info-target-libada
963 .PHONY: do-dvi
964 do-dvi: unstage dvi-host dvi-target stage
966 .PHONY: dvi-host
967 dvi-host: \
968 maybe-dvi-ash \
969 maybe-dvi-autoconf \
970 maybe-dvi-automake \
971 maybe-dvi-bash \
972 maybe-dvi-bfd \
973 maybe-dvi-opcodes \
974 maybe-dvi-binutils \
975 maybe-dvi-bison \
976 maybe-dvi-byacc \
977 maybe-dvi-bzip2 \
978 maybe-dvi-dejagnu \
979 maybe-dvi-diff \
980 maybe-dvi-dosutils \
981 maybe-dvi-etc \
982 maybe-dvi-fastjar \
983 maybe-dvi-fileutils \
984 maybe-dvi-findutils \
985 maybe-dvi-find \
986 maybe-dvi-fixincludes \
987 maybe-dvi-flex \
988 maybe-dvi-gas \
989 maybe-dvi-gcc \
990 maybe-dvi-gawk \
991 maybe-dvi-gettext \
992 maybe-dvi-gnuserv \
993 maybe-dvi-gprof \
994 maybe-dvi-gzip \
995 maybe-dvi-hello \
996 maybe-dvi-indent \
997 maybe-dvi-intl \
998 maybe-dvi-tcl \
999 maybe-dvi-itcl \
1000 maybe-dvi-ld \
1001 maybe-dvi-libcpp \
1002 maybe-dvi-libgui \
1003 maybe-dvi-libiberty \
1004 maybe-dvi-libtool \
1005 maybe-dvi-m4 \
1006 maybe-dvi-make \
1007 maybe-dvi-mmalloc \
1008 maybe-dvi-patch \
1009 maybe-dvi-perl \
1010 maybe-dvi-prms \
1011 maybe-dvi-rcs \
1012 maybe-dvi-readline \
1013 maybe-dvi-release \
1014 maybe-dvi-recode \
1015 maybe-dvi-sed \
1016 maybe-dvi-send-pr \
1017 maybe-dvi-shellutils \
1018 maybe-dvi-sid \
1019 maybe-dvi-sim \
1020 maybe-dvi-tar \
1021 maybe-dvi-texinfo \
1022 maybe-dvi-textutils \
1023 maybe-dvi-time \
1024 maybe-dvi-uudecode \
1025 maybe-dvi-wdiff \
1026 maybe-dvi-zip \
1027 maybe-dvi-zlib \
1028 maybe-dvi-gdb \
1029 maybe-dvi-expect \
1030 maybe-dvi-guile \
1031 maybe-dvi-tk \
1032 maybe-dvi-libtermcap \
1033 maybe-dvi-utils \
1034 maybe-dvi-gnattools
1036 .PHONY: dvi-target
1037 dvi-target: \
1038 maybe-dvi-target-libstdc++-v3 \
1039 maybe-dvi-target-libmudflap \
1040 maybe-dvi-target-libssp \
1041 maybe-dvi-target-newlib \
1042 maybe-dvi-target-libgfortran \
1043 maybe-dvi-target-libobjc \
1044 maybe-dvi-target-libtermcap \
1045 maybe-dvi-target-winsup \
1046 maybe-dvi-target-libgloss \
1047 maybe-dvi-target-libiberty \
1048 maybe-dvi-target-gperf \
1049 maybe-dvi-target-examples \
1050 maybe-dvi-target-libffi \
1051 maybe-dvi-target-libjava \
1052 maybe-dvi-target-zlib \
1053 maybe-dvi-target-boehm-gc \
1054 maybe-dvi-target-qthreads \
1055 maybe-dvi-target-rda \
1056 maybe-dvi-target-libada
1058 .PHONY: do-html
1059 do-html: unstage html-host html-target stage
1061 .PHONY: html-host
1062 html-host: \
1063 maybe-html-ash \
1064 maybe-html-autoconf \
1065 maybe-html-automake \
1066 maybe-html-bash \
1067 maybe-html-bfd \
1068 maybe-html-opcodes \
1069 maybe-html-binutils \
1070 maybe-html-bison \
1071 maybe-html-byacc \
1072 maybe-html-bzip2 \
1073 maybe-html-dejagnu \
1074 maybe-html-diff \
1075 maybe-html-dosutils \
1076 maybe-html-etc \
1077 maybe-html-fastjar \
1078 maybe-html-fileutils \
1079 maybe-html-findutils \
1080 maybe-html-find \
1081 maybe-html-fixincludes \
1082 maybe-html-flex \
1083 maybe-html-gas \
1084 maybe-html-gcc \
1085 maybe-html-gawk \
1086 maybe-html-gettext \
1087 maybe-html-gnuserv \
1088 maybe-html-gprof \
1089 maybe-html-gzip \
1090 maybe-html-hello \
1091 maybe-html-indent \
1092 maybe-html-intl \
1093 maybe-html-tcl \
1094 maybe-html-itcl \
1095 maybe-html-ld \
1096 maybe-html-libcpp \
1097 maybe-html-libgui \
1098 maybe-html-libiberty \
1099 maybe-html-libtool \
1100 maybe-html-m4 \
1101 maybe-html-make \
1102 maybe-html-mmalloc \
1103 maybe-html-patch \
1104 maybe-html-perl \
1105 maybe-html-prms \
1106 maybe-html-rcs \
1107 maybe-html-readline \
1108 maybe-html-release \
1109 maybe-html-recode \
1110 maybe-html-sed \
1111 maybe-html-send-pr \
1112 maybe-html-shellutils \
1113 maybe-html-sid \
1114 maybe-html-sim \
1115 maybe-html-tar \
1116 maybe-html-texinfo \
1117 maybe-html-textutils \
1118 maybe-html-time \
1119 maybe-html-uudecode \
1120 maybe-html-wdiff \
1121 maybe-html-zip \
1122 maybe-html-zlib \
1123 maybe-html-gdb \
1124 maybe-html-expect \
1125 maybe-html-guile \
1126 maybe-html-tk \
1127 maybe-html-libtermcap \
1128 maybe-html-utils \
1129 maybe-html-gnattools
1131 .PHONY: html-target
1132 html-target: \
1133 maybe-html-target-libstdc++-v3 \
1134 maybe-html-target-libmudflap \
1135 maybe-html-target-libssp \
1136 maybe-html-target-newlib \
1137 maybe-html-target-libgfortran \
1138 maybe-html-target-libobjc \
1139 maybe-html-target-libtermcap \
1140 maybe-html-target-winsup \
1141 maybe-html-target-libgloss \
1142 maybe-html-target-libiberty \
1143 maybe-html-target-gperf \
1144 maybe-html-target-examples \
1145 maybe-html-target-libffi \
1146 maybe-html-target-libjava \
1147 maybe-html-target-zlib \
1148 maybe-html-target-boehm-gc \
1149 maybe-html-target-qthreads \
1150 maybe-html-target-rda \
1151 maybe-html-target-libada
1153 .PHONY: do-TAGS
1154 do-TAGS: unstage TAGS-host TAGS-target stage
1156 .PHONY: TAGS-host
1157 TAGS-host: \
1158 maybe-TAGS-ash \
1159 maybe-TAGS-autoconf \
1160 maybe-TAGS-automake \
1161 maybe-TAGS-bash \
1162 maybe-TAGS-bfd \
1163 maybe-TAGS-opcodes \
1164 maybe-TAGS-binutils \
1165 maybe-TAGS-bison \
1166 maybe-TAGS-byacc \
1167 maybe-TAGS-bzip2 \
1168 maybe-TAGS-dejagnu \
1169 maybe-TAGS-diff \
1170 maybe-TAGS-dosutils \
1171 maybe-TAGS-etc \
1172 maybe-TAGS-fastjar \
1173 maybe-TAGS-fileutils \
1174 maybe-TAGS-findutils \
1175 maybe-TAGS-find \
1176 maybe-TAGS-fixincludes \
1177 maybe-TAGS-flex \
1178 maybe-TAGS-gas \
1179 maybe-TAGS-gcc \
1180 maybe-TAGS-gawk \
1181 maybe-TAGS-gettext \
1182 maybe-TAGS-gnuserv \
1183 maybe-TAGS-gprof \
1184 maybe-TAGS-gzip \
1185 maybe-TAGS-hello \
1186 maybe-TAGS-indent \
1187 maybe-TAGS-intl \
1188 maybe-TAGS-tcl \
1189 maybe-TAGS-itcl \
1190 maybe-TAGS-ld \
1191 maybe-TAGS-libcpp \
1192 maybe-TAGS-libgui \
1193 maybe-TAGS-libiberty \
1194 maybe-TAGS-libtool \
1195 maybe-TAGS-m4 \
1196 maybe-TAGS-make \
1197 maybe-TAGS-mmalloc \
1198 maybe-TAGS-patch \
1199 maybe-TAGS-perl \
1200 maybe-TAGS-prms \
1201 maybe-TAGS-rcs \
1202 maybe-TAGS-readline \
1203 maybe-TAGS-release \
1204 maybe-TAGS-recode \
1205 maybe-TAGS-sed \
1206 maybe-TAGS-send-pr \
1207 maybe-TAGS-shellutils \
1208 maybe-TAGS-sid \
1209 maybe-TAGS-sim \
1210 maybe-TAGS-tar \
1211 maybe-TAGS-texinfo \
1212 maybe-TAGS-textutils \
1213 maybe-TAGS-time \
1214 maybe-TAGS-uudecode \
1215 maybe-TAGS-wdiff \
1216 maybe-TAGS-zip \
1217 maybe-TAGS-zlib \
1218 maybe-TAGS-gdb \
1219 maybe-TAGS-expect \
1220 maybe-TAGS-guile \
1221 maybe-TAGS-tk \
1222 maybe-TAGS-libtermcap \
1223 maybe-TAGS-utils \
1224 maybe-TAGS-gnattools
1226 .PHONY: TAGS-target
1227 TAGS-target: \
1228 maybe-TAGS-target-libstdc++-v3 \
1229 maybe-TAGS-target-libmudflap \
1230 maybe-TAGS-target-libssp \
1231 maybe-TAGS-target-newlib \
1232 maybe-TAGS-target-libgfortran \
1233 maybe-TAGS-target-libobjc \
1234 maybe-TAGS-target-libtermcap \
1235 maybe-TAGS-target-winsup \
1236 maybe-TAGS-target-libgloss \
1237 maybe-TAGS-target-libiberty \
1238 maybe-TAGS-target-gperf \
1239 maybe-TAGS-target-examples \
1240 maybe-TAGS-target-libffi \
1241 maybe-TAGS-target-libjava \
1242 maybe-TAGS-target-zlib \
1243 maybe-TAGS-target-boehm-gc \
1244 maybe-TAGS-target-qthreads \
1245 maybe-TAGS-target-rda \
1246 maybe-TAGS-target-libada
1248 .PHONY: do-install-info
1249 do-install-info: unstage install-info-host install-info-target stage
1251 .PHONY: install-info-host
1252 install-info-host: \
1253 maybe-install-info-ash \
1254 maybe-install-info-autoconf \
1255 maybe-install-info-automake \
1256 maybe-install-info-bash \
1257 maybe-install-info-bfd \
1258 maybe-install-info-opcodes \
1259 maybe-install-info-binutils \
1260 maybe-install-info-bison \
1261 maybe-install-info-byacc \
1262 maybe-install-info-bzip2 \
1263 maybe-install-info-dejagnu \
1264 maybe-install-info-diff \
1265 maybe-install-info-dosutils \
1266 maybe-install-info-etc \
1267 maybe-install-info-fastjar \
1268 maybe-install-info-fileutils \
1269 maybe-install-info-findutils \
1270 maybe-install-info-find \
1271 maybe-install-info-fixincludes \
1272 maybe-install-info-flex \
1273 maybe-install-info-gas \
1274 maybe-install-info-gcc \
1275 maybe-install-info-gawk \
1276 maybe-install-info-gettext \
1277 maybe-install-info-gnuserv \
1278 maybe-install-info-gprof \
1279 maybe-install-info-gzip \
1280 maybe-install-info-hello \
1281 maybe-install-info-indent \
1282 maybe-install-info-intl \
1283 maybe-install-info-tcl \
1284 maybe-install-info-itcl \
1285 maybe-install-info-ld \
1286 maybe-install-info-libcpp \
1287 maybe-install-info-libgui \
1288 maybe-install-info-libiberty \
1289 maybe-install-info-libtool \
1290 maybe-install-info-m4 \
1291 maybe-install-info-make \
1292 maybe-install-info-mmalloc \
1293 maybe-install-info-patch \
1294 maybe-install-info-perl \
1295 maybe-install-info-prms \
1296 maybe-install-info-rcs \
1297 maybe-install-info-readline \
1298 maybe-install-info-release \
1299 maybe-install-info-recode \
1300 maybe-install-info-sed \
1301 maybe-install-info-send-pr \
1302 maybe-install-info-shellutils \
1303 maybe-install-info-sid \
1304 maybe-install-info-sim \
1305 maybe-install-info-tar \
1306 maybe-install-info-texinfo \
1307 maybe-install-info-textutils \
1308 maybe-install-info-time \
1309 maybe-install-info-uudecode \
1310 maybe-install-info-wdiff \
1311 maybe-install-info-zip \
1312 maybe-install-info-zlib \
1313 maybe-install-info-gdb \
1314 maybe-install-info-expect \
1315 maybe-install-info-guile \
1316 maybe-install-info-tk \
1317 maybe-install-info-libtermcap \
1318 maybe-install-info-utils \
1319 maybe-install-info-gnattools
1321 .PHONY: install-info-target
1322 install-info-target: \
1323 maybe-install-info-target-libstdc++-v3 \
1324 maybe-install-info-target-libmudflap \
1325 maybe-install-info-target-libssp \
1326 maybe-install-info-target-newlib \
1327 maybe-install-info-target-libgfortran \
1328 maybe-install-info-target-libobjc \
1329 maybe-install-info-target-libtermcap \
1330 maybe-install-info-target-winsup \
1331 maybe-install-info-target-libgloss \
1332 maybe-install-info-target-libiberty \
1333 maybe-install-info-target-gperf \
1334 maybe-install-info-target-examples \
1335 maybe-install-info-target-libffi \
1336 maybe-install-info-target-libjava \
1337 maybe-install-info-target-zlib \
1338 maybe-install-info-target-boehm-gc \
1339 maybe-install-info-target-qthreads \
1340 maybe-install-info-target-rda \
1341 maybe-install-info-target-libada
1343 .PHONY: do-installcheck
1344 do-installcheck: unstage installcheck-host installcheck-target stage
1346 .PHONY: installcheck-host
1347 installcheck-host: \
1348 maybe-installcheck-ash \
1349 maybe-installcheck-autoconf \
1350 maybe-installcheck-automake \
1351 maybe-installcheck-bash \
1352 maybe-installcheck-bfd \
1353 maybe-installcheck-opcodes \
1354 maybe-installcheck-binutils \
1355 maybe-installcheck-bison \
1356 maybe-installcheck-byacc \
1357 maybe-installcheck-bzip2 \
1358 maybe-installcheck-dejagnu \
1359 maybe-installcheck-diff \
1360 maybe-installcheck-dosutils \
1361 maybe-installcheck-etc \
1362 maybe-installcheck-fastjar \
1363 maybe-installcheck-fileutils \
1364 maybe-installcheck-findutils \
1365 maybe-installcheck-find \
1366 maybe-installcheck-fixincludes \
1367 maybe-installcheck-flex \
1368 maybe-installcheck-gas \
1369 maybe-installcheck-gcc \
1370 maybe-installcheck-gawk \
1371 maybe-installcheck-gettext \
1372 maybe-installcheck-gnuserv \
1373 maybe-installcheck-gprof \
1374 maybe-installcheck-gzip \
1375 maybe-installcheck-hello \
1376 maybe-installcheck-indent \
1377 maybe-installcheck-intl \
1378 maybe-installcheck-tcl \
1379 maybe-installcheck-itcl \
1380 maybe-installcheck-ld \
1381 maybe-installcheck-libcpp \
1382 maybe-installcheck-libgui \
1383 maybe-installcheck-libiberty \
1384 maybe-installcheck-libtool \
1385 maybe-installcheck-m4 \
1386 maybe-installcheck-make \
1387 maybe-installcheck-mmalloc \
1388 maybe-installcheck-patch \
1389 maybe-installcheck-perl \
1390 maybe-installcheck-prms \
1391 maybe-installcheck-rcs \
1392 maybe-installcheck-readline \
1393 maybe-installcheck-release \
1394 maybe-installcheck-recode \
1395 maybe-installcheck-sed \
1396 maybe-installcheck-send-pr \
1397 maybe-installcheck-shellutils \
1398 maybe-installcheck-sid \
1399 maybe-installcheck-sim \
1400 maybe-installcheck-tar \
1401 maybe-installcheck-texinfo \
1402 maybe-installcheck-textutils \
1403 maybe-installcheck-time \
1404 maybe-installcheck-uudecode \
1405 maybe-installcheck-wdiff \
1406 maybe-installcheck-zip \
1407 maybe-installcheck-zlib \
1408 maybe-installcheck-gdb \
1409 maybe-installcheck-expect \
1410 maybe-installcheck-guile \
1411 maybe-installcheck-tk \
1412 maybe-installcheck-libtermcap \
1413 maybe-installcheck-utils \
1414 maybe-installcheck-gnattools
1416 .PHONY: installcheck-target
1417 installcheck-target: \
1418 maybe-installcheck-target-libstdc++-v3 \
1419 maybe-installcheck-target-libmudflap \
1420 maybe-installcheck-target-libssp \
1421 maybe-installcheck-target-newlib \
1422 maybe-installcheck-target-libgfortran \
1423 maybe-installcheck-target-libobjc \
1424 maybe-installcheck-target-libtermcap \
1425 maybe-installcheck-target-winsup \
1426 maybe-installcheck-target-libgloss \
1427 maybe-installcheck-target-libiberty \
1428 maybe-installcheck-target-gperf \
1429 maybe-installcheck-target-examples \
1430 maybe-installcheck-target-libffi \
1431 maybe-installcheck-target-libjava \
1432 maybe-installcheck-target-zlib \
1433 maybe-installcheck-target-boehm-gc \
1434 maybe-installcheck-target-qthreads \
1435 maybe-installcheck-target-rda \
1436 maybe-installcheck-target-libada
1438 .PHONY: do-mostlyclean
1439 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1441 .PHONY: mostlyclean-host
1442 mostlyclean-host: \
1443 maybe-mostlyclean-ash \
1444 maybe-mostlyclean-autoconf \
1445 maybe-mostlyclean-automake \
1446 maybe-mostlyclean-bash \
1447 maybe-mostlyclean-bfd \
1448 maybe-mostlyclean-opcodes \
1449 maybe-mostlyclean-binutils \
1450 maybe-mostlyclean-bison \
1451 maybe-mostlyclean-byacc \
1452 maybe-mostlyclean-bzip2 \
1453 maybe-mostlyclean-dejagnu \
1454 maybe-mostlyclean-diff \
1455 maybe-mostlyclean-dosutils \
1456 maybe-mostlyclean-etc \
1457 maybe-mostlyclean-fastjar \
1458 maybe-mostlyclean-fileutils \
1459 maybe-mostlyclean-findutils \
1460 maybe-mostlyclean-find \
1461 maybe-mostlyclean-fixincludes \
1462 maybe-mostlyclean-flex \
1463 maybe-mostlyclean-gas \
1464 maybe-mostlyclean-gcc \
1465 maybe-mostlyclean-gawk \
1466 maybe-mostlyclean-gettext \
1467 maybe-mostlyclean-gnuserv \
1468 maybe-mostlyclean-gprof \
1469 maybe-mostlyclean-gzip \
1470 maybe-mostlyclean-hello \
1471 maybe-mostlyclean-indent \
1472 maybe-mostlyclean-intl \
1473 maybe-mostlyclean-tcl \
1474 maybe-mostlyclean-itcl \
1475 maybe-mostlyclean-ld \
1476 maybe-mostlyclean-libcpp \
1477 maybe-mostlyclean-libgui \
1478 maybe-mostlyclean-libiberty \
1479 maybe-mostlyclean-libtool \
1480 maybe-mostlyclean-m4 \
1481 maybe-mostlyclean-make \
1482 maybe-mostlyclean-mmalloc \
1483 maybe-mostlyclean-patch \
1484 maybe-mostlyclean-perl \
1485 maybe-mostlyclean-prms \
1486 maybe-mostlyclean-rcs \
1487 maybe-mostlyclean-readline \
1488 maybe-mostlyclean-release \
1489 maybe-mostlyclean-recode \
1490 maybe-mostlyclean-sed \
1491 maybe-mostlyclean-send-pr \
1492 maybe-mostlyclean-shellutils \
1493 maybe-mostlyclean-sid \
1494 maybe-mostlyclean-sim \
1495 maybe-mostlyclean-tar \
1496 maybe-mostlyclean-texinfo \
1497 maybe-mostlyclean-textutils \
1498 maybe-mostlyclean-time \
1499 maybe-mostlyclean-uudecode \
1500 maybe-mostlyclean-wdiff \
1501 maybe-mostlyclean-zip \
1502 maybe-mostlyclean-zlib \
1503 maybe-mostlyclean-gdb \
1504 maybe-mostlyclean-expect \
1505 maybe-mostlyclean-guile \
1506 maybe-mostlyclean-tk \
1507 maybe-mostlyclean-libtermcap \
1508 maybe-mostlyclean-utils \
1509 maybe-mostlyclean-gnattools
1511 .PHONY: mostlyclean-target
1512 mostlyclean-target: \
1513 maybe-mostlyclean-target-libstdc++-v3 \
1514 maybe-mostlyclean-target-libmudflap \
1515 maybe-mostlyclean-target-libssp \
1516 maybe-mostlyclean-target-newlib \
1517 maybe-mostlyclean-target-libgfortran \
1518 maybe-mostlyclean-target-libobjc \
1519 maybe-mostlyclean-target-libtermcap \
1520 maybe-mostlyclean-target-winsup \
1521 maybe-mostlyclean-target-libgloss \
1522 maybe-mostlyclean-target-libiberty \
1523 maybe-mostlyclean-target-gperf \
1524 maybe-mostlyclean-target-examples \
1525 maybe-mostlyclean-target-libffi \
1526 maybe-mostlyclean-target-libjava \
1527 maybe-mostlyclean-target-zlib \
1528 maybe-mostlyclean-target-boehm-gc \
1529 maybe-mostlyclean-target-qthreads \
1530 maybe-mostlyclean-target-rda \
1531 maybe-mostlyclean-target-libada
1533 .PHONY: do-clean
1534 do-clean: unstage clean-host clean-target stage
1536 .PHONY: clean-host
1537 clean-host: \
1538 maybe-clean-ash \
1539 maybe-clean-autoconf \
1540 maybe-clean-automake \
1541 maybe-clean-bash \
1542 maybe-clean-bfd \
1543 maybe-clean-opcodes \
1544 maybe-clean-binutils \
1545 maybe-clean-bison \
1546 maybe-clean-byacc \
1547 maybe-clean-bzip2 \
1548 maybe-clean-dejagnu \
1549 maybe-clean-diff \
1550 maybe-clean-dosutils \
1551 maybe-clean-etc \
1552 maybe-clean-fastjar \
1553 maybe-clean-fileutils \
1554 maybe-clean-findutils \
1555 maybe-clean-find \
1556 maybe-clean-fixincludes \
1557 maybe-clean-flex \
1558 maybe-clean-gas \
1559 maybe-clean-gcc \
1560 maybe-clean-gawk \
1561 maybe-clean-gettext \
1562 maybe-clean-gnuserv \
1563 maybe-clean-gprof \
1564 maybe-clean-gzip \
1565 maybe-clean-hello \
1566 maybe-clean-indent \
1567 maybe-clean-intl \
1568 maybe-clean-tcl \
1569 maybe-clean-itcl \
1570 maybe-clean-ld \
1571 maybe-clean-libcpp \
1572 maybe-clean-libgui \
1573 maybe-clean-libiberty \
1574 maybe-clean-libtool \
1575 maybe-clean-m4 \
1576 maybe-clean-make \
1577 maybe-clean-mmalloc \
1578 maybe-clean-patch \
1579 maybe-clean-perl \
1580 maybe-clean-prms \
1581 maybe-clean-rcs \
1582 maybe-clean-readline \
1583 maybe-clean-release \
1584 maybe-clean-recode \
1585 maybe-clean-sed \
1586 maybe-clean-send-pr \
1587 maybe-clean-shellutils \
1588 maybe-clean-sid \
1589 maybe-clean-sim \
1590 maybe-clean-tar \
1591 maybe-clean-texinfo \
1592 maybe-clean-textutils \
1593 maybe-clean-time \
1594 maybe-clean-uudecode \
1595 maybe-clean-wdiff \
1596 maybe-clean-zip \
1597 maybe-clean-zlib \
1598 maybe-clean-gdb \
1599 maybe-clean-expect \
1600 maybe-clean-guile \
1601 maybe-clean-tk \
1602 maybe-clean-libtermcap \
1603 maybe-clean-utils \
1604 maybe-clean-gnattools
1606 .PHONY: clean-target
1607 clean-target: \
1608 maybe-clean-target-libstdc++-v3 \
1609 maybe-clean-target-libmudflap \
1610 maybe-clean-target-libssp \
1611 maybe-clean-target-newlib \
1612 maybe-clean-target-libgfortran \
1613 maybe-clean-target-libobjc \
1614 maybe-clean-target-libtermcap \
1615 maybe-clean-target-winsup \
1616 maybe-clean-target-libgloss \
1617 maybe-clean-target-libiberty \
1618 maybe-clean-target-gperf \
1619 maybe-clean-target-examples \
1620 maybe-clean-target-libffi \
1621 maybe-clean-target-libjava \
1622 maybe-clean-target-zlib \
1623 maybe-clean-target-boehm-gc \
1624 maybe-clean-target-qthreads \
1625 maybe-clean-target-rda \
1626 maybe-clean-target-libada
1628 .PHONY: do-distclean
1629 do-distclean: unstage distclean-host distclean-target stage
1631 .PHONY: distclean-host
1632 distclean-host: \
1633 maybe-distclean-ash \
1634 maybe-distclean-autoconf \
1635 maybe-distclean-automake \
1636 maybe-distclean-bash \
1637 maybe-distclean-bfd \
1638 maybe-distclean-opcodes \
1639 maybe-distclean-binutils \
1640 maybe-distclean-bison \
1641 maybe-distclean-byacc \
1642 maybe-distclean-bzip2 \
1643 maybe-distclean-dejagnu \
1644 maybe-distclean-diff \
1645 maybe-distclean-dosutils \
1646 maybe-distclean-etc \
1647 maybe-distclean-fastjar \
1648 maybe-distclean-fileutils \
1649 maybe-distclean-findutils \
1650 maybe-distclean-find \
1651 maybe-distclean-fixincludes \
1652 maybe-distclean-flex \
1653 maybe-distclean-gas \
1654 maybe-distclean-gcc \
1655 maybe-distclean-gawk \
1656 maybe-distclean-gettext \
1657 maybe-distclean-gnuserv \
1658 maybe-distclean-gprof \
1659 maybe-distclean-gzip \
1660 maybe-distclean-hello \
1661 maybe-distclean-indent \
1662 maybe-distclean-intl \
1663 maybe-distclean-tcl \
1664 maybe-distclean-itcl \
1665 maybe-distclean-ld \
1666 maybe-distclean-libcpp \
1667 maybe-distclean-libgui \
1668 maybe-distclean-libiberty \
1669 maybe-distclean-libtool \
1670 maybe-distclean-m4 \
1671 maybe-distclean-make \
1672 maybe-distclean-mmalloc \
1673 maybe-distclean-patch \
1674 maybe-distclean-perl \
1675 maybe-distclean-prms \
1676 maybe-distclean-rcs \
1677 maybe-distclean-readline \
1678 maybe-distclean-release \
1679 maybe-distclean-recode \
1680 maybe-distclean-sed \
1681 maybe-distclean-send-pr \
1682 maybe-distclean-shellutils \
1683 maybe-distclean-sid \
1684 maybe-distclean-sim \
1685 maybe-distclean-tar \
1686 maybe-distclean-texinfo \
1687 maybe-distclean-textutils \
1688 maybe-distclean-time \
1689 maybe-distclean-uudecode \
1690 maybe-distclean-wdiff \
1691 maybe-distclean-zip \
1692 maybe-distclean-zlib \
1693 maybe-distclean-gdb \
1694 maybe-distclean-expect \
1695 maybe-distclean-guile \
1696 maybe-distclean-tk \
1697 maybe-distclean-libtermcap \
1698 maybe-distclean-utils \
1699 maybe-distclean-gnattools
1701 .PHONY: distclean-target
1702 distclean-target: \
1703 maybe-distclean-target-libstdc++-v3 \
1704 maybe-distclean-target-libmudflap \
1705 maybe-distclean-target-libssp \
1706 maybe-distclean-target-newlib \
1707 maybe-distclean-target-libgfortran \
1708 maybe-distclean-target-libobjc \
1709 maybe-distclean-target-libtermcap \
1710 maybe-distclean-target-winsup \
1711 maybe-distclean-target-libgloss \
1712 maybe-distclean-target-libiberty \
1713 maybe-distclean-target-gperf \
1714 maybe-distclean-target-examples \
1715 maybe-distclean-target-libffi \
1716 maybe-distclean-target-libjava \
1717 maybe-distclean-target-zlib \
1718 maybe-distclean-target-boehm-gc \
1719 maybe-distclean-target-qthreads \
1720 maybe-distclean-target-rda \
1721 maybe-distclean-target-libada
1723 .PHONY: do-maintainer-clean
1724 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1726 .PHONY: maintainer-clean-host
1727 maintainer-clean-host: \
1728 maybe-maintainer-clean-ash \
1729 maybe-maintainer-clean-autoconf \
1730 maybe-maintainer-clean-automake \
1731 maybe-maintainer-clean-bash \
1732 maybe-maintainer-clean-bfd \
1733 maybe-maintainer-clean-opcodes \
1734 maybe-maintainer-clean-binutils \
1735 maybe-maintainer-clean-bison \
1736 maybe-maintainer-clean-byacc \
1737 maybe-maintainer-clean-bzip2 \
1738 maybe-maintainer-clean-dejagnu \
1739 maybe-maintainer-clean-diff \
1740 maybe-maintainer-clean-dosutils \
1741 maybe-maintainer-clean-etc \
1742 maybe-maintainer-clean-fastjar \
1743 maybe-maintainer-clean-fileutils \
1744 maybe-maintainer-clean-findutils \
1745 maybe-maintainer-clean-find \
1746 maybe-maintainer-clean-fixincludes \
1747 maybe-maintainer-clean-flex \
1748 maybe-maintainer-clean-gas \
1749 maybe-maintainer-clean-gcc \
1750 maybe-maintainer-clean-gawk \
1751 maybe-maintainer-clean-gettext \
1752 maybe-maintainer-clean-gnuserv \
1753 maybe-maintainer-clean-gprof \
1754 maybe-maintainer-clean-gzip \
1755 maybe-maintainer-clean-hello \
1756 maybe-maintainer-clean-indent \
1757 maybe-maintainer-clean-intl \
1758 maybe-maintainer-clean-tcl \
1759 maybe-maintainer-clean-itcl \
1760 maybe-maintainer-clean-ld \
1761 maybe-maintainer-clean-libcpp \
1762 maybe-maintainer-clean-libgui \
1763 maybe-maintainer-clean-libiberty \
1764 maybe-maintainer-clean-libtool \
1765 maybe-maintainer-clean-m4 \
1766 maybe-maintainer-clean-make \
1767 maybe-maintainer-clean-mmalloc \
1768 maybe-maintainer-clean-patch \
1769 maybe-maintainer-clean-perl \
1770 maybe-maintainer-clean-prms \
1771 maybe-maintainer-clean-rcs \
1772 maybe-maintainer-clean-readline \
1773 maybe-maintainer-clean-release \
1774 maybe-maintainer-clean-recode \
1775 maybe-maintainer-clean-sed \
1776 maybe-maintainer-clean-send-pr \
1777 maybe-maintainer-clean-shellutils \
1778 maybe-maintainer-clean-sid \
1779 maybe-maintainer-clean-sim \
1780 maybe-maintainer-clean-tar \
1781 maybe-maintainer-clean-texinfo \
1782 maybe-maintainer-clean-textutils \
1783 maybe-maintainer-clean-time \
1784 maybe-maintainer-clean-uudecode \
1785 maybe-maintainer-clean-wdiff \
1786 maybe-maintainer-clean-zip \
1787 maybe-maintainer-clean-zlib \
1788 maybe-maintainer-clean-gdb \
1789 maybe-maintainer-clean-expect \
1790 maybe-maintainer-clean-guile \
1791 maybe-maintainer-clean-tk \
1792 maybe-maintainer-clean-libtermcap \
1793 maybe-maintainer-clean-utils \
1794 maybe-maintainer-clean-gnattools
1796 .PHONY: maintainer-clean-target
1797 maintainer-clean-target: \
1798 maybe-maintainer-clean-target-libstdc++-v3 \
1799 maybe-maintainer-clean-target-libmudflap \
1800 maybe-maintainer-clean-target-libssp \
1801 maybe-maintainer-clean-target-newlib \
1802 maybe-maintainer-clean-target-libgfortran \
1803 maybe-maintainer-clean-target-libobjc \
1804 maybe-maintainer-clean-target-libtermcap \
1805 maybe-maintainer-clean-target-winsup \
1806 maybe-maintainer-clean-target-libgloss \
1807 maybe-maintainer-clean-target-libiberty \
1808 maybe-maintainer-clean-target-gperf \
1809 maybe-maintainer-clean-target-examples \
1810 maybe-maintainer-clean-target-libffi \
1811 maybe-maintainer-clean-target-libjava \
1812 maybe-maintainer-clean-target-zlib \
1813 maybe-maintainer-clean-target-boehm-gc \
1814 maybe-maintainer-clean-target-qthreads \
1815 maybe-maintainer-clean-target-rda \
1816 maybe-maintainer-clean-target-libada
1819 # Here are the targets which correspond to the do-X targets.
1821 .PHONY: info installcheck dvi html install-info
1822 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1823 .PHONY: local-clean local-distclean local-maintainer-clean
1824 info: do-info
1825 installcheck: do-installcheck
1826 dvi: do-dvi
1827 html: do-html
1829 # Make sure makeinfo is built before we do a `make info', if we're
1830 # in fact building texinfo.
1831 do-info: maybe-all-texinfo
1833 install-info: do-install-info dir.info
1834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1835 if [ -f dir.info ] ; then \
1836 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1837 else true ; fi
1839 local-clean:
1840 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1842 local-distclean:
1843 -rm -f Makefile config.status config.cache mh-frag mt-frag
1844 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1845 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1846 rm -rf $(TARGET_SUBDIR); \
1847 else true; fi
1848 -rm -rf $(BUILD_SUBDIR)
1849 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1850 rm -rf $(HOST_SUBDIR); \
1851 else true; fi
1852 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1853 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1854 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1855 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1856 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1858 local-maintainer-clean:
1859 @echo "This command is intended for maintainers to use;"
1860 @echo "it deletes files that may require special tools to rebuild."
1862 clean: do-clean local-clean
1863 mostlyclean: do-mostlyclean local-clean
1864 distclean: do-distclean local-clean local-distclean
1865 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1866 maintainer-clean: local-distclean
1867 realclean: maintainer-clean
1869 # Extra dependency for clean-target, owing to the mixed nature of gcc
1870 clean-target: clean-target-libgcc
1871 clean-target-libgcc:
1872 test ! -d gcc/libgcc || \
1873 (cd gcc/libgcc && find . -type d -print) | \
1874 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1875 -rm -rf gcc/libgcc
1876 -rm -f gcc/stmp-dirs
1878 # Check target.
1880 .PHONY: check do-check
1881 check: do-check
1883 # Only include modules actually being configured and built.
1884 do-check: unstage \
1885 maybe-check-ash \
1886 maybe-check-autoconf \
1887 maybe-check-automake \
1888 maybe-check-bash \
1889 maybe-check-bfd \
1890 maybe-check-opcodes \
1891 maybe-check-binutils \
1892 maybe-check-bison \
1893 maybe-check-byacc \
1894 maybe-check-bzip2 \
1895 maybe-check-dejagnu \
1896 maybe-check-diff \
1897 maybe-check-dosutils \
1898 maybe-check-etc \
1899 maybe-check-fastjar \
1900 maybe-check-fileutils \
1901 maybe-check-findutils \
1902 maybe-check-find \
1903 maybe-check-fixincludes \
1904 maybe-check-flex \
1905 maybe-check-gas \
1906 maybe-check-gcc \
1907 maybe-check-gawk \
1908 maybe-check-gettext \
1909 maybe-check-gnuserv \
1910 maybe-check-gprof \
1911 maybe-check-gzip \
1912 maybe-check-hello \
1913 maybe-check-indent \
1914 maybe-check-intl \
1915 maybe-check-tcl \
1916 maybe-check-itcl \
1917 maybe-check-ld \
1918 maybe-check-libcpp \
1919 maybe-check-libgui \
1920 maybe-check-libiberty \
1921 maybe-check-libtool \
1922 maybe-check-m4 \
1923 maybe-check-make \
1924 maybe-check-mmalloc \
1925 maybe-check-patch \
1926 maybe-check-perl \
1927 maybe-check-prms \
1928 maybe-check-rcs \
1929 maybe-check-readline \
1930 maybe-check-release \
1931 maybe-check-recode \
1932 maybe-check-sed \
1933 maybe-check-send-pr \
1934 maybe-check-shellutils \
1935 maybe-check-sid \
1936 maybe-check-sim \
1937 maybe-check-tar \
1938 maybe-check-texinfo \
1939 maybe-check-textutils \
1940 maybe-check-time \
1941 maybe-check-uudecode \
1942 maybe-check-wdiff \
1943 maybe-check-zip \
1944 maybe-check-zlib \
1945 maybe-check-gdb \
1946 maybe-check-expect \
1947 maybe-check-guile \
1948 maybe-check-tk \
1949 maybe-check-libtermcap \
1950 maybe-check-utils \
1951 maybe-check-gnattools \
1952 maybe-check-target-libstdc++-v3 \
1953 maybe-check-target-libmudflap \
1954 maybe-check-target-libssp \
1955 maybe-check-target-newlib \
1956 maybe-check-target-libgfortran \
1957 maybe-check-target-libobjc \
1958 maybe-check-target-libtermcap \
1959 maybe-check-target-winsup \
1960 maybe-check-target-libgloss \
1961 maybe-check-target-libiberty \
1962 maybe-check-target-gperf \
1963 maybe-check-target-examples \
1964 maybe-check-target-libffi \
1965 maybe-check-target-libjava \
1966 maybe-check-target-zlib \
1967 maybe-check-target-boehm-gc \
1968 maybe-check-target-qthreads \
1969 maybe-check-target-rda \
1970 maybe-check-target-libada stage
1972 # Automated reporting of test results.
1974 warning.log: build.log
1975 $(srcdir)/contrib/warn_summary build.log > $@
1977 mail-report.log:
1978 if test x'$(BOOT_CFLAGS)' != x''; then \
1979 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1980 fi; \
1981 $(srcdir)/contrib/test_summary -t >$@
1982 chmod +x $@
1983 echo If you really want to send e-mail, run ./$@ now
1985 mail-report-with-warnings.log: warning.log
1986 if test x'$(BOOT_CFLAGS)' != x''; then \
1987 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1988 fi; \
1989 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1990 chmod +x $@
1991 echo If you really want to send e-mail, run ./$@ now
1993 # Installation targets.
1995 .PHONY: install uninstall
1996 install: unstage installdirs install-host install-target stage
1998 .PHONY: install-host-nogcc
1999 install-host-nogcc: \
2000 maybe-install-ash \
2001 maybe-install-autoconf \
2002 maybe-install-automake \
2003 maybe-install-bash \
2004 maybe-install-bfd \
2005 maybe-install-opcodes \
2006 maybe-install-binutils \
2007 maybe-install-bison \
2008 maybe-install-byacc \
2009 maybe-install-bzip2 \
2010 maybe-install-dejagnu \
2011 maybe-install-diff \
2012 maybe-install-dosutils \
2013 maybe-install-etc \
2014 maybe-install-fastjar \
2015 maybe-install-fileutils \
2016 maybe-install-findutils \
2017 maybe-install-find \
2018 maybe-install-fixincludes \
2019 maybe-install-flex \
2020 maybe-install-gas \
2021 maybe-install-gawk \
2022 maybe-install-gettext \
2023 maybe-install-gnuserv \
2024 maybe-install-gprof \
2025 maybe-install-gzip \
2026 maybe-install-hello \
2027 maybe-install-indent \
2028 maybe-install-intl \
2029 maybe-install-tcl \
2030 maybe-install-itcl \
2031 maybe-install-ld \
2032 maybe-install-libcpp \
2033 maybe-install-libgui \
2034 maybe-install-libiberty \
2035 maybe-install-libtool \
2036 maybe-install-m4 \
2037 maybe-install-make \
2038 maybe-install-mmalloc \
2039 maybe-install-patch \
2040 maybe-install-perl \
2041 maybe-install-prms \
2042 maybe-install-rcs \
2043 maybe-install-readline \
2044 maybe-install-release \
2045 maybe-install-recode \
2046 maybe-install-sed \
2047 maybe-install-send-pr \
2048 maybe-install-shellutils \
2049 maybe-install-sid \
2050 maybe-install-sim \
2051 maybe-install-tar \
2052 maybe-install-texinfo \
2053 maybe-install-textutils \
2054 maybe-install-time \
2055 maybe-install-uudecode \
2056 maybe-install-wdiff \
2057 maybe-install-zip \
2058 maybe-install-zlib \
2059 maybe-install-gdb \
2060 maybe-install-expect \
2061 maybe-install-guile \
2062 maybe-install-tk \
2063 maybe-install-libtermcap \
2064 maybe-install-utils \
2065 maybe-install-gnattools
2067 .PHONY: install-host
2068 install-host: \
2069 maybe-install-ash \
2070 maybe-install-autoconf \
2071 maybe-install-automake \
2072 maybe-install-bash \
2073 maybe-install-bfd \
2074 maybe-install-opcodes \
2075 maybe-install-binutils \
2076 maybe-install-bison \
2077 maybe-install-byacc \
2078 maybe-install-bzip2 \
2079 maybe-install-dejagnu \
2080 maybe-install-diff \
2081 maybe-install-dosutils \
2082 maybe-install-etc \
2083 maybe-install-fastjar \
2084 maybe-install-fileutils \
2085 maybe-install-findutils \
2086 maybe-install-find \
2087 maybe-install-fixincludes \
2088 maybe-install-flex \
2089 maybe-install-gas \
2090 maybe-install-gcc \
2091 maybe-install-gawk \
2092 maybe-install-gettext \
2093 maybe-install-gnuserv \
2094 maybe-install-gprof \
2095 maybe-install-gzip \
2096 maybe-install-hello \
2097 maybe-install-indent \
2098 maybe-install-intl \
2099 maybe-install-tcl \
2100 maybe-install-itcl \
2101 maybe-install-ld \
2102 maybe-install-libcpp \
2103 maybe-install-libgui \
2104 maybe-install-libiberty \
2105 maybe-install-libtool \
2106 maybe-install-m4 \
2107 maybe-install-make \
2108 maybe-install-mmalloc \
2109 maybe-install-patch \
2110 maybe-install-perl \
2111 maybe-install-prms \
2112 maybe-install-rcs \
2113 maybe-install-readline \
2114 maybe-install-release \
2115 maybe-install-recode \
2116 maybe-install-sed \
2117 maybe-install-send-pr \
2118 maybe-install-shellutils \
2119 maybe-install-sid \
2120 maybe-install-sim \
2121 maybe-install-tar \
2122 maybe-install-texinfo \
2123 maybe-install-textutils \
2124 maybe-install-time \
2125 maybe-install-uudecode \
2126 maybe-install-wdiff \
2127 maybe-install-zip \
2128 maybe-install-zlib \
2129 maybe-install-gdb \
2130 maybe-install-expect \
2131 maybe-install-guile \
2132 maybe-install-tk \
2133 maybe-install-libtermcap \
2134 maybe-install-utils \
2135 maybe-install-gnattools
2137 .PHONY: install-target
2138 install-target: \
2139 maybe-install-target-libstdc++-v3 \
2140 maybe-install-target-libmudflap \
2141 maybe-install-target-libssp \
2142 maybe-install-target-newlib \
2143 maybe-install-target-libgfortran \
2144 maybe-install-target-libobjc \
2145 maybe-install-target-libtermcap \
2146 maybe-install-target-winsup \
2147 maybe-install-target-libgloss \
2148 maybe-install-target-libiberty \
2149 maybe-install-target-gperf \
2150 maybe-install-target-examples \
2151 maybe-install-target-libffi \
2152 maybe-install-target-libjava \
2153 maybe-install-target-zlib \
2154 maybe-install-target-boehm-gc \
2155 maybe-install-target-qthreads \
2156 maybe-install-target-rda \
2157 maybe-install-target-libada
2159 uninstall:
2160 @echo "the uninstall target is not supported in this tree"
2162 .PHONY: install.all
2163 install.all: install-no-fixedincludes
2164 @if [ -f ./gcc/Makefile ] ; then \
2165 r=`${PWD_COMMAND}` ; export r ; \
2166 $(HOST_EXPORTS) \
2167 (cd ./gcc && \
2168 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2169 else \
2170 true ; \
2173 # install-no-fixedincludes is used because Cygnus can not distribute
2174 # the fixed header files.
2175 .PHONY: install-no-fixedincludes
2176 install-no-fixedincludes: installdirs install-host-nogcc \
2177 install-target gcc-no-fixedincludes
2179 ### other supporting targets
2181 MAKEDIRS= \
2182 $(DESTDIR)$(prefix) \
2183 $(DESTDIR)$(exec_prefix)
2184 .PHONY: installdirs
2185 installdirs: mkinstalldirs
2186 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2188 dir.info: do-install-info
2189 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2190 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2191 mv -f dir.info.new dir.info ; \
2192 else true ; \
2195 dist:
2196 @echo "Building a full distribution of this tree isn't done"
2197 @echo "via 'make dist'. Check out the etc/ subdirectory"
2199 etags tags: TAGS
2201 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2202 # ability to use several tags files at once, so there is probably no need
2203 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2204 # (if we felt like it) have this Makefile write a piece of elisp which
2205 # the user could load to tell emacs19 where all the TAGS files we just
2206 # built are.
2207 TAGS: do-TAGS
2209 # ------------------------------------
2210 # Macros for configure and all targets
2211 # ------------------------------------
2217 # --------------------------------------
2218 # Modules which run on the build machine
2219 # --------------------------------------
2222 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2223 maybe-configure-build-libiberty:
2224 @if build-libiberty
2225 maybe-configure-build-libiberty: configure-build-libiberty
2226 configure-build-libiberty:
2227 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2228 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2229 r=`${PWD_COMMAND}`; export r; \
2230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2231 $(BUILD_EXPORTS) \
2232 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2233 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2234 case $(srcdir) in \
2235 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2236 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2237 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2238 esac; \
2239 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2240 libsrcdir="$$s/libiberty"; \
2241 rm -f no-such-file || : ; \
2242 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2243 $(BUILD_CONFIGARGS) $${srcdiroption} \
2244 || exit 1
2245 @endif build-libiberty
2251 .PHONY: all-build-libiberty maybe-all-build-libiberty
2252 maybe-all-build-libiberty:
2253 @if build-libiberty
2254 TARGET-build-libiberty=all
2255 maybe-all-build-libiberty: all-build-libiberty
2256 all-build-libiberty: configure-build-libiberty
2257 @r=`${PWD_COMMAND}`; export r; \
2258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2259 $(BUILD_EXPORTS) \
2260 (cd $(BUILD_SUBDIR)/libiberty && \
2261 $(MAKE) $(TARGET-build-libiberty))
2262 @endif build-libiberty
2268 .PHONY: configure-build-bison maybe-configure-build-bison
2269 maybe-configure-build-bison:
2270 @if build-bison
2271 maybe-configure-build-bison: configure-build-bison
2272 configure-build-bison:
2273 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2274 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2275 r=`${PWD_COMMAND}`; export r; \
2276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2277 $(BUILD_EXPORTS) \
2278 echo Configuring in $(BUILD_SUBDIR)/bison; \
2279 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2280 case $(srcdir) in \
2281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2282 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2284 esac; \
2285 srcdiroption="--srcdir=$${topdir}/bison"; \
2286 libsrcdir="$$s/bison"; \
2287 rm -f no-such-file || : ; \
2288 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2289 $(BUILD_CONFIGARGS) $${srcdiroption} \
2290 || exit 1
2291 @endif build-bison
2297 .PHONY: all-build-bison maybe-all-build-bison
2298 maybe-all-build-bison:
2299 @if build-bison
2300 TARGET-build-bison=all
2301 maybe-all-build-bison: all-build-bison
2302 all-build-bison: configure-build-bison
2303 @r=`${PWD_COMMAND}`; export r; \
2304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2305 $(BUILD_EXPORTS) \
2306 (cd $(BUILD_SUBDIR)/bison && \
2307 $(MAKE) $(TARGET-build-bison))
2308 @endif build-bison
2314 .PHONY: configure-build-byacc maybe-configure-build-byacc
2315 maybe-configure-build-byacc:
2316 @if build-byacc
2317 maybe-configure-build-byacc: configure-build-byacc
2318 configure-build-byacc:
2319 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2320 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2321 r=`${PWD_COMMAND}`; export r; \
2322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2323 $(BUILD_EXPORTS) \
2324 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2325 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2326 case $(srcdir) in \
2327 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2328 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2329 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2330 esac; \
2331 srcdiroption="--srcdir=$${topdir}/byacc"; \
2332 libsrcdir="$$s/byacc"; \
2333 rm -f no-such-file || : ; \
2334 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2335 $(BUILD_CONFIGARGS) $${srcdiroption} \
2336 || exit 1
2337 @endif build-byacc
2343 .PHONY: all-build-byacc maybe-all-build-byacc
2344 maybe-all-build-byacc:
2345 @if build-byacc
2346 TARGET-build-byacc=all
2347 maybe-all-build-byacc: all-build-byacc
2348 all-build-byacc: configure-build-byacc
2349 @r=`${PWD_COMMAND}`; export r; \
2350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2351 $(BUILD_EXPORTS) \
2352 (cd $(BUILD_SUBDIR)/byacc && \
2353 $(MAKE) $(TARGET-build-byacc))
2354 @endif build-byacc
2360 .PHONY: configure-build-flex maybe-configure-build-flex
2361 maybe-configure-build-flex:
2362 @if build-flex
2363 maybe-configure-build-flex: configure-build-flex
2364 configure-build-flex:
2365 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2366 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2367 r=`${PWD_COMMAND}`; export r; \
2368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2369 $(BUILD_EXPORTS) \
2370 echo Configuring in $(BUILD_SUBDIR)/flex; \
2371 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2372 case $(srcdir) in \
2373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2374 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2376 esac; \
2377 srcdiroption="--srcdir=$${topdir}/flex"; \
2378 libsrcdir="$$s/flex"; \
2379 rm -f no-such-file || : ; \
2380 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2381 $(BUILD_CONFIGARGS) $${srcdiroption} \
2382 || exit 1
2383 @endif build-flex
2389 .PHONY: all-build-flex maybe-all-build-flex
2390 maybe-all-build-flex:
2391 @if build-flex
2392 TARGET-build-flex=all
2393 maybe-all-build-flex: all-build-flex
2394 all-build-flex: configure-build-flex
2395 @r=`${PWD_COMMAND}`; export r; \
2396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2397 $(BUILD_EXPORTS) \
2398 (cd $(BUILD_SUBDIR)/flex && \
2399 $(MAKE) $(TARGET-build-flex))
2400 @endif build-flex
2406 .PHONY: configure-build-m4 maybe-configure-build-m4
2407 maybe-configure-build-m4:
2408 @if build-m4
2409 maybe-configure-build-m4: configure-build-m4
2410 configure-build-m4:
2411 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2412 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2413 r=`${PWD_COMMAND}`; export r; \
2414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2415 $(BUILD_EXPORTS) \
2416 echo Configuring in $(BUILD_SUBDIR)/m4; \
2417 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2418 case $(srcdir) in \
2419 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2420 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2421 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2422 esac; \
2423 srcdiroption="--srcdir=$${topdir}/m4"; \
2424 libsrcdir="$$s/m4"; \
2425 rm -f no-such-file || : ; \
2426 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2427 $(BUILD_CONFIGARGS) $${srcdiroption} \
2428 || exit 1
2429 @endif build-m4
2435 .PHONY: all-build-m4 maybe-all-build-m4
2436 maybe-all-build-m4:
2437 @if build-m4
2438 TARGET-build-m4=all
2439 maybe-all-build-m4: all-build-m4
2440 all-build-m4: configure-build-m4
2441 @r=`${PWD_COMMAND}`; export r; \
2442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2443 $(BUILD_EXPORTS) \
2444 (cd $(BUILD_SUBDIR)/m4 && \
2445 $(MAKE) $(TARGET-build-m4))
2446 @endif build-m4
2452 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2453 maybe-configure-build-texinfo:
2454 @if build-texinfo
2455 maybe-configure-build-texinfo: configure-build-texinfo
2456 configure-build-texinfo:
2457 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2458 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2459 r=`${PWD_COMMAND}`; export r; \
2460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2461 $(BUILD_EXPORTS) \
2462 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2463 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2464 case $(srcdir) in \
2465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2466 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2468 esac; \
2469 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2470 libsrcdir="$$s/texinfo"; \
2471 rm -f no-such-file || : ; \
2472 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2473 $(BUILD_CONFIGARGS) $${srcdiroption} \
2474 || exit 1
2475 @endif build-texinfo
2481 .PHONY: all-build-texinfo maybe-all-build-texinfo
2482 maybe-all-build-texinfo:
2483 @if build-texinfo
2484 TARGET-build-texinfo=all
2485 maybe-all-build-texinfo: all-build-texinfo
2486 all-build-texinfo: configure-build-texinfo
2487 @r=`${PWD_COMMAND}`; export r; \
2488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2489 $(BUILD_EXPORTS) \
2490 (cd $(BUILD_SUBDIR)/texinfo && \
2491 $(MAKE) $(TARGET-build-texinfo))
2492 @endif build-texinfo
2498 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2499 maybe-configure-build-fixincludes:
2500 @if build-fixincludes
2501 maybe-configure-build-fixincludes: configure-build-fixincludes
2502 configure-build-fixincludes:
2503 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2504 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2505 r=`${PWD_COMMAND}`; export r; \
2506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2507 $(BUILD_EXPORTS) \
2508 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2509 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2510 case $(srcdir) in \
2511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2512 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2514 esac; \
2515 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2516 libsrcdir="$$s/fixincludes"; \
2517 rm -f no-such-file || : ; \
2518 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2519 $(BUILD_CONFIGARGS) $${srcdiroption} \
2520 || exit 1
2521 @endif build-fixincludes
2527 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2528 maybe-all-build-fixincludes:
2529 @if build-fixincludes
2530 TARGET-build-fixincludes=all
2531 maybe-all-build-fixincludes: all-build-fixincludes
2532 all-build-fixincludes: configure-build-fixincludes
2533 @r=`${PWD_COMMAND}`; export r; \
2534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2535 $(BUILD_EXPORTS) \
2536 (cd $(BUILD_SUBDIR)/fixincludes && \
2537 $(MAKE) $(TARGET-build-fixincludes))
2538 @endif build-fixincludes
2544 # --------------------------------------
2545 # Modules which run on the host machine
2546 # --------------------------------------
2549 .PHONY: configure-ash maybe-configure-ash
2550 maybe-configure-ash:
2551 @if ash
2552 maybe-configure-ash: configure-ash
2553 configure-ash:
2554 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2555 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2556 r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 $(HOST_EXPORTS) \
2559 echo Configuring in $(HOST_SUBDIR)/ash; \
2560 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2561 case $(srcdir) in \
2562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2563 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2565 esac; \
2566 srcdiroption="--srcdir=$${topdir}/ash"; \
2567 libsrcdir="$$s/ash"; \
2568 $(SHELL) $${libsrcdir}/configure \
2569 $(HOST_CONFIGARGS) $${srcdiroption} \
2570 || exit 1
2571 @endif ash
2577 .PHONY: all-ash maybe-all-ash
2578 maybe-all-ash:
2579 @if ash
2580 TARGET-ash=all
2581 maybe-all-ash: all-ash
2582 all-ash: configure-ash
2583 @r=`${PWD_COMMAND}`; export r; \
2584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2585 $(HOST_EXPORTS) \
2586 (cd $(HOST_SUBDIR)/ash && \
2587 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2588 @endif ash
2593 .PHONY: check-ash maybe-check-ash
2594 maybe-check-ash:
2595 @if ash
2596 maybe-check-ash: check-ash
2598 check-ash:
2599 @r=`${PWD_COMMAND}`; export r; \
2600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2601 $(HOST_EXPORTS) \
2602 (cd $(HOST_SUBDIR)/ash && \
2603 $(MAKE) $(FLAGS_TO_PASS) check)
2605 @endif ash
2607 .PHONY: install-ash maybe-install-ash
2608 maybe-install-ash:
2609 @if ash
2610 maybe-install-ash: install-ash
2612 install-ash: installdirs
2613 @r=`${PWD_COMMAND}`; export r; \
2614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2615 $(HOST_EXPORTS) \
2616 (cd $(HOST_SUBDIR)/ash && \
2617 $(MAKE) $(FLAGS_TO_PASS) install)
2619 @endif ash
2621 # Other targets (info, dvi, etc.)
2623 .PHONY: maybe-info-ash info-ash
2624 maybe-info-ash:
2625 @if ash
2626 maybe-info-ash: info-ash
2628 info-ash: \
2629 configure-ash
2630 @[ -f ./ash/Makefile ] || exit 0; \
2631 r=`${PWD_COMMAND}`; export r; \
2632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2633 $(HOST_EXPORTS) \
2634 for flag in $(EXTRA_HOST_FLAGS) ; do \
2635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2636 done; \
2637 echo "Doing info in ash" ; \
2638 (cd $(HOST_SUBDIR)/ash && \
2639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2641 "RANLIB=$${RANLIB}" \
2642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2643 info) \
2644 || exit 1
2646 @endif ash
2648 .PHONY: maybe-dvi-ash dvi-ash
2649 maybe-dvi-ash:
2650 @if ash
2651 maybe-dvi-ash: dvi-ash
2653 dvi-ash: \
2654 configure-ash
2655 @[ -f ./ash/Makefile ] || exit 0; \
2656 r=`${PWD_COMMAND}`; export r; \
2657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2658 $(HOST_EXPORTS) \
2659 for flag in $(EXTRA_HOST_FLAGS) ; do \
2660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2661 done; \
2662 echo "Doing dvi in ash" ; \
2663 (cd $(HOST_SUBDIR)/ash && \
2664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2666 "RANLIB=$${RANLIB}" \
2667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2668 dvi) \
2669 || exit 1
2671 @endif ash
2673 .PHONY: maybe-html-ash html-ash
2674 maybe-html-ash:
2675 @if ash
2676 maybe-html-ash: html-ash
2678 html-ash: \
2679 configure-ash
2680 @[ -f ./ash/Makefile ] || exit 0; \
2681 r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 $(HOST_EXPORTS) \
2684 for flag in $(EXTRA_HOST_FLAGS) ; do \
2685 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2686 done; \
2687 echo "Doing html in ash" ; \
2688 (cd $(HOST_SUBDIR)/ash && \
2689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2691 "RANLIB=$${RANLIB}" \
2692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2693 html) \
2694 || exit 1
2696 @endif ash
2698 .PHONY: maybe-TAGS-ash TAGS-ash
2699 maybe-TAGS-ash:
2700 @if ash
2701 maybe-TAGS-ash: TAGS-ash
2703 TAGS-ash: \
2704 configure-ash
2705 @[ -f ./ash/Makefile ] || exit 0; \
2706 r=`${PWD_COMMAND}`; export r; \
2707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2708 $(HOST_EXPORTS) \
2709 for flag in $(EXTRA_HOST_FLAGS) ; do \
2710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2711 done; \
2712 echo "Doing TAGS in ash" ; \
2713 (cd $(HOST_SUBDIR)/ash && \
2714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2716 "RANLIB=$${RANLIB}" \
2717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2718 TAGS) \
2719 || exit 1
2721 @endif ash
2723 .PHONY: maybe-install-info-ash install-info-ash
2724 maybe-install-info-ash:
2725 @if ash
2726 maybe-install-info-ash: install-info-ash
2728 install-info-ash: \
2729 configure-ash \
2730 info-ash
2731 @[ -f ./ash/Makefile ] || exit 0; \
2732 r=`${PWD_COMMAND}`; export r; \
2733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2734 $(HOST_EXPORTS) \
2735 for flag in $(EXTRA_HOST_FLAGS) ; do \
2736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2737 done; \
2738 echo "Doing install-info in ash" ; \
2739 (cd $(HOST_SUBDIR)/ash && \
2740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2742 "RANLIB=$${RANLIB}" \
2743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2744 install-info) \
2745 || exit 1
2747 @endif ash
2749 .PHONY: maybe-installcheck-ash installcheck-ash
2750 maybe-installcheck-ash:
2751 @if ash
2752 maybe-installcheck-ash: installcheck-ash
2754 installcheck-ash: \
2755 configure-ash
2756 @[ -f ./ash/Makefile ] || exit 0; \
2757 r=`${PWD_COMMAND}`; export r; \
2758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2759 $(HOST_EXPORTS) \
2760 for flag in $(EXTRA_HOST_FLAGS) ; do \
2761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2762 done; \
2763 echo "Doing installcheck in ash" ; \
2764 (cd $(HOST_SUBDIR)/ash && \
2765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2767 "RANLIB=$${RANLIB}" \
2768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2769 installcheck) \
2770 || exit 1
2772 @endif ash
2774 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2775 maybe-mostlyclean-ash:
2776 @if ash
2777 maybe-mostlyclean-ash: mostlyclean-ash
2779 mostlyclean-ash:
2780 @[ -f ./ash/Makefile ] || exit 0; \
2781 r=`${PWD_COMMAND}`; export r; \
2782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2783 $(HOST_EXPORTS) \
2784 for flag in $(EXTRA_HOST_FLAGS) ; do \
2785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2786 done; \
2787 echo "Doing mostlyclean in ash" ; \
2788 (cd $(HOST_SUBDIR)/ash && \
2789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2791 "RANLIB=$${RANLIB}" \
2792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2793 mostlyclean) \
2794 || exit 1
2796 @endif ash
2798 .PHONY: maybe-clean-ash clean-ash
2799 maybe-clean-ash:
2800 @if ash
2801 maybe-clean-ash: clean-ash
2803 clean-ash:
2804 @[ -f ./ash/Makefile ] || exit 0; \
2805 r=`${PWD_COMMAND}`; export r; \
2806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2807 $(HOST_EXPORTS) \
2808 for flag in $(EXTRA_HOST_FLAGS) ; do \
2809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2810 done; \
2811 echo "Doing clean in ash" ; \
2812 (cd $(HOST_SUBDIR)/ash && \
2813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2815 "RANLIB=$${RANLIB}" \
2816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2817 clean) \
2818 || exit 1
2820 @endif ash
2822 .PHONY: maybe-distclean-ash distclean-ash
2823 maybe-distclean-ash:
2824 @if ash
2825 maybe-distclean-ash: distclean-ash
2827 distclean-ash:
2828 @[ -f ./ash/Makefile ] || exit 0; \
2829 r=`${PWD_COMMAND}`; export r; \
2830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2831 $(HOST_EXPORTS) \
2832 for flag in $(EXTRA_HOST_FLAGS) ; do \
2833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2834 done; \
2835 echo "Doing distclean in ash" ; \
2836 (cd $(HOST_SUBDIR)/ash && \
2837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2839 "RANLIB=$${RANLIB}" \
2840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2841 distclean) \
2842 || exit 1
2844 @endif ash
2846 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2847 maybe-maintainer-clean-ash:
2848 @if ash
2849 maybe-maintainer-clean-ash: maintainer-clean-ash
2851 maintainer-clean-ash:
2852 @[ -f ./ash/Makefile ] || exit 0; \
2853 r=`${PWD_COMMAND}`; export r; \
2854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2855 $(HOST_EXPORTS) \
2856 for flag in $(EXTRA_HOST_FLAGS) ; do \
2857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2858 done; \
2859 echo "Doing maintainer-clean in ash" ; \
2860 (cd $(HOST_SUBDIR)/ash && \
2861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2863 "RANLIB=$${RANLIB}" \
2864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2865 maintainer-clean) \
2866 || exit 1
2868 @endif ash
2872 .PHONY: configure-autoconf maybe-configure-autoconf
2873 maybe-configure-autoconf:
2874 @if autoconf
2875 maybe-configure-autoconf: configure-autoconf
2876 configure-autoconf:
2877 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2878 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2879 r=`${PWD_COMMAND}`; export r; \
2880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2881 $(HOST_EXPORTS) \
2882 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2883 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2884 case $(srcdir) in \
2885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2886 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2888 esac; \
2889 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2890 libsrcdir="$$s/autoconf"; \
2891 $(SHELL) $${libsrcdir}/configure \
2892 $(HOST_CONFIGARGS) $${srcdiroption} \
2893 || exit 1
2894 @endif autoconf
2900 .PHONY: all-autoconf maybe-all-autoconf
2901 maybe-all-autoconf:
2902 @if autoconf
2903 TARGET-autoconf=all
2904 maybe-all-autoconf: all-autoconf
2905 all-autoconf: configure-autoconf
2906 @r=`${PWD_COMMAND}`; export r; \
2907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 $(HOST_EXPORTS) \
2909 (cd $(HOST_SUBDIR)/autoconf && \
2910 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2911 @endif autoconf
2916 .PHONY: check-autoconf maybe-check-autoconf
2917 maybe-check-autoconf:
2918 @if autoconf
2919 maybe-check-autoconf: check-autoconf
2921 check-autoconf:
2922 @r=`${PWD_COMMAND}`; export r; \
2923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2924 $(HOST_EXPORTS) \
2925 (cd $(HOST_SUBDIR)/autoconf && \
2926 $(MAKE) $(FLAGS_TO_PASS) check)
2928 @endif autoconf
2930 .PHONY: install-autoconf maybe-install-autoconf
2931 maybe-install-autoconf:
2932 @if autoconf
2933 maybe-install-autoconf: install-autoconf
2935 install-autoconf: installdirs
2936 @r=`${PWD_COMMAND}`; export r; \
2937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2938 $(HOST_EXPORTS) \
2939 (cd $(HOST_SUBDIR)/autoconf && \
2940 $(MAKE) $(FLAGS_TO_PASS) install)
2942 @endif autoconf
2944 # Other targets (info, dvi, etc.)
2946 .PHONY: maybe-info-autoconf info-autoconf
2947 maybe-info-autoconf:
2948 @if autoconf
2949 maybe-info-autoconf: info-autoconf
2951 info-autoconf: \
2952 configure-autoconf
2953 @[ -f ./autoconf/Makefile ] || exit 0; \
2954 r=`${PWD_COMMAND}`; export r; \
2955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2956 $(HOST_EXPORTS) \
2957 for flag in $(EXTRA_HOST_FLAGS) ; do \
2958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2959 done; \
2960 echo "Doing info in autoconf" ; \
2961 (cd $(HOST_SUBDIR)/autoconf && \
2962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2964 "RANLIB=$${RANLIB}" \
2965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2966 info) \
2967 || exit 1
2969 @endif autoconf
2971 .PHONY: maybe-dvi-autoconf dvi-autoconf
2972 maybe-dvi-autoconf:
2973 @if autoconf
2974 maybe-dvi-autoconf: dvi-autoconf
2976 dvi-autoconf: \
2977 configure-autoconf
2978 @[ -f ./autoconf/Makefile ] || exit 0; \
2979 r=`${PWD_COMMAND}`; export r; \
2980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2981 $(HOST_EXPORTS) \
2982 for flag in $(EXTRA_HOST_FLAGS) ; do \
2983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2984 done; \
2985 echo "Doing dvi in autoconf" ; \
2986 (cd $(HOST_SUBDIR)/autoconf && \
2987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2989 "RANLIB=$${RANLIB}" \
2990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2991 dvi) \
2992 || exit 1
2994 @endif autoconf
2996 .PHONY: maybe-html-autoconf html-autoconf
2997 maybe-html-autoconf:
2998 @if autoconf
2999 maybe-html-autoconf: html-autoconf
3001 html-autoconf: \
3002 configure-autoconf
3003 @[ -f ./autoconf/Makefile ] || exit 0; \
3004 r=`${PWD_COMMAND}`; export r; \
3005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3006 $(HOST_EXPORTS) \
3007 for flag in $(EXTRA_HOST_FLAGS) ; do \
3008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3009 done; \
3010 echo "Doing html in autoconf" ; \
3011 (cd $(HOST_SUBDIR)/autoconf && \
3012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3014 "RANLIB=$${RANLIB}" \
3015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3016 html) \
3017 || exit 1
3019 @endif autoconf
3021 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3022 maybe-TAGS-autoconf:
3023 @if autoconf
3024 maybe-TAGS-autoconf: TAGS-autoconf
3026 TAGS-autoconf: \
3027 configure-autoconf
3028 @[ -f ./autoconf/Makefile ] || exit 0; \
3029 r=`${PWD_COMMAND}`; export r; \
3030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3031 $(HOST_EXPORTS) \
3032 for flag in $(EXTRA_HOST_FLAGS) ; do \
3033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3034 done; \
3035 echo "Doing TAGS in autoconf" ; \
3036 (cd $(HOST_SUBDIR)/autoconf && \
3037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3039 "RANLIB=$${RANLIB}" \
3040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3041 TAGS) \
3042 || exit 1
3044 @endif autoconf
3046 .PHONY: maybe-install-info-autoconf install-info-autoconf
3047 maybe-install-info-autoconf:
3048 @if autoconf
3049 maybe-install-info-autoconf: install-info-autoconf
3051 install-info-autoconf: \
3052 configure-autoconf \
3053 info-autoconf
3054 @[ -f ./autoconf/Makefile ] || exit 0; \
3055 r=`${PWD_COMMAND}`; export r; \
3056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3057 $(HOST_EXPORTS) \
3058 for flag in $(EXTRA_HOST_FLAGS) ; do \
3059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3060 done; \
3061 echo "Doing install-info in autoconf" ; \
3062 (cd $(HOST_SUBDIR)/autoconf && \
3063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3065 "RANLIB=$${RANLIB}" \
3066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3067 install-info) \
3068 || exit 1
3070 @endif autoconf
3072 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3073 maybe-installcheck-autoconf:
3074 @if autoconf
3075 maybe-installcheck-autoconf: installcheck-autoconf
3077 installcheck-autoconf: \
3078 configure-autoconf
3079 @[ -f ./autoconf/Makefile ] || exit 0; \
3080 r=`${PWD_COMMAND}`; export r; \
3081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3082 $(HOST_EXPORTS) \
3083 for flag in $(EXTRA_HOST_FLAGS) ; do \
3084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3085 done; \
3086 echo "Doing installcheck in autoconf" ; \
3087 (cd $(HOST_SUBDIR)/autoconf && \
3088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3090 "RANLIB=$${RANLIB}" \
3091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3092 installcheck) \
3093 || exit 1
3095 @endif autoconf
3097 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3098 maybe-mostlyclean-autoconf:
3099 @if autoconf
3100 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3102 mostlyclean-autoconf:
3103 @[ -f ./autoconf/Makefile ] || exit 0; \
3104 r=`${PWD_COMMAND}`; export r; \
3105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3106 $(HOST_EXPORTS) \
3107 for flag in $(EXTRA_HOST_FLAGS) ; do \
3108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3109 done; \
3110 echo "Doing mostlyclean in autoconf" ; \
3111 (cd $(HOST_SUBDIR)/autoconf && \
3112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3114 "RANLIB=$${RANLIB}" \
3115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3116 mostlyclean) \
3117 || exit 1
3119 @endif autoconf
3121 .PHONY: maybe-clean-autoconf clean-autoconf
3122 maybe-clean-autoconf:
3123 @if autoconf
3124 maybe-clean-autoconf: clean-autoconf
3126 clean-autoconf:
3127 @[ -f ./autoconf/Makefile ] || exit 0; \
3128 r=`${PWD_COMMAND}`; export r; \
3129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3130 $(HOST_EXPORTS) \
3131 for flag in $(EXTRA_HOST_FLAGS) ; do \
3132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3133 done; \
3134 echo "Doing clean in autoconf" ; \
3135 (cd $(HOST_SUBDIR)/autoconf && \
3136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3138 "RANLIB=$${RANLIB}" \
3139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3140 clean) \
3141 || exit 1
3143 @endif autoconf
3145 .PHONY: maybe-distclean-autoconf distclean-autoconf
3146 maybe-distclean-autoconf:
3147 @if autoconf
3148 maybe-distclean-autoconf: distclean-autoconf
3150 distclean-autoconf:
3151 @[ -f ./autoconf/Makefile ] || exit 0; \
3152 r=`${PWD_COMMAND}`; export r; \
3153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3154 $(HOST_EXPORTS) \
3155 for flag in $(EXTRA_HOST_FLAGS) ; do \
3156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3157 done; \
3158 echo "Doing distclean in autoconf" ; \
3159 (cd $(HOST_SUBDIR)/autoconf && \
3160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3162 "RANLIB=$${RANLIB}" \
3163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3164 distclean) \
3165 || exit 1
3167 @endif autoconf
3169 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3170 maybe-maintainer-clean-autoconf:
3171 @if autoconf
3172 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3174 maintainer-clean-autoconf:
3175 @[ -f ./autoconf/Makefile ] || exit 0; \
3176 r=`${PWD_COMMAND}`; export r; \
3177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3178 $(HOST_EXPORTS) \
3179 for flag in $(EXTRA_HOST_FLAGS) ; do \
3180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3181 done; \
3182 echo "Doing maintainer-clean in autoconf" ; \
3183 (cd $(HOST_SUBDIR)/autoconf && \
3184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3186 "RANLIB=$${RANLIB}" \
3187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3188 maintainer-clean) \
3189 || exit 1
3191 @endif autoconf
3195 .PHONY: configure-automake maybe-configure-automake
3196 maybe-configure-automake:
3197 @if automake
3198 maybe-configure-automake: configure-automake
3199 configure-automake:
3200 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3201 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3202 r=`${PWD_COMMAND}`; export r; \
3203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3204 $(HOST_EXPORTS) \
3205 echo Configuring in $(HOST_SUBDIR)/automake; \
3206 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3207 case $(srcdir) in \
3208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3209 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3211 esac; \
3212 srcdiroption="--srcdir=$${topdir}/automake"; \
3213 libsrcdir="$$s/automake"; \
3214 $(SHELL) $${libsrcdir}/configure \
3215 $(HOST_CONFIGARGS) $${srcdiroption} \
3216 || exit 1
3217 @endif automake
3223 .PHONY: all-automake maybe-all-automake
3224 maybe-all-automake:
3225 @if automake
3226 TARGET-automake=all
3227 maybe-all-automake: all-automake
3228 all-automake: configure-automake
3229 @r=`${PWD_COMMAND}`; export r; \
3230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3231 $(HOST_EXPORTS) \
3232 (cd $(HOST_SUBDIR)/automake && \
3233 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3234 @endif automake
3239 .PHONY: check-automake maybe-check-automake
3240 maybe-check-automake:
3241 @if automake
3242 maybe-check-automake: check-automake
3244 check-automake:
3245 @r=`${PWD_COMMAND}`; export r; \
3246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3247 $(HOST_EXPORTS) \
3248 (cd $(HOST_SUBDIR)/automake && \
3249 $(MAKE) $(FLAGS_TO_PASS) check)
3251 @endif automake
3253 .PHONY: install-automake maybe-install-automake
3254 maybe-install-automake:
3255 @if automake
3256 maybe-install-automake: install-automake
3258 install-automake: installdirs
3259 @r=`${PWD_COMMAND}`; export r; \
3260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3261 $(HOST_EXPORTS) \
3262 (cd $(HOST_SUBDIR)/automake && \
3263 $(MAKE) $(FLAGS_TO_PASS) install)
3265 @endif automake
3267 # Other targets (info, dvi, etc.)
3269 .PHONY: maybe-info-automake info-automake
3270 maybe-info-automake:
3271 @if automake
3272 maybe-info-automake: info-automake
3274 info-automake: \
3275 configure-automake
3276 @[ -f ./automake/Makefile ] || exit 0; \
3277 r=`${PWD_COMMAND}`; export r; \
3278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3279 $(HOST_EXPORTS) \
3280 for flag in $(EXTRA_HOST_FLAGS) ; do \
3281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3282 done; \
3283 echo "Doing info in automake" ; \
3284 (cd $(HOST_SUBDIR)/automake && \
3285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3287 "RANLIB=$${RANLIB}" \
3288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3289 info) \
3290 || exit 1
3292 @endif automake
3294 .PHONY: maybe-dvi-automake dvi-automake
3295 maybe-dvi-automake:
3296 @if automake
3297 maybe-dvi-automake: dvi-automake
3299 dvi-automake: \
3300 configure-automake
3301 @[ -f ./automake/Makefile ] || exit 0; \
3302 r=`${PWD_COMMAND}`; export r; \
3303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3304 $(HOST_EXPORTS) \
3305 for flag in $(EXTRA_HOST_FLAGS) ; do \
3306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3307 done; \
3308 echo "Doing dvi in automake" ; \
3309 (cd $(HOST_SUBDIR)/automake && \
3310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3312 "RANLIB=$${RANLIB}" \
3313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3314 dvi) \
3315 || exit 1
3317 @endif automake
3319 .PHONY: maybe-html-automake html-automake
3320 maybe-html-automake:
3321 @if automake
3322 maybe-html-automake: html-automake
3324 html-automake: \
3325 configure-automake
3326 @[ -f ./automake/Makefile ] || exit 0; \
3327 r=`${PWD_COMMAND}`; export r; \
3328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3329 $(HOST_EXPORTS) \
3330 for flag in $(EXTRA_HOST_FLAGS) ; do \
3331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3332 done; \
3333 echo "Doing html in automake" ; \
3334 (cd $(HOST_SUBDIR)/automake && \
3335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3337 "RANLIB=$${RANLIB}" \
3338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3339 html) \
3340 || exit 1
3342 @endif automake
3344 .PHONY: maybe-TAGS-automake TAGS-automake
3345 maybe-TAGS-automake:
3346 @if automake
3347 maybe-TAGS-automake: TAGS-automake
3349 TAGS-automake: \
3350 configure-automake
3351 @[ -f ./automake/Makefile ] || exit 0; \
3352 r=`${PWD_COMMAND}`; export r; \
3353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3354 $(HOST_EXPORTS) \
3355 for flag in $(EXTRA_HOST_FLAGS) ; do \
3356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3357 done; \
3358 echo "Doing TAGS in automake" ; \
3359 (cd $(HOST_SUBDIR)/automake && \
3360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3362 "RANLIB=$${RANLIB}" \
3363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3364 TAGS) \
3365 || exit 1
3367 @endif automake
3369 .PHONY: maybe-install-info-automake install-info-automake
3370 maybe-install-info-automake:
3371 @if automake
3372 maybe-install-info-automake: install-info-automake
3374 install-info-automake: \
3375 configure-automake \
3376 info-automake
3377 @[ -f ./automake/Makefile ] || exit 0; \
3378 r=`${PWD_COMMAND}`; export r; \
3379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3380 $(HOST_EXPORTS) \
3381 for flag in $(EXTRA_HOST_FLAGS) ; do \
3382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3383 done; \
3384 echo "Doing install-info in automake" ; \
3385 (cd $(HOST_SUBDIR)/automake && \
3386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3388 "RANLIB=$${RANLIB}" \
3389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3390 install-info) \
3391 || exit 1
3393 @endif automake
3395 .PHONY: maybe-installcheck-automake installcheck-automake
3396 maybe-installcheck-automake:
3397 @if automake
3398 maybe-installcheck-automake: installcheck-automake
3400 installcheck-automake: \
3401 configure-automake
3402 @[ -f ./automake/Makefile ] || exit 0; \
3403 r=`${PWD_COMMAND}`; export r; \
3404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3405 $(HOST_EXPORTS) \
3406 for flag in $(EXTRA_HOST_FLAGS) ; do \
3407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3408 done; \
3409 echo "Doing installcheck in automake" ; \
3410 (cd $(HOST_SUBDIR)/automake && \
3411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3413 "RANLIB=$${RANLIB}" \
3414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3415 installcheck) \
3416 || exit 1
3418 @endif automake
3420 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3421 maybe-mostlyclean-automake:
3422 @if automake
3423 maybe-mostlyclean-automake: mostlyclean-automake
3425 mostlyclean-automake:
3426 @[ -f ./automake/Makefile ] || exit 0; \
3427 r=`${PWD_COMMAND}`; export r; \
3428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3429 $(HOST_EXPORTS) \
3430 for flag in $(EXTRA_HOST_FLAGS) ; do \
3431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3432 done; \
3433 echo "Doing mostlyclean in automake" ; \
3434 (cd $(HOST_SUBDIR)/automake && \
3435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3437 "RANLIB=$${RANLIB}" \
3438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3439 mostlyclean) \
3440 || exit 1
3442 @endif automake
3444 .PHONY: maybe-clean-automake clean-automake
3445 maybe-clean-automake:
3446 @if automake
3447 maybe-clean-automake: clean-automake
3449 clean-automake:
3450 @[ -f ./automake/Makefile ] || exit 0; \
3451 r=`${PWD_COMMAND}`; export r; \
3452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3453 $(HOST_EXPORTS) \
3454 for flag in $(EXTRA_HOST_FLAGS) ; do \
3455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3456 done; \
3457 echo "Doing clean in automake" ; \
3458 (cd $(HOST_SUBDIR)/automake && \
3459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3461 "RANLIB=$${RANLIB}" \
3462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3463 clean) \
3464 || exit 1
3466 @endif automake
3468 .PHONY: maybe-distclean-automake distclean-automake
3469 maybe-distclean-automake:
3470 @if automake
3471 maybe-distclean-automake: distclean-automake
3473 distclean-automake:
3474 @[ -f ./automake/Makefile ] || exit 0; \
3475 r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 for flag in $(EXTRA_HOST_FLAGS) ; do \
3479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3480 done; \
3481 echo "Doing distclean in automake" ; \
3482 (cd $(HOST_SUBDIR)/automake && \
3483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3485 "RANLIB=$${RANLIB}" \
3486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3487 distclean) \
3488 || exit 1
3490 @endif automake
3492 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3493 maybe-maintainer-clean-automake:
3494 @if automake
3495 maybe-maintainer-clean-automake: maintainer-clean-automake
3497 maintainer-clean-automake:
3498 @[ -f ./automake/Makefile ] || exit 0; \
3499 r=`${PWD_COMMAND}`; export r; \
3500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 maintainer-clean in automake" ; \
3506 (cd $(HOST_SUBDIR)/automake && \
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 maintainer-clean) \
3512 || exit 1
3514 @endif automake
3518 .PHONY: configure-bash maybe-configure-bash
3519 maybe-configure-bash:
3520 @if bash
3521 maybe-configure-bash: configure-bash
3522 configure-bash:
3523 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3524 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3525 r=`${PWD_COMMAND}`; export r; \
3526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3527 $(HOST_EXPORTS) \
3528 echo Configuring in $(HOST_SUBDIR)/bash; \
3529 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3530 case $(srcdir) in \
3531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3532 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3534 esac; \
3535 srcdiroption="--srcdir=$${topdir}/bash"; \
3536 libsrcdir="$$s/bash"; \
3537 $(SHELL) $${libsrcdir}/configure \
3538 $(HOST_CONFIGARGS) $${srcdiroption} \
3539 || exit 1
3540 @endif bash
3546 .PHONY: all-bash maybe-all-bash
3547 maybe-all-bash:
3548 @if bash
3549 TARGET-bash=all
3550 maybe-all-bash: all-bash
3551 all-bash: configure-bash
3552 @r=`${PWD_COMMAND}`; export r; \
3553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3554 $(HOST_EXPORTS) \
3555 (cd $(HOST_SUBDIR)/bash && \
3556 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3557 @endif bash
3562 .PHONY: check-bash maybe-check-bash
3563 maybe-check-bash:
3564 @if bash
3565 maybe-check-bash: check-bash
3567 check-bash:
3568 @r=`${PWD_COMMAND}`; export r; \
3569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3570 $(HOST_EXPORTS) \
3571 (cd $(HOST_SUBDIR)/bash && \
3572 $(MAKE) $(FLAGS_TO_PASS) check)
3574 @endif bash
3576 .PHONY: install-bash maybe-install-bash
3577 maybe-install-bash:
3578 @if bash
3579 maybe-install-bash: install-bash
3581 install-bash: installdirs
3582 @r=`${PWD_COMMAND}`; export r; \
3583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3584 $(HOST_EXPORTS) \
3585 (cd $(HOST_SUBDIR)/bash && \
3586 $(MAKE) $(FLAGS_TO_PASS) install)
3588 @endif bash
3590 # Other targets (info, dvi, etc.)
3592 .PHONY: maybe-info-bash info-bash
3593 maybe-info-bash:
3594 @if bash
3595 maybe-info-bash: info-bash
3597 info-bash: \
3598 configure-bash
3599 @[ -f ./bash/Makefile ] || exit 0; \
3600 r=`${PWD_COMMAND}`; export r; \
3601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3602 $(HOST_EXPORTS) \
3603 for flag in $(EXTRA_HOST_FLAGS) ; do \
3604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3605 done; \
3606 echo "Doing info in bash" ; \
3607 (cd $(HOST_SUBDIR)/bash && \
3608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3610 "RANLIB=$${RANLIB}" \
3611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3612 info) \
3613 || exit 1
3615 @endif bash
3617 .PHONY: maybe-dvi-bash dvi-bash
3618 maybe-dvi-bash:
3619 @if bash
3620 maybe-dvi-bash: dvi-bash
3622 dvi-bash: \
3623 configure-bash
3624 @[ -f ./bash/Makefile ] || exit 0; \
3625 r=`${PWD_COMMAND}`; export r; \
3626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3627 $(HOST_EXPORTS) \
3628 for flag in $(EXTRA_HOST_FLAGS) ; do \
3629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3630 done; \
3631 echo "Doing dvi in bash" ; \
3632 (cd $(HOST_SUBDIR)/bash && \
3633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3635 "RANLIB=$${RANLIB}" \
3636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3637 dvi) \
3638 || exit 1
3640 @endif bash
3642 .PHONY: maybe-html-bash html-bash
3643 maybe-html-bash:
3644 @if bash
3645 maybe-html-bash: html-bash
3647 html-bash: \
3648 configure-bash
3649 @[ -f ./bash/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing html in bash" ; \
3657 (cd $(HOST_SUBDIR)/bash && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662 html) \
3663 || exit 1
3665 @endif bash
3667 .PHONY: maybe-TAGS-bash TAGS-bash
3668 maybe-TAGS-bash:
3669 @if bash
3670 maybe-TAGS-bash: TAGS-bash
3672 TAGS-bash: \
3673 configure-bash
3674 @[ -f ./bash/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing TAGS in bash" ; \
3682 (cd $(HOST_SUBDIR)/bash && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 TAGS) \
3688 || exit 1
3690 @endif bash
3692 .PHONY: maybe-install-info-bash install-info-bash
3693 maybe-install-info-bash:
3694 @if bash
3695 maybe-install-info-bash: install-info-bash
3697 install-info-bash: \
3698 configure-bash \
3699 info-bash
3700 @[ -f ./bash/Makefile ] || exit 0; \
3701 r=`${PWD_COMMAND}`; export r; \
3702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3703 $(HOST_EXPORTS) \
3704 for flag in $(EXTRA_HOST_FLAGS) ; do \
3705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3706 done; \
3707 echo "Doing install-info in bash" ; \
3708 (cd $(HOST_SUBDIR)/bash && \
3709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3711 "RANLIB=$${RANLIB}" \
3712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3713 install-info) \
3714 || exit 1
3716 @endif bash
3718 .PHONY: maybe-installcheck-bash installcheck-bash
3719 maybe-installcheck-bash:
3720 @if bash
3721 maybe-installcheck-bash: installcheck-bash
3723 installcheck-bash: \
3724 configure-bash
3725 @[ -f ./bash/Makefile ] || exit 0; \
3726 r=`${PWD_COMMAND}`; export r; \
3727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3728 $(HOST_EXPORTS) \
3729 for flag in $(EXTRA_HOST_FLAGS) ; do \
3730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3731 done; \
3732 echo "Doing installcheck in bash" ; \
3733 (cd $(HOST_SUBDIR)/bash && \
3734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3736 "RANLIB=$${RANLIB}" \
3737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3738 installcheck) \
3739 || exit 1
3741 @endif bash
3743 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3744 maybe-mostlyclean-bash:
3745 @if bash
3746 maybe-mostlyclean-bash: mostlyclean-bash
3748 mostlyclean-bash:
3749 @[ -f ./bash/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing mostlyclean in bash" ; \
3757 (cd $(HOST_SUBDIR)/bash && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 mostlyclean) \
3763 || exit 1
3765 @endif bash
3767 .PHONY: maybe-clean-bash clean-bash
3768 maybe-clean-bash:
3769 @if bash
3770 maybe-clean-bash: clean-bash
3772 clean-bash:
3773 @[ -f ./bash/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing clean in bash" ; \
3781 (cd $(HOST_SUBDIR)/bash && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3786 clean) \
3787 || exit 1
3789 @endif bash
3791 .PHONY: maybe-distclean-bash distclean-bash
3792 maybe-distclean-bash:
3793 @if bash
3794 maybe-distclean-bash: distclean-bash
3796 distclean-bash:
3797 @[ -f ./bash/Makefile ] || exit 0; \
3798 r=`${PWD_COMMAND}`; export r; \
3799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3800 $(HOST_EXPORTS) \
3801 for flag in $(EXTRA_HOST_FLAGS) ; do \
3802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3803 done; \
3804 echo "Doing distclean in bash" ; \
3805 (cd $(HOST_SUBDIR)/bash && \
3806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3808 "RANLIB=$${RANLIB}" \
3809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3810 distclean) \
3811 || exit 1
3813 @endif bash
3815 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3816 maybe-maintainer-clean-bash:
3817 @if bash
3818 maybe-maintainer-clean-bash: maintainer-clean-bash
3820 maintainer-clean-bash:
3821 @[ -f ./bash/Makefile ] || exit 0; \
3822 r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3824 $(HOST_EXPORTS) \
3825 for flag in $(EXTRA_HOST_FLAGS) ; do \
3826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3827 done; \
3828 echo "Doing maintainer-clean in bash" ; \
3829 (cd $(HOST_SUBDIR)/bash && \
3830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3832 "RANLIB=$${RANLIB}" \
3833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3834 maintainer-clean) \
3835 || exit 1
3837 @endif bash
3841 .PHONY: configure-bfd maybe-configure-bfd
3842 maybe-configure-bfd:
3843 @if bfd
3844 maybe-configure-bfd: configure-bfd
3845 configure-bfd:
3846 @test -f stage_last && exit 0; \
3847 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3848 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3849 r=`${PWD_COMMAND}`; export r; \
3850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3851 $(HOST_EXPORTS) \
3852 echo Configuring in $(HOST_SUBDIR)/bfd; \
3853 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3854 case $(srcdir) in \
3855 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3856 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3857 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3858 esac; \
3859 srcdiroption="--srcdir=$${topdir}/bfd"; \
3860 libsrcdir="$$s/bfd"; \
3861 $(SHELL) $${libsrcdir}/configure \
3862 $(HOST_CONFIGARGS) $${srcdiroption} \
3863 || exit 1
3864 @endif bfd
3868 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3869 maybe-configure-stage1-bfd:
3870 @if bfd-bootstrap
3871 maybe-configure-stage1-bfd: configure-stage1-bfd
3872 configure-stage1-bfd:
3873 @$(MAKE) stage1-start
3874 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3875 r=`${PWD_COMMAND}`; export r; \
3876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3877 $(HOST_EXPORTS) \
3878 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3879 cd $(HOST_SUBDIR)/bfd || exit 1; \
3880 case $(srcdir) in \
3881 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3882 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3883 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3884 esac; \
3885 srcdiroption="--srcdir=$${topdir}/bfd"; \
3886 libsrcdir="$$s/bfd"; \
3887 $(SHELL) $${libsrcdir}/configure \
3888 $(HOST_CONFIGARGS) $${srcdiroption} \
3889 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3890 @endif bfd-bootstrap
3892 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3893 maybe-configure-stage2-bfd:
3894 @if bfd-bootstrap
3895 maybe-configure-stage2-bfd: configure-stage2-bfd
3896 configure-stage2-bfd:
3897 @$(MAKE) stage2-start
3898 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3899 r=`${PWD_COMMAND}`; export r; \
3900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3901 $(HOST_EXPORTS) \
3902 $(POSTSTAGE1_HOST_EXPORTS) \
3903 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3904 cd $(HOST_SUBDIR)/bfd || exit 1; \
3905 case $(srcdir) in \
3906 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3907 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3908 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3909 esac; \
3910 srcdiroption="--srcdir=$${topdir}/bfd"; \
3911 libsrcdir="$$s/bfd"; \
3912 $(SHELL) $${libsrcdir}/configure \
3913 $(HOST_CONFIGARGS) $${srcdiroption} \
3914 @stage2_werror_flag@
3915 @endif bfd-bootstrap
3917 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3918 maybe-configure-stage3-bfd:
3919 @if bfd-bootstrap
3920 maybe-configure-stage3-bfd: configure-stage3-bfd
3921 configure-stage3-bfd:
3922 @$(MAKE) stage3-start
3923 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3924 r=`${PWD_COMMAND}`; export r; \
3925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3926 $(HOST_EXPORTS) \
3927 $(POSTSTAGE1_HOST_EXPORTS) \
3928 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3929 cd $(HOST_SUBDIR)/bfd || exit 1; \
3930 case $(srcdir) in \
3931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3932 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3934 esac; \
3935 srcdiroption="--srcdir=$${topdir}/bfd"; \
3936 libsrcdir="$$s/bfd"; \
3937 $(SHELL) $${libsrcdir}/configure \
3938 $(HOST_CONFIGARGS) $${srcdiroption} \
3939 @stage2_werror_flag@
3940 @endif bfd-bootstrap
3942 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3943 maybe-configure-stage4-bfd:
3944 @if bfd-bootstrap
3945 maybe-configure-stage4-bfd: configure-stage4-bfd
3946 configure-stage4-bfd:
3947 @$(MAKE) stage4-start
3948 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3949 r=`${PWD_COMMAND}`; export r; \
3950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3951 $(HOST_EXPORTS) \
3952 $(POSTSTAGE1_HOST_EXPORTS) \
3953 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3954 cd $(HOST_SUBDIR)/bfd || exit 1; \
3955 case $(srcdir) in \
3956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3957 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3959 esac; \
3960 srcdiroption="--srcdir=$${topdir}/bfd"; \
3961 libsrcdir="$$s/bfd"; \
3962 $(SHELL) $${libsrcdir}/configure \
3963 $(HOST_CONFIGARGS) $${srcdiroption} \
3964 @stage2_werror_flag@
3965 @endif bfd-bootstrap
3967 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3968 maybe-configure-stageprofile-bfd:
3969 @if bfd-bootstrap
3970 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3971 configure-stageprofile-bfd:
3972 @$(MAKE) stageprofile-start
3973 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3974 r=`${PWD_COMMAND}`; export r; \
3975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3976 $(HOST_EXPORTS) \
3977 $(POSTSTAGE1_HOST_EXPORTS) \
3978 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3979 cd $(HOST_SUBDIR)/bfd || exit 1; \
3980 case $(srcdir) in \
3981 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3982 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3983 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3984 esac; \
3985 srcdiroption="--srcdir=$${topdir}/bfd"; \
3986 libsrcdir="$$s/bfd"; \
3987 $(SHELL) $${libsrcdir}/configure \
3988 $(HOST_CONFIGARGS) $${srcdiroption} \
3989 @stage2_werror_flag@
3990 @endif bfd-bootstrap
3992 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3993 maybe-configure-stagefeedback-bfd:
3994 @if bfd-bootstrap
3995 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3996 configure-stagefeedback-bfd:
3997 @$(MAKE) stagefeedback-start
3998 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3999 r=`${PWD_COMMAND}`; export r; \
4000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4001 $(HOST_EXPORTS) \
4002 $(POSTSTAGE1_HOST_EXPORTS) \
4003 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4004 cd $(HOST_SUBDIR)/bfd || exit 1; \
4005 case $(srcdir) in \
4006 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4007 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4008 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4009 esac; \
4010 srcdiroption="--srcdir=$${topdir}/bfd"; \
4011 libsrcdir="$$s/bfd"; \
4012 $(SHELL) $${libsrcdir}/configure \
4013 $(HOST_CONFIGARGS) $${srcdiroption} \
4014 @stage2_werror_flag@
4015 @endif bfd-bootstrap
4021 .PHONY: all-bfd maybe-all-bfd
4022 maybe-all-bfd:
4023 @if bfd
4024 TARGET-bfd=all
4025 maybe-all-bfd: all-bfd
4026 all-bfd: configure-bfd
4027 @test -f stage_last && exit 0; \
4028 r=`${PWD_COMMAND}`; export r; \
4029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4030 $(HOST_EXPORTS) \
4031 (cd $(HOST_SUBDIR)/bfd && \
4032 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4033 @endif bfd
4037 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4038 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4039 maybe-all-stage1-bfd:
4040 maybe-clean-stage1-bfd:
4041 @if bfd-bootstrap
4042 maybe-all-stage1-bfd: all-stage1-bfd
4043 all-stage1: all-stage1-bfd
4044 all-stage1-bfd: configure-stage1-bfd
4045 @$(MAKE) stage1-start
4046 @r=`${PWD_COMMAND}`; export r; \
4047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4048 $(HOST_EXPORTS) \
4049 cd $(HOST_SUBDIR)/bfd && \
4050 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4052 maybe-clean-stage1-bfd: clean-stage1-bfd
4053 clean-stage1: clean-stage1-bfd
4054 clean-stage1-bfd:
4055 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4056 || exit 0 ; \
4057 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \
4058 cd $(HOST_SUBDIR)/bfd && \
4059 $(MAKE) $(FLAGS_TO_PASS) \
4060 CFLAGS="$(STAGE1_CFLAGS)" clean
4061 @endif bfd-bootstrap
4064 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4065 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4066 maybe-all-stage2-bfd:
4067 maybe-clean-stage2-bfd:
4068 @if bfd-bootstrap
4069 maybe-all-stage2-bfd: all-stage2-bfd
4070 all-stage2: all-stage2-bfd
4071 all-stage2-bfd: configure-stage2-bfd
4072 @$(MAKE) stage2-start
4073 @r=`${PWD_COMMAND}`; export r; \
4074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4075 $(HOST_EXPORTS) \
4076 $(POSTSTAGE1_HOST_EXPORTS) \
4077 cd $(HOST_SUBDIR)/bfd && \
4078 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4080 maybe-clean-stage2-bfd: clean-stage2-bfd
4081 clean-stage2: clean-stage2-bfd
4082 clean-stage2-bfd:
4083 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4084 || exit 0 ; \
4085 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \
4086 cd $(HOST_SUBDIR)/bfd && \
4087 $(MAKE) $(FLAGS_TO_PASS) \
4088 $(POSTSTAGE1_FLAGS_TO_PASS) \
4089 clean
4090 @endif bfd-bootstrap
4093 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4094 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4095 maybe-all-stage3-bfd:
4096 maybe-clean-stage3-bfd:
4097 @if bfd-bootstrap
4098 maybe-all-stage3-bfd: all-stage3-bfd
4099 all-stage3: all-stage3-bfd
4100 all-stage3-bfd: configure-stage3-bfd
4101 @$(MAKE) stage3-start
4102 @r=`${PWD_COMMAND}`; export r; \
4103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4104 $(HOST_EXPORTS) \
4105 $(POSTSTAGE1_HOST_EXPORTS) \
4106 cd $(HOST_SUBDIR)/bfd && \
4107 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4109 maybe-clean-stage3-bfd: clean-stage3-bfd
4110 clean-stage3: clean-stage3-bfd
4111 clean-stage3-bfd:
4112 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4113 || exit 0 ; \
4114 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \
4115 cd $(HOST_SUBDIR)/bfd && \
4116 $(MAKE) $(FLAGS_TO_PASS) \
4117 $(POSTSTAGE1_FLAGS_TO_PASS) \
4118 clean
4119 @endif bfd-bootstrap
4122 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4123 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4124 maybe-all-stage4-bfd:
4125 maybe-clean-stage4-bfd:
4126 @if bfd-bootstrap
4127 maybe-all-stage4-bfd: all-stage4-bfd
4128 all-stage4: all-stage4-bfd
4129 all-stage4-bfd: configure-stage4-bfd
4130 @$(MAKE) stage4-start
4131 @r=`${PWD_COMMAND}`; export r; \
4132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4133 $(HOST_EXPORTS) \
4134 $(POSTSTAGE1_HOST_EXPORTS) \
4135 cd $(HOST_SUBDIR)/bfd && \
4136 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4138 maybe-clean-stage4-bfd: clean-stage4-bfd
4139 clean-stage4: clean-stage4-bfd
4140 clean-stage4-bfd:
4141 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4142 || exit 0 ; \
4143 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \
4144 cd $(HOST_SUBDIR)/bfd && \
4145 $(MAKE) $(FLAGS_TO_PASS) \
4146 $(POSTSTAGE1_FLAGS_TO_PASS) \
4147 clean
4148 @endif bfd-bootstrap
4151 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4152 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4153 maybe-all-stageprofile-bfd:
4154 maybe-clean-stageprofile-bfd:
4155 @if bfd-bootstrap
4156 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4157 all-stageprofile: all-stageprofile-bfd
4158 all-stageprofile-bfd: configure-stageprofile-bfd
4159 @$(MAKE) stageprofile-start
4160 @r=`${PWD_COMMAND}`; export r; \
4161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4162 $(HOST_EXPORTS) \
4163 $(POSTSTAGE1_HOST_EXPORTS) \
4164 cd $(HOST_SUBDIR)/bfd && \
4165 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4167 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4168 clean-stageprofile: clean-stageprofile-bfd
4169 clean-stageprofile-bfd:
4170 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4171 || exit 0 ; \
4172 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \
4173 cd $(HOST_SUBDIR)/bfd && \
4174 $(MAKE) $(FLAGS_TO_PASS) \
4175 $(POSTSTAGE1_FLAGS_TO_PASS) \
4176 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4177 @endif bfd-bootstrap
4180 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4181 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4182 maybe-all-stagefeedback-bfd:
4183 maybe-clean-stagefeedback-bfd:
4184 @if bfd-bootstrap
4185 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4186 all-stagefeedback: all-stagefeedback-bfd
4187 all-stagefeedback-bfd: configure-stagefeedback-bfd
4188 @$(MAKE) stagefeedback-start
4189 @r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(HOST_EXPORTS) \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 cd $(HOST_SUBDIR)/bfd && \
4194 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4196 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4197 clean-stagefeedback: clean-stagefeedback-bfd
4198 clean-stagefeedback-bfd:
4199 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4200 || exit 0 ; \
4201 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
4202 cd $(HOST_SUBDIR)/bfd && \
4203 $(MAKE) $(FLAGS_TO_PASS) \
4204 $(POSTSTAGE1_FLAGS_TO_PASS) \
4205 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4206 @endif bfd-bootstrap
4212 .PHONY: check-bfd maybe-check-bfd
4213 maybe-check-bfd:
4214 @if bfd
4215 maybe-check-bfd: check-bfd
4217 check-bfd:
4218 @r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 $(HOST_EXPORTS) \
4221 (cd $(HOST_SUBDIR)/bfd && \
4222 $(MAKE) $(FLAGS_TO_PASS) check)
4224 @endif bfd
4226 .PHONY: install-bfd maybe-install-bfd
4227 maybe-install-bfd:
4228 @if bfd
4229 maybe-install-bfd: install-bfd
4231 install-bfd: installdirs
4232 @r=`${PWD_COMMAND}`; export r; \
4233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4234 $(HOST_EXPORTS) \
4235 (cd $(HOST_SUBDIR)/bfd && \
4236 $(MAKE) $(FLAGS_TO_PASS) install)
4238 @endif bfd
4240 # Other targets (info, dvi, etc.)
4242 .PHONY: maybe-info-bfd info-bfd
4243 maybe-info-bfd:
4244 @if bfd
4245 maybe-info-bfd: info-bfd
4247 info-bfd: \
4248 configure-bfd
4249 @[ -f ./bfd/Makefile ] || exit 0; \
4250 r=`${PWD_COMMAND}`; export r; \
4251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4252 $(HOST_EXPORTS) \
4253 for flag in $(EXTRA_HOST_FLAGS) ; do \
4254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4255 done; \
4256 echo "Doing info in bfd" ; \
4257 (cd $(HOST_SUBDIR)/bfd && \
4258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4260 "RANLIB=$${RANLIB}" \
4261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4262 info) \
4263 || exit 1
4265 @endif bfd
4267 .PHONY: maybe-dvi-bfd dvi-bfd
4268 maybe-dvi-bfd:
4269 @if bfd
4270 maybe-dvi-bfd: dvi-bfd
4272 dvi-bfd: \
4273 configure-bfd
4274 @[ -f ./bfd/Makefile ] || exit 0; \
4275 r=`${PWD_COMMAND}`; export r; \
4276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4277 $(HOST_EXPORTS) \
4278 for flag in $(EXTRA_HOST_FLAGS) ; do \
4279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4280 done; \
4281 echo "Doing dvi in bfd" ; \
4282 (cd $(HOST_SUBDIR)/bfd && \
4283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4285 "RANLIB=$${RANLIB}" \
4286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4287 dvi) \
4288 || exit 1
4290 @endif bfd
4292 .PHONY: maybe-html-bfd html-bfd
4293 maybe-html-bfd:
4294 @if bfd
4295 maybe-html-bfd: html-bfd
4297 html-bfd: \
4298 configure-bfd
4299 @[ -f ./bfd/Makefile ] || exit 0; \
4300 r=`${PWD_COMMAND}`; export r; \
4301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4302 $(HOST_EXPORTS) \
4303 for flag in $(EXTRA_HOST_FLAGS) ; do \
4304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4305 done; \
4306 echo "Doing html in bfd" ; \
4307 (cd $(HOST_SUBDIR)/bfd && \
4308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4310 "RANLIB=$${RANLIB}" \
4311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4312 html) \
4313 || exit 1
4315 @endif bfd
4317 .PHONY: maybe-TAGS-bfd TAGS-bfd
4318 maybe-TAGS-bfd:
4319 @if bfd
4320 maybe-TAGS-bfd: TAGS-bfd
4322 TAGS-bfd: \
4323 configure-bfd
4324 @[ -f ./bfd/Makefile ] || exit 0; \
4325 r=`${PWD_COMMAND}`; export r; \
4326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4327 $(HOST_EXPORTS) \
4328 for flag in $(EXTRA_HOST_FLAGS) ; do \
4329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4330 done; \
4331 echo "Doing TAGS in bfd" ; \
4332 (cd $(HOST_SUBDIR)/bfd && \
4333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4335 "RANLIB=$${RANLIB}" \
4336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4337 TAGS) \
4338 || exit 1
4340 @endif bfd
4342 .PHONY: maybe-install-info-bfd install-info-bfd
4343 maybe-install-info-bfd:
4344 @if bfd
4345 maybe-install-info-bfd: install-info-bfd
4347 install-info-bfd: \
4348 configure-bfd \
4349 info-bfd
4350 @[ -f ./bfd/Makefile ] || exit 0; \
4351 r=`${PWD_COMMAND}`; export r; \
4352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4353 $(HOST_EXPORTS) \
4354 for flag in $(EXTRA_HOST_FLAGS) ; do \
4355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4356 done; \
4357 echo "Doing install-info in bfd" ; \
4358 (cd $(HOST_SUBDIR)/bfd && \
4359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4361 "RANLIB=$${RANLIB}" \
4362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4363 install-info) \
4364 || exit 1
4366 @endif bfd
4368 .PHONY: maybe-installcheck-bfd installcheck-bfd
4369 maybe-installcheck-bfd:
4370 @if bfd
4371 maybe-installcheck-bfd: installcheck-bfd
4373 installcheck-bfd: \
4374 configure-bfd
4375 @[ -f ./bfd/Makefile ] || exit 0; \
4376 r=`${PWD_COMMAND}`; export r; \
4377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 $(HOST_EXPORTS) \
4379 for flag in $(EXTRA_HOST_FLAGS) ; do \
4380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4381 done; \
4382 echo "Doing installcheck in bfd" ; \
4383 (cd $(HOST_SUBDIR)/bfd && \
4384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4386 "RANLIB=$${RANLIB}" \
4387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4388 installcheck) \
4389 || exit 1
4391 @endif bfd
4393 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4394 maybe-mostlyclean-bfd:
4395 @if bfd
4396 maybe-mostlyclean-bfd: mostlyclean-bfd
4398 mostlyclean-bfd:
4399 @[ -f ./bfd/Makefile ] || exit 0; \
4400 r=`${PWD_COMMAND}`; export r; \
4401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4402 $(HOST_EXPORTS) \
4403 for flag in $(EXTRA_HOST_FLAGS) ; do \
4404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4405 done; \
4406 echo "Doing mostlyclean in bfd" ; \
4407 (cd $(HOST_SUBDIR)/bfd && \
4408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4410 "RANLIB=$${RANLIB}" \
4411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4412 mostlyclean) \
4413 || exit 1
4415 @endif bfd
4417 .PHONY: maybe-clean-bfd clean-bfd
4418 maybe-clean-bfd:
4419 @if bfd
4420 maybe-clean-bfd: clean-bfd
4422 clean-bfd:
4423 @[ -f ./bfd/Makefile ] || exit 0; \
4424 r=`${PWD_COMMAND}`; export r; \
4425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4426 $(HOST_EXPORTS) \
4427 for flag in $(EXTRA_HOST_FLAGS) ; do \
4428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4429 done; \
4430 echo "Doing clean in bfd" ; \
4431 (cd $(HOST_SUBDIR)/bfd && \
4432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4434 "RANLIB=$${RANLIB}" \
4435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4436 clean) \
4437 || exit 1
4439 @endif bfd
4441 .PHONY: maybe-distclean-bfd distclean-bfd
4442 maybe-distclean-bfd:
4443 @if bfd
4444 maybe-distclean-bfd: distclean-bfd
4446 distclean-bfd:
4447 @[ -f ./bfd/Makefile ] || exit 0; \
4448 r=`${PWD_COMMAND}`; export r; \
4449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4450 $(HOST_EXPORTS) \
4451 for flag in $(EXTRA_HOST_FLAGS) ; do \
4452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4453 done; \
4454 echo "Doing distclean in bfd" ; \
4455 (cd $(HOST_SUBDIR)/bfd && \
4456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4458 "RANLIB=$${RANLIB}" \
4459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4460 distclean) \
4461 || exit 1
4463 @endif bfd
4465 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4466 maybe-maintainer-clean-bfd:
4467 @if bfd
4468 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4470 maintainer-clean-bfd:
4471 @[ -f ./bfd/Makefile ] || exit 0; \
4472 r=`${PWD_COMMAND}`; export r; \
4473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4474 $(HOST_EXPORTS) \
4475 for flag in $(EXTRA_HOST_FLAGS) ; do \
4476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4477 done; \
4478 echo "Doing maintainer-clean in bfd" ; \
4479 (cd $(HOST_SUBDIR)/bfd && \
4480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4482 "RANLIB=$${RANLIB}" \
4483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4484 maintainer-clean) \
4485 || exit 1
4487 @endif bfd
4491 .PHONY: configure-opcodes maybe-configure-opcodes
4492 maybe-configure-opcodes:
4493 @if opcodes
4494 maybe-configure-opcodes: configure-opcodes
4495 configure-opcodes:
4496 @test -f stage_last && exit 0; \
4497 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4498 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4499 r=`${PWD_COMMAND}`; export r; \
4500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4501 $(HOST_EXPORTS) \
4502 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4503 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4504 case $(srcdir) in \
4505 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4506 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4507 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4508 esac; \
4509 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4510 libsrcdir="$$s/opcodes"; \
4511 $(SHELL) $${libsrcdir}/configure \
4512 $(HOST_CONFIGARGS) $${srcdiroption} \
4513 || exit 1
4514 @endif opcodes
4518 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4519 maybe-configure-stage1-opcodes:
4520 @if opcodes-bootstrap
4521 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4522 configure-stage1-opcodes:
4523 @$(MAKE) stage1-start
4524 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4525 r=`${PWD_COMMAND}`; export r; \
4526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4527 $(HOST_EXPORTS) \
4528 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4529 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4530 case $(srcdir) in \
4531 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4532 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4533 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4534 esac; \
4535 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4536 libsrcdir="$$s/opcodes"; \
4537 $(SHELL) $${libsrcdir}/configure \
4538 $(HOST_CONFIGARGS) $${srcdiroption} \
4539 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4540 @endif opcodes-bootstrap
4542 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4543 maybe-configure-stage2-opcodes:
4544 @if opcodes-bootstrap
4545 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4546 configure-stage2-opcodes:
4547 @$(MAKE) stage2-start
4548 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4549 r=`${PWD_COMMAND}`; export r; \
4550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4551 $(HOST_EXPORTS) \
4552 $(POSTSTAGE1_HOST_EXPORTS) \
4553 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4554 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4555 case $(srcdir) in \
4556 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4557 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4558 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4559 esac; \
4560 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4561 libsrcdir="$$s/opcodes"; \
4562 $(SHELL) $${libsrcdir}/configure \
4563 $(HOST_CONFIGARGS) $${srcdiroption} \
4564 @stage2_werror_flag@
4565 @endif opcodes-bootstrap
4567 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4568 maybe-configure-stage3-opcodes:
4569 @if opcodes-bootstrap
4570 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4571 configure-stage3-opcodes:
4572 @$(MAKE) stage3-start
4573 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4574 r=`${PWD_COMMAND}`; export r; \
4575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4576 $(HOST_EXPORTS) \
4577 $(POSTSTAGE1_HOST_EXPORTS) \
4578 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4579 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4580 case $(srcdir) in \
4581 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4582 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4583 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4584 esac; \
4585 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4586 libsrcdir="$$s/opcodes"; \
4587 $(SHELL) $${libsrcdir}/configure \
4588 $(HOST_CONFIGARGS) $${srcdiroption} \
4589 @stage2_werror_flag@
4590 @endif opcodes-bootstrap
4592 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4593 maybe-configure-stage4-opcodes:
4594 @if opcodes-bootstrap
4595 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4596 configure-stage4-opcodes:
4597 @$(MAKE) stage4-start
4598 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4599 r=`${PWD_COMMAND}`; export r; \
4600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4601 $(HOST_EXPORTS) \
4602 $(POSTSTAGE1_HOST_EXPORTS) \
4603 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4604 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4605 case $(srcdir) in \
4606 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4607 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4608 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4609 esac; \
4610 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4611 libsrcdir="$$s/opcodes"; \
4612 $(SHELL) $${libsrcdir}/configure \
4613 $(HOST_CONFIGARGS) $${srcdiroption} \
4614 @stage2_werror_flag@
4615 @endif opcodes-bootstrap
4617 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4618 maybe-configure-stageprofile-opcodes:
4619 @if opcodes-bootstrap
4620 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4621 configure-stageprofile-opcodes:
4622 @$(MAKE) stageprofile-start
4623 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4624 r=`${PWD_COMMAND}`; export r; \
4625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4626 $(HOST_EXPORTS) \
4627 $(POSTSTAGE1_HOST_EXPORTS) \
4628 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4629 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4630 case $(srcdir) in \
4631 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4632 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4633 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4634 esac; \
4635 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4636 libsrcdir="$$s/opcodes"; \
4637 $(SHELL) $${libsrcdir}/configure \
4638 $(HOST_CONFIGARGS) $${srcdiroption} \
4639 @stage2_werror_flag@
4640 @endif opcodes-bootstrap
4642 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4643 maybe-configure-stagefeedback-opcodes:
4644 @if opcodes-bootstrap
4645 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4646 configure-stagefeedback-opcodes:
4647 @$(MAKE) stagefeedback-start
4648 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4649 r=`${PWD_COMMAND}`; export r; \
4650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4651 $(HOST_EXPORTS) \
4652 $(POSTSTAGE1_HOST_EXPORTS) \
4653 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4654 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4655 case $(srcdir) in \
4656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4657 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4659 esac; \
4660 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4661 libsrcdir="$$s/opcodes"; \
4662 $(SHELL) $${libsrcdir}/configure \
4663 $(HOST_CONFIGARGS) $${srcdiroption} \
4664 @stage2_werror_flag@
4665 @endif opcodes-bootstrap
4671 .PHONY: all-opcodes maybe-all-opcodes
4672 maybe-all-opcodes:
4673 @if opcodes
4674 TARGET-opcodes=all
4675 maybe-all-opcodes: all-opcodes
4676 all-opcodes: configure-opcodes
4677 @test -f stage_last && exit 0; \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680 $(HOST_EXPORTS) \
4681 (cd $(HOST_SUBDIR)/opcodes && \
4682 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4683 @endif opcodes
4687 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4688 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4689 maybe-all-stage1-opcodes:
4690 maybe-clean-stage1-opcodes:
4691 @if opcodes-bootstrap
4692 maybe-all-stage1-opcodes: all-stage1-opcodes
4693 all-stage1: all-stage1-opcodes
4694 all-stage1-opcodes: configure-stage1-opcodes
4695 @$(MAKE) stage1-start
4696 @r=`${PWD_COMMAND}`; export r; \
4697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4698 $(HOST_EXPORTS) \
4699 cd $(HOST_SUBDIR)/opcodes && \
4700 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4702 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4703 clean-stage1: clean-stage1-opcodes
4704 clean-stage1-opcodes:
4705 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4706 || exit 0 ; \
4707 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \
4708 cd $(HOST_SUBDIR)/opcodes && \
4709 $(MAKE) $(FLAGS_TO_PASS) \
4710 CFLAGS="$(STAGE1_CFLAGS)" clean
4711 @endif opcodes-bootstrap
4714 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4715 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4716 maybe-all-stage2-opcodes:
4717 maybe-clean-stage2-opcodes:
4718 @if opcodes-bootstrap
4719 maybe-all-stage2-opcodes: all-stage2-opcodes
4720 all-stage2: all-stage2-opcodes
4721 all-stage2-opcodes: configure-stage2-opcodes
4722 @$(MAKE) stage2-start
4723 @r=`${PWD_COMMAND}`; export r; \
4724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4725 $(HOST_EXPORTS) \
4726 $(POSTSTAGE1_HOST_EXPORTS) \
4727 cd $(HOST_SUBDIR)/opcodes && \
4728 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4730 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4731 clean-stage2: clean-stage2-opcodes
4732 clean-stage2-opcodes:
4733 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4734 || exit 0 ; \
4735 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \
4736 cd $(HOST_SUBDIR)/opcodes && \
4737 $(MAKE) $(FLAGS_TO_PASS) \
4738 $(POSTSTAGE1_FLAGS_TO_PASS) \
4739 clean
4740 @endif opcodes-bootstrap
4743 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4744 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4745 maybe-all-stage3-opcodes:
4746 maybe-clean-stage3-opcodes:
4747 @if opcodes-bootstrap
4748 maybe-all-stage3-opcodes: all-stage3-opcodes
4749 all-stage3: all-stage3-opcodes
4750 all-stage3-opcodes: configure-stage3-opcodes
4751 @$(MAKE) stage3-start
4752 @r=`${PWD_COMMAND}`; export r; \
4753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4754 $(HOST_EXPORTS) \
4755 $(POSTSTAGE1_HOST_EXPORTS) \
4756 cd $(HOST_SUBDIR)/opcodes && \
4757 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4759 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4760 clean-stage3: clean-stage3-opcodes
4761 clean-stage3-opcodes:
4762 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4763 || exit 0 ; \
4764 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \
4765 cd $(HOST_SUBDIR)/opcodes && \
4766 $(MAKE) $(FLAGS_TO_PASS) \
4767 $(POSTSTAGE1_FLAGS_TO_PASS) \
4768 clean
4769 @endif opcodes-bootstrap
4772 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4773 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4774 maybe-all-stage4-opcodes:
4775 maybe-clean-stage4-opcodes:
4776 @if opcodes-bootstrap
4777 maybe-all-stage4-opcodes: all-stage4-opcodes
4778 all-stage4: all-stage4-opcodes
4779 all-stage4-opcodes: configure-stage4-opcodes
4780 @$(MAKE) stage4-start
4781 @r=`${PWD_COMMAND}`; export r; \
4782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4783 $(HOST_EXPORTS) \
4784 $(POSTSTAGE1_HOST_EXPORTS) \
4785 cd $(HOST_SUBDIR)/opcodes && \
4786 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4788 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4789 clean-stage4: clean-stage4-opcodes
4790 clean-stage4-opcodes:
4791 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4792 || exit 0 ; \
4793 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \
4794 cd $(HOST_SUBDIR)/opcodes && \
4795 $(MAKE) $(FLAGS_TO_PASS) \
4796 $(POSTSTAGE1_FLAGS_TO_PASS) \
4797 clean
4798 @endif opcodes-bootstrap
4801 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4802 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4803 maybe-all-stageprofile-opcodes:
4804 maybe-clean-stageprofile-opcodes:
4805 @if opcodes-bootstrap
4806 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4807 all-stageprofile: all-stageprofile-opcodes
4808 all-stageprofile-opcodes: configure-stageprofile-opcodes
4809 @$(MAKE) stageprofile-start
4810 @r=`${PWD_COMMAND}`; export r; \
4811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4812 $(HOST_EXPORTS) \
4813 $(POSTSTAGE1_HOST_EXPORTS) \
4814 cd $(HOST_SUBDIR)/opcodes && \
4815 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4817 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4818 clean-stageprofile: clean-stageprofile-opcodes
4819 clean-stageprofile-opcodes:
4820 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4821 || exit 0 ; \
4822 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
4823 cd $(HOST_SUBDIR)/opcodes && \
4824 $(MAKE) $(FLAGS_TO_PASS) \
4825 $(POSTSTAGE1_FLAGS_TO_PASS) \
4826 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4827 @endif opcodes-bootstrap
4830 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4831 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4832 maybe-all-stagefeedback-opcodes:
4833 maybe-clean-stagefeedback-opcodes:
4834 @if opcodes-bootstrap
4835 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4836 all-stagefeedback: all-stagefeedback-opcodes
4837 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4838 @$(MAKE) stagefeedback-start
4839 @r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(HOST_EXPORTS) \
4842 $(POSTSTAGE1_HOST_EXPORTS) \
4843 cd $(HOST_SUBDIR)/opcodes && \
4844 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4846 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4847 clean-stagefeedback: clean-stagefeedback-opcodes
4848 clean-stagefeedback-opcodes:
4849 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4850 || exit 0 ; \
4851 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
4852 cd $(HOST_SUBDIR)/opcodes && \
4853 $(MAKE) $(FLAGS_TO_PASS) \
4854 $(POSTSTAGE1_FLAGS_TO_PASS) \
4855 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4856 @endif opcodes-bootstrap
4862 .PHONY: check-opcodes maybe-check-opcodes
4863 maybe-check-opcodes:
4864 @if opcodes
4865 maybe-check-opcodes: check-opcodes
4867 check-opcodes:
4868 @r=`${PWD_COMMAND}`; export r; \
4869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4870 $(HOST_EXPORTS) \
4871 (cd $(HOST_SUBDIR)/opcodes && \
4872 $(MAKE) $(FLAGS_TO_PASS) check)
4874 @endif opcodes
4876 .PHONY: install-opcodes maybe-install-opcodes
4877 maybe-install-opcodes:
4878 @if opcodes
4879 maybe-install-opcodes: install-opcodes
4881 install-opcodes: installdirs
4882 @r=`${PWD_COMMAND}`; export r; \
4883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4884 $(HOST_EXPORTS) \
4885 (cd $(HOST_SUBDIR)/opcodes && \
4886 $(MAKE) $(FLAGS_TO_PASS) install)
4888 @endif opcodes
4890 # Other targets (info, dvi, etc.)
4892 .PHONY: maybe-info-opcodes info-opcodes
4893 maybe-info-opcodes:
4894 @if opcodes
4895 maybe-info-opcodes: info-opcodes
4897 info-opcodes: \
4898 configure-opcodes
4899 @[ -f ./opcodes/Makefile ] || exit 0; \
4900 r=`${PWD_COMMAND}`; export r; \
4901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4902 $(HOST_EXPORTS) \
4903 for flag in $(EXTRA_HOST_FLAGS) ; do \
4904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4905 done; \
4906 echo "Doing info in opcodes" ; \
4907 (cd $(HOST_SUBDIR)/opcodes && \
4908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4910 "RANLIB=$${RANLIB}" \
4911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4912 info) \
4913 || exit 1
4915 @endif opcodes
4917 .PHONY: maybe-dvi-opcodes dvi-opcodes
4918 maybe-dvi-opcodes:
4919 @if opcodes
4920 maybe-dvi-opcodes: dvi-opcodes
4922 dvi-opcodes: \
4923 configure-opcodes
4924 @[ -f ./opcodes/Makefile ] || exit 0; \
4925 r=`${PWD_COMMAND}`; export r; \
4926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4927 $(HOST_EXPORTS) \
4928 for flag in $(EXTRA_HOST_FLAGS) ; do \
4929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4930 done; \
4931 echo "Doing dvi in opcodes" ; \
4932 (cd $(HOST_SUBDIR)/opcodes && \
4933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4935 "RANLIB=$${RANLIB}" \
4936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4937 dvi) \
4938 || exit 1
4940 @endif opcodes
4942 .PHONY: maybe-html-opcodes html-opcodes
4943 maybe-html-opcodes:
4944 @if opcodes
4945 maybe-html-opcodes: html-opcodes
4947 html-opcodes: \
4948 configure-opcodes
4949 @[ -f ./opcodes/Makefile ] || exit 0; \
4950 r=`${PWD_COMMAND}`; export r; \
4951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4952 $(HOST_EXPORTS) \
4953 for flag in $(EXTRA_HOST_FLAGS) ; do \
4954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4955 done; \
4956 echo "Doing html in opcodes" ; \
4957 (cd $(HOST_SUBDIR)/opcodes && \
4958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4960 "RANLIB=$${RANLIB}" \
4961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4962 html) \
4963 || exit 1
4965 @endif opcodes
4967 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4968 maybe-TAGS-opcodes:
4969 @if opcodes
4970 maybe-TAGS-opcodes: TAGS-opcodes
4972 TAGS-opcodes: \
4973 configure-opcodes
4974 @[ -f ./opcodes/Makefile ] || exit 0; \
4975 r=`${PWD_COMMAND}`; export r; \
4976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4977 $(HOST_EXPORTS) \
4978 for flag in $(EXTRA_HOST_FLAGS) ; do \
4979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4980 done; \
4981 echo "Doing TAGS in opcodes" ; \
4982 (cd $(HOST_SUBDIR)/opcodes && \
4983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4985 "RANLIB=$${RANLIB}" \
4986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4987 TAGS) \
4988 || exit 1
4990 @endif opcodes
4992 .PHONY: maybe-install-info-opcodes install-info-opcodes
4993 maybe-install-info-opcodes:
4994 @if opcodes
4995 maybe-install-info-opcodes: install-info-opcodes
4997 install-info-opcodes: \
4998 configure-opcodes \
4999 info-opcodes
5000 @[ -f ./opcodes/Makefile ] || exit 0; \
5001 r=`${PWD_COMMAND}`; export r; \
5002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5003 $(HOST_EXPORTS) \
5004 for flag in $(EXTRA_HOST_FLAGS) ; do \
5005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5006 done; \
5007 echo "Doing install-info in opcodes" ; \
5008 (cd $(HOST_SUBDIR)/opcodes && \
5009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5011 "RANLIB=$${RANLIB}" \
5012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5013 install-info) \
5014 || exit 1
5016 @endif opcodes
5018 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5019 maybe-installcheck-opcodes:
5020 @if opcodes
5021 maybe-installcheck-opcodes: installcheck-opcodes
5023 installcheck-opcodes: \
5024 configure-opcodes
5025 @[ -f ./opcodes/Makefile ] || exit 0; \
5026 r=`${PWD_COMMAND}`; export r; \
5027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5028 $(HOST_EXPORTS) \
5029 for flag in $(EXTRA_HOST_FLAGS) ; do \
5030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5031 done; \
5032 echo "Doing installcheck in opcodes" ; \
5033 (cd $(HOST_SUBDIR)/opcodes && \
5034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5036 "RANLIB=$${RANLIB}" \
5037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5038 installcheck) \
5039 || exit 1
5041 @endif opcodes
5043 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5044 maybe-mostlyclean-opcodes:
5045 @if opcodes
5046 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5048 mostlyclean-opcodes:
5049 @[ -f ./opcodes/Makefile ] || exit 0; \
5050 r=`${PWD_COMMAND}`; export r; \
5051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5052 $(HOST_EXPORTS) \
5053 for flag in $(EXTRA_HOST_FLAGS) ; do \
5054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5055 done; \
5056 echo "Doing mostlyclean in opcodes" ; \
5057 (cd $(HOST_SUBDIR)/opcodes && \
5058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5060 "RANLIB=$${RANLIB}" \
5061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5062 mostlyclean) \
5063 || exit 1
5065 @endif opcodes
5067 .PHONY: maybe-clean-opcodes clean-opcodes
5068 maybe-clean-opcodes:
5069 @if opcodes
5070 maybe-clean-opcodes: clean-opcodes
5072 clean-opcodes:
5073 @[ -f ./opcodes/Makefile ] || exit 0; \
5074 r=`${PWD_COMMAND}`; export r; \
5075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 clean in opcodes" ; \
5081 (cd $(HOST_SUBDIR)/opcodes && \
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 clean) \
5087 || exit 1
5089 @endif opcodes
5091 .PHONY: maybe-distclean-opcodes distclean-opcodes
5092 maybe-distclean-opcodes:
5093 @if opcodes
5094 maybe-distclean-opcodes: distclean-opcodes
5096 distclean-opcodes:
5097 @[ -f ./opcodes/Makefile ] || exit 0; \
5098 r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 $(HOST_EXPORTS) \
5101 for flag in $(EXTRA_HOST_FLAGS) ; do \
5102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5103 done; \
5104 echo "Doing distclean in opcodes" ; \
5105 (cd $(HOST_SUBDIR)/opcodes && \
5106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5108 "RANLIB=$${RANLIB}" \
5109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5110 distclean) \
5111 || exit 1
5113 @endif opcodes
5115 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5116 maybe-maintainer-clean-opcodes:
5117 @if opcodes
5118 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5120 maintainer-clean-opcodes:
5121 @[ -f ./opcodes/Makefile ] || exit 0; \
5122 r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 $(HOST_EXPORTS) \
5125 for flag in $(EXTRA_HOST_FLAGS) ; do \
5126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5127 done; \
5128 echo "Doing maintainer-clean in opcodes" ; \
5129 (cd $(HOST_SUBDIR)/opcodes && \
5130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5132 "RANLIB=$${RANLIB}" \
5133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5134 maintainer-clean) \
5135 || exit 1
5137 @endif opcodes
5141 .PHONY: configure-binutils maybe-configure-binutils
5142 maybe-configure-binutils:
5143 @if binutils
5144 maybe-configure-binutils: configure-binutils
5145 configure-binutils:
5146 @test -f stage_last && exit 0; \
5147 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5149 r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(HOST_EXPORTS) \
5152 echo Configuring in $(HOST_SUBDIR)/binutils; \
5153 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5154 case $(srcdir) in \
5155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5156 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5158 esac; \
5159 srcdiroption="--srcdir=$${topdir}/binutils"; \
5160 libsrcdir="$$s/binutils"; \
5161 $(SHELL) $${libsrcdir}/configure \
5162 $(HOST_CONFIGARGS) $${srcdiroption} \
5163 || exit 1
5164 @endif binutils
5168 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5169 maybe-configure-stage1-binutils:
5170 @if binutils-bootstrap
5171 maybe-configure-stage1-binutils: configure-stage1-binutils
5172 configure-stage1-binutils:
5173 @$(MAKE) stage1-start
5174 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5175 r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 $(HOST_EXPORTS) \
5178 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5179 cd $(HOST_SUBDIR)/binutils || exit 1; \
5180 case $(srcdir) in \
5181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5182 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5184 esac; \
5185 srcdiroption="--srcdir=$${topdir}/binutils"; \
5186 libsrcdir="$$s/binutils"; \
5187 $(SHELL) $${libsrcdir}/configure \
5188 $(HOST_CONFIGARGS) $${srcdiroption} \
5189 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5190 @endif binutils-bootstrap
5192 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5193 maybe-configure-stage2-binutils:
5194 @if binutils-bootstrap
5195 maybe-configure-stage2-binutils: configure-stage2-binutils
5196 configure-stage2-binutils:
5197 @$(MAKE) stage2-start
5198 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5199 r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 $(POSTSTAGE1_HOST_EXPORTS) \
5203 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5204 cd $(HOST_SUBDIR)/binutils || exit 1; \
5205 case $(srcdir) in \
5206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5207 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5209 esac; \
5210 srcdiroption="--srcdir=$${topdir}/binutils"; \
5211 libsrcdir="$$s/binutils"; \
5212 $(SHELL) $${libsrcdir}/configure \
5213 $(HOST_CONFIGARGS) $${srcdiroption} \
5214 @stage2_werror_flag@
5215 @endif binutils-bootstrap
5217 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5218 maybe-configure-stage3-binutils:
5219 @if binutils-bootstrap
5220 maybe-configure-stage3-binutils: configure-stage3-binutils
5221 configure-stage3-binutils:
5222 @$(MAKE) stage3-start
5223 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5224 r=`${PWD_COMMAND}`; export r; \
5225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5226 $(HOST_EXPORTS) \
5227 $(POSTSTAGE1_HOST_EXPORTS) \
5228 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5229 cd $(HOST_SUBDIR)/binutils || exit 1; \
5230 case $(srcdir) in \
5231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5232 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5234 esac; \
5235 srcdiroption="--srcdir=$${topdir}/binutils"; \
5236 libsrcdir="$$s/binutils"; \
5237 $(SHELL) $${libsrcdir}/configure \
5238 $(HOST_CONFIGARGS) $${srcdiroption} \
5239 @stage2_werror_flag@
5240 @endif binutils-bootstrap
5242 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5243 maybe-configure-stage4-binutils:
5244 @if binutils-bootstrap
5245 maybe-configure-stage4-binutils: configure-stage4-binutils
5246 configure-stage4-binutils:
5247 @$(MAKE) stage4-start
5248 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5249 r=`${PWD_COMMAND}`; export r; \
5250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5251 $(HOST_EXPORTS) \
5252 $(POSTSTAGE1_HOST_EXPORTS) \
5253 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5254 cd $(HOST_SUBDIR)/binutils || exit 1; \
5255 case $(srcdir) in \
5256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5257 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5259 esac; \
5260 srcdiroption="--srcdir=$${topdir}/binutils"; \
5261 libsrcdir="$$s/binutils"; \
5262 $(SHELL) $${libsrcdir}/configure \
5263 $(HOST_CONFIGARGS) $${srcdiroption} \
5264 @stage2_werror_flag@
5265 @endif binutils-bootstrap
5267 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5268 maybe-configure-stageprofile-binutils:
5269 @if binutils-bootstrap
5270 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5271 configure-stageprofile-binutils:
5272 @$(MAKE) stageprofile-start
5273 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5274 r=`${PWD_COMMAND}`; export r; \
5275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5276 $(HOST_EXPORTS) \
5277 $(POSTSTAGE1_HOST_EXPORTS) \
5278 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5279 cd $(HOST_SUBDIR)/binutils || exit 1; \
5280 case $(srcdir) in \
5281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5282 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5284 esac; \
5285 srcdiroption="--srcdir=$${topdir}/binutils"; \
5286 libsrcdir="$$s/binutils"; \
5287 $(SHELL) $${libsrcdir}/configure \
5288 $(HOST_CONFIGARGS) $${srcdiroption} \
5289 @stage2_werror_flag@
5290 @endif binutils-bootstrap
5292 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5293 maybe-configure-stagefeedback-binutils:
5294 @if binutils-bootstrap
5295 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5296 configure-stagefeedback-binutils:
5297 @$(MAKE) stagefeedback-start
5298 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5299 r=`${PWD_COMMAND}`; export r; \
5300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5301 $(HOST_EXPORTS) \
5302 $(POSTSTAGE1_HOST_EXPORTS) \
5303 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5304 cd $(HOST_SUBDIR)/binutils || exit 1; \
5305 case $(srcdir) in \
5306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5307 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5309 esac; \
5310 srcdiroption="--srcdir=$${topdir}/binutils"; \
5311 libsrcdir="$$s/binutils"; \
5312 $(SHELL) $${libsrcdir}/configure \
5313 $(HOST_CONFIGARGS) $${srcdiroption} \
5314 @stage2_werror_flag@
5315 @endif binutils-bootstrap
5321 .PHONY: all-binutils maybe-all-binutils
5322 maybe-all-binutils:
5323 @if binutils
5324 TARGET-binutils=all
5325 maybe-all-binutils: all-binutils
5326 all-binutils: configure-binutils
5327 @test -f stage_last && exit 0; \
5328 r=`${PWD_COMMAND}`; export r; \
5329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5330 $(HOST_EXPORTS) \
5331 (cd $(HOST_SUBDIR)/binutils && \
5332 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5333 @endif binutils
5337 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5338 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5339 maybe-all-stage1-binutils:
5340 maybe-clean-stage1-binutils:
5341 @if binutils-bootstrap
5342 maybe-all-stage1-binutils: all-stage1-binutils
5343 all-stage1: all-stage1-binutils
5344 all-stage1-binutils: configure-stage1-binutils
5345 @$(MAKE) stage1-start
5346 @r=`${PWD_COMMAND}`; export r; \
5347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5348 $(HOST_EXPORTS) \
5349 cd $(HOST_SUBDIR)/binutils && \
5350 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
5352 maybe-clean-stage1-binutils: clean-stage1-binutils
5353 clean-stage1: clean-stage1-binutils
5354 clean-stage1-binutils:
5355 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5356 || exit 0 ; \
5357 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \
5358 cd $(HOST_SUBDIR)/binutils && \
5359 $(MAKE) $(FLAGS_TO_PASS) \
5360 CFLAGS="$(STAGE1_CFLAGS)" clean
5361 @endif binutils-bootstrap
5364 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5365 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5366 maybe-all-stage2-binutils:
5367 maybe-clean-stage2-binutils:
5368 @if binutils-bootstrap
5369 maybe-all-stage2-binutils: all-stage2-binutils
5370 all-stage2: all-stage2-binutils
5371 all-stage2-binutils: configure-stage2-binutils
5372 @$(MAKE) stage2-start
5373 @r=`${PWD_COMMAND}`; export r; \
5374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5375 $(HOST_EXPORTS) \
5376 $(POSTSTAGE1_HOST_EXPORTS) \
5377 cd $(HOST_SUBDIR)/binutils && \
5378 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5380 maybe-clean-stage2-binutils: clean-stage2-binutils
5381 clean-stage2: clean-stage2-binutils
5382 clean-stage2-binutils:
5383 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5384 || exit 0 ; \
5385 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \
5386 cd $(HOST_SUBDIR)/binutils && \
5387 $(MAKE) $(FLAGS_TO_PASS) \
5388 $(POSTSTAGE1_FLAGS_TO_PASS) \
5389 clean
5390 @endif binutils-bootstrap
5393 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5394 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5395 maybe-all-stage3-binutils:
5396 maybe-clean-stage3-binutils:
5397 @if binutils-bootstrap
5398 maybe-all-stage3-binutils: all-stage3-binutils
5399 all-stage3: all-stage3-binutils
5400 all-stage3-binutils: configure-stage3-binutils
5401 @$(MAKE) stage3-start
5402 @r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(HOST_EXPORTS) \
5405 $(POSTSTAGE1_HOST_EXPORTS) \
5406 cd $(HOST_SUBDIR)/binutils && \
5407 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5409 maybe-clean-stage3-binutils: clean-stage3-binutils
5410 clean-stage3: clean-stage3-binutils
5411 clean-stage3-binutils:
5412 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5413 || exit 0 ; \
5414 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \
5415 cd $(HOST_SUBDIR)/binutils && \
5416 $(MAKE) $(FLAGS_TO_PASS) \
5417 $(POSTSTAGE1_FLAGS_TO_PASS) \
5418 clean
5419 @endif binutils-bootstrap
5422 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5423 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5424 maybe-all-stage4-binutils:
5425 maybe-clean-stage4-binutils:
5426 @if binutils-bootstrap
5427 maybe-all-stage4-binutils: all-stage4-binutils
5428 all-stage4: all-stage4-binutils
5429 all-stage4-binutils: configure-stage4-binutils
5430 @$(MAKE) stage4-start
5431 @r=`${PWD_COMMAND}`; export r; \
5432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5433 $(HOST_EXPORTS) \
5434 $(POSTSTAGE1_HOST_EXPORTS) \
5435 cd $(HOST_SUBDIR)/binutils && \
5436 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5438 maybe-clean-stage4-binutils: clean-stage4-binutils
5439 clean-stage4: clean-stage4-binutils
5440 clean-stage4-binutils:
5441 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5442 || exit 0 ; \
5443 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \
5444 cd $(HOST_SUBDIR)/binutils && \
5445 $(MAKE) $(FLAGS_TO_PASS) \
5446 $(POSTSTAGE1_FLAGS_TO_PASS) \
5447 clean
5448 @endif binutils-bootstrap
5451 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5452 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5453 maybe-all-stageprofile-binutils:
5454 maybe-clean-stageprofile-binutils:
5455 @if binutils-bootstrap
5456 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5457 all-stageprofile: all-stageprofile-binutils
5458 all-stageprofile-binutils: configure-stageprofile-binutils
5459 @$(MAKE) stageprofile-start
5460 @r=`${PWD_COMMAND}`; export r; \
5461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5462 $(HOST_EXPORTS) \
5463 $(POSTSTAGE1_HOST_EXPORTS) \
5464 cd $(HOST_SUBDIR)/binutils && \
5465 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
5467 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5468 clean-stageprofile: clean-stageprofile-binutils
5469 clean-stageprofile-binutils:
5470 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5471 || exit 0 ; \
5472 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \
5473 cd $(HOST_SUBDIR)/binutils && \
5474 $(MAKE) $(FLAGS_TO_PASS) \
5475 $(POSTSTAGE1_FLAGS_TO_PASS) \
5476 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5477 @endif binutils-bootstrap
5480 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5481 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5482 maybe-all-stagefeedback-binutils:
5483 maybe-clean-stagefeedback-binutils:
5484 @if binutils-bootstrap
5485 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5486 all-stagefeedback: all-stagefeedback-binutils
5487 all-stagefeedback-binutils: configure-stagefeedback-binutils
5488 @$(MAKE) stagefeedback-start
5489 @r=`${PWD_COMMAND}`; export r; \
5490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5491 $(HOST_EXPORTS) \
5492 $(POSTSTAGE1_HOST_EXPORTS) \
5493 cd $(HOST_SUBDIR)/binutils && \
5494 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
5496 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5497 clean-stagefeedback: clean-stagefeedback-binutils
5498 clean-stagefeedback-binutils:
5499 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5500 || exit 0 ; \
5501 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
5502 cd $(HOST_SUBDIR)/binutils && \
5503 $(MAKE) $(FLAGS_TO_PASS) \
5504 $(POSTSTAGE1_FLAGS_TO_PASS) \
5505 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5506 @endif binutils-bootstrap
5512 .PHONY: check-binutils maybe-check-binutils
5513 maybe-check-binutils:
5514 @if binutils
5515 maybe-check-binutils: check-binutils
5517 check-binutils:
5518 @r=`${PWD_COMMAND}`; export r; \
5519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5520 $(HOST_EXPORTS) \
5521 (cd $(HOST_SUBDIR)/binutils && \
5522 $(MAKE) $(FLAGS_TO_PASS) check)
5524 @endif binutils
5526 .PHONY: install-binutils maybe-install-binutils
5527 maybe-install-binutils:
5528 @if binutils
5529 maybe-install-binutils: install-binutils
5531 install-binutils: installdirs
5532 @r=`${PWD_COMMAND}`; export r; \
5533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5534 $(HOST_EXPORTS) \
5535 (cd $(HOST_SUBDIR)/binutils && \
5536 $(MAKE) $(FLAGS_TO_PASS) install)
5538 @endif binutils
5540 # Other targets (info, dvi, etc.)
5542 .PHONY: maybe-info-binutils info-binutils
5543 maybe-info-binutils:
5544 @if binutils
5545 maybe-info-binutils: info-binutils
5547 info-binutils: \
5548 configure-binutils
5549 @[ -f ./binutils/Makefile ] || exit 0; \
5550 r=`${PWD_COMMAND}`; export r; \
5551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5552 $(HOST_EXPORTS) \
5553 for flag in $(EXTRA_HOST_FLAGS) ; do \
5554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5555 done; \
5556 echo "Doing info in binutils" ; \
5557 (cd $(HOST_SUBDIR)/binutils && \
5558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5560 "RANLIB=$${RANLIB}" \
5561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5562 info) \
5563 || exit 1
5565 @endif binutils
5567 .PHONY: maybe-dvi-binutils dvi-binutils
5568 maybe-dvi-binutils:
5569 @if binutils
5570 maybe-dvi-binutils: dvi-binutils
5572 dvi-binutils: \
5573 configure-binutils
5574 @[ -f ./binutils/Makefile ] || exit 0; \
5575 r=`${PWD_COMMAND}`; export r; \
5576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5577 $(HOST_EXPORTS) \
5578 for flag in $(EXTRA_HOST_FLAGS) ; do \
5579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5580 done; \
5581 echo "Doing dvi in binutils" ; \
5582 (cd $(HOST_SUBDIR)/binutils && \
5583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5585 "RANLIB=$${RANLIB}" \
5586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5587 dvi) \
5588 || exit 1
5590 @endif binutils
5592 .PHONY: maybe-html-binutils html-binutils
5593 maybe-html-binutils:
5594 @if binutils
5595 maybe-html-binutils: html-binutils
5597 html-binutils: \
5598 configure-binutils
5599 @[ -f ./binutils/Makefile ] || exit 0; \
5600 r=`${PWD_COMMAND}`; export r; \
5601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5602 $(HOST_EXPORTS) \
5603 for flag in $(EXTRA_HOST_FLAGS) ; do \
5604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5605 done; \
5606 echo "Doing html in binutils" ; \
5607 (cd $(HOST_SUBDIR)/binutils && \
5608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5610 "RANLIB=$${RANLIB}" \
5611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5612 html) \
5613 || exit 1
5615 @endif binutils
5617 .PHONY: maybe-TAGS-binutils TAGS-binutils
5618 maybe-TAGS-binutils:
5619 @if binutils
5620 maybe-TAGS-binutils: TAGS-binutils
5622 TAGS-binutils: \
5623 configure-binutils
5624 @[ -f ./binutils/Makefile ] || exit 0; \
5625 r=`${PWD_COMMAND}`; export r; \
5626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 binutils" ; \
5632 (cd $(HOST_SUBDIR)/binutils && \
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 binutils
5642 .PHONY: maybe-install-info-binutils install-info-binutils
5643 maybe-install-info-binutils:
5644 @if binutils
5645 maybe-install-info-binutils: install-info-binutils
5647 install-info-binutils: \
5648 configure-binutils \
5649 info-binutils
5650 @[ -f ./binutils/Makefile ] || exit 0; \
5651 r=`${PWD_COMMAND}`; export r; \
5652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5653 $(HOST_EXPORTS) \
5654 for flag in $(EXTRA_HOST_FLAGS) ; do \
5655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5656 done; \
5657 echo "Doing install-info in binutils" ; \
5658 (cd $(HOST_SUBDIR)/binutils && \
5659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5661 "RANLIB=$${RANLIB}" \
5662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5663 install-info) \
5664 || exit 1
5666 @endif binutils
5668 .PHONY: maybe-installcheck-binutils installcheck-binutils
5669 maybe-installcheck-binutils:
5670 @if binutils
5671 maybe-installcheck-binutils: installcheck-binutils
5673 installcheck-binutils: \
5674 configure-binutils
5675 @[ -f ./binutils/Makefile ] || exit 0; \
5676 r=`${PWD_COMMAND}`; export r; \
5677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5678 $(HOST_EXPORTS) \
5679 for flag in $(EXTRA_HOST_FLAGS) ; do \
5680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5681 done; \
5682 echo "Doing installcheck in binutils" ; \
5683 (cd $(HOST_SUBDIR)/binutils && \
5684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5686 "RANLIB=$${RANLIB}" \
5687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5688 installcheck) \
5689 || exit 1
5691 @endif binutils
5693 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5694 maybe-mostlyclean-binutils:
5695 @if binutils
5696 maybe-mostlyclean-binutils: mostlyclean-binutils
5698 mostlyclean-binutils:
5699 @[ -f ./binutils/Makefile ] || exit 0; \
5700 r=`${PWD_COMMAND}`; export r; \
5701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5702 $(HOST_EXPORTS) \
5703 for flag in $(EXTRA_HOST_FLAGS) ; do \
5704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5705 done; \
5706 echo "Doing mostlyclean in binutils" ; \
5707 (cd $(HOST_SUBDIR)/binutils && \
5708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5710 "RANLIB=$${RANLIB}" \
5711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5712 mostlyclean) \
5713 || exit 1
5715 @endif binutils
5717 .PHONY: maybe-clean-binutils clean-binutils
5718 maybe-clean-binutils:
5719 @if binutils
5720 maybe-clean-binutils: clean-binutils
5722 clean-binutils:
5723 @[ -f ./binutils/Makefile ] || exit 0; \
5724 r=`${PWD_COMMAND}`; export r; \
5725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5726 $(HOST_EXPORTS) \
5727 for flag in $(EXTRA_HOST_FLAGS) ; do \
5728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5729 done; \
5730 echo "Doing clean in binutils" ; \
5731 (cd $(HOST_SUBDIR)/binutils && \
5732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5734 "RANLIB=$${RANLIB}" \
5735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5736 clean) \
5737 || exit 1
5739 @endif binutils
5741 .PHONY: maybe-distclean-binutils distclean-binutils
5742 maybe-distclean-binutils:
5743 @if binutils
5744 maybe-distclean-binutils: distclean-binutils
5746 distclean-binutils:
5747 @[ -f ./binutils/Makefile ] || exit 0; \
5748 r=`${PWD_COMMAND}`; export r; \
5749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5750 $(HOST_EXPORTS) \
5751 for flag in $(EXTRA_HOST_FLAGS) ; do \
5752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5753 done; \
5754 echo "Doing distclean in binutils" ; \
5755 (cd $(HOST_SUBDIR)/binutils && \
5756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5758 "RANLIB=$${RANLIB}" \
5759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5760 distclean) \
5761 || exit 1
5763 @endif binutils
5765 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5766 maybe-maintainer-clean-binutils:
5767 @if binutils
5768 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5770 maintainer-clean-binutils:
5771 @[ -f ./binutils/Makefile ] || exit 0; \
5772 r=`${PWD_COMMAND}`; export r; \
5773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5774 $(HOST_EXPORTS) \
5775 for flag in $(EXTRA_HOST_FLAGS) ; do \
5776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5777 done; \
5778 echo "Doing maintainer-clean in binutils" ; \
5779 (cd $(HOST_SUBDIR)/binutils && \
5780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5782 "RANLIB=$${RANLIB}" \
5783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5784 maintainer-clean) \
5785 || exit 1
5787 @endif binutils
5791 .PHONY: configure-bison maybe-configure-bison
5792 maybe-configure-bison:
5793 @if bison
5794 maybe-configure-bison: configure-bison
5795 configure-bison:
5796 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5798 r=`${PWD_COMMAND}`; export r; \
5799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5800 $(HOST_EXPORTS) \
5801 echo Configuring in $(HOST_SUBDIR)/bison; \
5802 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5803 case $(srcdir) in \
5804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5805 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5807 esac; \
5808 srcdiroption="--srcdir=$${topdir}/bison"; \
5809 libsrcdir="$$s/bison"; \
5810 $(SHELL) $${libsrcdir}/configure \
5811 $(HOST_CONFIGARGS) $${srcdiroption} \
5812 || exit 1
5813 @endif bison
5819 .PHONY: all-bison maybe-all-bison
5820 maybe-all-bison:
5821 @if bison
5822 TARGET-bison=all
5823 maybe-all-bison: all-bison
5824 all-bison: configure-bison
5825 @r=`${PWD_COMMAND}`; export r; \
5826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5827 $(HOST_EXPORTS) \
5828 (cd $(HOST_SUBDIR)/bison && \
5829 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5830 @endif bison
5835 .PHONY: check-bison maybe-check-bison
5836 maybe-check-bison:
5837 @if bison
5838 maybe-check-bison: check-bison
5840 # This module is only tested in a native toolchain.
5841 check-bison:
5842 @if [ '$(host)' = '$(target)' ] ; then \
5843 r=`${PWD_COMMAND}`; export r; \
5844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5845 $(HOST_EXPORTS) \
5846 (cd $(HOST_SUBDIR)/bison && \
5847 $(MAKE) $(FLAGS_TO_PASS) check); \
5850 @endif bison
5852 .PHONY: install-bison maybe-install-bison
5853 maybe-install-bison:
5854 @if bison
5855 maybe-install-bison: install-bison
5857 install-bison: installdirs
5858 @r=`${PWD_COMMAND}`; export r; \
5859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5860 $(HOST_EXPORTS) \
5861 (cd $(HOST_SUBDIR)/bison && \
5862 $(MAKE) $(FLAGS_TO_PASS) install)
5864 @endif bison
5866 # Other targets (info, dvi, etc.)
5868 .PHONY: maybe-info-bison info-bison
5869 maybe-info-bison:
5870 @if bison
5871 maybe-info-bison: info-bison
5873 info-bison: \
5874 configure-bison
5875 @[ -f ./bison/Makefile ] || exit 0; \
5876 r=`${PWD_COMMAND}`; export r; \
5877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5878 $(HOST_EXPORTS) \
5879 for flag in $(EXTRA_HOST_FLAGS) ; do \
5880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5881 done; \
5882 echo "Doing info in bison" ; \
5883 (cd $(HOST_SUBDIR)/bison && \
5884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5886 "RANLIB=$${RANLIB}" \
5887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5888 info) \
5889 || exit 1
5891 @endif bison
5893 .PHONY: maybe-dvi-bison dvi-bison
5894 maybe-dvi-bison:
5895 @if bison
5896 maybe-dvi-bison: dvi-bison
5898 dvi-bison: \
5899 configure-bison
5900 @[ -f ./bison/Makefile ] || exit 0; \
5901 r=`${PWD_COMMAND}`; export r; \
5902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 bison" ; \
5908 (cd $(HOST_SUBDIR)/bison && \
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 bison
5918 .PHONY: maybe-html-bison html-bison
5919 maybe-html-bison:
5920 @if bison
5921 maybe-html-bison: html-bison
5923 html-bison: \
5924 configure-bison
5925 @[ -f ./bison/Makefile ] || exit 0; \
5926 r=`${PWD_COMMAND}`; export r; \
5927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5928 $(HOST_EXPORTS) \
5929 for flag in $(EXTRA_HOST_FLAGS) ; do \
5930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5931 done; \
5932 echo "Doing html in bison" ; \
5933 (cd $(HOST_SUBDIR)/bison && \
5934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5936 "RANLIB=$${RANLIB}" \
5937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5938 html) \
5939 || exit 1
5941 @endif bison
5943 .PHONY: maybe-TAGS-bison TAGS-bison
5944 maybe-TAGS-bison:
5945 @if bison
5946 maybe-TAGS-bison: TAGS-bison
5948 TAGS-bison: \
5949 configure-bison
5950 @[ -f ./bison/Makefile ] || exit 0; \
5951 r=`${PWD_COMMAND}`; export r; \
5952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5953 $(HOST_EXPORTS) \
5954 for flag in $(EXTRA_HOST_FLAGS) ; do \
5955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5956 done; \
5957 echo "Doing TAGS in bison" ; \
5958 (cd $(HOST_SUBDIR)/bison && \
5959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5961 "RANLIB=$${RANLIB}" \
5962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5963 TAGS) \
5964 || exit 1
5966 @endif bison
5968 .PHONY: maybe-install-info-bison install-info-bison
5969 maybe-install-info-bison:
5970 @if bison
5971 maybe-install-info-bison: install-info-bison
5973 install-info-bison: \
5974 configure-bison \
5975 info-bison
5976 @[ -f ./bison/Makefile ] || exit 0; \
5977 r=`${PWD_COMMAND}`; export r; \
5978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5979 $(HOST_EXPORTS) \
5980 for flag in $(EXTRA_HOST_FLAGS) ; do \
5981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5982 done; \
5983 echo "Doing install-info in bison" ; \
5984 (cd $(HOST_SUBDIR)/bison && \
5985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5987 "RANLIB=$${RANLIB}" \
5988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5989 install-info) \
5990 || exit 1
5992 @endif bison
5994 .PHONY: maybe-installcheck-bison installcheck-bison
5995 maybe-installcheck-bison:
5996 @if bison
5997 maybe-installcheck-bison: installcheck-bison
5999 installcheck-bison: \
6000 configure-bison
6001 @[ -f ./bison/Makefile ] || exit 0; \
6002 r=`${PWD_COMMAND}`; export r; \
6003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6004 $(HOST_EXPORTS) \
6005 for flag in $(EXTRA_HOST_FLAGS) ; do \
6006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6007 done; \
6008 echo "Doing installcheck in bison" ; \
6009 (cd $(HOST_SUBDIR)/bison && \
6010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6012 "RANLIB=$${RANLIB}" \
6013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6014 installcheck) \
6015 || exit 1
6017 @endif bison
6019 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6020 maybe-mostlyclean-bison:
6021 @if bison
6022 maybe-mostlyclean-bison: mostlyclean-bison
6024 mostlyclean-bison:
6025 @[ -f ./bison/Makefile ] || exit 0; \
6026 r=`${PWD_COMMAND}`; export r; \
6027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6028 $(HOST_EXPORTS) \
6029 for flag in $(EXTRA_HOST_FLAGS) ; do \
6030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6031 done; \
6032 echo "Doing mostlyclean in bison" ; \
6033 (cd $(HOST_SUBDIR)/bison && \
6034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6036 "RANLIB=$${RANLIB}" \
6037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6038 mostlyclean) \
6039 || exit 1
6041 @endif bison
6043 .PHONY: maybe-clean-bison clean-bison
6044 maybe-clean-bison:
6045 @if bison
6046 maybe-clean-bison: clean-bison
6048 clean-bison:
6049 @[ -f ./bison/Makefile ] || exit 0; \
6050 r=`${PWD_COMMAND}`; export r; \
6051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6052 $(HOST_EXPORTS) \
6053 for flag in $(EXTRA_HOST_FLAGS) ; do \
6054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6055 done; \
6056 echo "Doing clean in bison" ; \
6057 (cd $(HOST_SUBDIR)/bison && \
6058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6060 "RANLIB=$${RANLIB}" \
6061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6062 clean) \
6063 || exit 1
6065 @endif bison
6067 .PHONY: maybe-distclean-bison distclean-bison
6068 maybe-distclean-bison:
6069 @if bison
6070 maybe-distclean-bison: distclean-bison
6072 distclean-bison:
6073 @[ -f ./bison/Makefile ] || exit 0; \
6074 r=`${PWD_COMMAND}`; export r; \
6075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6076 $(HOST_EXPORTS) \
6077 for flag in $(EXTRA_HOST_FLAGS) ; do \
6078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6079 done; \
6080 echo "Doing distclean in bison" ; \
6081 (cd $(HOST_SUBDIR)/bison && \
6082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6084 "RANLIB=$${RANLIB}" \
6085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6086 distclean) \
6087 || exit 1
6089 @endif bison
6091 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6092 maybe-maintainer-clean-bison:
6093 @if bison
6094 maybe-maintainer-clean-bison: maintainer-clean-bison
6096 maintainer-clean-bison:
6097 @[ -f ./bison/Makefile ] || exit 0; \
6098 r=`${PWD_COMMAND}`; export r; \
6099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6100 $(HOST_EXPORTS) \
6101 for flag in $(EXTRA_HOST_FLAGS) ; do \
6102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6103 done; \
6104 echo "Doing maintainer-clean in bison" ; \
6105 (cd $(HOST_SUBDIR)/bison && \
6106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6108 "RANLIB=$${RANLIB}" \
6109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6110 maintainer-clean) \
6111 || exit 1
6113 @endif bison
6117 .PHONY: configure-byacc maybe-configure-byacc
6118 maybe-configure-byacc:
6119 @if byacc
6120 maybe-configure-byacc: configure-byacc
6121 configure-byacc:
6122 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6124 r=`${PWD_COMMAND}`; export r; \
6125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6126 $(HOST_EXPORTS) \
6127 echo Configuring in $(HOST_SUBDIR)/byacc; \
6128 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6129 case $(srcdir) in \
6130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6131 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6133 esac; \
6134 srcdiroption="--srcdir=$${topdir}/byacc"; \
6135 libsrcdir="$$s/byacc"; \
6136 $(SHELL) $${libsrcdir}/configure \
6137 $(HOST_CONFIGARGS) $${srcdiroption} \
6138 || exit 1
6139 @endif byacc
6145 .PHONY: all-byacc maybe-all-byacc
6146 maybe-all-byacc:
6147 @if byacc
6148 TARGET-byacc=all
6149 maybe-all-byacc: all-byacc
6150 all-byacc: configure-byacc
6151 @r=`${PWD_COMMAND}`; export r; \
6152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6153 $(HOST_EXPORTS) \
6154 (cd $(HOST_SUBDIR)/byacc && \
6155 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6156 @endif byacc
6161 .PHONY: check-byacc maybe-check-byacc
6162 maybe-check-byacc:
6163 @if byacc
6164 maybe-check-byacc: check-byacc
6166 # This module is only tested in a native toolchain.
6167 check-byacc:
6168 @if [ '$(host)' = '$(target)' ] ; then \
6169 r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 (cd $(HOST_SUBDIR)/byacc && \
6173 $(MAKE) $(FLAGS_TO_PASS) check); \
6176 @endif byacc
6178 .PHONY: install-byacc maybe-install-byacc
6179 maybe-install-byacc:
6180 @if byacc
6181 maybe-install-byacc: install-byacc
6183 install-byacc: installdirs
6184 @r=`${PWD_COMMAND}`; export r; \
6185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6186 $(HOST_EXPORTS) \
6187 (cd $(HOST_SUBDIR)/byacc && \
6188 $(MAKE) $(FLAGS_TO_PASS) install)
6190 @endif byacc
6192 # Other targets (info, dvi, etc.)
6194 .PHONY: maybe-info-byacc info-byacc
6195 maybe-info-byacc:
6196 @if byacc
6197 maybe-info-byacc: info-byacc
6199 info-byacc: \
6200 configure-byacc
6201 @[ -f ./byacc/Makefile ] || exit 0; \
6202 r=`${PWD_COMMAND}`; export r; \
6203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6204 $(HOST_EXPORTS) \
6205 for flag in $(EXTRA_HOST_FLAGS) ; do \
6206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6207 done; \
6208 echo "Doing info in byacc" ; \
6209 (cd $(HOST_SUBDIR)/byacc && \
6210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6212 "RANLIB=$${RANLIB}" \
6213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6214 info) \
6215 || exit 1
6217 @endif byacc
6219 .PHONY: maybe-dvi-byacc dvi-byacc
6220 maybe-dvi-byacc:
6221 @if byacc
6222 maybe-dvi-byacc: dvi-byacc
6224 dvi-byacc: \
6225 configure-byacc
6226 @[ -f ./byacc/Makefile ] || exit 0; \
6227 r=`${PWD_COMMAND}`; export r; \
6228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6229 $(HOST_EXPORTS) \
6230 for flag in $(EXTRA_HOST_FLAGS) ; do \
6231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6232 done; \
6233 echo "Doing dvi in byacc" ; \
6234 (cd $(HOST_SUBDIR)/byacc && \
6235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6237 "RANLIB=$${RANLIB}" \
6238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6239 dvi) \
6240 || exit 1
6242 @endif byacc
6244 .PHONY: maybe-html-byacc html-byacc
6245 maybe-html-byacc:
6246 @if byacc
6247 maybe-html-byacc: html-byacc
6249 html-byacc: \
6250 configure-byacc
6251 @[ -f ./byacc/Makefile ] || exit 0; \
6252 r=`${PWD_COMMAND}`; export r; \
6253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6254 $(HOST_EXPORTS) \
6255 for flag in $(EXTRA_HOST_FLAGS) ; do \
6256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6257 done; \
6258 echo "Doing html in byacc" ; \
6259 (cd $(HOST_SUBDIR)/byacc && \
6260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6262 "RANLIB=$${RANLIB}" \
6263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6264 html) \
6265 || exit 1
6267 @endif byacc
6269 .PHONY: maybe-TAGS-byacc TAGS-byacc
6270 maybe-TAGS-byacc:
6271 @if byacc
6272 maybe-TAGS-byacc: TAGS-byacc
6274 TAGS-byacc: \
6275 configure-byacc
6276 @[ -f ./byacc/Makefile ] || exit 0; \
6277 r=`${PWD_COMMAND}`; export r; \
6278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 TAGS in byacc" ; \
6284 (cd $(HOST_SUBDIR)/byacc && \
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 TAGS) \
6290 || exit 1
6292 @endif byacc
6294 .PHONY: maybe-install-info-byacc install-info-byacc
6295 maybe-install-info-byacc:
6296 @if byacc
6297 maybe-install-info-byacc: install-info-byacc
6299 install-info-byacc: \
6300 configure-byacc \
6301 info-byacc
6302 @[ -f ./byacc/Makefile ] || exit 0; \
6303 r=`${PWD_COMMAND}`; export r; \
6304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6305 $(HOST_EXPORTS) \
6306 for flag in $(EXTRA_HOST_FLAGS) ; do \
6307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6308 done; \
6309 echo "Doing install-info in byacc" ; \
6310 (cd $(HOST_SUBDIR)/byacc && \
6311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6313 "RANLIB=$${RANLIB}" \
6314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6315 install-info) \
6316 || exit 1
6318 @endif byacc
6320 .PHONY: maybe-installcheck-byacc installcheck-byacc
6321 maybe-installcheck-byacc:
6322 @if byacc
6323 maybe-installcheck-byacc: installcheck-byacc
6325 installcheck-byacc: \
6326 configure-byacc
6327 @[ -f ./byacc/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(HOST_EXPORTS) \
6331 for flag in $(EXTRA_HOST_FLAGS) ; do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333 done; \
6334 echo "Doing installcheck in byacc" ; \
6335 (cd $(HOST_SUBDIR)/byacc && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6340 installcheck) \
6341 || exit 1
6343 @endif byacc
6345 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6346 maybe-mostlyclean-byacc:
6347 @if byacc
6348 maybe-mostlyclean-byacc: mostlyclean-byacc
6350 mostlyclean-byacc:
6351 @[ -f ./byacc/Makefile ] || exit 0; \
6352 r=`${PWD_COMMAND}`; export r; \
6353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in byacc" ; \
6359 (cd $(HOST_SUBDIR)/byacc && \
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 mostlyclean) \
6365 || exit 1
6367 @endif byacc
6369 .PHONY: maybe-clean-byacc clean-byacc
6370 maybe-clean-byacc:
6371 @if byacc
6372 maybe-clean-byacc: clean-byacc
6374 clean-byacc:
6375 @[ -f ./byacc/Makefile ] || exit 0; \
6376 r=`${PWD_COMMAND}`; export r; \
6377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6378 $(HOST_EXPORTS) \
6379 for flag in $(EXTRA_HOST_FLAGS) ; do \
6380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6381 done; \
6382 echo "Doing clean in byacc" ; \
6383 (cd $(HOST_SUBDIR)/byacc && \
6384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6386 "RANLIB=$${RANLIB}" \
6387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6388 clean) \
6389 || exit 1
6391 @endif byacc
6393 .PHONY: maybe-distclean-byacc distclean-byacc
6394 maybe-distclean-byacc:
6395 @if byacc
6396 maybe-distclean-byacc: distclean-byacc
6398 distclean-byacc:
6399 @[ -f ./byacc/Makefile ] || exit 0; \
6400 r=`${PWD_COMMAND}`; export r; \
6401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6402 $(HOST_EXPORTS) \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 done; \
6406 echo "Doing distclean in byacc" ; \
6407 (cd $(HOST_SUBDIR)/byacc && \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6412 distclean) \
6413 || exit 1
6415 @endif byacc
6417 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6418 maybe-maintainer-clean-byacc:
6419 @if byacc
6420 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6422 maintainer-clean-byacc:
6423 @[ -f ./byacc/Makefile ] || exit 0; \
6424 r=`${PWD_COMMAND}`; export r; \
6425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6426 $(HOST_EXPORTS) \
6427 for flag in $(EXTRA_HOST_FLAGS) ; do \
6428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6429 done; \
6430 echo "Doing maintainer-clean in byacc" ; \
6431 (cd $(HOST_SUBDIR)/byacc && \
6432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6434 "RANLIB=$${RANLIB}" \
6435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6436 maintainer-clean) \
6437 || exit 1
6439 @endif byacc
6443 .PHONY: configure-bzip2 maybe-configure-bzip2
6444 maybe-configure-bzip2:
6445 @if bzip2
6446 maybe-configure-bzip2: configure-bzip2
6447 configure-bzip2:
6448 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6450 r=`${PWD_COMMAND}`; export r; \
6451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6452 $(HOST_EXPORTS) \
6453 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6454 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6455 case $(srcdir) in \
6456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6457 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6459 esac; \
6460 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6461 libsrcdir="$$s/bzip2"; \
6462 $(SHELL) $${libsrcdir}/configure \
6463 $(HOST_CONFIGARGS) $${srcdiroption} \
6464 || exit 1
6465 @endif bzip2
6471 .PHONY: all-bzip2 maybe-all-bzip2
6472 maybe-all-bzip2:
6473 @if bzip2
6474 TARGET-bzip2=all
6475 maybe-all-bzip2: all-bzip2
6476 all-bzip2: configure-bzip2
6477 @r=`${PWD_COMMAND}`; export r; \
6478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6479 $(HOST_EXPORTS) \
6480 (cd $(HOST_SUBDIR)/bzip2 && \
6481 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6482 @endif bzip2
6487 .PHONY: check-bzip2 maybe-check-bzip2
6488 maybe-check-bzip2:
6489 @if bzip2
6490 maybe-check-bzip2: check-bzip2
6492 check-bzip2:
6493 @r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(HOST_EXPORTS) \
6496 (cd $(HOST_SUBDIR)/bzip2 && \
6497 $(MAKE) $(FLAGS_TO_PASS) check)
6499 @endif bzip2
6501 .PHONY: install-bzip2 maybe-install-bzip2
6502 maybe-install-bzip2:
6503 @if bzip2
6504 maybe-install-bzip2: install-bzip2
6506 install-bzip2: installdirs
6507 @r=`${PWD_COMMAND}`; export r; \
6508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6509 $(HOST_EXPORTS) \
6510 (cd $(HOST_SUBDIR)/bzip2 && \
6511 $(MAKE) $(FLAGS_TO_PASS) install)
6513 @endif bzip2
6515 # Other targets (info, dvi, etc.)
6517 .PHONY: maybe-info-bzip2 info-bzip2
6518 maybe-info-bzip2:
6519 @if bzip2
6520 maybe-info-bzip2: info-bzip2
6522 info-bzip2: \
6523 configure-bzip2
6524 @[ -f ./bzip2/Makefile ] || exit 0; \
6525 r=`${PWD_COMMAND}`; export r; \
6526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6527 $(HOST_EXPORTS) \
6528 for flag in $(EXTRA_HOST_FLAGS) ; do \
6529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6530 done; \
6531 echo "Doing info in bzip2" ; \
6532 (cd $(HOST_SUBDIR)/bzip2 && \
6533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6535 "RANLIB=$${RANLIB}" \
6536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6537 info) \
6538 || exit 1
6540 @endif bzip2
6542 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6543 maybe-dvi-bzip2:
6544 @if bzip2
6545 maybe-dvi-bzip2: dvi-bzip2
6547 dvi-bzip2: \
6548 configure-bzip2
6549 @[ -f ./bzip2/Makefile ] || exit 0; \
6550 r=`${PWD_COMMAND}`; export r; \
6551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6552 $(HOST_EXPORTS) \
6553 for flag in $(EXTRA_HOST_FLAGS) ; do \
6554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6555 done; \
6556 echo "Doing dvi in bzip2" ; \
6557 (cd $(HOST_SUBDIR)/bzip2 && \
6558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6560 "RANLIB=$${RANLIB}" \
6561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6562 dvi) \
6563 || exit 1
6565 @endif bzip2
6567 .PHONY: maybe-html-bzip2 html-bzip2
6568 maybe-html-bzip2:
6569 @if bzip2
6570 maybe-html-bzip2: html-bzip2
6572 html-bzip2: \
6573 configure-bzip2
6574 @[ -f ./bzip2/Makefile ] || exit 0; \
6575 r=`${PWD_COMMAND}`; export r; \
6576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6577 $(HOST_EXPORTS) \
6578 for flag in $(EXTRA_HOST_FLAGS) ; do \
6579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6580 done; \
6581 echo "Doing html in bzip2" ; \
6582 (cd $(HOST_SUBDIR)/bzip2 && \
6583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6585 "RANLIB=$${RANLIB}" \
6586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6587 html) \
6588 || exit 1
6590 @endif bzip2
6592 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6593 maybe-TAGS-bzip2:
6594 @if bzip2
6595 maybe-TAGS-bzip2: TAGS-bzip2
6597 TAGS-bzip2: \
6598 configure-bzip2
6599 @[ -f ./bzip2/Makefile ] || exit 0; \
6600 r=`${PWD_COMMAND}`; export r; \
6601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6602 $(HOST_EXPORTS) \
6603 for flag in $(EXTRA_HOST_FLAGS) ; do \
6604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6605 done; \
6606 echo "Doing TAGS in bzip2" ; \
6607 (cd $(HOST_SUBDIR)/bzip2 && \
6608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6610 "RANLIB=$${RANLIB}" \
6611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6612 TAGS) \
6613 || exit 1
6615 @endif bzip2
6617 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6618 maybe-install-info-bzip2:
6619 @if bzip2
6620 maybe-install-info-bzip2: install-info-bzip2
6622 install-info-bzip2: \
6623 configure-bzip2 \
6624 info-bzip2
6625 @[ -f ./bzip2/Makefile ] || exit 0; \
6626 r=`${PWD_COMMAND}`; export r; \
6627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6628 $(HOST_EXPORTS) \
6629 for flag in $(EXTRA_HOST_FLAGS) ; do \
6630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6631 done; \
6632 echo "Doing install-info in bzip2" ; \
6633 (cd $(HOST_SUBDIR)/bzip2 && \
6634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6636 "RANLIB=$${RANLIB}" \
6637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6638 install-info) \
6639 || exit 1
6641 @endif bzip2
6643 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6644 maybe-installcheck-bzip2:
6645 @if bzip2
6646 maybe-installcheck-bzip2: installcheck-bzip2
6648 installcheck-bzip2: \
6649 configure-bzip2
6650 @[ -f ./bzip2/Makefile ] || exit 0; \
6651 r=`${PWD_COMMAND}`; export r; \
6652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6653 $(HOST_EXPORTS) \
6654 for flag in $(EXTRA_HOST_FLAGS) ; do \
6655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6656 done; \
6657 echo "Doing installcheck in bzip2" ; \
6658 (cd $(HOST_SUBDIR)/bzip2 && \
6659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6661 "RANLIB=$${RANLIB}" \
6662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6663 installcheck) \
6664 || exit 1
6666 @endif bzip2
6668 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6669 maybe-mostlyclean-bzip2:
6670 @if bzip2
6671 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6673 mostlyclean-bzip2:
6674 @[ -f ./bzip2/Makefile ] || exit 0; \
6675 r=`${PWD_COMMAND}`; export r; \
6676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6677 $(HOST_EXPORTS) \
6678 for flag in $(EXTRA_HOST_FLAGS) ; do \
6679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6680 done; \
6681 echo "Doing mostlyclean in bzip2" ; \
6682 (cd $(HOST_SUBDIR)/bzip2 && \
6683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6685 "RANLIB=$${RANLIB}" \
6686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6687 mostlyclean) \
6688 || exit 1
6690 @endif bzip2
6692 .PHONY: maybe-clean-bzip2 clean-bzip2
6693 maybe-clean-bzip2:
6694 @if bzip2
6695 maybe-clean-bzip2: clean-bzip2
6697 clean-bzip2:
6698 @[ -f ./bzip2/Makefile ] || exit 0; \
6699 r=`${PWD_COMMAND}`; export r; \
6700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6701 $(HOST_EXPORTS) \
6702 for flag in $(EXTRA_HOST_FLAGS) ; do \
6703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6704 done; \
6705 echo "Doing clean in bzip2" ; \
6706 (cd $(HOST_SUBDIR)/bzip2 && \
6707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6709 "RANLIB=$${RANLIB}" \
6710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6711 clean) \
6712 || exit 1
6714 @endif bzip2
6716 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6717 maybe-distclean-bzip2:
6718 @if bzip2
6719 maybe-distclean-bzip2: distclean-bzip2
6721 distclean-bzip2:
6722 @[ -f ./bzip2/Makefile ] || exit 0; \
6723 r=`${PWD_COMMAND}`; export r; \
6724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6725 $(HOST_EXPORTS) \
6726 for flag in $(EXTRA_HOST_FLAGS) ; do \
6727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6728 done; \
6729 echo "Doing distclean in bzip2" ; \
6730 (cd $(HOST_SUBDIR)/bzip2 && \
6731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6733 "RANLIB=$${RANLIB}" \
6734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6735 distclean) \
6736 || exit 1
6738 @endif bzip2
6740 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6741 maybe-maintainer-clean-bzip2:
6742 @if bzip2
6743 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6745 maintainer-clean-bzip2:
6746 @[ -f ./bzip2/Makefile ] || exit 0; \
6747 r=`${PWD_COMMAND}`; export r; \
6748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6749 $(HOST_EXPORTS) \
6750 for flag in $(EXTRA_HOST_FLAGS) ; do \
6751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6752 done; \
6753 echo "Doing maintainer-clean in bzip2" ; \
6754 (cd $(HOST_SUBDIR)/bzip2 && \
6755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6757 "RANLIB=$${RANLIB}" \
6758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6759 maintainer-clean) \
6760 || exit 1
6762 @endif bzip2
6766 .PHONY: configure-dejagnu maybe-configure-dejagnu
6767 maybe-configure-dejagnu:
6768 @if dejagnu
6769 maybe-configure-dejagnu: configure-dejagnu
6770 configure-dejagnu:
6771 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6772 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6773 r=`${PWD_COMMAND}`; export r; \
6774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6775 $(HOST_EXPORTS) \
6776 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6777 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6778 case $(srcdir) in \
6779 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6780 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6781 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6782 esac; \
6783 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6784 libsrcdir="$$s/dejagnu"; \
6785 $(SHELL) $${libsrcdir}/configure \
6786 $(HOST_CONFIGARGS) $${srcdiroption} \
6787 || exit 1
6788 @endif dejagnu
6794 .PHONY: all-dejagnu maybe-all-dejagnu
6795 maybe-all-dejagnu:
6796 @if dejagnu
6797 TARGET-dejagnu=all
6798 maybe-all-dejagnu: all-dejagnu
6799 all-dejagnu: configure-dejagnu
6800 @r=`${PWD_COMMAND}`; export r; \
6801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6802 $(HOST_EXPORTS) \
6803 (cd $(HOST_SUBDIR)/dejagnu && \
6804 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6805 @endif dejagnu
6810 .PHONY: check-dejagnu maybe-check-dejagnu
6811 maybe-check-dejagnu:
6812 @if dejagnu
6813 maybe-check-dejagnu: check-dejagnu
6815 check-dejagnu:
6816 @r=`${PWD_COMMAND}`; export r; \
6817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6818 $(HOST_EXPORTS) \
6819 (cd $(HOST_SUBDIR)/dejagnu && \
6820 $(MAKE) $(FLAGS_TO_PASS) check)
6822 @endif dejagnu
6824 .PHONY: install-dejagnu maybe-install-dejagnu
6825 maybe-install-dejagnu:
6826 @if dejagnu
6827 maybe-install-dejagnu: install-dejagnu
6829 install-dejagnu: installdirs
6830 @r=`${PWD_COMMAND}`; export r; \
6831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6832 $(HOST_EXPORTS) \
6833 (cd $(HOST_SUBDIR)/dejagnu && \
6834 $(MAKE) $(FLAGS_TO_PASS) install)
6836 @endif dejagnu
6838 # Other targets (info, dvi, etc.)
6840 .PHONY: maybe-info-dejagnu info-dejagnu
6841 maybe-info-dejagnu:
6842 @if dejagnu
6843 maybe-info-dejagnu: info-dejagnu
6845 info-dejagnu: \
6846 configure-dejagnu
6847 @[ -f ./dejagnu/Makefile ] || exit 0; \
6848 r=`${PWD_COMMAND}`; export r; \
6849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6850 $(HOST_EXPORTS) \
6851 for flag in $(EXTRA_HOST_FLAGS) ; do \
6852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6853 done; \
6854 echo "Doing info in dejagnu" ; \
6855 (cd $(HOST_SUBDIR)/dejagnu && \
6856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6858 "RANLIB=$${RANLIB}" \
6859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6860 info) \
6861 || exit 1
6863 @endif dejagnu
6865 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6866 maybe-dvi-dejagnu:
6867 @if dejagnu
6868 maybe-dvi-dejagnu: dvi-dejagnu
6870 dvi-dejagnu: \
6871 configure-dejagnu
6872 @[ -f ./dejagnu/Makefile ] || exit 0; \
6873 r=`${PWD_COMMAND}`; export r; \
6874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6875 $(HOST_EXPORTS) \
6876 for flag in $(EXTRA_HOST_FLAGS) ; do \
6877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6878 done; \
6879 echo "Doing dvi in dejagnu" ; \
6880 (cd $(HOST_SUBDIR)/dejagnu && \
6881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6883 "RANLIB=$${RANLIB}" \
6884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6885 dvi) \
6886 || exit 1
6888 @endif dejagnu
6890 .PHONY: maybe-html-dejagnu html-dejagnu
6891 maybe-html-dejagnu:
6892 @if dejagnu
6893 maybe-html-dejagnu: html-dejagnu
6895 html-dejagnu: \
6896 configure-dejagnu
6897 @[ -f ./dejagnu/Makefile ] || exit 0; \
6898 r=`${PWD_COMMAND}`; export r; \
6899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6900 $(HOST_EXPORTS) \
6901 for flag in $(EXTRA_HOST_FLAGS) ; do \
6902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6903 done; \
6904 echo "Doing html in dejagnu" ; \
6905 (cd $(HOST_SUBDIR)/dejagnu && \
6906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6908 "RANLIB=$${RANLIB}" \
6909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6910 html) \
6911 || exit 1
6913 @endif dejagnu
6915 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6916 maybe-TAGS-dejagnu:
6917 @if dejagnu
6918 maybe-TAGS-dejagnu: TAGS-dejagnu
6920 TAGS-dejagnu: \
6921 configure-dejagnu
6922 @[ -f ./dejagnu/Makefile ] || exit 0; \
6923 r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(HOST_EXPORTS) \
6926 for flag in $(EXTRA_HOST_FLAGS) ; do \
6927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6928 done; \
6929 echo "Doing TAGS in dejagnu" ; \
6930 (cd $(HOST_SUBDIR)/dejagnu && \
6931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6933 "RANLIB=$${RANLIB}" \
6934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6935 TAGS) \
6936 || exit 1
6938 @endif dejagnu
6940 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6941 maybe-install-info-dejagnu:
6942 @if dejagnu
6943 maybe-install-info-dejagnu: install-info-dejagnu
6945 install-info-dejagnu: \
6946 configure-dejagnu \
6947 info-dejagnu
6948 @[ -f ./dejagnu/Makefile ] || exit 0; \
6949 r=`${PWD_COMMAND}`; export r; \
6950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6951 $(HOST_EXPORTS) \
6952 for flag in $(EXTRA_HOST_FLAGS) ; do \
6953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6954 done; \
6955 echo "Doing install-info in dejagnu" ; \
6956 (cd $(HOST_SUBDIR)/dejagnu && \
6957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6959 "RANLIB=$${RANLIB}" \
6960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6961 install-info) \
6962 || exit 1
6964 @endif dejagnu
6966 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6967 maybe-installcheck-dejagnu:
6968 @if dejagnu
6969 maybe-installcheck-dejagnu: installcheck-dejagnu
6971 installcheck-dejagnu: \
6972 configure-dejagnu
6973 @[ -f ./dejagnu/Makefile ] || exit 0; \
6974 r=`${PWD_COMMAND}`; export r; \
6975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6976 $(HOST_EXPORTS) \
6977 for flag in $(EXTRA_HOST_FLAGS) ; do \
6978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6979 done; \
6980 echo "Doing installcheck in dejagnu" ; \
6981 (cd $(HOST_SUBDIR)/dejagnu && \
6982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6984 "RANLIB=$${RANLIB}" \
6985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6986 installcheck) \
6987 || exit 1
6989 @endif dejagnu
6991 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6992 maybe-mostlyclean-dejagnu:
6993 @if dejagnu
6994 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6996 mostlyclean-dejagnu:
6997 @[ -f ./dejagnu/Makefile ] || exit 0; \
6998 r=`${PWD_COMMAND}`; export r; \
6999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7000 $(HOST_EXPORTS) \
7001 for flag in $(EXTRA_HOST_FLAGS) ; do \
7002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7003 done; \
7004 echo "Doing mostlyclean in dejagnu" ; \
7005 (cd $(HOST_SUBDIR)/dejagnu && \
7006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7008 "RANLIB=$${RANLIB}" \
7009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7010 mostlyclean) \
7011 || exit 1
7013 @endif dejagnu
7015 .PHONY: maybe-clean-dejagnu clean-dejagnu
7016 maybe-clean-dejagnu:
7017 @if dejagnu
7018 maybe-clean-dejagnu: clean-dejagnu
7020 clean-dejagnu:
7021 @[ -f ./dejagnu/Makefile ] || exit 0; \
7022 r=`${PWD_COMMAND}`; export r; \
7023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7024 $(HOST_EXPORTS) \
7025 for flag in $(EXTRA_HOST_FLAGS) ; do \
7026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7027 done; \
7028 echo "Doing clean in dejagnu" ; \
7029 (cd $(HOST_SUBDIR)/dejagnu && \
7030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7032 "RANLIB=$${RANLIB}" \
7033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7034 clean) \
7035 || exit 1
7037 @endif dejagnu
7039 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7040 maybe-distclean-dejagnu:
7041 @if dejagnu
7042 maybe-distclean-dejagnu: distclean-dejagnu
7044 distclean-dejagnu:
7045 @[ -f ./dejagnu/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 $(HOST_EXPORTS) \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 done; \
7052 echo "Doing distclean in dejagnu" ; \
7053 (cd $(HOST_SUBDIR)/dejagnu && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7056 "RANLIB=$${RANLIB}" \
7057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7058 distclean) \
7059 || exit 1
7061 @endif dejagnu
7063 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7064 maybe-maintainer-clean-dejagnu:
7065 @if dejagnu
7066 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7068 maintainer-clean-dejagnu:
7069 @[ -f ./dejagnu/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing maintainer-clean in dejagnu" ; \
7077 (cd $(HOST_SUBDIR)/dejagnu && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7082 maintainer-clean) \
7083 || exit 1
7085 @endif dejagnu
7089 .PHONY: configure-diff maybe-configure-diff
7090 maybe-configure-diff:
7091 @if diff
7092 maybe-configure-diff: configure-diff
7093 configure-diff:
7094 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 $(HOST_EXPORTS) \
7099 echo Configuring in $(HOST_SUBDIR)/diff; \
7100 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7101 case $(srcdir) in \
7102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7103 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7105 esac; \
7106 srcdiroption="--srcdir=$${topdir}/diff"; \
7107 libsrcdir="$$s/diff"; \
7108 $(SHELL) $${libsrcdir}/configure \
7109 $(HOST_CONFIGARGS) $${srcdiroption} \
7110 || exit 1
7111 @endif diff
7117 .PHONY: all-diff maybe-all-diff
7118 maybe-all-diff:
7119 @if diff
7120 TARGET-diff=all
7121 maybe-all-diff: all-diff
7122 all-diff: configure-diff
7123 @r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 (cd $(HOST_SUBDIR)/diff && \
7127 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7128 @endif diff
7133 .PHONY: check-diff maybe-check-diff
7134 maybe-check-diff:
7135 @if diff
7136 maybe-check-diff: check-diff
7138 check-diff:
7139 @r=`${PWD_COMMAND}`; export r; \
7140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7141 $(HOST_EXPORTS) \
7142 (cd $(HOST_SUBDIR)/diff && \
7143 $(MAKE) $(FLAGS_TO_PASS) check)
7145 @endif diff
7147 .PHONY: install-diff maybe-install-diff
7148 maybe-install-diff:
7149 @if diff
7150 maybe-install-diff: install-diff
7152 install-diff: installdirs
7153 @r=`${PWD_COMMAND}`; export r; \
7154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7155 $(HOST_EXPORTS) \
7156 (cd $(HOST_SUBDIR)/diff && \
7157 $(MAKE) $(FLAGS_TO_PASS) install)
7159 @endif diff
7161 # Other targets (info, dvi, etc.)
7163 .PHONY: maybe-info-diff info-diff
7164 maybe-info-diff:
7165 @if diff
7166 maybe-info-diff: info-diff
7168 info-diff: \
7169 configure-diff
7170 @[ -f ./diff/Makefile ] || exit 0; \
7171 r=`${PWD_COMMAND}`; export r; \
7172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7173 $(HOST_EXPORTS) \
7174 for flag in $(EXTRA_HOST_FLAGS) ; do \
7175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7176 done; \
7177 echo "Doing info in diff" ; \
7178 (cd $(HOST_SUBDIR)/diff && \
7179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7181 "RANLIB=$${RANLIB}" \
7182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7183 info) \
7184 || exit 1
7186 @endif diff
7188 .PHONY: maybe-dvi-diff dvi-diff
7189 maybe-dvi-diff:
7190 @if diff
7191 maybe-dvi-diff: dvi-diff
7193 dvi-diff: \
7194 configure-diff
7195 @[ -f ./diff/Makefile ] || exit 0; \
7196 r=`${PWD_COMMAND}`; export r; \
7197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7198 $(HOST_EXPORTS) \
7199 for flag in $(EXTRA_HOST_FLAGS) ; do \
7200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7201 done; \
7202 echo "Doing dvi in diff" ; \
7203 (cd $(HOST_SUBDIR)/diff && \
7204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7206 "RANLIB=$${RANLIB}" \
7207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7208 dvi) \
7209 || exit 1
7211 @endif diff
7213 .PHONY: maybe-html-diff html-diff
7214 maybe-html-diff:
7215 @if diff
7216 maybe-html-diff: html-diff
7218 html-diff: \
7219 configure-diff
7220 @[ -f ./diff/Makefile ] || exit 0; \
7221 r=`${PWD_COMMAND}`; export r; \
7222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7223 $(HOST_EXPORTS) \
7224 for flag in $(EXTRA_HOST_FLAGS) ; do \
7225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7226 done; \
7227 echo "Doing html in diff" ; \
7228 (cd $(HOST_SUBDIR)/diff && \
7229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7231 "RANLIB=$${RANLIB}" \
7232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7233 html) \
7234 || exit 1
7236 @endif diff
7238 .PHONY: maybe-TAGS-diff TAGS-diff
7239 maybe-TAGS-diff:
7240 @if diff
7241 maybe-TAGS-diff: TAGS-diff
7243 TAGS-diff: \
7244 configure-diff
7245 @[ -f ./diff/Makefile ] || exit 0; \
7246 r=`${PWD_COMMAND}`; export r; \
7247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7248 $(HOST_EXPORTS) \
7249 for flag in $(EXTRA_HOST_FLAGS) ; do \
7250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7251 done; \
7252 echo "Doing TAGS in diff" ; \
7253 (cd $(HOST_SUBDIR)/diff && \
7254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7256 "RANLIB=$${RANLIB}" \
7257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7258 TAGS) \
7259 || exit 1
7261 @endif diff
7263 .PHONY: maybe-install-info-diff install-info-diff
7264 maybe-install-info-diff:
7265 @if diff
7266 maybe-install-info-diff: install-info-diff
7268 install-info-diff: \
7269 configure-diff \
7270 info-diff
7271 @[ -f ./diff/Makefile ] || exit 0; \
7272 r=`${PWD_COMMAND}`; export r; \
7273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7274 $(HOST_EXPORTS) \
7275 for flag in $(EXTRA_HOST_FLAGS) ; do \
7276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7277 done; \
7278 echo "Doing install-info in diff" ; \
7279 (cd $(HOST_SUBDIR)/diff && \
7280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7282 "RANLIB=$${RANLIB}" \
7283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7284 install-info) \
7285 || exit 1
7287 @endif diff
7289 .PHONY: maybe-installcheck-diff installcheck-diff
7290 maybe-installcheck-diff:
7291 @if diff
7292 maybe-installcheck-diff: installcheck-diff
7294 installcheck-diff: \
7295 configure-diff
7296 @[ -f ./diff/Makefile ] || exit 0; \
7297 r=`${PWD_COMMAND}`; export r; \
7298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7299 $(HOST_EXPORTS) \
7300 for flag in $(EXTRA_HOST_FLAGS) ; do \
7301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7302 done; \
7303 echo "Doing installcheck in diff" ; \
7304 (cd $(HOST_SUBDIR)/diff && \
7305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7307 "RANLIB=$${RANLIB}" \
7308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7309 installcheck) \
7310 || exit 1
7312 @endif diff
7314 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7315 maybe-mostlyclean-diff:
7316 @if diff
7317 maybe-mostlyclean-diff: mostlyclean-diff
7319 mostlyclean-diff:
7320 @[ -f ./diff/Makefile ] || exit 0; \
7321 r=`${PWD_COMMAND}`; export r; \
7322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7323 $(HOST_EXPORTS) \
7324 for flag in $(EXTRA_HOST_FLAGS) ; do \
7325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7326 done; \
7327 echo "Doing mostlyclean in diff" ; \
7328 (cd $(HOST_SUBDIR)/diff && \
7329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7331 "RANLIB=$${RANLIB}" \
7332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7333 mostlyclean) \
7334 || exit 1
7336 @endif diff
7338 .PHONY: maybe-clean-diff clean-diff
7339 maybe-clean-diff:
7340 @if diff
7341 maybe-clean-diff: clean-diff
7343 clean-diff:
7344 @[ -f ./diff/Makefile ] || exit 0; \
7345 r=`${PWD_COMMAND}`; export r; \
7346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7347 $(HOST_EXPORTS) \
7348 for flag in $(EXTRA_HOST_FLAGS) ; do \
7349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7350 done; \
7351 echo "Doing clean in diff" ; \
7352 (cd $(HOST_SUBDIR)/diff && \
7353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7355 "RANLIB=$${RANLIB}" \
7356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7357 clean) \
7358 || exit 1
7360 @endif diff
7362 .PHONY: maybe-distclean-diff distclean-diff
7363 maybe-distclean-diff:
7364 @if diff
7365 maybe-distclean-diff: distclean-diff
7367 distclean-diff:
7368 @[ -f ./diff/Makefile ] || exit 0; \
7369 r=`${PWD_COMMAND}`; export r; \
7370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7371 $(HOST_EXPORTS) \
7372 for flag in $(EXTRA_HOST_FLAGS) ; do \
7373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7374 done; \
7375 echo "Doing distclean in diff" ; \
7376 (cd $(HOST_SUBDIR)/diff && \
7377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7379 "RANLIB=$${RANLIB}" \
7380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7381 distclean) \
7382 || exit 1
7384 @endif diff
7386 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7387 maybe-maintainer-clean-diff:
7388 @if diff
7389 maybe-maintainer-clean-diff: maintainer-clean-diff
7391 maintainer-clean-diff:
7392 @[ -f ./diff/Makefile ] || exit 0; \
7393 r=`${PWD_COMMAND}`; export r; \
7394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7395 $(HOST_EXPORTS) \
7396 for flag in $(EXTRA_HOST_FLAGS) ; do \
7397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7398 done; \
7399 echo "Doing maintainer-clean in diff" ; \
7400 (cd $(HOST_SUBDIR)/diff && \
7401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7403 "RANLIB=$${RANLIB}" \
7404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7405 maintainer-clean) \
7406 || exit 1
7408 @endif diff
7412 .PHONY: configure-dosutils maybe-configure-dosutils
7413 maybe-configure-dosutils:
7414 @if dosutils
7415 maybe-configure-dosutils: configure-dosutils
7416 configure-dosutils:
7417 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7419 r=`${PWD_COMMAND}`; export r; \
7420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7421 $(HOST_EXPORTS) \
7422 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7423 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7424 case $(srcdir) in \
7425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7426 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7428 esac; \
7429 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7430 libsrcdir="$$s/dosutils"; \
7431 $(SHELL) $${libsrcdir}/configure \
7432 $(HOST_CONFIGARGS) $${srcdiroption} \
7433 || exit 1
7434 @endif dosutils
7440 .PHONY: all-dosutils maybe-all-dosutils
7441 maybe-all-dosutils:
7442 @if dosutils
7443 TARGET-dosutils=all
7444 maybe-all-dosutils: all-dosutils
7445 all-dosutils: configure-dosutils
7446 @r=`${PWD_COMMAND}`; export r; \
7447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7448 $(HOST_EXPORTS) \
7449 (cd $(HOST_SUBDIR)/dosutils && \
7450 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7451 @endif dosutils
7456 .PHONY: check-dosutils maybe-check-dosutils
7457 maybe-check-dosutils:
7458 @if dosutils
7459 maybe-check-dosutils: check-dosutils
7461 check-dosutils:
7463 @endif dosutils
7465 .PHONY: install-dosutils maybe-install-dosutils
7466 maybe-install-dosutils:
7467 @if dosutils
7468 maybe-install-dosutils: install-dosutils
7470 install-dosutils: installdirs
7471 @r=`${PWD_COMMAND}`; export r; \
7472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7473 $(HOST_EXPORTS) \
7474 (cd $(HOST_SUBDIR)/dosutils && \
7475 $(MAKE) $(FLAGS_TO_PASS) install)
7477 @endif dosutils
7479 # Other targets (info, dvi, etc.)
7481 .PHONY: maybe-info-dosutils info-dosutils
7482 maybe-info-dosutils:
7483 @if dosutils
7484 maybe-info-dosutils: info-dosutils
7486 info-dosutils: \
7487 configure-dosutils
7488 @[ -f ./dosutils/Makefile ] || exit 0; \
7489 r=`${PWD_COMMAND}`; export r; \
7490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7491 $(HOST_EXPORTS) \
7492 for flag in $(EXTRA_HOST_FLAGS) ; do \
7493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7494 done; \
7495 echo "Doing info in dosutils" ; \
7496 (cd $(HOST_SUBDIR)/dosutils && \
7497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7499 "RANLIB=$${RANLIB}" \
7500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7501 info) \
7502 || exit 1
7504 @endif dosutils
7506 .PHONY: maybe-dvi-dosutils dvi-dosutils
7507 maybe-dvi-dosutils:
7508 @if dosutils
7509 maybe-dvi-dosutils: dvi-dosutils
7511 dvi-dosutils: \
7512 configure-dosutils
7513 @[ -f ./dosutils/Makefile ] || exit 0; \
7514 r=`${PWD_COMMAND}`; export r; \
7515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7516 $(HOST_EXPORTS) \
7517 for flag in $(EXTRA_HOST_FLAGS) ; do \
7518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7519 done; \
7520 echo "Doing dvi in dosutils" ; \
7521 (cd $(HOST_SUBDIR)/dosutils && \
7522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7524 "RANLIB=$${RANLIB}" \
7525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7526 dvi) \
7527 || exit 1
7529 @endif dosutils
7531 .PHONY: maybe-html-dosutils html-dosutils
7532 maybe-html-dosutils:
7533 @if dosutils
7534 maybe-html-dosutils: html-dosutils
7536 html-dosutils: \
7537 configure-dosutils
7538 @[ -f ./dosutils/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing html in dosutils" ; \
7546 (cd $(HOST_SUBDIR)/dosutils && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 html) \
7552 || exit 1
7554 @endif dosutils
7556 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7557 maybe-TAGS-dosutils:
7558 @if dosutils
7559 maybe-TAGS-dosutils: TAGS-dosutils
7561 TAGS-dosutils: \
7562 configure-dosutils
7563 @[ -f ./dosutils/Makefile ] || exit 0; \
7564 r=`${PWD_COMMAND}`; export r; \
7565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7566 $(HOST_EXPORTS) \
7567 for flag in $(EXTRA_HOST_FLAGS) ; do \
7568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7569 done; \
7570 echo "Doing TAGS in dosutils" ; \
7571 (cd $(HOST_SUBDIR)/dosutils && \
7572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7574 "RANLIB=$${RANLIB}" \
7575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7576 TAGS) \
7577 || exit 1
7579 @endif dosutils
7581 .PHONY: maybe-install-info-dosutils install-info-dosutils
7582 maybe-install-info-dosutils:
7583 @if dosutils
7584 maybe-install-info-dosutils: install-info-dosutils
7586 install-info-dosutils: \
7587 configure-dosutils \
7588 info-dosutils
7589 @[ -f ./dosutils/Makefile ] || exit 0; \
7590 r=`${PWD_COMMAND}`; export r; \
7591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7592 $(HOST_EXPORTS) \
7593 for flag in $(EXTRA_HOST_FLAGS) ; do \
7594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7595 done; \
7596 echo "Doing install-info in dosutils" ; \
7597 (cd $(HOST_SUBDIR)/dosutils && \
7598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7600 "RANLIB=$${RANLIB}" \
7601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7602 install-info) \
7603 || exit 1
7605 @endif dosutils
7607 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7608 maybe-installcheck-dosutils:
7609 @if dosutils
7610 maybe-installcheck-dosutils: installcheck-dosutils
7612 installcheck-dosutils: \
7613 configure-dosutils
7614 @[ -f ./dosutils/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 for flag in $(EXTRA_HOST_FLAGS) ; do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing installcheck in dosutils" ; \
7622 (cd $(HOST_SUBDIR)/dosutils && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7627 installcheck) \
7628 || exit 1
7630 @endif dosutils
7632 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7633 maybe-mostlyclean-dosutils:
7634 @if dosutils
7635 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7637 mostlyclean-dosutils:
7638 @[ -f ./dosutils/Makefile ] || exit 0; \
7639 r=`${PWD_COMMAND}`; export r; \
7640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7641 $(HOST_EXPORTS) \
7642 for flag in $(EXTRA_HOST_FLAGS) ; do \
7643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7644 done; \
7645 echo "Doing mostlyclean in dosutils" ; \
7646 (cd $(HOST_SUBDIR)/dosutils && \
7647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7649 "RANLIB=$${RANLIB}" \
7650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7651 mostlyclean) \
7652 || exit 1
7654 @endif dosutils
7656 .PHONY: maybe-clean-dosutils clean-dosutils
7657 maybe-clean-dosutils:
7658 @if dosutils
7659 maybe-clean-dosutils: clean-dosutils
7661 clean-dosutils:
7662 @[ -f ./dosutils/Makefile ] || exit 0; \
7663 r=`${PWD_COMMAND}`; export r; \
7664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7665 $(HOST_EXPORTS) \
7666 for flag in $(EXTRA_HOST_FLAGS) ; do \
7667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7668 done; \
7669 echo "Doing clean in dosutils" ; \
7670 (cd $(HOST_SUBDIR)/dosutils && \
7671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7673 "RANLIB=$${RANLIB}" \
7674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7675 clean) \
7676 || exit 1
7678 @endif dosutils
7680 .PHONY: maybe-distclean-dosutils distclean-dosutils
7681 maybe-distclean-dosutils:
7682 @if dosutils
7683 maybe-distclean-dosutils: distclean-dosutils
7685 distclean-dosutils:
7686 @[ -f ./dosutils/Makefile ] || exit 0; \
7687 r=`${PWD_COMMAND}`; export r; \
7688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7689 $(HOST_EXPORTS) \
7690 for flag in $(EXTRA_HOST_FLAGS) ; do \
7691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7692 done; \
7693 echo "Doing distclean in dosutils" ; \
7694 (cd $(HOST_SUBDIR)/dosutils && \
7695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7697 "RANLIB=$${RANLIB}" \
7698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7699 distclean) \
7700 || exit 1
7702 @endif dosutils
7704 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7705 maybe-maintainer-clean-dosutils:
7706 @if dosutils
7707 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7709 maintainer-clean-dosutils:
7710 @[ -f ./dosutils/Makefile ] || exit 0; \
7711 r=`${PWD_COMMAND}`; export r; \
7712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 maintainer-clean in dosutils" ; \
7718 (cd $(HOST_SUBDIR)/dosutils && \
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 maintainer-clean) \
7724 || exit 1
7726 @endif dosutils
7730 .PHONY: configure-etc maybe-configure-etc
7731 maybe-configure-etc:
7732 @if etc
7733 maybe-configure-etc: configure-etc
7734 configure-etc:
7735 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7737 r=`${PWD_COMMAND}`; export r; \
7738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7739 $(HOST_EXPORTS) \
7740 echo Configuring in $(HOST_SUBDIR)/etc; \
7741 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7742 case $(srcdir) in \
7743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7744 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7746 esac; \
7747 srcdiroption="--srcdir=$${topdir}/etc"; \
7748 libsrcdir="$$s/etc"; \
7749 $(SHELL) $${libsrcdir}/configure \
7750 $(HOST_CONFIGARGS) $${srcdiroption} \
7751 || exit 1
7752 @endif etc
7758 .PHONY: all-etc maybe-all-etc
7759 maybe-all-etc:
7760 @if etc
7761 TARGET-etc=all
7762 maybe-all-etc: all-etc
7763 all-etc: configure-etc
7764 @r=`${PWD_COMMAND}`; export r; \
7765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7766 $(HOST_EXPORTS) \
7767 (cd $(HOST_SUBDIR)/etc && \
7768 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7769 @endif etc
7774 .PHONY: check-etc maybe-check-etc
7775 maybe-check-etc:
7776 @if etc
7777 maybe-check-etc: check-etc
7779 check-etc:
7780 @r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 (cd $(HOST_SUBDIR)/etc && \
7784 $(MAKE) $(FLAGS_TO_PASS) check)
7786 @endif etc
7788 .PHONY: install-etc maybe-install-etc
7789 maybe-install-etc:
7790 @if etc
7791 maybe-install-etc: install-etc
7793 install-etc: installdirs
7794 @r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 (cd $(HOST_SUBDIR)/etc && \
7798 $(MAKE) $(FLAGS_TO_PASS) install)
7800 @endif etc
7802 # Other targets (info, dvi, etc.)
7804 .PHONY: maybe-info-etc info-etc
7805 maybe-info-etc:
7806 @if etc
7807 maybe-info-etc: info-etc
7809 info-etc: \
7810 configure-etc
7811 @[ -f ./etc/Makefile ] || exit 0; \
7812 r=`${PWD_COMMAND}`; export r; \
7813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7814 $(HOST_EXPORTS) \
7815 for flag in $(EXTRA_HOST_FLAGS) ; do \
7816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7817 done; \
7818 echo "Doing info in etc" ; \
7819 (cd $(HOST_SUBDIR)/etc && \
7820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7822 "RANLIB=$${RANLIB}" \
7823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7824 info) \
7825 || exit 1
7827 @endif etc
7829 .PHONY: maybe-dvi-etc dvi-etc
7830 maybe-dvi-etc:
7831 @if etc
7832 maybe-dvi-etc: dvi-etc
7834 dvi-etc: \
7835 configure-etc
7836 @[ -f ./etc/Makefile ] || exit 0; \
7837 r=`${PWD_COMMAND}`; export r; \
7838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7839 $(HOST_EXPORTS) \
7840 for flag in $(EXTRA_HOST_FLAGS) ; do \
7841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7842 done; \
7843 echo "Doing dvi in etc" ; \
7844 (cd $(HOST_SUBDIR)/etc && \
7845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7847 "RANLIB=$${RANLIB}" \
7848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7849 dvi) \
7850 || exit 1
7852 @endif etc
7854 .PHONY: maybe-html-etc html-etc
7855 maybe-html-etc:
7856 @if etc
7857 maybe-html-etc: html-etc
7859 html-etc: \
7860 configure-etc
7861 @[ -f ./etc/Makefile ] || exit 0; \
7862 r=`${PWD_COMMAND}`; export r; \
7863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7864 $(HOST_EXPORTS) \
7865 for flag in $(EXTRA_HOST_FLAGS) ; do \
7866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7867 done; \
7868 echo "Doing html in etc" ; \
7869 (cd $(HOST_SUBDIR)/etc && \
7870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7872 "RANLIB=$${RANLIB}" \
7873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7874 html) \
7875 || exit 1
7877 @endif etc
7879 .PHONY: maybe-TAGS-etc TAGS-etc
7880 maybe-TAGS-etc:
7881 @if etc
7882 maybe-TAGS-etc: TAGS-etc
7884 TAGS-etc: \
7885 configure-etc
7886 @[ -f ./etc/Makefile ] || exit 0; \
7887 r=`${PWD_COMMAND}`; export r; \
7888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7889 $(HOST_EXPORTS) \
7890 for flag in $(EXTRA_HOST_FLAGS) ; do \
7891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7892 done; \
7893 echo "Doing TAGS in etc" ; \
7894 (cd $(HOST_SUBDIR)/etc && \
7895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7897 "RANLIB=$${RANLIB}" \
7898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7899 TAGS) \
7900 || exit 1
7902 @endif etc
7904 .PHONY: maybe-install-info-etc install-info-etc
7905 maybe-install-info-etc:
7906 @if etc
7907 maybe-install-info-etc: install-info-etc
7909 install-info-etc: \
7910 configure-etc \
7911 info-etc
7912 @[ -f ./etc/Makefile ] || exit 0; \
7913 r=`${PWD_COMMAND}`; export r; \
7914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7915 $(HOST_EXPORTS) \
7916 for flag in $(EXTRA_HOST_FLAGS) ; do \
7917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7918 done; \
7919 echo "Doing install-info in etc" ; \
7920 (cd $(HOST_SUBDIR)/etc && \
7921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7923 "RANLIB=$${RANLIB}" \
7924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7925 install-info) \
7926 || exit 1
7928 @endif etc
7930 .PHONY: maybe-installcheck-etc installcheck-etc
7931 maybe-installcheck-etc:
7932 @if etc
7933 maybe-installcheck-etc: installcheck-etc
7935 installcheck-etc: \
7936 configure-etc
7937 @[ -f ./etc/Makefile ] || exit 0; \
7938 r=`${PWD_COMMAND}`; export r; \
7939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7940 $(HOST_EXPORTS) \
7941 for flag in $(EXTRA_HOST_FLAGS) ; do \
7942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7943 done; \
7944 echo "Doing installcheck in etc" ; \
7945 (cd $(HOST_SUBDIR)/etc && \
7946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7948 "RANLIB=$${RANLIB}" \
7949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7950 installcheck) \
7951 || exit 1
7953 @endif etc
7955 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7956 maybe-mostlyclean-etc:
7957 @if etc
7958 maybe-mostlyclean-etc: mostlyclean-etc
7960 mostlyclean-etc:
7961 @[ -f ./etc/Makefile ] || exit 0; \
7962 r=`${PWD_COMMAND}`; export r; \
7963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing mostlyclean in etc" ; \
7969 (cd $(HOST_SUBDIR)/etc && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7974 mostlyclean) \
7975 || exit 1
7977 @endif etc
7979 .PHONY: maybe-clean-etc clean-etc
7980 maybe-clean-etc:
7981 @if etc
7982 maybe-clean-etc: clean-etc
7984 clean-etc:
7985 @[ -f ./etc/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(HOST_EXPORTS) \
7989 for flag in $(EXTRA_HOST_FLAGS) ; do \
7990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7991 done; \
7992 echo "Doing clean in etc" ; \
7993 (cd $(HOST_SUBDIR)/etc && \
7994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7996 "RANLIB=$${RANLIB}" \
7997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7998 clean) \
7999 || exit 1
8001 @endif etc
8003 .PHONY: maybe-distclean-etc distclean-etc
8004 maybe-distclean-etc:
8005 @if etc
8006 maybe-distclean-etc: distclean-etc
8008 distclean-etc:
8009 @[ -f ./etc/Makefile ] || exit 0; \
8010 r=`${PWD_COMMAND}`; export r; \
8011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8012 $(HOST_EXPORTS) \
8013 for flag in $(EXTRA_HOST_FLAGS) ; do \
8014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8015 done; \
8016 echo "Doing distclean in etc" ; \
8017 (cd $(HOST_SUBDIR)/etc && \
8018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8020 "RANLIB=$${RANLIB}" \
8021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8022 distclean) \
8023 || exit 1
8025 @endif etc
8027 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8028 maybe-maintainer-clean-etc:
8029 @if etc
8030 maybe-maintainer-clean-etc: maintainer-clean-etc
8032 maintainer-clean-etc:
8033 @[ -f ./etc/Makefile ] || exit 0; \
8034 r=`${PWD_COMMAND}`; export r; \
8035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8036 $(HOST_EXPORTS) \
8037 for flag in $(EXTRA_HOST_FLAGS) ; do \
8038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8039 done; \
8040 echo "Doing maintainer-clean in etc" ; \
8041 (cd $(HOST_SUBDIR)/etc && \
8042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8044 "RANLIB=$${RANLIB}" \
8045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8046 maintainer-clean) \
8047 || exit 1
8049 @endif etc
8053 .PHONY: configure-fastjar maybe-configure-fastjar
8054 maybe-configure-fastjar:
8055 @if fastjar
8056 maybe-configure-fastjar: configure-fastjar
8057 configure-fastjar:
8058 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8059 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8060 r=`${PWD_COMMAND}`; export r; \
8061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8062 $(HOST_EXPORTS) \
8063 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8064 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8065 case $(srcdir) in \
8066 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8067 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8068 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8069 esac; \
8070 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8071 libsrcdir="$$s/fastjar"; \
8072 $(SHELL) $${libsrcdir}/configure \
8073 $(HOST_CONFIGARGS) $${srcdiroption} \
8074 || exit 1
8075 @endif fastjar
8081 .PHONY: all-fastjar maybe-all-fastjar
8082 maybe-all-fastjar:
8083 @if fastjar
8084 TARGET-fastjar=all
8085 maybe-all-fastjar: all-fastjar
8086 all-fastjar: configure-fastjar
8087 @r=`${PWD_COMMAND}`; export r; \
8088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8089 $(HOST_EXPORTS) \
8090 (cd $(HOST_SUBDIR)/fastjar && \
8091 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8092 @endif fastjar
8097 .PHONY: check-fastjar maybe-check-fastjar
8098 maybe-check-fastjar:
8099 @if fastjar
8100 maybe-check-fastjar: check-fastjar
8102 # This module is only tested in a native toolchain.
8103 check-fastjar:
8104 @if [ '$(host)' = '$(target)' ] ; then \
8105 r=`${PWD_COMMAND}`; export r; \
8106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8107 $(HOST_EXPORTS) \
8108 (cd $(HOST_SUBDIR)/fastjar && \
8109 $(MAKE) $(FLAGS_TO_PASS) check); \
8112 @endif fastjar
8114 .PHONY: install-fastjar maybe-install-fastjar
8115 maybe-install-fastjar:
8116 @if fastjar
8117 maybe-install-fastjar: install-fastjar
8119 install-fastjar: installdirs
8120 @r=`${PWD_COMMAND}`; export r; \
8121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8122 $(HOST_EXPORTS) \
8123 (cd $(HOST_SUBDIR)/fastjar && \
8124 $(MAKE) $(FLAGS_TO_PASS) install)
8126 @endif fastjar
8128 # Other targets (info, dvi, etc.)
8130 .PHONY: maybe-info-fastjar info-fastjar
8131 maybe-info-fastjar:
8132 @if fastjar
8133 maybe-info-fastjar: info-fastjar
8135 info-fastjar: \
8136 configure-fastjar
8137 @[ -f ./fastjar/Makefile ] || exit 0; \
8138 r=`${PWD_COMMAND}`; export r; \
8139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8140 $(HOST_EXPORTS) \
8141 for flag in $(EXTRA_HOST_FLAGS) ; do \
8142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8143 done; \
8144 echo "Doing info in fastjar" ; \
8145 (cd $(HOST_SUBDIR)/fastjar && \
8146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8148 "RANLIB=$${RANLIB}" \
8149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8150 info) \
8151 || exit 1
8153 @endif fastjar
8155 .PHONY: maybe-dvi-fastjar dvi-fastjar
8156 maybe-dvi-fastjar:
8157 @if fastjar
8158 maybe-dvi-fastjar: dvi-fastjar
8160 dvi-fastjar: \
8161 configure-fastjar
8162 @[ -f ./fastjar/Makefile ] || exit 0; \
8163 r=`${PWD_COMMAND}`; export r; \
8164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8165 $(HOST_EXPORTS) \
8166 for flag in $(EXTRA_HOST_FLAGS) ; do \
8167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8168 done; \
8169 echo "Doing dvi in fastjar" ; \
8170 (cd $(HOST_SUBDIR)/fastjar && \
8171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8173 "RANLIB=$${RANLIB}" \
8174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8175 dvi) \
8176 || exit 1
8178 @endif fastjar
8180 .PHONY: maybe-html-fastjar html-fastjar
8181 maybe-html-fastjar:
8182 @if fastjar
8183 maybe-html-fastjar: html-fastjar
8185 html-fastjar: \
8186 configure-fastjar
8187 @[ -f ./fastjar/Makefile ] || exit 0; \
8188 r=`${PWD_COMMAND}`; export r; \
8189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8190 $(HOST_EXPORTS) \
8191 for flag in $(EXTRA_HOST_FLAGS) ; do \
8192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8193 done; \
8194 echo "Doing html in fastjar" ; \
8195 (cd $(HOST_SUBDIR)/fastjar && \
8196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8198 "RANLIB=$${RANLIB}" \
8199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8200 html) \
8201 || exit 1
8203 @endif fastjar
8205 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8206 maybe-TAGS-fastjar:
8207 @if fastjar
8208 maybe-TAGS-fastjar: TAGS-fastjar
8210 TAGS-fastjar: \
8211 configure-fastjar
8212 @[ -f ./fastjar/Makefile ] || exit 0; \
8213 r=`${PWD_COMMAND}`; export r; \
8214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8215 $(HOST_EXPORTS) \
8216 for flag in $(EXTRA_HOST_FLAGS) ; do \
8217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8218 done; \
8219 echo "Doing TAGS in fastjar" ; \
8220 (cd $(HOST_SUBDIR)/fastjar && \
8221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8223 "RANLIB=$${RANLIB}" \
8224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8225 TAGS) \
8226 || exit 1
8228 @endif fastjar
8230 .PHONY: maybe-install-info-fastjar install-info-fastjar
8231 maybe-install-info-fastjar:
8232 @if fastjar
8233 maybe-install-info-fastjar: install-info-fastjar
8235 install-info-fastjar: \
8236 configure-fastjar \
8237 info-fastjar
8238 @[ -f ./fastjar/Makefile ] || exit 0; \
8239 r=`${PWD_COMMAND}`; export r; \
8240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8241 $(HOST_EXPORTS) \
8242 for flag in $(EXTRA_HOST_FLAGS) ; do \
8243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8244 done; \
8245 echo "Doing install-info in fastjar" ; \
8246 (cd $(HOST_SUBDIR)/fastjar && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8249 "RANLIB=$${RANLIB}" \
8250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8251 install-info) \
8252 || exit 1
8254 @endif fastjar
8256 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8257 maybe-installcheck-fastjar:
8258 @if fastjar
8259 maybe-installcheck-fastjar: installcheck-fastjar
8261 installcheck-fastjar: \
8262 configure-fastjar
8263 @[ -f ./fastjar/Makefile ] || exit 0; \
8264 r=`${PWD_COMMAND}`; export r; \
8265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266 $(HOST_EXPORTS) \
8267 for flag in $(EXTRA_HOST_FLAGS) ; do \
8268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8269 done; \
8270 echo "Doing installcheck in fastjar" ; \
8271 (cd $(HOST_SUBDIR)/fastjar && \
8272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8274 "RANLIB=$${RANLIB}" \
8275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8276 installcheck) \
8277 || exit 1
8279 @endif fastjar
8281 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8282 maybe-mostlyclean-fastjar:
8283 @if fastjar
8284 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8286 mostlyclean-fastjar:
8287 @[ -f ./fastjar/Makefile ] || exit 0; \
8288 r=`${PWD_COMMAND}`; export r; \
8289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8290 $(HOST_EXPORTS) \
8291 for flag in $(EXTRA_HOST_FLAGS) ; do \
8292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8293 done; \
8294 echo "Doing mostlyclean in fastjar" ; \
8295 (cd $(HOST_SUBDIR)/fastjar && \
8296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8298 "RANLIB=$${RANLIB}" \
8299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8300 mostlyclean) \
8301 || exit 1
8303 @endif fastjar
8305 .PHONY: maybe-clean-fastjar clean-fastjar
8306 maybe-clean-fastjar:
8307 @if fastjar
8308 maybe-clean-fastjar: clean-fastjar
8310 clean-fastjar:
8311 @[ -f ./fastjar/Makefile ] || exit 0; \
8312 r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 for flag in $(EXTRA_HOST_FLAGS) ; do \
8316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8317 done; \
8318 echo "Doing clean in fastjar" ; \
8319 (cd $(HOST_SUBDIR)/fastjar && \
8320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8322 "RANLIB=$${RANLIB}" \
8323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8324 clean) \
8325 || exit 1
8327 @endif fastjar
8329 .PHONY: maybe-distclean-fastjar distclean-fastjar
8330 maybe-distclean-fastjar:
8331 @if fastjar
8332 maybe-distclean-fastjar: distclean-fastjar
8334 distclean-fastjar:
8335 @[ -f ./fastjar/Makefile ] || exit 0; \
8336 r=`${PWD_COMMAND}`; export r; \
8337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8338 $(HOST_EXPORTS) \
8339 for flag in $(EXTRA_HOST_FLAGS) ; do \
8340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8341 done; \
8342 echo "Doing distclean in fastjar" ; \
8343 (cd $(HOST_SUBDIR)/fastjar && \
8344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8346 "RANLIB=$${RANLIB}" \
8347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8348 distclean) \
8349 || exit 1
8351 @endif fastjar
8353 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8354 maybe-maintainer-clean-fastjar:
8355 @if fastjar
8356 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8358 maintainer-clean-fastjar:
8359 @[ -f ./fastjar/Makefile ] || exit 0; \
8360 r=`${PWD_COMMAND}`; export r; \
8361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8362 $(HOST_EXPORTS) \
8363 for flag in $(EXTRA_HOST_FLAGS) ; do \
8364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8365 done; \
8366 echo "Doing maintainer-clean in fastjar" ; \
8367 (cd $(HOST_SUBDIR)/fastjar && \
8368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8370 "RANLIB=$${RANLIB}" \
8371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8372 maintainer-clean) \
8373 || exit 1
8375 @endif fastjar
8379 .PHONY: configure-fileutils maybe-configure-fileutils
8380 maybe-configure-fileutils:
8381 @if fileutils
8382 maybe-configure-fileutils: configure-fileutils
8383 configure-fileutils:
8384 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8385 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8386 r=`${PWD_COMMAND}`; export r; \
8387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8388 $(HOST_EXPORTS) \
8389 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8390 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8391 case $(srcdir) in \
8392 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8393 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8394 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8395 esac; \
8396 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8397 libsrcdir="$$s/fileutils"; \
8398 $(SHELL) $${libsrcdir}/configure \
8399 $(HOST_CONFIGARGS) $${srcdiroption} \
8400 || exit 1
8401 @endif fileutils
8407 .PHONY: all-fileutils maybe-all-fileutils
8408 maybe-all-fileutils:
8409 @if fileutils
8410 TARGET-fileutils=all
8411 maybe-all-fileutils: all-fileutils
8412 all-fileutils: configure-fileutils
8413 @r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 (cd $(HOST_SUBDIR)/fileutils && \
8417 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8418 @endif fileutils
8423 .PHONY: check-fileutils maybe-check-fileutils
8424 maybe-check-fileutils:
8425 @if fileutils
8426 maybe-check-fileutils: check-fileutils
8428 check-fileutils:
8429 @r=`${PWD_COMMAND}`; export r; \
8430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8431 $(HOST_EXPORTS) \
8432 (cd $(HOST_SUBDIR)/fileutils && \
8433 $(MAKE) $(FLAGS_TO_PASS) check)
8435 @endif fileutils
8437 .PHONY: install-fileutils maybe-install-fileutils
8438 maybe-install-fileutils:
8439 @if fileutils
8440 maybe-install-fileutils: install-fileutils
8442 install-fileutils: installdirs
8443 @r=`${PWD_COMMAND}`; export r; \
8444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8445 $(HOST_EXPORTS) \
8446 (cd $(HOST_SUBDIR)/fileutils && \
8447 $(MAKE) $(FLAGS_TO_PASS) install)
8449 @endif fileutils
8451 # Other targets (info, dvi, etc.)
8453 .PHONY: maybe-info-fileutils info-fileutils
8454 maybe-info-fileutils:
8455 @if fileutils
8456 maybe-info-fileutils: info-fileutils
8458 info-fileutils: \
8459 configure-fileutils
8460 @[ -f ./fileutils/Makefile ] || exit 0; \
8461 r=`${PWD_COMMAND}`; export r; \
8462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8463 $(HOST_EXPORTS) \
8464 for flag in $(EXTRA_HOST_FLAGS) ; do \
8465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8466 done; \
8467 echo "Doing info in fileutils" ; \
8468 (cd $(HOST_SUBDIR)/fileutils && \
8469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8471 "RANLIB=$${RANLIB}" \
8472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8473 info) \
8474 || exit 1
8476 @endif fileutils
8478 .PHONY: maybe-dvi-fileutils dvi-fileutils
8479 maybe-dvi-fileutils:
8480 @if fileutils
8481 maybe-dvi-fileutils: dvi-fileutils
8483 dvi-fileutils: \
8484 configure-fileutils
8485 @[ -f ./fileutils/Makefile ] || exit 0; \
8486 r=`${PWD_COMMAND}`; export r; \
8487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8488 $(HOST_EXPORTS) \
8489 for flag in $(EXTRA_HOST_FLAGS) ; do \
8490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8491 done; \
8492 echo "Doing dvi in fileutils" ; \
8493 (cd $(HOST_SUBDIR)/fileutils && \
8494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8496 "RANLIB=$${RANLIB}" \
8497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8498 dvi) \
8499 || exit 1
8501 @endif fileutils
8503 .PHONY: maybe-html-fileutils html-fileutils
8504 maybe-html-fileutils:
8505 @if fileutils
8506 maybe-html-fileutils: html-fileutils
8508 html-fileutils: \
8509 configure-fileutils
8510 @[ -f ./fileutils/Makefile ] || exit 0; \
8511 r=`${PWD_COMMAND}`; export r; \
8512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8513 $(HOST_EXPORTS) \
8514 for flag in $(EXTRA_HOST_FLAGS) ; do \
8515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8516 done; \
8517 echo "Doing html in fileutils" ; \
8518 (cd $(HOST_SUBDIR)/fileutils && \
8519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8521 "RANLIB=$${RANLIB}" \
8522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8523 html) \
8524 || exit 1
8526 @endif fileutils
8528 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8529 maybe-TAGS-fileutils:
8530 @if fileutils
8531 maybe-TAGS-fileutils: TAGS-fileutils
8533 TAGS-fileutils: \
8534 configure-fileutils
8535 @[ -f ./fileutils/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 for flag in $(EXTRA_HOST_FLAGS) ; do \
8540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8541 done; \
8542 echo "Doing TAGS in fileutils" ; \
8543 (cd $(HOST_SUBDIR)/fileutils && \
8544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8546 "RANLIB=$${RANLIB}" \
8547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8548 TAGS) \
8549 || exit 1
8551 @endif fileutils
8553 .PHONY: maybe-install-info-fileutils install-info-fileutils
8554 maybe-install-info-fileutils:
8555 @if fileutils
8556 maybe-install-info-fileutils: install-info-fileutils
8558 install-info-fileutils: \
8559 configure-fileutils \
8560 info-fileutils
8561 @[ -f ./fileutils/Makefile ] || exit 0; \
8562 r=`${PWD_COMMAND}`; export r; \
8563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8564 $(HOST_EXPORTS) \
8565 for flag in $(EXTRA_HOST_FLAGS) ; do \
8566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8567 done; \
8568 echo "Doing install-info in fileutils" ; \
8569 (cd $(HOST_SUBDIR)/fileutils && \
8570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8572 "RANLIB=$${RANLIB}" \
8573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8574 install-info) \
8575 || exit 1
8577 @endif fileutils
8579 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8580 maybe-installcheck-fileutils:
8581 @if fileutils
8582 maybe-installcheck-fileutils: installcheck-fileutils
8584 installcheck-fileutils: \
8585 configure-fileutils
8586 @[ -f ./fileutils/Makefile ] || exit 0; \
8587 r=`${PWD_COMMAND}`; export r; \
8588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8589 $(HOST_EXPORTS) \
8590 for flag in $(EXTRA_HOST_FLAGS) ; do \
8591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8592 done; \
8593 echo "Doing installcheck in fileutils" ; \
8594 (cd $(HOST_SUBDIR)/fileutils && \
8595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8597 "RANLIB=$${RANLIB}" \
8598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8599 installcheck) \
8600 || exit 1
8602 @endif fileutils
8604 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8605 maybe-mostlyclean-fileutils:
8606 @if fileutils
8607 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8609 mostlyclean-fileutils:
8610 @[ -f ./fileutils/Makefile ] || exit 0; \
8611 r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(HOST_EXPORTS) \
8614 for flag in $(EXTRA_HOST_FLAGS) ; do \
8615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8616 done; \
8617 echo "Doing mostlyclean in fileutils" ; \
8618 (cd $(HOST_SUBDIR)/fileutils && \
8619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8621 "RANLIB=$${RANLIB}" \
8622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8623 mostlyclean) \
8624 || exit 1
8626 @endif fileutils
8628 .PHONY: maybe-clean-fileutils clean-fileutils
8629 maybe-clean-fileutils:
8630 @if fileutils
8631 maybe-clean-fileutils: clean-fileutils
8633 clean-fileutils:
8634 @[ -f ./fileutils/Makefile ] || exit 0; \
8635 r=`${PWD_COMMAND}`; export r; \
8636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8637 $(HOST_EXPORTS) \
8638 for flag in $(EXTRA_HOST_FLAGS) ; do \
8639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8640 done; \
8641 echo "Doing clean in fileutils" ; \
8642 (cd $(HOST_SUBDIR)/fileutils && \
8643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8645 "RANLIB=$${RANLIB}" \
8646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8647 clean) \
8648 || exit 1
8650 @endif fileutils
8652 .PHONY: maybe-distclean-fileutils distclean-fileutils
8653 maybe-distclean-fileutils:
8654 @if fileutils
8655 maybe-distclean-fileutils: distclean-fileutils
8657 distclean-fileutils:
8658 @[ -f ./fileutils/Makefile ] || exit 0; \
8659 r=`${PWD_COMMAND}`; export r; \
8660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8661 $(HOST_EXPORTS) \
8662 for flag in $(EXTRA_HOST_FLAGS) ; do \
8663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8664 done; \
8665 echo "Doing distclean in fileutils" ; \
8666 (cd $(HOST_SUBDIR)/fileutils && \
8667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8669 "RANLIB=$${RANLIB}" \
8670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8671 distclean) \
8672 || exit 1
8674 @endif fileutils
8676 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8677 maybe-maintainer-clean-fileutils:
8678 @if fileutils
8679 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8681 maintainer-clean-fileutils:
8682 @[ -f ./fileutils/Makefile ] || exit 0; \
8683 r=`${PWD_COMMAND}`; export r; \
8684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8685 $(HOST_EXPORTS) \
8686 for flag in $(EXTRA_HOST_FLAGS) ; do \
8687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8688 done; \
8689 echo "Doing maintainer-clean in fileutils" ; \
8690 (cd $(HOST_SUBDIR)/fileutils && \
8691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8693 "RANLIB=$${RANLIB}" \
8694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8695 maintainer-clean) \
8696 || exit 1
8698 @endif fileutils
8702 .PHONY: configure-findutils maybe-configure-findutils
8703 maybe-configure-findutils:
8704 @if findutils
8705 maybe-configure-findutils: configure-findutils
8706 configure-findutils:
8707 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8708 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8709 r=`${PWD_COMMAND}`; export r; \
8710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8711 $(HOST_EXPORTS) \
8712 echo Configuring in $(HOST_SUBDIR)/findutils; \
8713 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8714 case $(srcdir) in \
8715 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8716 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8717 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8718 esac; \
8719 srcdiroption="--srcdir=$${topdir}/findutils"; \
8720 libsrcdir="$$s/findutils"; \
8721 $(SHELL) $${libsrcdir}/configure \
8722 $(HOST_CONFIGARGS) $${srcdiroption} \
8723 || exit 1
8724 @endif findutils
8730 .PHONY: all-findutils maybe-all-findutils
8731 maybe-all-findutils:
8732 @if findutils
8733 TARGET-findutils=all
8734 maybe-all-findutils: all-findutils
8735 all-findutils: configure-findutils
8736 @r=`${PWD_COMMAND}`; export r; \
8737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8738 $(HOST_EXPORTS) \
8739 (cd $(HOST_SUBDIR)/findutils && \
8740 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8741 @endif findutils
8746 .PHONY: check-findutils maybe-check-findutils
8747 maybe-check-findutils:
8748 @if findutils
8749 maybe-check-findutils: check-findutils
8751 check-findutils:
8752 @r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754 $(HOST_EXPORTS) \
8755 (cd $(HOST_SUBDIR)/findutils && \
8756 $(MAKE) $(FLAGS_TO_PASS) check)
8758 @endif findutils
8760 .PHONY: install-findutils maybe-install-findutils
8761 maybe-install-findutils:
8762 @if findutils
8763 maybe-install-findutils: install-findutils
8765 install-findutils: installdirs
8766 @r=`${PWD_COMMAND}`; export r; \
8767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8768 $(HOST_EXPORTS) \
8769 (cd $(HOST_SUBDIR)/findutils && \
8770 $(MAKE) $(FLAGS_TO_PASS) install)
8772 @endif findutils
8774 # Other targets (info, dvi, etc.)
8776 .PHONY: maybe-info-findutils info-findutils
8777 maybe-info-findutils:
8778 @if findutils
8779 maybe-info-findutils: info-findutils
8781 info-findutils: \
8782 configure-findutils
8783 @[ -f ./findutils/Makefile ] || exit 0; \
8784 r=`${PWD_COMMAND}`; export r; \
8785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8786 $(HOST_EXPORTS) \
8787 for flag in $(EXTRA_HOST_FLAGS) ; do \
8788 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8789 done; \
8790 echo "Doing info in findutils" ; \
8791 (cd $(HOST_SUBDIR)/findutils && \
8792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8794 "RANLIB=$${RANLIB}" \
8795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8796 info) \
8797 || exit 1
8799 @endif findutils
8801 .PHONY: maybe-dvi-findutils dvi-findutils
8802 maybe-dvi-findutils:
8803 @if findutils
8804 maybe-dvi-findutils: dvi-findutils
8806 dvi-findutils: \
8807 configure-findutils
8808 @[ -f ./findutils/Makefile ] || exit 0; \
8809 r=`${PWD_COMMAND}`; export r; \
8810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8811 $(HOST_EXPORTS) \
8812 for flag in $(EXTRA_HOST_FLAGS) ; do \
8813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8814 done; \
8815 echo "Doing dvi in findutils" ; \
8816 (cd $(HOST_SUBDIR)/findutils && \
8817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8819 "RANLIB=$${RANLIB}" \
8820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8821 dvi) \
8822 || exit 1
8824 @endif findutils
8826 .PHONY: maybe-html-findutils html-findutils
8827 maybe-html-findutils:
8828 @if findutils
8829 maybe-html-findutils: html-findutils
8831 html-findutils: \
8832 configure-findutils
8833 @[ -f ./findutils/Makefile ] || exit 0; \
8834 r=`${PWD_COMMAND}`; export r; \
8835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8836 $(HOST_EXPORTS) \
8837 for flag in $(EXTRA_HOST_FLAGS) ; do \
8838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8839 done; \
8840 echo "Doing html in findutils" ; \
8841 (cd $(HOST_SUBDIR)/findutils && \
8842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8844 "RANLIB=$${RANLIB}" \
8845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8846 html) \
8847 || exit 1
8849 @endif findutils
8851 .PHONY: maybe-TAGS-findutils TAGS-findutils
8852 maybe-TAGS-findutils:
8853 @if findutils
8854 maybe-TAGS-findutils: TAGS-findutils
8856 TAGS-findutils: \
8857 configure-findutils
8858 @[ -f ./findutils/Makefile ] || exit 0; \
8859 r=`${PWD_COMMAND}`; export r; \
8860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8861 $(HOST_EXPORTS) \
8862 for flag in $(EXTRA_HOST_FLAGS) ; do \
8863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8864 done; \
8865 echo "Doing TAGS in findutils" ; \
8866 (cd $(HOST_SUBDIR)/findutils && \
8867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8869 "RANLIB=$${RANLIB}" \
8870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8871 TAGS) \
8872 || exit 1
8874 @endif findutils
8876 .PHONY: maybe-install-info-findutils install-info-findutils
8877 maybe-install-info-findutils:
8878 @if findutils
8879 maybe-install-info-findutils: install-info-findutils
8881 install-info-findutils: \
8882 configure-findutils \
8883 info-findutils
8884 @[ -f ./findutils/Makefile ] || exit 0; \
8885 r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887 $(HOST_EXPORTS) \
8888 for flag in $(EXTRA_HOST_FLAGS) ; do \
8889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8890 done; \
8891 echo "Doing install-info in findutils" ; \
8892 (cd $(HOST_SUBDIR)/findutils && \
8893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8895 "RANLIB=$${RANLIB}" \
8896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8897 install-info) \
8898 || exit 1
8900 @endif findutils
8902 .PHONY: maybe-installcheck-findutils installcheck-findutils
8903 maybe-installcheck-findutils:
8904 @if findutils
8905 maybe-installcheck-findutils: installcheck-findutils
8907 installcheck-findutils: \
8908 configure-findutils
8909 @[ -f ./findutils/Makefile ] || exit 0; \
8910 r=`${PWD_COMMAND}`; export r; \
8911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8912 $(HOST_EXPORTS) \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8915 done; \
8916 echo "Doing installcheck in findutils" ; \
8917 (cd $(HOST_SUBDIR)/findutils && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8922 installcheck) \
8923 || exit 1
8925 @endif findutils
8927 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8928 maybe-mostlyclean-findutils:
8929 @if findutils
8930 maybe-mostlyclean-findutils: mostlyclean-findutils
8932 mostlyclean-findutils:
8933 @[ -f ./findutils/Makefile ] || exit 0; \
8934 r=`${PWD_COMMAND}`; export r; \
8935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936 $(HOST_EXPORTS) \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 done; \
8940 echo "Doing mostlyclean in findutils" ; \
8941 (cd $(HOST_SUBDIR)/findutils && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946 mostlyclean) \
8947 || exit 1
8949 @endif findutils
8951 .PHONY: maybe-clean-findutils clean-findutils
8952 maybe-clean-findutils:
8953 @if findutils
8954 maybe-clean-findutils: clean-findutils
8956 clean-findutils:
8957 @[ -f ./findutils/Makefile ] || exit 0; \
8958 r=`${PWD_COMMAND}`; export r; \
8959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8960 $(HOST_EXPORTS) \
8961 for flag in $(EXTRA_HOST_FLAGS) ; do \
8962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8963 done; \
8964 echo "Doing clean in findutils" ; \
8965 (cd $(HOST_SUBDIR)/findutils && \
8966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8968 "RANLIB=$${RANLIB}" \
8969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8970 clean) \
8971 || exit 1
8973 @endif findutils
8975 .PHONY: maybe-distclean-findutils distclean-findutils
8976 maybe-distclean-findutils:
8977 @if findutils
8978 maybe-distclean-findutils: distclean-findutils
8980 distclean-findutils:
8981 @[ -f ./findutils/Makefile ] || exit 0; \
8982 r=`${PWD_COMMAND}`; export r; \
8983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8984 $(HOST_EXPORTS) \
8985 for flag in $(EXTRA_HOST_FLAGS) ; do \
8986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8987 done; \
8988 echo "Doing distclean in findutils" ; \
8989 (cd $(HOST_SUBDIR)/findutils && \
8990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8992 "RANLIB=$${RANLIB}" \
8993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8994 distclean) \
8995 || exit 1
8997 @endif findutils
8999 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9000 maybe-maintainer-clean-findutils:
9001 @if findutils
9002 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9004 maintainer-clean-findutils:
9005 @[ -f ./findutils/Makefile ] || exit 0; \
9006 r=`${PWD_COMMAND}`; export r; \
9007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 maintainer-clean in findutils" ; \
9013 (cd $(HOST_SUBDIR)/findutils && \
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 maintainer-clean) \
9019 || exit 1
9021 @endif findutils
9025 .PHONY: configure-find maybe-configure-find
9026 maybe-configure-find:
9027 @if find
9028 maybe-configure-find: configure-find
9029 configure-find:
9030 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9031 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9032 r=`${PWD_COMMAND}`; export r; \
9033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9034 $(HOST_EXPORTS) \
9035 echo Configuring in $(HOST_SUBDIR)/find; \
9036 cd "$(HOST_SUBDIR)/find" || exit 1; \
9037 case $(srcdir) in \
9038 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9039 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9040 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9041 esac; \
9042 srcdiroption="--srcdir=$${topdir}/find"; \
9043 libsrcdir="$$s/find"; \
9044 $(SHELL) $${libsrcdir}/configure \
9045 $(HOST_CONFIGARGS) $${srcdiroption} \
9046 || exit 1
9047 @endif find
9053 .PHONY: all-find maybe-all-find
9054 maybe-all-find:
9055 @if find
9056 TARGET-find=all
9057 maybe-all-find: all-find
9058 all-find: configure-find
9059 @r=`${PWD_COMMAND}`; export r; \
9060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9061 $(HOST_EXPORTS) \
9062 (cd $(HOST_SUBDIR)/find && \
9063 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9064 @endif find
9069 .PHONY: check-find maybe-check-find
9070 maybe-check-find:
9071 @if find
9072 maybe-check-find: check-find
9074 check-find:
9075 @r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077 $(HOST_EXPORTS) \
9078 (cd $(HOST_SUBDIR)/find && \
9079 $(MAKE) $(FLAGS_TO_PASS) check)
9081 @endif find
9083 .PHONY: install-find maybe-install-find
9084 maybe-install-find:
9085 @if find
9086 maybe-install-find: install-find
9088 install-find: installdirs
9089 @r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 (cd $(HOST_SUBDIR)/find && \
9093 $(MAKE) $(FLAGS_TO_PASS) install)
9095 @endif find
9097 # Other targets (info, dvi, etc.)
9099 .PHONY: maybe-info-find info-find
9100 maybe-info-find:
9101 @if find
9102 maybe-info-find: info-find
9104 info-find: \
9105 configure-find
9106 @[ -f ./find/Makefile ] || exit 0; \
9107 r=`${PWD_COMMAND}`; export r; \
9108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9109 $(HOST_EXPORTS) \
9110 for flag in $(EXTRA_HOST_FLAGS) ; do \
9111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9112 done; \
9113 echo "Doing info in find" ; \
9114 (cd $(HOST_SUBDIR)/find && \
9115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9117 "RANLIB=$${RANLIB}" \
9118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9119 info) \
9120 || exit 1
9122 @endif find
9124 .PHONY: maybe-dvi-find dvi-find
9125 maybe-dvi-find:
9126 @if find
9127 maybe-dvi-find: dvi-find
9129 dvi-find: \
9130 configure-find
9131 @[ -f ./find/Makefile ] || exit 0; \
9132 r=`${PWD_COMMAND}`; export r; \
9133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9134 $(HOST_EXPORTS) \
9135 for flag in $(EXTRA_HOST_FLAGS) ; do \
9136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9137 done; \
9138 echo "Doing dvi in find" ; \
9139 (cd $(HOST_SUBDIR)/find && \
9140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9142 "RANLIB=$${RANLIB}" \
9143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9144 dvi) \
9145 || exit 1
9147 @endif find
9149 .PHONY: maybe-html-find html-find
9150 maybe-html-find:
9151 @if find
9152 maybe-html-find: html-find
9154 html-find: \
9155 configure-find
9156 @[ -f ./find/Makefile ] || exit 0; \
9157 r=`${PWD_COMMAND}`; export r; \
9158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9159 $(HOST_EXPORTS) \
9160 for flag in $(EXTRA_HOST_FLAGS) ; do \
9161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9162 done; \
9163 echo "Doing html in find" ; \
9164 (cd $(HOST_SUBDIR)/find && \
9165 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9166 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9167 "RANLIB=$${RANLIB}" \
9168 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9169 html) \
9170 || exit 1
9172 @endif find
9174 .PHONY: maybe-TAGS-find TAGS-find
9175 maybe-TAGS-find:
9176 @if find
9177 maybe-TAGS-find: TAGS-find
9179 TAGS-find: \
9180 configure-find
9181 @[ -f ./find/Makefile ] || exit 0; \
9182 r=`${PWD_COMMAND}`; export r; \
9183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9184 $(HOST_EXPORTS) \
9185 for flag in $(EXTRA_HOST_FLAGS) ; do \
9186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9187 done; \
9188 echo "Doing TAGS in find" ; \
9189 (cd $(HOST_SUBDIR)/find && \
9190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9192 "RANLIB=$${RANLIB}" \
9193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9194 TAGS) \
9195 || exit 1
9197 @endif find
9199 .PHONY: maybe-install-info-find install-info-find
9200 maybe-install-info-find:
9201 @if find
9202 maybe-install-info-find: install-info-find
9204 install-info-find: \
9205 configure-find \
9206 info-find
9207 @[ -f ./find/Makefile ] || exit 0; \
9208 r=`${PWD_COMMAND}`; export r; \
9209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9210 $(HOST_EXPORTS) \
9211 for flag in $(EXTRA_HOST_FLAGS) ; do \
9212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9213 done; \
9214 echo "Doing install-info in find" ; \
9215 (cd $(HOST_SUBDIR)/find && \
9216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9218 "RANLIB=$${RANLIB}" \
9219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9220 install-info) \
9221 || exit 1
9223 @endif find
9225 .PHONY: maybe-installcheck-find installcheck-find
9226 maybe-installcheck-find:
9227 @if find
9228 maybe-installcheck-find: installcheck-find
9230 installcheck-find: \
9231 configure-find
9232 @[ -f ./find/Makefile ] || exit 0; \
9233 r=`${PWD_COMMAND}`; export r; \
9234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9235 $(HOST_EXPORTS) \
9236 for flag in $(EXTRA_HOST_FLAGS) ; do \
9237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9238 done; \
9239 echo "Doing installcheck in find" ; \
9240 (cd $(HOST_SUBDIR)/find && \
9241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9243 "RANLIB=$${RANLIB}" \
9244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9245 installcheck) \
9246 || exit 1
9248 @endif find
9250 .PHONY: maybe-mostlyclean-find mostlyclean-find
9251 maybe-mostlyclean-find:
9252 @if find
9253 maybe-mostlyclean-find: mostlyclean-find
9255 mostlyclean-find:
9256 @[ -f ./find/Makefile ] || exit 0; \
9257 r=`${PWD_COMMAND}`; export r; \
9258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9259 $(HOST_EXPORTS) \
9260 for flag in $(EXTRA_HOST_FLAGS) ; do \
9261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9262 done; \
9263 echo "Doing mostlyclean in find" ; \
9264 (cd $(HOST_SUBDIR)/find && \
9265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9267 "RANLIB=$${RANLIB}" \
9268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9269 mostlyclean) \
9270 || exit 1
9272 @endif find
9274 .PHONY: maybe-clean-find clean-find
9275 maybe-clean-find:
9276 @if find
9277 maybe-clean-find: clean-find
9279 clean-find:
9280 @[ -f ./find/Makefile ] || exit 0; \
9281 r=`${PWD_COMMAND}`; export r; \
9282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9283 $(HOST_EXPORTS) \
9284 for flag in $(EXTRA_HOST_FLAGS) ; do \
9285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9286 done; \
9287 echo "Doing clean in find" ; \
9288 (cd $(HOST_SUBDIR)/find && \
9289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9291 "RANLIB=$${RANLIB}" \
9292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9293 clean) \
9294 || exit 1
9296 @endif find
9298 .PHONY: maybe-distclean-find distclean-find
9299 maybe-distclean-find:
9300 @if find
9301 maybe-distclean-find: distclean-find
9303 distclean-find:
9304 @[ -f ./find/Makefile ] || exit 0; \
9305 r=`${PWD_COMMAND}`; export r; \
9306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9307 $(HOST_EXPORTS) \
9308 for flag in $(EXTRA_HOST_FLAGS) ; do \
9309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9310 done; \
9311 echo "Doing distclean in find" ; \
9312 (cd $(HOST_SUBDIR)/find && \
9313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9315 "RANLIB=$${RANLIB}" \
9316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9317 distclean) \
9318 || exit 1
9320 @endif find
9322 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9323 maybe-maintainer-clean-find:
9324 @if find
9325 maybe-maintainer-clean-find: maintainer-clean-find
9327 maintainer-clean-find:
9328 @[ -f ./find/Makefile ] || exit 0; \
9329 r=`${PWD_COMMAND}`; export r; \
9330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9331 $(HOST_EXPORTS) \
9332 for flag in $(EXTRA_HOST_FLAGS) ; do \
9333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9334 done; \
9335 echo "Doing maintainer-clean in find" ; \
9336 (cd $(HOST_SUBDIR)/find && \
9337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9339 "RANLIB=$${RANLIB}" \
9340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9341 maintainer-clean) \
9342 || exit 1
9344 @endif find
9348 .PHONY: configure-fixincludes maybe-configure-fixincludes
9349 maybe-configure-fixincludes:
9350 @if fixincludes
9351 maybe-configure-fixincludes: configure-fixincludes
9352 configure-fixincludes:
9353 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9354 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9355 r=`${PWD_COMMAND}`; export r; \
9356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9357 $(HOST_EXPORTS) \
9358 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9359 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9360 case $(srcdir) in \
9361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9362 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9364 esac; \
9365 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9366 libsrcdir="$$s/fixincludes"; \
9367 $(SHELL) $${libsrcdir}/configure \
9368 $(HOST_CONFIGARGS) $${srcdiroption} \
9369 || exit 1
9370 @endif fixincludes
9376 .PHONY: all-fixincludes maybe-all-fixincludes
9377 maybe-all-fixincludes:
9378 @if fixincludes
9379 TARGET-fixincludes=all
9380 maybe-all-fixincludes: all-fixincludes
9381 all-fixincludes: configure-fixincludes
9382 @r=`${PWD_COMMAND}`; export r; \
9383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9384 $(HOST_EXPORTS) \
9385 (cd $(HOST_SUBDIR)/fixincludes && \
9386 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9387 @endif fixincludes
9392 .PHONY: check-fixincludes maybe-check-fixincludes
9393 maybe-check-fixincludes:
9394 @if fixincludes
9395 maybe-check-fixincludes: check-fixincludes
9397 check-fixincludes:
9398 @r=`${PWD_COMMAND}`; export r; \
9399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9400 $(HOST_EXPORTS) \
9401 (cd $(HOST_SUBDIR)/fixincludes && \
9402 $(MAKE) $(FLAGS_TO_PASS) check)
9404 @endif fixincludes
9406 .PHONY: install-fixincludes maybe-install-fixincludes
9407 maybe-install-fixincludes:
9408 @if fixincludes
9409 maybe-install-fixincludes: install-fixincludes
9411 install-fixincludes: installdirs
9412 @r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 $(HOST_EXPORTS) \
9415 (cd $(HOST_SUBDIR)/fixincludes && \
9416 $(MAKE) $(FLAGS_TO_PASS) install)
9418 @endif fixincludes
9420 # Other targets (info, dvi, etc.)
9422 .PHONY: maybe-info-fixincludes info-fixincludes
9423 maybe-info-fixincludes:
9424 @if fixincludes
9425 maybe-info-fixincludes: info-fixincludes
9427 # fixincludes doesn't support info.
9428 info-fixincludes:
9430 @endif fixincludes
9432 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9433 maybe-dvi-fixincludes:
9434 @if fixincludes
9435 maybe-dvi-fixincludes: dvi-fixincludes
9437 # fixincludes doesn't support dvi.
9438 dvi-fixincludes:
9440 @endif fixincludes
9442 .PHONY: maybe-html-fixincludes html-fixincludes
9443 maybe-html-fixincludes:
9444 @if fixincludes
9445 maybe-html-fixincludes: html-fixincludes
9447 html-fixincludes: \
9448 configure-fixincludes
9449 @[ -f ./fixincludes/Makefile ] || exit 0; \
9450 r=`${PWD_COMMAND}`; export r; \
9451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9452 $(HOST_EXPORTS) \
9453 for flag in $(EXTRA_HOST_FLAGS) ; do \
9454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9455 done; \
9456 echo "Doing html in fixincludes" ; \
9457 (cd $(HOST_SUBDIR)/fixincludes && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9460 "RANLIB=$${RANLIB}" \
9461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9462 html) \
9463 || exit 1
9465 @endif fixincludes
9467 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9468 maybe-TAGS-fixincludes:
9469 @if fixincludes
9470 maybe-TAGS-fixincludes: TAGS-fixincludes
9472 # fixincludes doesn't support TAGS.
9473 TAGS-fixincludes:
9475 @endif fixincludes
9477 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9478 maybe-install-info-fixincludes:
9479 @if fixincludes
9480 maybe-install-info-fixincludes: install-info-fixincludes
9482 # fixincludes doesn't support install-info.
9483 install-info-fixincludes:
9485 @endif fixincludes
9487 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9488 maybe-installcheck-fixincludes:
9489 @if fixincludes
9490 maybe-installcheck-fixincludes: installcheck-fixincludes
9492 # fixincludes doesn't support installcheck.
9493 installcheck-fixincludes:
9495 @endif fixincludes
9497 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9498 maybe-mostlyclean-fixincludes:
9499 @if fixincludes
9500 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9502 mostlyclean-fixincludes:
9503 @[ -f ./fixincludes/Makefile ] || exit 0; \
9504 r=`${PWD_COMMAND}`; export r; \
9505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9506 $(HOST_EXPORTS) \
9507 for flag in $(EXTRA_HOST_FLAGS) ; do \
9508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9509 done; \
9510 echo "Doing mostlyclean in fixincludes" ; \
9511 (cd $(HOST_SUBDIR)/fixincludes && \
9512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9514 "RANLIB=$${RANLIB}" \
9515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9516 mostlyclean) \
9517 || exit 1
9519 @endif fixincludes
9521 .PHONY: maybe-clean-fixincludes clean-fixincludes
9522 maybe-clean-fixincludes:
9523 @if fixincludes
9524 maybe-clean-fixincludes: clean-fixincludes
9526 clean-fixincludes:
9527 @[ -f ./fixincludes/Makefile ] || exit 0; \
9528 r=`${PWD_COMMAND}`; export r; \
9529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9530 $(HOST_EXPORTS) \
9531 for flag in $(EXTRA_HOST_FLAGS) ; do \
9532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9533 done; \
9534 echo "Doing clean in fixincludes" ; \
9535 (cd $(HOST_SUBDIR)/fixincludes && \
9536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9538 "RANLIB=$${RANLIB}" \
9539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9540 clean) \
9541 || exit 1
9543 @endif fixincludes
9545 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9546 maybe-distclean-fixincludes:
9547 @if fixincludes
9548 maybe-distclean-fixincludes: distclean-fixincludes
9550 distclean-fixincludes:
9551 @[ -f ./fixincludes/Makefile ] || exit 0; \
9552 r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 $(HOST_EXPORTS) \
9555 for flag in $(EXTRA_HOST_FLAGS) ; do \
9556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9557 done; \
9558 echo "Doing distclean in fixincludes" ; \
9559 (cd $(HOST_SUBDIR)/fixincludes && \
9560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9562 "RANLIB=$${RANLIB}" \
9563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9564 distclean) \
9565 || exit 1
9567 @endif fixincludes
9569 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9570 maybe-maintainer-clean-fixincludes:
9571 @if fixincludes
9572 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9574 maintainer-clean-fixincludes:
9575 @[ -f ./fixincludes/Makefile ] || exit 0; \
9576 r=`${PWD_COMMAND}`; export r; \
9577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9578 $(HOST_EXPORTS) \
9579 for flag in $(EXTRA_HOST_FLAGS) ; do \
9580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9581 done; \
9582 echo "Doing maintainer-clean in fixincludes" ; \
9583 (cd $(HOST_SUBDIR)/fixincludes && \
9584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9586 "RANLIB=$${RANLIB}" \
9587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9588 maintainer-clean) \
9589 || exit 1
9591 @endif fixincludes
9595 .PHONY: configure-flex maybe-configure-flex
9596 maybe-configure-flex:
9597 @if flex
9598 maybe-configure-flex: configure-flex
9599 configure-flex:
9600 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9601 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9602 r=`${PWD_COMMAND}`; export r; \
9603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9604 $(HOST_EXPORTS) \
9605 echo Configuring in $(HOST_SUBDIR)/flex; \
9606 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9607 case $(srcdir) in \
9608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9609 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9611 esac; \
9612 srcdiroption="--srcdir=$${topdir}/flex"; \
9613 libsrcdir="$$s/flex"; \
9614 $(SHELL) $${libsrcdir}/configure \
9615 $(HOST_CONFIGARGS) $${srcdiroption} \
9616 || exit 1
9617 @endif flex
9623 .PHONY: all-flex maybe-all-flex
9624 maybe-all-flex:
9625 @if flex
9626 TARGET-flex=all
9627 maybe-all-flex: all-flex
9628 all-flex: configure-flex
9629 @r=`${PWD_COMMAND}`; export r; \
9630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9631 $(HOST_EXPORTS) \
9632 (cd $(HOST_SUBDIR)/flex && \
9633 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9634 @endif flex
9639 .PHONY: check-flex maybe-check-flex
9640 maybe-check-flex:
9641 @if flex
9642 maybe-check-flex: check-flex
9644 # This module is only tested in a native toolchain.
9645 check-flex:
9646 @if [ '$(host)' = '$(target)' ] ; then \
9647 r=`${PWD_COMMAND}`; export r; \
9648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9649 $(HOST_EXPORTS) \
9650 (cd $(HOST_SUBDIR)/flex && \
9651 $(MAKE) $(FLAGS_TO_PASS) check); \
9654 @endif flex
9656 .PHONY: install-flex maybe-install-flex
9657 maybe-install-flex:
9658 @if flex
9659 maybe-install-flex: install-flex
9661 install-flex: installdirs
9662 @r=`${PWD_COMMAND}`; export r; \
9663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9664 $(HOST_EXPORTS) \
9665 (cd $(HOST_SUBDIR)/flex && \
9666 $(MAKE) $(FLAGS_TO_PASS) install)
9668 @endif flex
9670 # Other targets (info, dvi, etc.)
9672 .PHONY: maybe-info-flex info-flex
9673 maybe-info-flex:
9674 @if flex
9675 maybe-info-flex: info-flex
9677 info-flex: \
9678 configure-flex
9679 @[ -f ./flex/Makefile ] || exit 0; \
9680 r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 $(HOST_EXPORTS) \
9683 for flag in $(EXTRA_HOST_FLAGS) ; do \
9684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9685 done; \
9686 echo "Doing info in flex" ; \
9687 (cd $(HOST_SUBDIR)/flex && \
9688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9690 "RANLIB=$${RANLIB}" \
9691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9692 info) \
9693 || exit 1
9695 @endif flex
9697 .PHONY: maybe-dvi-flex dvi-flex
9698 maybe-dvi-flex:
9699 @if flex
9700 maybe-dvi-flex: dvi-flex
9702 dvi-flex: \
9703 configure-flex
9704 @[ -f ./flex/Makefile ] || exit 0; \
9705 r=`${PWD_COMMAND}`; export r; \
9706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9707 $(HOST_EXPORTS) \
9708 for flag in $(EXTRA_HOST_FLAGS) ; do \
9709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9710 done; \
9711 echo "Doing dvi in flex" ; \
9712 (cd $(HOST_SUBDIR)/flex && \
9713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9715 "RANLIB=$${RANLIB}" \
9716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9717 dvi) \
9718 || exit 1
9720 @endif flex
9722 .PHONY: maybe-html-flex html-flex
9723 maybe-html-flex:
9724 @if flex
9725 maybe-html-flex: html-flex
9727 html-flex: \
9728 configure-flex
9729 @[ -f ./flex/Makefile ] || exit 0; \
9730 r=`${PWD_COMMAND}`; export r; \
9731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9732 $(HOST_EXPORTS) \
9733 for flag in $(EXTRA_HOST_FLAGS) ; do \
9734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9735 done; \
9736 echo "Doing html in flex" ; \
9737 (cd $(HOST_SUBDIR)/flex && \
9738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9740 "RANLIB=$${RANLIB}" \
9741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9742 html) \
9743 || exit 1
9745 @endif flex
9747 .PHONY: maybe-TAGS-flex TAGS-flex
9748 maybe-TAGS-flex:
9749 @if flex
9750 maybe-TAGS-flex: TAGS-flex
9752 TAGS-flex: \
9753 configure-flex
9754 @[ -f ./flex/Makefile ] || exit 0; \
9755 r=`${PWD_COMMAND}`; export r; \
9756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9757 $(HOST_EXPORTS) \
9758 for flag in $(EXTRA_HOST_FLAGS) ; do \
9759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9760 done; \
9761 echo "Doing TAGS in flex" ; \
9762 (cd $(HOST_SUBDIR)/flex && \
9763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9765 "RANLIB=$${RANLIB}" \
9766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9767 TAGS) \
9768 || exit 1
9770 @endif flex
9772 .PHONY: maybe-install-info-flex install-info-flex
9773 maybe-install-info-flex:
9774 @if flex
9775 maybe-install-info-flex: install-info-flex
9777 install-info-flex: \
9778 configure-flex \
9779 info-flex
9780 @[ -f ./flex/Makefile ] || exit 0; \
9781 r=`${PWD_COMMAND}`; export r; \
9782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9783 $(HOST_EXPORTS) \
9784 for flag in $(EXTRA_HOST_FLAGS) ; do \
9785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9786 done; \
9787 echo "Doing install-info in flex" ; \
9788 (cd $(HOST_SUBDIR)/flex && \
9789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9791 "RANLIB=$${RANLIB}" \
9792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9793 install-info) \
9794 || exit 1
9796 @endif flex
9798 .PHONY: maybe-installcheck-flex installcheck-flex
9799 maybe-installcheck-flex:
9800 @if flex
9801 maybe-installcheck-flex: installcheck-flex
9803 installcheck-flex: \
9804 configure-flex
9805 @[ -f ./flex/Makefile ] || exit 0; \
9806 r=`${PWD_COMMAND}`; export r; \
9807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9808 $(HOST_EXPORTS) \
9809 for flag in $(EXTRA_HOST_FLAGS) ; do \
9810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9811 done; \
9812 echo "Doing installcheck in flex" ; \
9813 (cd $(HOST_SUBDIR)/flex && \
9814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9816 "RANLIB=$${RANLIB}" \
9817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9818 installcheck) \
9819 || exit 1
9821 @endif flex
9823 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9824 maybe-mostlyclean-flex:
9825 @if flex
9826 maybe-mostlyclean-flex: mostlyclean-flex
9828 mostlyclean-flex:
9829 @[ -f ./flex/Makefile ] || exit 0; \
9830 r=`${PWD_COMMAND}`; export r; \
9831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9832 $(HOST_EXPORTS) \
9833 for flag in $(EXTRA_HOST_FLAGS) ; do \
9834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9835 done; \
9836 echo "Doing mostlyclean in flex" ; \
9837 (cd $(HOST_SUBDIR)/flex && \
9838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9840 "RANLIB=$${RANLIB}" \
9841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9842 mostlyclean) \
9843 || exit 1
9845 @endif flex
9847 .PHONY: maybe-clean-flex clean-flex
9848 maybe-clean-flex:
9849 @if flex
9850 maybe-clean-flex: clean-flex
9852 clean-flex:
9853 @[ -f ./flex/Makefile ] || exit 0; \
9854 r=`${PWD_COMMAND}`; export r; \
9855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9856 $(HOST_EXPORTS) \
9857 for flag in $(EXTRA_HOST_FLAGS) ; do \
9858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9859 done; \
9860 echo "Doing clean in flex" ; \
9861 (cd $(HOST_SUBDIR)/flex && \
9862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9864 "RANLIB=$${RANLIB}" \
9865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9866 clean) \
9867 || exit 1
9869 @endif flex
9871 .PHONY: maybe-distclean-flex distclean-flex
9872 maybe-distclean-flex:
9873 @if flex
9874 maybe-distclean-flex: distclean-flex
9876 distclean-flex:
9877 @[ -f ./flex/Makefile ] || exit 0; \
9878 r=`${PWD_COMMAND}`; export r; \
9879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9880 $(HOST_EXPORTS) \
9881 for flag in $(EXTRA_HOST_FLAGS) ; do \
9882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9883 done; \
9884 echo "Doing distclean in flex" ; \
9885 (cd $(HOST_SUBDIR)/flex && \
9886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9888 "RANLIB=$${RANLIB}" \
9889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9890 distclean) \
9891 || exit 1
9893 @endif flex
9895 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9896 maybe-maintainer-clean-flex:
9897 @if flex
9898 maybe-maintainer-clean-flex: maintainer-clean-flex
9900 maintainer-clean-flex:
9901 @[ -f ./flex/Makefile ] || exit 0; \
9902 r=`${PWD_COMMAND}`; export r; \
9903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9904 $(HOST_EXPORTS) \
9905 for flag in $(EXTRA_HOST_FLAGS) ; do \
9906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9907 done; \
9908 echo "Doing maintainer-clean in flex" ; \
9909 (cd $(HOST_SUBDIR)/flex && \
9910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9912 "RANLIB=$${RANLIB}" \
9913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9914 maintainer-clean) \
9915 || exit 1
9917 @endif flex
9921 .PHONY: configure-gas maybe-configure-gas
9922 maybe-configure-gas:
9923 @if gas
9924 maybe-configure-gas: configure-gas
9925 configure-gas:
9926 @test -f stage_last && exit 0; \
9927 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9928 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9929 r=`${PWD_COMMAND}`; export r; \
9930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9931 $(HOST_EXPORTS) \
9932 echo Configuring in $(HOST_SUBDIR)/gas; \
9933 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9934 case $(srcdir) in \
9935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9936 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9938 esac; \
9939 srcdiroption="--srcdir=$${topdir}/gas"; \
9940 libsrcdir="$$s/gas"; \
9941 $(SHELL) $${libsrcdir}/configure \
9942 $(HOST_CONFIGARGS) $${srcdiroption} \
9943 || exit 1
9944 @endif gas
9948 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9949 maybe-configure-stage1-gas:
9950 @if gas-bootstrap
9951 maybe-configure-stage1-gas: configure-stage1-gas
9952 configure-stage1-gas:
9953 @$(MAKE) stage1-start
9954 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9955 r=`${PWD_COMMAND}`; export r; \
9956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9957 $(HOST_EXPORTS) \
9958 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9959 cd $(HOST_SUBDIR)/gas || exit 1; \
9960 case $(srcdir) in \
9961 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9962 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9963 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9964 esac; \
9965 srcdiroption="--srcdir=$${topdir}/gas"; \
9966 libsrcdir="$$s/gas"; \
9967 $(SHELL) $${libsrcdir}/configure \
9968 $(HOST_CONFIGARGS) $${srcdiroption} \
9969 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
9970 @endif gas-bootstrap
9972 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9973 maybe-configure-stage2-gas:
9974 @if gas-bootstrap
9975 maybe-configure-stage2-gas: configure-stage2-gas
9976 configure-stage2-gas:
9977 @$(MAKE) stage2-start
9978 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9979 r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 $(HOST_EXPORTS) \
9982 $(POSTSTAGE1_HOST_EXPORTS) \
9983 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9984 cd $(HOST_SUBDIR)/gas || exit 1; \
9985 case $(srcdir) in \
9986 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9987 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9988 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9989 esac; \
9990 srcdiroption="--srcdir=$${topdir}/gas"; \
9991 libsrcdir="$$s/gas"; \
9992 $(SHELL) $${libsrcdir}/configure \
9993 $(HOST_CONFIGARGS) $${srcdiroption} \
9994 @stage2_werror_flag@
9995 @endif gas-bootstrap
9997 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9998 maybe-configure-stage3-gas:
9999 @if gas-bootstrap
10000 maybe-configure-stage3-gas: configure-stage3-gas
10001 configure-stage3-gas:
10002 @$(MAKE) stage3-start
10003 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10004 r=`${PWD_COMMAND}`; export r; \
10005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10006 $(HOST_EXPORTS) \
10007 $(POSTSTAGE1_HOST_EXPORTS) \
10008 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10009 cd $(HOST_SUBDIR)/gas || exit 1; \
10010 case $(srcdir) in \
10011 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10012 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10013 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10014 esac; \
10015 srcdiroption="--srcdir=$${topdir}/gas"; \
10016 libsrcdir="$$s/gas"; \
10017 $(SHELL) $${libsrcdir}/configure \
10018 $(HOST_CONFIGARGS) $${srcdiroption} \
10019 @stage2_werror_flag@
10020 @endif gas-bootstrap
10022 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10023 maybe-configure-stage4-gas:
10024 @if gas-bootstrap
10025 maybe-configure-stage4-gas: configure-stage4-gas
10026 configure-stage4-gas:
10027 @$(MAKE) stage4-start
10028 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10029 r=`${PWD_COMMAND}`; export r; \
10030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10031 $(HOST_EXPORTS) \
10032 $(POSTSTAGE1_HOST_EXPORTS) \
10033 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10034 cd $(HOST_SUBDIR)/gas || exit 1; \
10035 case $(srcdir) in \
10036 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10037 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10038 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10039 esac; \
10040 srcdiroption="--srcdir=$${topdir}/gas"; \
10041 libsrcdir="$$s/gas"; \
10042 $(SHELL) $${libsrcdir}/configure \
10043 $(HOST_CONFIGARGS) $${srcdiroption} \
10044 @stage2_werror_flag@
10045 @endif gas-bootstrap
10047 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10048 maybe-configure-stageprofile-gas:
10049 @if gas-bootstrap
10050 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10051 configure-stageprofile-gas:
10052 @$(MAKE) stageprofile-start
10053 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10054 r=`${PWD_COMMAND}`; export r; \
10055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10056 $(HOST_EXPORTS) \
10057 $(POSTSTAGE1_HOST_EXPORTS) \
10058 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10059 cd $(HOST_SUBDIR)/gas || exit 1; \
10060 case $(srcdir) in \
10061 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10062 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10063 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10064 esac; \
10065 srcdiroption="--srcdir=$${topdir}/gas"; \
10066 libsrcdir="$$s/gas"; \
10067 $(SHELL) $${libsrcdir}/configure \
10068 $(HOST_CONFIGARGS) $${srcdiroption} \
10069 @stage2_werror_flag@
10070 @endif gas-bootstrap
10072 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10073 maybe-configure-stagefeedback-gas:
10074 @if gas-bootstrap
10075 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10076 configure-stagefeedback-gas:
10077 @$(MAKE) stagefeedback-start
10078 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(HOST_EXPORTS) \
10082 $(POSTSTAGE1_HOST_EXPORTS) \
10083 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10084 cd $(HOST_SUBDIR)/gas || exit 1; \
10085 case $(srcdir) in \
10086 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10087 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10088 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10089 esac; \
10090 srcdiroption="--srcdir=$${topdir}/gas"; \
10091 libsrcdir="$$s/gas"; \
10092 $(SHELL) $${libsrcdir}/configure \
10093 $(HOST_CONFIGARGS) $${srcdiroption} \
10094 @stage2_werror_flag@
10095 @endif gas-bootstrap
10101 .PHONY: all-gas maybe-all-gas
10102 maybe-all-gas:
10103 @if gas
10104 TARGET-gas=all
10105 maybe-all-gas: all-gas
10106 all-gas: configure-gas
10107 @test -f stage_last && exit 0; \
10108 r=`${PWD_COMMAND}`; export r; \
10109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10110 $(HOST_EXPORTS) \
10111 (cd $(HOST_SUBDIR)/gas && \
10112 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10113 @endif gas
10117 .PHONY: all-stage1-gas maybe-all-stage1-gas
10118 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10119 maybe-all-stage1-gas:
10120 maybe-clean-stage1-gas:
10121 @if gas-bootstrap
10122 maybe-all-stage1-gas: all-stage1-gas
10123 all-stage1: all-stage1-gas
10124 all-stage1-gas: configure-stage1-gas
10125 @$(MAKE) stage1-start
10126 @r=`${PWD_COMMAND}`; export r; \
10127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10128 $(HOST_EXPORTS) \
10129 cd $(HOST_SUBDIR)/gas && \
10130 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
10132 maybe-clean-stage1-gas: clean-stage1-gas
10133 clean-stage1: clean-stage1-gas
10134 clean-stage1-gas:
10135 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10136 || exit 0 ; \
10137 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \
10138 cd $(HOST_SUBDIR)/gas && \
10139 $(MAKE) $(FLAGS_TO_PASS) \
10140 CFLAGS="$(STAGE1_CFLAGS)" clean
10141 @endif gas-bootstrap
10144 .PHONY: all-stage2-gas maybe-all-stage2-gas
10145 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10146 maybe-all-stage2-gas:
10147 maybe-clean-stage2-gas:
10148 @if gas-bootstrap
10149 maybe-all-stage2-gas: all-stage2-gas
10150 all-stage2: all-stage2-gas
10151 all-stage2-gas: configure-stage2-gas
10152 @$(MAKE) stage2-start
10153 @r=`${PWD_COMMAND}`; export r; \
10154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10155 $(HOST_EXPORTS) \
10156 $(POSTSTAGE1_HOST_EXPORTS) \
10157 cd $(HOST_SUBDIR)/gas && \
10158 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10160 maybe-clean-stage2-gas: clean-stage2-gas
10161 clean-stage2: clean-stage2-gas
10162 clean-stage2-gas:
10163 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10164 || exit 0 ; \
10165 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \
10166 cd $(HOST_SUBDIR)/gas && \
10167 $(MAKE) $(FLAGS_TO_PASS) \
10168 $(POSTSTAGE1_FLAGS_TO_PASS) \
10169 clean
10170 @endif gas-bootstrap
10173 .PHONY: all-stage3-gas maybe-all-stage3-gas
10174 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10175 maybe-all-stage3-gas:
10176 maybe-clean-stage3-gas:
10177 @if gas-bootstrap
10178 maybe-all-stage3-gas: all-stage3-gas
10179 all-stage3: all-stage3-gas
10180 all-stage3-gas: configure-stage3-gas
10181 @$(MAKE) stage3-start
10182 @r=`${PWD_COMMAND}`; export r; \
10183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10184 $(HOST_EXPORTS) \
10185 $(POSTSTAGE1_HOST_EXPORTS) \
10186 cd $(HOST_SUBDIR)/gas && \
10187 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10189 maybe-clean-stage3-gas: clean-stage3-gas
10190 clean-stage3: clean-stage3-gas
10191 clean-stage3-gas:
10192 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10193 || exit 0 ; \
10194 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \
10195 cd $(HOST_SUBDIR)/gas && \
10196 $(MAKE) $(FLAGS_TO_PASS) \
10197 $(POSTSTAGE1_FLAGS_TO_PASS) \
10198 clean
10199 @endif gas-bootstrap
10202 .PHONY: all-stage4-gas maybe-all-stage4-gas
10203 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10204 maybe-all-stage4-gas:
10205 maybe-clean-stage4-gas:
10206 @if gas-bootstrap
10207 maybe-all-stage4-gas: all-stage4-gas
10208 all-stage4: all-stage4-gas
10209 all-stage4-gas: configure-stage4-gas
10210 @$(MAKE) stage4-start
10211 @r=`${PWD_COMMAND}`; export r; \
10212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10213 $(HOST_EXPORTS) \
10214 $(POSTSTAGE1_HOST_EXPORTS) \
10215 cd $(HOST_SUBDIR)/gas && \
10216 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10218 maybe-clean-stage4-gas: clean-stage4-gas
10219 clean-stage4: clean-stage4-gas
10220 clean-stage4-gas:
10221 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10222 || exit 0 ; \
10223 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \
10224 cd $(HOST_SUBDIR)/gas && \
10225 $(MAKE) $(FLAGS_TO_PASS) \
10226 $(POSTSTAGE1_FLAGS_TO_PASS) \
10227 clean
10228 @endif gas-bootstrap
10231 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10232 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10233 maybe-all-stageprofile-gas:
10234 maybe-clean-stageprofile-gas:
10235 @if gas-bootstrap
10236 maybe-all-stageprofile-gas: all-stageprofile-gas
10237 all-stageprofile: all-stageprofile-gas
10238 all-stageprofile-gas: configure-stageprofile-gas
10239 @$(MAKE) stageprofile-start
10240 @r=`${PWD_COMMAND}`; export r; \
10241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10242 $(HOST_EXPORTS) \
10243 $(POSTSTAGE1_HOST_EXPORTS) \
10244 cd $(HOST_SUBDIR)/gas && \
10245 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
10247 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10248 clean-stageprofile: clean-stageprofile-gas
10249 clean-stageprofile-gas:
10250 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10251 || exit 0 ; \
10252 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \
10253 cd $(HOST_SUBDIR)/gas && \
10254 $(MAKE) $(FLAGS_TO_PASS) \
10255 $(POSTSTAGE1_FLAGS_TO_PASS) \
10256 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10257 @endif gas-bootstrap
10260 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10261 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10262 maybe-all-stagefeedback-gas:
10263 maybe-clean-stagefeedback-gas:
10264 @if gas-bootstrap
10265 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10266 all-stagefeedback: all-stagefeedback-gas
10267 all-stagefeedback-gas: configure-stagefeedback-gas
10268 @$(MAKE) stagefeedback-start
10269 @r=`${PWD_COMMAND}`; export r; \
10270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10271 $(HOST_EXPORTS) \
10272 $(POSTSTAGE1_HOST_EXPORTS) \
10273 cd $(HOST_SUBDIR)/gas && \
10274 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
10276 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10277 clean-stagefeedback: clean-stagefeedback-gas
10278 clean-stagefeedback-gas:
10279 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10280 || exit 0 ; \
10281 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \
10282 cd $(HOST_SUBDIR)/gas && \
10283 $(MAKE) $(FLAGS_TO_PASS) \
10284 $(POSTSTAGE1_FLAGS_TO_PASS) \
10285 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10286 @endif gas-bootstrap
10292 .PHONY: check-gas maybe-check-gas
10293 maybe-check-gas:
10294 @if gas
10295 maybe-check-gas: check-gas
10297 check-gas:
10298 @r=`${PWD_COMMAND}`; export r; \
10299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10300 $(HOST_EXPORTS) \
10301 (cd $(HOST_SUBDIR)/gas && \
10302 $(MAKE) $(FLAGS_TO_PASS) check)
10304 @endif gas
10306 .PHONY: install-gas maybe-install-gas
10307 maybe-install-gas:
10308 @if gas
10309 maybe-install-gas: install-gas
10311 install-gas: installdirs
10312 @r=`${PWD_COMMAND}`; export r; \
10313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10314 $(HOST_EXPORTS) \
10315 (cd $(HOST_SUBDIR)/gas && \
10316 $(MAKE) $(FLAGS_TO_PASS) install)
10318 @endif gas
10320 # Other targets (info, dvi, etc.)
10322 .PHONY: maybe-info-gas info-gas
10323 maybe-info-gas:
10324 @if gas
10325 maybe-info-gas: info-gas
10327 info-gas: \
10328 configure-gas
10329 @[ -f ./gas/Makefile ] || exit 0; \
10330 r=`${PWD_COMMAND}`; export r; \
10331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10332 $(HOST_EXPORTS) \
10333 for flag in $(EXTRA_HOST_FLAGS) ; do \
10334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10335 done; \
10336 echo "Doing info in gas" ; \
10337 (cd $(HOST_SUBDIR)/gas && \
10338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10340 "RANLIB=$${RANLIB}" \
10341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10342 info) \
10343 || exit 1
10345 @endif gas
10347 .PHONY: maybe-dvi-gas dvi-gas
10348 maybe-dvi-gas:
10349 @if gas
10350 maybe-dvi-gas: dvi-gas
10352 dvi-gas: \
10353 configure-gas
10354 @[ -f ./gas/Makefile ] || exit 0; \
10355 r=`${PWD_COMMAND}`; export r; \
10356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10357 $(HOST_EXPORTS) \
10358 for flag in $(EXTRA_HOST_FLAGS) ; do \
10359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10360 done; \
10361 echo "Doing dvi in gas" ; \
10362 (cd $(HOST_SUBDIR)/gas && \
10363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10365 "RANLIB=$${RANLIB}" \
10366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10367 dvi) \
10368 || exit 1
10370 @endif gas
10372 .PHONY: maybe-html-gas html-gas
10373 maybe-html-gas:
10374 @if gas
10375 maybe-html-gas: html-gas
10377 html-gas: \
10378 configure-gas
10379 @[ -f ./gas/Makefile ] || exit 0; \
10380 r=`${PWD_COMMAND}`; export r; \
10381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10382 $(HOST_EXPORTS) \
10383 for flag in $(EXTRA_HOST_FLAGS) ; do \
10384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10385 done; \
10386 echo "Doing html in gas" ; \
10387 (cd $(HOST_SUBDIR)/gas && \
10388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10390 "RANLIB=$${RANLIB}" \
10391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10392 html) \
10393 || exit 1
10395 @endif gas
10397 .PHONY: maybe-TAGS-gas TAGS-gas
10398 maybe-TAGS-gas:
10399 @if gas
10400 maybe-TAGS-gas: TAGS-gas
10402 TAGS-gas: \
10403 configure-gas
10404 @[ -f ./gas/Makefile ] || exit 0; \
10405 r=`${PWD_COMMAND}`; export r; \
10406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10407 $(HOST_EXPORTS) \
10408 for flag in $(EXTRA_HOST_FLAGS) ; do \
10409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10410 done; \
10411 echo "Doing TAGS in gas" ; \
10412 (cd $(HOST_SUBDIR)/gas && \
10413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10415 "RANLIB=$${RANLIB}" \
10416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10417 TAGS) \
10418 || exit 1
10420 @endif gas
10422 .PHONY: maybe-install-info-gas install-info-gas
10423 maybe-install-info-gas:
10424 @if gas
10425 maybe-install-info-gas: install-info-gas
10427 install-info-gas: \
10428 configure-gas \
10429 info-gas
10430 @[ -f ./gas/Makefile ] || exit 0; \
10431 r=`${PWD_COMMAND}`; export r; \
10432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10433 $(HOST_EXPORTS) \
10434 for flag in $(EXTRA_HOST_FLAGS) ; do \
10435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10436 done; \
10437 echo "Doing install-info in gas" ; \
10438 (cd $(HOST_SUBDIR)/gas && \
10439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10441 "RANLIB=$${RANLIB}" \
10442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10443 install-info) \
10444 || exit 1
10446 @endif gas
10448 .PHONY: maybe-installcheck-gas installcheck-gas
10449 maybe-installcheck-gas:
10450 @if gas
10451 maybe-installcheck-gas: installcheck-gas
10453 installcheck-gas: \
10454 configure-gas
10455 @[ -f ./gas/Makefile ] || exit 0; \
10456 r=`${PWD_COMMAND}`; export r; \
10457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10458 $(HOST_EXPORTS) \
10459 for flag in $(EXTRA_HOST_FLAGS) ; do \
10460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10461 done; \
10462 echo "Doing installcheck in gas" ; \
10463 (cd $(HOST_SUBDIR)/gas && \
10464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10466 "RANLIB=$${RANLIB}" \
10467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10468 installcheck) \
10469 || exit 1
10471 @endif gas
10473 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10474 maybe-mostlyclean-gas:
10475 @if gas
10476 maybe-mostlyclean-gas: mostlyclean-gas
10478 mostlyclean-gas:
10479 @[ -f ./gas/Makefile ] || exit 0; \
10480 r=`${PWD_COMMAND}`; export r; \
10481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10482 $(HOST_EXPORTS) \
10483 for flag in $(EXTRA_HOST_FLAGS) ; do \
10484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10485 done; \
10486 echo "Doing mostlyclean in gas" ; \
10487 (cd $(HOST_SUBDIR)/gas && \
10488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10490 "RANLIB=$${RANLIB}" \
10491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10492 mostlyclean) \
10493 || exit 1
10495 @endif gas
10497 .PHONY: maybe-clean-gas clean-gas
10498 maybe-clean-gas:
10499 @if gas
10500 maybe-clean-gas: clean-gas
10502 clean-gas:
10503 @[ -f ./gas/Makefile ] || exit 0; \
10504 r=`${PWD_COMMAND}`; export r; \
10505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10506 $(HOST_EXPORTS) \
10507 for flag in $(EXTRA_HOST_FLAGS) ; do \
10508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10509 done; \
10510 echo "Doing clean in gas" ; \
10511 (cd $(HOST_SUBDIR)/gas && \
10512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10514 "RANLIB=$${RANLIB}" \
10515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10516 clean) \
10517 || exit 1
10519 @endif gas
10521 .PHONY: maybe-distclean-gas distclean-gas
10522 maybe-distclean-gas:
10523 @if gas
10524 maybe-distclean-gas: distclean-gas
10526 distclean-gas:
10527 @[ -f ./gas/Makefile ] || exit 0; \
10528 r=`${PWD_COMMAND}`; export r; \
10529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10530 $(HOST_EXPORTS) \
10531 for flag in $(EXTRA_HOST_FLAGS) ; do \
10532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10533 done; \
10534 echo "Doing distclean in gas" ; \
10535 (cd $(HOST_SUBDIR)/gas && \
10536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10538 "RANLIB=$${RANLIB}" \
10539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10540 distclean) \
10541 || exit 1
10543 @endif gas
10545 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10546 maybe-maintainer-clean-gas:
10547 @if gas
10548 maybe-maintainer-clean-gas: maintainer-clean-gas
10550 maintainer-clean-gas:
10551 @[ -f ./gas/Makefile ] || exit 0; \
10552 r=`${PWD_COMMAND}`; export r; \
10553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10554 $(HOST_EXPORTS) \
10555 for flag in $(EXTRA_HOST_FLAGS) ; do \
10556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10557 done; \
10558 echo "Doing maintainer-clean in gas" ; \
10559 (cd $(HOST_SUBDIR)/gas && \
10560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10562 "RANLIB=$${RANLIB}" \
10563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10564 maintainer-clean) \
10565 || exit 1
10567 @endif gas
10571 .PHONY: configure-gcc maybe-configure-gcc
10572 maybe-configure-gcc:
10573 @if gcc
10574 maybe-configure-gcc: configure-gcc
10575 configure-gcc:
10576 @test -f stage_last && exit 0; \
10577 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10579 r=`${PWD_COMMAND}`; export r; \
10580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10581 $(HOST_EXPORTS) \
10582 echo Configuring in $(HOST_SUBDIR)/gcc; \
10583 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10584 case $(srcdir) in \
10585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10586 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10588 esac; \
10589 srcdiroption="--srcdir=$${topdir}/gcc"; \
10590 libsrcdir="$$s/gcc"; \
10591 $(SHELL) $${libsrcdir}/configure \
10592 $(HOST_CONFIGARGS) $${srcdiroption} \
10593 || exit 1
10594 @endif gcc
10598 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10599 maybe-configure-stage1-gcc:
10600 @if gcc-bootstrap
10601 maybe-configure-stage1-gcc: configure-stage1-gcc
10602 configure-stage1-gcc:
10603 @$(MAKE) stage1-start
10604 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10605 r=`${PWD_COMMAND}`; export r; \
10606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10607 $(HOST_EXPORTS) \
10608 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10609 cd $(HOST_SUBDIR)/gcc || exit 1; \
10610 case $(srcdir) in \
10611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10612 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10614 esac; \
10615 srcdiroption="--srcdir=$${topdir}/gcc"; \
10616 libsrcdir="$$s/gcc"; \
10617 $(SHELL) $${libsrcdir}/configure \
10618 $(HOST_CONFIGARGS) $${srcdiroption} \
10619 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10620 @endif gcc-bootstrap
10622 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10623 maybe-configure-stage2-gcc:
10624 @if gcc-bootstrap
10625 maybe-configure-stage2-gcc: configure-stage2-gcc
10626 configure-stage2-gcc:
10627 @$(MAKE) stage2-start
10628 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10629 r=`${PWD_COMMAND}`; export r; \
10630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10631 $(HOST_EXPORTS) \
10632 $(POSTSTAGE1_HOST_EXPORTS) \
10633 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10634 cd $(HOST_SUBDIR)/gcc || exit 1; \
10635 case $(srcdir) in \
10636 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10637 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10638 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10639 esac; \
10640 srcdiroption="--srcdir=$${topdir}/gcc"; \
10641 libsrcdir="$$s/gcc"; \
10642 $(SHELL) $${libsrcdir}/configure \
10643 $(HOST_CONFIGARGS) $${srcdiroption} \
10644 @stage2_werror_flag@
10645 @endif gcc-bootstrap
10647 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10648 maybe-configure-stage3-gcc:
10649 @if gcc-bootstrap
10650 maybe-configure-stage3-gcc: configure-stage3-gcc
10651 configure-stage3-gcc:
10652 @$(MAKE) stage3-start
10653 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10654 r=`${PWD_COMMAND}`; export r; \
10655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10656 $(HOST_EXPORTS) \
10657 $(POSTSTAGE1_HOST_EXPORTS) \
10658 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10659 cd $(HOST_SUBDIR)/gcc || exit 1; \
10660 case $(srcdir) in \
10661 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10662 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10663 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10664 esac; \
10665 srcdiroption="--srcdir=$${topdir}/gcc"; \
10666 libsrcdir="$$s/gcc"; \
10667 $(SHELL) $${libsrcdir}/configure \
10668 $(HOST_CONFIGARGS) $${srcdiroption} \
10669 @stage2_werror_flag@
10670 @endif gcc-bootstrap
10672 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10673 maybe-configure-stage4-gcc:
10674 @if gcc-bootstrap
10675 maybe-configure-stage4-gcc: configure-stage4-gcc
10676 configure-stage4-gcc:
10677 @$(MAKE) stage4-start
10678 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10679 r=`${PWD_COMMAND}`; export r; \
10680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10681 $(HOST_EXPORTS) \
10682 $(POSTSTAGE1_HOST_EXPORTS) \
10683 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10684 cd $(HOST_SUBDIR)/gcc || exit 1; \
10685 case $(srcdir) in \
10686 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10687 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10688 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10689 esac; \
10690 srcdiroption="--srcdir=$${topdir}/gcc"; \
10691 libsrcdir="$$s/gcc"; \
10692 $(SHELL) $${libsrcdir}/configure \
10693 $(HOST_CONFIGARGS) $${srcdiroption} \
10694 @stage2_werror_flag@
10695 @endif gcc-bootstrap
10697 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10698 maybe-configure-stageprofile-gcc:
10699 @if gcc-bootstrap
10700 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10701 configure-stageprofile-gcc:
10702 @$(MAKE) stageprofile-start
10703 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10704 r=`${PWD_COMMAND}`; export r; \
10705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10706 $(HOST_EXPORTS) \
10707 $(POSTSTAGE1_HOST_EXPORTS) \
10708 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10709 cd $(HOST_SUBDIR)/gcc || exit 1; \
10710 case $(srcdir) in \
10711 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10712 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10713 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10714 esac; \
10715 srcdiroption="--srcdir=$${topdir}/gcc"; \
10716 libsrcdir="$$s/gcc"; \
10717 $(SHELL) $${libsrcdir}/configure \
10718 $(HOST_CONFIGARGS) $${srcdiroption} \
10719 @stage2_werror_flag@
10720 @endif gcc-bootstrap
10722 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10723 maybe-configure-stagefeedback-gcc:
10724 @if gcc-bootstrap
10725 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10726 configure-stagefeedback-gcc:
10727 @$(MAKE) stagefeedback-start
10728 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10729 r=`${PWD_COMMAND}`; export r; \
10730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10731 $(HOST_EXPORTS) \
10732 $(POSTSTAGE1_HOST_EXPORTS) \
10733 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10734 cd $(HOST_SUBDIR)/gcc || exit 1; \
10735 case $(srcdir) in \
10736 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10737 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10738 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10739 esac; \
10740 srcdiroption="--srcdir=$${topdir}/gcc"; \
10741 libsrcdir="$$s/gcc"; \
10742 $(SHELL) $${libsrcdir}/configure \
10743 $(HOST_CONFIGARGS) $${srcdiroption} \
10744 @stage2_werror_flag@
10745 @endif gcc-bootstrap
10751 .PHONY: all-gcc maybe-all-gcc
10752 maybe-all-gcc:
10753 @if gcc
10754 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
10755 maybe-all-gcc: all-gcc
10756 all-gcc: configure-gcc
10757 @test -f stage_last && exit 0; \
10758 r=`${PWD_COMMAND}`; export r; \
10759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10760 $(HOST_EXPORTS) \
10761 (cd $(HOST_SUBDIR)/gcc && \
10762 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
10763 @endif gcc
10767 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10768 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10769 maybe-all-stage1-gcc:
10770 maybe-clean-stage1-gcc:
10771 @if gcc-bootstrap
10772 maybe-all-stage1-gcc: all-stage1-gcc
10773 all-stage1: all-stage1-gcc
10774 all-stage1-gcc: configure-stage1-gcc
10775 @$(MAKE) stage1-start
10776 @r=`${PWD_COMMAND}`; export r; \
10777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10778 $(HOST_EXPORTS) \
10779 cd $(HOST_SUBDIR)/gcc && \
10780 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
10782 maybe-clean-stage1-gcc: clean-stage1-gcc
10783 clean-stage1: clean-stage1-gcc
10784 clean-stage1-gcc:
10785 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
10786 || exit 0 ; \
10787 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \
10788 cd $(HOST_SUBDIR)/gcc && \
10789 $(MAKE) $(FLAGS_TO_PASS) \
10790 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
10791 @endif gcc-bootstrap
10794 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10795 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10796 maybe-all-stage2-gcc:
10797 maybe-clean-stage2-gcc:
10798 @if gcc-bootstrap
10799 maybe-all-stage2-gcc: all-stage2-gcc
10800 all-stage2: all-stage2-gcc
10801 all-stage2-gcc: configure-stage2-gcc
10802 @$(MAKE) stage2-start
10803 @r=`${PWD_COMMAND}`; export r; \
10804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10805 $(HOST_EXPORTS) \
10806 $(POSTSTAGE1_HOST_EXPORTS) \
10807 cd $(HOST_SUBDIR)/gcc && \
10808 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10810 maybe-clean-stage2-gcc: clean-stage2-gcc
10811 clean-stage2: clean-stage2-gcc
10812 clean-stage2-gcc:
10813 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
10814 || exit 0 ; \
10815 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \
10816 cd $(HOST_SUBDIR)/gcc && \
10817 $(MAKE) $(FLAGS_TO_PASS) \
10818 $(POSTSTAGE1_FLAGS_TO_PASS) \
10819 $(EXTRA_GCC_FLAGS) clean
10820 @endif gcc-bootstrap
10823 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10824 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10825 maybe-all-stage3-gcc:
10826 maybe-clean-stage3-gcc:
10827 @if gcc-bootstrap
10828 maybe-all-stage3-gcc: all-stage3-gcc
10829 all-stage3: all-stage3-gcc
10830 all-stage3-gcc: configure-stage3-gcc
10831 @$(MAKE) stage3-start
10832 @r=`${PWD_COMMAND}`; export r; \
10833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10834 $(HOST_EXPORTS) \
10835 $(POSTSTAGE1_HOST_EXPORTS) \
10836 cd $(HOST_SUBDIR)/gcc && \
10837 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10839 maybe-clean-stage3-gcc: clean-stage3-gcc
10840 clean-stage3: clean-stage3-gcc
10841 clean-stage3-gcc:
10842 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
10843 || exit 0 ; \
10844 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \
10845 cd $(HOST_SUBDIR)/gcc && \
10846 $(MAKE) $(FLAGS_TO_PASS) \
10847 $(POSTSTAGE1_FLAGS_TO_PASS) \
10848 $(EXTRA_GCC_FLAGS) clean
10849 @endif gcc-bootstrap
10852 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10853 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10854 maybe-all-stage4-gcc:
10855 maybe-clean-stage4-gcc:
10856 @if gcc-bootstrap
10857 maybe-all-stage4-gcc: all-stage4-gcc
10858 all-stage4: all-stage4-gcc
10859 all-stage4-gcc: configure-stage4-gcc
10860 @$(MAKE) stage4-start
10861 @r=`${PWD_COMMAND}`; export r; \
10862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10863 $(HOST_EXPORTS) \
10864 $(POSTSTAGE1_HOST_EXPORTS) \
10865 cd $(HOST_SUBDIR)/gcc && \
10866 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10868 maybe-clean-stage4-gcc: clean-stage4-gcc
10869 clean-stage4: clean-stage4-gcc
10870 clean-stage4-gcc:
10871 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
10872 || exit 0 ; \
10873 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \
10874 cd $(HOST_SUBDIR)/gcc && \
10875 $(MAKE) $(FLAGS_TO_PASS) \
10876 $(POSTSTAGE1_FLAGS_TO_PASS) \
10877 $(EXTRA_GCC_FLAGS) clean
10878 @endif gcc-bootstrap
10881 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10882 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10883 maybe-all-stageprofile-gcc:
10884 maybe-clean-stageprofile-gcc:
10885 @if gcc-bootstrap
10886 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10887 all-stageprofile: all-stageprofile-gcc
10888 all-stageprofile-gcc: configure-stageprofile-gcc
10889 @$(MAKE) stageprofile-start
10890 @r=`${PWD_COMMAND}`; export r; \
10891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10892 $(HOST_EXPORTS) \
10893 $(POSTSTAGE1_HOST_EXPORTS) \
10894 cd $(HOST_SUBDIR)/gcc && \
10895 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
10897 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10898 clean-stageprofile: clean-stageprofile-gcc
10899 clean-stageprofile-gcc:
10900 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
10901 || exit 0 ; \
10902 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \
10903 cd $(HOST_SUBDIR)/gcc && \
10904 $(MAKE) $(FLAGS_TO_PASS) \
10905 $(POSTSTAGE1_FLAGS_TO_PASS) \
10906 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
10907 @endif gcc-bootstrap
10910 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10911 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10912 maybe-all-stagefeedback-gcc:
10913 maybe-clean-stagefeedback-gcc:
10914 @if gcc-bootstrap
10915 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10916 all-stagefeedback: all-stagefeedback-gcc
10917 all-stagefeedback-gcc: configure-stagefeedback-gcc
10918 @$(MAKE) stagefeedback-start
10919 @r=`${PWD_COMMAND}`; export r; \
10920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10921 $(HOST_EXPORTS) \
10922 $(POSTSTAGE1_HOST_EXPORTS) \
10923 cd $(HOST_SUBDIR)/gcc && \
10924 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
10926 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10927 clean-stagefeedback: clean-stagefeedback-gcc
10928 clean-stagefeedback-gcc:
10929 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
10930 || exit 0 ; \
10931 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
10932 cd $(HOST_SUBDIR)/gcc && \
10933 $(MAKE) $(FLAGS_TO_PASS) \
10934 $(POSTSTAGE1_FLAGS_TO_PASS) \
10935 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
10936 @endif gcc-bootstrap
10942 .PHONY: check-gcc maybe-check-gcc
10943 maybe-check-gcc:
10944 @if gcc
10945 maybe-check-gcc: check-gcc
10947 check-gcc:
10948 @r=`${PWD_COMMAND}`; export r; \
10949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10950 $(HOST_EXPORTS) \
10951 (cd $(HOST_SUBDIR)/gcc && \
10952 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10954 @endif gcc
10956 .PHONY: install-gcc maybe-install-gcc
10957 maybe-install-gcc:
10958 @if gcc
10959 maybe-install-gcc: install-gcc
10961 install-gcc: installdirs
10962 @r=`${PWD_COMMAND}`; export r; \
10963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10964 $(HOST_EXPORTS) \
10965 (cd $(HOST_SUBDIR)/gcc && \
10966 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10968 @endif gcc
10970 # Other targets (info, dvi, etc.)
10972 .PHONY: maybe-info-gcc info-gcc
10973 maybe-info-gcc:
10974 @if gcc
10975 maybe-info-gcc: info-gcc
10977 info-gcc: \
10978 configure-gcc
10979 @[ -f ./gcc/Makefile ] || exit 0; \
10980 r=`${PWD_COMMAND}`; export r; \
10981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10982 $(HOST_EXPORTS) \
10983 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10985 done; \
10986 echo "Doing info in gcc" ; \
10987 (cd $(HOST_SUBDIR)/gcc && \
10988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10990 "RANLIB=$${RANLIB}" \
10991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10992 info) \
10993 || exit 1
10995 @endif gcc
10997 .PHONY: maybe-dvi-gcc dvi-gcc
10998 maybe-dvi-gcc:
10999 @if gcc
11000 maybe-dvi-gcc: dvi-gcc
11002 dvi-gcc: \
11003 configure-gcc
11004 @[ -f ./gcc/Makefile ] || exit 0; \
11005 r=`${PWD_COMMAND}`; export r; \
11006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11007 $(HOST_EXPORTS) \
11008 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11010 done; \
11011 echo "Doing dvi in gcc" ; \
11012 (cd $(HOST_SUBDIR)/gcc && \
11013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11015 "RANLIB=$${RANLIB}" \
11016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11017 dvi) \
11018 || exit 1
11020 @endif gcc
11022 .PHONY: maybe-html-gcc html-gcc
11023 maybe-html-gcc:
11024 @if gcc
11025 maybe-html-gcc: html-gcc
11027 html-gcc: \
11028 configure-gcc
11029 @[ -f ./gcc/Makefile ] || exit 0; \
11030 r=`${PWD_COMMAND}`; export r; \
11031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11032 $(HOST_EXPORTS) \
11033 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11035 done; \
11036 echo "Doing html in gcc" ; \
11037 (cd $(HOST_SUBDIR)/gcc && \
11038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11040 "RANLIB=$${RANLIB}" \
11041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11042 html) \
11043 || exit 1
11045 @endif gcc
11047 .PHONY: maybe-TAGS-gcc TAGS-gcc
11048 maybe-TAGS-gcc:
11049 @if gcc
11050 maybe-TAGS-gcc: TAGS-gcc
11052 TAGS-gcc: \
11053 configure-gcc
11054 @[ -f ./gcc/Makefile ] || exit 0; \
11055 r=`${PWD_COMMAND}`; export r; \
11056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11057 $(HOST_EXPORTS) \
11058 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11060 done; \
11061 echo "Doing TAGS in gcc" ; \
11062 (cd $(HOST_SUBDIR)/gcc && \
11063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11065 "RANLIB=$${RANLIB}" \
11066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11067 TAGS) \
11068 || exit 1
11070 @endif gcc
11072 .PHONY: maybe-install-info-gcc install-info-gcc
11073 maybe-install-info-gcc:
11074 @if gcc
11075 maybe-install-info-gcc: install-info-gcc
11077 install-info-gcc: \
11078 configure-gcc \
11079 info-gcc
11080 @[ -f ./gcc/Makefile ] || exit 0; \
11081 r=`${PWD_COMMAND}`; export r; \
11082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11083 $(HOST_EXPORTS) \
11084 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11086 done; \
11087 echo "Doing install-info in gcc" ; \
11088 (cd $(HOST_SUBDIR)/gcc && \
11089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11091 "RANLIB=$${RANLIB}" \
11092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11093 install-info) \
11094 || exit 1
11096 @endif gcc
11098 .PHONY: maybe-installcheck-gcc installcheck-gcc
11099 maybe-installcheck-gcc:
11100 @if gcc
11101 maybe-installcheck-gcc: installcheck-gcc
11103 installcheck-gcc: \
11104 configure-gcc
11105 @[ -f ./gcc/Makefile ] || exit 0; \
11106 r=`${PWD_COMMAND}`; export r; \
11107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11108 $(HOST_EXPORTS) \
11109 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11111 done; \
11112 echo "Doing installcheck in gcc" ; \
11113 (cd $(HOST_SUBDIR)/gcc && \
11114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11116 "RANLIB=$${RANLIB}" \
11117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11118 installcheck) \
11119 || exit 1
11121 @endif gcc
11123 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11124 maybe-mostlyclean-gcc:
11125 @if gcc
11126 maybe-mostlyclean-gcc: mostlyclean-gcc
11128 mostlyclean-gcc:
11129 @[ -f ./gcc/Makefile ] || exit 0; \
11130 r=`${PWD_COMMAND}`; export r; \
11131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11132 $(HOST_EXPORTS) \
11133 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11135 done; \
11136 echo "Doing mostlyclean in gcc" ; \
11137 (cd $(HOST_SUBDIR)/gcc && \
11138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11140 "RANLIB=$${RANLIB}" \
11141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11142 mostlyclean) \
11143 || exit 1
11145 @endif gcc
11147 .PHONY: maybe-clean-gcc clean-gcc
11148 maybe-clean-gcc:
11149 @if gcc
11150 maybe-clean-gcc: clean-gcc
11152 clean-gcc:
11153 @[ -f ./gcc/Makefile ] || exit 0; \
11154 r=`${PWD_COMMAND}`; export r; \
11155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11156 $(HOST_EXPORTS) \
11157 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11159 done; \
11160 echo "Doing clean in gcc" ; \
11161 (cd $(HOST_SUBDIR)/gcc && \
11162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11164 "RANLIB=$${RANLIB}" \
11165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11166 clean) \
11167 || exit 1
11169 @endif gcc
11171 .PHONY: maybe-distclean-gcc distclean-gcc
11172 maybe-distclean-gcc:
11173 @if gcc
11174 maybe-distclean-gcc: distclean-gcc
11176 distclean-gcc:
11177 @[ -f ./gcc/Makefile ] || exit 0; \
11178 r=`${PWD_COMMAND}`; export r; \
11179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11180 $(HOST_EXPORTS) \
11181 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11183 done; \
11184 echo "Doing distclean in gcc" ; \
11185 (cd $(HOST_SUBDIR)/gcc && \
11186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11188 "RANLIB=$${RANLIB}" \
11189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11190 distclean) \
11191 || exit 1
11193 @endif gcc
11195 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11196 maybe-maintainer-clean-gcc:
11197 @if gcc
11198 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11200 maintainer-clean-gcc:
11201 @[ -f ./gcc/Makefile ] || exit 0; \
11202 r=`${PWD_COMMAND}`; export r; \
11203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11204 $(HOST_EXPORTS) \
11205 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11207 done; \
11208 echo "Doing maintainer-clean in gcc" ; \
11209 (cd $(HOST_SUBDIR)/gcc && \
11210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11212 "RANLIB=$${RANLIB}" \
11213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11214 maintainer-clean) \
11215 || exit 1
11217 @endif gcc
11221 .PHONY: configure-gawk maybe-configure-gawk
11222 maybe-configure-gawk:
11223 @if gawk
11224 maybe-configure-gawk: configure-gawk
11225 configure-gawk:
11226 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11228 r=`${PWD_COMMAND}`; export r; \
11229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11230 $(HOST_EXPORTS) \
11231 echo Configuring in $(HOST_SUBDIR)/gawk; \
11232 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11233 case $(srcdir) in \
11234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11235 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11237 esac; \
11238 srcdiroption="--srcdir=$${topdir}/gawk"; \
11239 libsrcdir="$$s/gawk"; \
11240 $(SHELL) $${libsrcdir}/configure \
11241 $(HOST_CONFIGARGS) $${srcdiroption} \
11242 || exit 1
11243 @endif gawk
11249 .PHONY: all-gawk maybe-all-gawk
11250 maybe-all-gawk:
11251 @if gawk
11252 TARGET-gawk=all
11253 maybe-all-gawk: all-gawk
11254 all-gawk: configure-gawk
11255 @r=`${PWD_COMMAND}`; export r; \
11256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11257 $(HOST_EXPORTS) \
11258 (cd $(HOST_SUBDIR)/gawk && \
11259 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11260 @endif gawk
11265 .PHONY: check-gawk maybe-check-gawk
11266 maybe-check-gawk:
11267 @if gawk
11268 maybe-check-gawk: check-gawk
11270 check-gawk:
11271 @r=`${PWD_COMMAND}`; export r; \
11272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11273 $(HOST_EXPORTS) \
11274 (cd $(HOST_SUBDIR)/gawk && \
11275 $(MAKE) $(FLAGS_TO_PASS) check)
11277 @endif gawk
11279 .PHONY: install-gawk maybe-install-gawk
11280 maybe-install-gawk:
11281 @if gawk
11282 maybe-install-gawk: install-gawk
11284 install-gawk: installdirs
11285 @r=`${PWD_COMMAND}`; export r; \
11286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11287 $(HOST_EXPORTS) \
11288 (cd $(HOST_SUBDIR)/gawk && \
11289 $(MAKE) $(FLAGS_TO_PASS) install)
11291 @endif gawk
11293 # Other targets (info, dvi, etc.)
11295 .PHONY: maybe-info-gawk info-gawk
11296 maybe-info-gawk:
11297 @if gawk
11298 maybe-info-gawk: info-gawk
11300 info-gawk: \
11301 configure-gawk
11302 @[ -f ./gawk/Makefile ] || exit 0; \
11303 r=`${PWD_COMMAND}`; export r; \
11304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11305 $(HOST_EXPORTS) \
11306 for flag in $(EXTRA_HOST_FLAGS) ; do \
11307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11308 done; \
11309 echo "Doing info in gawk" ; \
11310 (cd $(HOST_SUBDIR)/gawk && \
11311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11313 "RANLIB=$${RANLIB}" \
11314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11315 info) \
11316 || exit 1
11318 @endif gawk
11320 .PHONY: maybe-dvi-gawk dvi-gawk
11321 maybe-dvi-gawk:
11322 @if gawk
11323 maybe-dvi-gawk: dvi-gawk
11325 dvi-gawk: \
11326 configure-gawk
11327 @[ -f ./gawk/Makefile ] || exit 0; \
11328 r=`${PWD_COMMAND}`; export r; \
11329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11330 $(HOST_EXPORTS) \
11331 for flag in $(EXTRA_HOST_FLAGS) ; do \
11332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11333 done; \
11334 echo "Doing dvi in gawk" ; \
11335 (cd $(HOST_SUBDIR)/gawk && \
11336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11338 "RANLIB=$${RANLIB}" \
11339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11340 dvi) \
11341 || exit 1
11343 @endif gawk
11345 .PHONY: maybe-html-gawk html-gawk
11346 maybe-html-gawk:
11347 @if gawk
11348 maybe-html-gawk: html-gawk
11350 html-gawk: \
11351 configure-gawk
11352 @[ -f ./gawk/Makefile ] || exit 0; \
11353 r=`${PWD_COMMAND}`; export r; \
11354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11355 $(HOST_EXPORTS) \
11356 for flag in $(EXTRA_HOST_FLAGS) ; do \
11357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11358 done; \
11359 echo "Doing html in gawk" ; \
11360 (cd $(HOST_SUBDIR)/gawk && \
11361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11363 "RANLIB=$${RANLIB}" \
11364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11365 html) \
11366 || exit 1
11368 @endif gawk
11370 .PHONY: maybe-TAGS-gawk TAGS-gawk
11371 maybe-TAGS-gawk:
11372 @if gawk
11373 maybe-TAGS-gawk: TAGS-gawk
11375 TAGS-gawk: \
11376 configure-gawk
11377 @[ -f ./gawk/Makefile ] || exit 0; \
11378 r=`${PWD_COMMAND}`; export r; \
11379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11380 $(HOST_EXPORTS) \
11381 for flag in $(EXTRA_HOST_FLAGS) ; do \
11382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11383 done; \
11384 echo "Doing TAGS in gawk" ; \
11385 (cd $(HOST_SUBDIR)/gawk && \
11386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11388 "RANLIB=$${RANLIB}" \
11389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11390 TAGS) \
11391 || exit 1
11393 @endif gawk
11395 .PHONY: maybe-install-info-gawk install-info-gawk
11396 maybe-install-info-gawk:
11397 @if gawk
11398 maybe-install-info-gawk: install-info-gawk
11400 install-info-gawk: \
11401 configure-gawk \
11402 info-gawk
11403 @[ -f ./gawk/Makefile ] || exit 0; \
11404 r=`${PWD_COMMAND}`; export r; \
11405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11406 $(HOST_EXPORTS) \
11407 for flag in $(EXTRA_HOST_FLAGS) ; do \
11408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11409 done; \
11410 echo "Doing install-info in gawk" ; \
11411 (cd $(HOST_SUBDIR)/gawk && \
11412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11414 "RANLIB=$${RANLIB}" \
11415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11416 install-info) \
11417 || exit 1
11419 @endif gawk
11421 .PHONY: maybe-installcheck-gawk installcheck-gawk
11422 maybe-installcheck-gawk:
11423 @if gawk
11424 maybe-installcheck-gawk: installcheck-gawk
11426 installcheck-gawk: \
11427 configure-gawk
11428 @[ -f ./gawk/Makefile ] || exit 0; \
11429 r=`${PWD_COMMAND}`; export r; \
11430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11431 $(HOST_EXPORTS) \
11432 for flag in $(EXTRA_HOST_FLAGS) ; do \
11433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11434 done; \
11435 echo "Doing installcheck in gawk" ; \
11436 (cd $(HOST_SUBDIR)/gawk && \
11437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11439 "RANLIB=$${RANLIB}" \
11440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11441 installcheck) \
11442 || exit 1
11444 @endif gawk
11446 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11447 maybe-mostlyclean-gawk:
11448 @if gawk
11449 maybe-mostlyclean-gawk: mostlyclean-gawk
11451 mostlyclean-gawk:
11452 @[ -f ./gawk/Makefile ] || exit 0; \
11453 r=`${PWD_COMMAND}`; export r; \
11454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11455 $(HOST_EXPORTS) \
11456 for flag in $(EXTRA_HOST_FLAGS) ; do \
11457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11458 done; \
11459 echo "Doing mostlyclean in gawk" ; \
11460 (cd $(HOST_SUBDIR)/gawk && \
11461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11463 "RANLIB=$${RANLIB}" \
11464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11465 mostlyclean) \
11466 || exit 1
11468 @endif gawk
11470 .PHONY: maybe-clean-gawk clean-gawk
11471 maybe-clean-gawk:
11472 @if gawk
11473 maybe-clean-gawk: clean-gawk
11475 clean-gawk:
11476 @[ -f ./gawk/Makefile ] || exit 0; \
11477 r=`${PWD_COMMAND}`; export r; \
11478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11479 $(HOST_EXPORTS) \
11480 for flag in $(EXTRA_HOST_FLAGS) ; do \
11481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11482 done; \
11483 echo "Doing clean in gawk" ; \
11484 (cd $(HOST_SUBDIR)/gawk && \
11485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11487 "RANLIB=$${RANLIB}" \
11488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11489 clean) \
11490 || exit 1
11492 @endif gawk
11494 .PHONY: maybe-distclean-gawk distclean-gawk
11495 maybe-distclean-gawk:
11496 @if gawk
11497 maybe-distclean-gawk: distclean-gawk
11499 distclean-gawk:
11500 @[ -f ./gawk/Makefile ] || exit 0; \
11501 r=`${PWD_COMMAND}`; export r; \
11502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11503 $(HOST_EXPORTS) \
11504 for flag in $(EXTRA_HOST_FLAGS) ; do \
11505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11506 done; \
11507 echo "Doing distclean in gawk" ; \
11508 (cd $(HOST_SUBDIR)/gawk && \
11509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11511 "RANLIB=$${RANLIB}" \
11512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11513 distclean) \
11514 || exit 1
11516 @endif gawk
11518 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11519 maybe-maintainer-clean-gawk:
11520 @if gawk
11521 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11523 maintainer-clean-gawk:
11524 @[ -f ./gawk/Makefile ] || exit 0; \
11525 r=`${PWD_COMMAND}`; export r; \
11526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11527 $(HOST_EXPORTS) \
11528 for flag in $(EXTRA_HOST_FLAGS) ; do \
11529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11530 done; \
11531 echo "Doing maintainer-clean in gawk" ; \
11532 (cd $(HOST_SUBDIR)/gawk && \
11533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11535 "RANLIB=$${RANLIB}" \
11536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11537 maintainer-clean) \
11538 || exit 1
11540 @endif gawk
11544 .PHONY: configure-gettext maybe-configure-gettext
11545 maybe-configure-gettext:
11546 @if gettext
11547 maybe-configure-gettext: configure-gettext
11548 configure-gettext:
11549 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(HOST_EXPORTS) \
11554 echo Configuring in $(HOST_SUBDIR)/gettext; \
11555 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11556 case $(srcdir) in \
11557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11558 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11560 esac; \
11561 srcdiroption="--srcdir=$${topdir}/gettext"; \
11562 libsrcdir="$$s/gettext"; \
11563 $(SHELL) $${libsrcdir}/configure \
11564 $(HOST_CONFIGARGS) $${srcdiroption} \
11565 || exit 1
11566 @endif gettext
11572 .PHONY: all-gettext maybe-all-gettext
11573 maybe-all-gettext:
11574 @if gettext
11575 TARGET-gettext=all
11576 maybe-all-gettext: all-gettext
11577 all-gettext: configure-gettext
11578 @r=`${PWD_COMMAND}`; export r; \
11579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11580 $(HOST_EXPORTS) \
11581 (cd $(HOST_SUBDIR)/gettext && \
11582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11583 @endif gettext
11588 .PHONY: check-gettext maybe-check-gettext
11589 maybe-check-gettext:
11590 @if gettext
11591 maybe-check-gettext: check-gettext
11593 check-gettext:
11594 @r=`${PWD_COMMAND}`; export r; \
11595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11596 $(HOST_EXPORTS) \
11597 (cd $(HOST_SUBDIR)/gettext && \
11598 $(MAKE) $(FLAGS_TO_PASS) check)
11600 @endif gettext
11602 .PHONY: install-gettext maybe-install-gettext
11603 maybe-install-gettext:
11604 @if gettext
11605 maybe-install-gettext: install-gettext
11607 install-gettext: installdirs
11608 @r=`${PWD_COMMAND}`; export r; \
11609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11610 $(HOST_EXPORTS) \
11611 (cd $(HOST_SUBDIR)/gettext && \
11612 $(MAKE) $(FLAGS_TO_PASS) install)
11614 @endif gettext
11616 # Other targets (info, dvi, etc.)
11618 .PHONY: maybe-info-gettext info-gettext
11619 maybe-info-gettext:
11620 @if gettext
11621 maybe-info-gettext: info-gettext
11623 info-gettext: \
11624 configure-gettext
11625 @[ -f ./gettext/Makefile ] || exit 0; \
11626 r=`${PWD_COMMAND}`; export r; \
11627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11628 $(HOST_EXPORTS) \
11629 for flag in $(EXTRA_HOST_FLAGS) ; do \
11630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11631 done; \
11632 echo "Doing info in gettext" ; \
11633 (cd $(HOST_SUBDIR)/gettext && \
11634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11636 "RANLIB=$${RANLIB}" \
11637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11638 info) \
11639 || exit 1
11641 @endif gettext
11643 .PHONY: maybe-dvi-gettext dvi-gettext
11644 maybe-dvi-gettext:
11645 @if gettext
11646 maybe-dvi-gettext: dvi-gettext
11648 dvi-gettext: \
11649 configure-gettext
11650 @[ -f ./gettext/Makefile ] || exit 0; \
11651 r=`${PWD_COMMAND}`; export r; \
11652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11653 $(HOST_EXPORTS) \
11654 for flag in $(EXTRA_HOST_FLAGS) ; do \
11655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11656 done; \
11657 echo "Doing dvi in gettext" ; \
11658 (cd $(HOST_SUBDIR)/gettext && \
11659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11661 "RANLIB=$${RANLIB}" \
11662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11663 dvi) \
11664 || exit 1
11666 @endif gettext
11668 .PHONY: maybe-html-gettext html-gettext
11669 maybe-html-gettext:
11670 @if gettext
11671 maybe-html-gettext: html-gettext
11673 html-gettext: \
11674 configure-gettext
11675 @[ -f ./gettext/Makefile ] || exit 0; \
11676 r=`${PWD_COMMAND}`; export r; \
11677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11678 $(HOST_EXPORTS) \
11679 for flag in $(EXTRA_HOST_FLAGS) ; do \
11680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11681 done; \
11682 echo "Doing html in gettext" ; \
11683 (cd $(HOST_SUBDIR)/gettext && \
11684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11686 "RANLIB=$${RANLIB}" \
11687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11688 html) \
11689 || exit 1
11691 @endif gettext
11693 .PHONY: maybe-TAGS-gettext TAGS-gettext
11694 maybe-TAGS-gettext:
11695 @if gettext
11696 maybe-TAGS-gettext: TAGS-gettext
11698 TAGS-gettext: \
11699 configure-gettext
11700 @[ -f ./gettext/Makefile ] || exit 0; \
11701 r=`${PWD_COMMAND}`; export r; \
11702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11703 $(HOST_EXPORTS) \
11704 for flag in $(EXTRA_HOST_FLAGS) ; do \
11705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11706 done; \
11707 echo "Doing TAGS in gettext" ; \
11708 (cd $(HOST_SUBDIR)/gettext && \
11709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11711 "RANLIB=$${RANLIB}" \
11712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11713 TAGS) \
11714 || exit 1
11716 @endif gettext
11718 .PHONY: maybe-install-info-gettext install-info-gettext
11719 maybe-install-info-gettext:
11720 @if gettext
11721 maybe-install-info-gettext: install-info-gettext
11723 install-info-gettext: \
11724 configure-gettext \
11725 info-gettext
11726 @[ -f ./gettext/Makefile ] || exit 0; \
11727 r=`${PWD_COMMAND}`; export r; \
11728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11729 $(HOST_EXPORTS) \
11730 for flag in $(EXTRA_HOST_FLAGS) ; do \
11731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11732 done; \
11733 echo "Doing install-info in gettext" ; \
11734 (cd $(HOST_SUBDIR)/gettext && \
11735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11737 "RANLIB=$${RANLIB}" \
11738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11739 install-info) \
11740 || exit 1
11742 @endif gettext
11744 .PHONY: maybe-installcheck-gettext installcheck-gettext
11745 maybe-installcheck-gettext:
11746 @if gettext
11747 maybe-installcheck-gettext: installcheck-gettext
11749 installcheck-gettext: \
11750 configure-gettext
11751 @[ -f ./gettext/Makefile ] || exit 0; \
11752 r=`${PWD_COMMAND}`; export r; \
11753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11754 $(HOST_EXPORTS) \
11755 for flag in $(EXTRA_HOST_FLAGS) ; do \
11756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11757 done; \
11758 echo "Doing installcheck in gettext" ; \
11759 (cd $(HOST_SUBDIR)/gettext && \
11760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11762 "RANLIB=$${RANLIB}" \
11763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11764 installcheck) \
11765 || exit 1
11767 @endif gettext
11769 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
11770 maybe-mostlyclean-gettext:
11771 @if gettext
11772 maybe-mostlyclean-gettext: mostlyclean-gettext
11774 mostlyclean-gettext:
11775 @[ -f ./gettext/Makefile ] || exit 0; \
11776 r=`${PWD_COMMAND}`; export r; \
11777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11778 $(HOST_EXPORTS) \
11779 for flag in $(EXTRA_HOST_FLAGS) ; do \
11780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11781 done; \
11782 echo "Doing mostlyclean in gettext" ; \
11783 (cd $(HOST_SUBDIR)/gettext && \
11784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11786 "RANLIB=$${RANLIB}" \
11787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11788 mostlyclean) \
11789 || exit 1
11791 @endif gettext
11793 .PHONY: maybe-clean-gettext clean-gettext
11794 maybe-clean-gettext:
11795 @if gettext
11796 maybe-clean-gettext: clean-gettext
11798 clean-gettext:
11799 @[ -f ./gettext/Makefile ] || exit 0; \
11800 r=`${PWD_COMMAND}`; export r; \
11801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11802 $(HOST_EXPORTS) \
11803 for flag in $(EXTRA_HOST_FLAGS) ; do \
11804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11805 done; \
11806 echo "Doing clean in gettext" ; \
11807 (cd $(HOST_SUBDIR)/gettext && \
11808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11810 "RANLIB=$${RANLIB}" \
11811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11812 clean) \
11813 || exit 1
11815 @endif gettext
11817 .PHONY: maybe-distclean-gettext distclean-gettext
11818 maybe-distclean-gettext:
11819 @if gettext
11820 maybe-distclean-gettext: distclean-gettext
11822 distclean-gettext:
11823 @[ -f ./gettext/Makefile ] || exit 0; \
11824 r=`${PWD_COMMAND}`; export r; \
11825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11826 $(HOST_EXPORTS) \
11827 for flag in $(EXTRA_HOST_FLAGS) ; do \
11828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11829 done; \
11830 echo "Doing distclean in gettext" ; \
11831 (cd $(HOST_SUBDIR)/gettext && \
11832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11834 "RANLIB=$${RANLIB}" \
11835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11836 distclean) \
11837 || exit 1
11839 @endif gettext
11841 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
11842 maybe-maintainer-clean-gettext:
11843 @if gettext
11844 maybe-maintainer-clean-gettext: maintainer-clean-gettext
11846 maintainer-clean-gettext:
11847 @[ -f ./gettext/Makefile ] || exit 0; \
11848 r=`${PWD_COMMAND}`; export r; \
11849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11850 $(HOST_EXPORTS) \
11851 for flag in $(EXTRA_HOST_FLAGS) ; do \
11852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11853 done; \
11854 echo "Doing maintainer-clean in gettext" ; \
11855 (cd $(HOST_SUBDIR)/gettext && \
11856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11858 "RANLIB=$${RANLIB}" \
11859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11860 maintainer-clean) \
11861 || exit 1
11863 @endif gettext
11867 .PHONY: configure-gnuserv maybe-configure-gnuserv
11868 maybe-configure-gnuserv:
11869 @if gnuserv
11870 maybe-configure-gnuserv: configure-gnuserv
11871 configure-gnuserv:
11872 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
11873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
11874 r=`${PWD_COMMAND}`; export r; \
11875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11876 $(HOST_EXPORTS) \
11877 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
11878 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
11879 case $(srcdir) in \
11880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11881 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
11882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11883 esac; \
11884 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
11885 libsrcdir="$$s/gnuserv"; \
11886 $(SHELL) $${libsrcdir}/configure \
11887 $(HOST_CONFIGARGS) $${srcdiroption} \
11888 || exit 1
11889 @endif gnuserv
11895 .PHONY: all-gnuserv maybe-all-gnuserv
11896 maybe-all-gnuserv:
11897 @if gnuserv
11898 TARGET-gnuserv=all
11899 maybe-all-gnuserv: all-gnuserv
11900 all-gnuserv: configure-gnuserv
11901 @r=`${PWD_COMMAND}`; export r; \
11902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11903 $(HOST_EXPORTS) \
11904 (cd $(HOST_SUBDIR)/gnuserv && \
11905 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
11906 @endif gnuserv
11911 .PHONY: check-gnuserv maybe-check-gnuserv
11912 maybe-check-gnuserv:
11913 @if gnuserv
11914 maybe-check-gnuserv: check-gnuserv
11916 check-gnuserv:
11917 @r=`${PWD_COMMAND}`; export r; \
11918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11919 $(HOST_EXPORTS) \
11920 (cd $(HOST_SUBDIR)/gnuserv && \
11921 $(MAKE) $(FLAGS_TO_PASS) check)
11923 @endif gnuserv
11925 .PHONY: install-gnuserv maybe-install-gnuserv
11926 maybe-install-gnuserv:
11927 @if gnuserv
11928 maybe-install-gnuserv: install-gnuserv
11930 install-gnuserv: installdirs
11931 @r=`${PWD_COMMAND}`; export r; \
11932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11933 $(HOST_EXPORTS) \
11934 (cd $(HOST_SUBDIR)/gnuserv && \
11935 $(MAKE) $(FLAGS_TO_PASS) install)
11937 @endif gnuserv
11939 # Other targets (info, dvi, etc.)
11941 .PHONY: maybe-info-gnuserv info-gnuserv
11942 maybe-info-gnuserv:
11943 @if gnuserv
11944 maybe-info-gnuserv: info-gnuserv
11946 info-gnuserv: \
11947 configure-gnuserv
11948 @[ -f ./gnuserv/Makefile ] || exit 0; \
11949 r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11951 $(HOST_EXPORTS) \
11952 for flag in $(EXTRA_HOST_FLAGS) ; do \
11953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11954 done; \
11955 echo "Doing info in gnuserv" ; \
11956 (cd $(HOST_SUBDIR)/gnuserv && \
11957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11959 "RANLIB=$${RANLIB}" \
11960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11961 info) \
11962 || exit 1
11964 @endif gnuserv
11966 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
11967 maybe-dvi-gnuserv:
11968 @if gnuserv
11969 maybe-dvi-gnuserv: dvi-gnuserv
11971 dvi-gnuserv: \
11972 configure-gnuserv
11973 @[ -f ./gnuserv/Makefile ] || exit 0; \
11974 r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 for flag in $(EXTRA_HOST_FLAGS) ; do \
11978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11979 done; \
11980 echo "Doing dvi in gnuserv" ; \
11981 (cd $(HOST_SUBDIR)/gnuserv && \
11982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11984 "RANLIB=$${RANLIB}" \
11985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11986 dvi) \
11987 || exit 1
11989 @endif gnuserv
11991 .PHONY: maybe-html-gnuserv html-gnuserv
11992 maybe-html-gnuserv:
11993 @if gnuserv
11994 maybe-html-gnuserv: html-gnuserv
11996 html-gnuserv: \
11997 configure-gnuserv
11998 @[ -f ./gnuserv/Makefile ] || exit 0; \
11999 r=`${PWD_COMMAND}`; export r; \
12000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 $(HOST_EXPORTS) \
12002 for flag in $(EXTRA_HOST_FLAGS) ; do \
12003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12004 done; \
12005 echo "Doing html in gnuserv" ; \
12006 (cd $(HOST_SUBDIR)/gnuserv && \
12007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12009 "RANLIB=$${RANLIB}" \
12010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12011 html) \
12012 || exit 1
12014 @endif gnuserv
12016 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12017 maybe-TAGS-gnuserv:
12018 @if gnuserv
12019 maybe-TAGS-gnuserv: TAGS-gnuserv
12021 TAGS-gnuserv: \
12022 configure-gnuserv
12023 @[ -f ./gnuserv/Makefile ] || exit 0; \
12024 r=`${PWD_COMMAND}`; export r; \
12025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 $(HOST_EXPORTS) \
12027 for flag in $(EXTRA_HOST_FLAGS) ; do \
12028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 done; \
12030 echo "Doing TAGS in gnuserv" ; \
12031 (cd $(HOST_SUBDIR)/gnuserv && \
12032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12034 "RANLIB=$${RANLIB}" \
12035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12036 TAGS) \
12037 || exit 1
12039 @endif gnuserv
12041 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12042 maybe-install-info-gnuserv:
12043 @if gnuserv
12044 maybe-install-info-gnuserv: install-info-gnuserv
12046 install-info-gnuserv: \
12047 configure-gnuserv \
12048 info-gnuserv
12049 @[ -f ./gnuserv/Makefile ] || exit 0; \
12050 r=`${PWD_COMMAND}`; export r; \
12051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12052 $(HOST_EXPORTS) \
12053 for flag in $(EXTRA_HOST_FLAGS) ; do \
12054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12055 done; \
12056 echo "Doing install-info in gnuserv" ; \
12057 (cd $(HOST_SUBDIR)/gnuserv && \
12058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12060 "RANLIB=$${RANLIB}" \
12061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12062 install-info) \
12063 || exit 1
12065 @endif gnuserv
12067 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12068 maybe-installcheck-gnuserv:
12069 @if gnuserv
12070 maybe-installcheck-gnuserv: installcheck-gnuserv
12072 installcheck-gnuserv: \
12073 configure-gnuserv
12074 @[ -f ./gnuserv/Makefile ] || exit 0; \
12075 r=`${PWD_COMMAND}`; export r; \
12076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12077 $(HOST_EXPORTS) \
12078 for flag in $(EXTRA_HOST_FLAGS) ; do \
12079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12080 done; \
12081 echo "Doing installcheck in gnuserv" ; \
12082 (cd $(HOST_SUBDIR)/gnuserv && \
12083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12085 "RANLIB=$${RANLIB}" \
12086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12087 installcheck) \
12088 || exit 1
12090 @endif gnuserv
12092 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12093 maybe-mostlyclean-gnuserv:
12094 @if gnuserv
12095 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12097 mostlyclean-gnuserv:
12098 @[ -f ./gnuserv/Makefile ] || exit 0; \
12099 r=`${PWD_COMMAND}`; export r; \
12100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12101 $(HOST_EXPORTS) \
12102 for flag in $(EXTRA_HOST_FLAGS) ; do \
12103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12104 done; \
12105 echo "Doing mostlyclean in gnuserv" ; \
12106 (cd $(HOST_SUBDIR)/gnuserv && \
12107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12109 "RANLIB=$${RANLIB}" \
12110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12111 mostlyclean) \
12112 || exit 1
12114 @endif gnuserv
12116 .PHONY: maybe-clean-gnuserv clean-gnuserv
12117 maybe-clean-gnuserv:
12118 @if gnuserv
12119 maybe-clean-gnuserv: clean-gnuserv
12121 clean-gnuserv:
12122 @[ -f ./gnuserv/Makefile ] || exit 0; \
12123 r=`${PWD_COMMAND}`; export r; \
12124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12125 $(HOST_EXPORTS) \
12126 for flag in $(EXTRA_HOST_FLAGS) ; do \
12127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12128 done; \
12129 echo "Doing clean in gnuserv" ; \
12130 (cd $(HOST_SUBDIR)/gnuserv && \
12131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12133 "RANLIB=$${RANLIB}" \
12134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12135 clean) \
12136 || exit 1
12138 @endif gnuserv
12140 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12141 maybe-distclean-gnuserv:
12142 @if gnuserv
12143 maybe-distclean-gnuserv: distclean-gnuserv
12145 distclean-gnuserv:
12146 @[ -f ./gnuserv/Makefile ] || exit 0; \
12147 r=`${PWD_COMMAND}`; export r; \
12148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12149 $(HOST_EXPORTS) \
12150 for flag in $(EXTRA_HOST_FLAGS) ; do \
12151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12152 done; \
12153 echo "Doing distclean in gnuserv" ; \
12154 (cd $(HOST_SUBDIR)/gnuserv && \
12155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12157 "RANLIB=$${RANLIB}" \
12158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12159 distclean) \
12160 || exit 1
12162 @endif gnuserv
12164 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12165 maybe-maintainer-clean-gnuserv:
12166 @if gnuserv
12167 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12169 maintainer-clean-gnuserv:
12170 @[ -f ./gnuserv/Makefile ] || exit 0; \
12171 r=`${PWD_COMMAND}`; export r; \
12172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12173 $(HOST_EXPORTS) \
12174 for flag in $(EXTRA_HOST_FLAGS) ; do \
12175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12176 done; \
12177 echo "Doing maintainer-clean in gnuserv" ; \
12178 (cd $(HOST_SUBDIR)/gnuserv && \
12179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12181 "RANLIB=$${RANLIB}" \
12182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12183 maintainer-clean) \
12184 || exit 1
12186 @endif gnuserv
12190 .PHONY: configure-gprof maybe-configure-gprof
12191 maybe-configure-gprof:
12192 @if gprof
12193 maybe-configure-gprof: configure-gprof
12194 configure-gprof:
12195 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12197 r=`${PWD_COMMAND}`; export r; \
12198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12199 $(HOST_EXPORTS) \
12200 echo Configuring in $(HOST_SUBDIR)/gprof; \
12201 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12202 case $(srcdir) in \
12203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12204 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12206 esac; \
12207 srcdiroption="--srcdir=$${topdir}/gprof"; \
12208 libsrcdir="$$s/gprof"; \
12209 $(SHELL) $${libsrcdir}/configure \
12210 $(HOST_CONFIGARGS) $${srcdiroption} \
12211 || exit 1
12212 @endif gprof
12218 .PHONY: all-gprof maybe-all-gprof
12219 maybe-all-gprof:
12220 @if gprof
12221 TARGET-gprof=all
12222 maybe-all-gprof: all-gprof
12223 all-gprof: configure-gprof
12224 @r=`${PWD_COMMAND}`; export r; \
12225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12226 $(HOST_EXPORTS) \
12227 (cd $(HOST_SUBDIR)/gprof && \
12228 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12229 @endif gprof
12234 .PHONY: check-gprof maybe-check-gprof
12235 maybe-check-gprof:
12236 @if gprof
12237 maybe-check-gprof: check-gprof
12239 check-gprof:
12240 @r=`${PWD_COMMAND}`; export r; \
12241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12242 $(HOST_EXPORTS) \
12243 (cd $(HOST_SUBDIR)/gprof && \
12244 $(MAKE) $(FLAGS_TO_PASS) check)
12246 @endif gprof
12248 .PHONY: install-gprof maybe-install-gprof
12249 maybe-install-gprof:
12250 @if gprof
12251 maybe-install-gprof: install-gprof
12253 install-gprof: installdirs
12254 @r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 (cd $(HOST_SUBDIR)/gprof && \
12258 $(MAKE) $(FLAGS_TO_PASS) install)
12260 @endif gprof
12262 # Other targets (info, dvi, etc.)
12264 .PHONY: maybe-info-gprof info-gprof
12265 maybe-info-gprof:
12266 @if gprof
12267 maybe-info-gprof: info-gprof
12269 info-gprof: \
12270 configure-gprof
12271 @[ -f ./gprof/Makefile ] || exit 0; \
12272 r=`${PWD_COMMAND}`; export r; \
12273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12274 $(HOST_EXPORTS) \
12275 for flag in $(EXTRA_HOST_FLAGS) ; do \
12276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12277 done; \
12278 echo "Doing info in gprof" ; \
12279 (cd $(HOST_SUBDIR)/gprof && \
12280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12282 "RANLIB=$${RANLIB}" \
12283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12284 info) \
12285 || exit 1
12287 @endif gprof
12289 .PHONY: maybe-dvi-gprof dvi-gprof
12290 maybe-dvi-gprof:
12291 @if gprof
12292 maybe-dvi-gprof: dvi-gprof
12294 dvi-gprof: \
12295 configure-gprof
12296 @[ -f ./gprof/Makefile ] || exit 0; \
12297 r=`${PWD_COMMAND}`; export r; \
12298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12299 $(HOST_EXPORTS) \
12300 for flag in $(EXTRA_HOST_FLAGS) ; do \
12301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12302 done; \
12303 echo "Doing dvi in gprof" ; \
12304 (cd $(HOST_SUBDIR)/gprof && \
12305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12307 "RANLIB=$${RANLIB}" \
12308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12309 dvi) \
12310 || exit 1
12312 @endif gprof
12314 .PHONY: maybe-html-gprof html-gprof
12315 maybe-html-gprof:
12316 @if gprof
12317 maybe-html-gprof: html-gprof
12319 html-gprof: \
12320 configure-gprof
12321 @[ -f ./gprof/Makefile ] || exit 0; \
12322 r=`${PWD_COMMAND}`; export r; \
12323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12324 $(HOST_EXPORTS) \
12325 for flag in $(EXTRA_HOST_FLAGS) ; do \
12326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12327 done; \
12328 echo "Doing html in gprof" ; \
12329 (cd $(HOST_SUBDIR)/gprof && \
12330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12332 "RANLIB=$${RANLIB}" \
12333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12334 html) \
12335 || exit 1
12337 @endif gprof
12339 .PHONY: maybe-TAGS-gprof TAGS-gprof
12340 maybe-TAGS-gprof:
12341 @if gprof
12342 maybe-TAGS-gprof: TAGS-gprof
12344 TAGS-gprof: \
12345 configure-gprof
12346 @[ -f ./gprof/Makefile ] || exit 0; \
12347 r=`${PWD_COMMAND}`; export r; \
12348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12349 $(HOST_EXPORTS) \
12350 for flag in $(EXTRA_HOST_FLAGS) ; do \
12351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12352 done; \
12353 echo "Doing TAGS in gprof" ; \
12354 (cd $(HOST_SUBDIR)/gprof && \
12355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12357 "RANLIB=$${RANLIB}" \
12358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 TAGS) \
12360 || exit 1
12362 @endif gprof
12364 .PHONY: maybe-install-info-gprof install-info-gprof
12365 maybe-install-info-gprof:
12366 @if gprof
12367 maybe-install-info-gprof: install-info-gprof
12369 install-info-gprof: \
12370 configure-gprof \
12371 info-gprof
12372 @[ -f ./gprof/Makefile ] || exit 0; \
12373 r=`${PWD_COMMAND}`; export r; \
12374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12375 $(HOST_EXPORTS) \
12376 for flag in $(EXTRA_HOST_FLAGS) ; do \
12377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12378 done; \
12379 echo "Doing install-info in gprof" ; \
12380 (cd $(HOST_SUBDIR)/gprof && \
12381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12383 "RANLIB=$${RANLIB}" \
12384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12385 install-info) \
12386 || exit 1
12388 @endif gprof
12390 .PHONY: maybe-installcheck-gprof installcheck-gprof
12391 maybe-installcheck-gprof:
12392 @if gprof
12393 maybe-installcheck-gprof: installcheck-gprof
12395 installcheck-gprof: \
12396 configure-gprof
12397 @[ -f ./gprof/Makefile ] || exit 0; \
12398 r=`${PWD_COMMAND}`; export r; \
12399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12400 $(HOST_EXPORTS) \
12401 for flag in $(EXTRA_HOST_FLAGS) ; do \
12402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12403 done; \
12404 echo "Doing installcheck in gprof" ; \
12405 (cd $(HOST_SUBDIR)/gprof && \
12406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12408 "RANLIB=$${RANLIB}" \
12409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12410 installcheck) \
12411 || exit 1
12413 @endif gprof
12415 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12416 maybe-mostlyclean-gprof:
12417 @if gprof
12418 maybe-mostlyclean-gprof: mostlyclean-gprof
12420 mostlyclean-gprof:
12421 @[ -f ./gprof/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12424 $(HOST_EXPORTS) \
12425 for flag in $(EXTRA_HOST_FLAGS) ; do \
12426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427 done; \
12428 echo "Doing mostlyclean in gprof" ; \
12429 (cd $(HOST_SUBDIR)/gprof && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432 "RANLIB=$${RANLIB}" \
12433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434 mostlyclean) \
12435 || exit 1
12437 @endif gprof
12439 .PHONY: maybe-clean-gprof clean-gprof
12440 maybe-clean-gprof:
12441 @if gprof
12442 maybe-clean-gprof: clean-gprof
12444 clean-gprof:
12445 @[ -f ./gprof/Makefile ] || exit 0; \
12446 r=`${PWD_COMMAND}`; export r; \
12447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12448 $(HOST_EXPORTS) \
12449 for flag in $(EXTRA_HOST_FLAGS) ; do \
12450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12451 done; \
12452 echo "Doing clean in gprof" ; \
12453 (cd $(HOST_SUBDIR)/gprof && \
12454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12456 "RANLIB=$${RANLIB}" \
12457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12458 clean) \
12459 || exit 1
12461 @endif gprof
12463 .PHONY: maybe-distclean-gprof distclean-gprof
12464 maybe-distclean-gprof:
12465 @if gprof
12466 maybe-distclean-gprof: distclean-gprof
12468 distclean-gprof:
12469 @[ -f ./gprof/Makefile ] || exit 0; \
12470 r=`${PWD_COMMAND}`; export r; \
12471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12472 $(HOST_EXPORTS) \
12473 for flag in $(EXTRA_HOST_FLAGS) ; do \
12474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12475 done; \
12476 echo "Doing distclean in gprof" ; \
12477 (cd $(HOST_SUBDIR)/gprof && \
12478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12480 "RANLIB=$${RANLIB}" \
12481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12482 distclean) \
12483 || exit 1
12485 @endif gprof
12487 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12488 maybe-maintainer-clean-gprof:
12489 @if gprof
12490 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12492 maintainer-clean-gprof:
12493 @[ -f ./gprof/Makefile ] || exit 0; \
12494 r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 $(HOST_EXPORTS) \
12497 for flag in $(EXTRA_HOST_FLAGS) ; do \
12498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12499 done; \
12500 echo "Doing maintainer-clean in gprof" ; \
12501 (cd $(HOST_SUBDIR)/gprof && \
12502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12504 "RANLIB=$${RANLIB}" \
12505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12506 maintainer-clean) \
12507 || exit 1
12509 @endif gprof
12513 .PHONY: configure-gzip maybe-configure-gzip
12514 maybe-configure-gzip:
12515 @if gzip
12516 maybe-configure-gzip: configure-gzip
12517 configure-gzip:
12518 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12520 r=`${PWD_COMMAND}`; export r; \
12521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12522 $(HOST_EXPORTS) \
12523 echo Configuring in $(HOST_SUBDIR)/gzip; \
12524 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12525 case $(srcdir) in \
12526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12527 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12529 esac; \
12530 srcdiroption="--srcdir=$${topdir}/gzip"; \
12531 libsrcdir="$$s/gzip"; \
12532 $(SHELL) $${libsrcdir}/configure \
12533 $(HOST_CONFIGARGS) $${srcdiroption} \
12534 || exit 1
12535 @endif gzip
12541 .PHONY: all-gzip maybe-all-gzip
12542 maybe-all-gzip:
12543 @if gzip
12544 TARGET-gzip=all
12545 maybe-all-gzip: all-gzip
12546 all-gzip: configure-gzip
12547 @r=`${PWD_COMMAND}`; export r; \
12548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12549 $(HOST_EXPORTS) \
12550 (cd $(HOST_SUBDIR)/gzip && \
12551 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12552 @endif gzip
12557 .PHONY: check-gzip maybe-check-gzip
12558 maybe-check-gzip:
12559 @if gzip
12560 maybe-check-gzip: check-gzip
12562 check-gzip:
12563 @r=`${PWD_COMMAND}`; export r; \
12564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12565 $(HOST_EXPORTS) \
12566 (cd $(HOST_SUBDIR)/gzip && \
12567 $(MAKE) $(FLAGS_TO_PASS) check)
12569 @endif gzip
12571 .PHONY: install-gzip maybe-install-gzip
12572 maybe-install-gzip:
12573 @if gzip
12574 maybe-install-gzip: install-gzip
12576 install-gzip: installdirs
12577 @r=`${PWD_COMMAND}`; export r; \
12578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12579 $(HOST_EXPORTS) \
12580 (cd $(HOST_SUBDIR)/gzip && \
12581 $(MAKE) $(FLAGS_TO_PASS) install)
12583 @endif gzip
12585 # Other targets (info, dvi, etc.)
12587 .PHONY: maybe-info-gzip info-gzip
12588 maybe-info-gzip:
12589 @if gzip
12590 maybe-info-gzip: info-gzip
12592 info-gzip: \
12593 configure-gzip
12594 @[ -f ./gzip/Makefile ] || exit 0; \
12595 r=`${PWD_COMMAND}`; export r; \
12596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 info in gzip" ; \
12602 (cd $(HOST_SUBDIR)/gzip && \
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 info) \
12608 || exit 1
12610 @endif gzip
12612 .PHONY: maybe-dvi-gzip dvi-gzip
12613 maybe-dvi-gzip:
12614 @if gzip
12615 maybe-dvi-gzip: dvi-gzip
12617 dvi-gzip: \
12618 configure-gzip
12619 @[ -f ./gzip/Makefile ] || exit 0; \
12620 r=`${PWD_COMMAND}`; export r; \
12621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12622 $(HOST_EXPORTS) \
12623 for flag in $(EXTRA_HOST_FLAGS) ; do \
12624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12625 done; \
12626 echo "Doing dvi in gzip" ; \
12627 (cd $(HOST_SUBDIR)/gzip && \
12628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12630 "RANLIB=$${RANLIB}" \
12631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12632 dvi) \
12633 || exit 1
12635 @endif gzip
12637 .PHONY: maybe-html-gzip html-gzip
12638 maybe-html-gzip:
12639 @if gzip
12640 maybe-html-gzip: html-gzip
12642 html-gzip: \
12643 configure-gzip
12644 @[ -f ./gzip/Makefile ] || exit 0; \
12645 r=`${PWD_COMMAND}`; export r; \
12646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12647 $(HOST_EXPORTS) \
12648 for flag in $(EXTRA_HOST_FLAGS) ; do \
12649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12650 done; \
12651 echo "Doing html in gzip" ; \
12652 (cd $(HOST_SUBDIR)/gzip && \
12653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12655 "RANLIB=$${RANLIB}" \
12656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12657 html) \
12658 || exit 1
12660 @endif gzip
12662 .PHONY: maybe-TAGS-gzip TAGS-gzip
12663 maybe-TAGS-gzip:
12664 @if gzip
12665 maybe-TAGS-gzip: TAGS-gzip
12667 TAGS-gzip: \
12668 configure-gzip
12669 @[ -f ./gzip/Makefile ] || exit 0; \
12670 r=`${PWD_COMMAND}`; export r; \
12671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12672 $(HOST_EXPORTS) \
12673 for flag in $(EXTRA_HOST_FLAGS) ; do \
12674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12675 done; \
12676 echo "Doing TAGS in gzip" ; \
12677 (cd $(HOST_SUBDIR)/gzip && \
12678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12680 "RANLIB=$${RANLIB}" \
12681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12682 TAGS) \
12683 || exit 1
12685 @endif gzip
12687 .PHONY: maybe-install-info-gzip install-info-gzip
12688 maybe-install-info-gzip:
12689 @if gzip
12690 maybe-install-info-gzip: install-info-gzip
12692 install-info-gzip: \
12693 configure-gzip \
12694 info-gzip
12695 @[ -f ./gzip/Makefile ] || exit 0; \
12696 r=`${PWD_COMMAND}`; export r; \
12697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in gzip" ; \
12703 (cd $(HOST_SUBDIR)/gzip && \
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 install-info) \
12709 || exit 1
12711 @endif gzip
12713 .PHONY: maybe-installcheck-gzip installcheck-gzip
12714 maybe-installcheck-gzip:
12715 @if gzip
12716 maybe-installcheck-gzip: installcheck-gzip
12718 installcheck-gzip: \
12719 configure-gzip
12720 @[ -f ./gzip/Makefile ] || exit 0; \
12721 r=`${PWD_COMMAND}`; export r; \
12722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 installcheck in gzip" ; \
12728 (cd $(HOST_SUBDIR)/gzip && \
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 installcheck) \
12734 || exit 1
12736 @endif gzip
12738 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
12739 maybe-mostlyclean-gzip:
12740 @if gzip
12741 maybe-mostlyclean-gzip: mostlyclean-gzip
12743 mostlyclean-gzip:
12744 @[ -f ./gzip/Makefile ] || exit 0; \
12745 r=`${PWD_COMMAND}`; export r; \
12746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12747 $(HOST_EXPORTS) \
12748 for flag in $(EXTRA_HOST_FLAGS) ; do \
12749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12750 done; \
12751 echo "Doing mostlyclean in gzip" ; \
12752 (cd $(HOST_SUBDIR)/gzip && \
12753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12755 "RANLIB=$${RANLIB}" \
12756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12757 mostlyclean) \
12758 || exit 1
12760 @endif gzip
12762 .PHONY: maybe-clean-gzip clean-gzip
12763 maybe-clean-gzip:
12764 @if gzip
12765 maybe-clean-gzip: clean-gzip
12767 clean-gzip:
12768 @[ -f ./gzip/Makefile ] || exit 0; \
12769 r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12771 $(HOST_EXPORTS) \
12772 for flag in $(EXTRA_HOST_FLAGS) ; do \
12773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12774 done; \
12775 echo "Doing clean in gzip" ; \
12776 (cd $(HOST_SUBDIR)/gzip && \
12777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12779 "RANLIB=$${RANLIB}" \
12780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12781 clean) \
12782 || exit 1
12784 @endif gzip
12786 .PHONY: maybe-distclean-gzip distclean-gzip
12787 maybe-distclean-gzip:
12788 @if gzip
12789 maybe-distclean-gzip: distclean-gzip
12791 distclean-gzip:
12792 @[ -f ./gzip/Makefile ] || exit 0; \
12793 r=`${PWD_COMMAND}`; export r; \
12794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12795 $(HOST_EXPORTS) \
12796 for flag in $(EXTRA_HOST_FLAGS) ; do \
12797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12798 done; \
12799 echo "Doing distclean in gzip" ; \
12800 (cd $(HOST_SUBDIR)/gzip && \
12801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12803 "RANLIB=$${RANLIB}" \
12804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12805 distclean) \
12806 || exit 1
12808 @endif gzip
12810 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
12811 maybe-maintainer-clean-gzip:
12812 @if gzip
12813 maybe-maintainer-clean-gzip: maintainer-clean-gzip
12815 maintainer-clean-gzip:
12816 @[ -f ./gzip/Makefile ] || exit 0; \
12817 r=`${PWD_COMMAND}`; export r; \
12818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12819 $(HOST_EXPORTS) \
12820 for flag in $(EXTRA_HOST_FLAGS) ; do \
12821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12822 done; \
12823 echo "Doing maintainer-clean in gzip" ; \
12824 (cd $(HOST_SUBDIR)/gzip && \
12825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12827 "RANLIB=$${RANLIB}" \
12828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12829 maintainer-clean) \
12830 || exit 1
12832 @endif gzip
12836 .PHONY: configure-hello maybe-configure-hello
12837 maybe-configure-hello:
12838 @if hello
12839 maybe-configure-hello: configure-hello
12840 configure-hello:
12841 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
12842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
12843 r=`${PWD_COMMAND}`; export r; \
12844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12845 $(HOST_EXPORTS) \
12846 echo Configuring in $(HOST_SUBDIR)/hello; \
12847 cd "$(HOST_SUBDIR)/hello" || exit 1; \
12848 case $(srcdir) in \
12849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12850 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
12851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12852 esac; \
12853 srcdiroption="--srcdir=$${topdir}/hello"; \
12854 libsrcdir="$$s/hello"; \
12855 $(SHELL) $${libsrcdir}/configure \
12856 $(HOST_CONFIGARGS) $${srcdiroption} \
12857 || exit 1
12858 @endif hello
12864 .PHONY: all-hello maybe-all-hello
12865 maybe-all-hello:
12866 @if hello
12867 TARGET-hello=all
12868 maybe-all-hello: all-hello
12869 all-hello: configure-hello
12870 @r=`${PWD_COMMAND}`; export r; \
12871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12872 $(HOST_EXPORTS) \
12873 (cd $(HOST_SUBDIR)/hello && \
12874 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
12875 @endif hello
12880 .PHONY: check-hello maybe-check-hello
12881 maybe-check-hello:
12882 @if hello
12883 maybe-check-hello: check-hello
12885 check-hello:
12886 @r=`${PWD_COMMAND}`; export r; \
12887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12888 $(HOST_EXPORTS) \
12889 (cd $(HOST_SUBDIR)/hello && \
12890 $(MAKE) $(FLAGS_TO_PASS) check)
12892 @endif hello
12894 .PHONY: install-hello maybe-install-hello
12895 maybe-install-hello:
12896 @if hello
12897 maybe-install-hello: install-hello
12899 install-hello: installdirs
12900 @r=`${PWD_COMMAND}`; export r; \
12901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12902 $(HOST_EXPORTS) \
12903 (cd $(HOST_SUBDIR)/hello && \
12904 $(MAKE) $(FLAGS_TO_PASS) install)
12906 @endif hello
12908 # Other targets (info, dvi, etc.)
12910 .PHONY: maybe-info-hello info-hello
12911 maybe-info-hello:
12912 @if hello
12913 maybe-info-hello: info-hello
12915 info-hello: \
12916 configure-hello
12917 @[ -f ./hello/Makefile ] || exit 0; \
12918 r=`${PWD_COMMAND}`; export r; \
12919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12920 $(HOST_EXPORTS) \
12921 for flag in $(EXTRA_HOST_FLAGS) ; do \
12922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12923 done; \
12924 echo "Doing info in hello" ; \
12925 (cd $(HOST_SUBDIR)/hello && \
12926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12928 "RANLIB=$${RANLIB}" \
12929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12930 info) \
12931 || exit 1
12933 @endif hello
12935 .PHONY: maybe-dvi-hello dvi-hello
12936 maybe-dvi-hello:
12937 @if hello
12938 maybe-dvi-hello: dvi-hello
12940 dvi-hello: \
12941 configure-hello
12942 @[ -f ./hello/Makefile ] || exit 0; \
12943 r=`${PWD_COMMAND}`; export r; \
12944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 $(HOST_EXPORTS) \
12946 for flag in $(EXTRA_HOST_FLAGS) ; do \
12947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 done; \
12949 echo "Doing dvi in hello" ; \
12950 (cd $(HOST_SUBDIR)/hello && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12953 "RANLIB=$${RANLIB}" \
12954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12955 dvi) \
12956 || exit 1
12958 @endif hello
12960 .PHONY: maybe-html-hello html-hello
12961 maybe-html-hello:
12962 @if hello
12963 maybe-html-hello: html-hello
12965 html-hello: \
12966 configure-hello
12967 @[ -f ./hello/Makefile ] || exit 0; \
12968 r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 $(HOST_EXPORTS) \
12971 for flag in $(EXTRA_HOST_FLAGS) ; do \
12972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12973 done; \
12974 echo "Doing html in hello" ; \
12975 (cd $(HOST_SUBDIR)/hello && \
12976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12978 "RANLIB=$${RANLIB}" \
12979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12980 html) \
12981 || exit 1
12983 @endif hello
12985 .PHONY: maybe-TAGS-hello TAGS-hello
12986 maybe-TAGS-hello:
12987 @if hello
12988 maybe-TAGS-hello: TAGS-hello
12990 TAGS-hello: \
12991 configure-hello
12992 @[ -f ./hello/Makefile ] || exit 0; \
12993 r=`${PWD_COMMAND}`; export r; \
12994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12995 $(HOST_EXPORTS) \
12996 for flag in $(EXTRA_HOST_FLAGS) ; do \
12997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12998 done; \
12999 echo "Doing TAGS in hello" ; \
13000 (cd $(HOST_SUBDIR)/hello && \
13001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13003 "RANLIB=$${RANLIB}" \
13004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13005 TAGS) \
13006 || exit 1
13008 @endif hello
13010 .PHONY: maybe-install-info-hello install-info-hello
13011 maybe-install-info-hello:
13012 @if hello
13013 maybe-install-info-hello: install-info-hello
13015 install-info-hello: \
13016 configure-hello \
13017 info-hello
13018 @[ -f ./hello/Makefile ] || exit 0; \
13019 r=`${PWD_COMMAND}`; export r; \
13020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13021 $(HOST_EXPORTS) \
13022 for flag in $(EXTRA_HOST_FLAGS) ; do \
13023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13024 done; \
13025 echo "Doing install-info in hello" ; \
13026 (cd $(HOST_SUBDIR)/hello && \
13027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13029 "RANLIB=$${RANLIB}" \
13030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13031 install-info) \
13032 || exit 1
13034 @endif hello
13036 .PHONY: maybe-installcheck-hello installcheck-hello
13037 maybe-installcheck-hello:
13038 @if hello
13039 maybe-installcheck-hello: installcheck-hello
13041 installcheck-hello: \
13042 configure-hello
13043 @[ -f ./hello/Makefile ] || exit 0; \
13044 r=`${PWD_COMMAND}`; export r; \
13045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13046 $(HOST_EXPORTS) \
13047 for flag in $(EXTRA_HOST_FLAGS) ; do \
13048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13049 done; \
13050 echo "Doing installcheck in hello" ; \
13051 (cd $(HOST_SUBDIR)/hello && \
13052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13054 "RANLIB=$${RANLIB}" \
13055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13056 installcheck) \
13057 || exit 1
13059 @endif hello
13061 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13062 maybe-mostlyclean-hello:
13063 @if hello
13064 maybe-mostlyclean-hello: mostlyclean-hello
13066 mostlyclean-hello:
13067 @[ -f ./hello/Makefile ] || exit 0; \
13068 r=`${PWD_COMMAND}`; export r; \
13069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13070 $(HOST_EXPORTS) \
13071 for flag in $(EXTRA_HOST_FLAGS) ; do \
13072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13073 done; \
13074 echo "Doing mostlyclean in hello" ; \
13075 (cd $(HOST_SUBDIR)/hello && \
13076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13078 "RANLIB=$${RANLIB}" \
13079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13080 mostlyclean) \
13081 || exit 1
13083 @endif hello
13085 .PHONY: maybe-clean-hello clean-hello
13086 maybe-clean-hello:
13087 @if hello
13088 maybe-clean-hello: clean-hello
13090 clean-hello:
13091 @[ -f ./hello/Makefile ] || exit 0; \
13092 r=`${PWD_COMMAND}`; export r; \
13093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13094 $(HOST_EXPORTS) \
13095 for flag in $(EXTRA_HOST_FLAGS) ; do \
13096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13097 done; \
13098 echo "Doing clean in hello" ; \
13099 (cd $(HOST_SUBDIR)/hello && \
13100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13102 "RANLIB=$${RANLIB}" \
13103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13104 clean) \
13105 || exit 1
13107 @endif hello
13109 .PHONY: maybe-distclean-hello distclean-hello
13110 maybe-distclean-hello:
13111 @if hello
13112 maybe-distclean-hello: distclean-hello
13114 distclean-hello:
13115 @[ -f ./hello/Makefile ] || exit 0; \
13116 r=`${PWD_COMMAND}`; export r; \
13117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13118 $(HOST_EXPORTS) \
13119 for flag in $(EXTRA_HOST_FLAGS) ; do \
13120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13121 done; \
13122 echo "Doing distclean in hello" ; \
13123 (cd $(HOST_SUBDIR)/hello && \
13124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13126 "RANLIB=$${RANLIB}" \
13127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13128 distclean) \
13129 || exit 1
13131 @endif hello
13133 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13134 maybe-maintainer-clean-hello:
13135 @if hello
13136 maybe-maintainer-clean-hello: maintainer-clean-hello
13138 maintainer-clean-hello:
13139 @[ -f ./hello/Makefile ] || exit 0; \
13140 r=`${PWD_COMMAND}`; export r; \
13141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13142 $(HOST_EXPORTS) \
13143 for flag in $(EXTRA_HOST_FLAGS) ; do \
13144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13145 done; \
13146 echo "Doing maintainer-clean in hello" ; \
13147 (cd $(HOST_SUBDIR)/hello && \
13148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13150 "RANLIB=$${RANLIB}" \
13151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13152 maintainer-clean) \
13153 || exit 1
13155 @endif hello
13159 .PHONY: configure-indent maybe-configure-indent
13160 maybe-configure-indent:
13161 @if indent
13162 maybe-configure-indent: configure-indent
13163 configure-indent:
13164 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13166 r=`${PWD_COMMAND}`; export r; \
13167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13168 $(HOST_EXPORTS) \
13169 echo Configuring in $(HOST_SUBDIR)/indent; \
13170 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13171 case $(srcdir) in \
13172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13173 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13175 esac; \
13176 srcdiroption="--srcdir=$${topdir}/indent"; \
13177 libsrcdir="$$s/indent"; \
13178 $(SHELL) $${libsrcdir}/configure \
13179 $(HOST_CONFIGARGS) $${srcdiroption} \
13180 || exit 1
13181 @endif indent
13187 .PHONY: all-indent maybe-all-indent
13188 maybe-all-indent:
13189 @if indent
13190 TARGET-indent=all
13191 maybe-all-indent: all-indent
13192 all-indent: configure-indent
13193 @r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 $(HOST_EXPORTS) \
13196 (cd $(HOST_SUBDIR)/indent && \
13197 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13198 @endif indent
13203 .PHONY: check-indent maybe-check-indent
13204 maybe-check-indent:
13205 @if indent
13206 maybe-check-indent: check-indent
13208 check-indent:
13209 @r=`${PWD_COMMAND}`; export r; \
13210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13211 $(HOST_EXPORTS) \
13212 (cd $(HOST_SUBDIR)/indent && \
13213 $(MAKE) $(FLAGS_TO_PASS) check)
13215 @endif indent
13217 .PHONY: install-indent maybe-install-indent
13218 maybe-install-indent:
13219 @if indent
13220 maybe-install-indent: install-indent
13222 install-indent: installdirs
13223 @r=`${PWD_COMMAND}`; export r; \
13224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13225 $(HOST_EXPORTS) \
13226 (cd $(HOST_SUBDIR)/indent && \
13227 $(MAKE) $(FLAGS_TO_PASS) install)
13229 @endif indent
13231 # Other targets (info, dvi, etc.)
13233 .PHONY: maybe-info-indent info-indent
13234 maybe-info-indent:
13235 @if indent
13236 maybe-info-indent: info-indent
13238 info-indent: \
13239 configure-indent
13240 @[ -f ./indent/Makefile ] || exit 0; \
13241 r=`${PWD_COMMAND}`; export r; \
13242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13243 $(HOST_EXPORTS) \
13244 for flag in $(EXTRA_HOST_FLAGS) ; do \
13245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13246 done; \
13247 echo "Doing info in indent" ; \
13248 (cd $(HOST_SUBDIR)/indent && \
13249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13251 "RANLIB=$${RANLIB}" \
13252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13253 info) \
13254 || exit 1
13256 @endif indent
13258 .PHONY: maybe-dvi-indent dvi-indent
13259 maybe-dvi-indent:
13260 @if indent
13261 maybe-dvi-indent: dvi-indent
13263 dvi-indent: \
13264 configure-indent
13265 @[ -f ./indent/Makefile ] || exit 0; \
13266 r=`${PWD_COMMAND}`; export r; \
13267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13268 $(HOST_EXPORTS) \
13269 for flag in $(EXTRA_HOST_FLAGS) ; do \
13270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13271 done; \
13272 echo "Doing dvi in indent" ; \
13273 (cd $(HOST_SUBDIR)/indent && \
13274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13276 "RANLIB=$${RANLIB}" \
13277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13278 dvi) \
13279 || exit 1
13281 @endif indent
13283 .PHONY: maybe-html-indent html-indent
13284 maybe-html-indent:
13285 @if indent
13286 maybe-html-indent: html-indent
13288 html-indent: \
13289 configure-indent
13290 @[ -f ./indent/Makefile ] || exit 0; \
13291 r=`${PWD_COMMAND}`; export r; \
13292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13293 $(HOST_EXPORTS) \
13294 for flag in $(EXTRA_HOST_FLAGS) ; do \
13295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13296 done; \
13297 echo "Doing html in indent" ; \
13298 (cd $(HOST_SUBDIR)/indent && \
13299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13301 "RANLIB=$${RANLIB}" \
13302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13303 html) \
13304 || exit 1
13306 @endif indent
13308 .PHONY: maybe-TAGS-indent TAGS-indent
13309 maybe-TAGS-indent:
13310 @if indent
13311 maybe-TAGS-indent: TAGS-indent
13313 TAGS-indent: \
13314 configure-indent
13315 @[ -f ./indent/Makefile ] || exit 0; \
13316 r=`${PWD_COMMAND}`; export r; \
13317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13318 $(HOST_EXPORTS) \
13319 for flag in $(EXTRA_HOST_FLAGS) ; do \
13320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13321 done; \
13322 echo "Doing TAGS in indent" ; \
13323 (cd $(HOST_SUBDIR)/indent && \
13324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13326 "RANLIB=$${RANLIB}" \
13327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13328 TAGS) \
13329 || exit 1
13331 @endif indent
13333 .PHONY: maybe-install-info-indent install-info-indent
13334 maybe-install-info-indent:
13335 @if indent
13336 maybe-install-info-indent: install-info-indent
13338 install-info-indent: \
13339 configure-indent \
13340 info-indent
13341 @[ -f ./indent/Makefile ] || exit 0; \
13342 r=`${PWD_COMMAND}`; export r; \
13343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13344 $(HOST_EXPORTS) \
13345 for flag in $(EXTRA_HOST_FLAGS) ; do \
13346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13347 done; \
13348 echo "Doing install-info in indent" ; \
13349 (cd $(HOST_SUBDIR)/indent && \
13350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13352 "RANLIB=$${RANLIB}" \
13353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13354 install-info) \
13355 || exit 1
13357 @endif indent
13359 .PHONY: maybe-installcheck-indent installcheck-indent
13360 maybe-installcheck-indent:
13361 @if indent
13362 maybe-installcheck-indent: installcheck-indent
13364 installcheck-indent: \
13365 configure-indent
13366 @[ -f ./indent/Makefile ] || exit 0; \
13367 r=`${PWD_COMMAND}`; export r; \
13368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13369 $(HOST_EXPORTS) \
13370 for flag in $(EXTRA_HOST_FLAGS) ; do \
13371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13372 done; \
13373 echo "Doing installcheck in indent" ; \
13374 (cd $(HOST_SUBDIR)/indent && \
13375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13377 "RANLIB=$${RANLIB}" \
13378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13379 installcheck) \
13380 || exit 1
13382 @endif indent
13384 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13385 maybe-mostlyclean-indent:
13386 @if indent
13387 maybe-mostlyclean-indent: mostlyclean-indent
13389 mostlyclean-indent:
13390 @[ -f ./indent/Makefile ] || exit 0; \
13391 r=`${PWD_COMMAND}`; export r; \
13392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13393 $(HOST_EXPORTS) \
13394 for flag in $(EXTRA_HOST_FLAGS) ; do \
13395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13396 done; \
13397 echo "Doing mostlyclean in indent" ; \
13398 (cd $(HOST_SUBDIR)/indent && \
13399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13401 "RANLIB=$${RANLIB}" \
13402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13403 mostlyclean) \
13404 || exit 1
13406 @endif indent
13408 .PHONY: maybe-clean-indent clean-indent
13409 maybe-clean-indent:
13410 @if indent
13411 maybe-clean-indent: clean-indent
13413 clean-indent:
13414 @[ -f ./indent/Makefile ] || exit 0; \
13415 r=`${PWD_COMMAND}`; export r; \
13416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13417 $(HOST_EXPORTS) \
13418 for flag in $(EXTRA_HOST_FLAGS) ; do \
13419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13420 done; \
13421 echo "Doing clean in indent" ; \
13422 (cd $(HOST_SUBDIR)/indent && \
13423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13425 "RANLIB=$${RANLIB}" \
13426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13427 clean) \
13428 || exit 1
13430 @endif indent
13432 .PHONY: maybe-distclean-indent distclean-indent
13433 maybe-distclean-indent:
13434 @if indent
13435 maybe-distclean-indent: distclean-indent
13437 distclean-indent:
13438 @[ -f ./indent/Makefile ] || exit 0; \
13439 r=`${PWD_COMMAND}`; export r; \
13440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13441 $(HOST_EXPORTS) \
13442 for flag in $(EXTRA_HOST_FLAGS) ; do \
13443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13444 done; \
13445 echo "Doing distclean in indent" ; \
13446 (cd $(HOST_SUBDIR)/indent && \
13447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13449 "RANLIB=$${RANLIB}" \
13450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13451 distclean) \
13452 || exit 1
13454 @endif indent
13456 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13457 maybe-maintainer-clean-indent:
13458 @if indent
13459 maybe-maintainer-clean-indent: maintainer-clean-indent
13461 maintainer-clean-indent:
13462 @[ -f ./indent/Makefile ] || exit 0; \
13463 r=`${PWD_COMMAND}`; export r; \
13464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13465 $(HOST_EXPORTS) \
13466 for flag in $(EXTRA_HOST_FLAGS) ; do \
13467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13468 done; \
13469 echo "Doing maintainer-clean in indent" ; \
13470 (cd $(HOST_SUBDIR)/indent && \
13471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13473 "RANLIB=$${RANLIB}" \
13474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13475 maintainer-clean) \
13476 || exit 1
13478 @endif indent
13482 .PHONY: configure-intl maybe-configure-intl
13483 maybe-configure-intl:
13484 @if intl
13485 maybe-configure-intl: configure-intl
13486 configure-intl:
13487 @test -f stage_last && exit 0; \
13488 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13489 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13490 r=`${PWD_COMMAND}`; export r; \
13491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13492 $(HOST_EXPORTS) \
13493 echo Configuring in $(HOST_SUBDIR)/intl; \
13494 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13495 case $(srcdir) in \
13496 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13497 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13498 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13499 esac; \
13500 srcdiroption="--srcdir=$${topdir}/intl"; \
13501 libsrcdir="$$s/intl"; \
13502 $(SHELL) $${libsrcdir}/configure \
13503 $(HOST_CONFIGARGS) $${srcdiroption} \
13504 || exit 1
13505 @endif intl
13509 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13510 maybe-configure-stage1-intl:
13511 @if intl-bootstrap
13512 maybe-configure-stage1-intl: configure-stage1-intl
13513 configure-stage1-intl:
13514 @$(MAKE) stage1-start
13515 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13516 r=`${PWD_COMMAND}`; export r; \
13517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13518 $(HOST_EXPORTS) \
13519 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13520 cd $(HOST_SUBDIR)/intl || exit 1; \
13521 case $(srcdir) in \
13522 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13523 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13524 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13525 esac; \
13526 srcdiroption="--srcdir=$${topdir}/intl"; \
13527 libsrcdir="$$s/intl"; \
13528 $(SHELL) $${libsrcdir}/configure \
13529 $(HOST_CONFIGARGS) $${srcdiroption} \
13530 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13531 @endif intl-bootstrap
13533 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13534 maybe-configure-stage2-intl:
13535 @if intl-bootstrap
13536 maybe-configure-stage2-intl: configure-stage2-intl
13537 configure-stage2-intl:
13538 @$(MAKE) stage2-start
13539 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13540 r=`${PWD_COMMAND}`; export r; \
13541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13542 $(HOST_EXPORTS) \
13543 $(POSTSTAGE1_HOST_EXPORTS) \
13544 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13545 cd $(HOST_SUBDIR)/intl || exit 1; \
13546 case $(srcdir) in \
13547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13548 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13550 esac; \
13551 srcdiroption="--srcdir=$${topdir}/intl"; \
13552 libsrcdir="$$s/intl"; \
13553 $(SHELL) $${libsrcdir}/configure \
13554 $(HOST_CONFIGARGS) $${srcdiroption} \
13555 @stage2_werror_flag@
13556 @endif intl-bootstrap
13558 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13559 maybe-configure-stage3-intl:
13560 @if intl-bootstrap
13561 maybe-configure-stage3-intl: configure-stage3-intl
13562 configure-stage3-intl:
13563 @$(MAKE) stage3-start
13564 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 $(HOST_EXPORTS) \
13568 $(POSTSTAGE1_HOST_EXPORTS) \
13569 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13570 cd $(HOST_SUBDIR)/intl || exit 1; \
13571 case $(srcdir) in \
13572 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13573 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13574 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13575 esac; \
13576 srcdiroption="--srcdir=$${topdir}/intl"; \
13577 libsrcdir="$$s/intl"; \
13578 $(SHELL) $${libsrcdir}/configure \
13579 $(HOST_CONFIGARGS) $${srcdiroption} \
13580 @stage2_werror_flag@
13581 @endif intl-bootstrap
13583 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13584 maybe-configure-stage4-intl:
13585 @if intl-bootstrap
13586 maybe-configure-stage4-intl: configure-stage4-intl
13587 configure-stage4-intl:
13588 @$(MAKE) stage4-start
13589 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13590 r=`${PWD_COMMAND}`; export r; \
13591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13592 $(HOST_EXPORTS) \
13593 $(POSTSTAGE1_HOST_EXPORTS) \
13594 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13595 cd $(HOST_SUBDIR)/intl || exit 1; \
13596 case $(srcdir) in \
13597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13598 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13600 esac; \
13601 srcdiroption="--srcdir=$${topdir}/intl"; \
13602 libsrcdir="$$s/intl"; \
13603 $(SHELL) $${libsrcdir}/configure \
13604 $(HOST_CONFIGARGS) $${srcdiroption} \
13605 @stage2_werror_flag@
13606 @endif intl-bootstrap
13608 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13609 maybe-configure-stageprofile-intl:
13610 @if intl-bootstrap
13611 maybe-configure-stageprofile-intl: configure-stageprofile-intl
13612 configure-stageprofile-intl:
13613 @$(MAKE) stageprofile-start
13614 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13615 r=`${PWD_COMMAND}`; export r; \
13616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13617 $(HOST_EXPORTS) \
13618 $(POSTSTAGE1_HOST_EXPORTS) \
13619 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
13620 cd $(HOST_SUBDIR)/intl || exit 1; \
13621 case $(srcdir) in \
13622 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13623 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13624 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13625 esac; \
13626 srcdiroption="--srcdir=$${topdir}/intl"; \
13627 libsrcdir="$$s/intl"; \
13628 $(SHELL) $${libsrcdir}/configure \
13629 $(HOST_CONFIGARGS) $${srcdiroption} \
13630 @stage2_werror_flag@
13631 @endif intl-bootstrap
13633 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
13634 maybe-configure-stagefeedback-intl:
13635 @if intl-bootstrap
13636 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
13637 configure-stagefeedback-intl:
13638 @$(MAKE) stagefeedback-start
13639 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13640 r=`${PWD_COMMAND}`; export r; \
13641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13642 $(HOST_EXPORTS) \
13643 $(POSTSTAGE1_HOST_EXPORTS) \
13644 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
13645 cd $(HOST_SUBDIR)/intl || exit 1; \
13646 case $(srcdir) in \
13647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13648 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13650 esac; \
13651 srcdiroption="--srcdir=$${topdir}/intl"; \
13652 libsrcdir="$$s/intl"; \
13653 $(SHELL) $${libsrcdir}/configure \
13654 $(HOST_CONFIGARGS) $${srcdiroption} \
13655 @stage2_werror_flag@
13656 @endif intl-bootstrap
13662 .PHONY: all-intl maybe-all-intl
13663 maybe-all-intl:
13664 @if intl
13665 TARGET-intl=all
13666 maybe-all-intl: all-intl
13667 all-intl: configure-intl
13668 @test -f stage_last && exit 0; \
13669 r=`${PWD_COMMAND}`; export r; \
13670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13671 $(HOST_EXPORTS) \
13672 (cd $(HOST_SUBDIR)/intl && \
13673 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
13674 @endif intl
13678 .PHONY: all-stage1-intl maybe-all-stage1-intl
13679 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
13680 maybe-all-stage1-intl:
13681 maybe-clean-stage1-intl:
13682 @if intl-bootstrap
13683 maybe-all-stage1-intl: all-stage1-intl
13684 all-stage1: all-stage1-intl
13685 all-stage1-intl: configure-stage1-intl
13686 @$(MAKE) stage1-start
13687 @r=`${PWD_COMMAND}`; export r; \
13688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13689 $(HOST_EXPORTS) \
13690 cd $(HOST_SUBDIR)/intl && \
13691 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
13693 maybe-clean-stage1-intl: clean-stage1-intl
13694 clean-stage1: clean-stage1-intl
13695 clean-stage1-intl:
13696 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
13697 || exit 0 ; \
13698 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \
13699 cd $(HOST_SUBDIR)/intl && \
13700 $(MAKE) $(FLAGS_TO_PASS) \
13701 CFLAGS="$(STAGE1_CFLAGS)" clean
13702 @endif intl-bootstrap
13705 .PHONY: all-stage2-intl maybe-all-stage2-intl
13706 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
13707 maybe-all-stage2-intl:
13708 maybe-clean-stage2-intl:
13709 @if intl-bootstrap
13710 maybe-all-stage2-intl: all-stage2-intl
13711 all-stage2: all-stage2-intl
13712 all-stage2-intl: configure-stage2-intl
13713 @$(MAKE) stage2-start
13714 @r=`${PWD_COMMAND}`; export r; \
13715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13716 $(HOST_EXPORTS) \
13717 $(POSTSTAGE1_HOST_EXPORTS) \
13718 cd $(HOST_SUBDIR)/intl && \
13719 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13721 maybe-clean-stage2-intl: clean-stage2-intl
13722 clean-stage2: clean-stage2-intl
13723 clean-stage2-intl:
13724 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
13725 || exit 0 ; \
13726 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \
13727 cd $(HOST_SUBDIR)/intl && \
13728 $(MAKE) $(FLAGS_TO_PASS) \
13729 $(POSTSTAGE1_FLAGS_TO_PASS) \
13730 clean
13731 @endif intl-bootstrap
13734 .PHONY: all-stage3-intl maybe-all-stage3-intl
13735 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
13736 maybe-all-stage3-intl:
13737 maybe-clean-stage3-intl:
13738 @if intl-bootstrap
13739 maybe-all-stage3-intl: all-stage3-intl
13740 all-stage3: all-stage3-intl
13741 all-stage3-intl: configure-stage3-intl
13742 @$(MAKE) stage3-start
13743 @r=`${PWD_COMMAND}`; export r; \
13744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13745 $(HOST_EXPORTS) \
13746 $(POSTSTAGE1_HOST_EXPORTS) \
13747 cd $(HOST_SUBDIR)/intl && \
13748 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13750 maybe-clean-stage3-intl: clean-stage3-intl
13751 clean-stage3: clean-stage3-intl
13752 clean-stage3-intl:
13753 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
13754 || exit 0 ; \
13755 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \
13756 cd $(HOST_SUBDIR)/intl && \
13757 $(MAKE) $(FLAGS_TO_PASS) \
13758 $(POSTSTAGE1_FLAGS_TO_PASS) \
13759 clean
13760 @endif intl-bootstrap
13763 .PHONY: all-stage4-intl maybe-all-stage4-intl
13764 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
13765 maybe-all-stage4-intl:
13766 maybe-clean-stage4-intl:
13767 @if intl-bootstrap
13768 maybe-all-stage4-intl: all-stage4-intl
13769 all-stage4: all-stage4-intl
13770 all-stage4-intl: configure-stage4-intl
13771 @$(MAKE) stage4-start
13772 @r=`${PWD_COMMAND}`; export r; \
13773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13774 $(HOST_EXPORTS) \
13775 $(POSTSTAGE1_HOST_EXPORTS) \
13776 cd $(HOST_SUBDIR)/intl && \
13777 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13779 maybe-clean-stage4-intl: clean-stage4-intl
13780 clean-stage4: clean-stage4-intl
13781 clean-stage4-intl:
13782 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
13783 || exit 0 ; \
13784 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \
13785 cd $(HOST_SUBDIR)/intl && \
13786 $(MAKE) $(FLAGS_TO_PASS) \
13787 $(POSTSTAGE1_FLAGS_TO_PASS) \
13788 clean
13789 @endif intl-bootstrap
13792 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
13793 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
13794 maybe-all-stageprofile-intl:
13795 maybe-clean-stageprofile-intl:
13796 @if intl-bootstrap
13797 maybe-all-stageprofile-intl: all-stageprofile-intl
13798 all-stageprofile: all-stageprofile-intl
13799 all-stageprofile-intl: configure-stageprofile-intl
13800 @$(MAKE) stageprofile-start
13801 @r=`${PWD_COMMAND}`; export r; \
13802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13803 $(HOST_EXPORTS) \
13804 $(POSTSTAGE1_HOST_EXPORTS) \
13805 cd $(HOST_SUBDIR)/intl && \
13806 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
13808 maybe-clean-stageprofile-intl: clean-stageprofile-intl
13809 clean-stageprofile: clean-stageprofile-intl
13810 clean-stageprofile-intl:
13811 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
13812 || exit 0 ; \
13813 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \
13814 cd $(HOST_SUBDIR)/intl && \
13815 $(MAKE) $(FLAGS_TO_PASS) \
13816 $(POSTSTAGE1_FLAGS_TO_PASS) \
13817 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
13818 @endif intl-bootstrap
13821 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
13822 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
13823 maybe-all-stagefeedback-intl:
13824 maybe-clean-stagefeedback-intl:
13825 @if intl-bootstrap
13826 maybe-all-stagefeedback-intl: all-stagefeedback-intl
13827 all-stagefeedback: all-stagefeedback-intl
13828 all-stagefeedback-intl: configure-stagefeedback-intl
13829 @$(MAKE) stagefeedback-start
13830 @r=`${PWD_COMMAND}`; export r; \
13831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13832 $(HOST_EXPORTS) \
13833 $(POSTSTAGE1_HOST_EXPORTS) \
13834 cd $(HOST_SUBDIR)/intl && \
13835 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
13837 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
13838 clean-stagefeedback: clean-stagefeedback-intl
13839 clean-stagefeedback-intl:
13840 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
13841 || exit 0 ; \
13842 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \
13843 cd $(HOST_SUBDIR)/intl && \
13844 $(MAKE) $(FLAGS_TO_PASS) \
13845 $(POSTSTAGE1_FLAGS_TO_PASS) \
13846 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
13847 @endif intl-bootstrap
13853 .PHONY: check-intl maybe-check-intl
13854 maybe-check-intl:
13855 @if intl
13856 maybe-check-intl: check-intl
13858 check-intl:
13859 @r=`${PWD_COMMAND}`; export r; \
13860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13861 $(HOST_EXPORTS) \
13862 (cd $(HOST_SUBDIR)/intl && \
13863 $(MAKE) $(FLAGS_TO_PASS) check)
13865 @endif intl
13867 .PHONY: install-intl maybe-install-intl
13868 maybe-install-intl:
13869 @if intl
13870 maybe-install-intl: install-intl
13872 install-intl: installdirs
13873 @r=`${PWD_COMMAND}`; export r; \
13874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13875 $(HOST_EXPORTS) \
13876 (cd $(HOST_SUBDIR)/intl && \
13877 $(MAKE) $(FLAGS_TO_PASS) install)
13879 @endif intl
13881 # Other targets (info, dvi, etc.)
13883 .PHONY: maybe-info-intl info-intl
13884 maybe-info-intl:
13885 @if intl
13886 maybe-info-intl: info-intl
13888 info-intl: \
13889 configure-intl
13890 @[ -f ./intl/Makefile ] || exit 0; \
13891 r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 $(HOST_EXPORTS) \
13894 for flag in $(EXTRA_HOST_FLAGS) ; do \
13895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13896 done; \
13897 echo "Doing info in intl" ; \
13898 (cd $(HOST_SUBDIR)/intl && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13901 "RANLIB=$${RANLIB}" \
13902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13903 info) \
13904 || exit 1
13906 @endif intl
13908 .PHONY: maybe-dvi-intl dvi-intl
13909 maybe-dvi-intl:
13910 @if intl
13911 maybe-dvi-intl: dvi-intl
13913 dvi-intl: \
13914 configure-intl
13915 @[ -f ./intl/Makefile ] || exit 0; \
13916 r=`${PWD_COMMAND}`; export r; \
13917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13918 $(HOST_EXPORTS) \
13919 for flag in $(EXTRA_HOST_FLAGS) ; do \
13920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13921 done; \
13922 echo "Doing dvi in intl" ; \
13923 (cd $(HOST_SUBDIR)/intl && \
13924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13926 "RANLIB=$${RANLIB}" \
13927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13928 dvi) \
13929 || exit 1
13931 @endif intl
13933 .PHONY: maybe-html-intl html-intl
13934 maybe-html-intl:
13935 @if intl
13936 maybe-html-intl: html-intl
13938 html-intl: \
13939 configure-intl
13940 @[ -f ./intl/Makefile ] || exit 0; \
13941 r=`${PWD_COMMAND}`; export r; \
13942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13943 $(HOST_EXPORTS) \
13944 for flag in $(EXTRA_HOST_FLAGS) ; do \
13945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13946 done; \
13947 echo "Doing html in intl" ; \
13948 (cd $(HOST_SUBDIR)/intl && \
13949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13951 "RANLIB=$${RANLIB}" \
13952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13953 html) \
13954 || exit 1
13956 @endif intl
13958 .PHONY: maybe-TAGS-intl TAGS-intl
13959 maybe-TAGS-intl:
13960 @if intl
13961 maybe-TAGS-intl: TAGS-intl
13963 TAGS-intl: \
13964 configure-intl
13965 @[ -f ./intl/Makefile ] || exit 0; \
13966 r=`${PWD_COMMAND}`; export r; \
13967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13968 $(HOST_EXPORTS) \
13969 for flag in $(EXTRA_HOST_FLAGS) ; do \
13970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13971 done; \
13972 echo "Doing TAGS in intl" ; \
13973 (cd $(HOST_SUBDIR)/intl && \
13974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13976 "RANLIB=$${RANLIB}" \
13977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13978 TAGS) \
13979 || exit 1
13981 @endif intl
13983 .PHONY: maybe-install-info-intl install-info-intl
13984 maybe-install-info-intl:
13985 @if intl
13986 maybe-install-info-intl: install-info-intl
13988 install-info-intl: \
13989 configure-intl \
13990 info-intl
13991 @[ -f ./intl/Makefile ] || exit 0; \
13992 r=`${PWD_COMMAND}`; export r; \
13993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13994 $(HOST_EXPORTS) \
13995 for flag in $(EXTRA_HOST_FLAGS) ; do \
13996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13997 done; \
13998 echo "Doing install-info in intl" ; \
13999 (cd $(HOST_SUBDIR)/intl && \
14000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14002 "RANLIB=$${RANLIB}" \
14003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14004 install-info) \
14005 || exit 1
14007 @endif intl
14009 .PHONY: maybe-installcheck-intl installcheck-intl
14010 maybe-installcheck-intl:
14011 @if intl
14012 maybe-installcheck-intl: installcheck-intl
14014 installcheck-intl: \
14015 configure-intl
14016 @[ -f ./intl/Makefile ] || exit 0; \
14017 r=`${PWD_COMMAND}`; export r; \
14018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14019 $(HOST_EXPORTS) \
14020 for flag in $(EXTRA_HOST_FLAGS) ; do \
14021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14022 done; \
14023 echo "Doing installcheck in intl" ; \
14024 (cd $(HOST_SUBDIR)/intl && \
14025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14027 "RANLIB=$${RANLIB}" \
14028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14029 installcheck) \
14030 || exit 1
14032 @endif intl
14034 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14035 maybe-mostlyclean-intl:
14036 @if intl
14037 maybe-mostlyclean-intl: mostlyclean-intl
14039 mostlyclean-intl:
14040 @[ -f ./intl/Makefile ] || exit 0; \
14041 r=`${PWD_COMMAND}`; export r; \
14042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14043 $(HOST_EXPORTS) \
14044 for flag in $(EXTRA_HOST_FLAGS) ; do \
14045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14046 done; \
14047 echo "Doing mostlyclean in intl" ; \
14048 (cd $(HOST_SUBDIR)/intl && \
14049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14051 "RANLIB=$${RANLIB}" \
14052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14053 mostlyclean) \
14054 || exit 1
14056 @endif intl
14058 .PHONY: maybe-clean-intl clean-intl
14059 maybe-clean-intl:
14060 @if intl
14061 maybe-clean-intl: clean-intl
14063 clean-intl:
14064 @[ -f ./intl/Makefile ] || exit 0; \
14065 r=`${PWD_COMMAND}`; export r; \
14066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14067 $(HOST_EXPORTS) \
14068 for flag in $(EXTRA_HOST_FLAGS) ; do \
14069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14070 done; \
14071 echo "Doing clean in intl" ; \
14072 (cd $(HOST_SUBDIR)/intl && \
14073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14075 "RANLIB=$${RANLIB}" \
14076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14077 clean) \
14078 || exit 1
14080 @endif intl
14082 .PHONY: maybe-distclean-intl distclean-intl
14083 maybe-distclean-intl:
14084 @if intl
14085 maybe-distclean-intl: distclean-intl
14087 distclean-intl:
14088 @[ -f ./intl/Makefile ] || exit 0; \
14089 r=`${PWD_COMMAND}`; export r; \
14090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14091 $(HOST_EXPORTS) \
14092 for flag in $(EXTRA_HOST_FLAGS) ; do \
14093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14094 done; \
14095 echo "Doing distclean in intl" ; \
14096 (cd $(HOST_SUBDIR)/intl && \
14097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14099 "RANLIB=$${RANLIB}" \
14100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14101 distclean) \
14102 || exit 1
14104 @endif intl
14106 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14107 maybe-maintainer-clean-intl:
14108 @if intl
14109 maybe-maintainer-clean-intl: maintainer-clean-intl
14111 maintainer-clean-intl:
14112 @[ -f ./intl/Makefile ] || exit 0; \
14113 r=`${PWD_COMMAND}`; export r; \
14114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14115 $(HOST_EXPORTS) \
14116 for flag in $(EXTRA_HOST_FLAGS) ; do \
14117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14118 done; \
14119 echo "Doing maintainer-clean in intl" ; \
14120 (cd $(HOST_SUBDIR)/intl && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14123 "RANLIB=$${RANLIB}" \
14124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14125 maintainer-clean) \
14126 || exit 1
14128 @endif intl
14132 .PHONY: configure-tcl maybe-configure-tcl
14133 maybe-configure-tcl:
14134 @if tcl
14135 maybe-configure-tcl: configure-tcl
14136 configure-tcl:
14137 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14139 r=`${PWD_COMMAND}`; export r; \
14140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14141 $(HOST_EXPORTS) \
14142 echo Configuring in $(HOST_SUBDIR)/tcl; \
14143 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14144 case $(srcdir) in \
14145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14146 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14148 esac; \
14149 srcdiroption="--srcdir=$${topdir}/tcl"; \
14150 libsrcdir="$$s/tcl"; \
14151 $(SHELL) $${libsrcdir}/configure \
14152 $(HOST_CONFIGARGS) $${srcdiroption} \
14153 || exit 1
14154 @endif tcl
14160 .PHONY: all-tcl maybe-all-tcl
14161 maybe-all-tcl:
14162 @if tcl
14163 TARGET-tcl=all
14164 maybe-all-tcl: all-tcl
14165 all-tcl: configure-tcl
14166 @r=`${PWD_COMMAND}`; export r; \
14167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14168 $(HOST_EXPORTS) \
14169 (cd $(HOST_SUBDIR)/tcl && \
14170 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14171 @endif tcl
14176 .PHONY: check-tcl maybe-check-tcl
14177 maybe-check-tcl:
14178 @if tcl
14179 maybe-check-tcl: check-tcl
14181 check-tcl:
14182 @r=`${PWD_COMMAND}`; export r; \
14183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14184 $(HOST_EXPORTS) \
14185 (cd $(HOST_SUBDIR)/tcl && \
14186 $(MAKE) $(FLAGS_TO_PASS) check)
14188 @endif tcl
14190 .PHONY: install-tcl maybe-install-tcl
14191 maybe-install-tcl:
14192 @if tcl
14193 maybe-install-tcl: install-tcl
14195 install-tcl: installdirs
14196 @r=`${PWD_COMMAND}`; export r; \
14197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14198 $(HOST_EXPORTS) \
14199 (cd $(HOST_SUBDIR)/tcl && \
14200 $(MAKE) $(FLAGS_TO_PASS) install)
14202 @endif tcl
14204 # Other targets (info, dvi, etc.)
14206 .PHONY: maybe-info-tcl info-tcl
14207 maybe-info-tcl:
14208 @if tcl
14209 maybe-info-tcl: info-tcl
14211 info-tcl: \
14212 configure-tcl
14213 @[ -f ./tcl/Makefile ] || exit 0; \
14214 r=`${PWD_COMMAND}`; export r; \
14215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14216 $(HOST_EXPORTS) \
14217 for flag in $(EXTRA_HOST_FLAGS) ; do \
14218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14219 done; \
14220 echo "Doing info in tcl" ; \
14221 (cd $(HOST_SUBDIR)/tcl && \
14222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14224 "RANLIB=$${RANLIB}" \
14225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14226 info) \
14227 || exit 1
14229 @endif tcl
14231 .PHONY: maybe-dvi-tcl dvi-tcl
14232 maybe-dvi-tcl:
14233 @if tcl
14234 maybe-dvi-tcl: dvi-tcl
14236 dvi-tcl: \
14237 configure-tcl
14238 @[ -f ./tcl/Makefile ] || exit 0; \
14239 r=`${PWD_COMMAND}`; export r; \
14240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14241 $(HOST_EXPORTS) \
14242 for flag in $(EXTRA_HOST_FLAGS) ; do \
14243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14244 done; \
14245 echo "Doing dvi in tcl" ; \
14246 (cd $(HOST_SUBDIR)/tcl && \
14247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14249 "RANLIB=$${RANLIB}" \
14250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14251 dvi) \
14252 || exit 1
14254 @endif tcl
14256 .PHONY: maybe-html-tcl html-tcl
14257 maybe-html-tcl:
14258 @if tcl
14259 maybe-html-tcl: html-tcl
14261 html-tcl: \
14262 configure-tcl
14263 @[ -f ./tcl/Makefile ] || exit 0; \
14264 r=`${PWD_COMMAND}`; export r; \
14265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14266 $(HOST_EXPORTS) \
14267 for flag in $(EXTRA_HOST_FLAGS) ; do \
14268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14269 done; \
14270 echo "Doing html in tcl" ; \
14271 (cd $(HOST_SUBDIR)/tcl && \
14272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14274 "RANLIB=$${RANLIB}" \
14275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14276 html) \
14277 || exit 1
14279 @endif tcl
14281 .PHONY: maybe-TAGS-tcl TAGS-tcl
14282 maybe-TAGS-tcl:
14283 @if tcl
14284 maybe-TAGS-tcl: TAGS-tcl
14286 TAGS-tcl: \
14287 configure-tcl
14288 @[ -f ./tcl/Makefile ] || exit 0; \
14289 r=`${PWD_COMMAND}`; export r; \
14290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14291 $(HOST_EXPORTS) \
14292 for flag in $(EXTRA_HOST_FLAGS) ; do \
14293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14294 done; \
14295 echo "Doing TAGS in tcl" ; \
14296 (cd $(HOST_SUBDIR)/tcl && \
14297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14299 "RANLIB=$${RANLIB}" \
14300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14301 TAGS) \
14302 || exit 1
14304 @endif tcl
14306 .PHONY: maybe-install-info-tcl install-info-tcl
14307 maybe-install-info-tcl:
14308 @if tcl
14309 maybe-install-info-tcl: install-info-tcl
14311 install-info-tcl: \
14312 configure-tcl \
14313 info-tcl
14314 @[ -f ./tcl/Makefile ] || exit 0; \
14315 r=`${PWD_COMMAND}`; export r; \
14316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14317 $(HOST_EXPORTS) \
14318 for flag in $(EXTRA_HOST_FLAGS) ; do \
14319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14320 done; \
14321 echo "Doing install-info in tcl" ; \
14322 (cd $(HOST_SUBDIR)/tcl && \
14323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14325 "RANLIB=$${RANLIB}" \
14326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14327 install-info) \
14328 || exit 1
14330 @endif tcl
14332 .PHONY: maybe-installcheck-tcl installcheck-tcl
14333 maybe-installcheck-tcl:
14334 @if tcl
14335 maybe-installcheck-tcl: installcheck-tcl
14337 installcheck-tcl: \
14338 configure-tcl
14339 @[ -f ./tcl/Makefile ] || exit 0; \
14340 r=`${PWD_COMMAND}`; export r; \
14341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14342 $(HOST_EXPORTS) \
14343 for flag in $(EXTRA_HOST_FLAGS) ; do \
14344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14345 done; \
14346 echo "Doing installcheck in tcl" ; \
14347 (cd $(HOST_SUBDIR)/tcl && \
14348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14350 "RANLIB=$${RANLIB}" \
14351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14352 installcheck) \
14353 || exit 1
14355 @endif tcl
14357 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14358 maybe-mostlyclean-tcl:
14359 @if tcl
14360 maybe-mostlyclean-tcl: mostlyclean-tcl
14362 # tcl doesn't support mostlyclean.
14363 mostlyclean-tcl:
14365 @endif tcl
14367 .PHONY: maybe-clean-tcl clean-tcl
14368 maybe-clean-tcl:
14369 @if tcl
14370 maybe-clean-tcl: clean-tcl
14372 clean-tcl:
14373 @[ -f ./tcl/Makefile ] || exit 0; \
14374 r=`${PWD_COMMAND}`; export r; \
14375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 clean in tcl" ; \
14381 (cd $(HOST_SUBDIR)/tcl && \
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 clean) \
14387 || exit 1
14389 @endif tcl
14391 .PHONY: maybe-distclean-tcl distclean-tcl
14392 maybe-distclean-tcl:
14393 @if tcl
14394 maybe-distclean-tcl: distclean-tcl
14396 distclean-tcl:
14397 @[ -f ./tcl/Makefile ] || exit 0; \
14398 r=`${PWD_COMMAND}`; export r; \
14399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14400 $(HOST_EXPORTS) \
14401 for flag in $(EXTRA_HOST_FLAGS) ; do \
14402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14403 done; \
14404 echo "Doing distclean in tcl" ; \
14405 (cd $(HOST_SUBDIR)/tcl && \
14406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14408 "RANLIB=$${RANLIB}" \
14409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14410 distclean) \
14411 || exit 1
14413 @endif tcl
14415 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14416 maybe-maintainer-clean-tcl:
14417 @if tcl
14418 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14420 maintainer-clean-tcl:
14421 @[ -f ./tcl/Makefile ] || exit 0; \
14422 r=`${PWD_COMMAND}`; export r; \
14423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14424 $(HOST_EXPORTS) \
14425 for flag in $(EXTRA_HOST_FLAGS) ; do \
14426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14427 done; \
14428 echo "Doing maintainer-clean in tcl" ; \
14429 (cd $(HOST_SUBDIR)/tcl && \
14430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14432 "RANLIB=$${RANLIB}" \
14433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14434 maintainer-clean) \
14435 || exit 1
14437 @endif tcl
14441 .PHONY: configure-itcl maybe-configure-itcl
14442 maybe-configure-itcl:
14443 @if itcl
14444 maybe-configure-itcl: configure-itcl
14445 configure-itcl:
14446 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14447 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14448 r=`${PWD_COMMAND}`; export r; \
14449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14450 $(HOST_EXPORTS) \
14451 echo Configuring in $(HOST_SUBDIR)/itcl; \
14452 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14453 case $(srcdir) in \
14454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14455 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14457 esac; \
14458 srcdiroption="--srcdir=$${topdir}/itcl"; \
14459 libsrcdir="$$s/itcl"; \
14460 $(SHELL) $${libsrcdir}/configure \
14461 $(HOST_CONFIGARGS) $${srcdiroption} \
14462 || exit 1
14463 @endif itcl
14469 .PHONY: all-itcl maybe-all-itcl
14470 maybe-all-itcl:
14471 @if itcl
14472 TARGET-itcl=all
14473 maybe-all-itcl: all-itcl
14474 all-itcl: configure-itcl
14475 @r=`${PWD_COMMAND}`; export r; \
14476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14477 $(HOST_EXPORTS) \
14478 (cd $(HOST_SUBDIR)/itcl && \
14479 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14480 @endif itcl
14485 .PHONY: check-itcl maybe-check-itcl
14486 maybe-check-itcl:
14487 @if itcl
14488 maybe-check-itcl: check-itcl
14490 check-itcl:
14491 @r=`${PWD_COMMAND}`; export r; \
14492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14493 $(HOST_EXPORTS) \
14494 (cd $(HOST_SUBDIR)/itcl && \
14495 $(MAKE) $(FLAGS_TO_PASS) check)
14497 @endif itcl
14499 .PHONY: install-itcl maybe-install-itcl
14500 maybe-install-itcl:
14501 @if itcl
14502 maybe-install-itcl: install-itcl
14504 install-itcl: installdirs
14505 @r=`${PWD_COMMAND}`; export r; \
14506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507 $(HOST_EXPORTS) \
14508 (cd $(HOST_SUBDIR)/itcl && \
14509 $(MAKE) $(FLAGS_TO_PASS) install)
14511 @endif itcl
14513 # Other targets (info, dvi, etc.)
14515 .PHONY: maybe-info-itcl info-itcl
14516 maybe-info-itcl:
14517 @if itcl
14518 maybe-info-itcl: info-itcl
14520 info-itcl: \
14521 configure-itcl
14522 @[ -f ./itcl/Makefile ] || exit 0; \
14523 r=`${PWD_COMMAND}`; export r; \
14524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14525 $(HOST_EXPORTS) \
14526 for flag in $(EXTRA_HOST_FLAGS) ; do \
14527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14528 done; \
14529 echo "Doing info in itcl" ; \
14530 (cd $(HOST_SUBDIR)/itcl && \
14531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14533 "RANLIB=$${RANLIB}" \
14534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14535 info) \
14536 || exit 1
14538 @endif itcl
14540 .PHONY: maybe-dvi-itcl dvi-itcl
14541 maybe-dvi-itcl:
14542 @if itcl
14543 maybe-dvi-itcl: dvi-itcl
14545 dvi-itcl: \
14546 configure-itcl
14547 @[ -f ./itcl/Makefile ] || exit 0; \
14548 r=`${PWD_COMMAND}`; export r; \
14549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14550 $(HOST_EXPORTS) \
14551 for flag in $(EXTRA_HOST_FLAGS) ; do \
14552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14553 done; \
14554 echo "Doing dvi in itcl" ; \
14555 (cd $(HOST_SUBDIR)/itcl && \
14556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14558 "RANLIB=$${RANLIB}" \
14559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14560 dvi) \
14561 || exit 1
14563 @endif itcl
14565 .PHONY: maybe-html-itcl html-itcl
14566 maybe-html-itcl:
14567 @if itcl
14568 maybe-html-itcl: html-itcl
14570 html-itcl: \
14571 configure-itcl
14572 @[ -f ./itcl/Makefile ] || exit 0; \
14573 r=`${PWD_COMMAND}`; export r; \
14574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14575 $(HOST_EXPORTS) \
14576 for flag in $(EXTRA_HOST_FLAGS) ; do \
14577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14578 done; \
14579 echo "Doing html in itcl" ; \
14580 (cd $(HOST_SUBDIR)/itcl && \
14581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14583 "RANLIB=$${RANLIB}" \
14584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14585 html) \
14586 || exit 1
14588 @endif itcl
14590 .PHONY: maybe-TAGS-itcl TAGS-itcl
14591 maybe-TAGS-itcl:
14592 @if itcl
14593 maybe-TAGS-itcl: TAGS-itcl
14595 TAGS-itcl: \
14596 configure-itcl
14597 @[ -f ./itcl/Makefile ] || exit 0; \
14598 r=`${PWD_COMMAND}`; export r; \
14599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14600 $(HOST_EXPORTS) \
14601 for flag in $(EXTRA_HOST_FLAGS) ; do \
14602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14603 done; \
14604 echo "Doing TAGS in itcl" ; \
14605 (cd $(HOST_SUBDIR)/itcl && \
14606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14608 "RANLIB=$${RANLIB}" \
14609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14610 TAGS) \
14611 || exit 1
14613 @endif itcl
14615 .PHONY: maybe-install-info-itcl install-info-itcl
14616 maybe-install-info-itcl:
14617 @if itcl
14618 maybe-install-info-itcl: install-info-itcl
14620 install-info-itcl: \
14621 configure-itcl \
14622 info-itcl
14623 @[ -f ./itcl/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 install-info in itcl" ; \
14631 (cd $(HOST_SUBDIR)/itcl && \
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 install-info) \
14637 || exit 1
14639 @endif itcl
14641 .PHONY: maybe-installcheck-itcl installcheck-itcl
14642 maybe-installcheck-itcl:
14643 @if itcl
14644 maybe-installcheck-itcl: installcheck-itcl
14646 installcheck-itcl: \
14647 configure-itcl
14648 @[ -f ./itcl/Makefile ] || exit 0; \
14649 r=`${PWD_COMMAND}`; export r; \
14650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14651 $(HOST_EXPORTS) \
14652 for flag in $(EXTRA_HOST_FLAGS) ; do \
14653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14654 done; \
14655 echo "Doing installcheck in itcl" ; \
14656 (cd $(HOST_SUBDIR)/itcl && \
14657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14659 "RANLIB=$${RANLIB}" \
14660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14661 installcheck) \
14662 || exit 1
14664 @endif itcl
14666 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
14667 maybe-mostlyclean-itcl:
14668 @if itcl
14669 maybe-mostlyclean-itcl: mostlyclean-itcl
14671 mostlyclean-itcl:
14672 @[ -f ./itcl/Makefile ] || exit 0; \
14673 r=`${PWD_COMMAND}`; export r; \
14674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14675 $(HOST_EXPORTS) \
14676 for flag in $(EXTRA_HOST_FLAGS) ; do \
14677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14678 done; \
14679 echo "Doing mostlyclean in itcl" ; \
14680 (cd $(HOST_SUBDIR)/itcl && \
14681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14683 "RANLIB=$${RANLIB}" \
14684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14685 mostlyclean) \
14686 || exit 1
14688 @endif itcl
14690 .PHONY: maybe-clean-itcl clean-itcl
14691 maybe-clean-itcl:
14692 @if itcl
14693 maybe-clean-itcl: clean-itcl
14695 clean-itcl:
14696 @[ -f ./itcl/Makefile ] || exit 0; \
14697 r=`${PWD_COMMAND}`; export r; \
14698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14699 $(HOST_EXPORTS) \
14700 for flag in $(EXTRA_HOST_FLAGS) ; do \
14701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14702 done; \
14703 echo "Doing clean in itcl" ; \
14704 (cd $(HOST_SUBDIR)/itcl && \
14705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14707 "RANLIB=$${RANLIB}" \
14708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14709 clean) \
14710 || exit 1
14712 @endif itcl
14714 .PHONY: maybe-distclean-itcl distclean-itcl
14715 maybe-distclean-itcl:
14716 @if itcl
14717 maybe-distclean-itcl: distclean-itcl
14719 distclean-itcl:
14720 @[ -f ./itcl/Makefile ] || exit 0; \
14721 r=`${PWD_COMMAND}`; export r; \
14722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14723 $(HOST_EXPORTS) \
14724 for flag in $(EXTRA_HOST_FLAGS) ; do \
14725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14726 done; \
14727 echo "Doing distclean in itcl" ; \
14728 (cd $(HOST_SUBDIR)/itcl && \
14729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14731 "RANLIB=$${RANLIB}" \
14732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14733 distclean) \
14734 || exit 1
14736 @endif itcl
14738 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
14739 maybe-maintainer-clean-itcl:
14740 @if itcl
14741 maybe-maintainer-clean-itcl: maintainer-clean-itcl
14743 maintainer-clean-itcl:
14744 @[ -f ./itcl/Makefile ] || exit 0; \
14745 r=`${PWD_COMMAND}`; export r; \
14746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14747 $(HOST_EXPORTS) \
14748 for flag in $(EXTRA_HOST_FLAGS) ; do \
14749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14750 done; \
14751 echo "Doing maintainer-clean in itcl" ; \
14752 (cd $(HOST_SUBDIR)/itcl && \
14753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14755 "RANLIB=$${RANLIB}" \
14756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14757 maintainer-clean) \
14758 || exit 1
14760 @endif itcl
14764 .PHONY: configure-ld maybe-configure-ld
14765 maybe-configure-ld:
14766 @if ld
14767 maybe-configure-ld: configure-ld
14768 configure-ld:
14769 @test -f stage_last && exit 0; \
14770 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
14771 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
14772 r=`${PWD_COMMAND}`; export r; \
14773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14774 $(HOST_EXPORTS) \
14775 echo Configuring in $(HOST_SUBDIR)/ld; \
14776 cd "$(HOST_SUBDIR)/ld" || exit 1; \
14777 case $(srcdir) in \
14778 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14779 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14780 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14781 esac; \
14782 srcdiroption="--srcdir=$${topdir}/ld"; \
14783 libsrcdir="$$s/ld"; \
14784 $(SHELL) $${libsrcdir}/configure \
14785 $(HOST_CONFIGARGS) $${srcdiroption} \
14786 || exit 1
14787 @endif ld
14791 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
14792 maybe-configure-stage1-ld:
14793 @if ld-bootstrap
14794 maybe-configure-stage1-ld: configure-stage1-ld
14795 configure-stage1-ld:
14796 @$(MAKE) stage1-start
14797 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14798 r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(HOST_EXPORTS) \
14801 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
14802 cd $(HOST_SUBDIR)/ld || exit 1; \
14803 case $(srcdir) in \
14804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14805 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14807 esac; \
14808 srcdiroption="--srcdir=$${topdir}/ld"; \
14809 libsrcdir="$$s/ld"; \
14810 $(SHELL) $${libsrcdir}/configure \
14811 $(HOST_CONFIGARGS) $${srcdiroption} \
14812 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14813 @endif ld-bootstrap
14815 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
14816 maybe-configure-stage2-ld:
14817 @if ld-bootstrap
14818 maybe-configure-stage2-ld: configure-stage2-ld
14819 configure-stage2-ld:
14820 @$(MAKE) stage2-start
14821 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14822 r=`${PWD_COMMAND}`; export r; \
14823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14824 $(HOST_EXPORTS) \
14825 $(POSTSTAGE1_HOST_EXPORTS) \
14826 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
14827 cd $(HOST_SUBDIR)/ld || exit 1; \
14828 case $(srcdir) in \
14829 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14830 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14831 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14832 esac; \
14833 srcdiroption="--srcdir=$${topdir}/ld"; \
14834 libsrcdir="$$s/ld"; \
14835 $(SHELL) $${libsrcdir}/configure \
14836 $(HOST_CONFIGARGS) $${srcdiroption} \
14837 @stage2_werror_flag@
14838 @endif ld-bootstrap
14840 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
14841 maybe-configure-stage3-ld:
14842 @if ld-bootstrap
14843 maybe-configure-stage3-ld: configure-stage3-ld
14844 configure-stage3-ld:
14845 @$(MAKE) stage3-start
14846 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14847 r=`${PWD_COMMAND}`; export r; \
14848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14849 $(HOST_EXPORTS) \
14850 $(POSTSTAGE1_HOST_EXPORTS) \
14851 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
14852 cd $(HOST_SUBDIR)/ld || exit 1; \
14853 case $(srcdir) in \
14854 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14855 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14856 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14857 esac; \
14858 srcdiroption="--srcdir=$${topdir}/ld"; \
14859 libsrcdir="$$s/ld"; \
14860 $(SHELL) $${libsrcdir}/configure \
14861 $(HOST_CONFIGARGS) $${srcdiroption} \
14862 @stage2_werror_flag@
14863 @endif ld-bootstrap
14865 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
14866 maybe-configure-stage4-ld:
14867 @if ld-bootstrap
14868 maybe-configure-stage4-ld: configure-stage4-ld
14869 configure-stage4-ld:
14870 @$(MAKE) stage4-start
14871 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14872 r=`${PWD_COMMAND}`; export r; \
14873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14874 $(HOST_EXPORTS) \
14875 $(POSTSTAGE1_HOST_EXPORTS) \
14876 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
14877 cd $(HOST_SUBDIR)/ld || exit 1; \
14878 case $(srcdir) in \
14879 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14880 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14881 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14882 esac; \
14883 srcdiroption="--srcdir=$${topdir}/ld"; \
14884 libsrcdir="$$s/ld"; \
14885 $(SHELL) $${libsrcdir}/configure \
14886 $(HOST_CONFIGARGS) $${srcdiroption} \
14887 @stage2_werror_flag@
14888 @endif ld-bootstrap
14890 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
14891 maybe-configure-stageprofile-ld:
14892 @if ld-bootstrap
14893 maybe-configure-stageprofile-ld: configure-stageprofile-ld
14894 configure-stageprofile-ld:
14895 @$(MAKE) stageprofile-start
14896 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14897 r=`${PWD_COMMAND}`; export r; \
14898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14899 $(HOST_EXPORTS) \
14900 $(POSTSTAGE1_HOST_EXPORTS) \
14901 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
14902 cd $(HOST_SUBDIR)/ld || exit 1; \
14903 case $(srcdir) in \
14904 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14905 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14906 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14907 esac; \
14908 srcdiroption="--srcdir=$${topdir}/ld"; \
14909 libsrcdir="$$s/ld"; \
14910 $(SHELL) $${libsrcdir}/configure \
14911 $(HOST_CONFIGARGS) $${srcdiroption} \
14912 @stage2_werror_flag@
14913 @endif ld-bootstrap
14915 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
14916 maybe-configure-stagefeedback-ld:
14917 @if ld-bootstrap
14918 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
14919 configure-stagefeedback-ld:
14920 @$(MAKE) stagefeedback-start
14921 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14922 r=`${PWD_COMMAND}`; export r; \
14923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14924 $(HOST_EXPORTS) \
14925 $(POSTSTAGE1_HOST_EXPORTS) \
14926 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
14927 cd $(HOST_SUBDIR)/ld || exit 1; \
14928 case $(srcdir) in \
14929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14930 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14932 esac; \
14933 srcdiroption="--srcdir=$${topdir}/ld"; \
14934 libsrcdir="$$s/ld"; \
14935 $(SHELL) $${libsrcdir}/configure \
14936 $(HOST_CONFIGARGS) $${srcdiroption} \
14937 @stage2_werror_flag@
14938 @endif ld-bootstrap
14944 .PHONY: all-ld maybe-all-ld
14945 maybe-all-ld:
14946 @if ld
14947 TARGET-ld=all
14948 maybe-all-ld: all-ld
14949 all-ld: configure-ld
14950 @test -f stage_last && exit 0; \
14951 r=`${PWD_COMMAND}`; export r; \
14952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14953 $(HOST_EXPORTS) \
14954 (cd $(HOST_SUBDIR)/ld && \
14955 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
14956 @endif ld
14960 .PHONY: all-stage1-ld maybe-all-stage1-ld
14961 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
14962 maybe-all-stage1-ld:
14963 maybe-clean-stage1-ld:
14964 @if ld-bootstrap
14965 maybe-all-stage1-ld: all-stage1-ld
14966 all-stage1: all-stage1-ld
14967 all-stage1-ld: configure-stage1-ld
14968 @$(MAKE) stage1-start
14969 @r=`${PWD_COMMAND}`; export r; \
14970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14971 $(HOST_EXPORTS) \
14972 cd $(HOST_SUBDIR)/ld && \
14973 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
14975 maybe-clean-stage1-ld: clean-stage1-ld
14976 clean-stage1: clean-stage1-ld
14977 clean-stage1-ld:
14978 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
14979 || exit 0 ; \
14980 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \
14981 cd $(HOST_SUBDIR)/ld && \
14982 $(MAKE) $(FLAGS_TO_PASS) \
14983 CFLAGS="$(STAGE1_CFLAGS)" clean
14984 @endif ld-bootstrap
14987 .PHONY: all-stage2-ld maybe-all-stage2-ld
14988 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
14989 maybe-all-stage2-ld:
14990 maybe-clean-stage2-ld:
14991 @if ld-bootstrap
14992 maybe-all-stage2-ld: all-stage2-ld
14993 all-stage2: all-stage2-ld
14994 all-stage2-ld: configure-stage2-ld
14995 @$(MAKE) stage2-start
14996 @r=`${PWD_COMMAND}`; export r; \
14997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14998 $(HOST_EXPORTS) \
14999 $(POSTSTAGE1_HOST_EXPORTS) \
15000 cd $(HOST_SUBDIR)/ld && \
15001 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15003 maybe-clean-stage2-ld: clean-stage2-ld
15004 clean-stage2: clean-stage2-ld
15005 clean-stage2-ld:
15006 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15007 || exit 0 ; \
15008 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \
15009 cd $(HOST_SUBDIR)/ld && \
15010 $(MAKE) $(FLAGS_TO_PASS) \
15011 $(POSTSTAGE1_FLAGS_TO_PASS) \
15012 clean
15013 @endif ld-bootstrap
15016 .PHONY: all-stage3-ld maybe-all-stage3-ld
15017 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15018 maybe-all-stage3-ld:
15019 maybe-clean-stage3-ld:
15020 @if ld-bootstrap
15021 maybe-all-stage3-ld: all-stage3-ld
15022 all-stage3: all-stage3-ld
15023 all-stage3-ld: configure-stage3-ld
15024 @$(MAKE) stage3-start
15025 @r=`${PWD_COMMAND}`; export r; \
15026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15027 $(HOST_EXPORTS) \
15028 $(POSTSTAGE1_HOST_EXPORTS) \
15029 cd $(HOST_SUBDIR)/ld && \
15030 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15032 maybe-clean-stage3-ld: clean-stage3-ld
15033 clean-stage3: clean-stage3-ld
15034 clean-stage3-ld:
15035 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15036 || exit 0 ; \
15037 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \
15038 cd $(HOST_SUBDIR)/ld && \
15039 $(MAKE) $(FLAGS_TO_PASS) \
15040 $(POSTSTAGE1_FLAGS_TO_PASS) \
15041 clean
15042 @endif ld-bootstrap
15045 .PHONY: all-stage4-ld maybe-all-stage4-ld
15046 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15047 maybe-all-stage4-ld:
15048 maybe-clean-stage4-ld:
15049 @if ld-bootstrap
15050 maybe-all-stage4-ld: all-stage4-ld
15051 all-stage4: all-stage4-ld
15052 all-stage4-ld: configure-stage4-ld
15053 @$(MAKE) stage4-start
15054 @r=`${PWD_COMMAND}`; export r; \
15055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15056 $(HOST_EXPORTS) \
15057 $(POSTSTAGE1_HOST_EXPORTS) \
15058 cd $(HOST_SUBDIR)/ld && \
15059 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15061 maybe-clean-stage4-ld: clean-stage4-ld
15062 clean-stage4: clean-stage4-ld
15063 clean-stage4-ld:
15064 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15065 || exit 0 ; \
15066 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \
15067 cd $(HOST_SUBDIR)/ld && \
15068 $(MAKE) $(FLAGS_TO_PASS) \
15069 $(POSTSTAGE1_FLAGS_TO_PASS) \
15070 clean
15071 @endif ld-bootstrap
15074 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15075 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15076 maybe-all-stageprofile-ld:
15077 maybe-clean-stageprofile-ld:
15078 @if ld-bootstrap
15079 maybe-all-stageprofile-ld: all-stageprofile-ld
15080 all-stageprofile: all-stageprofile-ld
15081 all-stageprofile-ld: configure-stageprofile-ld
15082 @$(MAKE) stageprofile-start
15083 @r=`${PWD_COMMAND}`; export r; \
15084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15085 $(HOST_EXPORTS) \
15086 $(POSTSTAGE1_HOST_EXPORTS) \
15087 cd $(HOST_SUBDIR)/ld && \
15088 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15090 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15091 clean-stageprofile: clean-stageprofile-ld
15092 clean-stageprofile-ld:
15093 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15094 || exit 0 ; \
15095 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \
15096 cd $(HOST_SUBDIR)/ld && \
15097 $(MAKE) $(FLAGS_TO_PASS) \
15098 $(POSTSTAGE1_FLAGS_TO_PASS) \
15099 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15100 @endif ld-bootstrap
15103 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15104 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15105 maybe-all-stagefeedback-ld:
15106 maybe-clean-stagefeedback-ld:
15107 @if ld-bootstrap
15108 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15109 all-stagefeedback: all-stagefeedback-ld
15110 all-stagefeedback-ld: configure-stagefeedback-ld
15111 @$(MAKE) stagefeedback-start
15112 @r=`${PWD_COMMAND}`; export r; \
15113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15114 $(HOST_EXPORTS) \
15115 $(POSTSTAGE1_HOST_EXPORTS) \
15116 cd $(HOST_SUBDIR)/ld && \
15117 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15119 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15120 clean-stagefeedback: clean-stagefeedback-ld
15121 clean-stagefeedback-ld:
15122 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15123 || exit 0 ; \
15124 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \
15125 cd $(HOST_SUBDIR)/ld && \
15126 $(MAKE) $(FLAGS_TO_PASS) \
15127 $(POSTSTAGE1_FLAGS_TO_PASS) \
15128 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15129 @endif ld-bootstrap
15135 .PHONY: check-ld maybe-check-ld
15136 maybe-check-ld:
15137 @if ld
15138 maybe-check-ld: check-ld
15140 check-ld:
15141 @r=`${PWD_COMMAND}`; export r; \
15142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15143 $(HOST_EXPORTS) \
15144 (cd $(HOST_SUBDIR)/ld && \
15145 $(MAKE) $(FLAGS_TO_PASS) check)
15147 @endif ld
15149 .PHONY: install-ld maybe-install-ld
15150 maybe-install-ld:
15151 @if ld
15152 maybe-install-ld: install-ld
15154 install-ld: installdirs
15155 @r=`${PWD_COMMAND}`; export r; \
15156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15157 $(HOST_EXPORTS) \
15158 (cd $(HOST_SUBDIR)/ld && \
15159 $(MAKE) $(FLAGS_TO_PASS) install)
15161 @endif ld
15163 # Other targets (info, dvi, etc.)
15165 .PHONY: maybe-info-ld info-ld
15166 maybe-info-ld:
15167 @if ld
15168 maybe-info-ld: info-ld
15170 info-ld: \
15171 configure-ld
15172 @[ -f ./ld/Makefile ] || exit 0; \
15173 r=`${PWD_COMMAND}`; export r; \
15174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15175 $(HOST_EXPORTS) \
15176 for flag in $(EXTRA_HOST_FLAGS) ; do \
15177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15178 done; \
15179 echo "Doing info in ld" ; \
15180 (cd $(HOST_SUBDIR)/ld && \
15181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15183 "RANLIB=$${RANLIB}" \
15184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15185 info) \
15186 || exit 1
15188 @endif ld
15190 .PHONY: maybe-dvi-ld dvi-ld
15191 maybe-dvi-ld:
15192 @if ld
15193 maybe-dvi-ld: dvi-ld
15195 dvi-ld: \
15196 configure-ld
15197 @[ -f ./ld/Makefile ] || exit 0; \
15198 r=`${PWD_COMMAND}`; export r; \
15199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15200 $(HOST_EXPORTS) \
15201 for flag in $(EXTRA_HOST_FLAGS) ; do \
15202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15203 done; \
15204 echo "Doing dvi in ld" ; \
15205 (cd $(HOST_SUBDIR)/ld && \
15206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15208 "RANLIB=$${RANLIB}" \
15209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15210 dvi) \
15211 || exit 1
15213 @endif ld
15215 .PHONY: maybe-html-ld html-ld
15216 maybe-html-ld:
15217 @if ld
15218 maybe-html-ld: html-ld
15220 html-ld: \
15221 configure-ld
15222 @[ -f ./ld/Makefile ] || exit 0; \
15223 r=`${PWD_COMMAND}`; export r; \
15224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15225 $(HOST_EXPORTS) \
15226 for flag in $(EXTRA_HOST_FLAGS) ; do \
15227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15228 done; \
15229 echo "Doing html in ld" ; \
15230 (cd $(HOST_SUBDIR)/ld && \
15231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15233 "RANLIB=$${RANLIB}" \
15234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15235 html) \
15236 || exit 1
15238 @endif ld
15240 .PHONY: maybe-TAGS-ld TAGS-ld
15241 maybe-TAGS-ld:
15242 @if ld
15243 maybe-TAGS-ld: TAGS-ld
15245 TAGS-ld: \
15246 configure-ld
15247 @[ -f ./ld/Makefile ] || exit 0; \
15248 r=`${PWD_COMMAND}`; export r; \
15249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15250 $(HOST_EXPORTS) \
15251 for flag in $(EXTRA_HOST_FLAGS) ; do \
15252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15253 done; \
15254 echo "Doing TAGS in ld" ; \
15255 (cd $(HOST_SUBDIR)/ld && \
15256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15258 "RANLIB=$${RANLIB}" \
15259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15260 TAGS) \
15261 || exit 1
15263 @endif ld
15265 .PHONY: maybe-install-info-ld install-info-ld
15266 maybe-install-info-ld:
15267 @if ld
15268 maybe-install-info-ld: install-info-ld
15270 install-info-ld: \
15271 configure-ld \
15272 info-ld
15273 @[ -f ./ld/Makefile ] || exit 0; \
15274 r=`${PWD_COMMAND}`; export r; \
15275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15276 $(HOST_EXPORTS) \
15277 for flag in $(EXTRA_HOST_FLAGS) ; do \
15278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15279 done; \
15280 echo "Doing install-info in ld" ; \
15281 (cd $(HOST_SUBDIR)/ld && \
15282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15284 "RANLIB=$${RANLIB}" \
15285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15286 install-info) \
15287 || exit 1
15289 @endif ld
15291 .PHONY: maybe-installcheck-ld installcheck-ld
15292 maybe-installcheck-ld:
15293 @if ld
15294 maybe-installcheck-ld: installcheck-ld
15296 installcheck-ld: \
15297 configure-ld
15298 @[ -f ./ld/Makefile ] || exit 0; \
15299 r=`${PWD_COMMAND}`; export r; \
15300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15301 $(HOST_EXPORTS) \
15302 for flag in $(EXTRA_HOST_FLAGS) ; do \
15303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15304 done; \
15305 echo "Doing installcheck in ld" ; \
15306 (cd $(HOST_SUBDIR)/ld && \
15307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15309 "RANLIB=$${RANLIB}" \
15310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15311 installcheck) \
15312 || exit 1
15314 @endif ld
15316 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15317 maybe-mostlyclean-ld:
15318 @if ld
15319 maybe-mostlyclean-ld: mostlyclean-ld
15321 mostlyclean-ld:
15322 @[ -f ./ld/Makefile ] || exit 0; \
15323 r=`${PWD_COMMAND}`; export r; \
15324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15325 $(HOST_EXPORTS) \
15326 for flag in $(EXTRA_HOST_FLAGS) ; do \
15327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15328 done; \
15329 echo "Doing mostlyclean in ld" ; \
15330 (cd $(HOST_SUBDIR)/ld && \
15331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15333 "RANLIB=$${RANLIB}" \
15334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15335 mostlyclean) \
15336 || exit 1
15338 @endif ld
15340 .PHONY: maybe-clean-ld clean-ld
15341 maybe-clean-ld:
15342 @if ld
15343 maybe-clean-ld: clean-ld
15345 clean-ld:
15346 @[ -f ./ld/Makefile ] || exit 0; \
15347 r=`${PWD_COMMAND}`; export r; \
15348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15349 $(HOST_EXPORTS) \
15350 for flag in $(EXTRA_HOST_FLAGS) ; do \
15351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15352 done; \
15353 echo "Doing clean in ld" ; \
15354 (cd $(HOST_SUBDIR)/ld && \
15355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15357 "RANLIB=$${RANLIB}" \
15358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15359 clean) \
15360 || exit 1
15362 @endif ld
15364 .PHONY: maybe-distclean-ld distclean-ld
15365 maybe-distclean-ld:
15366 @if ld
15367 maybe-distclean-ld: distclean-ld
15369 distclean-ld:
15370 @[ -f ./ld/Makefile ] || exit 0; \
15371 r=`${PWD_COMMAND}`; export r; \
15372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15373 $(HOST_EXPORTS) \
15374 for flag in $(EXTRA_HOST_FLAGS) ; do \
15375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15376 done; \
15377 echo "Doing distclean in ld" ; \
15378 (cd $(HOST_SUBDIR)/ld && \
15379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15381 "RANLIB=$${RANLIB}" \
15382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15383 distclean) \
15384 || exit 1
15386 @endif ld
15388 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15389 maybe-maintainer-clean-ld:
15390 @if ld
15391 maybe-maintainer-clean-ld: maintainer-clean-ld
15393 maintainer-clean-ld:
15394 @[ -f ./ld/Makefile ] || exit 0; \
15395 r=`${PWD_COMMAND}`; export r; \
15396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15397 $(HOST_EXPORTS) \
15398 for flag in $(EXTRA_HOST_FLAGS) ; do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400 done; \
15401 echo "Doing maintainer-clean in ld" ; \
15402 (cd $(HOST_SUBDIR)/ld && \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407 maintainer-clean) \
15408 || exit 1
15410 @endif ld
15414 .PHONY: configure-libcpp maybe-configure-libcpp
15415 maybe-configure-libcpp:
15416 @if libcpp
15417 maybe-configure-libcpp: configure-libcpp
15418 configure-libcpp:
15419 @test -f stage_last && exit 0; \
15420 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(HOST_EXPORTS) \
15425 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15426 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15427 case $(srcdir) in \
15428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15429 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15431 esac; \
15432 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15433 libsrcdir="$$s/libcpp"; \
15434 $(SHELL) $${libsrcdir}/configure \
15435 $(HOST_CONFIGARGS) $${srcdiroption} \
15436 || exit 1
15437 @endif libcpp
15441 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15442 maybe-configure-stage1-libcpp:
15443 @if libcpp-bootstrap
15444 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15445 configure-stage1-libcpp:
15446 @$(MAKE) stage1-start
15447 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15452 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15453 case $(srcdir) in \
15454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15455 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15457 esac; \
15458 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15459 libsrcdir="$$s/libcpp"; \
15460 $(SHELL) $${libsrcdir}/configure \
15461 $(HOST_CONFIGARGS) $${srcdiroption} \
15462 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15463 @endif libcpp-bootstrap
15465 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15466 maybe-configure-stage2-libcpp:
15467 @if libcpp-bootstrap
15468 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15469 configure-stage2-libcpp:
15470 @$(MAKE) stage2-start
15471 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15472 r=`${PWD_COMMAND}`; export r; \
15473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15474 $(HOST_EXPORTS) \
15475 $(POSTSTAGE1_HOST_EXPORTS) \
15476 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15477 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15478 case $(srcdir) in \
15479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15480 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15482 esac; \
15483 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15484 libsrcdir="$$s/libcpp"; \
15485 $(SHELL) $${libsrcdir}/configure \
15486 $(HOST_CONFIGARGS) $${srcdiroption} \
15487 @stage2_werror_flag@
15488 @endif libcpp-bootstrap
15490 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15491 maybe-configure-stage3-libcpp:
15492 @if libcpp-bootstrap
15493 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15494 configure-stage3-libcpp:
15495 @$(MAKE) stage3-start
15496 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15497 r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(HOST_EXPORTS) \
15500 $(POSTSTAGE1_HOST_EXPORTS) \
15501 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15502 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15503 case $(srcdir) in \
15504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15505 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15507 esac; \
15508 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15509 libsrcdir="$$s/libcpp"; \
15510 $(SHELL) $${libsrcdir}/configure \
15511 $(HOST_CONFIGARGS) $${srcdiroption} \
15512 @stage2_werror_flag@
15513 @endif libcpp-bootstrap
15515 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15516 maybe-configure-stage4-libcpp:
15517 @if libcpp-bootstrap
15518 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15519 configure-stage4-libcpp:
15520 @$(MAKE) stage4-start
15521 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15522 r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 $(HOST_EXPORTS) \
15525 $(POSTSTAGE1_HOST_EXPORTS) \
15526 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15527 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15528 case $(srcdir) in \
15529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15530 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15532 esac; \
15533 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15534 libsrcdir="$$s/libcpp"; \
15535 $(SHELL) $${libsrcdir}/configure \
15536 $(HOST_CONFIGARGS) $${srcdiroption} \
15537 @stage2_werror_flag@
15538 @endif libcpp-bootstrap
15540 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15541 maybe-configure-stageprofile-libcpp:
15542 @if libcpp-bootstrap
15543 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15544 configure-stageprofile-libcpp:
15545 @$(MAKE) stageprofile-start
15546 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15547 r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 $(HOST_EXPORTS) \
15550 $(POSTSTAGE1_HOST_EXPORTS) \
15551 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15552 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15553 case $(srcdir) in \
15554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15555 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15557 esac; \
15558 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15559 libsrcdir="$$s/libcpp"; \
15560 $(SHELL) $${libsrcdir}/configure \
15561 $(HOST_CONFIGARGS) $${srcdiroption} \
15562 @stage2_werror_flag@
15563 @endif libcpp-bootstrap
15565 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
15566 maybe-configure-stagefeedback-libcpp:
15567 @if libcpp-bootstrap
15568 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
15569 configure-stagefeedback-libcpp:
15570 @$(MAKE) stagefeedback-start
15571 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15572 r=`${PWD_COMMAND}`; export r; \
15573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15574 $(HOST_EXPORTS) \
15575 $(POSTSTAGE1_HOST_EXPORTS) \
15576 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
15577 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15578 case $(srcdir) in \
15579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15580 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15582 esac; \
15583 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15584 libsrcdir="$$s/libcpp"; \
15585 $(SHELL) $${libsrcdir}/configure \
15586 $(HOST_CONFIGARGS) $${srcdiroption} \
15587 @stage2_werror_flag@
15588 @endif libcpp-bootstrap
15594 .PHONY: all-libcpp maybe-all-libcpp
15595 maybe-all-libcpp:
15596 @if libcpp
15597 TARGET-libcpp=all
15598 maybe-all-libcpp: all-libcpp
15599 all-libcpp: configure-libcpp
15600 @test -f stage_last && exit 0; \
15601 r=`${PWD_COMMAND}`; export r; \
15602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15603 $(HOST_EXPORTS) \
15604 (cd $(HOST_SUBDIR)/libcpp && \
15605 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
15606 @endif libcpp
15610 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
15611 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
15612 maybe-all-stage1-libcpp:
15613 maybe-clean-stage1-libcpp:
15614 @if libcpp-bootstrap
15615 maybe-all-stage1-libcpp: all-stage1-libcpp
15616 all-stage1: all-stage1-libcpp
15617 all-stage1-libcpp: configure-stage1-libcpp
15618 @$(MAKE) stage1-start
15619 @r=`${PWD_COMMAND}`; export r; \
15620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15621 $(HOST_EXPORTS) \
15622 cd $(HOST_SUBDIR)/libcpp && \
15623 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15625 maybe-clean-stage1-libcpp: clean-stage1-libcpp
15626 clean-stage1: clean-stage1-libcpp
15627 clean-stage1-libcpp:
15628 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
15629 || exit 0 ; \
15630 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \
15631 cd $(HOST_SUBDIR)/libcpp && \
15632 $(MAKE) $(FLAGS_TO_PASS) \
15633 CFLAGS="$(STAGE1_CFLAGS)" clean
15634 @endif libcpp-bootstrap
15637 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
15638 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
15639 maybe-all-stage2-libcpp:
15640 maybe-clean-stage2-libcpp:
15641 @if libcpp-bootstrap
15642 maybe-all-stage2-libcpp: all-stage2-libcpp
15643 all-stage2: all-stage2-libcpp
15644 all-stage2-libcpp: configure-stage2-libcpp
15645 @$(MAKE) stage2-start
15646 @r=`${PWD_COMMAND}`; export r; \
15647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15648 $(HOST_EXPORTS) \
15649 $(POSTSTAGE1_HOST_EXPORTS) \
15650 cd $(HOST_SUBDIR)/libcpp && \
15651 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15653 maybe-clean-stage2-libcpp: clean-stage2-libcpp
15654 clean-stage2: clean-stage2-libcpp
15655 clean-stage2-libcpp:
15656 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
15657 || exit 0 ; \
15658 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \
15659 cd $(HOST_SUBDIR)/libcpp && \
15660 $(MAKE) $(FLAGS_TO_PASS) \
15661 $(POSTSTAGE1_FLAGS_TO_PASS) \
15662 clean
15663 @endif libcpp-bootstrap
15666 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
15667 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
15668 maybe-all-stage3-libcpp:
15669 maybe-clean-stage3-libcpp:
15670 @if libcpp-bootstrap
15671 maybe-all-stage3-libcpp: all-stage3-libcpp
15672 all-stage3: all-stage3-libcpp
15673 all-stage3-libcpp: configure-stage3-libcpp
15674 @$(MAKE) stage3-start
15675 @r=`${PWD_COMMAND}`; export r; \
15676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15677 $(HOST_EXPORTS) \
15678 $(POSTSTAGE1_HOST_EXPORTS) \
15679 cd $(HOST_SUBDIR)/libcpp && \
15680 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15682 maybe-clean-stage3-libcpp: clean-stage3-libcpp
15683 clean-stage3: clean-stage3-libcpp
15684 clean-stage3-libcpp:
15685 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
15686 || exit 0 ; \
15687 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \
15688 cd $(HOST_SUBDIR)/libcpp && \
15689 $(MAKE) $(FLAGS_TO_PASS) \
15690 $(POSTSTAGE1_FLAGS_TO_PASS) \
15691 clean
15692 @endif libcpp-bootstrap
15695 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
15696 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
15697 maybe-all-stage4-libcpp:
15698 maybe-clean-stage4-libcpp:
15699 @if libcpp-bootstrap
15700 maybe-all-stage4-libcpp: all-stage4-libcpp
15701 all-stage4: all-stage4-libcpp
15702 all-stage4-libcpp: configure-stage4-libcpp
15703 @$(MAKE) stage4-start
15704 @r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15706 $(HOST_EXPORTS) \
15707 $(POSTSTAGE1_HOST_EXPORTS) \
15708 cd $(HOST_SUBDIR)/libcpp && \
15709 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15711 maybe-clean-stage4-libcpp: clean-stage4-libcpp
15712 clean-stage4: clean-stage4-libcpp
15713 clean-stage4-libcpp:
15714 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
15715 || exit 0 ; \
15716 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \
15717 cd $(HOST_SUBDIR)/libcpp && \
15718 $(MAKE) $(FLAGS_TO_PASS) \
15719 $(POSTSTAGE1_FLAGS_TO_PASS) \
15720 clean
15721 @endif libcpp-bootstrap
15724 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
15725 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
15726 maybe-all-stageprofile-libcpp:
15727 maybe-clean-stageprofile-libcpp:
15728 @if libcpp-bootstrap
15729 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
15730 all-stageprofile: all-stageprofile-libcpp
15731 all-stageprofile-libcpp: configure-stageprofile-libcpp
15732 @$(MAKE) stageprofile-start
15733 @r=`${PWD_COMMAND}`; export r; \
15734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15735 $(HOST_EXPORTS) \
15736 $(POSTSTAGE1_HOST_EXPORTS) \
15737 cd $(HOST_SUBDIR)/libcpp && \
15738 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15740 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
15741 clean-stageprofile: clean-stageprofile-libcpp
15742 clean-stageprofile-libcpp:
15743 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
15744 || exit 0 ; \
15745 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
15746 cd $(HOST_SUBDIR)/libcpp && \
15747 $(MAKE) $(FLAGS_TO_PASS) \
15748 $(POSTSTAGE1_FLAGS_TO_PASS) \
15749 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15750 @endif libcpp-bootstrap
15753 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
15754 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
15755 maybe-all-stagefeedback-libcpp:
15756 maybe-clean-stagefeedback-libcpp:
15757 @if libcpp-bootstrap
15758 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
15759 all-stagefeedback: all-stagefeedback-libcpp
15760 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
15761 @$(MAKE) stagefeedback-start
15762 @r=`${PWD_COMMAND}`; export r; \
15763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15764 $(HOST_EXPORTS) \
15765 $(POSTSTAGE1_HOST_EXPORTS) \
15766 cd $(HOST_SUBDIR)/libcpp && \
15767 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15769 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
15770 clean-stagefeedback: clean-stagefeedback-libcpp
15771 clean-stagefeedback-libcpp:
15772 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
15773 || exit 0 ; \
15774 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
15775 cd $(HOST_SUBDIR)/libcpp && \
15776 $(MAKE) $(FLAGS_TO_PASS) \
15777 $(POSTSTAGE1_FLAGS_TO_PASS) \
15778 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15779 @endif libcpp-bootstrap
15785 .PHONY: check-libcpp maybe-check-libcpp
15786 maybe-check-libcpp:
15787 @if libcpp
15788 maybe-check-libcpp: check-libcpp
15790 check-libcpp:
15791 @r=`${PWD_COMMAND}`; export r; \
15792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15793 $(HOST_EXPORTS) \
15794 (cd $(HOST_SUBDIR)/libcpp && \
15795 $(MAKE) $(FLAGS_TO_PASS) check)
15797 @endif libcpp
15799 .PHONY: install-libcpp maybe-install-libcpp
15800 maybe-install-libcpp:
15801 @if libcpp
15802 maybe-install-libcpp: install-libcpp
15804 install-libcpp: installdirs
15805 @r=`${PWD_COMMAND}`; export r; \
15806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15807 $(HOST_EXPORTS) \
15808 (cd $(HOST_SUBDIR)/libcpp && \
15809 $(MAKE) $(FLAGS_TO_PASS) install)
15811 @endif libcpp
15813 # Other targets (info, dvi, etc.)
15815 .PHONY: maybe-info-libcpp info-libcpp
15816 maybe-info-libcpp:
15817 @if libcpp
15818 maybe-info-libcpp: info-libcpp
15820 info-libcpp: \
15821 configure-libcpp
15822 @[ -f ./libcpp/Makefile ] || exit 0; \
15823 r=`${PWD_COMMAND}`; export r; \
15824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15825 $(HOST_EXPORTS) \
15826 for flag in $(EXTRA_HOST_FLAGS) ; do \
15827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15828 done; \
15829 echo "Doing info in libcpp" ; \
15830 (cd $(HOST_SUBDIR)/libcpp && \
15831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15833 "RANLIB=$${RANLIB}" \
15834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15835 info) \
15836 || exit 1
15838 @endif libcpp
15840 .PHONY: maybe-dvi-libcpp dvi-libcpp
15841 maybe-dvi-libcpp:
15842 @if libcpp
15843 maybe-dvi-libcpp: dvi-libcpp
15845 dvi-libcpp: \
15846 configure-libcpp
15847 @[ -f ./libcpp/Makefile ] || exit 0; \
15848 r=`${PWD_COMMAND}`; export r; \
15849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15850 $(HOST_EXPORTS) \
15851 for flag in $(EXTRA_HOST_FLAGS) ; do \
15852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15853 done; \
15854 echo "Doing dvi in libcpp" ; \
15855 (cd $(HOST_SUBDIR)/libcpp && \
15856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15858 "RANLIB=$${RANLIB}" \
15859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15860 dvi) \
15861 || exit 1
15863 @endif libcpp
15865 .PHONY: maybe-html-libcpp html-libcpp
15866 maybe-html-libcpp:
15867 @if libcpp
15868 maybe-html-libcpp: html-libcpp
15870 html-libcpp: \
15871 configure-libcpp
15872 @[ -f ./libcpp/Makefile ] || exit 0; \
15873 r=`${PWD_COMMAND}`; export r; \
15874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15875 $(HOST_EXPORTS) \
15876 for flag in $(EXTRA_HOST_FLAGS) ; do \
15877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15878 done; \
15879 echo "Doing html in libcpp" ; \
15880 (cd $(HOST_SUBDIR)/libcpp && \
15881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15883 "RANLIB=$${RANLIB}" \
15884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15885 html) \
15886 || exit 1
15888 @endif libcpp
15890 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
15891 maybe-TAGS-libcpp:
15892 @if libcpp
15893 maybe-TAGS-libcpp: TAGS-libcpp
15895 TAGS-libcpp: \
15896 configure-libcpp
15897 @[ -f ./libcpp/Makefile ] || exit 0; \
15898 r=`${PWD_COMMAND}`; export r; \
15899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15900 $(HOST_EXPORTS) \
15901 for flag in $(EXTRA_HOST_FLAGS) ; do \
15902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15903 done; \
15904 echo "Doing TAGS in libcpp" ; \
15905 (cd $(HOST_SUBDIR)/libcpp && \
15906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15908 "RANLIB=$${RANLIB}" \
15909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15910 TAGS) \
15911 || exit 1
15913 @endif libcpp
15915 .PHONY: maybe-install-info-libcpp install-info-libcpp
15916 maybe-install-info-libcpp:
15917 @if libcpp
15918 maybe-install-info-libcpp: install-info-libcpp
15920 install-info-libcpp: \
15921 configure-libcpp \
15922 info-libcpp
15923 @[ -f ./libcpp/Makefile ] || exit 0; \
15924 r=`${PWD_COMMAND}`; export r; \
15925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15926 $(HOST_EXPORTS) \
15927 for flag in $(EXTRA_HOST_FLAGS) ; do \
15928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15929 done; \
15930 echo "Doing install-info in libcpp" ; \
15931 (cd $(HOST_SUBDIR)/libcpp && \
15932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15934 "RANLIB=$${RANLIB}" \
15935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15936 install-info) \
15937 || exit 1
15939 @endif libcpp
15941 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
15942 maybe-installcheck-libcpp:
15943 @if libcpp
15944 maybe-installcheck-libcpp: installcheck-libcpp
15946 installcheck-libcpp: \
15947 configure-libcpp
15948 @[ -f ./libcpp/Makefile ] || exit 0; \
15949 r=`${PWD_COMMAND}`; export r; \
15950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15951 $(HOST_EXPORTS) \
15952 for flag in $(EXTRA_HOST_FLAGS) ; do \
15953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15954 done; \
15955 echo "Doing installcheck in libcpp" ; \
15956 (cd $(HOST_SUBDIR)/libcpp && \
15957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15959 "RANLIB=$${RANLIB}" \
15960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15961 installcheck) \
15962 || exit 1
15964 @endif libcpp
15966 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
15967 maybe-mostlyclean-libcpp:
15968 @if libcpp
15969 maybe-mostlyclean-libcpp: mostlyclean-libcpp
15971 mostlyclean-libcpp:
15972 @[ -f ./libcpp/Makefile ] || exit 0; \
15973 r=`${PWD_COMMAND}`; export r; \
15974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15975 $(HOST_EXPORTS) \
15976 for flag in $(EXTRA_HOST_FLAGS) ; do \
15977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15978 done; \
15979 echo "Doing mostlyclean in libcpp" ; \
15980 (cd $(HOST_SUBDIR)/libcpp && \
15981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15983 "RANLIB=$${RANLIB}" \
15984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15985 mostlyclean) \
15986 || exit 1
15988 @endif libcpp
15990 .PHONY: maybe-clean-libcpp clean-libcpp
15991 maybe-clean-libcpp:
15992 @if libcpp
15993 maybe-clean-libcpp: clean-libcpp
15995 clean-libcpp:
15996 @[ -f ./libcpp/Makefile ] || exit 0; \
15997 r=`${PWD_COMMAND}`; export r; \
15998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15999 $(HOST_EXPORTS) \
16000 for flag in $(EXTRA_HOST_FLAGS) ; do \
16001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16002 done; \
16003 echo "Doing clean in libcpp" ; \
16004 (cd $(HOST_SUBDIR)/libcpp && \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16007 "RANLIB=$${RANLIB}" \
16008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16009 clean) \
16010 || exit 1
16012 @endif libcpp
16014 .PHONY: maybe-distclean-libcpp distclean-libcpp
16015 maybe-distclean-libcpp:
16016 @if libcpp
16017 maybe-distclean-libcpp: distclean-libcpp
16019 distclean-libcpp:
16020 @[ -f ./libcpp/Makefile ] || exit 0; \
16021 r=`${PWD_COMMAND}`; export r; \
16022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16023 $(HOST_EXPORTS) \
16024 for flag in $(EXTRA_HOST_FLAGS) ; do \
16025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16026 done; \
16027 echo "Doing distclean in libcpp" ; \
16028 (cd $(HOST_SUBDIR)/libcpp && \
16029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16031 "RANLIB=$${RANLIB}" \
16032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16033 distclean) \
16034 || exit 1
16036 @endif libcpp
16038 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16039 maybe-maintainer-clean-libcpp:
16040 @if libcpp
16041 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16043 maintainer-clean-libcpp:
16044 @[ -f ./libcpp/Makefile ] || exit 0; \
16045 r=`${PWD_COMMAND}`; export r; \
16046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16047 $(HOST_EXPORTS) \
16048 for flag in $(EXTRA_HOST_FLAGS) ; do \
16049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16050 done; \
16051 echo "Doing maintainer-clean in libcpp" ; \
16052 (cd $(HOST_SUBDIR)/libcpp && \
16053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16055 "RANLIB=$${RANLIB}" \
16056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16057 maintainer-clean) \
16058 || exit 1
16060 @endif libcpp
16064 .PHONY: configure-libgui maybe-configure-libgui
16065 maybe-configure-libgui:
16066 @if libgui
16067 maybe-configure-libgui: configure-libgui
16068 configure-libgui:
16069 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16070 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16071 r=`${PWD_COMMAND}`; export r; \
16072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16073 $(HOST_EXPORTS) \
16074 echo Configuring in $(HOST_SUBDIR)/libgui; \
16075 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16076 case $(srcdir) in \
16077 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16078 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16079 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16080 esac; \
16081 srcdiroption="--srcdir=$${topdir}/libgui"; \
16082 libsrcdir="$$s/libgui"; \
16083 $(SHELL) $${libsrcdir}/configure \
16084 $(HOST_CONFIGARGS) $${srcdiroption} \
16085 || exit 1
16086 @endif libgui
16092 .PHONY: all-libgui maybe-all-libgui
16093 maybe-all-libgui:
16094 @if libgui
16095 TARGET-libgui=all
16096 maybe-all-libgui: all-libgui
16097 all-libgui: configure-libgui
16098 @r=`${PWD_COMMAND}`; export r; \
16099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16100 $(HOST_EXPORTS) \
16101 (cd $(HOST_SUBDIR)/libgui && \
16102 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16103 @endif libgui
16108 .PHONY: check-libgui maybe-check-libgui
16109 maybe-check-libgui:
16110 @if libgui
16111 maybe-check-libgui: check-libgui
16113 check-libgui:
16114 @r=`${PWD_COMMAND}`; export r; \
16115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16116 $(HOST_EXPORTS) \
16117 (cd $(HOST_SUBDIR)/libgui && \
16118 $(MAKE) $(FLAGS_TO_PASS) check)
16120 @endif libgui
16122 .PHONY: install-libgui maybe-install-libgui
16123 maybe-install-libgui:
16124 @if libgui
16125 maybe-install-libgui: install-libgui
16127 install-libgui: installdirs
16128 @r=`${PWD_COMMAND}`; export r; \
16129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16130 $(HOST_EXPORTS) \
16131 (cd $(HOST_SUBDIR)/libgui && \
16132 $(MAKE) $(FLAGS_TO_PASS) install)
16134 @endif libgui
16136 # Other targets (info, dvi, etc.)
16138 .PHONY: maybe-info-libgui info-libgui
16139 maybe-info-libgui:
16140 @if libgui
16141 maybe-info-libgui: info-libgui
16143 info-libgui: \
16144 configure-libgui
16145 @[ -f ./libgui/Makefile ] || exit 0; \
16146 r=`${PWD_COMMAND}`; export r; \
16147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16148 $(HOST_EXPORTS) \
16149 for flag in $(EXTRA_HOST_FLAGS) ; do \
16150 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16151 done; \
16152 echo "Doing info in libgui" ; \
16153 (cd $(HOST_SUBDIR)/libgui && \
16154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16156 "RANLIB=$${RANLIB}" \
16157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16158 info) \
16159 || exit 1
16161 @endif libgui
16163 .PHONY: maybe-dvi-libgui dvi-libgui
16164 maybe-dvi-libgui:
16165 @if libgui
16166 maybe-dvi-libgui: dvi-libgui
16168 dvi-libgui: \
16169 configure-libgui
16170 @[ -f ./libgui/Makefile ] || exit 0; \
16171 r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 $(HOST_EXPORTS) \
16174 for flag in $(EXTRA_HOST_FLAGS) ; do \
16175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16176 done; \
16177 echo "Doing dvi in libgui" ; \
16178 (cd $(HOST_SUBDIR)/libgui && \
16179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16181 "RANLIB=$${RANLIB}" \
16182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16183 dvi) \
16184 || exit 1
16186 @endif libgui
16188 .PHONY: maybe-html-libgui html-libgui
16189 maybe-html-libgui:
16190 @if libgui
16191 maybe-html-libgui: html-libgui
16193 html-libgui: \
16194 configure-libgui
16195 @[ -f ./libgui/Makefile ] || exit 0; \
16196 r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 $(HOST_EXPORTS) \
16199 for flag in $(EXTRA_HOST_FLAGS) ; do \
16200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16201 done; \
16202 echo "Doing html in libgui" ; \
16203 (cd $(HOST_SUBDIR)/libgui && \
16204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16206 "RANLIB=$${RANLIB}" \
16207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16208 html) \
16209 || exit 1
16211 @endif libgui
16213 .PHONY: maybe-TAGS-libgui TAGS-libgui
16214 maybe-TAGS-libgui:
16215 @if libgui
16216 maybe-TAGS-libgui: TAGS-libgui
16218 TAGS-libgui: \
16219 configure-libgui
16220 @[ -f ./libgui/Makefile ] || exit 0; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 $(HOST_EXPORTS) \
16224 for flag in $(EXTRA_HOST_FLAGS) ; do \
16225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16226 done; \
16227 echo "Doing TAGS in libgui" ; \
16228 (cd $(HOST_SUBDIR)/libgui && \
16229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16231 "RANLIB=$${RANLIB}" \
16232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16233 TAGS) \
16234 || exit 1
16236 @endif libgui
16238 .PHONY: maybe-install-info-libgui install-info-libgui
16239 maybe-install-info-libgui:
16240 @if libgui
16241 maybe-install-info-libgui: install-info-libgui
16243 install-info-libgui: \
16244 configure-libgui \
16245 info-libgui
16246 @[ -f ./libgui/Makefile ] || exit 0; \
16247 r=`${PWD_COMMAND}`; export r; \
16248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing install-info in libgui" ; \
16254 (cd $(HOST_SUBDIR)/libgui && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16259 install-info) \
16260 || exit 1
16262 @endif libgui
16264 .PHONY: maybe-installcheck-libgui installcheck-libgui
16265 maybe-installcheck-libgui:
16266 @if libgui
16267 maybe-installcheck-libgui: installcheck-libgui
16269 installcheck-libgui: \
16270 configure-libgui
16271 @[ -f ./libgui/Makefile ] || exit 0; \
16272 r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 $(HOST_EXPORTS) \
16275 for flag in $(EXTRA_HOST_FLAGS) ; do \
16276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16277 done; \
16278 echo "Doing installcheck in libgui" ; \
16279 (cd $(HOST_SUBDIR)/libgui && \
16280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16282 "RANLIB=$${RANLIB}" \
16283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16284 installcheck) \
16285 || exit 1
16287 @endif libgui
16289 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16290 maybe-mostlyclean-libgui:
16291 @if libgui
16292 maybe-mostlyclean-libgui: mostlyclean-libgui
16294 mostlyclean-libgui:
16295 @[ -f ./libgui/Makefile ] || exit 0; \
16296 r=`${PWD_COMMAND}`; export r; \
16297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16298 $(HOST_EXPORTS) \
16299 for flag in $(EXTRA_HOST_FLAGS) ; do \
16300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16301 done; \
16302 echo "Doing mostlyclean in libgui" ; \
16303 (cd $(HOST_SUBDIR)/libgui && \
16304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16306 "RANLIB=$${RANLIB}" \
16307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16308 mostlyclean) \
16309 || exit 1
16311 @endif libgui
16313 .PHONY: maybe-clean-libgui clean-libgui
16314 maybe-clean-libgui:
16315 @if libgui
16316 maybe-clean-libgui: clean-libgui
16318 clean-libgui:
16319 @[ -f ./libgui/Makefile ] || exit 0; \
16320 r=`${PWD_COMMAND}`; export r; \
16321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16322 $(HOST_EXPORTS) \
16323 for flag in $(EXTRA_HOST_FLAGS) ; do \
16324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16325 done; \
16326 echo "Doing clean in libgui" ; \
16327 (cd $(HOST_SUBDIR)/libgui && \
16328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16330 "RANLIB=$${RANLIB}" \
16331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16332 clean) \
16333 || exit 1
16335 @endif libgui
16337 .PHONY: maybe-distclean-libgui distclean-libgui
16338 maybe-distclean-libgui:
16339 @if libgui
16340 maybe-distclean-libgui: distclean-libgui
16342 distclean-libgui:
16343 @[ -f ./libgui/Makefile ] || exit 0; \
16344 r=`${PWD_COMMAND}`; export r; \
16345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 $(HOST_EXPORTS) \
16347 for flag in $(EXTRA_HOST_FLAGS) ; do \
16348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16349 done; \
16350 echo "Doing distclean in libgui" ; \
16351 (cd $(HOST_SUBDIR)/libgui && \
16352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16354 "RANLIB=$${RANLIB}" \
16355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16356 distclean) \
16357 || exit 1
16359 @endif libgui
16361 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16362 maybe-maintainer-clean-libgui:
16363 @if libgui
16364 maybe-maintainer-clean-libgui: maintainer-clean-libgui
16366 maintainer-clean-libgui:
16367 @[ -f ./libgui/Makefile ] || exit 0; \
16368 r=`${PWD_COMMAND}`; export r; \
16369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16370 $(HOST_EXPORTS) \
16371 for flag in $(EXTRA_HOST_FLAGS) ; do \
16372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16373 done; \
16374 echo "Doing maintainer-clean in libgui" ; \
16375 (cd $(HOST_SUBDIR)/libgui && \
16376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16378 "RANLIB=$${RANLIB}" \
16379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16380 maintainer-clean) \
16381 || exit 1
16383 @endif libgui
16387 .PHONY: configure-libiberty maybe-configure-libiberty
16388 maybe-configure-libiberty:
16389 @if libiberty
16390 maybe-configure-libiberty: configure-libiberty
16391 configure-libiberty:
16392 @test -f stage_last && exit 0; \
16393 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
16394 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
16395 r=`${PWD_COMMAND}`; export r; \
16396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16397 $(HOST_EXPORTS) \
16398 echo Configuring in $(HOST_SUBDIR)/libiberty; \
16399 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
16400 case $(srcdir) in \
16401 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16402 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16403 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16404 esac; \
16405 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16406 libsrcdir="$$s/libiberty"; \
16407 $(SHELL) $${libsrcdir}/configure \
16408 $(HOST_CONFIGARGS) $${srcdiroption} \
16409 || exit 1
16410 @endif libiberty
16414 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
16415 maybe-configure-stage1-libiberty:
16416 @if libiberty-bootstrap
16417 maybe-configure-stage1-libiberty: configure-stage1-libiberty
16418 configure-stage1-libiberty:
16419 @$(MAKE) stage1-start
16420 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16421 r=`${PWD_COMMAND}`; export r; \
16422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16423 $(HOST_EXPORTS) \
16424 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
16425 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16426 case $(srcdir) in \
16427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16428 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16430 esac; \
16431 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16432 libsrcdir="$$s/libiberty"; \
16433 $(SHELL) $${libsrcdir}/configure \
16434 $(HOST_CONFIGARGS) $${srcdiroption} \
16435 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16436 @endif libiberty-bootstrap
16438 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
16439 maybe-configure-stage2-libiberty:
16440 @if libiberty-bootstrap
16441 maybe-configure-stage2-libiberty: configure-stage2-libiberty
16442 configure-stage2-libiberty:
16443 @$(MAKE) stage2-start
16444 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16445 r=`${PWD_COMMAND}`; export r; \
16446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16447 $(HOST_EXPORTS) \
16448 $(POSTSTAGE1_HOST_EXPORTS) \
16449 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
16450 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16451 case $(srcdir) in \
16452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16453 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16455 esac; \
16456 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16457 libsrcdir="$$s/libiberty"; \
16458 $(SHELL) $${libsrcdir}/configure \
16459 $(HOST_CONFIGARGS) $${srcdiroption} \
16460 @stage2_werror_flag@
16461 @endif libiberty-bootstrap
16463 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
16464 maybe-configure-stage3-libiberty:
16465 @if libiberty-bootstrap
16466 maybe-configure-stage3-libiberty: configure-stage3-libiberty
16467 configure-stage3-libiberty:
16468 @$(MAKE) stage3-start
16469 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16470 r=`${PWD_COMMAND}`; export r; \
16471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16472 $(HOST_EXPORTS) \
16473 $(POSTSTAGE1_HOST_EXPORTS) \
16474 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
16475 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16476 case $(srcdir) in \
16477 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16478 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16479 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16480 esac; \
16481 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16482 libsrcdir="$$s/libiberty"; \
16483 $(SHELL) $${libsrcdir}/configure \
16484 $(HOST_CONFIGARGS) $${srcdiroption} \
16485 @stage2_werror_flag@
16486 @endif libiberty-bootstrap
16488 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
16489 maybe-configure-stage4-libiberty:
16490 @if libiberty-bootstrap
16491 maybe-configure-stage4-libiberty: configure-stage4-libiberty
16492 configure-stage4-libiberty:
16493 @$(MAKE) stage4-start
16494 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16495 r=`${PWD_COMMAND}`; export r; \
16496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16497 $(HOST_EXPORTS) \
16498 $(POSTSTAGE1_HOST_EXPORTS) \
16499 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
16500 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16501 case $(srcdir) in \
16502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16503 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16505 esac; \
16506 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16507 libsrcdir="$$s/libiberty"; \
16508 $(SHELL) $${libsrcdir}/configure \
16509 $(HOST_CONFIGARGS) $${srcdiroption} \
16510 @stage2_werror_flag@
16511 @endif libiberty-bootstrap
16513 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
16514 maybe-configure-stageprofile-libiberty:
16515 @if libiberty-bootstrap
16516 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
16517 configure-stageprofile-libiberty:
16518 @$(MAKE) stageprofile-start
16519 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16520 r=`${PWD_COMMAND}`; export r; \
16521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16522 $(HOST_EXPORTS) \
16523 $(POSTSTAGE1_HOST_EXPORTS) \
16524 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
16525 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16526 case $(srcdir) in \
16527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16528 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16530 esac; \
16531 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16532 libsrcdir="$$s/libiberty"; \
16533 $(SHELL) $${libsrcdir}/configure \
16534 $(HOST_CONFIGARGS) $${srcdiroption} \
16535 @stage2_werror_flag@
16536 @endif libiberty-bootstrap
16538 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
16539 maybe-configure-stagefeedback-libiberty:
16540 @if libiberty-bootstrap
16541 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
16542 configure-stagefeedback-libiberty:
16543 @$(MAKE) stagefeedback-start
16544 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16545 r=`${PWD_COMMAND}`; export r; \
16546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16547 $(HOST_EXPORTS) \
16548 $(POSTSTAGE1_HOST_EXPORTS) \
16549 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
16550 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16551 case $(srcdir) in \
16552 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16553 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16554 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16555 esac; \
16556 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16557 libsrcdir="$$s/libiberty"; \
16558 $(SHELL) $${libsrcdir}/configure \
16559 $(HOST_CONFIGARGS) $${srcdiroption} \
16560 @stage2_werror_flag@
16561 @endif libiberty-bootstrap
16567 .PHONY: all-libiberty maybe-all-libiberty
16568 maybe-all-libiberty:
16569 @if libiberty
16570 TARGET-libiberty=all
16571 maybe-all-libiberty: all-libiberty
16572 all-libiberty: configure-libiberty
16573 @test -f stage_last && exit 0; \
16574 r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576 $(HOST_EXPORTS) \
16577 (cd $(HOST_SUBDIR)/libiberty && \
16578 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
16579 @endif libiberty
16583 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
16584 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
16585 maybe-all-stage1-libiberty:
16586 maybe-clean-stage1-libiberty:
16587 @if libiberty-bootstrap
16588 maybe-all-stage1-libiberty: all-stage1-libiberty
16589 all-stage1: all-stage1-libiberty
16590 all-stage1-libiberty: configure-stage1-libiberty
16591 @$(MAKE) stage1-start
16592 @r=`${PWD_COMMAND}`; export r; \
16593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16594 $(HOST_EXPORTS) \
16595 cd $(HOST_SUBDIR)/libiberty && \
16596 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
16598 maybe-clean-stage1-libiberty: clean-stage1-libiberty
16599 clean-stage1: clean-stage1-libiberty
16600 clean-stage1-libiberty:
16601 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
16602 || exit 0 ; \
16603 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \
16604 cd $(HOST_SUBDIR)/libiberty && \
16605 $(MAKE) $(FLAGS_TO_PASS) \
16606 CFLAGS="$(STAGE1_CFLAGS)" clean
16607 @endif libiberty-bootstrap
16610 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
16611 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
16612 maybe-all-stage2-libiberty:
16613 maybe-clean-stage2-libiberty:
16614 @if libiberty-bootstrap
16615 maybe-all-stage2-libiberty: all-stage2-libiberty
16616 all-stage2: all-stage2-libiberty
16617 all-stage2-libiberty: configure-stage2-libiberty
16618 @$(MAKE) stage2-start
16619 @r=`${PWD_COMMAND}`; export r; \
16620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16621 $(HOST_EXPORTS) \
16622 $(POSTSTAGE1_HOST_EXPORTS) \
16623 cd $(HOST_SUBDIR)/libiberty && \
16624 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16626 maybe-clean-stage2-libiberty: clean-stage2-libiberty
16627 clean-stage2: clean-stage2-libiberty
16628 clean-stage2-libiberty:
16629 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
16630 || exit 0 ; \
16631 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \
16632 cd $(HOST_SUBDIR)/libiberty && \
16633 $(MAKE) $(FLAGS_TO_PASS) \
16634 $(POSTSTAGE1_FLAGS_TO_PASS) \
16635 clean
16636 @endif libiberty-bootstrap
16639 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
16640 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
16641 maybe-all-stage3-libiberty:
16642 maybe-clean-stage3-libiberty:
16643 @if libiberty-bootstrap
16644 maybe-all-stage3-libiberty: all-stage3-libiberty
16645 all-stage3: all-stage3-libiberty
16646 all-stage3-libiberty: configure-stage3-libiberty
16647 @$(MAKE) stage3-start
16648 @r=`${PWD_COMMAND}`; export r; \
16649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16650 $(HOST_EXPORTS) \
16651 $(POSTSTAGE1_HOST_EXPORTS) \
16652 cd $(HOST_SUBDIR)/libiberty && \
16653 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16655 maybe-clean-stage3-libiberty: clean-stage3-libiberty
16656 clean-stage3: clean-stage3-libiberty
16657 clean-stage3-libiberty:
16658 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
16659 || exit 0 ; \
16660 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \
16661 cd $(HOST_SUBDIR)/libiberty && \
16662 $(MAKE) $(FLAGS_TO_PASS) \
16663 $(POSTSTAGE1_FLAGS_TO_PASS) \
16664 clean
16665 @endif libiberty-bootstrap
16668 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
16669 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
16670 maybe-all-stage4-libiberty:
16671 maybe-clean-stage4-libiberty:
16672 @if libiberty-bootstrap
16673 maybe-all-stage4-libiberty: all-stage4-libiberty
16674 all-stage4: all-stage4-libiberty
16675 all-stage4-libiberty: configure-stage4-libiberty
16676 @$(MAKE) stage4-start
16677 @r=`${PWD_COMMAND}`; export r; \
16678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16679 $(HOST_EXPORTS) \
16680 $(POSTSTAGE1_HOST_EXPORTS) \
16681 cd $(HOST_SUBDIR)/libiberty && \
16682 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16684 maybe-clean-stage4-libiberty: clean-stage4-libiberty
16685 clean-stage4: clean-stage4-libiberty
16686 clean-stage4-libiberty:
16687 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
16688 || exit 0 ; \
16689 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \
16690 cd $(HOST_SUBDIR)/libiberty && \
16691 $(MAKE) $(FLAGS_TO_PASS) \
16692 $(POSTSTAGE1_FLAGS_TO_PASS) \
16693 clean
16694 @endif libiberty-bootstrap
16697 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
16698 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
16699 maybe-all-stageprofile-libiberty:
16700 maybe-clean-stageprofile-libiberty:
16701 @if libiberty-bootstrap
16702 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
16703 all-stageprofile: all-stageprofile-libiberty
16704 all-stageprofile-libiberty: configure-stageprofile-libiberty
16705 @$(MAKE) stageprofile-start
16706 @r=`${PWD_COMMAND}`; export r; \
16707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16708 $(HOST_EXPORTS) \
16709 $(POSTSTAGE1_HOST_EXPORTS) \
16710 cd $(HOST_SUBDIR)/libiberty && \
16711 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
16713 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
16714 clean-stageprofile: clean-stageprofile-libiberty
16715 clean-stageprofile-libiberty:
16716 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
16717 || exit 0 ; \
16718 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
16719 cd $(HOST_SUBDIR)/libiberty && \
16720 $(MAKE) $(FLAGS_TO_PASS) \
16721 $(POSTSTAGE1_FLAGS_TO_PASS) \
16722 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16723 @endif libiberty-bootstrap
16726 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
16727 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
16728 maybe-all-stagefeedback-libiberty:
16729 maybe-clean-stagefeedback-libiberty:
16730 @if libiberty-bootstrap
16731 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
16732 all-stagefeedback: all-stagefeedback-libiberty
16733 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
16734 @$(MAKE) stagefeedback-start
16735 @r=`${PWD_COMMAND}`; export r; \
16736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16737 $(HOST_EXPORTS) \
16738 $(POSTSTAGE1_HOST_EXPORTS) \
16739 cd $(HOST_SUBDIR)/libiberty && \
16740 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
16742 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
16743 clean-stagefeedback: clean-stagefeedback-libiberty
16744 clean-stagefeedback-libiberty:
16745 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
16746 || exit 0 ; \
16747 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
16748 cd $(HOST_SUBDIR)/libiberty && \
16749 $(MAKE) $(FLAGS_TO_PASS) \
16750 $(POSTSTAGE1_FLAGS_TO_PASS) \
16751 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16752 @endif libiberty-bootstrap
16758 .PHONY: check-libiberty maybe-check-libiberty
16759 maybe-check-libiberty:
16760 @if libiberty
16761 maybe-check-libiberty: check-libiberty
16763 check-libiberty:
16764 @r=`${PWD_COMMAND}`; export r; \
16765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16766 $(HOST_EXPORTS) \
16767 (cd $(HOST_SUBDIR)/libiberty && \
16768 $(MAKE) $(FLAGS_TO_PASS) check)
16770 @endif libiberty
16772 .PHONY: install-libiberty maybe-install-libiberty
16773 maybe-install-libiberty:
16774 @if libiberty
16775 maybe-install-libiberty: install-libiberty
16777 install-libiberty: installdirs
16778 @r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 (cd $(HOST_SUBDIR)/libiberty && \
16782 $(MAKE) $(FLAGS_TO_PASS) install)
16784 @endif libiberty
16786 # Other targets (info, dvi, etc.)
16788 .PHONY: maybe-info-libiberty info-libiberty
16789 maybe-info-libiberty:
16790 @if libiberty
16791 maybe-info-libiberty: info-libiberty
16793 info-libiberty: \
16794 configure-libiberty
16795 @[ -f ./libiberty/Makefile ] || exit 0; \
16796 r=`${PWD_COMMAND}`; export r; \
16797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16798 $(HOST_EXPORTS) \
16799 for flag in $(EXTRA_HOST_FLAGS) ; do \
16800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16801 done; \
16802 echo "Doing info in libiberty" ; \
16803 (cd $(HOST_SUBDIR)/libiberty && \
16804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16806 "RANLIB=$${RANLIB}" \
16807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16808 info) \
16809 || exit 1
16811 @endif libiberty
16813 .PHONY: maybe-dvi-libiberty dvi-libiberty
16814 maybe-dvi-libiberty:
16815 @if libiberty
16816 maybe-dvi-libiberty: dvi-libiberty
16818 dvi-libiberty: \
16819 configure-libiberty
16820 @[ -f ./libiberty/Makefile ] || exit 0; \
16821 r=`${PWD_COMMAND}`; export r; \
16822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16823 $(HOST_EXPORTS) \
16824 for flag in $(EXTRA_HOST_FLAGS) ; do \
16825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16826 done; \
16827 echo "Doing dvi in libiberty" ; \
16828 (cd $(HOST_SUBDIR)/libiberty && \
16829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16831 "RANLIB=$${RANLIB}" \
16832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16833 dvi) \
16834 || exit 1
16836 @endif libiberty
16838 .PHONY: maybe-html-libiberty html-libiberty
16839 maybe-html-libiberty:
16840 @if libiberty
16841 maybe-html-libiberty: html-libiberty
16843 html-libiberty: \
16844 configure-libiberty
16845 @[ -f ./libiberty/Makefile ] || exit 0; \
16846 r=`${PWD_COMMAND}`; export r; \
16847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16848 $(HOST_EXPORTS) \
16849 for flag in $(EXTRA_HOST_FLAGS) ; do \
16850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16851 done; \
16852 echo "Doing html in libiberty" ; \
16853 (cd $(HOST_SUBDIR)/libiberty && \
16854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16856 "RANLIB=$${RANLIB}" \
16857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16858 html) \
16859 || exit 1
16861 @endif libiberty
16863 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
16864 maybe-TAGS-libiberty:
16865 @if libiberty
16866 maybe-TAGS-libiberty: TAGS-libiberty
16868 TAGS-libiberty: \
16869 configure-libiberty
16870 @[ -f ./libiberty/Makefile ] || exit 0; \
16871 r=`${PWD_COMMAND}`; export r; \
16872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16873 $(HOST_EXPORTS) \
16874 for flag in $(EXTRA_HOST_FLAGS) ; do \
16875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16876 done; \
16877 echo "Doing TAGS in libiberty" ; \
16878 (cd $(HOST_SUBDIR)/libiberty && \
16879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16881 "RANLIB=$${RANLIB}" \
16882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16883 TAGS) \
16884 || exit 1
16886 @endif libiberty
16888 .PHONY: maybe-install-info-libiberty install-info-libiberty
16889 maybe-install-info-libiberty:
16890 @if libiberty
16891 maybe-install-info-libiberty: install-info-libiberty
16893 install-info-libiberty: \
16894 configure-libiberty \
16895 info-libiberty
16896 @[ -f ./libiberty/Makefile ] || exit 0; \
16897 r=`${PWD_COMMAND}`; export r; \
16898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16899 $(HOST_EXPORTS) \
16900 for flag in $(EXTRA_HOST_FLAGS) ; do \
16901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16902 done; \
16903 echo "Doing install-info in libiberty" ; \
16904 (cd $(HOST_SUBDIR)/libiberty && \
16905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16907 "RANLIB=$${RANLIB}" \
16908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16909 install-info) \
16910 || exit 1
16912 @endif libiberty
16914 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
16915 maybe-installcheck-libiberty:
16916 @if libiberty
16917 maybe-installcheck-libiberty: installcheck-libiberty
16919 installcheck-libiberty: \
16920 configure-libiberty
16921 @[ -f ./libiberty/Makefile ] || exit 0; \
16922 r=`${PWD_COMMAND}`; export r; \
16923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16924 $(HOST_EXPORTS) \
16925 for flag in $(EXTRA_HOST_FLAGS) ; do \
16926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16927 done; \
16928 echo "Doing installcheck in libiberty" ; \
16929 (cd $(HOST_SUBDIR)/libiberty && \
16930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16932 "RANLIB=$${RANLIB}" \
16933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16934 installcheck) \
16935 || exit 1
16937 @endif libiberty
16939 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
16940 maybe-mostlyclean-libiberty:
16941 @if libiberty
16942 maybe-mostlyclean-libiberty: mostlyclean-libiberty
16944 mostlyclean-libiberty:
16945 @[ -f ./libiberty/Makefile ] || exit 0; \
16946 r=`${PWD_COMMAND}`; export r; \
16947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16948 $(HOST_EXPORTS) \
16949 for flag in $(EXTRA_HOST_FLAGS) ; do \
16950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16951 done; \
16952 echo "Doing mostlyclean in libiberty" ; \
16953 (cd $(HOST_SUBDIR)/libiberty && \
16954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16956 "RANLIB=$${RANLIB}" \
16957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16958 mostlyclean) \
16959 || exit 1
16961 @endif libiberty
16963 .PHONY: maybe-clean-libiberty clean-libiberty
16964 maybe-clean-libiberty:
16965 @if libiberty
16966 maybe-clean-libiberty: clean-libiberty
16968 clean-libiberty:
16969 @[ -f ./libiberty/Makefile ] || exit 0; \
16970 r=`${PWD_COMMAND}`; export r; \
16971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16972 $(HOST_EXPORTS) \
16973 for flag in $(EXTRA_HOST_FLAGS) ; do \
16974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16975 done; \
16976 echo "Doing clean in libiberty" ; \
16977 (cd $(HOST_SUBDIR)/libiberty && \
16978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16980 "RANLIB=$${RANLIB}" \
16981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16982 clean) \
16983 || exit 1
16985 @endif libiberty
16987 .PHONY: maybe-distclean-libiberty distclean-libiberty
16988 maybe-distclean-libiberty:
16989 @if libiberty
16990 maybe-distclean-libiberty: distclean-libiberty
16992 distclean-libiberty:
16993 @[ -f ./libiberty/Makefile ] || exit 0; \
16994 r=`${PWD_COMMAND}`; export r; \
16995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16996 $(HOST_EXPORTS) \
16997 for flag in $(EXTRA_HOST_FLAGS) ; do \
16998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16999 done; \
17000 echo "Doing distclean in libiberty" ; \
17001 (cd $(HOST_SUBDIR)/libiberty && \
17002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17004 "RANLIB=$${RANLIB}" \
17005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17006 distclean) \
17007 || exit 1
17009 @endif libiberty
17011 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17012 maybe-maintainer-clean-libiberty:
17013 @if libiberty
17014 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17016 maintainer-clean-libiberty:
17017 @[ -f ./libiberty/Makefile ] || exit 0; \
17018 r=`${PWD_COMMAND}`; export r; \
17019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17020 $(HOST_EXPORTS) \
17021 for flag in $(EXTRA_HOST_FLAGS) ; do \
17022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17023 done; \
17024 echo "Doing maintainer-clean in libiberty" ; \
17025 (cd $(HOST_SUBDIR)/libiberty && \
17026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17028 "RANLIB=$${RANLIB}" \
17029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17030 maintainer-clean) \
17031 || exit 1
17033 @endif libiberty
17037 .PHONY: configure-libtool maybe-configure-libtool
17038 maybe-configure-libtool:
17039 @if libtool
17040 maybe-configure-libtool: configure-libtool
17041 configure-libtool:
17042 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17043 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17044 r=`${PWD_COMMAND}`; export r; \
17045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17046 $(HOST_EXPORTS) \
17047 echo Configuring in $(HOST_SUBDIR)/libtool; \
17048 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17049 case $(srcdir) in \
17050 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17051 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17052 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17053 esac; \
17054 srcdiroption="--srcdir=$${topdir}/libtool"; \
17055 libsrcdir="$$s/libtool"; \
17056 $(SHELL) $${libsrcdir}/configure \
17057 $(HOST_CONFIGARGS) $${srcdiroption} \
17058 || exit 1
17059 @endif libtool
17065 .PHONY: all-libtool maybe-all-libtool
17066 maybe-all-libtool:
17067 @if libtool
17068 TARGET-libtool=all
17069 maybe-all-libtool: all-libtool
17070 all-libtool: configure-libtool
17071 @r=`${PWD_COMMAND}`; export r; \
17072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17073 $(HOST_EXPORTS) \
17074 (cd $(HOST_SUBDIR)/libtool && \
17075 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17076 @endif libtool
17081 .PHONY: check-libtool maybe-check-libtool
17082 maybe-check-libtool:
17083 @if libtool
17084 maybe-check-libtool: check-libtool
17086 check-libtool:
17087 @r=`${PWD_COMMAND}`; export r; \
17088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17089 $(HOST_EXPORTS) \
17090 (cd $(HOST_SUBDIR)/libtool && \
17091 $(MAKE) $(FLAGS_TO_PASS) check)
17093 @endif libtool
17095 .PHONY: install-libtool maybe-install-libtool
17096 maybe-install-libtool:
17097 @if libtool
17098 maybe-install-libtool: install-libtool
17100 install-libtool: installdirs
17101 @r=`${PWD_COMMAND}`; export r; \
17102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17103 $(HOST_EXPORTS) \
17104 (cd $(HOST_SUBDIR)/libtool && \
17105 $(MAKE) $(FLAGS_TO_PASS) install)
17107 @endif libtool
17109 # Other targets (info, dvi, etc.)
17111 .PHONY: maybe-info-libtool info-libtool
17112 maybe-info-libtool:
17113 @if libtool
17114 maybe-info-libtool: info-libtool
17116 info-libtool: \
17117 configure-libtool
17118 @[ -f ./libtool/Makefile ] || exit 0; \
17119 r=`${PWD_COMMAND}`; export r; \
17120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17121 $(HOST_EXPORTS) \
17122 for flag in $(EXTRA_HOST_FLAGS) ; do \
17123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17124 done; \
17125 echo "Doing info in libtool" ; \
17126 (cd $(HOST_SUBDIR)/libtool && \
17127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17129 "RANLIB=$${RANLIB}" \
17130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17131 info) \
17132 || exit 1
17134 @endif libtool
17136 .PHONY: maybe-dvi-libtool dvi-libtool
17137 maybe-dvi-libtool:
17138 @if libtool
17139 maybe-dvi-libtool: dvi-libtool
17141 dvi-libtool: \
17142 configure-libtool
17143 @[ -f ./libtool/Makefile ] || exit 0; \
17144 r=`${PWD_COMMAND}`; export r; \
17145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17146 $(HOST_EXPORTS) \
17147 for flag in $(EXTRA_HOST_FLAGS) ; do \
17148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17149 done; \
17150 echo "Doing dvi in libtool" ; \
17151 (cd $(HOST_SUBDIR)/libtool && \
17152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17154 "RANLIB=$${RANLIB}" \
17155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17156 dvi) \
17157 || exit 1
17159 @endif libtool
17161 .PHONY: maybe-html-libtool html-libtool
17162 maybe-html-libtool:
17163 @if libtool
17164 maybe-html-libtool: html-libtool
17166 html-libtool: \
17167 configure-libtool
17168 @[ -f ./libtool/Makefile ] || exit 0; \
17169 r=`${PWD_COMMAND}`; export r; \
17170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17171 $(HOST_EXPORTS) \
17172 for flag in $(EXTRA_HOST_FLAGS) ; do \
17173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17174 done; \
17175 echo "Doing html in libtool" ; \
17176 (cd $(HOST_SUBDIR)/libtool && \
17177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17179 "RANLIB=$${RANLIB}" \
17180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17181 html) \
17182 || exit 1
17184 @endif libtool
17186 .PHONY: maybe-TAGS-libtool TAGS-libtool
17187 maybe-TAGS-libtool:
17188 @if libtool
17189 maybe-TAGS-libtool: TAGS-libtool
17191 TAGS-libtool: \
17192 configure-libtool
17193 @[ -f ./libtool/Makefile ] || exit 0; \
17194 r=`${PWD_COMMAND}`; export r; \
17195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17196 $(HOST_EXPORTS) \
17197 for flag in $(EXTRA_HOST_FLAGS) ; do \
17198 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17199 done; \
17200 echo "Doing TAGS in libtool" ; \
17201 (cd $(HOST_SUBDIR)/libtool && \
17202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17204 "RANLIB=$${RANLIB}" \
17205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17206 TAGS) \
17207 || exit 1
17209 @endif libtool
17211 .PHONY: maybe-install-info-libtool install-info-libtool
17212 maybe-install-info-libtool:
17213 @if libtool
17214 maybe-install-info-libtool: install-info-libtool
17216 install-info-libtool: \
17217 configure-libtool \
17218 info-libtool
17219 @[ -f ./libtool/Makefile ] || exit 0; \
17220 r=`${PWD_COMMAND}`; export r; \
17221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17222 $(HOST_EXPORTS) \
17223 for flag in $(EXTRA_HOST_FLAGS) ; do \
17224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17225 done; \
17226 echo "Doing install-info in libtool" ; \
17227 (cd $(HOST_SUBDIR)/libtool && \
17228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17230 "RANLIB=$${RANLIB}" \
17231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17232 install-info) \
17233 || exit 1
17235 @endif libtool
17237 .PHONY: maybe-installcheck-libtool installcheck-libtool
17238 maybe-installcheck-libtool:
17239 @if libtool
17240 maybe-installcheck-libtool: installcheck-libtool
17242 installcheck-libtool: \
17243 configure-libtool
17244 @[ -f ./libtool/Makefile ] || exit 0; \
17245 r=`${PWD_COMMAND}`; export r; \
17246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17247 $(HOST_EXPORTS) \
17248 for flag in $(EXTRA_HOST_FLAGS) ; do \
17249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17250 done; \
17251 echo "Doing installcheck in libtool" ; \
17252 (cd $(HOST_SUBDIR)/libtool && \
17253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17255 "RANLIB=$${RANLIB}" \
17256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17257 installcheck) \
17258 || exit 1
17260 @endif libtool
17262 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17263 maybe-mostlyclean-libtool:
17264 @if libtool
17265 maybe-mostlyclean-libtool: mostlyclean-libtool
17267 mostlyclean-libtool:
17268 @[ -f ./libtool/Makefile ] || exit 0; \
17269 r=`${PWD_COMMAND}`; export r; \
17270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17271 $(HOST_EXPORTS) \
17272 for flag in $(EXTRA_HOST_FLAGS) ; do \
17273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17274 done; \
17275 echo "Doing mostlyclean in libtool" ; \
17276 (cd $(HOST_SUBDIR)/libtool && \
17277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17279 "RANLIB=$${RANLIB}" \
17280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17281 mostlyclean) \
17282 || exit 1
17284 @endif libtool
17286 .PHONY: maybe-clean-libtool clean-libtool
17287 maybe-clean-libtool:
17288 @if libtool
17289 maybe-clean-libtool: clean-libtool
17291 clean-libtool:
17292 @[ -f ./libtool/Makefile ] || exit 0; \
17293 r=`${PWD_COMMAND}`; export r; \
17294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17295 $(HOST_EXPORTS) \
17296 for flag in $(EXTRA_HOST_FLAGS) ; do \
17297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17298 done; \
17299 echo "Doing clean in libtool" ; \
17300 (cd $(HOST_SUBDIR)/libtool && \
17301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17303 "RANLIB=$${RANLIB}" \
17304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17305 clean) \
17306 || exit 1
17308 @endif libtool
17310 .PHONY: maybe-distclean-libtool distclean-libtool
17311 maybe-distclean-libtool:
17312 @if libtool
17313 maybe-distclean-libtool: distclean-libtool
17315 distclean-libtool:
17316 @[ -f ./libtool/Makefile ] || exit 0; \
17317 r=`${PWD_COMMAND}`; export r; \
17318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17319 $(HOST_EXPORTS) \
17320 for flag in $(EXTRA_HOST_FLAGS) ; do \
17321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17322 done; \
17323 echo "Doing distclean in libtool" ; \
17324 (cd $(HOST_SUBDIR)/libtool && \
17325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17327 "RANLIB=$${RANLIB}" \
17328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17329 distclean) \
17330 || exit 1
17332 @endif libtool
17334 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
17335 maybe-maintainer-clean-libtool:
17336 @if libtool
17337 maybe-maintainer-clean-libtool: maintainer-clean-libtool
17339 maintainer-clean-libtool:
17340 @[ -f ./libtool/Makefile ] || exit 0; \
17341 r=`${PWD_COMMAND}`; export r; \
17342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17343 $(HOST_EXPORTS) \
17344 for flag in $(EXTRA_HOST_FLAGS) ; do \
17345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17346 done; \
17347 echo "Doing maintainer-clean in libtool" ; \
17348 (cd $(HOST_SUBDIR)/libtool && \
17349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17351 "RANLIB=$${RANLIB}" \
17352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17353 maintainer-clean) \
17354 || exit 1
17356 @endif libtool
17360 .PHONY: configure-m4 maybe-configure-m4
17361 maybe-configure-m4:
17362 @if m4
17363 maybe-configure-m4: configure-m4
17364 configure-m4:
17365 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
17366 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
17367 r=`${PWD_COMMAND}`; export r; \
17368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17369 $(HOST_EXPORTS) \
17370 echo Configuring in $(HOST_SUBDIR)/m4; \
17371 cd "$(HOST_SUBDIR)/m4" || exit 1; \
17372 case $(srcdir) in \
17373 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17374 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
17375 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17376 esac; \
17377 srcdiroption="--srcdir=$${topdir}/m4"; \
17378 libsrcdir="$$s/m4"; \
17379 $(SHELL) $${libsrcdir}/configure \
17380 $(HOST_CONFIGARGS) $${srcdiroption} \
17381 || exit 1
17382 @endif m4
17388 .PHONY: all-m4 maybe-all-m4
17389 maybe-all-m4:
17390 @if m4
17391 TARGET-m4=all
17392 maybe-all-m4: all-m4
17393 all-m4: configure-m4
17394 @r=`${PWD_COMMAND}`; export r; \
17395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17396 $(HOST_EXPORTS) \
17397 (cd $(HOST_SUBDIR)/m4 && \
17398 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
17399 @endif m4
17404 .PHONY: check-m4 maybe-check-m4
17405 maybe-check-m4:
17406 @if m4
17407 maybe-check-m4: check-m4
17409 check-m4:
17410 @r=`${PWD_COMMAND}`; export r; \
17411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17412 $(HOST_EXPORTS) \
17413 (cd $(HOST_SUBDIR)/m4 && \
17414 $(MAKE) $(FLAGS_TO_PASS) check)
17416 @endif m4
17418 .PHONY: install-m4 maybe-install-m4
17419 maybe-install-m4:
17420 @if m4
17421 maybe-install-m4: install-m4
17423 install-m4: installdirs
17424 @r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 $(HOST_EXPORTS) \
17427 (cd $(HOST_SUBDIR)/m4 && \
17428 $(MAKE) $(FLAGS_TO_PASS) install)
17430 @endif m4
17432 # Other targets (info, dvi, etc.)
17434 .PHONY: maybe-info-m4 info-m4
17435 maybe-info-m4:
17436 @if m4
17437 maybe-info-m4: info-m4
17439 info-m4: \
17440 configure-m4
17441 @[ -f ./m4/Makefile ] || exit 0; \
17442 r=`${PWD_COMMAND}`; export r; \
17443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17444 $(HOST_EXPORTS) \
17445 for flag in $(EXTRA_HOST_FLAGS) ; do \
17446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17447 done; \
17448 echo "Doing info in m4" ; \
17449 (cd $(HOST_SUBDIR)/m4 && \
17450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17452 "RANLIB=$${RANLIB}" \
17453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17454 info) \
17455 || exit 1
17457 @endif m4
17459 .PHONY: maybe-dvi-m4 dvi-m4
17460 maybe-dvi-m4:
17461 @if m4
17462 maybe-dvi-m4: dvi-m4
17464 dvi-m4: \
17465 configure-m4
17466 @[ -f ./m4/Makefile ] || exit 0; \
17467 r=`${PWD_COMMAND}`; export r; \
17468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17469 $(HOST_EXPORTS) \
17470 for flag in $(EXTRA_HOST_FLAGS) ; do \
17471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17472 done; \
17473 echo "Doing dvi in m4" ; \
17474 (cd $(HOST_SUBDIR)/m4 && \
17475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17477 "RANLIB=$${RANLIB}" \
17478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17479 dvi) \
17480 || exit 1
17482 @endif m4
17484 .PHONY: maybe-html-m4 html-m4
17485 maybe-html-m4:
17486 @if m4
17487 maybe-html-m4: html-m4
17489 html-m4: \
17490 configure-m4
17491 @[ -f ./m4/Makefile ] || exit 0; \
17492 r=`${PWD_COMMAND}`; export r; \
17493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17494 $(HOST_EXPORTS) \
17495 for flag in $(EXTRA_HOST_FLAGS) ; do \
17496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17497 done; \
17498 echo "Doing html in m4" ; \
17499 (cd $(HOST_SUBDIR)/m4 && \
17500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17502 "RANLIB=$${RANLIB}" \
17503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17504 html) \
17505 || exit 1
17507 @endif m4
17509 .PHONY: maybe-TAGS-m4 TAGS-m4
17510 maybe-TAGS-m4:
17511 @if m4
17512 maybe-TAGS-m4: TAGS-m4
17514 TAGS-m4: \
17515 configure-m4
17516 @[ -f ./m4/Makefile ] || exit 0; \
17517 r=`${PWD_COMMAND}`; export r; \
17518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17519 $(HOST_EXPORTS) \
17520 for flag in $(EXTRA_HOST_FLAGS) ; do \
17521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17522 done; \
17523 echo "Doing TAGS in m4" ; \
17524 (cd $(HOST_SUBDIR)/m4 && \
17525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17527 "RANLIB=$${RANLIB}" \
17528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17529 TAGS) \
17530 || exit 1
17532 @endif m4
17534 .PHONY: maybe-install-info-m4 install-info-m4
17535 maybe-install-info-m4:
17536 @if m4
17537 maybe-install-info-m4: install-info-m4
17539 install-info-m4: \
17540 configure-m4 \
17541 info-m4
17542 @[ -f ./m4/Makefile ] || exit 0; \
17543 r=`${PWD_COMMAND}`; export r; \
17544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17545 $(HOST_EXPORTS) \
17546 for flag in $(EXTRA_HOST_FLAGS) ; do \
17547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17548 done; \
17549 echo "Doing install-info in m4" ; \
17550 (cd $(HOST_SUBDIR)/m4 && \
17551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17553 "RANLIB=$${RANLIB}" \
17554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17555 install-info) \
17556 || exit 1
17558 @endif m4
17560 .PHONY: maybe-installcheck-m4 installcheck-m4
17561 maybe-installcheck-m4:
17562 @if m4
17563 maybe-installcheck-m4: installcheck-m4
17565 installcheck-m4: \
17566 configure-m4
17567 @[ -f ./m4/Makefile ] || exit 0; \
17568 r=`${PWD_COMMAND}`; export r; \
17569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17570 $(HOST_EXPORTS) \
17571 for flag in $(EXTRA_HOST_FLAGS) ; do \
17572 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17573 done; \
17574 echo "Doing installcheck in m4" ; \
17575 (cd $(HOST_SUBDIR)/m4 && \
17576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17578 "RANLIB=$${RANLIB}" \
17579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17580 installcheck) \
17581 || exit 1
17583 @endif m4
17585 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
17586 maybe-mostlyclean-m4:
17587 @if m4
17588 maybe-mostlyclean-m4: mostlyclean-m4
17590 mostlyclean-m4:
17591 @[ -f ./m4/Makefile ] || exit 0; \
17592 r=`${PWD_COMMAND}`; export r; \
17593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17594 $(HOST_EXPORTS) \
17595 for flag in $(EXTRA_HOST_FLAGS) ; do \
17596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17597 done; \
17598 echo "Doing mostlyclean in m4" ; \
17599 (cd $(HOST_SUBDIR)/m4 && \
17600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17602 "RANLIB=$${RANLIB}" \
17603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17604 mostlyclean) \
17605 || exit 1
17607 @endif m4
17609 .PHONY: maybe-clean-m4 clean-m4
17610 maybe-clean-m4:
17611 @if m4
17612 maybe-clean-m4: clean-m4
17614 clean-m4:
17615 @[ -f ./m4/Makefile ] || exit 0; \
17616 r=`${PWD_COMMAND}`; export r; \
17617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17618 $(HOST_EXPORTS) \
17619 for flag in $(EXTRA_HOST_FLAGS) ; do \
17620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17621 done; \
17622 echo "Doing clean in m4" ; \
17623 (cd $(HOST_SUBDIR)/m4 && \
17624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17626 "RANLIB=$${RANLIB}" \
17627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17628 clean) \
17629 || exit 1
17631 @endif m4
17633 .PHONY: maybe-distclean-m4 distclean-m4
17634 maybe-distclean-m4:
17635 @if m4
17636 maybe-distclean-m4: distclean-m4
17638 distclean-m4:
17639 @[ -f ./m4/Makefile ] || exit 0; \
17640 r=`${PWD_COMMAND}`; export r; \
17641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17642 $(HOST_EXPORTS) \
17643 for flag in $(EXTRA_HOST_FLAGS) ; do \
17644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17645 done; \
17646 echo "Doing distclean in m4" ; \
17647 (cd $(HOST_SUBDIR)/m4 && \
17648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17650 "RANLIB=$${RANLIB}" \
17651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17652 distclean) \
17653 || exit 1
17655 @endif m4
17657 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
17658 maybe-maintainer-clean-m4:
17659 @if m4
17660 maybe-maintainer-clean-m4: maintainer-clean-m4
17662 maintainer-clean-m4:
17663 @[ -f ./m4/Makefile ] || exit 0; \
17664 r=`${PWD_COMMAND}`; export r; \
17665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17666 $(HOST_EXPORTS) \
17667 for flag in $(EXTRA_HOST_FLAGS) ; do \
17668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17669 done; \
17670 echo "Doing maintainer-clean in m4" ; \
17671 (cd $(HOST_SUBDIR)/m4 && \
17672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17674 "RANLIB=$${RANLIB}" \
17675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17676 maintainer-clean) \
17677 || exit 1
17679 @endif m4
17683 .PHONY: configure-make maybe-configure-make
17684 maybe-configure-make:
17685 @if make
17686 maybe-configure-make: configure-make
17687 configure-make:
17688 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
17689 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
17690 r=`${PWD_COMMAND}`; export r; \
17691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17692 $(HOST_EXPORTS) \
17693 echo Configuring in $(HOST_SUBDIR)/make; \
17694 cd "$(HOST_SUBDIR)/make" || exit 1; \
17695 case $(srcdir) in \
17696 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17697 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
17698 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17699 esac; \
17700 srcdiroption="--srcdir=$${topdir}/make"; \
17701 libsrcdir="$$s/make"; \
17702 $(SHELL) $${libsrcdir}/configure \
17703 $(HOST_CONFIGARGS) $${srcdiroption} \
17704 || exit 1
17705 @endif make
17711 .PHONY: all-make maybe-all-make
17712 maybe-all-make:
17713 @if make
17714 TARGET-make=all
17715 maybe-all-make: all-make
17716 all-make: configure-make
17717 @r=`${PWD_COMMAND}`; export r; \
17718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17719 $(HOST_EXPORTS) \
17720 (cd $(HOST_SUBDIR)/make && \
17721 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
17722 @endif make
17727 .PHONY: check-make maybe-check-make
17728 maybe-check-make:
17729 @if make
17730 maybe-check-make: check-make
17732 check-make:
17733 @r=`${PWD_COMMAND}`; export r; \
17734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17735 $(HOST_EXPORTS) \
17736 (cd $(HOST_SUBDIR)/make && \
17737 $(MAKE) $(FLAGS_TO_PASS) check)
17739 @endif make
17741 .PHONY: install-make maybe-install-make
17742 maybe-install-make:
17743 @if make
17744 maybe-install-make: install-make
17746 install-make: installdirs
17747 @r=`${PWD_COMMAND}`; export r; \
17748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17749 $(HOST_EXPORTS) \
17750 (cd $(HOST_SUBDIR)/make && \
17751 $(MAKE) $(FLAGS_TO_PASS) install)
17753 @endif make
17755 # Other targets (info, dvi, etc.)
17757 .PHONY: maybe-info-make info-make
17758 maybe-info-make:
17759 @if make
17760 maybe-info-make: info-make
17762 info-make: \
17763 configure-make
17764 @[ -f ./make/Makefile ] || exit 0; \
17765 r=`${PWD_COMMAND}`; export r; \
17766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17767 $(HOST_EXPORTS) \
17768 for flag in $(EXTRA_HOST_FLAGS) ; do \
17769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17770 done; \
17771 echo "Doing info in make" ; \
17772 (cd $(HOST_SUBDIR)/make && \
17773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17775 "RANLIB=$${RANLIB}" \
17776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17777 info) \
17778 || exit 1
17780 @endif make
17782 .PHONY: maybe-dvi-make dvi-make
17783 maybe-dvi-make:
17784 @if make
17785 maybe-dvi-make: dvi-make
17787 dvi-make: \
17788 configure-make
17789 @[ -f ./make/Makefile ] || exit 0; \
17790 r=`${PWD_COMMAND}`; export r; \
17791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17792 $(HOST_EXPORTS) \
17793 for flag in $(EXTRA_HOST_FLAGS) ; do \
17794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17795 done; \
17796 echo "Doing dvi in make" ; \
17797 (cd $(HOST_SUBDIR)/make && \
17798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17800 "RANLIB=$${RANLIB}" \
17801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17802 dvi) \
17803 || exit 1
17805 @endif make
17807 .PHONY: maybe-html-make html-make
17808 maybe-html-make:
17809 @if make
17810 maybe-html-make: html-make
17812 html-make: \
17813 configure-make
17814 @[ -f ./make/Makefile ] || exit 0; \
17815 r=`${PWD_COMMAND}`; export r; \
17816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17817 $(HOST_EXPORTS) \
17818 for flag in $(EXTRA_HOST_FLAGS) ; do \
17819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17820 done; \
17821 echo "Doing html in make" ; \
17822 (cd $(HOST_SUBDIR)/make && \
17823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17825 "RANLIB=$${RANLIB}" \
17826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17827 html) \
17828 || exit 1
17830 @endif make
17832 .PHONY: maybe-TAGS-make TAGS-make
17833 maybe-TAGS-make:
17834 @if make
17835 maybe-TAGS-make: TAGS-make
17837 TAGS-make: \
17838 configure-make
17839 @[ -f ./make/Makefile ] || exit 0; \
17840 r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842 $(HOST_EXPORTS) \
17843 for flag in $(EXTRA_HOST_FLAGS) ; do \
17844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17845 done; \
17846 echo "Doing TAGS in make" ; \
17847 (cd $(HOST_SUBDIR)/make && \
17848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17850 "RANLIB=$${RANLIB}" \
17851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17852 TAGS) \
17853 || exit 1
17855 @endif make
17857 .PHONY: maybe-install-info-make install-info-make
17858 maybe-install-info-make:
17859 @if make
17860 maybe-install-info-make: install-info-make
17862 install-info-make: \
17863 configure-make \
17864 info-make
17865 @[ -f ./make/Makefile ] || exit 0; \
17866 r=`${PWD_COMMAND}`; export r; \
17867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17868 $(HOST_EXPORTS) \
17869 for flag in $(EXTRA_HOST_FLAGS) ; do \
17870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17871 done; \
17872 echo "Doing install-info in make" ; \
17873 (cd $(HOST_SUBDIR)/make && \
17874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17876 "RANLIB=$${RANLIB}" \
17877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17878 install-info) \
17879 || exit 1
17881 @endif make
17883 .PHONY: maybe-installcheck-make installcheck-make
17884 maybe-installcheck-make:
17885 @if make
17886 maybe-installcheck-make: installcheck-make
17888 installcheck-make: \
17889 configure-make
17890 @[ -f ./make/Makefile ] || exit 0; \
17891 r=`${PWD_COMMAND}`; export r; \
17892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17893 $(HOST_EXPORTS) \
17894 for flag in $(EXTRA_HOST_FLAGS) ; do \
17895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17896 done; \
17897 echo "Doing installcheck in make" ; \
17898 (cd $(HOST_SUBDIR)/make && \
17899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17901 "RANLIB=$${RANLIB}" \
17902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17903 installcheck) \
17904 || exit 1
17906 @endif make
17908 .PHONY: maybe-mostlyclean-make mostlyclean-make
17909 maybe-mostlyclean-make:
17910 @if make
17911 maybe-mostlyclean-make: mostlyclean-make
17913 mostlyclean-make:
17914 @[ -f ./make/Makefile ] || exit 0; \
17915 r=`${PWD_COMMAND}`; export r; \
17916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17917 $(HOST_EXPORTS) \
17918 for flag in $(EXTRA_HOST_FLAGS) ; do \
17919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17920 done; \
17921 echo "Doing mostlyclean in make" ; \
17922 (cd $(HOST_SUBDIR)/make && \
17923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17925 "RANLIB=$${RANLIB}" \
17926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17927 mostlyclean) \
17928 || exit 1
17930 @endif make
17932 .PHONY: maybe-clean-make clean-make
17933 maybe-clean-make:
17934 @if make
17935 maybe-clean-make: clean-make
17937 clean-make:
17938 @[ -f ./make/Makefile ] || exit 0; \
17939 r=`${PWD_COMMAND}`; export r; \
17940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17941 $(HOST_EXPORTS) \
17942 for flag in $(EXTRA_HOST_FLAGS) ; do \
17943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17944 done; \
17945 echo "Doing clean in make" ; \
17946 (cd $(HOST_SUBDIR)/make && \
17947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17949 "RANLIB=$${RANLIB}" \
17950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17951 clean) \
17952 || exit 1
17954 @endif make
17956 .PHONY: maybe-distclean-make distclean-make
17957 maybe-distclean-make:
17958 @if make
17959 maybe-distclean-make: distclean-make
17961 distclean-make:
17962 @[ -f ./make/Makefile ] || exit 0; \
17963 r=`${PWD_COMMAND}`; export r; \
17964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17965 $(HOST_EXPORTS) \
17966 for flag in $(EXTRA_HOST_FLAGS) ; do \
17967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17968 done; \
17969 echo "Doing distclean in make" ; \
17970 (cd $(HOST_SUBDIR)/make && \
17971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17973 "RANLIB=$${RANLIB}" \
17974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17975 distclean) \
17976 || exit 1
17978 @endif make
17980 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
17981 maybe-maintainer-clean-make:
17982 @if make
17983 maybe-maintainer-clean-make: maintainer-clean-make
17985 maintainer-clean-make:
17986 @[ -f ./make/Makefile ] || exit 0; \
17987 r=`${PWD_COMMAND}`; export r; \
17988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17989 $(HOST_EXPORTS) \
17990 for flag in $(EXTRA_HOST_FLAGS) ; do \
17991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17992 done; \
17993 echo "Doing maintainer-clean in make" ; \
17994 (cd $(HOST_SUBDIR)/make && \
17995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17997 "RANLIB=$${RANLIB}" \
17998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17999 maintainer-clean) \
18000 || exit 1
18002 @endif make
18006 .PHONY: configure-mmalloc maybe-configure-mmalloc
18007 maybe-configure-mmalloc:
18008 @if mmalloc
18009 maybe-configure-mmalloc: configure-mmalloc
18010 configure-mmalloc:
18011 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18012 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18013 r=`${PWD_COMMAND}`; export r; \
18014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18015 $(HOST_EXPORTS) \
18016 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18017 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18018 case $(srcdir) in \
18019 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18020 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18021 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18022 esac; \
18023 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18024 libsrcdir="$$s/mmalloc"; \
18025 $(SHELL) $${libsrcdir}/configure \
18026 $(HOST_CONFIGARGS) $${srcdiroption} \
18027 || exit 1
18028 @endif mmalloc
18034 .PHONY: all-mmalloc maybe-all-mmalloc
18035 maybe-all-mmalloc:
18036 @if mmalloc
18037 TARGET-mmalloc=all
18038 maybe-all-mmalloc: all-mmalloc
18039 all-mmalloc: configure-mmalloc
18040 @r=`${PWD_COMMAND}`; export r; \
18041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18042 $(HOST_EXPORTS) \
18043 (cd $(HOST_SUBDIR)/mmalloc && \
18044 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18045 @endif mmalloc
18050 .PHONY: check-mmalloc maybe-check-mmalloc
18051 maybe-check-mmalloc:
18052 @if mmalloc
18053 maybe-check-mmalloc: check-mmalloc
18055 check-mmalloc:
18057 @endif mmalloc
18059 .PHONY: install-mmalloc maybe-install-mmalloc
18060 maybe-install-mmalloc:
18061 @if mmalloc
18062 maybe-install-mmalloc: install-mmalloc
18064 install-mmalloc: installdirs
18065 @r=`${PWD_COMMAND}`; export r; \
18066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18067 $(HOST_EXPORTS) \
18068 (cd $(HOST_SUBDIR)/mmalloc && \
18069 $(MAKE) $(FLAGS_TO_PASS) install)
18071 @endif mmalloc
18073 # Other targets (info, dvi, etc.)
18075 .PHONY: maybe-info-mmalloc info-mmalloc
18076 maybe-info-mmalloc:
18077 @if mmalloc
18078 maybe-info-mmalloc: info-mmalloc
18080 info-mmalloc: \
18081 configure-mmalloc
18082 @[ -f ./mmalloc/Makefile ] || exit 0; \
18083 r=`${PWD_COMMAND}`; export r; \
18084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18085 $(HOST_EXPORTS) \
18086 for flag in $(EXTRA_HOST_FLAGS) ; do \
18087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18088 done; \
18089 echo "Doing info in mmalloc" ; \
18090 (cd $(HOST_SUBDIR)/mmalloc && \
18091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18093 "RANLIB=$${RANLIB}" \
18094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18095 info) \
18096 || exit 1
18098 @endif mmalloc
18100 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18101 maybe-dvi-mmalloc:
18102 @if mmalloc
18103 maybe-dvi-mmalloc: dvi-mmalloc
18105 dvi-mmalloc: \
18106 configure-mmalloc
18107 @[ -f ./mmalloc/Makefile ] || exit 0; \
18108 r=`${PWD_COMMAND}`; export r; \
18109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18110 $(HOST_EXPORTS) \
18111 for flag in $(EXTRA_HOST_FLAGS) ; do \
18112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18113 done; \
18114 echo "Doing dvi in mmalloc" ; \
18115 (cd $(HOST_SUBDIR)/mmalloc && \
18116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18118 "RANLIB=$${RANLIB}" \
18119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18120 dvi) \
18121 || exit 1
18123 @endif mmalloc
18125 .PHONY: maybe-html-mmalloc html-mmalloc
18126 maybe-html-mmalloc:
18127 @if mmalloc
18128 maybe-html-mmalloc: html-mmalloc
18130 html-mmalloc: \
18131 configure-mmalloc
18132 @[ -f ./mmalloc/Makefile ] || exit 0; \
18133 r=`${PWD_COMMAND}`; export r; \
18134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18135 $(HOST_EXPORTS) \
18136 for flag in $(EXTRA_HOST_FLAGS) ; do \
18137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18138 done; \
18139 echo "Doing html in mmalloc" ; \
18140 (cd $(HOST_SUBDIR)/mmalloc && \
18141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18143 "RANLIB=$${RANLIB}" \
18144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18145 html) \
18146 || exit 1
18148 @endif mmalloc
18150 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18151 maybe-TAGS-mmalloc:
18152 @if mmalloc
18153 maybe-TAGS-mmalloc: TAGS-mmalloc
18155 TAGS-mmalloc: \
18156 configure-mmalloc
18157 @[ -f ./mmalloc/Makefile ] || exit 0; \
18158 r=`${PWD_COMMAND}`; export r; \
18159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18160 $(HOST_EXPORTS) \
18161 for flag in $(EXTRA_HOST_FLAGS) ; do \
18162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18163 done; \
18164 echo "Doing TAGS in mmalloc" ; \
18165 (cd $(HOST_SUBDIR)/mmalloc && \
18166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18168 "RANLIB=$${RANLIB}" \
18169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18170 TAGS) \
18171 || exit 1
18173 @endif mmalloc
18175 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18176 maybe-install-info-mmalloc:
18177 @if mmalloc
18178 maybe-install-info-mmalloc: install-info-mmalloc
18180 install-info-mmalloc: \
18181 configure-mmalloc \
18182 info-mmalloc
18183 @[ -f ./mmalloc/Makefile ] || exit 0; \
18184 r=`${PWD_COMMAND}`; export r; \
18185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18186 $(HOST_EXPORTS) \
18187 for flag in $(EXTRA_HOST_FLAGS) ; do \
18188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18189 done; \
18190 echo "Doing install-info in mmalloc" ; \
18191 (cd $(HOST_SUBDIR)/mmalloc && \
18192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18194 "RANLIB=$${RANLIB}" \
18195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18196 install-info) \
18197 || exit 1
18199 @endif mmalloc
18201 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18202 maybe-installcheck-mmalloc:
18203 @if mmalloc
18204 maybe-installcheck-mmalloc: installcheck-mmalloc
18206 installcheck-mmalloc: \
18207 configure-mmalloc
18208 @[ -f ./mmalloc/Makefile ] || exit 0; \
18209 r=`${PWD_COMMAND}`; export r; \
18210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18211 $(HOST_EXPORTS) \
18212 for flag in $(EXTRA_HOST_FLAGS) ; do \
18213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18214 done; \
18215 echo "Doing installcheck in mmalloc" ; \
18216 (cd $(HOST_SUBDIR)/mmalloc && \
18217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18219 "RANLIB=$${RANLIB}" \
18220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18221 installcheck) \
18222 || exit 1
18224 @endif mmalloc
18226 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18227 maybe-mostlyclean-mmalloc:
18228 @if mmalloc
18229 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18231 mostlyclean-mmalloc:
18232 @[ -f ./mmalloc/Makefile ] || exit 0; \
18233 r=`${PWD_COMMAND}`; export r; \
18234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18235 $(HOST_EXPORTS) \
18236 for flag in $(EXTRA_HOST_FLAGS) ; do \
18237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18238 done; \
18239 echo "Doing mostlyclean in mmalloc" ; \
18240 (cd $(HOST_SUBDIR)/mmalloc && \
18241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18243 "RANLIB=$${RANLIB}" \
18244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18245 mostlyclean) \
18246 || exit 1
18248 @endif mmalloc
18250 .PHONY: maybe-clean-mmalloc clean-mmalloc
18251 maybe-clean-mmalloc:
18252 @if mmalloc
18253 maybe-clean-mmalloc: clean-mmalloc
18255 clean-mmalloc:
18256 @[ -f ./mmalloc/Makefile ] || exit 0; \
18257 r=`${PWD_COMMAND}`; export r; \
18258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18259 $(HOST_EXPORTS) \
18260 for flag in $(EXTRA_HOST_FLAGS) ; do \
18261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18262 done; \
18263 echo "Doing clean in mmalloc" ; \
18264 (cd $(HOST_SUBDIR)/mmalloc && \
18265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18267 "RANLIB=$${RANLIB}" \
18268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18269 clean) \
18270 || exit 1
18272 @endif mmalloc
18274 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
18275 maybe-distclean-mmalloc:
18276 @if mmalloc
18277 maybe-distclean-mmalloc: distclean-mmalloc
18279 distclean-mmalloc:
18280 @[ -f ./mmalloc/Makefile ] || exit 0; \
18281 r=`${PWD_COMMAND}`; export r; \
18282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18283 $(HOST_EXPORTS) \
18284 for flag in $(EXTRA_HOST_FLAGS) ; do \
18285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18286 done; \
18287 echo "Doing distclean in mmalloc" ; \
18288 (cd $(HOST_SUBDIR)/mmalloc && \
18289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18291 "RANLIB=$${RANLIB}" \
18292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18293 distclean) \
18294 || exit 1
18296 @endif mmalloc
18298 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
18299 maybe-maintainer-clean-mmalloc:
18300 @if mmalloc
18301 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
18303 maintainer-clean-mmalloc:
18304 @[ -f ./mmalloc/Makefile ] || exit 0; \
18305 r=`${PWD_COMMAND}`; export r; \
18306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18307 $(HOST_EXPORTS) \
18308 for flag in $(EXTRA_HOST_FLAGS) ; do \
18309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18310 done; \
18311 echo "Doing maintainer-clean in mmalloc" ; \
18312 (cd $(HOST_SUBDIR)/mmalloc && \
18313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18315 "RANLIB=$${RANLIB}" \
18316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18317 maintainer-clean) \
18318 || exit 1
18320 @endif mmalloc
18324 .PHONY: configure-patch maybe-configure-patch
18325 maybe-configure-patch:
18326 @if patch
18327 maybe-configure-patch: configure-patch
18328 configure-patch:
18329 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
18330 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
18331 r=`${PWD_COMMAND}`; export r; \
18332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18333 $(HOST_EXPORTS) \
18334 echo Configuring in $(HOST_SUBDIR)/patch; \
18335 cd "$(HOST_SUBDIR)/patch" || exit 1; \
18336 case $(srcdir) in \
18337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18338 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
18339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18340 esac; \
18341 srcdiroption="--srcdir=$${topdir}/patch"; \
18342 libsrcdir="$$s/patch"; \
18343 $(SHELL) $${libsrcdir}/configure \
18344 $(HOST_CONFIGARGS) $${srcdiroption} \
18345 || exit 1
18346 @endif patch
18352 .PHONY: all-patch maybe-all-patch
18353 maybe-all-patch:
18354 @if patch
18355 TARGET-patch=all
18356 maybe-all-patch: all-patch
18357 all-patch: configure-patch
18358 @r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(HOST_EXPORTS) \
18361 (cd $(HOST_SUBDIR)/patch && \
18362 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
18363 @endif patch
18368 .PHONY: check-patch maybe-check-patch
18369 maybe-check-patch:
18370 @if patch
18371 maybe-check-patch: check-patch
18373 check-patch:
18374 @r=`${PWD_COMMAND}`; export r; \
18375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18376 $(HOST_EXPORTS) \
18377 (cd $(HOST_SUBDIR)/patch && \
18378 $(MAKE) $(FLAGS_TO_PASS) check)
18380 @endif patch
18382 .PHONY: install-patch maybe-install-patch
18383 maybe-install-patch:
18384 @if patch
18385 maybe-install-patch: install-patch
18387 install-patch: installdirs
18388 @r=`${PWD_COMMAND}`; export r; \
18389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18390 $(HOST_EXPORTS) \
18391 (cd $(HOST_SUBDIR)/patch && \
18392 $(MAKE) $(FLAGS_TO_PASS) install)
18394 @endif patch
18396 # Other targets (info, dvi, etc.)
18398 .PHONY: maybe-info-patch info-patch
18399 maybe-info-patch:
18400 @if patch
18401 maybe-info-patch: info-patch
18403 info-patch: \
18404 configure-patch
18405 @[ -f ./patch/Makefile ] || exit 0; \
18406 r=`${PWD_COMMAND}`; export r; \
18407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18408 $(HOST_EXPORTS) \
18409 for flag in $(EXTRA_HOST_FLAGS) ; do \
18410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18411 done; \
18412 echo "Doing info in patch" ; \
18413 (cd $(HOST_SUBDIR)/patch && \
18414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18416 "RANLIB=$${RANLIB}" \
18417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18418 info) \
18419 || exit 1
18421 @endif patch
18423 .PHONY: maybe-dvi-patch dvi-patch
18424 maybe-dvi-patch:
18425 @if patch
18426 maybe-dvi-patch: dvi-patch
18428 dvi-patch: \
18429 configure-patch
18430 @[ -f ./patch/Makefile ] || exit 0; \
18431 r=`${PWD_COMMAND}`; export r; \
18432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18433 $(HOST_EXPORTS) \
18434 for flag in $(EXTRA_HOST_FLAGS) ; do \
18435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18436 done; \
18437 echo "Doing dvi in patch" ; \
18438 (cd $(HOST_SUBDIR)/patch && \
18439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18441 "RANLIB=$${RANLIB}" \
18442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18443 dvi) \
18444 || exit 1
18446 @endif patch
18448 .PHONY: maybe-html-patch html-patch
18449 maybe-html-patch:
18450 @if patch
18451 maybe-html-patch: html-patch
18453 html-patch: \
18454 configure-patch
18455 @[ -f ./patch/Makefile ] || exit 0; \
18456 r=`${PWD_COMMAND}`; export r; \
18457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18458 $(HOST_EXPORTS) \
18459 for flag in $(EXTRA_HOST_FLAGS) ; do \
18460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18461 done; \
18462 echo "Doing html in patch" ; \
18463 (cd $(HOST_SUBDIR)/patch && \
18464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18466 "RANLIB=$${RANLIB}" \
18467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18468 html) \
18469 || exit 1
18471 @endif patch
18473 .PHONY: maybe-TAGS-patch TAGS-patch
18474 maybe-TAGS-patch:
18475 @if patch
18476 maybe-TAGS-patch: TAGS-patch
18478 TAGS-patch: \
18479 configure-patch
18480 @[ -f ./patch/Makefile ] || exit 0; \
18481 r=`${PWD_COMMAND}`; export r; \
18482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18483 $(HOST_EXPORTS) \
18484 for flag in $(EXTRA_HOST_FLAGS) ; do \
18485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18486 done; \
18487 echo "Doing TAGS in patch" ; \
18488 (cd $(HOST_SUBDIR)/patch && \
18489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18491 "RANLIB=$${RANLIB}" \
18492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18493 TAGS) \
18494 || exit 1
18496 @endif patch
18498 .PHONY: maybe-install-info-patch install-info-patch
18499 maybe-install-info-patch:
18500 @if patch
18501 maybe-install-info-patch: install-info-patch
18503 install-info-patch: \
18504 configure-patch \
18505 info-patch
18506 @[ -f ./patch/Makefile ] || exit 0; \
18507 r=`${PWD_COMMAND}`; export r; \
18508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18509 $(HOST_EXPORTS) \
18510 for flag in $(EXTRA_HOST_FLAGS) ; do \
18511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18512 done; \
18513 echo "Doing install-info in patch" ; \
18514 (cd $(HOST_SUBDIR)/patch && \
18515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18517 "RANLIB=$${RANLIB}" \
18518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18519 install-info) \
18520 || exit 1
18522 @endif patch
18524 .PHONY: maybe-installcheck-patch installcheck-patch
18525 maybe-installcheck-patch:
18526 @if patch
18527 maybe-installcheck-patch: installcheck-patch
18529 installcheck-patch: \
18530 configure-patch
18531 @[ -f ./patch/Makefile ] || exit 0; \
18532 r=`${PWD_COMMAND}`; export r; \
18533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18534 $(HOST_EXPORTS) \
18535 for flag in $(EXTRA_HOST_FLAGS) ; do \
18536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18537 done; \
18538 echo "Doing installcheck in patch" ; \
18539 (cd $(HOST_SUBDIR)/patch && \
18540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18542 "RANLIB=$${RANLIB}" \
18543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18544 installcheck) \
18545 || exit 1
18547 @endif patch
18549 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
18550 maybe-mostlyclean-patch:
18551 @if patch
18552 maybe-mostlyclean-patch: mostlyclean-patch
18554 mostlyclean-patch:
18555 @[ -f ./patch/Makefile ] || exit 0; \
18556 r=`${PWD_COMMAND}`; export r; \
18557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 $(HOST_EXPORTS) \
18559 for flag in $(EXTRA_HOST_FLAGS) ; do \
18560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18561 done; \
18562 echo "Doing mostlyclean in patch" ; \
18563 (cd $(HOST_SUBDIR)/patch && \
18564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18566 "RANLIB=$${RANLIB}" \
18567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18568 mostlyclean) \
18569 || exit 1
18571 @endif patch
18573 .PHONY: maybe-clean-patch clean-patch
18574 maybe-clean-patch:
18575 @if patch
18576 maybe-clean-patch: clean-patch
18578 clean-patch:
18579 @[ -f ./patch/Makefile ] || exit 0; \
18580 r=`${PWD_COMMAND}`; export r; \
18581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18582 $(HOST_EXPORTS) \
18583 for flag in $(EXTRA_HOST_FLAGS) ; do \
18584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18585 done; \
18586 echo "Doing clean in patch" ; \
18587 (cd $(HOST_SUBDIR)/patch && \
18588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590 "RANLIB=$${RANLIB}" \
18591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18592 clean) \
18593 || exit 1
18595 @endif patch
18597 .PHONY: maybe-distclean-patch distclean-patch
18598 maybe-distclean-patch:
18599 @if patch
18600 maybe-distclean-patch: distclean-patch
18602 distclean-patch:
18603 @[ -f ./patch/Makefile ] || exit 0; \
18604 r=`${PWD_COMMAND}`; export r; \
18605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18606 $(HOST_EXPORTS) \
18607 for flag in $(EXTRA_HOST_FLAGS) ; do \
18608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18609 done; \
18610 echo "Doing distclean in patch" ; \
18611 (cd $(HOST_SUBDIR)/patch && \
18612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18614 "RANLIB=$${RANLIB}" \
18615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18616 distclean) \
18617 || exit 1
18619 @endif patch
18621 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
18622 maybe-maintainer-clean-patch:
18623 @if patch
18624 maybe-maintainer-clean-patch: maintainer-clean-patch
18626 maintainer-clean-patch:
18627 @[ -f ./patch/Makefile ] || exit 0; \
18628 r=`${PWD_COMMAND}`; export r; \
18629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18630 $(HOST_EXPORTS) \
18631 for flag in $(EXTRA_HOST_FLAGS) ; do \
18632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18633 done; \
18634 echo "Doing maintainer-clean in patch" ; \
18635 (cd $(HOST_SUBDIR)/patch && \
18636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18638 "RANLIB=$${RANLIB}" \
18639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18640 maintainer-clean) \
18641 || exit 1
18643 @endif patch
18647 .PHONY: configure-perl maybe-configure-perl
18648 maybe-configure-perl:
18649 @if perl
18650 maybe-configure-perl: configure-perl
18651 configure-perl:
18652 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
18653 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
18654 r=`${PWD_COMMAND}`; export r; \
18655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18656 $(HOST_EXPORTS) \
18657 echo Configuring in $(HOST_SUBDIR)/perl; \
18658 cd "$(HOST_SUBDIR)/perl" || exit 1; \
18659 case $(srcdir) in \
18660 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18661 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
18662 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18663 esac; \
18664 srcdiroption="--srcdir=$${topdir}/perl"; \
18665 libsrcdir="$$s/perl"; \
18666 $(SHELL) $${libsrcdir}/configure \
18667 $(HOST_CONFIGARGS) $${srcdiroption} \
18668 || exit 1
18669 @endif perl
18675 .PHONY: all-perl maybe-all-perl
18676 maybe-all-perl:
18677 @if perl
18678 TARGET-perl=all
18679 maybe-all-perl: all-perl
18680 all-perl: configure-perl
18681 @r=`${PWD_COMMAND}`; export r; \
18682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18683 $(HOST_EXPORTS) \
18684 (cd $(HOST_SUBDIR)/perl && \
18685 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
18686 @endif perl
18691 .PHONY: check-perl maybe-check-perl
18692 maybe-check-perl:
18693 @if perl
18694 maybe-check-perl: check-perl
18696 check-perl:
18697 @r=`${PWD_COMMAND}`; export r; \
18698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18699 $(HOST_EXPORTS) \
18700 (cd $(HOST_SUBDIR)/perl && \
18701 $(MAKE) $(FLAGS_TO_PASS) check)
18703 @endif perl
18705 .PHONY: install-perl maybe-install-perl
18706 maybe-install-perl:
18707 @if perl
18708 maybe-install-perl: install-perl
18710 install-perl: installdirs
18711 @r=`${PWD_COMMAND}`; export r; \
18712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18713 $(HOST_EXPORTS) \
18714 (cd $(HOST_SUBDIR)/perl && \
18715 $(MAKE) $(FLAGS_TO_PASS) install)
18717 @endif perl
18719 # Other targets (info, dvi, etc.)
18721 .PHONY: maybe-info-perl info-perl
18722 maybe-info-perl:
18723 @if perl
18724 maybe-info-perl: info-perl
18726 info-perl: \
18727 configure-perl
18728 @[ -f ./perl/Makefile ] || exit 0; \
18729 r=`${PWD_COMMAND}`; export r; \
18730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18731 $(HOST_EXPORTS) \
18732 for flag in $(EXTRA_HOST_FLAGS) ; do \
18733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18734 done; \
18735 echo "Doing info in perl" ; \
18736 (cd $(HOST_SUBDIR)/perl && \
18737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18739 "RANLIB=$${RANLIB}" \
18740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18741 info) \
18742 || exit 1
18744 @endif perl
18746 .PHONY: maybe-dvi-perl dvi-perl
18747 maybe-dvi-perl:
18748 @if perl
18749 maybe-dvi-perl: dvi-perl
18751 dvi-perl: \
18752 configure-perl
18753 @[ -f ./perl/Makefile ] || exit 0; \
18754 r=`${PWD_COMMAND}`; export r; \
18755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18756 $(HOST_EXPORTS) \
18757 for flag in $(EXTRA_HOST_FLAGS) ; do \
18758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18759 done; \
18760 echo "Doing dvi in perl" ; \
18761 (cd $(HOST_SUBDIR)/perl && \
18762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18764 "RANLIB=$${RANLIB}" \
18765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18766 dvi) \
18767 || exit 1
18769 @endif perl
18771 .PHONY: maybe-html-perl html-perl
18772 maybe-html-perl:
18773 @if perl
18774 maybe-html-perl: html-perl
18776 html-perl: \
18777 configure-perl
18778 @[ -f ./perl/Makefile ] || exit 0; \
18779 r=`${PWD_COMMAND}`; export r; \
18780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18781 $(HOST_EXPORTS) \
18782 for flag in $(EXTRA_HOST_FLAGS) ; do \
18783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18784 done; \
18785 echo "Doing html in perl" ; \
18786 (cd $(HOST_SUBDIR)/perl && \
18787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18789 "RANLIB=$${RANLIB}" \
18790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18791 html) \
18792 || exit 1
18794 @endif perl
18796 .PHONY: maybe-TAGS-perl TAGS-perl
18797 maybe-TAGS-perl:
18798 @if perl
18799 maybe-TAGS-perl: TAGS-perl
18801 TAGS-perl: \
18802 configure-perl
18803 @[ -f ./perl/Makefile ] || exit 0; \
18804 r=`${PWD_COMMAND}`; export r; \
18805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18806 $(HOST_EXPORTS) \
18807 for flag in $(EXTRA_HOST_FLAGS) ; do \
18808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18809 done; \
18810 echo "Doing TAGS in perl" ; \
18811 (cd $(HOST_SUBDIR)/perl && \
18812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18814 "RANLIB=$${RANLIB}" \
18815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18816 TAGS) \
18817 || exit 1
18819 @endif perl
18821 .PHONY: maybe-install-info-perl install-info-perl
18822 maybe-install-info-perl:
18823 @if perl
18824 maybe-install-info-perl: install-info-perl
18826 install-info-perl: \
18827 configure-perl \
18828 info-perl
18829 @[ -f ./perl/Makefile ] || exit 0; \
18830 r=`${PWD_COMMAND}`; export r; \
18831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18832 $(HOST_EXPORTS) \
18833 for flag in $(EXTRA_HOST_FLAGS) ; do \
18834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18835 done; \
18836 echo "Doing install-info in perl" ; \
18837 (cd $(HOST_SUBDIR)/perl && \
18838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18840 "RANLIB=$${RANLIB}" \
18841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18842 install-info) \
18843 || exit 1
18845 @endif perl
18847 .PHONY: maybe-installcheck-perl installcheck-perl
18848 maybe-installcheck-perl:
18849 @if perl
18850 maybe-installcheck-perl: installcheck-perl
18852 installcheck-perl: \
18853 configure-perl
18854 @[ -f ./perl/Makefile ] || exit 0; \
18855 r=`${PWD_COMMAND}`; export r; \
18856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18857 $(HOST_EXPORTS) \
18858 for flag in $(EXTRA_HOST_FLAGS) ; do \
18859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18860 done; \
18861 echo "Doing installcheck in perl" ; \
18862 (cd $(HOST_SUBDIR)/perl && \
18863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18865 "RANLIB=$${RANLIB}" \
18866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18867 installcheck) \
18868 || exit 1
18870 @endif perl
18872 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
18873 maybe-mostlyclean-perl:
18874 @if perl
18875 maybe-mostlyclean-perl: mostlyclean-perl
18877 mostlyclean-perl:
18878 @[ -f ./perl/Makefile ] || exit 0; \
18879 r=`${PWD_COMMAND}`; export r; \
18880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18881 $(HOST_EXPORTS) \
18882 for flag in $(EXTRA_HOST_FLAGS) ; do \
18883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18884 done; \
18885 echo "Doing mostlyclean in perl" ; \
18886 (cd $(HOST_SUBDIR)/perl && \
18887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18889 "RANLIB=$${RANLIB}" \
18890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18891 mostlyclean) \
18892 || exit 1
18894 @endif perl
18896 .PHONY: maybe-clean-perl clean-perl
18897 maybe-clean-perl:
18898 @if perl
18899 maybe-clean-perl: clean-perl
18901 clean-perl:
18902 @[ -f ./perl/Makefile ] || exit 0; \
18903 r=`${PWD_COMMAND}`; export r; \
18904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18905 $(HOST_EXPORTS) \
18906 for flag in $(EXTRA_HOST_FLAGS) ; do \
18907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18908 done; \
18909 echo "Doing clean in perl" ; \
18910 (cd $(HOST_SUBDIR)/perl && \
18911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18913 "RANLIB=$${RANLIB}" \
18914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18915 clean) \
18916 || exit 1
18918 @endif perl
18920 .PHONY: maybe-distclean-perl distclean-perl
18921 maybe-distclean-perl:
18922 @if perl
18923 maybe-distclean-perl: distclean-perl
18925 distclean-perl:
18926 @[ -f ./perl/Makefile ] || exit 0; \
18927 r=`${PWD_COMMAND}`; export r; \
18928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18929 $(HOST_EXPORTS) \
18930 for flag in $(EXTRA_HOST_FLAGS) ; do \
18931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18932 done; \
18933 echo "Doing distclean in perl" ; \
18934 (cd $(HOST_SUBDIR)/perl && \
18935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18937 "RANLIB=$${RANLIB}" \
18938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18939 distclean) \
18940 || exit 1
18942 @endif perl
18944 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
18945 maybe-maintainer-clean-perl:
18946 @if perl
18947 maybe-maintainer-clean-perl: maintainer-clean-perl
18949 maintainer-clean-perl:
18950 @[ -f ./perl/Makefile ] || exit 0; \
18951 r=`${PWD_COMMAND}`; export r; \
18952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18953 $(HOST_EXPORTS) \
18954 for flag in $(EXTRA_HOST_FLAGS) ; do \
18955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18956 done; \
18957 echo "Doing maintainer-clean in perl" ; \
18958 (cd $(HOST_SUBDIR)/perl && \
18959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18961 "RANLIB=$${RANLIB}" \
18962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18963 maintainer-clean) \
18964 || exit 1
18966 @endif perl
18970 .PHONY: configure-prms maybe-configure-prms
18971 maybe-configure-prms:
18972 @if prms
18973 maybe-configure-prms: configure-prms
18974 configure-prms:
18975 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
18976 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
18977 r=`${PWD_COMMAND}`; export r; \
18978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18979 $(HOST_EXPORTS) \
18980 echo Configuring in $(HOST_SUBDIR)/prms; \
18981 cd "$(HOST_SUBDIR)/prms" || exit 1; \
18982 case $(srcdir) in \
18983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18984 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
18985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18986 esac; \
18987 srcdiroption="--srcdir=$${topdir}/prms"; \
18988 libsrcdir="$$s/prms"; \
18989 $(SHELL) $${libsrcdir}/configure \
18990 $(HOST_CONFIGARGS) $${srcdiroption} \
18991 || exit 1
18992 @endif prms
18998 .PHONY: all-prms maybe-all-prms
18999 maybe-all-prms:
19000 @if prms
19001 TARGET-prms=all
19002 maybe-all-prms: all-prms
19003 all-prms: configure-prms
19004 @r=`${PWD_COMMAND}`; export r; \
19005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19006 $(HOST_EXPORTS) \
19007 (cd $(HOST_SUBDIR)/prms && \
19008 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19009 @endif prms
19014 .PHONY: check-prms maybe-check-prms
19015 maybe-check-prms:
19016 @if prms
19017 maybe-check-prms: check-prms
19019 check-prms:
19020 @r=`${PWD_COMMAND}`; export r; \
19021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19022 $(HOST_EXPORTS) \
19023 (cd $(HOST_SUBDIR)/prms && \
19024 $(MAKE) $(FLAGS_TO_PASS) check)
19026 @endif prms
19028 .PHONY: install-prms maybe-install-prms
19029 maybe-install-prms:
19030 @if prms
19031 maybe-install-prms: install-prms
19033 install-prms: installdirs
19034 @r=`${PWD_COMMAND}`; export r; \
19035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19036 $(HOST_EXPORTS) \
19037 (cd $(HOST_SUBDIR)/prms && \
19038 $(MAKE) $(FLAGS_TO_PASS) install)
19040 @endif prms
19042 # Other targets (info, dvi, etc.)
19044 .PHONY: maybe-info-prms info-prms
19045 maybe-info-prms:
19046 @if prms
19047 maybe-info-prms: info-prms
19049 info-prms: \
19050 configure-prms
19051 @[ -f ./prms/Makefile ] || exit 0; \
19052 r=`${PWD_COMMAND}`; export r; \
19053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19054 $(HOST_EXPORTS) \
19055 for flag in $(EXTRA_HOST_FLAGS) ; do \
19056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19057 done; \
19058 echo "Doing info in prms" ; \
19059 (cd $(HOST_SUBDIR)/prms && \
19060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19062 "RANLIB=$${RANLIB}" \
19063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19064 info) \
19065 || exit 1
19067 @endif prms
19069 .PHONY: maybe-dvi-prms dvi-prms
19070 maybe-dvi-prms:
19071 @if prms
19072 maybe-dvi-prms: dvi-prms
19074 dvi-prms: \
19075 configure-prms
19076 @[ -f ./prms/Makefile ] || exit 0; \
19077 r=`${PWD_COMMAND}`; export r; \
19078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19079 $(HOST_EXPORTS) \
19080 for flag in $(EXTRA_HOST_FLAGS) ; do \
19081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19082 done; \
19083 echo "Doing dvi in prms" ; \
19084 (cd $(HOST_SUBDIR)/prms && \
19085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19087 "RANLIB=$${RANLIB}" \
19088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19089 dvi) \
19090 || exit 1
19092 @endif prms
19094 .PHONY: maybe-html-prms html-prms
19095 maybe-html-prms:
19096 @if prms
19097 maybe-html-prms: html-prms
19099 html-prms: \
19100 configure-prms
19101 @[ -f ./prms/Makefile ] || exit 0; \
19102 r=`${PWD_COMMAND}`; export r; \
19103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19104 $(HOST_EXPORTS) \
19105 for flag in $(EXTRA_HOST_FLAGS) ; do \
19106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19107 done; \
19108 echo "Doing html in prms" ; \
19109 (cd $(HOST_SUBDIR)/prms && \
19110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19112 "RANLIB=$${RANLIB}" \
19113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19114 html) \
19115 || exit 1
19117 @endif prms
19119 .PHONY: maybe-TAGS-prms TAGS-prms
19120 maybe-TAGS-prms:
19121 @if prms
19122 maybe-TAGS-prms: TAGS-prms
19124 TAGS-prms: \
19125 configure-prms
19126 @[ -f ./prms/Makefile ] || exit 0; \
19127 r=`${PWD_COMMAND}`; export r; \
19128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19129 $(HOST_EXPORTS) \
19130 for flag in $(EXTRA_HOST_FLAGS) ; do \
19131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19132 done; \
19133 echo "Doing TAGS in prms" ; \
19134 (cd $(HOST_SUBDIR)/prms && \
19135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19137 "RANLIB=$${RANLIB}" \
19138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19139 TAGS) \
19140 || exit 1
19142 @endif prms
19144 .PHONY: maybe-install-info-prms install-info-prms
19145 maybe-install-info-prms:
19146 @if prms
19147 maybe-install-info-prms: install-info-prms
19149 install-info-prms: \
19150 configure-prms \
19151 info-prms
19152 @[ -f ./prms/Makefile ] || exit 0; \
19153 r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(HOST_EXPORTS) \
19156 for flag in $(EXTRA_HOST_FLAGS) ; do \
19157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19158 done; \
19159 echo "Doing install-info in prms" ; \
19160 (cd $(HOST_SUBDIR)/prms && \
19161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19163 "RANLIB=$${RANLIB}" \
19164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19165 install-info) \
19166 || exit 1
19168 @endif prms
19170 .PHONY: maybe-installcheck-prms installcheck-prms
19171 maybe-installcheck-prms:
19172 @if prms
19173 maybe-installcheck-prms: installcheck-prms
19175 installcheck-prms: \
19176 configure-prms
19177 @[ -f ./prms/Makefile ] || exit 0; \
19178 r=`${PWD_COMMAND}`; export r; \
19179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19180 $(HOST_EXPORTS) \
19181 for flag in $(EXTRA_HOST_FLAGS) ; do \
19182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19183 done; \
19184 echo "Doing installcheck in prms" ; \
19185 (cd $(HOST_SUBDIR)/prms && \
19186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19188 "RANLIB=$${RANLIB}" \
19189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19190 installcheck) \
19191 || exit 1
19193 @endif prms
19195 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19196 maybe-mostlyclean-prms:
19197 @if prms
19198 maybe-mostlyclean-prms: mostlyclean-prms
19200 mostlyclean-prms:
19201 @[ -f ./prms/Makefile ] || exit 0; \
19202 r=`${PWD_COMMAND}`; export r; \
19203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19204 $(HOST_EXPORTS) \
19205 for flag in $(EXTRA_HOST_FLAGS) ; do \
19206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19207 done; \
19208 echo "Doing mostlyclean in prms" ; \
19209 (cd $(HOST_SUBDIR)/prms && \
19210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19212 "RANLIB=$${RANLIB}" \
19213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19214 mostlyclean) \
19215 || exit 1
19217 @endif prms
19219 .PHONY: maybe-clean-prms clean-prms
19220 maybe-clean-prms:
19221 @if prms
19222 maybe-clean-prms: clean-prms
19224 clean-prms:
19225 @[ -f ./prms/Makefile ] || exit 0; \
19226 r=`${PWD_COMMAND}`; export r; \
19227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19228 $(HOST_EXPORTS) \
19229 for flag in $(EXTRA_HOST_FLAGS) ; do \
19230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19231 done; \
19232 echo "Doing clean in prms" ; \
19233 (cd $(HOST_SUBDIR)/prms && \
19234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19236 "RANLIB=$${RANLIB}" \
19237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19238 clean) \
19239 || exit 1
19241 @endif prms
19243 .PHONY: maybe-distclean-prms distclean-prms
19244 maybe-distclean-prms:
19245 @if prms
19246 maybe-distclean-prms: distclean-prms
19248 distclean-prms:
19249 @[ -f ./prms/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(HOST_EXPORTS) \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19255 done; \
19256 echo "Doing distclean in prms" ; \
19257 (cd $(HOST_SUBDIR)/prms && \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19262 distclean) \
19263 || exit 1
19265 @endif prms
19267 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
19268 maybe-maintainer-clean-prms:
19269 @if prms
19270 maybe-maintainer-clean-prms: maintainer-clean-prms
19272 maintainer-clean-prms:
19273 @[ -f ./prms/Makefile ] || exit 0; \
19274 r=`${PWD_COMMAND}`; export r; \
19275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19276 $(HOST_EXPORTS) \
19277 for flag in $(EXTRA_HOST_FLAGS) ; do \
19278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19279 done; \
19280 echo "Doing maintainer-clean in prms" ; \
19281 (cd $(HOST_SUBDIR)/prms && \
19282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19284 "RANLIB=$${RANLIB}" \
19285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19286 maintainer-clean) \
19287 || exit 1
19289 @endif prms
19293 .PHONY: configure-rcs maybe-configure-rcs
19294 maybe-configure-rcs:
19295 @if rcs
19296 maybe-configure-rcs: configure-rcs
19297 configure-rcs:
19298 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
19299 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
19300 r=`${PWD_COMMAND}`; export r; \
19301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19302 $(HOST_EXPORTS) \
19303 echo Configuring in $(HOST_SUBDIR)/rcs; \
19304 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
19305 case $(srcdir) in \
19306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19307 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
19308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19309 esac; \
19310 srcdiroption="--srcdir=$${topdir}/rcs"; \
19311 libsrcdir="$$s/rcs"; \
19312 $(SHELL) $${libsrcdir}/configure \
19313 $(HOST_CONFIGARGS) $${srcdiroption} \
19314 || exit 1
19315 @endif rcs
19321 .PHONY: all-rcs maybe-all-rcs
19322 maybe-all-rcs:
19323 @if rcs
19324 TARGET-rcs=all
19325 maybe-all-rcs: all-rcs
19326 all-rcs: configure-rcs
19327 @r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 (cd $(HOST_SUBDIR)/rcs && \
19331 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
19332 @endif rcs
19337 .PHONY: check-rcs maybe-check-rcs
19338 maybe-check-rcs:
19339 @if rcs
19340 maybe-check-rcs: check-rcs
19342 check-rcs:
19343 @r=`${PWD_COMMAND}`; export r; \
19344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19345 $(HOST_EXPORTS) \
19346 (cd $(HOST_SUBDIR)/rcs && \
19347 $(MAKE) $(FLAGS_TO_PASS) check)
19349 @endif rcs
19351 .PHONY: install-rcs maybe-install-rcs
19352 maybe-install-rcs:
19353 @if rcs
19354 maybe-install-rcs: install-rcs
19356 install-rcs: installdirs
19357 @r=`${PWD_COMMAND}`; export r; \
19358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19359 $(HOST_EXPORTS) \
19360 (cd $(HOST_SUBDIR)/rcs && \
19361 $(MAKE) $(FLAGS_TO_PASS) install)
19363 @endif rcs
19365 # Other targets (info, dvi, etc.)
19367 .PHONY: maybe-info-rcs info-rcs
19368 maybe-info-rcs:
19369 @if rcs
19370 maybe-info-rcs: info-rcs
19372 info-rcs: \
19373 configure-rcs
19374 @[ -f ./rcs/Makefile ] || exit 0; \
19375 r=`${PWD_COMMAND}`; export r; \
19376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19377 $(HOST_EXPORTS) \
19378 for flag in $(EXTRA_HOST_FLAGS) ; do \
19379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19380 done; \
19381 echo "Doing info in rcs" ; \
19382 (cd $(HOST_SUBDIR)/rcs && \
19383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19385 "RANLIB=$${RANLIB}" \
19386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19387 info) \
19388 || exit 1
19390 @endif rcs
19392 .PHONY: maybe-dvi-rcs dvi-rcs
19393 maybe-dvi-rcs:
19394 @if rcs
19395 maybe-dvi-rcs: dvi-rcs
19397 dvi-rcs: \
19398 configure-rcs
19399 @[ -f ./rcs/Makefile ] || exit 0; \
19400 r=`${PWD_COMMAND}`; export r; \
19401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19402 $(HOST_EXPORTS) \
19403 for flag in $(EXTRA_HOST_FLAGS) ; do \
19404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19405 done; \
19406 echo "Doing dvi in rcs" ; \
19407 (cd $(HOST_SUBDIR)/rcs && \
19408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19410 "RANLIB=$${RANLIB}" \
19411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19412 dvi) \
19413 || exit 1
19415 @endif rcs
19417 .PHONY: maybe-html-rcs html-rcs
19418 maybe-html-rcs:
19419 @if rcs
19420 maybe-html-rcs: html-rcs
19422 html-rcs: \
19423 configure-rcs
19424 @[ -f ./rcs/Makefile ] || exit 0; \
19425 r=`${PWD_COMMAND}`; export r; \
19426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19427 $(HOST_EXPORTS) \
19428 for flag in $(EXTRA_HOST_FLAGS) ; do \
19429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19430 done; \
19431 echo "Doing html in rcs" ; \
19432 (cd $(HOST_SUBDIR)/rcs && \
19433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19435 "RANLIB=$${RANLIB}" \
19436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19437 html) \
19438 || exit 1
19440 @endif rcs
19442 .PHONY: maybe-TAGS-rcs TAGS-rcs
19443 maybe-TAGS-rcs:
19444 @if rcs
19445 maybe-TAGS-rcs: TAGS-rcs
19447 TAGS-rcs: \
19448 configure-rcs
19449 @[ -f ./rcs/Makefile ] || exit 0; \
19450 r=`${PWD_COMMAND}`; export r; \
19451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19452 $(HOST_EXPORTS) \
19453 for flag in $(EXTRA_HOST_FLAGS) ; do \
19454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19455 done; \
19456 echo "Doing TAGS in rcs" ; \
19457 (cd $(HOST_SUBDIR)/rcs && \
19458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19460 "RANLIB=$${RANLIB}" \
19461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19462 TAGS) \
19463 || exit 1
19465 @endif rcs
19467 .PHONY: maybe-install-info-rcs install-info-rcs
19468 maybe-install-info-rcs:
19469 @if rcs
19470 maybe-install-info-rcs: install-info-rcs
19472 install-info-rcs: \
19473 configure-rcs \
19474 info-rcs
19475 @[ -f ./rcs/Makefile ] || exit 0; \
19476 r=`${PWD_COMMAND}`; export r; \
19477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19478 $(HOST_EXPORTS) \
19479 for flag in $(EXTRA_HOST_FLAGS) ; do \
19480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19481 done; \
19482 echo "Doing install-info in rcs" ; \
19483 (cd $(HOST_SUBDIR)/rcs && \
19484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19486 "RANLIB=$${RANLIB}" \
19487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19488 install-info) \
19489 || exit 1
19491 @endif rcs
19493 .PHONY: maybe-installcheck-rcs installcheck-rcs
19494 maybe-installcheck-rcs:
19495 @if rcs
19496 maybe-installcheck-rcs: installcheck-rcs
19498 installcheck-rcs: \
19499 configure-rcs
19500 @[ -f ./rcs/Makefile ] || exit 0; \
19501 r=`${PWD_COMMAND}`; export r; \
19502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19503 $(HOST_EXPORTS) \
19504 for flag in $(EXTRA_HOST_FLAGS) ; do \
19505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19506 done; \
19507 echo "Doing installcheck in rcs" ; \
19508 (cd $(HOST_SUBDIR)/rcs && \
19509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19511 "RANLIB=$${RANLIB}" \
19512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19513 installcheck) \
19514 || exit 1
19516 @endif rcs
19518 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
19519 maybe-mostlyclean-rcs:
19520 @if rcs
19521 maybe-mostlyclean-rcs: mostlyclean-rcs
19523 mostlyclean-rcs:
19524 @[ -f ./rcs/Makefile ] || exit 0; \
19525 r=`${PWD_COMMAND}`; export r; \
19526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19527 $(HOST_EXPORTS) \
19528 for flag in $(EXTRA_HOST_FLAGS) ; do \
19529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19530 done; \
19531 echo "Doing mostlyclean in rcs" ; \
19532 (cd $(HOST_SUBDIR)/rcs && \
19533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19535 "RANLIB=$${RANLIB}" \
19536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19537 mostlyclean) \
19538 || exit 1
19540 @endif rcs
19542 .PHONY: maybe-clean-rcs clean-rcs
19543 maybe-clean-rcs:
19544 @if rcs
19545 maybe-clean-rcs: clean-rcs
19547 clean-rcs:
19548 @[ -f ./rcs/Makefile ] || exit 0; \
19549 r=`${PWD_COMMAND}`; export r; \
19550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19551 $(HOST_EXPORTS) \
19552 for flag in $(EXTRA_HOST_FLAGS) ; do \
19553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19554 done; \
19555 echo "Doing clean in rcs" ; \
19556 (cd $(HOST_SUBDIR)/rcs && \
19557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19559 "RANLIB=$${RANLIB}" \
19560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19561 clean) \
19562 || exit 1
19564 @endif rcs
19566 .PHONY: maybe-distclean-rcs distclean-rcs
19567 maybe-distclean-rcs:
19568 @if rcs
19569 maybe-distclean-rcs: distclean-rcs
19571 distclean-rcs:
19572 @[ -f ./rcs/Makefile ] || exit 0; \
19573 r=`${PWD_COMMAND}`; export r; \
19574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19575 $(HOST_EXPORTS) \
19576 for flag in $(EXTRA_HOST_FLAGS) ; do \
19577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19578 done; \
19579 echo "Doing distclean in rcs" ; \
19580 (cd $(HOST_SUBDIR)/rcs && \
19581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19583 "RANLIB=$${RANLIB}" \
19584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19585 distclean) \
19586 || exit 1
19588 @endif rcs
19590 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
19591 maybe-maintainer-clean-rcs:
19592 @if rcs
19593 maybe-maintainer-clean-rcs: maintainer-clean-rcs
19595 maintainer-clean-rcs:
19596 @[ -f ./rcs/Makefile ] || exit 0; \
19597 r=`${PWD_COMMAND}`; export r; \
19598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19599 $(HOST_EXPORTS) \
19600 for flag in $(EXTRA_HOST_FLAGS) ; do \
19601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19602 done; \
19603 echo "Doing maintainer-clean in rcs" ; \
19604 (cd $(HOST_SUBDIR)/rcs && \
19605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19607 "RANLIB=$${RANLIB}" \
19608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19609 maintainer-clean) \
19610 || exit 1
19612 @endif rcs
19616 .PHONY: configure-readline maybe-configure-readline
19617 maybe-configure-readline:
19618 @if readline
19619 maybe-configure-readline: configure-readline
19620 configure-readline:
19621 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
19622 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
19623 r=`${PWD_COMMAND}`; export r; \
19624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19625 $(HOST_EXPORTS) \
19626 echo Configuring in $(HOST_SUBDIR)/readline; \
19627 cd "$(HOST_SUBDIR)/readline" || exit 1; \
19628 case $(srcdir) in \
19629 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19630 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
19631 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19632 esac; \
19633 srcdiroption="--srcdir=$${topdir}/readline"; \
19634 libsrcdir="$$s/readline"; \
19635 $(SHELL) $${libsrcdir}/configure \
19636 $(HOST_CONFIGARGS) $${srcdiroption} \
19637 || exit 1
19638 @endif readline
19644 .PHONY: all-readline maybe-all-readline
19645 maybe-all-readline:
19646 @if readline
19647 TARGET-readline=all
19648 maybe-all-readline: all-readline
19649 all-readline: configure-readline
19650 @r=`${PWD_COMMAND}`; export r; \
19651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19652 $(HOST_EXPORTS) \
19653 (cd $(HOST_SUBDIR)/readline && \
19654 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
19655 @endif readline
19660 .PHONY: check-readline maybe-check-readline
19661 maybe-check-readline:
19662 @if readline
19663 maybe-check-readline: check-readline
19665 check-readline:
19666 @r=`${PWD_COMMAND}`; export r; \
19667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19668 $(HOST_EXPORTS) \
19669 (cd $(HOST_SUBDIR)/readline && \
19670 $(MAKE) $(FLAGS_TO_PASS) check)
19672 @endif readline
19674 .PHONY: install-readline maybe-install-readline
19675 maybe-install-readline:
19676 @if readline
19677 maybe-install-readline: install-readline
19679 install-readline: installdirs
19680 @r=`${PWD_COMMAND}`; export r; \
19681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19682 $(HOST_EXPORTS) \
19683 (cd $(HOST_SUBDIR)/readline && \
19684 $(MAKE) $(FLAGS_TO_PASS) install)
19686 @endif readline
19688 # Other targets (info, dvi, etc.)
19690 .PHONY: maybe-info-readline info-readline
19691 maybe-info-readline:
19692 @if readline
19693 maybe-info-readline: info-readline
19695 info-readline: \
19696 configure-readline
19697 @[ -f ./readline/Makefile ] || exit 0; \
19698 r=`${PWD_COMMAND}`; export r; \
19699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19700 $(HOST_EXPORTS) \
19701 for flag in $(EXTRA_HOST_FLAGS) ; do \
19702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19703 done; \
19704 echo "Doing info in readline" ; \
19705 (cd $(HOST_SUBDIR)/readline && \
19706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19708 "RANLIB=$${RANLIB}" \
19709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19710 info) \
19711 || exit 1
19713 @endif readline
19715 .PHONY: maybe-dvi-readline dvi-readline
19716 maybe-dvi-readline:
19717 @if readline
19718 maybe-dvi-readline: dvi-readline
19720 dvi-readline: \
19721 configure-readline
19722 @[ -f ./readline/Makefile ] || exit 0; \
19723 r=`${PWD_COMMAND}`; export r; \
19724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19725 $(HOST_EXPORTS) \
19726 for flag in $(EXTRA_HOST_FLAGS) ; do \
19727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19728 done; \
19729 echo "Doing dvi in readline" ; \
19730 (cd $(HOST_SUBDIR)/readline && \
19731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19733 "RANLIB=$${RANLIB}" \
19734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19735 dvi) \
19736 || exit 1
19738 @endif readline
19740 .PHONY: maybe-html-readline html-readline
19741 maybe-html-readline:
19742 @if readline
19743 maybe-html-readline: html-readline
19745 html-readline: \
19746 configure-readline
19747 @[ -f ./readline/Makefile ] || exit 0; \
19748 r=`${PWD_COMMAND}`; export r; \
19749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19750 $(HOST_EXPORTS) \
19751 for flag in $(EXTRA_HOST_FLAGS) ; do \
19752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19753 done; \
19754 echo "Doing html in readline" ; \
19755 (cd $(HOST_SUBDIR)/readline && \
19756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19758 "RANLIB=$${RANLIB}" \
19759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19760 html) \
19761 || exit 1
19763 @endif readline
19765 .PHONY: maybe-TAGS-readline TAGS-readline
19766 maybe-TAGS-readline:
19767 @if readline
19768 maybe-TAGS-readline: TAGS-readline
19770 TAGS-readline: \
19771 configure-readline
19772 @[ -f ./readline/Makefile ] || exit 0; \
19773 r=`${PWD_COMMAND}`; export r; \
19774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19775 $(HOST_EXPORTS) \
19776 for flag in $(EXTRA_HOST_FLAGS) ; do \
19777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19778 done; \
19779 echo "Doing TAGS in readline" ; \
19780 (cd $(HOST_SUBDIR)/readline && \
19781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19783 "RANLIB=$${RANLIB}" \
19784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19785 TAGS) \
19786 || exit 1
19788 @endif readline
19790 .PHONY: maybe-install-info-readline install-info-readline
19791 maybe-install-info-readline:
19792 @if readline
19793 maybe-install-info-readline: install-info-readline
19795 install-info-readline: \
19796 configure-readline \
19797 info-readline
19798 @[ -f ./readline/Makefile ] || exit 0; \
19799 r=`${PWD_COMMAND}`; export r; \
19800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19801 $(HOST_EXPORTS) \
19802 for flag in $(EXTRA_HOST_FLAGS) ; do \
19803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19804 done; \
19805 echo "Doing install-info in readline" ; \
19806 (cd $(HOST_SUBDIR)/readline && \
19807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19809 "RANLIB=$${RANLIB}" \
19810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19811 install-info) \
19812 || exit 1
19814 @endif readline
19816 .PHONY: maybe-installcheck-readline installcheck-readline
19817 maybe-installcheck-readline:
19818 @if readline
19819 maybe-installcheck-readline: installcheck-readline
19821 installcheck-readline: \
19822 configure-readline
19823 @[ -f ./readline/Makefile ] || exit 0; \
19824 r=`${PWD_COMMAND}`; export r; \
19825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19826 $(HOST_EXPORTS) \
19827 for flag in $(EXTRA_HOST_FLAGS) ; do \
19828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19829 done; \
19830 echo "Doing installcheck in readline" ; \
19831 (cd $(HOST_SUBDIR)/readline && \
19832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19834 "RANLIB=$${RANLIB}" \
19835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19836 installcheck) \
19837 || exit 1
19839 @endif readline
19841 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
19842 maybe-mostlyclean-readline:
19843 @if readline
19844 maybe-mostlyclean-readline: mostlyclean-readline
19846 mostlyclean-readline:
19847 @[ -f ./readline/Makefile ] || exit 0; \
19848 r=`${PWD_COMMAND}`; export r; \
19849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
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 mostlyclean in readline" ; \
19855 (cd $(HOST_SUBDIR)/readline && \
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 mostlyclean) \
19861 || exit 1
19863 @endif readline
19865 .PHONY: maybe-clean-readline clean-readline
19866 maybe-clean-readline:
19867 @if readline
19868 maybe-clean-readline: clean-readline
19870 clean-readline:
19871 @[ -f ./readline/Makefile ] || exit 0; \
19872 r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 $(HOST_EXPORTS) \
19875 for flag in $(EXTRA_HOST_FLAGS) ; do \
19876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19877 done; \
19878 echo "Doing clean in readline" ; \
19879 (cd $(HOST_SUBDIR)/readline && \
19880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19882 "RANLIB=$${RANLIB}" \
19883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19884 clean) \
19885 || exit 1
19887 @endif readline
19889 .PHONY: maybe-distclean-readline distclean-readline
19890 maybe-distclean-readline:
19891 @if readline
19892 maybe-distclean-readline: distclean-readline
19894 distclean-readline:
19895 @[ -f ./readline/Makefile ] || exit 0; \
19896 r=`${PWD_COMMAND}`; export r; \
19897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898 $(HOST_EXPORTS) \
19899 for flag in $(EXTRA_HOST_FLAGS) ; do \
19900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19901 done; \
19902 echo "Doing distclean in readline" ; \
19903 (cd $(HOST_SUBDIR)/readline && \
19904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19906 "RANLIB=$${RANLIB}" \
19907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19908 distclean) \
19909 || exit 1
19911 @endif readline
19913 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
19914 maybe-maintainer-clean-readline:
19915 @if readline
19916 maybe-maintainer-clean-readline: maintainer-clean-readline
19918 maintainer-clean-readline:
19919 @[ -f ./readline/Makefile ] || exit 0; \
19920 r=`${PWD_COMMAND}`; export r; \
19921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19922 $(HOST_EXPORTS) \
19923 for flag in $(EXTRA_HOST_FLAGS) ; do \
19924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19925 done; \
19926 echo "Doing maintainer-clean in readline" ; \
19927 (cd $(HOST_SUBDIR)/readline && \
19928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19930 "RANLIB=$${RANLIB}" \
19931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19932 maintainer-clean) \
19933 || exit 1
19935 @endif readline
19939 .PHONY: configure-release maybe-configure-release
19940 maybe-configure-release:
19941 @if release
19942 maybe-configure-release: configure-release
19943 configure-release:
19944 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
19945 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
19946 r=`${PWD_COMMAND}`; export r; \
19947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19948 $(HOST_EXPORTS) \
19949 echo Configuring in $(HOST_SUBDIR)/release; \
19950 cd "$(HOST_SUBDIR)/release" || exit 1; \
19951 case $(srcdir) in \
19952 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19953 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
19954 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19955 esac; \
19956 srcdiroption="--srcdir=$${topdir}/release"; \
19957 libsrcdir="$$s/release"; \
19958 $(SHELL) $${libsrcdir}/configure \
19959 $(HOST_CONFIGARGS) $${srcdiroption} \
19960 || exit 1
19961 @endif release
19967 .PHONY: all-release maybe-all-release
19968 maybe-all-release:
19969 @if release
19970 TARGET-release=all
19971 maybe-all-release: all-release
19972 all-release: configure-release
19973 @r=`${PWD_COMMAND}`; export r; \
19974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19975 $(HOST_EXPORTS) \
19976 (cd $(HOST_SUBDIR)/release && \
19977 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
19978 @endif release
19983 .PHONY: check-release maybe-check-release
19984 maybe-check-release:
19985 @if release
19986 maybe-check-release: check-release
19988 check-release:
19990 @endif release
19992 .PHONY: install-release maybe-install-release
19993 maybe-install-release:
19994 @if release
19995 maybe-install-release: install-release
19997 install-release:
19999 @endif release
20001 # Other targets (info, dvi, etc.)
20003 .PHONY: maybe-info-release info-release
20004 maybe-info-release:
20005 @if release
20006 maybe-info-release: info-release
20008 info-release: \
20009 configure-release
20010 @[ -f ./release/Makefile ] || exit 0; \
20011 r=`${PWD_COMMAND}`; export r; \
20012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20013 $(HOST_EXPORTS) \
20014 for flag in $(EXTRA_HOST_FLAGS) ; do \
20015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20016 done; \
20017 echo "Doing info in release" ; \
20018 (cd $(HOST_SUBDIR)/release && \
20019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20021 "RANLIB=$${RANLIB}" \
20022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20023 info) \
20024 || exit 1
20026 @endif release
20028 .PHONY: maybe-dvi-release dvi-release
20029 maybe-dvi-release:
20030 @if release
20031 maybe-dvi-release: dvi-release
20033 dvi-release: \
20034 configure-release
20035 @[ -f ./release/Makefile ] || exit 0; \
20036 r=`${PWD_COMMAND}`; export r; \
20037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20038 $(HOST_EXPORTS) \
20039 for flag in $(EXTRA_HOST_FLAGS) ; do \
20040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20041 done; \
20042 echo "Doing dvi in release" ; \
20043 (cd $(HOST_SUBDIR)/release && \
20044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20046 "RANLIB=$${RANLIB}" \
20047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20048 dvi) \
20049 || exit 1
20051 @endif release
20053 .PHONY: maybe-html-release html-release
20054 maybe-html-release:
20055 @if release
20056 maybe-html-release: html-release
20058 html-release: \
20059 configure-release
20060 @[ -f ./release/Makefile ] || exit 0; \
20061 r=`${PWD_COMMAND}`; export r; \
20062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20063 $(HOST_EXPORTS) \
20064 for flag in $(EXTRA_HOST_FLAGS) ; do \
20065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20066 done; \
20067 echo "Doing html in release" ; \
20068 (cd $(HOST_SUBDIR)/release && \
20069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20071 "RANLIB=$${RANLIB}" \
20072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20073 html) \
20074 || exit 1
20076 @endif release
20078 .PHONY: maybe-TAGS-release TAGS-release
20079 maybe-TAGS-release:
20080 @if release
20081 maybe-TAGS-release: TAGS-release
20083 TAGS-release: \
20084 configure-release
20085 @[ -f ./release/Makefile ] || exit 0; \
20086 r=`${PWD_COMMAND}`; export r; \
20087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20088 $(HOST_EXPORTS) \
20089 for flag in $(EXTRA_HOST_FLAGS) ; do \
20090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20091 done; \
20092 echo "Doing TAGS in release" ; \
20093 (cd $(HOST_SUBDIR)/release && \
20094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20096 "RANLIB=$${RANLIB}" \
20097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20098 TAGS) \
20099 || exit 1
20101 @endif release
20103 .PHONY: maybe-install-info-release install-info-release
20104 maybe-install-info-release:
20105 @if release
20106 maybe-install-info-release: install-info-release
20108 install-info-release: \
20109 configure-release \
20110 info-release
20111 @[ -f ./release/Makefile ] || exit 0; \
20112 r=`${PWD_COMMAND}`; export r; \
20113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20114 $(HOST_EXPORTS) \
20115 for flag in $(EXTRA_HOST_FLAGS) ; do \
20116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20117 done; \
20118 echo "Doing install-info in release" ; \
20119 (cd $(HOST_SUBDIR)/release && \
20120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20122 "RANLIB=$${RANLIB}" \
20123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20124 install-info) \
20125 || exit 1
20127 @endif release
20129 .PHONY: maybe-installcheck-release installcheck-release
20130 maybe-installcheck-release:
20131 @if release
20132 maybe-installcheck-release: installcheck-release
20134 installcheck-release: \
20135 configure-release
20136 @[ -f ./release/Makefile ] || exit 0; \
20137 r=`${PWD_COMMAND}`; export r; \
20138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20139 $(HOST_EXPORTS) \
20140 for flag in $(EXTRA_HOST_FLAGS) ; do \
20141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20142 done; \
20143 echo "Doing installcheck in release" ; \
20144 (cd $(HOST_SUBDIR)/release && \
20145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20147 "RANLIB=$${RANLIB}" \
20148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20149 installcheck) \
20150 || exit 1
20152 @endif release
20154 .PHONY: maybe-mostlyclean-release mostlyclean-release
20155 maybe-mostlyclean-release:
20156 @if release
20157 maybe-mostlyclean-release: mostlyclean-release
20159 mostlyclean-release:
20160 @[ -f ./release/Makefile ] || exit 0; \
20161 r=`${PWD_COMMAND}`; export r; \
20162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20163 $(HOST_EXPORTS) \
20164 for flag in $(EXTRA_HOST_FLAGS) ; do \
20165 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20166 done; \
20167 echo "Doing mostlyclean in release" ; \
20168 (cd $(HOST_SUBDIR)/release && \
20169 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20170 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20171 "RANLIB=$${RANLIB}" \
20172 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20173 mostlyclean) \
20174 || exit 1
20176 @endif release
20178 .PHONY: maybe-clean-release clean-release
20179 maybe-clean-release:
20180 @if release
20181 maybe-clean-release: clean-release
20183 clean-release:
20184 @[ -f ./release/Makefile ] || exit 0; \
20185 r=`${PWD_COMMAND}`; export r; \
20186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20187 $(HOST_EXPORTS) \
20188 for flag in $(EXTRA_HOST_FLAGS) ; do \
20189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20190 done; \
20191 echo "Doing clean in release" ; \
20192 (cd $(HOST_SUBDIR)/release && \
20193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20195 "RANLIB=$${RANLIB}" \
20196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20197 clean) \
20198 || exit 1
20200 @endif release
20202 .PHONY: maybe-distclean-release distclean-release
20203 maybe-distclean-release:
20204 @if release
20205 maybe-distclean-release: distclean-release
20207 distclean-release:
20208 @[ -f ./release/Makefile ] || exit 0; \
20209 r=`${PWD_COMMAND}`; export r; \
20210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20211 $(HOST_EXPORTS) \
20212 for flag in $(EXTRA_HOST_FLAGS) ; do \
20213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20214 done; \
20215 echo "Doing distclean in release" ; \
20216 (cd $(HOST_SUBDIR)/release && \
20217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20219 "RANLIB=$${RANLIB}" \
20220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20221 distclean) \
20222 || exit 1
20224 @endif release
20226 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
20227 maybe-maintainer-clean-release:
20228 @if release
20229 maybe-maintainer-clean-release: maintainer-clean-release
20231 maintainer-clean-release:
20232 @[ -f ./release/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing maintainer-clean in release" ; \
20240 (cd $(HOST_SUBDIR)/release && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245 maintainer-clean) \
20246 || exit 1
20248 @endif release
20252 .PHONY: configure-recode maybe-configure-recode
20253 maybe-configure-recode:
20254 @if recode
20255 maybe-configure-recode: configure-recode
20256 configure-recode:
20257 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
20258 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 echo Configuring in $(HOST_SUBDIR)/recode; \
20263 cd "$(HOST_SUBDIR)/recode" || exit 1; \
20264 case $(srcdir) in \
20265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20266 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
20267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20268 esac; \
20269 srcdiroption="--srcdir=$${topdir}/recode"; \
20270 libsrcdir="$$s/recode"; \
20271 $(SHELL) $${libsrcdir}/configure \
20272 $(HOST_CONFIGARGS) $${srcdiroption} \
20273 || exit 1
20274 @endif recode
20280 .PHONY: all-recode maybe-all-recode
20281 maybe-all-recode:
20282 @if recode
20283 TARGET-recode=all
20284 maybe-all-recode: all-recode
20285 all-recode: configure-recode
20286 @r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 (cd $(HOST_SUBDIR)/recode && \
20290 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
20291 @endif recode
20296 .PHONY: check-recode maybe-check-recode
20297 maybe-check-recode:
20298 @if recode
20299 maybe-check-recode: check-recode
20301 check-recode:
20302 @r=`${PWD_COMMAND}`; export r; \
20303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20304 $(HOST_EXPORTS) \
20305 (cd $(HOST_SUBDIR)/recode && \
20306 $(MAKE) $(FLAGS_TO_PASS) check)
20308 @endif recode
20310 .PHONY: install-recode maybe-install-recode
20311 maybe-install-recode:
20312 @if recode
20313 maybe-install-recode: install-recode
20315 install-recode: installdirs
20316 @r=`${PWD_COMMAND}`; export r; \
20317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20318 $(HOST_EXPORTS) \
20319 (cd $(HOST_SUBDIR)/recode && \
20320 $(MAKE) $(FLAGS_TO_PASS) install)
20322 @endif recode
20324 # Other targets (info, dvi, etc.)
20326 .PHONY: maybe-info-recode info-recode
20327 maybe-info-recode:
20328 @if recode
20329 maybe-info-recode: info-recode
20331 info-recode: \
20332 configure-recode
20333 @[ -f ./recode/Makefile ] || exit 0; \
20334 r=`${PWD_COMMAND}`; export r; \
20335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20336 $(HOST_EXPORTS) \
20337 for flag in $(EXTRA_HOST_FLAGS) ; do \
20338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20339 done; \
20340 echo "Doing info in recode" ; \
20341 (cd $(HOST_SUBDIR)/recode && \
20342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20344 "RANLIB=$${RANLIB}" \
20345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20346 info) \
20347 || exit 1
20349 @endif recode
20351 .PHONY: maybe-dvi-recode dvi-recode
20352 maybe-dvi-recode:
20353 @if recode
20354 maybe-dvi-recode: dvi-recode
20356 dvi-recode: \
20357 configure-recode
20358 @[ -f ./recode/Makefile ] || exit 0; \
20359 r=`${PWD_COMMAND}`; export r; \
20360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20361 $(HOST_EXPORTS) \
20362 for flag in $(EXTRA_HOST_FLAGS) ; do \
20363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20364 done; \
20365 echo "Doing dvi in recode" ; \
20366 (cd $(HOST_SUBDIR)/recode && \
20367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20369 "RANLIB=$${RANLIB}" \
20370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20371 dvi) \
20372 || exit 1
20374 @endif recode
20376 .PHONY: maybe-html-recode html-recode
20377 maybe-html-recode:
20378 @if recode
20379 maybe-html-recode: html-recode
20381 html-recode: \
20382 configure-recode
20383 @[ -f ./recode/Makefile ] || exit 0; \
20384 r=`${PWD_COMMAND}`; export r; \
20385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20386 $(HOST_EXPORTS) \
20387 for flag in $(EXTRA_HOST_FLAGS) ; do \
20388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20389 done; \
20390 echo "Doing html in recode" ; \
20391 (cd $(HOST_SUBDIR)/recode && \
20392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20394 "RANLIB=$${RANLIB}" \
20395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20396 html) \
20397 || exit 1
20399 @endif recode
20401 .PHONY: maybe-TAGS-recode TAGS-recode
20402 maybe-TAGS-recode:
20403 @if recode
20404 maybe-TAGS-recode: TAGS-recode
20406 TAGS-recode: \
20407 configure-recode
20408 @[ -f ./recode/Makefile ] || exit 0; \
20409 r=`${PWD_COMMAND}`; export r; \
20410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20411 $(HOST_EXPORTS) \
20412 for flag in $(EXTRA_HOST_FLAGS) ; do \
20413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20414 done; \
20415 echo "Doing TAGS in recode" ; \
20416 (cd $(HOST_SUBDIR)/recode && \
20417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20419 "RANLIB=$${RANLIB}" \
20420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20421 TAGS) \
20422 || exit 1
20424 @endif recode
20426 .PHONY: maybe-install-info-recode install-info-recode
20427 maybe-install-info-recode:
20428 @if recode
20429 maybe-install-info-recode: install-info-recode
20431 install-info-recode: \
20432 configure-recode \
20433 info-recode
20434 @[ -f ./recode/Makefile ] || exit 0; \
20435 r=`${PWD_COMMAND}`; export r; \
20436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20437 $(HOST_EXPORTS) \
20438 for flag in $(EXTRA_HOST_FLAGS) ; do \
20439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20440 done; \
20441 echo "Doing install-info in recode" ; \
20442 (cd $(HOST_SUBDIR)/recode && \
20443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20445 "RANLIB=$${RANLIB}" \
20446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20447 install-info) \
20448 || exit 1
20450 @endif recode
20452 .PHONY: maybe-installcheck-recode installcheck-recode
20453 maybe-installcheck-recode:
20454 @if recode
20455 maybe-installcheck-recode: installcheck-recode
20457 installcheck-recode: \
20458 configure-recode
20459 @[ -f ./recode/Makefile ] || exit 0; \
20460 r=`${PWD_COMMAND}`; export r; \
20461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20462 $(HOST_EXPORTS) \
20463 for flag in $(EXTRA_HOST_FLAGS) ; do \
20464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20465 done; \
20466 echo "Doing installcheck in recode" ; \
20467 (cd $(HOST_SUBDIR)/recode && \
20468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20470 "RANLIB=$${RANLIB}" \
20471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20472 installcheck) \
20473 || exit 1
20475 @endif recode
20477 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
20478 maybe-mostlyclean-recode:
20479 @if recode
20480 maybe-mostlyclean-recode: mostlyclean-recode
20482 mostlyclean-recode:
20483 @[ -f ./recode/Makefile ] || exit 0; \
20484 r=`${PWD_COMMAND}`; export r; \
20485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20486 $(HOST_EXPORTS) \
20487 for flag in $(EXTRA_HOST_FLAGS) ; do \
20488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20489 done; \
20490 echo "Doing mostlyclean in recode" ; \
20491 (cd $(HOST_SUBDIR)/recode && \
20492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20494 "RANLIB=$${RANLIB}" \
20495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20496 mostlyclean) \
20497 || exit 1
20499 @endif recode
20501 .PHONY: maybe-clean-recode clean-recode
20502 maybe-clean-recode:
20503 @if recode
20504 maybe-clean-recode: clean-recode
20506 clean-recode:
20507 @[ -f ./recode/Makefile ] || exit 0; \
20508 r=`${PWD_COMMAND}`; export r; \
20509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20510 $(HOST_EXPORTS) \
20511 for flag in $(EXTRA_HOST_FLAGS) ; do \
20512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20513 done; \
20514 echo "Doing clean in recode" ; \
20515 (cd $(HOST_SUBDIR)/recode && \
20516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20518 "RANLIB=$${RANLIB}" \
20519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20520 clean) \
20521 || exit 1
20523 @endif recode
20525 .PHONY: maybe-distclean-recode distclean-recode
20526 maybe-distclean-recode:
20527 @if recode
20528 maybe-distclean-recode: distclean-recode
20530 distclean-recode:
20531 @[ -f ./recode/Makefile ] || exit 0; \
20532 r=`${PWD_COMMAND}`; export r; \
20533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20534 $(HOST_EXPORTS) \
20535 for flag in $(EXTRA_HOST_FLAGS) ; do \
20536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20537 done; \
20538 echo "Doing distclean in recode" ; \
20539 (cd $(HOST_SUBDIR)/recode && \
20540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20542 "RANLIB=$${RANLIB}" \
20543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20544 distclean) \
20545 || exit 1
20547 @endif recode
20549 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
20550 maybe-maintainer-clean-recode:
20551 @if recode
20552 maybe-maintainer-clean-recode: maintainer-clean-recode
20554 maintainer-clean-recode:
20555 @[ -f ./recode/Makefile ] || exit 0; \
20556 r=`${PWD_COMMAND}`; export r; \
20557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20558 $(HOST_EXPORTS) \
20559 for flag in $(EXTRA_HOST_FLAGS) ; do \
20560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20561 done; \
20562 echo "Doing maintainer-clean in recode" ; \
20563 (cd $(HOST_SUBDIR)/recode && \
20564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20566 "RANLIB=$${RANLIB}" \
20567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20568 maintainer-clean) \
20569 || exit 1
20571 @endif recode
20575 .PHONY: configure-sed maybe-configure-sed
20576 maybe-configure-sed:
20577 @if sed
20578 maybe-configure-sed: configure-sed
20579 configure-sed:
20580 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
20581 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
20582 r=`${PWD_COMMAND}`; export r; \
20583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20584 $(HOST_EXPORTS) \
20585 echo Configuring in $(HOST_SUBDIR)/sed; \
20586 cd "$(HOST_SUBDIR)/sed" || exit 1; \
20587 case $(srcdir) in \
20588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20589 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
20590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20591 esac; \
20592 srcdiroption="--srcdir=$${topdir}/sed"; \
20593 libsrcdir="$$s/sed"; \
20594 $(SHELL) $${libsrcdir}/configure \
20595 $(HOST_CONFIGARGS) $${srcdiroption} \
20596 || exit 1
20597 @endif sed
20603 .PHONY: all-sed maybe-all-sed
20604 maybe-all-sed:
20605 @if sed
20606 TARGET-sed=all
20607 maybe-all-sed: all-sed
20608 all-sed: configure-sed
20609 @r=`${PWD_COMMAND}`; export r; \
20610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20611 $(HOST_EXPORTS) \
20612 (cd $(HOST_SUBDIR)/sed && \
20613 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
20614 @endif sed
20619 .PHONY: check-sed maybe-check-sed
20620 maybe-check-sed:
20621 @if sed
20622 maybe-check-sed: check-sed
20624 check-sed:
20625 @r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 $(HOST_EXPORTS) \
20628 (cd $(HOST_SUBDIR)/sed && \
20629 $(MAKE) $(FLAGS_TO_PASS) check)
20631 @endif sed
20633 .PHONY: install-sed maybe-install-sed
20634 maybe-install-sed:
20635 @if sed
20636 maybe-install-sed: install-sed
20638 install-sed: installdirs
20639 @r=`${PWD_COMMAND}`; export r; \
20640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20641 $(HOST_EXPORTS) \
20642 (cd $(HOST_SUBDIR)/sed && \
20643 $(MAKE) $(FLAGS_TO_PASS) install)
20645 @endif sed
20647 # Other targets (info, dvi, etc.)
20649 .PHONY: maybe-info-sed info-sed
20650 maybe-info-sed:
20651 @if sed
20652 maybe-info-sed: info-sed
20654 info-sed: \
20655 configure-sed
20656 @[ -f ./sed/Makefile ] || exit 0; \
20657 r=`${PWD_COMMAND}`; export r; \
20658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20659 $(HOST_EXPORTS) \
20660 for flag in $(EXTRA_HOST_FLAGS) ; do \
20661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20662 done; \
20663 echo "Doing info in sed" ; \
20664 (cd $(HOST_SUBDIR)/sed && \
20665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20667 "RANLIB=$${RANLIB}" \
20668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20669 info) \
20670 || exit 1
20672 @endif sed
20674 .PHONY: maybe-dvi-sed dvi-sed
20675 maybe-dvi-sed:
20676 @if sed
20677 maybe-dvi-sed: dvi-sed
20679 dvi-sed: \
20680 configure-sed
20681 @[ -f ./sed/Makefile ] || exit 0; \
20682 r=`${PWD_COMMAND}`; export r; \
20683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20684 $(HOST_EXPORTS) \
20685 for flag in $(EXTRA_HOST_FLAGS) ; do \
20686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20687 done; \
20688 echo "Doing dvi in sed" ; \
20689 (cd $(HOST_SUBDIR)/sed && \
20690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20692 "RANLIB=$${RANLIB}" \
20693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20694 dvi) \
20695 || exit 1
20697 @endif sed
20699 .PHONY: maybe-html-sed html-sed
20700 maybe-html-sed:
20701 @if sed
20702 maybe-html-sed: html-sed
20704 html-sed: \
20705 configure-sed
20706 @[ -f ./sed/Makefile ] || exit 0; \
20707 r=`${PWD_COMMAND}`; export r; \
20708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20709 $(HOST_EXPORTS) \
20710 for flag in $(EXTRA_HOST_FLAGS) ; do \
20711 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20712 done; \
20713 echo "Doing html in sed" ; \
20714 (cd $(HOST_SUBDIR)/sed && \
20715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20717 "RANLIB=$${RANLIB}" \
20718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20719 html) \
20720 || exit 1
20722 @endif sed
20724 .PHONY: maybe-TAGS-sed TAGS-sed
20725 maybe-TAGS-sed:
20726 @if sed
20727 maybe-TAGS-sed: TAGS-sed
20729 TAGS-sed: \
20730 configure-sed
20731 @[ -f ./sed/Makefile ] || exit 0; \
20732 r=`${PWD_COMMAND}`; export r; \
20733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20734 $(HOST_EXPORTS) \
20735 for flag in $(EXTRA_HOST_FLAGS) ; do \
20736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20737 done; \
20738 echo "Doing TAGS in sed" ; \
20739 (cd $(HOST_SUBDIR)/sed && \
20740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20742 "RANLIB=$${RANLIB}" \
20743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20744 TAGS) \
20745 || exit 1
20747 @endif sed
20749 .PHONY: maybe-install-info-sed install-info-sed
20750 maybe-install-info-sed:
20751 @if sed
20752 maybe-install-info-sed: install-info-sed
20754 install-info-sed: \
20755 configure-sed \
20756 info-sed
20757 @[ -f ./sed/Makefile ] || exit 0; \
20758 r=`${PWD_COMMAND}`; export r; \
20759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20760 $(HOST_EXPORTS) \
20761 for flag in $(EXTRA_HOST_FLAGS) ; do \
20762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20763 done; \
20764 echo "Doing install-info in sed" ; \
20765 (cd $(HOST_SUBDIR)/sed && \
20766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20768 "RANLIB=$${RANLIB}" \
20769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20770 install-info) \
20771 || exit 1
20773 @endif sed
20775 .PHONY: maybe-installcheck-sed installcheck-sed
20776 maybe-installcheck-sed:
20777 @if sed
20778 maybe-installcheck-sed: installcheck-sed
20780 installcheck-sed: \
20781 configure-sed
20782 @[ -f ./sed/Makefile ] || exit 0; \
20783 r=`${PWD_COMMAND}`; export r; \
20784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20785 $(HOST_EXPORTS) \
20786 for flag in $(EXTRA_HOST_FLAGS) ; do \
20787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20788 done; \
20789 echo "Doing installcheck in sed" ; \
20790 (cd $(HOST_SUBDIR)/sed && \
20791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20793 "RANLIB=$${RANLIB}" \
20794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20795 installcheck) \
20796 || exit 1
20798 @endif sed
20800 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
20801 maybe-mostlyclean-sed:
20802 @if sed
20803 maybe-mostlyclean-sed: mostlyclean-sed
20805 mostlyclean-sed:
20806 @[ -f ./sed/Makefile ] || exit 0; \
20807 r=`${PWD_COMMAND}`; export r; \
20808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20809 $(HOST_EXPORTS) \
20810 for flag in $(EXTRA_HOST_FLAGS) ; do \
20811 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20812 done; \
20813 echo "Doing mostlyclean in sed" ; \
20814 (cd $(HOST_SUBDIR)/sed && \
20815 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20816 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20817 "RANLIB=$${RANLIB}" \
20818 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20819 mostlyclean) \
20820 || exit 1
20822 @endif sed
20824 .PHONY: maybe-clean-sed clean-sed
20825 maybe-clean-sed:
20826 @if sed
20827 maybe-clean-sed: clean-sed
20829 clean-sed:
20830 @[ -f ./sed/Makefile ] || exit 0; \
20831 r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(HOST_EXPORTS) \
20834 for flag in $(EXTRA_HOST_FLAGS) ; do \
20835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20836 done; \
20837 echo "Doing clean in sed" ; \
20838 (cd $(HOST_SUBDIR)/sed && \
20839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20841 "RANLIB=$${RANLIB}" \
20842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20843 clean) \
20844 || exit 1
20846 @endif sed
20848 .PHONY: maybe-distclean-sed distclean-sed
20849 maybe-distclean-sed:
20850 @if sed
20851 maybe-distclean-sed: distclean-sed
20853 distclean-sed:
20854 @[ -f ./sed/Makefile ] || exit 0; \
20855 r=`${PWD_COMMAND}`; export r; \
20856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20857 $(HOST_EXPORTS) \
20858 for flag in $(EXTRA_HOST_FLAGS) ; do \
20859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20860 done; \
20861 echo "Doing distclean in sed" ; \
20862 (cd $(HOST_SUBDIR)/sed && \
20863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20865 "RANLIB=$${RANLIB}" \
20866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20867 distclean) \
20868 || exit 1
20870 @endif sed
20872 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
20873 maybe-maintainer-clean-sed:
20874 @if sed
20875 maybe-maintainer-clean-sed: maintainer-clean-sed
20877 maintainer-clean-sed:
20878 @[ -f ./sed/Makefile ] || exit 0; \
20879 r=`${PWD_COMMAND}`; export r; \
20880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20881 $(HOST_EXPORTS) \
20882 for flag in $(EXTRA_HOST_FLAGS) ; do \
20883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20884 done; \
20885 echo "Doing maintainer-clean in sed" ; \
20886 (cd $(HOST_SUBDIR)/sed && \
20887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20889 "RANLIB=$${RANLIB}" \
20890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20891 maintainer-clean) \
20892 || exit 1
20894 @endif sed
20898 .PHONY: configure-send-pr maybe-configure-send-pr
20899 maybe-configure-send-pr:
20900 @if send-pr
20901 maybe-configure-send-pr: configure-send-pr
20902 configure-send-pr:
20903 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
20904 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
20905 r=`${PWD_COMMAND}`; export r; \
20906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20907 $(HOST_EXPORTS) \
20908 echo Configuring in $(HOST_SUBDIR)/send-pr; \
20909 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
20910 case $(srcdir) in \
20911 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20912 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
20913 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20914 esac; \
20915 srcdiroption="--srcdir=$${topdir}/send-pr"; \
20916 libsrcdir="$$s/send-pr"; \
20917 $(SHELL) $${libsrcdir}/configure \
20918 $(HOST_CONFIGARGS) $${srcdiroption} \
20919 || exit 1
20920 @endif send-pr
20926 .PHONY: all-send-pr maybe-all-send-pr
20927 maybe-all-send-pr:
20928 @if send-pr
20929 TARGET-send-pr=all
20930 maybe-all-send-pr: all-send-pr
20931 all-send-pr: configure-send-pr
20932 @r=`${PWD_COMMAND}`; export r; \
20933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20934 $(HOST_EXPORTS) \
20935 (cd $(HOST_SUBDIR)/send-pr && \
20936 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
20937 @endif send-pr
20942 .PHONY: check-send-pr maybe-check-send-pr
20943 maybe-check-send-pr:
20944 @if send-pr
20945 maybe-check-send-pr: check-send-pr
20947 check-send-pr:
20948 @r=`${PWD_COMMAND}`; export r; \
20949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20950 $(HOST_EXPORTS) \
20951 (cd $(HOST_SUBDIR)/send-pr && \
20952 $(MAKE) $(FLAGS_TO_PASS) check)
20954 @endif send-pr
20956 .PHONY: install-send-pr maybe-install-send-pr
20957 maybe-install-send-pr:
20958 @if send-pr
20959 maybe-install-send-pr: install-send-pr
20961 install-send-pr: installdirs
20962 @r=`${PWD_COMMAND}`; export r; \
20963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20964 $(HOST_EXPORTS) \
20965 (cd $(HOST_SUBDIR)/send-pr && \
20966 $(MAKE) $(FLAGS_TO_PASS) install)
20968 @endif send-pr
20970 # Other targets (info, dvi, etc.)
20972 .PHONY: maybe-info-send-pr info-send-pr
20973 maybe-info-send-pr:
20974 @if send-pr
20975 maybe-info-send-pr: info-send-pr
20977 info-send-pr: \
20978 configure-send-pr
20979 @[ -f ./send-pr/Makefile ] || exit 0; \
20980 r=`${PWD_COMMAND}`; export r; \
20981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20982 $(HOST_EXPORTS) \
20983 for flag in $(EXTRA_HOST_FLAGS) ; do \
20984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20985 done; \
20986 echo "Doing info in send-pr" ; \
20987 (cd $(HOST_SUBDIR)/send-pr && \
20988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20990 "RANLIB=$${RANLIB}" \
20991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20992 info) \
20993 || exit 1
20995 @endif send-pr
20997 .PHONY: maybe-dvi-send-pr dvi-send-pr
20998 maybe-dvi-send-pr:
20999 @if send-pr
21000 maybe-dvi-send-pr: dvi-send-pr
21002 dvi-send-pr: \
21003 configure-send-pr
21004 @[ -f ./send-pr/Makefile ] || exit 0; \
21005 r=`${PWD_COMMAND}`; export r; \
21006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21007 $(HOST_EXPORTS) \
21008 for flag in $(EXTRA_HOST_FLAGS) ; do \
21009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21010 done; \
21011 echo "Doing dvi in send-pr" ; \
21012 (cd $(HOST_SUBDIR)/send-pr && \
21013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21015 "RANLIB=$${RANLIB}" \
21016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21017 dvi) \
21018 || exit 1
21020 @endif send-pr
21022 .PHONY: maybe-html-send-pr html-send-pr
21023 maybe-html-send-pr:
21024 @if send-pr
21025 maybe-html-send-pr: html-send-pr
21027 html-send-pr: \
21028 configure-send-pr
21029 @[ -f ./send-pr/Makefile ] || exit 0; \
21030 r=`${PWD_COMMAND}`; export r; \
21031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21032 $(HOST_EXPORTS) \
21033 for flag in $(EXTRA_HOST_FLAGS) ; do \
21034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21035 done; \
21036 echo "Doing html in send-pr" ; \
21037 (cd $(HOST_SUBDIR)/send-pr && \
21038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21040 "RANLIB=$${RANLIB}" \
21041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21042 html) \
21043 || exit 1
21045 @endif send-pr
21047 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21048 maybe-TAGS-send-pr:
21049 @if send-pr
21050 maybe-TAGS-send-pr: TAGS-send-pr
21052 TAGS-send-pr: \
21053 configure-send-pr
21054 @[ -f ./send-pr/Makefile ] || exit 0; \
21055 r=`${PWD_COMMAND}`; export r; \
21056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21057 $(HOST_EXPORTS) \
21058 for flag in $(EXTRA_HOST_FLAGS) ; do \
21059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21060 done; \
21061 echo "Doing TAGS in send-pr" ; \
21062 (cd $(HOST_SUBDIR)/send-pr && \
21063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21065 "RANLIB=$${RANLIB}" \
21066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21067 TAGS) \
21068 || exit 1
21070 @endif send-pr
21072 .PHONY: maybe-install-info-send-pr install-info-send-pr
21073 maybe-install-info-send-pr:
21074 @if send-pr
21075 maybe-install-info-send-pr: install-info-send-pr
21077 install-info-send-pr: \
21078 configure-send-pr \
21079 info-send-pr
21080 @[ -f ./send-pr/Makefile ] || exit 0; \
21081 r=`${PWD_COMMAND}`; export r; \
21082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21083 $(HOST_EXPORTS) \
21084 for flag in $(EXTRA_HOST_FLAGS) ; do \
21085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21086 done; \
21087 echo "Doing install-info in send-pr" ; \
21088 (cd $(HOST_SUBDIR)/send-pr && \
21089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21091 "RANLIB=$${RANLIB}" \
21092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21093 install-info) \
21094 || exit 1
21096 @endif send-pr
21098 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21099 maybe-installcheck-send-pr:
21100 @if send-pr
21101 maybe-installcheck-send-pr: installcheck-send-pr
21103 installcheck-send-pr: \
21104 configure-send-pr
21105 @[ -f ./send-pr/Makefile ] || exit 0; \
21106 r=`${PWD_COMMAND}`; export r; \
21107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21108 $(HOST_EXPORTS) \
21109 for flag in $(EXTRA_HOST_FLAGS) ; do \
21110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21111 done; \
21112 echo "Doing installcheck in send-pr" ; \
21113 (cd $(HOST_SUBDIR)/send-pr && \
21114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21116 "RANLIB=$${RANLIB}" \
21117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21118 installcheck) \
21119 || exit 1
21121 @endif send-pr
21123 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21124 maybe-mostlyclean-send-pr:
21125 @if send-pr
21126 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21128 mostlyclean-send-pr:
21129 @[ -f ./send-pr/Makefile ] || exit 0; \
21130 r=`${PWD_COMMAND}`; export r; \
21131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21132 $(HOST_EXPORTS) \
21133 for flag in $(EXTRA_HOST_FLAGS) ; do \
21134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21135 done; \
21136 echo "Doing mostlyclean in send-pr" ; \
21137 (cd $(HOST_SUBDIR)/send-pr && \
21138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21140 "RANLIB=$${RANLIB}" \
21141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21142 mostlyclean) \
21143 || exit 1
21145 @endif send-pr
21147 .PHONY: maybe-clean-send-pr clean-send-pr
21148 maybe-clean-send-pr:
21149 @if send-pr
21150 maybe-clean-send-pr: clean-send-pr
21152 clean-send-pr:
21153 @[ -f ./send-pr/Makefile ] || exit 0; \
21154 r=`${PWD_COMMAND}`; export r; \
21155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21156 $(HOST_EXPORTS) \
21157 for flag in $(EXTRA_HOST_FLAGS) ; do \
21158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21159 done; \
21160 echo "Doing clean in send-pr" ; \
21161 (cd $(HOST_SUBDIR)/send-pr && \
21162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21164 "RANLIB=$${RANLIB}" \
21165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21166 clean) \
21167 || exit 1
21169 @endif send-pr
21171 .PHONY: maybe-distclean-send-pr distclean-send-pr
21172 maybe-distclean-send-pr:
21173 @if send-pr
21174 maybe-distclean-send-pr: distclean-send-pr
21176 distclean-send-pr:
21177 @[ -f ./send-pr/Makefile ] || exit 0; \
21178 r=`${PWD_COMMAND}`; export r; \
21179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21180 $(HOST_EXPORTS) \
21181 for flag in $(EXTRA_HOST_FLAGS) ; do \
21182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21183 done; \
21184 echo "Doing distclean in send-pr" ; \
21185 (cd $(HOST_SUBDIR)/send-pr && \
21186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21188 "RANLIB=$${RANLIB}" \
21189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21190 distclean) \
21191 || exit 1
21193 @endif send-pr
21195 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
21196 maybe-maintainer-clean-send-pr:
21197 @if send-pr
21198 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
21200 maintainer-clean-send-pr:
21201 @[ -f ./send-pr/Makefile ] || exit 0; \
21202 r=`${PWD_COMMAND}`; export r; \
21203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21204 $(HOST_EXPORTS) \
21205 for flag in $(EXTRA_HOST_FLAGS) ; do \
21206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21207 done; \
21208 echo "Doing maintainer-clean in send-pr" ; \
21209 (cd $(HOST_SUBDIR)/send-pr && \
21210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21212 "RANLIB=$${RANLIB}" \
21213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21214 maintainer-clean) \
21215 || exit 1
21217 @endif send-pr
21221 .PHONY: configure-shellutils maybe-configure-shellutils
21222 maybe-configure-shellutils:
21223 @if shellutils
21224 maybe-configure-shellutils: configure-shellutils
21225 configure-shellutils:
21226 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
21227 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
21228 r=`${PWD_COMMAND}`; export r; \
21229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21230 $(HOST_EXPORTS) \
21231 echo Configuring in $(HOST_SUBDIR)/shellutils; \
21232 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
21233 case $(srcdir) in \
21234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21235 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
21236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21237 esac; \
21238 srcdiroption="--srcdir=$${topdir}/shellutils"; \
21239 libsrcdir="$$s/shellutils"; \
21240 $(SHELL) $${libsrcdir}/configure \
21241 $(HOST_CONFIGARGS) $${srcdiroption} \
21242 || exit 1
21243 @endif shellutils
21249 .PHONY: all-shellutils maybe-all-shellutils
21250 maybe-all-shellutils:
21251 @if shellutils
21252 TARGET-shellutils=all
21253 maybe-all-shellutils: all-shellutils
21254 all-shellutils: configure-shellutils
21255 @r=`${PWD_COMMAND}`; export r; \
21256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21257 $(HOST_EXPORTS) \
21258 (cd $(HOST_SUBDIR)/shellutils && \
21259 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
21260 @endif shellutils
21265 .PHONY: check-shellutils maybe-check-shellutils
21266 maybe-check-shellutils:
21267 @if shellutils
21268 maybe-check-shellutils: check-shellutils
21270 check-shellutils:
21271 @r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(HOST_EXPORTS) \
21274 (cd $(HOST_SUBDIR)/shellutils && \
21275 $(MAKE) $(FLAGS_TO_PASS) check)
21277 @endif shellutils
21279 .PHONY: install-shellutils maybe-install-shellutils
21280 maybe-install-shellutils:
21281 @if shellutils
21282 maybe-install-shellutils: install-shellutils
21284 install-shellutils: installdirs
21285 @r=`${PWD_COMMAND}`; export r; \
21286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21287 $(HOST_EXPORTS) \
21288 (cd $(HOST_SUBDIR)/shellutils && \
21289 $(MAKE) $(FLAGS_TO_PASS) install)
21291 @endif shellutils
21293 # Other targets (info, dvi, etc.)
21295 .PHONY: maybe-info-shellutils info-shellutils
21296 maybe-info-shellutils:
21297 @if shellutils
21298 maybe-info-shellutils: info-shellutils
21300 info-shellutils: \
21301 configure-shellutils
21302 @[ -f ./shellutils/Makefile ] || exit 0; \
21303 r=`${PWD_COMMAND}`; export r; \
21304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21305 $(HOST_EXPORTS) \
21306 for flag in $(EXTRA_HOST_FLAGS) ; do \
21307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21308 done; \
21309 echo "Doing info in shellutils" ; \
21310 (cd $(HOST_SUBDIR)/shellutils && \
21311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21313 "RANLIB=$${RANLIB}" \
21314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21315 info) \
21316 || exit 1
21318 @endif shellutils
21320 .PHONY: maybe-dvi-shellutils dvi-shellutils
21321 maybe-dvi-shellutils:
21322 @if shellutils
21323 maybe-dvi-shellutils: dvi-shellutils
21325 dvi-shellutils: \
21326 configure-shellutils
21327 @[ -f ./shellutils/Makefile ] || exit 0; \
21328 r=`${PWD_COMMAND}`; export r; \
21329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21330 $(HOST_EXPORTS) \
21331 for flag in $(EXTRA_HOST_FLAGS) ; do \
21332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21333 done; \
21334 echo "Doing dvi in shellutils" ; \
21335 (cd $(HOST_SUBDIR)/shellutils && \
21336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21338 "RANLIB=$${RANLIB}" \
21339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21340 dvi) \
21341 || exit 1
21343 @endif shellutils
21345 .PHONY: maybe-html-shellutils html-shellutils
21346 maybe-html-shellutils:
21347 @if shellutils
21348 maybe-html-shellutils: html-shellutils
21350 html-shellutils: \
21351 configure-shellutils
21352 @[ -f ./shellutils/Makefile ] || exit 0; \
21353 r=`${PWD_COMMAND}`; export r; \
21354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21355 $(HOST_EXPORTS) \
21356 for flag in $(EXTRA_HOST_FLAGS) ; do \
21357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21358 done; \
21359 echo "Doing html in shellutils" ; \
21360 (cd $(HOST_SUBDIR)/shellutils && \
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 html) \
21366 || exit 1
21368 @endif shellutils
21370 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
21371 maybe-TAGS-shellutils:
21372 @if shellutils
21373 maybe-TAGS-shellutils: TAGS-shellutils
21375 TAGS-shellutils: \
21376 configure-shellutils
21377 @[ -f ./shellutils/Makefile ] || exit 0; \
21378 r=`${PWD_COMMAND}`; export r; \
21379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21380 $(HOST_EXPORTS) \
21381 for flag in $(EXTRA_HOST_FLAGS) ; do \
21382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21383 done; \
21384 echo "Doing TAGS in shellutils" ; \
21385 (cd $(HOST_SUBDIR)/shellutils && \
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 TAGS) \
21391 || exit 1
21393 @endif shellutils
21395 .PHONY: maybe-install-info-shellutils install-info-shellutils
21396 maybe-install-info-shellutils:
21397 @if shellutils
21398 maybe-install-info-shellutils: install-info-shellutils
21400 install-info-shellutils: \
21401 configure-shellutils \
21402 info-shellutils
21403 @[ -f ./shellutils/Makefile ] || exit 0; \
21404 r=`${PWD_COMMAND}`; export r; \
21405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21406 $(HOST_EXPORTS) \
21407 for flag in $(EXTRA_HOST_FLAGS) ; do \
21408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21409 done; \
21410 echo "Doing install-info in shellutils" ; \
21411 (cd $(HOST_SUBDIR)/shellutils && \
21412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21414 "RANLIB=$${RANLIB}" \
21415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21416 install-info) \
21417 || exit 1
21419 @endif shellutils
21421 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
21422 maybe-installcheck-shellutils:
21423 @if shellutils
21424 maybe-installcheck-shellutils: installcheck-shellutils
21426 installcheck-shellutils: \
21427 configure-shellutils
21428 @[ -f ./shellutils/Makefile ] || exit 0; \
21429 r=`${PWD_COMMAND}`; export r; \
21430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21431 $(HOST_EXPORTS) \
21432 for flag in $(EXTRA_HOST_FLAGS) ; do \
21433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21434 done; \
21435 echo "Doing installcheck in shellutils" ; \
21436 (cd $(HOST_SUBDIR)/shellutils && \
21437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21439 "RANLIB=$${RANLIB}" \
21440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21441 installcheck) \
21442 || exit 1
21444 @endif shellutils
21446 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
21447 maybe-mostlyclean-shellutils:
21448 @if shellutils
21449 maybe-mostlyclean-shellutils: mostlyclean-shellutils
21451 mostlyclean-shellutils:
21452 @[ -f ./shellutils/Makefile ] || exit 0; \
21453 r=`${PWD_COMMAND}`; export r; \
21454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21455 $(HOST_EXPORTS) \
21456 for flag in $(EXTRA_HOST_FLAGS) ; do \
21457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21458 done; \
21459 echo "Doing mostlyclean in shellutils" ; \
21460 (cd $(HOST_SUBDIR)/shellutils && \
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 mostlyclean) \
21466 || exit 1
21468 @endif shellutils
21470 .PHONY: maybe-clean-shellutils clean-shellutils
21471 maybe-clean-shellutils:
21472 @if shellutils
21473 maybe-clean-shellutils: clean-shellutils
21475 clean-shellutils:
21476 @[ -f ./shellutils/Makefile ] || exit 0; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 $(HOST_EXPORTS) \
21480 for flag in $(EXTRA_HOST_FLAGS) ; do \
21481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21482 done; \
21483 echo "Doing clean in shellutils" ; \
21484 (cd $(HOST_SUBDIR)/shellutils && \
21485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21487 "RANLIB=$${RANLIB}" \
21488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21489 clean) \
21490 || exit 1
21492 @endif shellutils
21494 .PHONY: maybe-distclean-shellutils distclean-shellutils
21495 maybe-distclean-shellutils:
21496 @if shellutils
21497 maybe-distclean-shellutils: distclean-shellutils
21499 distclean-shellutils:
21500 @[ -f ./shellutils/Makefile ] || exit 0; \
21501 r=`${PWD_COMMAND}`; export r; \
21502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21503 $(HOST_EXPORTS) \
21504 for flag in $(EXTRA_HOST_FLAGS) ; do \
21505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21506 done; \
21507 echo "Doing distclean in shellutils" ; \
21508 (cd $(HOST_SUBDIR)/shellutils && \
21509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21511 "RANLIB=$${RANLIB}" \
21512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21513 distclean) \
21514 || exit 1
21516 @endif shellutils
21518 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
21519 maybe-maintainer-clean-shellutils:
21520 @if shellutils
21521 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
21523 maintainer-clean-shellutils:
21524 @[ -f ./shellutils/Makefile ] || exit 0; \
21525 r=`${PWD_COMMAND}`; export r; \
21526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21527 $(HOST_EXPORTS) \
21528 for flag in $(EXTRA_HOST_FLAGS) ; do \
21529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21530 done; \
21531 echo "Doing maintainer-clean in shellutils" ; \
21532 (cd $(HOST_SUBDIR)/shellutils && \
21533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21535 "RANLIB=$${RANLIB}" \
21536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21537 maintainer-clean) \
21538 || exit 1
21540 @endif shellutils
21544 .PHONY: configure-sid maybe-configure-sid
21545 maybe-configure-sid:
21546 @if sid
21547 maybe-configure-sid: configure-sid
21548 configure-sid:
21549 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
21550 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
21551 r=`${PWD_COMMAND}`; export r; \
21552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21553 $(HOST_EXPORTS) \
21554 echo Configuring in $(HOST_SUBDIR)/sid; \
21555 cd "$(HOST_SUBDIR)/sid" || exit 1; \
21556 case $(srcdir) in \
21557 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21558 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
21559 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21560 esac; \
21561 srcdiroption="--srcdir=$${topdir}/sid"; \
21562 libsrcdir="$$s/sid"; \
21563 $(SHELL) $${libsrcdir}/configure \
21564 $(HOST_CONFIGARGS) $${srcdiroption} \
21565 || exit 1
21566 @endif sid
21572 .PHONY: all-sid maybe-all-sid
21573 maybe-all-sid:
21574 @if sid
21575 TARGET-sid=all
21576 maybe-all-sid: all-sid
21577 all-sid: configure-sid
21578 @r=`${PWD_COMMAND}`; export r; \
21579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21580 $(HOST_EXPORTS) \
21581 (cd $(HOST_SUBDIR)/sid && \
21582 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
21583 @endif sid
21588 .PHONY: check-sid maybe-check-sid
21589 maybe-check-sid:
21590 @if sid
21591 maybe-check-sid: check-sid
21593 check-sid:
21594 @r=`${PWD_COMMAND}`; export r; \
21595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21596 $(HOST_EXPORTS) \
21597 (cd $(HOST_SUBDIR)/sid && \
21598 $(MAKE) $(FLAGS_TO_PASS) check)
21600 @endif sid
21602 .PHONY: install-sid maybe-install-sid
21603 maybe-install-sid:
21604 @if sid
21605 maybe-install-sid: install-sid
21607 install-sid: installdirs
21608 @r=`${PWD_COMMAND}`; export r; \
21609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21610 $(HOST_EXPORTS) \
21611 (cd $(HOST_SUBDIR)/sid && \
21612 $(MAKE) $(FLAGS_TO_PASS) install)
21614 @endif sid
21616 # Other targets (info, dvi, etc.)
21618 .PHONY: maybe-info-sid info-sid
21619 maybe-info-sid:
21620 @if sid
21621 maybe-info-sid: info-sid
21623 info-sid: \
21624 configure-sid
21625 @[ -f ./sid/Makefile ] || exit 0; \
21626 r=`${PWD_COMMAND}`; export r; \
21627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21628 $(HOST_EXPORTS) \
21629 for flag in $(EXTRA_HOST_FLAGS) ; do \
21630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21631 done; \
21632 echo "Doing info in sid" ; \
21633 (cd $(HOST_SUBDIR)/sid && \
21634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21636 "RANLIB=$${RANLIB}" \
21637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21638 info) \
21639 || exit 1
21641 @endif sid
21643 .PHONY: maybe-dvi-sid dvi-sid
21644 maybe-dvi-sid:
21645 @if sid
21646 maybe-dvi-sid: dvi-sid
21648 dvi-sid: \
21649 configure-sid
21650 @[ -f ./sid/Makefile ] || exit 0; \
21651 r=`${PWD_COMMAND}`; export r; \
21652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21653 $(HOST_EXPORTS) \
21654 for flag in $(EXTRA_HOST_FLAGS) ; do \
21655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21656 done; \
21657 echo "Doing dvi in sid" ; \
21658 (cd $(HOST_SUBDIR)/sid && \
21659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21661 "RANLIB=$${RANLIB}" \
21662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21663 dvi) \
21664 || exit 1
21666 @endif sid
21668 .PHONY: maybe-html-sid html-sid
21669 maybe-html-sid:
21670 @if sid
21671 maybe-html-sid: html-sid
21673 html-sid: \
21674 configure-sid
21675 @[ -f ./sid/Makefile ] || exit 0; \
21676 r=`${PWD_COMMAND}`; export r; \
21677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21678 $(HOST_EXPORTS) \
21679 for flag in $(EXTRA_HOST_FLAGS) ; do \
21680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21681 done; \
21682 echo "Doing html in sid" ; \
21683 (cd $(HOST_SUBDIR)/sid && \
21684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21686 "RANLIB=$${RANLIB}" \
21687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21688 html) \
21689 || exit 1
21691 @endif sid
21693 .PHONY: maybe-TAGS-sid TAGS-sid
21694 maybe-TAGS-sid:
21695 @if sid
21696 maybe-TAGS-sid: TAGS-sid
21698 TAGS-sid: \
21699 configure-sid
21700 @[ -f ./sid/Makefile ] || exit 0; \
21701 r=`${PWD_COMMAND}`; export r; \
21702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21703 $(HOST_EXPORTS) \
21704 for flag in $(EXTRA_HOST_FLAGS) ; do \
21705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21706 done; \
21707 echo "Doing TAGS in sid" ; \
21708 (cd $(HOST_SUBDIR)/sid && \
21709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21711 "RANLIB=$${RANLIB}" \
21712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21713 TAGS) \
21714 || exit 1
21716 @endif sid
21718 .PHONY: maybe-install-info-sid install-info-sid
21719 maybe-install-info-sid:
21720 @if sid
21721 maybe-install-info-sid: install-info-sid
21723 install-info-sid: \
21724 configure-sid \
21725 info-sid
21726 @[ -f ./sid/Makefile ] || exit 0; \
21727 r=`${PWD_COMMAND}`; export r; \
21728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21729 $(HOST_EXPORTS) \
21730 for flag in $(EXTRA_HOST_FLAGS) ; do \
21731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21732 done; \
21733 echo "Doing install-info in sid" ; \
21734 (cd $(HOST_SUBDIR)/sid && \
21735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21737 "RANLIB=$${RANLIB}" \
21738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21739 install-info) \
21740 || exit 1
21742 @endif sid
21744 .PHONY: maybe-installcheck-sid installcheck-sid
21745 maybe-installcheck-sid:
21746 @if sid
21747 maybe-installcheck-sid: installcheck-sid
21749 installcheck-sid: \
21750 configure-sid
21751 @[ -f ./sid/Makefile ] || exit 0; \
21752 r=`${PWD_COMMAND}`; export r; \
21753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21754 $(HOST_EXPORTS) \
21755 for flag in $(EXTRA_HOST_FLAGS) ; do \
21756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21757 done; \
21758 echo "Doing installcheck in sid" ; \
21759 (cd $(HOST_SUBDIR)/sid && \
21760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21762 "RANLIB=$${RANLIB}" \
21763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21764 installcheck) \
21765 || exit 1
21767 @endif sid
21769 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
21770 maybe-mostlyclean-sid:
21771 @if sid
21772 maybe-mostlyclean-sid: mostlyclean-sid
21774 mostlyclean-sid:
21775 @[ -f ./sid/Makefile ] || exit 0; \
21776 r=`${PWD_COMMAND}`; export r; \
21777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21778 $(HOST_EXPORTS) \
21779 for flag in $(EXTRA_HOST_FLAGS) ; do \
21780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21781 done; \
21782 echo "Doing mostlyclean in sid" ; \
21783 (cd $(HOST_SUBDIR)/sid && \
21784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21786 "RANLIB=$${RANLIB}" \
21787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21788 mostlyclean) \
21789 || exit 1
21791 @endif sid
21793 .PHONY: maybe-clean-sid clean-sid
21794 maybe-clean-sid:
21795 @if sid
21796 maybe-clean-sid: clean-sid
21798 clean-sid:
21799 @[ -f ./sid/Makefile ] || exit 0; \
21800 r=`${PWD_COMMAND}`; export r; \
21801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21802 $(HOST_EXPORTS) \
21803 for flag in $(EXTRA_HOST_FLAGS) ; do \
21804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21805 done; \
21806 echo "Doing clean in sid" ; \
21807 (cd $(HOST_SUBDIR)/sid && \
21808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21810 "RANLIB=$${RANLIB}" \
21811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21812 clean) \
21813 || exit 1
21815 @endif sid
21817 .PHONY: maybe-distclean-sid distclean-sid
21818 maybe-distclean-sid:
21819 @if sid
21820 maybe-distclean-sid: distclean-sid
21822 distclean-sid:
21823 @[ -f ./sid/Makefile ] || exit 0; \
21824 r=`${PWD_COMMAND}`; export r; \
21825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21826 $(HOST_EXPORTS) \
21827 for flag in $(EXTRA_HOST_FLAGS) ; do \
21828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21829 done; \
21830 echo "Doing distclean in sid" ; \
21831 (cd $(HOST_SUBDIR)/sid && \
21832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21834 "RANLIB=$${RANLIB}" \
21835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21836 distclean) \
21837 || exit 1
21839 @endif sid
21841 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
21842 maybe-maintainer-clean-sid:
21843 @if sid
21844 maybe-maintainer-clean-sid: maintainer-clean-sid
21846 maintainer-clean-sid:
21847 @[ -f ./sid/Makefile ] || exit 0; \
21848 r=`${PWD_COMMAND}`; export r; \
21849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21850 $(HOST_EXPORTS) \
21851 for flag in $(EXTRA_HOST_FLAGS) ; do \
21852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21853 done; \
21854 echo "Doing maintainer-clean in sid" ; \
21855 (cd $(HOST_SUBDIR)/sid && \
21856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21858 "RANLIB=$${RANLIB}" \
21859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21860 maintainer-clean) \
21861 || exit 1
21863 @endif sid
21867 .PHONY: configure-sim maybe-configure-sim
21868 maybe-configure-sim:
21869 @if sim
21870 maybe-configure-sim: configure-sim
21871 configure-sim:
21872 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
21873 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
21874 r=`${PWD_COMMAND}`; export r; \
21875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21876 $(HOST_EXPORTS) \
21877 echo Configuring in $(HOST_SUBDIR)/sim; \
21878 cd "$(HOST_SUBDIR)/sim" || exit 1; \
21879 case $(srcdir) in \
21880 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21881 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
21882 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21883 esac; \
21884 srcdiroption="--srcdir=$${topdir}/sim"; \
21885 libsrcdir="$$s/sim"; \
21886 $(SHELL) $${libsrcdir}/configure \
21887 $(HOST_CONFIGARGS) $${srcdiroption} \
21888 || exit 1
21889 @endif sim
21895 .PHONY: all-sim maybe-all-sim
21896 maybe-all-sim:
21897 @if sim
21898 TARGET-sim=all
21899 maybe-all-sim: all-sim
21900 all-sim: configure-sim
21901 @r=`${PWD_COMMAND}`; export r; \
21902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21903 $(HOST_EXPORTS) \
21904 (cd $(HOST_SUBDIR)/sim && \
21905 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
21906 @endif sim
21911 .PHONY: check-sim maybe-check-sim
21912 maybe-check-sim:
21913 @if sim
21914 maybe-check-sim: check-sim
21916 check-sim:
21917 @r=`${PWD_COMMAND}`; export r; \
21918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21919 $(HOST_EXPORTS) \
21920 (cd $(HOST_SUBDIR)/sim && \
21921 $(MAKE) $(FLAGS_TO_PASS) check)
21923 @endif sim
21925 .PHONY: install-sim maybe-install-sim
21926 maybe-install-sim:
21927 @if sim
21928 maybe-install-sim: install-sim
21930 install-sim: installdirs
21931 @r=`${PWD_COMMAND}`; export r; \
21932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21933 $(HOST_EXPORTS) \
21934 (cd $(HOST_SUBDIR)/sim && \
21935 $(MAKE) $(FLAGS_TO_PASS) install)
21937 @endif sim
21939 # Other targets (info, dvi, etc.)
21941 .PHONY: maybe-info-sim info-sim
21942 maybe-info-sim:
21943 @if sim
21944 maybe-info-sim: info-sim
21946 info-sim: \
21947 configure-sim
21948 @[ -f ./sim/Makefile ] || exit 0; \
21949 r=`${PWD_COMMAND}`; export r; \
21950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21951 $(HOST_EXPORTS) \
21952 for flag in $(EXTRA_HOST_FLAGS) ; do \
21953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21954 done; \
21955 echo "Doing info in sim" ; \
21956 (cd $(HOST_SUBDIR)/sim && \
21957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21959 "RANLIB=$${RANLIB}" \
21960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21961 info) \
21962 || exit 1
21964 @endif sim
21966 .PHONY: maybe-dvi-sim dvi-sim
21967 maybe-dvi-sim:
21968 @if sim
21969 maybe-dvi-sim: dvi-sim
21971 dvi-sim: \
21972 configure-sim
21973 @[ -f ./sim/Makefile ] || exit 0; \
21974 r=`${PWD_COMMAND}`; export r; \
21975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21976 $(HOST_EXPORTS) \
21977 for flag in $(EXTRA_HOST_FLAGS) ; do \
21978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21979 done; \
21980 echo "Doing dvi in sim" ; \
21981 (cd $(HOST_SUBDIR)/sim && \
21982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21984 "RANLIB=$${RANLIB}" \
21985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21986 dvi) \
21987 || exit 1
21989 @endif sim
21991 .PHONY: maybe-html-sim html-sim
21992 maybe-html-sim:
21993 @if sim
21994 maybe-html-sim: html-sim
21996 html-sim: \
21997 configure-sim
21998 @[ -f ./sim/Makefile ] || exit 0; \
21999 r=`${PWD_COMMAND}`; export r; \
22000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22001 $(HOST_EXPORTS) \
22002 for flag in $(EXTRA_HOST_FLAGS) ; do \
22003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22004 done; \
22005 echo "Doing html in sim" ; \
22006 (cd $(HOST_SUBDIR)/sim && \
22007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22009 "RANLIB=$${RANLIB}" \
22010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22011 html) \
22012 || exit 1
22014 @endif sim
22016 .PHONY: maybe-TAGS-sim TAGS-sim
22017 maybe-TAGS-sim:
22018 @if sim
22019 maybe-TAGS-sim: TAGS-sim
22021 TAGS-sim: \
22022 configure-sim
22023 @[ -f ./sim/Makefile ] || exit 0; \
22024 r=`${PWD_COMMAND}`; export r; \
22025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22026 $(HOST_EXPORTS) \
22027 for flag in $(EXTRA_HOST_FLAGS) ; do \
22028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22029 done; \
22030 echo "Doing TAGS in sim" ; \
22031 (cd $(HOST_SUBDIR)/sim && \
22032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22034 "RANLIB=$${RANLIB}" \
22035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22036 TAGS) \
22037 || exit 1
22039 @endif sim
22041 .PHONY: maybe-install-info-sim install-info-sim
22042 maybe-install-info-sim:
22043 @if sim
22044 maybe-install-info-sim: install-info-sim
22046 install-info-sim: \
22047 configure-sim \
22048 info-sim
22049 @[ -f ./sim/Makefile ] || exit 0; \
22050 r=`${PWD_COMMAND}`; export r; \
22051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22052 $(HOST_EXPORTS) \
22053 for flag in $(EXTRA_HOST_FLAGS) ; do \
22054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22055 done; \
22056 echo "Doing install-info in sim" ; \
22057 (cd $(HOST_SUBDIR)/sim && \
22058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22060 "RANLIB=$${RANLIB}" \
22061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22062 install-info) \
22063 || exit 1
22065 @endif sim
22067 .PHONY: maybe-installcheck-sim installcheck-sim
22068 maybe-installcheck-sim:
22069 @if sim
22070 maybe-installcheck-sim: installcheck-sim
22072 installcheck-sim: \
22073 configure-sim
22074 @[ -f ./sim/Makefile ] || exit 0; \
22075 r=`${PWD_COMMAND}`; export r; \
22076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22077 $(HOST_EXPORTS) \
22078 for flag in $(EXTRA_HOST_FLAGS) ; do \
22079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22080 done; \
22081 echo "Doing installcheck in sim" ; \
22082 (cd $(HOST_SUBDIR)/sim && \
22083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22085 "RANLIB=$${RANLIB}" \
22086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22087 installcheck) \
22088 || exit 1
22090 @endif sim
22092 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22093 maybe-mostlyclean-sim:
22094 @if sim
22095 maybe-mostlyclean-sim: mostlyclean-sim
22097 mostlyclean-sim:
22098 @[ -f ./sim/Makefile ] || exit 0; \
22099 r=`${PWD_COMMAND}`; export r; \
22100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22101 $(HOST_EXPORTS) \
22102 for flag in $(EXTRA_HOST_FLAGS) ; do \
22103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22104 done; \
22105 echo "Doing mostlyclean in sim" ; \
22106 (cd $(HOST_SUBDIR)/sim && \
22107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22109 "RANLIB=$${RANLIB}" \
22110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22111 mostlyclean) \
22112 || exit 1
22114 @endif sim
22116 .PHONY: maybe-clean-sim clean-sim
22117 maybe-clean-sim:
22118 @if sim
22119 maybe-clean-sim: clean-sim
22121 clean-sim:
22122 @[ -f ./sim/Makefile ] || exit 0; \
22123 r=`${PWD_COMMAND}`; export r; \
22124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22125 $(HOST_EXPORTS) \
22126 for flag in $(EXTRA_HOST_FLAGS) ; do \
22127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22128 done; \
22129 echo "Doing clean in sim" ; \
22130 (cd $(HOST_SUBDIR)/sim && \
22131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22133 "RANLIB=$${RANLIB}" \
22134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22135 clean) \
22136 || exit 1
22138 @endif sim
22140 .PHONY: maybe-distclean-sim distclean-sim
22141 maybe-distclean-sim:
22142 @if sim
22143 maybe-distclean-sim: distclean-sim
22145 distclean-sim:
22146 @[ -f ./sim/Makefile ] || exit 0; \
22147 r=`${PWD_COMMAND}`; export r; \
22148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22149 $(HOST_EXPORTS) \
22150 for flag in $(EXTRA_HOST_FLAGS) ; do \
22151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22152 done; \
22153 echo "Doing distclean in sim" ; \
22154 (cd $(HOST_SUBDIR)/sim && \
22155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22157 "RANLIB=$${RANLIB}" \
22158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22159 distclean) \
22160 || exit 1
22162 @endif sim
22164 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
22165 maybe-maintainer-clean-sim:
22166 @if sim
22167 maybe-maintainer-clean-sim: maintainer-clean-sim
22169 maintainer-clean-sim:
22170 @[ -f ./sim/Makefile ] || exit 0; \
22171 r=`${PWD_COMMAND}`; export r; \
22172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22173 $(HOST_EXPORTS) \
22174 for flag in $(EXTRA_HOST_FLAGS) ; do \
22175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22176 done; \
22177 echo "Doing maintainer-clean in sim" ; \
22178 (cd $(HOST_SUBDIR)/sim && \
22179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22181 "RANLIB=$${RANLIB}" \
22182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22183 maintainer-clean) \
22184 || exit 1
22186 @endif sim
22190 .PHONY: configure-tar maybe-configure-tar
22191 maybe-configure-tar:
22192 @if tar
22193 maybe-configure-tar: configure-tar
22194 configure-tar:
22195 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
22196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
22197 r=`${PWD_COMMAND}`; export r; \
22198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22199 $(HOST_EXPORTS) \
22200 echo Configuring in $(HOST_SUBDIR)/tar; \
22201 cd "$(HOST_SUBDIR)/tar" || exit 1; \
22202 case $(srcdir) in \
22203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22204 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
22205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22206 esac; \
22207 srcdiroption="--srcdir=$${topdir}/tar"; \
22208 libsrcdir="$$s/tar"; \
22209 $(SHELL) $${libsrcdir}/configure \
22210 $(HOST_CONFIGARGS) $${srcdiroption} \
22211 || exit 1
22212 @endif tar
22218 .PHONY: all-tar maybe-all-tar
22219 maybe-all-tar:
22220 @if tar
22221 TARGET-tar=all
22222 maybe-all-tar: all-tar
22223 all-tar: configure-tar
22224 @r=`${PWD_COMMAND}`; export r; \
22225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22226 $(HOST_EXPORTS) \
22227 (cd $(HOST_SUBDIR)/tar && \
22228 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
22229 @endif tar
22234 .PHONY: check-tar maybe-check-tar
22235 maybe-check-tar:
22236 @if tar
22237 maybe-check-tar: check-tar
22239 check-tar:
22240 @r=`${PWD_COMMAND}`; export r; \
22241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22242 $(HOST_EXPORTS) \
22243 (cd $(HOST_SUBDIR)/tar && \
22244 $(MAKE) $(FLAGS_TO_PASS) check)
22246 @endif tar
22248 .PHONY: install-tar maybe-install-tar
22249 maybe-install-tar:
22250 @if tar
22251 maybe-install-tar: install-tar
22253 install-tar: installdirs
22254 @r=`${PWD_COMMAND}`; export r; \
22255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22256 $(HOST_EXPORTS) \
22257 (cd $(HOST_SUBDIR)/tar && \
22258 $(MAKE) $(FLAGS_TO_PASS) install)
22260 @endif tar
22262 # Other targets (info, dvi, etc.)
22264 .PHONY: maybe-info-tar info-tar
22265 maybe-info-tar:
22266 @if tar
22267 maybe-info-tar: info-tar
22269 info-tar: \
22270 configure-tar
22271 @[ -f ./tar/Makefile ] || exit 0; \
22272 r=`${PWD_COMMAND}`; export r; \
22273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22274 $(HOST_EXPORTS) \
22275 for flag in $(EXTRA_HOST_FLAGS) ; do \
22276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22277 done; \
22278 echo "Doing info in tar" ; \
22279 (cd $(HOST_SUBDIR)/tar && \
22280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22282 "RANLIB=$${RANLIB}" \
22283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22284 info) \
22285 || exit 1
22287 @endif tar
22289 .PHONY: maybe-dvi-tar dvi-tar
22290 maybe-dvi-tar:
22291 @if tar
22292 maybe-dvi-tar: dvi-tar
22294 dvi-tar: \
22295 configure-tar
22296 @[ -f ./tar/Makefile ] || exit 0; \
22297 r=`${PWD_COMMAND}`; export r; \
22298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22299 $(HOST_EXPORTS) \
22300 for flag in $(EXTRA_HOST_FLAGS) ; do \
22301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22302 done; \
22303 echo "Doing dvi in tar" ; \
22304 (cd $(HOST_SUBDIR)/tar && \
22305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22307 "RANLIB=$${RANLIB}" \
22308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22309 dvi) \
22310 || exit 1
22312 @endif tar
22314 .PHONY: maybe-html-tar html-tar
22315 maybe-html-tar:
22316 @if tar
22317 maybe-html-tar: html-tar
22319 html-tar: \
22320 configure-tar
22321 @[ -f ./tar/Makefile ] || exit 0; \
22322 r=`${PWD_COMMAND}`; export r; \
22323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22324 $(HOST_EXPORTS) \
22325 for flag in $(EXTRA_HOST_FLAGS) ; do \
22326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22327 done; \
22328 echo "Doing html in tar" ; \
22329 (cd $(HOST_SUBDIR)/tar && \
22330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22332 "RANLIB=$${RANLIB}" \
22333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22334 html) \
22335 || exit 1
22337 @endif tar
22339 .PHONY: maybe-TAGS-tar TAGS-tar
22340 maybe-TAGS-tar:
22341 @if tar
22342 maybe-TAGS-tar: TAGS-tar
22344 TAGS-tar: \
22345 configure-tar
22346 @[ -f ./tar/Makefile ] || exit 0; \
22347 r=`${PWD_COMMAND}`; export r; \
22348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22349 $(HOST_EXPORTS) \
22350 for flag in $(EXTRA_HOST_FLAGS) ; do \
22351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22352 done; \
22353 echo "Doing TAGS in tar" ; \
22354 (cd $(HOST_SUBDIR)/tar && \
22355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22357 "RANLIB=$${RANLIB}" \
22358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22359 TAGS) \
22360 || exit 1
22362 @endif tar
22364 .PHONY: maybe-install-info-tar install-info-tar
22365 maybe-install-info-tar:
22366 @if tar
22367 maybe-install-info-tar: install-info-tar
22369 install-info-tar: \
22370 configure-tar \
22371 info-tar
22372 @[ -f ./tar/Makefile ] || exit 0; \
22373 r=`${PWD_COMMAND}`; export r; \
22374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22375 $(HOST_EXPORTS) \
22376 for flag in $(EXTRA_HOST_FLAGS) ; do \
22377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22378 done; \
22379 echo "Doing install-info in tar" ; \
22380 (cd $(HOST_SUBDIR)/tar && \
22381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22383 "RANLIB=$${RANLIB}" \
22384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22385 install-info) \
22386 || exit 1
22388 @endif tar
22390 .PHONY: maybe-installcheck-tar installcheck-tar
22391 maybe-installcheck-tar:
22392 @if tar
22393 maybe-installcheck-tar: installcheck-tar
22395 installcheck-tar: \
22396 configure-tar
22397 @[ -f ./tar/Makefile ] || exit 0; \
22398 r=`${PWD_COMMAND}`; export r; \
22399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22400 $(HOST_EXPORTS) \
22401 for flag in $(EXTRA_HOST_FLAGS) ; do \
22402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22403 done; \
22404 echo "Doing installcheck in tar" ; \
22405 (cd $(HOST_SUBDIR)/tar && \
22406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22408 "RANLIB=$${RANLIB}" \
22409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22410 installcheck) \
22411 || exit 1
22413 @endif tar
22415 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
22416 maybe-mostlyclean-tar:
22417 @if tar
22418 maybe-mostlyclean-tar: mostlyclean-tar
22420 mostlyclean-tar:
22421 @[ -f ./tar/Makefile ] || exit 0; \
22422 r=`${PWD_COMMAND}`; export r; \
22423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22424 $(HOST_EXPORTS) \
22425 for flag in $(EXTRA_HOST_FLAGS) ; do \
22426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22427 done; \
22428 echo "Doing mostlyclean in tar" ; \
22429 (cd $(HOST_SUBDIR)/tar && \
22430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22432 "RANLIB=$${RANLIB}" \
22433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22434 mostlyclean) \
22435 || exit 1
22437 @endif tar
22439 .PHONY: maybe-clean-tar clean-tar
22440 maybe-clean-tar:
22441 @if tar
22442 maybe-clean-tar: clean-tar
22444 clean-tar:
22445 @[ -f ./tar/Makefile ] || exit 0; \
22446 r=`${PWD_COMMAND}`; export r; \
22447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22448 $(HOST_EXPORTS) \
22449 for flag in $(EXTRA_HOST_FLAGS) ; do \
22450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22451 done; \
22452 echo "Doing clean in tar" ; \
22453 (cd $(HOST_SUBDIR)/tar && \
22454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22456 "RANLIB=$${RANLIB}" \
22457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22458 clean) \
22459 || exit 1
22461 @endif tar
22463 .PHONY: maybe-distclean-tar distclean-tar
22464 maybe-distclean-tar:
22465 @if tar
22466 maybe-distclean-tar: distclean-tar
22468 distclean-tar:
22469 @[ -f ./tar/Makefile ] || exit 0; \
22470 r=`${PWD_COMMAND}`; export r; \
22471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22472 $(HOST_EXPORTS) \
22473 for flag in $(EXTRA_HOST_FLAGS) ; do \
22474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22475 done; \
22476 echo "Doing distclean in tar" ; \
22477 (cd $(HOST_SUBDIR)/tar && \
22478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22480 "RANLIB=$${RANLIB}" \
22481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22482 distclean) \
22483 || exit 1
22485 @endif tar
22487 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
22488 maybe-maintainer-clean-tar:
22489 @if tar
22490 maybe-maintainer-clean-tar: maintainer-clean-tar
22492 maintainer-clean-tar:
22493 @[ -f ./tar/Makefile ] || exit 0; \
22494 r=`${PWD_COMMAND}`; export r; \
22495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22496 $(HOST_EXPORTS) \
22497 for flag in $(EXTRA_HOST_FLAGS) ; do \
22498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22499 done; \
22500 echo "Doing maintainer-clean in tar" ; \
22501 (cd $(HOST_SUBDIR)/tar && \
22502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22504 "RANLIB=$${RANLIB}" \
22505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22506 maintainer-clean) \
22507 || exit 1
22509 @endif tar
22513 .PHONY: configure-texinfo maybe-configure-texinfo
22514 maybe-configure-texinfo:
22515 @if texinfo
22516 maybe-configure-texinfo: configure-texinfo
22517 configure-texinfo:
22518 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
22519 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
22520 r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 echo Configuring in $(HOST_SUBDIR)/texinfo; \
22524 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
22525 case $(srcdir) in \
22526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22527 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
22528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22529 esac; \
22530 srcdiroption="--srcdir=$${topdir}/texinfo"; \
22531 libsrcdir="$$s/texinfo"; \
22532 $(SHELL) $${libsrcdir}/configure \
22533 $(HOST_CONFIGARGS) $${srcdiroption} \
22534 || exit 1
22535 @endif texinfo
22541 .PHONY: all-texinfo maybe-all-texinfo
22542 maybe-all-texinfo:
22543 @if texinfo
22544 TARGET-texinfo=all
22545 maybe-all-texinfo: all-texinfo
22546 all-texinfo: configure-texinfo
22547 @r=`${PWD_COMMAND}`; export r; \
22548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22549 $(HOST_EXPORTS) \
22550 (cd $(HOST_SUBDIR)/texinfo && \
22551 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
22552 @endif texinfo
22557 .PHONY: check-texinfo maybe-check-texinfo
22558 maybe-check-texinfo:
22559 @if texinfo
22560 maybe-check-texinfo: check-texinfo
22562 check-texinfo:
22563 @r=`${PWD_COMMAND}`; export r; \
22564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22565 $(HOST_EXPORTS) \
22566 (cd $(HOST_SUBDIR)/texinfo && \
22567 $(MAKE) $(FLAGS_TO_PASS) check)
22569 @endif texinfo
22571 .PHONY: install-texinfo maybe-install-texinfo
22572 maybe-install-texinfo:
22573 @if texinfo
22574 maybe-install-texinfo: install-texinfo
22576 install-texinfo:
22578 @endif texinfo
22580 # Other targets (info, dvi, etc.)
22582 .PHONY: maybe-info-texinfo info-texinfo
22583 maybe-info-texinfo:
22584 @if texinfo
22585 maybe-info-texinfo: info-texinfo
22587 info-texinfo: \
22588 configure-texinfo
22589 @[ -f ./texinfo/Makefile ] || exit 0; \
22590 r=`${PWD_COMMAND}`; export r; \
22591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22592 $(HOST_EXPORTS) \
22593 for flag in $(EXTRA_HOST_FLAGS) ; do \
22594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22595 done; \
22596 echo "Doing info in texinfo" ; \
22597 (cd $(HOST_SUBDIR)/texinfo && \
22598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22600 "RANLIB=$${RANLIB}" \
22601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22602 info) \
22603 || exit 1
22605 @endif texinfo
22607 .PHONY: maybe-dvi-texinfo dvi-texinfo
22608 maybe-dvi-texinfo:
22609 @if texinfo
22610 maybe-dvi-texinfo: dvi-texinfo
22612 dvi-texinfo: \
22613 configure-texinfo
22614 @[ -f ./texinfo/Makefile ] || exit 0; \
22615 r=`${PWD_COMMAND}`; export r; \
22616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22617 $(HOST_EXPORTS) \
22618 for flag in $(EXTRA_HOST_FLAGS) ; do \
22619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22620 done; \
22621 echo "Doing dvi in texinfo" ; \
22622 (cd $(HOST_SUBDIR)/texinfo && \
22623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22625 "RANLIB=$${RANLIB}" \
22626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22627 dvi) \
22628 || exit 1
22630 @endif texinfo
22632 .PHONY: maybe-html-texinfo html-texinfo
22633 maybe-html-texinfo:
22634 @if texinfo
22635 maybe-html-texinfo: html-texinfo
22637 html-texinfo: \
22638 configure-texinfo
22639 @[ -f ./texinfo/Makefile ] || exit 0; \
22640 r=`${PWD_COMMAND}`; export r; \
22641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22642 $(HOST_EXPORTS) \
22643 for flag in $(EXTRA_HOST_FLAGS) ; do \
22644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22645 done; \
22646 echo "Doing html in texinfo" ; \
22647 (cd $(HOST_SUBDIR)/texinfo && \
22648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22650 "RANLIB=$${RANLIB}" \
22651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22652 html) \
22653 || exit 1
22655 @endif texinfo
22657 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
22658 maybe-TAGS-texinfo:
22659 @if texinfo
22660 maybe-TAGS-texinfo: TAGS-texinfo
22662 TAGS-texinfo: \
22663 configure-texinfo
22664 @[ -f ./texinfo/Makefile ] || exit 0; \
22665 r=`${PWD_COMMAND}`; export r; \
22666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22667 $(HOST_EXPORTS) \
22668 for flag in $(EXTRA_HOST_FLAGS) ; do \
22669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22670 done; \
22671 echo "Doing TAGS in texinfo" ; \
22672 (cd $(HOST_SUBDIR)/texinfo && \
22673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22675 "RANLIB=$${RANLIB}" \
22676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22677 TAGS) \
22678 || exit 1
22680 @endif texinfo
22682 .PHONY: maybe-install-info-texinfo install-info-texinfo
22683 maybe-install-info-texinfo:
22684 @if texinfo
22685 maybe-install-info-texinfo: install-info-texinfo
22687 install-info-texinfo: \
22688 configure-texinfo \
22689 info-texinfo
22690 @[ -f ./texinfo/Makefile ] || exit 0; \
22691 r=`${PWD_COMMAND}`; export r; \
22692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22693 $(HOST_EXPORTS) \
22694 for flag in $(EXTRA_HOST_FLAGS) ; do \
22695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22696 done; \
22697 echo "Doing install-info in texinfo" ; \
22698 (cd $(HOST_SUBDIR)/texinfo && \
22699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22701 "RANLIB=$${RANLIB}" \
22702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22703 install-info) \
22704 || exit 1
22706 @endif texinfo
22708 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
22709 maybe-installcheck-texinfo:
22710 @if texinfo
22711 maybe-installcheck-texinfo: installcheck-texinfo
22713 installcheck-texinfo: \
22714 configure-texinfo
22715 @[ -f ./texinfo/Makefile ] || exit 0; \
22716 r=`${PWD_COMMAND}`; export r; \
22717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22718 $(HOST_EXPORTS) \
22719 for flag in $(EXTRA_HOST_FLAGS) ; do \
22720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22721 done; \
22722 echo "Doing installcheck in texinfo" ; \
22723 (cd $(HOST_SUBDIR)/texinfo && \
22724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22726 "RANLIB=$${RANLIB}" \
22727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22728 installcheck) \
22729 || exit 1
22731 @endif texinfo
22733 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
22734 maybe-mostlyclean-texinfo:
22735 @if texinfo
22736 maybe-mostlyclean-texinfo: mostlyclean-texinfo
22738 mostlyclean-texinfo:
22739 @[ -f ./texinfo/Makefile ] || exit 0; \
22740 r=`${PWD_COMMAND}`; export r; \
22741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22742 $(HOST_EXPORTS) \
22743 for flag in $(EXTRA_HOST_FLAGS) ; do \
22744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22745 done; \
22746 echo "Doing mostlyclean in texinfo" ; \
22747 (cd $(HOST_SUBDIR)/texinfo && \
22748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22750 "RANLIB=$${RANLIB}" \
22751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22752 mostlyclean) \
22753 || exit 1
22755 @endif texinfo
22757 .PHONY: maybe-clean-texinfo clean-texinfo
22758 maybe-clean-texinfo:
22759 @if texinfo
22760 maybe-clean-texinfo: clean-texinfo
22762 clean-texinfo:
22763 @[ -f ./texinfo/Makefile ] || exit 0; \
22764 r=`${PWD_COMMAND}`; export r; \
22765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22766 $(HOST_EXPORTS) \
22767 for flag in $(EXTRA_HOST_FLAGS) ; do \
22768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22769 done; \
22770 echo "Doing clean in texinfo" ; \
22771 (cd $(HOST_SUBDIR)/texinfo && \
22772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22774 "RANLIB=$${RANLIB}" \
22775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22776 clean) \
22777 || exit 1
22779 @endif texinfo
22781 .PHONY: maybe-distclean-texinfo distclean-texinfo
22782 maybe-distclean-texinfo:
22783 @if texinfo
22784 maybe-distclean-texinfo: distclean-texinfo
22786 distclean-texinfo:
22787 @[ -f ./texinfo/Makefile ] || exit 0; \
22788 r=`${PWD_COMMAND}`; export r; \
22789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22790 $(HOST_EXPORTS) \
22791 for flag in $(EXTRA_HOST_FLAGS) ; do \
22792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22793 done; \
22794 echo "Doing distclean in texinfo" ; \
22795 (cd $(HOST_SUBDIR)/texinfo && \
22796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22798 "RANLIB=$${RANLIB}" \
22799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22800 distclean) \
22801 || exit 1
22803 @endif texinfo
22805 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
22806 maybe-maintainer-clean-texinfo:
22807 @if texinfo
22808 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
22810 maintainer-clean-texinfo:
22811 @[ -f ./texinfo/Makefile ] || exit 0; \
22812 r=`${PWD_COMMAND}`; export r; \
22813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22814 $(HOST_EXPORTS) \
22815 for flag in $(EXTRA_HOST_FLAGS) ; do \
22816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22817 done; \
22818 echo "Doing maintainer-clean in texinfo" ; \
22819 (cd $(HOST_SUBDIR)/texinfo && \
22820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22822 "RANLIB=$${RANLIB}" \
22823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22824 maintainer-clean) \
22825 || exit 1
22827 @endif texinfo
22831 .PHONY: configure-textutils maybe-configure-textutils
22832 maybe-configure-textutils:
22833 @if textutils
22834 maybe-configure-textutils: configure-textutils
22835 configure-textutils:
22836 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
22837 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
22838 r=`${PWD_COMMAND}`; export r; \
22839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22840 $(HOST_EXPORTS) \
22841 echo Configuring in $(HOST_SUBDIR)/textutils; \
22842 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
22843 case $(srcdir) in \
22844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22845 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
22846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22847 esac; \
22848 srcdiroption="--srcdir=$${topdir}/textutils"; \
22849 libsrcdir="$$s/textutils"; \
22850 $(SHELL) $${libsrcdir}/configure \
22851 $(HOST_CONFIGARGS) $${srcdiroption} \
22852 || exit 1
22853 @endif textutils
22859 .PHONY: all-textutils maybe-all-textutils
22860 maybe-all-textutils:
22861 @if textutils
22862 TARGET-textutils=all
22863 maybe-all-textutils: all-textutils
22864 all-textutils: configure-textutils
22865 @r=`${PWD_COMMAND}`; export r; \
22866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22867 $(HOST_EXPORTS) \
22868 (cd $(HOST_SUBDIR)/textutils && \
22869 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
22870 @endif textutils
22875 .PHONY: check-textutils maybe-check-textutils
22876 maybe-check-textutils:
22877 @if textutils
22878 maybe-check-textutils: check-textutils
22880 check-textutils:
22881 @r=`${PWD_COMMAND}`; export r; \
22882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22883 $(HOST_EXPORTS) \
22884 (cd $(HOST_SUBDIR)/textutils && \
22885 $(MAKE) $(FLAGS_TO_PASS) check)
22887 @endif textutils
22889 .PHONY: install-textutils maybe-install-textutils
22890 maybe-install-textutils:
22891 @if textutils
22892 maybe-install-textutils: install-textutils
22894 install-textutils: installdirs
22895 @r=`${PWD_COMMAND}`; export r; \
22896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22897 $(HOST_EXPORTS) \
22898 (cd $(HOST_SUBDIR)/textutils && \
22899 $(MAKE) $(FLAGS_TO_PASS) install)
22901 @endif textutils
22903 # Other targets (info, dvi, etc.)
22905 .PHONY: maybe-info-textutils info-textutils
22906 maybe-info-textutils:
22907 @if textutils
22908 maybe-info-textutils: info-textutils
22910 info-textutils: \
22911 configure-textutils
22912 @[ -f ./textutils/Makefile ] || exit 0; \
22913 r=`${PWD_COMMAND}`; export r; \
22914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22915 $(HOST_EXPORTS) \
22916 for flag in $(EXTRA_HOST_FLAGS) ; do \
22917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22918 done; \
22919 echo "Doing info in textutils" ; \
22920 (cd $(HOST_SUBDIR)/textutils && \
22921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22923 "RANLIB=$${RANLIB}" \
22924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22925 info) \
22926 || exit 1
22928 @endif textutils
22930 .PHONY: maybe-dvi-textutils dvi-textutils
22931 maybe-dvi-textutils:
22932 @if textutils
22933 maybe-dvi-textutils: dvi-textutils
22935 dvi-textutils: \
22936 configure-textutils
22937 @[ -f ./textutils/Makefile ] || exit 0; \
22938 r=`${PWD_COMMAND}`; export r; \
22939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22940 $(HOST_EXPORTS) \
22941 for flag in $(EXTRA_HOST_FLAGS) ; do \
22942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22943 done; \
22944 echo "Doing dvi in textutils" ; \
22945 (cd $(HOST_SUBDIR)/textutils && \
22946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22948 "RANLIB=$${RANLIB}" \
22949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22950 dvi) \
22951 || exit 1
22953 @endif textutils
22955 .PHONY: maybe-html-textutils html-textutils
22956 maybe-html-textutils:
22957 @if textutils
22958 maybe-html-textutils: html-textutils
22960 html-textutils: \
22961 configure-textutils
22962 @[ -f ./textutils/Makefile ] || exit 0; \
22963 r=`${PWD_COMMAND}`; export r; \
22964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22965 $(HOST_EXPORTS) \
22966 for flag in $(EXTRA_HOST_FLAGS) ; do \
22967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22968 done; \
22969 echo "Doing html in textutils" ; \
22970 (cd $(HOST_SUBDIR)/textutils && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22973 "RANLIB=$${RANLIB}" \
22974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22975 html) \
22976 || exit 1
22978 @endif textutils
22980 .PHONY: maybe-TAGS-textutils TAGS-textutils
22981 maybe-TAGS-textutils:
22982 @if textutils
22983 maybe-TAGS-textutils: TAGS-textutils
22985 TAGS-textutils: \
22986 configure-textutils
22987 @[ -f ./textutils/Makefile ] || exit 0; \
22988 r=`${PWD_COMMAND}`; export r; \
22989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22990 $(HOST_EXPORTS) \
22991 for flag in $(EXTRA_HOST_FLAGS) ; do \
22992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22993 done; \
22994 echo "Doing TAGS in textutils" ; \
22995 (cd $(HOST_SUBDIR)/textutils && \
22996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22998 "RANLIB=$${RANLIB}" \
22999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23000 TAGS) \
23001 || exit 1
23003 @endif textutils
23005 .PHONY: maybe-install-info-textutils install-info-textutils
23006 maybe-install-info-textutils:
23007 @if textutils
23008 maybe-install-info-textutils: install-info-textutils
23010 install-info-textutils: \
23011 configure-textutils \
23012 info-textutils
23013 @[ -f ./textutils/Makefile ] || exit 0; \
23014 r=`${PWD_COMMAND}`; export r; \
23015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23016 $(HOST_EXPORTS) \
23017 for flag in $(EXTRA_HOST_FLAGS) ; do \
23018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23019 done; \
23020 echo "Doing install-info in textutils" ; \
23021 (cd $(HOST_SUBDIR)/textutils && \
23022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23024 "RANLIB=$${RANLIB}" \
23025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23026 install-info) \
23027 || exit 1
23029 @endif textutils
23031 .PHONY: maybe-installcheck-textutils installcheck-textutils
23032 maybe-installcheck-textutils:
23033 @if textutils
23034 maybe-installcheck-textutils: installcheck-textutils
23036 installcheck-textutils: \
23037 configure-textutils
23038 @[ -f ./textutils/Makefile ] || exit 0; \
23039 r=`${PWD_COMMAND}`; export r; \
23040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23041 $(HOST_EXPORTS) \
23042 for flag in $(EXTRA_HOST_FLAGS) ; do \
23043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23044 done; \
23045 echo "Doing installcheck in textutils" ; \
23046 (cd $(HOST_SUBDIR)/textutils && \
23047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23049 "RANLIB=$${RANLIB}" \
23050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23051 installcheck) \
23052 || exit 1
23054 @endif textutils
23056 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23057 maybe-mostlyclean-textutils:
23058 @if textutils
23059 maybe-mostlyclean-textutils: mostlyclean-textutils
23061 mostlyclean-textutils:
23062 @[ -f ./textutils/Makefile ] || exit 0; \
23063 r=`${PWD_COMMAND}`; export r; \
23064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23065 $(HOST_EXPORTS) \
23066 for flag in $(EXTRA_HOST_FLAGS) ; do \
23067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23068 done; \
23069 echo "Doing mostlyclean in textutils" ; \
23070 (cd $(HOST_SUBDIR)/textutils && \
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 mostlyclean) \
23076 || exit 1
23078 @endif textutils
23080 .PHONY: maybe-clean-textutils clean-textutils
23081 maybe-clean-textutils:
23082 @if textutils
23083 maybe-clean-textutils: clean-textutils
23085 clean-textutils:
23086 @[ -f ./textutils/Makefile ] || exit 0; \
23087 r=`${PWD_COMMAND}`; export r; \
23088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23089 $(HOST_EXPORTS) \
23090 for flag in $(EXTRA_HOST_FLAGS) ; do \
23091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23092 done; \
23093 echo "Doing clean in textutils" ; \
23094 (cd $(HOST_SUBDIR)/textutils && \
23095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23097 "RANLIB=$${RANLIB}" \
23098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23099 clean) \
23100 || exit 1
23102 @endif textutils
23104 .PHONY: maybe-distclean-textutils distclean-textutils
23105 maybe-distclean-textutils:
23106 @if textutils
23107 maybe-distclean-textutils: distclean-textutils
23109 distclean-textutils:
23110 @[ -f ./textutils/Makefile ] || exit 0; \
23111 r=`${PWD_COMMAND}`; export r; \
23112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23113 $(HOST_EXPORTS) \
23114 for flag in $(EXTRA_HOST_FLAGS) ; do \
23115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23116 done; \
23117 echo "Doing distclean in textutils" ; \
23118 (cd $(HOST_SUBDIR)/textutils && \
23119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23121 "RANLIB=$${RANLIB}" \
23122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23123 distclean) \
23124 || exit 1
23126 @endif textutils
23128 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
23129 maybe-maintainer-clean-textutils:
23130 @if textutils
23131 maybe-maintainer-clean-textutils: maintainer-clean-textutils
23133 maintainer-clean-textutils:
23134 @[ -f ./textutils/Makefile ] || exit 0; \
23135 r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 $(HOST_EXPORTS) \
23138 for flag in $(EXTRA_HOST_FLAGS) ; do \
23139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23140 done; \
23141 echo "Doing maintainer-clean in textutils" ; \
23142 (cd $(HOST_SUBDIR)/textutils && \
23143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23145 "RANLIB=$${RANLIB}" \
23146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23147 maintainer-clean) \
23148 || exit 1
23150 @endif textutils
23154 .PHONY: configure-time maybe-configure-time
23155 maybe-configure-time:
23156 @if time
23157 maybe-configure-time: configure-time
23158 configure-time:
23159 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
23160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
23161 r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 $(HOST_EXPORTS) \
23164 echo Configuring in $(HOST_SUBDIR)/time; \
23165 cd "$(HOST_SUBDIR)/time" || exit 1; \
23166 case $(srcdir) in \
23167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23168 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
23169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23170 esac; \
23171 srcdiroption="--srcdir=$${topdir}/time"; \
23172 libsrcdir="$$s/time"; \
23173 $(SHELL) $${libsrcdir}/configure \
23174 $(HOST_CONFIGARGS) $${srcdiroption} \
23175 || exit 1
23176 @endif time
23182 .PHONY: all-time maybe-all-time
23183 maybe-all-time:
23184 @if time
23185 TARGET-time=all
23186 maybe-all-time: all-time
23187 all-time: configure-time
23188 @r=`${PWD_COMMAND}`; export r; \
23189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23190 $(HOST_EXPORTS) \
23191 (cd $(HOST_SUBDIR)/time && \
23192 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
23193 @endif time
23198 .PHONY: check-time maybe-check-time
23199 maybe-check-time:
23200 @if time
23201 maybe-check-time: check-time
23203 check-time:
23204 @r=`${PWD_COMMAND}`; export r; \
23205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206 $(HOST_EXPORTS) \
23207 (cd $(HOST_SUBDIR)/time && \
23208 $(MAKE) $(FLAGS_TO_PASS) check)
23210 @endif time
23212 .PHONY: install-time maybe-install-time
23213 maybe-install-time:
23214 @if time
23215 maybe-install-time: install-time
23217 install-time: installdirs
23218 @r=`${PWD_COMMAND}`; export r; \
23219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23220 $(HOST_EXPORTS) \
23221 (cd $(HOST_SUBDIR)/time && \
23222 $(MAKE) $(FLAGS_TO_PASS) install)
23224 @endif time
23226 # Other targets (info, dvi, etc.)
23228 .PHONY: maybe-info-time info-time
23229 maybe-info-time:
23230 @if time
23231 maybe-info-time: info-time
23233 info-time: \
23234 configure-time
23235 @[ -f ./time/Makefile ] || exit 0; \
23236 r=`${PWD_COMMAND}`; export r; \
23237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23238 $(HOST_EXPORTS) \
23239 for flag in $(EXTRA_HOST_FLAGS) ; do \
23240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23241 done; \
23242 echo "Doing info in time" ; \
23243 (cd $(HOST_SUBDIR)/time && \
23244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23246 "RANLIB=$${RANLIB}" \
23247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23248 info) \
23249 || exit 1
23251 @endif time
23253 .PHONY: maybe-dvi-time dvi-time
23254 maybe-dvi-time:
23255 @if time
23256 maybe-dvi-time: dvi-time
23258 dvi-time: \
23259 configure-time
23260 @[ -f ./time/Makefile ] || exit 0; \
23261 r=`${PWD_COMMAND}`; export r; \
23262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23263 $(HOST_EXPORTS) \
23264 for flag in $(EXTRA_HOST_FLAGS) ; do \
23265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23266 done; \
23267 echo "Doing dvi in time" ; \
23268 (cd $(HOST_SUBDIR)/time && \
23269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23271 "RANLIB=$${RANLIB}" \
23272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23273 dvi) \
23274 || exit 1
23276 @endif time
23278 .PHONY: maybe-html-time html-time
23279 maybe-html-time:
23280 @if time
23281 maybe-html-time: html-time
23283 html-time: \
23284 configure-time
23285 @[ -f ./time/Makefile ] || exit 0; \
23286 r=`${PWD_COMMAND}`; export r; \
23287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23288 $(HOST_EXPORTS) \
23289 for flag in $(EXTRA_HOST_FLAGS) ; do \
23290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23291 done; \
23292 echo "Doing html in time" ; \
23293 (cd $(HOST_SUBDIR)/time && \
23294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23296 "RANLIB=$${RANLIB}" \
23297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23298 html) \
23299 || exit 1
23301 @endif time
23303 .PHONY: maybe-TAGS-time TAGS-time
23304 maybe-TAGS-time:
23305 @if time
23306 maybe-TAGS-time: TAGS-time
23308 TAGS-time: \
23309 configure-time
23310 @[ -f ./time/Makefile ] || exit 0; \
23311 r=`${PWD_COMMAND}`; export r; \
23312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23313 $(HOST_EXPORTS) \
23314 for flag in $(EXTRA_HOST_FLAGS) ; do \
23315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23316 done; \
23317 echo "Doing TAGS in time" ; \
23318 (cd $(HOST_SUBDIR)/time && \
23319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23321 "RANLIB=$${RANLIB}" \
23322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23323 TAGS) \
23324 || exit 1
23326 @endif time
23328 .PHONY: maybe-install-info-time install-info-time
23329 maybe-install-info-time:
23330 @if time
23331 maybe-install-info-time: install-info-time
23333 install-info-time: \
23334 configure-time \
23335 info-time
23336 @[ -f ./time/Makefile ] || exit 0; \
23337 r=`${PWD_COMMAND}`; export r; \
23338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23339 $(HOST_EXPORTS) \
23340 for flag in $(EXTRA_HOST_FLAGS) ; do \
23341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23342 done; \
23343 echo "Doing install-info in time" ; \
23344 (cd $(HOST_SUBDIR)/time && \
23345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23347 "RANLIB=$${RANLIB}" \
23348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23349 install-info) \
23350 || exit 1
23352 @endif time
23354 .PHONY: maybe-installcheck-time installcheck-time
23355 maybe-installcheck-time:
23356 @if time
23357 maybe-installcheck-time: installcheck-time
23359 installcheck-time: \
23360 configure-time
23361 @[ -f ./time/Makefile ] || exit 0; \
23362 r=`${PWD_COMMAND}`; export r; \
23363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23364 $(HOST_EXPORTS) \
23365 for flag in $(EXTRA_HOST_FLAGS) ; do \
23366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23367 done; \
23368 echo "Doing installcheck in time" ; \
23369 (cd $(HOST_SUBDIR)/time && \
23370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23372 "RANLIB=$${RANLIB}" \
23373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23374 installcheck) \
23375 || exit 1
23377 @endif time
23379 .PHONY: maybe-mostlyclean-time mostlyclean-time
23380 maybe-mostlyclean-time:
23381 @if time
23382 maybe-mostlyclean-time: mostlyclean-time
23384 mostlyclean-time:
23385 @[ -f ./time/Makefile ] || exit 0; \
23386 r=`${PWD_COMMAND}`; export r; \
23387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23388 $(HOST_EXPORTS) \
23389 for flag in $(EXTRA_HOST_FLAGS) ; do \
23390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23391 done; \
23392 echo "Doing mostlyclean in time" ; \
23393 (cd $(HOST_SUBDIR)/time && \
23394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23396 "RANLIB=$${RANLIB}" \
23397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23398 mostlyclean) \
23399 || exit 1
23401 @endif time
23403 .PHONY: maybe-clean-time clean-time
23404 maybe-clean-time:
23405 @if time
23406 maybe-clean-time: clean-time
23408 clean-time:
23409 @[ -f ./time/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23412 $(HOST_EXPORTS) \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 done; \
23416 echo "Doing clean in time" ; \
23417 (cd $(HOST_SUBDIR)/time && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23422 clean) \
23423 || exit 1
23425 @endif time
23427 .PHONY: maybe-distclean-time distclean-time
23428 maybe-distclean-time:
23429 @if time
23430 maybe-distclean-time: distclean-time
23432 distclean-time:
23433 @[ -f ./time/Makefile ] || exit 0; \
23434 r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 for flag in $(EXTRA_HOST_FLAGS) ; do \
23438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23439 done; \
23440 echo "Doing distclean in time" ; \
23441 (cd $(HOST_SUBDIR)/time && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23446 distclean) \
23447 || exit 1
23449 @endif time
23451 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
23452 maybe-maintainer-clean-time:
23453 @if time
23454 maybe-maintainer-clean-time: maintainer-clean-time
23456 maintainer-clean-time:
23457 @[ -f ./time/Makefile ] || exit 0; \
23458 r=`${PWD_COMMAND}`; export r; \
23459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23460 $(HOST_EXPORTS) \
23461 for flag in $(EXTRA_HOST_FLAGS) ; do \
23462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23463 done; \
23464 echo "Doing maintainer-clean in time" ; \
23465 (cd $(HOST_SUBDIR)/time && \
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 maintainer-clean) \
23471 || exit 1
23473 @endif time
23477 .PHONY: configure-uudecode maybe-configure-uudecode
23478 maybe-configure-uudecode:
23479 @if uudecode
23480 maybe-configure-uudecode: configure-uudecode
23481 configure-uudecode:
23482 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
23483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
23484 r=`${PWD_COMMAND}`; export r; \
23485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23486 $(HOST_EXPORTS) \
23487 echo Configuring in $(HOST_SUBDIR)/uudecode; \
23488 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
23489 case $(srcdir) in \
23490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23491 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
23492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23493 esac; \
23494 srcdiroption="--srcdir=$${topdir}/uudecode"; \
23495 libsrcdir="$$s/uudecode"; \
23496 $(SHELL) $${libsrcdir}/configure \
23497 $(HOST_CONFIGARGS) $${srcdiroption} \
23498 || exit 1
23499 @endif uudecode
23505 .PHONY: all-uudecode maybe-all-uudecode
23506 maybe-all-uudecode:
23507 @if uudecode
23508 TARGET-uudecode=all
23509 maybe-all-uudecode: all-uudecode
23510 all-uudecode: configure-uudecode
23511 @r=`${PWD_COMMAND}`; export r; \
23512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23513 $(HOST_EXPORTS) \
23514 (cd $(HOST_SUBDIR)/uudecode && \
23515 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
23516 @endif uudecode
23521 .PHONY: check-uudecode maybe-check-uudecode
23522 maybe-check-uudecode:
23523 @if uudecode
23524 maybe-check-uudecode: check-uudecode
23526 check-uudecode:
23527 @r=`${PWD_COMMAND}`; export r; \
23528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23529 $(HOST_EXPORTS) \
23530 (cd $(HOST_SUBDIR)/uudecode && \
23531 $(MAKE) $(FLAGS_TO_PASS) check)
23533 @endif uudecode
23535 .PHONY: install-uudecode maybe-install-uudecode
23536 maybe-install-uudecode:
23537 @if uudecode
23538 maybe-install-uudecode: install-uudecode
23540 install-uudecode: installdirs
23541 @r=`${PWD_COMMAND}`; export r; \
23542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23543 $(HOST_EXPORTS) \
23544 (cd $(HOST_SUBDIR)/uudecode && \
23545 $(MAKE) $(FLAGS_TO_PASS) install)
23547 @endif uudecode
23549 # Other targets (info, dvi, etc.)
23551 .PHONY: maybe-info-uudecode info-uudecode
23552 maybe-info-uudecode:
23553 @if uudecode
23554 maybe-info-uudecode: info-uudecode
23556 info-uudecode: \
23557 configure-uudecode
23558 @[ -f ./uudecode/Makefile ] || exit 0; \
23559 r=`${PWD_COMMAND}`; export r; \
23560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23561 $(HOST_EXPORTS) \
23562 for flag in $(EXTRA_HOST_FLAGS) ; do \
23563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23564 done; \
23565 echo "Doing info in uudecode" ; \
23566 (cd $(HOST_SUBDIR)/uudecode && \
23567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23569 "RANLIB=$${RANLIB}" \
23570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23571 info) \
23572 || exit 1
23574 @endif uudecode
23576 .PHONY: maybe-dvi-uudecode dvi-uudecode
23577 maybe-dvi-uudecode:
23578 @if uudecode
23579 maybe-dvi-uudecode: dvi-uudecode
23581 dvi-uudecode: \
23582 configure-uudecode
23583 @[ -f ./uudecode/Makefile ] || exit 0; \
23584 r=`${PWD_COMMAND}`; export r; \
23585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23586 $(HOST_EXPORTS) \
23587 for flag in $(EXTRA_HOST_FLAGS) ; do \
23588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23589 done; \
23590 echo "Doing dvi in uudecode" ; \
23591 (cd $(HOST_SUBDIR)/uudecode && \
23592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23594 "RANLIB=$${RANLIB}" \
23595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23596 dvi) \
23597 || exit 1
23599 @endif uudecode
23601 .PHONY: maybe-html-uudecode html-uudecode
23602 maybe-html-uudecode:
23603 @if uudecode
23604 maybe-html-uudecode: html-uudecode
23606 html-uudecode: \
23607 configure-uudecode
23608 @[ -f ./uudecode/Makefile ] || exit 0; \
23609 r=`${PWD_COMMAND}`; export r; \
23610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23611 $(HOST_EXPORTS) \
23612 for flag in $(EXTRA_HOST_FLAGS) ; do \
23613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23614 done; \
23615 echo "Doing html in uudecode" ; \
23616 (cd $(HOST_SUBDIR)/uudecode && \
23617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23619 "RANLIB=$${RANLIB}" \
23620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23621 html) \
23622 || exit 1
23624 @endif uudecode
23626 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
23627 maybe-TAGS-uudecode:
23628 @if uudecode
23629 maybe-TAGS-uudecode: TAGS-uudecode
23631 TAGS-uudecode: \
23632 configure-uudecode
23633 @[ -f ./uudecode/Makefile ] || exit 0; \
23634 r=`${PWD_COMMAND}`; export r; \
23635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23636 $(HOST_EXPORTS) \
23637 for flag in $(EXTRA_HOST_FLAGS) ; do \
23638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23639 done; \
23640 echo "Doing TAGS in uudecode" ; \
23641 (cd $(HOST_SUBDIR)/uudecode && \
23642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23644 "RANLIB=$${RANLIB}" \
23645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23646 TAGS) \
23647 || exit 1
23649 @endif uudecode
23651 .PHONY: maybe-install-info-uudecode install-info-uudecode
23652 maybe-install-info-uudecode:
23653 @if uudecode
23654 maybe-install-info-uudecode: install-info-uudecode
23656 install-info-uudecode: \
23657 configure-uudecode \
23658 info-uudecode
23659 @[ -f ./uudecode/Makefile ] || exit 0; \
23660 r=`${PWD_COMMAND}`; export r; \
23661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23662 $(HOST_EXPORTS) \
23663 for flag in $(EXTRA_HOST_FLAGS) ; do \
23664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23665 done; \
23666 echo "Doing install-info in uudecode" ; \
23667 (cd $(HOST_SUBDIR)/uudecode && \
23668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23670 "RANLIB=$${RANLIB}" \
23671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23672 install-info) \
23673 || exit 1
23675 @endif uudecode
23677 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
23678 maybe-installcheck-uudecode:
23679 @if uudecode
23680 maybe-installcheck-uudecode: installcheck-uudecode
23682 installcheck-uudecode: \
23683 configure-uudecode
23684 @[ -f ./uudecode/Makefile ] || exit 0; \
23685 r=`${PWD_COMMAND}`; export r; \
23686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23687 $(HOST_EXPORTS) \
23688 for flag in $(EXTRA_HOST_FLAGS) ; do \
23689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23690 done; \
23691 echo "Doing installcheck in uudecode" ; \
23692 (cd $(HOST_SUBDIR)/uudecode && \
23693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23695 "RANLIB=$${RANLIB}" \
23696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23697 installcheck) \
23698 || exit 1
23700 @endif uudecode
23702 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
23703 maybe-mostlyclean-uudecode:
23704 @if uudecode
23705 maybe-mostlyclean-uudecode: mostlyclean-uudecode
23707 mostlyclean-uudecode:
23708 @[ -f ./uudecode/Makefile ] || exit 0; \
23709 r=`${PWD_COMMAND}`; export r; \
23710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23711 $(HOST_EXPORTS) \
23712 for flag in $(EXTRA_HOST_FLAGS) ; do \
23713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23714 done; \
23715 echo "Doing mostlyclean in uudecode" ; \
23716 (cd $(HOST_SUBDIR)/uudecode && \
23717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23719 "RANLIB=$${RANLIB}" \
23720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23721 mostlyclean) \
23722 || exit 1
23724 @endif uudecode
23726 .PHONY: maybe-clean-uudecode clean-uudecode
23727 maybe-clean-uudecode:
23728 @if uudecode
23729 maybe-clean-uudecode: clean-uudecode
23731 clean-uudecode:
23732 @[ -f ./uudecode/Makefile ] || exit 0; \
23733 r=`${PWD_COMMAND}`; export r; \
23734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23735 $(HOST_EXPORTS) \
23736 for flag in $(EXTRA_HOST_FLAGS) ; do \
23737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23738 done; \
23739 echo "Doing clean in uudecode" ; \
23740 (cd $(HOST_SUBDIR)/uudecode && \
23741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23743 "RANLIB=$${RANLIB}" \
23744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23745 clean) \
23746 || exit 1
23748 @endif uudecode
23750 .PHONY: maybe-distclean-uudecode distclean-uudecode
23751 maybe-distclean-uudecode:
23752 @if uudecode
23753 maybe-distclean-uudecode: distclean-uudecode
23755 distclean-uudecode:
23756 @[ -f ./uudecode/Makefile ] || exit 0; \
23757 r=`${PWD_COMMAND}`; export r; \
23758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23759 $(HOST_EXPORTS) \
23760 for flag in $(EXTRA_HOST_FLAGS) ; do \
23761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23762 done; \
23763 echo "Doing distclean in uudecode" ; \
23764 (cd $(HOST_SUBDIR)/uudecode && \
23765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23767 "RANLIB=$${RANLIB}" \
23768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23769 distclean) \
23770 || exit 1
23772 @endif uudecode
23774 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
23775 maybe-maintainer-clean-uudecode:
23776 @if uudecode
23777 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
23779 maintainer-clean-uudecode:
23780 @[ -f ./uudecode/Makefile ] || exit 0; \
23781 r=`${PWD_COMMAND}`; export r; \
23782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23783 $(HOST_EXPORTS) \
23784 for flag in $(EXTRA_HOST_FLAGS) ; do \
23785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23786 done; \
23787 echo "Doing maintainer-clean in uudecode" ; \
23788 (cd $(HOST_SUBDIR)/uudecode && \
23789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23791 "RANLIB=$${RANLIB}" \
23792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23793 maintainer-clean) \
23794 || exit 1
23796 @endif uudecode
23800 .PHONY: configure-wdiff maybe-configure-wdiff
23801 maybe-configure-wdiff:
23802 @if wdiff
23803 maybe-configure-wdiff: configure-wdiff
23804 configure-wdiff:
23805 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
23806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
23807 r=`${PWD_COMMAND}`; export r; \
23808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23809 $(HOST_EXPORTS) \
23810 echo Configuring in $(HOST_SUBDIR)/wdiff; \
23811 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
23812 case $(srcdir) in \
23813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23814 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
23815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23816 esac; \
23817 srcdiroption="--srcdir=$${topdir}/wdiff"; \
23818 libsrcdir="$$s/wdiff"; \
23819 $(SHELL) $${libsrcdir}/configure \
23820 $(HOST_CONFIGARGS) $${srcdiroption} \
23821 || exit 1
23822 @endif wdiff
23828 .PHONY: all-wdiff maybe-all-wdiff
23829 maybe-all-wdiff:
23830 @if wdiff
23831 TARGET-wdiff=all
23832 maybe-all-wdiff: all-wdiff
23833 all-wdiff: configure-wdiff
23834 @r=`${PWD_COMMAND}`; export r; \
23835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23836 $(HOST_EXPORTS) \
23837 (cd $(HOST_SUBDIR)/wdiff && \
23838 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
23839 @endif wdiff
23844 .PHONY: check-wdiff maybe-check-wdiff
23845 maybe-check-wdiff:
23846 @if wdiff
23847 maybe-check-wdiff: check-wdiff
23849 check-wdiff:
23850 @r=`${PWD_COMMAND}`; export r; \
23851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23852 $(HOST_EXPORTS) \
23853 (cd $(HOST_SUBDIR)/wdiff && \
23854 $(MAKE) $(FLAGS_TO_PASS) check)
23856 @endif wdiff
23858 .PHONY: install-wdiff maybe-install-wdiff
23859 maybe-install-wdiff:
23860 @if wdiff
23861 maybe-install-wdiff: install-wdiff
23863 install-wdiff: installdirs
23864 @r=`${PWD_COMMAND}`; export r; \
23865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23866 $(HOST_EXPORTS) \
23867 (cd $(HOST_SUBDIR)/wdiff && \
23868 $(MAKE) $(FLAGS_TO_PASS) install)
23870 @endif wdiff
23872 # Other targets (info, dvi, etc.)
23874 .PHONY: maybe-info-wdiff info-wdiff
23875 maybe-info-wdiff:
23876 @if wdiff
23877 maybe-info-wdiff: info-wdiff
23879 info-wdiff: \
23880 configure-wdiff
23881 @[ -f ./wdiff/Makefile ] || exit 0; \
23882 r=`${PWD_COMMAND}`; export r; \
23883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23884 $(HOST_EXPORTS) \
23885 for flag in $(EXTRA_HOST_FLAGS) ; do \
23886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23887 done; \
23888 echo "Doing info in wdiff" ; \
23889 (cd $(HOST_SUBDIR)/wdiff && \
23890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23892 "RANLIB=$${RANLIB}" \
23893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23894 info) \
23895 || exit 1
23897 @endif wdiff
23899 .PHONY: maybe-dvi-wdiff dvi-wdiff
23900 maybe-dvi-wdiff:
23901 @if wdiff
23902 maybe-dvi-wdiff: dvi-wdiff
23904 dvi-wdiff: \
23905 configure-wdiff
23906 @[ -f ./wdiff/Makefile ] || exit 0; \
23907 r=`${PWD_COMMAND}`; export r; \
23908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23909 $(HOST_EXPORTS) \
23910 for flag in $(EXTRA_HOST_FLAGS) ; do \
23911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23912 done; \
23913 echo "Doing dvi in wdiff" ; \
23914 (cd $(HOST_SUBDIR)/wdiff && \
23915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23917 "RANLIB=$${RANLIB}" \
23918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23919 dvi) \
23920 || exit 1
23922 @endif wdiff
23924 .PHONY: maybe-html-wdiff html-wdiff
23925 maybe-html-wdiff:
23926 @if wdiff
23927 maybe-html-wdiff: html-wdiff
23929 html-wdiff: \
23930 configure-wdiff
23931 @[ -f ./wdiff/Makefile ] || exit 0; \
23932 r=`${PWD_COMMAND}`; export r; \
23933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23934 $(HOST_EXPORTS) \
23935 for flag in $(EXTRA_HOST_FLAGS) ; do \
23936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23937 done; \
23938 echo "Doing html in wdiff" ; \
23939 (cd $(HOST_SUBDIR)/wdiff && \
23940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23942 "RANLIB=$${RANLIB}" \
23943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23944 html) \
23945 || exit 1
23947 @endif wdiff
23949 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
23950 maybe-TAGS-wdiff:
23951 @if wdiff
23952 maybe-TAGS-wdiff: TAGS-wdiff
23954 TAGS-wdiff: \
23955 configure-wdiff
23956 @[ -f ./wdiff/Makefile ] || exit 0; \
23957 r=`${PWD_COMMAND}`; export r; \
23958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23959 $(HOST_EXPORTS) \
23960 for flag in $(EXTRA_HOST_FLAGS) ; do \
23961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23962 done; \
23963 echo "Doing TAGS in wdiff" ; \
23964 (cd $(HOST_SUBDIR)/wdiff && \
23965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23967 "RANLIB=$${RANLIB}" \
23968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23969 TAGS) \
23970 || exit 1
23972 @endif wdiff
23974 .PHONY: maybe-install-info-wdiff install-info-wdiff
23975 maybe-install-info-wdiff:
23976 @if wdiff
23977 maybe-install-info-wdiff: install-info-wdiff
23979 install-info-wdiff: \
23980 configure-wdiff \
23981 info-wdiff
23982 @[ -f ./wdiff/Makefile ] || exit 0; \
23983 r=`${PWD_COMMAND}`; export r; \
23984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23985 $(HOST_EXPORTS) \
23986 for flag in $(EXTRA_HOST_FLAGS) ; do \
23987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23988 done; \
23989 echo "Doing install-info in wdiff" ; \
23990 (cd $(HOST_SUBDIR)/wdiff && \
23991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23993 "RANLIB=$${RANLIB}" \
23994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23995 install-info) \
23996 || exit 1
23998 @endif wdiff
24000 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
24001 maybe-installcheck-wdiff:
24002 @if wdiff
24003 maybe-installcheck-wdiff: installcheck-wdiff
24005 installcheck-wdiff: \
24006 configure-wdiff
24007 @[ -f ./wdiff/Makefile ] || exit 0; \
24008 r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing installcheck in wdiff" ; \
24015 (cd $(HOST_SUBDIR)/wdiff && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 installcheck) \
24021 || exit 1
24023 @endif wdiff
24025 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
24026 maybe-mostlyclean-wdiff:
24027 @if wdiff
24028 maybe-mostlyclean-wdiff: mostlyclean-wdiff
24030 mostlyclean-wdiff:
24031 @[ -f ./wdiff/Makefile ] || exit 0; \
24032 r=`${PWD_COMMAND}`; export r; \
24033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24034 $(HOST_EXPORTS) \
24035 for flag in $(EXTRA_HOST_FLAGS) ; do \
24036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24037 done; \
24038 echo "Doing mostlyclean in wdiff" ; \
24039 (cd $(HOST_SUBDIR)/wdiff && \
24040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24042 "RANLIB=$${RANLIB}" \
24043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24044 mostlyclean) \
24045 || exit 1
24047 @endif wdiff
24049 .PHONY: maybe-clean-wdiff clean-wdiff
24050 maybe-clean-wdiff:
24051 @if wdiff
24052 maybe-clean-wdiff: clean-wdiff
24054 clean-wdiff:
24055 @[ -f ./wdiff/Makefile ] || exit 0; \
24056 r=`${PWD_COMMAND}`; export r; \
24057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24058 $(HOST_EXPORTS) \
24059 for flag in $(EXTRA_HOST_FLAGS) ; do \
24060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24061 done; \
24062 echo "Doing clean in wdiff" ; \
24063 (cd $(HOST_SUBDIR)/wdiff && \
24064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24066 "RANLIB=$${RANLIB}" \
24067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24068 clean) \
24069 || exit 1
24071 @endif wdiff
24073 .PHONY: maybe-distclean-wdiff distclean-wdiff
24074 maybe-distclean-wdiff:
24075 @if wdiff
24076 maybe-distclean-wdiff: distclean-wdiff
24078 distclean-wdiff:
24079 @[ -f ./wdiff/Makefile ] || exit 0; \
24080 r=`${PWD_COMMAND}`; export r; \
24081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24082 $(HOST_EXPORTS) \
24083 for flag in $(EXTRA_HOST_FLAGS) ; do \
24084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24085 done; \
24086 echo "Doing distclean in wdiff" ; \
24087 (cd $(HOST_SUBDIR)/wdiff && \
24088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24090 "RANLIB=$${RANLIB}" \
24091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24092 distclean) \
24093 || exit 1
24095 @endif wdiff
24097 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
24098 maybe-maintainer-clean-wdiff:
24099 @if wdiff
24100 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
24102 maintainer-clean-wdiff:
24103 @[ -f ./wdiff/Makefile ] || exit 0; \
24104 r=`${PWD_COMMAND}`; export r; \
24105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24106 $(HOST_EXPORTS) \
24107 for flag in $(EXTRA_HOST_FLAGS) ; do \
24108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24109 done; \
24110 echo "Doing maintainer-clean in wdiff" ; \
24111 (cd $(HOST_SUBDIR)/wdiff && \
24112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24114 "RANLIB=$${RANLIB}" \
24115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24116 maintainer-clean) \
24117 || exit 1
24119 @endif wdiff
24123 .PHONY: configure-zip maybe-configure-zip
24124 maybe-configure-zip:
24125 @if zip
24126 maybe-configure-zip: configure-zip
24127 configure-zip:
24128 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
24129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
24130 r=`${PWD_COMMAND}`; export r; \
24131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24132 $(HOST_EXPORTS) \
24133 echo Configuring in $(HOST_SUBDIR)/zip; \
24134 cd "$(HOST_SUBDIR)/zip" || exit 1; \
24135 case $(srcdir) in \
24136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24137 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
24138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24139 esac; \
24140 srcdiroption="--srcdir=$${topdir}/zip"; \
24141 libsrcdir="$$s/zip"; \
24142 $(SHELL) $${libsrcdir}/configure \
24143 $(HOST_CONFIGARGS) $${srcdiroption} \
24144 || exit 1
24145 @endif zip
24151 .PHONY: all-zip maybe-all-zip
24152 maybe-all-zip:
24153 @if zip
24154 TARGET-zip=all
24155 maybe-all-zip: all-zip
24156 all-zip: configure-zip
24157 @r=`${PWD_COMMAND}`; export r; \
24158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24159 $(HOST_EXPORTS) \
24160 (cd $(HOST_SUBDIR)/zip && \
24161 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
24162 @endif zip
24167 .PHONY: check-zip maybe-check-zip
24168 maybe-check-zip:
24169 @if zip
24170 maybe-check-zip: check-zip
24172 # This module is only tested in a native toolchain.
24173 check-zip:
24174 @if [ '$(host)' = '$(target)' ] ; then \
24175 r=`${PWD_COMMAND}`; export r; \
24176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24177 $(HOST_EXPORTS) \
24178 (cd $(HOST_SUBDIR)/zip && \
24179 $(MAKE) $(FLAGS_TO_PASS) check); \
24182 @endif zip
24184 .PHONY: install-zip maybe-install-zip
24185 maybe-install-zip:
24186 @if zip
24187 maybe-install-zip: install-zip
24189 install-zip: installdirs
24190 @r=`${PWD_COMMAND}`; export r; \
24191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24192 $(HOST_EXPORTS) \
24193 (cd $(HOST_SUBDIR)/zip && \
24194 $(MAKE) $(FLAGS_TO_PASS) install)
24196 @endif zip
24198 # Other targets (info, dvi, etc.)
24200 .PHONY: maybe-info-zip info-zip
24201 maybe-info-zip:
24202 @if zip
24203 maybe-info-zip: info-zip
24205 info-zip: \
24206 configure-zip
24207 @[ -f ./zip/Makefile ] || exit 0; \
24208 r=`${PWD_COMMAND}`; export r; \
24209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24210 $(HOST_EXPORTS) \
24211 for flag in $(EXTRA_HOST_FLAGS) ; do \
24212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24213 done; \
24214 echo "Doing info in zip" ; \
24215 (cd $(HOST_SUBDIR)/zip && \
24216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24218 "RANLIB=$${RANLIB}" \
24219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24220 info) \
24221 || exit 1
24223 @endif zip
24225 .PHONY: maybe-dvi-zip dvi-zip
24226 maybe-dvi-zip:
24227 @if zip
24228 maybe-dvi-zip: dvi-zip
24230 dvi-zip: \
24231 configure-zip
24232 @[ -f ./zip/Makefile ] || exit 0; \
24233 r=`${PWD_COMMAND}`; export r; \
24234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24235 $(HOST_EXPORTS) \
24236 for flag in $(EXTRA_HOST_FLAGS) ; do \
24237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24238 done; \
24239 echo "Doing dvi in zip" ; \
24240 (cd $(HOST_SUBDIR)/zip && \
24241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24243 "RANLIB=$${RANLIB}" \
24244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24245 dvi) \
24246 || exit 1
24248 @endif zip
24250 .PHONY: maybe-html-zip html-zip
24251 maybe-html-zip:
24252 @if zip
24253 maybe-html-zip: html-zip
24255 html-zip: \
24256 configure-zip
24257 @[ -f ./zip/Makefile ] || exit 0; \
24258 r=`${PWD_COMMAND}`; export r; \
24259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24260 $(HOST_EXPORTS) \
24261 for flag in $(EXTRA_HOST_FLAGS) ; do \
24262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24263 done; \
24264 echo "Doing html in zip" ; \
24265 (cd $(HOST_SUBDIR)/zip && \
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 html) \
24271 || exit 1
24273 @endif zip
24275 .PHONY: maybe-TAGS-zip TAGS-zip
24276 maybe-TAGS-zip:
24277 @if zip
24278 maybe-TAGS-zip: TAGS-zip
24280 TAGS-zip: \
24281 configure-zip
24282 @[ -f ./zip/Makefile ] || exit 0; \
24283 r=`${PWD_COMMAND}`; export r; \
24284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24285 $(HOST_EXPORTS) \
24286 for flag in $(EXTRA_HOST_FLAGS) ; do \
24287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24288 done; \
24289 echo "Doing TAGS in zip" ; \
24290 (cd $(HOST_SUBDIR)/zip && \
24291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24293 "RANLIB=$${RANLIB}" \
24294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24295 TAGS) \
24296 || exit 1
24298 @endif zip
24300 .PHONY: maybe-install-info-zip install-info-zip
24301 maybe-install-info-zip:
24302 @if zip
24303 maybe-install-info-zip: install-info-zip
24305 install-info-zip: \
24306 configure-zip \
24307 info-zip
24308 @[ -f ./zip/Makefile ] || exit 0; \
24309 r=`${PWD_COMMAND}`; export r; \
24310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24311 $(HOST_EXPORTS) \
24312 for flag in $(EXTRA_HOST_FLAGS) ; do \
24313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24314 done; \
24315 echo "Doing install-info in zip" ; \
24316 (cd $(HOST_SUBDIR)/zip && \
24317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24319 "RANLIB=$${RANLIB}" \
24320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24321 install-info) \
24322 || exit 1
24324 @endif zip
24326 .PHONY: maybe-installcheck-zip installcheck-zip
24327 maybe-installcheck-zip:
24328 @if zip
24329 maybe-installcheck-zip: installcheck-zip
24331 installcheck-zip: \
24332 configure-zip
24333 @[ -f ./zip/Makefile ] || exit 0; \
24334 r=`${PWD_COMMAND}`; export r; \
24335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24336 $(HOST_EXPORTS) \
24337 for flag in $(EXTRA_HOST_FLAGS) ; do \
24338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24339 done; \
24340 echo "Doing installcheck in zip" ; \
24341 (cd $(HOST_SUBDIR)/zip && \
24342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24344 "RANLIB=$${RANLIB}" \
24345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24346 installcheck) \
24347 || exit 1
24349 @endif zip
24351 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
24352 maybe-mostlyclean-zip:
24353 @if zip
24354 maybe-mostlyclean-zip: mostlyclean-zip
24356 mostlyclean-zip:
24357 @[ -f ./zip/Makefile ] || exit 0; \
24358 r=`${PWD_COMMAND}`; export r; \
24359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24360 $(HOST_EXPORTS) \
24361 for flag in $(EXTRA_HOST_FLAGS) ; do \
24362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24363 done; \
24364 echo "Doing mostlyclean in zip" ; \
24365 (cd $(HOST_SUBDIR)/zip && \
24366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24368 "RANLIB=$${RANLIB}" \
24369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24370 mostlyclean) \
24371 || exit 1
24373 @endif zip
24375 .PHONY: maybe-clean-zip clean-zip
24376 maybe-clean-zip:
24377 @if zip
24378 maybe-clean-zip: clean-zip
24380 clean-zip:
24381 @[ -f ./zip/Makefile ] || exit 0; \
24382 r=`${PWD_COMMAND}`; export r; \
24383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24384 $(HOST_EXPORTS) \
24385 for flag in $(EXTRA_HOST_FLAGS) ; do \
24386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24387 done; \
24388 echo "Doing clean in zip" ; \
24389 (cd $(HOST_SUBDIR)/zip && \
24390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24392 "RANLIB=$${RANLIB}" \
24393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24394 clean) \
24395 || exit 1
24397 @endif zip
24399 .PHONY: maybe-distclean-zip distclean-zip
24400 maybe-distclean-zip:
24401 @if zip
24402 maybe-distclean-zip: distclean-zip
24404 distclean-zip:
24405 @[ -f ./zip/Makefile ] || exit 0; \
24406 r=`${PWD_COMMAND}`; export r; \
24407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24408 $(HOST_EXPORTS) \
24409 for flag in $(EXTRA_HOST_FLAGS) ; do \
24410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24411 done; \
24412 echo "Doing distclean in zip" ; \
24413 (cd $(HOST_SUBDIR)/zip && \
24414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24416 "RANLIB=$${RANLIB}" \
24417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24418 distclean) \
24419 || exit 1
24421 @endif zip
24423 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
24424 maybe-maintainer-clean-zip:
24425 @if zip
24426 maybe-maintainer-clean-zip: maintainer-clean-zip
24428 maintainer-clean-zip:
24429 @[ -f ./zip/Makefile ] || exit 0; \
24430 r=`${PWD_COMMAND}`; export r; \
24431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24432 $(HOST_EXPORTS) \
24433 for flag in $(EXTRA_HOST_FLAGS) ; do \
24434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24435 done; \
24436 echo "Doing maintainer-clean in zip" ; \
24437 (cd $(HOST_SUBDIR)/zip && \
24438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24440 "RANLIB=$${RANLIB}" \
24441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24442 maintainer-clean) \
24443 || exit 1
24445 @endif zip
24449 .PHONY: configure-zlib maybe-configure-zlib
24450 maybe-configure-zlib:
24451 @if zlib
24452 maybe-configure-zlib: configure-zlib
24453 configure-zlib:
24454 @test -f stage_last && exit 0; \
24455 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
24456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
24457 r=`${PWD_COMMAND}`; export r; \
24458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24459 $(HOST_EXPORTS) \
24460 echo Configuring in $(HOST_SUBDIR)/zlib; \
24461 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
24462 case $(srcdir) in \
24463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24464 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24466 esac; \
24467 srcdiroption="--srcdir=$${topdir}/zlib"; \
24468 libsrcdir="$$s/zlib"; \
24469 $(SHELL) $${libsrcdir}/configure \
24470 $(HOST_CONFIGARGS) $${srcdiroption} \
24471 || exit 1
24472 @endif zlib
24476 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
24477 maybe-configure-stage1-zlib:
24478 @if zlib-bootstrap
24479 maybe-configure-stage1-zlib: configure-stage1-zlib
24480 configure-stage1-zlib:
24481 @$(MAKE) stage1-start
24482 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24483 r=`${PWD_COMMAND}`; export r; \
24484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24485 $(HOST_EXPORTS) \
24486 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
24487 cd $(HOST_SUBDIR)/zlib || exit 1; \
24488 case $(srcdir) in \
24489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24490 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24492 esac; \
24493 srcdiroption="--srcdir=$${topdir}/zlib"; \
24494 libsrcdir="$$s/zlib"; \
24495 $(SHELL) $${libsrcdir}/configure \
24496 $(HOST_CONFIGARGS) $${srcdiroption} \
24497 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24498 @endif zlib-bootstrap
24500 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
24501 maybe-configure-stage2-zlib:
24502 @if zlib-bootstrap
24503 maybe-configure-stage2-zlib: configure-stage2-zlib
24504 configure-stage2-zlib:
24505 @$(MAKE) stage2-start
24506 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24507 r=`${PWD_COMMAND}`; export r; \
24508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24509 $(HOST_EXPORTS) \
24510 $(POSTSTAGE1_HOST_EXPORTS) \
24511 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
24512 cd $(HOST_SUBDIR)/zlib || exit 1; \
24513 case $(srcdir) in \
24514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24515 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24517 esac; \
24518 srcdiroption="--srcdir=$${topdir}/zlib"; \
24519 libsrcdir="$$s/zlib"; \
24520 $(SHELL) $${libsrcdir}/configure \
24521 $(HOST_CONFIGARGS) $${srcdiroption} \
24522 @stage2_werror_flag@
24523 @endif zlib-bootstrap
24525 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
24526 maybe-configure-stage3-zlib:
24527 @if zlib-bootstrap
24528 maybe-configure-stage3-zlib: configure-stage3-zlib
24529 configure-stage3-zlib:
24530 @$(MAKE) stage3-start
24531 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24532 r=`${PWD_COMMAND}`; export r; \
24533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24534 $(HOST_EXPORTS) \
24535 $(POSTSTAGE1_HOST_EXPORTS) \
24536 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
24537 cd $(HOST_SUBDIR)/zlib || exit 1; \
24538 case $(srcdir) in \
24539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24540 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24542 esac; \
24543 srcdiroption="--srcdir=$${topdir}/zlib"; \
24544 libsrcdir="$$s/zlib"; \
24545 $(SHELL) $${libsrcdir}/configure \
24546 $(HOST_CONFIGARGS) $${srcdiroption} \
24547 @stage2_werror_flag@
24548 @endif zlib-bootstrap
24550 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
24551 maybe-configure-stage4-zlib:
24552 @if zlib-bootstrap
24553 maybe-configure-stage4-zlib: configure-stage4-zlib
24554 configure-stage4-zlib:
24555 @$(MAKE) stage4-start
24556 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24557 r=`${PWD_COMMAND}`; export r; \
24558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24559 $(HOST_EXPORTS) \
24560 $(POSTSTAGE1_HOST_EXPORTS) \
24561 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
24562 cd $(HOST_SUBDIR)/zlib || exit 1; \
24563 case $(srcdir) in \
24564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24565 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24567 esac; \
24568 srcdiroption="--srcdir=$${topdir}/zlib"; \
24569 libsrcdir="$$s/zlib"; \
24570 $(SHELL) $${libsrcdir}/configure \
24571 $(HOST_CONFIGARGS) $${srcdiroption} \
24572 @stage2_werror_flag@
24573 @endif zlib-bootstrap
24575 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
24576 maybe-configure-stageprofile-zlib:
24577 @if zlib-bootstrap
24578 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
24579 configure-stageprofile-zlib:
24580 @$(MAKE) stageprofile-start
24581 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24582 r=`${PWD_COMMAND}`; export r; \
24583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24584 $(HOST_EXPORTS) \
24585 $(POSTSTAGE1_HOST_EXPORTS) \
24586 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
24587 cd $(HOST_SUBDIR)/zlib || exit 1; \
24588 case $(srcdir) in \
24589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24590 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24592 esac; \
24593 srcdiroption="--srcdir=$${topdir}/zlib"; \
24594 libsrcdir="$$s/zlib"; \
24595 $(SHELL) $${libsrcdir}/configure \
24596 $(HOST_CONFIGARGS) $${srcdiroption} \
24597 @stage2_werror_flag@
24598 @endif zlib-bootstrap
24600 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
24601 maybe-configure-stagefeedback-zlib:
24602 @if zlib-bootstrap
24603 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
24604 configure-stagefeedback-zlib:
24605 @$(MAKE) stagefeedback-start
24606 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24607 r=`${PWD_COMMAND}`; export r; \
24608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24609 $(HOST_EXPORTS) \
24610 $(POSTSTAGE1_HOST_EXPORTS) \
24611 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
24612 cd $(HOST_SUBDIR)/zlib || exit 1; \
24613 case $(srcdir) in \
24614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24615 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24617 esac; \
24618 srcdiroption="--srcdir=$${topdir}/zlib"; \
24619 libsrcdir="$$s/zlib"; \
24620 $(SHELL) $${libsrcdir}/configure \
24621 $(HOST_CONFIGARGS) $${srcdiroption} \
24622 @stage2_werror_flag@
24623 @endif zlib-bootstrap
24629 .PHONY: all-zlib maybe-all-zlib
24630 maybe-all-zlib:
24631 @if zlib
24632 TARGET-zlib=all
24633 maybe-all-zlib: all-zlib
24634 all-zlib: configure-zlib
24635 @test -f stage_last && exit 0; \
24636 r=`${PWD_COMMAND}`; export r; \
24637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24638 $(HOST_EXPORTS) \
24639 (cd $(HOST_SUBDIR)/zlib && \
24640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
24641 @endif zlib
24645 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
24646 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
24647 maybe-all-stage1-zlib:
24648 maybe-clean-stage1-zlib:
24649 @if zlib-bootstrap
24650 maybe-all-stage1-zlib: all-stage1-zlib
24651 all-stage1: all-stage1-zlib
24652 all-stage1-zlib: configure-stage1-zlib
24653 @$(MAKE) stage1-start
24654 @r=`${PWD_COMMAND}`; export r; \
24655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24656 $(HOST_EXPORTS) \
24657 cd $(HOST_SUBDIR)/zlib && \
24658 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
24660 maybe-clean-stage1-zlib: clean-stage1-zlib
24661 clean-stage1: clean-stage1-zlib
24662 clean-stage1-zlib:
24663 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
24664 || exit 0 ; \
24665 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \
24666 cd $(HOST_SUBDIR)/zlib && \
24667 $(MAKE) $(FLAGS_TO_PASS) \
24668 CFLAGS="$(STAGE1_CFLAGS)" clean
24669 @endif zlib-bootstrap
24672 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
24673 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
24674 maybe-all-stage2-zlib:
24675 maybe-clean-stage2-zlib:
24676 @if zlib-bootstrap
24677 maybe-all-stage2-zlib: all-stage2-zlib
24678 all-stage2: all-stage2-zlib
24679 all-stage2-zlib: configure-stage2-zlib
24680 @$(MAKE) stage2-start
24681 @r=`${PWD_COMMAND}`; export r; \
24682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24683 $(HOST_EXPORTS) \
24684 $(POSTSTAGE1_HOST_EXPORTS) \
24685 cd $(HOST_SUBDIR)/zlib && \
24686 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24688 maybe-clean-stage2-zlib: clean-stage2-zlib
24689 clean-stage2: clean-stage2-zlib
24690 clean-stage2-zlib:
24691 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
24692 || exit 0 ; \
24693 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \
24694 cd $(HOST_SUBDIR)/zlib && \
24695 $(MAKE) $(FLAGS_TO_PASS) \
24696 $(POSTSTAGE1_FLAGS_TO_PASS) \
24697 clean
24698 @endif zlib-bootstrap
24701 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
24702 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
24703 maybe-all-stage3-zlib:
24704 maybe-clean-stage3-zlib:
24705 @if zlib-bootstrap
24706 maybe-all-stage3-zlib: all-stage3-zlib
24707 all-stage3: all-stage3-zlib
24708 all-stage3-zlib: configure-stage3-zlib
24709 @$(MAKE) stage3-start
24710 @r=`${PWD_COMMAND}`; export r; \
24711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24712 $(HOST_EXPORTS) \
24713 $(POSTSTAGE1_HOST_EXPORTS) \
24714 cd $(HOST_SUBDIR)/zlib && \
24715 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24717 maybe-clean-stage3-zlib: clean-stage3-zlib
24718 clean-stage3: clean-stage3-zlib
24719 clean-stage3-zlib:
24720 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
24721 || exit 0 ; \
24722 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \
24723 cd $(HOST_SUBDIR)/zlib && \
24724 $(MAKE) $(FLAGS_TO_PASS) \
24725 $(POSTSTAGE1_FLAGS_TO_PASS) \
24726 clean
24727 @endif zlib-bootstrap
24730 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
24731 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
24732 maybe-all-stage4-zlib:
24733 maybe-clean-stage4-zlib:
24734 @if zlib-bootstrap
24735 maybe-all-stage4-zlib: all-stage4-zlib
24736 all-stage4: all-stage4-zlib
24737 all-stage4-zlib: configure-stage4-zlib
24738 @$(MAKE) stage4-start
24739 @r=`${PWD_COMMAND}`; export r; \
24740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24741 $(HOST_EXPORTS) \
24742 $(POSTSTAGE1_HOST_EXPORTS) \
24743 cd $(HOST_SUBDIR)/zlib && \
24744 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24746 maybe-clean-stage4-zlib: clean-stage4-zlib
24747 clean-stage4: clean-stage4-zlib
24748 clean-stage4-zlib:
24749 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
24750 || exit 0 ; \
24751 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \
24752 cd $(HOST_SUBDIR)/zlib && \
24753 $(MAKE) $(FLAGS_TO_PASS) \
24754 $(POSTSTAGE1_FLAGS_TO_PASS) \
24755 clean
24756 @endif zlib-bootstrap
24759 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
24760 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
24761 maybe-all-stageprofile-zlib:
24762 maybe-clean-stageprofile-zlib:
24763 @if zlib-bootstrap
24764 maybe-all-stageprofile-zlib: all-stageprofile-zlib
24765 all-stageprofile: all-stageprofile-zlib
24766 all-stageprofile-zlib: configure-stageprofile-zlib
24767 @$(MAKE) stageprofile-start
24768 @r=`${PWD_COMMAND}`; export r; \
24769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24770 $(HOST_EXPORTS) \
24771 $(POSTSTAGE1_HOST_EXPORTS) \
24772 cd $(HOST_SUBDIR)/zlib && \
24773 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
24775 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
24776 clean-stageprofile: clean-stageprofile-zlib
24777 clean-stageprofile-zlib:
24778 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
24779 || exit 0 ; \
24780 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \
24781 cd $(HOST_SUBDIR)/zlib && \
24782 $(MAKE) $(FLAGS_TO_PASS) \
24783 $(POSTSTAGE1_FLAGS_TO_PASS) \
24784 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
24785 @endif zlib-bootstrap
24788 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
24789 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
24790 maybe-all-stagefeedback-zlib:
24791 maybe-clean-stagefeedback-zlib:
24792 @if zlib-bootstrap
24793 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
24794 all-stagefeedback: all-stagefeedback-zlib
24795 all-stagefeedback-zlib: configure-stagefeedback-zlib
24796 @$(MAKE) stagefeedback-start
24797 @r=`${PWD_COMMAND}`; export r; \
24798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24799 $(HOST_EXPORTS) \
24800 $(POSTSTAGE1_HOST_EXPORTS) \
24801 cd $(HOST_SUBDIR)/zlib && \
24802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
24804 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
24805 clean-stagefeedback: clean-stagefeedback-zlib
24806 clean-stagefeedback-zlib:
24807 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
24808 || exit 0 ; \
24809 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
24810 cd $(HOST_SUBDIR)/zlib && \
24811 $(MAKE) $(FLAGS_TO_PASS) \
24812 $(POSTSTAGE1_FLAGS_TO_PASS) \
24813 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
24814 @endif zlib-bootstrap
24820 .PHONY: check-zlib maybe-check-zlib
24821 maybe-check-zlib:
24822 @if zlib
24823 maybe-check-zlib: check-zlib
24825 check-zlib:
24827 @endif zlib
24829 .PHONY: install-zlib maybe-install-zlib
24830 maybe-install-zlib:
24831 @if zlib
24832 maybe-install-zlib: install-zlib
24834 install-zlib:
24836 @endif zlib
24838 # Other targets (info, dvi, etc.)
24840 .PHONY: maybe-info-zlib info-zlib
24841 maybe-info-zlib:
24842 @if zlib
24843 maybe-info-zlib: info-zlib
24845 info-zlib: \
24846 configure-zlib
24847 @[ -f ./zlib/Makefile ] || exit 0; \
24848 r=`${PWD_COMMAND}`; export r; \
24849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24850 $(HOST_EXPORTS) \
24851 for flag in $(EXTRA_HOST_FLAGS) ; do \
24852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24853 done; \
24854 echo "Doing info in zlib" ; \
24855 (cd $(HOST_SUBDIR)/zlib && \
24856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24858 "RANLIB=$${RANLIB}" \
24859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24860 info) \
24861 || exit 1
24863 @endif zlib
24865 .PHONY: maybe-dvi-zlib dvi-zlib
24866 maybe-dvi-zlib:
24867 @if zlib
24868 maybe-dvi-zlib: dvi-zlib
24870 dvi-zlib: \
24871 configure-zlib
24872 @[ -f ./zlib/Makefile ] || exit 0; \
24873 r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 for flag in $(EXTRA_HOST_FLAGS) ; do \
24877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24878 done; \
24879 echo "Doing dvi in zlib" ; \
24880 (cd $(HOST_SUBDIR)/zlib && \
24881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24883 "RANLIB=$${RANLIB}" \
24884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24885 dvi) \
24886 || exit 1
24888 @endif zlib
24890 .PHONY: maybe-html-zlib html-zlib
24891 maybe-html-zlib:
24892 @if zlib
24893 maybe-html-zlib: html-zlib
24895 html-zlib: \
24896 configure-zlib
24897 @[ -f ./zlib/Makefile ] || exit 0; \
24898 r=`${PWD_COMMAND}`; export r; \
24899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24900 $(HOST_EXPORTS) \
24901 for flag in $(EXTRA_HOST_FLAGS) ; do \
24902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24903 done; \
24904 echo "Doing html in zlib" ; \
24905 (cd $(HOST_SUBDIR)/zlib && \
24906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24908 "RANLIB=$${RANLIB}" \
24909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24910 html) \
24911 || exit 1
24913 @endif zlib
24915 .PHONY: maybe-TAGS-zlib TAGS-zlib
24916 maybe-TAGS-zlib:
24917 @if zlib
24918 maybe-TAGS-zlib: TAGS-zlib
24920 TAGS-zlib: \
24921 configure-zlib
24922 @[ -f ./zlib/Makefile ] || exit 0; \
24923 r=`${PWD_COMMAND}`; export r; \
24924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24925 $(HOST_EXPORTS) \
24926 for flag in $(EXTRA_HOST_FLAGS) ; do \
24927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24928 done; \
24929 echo "Doing TAGS in zlib" ; \
24930 (cd $(HOST_SUBDIR)/zlib && \
24931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24933 "RANLIB=$${RANLIB}" \
24934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24935 TAGS) \
24936 || exit 1
24938 @endif zlib
24940 .PHONY: maybe-install-info-zlib install-info-zlib
24941 maybe-install-info-zlib:
24942 @if zlib
24943 maybe-install-info-zlib: install-info-zlib
24945 install-info-zlib: \
24946 configure-zlib \
24947 info-zlib
24948 @[ -f ./zlib/Makefile ] || exit 0; \
24949 r=`${PWD_COMMAND}`; export r; \
24950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24951 $(HOST_EXPORTS) \
24952 for flag in $(EXTRA_HOST_FLAGS) ; do \
24953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24954 done; \
24955 echo "Doing install-info in zlib" ; \
24956 (cd $(HOST_SUBDIR)/zlib && \
24957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24959 "RANLIB=$${RANLIB}" \
24960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24961 install-info) \
24962 || exit 1
24964 @endif zlib
24966 .PHONY: maybe-installcheck-zlib installcheck-zlib
24967 maybe-installcheck-zlib:
24968 @if zlib
24969 maybe-installcheck-zlib: installcheck-zlib
24971 installcheck-zlib: \
24972 configure-zlib
24973 @[ -f ./zlib/Makefile ] || exit 0; \
24974 r=`${PWD_COMMAND}`; export r; \
24975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24976 $(HOST_EXPORTS) \
24977 for flag in $(EXTRA_HOST_FLAGS) ; do \
24978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24979 done; \
24980 echo "Doing installcheck in zlib" ; \
24981 (cd $(HOST_SUBDIR)/zlib && \
24982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24984 "RANLIB=$${RANLIB}" \
24985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24986 installcheck) \
24987 || exit 1
24989 @endif zlib
24991 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
24992 maybe-mostlyclean-zlib:
24993 @if zlib
24994 maybe-mostlyclean-zlib: mostlyclean-zlib
24996 mostlyclean-zlib:
24997 @[ -f ./zlib/Makefile ] || exit 0; \
24998 r=`${PWD_COMMAND}`; export r; \
24999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25000 $(HOST_EXPORTS) \
25001 for flag in $(EXTRA_HOST_FLAGS) ; do \
25002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25003 done; \
25004 echo "Doing mostlyclean in zlib" ; \
25005 (cd $(HOST_SUBDIR)/zlib && \
25006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25008 "RANLIB=$${RANLIB}" \
25009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25010 mostlyclean) \
25011 || exit 1
25013 @endif zlib
25015 .PHONY: maybe-clean-zlib clean-zlib
25016 maybe-clean-zlib:
25017 @if zlib
25018 maybe-clean-zlib: clean-zlib
25020 clean-zlib:
25021 @[ -f ./zlib/Makefile ] || exit 0; \
25022 r=`${PWD_COMMAND}`; export r; \
25023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25024 $(HOST_EXPORTS) \
25025 for flag in $(EXTRA_HOST_FLAGS) ; do \
25026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25027 done; \
25028 echo "Doing clean in zlib" ; \
25029 (cd $(HOST_SUBDIR)/zlib && \
25030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25032 "RANLIB=$${RANLIB}" \
25033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25034 clean) \
25035 || exit 1
25037 @endif zlib
25039 .PHONY: maybe-distclean-zlib distclean-zlib
25040 maybe-distclean-zlib:
25041 @if zlib
25042 maybe-distclean-zlib: distclean-zlib
25044 distclean-zlib:
25045 @[ -f ./zlib/Makefile ] || exit 0; \
25046 r=`${PWD_COMMAND}`; export r; \
25047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25048 $(HOST_EXPORTS) \
25049 for flag in $(EXTRA_HOST_FLAGS) ; do \
25050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25051 done; \
25052 echo "Doing distclean in zlib" ; \
25053 (cd $(HOST_SUBDIR)/zlib && \
25054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25056 "RANLIB=$${RANLIB}" \
25057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25058 distclean) \
25059 || exit 1
25061 @endif zlib
25063 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
25064 maybe-maintainer-clean-zlib:
25065 @if zlib
25066 maybe-maintainer-clean-zlib: maintainer-clean-zlib
25068 maintainer-clean-zlib:
25069 @[ -f ./zlib/Makefile ] || exit 0; \
25070 r=`${PWD_COMMAND}`; export r; \
25071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25072 $(HOST_EXPORTS) \
25073 for flag in $(EXTRA_HOST_FLAGS) ; do \
25074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25075 done; \
25076 echo "Doing maintainer-clean in zlib" ; \
25077 (cd $(HOST_SUBDIR)/zlib && \
25078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25080 "RANLIB=$${RANLIB}" \
25081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25082 maintainer-clean) \
25083 || exit 1
25085 @endif zlib
25089 .PHONY: configure-gdb maybe-configure-gdb
25090 maybe-configure-gdb:
25091 @if gdb
25092 maybe-configure-gdb: configure-gdb
25093 configure-gdb:
25094 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
25095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
25096 r=`${PWD_COMMAND}`; export r; \
25097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25098 $(HOST_EXPORTS) \
25099 echo Configuring in $(HOST_SUBDIR)/gdb; \
25100 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
25101 case $(srcdir) in \
25102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25103 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
25104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25105 esac; \
25106 srcdiroption="--srcdir=$${topdir}/gdb"; \
25107 libsrcdir="$$s/gdb"; \
25108 $(SHELL) $${libsrcdir}/configure \
25109 $(HOST_CONFIGARGS) $${srcdiroption} \
25110 || exit 1
25111 @endif gdb
25117 .PHONY: all-gdb maybe-all-gdb
25118 maybe-all-gdb:
25119 @if gdb
25120 TARGET-gdb=all
25121 maybe-all-gdb: all-gdb
25122 all-gdb: configure-gdb
25123 @r=`${PWD_COMMAND}`; export r; \
25124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25125 $(HOST_EXPORTS) \
25126 (cd $(HOST_SUBDIR)/gdb && \
25127 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
25128 @endif gdb
25133 .PHONY: check-gdb maybe-check-gdb
25134 maybe-check-gdb:
25135 @if gdb
25136 maybe-check-gdb: check-gdb
25138 check-gdb:
25139 @r=`${PWD_COMMAND}`; export r; \
25140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 $(HOST_EXPORTS) \
25142 (cd $(HOST_SUBDIR)/gdb && \
25143 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25145 @endif gdb
25147 .PHONY: install-gdb maybe-install-gdb
25148 maybe-install-gdb:
25149 @if gdb
25150 maybe-install-gdb: install-gdb
25152 install-gdb: installdirs
25153 @r=`${PWD_COMMAND}`; export r; \
25154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25155 $(HOST_EXPORTS) \
25156 (cd $(HOST_SUBDIR)/gdb && \
25157 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25159 @endif gdb
25161 # Other targets (info, dvi, etc.)
25163 .PHONY: maybe-info-gdb info-gdb
25164 maybe-info-gdb:
25165 @if gdb
25166 maybe-info-gdb: info-gdb
25168 info-gdb: \
25169 configure-gdb
25170 @[ -f ./gdb/Makefile ] || exit 0; \
25171 r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 $(HOST_EXPORTS) \
25174 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25176 done; \
25177 echo "Doing info in gdb" ; \
25178 (cd $(HOST_SUBDIR)/gdb && \
25179 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25180 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25181 "RANLIB=$${RANLIB}" \
25182 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25183 info) \
25184 || exit 1
25186 @endif gdb
25188 .PHONY: maybe-dvi-gdb dvi-gdb
25189 maybe-dvi-gdb:
25190 @if gdb
25191 maybe-dvi-gdb: dvi-gdb
25193 dvi-gdb: \
25194 configure-gdb
25195 @[ -f ./gdb/Makefile ] || exit 0; \
25196 r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(HOST_EXPORTS) \
25199 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25201 done; \
25202 echo "Doing dvi in gdb" ; \
25203 (cd $(HOST_SUBDIR)/gdb && \
25204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25206 "RANLIB=$${RANLIB}" \
25207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25208 dvi) \
25209 || exit 1
25211 @endif gdb
25213 .PHONY: maybe-html-gdb html-gdb
25214 maybe-html-gdb:
25215 @if gdb
25216 maybe-html-gdb: html-gdb
25218 html-gdb: \
25219 configure-gdb
25220 @[ -f ./gdb/Makefile ] || exit 0; \
25221 r=`${PWD_COMMAND}`; export r; \
25222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25223 $(HOST_EXPORTS) \
25224 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25226 done; \
25227 echo "Doing html in gdb" ; \
25228 (cd $(HOST_SUBDIR)/gdb && \
25229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25231 "RANLIB=$${RANLIB}" \
25232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25233 html) \
25234 || exit 1
25236 @endif gdb
25238 .PHONY: maybe-TAGS-gdb TAGS-gdb
25239 maybe-TAGS-gdb:
25240 @if gdb
25241 maybe-TAGS-gdb: TAGS-gdb
25243 TAGS-gdb: \
25244 configure-gdb
25245 @[ -f ./gdb/Makefile ] || exit 0; \
25246 r=`${PWD_COMMAND}`; export r; \
25247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25248 $(HOST_EXPORTS) \
25249 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25250 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25251 done; \
25252 echo "Doing TAGS in gdb" ; \
25253 (cd $(HOST_SUBDIR)/gdb && \
25254 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25255 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25256 "RANLIB=$${RANLIB}" \
25257 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25258 TAGS) \
25259 || exit 1
25261 @endif gdb
25263 .PHONY: maybe-install-info-gdb install-info-gdb
25264 maybe-install-info-gdb:
25265 @if gdb
25266 maybe-install-info-gdb: install-info-gdb
25268 install-info-gdb: \
25269 configure-gdb \
25270 info-gdb
25271 @[ -f ./gdb/Makefile ] || exit 0; \
25272 r=`${PWD_COMMAND}`; export r; \
25273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25274 $(HOST_EXPORTS) \
25275 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25277 done; \
25278 echo "Doing install-info in gdb" ; \
25279 (cd $(HOST_SUBDIR)/gdb && \
25280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25282 "RANLIB=$${RANLIB}" \
25283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25284 install-info) \
25285 || exit 1
25287 @endif gdb
25289 .PHONY: maybe-installcheck-gdb installcheck-gdb
25290 maybe-installcheck-gdb:
25291 @if gdb
25292 maybe-installcheck-gdb: installcheck-gdb
25294 installcheck-gdb: \
25295 configure-gdb
25296 @[ -f ./gdb/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 done; \
25303 echo "Doing installcheck in gdb" ; \
25304 (cd $(HOST_SUBDIR)/gdb && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25309 installcheck) \
25310 || exit 1
25312 @endif gdb
25314 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
25315 maybe-mostlyclean-gdb:
25316 @if gdb
25317 maybe-mostlyclean-gdb: mostlyclean-gdb
25319 mostlyclean-gdb:
25320 @[ -f ./gdb/Makefile ] || exit 0; \
25321 r=`${PWD_COMMAND}`; export r; \
25322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25323 $(HOST_EXPORTS) \
25324 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25326 done; \
25327 echo "Doing mostlyclean in gdb" ; \
25328 (cd $(HOST_SUBDIR)/gdb && \
25329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25331 "RANLIB=$${RANLIB}" \
25332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25333 mostlyclean) \
25334 || exit 1
25336 @endif gdb
25338 .PHONY: maybe-clean-gdb clean-gdb
25339 maybe-clean-gdb:
25340 @if gdb
25341 maybe-clean-gdb: clean-gdb
25343 clean-gdb:
25344 @[ -f ./gdb/Makefile ] || exit 0; \
25345 r=`${PWD_COMMAND}`; export r; \
25346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25347 $(HOST_EXPORTS) \
25348 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25350 done; \
25351 echo "Doing clean in gdb" ; \
25352 (cd $(HOST_SUBDIR)/gdb && \
25353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25355 "RANLIB=$${RANLIB}" \
25356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25357 clean) \
25358 || exit 1
25360 @endif gdb
25362 .PHONY: maybe-distclean-gdb distclean-gdb
25363 maybe-distclean-gdb:
25364 @if gdb
25365 maybe-distclean-gdb: distclean-gdb
25367 distclean-gdb:
25368 @[ -f ./gdb/Makefile ] || exit 0; \
25369 r=`${PWD_COMMAND}`; export r; \
25370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25371 $(HOST_EXPORTS) \
25372 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25374 done; \
25375 echo "Doing distclean in gdb" ; \
25376 (cd $(HOST_SUBDIR)/gdb && \
25377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25379 "RANLIB=$${RANLIB}" \
25380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25381 distclean) \
25382 || exit 1
25384 @endif gdb
25386 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
25387 maybe-maintainer-clean-gdb:
25388 @if gdb
25389 maybe-maintainer-clean-gdb: maintainer-clean-gdb
25391 maintainer-clean-gdb:
25392 @[ -f ./gdb/Makefile ] || exit 0; \
25393 r=`${PWD_COMMAND}`; export r; \
25394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25395 $(HOST_EXPORTS) \
25396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25398 done; \
25399 echo "Doing maintainer-clean in gdb" ; \
25400 (cd $(HOST_SUBDIR)/gdb && \
25401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25403 "RANLIB=$${RANLIB}" \
25404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25405 maintainer-clean) \
25406 || exit 1
25408 @endif gdb
25412 .PHONY: configure-expect maybe-configure-expect
25413 maybe-configure-expect:
25414 @if expect
25415 maybe-configure-expect: configure-expect
25416 configure-expect:
25417 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
25418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
25419 r=`${PWD_COMMAND}`; export r; \
25420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25421 $(HOST_EXPORTS) \
25422 echo Configuring in $(HOST_SUBDIR)/expect; \
25423 cd "$(HOST_SUBDIR)/expect" || exit 1; \
25424 case $(srcdir) in \
25425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25426 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
25427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25428 esac; \
25429 srcdiroption="--srcdir=$${topdir}/expect"; \
25430 libsrcdir="$$s/expect"; \
25431 $(SHELL) $${libsrcdir}/configure \
25432 $(HOST_CONFIGARGS) $${srcdiroption} \
25433 || exit 1
25434 @endif expect
25440 .PHONY: all-expect maybe-all-expect
25441 maybe-all-expect:
25442 @if expect
25443 TARGET-expect=all
25444 maybe-all-expect: all-expect
25445 all-expect: configure-expect
25446 @r=`${PWD_COMMAND}`; export r; \
25447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25448 $(HOST_EXPORTS) \
25449 (cd $(HOST_SUBDIR)/expect && \
25450 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
25451 @endif expect
25456 .PHONY: check-expect maybe-check-expect
25457 maybe-check-expect:
25458 @if expect
25459 maybe-check-expect: check-expect
25461 check-expect:
25462 @r=`${PWD_COMMAND}`; export r; \
25463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25464 $(HOST_EXPORTS) \
25465 (cd $(HOST_SUBDIR)/expect && \
25466 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25468 @endif expect
25470 .PHONY: install-expect maybe-install-expect
25471 maybe-install-expect:
25472 @if expect
25473 maybe-install-expect: install-expect
25475 install-expect: installdirs
25476 @r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 $(HOST_EXPORTS) \
25479 (cd $(HOST_SUBDIR)/expect && \
25480 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25482 @endif expect
25484 # Other targets (info, dvi, etc.)
25486 .PHONY: maybe-info-expect info-expect
25487 maybe-info-expect:
25488 @if expect
25489 maybe-info-expect: info-expect
25491 info-expect: \
25492 configure-expect
25493 @[ -f ./expect/Makefile ] || exit 0; \
25494 r=`${PWD_COMMAND}`; export r; \
25495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25496 $(HOST_EXPORTS) \
25497 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25499 done; \
25500 echo "Doing info in expect" ; \
25501 (cd $(HOST_SUBDIR)/expect && \
25502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25504 "RANLIB=$${RANLIB}" \
25505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25506 info) \
25507 || exit 1
25509 @endif expect
25511 .PHONY: maybe-dvi-expect dvi-expect
25512 maybe-dvi-expect:
25513 @if expect
25514 maybe-dvi-expect: dvi-expect
25516 dvi-expect: \
25517 configure-expect
25518 @[ -f ./expect/Makefile ] || exit 0; \
25519 r=`${PWD_COMMAND}`; export r; \
25520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25521 $(HOST_EXPORTS) \
25522 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25524 done; \
25525 echo "Doing dvi in expect" ; \
25526 (cd $(HOST_SUBDIR)/expect && \
25527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25529 "RANLIB=$${RANLIB}" \
25530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25531 dvi) \
25532 || exit 1
25534 @endif expect
25536 .PHONY: maybe-html-expect html-expect
25537 maybe-html-expect:
25538 @if expect
25539 maybe-html-expect: html-expect
25541 html-expect: \
25542 configure-expect
25543 @[ -f ./expect/Makefile ] || exit 0; \
25544 r=`${PWD_COMMAND}`; export r; \
25545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25546 $(HOST_EXPORTS) \
25547 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25549 done; \
25550 echo "Doing html in expect" ; \
25551 (cd $(HOST_SUBDIR)/expect && \
25552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25554 "RANLIB=$${RANLIB}" \
25555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25556 html) \
25557 || exit 1
25559 @endif expect
25561 .PHONY: maybe-TAGS-expect TAGS-expect
25562 maybe-TAGS-expect:
25563 @if expect
25564 maybe-TAGS-expect: TAGS-expect
25566 TAGS-expect: \
25567 configure-expect
25568 @[ -f ./expect/Makefile ] || exit 0; \
25569 r=`${PWD_COMMAND}`; export r; \
25570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25571 $(HOST_EXPORTS) \
25572 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25574 done; \
25575 echo "Doing TAGS in expect" ; \
25576 (cd $(HOST_SUBDIR)/expect && \
25577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25579 "RANLIB=$${RANLIB}" \
25580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25581 TAGS) \
25582 || exit 1
25584 @endif expect
25586 .PHONY: maybe-install-info-expect install-info-expect
25587 maybe-install-info-expect:
25588 @if expect
25589 maybe-install-info-expect: install-info-expect
25591 install-info-expect: \
25592 configure-expect \
25593 info-expect
25594 @[ -f ./expect/Makefile ] || exit 0; \
25595 r=`${PWD_COMMAND}`; export r; \
25596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25597 $(HOST_EXPORTS) \
25598 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25600 done; \
25601 echo "Doing install-info in expect" ; \
25602 (cd $(HOST_SUBDIR)/expect && \
25603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25605 "RANLIB=$${RANLIB}" \
25606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25607 install-info) \
25608 || exit 1
25610 @endif expect
25612 .PHONY: maybe-installcheck-expect installcheck-expect
25613 maybe-installcheck-expect:
25614 @if expect
25615 maybe-installcheck-expect: installcheck-expect
25617 installcheck-expect: \
25618 configure-expect
25619 @[ -f ./expect/Makefile ] || exit 0; \
25620 r=`${PWD_COMMAND}`; export r; \
25621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25622 $(HOST_EXPORTS) \
25623 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25625 done; \
25626 echo "Doing installcheck in expect" ; \
25627 (cd $(HOST_SUBDIR)/expect && \
25628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25630 "RANLIB=$${RANLIB}" \
25631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25632 installcheck) \
25633 || exit 1
25635 @endif expect
25637 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
25638 maybe-mostlyclean-expect:
25639 @if expect
25640 maybe-mostlyclean-expect: mostlyclean-expect
25642 mostlyclean-expect:
25643 @[ -f ./expect/Makefile ] || exit 0; \
25644 r=`${PWD_COMMAND}`; export r; \
25645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25646 $(HOST_EXPORTS) \
25647 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25649 done; \
25650 echo "Doing mostlyclean in expect" ; \
25651 (cd $(HOST_SUBDIR)/expect && \
25652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25654 "RANLIB=$${RANLIB}" \
25655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25656 mostlyclean) \
25657 || exit 1
25659 @endif expect
25661 .PHONY: maybe-clean-expect clean-expect
25662 maybe-clean-expect:
25663 @if expect
25664 maybe-clean-expect: clean-expect
25666 clean-expect:
25667 @[ -f ./expect/Makefile ] || exit 0; \
25668 r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25670 $(HOST_EXPORTS) \
25671 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25673 done; \
25674 echo "Doing clean in expect" ; \
25675 (cd $(HOST_SUBDIR)/expect && \
25676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25678 "RANLIB=$${RANLIB}" \
25679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25680 clean) \
25681 || exit 1
25683 @endif expect
25685 .PHONY: maybe-distclean-expect distclean-expect
25686 maybe-distclean-expect:
25687 @if expect
25688 maybe-distclean-expect: distclean-expect
25690 distclean-expect:
25691 @[ -f ./expect/Makefile ] || exit 0; \
25692 r=`${PWD_COMMAND}`; export r; \
25693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25694 $(HOST_EXPORTS) \
25695 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25697 done; \
25698 echo "Doing distclean in expect" ; \
25699 (cd $(HOST_SUBDIR)/expect && \
25700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25702 "RANLIB=$${RANLIB}" \
25703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25704 distclean) \
25705 || exit 1
25707 @endif expect
25709 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
25710 maybe-maintainer-clean-expect:
25711 @if expect
25712 maybe-maintainer-clean-expect: maintainer-clean-expect
25714 maintainer-clean-expect:
25715 @[ -f ./expect/Makefile ] || exit 0; \
25716 r=`${PWD_COMMAND}`; export r; \
25717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25718 $(HOST_EXPORTS) \
25719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25721 done; \
25722 echo "Doing maintainer-clean in expect" ; \
25723 (cd $(HOST_SUBDIR)/expect && \
25724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25726 "RANLIB=$${RANLIB}" \
25727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25728 maintainer-clean) \
25729 || exit 1
25731 @endif expect
25735 .PHONY: configure-guile maybe-configure-guile
25736 maybe-configure-guile:
25737 @if guile
25738 maybe-configure-guile: configure-guile
25739 configure-guile:
25740 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
25741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
25742 r=`${PWD_COMMAND}`; export r; \
25743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25744 $(HOST_EXPORTS) \
25745 echo Configuring in $(HOST_SUBDIR)/guile; \
25746 cd "$(HOST_SUBDIR)/guile" || exit 1; \
25747 case $(srcdir) in \
25748 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25749 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
25750 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25751 esac; \
25752 srcdiroption="--srcdir=$${topdir}/guile"; \
25753 libsrcdir="$$s/guile"; \
25754 $(SHELL) $${libsrcdir}/configure \
25755 $(HOST_CONFIGARGS) $${srcdiroption} \
25756 || exit 1
25757 @endif guile
25763 .PHONY: all-guile maybe-all-guile
25764 maybe-all-guile:
25765 @if guile
25766 TARGET-guile=all
25767 maybe-all-guile: all-guile
25768 all-guile: configure-guile
25769 @r=`${PWD_COMMAND}`; export r; \
25770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25771 $(HOST_EXPORTS) \
25772 (cd $(HOST_SUBDIR)/guile && \
25773 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
25774 @endif guile
25779 .PHONY: check-guile maybe-check-guile
25780 maybe-check-guile:
25781 @if guile
25782 maybe-check-guile: check-guile
25784 check-guile:
25785 @r=`${PWD_COMMAND}`; export r; \
25786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25787 $(HOST_EXPORTS) \
25788 (cd $(HOST_SUBDIR)/guile && \
25789 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25791 @endif guile
25793 .PHONY: install-guile maybe-install-guile
25794 maybe-install-guile:
25795 @if guile
25796 maybe-install-guile: install-guile
25798 install-guile: installdirs
25799 @r=`${PWD_COMMAND}`; export r; \
25800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25801 $(HOST_EXPORTS) \
25802 (cd $(HOST_SUBDIR)/guile && \
25803 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25805 @endif guile
25807 # Other targets (info, dvi, etc.)
25809 .PHONY: maybe-info-guile info-guile
25810 maybe-info-guile:
25811 @if guile
25812 maybe-info-guile: info-guile
25814 info-guile: \
25815 configure-guile
25816 @[ -f ./guile/Makefile ] || exit 0; \
25817 r=`${PWD_COMMAND}`; export r; \
25818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25819 $(HOST_EXPORTS) \
25820 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25822 done; \
25823 echo "Doing info in guile" ; \
25824 (cd $(HOST_SUBDIR)/guile && \
25825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25827 "RANLIB=$${RANLIB}" \
25828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25829 info) \
25830 || exit 1
25832 @endif guile
25834 .PHONY: maybe-dvi-guile dvi-guile
25835 maybe-dvi-guile:
25836 @if guile
25837 maybe-dvi-guile: dvi-guile
25839 dvi-guile: \
25840 configure-guile
25841 @[ -f ./guile/Makefile ] || exit 0; \
25842 r=`${PWD_COMMAND}`; export r; \
25843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25844 $(HOST_EXPORTS) \
25845 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25847 done; \
25848 echo "Doing dvi in guile" ; \
25849 (cd $(HOST_SUBDIR)/guile && \
25850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25852 "RANLIB=$${RANLIB}" \
25853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25854 dvi) \
25855 || exit 1
25857 @endif guile
25859 .PHONY: maybe-html-guile html-guile
25860 maybe-html-guile:
25861 @if guile
25862 maybe-html-guile: html-guile
25864 html-guile: \
25865 configure-guile
25866 @[ -f ./guile/Makefile ] || exit 0; \
25867 r=`${PWD_COMMAND}`; export r; \
25868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25869 $(HOST_EXPORTS) \
25870 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25872 done; \
25873 echo "Doing html in guile" ; \
25874 (cd $(HOST_SUBDIR)/guile && \
25875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25877 "RANLIB=$${RANLIB}" \
25878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25879 html) \
25880 || exit 1
25882 @endif guile
25884 .PHONY: maybe-TAGS-guile TAGS-guile
25885 maybe-TAGS-guile:
25886 @if guile
25887 maybe-TAGS-guile: TAGS-guile
25889 TAGS-guile: \
25890 configure-guile
25891 @[ -f ./guile/Makefile ] || exit 0; \
25892 r=`${PWD_COMMAND}`; export r; \
25893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25894 $(HOST_EXPORTS) \
25895 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25897 done; \
25898 echo "Doing TAGS in guile" ; \
25899 (cd $(HOST_SUBDIR)/guile && \
25900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25902 "RANLIB=$${RANLIB}" \
25903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25904 TAGS) \
25905 || exit 1
25907 @endif guile
25909 .PHONY: maybe-install-info-guile install-info-guile
25910 maybe-install-info-guile:
25911 @if guile
25912 maybe-install-info-guile: install-info-guile
25914 install-info-guile: \
25915 configure-guile \
25916 info-guile
25917 @[ -f ./guile/Makefile ] || exit 0; \
25918 r=`${PWD_COMMAND}`; export r; \
25919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25920 $(HOST_EXPORTS) \
25921 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25923 done; \
25924 echo "Doing install-info in guile" ; \
25925 (cd $(HOST_SUBDIR)/guile && \
25926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25928 "RANLIB=$${RANLIB}" \
25929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25930 install-info) \
25931 || exit 1
25933 @endif guile
25935 .PHONY: maybe-installcheck-guile installcheck-guile
25936 maybe-installcheck-guile:
25937 @if guile
25938 maybe-installcheck-guile: installcheck-guile
25940 installcheck-guile: \
25941 configure-guile
25942 @[ -f ./guile/Makefile ] || exit 0; \
25943 r=`${PWD_COMMAND}`; export r; \
25944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25945 $(HOST_EXPORTS) \
25946 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25948 done; \
25949 echo "Doing installcheck in guile" ; \
25950 (cd $(HOST_SUBDIR)/guile && \
25951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25953 "RANLIB=$${RANLIB}" \
25954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25955 installcheck) \
25956 || exit 1
25958 @endif guile
25960 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
25961 maybe-mostlyclean-guile:
25962 @if guile
25963 maybe-mostlyclean-guile: mostlyclean-guile
25965 mostlyclean-guile:
25966 @[ -f ./guile/Makefile ] || exit 0; \
25967 r=`${PWD_COMMAND}`; export r; \
25968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25969 $(HOST_EXPORTS) \
25970 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25972 done; \
25973 echo "Doing mostlyclean in guile" ; \
25974 (cd $(HOST_SUBDIR)/guile && \
25975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25977 "RANLIB=$${RANLIB}" \
25978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25979 mostlyclean) \
25980 || exit 1
25982 @endif guile
25984 .PHONY: maybe-clean-guile clean-guile
25985 maybe-clean-guile:
25986 @if guile
25987 maybe-clean-guile: clean-guile
25989 clean-guile:
25990 @[ -f ./guile/Makefile ] || exit 0; \
25991 r=`${PWD_COMMAND}`; export r; \
25992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25993 $(HOST_EXPORTS) \
25994 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25996 done; \
25997 echo "Doing clean in guile" ; \
25998 (cd $(HOST_SUBDIR)/guile && \
25999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26001 "RANLIB=$${RANLIB}" \
26002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26003 clean) \
26004 || exit 1
26006 @endif guile
26008 .PHONY: maybe-distclean-guile distclean-guile
26009 maybe-distclean-guile:
26010 @if guile
26011 maybe-distclean-guile: distclean-guile
26013 distclean-guile:
26014 @[ -f ./guile/Makefile ] || exit 0; \
26015 r=`${PWD_COMMAND}`; export r; \
26016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26017 $(HOST_EXPORTS) \
26018 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26020 done; \
26021 echo "Doing distclean in guile" ; \
26022 (cd $(HOST_SUBDIR)/guile && \
26023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26025 "RANLIB=$${RANLIB}" \
26026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26027 distclean) \
26028 || exit 1
26030 @endif guile
26032 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
26033 maybe-maintainer-clean-guile:
26034 @if guile
26035 maybe-maintainer-clean-guile: maintainer-clean-guile
26037 maintainer-clean-guile:
26038 @[ -f ./guile/Makefile ] || exit 0; \
26039 r=`${PWD_COMMAND}`; export r; \
26040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26041 $(HOST_EXPORTS) \
26042 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26044 done; \
26045 echo "Doing maintainer-clean in guile" ; \
26046 (cd $(HOST_SUBDIR)/guile && \
26047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26049 "RANLIB=$${RANLIB}" \
26050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26051 maintainer-clean) \
26052 || exit 1
26054 @endif guile
26058 .PHONY: configure-tk maybe-configure-tk
26059 maybe-configure-tk:
26060 @if tk
26061 maybe-configure-tk: configure-tk
26062 configure-tk:
26063 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
26064 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
26065 r=`${PWD_COMMAND}`; export r; \
26066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26067 $(HOST_EXPORTS) \
26068 echo Configuring in $(HOST_SUBDIR)/tk; \
26069 cd "$(HOST_SUBDIR)/tk" || exit 1; \
26070 case $(srcdir) in \
26071 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26072 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
26073 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26074 esac; \
26075 srcdiroption="--srcdir=$${topdir}/tk"; \
26076 libsrcdir="$$s/tk"; \
26077 $(SHELL) $${libsrcdir}/configure \
26078 $(HOST_CONFIGARGS) $${srcdiroption} \
26079 || exit 1
26080 @endif tk
26086 .PHONY: all-tk maybe-all-tk
26087 maybe-all-tk:
26088 @if tk
26089 TARGET-tk=all
26090 maybe-all-tk: all-tk
26091 all-tk: configure-tk
26092 @r=`${PWD_COMMAND}`; export r; \
26093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26094 $(HOST_EXPORTS) \
26095 (cd $(HOST_SUBDIR)/tk && \
26096 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
26097 @endif tk
26102 .PHONY: check-tk maybe-check-tk
26103 maybe-check-tk:
26104 @if tk
26105 maybe-check-tk: check-tk
26107 check-tk:
26108 @r=`${PWD_COMMAND}`; export r; \
26109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26110 $(HOST_EXPORTS) \
26111 (cd $(HOST_SUBDIR)/tk && \
26112 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26114 @endif tk
26116 .PHONY: install-tk maybe-install-tk
26117 maybe-install-tk:
26118 @if tk
26119 maybe-install-tk: install-tk
26121 install-tk: installdirs
26122 @r=`${PWD_COMMAND}`; export r; \
26123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26124 $(HOST_EXPORTS) \
26125 (cd $(HOST_SUBDIR)/tk && \
26126 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26128 @endif tk
26130 # Other targets (info, dvi, etc.)
26132 .PHONY: maybe-info-tk info-tk
26133 maybe-info-tk:
26134 @if tk
26135 maybe-info-tk: info-tk
26137 info-tk: \
26138 configure-tk
26139 @[ -f ./tk/Makefile ] || exit 0; \
26140 r=`${PWD_COMMAND}`; export r; \
26141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26142 $(HOST_EXPORTS) \
26143 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26144 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26145 done; \
26146 echo "Doing info in tk" ; \
26147 (cd $(HOST_SUBDIR)/tk && \
26148 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26149 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26150 "RANLIB=$${RANLIB}" \
26151 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26152 info) \
26153 || exit 1
26155 @endif tk
26157 .PHONY: maybe-dvi-tk dvi-tk
26158 maybe-dvi-tk:
26159 @if tk
26160 maybe-dvi-tk: dvi-tk
26162 dvi-tk: \
26163 configure-tk
26164 @[ -f ./tk/Makefile ] || exit 0; \
26165 r=`${PWD_COMMAND}`; export r; \
26166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26167 $(HOST_EXPORTS) \
26168 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26170 done; \
26171 echo "Doing dvi in tk" ; \
26172 (cd $(HOST_SUBDIR)/tk && \
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 tk
26182 .PHONY: maybe-html-tk html-tk
26183 maybe-html-tk:
26184 @if tk
26185 maybe-html-tk: html-tk
26187 html-tk: \
26188 configure-tk
26189 @[ -f ./tk/Makefile ] || exit 0; \
26190 r=`${PWD_COMMAND}`; export r; \
26191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26192 $(HOST_EXPORTS) \
26193 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26195 done; \
26196 echo "Doing html in tk" ; \
26197 (cd $(HOST_SUBDIR)/tk && \
26198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26200 "RANLIB=$${RANLIB}" \
26201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26202 html) \
26203 || exit 1
26205 @endif tk
26207 .PHONY: maybe-TAGS-tk TAGS-tk
26208 maybe-TAGS-tk:
26209 @if tk
26210 maybe-TAGS-tk: TAGS-tk
26212 TAGS-tk: \
26213 configure-tk
26214 @[ -f ./tk/Makefile ] || exit 0; \
26215 r=`${PWD_COMMAND}`; export r; \
26216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26217 $(HOST_EXPORTS) \
26218 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26220 done; \
26221 echo "Doing TAGS in tk" ; \
26222 (cd $(HOST_SUBDIR)/tk && \
26223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26225 "RANLIB=$${RANLIB}" \
26226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26227 TAGS) \
26228 || exit 1
26230 @endif tk
26232 .PHONY: maybe-install-info-tk install-info-tk
26233 maybe-install-info-tk:
26234 @if tk
26235 maybe-install-info-tk: install-info-tk
26237 install-info-tk: \
26238 configure-tk \
26239 info-tk
26240 @[ -f ./tk/Makefile ] || exit 0; \
26241 r=`${PWD_COMMAND}`; export r; \
26242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26243 $(HOST_EXPORTS) \
26244 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26246 done; \
26247 echo "Doing install-info in tk" ; \
26248 (cd $(HOST_SUBDIR)/tk && \
26249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26251 "RANLIB=$${RANLIB}" \
26252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26253 install-info) \
26254 || exit 1
26256 @endif tk
26258 .PHONY: maybe-installcheck-tk installcheck-tk
26259 maybe-installcheck-tk:
26260 @if tk
26261 maybe-installcheck-tk: installcheck-tk
26263 installcheck-tk: \
26264 configure-tk
26265 @[ -f ./tk/Makefile ] || exit 0; \
26266 r=`${PWD_COMMAND}`; export r; \
26267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26268 $(HOST_EXPORTS) \
26269 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26271 done; \
26272 echo "Doing installcheck in tk" ; \
26273 (cd $(HOST_SUBDIR)/tk && \
26274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26276 "RANLIB=$${RANLIB}" \
26277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26278 installcheck) \
26279 || exit 1
26281 @endif tk
26283 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
26284 maybe-mostlyclean-tk:
26285 @if tk
26286 maybe-mostlyclean-tk: mostlyclean-tk
26288 mostlyclean-tk:
26289 @[ -f ./tk/Makefile ] || exit 0; \
26290 r=`${PWD_COMMAND}`; export r; \
26291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292 $(HOST_EXPORTS) \
26293 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26295 done; \
26296 echo "Doing mostlyclean in tk" ; \
26297 (cd $(HOST_SUBDIR)/tk && \
26298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26300 "RANLIB=$${RANLIB}" \
26301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26302 mostlyclean) \
26303 || exit 1
26305 @endif tk
26307 .PHONY: maybe-clean-tk clean-tk
26308 maybe-clean-tk:
26309 @if tk
26310 maybe-clean-tk: clean-tk
26312 clean-tk:
26313 @[ -f ./tk/Makefile ] || exit 0; \
26314 r=`${PWD_COMMAND}`; export r; \
26315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26316 $(HOST_EXPORTS) \
26317 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26319 done; \
26320 echo "Doing clean in tk" ; \
26321 (cd $(HOST_SUBDIR)/tk && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26326 clean) \
26327 || exit 1
26329 @endif tk
26331 .PHONY: maybe-distclean-tk distclean-tk
26332 maybe-distclean-tk:
26333 @if tk
26334 maybe-distclean-tk: distclean-tk
26336 distclean-tk:
26337 @[ -f ./tk/Makefile ] || exit 0; \
26338 r=`${PWD_COMMAND}`; export r; \
26339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26340 $(HOST_EXPORTS) \
26341 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26343 done; \
26344 echo "Doing distclean in tk" ; \
26345 (cd $(HOST_SUBDIR)/tk && \
26346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26348 "RANLIB=$${RANLIB}" \
26349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26350 distclean) \
26351 || exit 1
26353 @endif tk
26355 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
26356 maybe-maintainer-clean-tk:
26357 @if tk
26358 maybe-maintainer-clean-tk: maintainer-clean-tk
26360 maintainer-clean-tk:
26361 @[ -f ./tk/Makefile ] || exit 0; \
26362 r=`${PWD_COMMAND}`; export r; \
26363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26364 $(HOST_EXPORTS) \
26365 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26367 done; \
26368 echo "Doing maintainer-clean in tk" ; \
26369 (cd $(HOST_SUBDIR)/tk && \
26370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26372 "RANLIB=$${RANLIB}" \
26373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26374 maintainer-clean) \
26375 || exit 1
26377 @endif tk
26381 .PHONY: configure-libtermcap maybe-configure-libtermcap
26382 maybe-configure-libtermcap:
26383 @if libtermcap
26384 maybe-configure-libtermcap: configure-libtermcap
26385 configure-libtermcap:
26386 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
26387 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
26388 r=`${PWD_COMMAND}`; export r; \
26389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26390 $(HOST_EXPORTS) \
26391 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
26392 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
26393 case $(srcdir) in \
26394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26395 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
26396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26397 esac; \
26398 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26399 libsrcdir="$$s/libtermcap"; \
26400 $(SHELL) $${libsrcdir}/configure \
26401 $(HOST_CONFIGARGS) $${srcdiroption} \
26402 || exit 1
26403 @endif libtermcap
26409 .PHONY: all-libtermcap maybe-all-libtermcap
26410 maybe-all-libtermcap:
26411 @if libtermcap
26412 TARGET-libtermcap=all
26413 maybe-all-libtermcap: all-libtermcap
26414 all-libtermcap: configure-libtermcap
26415 @r=`${PWD_COMMAND}`; export r; \
26416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26417 $(HOST_EXPORTS) \
26418 (cd $(HOST_SUBDIR)/libtermcap && \
26419 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
26420 @endif libtermcap
26425 .PHONY: check-libtermcap maybe-check-libtermcap
26426 maybe-check-libtermcap:
26427 @if libtermcap
26428 maybe-check-libtermcap: check-libtermcap
26430 check-libtermcap:
26432 @endif libtermcap
26434 .PHONY: install-libtermcap maybe-install-libtermcap
26435 maybe-install-libtermcap:
26436 @if libtermcap
26437 maybe-install-libtermcap: install-libtermcap
26439 install-libtermcap: installdirs
26440 @r=`${PWD_COMMAND}`; export r; \
26441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26442 $(HOST_EXPORTS) \
26443 (cd $(HOST_SUBDIR)/libtermcap && \
26444 $(MAKE) $(FLAGS_TO_PASS) install)
26446 @endif libtermcap
26448 # Other targets (info, dvi, etc.)
26450 .PHONY: maybe-info-libtermcap info-libtermcap
26451 maybe-info-libtermcap:
26452 @if libtermcap
26453 maybe-info-libtermcap: info-libtermcap
26455 info-libtermcap: \
26456 configure-libtermcap
26457 @[ -f ./libtermcap/Makefile ] || exit 0; \
26458 r=`${PWD_COMMAND}`; export r; \
26459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26460 $(HOST_EXPORTS) \
26461 for flag in $(EXTRA_HOST_FLAGS) ; do \
26462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26463 done; \
26464 echo "Doing info in libtermcap" ; \
26465 (cd $(HOST_SUBDIR)/libtermcap && \
26466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26468 "RANLIB=$${RANLIB}" \
26469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26470 info) \
26471 || exit 1
26473 @endif libtermcap
26475 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
26476 maybe-dvi-libtermcap:
26477 @if libtermcap
26478 maybe-dvi-libtermcap: dvi-libtermcap
26480 dvi-libtermcap: \
26481 configure-libtermcap
26482 @[ -f ./libtermcap/Makefile ] || exit 0; \
26483 r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 $(HOST_EXPORTS) \
26486 for flag in $(EXTRA_HOST_FLAGS) ; do \
26487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26488 done; \
26489 echo "Doing dvi in libtermcap" ; \
26490 (cd $(HOST_SUBDIR)/libtermcap && \
26491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26493 "RANLIB=$${RANLIB}" \
26494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26495 dvi) \
26496 || exit 1
26498 @endif libtermcap
26500 .PHONY: maybe-html-libtermcap html-libtermcap
26501 maybe-html-libtermcap:
26502 @if libtermcap
26503 maybe-html-libtermcap: html-libtermcap
26505 html-libtermcap: \
26506 configure-libtermcap
26507 @[ -f ./libtermcap/Makefile ] || exit 0; \
26508 r=`${PWD_COMMAND}`; export r; \
26509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26510 $(HOST_EXPORTS) \
26511 for flag in $(EXTRA_HOST_FLAGS) ; do \
26512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26513 done; \
26514 echo "Doing html in libtermcap" ; \
26515 (cd $(HOST_SUBDIR)/libtermcap && \
26516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26518 "RANLIB=$${RANLIB}" \
26519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26520 html) \
26521 || exit 1
26523 @endif libtermcap
26525 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
26526 maybe-TAGS-libtermcap:
26527 @if libtermcap
26528 maybe-TAGS-libtermcap: TAGS-libtermcap
26530 TAGS-libtermcap: \
26531 configure-libtermcap
26532 @[ -f ./libtermcap/Makefile ] || exit 0; \
26533 r=`${PWD_COMMAND}`; export r; \
26534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26535 $(HOST_EXPORTS) \
26536 for flag in $(EXTRA_HOST_FLAGS) ; do \
26537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26538 done; \
26539 echo "Doing TAGS in libtermcap" ; \
26540 (cd $(HOST_SUBDIR)/libtermcap && \
26541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26543 "RANLIB=$${RANLIB}" \
26544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26545 TAGS) \
26546 || exit 1
26548 @endif libtermcap
26550 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
26551 maybe-install-info-libtermcap:
26552 @if libtermcap
26553 maybe-install-info-libtermcap: install-info-libtermcap
26555 install-info-libtermcap: \
26556 configure-libtermcap \
26557 info-libtermcap
26558 @[ -f ./libtermcap/Makefile ] || exit 0; \
26559 r=`${PWD_COMMAND}`; export r; \
26560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26561 $(HOST_EXPORTS) \
26562 for flag in $(EXTRA_HOST_FLAGS) ; do \
26563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26564 done; \
26565 echo "Doing install-info in libtermcap" ; \
26566 (cd $(HOST_SUBDIR)/libtermcap && \
26567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26569 "RANLIB=$${RANLIB}" \
26570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26571 install-info) \
26572 || exit 1
26574 @endif libtermcap
26576 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
26577 maybe-installcheck-libtermcap:
26578 @if libtermcap
26579 maybe-installcheck-libtermcap: installcheck-libtermcap
26581 installcheck-libtermcap: \
26582 configure-libtermcap
26583 @[ -f ./libtermcap/Makefile ] || exit 0; \
26584 r=`${PWD_COMMAND}`; export r; \
26585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26586 $(HOST_EXPORTS) \
26587 for flag in $(EXTRA_HOST_FLAGS) ; do \
26588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26589 done; \
26590 echo "Doing installcheck in libtermcap" ; \
26591 (cd $(HOST_SUBDIR)/libtermcap && \
26592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26594 "RANLIB=$${RANLIB}" \
26595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26596 installcheck) \
26597 || exit 1
26599 @endif libtermcap
26601 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
26602 maybe-mostlyclean-libtermcap:
26603 @if libtermcap
26604 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
26606 # libtermcap doesn't support mostlyclean.
26607 mostlyclean-libtermcap:
26609 @endif libtermcap
26611 .PHONY: maybe-clean-libtermcap clean-libtermcap
26612 maybe-clean-libtermcap:
26613 @if libtermcap
26614 maybe-clean-libtermcap: clean-libtermcap
26616 # libtermcap doesn't support clean.
26617 clean-libtermcap:
26619 @endif libtermcap
26621 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
26622 maybe-distclean-libtermcap:
26623 @if libtermcap
26624 maybe-distclean-libtermcap: distclean-libtermcap
26626 # libtermcap doesn't support distclean.
26627 distclean-libtermcap:
26629 @endif libtermcap
26631 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
26632 maybe-maintainer-clean-libtermcap:
26633 @if libtermcap
26634 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
26636 # libtermcap doesn't support maintainer-clean.
26637 maintainer-clean-libtermcap:
26639 @endif libtermcap
26643 .PHONY: configure-utils maybe-configure-utils
26644 maybe-configure-utils:
26645 @if utils
26646 maybe-configure-utils: configure-utils
26647 configure-utils:
26648 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
26649 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
26650 r=`${PWD_COMMAND}`; export r; \
26651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26652 $(HOST_EXPORTS) \
26653 echo Configuring in $(HOST_SUBDIR)/utils; \
26654 cd "$(HOST_SUBDIR)/utils" || exit 1; \
26655 case $(srcdir) in \
26656 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26657 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
26658 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26659 esac; \
26660 srcdiroption="--srcdir=$${topdir}/utils"; \
26661 libsrcdir="$$s/utils"; \
26662 $(SHELL) $${libsrcdir}/configure \
26663 $(HOST_CONFIGARGS) $${srcdiroption} \
26664 || exit 1
26665 @endif utils
26671 .PHONY: all-utils maybe-all-utils
26672 maybe-all-utils:
26673 @if utils
26674 TARGET-utils=all
26675 maybe-all-utils: all-utils
26676 all-utils: configure-utils
26677 @r=`${PWD_COMMAND}`; export r; \
26678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26679 $(HOST_EXPORTS) \
26680 (cd $(HOST_SUBDIR)/utils && \
26681 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
26682 @endif utils
26687 .PHONY: check-utils maybe-check-utils
26688 maybe-check-utils:
26689 @if utils
26690 maybe-check-utils: check-utils
26692 check-utils:
26694 @endif utils
26696 .PHONY: install-utils maybe-install-utils
26697 maybe-install-utils:
26698 @if utils
26699 maybe-install-utils: install-utils
26701 install-utils: installdirs
26702 @r=`${PWD_COMMAND}`; export r; \
26703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26704 $(HOST_EXPORTS) \
26705 (cd $(HOST_SUBDIR)/utils && \
26706 $(MAKE) $(FLAGS_TO_PASS) install)
26708 @endif utils
26710 # Other targets (info, dvi, etc.)
26712 .PHONY: maybe-info-utils info-utils
26713 maybe-info-utils:
26714 @if utils
26715 maybe-info-utils: info-utils
26717 info-utils: \
26718 configure-utils
26719 @[ -f ./utils/Makefile ] || exit 0; \
26720 r=`${PWD_COMMAND}`; export r; \
26721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26722 $(HOST_EXPORTS) \
26723 for flag in $(EXTRA_HOST_FLAGS) ; do \
26724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26725 done; \
26726 echo "Doing info in utils" ; \
26727 (cd $(HOST_SUBDIR)/utils && \
26728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26730 "RANLIB=$${RANLIB}" \
26731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26732 info) \
26733 || exit 1
26735 @endif utils
26737 .PHONY: maybe-dvi-utils dvi-utils
26738 maybe-dvi-utils:
26739 @if utils
26740 maybe-dvi-utils: dvi-utils
26742 dvi-utils: \
26743 configure-utils
26744 @[ -f ./utils/Makefile ] || exit 0; \
26745 r=`${PWD_COMMAND}`; export r; \
26746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26747 $(HOST_EXPORTS) \
26748 for flag in $(EXTRA_HOST_FLAGS) ; do \
26749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26750 done; \
26751 echo "Doing dvi in utils" ; \
26752 (cd $(HOST_SUBDIR)/utils && \
26753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26755 "RANLIB=$${RANLIB}" \
26756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26757 dvi) \
26758 || exit 1
26760 @endif utils
26762 .PHONY: maybe-html-utils html-utils
26763 maybe-html-utils:
26764 @if utils
26765 maybe-html-utils: html-utils
26767 html-utils: \
26768 configure-utils
26769 @[ -f ./utils/Makefile ] || exit 0; \
26770 r=`${PWD_COMMAND}`; export r; \
26771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26772 $(HOST_EXPORTS) \
26773 for flag in $(EXTRA_HOST_FLAGS) ; do \
26774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26775 done; \
26776 echo "Doing html in utils" ; \
26777 (cd $(HOST_SUBDIR)/utils && \
26778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26780 "RANLIB=$${RANLIB}" \
26781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26782 html) \
26783 || exit 1
26785 @endif utils
26787 .PHONY: maybe-TAGS-utils TAGS-utils
26788 maybe-TAGS-utils:
26789 @if utils
26790 maybe-TAGS-utils: TAGS-utils
26792 TAGS-utils: \
26793 configure-utils
26794 @[ -f ./utils/Makefile ] || exit 0; \
26795 r=`${PWD_COMMAND}`; export r; \
26796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26797 $(HOST_EXPORTS) \
26798 for flag in $(EXTRA_HOST_FLAGS) ; do \
26799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26800 done; \
26801 echo "Doing TAGS in utils" ; \
26802 (cd $(HOST_SUBDIR)/utils && \
26803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26805 "RANLIB=$${RANLIB}" \
26806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26807 TAGS) \
26808 || exit 1
26810 @endif utils
26812 .PHONY: maybe-install-info-utils install-info-utils
26813 maybe-install-info-utils:
26814 @if utils
26815 maybe-install-info-utils: install-info-utils
26817 install-info-utils: \
26818 configure-utils \
26819 info-utils
26820 @[ -f ./utils/Makefile ] || exit 0; \
26821 r=`${PWD_COMMAND}`; export r; \
26822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26823 $(HOST_EXPORTS) \
26824 for flag in $(EXTRA_HOST_FLAGS) ; do \
26825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26826 done; \
26827 echo "Doing install-info in utils" ; \
26828 (cd $(HOST_SUBDIR)/utils && \
26829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26831 "RANLIB=$${RANLIB}" \
26832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26833 install-info) \
26834 || exit 1
26836 @endif utils
26838 .PHONY: maybe-installcheck-utils installcheck-utils
26839 maybe-installcheck-utils:
26840 @if utils
26841 maybe-installcheck-utils: installcheck-utils
26843 installcheck-utils: \
26844 configure-utils
26845 @[ -f ./utils/Makefile ] || exit 0; \
26846 r=`${PWD_COMMAND}`; export r; \
26847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26848 $(HOST_EXPORTS) \
26849 for flag in $(EXTRA_HOST_FLAGS) ; do \
26850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26851 done; \
26852 echo "Doing installcheck in utils" ; \
26853 (cd $(HOST_SUBDIR)/utils && \
26854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26856 "RANLIB=$${RANLIB}" \
26857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26858 installcheck) \
26859 || exit 1
26861 @endif utils
26863 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
26864 maybe-mostlyclean-utils:
26865 @if utils
26866 maybe-mostlyclean-utils: mostlyclean-utils
26868 mostlyclean-utils:
26869 @[ -f ./utils/Makefile ] || exit 0; \
26870 r=`${PWD_COMMAND}`; export r; \
26871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26872 $(HOST_EXPORTS) \
26873 for flag in $(EXTRA_HOST_FLAGS) ; do \
26874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26875 done; \
26876 echo "Doing mostlyclean in utils" ; \
26877 (cd $(HOST_SUBDIR)/utils && \
26878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26880 "RANLIB=$${RANLIB}" \
26881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26882 mostlyclean) \
26883 || exit 1
26885 @endif utils
26887 .PHONY: maybe-clean-utils clean-utils
26888 maybe-clean-utils:
26889 @if utils
26890 maybe-clean-utils: clean-utils
26892 clean-utils:
26893 @[ -f ./utils/Makefile ] || exit 0; \
26894 r=`${PWD_COMMAND}`; export r; \
26895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26896 $(HOST_EXPORTS) \
26897 for flag in $(EXTRA_HOST_FLAGS) ; do \
26898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26899 done; \
26900 echo "Doing clean in utils" ; \
26901 (cd $(HOST_SUBDIR)/utils && \
26902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26904 "RANLIB=$${RANLIB}" \
26905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26906 clean) \
26907 || exit 1
26909 @endif utils
26911 .PHONY: maybe-distclean-utils distclean-utils
26912 maybe-distclean-utils:
26913 @if utils
26914 maybe-distclean-utils: distclean-utils
26916 distclean-utils:
26917 @[ -f ./utils/Makefile ] || exit 0; \
26918 r=`${PWD_COMMAND}`; export r; \
26919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26920 $(HOST_EXPORTS) \
26921 for flag in $(EXTRA_HOST_FLAGS) ; do \
26922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26923 done; \
26924 echo "Doing distclean in utils" ; \
26925 (cd $(HOST_SUBDIR)/utils && \
26926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26928 "RANLIB=$${RANLIB}" \
26929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26930 distclean) \
26931 || exit 1
26933 @endif utils
26935 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
26936 maybe-maintainer-clean-utils:
26937 @if utils
26938 maybe-maintainer-clean-utils: maintainer-clean-utils
26940 maintainer-clean-utils:
26941 @[ -f ./utils/Makefile ] || exit 0; \
26942 r=`${PWD_COMMAND}`; export r; \
26943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26944 $(HOST_EXPORTS) \
26945 for flag in $(EXTRA_HOST_FLAGS) ; do \
26946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26947 done; \
26948 echo "Doing maintainer-clean in utils" ; \
26949 (cd $(HOST_SUBDIR)/utils && \
26950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26952 "RANLIB=$${RANLIB}" \
26953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26954 maintainer-clean) \
26955 || exit 1
26957 @endif utils
26961 .PHONY: configure-gnattools maybe-configure-gnattools
26962 maybe-configure-gnattools:
26963 @if gnattools
26964 maybe-configure-gnattools: configure-gnattools
26965 configure-gnattools:
26966 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
26967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
26968 r=`${PWD_COMMAND}`; export r; \
26969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26970 $(HOST_EXPORTS) \
26971 echo Configuring in $(HOST_SUBDIR)/gnattools; \
26972 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
26973 case $(srcdir) in \
26974 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26975 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
26976 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26977 esac; \
26978 srcdiroption="--srcdir=$${topdir}/gnattools"; \
26979 libsrcdir="$$s/gnattools"; \
26980 $(SHELL) $${libsrcdir}/configure \
26981 $(HOST_CONFIGARGS) $${srcdiroption} \
26982 || exit 1
26983 @endif gnattools
26989 .PHONY: all-gnattools maybe-all-gnattools
26990 maybe-all-gnattools:
26991 @if gnattools
26992 TARGET-gnattools=all
26993 maybe-all-gnattools: all-gnattools
26994 all-gnattools: configure-gnattools
26995 @r=`${PWD_COMMAND}`; export r; \
26996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26997 $(HOST_EXPORTS) \
26998 (cd $(HOST_SUBDIR)/gnattools && \
26999 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
27000 @endif gnattools
27005 .PHONY: check-gnattools maybe-check-gnattools
27006 maybe-check-gnattools:
27007 @if gnattools
27008 maybe-check-gnattools: check-gnattools
27010 check-gnattools:
27011 @r=`${PWD_COMMAND}`; export r; \
27012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27013 $(HOST_EXPORTS) \
27014 (cd $(HOST_SUBDIR)/gnattools && \
27015 $(MAKE) $(FLAGS_TO_PASS) check)
27017 @endif gnattools
27019 .PHONY: install-gnattools maybe-install-gnattools
27020 maybe-install-gnattools:
27021 @if gnattools
27022 maybe-install-gnattools: install-gnattools
27024 install-gnattools: installdirs
27025 @r=`${PWD_COMMAND}`; export r; \
27026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27027 $(HOST_EXPORTS) \
27028 (cd $(HOST_SUBDIR)/gnattools && \
27029 $(MAKE) $(FLAGS_TO_PASS) install)
27031 @endif gnattools
27033 # Other targets (info, dvi, etc.)
27035 .PHONY: maybe-info-gnattools info-gnattools
27036 maybe-info-gnattools:
27037 @if gnattools
27038 maybe-info-gnattools: info-gnattools
27040 info-gnattools: \
27041 configure-gnattools
27042 @[ -f ./gnattools/Makefile ] || exit 0; \
27043 r=`${PWD_COMMAND}`; export r; \
27044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27045 $(HOST_EXPORTS) \
27046 for flag in $(EXTRA_HOST_FLAGS) ; do \
27047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27048 done; \
27049 echo "Doing info in gnattools" ; \
27050 (cd $(HOST_SUBDIR)/gnattools && \
27051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27053 "RANLIB=$${RANLIB}" \
27054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27055 info) \
27056 || exit 1
27058 @endif gnattools
27060 .PHONY: maybe-dvi-gnattools dvi-gnattools
27061 maybe-dvi-gnattools:
27062 @if gnattools
27063 maybe-dvi-gnattools: dvi-gnattools
27065 dvi-gnattools: \
27066 configure-gnattools
27067 @[ -f ./gnattools/Makefile ] || exit 0; \
27068 r=`${PWD_COMMAND}`; export r; \
27069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27070 $(HOST_EXPORTS) \
27071 for flag in $(EXTRA_HOST_FLAGS) ; do \
27072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27073 done; \
27074 echo "Doing dvi in gnattools" ; \
27075 (cd $(HOST_SUBDIR)/gnattools && \
27076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27078 "RANLIB=$${RANLIB}" \
27079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27080 dvi) \
27081 || exit 1
27083 @endif gnattools
27085 .PHONY: maybe-html-gnattools html-gnattools
27086 maybe-html-gnattools:
27087 @if gnattools
27088 maybe-html-gnattools: html-gnattools
27090 html-gnattools: \
27091 configure-gnattools
27092 @[ -f ./gnattools/Makefile ] || exit 0; \
27093 r=`${PWD_COMMAND}`; export r; \
27094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27095 $(HOST_EXPORTS) \
27096 for flag in $(EXTRA_HOST_FLAGS) ; do \
27097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27098 done; \
27099 echo "Doing html in gnattools" ; \
27100 (cd $(HOST_SUBDIR)/gnattools && \
27101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27103 "RANLIB=$${RANLIB}" \
27104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27105 html) \
27106 || exit 1
27108 @endif gnattools
27110 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
27111 maybe-TAGS-gnattools:
27112 @if gnattools
27113 maybe-TAGS-gnattools: TAGS-gnattools
27115 TAGS-gnattools: \
27116 configure-gnattools
27117 @[ -f ./gnattools/Makefile ] || exit 0; \
27118 r=`${PWD_COMMAND}`; export r; \
27119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27120 $(HOST_EXPORTS) \
27121 for flag in $(EXTRA_HOST_FLAGS) ; do \
27122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27123 done; \
27124 echo "Doing TAGS in gnattools" ; \
27125 (cd $(HOST_SUBDIR)/gnattools && \
27126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27128 "RANLIB=$${RANLIB}" \
27129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27130 TAGS) \
27131 || exit 1
27133 @endif gnattools
27135 .PHONY: maybe-install-info-gnattools install-info-gnattools
27136 maybe-install-info-gnattools:
27137 @if gnattools
27138 maybe-install-info-gnattools: install-info-gnattools
27140 install-info-gnattools: \
27141 configure-gnattools \
27142 info-gnattools
27143 @[ -f ./gnattools/Makefile ] || exit 0; \
27144 r=`${PWD_COMMAND}`; export r; \
27145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27146 $(HOST_EXPORTS) \
27147 for flag in $(EXTRA_HOST_FLAGS) ; do \
27148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27149 done; \
27150 echo "Doing install-info in gnattools" ; \
27151 (cd $(HOST_SUBDIR)/gnattools && \
27152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27154 "RANLIB=$${RANLIB}" \
27155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27156 install-info) \
27157 || exit 1
27159 @endif gnattools
27161 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
27162 maybe-installcheck-gnattools:
27163 @if gnattools
27164 maybe-installcheck-gnattools: installcheck-gnattools
27166 installcheck-gnattools: \
27167 configure-gnattools
27168 @[ -f ./gnattools/Makefile ] || exit 0; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(HOST_EXPORTS) \
27172 for flag in $(EXTRA_HOST_FLAGS) ; do \
27173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27174 done; \
27175 echo "Doing installcheck in gnattools" ; \
27176 (cd $(HOST_SUBDIR)/gnattools && \
27177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27179 "RANLIB=$${RANLIB}" \
27180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27181 installcheck) \
27182 || exit 1
27184 @endif gnattools
27186 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
27187 maybe-mostlyclean-gnattools:
27188 @if gnattools
27189 maybe-mostlyclean-gnattools: mostlyclean-gnattools
27191 mostlyclean-gnattools:
27192 @[ -f ./gnattools/Makefile ] || exit 0; \
27193 r=`${PWD_COMMAND}`; export r; \
27194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27195 $(HOST_EXPORTS) \
27196 for flag in $(EXTRA_HOST_FLAGS) ; do \
27197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27198 done; \
27199 echo "Doing mostlyclean in gnattools" ; \
27200 (cd $(HOST_SUBDIR)/gnattools && \
27201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27203 "RANLIB=$${RANLIB}" \
27204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27205 mostlyclean) \
27206 || exit 1
27208 @endif gnattools
27210 .PHONY: maybe-clean-gnattools clean-gnattools
27211 maybe-clean-gnattools:
27212 @if gnattools
27213 maybe-clean-gnattools: clean-gnattools
27215 clean-gnattools:
27216 @[ -f ./gnattools/Makefile ] || exit 0; \
27217 r=`${PWD_COMMAND}`; export r; \
27218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27219 $(HOST_EXPORTS) \
27220 for flag in $(EXTRA_HOST_FLAGS) ; do \
27221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27222 done; \
27223 echo "Doing clean in gnattools" ; \
27224 (cd $(HOST_SUBDIR)/gnattools && \
27225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27227 "RANLIB=$${RANLIB}" \
27228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27229 clean) \
27230 || exit 1
27232 @endif gnattools
27234 .PHONY: maybe-distclean-gnattools distclean-gnattools
27235 maybe-distclean-gnattools:
27236 @if gnattools
27237 maybe-distclean-gnattools: distclean-gnattools
27239 distclean-gnattools:
27240 @[ -f ./gnattools/Makefile ] || exit 0; \
27241 r=`${PWD_COMMAND}`; export r; \
27242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27243 $(HOST_EXPORTS) \
27244 for flag in $(EXTRA_HOST_FLAGS) ; do \
27245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27246 done; \
27247 echo "Doing distclean in gnattools" ; \
27248 (cd $(HOST_SUBDIR)/gnattools && \
27249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27251 "RANLIB=$${RANLIB}" \
27252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27253 distclean) \
27254 || exit 1
27256 @endif gnattools
27258 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
27259 maybe-maintainer-clean-gnattools:
27260 @if gnattools
27261 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
27263 maintainer-clean-gnattools:
27264 @[ -f ./gnattools/Makefile ] || exit 0; \
27265 r=`${PWD_COMMAND}`; export r; \
27266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27267 $(HOST_EXPORTS) \
27268 for flag in $(EXTRA_HOST_FLAGS) ; do \
27269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27270 done; \
27271 echo "Doing maintainer-clean in gnattools" ; \
27272 (cd $(HOST_SUBDIR)/gnattools && \
27273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27275 "RANLIB=$${RANLIB}" \
27276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27277 maintainer-clean) \
27278 || exit 1
27280 @endif gnattools
27284 # ---------------------------------------
27285 # Modules which run on the target machine
27286 # ---------------------------------------
27289 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27290 @if target-libstdc++-v3
27291 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
27292 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27293 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
27294 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27295 @endif target-libstdc++-v3
27299 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
27300 maybe-configure-target-libstdc++-v3:
27301 @if target-libstdc++-v3
27302 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
27303 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27304 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
27305 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27306 r=`${PWD_COMMAND}`; export r; \
27307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27308 $(RAW_CXX_TARGET_EXPORTS) \
27309 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
27310 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
27311 case $(srcdir) in \
27312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27313 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
27314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27315 esac; \
27316 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
27317 libsrcdir="$$s/libstdc++-v3"; \
27318 rm -f no-such-file || : ; \
27319 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27320 $(TARGET_CONFIGARGS) $${srcdiroption} \
27321 || exit 1
27322 @endif target-libstdc++-v3
27328 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
27329 maybe-all-target-libstdc++-v3:
27330 @if target-libstdc++-v3
27331 TARGET-target-libstdc++-v3=all
27332 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
27333 all-target-libstdc++-v3: configure-target-libstdc++-v3
27334 @r=`${PWD_COMMAND}`; export r; \
27335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27336 $(RAW_CXX_TARGET_EXPORTS) \
27337 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27338 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
27339 @endif target-libstdc++-v3
27345 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
27346 maybe-check-target-libstdc++-v3:
27347 @if target-libstdc++-v3
27348 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
27350 check-target-libstdc++-v3:
27351 @r=`${PWD_COMMAND}`; export r; \
27352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27353 $(RAW_CXX_TARGET_EXPORTS) \
27354 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27355 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27357 @endif target-libstdc++-v3
27359 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
27360 maybe-install-target-libstdc++-v3:
27361 @if target-libstdc++-v3
27362 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
27364 install-target-libstdc++-v3: installdirs
27365 @r=`${PWD_COMMAND}`; export r; \
27366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27367 $(RAW_CXX_TARGET_EXPORTS) \
27368 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27369 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27371 @endif target-libstdc++-v3
27373 # Other targets (info, dvi, etc.)
27375 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
27376 maybe-info-target-libstdc++-v3:
27377 @if target-libstdc++-v3
27378 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
27380 info-target-libstdc++-v3: \
27381 configure-target-libstdc++-v3
27382 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27383 r=`${PWD_COMMAND}`; export r; \
27384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27385 $(RAW_CXX_TARGET_EXPORTS) \
27386 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27387 for flag in $(EXTRA_TARGET_FLAGS); do \
27388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27389 done; \
27390 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27393 "RANLIB=$${RANLIB}" \
27394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27395 info) \
27396 || exit 1
27398 @endif target-libstdc++-v3
27400 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
27401 maybe-dvi-target-libstdc++-v3:
27402 @if target-libstdc++-v3
27403 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
27405 dvi-target-libstdc++-v3: \
27406 configure-target-libstdc++-v3
27407 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27408 r=`${PWD_COMMAND}`; export r; \
27409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27410 $(RAW_CXX_TARGET_EXPORTS) \
27411 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27412 for flag in $(EXTRA_TARGET_FLAGS); do \
27413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27414 done; \
27415 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27418 "RANLIB=$${RANLIB}" \
27419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27420 dvi) \
27421 || exit 1
27423 @endif target-libstdc++-v3
27425 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
27426 maybe-html-target-libstdc++-v3:
27427 @if target-libstdc++-v3
27428 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
27430 html-target-libstdc++-v3: \
27431 configure-target-libstdc++-v3
27432 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27433 r=`${PWD_COMMAND}`; export r; \
27434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27435 $(RAW_CXX_TARGET_EXPORTS) \
27436 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27437 for flag in $(EXTRA_TARGET_FLAGS); do \
27438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27439 done; \
27440 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27443 "RANLIB=$${RANLIB}" \
27444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27445 html) \
27446 || exit 1
27448 @endif target-libstdc++-v3
27450 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
27451 maybe-TAGS-target-libstdc++-v3:
27452 @if target-libstdc++-v3
27453 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
27455 TAGS-target-libstdc++-v3: \
27456 configure-target-libstdc++-v3
27457 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27458 r=`${PWD_COMMAND}`; export r; \
27459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27460 $(RAW_CXX_TARGET_EXPORTS) \
27461 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27462 for flag in $(EXTRA_TARGET_FLAGS); do \
27463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27464 done; \
27465 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27468 "RANLIB=$${RANLIB}" \
27469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27470 TAGS) \
27471 || exit 1
27473 @endif target-libstdc++-v3
27475 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
27476 maybe-install-info-target-libstdc++-v3:
27477 @if target-libstdc++-v3
27478 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
27480 install-info-target-libstdc++-v3: \
27481 configure-target-libstdc++-v3 \
27482 info-target-libstdc++-v3
27483 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27484 r=`${PWD_COMMAND}`; export r; \
27485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27486 $(RAW_CXX_TARGET_EXPORTS) \
27487 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27488 for flag in $(EXTRA_TARGET_FLAGS); do \
27489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27490 done; \
27491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27494 "RANLIB=$${RANLIB}" \
27495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27496 install-info) \
27497 || exit 1
27499 @endif target-libstdc++-v3
27501 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
27502 maybe-installcheck-target-libstdc++-v3:
27503 @if target-libstdc++-v3
27504 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
27506 installcheck-target-libstdc++-v3: \
27507 configure-target-libstdc++-v3
27508 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27509 r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(RAW_CXX_TARGET_EXPORTS) \
27512 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27513 for flag in $(EXTRA_TARGET_FLAGS); do \
27514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27515 done; \
27516 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27519 "RANLIB=$${RANLIB}" \
27520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27521 installcheck) \
27522 || exit 1
27524 @endif target-libstdc++-v3
27526 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
27527 maybe-mostlyclean-target-libstdc++-v3:
27528 @if target-libstdc++-v3
27529 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
27531 mostlyclean-target-libstdc++-v3:
27532 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27533 r=`${PWD_COMMAND}`; export r; \
27534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27535 $(RAW_CXX_TARGET_EXPORTS) \
27536 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27537 for flag in $(EXTRA_TARGET_FLAGS); do \
27538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27539 done; \
27540 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27543 "RANLIB=$${RANLIB}" \
27544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27545 mostlyclean) \
27546 || exit 1
27548 @endif target-libstdc++-v3
27550 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
27551 maybe-clean-target-libstdc++-v3:
27552 @if target-libstdc++-v3
27553 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
27555 clean-target-libstdc++-v3:
27556 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27557 r=`${PWD_COMMAND}`; export r; \
27558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27559 $(RAW_CXX_TARGET_EXPORTS) \
27560 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27561 for flag in $(EXTRA_TARGET_FLAGS); do \
27562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27563 done; \
27564 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27567 "RANLIB=$${RANLIB}" \
27568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27569 clean) \
27570 || exit 1
27572 @endif target-libstdc++-v3
27574 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
27575 maybe-distclean-target-libstdc++-v3:
27576 @if target-libstdc++-v3
27577 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
27579 distclean-target-libstdc++-v3:
27580 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27581 r=`${PWD_COMMAND}`; export r; \
27582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27583 $(RAW_CXX_TARGET_EXPORTS) \
27584 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27585 for flag in $(EXTRA_TARGET_FLAGS); do \
27586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27587 done; \
27588 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27591 "RANLIB=$${RANLIB}" \
27592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27593 distclean) \
27594 || exit 1
27596 @endif target-libstdc++-v3
27598 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
27599 maybe-maintainer-clean-target-libstdc++-v3:
27600 @if target-libstdc++-v3
27601 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
27603 maintainer-clean-target-libstdc++-v3:
27604 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27605 r=`${PWD_COMMAND}`; export r; \
27606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27607 $(RAW_CXX_TARGET_EXPORTS) \
27608 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
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)/libstdc++-v3 && \
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 maintainer-clean) \
27618 || exit 1
27620 @endif target-libstdc++-v3
27624 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27625 @if target-libmudflap
27626 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
27627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27628 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
27629 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
27630 @endif target-libmudflap
27634 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
27635 maybe-configure-target-libmudflap:
27636 @if target-libmudflap
27637 maybe-configure-target-libmudflap: configure-target-libmudflap
27638 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
27639 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
27640 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27641 r=`${PWD_COMMAND}`; export r; \
27642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27643 $(NORMAL_TARGET_EXPORTS) \
27644 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
27645 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
27646 case $(srcdir) in \
27647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27648 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
27649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27650 esac; \
27651 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
27652 libsrcdir="$$s/libmudflap"; \
27653 rm -f no-such-file || : ; \
27654 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27655 $(TARGET_CONFIGARGS) $${srcdiroption} \
27656 || exit 1
27657 @endif target-libmudflap
27663 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
27664 maybe-all-target-libmudflap:
27665 @if target-libmudflap
27666 TARGET-target-libmudflap=all
27667 maybe-all-target-libmudflap: all-target-libmudflap
27668 all-target-libmudflap: configure-target-libmudflap
27669 @r=`${PWD_COMMAND}`; export r; \
27670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27671 $(NORMAL_TARGET_EXPORTS) \
27672 (cd $(TARGET_SUBDIR)/libmudflap && \
27673 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
27674 @endif target-libmudflap
27680 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
27681 maybe-check-target-libmudflap:
27682 @if target-libmudflap
27683 maybe-check-target-libmudflap: check-target-libmudflap
27685 check-target-libmudflap:
27686 @r=`${PWD_COMMAND}`; export r; \
27687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27688 $(NORMAL_TARGET_EXPORTS) \
27689 (cd $(TARGET_SUBDIR)/libmudflap && \
27690 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27692 @endif target-libmudflap
27694 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
27695 maybe-install-target-libmudflap:
27696 @if target-libmudflap
27697 maybe-install-target-libmudflap: install-target-libmudflap
27699 install-target-libmudflap: installdirs
27700 @r=`${PWD_COMMAND}`; export r; \
27701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27702 $(NORMAL_TARGET_EXPORTS) \
27703 (cd $(TARGET_SUBDIR)/libmudflap && \
27704 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27706 @endif target-libmudflap
27708 # Other targets (info, dvi, etc.)
27710 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
27711 maybe-info-target-libmudflap:
27712 @if target-libmudflap
27713 maybe-info-target-libmudflap: info-target-libmudflap
27715 info-target-libmudflap: \
27716 configure-target-libmudflap
27717 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27718 r=`${PWD_COMMAND}`; export r; \
27719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27720 $(NORMAL_TARGET_EXPORTS) \
27721 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
27722 for flag in $(EXTRA_TARGET_FLAGS); do \
27723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27724 done; \
27725 (cd $(TARGET_SUBDIR)/libmudflap && \
27726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27728 "RANLIB=$${RANLIB}" \
27729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27730 info) \
27731 || exit 1
27733 @endif target-libmudflap
27735 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
27736 maybe-dvi-target-libmudflap:
27737 @if target-libmudflap
27738 maybe-dvi-target-libmudflap: dvi-target-libmudflap
27740 dvi-target-libmudflap: \
27741 configure-target-libmudflap
27742 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27743 r=`${PWD_COMMAND}`; export r; \
27744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27745 $(NORMAL_TARGET_EXPORTS) \
27746 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
27747 for flag in $(EXTRA_TARGET_FLAGS); do \
27748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27749 done; \
27750 (cd $(TARGET_SUBDIR)/libmudflap && \
27751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27753 "RANLIB=$${RANLIB}" \
27754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27755 dvi) \
27756 || exit 1
27758 @endif target-libmudflap
27760 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
27761 maybe-html-target-libmudflap:
27762 @if target-libmudflap
27763 maybe-html-target-libmudflap: html-target-libmudflap
27765 html-target-libmudflap: \
27766 configure-target-libmudflap
27767 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27768 r=`${PWD_COMMAND}`; export r; \
27769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27770 $(NORMAL_TARGET_EXPORTS) \
27771 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
27772 for flag in $(EXTRA_TARGET_FLAGS); do \
27773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27774 done; \
27775 (cd $(TARGET_SUBDIR)/libmudflap && \
27776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27778 "RANLIB=$${RANLIB}" \
27779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27780 html) \
27781 || exit 1
27783 @endif target-libmudflap
27785 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
27786 maybe-TAGS-target-libmudflap:
27787 @if target-libmudflap
27788 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
27790 TAGS-target-libmudflap: \
27791 configure-target-libmudflap
27792 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27793 r=`${PWD_COMMAND}`; export r; \
27794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27795 $(NORMAL_TARGET_EXPORTS) \
27796 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
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)/libmudflap && \
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-libmudflap
27810 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
27811 maybe-install-info-target-libmudflap:
27812 @if target-libmudflap
27813 maybe-install-info-target-libmudflap: install-info-target-libmudflap
27815 install-info-target-libmudflap: \
27816 configure-target-libmudflap \
27817 info-target-libmudflap
27818 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27819 r=`${PWD_COMMAND}`; export r; \
27820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27821 $(NORMAL_TARGET_EXPORTS) \
27822 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
27823 for flag in $(EXTRA_TARGET_FLAGS); do \
27824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27825 done; \
27826 (cd $(TARGET_SUBDIR)/libmudflap && \
27827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27829 "RANLIB=$${RANLIB}" \
27830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27831 install-info) \
27832 || exit 1
27834 @endif target-libmudflap
27836 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
27837 maybe-installcheck-target-libmudflap:
27838 @if target-libmudflap
27839 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
27841 installcheck-target-libmudflap: \
27842 configure-target-libmudflap
27843 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27844 r=`${PWD_COMMAND}`; export r; \
27845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27846 $(NORMAL_TARGET_EXPORTS) \
27847 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
27848 for flag in $(EXTRA_TARGET_FLAGS); do \
27849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27850 done; \
27851 (cd $(TARGET_SUBDIR)/libmudflap && \
27852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27854 "RANLIB=$${RANLIB}" \
27855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27856 installcheck) \
27857 || exit 1
27859 @endif target-libmudflap
27861 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
27862 maybe-mostlyclean-target-libmudflap:
27863 @if target-libmudflap
27864 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
27866 mostlyclean-target-libmudflap:
27867 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27868 r=`${PWD_COMMAND}`; export r; \
27869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27870 $(NORMAL_TARGET_EXPORTS) \
27871 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
27872 for flag in $(EXTRA_TARGET_FLAGS); do \
27873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27874 done; \
27875 (cd $(TARGET_SUBDIR)/libmudflap && \
27876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27878 "RANLIB=$${RANLIB}" \
27879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27880 mostlyclean) \
27881 || exit 1
27883 @endif target-libmudflap
27885 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
27886 maybe-clean-target-libmudflap:
27887 @if target-libmudflap
27888 maybe-clean-target-libmudflap: clean-target-libmudflap
27890 clean-target-libmudflap:
27891 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27892 r=`${PWD_COMMAND}`; export r; \
27893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27894 $(NORMAL_TARGET_EXPORTS) \
27895 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
27896 for flag in $(EXTRA_TARGET_FLAGS); do \
27897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27898 done; \
27899 (cd $(TARGET_SUBDIR)/libmudflap && \
27900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27902 "RANLIB=$${RANLIB}" \
27903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27904 clean) \
27905 || exit 1
27907 @endif target-libmudflap
27909 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
27910 maybe-distclean-target-libmudflap:
27911 @if target-libmudflap
27912 maybe-distclean-target-libmudflap: distclean-target-libmudflap
27914 distclean-target-libmudflap:
27915 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27916 r=`${PWD_COMMAND}`; export r; \
27917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27918 $(NORMAL_TARGET_EXPORTS) \
27919 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
27920 for flag in $(EXTRA_TARGET_FLAGS); do \
27921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27922 done; \
27923 (cd $(TARGET_SUBDIR)/libmudflap && \
27924 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27925 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27926 "RANLIB=$${RANLIB}" \
27927 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27928 distclean) \
27929 || exit 1
27931 @endif target-libmudflap
27933 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
27934 maybe-maintainer-clean-target-libmudflap:
27935 @if target-libmudflap
27936 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
27938 maintainer-clean-target-libmudflap:
27939 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27940 r=`${PWD_COMMAND}`; export r; \
27941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27942 $(NORMAL_TARGET_EXPORTS) \
27943 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
27944 for flag in $(EXTRA_TARGET_FLAGS); do \
27945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27946 done; \
27947 (cd $(TARGET_SUBDIR)/libmudflap && \
27948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27950 "RANLIB=$${RANLIB}" \
27951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27952 maintainer-clean) \
27953 || exit 1
27955 @endif target-libmudflap
27959 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27960 @if target-libssp
27961 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
27962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
27963 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
27964 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
27965 @endif target-libssp
27969 .PHONY: configure-target-libssp maybe-configure-target-libssp
27970 maybe-configure-target-libssp:
27971 @if target-libssp
27972 maybe-configure-target-libssp: configure-target-libssp
27973 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
27974 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
27975 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
27976 r=`${PWD_COMMAND}`; export r; \
27977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27978 $(NORMAL_TARGET_EXPORTS) \
27979 echo Configuring in $(TARGET_SUBDIR)/libssp; \
27980 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
27981 case $(srcdir) in \
27982 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27983 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
27984 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27985 esac; \
27986 srcdiroption="--srcdir=$${topdir}/libssp"; \
27987 libsrcdir="$$s/libssp"; \
27988 rm -f no-such-file || : ; \
27989 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27990 $(TARGET_CONFIGARGS) $${srcdiroption} \
27991 || exit 1
27992 @endif target-libssp
27998 .PHONY: all-target-libssp maybe-all-target-libssp
27999 maybe-all-target-libssp:
28000 @if target-libssp
28001 TARGET-target-libssp=all
28002 maybe-all-target-libssp: all-target-libssp
28003 all-target-libssp: configure-target-libssp
28004 @r=`${PWD_COMMAND}`; export r; \
28005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28006 $(NORMAL_TARGET_EXPORTS) \
28007 (cd $(TARGET_SUBDIR)/libssp && \
28008 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
28009 @endif target-libssp
28015 .PHONY: check-target-libssp maybe-check-target-libssp
28016 maybe-check-target-libssp:
28017 @if target-libssp
28018 maybe-check-target-libssp: check-target-libssp
28020 check-target-libssp:
28021 @r=`${PWD_COMMAND}`; export r; \
28022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28023 $(NORMAL_TARGET_EXPORTS) \
28024 (cd $(TARGET_SUBDIR)/libssp && \
28025 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28027 @endif target-libssp
28029 .PHONY: install-target-libssp maybe-install-target-libssp
28030 maybe-install-target-libssp:
28031 @if target-libssp
28032 maybe-install-target-libssp: install-target-libssp
28034 install-target-libssp: installdirs
28035 @r=`${PWD_COMMAND}`; export r; \
28036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28037 $(NORMAL_TARGET_EXPORTS) \
28038 (cd $(TARGET_SUBDIR)/libssp && \
28039 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28041 @endif target-libssp
28043 # Other targets (info, dvi, etc.)
28045 .PHONY: maybe-info-target-libssp info-target-libssp
28046 maybe-info-target-libssp:
28047 @if target-libssp
28048 maybe-info-target-libssp: info-target-libssp
28050 info-target-libssp: \
28051 configure-target-libssp
28052 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28053 r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(NORMAL_TARGET_EXPORTS) \
28056 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
28057 for flag in $(EXTRA_TARGET_FLAGS); do \
28058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28059 done; \
28060 (cd $(TARGET_SUBDIR)/libssp && \
28061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28063 "RANLIB=$${RANLIB}" \
28064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28065 info) \
28066 || exit 1
28068 @endif target-libssp
28070 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
28071 maybe-dvi-target-libssp:
28072 @if target-libssp
28073 maybe-dvi-target-libssp: dvi-target-libssp
28075 dvi-target-libssp: \
28076 configure-target-libssp
28077 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28078 r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(NORMAL_TARGET_EXPORTS) \
28081 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
28082 for flag in $(EXTRA_TARGET_FLAGS); do \
28083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28084 done; \
28085 (cd $(TARGET_SUBDIR)/libssp && \
28086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28088 "RANLIB=$${RANLIB}" \
28089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28090 dvi) \
28091 || exit 1
28093 @endif target-libssp
28095 .PHONY: maybe-html-target-libssp html-target-libssp
28096 maybe-html-target-libssp:
28097 @if target-libssp
28098 maybe-html-target-libssp: html-target-libssp
28100 html-target-libssp: \
28101 configure-target-libssp
28102 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28103 r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(NORMAL_TARGET_EXPORTS) \
28106 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
28107 for flag in $(EXTRA_TARGET_FLAGS); do \
28108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28109 done; \
28110 (cd $(TARGET_SUBDIR)/libssp && \
28111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28113 "RANLIB=$${RANLIB}" \
28114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28115 html) \
28116 || exit 1
28118 @endif target-libssp
28120 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
28121 maybe-TAGS-target-libssp:
28122 @if target-libssp
28123 maybe-TAGS-target-libssp: TAGS-target-libssp
28125 TAGS-target-libssp: \
28126 configure-target-libssp
28127 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28128 r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 $(NORMAL_TARGET_EXPORTS) \
28131 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
28132 for flag in $(EXTRA_TARGET_FLAGS); do \
28133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28134 done; \
28135 (cd $(TARGET_SUBDIR)/libssp && \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28138 "RANLIB=$${RANLIB}" \
28139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28140 TAGS) \
28141 || exit 1
28143 @endif target-libssp
28145 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
28146 maybe-install-info-target-libssp:
28147 @if target-libssp
28148 maybe-install-info-target-libssp: install-info-target-libssp
28150 install-info-target-libssp: \
28151 configure-target-libssp \
28152 info-target-libssp
28153 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28154 r=`${PWD_COMMAND}`; export r; \
28155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28156 $(NORMAL_TARGET_EXPORTS) \
28157 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
28158 for flag in $(EXTRA_TARGET_FLAGS); do \
28159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28160 done; \
28161 (cd $(TARGET_SUBDIR)/libssp && \
28162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28164 "RANLIB=$${RANLIB}" \
28165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28166 install-info) \
28167 || exit 1
28169 @endif target-libssp
28171 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
28172 maybe-installcheck-target-libssp:
28173 @if target-libssp
28174 maybe-installcheck-target-libssp: installcheck-target-libssp
28176 installcheck-target-libssp: \
28177 configure-target-libssp
28178 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28179 r=`${PWD_COMMAND}`; export r; \
28180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28181 $(NORMAL_TARGET_EXPORTS) \
28182 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
28183 for flag in $(EXTRA_TARGET_FLAGS); do \
28184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28185 done; \
28186 (cd $(TARGET_SUBDIR)/libssp && \
28187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28189 "RANLIB=$${RANLIB}" \
28190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28191 installcheck) \
28192 || exit 1
28194 @endif target-libssp
28196 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
28197 maybe-mostlyclean-target-libssp:
28198 @if target-libssp
28199 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
28201 mostlyclean-target-libssp:
28202 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28203 r=`${PWD_COMMAND}`; export r; \
28204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28205 $(NORMAL_TARGET_EXPORTS) \
28206 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
28207 for flag in $(EXTRA_TARGET_FLAGS); do \
28208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28209 done; \
28210 (cd $(TARGET_SUBDIR)/libssp && \
28211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28213 "RANLIB=$${RANLIB}" \
28214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28215 mostlyclean) \
28216 || exit 1
28218 @endif target-libssp
28220 .PHONY: maybe-clean-target-libssp clean-target-libssp
28221 maybe-clean-target-libssp:
28222 @if target-libssp
28223 maybe-clean-target-libssp: clean-target-libssp
28225 clean-target-libssp:
28226 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28227 r=`${PWD_COMMAND}`; export r; \
28228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28229 $(NORMAL_TARGET_EXPORTS) \
28230 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
28231 for flag in $(EXTRA_TARGET_FLAGS); do \
28232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28233 done; \
28234 (cd $(TARGET_SUBDIR)/libssp && \
28235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28237 "RANLIB=$${RANLIB}" \
28238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28239 clean) \
28240 || exit 1
28242 @endif target-libssp
28244 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
28245 maybe-distclean-target-libssp:
28246 @if target-libssp
28247 maybe-distclean-target-libssp: distclean-target-libssp
28249 distclean-target-libssp:
28250 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28251 r=`${PWD_COMMAND}`; export r; \
28252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28253 $(NORMAL_TARGET_EXPORTS) \
28254 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
28255 for flag in $(EXTRA_TARGET_FLAGS); do \
28256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28257 done; \
28258 (cd $(TARGET_SUBDIR)/libssp && \
28259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28261 "RANLIB=$${RANLIB}" \
28262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28263 distclean) \
28264 || exit 1
28266 @endif target-libssp
28268 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
28269 maybe-maintainer-clean-target-libssp:
28270 @if target-libssp
28271 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
28273 maintainer-clean-target-libssp:
28274 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28275 r=`${PWD_COMMAND}`; export r; \
28276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28277 $(NORMAL_TARGET_EXPORTS) \
28278 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
28279 for flag in $(EXTRA_TARGET_FLAGS); do \
28280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28281 done; \
28282 (cd $(TARGET_SUBDIR)/libssp && \
28283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28285 "RANLIB=$${RANLIB}" \
28286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28287 maintainer-clean) \
28288 || exit 1
28290 @endif target-libssp
28294 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28295 @if target-newlib
28296 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
28297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28298 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
28299 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
28300 @endif target-newlib
28304 .PHONY: configure-target-newlib maybe-configure-target-newlib
28305 maybe-configure-target-newlib:
28306 @if target-newlib
28307 maybe-configure-target-newlib: configure-target-newlib
28308 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
28309 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
28310 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28311 r=`${PWD_COMMAND}`; export r; \
28312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28313 $(NORMAL_TARGET_EXPORTS) \
28314 echo Configuring in $(TARGET_SUBDIR)/newlib; \
28315 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
28316 case $(srcdir) in \
28317 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28318 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
28319 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28320 esac; \
28321 srcdiroption="--srcdir=$${topdir}/newlib"; \
28322 libsrcdir="$$s/newlib"; \
28323 rm -f no-such-file || : ; \
28324 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28325 $(TARGET_CONFIGARGS) $${srcdiroption} \
28326 || exit 1
28327 @endif target-newlib
28333 .PHONY: all-target-newlib maybe-all-target-newlib
28334 maybe-all-target-newlib:
28335 @if target-newlib
28336 TARGET-target-newlib=all
28337 maybe-all-target-newlib: all-target-newlib
28338 all-target-newlib: configure-target-newlib
28339 @r=`${PWD_COMMAND}`; export r; \
28340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28341 $(NORMAL_TARGET_EXPORTS) \
28342 (cd $(TARGET_SUBDIR)/newlib && \
28343 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
28344 @endif target-newlib
28350 .PHONY: check-target-newlib maybe-check-target-newlib
28351 maybe-check-target-newlib:
28352 @if target-newlib
28353 maybe-check-target-newlib: check-target-newlib
28355 check-target-newlib:
28356 @r=`${PWD_COMMAND}`; export r; \
28357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28358 $(NORMAL_TARGET_EXPORTS) \
28359 (cd $(TARGET_SUBDIR)/newlib && \
28360 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28362 @endif target-newlib
28364 .PHONY: install-target-newlib maybe-install-target-newlib
28365 maybe-install-target-newlib:
28366 @if target-newlib
28367 maybe-install-target-newlib: install-target-newlib
28369 install-target-newlib: installdirs
28370 @r=`${PWD_COMMAND}`; export r; \
28371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28372 $(NORMAL_TARGET_EXPORTS) \
28373 (cd $(TARGET_SUBDIR)/newlib && \
28374 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28376 @endif target-newlib
28378 # Other targets (info, dvi, etc.)
28380 .PHONY: maybe-info-target-newlib info-target-newlib
28381 maybe-info-target-newlib:
28382 @if target-newlib
28383 maybe-info-target-newlib: info-target-newlib
28385 info-target-newlib: \
28386 configure-target-newlib
28387 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28388 r=`${PWD_COMMAND}`; export r; \
28389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28390 $(NORMAL_TARGET_EXPORTS) \
28391 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
28392 for flag in $(EXTRA_TARGET_FLAGS); do \
28393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28394 done; \
28395 (cd $(TARGET_SUBDIR)/newlib && \
28396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28398 "RANLIB=$${RANLIB}" \
28399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28400 info) \
28401 || exit 1
28403 @endif target-newlib
28405 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
28406 maybe-dvi-target-newlib:
28407 @if target-newlib
28408 maybe-dvi-target-newlib: dvi-target-newlib
28410 dvi-target-newlib: \
28411 configure-target-newlib
28412 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28413 r=`${PWD_COMMAND}`; export r; \
28414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28415 $(NORMAL_TARGET_EXPORTS) \
28416 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
28417 for flag in $(EXTRA_TARGET_FLAGS); do \
28418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28419 done; \
28420 (cd $(TARGET_SUBDIR)/newlib && \
28421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28423 "RANLIB=$${RANLIB}" \
28424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28425 dvi) \
28426 || exit 1
28428 @endif target-newlib
28430 .PHONY: maybe-html-target-newlib html-target-newlib
28431 maybe-html-target-newlib:
28432 @if target-newlib
28433 maybe-html-target-newlib: html-target-newlib
28435 html-target-newlib: \
28436 configure-target-newlib
28437 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28438 r=`${PWD_COMMAND}`; export r; \
28439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28440 $(NORMAL_TARGET_EXPORTS) \
28441 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
28442 for flag in $(EXTRA_TARGET_FLAGS); do \
28443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28444 done; \
28445 (cd $(TARGET_SUBDIR)/newlib && \
28446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28448 "RANLIB=$${RANLIB}" \
28449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28450 html) \
28451 || exit 1
28453 @endif target-newlib
28455 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
28456 maybe-TAGS-target-newlib:
28457 @if target-newlib
28458 maybe-TAGS-target-newlib: TAGS-target-newlib
28460 TAGS-target-newlib: \
28461 configure-target-newlib
28462 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28463 r=`${PWD_COMMAND}`; export r; \
28464 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28465 $(NORMAL_TARGET_EXPORTS) \
28466 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
28467 for flag in $(EXTRA_TARGET_FLAGS); do \
28468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28469 done; \
28470 (cd $(TARGET_SUBDIR)/newlib && \
28471 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28472 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28473 "RANLIB=$${RANLIB}" \
28474 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28475 TAGS) \
28476 || exit 1
28478 @endif target-newlib
28480 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
28481 maybe-install-info-target-newlib:
28482 @if target-newlib
28483 maybe-install-info-target-newlib: install-info-target-newlib
28485 install-info-target-newlib: \
28486 configure-target-newlib \
28487 info-target-newlib
28488 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28489 r=`${PWD_COMMAND}`; export r; \
28490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28491 $(NORMAL_TARGET_EXPORTS) \
28492 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
28493 for flag in $(EXTRA_TARGET_FLAGS); do \
28494 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28495 done; \
28496 (cd $(TARGET_SUBDIR)/newlib && \
28497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28499 "RANLIB=$${RANLIB}" \
28500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28501 install-info) \
28502 || exit 1
28504 @endif target-newlib
28506 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
28507 maybe-installcheck-target-newlib:
28508 @if target-newlib
28509 maybe-installcheck-target-newlib: installcheck-target-newlib
28511 installcheck-target-newlib: \
28512 configure-target-newlib
28513 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28514 r=`${PWD_COMMAND}`; export r; \
28515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28516 $(NORMAL_TARGET_EXPORTS) \
28517 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
28518 for flag in $(EXTRA_TARGET_FLAGS); do \
28519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28520 done; \
28521 (cd $(TARGET_SUBDIR)/newlib && \
28522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28524 "RANLIB=$${RANLIB}" \
28525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28526 installcheck) \
28527 || exit 1
28529 @endif target-newlib
28531 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
28532 maybe-mostlyclean-target-newlib:
28533 @if target-newlib
28534 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
28536 mostlyclean-target-newlib:
28537 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28538 r=`${PWD_COMMAND}`; export r; \
28539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28540 $(NORMAL_TARGET_EXPORTS) \
28541 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
28542 for flag in $(EXTRA_TARGET_FLAGS); do \
28543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28544 done; \
28545 (cd $(TARGET_SUBDIR)/newlib && \
28546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28548 "RANLIB=$${RANLIB}" \
28549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28550 mostlyclean) \
28551 || exit 1
28553 @endif target-newlib
28555 .PHONY: maybe-clean-target-newlib clean-target-newlib
28556 maybe-clean-target-newlib:
28557 @if target-newlib
28558 maybe-clean-target-newlib: clean-target-newlib
28560 clean-target-newlib:
28561 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28562 r=`${PWD_COMMAND}`; export r; \
28563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28564 $(NORMAL_TARGET_EXPORTS) \
28565 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
28566 for flag in $(EXTRA_TARGET_FLAGS); do \
28567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28568 done; \
28569 (cd $(TARGET_SUBDIR)/newlib && \
28570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28572 "RANLIB=$${RANLIB}" \
28573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28574 clean) \
28575 || exit 1
28577 @endif target-newlib
28579 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
28580 maybe-distclean-target-newlib:
28581 @if target-newlib
28582 maybe-distclean-target-newlib: distclean-target-newlib
28584 distclean-target-newlib:
28585 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28586 r=`${PWD_COMMAND}`; export r; \
28587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28588 $(NORMAL_TARGET_EXPORTS) \
28589 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
28590 for flag in $(EXTRA_TARGET_FLAGS); do \
28591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28592 done; \
28593 (cd $(TARGET_SUBDIR)/newlib && \
28594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28596 "RANLIB=$${RANLIB}" \
28597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28598 distclean) \
28599 || exit 1
28601 @endif target-newlib
28603 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
28604 maybe-maintainer-clean-target-newlib:
28605 @if target-newlib
28606 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
28608 maintainer-clean-target-newlib:
28609 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28610 r=`${PWD_COMMAND}`; export r; \
28611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28612 $(NORMAL_TARGET_EXPORTS) \
28613 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
28614 for flag in $(EXTRA_TARGET_FLAGS); do \
28615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28616 done; \
28617 (cd $(TARGET_SUBDIR)/newlib && \
28618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28620 "RANLIB=$${RANLIB}" \
28621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28622 maintainer-clean) \
28623 || exit 1
28625 @endif target-newlib
28629 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28630 @if target-libgfortran
28631 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
28632 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28633 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
28634 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
28635 @endif target-libgfortran
28639 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
28640 maybe-configure-target-libgfortran:
28641 @if target-libgfortran
28642 maybe-configure-target-libgfortran: configure-target-libgfortran
28643 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
28644 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
28645 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28646 r=`${PWD_COMMAND}`; export r; \
28647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28648 $(NORMAL_TARGET_EXPORTS) \
28649 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
28650 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
28651 case $(srcdir) in \
28652 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28653 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
28654 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28655 esac; \
28656 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
28657 libsrcdir="$$s/libgfortran"; \
28658 rm -f no-such-file || : ; \
28659 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28660 $(TARGET_CONFIGARGS) $${srcdiroption} \
28661 || exit 1
28662 @endif target-libgfortran
28668 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
28669 maybe-all-target-libgfortran:
28670 @if target-libgfortran
28671 TARGET-target-libgfortran=all
28672 maybe-all-target-libgfortran: all-target-libgfortran
28673 all-target-libgfortran: configure-target-libgfortran
28674 @r=`${PWD_COMMAND}`; export r; \
28675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28676 $(NORMAL_TARGET_EXPORTS) \
28677 (cd $(TARGET_SUBDIR)/libgfortran && \
28678 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
28679 @endif target-libgfortran
28685 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
28686 maybe-check-target-libgfortran:
28687 @if target-libgfortran
28688 maybe-check-target-libgfortran: check-target-libgfortran
28690 check-target-libgfortran:
28691 @r=`${PWD_COMMAND}`; export r; \
28692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28693 $(NORMAL_TARGET_EXPORTS) \
28694 (cd $(TARGET_SUBDIR)/libgfortran && \
28695 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28697 @endif target-libgfortran
28699 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
28700 maybe-install-target-libgfortran:
28701 @if target-libgfortran
28702 maybe-install-target-libgfortran: install-target-libgfortran
28704 install-target-libgfortran: installdirs
28705 @r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(NORMAL_TARGET_EXPORTS) \
28708 (cd $(TARGET_SUBDIR)/libgfortran && \
28709 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28711 @endif target-libgfortran
28713 # Other targets (info, dvi, etc.)
28715 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
28716 maybe-info-target-libgfortran:
28717 @if target-libgfortran
28718 maybe-info-target-libgfortran: info-target-libgfortran
28720 info-target-libgfortran: \
28721 configure-target-libgfortran
28722 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28723 r=`${PWD_COMMAND}`; export r; \
28724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28725 $(NORMAL_TARGET_EXPORTS) \
28726 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
28727 for flag in $(EXTRA_TARGET_FLAGS); do \
28728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28729 done; \
28730 (cd $(TARGET_SUBDIR)/libgfortran && \
28731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28733 "RANLIB=$${RANLIB}" \
28734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28735 info) \
28736 || exit 1
28738 @endif target-libgfortran
28740 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
28741 maybe-dvi-target-libgfortran:
28742 @if target-libgfortran
28743 maybe-dvi-target-libgfortran: dvi-target-libgfortran
28745 dvi-target-libgfortran: \
28746 configure-target-libgfortran
28747 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28748 r=`${PWD_COMMAND}`; export r; \
28749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28750 $(NORMAL_TARGET_EXPORTS) \
28751 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
28752 for flag in $(EXTRA_TARGET_FLAGS); do \
28753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28754 done; \
28755 (cd $(TARGET_SUBDIR)/libgfortran && \
28756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28758 "RANLIB=$${RANLIB}" \
28759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28760 dvi) \
28761 || exit 1
28763 @endif target-libgfortran
28765 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
28766 maybe-html-target-libgfortran:
28767 @if target-libgfortran
28768 maybe-html-target-libgfortran: html-target-libgfortran
28770 html-target-libgfortran: \
28771 configure-target-libgfortran
28772 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28773 r=`${PWD_COMMAND}`; export r; \
28774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28775 $(NORMAL_TARGET_EXPORTS) \
28776 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
28777 for flag in $(EXTRA_TARGET_FLAGS); do \
28778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28779 done; \
28780 (cd $(TARGET_SUBDIR)/libgfortran && \
28781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28783 "RANLIB=$${RANLIB}" \
28784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28785 html) \
28786 || exit 1
28788 @endif target-libgfortran
28790 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
28791 maybe-TAGS-target-libgfortran:
28792 @if target-libgfortran
28793 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
28795 TAGS-target-libgfortran: \
28796 configure-target-libgfortran
28797 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28798 r=`${PWD_COMMAND}`; export r; \
28799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28800 $(NORMAL_TARGET_EXPORTS) \
28801 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
28802 for flag in $(EXTRA_TARGET_FLAGS); do \
28803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28804 done; \
28805 (cd $(TARGET_SUBDIR)/libgfortran && \
28806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28808 "RANLIB=$${RANLIB}" \
28809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28810 TAGS) \
28811 || exit 1
28813 @endif target-libgfortran
28815 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
28816 maybe-install-info-target-libgfortran:
28817 @if target-libgfortran
28818 maybe-install-info-target-libgfortran: install-info-target-libgfortran
28820 install-info-target-libgfortran: \
28821 configure-target-libgfortran \
28822 info-target-libgfortran
28823 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28824 r=`${PWD_COMMAND}`; export r; \
28825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28826 $(NORMAL_TARGET_EXPORTS) \
28827 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
28828 for flag in $(EXTRA_TARGET_FLAGS); do \
28829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28830 done; \
28831 (cd $(TARGET_SUBDIR)/libgfortran && \
28832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28834 "RANLIB=$${RANLIB}" \
28835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28836 install-info) \
28837 || exit 1
28839 @endif target-libgfortran
28841 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
28842 maybe-installcheck-target-libgfortran:
28843 @if target-libgfortran
28844 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
28846 installcheck-target-libgfortran: \
28847 configure-target-libgfortran
28848 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28849 r=`${PWD_COMMAND}`; export r; \
28850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28851 $(NORMAL_TARGET_EXPORTS) \
28852 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
28853 for flag in $(EXTRA_TARGET_FLAGS); do \
28854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28855 done; \
28856 (cd $(TARGET_SUBDIR)/libgfortran && \
28857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28859 "RANLIB=$${RANLIB}" \
28860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28861 installcheck) \
28862 || exit 1
28864 @endif target-libgfortran
28866 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
28867 maybe-mostlyclean-target-libgfortran:
28868 @if target-libgfortran
28869 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
28871 mostlyclean-target-libgfortran:
28872 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28873 r=`${PWD_COMMAND}`; export r; \
28874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28875 $(NORMAL_TARGET_EXPORTS) \
28876 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
28877 for flag in $(EXTRA_TARGET_FLAGS); do \
28878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28879 done; \
28880 (cd $(TARGET_SUBDIR)/libgfortran && \
28881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28883 "RANLIB=$${RANLIB}" \
28884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28885 mostlyclean) \
28886 || exit 1
28888 @endif target-libgfortran
28890 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
28891 maybe-clean-target-libgfortran:
28892 @if target-libgfortran
28893 maybe-clean-target-libgfortran: clean-target-libgfortran
28895 clean-target-libgfortran:
28896 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28897 r=`${PWD_COMMAND}`; export r; \
28898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28899 $(NORMAL_TARGET_EXPORTS) \
28900 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
28901 for flag in $(EXTRA_TARGET_FLAGS); do \
28902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28903 done; \
28904 (cd $(TARGET_SUBDIR)/libgfortran && \
28905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28907 "RANLIB=$${RANLIB}" \
28908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28909 clean) \
28910 || exit 1
28912 @endif target-libgfortran
28914 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
28915 maybe-distclean-target-libgfortran:
28916 @if target-libgfortran
28917 maybe-distclean-target-libgfortran: distclean-target-libgfortran
28919 distclean-target-libgfortran:
28920 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28921 r=`${PWD_COMMAND}`; export r; \
28922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28923 $(NORMAL_TARGET_EXPORTS) \
28924 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
28925 for flag in $(EXTRA_TARGET_FLAGS); do \
28926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28927 done; \
28928 (cd $(TARGET_SUBDIR)/libgfortran && \
28929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28931 "RANLIB=$${RANLIB}" \
28932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28933 distclean) \
28934 || exit 1
28936 @endif target-libgfortran
28938 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
28939 maybe-maintainer-clean-target-libgfortran:
28940 @if target-libgfortran
28941 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
28943 maintainer-clean-target-libgfortran:
28944 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28945 r=`${PWD_COMMAND}`; export r; \
28946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28947 $(NORMAL_TARGET_EXPORTS) \
28948 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
28949 for flag in $(EXTRA_TARGET_FLAGS); do \
28950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28951 done; \
28952 (cd $(TARGET_SUBDIR)/libgfortran && \
28953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28955 "RANLIB=$${RANLIB}" \
28956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28957 maintainer-clean) \
28958 || exit 1
28960 @endif target-libgfortran
28964 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28965 @if target-libobjc
28966 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
28967 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28968 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
28969 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
28970 @endif target-libobjc
28974 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
28975 maybe-configure-target-libobjc:
28976 @if target-libobjc
28977 maybe-configure-target-libobjc: configure-target-libobjc
28978 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
28979 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
28980 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28981 r=`${PWD_COMMAND}`; export r; \
28982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28983 $(NORMAL_TARGET_EXPORTS) \
28984 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
28985 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
28986 case $(srcdir) in \
28987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28988 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
28989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28990 esac; \
28991 srcdiroption="--srcdir=$${topdir}/libobjc"; \
28992 libsrcdir="$$s/libobjc"; \
28993 rm -f no-such-file || : ; \
28994 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28995 $(TARGET_CONFIGARGS) $${srcdiroption} \
28996 || exit 1
28997 @endif target-libobjc
29003 .PHONY: all-target-libobjc maybe-all-target-libobjc
29004 maybe-all-target-libobjc:
29005 @if target-libobjc
29006 TARGET-target-libobjc=all
29007 maybe-all-target-libobjc: all-target-libobjc
29008 all-target-libobjc: configure-target-libobjc
29009 @r=`${PWD_COMMAND}`; export r; \
29010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29011 $(NORMAL_TARGET_EXPORTS) \
29012 (cd $(TARGET_SUBDIR)/libobjc && \
29013 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
29014 @endif target-libobjc
29020 .PHONY: check-target-libobjc maybe-check-target-libobjc
29021 maybe-check-target-libobjc:
29022 @if target-libobjc
29023 maybe-check-target-libobjc: check-target-libobjc
29025 check-target-libobjc:
29026 @r=`${PWD_COMMAND}`; export r; \
29027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29028 $(NORMAL_TARGET_EXPORTS) \
29029 (cd $(TARGET_SUBDIR)/libobjc && \
29030 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29032 @endif target-libobjc
29034 .PHONY: install-target-libobjc maybe-install-target-libobjc
29035 maybe-install-target-libobjc:
29036 @if target-libobjc
29037 maybe-install-target-libobjc: install-target-libobjc
29039 install-target-libobjc: installdirs
29040 @r=`${PWD_COMMAND}`; export r; \
29041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29042 $(NORMAL_TARGET_EXPORTS) \
29043 (cd $(TARGET_SUBDIR)/libobjc && \
29044 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29046 @endif target-libobjc
29048 # Other targets (info, dvi, etc.)
29050 .PHONY: maybe-info-target-libobjc info-target-libobjc
29051 maybe-info-target-libobjc:
29052 @if target-libobjc
29053 maybe-info-target-libobjc: info-target-libobjc
29055 info-target-libobjc: \
29056 configure-target-libobjc
29057 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29058 r=`${PWD_COMMAND}`; export r; \
29059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29060 $(NORMAL_TARGET_EXPORTS) \
29061 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
29062 for flag in $(EXTRA_TARGET_FLAGS); do \
29063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29064 done; \
29065 (cd $(TARGET_SUBDIR)/libobjc && \
29066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29068 "RANLIB=$${RANLIB}" \
29069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29070 info) \
29071 || exit 1
29073 @endif target-libobjc
29075 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
29076 maybe-dvi-target-libobjc:
29077 @if target-libobjc
29078 maybe-dvi-target-libobjc: dvi-target-libobjc
29080 dvi-target-libobjc: \
29081 configure-target-libobjc
29082 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29083 r=`${PWD_COMMAND}`; export r; \
29084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29085 $(NORMAL_TARGET_EXPORTS) \
29086 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
29087 for flag in $(EXTRA_TARGET_FLAGS); do \
29088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29089 done; \
29090 (cd $(TARGET_SUBDIR)/libobjc && \
29091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29093 "RANLIB=$${RANLIB}" \
29094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29095 dvi) \
29096 || exit 1
29098 @endif target-libobjc
29100 .PHONY: maybe-html-target-libobjc html-target-libobjc
29101 maybe-html-target-libobjc:
29102 @if target-libobjc
29103 maybe-html-target-libobjc: html-target-libobjc
29105 html-target-libobjc: \
29106 configure-target-libobjc
29107 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29108 r=`${PWD_COMMAND}`; export r; \
29109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29110 $(NORMAL_TARGET_EXPORTS) \
29111 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
29112 for flag in $(EXTRA_TARGET_FLAGS); do \
29113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29114 done; \
29115 (cd $(TARGET_SUBDIR)/libobjc && \
29116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29118 "RANLIB=$${RANLIB}" \
29119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29120 html) \
29121 || exit 1
29123 @endif target-libobjc
29125 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
29126 maybe-TAGS-target-libobjc:
29127 @if target-libobjc
29128 maybe-TAGS-target-libobjc: TAGS-target-libobjc
29130 TAGS-target-libobjc: \
29131 configure-target-libobjc
29132 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 $(NORMAL_TARGET_EXPORTS) \
29136 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
29137 for flag in $(EXTRA_TARGET_FLAGS); do \
29138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29139 done; \
29140 (cd $(TARGET_SUBDIR)/libobjc && \
29141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29143 "RANLIB=$${RANLIB}" \
29144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29145 TAGS) \
29146 || exit 1
29148 @endif target-libobjc
29150 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
29151 maybe-install-info-target-libobjc:
29152 @if target-libobjc
29153 maybe-install-info-target-libobjc: install-info-target-libobjc
29155 install-info-target-libobjc: \
29156 configure-target-libobjc \
29157 info-target-libobjc
29158 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29159 r=`${PWD_COMMAND}`; export r; \
29160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29161 $(NORMAL_TARGET_EXPORTS) \
29162 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
29163 for flag in $(EXTRA_TARGET_FLAGS); do \
29164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29165 done; \
29166 (cd $(TARGET_SUBDIR)/libobjc && \
29167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29169 "RANLIB=$${RANLIB}" \
29170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29171 install-info) \
29172 || exit 1
29174 @endif target-libobjc
29176 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
29177 maybe-installcheck-target-libobjc:
29178 @if target-libobjc
29179 maybe-installcheck-target-libobjc: installcheck-target-libobjc
29181 installcheck-target-libobjc: \
29182 configure-target-libobjc
29183 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29184 r=`${PWD_COMMAND}`; export r; \
29185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29186 $(NORMAL_TARGET_EXPORTS) \
29187 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
29188 for flag in $(EXTRA_TARGET_FLAGS); do \
29189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29190 done; \
29191 (cd $(TARGET_SUBDIR)/libobjc && \
29192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29194 "RANLIB=$${RANLIB}" \
29195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29196 installcheck) \
29197 || exit 1
29199 @endif target-libobjc
29201 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
29202 maybe-mostlyclean-target-libobjc:
29203 @if target-libobjc
29204 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
29206 mostlyclean-target-libobjc:
29207 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29208 r=`${PWD_COMMAND}`; export r; \
29209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29210 $(NORMAL_TARGET_EXPORTS) \
29211 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
29212 for flag in $(EXTRA_TARGET_FLAGS); do \
29213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29214 done; \
29215 (cd $(TARGET_SUBDIR)/libobjc && \
29216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29218 "RANLIB=$${RANLIB}" \
29219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29220 mostlyclean) \
29221 || exit 1
29223 @endif target-libobjc
29225 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
29226 maybe-clean-target-libobjc:
29227 @if target-libobjc
29228 maybe-clean-target-libobjc: clean-target-libobjc
29230 clean-target-libobjc:
29231 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29232 r=`${PWD_COMMAND}`; export r; \
29233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29234 $(NORMAL_TARGET_EXPORTS) \
29235 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
29236 for flag in $(EXTRA_TARGET_FLAGS); do \
29237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29238 done; \
29239 (cd $(TARGET_SUBDIR)/libobjc && \
29240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29242 "RANLIB=$${RANLIB}" \
29243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29244 clean) \
29245 || exit 1
29247 @endif target-libobjc
29249 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
29250 maybe-distclean-target-libobjc:
29251 @if target-libobjc
29252 maybe-distclean-target-libobjc: distclean-target-libobjc
29254 distclean-target-libobjc:
29255 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29256 r=`${PWD_COMMAND}`; export r; \
29257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29258 $(NORMAL_TARGET_EXPORTS) \
29259 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
29260 for flag in $(EXTRA_TARGET_FLAGS); do \
29261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29262 done; \
29263 (cd $(TARGET_SUBDIR)/libobjc && \
29264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29266 "RANLIB=$${RANLIB}" \
29267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29268 distclean) \
29269 || exit 1
29271 @endif target-libobjc
29273 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
29274 maybe-maintainer-clean-target-libobjc:
29275 @if target-libobjc
29276 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
29278 maintainer-clean-target-libobjc:
29279 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29280 r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29282 $(NORMAL_TARGET_EXPORTS) \
29283 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
29284 for flag in $(EXTRA_TARGET_FLAGS); do \
29285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29286 done; \
29287 (cd $(TARGET_SUBDIR)/libobjc && \
29288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29290 "RANLIB=$${RANLIB}" \
29291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29292 maintainer-clean) \
29293 || exit 1
29295 @endif target-libobjc
29299 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29300 @if target-libtermcap
29301 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
29302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29303 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
29304 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
29305 @endif target-libtermcap
29309 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
29310 maybe-configure-target-libtermcap:
29311 @if target-libtermcap
29312 maybe-configure-target-libtermcap: configure-target-libtermcap
29313 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
29314 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
29315 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29316 r=`${PWD_COMMAND}`; export r; \
29317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29318 $(NORMAL_TARGET_EXPORTS) \
29319 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
29320 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
29321 case $(srcdir) in \
29322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29323 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
29324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29325 esac; \
29326 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
29327 libsrcdir="$$s/libtermcap"; \
29328 rm -f no-such-file || : ; \
29329 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29330 $(TARGET_CONFIGARGS) $${srcdiroption} \
29331 || exit 1
29332 @endif target-libtermcap
29338 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
29339 maybe-all-target-libtermcap:
29340 @if target-libtermcap
29341 TARGET-target-libtermcap=all
29342 maybe-all-target-libtermcap: all-target-libtermcap
29343 all-target-libtermcap: configure-target-libtermcap
29344 @r=`${PWD_COMMAND}`; export r; \
29345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29346 $(NORMAL_TARGET_EXPORTS) \
29347 (cd $(TARGET_SUBDIR)/libtermcap && \
29348 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
29349 @endif target-libtermcap
29355 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
29356 maybe-check-target-libtermcap:
29357 @if target-libtermcap
29358 maybe-check-target-libtermcap: check-target-libtermcap
29360 # Dummy target for uncheckable module.
29361 check-target-libtermcap:
29363 @endif target-libtermcap
29365 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
29366 maybe-install-target-libtermcap:
29367 @if target-libtermcap
29368 maybe-install-target-libtermcap: install-target-libtermcap
29370 install-target-libtermcap: installdirs
29371 @r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(NORMAL_TARGET_EXPORTS) \
29374 (cd $(TARGET_SUBDIR)/libtermcap && \
29375 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29377 @endif target-libtermcap
29379 # Other targets (info, dvi, etc.)
29381 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
29382 maybe-info-target-libtermcap:
29383 @if target-libtermcap
29384 maybe-info-target-libtermcap: info-target-libtermcap
29386 info-target-libtermcap: \
29387 configure-target-libtermcap
29388 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29389 r=`${PWD_COMMAND}`; export r; \
29390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29391 $(NORMAL_TARGET_EXPORTS) \
29392 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
29393 for flag in $(EXTRA_TARGET_FLAGS); do \
29394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29395 done; \
29396 (cd $(TARGET_SUBDIR)/libtermcap && \
29397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29399 "RANLIB=$${RANLIB}" \
29400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29401 info) \
29402 || exit 1
29404 @endif target-libtermcap
29406 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
29407 maybe-dvi-target-libtermcap:
29408 @if target-libtermcap
29409 maybe-dvi-target-libtermcap: dvi-target-libtermcap
29411 dvi-target-libtermcap: \
29412 configure-target-libtermcap
29413 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29414 r=`${PWD_COMMAND}`; export r; \
29415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29416 $(NORMAL_TARGET_EXPORTS) \
29417 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
29418 for flag in $(EXTRA_TARGET_FLAGS); do \
29419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29420 done; \
29421 (cd $(TARGET_SUBDIR)/libtermcap && \
29422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29424 "RANLIB=$${RANLIB}" \
29425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29426 dvi) \
29427 || exit 1
29429 @endif target-libtermcap
29431 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
29432 maybe-html-target-libtermcap:
29433 @if target-libtermcap
29434 maybe-html-target-libtermcap: html-target-libtermcap
29436 html-target-libtermcap: \
29437 configure-target-libtermcap
29438 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29439 r=`${PWD_COMMAND}`; export r; \
29440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29441 $(NORMAL_TARGET_EXPORTS) \
29442 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
29443 for flag in $(EXTRA_TARGET_FLAGS); do \
29444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29445 done; \
29446 (cd $(TARGET_SUBDIR)/libtermcap && \
29447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29449 "RANLIB=$${RANLIB}" \
29450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29451 html) \
29452 || exit 1
29454 @endif target-libtermcap
29456 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
29457 maybe-TAGS-target-libtermcap:
29458 @if target-libtermcap
29459 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
29461 TAGS-target-libtermcap: \
29462 configure-target-libtermcap
29463 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29464 r=`${PWD_COMMAND}`; export r; \
29465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29466 $(NORMAL_TARGET_EXPORTS) \
29467 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
29468 for flag in $(EXTRA_TARGET_FLAGS); do \
29469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29470 done; \
29471 (cd $(TARGET_SUBDIR)/libtermcap && \
29472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29474 "RANLIB=$${RANLIB}" \
29475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29476 TAGS) \
29477 || exit 1
29479 @endif target-libtermcap
29481 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
29482 maybe-install-info-target-libtermcap:
29483 @if target-libtermcap
29484 maybe-install-info-target-libtermcap: install-info-target-libtermcap
29486 install-info-target-libtermcap: \
29487 configure-target-libtermcap \
29488 info-target-libtermcap
29489 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29490 r=`${PWD_COMMAND}`; export r; \
29491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29492 $(NORMAL_TARGET_EXPORTS) \
29493 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
29494 for flag in $(EXTRA_TARGET_FLAGS); do \
29495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29496 done; \
29497 (cd $(TARGET_SUBDIR)/libtermcap && \
29498 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29499 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29500 "RANLIB=$${RANLIB}" \
29501 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29502 install-info) \
29503 || exit 1
29505 @endif target-libtermcap
29507 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
29508 maybe-installcheck-target-libtermcap:
29509 @if target-libtermcap
29510 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
29512 installcheck-target-libtermcap: \
29513 configure-target-libtermcap
29514 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29515 r=`${PWD_COMMAND}`; export r; \
29516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29517 $(NORMAL_TARGET_EXPORTS) \
29518 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
29519 for flag in $(EXTRA_TARGET_FLAGS); do \
29520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29521 done; \
29522 (cd $(TARGET_SUBDIR)/libtermcap && \
29523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29525 "RANLIB=$${RANLIB}" \
29526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29527 installcheck) \
29528 || exit 1
29530 @endif target-libtermcap
29532 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
29533 maybe-mostlyclean-target-libtermcap:
29534 @if target-libtermcap
29535 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
29537 # libtermcap doesn't support mostlyclean.
29538 mostlyclean-target-libtermcap:
29540 @endif target-libtermcap
29542 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
29543 maybe-clean-target-libtermcap:
29544 @if target-libtermcap
29545 maybe-clean-target-libtermcap: clean-target-libtermcap
29547 # libtermcap doesn't support clean.
29548 clean-target-libtermcap:
29550 @endif target-libtermcap
29552 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
29553 maybe-distclean-target-libtermcap:
29554 @if target-libtermcap
29555 maybe-distclean-target-libtermcap: distclean-target-libtermcap
29557 # libtermcap doesn't support distclean.
29558 distclean-target-libtermcap:
29560 @endif target-libtermcap
29562 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
29563 maybe-maintainer-clean-target-libtermcap:
29564 @if target-libtermcap
29565 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
29567 # libtermcap doesn't support maintainer-clean.
29568 maintainer-clean-target-libtermcap:
29570 @endif target-libtermcap
29574 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29575 @if target-winsup
29576 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
29577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29578 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
29579 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
29580 @endif target-winsup
29584 .PHONY: configure-target-winsup maybe-configure-target-winsup
29585 maybe-configure-target-winsup:
29586 @if target-winsup
29587 maybe-configure-target-winsup: configure-target-winsup
29588 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
29589 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
29590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29591 r=`${PWD_COMMAND}`; export r; \
29592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29593 $(NORMAL_TARGET_EXPORTS) \
29594 echo Configuring in $(TARGET_SUBDIR)/winsup; \
29595 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
29596 case $(srcdir) in \
29597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29598 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
29599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29600 esac; \
29601 srcdiroption="--srcdir=$${topdir}/winsup"; \
29602 libsrcdir="$$s/winsup"; \
29603 rm -f no-such-file || : ; \
29604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29605 $(TARGET_CONFIGARGS) $${srcdiroption} \
29606 || exit 1
29607 @endif target-winsup
29613 .PHONY: all-target-winsup maybe-all-target-winsup
29614 maybe-all-target-winsup:
29615 @if target-winsup
29616 TARGET-target-winsup=all
29617 maybe-all-target-winsup: all-target-winsup
29618 all-target-winsup: configure-target-winsup
29619 @r=`${PWD_COMMAND}`; export r; \
29620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29621 $(NORMAL_TARGET_EXPORTS) \
29622 (cd $(TARGET_SUBDIR)/winsup && \
29623 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
29624 @endif target-winsup
29630 .PHONY: check-target-winsup maybe-check-target-winsup
29631 maybe-check-target-winsup:
29632 @if target-winsup
29633 maybe-check-target-winsup: check-target-winsup
29635 check-target-winsup:
29636 @r=`${PWD_COMMAND}`; export r; \
29637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29638 $(NORMAL_TARGET_EXPORTS) \
29639 (cd $(TARGET_SUBDIR)/winsup && \
29640 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29642 @endif target-winsup
29644 .PHONY: install-target-winsup maybe-install-target-winsup
29645 maybe-install-target-winsup:
29646 @if target-winsup
29647 maybe-install-target-winsup: install-target-winsup
29649 install-target-winsup: installdirs
29650 @r=`${PWD_COMMAND}`; export r; \
29651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29652 $(NORMAL_TARGET_EXPORTS) \
29653 (cd $(TARGET_SUBDIR)/winsup && \
29654 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29656 @endif target-winsup
29658 # Other targets (info, dvi, etc.)
29660 .PHONY: maybe-info-target-winsup info-target-winsup
29661 maybe-info-target-winsup:
29662 @if target-winsup
29663 maybe-info-target-winsup: info-target-winsup
29665 info-target-winsup: \
29666 configure-target-winsup
29667 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29668 r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(NORMAL_TARGET_EXPORTS) \
29671 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
29672 for flag in $(EXTRA_TARGET_FLAGS); do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29674 done; \
29675 (cd $(TARGET_SUBDIR)/winsup && \
29676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29678 "RANLIB=$${RANLIB}" \
29679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29680 info) \
29681 || exit 1
29683 @endif target-winsup
29685 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
29686 maybe-dvi-target-winsup:
29687 @if target-winsup
29688 maybe-dvi-target-winsup: dvi-target-winsup
29690 dvi-target-winsup: \
29691 configure-target-winsup
29692 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29693 r=`${PWD_COMMAND}`; export r; \
29694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29695 $(NORMAL_TARGET_EXPORTS) \
29696 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
29697 for flag in $(EXTRA_TARGET_FLAGS); do \
29698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 done; \
29700 (cd $(TARGET_SUBDIR)/winsup && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29705 dvi) \
29706 || exit 1
29708 @endif target-winsup
29710 .PHONY: maybe-html-target-winsup html-target-winsup
29711 maybe-html-target-winsup:
29712 @if target-winsup
29713 maybe-html-target-winsup: html-target-winsup
29715 html-target-winsup: \
29716 configure-target-winsup
29717 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(NORMAL_TARGET_EXPORTS) \
29721 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
29722 for flag in $(EXTRA_TARGET_FLAGS); do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 (cd $(TARGET_SUBDIR)/winsup && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 html) \
29731 || exit 1
29733 @endif target-winsup
29735 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
29736 maybe-TAGS-target-winsup:
29737 @if target-winsup
29738 maybe-TAGS-target-winsup: TAGS-target-winsup
29740 TAGS-target-winsup: \
29741 configure-target-winsup
29742 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(NORMAL_TARGET_EXPORTS) \
29746 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
29747 for flag in $(EXTRA_TARGET_FLAGS); do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 (cd $(TARGET_SUBDIR)/winsup && \
29751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29753 "RANLIB=$${RANLIB}" \
29754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29755 TAGS) \
29756 || exit 1
29758 @endif target-winsup
29760 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
29761 maybe-install-info-target-winsup:
29762 @if target-winsup
29763 maybe-install-info-target-winsup: install-info-target-winsup
29765 install-info-target-winsup: \
29766 configure-target-winsup \
29767 info-target-winsup
29768 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(NORMAL_TARGET_EXPORTS) \
29772 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
29773 for flag in $(EXTRA_TARGET_FLAGS); do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 (cd $(TARGET_SUBDIR)/winsup && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29781 install-info) \
29782 || exit 1
29784 @endif target-winsup
29786 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
29787 maybe-installcheck-target-winsup:
29788 @if target-winsup
29789 maybe-installcheck-target-winsup: installcheck-target-winsup
29791 installcheck-target-winsup: \
29792 configure-target-winsup
29793 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(NORMAL_TARGET_EXPORTS) \
29797 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
29798 for flag in $(EXTRA_TARGET_FLAGS); do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 (cd $(TARGET_SUBDIR)/winsup && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29806 installcheck) \
29807 || exit 1
29809 @endif target-winsup
29811 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
29812 maybe-mostlyclean-target-winsup:
29813 @if target-winsup
29814 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
29816 mostlyclean-target-winsup:
29817 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29818 r=`${PWD_COMMAND}`; export r; \
29819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29820 $(NORMAL_TARGET_EXPORTS) \
29821 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
29822 for flag in $(EXTRA_TARGET_FLAGS); do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 (cd $(TARGET_SUBDIR)/winsup && \
29826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29828 "RANLIB=$${RANLIB}" \
29829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29830 mostlyclean) \
29831 || exit 1
29833 @endif target-winsup
29835 .PHONY: maybe-clean-target-winsup clean-target-winsup
29836 maybe-clean-target-winsup:
29837 @if target-winsup
29838 maybe-clean-target-winsup: clean-target-winsup
29840 clean-target-winsup:
29841 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29842 r=`${PWD_COMMAND}`; export r; \
29843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29844 $(NORMAL_TARGET_EXPORTS) \
29845 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
29846 for flag in $(EXTRA_TARGET_FLAGS); do \
29847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29848 done; \
29849 (cd $(TARGET_SUBDIR)/winsup && \
29850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29852 "RANLIB=$${RANLIB}" \
29853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29854 clean) \
29855 || exit 1
29857 @endif target-winsup
29859 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
29860 maybe-distclean-target-winsup:
29861 @if target-winsup
29862 maybe-distclean-target-winsup: distclean-target-winsup
29864 distclean-target-winsup:
29865 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29866 r=`${PWD_COMMAND}`; export r; \
29867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29868 $(NORMAL_TARGET_EXPORTS) \
29869 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
29870 for flag in $(EXTRA_TARGET_FLAGS); do \
29871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29872 done; \
29873 (cd $(TARGET_SUBDIR)/winsup && \
29874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29876 "RANLIB=$${RANLIB}" \
29877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29878 distclean) \
29879 || exit 1
29881 @endif target-winsup
29883 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
29884 maybe-maintainer-clean-target-winsup:
29885 @if target-winsup
29886 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
29888 maintainer-clean-target-winsup:
29889 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29890 r=`${PWD_COMMAND}`; export r; \
29891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29892 $(NORMAL_TARGET_EXPORTS) \
29893 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
29894 for flag in $(EXTRA_TARGET_FLAGS); do \
29895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29896 done; \
29897 (cd $(TARGET_SUBDIR)/winsup && \
29898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29900 "RANLIB=$${RANLIB}" \
29901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29902 maintainer-clean) \
29903 || exit 1
29905 @endif target-winsup
29909 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29910 @if target-libgloss
29911 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
29912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29913 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
29914 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
29915 @endif target-libgloss
29919 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
29920 maybe-configure-target-libgloss:
29921 @if target-libgloss
29922 maybe-configure-target-libgloss: configure-target-libgloss
29923 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
29924 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
29925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29926 r=`${PWD_COMMAND}`; export r; \
29927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29928 $(NORMAL_TARGET_EXPORTS) \
29929 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
29930 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
29931 case $(srcdir) in \
29932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29933 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
29934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29935 esac; \
29936 srcdiroption="--srcdir=$${topdir}/libgloss"; \
29937 libsrcdir="$$s/libgloss"; \
29938 rm -f no-such-file || : ; \
29939 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29940 $(TARGET_CONFIGARGS) $${srcdiroption} \
29941 || exit 1
29942 @endif target-libgloss
29948 .PHONY: all-target-libgloss maybe-all-target-libgloss
29949 maybe-all-target-libgloss:
29950 @if target-libgloss
29951 TARGET-target-libgloss=all
29952 maybe-all-target-libgloss: all-target-libgloss
29953 all-target-libgloss: configure-target-libgloss
29954 @r=`${PWD_COMMAND}`; export r; \
29955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29956 $(NORMAL_TARGET_EXPORTS) \
29957 (cd $(TARGET_SUBDIR)/libgloss && \
29958 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
29959 @endif target-libgloss
29965 .PHONY: check-target-libgloss maybe-check-target-libgloss
29966 maybe-check-target-libgloss:
29967 @if target-libgloss
29968 maybe-check-target-libgloss: check-target-libgloss
29970 # Dummy target for uncheckable module.
29971 check-target-libgloss:
29973 @endif target-libgloss
29975 .PHONY: install-target-libgloss maybe-install-target-libgloss
29976 maybe-install-target-libgloss:
29977 @if target-libgloss
29978 maybe-install-target-libgloss: install-target-libgloss
29980 install-target-libgloss: installdirs
29981 @r=`${PWD_COMMAND}`; export r; \
29982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29983 $(NORMAL_TARGET_EXPORTS) \
29984 (cd $(TARGET_SUBDIR)/libgloss && \
29985 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29987 @endif target-libgloss
29989 # Other targets (info, dvi, etc.)
29991 .PHONY: maybe-info-target-libgloss info-target-libgloss
29992 maybe-info-target-libgloss:
29993 @if target-libgloss
29994 maybe-info-target-libgloss: info-target-libgloss
29996 info-target-libgloss: \
29997 configure-target-libgloss
29998 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29999 r=`${PWD_COMMAND}`; export r; \
30000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30001 $(NORMAL_TARGET_EXPORTS) \
30002 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
30003 for flag in $(EXTRA_TARGET_FLAGS); do \
30004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30005 done; \
30006 (cd $(TARGET_SUBDIR)/libgloss && \
30007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30009 "RANLIB=$${RANLIB}" \
30010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30011 info) \
30012 || exit 1
30014 @endif target-libgloss
30016 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
30017 maybe-dvi-target-libgloss:
30018 @if target-libgloss
30019 maybe-dvi-target-libgloss: dvi-target-libgloss
30021 dvi-target-libgloss: \
30022 configure-target-libgloss
30023 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30024 r=`${PWD_COMMAND}`; export r; \
30025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30026 $(NORMAL_TARGET_EXPORTS) \
30027 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
30028 for flag in $(EXTRA_TARGET_FLAGS); do \
30029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30030 done; \
30031 (cd $(TARGET_SUBDIR)/libgloss && \
30032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30034 "RANLIB=$${RANLIB}" \
30035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30036 dvi) \
30037 || exit 1
30039 @endif target-libgloss
30041 .PHONY: maybe-html-target-libgloss html-target-libgloss
30042 maybe-html-target-libgloss:
30043 @if target-libgloss
30044 maybe-html-target-libgloss: html-target-libgloss
30046 html-target-libgloss: \
30047 configure-target-libgloss
30048 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30049 r=`${PWD_COMMAND}`; export r; \
30050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30051 $(NORMAL_TARGET_EXPORTS) \
30052 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
30053 for flag in $(EXTRA_TARGET_FLAGS); do \
30054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30055 done; \
30056 (cd $(TARGET_SUBDIR)/libgloss && \
30057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30059 "RANLIB=$${RANLIB}" \
30060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30061 html) \
30062 || exit 1
30064 @endif target-libgloss
30066 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
30067 maybe-TAGS-target-libgloss:
30068 @if target-libgloss
30069 maybe-TAGS-target-libgloss: TAGS-target-libgloss
30071 TAGS-target-libgloss: \
30072 configure-target-libgloss
30073 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30074 r=`${PWD_COMMAND}`; export r; \
30075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30076 $(NORMAL_TARGET_EXPORTS) \
30077 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
30078 for flag in $(EXTRA_TARGET_FLAGS); do \
30079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30080 done; \
30081 (cd $(TARGET_SUBDIR)/libgloss && \
30082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30084 "RANLIB=$${RANLIB}" \
30085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30086 TAGS) \
30087 || exit 1
30089 @endif target-libgloss
30091 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
30092 maybe-install-info-target-libgloss:
30093 @if target-libgloss
30094 maybe-install-info-target-libgloss: install-info-target-libgloss
30096 install-info-target-libgloss: \
30097 configure-target-libgloss \
30098 info-target-libgloss
30099 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30100 r=`${PWD_COMMAND}`; export r; \
30101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30102 $(NORMAL_TARGET_EXPORTS) \
30103 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
30104 for flag in $(EXTRA_TARGET_FLAGS); do \
30105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30106 done; \
30107 (cd $(TARGET_SUBDIR)/libgloss && \
30108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30110 "RANLIB=$${RANLIB}" \
30111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30112 install-info) \
30113 || exit 1
30115 @endif target-libgloss
30117 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
30118 maybe-installcheck-target-libgloss:
30119 @if target-libgloss
30120 maybe-installcheck-target-libgloss: installcheck-target-libgloss
30122 installcheck-target-libgloss: \
30123 configure-target-libgloss
30124 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30125 r=`${PWD_COMMAND}`; export r; \
30126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30127 $(NORMAL_TARGET_EXPORTS) \
30128 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
30129 for flag in $(EXTRA_TARGET_FLAGS); do \
30130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30131 done; \
30132 (cd $(TARGET_SUBDIR)/libgloss && \
30133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30135 "RANLIB=$${RANLIB}" \
30136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30137 installcheck) \
30138 || exit 1
30140 @endif target-libgloss
30142 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
30143 maybe-mostlyclean-target-libgloss:
30144 @if target-libgloss
30145 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
30147 mostlyclean-target-libgloss:
30148 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30149 r=`${PWD_COMMAND}`; export r; \
30150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30151 $(NORMAL_TARGET_EXPORTS) \
30152 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
30153 for flag in $(EXTRA_TARGET_FLAGS); do \
30154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30155 done; \
30156 (cd $(TARGET_SUBDIR)/libgloss && \
30157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30159 "RANLIB=$${RANLIB}" \
30160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30161 mostlyclean) \
30162 || exit 1
30164 @endif target-libgloss
30166 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
30167 maybe-clean-target-libgloss:
30168 @if target-libgloss
30169 maybe-clean-target-libgloss: clean-target-libgloss
30171 clean-target-libgloss:
30172 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30173 r=`${PWD_COMMAND}`; export r; \
30174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30175 $(NORMAL_TARGET_EXPORTS) \
30176 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
30177 for flag in $(EXTRA_TARGET_FLAGS); do \
30178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30179 done; \
30180 (cd $(TARGET_SUBDIR)/libgloss && \
30181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30183 "RANLIB=$${RANLIB}" \
30184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30185 clean) \
30186 || exit 1
30188 @endif target-libgloss
30190 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
30191 maybe-distclean-target-libgloss:
30192 @if target-libgloss
30193 maybe-distclean-target-libgloss: distclean-target-libgloss
30195 distclean-target-libgloss:
30196 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30197 r=`${PWD_COMMAND}`; export r; \
30198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30199 $(NORMAL_TARGET_EXPORTS) \
30200 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
30201 for flag in $(EXTRA_TARGET_FLAGS); do \
30202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30203 done; \
30204 (cd $(TARGET_SUBDIR)/libgloss && \
30205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30207 "RANLIB=$${RANLIB}" \
30208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30209 distclean) \
30210 || exit 1
30212 @endif target-libgloss
30214 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
30215 maybe-maintainer-clean-target-libgloss:
30216 @if target-libgloss
30217 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
30219 maintainer-clean-target-libgloss:
30220 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30221 r=`${PWD_COMMAND}`; export r; \
30222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30223 $(NORMAL_TARGET_EXPORTS) \
30224 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
30225 for flag in $(EXTRA_TARGET_FLAGS); do \
30226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30227 done; \
30228 (cd $(TARGET_SUBDIR)/libgloss && \
30229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30231 "RANLIB=$${RANLIB}" \
30232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30233 maintainer-clean) \
30234 || exit 1
30236 @endif target-libgloss
30240 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30241 @if target-libiberty
30242 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
30243 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30244 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
30245 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
30246 @endif target-libiberty
30250 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
30251 maybe-configure-target-libiberty:
30252 @if target-libiberty
30253 maybe-configure-target-libiberty: configure-target-libiberty
30254 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
30255 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
30256 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30257 r=`${PWD_COMMAND}`; export r; \
30258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30259 $(NORMAL_TARGET_EXPORTS) \
30260 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
30261 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
30262 case $(srcdir) in \
30263 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30264 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
30265 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30266 esac; \
30267 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30268 libsrcdir="$$s/libiberty"; \
30269 rm -f no-such-file || : ; \
30270 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30271 $(TARGET_CONFIGARGS) $${srcdiroption} \
30272 || exit 1
30273 @endif target-libiberty
30279 .PHONY: all-target-libiberty maybe-all-target-libiberty
30280 maybe-all-target-libiberty:
30281 @if target-libiberty
30282 TARGET-target-libiberty=all
30283 maybe-all-target-libiberty: all-target-libiberty
30284 all-target-libiberty: configure-target-libiberty
30285 @r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(NORMAL_TARGET_EXPORTS) \
30288 (cd $(TARGET_SUBDIR)/libiberty && \
30289 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
30290 @endif target-libiberty
30296 .PHONY: check-target-libiberty maybe-check-target-libiberty
30297 maybe-check-target-libiberty:
30298 @if target-libiberty
30299 maybe-check-target-libiberty: check-target-libiberty
30301 check-target-libiberty:
30302 @r=`${PWD_COMMAND}`; export r; \
30303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30304 $(NORMAL_TARGET_EXPORTS) \
30305 (cd $(TARGET_SUBDIR)/libiberty && \
30306 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30308 @endif target-libiberty
30310 .PHONY: install-target-libiberty maybe-install-target-libiberty
30311 maybe-install-target-libiberty:
30312 @if target-libiberty
30313 maybe-install-target-libiberty: install-target-libiberty
30315 install-target-libiberty: installdirs
30316 @r=`${PWD_COMMAND}`; export r; \
30317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30318 $(NORMAL_TARGET_EXPORTS) \
30319 (cd $(TARGET_SUBDIR)/libiberty && \
30320 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30322 @endif target-libiberty
30324 # Other targets (info, dvi, etc.)
30326 .PHONY: maybe-info-target-libiberty info-target-libiberty
30327 maybe-info-target-libiberty:
30328 @if target-libiberty
30329 maybe-info-target-libiberty: info-target-libiberty
30331 info-target-libiberty: \
30332 configure-target-libiberty
30333 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30334 r=`${PWD_COMMAND}`; export r; \
30335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30336 $(NORMAL_TARGET_EXPORTS) \
30337 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
30338 for flag in $(EXTRA_TARGET_FLAGS); do \
30339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30340 done; \
30341 (cd $(TARGET_SUBDIR)/libiberty && \
30342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30344 "RANLIB=$${RANLIB}" \
30345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30346 info) \
30347 || exit 1
30349 @endif target-libiberty
30351 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
30352 maybe-dvi-target-libiberty:
30353 @if target-libiberty
30354 maybe-dvi-target-libiberty: dvi-target-libiberty
30356 dvi-target-libiberty: \
30357 configure-target-libiberty
30358 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30359 r=`${PWD_COMMAND}`; export r; \
30360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30361 $(NORMAL_TARGET_EXPORTS) \
30362 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
30363 for flag in $(EXTRA_TARGET_FLAGS); do \
30364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30365 done; \
30366 (cd $(TARGET_SUBDIR)/libiberty && \
30367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30369 "RANLIB=$${RANLIB}" \
30370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30371 dvi) \
30372 || exit 1
30374 @endif target-libiberty
30376 .PHONY: maybe-html-target-libiberty html-target-libiberty
30377 maybe-html-target-libiberty:
30378 @if target-libiberty
30379 maybe-html-target-libiberty: html-target-libiberty
30381 html-target-libiberty: \
30382 configure-target-libiberty
30383 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30384 r=`${PWD_COMMAND}`; export r; \
30385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30386 $(NORMAL_TARGET_EXPORTS) \
30387 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
30388 for flag in $(EXTRA_TARGET_FLAGS); do \
30389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30390 done; \
30391 (cd $(TARGET_SUBDIR)/libiberty && \
30392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30394 "RANLIB=$${RANLIB}" \
30395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30396 html) \
30397 || exit 1
30399 @endif target-libiberty
30401 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
30402 maybe-TAGS-target-libiberty:
30403 @if target-libiberty
30404 maybe-TAGS-target-libiberty: TAGS-target-libiberty
30406 TAGS-target-libiberty: \
30407 configure-target-libiberty
30408 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30409 r=`${PWD_COMMAND}`; export r; \
30410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30411 $(NORMAL_TARGET_EXPORTS) \
30412 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
30413 for flag in $(EXTRA_TARGET_FLAGS); do \
30414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30415 done; \
30416 (cd $(TARGET_SUBDIR)/libiberty && \
30417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30419 "RANLIB=$${RANLIB}" \
30420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30421 TAGS) \
30422 || exit 1
30424 @endif target-libiberty
30426 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
30427 maybe-install-info-target-libiberty:
30428 @if target-libiberty
30429 maybe-install-info-target-libiberty: install-info-target-libiberty
30431 install-info-target-libiberty: \
30432 configure-target-libiberty \
30433 info-target-libiberty
30434 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30435 r=`${PWD_COMMAND}`; export r; \
30436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30437 $(NORMAL_TARGET_EXPORTS) \
30438 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
30439 for flag in $(EXTRA_TARGET_FLAGS); do \
30440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30441 done; \
30442 (cd $(TARGET_SUBDIR)/libiberty && \
30443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30445 "RANLIB=$${RANLIB}" \
30446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30447 install-info) \
30448 || exit 1
30450 @endif target-libiberty
30452 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
30453 maybe-installcheck-target-libiberty:
30454 @if target-libiberty
30455 maybe-installcheck-target-libiberty: installcheck-target-libiberty
30457 installcheck-target-libiberty: \
30458 configure-target-libiberty
30459 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30460 r=`${PWD_COMMAND}`; export r; \
30461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30462 $(NORMAL_TARGET_EXPORTS) \
30463 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
30464 for flag in $(EXTRA_TARGET_FLAGS); do \
30465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30466 done; \
30467 (cd $(TARGET_SUBDIR)/libiberty && \
30468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30470 "RANLIB=$${RANLIB}" \
30471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30472 installcheck) \
30473 || exit 1
30475 @endif target-libiberty
30477 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
30478 maybe-mostlyclean-target-libiberty:
30479 @if target-libiberty
30480 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
30482 mostlyclean-target-libiberty:
30483 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30484 r=`${PWD_COMMAND}`; export r; \
30485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30486 $(NORMAL_TARGET_EXPORTS) \
30487 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
30488 for flag in $(EXTRA_TARGET_FLAGS); do \
30489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30490 done; \
30491 (cd $(TARGET_SUBDIR)/libiberty && \
30492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30494 "RANLIB=$${RANLIB}" \
30495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30496 mostlyclean) \
30497 || exit 1
30499 @endif target-libiberty
30501 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
30502 maybe-clean-target-libiberty:
30503 @if target-libiberty
30504 maybe-clean-target-libiberty: clean-target-libiberty
30506 clean-target-libiberty:
30507 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30508 r=`${PWD_COMMAND}`; export r; \
30509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30510 $(NORMAL_TARGET_EXPORTS) \
30511 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
30512 for flag in $(EXTRA_TARGET_FLAGS); do \
30513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30514 done; \
30515 (cd $(TARGET_SUBDIR)/libiberty && \
30516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30518 "RANLIB=$${RANLIB}" \
30519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30520 clean) \
30521 || exit 1
30523 @endif target-libiberty
30525 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
30526 maybe-distclean-target-libiberty:
30527 @if target-libiberty
30528 maybe-distclean-target-libiberty: distclean-target-libiberty
30530 distclean-target-libiberty:
30531 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30532 r=`${PWD_COMMAND}`; export r; \
30533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30534 $(NORMAL_TARGET_EXPORTS) \
30535 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
30536 for flag in $(EXTRA_TARGET_FLAGS); do \
30537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30538 done; \
30539 (cd $(TARGET_SUBDIR)/libiberty && \
30540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30542 "RANLIB=$${RANLIB}" \
30543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30544 distclean) \
30545 || exit 1
30547 @endif target-libiberty
30549 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
30550 maybe-maintainer-clean-target-libiberty:
30551 @if target-libiberty
30552 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
30554 maintainer-clean-target-libiberty:
30555 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30556 r=`${PWD_COMMAND}`; export r; \
30557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30558 $(NORMAL_TARGET_EXPORTS) \
30559 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
30560 for flag in $(EXTRA_TARGET_FLAGS); do \
30561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30562 done; \
30563 (cd $(TARGET_SUBDIR)/libiberty && \
30564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30566 "RANLIB=$${RANLIB}" \
30567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30568 maintainer-clean) \
30569 || exit 1
30571 @endif target-libiberty
30575 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30576 @if target-gperf
30577 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
30578 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30579 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
30580 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
30581 @endif target-gperf
30585 .PHONY: configure-target-gperf maybe-configure-target-gperf
30586 maybe-configure-target-gperf:
30587 @if target-gperf
30588 maybe-configure-target-gperf: configure-target-gperf
30589 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
30590 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
30591 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30592 r=`${PWD_COMMAND}`; export r; \
30593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30594 $(NORMAL_TARGET_EXPORTS) \
30595 echo Configuring in $(TARGET_SUBDIR)/gperf; \
30596 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
30597 case $(srcdir) in \
30598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30599 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
30600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30601 esac; \
30602 srcdiroption="--srcdir=$${topdir}/gperf"; \
30603 libsrcdir="$$s/gperf"; \
30604 rm -f no-such-file || : ; \
30605 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30606 $(TARGET_CONFIGARGS) $${srcdiroption} \
30607 || exit 1
30608 @endif target-gperf
30614 .PHONY: all-target-gperf maybe-all-target-gperf
30615 maybe-all-target-gperf:
30616 @if target-gperf
30617 TARGET-target-gperf=all
30618 maybe-all-target-gperf: all-target-gperf
30619 all-target-gperf: configure-target-gperf
30620 @r=`${PWD_COMMAND}`; export r; \
30621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30622 $(NORMAL_TARGET_EXPORTS) \
30623 (cd $(TARGET_SUBDIR)/gperf && \
30624 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
30625 @endif target-gperf
30631 .PHONY: check-target-gperf maybe-check-target-gperf
30632 maybe-check-target-gperf:
30633 @if target-gperf
30634 maybe-check-target-gperf: check-target-gperf
30636 check-target-gperf:
30637 @r=`${PWD_COMMAND}`; export r; \
30638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30639 $(NORMAL_TARGET_EXPORTS) \
30640 (cd $(TARGET_SUBDIR)/gperf && \
30641 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30643 @endif target-gperf
30645 .PHONY: install-target-gperf maybe-install-target-gperf
30646 maybe-install-target-gperf:
30647 @if target-gperf
30648 maybe-install-target-gperf: install-target-gperf
30650 install-target-gperf: installdirs
30651 @r=`${PWD_COMMAND}`; export r; \
30652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30653 $(NORMAL_TARGET_EXPORTS) \
30654 (cd $(TARGET_SUBDIR)/gperf && \
30655 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30657 @endif target-gperf
30659 # Other targets (info, dvi, etc.)
30661 .PHONY: maybe-info-target-gperf info-target-gperf
30662 maybe-info-target-gperf:
30663 @if target-gperf
30664 maybe-info-target-gperf: info-target-gperf
30666 info-target-gperf: \
30667 configure-target-gperf
30668 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30669 r=`${PWD_COMMAND}`; export r; \
30670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30671 $(NORMAL_TARGET_EXPORTS) \
30672 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
30673 for flag in $(EXTRA_TARGET_FLAGS); do \
30674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30675 done; \
30676 (cd $(TARGET_SUBDIR)/gperf && \
30677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30679 "RANLIB=$${RANLIB}" \
30680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30681 info) \
30682 || exit 1
30684 @endif target-gperf
30686 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
30687 maybe-dvi-target-gperf:
30688 @if target-gperf
30689 maybe-dvi-target-gperf: dvi-target-gperf
30691 dvi-target-gperf: \
30692 configure-target-gperf
30693 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30694 r=`${PWD_COMMAND}`; export r; \
30695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30696 $(NORMAL_TARGET_EXPORTS) \
30697 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
30698 for flag in $(EXTRA_TARGET_FLAGS); do \
30699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30700 done; \
30701 (cd $(TARGET_SUBDIR)/gperf && \
30702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30704 "RANLIB=$${RANLIB}" \
30705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30706 dvi) \
30707 || exit 1
30709 @endif target-gperf
30711 .PHONY: maybe-html-target-gperf html-target-gperf
30712 maybe-html-target-gperf:
30713 @if target-gperf
30714 maybe-html-target-gperf: html-target-gperf
30716 html-target-gperf: \
30717 configure-target-gperf
30718 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30719 r=`${PWD_COMMAND}`; export r; \
30720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30721 $(NORMAL_TARGET_EXPORTS) \
30722 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
30723 for flag in $(EXTRA_TARGET_FLAGS); do \
30724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30725 done; \
30726 (cd $(TARGET_SUBDIR)/gperf && \
30727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30729 "RANLIB=$${RANLIB}" \
30730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30731 html) \
30732 || exit 1
30734 @endif target-gperf
30736 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
30737 maybe-TAGS-target-gperf:
30738 @if target-gperf
30739 maybe-TAGS-target-gperf: TAGS-target-gperf
30741 TAGS-target-gperf: \
30742 configure-target-gperf
30743 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30744 r=`${PWD_COMMAND}`; export r; \
30745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30746 $(NORMAL_TARGET_EXPORTS) \
30747 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
30748 for flag in $(EXTRA_TARGET_FLAGS); do \
30749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30750 done; \
30751 (cd $(TARGET_SUBDIR)/gperf && \
30752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30754 "RANLIB=$${RANLIB}" \
30755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30756 TAGS) \
30757 || exit 1
30759 @endif target-gperf
30761 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
30762 maybe-install-info-target-gperf:
30763 @if target-gperf
30764 maybe-install-info-target-gperf: install-info-target-gperf
30766 install-info-target-gperf: \
30767 configure-target-gperf \
30768 info-target-gperf
30769 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30770 r=`${PWD_COMMAND}`; export r; \
30771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30772 $(NORMAL_TARGET_EXPORTS) \
30773 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
30774 for flag in $(EXTRA_TARGET_FLAGS); do \
30775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30776 done; \
30777 (cd $(TARGET_SUBDIR)/gperf && \
30778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30780 "RANLIB=$${RANLIB}" \
30781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30782 install-info) \
30783 || exit 1
30785 @endif target-gperf
30787 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
30788 maybe-installcheck-target-gperf:
30789 @if target-gperf
30790 maybe-installcheck-target-gperf: installcheck-target-gperf
30792 installcheck-target-gperf: \
30793 configure-target-gperf
30794 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30795 r=`${PWD_COMMAND}`; export r; \
30796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30797 $(NORMAL_TARGET_EXPORTS) \
30798 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
30799 for flag in $(EXTRA_TARGET_FLAGS); do \
30800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30801 done; \
30802 (cd $(TARGET_SUBDIR)/gperf && \
30803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30805 "RANLIB=$${RANLIB}" \
30806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30807 installcheck) \
30808 || exit 1
30810 @endif target-gperf
30812 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
30813 maybe-mostlyclean-target-gperf:
30814 @if target-gperf
30815 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
30817 mostlyclean-target-gperf:
30818 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30819 r=`${PWD_COMMAND}`; export r; \
30820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30821 $(NORMAL_TARGET_EXPORTS) \
30822 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
30823 for flag in $(EXTRA_TARGET_FLAGS); do \
30824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30825 done; \
30826 (cd $(TARGET_SUBDIR)/gperf && \
30827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30829 "RANLIB=$${RANLIB}" \
30830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30831 mostlyclean) \
30832 || exit 1
30834 @endif target-gperf
30836 .PHONY: maybe-clean-target-gperf clean-target-gperf
30837 maybe-clean-target-gperf:
30838 @if target-gperf
30839 maybe-clean-target-gperf: clean-target-gperf
30841 clean-target-gperf:
30842 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30843 r=`${PWD_COMMAND}`; export r; \
30844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30845 $(NORMAL_TARGET_EXPORTS) \
30846 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
30847 for flag in $(EXTRA_TARGET_FLAGS); do \
30848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30849 done; \
30850 (cd $(TARGET_SUBDIR)/gperf && \
30851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30853 "RANLIB=$${RANLIB}" \
30854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30855 clean) \
30856 || exit 1
30858 @endif target-gperf
30860 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
30861 maybe-distclean-target-gperf:
30862 @if target-gperf
30863 maybe-distclean-target-gperf: distclean-target-gperf
30865 distclean-target-gperf:
30866 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30867 r=`${PWD_COMMAND}`; export r; \
30868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30869 $(NORMAL_TARGET_EXPORTS) \
30870 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
30871 for flag in $(EXTRA_TARGET_FLAGS); do \
30872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30873 done; \
30874 (cd $(TARGET_SUBDIR)/gperf && \
30875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30877 "RANLIB=$${RANLIB}" \
30878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30879 distclean) \
30880 || exit 1
30882 @endif target-gperf
30884 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
30885 maybe-maintainer-clean-target-gperf:
30886 @if target-gperf
30887 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
30889 maintainer-clean-target-gperf:
30890 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30891 r=`${PWD_COMMAND}`; export r; \
30892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30893 $(NORMAL_TARGET_EXPORTS) \
30894 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
30895 for flag in $(EXTRA_TARGET_FLAGS); do \
30896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30897 done; \
30898 (cd $(TARGET_SUBDIR)/gperf && \
30899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30901 "RANLIB=$${RANLIB}" \
30902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30903 maintainer-clean) \
30904 || exit 1
30906 @endif target-gperf
30910 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30911 @if target-examples
30912 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
30913 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30914 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
30915 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
30916 @endif target-examples
30920 .PHONY: configure-target-examples maybe-configure-target-examples
30921 maybe-configure-target-examples:
30922 @if target-examples
30923 maybe-configure-target-examples: configure-target-examples
30924 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
30925 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
30926 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30927 r=`${PWD_COMMAND}`; export r; \
30928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30929 $(NORMAL_TARGET_EXPORTS) \
30930 echo Configuring in $(TARGET_SUBDIR)/examples; \
30931 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
30932 case $(srcdir) in \
30933 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30934 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
30935 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30936 esac; \
30937 srcdiroption="--srcdir=$${topdir}/examples"; \
30938 libsrcdir="$$s/examples"; \
30939 rm -f no-such-file || : ; \
30940 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30941 $(TARGET_CONFIGARGS) $${srcdiroption} \
30942 || exit 1
30943 @endif target-examples
30949 .PHONY: all-target-examples maybe-all-target-examples
30950 maybe-all-target-examples:
30951 @if target-examples
30952 TARGET-target-examples=all
30953 maybe-all-target-examples: all-target-examples
30954 all-target-examples: configure-target-examples
30955 @r=`${PWD_COMMAND}`; export r; \
30956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30957 $(NORMAL_TARGET_EXPORTS) \
30958 (cd $(TARGET_SUBDIR)/examples && \
30959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
30960 @endif target-examples
30966 .PHONY: check-target-examples maybe-check-target-examples
30967 maybe-check-target-examples:
30968 @if target-examples
30969 maybe-check-target-examples: check-target-examples
30971 # Dummy target for uncheckable module.
30972 check-target-examples:
30974 @endif target-examples
30976 .PHONY: install-target-examples maybe-install-target-examples
30977 maybe-install-target-examples:
30978 @if target-examples
30979 maybe-install-target-examples: install-target-examples
30981 # Dummy target for uninstallable.
30982 install-target-examples:
30984 @endif target-examples
30986 # Other targets (info, dvi, etc.)
30988 .PHONY: maybe-info-target-examples info-target-examples
30989 maybe-info-target-examples:
30990 @if target-examples
30991 maybe-info-target-examples: info-target-examples
30993 info-target-examples: \
30994 configure-target-examples
30995 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30996 r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(NORMAL_TARGET_EXPORTS) \
30999 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
31000 for flag in $(EXTRA_TARGET_FLAGS); do \
31001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31002 done; \
31003 (cd $(TARGET_SUBDIR)/examples && \
31004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31006 "RANLIB=$${RANLIB}" \
31007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31008 info) \
31009 || exit 1
31011 @endif target-examples
31013 .PHONY: maybe-dvi-target-examples dvi-target-examples
31014 maybe-dvi-target-examples:
31015 @if target-examples
31016 maybe-dvi-target-examples: dvi-target-examples
31018 dvi-target-examples: \
31019 configure-target-examples
31020 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31021 r=`${PWD_COMMAND}`; export r; \
31022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31023 $(NORMAL_TARGET_EXPORTS) \
31024 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
31025 for flag in $(EXTRA_TARGET_FLAGS); do \
31026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31027 done; \
31028 (cd $(TARGET_SUBDIR)/examples && \
31029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31031 "RANLIB=$${RANLIB}" \
31032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31033 dvi) \
31034 || exit 1
31036 @endif target-examples
31038 .PHONY: maybe-html-target-examples html-target-examples
31039 maybe-html-target-examples:
31040 @if target-examples
31041 maybe-html-target-examples: html-target-examples
31043 html-target-examples: \
31044 configure-target-examples
31045 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31046 r=`${PWD_COMMAND}`; export r; \
31047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31048 $(NORMAL_TARGET_EXPORTS) \
31049 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
31050 for flag in $(EXTRA_TARGET_FLAGS); do \
31051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31052 done; \
31053 (cd $(TARGET_SUBDIR)/examples && \
31054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31056 "RANLIB=$${RANLIB}" \
31057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31058 html) \
31059 || exit 1
31061 @endif target-examples
31063 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
31064 maybe-TAGS-target-examples:
31065 @if target-examples
31066 maybe-TAGS-target-examples: TAGS-target-examples
31068 TAGS-target-examples: \
31069 configure-target-examples
31070 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31071 r=`${PWD_COMMAND}`; export r; \
31072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31073 $(NORMAL_TARGET_EXPORTS) \
31074 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
31075 for flag in $(EXTRA_TARGET_FLAGS); do \
31076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31077 done; \
31078 (cd $(TARGET_SUBDIR)/examples && \
31079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31081 "RANLIB=$${RANLIB}" \
31082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31083 TAGS) \
31084 || exit 1
31086 @endif target-examples
31088 .PHONY: maybe-install-info-target-examples install-info-target-examples
31089 maybe-install-info-target-examples:
31090 @if target-examples
31091 maybe-install-info-target-examples: install-info-target-examples
31093 install-info-target-examples: \
31094 configure-target-examples \
31095 info-target-examples
31096 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31097 r=`${PWD_COMMAND}`; export r; \
31098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31099 $(NORMAL_TARGET_EXPORTS) \
31100 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
31101 for flag in $(EXTRA_TARGET_FLAGS); do \
31102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31103 done; \
31104 (cd $(TARGET_SUBDIR)/examples && \
31105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31107 "RANLIB=$${RANLIB}" \
31108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31109 install-info) \
31110 || exit 1
31112 @endif target-examples
31114 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
31115 maybe-installcheck-target-examples:
31116 @if target-examples
31117 maybe-installcheck-target-examples: installcheck-target-examples
31119 installcheck-target-examples: \
31120 configure-target-examples
31121 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31122 r=`${PWD_COMMAND}`; export r; \
31123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31124 $(NORMAL_TARGET_EXPORTS) \
31125 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
31126 for flag in $(EXTRA_TARGET_FLAGS); do \
31127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31128 done; \
31129 (cd $(TARGET_SUBDIR)/examples && \
31130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31132 "RANLIB=$${RANLIB}" \
31133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31134 installcheck) \
31135 || exit 1
31137 @endif target-examples
31139 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
31140 maybe-mostlyclean-target-examples:
31141 @if target-examples
31142 maybe-mostlyclean-target-examples: mostlyclean-target-examples
31144 mostlyclean-target-examples:
31145 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31146 r=`${PWD_COMMAND}`; export r; \
31147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31148 $(NORMAL_TARGET_EXPORTS) \
31149 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
31150 for flag in $(EXTRA_TARGET_FLAGS); do \
31151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31152 done; \
31153 (cd $(TARGET_SUBDIR)/examples && \
31154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31156 "RANLIB=$${RANLIB}" \
31157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31158 mostlyclean) \
31159 || exit 1
31161 @endif target-examples
31163 .PHONY: maybe-clean-target-examples clean-target-examples
31164 maybe-clean-target-examples:
31165 @if target-examples
31166 maybe-clean-target-examples: clean-target-examples
31168 clean-target-examples:
31169 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31170 r=`${PWD_COMMAND}`; export r; \
31171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31172 $(NORMAL_TARGET_EXPORTS) \
31173 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
31174 for flag in $(EXTRA_TARGET_FLAGS); do \
31175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31176 done; \
31177 (cd $(TARGET_SUBDIR)/examples && \
31178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31180 "RANLIB=$${RANLIB}" \
31181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31182 clean) \
31183 || exit 1
31185 @endif target-examples
31187 .PHONY: maybe-distclean-target-examples distclean-target-examples
31188 maybe-distclean-target-examples:
31189 @if target-examples
31190 maybe-distclean-target-examples: distclean-target-examples
31192 distclean-target-examples:
31193 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31194 r=`${PWD_COMMAND}`; export r; \
31195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31196 $(NORMAL_TARGET_EXPORTS) \
31197 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
31198 for flag in $(EXTRA_TARGET_FLAGS); do \
31199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31200 done; \
31201 (cd $(TARGET_SUBDIR)/examples && \
31202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31204 "RANLIB=$${RANLIB}" \
31205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31206 distclean) \
31207 || exit 1
31209 @endif target-examples
31211 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
31212 maybe-maintainer-clean-target-examples:
31213 @if target-examples
31214 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
31216 maintainer-clean-target-examples:
31217 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31218 r=`${PWD_COMMAND}`; export r; \
31219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31220 $(NORMAL_TARGET_EXPORTS) \
31221 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
31222 for flag in $(EXTRA_TARGET_FLAGS); do \
31223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31224 done; \
31225 (cd $(TARGET_SUBDIR)/examples && \
31226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31228 "RANLIB=$${RANLIB}" \
31229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31230 maintainer-clean) \
31231 || exit 1
31233 @endif target-examples
31237 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31238 @if target-libffi
31239 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
31240 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31241 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
31242 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
31243 @endif target-libffi
31247 .PHONY: configure-target-libffi maybe-configure-target-libffi
31248 maybe-configure-target-libffi:
31249 @if target-libffi
31250 maybe-configure-target-libffi: configure-target-libffi
31251 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
31252 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
31253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31254 r=`${PWD_COMMAND}`; export r; \
31255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31256 $(NORMAL_TARGET_EXPORTS) \
31257 echo Configuring in $(TARGET_SUBDIR)/libffi; \
31258 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
31259 case $(srcdir) in \
31260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31261 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
31262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31263 esac; \
31264 srcdiroption="--srcdir=$${topdir}/libffi"; \
31265 libsrcdir="$$s/libffi"; \
31266 rm -f no-such-file || : ; \
31267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31268 $(TARGET_CONFIGARGS) $${srcdiroption} \
31269 || exit 1
31270 @endif target-libffi
31276 .PHONY: all-target-libffi maybe-all-target-libffi
31277 maybe-all-target-libffi:
31278 @if target-libffi
31279 TARGET-target-libffi=all
31280 maybe-all-target-libffi: all-target-libffi
31281 all-target-libffi: configure-target-libffi
31282 @r=`${PWD_COMMAND}`; export r; \
31283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31284 $(NORMAL_TARGET_EXPORTS) \
31285 (cd $(TARGET_SUBDIR)/libffi && \
31286 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
31287 @endif target-libffi
31293 .PHONY: check-target-libffi maybe-check-target-libffi
31294 maybe-check-target-libffi:
31295 @if target-libffi
31296 maybe-check-target-libffi: check-target-libffi
31298 check-target-libffi:
31299 @r=`${PWD_COMMAND}`; export r; \
31300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31301 $(NORMAL_TARGET_EXPORTS) \
31302 (cd $(TARGET_SUBDIR)/libffi && \
31303 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31305 @endif target-libffi
31307 .PHONY: install-target-libffi maybe-install-target-libffi
31308 maybe-install-target-libffi:
31309 @if target-libffi
31310 maybe-install-target-libffi: install-target-libffi
31312 install-target-libffi: installdirs
31313 @r=`${PWD_COMMAND}`; export r; \
31314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31315 $(NORMAL_TARGET_EXPORTS) \
31316 (cd $(TARGET_SUBDIR)/libffi && \
31317 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31319 @endif target-libffi
31321 # Other targets (info, dvi, etc.)
31323 .PHONY: maybe-info-target-libffi info-target-libffi
31324 maybe-info-target-libffi:
31325 @if target-libffi
31326 maybe-info-target-libffi: info-target-libffi
31328 info-target-libffi: \
31329 configure-target-libffi
31330 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31331 r=`${PWD_COMMAND}`; export r; \
31332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31333 $(NORMAL_TARGET_EXPORTS) \
31334 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
31335 for flag in $(EXTRA_TARGET_FLAGS); do \
31336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31337 done; \
31338 (cd $(TARGET_SUBDIR)/libffi && \
31339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31341 "RANLIB=$${RANLIB}" \
31342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31343 info) \
31344 || exit 1
31346 @endif target-libffi
31348 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
31349 maybe-dvi-target-libffi:
31350 @if target-libffi
31351 maybe-dvi-target-libffi: dvi-target-libffi
31353 dvi-target-libffi: \
31354 configure-target-libffi
31355 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31356 r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 $(NORMAL_TARGET_EXPORTS) \
31359 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
31360 for flag in $(EXTRA_TARGET_FLAGS); do \
31361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31362 done; \
31363 (cd $(TARGET_SUBDIR)/libffi && \
31364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31366 "RANLIB=$${RANLIB}" \
31367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31368 dvi) \
31369 || exit 1
31371 @endif target-libffi
31373 .PHONY: maybe-html-target-libffi html-target-libffi
31374 maybe-html-target-libffi:
31375 @if target-libffi
31376 maybe-html-target-libffi: html-target-libffi
31378 html-target-libffi: \
31379 configure-target-libffi
31380 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31381 r=`${PWD_COMMAND}`; export r; \
31382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31383 $(NORMAL_TARGET_EXPORTS) \
31384 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
31385 for flag in $(EXTRA_TARGET_FLAGS); do \
31386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31387 done; \
31388 (cd $(TARGET_SUBDIR)/libffi && \
31389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31391 "RANLIB=$${RANLIB}" \
31392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31393 html) \
31394 || exit 1
31396 @endif target-libffi
31398 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
31399 maybe-TAGS-target-libffi:
31400 @if target-libffi
31401 maybe-TAGS-target-libffi: TAGS-target-libffi
31403 TAGS-target-libffi: \
31404 configure-target-libffi
31405 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31406 r=`${PWD_COMMAND}`; export r; \
31407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31408 $(NORMAL_TARGET_EXPORTS) \
31409 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
31410 for flag in $(EXTRA_TARGET_FLAGS); do \
31411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31412 done; \
31413 (cd $(TARGET_SUBDIR)/libffi && \
31414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31416 "RANLIB=$${RANLIB}" \
31417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31418 TAGS) \
31419 || exit 1
31421 @endif target-libffi
31423 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
31424 maybe-install-info-target-libffi:
31425 @if target-libffi
31426 maybe-install-info-target-libffi: install-info-target-libffi
31428 install-info-target-libffi: \
31429 configure-target-libffi \
31430 info-target-libffi
31431 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31432 r=`${PWD_COMMAND}`; export r; \
31433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31434 $(NORMAL_TARGET_EXPORTS) \
31435 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
31436 for flag in $(EXTRA_TARGET_FLAGS); do \
31437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31438 done; \
31439 (cd $(TARGET_SUBDIR)/libffi && \
31440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31442 "RANLIB=$${RANLIB}" \
31443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31444 install-info) \
31445 || exit 1
31447 @endif target-libffi
31449 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
31450 maybe-installcheck-target-libffi:
31451 @if target-libffi
31452 maybe-installcheck-target-libffi: installcheck-target-libffi
31454 installcheck-target-libffi: \
31455 configure-target-libffi
31456 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31457 r=`${PWD_COMMAND}`; export r; \
31458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31459 $(NORMAL_TARGET_EXPORTS) \
31460 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
31461 for flag in $(EXTRA_TARGET_FLAGS); do \
31462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31463 done; \
31464 (cd $(TARGET_SUBDIR)/libffi && \
31465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31467 "RANLIB=$${RANLIB}" \
31468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31469 installcheck) \
31470 || exit 1
31472 @endif target-libffi
31474 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
31475 maybe-mostlyclean-target-libffi:
31476 @if target-libffi
31477 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
31479 mostlyclean-target-libffi:
31480 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31481 r=`${PWD_COMMAND}`; export r; \
31482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31483 $(NORMAL_TARGET_EXPORTS) \
31484 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
31485 for flag in $(EXTRA_TARGET_FLAGS); do \
31486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31487 done; \
31488 (cd $(TARGET_SUBDIR)/libffi && \
31489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31491 "RANLIB=$${RANLIB}" \
31492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31493 mostlyclean) \
31494 || exit 1
31496 @endif target-libffi
31498 .PHONY: maybe-clean-target-libffi clean-target-libffi
31499 maybe-clean-target-libffi:
31500 @if target-libffi
31501 maybe-clean-target-libffi: clean-target-libffi
31503 clean-target-libffi:
31504 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31505 r=`${PWD_COMMAND}`; export r; \
31506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31507 $(NORMAL_TARGET_EXPORTS) \
31508 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
31509 for flag in $(EXTRA_TARGET_FLAGS); do \
31510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31511 done; \
31512 (cd $(TARGET_SUBDIR)/libffi && \
31513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31515 "RANLIB=$${RANLIB}" \
31516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31517 clean) \
31518 || exit 1
31520 @endif target-libffi
31522 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
31523 maybe-distclean-target-libffi:
31524 @if target-libffi
31525 maybe-distclean-target-libffi: distclean-target-libffi
31527 distclean-target-libffi:
31528 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31529 r=`${PWD_COMMAND}`; export r; \
31530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31531 $(NORMAL_TARGET_EXPORTS) \
31532 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
31533 for flag in $(EXTRA_TARGET_FLAGS); do \
31534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31535 done; \
31536 (cd $(TARGET_SUBDIR)/libffi && \
31537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31539 "RANLIB=$${RANLIB}" \
31540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31541 distclean) \
31542 || exit 1
31544 @endif target-libffi
31546 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
31547 maybe-maintainer-clean-target-libffi:
31548 @if target-libffi
31549 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
31551 maintainer-clean-target-libffi:
31552 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31553 r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(NORMAL_TARGET_EXPORTS) \
31556 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
31557 for flag in $(EXTRA_TARGET_FLAGS); do \
31558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31559 done; \
31560 (cd $(TARGET_SUBDIR)/libffi && \
31561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31563 "RANLIB=$${RANLIB}" \
31564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31565 maintainer-clean) \
31566 || exit 1
31568 @endif target-libffi
31572 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31573 @if target-libjava
31574 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
31575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31576 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
31577 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
31578 @endif target-libjava
31582 .PHONY: configure-target-libjava maybe-configure-target-libjava
31583 maybe-configure-target-libjava:
31584 @if target-libjava
31585 maybe-configure-target-libjava: configure-target-libjava
31586 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
31587 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
31588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31589 r=`${PWD_COMMAND}`; export r; \
31590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31591 $(RAW_CXX_TARGET_EXPORTS) \
31592 echo Configuring in $(TARGET_SUBDIR)/libjava; \
31593 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
31594 case $(srcdir) in \
31595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31596 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
31597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31598 esac; \
31599 srcdiroption="--srcdir=$${topdir}/libjava"; \
31600 libsrcdir="$$s/libjava"; \
31601 rm -f no-such-file || : ; \
31602 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31603 $(TARGET_CONFIGARGS) $${srcdiroption} \
31604 || exit 1
31605 @endif target-libjava
31611 .PHONY: all-target-libjava maybe-all-target-libjava
31612 maybe-all-target-libjava:
31613 @if target-libjava
31614 TARGET-target-libjava=all
31615 maybe-all-target-libjava: all-target-libjava
31616 all-target-libjava: configure-target-libjava
31617 @r=`${PWD_COMMAND}`; export r; \
31618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31619 $(RAW_CXX_TARGET_EXPORTS) \
31620 (cd $(TARGET_SUBDIR)/libjava && \
31621 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
31622 @endif target-libjava
31628 .PHONY: check-target-libjava maybe-check-target-libjava
31629 maybe-check-target-libjava:
31630 @if target-libjava
31631 maybe-check-target-libjava: check-target-libjava
31633 check-target-libjava:
31634 @r=`${PWD_COMMAND}`; export r; \
31635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31636 $(RAW_CXX_TARGET_EXPORTS) \
31637 (cd $(TARGET_SUBDIR)/libjava && \
31638 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31640 @endif target-libjava
31642 .PHONY: install-target-libjava maybe-install-target-libjava
31643 maybe-install-target-libjava:
31644 @if target-libjava
31645 maybe-install-target-libjava: install-target-libjava
31647 install-target-libjava: installdirs
31648 @r=`${PWD_COMMAND}`; export r; \
31649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31650 $(RAW_CXX_TARGET_EXPORTS) \
31651 (cd $(TARGET_SUBDIR)/libjava && \
31652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31654 @endif target-libjava
31656 # Other targets (info, dvi, etc.)
31658 .PHONY: maybe-info-target-libjava info-target-libjava
31659 maybe-info-target-libjava:
31660 @if target-libjava
31661 maybe-info-target-libjava: info-target-libjava
31663 info-target-libjava: \
31664 configure-target-libjava
31665 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31666 r=`${PWD_COMMAND}`; export r; \
31667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31668 $(RAW_CXX_TARGET_EXPORTS) \
31669 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
31670 for flag in $(EXTRA_TARGET_FLAGS); do \
31671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31672 done; \
31673 (cd $(TARGET_SUBDIR)/libjava && \
31674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31676 "RANLIB=$${RANLIB}" \
31677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31678 info) \
31679 || exit 1
31681 @endif target-libjava
31683 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
31684 maybe-dvi-target-libjava:
31685 @if target-libjava
31686 maybe-dvi-target-libjava: dvi-target-libjava
31688 dvi-target-libjava: \
31689 configure-target-libjava
31690 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31691 r=`${PWD_COMMAND}`; export r; \
31692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31693 $(RAW_CXX_TARGET_EXPORTS) \
31694 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
31695 for flag in $(EXTRA_TARGET_FLAGS); do \
31696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31697 done; \
31698 (cd $(TARGET_SUBDIR)/libjava && \
31699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31701 "RANLIB=$${RANLIB}" \
31702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31703 dvi) \
31704 || exit 1
31706 @endif target-libjava
31708 .PHONY: maybe-html-target-libjava html-target-libjava
31709 maybe-html-target-libjava:
31710 @if target-libjava
31711 maybe-html-target-libjava: html-target-libjava
31713 html-target-libjava: \
31714 configure-target-libjava
31715 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(RAW_CXX_TARGET_EXPORTS) \
31719 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
31720 for flag in $(EXTRA_TARGET_FLAGS); do \
31721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31722 done; \
31723 (cd $(TARGET_SUBDIR)/libjava && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31728 html) \
31729 || exit 1
31731 @endif target-libjava
31733 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
31734 maybe-TAGS-target-libjava:
31735 @if target-libjava
31736 maybe-TAGS-target-libjava: TAGS-target-libjava
31738 TAGS-target-libjava: \
31739 configure-target-libjava
31740 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31741 r=`${PWD_COMMAND}`; export r; \
31742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31743 $(RAW_CXX_TARGET_EXPORTS) \
31744 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
31745 for flag in $(EXTRA_TARGET_FLAGS); do \
31746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31747 done; \
31748 (cd $(TARGET_SUBDIR)/libjava && \
31749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31751 "RANLIB=$${RANLIB}" \
31752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31753 TAGS) \
31754 || exit 1
31756 @endif target-libjava
31758 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
31759 maybe-install-info-target-libjava:
31760 @if target-libjava
31761 maybe-install-info-target-libjava: install-info-target-libjava
31763 install-info-target-libjava: \
31764 configure-target-libjava \
31765 info-target-libjava
31766 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31767 r=`${PWD_COMMAND}`; export r; \
31768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31769 $(RAW_CXX_TARGET_EXPORTS) \
31770 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
31771 for flag in $(EXTRA_TARGET_FLAGS); do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 (cd $(TARGET_SUBDIR)/libjava && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31777 "RANLIB=$${RANLIB}" \
31778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31779 install-info) \
31780 || exit 1
31782 @endif target-libjava
31784 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
31785 maybe-installcheck-target-libjava:
31786 @if target-libjava
31787 maybe-installcheck-target-libjava: installcheck-target-libjava
31789 installcheck-target-libjava: \
31790 configure-target-libjava
31791 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31792 r=`${PWD_COMMAND}`; export r; \
31793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31794 $(RAW_CXX_TARGET_EXPORTS) \
31795 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
31796 for flag in $(EXTRA_TARGET_FLAGS); do \
31797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31798 done; \
31799 (cd $(TARGET_SUBDIR)/libjava && \
31800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31802 "RANLIB=$${RANLIB}" \
31803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31804 installcheck) \
31805 || exit 1
31807 @endif target-libjava
31809 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
31810 maybe-mostlyclean-target-libjava:
31811 @if target-libjava
31812 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
31814 mostlyclean-target-libjava:
31815 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31816 r=`${PWD_COMMAND}`; export r; \
31817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31818 $(RAW_CXX_TARGET_EXPORTS) \
31819 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
31820 for flag in $(EXTRA_TARGET_FLAGS); do \
31821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31822 done; \
31823 (cd $(TARGET_SUBDIR)/libjava && \
31824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31826 "RANLIB=$${RANLIB}" \
31827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31828 mostlyclean) \
31829 || exit 1
31831 @endif target-libjava
31833 .PHONY: maybe-clean-target-libjava clean-target-libjava
31834 maybe-clean-target-libjava:
31835 @if target-libjava
31836 maybe-clean-target-libjava: clean-target-libjava
31838 clean-target-libjava:
31839 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31840 r=`${PWD_COMMAND}`; export r; \
31841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31842 $(RAW_CXX_TARGET_EXPORTS) \
31843 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
31844 for flag in $(EXTRA_TARGET_FLAGS); do \
31845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31846 done; \
31847 (cd $(TARGET_SUBDIR)/libjava && \
31848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31850 "RANLIB=$${RANLIB}" \
31851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31852 clean) \
31853 || exit 1
31855 @endif target-libjava
31857 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
31858 maybe-distclean-target-libjava:
31859 @if target-libjava
31860 maybe-distclean-target-libjava: distclean-target-libjava
31862 distclean-target-libjava:
31863 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31864 r=`${PWD_COMMAND}`; export r; \
31865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31866 $(RAW_CXX_TARGET_EXPORTS) \
31867 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
31868 for flag in $(EXTRA_TARGET_FLAGS); do \
31869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31870 done; \
31871 (cd $(TARGET_SUBDIR)/libjava && \
31872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31874 "RANLIB=$${RANLIB}" \
31875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31876 distclean) \
31877 || exit 1
31879 @endif target-libjava
31881 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
31882 maybe-maintainer-clean-target-libjava:
31883 @if target-libjava
31884 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
31886 maintainer-clean-target-libjava:
31887 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31888 r=`${PWD_COMMAND}`; export r; \
31889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31890 $(RAW_CXX_TARGET_EXPORTS) \
31891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
31892 for flag in $(EXTRA_TARGET_FLAGS); do \
31893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31894 done; \
31895 (cd $(TARGET_SUBDIR)/libjava && \
31896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31898 "RANLIB=$${RANLIB}" \
31899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31900 maintainer-clean) \
31901 || exit 1
31903 @endif target-libjava
31907 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31908 @if target-zlib
31909 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
31910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31911 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
31912 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
31913 @endif target-zlib
31917 .PHONY: configure-target-zlib maybe-configure-target-zlib
31918 maybe-configure-target-zlib:
31919 @if target-zlib
31920 maybe-configure-target-zlib: configure-target-zlib
31921 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
31922 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
31923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31924 r=`${PWD_COMMAND}`; export r; \
31925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31926 $(NORMAL_TARGET_EXPORTS) \
31927 echo Configuring in $(TARGET_SUBDIR)/zlib; \
31928 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
31929 case $(srcdir) in \
31930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31931 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
31932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31933 esac; \
31934 srcdiroption="--srcdir=$${topdir}/zlib"; \
31935 libsrcdir="$$s/zlib"; \
31936 rm -f no-such-file || : ; \
31937 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31938 $(TARGET_CONFIGARGS) $${srcdiroption} \
31939 || exit 1
31940 @endif target-zlib
31946 .PHONY: all-target-zlib maybe-all-target-zlib
31947 maybe-all-target-zlib:
31948 @if target-zlib
31949 TARGET-target-zlib=all
31950 maybe-all-target-zlib: all-target-zlib
31951 all-target-zlib: configure-target-zlib
31952 @r=`${PWD_COMMAND}`; export r; \
31953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31954 $(NORMAL_TARGET_EXPORTS) \
31955 (cd $(TARGET_SUBDIR)/zlib && \
31956 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
31957 @endif target-zlib
31963 .PHONY: check-target-zlib maybe-check-target-zlib
31964 maybe-check-target-zlib:
31965 @if target-zlib
31966 maybe-check-target-zlib: check-target-zlib
31968 check-target-zlib:
31969 @r=`${PWD_COMMAND}`; export r; \
31970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31971 $(NORMAL_TARGET_EXPORTS) \
31972 (cd $(TARGET_SUBDIR)/zlib && \
31973 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31975 @endif target-zlib
31977 .PHONY: install-target-zlib maybe-install-target-zlib
31978 maybe-install-target-zlib:
31979 @if target-zlib
31980 maybe-install-target-zlib: install-target-zlib
31982 install-target-zlib: installdirs
31983 @r=`${PWD_COMMAND}`; export r; \
31984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31985 $(NORMAL_TARGET_EXPORTS) \
31986 (cd $(TARGET_SUBDIR)/zlib && \
31987 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31989 @endif target-zlib
31991 # Other targets (info, dvi, etc.)
31993 .PHONY: maybe-info-target-zlib info-target-zlib
31994 maybe-info-target-zlib:
31995 @if target-zlib
31996 maybe-info-target-zlib: info-target-zlib
31998 info-target-zlib: \
31999 configure-target-zlib
32000 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32001 r=`${PWD_COMMAND}`; export r; \
32002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32003 $(NORMAL_TARGET_EXPORTS) \
32004 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
32005 for flag in $(EXTRA_TARGET_FLAGS); do \
32006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32007 done; \
32008 (cd $(TARGET_SUBDIR)/zlib && \
32009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32011 "RANLIB=$${RANLIB}" \
32012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32013 info) \
32014 || exit 1
32016 @endif target-zlib
32018 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
32019 maybe-dvi-target-zlib:
32020 @if target-zlib
32021 maybe-dvi-target-zlib: dvi-target-zlib
32023 dvi-target-zlib: \
32024 configure-target-zlib
32025 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32026 r=`${PWD_COMMAND}`; export r; \
32027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32028 $(NORMAL_TARGET_EXPORTS) \
32029 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
32030 for flag in $(EXTRA_TARGET_FLAGS); do \
32031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32032 done; \
32033 (cd $(TARGET_SUBDIR)/zlib && \
32034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32036 "RANLIB=$${RANLIB}" \
32037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32038 dvi) \
32039 || exit 1
32041 @endif target-zlib
32043 .PHONY: maybe-html-target-zlib html-target-zlib
32044 maybe-html-target-zlib:
32045 @if target-zlib
32046 maybe-html-target-zlib: html-target-zlib
32048 html-target-zlib: \
32049 configure-target-zlib
32050 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32051 r=`${PWD_COMMAND}`; export r; \
32052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32053 $(NORMAL_TARGET_EXPORTS) \
32054 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
32055 for flag in $(EXTRA_TARGET_FLAGS); do \
32056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32057 done; \
32058 (cd $(TARGET_SUBDIR)/zlib && \
32059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32061 "RANLIB=$${RANLIB}" \
32062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32063 html) \
32064 || exit 1
32066 @endif target-zlib
32068 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
32069 maybe-TAGS-target-zlib:
32070 @if target-zlib
32071 maybe-TAGS-target-zlib: TAGS-target-zlib
32073 TAGS-target-zlib: \
32074 configure-target-zlib
32075 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32076 r=`${PWD_COMMAND}`; export r; \
32077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32078 $(NORMAL_TARGET_EXPORTS) \
32079 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
32080 for flag in $(EXTRA_TARGET_FLAGS); do \
32081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32082 done; \
32083 (cd $(TARGET_SUBDIR)/zlib && \
32084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32086 "RANLIB=$${RANLIB}" \
32087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32088 TAGS) \
32089 || exit 1
32091 @endif target-zlib
32093 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
32094 maybe-install-info-target-zlib:
32095 @if target-zlib
32096 maybe-install-info-target-zlib: install-info-target-zlib
32098 install-info-target-zlib: \
32099 configure-target-zlib \
32100 info-target-zlib
32101 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32102 r=`${PWD_COMMAND}`; export r; \
32103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32104 $(NORMAL_TARGET_EXPORTS) \
32105 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
32106 for flag in $(EXTRA_TARGET_FLAGS); do \
32107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32108 done; \
32109 (cd $(TARGET_SUBDIR)/zlib && \
32110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32112 "RANLIB=$${RANLIB}" \
32113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32114 install-info) \
32115 || exit 1
32117 @endif target-zlib
32119 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
32120 maybe-installcheck-target-zlib:
32121 @if target-zlib
32122 maybe-installcheck-target-zlib: installcheck-target-zlib
32124 installcheck-target-zlib: \
32125 configure-target-zlib
32126 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32127 r=`${PWD_COMMAND}`; export r; \
32128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32129 $(NORMAL_TARGET_EXPORTS) \
32130 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
32131 for flag in $(EXTRA_TARGET_FLAGS); do \
32132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32133 done; \
32134 (cd $(TARGET_SUBDIR)/zlib && \
32135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32137 "RANLIB=$${RANLIB}" \
32138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32139 installcheck) \
32140 || exit 1
32142 @endif target-zlib
32144 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
32145 maybe-mostlyclean-target-zlib:
32146 @if target-zlib
32147 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
32149 mostlyclean-target-zlib:
32150 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32151 r=`${PWD_COMMAND}`; export r; \
32152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32153 $(NORMAL_TARGET_EXPORTS) \
32154 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
32155 for flag in $(EXTRA_TARGET_FLAGS); do \
32156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32157 done; \
32158 (cd $(TARGET_SUBDIR)/zlib && \
32159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32161 "RANLIB=$${RANLIB}" \
32162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32163 mostlyclean) \
32164 || exit 1
32166 @endif target-zlib
32168 .PHONY: maybe-clean-target-zlib clean-target-zlib
32169 maybe-clean-target-zlib:
32170 @if target-zlib
32171 maybe-clean-target-zlib: clean-target-zlib
32173 clean-target-zlib:
32174 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32175 r=`${PWD_COMMAND}`; export r; \
32176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32177 $(NORMAL_TARGET_EXPORTS) \
32178 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
32179 for flag in $(EXTRA_TARGET_FLAGS); do \
32180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32181 done; \
32182 (cd $(TARGET_SUBDIR)/zlib && \
32183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32185 "RANLIB=$${RANLIB}" \
32186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32187 clean) \
32188 || exit 1
32190 @endif target-zlib
32192 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
32193 maybe-distclean-target-zlib:
32194 @if target-zlib
32195 maybe-distclean-target-zlib: distclean-target-zlib
32197 distclean-target-zlib:
32198 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32199 r=`${PWD_COMMAND}`; export r; \
32200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32201 $(NORMAL_TARGET_EXPORTS) \
32202 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
32203 for flag in $(EXTRA_TARGET_FLAGS); do \
32204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32205 done; \
32206 (cd $(TARGET_SUBDIR)/zlib && \
32207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32209 "RANLIB=$${RANLIB}" \
32210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32211 distclean) \
32212 || exit 1
32214 @endif target-zlib
32216 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
32217 maybe-maintainer-clean-target-zlib:
32218 @if target-zlib
32219 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
32221 maintainer-clean-target-zlib:
32222 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32223 r=`${PWD_COMMAND}`; export r; \
32224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32225 $(NORMAL_TARGET_EXPORTS) \
32226 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
32227 for flag in $(EXTRA_TARGET_FLAGS); do \
32228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32229 done; \
32230 (cd $(TARGET_SUBDIR)/zlib && \
32231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32233 "RANLIB=$${RANLIB}" \
32234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32235 maintainer-clean) \
32236 || exit 1
32238 @endif target-zlib
32242 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32243 @if target-boehm-gc
32244 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
32245 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32246 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
32247 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
32248 @endif target-boehm-gc
32252 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
32253 maybe-configure-target-boehm-gc:
32254 @if target-boehm-gc
32255 maybe-configure-target-boehm-gc: configure-target-boehm-gc
32256 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
32257 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
32258 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32259 r=`${PWD_COMMAND}`; export r; \
32260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32261 $(NORMAL_TARGET_EXPORTS) \
32262 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
32263 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
32264 case $(srcdir) in \
32265 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32266 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
32267 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32268 esac; \
32269 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
32270 libsrcdir="$$s/boehm-gc"; \
32271 rm -f no-such-file || : ; \
32272 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32273 $(TARGET_CONFIGARGS) $${srcdiroption} \
32274 || exit 1
32275 @endif target-boehm-gc
32281 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
32282 maybe-all-target-boehm-gc:
32283 @if target-boehm-gc
32284 TARGET-target-boehm-gc=all
32285 maybe-all-target-boehm-gc: all-target-boehm-gc
32286 all-target-boehm-gc: configure-target-boehm-gc
32287 @r=`${PWD_COMMAND}`; export r; \
32288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32289 $(NORMAL_TARGET_EXPORTS) \
32290 (cd $(TARGET_SUBDIR)/boehm-gc && \
32291 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
32292 @endif target-boehm-gc
32298 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
32299 maybe-check-target-boehm-gc:
32300 @if target-boehm-gc
32301 maybe-check-target-boehm-gc: check-target-boehm-gc
32303 check-target-boehm-gc:
32304 @r=`${PWD_COMMAND}`; export r; \
32305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32306 $(NORMAL_TARGET_EXPORTS) \
32307 (cd $(TARGET_SUBDIR)/boehm-gc && \
32308 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32310 @endif target-boehm-gc
32312 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
32313 maybe-install-target-boehm-gc:
32314 @if target-boehm-gc
32315 maybe-install-target-boehm-gc: install-target-boehm-gc
32317 install-target-boehm-gc: installdirs
32318 @r=`${PWD_COMMAND}`; export r; \
32319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32320 $(NORMAL_TARGET_EXPORTS) \
32321 (cd $(TARGET_SUBDIR)/boehm-gc && \
32322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32324 @endif target-boehm-gc
32326 # Other targets (info, dvi, etc.)
32328 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
32329 maybe-info-target-boehm-gc:
32330 @if target-boehm-gc
32331 maybe-info-target-boehm-gc: info-target-boehm-gc
32333 info-target-boehm-gc: \
32334 configure-target-boehm-gc
32335 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32336 r=`${PWD_COMMAND}`; export r; \
32337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32338 $(NORMAL_TARGET_EXPORTS) \
32339 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
32340 for flag in $(EXTRA_TARGET_FLAGS); do \
32341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32342 done; \
32343 (cd $(TARGET_SUBDIR)/boehm-gc && \
32344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32346 "RANLIB=$${RANLIB}" \
32347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32348 info) \
32349 || exit 1
32351 @endif target-boehm-gc
32353 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
32354 maybe-dvi-target-boehm-gc:
32355 @if target-boehm-gc
32356 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
32358 dvi-target-boehm-gc: \
32359 configure-target-boehm-gc
32360 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32361 r=`${PWD_COMMAND}`; export r; \
32362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32363 $(NORMAL_TARGET_EXPORTS) \
32364 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
32365 for flag in $(EXTRA_TARGET_FLAGS); do \
32366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32367 done; \
32368 (cd $(TARGET_SUBDIR)/boehm-gc && \
32369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32371 "RANLIB=$${RANLIB}" \
32372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32373 dvi) \
32374 || exit 1
32376 @endif target-boehm-gc
32378 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
32379 maybe-html-target-boehm-gc:
32380 @if target-boehm-gc
32381 maybe-html-target-boehm-gc: html-target-boehm-gc
32383 html-target-boehm-gc: \
32384 configure-target-boehm-gc
32385 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32386 r=`${PWD_COMMAND}`; export r; \
32387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32388 $(NORMAL_TARGET_EXPORTS) \
32389 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
32390 for flag in $(EXTRA_TARGET_FLAGS); do \
32391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32392 done; \
32393 (cd $(TARGET_SUBDIR)/boehm-gc && \
32394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32396 "RANLIB=$${RANLIB}" \
32397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32398 html) \
32399 || exit 1
32401 @endif target-boehm-gc
32403 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
32404 maybe-TAGS-target-boehm-gc:
32405 @if target-boehm-gc
32406 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
32408 TAGS-target-boehm-gc: \
32409 configure-target-boehm-gc
32410 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32411 r=`${PWD_COMMAND}`; export r; \
32412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32413 $(NORMAL_TARGET_EXPORTS) \
32414 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
32415 for flag in $(EXTRA_TARGET_FLAGS); do \
32416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32417 done; \
32418 (cd $(TARGET_SUBDIR)/boehm-gc && \
32419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32421 "RANLIB=$${RANLIB}" \
32422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32423 TAGS) \
32424 || exit 1
32426 @endif target-boehm-gc
32428 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
32429 maybe-install-info-target-boehm-gc:
32430 @if target-boehm-gc
32431 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
32433 install-info-target-boehm-gc: \
32434 configure-target-boehm-gc \
32435 info-target-boehm-gc
32436 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32437 r=`${PWD_COMMAND}`; export r; \
32438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32439 $(NORMAL_TARGET_EXPORTS) \
32440 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
32441 for flag in $(EXTRA_TARGET_FLAGS); do \
32442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32443 done; \
32444 (cd $(TARGET_SUBDIR)/boehm-gc && \
32445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32447 "RANLIB=$${RANLIB}" \
32448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32449 install-info) \
32450 || exit 1
32452 @endif target-boehm-gc
32454 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
32455 maybe-installcheck-target-boehm-gc:
32456 @if target-boehm-gc
32457 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
32459 installcheck-target-boehm-gc: \
32460 configure-target-boehm-gc
32461 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32462 r=`${PWD_COMMAND}`; export r; \
32463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32464 $(NORMAL_TARGET_EXPORTS) \
32465 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
32466 for flag in $(EXTRA_TARGET_FLAGS); do \
32467 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32468 done; \
32469 (cd $(TARGET_SUBDIR)/boehm-gc && \
32470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32472 "RANLIB=$${RANLIB}" \
32473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32474 installcheck) \
32475 || exit 1
32477 @endif target-boehm-gc
32479 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
32480 maybe-mostlyclean-target-boehm-gc:
32481 @if target-boehm-gc
32482 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
32484 mostlyclean-target-boehm-gc:
32485 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32486 r=`${PWD_COMMAND}`; export r; \
32487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32488 $(NORMAL_TARGET_EXPORTS) \
32489 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32490 for flag in $(EXTRA_TARGET_FLAGS); do \
32491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32492 done; \
32493 (cd $(TARGET_SUBDIR)/boehm-gc && \
32494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32496 "RANLIB=$${RANLIB}" \
32497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32498 mostlyclean) \
32499 || exit 1
32501 @endif target-boehm-gc
32503 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
32504 maybe-clean-target-boehm-gc:
32505 @if target-boehm-gc
32506 maybe-clean-target-boehm-gc: clean-target-boehm-gc
32508 clean-target-boehm-gc:
32509 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32510 r=`${PWD_COMMAND}`; export r; \
32511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32512 $(NORMAL_TARGET_EXPORTS) \
32513 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32514 for flag in $(EXTRA_TARGET_FLAGS); do \
32515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32516 done; \
32517 (cd $(TARGET_SUBDIR)/boehm-gc && \
32518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32520 "RANLIB=$${RANLIB}" \
32521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32522 clean) \
32523 || exit 1
32525 @endif target-boehm-gc
32527 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
32528 maybe-distclean-target-boehm-gc:
32529 @if target-boehm-gc
32530 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
32532 distclean-target-boehm-gc:
32533 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32534 r=`${PWD_COMMAND}`; export r; \
32535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32536 $(NORMAL_TARGET_EXPORTS) \
32537 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32538 for flag in $(EXTRA_TARGET_FLAGS); do \
32539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32540 done; \
32541 (cd $(TARGET_SUBDIR)/boehm-gc && \
32542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32544 "RANLIB=$${RANLIB}" \
32545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32546 distclean) \
32547 || exit 1
32549 @endif target-boehm-gc
32551 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
32552 maybe-maintainer-clean-target-boehm-gc:
32553 @if target-boehm-gc
32554 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
32556 maintainer-clean-target-boehm-gc:
32557 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32558 r=`${PWD_COMMAND}`; export r; \
32559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32560 $(NORMAL_TARGET_EXPORTS) \
32561 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32562 for flag in $(EXTRA_TARGET_FLAGS); do \
32563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32564 done; \
32565 (cd $(TARGET_SUBDIR)/boehm-gc && \
32566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32568 "RANLIB=$${RANLIB}" \
32569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32570 maintainer-clean) \
32571 || exit 1
32573 @endif target-boehm-gc
32577 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32578 @if target-qthreads
32579 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
32580 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32581 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
32582 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
32583 @endif target-qthreads
32587 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
32588 maybe-configure-target-qthreads:
32589 @if target-qthreads
32590 maybe-configure-target-qthreads: configure-target-qthreads
32591 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
32592 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
32593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32594 r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 $(NORMAL_TARGET_EXPORTS) \
32597 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
32598 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
32599 case $(srcdir) in \
32600 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32601 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
32602 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32603 esac; \
32604 srcdiroption="--srcdir=$${topdir}/qthreads"; \
32605 libsrcdir="$$s/qthreads"; \
32606 rm -f no-such-file || : ; \
32607 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32608 $(TARGET_CONFIGARGS) $${srcdiroption} \
32609 || exit 1
32610 @endif target-qthreads
32616 .PHONY: all-target-qthreads maybe-all-target-qthreads
32617 maybe-all-target-qthreads:
32618 @if target-qthreads
32619 TARGET-target-qthreads=all
32620 maybe-all-target-qthreads: all-target-qthreads
32621 all-target-qthreads: configure-target-qthreads
32622 @r=`${PWD_COMMAND}`; export r; \
32623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32624 $(NORMAL_TARGET_EXPORTS) \
32625 (cd $(TARGET_SUBDIR)/qthreads && \
32626 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
32627 @endif target-qthreads
32633 .PHONY: check-target-qthreads maybe-check-target-qthreads
32634 maybe-check-target-qthreads:
32635 @if target-qthreads
32636 maybe-check-target-qthreads: check-target-qthreads
32638 check-target-qthreads:
32639 @r=`${PWD_COMMAND}`; export r; \
32640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32641 $(NORMAL_TARGET_EXPORTS) \
32642 (cd $(TARGET_SUBDIR)/qthreads && \
32643 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32645 @endif target-qthreads
32647 .PHONY: install-target-qthreads maybe-install-target-qthreads
32648 maybe-install-target-qthreads:
32649 @if target-qthreads
32650 maybe-install-target-qthreads: install-target-qthreads
32652 install-target-qthreads: installdirs
32653 @r=`${PWD_COMMAND}`; export r; \
32654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32655 $(NORMAL_TARGET_EXPORTS) \
32656 (cd $(TARGET_SUBDIR)/qthreads && \
32657 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32659 @endif target-qthreads
32661 # Other targets (info, dvi, etc.)
32663 .PHONY: maybe-info-target-qthreads info-target-qthreads
32664 maybe-info-target-qthreads:
32665 @if target-qthreads
32666 maybe-info-target-qthreads: info-target-qthreads
32668 info-target-qthreads: \
32669 configure-target-qthreads
32670 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32671 r=`${PWD_COMMAND}`; export r; \
32672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32673 $(NORMAL_TARGET_EXPORTS) \
32674 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
32675 for flag in $(EXTRA_TARGET_FLAGS); do \
32676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32677 done; \
32678 (cd $(TARGET_SUBDIR)/qthreads && \
32679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32681 "RANLIB=$${RANLIB}" \
32682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32683 info) \
32684 || exit 1
32686 @endif target-qthreads
32688 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
32689 maybe-dvi-target-qthreads:
32690 @if target-qthreads
32691 maybe-dvi-target-qthreads: dvi-target-qthreads
32693 dvi-target-qthreads: \
32694 configure-target-qthreads
32695 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32696 r=`${PWD_COMMAND}`; export r; \
32697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32698 $(NORMAL_TARGET_EXPORTS) \
32699 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
32700 for flag in $(EXTRA_TARGET_FLAGS); do \
32701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32702 done; \
32703 (cd $(TARGET_SUBDIR)/qthreads && \
32704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32706 "RANLIB=$${RANLIB}" \
32707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32708 dvi) \
32709 || exit 1
32711 @endif target-qthreads
32713 .PHONY: maybe-html-target-qthreads html-target-qthreads
32714 maybe-html-target-qthreads:
32715 @if target-qthreads
32716 maybe-html-target-qthreads: html-target-qthreads
32718 html-target-qthreads: \
32719 configure-target-qthreads
32720 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32721 r=`${PWD_COMMAND}`; export r; \
32722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32723 $(NORMAL_TARGET_EXPORTS) \
32724 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
32725 for flag in $(EXTRA_TARGET_FLAGS); do \
32726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32727 done; \
32728 (cd $(TARGET_SUBDIR)/qthreads && \
32729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32731 "RANLIB=$${RANLIB}" \
32732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32733 html) \
32734 || exit 1
32736 @endif target-qthreads
32738 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
32739 maybe-TAGS-target-qthreads:
32740 @if target-qthreads
32741 maybe-TAGS-target-qthreads: TAGS-target-qthreads
32743 TAGS-target-qthreads: \
32744 configure-target-qthreads
32745 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32746 r=`${PWD_COMMAND}`; export r; \
32747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32748 $(NORMAL_TARGET_EXPORTS) \
32749 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
32750 for flag in $(EXTRA_TARGET_FLAGS); do \
32751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32752 done; \
32753 (cd $(TARGET_SUBDIR)/qthreads && \
32754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32756 "RANLIB=$${RANLIB}" \
32757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32758 TAGS) \
32759 || exit 1
32761 @endif target-qthreads
32763 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
32764 maybe-install-info-target-qthreads:
32765 @if target-qthreads
32766 maybe-install-info-target-qthreads: install-info-target-qthreads
32768 install-info-target-qthreads: \
32769 configure-target-qthreads \
32770 info-target-qthreads
32771 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32772 r=`${PWD_COMMAND}`; export r; \
32773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32774 $(NORMAL_TARGET_EXPORTS) \
32775 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
32776 for flag in $(EXTRA_TARGET_FLAGS); do \
32777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32778 done; \
32779 (cd $(TARGET_SUBDIR)/qthreads && \
32780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32782 "RANLIB=$${RANLIB}" \
32783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32784 install-info) \
32785 || exit 1
32787 @endif target-qthreads
32789 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
32790 maybe-installcheck-target-qthreads:
32791 @if target-qthreads
32792 maybe-installcheck-target-qthreads: installcheck-target-qthreads
32794 installcheck-target-qthreads: \
32795 configure-target-qthreads
32796 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32797 r=`${PWD_COMMAND}`; export r; \
32798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32799 $(NORMAL_TARGET_EXPORTS) \
32800 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
32801 for flag in $(EXTRA_TARGET_FLAGS); do \
32802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32803 done; \
32804 (cd $(TARGET_SUBDIR)/qthreads && \
32805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32807 "RANLIB=$${RANLIB}" \
32808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32809 installcheck) \
32810 || exit 1
32812 @endif target-qthreads
32814 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
32815 maybe-mostlyclean-target-qthreads:
32816 @if target-qthreads
32817 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
32819 mostlyclean-target-qthreads:
32820 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32821 r=`${PWD_COMMAND}`; export r; \
32822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32823 $(NORMAL_TARGET_EXPORTS) \
32824 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
32825 for flag in $(EXTRA_TARGET_FLAGS); do \
32826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32827 done; \
32828 (cd $(TARGET_SUBDIR)/qthreads && \
32829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32831 "RANLIB=$${RANLIB}" \
32832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32833 mostlyclean) \
32834 || exit 1
32836 @endif target-qthreads
32838 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
32839 maybe-clean-target-qthreads:
32840 @if target-qthreads
32841 maybe-clean-target-qthreads: clean-target-qthreads
32843 clean-target-qthreads:
32844 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32845 r=`${PWD_COMMAND}`; export r; \
32846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32847 $(NORMAL_TARGET_EXPORTS) \
32848 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
32849 for flag in $(EXTRA_TARGET_FLAGS); do \
32850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32851 done; \
32852 (cd $(TARGET_SUBDIR)/qthreads && \
32853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32855 "RANLIB=$${RANLIB}" \
32856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32857 clean) \
32858 || exit 1
32860 @endif target-qthreads
32862 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
32863 maybe-distclean-target-qthreads:
32864 @if target-qthreads
32865 maybe-distclean-target-qthreads: distclean-target-qthreads
32867 distclean-target-qthreads:
32868 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32869 r=`${PWD_COMMAND}`; export r; \
32870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32871 $(NORMAL_TARGET_EXPORTS) \
32872 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
32873 for flag in $(EXTRA_TARGET_FLAGS); do \
32874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32875 done; \
32876 (cd $(TARGET_SUBDIR)/qthreads && \
32877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32879 "RANLIB=$${RANLIB}" \
32880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32881 distclean) \
32882 || exit 1
32884 @endif target-qthreads
32886 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
32887 maybe-maintainer-clean-target-qthreads:
32888 @if target-qthreads
32889 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
32891 maintainer-clean-target-qthreads:
32892 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32893 r=`${PWD_COMMAND}`; export r; \
32894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32895 $(NORMAL_TARGET_EXPORTS) \
32896 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
32897 for flag in $(EXTRA_TARGET_FLAGS); do \
32898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32899 done; \
32900 (cd $(TARGET_SUBDIR)/qthreads && \
32901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32903 "RANLIB=$${RANLIB}" \
32904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32905 maintainer-clean) \
32906 || exit 1
32908 @endif target-qthreads
32912 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32913 @if target-rda
32914 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
32915 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32916 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
32917 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
32918 @endif target-rda
32922 .PHONY: configure-target-rda maybe-configure-target-rda
32923 maybe-configure-target-rda:
32924 @if target-rda
32925 maybe-configure-target-rda: configure-target-rda
32926 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
32927 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
32928 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32929 r=`${PWD_COMMAND}`; export r; \
32930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32931 $(NORMAL_TARGET_EXPORTS) \
32932 echo Configuring in $(TARGET_SUBDIR)/rda; \
32933 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
32934 case $(srcdir) in \
32935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32936 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
32937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32938 esac; \
32939 srcdiroption="--srcdir=$${topdir}/rda"; \
32940 libsrcdir="$$s/rda"; \
32941 rm -f no-such-file || : ; \
32942 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32943 $(TARGET_CONFIGARGS) $${srcdiroption} \
32944 || exit 1
32945 @endif target-rda
32951 .PHONY: all-target-rda maybe-all-target-rda
32952 maybe-all-target-rda:
32953 @if target-rda
32954 TARGET-target-rda=all
32955 maybe-all-target-rda: all-target-rda
32956 all-target-rda: configure-target-rda
32957 @r=`${PWD_COMMAND}`; export r; \
32958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32959 $(NORMAL_TARGET_EXPORTS) \
32960 (cd $(TARGET_SUBDIR)/rda && \
32961 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
32962 @endif target-rda
32968 .PHONY: check-target-rda maybe-check-target-rda
32969 maybe-check-target-rda:
32970 @if target-rda
32971 maybe-check-target-rda: check-target-rda
32973 check-target-rda:
32974 @r=`${PWD_COMMAND}`; export r; \
32975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32976 $(NORMAL_TARGET_EXPORTS) \
32977 (cd $(TARGET_SUBDIR)/rda && \
32978 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32980 @endif target-rda
32982 .PHONY: install-target-rda maybe-install-target-rda
32983 maybe-install-target-rda:
32984 @if target-rda
32985 maybe-install-target-rda: install-target-rda
32987 install-target-rda: installdirs
32988 @r=`${PWD_COMMAND}`; export r; \
32989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32990 $(NORMAL_TARGET_EXPORTS) \
32991 (cd $(TARGET_SUBDIR)/rda && \
32992 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32994 @endif target-rda
32996 # Other targets (info, dvi, etc.)
32998 .PHONY: maybe-info-target-rda info-target-rda
32999 maybe-info-target-rda:
33000 @if target-rda
33001 maybe-info-target-rda: info-target-rda
33003 info-target-rda: \
33004 configure-target-rda
33005 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33006 r=`${PWD_COMMAND}`; export r; \
33007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33008 $(NORMAL_TARGET_EXPORTS) \
33009 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
33010 for flag in $(EXTRA_TARGET_FLAGS); do \
33011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33012 done; \
33013 (cd $(TARGET_SUBDIR)/rda && \
33014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33016 "RANLIB=$${RANLIB}" \
33017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33018 info) \
33019 || exit 1
33021 @endif target-rda
33023 .PHONY: maybe-dvi-target-rda dvi-target-rda
33024 maybe-dvi-target-rda:
33025 @if target-rda
33026 maybe-dvi-target-rda: dvi-target-rda
33028 dvi-target-rda: \
33029 configure-target-rda
33030 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33031 r=`${PWD_COMMAND}`; export r; \
33032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33033 $(NORMAL_TARGET_EXPORTS) \
33034 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
33035 for flag in $(EXTRA_TARGET_FLAGS); do \
33036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33037 done; \
33038 (cd $(TARGET_SUBDIR)/rda && \
33039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33041 "RANLIB=$${RANLIB}" \
33042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33043 dvi) \
33044 || exit 1
33046 @endif target-rda
33048 .PHONY: maybe-html-target-rda html-target-rda
33049 maybe-html-target-rda:
33050 @if target-rda
33051 maybe-html-target-rda: html-target-rda
33053 html-target-rda: \
33054 configure-target-rda
33055 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33056 r=`${PWD_COMMAND}`; export r; \
33057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33058 $(NORMAL_TARGET_EXPORTS) \
33059 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
33060 for flag in $(EXTRA_TARGET_FLAGS); do \
33061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33062 done; \
33063 (cd $(TARGET_SUBDIR)/rda && \
33064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33066 "RANLIB=$${RANLIB}" \
33067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33068 html) \
33069 || exit 1
33071 @endif target-rda
33073 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
33074 maybe-TAGS-target-rda:
33075 @if target-rda
33076 maybe-TAGS-target-rda: TAGS-target-rda
33078 TAGS-target-rda: \
33079 configure-target-rda
33080 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33081 r=`${PWD_COMMAND}`; export r; \
33082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33083 $(NORMAL_TARGET_EXPORTS) \
33084 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
33085 for flag in $(EXTRA_TARGET_FLAGS); do \
33086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33087 done; \
33088 (cd $(TARGET_SUBDIR)/rda && \
33089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33091 "RANLIB=$${RANLIB}" \
33092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33093 TAGS) \
33094 || exit 1
33096 @endif target-rda
33098 .PHONY: maybe-install-info-target-rda install-info-target-rda
33099 maybe-install-info-target-rda:
33100 @if target-rda
33101 maybe-install-info-target-rda: install-info-target-rda
33103 install-info-target-rda: \
33104 configure-target-rda \
33105 info-target-rda
33106 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33107 r=`${PWD_COMMAND}`; export r; \
33108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33109 $(NORMAL_TARGET_EXPORTS) \
33110 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
33111 for flag in $(EXTRA_TARGET_FLAGS); do \
33112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33113 done; \
33114 (cd $(TARGET_SUBDIR)/rda && \
33115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33117 "RANLIB=$${RANLIB}" \
33118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33119 install-info) \
33120 || exit 1
33122 @endif target-rda
33124 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
33125 maybe-installcheck-target-rda:
33126 @if target-rda
33127 maybe-installcheck-target-rda: installcheck-target-rda
33129 installcheck-target-rda: \
33130 configure-target-rda
33131 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33132 r=`${PWD_COMMAND}`; export r; \
33133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33134 $(NORMAL_TARGET_EXPORTS) \
33135 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
33136 for flag in $(EXTRA_TARGET_FLAGS); do \
33137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33138 done; \
33139 (cd $(TARGET_SUBDIR)/rda && \
33140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33142 "RANLIB=$${RANLIB}" \
33143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33144 installcheck) \
33145 || exit 1
33147 @endif target-rda
33149 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
33150 maybe-mostlyclean-target-rda:
33151 @if target-rda
33152 maybe-mostlyclean-target-rda: mostlyclean-target-rda
33154 mostlyclean-target-rda:
33155 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33156 r=`${PWD_COMMAND}`; export r; \
33157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33158 $(NORMAL_TARGET_EXPORTS) \
33159 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
33160 for flag in $(EXTRA_TARGET_FLAGS); do \
33161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33162 done; \
33163 (cd $(TARGET_SUBDIR)/rda && \
33164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33166 "RANLIB=$${RANLIB}" \
33167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33168 mostlyclean) \
33169 || exit 1
33171 @endif target-rda
33173 .PHONY: maybe-clean-target-rda clean-target-rda
33174 maybe-clean-target-rda:
33175 @if target-rda
33176 maybe-clean-target-rda: clean-target-rda
33178 clean-target-rda:
33179 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33180 r=`${PWD_COMMAND}`; export r; \
33181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33182 $(NORMAL_TARGET_EXPORTS) \
33183 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
33184 for flag in $(EXTRA_TARGET_FLAGS); do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 (cd $(TARGET_SUBDIR)/rda && \
33188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33190 "RANLIB=$${RANLIB}" \
33191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33192 clean) \
33193 || exit 1
33195 @endif target-rda
33197 .PHONY: maybe-distclean-target-rda distclean-target-rda
33198 maybe-distclean-target-rda:
33199 @if target-rda
33200 maybe-distclean-target-rda: distclean-target-rda
33202 distclean-target-rda:
33203 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33204 r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 $(NORMAL_TARGET_EXPORTS) \
33207 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
33208 for flag in $(EXTRA_TARGET_FLAGS); do \
33209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33210 done; \
33211 (cd $(TARGET_SUBDIR)/rda && \
33212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33214 "RANLIB=$${RANLIB}" \
33215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33216 distclean) \
33217 || exit 1
33219 @endif target-rda
33221 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
33222 maybe-maintainer-clean-target-rda:
33223 @if target-rda
33224 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
33226 maintainer-clean-target-rda:
33227 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33228 r=`${PWD_COMMAND}`; export r; \
33229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33230 $(NORMAL_TARGET_EXPORTS) \
33231 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
33232 for flag in $(EXTRA_TARGET_FLAGS); do \
33233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33234 done; \
33235 (cd $(TARGET_SUBDIR)/rda && \
33236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33238 "RANLIB=$${RANLIB}" \
33239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33240 maintainer-clean) \
33241 || exit 1
33243 @endif target-rda
33247 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33248 @if target-libada
33249 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
33250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33251 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
33252 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
33253 @endif target-libada
33257 .PHONY: configure-target-libada maybe-configure-target-libada
33258 maybe-configure-target-libada:
33259 @if target-libada
33260 maybe-configure-target-libada: configure-target-libada
33261 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
33262 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
33263 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33264 r=`${PWD_COMMAND}`; export r; \
33265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33266 $(NORMAL_TARGET_EXPORTS) \
33267 echo Configuring in $(TARGET_SUBDIR)/libada; \
33268 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
33269 case $(srcdir) in \
33270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33271 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
33272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33273 esac; \
33274 srcdiroption="--srcdir=$${topdir}/libada"; \
33275 libsrcdir="$$s/libada"; \
33276 rm -f no-such-file || : ; \
33277 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33278 $(TARGET_CONFIGARGS) $${srcdiroption} \
33279 || exit 1
33280 @endif target-libada
33286 .PHONY: all-target-libada maybe-all-target-libada
33287 maybe-all-target-libada:
33288 @if target-libada
33289 TARGET-target-libada=all
33290 maybe-all-target-libada: all-target-libada
33291 all-target-libada: configure-target-libada
33292 @r=`${PWD_COMMAND}`; export r; \
33293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33294 $(NORMAL_TARGET_EXPORTS) \
33295 (cd $(TARGET_SUBDIR)/libada && \
33296 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
33297 @endif target-libada
33303 .PHONY: check-target-libada maybe-check-target-libada
33304 maybe-check-target-libada:
33305 @if target-libada
33306 maybe-check-target-libada: check-target-libada
33308 check-target-libada:
33309 @r=`${PWD_COMMAND}`; export r; \
33310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33311 $(NORMAL_TARGET_EXPORTS) \
33312 (cd $(TARGET_SUBDIR)/libada && \
33313 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33315 @endif target-libada
33317 .PHONY: install-target-libada maybe-install-target-libada
33318 maybe-install-target-libada:
33319 @if target-libada
33320 maybe-install-target-libada: install-target-libada
33322 install-target-libada: installdirs
33323 @r=`${PWD_COMMAND}`; export r; \
33324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33325 $(NORMAL_TARGET_EXPORTS) \
33326 (cd $(TARGET_SUBDIR)/libada && \
33327 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33329 @endif target-libada
33331 # Other targets (info, dvi, etc.)
33333 .PHONY: maybe-info-target-libada info-target-libada
33334 maybe-info-target-libada:
33335 @if target-libada
33336 maybe-info-target-libada: info-target-libada
33338 info-target-libada: \
33339 configure-target-libada
33340 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33341 r=`${PWD_COMMAND}`; export r; \
33342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33343 $(NORMAL_TARGET_EXPORTS) \
33344 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
33345 for flag in $(EXTRA_TARGET_FLAGS); do \
33346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33347 done; \
33348 (cd $(TARGET_SUBDIR)/libada && \
33349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33351 "RANLIB=$${RANLIB}" \
33352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33353 info) \
33354 || exit 1
33356 @endif target-libada
33358 .PHONY: maybe-dvi-target-libada dvi-target-libada
33359 maybe-dvi-target-libada:
33360 @if target-libada
33361 maybe-dvi-target-libada: dvi-target-libada
33363 dvi-target-libada: \
33364 configure-target-libada
33365 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33366 r=`${PWD_COMMAND}`; export r; \
33367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33368 $(NORMAL_TARGET_EXPORTS) \
33369 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
33370 for flag in $(EXTRA_TARGET_FLAGS); do \
33371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33372 done; \
33373 (cd $(TARGET_SUBDIR)/libada && \
33374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33376 "RANLIB=$${RANLIB}" \
33377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33378 dvi) \
33379 || exit 1
33381 @endif target-libada
33383 .PHONY: maybe-html-target-libada html-target-libada
33384 maybe-html-target-libada:
33385 @if target-libada
33386 maybe-html-target-libada: html-target-libada
33388 html-target-libada: \
33389 configure-target-libada
33390 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33391 r=`${PWD_COMMAND}`; export r; \
33392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33393 $(NORMAL_TARGET_EXPORTS) \
33394 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
33395 for flag in $(EXTRA_TARGET_FLAGS); do \
33396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33397 done; \
33398 (cd $(TARGET_SUBDIR)/libada && \
33399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33401 "RANLIB=$${RANLIB}" \
33402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33403 html) \
33404 || exit 1
33406 @endif target-libada
33408 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
33409 maybe-TAGS-target-libada:
33410 @if target-libada
33411 maybe-TAGS-target-libada: TAGS-target-libada
33413 TAGS-target-libada: \
33414 configure-target-libada
33415 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33416 r=`${PWD_COMMAND}`; export r; \
33417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33418 $(NORMAL_TARGET_EXPORTS) \
33419 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
33420 for flag in $(EXTRA_TARGET_FLAGS); do \
33421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33422 done; \
33423 (cd $(TARGET_SUBDIR)/libada && \
33424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33426 "RANLIB=$${RANLIB}" \
33427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33428 TAGS) \
33429 || exit 1
33431 @endif target-libada
33433 .PHONY: maybe-install-info-target-libada install-info-target-libada
33434 maybe-install-info-target-libada:
33435 @if target-libada
33436 maybe-install-info-target-libada: install-info-target-libada
33438 install-info-target-libada: \
33439 configure-target-libada \
33440 info-target-libada
33441 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33442 r=`${PWD_COMMAND}`; export r; \
33443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33444 $(NORMAL_TARGET_EXPORTS) \
33445 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
33446 for flag in $(EXTRA_TARGET_FLAGS); do \
33447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33448 done; \
33449 (cd $(TARGET_SUBDIR)/libada && \
33450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33452 "RANLIB=$${RANLIB}" \
33453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33454 install-info) \
33455 || exit 1
33457 @endif target-libada
33459 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
33460 maybe-installcheck-target-libada:
33461 @if target-libada
33462 maybe-installcheck-target-libada: installcheck-target-libada
33464 installcheck-target-libada: \
33465 configure-target-libada
33466 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33467 r=`${PWD_COMMAND}`; export r; \
33468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33469 $(NORMAL_TARGET_EXPORTS) \
33470 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
33471 for flag in $(EXTRA_TARGET_FLAGS); do \
33472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33473 done; \
33474 (cd $(TARGET_SUBDIR)/libada && \
33475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33477 "RANLIB=$${RANLIB}" \
33478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33479 installcheck) \
33480 || exit 1
33482 @endif target-libada
33484 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
33485 maybe-mostlyclean-target-libada:
33486 @if target-libada
33487 maybe-mostlyclean-target-libada: mostlyclean-target-libada
33489 mostlyclean-target-libada:
33490 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33491 r=`${PWD_COMMAND}`; export r; \
33492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33493 $(NORMAL_TARGET_EXPORTS) \
33494 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
33495 for flag in $(EXTRA_TARGET_FLAGS); do \
33496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33497 done; \
33498 (cd $(TARGET_SUBDIR)/libada && \
33499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33501 "RANLIB=$${RANLIB}" \
33502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33503 mostlyclean) \
33504 || exit 1
33506 @endif target-libada
33508 .PHONY: maybe-clean-target-libada clean-target-libada
33509 maybe-clean-target-libada:
33510 @if target-libada
33511 maybe-clean-target-libada: clean-target-libada
33513 clean-target-libada:
33514 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33515 r=`${PWD_COMMAND}`; export r; \
33516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33517 $(NORMAL_TARGET_EXPORTS) \
33518 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
33519 for flag in $(EXTRA_TARGET_FLAGS); do \
33520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33521 done; \
33522 (cd $(TARGET_SUBDIR)/libada && \
33523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33525 "RANLIB=$${RANLIB}" \
33526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33527 clean) \
33528 || exit 1
33530 @endif target-libada
33532 .PHONY: maybe-distclean-target-libada distclean-target-libada
33533 maybe-distclean-target-libada:
33534 @if target-libada
33535 maybe-distclean-target-libada: distclean-target-libada
33537 distclean-target-libada:
33538 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33539 r=`${PWD_COMMAND}`; export r; \
33540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33541 $(NORMAL_TARGET_EXPORTS) \
33542 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
33543 for flag in $(EXTRA_TARGET_FLAGS); do \
33544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33545 done; \
33546 (cd $(TARGET_SUBDIR)/libada && \
33547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33549 "RANLIB=$${RANLIB}" \
33550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33551 distclean) \
33552 || exit 1
33554 @endif target-libada
33556 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
33557 maybe-maintainer-clean-target-libada:
33558 @if target-libada
33559 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
33561 maintainer-clean-target-libada:
33562 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33563 r=`${PWD_COMMAND}`; export r; \
33564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33565 $(NORMAL_TARGET_EXPORTS) \
33566 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
33567 for flag in $(EXTRA_TARGET_FLAGS); do \
33568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33569 done; \
33570 (cd $(TARGET_SUBDIR)/libada && \
33571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33573 "RANLIB=$${RANLIB}" \
33574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33575 maintainer-clean) \
33576 || exit 1
33578 @endif target-libada
33582 # ----------
33583 # GCC module
33584 # ----------
33586 @if gcc-no-bootstrap
33587 # GCC has some more recursive targets, which trigger the old
33588 # (but still current, until the toplevel bootstrap project
33589 # is finished) compiler bootstrapping rules.
33591 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
33592 .PHONY: $(GCC_STRAP_TARGETS)
33593 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
33594 @r=`${PWD_COMMAND}`; export r; \
33595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33596 $(HOST_EXPORTS) \
33597 echo "Bootstrapping the compiler"; \
33598 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33599 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
33600 @r=`${PWD_COMMAND}`; export r; \
33601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33602 case "$@" in \
33603 *bootstrap4-lean ) \
33604 msg="Comparing stage3 and stage4 of the compiler"; \
33605 compare=compare3-lean ;; \
33606 *bootstrap4 ) \
33607 msg="Comparing stage3 and stage4 of the compiler"; \
33608 compare=compare3 ;; \
33609 *-lean ) \
33610 msg="Comparing stage2 and stage3 of the compiler"; \
33611 compare=compare-lean ;; \
33612 * ) \
33613 msg="Comparing stage2 and stage3 of the compiler"; \
33614 compare=compare ;; \
33615 esac; \
33616 $(HOST_EXPORTS) \
33617 echo "$$msg"; \
33618 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
33619 @r=`${PWD_COMMAND}`; export r; \
33620 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33621 echo "Building runtime libraries"; \
33622 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33624 profiledbootstrap: all-prebootstrap configure-gcc
33625 @r=`${PWD_COMMAND}`; export r; \
33626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33627 $(HOST_EXPORTS) \
33628 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33629 echo "Bootstrapping training compiler"; \
33630 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
33631 @r=`${PWD_COMMAND}`; export r; \
33632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33633 $(HOST_EXPORTS) \
33634 echo "Building feedback based compiler"; \
33635 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
33636 @r=`${PWD_COMMAND}`; export r; \
33637 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33638 echo "Building runtime libraries"; \
33639 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33641 .PHONY: cross
33642 cross: all-build all-gas all-ld
33643 @r=`${PWD_COMMAND}`; export r; \
33644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33645 $(HOST_EXPORTS) \
33646 echo "Building the C and C++ compiler"; \
33647 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
33648 @r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33650 echo "Building runtime libraries"; \
33651 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
33652 @endif gcc-no-bootstrap
33654 @if gcc
33655 .PHONY: check-gcc-c++
33656 check-gcc-c++:
33657 @if [ -f ./gcc/Makefile ] ; then \
33658 r=`${PWD_COMMAND}`; export r; \
33659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33660 $(HOST_EXPORTS) \
33661 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
33662 else \
33663 true; \
33666 .PHONY: check-c++
33667 check-c++: check-target-libstdc++-v3 check-gcc-c++
33669 # Install the gcc headers files, but not the fixed include files,
33670 # which Cygnus is not allowed to distribute. This rule is very
33671 # dependent on the workings of the gcc Makefile.in.
33672 .PHONY: gcc-no-fixedincludes
33673 gcc-no-fixedincludes:
33674 @if [ -f ./gcc/Makefile ]; then \
33675 rm -rf gcc/tmp-include; \
33676 mv gcc/include gcc/tmp-include 2>/dev/null; \
33677 mkdir gcc/include; \
33678 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
33679 touch gcc/stmp-fixinc gcc/include/fixed; \
33680 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
33681 r=`${PWD_COMMAND}`; export r; \
33682 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33683 $(HOST_EXPORTS) \
33684 (cd ./gcc && \
33685 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
33686 rm -rf gcc/include; \
33687 mv gcc/tmp-include gcc/include 2>/dev/null; \
33688 else true; fi
33689 @endif gcc
33691 # ---------------------
33692 # GCC bootstrap support
33693 # ---------------------
33695 # We track the current stage (the one in 'gcc') in the stage_current file.
33696 # stage_last instead tracks the stage that was built last. These targets
33697 # are dummy when toplevel bootstrap is not active.
33699 .PHONY: unstage
33700 unstage:
33701 @if gcc-bootstrap
33702 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
33703 @endif gcc-bootstrap
33705 .PHONY: stage
33706 stage:
33707 @if gcc-bootstrap
33708 @$(MAKE) `cat stage_current`-end
33709 @endif gcc-bootstrap
33711 # We name the build directories for the various stages "stage1-gcc",
33712 # "stage2-gcc","stage3-gcc", etc.
33714 # Since the 'compare' process will fail (on debugging information) if any
33715 # directory names are different, we need to link the gcc directory for
33716 # the previous stage to a constant name ('gcc-prev'), and to make the name of
33717 # the build directories constant as well. For the latter, we use naked names
33718 # like 'gcc', because the scripts in that directory assume it. We use
33719 # mv on platforms where symlinks to directories do not work or are not
33720 # reliable.
33722 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
33723 # be kept, so that libraries can find it. Ick!
33725 # It would be best to preinstall gcc into a staging area (and in the
33726 # future, gather there all prebootstrap packages). This would allow
33727 # assemblers and linkers can be bootstrapped as well as the compiler
33728 # (both in a combined tree, or separately). This however requires some
33729 # change to the gcc driver, again in order to avoid comparison failures.
33731 # Bugs: This is crippled when doing parallel make, the `make all-host'
33732 # and `make all-target' phases can be parallelized.
33735 # 'touch' doesn't work right on some platforms.
33736 STAMP = echo timestamp >
33738 # Only build the C compiler for stage1, because that is the only one that
33739 # we can guarantee will build with the native compiler, and also it is the
33740 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
33741 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
33742 # overrideable (for a bootstrap build stage1 also builds gcc.info).
33744 STAGE1_CFLAGS=@stage1_cflags@
33745 STAGE1_LANGUAGES=@stage1_languages@
33747 # We only want to compare .o files, so set this!
33748 objext = .o
33750 # Flags to pass to stage2 and later makes.
33751 POSTSTAGE1_FLAGS_TO_PASS = \
33752 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
33753 STAGE_PREFIX=$$r/prev-gcc/ \
33754 CFLAGS="$(BOOT_CFLAGS)" \
33755 ADAC="\$$(CC)"
33757 # For stage 1:
33758 # * We force-disable intermodule optimizations, even if
33759 # --enable-intermodule was passed, since the installed compiler probably
33760 # can't handle them. Luckily, autoconf always respects
33761 # the last argument when conflicting --enable arguments are passed.
33762 # * Likewise, we force-disable coverage flags, since the installed compiler
33763 # probably has never heard of them.
33764 # * We build only C (and possibly Ada).
33767 .PHONY: stage1-start stage1-end
33769 stage1-start::
33770 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33771 echo stage1 > stage_current ; \
33772 echo stage1 > stage_last; \
33773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33774 @if bfd
33775 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
33776 mkdir stage1-bfd; \
33777 set stage1-bfd bfd ; \
33778 @CREATE_LINK_TO_DIR@
33779 @endif bfd
33780 @if opcodes
33781 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
33782 mkdir stage1-opcodes; \
33783 set stage1-opcodes opcodes ; \
33784 @CREATE_LINK_TO_DIR@
33785 @endif opcodes
33786 @if binutils
33787 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
33788 mkdir stage1-binutils; \
33789 set stage1-binutils binutils ; \
33790 @CREATE_LINK_TO_DIR@
33791 @endif binutils
33792 @if gas
33793 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
33794 mkdir stage1-gas; \
33795 set stage1-gas gas ; \
33796 @CREATE_LINK_TO_DIR@
33797 @endif gas
33798 @if gcc
33799 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
33800 mkdir stage1-gcc; \
33801 set stage1-gcc gcc ; \
33802 @CREATE_LINK_TO_DIR@
33803 @endif gcc
33804 @if intl
33805 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
33806 mkdir stage1-intl; \
33807 set stage1-intl intl ; \
33808 @CREATE_LINK_TO_DIR@
33809 @endif intl
33810 @if ld
33811 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
33812 mkdir stage1-ld; \
33813 set stage1-ld ld ; \
33814 @CREATE_LINK_TO_DIR@
33815 @endif ld
33816 @if libcpp
33817 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
33818 mkdir stage1-libcpp; \
33819 set stage1-libcpp libcpp ; \
33820 @CREATE_LINK_TO_DIR@
33821 @endif libcpp
33822 @if libiberty
33823 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
33824 mkdir stage1-libiberty; \
33825 set stage1-libiberty libiberty ; \
33826 @CREATE_LINK_TO_DIR@
33827 @endif libiberty
33828 @if zlib
33829 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
33830 mkdir stage1-zlib; \
33831 set stage1-zlib zlib ; \
33832 @CREATE_LINK_TO_DIR@
33833 @endif zlib
33835 stage1-end::
33836 @rm -f stage_current
33837 @if bfd
33838 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
33839 @UNDO_LINK_TO_DIR@
33840 @endif bfd
33841 @if opcodes
33842 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
33843 @UNDO_LINK_TO_DIR@
33844 @endif opcodes
33845 @if binutils
33846 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
33847 @UNDO_LINK_TO_DIR@
33848 @endif binutils
33849 @if gas
33850 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
33851 @UNDO_LINK_TO_DIR@
33852 @endif gas
33853 @if gcc
33854 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
33855 @UNDO_LINK_TO_DIR@
33856 @endif gcc
33857 @if intl
33858 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
33859 @UNDO_LINK_TO_DIR@
33860 @endif intl
33861 @if ld
33862 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
33863 @UNDO_LINK_TO_DIR@
33864 @endif ld
33865 @if libcpp
33866 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
33867 @UNDO_LINK_TO_DIR@
33868 @endif libcpp
33869 @if libiberty
33870 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
33871 @UNDO_LINK_TO_DIR@
33872 @endif libiberty
33873 @if zlib
33874 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
33875 @UNDO_LINK_TO_DIR@
33876 @endif zlib
33878 # Bubble a bugfix through all the stages up to stage 1. They
33879 # are remade, but not reconfigured. The next stage (if any) will not
33880 # be reconfigured as well.
33881 .PHONY: stage1-bubble
33882 stage1-bubble::
33883 @if test -f stage1-lean ; then \
33884 echo Skipping rebuild of stage1 ; \
33885 else \
33886 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
33889 .PHONY: all-stage1 clean-stage1
33890 do-clean: clean-stage1
33892 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33893 # only possibility, but now it conflicts with no-bootstrap rules
33894 @if gcc-bootstrap
33899 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33901 .PHONY: distclean-stage1
33902 distclean-stage1::
33903 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33904 rm -rf stage1-*
33907 @endif gcc-bootstrap
33910 .PHONY: stage2-start stage2-end
33912 stage2-start::
33913 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33914 echo stage2 > stage_current ; \
33915 echo stage2 > stage_last; \
33916 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33917 @if bfd
33918 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
33919 mkdir stage2-bfd; \
33920 set stage2-bfd bfd ; \
33921 @CREATE_LINK_TO_DIR@ ; \
33922 set stage1-bfd prev-bfd ; \
33923 @CREATE_LINK_TO_DIR@
33924 @endif bfd
33925 @if opcodes
33926 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
33927 mkdir stage2-opcodes; \
33928 set stage2-opcodes opcodes ; \
33929 @CREATE_LINK_TO_DIR@ ; \
33930 set stage1-opcodes prev-opcodes ; \
33931 @CREATE_LINK_TO_DIR@
33932 @endif opcodes
33933 @if binutils
33934 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
33935 mkdir stage2-binutils; \
33936 set stage2-binutils binutils ; \
33937 @CREATE_LINK_TO_DIR@ ; \
33938 set stage1-binutils prev-binutils ; \
33939 @CREATE_LINK_TO_DIR@
33940 @endif binutils
33941 @if gas
33942 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
33943 mkdir stage2-gas; \
33944 set stage2-gas gas ; \
33945 @CREATE_LINK_TO_DIR@ ; \
33946 set stage1-gas prev-gas ; \
33947 @CREATE_LINK_TO_DIR@
33948 @endif gas
33949 @if gcc
33950 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
33951 mkdir stage2-gcc; \
33952 set stage2-gcc gcc ; \
33953 @CREATE_LINK_TO_DIR@ ; \
33954 set stage1-gcc prev-gcc ; \
33955 @CREATE_LINK_TO_DIR@
33956 @endif gcc
33957 @if intl
33958 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
33959 mkdir stage2-intl; \
33960 set stage2-intl intl ; \
33961 @CREATE_LINK_TO_DIR@ ; \
33962 set stage1-intl prev-intl ; \
33963 @CREATE_LINK_TO_DIR@
33964 @endif intl
33965 @if ld
33966 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
33967 mkdir stage2-ld; \
33968 set stage2-ld ld ; \
33969 @CREATE_LINK_TO_DIR@ ; \
33970 set stage1-ld prev-ld ; \
33971 @CREATE_LINK_TO_DIR@
33972 @endif ld
33973 @if libcpp
33974 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
33975 mkdir stage2-libcpp; \
33976 set stage2-libcpp libcpp ; \
33977 @CREATE_LINK_TO_DIR@ ; \
33978 set stage1-libcpp prev-libcpp ; \
33979 @CREATE_LINK_TO_DIR@
33980 @endif libcpp
33981 @if libiberty
33982 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
33983 mkdir stage2-libiberty; \
33984 set stage2-libiberty libiberty ; \
33985 @CREATE_LINK_TO_DIR@ ; \
33986 set stage1-libiberty prev-libiberty ; \
33987 @CREATE_LINK_TO_DIR@
33988 @endif libiberty
33989 @if zlib
33990 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
33991 mkdir stage2-zlib; \
33992 set stage2-zlib zlib ; \
33993 @CREATE_LINK_TO_DIR@ ; \
33994 set stage1-zlib prev-zlib ; \
33995 @CREATE_LINK_TO_DIR@
33996 @endif zlib
33998 stage2-end::
33999 @rm -f stage_current
34000 @if bfd
34001 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
34002 @UNDO_LINK_TO_DIR@ ; \
34003 set prev-bfd stage1-bfd ; \
34004 @UNDO_LINK_TO_DIR@
34005 @endif bfd
34006 @if opcodes
34007 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
34008 @UNDO_LINK_TO_DIR@ ; \
34009 set prev-opcodes stage1-opcodes ; \
34010 @UNDO_LINK_TO_DIR@
34011 @endif opcodes
34012 @if binutils
34013 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
34014 @UNDO_LINK_TO_DIR@ ; \
34015 set prev-binutils stage1-binutils ; \
34016 @UNDO_LINK_TO_DIR@
34017 @endif binutils
34018 @if gas
34019 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
34020 @UNDO_LINK_TO_DIR@ ; \
34021 set prev-gas stage1-gas ; \
34022 @UNDO_LINK_TO_DIR@
34023 @endif gas
34024 @if gcc
34025 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
34026 @UNDO_LINK_TO_DIR@ ; \
34027 set prev-gcc stage1-gcc ; \
34028 @UNDO_LINK_TO_DIR@
34029 @endif gcc
34030 @if intl
34031 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
34032 @UNDO_LINK_TO_DIR@ ; \
34033 set prev-intl stage1-intl ; \
34034 @UNDO_LINK_TO_DIR@
34035 @endif intl
34036 @if ld
34037 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
34038 @UNDO_LINK_TO_DIR@ ; \
34039 set prev-ld stage1-ld ; \
34040 @UNDO_LINK_TO_DIR@
34041 @endif ld
34042 @if libcpp
34043 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
34044 @UNDO_LINK_TO_DIR@ ; \
34045 set prev-libcpp stage1-libcpp ; \
34046 @UNDO_LINK_TO_DIR@
34047 @endif libcpp
34048 @if libiberty
34049 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
34050 @UNDO_LINK_TO_DIR@ ; \
34051 set prev-libiberty stage1-libiberty ; \
34052 @UNDO_LINK_TO_DIR@
34053 @endif libiberty
34054 @if zlib
34055 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
34056 @UNDO_LINK_TO_DIR@ ; \
34057 set prev-zlib stage1-zlib ; \
34058 @UNDO_LINK_TO_DIR@
34059 @endif zlib
34061 # Bubble a bugfix through all the stages up to stage 2. They
34062 # are remade, but not reconfigured. The next stage (if any) will not
34063 # be reconfigured as well.
34064 .PHONY: stage2-bubble
34065 stage2-bubble:: stage1-bubble
34066 @if test -f stage2-lean || test -f stage1-lean ; then \
34067 echo Skipping rebuild of stage2 ; \
34068 else \
34069 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
34072 .PHONY: all-stage2 clean-stage2
34073 do-clean: clean-stage2
34075 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34076 # only possibility, but now it conflicts with no-bootstrap rules
34077 @if gcc-bootstrap
34081 .PHONY: bootstrap2
34082 bootstrap2: stage2-bubble all
34085 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34086 distclean-stage1:: distclean-stage2
34087 .PHONY: distclean-stage2
34088 distclean-stage2::
34089 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34090 rm -rf stage2-*
34093 @endif gcc-bootstrap
34096 .PHONY: stage3-start stage3-end
34098 stage3-start::
34099 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34100 echo stage3 > stage_current ; \
34101 echo stage3 > stage_last; \
34102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34103 @if bfd
34104 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
34105 mkdir stage3-bfd; \
34106 set stage3-bfd bfd ; \
34107 @CREATE_LINK_TO_DIR@ ; \
34108 set stage2-bfd prev-bfd ; \
34109 @CREATE_LINK_TO_DIR@
34110 @endif bfd
34111 @if opcodes
34112 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
34113 mkdir stage3-opcodes; \
34114 set stage3-opcodes opcodes ; \
34115 @CREATE_LINK_TO_DIR@ ; \
34116 set stage2-opcodes prev-opcodes ; \
34117 @CREATE_LINK_TO_DIR@
34118 @endif opcodes
34119 @if binutils
34120 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
34121 mkdir stage3-binutils; \
34122 set stage3-binutils binutils ; \
34123 @CREATE_LINK_TO_DIR@ ; \
34124 set stage2-binutils prev-binutils ; \
34125 @CREATE_LINK_TO_DIR@
34126 @endif binutils
34127 @if gas
34128 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
34129 mkdir stage3-gas; \
34130 set stage3-gas gas ; \
34131 @CREATE_LINK_TO_DIR@ ; \
34132 set stage2-gas prev-gas ; \
34133 @CREATE_LINK_TO_DIR@
34134 @endif gas
34135 @if gcc
34136 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
34137 mkdir stage3-gcc; \
34138 set stage3-gcc gcc ; \
34139 @CREATE_LINK_TO_DIR@ ; \
34140 set stage2-gcc prev-gcc ; \
34141 @CREATE_LINK_TO_DIR@
34142 @endif gcc
34143 @if intl
34144 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
34145 mkdir stage3-intl; \
34146 set stage3-intl intl ; \
34147 @CREATE_LINK_TO_DIR@ ; \
34148 set stage2-intl prev-intl ; \
34149 @CREATE_LINK_TO_DIR@
34150 @endif intl
34151 @if ld
34152 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
34153 mkdir stage3-ld; \
34154 set stage3-ld ld ; \
34155 @CREATE_LINK_TO_DIR@ ; \
34156 set stage2-ld prev-ld ; \
34157 @CREATE_LINK_TO_DIR@
34158 @endif ld
34159 @if libcpp
34160 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
34161 mkdir stage3-libcpp; \
34162 set stage3-libcpp libcpp ; \
34163 @CREATE_LINK_TO_DIR@ ; \
34164 set stage2-libcpp prev-libcpp ; \
34165 @CREATE_LINK_TO_DIR@
34166 @endif libcpp
34167 @if libiberty
34168 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
34169 mkdir stage3-libiberty; \
34170 set stage3-libiberty libiberty ; \
34171 @CREATE_LINK_TO_DIR@ ; \
34172 set stage2-libiberty prev-libiberty ; \
34173 @CREATE_LINK_TO_DIR@
34174 @endif libiberty
34175 @if zlib
34176 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
34177 mkdir stage3-zlib; \
34178 set stage3-zlib zlib ; \
34179 @CREATE_LINK_TO_DIR@ ; \
34180 set stage2-zlib prev-zlib ; \
34181 @CREATE_LINK_TO_DIR@
34182 @endif zlib
34184 stage3-end::
34185 @rm -f stage_current
34186 @if bfd
34187 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
34188 @UNDO_LINK_TO_DIR@ ; \
34189 set prev-bfd stage2-bfd ; \
34190 @UNDO_LINK_TO_DIR@
34191 @endif bfd
34192 @if opcodes
34193 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
34194 @UNDO_LINK_TO_DIR@ ; \
34195 set prev-opcodes stage2-opcodes ; \
34196 @UNDO_LINK_TO_DIR@
34197 @endif opcodes
34198 @if binutils
34199 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
34200 @UNDO_LINK_TO_DIR@ ; \
34201 set prev-binutils stage2-binutils ; \
34202 @UNDO_LINK_TO_DIR@
34203 @endif binutils
34204 @if gas
34205 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
34206 @UNDO_LINK_TO_DIR@ ; \
34207 set prev-gas stage2-gas ; \
34208 @UNDO_LINK_TO_DIR@
34209 @endif gas
34210 @if gcc
34211 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
34212 @UNDO_LINK_TO_DIR@ ; \
34213 set prev-gcc stage2-gcc ; \
34214 @UNDO_LINK_TO_DIR@
34215 @endif gcc
34216 @if intl
34217 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
34218 @UNDO_LINK_TO_DIR@ ; \
34219 set prev-intl stage2-intl ; \
34220 @UNDO_LINK_TO_DIR@
34221 @endif intl
34222 @if ld
34223 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
34224 @UNDO_LINK_TO_DIR@ ; \
34225 set prev-ld stage2-ld ; \
34226 @UNDO_LINK_TO_DIR@
34227 @endif ld
34228 @if libcpp
34229 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
34230 @UNDO_LINK_TO_DIR@ ; \
34231 set prev-libcpp stage2-libcpp ; \
34232 @UNDO_LINK_TO_DIR@
34233 @endif libcpp
34234 @if libiberty
34235 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
34236 @UNDO_LINK_TO_DIR@ ; \
34237 set prev-libiberty stage2-libiberty ; \
34238 @UNDO_LINK_TO_DIR@
34239 @endif libiberty
34240 @if zlib
34241 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
34242 @UNDO_LINK_TO_DIR@ ; \
34243 set prev-zlib stage2-zlib ; \
34244 @UNDO_LINK_TO_DIR@
34245 @endif zlib
34247 # Bubble a bugfix through all the stages up to stage 3. They
34248 # are remade, but not reconfigured. The next stage (if any) will not
34249 # be reconfigured as well.
34250 .PHONY: stage3-bubble
34251 stage3-bubble:: stage2-bubble
34252 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
34253 @if test -f stage3-lean || test -f stage2-lean ; then \
34254 echo Skipping rebuild of stage3 ; \
34255 else \
34256 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
34259 .PHONY: all-stage3 clean-stage3
34260 do-clean: clean-stage3
34262 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34263 # only possibility, but now it conflicts with no-bootstrap rules
34264 @if gcc-bootstrap
34266 compare:
34267 @if test -f stage2-lean; then \
34268 echo Cannot compare object files as stage 2 was deleted. ; \
34269 exit 0 ; \
34270 fi; \
34271 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34272 @r=`${PWD_COMMAND}`; export r; \
34273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34274 rm -f .bad_compare ; \
34275 cd stage3-gcc; \
34276 files=`find . -name "*$(objext)" -print` ; \
34277 cd .. ; \
34278 for file in $${files} ; do \
34279 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
34280 @do_compare@ > /dev/null 2>&1; \
34281 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34282 done ; \
34283 if [ -f .bad_compare ]; then \
34284 echo "Bootstrap comparison failure!"; \
34285 cat .bad_compare; \
34286 exit 1; \
34287 else \
34288 true; \
34289 fi ; \
34290 $(STAMP) compare
34291 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34295 .PHONY: bootstrap
34296 bootstrap: stage3-bubble compare all
34299 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34300 distclean-stage2:: distclean-stage3
34301 .PHONY: distclean-stage3
34302 distclean-stage3::
34303 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34304 rm -rf stage3-* compare
34307 .PHONY: cleanstrap
34308 cleanstrap: distclean bootstrap
34310 @endif gcc-bootstrap
34313 .PHONY: stage4-start stage4-end
34315 stage4-start::
34316 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34317 echo stage4 > stage_current ; \
34318 echo stage4 > stage_last; \
34319 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34320 @if bfd
34321 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
34322 mkdir stage4-bfd; \
34323 set stage4-bfd bfd ; \
34324 @CREATE_LINK_TO_DIR@ ; \
34325 set stage3-bfd prev-bfd ; \
34326 @CREATE_LINK_TO_DIR@
34327 @endif bfd
34328 @if opcodes
34329 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
34330 mkdir stage4-opcodes; \
34331 set stage4-opcodes opcodes ; \
34332 @CREATE_LINK_TO_DIR@ ; \
34333 set stage3-opcodes prev-opcodes ; \
34334 @CREATE_LINK_TO_DIR@
34335 @endif opcodes
34336 @if binutils
34337 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
34338 mkdir stage4-binutils; \
34339 set stage4-binutils binutils ; \
34340 @CREATE_LINK_TO_DIR@ ; \
34341 set stage3-binutils prev-binutils ; \
34342 @CREATE_LINK_TO_DIR@
34343 @endif binutils
34344 @if gas
34345 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
34346 mkdir stage4-gas; \
34347 set stage4-gas gas ; \
34348 @CREATE_LINK_TO_DIR@ ; \
34349 set stage3-gas prev-gas ; \
34350 @CREATE_LINK_TO_DIR@
34351 @endif gas
34352 @if gcc
34353 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
34354 mkdir stage4-gcc; \
34355 set stage4-gcc gcc ; \
34356 @CREATE_LINK_TO_DIR@ ; \
34357 set stage3-gcc prev-gcc ; \
34358 @CREATE_LINK_TO_DIR@
34359 @endif gcc
34360 @if intl
34361 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
34362 mkdir stage4-intl; \
34363 set stage4-intl intl ; \
34364 @CREATE_LINK_TO_DIR@ ; \
34365 set stage3-intl prev-intl ; \
34366 @CREATE_LINK_TO_DIR@
34367 @endif intl
34368 @if ld
34369 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
34370 mkdir stage4-ld; \
34371 set stage4-ld ld ; \
34372 @CREATE_LINK_TO_DIR@ ; \
34373 set stage3-ld prev-ld ; \
34374 @CREATE_LINK_TO_DIR@
34375 @endif ld
34376 @if libcpp
34377 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
34378 mkdir stage4-libcpp; \
34379 set stage4-libcpp libcpp ; \
34380 @CREATE_LINK_TO_DIR@ ; \
34381 set stage3-libcpp prev-libcpp ; \
34382 @CREATE_LINK_TO_DIR@
34383 @endif libcpp
34384 @if libiberty
34385 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
34386 mkdir stage4-libiberty; \
34387 set stage4-libiberty libiberty ; \
34388 @CREATE_LINK_TO_DIR@ ; \
34389 set stage3-libiberty prev-libiberty ; \
34390 @CREATE_LINK_TO_DIR@
34391 @endif libiberty
34392 @if zlib
34393 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
34394 mkdir stage4-zlib; \
34395 set stage4-zlib zlib ; \
34396 @CREATE_LINK_TO_DIR@ ; \
34397 set stage3-zlib prev-zlib ; \
34398 @CREATE_LINK_TO_DIR@
34399 @endif zlib
34401 stage4-end::
34402 @rm -f stage_current
34403 @if bfd
34404 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
34405 @UNDO_LINK_TO_DIR@ ; \
34406 set prev-bfd stage3-bfd ; \
34407 @UNDO_LINK_TO_DIR@
34408 @endif bfd
34409 @if opcodes
34410 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
34411 @UNDO_LINK_TO_DIR@ ; \
34412 set prev-opcodes stage3-opcodes ; \
34413 @UNDO_LINK_TO_DIR@
34414 @endif opcodes
34415 @if binutils
34416 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
34417 @UNDO_LINK_TO_DIR@ ; \
34418 set prev-binutils stage3-binutils ; \
34419 @UNDO_LINK_TO_DIR@
34420 @endif binutils
34421 @if gas
34422 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
34423 @UNDO_LINK_TO_DIR@ ; \
34424 set prev-gas stage3-gas ; \
34425 @UNDO_LINK_TO_DIR@
34426 @endif gas
34427 @if gcc
34428 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
34429 @UNDO_LINK_TO_DIR@ ; \
34430 set prev-gcc stage3-gcc ; \
34431 @UNDO_LINK_TO_DIR@
34432 @endif gcc
34433 @if intl
34434 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
34435 @UNDO_LINK_TO_DIR@ ; \
34436 set prev-intl stage3-intl ; \
34437 @UNDO_LINK_TO_DIR@
34438 @endif intl
34439 @if ld
34440 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
34441 @UNDO_LINK_TO_DIR@ ; \
34442 set prev-ld stage3-ld ; \
34443 @UNDO_LINK_TO_DIR@
34444 @endif ld
34445 @if libcpp
34446 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
34447 @UNDO_LINK_TO_DIR@ ; \
34448 set prev-libcpp stage3-libcpp ; \
34449 @UNDO_LINK_TO_DIR@
34450 @endif libcpp
34451 @if libiberty
34452 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
34453 @UNDO_LINK_TO_DIR@ ; \
34454 set prev-libiberty stage3-libiberty ; \
34455 @UNDO_LINK_TO_DIR@
34456 @endif libiberty
34457 @if zlib
34458 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
34459 @UNDO_LINK_TO_DIR@ ; \
34460 set prev-zlib stage3-zlib ; \
34461 @UNDO_LINK_TO_DIR@
34462 @endif zlib
34464 # Bubble a bugfix through all the stages up to stage 4. They
34465 # are remade, but not reconfigured. The next stage (if any) will not
34466 # be reconfigured as well.
34467 .PHONY: stage4-bubble
34468 stage4-bubble:: stage3-bubble
34469 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34470 @if test -f stage4-lean || test -f stage3-lean ; then \
34471 echo Skipping rebuild of stage4 ; \
34472 else \
34473 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
34476 .PHONY: all-stage4 clean-stage4
34477 do-clean: clean-stage4
34479 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34480 # only possibility, but now it conflicts with no-bootstrap rules
34481 @if gcc-bootstrap
34483 compare3:
34484 @if test -f stage3-lean; then \
34485 echo Cannot compare object files as stage 3 was deleted. ; \
34486 exit 0 ; \
34487 fi; \
34488 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34489 @r=`${PWD_COMMAND}`; export r; \
34490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34491 rm -f .bad_compare ; \
34492 cd stage4-gcc; \
34493 files=`find . -name "*$(objext)" -print` ; \
34494 cd .. ; \
34495 for file in $${files} ; do \
34496 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
34497 @do_compare@ > /dev/null 2>&1; \
34498 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34499 done ; \
34500 if [ -f .bad_compare ]; then \
34501 echo "Bootstrap comparison failure!"; \
34502 cat .bad_compare; \
34503 exit 1; \
34504 else \
34505 true; \
34506 fi ; \
34507 $(STAMP) compare3
34508 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
34512 .PHONY: bootstrap4
34513 bootstrap4: stage4-bubble compare3 all
34516 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34517 distclean-stage3:: distclean-stage4
34518 .PHONY: distclean-stage4
34519 distclean-stage4::
34520 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34521 rm -rf stage4-* compare3
34524 @endif gcc-bootstrap
34527 .PHONY: stageprofile-start stageprofile-end
34529 stageprofile-start::
34530 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34531 echo stageprofile > stage_current ; \
34532 echo stageprofile > stage_last; \
34533 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34534 @if bfd
34535 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
34536 mkdir stageprofile-bfd; \
34537 set stageprofile-bfd bfd ; \
34538 @CREATE_LINK_TO_DIR@ ; \
34539 set stage1-bfd prev-bfd ; \
34540 @CREATE_LINK_TO_DIR@
34541 @endif bfd
34542 @if opcodes
34543 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
34544 mkdir stageprofile-opcodes; \
34545 set stageprofile-opcodes opcodes ; \
34546 @CREATE_LINK_TO_DIR@ ; \
34547 set stage1-opcodes prev-opcodes ; \
34548 @CREATE_LINK_TO_DIR@
34549 @endif opcodes
34550 @if binutils
34551 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
34552 mkdir stageprofile-binutils; \
34553 set stageprofile-binutils binutils ; \
34554 @CREATE_LINK_TO_DIR@ ; \
34555 set stage1-binutils prev-binutils ; \
34556 @CREATE_LINK_TO_DIR@
34557 @endif binutils
34558 @if gas
34559 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
34560 mkdir stageprofile-gas; \
34561 set stageprofile-gas gas ; \
34562 @CREATE_LINK_TO_DIR@ ; \
34563 set stage1-gas prev-gas ; \
34564 @CREATE_LINK_TO_DIR@
34565 @endif gas
34566 @if gcc
34567 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
34568 mkdir stageprofile-gcc; \
34569 set stageprofile-gcc gcc ; \
34570 @CREATE_LINK_TO_DIR@ ; \
34571 set stage1-gcc prev-gcc ; \
34572 @CREATE_LINK_TO_DIR@
34573 @endif gcc
34574 @if intl
34575 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
34576 mkdir stageprofile-intl; \
34577 set stageprofile-intl intl ; \
34578 @CREATE_LINK_TO_DIR@ ; \
34579 set stage1-intl prev-intl ; \
34580 @CREATE_LINK_TO_DIR@
34581 @endif intl
34582 @if ld
34583 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
34584 mkdir stageprofile-ld; \
34585 set stageprofile-ld ld ; \
34586 @CREATE_LINK_TO_DIR@ ; \
34587 set stage1-ld prev-ld ; \
34588 @CREATE_LINK_TO_DIR@
34589 @endif ld
34590 @if libcpp
34591 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
34592 mkdir stageprofile-libcpp; \
34593 set stageprofile-libcpp libcpp ; \
34594 @CREATE_LINK_TO_DIR@ ; \
34595 set stage1-libcpp prev-libcpp ; \
34596 @CREATE_LINK_TO_DIR@
34597 @endif libcpp
34598 @if libiberty
34599 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
34600 mkdir stageprofile-libiberty; \
34601 set stageprofile-libiberty libiberty ; \
34602 @CREATE_LINK_TO_DIR@ ; \
34603 set stage1-libiberty prev-libiberty ; \
34604 @CREATE_LINK_TO_DIR@
34605 @endif libiberty
34606 @if zlib
34607 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
34608 mkdir stageprofile-zlib; \
34609 set stageprofile-zlib zlib ; \
34610 @CREATE_LINK_TO_DIR@ ; \
34611 set stage1-zlib prev-zlib ; \
34612 @CREATE_LINK_TO_DIR@
34613 @endif zlib
34615 stageprofile-end::
34616 @rm -f stage_current
34617 @if bfd
34618 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
34619 @UNDO_LINK_TO_DIR@ ; \
34620 set prev-bfd stage1-bfd ; \
34621 @UNDO_LINK_TO_DIR@
34622 @endif bfd
34623 @if opcodes
34624 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
34625 @UNDO_LINK_TO_DIR@ ; \
34626 set prev-opcodes stage1-opcodes ; \
34627 @UNDO_LINK_TO_DIR@
34628 @endif opcodes
34629 @if binutils
34630 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
34631 @UNDO_LINK_TO_DIR@ ; \
34632 set prev-binutils stage1-binutils ; \
34633 @UNDO_LINK_TO_DIR@
34634 @endif binutils
34635 @if gas
34636 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
34637 @UNDO_LINK_TO_DIR@ ; \
34638 set prev-gas stage1-gas ; \
34639 @UNDO_LINK_TO_DIR@
34640 @endif gas
34641 @if gcc
34642 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
34643 @UNDO_LINK_TO_DIR@ ; \
34644 set prev-gcc stage1-gcc ; \
34645 @UNDO_LINK_TO_DIR@
34646 @endif gcc
34647 @if intl
34648 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
34649 @UNDO_LINK_TO_DIR@ ; \
34650 set prev-intl stage1-intl ; \
34651 @UNDO_LINK_TO_DIR@
34652 @endif intl
34653 @if ld
34654 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
34655 @UNDO_LINK_TO_DIR@ ; \
34656 set prev-ld stage1-ld ; \
34657 @UNDO_LINK_TO_DIR@
34658 @endif ld
34659 @if libcpp
34660 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
34661 @UNDO_LINK_TO_DIR@ ; \
34662 set prev-libcpp stage1-libcpp ; \
34663 @UNDO_LINK_TO_DIR@
34664 @endif libcpp
34665 @if libiberty
34666 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
34667 @UNDO_LINK_TO_DIR@ ; \
34668 set prev-libiberty stage1-libiberty ; \
34669 @UNDO_LINK_TO_DIR@
34670 @endif libiberty
34671 @if zlib
34672 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
34673 @UNDO_LINK_TO_DIR@ ; \
34674 set prev-zlib stage1-zlib ; \
34675 @UNDO_LINK_TO_DIR@
34676 @endif zlib
34678 # Bubble a bugfix through all the stages up to stage profile. They
34679 # are remade, but not reconfigured. The next stage (if any) will not
34680 # be reconfigured as well.
34681 .PHONY: stageprofile-bubble
34682 stageprofile-bubble:: stage1-bubble
34683 @if test -f stageprofile-lean || test -f stage1-lean ; then \
34684 echo Skipping rebuild of stageprofile ; \
34685 else \
34686 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
34689 .PHONY: all-stageprofile clean-stageprofile
34690 do-clean: clean-stageprofile
34692 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34693 # only possibility, but now it conflicts with no-bootstrap rules
34694 @if gcc-bootstrap
34699 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34700 distclean-stage1:: distclean-stageprofile
34701 .PHONY: distclean-stageprofile
34702 distclean-stageprofile::
34703 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34704 rm -rf stageprofile-*
34707 @endif gcc-bootstrap
34710 .PHONY: stagefeedback-start stagefeedback-end
34712 stagefeedback-start::
34713 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34714 echo stagefeedback > stage_current ; \
34715 echo stagefeedback > stage_last; \
34716 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34717 @if bfd
34718 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34719 mkdir stagefeedback-bfd; \
34720 set stagefeedback-bfd bfd ; \
34721 @CREATE_LINK_TO_DIR@ ; \
34722 set stageprofile-bfd prev-bfd ; \
34723 @CREATE_LINK_TO_DIR@
34724 @endif bfd
34725 @if opcodes
34726 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34727 mkdir stagefeedback-opcodes; \
34728 set stagefeedback-opcodes opcodes ; \
34729 @CREATE_LINK_TO_DIR@ ; \
34730 set stageprofile-opcodes prev-opcodes ; \
34731 @CREATE_LINK_TO_DIR@
34732 @endif opcodes
34733 @if binutils
34734 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34735 mkdir stagefeedback-binutils; \
34736 set stagefeedback-binutils binutils ; \
34737 @CREATE_LINK_TO_DIR@ ; \
34738 set stageprofile-binutils prev-binutils ; \
34739 @CREATE_LINK_TO_DIR@
34740 @endif binutils
34741 @if gas
34742 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34743 mkdir stagefeedback-gas; \
34744 set stagefeedback-gas gas ; \
34745 @CREATE_LINK_TO_DIR@ ; \
34746 set stageprofile-gas prev-gas ; \
34747 @CREATE_LINK_TO_DIR@
34748 @endif gas
34749 @if gcc
34750 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34751 mkdir stagefeedback-gcc; \
34752 set stagefeedback-gcc gcc ; \
34753 @CREATE_LINK_TO_DIR@ ; \
34754 set stageprofile-gcc prev-gcc ; \
34755 @CREATE_LINK_TO_DIR@
34756 @endif gcc
34757 @if intl
34758 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34759 mkdir stagefeedback-intl; \
34760 set stagefeedback-intl intl ; \
34761 @CREATE_LINK_TO_DIR@ ; \
34762 set stageprofile-intl prev-intl ; \
34763 @CREATE_LINK_TO_DIR@
34764 @endif intl
34765 @if ld
34766 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34767 mkdir stagefeedback-ld; \
34768 set stagefeedback-ld ld ; \
34769 @CREATE_LINK_TO_DIR@ ; \
34770 set stageprofile-ld prev-ld ; \
34771 @CREATE_LINK_TO_DIR@
34772 @endif ld
34773 @if libcpp
34774 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34775 mkdir stagefeedback-libcpp; \
34776 set stagefeedback-libcpp libcpp ; \
34777 @CREATE_LINK_TO_DIR@ ; \
34778 set stageprofile-libcpp prev-libcpp ; \
34779 @CREATE_LINK_TO_DIR@
34780 @endif libcpp
34781 @if libiberty
34782 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34783 mkdir stagefeedback-libiberty; \
34784 set stagefeedback-libiberty libiberty ; \
34785 @CREATE_LINK_TO_DIR@ ; \
34786 set stageprofile-libiberty prev-libiberty ; \
34787 @CREATE_LINK_TO_DIR@
34788 @endif libiberty
34789 @if zlib
34790 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34791 mkdir stagefeedback-zlib; \
34792 set stagefeedback-zlib zlib ; \
34793 @CREATE_LINK_TO_DIR@ ; \
34794 set stageprofile-zlib prev-zlib ; \
34795 @CREATE_LINK_TO_DIR@
34796 @endif zlib
34798 stagefeedback-end::
34799 @rm -f stage_current
34800 @if bfd
34801 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34802 @UNDO_LINK_TO_DIR@ ; \
34803 set prev-bfd stageprofile-bfd ; \
34804 @UNDO_LINK_TO_DIR@
34805 @endif bfd
34806 @if opcodes
34807 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34808 @UNDO_LINK_TO_DIR@ ; \
34809 set prev-opcodes stageprofile-opcodes ; \
34810 @UNDO_LINK_TO_DIR@
34811 @endif opcodes
34812 @if binutils
34813 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34814 @UNDO_LINK_TO_DIR@ ; \
34815 set prev-binutils stageprofile-binutils ; \
34816 @UNDO_LINK_TO_DIR@
34817 @endif binutils
34818 @if gas
34819 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34820 @UNDO_LINK_TO_DIR@ ; \
34821 set prev-gas stageprofile-gas ; \
34822 @UNDO_LINK_TO_DIR@
34823 @endif gas
34824 @if gcc
34825 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34826 @UNDO_LINK_TO_DIR@ ; \
34827 set prev-gcc stageprofile-gcc ; \
34828 @UNDO_LINK_TO_DIR@
34829 @endif gcc
34830 @if intl
34831 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34832 @UNDO_LINK_TO_DIR@ ; \
34833 set prev-intl stageprofile-intl ; \
34834 @UNDO_LINK_TO_DIR@
34835 @endif intl
34836 @if ld
34837 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34838 @UNDO_LINK_TO_DIR@ ; \
34839 set prev-ld stageprofile-ld ; \
34840 @UNDO_LINK_TO_DIR@
34841 @endif ld
34842 @if libcpp
34843 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34844 @UNDO_LINK_TO_DIR@ ; \
34845 set prev-libcpp stageprofile-libcpp ; \
34846 @UNDO_LINK_TO_DIR@
34847 @endif libcpp
34848 @if libiberty
34849 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34850 @UNDO_LINK_TO_DIR@ ; \
34851 set prev-libiberty stageprofile-libiberty ; \
34852 @UNDO_LINK_TO_DIR@
34853 @endif libiberty
34854 @if zlib
34855 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34856 @UNDO_LINK_TO_DIR@ ; \
34857 set prev-zlib stageprofile-zlib ; \
34858 @UNDO_LINK_TO_DIR@
34859 @endif zlib
34861 # Bubble a bugfix through all the stages up to stage feedback. They
34862 # are remade, but not reconfigured. The next stage (if any) will not
34863 # be reconfigured as well.
34864 .PHONY: stagefeedback-bubble
34865 stagefeedback-bubble:: stageprofile-bubble
34866 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
34867 echo Skipping rebuild of stagefeedback ; \
34868 else \
34869 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34872 .PHONY: all-stagefeedback clean-stagefeedback
34873 do-clean: clean-stagefeedback
34875 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34876 # only possibility, but now it conflicts with no-bootstrap rules
34877 @if gcc-bootstrap
34881 .PHONY: profiledbootstrap
34882 profiledbootstrap: stagefeedback-bubble all
34885 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34886 distclean-stageprofile:: distclean-stagefeedback
34887 .PHONY: distclean-stagefeedback
34888 distclean-stagefeedback::
34889 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34890 rm -rf stagefeedback-*
34893 @endif gcc-bootstrap
34897 stageprofile-end::
34898 $(MAKE) distclean-stagefeedback
34900 stagefeedback-start::
34901 @r=`${PWD_COMMAND}`; export r; \
34902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34903 for i in prev-*; do \
34904 j=`echo $$i | sed s/^prev-//` ; \
34905 cd $$r/$$i && \
34906 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
34907 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
34908 done
34910 @if gcc-bootstrap
34911 NOTPARALLEL = .NOTPARALLEL
34912 $(NOTPARALLEL):
34913 do-distclean: distclean-stage1
34914 @endif gcc-bootstrap
34916 # --------------------------------------
34917 # Dependencies between different modules
34918 # --------------------------------------
34920 # Generic dependencies for target modules on host stuff, especially gcc
34922 configure-target-libstdc++-v3: maybe-all-gcc
34924 configure-target-libmudflap: maybe-all-gcc
34926 configure-target-libssp: maybe-all-gcc
34928 configure-target-newlib: maybe-all-gcc
34930 configure-target-libgfortran: maybe-all-gcc
34932 configure-target-libobjc: maybe-all-gcc
34934 configure-target-libtermcap: maybe-all-gcc
34936 configure-target-winsup: maybe-all-gcc
34938 configure-target-libgloss: maybe-all-gcc
34940 configure-target-libiberty: maybe-all-gcc
34942 configure-target-gperf: maybe-all-gcc
34944 configure-target-examples: maybe-all-gcc
34946 configure-target-libffi: maybe-all-gcc
34948 configure-target-libjava: maybe-all-gcc
34950 configure-target-zlib: maybe-all-gcc
34952 configure-target-boehm-gc: maybe-all-gcc
34954 configure-target-qthreads: maybe-all-gcc
34956 configure-target-rda: maybe-all-gcc
34958 configure-target-libada: maybe-all-gcc
34962 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34964 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34965 configure-target-gperf: maybe-all-target-libstdc++-v3
34967 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34969 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34973 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34974 configure-target-libjava: maybe-all-target-libstdc++-v3
34976 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34978 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34980 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34982 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34984 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34986 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34988 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34990 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34993 # There are two types of dependencies here: 'hard' dependencies, where one
34994 # module simply won't build without the other; and 'soft' dependencies, where
34995 # if the depended-on module is missing, the depending module will do without
34996 # or find a substitute somewhere (perhaps installed). Soft dependencies
34997 # are made here to depend on a 'maybe-' target. If you're not sure,
34998 # it's safer to use a soft dependency.
35005 # With all the machinery above in place, it is pretty easy to generate
35006 # dependencies. Host dependencies are a bit more complex because we have
35007 # to check for bootstrap/prebootstrap dependencies. To resolve
35008 # prebootstrap dependencies, prebootstrap modules are gathered in
35009 # a hash table.
35010 all-build-bison: maybe-all-build-texinfo
35011 all-build-byacc: maybe-all-build-texinfo
35012 all-build-flex: maybe-all-build-texinfo
35013 all-build-flex: maybe-all-build-bison
35014 all-build-flex: maybe-all-build-byacc
35015 all-build-flex: maybe-all-build-m4
35016 all-build-libiberty: maybe-all-build-texinfo
35017 all-build-m4: maybe-all-build-texinfo
35018 all-build-fixincludes: maybe-all-build-libiberty
35019 configure-gcc: maybe-configure-intl
35021 configure-stage1-gcc: maybe-configure-stage1-intl
35022 configure-stage2-gcc: maybe-configure-stage2-intl
35023 configure-stage3-gcc: maybe-configure-stage3-intl
35024 configure-stage4-gcc: maybe-configure-stage4-intl
35025 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35026 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35027 configure-gcc: maybe-all-binutils
35029 configure-stage1-gcc: maybe-all-stage1-binutils
35030 configure-stage2-gcc: maybe-all-stage2-binutils
35031 configure-stage3-gcc: maybe-all-stage3-binutils
35032 configure-stage4-gcc: maybe-all-stage4-binutils
35033 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
35034 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35035 configure-gcc: maybe-all-gas
35037 configure-stage1-gcc: maybe-all-stage1-gas
35038 configure-stage2-gcc: maybe-all-stage2-gas
35039 configure-stage3-gcc: maybe-all-stage3-gas
35040 configure-stage4-gcc: maybe-all-stage4-gas
35041 configure-stageprofile-gcc: maybe-all-stageprofile-gas
35042 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
35043 configure-gcc: maybe-all-ld
35045 configure-stage1-gcc: maybe-all-stage1-ld
35046 configure-stage2-gcc: maybe-all-stage2-ld
35047 configure-stage3-gcc: maybe-all-stage3-ld
35048 configure-stage4-gcc: maybe-all-stage4-ld
35049 configure-stageprofile-gcc: maybe-all-stageprofile-ld
35050 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
35051 all-gcc: all-libiberty
35053 all-stage1-gcc: all-stage1-libiberty
35054 all-stage2-gcc: all-stage2-libiberty
35055 all-stage3-gcc: all-stage3-libiberty
35056 all-stage4-gcc: all-stage4-libiberty
35057 all-stageprofile-gcc: all-stageprofile-libiberty
35058 all-stagefeedback-gcc: all-stagefeedback-libiberty
35059 all-gcc: maybe-all-intl
35061 all-stage1-gcc: maybe-all-stage1-intl
35062 all-stage2-gcc: maybe-all-stage2-intl
35063 all-stage3-gcc: maybe-all-stage3-intl
35064 all-stage4-gcc: maybe-all-stage4-intl
35065 all-stageprofile-gcc: maybe-all-stageprofile-intl
35066 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35067 all-gcc: maybe-all-build-texinfo
35069 all-stage1-gcc: maybe-all-build-texinfo
35070 all-stage2-gcc: maybe-all-build-texinfo
35071 all-stage3-gcc: maybe-all-build-texinfo
35072 all-stage4-gcc: maybe-all-build-texinfo
35073 all-stageprofile-gcc: maybe-all-build-texinfo
35074 all-stagefeedback-gcc: maybe-all-build-texinfo
35075 all-prebootstrap: maybe-all-build-texinfo
35076 all-gcc: maybe-all-build-bison
35078 all-stage1-gcc: maybe-all-build-bison
35079 all-stage2-gcc: maybe-all-build-bison
35080 all-stage3-gcc: maybe-all-build-bison
35081 all-stage4-gcc: maybe-all-build-bison
35082 all-stageprofile-gcc: maybe-all-build-bison
35083 all-stagefeedback-gcc: maybe-all-build-bison
35084 all-prebootstrap: maybe-all-build-bison
35085 all-gcc: maybe-all-build-byacc
35087 all-stage1-gcc: maybe-all-build-byacc
35088 all-stage2-gcc: maybe-all-build-byacc
35089 all-stage3-gcc: maybe-all-build-byacc
35090 all-stage4-gcc: maybe-all-build-byacc
35091 all-stageprofile-gcc: maybe-all-build-byacc
35092 all-stagefeedback-gcc: maybe-all-build-byacc
35093 all-prebootstrap: maybe-all-build-byacc
35094 all-gcc: maybe-all-build-flex
35096 all-stage1-gcc: maybe-all-build-flex
35097 all-stage2-gcc: maybe-all-build-flex
35098 all-stage3-gcc: maybe-all-build-flex
35099 all-stage4-gcc: maybe-all-build-flex
35100 all-stageprofile-gcc: maybe-all-build-flex
35101 all-stagefeedback-gcc: maybe-all-build-flex
35102 all-prebootstrap: maybe-all-build-flex
35103 all-gcc: maybe-all-build-libiberty
35105 all-stage1-gcc: maybe-all-build-libiberty
35106 all-stage2-gcc: maybe-all-build-libiberty
35107 all-stage3-gcc: maybe-all-build-libiberty
35108 all-stage4-gcc: maybe-all-build-libiberty
35109 all-stageprofile-gcc: maybe-all-build-libiberty
35110 all-stagefeedback-gcc: maybe-all-build-libiberty
35111 all-prebootstrap: maybe-all-build-libiberty
35112 all-gcc: maybe-all-build-fixincludes
35114 all-stage1-gcc: maybe-all-build-fixincludes
35115 all-stage2-gcc: maybe-all-build-fixincludes
35116 all-stage3-gcc: maybe-all-build-fixincludes
35117 all-stage4-gcc: maybe-all-build-fixincludes
35118 all-stageprofile-gcc: maybe-all-build-fixincludes
35119 all-stagefeedback-gcc: maybe-all-build-fixincludes
35120 all-prebootstrap: maybe-all-build-fixincludes
35121 all-gcc: maybe-all-zlib
35123 all-stage1-gcc: maybe-all-stage1-zlib
35124 all-stage2-gcc: maybe-all-stage2-zlib
35125 all-stage3-gcc: maybe-all-stage3-zlib
35126 all-stage4-gcc: maybe-all-stage4-zlib
35127 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35128 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35129 all-gcc: all-libcpp
35131 all-stage1-gcc: all-stage1-libcpp
35132 all-stage2-gcc: all-stage2-libcpp
35133 all-stage3-gcc: all-stage3-libcpp
35134 all-stage4-gcc: all-stage4-libcpp
35135 all-stageprofile-gcc: all-stageprofile-libcpp
35136 all-stagefeedback-gcc: all-stagefeedback-libcpp
35137 all-gcc: maybe-all-libiberty
35139 all-stage1-gcc: maybe-all-stage1-libiberty
35140 all-stage2-gcc: maybe-all-stage2-libiberty
35141 all-stage3-gcc: maybe-all-stage3-libiberty
35142 all-stage4-gcc: maybe-all-stage4-libiberty
35143 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35144 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35145 all-gcc: maybe-all-fixincludes
35146 install-gcc: maybe-install-fixincludes
35147 configure-libcpp: configure-libiberty
35149 configure-stage1-libcpp: configure-stage1-libiberty
35150 configure-stage2-libcpp: configure-stage2-libiberty
35151 configure-stage3-libcpp: configure-stage3-libiberty
35152 configure-stage4-libcpp: configure-stage4-libiberty
35153 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35154 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35155 configure-libcpp: maybe-configure-intl
35157 configure-stage1-libcpp: maybe-configure-stage1-intl
35158 configure-stage2-libcpp: maybe-configure-stage2-intl
35159 configure-stage3-libcpp: maybe-configure-stage3-intl
35160 configure-stage4-libcpp: maybe-configure-stage4-intl
35161 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35162 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35163 all-libcpp: all-libiberty
35165 all-stage1-libcpp: all-stage1-libiberty
35166 all-stage2-libcpp: all-stage2-libiberty
35167 all-stage3-libcpp: all-stage3-libiberty
35168 all-stage4-libcpp: all-stage4-libiberty
35169 all-stageprofile-libcpp: all-stageprofile-libiberty
35170 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35171 all-libcpp: maybe-all-intl
35173 all-stage1-libcpp: maybe-all-stage1-intl
35174 all-stage2-libcpp: maybe-all-stage2-intl
35175 all-stage3-libcpp: maybe-all-stage3-intl
35176 all-stage4-libcpp: maybe-all-stage4-intl
35177 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35178 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35179 all-fixincludes: maybe-all-libiberty
35180 all-gnattools: maybe-all-target-libada
35181 configure-gdb: maybe-configure-itcl
35182 configure-gdb: maybe-configure-tcl
35183 configure-gdb: maybe-configure-tk
35184 configure-gdb: maybe-configure-sim
35185 all-gdb: maybe-all-libiberty
35186 all-gdb: maybe-all-opcodes
35187 all-gdb: maybe-all-bfd
35188 all-gdb: maybe-all-readline
35189 all-gdb: maybe-all-build-bison
35190 all-gdb: maybe-all-build-byacc
35191 all-gdb: maybe-all-sim
35192 install-gdb: maybe-install-tcl
35193 install-gdb: maybe-install-tk
35194 install-gdb: maybe-install-itcl
35195 install-gdb: maybe-install-libgui
35196 configure-libgui: maybe-configure-tcl
35197 configure-libgui: maybe-configure-tk
35198 all-libgui: maybe-all-tcl
35199 all-libgui: maybe-all-tk
35200 all-libgui: maybe-all-itcl
35201 configure-bfd: configure-libiberty
35203 configure-stage1-bfd: configure-stage1-libiberty
35204 configure-stage2-bfd: configure-stage2-libiberty
35205 configure-stage3-bfd: configure-stage3-libiberty
35206 configure-stage4-bfd: configure-stage4-libiberty
35207 configure-stageprofile-bfd: configure-stageprofile-libiberty
35208 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35209 all-bfd: maybe-all-libiberty
35211 all-stage1-bfd: maybe-all-stage1-libiberty
35212 all-stage2-bfd: maybe-all-stage2-libiberty
35213 all-stage3-bfd: maybe-all-stage3-libiberty
35214 all-stage4-bfd: maybe-all-stage4-libiberty
35215 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35216 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35217 all-bfd: maybe-all-intl
35219 all-stage1-bfd: maybe-all-stage1-intl
35220 all-stage2-bfd: maybe-all-stage2-intl
35221 all-stage3-bfd: maybe-all-stage3-intl
35222 all-stage4-bfd: maybe-all-stage4-intl
35223 all-stageprofile-bfd: maybe-all-stageprofile-intl
35224 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35225 all-binutils: maybe-all-libiberty
35227 all-stage1-binutils: maybe-all-stage1-libiberty
35228 all-stage2-binutils: maybe-all-stage2-libiberty
35229 all-stage3-binutils: maybe-all-stage3-libiberty
35230 all-stage4-binutils: maybe-all-stage4-libiberty
35231 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35232 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35233 all-binutils: maybe-all-opcodes
35235 all-stage1-binutils: maybe-all-stage1-opcodes
35236 all-stage2-binutils: maybe-all-stage2-opcodes
35237 all-stage3-binutils: maybe-all-stage3-opcodes
35238 all-stage4-binutils: maybe-all-stage4-opcodes
35239 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35240 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35241 all-binutils: maybe-all-bfd
35243 all-stage1-binutils: maybe-all-stage1-bfd
35244 all-stage2-binutils: maybe-all-stage2-bfd
35245 all-stage3-binutils: maybe-all-stage3-bfd
35246 all-stage4-binutils: maybe-all-stage4-bfd
35247 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35248 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35249 all-binutils: maybe-all-build-flex
35251 all-stage1-binutils: maybe-all-build-flex
35252 all-stage2-binutils: maybe-all-build-flex
35253 all-stage3-binutils: maybe-all-build-flex
35254 all-stage4-binutils: maybe-all-build-flex
35255 all-stageprofile-binutils: maybe-all-build-flex
35256 all-stagefeedback-binutils: maybe-all-build-flex
35257 all-prebootstrap: maybe-all-build-flex
35258 all-binutils: maybe-all-build-bison
35260 all-stage1-binutils: maybe-all-build-bison
35261 all-stage2-binutils: maybe-all-build-bison
35262 all-stage3-binutils: maybe-all-build-bison
35263 all-stage4-binutils: maybe-all-build-bison
35264 all-stageprofile-binutils: maybe-all-build-bison
35265 all-stagefeedback-binutils: maybe-all-build-bison
35266 all-prebootstrap: maybe-all-build-bison
35267 all-binutils: maybe-all-build-byacc
35269 all-stage1-binutils: maybe-all-build-byacc
35270 all-stage2-binutils: maybe-all-build-byacc
35271 all-stage3-binutils: maybe-all-build-byacc
35272 all-stage4-binutils: maybe-all-build-byacc
35273 all-stageprofile-binutils: maybe-all-build-byacc
35274 all-stagefeedback-binutils: maybe-all-build-byacc
35275 all-prebootstrap: maybe-all-build-byacc
35276 all-binutils: maybe-all-intl
35278 all-stage1-binutils: maybe-all-stage1-intl
35279 all-stage2-binutils: maybe-all-stage2-intl
35280 all-stage3-binutils: maybe-all-stage3-intl
35281 all-stage4-binutils: maybe-all-stage4-intl
35282 all-stageprofile-binutils: maybe-all-stageprofile-intl
35283 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35284 install-binutils: maybe-install-opcodes
35285 install-opcodes: maybe-install-bfd
35286 all-gas: maybe-all-libiberty
35288 all-stage1-gas: maybe-all-stage1-libiberty
35289 all-stage2-gas: maybe-all-stage2-libiberty
35290 all-stage3-gas: maybe-all-stage3-libiberty
35291 all-stage4-gas: maybe-all-stage4-libiberty
35292 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35293 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35294 all-gas: maybe-all-opcodes
35296 all-stage1-gas: maybe-all-stage1-opcodes
35297 all-stage2-gas: maybe-all-stage2-opcodes
35298 all-stage3-gas: maybe-all-stage3-opcodes
35299 all-stage4-gas: maybe-all-stage4-opcodes
35300 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35301 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35302 all-gas: maybe-all-bfd
35304 all-stage1-gas: maybe-all-stage1-bfd
35305 all-stage2-gas: maybe-all-stage2-bfd
35306 all-stage3-gas: maybe-all-stage3-bfd
35307 all-stage4-gas: maybe-all-stage4-bfd
35308 all-stageprofile-gas: maybe-all-stageprofile-bfd
35309 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35310 all-gas: maybe-all-intl
35312 all-stage1-gas: maybe-all-stage1-intl
35313 all-stage2-gas: maybe-all-stage2-intl
35314 all-stage3-gas: maybe-all-stage3-intl
35315 all-stage4-gas: maybe-all-stage4-intl
35316 all-stageprofile-gas: maybe-all-stageprofile-intl
35317 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35318 all-gprof: maybe-all-libiberty
35319 all-gprof: maybe-all-bfd
35320 all-gprof: maybe-all-opcodes
35321 all-gprof: maybe-all-intl
35322 all-ld: maybe-all-libiberty
35324 all-stage1-ld: maybe-all-stage1-libiberty
35325 all-stage2-ld: maybe-all-stage2-libiberty
35326 all-stage3-ld: maybe-all-stage3-libiberty
35327 all-stage4-ld: maybe-all-stage4-libiberty
35328 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35329 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35330 all-ld: maybe-all-bfd
35332 all-stage1-ld: maybe-all-stage1-bfd
35333 all-stage2-ld: maybe-all-stage2-bfd
35334 all-stage3-ld: maybe-all-stage3-bfd
35335 all-stage4-ld: maybe-all-stage4-bfd
35336 all-stageprofile-ld: maybe-all-stageprofile-bfd
35337 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35338 all-ld: maybe-all-opcodes
35340 all-stage1-ld: maybe-all-stage1-opcodes
35341 all-stage2-ld: maybe-all-stage2-opcodes
35342 all-stage3-ld: maybe-all-stage3-opcodes
35343 all-stage4-ld: maybe-all-stage4-opcodes
35344 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35345 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35346 all-ld: maybe-all-build-bison
35348 all-stage1-ld: maybe-all-build-bison
35349 all-stage2-ld: maybe-all-build-bison
35350 all-stage3-ld: maybe-all-build-bison
35351 all-stage4-ld: maybe-all-build-bison
35352 all-stageprofile-ld: maybe-all-build-bison
35353 all-stagefeedback-ld: maybe-all-build-bison
35354 all-prebootstrap: maybe-all-build-bison
35355 all-ld: maybe-all-build-byacc
35357 all-stage1-ld: maybe-all-build-byacc
35358 all-stage2-ld: maybe-all-build-byacc
35359 all-stage3-ld: maybe-all-build-byacc
35360 all-stage4-ld: maybe-all-build-byacc
35361 all-stageprofile-ld: maybe-all-build-byacc
35362 all-stagefeedback-ld: maybe-all-build-byacc
35363 all-prebootstrap: maybe-all-build-byacc
35364 all-ld: maybe-all-build-flex
35366 all-stage1-ld: maybe-all-build-flex
35367 all-stage2-ld: maybe-all-build-flex
35368 all-stage3-ld: maybe-all-build-flex
35369 all-stage4-ld: maybe-all-build-flex
35370 all-stageprofile-ld: maybe-all-build-flex
35371 all-stagefeedback-ld: maybe-all-build-flex
35372 all-prebootstrap: maybe-all-build-flex
35373 all-ld: maybe-all-intl
35375 all-stage1-ld: maybe-all-stage1-intl
35376 all-stage2-ld: maybe-all-stage2-intl
35377 all-stage3-ld: maybe-all-stage3-intl
35378 all-stage4-ld: maybe-all-stage4-intl
35379 all-stageprofile-ld: maybe-all-stageprofile-intl
35380 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35381 all-opcodes: maybe-all-bfd
35383 all-stage1-opcodes: maybe-all-stage1-bfd
35384 all-stage2-opcodes: maybe-all-stage2-bfd
35385 all-stage3-opcodes: maybe-all-stage3-bfd
35386 all-stage4-opcodes: maybe-all-stage4-bfd
35387 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35388 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35389 all-opcodes: maybe-all-libiberty
35391 all-stage1-opcodes: maybe-all-stage1-libiberty
35392 all-stage2-opcodes: maybe-all-stage2-libiberty
35393 all-stage3-opcodes: maybe-all-stage3-libiberty
35394 all-stage4-opcodes: maybe-all-stage4-libiberty
35395 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35396 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35397 all-dejagnu: maybe-all-tcl
35398 all-dejagnu: maybe-all-expect
35399 all-dejagnu: maybe-all-tk
35400 configure-expect: maybe-configure-tcl
35401 configure-expect: maybe-configure-tk
35402 all-expect: maybe-all-tcl
35403 all-expect: maybe-all-tk
35404 configure-itcl: maybe-configure-tcl
35405 configure-itcl: maybe-configure-tk
35406 all-itcl: maybe-all-tcl
35407 all-itcl: maybe-all-tk
35408 install-itcl: maybe-install-tcl
35409 configure-tk: maybe-configure-tcl
35410 all-tk: maybe-all-tcl
35411 all-sid: maybe-all-libiberty
35412 all-sid: maybe-all-bfd
35413 all-sid: maybe-all-opcodes
35414 all-sid: maybe-all-tcl
35415 all-sid: maybe-all-tk
35416 install-sid: maybe-install-tcl
35417 install-sid: maybe-install-tk
35418 all-sim: maybe-all-libiberty
35419 all-sim: maybe-all-bfd
35420 all-sim: maybe-all-opcodes
35421 all-sim: maybe-all-readline
35422 all-sim: maybe-configure-gdb
35423 all-fastjar: maybe-all-zlib
35424 all-fastjar: maybe-all-build-texinfo
35425 all-fastjar: maybe-all-libiberty
35426 all-autoconf: maybe-all-m4
35427 all-autoconf: maybe-all-build-texinfo
35428 all-automake: maybe-all-m4
35429 all-automake: maybe-all-build-texinfo
35430 all-automake: maybe-all-autoconf
35431 all-bison: maybe-all-intl
35432 all-bison: maybe-all-build-texinfo
35433 all-diff: maybe-all-intl
35434 all-diff: maybe-all-build-texinfo
35435 all-fileutils: maybe-all-intl
35436 all-fileutils: maybe-all-build-texinfo
35437 all-flex: maybe-all-build-bison
35438 all-flex: maybe-all-build-byacc
35439 all-flex: maybe-all-intl
35440 all-flex: maybe-all-m4
35441 all-flex: maybe-all-build-texinfo
35442 all-gzip: maybe-all-intl
35443 all-gzip: maybe-all-zlib
35444 all-gzip: maybe-all-build-texinfo
35445 all-hello: maybe-all-intl
35446 all-hello: maybe-all-build-texinfo
35447 all-m4: maybe-all-intl
35448 all-m4: maybe-all-build-texinfo
35449 all-make: maybe-all-intl
35450 all-make: maybe-all-build-texinfo
35451 all-patch: maybe-all-build-texinfo
35452 all-make: maybe-all-build-texinfo
35453 all-prms: maybe-all-libiberty
35454 all-recode: maybe-all-build-texinfo
35455 all-sed: maybe-all-build-texinfo
35456 all-send-pr: maybe-all-prms
35457 all-tar: maybe-all-build-texinfo
35458 all-uudecode: maybe-all-build-texinfo
35459 configure-target-boehm-gc: maybe-configure-target-qthreads
35460 configure-target-fastjar: maybe-configure-target-zlib
35461 all-target-fastjar: maybe-all-target-zlib
35462 all-target-fastjar: maybe-all-target-libiberty
35463 configure-target-libjava: maybe-configure-target-zlib
35464 configure-target-libjava: maybe-configure-target-boehm-gc
35465 configure-target-libjava: maybe-configure-target-qthreads
35466 configure-target-libjava: maybe-configure-target-libffi
35467 all-target-libjava: maybe-all-fastjar
35468 all-target-libjava: maybe-all-target-zlib
35469 all-target-libjava: maybe-all-target-boehm-gc
35470 all-target-libjava: maybe-all-target-qthreads
35471 all-target-libjava: maybe-all-target-libffi
35472 all-target-libobjc: maybe-all-target-libiberty
35473 all-target-libstdc++-v3: maybe-all-target-libiberty
35474 all-target-libgloss: maybe-configure-target-newlib
35475 all-target-winsup: maybe-all-target-libiberty
35476 all-target-winsup: maybe-all-target-libtermcap
35479 # Non-toplevel bootstrap rules must depend on several packages, to be built
35480 # before gcc. Another wart that will go away, hopefully soon.
35481 @if gcc-no-bootstrap
35483 all-prebootstrap: maybe-all-bfd
35484 all-prebootstrap: maybe-all-opcodes
35485 all-prebootstrap: maybe-all-binutils
35486 all-prebootstrap: maybe-all-gas
35487 all-prebootstrap: maybe-all-intl
35488 all-prebootstrap: maybe-all-ld
35489 all-prebootstrap: maybe-all-libcpp
35490 all-prebootstrap: maybe-all-libiberty
35491 all-prebootstrap: maybe-all-zlib
35492 @endif gcc-no-bootstrap
35494 GDB_TK = @GDB_TK@
35495 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35497 # Serialization dependencies. Host configures don't work well in parallel to
35498 # each other, due to contention over config.cache. Target configures and
35499 # build configures are similar.
35500 @serialization_dependencies@
35502 # --------------------------------
35503 # Regenerating top level configury
35504 # --------------------------------
35506 # Multilib.out tells target dirs what multilibs they should build.
35507 # There is really only one copy. We use the 'timestamp' method to
35508 # work around various timestamp bugs on some systems.
35509 # We use move-if-change so that it's only considered updated when it
35510 # actually changes, because it has to depend on a phony target.
35511 multilib.out: maybe-all-gcc
35512 @r=`${PWD_COMMAND}`; export r; \
35513 echo "Checking multilib configuration..."; \
35514 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35515 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35517 # Rebuilding Makefile.in, using autogen.
35518 AUTOGEN = autogen
35519 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35520 cd $(srcdir) && $(AUTOGEN) Makefile.def
35522 # Rebuilding Makefile.
35523 Makefile: $(srcdir)/Makefile.in config.status
35524 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35526 config.status: configure
35527 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35529 # Rebuilding configure.
35530 AUTOCONF = autoconf
35531 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35532 cd $(srcdir) && $(AUTOCONF)
35534 # ------------------------------
35535 # Special directives to GNU Make
35536 # ------------------------------
35538 # Don't pass command-line variables to submakes.
35539 .NOEXPORT:
35540 MAKEOVERRIDES=
35542 # end of Makefile.in