2005-07-24 Paolo Bonzini <bonzini@gnu.org>
[binutils.git] / Makefile.in
blob3f220086d13502aa9f986e65ae1a48c301714215
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 # During gcc bootstrap, if we use some random cc for stage1 then
366 # CFLAGS will be just -g. We want to ensure that TARGET libraries
367 # (which we know are built with gcc) are built with optimizations so
368 # prepend -O2 when setting CFLAGS_FOR_TARGET.
369 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
370 # If GCC_FOR_TARGET is not overriden on the command line, then this
371 # variable is passed down to the gcc Makefile, where it is used to
372 # build libgcc2.a. We define it here so that it can itself be
373 # overridden on the command line.
374 GCC_FOR_TARGET=@GCC_FOR_TARGET@
375 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
376 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
377 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
379 CXX_FOR_TARGET = @CXX_FOR_TARGET@
380 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
381 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
382 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
383 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
384 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
386 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
387 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
388 USUAL_DLLTOOL_FOR_TARGET = ` \
389 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
390 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
391 else \
392 if [ '$(host)' = '$(target)' ] ; then \
393 echo $(DLLTOOL); \
394 else \
395 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
396 fi; \
399 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
400 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
402 LD_FOR_TARGET=@LD_FOR_TARGET@
403 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
404 USUAL_LD_FOR_TARGET = ` \
405 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
406 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
407 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
408 $(CC_FOR_TARGET) -print-prog-name=ld ; \
409 else \
410 if [ '$(host)' = '$(target)' ] ; then \
411 echo $(LD); \
412 else \
413 echo $(CONFIGURED_LD_FOR_TARGET) ; \
414 fi; \
417 LDFLAGS_FOR_TARGET =
419 NM_FOR_TARGET=@NM_FOR_TARGET@
420 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
421 USUAL_NM_FOR_TARGET = ` \
422 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
423 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
424 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
425 $(CC_FOR_TARGET) -print-prog-name=nm ; \
426 else \
427 if [ '$(host)' = '$(target)' ] ; then \
428 echo $(NM); \
429 else \
430 echo $(CONFIGURED_NM_FOR_TARGET) ; \
431 fi; \
434 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
435 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
436 USUAL_RANLIB_FOR_TARGET = ` \
437 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
438 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
439 else \
440 if [ '$(host)' = '$(target)' ] ; then \
441 if [ x'$(RANLIB)' != x ]; then \
442 echo $(RANLIB); \
443 else \
444 echo ranlib; \
445 fi; \
446 else \
447 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
448 fi; \
451 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
452 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
453 USUAL_WINDRES_FOR_TARGET = ` \
454 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
455 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
456 else \
457 if [ '$(host)' = '$(target)' ] ; then \
458 echo $(WINDRES); \
459 else \
460 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
461 fi; \
464 PICFLAG_FOR_TARGET =
466 # ------------------------------------
467 # Miscellaneous targets and flag lists
468 # ------------------------------------
470 # The first rule in the file had better be this one. Don't put any above it.
471 # This lives here to allow makefile fragments to contain dependencies.
472 @default_target@:
474 #### host and target specific makefile fragments come in here.
475 @target_makefile_frag@
476 @alphaieee_frag@
477 @ospace_frag@
478 @host_makefile_frag@
481 # This is the list of directories that may be needed in RPATH_ENVVAR
482 # so that prorgams built for the target machine work.
483 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
485 @if target-libstdc++-v3
486 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
487 @endif target-libstdc++-v3
489 @if target-libmudflap
490 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
491 @endif target-libmudflap
493 @if target-libssp
494 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
495 @endif target-libssp
499 # This is the list of directories that may be needed in RPATH_ENVVAR
500 # so that programs built for the host machine work.
501 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
503 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
504 @if gcc
505 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
506 @endif gcc
509 @if bfd
510 HOST_LIB_PATH_bfd = \
511 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
512 @endif bfd
514 @if opcodes
515 HOST_LIB_PATH_opcodes = \
516 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
517 @endif opcodes
520 # Flags to pass down to all sub-makes.
521 BASE_FLAGS_TO_PASS = \
522 "DESTDIR=$(DESTDIR)" \
523 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
524 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
525 "bindir=$(bindir)" \
526 "datadir=$(datadir)" \
527 "exec_prefix=$(exec_prefix)" \
528 "includedir=$(includedir)" \
529 "infodir=$(infodir)" \
530 "libdir=$(libdir)" \
531 "libexecdir=$(libexecdir)" \
532 "lispdir=$(lispdir)" \
533 "localstatedir=$(localstatedir)" \
534 "mandir=$(mandir)" \
535 "oldincludedir=$(oldincludedir)" \
536 "prefix=$(prefix)" \
537 "sbindir=$(sbindir)" \
538 "sharedstatedir=$(sharedstatedir)" \
539 "sysconfdir=$(sysconfdir)" \
540 "tooldir=$(tooldir)" \
541 "build_tooldir=$(build_tooldir)" \
542 "target_alias=$(target_alias)" \
543 "BISON=$(BISON)" \
544 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
545 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
546 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
547 "EXPECT=$(EXPECT)" \
548 "FLEX=$(FLEX)" \
549 "INSTALL=$(INSTALL)" \
550 "INSTALL_DATA=$(INSTALL_DATA)" \
551 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
552 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
553 "LEX=$(LEX)" \
554 "M4=$(M4)" \
555 "MAKE=$(MAKE)" \
556 "RUNTEST=$(RUNTEST)" \
557 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
558 "SHELL=$(SHELL)" \
559 "YACC=$(YACC)" \
560 "AR_FLAGS=$(AR_FLAGS)" \
561 "CFLAGS=$(CFLAGS)" \
562 "CXXFLAGS=$(CXXFLAGS)" \
563 "LDFLAGS=$(LDFLAGS)" \
564 "LIBCFLAGS=$(LIBCFLAGS)" \
565 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
566 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
567 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
568 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
569 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
570 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
571 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
572 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
573 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
574 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
575 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
576 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
577 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
578 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
579 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
580 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
581 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
582 "CONFIG_SHELL=$(SHELL)" \
583 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
585 # For any flags above that may contain shell code that varies from one
586 # target library to another. When doing recursive invocations of the
587 # top-level Makefile, we don't want the outer make to evaluate them,
588 # so we pass these variables down unchanged. They must not contain
589 # single nor double quotes.
590 RECURSE_FLAGS = \
591 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
592 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
594 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
596 # Flags to pass down to most sub-makes, in which we're building with
597 # the host environment.
598 EXTRA_HOST_FLAGS = \
599 'AR=$(AR)' \
600 'AS=$(AS)' \
601 'CC=$(CC)' \
602 'CXX=$(CXX)' \
603 'DLLTOOL=$(DLLTOOL)' \
604 'LD=$(LD)' \
605 'NM=$(NM)' \
606 'RANLIB=$(RANLIB)' \
607 'WINDRES=$(WINDRES)'
609 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
611 # Flags that are concerned with the location of the X11 include files
612 # and library files
614 # NOTE: until the top-level is getting the values via autoconf, it only
615 # causes problems to have this top-level Makefile overriding the autoconf-set
616 # values in child directories. Only variables that don't conflict with
617 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
619 X11_FLAGS_TO_PASS = \
620 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
621 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
623 # Flags to pass down to makes which are built with the target environment.
624 # The double $ decreases the length of the command line; the variables
625 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
626 EXTRA_TARGET_FLAGS = \
627 'AR=$$(AR_FOR_TARGET)' \
628 'AS=$$(AS_FOR_TARGET)' \
629 'CC=$$(CC_FOR_TARGET)' \
630 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
631 'CXX=$$(CXX_FOR_TARGET)' \
632 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
633 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
634 'LD=$$(LD_FOR_TARGET)' \
635 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
636 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
637 'NM=$$(NM_FOR_TARGET)' \
638 'RANLIB=$$(RANLIB_FOR_TARGET)' \
639 'WINDRES=$$(WINDRES_FOR_TARGET)'
641 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
643 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
644 # unfortunately needs the native compiler and the target ar and
645 # ranlib.
646 # If any variables are added here, they must be added to do-*, below.
647 # The BUILD_* variables are a special case, which are used for the gcc
648 # cross-building scheme.
649 EXTRA_GCC_FLAGS = \
650 'BUILD_PREFIX=$(BUILD_PREFIX)' \
651 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
652 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
653 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
654 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
655 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
656 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
657 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
658 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
659 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
660 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
661 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
663 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
665 .PHONY: configure-host
666 configure-host: \
667 maybe-configure-ash \
668 maybe-configure-autoconf \
669 maybe-configure-automake \
670 maybe-configure-bash \
671 maybe-configure-bfd \
672 maybe-configure-opcodes \
673 maybe-configure-binutils \
674 maybe-configure-bison \
675 maybe-configure-byacc \
676 maybe-configure-bzip2 \
677 maybe-configure-dejagnu \
678 maybe-configure-diff \
679 maybe-configure-dosutils \
680 maybe-configure-etc \
681 maybe-configure-fastjar \
682 maybe-configure-fileutils \
683 maybe-configure-findutils \
684 maybe-configure-find \
685 maybe-configure-fixincludes \
686 maybe-configure-flex \
687 maybe-configure-gas \
688 maybe-configure-gcc \
689 maybe-configure-gawk \
690 maybe-configure-gettext \
691 maybe-configure-gnuserv \
692 maybe-configure-gprof \
693 maybe-configure-gzip \
694 maybe-configure-hello \
695 maybe-configure-indent \
696 maybe-configure-intl \
697 maybe-configure-tcl \
698 maybe-configure-itcl \
699 maybe-configure-ld \
700 maybe-configure-libcpp \
701 maybe-configure-libgui \
702 maybe-configure-libiberty \
703 maybe-configure-libtool \
704 maybe-configure-m4 \
705 maybe-configure-make \
706 maybe-configure-mmalloc \
707 maybe-configure-patch \
708 maybe-configure-perl \
709 maybe-configure-prms \
710 maybe-configure-rcs \
711 maybe-configure-readline \
712 maybe-configure-release \
713 maybe-configure-recode \
714 maybe-configure-sed \
715 maybe-configure-send-pr \
716 maybe-configure-shellutils \
717 maybe-configure-sid \
718 maybe-configure-sim \
719 maybe-configure-tar \
720 maybe-configure-texinfo \
721 maybe-configure-textutils \
722 maybe-configure-time \
723 maybe-configure-uudecode \
724 maybe-configure-wdiff \
725 maybe-configure-zip \
726 maybe-configure-zlib \
727 maybe-configure-gdb \
728 maybe-configure-expect \
729 maybe-configure-guile \
730 maybe-configure-tk \
731 maybe-configure-libtermcap \
732 maybe-configure-utils \
733 maybe-configure-gnattools
734 .PHONY: configure-target
735 configure-target: \
736 maybe-configure-target-libstdc++-v3 \
737 maybe-configure-target-libmudflap \
738 maybe-configure-target-libssp \
739 maybe-configure-target-newlib \
740 maybe-configure-target-libgfortran \
741 maybe-configure-target-libobjc \
742 maybe-configure-target-libtermcap \
743 maybe-configure-target-winsup \
744 maybe-configure-target-libgloss \
745 maybe-configure-target-libiberty \
746 maybe-configure-target-gperf \
747 maybe-configure-target-examples \
748 maybe-configure-target-libffi \
749 maybe-configure-target-libjava \
750 maybe-configure-target-zlib \
751 maybe-configure-target-boehm-gc \
752 maybe-configure-target-qthreads \
753 maybe-configure-target-rda \
754 maybe-configure-target-libada
756 # The target built for a native non-bootstrap build.
757 .PHONY: all
758 all: unstage all-host all-target stage
760 .PHONY: all-build
761 all-build: \
762 maybe-all-build-libiberty \
763 maybe-all-build-bison \
764 maybe-all-build-byacc \
765 maybe-all-build-flex \
766 maybe-all-build-m4 \
767 maybe-all-build-texinfo \
768 maybe-all-build-fixincludes
769 .PHONY: all-host
770 all-host: \
771 maybe-all-ash \
772 maybe-all-autoconf \
773 maybe-all-automake \
774 maybe-all-bash \
775 maybe-all-bfd \
776 maybe-all-opcodes \
777 maybe-all-binutils \
778 maybe-all-bison \
779 maybe-all-byacc \
780 maybe-all-bzip2 \
781 maybe-all-dejagnu \
782 maybe-all-diff \
783 maybe-all-dosutils \
784 maybe-all-etc \
785 maybe-all-fastjar \
786 maybe-all-fileutils \
787 maybe-all-findutils \
788 maybe-all-find \
789 maybe-all-fixincludes \
790 maybe-all-flex \
791 maybe-all-gas \
792 maybe-all-gcc \
793 maybe-all-gawk \
794 maybe-all-gettext \
795 maybe-all-gnuserv \
796 maybe-all-gprof \
797 maybe-all-gzip \
798 maybe-all-hello \
799 maybe-all-indent \
800 maybe-all-intl \
801 maybe-all-tcl \
802 maybe-all-itcl \
803 maybe-all-ld \
804 maybe-all-libcpp \
805 maybe-all-libgui \
806 maybe-all-libiberty \
807 maybe-all-libtool \
808 maybe-all-m4 \
809 maybe-all-make \
810 maybe-all-mmalloc \
811 maybe-all-patch \
812 maybe-all-perl \
813 maybe-all-prms \
814 maybe-all-rcs \
815 maybe-all-readline \
816 maybe-all-release \
817 maybe-all-recode \
818 maybe-all-sed \
819 maybe-all-send-pr \
820 maybe-all-shellutils \
821 maybe-all-sid \
822 maybe-all-sim \
823 maybe-all-tar \
824 maybe-all-texinfo \
825 maybe-all-textutils \
826 maybe-all-time \
827 maybe-all-uudecode \
828 maybe-all-wdiff \
829 maybe-all-zip \
830 maybe-all-zlib \
831 maybe-all-gdb \
832 maybe-all-expect \
833 maybe-all-guile \
834 maybe-all-tk \
835 maybe-all-libtermcap \
836 maybe-all-utils \
837 maybe-all-gnattools
838 .PHONY: all-target
839 all-target: \
840 maybe-all-target-libstdc++-v3 \
841 maybe-all-target-libmudflap \
842 maybe-all-target-libssp \
843 maybe-all-target-newlib \
844 maybe-all-target-libgfortran \
845 maybe-all-target-libobjc \
846 maybe-all-target-libtermcap \
847 maybe-all-target-winsup \
848 maybe-all-target-libgloss \
849 maybe-all-target-libiberty \
850 maybe-all-target-gperf \
851 maybe-all-target-examples \
852 maybe-all-target-libffi \
853 maybe-all-target-libjava \
854 maybe-all-target-zlib \
855 maybe-all-target-boehm-gc \
856 maybe-all-target-qthreads \
857 maybe-all-target-rda \
858 maybe-all-target-libada
860 # Do a target for all the subdirectories. A ``make do-X'' will do a
861 # ``make X'' in all subdirectories (because, in general, there is a
862 # dependency (below) of X upon do-X, a ``make X'' will also do this,
863 # but it may do additional work as well).
865 .PHONY: do-info
866 do-info: unstage info-host info-target stage
868 .PHONY: info-host
869 info-host: \
870 maybe-info-ash \
871 maybe-info-autoconf \
872 maybe-info-automake \
873 maybe-info-bash \
874 maybe-info-bfd \
875 maybe-info-opcodes \
876 maybe-info-binutils \
877 maybe-info-bison \
878 maybe-info-byacc \
879 maybe-info-bzip2 \
880 maybe-info-dejagnu \
881 maybe-info-diff \
882 maybe-info-dosutils \
883 maybe-info-etc \
884 maybe-info-fastjar \
885 maybe-info-fileutils \
886 maybe-info-findutils \
887 maybe-info-find \
888 maybe-info-fixincludes \
889 maybe-info-flex \
890 maybe-info-gas \
891 maybe-info-gcc \
892 maybe-info-gawk \
893 maybe-info-gettext \
894 maybe-info-gnuserv \
895 maybe-info-gprof \
896 maybe-info-gzip \
897 maybe-info-hello \
898 maybe-info-indent \
899 maybe-info-intl \
900 maybe-info-tcl \
901 maybe-info-itcl \
902 maybe-info-ld \
903 maybe-info-libcpp \
904 maybe-info-libgui \
905 maybe-info-libiberty \
906 maybe-info-libtool \
907 maybe-info-m4 \
908 maybe-info-make \
909 maybe-info-mmalloc \
910 maybe-info-patch \
911 maybe-info-perl \
912 maybe-info-prms \
913 maybe-info-rcs \
914 maybe-info-readline \
915 maybe-info-release \
916 maybe-info-recode \
917 maybe-info-sed \
918 maybe-info-send-pr \
919 maybe-info-shellutils \
920 maybe-info-sid \
921 maybe-info-sim \
922 maybe-info-tar \
923 maybe-info-texinfo \
924 maybe-info-textutils \
925 maybe-info-time \
926 maybe-info-uudecode \
927 maybe-info-wdiff \
928 maybe-info-zip \
929 maybe-info-zlib \
930 maybe-info-gdb \
931 maybe-info-expect \
932 maybe-info-guile \
933 maybe-info-tk \
934 maybe-info-libtermcap \
935 maybe-info-utils \
936 maybe-info-gnattools
938 .PHONY: info-target
939 info-target: \
940 maybe-info-target-libstdc++-v3 \
941 maybe-info-target-libmudflap \
942 maybe-info-target-libssp \
943 maybe-info-target-newlib \
944 maybe-info-target-libgfortran \
945 maybe-info-target-libobjc \
946 maybe-info-target-libtermcap \
947 maybe-info-target-winsup \
948 maybe-info-target-libgloss \
949 maybe-info-target-libiberty \
950 maybe-info-target-gperf \
951 maybe-info-target-examples \
952 maybe-info-target-libffi \
953 maybe-info-target-libjava \
954 maybe-info-target-zlib \
955 maybe-info-target-boehm-gc \
956 maybe-info-target-qthreads \
957 maybe-info-target-rda \
958 maybe-info-target-libada
960 .PHONY: do-dvi
961 do-dvi: unstage dvi-host dvi-target stage
963 .PHONY: dvi-host
964 dvi-host: \
965 maybe-dvi-ash \
966 maybe-dvi-autoconf \
967 maybe-dvi-automake \
968 maybe-dvi-bash \
969 maybe-dvi-bfd \
970 maybe-dvi-opcodes \
971 maybe-dvi-binutils \
972 maybe-dvi-bison \
973 maybe-dvi-byacc \
974 maybe-dvi-bzip2 \
975 maybe-dvi-dejagnu \
976 maybe-dvi-diff \
977 maybe-dvi-dosutils \
978 maybe-dvi-etc \
979 maybe-dvi-fastjar \
980 maybe-dvi-fileutils \
981 maybe-dvi-findutils \
982 maybe-dvi-find \
983 maybe-dvi-fixincludes \
984 maybe-dvi-flex \
985 maybe-dvi-gas \
986 maybe-dvi-gcc \
987 maybe-dvi-gawk \
988 maybe-dvi-gettext \
989 maybe-dvi-gnuserv \
990 maybe-dvi-gprof \
991 maybe-dvi-gzip \
992 maybe-dvi-hello \
993 maybe-dvi-indent \
994 maybe-dvi-intl \
995 maybe-dvi-tcl \
996 maybe-dvi-itcl \
997 maybe-dvi-ld \
998 maybe-dvi-libcpp \
999 maybe-dvi-libgui \
1000 maybe-dvi-libiberty \
1001 maybe-dvi-libtool \
1002 maybe-dvi-m4 \
1003 maybe-dvi-make \
1004 maybe-dvi-mmalloc \
1005 maybe-dvi-patch \
1006 maybe-dvi-perl \
1007 maybe-dvi-prms \
1008 maybe-dvi-rcs \
1009 maybe-dvi-readline \
1010 maybe-dvi-release \
1011 maybe-dvi-recode \
1012 maybe-dvi-sed \
1013 maybe-dvi-send-pr \
1014 maybe-dvi-shellutils \
1015 maybe-dvi-sid \
1016 maybe-dvi-sim \
1017 maybe-dvi-tar \
1018 maybe-dvi-texinfo \
1019 maybe-dvi-textutils \
1020 maybe-dvi-time \
1021 maybe-dvi-uudecode \
1022 maybe-dvi-wdiff \
1023 maybe-dvi-zip \
1024 maybe-dvi-zlib \
1025 maybe-dvi-gdb \
1026 maybe-dvi-expect \
1027 maybe-dvi-guile \
1028 maybe-dvi-tk \
1029 maybe-dvi-libtermcap \
1030 maybe-dvi-utils \
1031 maybe-dvi-gnattools
1033 .PHONY: dvi-target
1034 dvi-target: \
1035 maybe-dvi-target-libstdc++-v3 \
1036 maybe-dvi-target-libmudflap \
1037 maybe-dvi-target-libssp \
1038 maybe-dvi-target-newlib \
1039 maybe-dvi-target-libgfortran \
1040 maybe-dvi-target-libobjc \
1041 maybe-dvi-target-libtermcap \
1042 maybe-dvi-target-winsup \
1043 maybe-dvi-target-libgloss \
1044 maybe-dvi-target-libiberty \
1045 maybe-dvi-target-gperf \
1046 maybe-dvi-target-examples \
1047 maybe-dvi-target-libffi \
1048 maybe-dvi-target-libjava \
1049 maybe-dvi-target-zlib \
1050 maybe-dvi-target-boehm-gc \
1051 maybe-dvi-target-qthreads \
1052 maybe-dvi-target-rda \
1053 maybe-dvi-target-libada
1055 .PHONY: do-html
1056 do-html: unstage html-host html-target stage
1058 .PHONY: html-host
1059 html-host: \
1060 maybe-html-ash \
1061 maybe-html-autoconf \
1062 maybe-html-automake \
1063 maybe-html-bash \
1064 maybe-html-bfd \
1065 maybe-html-opcodes \
1066 maybe-html-binutils \
1067 maybe-html-bison \
1068 maybe-html-byacc \
1069 maybe-html-bzip2 \
1070 maybe-html-dejagnu \
1071 maybe-html-diff \
1072 maybe-html-dosutils \
1073 maybe-html-etc \
1074 maybe-html-fastjar \
1075 maybe-html-fileutils \
1076 maybe-html-findutils \
1077 maybe-html-find \
1078 maybe-html-fixincludes \
1079 maybe-html-flex \
1080 maybe-html-gas \
1081 maybe-html-gcc \
1082 maybe-html-gawk \
1083 maybe-html-gettext \
1084 maybe-html-gnuserv \
1085 maybe-html-gprof \
1086 maybe-html-gzip \
1087 maybe-html-hello \
1088 maybe-html-indent \
1089 maybe-html-intl \
1090 maybe-html-tcl \
1091 maybe-html-itcl \
1092 maybe-html-ld \
1093 maybe-html-libcpp \
1094 maybe-html-libgui \
1095 maybe-html-libiberty \
1096 maybe-html-libtool \
1097 maybe-html-m4 \
1098 maybe-html-make \
1099 maybe-html-mmalloc \
1100 maybe-html-patch \
1101 maybe-html-perl \
1102 maybe-html-prms \
1103 maybe-html-rcs \
1104 maybe-html-readline \
1105 maybe-html-release \
1106 maybe-html-recode \
1107 maybe-html-sed \
1108 maybe-html-send-pr \
1109 maybe-html-shellutils \
1110 maybe-html-sid \
1111 maybe-html-sim \
1112 maybe-html-tar \
1113 maybe-html-texinfo \
1114 maybe-html-textutils \
1115 maybe-html-time \
1116 maybe-html-uudecode \
1117 maybe-html-wdiff \
1118 maybe-html-zip \
1119 maybe-html-zlib \
1120 maybe-html-gdb \
1121 maybe-html-expect \
1122 maybe-html-guile \
1123 maybe-html-tk \
1124 maybe-html-libtermcap \
1125 maybe-html-utils \
1126 maybe-html-gnattools
1128 .PHONY: html-target
1129 html-target: \
1130 maybe-html-target-libstdc++-v3 \
1131 maybe-html-target-libmudflap \
1132 maybe-html-target-libssp \
1133 maybe-html-target-newlib \
1134 maybe-html-target-libgfortran \
1135 maybe-html-target-libobjc \
1136 maybe-html-target-libtermcap \
1137 maybe-html-target-winsup \
1138 maybe-html-target-libgloss \
1139 maybe-html-target-libiberty \
1140 maybe-html-target-gperf \
1141 maybe-html-target-examples \
1142 maybe-html-target-libffi \
1143 maybe-html-target-libjava \
1144 maybe-html-target-zlib \
1145 maybe-html-target-boehm-gc \
1146 maybe-html-target-qthreads \
1147 maybe-html-target-rda \
1148 maybe-html-target-libada
1150 .PHONY: do-TAGS
1151 do-TAGS: unstage TAGS-host TAGS-target stage
1153 .PHONY: TAGS-host
1154 TAGS-host: \
1155 maybe-TAGS-ash \
1156 maybe-TAGS-autoconf \
1157 maybe-TAGS-automake \
1158 maybe-TAGS-bash \
1159 maybe-TAGS-bfd \
1160 maybe-TAGS-opcodes \
1161 maybe-TAGS-binutils \
1162 maybe-TAGS-bison \
1163 maybe-TAGS-byacc \
1164 maybe-TAGS-bzip2 \
1165 maybe-TAGS-dejagnu \
1166 maybe-TAGS-diff \
1167 maybe-TAGS-dosutils \
1168 maybe-TAGS-etc \
1169 maybe-TAGS-fastjar \
1170 maybe-TAGS-fileutils \
1171 maybe-TAGS-findutils \
1172 maybe-TAGS-find \
1173 maybe-TAGS-fixincludes \
1174 maybe-TAGS-flex \
1175 maybe-TAGS-gas \
1176 maybe-TAGS-gcc \
1177 maybe-TAGS-gawk \
1178 maybe-TAGS-gettext \
1179 maybe-TAGS-gnuserv \
1180 maybe-TAGS-gprof \
1181 maybe-TAGS-gzip \
1182 maybe-TAGS-hello \
1183 maybe-TAGS-indent \
1184 maybe-TAGS-intl \
1185 maybe-TAGS-tcl \
1186 maybe-TAGS-itcl \
1187 maybe-TAGS-ld \
1188 maybe-TAGS-libcpp \
1189 maybe-TAGS-libgui \
1190 maybe-TAGS-libiberty \
1191 maybe-TAGS-libtool \
1192 maybe-TAGS-m4 \
1193 maybe-TAGS-make \
1194 maybe-TAGS-mmalloc \
1195 maybe-TAGS-patch \
1196 maybe-TAGS-perl \
1197 maybe-TAGS-prms \
1198 maybe-TAGS-rcs \
1199 maybe-TAGS-readline \
1200 maybe-TAGS-release \
1201 maybe-TAGS-recode \
1202 maybe-TAGS-sed \
1203 maybe-TAGS-send-pr \
1204 maybe-TAGS-shellutils \
1205 maybe-TAGS-sid \
1206 maybe-TAGS-sim \
1207 maybe-TAGS-tar \
1208 maybe-TAGS-texinfo \
1209 maybe-TAGS-textutils \
1210 maybe-TAGS-time \
1211 maybe-TAGS-uudecode \
1212 maybe-TAGS-wdiff \
1213 maybe-TAGS-zip \
1214 maybe-TAGS-zlib \
1215 maybe-TAGS-gdb \
1216 maybe-TAGS-expect \
1217 maybe-TAGS-guile \
1218 maybe-TAGS-tk \
1219 maybe-TAGS-libtermcap \
1220 maybe-TAGS-utils \
1221 maybe-TAGS-gnattools
1223 .PHONY: TAGS-target
1224 TAGS-target: \
1225 maybe-TAGS-target-libstdc++-v3 \
1226 maybe-TAGS-target-libmudflap \
1227 maybe-TAGS-target-libssp \
1228 maybe-TAGS-target-newlib \
1229 maybe-TAGS-target-libgfortran \
1230 maybe-TAGS-target-libobjc \
1231 maybe-TAGS-target-libtermcap \
1232 maybe-TAGS-target-winsup \
1233 maybe-TAGS-target-libgloss \
1234 maybe-TAGS-target-libiberty \
1235 maybe-TAGS-target-gperf \
1236 maybe-TAGS-target-examples \
1237 maybe-TAGS-target-libffi \
1238 maybe-TAGS-target-libjava \
1239 maybe-TAGS-target-zlib \
1240 maybe-TAGS-target-boehm-gc \
1241 maybe-TAGS-target-qthreads \
1242 maybe-TAGS-target-rda \
1243 maybe-TAGS-target-libada
1245 .PHONY: do-install-info
1246 do-install-info: unstage install-info-host install-info-target stage
1248 .PHONY: install-info-host
1249 install-info-host: \
1250 maybe-install-info-ash \
1251 maybe-install-info-autoconf \
1252 maybe-install-info-automake \
1253 maybe-install-info-bash \
1254 maybe-install-info-bfd \
1255 maybe-install-info-opcodes \
1256 maybe-install-info-binutils \
1257 maybe-install-info-bison \
1258 maybe-install-info-byacc \
1259 maybe-install-info-bzip2 \
1260 maybe-install-info-dejagnu \
1261 maybe-install-info-diff \
1262 maybe-install-info-dosutils \
1263 maybe-install-info-etc \
1264 maybe-install-info-fastjar \
1265 maybe-install-info-fileutils \
1266 maybe-install-info-findutils \
1267 maybe-install-info-find \
1268 maybe-install-info-fixincludes \
1269 maybe-install-info-flex \
1270 maybe-install-info-gas \
1271 maybe-install-info-gcc \
1272 maybe-install-info-gawk \
1273 maybe-install-info-gettext \
1274 maybe-install-info-gnuserv \
1275 maybe-install-info-gprof \
1276 maybe-install-info-gzip \
1277 maybe-install-info-hello \
1278 maybe-install-info-indent \
1279 maybe-install-info-intl \
1280 maybe-install-info-tcl \
1281 maybe-install-info-itcl \
1282 maybe-install-info-ld \
1283 maybe-install-info-libcpp \
1284 maybe-install-info-libgui \
1285 maybe-install-info-libiberty \
1286 maybe-install-info-libtool \
1287 maybe-install-info-m4 \
1288 maybe-install-info-make \
1289 maybe-install-info-mmalloc \
1290 maybe-install-info-patch \
1291 maybe-install-info-perl \
1292 maybe-install-info-prms \
1293 maybe-install-info-rcs \
1294 maybe-install-info-readline \
1295 maybe-install-info-release \
1296 maybe-install-info-recode \
1297 maybe-install-info-sed \
1298 maybe-install-info-send-pr \
1299 maybe-install-info-shellutils \
1300 maybe-install-info-sid \
1301 maybe-install-info-sim \
1302 maybe-install-info-tar \
1303 maybe-install-info-texinfo \
1304 maybe-install-info-textutils \
1305 maybe-install-info-time \
1306 maybe-install-info-uudecode \
1307 maybe-install-info-wdiff \
1308 maybe-install-info-zip \
1309 maybe-install-info-zlib \
1310 maybe-install-info-gdb \
1311 maybe-install-info-expect \
1312 maybe-install-info-guile \
1313 maybe-install-info-tk \
1314 maybe-install-info-libtermcap \
1315 maybe-install-info-utils \
1316 maybe-install-info-gnattools
1318 .PHONY: install-info-target
1319 install-info-target: \
1320 maybe-install-info-target-libstdc++-v3 \
1321 maybe-install-info-target-libmudflap \
1322 maybe-install-info-target-libssp \
1323 maybe-install-info-target-newlib \
1324 maybe-install-info-target-libgfortran \
1325 maybe-install-info-target-libobjc \
1326 maybe-install-info-target-libtermcap \
1327 maybe-install-info-target-winsup \
1328 maybe-install-info-target-libgloss \
1329 maybe-install-info-target-libiberty \
1330 maybe-install-info-target-gperf \
1331 maybe-install-info-target-examples \
1332 maybe-install-info-target-libffi \
1333 maybe-install-info-target-libjava \
1334 maybe-install-info-target-zlib \
1335 maybe-install-info-target-boehm-gc \
1336 maybe-install-info-target-qthreads \
1337 maybe-install-info-target-rda \
1338 maybe-install-info-target-libada
1340 .PHONY: do-installcheck
1341 do-installcheck: unstage installcheck-host installcheck-target stage
1343 .PHONY: installcheck-host
1344 installcheck-host: \
1345 maybe-installcheck-ash \
1346 maybe-installcheck-autoconf \
1347 maybe-installcheck-automake \
1348 maybe-installcheck-bash \
1349 maybe-installcheck-bfd \
1350 maybe-installcheck-opcodes \
1351 maybe-installcheck-binutils \
1352 maybe-installcheck-bison \
1353 maybe-installcheck-byacc \
1354 maybe-installcheck-bzip2 \
1355 maybe-installcheck-dejagnu \
1356 maybe-installcheck-diff \
1357 maybe-installcheck-dosutils \
1358 maybe-installcheck-etc \
1359 maybe-installcheck-fastjar \
1360 maybe-installcheck-fileutils \
1361 maybe-installcheck-findutils \
1362 maybe-installcheck-find \
1363 maybe-installcheck-fixincludes \
1364 maybe-installcheck-flex \
1365 maybe-installcheck-gas \
1366 maybe-installcheck-gcc \
1367 maybe-installcheck-gawk \
1368 maybe-installcheck-gettext \
1369 maybe-installcheck-gnuserv \
1370 maybe-installcheck-gprof \
1371 maybe-installcheck-gzip \
1372 maybe-installcheck-hello \
1373 maybe-installcheck-indent \
1374 maybe-installcheck-intl \
1375 maybe-installcheck-tcl \
1376 maybe-installcheck-itcl \
1377 maybe-installcheck-ld \
1378 maybe-installcheck-libcpp \
1379 maybe-installcheck-libgui \
1380 maybe-installcheck-libiberty \
1381 maybe-installcheck-libtool \
1382 maybe-installcheck-m4 \
1383 maybe-installcheck-make \
1384 maybe-installcheck-mmalloc \
1385 maybe-installcheck-patch \
1386 maybe-installcheck-perl \
1387 maybe-installcheck-prms \
1388 maybe-installcheck-rcs \
1389 maybe-installcheck-readline \
1390 maybe-installcheck-release \
1391 maybe-installcheck-recode \
1392 maybe-installcheck-sed \
1393 maybe-installcheck-send-pr \
1394 maybe-installcheck-shellutils \
1395 maybe-installcheck-sid \
1396 maybe-installcheck-sim \
1397 maybe-installcheck-tar \
1398 maybe-installcheck-texinfo \
1399 maybe-installcheck-textutils \
1400 maybe-installcheck-time \
1401 maybe-installcheck-uudecode \
1402 maybe-installcheck-wdiff \
1403 maybe-installcheck-zip \
1404 maybe-installcheck-zlib \
1405 maybe-installcheck-gdb \
1406 maybe-installcheck-expect \
1407 maybe-installcheck-guile \
1408 maybe-installcheck-tk \
1409 maybe-installcheck-libtermcap \
1410 maybe-installcheck-utils \
1411 maybe-installcheck-gnattools
1413 .PHONY: installcheck-target
1414 installcheck-target: \
1415 maybe-installcheck-target-libstdc++-v3 \
1416 maybe-installcheck-target-libmudflap \
1417 maybe-installcheck-target-libssp \
1418 maybe-installcheck-target-newlib \
1419 maybe-installcheck-target-libgfortran \
1420 maybe-installcheck-target-libobjc \
1421 maybe-installcheck-target-libtermcap \
1422 maybe-installcheck-target-winsup \
1423 maybe-installcheck-target-libgloss \
1424 maybe-installcheck-target-libiberty \
1425 maybe-installcheck-target-gperf \
1426 maybe-installcheck-target-examples \
1427 maybe-installcheck-target-libffi \
1428 maybe-installcheck-target-libjava \
1429 maybe-installcheck-target-zlib \
1430 maybe-installcheck-target-boehm-gc \
1431 maybe-installcheck-target-qthreads \
1432 maybe-installcheck-target-rda \
1433 maybe-installcheck-target-libada
1435 .PHONY: do-mostlyclean
1436 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1438 .PHONY: mostlyclean-host
1439 mostlyclean-host: \
1440 maybe-mostlyclean-ash \
1441 maybe-mostlyclean-autoconf \
1442 maybe-mostlyclean-automake \
1443 maybe-mostlyclean-bash \
1444 maybe-mostlyclean-bfd \
1445 maybe-mostlyclean-opcodes \
1446 maybe-mostlyclean-binutils \
1447 maybe-mostlyclean-bison \
1448 maybe-mostlyclean-byacc \
1449 maybe-mostlyclean-bzip2 \
1450 maybe-mostlyclean-dejagnu \
1451 maybe-mostlyclean-diff \
1452 maybe-mostlyclean-dosutils \
1453 maybe-mostlyclean-etc \
1454 maybe-mostlyclean-fastjar \
1455 maybe-mostlyclean-fileutils \
1456 maybe-mostlyclean-findutils \
1457 maybe-mostlyclean-find \
1458 maybe-mostlyclean-fixincludes \
1459 maybe-mostlyclean-flex \
1460 maybe-mostlyclean-gas \
1461 maybe-mostlyclean-gcc \
1462 maybe-mostlyclean-gawk \
1463 maybe-mostlyclean-gettext \
1464 maybe-mostlyclean-gnuserv \
1465 maybe-mostlyclean-gprof \
1466 maybe-mostlyclean-gzip \
1467 maybe-mostlyclean-hello \
1468 maybe-mostlyclean-indent \
1469 maybe-mostlyclean-intl \
1470 maybe-mostlyclean-tcl \
1471 maybe-mostlyclean-itcl \
1472 maybe-mostlyclean-ld \
1473 maybe-mostlyclean-libcpp \
1474 maybe-mostlyclean-libgui \
1475 maybe-mostlyclean-libiberty \
1476 maybe-mostlyclean-libtool \
1477 maybe-mostlyclean-m4 \
1478 maybe-mostlyclean-make \
1479 maybe-mostlyclean-mmalloc \
1480 maybe-mostlyclean-patch \
1481 maybe-mostlyclean-perl \
1482 maybe-mostlyclean-prms \
1483 maybe-mostlyclean-rcs \
1484 maybe-mostlyclean-readline \
1485 maybe-mostlyclean-release \
1486 maybe-mostlyclean-recode \
1487 maybe-mostlyclean-sed \
1488 maybe-mostlyclean-send-pr \
1489 maybe-mostlyclean-shellutils \
1490 maybe-mostlyclean-sid \
1491 maybe-mostlyclean-sim \
1492 maybe-mostlyclean-tar \
1493 maybe-mostlyclean-texinfo \
1494 maybe-mostlyclean-textutils \
1495 maybe-mostlyclean-time \
1496 maybe-mostlyclean-uudecode \
1497 maybe-mostlyclean-wdiff \
1498 maybe-mostlyclean-zip \
1499 maybe-mostlyclean-zlib \
1500 maybe-mostlyclean-gdb \
1501 maybe-mostlyclean-expect \
1502 maybe-mostlyclean-guile \
1503 maybe-mostlyclean-tk \
1504 maybe-mostlyclean-libtermcap \
1505 maybe-mostlyclean-utils \
1506 maybe-mostlyclean-gnattools
1508 .PHONY: mostlyclean-target
1509 mostlyclean-target: \
1510 maybe-mostlyclean-target-libstdc++-v3 \
1511 maybe-mostlyclean-target-libmudflap \
1512 maybe-mostlyclean-target-libssp \
1513 maybe-mostlyclean-target-newlib \
1514 maybe-mostlyclean-target-libgfortran \
1515 maybe-mostlyclean-target-libobjc \
1516 maybe-mostlyclean-target-libtermcap \
1517 maybe-mostlyclean-target-winsup \
1518 maybe-mostlyclean-target-libgloss \
1519 maybe-mostlyclean-target-libiberty \
1520 maybe-mostlyclean-target-gperf \
1521 maybe-mostlyclean-target-examples \
1522 maybe-mostlyclean-target-libffi \
1523 maybe-mostlyclean-target-libjava \
1524 maybe-mostlyclean-target-zlib \
1525 maybe-mostlyclean-target-boehm-gc \
1526 maybe-mostlyclean-target-qthreads \
1527 maybe-mostlyclean-target-rda \
1528 maybe-mostlyclean-target-libada
1530 .PHONY: do-clean
1531 do-clean: unstage clean-host clean-target stage
1533 .PHONY: clean-host
1534 clean-host: \
1535 maybe-clean-ash \
1536 maybe-clean-autoconf \
1537 maybe-clean-automake \
1538 maybe-clean-bash \
1539 maybe-clean-bfd \
1540 maybe-clean-opcodes \
1541 maybe-clean-binutils \
1542 maybe-clean-bison \
1543 maybe-clean-byacc \
1544 maybe-clean-bzip2 \
1545 maybe-clean-dejagnu \
1546 maybe-clean-diff \
1547 maybe-clean-dosutils \
1548 maybe-clean-etc \
1549 maybe-clean-fastjar \
1550 maybe-clean-fileutils \
1551 maybe-clean-findutils \
1552 maybe-clean-find \
1553 maybe-clean-fixincludes \
1554 maybe-clean-flex \
1555 maybe-clean-gas \
1556 maybe-clean-gcc \
1557 maybe-clean-gawk \
1558 maybe-clean-gettext \
1559 maybe-clean-gnuserv \
1560 maybe-clean-gprof \
1561 maybe-clean-gzip \
1562 maybe-clean-hello \
1563 maybe-clean-indent \
1564 maybe-clean-intl \
1565 maybe-clean-tcl \
1566 maybe-clean-itcl \
1567 maybe-clean-ld \
1568 maybe-clean-libcpp \
1569 maybe-clean-libgui \
1570 maybe-clean-libiberty \
1571 maybe-clean-libtool \
1572 maybe-clean-m4 \
1573 maybe-clean-make \
1574 maybe-clean-mmalloc \
1575 maybe-clean-patch \
1576 maybe-clean-perl \
1577 maybe-clean-prms \
1578 maybe-clean-rcs \
1579 maybe-clean-readline \
1580 maybe-clean-release \
1581 maybe-clean-recode \
1582 maybe-clean-sed \
1583 maybe-clean-send-pr \
1584 maybe-clean-shellutils \
1585 maybe-clean-sid \
1586 maybe-clean-sim \
1587 maybe-clean-tar \
1588 maybe-clean-texinfo \
1589 maybe-clean-textutils \
1590 maybe-clean-time \
1591 maybe-clean-uudecode \
1592 maybe-clean-wdiff \
1593 maybe-clean-zip \
1594 maybe-clean-zlib \
1595 maybe-clean-gdb \
1596 maybe-clean-expect \
1597 maybe-clean-guile \
1598 maybe-clean-tk \
1599 maybe-clean-libtermcap \
1600 maybe-clean-utils \
1601 maybe-clean-gnattools
1603 .PHONY: clean-target
1604 clean-target: \
1605 maybe-clean-target-libstdc++-v3 \
1606 maybe-clean-target-libmudflap \
1607 maybe-clean-target-libssp \
1608 maybe-clean-target-newlib \
1609 maybe-clean-target-libgfortran \
1610 maybe-clean-target-libobjc \
1611 maybe-clean-target-libtermcap \
1612 maybe-clean-target-winsup \
1613 maybe-clean-target-libgloss \
1614 maybe-clean-target-libiberty \
1615 maybe-clean-target-gperf \
1616 maybe-clean-target-examples \
1617 maybe-clean-target-libffi \
1618 maybe-clean-target-libjava \
1619 maybe-clean-target-zlib \
1620 maybe-clean-target-boehm-gc \
1621 maybe-clean-target-qthreads \
1622 maybe-clean-target-rda \
1623 maybe-clean-target-libada
1625 .PHONY: do-distclean
1626 do-distclean: unstage distclean-host distclean-target stage
1628 .PHONY: distclean-host
1629 distclean-host: \
1630 maybe-distclean-ash \
1631 maybe-distclean-autoconf \
1632 maybe-distclean-automake \
1633 maybe-distclean-bash \
1634 maybe-distclean-bfd \
1635 maybe-distclean-opcodes \
1636 maybe-distclean-binutils \
1637 maybe-distclean-bison \
1638 maybe-distclean-byacc \
1639 maybe-distclean-bzip2 \
1640 maybe-distclean-dejagnu \
1641 maybe-distclean-diff \
1642 maybe-distclean-dosutils \
1643 maybe-distclean-etc \
1644 maybe-distclean-fastjar \
1645 maybe-distclean-fileutils \
1646 maybe-distclean-findutils \
1647 maybe-distclean-find \
1648 maybe-distclean-fixincludes \
1649 maybe-distclean-flex \
1650 maybe-distclean-gas \
1651 maybe-distclean-gcc \
1652 maybe-distclean-gawk \
1653 maybe-distclean-gettext \
1654 maybe-distclean-gnuserv \
1655 maybe-distclean-gprof \
1656 maybe-distclean-gzip \
1657 maybe-distclean-hello \
1658 maybe-distclean-indent \
1659 maybe-distclean-intl \
1660 maybe-distclean-tcl \
1661 maybe-distclean-itcl \
1662 maybe-distclean-ld \
1663 maybe-distclean-libcpp \
1664 maybe-distclean-libgui \
1665 maybe-distclean-libiberty \
1666 maybe-distclean-libtool \
1667 maybe-distclean-m4 \
1668 maybe-distclean-make \
1669 maybe-distclean-mmalloc \
1670 maybe-distclean-patch \
1671 maybe-distclean-perl \
1672 maybe-distclean-prms \
1673 maybe-distclean-rcs \
1674 maybe-distclean-readline \
1675 maybe-distclean-release \
1676 maybe-distclean-recode \
1677 maybe-distclean-sed \
1678 maybe-distclean-send-pr \
1679 maybe-distclean-shellutils \
1680 maybe-distclean-sid \
1681 maybe-distclean-sim \
1682 maybe-distclean-tar \
1683 maybe-distclean-texinfo \
1684 maybe-distclean-textutils \
1685 maybe-distclean-time \
1686 maybe-distclean-uudecode \
1687 maybe-distclean-wdiff \
1688 maybe-distclean-zip \
1689 maybe-distclean-zlib \
1690 maybe-distclean-gdb \
1691 maybe-distclean-expect \
1692 maybe-distclean-guile \
1693 maybe-distclean-tk \
1694 maybe-distclean-libtermcap \
1695 maybe-distclean-utils \
1696 maybe-distclean-gnattools
1698 .PHONY: distclean-target
1699 distclean-target: \
1700 maybe-distclean-target-libstdc++-v3 \
1701 maybe-distclean-target-libmudflap \
1702 maybe-distclean-target-libssp \
1703 maybe-distclean-target-newlib \
1704 maybe-distclean-target-libgfortran \
1705 maybe-distclean-target-libobjc \
1706 maybe-distclean-target-libtermcap \
1707 maybe-distclean-target-winsup \
1708 maybe-distclean-target-libgloss \
1709 maybe-distclean-target-libiberty \
1710 maybe-distclean-target-gperf \
1711 maybe-distclean-target-examples \
1712 maybe-distclean-target-libffi \
1713 maybe-distclean-target-libjava \
1714 maybe-distclean-target-zlib \
1715 maybe-distclean-target-boehm-gc \
1716 maybe-distclean-target-qthreads \
1717 maybe-distclean-target-rda \
1718 maybe-distclean-target-libada
1720 .PHONY: do-maintainer-clean
1721 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1723 .PHONY: maintainer-clean-host
1724 maintainer-clean-host: \
1725 maybe-maintainer-clean-ash \
1726 maybe-maintainer-clean-autoconf \
1727 maybe-maintainer-clean-automake \
1728 maybe-maintainer-clean-bash \
1729 maybe-maintainer-clean-bfd \
1730 maybe-maintainer-clean-opcodes \
1731 maybe-maintainer-clean-binutils \
1732 maybe-maintainer-clean-bison \
1733 maybe-maintainer-clean-byacc \
1734 maybe-maintainer-clean-bzip2 \
1735 maybe-maintainer-clean-dejagnu \
1736 maybe-maintainer-clean-diff \
1737 maybe-maintainer-clean-dosutils \
1738 maybe-maintainer-clean-etc \
1739 maybe-maintainer-clean-fastjar \
1740 maybe-maintainer-clean-fileutils \
1741 maybe-maintainer-clean-findutils \
1742 maybe-maintainer-clean-find \
1743 maybe-maintainer-clean-fixincludes \
1744 maybe-maintainer-clean-flex \
1745 maybe-maintainer-clean-gas \
1746 maybe-maintainer-clean-gcc \
1747 maybe-maintainer-clean-gawk \
1748 maybe-maintainer-clean-gettext \
1749 maybe-maintainer-clean-gnuserv \
1750 maybe-maintainer-clean-gprof \
1751 maybe-maintainer-clean-gzip \
1752 maybe-maintainer-clean-hello \
1753 maybe-maintainer-clean-indent \
1754 maybe-maintainer-clean-intl \
1755 maybe-maintainer-clean-tcl \
1756 maybe-maintainer-clean-itcl \
1757 maybe-maintainer-clean-ld \
1758 maybe-maintainer-clean-libcpp \
1759 maybe-maintainer-clean-libgui \
1760 maybe-maintainer-clean-libiberty \
1761 maybe-maintainer-clean-libtool \
1762 maybe-maintainer-clean-m4 \
1763 maybe-maintainer-clean-make \
1764 maybe-maintainer-clean-mmalloc \
1765 maybe-maintainer-clean-patch \
1766 maybe-maintainer-clean-perl \
1767 maybe-maintainer-clean-prms \
1768 maybe-maintainer-clean-rcs \
1769 maybe-maintainer-clean-readline \
1770 maybe-maintainer-clean-release \
1771 maybe-maintainer-clean-recode \
1772 maybe-maintainer-clean-sed \
1773 maybe-maintainer-clean-send-pr \
1774 maybe-maintainer-clean-shellutils \
1775 maybe-maintainer-clean-sid \
1776 maybe-maintainer-clean-sim \
1777 maybe-maintainer-clean-tar \
1778 maybe-maintainer-clean-texinfo \
1779 maybe-maintainer-clean-textutils \
1780 maybe-maintainer-clean-time \
1781 maybe-maintainer-clean-uudecode \
1782 maybe-maintainer-clean-wdiff \
1783 maybe-maintainer-clean-zip \
1784 maybe-maintainer-clean-zlib \
1785 maybe-maintainer-clean-gdb \
1786 maybe-maintainer-clean-expect \
1787 maybe-maintainer-clean-guile \
1788 maybe-maintainer-clean-tk \
1789 maybe-maintainer-clean-libtermcap \
1790 maybe-maintainer-clean-utils \
1791 maybe-maintainer-clean-gnattools
1793 .PHONY: maintainer-clean-target
1794 maintainer-clean-target: \
1795 maybe-maintainer-clean-target-libstdc++-v3 \
1796 maybe-maintainer-clean-target-libmudflap \
1797 maybe-maintainer-clean-target-libssp \
1798 maybe-maintainer-clean-target-newlib \
1799 maybe-maintainer-clean-target-libgfortran \
1800 maybe-maintainer-clean-target-libobjc \
1801 maybe-maintainer-clean-target-libtermcap \
1802 maybe-maintainer-clean-target-winsup \
1803 maybe-maintainer-clean-target-libgloss \
1804 maybe-maintainer-clean-target-libiberty \
1805 maybe-maintainer-clean-target-gperf \
1806 maybe-maintainer-clean-target-examples \
1807 maybe-maintainer-clean-target-libffi \
1808 maybe-maintainer-clean-target-libjava \
1809 maybe-maintainer-clean-target-zlib \
1810 maybe-maintainer-clean-target-boehm-gc \
1811 maybe-maintainer-clean-target-qthreads \
1812 maybe-maintainer-clean-target-rda \
1813 maybe-maintainer-clean-target-libada
1816 # Here are the targets which correspond to the do-X targets.
1818 .PHONY: info installcheck dvi html install-info
1819 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1820 .PHONY: local-clean local-distclean local-maintainer-clean
1821 info: do-info
1822 installcheck: do-installcheck
1823 dvi: do-dvi
1824 html: do-html
1826 # Make sure makeinfo is built before we do a `make info', if we're
1827 # in fact building texinfo.
1828 do-info: maybe-all-texinfo
1830 install-info: do-install-info dir.info
1831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1832 if [ -f dir.info ] ; then \
1833 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1834 else true ; fi
1836 local-clean:
1837 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1839 local-distclean:
1840 -rm -f Makefile config.status config.cache mh-frag mt-frag
1841 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1842 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1843 rm -rf $(TARGET_SUBDIR); \
1844 else true; fi
1845 -rm -rf $(BUILD_SUBDIR)
1846 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1847 rm -rf $(HOST_SUBDIR); \
1848 else true; fi
1849 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1850 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1851 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1852 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1853 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1855 local-maintainer-clean:
1856 @echo "This command is intended for maintainers to use;"
1857 @echo "it deletes files that may require special tools to rebuild."
1859 clean: do-clean local-clean
1860 mostlyclean: do-mostlyclean local-clean
1861 distclean: do-distclean local-clean local-distclean
1862 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1863 maintainer-clean: local-distclean
1864 realclean: maintainer-clean
1866 # Extra dependency for clean-target, owing to the mixed nature of gcc
1867 clean-target: clean-target-libgcc
1868 clean-target-libgcc:
1869 test ! -d gcc/libgcc || \
1870 (cd gcc/libgcc && find . -type d -print) | \
1871 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1872 -rm -rf gcc/libgcc
1873 -rm -f gcc/stmp-dirs
1875 # Check target.
1877 .PHONY: check do-check
1878 check: do-check
1880 # Only include modules actually being configured and built.
1881 do-check: unstage \
1882 maybe-check-ash \
1883 maybe-check-autoconf \
1884 maybe-check-automake \
1885 maybe-check-bash \
1886 maybe-check-bfd \
1887 maybe-check-opcodes \
1888 maybe-check-binutils \
1889 maybe-check-bison \
1890 maybe-check-byacc \
1891 maybe-check-bzip2 \
1892 maybe-check-dejagnu \
1893 maybe-check-diff \
1894 maybe-check-dosutils \
1895 maybe-check-etc \
1896 maybe-check-fastjar \
1897 maybe-check-fileutils \
1898 maybe-check-findutils \
1899 maybe-check-find \
1900 maybe-check-fixincludes \
1901 maybe-check-flex \
1902 maybe-check-gas \
1903 maybe-check-gcc \
1904 maybe-check-gawk \
1905 maybe-check-gettext \
1906 maybe-check-gnuserv \
1907 maybe-check-gprof \
1908 maybe-check-gzip \
1909 maybe-check-hello \
1910 maybe-check-indent \
1911 maybe-check-intl \
1912 maybe-check-tcl \
1913 maybe-check-itcl \
1914 maybe-check-ld \
1915 maybe-check-libcpp \
1916 maybe-check-libgui \
1917 maybe-check-libiberty \
1918 maybe-check-libtool \
1919 maybe-check-m4 \
1920 maybe-check-make \
1921 maybe-check-mmalloc \
1922 maybe-check-patch \
1923 maybe-check-perl \
1924 maybe-check-prms \
1925 maybe-check-rcs \
1926 maybe-check-readline \
1927 maybe-check-release \
1928 maybe-check-recode \
1929 maybe-check-sed \
1930 maybe-check-send-pr \
1931 maybe-check-shellutils \
1932 maybe-check-sid \
1933 maybe-check-sim \
1934 maybe-check-tar \
1935 maybe-check-texinfo \
1936 maybe-check-textutils \
1937 maybe-check-time \
1938 maybe-check-uudecode \
1939 maybe-check-wdiff \
1940 maybe-check-zip \
1941 maybe-check-zlib \
1942 maybe-check-gdb \
1943 maybe-check-expect \
1944 maybe-check-guile \
1945 maybe-check-tk \
1946 maybe-check-libtermcap \
1947 maybe-check-utils \
1948 maybe-check-gnattools \
1949 maybe-check-target-libstdc++-v3 \
1950 maybe-check-target-libmudflap \
1951 maybe-check-target-libssp \
1952 maybe-check-target-newlib \
1953 maybe-check-target-libgfortran \
1954 maybe-check-target-libobjc \
1955 maybe-check-target-libtermcap \
1956 maybe-check-target-winsup \
1957 maybe-check-target-libgloss \
1958 maybe-check-target-libiberty \
1959 maybe-check-target-gperf \
1960 maybe-check-target-examples \
1961 maybe-check-target-libffi \
1962 maybe-check-target-libjava \
1963 maybe-check-target-zlib \
1964 maybe-check-target-boehm-gc \
1965 maybe-check-target-qthreads \
1966 maybe-check-target-rda \
1967 maybe-check-target-libada stage
1969 # Automated reporting of test results.
1971 warning.log: build.log
1972 $(srcdir)/contrib/warn_summary build.log > $@
1974 mail-report.log:
1975 if test x'$(BOOT_CFLAGS)' != x''; then \
1976 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1977 fi; \
1978 $(srcdir)/contrib/test_summary -t >$@
1979 chmod +x $@
1980 echo If you really want to send e-mail, run ./$@ now
1982 mail-report-with-warnings.log: warning.log
1983 if test x'$(BOOT_CFLAGS)' != x''; then \
1984 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1985 fi; \
1986 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1987 chmod +x $@
1988 echo If you really want to send e-mail, run ./$@ now
1990 # Installation targets.
1992 .PHONY: install uninstall
1993 install: unstage installdirs install-host install-target stage
1995 .PHONY: install-host-nogcc
1996 install-host-nogcc: \
1997 maybe-install-ash \
1998 maybe-install-autoconf \
1999 maybe-install-automake \
2000 maybe-install-bash \
2001 maybe-install-bfd \
2002 maybe-install-opcodes \
2003 maybe-install-binutils \
2004 maybe-install-bison \
2005 maybe-install-byacc \
2006 maybe-install-bzip2 \
2007 maybe-install-dejagnu \
2008 maybe-install-diff \
2009 maybe-install-dosutils \
2010 maybe-install-etc \
2011 maybe-install-fastjar \
2012 maybe-install-fileutils \
2013 maybe-install-findutils \
2014 maybe-install-find \
2015 maybe-install-fixincludes \
2016 maybe-install-flex \
2017 maybe-install-gas \
2018 maybe-install-gawk \
2019 maybe-install-gettext \
2020 maybe-install-gnuserv \
2021 maybe-install-gprof \
2022 maybe-install-gzip \
2023 maybe-install-hello \
2024 maybe-install-indent \
2025 maybe-install-intl \
2026 maybe-install-tcl \
2027 maybe-install-itcl \
2028 maybe-install-ld \
2029 maybe-install-libcpp \
2030 maybe-install-libgui \
2031 maybe-install-libiberty \
2032 maybe-install-libtool \
2033 maybe-install-m4 \
2034 maybe-install-make \
2035 maybe-install-mmalloc \
2036 maybe-install-patch \
2037 maybe-install-perl \
2038 maybe-install-prms \
2039 maybe-install-rcs \
2040 maybe-install-readline \
2041 maybe-install-release \
2042 maybe-install-recode \
2043 maybe-install-sed \
2044 maybe-install-send-pr \
2045 maybe-install-shellutils \
2046 maybe-install-sid \
2047 maybe-install-sim \
2048 maybe-install-tar \
2049 maybe-install-texinfo \
2050 maybe-install-textutils \
2051 maybe-install-time \
2052 maybe-install-uudecode \
2053 maybe-install-wdiff \
2054 maybe-install-zip \
2055 maybe-install-zlib \
2056 maybe-install-gdb \
2057 maybe-install-expect \
2058 maybe-install-guile \
2059 maybe-install-tk \
2060 maybe-install-libtermcap \
2061 maybe-install-utils \
2062 maybe-install-gnattools
2064 .PHONY: install-host
2065 install-host: \
2066 maybe-install-ash \
2067 maybe-install-autoconf \
2068 maybe-install-automake \
2069 maybe-install-bash \
2070 maybe-install-bfd \
2071 maybe-install-opcodes \
2072 maybe-install-binutils \
2073 maybe-install-bison \
2074 maybe-install-byacc \
2075 maybe-install-bzip2 \
2076 maybe-install-dejagnu \
2077 maybe-install-diff \
2078 maybe-install-dosutils \
2079 maybe-install-etc \
2080 maybe-install-fastjar \
2081 maybe-install-fileutils \
2082 maybe-install-findutils \
2083 maybe-install-find \
2084 maybe-install-fixincludes \
2085 maybe-install-flex \
2086 maybe-install-gas \
2087 maybe-install-gcc \
2088 maybe-install-gawk \
2089 maybe-install-gettext \
2090 maybe-install-gnuserv \
2091 maybe-install-gprof \
2092 maybe-install-gzip \
2093 maybe-install-hello \
2094 maybe-install-indent \
2095 maybe-install-intl \
2096 maybe-install-tcl \
2097 maybe-install-itcl \
2098 maybe-install-ld \
2099 maybe-install-libcpp \
2100 maybe-install-libgui \
2101 maybe-install-libiberty \
2102 maybe-install-libtool \
2103 maybe-install-m4 \
2104 maybe-install-make \
2105 maybe-install-mmalloc \
2106 maybe-install-patch \
2107 maybe-install-perl \
2108 maybe-install-prms \
2109 maybe-install-rcs \
2110 maybe-install-readline \
2111 maybe-install-release \
2112 maybe-install-recode \
2113 maybe-install-sed \
2114 maybe-install-send-pr \
2115 maybe-install-shellutils \
2116 maybe-install-sid \
2117 maybe-install-sim \
2118 maybe-install-tar \
2119 maybe-install-texinfo \
2120 maybe-install-textutils \
2121 maybe-install-time \
2122 maybe-install-uudecode \
2123 maybe-install-wdiff \
2124 maybe-install-zip \
2125 maybe-install-zlib \
2126 maybe-install-gdb \
2127 maybe-install-expect \
2128 maybe-install-guile \
2129 maybe-install-tk \
2130 maybe-install-libtermcap \
2131 maybe-install-utils \
2132 maybe-install-gnattools
2134 .PHONY: install-target
2135 install-target: \
2136 maybe-install-target-libstdc++-v3 \
2137 maybe-install-target-libmudflap \
2138 maybe-install-target-libssp \
2139 maybe-install-target-newlib \
2140 maybe-install-target-libgfortran \
2141 maybe-install-target-libobjc \
2142 maybe-install-target-libtermcap \
2143 maybe-install-target-winsup \
2144 maybe-install-target-libgloss \
2145 maybe-install-target-libiberty \
2146 maybe-install-target-gperf \
2147 maybe-install-target-examples \
2148 maybe-install-target-libffi \
2149 maybe-install-target-libjava \
2150 maybe-install-target-zlib \
2151 maybe-install-target-boehm-gc \
2152 maybe-install-target-qthreads \
2153 maybe-install-target-rda \
2154 maybe-install-target-libada
2156 uninstall:
2157 @echo "the uninstall target is not supported in this tree"
2159 .PHONY: install.all
2160 install.all: install-no-fixedincludes
2161 @if [ -f ./gcc/Makefile ] ; then \
2162 r=`${PWD_COMMAND}` ; export r ; \
2163 $(HOST_EXPORTS) \
2164 (cd ./gcc && \
2165 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2166 else \
2167 true ; \
2170 # install-no-fixedincludes is used because Cygnus can not distribute
2171 # the fixed header files.
2172 .PHONY: install-no-fixedincludes
2173 install-no-fixedincludes: installdirs install-host-nogcc \
2174 install-target gcc-no-fixedincludes
2176 ### other supporting targets
2178 MAKEDIRS= \
2179 $(DESTDIR)$(prefix) \
2180 $(DESTDIR)$(exec_prefix)
2181 .PHONY: installdirs
2182 installdirs: mkinstalldirs
2183 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2185 dir.info: do-install-info
2186 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2187 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2188 mv -f dir.info.new dir.info ; \
2189 else true ; \
2192 dist:
2193 @echo "Building a full distribution of this tree isn't done"
2194 @echo "via 'make dist'. Check out the etc/ subdirectory"
2196 etags tags: TAGS
2198 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2199 # ability to use several tags files at once, so there is probably no need
2200 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2201 # (if we felt like it) have this Makefile write a piece of elisp which
2202 # the user could load to tell emacs19 where all the TAGS files we just
2203 # built are.
2204 TAGS: do-TAGS
2206 # ------------------------------------
2207 # Macros for configure and all targets
2208 # ------------------------------------
2214 # --------------------------------------
2215 # Modules which run on the build machine
2216 # --------------------------------------
2219 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2220 maybe-configure-build-libiberty:
2221 @if build-libiberty
2222 maybe-configure-build-libiberty: configure-build-libiberty
2223 configure-build-libiberty:
2224 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2225 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2226 r=`${PWD_COMMAND}`; export r; \
2227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2228 $(BUILD_EXPORTS) \
2229 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2230 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2231 case $(srcdir) in \
2232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2233 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2235 esac; \
2236 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2237 libsrcdir="$$s/libiberty"; \
2238 rm -f no-such-file || : ; \
2239 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2240 $(BUILD_CONFIGARGS) $${srcdiroption} \
2241 || exit 1
2242 @endif build-libiberty
2248 .PHONY: all-build-libiberty maybe-all-build-libiberty
2249 maybe-all-build-libiberty:
2250 @if build-libiberty
2251 TARGET-build-libiberty=all
2252 maybe-all-build-libiberty: all-build-libiberty
2253 all-build-libiberty: configure-build-libiberty
2254 @r=`${PWD_COMMAND}`; export r; \
2255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2256 $(BUILD_EXPORTS) \
2257 (cd $(BUILD_SUBDIR)/libiberty && \
2258 $(MAKE) $(TARGET-build-libiberty))
2259 @endif build-libiberty
2265 .PHONY: configure-build-bison maybe-configure-build-bison
2266 maybe-configure-build-bison:
2267 @if build-bison
2268 maybe-configure-build-bison: configure-build-bison
2269 configure-build-bison:
2270 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2271 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2272 r=`${PWD_COMMAND}`; export r; \
2273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2274 $(BUILD_EXPORTS) \
2275 echo Configuring in $(BUILD_SUBDIR)/bison; \
2276 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2277 case $(srcdir) in \
2278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2279 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2281 esac; \
2282 srcdiroption="--srcdir=$${topdir}/bison"; \
2283 libsrcdir="$$s/bison"; \
2284 rm -f no-such-file || : ; \
2285 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2286 $(BUILD_CONFIGARGS) $${srcdiroption} \
2287 || exit 1
2288 @endif build-bison
2294 .PHONY: all-build-bison maybe-all-build-bison
2295 maybe-all-build-bison:
2296 @if build-bison
2297 TARGET-build-bison=all
2298 maybe-all-build-bison: all-build-bison
2299 all-build-bison: configure-build-bison
2300 @r=`${PWD_COMMAND}`; export r; \
2301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2302 $(BUILD_EXPORTS) \
2303 (cd $(BUILD_SUBDIR)/bison && \
2304 $(MAKE) $(TARGET-build-bison))
2305 @endif build-bison
2311 .PHONY: configure-build-byacc maybe-configure-build-byacc
2312 maybe-configure-build-byacc:
2313 @if build-byacc
2314 maybe-configure-build-byacc: configure-build-byacc
2315 configure-build-byacc:
2316 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2317 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2318 r=`${PWD_COMMAND}`; export r; \
2319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2320 $(BUILD_EXPORTS) \
2321 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2322 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2323 case $(srcdir) in \
2324 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2325 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2326 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2327 esac; \
2328 srcdiroption="--srcdir=$${topdir}/byacc"; \
2329 libsrcdir="$$s/byacc"; \
2330 rm -f no-such-file || : ; \
2331 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2332 $(BUILD_CONFIGARGS) $${srcdiroption} \
2333 || exit 1
2334 @endif build-byacc
2340 .PHONY: all-build-byacc maybe-all-build-byacc
2341 maybe-all-build-byacc:
2342 @if build-byacc
2343 TARGET-build-byacc=all
2344 maybe-all-build-byacc: all-build-byacc
2345 all-build-byacc: configure-build-byacc
2346 @r=`${PWD_COMMAND}`; export r; \
2347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2348 $(BUILD_EXPORTS) \
2349 (cd $(BUILD_SUBDIR)/byacc && \
2350 $(MAKE) $(TARGET-build-byacc))
2351 @endif build-byacc
2357 .PHONY: configure-build-flex maybe-configure-build-flex
2358 maybe-configure-build-flex:
2359 @if build-flex
2360 maybe-configure-build-flex: configure-build-flex
2361 configure-build-flex:
2362 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2363 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2364 r=`${PWD_COMMAND}`; export r; \
2365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2366 $(BUILD_EXPORTS) \
2367 echo Configuring in $(BUILD_SUBDIR)/flex; \
2368 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2369 case $(srcdir) in \
2370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2371 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2373 esac; \
2374 srcdiroption="--srcdir=$${topdir}/flex"; \
2375 libsrcdir="$$s/flex"; \
2376 rm -f no-such-file || : ; \
2377 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2378 $(BUILD_CONFIGARGS) $${srcdiroption} \
2379 || exit 1
2380 @endif build-flex
2386 .PHONY: all-build-flex maybe-all-build-flex
2387 maybe-all-build-flex:
2388 @if build-flex
2389 TARGET-build-flex=all
2390 maybe-all-build-flex: all-build-flex
2391 all-build-flex: configure-build-flex
2392 @r=`${PWD_COMMAND}`; export r; \
2393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2394 $(BUILD_EXPORTS) \
2395 (cd $(BUILD_SUBDIR)/flex && \
2396 $(MAKE) $(TARGET-build-flex))
2397 @endif build-flex
2403 .PHONY: configure-build-m4 maybe-configure-build-m4
2404 maybe-configure-build-m4:
2405 @if build-m4
2406 maybe-configure-build-m4: configure-build-m4
2407 configure-build-m4:
2408 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2409 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2410 r=`${PWD_COMMAND}`; export r; \
2411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2412 $(BUILD_EXPORTS) \
2413 echo Configuring in $(BUILD_SUBDIR)/m4; \
2414 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2415 case $(srcdir) in \
2416 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2417 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2418 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2419 esac; \
2420 srcdiroption="--srcdir=$${topdir}/m4"; \
2421 libsrcdir="$$s/m4"; \
2422 rm -f no-such-file || : ; \
2423 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2424 $(BUILD_CONFIGARGS) $${srcdiroption} \
2425 || exit 1
2426 @endif build-m4
2432 .PHONY: all-build-m4 maybe-all-build-m4
2433 maybe-all-build-m4:
2434 @if build-m4
2435 TARGET-build-m4=all
2436 maybe-all-build-m4: all-build-m4
2437 all-build-m4: configure-build-m4
2438 @r=`${PWD_COMMAND}`; export r; \
2439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2440 $(BUILD_EXPORTS) \
2441 (cd $(BUILD_SUBDIR)/m4 && \
2442 $(MAKE) $(TARGET-build-m4))
2443 @endif build-m4
2449 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2450 maybe-configure-build-texinfo:
2451 @if build-texinfo
2452 maybe-configure-build-texinfo: configure-build-texinfo
2453 configure-build-texinfo:
2454 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2455 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2456 r=`${PWD_COMMAND}`; export r; \
2457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2458 $(BUILD_EXPORTS) \
2459 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2460 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2461 case $(srcdir) in \
2462 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2463 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2464 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2465 esac; \
2466 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2467 libsrcdir="$$s/texinfo"; \
2468 rm -f no-such-file || : ; \
2469 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2470 $(BUILD_CONFIGARGS) $${srcdiroption} \
2471 || exit 1
2472 @endif build-texinfo
2478 .PHONY: all-build-texinfo maybe-all-build-texinfo
2479 maybe-all-build-texinfo:
2480 @if build-texinfo
2481 TARGET-build-texinfo=all
2482 maybe-all-build-texinfo: all-build-texinfo
2483 all-build-texinfo: configure-build-texinfo
2484 @r=`${PWD_COMMAND}`; export r; \
2485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2486 $(BUILD_EXPORTS) \
2487 (cd $(BUILD_SUBDIR)/texinfo && \
2488 $(MAKE) $(TARGET-build-texinfo))
2489 @endif build-texinfo
2495 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2496 maybe-configure-build-fixincludes:
2497 @if build-fixincludes
2498 maybe-configure-build-fixincludes: configure-build-fixincludes
2499 configure-build-fixincludes:
2500 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2501 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2502 r=`${PWD_COMMAND}`; export r; \
2503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2504 $(BUILD_EXPORTS) \
2505 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2506 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2507 case $(srcdir) in \
2508 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2509 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2510 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2511 esac; \
2512 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2513 libsrcdir="$$s/fixincludes"; \
2514 rm -f no-such-file || : ; \
2515 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2516 $(BUILD_CONFIGARGS) $${srcdiroption} \
2517 || exit 1
2518 @endif build-fixincludes
2524 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2525 maybe-all-build-fixincludes:
2526 @if build-fixincludes
2527 TARGET-build-fixincludes=all
2528 maybe-all-build-fixincludes: all-build-fixincludes
2529 all-build-fixincludes: configure-build-fixincludes
2530 @r=`${PWD_COMMAND}`; export r; \
2531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2532 $(BUILD_EXPORTS) \
2533 (cd $(BUILD_SUBDIR)/fixincludes && \
2534 $(MAKE) $(TARGET-build-fixincludes))
2535 @endif build-fixincludes
2541 # --------------------------------------
2542 # Modules which run on the host machine
2543 # --------------------------------------
2546 .PHONY: configure-ash maybe-configure-ash
2547 maybe-configure-ash:
2548 @if ash
2549 maybe-configure-ash: configure-ash
2550 configure-ash:
2551 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2552 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2553 r=`${PWD_COMMAND}`; export r; \
2554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2555 $(HOST_EXPORTS) \
2556 echo Configuring in $(HOST_SUBDIR)/ash; \
2557 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2558 case $(srcdir) in \
2559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2560 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2562 esac; \
2563 srcdiroption="--srcdir=$${topdir}/ash"; \
2564 libsrcdir="$$s/ash"; \
2565 $(SHELL) $${libsrcdir}/configure \
2566 $(HOST_CONFIGARGS) $${srcdiroption} \
2567 || exit 1
2568 @endif ash
2574 .PHONY: all-ash maybe-all-ash
2575 maybe-all-ash:
2576 @if ash
2577 TARGET-ash=all
2578 maybe-all-ash: all-ash
2579 all-ash: configure-ash
2580 @r=`${PWD_COMMAND}`; export r; \
2581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2582 $(HOST_EXPORTS) \
2583 (cd $(HOST_SUBDIR)/ash && \
2584 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2585 @endif ash
2590 .PHONY: check-ash maybe-check-ash
2591 maybe-check-ash:
2592 @if ash
2593 maybe-check-ash: check-ash
2595 check-ash:
2596 @r=`${PWD_COMMAND}`; export r; \
2597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2598 $(HOST_EXPORTS) \
2599 (cd $(HOST_SUBDIR)/ash && \
2600 $(MAKE) $(FLAGS_TO_PASS) check)
2602 @endif ash
2604 .PHONY: install-ash maybe-install-ash
2605 maybe-install-ash:
2606 @if ash
2607 maybe-install-ash: install-ash
2609 install-ash: installdirs
2610 @r=`${PWD_COMMAND}`; export r; \
2611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2612 $(HOST_EXPORTS) \
2613 (cd $(HOST_SUBDIR)/ash && \
2614 $(MAKE) $(FLAGS_TO_PASS) install)
2616 @endif ash
2618 # Other targets (info, dvi, etc.)
2620 .PHONY: maybe-info-ash info-ash
2621 maybe-info-ash:
2622 @if ash
2623 maybe-info-ash: info-ash
2625 info-ash: \
2626 configure-ash
2627 @[ -f ./ash/Makefile ] || exit 0; \
2628 r=`${PWD_COMMAND}`; export r; \
2629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2630 $(HOST_EXPORTS) \
2631 for flag in $(EXTRA_HOST_FLAGS) ; do \
2632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2633 done; \
2634 echo "Doing info in ash" ; \
2635 (cd $(HOST_SUBDIR)/ash && \
2636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2638 "RANLIB=$${RANLIB}" \
2639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2640 info) \
2641 || exit 1
2643 @endif ash
2645 .PHONY: maybe-dvi-ash dvi-ash
2646 maybe-dvi-ash:
2647 @if ash
2648 maybe-dvi-ash: dvi-ash
2650 dvi-ash: \
2651 configure-ash
2652 @[ -f ./ash/Makefile ] || exit 0; \
2653 r=`${PWD_COMMAND}`; export r; \
2654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 $(HOST_EXPORTS) \
2656 for flag in $(EXTRA_HOST_FLAGS) ; do \
2657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2658 done; \
2659 echo "Doing dvi in ash" ; \
2660 (cd $(HOST_SUBDIR)/ash && \
2661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2663 "RANLIB=$${RANLIB}" \
2664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2665 dvi) \
2666 || exit 1
2668 @endif ash
2670 .PHONY: maybe-html-ash html-ash
2671 maybe-html-ash:
2672 @if ash
2673 maybe-html-ash: html-ash
2675 html-ash: \
2676 configure-ash
2677 @[ -f ./ash/Makefile ] || exit 0; \
2678 r=`${PWD_COMMAND}`; export r; \
2679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2680 $(HOST_EXPORTS) \
2681 for flag in $(EXTRA_HOST_FLAGS) ; do \
2682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2683 done; \
2684 echo "Doing html in ash" ; \
2685 (cd $(HOST_SUBDIR)/ash && \
2686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2688 "RANLIB=$${RANLIB}" \
2689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2690 html) \
2691 || exit 1
2693 @endif ash
2695 .PHONY: maybe-TAGS-ash TAGS-ash
2696 maybe-TAGS-ash:
2697 @if ash
2698 maybe-TAGS-ash: TAGS-ash
2700 TAGS-ash: \
2701 configure-ash
2702 @[ -f ./ash/Makefile ] || exit 0; \
2703 r=`${PWD_COMMAND}`; export r; \
2704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2705 $(HOST_EXPORTS) \
2706 for flag in $(EXTRA_HOST_FLAGS) ; do \
2707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2708 done; \
2709 echo "Doing TAGS in ash" ; \
2710 (cd $(HOST_SUBDIR)/ash && \
2711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2713 "RANLIB=$${RANLIB}" \
2714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2715 TAGS) \
2716 || exit 1
2718 @endif ash
2720 .PHONY: maybe-install-info-ash install-info-ash
2721 maybe-install-info-ash:
2722 @if ash
2723 maybe-install-info-ash: install-info-ash
2725 install-info-ash: \
2726 configure-ash \
2727 info-ash
2728 @[ -f ./ash/Makefile ] || exit 0; \
2729 r=`${PWD_COMMAND}`; export r; \
2730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2731 $(HOST_EXPORTS) \
2732 for flag in $(EXTRA_HOST_FLAGS) ; do \
2733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2734 done; \
2735 echo "Doing install-info in ash" ; \
2736 (cd $(HOST_SUBDIR)/ash && \
2737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2739 "RANLIB=$${RANLIB}" \
2740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2741 install-info) \
2742 || exit 1
2744 @endif ash
2746 .PHONY: maybe-installcheck-ash installcheck-ash
2747 maybe-installcheck-ash:
2748 @if ash
2749 maybe-installcheck-ash: installcheck-ash
2751 installcheck-ash: \
2752 configure-ash
2753 @[ -f ./ash/Makefile ] || exit 0; \
2754 r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 $(HOST_EXPORTS) \
2757 for flag in $(EXTRA_HOST_FLAGS) ; do \
2758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2759 done; \
2760 echo "Doing installcheck in ash" ; \
2761 (cd $(HOST_SUBDIR)/ash && \
2762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2764 "RANLIB=$${RANLIB}" \
2765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2766 installcheck) \
2767 || exit 1
2769 @endif ash
2771 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2772 maybe-mostlyclean-ash:
2773 @if ash
2774 maybe-mostlyclean-ash: mostlyclean-ash
2776 mostlyclean-ash:
2777 @[ -f ./ash/Makefile ] || exit 0; \
2778 r=`${PWD_COMMAND}`; export r; \
2779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2780 $(HOST_EXPORTS) \
2781 for flag in $(EXTRA_HOST_FLAGS) ; do \
2782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2783 done; \
2784 echo "Doing mostlyclean in ash" ; \
2785 (cd $(HOST_SUBDIR)/ash && \
2786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2788 "RANLIB=$${RANLIB}" \
2789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2790 mostlyclean) \
2791 || exit 1
2793 @endif ash
2795 .PHONY: maybe-clean-ash clean-ash
2796 maybe-clean-ash:
2797 @if ash
2798 maybe-clean-ash: clean-ash
2800 clean-ash:
2801 @[ -f ./ash/Makefile ] || exit 0; \
2802 r=`${PWD_COMMAND}`; export r; \
2803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2804 $(HOST_EXPORTS) \
2805 for flag in $(EXTRA_HOST_FLAGS) ; do \
2806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2807 done; \
2808 echo "Doing clean in ash" ; \
2809 (cd $(HOST_SUBDIR)/ash && \
2810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2812 "RANLIB=$${RANLIB}" \
2813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2814 clean) \
2815 || exit 1
2817 @endif ash
2819 .PHONY: maybe-distclean-ash distclean-ash
2820 maybe-distclean-ash:
2821 @if ash
2822 maybe-distclean-ash: distclean-ash
2824 distclean-ash:
2825 @[ -f ./ash/Makefile ] || exit 0; \
2826 r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 $(HOST_EXPORTS) \
2829 for flag in $(EXTRA_HOST_FLAGS) ; do \
2830 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2831 done; \
2832 echo "Doing distclean in ash" ; \
2833 (cd $(HOST_SUBDIR)/ash && \
2834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2836 "RANLIB=$${RANLIB}" \
2837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2838 distclean) \
2839 || exit 1
2841 @endif ash
2843 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2844 maybe-maintainer-clean-ash:
2845 @if ash
2846 maybe-maintainer-clean-ash: maintainer-clean-ash
2848 maintainer-clean-ash:
2849 @[ -f ./ash/Makefile ] || exit 0; \
2850 r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 $(HOST_EXPORTS) \
2853 for flag in $(EXTRA_HOST_FLAGS) ; do \
2854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2855 done; \
2856 echo "Doing maintainer-clean in ash" ; \
2857 (cd $(HOST_SUBDIR)/ash && \
2858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2860 "RANLIB=$${RANLIB}" \
2861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2862 maintainer-clean) \
2863 || exit 1
2865 @endif ash
2869 .PHONY: configure-autoconf maybe-configure-autoconf
2870 maybe-configure-autoconf:
2871 @if autoconf
2872 maybe-configure-autoconf: configure-autoconf
2873 configure-autoconf:
2874 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2875 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2876 r=`${PWD_COMMAND}`; export r; \
2877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2878 $(HOST_EXPORTS) \
2879 echo Configuring in $(HOST_SUBDIR)/autoconf; \
2880 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
2881 case $(srcdir) in \
2882 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2883 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2884 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2885 esac; \
2886 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2887 libsrcdir="$$s/autoconf"; \
2888 $(SHELL) $${libsrcdir}/configure \
2889 $(HOST_CONFIGARGS) $${srcdiroption} \
2890 || exit 1
2891 @endif autoconf
2897 .PHONY: all-autoconf maybe-all-autoconf
2898 maybe-all-autoconf:
2899 @if autoconf
2900 TARGET-autoconf=all
2901 maybe-all-autoconf: all-autoconf
2902 all-autoconf: configure-autoconf
2903 @r=`${PWD_COMMAND}`; export r; \
2904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2905 $(HOST_EXPORTS) \
2906 (cd $(HOST_SUBDIR)/autoconf && \
2907 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2908 @endif autoconf
2913 .PHONY: check-autoconf maybe-check-autoconf
2914 maybe-check-autoconf:
2915 @if autoconf
2916 maybe-check-autoconf: check-autoconf
2918 check-autoconf:
2919 @r=`${PWD_COMMAND}`; export r; \
2920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2921 $(HOST_EXPORTS) \
2922 (cd $(HOST_SUBDIR)/autoconf && \
2923 $(MAKE) $(FLAGS_TO_PASS) check)
2925 @endif autoconf
2927 .PHONY: install-autoconf maybe-install-autoconf
2928 maybe-install-autoconf:
2929 @if autoconf
2930 maybe-install-autoconf: install-autoconf
2932 install-autoconf: installdirs
2933 @r=`${PWD_COMMAND}`; export r; \
2934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2935 $(HOST_EXPORTS) \
2936 (cd $(HOST_SUBDIR)/autoconf && \
2937 $(MAKE) $(FLAGS_TO_PASS) install)
2939 @endif autoconf
2941 # Other targets (info, dvi, etc.)
2943 .PHONY: maybe-info-autoconf info-autoconf
2944 maybe-info-autoconf:
2945 @if autoconf
2946 maybe-info-autoconf: info-autoconf
2948 info-autoconf: \
2949 configure-autoconf
2950 @[ -f ./autoconf/Makefile ] || exit 0; \
2951 r=`${PWD_COMMAND}`; export r; \
2952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2953 $(HOST_EXPORTS) \
2954 for flag in $(EXTRA_HOST_FLAGS) ; do \
2955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2956 done; \
2957 echo "Doing info in autoconf" ; \
2958 (cd $(HOST_SUBDIR)/autoconf && \
2959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2961 "RANLIB=$${RANLIB}" \
2962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2963 info) \
2964 || exit 1
2966 @endif autoconf
2968 .PHONY: maybe-dvi-autoconf dvi-autoconf
2969 maybe-dvi-autoconf:
2970 @if autoconf
2971 maybe-dvi-autoconf: dvi-autoconf
2973 dvi-autoconf: \
2974 configure-autoconf
2975 @[ -f ./autoconf/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 $(HOST_EXPORTS) \
2979 for flag in $(EXTRA_HOST_FLAGS) ; do \
2980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2981 done; \
2982 echo "Doing dvi in autoconf" ; \
2983 (cd $(HOST_SUBDIR)/autoconf && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2986 "RANLIB=$${RANLIB}" \
2987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2988 dvi) \
2989 || exit 1
2991 @endif autoconf
2993 .PHONY: maybe-html-autoconf html-autoconf
2994 maybe-html-autoconf:
2995 @if autoconf
2996 maybe-html-autoconf: html-autoconf
2998 html-autoconf: \
2999 configure-autoconf
3000 @[ -f ./autoconf/Makefile ] || exit 0; \
3001 r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 $(HOST_EXPORTS) \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 done; \
3007 echo "Doing html in autoconf" ; \
3008 (cd $(HOST_SUBDIR)/autoconf && \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 html) \
3014 || exit 1
3016 @endif autoconf
3018 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3019 maybe-TAGS-autoconf:
3020 @if autoconf
3021 maybe-TAGS-autoconf: TAGS-autoconf
3023 TAGS-autoconf: \
3024 configure-autoconf
3025 @[ -f ./autoconf/Makefile ] || exit 0; \
3026 r=`${PWD_COMMAND}`; export r; \
3027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3028 $(HOST_EXPORTS) \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 done; \
3032 echo "Doing TAGS in autoconf" ; \
3033 (cd $(HOST_SUBDIR)/autoconf && \
3034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3036 "RANLIB=$${RANLIB}" \
3037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 TAGS) \
3039 || exit 1
3041 @endif autoconf
3043 .PHONY: maybe-install-info-autoconf install-info-autoconf
3044 maybe-install-info-autoconf:
3045 @if autoconf
3046 maybe-install-info-autoconf: install-info-autoconf
3048 install-info-autoconf: \
3049 configure-autoconf \
3050 info-autoconf
3051 @[ -f ./autoconf/Makefile ] || exit 0; \
3052 r=`${PWD_COMMAND}`; export r; \
3053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3054 $(HOST_EXPORTS) \
3055 for flag in $(EXTRA_HOST_FLAGS) ; do \
3056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3057 done; \
3058 echo "Doing install-info in autoconf" ; \
3059 (cd $(HOST_SUBDIR)/autoconf && \
3060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3062 "RANLIB=$${RANLIB}" \
3063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3064 install-info) \
3065 || exit 1
3067 @endif autoconf
3069 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3070 maybe-installcheck-autoconf:
3071 @if autoconf
3072 maybe-installcheck-autoconf: installcheck-autoconf
3074 installcheck-autoconf: \
3075 configure-autoconf
3076 @[ -f ./autoconf/Makefile ] || exit 0; \
3077 r=`${PWD_COMMAND}`; export r; \
3078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3079 $(HOST_EXPORTS) \
3080 for flag in $(EXTRA_HOST_FLAGS) ; do \
3081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3082 done; \
3083 echo "Doing installcheck in autoconf" ; \
3084 (cd $(HOST_SUBDIR)/autoconf && \
3085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3087 "RANLIB=$${RANLIB}" \
3088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3089 installcheck) \
3090 || exit 1
3092 @endif autoconf
3094 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3095 maybe-mostlyclean-autoconf:
3096 @if autoconf
3097 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3099 mostlyclean-autoconf:
3100 @[ -f ./autoconf/Makefile ] || exit 0; \
3101 r=`${PWD_COMMAND}`; export r; \
3102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3103 $(HOST_EXPORTS) \
3104 for flag in $(EXTRA_HOST_FLAGS) ; do \
3105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3106 done; \
3107 echo "Doing mostlyclean in autoconf" ; \
3108 (cd $(HOST_SUBDIR)/autoconf && \
3109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3111 "RANLIB=$${RANLIB}" \
3112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3113 mostlyclean) \
3114 || exit 1
3116 @endif autoconf
3118 .PHONY: maybe-clean-autoconf clean-autoconf
3119 maybe-clean-autoconf:
3120 @if autoconf
3121 maybe-clean-autoconf: clean-autoconf
3123 clean-autoconf:
3124 @[ -f ./autoconf/Makefile ] || exit 0; \
3125 r=`${PWD_COMMAND}`; export r; \
3126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3127 $(HOST_EXPORTS) \
3128 for flag in $(EXTRA_HOST_FLAGS) ; do \
3129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3130 done; \
3131 echo "Doing clean in autoconf" ; \
3132 (cd $(HOST_SUBDIR)/autoconf && \
3133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3135 "RANLIB=$${RANLIB}" \
3136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3137 clean) \
3138 || exit 1
3140 @endif autoconf
3142 .PHONY: maybe-distclean-autoconf distclean-autoconf
3143 maybe-distclean-autoconf:
3144 @if autoconf
3145 maybe-distclean-autoconf: distclean-autoconf
3147 distclean-autoconf:
3148 @[ -f ./autoconf/Makefile ] || exit 0; \
3149 r=`${PWD_COMMAND}`; export r; \
3150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3151 $(HOST_EXPORTS) \
3152 for flag in $(EXTRA_HOST_FLAGS) ; do \
3153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3154 done; \
3155 echo "Doing distclean in autoconf" ; \
3156 (cd $(HOST_SUBDIR)/autoconf && \
3157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3159 "RANLIB=$${RANLIB}" \
3160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3161 distclean) \
3162 || exit 1
3164 @endif autoconf
3166 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3167 maybe-maintainer-clean-autoconf:
3168 @if autoconf
3169 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3171 maintainer-clean-autoconf:
3172 @[ -f ./autoconf/Makefile ] || exit 0; \
3173 r=`${PWD_COMMAND}`; export r; \
3174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3175 $(HOST_EXPORTS) \
3176 for flag in $(EXTRA_HOST_FLAGS) ; do \
3177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3178 done; \
3179 echo "Doing maintainer-clean in autoconf" ; \
3180 (cd $(HOST_SUBDIR)/autoconf && \
3181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3183 "RANLIB=$${RANLIB}" \
3184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3185 maintainer-clean) \
3186 || exit 1
3188 @endif autoconf
3192 .PHONY: configure-automake maybe-configure-automake
3193 maybe-configure-automake:
3194 @if automake
3195 maybe-configure-automake: configure-automake
3196 configure-automake:
3197 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3198 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3199 r=`${PWD_COMMAND}`; export r; \
3200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3201 $(HOST_EXPORTS) \
3202 echo Configuring in $(HOST_SUBDIR)/automake; \
3203 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3204 case $(srcdir) in \
3205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3206 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3208 esac; \
3209 srcdiroption="--srcdir=$${topdir}/automake"; \
3210 libsrcdir="$$s/automake"; \
3211 $(SHELL) $${libsrcdir}/configure \
3212 $(HOST_CONFIGARGS) $${srcdiroption} \
3213 || exit 1
3214 @endif automake
3220 .PHONY: all-automake maybe-all-automake
3221 maybe-all-automake:
3222 @if automake
3223 TARGET-automake=all
3224 maybe-all-automake: all-automake
3225 all-automake: configure-automake
3226 @r=`${PWD_COMMAND}`; export r; \
3227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3228 $(HOST_EXPORTS) \
3229 (cd $(HOST_SUBDIR)/automake && \
3230 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3231 @endif automake
3236 .PHONY: check-automake maybe-check-automake
3237 maybe-check-automake:
3238 @if automake
3239 maybe-check-automake: check-automake
3241 check-automake:
3242 @r=`${PWD_COMMAND}`; export r; \
3243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3244 $(HOST_EXPORTS) \
3245 (cd $(HOST_SUBDIR)/automake && \
3246 $(MAKE) $(FLAGS_TO_PASS) check)
3248 @endif automake
3250 .PHONY: install-automake maybe-install-automake
3251 maybe-install-automake:
3252 @if automake
3253 maybe-install-automake: install-automake
3255 install-automake: installdirs
3256 @r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(HOST_EXPORTS) \
3259 (cd $(HOST_SUBDIR)/automake && \
3260 $(MAKE) $(FLAGS_TO_PASS) install)
3262 @endif automake
3264 # Other targets (info, dvi, etc.)
3266 .PHONY: maybe-info-automake info-automake
3267 maybe-info-automake:
3268 @if automake
3269 maybe-info-automake: info-automake
3271 info-automake: \
3272 configure-automake
3273 @[ -f ./automake/Makefile ] || exit 0; \
3274 r=`${PWD_COMMAND}`; export r; \
3275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3276 $(HOST_EXPORTS) \
3277 for flag in $(EXTRA_HOST_FLAGS) ; do \
3278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3279 done; \
3280 echo "Doing info in automake" ; \
3281 (cd $(HOST_SUBDIR)/automake && \
3282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3284 "RANLIB=$${RANLIB}" \
3285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3286 info) \
3287 || exit 1
3289 @endif automake
3291 .PHONY: maybe-dvi-automake dvi-automake
3292 maybe-dvi-automake:
3293 @if automake
3294 maybe-dvi-automake: dvi-automake
3296 dvi-automake: \
3297 configure-automake
3298 @[ -f ./automake/Makefile ] || exit 0; \
3299 r=`${PWD_COMMAND}`; export r; \
3300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3301 $(HOST_EXPORTS) \
3302 for flag in $(EXTRA_HOST_FLAGS) ; do \
3303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3304 done; \
3305 echo "Doing dvi in automake" ; \
3306 (cd $(HOST_SUBDIR)/automake && \
3307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3309 "RANLIB=$${RANLIB}" \
3310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3311 dvi) \
3312 || exit 1
3314 @endif automake
3316 .PHONY: maybe-html-automake html-automake
3317 maybe-html-automake:
3318 @if automake
3319 maybe-html-automake: html-automake
3321 html-automake: \
3322 configure-automake
3323 @[ -f ./automake/Makefile ] || exit 0; \
3324 r=`${PWD_COMMAND}`; export r; \
3325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3326 $(HOST_EXPORTS) \
3327 for flag in $(EXTRA_HOST_FLAGS) ; do \
3328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3329 done; \
3330 echo "Doing html in automake" ; \
3331 (cd $(HOST_SUBDIR)/automake && \
3332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3334 "RANLIB=$${RANLIB}" \
3335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3336 html) \
3337 || exit 1
3339 @endif automake
3341 .PHONY: maybe-TAGS-automake TAGS-automake
3342 maybe-TAGS-automake:
3343 @if automake
3344 maybe-TAGS-automake: TAGS-automake
3346 TAGS-automake: \
3347 configure-automake
3348 @[ -f ./automake/Makefile ] || exit 0; \
3349 r=`${PWD_COMMAND}`; export r; \
3350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3351 $(HOST_EXPORTS) \
3352 for flag in $(EXTRA_HOST_FLAGS) ; do \
3353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3354 done; \
3355 echo "Doing TAGS in automake" ; \
3356 (cd $(HOST_SUBDIR)/automake && \
3357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3359 "RANLIB=$${RANLIB}" \
3360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3361 TAGS) \
3362 || exit 1
3364 @endif automake
3366 .PHONY: maybe-install-info-automake install-info-automake
3367 maybe-install-info-automake:
3368 @if automake
3369 maybe-install-info-automake: install-info-automake
3371 install-info-automake: \
3372 configure-automake \
3373 info-automake
3374 @[ -f ./automake/Makefile ] || exit 0; \
3375 r=`${PWD_COMMAND}`; export r; \
3376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3377 $(HOST_EXPORTS) \
3378 for flag in $(EXTRA_HOST_FLAGS) ; do \
3379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3380 done; \
3381 echo "Doing install-info in automake" ; \
3382 (cd $(HOST_SUBDIR)/automake && \
3383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3385 "RANLIB=$${RANLIB}" \
3386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3387 install-info) \
3388 || exit 1
3390 @endif automake
3392 .PHONY: maybe-installcheck-automake installcheck-automake
3393 maybe-installcheck-automake:
3394 @if automake
3395 maybe-installcheck-automake: installcheck-automake
3397 installcheck-automake: \
3398 configure-automake
3399 @[ -f ./automake/Makefile ] || exit 0; \
3400 r=`${PWD_COMMAND}`; export r; \
3401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3402 $(HOST_EXPORTS) \
3403 for flag in $(EXTRA_HOST_FLAGS) ; do \
3404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3405 done; \
3406 echo "Doing installcheck in automake" ; \
3407 (cd $(HOST_SUBDIR)/automake && \
3408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3410 "RANLIB=$${RANLIB}" \
3411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3412 installcheck) \
3413 || exit 1
3415 @endif automake
3417 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3418 maybe-mostlyclean-automake:
3419 @if automake
3420 maybe-mostlyclean-automake: mostlyclean-automake
3422 mostlyclean-automake:
3423 @[ -f ./automake/Makefile ] || exit 0; \
3424 r=`${PWD_COMMAND}`; export r; \
3425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3426 $(HOST_EXPORTS) \
3427 for flag in $(EXTRA_HOST_FLAGS) ; do \
3428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3429 done; \
3430 echo "Doing mostlyclean in automake" ; \
3431 (cd $(HOST_SUBDIR)/automake && \
3432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3434 "RANLIB=$${RANLIB}" \
3435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3436 mostlyclean) \
3437 || exit 1
3439 @endif automake
3441 .PHONY: maybe-clean-automake clean-automake
3442 maybe-clean-automake:
3443 @if automake
3444 maybe-clean-automake: clean-automake
3446 clean-automake:
3447 @[ -f ./automake/Makefile ] || exit 0; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 $(HOST_EXPORTS) \
3451 for flag in $(EXTRA_HOST_FLAGS) ; do \
3452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 done; \
3454 echo "Doing clean in automake" ; \
3455 (cd $(HOST_SUBDIR)/automake && \
3456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3458 "RANLIB=$${RANLIB}" \
3459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3460 clean) \
3461 || exit 1
3463 @endif automake
3465 .PHONY: maybe-distclean-automake distclean-automake
3466 maybe-distclean-automake:
3467 @if automake
3468 maybe-distclean-automake: distclean-automake
3470 distclean-automake:
3471 @[ -f ./automake/Makefile ] || exit 0; \
3472 r=`${PWD_COMMAND}`; export r; \
3473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3474 $(HOST_EXPORTS) \
3475 for flag in $(EXTRA_HOST_FLAGS) ; do \
3476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3477 done; \
3478 echo "Doing distclean in automake" ; \
3479 (cd $(HOST_SUBDIR)/automake && \
3480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3482 "RANLIB=$${RANLIB}" \
3483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3484 distclean) \
3485 || exit 1
3487 @endif automake
3489 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3490 maybe-maintainer-clean-automake:
3491 @if automake
3492 maybe-maintainer-clean-automake: maintainer-clean-automake
3494 maintainer-clean-automake:
3495 @[ -f ./automake/Makefile ] || exit 0; \
3496 r=`${PWD_COMMAND}`; export r; \
3497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3498 $(HOST_EXPORTS) \
3499 for flag in $(EXTRA_HOST_FLAGS) ; do \
3500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3501 done; \
3502 echo "Doing maintainer-clean in automake" ; \
3503 (cd $(HOST_SUBDIR)/automake && \
3504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3506 "RANLIB=$${RANLIB}" \
3507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3508 maintainer-clean) \
3509 || exit 1
3511 @endif automake
3515 .PHONY: configure-bash maybe-configure-bash
3516 maybe-configure-bash:
3517 @if bash
3518 maybe-configure-bash: configure-bash
3519 configure-bash:
3520 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3521 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3522 r=`${PWD_COMMAND}`; export r; \
3523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3524 $(HOST_EXPORTS) \
3525 echo Configuring in $(HOST_SUBDIR)/bash; \
3526 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3527 case $(srcdir) in \
3528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3529 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3531 esac; \
3532 srcdiroption="--srcdir=$${topdir}/bash"; \
3533 libsrcdir="$$s/bash"; \
3534 $(SHELL) $${libsrcdir}/configure \
3535 $(HOST_CONFIGARGS) $${srcdiroption} \
3536 || exit 1
3537 @endif bash
3543 .PHONY: all-bash maybe-all-bash
3544 maybe-all-bash:
3545 @if bash
3546 TARGET-bash=all
3547 maybe-all-bash: all-bash
3548 all-bash: configure-bash
3549 @r=`${PWD_COMMAND}`; export r; \
3550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3551 $(HOST_EXPORTS) \
3552 (cd $(HOST_SUBDIR)/bash && \
3553 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3554 @endif bash
3559 .PHONY: check-bash maybe-check-bash
3560 maybe-check-bash:
3561 @if bash
3562 maybe-check-bash: check-bash
3564 check-bash:
3565 @r=`${PWD_COMMAND}`; export r; \
3566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3567 $(HOST_EXPORTS) \
3568 (cd $(HOST_SUBDIR)/bash && \
3569 $(MAKE) $(FLAGS_TO_PASS) check)
3571 @endif bash
3573 .PHONY: install-bash maybe-install-bash
3574 maybe-install-bash:
3575 @if bash
3576 maybe-install-bash: install-bash
3578 install-bash: installdirs
3579 @r=`${PWD_COMMAND}`; export r; \
3580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3581 $(HOST_EXPORTS) \
3582 (cd $(HOST_SUBDIR)/bash && \
3583 $(MAKE) $(FLAGS_TO_PASS) install)
3585 @endif bash
3587 # Other targets (info, dvi, etc.)
3589 .PHONY: maybe-info-bash info-bash
3590 maybe-info-bash:
3591 @if bash
3592 maybe-info-bash: info-bash
3594 info-bash: \
3595 configure-bash
3596 @[ -f ./bash/Makefile ] || exit 0; \
3597 r=`${PWD_COMMAND}`; export r; \
3598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 $(HOST_EXPORTS) \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3602 done; \
3603 echo "Doing info in bash" ; \
3604 (cd $(HOST_SUBDIR)/bash && \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3609 info) \
3610 || exit 1
3612 @endif bash
3614 .PHONY: maybe-dvi-bash dvi-bash
3615 maybe-dvi-bash:
3616 @if bash
3617 maybe-dvi-bash: dvi-bash
3619 dvi-bash: \
3620 configure-bash
3621 @[ -f ./bash/Makefile ] || exit 0; \
3622 r=`${PWD_COMMAND}`; export r; \
3623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3624 $(HOST_EXPORTS) \
3625 for flag in $(EXTRA_HOST_FLAGS) ; do \
3626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3627 done; \
3628 echo "Doing dvi in bash" ; \
3629 (cd $(HOST_SUBDIR)/bash && \
3630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3632 "RANLIB=$${RANLIB}" \
3633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3634 dvi) \
3635 || exit 1
3637 @endif bash
3639 .PHONY: maybe-html-bash html-bash
3640 maybe-html-bash:
3641 @if bash
3642 maybe-html-bash: html-bash
3644 html-bash: \
3645 configure-bash
3646 @[ -f ./bash/Makefile ] || exit 0; \
3647 r=`${PWD_COMMAND}`; export r; \
3648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3649 $(HOST_EXPORTS) \
3650 for flag in $(EXTRA_HOST_FLAGS) ; do \
3651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3652 done; \
3653 echo "Doing html in bash" ; \
3654 (cd $(HOST_SUBDIR)/bash && \
3655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3657 "RANLIB=$${RANLIB}" \
3658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3659 html) \
3660 || exit 1
3662 @endif bash
3664 .PHONY: maybe-TAGS-bash TAGS-bash
3665 maybe-TAGS-bash:
3666 @if bash
3667 maybe-TAGS-bash: TAGS-bash
3669 TAGS-bash: \
3670 configure-bash
3671 @[ -f ./bash/Makefile ] || exit 0; \
3672 r=`${PWD_COMMAND}`; export r; \
3673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3674 $(HOST_EXPORTS) \
3675 for flag in $(EXTRA_HOST_FLAGS) ; do \
3676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3677 done; \
3678 echo "Doing TAGS in bash" ; \
3679 (cd $(HOST_SUBDIR)/bash && \
3680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3682 "RANLIB=$${RANLIB}" \
3683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3684 TAGS) \
3685 || exit 1
3687 @endif bash
3689 .PHONY: maybe-install-info-bash install-info-bash
3690 maybe-install-info-bash:
3691 @if bash
3692 maybe-install-info-bash: install-info-bash
3694 install-info-bash: \
3695 configure-bash \
3696 info-bash
3697 @[ -f ./bash/Makefile ] || exit 0; \
3698 r=`${PWD_COMMAND}`; export r; \
3699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3700 $(HOST_EXPORTS) \
3701 for flag in $(EXTRA_HOST_FLAGS) ; do \
3702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3703 done; \
3704 echo "Doing install-info in bash" ; \
3705 (cd $(HOST_SUBDIR)/bash && \
3706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3708 "RANLIB=$${RANLIB}" \
3709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3710 install-info) \
3711 || exit 1
3713 @endif bash
3715 .PHONY: maybe-installcheck-bash installcheck-bash
3716 maybe-installcheck-bash:
3717 @if bash
3718 maybe-installcheck-bash: installcheck-bash
3720 installcheck-bash: \
3721 configure-bash
3722 @[ -f ./bash/Makefile ] || exit 0; \
3723 r=`${PWD_COMMAND}`; export r; \
3724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3725 $(HOST_EXPORTS) \
3726 for flag in $(EXTRA_HOST_FLAGS) ; do \
3727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3728 done; \
3729 echo "Doing installcheck in bash" ; \
3730 (cd $(HOST_SUBDIR)/bash && \
3731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3733 "RANLIB=$${RANLIB}" \
3734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3735 installcheck) \
3736 || exit 1
3738 @endif bash
3740 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3741 maybe-mostlyclean-bash:
3742 @if bash
3743 maybe-mostlyclean-bash: mostlyclean-bash
3745 mostlyclean-bash:
3746 @[ -f ./bash/Makefile ] || exit 0; \
3747 r=`${PWD_COMMAND}`; export r; \
3748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3749 $(HOST_EXPORTS) \
3750 for flag in $(EXTRA_HOST_FLAGS) ; do \
3751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3752 done; \
3753 echo "Doing mostlyclean in bash" ; \
3754 (cd $(HOST_SUBDIR)/bash && \
3755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3757 "RANLIB=$${RANLIB}" \
3758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3759 mostlyclean) \
3760 || exit 1
3762 @endif bash
3764 .PHONY: maybe-clean-bash clean-bash
3765 maybe-clean-bash:
3766 @if bash
3767 maybe-clean-bash: clean-bash
3769 clean-bash:
3770 @[ -f ./bash/Makefile ] || exit 0; \
3771 r=`${PWD_COMMAND}`; export r; \
3772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3773 $(HOST_EXPORTS) \
3774 for flag in $(EXTRA_HOST_FLAGS) ; do \
3775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3776 done; \
3777 echo "Doing clean in bash" ; \
3778 (cd $(HOST_SUBDIR)/bash && \
3779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3781 "RANLIB=$${RANLIB}" \
3782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3783 clean) \
3784 || exit 1
3786 @endif bash
3788 .PHONY: maybe-distclean-bash distclean-bash
3789 maybe-distclean-bash:
3790 @if bash
3791 maybe-distclean-bash: distclean-bash
3793 distclean-bash:
3794 @[ -f ./bash/Makefile ] || exit 0; \
3795 r=`${PWD_COMMAND}`; export r; \
3796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3797 $(HOST_EXPORTS) \
3798 for flag in $(EXTRA_HOST_FLAGS) ; do \
3799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3800 done; \
3801 echo "Doing distclean in bash" ; \
3802 (cd $(HOST_SUBDIR)/bash && \
3803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3805 "RANLIB=$${RANLIB}" \
3806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3807 distclean) \
3808 || exit 1
3810 @endif bash
3812 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3813 maybe-maintainer-clean-bash:
3814 @if bash
3815 maybe-maintainer-clean-bash: maintainer-clean-bash
3817 maintainer-clean-bash:
3818 @[ -f ./bash/Makefile ] || exit 0; \
3819 r=`${PWD_COMMAND}`; export r; \
3820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3821 $(HOST_EXPORTS) \
3822 for flag in $(EXTRA_HOST_FLAGS) ; do \
3823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3824 done; \
3825 echo "Doing maintainer-clean in bash" ; \
3826 (cd $(HOST_SUBDIR)/bash && \
3827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3829 "RANLIB=$${RANLIB}" \
3830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3831 maintainer-clean) \
3832 || exit 1
3834 @endif bash
3838 .PHONY: configure-bfd maybe-configure-bfd
3839 maybe-configure-bfd:
3840 @if bfd
3841 maybe-configure-bfd: configure-bfd
3842 configure-bfd:
3843 @test -f stage_last && exit 0; \
3844 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3845 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3846 r=`${PWD_COMMAND}`; export r; \
3847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3848 $(HOST_EXPORTS) \
3849 echo Configuring in $(HOST_SUBDIR)/bfd; \
3850 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
3851 case $(srcdir) in \
3852 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3853 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3854 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3855 esac; \
3856 srcdiroption="--srcdir=$${topdir}/bfd"; \
3857 libsrcdir="$$s/bfd"; \
3858 $(SHELL) $${libsrcdir}/configure \
3859 $(HOST_CONFIGARGS) $${srcdiroption} \
3860 || exit 1
3861 @endif bfd
3865 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
3866 maybe-configure-stage1-bfd:
3867 @if bfd-bootstrap
3868 maybe-configure-stage1-bfd: configure-stage1-bfd
3869 configure-stage1-bfd:
3870 @$(MAKE) stage1-start
3871 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3872 r=`${PWD_COMMAND}`; export r; \
3873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3874 $(HOST_EXPORTS) \
3875 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
3876 cd $(HOST_SUBDIR)/bfd || exit 1; \
3877 case $(srcdir) in \
3878 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3879 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3880 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3881 esac; \
3882 srcdiroption="--srcdir=$${topdir}/bfd"; \
3883 libsrcdir="$$s/bfd"; \
3884 $(SHELL) $${libsrcdir}/configure \
3885 $(HOST_CONFIGARGS) $${srcdiroption} \
3886 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
3887 @endif bfd-bootstrap
3889 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
3890 maybe-configure-stage2-bfd:
3891 @if bfd-bootstrap
3892 maybe-configure-stage2-bfd: configure-stage2-bfd
3893 configure-stage2-bfd:
3894 @$(MAKE) stage2-start
3895 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3896 r=`${PWD_COMMAND}`; export r; \
3897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3898 $(HOST_EXPORTS) \
3899 $(POSTSTAGE1_HOST_EXPORTS) \
3900 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
3901 cd $(HOST_SUBDIR)/bfd || exit 1; \
3902 case $(srcdir) in \
3903 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3904 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3905 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3906 esac; \
3907 srcdiroption="--srcdir=$${topdir}/bfd"; \
3908 libsrcdir="$$s/bfd"; \
3909 $(SHELL) $${libsrcdir}/configure \
3910 $(HOST_CONFIGARGS) $${srcdiroption} \
3911 @stage2_werror_flag@
3912 @endif bfd-bootstrap
3914 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
3915 maybe-configure-stage3-bfd:
3916 @if bfd-bootstrap
3917 maybe-configure-stage3-bfd: configure-stage3-bfd
3918 configure-stage3-bfd:
3919 @$(MAKE) stage3-start
3920 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3921 r=`${PWD_COMMAND}`; export r; \
3922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3923 $(HOST_EXPORTS) \
3924 $(POSTSTAGE1_HOST_EXPORTS) \
3925 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
3926 cd $(HOST_SUBDIR)/bfd || exit 1; \
3927 case $(srcdir) in \
3928 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3929 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3930 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3931 esac; \
3932 srcdiroption="--srcdir=$${topdir}/bfd"; \
3933 libsrcdir="$$s/bfd"; \
3934 $(SHELL) $${libsrcdir}/configure \
3935 $(HOST_CONFIGARGS) $${srcdiroption} \
3936 @stage2_werror_flag@
3937 @endif bfd-bootstrap
3939 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
3940 maybe-configure-stage4-bfd:
3941 @if bfd-bootstrap
3942 maybe-configure-stage4-bfd: configure-stage4-bfd
3943 configure-stage4-bfd:
3944 @$(MAKE) stage4-start
3945 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3946 r=`${PWD_COMMAND}`; export r; \
3947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3948 $(HOST_EXPORTS) \
3949 $(POSTSTAGE1_HOST_EXPORTS) \
3950 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
3951 cd $(HOST_SUBDIR)/bfd || exit 1; \
3952 case $(srcdir) in \
3953 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3954 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3955 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3956 esac; \
3957 srcdiroption="--srcdir=$${topdir}/bfd"; \
3958 libsrcdir="$$s/bfd"; \
3959 $(SHELL) $${libsrcdir}/configure \
3960 $(HOST_CONFIGARGS) $${srcdiroption} \
3961 @stage2_werror_flag@
3962 @endif bfd-bootstrap
3964 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
3965 maybe-configure-stageprofile-bfd:
3966 @if bfd-bootstrap
3967 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
3968 configure-stageprofile-bfd:
3969 @$(MAKE) stageprofile-start
3970 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3971 r=`${PWD_COMMAND}`; export r; \
3972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3973 $(HOST_EXPORTS) \
3974 $(POSTSTAGE1_HOST_EXPORTS) \
3975 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
3976 cd $(HOST_SUBDIR)/bfd || exit 1; \
3977 case $(srcdir) in \
3978 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3979 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3980 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3981 esac; \
3982 srcdiroption="--srcdir=$${topdir}/bfd"; \
3983 libsrcdir="$$s/bfd"; \
3984 $(SHELL) $${libsrcdir}/configure \
3985 $(HOST_CONFIGARGS) $${srcdiroption} \
3986 @stage2_werror_flag@
3987 @endif bfd-bootstrap
3989 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
3990 maybe-configure-stagefeedback-bfd:
3991 @if bfd-bootstrap
3992 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
3993 configure-stagefeedback-bfd:
3994 @$(MAKE) stagefeedback-start
3995 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
3996 r=`${PWD_COMMAND}`; export r; \
3997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3998 $(HOST_EXPORTS) \
3999 $(POSTSTAGE1_HOST_EXPORTS) \
4000 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4001 cd $(HOST_SUBDIR)/bfd || exit 1; \
4002 case $(srcdir) in \
4003 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4004 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4005 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4006 esac; \
4007 srcdiroption="--srcdir=$${topdir}/bfd"; \
4008 libsrcdir="$$s/bfd"; \
4009 $(SHELL) $${libsrcdir}/configure \
4010 $(HOST_CONFIGARGS) $${srcdiroption} \
4011 @stage2_werror_flag@
4012 @endif bfd-bootstrap
4018 .PHONY: all-bfd maybe-all-bfd
4019 maybe-all-bfd:
4020 @if bfd
4021 TARGET-bfd=all
4022 maybe-all-bfd: all-bfd
4023 all-bfd: configure-bfd
4024 @test -f stage_last && exit 0; \
4025 r=`${PWD_COMMAND}`; export r; \
4026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4027 $(HOST_EXPORTS) \
4028 (cd $(HOST_SUBDIR)/bfd && \
4029 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4030 @endif bfd
4034 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4035 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4036 maybe-all-stage1-bfd:
4037 maybe-clean-stage1-bfd:
4038 @if bfd-bootstrap
4039 maybe-all-stage1-bfd: all-stage1-bfd
4040 all-stage1: all-stage1-bfd
4041 all-stage1-bfd: configure-stage1-bfd
4042 @$(MAKE) stage1-start
4043 @r=`${PWD_COMMAND}`; export r; \
4044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4045 $(HOST_EXPORTS) \
4046 cd $(HOST_SUBDIR)/bfd && \
4047 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4049 maybe-clean-stage1-bfd: clean-stage1-bfd
4050 clean-stage1: clean-stage1-bfd
4051 clean-stage1-bfd:
4052 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4053 || exit 0 ; \
4054 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage1-start ; \
4055 cd $(HOST_SUBDIR)/bfd && \
4056 $(MAKE) $(FLAGS_TO_PASS) \
4057 CFLAGS="$(STAGE1_CFLAGS)" clean
4058 @endif bfd-bootstrap
4061 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4062 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4063 maybe-all-stage2-bfd:
4064 maybe-clean-stage2-bfd:
4065 @if bfd-bootstrap
4066 maybe-all-stage2-bfd: all-stage2-bfd
4067 all-stage2: all-stage2-bfd
4068 all-stage2-bfd: configure-stage2-bfd
4069 @$(MAKE) stage2-start
4070 @r=`${PWD_COMMAND}`; export r; \
4071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4072 $(HOST_EXPORTS) \
4073 $(POSTSTAGE1_HOST_EXPORTS) \
4074 cd $(HOST_SUBDIR)/bfd && \
4075 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4077 maybe-clean-stage2-bfd: clean-stage2-bfd
4078 clean-stage2: clean-stage2-bfd
4079 clean-stage2-bfd:
4080 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4081 || exit 0 ; \
4082 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage2-start ; \
4083 cd $(HOST_SUBDIR)/bfd && \
4084 $(MAKE) $(FLAGS_TO_PASS) \
4085 $(POSTSTAGE1_FLAGS_TO_PASS) \
4086 clean
4087 @endif bfd-bootstrap
4090 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4091 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4092 maybe-all-stage3-bfd:
4093 maybe-clean-stage3-bfd:
4094 @if bfd-bootstrap
4095 maybe-all-stage3-bfd: all-stage3-bfd
4096 all-stage3: all-stage3-bfd
4097 all-stage3-bfd: configure-stage3-bfd
4098 @$(MAKE) stage3-start
4099 @r=`${PWD_COMMAND}`; export r; \
4100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4101 $(HOST_EXPORTS) \
4102 $(POSTSTAGE1_HOST_EXPORTS) \
4103 cd $(HOST_SUBDIR)/bfd && \
4104 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4106 maybe-clean-stage3-bfd: clean-stage3-bfd
4107 clean-stage3: clean-stage3-bfd
4108 clean-stage3-bfd:
4109 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4110 || exit 0 ; \
4111 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage3-start ; \
4112 cd $(HOST_SUBDIR)/bfd && \
4113 $(MAKE) $(FLAGS_TO_PASS) \
4114 $(POSTSTAGE1_FLAGS_TO_PASS) \
4115 clean
4116 @endif bfd-bootstrap
4119 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4120 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4121 maybe-all-stage4-bfd:
4122 maybe-clean-stage4-bfd:
4123 @if bfd-bootstrap
4124 maybe-all-stage4-bfd: all-stage4-bfd
4125 all-stage4: all-stage4-bfd
4126 all-stage4-bfd: configure-stage4-bfd
4127 @$(MAKE) stage4-start
4128 @r=`${PWD_COMMAND}`; export r; \
4129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4130 $(HOST_EXPORTS) \
4131 $(POSTSTAGE1_HOST_EXPORTS) \
4132 cd $(HOST_SUBDIR)/bfd && \
4133 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4135 maybe-clean-stage4-bfd: clean-stage4-bfd
4136 clean-stage4: clean-stage4-bfd
4137 clean-stage4-bfd:
4138 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4139 || exit 0 ; \
4140 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stage4-start ; \
4141 cd $(HOST_SUBDIR)/bfd && \
4142 $(MAKE) $(FLAGS_TO_PASS) \
4143 $(POSTSTAGE1_FLAGS_TO_PASS) \
4144 clean
4145 @endif bfd-bootstrap
4148 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4149 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4150 maybe-all-stageprofile-bfd:
4151 maybe-clean-stageprofile-bfd:
4152 @if bfd-bootstrap
4153 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4154 all-stageprofile: all-stageprofile-bfd
4155 all-stageprofile-bfd: configure-stageprofile-bfd
4156 @$(MAKE) stageprofile-start
4157 @r=`${PWD_COMMAND}`; export r; \
4158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4159 $(HOST_EXPORTS) \
4160 $(POSTSTAGE1_HOST_EXPORTS) \
4161 cd $(HOST_SUBDIR)/bfd && \
4162 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4164 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4165 clean-stageprofile: clean-stageprofile-bfd
4166 clean-stageprofile-bfd:
4167 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4168 || exit 0 ; \
4169 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stageprofile-start ; \
4170 cd $(HOST_SUBDIR)/bfd && \
4171 $(MAKE) $(FLAGS_TO_PASS) \
4172 $(POSTSTAGE1_FLAGS_TO_PASS) \
4173 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4174 @endif bfd-bootstrap
4177 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4178 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4179 maybe-all-stagefeedback-bfd:
4180 maybe-clean-stagefeedback-bfd:
4181 @if bfd-bootstrap
4182 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4183 all-stagefeedback: all-stagefeedback-bfd
4184 all-stagefeedback-bfd: configure-stagefeedback-bfd
4185 @$(MAKE) stagefeedback-start
4186 @r=`${PWD_COMMAND}`; export r; \
4187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4188 $(HOST_EXPORTS) \
4189 $(POSTSTAGE1_HOST_EXPORTS) \
4190 cd $(HOST_SUBDIR)/bfd && \
4191 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4193 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4194 clean-stagefeedback: clean-stagefeedback-bfd
4195 clean-stagefeedback-bfd:
4196 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4197 || exit 0 ; \
4198 [ -f $(HOST_SUBDIR)/bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
4199 cd $(HOST_SUBDIR)/bfd && \
4200 $(MAKE) $(FLAGS_TO_PASS) \
4201 $(POSTSTAGE1_FLAGS_TO_PASS) \
4202 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4203 @endif bfd-bootstrap
4209 .PHONY: check-bfd maybe-check-bfd
4210 maybe-check-bfd:
4211 @if bfd
4212 maybe-check-bfd: check-bfd
4214 check-bfd:
4215 @r=`${PWD_COMMAND}`; export r; \
4216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4217 $(HOST_EXPORTS) \
4218 (cd $(HOST_SUBDIR)/bfd && \
4219 $(MAKE) $(FLAGS_TO_PASS) check)
4221 @endif bfd
4223 .PHONY: install-bfd maybe-install-bfd
4224 maybe-install-bfd:
4225 @if bfd
4226 maybe-install-bfd: install-bfd
4228 install-bfd: installdirs
4229 @r=`${PWD_COMMAND}`; export r; \
4230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4231 $(HOST_EXPORTS) \
4232 (cd $(HOST_SUBDIR)/bfd && \
4233 $(MAKE) $(FLAGS_TO_PASS) install)
4235 @endif bfd
4237 # Other targets (info, dvi, etc.)
4239 .PHONY: maybe-info-bfd info-bfd
4240 maybe-info-bfd:
4241 @if bfd
4242 maybe-info-bfd: info-bfd
4244 info-bfd: \
4245 configure-bfd
4246 @[ -f ./bfd/Makefile ] || exit 0; \
4247 r=`${PWD_COMMAND}`; export r; \
4248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4249 $(HOST_EXPORTS) \
4250 for flag in $(EXTRA_HOST_FLAGS) ; do \
4251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4252 done; \
4253 echo "Doing info in bfd" ; \
4254 (cd $(HOST_SUBDIR)/bfd && \
4255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4257 "RANLIB=$${RANLIB}" \
4258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4259 info) \
4260 || exit 1
4262 @endif bfd
4264 .PHONY: maybe-dvi-bfd dvi-bfd
4265 maybe-dvi-bfd:
4266 @if bfd
4267 maybe-dvi-bfd: dvi-bfd
4269 dvi-bfd: \
4270 configure-bfd
4271 @[ -f ./bfd/Makefile ] || exit 0; \
4272 r=`${PWD_COMMAND}`; export r; \
4273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4274 $(HOST_EXPORTS) \
4275 for flag in $(EXTRA_HOST_FLAGS) ; do \
4276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4277 done; \
4278 echo "Doing dvi in bfd" ; \
4279 (cd $(HOST_SUBDIR)/bfd && \
4280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4282 "RANLIB=$${RANLIB}" \
4283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4284 dvi) \
4285 || exit 1
4287 @endif bfd
4289 .PHONY: maybe-html-bfd html-bfd
4290 maybe-html-bfd:
4291 @if bfd
4292 maybe-html-bfd: html-bfd
4294 html-bfd: \
4295 configure-bfd
4296 @[ -f ./bfd/Makefile ] || exit 0; \
4297 r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 $(HOST_EXPORTS) \
4300 for flag in $(EXTRA_HOST_FLAGS) ; do \
4301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4302 done; \
4303 echo "Doing html in bfd" ; \
4304 (cd $(HOST_SUBDIR)/bfd && \
4305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4307 "RANLIB=$${RANLIB}" \
4308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4309 html) \
4310 || exit 1
4312 @endif bfd
4314 .PHONY: maybe-TAGS-bfd TAGS-bfd
4315 maybe-TAGS-bfd:
4316 @if bfd
4317 maybe-TAGS-bfd: TAGS-bfd
4319 TAGS-bfd: \
4320 configure-bfd
4321 @[ -f ./bfd/Makefile ] || exit 0; \
4322 r=`${PWD_COMMAND}`; export r; \
4323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4324 $(HOST_EXPORTS) \
4325 for flag in $(EXTRA_HOST_FLAGS) ; do \
4326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4327 done; \
4328 echo "Doing TAGS in bfd" ; \
4329 (cd $(HOST_SUBDIR)/bfd && \
4330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4332 "RANLIB=$${RANLIB}" \
4333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4334 TAGS) \
4335 || exit 1
4337 @endif bfd
4339 .PHONY: maybe-install-info-bfd install-info-bfd
4340 maybe-install-info-bfd:
4341 @if bfd
4342 maybe-install-info-bfd: install-info-bfd
4344 install-info-bfd: \
4345 configure-bfd \
4346 info-bfd
4347 @[ -f ./bfd/Makefile ] || exit 0; \
4348 r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(HOST_EXPORTS) \
4351 for flag in $(EXTRA_HOST_FLAGS) ; do \
4352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4353 done; \
4354 echo "Doing install-info in bfd" ; \
4355 (cd $(HOST_SUBDIR)/bfd && \
4356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4358 "RANLIB=$${RANLIB}" \
4359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4360 install-info) \
4361 || exit 1
4363 @endif bfd
4365 .PHONY: maybe-installcheck-bfd installcheck-bfd
4366 maybe-installcheck-bfd:
4367 @if bfd
4368 maybe-installcheck-bfd: installcheck-bfd
4370 installcheck-bfd: \
4371 configure-bfd
4372 @[ -f ./bfd/Makefile ] || exit 0; \
4373 r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(HOST_EXPORTS) \
4376 for flag in $(EXTRA_HOST_FLAGS) ; do \
4377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4378 done; \
4379 echo "Doing installcheck in bfd" ; \
4380 (cd $(HOST_SUBDIR)/bfd && \
4381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4383 "RANLIB=$${RANLIB}" \
4384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4385 installcheck) \
4386 || exit 1
4388 @endif bfd
4390 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4391 maybe-mostlyclean-bfd:
4392 @if bfd
4393 maybe-mostlyclean-bfd: mostlyclean-bfd
4395 mostlyclean-bfd:
4396 @[ -f ./bfd/Makefile ] || exit 0; \
4397 r=`${PWD_COMMAND}`; export r; \
4398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4399 $(HOST_EXPORTS) \
4400 for flag in $(EXTRA_HOST_FLAGS) ; do \
4401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4402 done; \
4403 echo "Doing mostlyclean in bfd" ; \
4404 (cd $(HOST_SUBDIR)/bfd && \
4405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4407 "RANLIB=$${RANLIB}" \
4408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4409 mostlyclean) \
4410 || exit 1
4412 @endif bfd
4414 .PHONY: maybe-clean-bfd clean-bfd
4415 maybe-clean-bfd:
4416 @if bfd
4417 maybe-clean-bfd: clean-bfd
4419 clean-bfd:
4420 @[ -f ./bfd/Makefile ] || exit 0; \
4421 r=`${PWD_COMMAND}`; export r; \
4422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4423 $(HOST_EXPORTS) \
4424 for flag in $(EXTRA_HOST_FLAGS) ; do \
4425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4426 done; \
4427 echo "Doing clean in bfd" ; \
4428 (cd $(HOST_SUBDIR)/bfd && \
4429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4431 "RANLIB=$${RANLIB}" \
4432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4433 clean) \
4434 || exit 1
4436 @endif bfd
4438 .PHONY: maybe-distclean-bfd distclean-bfd
4439 maybe-distclean-bfd:
4440 @if bfd
4441 maybe-distclean-bfd: distclean-bfd
4443 distclean-bfd:
4444 @[ -f ./bfd/Makefile ] || exit 0; \
4445 r=`${PWD_COMMAND}`; export r; \
4446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4447 $(HOST_EXPORTS) \
4448 for flag in $(EXTRA_HOST_FLAGS) ; do \
4449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4450 done; \
4451 echo "Doing distclean in bfd" ; \
4452 (cd $(HOST_SUBDIR)/bfd && \
4453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4455 "RANLIB=$${RANLIB}" \
4456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4457 distclean) \
4458 || exit 1
4460 @endif bfd
4462 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4463 maybe-maintainer-clean-bfd:
4464 @if bfd
4465 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4467 maintainer-clean-bfd:
4468 @[ -f ./bfd/Makefile ] || exit 0; \
4469 r=`${PWD_COMMAND}`; export r; \
4470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4471 $(HOST_EXPORTS) \
4472 for flag in $(EXTRA_HOST_FLAGS) ; do \
4473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4474 done; \
4475 echo "Doing maintainer-clean in bfd" ; \
4476 (cd $(HOST_SUBDIR)/bfd && \
4477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4479 "RANLIB=$${RANLIB}" \
4480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4481 maintainer-clean) \
4482 || exit 1
4484 @endif bfd
4488 .PHONY: configure-opcodes maybe-configure-opcodes
4489 maybe-configure-opcodes:
4490 @if opcodes
4491 maybe-configure-opcodes: configure-opcodes
4492 configure-opcodes:
4493 @test -f stage_last && exit 0; \
4494 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4495 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4496 r=`${PWD_COMMAND}`; export r; \
4497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4498 $(HOST_EXPORTS) \
4499 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4500 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4501 case $(srcdir) in \
4502 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4503 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4504 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4505 esac; \
4506 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4507 libsrcdir="$$s/opcodes"; \
4508 $(SHELL) $${libsrcdir}/configure \
4509 $(HOST_CONFIGARGS) $${srcdiroption} \
4510 || exit 1
4511 @endif opcodes
4515 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4516 maybe-configure-stage1-opcodes:
4517 @if opcodes-bootstrap
4518 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4519 configure-stage1-opcodes:
4520 @$(MAKE) stage1-start
4521 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4522 r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(HOST_EXPORTS) \
4525 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4526 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4527 case $(srcdir) in \
4528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4529 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4531 esac; \
4532 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4533 libsrcdir="$$s/opcodes"; \
4534 $(SHELL) $${libsrcdir}/configure \
4535 $(HOST_CONFIGARGS) $${srcdiroption} \
4536 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4537 @endif opcodes-bootstrap
4539 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4540 maybe-configure-stage2-opcodes:
4541 @if opcodes-bootstrap
4542 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4543 configure-stage2-opcodes:
4544 @$(MAKE) stage2-start
4545 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4546 r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 $(HOST_EXPORTS) \
4549 $(POSTSTAGE1_HOST_EXPORTS) \
4550 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4551 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4552 case $(srcdir) in \
4553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4554 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4556 esac; \
4557 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4558 libsrcdir="$$s/opcodes"; \
4559 $(SHELL) $${libsrcdir}/configure \
4560 $(HOST_CONFIGARGS) $${srcdiroption} \
4561 @stage2_werror_flag@
4562 @endif opcodes-bootstrap
4564 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4565 maybe-configure-stage3-opcodes:
4566 @if opcodes-bootstrap
4567 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4568 configure-stage3-opcodes:
4569 @$(MAKE) stage3-start
4570 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4571 r=`${PWD_COMMAND}`; export r; \
4572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4573 $(HOST_EXPORTS) \
4574 $(POSTSTAGE1_HOST_EXPORTS) \
4575 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4576 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4577 case $(srcdir) in \
4578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4579 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4581 esac; \
4582 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4583 libsrcdir="$$s/opcodes"; \
4584 $(SHELL) $${libsrcdir}/configure \
4585 $(HOST_CONFIGARGS) $${srcdiroption} \
4586 @stage2_werror_flag@
4587 @endif opcodes-bootstrap
4589 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4590 maybe-configure-stage4-opcodes:
4591 @if opcodes-bootstrap
4592 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4593 configure-stage4-opcodes:
4594 @$(MAKE) stage4-start
4595 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4596 r=`${PWD_COMMAND}`; export r; \
4597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4598 $(HOST_EXPORTS) \
4599 $(POSTSTAGE1_HOST_EXPORTS) \
4600 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4601 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4602 case $(srcdir) in \
4603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4604 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4606 esac; \
4607 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4608 libsrcdir="$$s/opcodes"; \
4609 $(SHELL) $${libsrcdir}/configure \
4610 $(HOST_CONFIGARGS) $${srcdiroption} \
4611 @stage2_werror_flag@
4612 @endif opcodes-bootstrap
4614 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4615 maybe-configure-stageprofile-opcodes:
4616 @if opcodes-bootstrap
4617 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4618 configure-stageprofile-opcodes:
4619 @$(MAKE) stageprofile-start
4620 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4621 r=`${PWD_COMMAND}`; export r; \
4622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4623 $(HOST_EXPORTS) \
4624 $(POSTSTAGE1_HOST_EXPORTS) \
4625 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4626 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4627 case $(srcdir) in \
4628 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4629 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4630 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4631 esac; \
4632 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4633 libsrcdir="$$s/opcodes"; \
4634 $(SHELL) $${libsrcdir}/configure \
4635 $(HOST_CONFIGARGS) $${srcdiroption} \
4636 @stage2_werror_flag@
4637 @endif opcodes-bootstrap
4639 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4640 maybe-configure-stagefeedback-opcodes:
4641 @if opcodes-bootstrap
4642 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4643 configure-stagefeedback-opcodes:
4644 @$(MAKE) stagefeedback-start
4645 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4646 r=`${PWD_COMMAND}`; export r; \
4647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4648 $(HOST_EXPORTS) \
4649 $(POSTSTAGE1_HOST_EXPORTS) \
4650 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4651 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4652 case $(srcdir) in \
4653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4654 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4656 esac; \
4657 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4658 libsrcdir="$$s/opcodes"; \
4659 $(SHELL) $${libsrcdir}/configure \
4660 $(HOST_CONFIGARGS) $${srcdiroption} \
4661 @stage2_werror_flag@
4662 @endif opcodes-bootstrap
4668 .PHONY: all-opcodes maybe-all-opcodes
4669 maybe-all-opcodes:
4670 @if opcodes
4671 TARGET-opcodes=all
4672 maybe-all-opcodes: all-opcodes
4673 all-opcodes: configure-opcodes
4674 @test -f stage_last && exit 0; \
4675 r=`${PWD_COMMAND}`; export r; \
4676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4677 $(HOST_EXPORTS) \
4678 (cd $(HOST_SUBDIR)/opcodes && \
4679 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4680 @endif opcodes
4684 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4685 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4686 maybe-all-stage1-opcodes:
4687 maybe-clean-stage1-opcodes:
4688 @if opcodes-bootstrap
4689 maybe-all-stage1-opcodes: all-stage1-opcodes
4690 all-stage1: all-stage1-opcodes
4691 all-stage1-opcodes: configure-stage1-opcodes
4692 @$(MAKE) stage1-start
4693 @r=`${PWD_COMMAND}`; export r; \
4694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4695 $(HOST_EXPORTS) \
4696 cd $(HOST_SUBDIR)/opcodes && \
4697 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
4699 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4700 clean-stage1: clean-stage1-opcodes
4701 clean-stage1-opcodes:
4702 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4703 || exit 0 ; \
4704 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage1-start ; \
4705 cd $(HOST_SUBDIR)/opcodes && \
4706 $(MAKE) $(FLAGS_TO_PASS) \
4707 CFLAGS="$(STAGE1_CFLAGS)" clean
4708 @endif opcodes-bootstrap
4711 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4712 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4713 maybe-all-stage2-opcodes:
4714 maybe-clean-stage2-opcodes:
4715 @if opcodes-bootstrap
4716 maybe-all-stage2-opcodes: all-stage2-opcodes
4717 all-stage2: all-stage2-opcodes
4718 all-stage2-opcodes: configure-stage2-opcodes
4719 @$(MAKE) stage2-start
4720 @r=`${PWD_COMMAND}`; export r; \
4721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4722 $(HOST_EXPORTS) \
4723 $(POSTSTAGE1_HOST_EXPORTS) \
4724 cd $(HOST_SUBDIR)/opcodes && \
4725 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4727 maybe-clean-stage2-opcodes: clean-stage2-opcodes
4728 clean-stage2: clean-stage2-opcodes
4729 clean-stage2-opcodes:
4730 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
4731 || exit 0 ; \
4732 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage2-start ; \
4733 cd $(HOST_SUBDIR)/opcodes && \
4734 $(MAKE) $(FLAGS_TO_PASS) \
4735 $(POSTSTAGE1_FLAGS_TO_PASS) \
4736 clean
4737 @endif opcodes-bootstrap
4740 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
4741 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
4742 maybe-all-stage3-opcodes:
4743 maybe-clean-stage3-opcodes:
4744 @if opcodes-bootstrap
4745 maybe-all-stage3-opcodes: all-stage3-opcodes
4746 all-stage3: all-stage3-opcodes
4747 all-stage3-opcodes: configure-stage3-opcodes
4748 @$(MAKE) stage3-start
4749 @r=`${PWD_COMMAND}`; export r; \
4750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4751 $(HOST_EXPORTS) \
4752 $(POSTSTAGE1_HOST_EXPORTS) \
4753 cd $(HOST_SUBDIR)/opcodes && \
4754 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4756 maybe-clean-stage3-opcodes: clean-stage3-opcodes
4757 clean-stage3: clean-stage3-opcodes
4758 clean-stage3-opcodes:
4759 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
4760 || exit 0 ; \
4761 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage3-start ; \
4762 cd $(HOST_SUBDIR)/opcodes && \
4763 $(MAKE) $(FLAGS_TO_PASS) \
4764 $(POSTSTAGE1_FLAGS_TO_PASS) \
4765 clean
4766 @endif opcodes-bootstrap
4769 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
4770 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
4771 maybe-all-stage4-opcodes:
4772 maybe-clean-stage4-opcodes:
4773 @if opcodes-bootstrap
4774 maybe-all-stage4-opcodes: all-stage4-opcodes
4775 all-stage4: all-stage4-opcodes
4776 all-stage4-opcodes: configure-stage4-opcodes
4777 @$(MAKE) stage4-start
4778 @r=`${PWD_COMMAND}`; export r; \
4779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4780 $(HOST_EXPORTS) \
4781 $(POSTSTAGE1_HOST_EXPORTS) \
4782 cd $(HOST_SUBDIR)/opcodes && \
4783 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
4785 maybe-clean-stage4-opcodes: clean-stage4-opcodes
4786 clean-stage4: clean-stage4-opcodes
4787 clean-stage4-opcodes:
4788 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
4789 || exit 0 ; \
4790 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stage4-start ; \
4791 cd $(HOST_SUBDIR)/opcodes && \
4792 $(MAKE) $(FLAGS_TO_PASS) \
4793 $(POSTSTAGE1_FLAGS_TO_PASS) \
4794 clean
4795 @endif opcodes-bootstrap
4798 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
4799 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
4800 maybe-all-stageprofile-opcodes:
4801 maybe-clean-stageprofile-opcodes:
4802 @if opcodes-bootstrap
4803 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
4804 all-stageprofile: all-stageprofile-opcodes
4805 all-stageprofile-opcodes: configure-stageprofile-opcodes
4806 @$(MAKE) stageprofile-start
4807 @r=`${PWD_COMMAND}`; export r; \
4808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4809 $(HOST_EXPORTS) \
4810 $(POSTSTAGE1_HOST_EXPORTS) \
4811 cd $(HOST_SUBDIR)/opcodes && \
4812 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
4814 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
4815 clean-stageprofile: clean-stageprofile-opcodes
4816 clean-stageprofile-opcodes:
4817 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
4818 || exit 0 ; \
4819 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
4820 cd $(HOST_SUBDIR)/opcodes && \
4821 $(MAKE) $(FLAGS_TO_PASS) \
4822 $(POSTSTAGE1_FLAGS_TO_PASS) \
4823 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4824 @endif opcodes-bootstrap
4827 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
4828 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
4829 maybe-all-stagefeedback-opcodes:
4830 maybe-clean-stagefeedback-opcodes:
4831 @if opcodes-bootstrap
4832 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
4833 all-stagefeedback: all-stagefeedback-opcodes
4834 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
4835 @$(MAKE) stagefeedback-start
4836 @r=`${PWD_COMMAND}`; export r; \
4837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4838 $(HOST_EXPORTS) \
4839 $(POSTSTAGE1_HOST_EXPORTS) \
4840 cd $(HOST_SUBDIR)/opcodes && \
4841 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
4843 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
4844 clean-stagefeedback: clean-stagefeedback-opcodes
4845 clean-stagefeedback-opcodes:
4846 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
4847 || exit 0 ; \
4848 [ -f $(HOST_SUBDIR)/opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
4849 cd $(HOST_SUBDIR)/opcodes && \
4850 $(MAKE) $(FLAGS_TO_PASS) \
4851 $(POSTSTAGE1_FLAGS_TO_PASS) \
4852 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4853 @endif opcodes-bootstrap
4859 .PHONY: check-opcodes maybe-check-opcodes
4860 maybe-check-opcodes:
4861 @if opcodes
4862 maybe-check-opcodes: check-opcodes
4864 check-opcodes:
4865 @r=`${PWD_COMMAND}`; export r; \
4866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4867 $(HOST_EXPORTS) \
4868 (cd $(HOST_SUBDIR)/opcodes && \
4869 $(MAKE) $(FLAGS_TO_PASS) check)
4871 @endif opcodes
4873 .PHONY: install-opcodes maybe-install-opcodes
4874 maybe-install-opcodes:
4875 @if opcodes
4876 maybe-install-opcodes: install-opcodes
4878 install-opcodes: installdirs
4879 @r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 $(HOST_EXPORTS) \
4882 (cd $(HOST_SUBDIR)/opcodes && \
4883 $(MAKE) $(FLAGS_TO_PASS) install)
4885 @endif opcodes
4887 # Other targets (info, dvi, etc.)
4889 .PHONY: maybe-info-opcodes info-opcodes
4890 maybe-info-opcodes:
4891 @if opcodes
4892 maybe-info-opcodes: info-opcodes
4894 info-opcodes: \
4895 configure-opcodes
4896 @[ -f ./opcodes/Makefile ] || exit 0; \
4897 r=`${PWD_COMMAND}`; export r; \
4898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4899 $(HOST_EXPORTS) \
4900 for flag in $(EXTRA_HOST_FLAGS) ; do \
4901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4902 done; \
4903 echo "Doing info in opcodes" ; \
4904 (cd $(HOST_SUBDIR)/opcodes && \
4905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4907 "RANLIB=$${RANLIB}" \
4908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4909 info) \
4910 || exit 1
4912 @endif opcodes
4914 .PHONY: maybe-dvi-opcodes dvi-opcodes
4915 maybe-dvi-opcodes:
4916 @if opcodes
4917 maybe-dvi-opcodes: dvi-opcodes
4919 dvi-opcodes: \
4920 configure-opcodes
4921 @[ -f ./opcodes/Makefile ] || exit 0; \
4922 r=`${PWD_COMMAND}`; export r; \
4923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4924 $(HOST_EXPORTS) \
4925 for flag in $(EXTRA_HOST_FLAGS) ; do \
4926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4927 done; \
4928 echo "Doing dvi in opcodes" ; \
4929 (cd $(HOST_SUBDIR)/opcodes && \
4930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4932 "RANLIB=$${RANLIB}" \
4933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4934 dvi) \
4935 || exit 1
4937 @endif opcodes
4939 .PHONY: maybe-html-opcodes html-opcodes
4940 maybe-html-opcodes:
4941 @if opcodes
4942 maybe-html-opcodes: html-opcodes
4944 html-opcodes: \
4945 configure-opcodes
4946 @[ -f ./opcodes/Makefile ] || exit 0; \
4947 r=`${PWD_COMMAND}`; export r; \
4948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4949 $(HOST_EXPORTS) \
4950 for flag in $(EXTRA_HOST_FLAGS) ; do \
4951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4952 done; \
4953 echo "Doing html in opcodes" ; \
4954 (cd $(HOST_SUBDIR)/opcodes && \
4955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4957 "RANLIB=$${RANLIB}" \
4958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4959 html) \
4960 || exit 1
4962 @endif opcodes
4964 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4965 maybe-TAGS-opcodes:
4966 @if opcodes
4967 maybe-TAGS-opcodes: TAGS-opcodes
4969 TAGS-opcodes: \
4970 configure-opcodes
4971 @[ -f ./opcodes/Makefile ] || exit 0; \
4972 r=`${PWD_COMMAND}`; export r; \
4973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4974 $(HOST_EXPORTS) \
4975 for flag in $(EXTRA_HOST_FLAGS) ; do \
4976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4977 done; \
4978 echo "Doing TAGS in opcodes" ; \
4979 (cd $(HOST_SUBDIR)/opcodes && \
4980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4982 "RANLIB=$${RANLIB}" \
4983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4984 TAGS) \
4985 || exit 1
4987 @endif opcodes
4989 .PHONY: maybe-install-info-opcodes install-info-opcodes
4990 maybe-install-info-opcodes:
4991 @if opcodes
4992 maybe-install-info-opcodes: install-info-opcodes
4994 install-info-opcodes: \
4995 configure-opcodes \
4996 info-opcodes
4997 @[ -f ./opcodes/Makefile ] || exit 0; \
4998 r=`${PWD_COMMAND}`; export r; \
4999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5000 $(HOST_EXPORTS) \
5001 for flag in $(EXTRA_HOST_FLAGS) ; do \
5002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5003 done; \
5004 echo "Doing install-info in opcodes" ; \
5005 (cd $(HOST_SUBDIR)/opcodes && \
5006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5008 "RANLIB=$${RANLIB}" \
5009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5010 install-info) \
5011 || exit 1
5013 @endif opcodes
5015 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5016 maybe-installcheck-opcodes:
5017 @if opcodes
5018 maybe-installcheck-opcodes: installcheck-opcodes
5020 installcheck-opcodes: \
5021 configure-opcodes
5022 @[ -f ./opcodes/Makefile ] || exit 0; \
5023 r=`${PWD_COMMAND}`; export r; \
5024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5025 $(HOST_EXPORTS) \
5026 for flag in $(EXTRA_HOST_FLAGS) ; do \
5027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5028 done; \
5029 echo "Doing installcheck in opcodes" ; \
5030 (cd $(HOST_SUBDIR)/opcodes && \
5031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5033 "RANLIB=$${RANLIB}" \
5034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5035 installcheck) \
5036 || exit 1
5038 @endif opcodes
5040 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5041 maybe-mostlyclean-opcodes:
5042 @if opcodes
5043 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5045 mostlyclean-opcodes:
5046 @[ -f ./opcodes/Makefile ] || exit 0; \
5047 r=`${PWD_COMMAND}`; export r; \
5048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5049 $(HOST_EXPORTS) \
5050 for flag in $(EXTRA_HOST_FLAGS) ; do \
5051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5052 done; \
5053 echo "Doing mostlyclean in opcodes" ; \
5054 (cd $(HOST_SUBDIR)/opcodes && \
5055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5057 "RANLIB=$${RANLIB}" \
5058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5059 mostlyclean) \
5060 || exit 1
5062 @endif opcodes
5064 .PHONY: maybe-clean-opcodes clean-opcodes
5065 maybe-clean-opcodes:
5066 @if opcodes
5067 maybe-clean-opcodes: clean-opcodes
5069 clean-opcodes:
5070 @[ -f ./opcodes/Makefile ] || exit 0; \
5071 r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5073 $(HOST_EXPORTS) \
5074 for flag in $(EXTRA_HOST_FLAGS) ; do \
5075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5076 done; \
5077 echo "Doing clean in opcodes" ; \
5078 (cd $(HOST_SUBDIR)/opcodes && \
5079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5081 "RANLIB=$${RANLIB}" \
5082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5083 clean) \
5084 || exit 1
5086 @endif opcodes
5088 .PHONY: maybe-distclean-opcodes distclean-opcodes
5089 maybe-distclean-opcodes:
5090 @if opcodes
5091 maybe-distclean-opcodes: distclean-opcodes
5093 distclean-opcodes:
5094 @[ -f ./opcodes/Makefile ] || exit 0; \
5095 r=`${PWD_COMMAND}`; export r; \
5096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5097 $(HOST_EXPORTS) \
5098 for flag in $(EXTRA_HOST_FLAGS) ; do \
5099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5100 done; \
5101 echo "Doing distclean in opcodes" ; \
5102 (cd $(HOST_SUBDIR)/opcodes && \
5103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5105 "RANLIB=$${RANLIB}" \
5106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5107 distclean) \
5108 || exit 1
5110 @endif opcodes
5112 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5113 maybe-maintainer-clean-opcodes:
5114 @if opcodes
5115 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5117 maintainer-clean-opcodes:
5118 @[ -f ./opcodes/Makefile ] || exit 0; \
5119 r=`${PWD_COMMAND}`; export r; \
5120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5121 $(HOST_EXPORTS) \
5122 for flag in $(EXTRA_HOST_FLAGS) ; do \
5123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5124 done; \
5125 echo "Doing maintainer-clean in opcodes" ; \
5126 (cd $(HOST_SUBDIR)/opcodes && \
5127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5129 "RANLIB=$${RANLIB}" \
5130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5131 maintainer-clean) \
5132 || exit 1
5134 @endif opcodes
5138 .PHONY: configure-binutils maybe-configure-binutils
5139 maybe-configure-binutils:
5140 @if binutils
5141 maybe-configure-binutils: configure-binutils
5142 configure-binutils:
5143 @test -f stage_last && exit 0; \
5144 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5145 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5146 r=`${PWD_COMMAND}`; export r; \
5147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5148 $(HOST_EXPORTS) \
5149 echo Configuring in $(HOST_SUBDIR)/binutils; \
5150 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5151 case $(srcdir) in \
5152 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5153 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5154 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5155 esac; \
5156 srcdiroption="--srcdir=$${topdir}/binutils"; \
5157 libsrcdir="$$s/binutils"; \
5158 $(SHELL) $${libsrcdir}/configure \
5159 $(HOST_CONFIGARGS) $${srcdiroption} \
5160 || exit 1
5161 @endif binutils
5165 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5166 maybe-configure-stage1-binutils:
5167 @if binutils-bootstrap
5168 maybe-configure-stage1-binutils: configure-stage1-binutils
5169 configure-stage1-binutils:
5170 @$(MAKE) stage1-start
5171 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5172 r=`${PWD_COMMAND}`; export r; \
5173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5174 $(HOST_EXPORTS) \
5175 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5176 cd $(HOST_SUBDIR)/binutils || exit 1; \
5177 case $(srcdir) in \
5178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5179 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5181 esac; \
5182 srcdiroption="--srcdir=$${topdir}/binutils"; \
5183 libsrcdir="$$s/binutils"; \
5184 $(SHELL) $${libsrcdir}/configure \
5185 $(HOST_CONFIGARGS) $${srcdiroption} \
5186 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5187 @endif binutils-bootstrap
5189 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5190 maybe-configure-stage2-binutils:
5191 @if binutils-bootstrap
5192 maybe-configure-stage2-binutils: configure-stage2-binutils
5193 configure-stage2-binutils:
5194 @$(MAKE) stage2-start
5195 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5196 r=`${PWD_COMMAND}`; export r; \
5197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5198 $(HOST_EXPORTS) \
5199 $(POSTSTAGE1_HOST_EXPORTS) \
5200 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5201 cd $(HOST_SUBDIR)/binutils || exit 1; \
5202 case $(srcdir) in \
5203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5204 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5206 esac; \
5207 srcdiroption="--srcdir=$${topdir}/binutils"; \
5208 libsrcdir="$$s/binutils"; \
5209 $(SHELL) $${libsrcdir}/configure \
5210 $(HOST_CONFIGARGS) $${srcdiroption} \
5211 @stage2_werror_flag@
5212 @endif binutils-bootstrap
5214 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5215 maybe-configure-stage3-binutils:
5216 @if binutils-bootstrap
5217 maybe-configure-stage3-binutils: configure-stage3-binutils
5218 configure-stage3-binutils:
5219 @$(MAKE) stage3-start
5220 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5221 r=`${PWD_COMMAND}`; export r; \
5222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5223 $(HOST_EXPORTS) \
5224 $(POSTSTAGE1_HOST_EXPORTS) \
5225 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5226 cd $(HOST_SUBDIR)/binutils || exit 1; \
5227 case $(srcdir) in \
5228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5229 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5231 esac; \
5232 srcdiroption="--srcdir=$${topdir}/binutils"; \
5233 libsrcdir="$$s/binutils"; \
5234 $(SHELL) $${libsrcdir}/configure \
5235 $(HOST_CONFIGARGS) $${srcdiroption} \
5236 @stage2_werror_flag@
5237 @endif binutils-bootstrap
5239 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5240 maybe-configure-stage4-binutils:
5241 @if binutils-bootstrap
5242 maybe-configure-stage4-binutils: configure-stage4-binutils
5243 configure-stage4-binutils:
5244 @$(MAKE) stage4-start
5245 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5246 r=`${PWD_COMMAND}`; export r; \
5247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5248 $(HOST_EXPORTS) \
5249 $(POSTSTAGE1_HOST_EXPORTS) \
5250 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5251 cd $(HOST_SUBDIR)/binutils || exit 1; \
5252 case $(srcdir) in \
5253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5254 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5256 esac; \
5257 srcdiroption="--srcdir=$${topdir}/binutils"; \
5258 libsrcdir="$$s/binutils"; \
5259 $(SHELL) $${libsrcdir}/configure \
5260 $(HOST_CONFIGARGS) $${srcdiroption} \
5261 @stage2_werror_flag@
5262 @endif binutils-bootstrap
5264 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5265 maybe-configure-stageprofile-binutils:
5266 @if binutils-bootstrap
5267 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5268 configure-stageprofile-binutils:
5269 @$(MAKE) stageprofile-start
5270 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5271 r=`${PWD_COMMAND}`; export r; \
5272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5273 $(HOST_EXPORTS) \
5274 $(POSTSTAGE1_HOST_EXPORTS) \
5275 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5276 cd $(HOST_SUBDIR)/binutils || exit 1; \
5277 case $(srcdir) in \
5278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5279 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5281 esac; \
5282 srcdiroption="--srcdir=$${topdir}/binutils"; \
5283 libsrcdir="$$s/binutils"; \
5284 $(SHELL) $${libsrcdir}/configure \
5285 $(HOST_CONFIGARGS) $${srcdiroption} \
5286 @stage2_werror_flag@
5287 @endif binutils-bootstrap
5289 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5290 maybe-configure-stagefeedback-binutils:
5291 @if binutils-bootstrap
5292 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5293 configure-stagefeedback-binutils:
5294 @$(MAKE) stagefeedback-start
5295 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5296 r=`${PWD_COMMAND}`; export r; \
5297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5298 $(HOST_EXPORTS) \
5299 $(POSTSTAGE1_HOST_EXPORTS) \
5300 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5301 cd $(HOST_SUBDIR)/binutils || exit 1; \
5302 case $(srcdir) in \
5303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5304 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5306 esac; \
5307 srcdiroption="--srcdir=$${topdir}/binutils"; \
5308 libsrcdir="$$s/binutils"; \
5309 $(SHELL) $${libsrcdir}/configure \
5310 $(HOST_CONFIGARGS) $${srcdiroption} \
5311 @stage2_werror_flag@
5312 @endif binutils-bootstrap
5318 .PHONY: all-binutils maybe-all-binutils
5319 maybe-all-binutils:
5320 @if binutils
5321 TARGET-binutils=all
5322 maybe-all-binutils: all-binutils
5323 all-binutils: configure-binutils
5324 @test -f stage_last && exit 0; \
5325 r=`${PWD_COMMAND}`; export r; \
5326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5327 $(HOST_EXPORTS) \
5328 (cd $(HOST_SUBDIR)/binutils && \
5329 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5330 @endif binutils
5334 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5335 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5336 maybe-all-stage1-binutils:
5337 maybe-clean-stage1-binutils:
5338 @if binutils-bootstrap
5339 maybe-all-stage1-binutils: all-stage1-binutils
5340 all-stage1: all-stage1-binutils
5341 all-stage1-binutils: configure-stage1-binutils
5342 @$(MAKE) stage1-start
5343 @r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 $(HOST_EXPORTS) \
5346 cd $(HOST_SUBDIR)/binutils && \
5347 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
5349 maybe-clean-stage1-binutils: clean-stage1-binutils
5350 clean-stage1: clean-stage1-binutils
5351 clean-stage1-binutils:
5352 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5353 || exit 0 ; \
5354 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage1-start ; \
5355 cd $(HOST_SUBDIR)/binutils && \
5356 $(MAKE) $(FLAGS_TO_PASS) \
5357 CFLAGS="$(STAGE1_CFLAGS)" clean
5358 @endif binutils-bootstrap
5361 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5362 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5363 maybe-all-stage2-binutils:
5364 maybe-clean-stage2-binutils:
5365 @if binutils-bootstrap
5366 maybe-all-stage2-binutils: all-stage2-binutils
5367 all-stage2: all-stage2-binutils
5368 all-stage2-binutils: configure-stage2-binutils
5369 @$(MAKE) stage2-start
5370 @r=`${PWD_COMMAND}`; export r; \
5371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5372 $(HOST_EXPORTS) \
5373 $(POSTSTAGE1_HOST_EXPORTS) \
5374 cd $(HOST_SUBDIR)/binutils && \
5375 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5377 maybe-clean-stage2-binutils: clean-stage2-binutils
5378 clean-stage2: clean-stage2-binutils
5379 clean-stage2-binutils:
5380 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5381 || exit 0 ; \
5382 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage2-start ; \
5383 cd $(HOST_SUBDIR)/binutils && \
5384 $(MAKE) $(FLAGS_TO_PASS) \
5385 $(POSTSTAGE1_FLAGS_TO_PASS) \
5386 clean
5387 @endif binutils-bootstrap
5390 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5391 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5392 maybe-all-stage3-binutils:
5393 maybe-clean-stage3-binutils:
5394 @if binutils-bootstrap
5395 maybe-all-stage3-binutils: all-stage3-binutils
5396 all-stage3: all-stage3-binutils
5397 all-stage3-binutils: configure-stage3-binutils
5398 @$(MAKE) stage3-start
5399 @r=`${PWD_COMMAND}`; export r; \
5400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5401 $(HOST_EXPORTS) \
5402 $(POSTSTAGE1_HOST_EXPORTS) \
5403 cd $(HOST_SUBDIR)/binutils && \
5404 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5406 maybe-clean-stage3-binutils: clean-stage3-binutils
5407 clean-stage3: clean-stage3-binutils
5408 clean-stage3-binutils:
5409 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5410 || exit 0 ; \
5411 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage3-start ; \
5412 cd $(HOST_SUBDIR)/binutils && \
5413 $(MAKE) $(FLAGS_TO_PASS) \
5414 $(POSTSTAGE1_FLAGS_TO_PASS) \
5415 clean
5416 @endif binutils-bootstrap
5419 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5420 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5421 maybe-all-stage4-binutils:
5422 maybe-clean-stage4-binutils:
5423 @if binutils-bootstrap
5424 maybe-all-stage4-binutils: all-stage4-binutils
5425 all-stage4: all-stage4-binutils
5426 all-stage4-binutils: configure-stage4-binutils
5427 @$(MAKE) stage4-start
5428 @r=`${PWD_COMMAND}`; export r; \
5429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5430 $(HOST_EXPORTS) \
5431 $(POSTSTAGE1_HOST_EXPORTS) \
5432 cd $(HOST_SUBDIR)/binutils && \
5433 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
5435 maybe-clean-stage4-binutils: clean-stage4-binutils
5436 clean-stage4: clean-stage4-binutils
5437 clean-stage4-binutils:
5438 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5439 || exit 0 ; \
5440 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stage4-start ; \
5441 cd $(HOST_SUBDIR)/binutils && \
5442 $(MAKE) $(FLAGS_TO_PASS) \
5443 $(POSTSTAGE1_FLAGS_TO_PASS) \
5444 clean
5445 @endif binutils-bootstrap
5448 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5449 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5450 maybe-all-stageprofile-binutils:
5451 maybe-clean-stageprofile-binutils:
5452 @if binutils-bootstrap
5453 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5454 all-stageprofile: all-stageprofile-binutils
5455 all-stageprofile-binutils: configure-stageprofile-binutils
5456 @$(MAKE) stageprofile-start
5457 @r=`${PWD_COMMAND}`; export r; \
5458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5459 $(HOST_EXPORTS) \
5460 $(POSTSTAGE1_HOST_EXPORTS) \
5461 cd $(HOST_SUBDIR)/binutils && \
5462 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
5464 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5465 clean-stageprofile: clean-stageprofile-binutils
5466 clean-stageprofile-binutils:
5467 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5468 || exit 0 ; \
5469 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stageprofile-start ; \
5470 cd $(HOST_SUBDIR)/binutils && \
5471 $(MAKE) $(FLAGS_TO_PASS) \
5472 $(POSTSTAGE1_FLAGS_TO_PASS) \
5473 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5474 @endif binutils-bootstrap
5477 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5478 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5479 maybe-all-stagefeedback-binutils:
5480 maybe-clean-stagefeedback-binutils:
5481 @if binutils-bootstrap
5482 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5483 all-stagefeedback: all-stagefeedback-binutils
5484 all-stagefeedback-binutils: configure-stagefeedback-binutils
5485 @$(MAKE) stagefeedback-start
5486 @r=`${PWD_COMMAND}`; export r; \
5487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5488 $(HOST_EXPORTS) \
5489 $(POSTSTAGE1_HOST_EXPORTS) \
5490 cd $(HOST_SUBDIR)/binutils && \
5491 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
5493 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5494 clean-stagefeedback: clean-stagefeedback-binutils
5495 clean-stagefeedback-binutils:
5496 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5497 || exit 0 ; \
5498 [ -f $(HOST_SUBDIR)/binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
5499 cd $(HOST_SUBDIR)/binutils && \
5500 $(MAKE) $(FLAGS_TO_PASS) \
5501 $(POSTSTAGE1_FLAGS_TO_PASS) \
5502 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5503 @endif binutils-bootstrap
5509 .PHONY: check-binutils maybe-check-binutils
5510 maybe-check-binutils:
5511 @if binutils
5512 maybe-check-binutils: check-binutils
5514 check-binutils:
5515 @r=`${PWD_COMMAND}`; export r; \
5516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5517 $(HOST_EXPORTS) \
5518 (cd $(HOST_SUBDIR)/binutils && \
5519 $(MAKE) $(FLAGS_TO_PASS) check)
5521 @endif binutils
5523 .PHONY: install-binutils maybe-install-binutils
5524 maybe-install-binutils:
5525 @if binutils
5526 maybe-install-binutils: install-binutils
5528 install-binutils: installdirs
5529 @r=`${PWD_COMMAND}`; export r; \
5530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5531 $(HOST_EXPORTS) \
5532 (cd $(HOST_SUBDIR)/binutils && \
5533 $(MAKE) $(FLAGS_TO_PASS) install)
5535 @endif binutils
5537 # Other targets (info, dvi, etc.)
5539 .PHONY: maybe-info-binutils info-binutils
5540 maybe-info-binutils:
5541 @if binutils
5542 maybe-info-binutils: info-binutils
5544 info-binutils: \
5545 configure-binutils
5546 @[ -f ./binutils/Makefile ] || exit 0; \
5547 r=`${PWD_COMMAND}`; export r; \
5548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5549 $(HOST_EXPORTS) \
5550 for flag in $(EXTRA_HOST_FLAGS) ; do \
5551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5552 done; \
5553 echo "Doing info in binutils" ; \
5554 (cd $(HOST_SUBDIR)/binutils && \
5555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5557 "RANLIB=$${RANLIB}" \
5558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5559 info) \
5560 || exit 1
5562 @endif binutils
5564 .PHONY: maybe-dvi-binutils dvi-binutils
5565 maybe-dvi-binutils:
5566 @if binutils
5567 maybe-dvi-binutils: dvi-binutils
5569 dvi-binutils: \
5570 configure-binutils
5571 @[ -f ./binutils/Makefile ] || exit 0; \
5572 r=`${PWD_COMMAND}`; export r; \
5573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5574 $(HOST_EXPORTS) \
5575 for flag in $(EXTRA_HOST_FLAGS) ; do \
5576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5577 done; \
5578 echo "Doing dvi in binutils" ; \
5579 (cd $(HOST_SUBDIR)/binutils && \
5580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5582 "RANLIB=$${RANLIB}" \
5583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5584 dvi) \
5585 || exit 1
5587 @endif binutils
5589 .PHONY: maybe-html-binutils html-binutils
5590 maybe-html-binutils:
5591 @if binutils
5592 maybe-html-binutils: html-binutils
5594 html-binutils: \
5595 configure-binutils
5596 @[ -f ./binutils/Makefile ] || exit 0; \
5597 r=`${PWD_COMMAND}`; export r; \
5598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5599 $(HOST_EXPORTS) \
5600 for flag in $(EXTRA_HOST_FLAGS) ; do \
5601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5602 done; \
5603 echo "Doing html in binutils" ; \
5604 (cd $(HOST_SUBDIR)/binutils && \
5605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5607 "RANLIB=$${RANLIB}" \
5608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5609 html) \
5610 || exit 1
5612 @endif binutils
5614 .PHONY: maybe-TAGS-binutils TAGS-binutils
5615 maybe-TAGS-binutils:
5616 @if binutils
5617 maybe-TAGS-binutils: TAGS-binutils
5619 TAGS-binutils: \
5620 configure-binutils
5621 @[ -f ./binutils/Makefile ] || exit 0; \
5622 r=`${PWD_COMMAND}`; export r; \
5623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5624 $(HOST_EXPORTS) \
5625 for flag in $(EXTRA_HOST_FLAGS) ; do \
5626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5627 done; \
5628 echo "Doing TAGS in binutils" ; \
5629 (cd $(HOST_SUBDIR)/binutils && \
5630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5632 "RANLIB=$${RANLIB}" \
5633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5634 TAGS) \
5635 || exit 1
5637 @endif binutils
5639 .PHONY: maybe-install-info-binutils install-info-binutils
5640 maybe-install-info-binutils:
5641 @if binutils
5642 maybe-install-info-binutils: install-info-binutils
5644 install-info-binutils: \
5645 configure-binutils \
5646 info-binutils
5647 @[ -f ./binutils/Makefile ] || exit 0; \
5648 r=`${PWD_COMMAND}`; export r; \
5649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5650 $(HOST_EXPORTS) \
5651 for flag in $(EXTRA_HOST_FLAGS) ; do \
5652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5653 done; \
5654 echo "Doing install-info in binutils" ; \
5655 (cd $(HOST_SUBDIR)/binutils && \
5656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5658 "RANLIB=$${RANLIB}" \
5659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5660 install-info) \
5661 || exit 1
5663 @endif binutils
5665 .PHONY: maybe-installcheck-binutils installcheck-binutils
5666 maybe-installcheck-binutils:
5667 @if binutils
5668 maybe-installcheck-binutils: installcheck-binutils
5670 installcheck-binutils: \
5671 configure-binutils
5672 @[ -f ./binutils/Makefile ] || exit 0; \
5673 r=`${PWD_COMMAND}`; export r; \
5674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5675 $(HOST_EXPORTS) \
5676 for flag in $(EXTRA_HOST_FLAGS) ; do \
5677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5678 done; \
5679 echo "Doing installcheck in binutils" ; \
5680 (cd $(HOST_SUBDIR)/binutils && \
5681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5683 "RANLIB=$${RANLIB}" \
5684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5685 installcheck) \
5686 || exit 1
5688 @endif binutils
5690 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
5691 maybe-mostlyclean-binutils:
5692 @if binutils
5693 maybe-mostlyclean-binutils: mostlyclean-binutils
5695 mostlyclean-binutils:
5696 @[ -f ./binutils/Makefile ] || exit 0; \
5697 r=`${PWD_COMMAND}`; export r; \
5698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5699 $(HOST_EXPORTS) \
5700 for flag in $(EXTRA_HOST_FLAGS) ; do \
5701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5702 done; \
5703 echo "Doing mostlyclean in binutils" ; \
5704 (cd $(HOST_SUBDIR)/binutils && \
5705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5707 "RANLIB=$${RANLIB}" \
5708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5709 mostlyclean) \
5710 || exit 1
5712 @endif binutils
5714 .PHONY: maybe-clean-binutils clean-binutils
5715 maybe-clean-binutils:
5716 @if binutils
5717 maybe-clean-binutils: clean-binutils
5719 clean-binutils:
5720 @[ -f ./binutils/Makefile ] || exit 0; \
5721 r=`${PWD_COMMAND}`; export r; \
5722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5723 $(HOST_EXPORTS) \
5724 for flag in $(EXTRA_HOST_FLAGS) ; do \
5725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5726 done; \
5727 echo "Doing clean in binutils" ; \
5728 (cd $(HOST_SUBDIR)/binutils && \
5729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5731 "RANLIB=$${RANLIB}" \
5732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5733 clean) \
5734 || exit 1
5736 @endif binutils
5738 .PHONY: maybe-distclean-binutils distclean-binutils
5739 maybe-distclean-binutils:
5740 @if binutils
5741 maybe-distclean-binutils: distclean-binutils
5743 distclean-binutils:
5744 @[ -f ./binutils/Makefile ] || exit 0; \
5745 r=`${PWD_COMMAND}`; export r; \
5746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5747 $(HOST_EXPORTS) \
5748 for flag in $(EXTRA_HOST_FLAGS) ; do \
5749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5750 done; \
5751 echo "Doing distclean in binutils" ; \
5752 (cd $(HOST_SUBDIR)/binutils && \
5753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5755 "RANLIB=$${RANLIB}" \
5756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5757 distclean) \
5758 || exit 1
5760 @endif binutils
5762 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
5763 maybe-maintainer-clean-binutils:
5764 @if binutils
5765 maybe-maintainer-clean-binutils: maintainer-clean-binutils
5767 maintainer-clean-binutils:
5768 @[ -f ./binutils/Makefile ] || exit 0; \
5769 r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771 $(HOST_EXPORTS) \
5772 for flag in $(EXTRA_HOST_FLAGS) ; do \
5773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5774 done; \
5775 echo "Doing maintainer-clean in binutils" ; \
5776 (cd $(HOST_SUBDIR)/binutils && \
5777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5779 "RANLIB=$${RANLIB}" \
5780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5781 maintainer-clean) \
5782 || exit 1
5784 @endif binutils
5788 .PHONY: configure-bison maybe-configure-bison
5789 maybe-configure-bison:
5790 @if bison
5791 maybe-configure-bison: configure-bison
5792 configure-bison:
5793 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
5794 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
5795 r=`${PWD_COMMAND}`; export r; \
5796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5797 $(HOST_EXPORTS) \
5798 echo Configuring in $(HOST_SUBDIR)/bison; \
5799 cd "$(HOST_SUBDIR)/bison" || exit 1; \
5800 case $(srcdir) in \
5801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5802 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
5803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5804 esac; \
5805 srcdiroption="--srcdir=$${topdir}/bison"; \
5806 libsrcdir="$$s/bison"; \
5807 $(SHELL) $${libsrcdir}/configure \
5808 $(HOST_CONFIGARGS) $${srcdiroption} \
5809 || exit 1
5810 @endif bison
5816 .PHONY: all-bison maybe-all-bison
5817 maybe-all-bison:
5818 @if bison
5819 TARGET-bison=all
5820 maybe-all-bison: all-bison
5821 all-bison: configure-bison
5822 @r=`${PWD_COMMAND}`; export r; \
5823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5824 $(HOST_EXPORTS) \
5825 (cd $(HOST_SUBDIR)/bison && \
5826 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
5827 @endif bison
5832 .PHONY: check-bison maybe-check-bison
5833 maybe-check-bison:
5834 @if bison
5835 maybe-check-bison: check-bison
5837 # This module is only tested in a native toolchain.
5838 check-bison:
5839 @if [ '$(host)' = '$(target)' ] ; then \
5840 r=`${PWD_COMMAND}`; export r; \
5841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5842 $(HOST_EXPORTS) \
5843 (cd $(HOST_SUBDIR)/bison && \
5844 $(MAKE) $(FLAGS_TO_PASS) check); \
5847 @endif bison
5849 .PHONY: install-bison maybe-install-bison
5850 maybe-install-bison:
5851 @if bison
5852 maybe-install-bison: install-bison
5854 install-bison: installdirs
5855 @r=`${PWD_COMMAND}`; export r; \
5856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5857 $(HOST_EXPORTS) \
5858 (cd $(HOST_SUBDIR)/bison && \
5859 $(MAKE) $(FLAGS_TO_PASS) install)
5861 @endif bison
5863 # Other targets (info, dvi, etc.)
5865 .PHONY: maybe-info-bison info-bison
5866 maybe-info-bison:
5867 @if bison
5868 maybe-info-bison: info-bison
5870 info-bison: \
5871 configure-bison
5872 @[ -f ./bison/Makefile ] || exit 0; \
5873 r=`${PWD_COMMAND}`; export r; \
5874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5875 $(HOST_EXPORTS) \
5876 for flag in $(EXTRA_HOST_FLAGS) ; do \
5877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5878 done; \
5879 echo "Doing info in bison" ; \
5880 (cd $(HOST_SUBDIR)/bison && \
5881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5883 "RANLIB=$${RANLIB}" \
5884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5885 info) \
5886 || exit 1
5888 @endif bison
5890 .PHONY: maybe-dvi-bison dvi-bison
5891 maybe-dvi-bison:
5892 @if bison
5893 maybe-dvi-bison: dvi-bison
5895 dvi-bison: \
5896 configure-bison
5897 @[ -f ./bison/Makefile ] || exit 0; \
5898 r=`${PWD_COMMAND}`; export r; \
5899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5900 $(HOST_EXPORTS) \
5901 for flag in $(EXTRA_HOST_FLAGS) ; do \
5902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5903 done; \
5904 echo "Doing dvi in bison" ; \
5905 (cd $(HOST_SUBDIR)/bison && \
5906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5908 "RANLIB=$${RANLIB}" \
5909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5910 dvi) \
5911 || exit 1
5913 @endif bison
5915 .PHONY: maybe-html-bison html-bison
5916 maybe-html-bison:
5917 @if bison
5918 maybe-html-bison: html-bison
5920 html-bison: \
5921 configure-bison
5922 @[ -f ./bison/Makefile ] || exit 0; \
5923 r=`${PWD_COMMAND}`; export r; \
5924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5925 $(HOST_EXPORTS) \
5926 for flag in $(EXTRA_HOST_FLAGS) ; do \
5927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5928 done; \
5929 echo "Doing html in bison" ; \
5930 (cd $(HOST_SUBDIR)/bison && \
5931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5933 "RANLIB=$${RANLIB}" \
5934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5935 html) \
5936 || exit 1
5938 @endif bison
5940 .PHONY: maybe-TAGS-bison TAGS-bison
5941 maybe-TAGS-bison:
5942 @if bison
5943 maybe-TAGS-bison: TAGS-bison
5945 TAGS-bison: \
5946 configure-bison
5947 @[ -f ./bison/Makefile ] || exit 0; \
5948 r=`${PWD_COMMAND}`; export r; \
5949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5950 $(HOST_EXPORTS) \
5951 for flag in $(EXTRA_HOST_FLAGS) ; do \
5952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5953 done; \
5954 echo "Doing TAGS in bison" ; \
5955 (cd $(HOST_SUBDIR)/bison && \
5956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5958 "RANLIB=$${RANLIB}" \
5959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5960 TAGS) \
5961 || exit 1
5963 @endif bison
5965 .PHONY: maybe-install-info-bison install-info-bison
5966 maybe-install-info-bison:
5967 @if bison
5968 maybe-install-info-bison: install-info-bison
5970 install-info-bison: \
5971 configure-bison \
5972 info-bison
5973 @[ -f ./bison/Makefile ] || exit 0; \
5974 r=`${PWD_COMMAND}`; export r; \
5975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5976 $(HOST_EXPORTS) \
5977 for flag in $(EXTRA_HOST_FLAGS) ; do \
5978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5979 done; \
5980 echo "Doing install-info in bison" ; \
5981 (cd $(HOST_SUBDIR)/bison && \
5982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5984 "RANLIB=$${RANLIB}" \
5985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5986 install-info) \
5987 || exit 1
5989 @endif bison
5991 .PHONY: maybe-installcheck-bison installcheck-bison
5992 maybe-installcheck-bison:
5993 @if bison
5994 maybe-installcheck-bison: installcheck-bison
5996 installcheck-bison: \
5997 configure-bison
5998 @[ -f ./bison/Makefile ] || exit 0; \
5999 r=`${PWD_COMMAND}`; export r; \
6000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6001 $(HOST_EXPORTS) \
6002 for flag in $(EXTRA_HOST_FLAGS) ; do \
6003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6004 done; \
6005 echo "Doing installcheck in bison" ; \
6006 (cd $(HOST_SUBDIR)/bison && \
6007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6009 "RANLIB=$${RANLIB}" \
6010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6011 installcheck) \
6012 || exit 1
6014 @endif bison
6016 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6017 maybe-mostlyclean-bison:
6018 @if bison
6019 maybe-mostlyclean-bison: mostlyclean-bison
6021 mostlyclean-bison:
6022 @[ -f ./bison/Makefile ] || exit 0; \
6023 r=`${PWD_COMMAND}`; export r; \
6024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6025 $(HOST_EXPORTS) \
6026 for flag in $(EXTRA_HOST_FLAGS) ; do \
6027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6028 done; \
6029 echo "Doing mostlyclean in bison" ; \
6030 (cd $(HOST_SUBDIR)/bison && \
6031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6033 "RANLIB=$${RANLIB}" \
6034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6035 mostlyclean) \
6036 || exit 1
6038 @endif bison
6040 .PHONY: maybe-clean-bison clean-bison
6041 maybe-clean-bison:
6042 @if bison
6043 maybe-clean-bison: clean-bison
6045 clean-bison:
6046 @[ -f ./bison/Makefile ] || exit 0; \
6047 r=`${PWD_COMMAND}`; export r; \
6048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6049 $(HOST_EXPORTS) \
6050 for flag in $(EXTRA_HOST_FLAGS) ; do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6052 done; \
6053 echo "Doing clean in bison" ; \
6054 (cd $(HOST_SUBDIR)/bison && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6059 clean) \
6060 || exit 1
6062 @endif bison
6064 .PHONY: maybe-distclean-bison distclean-bison
6065 maybe-distclean-bison:
6066 @if bison
6067 maybe-distclean-bison: distclean-bison
6069 distclean-bison:
6070 @[ -f ./bison/Makefile ] || exit 0; \
6071 r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(HOST_EXPORTS) \
6074 for flag in $(EXTRA_HOST_FLAGS) ; do \
6075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6076 done; \
6077 echo "Doing distclean in bison" ; \
6078 (cd $(HOST_SUBDIR)/bison && \
6079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6081 "RANLIB=$${RANLIB}" \
6082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6083 distclean) \
6084 || exit 1
6086 @endif bison
6088 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6089 maybe-maintainer-clean-bison:
6090 @if bison
6091 maybe-maintainer-clean-bison: maintainer-clean-bison
6093 maintainer-clean-bison:
6094 @[ -f ./bison/Makefile ] || exit 0; \
6095 r=`${PWD_COMMAND}`; export r; \
6096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6097 $(HOST_EXPORTS) \
6098 for flag in $(EXTRA_HOST_FLAGS) ; do \
6099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6100 done; \
6101 echo "Doing maintainer-clean in bison" ; \
6102 (cd $(HOST_SUBDIR)/bison && \
6103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6105 "RANLIB=$${RANLIB}" \
6106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6107 maintainer-clean) \
6108 || exit 1
6110 @endif bison
6114 .PHONY: configure-byacc maybe-configure-byacc
6115 maybe-configure-byacc:
6116 @if byacc
6117 maybe-configure-byacc: configure-byacc
6118 configure-byacc:
6119 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6121 r=`${PWD_COMMAND}`; export r; \
6122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6123 $(HOST_EXPORTS) \
6124 echo Configuring in $(HOST_SUBDIR)/byacc; \
6125 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6126 case $(srcdir) in \
6127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6128 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6130 esac; \
6131 srcdiroption="--srcdir=$${topdir}/byacc"; \
6132 libsrcdir="$$s/byacc"; \
6133 $(SHELL) $${libsrcdir}/configure \
6134 $(HOST_CONFIGARGS) $${srcdiroption} \
6135 || exit 1
6136 @endif byacc
6142 .PHONY: all-byacc maybe-all-byacc
6143 maybe-all-byacc:
6144 @if byacc
6145 TARGET-byacc=all
6146 maybe-all-byacc: all-byacc
6147 all-byacc: configure-byacc
6148 @r=`${PWD_COMMAND}`; export r; \
6149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6150 $(HOST_EXPORTS) \
6151 (cd $(HOST_SUBDIR)/byacc && \
6152 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6153 @endif byacc
6158 .PHONY: check-byacc maybe-check-byacc
6159 maybe-check-byacc:
6160 @if byacc
6161 maybe-check-byacc: check-byacc
6163 # This module is only tested in a native toolchain.
6164 check-byacc:
6165 @if [ '$(host)' = '$(target)' ] ; then \
6166 r=`${PWD_COMMAND}`; export r; \
6167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6168 $(HOST_EXPORTS) \
6169 (cd $(HOST_SUBDIR)/byacc && \
6170 $(MAKE) $(FLAGS_TO_PASS) check); \
6173 @endif byacc
6175 .PHONY: install-byacc maybe-install-byacc
6176 maybe-install-byacc:
6177 @if byacc
6178 maybe-install-byacc: install-byacc
6180 install-byacc: installdirs
6181 @r=`${PWD_COMMAND}`; export r; \
6182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6183 $(HOST_EXPORTS) \
6184 (cd $(HOST_SUBDIR)/byacc && \
6185 $(MAKE) $(FLAGS_TO_PASS) install)
6187 @endif byacc
6189 # Other targets (info, dvi, etc.)
6191 .PHONY: maybe-info-byacc info-byacc
6192 maybe-info-byacc:
6193 @if byacc
6194 maybe-info-byacc: info-byacc
6196 info-byacc: \
6197 configure-byacc
6198 @[ -f ./byacc/Makefile ] || exit 0; \
6199 r=`${PWD_COMMAND}`; export r; \
6200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6201 $(HOST_EXPORTS) \
6202 for flag in $(EXTRA_HOST_FLAGS) ; do \
6203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6204 done; \
6205 echo "Doing info in byacc" ; \
6206 (cd $(HOST_SUBDIR)/byacc && \
6207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6209 "RANLIB=$${RANLIB}" \
6210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6211 info) \
6212 || exit 1
6214 @endif byacc
6216 .PHONY: maybe-dvi-byacc dvi-byacc
6217 maybe-dvi-byacc:
6218 @if byacc
6219 maybe-dvi-byacc: dvi-byacc
6221 dvi-byacc: \
6222 configure-byacc
6223 @[ -f ./byacc/Makefile ] || exit 0; \
6224 r=`${PWD_COMMAND}`; export r; \
6225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6226 $(HOST_EXPORTS) \
6227 for flag in $(EXTRA_HOST_FLAGS) ; do \
6228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6229 done; \
6230 echo "Doing dvi in byacc" ; \
6231 (cd $(HOST_SUBDIR)/byacc && \
6232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6234 "RANLIB=$${RANLIB}" \
6235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6236 dvi) \
6237 || exit 1
6239 @endif byacc
6241 .PHONY: maybe-html-byacc html-byacc
6242 maybe-html-byacc:
6243 @if byacc
6244 maybe-html-byacc: html-byacc
6246 html-byacc: \
6247 configure-byacc
6248 @[ -f ./byacc/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing html in byacc" ; \
6256 (cd $(HOST_SUBDIR)/byacc && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6261 html) \
6262 || exit 1
6264 @endif byacc
6266 .PHONY: maybe-TAGS-byacc TAGS-byacc
6267 maybe-TAGS-byacc:
6268 @if byacc
6269 maybe-TAGS-byacc: TAGS-byacc
6271 TAGS-byacc: \
6272 configure-byacc
6273 @[ -f ./byacc/Makefile ] || exit 0; \
6274 r=`${PWD_COMMAND}`; export r; \
6275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6276 $(HOST_EXPORTS) \
6277 for flag in $(EXTRA_HOST_FLAGS) ; do \
6278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6279 done; \
6280 echo "Doing TAGS in byacc" ; \
6281 (cd $(HOST_SUBDIR)/byacc && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6284 "RANLIB=$${RANLIB}" \
6285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6286 TAGS) \
6287 || exit 1
6289 @endif byacc
6291 .PHONY: maybe-install-info-byacc install-info-byacc
6292 maybe-install-info-byacc:
6293 @if byacc
6294 maybe-install-info-byacc: install-info-byacc
6296 install-info-byacc: \
6297 configure-byacc \
6298 info-byacc
6299 @[ -f ./byacc/Makefile ] || exit 0; \
6300 r=`${PWD_COMMAND}`; export r; \
6301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6302 $(HOST_EXPORTS) \
6303 for flag in $(EXTRA_HOST_FLAGS) ; do \
6304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6305 done; \
6306 echo "Doing install-info in byacc" ; \
6307 (cd $(HOST_SUBDIR)/byacc && \
6308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6310 "RANLIB=$${RANLIB}" \
6311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6312 install-info) \
6313 || exit 1
6315 @endif byacc
6317 .PHONY: maybe-installcheck-byacc installcheck-byacc
6318 maybe-installcheck-byacc:
6319 @if byacc
6320 maybe-installcheck-byacc: installcheck-byacc
6322 installcheck-byacc: \
6323 configure-byacc
6324 @[ -f ./byacc/Makefile ] || exit 0; \
6325 r=`${PWD_COMMAND}`; export r; \
6326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6327 $(HOST_EXPORTS) \
6328 for flag in $(EXTRA_HOST_FLAGS) ; do \
6329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6330 done; \
6331 echo "Doing installcheck in byacc" ; \
6332 (cd $(HOST_SUBDIR)/byacc && \
6333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335 "RANLIB=$${RANLIB}" \
6336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6337 installcheck) \
6338 || exit 1
6340 @endif byacc
6342 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6343 maybe-mostlyclean-byacc:
6344 @if byacc
6345 maybe-mostlyclean-byacc: mostlyclean-byacc
6347 mostlyclean-byacc:
6348 @[ -f ./byacc/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(HOST_EXPORTS) \
6352 for flag in $(EXTRA_HOST_FLAGS) ; do \
6353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6354 done; \
6355 echo "Doing mostlyclean in byacc" ; \
6356 (cd $(HOST_SUBDIR)/byacc && \
6357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6359 "RANLIB=$${RANLIB}" \
6360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6361 mostlyclean) \
6362 || exit 1
6364 @endif byacc
6366 .PHONY: maybe-clean-byacc clean-byacc
6367 maybe-clean-byacc:
6368 @if byacc
6369 maybe-clean-byacc: clean-byacc
6371 clean-byacc:
6372 @[ -f ./byacc/Makefile ] || exit 0; \
6373 r=`${PWD_COMMAND}`; export r; \
6374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6375 $(HOST_EXPORTS) \
6376 for flag in $(EXTRA_HOST_FLAGS) ; do \
6377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6378 done; \
6379 echo "Doing clean in byacc" ; \
6380 (cd $(HOST_SUBDIR)/byacc && \
6381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6383 "RANLIB=$${RANLIB}" \
6384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6385 clean) \
6386 || exit 1
6388 @endif byacc
6390 .PHONY: maybe-distclean-byacc distclean-byacc
6391 maybe-distclean-byacc:
6392 @if byacc
6393 maybe-distclean-byacc: distclean-byacc
6395 distclean-byacc:
6396 @[ -f ./byacc/Makefile ] || exit 0; \
6397 r=`${PWD_COMMAND}`; export r; \
6398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6399 $(HOST_EXPORTS) \
6400 for flag in $(EXTRA_HOST_FLAGS) ; do \
6401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6402 done; \
6403 echo "Doing distclean in byacc" ; \
6404 (cd $(HOST_SUBDIR)/byacc && \
6405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6407 "RANLIB=$${RANLIB}" \
6408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6409 distclean) \
6410 || exit 1
6412 @endif byacc
6414 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6415 maybe-maintainer-clean-byacc:
6416 @if byacc
6417 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6419 maintainer-clean-byacc:
6420 @[ -f ./byacc/Makefile ] || exit 0; \
6421 r=`${PWD_COMMAND}`; export r; \
6422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6423 $(HOST_EXPORTS) \
6424 for flag in $(EXTRA_HOST_FLAGS) ; do \
6425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6426 done; \
6427 echo "Doing maintainer-clean in byacc" ; \
6428 (cd $(HOST_SUBDIR)/byacc && \
6429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6431 "RANLIB=$${RANLIB}" \
6432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6433 maintainer-clean) \
6434 || exit 1
6436 @endif byacc
6440 .PHONY: configure-bzip2 maybe-configure-bzip2
6441 maybe-configure-bzip2:
6442 @if bzip2
6443 maybe-configure-bzip2: configure-bzip2
6444 configure-bzip2:
6445 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6447 r=`${PWD_COMMAND}`; export r; \
6448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6449 $(HOST_EXPORTS) \
6450 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6451 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6452 case $(srcdir) in \
6453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6454 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6456 esac; \
6457 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6458 libsrcdir="$$s/bzip2"; \
6459 $(SHELL) $${libsrcdir}/configure \
6460 $(HOST_CONFIGARGS) $${srcdiroption} \
6461 || exit 1
6462 @endif bzip2
6468 .PHONY: all-bzip2 maybe-all-bzip2
6469 maybe-all-bzip2:
6470 @if bzip2
6471 TARGET-bzip2=all
6472 maybe-all-bzip2: all-bzip2
6473 all-bzip2: configure-bzip2
6474 @r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 $(HOST_EXPORTS) \
6477 (cd $(HOST_SUBDIR)/bzip2 && \
6478 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6479 @endif bzip2
6484 .PHONY: check-bzip2 maybe-check-bzip2
6485 maybe-check-bzip2:
6486 @if bzip2
6487 maybe-check-bzip2: check-bzip2
6489 check-bzip2:
6490 @r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(HOST_EXPORTS) \
6493 (cd $(HOST_SUBDIR)/bzip2 && \
6494 $(MAKE) $(FLAGS_TO_PASS) check)
6496 @endif bzip2
6498 .PHONY: install-bzip2 maybe-install-bzip2
6499 maybe-install-bzip2:
6500 @if bzip2
6501 maybe-install-bzip2: install-bzip2
6503 install-bzip2: installdirs
6504 @r=`${PWD_COMMAND}`; export r; \
6505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6506 $(HOST_EXPORTS) \
6507 (cd $(HOST_SUBDIR)/bzip2 && \
6508 $(MAKE) $(FLAGS_TO_PASS) install)
6510 @endif bzip2
6512 # Other targets (info, dvi, etc.)
6514 .PHONY: maybe-info-bzip2 info-bzip2
6515 maybe-info-bzip2:
6516 @if bzip2
6517 maybe-info-bzip2: info-bzip2
6519 info-bzip2: \
6520 configure-bzip2
6521 @[ -f ./bzip2/Makefile ] || exit 0; \
6522 r=`${PWD_COMMAND}`; export r; \
6523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6524 $(HOST_EXPORTS) \
6525 for flag in $(EXTRA_HOST_FLAGS) ; do \
6526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6527 done; \
6528 echo "Doing info in bzip2" ; \
6529 (cd $(HOST_SUBDIR)/bzip2 && \
6530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6532 "RANLIB=$${RANLIB}" \
6533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6534 info) \
6535 || exit 1
6537 @endif bzip2
6539 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6540 maybe-dvi-bzip2:
6541 @if bzip2
6542 maybe-dvi-bzip2: dvi-bzip2
6544 dvi-bzip2: \
6545 configure-bzip2
6546 @[ -f ./bzip2/Makefile ] || exit 0; \
6547 r=`${PWD_COMMAND}`; export r; \
6548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6549 $(HOST_EXPORTS) \
6550 for flag in $(EXTRA_HOST_FLAGS) ; do \
6551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6552 done; \
6553 echo "Doing dvi in bzip2" ; \
6554 (cd $(HOST_SUBDIR)/bzip2 && \
6555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6557 "RANLIB=$${RANLIB}" \
6558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6559 dvi) \
6560 || exit 1
6562 @endif bzip2
6564 .PHONY: maybe-html-bzip2 html-bzip2
6565 maybe-html-bzip2:
6566 @if bzip2
6567 maybe-html-bzip2: html-bzip2
6569 html-bzip2: \
6570 configure-bzip2
6571 @[ -f ./bzip2/Makefile ] || exit 0; \
6572 r=`${PWD_COMMAND}`; export r; \
6573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6574 $(HOST_EXPORTS) \
6575 for flag in $(EXTRA_HOST_FLAGS) ; do \
6576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6577 done; \
6578 echo "Doing html in bzip2" ; \
6579 (cd $(HOST_SUBDIR)/bzip2 && \
6580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6582 "RANLIB=$${RANLIB}" \
6583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6584 html) \
6585 || exit 1
6587 @endif bzip2
6589 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6590 maybe-TAGS-bzip2:
6591 @if bzip2
6592 maybe-TAGS-bzip2: TAGS-bzip2
6594 TAGS-bzip2: \
6595 configure-bzip2
6596 @[ -f ./bzip2/Makefile ] || exit 0; \
6597 r=`${PWD_COMMAND}`; export r; \
6598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6599 $(HOST_EXPORTS) \
6600 for flag in $(EXTRA_HOST_FLAGS) ; do \
6601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6602 done; \
6603 echo "Doing TAGS in bzip2" ; \
6604 (cd $(HOST_SUBDIR)/bzip2 && \
6605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6607 "RANLIB=$${RANLIB}" \
6608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6609 TAGS) \
6610 || exit 1
6612 @endif bzip2
6614 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6615 maybe-install-info-bzip2:
6616 @if bzip2
6617 maybe-install-info-bzip2: install-info-bzip2
6619 install-info-bzip2: \
6620 configure-bzip2 \
6621 info-bzip2
6622 @[ -f ./bzip2/Makefile ] || exit 0; \
6623 r=`${PWD_COMMAND}`; export r; \
6624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6625 $(HOST_EXPORTS) \
6626 for flag in $(EXTRA_HOST_FLAGS) ; do \
6627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6628 done; \
6629 echo "Doing install-info in bzip2" ; \
6630 (cd $(HOST_SUBDIR)/bzip2 && \
6631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6633 "RANLIB=$${RANLIB}" \
6634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6635 install-info) \
6636 || exit 1
6638 @endif bzip2
6640 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6641 maybe-installcheck-bzip2:
6642 @if bzip2
6643 maybe-installcheck-bzip2: installcheck-bzip2
6645 installcheck-bzip2: \
6646 configure-bzip2
6647 @[ -f ./bzip2/Makefile ] || exit 0; \
6648 r=`${PWD_COMMAND}`; export r; \
6649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6650 $(HOST_EXPORTS) \
6651 for flag in $(EXTRA_HOST_FLAGS) ; do \
6652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6653 done; \
6654 echo "Doing installcheck in bzip2" ; \
6655 (cd $(HOST_SUBDIR)/bzip2 && \
6656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6658 "RANLIB=$${RANLIB}" \
6659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6660 installcheck) \
6661 || exit 1
6663 @endif bzip2
6665 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
6666 maybe-mostlyclean-bzip2:
6667 @if bzip2
6668 maybe-mostlyclean-bzip2: mostlyclean-bzip2
6670 mostlyclean-bzip2:
6671 @[ -f ./bzip2/Makefile ] || exit 0; \
6672 r=`${PWD_COMMAND}`; export r; \
6673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6674 $(HOST_EXPORTS) \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 done; \
6678 echo "Doing mostlyclean in bzip2" ; \
6679 (cd $(HOST_SUBDIR)/bzip2 && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684 mostlyclean) \
6685 || exit 1
6687 @endif bzip2
6689 .PHONY: maybe-clean-bzip2 clean-bzip2
6690 maybe-clean-bzip2:
6691 @if bzip2
6692 maybe-clean-bzip2: clean-bzip2
6694 clean-bzip2:
6695 @[ -f ./bzip2/Makefile ] || exit 0; \
6696 r=`${PWD_COMMAND}`; export r; \
6697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6698 $(HOST_EXPORTS) \
6699 for flag in $(EXTRA_HOST_FLAGS) ; do \
6700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6701 done; \
6702 echo "Doing clean in bzip2" ; \
6703 (cd $(HOST_SUBDIR)/bzip2 && \
6704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6706 "RANLIB=$${RANLIB}" \
6707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6708 clean) \
6709 || exit 1
6711 @endif bzip2
6713 .PHONY: maybe-distclean-bzip2 distclean-bzip2
6714 maybe-distclean-bzip2:
6715 @if bzip2
6716 maybe-distclean-bzip2: distclean-bzip2
6718 distclean-bzip2:
6719 @[ -f ./bzip2/Makefile ] || exit 0; \
6720 r=`${PWD_COMMAND}`; export r; \
6721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6722 $(HOST_EXPORTS) \
6723 for flag in $(EXTRA_HOST_FLAGS) ; do \
6724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6725 done; \
6726 echo "Doing distclean in bzip2" ; \
6727 (cd $(HOST_SUBDIR)/bzip2 && \
6728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6730 "RANLIB=$${RANLIB}" \
6731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6732 distclean) \
6733 || exit 1
6735 @endif bzip2
6737 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
6738 maybe-maintainer-clean-bzip2:
6739 @if bzip2
6740 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
6742 maintainer-clean-bzip2:
6743 @[ -f ./bzip2/Makefile ] || exit 0; \
6744 r=`${PWD_COMMAND}`; export r; \
6745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6746 $(HOST_EXPORTS) \
6747 for flag in $(EXTRA_HOST_FLAGS) ; do \
6748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6749 done; \
6750 echo "Doing maintainer-clean in bzip2" ; \
6751 (cd $(HOST_SUBDIR)/bzip2 && \
6752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6754 "RANLIB=$${RANLIB}" \
6755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6756 maintainer-clean) \
6757 || exit 1
6759 @endif bzip2
6763 .PHONY: configure-dejagnu maybe-configure-dejagnu
6764 maybe-configure-dejagnu:
6765 @if dejagnu
6766 maybe-configure-dejagnu: configure-dejagnu
6767 configure-dejagnu:
6768 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
6769 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
6770 r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6772 $(HOST_EXPORTS) \
6773 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
6774 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
6775 case $(srcdir) in \
6776 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6777 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
6778 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6779 esac; \
6780 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
6781 libsrcdir="$$s/dejagnu"; \
6782 $(SHELL) $${libsrcdir}/configure \
6783 $(HOST_CONFIGARGS) $${srcdiroption} \
6784 || exit 1
6785 @endif dejagnu
6791 .PHONY: all-dejagnu maybe-all-dejagnu
6792 maybe-all-dejagnu:
6793 @if dejagnu
6794 TARGET-dejagnu=all
6795 maybe-all-dejagnu: all-dejagnu
6796 all-dejagnu: configure-dejagnu
6797 @r=`${PWD_COMMAND}`; export r; \
6798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6799 $(HOST_EXPORTS) \
6800 (cd $(HOST_SUBDIR)/dejagnu && \
6801 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
6802 @endif dejagnu
6807 .PHONY: check-dejagnu maybe-check-dejagnu
6808 maybe-check-dejagnu:
6809 @if dejagnu
6810 maybe-check-dejagnu: check-dejagnu
6812 check-dejagnu:
6813 @r=`${PWD_COMMAND}`; export r; \
6814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6815 $(HOST_EXPORTS) \
6816 (cd $(HOST_SUBDIR)/dejagnu && \
6817 $(MAKE) $(FLAGS_TO_PASS) check)
6819 @endif dejagnu
6821 .PHONY: install-dejagnu maybe-install-dejagnu
6822 maybe-install-dejagnu:
6823 @if dejagnu
6824 maybe-install-dejagnu: install-dejagnu
6826 install-dejagnu: installdirs
6827 @r=`${PWD_COMMAND}`; export r; \
6828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6829 $(HOST_EXPORTS) \
6830 (cd $(HOST_SUBDIR)/dejagnu && \
6831 $(MAKE) $(FLAGS_TO_PASS) install)
6833 @endif dejagnu
6835 # Other targets (info, dvi, etc.)
6837 .PHONY: maybe-info-dejagnu info-dejagnu
6838 maybe-info-dejagnu:
6839 @if dejagnu
6840 maybe-info-dejagnu: info-dejagnu
6842 info-dejagnu: \
6843 configure-dejagnu
6844 @[ -f ./dejagnu/Makefile ] || exit 0; \
6845 r=`${PWD_COMMAND}`; export r; \
6846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing info in dejagnu" ; \
6852 (cd $(HOST_SUBDIR)/dejagnu && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6857 info) \
6858 || exit 1
6860 @endif dejagnu
6862 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
6863 maybe-dvi-dejagnu:
6864 @if dejagnu
6865 maybe-dvi-dejagnu: dvi-dejagnu
6867 dvi-dejagnu: \
6868 configure-dejagnu
6869 @[ -f ./dejagnu/Makefile ] || exit 0; \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(HOST_EXPORTS) \
6873 for flag in $(EXTRA_HOST_FLAGS) ; do \
6874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6875 done; \
6876 echo "Doing dvi in dejagnu" ; \
6877 (cd $(HOST_SUBDIR)/dejagnu && \
6878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6880 "RANLIB=$${RANLIB}" \
6881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6882 dvi) \
6883 || exit 1
6885 @endif dejagnu
6887 .PHONY: maybe-html-dejagnu html-dejagnu
6888 maybe-html-dejagnu:
6889 @if dejagnu
6890 maybe-html-dejagnu: html-dejagnu
6892 html-dejagnu: \
6893 configure-dejagnu
6894 @[ -f ./dejagnu/Makefile ] || exit 0; \
6895 r=`${PWD_COMMAND}`; export r; \
6896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6897 $(HOST_EXPORTS) \
6898 for flag in $(EXTRA_HOST_FLAGS) ; do \
6899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6900 done; \
6901 echo "Doing html in dejagnu" ; \
6902 (cd $(HOST_SUBDIR)/dejagnu && \
6903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6905 "RANLIB=$${RANLIB}" \
6906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6907 html) \
6908 || exit 1
6910 @endif dejagnu
6912 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
6913 maybe-TAGS-dejagnu:
6914 @if dejagnu
6915 maybe-TAGS-dejagnu: TAGS-dejagnu
6917 TAGS-dejagnu: \
6918 configure-dejagnu
6919 @[ -f ./dejagnu/Makefile ] || exit 0; \
6920 r=`${PWD_COMMAND}`; export r; \
6921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6922 $(HOST_EXPORTS) \
6923 for flag in $(EXTRA_HOST_FLAGS) ; do \
6924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6925 done; \
6926 echo "Doing TAGS in dejagnu" ; \
6927 (cd $(HOST_SUBDIR)/dejagnu && \
6928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6930 "RANLIB=$${RANLIB}" \
6931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6932 TAGS) \
6933 || exit 1
6935 @endif dejagnu
6937 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
6938 maybe-install-info-dejagnu:
6939 @if dejagnu
6940 maybe-install-info-dejagnu: install-info-dejagnu
6942 install-info-dejagnu: \
6943 configure-dejagnu \
6944 info-dejagnu
6945 @[ -f ./dejagnu/Makefile ] || exit 0; \
6946 r=`${PWD_COMMAND}`; export r; \
6947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6948 $(HOST_EXPORTS) \
6949 for flag in $(EXTRA_HOST_FLAGS) ; do \
6950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6951 done; \
6952 echo "Doing install-info in dejagnu" ; \
6953 (cd $(HOST_SUBDIR)/dejagnu && \
6954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6956 "RANLIB=$${RANLIB}" \
6957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6958 install-info) \
6959 || exit 1
6961 @endif dejagnu
6963 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
6964 maybe-installcheck-dejagnu:
6965 @if dejagnu
6966 maybe-installcheck-dejagnu: installcheck-dejagnu
6968 installcheck-dejagnu: \
6969 configure-dejagnu
6970 @[ -f ./dejagnu/Makefile ] || exit 0; \
6971 r=`${PWD_COMMAND}`; export r; \
6972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6973 $(HOST_EXPORTS) \
6974 for flag in $(EXTRA_HOST_FLAGS) ; do \
6975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6976 done; \
6977 echo "Doing installcheck in dejagnu" ; \
6978 (cd $(HOST_SUBDIR)/dejagnu && \
6979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6981 "RANLIB=$${RANLIB}" \
6982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6983 installcheck) \
6984 || exit 1
6986 @endif dejagnu
6988 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
6989 maybe-mostlyclean-dejagnu:
6990 @if dejagnu
6991 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
6993 mostlyclean-dejagnu:
6994 @[ -f ./dejagnu/Makefile ] || exit 0; \
6995 r=`${PWD_COMMAND}`; export r; \
6996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6997 $(HOST_EXPORTS) \
6998 for flag in $(EXTRA_HOST_FLAGS) ; do \
6999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7000 done; \
7001 echo "Doing mostlyclean in dejagnu" ; \
7002 (cd $(HOST_SUBDIR)/dejagnu && \
7003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7005 "RANLIB=$${RANLIB}" \
7006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7007 mostlyclean) \
7008 || exit 1
7010 @endif dejagnu
7012 .PHONY: maybe-clean-dejagnu clean-dejagnu
7013 maybe-clean-dejagnu:
7014 @if dejagnu
7015 maybe-clean-dejagnu: clean-dejagnu
7017 clean-dejagnu:
7018 @[ -f ./dejagnu/Makefile ] || exit 0; \
7019 r=`${PWD_COMMAND}`; export r; \
7020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7021 $(HOST_EXPORTS) \
7022 for flag in $(EXTRA_HOST_FLAGS) ; do \
7023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7024 done; \
7025 echo "Doing clean in dejagnu" ; \
7026 (cd $(HOST_SUBDIR)/dejagnu && \
7027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7029 "RANLIB=$${RANLIB}" \
7030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7031 clean) \
7032 || exit 1
7034 @endif dejagnu
7036 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7037 maybe-distclean-dejagnu:
7038 @if dejagnu
7039 maybe-distclean-dejagnu: distclean-dejagnu
7041 distclean-dejagnu:
7042 @[ -f ./dejagnu/Makefile ] || exit 0; \
7043 r=`${PWD_COMMAND}`; export r; \
7044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7045 $(HOST_EXPORTS) \
7046 for flag in $(EXTRA_HOST_FLAGS) ; do \
7047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7048 done; \
7049 echo "Doing distclean in dejagnu" ; \
7050 (cd $(HOST_SUBDIR)/dejagnu && \
7051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7053 "RANLIB=$${RANLIB}" \
7054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7055 distclean) \
7056 || exit 1
7058 @endif dejagnu
7060 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7061 maybe-maintainer-clean-dejagnu:
7062 @if dejagnu
7063 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7065 maintainer-clean-dejagnu:
7066 @[ -f ./dejagnu/Makefile ] || exit 0; \
7067 r=`${PWD_COMMAND}`; export r; \
7068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7069 $(HOST_EXPORTS) \
7070 for flag in $(EXTRA_HOST_FLAGS) ; do \
7071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7072 done; \
7073 echo "Doing maintainer-clean in dejagnu" ; \
7074 (cd $(HOST_SUBDIR)/dejagnu && \
7075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7077 "RANLIB=$${RANLIB}" \
7078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7079 maintainer-clean) \
7080 || exit 1
7082 @endif dejagnu
7086 .PHONY: configure-diff maybe-configure-diff
7087 maybe-configure-diff:
7088 @if diff
7089 maybe-configure-diff: configure-diff
7090 configure-diff:
7091 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7093 r=`${PWD_COMMAND}`; export r; \
7094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7095 $(HOST_EXPORTS) \
7096 echo Configuring in $(HOST_SUBDIR)/diff; \
7097 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7098 case $(srcdir) in \
7099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7100 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7102 esac; \
7103 srcdiroption="--srcdir=$${topdir}/diff"; \
7104 libsrcdir="$$s/diff"; \
7105 $(SHELL) $${libsrcdir}/configure \
7106 $(HOST_CONFIGARGS) $${srcdiroption} \
7107 || exit 1
7108 @endif diff
7114 .PHONY: all-diff maybe-all-diff
7115 maybe-all-diff:
7116 @if diff
7117 TARGET-diff=all
7118 maybe-all-diff: all-diff
7119 all-diff: configure-diff
7120 @r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7122 $(HOST_EXPORTS) \
7123 (cd $(HOST_SUBDIR)/diff && \
7124 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7125 @endif diff
7130 .PHONY: check-diff maybe-check-diff
7131 maybe-check-diff:
7132 @if diff
7133 maybe-check-diff: check-diff
7135 check-diff:
7136 @r=`${PWD_COMMAND}`; export r; \
7137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7138 $(HOST_EXPORTS) \
7139 (cd $(HOST_SUBDIR)/diff && \
7140 $(MAKE) $(FLAGS_TO_PASS) check)
7142 @endif diff
7144 .PHONY: install-diff maybe-install-diff
7145 maybe-install-diff:
7146 @if diff
7147 maybe-install-diff: install-diff
7149 install-diff: installdirs
7150 @r=`${PWD_COMMAND}`; export r; \
7151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7152 $(HOST_EXPORTS) \
7153 (cd $(HOST_SUBDIR)/diff && \
7154 $(MAKE) $(FLAGS_TO_PASS) install)
7156 @endif diff
7158 # Other targets (info, dvi, etc.)
7160 .PHONY: maybe-info-diff info-diff
7161 maybe-info-diff:
7162 @if diff
7163 maybe-info-diff: info-diff
7165 info-diff: \
7166 configure-diff
7167 @[ -f ./diff/Makefile ] || exit 0; \
7168 r=`${PWD_COMMAND}`; export r; \
7169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7170 $(HOST_EXPORTS) \
7171 for flag in $(EXTRA_HOST_FLAGS) ; do \
7172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7173 done; \
7174 echo "Doing info in diff" ; \
7175 (cd $(HOST_SUBDIR)/diff && \
7176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7178 "RANLIB=$${RANLIB}" \
7179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7180 info) \
7181 || exit 1
7183 @endif diff
7185 .PHONY: maybe-dvi-diff dvi-diff
7186 maybe-dvi-diff:
7187 @if diff
7188 maybe-dvi-diff: dvi-diff
7190 dvi-diff: \
7191 configure-diff
7192 @[ -f ./diff/Makefile ] || exit 0; \
7193 r=`${PWD_COMMAND}`; export r; \
7194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7195 $(HOST_EXPORTS) \
7196 for flag in $(EXTRA_HOST_FLAGS) ; do \
7197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7198 done; \
7199 echo "Doing dvi in diff" ; \
7200 (cd $(HOST_SUBDIR)/diff && \
7201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7203 "RANLIB=$${RANLIB}" \
7204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7205 dvi) \
7206 || exit 1
7208 @endif diff
7210 .PHONY: maybe-html-diff html-diff
7211 maybe-html-diff:
7212 @if diff
7213 maybe-html-diff: html-diff
7215 html-diff: \
7216 configure-diff
7217 @[ -f ./diff/Makefile ] || exit 0; \
7218 r=`${PWD_COMMAND}`; export r; \
7219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7220 $(HOST_EXPORTS) \
7221 for flag in $(EXTRA_HOST_FLAGS) ; do \
7222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7223 done; \
7224 echo "Doing html in diff" ; \
7225 (cd $(HOST_SUBDIR)/diff && \
7226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7228 "RANLIB=$${RANLIB}" \
7229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7230 html) \
7231 || exit 1
7233 @endif diff
7235 .PHONY: maybe-TAGS-diff TAGS-diff
7236 maybe-TAGS-diff:
7237 @if diff
7238 maybe-TAGS-diff: TAGS-diff
7240 TAGS-diff: \
7241 configure-diff
7242 @[ -f ./diff/Makefile ] || exit 0; \
7243 r=`${PWD_COMMAND}`; export r; \
7244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7245 $(HOST_EXPORTS) \
7246 for flag in $(EXTRA_HOST_FLAGS) ; do \
7247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7248 done; \
7249 echo "Doing TAGS in diff" ; \
7250 (cd $(HOST_SUBDIR)/diff && \
7251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7253 "RANLIB=$${RANLIB}" \
7254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7255 TAGS) \
7256 || exit 1
7258 @endif diff
7260 .PHONY: maybe-install-info-diff install-info-diff
7261 maybe-install-info-diff:
7262 @if diff
7263 maybe-install-info-diff: install-info-diff
7265 install-info-diff: \
7266 configure-diff \
7267 info-diff
7268 @[ -f ./diff/Makefile ] || exit 0; \
7269 r=`${PWD_COMMAND}`; export r; \
7270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7271 $(HOST_EXPORTS) \
7272 for flag in $(EXTRA_HOST_FLAGS) ; do \
7273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7274 done; \
7275 echo "Doing install-info in diff" ; \
7276 (cd $(HOST_SUBDIR)/diff && \
7277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7279 "RANLIB=$${RANLIB}" \
7280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7281 install-info) \
7282 || exit 1
7284 @endif diff
7286 .PHONY: maybe-installcheck-diff installcheck-diff
7287 maybe-installcheck-diff:
7288 @if diff
7289 maybe-installcheck-diff: installcheck-diff
7291 installcheck-diff: \
7292 configure-diff
7293 @[ -f ./diff/Makefile ] || exit 0; \
7294 r=`${PWD_COMMAND}`; export r; \
7295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7296 $(HOST_EXPORTS) \
7297 for flag in $(EXTRA_HOST_FLAGS) ; do \
7298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7299 done; \
7300 echo "Doing installcheck in diff" ; \
7301 (cd $(HOST_SUBDIR)/diff && \
7302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7304 "RANLIB=$${RANLIB}" \
7305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7306 installcheck) \
7307 || exit 1
7309 @endif diff
7311 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7312 maybe-mostlyclean-diff:
7313 @if diff
7314 maybe-mostlyclean-diff: mostlyclean-diff
7316 mostlyclean-diff:
7317 @[ -f ./diff/Makefile ] || exit 0; \
7318 r=`${PWD_COMMAND}`; export r; \
7319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7320 $(HOST_EXPORTS) \
7321 for flag in $(EXTRA_HOST_FLAGS) ; do \
7322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7323 done; \
7324 echo "Doing mostlyclean in diff" ; \
7325 (cd $(HOST_SUBDIR)/diff && \
7326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7328 "RANLIB=$${RANLIB}" \
7329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7330 mostlyclean) \
7331 || exit 1
7333 @endif diff
7335 .PHONY: maybe-clean-diff clean-diff
7336 maybe-clean-diff:
7337 @if diff
7338 maybe-clean-diff: clean-diff
7340 clean-diff:
7341 @[ -f ./diff/Makefile ] || exit 0; \
7342 r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 $(HOST_EXPORTS) \
7345 for flag in $(EXTRA_HOST_FLAGS) ; do \
7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7347 done; \
7348 echo "Doing clean in diff" ; \
7349 (cd $(HOST_SUBDIR)/diff && \
7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7352 "RANLIB=$${RANLIB}" \
7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7354 clean) \
7355 || exit 1
7357 @endif diff
7359 .PHONY: maybe-distclean-diff distclean-diff
7360 maybe-distclean-diff:
7361 @if diff
7362 maybe-distclean-diff: distclean-diff
7364 distclean-diff:
7365 @[ -f ./diff/Makefile ] || exit 0; \
7366 r=`${PWD_COMMAND}`; export r; \
7367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7368 $(HOST_EXPORTS) \
7369 for flag in $(EXTRA_HOST_FLAGS) ; do \
7370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7371 done; \
7372 echo "Doing distclean in diff" ; \
7373 (cd $(HOST_SUBDIR)/diff && \
7374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7376 "RANLIB=$${RANLIB}" \
7377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7378 distclean) \
7379 || exit 1
7381 @endif diff
7383 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7384 maybe-maintainer-clean-diff:
7385 @if diff
7386 maybe-maintainer-clean-diff: maintainer-clean-diff
7388 maintainer-clean-diff:
7389 @[ -f ./diff/Makefile ] || exit 0; \
7390 r=`${PWD_COMMAND}`; export r; \
7391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7392 $(HOST_EXPORTS) \
7393 for flag in $(EXTRA_HOST_FLAGS) ; do \
7394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7395 done; \
7396 echo "Doing maintainer-clean in diff" ; \
7397 (cd $(HOST_SUBDIR)/diff && \
7398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7400 "RANLIB=$${RANLIB}" \
7401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7402 maintainer-clean) \
7403 || exit 1
7405 @endif diff
7409 .PHONY: configure-dosutils maybe-configure-dosutils
7410 maybe-configure-dosutils:
7411 @if dosutils
7412 maybe-configure-dosutils: configure-dosutils
7413 configure-dosutils:
7414 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7416 r=`${PWD_COMMAND}`; export r; \
7417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7418 $(HOST_EXPORTS) \
7419 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7420 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7421 case $(srcdir) in \
7422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7423 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7425 esac; \
7426 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7427 libsrcdir="$$s/dosutils"; \
7428 $(SHELL) $${libsrcdir}/configure \
7429 $(HOST_CONFIGARGS) $${srcdiroption} \
7430 || exit 1
7431 @endif dosutils
7437 .PHONY: all-dosutils maybe-all-dosutils
7438 maybe-all-dosutils:
7439 @if dosutils
7440 TARGET-dosutils=all
7441 maybe-all-dosutils: all-dosutils
7442 all-dosutils: configure-dosutils
7443 @r=`${PWD_COMMAND}`; export r; \
7444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7445 $(HOST_EXPORTS) \
7446 (cd $(HOST_SUBDIR)/dosutils && \
7447 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7448 @endif dosutils
7453 .PHONY: check-dosutils maybe-check-dosutils
7454 maybe-check-dosutils:
7455 @if dosutils
7456 maybe-check-dosutils: check-dosutils
7458 check-dosutils:
7460 @endif dosutils
7462 .PHONY: install-dosutils maybe-install-dosutils
7463 maybe-install-dosutils:
7464 @if dosutils
7465 maybe-install-dosutils: install-dosutils
7467 install-dosutils: installdirs
7468 @r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 (cd $(HOST_SUBDIR)/dosutils && \
7472 $(MAKE) $(FLAGS_TO_PASS) install)
7474 @endif dosutils
7476 # Other targets (info, dvi, etc.)
7478 .PHONY: maybe-info-dosutils info-dosutils
7479 maybe-info-dosutils:
7480 @if dosutils
7481 maybe-info-dosutils: info-dosutils
7483 info-dosutils: \
7484 configure-dosutils
7485 @[ -f ./dosutils/Makefile ] || exit 0; \
7486 r=`${PWD_COMMAND}`; export r; \
7487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7488 $(HOST_EXPORTS) \
7489 for flag in $(EXTRA_HOST_FLAGS) ; do \
7490 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7491 done; \
7492 echo "Doing info in dosutils" ; \
7493 (cd $(HOST_SUBDIR)/dosutils && \
7494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7496 "RANLIB=$${RANLIB}" \
7497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7498 info) \
7499 || exit 1
7501 @endif dosutils
7503 .PHONY: maybe-dvi-dosutils dvi-dosutils
7504 maybe-dvi-dosutils:
7505 @if dosutils
7506 maybe-dvi-dosutils: dvi-dosutils
7508 dvi-dosutils: \
7509 configure-dosutils
7510 @[ -f ./dosutils/Makefile ] || exit 0; \
7511 r=`${PWD_COMMAND}`; export r; \
7512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7513 $(HOST_EXPORTS) \
7514 for flag in $(EXTRA_HOST_FLAGS) ; do \
7515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7516 done; \
7517 echo "Doing dvi in dosutils" ; \
7518 (cd $(HOST_SUBDIR)/dosutils && \
7519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7521 "RANLIB=$${RANLIB}" \
7522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7523 dvi) \
7524 || exit 1
7526 @endif dosutils
7528 .PHONY: maybe-html-dosutils html-dosutils
7529 maybe-html-dosutils:
7530 @if dosutils
7531 maybe-html-dosutils: html-dosutils
7533 html-dosutils: \
7534 configure-dosutils
7535 @[ -f ./dosutils/Makefile ] || exit 0; \
7536 r=`${PWD_COMMAND}`; export r; \
7537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7538 $(HOST_EXPORTS) \
7539 for flag in $(EXTRA_HOST_FLAGS) ; do \
7540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7541 done; \
7542 echo "Doing html in dosutils" ; \
7543 (cd $(HOST_SUBDIR)/dosutils && \
7544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7546 "RANLIB=$${RANLIB}" \
7547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7548 html) \
7549 || exit 1
7551 @endif dosutils
7553 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7554 maybe-TAGS-dosutils:
7555 @if dosutils
7556 maybe-TAGS-dosutils: TAGS-dosutils
7558 TAGS-dosutils: \
7559 configure-dosutils
7560 @[ -f ./dosutils/Makefile ] || exit 0; \
7561 r=`${PWD_COMMAND}`; export r; \
7562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7563 $(HOST_EXPORTS) \
7564 for flag in $(EXTRA_HOST_FLAGS) ; do \
7565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7566 done; \
7567 echo "Doing TAGS in dosutils" ; \
7568 (cd $(HOST_SUBDIR)/dosutils && \
7569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7571 "RANLIB=$${RANLIB}" \
7572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7573 TAGS) \
7574 || exit 1
7576 @endif dosutils
7578 .PHONY: maybe-install-info-dosutils install-info-dosutils
7579 maybe-install-info-dosutils:
7580 @if dosutils
7581 maybe-install-info-dosutils: install-info-dosutils
7583 install-info-dosutils: \
7584 configure-dosutils \
7585 info-dosutils
7586 @[ -f ./dosutils/Makefile ] || exit 0; \
7587 r=`${PWD_COMMAND}`; export r; \
7588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7589 $(HOST_EXPORTS) \
7590 for flag in $(EXTRA_HOST_FLAGS) ; do \
7591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7592 done; \
7593 echo "Doing install-info in dosutils" ; \
7594 (cd $(HOST_SUBDIR)/dosutils && \
7595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7597 "RANLIB=$${RANLIB}" \
7598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7599 install-info) \
7600 || exit 1
7602 @endif dosutils
7604 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7605 maybe-installcheck-dosutils:
7606 @if dosutils
7607 maybe-installcheck-dosutils: installcheck-dosutils
7609 installcheck-dosutils: \
7610 configure-dosutils
7611 @[ -f ./dosutils/Makefile ] || exit 0; \
7612 r=`${PWD_COMMAND}`; export r; \
7613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7614 $(HOST_EXPORTS) \
7615 for flag in $(EXTRA_HOST_FLAGS) ; do \
7616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7617 done; \
7618 echo "Doing installcheck in dosutils" ; \
7619 (cd $(HOST_SUBDIR)/dosutils && \
7620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7622 "RANLIB=$${RANLIB}" \
7623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7624 installcheck) \
7625 || exit 1
7627 @endif dosutils
7629 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
7630 maybe-mostlyclean-dosutils:
7631 @if dosutils
7632 maybe-mostlyclean-dosutils: mostlyclean-dosutils
7634 mostlyclean-dosutils:
7635 @[ -f ./dosutils/Makefile ] || exit 0; \
7636 r=`${PWD_COMMAND}`; export r; \
7637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7638 $(HOST_EXPORTS) \
7639 for flag in $(EXTRA_HOST_FLAGS) ; do \
7640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7641 done; \
7642 echo "Doing mostlyclean in dosutils" ; \
7643 (cd $(HOST_SUBDIR)/dosutils && \
7644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7646 "RANLIB=$${RANLIB}" \
7647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7648 mostlyclean) \
7649 || exit 1
7651 @endif dosutils
7653 .PHONY: maybe-clean-dosutils clean-dosutils
7654 maybe-clean-dosutils:
7655 @if dosutils
7656 maybe-clean-dosutils: clean-dosutils
7658 clean-dosutils:
7659 @[ -f ./dosutils/Makefile ] || exit 0; \
7660 r=`${PWD_COMMAND}`; export r; \
7661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7662 $(HOST_EXPORTS) \
7663 for flag in $(EXTRA_HOST_FLAGS) ; do \
7664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7665 done; \
7666 echo "Doing clean in dosutils" ; \
7667 (cd $(HOST_SUBDIR)/dosutils && \
7668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7670 "RANLIB=$${RANLIB}" \
7671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7672 clean) \
7673 || exit 1
7675 @endif dosutils
7677 .PHONY: maybe-distclean-dosutils distclean-dosutils
7678 maybe-distclean-dosutils:
7679 @if dosutils
7680 maybe-distclean-dosutils: distclean-dosutils
7682 distclean-dosutils:
7683 @[ -f ./dosutils/Makefile ] || exit 0; \
7684 r=`${PWD_COMMAND}`; export r; \
7685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7686 $(HOST_EXPORTS) \
7687 for flag in $(EXTRA_HOST_FLAGS) ; do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing distclean in dosutils" ; \
7691 (cd $(HOST_SUBDIR)/dosutils && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696 distclean) \
7697 || exit 1
7699 @endif dosutils
7701 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
7702 maybe-maintainer-clean-dosutils:
7703 @if dosutils
7704 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
7706 maintainer-clean-dosutils:
7707 @[ -f ./dosutils/Makefile ] || exit 0; \
7708 r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7710 $(HOST_EXPORTS) \
7711 for flag in $(EXTRA_HOST_FLAGS) ; do \
7712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7713 done; \
7714 echo "Doing maintainer-clean in dosutils" ; \
7715 (cd $(HOST_SUBDIR)/dosutils && \
7716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7718 "RANLIB=$${RANLIB}" \
7719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7720 maintainer-clean) \
7721 || exit 1
7723 @endif dosutils
7727 .PHONY: configure-etc maybe-configure-etc
7728 maybe-configure-etc:
7729 @if etc
7730 maybe-configure-etc: configure-etc
7731 configure-etc:
7732 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
7733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
7734 r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 $(HOST_EXPORTS) \
7737 echo Configuring in $(HOST_SUBDIR)/etc; \
7738 cd "$(HOST_SUBDIR)/etc" || exit 1; \
7739 case $(srcdir) in \
7740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7741 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
7742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7743 esac; \
7744 srcdiroption="--srcdir=$${topdir}/etc"; \
7745 libsrcdir="$$s/etc"; \
7746 $(SHELL) $${libsrcdir}/configure \
7747 $(HOST_CONFIGARGS) $${srcdiroption} \
7748 || exit 1
7749 @endif etc
7755 .PHONY: all-etc maybe-all-etc
7756 maybe-all-etc:
7757 @if etc
7758 TARGET-etc=all
7759 maybe-all-etc: all-etc
7760 all-etc: configure-etc
7761 @r=`${PWD_COMMAND}`; export r; \
7762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7763 $(HOST_EXPORTS) \
7764 (cd $(HOST_SUBDIR)/etc && \
7765 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
7766 @endif etc
7771 .PHONY: check-etc maybe-check-etc
7772 maybe-check-etc:
7773 @if etc
7774 maybe-check-etc: check-etc
7776 check-etc:
7777 @r=`${PWD_COMMAND}`; export r; \
7778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7779 $(HOST_EXPORTS) \
7780 (cd $(HOST_SUBDIR)/etc && \
7781 $(MAKE) $(FLAGS_TO_PASS) check)
7783 @endif etc
7785 .PHONY: install-etc maybe-install-etc
7786 maybe-install-etc:
7787 @if etc
7788 maybe-install-etc: install-etc
7790 install-etc: installdirs
7791 @r=`${PWD_COMMAND}`; export r; \
7792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7793 $(HOST_EXPORTS) \
7794 (cd $(HOST_SUBDIR)/etc && \
7795 $(MAKE) $(FLAGS_TO_PASS) install)
7797 @endif etc
7799 # Other targets (info, dvi, etc.)
7801 .PHONY: maybe-info-etc info-etc
7802 maybe-info-etc:
7803 @if etc
7804 maybe-info-etc: info-etc
7806 info-etc: \
7807 configure-etc
7808 @[ -f ./etc/Makefile ] || exit 0; \
7809 r=`${PWD_COMMAND}`; export r; \
7810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7811 $(HOST_EXPORTS) \
7812 for flag in $(EXTRA_HOST_FLAGS) ; do \
7813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7814 done; \
7815 echo "Doing info in etc" ; \
7816 (cd $(HOST_SUBDIR)/etc && \
7817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7819 "RANLIB=$${RANLIB}" \
7820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7821 info) \
7822 || exit 1
7824 @endif etc
7826 .PHONY: maybe-dvi-etc dvi-etc
7827 maybe-dvi-etc:
7828 @if etc
7829 maybe-dvi-etc: dvi-etc
7831 dvi-etc: \
7832 configure-etc
7833 @[ -f ./etc/Makefile ] || exit 0; \
7834 r=`${PWD_COMMAND}`; export r; \
7835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7836 $(HOST_EXPORTS) \
7837 for flag in $(EXTRA_HOST_FLAGS) ; do \
7838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7839 done; \
7840 echo "Doing dvi in etc" ; \
7841 (cd $(HOST_SUBDIR)/etc && \
7842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7844 "RANLIB=$${RANLIB}" \
7845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7846 dvi) \
7847 || exit 1
7849 @endif etc
7851 .PHONY: maybe-html-etc html-etc
7852 maybe-html-etc:
7853 @if etc
7854 maybe-html-etc: html-etc
7856 html-etc: \
7857 configure-etc
7858 @[ -f ./etc/Makefile ] || exit 0; \
7859 r=`${PWD_COMMAND}`; export r; \
7860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7861 $(HOST_EXPORTS) \
7862 for flag in $(EXTRA_HOST_FLAGS) ; do \
7863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7864 done; \
7865 echo "Doing html in etc" ; \
7866 (cd $(HOST_SUBDIR)/etc && \
7867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7869 "RANLIB=$${RANLIB}" \
7870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7871 html) \
7872 || exit 1
7874 @endif etc
7876 .PHONY: maybe-TAGS-etc TAGS-etc
7877 maybe-TAGS-etc:
7878 @if etc
7879 maybe-TAGS-etc: TAGS-etc
7881 TAGS-etc: \
7882 configure-etc
7883 @[ -f ./etc/Makefile ] || exit 0; \
7884 r=`${PWD_COMMAND}`; export r; \
7885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing TAGS in etc" ; \
7891 (cd $(HOST_SUBDIR)/etc && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7896 TAGS) \
7897 || exit 1
7899 @endif etc
7901 .PHONY: maybe-install-info-etc install-info-etc
7902 maybe-install-info-etc:
7903 @if etc
7904 maybe-install-info-etc: install-info-etc
7906 install-info-etc: \
7907 configure-etc \
7908 info-etc
7909 @[ -f ./etc/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 $(HOST_EXPORTS) \
7913 for flag in $(EXTRA_HOST_FLAGS) ; do \
7914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7915 done; \
7916 echo "Doing install-info in etc" ; \
7917 (cd $(HOST_SUBDIR)/etc && \
7918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7920 "RANLIB=$${RANLIB}" \
7921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7922 install-info) \
7923 || exit 1
7925 @endif etc
7927 .PHONY: maybe-installcheck-etc installcheck-etc
7928 maybe-installcheck-etc:
7929 @if etc
7930 maybe-installcheck-etc: installcheck-etc
7932 installcheck-etc: \
7933 configure-etc
7934 @[ -f ./etc/Makefile ] || exit 0; \
7935 r=`${PWD_COMMAND}`; export r; \
7936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7937 $(HOST_EXPORTS) \
7938 for flag in $(EXTRA_HOST_FLAGS) ; do \
7939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7940 done; \
7941 echo "Doing installcheck in etc" ; \
7942 (cd $(HOST_SUBDIR)/etc && \
7943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7945 "RANLIB=$${RANLIB}" \
7946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7947 installcheck) \
7948 || exit 1
7950 @endif etc
7952 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
7953 maybe-mostlyclean-etc:
7954 @if etc
7955 maybe-mostlyclean-etc: mostlyclean-etc
7957 mostlyclean-etc:
7958 @[ -f ./etc/Makefile ] || exit 0; \
7959 r=`${PWD_COMMAND}`; export r; \
7960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7961 $(HOST_EXPORTS) \
7962 for flag in $(EXTRA_HOST_FLAGS) ; do \
7963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7964 done; \
7965 echo "Doing mostlyclean in etc" ; \
7966 (cd $(HOST_SUBDIR)/etc && \
7967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7969 "RANLIB=$${RANLIB}" \
7970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7971 mostlyclean) \
7972 || exit 1
7974 @endif etc
7976 .PHONY: maybe-clean-etc clean-etc
7977 maybe-clean-etc:
7978 @if etc
7979 maybe-clean-etc: clean-etc
7981 clean-etc:
7982 @[ -f ./etc/Makefile ] || exit 0; \
7983 r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 $(HOST_EXPORTS) \
7986 for flag in $(EXTRA_HOST_FLAGS) ; do \
7987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7988 done; \
7989 echo "Doing clean in etc" ; \
7990 (cd $(HOST_SUBDIR)/etc && \
7991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7993 "RANLIB=$${RANLIB}" \
7994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7995 clean) \
7996 || exit 1
7998 @endif etc
8000 .PHONY: maybe-distclean-etc distclean-etc
8001 maybe-distclean-etc:
8002 @if etc
8003 maybe-distclean-etc: distclean-etc
8005 distclean-etc:
8006 @[ -f ./etc/Makefile ] || exit 0; \
8007 r=`${PWD_COMMAND}`; export r; \
8008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8009 $(HOST_EXPORTS) \
8010 for flag in $(EXTRA_HOST_FLAGS) ; do \
8011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8012 done; \
8013 echo "Doing distclean in etc" ; \
8014 (cd $(HOST_SUBDIR)/etc && \
8015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8017 "RANLIB=$${RANLIB}" \
8018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8019 distclean) \
8020 || exit 1
8022 @endif etc
8024 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8025 maybe-maintainer-clean-etc:
8026 @if etc
8027 maybe-maintainer-clean-etc: maintainer-clean-etc
8029 maintainer-clean-etc:
8030 @[ -f ./etc/Makefile ] || exit 0; \
8031 r=`${PWD_COMMAND}`; export r; \
8032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8033 $(HOST_EXPORTS) \
8034 for flag in $(EXTRA_HOST_FLAGS) ; do \
8035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8036 done; \
8037 echo "Doing maintainer-clean in etc" ; \
8038 (cd $(HOST_SUBDIR)/etc && \
8039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8041 "RANLIB=$${RANLIB}" \
8042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8043 maintainer-clean) \
8044 || exit 1
8046 @endif etc
8050 .PHONY: configure-fastjar maybe-configure-fastjar
8051 maybe-configure-fastjar:
8052 @if fastjar
8053 maybe-configure-fastjar: configure-fastjar
8054 configure-fastjar:
8055 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8056 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8057 r=`${PWD_COMMAND}`; export r; \
8058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8059 $(HOST_EXPORTS) \
8060 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8061 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8062 case $(srcdir) in \
8063 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8064 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8065 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8066 esac; \
8067 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8068 libsrcdir="$$s/fastjar"; \
8069 $(SHELL) $${libsrcdir}/configure \
8070 $(HOST_CONFIGARGS) $${srcdiroption} \
8071 || exit 1
8072 @endif fastjar
8078 .PHONY: all-fastjar maybe-all-fastjar
8079 maybe-all-fastjar:
8080 @if fastjar
8081 TARGET-fastjar=all
8082 maybe-all-fastjar: all-fastjar
8083 all-fastjar: configure-fastjar
8084 @r=`${PWD_COMMAND}`; export r; \
8085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8086 $(HOST_EXPORTS) \
8087 (cd $(HOST_SUBDIR)/fastjar && \
8088 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8089 @endif fastjar
8094 .PHONY: check-fastjar maybe-check-fastjar
8095 maybe-check-fastjar:
8096 @if fastjar
8097 maybe-check-fastjar: check-fastjar
8099 # This module is only tested in a native toolchain.
8100 check-fastjar:
8101 @if [ '$(host)' = '$(target)' ] ; then \
8102 r=`${PWD_COMMAND}`; export r; \
8103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8104 $(HOST_EXPORTS) \
8105 (cd $(HOST_SUBDIR)/fastjar && \
8106 $(MAKE) $(FLAGS_TO_PASS) check); \
8109 @endif fastjar
8111 .PHONY: install-fastjar maybe-install-fastjar
8112 maybe-install-fastjar:
8113 @if fastjar
8114 maybe-install-fastjar: install-fastjar
8116 install-fastjar: installdirs
8117 @r=`${PWD_COMMAND}`; export r; \
8118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8119 $(HOST_EXPORTS) \
8120 (cd $(HOST_SUBDIR)/fastjar && \
8121 $(MAKE) $(FLAGS_TO_PASS) install)
8123 @endif fastjar
8125 # Other targets (info, dvi, etc.)
8127 .PHONY: maybe-info-fastjar info-fastjar
8128 maybe-info-fastjar:
8129 @if fastjar
8130 maybe-info-fastjar: info-fastjar
8132 info-fastjar: \
8133 configure-fastjar
8134 @[ -f ./fastjar/Makefile ] || exit 0; \
8135 r=`${PWD_COMMAND}`; export r; \
8136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8137 $(HOST_EXPORTS) \
8138 for flag in $(EXTRA_HOST_FLAGS) ; do \
8139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8140 done; \
8141 echo "Doing info in fastjar" ; \
8142 (cd $(HOST_SUBDIR)/fastjar && \
8143 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8144 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8145 "RANLIB=$${RANLIB}" \
8146 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8147 info) \
8148 || exit 1
8150 @endif fastjar
8152 .PHONY: maybe-dvi-fastjar dvi-fastjar
8153 maybe-dvi-fastjar:
8154 @if fastjar
8155 maybe-dvi-fastjar: dvi-fastjar
8157 dvi-fastjar: \
8158 configure-fastjar
8159 @[ -f ./fastjar/Makefile ] || exit 0; \
8160 r=`${PWD_COMMAND}`; export r; \
8161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8162 $(HOST_EXPORTS) \
8163 for flag in $(EXTRA_HOST_FLAGS) ; do \
8164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8165 done; \
8166 echo "Doing dvi in fastjar" ; \
8167 (cd $(HOST_SUBDIR)/fastjar && \
8168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8170 "RANLIB=$${RANLIB}" \
8171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8172 dvi) \
8173 || exit 1
8175 @endif fastjar
8177 .PHONY: maybe-html-fastjar html-fastjar
8178 maybe-html-fastjar:
8179 @if fastjar
8180 maybe-html-fastjar: html-fastjar
8182 html-fastjar: \
8183 configure-fastjar
8184 @[ -f ./fastjar/Makefile ] || exit 0; \
8185 r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 $(HOST_EXPORTS) \
8188 for flag in $(EXTRA_HOST_FLAGS) ; do \
8189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8190 done; \
8191 echo "Doing html in fastjar" ; \
8192 (cd $(HOST_SUBDIR)/fastjar && \
8193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8195 "RANLIB=$${RANLIB}" \
8196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8197 html) \
8198 || exit 1
8200 @endif fastjar
8202 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8203 maybe-TAGS-fastjar:
8204 @if fastjar
8205 maybe-TAGS-fastjar: TAGS-fastjar
8207 TAGS-fastjar: \
8208 configure-fastjar
8209 @[ -f ./fastjar/Makefile ] || exit 0; \
8210 r=`${PWD_COMMAND}`; export r; \
8211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8212 $(HOST_EXPORTS) \
8213 for flag in $(EXTRA_HOST_FLAGS) ; do \
8214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8215 done; \
8216 echo "Doing TAGS in fastjar" ; \
8217 (cd $(HOST_SUBDIR)/fastjar && \
8218 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8219 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8220 "RANLIB=$${RANLIB}" \
8221 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8222 TAGS) \
8223 || exit 1
8225 @endif fastjar
8227 .PHONY: maybe-install-info-fastjar install-info-fastjar
8228 maybe-install-info-fastjar:
8229 @if fastjar
8230 maybe-install-info-fastjar: install-info-fastjar
8232 install-info-fastjar: \
8233 configure-fastjar \
8234 info-fastjar
8235 @[ -f ./fastjar/Makefile ] || exit 0; \
8236 r=`${PWD_COMMAND}`; export r; \
8237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8238 $(HOST_EXPORTS) \
8239 for flag in $(EXTRA_HOST_FLAGS) ; do \
8240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8241 done; \
8242 echo "Doing install-info in fastjar" ; \
8243 (cd $(HOST_SUBDIR)/fastjar && \
8244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8246 "RANLIB=$${RANLIB}" \
8247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8248 install-info) \
8249 || exit 1
8251 @endif fastjar
8253 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8254 maybe-installcheck-fastjar:
8255 @if fastjar
8256 maybe-installcheck-fastjar: installcheck-fastjar
8258 installcheck-fastjar: \
8259 configure-fastjar
8260 @[ -f ./fastjar/Makefile ] || exit 0; \
8261 r=`${PWD_COMMAND}`; export r; \
8262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8263 $(HOST_EXPORTS) \
8264 for flag in $(EXTRA_HOST_FLAGS) ; do \
8265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8266 done; \
8267 echo "Doing installcheck in fastjar" ; \
8268 (cd $(HOST_SUBDIR)/fastjar && \
8269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8271 "RANLIB=$${RANLIB}" \
8272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8273 installcheck) \
8274 || exit 1
8276 @endif fastjar
8278 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8279 maybe-mostlyclean-fastjar:
8280 @if fastjar
8281 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8283 mostlyclean-fastjar:
8284 @[ -f ./fastjar/Makefile ] || exit 0; \
8285 r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8287 $(HOST_EXPORTS) \
8288 for flag in $(EXTRA_HOST_FLAGS) ; do \
8289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8290 done; \
8291 echo "Doing mostlyclean in fastjar" ; \
8292 (cd $(HOST_SUBDIR)/fastjar && \
8293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8295 "RANLIB=$${RANLIB}" \
8296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8297 mostlyclean) \
8298 || exit 1
8300 @endif fastjar
8302 .PHONY: maybe-clean-fastjar clean-fastjar
8303 maybe-clean-fastjar:
8304 @if fastjar
8305 maybe-clean-fastjar: clean-fastjar
8307 clean-fastjar:
8308 @[ -f ./fastjar/Makefile ] || exit 0; \
8309 r=`${PWD_COMMAND}`; export r; \
8310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8311 $(HOST_EXPORTS) \
8312 for flag in $(EXTRA_HOST_FLAGS) ; do \
8313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8314 done; \
8315 echo "Doing clean in fastjar" ; \
8316 (cd $(HOST_SUBDIR)/fastjar && \
8317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8319 "RANLIB=$${RANLIB}" \
8320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8321 clean) \
8322 || exit 1
8324 @endif fastjar
8326 .PHONY: maybe-distclean-fastjar distclean-fastjar
8327 maybe-distclean-fastjar:
8328 @if fastjar
8329 maybe-distclean-fastjar: distclean-fastjar
8331 distclean-fastjar:
8332 @[ -f ./fastjar/Makefile ] || exit 0; \
8333 r=`${PWD_COMMAND}`; export r; \
8334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8335 $(HOST_EXPORTS) \
8336 for flag in $(EXTRA_HOST_FLAGS) ; do \
8337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8338 done; \
8339 echo "Doing distclean in fastjar" ; \
8340 (cd $(HOST_SUBDIR)/fastjar && \
8341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8343 "RANLIB=$${RANLIB}" \
8344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8345 distclean) \
8346 || exit 1
8348 @endif fastjar
8350 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8351 maybe-maintainer-clean-fastjar:
8352 @if fastjar
8353 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8355 maintainer-clean-fastjar:
8356 @[ -f ./fastjar/Makefile ] || exit 0; \
8357 r=`${PWD_COMMAND}`; export r; \
8358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8359 $(HOST_EXPORTS) \
8360 for flag in $(EXTRA_HOST_FLAGS) ; do \
8361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8362 done; \
8363 echo "Doing maintainer-clean in fastjar" ; \
8364 (cd $(HOST_SUBDIR)/fastjar && \
8365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8367 "RANLIB=$${RANLIB}" \
8368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8369 maintainer-clean) \
8370 || exit 1
8372 @endif fastjar
8376 .PHONY: configure-fileutils maybe-configure-fileutils
8377 maybe-configure-fileutils:
8378 @if fileutils
8379 maybe-configure-fileutils: configure-fileutils
8380 configure-fileutils:
8381 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8382 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8383 r=`${PWD_COMMAND}`; export r; \
8384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8385 $(HOST_EXPORTS) \
8386 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8387 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8388 case $(srcdir) in \
8389 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8390 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8391 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8392 esac; \
8393 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8394 libsrcdir="$$s/fileutils"; \
8395 $(SHELL) $${libsrcdir}/configure \
8396 $(HOST_CONFIGARGS) $${srcdiroption} \
8397 || exit 1
8398 @endif fileutils
8404 .PHONY: all-fileutils maybe-all-fileutils
8405 maybe-all-fileutils:
8406 @if fileutils
8407 TARGET-fileutils=all
8408 maybe-all-fileutils: all-fileutils
8409 all-fileutils: configure-fileutils
8410 @r=`${PWD_COMMAND}`; export r; \
8411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8412 $(HOST_EXPORTS) \
8413 (cd $(HOST_SUBDIR)/fileutils && \
8414 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8415 @endif fileutils
8420 .PHONY: check-fileutils maybe-check-fileutils
8421 maybe-check-fileutils:
8422 @if fileutils
8423 maybe-check-fileutils: check-fileutils
8425 check-fileutils:
8426 @r=`${PWD_COMMAND}`; export r; \
8427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8428 $(HOST_EXPORTS) \
8429 (cd $(HOST_SUBDIR)/fileutils && \
8430 $(MAKE) $(FLAGS_TO_PASS) check)
8432 @endif fileutils
8434 .PHONY: install-fileutils maybe-install-fileutils
8435 maybe-install-fileutils:
8436 @if fileutils
8437 maybe-install-fileutils: install-fileutils
8439 install-fileutils: installdirs
8440 @r=`${PWD_COMMAND}`; export r; \
8441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8442 $(HOST_EXPORTS) \
8443 (cd $(HOST_SUBDIR)/fileutils && \
8444 $(MAKE) $(FLAGS_TO_PASS) install)
8446 @endif fileutils
8448 # Other targets (info, dvi, etc.)
8450 .PHONY: maybe-info-fileutils info-fileutils
8451 maybe-info-fileutils:
8452 @if fileutils
8453 maybe-info-fileutils: info-fileutils
8455 info-fileutils: \
8456 configure-fileutils
8457 @[ -f ./fileutils/Makefile ] || exit 0; \
8458 r=`${PWD_COMMAND}`; export r; \
8459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8460 $(HOST_EXPORTS) \
8461 for flag in $(EXTRA_HOST_FLAGS) ; do \
8462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8463 done; \
8464 echo "Doing info in fileutils" ; \
8465 (cd $(HOST_SUBDIR)/fileutils && \
8466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8468 "RANLIB=$${RANLIB}" \
8469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8470 info) \
8471 || exit 1
8473 @endif fileutils
8475 .PHONY: maybe-dvi-fileutils dvi-fileutils
8476 maybe-dvi-fileutils:
8477 @if fileutils
8478 maybe-dvi-fileutils: dvi-fileutils
8480 dvi-fileutils: \
8481 configure-fileutils
8482 @[ -f ./fileutils/Makefile ] || exit 0; \
8483 r=`${PWD_COMMAND}`; export r; \
8484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8485 $(HOST_EXPORTS) \
8486 for flag in $(EXTRA_HOST_FLAGS) ; do \
8487 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8488 done; \
8489 echo "Doing dvi in fileutils" ; \
8490 (cd $(HOST_SUBDIR)/fileutils && \
8491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8493 "RANLIB=$${RANLIB}" \
8494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8495 dvi) \
8496 || exit 1
8498 @endif fileutils
8500 .PHONY: maybe-html-fileutils html-fileutils
8501 maybe-html-fileutils:
8502 @if fileutils
8503 maybe-html-fileutils: html-fileutils
8505 html-fileutils: \
8506 configure-fileutils
8507 @[ -f ./fileutils/Makefile ] || exit 0; \
8508 r=`${PWD_COMMAND}`; export r; \
8509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8510 $(HOST_EXPORTS) \
8511 for flag in $(EXTRA_HOST_FLAGS) ; do \
8512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8513 done; \
8514 echo "Doing html in fileutils" ; \
8515 (cd $(HOST_SUBDIR)/fileutils && \
8516 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8517 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8518 "RANLIB=$${RANLIB}" \
8519 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8520 html) \
8521 || exit 1
8523 @endif fileutils
8525 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8526 maybe-TAGS-fileutils:
8527 @if fileutils
8528 maybe-TAGS-fileutils: TAGS-fileutils
8530 TAGS-fileutils: \
8531 configure-fileutils
8532 @[ -f ./fileutils/Makefile ] || exit 0; \
8533 r=`${PWD_COMMAND}`; export r; \
8534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8535 $(HOST_EXPORTS) \
8536 for flag in $(EXTRA_HOST_FLAGS) ; do \
8537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8538 done; \
8539 echo "Doing TAGS in fileutils" ; \
8540 (cd $(HOST_SUBDIR)/fileutils && \
8541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8543 "RANLIB=$${RANLIB}" \
8544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8545 TAGS) \
8546 || exit 1
8548 @endif fileutils
8550 .PHONY: maybe-install-info-fileutils install-info-fileutils
8551 maybe-install-info-fileutils:
8552 @if fileutils
8553 maybe-install-info-fileutils: install-info-fileutils
8555 install-info-fileutils: \
8556 configure-fileutils \
8557 info-fileutils
8558 @[ -f ./fileutils/Makefile ] || exit 0; \
8559 r=`${PWD_COMMAND}`; export r; \
8560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8561 $(HOST_EXPORTS) \
8562 for flag in $(EXTRA_HOST_FLAGS) ; do \
8563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8564 done; \
8565 echo "Doing install-info in fileutils" ; \
8566 (cd $(HOST_SUBDIR)/fileutils && \
8567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8569 "RANLIB=$${RANLIB}" \
8570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8571 install-info) \
8572 || exit 1
8574 @endif fileutils
8576 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
8577 maybe-installcheck-fileutils:
8578 @if fileutils
8579 maybe-installcheck-fileutils: installcheck-fileutils
8581 installcheck-fileutils: \
8582 configure-fileutils
8583 @[ -f ./fileutils/Makefile ] || exit 0; \
8584 r=`${PWD_COMMAND}`; export r; \
8585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8586 $(HOST_EXPORTS) \
8587 for flag in $(EXTRA_HOST_FLAGS) ; do \
8588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8589 done; \
8590 echo "Doing installcheck in fileutils" ; \
8591 (cd $(HOST_SUBDIR)/fileutils && \
8592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8594 "RANLIB=$${RANLIB}" \
8595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8596 installcheck) \
8597 || exit 1
8599 @endif fileutils
8601 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
8602 maybe-mostlyclean-fileutils:
8603 @if fileutils
8604 maybe-mostlyclean-fileutils: mostlyclean-fileutils
8606 mostlyclean-fileutils:
8607 @[ -f ./fileutils/Makefile ] || exit 0; \
8608 r=`${PWD_COMMAND}`; export r; \
8609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8610 $(HOST_EXPORTS) \
8611 for flag in $(EXTRA_HOST_FLAGS) ; do \
8612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8613 done; \
8614 echo "Doing mostlyclean in fileutils" ; \
8615 (cd $(HOST_SUBDIR)/fileutils && \
8616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8618 "RANLIB=$${RANLIB}" \
8619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8620 mostlyclean) \
8621 || exit 1
8623 @endif fileutils
8625 .PHONY: maybe-clean-fileutils clean-fileutils
8626 maybe-clean-fileutils:
8627 @if fileutils
8628 maybe-clean-fileutils: clean-fileutils
8630 clean-fileutils:
8631 @[ -f ./fileutils/Makefile ] || exit 0; \
8632 r=`${PWD_COMMAND}`; export r; \
8633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8634 $(HOST_EXPORTS) \
8635 for flag in $(EXTRA_HOST_FLAGS) ; do \
8636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8637 done; \
8638 echo "Doing clean in fileutils" ; \
8639 (cd $(HOST_SUBDIR)/fileutils && \
8640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8642 "RANLIB=$${RANLIB}" \
8643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8644 clean) \
8645 || exit 1
8647 @endif fileutils
8649 .PHONY: maybe-distclean-fileutils distclean-fileutils
8650 maybe-distclean-fileutils:
8651 @if fileutils
8652 maybe-distclean-fileutils: distclean-fileutils
8654 distclean-fileutils:
8655 @[ -f ./fileutils/Makefile ] || exit 0; \
8656 r=`${PWD_COMMAND}`; export r; \
8657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8658 $(HOST_EXPORTS) \
8659 for flag in $(EXTRA_HOST_FLAGS) ; do \
8660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8661 done; \
8662 echo "Doing distclean in fileutils" ; \
8663 (cd $(HOST_SUBDIR)/fileutils && \
8664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8666 "RANLIB=$${RANLIB}" \
8667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8668 distclean) \
8669 || exit 1
8671 @endif fileutils
8673 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
8674 maybe-maintainer-clean-fileutils:
8675 @if fileutils
8676 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
8678 maintainer-clean-fileutils:
8679 @[ -f ./fileutils/Makefile ] || exit 0; \
8680 r=`${PWD_COMMAND}`; export r; \
8681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8682 $(HOST_EXPORTS) \
8683 for flag in $(EXTRA_HOST_FLAGS) ; do \
8684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8685 done; \
8686 echo "Doing maintainer-clean in fileutils" ; \
8687 (cd $(HOST_SUBDIR)/fileutils && \
8688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8690 "RANLIB=$${RANLIB}" \
8691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8692 maintainer-clean) \
8693 || exit 1
8695 @endif fileutils
8699 .PHONY: configure-findutils maybe-configure-findutils
8700 maybe-configure-findutils:
8701 @if findutils
8702 maybe-configure-findutils: configure-findutils
8703 configure-findutils:
8704 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
8705 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
8706 r=`${PWD_COMMAND}`; export r; \
8707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8708 $(HOST_EXPORTS) \
8709 echo Configuring in $(HOST_SUBDIR)/findutils; \
8710 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
8711 case $(srcdir) in \
8712 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8713 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
8714 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8715 esac; \
8716 srcdiroption="--srcdir=$${topdir}/findutils"; \
8717 libsrcdir="$$s/findutils"; \
8718 $(SHELL) $${libsrcdir}/configure \
8719 $(HOST_CONFIGARGS) $${srcdiroption} \
8720 || exit 1
8721 @endif findutils
8727 .PHONY: all-findutils maybe-all-findutils
8728 maybe-all-findutils:
8729 @if findutils
8730 TARGET-findutils=all
8731 maybe-all-findutils: all-findutils
8732 all-findutils: configure-findutils
8733 @r=`${PWD_COMMAND}`; export r; \
8734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8735 $(HOST_EXPORTS) \
8736 (cd $(HOST_SUBDIR)/findutils && \
8737 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
8738 @endif findutils
8743 .PHONY: check-findutils maybe-check-findutils
8744 maybe-check-findutils:
8745 @if findutils
8746 maybe-check-findutils: check-findutils
8748 check-findutils:
8749 @r=`${PWD_COMMAND}`; export r; \
8750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8751 $(HOST_EXPORTS) \
8752 (cd $(HOST_SUBDIR)/findutils && \
8753 $(MAKE) $(FLAGS_TO_PASS) check)
8755 @endif findutils
8757 .PHONY: install-findutils maybe-install-findutils
8758 maybe-install-findutils:
8759 @if findutils
8760 maybe-install-findutils: install-findutils
8762 install-findutils: installdirs
8763 @r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(HOST_EXPORTS) \
8766 (cd $(HOST_SUBDIR)/findutils && \
8767 $(MAKE) $(FLAGS_TO_PASS) install)
8769 @endif findutils
8771 # Other targets (info, dvi, etc.)
8773 .PHONY: maybe-info-findutils info-findutils
8774 maybe-info-findutils:
8775 @if findutils
8776 maybe-info-findutils: info-findutils
8778 info-findutils: \
8779 configure-findutils
8780 @[ -f ./findutils/Makefile ] || exit 0; \
8781 r=`${PWD_COMMAND}`; export r; \
8782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8783 $(HOST_EXPORTS) \
8784 for flag in $(EXTRA_HOST_FLAGS) ; do \
8785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8786 done; \
8787 echo "Doing info in findutils" ; \
8788 (cd $(HOST_SUBDIR)/findutils && \
8789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8791 "RANLIB=$${RANLIB}" \
8792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8793 info) \
8794 || exit 1
8796 @endif findutils
8798 .PHONY: maybe-dvi-findutils dvi-findutils
8799 maybe-dvi-findutils:
8800 @if findutils
8801 maybe-dvi-findutils: dvi-findutils
8803 dvi-findutils: \
8804 configure-findutils
8805 @[ -f ./findutils/Makefile ] || exit 0; \
8806 r=`${PWD_COMMAND}`; export r; \
8807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8808 $(HOST_EXPORTS) \
8809 for flag in $(EXTRA_HOST_FLAGS) ; do \
8810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8811 done; \
8812 echo "Doing dvi in findutils" ; \
8813 (cd $(HOST_SUBDIR)/findutils && \
8814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8816 "RANLIB=$${RANLIB}" \
8817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8818 dvi) \
8819 || exit 1
8821 @endif findutils
8823 .PHONY: maybe-html-findutils html-findutils
8824 maybe-html-findutils:
8825 @if findutils
8826 maybe-html-findutils: html-findutils
8828 html-findutils: \
8829 configure-findutils
8830 @[ -f ./findutils/Makefile ] || exit 0; \
8831 r=`${PWD_COMMAND}`; export r; \
8832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8833 $(HOST_EXPORTS) \
8834 for flag in $(EXTRA_HOST_FLAGS) ; do \
8835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8836 done; \
8837 echo "Doing html in findutils" ; \
8838 (cd $(HOST_SUBDIR)/findutils && \
8839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8841 "RANLIB=$${RANLIB}" \
8842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8843 html) \
8844 || exit 1
8846 @endif findutils
8848 .PHONY: maybe-TAGS-findutils TAGS-findutils
8849 maybe-TAGS-findutils:
8850 @if findutils
8851 maybe-TAGS-findutils: TAGS-findutils
8853 TAGS-findutils: \
8854 configure-findutils
8855 @[ -f ./findutils/Makefile ] || exit 0; \
8856 r=`${PWD_COMMAND}`; export r; \
8857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8858 $(HOST_EXPORTS) \
8859 for flag in $(EXTRA_HOST_FLAGS) ; do \
8860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8861 done; \
8862 echo "Doing TAGS in findutils" ; \
8863 (cd $(HOST_SUBDIR)/findutils && \
8864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8866 "RANLIB=$${RANLIB}" \
8867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8868 TAGS) \
8869 || exit 1
8871 @endif findutils
8873 .PHONY: maybe-install-info-findutils install-info-findutils
8874 maybe-install-info-findutils:
8875 @if findutils
8876 maybe-install-info-findutils: install-info-findutils
8878 install-info-findutils: \
8879 configure-findutils \
8880 info-findutils
8881 @[ -f ./findutils/Makefile ] || exit 0; \
8882 r=`${PWD_COMMAND}`; export r; \
8883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8884 $(HOST_EXPORTS) \
8885 for flag in $(EXTRA_HOST_FLAGS) ; do \
8886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8887 done; \
8888 echo "Doing install-info in findutils" ; \
8889 (cd $(HOST_SUBDIR)/findutils && \
8890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8892 "RANLIB=$${RANLIB}" \
8893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8894 install-info) \
8895 || exit 1
8897 @endif findutils
8899 .PHONY: maybe-installcheck-findutils installcheck-findutils
8900 maybe-installcheck-findutils:
8901 @if findutils
8902 maybe-installcheck-findutils: installcheck-findutils
8904 installcheck-findutils: \
8905 configure-findutils
8906 @[ -f ./findutils/Makefile ] || exit 0; \
8907 r=`${PWD_COMMAND}`; export r; \
8908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8909 $(HOST_EXPORTS) \
8910 for flag in $(EXTRA_HOST_FLAGS) ; do \
8911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8912 done; \
8913 echo "Doing installcheck in findutils" ; \
8914 (cd $(HOST_SUBDIR)/findutils && \
8915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8917 "RANLIB=$${RANLIB}" \
8918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8919 installcheck) \
8920 || exit 1
8922 @endif findutils
8924 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
8925 maybe-mostlyclean-findutils:
8926 @if findutils
8927 maybe-mostlyclean-findutils: mostlyclean-findutils
8929 mostlyclean-findutils:
8930 @[ -f ./findutils/Makefile ] || exit 0; \
8931 r=`${PWD_COMMAND}`; export r; \
8932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8933 $(HOST_EXPORTS) \
8934 for flag in $(EXTRA_HOST_FLAGS) ; do \
8935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8936 done; \
8937 echo "Doing mostlyclean in findutils" ; \
8938 (cd $(HOST_SUBDIR)/findutils && \
8939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8941 "RANLIB=$${RANLIB}" \
8942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8943 mostlyclean) \
8944 || exit 1
8946 @endif findutils
8948 .PHONY: maybe-clean-findutils clean-findutils
8949 maybe-clean-findutils:
8950 @if findutils
8951 maybe-clean-findutils: clean-findutils
8953 clean-findutils:
8954 @[ -f ./findutils/Makefile ] || exit 0; \
8955 r=`${PWD_COMMAND}`; export r; \
8956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8957 $(HOST_EXPORTS) \
8958 for flag in $(EXTRA_HOST_FLAGS) ; do \
8959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8960 done; \
8961 echo "Doing clean in findutils" ; \
8962 (cd $(HOST_SUBDIR)/findutils && \
8963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8965 "RANLIB=$${RANLIB}" \
8966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8967 clean) \
8968 || exit 1
8970 @endif findutils
8972 .PHONY: maybe-distclean-findutils distclean-findutils
8973 maybe-distclean-findutils:
8974 @if findutils
8975 maybe-distclean-findutils: distclean-findutils
8977 distclean-findutils:
8978 @[ -f ./findutils/Makefile ] || exit 0; \
8979 r=`${PWD_COMMAND}`; export r; \
8980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8981 $(HOST_EXPORTS) \
8982 for flag in $(EXTRA_HOST_FLAGS) ; do \
8983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8984 done; \
8985 echo "Doing distclean in findutils" ; \
8986 (cd $(HOST_SUBDIR)/findutils && \
8987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8989 "RANLIB=$${RANLIB}" \
8990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8991 distclean) \
8992 || exit 1
8994 @endif findutils
8996 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8997 maybe-maintainer-clean-findutils:
8998 @if findutils
8999 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9001 maintainer-clean-findutils:
9002 @[ -f ./findutils/Makefile ] || exit 0; \
9003 r=`${PWD_COMMAND}`; export r; \
9004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9005 $(HOST_EXPORTS) \
9006 for flag in $(EXTRA_HOST_FLAGS) ; do \
9007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9008 done; \
9009 echo "Doing maintainer-clean in findutils" ; \
9010 (cd $(HOST_SUBDIR)/findutils && \
9011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9013 "RANLIB=$${RANLIB}" \
9014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9015 maintainer-clean) \
9016 || exit 1
9018 @endif findutils
9022 .PHONY: configure-find maybe-configure-find
9023 maybe-configure-find:
9024 @if find
9025 maybe-configure-find: configure-find
9026 configure-find:
9027 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9028 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9029 r=`${PWD_COMMAND}`; export r; \
9030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9031 $(HOST_EXPORTS) \
9032 echo Configuring in $(HOST_SUBDIR)/find; \
9033 cd "$(HOST_SUBDIR)/find" || exit 1; \
9034 case $(srcdir) in \
9035 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9036 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9037 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9038 esac; \
9039 srcdiroption="--srcdir=$${topdir}/find"; \
9040 libsrcdir="$$s/find"; \
9041 $(SHELL) $${libsrcdir}/configure \
9042 $(HOST_CONFIGARGS) $${srcdiroption} \
9043 || exit 1
9044 @endif find
9050 .PHONY: all-find maybe-all-find
9051 maybe-all-find:
9052 @if find
9053 TARGET-find=all
9054 maybe-all-find: all-find
9055 all-find: configure-find
9056 @r=`${PWD_COMMAND}`; export r; \
9057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9058 $(HOST_EXPORTS) \
9059 (cd $(HOST_SUBDIR)/find && \
9060 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9061 @endif find
9066 .PHONY: check-find maybe-check-find
9067 maybe-check-find:
9068 @if find
9069 maybe-check-find: check-find
9071 check-find:
9072 @r=`${PWD_COMMAND}`; export r; \
9073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9074 $(HOST_EXPORTS) \
9075 (cd $(HOST_SUBDIR)/find && \
9076 $(MAKE) $(FLAGS_TO_PASS) check)
9078 @endif find
9080 .PHONY: install-find maybe-install-find
9081 maybe-install-find:
9082 @if find
9083 maybe-install-find: install-find
9085 install-find: installdirs
9086 @r=`${PWD_COMMAND}`; export r; \
9087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9088 $(HOST_EXPORTS) \
9089 (cd $(HOST_SUBDIR)/find && \
9090 $(MAKE) $(FLAGS_TO_PASS) install)
9092 @endif find
9094 # Other targets (info, dvi, etc.)
9096 .PHONY: maybe-info-find info-find
9097 maybe-info-find:
9098 @if find
9099 maybe-info-find: info-find
9101 info-find: \
9102 configure-find
9103 @[ -f ./find/Makefile ] || exit 0; \
9104 r=`${PWD_COMMAND}`; export r; \
9105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9106 $(HOST_EXPORTS) \
9107 for flag in $(EXTRA_HOST_FLAGS) ; do \
9108 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9109 done; \
9110 echo "Doing info in find" ; \
9111 (cd $(HOST_SUBDIR)/find && \
9112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9114 "RANLIB=$${RANLIB}" \
9115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9116 info) \
9117 || exit 1
9119 @endif find
9121 .PHONY: maybe-dvi-find dvi-find
9122 maybe-dvi-find:
9123 @if find
9124 maybe-dvi-find: dvi-find
9126 dvi-find: \
9127 configure-find
9128 @[ -f ./find/Makefile ] || exit 0; \
9129 r=`${PWD_COMMAND}`; export r; \
9130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9131 $(HOST_EXPORTS) \
9132 for flag in $(EXTRA_HOST_FLAGS) ; do \
9133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9134 done; \
9135 echo "Doing dvi in find" ; \
9136 (cd $(HOST_SUBDIR)/find && \
9137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9139 "RANLIB=$${RANLIB}" \
9140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9141 dvi) \
9142 || exit 1
9144 @endif find
9146 .PHONY: maybe-html-find html-find
9147 maybe-html-find:
9148 @if find
9149 maybe-html-find: html-find
9151 html-find: \
9152 configure-find
9153 @[ -f ./find/Makefile ] || exit 0; \
9154 r=`${PWD_COMMAND}`; export r; \
9155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9156 $(HOST_EXPORTS) \
9157 for flag in $(EXTRA_HOST_FLAGS) ; do \
9158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9159 done; \
9160 echo "Doing html in find" ; \
9161 (cd $(HOST_SUBDIR)/find && \
9162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9164 "RANLIB=$${RANLIB}" \
9165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9166 html) \
9167 || exit 1
9169 @endif find
9171 .PHONY: maybe-TAGS-find TAGS-find
9172 maybe-TAGS-find:
9173 @if find
9174 maybe-TAGS-find: TAGS-find
9176 TAGS-find: \
9177 configure-find
9178 @[ -f ./find/Makefile ] || exit 0; \
9179 r=`${PWD_COMMAND}`; export r; \
9180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9181 $(HOST_EXPORTS) \
9182 for flag in $(EXTRA_HOST_FLAGS) ; do \
9183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9184 done; \
9185 echo "Doing TAGS in find" ; \
9186 (cd $(HOST_SUBDIR)/find && \
9187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9189 "RANLIB=$${RANLIB}" \
9190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9191 TAGS) \
9192 || exit 1
9194 @endif find
9196 .PHONY: maybe-install-info-find install-info-find
9197 maybe-install-info-find:
9198 @if find
9199 maybe-install-info-find: install-info-find
9201 install-info-find: \
9202 configure-find \
9203 info-find
9204 @[ -f ./find/Makefile ] || exit 0; \
9205 r=`${PWD_COMMAND}`; export r; \
9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207 $(HOST_EXPORTS) \
9208 for flag in $(EXTRA_HOST_FLAGS) ; do \
9209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9210 done; \
9211 echo "Doing install-info in find" ; \
9212 (cd $(HOST_SUBDIR)/find && \
9213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9215 "RANLIB=$${RANLIB}" \
9216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9217 install-info) \
9218 || exit 1
9220 @endif find
9222 .PHONY: maybe-installcheck-find installcheck-find
9223 maybe-installcheck-find:
9224 @if find
9225 maybe-installcheck-find: installcheck-find
9227 installcheck-find: \
9228 configure-find
9229 @[ -f ./find/Makefile ] || exit 0; \
9230 r=`${PWD_COMMAND}`; export r; \
9231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9232 $(HOST_EXPORTS) \
9233 for flag in $(EXTRA_HOST_FLAGS) ; do \
9234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9235 done; \
9236 echo "Doing installcheck in find" ; \
9237 (cd $(HOST_SUBDIR)/find && \
9238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9240 "RANLIB=$${RANLIB}" \
9241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9242 installcheck) \
9243 || exit 1
9245 @endif find
9247 .PHONY: maybe-mostlyclean-find mostlyclean-find
9248 maybe-mostlyclean-find:
9249 @if find
9250 maybe-mostlyclean-find: mostlyclean-find
9252 mostlyclean-find:
9253 @[ -f ./find/Makefile ] || exit 0; \
9254 r=`${PWD_COMMAND}`; export r; \
9255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9256 $(HOST_EXPORTS) \
9257 for flag in $(EXTRA_HOST_FLAGS) ; do \
9258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9259 done; \
9260 echo "Doing mostlyclean in find" ; \
9261 (cd $(HOST_SUBDIR)/find && \
9262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9264 "RANLIB=$${RANLIB}" \
9265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9266 mostlyclean) \
9267 || exit 1
9269 @endif find
9271 .PHONY: maybe-clean-find clean-find
9272 maybe-clean-find:
9273 @if find
9274 maybe-clean-find: clean-find
9276 clean-find:
9277 @[ -f ./find/Makefile ] || exit 0; \
9278 r=`${PWD_COMMAND}`; export r; \
9279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9280 $(HOST_EXPORTS) \
9281 for flag in $(EXTRA_HOST_FLAGS) ; do \
9282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9283 done; \
9284 echo "Doing clean in find" ; \
9285 (cd $(HOST_SUBDIR)/find && \
9286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9288 "RANLIB=$${RANLIB}" \
9289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9290 clean) \
9291 || exit 1
9293 @endif find
9295 .PHONY: maybe-distclean-find distclean-find
9296 maybe-distclean-find:
9297 @if find
9298 maybe-distclean-find: distclean-find
9300 distclean-find:
9301 @[ -f ./find/Makefile ] || exit 0; \
9302 r=`${PWD_COMMAND}`; export r; \
9303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9304 $(HOST_EXPORTS) \
9305 for flag in $(EXTRA_HOST_FLAGS) ; do \
9306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9307 done; \
9308 echo "Doing distclean in find" ; \
9309 (cd $(HOST_SUBDIR)/find && \
9310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9312 "RANLIB=$${RANLIB}" \
9313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9314 distclean) \
9315 || exit 1
9317 @endif find
9319 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9320 maybe-maintainer-clean-find:
9321 @if find
9322 maybe-maintainer-clean-find: maintainer-clean-find
9324 maintainer-clean-find:
9325 @[ -f ./find/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 for flag in $(EXTRA_HOST_FLAGS) ; do \
9330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 done; \
9332 echo "Doing maintainer-clean in find" ; \
9333 (cd $(HOST_SUBDIR)/find && \
9334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9336 "RANLIB=$${RANLIB}" \
9337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9338 maintainer-clean) \
9339 || exit 1
9341 @endif find
9345 .PHONY: configure-fixincludes maybe-configure-fixincludes
9346 maybe-configure-fixincludes:
9347 @if fixincludes
9348 maybe-configure-fixincludes: configure-fixincludes
9349 configure-fixincludes:
9350 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9351 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9356 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9357 case $(srcdir) in \
9358 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9359 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9360 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9361 esac; \
9362 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9363 libsrcdir="$$s/fixincludes"; \
9364 $(SHELL) $${libsrcdir}/configure \
9365 $(HOST_CONFIGARGS) $${srcdiroption} \
9366 || exit 1
9367 @endif fixincludes
9373 .PHONY: all-fixincludes maybe-all-fixincludes
9374 maybe-all-fixincludes:
9375 @if fixincludes
9376 TARGET-fixincludes=all
9377 maybe-all-fixincludes: all-fixincludes
9378 all-fixincludes: configure-fixincludes
9379 @r=`${PWD_COMMAND}`; export r; \
9380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9381 $(HOST_EXPORTS) \
9382 (cd $(HOST_SUBDIR)/fixincludes && \
9383 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9384 @endif fixincludes
9389 .PHONY: check-fixincludes maybe-check-fixincludes
9390 maybe-check-fixincludes:
9391 @if fixincludes
9392 maybe-check-fixincludes: check-fixincludes
9394 check-fixincludes:
9395 @r=`${PWD_COMMAND}`; export r; \
9396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9397 $(HOST_EXPORTS) \
9398 (cd $(HOST_SUBDIR)/fixincludes && \
9399 $(MAKE) $(FLAGS_TO_PASS) check)
9401 @endif fixincludes
9403 .PHONY: install-fixincludes maybe-install-fixincludes
9404 maybe-install-fixincludes:
9405 @if fixincludes
9406 maybe-install-fixincludes: install-fixincludes
9408 install-fixincludes: installdirs
9409 @r=`${PWD_COMMAND}`; export r; \
9410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9411 $(HOST_EXPORTS) \
9412 (cd $(HOST_SUBDIR)/fixincludes && \
9413 $(MAKE) $(FLAGS_TO_PASS) install)
9415 @endif fixincludes
9417 # Other targets (info, dvi, etc.)
9419 .PHONY: maybe-info-fixincludes info-fixincludes
9420 maybe-info-fixincludes:
9421 @if fixincludes
9422 maybe-info-fixincludes: info-fixincludes
9424 # fixincludes doesn't support info.
9425 info-fixincludes:
9427 @endif fixincludes
9429 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9430 maybe-dvi-fixincludes:
9431 @if fixincludes
9432 maybe-dvi-fixincludes: dvi-fixincludes
9434 # fixincludes doesn't support dvi.
9435 dvi-fixincludes:
9437 @endif fixincludes
9439 .PHONY: maybe-html-fixincludes html-fixincludes
9440 maybe-html-fixincludes:
9441 @if fixincludes
9442 maybe-html-fixincludes: html-fixincludes
9444 html-fixincludes: \
9445 configure-fixincludes
9446 @[ -f ./fixincludes/Makefile ] || exit 0; \
9447 r=`${PWD_COMMAND}`; export r; \
9448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9449 $(HOST_EXPORTS) \
9450 for flag in $(EXTRA_HOST_FLAGS) ; do \
9451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9452 done; \
9453 echo "Doing html in fixincludes" ; \
9454 (cd $(HOST_SUBDIR)/fixincludes && \
9455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9457 "RANLIB=$${RANLIB}" \
9458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9459 html) \
9460 || exit 1
9462 @endif fixincludes
9464 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9465 maybe-TAGS-fixincludes:
9466 @if fixincludes
9467 maybe-TAGS-fixincludes: TAGS-fixincludes
9469 # fixincludes doesn't support TAGS.
9470 TAGS-fixincludes:
9472 @endif fixincludes
9474 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9475 maybe-install-info-fixincludes:
9476 @if fixincludes
9477 maybe-install-info-fixincludes: install-info-fixincludes
9479 # fixincludes doesn't support install-info.
9480 install-info-fixincludes:
9482 @endif fixincludes
9484 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9485 maybe-installcheck-fixincludes:
9486 @if fixincludes
9487 maybe-installcheck-fixincludes: installcheck-fixincludes
9489 # fixincludes doesn't support installcheck.
9490 installcheck-fixincludes:
9492 @endif fixincludes
9494 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9495 maybe-mostlyclean-fixincludes:
9496 @if fixincludes
9497 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9499 mostlyclean-fixincludes:
9500 @[ -f ./fixincludes/Makefile ] || exit 0; \
9501 r=`${PWD_COMMAND}`; export r; \
9502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9503 $(HOST_EXPORTS) \
9504 for flag in $(EXTRA_HOST_FLAGS) ; do \
9505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9506 done; \
9507 echo "Doing mostlyclean in fixincludes" ; \
9508 (cd $(HOST_SUBDIR)/fixincludes && \
9509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9511 "RANLIB=$${RANLIB}" \
9512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9513 mostlyclean) \
9514 || exit 1
9516 @endif fixincludes
9518 .PHONY: maybe-clean-fixincludes clean-fixincludes
9519 maybe-clean-fixincludes:
9520 @if fixincludes
9521 maybe-clean-fixincludes: clean-fixincludes
9523 clean-fixincludes:
9524 @[ -f ./fixincludes/Makefile ] || exit 0; \
9525 r=`${PWD_COMMAND}`; export r; \
9526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9527 $(HOST_EXPORTS) \
9528 for flag in $(EXTRA_HOST_FLAGS) ; do \
9529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9530 done; \
9531 echo "Doing clean in fixincludes" ; \
9532 (cd $(HOST_SUBDIR)/fixincludes && \
9533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9535 "RANLIB=$${RANLIB}" \
9536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9537 clean) \
9538 || exit 1
9540 @endif fixincludes
9542 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
9543 maybe-distclean-fixincludes:
9544 @if fixincludes
9545 maybe-distclean-fixincludes: distclean-fixincludes
9547 distclean-fixincludes:
9548 @[ -f ./fixincludes/Makefile ] || exit 0; \
9549 r=`${PWD_COMMAND}`; export r; \
9550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9551 $(HOST_EXPORTS) \
9552 for flag in $(EXTRA_HOST_FLAGS) ; do \
9553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9554 done; \
9555 echo "Doing distclean in fixincludes" ; \
9556 (cd $(HOST_SUBDIR)/fixincludes && \
9557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9559 "RANLIB=$${RANLIB}" \
9560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9561 distclean) \
9562 || exit 1
9564 @endif fixincludes
9566 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
9567 maybe-maintainer-clean-fixincludes:
9568 @if fixincludes
9569 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
9571 maintainer-clean-fixincludes:
9572 @[ -f ./fixincludes/Makefile ] || exit 0; \
9573 r=`${PWD_COMMAND}`; export r; \
9574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9575 $(HOST_EXPORTS) \
9576 for flag in $(EXTRA_HOST_FLAGS) ; do \
9577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9578 done; \
9579 echo "Doing maintainer-clean in fixincludes" ; \
9580 (cd $(HOST_SUBDIR)/fixincludes && \
9581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9583 "RANLIB=$${RANLIB}" \
9584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9585 maintainer-clean) \
9586 || exit 1
9588 @endif fixincludes
9592 .PHONY: configure-flex maybe-configure-flex
9593 maybe-configure-flex:
9594 @if flex
9595 maybe-configure-flex: configure-flex
9596 configure-flex:
9597 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
9598 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
9599 r=`${PWD_COMMAND}`; export r; \
9600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9601 $(HOST_EXPORTS) \
9602 echo Configuring in $(HOST_SUBDIR)/flex; \
9603 cd "$(HOST_SUBDIR)/flex" || exit 1; \
9604 case $(srcdir) in \
9605 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9606 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
9607 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9608 esac; \
9609 srcdiroption="--srcdir=$${topdir}/flex"; \
9610 libsrcdir="$$s/flex"; \
9611 $(SHELL) $${libsrcdir}/configure \
9612 $(HOST_CONFIGARGS) $${srcdiroption} \
9613 || exit 1
9614 @endif flex
9620 .PHONY: all-flex maybe-all-flex
9621 maybe-all-flex:
9622 @if flex
9623 TARGET-flex=all
9624 maybe-all-flex: all-flex
9625 all-flex: configure-flex
9626 @r=`${PWD_COMMAND}`; export r; \
9627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9628 $(HOST_EXPORTS) \
9629 (cd $(HOST_SUBDIR)/flex && \
9630 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
9631 @endif flex
9636 .PHONY: check-flex maybe-check-flex
9637 maybe-check-flex:
9638 @if flex
9639 maybe-check-flex: check-flex
9641 # This module is only tested in a native toolchain.
9642 check-flex:
9643 @if [ '$(host)' = '$(target)' ] ; then \
9644 r=`${PWD_COMMAND}`; export r; \
9645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9646 $(HOST_EXPORTS) \
9647 (cd $(HOST_SUBDIR)/flex && \
9648 $(MAKE) $(FLAGS_TO_PASS) check); \
9651 @endif flex
9653 .PHONY: install-flex maybe-install-flex
9654 maybe-install-flex:
9655 @if flex
9656 maybe-install-flex: install-flex
9658 install-flex: installdirs
9659 @r=`${PWD_COMMAND}`; export r; \
9660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9661 $(HOST_EXPORTS) \
9662 (cd $(HOST_SUBDIR)/flex && \
9663 $(MAKE) $(FLAGS_TO_PASS) install)
9665 @endif flex
9667 # Other targets (info, dvi, etc.)
9669 .PHONY: maybe-info-flex info-flex
9670 maybe-info-flex:
9671 @if flex
9672 maybe-info-flex: info-flex
9674 info-flex: \
9675 configure-flex
9676 @[ -f ./flex/Makefile ] || exit 0; \
9677 r=`${PWD_COMMAND}`; export r; \
9678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9679 $(HOST_EXPORTS) \
9680 for flag in $(EXTRA_HOST_FLAGS) ; do \
9681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9682 done; \
9683 echo "Doing info in flex" ; \
9684 (cd $(HOST_SUBDIR)/flex && \
9685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9687 "RANLIB=$${RANLIB}" \
9688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9689 info) \
9690 || exit 1
9692 @endif flex
9694 .PHONY: maybe-dvi-flex dvi-flex
9695 maybe-dvi-flex:
9696 @if flex
9697 maybe-dvi-flex: dvi-flex
9699 dvi-flex: \
9700 configure-flex
9701 @[ -f ./flex/Makefile ] || exit 0; \
9702 r=`${PWD_COMMAND}`; export r; \
9703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9704 $(HOST_EXPORTS) \
9705 for flag in $(EXTRA_HOST_FLAGS) ; do \
9706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9707 done; \
9708 echo "Doing dvi in flex" ; \
9709 (cd $(HOST_SUBDIR)/flex && \
9710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9712 "RANLIB=$${RANLIB}" \
9713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9714 dvi) \
9715 || exit 1
9717 @endif flex
9719 .PHONY: maybe-html-flex html-flex
9720 maybe-html-flex:
9721 @if flex
9722 maybe-html-flex: html-flex
9724 html-flex: \
9725 configure-flex
9726 @[ -f ./flex/Makefile ] || exit 0; \
9727 r=`${PWD_COMMAND}`; export r; \
9728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9729 $(HOST_EXPORTS) \
9730 for flag in $(EXTRA_HOST_FLAGS) ; do \
9731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9732 done; \
9733 echo "Doing html in flex" ; \
9734 (cd $(HOST_SUBDIR)/flex && \
9735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9737 "RANLIB=$${RANLIB}" \
9738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9739 html) \
9740 || exit 1
9742 @endif flex
9744 .PHONY: maybe-TAGS-flex TAGS-flex
9745 maybe-TAGS-flex:
9746 @if flex
9747 maybe-TAGS-flex: TAGS-flex
9749 TAGS-flex: \
9750 configure-flex
9751 @[ -f ./flex/Makefile ] || exit 0; \
9752 r=`${PWD_COMMAND}`; export r; \
9753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9754 $(HOST_EXPORTS) \
9755 for flag in $(EXTRA_HOST_FLAGS) ; do \
9756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9757 done; \
9758 echo "Doing TAGS in flex" ; \
9759 (cd $(HOST_SUBDIR)/flex && \
9760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9762 "RANLIB=$${RANLIB}" \
9763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9764 TAGS) \
9765 || exit 1
9767 @endif flex
9769 .PHONY: maybe-install-info-flex install-info-flex
9770 maybe-install-info-flex:
9771 @if flex
9772 maybe-install-info-flex: install-info-flex
9774 install-info-flex: \
9775 configure-flex \
9776 info-flex
9777 @[ -f ./flex/Makefile ] || exit 0; \
9778 r=`${PWD_COMMAND}`; export r; \
9779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9780 $(HOST_EXPORTS) \
9781 for flag in $(EXTRA_HOST_FLAGS) ; do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 done; \
9784 echo "Doing install-info in flex" ; \
9785 (cd $(HOST_SUBDIR)/flex && \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9790 install-info) \
9791 || exit 1
9793 @endif flex
9795 .PHONY: maybe-installcheck-flex installcheck-flex
9796 maybe-installcheck-flex:
9797 @if flex
9798 maybe-installcheck-flex: installcheck-flex
9800 installcheck-flex: \
9801 configure-flex
9802 @[ -f ./flex/Makefile ] || exit 0; \
9803 r=`${PWD_COMMAND}`; export r; \
9804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9805 $(HOST_EXPORTS) \
9806 for flag in $(EXTRA_HOST_FLAGS) ; do \
9807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9808 done; \
9809 echo "Doing installcheck in flex" ; \
9810 (cd $(HOST_SUBDIR)/flex && \
9811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9813 "RANLIB=$${RANLIB}" \
9814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9815 installcheck) \
9816 || exit 1
9818 @endif flex
9820 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
9821 maybe-mostlyclean-flex:
9822 @if flex
9823 maybe-mostlyclean-flex: mostlyclean-flex
9825 mostlyclean-flex:
9826 @[ -f ./flex/Makefile ] || exit 0; \
9827 r=`${PWD_COMMAND}`; export r; \
9828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9829 $(HOST_EXPORTS) \
9830 for flag in $(EXTRA_HOST_FLAGS) ; do \
9831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9832 done; \
9833 echo "Doing mostlyclean in flex" ; \
9834 (cd $(HOST_SUBDIR)/flex && \
9835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9837 "RANLIB=$${RANLIB}" \
9838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9839 mostlyclean) \
9840 || exit 1
9842 @endif flex
9844 .PHONY: maybe-clean-flex clean-flex
9845 maybe-clean-flex:
9846 @if flex
9847 maybe-clean-flex: clean-flex
9849 clean-flex:
9850 @[ -f ./flex/Makefile ] || exit 0; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 for flag in $(EXTRA_HOST_FLAGS) ; do \
9855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9856 done; \
9857 echo "Doing clean in flex" ; \
9858 (cd $(HOST_SUBDIR)/flex && \
9859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9861 "RANLIB=$${RANLIB}" \
9862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9863 clean) \
9864 || exit 1
9866 @endif flex
9868 .PHONY: maybe-distclean-flex distclean-flex
9869 maybe-distclean-flex:
9870 @if flex
9871 maybe-distclean-flex: distclean-flex
9873 distclean-flex:
9874 @[ -f ./flex/Makefile ] || exit 0; \
9875 r=`${PWD_COMMAND}`; export r; \
9876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9877 $(HOST_EXPORTS) \
9878 for flag in $(EXTRA_HOST_FLAGS) ; do \
9879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9880 done; \
9881 echo "Doing distclean in flex" ; \
9882 (cd $(HOST_SUBDIR)/flex && \
9883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9885 "RANLIB=$${RANLIB}" \
9886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9887 distclean) \
9888 || exit 1
9890 @endif flex
9892 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
9893 maybe-maintainer-clean-flex:
9894 @if flex
9895 maybe-maintainer-clean-flex: maintainer-clean-flex
9897 maintainer-clean-flex:
9898 @[ -f ./flex/Makefile ] || exit 0; \
9899 r=`${PWD_COMMAND}`; export r; \
9900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9901 $(HOST_EXPORTS) \
9902 for flag in $(EXTRA_HOST_FLAGS) ; do \
9903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9904 done; \
9905 echo "Doing maintainer-clean in flex" ; \
9906 (cd $(HOST_SUBDIR)/flex && \
9907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9909 "RANLIB=$${RANLIB}" \
9910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9911 maintainer-clean) \
9912 || exit 1
9914 @endif flex
9918 .PHONY: configure-gas maybe-configure-gas
9919 maybe-configure-gas:
9920 @if gas
9921 maybe-configure-gas: configure-gas
9922 configure-gas:
9923 @test -f stage_last && exit 0; \
9924 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
9925 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
9926 r=`${PWD_COMMAND}`; export r; \
9927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9928 $(HOST_EXPORTS) \
9929 echo Configuring in $(HOST_SUBDIR)/gas; \
9930 cd "$(HOST_SUBDIR)/gas" || exit 1; \
9931 case $(srcdir) in \
9932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9933 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9935 esac; \
9936 srcdiroption="--srcdir=$${topdir}/gas"; \
9937 libsrcdir="$$s/gas"; \
9938 $(SHELL) $${libsrcdir}/configure \
9939 $(HOST_CONFIGARGS) $${srcdiroption} \
9940 || exit 1
9941 @endif gas
9945 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
9946 maybe-configure-stage1-gas:
9947 @if gas-bootstrap
9948 maybe-configure-stage1-gas: configure-stage1-gas
9949 configure-stage1-gas:
9950 @$(MAKE) stage1-start
9951 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9952 r=`${PWD_COMMAND}`; export r; \
9953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9954 $(HOST_EXPORTS) \
9955 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
9956 cd $(HOST_SUBDIR)/gas || exit 1; \
9957 case $(srcdir) in \
9958 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9959 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9960 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9961 esac; \
9962 srcdiroption="--srcdir=$${topdir}/gas"; \
9963 libsrcdir="$$s/gas"; \
9964 $(SHELL) $${libsrcdir}/configure \
9965 $(HOST_CONFIGARGS) $${srcdiroption} \
9966 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
9967 @endif gas-bootstrap
9969 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
9970 maybe-configure-stage2-gas:
9971 @if gas-bootstrap
9972 maybe-configure-stage2-gas: configure-stage2-gas
9973 configure-stage2-gas:
9974 @$(MAKE) stage2-start
9975 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
9976 r=`${PWD_COMMAND}`; export r; \
9977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9978 $(HOST_EXPORTS) \
9979 $(POSTSTAGE1_HOST_EXPORTS) \
9980 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
9981 cd $(HOST_SUBDIR)/gas || exit 1; \
9982 case $(srcdir) in \
9983 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9984 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
9985 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9986 esac; \
9987 srcdiroption="--srcdir=$${topdir}/gas"; \
9988 libsrcdir="$$s/gas"; \
9989 $(SHELL) $${libsrcdir}/configure \
9990 $(HOST_CONFIGARGS) $${srcdiroption} \
9991 @stage2_werror_flag@
9992 @endif gas-bootstrap
9994 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
9995 maybe-configure-stage3-gas:
9996 @if gas-bootstrap
9997 maybe-configure-stage3-gas: configure-stage3-gas
9998 configure-stage3-gas:
9999 @$(MAKE) stage3-start
10000 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10001 r=`${PWD_COMMAND}`; export r; \
10002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10003 $(HOST_EXPORTS) \
10004 $(POSTSTAGE1_HOST_EXPORTS) \
10005 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10006 cd $(HOST_SUBDIR)/gas || exit 1; \
10007 case $(srcdir) in \
10008 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10009 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10010 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10011 esac; \
10012 srcdiroption="--srcdir=$${topdir}/gas"; \
10013 libsrcdir="$$s/gas"; \
10014 $(SHELL) $${libsrcdir}/configure \
10015 $(HOST_CONFIGARGS) $${srcdiroption} \
10016 @stage2_werror_flag@
10017 @endif gas-bootstrap
10019 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10020 maybe-configure-stage4-gas:
10021 @if gas-bootstrap
10022 maybe-configure-stage4-gas: configure-stage4-gas
10023 configure-stage4-gas:
10024 @$(MAKE) stage4-start
10025 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10026 r=`${PWD_COMMAND}`; export r; \
10027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10028 $(HOST_EXPORTS) \
10029 $(POSTSTAGE1_HOST_EXPORTS) \
10030 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10031 cd $(HOST_SUBDIR)/gas || exit 1; \
10032 case $(srcdir) in \
10033 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10034 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10035 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10036 esac; \
10037 srcdiroption="--srcdir=$${topdir}/gas"; \
10038 libsrcdir="$$s/gas"; \
10039 $(SHELL) $${libsrcdir}/configure \
10040 $(HOST_CONFIGARGS) $${srcdiroption} \
10041 @stage2_werror_flag@
10042 @endif gas-bootstrap
10044 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10045 maybe-configure-stageprofile-gas:
10046 @if gas-bootstrap
10047 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10048 configure-stageprofile-gas:
10049 @$(MAKE) stageprofile-start
10050 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10051 r=`${PWD_COMMAND}`; export r; \
10052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10053 $(HOST_EXPORTS) \
10054 $(POSTSTAGE1_HOST_EXPORTS) \
10055 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10056 cd $(HOST_SUBDIR)/gas || exit 1; \
10057 case $(srcdir) in \
10058 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10059 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10060 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10061 esac; \
10062 srcdiroption="--srcdir=$${topdir}/gas"; \
10063 libsrcdir="$$s/gas"; \
10064 $(SHELL) $${libsrcdir}/configure \
10065 $(HOST_CONFIGARGS) $${srcdiroption} \
10066 @stage2_werror_flag@
10067 @endif gas-bootstrap
10069 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10070 maybe-configure-stagefeedback-gas:
10071 @if gas-bootstrap
10072 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10073 configure-stagefeedback-gas:
10074 @$(MAKE) stagefeedback-start
10075 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10076 r=`${PWD_COMMAND}`; export r; \
10077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10078 $(HOST_EXPORTS) \
10079 $(POSTSTAGE1_HOST_EXPORTS) \
10080 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10081 cd $(HOST_SUBDIR)/gas || exit 1; \
10082 case $(srcdir) in \
10083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10084 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10086 esac; \
10087 srcdiroption="--srcdir=$${topdir}/gas"; \
10088 libsrcdir="$$s/gas"; \
10089 $(SHELL) $${libsrcdir}/configure \
10090 $(HOST_CONFIGARGS) $${srcdiroption} \
10091 @stage2_werror_flag@
10092 @endif gas-bootstrap
10098 .PHONY: all-gas maybe-all-gas
10099 maybe-all-gas:
10100 @if gas
10101 TARGET-gas=all
10102 maybe-all-gas: all-gas
10103 all-gas: configure-gas
10104 @test -f stage_last && exit 0; \
10105 r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(HOST_EXPORTS) \
10108 (cd $(HOST_SUBDIR)/gas && \
10109 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10110 @endif gas
10114 .PHONY: all-stage1-gas maybe-all-stage1-gas
10115 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10116 maybe-all-stage1-gas:
10117 maybe-clean-stage1-gas:
10118 @if gas-bootstrap
10119 maybe-all-stage1-gas: all-stage1-gas
10120 all-stage1: all-stage1-gas
10121 all-stage1-gas: configure-stage1-gas
10122 @$(MAKE) stage1-start
10123 @r=`${PWD_COMMAND}`; export r; \
10124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10125 $(HOST_EXPORTS) \
10126 cd $(HOST_SUBDIR)/gas && \
10127 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
10129 maybe-clean-stage1-gas: clean-stage1-gas
10130 clean-stage1: clean-stage1-gas
10131 clean-stage1-gas:
10132 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10133 || exit 0 ; \
10134 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage1-start ; \
10135 cd $(HOST_SUBDIR)/gas && \
10136 $(MAKE) $(FLAGS_TO_PASS) \
10137 CFLAGS="$(STAGE1_CFLAGS)" clean
10138 @endif gas-bootstrap
10141 .PHONY: all-stage2-gas maybe-all-stage2-gas
10142 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10143 maybe-all-stage2-gas:
10144 maybe-clean-stage2-gas:
10145 @if gas-bootstrap
10146 maybe-all-stage2-gas: all-stage2-gas
10147 all-stage2: all-stage2-gas
10148 all-stage2-gas: configure-stage2-gas
10149 @$(MAKE) stage2-start
10150 @r=`${PWD_COMMAND}`; export r; \
10151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10152 $(HOST_EXPORTS) \
10153 $(POSTSTAGE1_HOST_EXPORTS) \
10154 cd $(HOST_SUBDIR)/gas && \
10155 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10157 maybe-clean-stage2-gas: clean-stage2-gas
10158 clean-stage2: clean-stage2-gas
10159 clean-stage2-gas:
10160 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10161 || exit 0 ; \
10162 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage2-start ; \
10163 cd $(HOST_SUBDIR)/gas && \
10164 $(MAKE) $(FLAGS_TO_PASS) \
10165 $(POSTSTAGE1_FLAGS_TO_PASS) \
10166 clean
10167 @endif gas-bootstrap
10170 .PHONY: all-stage3-gas maybe-all-stage3-gas
10171 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10172 maybe-all-stage3-gas:
10173 maybe-clean-stage3-gas:
10174 @if gas-bootstrap
10175 maybe-all-stage3-gas: all-stage3-gas
10176 all-stage3: all-stage3-gas
10177 all-stage3-gas: configure-stage3-gas
10178 @$(MAKE) stage3-start
10179 @r=`${PWD_COMMAND}`; export r; \
10180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10181 $(HOST_EXPORTS) \
10182 $(POSTSTAGE1_HOST_EXPORTS) \
10183 cd $(HOST_SUBDIR)/gas && \
10184 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10186 maybe-clean-stage3-gas: clean-stage3-gas
10187 clean-stage3: clean-stage3-gas
10188 clean-stage3-gas:
10189 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10190 || exit 0 ; \
10191 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage3-start ; \
10192 cd $(HOST_SUBDIR)/gas && \
10193 $(MAKE) $(FLAGS_TO_PASS) \
10194 $(POSTSTAGE1_FLAGS_TO_PASS) \
10195 clean
10196 @endif gas-bootstrap
10199 .PHONY: all-stage4-gas maybe-all-stage4-gas
10200 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10201 maybe-all-stage4-gas:
10202 maybe-clean-stage4-gas:
10203 @if gas-bootstrap
10204 maybe-all-stage4-gas: all-stage4-gas
10205 all-stage4: all-stage4-gas
10206 all-stage4-gas: configure-stage4-gas
10207 @$(MAKE) stage4-start
10208 @r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 $(HOST_EXPORTS) \
10211 $(POSTSTAGE1_HOST_EXPORTS) \
10212 cd $(HOST_SUBDIR)/gas && \
10213 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
10215 maybe-clean-stage4-gas: clean-stage4-gas
10216 clean-stage4: clean-stage4-gas
10217 clean-stage4-gas:
10218 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10219 || exit 0 ; \
10220 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stage4-start ; \
10221 cd $(HOST_SUBDIR)/gas && \
10222 $(MAKE) $(FLAGS_TO_PASS) \
10223 $(POSTSTAGE1_FLAGS_TO_PASS) \
10224 clean
10225 @endif gas-bootstrap
10228 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10229 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10230 maybe-all-stageprofile-gas:
10231 maybe-clean-stageprofile-gas:
10232 @if gas-bootstrap
10233 maybe-all-stageprofile-gas: all-stageprofile-gas
10234 all-stageprofile: all-stageprofile-gas
10235 all-stageprofile-gas: configure-stageprofile-gas
10236 @$(MAKE) stageprofile-start
10237 @r=`${PWD_COMMAND}`; export r; \
10238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10239 $(HOST_EXPORTS) \
10240 $(POSTSTAGE1_HOST_EXPORTS) \
10241 cd $(HOST_SUBDIR)/gas && \
10242 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
10244 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10245 clean-stageprofile: clean-stageprofile-gas
10246 clean-stageprofile-gas:
10247 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10248 || exit 0 ; \
10249 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stageprofile-start ; \
10250 cd $(HOST_SUBDIR)/gas && \
10251 $(MAKE) $(FLAGS_TO_PASS) \
10252 $(POSTSTAGE1_FLAGS_TO_PASS) \
10253 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10254 @endif gas-bootstrap
10257 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10258 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10259 maybe-all-stagefeedback-gas:
10260 maybe-clean-stagefeedback-gas:
10261 @if gas-bootstrap
10262 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10263 all-stagefeedback: all-stagefeedback-gas
10264 all-stagefeedback-gas: configure-stagefeedback-gas
10265 @$(MAKE) stagefeedback-start
10266 @r=`${PWD_COMMAND}`; export r; \
10267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10268 $(HOST_EXPORTS) \
10269 $(POSTSTAGE1_HOST_EXPORTS) \
10270 cd $(HOST_SUBDIR)/gas && \
10271 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
10273 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10274 clean-stagefeedback: clean-stagefeedback-gas
10275 clean-stagefeedback-gas:
10276 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10277 || exit 0 ; \
10278 [ -f $(HOST_SUBDIR)/gas/Makefile ] || $(MAKE) stagefeedback-start ; \
10279 cd $(HOST_SUBDIR)/gas && \
10280 $(MAKE) $(FLAGS_TO_PASS) \
10281 $(POSTSTAGE1_FLAGS_TO_PASS) \
10282 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10283 @endif gas-bootstrap
10289 .PHONY: check-gas maybe-check-gas
10290 maybe-check-gas:
10291 @if gas
10292 maybe-check-gas: check-gas
10294 check-gas:
10295 @r=`${PWD_COMMAND}`; export r; \
10296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10297 $(HOST_EXPORTS) \
10298 (cd $(HOST_SUBDIR)/gas && \
10299 $(MAKE) $(FLAGS_TO_PASS) check)
10301 @endif gas
10303 .PHONY: install-gas maybe-install-gas
10304 maybe-install-gas:
10305 @if gas
10306 maybe-install-gas: install-gas
10308 install-gas: installdirs
10309 @r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 (cd $(HOST_SUBDIR)/gas && \
10313 $(MAKE) $(FLAGS_TO_PASS) install)
10315 @endif gas
10317 # Other targets (info, dvi, etc.)
10319 .PHONY: maybe-info-gas info-gas
10320 maybe-info-gas:
10321 @if gas
10322 maybe-info-gas: info-gas
10324 info-gas: \
10325 configure-gas
10326 @[ -f ./gas/Makefile ] || exit 0; \
10327 r=`${PWD_COMMAND}`; export r; \
10328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10329 $(HOST_EXPORTS) \
10330 for flag in $(EXTRA_HOST_FLAGS) ; do \
10331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10332 done; \
10333 echo "Doing info in gas" ; \
10334 (cd $(HOST_SUBDIR)/gas && \
10335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10337 "RANLIB=$${RANLIB}" \
10338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10339 info) \
10340 || exit 1
10342 @endif gas
10344 .PHONY: maybe-dvi-gas dvi-gas
10345 maybe-dvi-gas:
10346 @if gas
10347 maybe-dvi-gas: dvi-gas
10349 dvi-gas: \
10350 configure-gas
10351 @[ -f ./gas/Makefile ] || exit 0; \
10352 r=`${PWD_COMMAND}`; export r; \
10353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10354 $(HOST_EXPORTS) \
10355 for flag in $(EXTRA_HOST_FLAGS) ; do \
10356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10357 done; \
10358 echo "Doing dvi in gas" ; \
10359 (cd $(HOST_SUBDIR)/gas && \
10360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10362 "RANLIB=$${RANLIB}" \
10363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10364 dvi) \
10365 || exit 1
10367 @endif gas
10369 .PHONY: maybe-html-gas html-gas
10370 maybe-html-gas:
10371 @if gas
10372 maybe-html-gas: html-gas
10374 html-gas: \
10375 configure-gas
10376 @[ -f ./gas/Makefile ] || exit 0; \
10377 r=`${PWD_COMMAND}`; export r; \
10378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10379 $(HOST_EXPORTS) \
10380 for flag in $(EXTRA_HOST_FLAGS) ; do \
10381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10382 done; \
10383 echo "Doing html in gas" ; \
10384 (cd $(HOST_SUBDIR)/gas && \
10385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10387 "RANLIB=$${RANLIB}" \
10388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10389 html) \
10390 || exit 1
10392 @endif gas
10394 .PHONY: maybe-TAGS-gas TAGS-gas
10395 maybe-TAGS-gas:
10396 @if gas
10397 maybe-TAGS-gas: TAGS-gas
10399 TAGS-gas: \
10400 configure-gas
10401 @[ -f ./gas/Makefile ] || exit 0; \
10402 r=`${PWD_COMMAND}`; export r; \
10403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10404 $(HOST_EXPORTS) \
10405 for flag in $(EXTRA_HOST_FLAGS) ; do \
10406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10407 done; \
10408 echo "Doing TAGS in gas" ; \
10409 (cd $(HOST_SUBDIR)/gas && \
10410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10412 "RANLIB=$${RANLIB}" \
10413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10414 TAGS) \
10415 || exit 1
10417 @endif gas
10419 .PHONY: maybe-install-info-gas install-info-gas
10420 maybe-install-info-gas:
10421 @if gas
10422 maybe-install-info-gas: install-info-gas
10424 install-info-gas: \
10425 configure-gas \
10426 info-gas
10427 @[ -f ./gas/Makefile ] || exit 0; \
10428 r=`${PWD_COMMAND}`; export r; \
10429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10430 $(HOST_EXPORTS) \
10431 for flag in $(EXTRA_HOST_FLAGS) ; do \
10432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10433 done; \
10434 echo "Doing install-info in gas" ; \
10435 (cd $(HOST_SUBDIR)/gas && \
10436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10438 "RANLIB=$${RANLIB}" \
10439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10440 install-info) \
10441 || exit 1
10443 @endif gas
10445 .PHONY: maybe-installcheck-gas installcheck-gas
10446 maybe-installcheck-gas:
10447 @if gas
10448 maybe-installcheck-gas: installcheck-gas
10450 installcheck-gas: \
10451 configure-gas
10452 @[ -f ./gas/Makefile ] || exit 0; \
10453 r=`${PWD_COMMAND}`; export r; \
10454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10455 $(HOST_EXPORTS) \
10456 for flag in $(EXTRA_HOST_FLAGS) ; do \
10457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10458 done; \
10459 echo "Doing installcheck in gas" ; \
10460 (cd $(HOST_SUBDIR)/gas && \
10461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10463 "RANLIB=$${RANLIB}" \
10464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10465 installcheck) \
10466 || exit 1
10468 @endif gas
10470 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10471 maybe-mostlyclean-gas:
10472 @if gas
10473 maybe-mostlyclean-gas: mostlyclean-gas
10475 mostlyclean-gas:
10476 @[ -f ./gas/Makefile ] || exit 0; \
10477 r=`${PWD_COMMAND}`; export r; \
10478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10479 $(HOST_EXPORTS) \
10480 for flag in $(EXTRA_HOST_FLAGS) ; do \
10481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10482 done; \
10483 echo "Doing mostlyclean in gas" ; \
10484 (cd $(HOST_SUBDIR)/gas && \
10485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10487 "RANLIB=$${RANLIB}" \
10488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10489 mostlyclean) \
10490 || exit 1
10492 @endif gas
10494 .PHONY: maybe-clean-gas clean-gas
10495 maybe-clean-gas:
10496 @if gas
10497 maybe-clean-gas: clean-gas
10499 clean-gas:
10500 @[ -f ./gas/Makefile ] || exit 0; \
10501 r=`${PWD_COMMAND}`; export r; \
10502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10503 $(HOST_EXPORTS) \
10504 for flag in $(EXTRA_HOST_FLAGS) ; do \
10505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10506 done; \
10507 echo "Doing clean in gas" ; \
10508 (cd $(HOST_SUBDIR)/gas && \
10509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10511 "RANLIB=$${RANLIB}" \
10512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10513 clean) \
10514 || exit 1
10516 @endif gas
10518 .PHONY: maybe-distclean-gas distclean-gas
10519 maybe-distclean-gas:
10520 @if gas
10521 maybe-distclean-gas: distclean-gas
10523 distclean-gas:
10524 @[ -f ./gas/Makefile ] || exit 0; \
10525 r=`${PWD_COMMAND}`; export r; \
10526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10527 $(HOST_EXPORTS) \
10528 for flag in $(EXTRA_HOST_FLAGS) ; do \
10529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10530 done; \
10531 echo "Doing distclean in gas" ; \
10532 (cd $(HOST_SUBDIR)/gas && \
10533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10535 "RANLIB=$${RANLIB}" \
10536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10537 distclean) \
10538 || exit 1
10540 @endif gas
10542 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
10543 maybe-maintainer-clean-gas:
10544 @if gas
10545 maybe-maintainer-clean-gas: maintainer-clean-gas
10547 maintainer-clean-gas:
10548 @[ -f ./gas/Makefile ] || exit 0; \
10549 r=`${PWD_COMMAND}`; export r; \
10550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10551 $(HOST_EXPORTS) \
10552 for flag in $(EXTRA_HOST_FLAGS) ; do \
10553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10554 done; \
10555 echo "Doing maintainer-clean in gas" ; \
10556 (cd $(HOST_SUBDIR)/gas && \
10557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10559 "RANLIB=$${RANLIB}" \
10560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10561 maintainer-clean) \
10562 || exit 1
10564 @endif gas
10568 .PHONY: configure-gcc maybe-configure-gcc
10569 maybe-configure-gcc:
10570 @if gcc
10571 maybe-configure-gcc: configure-gcc
10572 configure-gcc:
10573 @test -f stage_last && exit 0; \
10574 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
10575 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
10576 r=`${PWD_COMMAND}`; export r; \
10577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10578 $(HOST_EXPORTS) \
10579 echo Configuring in $(HOST_SUBDIR)/gcc; \
10580 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
10581 case $(srcdir) in \
10582 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10583 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10584 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10585 esac; \
10586 srcdiroption="--srcdir=$${topdir}/gcc"; \
10587 libsrcdir="$$s/gcc"; \
10588 $(SHELL) $${libsrcdir}/configure \
10589 $(HOST_CONFIGARGS) $${srcdiroption} \
10590 || exit 1
10591 @endif gcc
10595 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
10596 maybe-configure-stage1-gcc:
10597 @if gcc-bootstrap
10598 maybe-configure-stage1-gcc: configure-stage1-gcc
10599 configure-stage1-gcc:
10600 @$(MAKE) stage1-start
10601 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10602 r=`${PWD_COMMAND}`; export r; \
10603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10604 $(HOST_EXPORTS) \
10605 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
10606 cd $(HOST_SUBDIR)/gcc || exit 1; \
10607 case $(srcdir) in \
10608 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10609 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10610 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10611 esac; \
10612 srcdiroption="--srcdir=$${topdir}/gcc"; \
10613 libsrcdir="$$s/gcc"; \
10614 $(SHELL) $${libsrcdir}/configure \
10615 $(HOST_CONFIGARGS) $${srcdiroption} \
10616 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10617 @endif gcc-bootstrap
10619 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
10620 maybe-configure-stage2-gcc:
10621 @if gcc-bootstrap
10622 maybe-configure-stage2-gcc: configure-stage2-gcc
10623 configure-stage2-gcc:
10624 @$(MAKE) stage2-start
10625 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10626 r=`${PWD_COMMAND}`; export r; \
10627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10628 $(HOST_EXPORTS) \
10629 $(POSTSTAGE1_HOST_EXPORTS) \
10630 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
10631 cd $(HOST_SUBDIR)/gcc || exit 1; \
10632 case $(srcdir) in \
10633 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10634 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10635 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10636 esac; \
10637 srcdiroption="--srcdir=$${topdir}/gcc"; \
10638 libsrcdir="$$s/gcc"; \
10639 $(SHELL) $${libsrcdir}/configure \
10640 $(HOST_CONFIGARGS) $${srcdiroption} \
10641 @stage2_werror_flag@
10642 @endif gcc-bootstrap
10644 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
10645 maybe-configure-stage3-gcc:
10646 @if gcc-bootstrap
10647 maybe-configure-stage3-gcc: configure-stage3-gcc
10648 configure-stage3-gcc:
10649 @$(MAKE) stage3-start
10650 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10651 r=`${PWD_COMMAND}`; export r; \
10652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10653 $(HOST_EXPORTS) \
10654 $(POSTSTAGE1_HOST_EXPORTS) \
10655 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
10656 cd $(HOST_SUBDIR)/gcc || exit 1; \
10657 case $(srcdir) in \
10658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10659 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10661 esac; \
10662 srcdiroption="--srcdir=$${topdir}/gcc"; \
10663 libsrcdir="$$s/gcc"; \
10664 $(SHELL) $${libsrcdir}/configure \
10665 $(HOST_CONFIGARGS) $${srcdiroption} \
10666 @stage2_werror_flag@
10667 @endif gcc-bootstrap
10669 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
10670 maybe-configure-stage4-gcc:
10671 @if gcc-bootstrap
10672 maybe-configure-stage4-gcc: configure-stage4-gcc
10673 configure-stage4-gcc:
10674 @$(MAKE) stage4-start
10675 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10676 r=`${PWD_COMMAND}`; export r; \
10677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10678 $(HOST_EXPORTS) \
10679 $(POSTSTAGE1_HOST_EXPORTS) \
10680 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
10681 cd $(HOST_SUBDIR)/gcc || exit 1; \
10682 case $(srcdir) in \
10683 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10684 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10685 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10686 esac; \
10687 srcdiroption="--srcdir=$${topdir}/gcc"; \
10688 libsrcdir="$$s/gcc"; \
10689 $(SHELL) $${libsrcdir}/configure \
10690 $(HOST_CONFIGARGS) $${srcdiroption} \
10691 @stage2_werror_flag@
10692 @endif gcc-bootstrap
10694 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
10695 maybe-configure-stageprofile-gcc:
10696 @if gcc-bootstrap
10697 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
10698 configure-stageprofile-gcc:
10699 @$(MAKE) stageprofile-start
10700 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10701 r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 $(HOST_EXPORTS) \
10704 $(POSTSTAGE1_HOST_EXPORTS) \
10705 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
10706 cd $(HOST_SUBDIR)/gcc || exit 1; \
10707 case $(srcdir) in \
10708 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10709 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10710 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10711 esac; \
10712 srcdiroption="--srcdir=$${topdir}/gcc"; \
10713 libsrcdir="$$s/gcc"; \
10714 $(SHELL) $${libsrcdir}/configure \
10715 $(HOST_CONFIGARGS) $${srcdiroption} \
10716 @stage2_werror_flag@
10717 @endif gcc-bootstrap
10719 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
10720 maybe-configure-stagefeedback-gcc:
10721 @if gcc-bootstrap
10722 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
10723 configure-stagefeedback-gcc:
10724 @$(MAKE) stagefeedback-start
10725 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
10726 r=`${PWD_COMMAND}`; export r; \
10727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10728 $(HOST_EXPORTS) \
10729 $(POSTSTAGE1_HOST_EXPORTS) \
10730 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
10731 cd $(HOST_SUBDIR)/gcc || exit 1; \
10732 case $(srcdir) in \
10733 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10734 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
10735 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10736 esac; \
10737 srcdiroption="--srcdir=$${topdir}/gcc"; \
10738 libsrcdir="$$s/gcc"; \
10739 $(SHELL) $${libsrcdir}/configure \
10740 $(HOST_CONFIGARGS) $${srcdiroption} \
10741 @stage2_werror_flag@
10742 @endif gcc-bootstrap
10748 .PHONY: all-gcc maybe-all-gcc
10749 maybe-all-gcc:
10750 @if gcc
10751 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
10752 maybe-all-gcc: all-gcc
10753 all-gcc: configure-gcc
10754 @test -f stage_last && exit 0; \
10755 r=`${PWD_COMMAND}`; export r; \
10756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10757 $(HOST_EXPORTS) \
10758 (cd $(HOST_SUBDIR)/gcc && \
10759 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
10760 @endif gcc
10764 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
10765 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
10766 maybe-all-stage1-gcc:
10767 maybe-clean-stage1-gcc:
10768 @if gcc-bootstrap
10769 maybe-all-stage1-gcc: all-stage1-gcc
10770 all-stage1: all-stage1-gcc
10771 all-stage1-gcc: configure-stage1-gcc
10772 @$(MAKE) stage1-start
10773 @r=`${PWD_COMMAND}`; export r; \
10774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10775 $(HOST_EXPORTS) \
10776 cd $(HOST_SUBDIR)/gcc && \
10777 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
10779 maybe-clean-stage1-gcc: clean-stage1-gcc
10780 clean-stage1: clean-stage1-gcc
10781 clean-stage1-gcc:
10782 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
10783 || exit 0 ; \
10784 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage1-start ; \
10785 cd $(HOST_SUBDIR)/gcc && \
10786 $(MAKE) $(FLAGS_TO_PASS) \
10787 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
10788 @endif gcc-bootstrap
10791 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
10792 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
10793 maybe-all-stage2-gcc:
10794 maybe-clean-stage2-gcc:
10795 @if gcc-bootstrap
10796 maybe-all-stage2-gcc: all-stage2-gcc
10797 all-stage2: all-stage2-gcc
10798 all-stage2-gcc: configure-stage2-gcc
10799 @$(MAKE) stage2-start
10800 @r=`${PWD_COMMAND}`; export r; \
10801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10802 $(HOST_EXPORTS) \
10803 $(POSTSTAGE1_HOST_EXPORTS) \
10804 cd $(HOST_SUBDIR)/gcc && \
10805 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10807 maybe-clean-stage2-gcc: clean-stage2-gcc
10808 clean-stage2: clean-stage2-gcc
10809 clean-stage2-gcc:
10810 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
10811 || exit 0 ; \
10812 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage2-start ; \
10813 cd $(HOST_SUBDIR)/gcc && \
10814 $(MAKE) $(FLAGS_TO_PASS) \
10815 $(POSTSTAGE1_FLAGS_TO_PASS) \
10816 $(EXTRA_GCC_FLAGS) clean
10817 @endif gcc-bootstrap
10820 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
10821 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
10822 maybe-all-stage3-gcc:
10823 maybe-clean-stage3-gcc:
10824 @if gcc-bootstrap
10825 maybe-all-stage3-gcc: all-stage3-gcc
10826 all-stage3: all-stage3-gcc
10827 all-stage3-gcc: configure-stage3-gcc
10828 @$(MAKE) stage3-start
10829 @r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 $(POSTSTAGE1_HOST_EXPORTS) \
10833 cd $(HOST_SUBDIR)/gcc && \
10834 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10836 maybe-clean-stage3-gcc: clean-stage3-gcc
10837 clean-stage3: clean-stage3-gcc
10838 clean-stage3-gcc:
10839 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
10840 || exit 0 ; \
10841 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage3-start ; \
10842 cd $(HOST_SUBDIR)/gcc && \
10843 $(MAKE) $(FLAGS_TO_PASS) \
10844 $(POSTSTAGE1_FLAGS_TO_PASS) \
10845 $(EXTRA_GCC_FLAGS) clean
10846 @endif gcc-bootstrap
10849 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
10850 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
10851 maybe-all-stage4-gcc:
10852 maybe-clean-stage4-gcc:
10853 @if gcc-bootstrap
10854 maybe-all-stage4-gcc: all-stage4-gcc
10855 all-stage4: all-stage4-gcc
10856 all-stage4-gcc: configure-stage4-gcc
10857 @$(MAKE) stage4-start
10858 @r=`${PWD_COMMAND}`; export r; \
10859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10860 $(HOST_EXPORTS) \
10861 $(POSTSTAGE1_HOST_EXPORTS) \
10862 cd $(HOST_SUBDIR)/gcc && \
10863 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS)
10865 maybe-clean-stage4-gcc: clean-stage4-gcc
10866 clean-stage4: clean-stage4-gcc
10867 clean-stage4-gcc:
10868 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
10869 || exit 0 ; \
10870 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stage4-start ; \
10871 cd $(HOST_SUBDIR)/gcc && \
10872 $(MAKE) $(FLAGS_TO_PASS) \
10873 $(POSTSTAGE1_FLAGS_TO_PASS) \
10874 $(EXTRA_GCC_FLAGS) clean
10875 @endif gcc-bootstrap
10878 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
10879 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
10880 maybe-all-stageprofile-gcc:
10881 maybe-clean-stageprofile-gcc:
10882 @if gcc-bootstrap
10883 maybe-all-stageprofile-gcc: all-stageprofile-gcc
10884 all-stageprofile: all-stageprofile-gcc
10885 all-stageprofile-gcc: configure-stageprofile-gcc
10886 @$(MAKE) stageprofile-start
10887 @r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 $(HOST_EXPORTS) \
10890 $(POSTSTAGE1_HOST_EXPORTS) \
10891 cd $(HOST_SUBDIR)/gcc && \
10892 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
10894 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
10895 clean-stageprofile: clean-stageprofile-gcc
10896 clean-stageprofile-gcc:
10897 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
10898 || exit 0 ; \
10899 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stageprofile-start ; \
10900 cd $(HOST_SUBDIR)/gcc && \
10901 $(MAKE) $(FLAGS_TO_PASS) \
10902 $(POSTSTAGE1_FLAGS_TO_PASS) \
10903 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
10904 @endif gcc-bootstrap
10907 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
10908 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
10909 maybe-all-stagefeedback-gcc:
10910 maybe-clean-stagefeedback-gcc:
10911 @if gcc-bootstrap
10912 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
10913 all-stagefeedback: all-stagefeedback-gcc
10914 all-stagefeedback-gcc: configure-stagefeedback-gcc
10915 @$(MAKE) stagefeedback-start
10916 @r=`${PWD_COMMAND}`; export r; \
10917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10918 $(HOST_EXPORTS) \
10919 $(POSTSTAGE1_HOST_EXPORTS) \
10920 cd $(HOST_SUBDIR)/gcc && \
10921 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
10923 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
10924 clean-stagefeedback: clean-stagefeedback-gcc
10925 clean-stagefeedback-gcc:
10926 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
10927 || exit 0 ; \
10928 [ -f $(HOST_SUBDIR)/gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
10929 cd $(HOST_SUBDIR)/gcc && \
10930 $(MAKE) $(FLAGS_TO_PASS) \
10931 $(POSTSTAGE1_FLAGS_TO_PASS) \
10932 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
10933 @endif gcc-bootstrap
10939 .PHONY: check-gcc maybe-check-gcc
10940 maybe-check-gcc:
10941 @if gcc
10942 maybe-check-gcc: check-gcc
10944 check-gcc:
10945 @r=`${PWD_COMMAND}`; export r; \
10946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10947 $(HOST_EXPORTS) \
10948 (cd $(HOST_SUBDIR)/gcc && \
10949 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
10951 @endif gcc
10953 .PHONY: install-gcc maybe-install-gcc
10954 maybe-install-gcc:
10955 @if gcc
10956 maybe-install-gcc: install-gcc
10958 install-gcc: installdirs
10959 @r=`${PWD_COMMAND}`; export r; \
10960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10961 $(HOST_EXPORTS) \
10962 (cd $(HOST_SUBDIR)/gcc && \
10963 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
10965 @endif gcc
10967 # Other targets (info, dvi, etc.)
10969 .PHONY: maybe-info-gcc info-gcc
10970 maybe-info-gcc:
10971 @if gcc
10972 maybe-info-gcc: info-gcc
10974 info-gcc: \
10975 configure-gcc
10976 @[ -f ./gcc/Makefile ] || exit 0; \
10977 r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(HOST_EXPORTS) \
10980 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
10981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 done; \
10983 echo "Doing info in gcc" ; \
10984 (cd $(HOST_SUBDIR)/gcc && \
10985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10987 "RANLIB=$${RANLIB}" \
10988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10989 info) \
10990 || exit 1
10992 @endif gcc
10994 .PHONY: maybe-dvi-gcc dvi-gcc
10995 maybe-dvi-gcc:
10996 @if gcc
10997 maybe-dvi-gcc: dvi-gcc
10999 dvi-gcc: \
11000 configure-gcc
11001 @[ -f ./gcc/Makefile ] || exit 0; \
11002 r=`${PWD_COMMAND}`; export r; \
11003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11004 $(HOST_EXPORTS) \
11005 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11007 done; \
11008 echo "Doing dvi in gcc" ; \
11009 (cd $(HOST_SUBDIR)/gcc && \
11010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11012 "RANLIB=$${RANLIB}" \
11013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11014 dvi) \
11015 || exit 1
11017 @endif gcc
11019 .PHONY: maybe-html-gcc html-gcc
11020 maybe-html-gcc:
11021 @if gcc
11022 maybe-html-gcc: html-gcc
11024 html-gcc: \
11025 configure-gcc
11026 @[ -f ./gcc/Makefile ] || exit 0; \
11027 r=`${PWD_COMMAND}`; export r; \
11028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11029 $(HOST_EXPORTS) \
11030 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11032 done; \
11033 echo "Doing html in gcc" ; \
11034 (cd $(HOST_SUBDIR)/gcc && \
11035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11037 "RANLIB=$${RANLIB}" \
11038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11039 html) \
11040 || exit 1
11042 @endif gcc
11044 .PHONY: maybe-TAGS-gcc TAGS-gcc
11045 maybe-TAGS-gcc:
11046 @if gcc
11047 maybe-TAGS-gcc: TAGS-gcc
11049 TAGS-gcc: \
11050 configure-gcc
11051 @[ -f ./gcc/Makefile ] || exit 0; \
11052 r=`${PWD_COMMAND}`; export r; \
11053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11054 $(HOST_EXPORTS) \
11055 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11057 done; \
11058 echo "Doing TAGS in gcc" ; \
11059 (cd $(HOST_SUBDIR)/gcc && \
11060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11062 "RANLIB=$${RANLIB}" \
11063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11064 TAGS) \
11065 || exit 1
11067 @endif gcc
11069 .PHONY: maybe-install-info-gcc install-info-gcc
11070 maybe-install-info-gcc:
11071 @if gcc
11072 maybe-install-info-gcc: install-info-gcc
11074 install-info-gcc: \
11075 configure-gcc \
11076 info-gcc
11077 @[ -f ./gcc/Makefile ] || exit 0; \
11078 r=`${PWD_COMMAND}`; export r; \
11079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11080 $(HOST_EXPORTS) \
11081 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11083 done; \
11084 echo "Doing install-info in gcc" ; \
11085 (cd $(HOST_SUBDIR)/gcc && \
11086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11088 "RANLIB=$${RANLIB}" \
11089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11090 install-info) \
11091 || exit 1
11093 @endif gcc
11095 .PHONY: maybe-installcheck-gcc installcheck-gcc
11096 maybe-installcheck-gcc:
11097 @if gcc
11098 maybe-installcheck-gcc: installcheck-gcc
11100 installcheck-gcc: \
11101 configure-gcc
11102 @[ -f ./gcc/Makefile ] || exit 0; \
11103 r=`${PWD_COMMAND}`; export r; \
11104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11105 $(HOST_EXPORTS) \
11106 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11108 done; \
11109 echo "Doing installcheck in gcc" ; \
11110 (cd $(HOST_SUBDIR)/gcc && \
11111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11113 "RANLIB=$${RANLIB}" \
11114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11115 installcheck) \
11116 || exit 1
11118 @endif gcc
11120 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11121 maybe-mostlyclean-gcc:
11122 @if gcc
11123 maybe-mostlyclean-gcc: mostlyclean-gcc
11125 mostlyclean-gcc:
11126 @[ -f ./gcc/Makefile ] || exit 0; \
11127 r=`${PWD_COMMAND}`; export r; \
11128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11129 $(HOST_EXPORTS) \
11130 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11132 done; \
11133 echo "Doing mostlyclean in gcc" ; \
11134 (cd $(HOST_SUBDIR)/gcc && \
11135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11137 "RANLIB=$${RANLIB}" \
11138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11139 mostlyclean) \
11140 || exit 1
11142 @endif gcc
11144 .PHONY: maybe-clean-gcc clean-gcc
11145 maybe-clean-gcc:
11146 @if gcc
11147 maybe-clean-gcc: clean-gcc
11149 clean-gcc:
11150 @[ -f ./gcc/Makefile ] || exit 0; \
11151 r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 $(HOST_EXPORTS) \
11154 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11156 done; \
11157 echo "Doing clean in gcc" ; \
11158 (cd $(HOST_SUBDIR)/gcc && \
11159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11161 "RANLIB=$${RANLIB}" \
11162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11163 clean) \
11164 || exit 1
11166 @endif gcc
11168 .PHONY: maybe-distclean-gcc distclean-gcc
11169 maybe-distclean-gcc:
11170 @if gcc
11171 maybe-distclean-gcc: distclean-gcc
11173 distclean-gcc:
11174 @[ -f ./gcc/Makefile ] || exit 0; \
11175 r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(HOST_EXPORTS) \
11178 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11180 done; \
11181 echo "Doing distclean in gcc" ; \
11182 (cd $(HOST_SUBDIR)/gcc && \
11183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11185 "RANLIB=$${RANLIB}" \
11186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11187 distclean) \
11188 || exit 1
11190 @endif gcc
11192 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11193 maybe-maintainer-clean-gcc:
11194 @if gcc
11195 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11197 maintainer-clean-gcc:
11198 @[ -f ./gcc/Makefile ] || exit 0; \
11199 r=`${PWD_COMMAND}`; export r; \
11200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11201 $(HOST_EXPORTS) \
11202 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11204 done; \
11205 echo "Doing maintainer-clean in gcc" ; \
11206 (cd $(HOST_SUBDIR)/gcc && \
11207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11209 "RANLIB=$${RANLIB}" \
11210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11211 maintainer-clean) \
11212 || exit 1
11214 @endif gcc
11218 .PHONY: configure-gawk maybe-configure-gawk
11219 maybe-configure-gawk:
11220 @if gawk
11221 maybe-configure-gawk: configure-gawk
11222 configure-gawk:
11223 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227 $(HOST_EXPORTS) \
11228 echo Configuring in $(HOST_SUBDIR)/gawk; \
11229 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11230 case $(srcdir) in \
11231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11232 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11234 esac; \
11235 srcdiroption="--srcdir=$${topdir}/gawk"; \
11236 libsrcdir="$$s/gawk"; \
11237 $(SHELL) $${libsrcdir}/configure \
11238 $(HOST_CONFIGARGS) $${srcdiroption} \
11239 || exit 1
11240 @endif gawk
11246 .PHONY: all-gawk maybe-all-gawk
11247 maybe-all-gawk:
11248 @if gawk
11249 TARGET-gawk=all
11250 maybe-all-gawk: all-gawk
11251 all-gawk: configure-gawk
11252 @r=`${PWD_COMMAND}`; export r; \
11253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11254 $(HOST_EXPORTS) \
11255 (cd $(HOST_SUBDIR)/gawk && \
11256 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11257 @endif gawk
11262 .PHONY: check-gawk maybe-check-gawk
11263 maybe-check-gawk:
11264 @if gawk
11265 maybe-check-gawk: check-gawk
11267 check-gawk:
11268 @r=`${PWD_COMMAND}`; export r; \
11269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 $(HOST_EXPORTS) \
11271 (cd $(HOST_SUBDIR)/gawk && \
11272 $(MAKE) $(FLAGS_TO_PASS) check)
11274 @endif gawk
11276 .PHONY: install-gawk maybe-install-gawk
11277 maybe-install-gawk:
11278 @if gawk
11279 maybe-install-gawk: install-gawk
11281 install-gawk: installdirs
11282 @r=`${PWD_COMMAND}`; export r; \
11283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11284 $(HOST_EXPORTS) \
11285 (cd $(HOST_SUBDIR)/gawk && \
11286 $(MAKE) $(FLAGS_TO_PASS) install)
11288 @endif gawk
11290 # Other targets (info, dvi, etc.)
11292 .PHONY: maybe-info-gawk info-gawk
11293 maybe-info-gawk:
11294 @if gawk
11295 maybe-info-gawk: info-gawk
11297 info-gawk: \
11298 configure-gawk
11299 @[ -f ./gawk/Makefile ] || exit 0; \
11300 r=`${PWD_COMMAND}`; export r; \
11301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11302 $(HOST_EXPORTS) \
11303 for flag in $(EXTRA_HOST_FLAGS) ; do \
11304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11305 done; \
11306 echo "Doing info in gawk" ; \
11307 (cd $(HOST_SUBDIR)/gawk && \
11308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11310 "RANLIB=$${RANLIB}" \
11311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11312 info) \
11313 || exit 1
11315 @endif gawk
11317 .PHONY: maybe-dvi-gawk dvi-gawk
11318 maybe-dvi-gawk:
11319 @if gawk
11320 maybe-dvi-gawk: dvi-gawk
11322 dvi-gawk: \
11323 configure-gawk
11324 @[ -f ./gawk/Makefile ] || exit 0; \
11325 r=`${PWD_COMMAND}`; export r; \
11326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11327 $(HOST_EXPORTS) \
11328 for flag in $(EXTRA_HOST_FLAGS) ; do \
11329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11330 done; \
11331 echo "Doing dvi in gawk" ; \
11332 (cd $(HOST_SUBDIR)/gawk && \
11333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11335 "RANLIB=$${RANLIB}" \
11336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11337 dvi) \
11338 || exit 1
11340 @endif gawk
11342 .PHONY: maybe-html-gawk html-gawk
11343 maybe-html-gawk:
11344 @if gawk
11345 maybe-html-gawk: html-gawk
11347 html-gawk: \
11348 configure-gawk
11349 @[ -f ./gawk/Makefile ] || exit 0; \
11350 r=`${PWD_COMMAND}`; export r; \
11351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11352 $(HOST_EXPORTS) \
11353 for flag in $(EXTRA_HOST_FLAGS) ; do \
11354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11355 done; \
11356 echo "Doing html in gawk" ; \
11357 (cd $(HOST_SUBDIR)/gawk && \
11358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11360 "RANLIB=$${RANLIB}" \
11361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11362 html) \
11363 || exit 1
11365 @endif gawk
11367 .PHONY: maybe-TAGS-gawk TAGS-gawk
11368 maybe-TAGS-gawk:
11369 @if gawk
11370 maybe-TAGS-gawk: TAGS-gawk
11372 TAGS-gawk: \
11373 configure-gawk
11374 @[ -f ./gawk/Makefile ] || exit 0; \
11375 r=`${PWD_COMMAND}`; export r; \
11376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11377 $(HOST_EXPORTS) \
11378 for flag in $(EXTRA_HOST_FLAGS) ; do \
11379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11380 done; \
11381 echo "Doing TAGS in gawk" ; \
11382 (cd $(HOST_SUBDIR)/gawk && \
11383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11385 "RANLIB=$${RANLIB}" \
11386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11387 TAGS) \
11388 || exit 1
11390 @endif gawk
11392 .PHONY: maybe-install-info-gawk install-info-gawk
11393 maybe-install-info-gawk:
11394 @if gawk
11395 maybe-install-info-gawk: install-info-gawk
11397 install-info-gawk: \
11398 configure-gawk \
11399 info-gawk
11400 @[ -f ./gawk/Makefile ] || exit 0; \
11401 r=`${PWD_COMMAND}`; export r; \
11402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11403 $(HOST_EXPORTS) \
11404 for flag in $(EXTRA_HOST_FLAGS) ; do \
11405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11406 done; \
11407 echo "Doing install-info in gawk" ; \
11408 (cd $(HOST_SUBDIR)/gawk && \
11409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11411 "RANLIB=$${RANLIB}" \
11412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11413 install-info) \
11414 || exit 1
11416 @endif gawk
11418 .PHONY: maybe-installcheck-gawk installcheck-gawk
11419 maybe-installcheck-gawk:
11420 @if gawk
11421 maybe-installcheck-gawk: installcheck-gawk
11423 installcheck-gawk: \
11424 configure-gawk
11425 @[ -f ./gawk/Makefile ] || exit 0; \
11426 r=`${PWD_COMMAND}`; export r; \
11427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11428 $(HOST_EXPORTS) \
11429 for flag in $(EXTRA_HOST_FLAGS) ; do \
11430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11431 done; \
11432 echo "Doing installcheck in gawk" ; \
11433 (cd $(HOST_SUBDIR)/gawk && \
11434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11436 "RANLIB=$${RANLIB}" \
11437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11438 installcheck) \
11439 || exit 1
11441 @endif gawk
11443 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11444 maybe-mostlyclean-gawk:
11445 @if gawk
11446 maybe-mostlyclean-gawk: mostlyclean-gawk
11448 mostlyclean-gawk:
11449 @[ -f ./gawk/Makefile ] || exit 0; \
11450 r=`${PWD_COMMAND}`; export r; \
11451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11452 $(HOST_EXPORTS) \
11453 for flag in $(EXTRA_HOST_FLAGS) ; do \
11454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11455 done; \
11456 echo "Doing mostlyclean in gawk" ; \
11457 (cd $(HOST_SUBDIR)/gawk && \
11458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11460 "RANLIB=$${RANLIB}" \
11461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11462 mostlyclean) \
11463 || exit 1
11465 @endif gawk
11467 .PHONY: maybe-clean-gawk clean-gawk
11468 maybe-clean-gawk:
11469 @if gawk
11470 maybe-clean-gawk: clean-gawk
11472 clean-gawk:
11473 @[ -f ./gawk/Makefile ] || exit 0; \
11474 r=`${PWD_COMMAND}`; export r; \
11475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11476 $(HOST_EXPORTS) \
11477 for flag in $(EXTRA_HOST_FLAGS) ; do \
11478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11479 done; \
11480 echo "Doing clean in gawk" ; \
11481 (cd $(HOST_SUBDIR)/gawk && \
11482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11484 "RANLIB=$${RANLIB}" \
11485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11486 clean) \
11487 || exit 1
11489 @endif gawk
11491 .PHONY: maybe-distclean-gawk distclean-gawk
11492 maybe-distclean-gawk:
11493 @if gawk
11494 maybe-distclean-gawk: distclean-gawk
11496 distclean-gawk:
11497 @[ -f ./gawk/Makefile ] || exit 0; \
11498 r=`${PWD_COMMAND}`; export r; \
11499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11500 $(HOST_EXPORTS) \
11501 for flag in $(EXTRA_HOST_FLAGS) ; do \
11502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11503 done; \
11504 echo "Doing distclean in gawk" ; \
11505 (cd $(HOST_SUBDIR)/gawk && \
11506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11508 "RANLIB=$${RANLIB}" \
11509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11510 distclean) \
11511 || exit 1
11513 @endif gawk
11515 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
11516 maybe-maintainer-clean-gawk:
11517 @if gawk
11518 maybe-maintainer-clean-gawk: maintainer-clean-gawk
11520 maintainer-clean-gawk:
11521 @[ -f ./gawk/Makefile ] || exit 0; \
11522 r=`${PWD_COMMAND}`; export r; \
11523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11524 $(HOST_EXPORTS) \
11525 for flag in $(EXTRA_HOST_FLAGS) ; do \
11526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11527 done; \
11528 echo "Doing maintainer-clean in gawk" ; \
11529 (cd $(HOST_SUBDIR)/gawk && \
11530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11532 "RANLIB=$${RANLIB}" \
11533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11534 maintainer-clean) \
11535 || exit 1
11537 @endif gawk
11541 .PHONY: configure-gettext maybe-configure-gettext
11542 maybe-configure-gettext:
11543 @if gettext
11544 maybe-configure-gettext: configure-gettext
11545 configure-gettext:
11546 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
11547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
11548 r=`${PWD_COMMAND}`; export r; \
11549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11550 $(HOST_EXPORTS) \
11551 echo Configuring in $(HOST_SUBDIR)/gettext; \
11552 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
11553 case $(srcdir) in \
11554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11555 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
11556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11557 esac; \
11558 srcdiroption="--srcdir=$${topdir}/gettext"; \
11559 libsrcdir="$$s/gettext"; \
11560 $(SHELL) $${libsrcdir}/configure \
11561 $(HOST_CONFIGARGS) $${srcdiroption} \
11562 || exit 1
11563 @endif gettext
11569 .PHONY: all-gettext maybe-all-gettext
11570 maybe-all-gettext:
11571 @if gettext
11572 TARGET-gettext=all
11573 maybe-all-gettext: all-gettext
11574 all-gettext: configure-gettext
11575 @r=`${PWD_COMMAND}`; export r; \
11576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11577 $(HOST_EXPORTS) \
11578 (cd $(HOST_SUBDIR)/gettext && \
11579 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
11580 @endif gettext
11585 .PHONY: check-gettext maybe-check-gettext
11586 maybe-check-gettext:
11587 @if gettext
11588 maybe-check-gettext: check-gettext
11590 check-gettext:
11591 @r=`${PWD_COMMAND}`; export r; \
11592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11593 $(HOST_EXPORTS) \
11594 (cd $(HOST_SUBDIR)/gettext && \
11595 $(MAKE) $(FLAGS_TO_PASS) check)
11597 @endif gettext
11599 .PHONY: install-gettext maybe-install-gettext
11600 maybe-install-gettext:
11601 @if gettext
11602 maybe-install-gettext: install-gettext
11604 install-gettext: installdirs
11605 @r=`${PWD_COMMAND}`; export r; \
11606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11607 $(HOST_EXPORTS) \
11608 (cd $(HOST_SUBDIR)/gettext && \
11609 $(MAKE) $(FLAGS_TO_PASS) install)
11611 @endif gettext
11613 # Other targets (info, dvi, etc.)
11615 .PHONY: maybe-info-gettext info-gettext
11616 maybe-info-gettext:
11617 @if gettext
11618 maybe-info-gettext: info-gettext
11620 info-gettext: \
11621 configure-gettext
11622 @[ -f ./gettext/Makefile ] || exit 0; \
11623 r=`${PWD_COMMAND}`; export r; \
11624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11625 $(HOST_EXPORTS) \
11626 for flag in $(EXTRA_HOST_FLAGS) ; do \
11627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11628 done; \
11629 echo "Doing info in gettext" ; \
11630 (cd $(HOST_SUBDIR)/gettext && \
11631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11633 "RANLIB=$${RANLIB}" \
11634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11635 info) \
11636 || exit 1
11638 @endif gettext
11640 .PHONY: maybe-dvi-gettext dvi-gettext
11641 maybe-dvi-gettext:
11642 @if gettext
11643 maybe-dvi-gettext: dvi-gettext
11645 dvi-gettext: \
11646 configure-gettext
11647 @[ -f ./gettext/Makefile ] || exit 0; \
11648 r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(HOST_EXPORTS) \
11651 for flag in $(EXTRA_HOST_FLAGS) ; do \
11652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11653 done; \
11654 echo "Doing dvi in gettext" ; \
11655 (cd $(HOST_SUBDIR)/gettext && \
11656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11658 "RANLIB=$${RANLIB}" \
11659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11660 dvi) \
11661 || exit 1
11663 @endif gettext
11665 .PHONY: maybe-html-gettext html-gettext
11666 maybe-html-gettext:
11667 @if gettext
11668 maybe-html-gettext: html-gettext
11670 html-gettext: \
11671 configure-gettext
11672 @[ -f ./gettext/Makefile ] || exit 0; \
11673 r=`${PWD_COMMAND}`; export r; \
11674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11675 $(HOST_EXPORTS) \
11676 for flag in $(EXTRA_HOST_FLAGS) ; do \
11677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11678 done; \
11679 echo "Doing html in gettext" ; \
11680 (cd $(HOST_SUBDIR)/gettext && \
11681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11683 "RANLIB=$${RANLIB}" \
11684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11685 html) \
11686 || exit 1
11688 @endif gettext
11690 .PHONY: maybe-TAGS-gettext TAGS-gettext
11691 maybe-TAGS-gettext:
11692 @if gettext
11693 maybe-TAGS-gettext: TAGS-gettext
11695 TAGS-gettext: \
11696 configure-gettext
11697 @[ -f ./gettext/Makefile ] || exit 0; \
11698 r=`${PWD_COMMAND}`; export r; \
11699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11700 $(HOST_EXPORTS) \
11701 for flag in $(EXTRA_HOST_FLAGS) ; do \
11702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11703 done; \
11704 echo "Doing TAGS in gettext" ; \
11705 (cd $(HOST_SUBDIR)/gettext && \
11706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11708 "RANLIB=$${RANLIB}" \
11709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11710 TAGS) \
11711 || exit 1
11713 @endif gettext
11715 .PHONY: maybe-install-info-gettext install-info-gettext
11716 maybe-install-info-gettext:
11717 @if gettext
11718 maybe-install-info-gettext: install-info-gettext
11720 install-info-gettext: \
11721 configure-gettext \
11722 info-gettext
11723 @[ -f ./gettext/Makefile ] || exit 0; \
11724 r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 $(HOST_EXPORTS) \
11727 for flag in $(EXTRA_HOST_FLAGS) ; do \
11728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11729 done; \
11730 echo "Doing install-info in gettext" ; \
11731 (cd $(HOST_SUBDIR)/gettext && \
11732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11734 "RANLIB=$${RANLIB}" \
11735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11736 install-info) \
11737 || exit 1
11739 @endif gettext
11741 .PHONY: maybe-installcheck-gettext installcheck-gettext
11742 maybe-installcheck-gettext:
11743 @if gettext
11744 maybe-installcheck-gettext: installcheck-gettext
11746 installcheck-gettext: \
11747 configure-gettext
11748 @[ -f ./gettext/Makefile ] || exit 0; \
11749 r=`${PWD_COMMAND}`; export r; \
11750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11751 $(HOST_EXPORTS) \
11752 for flag in $(EXTRA_HOST_FLAGS) ; do \
11753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11754 done; \
11755 echo "Doing installcheck in gettext" ; \
11756 (cd $(HOST_SUBDIR)/gettext && \
11757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11759 "RANLIB=$${RANLIB}" \
11760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11761 installcheck) \
11762 || exit 1
11764 @endif gettext
11766 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
11767 maybe-mostlyclean-gettext:
11768 @if gettext
11769 maybe-mostlyclean-gettext: mostlyclean-gettext
11771 mostlyclean-gettext:
11772 @[ -f ./gettext/Makefile ] || exit 0; \
11773 r=`${PWD_COMMAND}`; export r; \
11774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11775 $(HOST_EXPORTS) \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 echo "Doing mostlyclean in gettext" ; \
11780 (cd $(HOST_SUBDIR)/gettext && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11785 mostlyclean) \
11786 || exit 1
11788 @endif gettext
11790 .PHONY: maybe-clean-gettext clean-gettext
11791 maybe-clean-gettext:
11792 @if gettext
11793 maybe-clean-gettext: clean-gettext
11795 clean-gettext:
11796 @[ -f ./gettext/Makefile ] || exit 0; \
11797 r=`${PWD_COMMAND}`; export r; \
11798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11799 $(HOST_EXPORTS) \
11800 for flag in $(EXTRA_HOST_FLAGS) ; do \
11801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11802 done; \
11803 echo "Doing clean in gettext" ; \
11804 (cd $(HOST_SUBDIR)/gettext && \
11805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11807 "RANLIB=$${RANLIB}" \
11808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11809 clean) \
11810 || exit 1
11812 @endif gettext
11814 .PHONY: maybe-distclean-gettext distclean-gettext
11815 maybe-distclean-gettext:
11816 @if gettext
11817 maybe-distclean-gettext: distclean-gettext
11819 distclean-gettext:
11820 @[ -f ./gettext/Makefile ] || exit 0; \
11821 r=`${PWD_COMMAND}`; export r; \
11822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11823 $(HOST_EXPORTS) \
11824 for flag in $(EXTRA_HOST_FLAGS) ; do \
11825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11826 done; \
11827 echo "Doing distclean in gettext" ; \
11828 (cd $(HOST_SUBDIR)/gettext && \
11829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11831 "RANLIB=$${RANLIB}" \
11832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11833 distclean) \
11834 || exit 1
11836 @endif gettext
11838 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
11839 maybe-maintainer-clean-gettext:
11840 @if gettext
11841 maybe-maintainer-clean-gettext: maintainer-clean-gettext
11843 maintainer-clean-gettext:
11844 @[ -f ./gettext/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847 $(HOST_EXPORTS) \
11848 for flag in $(EXTRA_HOST_FLAGS) ; do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850 done; \
11851 echo "Doing maintainer-clean in gettext" ; \
11852 (cd $(HOST_SUBDIR)/gettext && \
11853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855 "RANLIB=$${RANLIB}" \
11856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11857 maintainer-clean) \
11858 || exit 1
11860 @endif gettext
11864 .PHONY: configure-gnuserv maybe-configure-gnuserv
11865 maybe-configure-gnuserv:
11866 @if gnuserv
11867 maybe-configure-gnuserv: configure-gnuserv
11868 configure-gnuserv:
11869 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
11870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
11871 r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 $(HOST_EXPORTS) \
11874 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
11875 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
11876 case $(srcdir) in \
11877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11878 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
11879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11880 esac; \
11881 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
11882 libsrcdir="$$s/gnuserv"; \
11883 $(SHELL) $${libsrcdir}/configure \
11884 $(HOST_CONFIGARGS) $${srcdiroption} \
11885 || exit 1
11886 @endif gnuserv
11892 .PHONY: all-gnuserv maybe-all-gnuserv
11893 maybe-all-gnuserv:
11894 @if gnuserv
11895 TARGET-gnuserv=all
11896 maybe-all-gnuserv: all-gnuserv
11897 all-gnuserv: configure-gnuserv
11898 @r=`${PWD_COMMAND}`; export r; \
11899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11900 $(HOST_EXPORTS) \
11901 (cd $(HOST_SUBDIR)/gnuserv && \
11902 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
11903 @endif gnuserv
11908 .PHONY: check-gnuserv maybe-check-gnuserv
11909 maybe-check-gnuserv:
11910 @if gnuserv
11911 maybe-check-gnuserv: check-gnuserv
11913 check-gnuserv:
11914 @r=`${PWD_COMMAND}`; export r; \
11915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11916 $(HOST_EXPORTS) \
11917 (cd $(HOST_SUBDIR)/gnuserv && \
11918 $(MAKE) $(FLAGS_TO_PASS) check)
11920 @endif gnuserv
11922 .PHONY: install-gnuserv maybe-install-gnuserv
11923 maybe-install-gnuserv:
11924 @if gnuserv
11925 maybe-install-gnuserv: install-gnuserv
11927 install-gnuserv: installdirs
11928 @r=`${PWD_COMMAND}`; export r; \
11929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11930 $(HOST_EXPORTS) \
11931 (cd $(HOST_SUBDIR)/gnuserv && \
11932 $(MAKE) $(FLAGS_TO_PASS) install)
11934 @endif gnuserv
11936 # Other targets (info, dvi, etc.)
11938 .PHONY: maybe-info-gnuserv info-gnuserv
11939 maybe-info-gnuserv:
11940 @if gnuserv
11941 maybe-info-gnuserv: info-gnuserv
11943 info-gnuserv: \
11944 configure-gnuserv
11945 @[ -f ./gnuserv/Makefile ] || exit 0; \
11946 r=`${PWD_COMMAND}`; export r; \
11947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11948 $(HOST_EXPORTS) \
11949 for flag in $(EXTRA_HOST_FLAGS) ; do \
11950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11951 done; \
11952 echo "Doing info in gnuserv" ; \
11953 (cd $(HOST_SUBDIR)/gnuserv && \
11954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11956 "RANLIB=$${RANLIB}" \
11957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11958 info) \
11959 || exit 1
11961 @endif gnuserv
11963 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
11964 maybe-dvi-gnuserv:
11965 @if gnuserv
11966 maybe-dvi-gnuserv: dvi-gnuserv
11968 dvi-gnuserv: \
11969 configure-gnuserv
11970 @[ -f ./gnuserv/Makefile ] || exit 0; \
11971 r=`${PWD_COMMAND}`; export r; \
11972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11973 $(HOST_EXPORTS) \
11974 for flag in $(EXTRA_HOST_FLAGS) ; do \
11975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11976 done; \
11977 echo "Doing dvi in gnuserv" ; \
11978 (cd $(HOST_SUBDIR)/gnuserv && \
11979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11981 "RANLIB=$${RANLIB}" \
11982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11983 dvi) \
11984 || exit 1
11986 @endif gnuserv
11988 .PHONY: maybe-html-gnuserv html-gnuserv
11989 maybe-html-gnuserv:
11990 @if gnuserv
11991 maybe-html-gnuserv: html-gnuserv
11993 html-gnuserv: \
11994 configure-gnuserv
11995 @[ -f ./gnuserv/Makefile ] || exit 0; \
11996 r=`${PWD_COMMAND}`; export r; \
11997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11998 $(HOST_EXPORTS) \
11999 for flag in $(EXTRA_HOST_FLAGS) ; do \
12000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12001 done; \
12002 echo "Doing html in gnuserv" ; \
12003 (cd $(HOST_SUBDIR)/gnuserv && \
12004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12006 "RANLIB=$${RANLIB}" \
12007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12008 html) \
12009 || exit 1
12011 @endif gnuserv
12013 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12014 maybe-TAGS-gnuserv:
12015 @if gnuserv
12016 maybe-TAGS-gnuserv: TAGS-gnuserv
12018 TAGS-gnuserv: \
12019 configure-gnuserv
12020 @[ -f ./gnuserv/Makefile ] || exit 0; \
12021 r=`${PWD_COMMAND}`; export r; \
12022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12023 $(HOST_EXPORTS) \
12024 for flag in $(EXTRA_HOST_FLAGS) ; do \
12025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12026 done; \
12027 echo "Doing TAGS in gnuserv" ; \
12028 (cd $(HOST_SUBDIR)/gnuserv && \
12029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12031 "RANLIB=$${RANLIB}" \
12032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12033 TAGS) \
12034 || exit 1
12036 @endif gnuserv
12038 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12039 maybe-install-info-gnuserv:
12040 @if gnuserv
12041 maybe-install-info-gnuserv: install-info-gnuserv
12043 install-info-gnuserv: \
12044 configure-gnuserv \
12045 info-gnuserv
12046 @[ -f ./gnuserv/Makefile ] || exit 0; \
12047 r=`${PWD_COMMAND}`; export r; \
12048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12049 $(HOST_EXPORTS) \
12050 for flag in $(EXTRA_HOST_FLAGS) ; do \
12051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12052 done; \
12053 echo "Doing install-info in gnuserv" ; \
12054 (cd $(HOST_SUBDIR)/gnuserv && \
12055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12057 "RANLIB=$${RANLIB}" \
12058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12059 install-info) \
12060 || exit 1
12062 @endif gnuserv
12064 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12065 maybe-installcheck-gnuserv:
12066 @if gnuserv
12067 maybe-installcheck-gnuserv: installcheck-gnuserv
12069 installcheck-gnuserv: \
12070 configure-gnuserv
12071 @[ -f ./gnuserv/Makefile ] || exit 0; \
12072 r=`${PWD_COMMAND}`; export r; \
12073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12074 $(HOST_EXPORTS) \
12075 for flag in $(EXTRA_HOST_FLAGS) ; do \
12076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12077 done; \
12078 echo "Doing installcheck in gnuserv" ; \
12079 (cd $(HOST_SUBDIR)/gnuserv && \
12080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12082 "RANLIB=$${RANLIB}" \
12083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12084 installcheck) \
12085 || exit 1
12087 @endif gnuserv
12089 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12090 maybe-mostlyclean-gnuserv:
12091 @if gnuserv
12092 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12094 mostlyclean-gnuserv:
12095 @[ -f ./gnuserv/Makefile ] || exit 0; \
12096 r=`${PWD_COMMAND}`; export r; \
12097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12098 $(HOST_EXPORTS) \
12099 for flag in $(EXTRA_HOST_FLAGS) ; do \
12100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12101 done; \
12102 echo "Doing mostlyclean in gnuserv" ; \
12103 (cd $(HOST_SUBDIR)/gnuserv && \
12104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12106 "RANLIB=$${RANLIB}" \
12107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12108 mostlyclean) \
12109 || exit 1
12111 @endif gnuserv
12113 .PHONY: maybe-clean-gnuserv clean-gnuserv
12114 maybe-clean-gnuserv:
12115 @if gnuserv
12116 maybe-clean-gnuserv: clean-gnuserv
12118 clean-gnuserv:
12119 @[ -f ./gnuserv/Makefile ] || exit 0; \
12120 r=`${PWD_COMMAND}`; export r; \
12121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12122 $(HOST_EXPORTS) \
12123 for flag in $(EXTRA_HOST_FLAGS) ; do \
12124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12125 done; \
12126 echo "Doing clean in gnuserv" ; \
12127 (cd $(HOST_SUBDIR)/gnuserv && \
12128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12130 "RANLIB=$${RANLIB}" \
12131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12132 clean) \
12133 || exit 1
12135 @endif gnuserv
12137 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12138 maybe-distclean-gnuserv:
12139 @if gnuserv
12140 maybe-distclean-gnuserv: distclean-gnuserv
12142 distclean-gnuserv:
12143 @[ -f ./gnuserv/Makefile ] || exit 0; \
12144 r=`${PWD_COMMAND}`; export r; \
12145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12146 $(HOST_EXPORTS) \
12147 for flag in $(EXTRA_HOST_FLAGS) ; do \
12148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12149 done; \
12150 echo "Doing distclean in gnuserv" ; \
12151 (cd $(HOST_SUBDIR)/gnuserv && \
12152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12154 "RANLIB=$${RANLIB}" \
12155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12156 distclean) \
12157 || exit 1
12159 @endif gnuserv
12161 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12162 maybe-maintainer-clean-gnuserv:
12163 @if gnuserv
12164 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12166 maintainer-clean-gnuserv:
12167 @[ -f ./gnuserv/Makefile ] || exit 0; \
12168 r=`${PWD_COMMAND}`; export r; \
12169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12170 $(HOST_EXPORTS) \
12171 for flag in $(EXTRA_HOST_FLAGS) ; do \
12172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12173 done; \
12174 echo "Doing maintainer-clean in gnuserv" ; \
12175 (cd $(HOST_SUBDIR)/gnuserv && \
12176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12178 "RANLIB=$${RANLIB}" \
12179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12180 maintainer-clean) \
12181 || exit 1
12183 @endif gnuserv
12187 .PHONY: configure-gprof maybe-configure-gprof
12188 maybe-configure-gprof:
12189 @if gprof
12190 maybe-configure-gprof: configure-gprof
12191 configure-gprof:
12192 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12194 r=`${PWD_COMMAND}`; export r; \
12195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12196 $(HOST_EXPORTS) \
12197 echo Configuring in $(HOST_SUBDIR)/gprof; \
12198 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12199 case $(srcdir) in \
12200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12201 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12203 esac; \
12204 srcdiroption="--srcdir=$${topdir}/gprof"; \
12205 libsrcdir="$$s/gprof"; \
12206 $(SHELL) $${libsrcdir}/configure \
12207 $(HOST_CONFIGARGS) $${srcdiroption} \
12208 || exit 1
12209 @endif gprof
12215 .PHONY: all-gprof maybe-all-gprof
12216 maybe-all-gprof:
12217 @if gprof
12218 TARGET-gprof=all
12219 maybe-all-gprof: all-gprof
12220 all-gprof: configure-gprof
12221 @r=`${PWD_COMMAND}`; export r; \
12222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12223 $(HOST_EXPORTS) \
12224 (cd $(HOST_SUBDIR)/gprof && \
12225 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12226 @endif gprof
12231 .PHONY: check-gprof maybe-check-gprof
12232 maybe-check-gprof:
12233 @if gprof
12234 maybe-check-gprof: check-gprof
12236 check-gprof:
12237 @r=`${PWD_COMMAND}`; export r; \
12238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12239 $(HOST_EXPORTS) \
12240 (cd $(HOST_SUBDIR)/gprof && \
12241 $(MAKE) $(FLAGS_TO_PASS) check)
12243 @endif gprof
12245 .PHONY: install-gprof maybe-install-gprof
12246 maybe-install-gprof:
12247 @if gprof
12248 maybe-install-gprof: install-gprof
12250 install-gprof: installdirs
12251 @r=`${PWD_COMMAND}`; export r; \
12252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12253 $(HOST_EXPORTS) \
12254 (cd $(HOST_SUBDIR)/gprof && \
12255 $(MAKE) $(FLAGS_TO_PASS) install)
12257 @endif gprof
12259 # Other targets (info, dvi, etc.)
12261 .PHONY: maybe-info-gprof info-gprof
12262 maybe-info-gprof:
12263 @if gprof
12264 maybe-info-gprof: info-gprof
12266 info-gprof: \
12267 configure-gprof
12268 @[ -f ./gprof/Makefile ] || exit 0; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 for flag in $(EXTRA_HOST_FLAGS) ; do \
12273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12274 done; \
12275 echo "Doing info in gprof" ; \
12276 (cd $(HOST_SUBDIR)/gprof && \
12277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12279 "RANLIB=$${RANLIB}" \
12280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12281 info) \
12282 || exit 1
12284 @endif gprof
12286 .PHONY: maybe-dvi-gprof dvi-gprof
12287 maybe-dvi-gprof:
12288 @if gprof
12289 maybe-dvi-gprof: dvi-gprof
12291 dvi-gprof: \
12292 configure-gprof
12293 @[ -f ./gprof/Makefile ] || exit 0; \
12294 r=`${PWD_COMMAND}`; export r; \
12295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12296 $(HOST_EXPORTS) \
12297 for flag in $(EXTRA_HOST_FLAGS) ; do \
12298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12299 done; \
12300 echo "Doing dvi in gprof" ; \
12301 (cd $(HOST_SUBDIR)/gprof && \
12302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12304 "RANLIB=$${RANLIB}" \
12305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12306 dvi) \
12307 || exit 1
12309 @endif gprof
12311 .PHONY: maybe-html-gprof html-gprof
12312 maybe-html-gprof:
12313 @if gprof
12314 maybe-html-gprof: html-gprof
12316 html-gprof: \
12317 configure-gprof
12318 @[ -f ./gprof/Makefile ] || exit 0; \
12319 r=`${PWD_COMMAND}`; export r; \
12320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12321 $(HOST_EXPORTS) \
12322 for flag in $(EXTRA_HOST_FLAGS) ; do \
12323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12324 done; \
12325 echo "Doing html in gprof" ; \
12326 (cd $(HOST_SUBDIR)/gprof && \
12327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12329 "RANLIB=$${RANLIB}" \
12330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12331 html) \
12332 || exit 1
12334 @endif gprof
12336 .PHONY: maybe-TAGS-gprof TAGS-gprof
12337 maybe-TAGS-gprof:
12338 @if gprof
12339 maybe-TAGS-gprof: TAGS-gprof
12341 TAGS-gprof: \
12342 configure-gprof
12343 @[ -f ./gprof/Makefile ] || exit 0; \
12344 r=`${PWD_COMMAND}`; export r; \
12345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12346 $(HOST_EXPORTS) \
12347 for flag in $(EXTRA_HOST_FLAGS) ; do \
12348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12349 done; \
12350 echo "Doing TAGS in gprof" ; \
12351 (cd $(HOST_SUBDIR)/gprof && \
12352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12354 "RANLIB=$${RANLIB}" \
12355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12356 TAGS) \
12357 || exit 1
12359 @endif gprof
12361 .PHONY: maybe-install-info-gprof install-info-gprof
12362 maybe-install-info-gprof:
12363 @if gprof
12364 maybe-install-info-gprof: install-info-gprof
12366 install-info-gprof: \
12367 configure-gprof \
12368 info-gprof
12369 @[ -f ./gprof/Makefile ] || exit 0; \
12370 r=`${PWD_COMMAND}`; export r; \
12371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12372 $(HOST_EXPORTS) \
12373 for flag in $(EXTRA_HOST_FLAGS) ; do \
12374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12375 done; \
12376 echo "Doing install-info in gprof" ; \
12377 (cd $(HOST_SUBDIR)/gprof && \
12378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12380 "RANLIB=$${RANLIB}" \
12381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12382 install-info) \
12383 || exit 1
12385 @endif gprof
12387 .PHONY: maybe-installcheck-gprof installcheck-gprof
12388 maybe-installcheck-gprof:
12389 @if gprof
12390 maybe-installcheck-gprof: installcheck-gprof
12392 installcheck-gprof: \
12393 configure-gprof
12394 @[ -f ./gprof/Makefile ] || exit 0; \
12395 r=`${PWD_COMMAND}`; export r; \
12396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12397 $(HOST_EXPORTS) \
12398 for flag in $(EXTRA_HOST_FLAGS) ; do \
12399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12400 done; \
12401 echo "Doing installcheck in gprof" ; \
12402 (cd $(HOST_SUBDIR)/gprof && \
12403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12405 "RANLIB=$${RANLIB}" \
12406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12407 installcheck) \
12408 || exit 1
12410 @endif gprof
12412 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12413 maybe-mostlyclean-gprof:
12414 @if gprof
12415 maybe-mostlyclean-gprof: mostlyclean-gprof
12417 mostlyclean-gprof:
12418 @[ -f ./gprof/Makefile ] || exit 0; \
12419 r=`${PWD_COMMAND}`; export r; \
12420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12421 $(HOST_EXPORTS) \
12422 for flag in $(EXTRA_HOST_FLAGS) ; do \
12423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12424 done; \
12425 echo "Doing mostlyclean in gprof" ; \
12426 (cd $(HOST_SUBDIR)/gprof && \
12427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12429 "RANLIB=$${RANLIB}" \
12430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12431 mostlyclean) \
12432 || exit 1
12434 @endif gprof
12436 .PHONY: maybe-clean-gprof clean-gprof
12437 maybe-clean-gprof:
12438 @if gprof
12439 maybe-clean-gprof: clean-gprof
12441 clean-gprof:
12442 @[ -f ./gprof/Makefile ] || exit 0; \
12443 r=`${PWD_COMMAND}`; export r; \
12444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12445 $(HOST_EXPORTS) \
12446 for flag in $(EXTRA_HOST_FLAGS) ; do \
12447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12448 done; \
12449 echo "Doing clean in gprof" ; \
12450 (cd $(HOST_SUBDIR)/gprof && \
12451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12453 "RANLIB=$${RANLIB}" \
12454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12455 clean) \
12456 || exit 1
12458 @endif gprof
12460 .PHONY: maybe-distclean-gprof distclean-gprof
12461 maybe-distclean-gprof:
12462 @if gprof
12463 maybe-distclean-gprof: distclean-gprof
12465 distclean-gprof:
12466 @[ -f ./gprof/Makefile ] || exit 0; \
12467 r=`${PWD_COMMAND}`; export r; \
12468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12469 $(HOST_EXPORTS) \
12470 for flag in $(EXTRA_HOST_FLAGS) ; do \
12471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12472 done; \
12473 echo "Doing distclean in gprof" ; \
12474 (cd $(HOST_SUBDIR)/gprof && \
12475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12477 "RANLIB=$${RANLIB}" \
12478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12479 distclean) \
12480 || exit 1
12482 @endif gprof
12484 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
12485 maybe-maintainer-clean-gprof:
12486 @if gprof
12487 maybe-maintainer-clean-gprof: maintainer-clean-gprof
12489 maintainer-clean-gprof:
12490 @[ -f ./gprof/Makefile ] || exit 0; \
12491 r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 $(HOST_EXPORTS) \
12494 for flag in $(EXTRA_HOST_FLAGS) ; do \
12495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12496 done; \
12497 echo "Doing maintainer-clean in gprof" ; \
12498 (cd $(HOST_SUBDIR)/gprof && \
12499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12501 "RANLIB=$${RANLIB}" \
12502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12503 maintainer-clean) \
12504 || exit 1
12506 @endif gprof
12510 .PHONY: configure-gzip maybe-configure-gzip
12511 maybe-configure-gzip:
12512 @if gzip
12513 maybe-configure-gzip: configure-gzip
12514 configure-gzip:
12515 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
12516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
12517 r=`${PWD_COMMAND}`; export r; \
12518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 $(HOST_EXPORTS) \
12520 echo Configuring in $(HOST_SUBDIR)/gzip; \
12521 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
12522 case $(srcdir) in \
12523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12524 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
12525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12526 esac; \
12527 srcdiroption="--srcdir=$${topdir}/gzip"; \
12528 libsrcdir="$$s/gzip"; \
12529 $(SHELL) $${libsrcdir}/configure \
12530 $(HOST_CONFIGARGS) $${srcdiroption} \
12531 || exit 1
12532 @endif gzip
12538 .PHONY: all-gzip maybe-all-gzip
12539 maybe-all-gzip:
12540 @if gzip
12541 TARGET-gzip=all
12542 maybe-all-gzip: all-gzip
12543 all-gzip: configure-gzip
12544 @r=`${PWD_COMMAND}`; export r; \
12545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12546 $(HOST_EXPORTS) \
12547 (cd $(HOST_SUBDIR)/gzip && \
12548 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
12549 @endif gzip
12554 .PHONY: check-gzip maybe-check-gzip
12555 maybe-check-gzip:
12556 @if gzip
12557 maybe-check-gzip: check-gzip
12559 check-gzip:
12560 @r=`${PWD_COMMAND}`; export r; \
12561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12562 $(HOST_EXPORTS) \
12563 (cd $(HOST_SUBDIR)/gzip && \
12564 $(MAKE) $(FLAGS_TO_PASS) check)
12566 @endif gzip
12568 .PHONY: install-gzip maybe-install-gzip
12569 maybe-install-gzip:
12570 @if gzip
12571 maybe-install-gzip: install-gzip
12573 install-gzip: installdirs
12574 @r=`${PWD_COMMAND}`; export r; \
12575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12576 $(HOST_EXPORTS) \
12577 (cd $(HOST_SUBDIR)/gzip && \
12578 $(MAKE) $(FLAGS_TO_PASS) install)
12580 @endif gzip
12582 # Other targets (info, dvi, etc.)
12584 .PHONY: maybe-info-gzip info-gzip
12585 maybe-info-gzip:
12586 @if gzip
12587 maybe-info-gzip: info-gzip
12589 info-gzip: \
12590 configure-gzip
12591 @[ -f ./gzip/Makefile ] || exit 0; \
12592 r=`${PWD_COMMAND}`; export r; \
12593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12594 $(HOST_EXPORTS) \
12595 for flag in $(EXTRA_HOST_FLAGS) ; do \
12596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12597 done; \
12598 echo "Doing info in gzip" ; \
12599 (cd $(HOST_SUBDIR)/gzip && \
12600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12602 "RANLIB=$${RANLIB}" \
12603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12604 info) \
12605 || exit 1
12607 @endif gzip
12609 .PHONY: maybe-dvi-gzip dvi-gzip
12610 maybe-dvi-gzip:
12611 @if gzip
12612 maybe-dvi-gzip: dvi-gzip
12614 dvi-gzip: \
12615 configure-gzip
12616 @[ -f ./gzip/Makefile ] || exit 0; \
12617 r=`${PWD_COMMAND}`; export r; \
12618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12619 $(HOST_EXPORTS) \
12620 for flag in $(EXTRA_HOST_FLAGS) ; do \
12621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12622 done; \
12623 echo "Doing dvi in gzip" ; \
12624 (cd $(HOST_SUBDIR)/gzip && \
12625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12627 "RANLIB=$${RANLIB}" \
12628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12629 dvi) \
12630 || exit 1
12632 @endif gzip
12634 .PHONY: maybe-html-gzip html-gzip
12635 maybe-html-gzip:
12636 @if gzip
12637 maybe-html-gzip: html-gzip
12639 html-gzip: \
12640 configure-gzip
12641 @[ -f ./gzip/Makefile ] || exit 0; \
12642 r=`${PWD_COMMAND}`; export r; \
12643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12644 $(HOST_EXPORTS) \
12645 for flag in $(EXTRA_HOST_FLAGS) ; do \
12646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12647 done; \
12648 echo "Doing html in gzip" ; \
12649 (cd $(HOST_SUBDIR)/gzip && \
12650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12652 "RANLIB=$${RANLIB}" \
12653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12654 html) \
12655 || exit 1
12657 @endif gzip
12659 .PHONY: maybe-TAGS-gzip TAGS-gzip
12660 maybe-TAGS-gzip:
12661 @if gzip
12662 maybe-TAGS-gzip: TAGS-gzip
12664 TAGS-gzip: \
12665 configure-gzip
12666 @[ -f ./gzip/Makefile ] || exit 0; \
12667 r=`${PWD_COMMAND}`; export r; \
12668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12669 $(HOST_EXPORTS) \
12670 for flag in $(EXTRA_HOST_FLAGS) ; do \
12671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12672 done; \
12673 echo "Doing TAGS in gzip" ; \
12674 (cd $(HOST_SUBDIR)/gzip && \
12675 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12676 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12677 "RANLIB=$${RANLIB}" \
12678 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12679 TAGS) \
12680 || exit 1
12682 @endif gzip
12684 .PHONY: maybe-install-info-gzip install-info-gzip
12685 maybe-install-info-gzip:
12686 @if gzip
12687 maybe-install-info-gzip: install-info-gzip
12689 install-info-gzip: \
12690 configure-gzip \
12691 info-gzip
12692 @[ -f ./gzip/Makefile ] || exit 0; \
12693 r=`${PWD_COMMAND}`; export r; \
12694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12695 $(HOST_EXPORTS) \
12696 for flag in $(EXTRA_HOST_FLAGS) ; do \
12697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12698 done; \
12699 echo "Doing install-info in gzip" ; \
12700 (cd $(HOST_SUBDIR)/gzip && \
12701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12703 "RANLIB=$${RANLIB}" \
12704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12705 install-info) \
12706 || exit 1
12708 @endif gzip
12710 .PHONY: maybe-installcheck-gzip installcheck-gzip
12711 maybe-installcheck-gzip:
12712 @if gzip
12713 maybe-installcheck-gzip: installcheck-gzip
12715 installcheck-gzip: \
12716 configure-gzip
12717 @[ -f ./gzip/Makefile ] || exit 0; \
12718 r=`${PWD_COMMAND}`; export r; \
12719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12720 $(HOST_EXPORTS) \
12721 for flag in $(EXTRA_HOST_FLAGS) ; do \
12722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12723 done; \
12724 echo "Doing installcheck in gzip" ; \
12725 (cd $(HOST_SUBDIR)/gzip && \
12726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12728 "RANLIB=$${RANLIB}" \
12729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12730 installcheck) \
12731 || exit 1
12733 @endif gzip
12735 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
12736 maybe-mostlyclean-gzip:
12737 @if gzip
12738 maybe-mostlyclean-gzip: mostlyclean-gzip
12740 mostlyclean-gzip:
12741 @[ -f ./gzip/Makefile ] || exit 0; \
12742 r=`${PWD_COMMAND}`; export r; \
12743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12744 $(HOST_EXPORTS) \
12745 for flag in $(EXTRA_HOST_FLAGS) ; do \
12746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12747 done; \
12748 echo "Doing mostlyclean in gzip" ; \
12749 (cd $(HOST_SUBDIR)/gzip && \
12750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12752 "RANLIB=$${RANLIB}" \
12753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12754 mostlyclean) \
12755 || exit 1
12757 @endif gzip
12759 .PHONY: maybe-clean-gzip clean-gzip
12760 maybe-clean-gzip:
12761 @if gzip
12762 maybe-clean-gzip: clean-gzip
12764 clean-gzip:
12765 @[ -f ./gzip/Makefile ] || exit 0; \
12766 r=`${PWD_COMMAND}`; export r; \
12767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12768 $(HOST_EXPORTS) \
12769 for flag in $(EXTRA_HOST_FLAGS) ; do \
12770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12771 done; \
12772 echo "Doing clean in gzip" ; \
12773 (cd $(HOST_SUBDIR)/gzip && \
12774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12776 "RANLIB=$${RANLIB}" \
12777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12778 clean) \
12779 || exit 1
12781 @endif gzip
12783 .PHONY: maybe-distclean-gzip distclean-gzip
12784 maybe-distclean-gzip:
12785 @if gzip
12786 maybe-distclean-gzip: distclean-gzip
12788 distclean-gzip:
12789 @[ -f ./gzip/Makefile ] || exit 0; \
12790 r=`${PWD_COMMAND}`; export r; \
12791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12792 $(HOST_EXPORTS) \
12793 for flag in $(EXTRA_HOST_FLAGS) ; do \
12794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12795 done; \
12796 echo "Doing distclean in gzip" ; \
12797 (cd $(HOST_SUBDIR)/gzip && \
12798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12800 "RANLIB=$${RANLIB}" \
12801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12802 distclean) \
12803 || exit 1
12805 @endif gzip
12807 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
12808 maybe-maintainer-clean-gzip:
12809 @if gzip
12810 maybe-maintainer-clean-gzip: maintainer-clean-gzip
12812 maintainer-clean-gzip:
12813 @[ -f ./gzip/Makefile ] || exit 0; \
12814 r=`${PWD_COMMAND}`; export r; \
12815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12816 $(HOST_EXPORTS) \
12817 for flag in $(EXTRA_HOST_FLAGS) ; do \
12818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12819 done; \
12820 echo "Doing maintainer-clean in gzip" ; \
12821 (cd $(HOST_SUBDIR)/gzip && \
12822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12824 "RANLIB=$${RANLIB}" \
12825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12826 maintainer-clean) \
12827 || exit 1
12829 @endif gzip
12833 .PHONY: configure-hello maybe-configure-hello
12834 maybe-configure-hello:
12835 @if hello
12836 maybe-configure-hello: configure-hello
12837 configure-hello:
12838 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
12839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
12840 r=`${PWD_COMMAND}`; export r; \
12841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12842 $(HOST_EXPORTS) \
12843 echo Configuring in $(HOST_SUBDIR)/hello; \
12844 cd "$(HOST_SUBDIR)/hello" || exit 1; \
12845 case $(srcdir) in \
12846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12847 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
12848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12849 esac; \
12850 srcdiroption="--srcdir=$${topdir}/hello"; \
12851 libsrcdir="$$s/hello"; \
12852 $(SHELL) $${libsrcdir}/configure \
12853 $(HOST_CONFIGARGS) $${srcdiroption} \
12854 || exit 1
12855 @endif hello
12861 .PHONY: all-hello maybe-all-hello
12862 maybe-all-hello:
12863 @if hello
12864 TARGET-hello=all
12865 maybe-all-hello: all-hello
12866 all-hello: configure-hello
12867 @r=`${PWD_COMMAND}`; export r; \
12868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12869 $(HOST_EXPORTS) \
12870 (cd $(HOST_SUBDIR)/hello && \
12871 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
12872 @endif hello
12877 .PHONY: check-hello maybe-check-hello
12878 maybe-check-hello:
12879 @if hello
12880 maybe-check-hello: check-hello
12882 check-hello:
12883 @r=`${PWD_COMMAND}`; export r; \
12884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12885 $(HOST_EXPORTS) \
12886 (cd $(HOST_SUBDIR)/hello && \
12887 $(MAKE) $(FLAGS_TO_PASS) check)
12889 @endif hello
12891 .PHONY: install-hello maybe-install-hello
12892 maybe-install-hello:
12893 @if hello
12894 maybe-install-hello: install-hello
12896 install-hello: installdirs
12897 @r=`${PWD_COMMAND}`; export r; \
12898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12899 $(HOST_EXPORTS) \
12900 (cd $(HOST_SUBDIR)/hello && \
12901 $(MAKE) $(FLAGS_TO_PASS) install)
12903 @endif hello
12905 # Other targets (info, dvi, etc.)
12907 .PHONY: maybe-info-hello info-hello
12908 maybe-info-hello:
12909 @if hello
12910 maybe-info-hello: info-hello
12912 info-hello: \
12913 configure-hello
12914 @[ -f ./hello/Makefile ] || exit 0; \
12915 r=`${PWD_COMMAND}`; export r; \
12916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12917 $(HOST_EXPORTS) \
12918 for flag in $(EXTRA_HOST_FLAGS) ; do \
12919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12920 done; \
12921 echo "Doing info in hello" ; \
12922 (cd $(HOST_SUBDIR)/hello && \
12923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12925 "RANLIB=$${RANLIB}" \
12926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12927 info) \
12928 || exit 1
12930 @endif hello
12932 .PHONY: maybe-dvi-hello dvi-hello
12933 maybe-dvi-hello:
12934 @if hello
12935 maybe-dvi-hello: dvi-hello
12937 dvi-hello: \
12938 configure-hello
12939 @[ -f ./hello/Makefile ] || exit 0; \
12940 r=`${PWD_COMMAND}`; export r; \
12941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12942 $(HOST_EXPORTS) \
12943 for flag in $(EXTRA_HOST_FLAGS) ; do \
12944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12945 done; \
12946 echo "Doing dvi in hello" ; \
12947 (cd $(HOST_SUBDIR)/hello && \
12948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12950 "RANLIB=$${RANLIB}" \
12951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12952 dvi) \
12953 || exit 1
12955 @endif hello
12957 .PHONY: maybe-html-hello html-hello
12958 maybe-html-hello:
12959 @if hello
12960 maybe-html-hello: html-hello
12962 html-hello: \
12963 configure-hello
12964 @[ -f ./hello/Makefile ] || exit 0; \
12965 r=`${PWD_COMMAND}`; export r; \
12966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12967 $(HOST_EXPORTS) \
12968 for flag in $(EXTRA_HOST_FLAGS) ; do \
12969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12970 done; \
12971 echo "Doing html in hello" ; \
12972 (cd $(HOST_SUBDIR)/hello && \
12973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12975 "RANLIB=$${RANLIB}" \
12976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12977 html) \
12978 || exit 1
12980 @endif hello
12982 .PHONY: maybe-TAGS-hello TAGS-hello
12983 maybe-TAGS-hello:
12984 @if hello
12985 maybe-TAGS-hello: TAGS-hello
12987 TAGS-hello: \
12988 configure-hello
12989 @[ -f ./hello/Makefile ] || exit 0; \
12990 r=`${PWD_COMMAND}`; export r; \
12991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12992 $(HOST_EXPORTS) \
12993 for flag in $(EXTRA_HOST_FLAGS) ; do \
12994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12995 done; \
12996 echo "Doing TAGS in hello" ; \
12997 (cd $(HOST_SUBDIR)/hello && \
12998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13000 "RANLIB=$${RANLIB}" \
13001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13002 TAGS) \
13003 || exit 1
13005 @endif hello
13007 .PHONY: maybe-install-info-hello install-info-hello
13008 maybe-install-info-hello:
13009 @if hello
13010 maybe-install-info-hello: install-info-hello
13012 install-info-hello: \
13013 configure-hello \
13014 info-hello
13015 @[ -f ./hello/Makefile ] || exit 0; \
13016 r=`${PWD_COMMAND}`; export r; \
13017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13018 $(HOST_EXPORTS) \
13019 for flag in $(EXTRA_HOST_FLAGS) ; do \
13020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13021 done; \
13022 echo "Doing install-info in hello" ; \
13023 (cd $(HOST_SUBDIR)/hello && \
13024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13026 "RANLIB=$${RANLIB}" \
13027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13028 install-info) \
13029 || exit 1
13031 @endif hello
13033 .PHONY: maybe-installcheck-hello installcheck-hello
13034 maybe-installcheck-hello:
13035 @if hello
13036 maybe-installcheck-hello: installcheck-hello
13038 installcheck-hello: \
13039 configure-hello
13040 @[ -f ./hello/Makefile ] || exit 0; \
13041 r=`${PWD_COMMAND}`; export r; \
13042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13043 $(HOST_EXPORTS) \
13044 for flag in $(EXTRA_HOST_FLAGS) ; do \
13045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13046 done; \
13047 echo "Doing installcheck in hello" ; \
13048 (cd $(HOST_SUBDIR)/hello && \
13049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13051 "RANLIB=$${RANLIB}" \
13052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13053 installcheck) \
13054 || exit 1
13056 @endif hello
13058 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13059 maybe-mostlyclean-hello:
13060 @if hello
13061 maybe-mostlyclean-hello: mostlyclean-hello
13063 mostlyclean-hello:
13064 @[ -f ./hello/Makefile ] || exit 0; \
13065 r=`${PWD_COMMAND}`; export r; \
13066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13067 $(HOST_EXPORTS) \
13068 for flag in $(EXTRA_HOST_FLAGS) ; do \
13069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13070 done; \
13071 echo "Doing mostlyclean in hello" ; \
13072 (cd $(HOST_SUBDIR)/hello && \
13073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13075 "RANLIB=$${RANLIB}" \
13076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13077 mostlyclean) \
13078 || exit 1
13080 @endif hello
13082 .PHONY: maybe-clean-hello clean-hello
13083 maybe-clean-hello:
13084 @if hello
13085 maybe-clean-hello: clean-hello
13087 clean-hello:
13088 @[ -f ./hello/Makefile ] || exit 0; \
13089 r=`${PWD_COMMAND}`; export r; \
13090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13091 $(HOST_EXPORTS) \
13092 for flag in $(EXTRA_HOST_FLAGS) ; do \
13093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13094 done; \
13095 echo "Doing clean in hello" ; \
13096 (cd $(HOST_SUBDIR)/hello && \
13097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13099 "RANLIB=$${RANLIB}" \
13100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13101 clean) \
13102 || exit 1
13104 @endif hello
13106 .PHONY: maybe-distclean-hello distclean-hello
13107 maybe-distclean-hello:
13108 @if hello
13109 maybe-distclean-hello: distclean-hello
13111 distclean-hello:
13112 @[ -f ./hello/Makefile ] || exit 0; \
13113 r=`${PWD_COMMAND}`; export r; \
13114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13115 $(HOST_EXPORTS) \
13116 for flag in $(EXTRA_HOST_FLAGS) ; do \
13117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13118 done; \
13119 echo "Doing distclean in hello" ; \
13120 (cd $(HOST_SUBDIR)/hello && \
13121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13123 "RANLIB=$${RANLIB}" \
13124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13125 distclean) \
13126 || exit 1
13128 @endif hello
13130 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13131 maybe-maintainer-clean-hello:
13132 @if hello
13133 maybe-maintainer-clean-hello: maintainer-clean-hello
13135 maintainer-clean-hello:
13136 @[ -f ./hello/Makefile ] || exit 0; \
13137 r=`${PWD_COMMAND}`; export r; \
13138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13139 $(HOST_EXPORTS) \
13140 for flag in $(EXTRA_HOST_FLAGS) ; do \
13141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13142 done; \
13143 echo "Doing maintainer-clean in hello" ; \
13144 (cd $(HOST_SUBDIR)/hello && \
13145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13147 "RANLIB=$${RANLIB}" \
13148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13149 maintainer-clean) \
13150 || exit 1
13152 @endif hello
13156 .PHONY: configure-indent maybe-configure-indent
13157 maybe-configure-indent:
13158 @if indent
13159 maybe-configure-indent: configure-indent
13160 configure-indent:
13161 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13163 r=`${PWD_COMMAND}`; export r; \
13164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13165 $(HOST_EXPORTS) \
13166 echo Configuring in $(HOST_SUBDIR)/indent; \
13167 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13168 case $(srcdir) in \
13169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13170 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13172 esac; \
13173 srcdiroption="--srcdir=$${topdir}/indent"; \
13174 libsrcdir="$$s/indent"; \
13175 $(SHELL) $${libsrcdir}/configure \
13176 $(HOST_CONFIGARGS) $${srcdiroption} \
13177 || exit 1
13178 @endif indent
13184 .PHONY: all-indent maybe-all-indent
13185 maybe-all-indent:
13186 @if indent
13187 TARGET-indent=all
13188 maybe-all-indent: all-indent
13189 all-indent: configure-indent
13190 @r=`${PWD_COMMAND}`; export r; \
13191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13192 $(HOST_EXPORTS) \
13193 (cd $(HOST_SUBDIR)/indent && \
13194 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13195 @endif indent
13200 .PHONY: check-indent maybe-check-indent
13201 maybe-check-indent:
13202 @if indent
13203 maybe-check-indent: check-indent
13205 check-indent:
13206 @r=`${PWD_COMMAND}`; export r; \
13207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13208 $(HOST_EXPORTS) \
13209 (cd $(HOST_SUBDIR)/indent && \
13210 $(MAKE) $(FLAGS_TO_PASS) check)
13212 @endif indent
13214 .PHONY: install-indent maybe-install-indent
13215 maybe-install-indent:
13216 @if indent
13217 maybe-install-indent: install-indent
13219 install-indent: installdirs
13220 @r=`${PWD_COMMAND}`; export r; \
13221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13222 $(HOST_EXPORTS) \
13223 (cd $(HOST_SUBDIR)/indent && \
13224 $(MAKE) $(FLAGS_TO_PASS) install)
13226 @endif indent
13228 # Other targets (info, dvi, etc.)
13230 .PHONY: maybe-info-indent info-indent
13231 maybe-info-indent:
13232 @if indent
13233 maybe-info-indent: info-indent
13235 info-indent: \
13236 configure-indent
13237 @[ -f ./indent/Makefile ] || exit 0; \
13238 r=`${PWD_COMMAND}`; export r; \
13239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13240 $(HOST_EXPORTS) \
13241 for flag in $(EXTRA_HOST_FLAGS) ; do \
13242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13243 done; \
13244 echo "Doing info in indent" ; \
13245 (cd $(HOST_SUBDIR)/indent && \
13246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13248 "RANLIB=$${RANLIB}" \
13249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13250 info) \
13251 || exit 1
13253 @endif indent
13255 .PHONY: maybe-dvi-indent dvi-indent
13256 maybe-dvi-indent:
13257 @if indent
13258 maybe-dvi-indent: dvi-indent
13260 dvi-indent: \
13261 configure-indent
13262 @[ -f ./indent/Makefile ] || exit 0; \
13263 r=`${PWD_COMMAND}`; export r; \
13264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13265 $(HOST_EXPORTS) \
13266 for flag in $(EXTRA_HOST_FLAGS) ; do \
13267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13268 done; \
13269 echo "Doing dvi in indent" ; \
13270 (cd $(HOST_SUBDIR)/indent && \
13271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13273 "RANLIB=$${RANLIB}" \
13274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13275 dvi) \
13276 || exit 1
13278 @endif indent
13280 .PHONY: maybe-html-indent html-indent
13281 maybe-html-indent:
13282 @if indent
13283 maybe-html-indent: html-indent
13285 html-indent: \
13286 configure-indent
13287 @[ -f ./indent/Makefile ] || exit 0; \
13288 r=`${PWD_COMMAND}`; export r; \
13289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13290 $(HOST_EXPORTS) \
13291 for flag in $(EXTRA_HOST_FLAGS) ; do \
13292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13293 done; \
13294 echo "Doing html in indent" ; \
13295 (cd $(HOST_SUBDIR)/indent && \
13296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13298 "RANLIB=$${RANLIB}" \
13299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13300 html) \
13301 || exit 1
13303 @endif indent
13305 .PHONY: maybe-TAGS-indent TAGS-indent
13306 maybe-TAGS-indent:
13307 @if indent
13308 maybe-TAGS-indent: TAGS-indent
13310 TAGS-indent: \
13311 configure-indent
13312 @[ -f ./indent/Makefile ] || exit 0; \
13313 r=`${PWD_COMMAND}`; export r; \
13314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13315 $(HOST_EXPORTS) \
13316 for flag in $(EXTRA_HOST_FLAGS) ; do \
13317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13318 done; \
13319 echo "Doing TAGS in indent" ; \
13320 (cd $(HOST_SUBDIR)/indent && \
13321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13323 "RANLIB=$${RANLIB}" \
13324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13325 TAGS) \
13326 || exit 1
13328 @endif indent
13330 .PHONY: maybe-install-info-indent install-info-indent
13331 maybe-install-info-indent:
13332 @if indent
13333 maybe-install-info-indent: install-info-indent
13335 install-info-indent: \
13336 configure-indent \
13337 info-indent
13338 @[ -f ./indent/Makefile ] || exit 0; \
13339 r=`${PWD_COMMAND}`; export r; \
13340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13341 $(HOST_EXPORTS) \
13342 for flag in $(EXTRA_HOST_FLAGS) ; do \
13343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13344 done; \
13345 echo "Doing install-info in indent" ; \
13346 (cd $(HOST_SUBDIR)/indent && \
13347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13349 "RANLIB=$${RANLIB}" \
13350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13351 install-info) \
13352 || exit 1
13354 @endif indent
13356 .PHONY: maybe-installcheck-indent installcheck-indent
13357 maybe-installcheck-indent:
13358 @if indent
13359 maybe-installcheck-indent: installcheck-indent
13361 installcheck-indent: \
13362 configure-indent
13363 @[ -f ./indent/Makefile ] || exit 0; \
13364 r=`${PWD_COMMAND}`; export r; \
13365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13366 $(HOST_EXPORTS) \
13367 for flag in $(EXTRA_HOST_FLAGS) ; do \
13368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13369 done; \
13370 echo "Doing installcheck in indent" ; \
13371 (cd $(HOST_SUBDIR)/indent && \
13372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13374 "RANLIB=$${RANLIB}" \
13375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13376 installcheck) \
13377 || exit 1
13379 @endif indent
13381 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13382 maybe-mostlyclean-indent:
13383 @if indent
13384 maybe-mostlyclean-indent: mostlyclean-indent
13386 mostlyclean-indent:
13387 @[ -f ./indent/Makefile ] || exit 0; \
13388 r=`${PWD_COMMAND}`; export r; \
13389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13390 $(HOST_EXPORTS) \
13391 for flag in $(EXTRA_HOST_FLAGS) ; do \
13392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13393 done; \
13394 echo "Doing mostlyclean in indent" ; \
13395 (cd $(HOST_SUBDIR)/indent && \
13396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13398 "RANLIB=$${RANLIB}" \
13399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13400 mostlyclean) \
13401 || exit 1
13403 @endif indent
13405 .PHONY: maybe-clean-indent clean-indent
13406 maybe-clean-indent:
13407 @if indent
13408 maybe-clean-indent: clean-indent
13410 clean-indent:
13411 @[ -f ./indent/Makefile ] || exit 0; \
13412 r=`${PWD_COMMAND}`; export r; \
13413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13414 $(HOST_EXPORTS) \
13415 for flag in $(EXTRA_HOST_FLAGS) ; do \
13416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13417 done; \
13418 echo "Doing clean in indent" ; \
13419 (cd $(HOST_SUBDIR)/indent && \
13420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13422 "RANLIB=$${RANLIB}" \
13423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13424 clean) \
13425 || exit 1
13427 @endif indent
13429 .PHONY: maybe-distclean-indent distclean-indent
13430 maybe-distclean-indent:
13431 @if indent
13432 maybe-distclean-indent: distclean-indent
13434 distclean-indent:
13435 @[ -f ./indent/Makefile ] || exit 0; \
13436 r=`${PWD_COMMAND}`; export r; \
13437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13438 $(HOST_EXPORTS) \
13439 for flag in $(EXTRA_HOST_FLAGS) ; do \
13440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13441 done; \
13442 echo "Doing distclean in indent" ; \
13443 (cd $(HOST_SUBDIR)/indent && \
13444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13446 "RANLIB=$${RANLIB}" \
13447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13448 distclean) \
13449 || exit 1
13451 @endif indent
13453 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
13454 maybe-maintainer-clean-indent:
13455 @if indent
13456 maybe-maintainer-clean-indent: maintainer-clean-indent
13458 maintainer-clean-indent:
13459 @[ -f ./indent/Makefile ] || exit 0; \
13460 r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462 $(HOST_EXPORTS) \
13463 for flag in $(EXTRA_HOST_FLAGS) ; do \
13464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13465 done; \
13466 echo "Doing maintainer-clean in indent" ; \
13467 (cd $(HOST_SUBDIR)/indent && \
13468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13470 "RANLIB=$${RANLIB}" \
13471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13472 maintainer-clean) \
13473 || exit 1
13475 @endif indent
13479 .PHONY: configure-intl maybe-configure-intl
13480 maybe-configure-intl:
13481 @if intl
13482 maybe-configure-intl: configure-intl
13483 configure-intl:
13484 @test -f stage_last && exit 0; \
13485 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
13486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
13487 r=`${PWD_COMMAND}`; export r; \
13488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13489 $(HOST_EXPORTS) \
13490 echo Configuring in $(HOST_SUBDIR)/intl; \
13491 cd "$(HOST_SUBDIR)/intl" || exit 1; \
13492 case $(srcdir) in \
13493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13494 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13496 esac; \
13497 srcdiroption="--srcdir=$${topdir}/intl"; \
13498 libsrcdir="$$s/intl"; \
13499 $(SHELL) $${libsrcdir}/configure \
13500 $(HOST_CONFIGARGS) $${srcdiroption} \
13501 || exit 1
13502 @endif intl
13506 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
13507 maybe-configure-stage1-intl:
13508 @if intl-bootstrap
13509 maybe-configure-stage1-intl: configure-stage1-intl
13510 configure-stage1-intl:
13511 @$(MAKE) stage1-start
13512 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13513 r=`${PWD_COMMAND}`; export r; \
13514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13515 $(HOST_EXPORTS) \
13516 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
13517 cd $(HOST_SUBDIR)/intl || exit 1; \
13518 case $(srcdir) in \
13519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13520 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13522 esac; \
13523 srcdiroption="--srcdir=$${topdir}/intl"; \
13524 libsrcdir="$$s/intl"; \
13525 $(SHELL) $${libsrcdir}/configure \
13526 $(HOST_CONFIGARGS) $${srcdiroption} \
13527 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
13528 @endif intl-bootstrap
13530 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
13531 maybe-configure-stage2-intl:
13532 @if intl-bootstrap
13533 maybe-configure-stage2-intl: configure-stage2-intl
13534 configure-stage2-intl:
13535 @$(MAKE) stage2-start
13536 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13537 r=`${PWD_COMMAND}`; export r; \
13538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13539 $(HOST_EXPORTS) \
13540 $(POSTSTAGE1_HOST_EXPORTS) \
13541 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
13542 cd $(HOST_SUBDIR)/intl || exit 1; \
13543 case $(srcdir) in \
13544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13545 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13547 esac; \
13548 srcdiroption="--srcdir=$${topdir}/intl"; \
13549 libsrcdir="$$s/intl"; \
13550 $(SHELL) $${libsrcdir}/configure \
13551 $(HOST_CONFIGARGS) $${srcdiroption} \
13552 @stage2_werror_flag@
13553 @endif intl-bootstrap
13555 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
13556 maybe-configure-stage3-intl:
13557 @if intl-bootstrap
13558 maybe-configure-stage3-intl: configure-stage3-intl
13559 configure-stage3-intl:
13560 @$(MAKE) stage3-start
13561 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13562 r=`${PWD_COMMAND}`; export r; \
13563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13564 $(HOST_EXPORTS) \
13565 $(POSTSTAGE1_HOST_EXPORTS) \
13566 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
13567 cd $(HOST_SUBDIR)/intl || exit 1; \
13568 case $(srcdir) in \
13569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13570 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13572 esac; \
13573 srcdiroption="--srcdir=$${topdir}/intl"; \
13574 libsrcdir="$$s/intl"; \
13575 $(SHELL) $${libsrcdir}/configure \
13576 $(HOST_CONFIGARGS) $${srcdiroption} \
13577 @stage2_werror_flag@
13578 @endif intl-bootstrap
13580 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
13581 maybe-configure-stage4-intl:
13582 @if intl-bootstrap
13583 maybe-configure-stage4-intl: configure-stage4-intl
13584 configure-stage4-intl:
13585 @$(MAKE) stage4-start
13586 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13587 r=`${PWD_COMMAND}`; export r; \
13588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13589 $(HOST_EXPORTS) \
13590 $(POSTSTAGE1_HOST_EXPORTS) \
13591 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
13592 cd $(HOST_SUBDIR)/intl || exit 1; \
13593 case $(srcdir) in \
13594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13595 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13597 esac; \
13598 srcdiroption="--srcdir=$${topdir}/intl"; \
13599 libsrcdir="$$s/intl"; \
13600 $(SHELL) $${libsrcdir}/configure \
13601 $(HOST_CONFIGARGS) $${srcdiroption} \
13602 @stage2_werror_flag@
13603 @endif intl-bootstrap
13605 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
13606 maybe-configure-stageprofile-intl:
13607 @if intl-bootstrap
13608 maybe-configure-stageprofile-intl: configure-stageprofile-intl
13609 configure-stageprofile-intl:
13610 @$(MAKE) stageprofile-start
13611 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13612 r=`${PWD_COMMAND}`; export r; \
13613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13614 $(HOST_EXPORTS) \
13615 $(POSTSTAGE1_HOST_EXPORTS) \
13616 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
13617 cd $(HOST_SUBDIR)/intl || exit 1; \
13618 case $(srcdir) in \
13619 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13620 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13621 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13622 esac; \
13623 srcdiroption="--srcdir=$${topdir}/intl"; \
13624 libsrcdir="$$s/intl"; \
13625 $(SHELL) $${libsrcdir}/configure \
13626 $(HOST_CONFIGARGS) $${srcdiroption} \
13627 @stage2_werror_flag@
13628 @endif intl-bootstrap
13630 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
13631 maybe-configure-stagefeedback-intl:
13632 @if intl-bootstrap
13633 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
13634 configure-stagefeedback-intl:
13635 @$(MAKE) stagefeedback-start
13636 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
13637 r=`${PWD_COMMAND}`; export r; \
13638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13639 $(HOST_EXPORTS) \
13640 $(POSTSTAGE1_HOST_EXPORTS) \
13641 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
13642 cd $(HOST_SUBDIR)/intl || exit 1; \
13643 case $(srcdir) in \
13644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13645 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
13646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13647 esac; \
13648 srcdiroption="--srcdir=$${topdir}/intl"; \
13649 libsrcdir="$$s/intl"; \
13650 $(SHELL) $${libsrcdir}/configure \
13651 $(HOST_CONFIGARGS) $${srcdiroption} \
13652 @stage2_werror_flag@
13653 @endif intl-bootstrap
13659 .PHONY: all-intl maybe-all-intl
13660 maybe-all-intl:
13661 @if intl
13662 TARGET-intl=all
13663 maybe-all-intl: all-intl
13664 all-intl: configure-intl
13665 @test -f stage_last && exit 0; \
13666 r=`${PWD_COMMAND}`; export r; \
13667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13668 $(HOST_EXPORTS) \
13669 (cd $(HOST_SUBDIR)/intl && \
13670 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
13671 @endif intl
13675 .PHONY: all-stage1-intl maybe-all-stage1-intl
13676 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
13677 maybe-all-stage1-intl:
13678 maybe-clean-stage1-intl:
13679 @if intl-bootstrap
13680 maybe-all-stage1-intl: all-stage1-intl
13681 all-stage1: all-stage1-intl
13682 all-stage1-intl: configure-stage1-intl
13683 @$(MAKE) stage1-start
13684 @r=`${PWD_COMMAND}`; export r; \
13685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13686 $(HOST_EXPORTS) \
13687 cd $(HOST_SUBDIR)/intl && \
13688 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
13690 maybe-clean-stage1-intl: clean-stage1-intl
13691 clean-stage1: clean-stage1-intl
13692 clean-stage1-intl:
13693 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
13694 || exit 0 ; \
13695 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage1-start ; \
13696 cd $(HOST_SUBDIR)/intl && \
13697 $(MAKE) $(FLAGS_TO_PASS) \
13698 CFLAGS="$(STAGE1_CFLAGS)" clean
13699 @endif intl-bootstrap
13702 .PHONY: all-stage2-intl maybe-all-stage2-intl
13703 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
13704 maybe-all-stage2-intl:
13705 maybe-clean-stage2-intl:
13706 @if intl-bootstrap
13707 maybe-all-stage2-intl: all-stage2-intl
13708 all-stage2: all-stage2-intl
13709 all-stage2-intl: configure-stage2-intl
13710 @$(MAKE) stage2-start
13711 @r=`${PWD_COMMAND}`; export r; \
13712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13713 $(HOST_EXPORTS) \
13714 $(POSTSTAGE1_HOST_EXPORTS) \
13715 cd $(HOST_SUBDIR)/intl && \
13716 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13718 maybe-clean-stage2-intl: clean-stage2-intl
13719 clean-stage2: clean-stage2-intl
13720 clean-stage2-intl:
13721 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
13722 || exit 0 ; \
13723 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage2-start ; \
13724 cd $(HOST_SUBDIR)/intl && \
13725 $(MAKE) $(FLAGS_TO_PASS) \
13726 $(POSTSTAGE1_FLAGS_TO_PASS) \
13727 clean
13728 @endif intl-bootstrap
13731 .PHONY: all-stage3-intl maybe-all-stage3-intl
13732 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
13733 maybe-all-stage3-intl:
13734 maybe-clean-stage3-intl:
13735 @if intl-bootstrap
13736 maybe-all-stage3-intl: all-stage3-intl
13737 all-stage3: all-stage3-intl
13738 all-stage3-intl: configure-stage3-intl
13739 @$(MAKE) stage3-start
13740 @r=`${PWD_COMMAND}`; export r; \
13741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13742 $(HOST_EXPORTS) \
13743 $(POSTSTAGE1_HOST_EXPORTS) \
13744 cd $(HOST_SUBDIR)/intl && \
13745 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13747 maybe-clean-stage3-intl: clean-stage3-intl
13748 clean-stage3: clean-stage3-intl
13749 clean-stage3-intl:
13750 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
13751 || exit 0 ; \
13752 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage3-start ; \
13753 cd $(HOST_SUBDIR)/intl && \
13754 $(MAKE) $(FLAGS_TO_PASS) \
13755 $(POSTSTAGE1_FLAGS_TO_PASS) \
13756 clean
13757 @endif intl-bootstrap
13760 .PHONY: all-stage4-intl maybe-all-stage4-intl
13761 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
13762 maybe-all-stage4-intl:
13763 maybe-clean-stage4-intl:
13764 @if intl-bootstrap
13765 maybe-all-stage4-intl: all-stage4-intl
13766 all-stage4: all-stage4-intl
13767 all-stage4-intl: configure-stage4-intl
13768 @$(MAKE) stage4-start
13769 @r=`${PWD_COMMAND}`; export r; \
13770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13771 $(HOST_EXPORTS) \
13772 $(POSTSTAGE1_HOST_EXPORTS) \
13773 cd $(HOST_SUBDIR)/intl && \
13774 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
13776 maybe-clean-stage4-intl: clean-stage4-intl
13777 clean-stage4: clean-stage4-intl
13778 clean-stage4-intl:
13779 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
13780 || exit 0 ; \
13781 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stage4-start ; \
13782 cd $(HOST_SUBDIR)/intl && \
13783 $(MAKE) $(FLAGS_TO_PASS) \
13784 $(POSTSTAGE1_FLAGS_TO_PASS) \
13785 clean
13786 @endif intl-bootstrap
13789 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
13790 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
13791 maybe-all-stageprofile-intl:
13792 maybe-clean-stageprofile-intl:
13793 @if intl-bootstrap
13794 maybe-all-stageprofile-intl: all-stageprofile-intl
13795 all-stageprofile: all-stageprofile-intl
13796 all-stageprofile-intl: configure-stageprofile-intl
13797 @$(MAKE) stageprofile-start
13798 @r=`${PWD_COMMAND}`; export r; \
13799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13800 $(HOST_EXPORTS) \
13801 $(POSTSTAGE1_HOST_EXPORTS) \
13802 cd $(HOST_SUBDIR)/intl && \
13803 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
13805 maybe-clean-stageprofile-intl: clean-stageprofile-intl
13806 clean-stageprofile: clean-stageprofile-intl
13807 clean-stageprofile-intl:
13808 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
13809 || exit 0 ; \
13810 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stageprofile-start ; \
13811 cd $(HOST_SUBDIR)/intl && \
13812 $(MAKE) $(FLAGS_TO_PASS) \
13813 $(POSTSTAGE1_FLAGS_TO_PASS) \
13814 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
13815 @endif intl-bootstrap
13818 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
13819 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
13820 maybe-all-stagefeedback-intl:
13821 maybe-clean-stagefeedback-intl:
13822 @if intl-bootstrap
13823 maybe-all-stagefeedback-intl: all-stagefeedback-intl
13824 all-stagefeedback: all-stagefeedback-intl
13825 all-stagefeedback-intl: configure-stagefeedback-intl
13826 @$(MAKE) stagefeedback-start
13827 @r=`${PWD_COMMAND}`; export r; \
13828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13829 $(HOST_EXPORTS) \
13830 $(POSTSTAGE1_HOST_EXPORTS) \
13831 cd $(HOST_SUBDIR)/intl && \
13832 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
13834 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
13835 clean-stagefeedback: clean-stagefeedback-intl
13836 clean-stagefeedback-intl:
13837 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
13838 || exit 0 ; \
13839 [ -f $(HOST_SUBDIR)/intl/Makefile ] || $(MAKE) stagefeedback-start ; \
13840 cd $(HOST_SUBDIR)/intl && \
13841 $(MAKE) $(FLAGS_TO_PASS) \
13842 $(POSTSTAGE1_FLAGS_TO_PASS) \
13843 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
13844 @endif intl-bootstrap
13850 .PHONY: check-intl maybe-check-intl
13851 maybe-check-intl:
13852 @if intl
13853 maybe-check-intl: check-intl
13855 check-intl:
13856 @r=`${PWD_COMMAND}`; export r; \
13857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13858 $(HOST_EXPORTS) \
13859 (cd $(HOST_SUBDIR)/intl && \
13860 $(MAKE) $(FLAGS_TO_PASS) check)
13862 @endif intl
13864 .PHONY: install-intl maybe-install-intl
13865 maybe-install-intl:
13866 @if intl
13867 maybe-install-intl: install-intl
13869 install-intl: installdirs
13870 @r=`${PWD_COMMAND}`; export r; \
13871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13872 $(HOST_EXPORTS) \
13873 (cd $(HOST_SUBDIR)/intl && \
13874 $(MAKE) $(FLAGS_TO_PASS) install)
13876 @endif intl
13878 # Other targets (info, dvi, etc.)
13880 .PHONY: maybe-info-intl info-intl
13881 maybe-info-intl:
13882 @if intl
13883 maybe-info-intl: info-intl
13885 info-intl: \
13886 configure-intl
13887 @[ -f ./intl/Makefile ] || exit 0; \
13888 r=`${PWD_COMMAND}`; export r; \
13889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13890 $(HOST_EXPORTS) \
13891 for flag in $(EXTRA_HOST_FLAGS) ; do \
13892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13893 done; \
13894 echo "Doing info in intl" ; \
13895 (cd $(HOST_SUBDIR)/intl && \
13896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13898 "RANLIB=$${RANLIB}" \
13899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13900 info) \
13901 || exit 1
13903 @endif intl
13905 .PHONY: maybe-dvi-intl dvi-intl
13906 maybe-dvi-intl:
13907 @if intl
13908 maybe-dvi-intl: dvi-intl
13910 dvi-intl: \
13911 configure-intl
13912 @[ -f ./intl/Makefile ] || exit 0; \
13913 r=`${PWD_COMMAND}`; export r; \
13914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13915 $(HOST_EXPORTS) \
13916 for flag in $(EXTRA_HOST_FLAGS) ; do \
13917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13918 done; \
13919 echo "Doing dvi in intl" ; \
13920 (cd $(HOST_SUBDIR)/intl && \
13921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13923 "RANLIB=$${RANLIB}" \
13924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13925 dvi) \
13926 || exit 1
13928 @endif intl
13930 .PHONY: maybe-html-intl html-intl
13931 maybe-html-intl:
13932 @if intl
13933 maybe-html-intl: html-intl
13935 html-intl: \
13936 configure-intl
13937 @[ -f ./intl/Makefile ] || exit 0; \
13938 r=`${PWD_COMMAND}`; export r; \
13939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13940 $(HOST_EXPORTS) \
13941 for flag in $(EXTRA_HOST_FLAGS) ; do \
13942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13943 done; \
13944 echo "Doing html in intl" ; \
13945 (cd $(HOST_SUBDIR)/intl && \
13946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13948 "RANLIB=$${RANLIB}" \
13949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13950 html) \
13951 || exit 1
13953 @endif intl
13955 .PHONY: maybe-TAGS-intl TAGS-intl
13956 maybe-TAGS-intl:
13957 @if intl
13958 maybe-TAGS-intl: TAGS-intl
13960 TAGS-intl: \
13961 configure-intl
13962 @[ -f ./intl/Makefile ] || exit 0; \
13963 r=`${PWD_COMMAND}`; export r; \
13964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13965 $(HOST_EXPORTS) \
13966 for flag in $(EXTRA_HOST_FLAGS) ; do \
13967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13968 done; \
13969 echo "Doing TAGS in intl" ; \
13970 (cd $(HOST_SUBDIR)/intl && \
13971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13973 "RANLIB=$${RANLIB}" \
13974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13975 TAGS) \
13976 || exit 1
13978 @endif intl
13980 .PHONY: maybe-install-info-intl install-info-intl
13981 maybe-install-info-intl:
13982 @if intl
13983 maybe-install-info-intl: install-info-intl
13985 install-info-intl: \
13986 configure-intl \
13987 info-intl
13988 @[ -f ./intl/Makefile ] || exit 0; \
13989 r=`${PWD_COMMAND}`; export r; \
13990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13991 $(HOST_EXPORTS) \
13992 for flag in $(EXTRA_HOST_FLAGS) ; do \
13993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13994 done; \
13995 echo "Doing install-info in intl" ; \
13996 (cd $(HOST_SUBDIR)/intl && \
13997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13999 "RANLIB=$${RANLIB}" \
14000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14001 install-info) \
14002 || exit 1
14004 @endif intl
14006 .PHONY: maybe-installcheck-intl installcheck-intl
14007 maybe-installcheck-intl:
14008 @if intl
14009 maybe-installcheck-intl: installcheck-intl
14011 installcheck-intl: \
14012 configure-intl
14013 @[ -f ./intl/Makefile ] || exit 0; \
14014 r=`${PWD_COMMAND}`; export r; \
14015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14016 $(HOST_EXPORTS) \
14017 for flag in $(EXTRA_HOST_FLAGS) ; do \
14018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14019 done; \
14020 echo "Doing installcheck in intl" ; \
14021 (cd $(HOST_SUBDIR)/intl && \
14022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14024 "RANLIB=$${RANLIB}" \
14025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14026 installcheck) \
14027 || exit 1
14029 @endif intl
14031 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14032 maybe-mostlyclean-intl:
14033 @if intl
14034 maybe-mostlyclean-intl: mostlyclean-intl
14036 mostlyclean-intl:
14037 @[ -f ./intl/Makefile ] || exit 0; \
14038 r=`${PWD_COMMAND}`; export r; \
14039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14040 $(HOST_EXPORTS) \
14041 for flag in $(EXTRA_HOST_FLAGS) ; do \
14042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14043 done; \
14044 echo "Doing mostlyclean in intl" ; \
14045 (cd $(HOST_SUBDIR)/intl && \
14046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14048 "RANLIB=$${RANLIB}" \
14049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14050 mostlyclean) \
14051 || exit 1
14053 @endif intl
14055 .PHONY: maybe-clean-intl clean-intl
14056 maybe-clean-intl:
14057 @if intl
14058 maybe-clean-intl: clean-intl
14060 clean-intl:
14061 @[ -f ./intl/Makefile ] || exit 0; \
14062 r=`${PWD_COMMAND}`; export r; \
14063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14064 $(HOST_EXPORTS) \
14065 for flag in $(EXTRA_HOST_FLAGS) ; do \
14066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14067 done; \
14068 echo "Doing clean in intl" ; \
14069 (cd $(HOST_SUBDIR)/intl && \
14070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14072 "RANLIB=$${RANLIB}" \
14073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14074 clean) \
14075 || exit 1
14077 @endif intl
14079 .PHONY: maybe-distclean-intl distclean-intl
14080 maybe-distclean-intl:
14081 @if intl
14082 maybe-distclean-intl: distclean-intl
14084 distclean-intl:
14085 @[ -f ./intl/Makefile ] || exit 0; \
14086 r=`${PWD_COMMAND}`; export r; \
14087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14088 $(HOST_EXPORTS) \
14089 for flag in $(EXTRA_HOST_FLAGS) ; do \
14090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14091 done; \
14092 echo "Doing distclean in intl" ; \
14093 (cd $(HOST_SUBDIR)/intl && \
14094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14096 "RANLIB=$${RANLIB}" \
14097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14098 distclean) \
14099 || exit 1
14101 @endif intl
14103 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14104 maybe-maintainer-clean-intl:
14105 @if intl
14106 maybe-maintainer-clean-intl: maintainer-clean-intl
14108 maintainer-clean-intl:
14109 @[ -f ./intl/Makefile ] || exit 0; \
14110 r=`${PWD_COMMAND}`; export r; \
14111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14112 $(HOST_EXPORTS) \
14113 for flag in $(EXTRA_HOST_FLAGS) ; do \
14114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14115 done; \
14116 echo "Doing maintainer-clean in intl" ; \
14117 (cd $(HOST_SUBDIR)/intl && \
14118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14120 "RANLIB=$${RANLIB}" \
14121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14122 maintainer-clean) \
14123 || exit 1
14125 @endif intl
14129 .PHONY: configure-tcl maybe-configure-tcl
14130 maybe-configure-tcl:
14131 @if tcl
14132 maybe-configure-tcl: configure-tcl
14133 configure-tcl:
14134 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14135 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14136 r=`${PWD_COMMAND}`; export r; \
14137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14138 $(HOST_EXPORTS) \
14139 echo Configuring in $(HOST_SUBDIR)/tcl; \
14140 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14141 case $(srcdir) in \
14142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14143 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14145 esac; \
14146 srcdiroption="--srcdir=$${topdir}/tcl"; \
14147 libsrcdir="$$s/tcl"; \
14148 $(SHELL) $${libsrcdir}/configure \
14149 $(HOST_CONFIGARGS) $${srcdiroption} \
14150 || exit 1
14151 @endif tcl
14157 .PHONY: all-tcl maybe-all-tcl
14158 maybe-all-tcl:
14159 @if tcl
14160 TARGET-tcl=all
14161 maybe-all-tcl: all-tcl
14162 all-tcl: configure-tcl
14163 @r=`${PWD_COMMAND}`; export r; \
14164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14165 $(HOST_EXPORTS) \
14166 (cd $(HOST_SUBDIR)/tcl && \
14167 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14168 @endif tcl
14173 .PHONY: check-tcl maybe-check-tcl
14174 maybe-check-tcl:
14175 @if tcl
14176 maybe-check-tcl: check-tcl
14178 check-tcl:
14179 @r=`${PWD_COMMAND}`; export r; \
14180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14181 $(HOST_EXPORTS) \
14182 (cd $(HOST_SUBDIR)/tcl && \
14183 $(MAKE) $(FLAGS_TO_PASS) check)
14185 @endif tcl
14187 .PHONY: install-tcl maybe-install-tcl
14188 maybe-install-tcl:
14189 @if tcl
14190 maybe-install-tcl: install-tcl
14192 install-tcl: installdirs
14193 @r=`${PWD_COMMAND}`; export r; \
14194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14195 $(HOST_EXPORTS) \
14196 (cd $(HOST_SUBDIR)/tcl && \
14197 $(MAKE) $(FLAGS_TO_PASS) install)
14199 @endif tcl
14201 # Other targets (info, dvi, etc.)
14203 .PHONY: maybe-info-tcl info-tcl
14204 maybe-info-tcl:
14205 @if tcl
14206 maybe-info-tcl: info-tcl
14208 info-tcl: \
14209 configure-tcl
14210 @[ -f ./tcl/Makefile ] || exit 0; \
14211 r=`${PWD_COMMAND}`; export r; \
14212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14213 $(HOST_EXPORTS) \
14214 for flag in $(EXTRA_HOST_FLAGS) ; do \
14215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14216 done; \
14217 echo "Doing info in tcl" ; \
14218 (cd $(HOST_SUBDIR)/tcl && \
14219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14221 "RANLIB=$${RANLIB}" \
14222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14223 info) \
14224 || exit 1
14226 @endif tcl
14228 .PHONY: maybe-dvi-tcl dvi-tcl
14229 maybe-dvi-tcl:
14230 @if tcl
14231 maybe-dvi-tcl: dvi-tcl
14233 dvi-tcl: \
14234 configure-tcl
14235 @[ -f ./tcl/Makefile ] || exit 0; \
14236 r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(HOST_EXPORTS) \
14239 for flag in $(EXTRA_HOST_FLAGS) ; do \
14240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14241 done; \
14242 echo "Doing dvi in tcl" ; \
14243 (cd $(HOST_SUBDIR)/tcl && \
14244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14246 "RANLIB=$${RANLIB}" \
14247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14248 dvi) \
14249 || exit 1
14251 @endif tcl
14253 .PHONY: maybe-html-tcl html-tcl
14254 maybe-html-tcl:
14255 @if tcl
14256 maybe-html-tcl: html-tcl
14258 html-tcl: \
14259 configure-tcl
14260 @[ -f ./tcl/Makefile ] || exit 0; \
14261 r=`${PWD_COMMAND}`; export r; \
14262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14263 $(HOST_EXPORTS) \
14264 for flag in $(EXTRA_HOST_FLAGS) ; do \
14265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14266 done; \
14267 echo "Doing html in tcl" ; \
14268 (cd $(HOST_SUBDIR)/tcl && \
14269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14271 "RANLIB=$${RANLIB}" \
14272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14273 html) \
14274 || exit 1
14276 @endif tcl
14278 .PHONY: maybe-TAGS-tcl TAGS-tcl
14279 maybe-TAGS-tcl:
14280 @if tcl
14281 maybe-TAGS-tcl: TAGS-tcl
14283 TAGS-tcl: \
14284 configure-tcl
14285 @[ -f ./tcl/Makefile ] || exit 0; \
14286 r=`${PWD_COMMAND}`; export r; \
14287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14288 $(HOST_EXPORTS) \
14289 for flag in $(EXTRA_HOST_FLAGS) ; do \
14290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14291 done; \
14292 echo "Doing TAGS in tcl" ; \
14293 (cd $(HOST_SUBDIR)/tcl && \
14294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14296 "RANLIB=$${RANLIB}" \
14297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14298 TAGS) \
14299 || exit 1
14301 @endif tcl
14303 .PHONY: maybe-install-info-tcl install-info-tcl
14304 maybe-install-info-tcl:
14305 @if tcl
14306 maybe-install-info-tcl: install-info-tcl
14308 install-info-tcl: \
14309 configure-tcl \
14310 info-tcl
14311 @[ -f ./tcl/Makefile ] || exit 0; \
14312 r=`${PWD_COMMAND}`; export r; \
14313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14314 $(HOST_EXPORTS) \
14315 for flag in $(EXTRA_HOST_FLAGS) ; do \
14316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14317 done; \
14318 echo "Doing install-info in tcl" ; \
14319 (cd $(HOST_SUBDIR)/tcl && \
14320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14322 "RANLIB=$${RANLIB}" \
14323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14324 install-info) \
14325 || exit 1
14327 @endif tcl
14329 .PHONY: maybe-installcheck-tcl installcheck-tcl
14330 maybe-installcheck-tcl:
14331 @if tcl
14332 maybe-installcheck-tcl: installcheck-tcl
14334 installcheck-tcl: \
14335 configure-tcl
14336 @[ -f ./tcl/Makefile ] || exit 0; \
14337 r=`${PWD_COMMAND}`; export r; \
14338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14339 $(HOST_EXPORTS) \
14340 for flag in $(EXTRA_HOST_FLAGS) ; do \
14341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14342 done; \
14343 echo "Doing installcheck in tcl" ; \
14344 (cd $(HOST_SUBDIR)/tcl && \
14345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14347 "RANLIB=$${RANLIB}" \
14348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14349 installcheck) \
14350 || exit 1
14352 @endif tcl
14354 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14355 maybe-mostlyclean-tcl:
14356 @if tcl
14357 maybe-mostlyclean-tcl: mostlyclean-tcl
14359 # tcl doesn't support mostlyclean.
14360 mostlyclean-tcl:
14362 @endif tcl
14364 .PHONY: maybe-clean-tcl clean-tcl
14365 maybe-clean-tcl:
14366 @if tcl
14367 maybe-clean-tcl: clean-tcl
14369 clean-tcl:
14370 @[ -f ./tcl/Makefile ] || exit 0; \
14371 r=`${PWD_COMMAND}`; export r; \
14372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14373 $(HOST_EXPORTS) \
14374 for flag in $(EXTRA_HOST_FLAGS) ; do \
14375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14376 done; \
14377 echo "Doing clean in tcl" ; \
14378 (cd $(HOST_SUBDIR)/tcl && \
14379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14381 "RANLIB=$${RANLIB}" \
14382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14383 clean) \
14384 || exit 1
14386 @endif tcl
14388 .PHONY: maybe-distclean-tcl distclean-tcl
14389 maybe-distclean-tcl:
14390 @if tcl
14391 maybe-distclean-tcl: distclean-tcl
14393 distclean-tcl:
14394 @[ -f ./tcl/Makefile ] || exit 0; \
14395 r=`${PWD_COMMAND}`; export r; \
14396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14397 $(HOST_EXPORTS) \
14398 for flag in $(EXTRA_HOST_FLAGS) ; do \
14399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14400 done; \
14401 echo "Doing distclean in tcl" ; \
14402 (cd $(HOST_SUBDIR)/tcl && \
14403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14405 "RANLIB=$${RANLIB}" \
14406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14407 distclean) \
14408 || exit 1
14410 @endif tcl
14412 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
14413 maybe-maintainer-clean-tcl:
14414 @if tcl
14415 maybe-maintainer-clean-tcl: maintainer-clean-tcl
14417 maintainer-clean-tcl:
14418 @[ -f ./tcl/Makefile ] || exit 0; \
14419 r=`${PWD_COMMAND}`; export r; \
14420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14421 $(HOST_EXPORTS) \
14422 for flag in $(EXTRA_HOST_FLAGS) ; do \
14423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14424 done; \
14425 echo "Doing maintainer-clean in tcl" ; \
14426 (cd $(HOST_SUBDIR)/tcl && \
14427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14429 "RANLIB=$${RANLIB}" \
14430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14431 maintainer-clean) \
14432 || exit 1
14434 @endif tcl
14438 .PHONY: configure-itcl maybe-configure-itcl
14439 maybe-configure-itcl:
14440 @if itcl
14441 maybe-configure-itcl: configure-itcl
14442 configure-itcl:
14443 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
14444 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
14445 r=`${PWD_COMMAND}`; export r; \
14446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14447 $(HOST_EXPORTS) \
14448 echo Configuring in $(HOST_SUBDIR)/itcl; \
14449 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
14450 case $(srcdir) in \
14451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14452 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
14453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14454 esac; \
14455 srcdiroption="--srcdir=$${topdir}/itcl"; \
14456 libsrcdir="$$s/itcl"; \
14457 $(SHELL) $${libsrcdir}/configure \
14458 $(HOST_CONFIGARGS) $${srcdiroption} \
14459 || exit 1
14460 @endif itcl
14466 .PHONY: all-itcl maybe-all-itcl
14467 maybe-all-itcl:
14468 @if itcl
14469 TARGET-itcl=all
14470 maybe-all-itcl: all-itcl
14471 all-itcl: configure-itcl
14472 @r=`${PWD_COMMAND}`; export r; \
14473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14474 $(HOST_EXPORTS) \
14475 (cd $(HOST_SUBDIR)/itcl && \
14476 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
14477 @endif itcl
14482 .PHONY: check-itcl maybe-check-itcl
14483 maybe-check-itcl:
14484 @if itcl
14485 maybe-check-itcl: check-itcl
14487 check-itcl:
14488 @r=`${PWD_COMMAND}`; export r; \
14489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14490 $(HOST_EXPORTS) \
14491 (cd $(HOST_SUBDIR)/itcl && \
14492 $(MAKE) $(FLAGS_TO_PASS) check)
14494 @endif itcl
14496 .PHONY: install-itcl maybe-install-itcl
14497 maybe-install-itcl:
14498 @if itcl
14499 maybe-install-itcl: install-itcl
14501 install-itcl: installdirs
14502 @r=`${PWD_COMMAND}`; export r; \
14503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14504 $(HOST_EXPORTS) \
14505 (cd $(HOST_SUBDIR)/itcl && \
14506 $(MAKE) $(FLAGS_TO_PASS) install)
14508 @endif itcl
14510 # Other targets (info, dvi, etc.)
14512 .PHONY: maybe-info-itcl info-itcl
14513 maybe-info-itcl:
14514 @if itcl
14515 maybe-info-itcl: info-itcl
14517 info-itcl: \
14518 configure-itcl
14519 @[ -f ./itcl/Makefile ] || exit 0; \
14520 r=`${PWD_COMMAND}`; export r; \
14521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14522 $(HOST_EXPORTS) \
14523 for flag in $(EXTRA_HOST_FLAGS) ; do \
14524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14525 done; \
14526 echo "Doing info in itcl" ; \
14527 (cd $(HOST_SUBDIR)/itcl && \
14528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14530 "RANLIB=$${RANLIB}" \
14531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14532 info) \
14533 || exit 1
14535 @endif itcl
14537 .PHONY: maybe-dvi-itcl dvi-itcl
14538 maybe-dvi-itcl:
14539 @if itcl
14540 maybe-dvi-itcl: dvi-itcl
14542 dvi-itcl: \
14543 configure-itcl
14544 @[ -f ./itcl/Makefile ] || exit 0; \
14545 r=`${PWD_COMMAND}`; export r; \
14546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14547 $(HOST_EXPORTS) \
14548 for flag in $(EXTRA_HOST_FLAGS) ; do \
14549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14550 done; \
14551 echo "Doing dvi in itcl" ; \
14552 (cd $(HOST_SUBDIR)/itcl && \
14553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14555 "RANLIB=$${RANLIB}" \
14556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14557 dvi) \
14558 || exit 1
14560 @endif itcl
14562 .PHONY: maybe-html-itcl html-itcl
14563 maybe-html-itcl:
14564 @if itcl
14565 maybe-html-itcl: html-itcl
14567 html-itcl: \
14568 configure-itcl
14569 @[ -f ./itcl/Makefile ] || exit 0; \
14570 r=`${PWD_COMMAND}`; export r; \
14571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14572 $(HOST_EXPORTS) \
14573 for flag in $(EXTRA_HOST_FLAGS) ; do \
14574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14575 done; \
14576 echo "Doing html in itcl" ; \
14577 (cd $(HOST_SUBDIR)/itcl && \
14578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14580 "RANLIB=$${RANLIB}" \
14581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14582 html) \
14583 || exit 1
14585 @endif itcl
14587 .PHONY: maybe-TAGS-itcl TAGS-itcl
14588 maybe-TAGS-itcl:
14589 @if itcl
14590 maybe-TAGS-itcl: TAGS-itcl
14592 TAGS-itcl: \
14593 configure-itcl
14594 @[ -f ./itcl/Makefile ] || exit 0; \
14595 r=`${PWD_COMMAND}`; export r; \
14596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14597 $(HOST_EXPORTS) \
14598 for flag in $(EXTRA_HOST_FLAGS) ; do \
14599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14600 done; \
14601 echo "Doing TAGS in itcl" ; \
14602 (cd $(HOST_SUBDIR)/itcl && \
14603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14605 "RANLIB=$${RANLIB}" \
14606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14607 TAGS) \
14608 || exit 1
14610 @endif itcl
14612 .PHONY: maybe-install-info-itcl install-info-itcl
14613 maybe-install-info-itcl:
14614 @if itcl
14615 maybe-install-info-itcl: install-info-itcl
14617 install-info-itcl: \
14618 configure-itcl \
14619 info-itcl
14620 @[ -f ./itcl/Makefile ] || exit 0; \
14621 r=`${PWD_COMMAND}`; export r; \
14622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14623 $(HOST_EXPORTS) \
14624 for flag in $(EXTRA_HOST_FLAGS) ; do \
14625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14626 done; \
14627 echo "Doing install-info in itcl" ; \
14628 (cd $(HOST_SUBDIR)/itcl && \
14629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14631 "RANLIB=$${RANLIB}" \
14632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14633 install-info) \
14634 || exit 1
14636 @endif itcl
14638 .PHONY: maybe-installcheck-itcl installcheck-itcl
14639 maybe-installcheck-itcl:
14640 @if itcl
14641 maybe-installcheck-itcl: installcheck-itcl
14643 installcheck-itcl: \
14644 configure-itcl
14645 @[ -f ./itcl/Makefile ] || exit 0; \
14646 r=`${PWD_COMMAND}`; export r; \
14647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14648 $(HOST_EXPORTS) \
14649 for flag in $(EXTRA_HOST_FLAGS) ; do \
14650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14651 done; \
14652 echo "Doing installcheck in itcl" ; \
14653 (cd $(HOST_SUBDIR)/itcl && \
14654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14656 "RANLIB=$${RANLIB}" \
14657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14658 installcheck) \
14659 || exit 1
14661 @endif itcl
14663 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
14664 maybe-mostlyclean-itcl:
14665 @if itcl
14666 maybe-mostlyclean-itcl: mostlyclean-itcl
14668 mostlyclean-itcl:
14669 @[ -f ./itcl/Makefile ] || exit 0; \
14670 r=`${PWD_COMMAND}`; export r; \
14671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14672 $(HOST_EXPORTS) \
14673 for flag in $(EXTRA_HOST_FLAGS) ; do \
14674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14675 done; \
14676 echo "Doing mostlyclean in itcl" ; \
14677 (cd $(HOST_SUBDIR)/itcl && \
14678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14680 "RANLIB=$${RANLIB}" \
14681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14682 mostlyclean) \
14683 || exit 1
14685 @endif itcl
14687 .PHONY: maybe-clean-itcl clean-itcl
14688 maybe-clean-itcl:
14689 @if itcl
14690 maybe-clean-itcl: clean-itcl
14692 clean-itcl:
14693 @[ -f ./itcl/Makefile ] || exit 0; \
14694 r=`${PWD_COMMAND}`; export r; \
14695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14696 $(HOST_EXPORTS) \
14697 for flag in $(EXTRA_HOST_FLAGS) ; do \
14698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14699 done; \
14700 echo "Doing clean in itcl" ; \
14701 (cd $(HOST_SUBDIR)/itcl && \
14702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14704 "RANLIB=$${RANLIB}" \
14705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14706 clean) \
14707 || exit 1
14709 @endif itcl
14711 .PHONY: maybe-distclean-itcl distclean-itcl
14712 maybe-distclean-itcl:
14713 @if itcl
14714 maybe-distclean-itcl: distclean-itcl
14716 distclean-itcl:
14717 @[ -f ./itcl/Makefile ] || exit 0; \
14718 r=`${PWD_COMMAND}`; export r; \
14719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14720 $(HOST_EXPORTS) \
14721 for flag in $(EXTRA_HOST_FLAGS) ; do \
14722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14723 done; \
14724 echo "Doing distclean in itcl" ; \
14725 (cd $(HOST_SUBDIR)/itcl && \
14726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14728 "RANLIB=$${RANLIB}" \
14729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14730 distclean) \
14731 || exit 1
14733 @endif itcl
14735 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
14736 maybe-maintainer-clean-itcl:
14737 @if itcl
14738 maybe-maintainer-clean-itcl: maintainer-clean-itcl
14740 maintainer-clean-itcl:
14741 @[ -f ./itcl/Makefile ] || exit 0; \
14742 r=`${PWD_COMMAND}`; export r; \
14743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14744 $(HOST_EXPORTS) \
14745 for flag in $(EXTRA_HOST_FLAGS) ; do \
14746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14747 done; \
14748 echo "Doing maintainer-clean in itcl" ; \
14749 (cd $(HOST_SUBDIR)/itcl && \
14750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14752 "RANLIB=$${RANLIB}" \
14753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14754 maintainer-clean) \
14755 || exit 1
14757 @endif itcl
14761 .PHONY: configure-ld maybe-configure-ld
14762 maybe-configure-ld:
14763 @if ld
14764 maybe-configure-ld: configure-ld
14765 configure-ld:
14766 @test -f stage_last && exit 0; \
14767 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
14768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
14769 r=`${PWD_COMMAND}`; export r; \
14770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14771 $(HOST_EXPORTS) \
14772 echo Configuring in $(HOST_SUBDIR)/ld; \
14773 cd "$(HOST_SUBDIR)/ld" || exit 1; \
14774 case $(srcdir) in \
14775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14776 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14778 esac; \
14779 srcdiroption="--srcdir=$${topdir}/ld"; \
14780 libsrcdir="$$s/ld"; \
14781 $(SHELL) $${libsrcdir}/configure \
14782 $(HOST_CONFIGARGS) $${srcdiroption} \
14783 || exit 1
14784 @endif ld
14788 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
14789 maybe-configure-stage1-ld:
14790 @if ld-bootstrap
14791 maybe-configure-stage1-ld: configure-stage1-ld
14792 configure-stage1-ld:
14793 @$(MAKE) stage1-start
14794 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14795 r=`${PWD_COMMAND}`; export r; \
14796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14797 $(HOST_EXPORTS) \
14798 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
14799 cd $(HOST_SUBDIR)/ld || exit 1; \
14800 case $(srcdir) in \
14801 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14802 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14803 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14804 esac; \
14805 srcdiroption="--srcdir=$${topdir}/ld"; \
14806 libsrcdir="$$s/ld"; \
14807 $(SHELL) $${libsrcdir}/configure \
14808 $(HOST_CONFIGARGS) $${srcdiroption} \
14809 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14810 @endif ld-bootstrap
14812 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
14813 maybe-configure-stage2-ld:
14814 @if ld-bootstrap
14815 maybe-configure-stage2-ld: configure-stage2-ld
14816 configure-stage2-ld:
14817 @$(MAKE) stage2-start
14818 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14819 r=`${PWD_COMMAND}`; export r; \
14820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14821 $(HOST_EXPORTS) \
14822 $(POSTSTAGE1_HOST_EXPORTS) \
14823 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
14824 cd $(HOST_SUBDIR)/ld || exit 1; \
14825 case $(srcdir) in \
14826 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14827 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14828 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14829 esac; \
14830 srcdiroption="--srcdir=$${topdir}/ld"; \
14831 libsrcdir="$$s/ld"; \
14832 $(SHELL) $${libsrcdir}/configure \
14833 $(HOST_CONFIGARGS) $${srcdiroption} \
14834 @stage2_werror_flag@
14835 @endif ld-bootstrap
14837 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
14838 maybe-configure-stage3-ld:
14839 @if ld-bootstrap
14840 maybe-configure-stage3-ld: configure-stage3-ld
14841 configure-stage3-ld:
14842 @$(MAKE) stage3-start
14843 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14844 r=`${PWD_COMMAND}`; export r; \
14845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14846 $(HOST_EXPORTS) \
14847 $(POSTSTAGE1_HOST_EXPORTS) \
14848 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
14849 cd $(HOST_SUBDIR)/ld || exit 1; \
14850 case $(srcdir) in \
14851 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14852 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14853 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14854 esac; \
14855 srcdiroption="--srcdir=$${topdir}/ld"; \
14856 libsrcdir="$$s/ld"; \
14857 $(SHELL) $${libsrcdir}/configure \
14858 $(HOST_CONFIGARGS) $${srcdiroption} \
14859 @stage2_werror_flag@
14860 @endif ld-bootstrap
14862 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
14863 maybe-configure-stage4-ld:
14864 @if ld-bootstrap
14865 maybe-configure-stage4-ld: configure-stage4-ld
14866 configure-stage4-ld:
14867 @$(MAKE) stage4-start
14868 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 $(HOST_EXPORTS) \
14872 $(POSTSTAGE1_HOST_EXPORTS) \
14873 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
14874 cd $(HOST_SUBDIR)/ld || exit 1; \
14875 case $(srcdir) in \
14876 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14877 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14878 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14879 esac; \
14880 srcdiroption="--srcdir=$${topdir}/ld"; \
14881 libsrcdir="$$s/ld"; \
14882 $(SHELL) $${libsrcdir}/configure \
14883 $(HOST_CONFIGARGS) $${srcdiroption} \
14884 @stage2_werror_flag@
14885 @endif ld-bootstrap
14887 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
14888 maybe-configure-stageprofile-ld:
14889 @if ld-bootstrap
14890 maybe-configure-stageprofile-ld: configure-stageprofile-ld
14891 configure-stageprofile-ld:
14892 @$(MAKE) stageprofile-start
14893 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14894 r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(HOST_EXPORTS) \
14897 $(POSTSTAGE1_HOST_EXPORTS) \
14898 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
14899 cd $(HOST_SUBDIR)/ld || exit 1; \
14900 case $(srcdir) in \
14901 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14902 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14903 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14904 esac; \
14905 srcdiroption="--srcdir=$${topdir}/ld"; \
14906 libsrcdir="$$s/ld"; \
14907 $(SHELL) $${libsrcdir}/configure \
14908 $(HOST_CONFIGARGS) $${srcdiroption} \
14909 @stage2_werror_flag@
14910 @endif ld-bootstrap
14912 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
14913 maybe-configure-stagefeedback-ld:
14914 @if ld-bootstrap
14915 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
14916 configure-stagefeedback-ld:
14917 @$(MAKE) stagefeedback-start
14918 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
14919 r=`${PWD_COMMAND}`; export r; \
14920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14921 $(HOST_EXPORTS) \
14922 $(POSTSTAGE1_HOST_EXPORTS) \
14923 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
14924 cd $(HOST_SUBDIR)/ld || exit 1; \
14925 case $(srcdir) in \
14926 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14927 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
14928 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14929 esac; \
14930 srcdiroption="--srcdir=$${topdir}/ld"; \
14931 libsrcdir="$$s/ld"; \
14932 $(SHELL) $${libsrcdir}/configure \
14933 $(HOST_CONFIGARGS) $${srcdiroption} \
14934 @stage2_werror_flag@
14935 @endif ld-bootstrap
14941 .PHONY: all-ld maybe-all-ld
14942 maybe-all-ld:
14943 @if ld
14944 TARGET-ld=all
14945 maybe-all-ld: all-ld
14946 all-ld: configure-ld
14947 @test -f stage_last && exit 0; \
14948 r=`${PWD_COMMAND}`; export r; \
14949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14950 $(HOST_EXPORTS) \
14951 (cd $(HOST_SUBDIR)/ld && \
14952 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
14953 @endif ld
14957 .PHONY: all-stage1-ld maybe-all-stage1-ld
14958 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
14959 maybe-all-stage1-ld:
14960 maybe-clean-stage1-ld:
14961 @if ld-bootstrap
14962 maybe-all-stage1-ld: all-stage1-ld
14963 all-stage1: all-stage1-ld
14964 all-stage1-ld: configure-stage1-ld
14965 @$(MAKE) stage1-start
14966 @r=`${PWD_COMMAND}`; export r; \
14967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14968 $(HOST_EXPORTS) \
14969 cd $(HOST_SUBDIR)/ld && \
14970 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
14972 maybe-clean-stage1-ld: clean-stage1-ld
14973 clean-stage1: clean-stage1-ld
14974 clean-stage1-ld:
14975 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
14976 || exit 0 ; \
14977 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage1-start ; \
14978 cd $(HOST_SUBDIR)/ld && \
14979 $(MAKE) $(FLAGS_TO_PASS) \
14980 CFLAGS="$(STAGE1_CFLAGS)" clean
14981 @endif ld-bootstrap
14984 .PHONY: all-stage2-ld maybe-all-stage2-ld
14985 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
14986 maybe-all-stage2-ld:
14987 maybe-clean-stage2-ld:
14988 @if ld-bootstrap
14989 maybe-all-stage2-ld: all-stage2-ld
14990 all-stage2: all-stage2-ld
14991 all-stage2-ld: configure-stage2-ld
14992 @$(MAKE) stage2-start
14993 @r=`${PWD_COMMAND}`; export r; \
14994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14995 $(HOST_EXPORTS) \
14996 $(POSTSTAGE1_HOST_EXPORTS) \
14997 cd $(HOST_SUBDIR)/ld && \
14998 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15000 maybe-clean-stage2-ld: clean-stage2-ld
15001 clean-stage2: clean-stage2-ld
15002 clean-stage2-ld:
15003 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15004 || exit 0 ; \
15005 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage2-start ; \
15006 cd $(HOST_SUBDIR)/ld && \
15007 $(MAKE) $(FLAGS_TO_PASS) \
15008 $(POSTSTAGE1_FLAGS_TO_PASS) \
15009 clean
15010 @endif ld-bootstrap
15013 .PHONY: all-stage3-ld maybe-all-stage3-ld
15014 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15015 maybe-all-stage3-ld:
15016 maybe-clean-stage3-ld:
15017 @if ld-bootstrap
15018 maybe-all-stage3-ld: all-stage3-ld
15019 all-stage3: all-stage3-ld
15020 all-stage3-ld: configure-stage3-ld
15021 @$(MAKE) stage3-start
15022 @r=`${PWD_COMMAND}`; export r; \
15023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15024 $(HOST_EXPORTS) \
15025 $(POSTSTAGE1_HOST_EXPORTS) \
15026 cd $(HOST_SUBDIR)/ld && \
15027 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15029 maybe-clean-stage3-ld: clean-stage3-ld
15030 clean-stage3: clean-stage3-ld
15031 clean-stage3-ld:
15032 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15033 || exit 0 ; \
15034 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage3-start ; \
15035 cd $(HOST_SUBDIR)/ld && \
15036 $(MAKE) $(FLAGS_TO_PASS) \
15037 $(POSTSTAGE1_FLAGS_TO_PASS) \
15038 clean
15039 @endif ld-bootstrap
15042 .PHONY: all-stage4-ld maybe-all-stage4-ld
15043 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15044 maybe-all-stage4-ld:
15045 maybe-clean-stage4-ld:
15046 @if ld-bootstrap
15047 maybe-all-stage4-ld: all-stage4-ld
15048 all-stage4: all-stage4-ld
15049 all-stage4-ld: configure-stage4-ld
15050 @$(MAKE) stage4-start
15051 @r=`${PWD_COMMAND}`; export r; \
15052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15053 $(HOST_EXPORTS) \
15054 $(POSTSTAGE1_HOST_EXPORTS) \
15055 cd $(HOST_SUBDIR)/ld && \
15056 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15058 maybe-clean-stage4-ld: clean-stage4-ld
15059 clean-stage4: clean-stage4-ld
15060 clean-stage4-ld:
15061 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15062 || exit 0 ; \
15063 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stage4-start ; \
15064 cd $(HOST_SUBDIR)/ld && \
15065 $(MAKE) $(FLAGS_TO_PASS) \
15066 $(POSTSTAGE1_FLAGS_TO_PASS) \
15067 clean
15068 @endif ld-bootstrap
15071 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15072 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15073 maybe-all-stageprofile-ld:
15074 maybe-clean-stageprofile-ld:
15075 @if ld-bootstrap
15076 maybe-all-stageprofile-ld: all-stageprofile-ld
15077 all-stageprofile: all-stageprofile-ld
15078 all-stageprofile-ld: configure-stageprofile-ld
15079 @$(MAKE) stageprofile-start
15080 @r=`${PWD_COMMAND}`; export r; \
15081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15082 $(HOST_EXPORTS) \
15083 $(POSTSTAGE1_HOST_EXPORTS) \
15084 cd $(HOST_SUBDIR)/ld && \
15085 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15087 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15088 clean-stageprofile: clean-stageprofile-ld
15089 clean-stageprofile-ld:
15090 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15091 || exit 0 ; \
15092 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stageprofile-start ; \
15093 cd $(HOST_SUBDIR)/ld && \
15094 $(MAKE) $(FLAGS_TO_PASS) \
15095 $(POSTSTAGE1_FLAGS_TO_PASS) \
15096 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15097 @endif ld-bootstrap
15100 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15101 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15102 maybe-all-stagefeedback-ld:
15103 maybe-clean-stagefeedback-ld:
15104 @if ld-bootstrap
15105 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15106 all-stagefeedback: all-stagefeedback-ld
15107 all-stagefeedback-ld: configure-stagefeedback-ld
15108 @$(MAKE) stagefeedback-start
15109 @r=`${PWD_COMMAND}`; export r; \
15110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 $(HOST_EXPORTS) \
15112 $(POSTSTAGE1_HOST_EXPORTS) \
15113 cd $(HOST_SUBDIR)/ld && \
15114 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15116 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15117 clean-stagefeedback: clean-stagefeedback-ld
15118 clean-stagefeedback-ld:
15119 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15120 || exit 0 ; \
15121 [ -f $(HOST_SUBDIR)/ld/Makefile ] || $(MAKE) stagefeedback-start ; \
15122 cd $(HOST_SUBDIR)/ld && \
15123 $(MAKE) $(FLAGS_TO_PASS) \
15124 $(POSTSTAGE1_FLAGS_TO_PASS) \
15125 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15126 @endif ld-bootstrap
15132 .PHONY: check-ld maybe-check-ld
15133 maybe-check-ld:
15134 @if ld
15135 maybe-check-ld: check-ld
15137 check-ld:
15138 @r=`${PWD_COMMAND}`; export r; \
15139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15140 $(HOST_EXPORTS) \
15141 (cd $(HOST_SUBDIR)/ld && \
15142 $(MAKE) $(FLAGS_TO_PASS) check)
15144 @endif ld
15146 .PHONY: install-ld maybe-install-ld
15147 maybe-install-ld:
15148 @if ld
15149 maybe-install-ld: install-ld
15151 install-ld: installdirs
15152 @r=`${PWD_COMMAND}`; export r; \
15153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15154 $(HOST_EXPORTS) \
15155 (cd $(HOST_SUBDIR)/ld && \
15156 $(MAKE) $(FLAGS_TO_PASS) install)
15158 @endif ld
15160 # Other targets (info, dvi, etc.)
15162 .PHONY: maybe-info-ld info-ld
15163 maybe-info-ld:
15164 @if ld
15165 maybe-info-ld: info-ld
15167 info-ld: \
15168 configure-ld
15169 @[ -f ./ld/Makefile ] || exit 0; \
15170 r=`${PWD_COMMAND}`; export r; \
15171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15172 $(HOST_EXPORTS) \
15173 for flag in $(EXTRA_HOST_FLAGS) ; do \
15174 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15175 done; \
15176 echo "Doing info in ld" ; \
15177 (cd $(HOST_SUBDIR)/ld && \
15178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15180 "RANLIB=$${RANLIB}" \
15181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15182 info) \
15183 || exit 1
15185 @endif ld
15187 .PHONY: maybe-dvi-ld dvi-ld
15188 maybe-dvi-ld:
15189 @if ld
15190 maybe-dvi-ld: dvi-ld
15192 dvi-ld: \
15193 configure-ld
15194 @[ -f ./ld/Makefile ] || exit 0; \
15195 r=`${PWD_COMMAND}`; export r; \
15196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15197 $(HOST_EXPORTS) \
15198 for flag in $(EXTRA_HOST_FLAGS) ; do \
15199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15200 done; \
15201 echo "Doing dvi in ld" ; \
15202 (cd $(HOST_SUBDIR)/ld && \
15203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15205 "RANLIB=$${RANLIB}" \
15206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15207 dvi) \
15208 || exit 1
15210 @endif ld
15212 .PHONY: maybe-html-ld html-ld
15213 maybe-html-ld:
15214 @if ld
15215 maybe-html-ld: html-ld
15217 html-ld: \
15218 configure-ld
15219 @[ -f ./ld/Makefile ] || exit 0; \
15220 r=`${PWD_COMMAND}`; export r; \
15221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15222 $(HOST_EXPORTS) \
15223 for flag in $(EXTRA_HOST_FLAGS) ; do \
15224 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15225 done; \
15226 echo "Doing html in ld" ; \
15227 (cd $(HOST_SUBDIR)/ld && \
15228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15230 "RANLIB=$${RANLIB}" \
15231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15232 html) \
15233 || exit 1
15235 @endif ld
15237 .PHONY: maybe-TAGS-ld TAGS-ld
15238 maybe-TAGS-ld:
15239 @if ld
15240 maybe-TAGS-ld: TAGS-ld
15242 TAGS-ld: \
15243 configure-ld
15244 @[ -f ./ld/Makefile ] || exit 0; \
15245 r=`${PWD_COMMAND}`; export r; \
15246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15247 $(HOST_EXPORTS) \
15248 for flag in $(EXTRA_HOST_FLAGS) ; do \
15249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15250 done; \
15251 echo "Doing TAGS in ld" ; \
15252 (cd $(HOST_SUBDIR)/ld && \
15253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15255 "RANLIB=$${RANLIB}" \
15256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15257 TAGS) \
15258 || exit 1
15260 @endif ld
15262 .PHONY: maybe-install-info-ld install-info-ld
15263 maybe-install-info-ld:
15264 @if ld
15265 maybe-install-info-ld: install-info-ld
15267 install-info-ld: \
15268 configure-ld \
15269 info-ld
15270 @[ -f ./ld/Makefile ] || exit 0; \
15271 r=`${PWD_COMMAND}`; export r; \
15272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15273 $(HOST_EXPORTS) \
15274 for flag in $(EXTRA_HOST_FLAGS) ; do \
15275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15276 done; \
15277 echo "Doing install-info in ld" ; \
15278 (cd $(HOST_SUBDIR)/ld && \
15279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15281 "RANLIB=$${RANLIB}" \
15282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15283 install-info) \
15284 || exit 1
15286 @endif ld
15288 .PHONY: maybe-installcheck-ld installcheck-ld
15289 maybe-installcheck-ld:
15290 @if ld
15291 maybe-installcheck-ld: installcheck-ld
15293 installcheck-ld: \
15294 configure-ld
15295 @[ -f ./ld/Makefile ] || exit 0; \
15296 r=`${PWD_COMMAND}`; export r; \
15297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15298 $(HOST_EXPORTS) \
15299 for flag in $(EXTRA_HOST_FLAGS) ; do \
15300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15301 done; \
15302 echo "Doing installcheck in ld" ; \
15303 (cd $(HOST_SUBDIR)/ld && \
15304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15306 "RANLIB=$${RANLIB}" \
15307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15308 installcheck) \
15309 || exit 1
15311 @endif ld
15313 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15314 maybe-mostlyclean-ld:
15315 @if ld
15316 maybe-mostlyclean-ld: mostlyclean-ld
15318 mostlyclean-ld:
15319 @[ -f ./ld/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing mostlyclean in ld" ; \
15327 (cd $(HOST_SUBDIR)/ld && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15332 mostlyclean) \
15333 || exit 1
15335 @endif ld
15337 .PHONY: maybe-clean-ld clean-ld
15338 maybe-clean-ld:
15339 @if ld
15340 maybe-clean-ld: clean-ld
15342 clean-ld:
15343 @[ -f ./ld/Makefile ] || exit 0; \
15344 r=`${PWD_COMMAND}`; export r; \
15345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15346 $(HOST_EXPORTS) \
15347 for flag in $(EXTRA_HOST_FLAGS) ; do \
15348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15349 done; \
15350 echo "Doing clean in ld" ; \
15351 (cd $(HOST_SUBDIR)/ld && \
15352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15354 "RANLIB=$${RANLIB}" \
15355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15356 clean) \
15357 || exit 1
15359 @endif ld
15361 .PHONY: maybe-distclean-ld distclean-ld
15362 maybe-distclean-ld:
15363 @if ld
15364 maybe-distclean-ld: distclean-ld
15366 distclean-ld:
15367 @[ -f ./ld/Makefile ] || exit 0; \
15368 r=`${PWD_COMMAND}`; export r; \
15369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15370 $(HOST_EXPORTS) \
15371 for flag in $(EXTRA_HOST_FLAGS) ; do \
15372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 done; \
15374 echo "Doing distclean in ld" ; \
15375 (cd $(HOST_SUBDIR)/ld && \
15376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15378 "RANLIB=$${RANLIB}" \
15379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15380 distclean) \
15381 || exit 1
15383 @endif ld
15385 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
15386 maybe-maintainer-clean-ld:
15387 @if ld
15388 maybe-maintainer-clean-ld: maintainer-clean-ld
15390 maintainer-clean-ld:
15391 @[ -f ./ld/Makefile ] || exit 0; \
15392 r=`${PWD_COMMAND}`; export r; \
15393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15394 $(HOST_EXPORTS) \
15395 for flag in $(EXTRA_HOST_FLAGS) ; do \
15396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15397 done; \
15398 echo "Doing maintainer-clean in ld" ; \
15399 (cd $(HOST_SUBDIR)/ld && \
15400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15402 "RANLIB=$${RANLIB}" \
15403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15404 maintainer-clean) \
15405 || exit 1
15407 @endif ld
15411 .PHONY: configure-libcpp maybe-configure-libcpp
15412 maybe-configure-libcpp:
15413 @if libcpp
15414 maybe-configure-libcpp: configure-libcpp
15415 configure-libcpp:
15416 @test -f stage_last && exit 0; \
15417 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
15418 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 $(HOST_EXPORTS) \
15422 echo Configuring in $(HOST_SUBDIR)/libcpp; \
15423 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
15424 case $(srcdir) in \
15425 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15426 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15427 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15428 esac; \
15429 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15430 libsrcdir="$$s/libcpp"; \
15431 $(SHELL) $${libsrcdir}/configure \
15432 $(HOST_CONFIGARGS) $${srcdiroption} \
15433 || exit 1
15434 @endif libcpp
15438 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
15439 maybe-configure-stage1-libcpp:
15440 @if libcpp-bootstrap
15441 maybe-configure-stage1-libcpp: configure-stage1-libcpp
15442 configure-stage1-libcpp:
15443 @$(MAKE) stage1-start
15444 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15445 r=`${PWD_COMMAND}`; export r; \
15446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15447 $(HOST_EXPORTS) \
15448 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
15449 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15450 case $(srcdir) in \
15451 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15452 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15453 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15454 esac; \
15455 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15456 libsrcdir="$$s/libcpp"; \
15457 $(SHELL) $${libsrcdir}/configure \
15458 $(HOST_CONFIGARGS) $${srcdiroption} \
15459 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15460 @endif libcpp-bootstrap
15462 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
15463 maybe-configure-stage2-libcpp:
15464 @if libcpp-bootstrap
15465 maybe-configure-stage2-libcpp: configure-stage2-libcpp
15466 configure-stage2-libcpp:
15467 @$(MAKE) stage2-start
15468 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15469 r=`${PWD_COMMAND}`; export r; \
15470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15471 $(HOST_EXPORTS) \
15472 $(POSTSTAGE1_HOST_EXPORTS) \
15473 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
15474 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15475 case $(srcdir) in \
15476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15477 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15479 esac; \
15480 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15481 libsrcdir="$$s/libcpp"; \
15482 $(SHELL) $${libsrcdir}/configure \
15483 $(HOST_CONFIGARGS) $${srcdiroption} \
15484 @stage2_werror_flag@
15485 @endif libcpp-bootstrap
15487 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
15488 maybe-configure-stage3-libcpp:
15489 @if libcpp-bootstrap
15490 maybe-configure-stage3-libcpp: configure-stage3-libcpp
15491 configure-stage3-libcpp:
15492 @$(MAKE) stage3-start
15493 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15494 r=`${PWD_COMMAND}`; export r; \
15495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15496 $(HOST_EXPORTS) \
15497 $(POSTSTAGE1_HOST_EXPORTS) \
15498 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
15499 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15500 case $(srcdir) in \
15501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15502 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15504 esac; \
15505 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15506 libsrcdir="$$s/libcpp"; \
15507 $(SHELL) $${libsrcdir}/configure \
15508 $(HOST_CONFIGARGS) $${srcdiroption} \
15509 @stage2_werror_flag@
15510 @endif libcpp-bootstrap
15512 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
15513 maybe-configure-stage4-libcpp:
15514 @if libcpp-bootstrap
15515 maybe-configure-stage4-libcpp: configure-stage4-libcpp
15516 configure-stage4-libcpp:
15517 @$(MAKE) stage4-start
15518 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15519 r=`${PWD_COMMAND}`; export r; \
15520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15521 $(HOST_EXPORTS) \
15522 $(POSTSTAGE1_HOST_EXPORTS) \
15523 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
15524 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15525 case $(srcdir) in \
15526 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15527 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15528 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15529 esac; \
15530 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15531 libsrcdir="$$s/libcpp"; \
15532 $(SHELL) $${libsrcdir}/configure \
15533 $(HOST_CONFIGARGS) $${srcdiroption} \
15534 @stage2_werror_flag@
15535 @endif libcpp-bootstrap
15537 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
15538 maybe-configure-stageprofile-libcpp:
15539 @if libcpp-bootstrap
15540 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
15541 configure-stageprofile-libcpp:
15542 @$(MAKE) stageprofile-start
15543 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15544 r=`${PWD_COMMAND}`; export r; \
15545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15546 $(HOST_EXPORTS) \
15547 $(POSTSTAGE1_HOST_EXPORTS) \
15548 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
15549 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15550 case $(srcdir) in \
15551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15552 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15554 esac; \
15555 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15556 libsrcdir="$$s/libcpp"; \
15557 $(SHELL) $${libsrcdir}/configure \
15558 $(HOST_CONFIGARGS) $${srcdiroption} \
15559 @stage2_werror_flag@
15560 @endif libcpp-bootstrap
15562 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
15563 maybe-configure-stagefeedback-libcpp:
15564 @if libcpp-bootstrap
15565 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
15566 configure-stagefeedback-libcpp:
15567 @$(MAKE) stagefeedback-start
15568 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
15569 r=`${PWD_COMMAND}`; export r; \
15570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15571 $(HOST_EXPORTS) \
15572 $(POSTSTAGE1_HOST_EXPORTS) \
15573 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
15574 cd $(HOST_SUBDIR)/libcpp || exit 1; \
15575 case $(srcdir) in \
15576 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15577 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
15578 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15579 esac; \
15580 srcdiroption="--srcdir=$${topdir}/libcpp"; \
15581 libsrcdir="$$s/libcpp"; \
15582 $(SHELL) $${libsrcdir}/configure \
15583 $(HOST_CONFIGARGS) $${srcdiroption} \
15584 @stage2_werror_flag@
15585 @endif libcpp-bootstrap
15591 .PHONY: all-libcpp maybe-all-libcpp
15592 maybe-all-libcpp:
15593 @if libcpp
15594 TARGET-libcpp=all
15595 maybe-all-libcpp: all-libcpp
15596 all-libcpp: configure-libcpp
15597 @test -f stage_last && exit 0; \
15598 r=`${PWD_COMMAND}`; export r; \
15599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15600 $(HOST_EXPORTS) \
15601 (cd $(HOST_SUBDIR)/libcpp && \
15602 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
15603 @endif libcpp
15607 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
15608 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
15609 maybe-all-stage1-libcpp:
15610 maybe-clean-stage1-libcpp:
15611 @if libcpp-bootstrap
15612 maybe-all-stage1-libcpp: all-stage1-libcpp
15613 all-stage1: all-stage1-libcpp
15614 all-stage1-libcpp: configure-stage1-libcpp
15615 @$(MAKE) stage1-start
15616 @r=`${PWD_COMMAND}`; export r; \
15617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15618 $(HOST_EXPORTS) \
15619 cd $(HOST_SUBDIR)/libcpp && \
15620 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
15622 maybe-clean-stage1-libcpp: clean-stage1-libcpp
15623 clean-stage1: clean-stage1-libcpp
15624 clean-stage1-libcpp:
15625 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
15626 || exit 0 ; \
15627 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage1-start ; \
15628 cd $(HOST_SUBDIR)/libcpp && \
15629 $(MAKE) $(FLAGS_TO_PASS) \
15630 CFLAGS="$(STAGE1_CFLAGS)" clean
15631 @endif libcpp-bootstrap
15634 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
15635 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
15636 maybe-all-stage2-libcpp:
15637 maybe-clean-stage2-libcpp:
15638 @if libcpp-bootstrap
15639 maybe-all-stage2-libcpp: all-stage2-libcpp
15640 all-stage2: all-stage2-libcpp
15641 all-stage2-libcpp: configure-stage2-libcpp
15642 @$(MAKE) stage2-start
15643 @r=`${PWD_COMMAND}`; export r; \
15644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15645 $(HOST_EXPORTS) \
15646 $(POSTSTAGE1_HOST_EXPORTS) \
15647 cd $(HOST_SUBDIR)/libcpp && \
15648 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15650 maybe-clean-stage2-libcpp: clean-stage2-libcpp
15651 clean-stage2: clean-stage2-libcpp
15652 clean-stage2-libcpp:
15653 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
15654 || exit 0 ; \
15655 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage2-start ; \
15656 cd $(HOST_SUBDIR)/libcpp && \
15657 $(MAKE) $(FLAGS_TO_PASS) \
15658 $(POSTSTAGE1_FLAGS_TO_PASS) \
15659 clean
15660 @endif libcpp-bootstrap
15663 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
15664 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
15665 maybe-all-stage3-libcpp:
15666 maybe-clean-stage3-libcpp:
15667 @if libcpp-bootstrap
15668 maybe-all-stage3-libcpp: all-stage3-libcpp
15669 all-stage3: all-stage3-libcpp
15670 all-stage3-libcpp: configure-stage3-libcpp
15671 @$(MAKE) stage3-start
15672 @r=`${PWD_COMMAND}`; export r; \
15673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15674 $(HOST_EXPORTS) \
15675 $(POSTSTAGE1_HOST_EXPORTS) \
15676 cd $(HOST_SUBDIR)/libcpp && \
15677 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15679 maybe-clean-stage3-libcpp: clean-stage3-libcpp
15680 clean-stage3: clean-stage3-libcpp
15681 clean-stage3-libcpp:
15682 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
15683 || exit 0 ; \
15684 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage3-start ; \
15685 cd $(HOST_SUBDIR)/libcpp && \
15686 $(MAKE) $(FLAGS_TO_PASS) \
15687 $(POSTSTAGE1_FLAGS_TO_PASS) \
15688 clean
15689 @endif libcpp-bootstrap
15692 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
15693 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
15694 maybe-all-stage4-libcpp:
15695 maybe-clean-stage4-libcpp:
15696 @if libcpp-bootstrap
15697 maybe-all-stage4-libcpp: all-stage4-libcpp
15698 all-stage4: all-stage4-libcpp
15699 all-stage4-libcpp: configure-stage4-libcpp
15700 @$(MAKE) stage4-start
15701 @r=`${PWD_COMMAND}`; export r; \
15702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15703 $(HOST_EXPORTS) \
15704 $(POSTSTAGE1_HOST_EXPORTS) \
15705 cd $(HOST_SUBDIR)/libcpp && \
15706 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
15708 maybe-clean-stage4-libcpp: clean-stage4-libcpp
15709 clean-stage4: clean-stage4-libcpp
15710 clean-stage4-libcpp:
15711 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
15712 || exit 0 ; \
15713 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stage4-start ; \
15714 cd $(HOST_SUBDIR)/libcpp && \
15715 $(MAKE) $(FLAGS_TO_PASS) \
15716 $(POSTSTAGE1_FLAGS_TO_PASS) \
15717 clean
15718 @endif libcpp-bootstrap
15721 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
15722 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
15723 maybe-all-stageprofile-libcpp:
15724 maybe-clean-stageprofile-libcpp:
15725 @if libcpp-bootstrap
15726 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
15727 all-stageprofile: all-stageprofile-libcpp
15728 all-stageprofile-libcpp: configure-stageprofile-libcpp
15729 @$(MAKE) stageprofile-start
15730 @r=`${PWD_COMMAND}`; export r; \
15731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15732 $(HOST_EXPORTS) \
15733 $(POSTSTAGE1_HOST_EXPORTS) \
15734 cd $(HOST_SUBDIR)/libcpp && \
15735 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
15737 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
15738 clean-stageprofile: clean-stageprofile-libcpp
15739 clean-stageprofile-libcpp:
15740 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
15741 || exit 0 ; \
15742 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
15743 cd $(HOST_SUBDIR)/libcpp && \
15744 $(MAKE) $(FLAGS_TO_PASS) \
15745 $(POSTSTAGE1_FLAGS_TO_PASS) \
15746 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15747 @endif libcpp-bootstrap
15750 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
15751 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
15752 maybe-all-stagefeedback-libcpp:
15753 maybe-clean-stagefeedback-libcpp:
15754 @if libcpp-bootstrap
15755 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
15756 all-stagefeedback: all-stagefeedback-libcpp
15757 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
15758 @$(MAKE) stagefeedback-start
15759 @r=`${PWD_COMMAND}`; export r; \
15760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15761 $(HOST_EXPORTS) \
15762 $(POSTSTAGE1_HOST_EXPORTS) \
15763 cd $(HOST_SUBDIR)/libcpp && \
15764 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
15766 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
15767 clean-stagefeedback: clean-stagefeedback-libcpp
15768 clean-stagefeedback-libcpp:
15769 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
15770 || exit 0 ; \
15771 [ -f $(HOST_SUBDIR)/libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
15772 cd $(HOST_SUBDIR)/libcpp && \
15773 $(MAKE) $(FLAGS_TO_PASS) \
15774 $(POSTSTAGE1_FLAGS_TO_PASS) \
15775 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15776 @endif libcpp-bootstrap
15782 .PHONY: check-libcpp maybe-check-libcpp
15783 maybe-check-libcpp:
15784 @if libcpp
15785 maybe-check-libcpp: check-libcpp
15787 check-libcpp:
15788 @r=`${PWD_COMMAND}`; export r; \
15789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15790 $(HOST_EXPORTS) \
15791 (cd $(HOST_SUBDIR)/libcpp && \
15792 $(MAKE) $(FLAGS_TO_PASS) check)
15794 @endif libcpp
15796 .PHONY: install-libcpp maybe-install-libcpp
15797 maybe-install-libcpp:
15798 @if libcpp
15799 maybe-install-libcpp: install-libcpp
15801 install-libcpp: installdirs
15802 @r=`${PWD_COMMAND}`; export r; \
15803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15804 $(HOST_EXPORTS) \
15805 (cd $(HOST_SUBDIR)/libcpp && \
15806 $(MAKE) $(FLAGS_TO_PASS) install)
15808 @endif libcpp
15810 # Other targets (info, dvi, etc.)
15812 .PHONY: maybe-info-libcpp info-libcpp
15813 maybe-info-libcpp:
15814 @if libcpp
15815 maybe-info-libcpp: info-libcpp
15817 info-libcpp: \
15818 configure-libcpp
15819 @[ -f ./libcpp/Makefile ] || exit 0; \
15820 r=`${PWD_COMMAND}`; export r; \
15821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15822 $(HOST_EXPORTS) \
15823 for flag in $(EXTRA_HOST_FLAGS) ; do \
15824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15825 done; \
15826 echo "Doing info in libcpp" ; \
15827 (cd $(HOST_SUBDIR)/libcpp && \
15828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15830 "RANLIB=$${RANLIB}" \
15831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15832 info) \
15833 || exit 1
15835 @endif libcpp
15837 .PHONY: maybe-dvi-libcpp dvi-libcpp
15838 maybe-dvi-libcpp:
15839 @if libcpp
15840 maybe-dvi-libcpp: dvi-libcpp
15842 dvi-libcpp: \
15843 configure-libcpp
15844 @[ -f ./libcpp/Makefile ] || exit 0; \
15845 r=`${PWD_COMMAND}`; export r; \
15846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15847 $(HOST_EXPORTS) \
15848 for flag in $(EXTRA_HOST_FLAGS) ; do \
15849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15850 done; \
15851 echo "Doing dvi in libcpp" ; \
15852 (cd $(HOST_SUBDIR)/libcpp && \
15853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15855 "RANLIB=$${RANLIB}" \
15856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15857 dvi) \
15858 || exit 1
15860 @endif libcpp
15862 .PHONY: maybe-html-libcpp html-libcpp
15863 maybe-html-libcpp:
15864 @if libcpp
15865 maybe-html-libcpp: html-libcpp
15867 html-libcpp: \
15868 configure-libcpp
15869 @[ -f ./libcpp/Makefile ] || exit 0; \
15870 r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 $(HOST_EXPORTS) \
15873 for flag in $(EXTRA_HOST_FLAGS) ; do \
15874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15875 done; \
15876 echo "Doing html in libcpp" ; \
15877 (cd $(HOST_SUBDIR)/libcpp && \
15878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15880 "RANLIB=$${RANLIB}" \
15881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15882 html) \
15883 || exit 1
15885 @endif libcpp
15887 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
15888 maybe-TAGS-libcpp:
15889 @if libcpp
15890 maybe-TAGS-libcpp: TAGS-libcpp
15892 TAGS-libcpp: \
15893 configure-libcpp
15894 @[ -f ./libcpp/Makefile ] || exit 0; \
15895 r=`${PWD_COMMAND}`; export r; \
15896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15897 $(HOST_EXPORTS) \
15898 for flag in $(EXTRA_HOST_FLAGS) ; do \
15899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15900 done; \
15901 echo "Doing TAGS in libcpp" ; \
15902 (cd $(HOST_SUBDIR)/libcpp && \
15903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15905 "RANLIB=$${RANLIB}" \
15906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15907 TAGS) \
15908 || exit 1
15910 @endif libcpp
15912 .PHONY: maybe-install-info-libcpp install-info-libcpp
15913 maybe-install-info-libcpp:
15914 @if libcpp
15915 maybe-install-info-libcpp: install-info-libcpp
15917 install-info-libcpp: \
15918 configure-libcpp \
15919 info-libcpp
15920 @[ -f ./libcpp/Makefile ] || exit 0; \
15921 r=`${PWD_COMMAND}`; export r; \
15922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15923 $(HOST_EXPORTS) \
15924 for flag in $(EXTRA_HOST_FLAGS) ; do \
15925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15926 done; \
15927 echo "Doing install-info in libcpp" ; \
15928 (cd $(HOST_SUBDIR)/libcpp && \
15929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15931 "RANLIB=$${RANLIB}" \
15932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15933 install-info) \
15934 || exit 1
15936 @endif libcpp
15938 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
15939 maybe-installcheck-libcpp:
15940 @if libcpp
15941 maybe-installcheck-libcpp: installcheck-libcpp
15943 installcheck-libcpp: \
15944 configure-libcpp
15945 @[ -f ./libcpp/Makefile ] || exit 0; \
15946 r=`${PWD_COMMAND}`; export r; \
15947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15948 $(HOST_EXPORTS) \
15949 for flag in $(EXTRA_HOST_FLAGS) ; do \
15950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15951 done; \
15952 echo "Doing installcheck in libcpp" ; \
15953 (cd $(HOST_SUBDIR)/libcpp && \
15954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15956 "RANLIB=$${RANLIB}" \
15957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15958 installcheck) \
15959 || exit 1
15961 @endif libcpp
15963 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
15964 maybe-mostlyclean-libcpp:
15965 @if libcpp
15966 maybe-mostlyclean-libcpp: mostlyclean-libcpp
15968 mostlyclean-libcpp:
15969 @[ -f ./libcpp/Makefile ] || exit 0; \
15970 r=`${PWD_COMMAND}`; export r; \
15971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15972 $(HOST_EXPORTS) \
15973 for flag in $(EXTRA_HOST_FLAGS) ; do \
15974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15975 done; \
15976 echo "Doing mostlyclean in libcpp" ; \
15977 (cd $(HOST_SUBDIR)/libcpp && \
15978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15980 "RANLIB=$${RANLIB}" \
15981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15982 mostlyclean) \
15983 || exit 1
15985 @endif libcpp
15987 .PHONY: maybe-clean-libcpp clean-libcpp
15988 maybe-clean-libcpp:
15989 @if libcpp
15990 maybe-clean-libcpp: clean-libcpp
15992 clean-libcpp:
15993 @[ -f ./libcpp/Makefile ] || exit 0; \
15994 r=`${PWD_COMMAND}`; export r; \
15995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15996 $(HOST_EXPORTS) \
15997 for flag in $(EXTRA_HOST_FLAGS) ; do \
15998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15999 done; \
16000 echo "Doing clean in libcpp" ; \
16001 (cd $(HOST_SUBDIR)/libcpp && \
16002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16004 "RANLIB=$${RANLIB}" \
16005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16006 clean) \
16007 || exit 1
16009 @endif libcpp
16011 .PHONY: maybe-distclean-libcpp distclean-libcpp
16012 maybe-distclean-libcpp:
16013 @if libcpp
16014 maybe-distclean-libcpp: distclean-libcpp
16016 distclean-libcpp:
16017 @[ -f ./libcpp/Makefile ] || exit 0; \
16018 r=`${PWD_COMMAND}`; export r; \
16019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16020 $(HOST_EXPORTS) \
16021 for flag in $(EXTRA_HOST_FLAGS) ; do \
16022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16023 done; \
16024 echo "Doing distclean in libcpp" ; \
16025 (cd $(HOST_SUBDIR)/libcpp && \
16026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16028 "RANLIB=$${RANLIB}" \
16029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16030 distclean) \
16031 || exit 1
16033 @endif libcpp
16035 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16036 maybe-maintainer-clean-libcpp:
16037 @if libcpp
16038 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16040 maintainer-clean-libcpp:
16041 @[ -f ./libcpp/Makefile ] || exit 0; \
16042 r=`${PWD_COMMAND}`; export r; \
16043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16044 $(HOST_EXPORTS) \
16045 for flag in $(EXTRA_HOST_FLAGS) ; do \
16046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16047 done; \
16048 echo "Doing maintainer-clean in libcpp" ; \
16049 (cd $(HOST_SUBDIR)/libcpp && \
16050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16052 "RANLIB=$${RANLIB}" \
16053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16054 maintainer-clean) \
16055 || exit 1
16057 @endif libcpp
16061 .PHONY: configure-libgui maybe-configure-libgui
16062 maybe-configure-libgui:
16063 @if libgui
16064 maybe-configure-libgui: configure-libgui
16065 configure-libgui:
16066 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16067 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16068 r=`${PWD_COMMAND}`; export r; \
16069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16070 $(HOST_EXPORTS) \
16071 echo Configuring in $(HOST_SUBDIR)/libgui; \
16072 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16073 case $(srcdir) in \
16074 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16075 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16076 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16077 esac; \
16078 srcdiroption="--srcdir=$${topdir}/libgui"; \
16079 libsrcdir="$$s/libgui"; \
16080 $(SHELL) $${libsrcdir}/configure \
16081 $(HOST_CONFIGARGS) $${srcdiroption} \
16082 || exit 1
16083 @endif libgui
16089 .PHONY: all-libgui maybe-all-libgui
16090 maybe-all-libgui:
16091 @if libgui
16092 TARGET-libgui=all
16093 maybe-all-libgui: all-libgui
16094 all-libgui: configure-libgui
16095 @r=`${PWD_COMMAND}`; export r; \
16096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16097 $(HOST_EXPORTS) \
16098 (cd $(HOST_SUBDIR)/libgui && \
16099 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16100 @endif libgui
16105 .PHONY: check-libgui maybe-check-libgui
16106 maybe-check-libgui:
16107 @if libgui
16108 maybe-check-libgui: check-libgui
16110 check-libgui:
16111 @r=`${PWD_COMMAND}`; export r; \
16112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16113 $(HOST_EXPORTS) \
16114 (cd $(HOST_SUBDIR)/libgui && \
16115 $(MAKE) $(FLAGS_TO_PASS) check)
16117 @endif libgui
16119 .PHONY: install-libgui maybe-install-libgui
16120 maybe-install-libgui:
16121 @if libgui
16122 maybe-install-libgui: install-libgui
16124 install-libgui: installdirs
16125 @r=`${PWD_COMMAND}`; export r; \
16126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16127 $(HOST_EXPORTS) \
16128 (cd $(HOST_SUBDIR)/libgui && \
16129 $(MAKE) $(FLAGS_TO_PASS) install)
16131 @endif libgui
16133 # Other targets (info, dvi, etc.)
16135 .PHONY: maybe-info-libgui info-libgui
16136 maybe-info-libgui:
16137 @if libgui
16138 maybe-info-libgui: info-libgui
16140 info-libgui: \
16141 configure-libgui
16142 @[ -f ./libgui/Makefile ] || exit 0; \
16143 r=`${PWD_COMMAND}`; export r; \
16144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16145 $(HOST_EXPORTS) \
16146 for flag in $(EXTRA_HOST_FLAGS) ; do \
16147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16148 done; \
16149 echo "Doing info in libgui" ; \
16150 (cd $(HOST_SUBDIR)/libgui && \
16151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16153 "RANLIB=$${RANLIB}" \
16154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16155 info) \
16156 || exit 1
16158 @endif libgui
16160 .PHONY: maybe-dvi-libgui dvi-libgui
16161 maybe-dvi-libgui:
16162 @if libgui
16163 maybe-dvi-libgui: dvi-libgui
16165 dvi-libgui: \
16166 configure-libgui
16167 @[ -f ./libgui/Makefile ] || exit 0; \
16168 r=`${PWD_COMMAND}`; export r; \
16169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16170 $(HOST_EXPORTS) \
16171 for flag in $(EXTRA_HOST_FLAGS) ; do \
16172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16173 done; \
16174 echo "Doing dvi in libgui" ; \
16175 (cd $(HOST_SUBDIR)/libgui && \
16176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16178 "RANLIB=$${RANLIB}" \
16179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16180 dvi) \
16181 || exit 1
16183 @endif libgui
16185 .PHONY: maybe-html-libgui html-libgui
16186 maybe-html-libgui:
16187 @if libgui
16188 maybe-html-libgui: html-libgui
16190 html-libgui: \
16191 configure-libgui
16192 @[ -f ./libgui/Makefile ] || exit 0; \
16193 r=`${PWD_COMMAND}`; export r; \
16194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16195 $(HOST_EXPORTS) \
16196 for flag in $(EXTRA_HOST_FLAGS) ; do \
16197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16198 done; \
16199 echo "Doing html in libgui" ; \
16200 (cd $(HOST_SUBDIR)/libgui && \
16201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16203 "RANLIB=$${RANLIB}" \
16204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16205 html) \
16206 || exit 1
16208 @endif libgui
16210 .PHONY: maybe-TAGS-libgui TAGS-libgui
16211 maybe-TAGS-libgui:
16212 @if libgui
16213 maybe-TAGS-libgui: TAGS-libgui
16215 TAGS-libgui: \
16216 configure-libgui
16217 @[ -f ./libgui/Makefile ] || exit 0; \
16218 r=`${PWD_COMMAND}`; export r; \
16219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16220 $(HOST_EXPORTS) \
16221 for flag in $(EXTRA_HOST_FLAGS) ; do \
16222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16223 done; \
16224 echo "Doing TAGS in libgui" ; \
16225 (cd $(HOST_SUBDIR)/libgui && \
16226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16228 "RANLIB=$${RANLIB}" \
16229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16230 TAGS) \
16231 || exit 1
16233 @endif libgui
16235 .PHONY: maybe-install-info-libgui install-info-libgui
16236 maybe-install-info-libgui:
16237 @if libgui
16238 maybe-install-info-libgui: install-info-libgui
16240 install-info-libgui: \
16241 configure-libgui \
16242 info-libgui
16243 @[ -f ./libgui/Makefile ] || exit 0; \
16244 r=`${PWD_COMMAND}`; export r; \
16245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16246 $(HOST_EXPORTS) \
16247 for flag in $(EXTRA_HOST_FLAGS) ; do \
16248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16249 done; \
16250 echo "Doing install-info in libgui" ; \
16251 (cd $(HOST_SUBDIR)/libgui && \
16252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16254 "RANLIB=$${RANLIB}" \
16255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16256 install-info) \
16257 || exit 1
16259 @endif libgui
16261 .PHONY: maybe-installcheck-libgui installcheck-libgui
16262 maybe-installcheck-libgui:
16263 @if libgui
16264 maybe-installcheck-libgui: installcheck-libgui
16266 installcheck-libgui: \
16267 configure-libgui
16268 @[ -f ./libgui/Makefile ] || exit 0; \
16269 r=`${PWD_COMMAND}`; export r; \
16270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16271 $(HOST_EXPORTS) \
16272 for flag in $(EXTRA_HOST_FLAGS) ; do \
16273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16274 done; \
16275 echo "Doing installcheck in libgui" ; \
16276 (cd $(HOST_SUBDIR)/libgui && \
16277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16279 "RANLIB=$${RANLIB}" \
16280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16281 installcheck) \
16282 || exit 1
16284 @endif libgui
16286 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16287 maybe-mostlyclean-libgui:
16288 @if libgui
16289 maybe-mostlyclean-libgui: mostlyclean-libgui
16291 mostlyclean-libgui:
16292 @[ -f ./libgui/Makefile ] || exit 0; \
16293 r=`${PWD_COMMAND}`; export r; \
16294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16295 $(HOST_EXPORTS) \
16296 for flag in $(EXTRA_HOST_FLAGS) ; do \
16297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16298 done; \
16299 echo "Doing mostlyclean in libgui" ; \
16300 (cd $(HOST_SUBDIR)/libgui && \
16301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16303 "RANLIB=$${RANLIB}" \
16304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16305 mostlyclean) \
16306 || exit 1
16308 @endif libgui
16310 .PHONY: maybe-clean-libgui clean-libgui
16311 maybe-clean-libgui:
16312 @if libgui
16313 maybe-clean-libgui: clean-libgui
16315 clean-libgui:
16316 @[ -f ./libgui/Makefile ] || exit 0; \
16317 r=`${PWD_COMMAND}`; export r; \
16318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16319 $(HOST_EXPORTS) \
16320 for flag in $(EXTRA_HOST_FLAGS) ; do \
16321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16322 done; \
16323 echo "Doing clean in libgui" ; \
16324 (cd $(HOST_SUBDIR)/libgui && \
16325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16327 "RANLIB=$${RANLIB}" \
16328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16329 clean) \
16330 || exit 1
16332 @endif libgui
16334 .PHONY: maybe-distclean-libgui distclean-libgui
16335 maybe-distclean-libgui:
16336 @if libgui
16337 maybe-distclean-libgui: distclean-libgui
16339 distclean-libgui:
16340 @[ -f ./libgui/Makefile ] || exit 0; \
16341 r=`${PWD_COMMAND}`; export r; \
16342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16343 $(HOST_EXPORTS) \
16344 for flag in $(EXTRA_HOST_FLAGS) ; do \
16345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16346 done; \
16347 echo "Doing distclean in libgui" ; \
16348 (cd $(HOST_SUBDIR)/libgui && \
16349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16351 "RANLIB=$${RANLIB}" \
16352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16353 distclean) \
16354 || exit 1
16356 @endif libgui
16358 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
16359 maybe-maintainer-clean-libgui:
16360 @if libgui
16361 maybe-maintainer-clean-libgui: maintainer-clean-libgui
16363 maintainer-clean-libgui:
16364 @[ -f ./libgui/Makefile ] || exit 0; \
16365 r=`${PWD_COMMAND}`; export r; \
16366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16367 $(HOST_EXPORTS) \
16368 for flag in $(EXTRA_HOST_FLAGS) ; do \
16369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16370 done; \
16371 echo "Doing maintainer-clean in libgui" ; \
16372 (cd $(HOST_SUBDIR)/libgui && \
16373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16375 "RANLIB=$${RANLIB}" \
16376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16377 maintainer-clean) \
16378 || exit 1
16380 @endif libgui
16384 .PHONY: configure-libiberty maybe-configure-libiberty
16385 maybe-configure-libiberty:
16386 @if libiberty
16387 maybe-configure-libiberty: configure-libiberty
16388 configure-libiberty:
16389 @test -f stage_last && exit 0; \
16390 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
16391 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
16392 r=`${PWD_COMMAND}`; export r; \
16393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16394 $(HOST_EXPORTS) \
16395 echo Configuring in $(HOST_SUBDIR)/libiberty; \
16396 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
16397 case $(srcdir) in \
16398 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16399 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16400 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16401 esac; \
16402 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16403 libsrcdir="$$s/libiberty"; \
16404 $(SHELL) $${libsrcdir}/configure \
16405 $(HOST_CONFIGARGS) $${srcdiroption} \
16406 || exit 1
16407 @endif libiberty
16411 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
16412 maybe-configure-stage1-libiberty:
16413 @if libiberty-bootstrap
16414 maybe-configure-stage1-libiberty: configure-stage1-libiberty
16415 configure-stage1-libiberty:
16416 @$(MAKE) stage1-start
16417 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16418 r=`${PWD_COMMAND}`; export r; \
16419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16420 $(HOST_EXPORTS) \
16421 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
16422 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16423 case $(srcdir) in \
16424 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16425 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16426 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16427 esac; \
16428 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16429 libsrcdir="$$s/libiberty"; \
16430 $(SHELL) $${libsrcdir}/configure \
16431 $(HOST_CONFIGARGS) $${srcdiroption} \
16432 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16433 @endif libiberty-bootstrap
16435 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
16436 maybe-configure-stage2-libiberty:
16437 @if libiberty-bootstrap
16438 maybe-configure-stage2-libiberty: configure-stage2-libiberty
16439 configure-stage2-libiberty:
16440 @$(MAKE) stage2-start
16441 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16442 r=`${PWD_COMMAND}`; export r; \
16443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16444 $(HOST_EXPORTS) \
16445 $(POSTSTAGE1_HOST_EXPORTS) \
16446 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
16447 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16448 case $(srcdir) in \
16449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16450 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16452 esac; \
16453 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16454 libsrcdir="$$s/libiberty"; \
16455 $(SHELL) $${libsrcdir}/configure \
16456 $(HOST_CONFIGARGS) $${srcdiroption} \
16457 @stage2_werror_flag@
16458 @endif libiberty-bootstrap
16460 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
16461 maybe-configure-stage3-libiberty:
16462 @if libiberty-bootstrap
16463 maybe-configure-stage3-libiberty: configure-stage3-libiberty
16464 configure-stage3-libiberty:
16465 @$(MAKE) stage3-start
16466 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16467 r=`${PWD_COMMAND}`; export r; \
16468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16469 $(HOST_EXPORTS) \
16470 $(POSTSTAGE1_HOST_EXPORTS) \
16471 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
16472 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16473 case $(srcdir) in \
16474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16475 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16477 esac; \
16478 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16479 libsrcdir="$$s/libiberty"; \
16480 $(SHELL) $${libsrcdir}/configure \
16481 $(HOST_CONFIGARGS) $${srcdiroption} \
16482 @stage2_werror_flag@
16483 @endif libiberty-bootstrap
16485 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
16486 maybe-configure-stage4-libiberty:
16487 @if libiberty-bootstrap
16488 maybe-configure-stage4-libiberty: configure-stage4-libiberty
16489 configure-stage4-libiberty:
16490 @$(MAKE) stage4-start
16491 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16492 r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16494 $(HOST_EXPORTS) \
16495 $(POSTSTAGE1_HOST_EXPORTS) \
16496 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
16497 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16498 case $(srcdir) in \
16499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16500 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16502 esac; \
16503 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16504 libsrcdir="$$s/libiberty"; \
16505 $(SHELL) $${libsrcdir}/configure \
16506 $(HOST_CONFIGARGS) $${srcdiroption} \
16507 @stage2_werror_flag@
16508 @endif libiberty-bootstrap
16510 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
16511 maybe-configure-stageprofile-libiberty:
16512 @if libiberty-bootstrap
16513 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
16514 configure-stageprofile-libiberty:
16515 @$(MAKE) stageprofile-start
16516 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16517 r=`${PWD_COMMAND}`; export r; \
16518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16519 $(HOST_EXPORTS) \
16520 $(POSTSTAGE1_HOST_EXPORTS) \
16521 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
16522 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16523 case $(srcdir) in \
16524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16525 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16527 esac; \
16528 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16529 libsrcdir="$$s/libiberty"; \
16530 $(SHELL) $${libsrcdir}/configure \
16531 $(HOST_CONFIGARGS) $${srcdiroption} \
16532 @stage2_werror_flag@
16533 @endif libiberty-bootstrap
16535 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
16536 maybe-configure-stagefeedback-libiberty:
16537 @if libiberty-bootstrap
16538 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
16539 configure-stagefeedback-libiberty:
16540 @$(MAKE) stagefeedback-start
16541 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
16542 r=`${PWD_COMMAND}`; export r; \
16543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16544 $(HOST_EXPORTS) \
16545 $(POSTSTAGE1_HOST_EXPORTS) \
16546 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
16547 cd $(HOST_SUBDIR)/libiberty || exit 1; \
16548 case $(srcdir) in \
16549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16550 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
16551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16552 esac; \
16553 srcdiroption="--srcdir=$${topdir}/libiberty"; \
16554 libsrcdir="$$s/libiberty"; \
16555 $(SHELL) $${libsrcdir}/configure \
16556 $(HOST_CONFIGARGS) $${srcdiroption} \
16557 @stage2_werror_flag@
16558 @endif libiberty-bootstrap
16564 .PHONY: all-libiberty maybe-all-libiberty
16565 maybe-all-libiberty:
16566 @if libiberty
16567 TARGET-libiberty=all
16568 maybe-all-libiberty: all-libiberty
16569 all-libiberty: configure-libiberty
16570 @test -f stage_last && exit 0; \
16571 r=`${PWD_COMMAND}`; export r; \
16572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16573 $(HOST_EXPORTS) \
16574 (cd $(HOST_SUBDIR)/libiberty && \
16575 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
16576 @endif libiberty
16580 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
16581 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
16582 maybe-all-stage1-libiberty:
16583 maybe-clean-stage1-libiberty:
16584 @if libiberty-bootstrap
16585 maybe-all-stage1-libiberty: all-stage1-libiberty
16586 all-stage1: all-stage1-libiberty
16587 all-stage1-libiberty: configure-stage1-libiberty
16588 @$(MAKE) stage1-start
16589 @r=`${PWD_COMMAND}`; export r; \
16590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16591 $(HOST_EXPORTS) \
16592 cd $(HOST_SUBDIR)/libiberty && \
16593 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
16595 maybe-clean-stage1-libiberty: clean-stage1-libiberty
16596 clean-stage1: clean-stage1-libiberty
16597 clean-stage1-libiberty:
16598 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
16599 || exit 0 ; \
16600 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage1-start ; \
16601 cd $(HOST_SUBDIR)/libiberty && \
16602 $(MAKE) $(FLAGS_TO_PASS) \
16603 CFLAGS="$(STAGE1_CFLAGS)" clean
16604 @endif libiberty-bootstrap
16607 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
16608 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
16609 maybe-all-stage2-libiberty:
16610 maybe-clean-stage2-libiberty:
16611 @if libiberty-bootstrap
16612 maybe-all-stage2-libiberty: all-stage2-libiberty
16613 all-stage2: all-stage2-libiberty
16614 all-stage2-libiberty: configure-stage2-libiberty
16615 @$(MAKE) stage2-start
16616 @r=`${PWD_COMMAND}`; export r; \
16617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16618 $(HOST_EXPORTS) \
16619 $(POSTSTAGE1_HOST_EXPORTS) \
16620 cd $(HOST_SUBDIR)/libiberty && \
16621 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16623 maybe-clean-stage2-libiberty: clean-stage2-libiberty
16624 clean-stage2: clean-stage2-libiberty
16625 clean-stage2-libiberty:
16626 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
16627 || exit 0 ; \
16628 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage2-start ; \
16629 cd $(HOST_SUBDIR)/libiberty && \
16630 $(MAKE) $(FLAGS_TO_PASS) \
16631 $(POSTSTAGE1_FLAGS_TO_PASS) \
16632 clean
16633 @endif libiberty-bootstrap
16636 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
16637 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
16638 maybe-all-stage3-libiberty:
16639 maybe-clean-stage3-libiberty:
16640 @if libiberty-bootstrap
16641 maybe-all-stage3-libiberty: all-stage3-libiberty
16642 all-stage3: all-stage3-libiberty
16643 all-stage3-libiberty: configure-stage3-libiberty
16644 @$(MAKE) stage3-start
16645 @r=`${PWD_COMMAND}`; export r; \
16646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16647 $(HOST_EXPORTS) \
16648 $(POSTSTAGE1_HOST_EXPORTS) \
16649 cd $(HOST_SUBDIR)/libiberty && \
16650 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16652 maybe-clean-stage3-libiberty: clean-stage3-libiberty
16653 clean-stage3: clean-stage3-libiberty
16654 clean-stage3-libiberty:
16655 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
16656 || exit 0 ; \
16657 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage3-start ; \
16658 cd $(HOST_SUBDIR)/libiberty && \
16659 $(MAKE) $(FLAGS_TO_PASS) \
16660 $(POSTSTAGE1_FLAGS_TO_PASS) \
16661 clean
16662 @endif libiberty-bootstrap
16665 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
16666 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
16667 maybe-all-stage4-libiberty:
16668 maybe-clean-stage4-libiberty:
16669 @if libiberty-bootstrap
16670 maybe-all-stage4-libiberty: all-stage4-libiberty
16671 all-stage4: all-stage4-libiberty
16672 all-stage4-libiberty: configure-stage4-libiberty
16673 @$(MAKE) stage4-start
16674 @r=`${PWD_COMMAND}`; export r; \
16675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16676 $(HOST_EXPORTS) \
16677 $(POSTSTAGE1_HOST_EXPORTS) \
16678 cd $(HOST_SUBDIR)/libiberty && \
16679 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
16681 maybe-clean-stage4-libiberty: clean-stage4-libiberty
16682 clean-stage4: clean-stage4-libiberty
16683 clean-stage4-libiberty:
16684 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
16685 || exit 0 ; \
16686 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stage4-start ; \
16687 cd $(HOST_SUBDIR)/libiberty && \
16688 $(MAKE) $(FLAGS_TO_PASS) \
16689 $(POSTSTAGE1_FLAGS_TO_PASS) \
16690 clean
16691 @endif libiberty-bootstrap
16694 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
16695 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
16696 maybe-all-stageprofile-libiberty:
16697 maybe-clean-stageprofile-libiberty:
16698 @if libiberty-bootstrap
16699 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
16700 all-stageprofile: all-stageprofile-libiberty
16701 all-stageprofile-libiberty: configure-stageprofile-libiberty
16702 @$(MAKE) stageprofile-start
16703 @r=`${PWD_COMMAND}`; export r; \
16704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16705 $(HOST_EXPORTS) \
16706 $(POSTSTAGE1_HOST_EXPORTS) \
16707 cd $(HOST_SUBDIR)/libiberty && \
16708 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
16710 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
16711 clean-stageprofile: clean-stageprofile-libiberty
16712 clean-stageprofile-libiberty:
16713 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
16714 || exit 0 ; \
16715 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
16716 cd $(HOST_SUBDIR)/libiberty && \
16717 $(MAKE) $(FLAGS_TO_PASS) \
16718 $(POSTSTAGE1_FLAGS_TO_PASS) \
16719 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16720 @endif libiberty-bootstrap
16723 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
16724 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
16725 maybe-all-stagefeedback-libiberty:
16726 maybe-clean-stagefeedback-libiberty:
16727 @if libiberty-bootstrap
16728 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
16729 all-stagefeedback: all-stagefeedback-libiberty
16730 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
16731 @$(MAKE) stagefeedback-start
16732 @r=`${PWD_COMMAND}`; export r; \
16733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16734 $(HOST_EXPORTS) \
16735 $(POSTSTAGE1_HOST_EXPORTS) \
16736 cd $(HOST_SUBDIR)/libiberty && \
16737 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
16739 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
16740 clean-stagefeedback: clean-stagefeedback-libiberty
16741 clean-stagefeedback-libiberty:
16742 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
16743 || exit 0 ; \
16744 [ -f $(HOST_SUBDIR)/libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
16745 cd $(HOST_SUBDIR)/libiberty && \
16746 $(MAKE) $(FLAGS_TO_PASS) \
16747 $(POSTSTAGE1_FLAGS_TO_PASS) \
16748 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16749 @endif libiberty-bootstrap
16755 .PHONY: check-libiberty maybe-check-libiberty
16756 maybe-check-libiberty:
16757 @if libiberty
16758 maybe-check-libiberty: check-libiberty
16760 check-libiberty:
16761 @r=`${PWD_COMMAND}`; export r; \
16762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16763 $(HOST_EXPORTS) \
16764 (cd $(HOST_SUBDIR)/libiberty && \
16765 $(MAKE) $(FLAGS_TO_PASS) check)
16767 @endif libiberty
16769 .PHONY: install-libiberty maybe-install-libiberty
16770 maybe-install-libiberty:
16771 @if libiberty
16772 maybe-install-libiberty: install-libiberty
16774 install-libiberty: installdirs
16775 @r=`${PWD_COMMAND}`; export r; \
16776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16777 $(HOST_EXPORTS) \
16778 (cd $(HOST_SUBDIR)/libiberty && \
16779 $(MAKE) $(FLAGS_TO_PASS) install)
16781 @endif libiberty
16783 # Other targets (info, dvi, etc.)
16785 .PHONY: maybe-info-libiberty info-libiberty
16786 maybe-info-libiberty:
16787 @if libiberty
16788 maybe-info-libiberty: info-libiberty
16790 info-libiberty: \
16791 configure-libiberty
16792 @[ -f ./libiberty/Makefile ] || exit 0; \
16793 r=`${PWD_COMMAND}`; export r; \
16794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16795 $(HOST_EXPORTS) \
16796 for flag in $(EXTRA_HOST_FLAGS) ; do \
16797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16798 done; \
16799 echo "Doing info in libiberty" ; \
16800 (cd $(HOST_SUBDIR)/libiberty && \
16801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16803 "RANLIB=$${RANLIB}" \
16804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16805 info) \
16806 || exit 1
16808 @endif libiberty
16810 .PHONY: maybe-dvi-libiberty dvi-libiberty
16811 maybe-dvi-libiberty:
16812 @if libiberty
16813 maybe-dvi-libiberty: dvi-libiberty
16815 dvi-libiberty: \
16816 configure-libiberty
16817 @[ -f ./libiberty/Makefile ] || exit 0; \
16818 r=`${PWD_COMMAND}`; export r; \
16819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16820 $(HOST_EXPORTS) \
16821 for flag in $(EXTRA_HOST_FLAGS) ; do \
16822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16823 done; \
16824 echo "Doing dvi in libiberty" ; \
16825 (cd $(HOST_SUBDIR)/libiberty && \
16826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16828 "RANLIB=$${RANLIB}" \
16829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16830 dvi) \
16831 || exit 1
16833 @endif libiberty
16835 .PHONY: maybe-html-libiberty html-libiberty
16836 maybe-html-libiberty:
16837 @if libiberty
16838 maybe-html-libiberty: html-libiberty
16840 html-libiberty: \
16841 configure-libiberty
16842 @[ -f ./libiberty/Makefile ] || exit 0; \
16843 r=`${PWD_COMMAND}`; export r; \
16844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16845 $(HOST_EXPORTS) \
16846 for flag in $(EXTRA_HOST_FLAGS) ; do \
16847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16848 done; \
16849 echo "Doing html in libiberty" ; \
16850 (cd $(HOST_SUBDIR)/libiberty && \
16851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16853 "RANLIB=$${RANLIB}" \
16854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16855 html) \
16856 || exit 1
16858 @endif libiberty
16860 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
16861 maybe-TAGS-libiberty:
16862 @if libiberty
16863 maybe-TAGS-libiberty: TAGS-libiberty
16865 TAGS-libiberty: \
16866 configure-libiberty
16867 @[ -f ./libiberty/Makefile ] || exit 0; \
16868 r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16870 $(HOST_EXPORTS) \
16871 for flag in $(EXTRA_HOST_FLAGS) ; do \
16872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16873 done; \
16874 echo "Doing TAGS in libiberty" ; \
16875 (cd $(HOST_SUBDIR)/libiberty && \
16876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16878 "RANLIB=$${RANLIB}" \
16879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16880 TAGS) \
16881 || exit 1
16883 @endif libiberty
16885 .PHONY: maybe-install-info-libiberty install-info-libiberty
16886 maybe-install-info-libiberty:
16887 @if libiberty
16888 maybe-install-info-libiberty: install-info-libiberty
16890 install-info-libiberty: \
16891 configure-libiberty \
16892 info-libiberty
16893 @[ -f ./libiberty/Makefile ] || exit 0; \
16894 r=`${PWD_COMMAND}`; export r; \
16895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16896 $(HOST_EXPORTS) \
16897 for flag in $(EXTRA_HOST_FLAGS) ; do \
16898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16899 done; \
16900 echo "Doing install-info in libiberty" ; \
16901 (cd $(HOST_SUBDIR)/libiberty && \
16902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16904 "RANLIB=$${RANLIB}" \
16905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16906 install-info) \
16907 || exit 1
16909 @endif libiberty
16911 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
16912 maybe-installcheck-libiberty:
16913 @if libiberty
16914 maybe-installcheck-libiberty: installcheck-libiberty
16916 installcheck-libiberty: \
16917 configure-libiberty
16918 @[ -f ./libiberty/Makefile ] || exit 0; \
16919 r=`${PWD_COMMAND}`; export r; \
16920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16921 $(HOST_EXPORTS) \
16922 for flag in $(EXTRA_HOST_FLAGS) ; do \
16923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16924 done; \
16925 echo "Doing installcheck in libiberty" ; \
16926 (cd $(HOST_SUBDIR)/libiberty && \
16927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16929 "RANLIB=$${RANLIB}" \
16930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16931 installcheck) \
16932 || exit 1
16934 @endif libiberty
16936 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
16937 maybe-mostlyclean-libiberty:
16938 @if libiberty
16939 maybe-mostlyclean-libiberty: mostlyclean-libiberty
16941 mostlyclean-libiberty:
16942 @[ -f ./libiberty/Makefile ] || exit 0; \
16943 r=`${PWD_COMMAND}`; export r; \
16944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16945 $(HOST_EXPORTS) \
16946 for flag in $(EXTRA_HOST_FLAGS) ; do \
16947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16948 done; \
16949 echo "Doing mostlyclean in libiberty" ; \
16950 (cd $(HOST_SUBDIR)/libiberty && \
16951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16953 "RANLIB=$${RANLIB}" \
16954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16955 mostlyclean) \
16956 || exit 1
16958 @endif libiberty
16960 .PHONY: maybe-clean-libiberty clean-libiberty
16961 maybe-clean-libiberty:
16962 @if libiberty
16963 maybe-clean-libiberty: clean-libiberty
16965 clean-libiberty:
16966 @[ -f ./libiberty/Makefile ] || exit 0; \
16967 r=`${PWD_COMMAND}`; export r; \
16968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16969 $(HOST_EXPORTS) \
16970 for flag in $(EXTRA_HOST_FLAGS) ; do \
16971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16972 done; \
16973 echo "Doing clean in libiberty" ; \
16974 (cd $(HOST_SUBDIR)/libiberty && \
16975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16977 "RANLIB=$${RANLIB}" \
16978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16979 clean) \
16980 || exit 1
16982 @endif libiberty
16984 .PHONY: maybe-distclean-libiberty distclean-libiberty
16985 maybe-distclean-libiberty:
16986 @if libiberty
16987 maybe-distclean-libiberty: distclean-libiberty
16989 distclean-libiberty:
16990 @[ -f ./libiberty/Makefile ] || exit 0; \
16991 r=`${PWD_COMMAND}`; export r; \
16992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16993 $(HOST_EXPORTS) \
16994 for flag in $(EXTRA_HOST_FLAGS) ; do \
16995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16996 done; \
16997 echo "Doing distclean in libiberty" ; \
16998 (cd $(HOST_SUBDIR)/libiberty && \
16999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17001 "RANLIB=$${RANLIB}" \
17002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17003 distclean) \
17004 || exit 1
17006 @endif libiberty
17008 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17009 maybe-maintainer-clean-libiberty:
17010 @if libiberty
17011 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17013 maintainer-clean-libiberty:
17014 @[ -f ./libiberty/Makefile ] || exit 0; \
17015 r=`${PWD_COMMAND}`; export r; \
17016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17017 $(HOST_EXPORTS) \
17018 for flag in $(EXTRA_HOST_FLAGS) ; do \
17019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17020 done; \
17021 echo "Doing maintainer-clean in libiberty" ; \
17022 (cd $(HOST_SUBDIR)/libiberty && \
17023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17025 "RANLIB=$${RANLIB}" \
17026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17027 maintainer-clean) \
17028 || exit 1
17030 @endif libiberty
17034 .PHONY: configure-libtool maybe-configure-libtool
17035 maybe-configure-libtool:
17036 @if libtool
17037 maybe-configure-libtool: configure-libtool
17038 configure-libtool:
17039 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17040 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17041 r=`${PWD_COMMAND}`; export r; \
17042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17043 $(HOST_EXPORTS) \
17044 echo Configuring in $(HOST_SUBDIR)/libtool; \
17045 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17046 case $(srcdir) in \
17047 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17048 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17049 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17050 esac; \
17051 srcdiroption="--srcdir=$${topdir}/libtool"; \
17052 libsrcdir="$$s/libtool"; \
17053 $(SHELL) $${libsrcdir}/configure \
17054 $(HOST_CONFIGARGS) $${srcdiroption} \
17055 || exit 1
17056 @endif libtool
17062 .PHONY: all-libtool maybe-all-libtool
17063 maybe-all-libtool:
17064 @if libtool
17065 TARGET-libtool=all
17066 maybe-all-libtool: all-libtool
17067 all-libtool: configure-libtool
17068 @r=`${PWD_COMMAND}`; export r; \
17069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17070 $(HOST_EXPORTS) \
17071 (cd $(HOST_SUBDIR)/libtool && \
17072 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17073 @endif libtool
17078 .PHONY: check-libtool maybe-check-libtool
17079 maybe-check-libtool:
17080 @if libtool
17081 maybe-check-libtool: check-libtool
17083 check-libtool:
17084 @r=`${PWD_COMMAND}`; export r; \
17085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17086 $(HOST_EXPORTS) \
17087 (cd $(HOST_SUBDIR)/libtool && \
17088 $(MAKE) $(FLAGS_TO_PASS) check)
17090 @endif libtool
17092 .PHONY: install-libtool maybe-install-libtool
17093 maybe-install-libtool:
17094 @if libtool
17095 maybe-install-libtool: install-libtool
17097 install-libtool: installdirs
17098 @r=`${PWD_COMMAND}`; export r; \
17099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17100 $(HOST_EXPORTS) \
17101 (cd $(HOST_SUBDIR)/libtool && \
17102 $(MAKE) $(FLAGS_TO_PASS) install)
17104 @endif libtool
17106 # Other targets (info, dvi, etc.)
17108 .PHONY: maybe-info-libtool info-libtool
17109 maybe-info-libtool:
17110 @if libtool
17111 maybe-info-libtool: info-libtool
17113 info-libtool: \
17114 configure-libtool
17115 @[ -f ./libtool/Makefile ] || exit 0; \
17116 r=`${PWD_COMMAND}`; export r; \
17117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17118 $(HOST_EXPORTS) \
17119 for flag in $(EXTRA_HOST_FLAGS) ; do \
17120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17121 done; \
17122 echo "Doing info in libtool" ; \
17123 (cd $(HOST_SUBDIR)/libtool && \
17124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17126 "RANLIB=$${RANLIB}" \
17127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17128 info) \
17129 || exit 1
17131 @endif libtool
17133 .PHONY: maybe-dvi-libtool dvi-libtool
17134 maybe-dvi-libtool:
17135 @if libtool
17136 maybe-dvi-libtool: dvi-libtool
17138 dvi-libtool: \
17139 configure-libtool
17140 @[ -f ./libtool/Makefile ] || exit 0; \
17141 r=`${PWD_COMMAND}`; export r; \
17142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17143 $(HOST_EXPORTS) \
17144 for flag in $(EXTRA_HOST_FLAGS) ; do \
17145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17146 done; \
17147 echo "Doing dvi in libtool" ; \
17148 (cd $(HOST_SUBDIR)/libtool && \
17149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17151 "RANLIB=$${RANLIB}" \
17152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17153 dvi) \
17154 || exit 1
17156 @endif libtool
17158 .PHONY: maybe-html-libtool html-libtool
17159 maybe-html-libtool:
17160 @if libtool
17161 maybe-html-libtool: html-libtool
17163 html-libtool: \
17164 configure-libtool
17165 @[ -f ./libtool/Makefile ] || exit 0; \
17166 r=`${PWD_COMMAND}`; export r; \
17167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17168 $(HOST_EXPORTS) \
17169 for flag in $(EXTRA_HOST_FLAGS) ; do \
17170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17171 done; \
17172 echo "Doing html in libtool" ; \
17173 (cd $(HOST_SUBDIR)/libtool && \
17174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17176 "RANLIB=$${RANLIB}" \
17177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17178 html) \
17179 || exit 1
17181 @endif libtool
17183 .PHONY: maybe-TAGS-libtool TAGS-libtool
17184 maybe-TAGS-libtool:
17185 @if libtool
17186 maybe-TAGS-libtool: TAGS-libtool
17188 TAGS-libtool: \
17189 configure-libtool
17190 @[ -f ./libtool/Makefile ] || exit 0; \
17191 r=`${PWD_COMMAND}`; export r; \
17192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17193 $(HOST_EXPORTS) \
17194 for flag in $(EXTRA_HOST_FLAGS) ; do \
17195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17196 done; \
17197 echo "Doing TAGS in libtool" ; \
17198 (cd $(HOST_SUBDIR)/libtool && \
17199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17201 "RANLIB=$${RANLIB}" \
17202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17203 TAGS) \
17204 || exit 1
17206 @endif libtool
17208 .PHONY: maybe-install-info-libtool install-info-libtool
17209 maybe-install-info-libtool:
17210 @if libtool
17211 maybe-install-info-libtool: install-info-libtool
17213 install-info-libtool: \
17214 configure-libtool \
17215 info-libtool
17216 @[ -f ./libtool/Makefile ] || exit 0; \
17217 r=`${PWD_COMMAND}`; export r; \
17218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17219 $(HOST_EXPORTS) \
17220 for flag in $(EXTRA_HOST_FLAGS) ; do \
17221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17222 done; \
17223 echo "Doing install-info in libtool" ; \
17224 (cd $(HOST_SUBDIR)/libtool && \
17225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17227 "RANLIB=$${RANLIB}" \
17228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17229 install-info) \
17230 || exit 1
17232 @endif libtool
17234 .PHONY: maybe-installcheck-libtool installcheck-libtool
17235 maybe-installcheck-libtool:
17236 @if libtool
17237 maybe-installcheck-libtool: installcheck-libtool
17239 installcheck-libtool: \
17240 configure-libtool
17241 @[ -f ./libtool/Makefile ] || exit 0; \
17242 r=`${PWD_COMMAND}`; export r; \
17243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17244 $(HOST_EXPORTS) \
17245 for flag in $(EXTRA_HOST_FLAGS) ; do \
17246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17247 done; \
17248 echo "Doing installcheck in libtool" ; \
17249 (cd $(HOST_SUBDIR)/libtool && \
17250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17252 "RANLIB=$${RANLIB}" \
17253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17254 installcheck) \
17255 || exit 1
17257 @endif libtool
17259 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17260 maybe-mostlyclean-libtool:
17261 @if libtool
17262 maybe-mostlyclean-libtool: mostlyclean-libtool
17264 mostlyclean-libtool:
17265 @[ -f ./libtool/Makefile ] || exit 0; \
17266 r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 $(HOST_EXPORTS) \
17269 for flag in $(EXTRA_HOST_FLAGS) ; do \
17270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17271 done; \
17272 echo "Doing mostlyclean in libtool" ; \
17273 (cd $(HOST_SUBDIR)/libtool && \
17274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17276 "RANLIB=$${RANLIB}" \
17277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17278 mostlyclean) \
17279 || exit 1
17281 @endif libtool
17283 .PHONY: maybe-clean-libtool clean-libtool
17284 maybe-clean-libtool:
17285 @if libtool
17286 maybe-clean-libtool: clean-libtool
17288 clean-libtool:
17289 @[ -f ./libtool/Makefile ] || exit 0; \
17290 r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 $(HOST_EXPORTS) \
17293 for flag in $(EXTRA_HOST_FLAGS) ; do \
17294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17295 done; \
17296 echo "Doing clean in libtool" ; \
17297 (cd $(HOST_SUBDIR)/libtool && \
17298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17300 "RANLIB=$${RANLIB}" \
17301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17302 clean) \
17303 || exit 1
17305 @endif libtool
17307 .PHONY: maybe-distclean-libtool distclean-libtool
17308 maybe-distclean-libtool:
17309 @if libtool
17310 maybe-distclean-libtool: distclean-libtool
17312 distclean-libtool:
17313 @[ -f ./libtool/Makefile ] || exit 0; \
17314 r=`${PWD_COMMAND}`; export r; \
17315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17316 $(HOST_EXPORTS) \
17317 for flag in $(EXTRA_HOST_FLAGS) ; do \
17318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17319 done; \
17320 echo "Doing distclean in libtool" ; \
17321 (cd $(HOST_SUBDIR)/libtool && \
17322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17324 "RANLIB=$${RANLIB}" \
17325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17326 distclean) \
17327 || exit 1
17329 @endif libtool
17331 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
17332 maybe-maintainer-clean-libtool:
17333 @if libtool
17334 maybe-maintainer-clean-libtool: maintainer-clean-libtool
17336 maintainer-clean-libtool:
17337 @[ -f ./libtool/Makefile ] || exit 0; \
17338 r=`${PWD_COMMAND}`; export r; \
17339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17340 $(HOST_EXPORTS) \
17341 for flag in $(EXTRA_HOST_FLAGS) ; do \
17342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17343 done; \
17344 echo "Doing maintainer-clean in libtool" ; \
17345 (cd $(HOST_SUBDIR)/libtool && \
17346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17348 "RANLIB=$${RANLIB}" \
17349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17350 maintainer-clean) \
17351 || exit 1
17353 @endif libtool
17357 .PHONY: configure-m4 maybe-configure-m4
17358 maybe-configure-m4:
17359 @if m4
17360 maybe-configure-m4: configure-m4
17361 configure-m4:
17362 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
17363 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
17364 r=`${PWD_COMMAND}`; export r; \
17365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17366 $(HOST_EXPORTS) \
17367 echo Configuring in $(HOST_SUBDIR)/m4; \
17368 cd "$(HOST_SUBDIR)/m4" || exit 1; \
17369 case $(srcdir) in \
17370 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17371 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
17372 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17373 esac; \
17374 srcdiroption="--srcdir=$${topdir}/m4"; \
17375 libsrcdir="$$s/m4"; \
17376 $(SHELL) $${libsrcdir}/configure \
17377 $(HOST_CONFIGARGS) $${srcdiroption} \
17378 || exit 1
17379 @endif m4
17385 .PHONY: all-m4 maybe-all-m4
17386 maybe-all-m4:
17387 @if m4
17388 TARGET-m4=all
17389 maybe-all-m4: all-m4
17390 all-m4: configure-m4
17391 @r=`${PWD_COMMAND}`; export r; \
17392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17393 $(HOST_EXPORTS) \
17394 (cd $(HOST_SUBDIR)/m4 && \
17395 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
17396 @endif m4
17401 .PHONY: check-m4 maybe-check-m4
17402 maybe-check-m4:
17403 @if m4
17404 maybe-check-m4: check-m4
17406 check-m4:
17407 @r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 $(HOST_EXPORTS) \
17410 (cd $(HOST_SUBDIR)/m4 && \
17411 $(MAKE) $(FLAGS_TO_PASS) check)
17413 @endif m4
17415 .PHONY: install-m4 maybe-install-m4
17416 maybe-install-m4:
17417 @if m4
17418 maybe-install-m4: install-m4
17420 install-m4: installdirs
17421 @r=`${PWD_COMMAND}`; export r; \
17422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17423 $(HOST_EXPORTS) \
17424 (cd $(HOST_SUBDIR)/m4 && \
17425 $(MAKE) $(FLAGS_TO_PASS) install)
17427 @endif m4
17429 # Other targets (info, dvi, etc.)
17431 .PHONY: maybe-info-m4 info-m4
17432 maybe-info-m4:
17433 @if m4
17434 maybe-info-m4: info-m4
17436 info-m4: \
17437 configure-m4
17438 @[ -f ./m4/Makefile ] || exit 0; \
17439 r=`${PWD_COMMAND}`; export r; \
17440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17441 $(HOST_EXPORTS) \
17442 for flag in $(EXTRA_HOST_FLAGS) ; do \
17443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17444 done; \
17445 echo "Doing info in m4" ; \
17446 (cd $(HOST_SUBDIR)/m4 && \
17447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17449 "RANLIB=$${RANLIB}" \
17450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17451 info) \
17452 || exit 1
17454 @endif m4
17456 .PHONY: maybe-dvi-m4 dvi-m4
17457 maybe-dvi-m4:
17458 @if m4
17459 maybe-dvi-m4: dvi-m4
17461 dvi-m4: \
17462 configure-m4
17463 @[ -f ./m4/Makefile ] || exit 0; \
17464 r=`${PWD_COMMAND}`; export r; \
17465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17466 $(HOST_EXPORTS) \
17467 for flag in $(EXTRA_HOST_FLAGS) ; do \
17468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17469 done; \
17470 echo "Doing dvi in m4" ; \
17471 (cd $(HOST_SUBDIR)/m4 && \
17472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17474 "RANLIB=$${RANLIB}" \
17475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17476 dvi) \
17477 || exit 1
17479 @endif m4
17481 .PHONY: maybe-html-m4 html-m4
17482 maybe-html-m4:
17483 @if m4
17484 maybe-html-m4: html-m4
17486 html-m4: \
17487 configure-m4
17488 @[ -f ./m4/Makefile ] || exit 0; \
17489 r=`${PWD_COMMAND}`; export r; \
17490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17491 $(HOST_EXPORTS) \
17492 for flag in $(EXTRA_HOST_FLAGS) ; do \
17493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17494 done; \
17495 echo "Doing html in m4" ; \
17496 (cd $(HOST_SUBDIR)/m4 && \
17497 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17498 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17499 "RANLIB=$${RANLIB}" \
17500 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17501 html) \
17502 || exit 1
17504 @endif m4
17506 .PHONY: maybe-TAGS-m4 TAGS-m4
17507 maybe-TAGS-m4:
17508 @if m4
17509 maybe-TAGS-m4: TAGS-m4
17511 TAGS-m4: \
17512 configure-m4
17513 @[ -f ./m4/Makefile ] || exit 0; \
17514 r=`${PWD_COMMAND}`; export r; \
17515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17516 $(HOST_EXPORTS) \
17517 for flag in $(EXTRA_HOST_FLAGS) ; do \
17518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17519 done; \
17520 echo "Doing TAGS in m4" ; \
17521 (cd $(HOST_SUBDIR)/m4 && \
17522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17524 "RANLIB=$${RANLIB}" \
17525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17526 TAGS) \
17527 || exit 1
17529 @endif m4
17531 .PHONY: maybe-install-info-m4 install-info-m4
17532 maybe-install-info-m4:
17533 @if m4
17534 maybe-install-info-m4: install-info-m4
17536 install-info-m4: \
17537 configure-m4 \
17538 info-m4
17539 @[ -f ./m4/Makefile ] || exit 0; \
17540 r=`${PWD_COMMAND}`; export r; \
17541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17542 $(HOST_EXPORTS) \
17543 for flag in $(EXTRA_HOST_FLAGS) ; do \
17544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17545 done; \
17546 echo "Doing install-info in m4" ; \
17547 (cd $(HOST_SUBDIR)/m4 && \
17548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17550 "RANLIB=$${RANLIB}" \
17551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17552 install-info) \
17553 || exit 1
17555 @endif m4
17557 .PHONY: maybe-installcheck-m4 installcheck-m4
17558 maybe-installcheck-m4:
17559 @if m4
17560 maybe-installcheck-m4: installcheck-m4
17562 installcheck-m4: \
17563 configure-m4
17564 @[ -f ./m4/Makefile ] || exit 0; \
17565 r=`${PWD_COMMAND}`; export r; \
17566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17567 $(HOST_EXPORTS) \
17568 for flag in $(EXTRA_HOST_FLAGS) ; do \
17569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17570 done; \
17571 echo "Doing installcheck in m4" ; \
17572 (cd $(HOST_SUBDIR)/m4 && \
17573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17575 "RANLIB=$${RANLIB}" \
17576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17577 installcheck) \
17578 || exit 1
17580 @endif m4
17582 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
17583 maybe-mostlyclean-m4:
17584 @if m4
17585 maybe-mostlyclean-m4: mostlyclean-m4
17587 mostlyclean-m4:
17588 @[ -f ./m4/Makefile ] || exit 0; \
17589 r=`${PWD_COMMAND}`; export r; \
17590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17591 $(HOST_EXPORTS) \
17592 for flag in $(EXTRA_HOST_FLAGS) ; do \
17593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17594 done; \
17595 echo "Doing mostlyclean in m4" ; \
17596 (cd $(HOST_SUBDIR)/m4 && \
17597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17599 "RANLIB=$${RANLIB}" \
17600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17601 mostlyclean) \
17602 || exit 1
17604 @endif m4
17606 .PHONY: maybe-clean-m4 clean-m4
17607 maybe-clean-m4:
17608 @if m4
17609 maybe-clean-m4: clean-m4
17611 clean-m4:
17612 @[ -f ./m4/Makefile ] || exit 0; \
17613 r=`${PWD_COMMAND}`; export r; \
17614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17615 $(HOST_EXPORTS) \
17616 for flag in $(EXTRA_HOST_FLAGS) ; do \
17617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17618 done; \
17619 echo "Doing clean in m4" ; \
17620 (cd $(HOST_SUBDIR)/m4 && \
17621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17623 "RANLIB=$${RANLIB}" \
17624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17625 clean) \
17626 || exit 1
17628 @endif m4
17630 .PHONY: maybe-distclean-m4 distclean-m4
17631 maybe-distclean-m4:
17632 @if m4
17633 maybe-distclean-m4: distclean-m4
17635 distclean-m4:
17636 @[ -f ./m4/Makefile ] || exit 0; \
17637 r=`${PWD_COMMAND}`; export r; \
17638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17639 $(HOST_EXPORTS) \
17640 for flag in $(EXTRA_HOST_FLAGS) ; do \
17641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17642 done; \
17643 echo "Doing distclean in m4" ; \
17644 (cd $(HOST_SUBDIR)/m4 && \
17645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17647 "RANLIB=$${RANLIB}" \
17648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17649 distclean) \
17650 || exit 1
17652 @endif m4
17654 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
17655 maybe-maintainer-clean-m4:
17656 @if m4
17657 maybe-maintainer-clean-m4: maintainer-clean-m4
17659 maintainer-clean-m4:
17660 @[ -f ./m4/Makefile ] || exit 0; \
17661 r=`${PWD_COMMAND}`; export r; \
17662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17663 $(HOST_EXPORTS) \
17664 for flag in $(EXTRA_HOST_FLAGS) ; do \
17665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17666 done; \
17667 echo "Doing maintainer-clean in m4" ; \
17668 (cd $(HOST_SUBDIR)/m4 && \
17669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17671 "RANLIB=$${RANLIB}" \
17672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17673 maintainer-clean) \
17674 || exit 1
17676 @endif m4
17680 .PHONY: configure-make maybe-configure-make
17681 maybe-configure-make:
17682 @if make
17683 maybe-configure-make: configure-make
17684 configure-make:
17685 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
17686 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
17687 r=`${PWD_COMMAND}`; export r; \
17688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17689 $(HOST_EXPORTS) \
17690 echo Configuring in $(HOST_SUBDIR)/make; \
17691 cd "$(HOST_SUBDIR)/make" || exit 1; \
17692 case $(srcdir) in \
17693 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17694 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
17695 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17696 esac; \
17697 srcdiroption="--srcdir=$${topdir}/make"; \
17698 libsrcdir="$$s/make"; \
17699 $(SHELL) $${libsrcdir}/configure \
17700 $(HOST_CONFIGARGS) $${srcdiroption} \
17701 || exit 1
17702 @endif make
17708 .PHONY: all-make maybe-all-make
17709 maybe-all-make:
17710 @if make
17711 TARGET-make=all
17712 maybe-all-make: all-make
17713 all-make: configure-make
17714 @r=`${PWD_COMMAND}`; export r; \
17715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17716 $(HOST_EXPORTS) \
17717 (cd $(HOST_SUBDIR)/make && \
17718 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
17719 @endif make
17724 .PHONY: check-make maybe-check-make
17725 maybe-check-make:
17726 @if make
17727 maybe-check-make: check-make
17729 check-make:
17730 @r=`${PWD_COMMAND}`; export r; \
17731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17732 $(HOST_EXPORTS) \
17733 (cd $(HOST_SUBDIR)/make && \
17734 $(MAKE) $(FLAGS_TO_PASS) check)
17736 @endif make
17738 .PHONY: install-make maybe-install-make
17739 maybe-install-make:
17740 @if make
17741 maybe-install-make: install-make
17743 install-make: installdirs
17744 @r=`${PWD_COMMAND}`; export r; \
17745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17746 $(HOST_EXPORTS) \
17747 (cd $(HOST_SUBDIR)/make && \
17748 $(MAKE) $(FLAGS_TO_PASS) install)
17750 @endif make
17752 # Other targets (info, dvi, etc.)
17754 .PHONY: maybe-info-make info-make
17755 maybe-info-make:
17756 @if make
17757 maybe-info-make: info-make
17759 info-make: \
17760 configure-make
17761 @[ -f ./make/Makefile ] || exit 0; \
17762 r=`${PWD_COMMAND}`; export r; \
17763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17764 $(HOST_EXPORTS) \
17765 for flag in $(EXTRA_HOST_FLAGS) ; do \
17766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17767 done; \
17768 echo "Doing info in make" ; \
17769 (cd $(HOST_SUBDIR)/make && \
17770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17772 "RANLIB=$${RANLIB}" \
17773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17774 info) \
17775 || exit 1
17777 @endif make
17779 .PHONY: maybe-dvi-make dvi-make
17780 maybe-dvi-make:
17781 @if make
17782 maybe-dvi-make: dvi-make
17784 dvi-make: \
17785 configure-make
17786 @[ -f ./make/Makefile ] || exit 0; \
17787 r=`${PWD_COMMAND}`; export r; \
17788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17789 $(HOST_EXPORTS) \
17790 for flag in $(EXTRA_HOST_FLAGS) ; do \
17791 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17792 done; \
17793 echo "Doing dvi in make" ; \
17794 (cd $(HOST_SUBDIR)/make && \
17795 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17796 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17797 "RANLIB=$${RANLIB}" \
17798 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17799 dvi) \
17800 || exit 1
17802 @endif make
17804 .PHONY: maybe-html-make html-make
17805 maybe-html-make:
17806 @if make
17807 maybe-html-make: html-make
17809 html-make: \
17810 configure-make
17811 @[ -f ./make/Makefile ] || exit 0; \
17812 r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17814 $(HOST_EXPORTS) \
17815 for flag in $(EXTRA_HOST_FLAGS) ; do \
17816 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17817 done; \
17818 echo "Doing html in make" ; \
17819 (cd $(HOST_SUBDIR)/make && \
17820 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17821 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17822 "RANLIB=$${RANLIB}" \
17823 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17824 html) \
17825 || exit 1
17827 @endif make
17829 .PHONY: maybe-TAGS-make TAGS-make
17830 maybe-TAGS-make:
17831 @if make
17832 maybe-TAGS-make: TAGS-make
17834 TAGS-make: \
17835 configure-make
17836 @[ -f ./make/Makefile ] || exit 0; \
17837 r=`${PWD_COMMAND}`; export r; \
17838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17839 $(HOST_EXPORTS) \
17840 for flag in $(EXTRA_HOST_FLAGS) ; do \
17841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17842 done; \
17843 echo "Doing TAGS in make" ; \
17844 (cd $(HOST_SUBDIR)/make && \
17845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17847 "RANLIB=$${RANLIB}" \
17848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17849 TAGS) \
17850 || exit 1
17852 @endif make
17854 .PHONY: maybe-install-info-make install-info-make
17855 maybe-install-info-make:
17856 @if make
17857 maybe-install-info-make: install-info-make
17859 install-info-make: \
17860 configure-make \
17861 info-make
17862 @[ -f ./make/Makefile ] || exit 0; \
17863 r=`${PWD_COMMAND}`; export r; \
17864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17865 $(HOST_EXPORTS) \
17866 for flag in $(EXTRA_HOST_FLAGS) ; do \
17867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17868 done; \
17869 echo "Doing install-info in make" ; \
17870 (cd $(HOST_SUBDIR)/make && \
17871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17873 "RANLIB=$${RANLIB}" \
17874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17875 install-info) \
17876 || exit 1
17878 @endif make
17880 .PHONY: maybe-installcheck-make installcheck-make
17881 maybe-installcheck-make:
17882 @if make
17883 maybe-installcheck-make: installcheck-make
17885 installcheck-make: \
17886 configure-make
17887 @[ -f ./make/Makefile ] || exit 0; \
17888 r=`${PWD_COMMAND}`; export r; \
17889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17890 $(HOST_EXPORTS) \
17891 for flag in $(EXTRA_HOST_FLAGS) ; do \
17892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17893 done; \
17894 echo "Doing installcheck in make" ; \
17895 (cd $(HOST_SUBDIR)/make && \
17896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17898 "RANLIB=$${RANLIB}" \
17899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17900 installcheck) \
17901 || exit 1
17903 @endif make
17905 .PHONY: maybe-mostlyclean-make mostlyclean-make
17906 maybe-mostlyclean-make:
17907 @if make
17908 maybe-mostlyclean-make: mostlyclean-make
17910 mostlyclean-make:
17911 @[ -f ./make/Makefile ] || exit 0; \
17912 r=`${PWD_COMMAND}`; export r; \
17913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17914 $(HOST_EXPORTS) \
17915 for flag in $(EXTRA_HOST_FLAGS) ; do \
17916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17917 done; \
17918 echo "Doing mostlyclean in make" ; \
17919 (cd $(HOST_SUBDIR)/make && \
17920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17922 "RANLIB=$${RANLIB}" \
17923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17924 mostlyclean) \
17925 || exit 1
17927 @endif make
17929 .PHONY: maybe-clean-make clean-make
17930 maybe-clean-make:
17931 @if make
17932 maybe-clean-make: clean-make
17934 clean-make:
17935 @[ -f ./make/Makefile ] || exit 0; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 for flag in $(EXTRA_HOST_FLAGS) ; do \
17940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17941 done; \
17942 echo "Doing clean in make" ; \
17943 (cd $(HOST_SUBDIR)/make && \
17944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17946 "RANLIB=$${RANLIB}" \
17947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17948 clean) \
17949 || exit 1
17951 @endif make
17953 .PHONY: maybe-distclean-make distclean-make
17954 maybe-distclean-make:
17955 @if make
17956 maybe-distclean-make: distclean-make
17958 distclean-make:
17959 @[ -f ./make/Makefile ] || exit 0; \
17960 r=`${PWD_COMMAND}`; export r; \
17961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17962 $(HOST_EXPORTS) \
17963 for flag in $(EXTRA_HOST_FLAGS) ; do \
17964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17965 done; \
17966 echo "Doing distclean in make" ; \
17967 (cd $(HOST_SUBDIR)/make && \
17968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17970 "RANLIB=$${RANLIB}" \
17971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17972 distclean) \
17973 || exit 1
17975 @endif make
17977 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
17978 maybe-maintainer-clean-make:
17979 @if make
17980 maybe-maintainer-clean-make: maintainer-clean-make
17982 maintainer-clean-make:
17983 @[ -f ./make/Makefile ] || exit 0; \
17984 r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986 $(HOST_EXPORTS) \
17987 for flag in $(EXTRA_HOST_FLAGS) ; do \
17988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17989 done; \
17990 echo "Doing maintainer-clean in make" ; \
17991 (cd $(HOST_SUBDIR)/make && \
17992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17994 "RANLIB=$${RANLIB}" \
17995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17996 maintainer-clean) \
17997 || exit 1
17999 @endif make
18003 .PHONY: configure-mmalloc maybe-configure-mmalloc
18004 maybe-configure-mmalloc:
18005 @if mmalloc
18006 maybe-configure-mmalloc: configure-mmalloc
18007 configure-mmalloc:
18008 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18009 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18010 r=`${PWD_COMMAND}`; export r; \
18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18012 $(HOST_EXPORTS) \
18013 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18014 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18015 case $(srcdir) in \
18016 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18017 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18018 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18019 esac; \
18020 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18021 libsrcdir="$$s/mmalloc"; \
18022 $(SHELL) $${libsrcdir}/configure \
18023 $(HOST_CONFIGARGS) $${srcdiroption} \
18024 || exit 1
18025 @endif mmalloc
18031 .PHONY: all-mmalloc maybe-all-mmalloc
18032 maybe-all-mmalloc:
18033 @if mmalloc
18034 TARGET-mmalloc=all
18035 maybe-all-mmalloc: all-mmalloc
18036 all-mmalloc: configure-mmalloc
18037 @r=`${PWD_COMMAND}`; export r; \
18038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18039 $(HOST_EXPORTS) \
18040 (cd $(HOST_SUBDIR)/mmalloc && \
18041 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18042 @endif mmalloc
18047 .PHONY: check-mmalloc maybe-check-mmalloc
18048 maybe-check-mmalloc:
18049 @if mmalloc
18050 maybe-check-mmalloc: check-mmalloc
18052 check-mmalloc:
18054 @endif mmalloc
18056 .PHONY: install-mmalloc maybe-install-mmalloc
18057 maybe-install-mmalloc:
18058 @if mmalloc
18059 maybe-install-mmalloc: install-mmalloc
18061 install-mmalloc: installdirs
18062 @r=`${PWD_COMMAND}`; export r; \
18063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18064 $(HOST_EXPORTS) \
18065 (cd $(HOST_SUBDIR)/mmalloc && \
18066 $(MAKE) $(FLAGS_TO_PASS) install)
18068 @endif mmalloc
18070 # Other targets (info, dvi, etc.)
18072 .PHONY: maybe-info-mmalloc info-mmalloc
18073 maybe-info-mmalloc:
18074 @if mmalloc
18075 maybe-info-mmalloc: info-mmalloc
18077 info-mmalloc: \
18078 configure-mmalloc
18079 @[ -f ./mmalloc/Makefile ] || exit 0; \
18080 r=`${PWD_COMMAND}`; export r; \
18081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18082 $(HOST_EXPORTS) \
18083 for flag in $(EXTRA_HOST_FLAGS) ; do \
18084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18085 done; \
18086 echo "Doing info in mmalloc" ; \
18087 (cd $(HOST_SUBDIR)/mmalloc && \
18088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18090 "RANLIB=$${RANLIB}" \
18091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18092 info) \
18093 || exit 1
18095 @endif mmalloc
18097 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18098 maybe-dvi-mmalloc:
18099 @if mmalloc
18100 maybe-dvi-mmalloc: dvi-mmalloc
18102 dvi-mmalloc: \
18103 configure-mmalloc
18104 @[ -f ./mmalloc/Makefile ] || exit 0; \
18105 r=`${PWD_COMMAND}`; export r; \
18106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18107 $(HOST_EXPORTS) \
18108 for flag in $(EXTRA_HOST_FLAGS) ; do \
18109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18110 done; \
18111 echo "Doing dvi in mmalloc" ; \
18112 (cd $(HOST_SUBDIR)/mmalloc && \
18113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18115 "RANLIB=$${RANLIB}" \
18116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18117 dvi) \
18118 || exit 1
18120 @endif mmalloc
18122 .PHONY: maybe-html-mmalloc html-mmalloc
18123 maybe-html-mmalloc:
18124 @if mmalloc
18125 maybe-html-mmalloc: html-mmalloc
18127 html-mmalloc: \
18128 configure-mmalloc
18129 @[ -f ./mmalloc/Makefile ] || exit 0; \
18130 r=`${PWD_COMMAND}`; export r; \
18131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18132 $(HOST_EXPORTS) \
18133 for flag in $(EXTRA_HOST_FLAGS) ; do \
18134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18135 done; \
18136 echo "Doing html in mmalloc" ; \
18137 (cd $(HOST_SUBDIR)/mmalloc && \
18138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18140 "RANLIB=$${RANLIB}" \
18141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18142 html) \
18143 || exit 1
18145 @endif mmalloc
18147 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18148 maybe-TAGS-mmalloc:
18149 @if mmalloc
18150 maybe-TAGS-mmalloc: TAGS-mmalloc
18152 TAGS-mmalloc: \
18153 configure-mmalloc
18154 @[ -f ./mmalloc/Makefile ] || exit 0; \
18155 r=`${PWD_COMMAND}`; export r; \
18156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18157 $(HOST_EXPORTS) \
18158 for flag in $(EXTRA_HOST_FLAGS) ; do \
18159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18160 done; \
18161 echo "Doing TAGS in mmalloc" ; \
18162 (cd $(HOST_SUBDIR)/mmalloc && \
18163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18165 "RANLIB=$${RANLIB}" \
18166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18167 TAGS) \
18168 || exit 1
18170 @endif mmalloc
18172 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18173 maybe-install-info-mmalloc:
18174 @if mmalloc
18175 maybe-install-info-mmalloc: install-info-mmalloc
18177 install-info-mmalloc: \
18178 configure-mmalloc \
18179 info-mmalloc
18180 @[ -f ./mmalloc/Makefile ] || exit 0; \
18181 r=`${PWD_COMMAND}`; export r; \
18182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18183 $(HOST_EXPORTS) \
18184 for flag in $(EXTRA_HOST_FLAGS) ; do \
18185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18186 done; \
18187 echo "Doing install-info in mmalloc" ; \
18188 (cd $(HOST_SUBDIR)/mmalloc && \
18189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18191 "RANLIB=$${RANLIB}" \
18192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18193 install-info) \
18194 || exit 1
18196 @endif mmalloc
18198 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18199 maybe-installcheck-mmalloc:
18200 @if mmalloc
18201 maybe-installcheck-mmalloc: installcheck-mmalloc
18203 installcheck-mmalloc: \
18204 configure-mmalloc
18205 @[ -f ./mmalloc/Makefile ] || exit 0; \
18206 r=`${PWD_COMMAND}`; export r; \
18207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18208 $(HOST_EXPORTS) \
18209 for flag in $(EXTRA_HOST_FLAGS) ; do \
18210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18211 done; \
18212 echo "Doing installcheck in mmalloc" ; \
18213 (cd $(HOST_SUBDIR)/mmalloc && \
18214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18216 "RANLIB=$${RANLIB}" \
18217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18218 installcheck) \
18219 || exit 1
18221 @endif mmalloc
18223 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18224 maybe-mostlyclean-mmalloc:
18225 @if mmalloc
18226 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18228 mostlyclean-mmalloc:
18229 @[ -f ./mmalloc/Makefile ] || exit 0; \
18230 r=`${PWD_COMMAND}`; export r; \
18231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18232 $(HOST_EXPORTS) \
18233 for flag in $(EXTRA_HOST_FLAGS) ; do \
18234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18235 done; \
18236 echo "Doing mostlyclean in mmalloc" ; \
18237 (cd $(HOST_SUBDIR)/mmalloc && \
18238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18240 "RANLIB=$${RANLIB}" \
18241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18242 mostlyclean) \
18243 || exit 1
18245 @endif mmalloc
18247 .PHONY: maybe-clean-mmalloc clean-mmalloc
18248 maybe-clean-mmalloc:
18249 @if mmalloc
18250 maybe-clean-mmalloc: clean-mmalloc
18252 clean-mmalloc:
18253 @[ -f ./mmalloc/Makefile ] || exit 0; \
18254 r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(HOST_EXPORTS) \
18257 for flag in $(EXTRA_HOST_FLAGS) ; do \
18258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18259 done; \
18260 echo "Doing clean in mmalloc" ; \
18261 (cd $(HOST_SUBDIR)/mmalloc && \
18262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18264 "RANLIB=$${RANLIB}" \
18265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18266 clean) \
18267 || exit 1
18269 @endif mmalloc
18271 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
18272 maybe-distclean-mmalloc:
18273 @if mmalloc
18274 maybe-distclean-mmalloc: distclean-mmalloc
18276 distclean-mmalloc:
18277 @[ -f ./mmalloc/Makefile ] || exit 0; \
18278 r=`${PWD_COMMAND}`; export r; \
18279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18280 $(HOST_EXPORTS) \
18281 for flag in $(EXTRA_HOST_FLAGS) ; do \
18282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18283 done; \
18284 echo "Doing distclean in mmalloc" ; \
18285 (cd $(HOST_SUBDIR)/mmalloc && \
18286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18288 "RANLIB=$${RANLIB}" \
18289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18290 distclean) \
18291 || exit 1
18293 @endif mmalloc
18295 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
18296 maybe-maintainer-clean-mmalloc:
18297 @if mmalloc
18298 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
18300 maintainer-clean-mmalloc:
18301 @[ -f ./mmalloc/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing maintainer-clean in mmalloc" ; \
18309 (cd $(HOST_SUBDIR)/mmalloc && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18314 maintainer-clean) \
18315 || exit 1
18317 @endif mmalloc
18321 .PHONY: configure-patch maybe-configure-patch
18322 maybe-configure-patch:
18323 @if patch
18324 maybe-configure-patch: configure-patch
18325 configure-patch:
18326 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
18327 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
18328 r=`${PWD_COMMAND}`; export r; \
18329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18330 $(HOST_EXPORTS) \
18331 echo Configuring in $(HOST_SUBDIR)/patch; \
18332 cd "$(HOST_SUBDIR)/patch" || exit 1; \
18333 case $(srcdir) in \
18334 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18335 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
18336 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18337 esac; \
18338 srcdiroption="--srcdir=$${topdir}/patch"; \
18339 libsrcdir="$$s/patch"; \
18340 $(SHELL) $${libsrcdir}/configure \
18341 $(HOST_CONFIGARGS) $${srcdiroption} \
18342 || exit 1
18343 @endif patch
18349 .PHONY: all-patch maybe-all-patch
18350 maybe-all-patch:
18351 @if patch
18352 TARGET-patch=all
18353 maybe-all-patch: all-patch
18354 all-patch: configure-patch
18355 @r=`${PWD_COMMAND}`; export r; \
18356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18357 $(HOST_EXPORTS) \
18358 (cd $(HOST_SUBDIR)/patch && \
18359 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
18360 @endif patch
18365 .PHONY: check-patch maybe-check-patch
18366 maybe-check-patch:
18367 @if patch
18368 maybe-check-patch: check-patch
18370 check-patch:
18371 @r=`${PWD_COMMAND}`; export r; \
18372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18373 $(HOST_EXPORTS) \
18374 (cd $(HOST_SUBDIR)/patch && \
18375 $(MAKE) $(FLAGS_TO_PASS) check)
18377 @endif patch
18379 .PHONY: install-patch maybe-install-patch
18380 maybe-install-patch:
18381 @if patch
18382 maybe-install-patch: install-patch
18384 install-patch: installdirs
18385 @r=`${PWD_COMMAND}`; export r; \
18386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18387 $(HOST_EXPORTS) \
18388 (cd $(HOST_SUBDIR)/patch && \
18389 $(MAKE) $(FLAGS_TO_PASS) install)
18391 @endif patch
18393 # Other targets (info, dvi, etc.)
18395 .PHONY: maybe-info-patch info-patch
18396 maybe-info-patch:
18397 @if patch
18398 maybe-info-patch: info-patch
18400 info-patch: \
18401 configure-patch
18402 @[ -f ./patch/Makefile ] || exit 0; \
18403 r=`${PWD_COMMAND}`; export r; \
18404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18405 $(HOST_EXPORTS) \
18406 for flag in $(EXTRA_HOST_FLAGS) ; do \
18407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18408 done; \
18409 echo "Doing info in patch" ; \
18410 (cd $(HOST_SUBDIR)/patch && \
18411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18413 "RANLIB=$${RANLIB}" \
18414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18415 info) \
18416 || exit 1
18418 @endif patch
18420 .PHONY: maybe-dvi-patch dvi-patch
18421 maybe-dvi-patch:
18422 @if patch
18423 maybe-dvi-patch: dvi-patch
18425 dvi-patch: \
18426 configure-patch
18427 @[ -f ./patch/Makefile ] || exit 0; \
18428 r=`${PWD_COMMAND}`; export r; \
18429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18430 $(HOST_EXPORTS) \
18431 for flag in $(EXTRA_HOST_FLAGS) ; do \
18432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18433 done; \
18434 echo "Doing dvi in patch" ; \
18435 (cd $(HOST_SUBDIR)/patch && \
18436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18438 "RANLIB=$${RANLIB}" \
18439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18440 dvi) \
18441 || exit 1
18443 @endif patch
18445 .PHONY: maybe-html-patch html-patch
18446 maybe-html-patch:
18447 @if patch
18448 maybe-html-patch: html-patch
18450 html-patch: \
18451 configure-patch
18452 @[ -f ./patch/Makefile ] || exit 0; \
18453 r=`${PWD_COMMAND}`; export r; \
18454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18455 $(HOST_EXPORTS) \
18456 for flag in $(EXTRA_HOST_FLAGS) ; do \
18457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18458 done; \
18459 echo "Doing html in patch" ; \
18460 (cd $(HOST_SUBDIR)/patch && \
18461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18463 "RANLIB=$${RANLIB}" \
18464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18465 html) \
18466 || exit 1
18468 @endif patch
18470 .PHONY: maybe-TAGS-patch TAGS-patch
18471 maybe-TAGS-patch:
18472 @if patch
18473 maybe-TAGS-patch: TAGS-patch
18475 TAGS-patch: \
18476 configure-patch
18477 @[ -f ./patch/Makefile ] || exit 0; \
18478 r=`${PWD_COMMAND}`; export r; \
18479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18480 $(HOST_EXPORTS) \
18481 for flag in $(EXTRA_HOST_FLAGS) ; do \
18482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18483 done; \
18484 echo "Doing TAGS in patch" ; \
18485 (cd $(HOST_SUBDIR)/patch && \
18486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18488 "RANLIB=$${RANLIB}" \
18489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18490 TAGS) \
18491 || exit 1
18493 @endif patch
18495 .PHONY: maybe-install-info-patch install-info-patch
18496 maybe-install-info-patch:
18497 @if patch
18498 maybe-install-info-patch: install-info-patch
18500 install-info-patch: \
18501 configure-patch \
18502 info-patch
18503 @[ -f ./patch/Makefile ] || exit 0; \
18504 r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(HOST_EXPORTS) \
18507 for flag in $(EXTRA_HOST_FLAGS) ; do \
18508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18509 done; \
18510 echo "Doing install-info in patch" ; \
18511 (cd $(HOST_SUBDIR)/patch && \
18512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18514 "RANLIB=$${RANLIB}" \
18515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18516 install-info) \
18517 || exit 1
18519 @endif patch
18521 .PHONY: maybe-installcheck-patch installcheck-patch
18522 maybe-installcheck-patch:
18523 @if patch
18524 maybe-installcheck-patch: installcheck-patch
18526 installcheck-patch: \
18527 configure-patch
18528 @[ -f ./patch/Makefile ] || exit 0; \
18529 r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(HOST_EXPORTS) \
18532 for flag in $(EXTRA_HOST_FLAGS) ; do \
18533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18534 done; \
18535 echo "Doing installcheck in patch" ; \
18536 (cd $(HOST_SUBDIR)/patch && \
18537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18539 "RANLIB=$${RANLIB}" \
18540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18541 installcheck) \
18542 || exit 1
18544 @endif patch
18546 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
18547 maybe-mostlyclean-patch:
18548 @if patch
18549 maybe-mostlyclean-patch: mostlyclean-patch
18551 mostlyclean-patch:
18552 @[ -f ./patch/Makefile ] || exit 0; \
18553 r=`${PWD_COMMAND}`; export r; \
18554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18555 $(HOST_EXPORTS) \
18556 for flag in $(EXTRA_HOST_FLAGS) ; do \
18557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18558 done; \
18559 echo "Doing mostlyclean in patch" ; \
18560 (cd $(HOST_SUBDIR)/patch && \
18561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18563 "RANLIB=$${RANLIB}" \
18564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18565 mostlyclean) \
18566 || exit 1
18568 @endif patch
18570 .PHONY: maybe-clean-patch clean-patch
18571 maybe-clean-patch:
18572 @if patch
18573 maybe-clean-patch: clean-patch
18575 clean-patch:
18576 @[ -f ./patch/Makefile ] || exit 0; \
18577 r=`${PWD_COMMAND}`; export r; \
18578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18579 $(HOST_EXPORTS) \
18580 for flag in $(EXTRA_HOST_FLAGS) ; do \
18581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18582 done; \
18583 echo "Doing clean in patch" ; \
18584 (cd $(HOST_SUBDIR)/patch && \
18585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18587 "RANLIB=$${RANLIB}" \
18588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18589 clean) \
18590 || exit 1
18592 @endif patch
18594 .PHONY: maybe-distclean-patch distclean-patch
18595 maybe-distclean-patch:
18596 @if patch
18597 maybe-distclean-patch: distclean-patch
18599 distclean-patch:
18600 @[ -f ./patch/Makefile ] || exit 0; \
18601 r=`${PWD_COMMAND}`; export r; \
18602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18603 $(HOST_EXPORTS) \
18604 for flag in $(EXTRA_HOST_FLAGS) ; do \
18605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18606 done; \
18607 echo "Doing distclean in patch" ; \
18608 (cd $(HOST_SUBDIR)/patch && \
18609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18611 "RANLIB=$${RANLIB}" \
18612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18613 distclean) \
18614 || exit 1
18616 @endif patch
18618 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
18619 maybe-maintainer-clean-patch:
18620 @if patch
18621 maybe-maintainer-clean-patch: maintainer-clean-patch
18623 maintainer-clean-patch:
18624 @[ -f ./patch/Makefile ] || exit 0; \
18625 r=`${PWD_COMMAND}`; export r; \
18626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18627 $(HOST_EXPORTS) \
18628 for flag in $(EXTRA_HOST_FLAGS) ; do \
18629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18630 done; \
18631 echo "Doing maintainer-clean in patch" ; \
18632 (cd $(HOST_SUBDIR)/patch && \
18633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18635 "RANLIB=$${RANLIB}" \
18636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18637 maintainer-clean) \
18638 || exit 1
18640 @endif patch
18644 .PHONY: configure-perl maybe-configure-perl
18645 maybe-configure-perl:
18646 @if perl
18647 maybe-configure-perl: configure-perl
18648 configure-perl:
18649 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
18650 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
18651 r=`${PWD_COMMAND}`; export r; \
18652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18653 $(HOST_EXPORTS) \
18654 echo Configuring in $(HOST_SUBDIR)/perl; \
18655 cd "$(HOST_SUBDIR)/perl" || exit 1; \
18656 case $(srcdir) in \
18657 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18658 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
18659 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18660 esac; \
18661 srcdiroption="--srcdir=$${topdir}/perl"; \
18662 libsrcdir="$$s/perl"; \
18663 $(SHELL) $${libsrcdir}/configure \
18664 $(HOST_CONFIGARGS) $${srcdiroption} \
18665 || exit 1
18666 @endif perl
18672 .PHONY: all-perl maybe-all-perl
18673 maybe-all-perl:
18674 @if perl
18675 TARGET-perl=all
18676 maybe-all-perl: all-perl
18677 all-perl: configure-perl
18678 @r=`${PWD_COMMAND}`; export r; \
18679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18680 $(HOST_EXPORTS) \
18681 (cd $(HOST_SUBDIR)/perl && \
18682 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
18683 @endif perl
18688 .PHONY: check-perl maybe-check-perl
18689 maybe-check-perl:
18690 @if perl
18691 maybe-check-perl: check-perl
18693 check-perl:
18694 @r=`${PWD_COMMAND}`; export r; \
18695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18696 $(HOST_EXPORTS) \
18697 (cd $(HOST_SUBDIR)/perl && \
18698 $(MAKE) $(FLAGS_TO_PASS) check)
18700 @endif perl
18702 .PHONY: install-perl maybe-install-perl
18703 maybe-install-perl:
18704 @if perl
18705 maybe-install-perl: install-perl
18707 install-perl: installdirs
18708 @r=`${PWD_COMMAND}`; export r; \
18709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18710 $(HOST_EXPORTS) \
18711 (cd $(HOST_SUBDIR)/perl && \
18712 $(MAKE) $(FLAGS_TO_PASS) install)
18714 @endif perl
18716 # Other targets (info, dvi, etc.)
18718 .PHONY: maybe-info-perl info-perl
18719 maybe-info-perl:
18720 @if perl
18721 maybe-info-perl: info-perl
18723 info-perl: \
18724 configure-perl
18725 @[ -f ./perl/Makefile ] || exit 0; \
18726 r=`${PWD_COMMAND}`; export r; \
18727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18728 $(HOST_EXPORTS) \
18729 for flag in $(EXTRA_HOST_FLAGS) ; do \
18730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18731 done; \
18732 echo "Doing info in perl" ; \
18733 (cd $(HOST_SUBDIR)/perl && \
18734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18736 "RANLIB=$${RANLIB}" \
18737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18738 info) \
18739 || exit 1
18741 @endif perl
18743 .PHONY: maybe-dvi-perl dvi-perl
18744 maybe-dvi-perl:
18745 @if perl
18746 maybe-dvi-perl: dvi-perl
18748 dvi-perl: \
18749 configure-perl
18750 @[ -f ./perl/Makefile ] || exit 0; \
18751 r=`${PWD_COMMAND}`; export r; \
18752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18753 $(HOST_EXPORTS) \
18754 for flag in $(EXTRA_HOST_FLAGS) ; do \
18755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18756 done; \
18757 echo "Doing dvi in perl" ; \
18758 (cd $(HOST_SUBDIR)/perl && \
18759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18761 "RANLIB=$${RANLIB}" \
18762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18763 dvi) \
18764 || exit 1
18766 @endif perl
18768 .PHONY: maybe-html-perl html-perl
18769 maybe-html-perl:
18770 @if perl
18771 maybe-html-perl: html-perl
18773 html-perl: \
18774 configure-perl
18775 @[ -f ./perl/Makefile ] || exit 0; \
18776 r=`${PWD_COMMAND}`; export r; \
18777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18778 $(HOST_EXPORTS) \
18779 for flag in $(EXTRA_HOST_FLAGS) ; do \
18780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18781 done; \
18782 echo "Doing html in perl" ; \
18783 (cd $(HOST_SUBDIR)/perl && \
18784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18786 "RANLIB=$${RANLIB}" \
18787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18788 html) \
18789 || exit 1
18791 @endif perl
18793 .PHONY: maybe-TAGS-perl TAGS-perl
18794 maybe-TAGS-perl:
18795 @if perl
18796 maybe-TAGS-perl: TAGS-perl
18798 TAGS-perl: \
18799 configure-perl
18800 @[ -f ./perl/Makefile ] || exit 0; \
18801 r=`${PWD_COMMAND}`; export r; \
18802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18803 $(HOST_EXPORTS) \
18804 for flag in $(EXTRA_HOST_FLAGS) ; do \
18805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18806 done; \
18807 echo "Doing TAGS in perl" ; \
18808 (cd $(HOST_SUBDIR)/perl && \
18809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18811 "RANLIB=$${RANLIB}" \
18812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18813 TAGS) \
18814 || exit 1
18816 @endif perl
18818 .PHONY: maybe-install-info-perl install-info-perl
18819 maybe-install-info-perl:
18820 @if perl
18821 maybe-install-info-perl: install-info-perl
18823 install-info-perl: \
18824 configure-perl \
18825 info-perl
18826 @[ -f ./perl/Makefile ] || exit 0; \
18827 r=`${PWD_COMMAND}`; export r; \
18828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18829 $(HOST_EXPORTS) \
18830 for flag in $(EXTRA_HOST_FLAGS) ; do \
18831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18832 done; \
18833 echo "Doing install-info in perl" ; \
18834 (cd $(HOST_SUBDIR)/perl && \
18835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18837 "RANLIB=$${RANLIB}" \
18838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18839 install-info) \
18840 || exit 1
18842 @endif perl
18844 .PHONY: maybe-installcheck-perl installcheck-perl
18845 maybe-installcheck-perl:
18846 @if perl
18847 maybe-installcheck-perl: installcheck-perl
18849 installcheck-perl: \
18850 configure-perl
18851 @[ -f ./perl/Makefile ] || exit 0; \
18852 r=`${PWD_COMMAND}`; export r; \
18853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18854 $(HOST_EXPORTS) \
18855 for flag in $(EXTRA_HOST_FLAGS) ; do \
18856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18857 done; \
18858 echo "Doing installcheck in perl" ; \
18859 (cd $(HOST_SUBDIR)/perl && \
18860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18862 "RANLIB=$${RANLIB}" \
18863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18864 installcheck) \
18865 || exit 1
18867 @endif perl
18869 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
18870 maybe-mostlyclean-perl:
18871 @if perl
18872 maybe-mostlyclean-perl: mostlyclean-perl
18874 mostlyclean-perl:
18875 @[ -f ./perl/Makefile ] || exit 0; \
18876 r=`${PWD_COMMAND}`; export r; \
18877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18878 $(HOST_EXPORTS) \
18879 for flag in $(EXTRA_HOST_FLAGS) ; do \
18880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18881 done; \
18882 echo "Doing mostlyclean in perl" ; \
18883 (cd $(HOST_SUBDIR)/perl && \
18884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18886 "RANLIB=$${RANLIB}" \
18887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18888 mostlyclean) \
18889 || exit 1
18891 @endif perl
18893 .PHONY: maybe-clean-perl clean-perl
18894 maybe-clean-perl:
18895 @if perl
18896 maybe-clean-perl: clean-perl
18898 clean-perl:
18899 @[ -f ./perl/Makefile ] || exit 0; \
18900 r=`${PWD_COMMAND}`; export r; \
18901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18902 $(HOST_EXPORTS) \
18903 for flag in $(EXTRA_HOST_FLAGS) ; do \
18904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18905 done; \
18906 echo "Doing clean in perl" ; \
18907 (cd $(HOST_SUBDIR)/perl && \
18908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18910 "RANLIB=$${RANLIB}" \
18911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18912 clean) \
18913 || exit 1
18915 @endif perl
18917 .PHONY: maybe-distclean-perl distclean-perl
18918 maybe-distclean-perl:
18919 @if perl
18920 maybe-distclean-perl: distclean-perl
18922 distclean-perl:
18923 @[ -f ./perl/Makefile ] || exit 0; \
18924 r=`${PWD_COMMAND}`; export r; \
18925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18926 $(HOST_EXPORTS) \
18927 for flag in $(EXTRA_HOST_FLAGS) ; do \
18928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18929 done; \
18930 echo "Doing distclean in perl" ; \
18931 (cd $(HOST_SUBDIR)/perl && \
18932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18934 "RANLIB=$${RANLIB}" \
18935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18936 distclean) \
18937 || exit 1
18939 @endif perl
18941 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
18942 maybe-maintainer-clean-perl:
18943 @if perl
18944 maybe-maintainer-clean-perl: maintainer-clean-perl
18946 maintainer-clean-perl:
18947 @[ -f ./perl/Makefile ] || exit 0; \
18948 r=`${PWD_COMMAND}`; export r; \
18949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18950 $(HOST_EXPORTS) \
18951 for flag in $(EXTRA_HOST_FLAGS) ; do \
18952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18953 done; \
18954 echo "Doing maintainer-clean in perl" ; \
18955 (cd $(HOST_SUBDIR)/perl && \
18956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18958 "RANLIB=$${RANLIB}" \
18959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18960 maintainer-clean) \
18961 || exit 1
18963 @endif perl
18967 .PHONY: configure-prms maybe-configure-prms
18968 maybe-configure-prms:
18969 @if prms
18970 maybe-configure-prms: configure-prms
18971 configure-prms:
18972 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
18973 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
18974 r=`${PWD_COMMAND}`; export r; \
18975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18976 $(HOST_EXPORTS) \
18977 echo Configuring in $(HOST_SUBDIR)/prms; \
18978 cd "$(HOST_SUBDIR)/prms" || exit 1; \
18979 case $(srcdir) in \
18980 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18981 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
18982 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18983 esac; \
18984 srcdiroption="--srcdir=$${topdir}/prms"; \
18985 libsrcdir="$$s/prms"; \
18986 $(SHELL) $${libsrcdir}/configure \
18987 $(HOST_CONFIGARGS) $${srcdiroption} \
18988 || exit 1
18989 @endif prms
18995 .PHONY: all-prms maybe-all-prms
18996 maybe-all-prms:
18997 @if prms
18998 TARGET-prms=all
18999 maybe-all-prms: all-prms
19000 all-prms: configure-prms
19001 @r=`${PWD_COMMAND}`; export r; \
19002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19003 $(HOST_EXPORTS) \
19004 (cd $(HOST_SUBDIR)/prms && \
19005 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19006 @endif prms
19011 .PHONY: check-prms maybe-check-prms
19012 maybe-check-prms:
19013 @if prms
19014 maybe-check-prms: check-prms
19016 check-prms:
19017 @r=`${PWD_COMMAND}`; export r; \
19018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19019 $(HOST_EXPORTS) \
19020 (cd $(HOST_SUBDIR)/prms && \
19021 $(MAKE) $(FLAGS_TO_PASS) check)
19023 @endif prms
19025 .PHONY: install-prms maybe-install-prms
19026 maybe-install-prms:
19027 @if prms
19028 maybe-install-prms: install-prms
19030 install-prms: installdirs
19031 @r=`${PWD_COMMAND}`; export r; \
19032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19033 $(HOST_EXPORTS) \
19034 (cd $(HOST_SUBDIR)/prms && \
19035 $(MAKE) $(FLAGS_TO_PASS) install)
19037 @endif prms
19039 # Other targets (info, dvi, etc.)
19041 .PHONY: maybe-info-prms info-prms
19042 maybe-info-prms:
19043 @if prms
19044 maybe-info-prms: info-prms
19046 info-prms: \
19047 configure-prms
19048 @[ -f ./prms/Makefile ] || exit 0; \
19049 r=`${PWD_COMMAND}`; export r; \
19050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19051 $(HOST_EXPORTS) \
19052 for flag in $(EXTRA_HOST_FLAGS) ; do \
19053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19054 done; \
19055 echo "Doing info in prms" ; \
19056 (cd $(HOST_SUBDIR)/prms && \
19057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19059 "RANLIB=$${RANLIB}" \
19060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19061 info) \
19062 || exit 1
19064 @endif prms
19066 .PHONY: maybe-dvi-prms dvi-prms
19067 maybe-dvi-prms:
19068 @if prms
19069 maybe-dvi-prms: dvi-prms
19071 dvi-prms: \
19072 configure-prms
19073 @[ -f ./prms/Makefile ] || exit 0; \
19074 r=`${PWD_COMMAND}`; export r; \
19075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19076 $(HOST_EXPORTS) \
19077 for flag in $(EXTRA_HOST_FLAGS) ; do \
19078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19079 done; \
19080 echo "Doing dvi in prms" ; \
19081 (cd $(HOST_SUBDIR)/prms && \
19082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19084 "RANLIB=$${RANLIB}" \
19085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19086 dvi) \
19087 || exit 1
19089 @endif prms
19091 .PHONY: maybe-html-prms html-prms
19092 maybe-html-prms:
19093 @if prms
19094 maybe-html-prms: html-prms
19096 html-prms: \
19097 configure-prms
19098 @[ -f ./prms/Makefile ] || exit 0; \
19099 r=`${PWD_COMMAND}`; export r; \
19100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19101 $(HOST_EXPORTS) \
19102 for flag in $(EXTRA_HOST_FLAGS) ; do \
19103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19104 done; \
19105 echo "Doing html in prms" ; \
19106 (cd $(HOST_SUBDIR)/prms && \
19107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19109 "RANLIB=$${RANLIB}" \
19110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19111 html) \
19112 || exit 1
19114 @endif prms
19116 .PHONY: maybe-TAGS-prms TAGS-prms
19117 maybe-TAGS-prms:
19118 @if prms
19119 maybe-TAGS-prms: TAGS-prms
19121 TAGS-prms: \
19122 configure-prms
19123 @[ -f ./prms/Makefile ] || exit 0; \
19124 r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 $(HOST_EXPORTS) \
19127 for flag in $(EXTRA_HOST_FLAGS) ; do \
19128 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19129 done; \
19130 echo "Doing TAGS in prms" ; \
19131 (cd $(HOST_SUBDIR)/prms && \
19132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19134 "RANLIB=$${RANLIB}" \
19135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19136 TAGS) \
19137 || exit 1
19139 @endif prms
19141 .PHONY: maybe-install-info-prms install-info-prms
19142 maybe-install-info-prms:
19143 @if prms
19144 maybe-install-info-prms: install-info-prms
19146 install-info-prms: \
19147 configure-prms \
19148 info-prms
19149 @[ -f ./prms/Makefile ] || exit 0; \
19150 r=`${PWD_COMMAND}`; export r; \
19151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19152 $(HOST_EXPORTS) \
19153 for flag in $(EXTRA_HOST_FLAGS) ; do \
19154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19155 done; \
19156 echo "Doing install-info in prms" ; \
19157 (cd $(HOST_SUBDIR)/prms && \
19158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19160 "RANLIB=$${RANLIB}" \
19161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19162 install-info) \
19163 || exit 1
19165 @endif prms
19167 .PHONY: maybe-installcheck-prms installcheck-prms
19168 maybe-installcheck-prms:
19169 @if prms
19170 maybe-installcheck-prms: installcheck-prms
19172 installcheck-prms: \
19173 configure-prms
19174 @[ -f ./prms/Makefile ] || exit 0; \
19175 r=`${PWD_COMMAND}`; export r; \
19176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19177 $(HOST_EXPORTS) \
19178 for flag in $(EXTRA_HOST_FLAGS) ; do \
19179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19180 done; \
19181 echo "Doing installcheck in prms" ; \
19182 (cd $(HOST_SUBDIR)/prms && \
19183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19185 "RANLIB=$${RANLIB}" \
19186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19187 installcheck) \
19188 || exit 1
19190 @endif prms
19192 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19193 maybe-mostlyclean-prms:
19194 @if prms
19195 maybe-mostlyclean-prms: mostlyclean-prms
19197 mostlyclean-prms:
19198 @[ -f ./prms/Makefile ] || exit 0; \
19199 r=`${PWD_COMMAND}`; export r; \
19200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19201 $(HOST_EXPORTS) \
19202 for flag in $(EXTRA_HOST_FLAGS) ; do \
19203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19204 done; \
19205 echo "Doing mostlyclean in prms" ; \
19206 (cd $(HOST_SUBDIR)/prms && \
19207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19209 "RANLIB=$${RANLIB}" \
19210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19211 mostlyclean) \
19212 || exit 1
19214 @endif prms
19216 .PHONY: maybe-clean-prms clean-prms
19217 maybe-clean-prms:
19218 @if prms
19219 maybe-clean-prms: clean-prms
19221 clean-prms:
19222 @[ -f ./prms/Makefile ] || exit 0; \
19223 r=`${PWD_COMMAND}`; export r; \
19224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19225 $(HOST_EXPORTS) \
19226 for flag in $(EXTRA_HOST_FLAGS) ; do \
19227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19228 done; \
19229 echo "Doing clean in prms" ; \
19230 (cd $(HOST_SUBDIR)/prms && \
19231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19233 "RANLIB=$${RANLIB}" \
19234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19235 clean) \
19236 || exit 1
19238 @endif prms
19240 .PHONY: maybe-distclean-prms distclean-prms
19241 maybe-distclean-prms:
19242 @if prms
19243 maybe-distclean-prms: distclean-prms
19245 distclean-prms:
19246 @[ -f ./prms/Makefile ] || exit 0; \
19247 r=`${PWD_COMMAND}`; export r; \
19248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19249 $(HOST_EXPORTS) \
19250 for flag in $(EXTRA_HOST_FLAGS) ; do \
19251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19252 done; \
19253 echo "Doing distclean in prms" ; \
19254 (cd $(HOST_SUBDIR)/prms && \
19255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19257 "RANLIB=$${RANLIB}" \
19258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19259 distclean) \
19260 || exit 1
19262 @endif prms
19264 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
19265 maybe-maintainer-clean-prms:
19266 @if prms
19267 maybe-maintainer-clean-prms: maintainer-clean-prms
19269 maintainer-clean-prms:
19270 @[ -f ./prms/Makefile ] || exit 0; \
19271 r=`${PWD_COMMAND}`; export r; \
19272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19273 $(HOST_EXPORTS) \
19274 for flag in $(EXTRA_HOST_FLAGS) ; do \
19275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19276 done; \
19277 echo "Doing maintainer-clean in prms" ; \
19278 (cd $(HOST_SUBDIR)/prms && \
19279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19281 "RANLIB=$${RANLIB}" \
19282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19283 maintainer-clean) \
19284 || exit 1
19286 @endif prms
19290 .PHONY: configure-rcs maybe-configure-rcs
19291 maybe-configure-rcs:
19292 @if rcs
19293 maybe-configure-rcs: configure-rcs
19294 configure-rcs:
19295 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
19296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
19297 r=`${PWD_COMMAND}`; export r; \
19298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19299 $(HOST_EXPORTS) \
19300 echo Configuring in $(HOST_SUBDIR)/rcs; \
19301 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
19302 case $(srcdir) in \
19303 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19304 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
19305 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19306 esac; \
19307 srcdiroption="--srcdir=$${topdir}/rcs"; \
19308 libsrcdir="$$s/rcs"; \
19309 $(SHELL) $${libsrcdir}/configure \
19310 $(HOST_CONFIGARGS) $${srcdiroption} \
19311 || exit 1
19312 @endif rcs
19318 .PHONY: all-rcs maybe-all-rcs
19319 maybe-all-rcs:
19320 @if rcs
19321 TARGET-rcs=all
19322 maybe-all-rcs: all-rcs
19323 all-rcs: configure-rcs
19324 @r=`${PWD_COMMAND}`; export r; \
19325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19326 $(HOST_EXPORTS) \
19327 (cd $(HOST_SUBDIR)/rcs && \
19328 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
19329 @endif rcs
19334 .PHONY: check-rcs maybe-check-rcs
19335 maybe-check-rcs:
19336 @if rcs
19337 maybe-check-rcs: check-rcs
19339 check-rcs:
19340 @r=`${PWD_COMMAND}`; export r; \
19341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19342 $(HOST_EXPORTS) \
19343 (cd $(HOST_SUBDIR)/rcs && \
19344 $(MAKE) $(FLAGS_TO_PASS) check)
19346 @endif rcs
19348 .PHONY: install-rcs maybe-install-rcs
19349 maybe-install-rcs:
19350 @if rcs
19351 maybe-install-rcs: install-rcs
19353 install-rcs: installdirs
19354 @r=`${PWD_COMMAND}`; export r; \
19355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19356 $(HOST_EXPORTS) \
19357 (cd $(HOST_SUBDIR)/rcs && \
19358 $(MAKE) $(FLAGS_TO_PASS) install)
19360 @endif rcs
19362 # Other targets (info, dvi, etc.)
19364 .PHONY: maybe-info-rcs info-rcs
19365 maybe-info-rcs:
19366 @if rcs
19367 maybe-info-rcs: info-rcs
19369 info-rcs: \
19370 configure-rcs
19371 @[ -f ./rcs/Makefile ] || exit 0; \
19372 r=`${PWD_COMMAND}`; export r; \
19373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19374 $(HOST_EXPORTS) \
19375 for flag in $(EXTRA_HOST_FLAGS) ; do \
19376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19377 done; \
19378 echo "Doing info in rcs" ; \
19379 (cd $(HOST_SUBDIR)/rcs && \
19380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19382 "RANLIB=$${RANLIB}" \
19383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19384 info) \
19385 || exit 1
19387 @endif rcs
19389 .PHONY: maybe-dvi-rcs dvi-rcs
19390 maybe-dvi-rcs:
19391 @if rcs
19392 maybe-dvi-rcs: dvi-rcs
19394 dvi-rcs: \
19395 configure-rcs
19396 @[ -f ./rcs/Makefile ] || exit 0; \
19397 r=`${PWD_COMMAND}`; export r; \
19398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19399 $(HOST_EXPORTS) \
19400 for flag in $(EXTRA_HOST_FLAGS) ; do \
19401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19402 done; \
19403 echo "Doing dvi in rcs" ; \
19404 (cd $(HOST_SUBDIR)/rcs && \
19405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19407 "RANLIB=$${RANLIB}" \
19408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19409 dvi) \
19410 || exit 1
19412 @endif rcs
19414 .PHONY: maybe-html-rcs html-rcs
19415 maybe-html-rcs:
19416 @if rcs
19417 maybe-html-rcs: html-rcs
19419 html-rcs: \
19420 configure-rcs
19421 @[ -f ./rcs/Makefile ] || exit 0; \
19422 r=`${PWD_COMMAND}`; export r; \
19423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19424 $(HOST_EXPORTS) \
19425 for flag in $(EXTRA_HOST_FLAGS) ; do \
19426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19427 done; \
19428 echo "Doing html in rcs" ; \
19429 (cd $(HOST_SUBDIR)/rcs && \
19430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19432 "RANLIB=$${RANLIB}" \
19433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19434 html) \
19435 || exit 1
19437 @endif rcs
19439 .PHONY: maybe-TAGS-rcs TAGS-rcs
19440 maybe-TAGS-rcs:
19441 @if rcs
19442 maybe-TAGS-rcs: TAGS-rcs
19444 TAGS-rcs: \
19445 configure-rcs
19446 @[ -f ./rcs/Makefile ] || exit 0; \
19447 r=`${PWD_COMMAND}`; export r; \
19448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19449 $(HOST_EXPORTS) \
19450 for flag in $(EXTRA_HOST_FLAGS) ; do \
19451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19452 done; \
19453 echo "Doing TAGS in rcs" ; \
19454 (cd $(HOST_SUBDIR)/rcs && \
19455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19457 "RANLIB=$${RANLIB}" \
19458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19459 TAGS) \
19460 || exit 1
19462 @endif rcs
19464 .PHONY: maybe-install-info-rcs install-info-rcs
19465 maybe-install-info-rcs:
19466 @if rcs
19467 maybe-install-info-rcs: install-info-rcs
19469 install-info-rcs: \
19470 configure-rcs \
19471 info-rcs
19472 @[ -f ./rcs/Makefile ] || exit 0; \
19473 r=`${PWD_COMMAND}`; export r; \
19474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19475 $(HOST_EXPORTS) \
19476 for flag in $(EXTRA_HOST_FLAGS) ; do \
19477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19478 done; \
19479 echo "Doing install-info in rcs" ; \
19480 (cd $(HOST_SUBDIR)/rcs && \
19481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19483 "RANLIB=$${RANLIB}" \
19484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19485 install-info) \
19486 || exit 1
19488 @endif rcs
19490 .PHONY: maybe-installcheck-rcs installcheck-rcs
19491 maybe-installcheck-rcs:
19492 @if rcs
19493 maybe-installcheck-rcs: installcheck-rcs
19495 installcheck-rcs: \
19496 configure-rcs
19497 @[ -f ./rcs/Makefile ] || exit 0; \
19498 r=`${PWD_COMMAND}`; export r; \
19499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19500 $(HOST_EXPORTS) \
19501 for flag in $(EXTRA_HOST_FLAGS) ; do \
19502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19503 done; \
19504 echo "Doing installcheck in rcs" ; \
19505 (cd $(HOST_SUBDIR)/rcs && \
19506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19508 "RANLIB=$${RANLIB}" \
19509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19510 installcheck) \
19511 || exit 1
19513 @endif rcs
19515 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
19516 maybe-mostlyclean-rcs:
19517 @if rcs
19518 maybe-mostlyclean-rcs: mostlyclean-rcs
19520 mostlyclean-rcs:
19521 @[ -f ./rcs/Makefile ] || exit 0; \
19522 r=`${PWD_COMMAND}`; export r; \
19523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19524 $(HOST_EXPORTS) \
19525 for flag in $(EXTRA_HOST_FLAGS) ; do \
19526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19527 done; \
19528 echo "Doing mostlyclean in rcs" ; \
19529 (cd $(HOST_SUBDIR)/rcs && \
19530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19532 "RANLIB=$${RANLIB}" \
19533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19534 mostlyclean) \
19535 || exit 1
19537 @endif rcs
19539 .PHONY: maybe-clean-rcs clean-rcs
19540 maybe-clean-rcs:
19541 @if rcs
19542 maybe-clean-rcs: clean-rcs
19544 clean-rcs:
19545 @[ -f ./rcs/Makefile ] || exit 0; \
19546 r=`${PWD_COMMAND}`; export r; \
19547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19548 $(HOST_EXPORTS) \
19549 for flag in $(EXTRA_HOST_FLAGS) ; do \
19550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19551 done; \
19552 echo "Doing clean in rcs" ; \
19553 (cd $(HOST_SUBDIR)/rcs && \
19554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19556 "RANLIB=$${RANLIB}" \
19557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19558 clean) \
19559 || exit 1
19561 @endif rcs
19563 .PHONY: maybe-distclean-rcs distclean-rcs
19564 maybe-distclean-rcs:
19565 @if rcs
19566 maybe-distclean-rcs: distclean-rcs
19568 distclean-rcs:
19569 @[ -f ./rcs/Makefile ] || exit 0; \
19570 r=`${PWD_COMMAND}`; export r; \
19571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19572 $(HOST_EXPORTS) \
19573 for flag in $(EXTRA_HOST_FLAGS) ; do \
19574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19575 done; \
19576 echo "Doing distclean in rcs" ; \
19577 (cd $(HOST_SUBDIR)/rcs && \
19578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19580 "RANLIB=$${RANLIB}" \
19581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19582 distclean) \
19583 || exit 1
19585 @endif rcs
19587 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
19588 maybe-maintainer-clean-rcs:
19589 @if rcs
19590 maybe-maintainer-clean-rcs: maintainer-clean-rcs
19592 maintainer-clean-rcs:
19593 @[ -f ./rcs/Makefile ] || exit 0; \
19594 r=`${PWD_COMMAND}`; export r; \
19595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19596 $(HOST_EXPORTS) \
19597 for flag in $(EXTRA_HOST_FLAGS) ; do \
19598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19599 done; \
19600 echo "Doing maintainer-clean in rcs" ; \
19601 (cd $(HOST_SUBDIR)/rcs && \
19602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19604 "RANLIB=$${RANLIB}" \
19605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19606 maintainer-clean) \
19607 || exit 1
19609 @endif rcs
19613 .PHONY: configure-readline maybe-configure-readline
19614 maybe-configure-readline:
19615 @if readline
19616 maybe-configure-readline: configure-readline
19617 configure-readline:
19618 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
19619 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
19620 r=`${PWD_COMMAND}`; export r; \
19621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19622 $(HOST_EXPORTS) \
19623 echo Configuring in $(HOST_SUBDIR)/readline; \
19624 cd "$(HOST_SUBDIR)/readline" || exit 1; \
19625 case $(srcdir) in \
19626 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19627 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
19628 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19629 esac; \
19630 srcdiroption="--srcdir=$${topdir}/readline"; \
19631 libsrcdir="$$s/readline"; \
19632 $(SHELL) $${libsrcdir}/configure \
19633 $(HOST_CONFIGARGS) $${srcdiroption} \
19634 || exit 1
19635 @endif readline
19641 .PHONY: all-readline maybe-all-readline
19642 maybe-all-readline:
19643 @if readline
19644 TARGET-readline=all
19645 maybe-all-readline: all-readline
19646 all-readline: configure-readline
19647 @r=`${PWD_COMMAND}`; export r; \
19648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19649 $(HOST_EXPORTS) \
19650 (cd $(HOST_SUBDIR)/readline && \
19651 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
19652 @endif readline
19657 .PHONY: check-readline maybe-check-readline
19658 maybe-check-readline:
19659 @if readline
19660 maybe-check-readline: check-readline
19662 check-readline:
19663 @r=`${PWD_COMMAND}`; export r; \
19664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19665 $(HOST_EXPORTS) \
19666 (cd $(HOST_SUBDIR)/readline && \
19667 $(MAKE) $(FLAGS_TO_PASS) check)
19669 @endif readline
19671 .PHONY: install-readline maybe-install-readline
19672 maybe-install-readline:
19673 @if readline
19674 maybe-install-readline: install-readline
19676 install-readline: installdirs
19677 @r=`${PWD_COMMAND}`; export r; \
19678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19679 $(HOST_EXPORTS) \
19680 (cd $(HOST_SUBDIR)/readline && \
19681 $(MAKE) $(FLAGS_TO_PASS) install)
19683 @endif readline
19685 # Other targets (info, dvi, etc.)
19687 .PHONY: maybe-info-readline info-readline
19688 maybe-info-readline:
19689 @if readline
19690 maybe-info-readline: info-readline
19692 info-readline: \
19693 configure-readline
19694 @[ -f ./readline/Makefile ] || exit 0; \
19695 r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 $(HOST_EXPORTS) \
19698 for flag in $(EXTRA_HOST_FLAGS) ; do \
19699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19700 done; \
19701 echo "Doing info in readline" ; \
19702 (cd $(HOST_SUBDIR)/readline && \
19703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19705 "RANLIB=$${RANLIB}" \
19706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19707 info) \
19708 || exit 1
19710 @endif readline
19712 .PHONY: maybe-dvi-readline dvi-readline
19713 maybe-dvi-readline:
19714 @if readline
19715 maybe-dvi-readline: dvi-readline
19717 dvi-readline: \
19718 configure-readline
19719 @[ -f ./readline/Makefile ] || exit 0; \
19720 r=`${PWD_COMMAND}`; export r; \
19721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722 $(HOST_EXPORTS) \
19723 for flag in $(EXTRA_HOST_FLAGS) ; do \
19724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19725 done; \
19726 echo "Doing dvi in readline" ; \
19727 (cd $(HOST_SUBDIR)/readline && \
19728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19730 "RANLIB=$${RANLIB}" \
19731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19732 dvi) \
19733 || exit 1
19735 @endif readline
19737 .PHONY: maybe-html-readline html-readline
19738 maybe-html-readline:
19739 @if readline
19740 maybe-html-readline: html-readline
19742 html-readline: \
19743 configure-readline
19744 @[ -f ./readline/Makefile ] || exit 0; \
19745 r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 $(HOST_EXPORTS) \
19748 for flag in $(EXTRA_HOST_FLAGS) ; do \
19749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19750 done; \
19751 echo "Doing html in readline" ; \
19752 (cd $(HOST_SUBDIR)/readline && \
19753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19755 "RANLIB=$${RANLIB}" \
19756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19757 html) \
19758 || exit 1
19760 @endif readline
19762 .PHONY: maybe-TAGS-readline TAGS-readline
19763 maybe-TAGS-readline:
19764 @if readline
19765 maybe-TAGS-readline: TAGS-readline
19767 TAGS-readline: \
19768 configure-readline
19769 @[ -f ./readline/Makefile ] || exit 0; \
19770 r=`${PWD_COMMAND}`; export r; \
19771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19772 $(HOST_EXPORTS) \
19773 for flag in $(EXTRA_HOST_FLAGS) ; do \
19774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19775 done; \
19776 echo "Doing TAGS in readline" ; \
19777 (cd $(HOST_SUBDIR)/readline && \
19778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19780 "RANLIB=$${RANLIB}" \
19781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19782 TAGS) \
19783 || exit 1
19785 @endif readline
19787 .PHONY: maybe-install-info-readline install-info-readline
19788 maybe-install-info-readline:
19789 @if readline
19790 maybe-install-info-readline: install-info-readline
19792 install-info-readline: \
19793 configure-readline \
19794 info-readline
19795 @[ -f ./readline/Makefile ] || exit 0; \
19796 r=`${PWD_COMMAND}`; export r; \
19797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19798 $(HOST_EXPORTS) \
19799 for flag in $(EXTRA_HOST_FLAGS) ; do \
19800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19801 done; \
19802 echo "Doing install-info in readline" ; \
19803 (cd $(HOST_SUBDIR)/readline && \
19804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19806 "RANLIB=$${RANLIB}" \
19807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19808 install-info) \
19809 || exit 1
19811 @endif readline
19813 .PHONY: maybe-installcheck-readline installcheck-readline
19814 maybe-installcheck-readline:
19815 @if readline
19816 maybe-installcheck-readline: installcheck-readline
19818 installcheck-readline: \
19819 configure-readline
19820 @[ -f ./readline/Makefile ] || exit 0; \
19821 r=`${PWD_COMMAND}`; export r; \
19822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19823 $(HOST_EXPORTS) \
19824 for flag in $(EXTRA_HOST_FLAGS) ; do \
19825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19826 done; \
19827 echo "Doing installcheck in readline" ; \
19828 (cd $(HOST_SUBDIR)/readline && \
19829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19831 "RANLIB=$${RANLIB}" \
19832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19833 installcheck) \
19834 || exit 1
19836 @endif readline
19838 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
19839 maybe-mostlyclean-readline:
19840 @if readline
19841 maybe-mostlyclean-readline: mostlyclean-readline
19843 mostlyclean-readline:
19844 @[ -f ./readline/Makefile ] || exit 0; \
19845 r=`${PWD_COMMAND}`; export r; \
19846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19847 $(HOST_EXPORTS) \
19848 for flag in $(EXTRA_HOST_FLAGS) ; do \
19849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19850 done; \
19851 echo "Doing mostlyclean in readline" ; \
19852 (cd $(HOST_SUBDIR)/readline && \
19853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19855 "RANLIB=$${RANLIB}" \
19856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19857 mostlyclean) \
19858 || exit 1
19860 @endif readline
19862 .PHONY: maybe-clean-readline clean-readline
19863 maybe-clean-readline:
19864 @if readline
19865 maybe-clean-readline: clean-readline
19867 clean-readline:
19868 @[ -f ./readline/Makefile ] || exit 0; \
19869 r=`${PWD_COMMAND}`; export r; \
19870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19871 $(HOST_EXPORTS) \
19872 for flag in $(EXTRA_HOST_FLAGS) ; do \
19873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19874 done; \
19875 echo "Doing clean in readline" ; \
19876 (cd $(HOST_SUBDIR)/readline && \
19877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19879 "RANLIB=$${RANLIB}" \
19880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19881 clean) \
19882 || exit 1
19884 @endif readline
19886 .PHONY: maybe-distclean-readline distclean-readline
19887 maybe-distclean-readline:
19888 @if readline
19889 maybe-distclean-readline: distclean-readline
19891 distclean-readline:
19892 @[ -f ./readline/Makefile ] || exit 0; \
19893 r=`${PWD_COMMAND}`; export r; \
19894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19895 $(HOST_EXPORTS) \
19896 for flag in $(EXTRA_HOST_FLAGS) ; do \
19897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19898 done; \
19899 echo "Doing distclean in readline" ; \
19900 (cd $(HOST_SUBDIR)/readline && \
19901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19903 "RANLIB=$${RANLIB}" \
19904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19905 distclean) \
19906 || exit 1
19908 @endif readline
19910 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
19911 maybe-maintainer-clean-readline:
19912 @if readline
19913 maybe-maintainer-clean-readline: maintainer-clean-readline
19915 maintainer-clean-readline:
19916 @[ -f ./readline/Makefile ] || exit 0; \
19917 r=`${PWD_COMMAND}`; export r; \
19918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19919 $(HOST_EXPORTS) \
19920 for flag in $(EXTRA_HOST_FLAGS) ; do \
19921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19922 done; \
19923 echo "Doing maintainer-clean in readline" ; \
19924 (cd $(HOST_SUBDIR)/readline && \
19925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19927 "RANLIB=$${RANLIB}" \
19928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19929 maintainer-clean) \
19930 || exit 1
19932 @endif readline
19936 .PHONY: configure-release maybe-configure-release
19937 maybe-configure-release:
19938 @if release
19939 maybe-configure-release: configure-release
19940 configure-release:
19941 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
19942 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
19943 r=`${PWD_COMMAND}`; export r; \
19944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19945 $(HOST_EXPORTS) \
19946 echo Configuring in $(HOST_SUBDIR)/release; \
19947 cd "$(HOST_SUBDIR)/release" || exit 1; \
19948 case $(srcdir) in \
19949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19950 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
19951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19952 esac; \
19953 srcdiroption="--srcdir=$${topdir}/release"; \
19954 libsrcdir="$$s/release"; \
19955 $(SHELL) $${libsrcdir}/configure \
19956 $(HOST_CONFIGARGS) $${srcdiroption} \
19957 || exit 1
19958 @endif release
19964 .PHONY: all-release maybe-all-release
19965 maybe-all-release:
19966 @if release
19967 TARGET-release=all
19968 maybe-all-release: all-release
19969 all-release: configure-release
19970 @r=`${PWD_COMMAND}`; export r; \
19971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19972 $(HOST_EXPORTS) \
19973 (cd $(HOST_SUBDIR)/release && \
19974 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
19975 @endif release
19980 .PHONY: check-release maybe-check-release
19981 maybe-check-release:
19982 @if release
19983 maybe-check-release: check-release
19985 check-release:
19987 @endif release
19989 .PHONY: install-release maybe-install-release
19990 maybe-install-release:
19991 @if release
19992 maybe-install-release: install-release
19994 install-release:
19996 @endif release
19998 # Other targets (info, dvi, etc.)
20000 .PHONY: maybe-info-release info-release
20001 maybe-info-release:
20002 @if release
20003 maybe-info-release: info-release
20005 info-release: \
20006 configure-release
20007 @[ -f ./release/Makefile ] || exit 0; \
20008 r=`${PWD_COMMAND}`; export r; \
20009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20010 $(HOST_EXPORTS) \
20011 for flag in $(EXTRA_HOST_FLAGS) ; do \
20012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20013 done; \
20014 echo "Doing info in release" ; \
20015 (cd $(HOST_SUBDIR)/release && \
20016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20018 "RANLIB=$${RANLIB}" \
20019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20020 info) \
20021 || exit 1
20023 @endif release
20025 .PHONY: maybe-dvi-release dvi-release
20026 maybe-dvi-release:
20027 @if release
20028 maybe-dvi-release: dvi-release
20030 dvi-release: \
20031 configure-release
20032 @[ -f ./release/Makefile ] || exit 0; \
20033 r=`${PWD_COMMAND}`; export r; \
20034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20035 $(HOST_EXPORTS) \
20036 for flag in $(EXTRA_HOST_FLAGS) ; do \
20037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20038 done; \
20039 echo "Doing dvi in release" ; \
20040 (cd $(HOST_SUBDIR)/release && \
20041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20043 "RANLIB=$${RANLIB}" \
20044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20045 dvi) \
20046 || exit 1
20048 @endif release
20050 .PHONY: maybe-html-release html-release
20051 maybe-html-release:
20052 @if release
20053 maybe-html-release: html-release
20055 html-release: \
20056 configure-release
20057 @[ -f ./release/Makefile ] || exit 0; \
20058 r=`${PWD_COMMAND}`; export r; \
20059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20060 $(HOST_EXPORTS) \
20061 for flag in $(EXTRA_HOST_FLAGS) ; do \
20062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20063 done; \
20064 echo "Doing html in release" ; \
20065 (cd $(HOST_SUBDIR)/release && \
20066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20068 "RANLIB=$${RANLIB}" \
20069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20070 html) \
20071 || exit 1
20073 @endif release
20075 .PHONY: maybe-TAGS-release TAGS-release
20076 maybe-TAGS-release:
20077 @if release
20078 maybe-TAGS-release: TAGS-release
20080 TAGS-release: \
20081 configure-release
20082 @[ -f ./release/Makefile ] || exit 0; \
20083 r=`${PWD_COMMAND}`; export r; \
20084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20085 $(HOST_EXPORTS) \
20086 for flag in $(EXTRA_HOST_FLAGS) ; do \
20087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20088 done; \
20089 echo "Doing TAGS in release" ; \
20090 (cd $(HOST_SUBDIR)/release && \
20091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20093 "RANLIB=$${RANLIB}" \
20094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20095 TAGS) \
20096 || exit 1
20098 @endif release
20100 .PHONY: maybe-install-info-release install-info-release
20101 maybe-install-info-release:
20102 @if release
20103 maybe-install-info-release: install-info-release
20105 install-info-release: \
20106 configure-release \
20107 info-release
20108 @[ -f ./release/Makefile ] || exit 0; \
20109 r=`${PWD_COMMAND}`; export r; \
20110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20111 $(HOST_EXPORTS) \
20112 for flag in $(EXTRA_HOST_FLAGS) ; do \
20113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20114 done; \
20115 echo "Doing install-info in release" ; \
20116 (cd $(HOST_SUBDIR)/release && \
20117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20119 "RANLIB=$${RANLIB}" \
20120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20121 install-info) \
20122 || exit 1
20124 @endif release
20126 .PHONY: maybe-installcheck-release installcheck-release
20127 maybe-installcheck-release:
20128 @if release
20129 maybe-installcheck-release: installcheck-release
20131 installcheck-release: \
20132 configure-release
20133 @[ -f ./release/Makefile ] || exit 0; \
20134 r=`${PWD_COMMAND}`; export r; \
20135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20136 $(HOST_EXPORTS) \
20137 for flag in $(EXTRA_HOST_FLAGS) ; do \
20138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20139 done; \
20140 echo "Doing installcheck in release" ; \
20141 (cd $(HOST_SUBDIR)/release && \
20142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20144 "RANLIB=$${RANLIB}" \
20145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20146 installcheck) \
20147 || exit 1
20149 @endif release
20151 .PHONY: maybe-mostlyclean-release mostlyclean-release
20152 maybe-mostlyclean-release:
20153 @if release
20154 maybe-mostlyclean-release: mostlyclean-release
20156 mostlyclean-release:
20157 @[ -f ./release/Makefile ] || exit 0; \
20158 r=`${PWD_COMMAND}`; export r; \
20159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20160 $(HOST_EXPORTS) \
20161 for flag in $(EXTRA_HOST_FLAGS) ; do \
20162 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20163 done; \
20164 echo "Doing mostlyclean in release" ; \
20165 (cd $(HOST_SUBDIR)/release && \
20166 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20167 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20168 "RANLIB=$${RANLIB}" \
20169 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20170 mostlyclean) \
20171 || exit 1
20173 @endif release
20175 .PHONY: maybe-clean-release clean-release
20176 maybe-clean-release:
20177 @if release
20178 maybe-clean-release: clean-release
20180 clean-release:
20181 @[ -f ./release/Makefile ] || exit 0; \
20182 r=`${PWD_COMMAND}`; export r; \
20183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20184 $(HOST_EXPORTS) \
20185 for flag in $(EXTRA_HOST_FLAGS) ; do \
20186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20187 done; \
20188 echo "Doing clean in release" ; \
20189 (cd $(HOST_SUBDIR)/release && \
20190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20192 "RANLIB=$${RANLIB}" \
20193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20194 clean) \
20195 || exit 1
20197 @endif release
20199 .PHONY: maybe-distclean-release distclean-release
20200 maybe-distclean-release:
20201 @if release
20202 maybe-distclean-release: distclean-release
20204 distclean-release:
20205 @[ -f ./release/Makefile ] || exit 0; \
20206 r=`${PWD_COMMAND}`; export r; \
20207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20208 $(HOST_EXPORTS) \
20209 for flag in $(EXTRA_HOST_FLAGS) ; do \
20210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20211 done; \
20212 echo "Doing distclean in release" ; \
20213 (cd $(HOST_SUBDIR)/release && \
20214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20216 "RANLIB=$${RANLIB}" \
20217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20218 distclean) \
20219 || exit 1
20221 @endif release
20223 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
20224 maybe-maintainer-clean-release:
20225 @if release
20226 maybe-maintainer-clean-release: maintainer-clean-release
20228 maintainer-clean-release:
20229 @[ -f ./release/Makefile ] || exit 0; \
20230 r=`${PWD_COMMAND}`; export r; \
20231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20232 $(HOST_EXPORTS) \
20233 for flag in $(EXTRA_HOST_FLAGS) ; do \
20234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20235 done; \
20236 echo "Doing maintainer-clean in release" ; \
20237 (cd $(HOST_SUBDIR)/release && \
20238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20240 "RANLIB=$${RANLIB}" \
20241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20242 maintainer-clean) \
20243 || exit 1
20245 @endif release
20249 .PHONY: configure-recode maybe-configure-recode
20250 maybe-configure-recode:
20251 @if recode
20252 maybe-configure-recode: configure-recode
20253 configure-recode:
20254 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
20255 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
20256 r=`${PWD_COMMAND}`; export r; \
20257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20258 $(HOST_EXPORTS) \
20259 echo Configuring in $(HOST_SUBDIR)/recode; \
20260 cd "$(HOST_SUBDIR)/recode" || exit 1; \
20261 case $(srcdir) in \
20262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20263 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
20264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20265 esac; \
20266 srcdiroption="--srcdir=$${topdir}/recode"; \
20267 libsrcdir="$$s/recode"; \
20268 $(SHELL) $${libsrcdir}/configure \
20269 $(HOST_CONFIGARGS) $${srcdiroption} \
20270 || exit 1
20271 @endif recode
20277 .PHONY: all-recode maybe-all-recode
20278 maybe-all-recode:
20279 @if recode
20280 TARGET-recode=all
20281 maybe-all-recode: all-recode
20282 all-recode: configure-recode
20283 @r=`${PWD_COMMAND}`; export r; \
20284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20285 $(HOST_EXPORTS) \
20286 (cd $(HOST_SUBDIR)/recode && \
20287 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
20288 @endif recode
20293 .PHONY: check-recode maybe-check-recode
20294 maybe-check-recode:
20295 @if recode
20296 maybe-check-recode: check-recode
20298 check-recode:
20299 @r=`${PWD_COMMAND}`; export r; \
20300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20301 $(HOST_EXPORTS) \
20302 (cd $(HOST_SUBDIR)/recode && \
20303 $(MAKE) $(FLAGS_TO_PASS) check)
20305 @endif recode
20307 .PHONY: install-recode maybe-install-recode
20308 maybe-install-recode:
20309 @if recode
20310 maybe-install-recode: install-recode
20312 install-recode: installdirs
20313 @r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 (cd $(HOST_SUBDIR)/recode && \
20317 $(MAKE) $(FLAGS_TO_PASS) install)
20319 @endif recode
20321 # Other targets (info, dvi, etc.)
20323 .PHONY: maybe-info-recode info-recode
20324 maybe-info-recode:
20325 @if recode
20326 maybe-info-recode: info-recode
20328 info-recode: \
20329 configure-recode
20330 @[ -f ./recode/Makefile ] || exit 0; \
20331 r=`${PWD_COMMAND}`; export r; \
20332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20333 $(HOST_EXPORTS) \
20334 for flag in $(EXTRA_HOST_FLAGS) ; do \
20335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20336 done; \
20337 echo "Doing info in recode" ; \
20338 (cd $(HOST_SUBDIR)/recode && \
20339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20341 "RANLIB=$${RANLIB}" \
20342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20343 info) \
20344 || exit 1
20346 @endif recode
20348 .PHONY: maybe-dvi-recode dvi-recode
20349 maybe-dvi-recode:
20350 @if recode
20351 maybe-dvi-recode: dvi-recode
20353 dvi-recode: \
20354 configure-recode
20355 @[ -f ./recode/Makefile ] || exit 0; \
20356 r=`${PWD_COMMAND}`; export r; \
20357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20358 $(HOST_EXPORTS) \
20359 for flag in $(EXTRA_HOST_FLAGS) ; do \
20360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20361 done; \
20362 echo "Doing dvi in recode" ; \
20363 (cd $(HOST_SUBDIR)/recode && \
20364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20366 "RANLIB=$${RANLIB}" \
20367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20368 dvi) \
20369 || exit 1
20371 @endif recode
20373 .PHONY: maybe-html-recode html-recode
20374 maybe-html-recode:
20375 @if recode
20376 maybe-html-recode: html-recode
20378 html-recode: \
20379 configure-recode
20380 @[ -f ./recode/Makefile ] || exit 0; \
20381 r=`${PWD_COMMAND}`; export r; \
20382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20383 $(HOST_EXPORTS) \
20384 for flag in $(EXTRA_HOST_FLAGS) ; do \
20385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20386 done; \
20387 echo "Doing html in recode" ; \
20388 (cd $(HOST_SUBDIR)/recode && \
20389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20391 "RANLIB=$${RANLIB}" \
20392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20393 html) \
20394 || exit 1
20396 @endif recode
20398 .PHONY: maybe-TAGS-recode TAGS-recode
20399 maybe-TAGS-recode:
20400 @if recode
20401 maybe-TAGS-recode: TAGS-recode
20403 TAGS-recode: \
20404 configure-recode
20405 @[ -f ./recode/Makefile ] || exit 0; \
20406 r=`${PWD_COMMAND}`; export r; \
20407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20408 $(HOST_EXPORTS) \
20409 for flag in $(EXTRA_HOST_FLAGS) ; do \
20410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20411 done; \
20412 echo "Doing TAGS in recode" ; \
20413 (cd $(HOST_SUBDIR)/recode && \
20414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20416 "RANLIB=$${RANLIB}" \
20417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20418 TAGS) \
20419 || exit 1
20421 @endif recode
20423 .PHONY: maybe-install-info-recode install-info-recode
20424 maybe-install-info-recode:
20425 @if recode
20426 maybe-install-info-recode: install-info-recode
20428 install-info-recode: \
20429 configure-recode \
20430 info-recode
20431 @[ -f ./recode/Makefile ] || exit 0; \
20432 r=`${PWD_COMMAND}`; export r; \
20433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20434 $(HOST_EXPORTS) \
20435 for flag in $(EXTRA_HOST_FLAGS) ; do \
20436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20437 done; \
20438 echo "Doing install-info in recode" ; \
20439 (cd $(HOST_SUBDIR)/recode && \
20440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20442 "RANLIB=$${RANLIB}" \
20443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20444 install-info) \
20445 || exit 1
20447 @endif recode
20449 .PHONY: maybe-installcheck-recode installcheck-recode
20450 maybe-installcheck-recode:
20451 @if recode
20452 maybe-installcheck-recode: installcheck-recode
20454 installcheck-recode: \
20455 configure-recode
20456 @[ -f ./recode/Makefile ] || exit 0; \
20457 r=`${PWD_COMMAND}`; export r; \
20458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20459 $(HOST_EXPORTS) \
20460 for flag in $(EXTRA_HOST_FLAGS) ; do \
20461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20462 done; \
20463 echo "Doing installcheck in recode" ; \
20464 (cd $(HOST_SUBDIR)/recode && \
20465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20467 "RANLIB=$${RANLIB}" \
20468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20469 installcheck) \
20470 || exit 1
20472 @endif recode
20474 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
20475 maybe-mostlyclean-recode:
20476 @if recode
20477 maybe-mostlyclean-recode: mostlyclean-recode
20479 mostlyclean-recode:
20480 @[ -f ./recode/Makefile ] || exit 0; \
20481 r=`${PWD_COMMAND}`; export r; \
20482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20483 $(HOST_EXPORTS) \
20484 for flag in $(EXTRA_HOST_FLAGS) ; do \
20485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20486 done; \
20487 echo "Doing mostlyclean in recode" ; \
20488 (cd $(HOST_SUBDIR)/recode && \
20489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20491 "RANLIB=$${RANLIB}" \
20492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20493 mostlyclean) \
20494 || exit 1
20496 @endif recode
20498 .PHONY: maybe-clean-recode clean-recode
20499 maybe-clean-recode:
20500 @if recode
20501 maybe-clean-recode: clean-recode
20503 clean-recode:
20504 @[ -f ./recode/Makefile ] || exit 0; \
20505 r=`${PWD_COMMAND}`; export r; \
20506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20507 $(HOST_EXPORTS) \
20508 for flag in $(EXTRA_HOST_FLAGS) ; do \
20509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20510 done; \
20511 echo "Doing clean in recode" ; \
20512 (cd $(HOST_SUBDIR)/recode && \
20513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20515 "RANLIB=$${RANLIB}" \
20516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20517 clean) \
20518 || exit 1
20520 @endif recode
20522 .PHONY: maybe-distclean-recode distclean-recode
20523 maybe-distclean-recode:
20524 @if recode
20525 maybe-distclean-recode: distclean-recode
20527 distclean-recode:
20528 @[ -f ./recode/Makefile ] || exit 0; \
20529 r=`${PWD_COMMAND}`; export r; \
20530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20531 $(HOST_EXPORTS) \
20532 for flag in $(EXTRA_HOST_FLAGS) ; do \
20533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20534 done; \
20535 echo "Doing distclean in recode" ; \
20536 (cd $(HOST_SUBDIR)/recode && \
20537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20539 "RANLIB=$${RANLIB}" \
20540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20541 distclean) \
20542 || exit 1
20544 @endif recode
20546 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
20547 maybe-maintainer-clean-recode:
20548 @if recode
20549 maybe-maintainer-clean-recode: maintainer-clean-recode
20551 maintainer-clean-recode:
20552 @[ -f ./recode/Makefile ] || exit 0; \
20553 r=`${PWD_COMMAND}`; export r; \
20554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20555 $(HOST_EXPORTS) \
20556 for flag in $(EXTRA_HOST_FLAGS) ; do \
20557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20558 done; \
20559 echo "Doing maintainer-clean in recode" ; \
20560 (cd $(HOST_SUBDIR)/recode && \
20561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20563 "RANLIB=$${RANLIB}" \
20564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20565 maintainer-clean) \
20566 || exit 1
20568 @endif recode
20572 .PHONY: configure-sed maybe-configure-sed
20573 maybe-configure-sed:
20574 @if sed
20575 maybe-configure-sed: configure-sed
20576 configure-sed:
20577 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
20578 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
20579 r=`${PWD_COMMAND}`; export r; \
20580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20581 $(HOST_EXPORTS) \
20582 echo Configuring in $(HOST_SUBDIR)/sed; \
20583 cd "$(HOST_SUBDIR)/sed" || exit 1; \
20584 case $(srcdir) in \
20585 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20586 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
20587 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20588 esac; \
20589 srcdiroption="--srcdir=$${topdir}/sed"; \
20590 libsrcdir="$$s/sed"; \
20591 $(SHELL) $${libsrcdir}/configure \
20592 $(HOST_CONFIGARGS) $${srcdiroption} \
20593 || exit 1
20594 @endif sed
20600 .PHONY: all-sed maybe-all-sed
20601 maybe-all-sed:
20602 @if sed
20603 TARGET-sed=all
20604 maybe-all-sed: all-sed
20605 all-sed: configure-sed
20606 @r=`${PWD_COMMAND}`; export r; \
20607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20608 $(HOST_EXPORTS) \
20609 (cd $(HOST_SUBDIR)/sed && \
20610 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
20611 @endif sed
20616 .PHONY: check-sed maybe-check-sed
20617 maybe-check-sed:
20618 @if sed
20619 maybe-check-sed: check-sed
20621 check-sed:
20622 @r=`${PWD_COMMAND}`; export r; \
20623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20624 $(HOST_EXPORTS) \
20625 (cd $(HOST_SUBDIR)/sed && \
20626 $(MAKE) $(FLAGS_TO_PASS) check)
20628 @endif sed
20630 .PHONY: install-sed maybe-install-sed
20631 maybe-install-sed:
20632 @if sed
20633 maybe-install-sed: install-sed
20635 install-sed: installdirs
20636 @r=`${PWD_COMMAND}`; export r; \
20637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20638 $(HOST_EXPORTS) \
20639 (cd $(HOST_SUBDIR)/sed && \
20640 $(MAKE) $(FLAGS_TO_PASS) install)
20642 @endif sed
20644 # Other targets (info, dvi, etc.)
20646 .PHONY: maybe-info-sed info-sed
20647 maybe-info-sed:
20648 @if sed
20649 maybe-info-sed: info-sed
20651 info-sed: \
20652 configure-sed
20653 @[ -f ./sed/Makefile ] || exit 0; \
20654 r=`${PWD_COMMAND}`; export r; \
20655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20656 $(HOST_EXPORTS) \
20657 for flag in $(EXTRA_HOST_FLAGS) ; do \
20658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20659 done; \
20660 echo "Doing info in sed" ; \
20661 (cd $(HOST_SUBDIR)/sed && \
20662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20664 "RANLIB=$${RANLIB}" \
20665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20666 info) \
20667 || exit 1
20669 @endif sed
20671 .PHONY: maybe-dvi-sed dvi-sed
20672 maybe-dvi-sed:
20673 @if sed
20674 maybe-dvi-sed: dvi-sed
20676 dvi-sed: \
20677 configure-sed
20678 @[ -f ./sed/Makefile ] || exit 0; \
20679 r=`${PWD_COMMAND}`; export r; \
20680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20681 $(HOST_EXPORTS) \
20682 for flag in $(EXTRA_HOST_FLAGS) ; do \
20683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20684 done; \
20685 echo "Doing dvi in sed" ; \
20686 (cd $(HOST_SUBDIR)/sed && \
20687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20689 "RANLIB=$${RANLIB}" \
20690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20691 dvi) \
20692 || exit 1
20694 @endif sed
20696 .PHONY: maybe-html-sed html-sed
20697 maybe-html-sed:
20698 @if sed
20699 maybe-html-sed: html-sed
20701 html-sed: \
20702 configure-sed
20703 @[ -f ./sed/Makefile ] || exit 0; \
20704 r=`${PWD_COMMAND}`; export r; \
20705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20706 $(HOST_EXPORTS) \
20707 for flag in $(EXTRA_HOST_FLAGS) ; do \
20708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20709 done; \
20710 echo "Doing html in sed" ; \
20711 (cd $(HOST_SUBDIR)/sed && \
20712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20714 "RANLIB=$${RANLIB}" \
20715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20716 html) \
20717 || exit 1
20719 @endif sed
20721 .PHONY: maybe-TAGS-sed TAGS-sed
20722 maybe-TAGS-sed:
20723 @if sed
20724 maybe-TAGS-sed: TAGS-sed
20726 TAGS-sed: \
20727 configure-sed
20728 @[ -f ./sed/Makefile ] || exit 0; \
20729 r=`${PWD_COMMAND}`; export r; \
20730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20731 $(HOST_EXPORTS) \
20732 for flag in $(EXTRA_HOST_FLAGS) ; do \
20733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20734 done; \
20735 echo "Doing TAGS in sed" ; \
20736 (cd $(HOST_SUBDIR)/sed && \
20737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20739 "RANLIB=$${RANLIB}" \
20740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20741 TAGS) \
20742 || exit 1
20744 @endif sed
20746 .PHONY: maybe-install-info-sed install-info-sed
20747 maybe-install-info-sed:
20748 @if sed
20749 maybe-install-info-sed: install-info-sed
20751 install-info-sed: \
20752 configure-sed \
20753 info-sed
20754 @[ -f ./sed/Makefile ] || exit 0; \
20755 r=`${PWD_COMMAND}`; export r; \
20756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20757 $(HOST_EXPORTS) \
20758 for flag in $(EXTRA_HOST_FLAGS) ; do \
20759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20760 done; \
20761 echo "Doing install-info in sed" ; \
20762 (cd $(HOST_SUBDIR)/sed && \
20763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20765 "RANLIB=$${RANLIB}" \
20766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20767 install-info) \
20768 || exit 1
20770 @endif sed
20772 .PHONY: maybe-installcheck-sed installcheck-sed
20773 maybe-installcheck-sed:
20774 @if sed
20775 maybe-installcheck-sed: installcheck-sed
20777 installcheck-sed: \
20778 configure-sed
20779 @[ -f ./sed/Makefile ] || exit 0; \
20780 r=`${PWD_COMMAND}`; export r; \
20781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20782 $(HOST_EXPORTS) \
20783 for flag in $(EXTRA_HOST_FLAGS) ; do \
20784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20785 done; \
20786 echo "Doing installcheck in sed" ; \
20787 (cd $(HOST_SUBDIR)/sed && \
20788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20790 "RANLIB=$${RANLIB}" \
20791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20792 installcheck) \
20793 || exit 1
20795 @endif sed
20797 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
20798 maybe-mostlyclean-sed:
20799 @if sed
20800 maybe-mostlyclean-sed: mostlyclean-sed
20802 mostlyclean-sed:
20803 @[ -f ./sed/Makefile ] || exit 0; \
20804 r=`${PWD_COMMAND}`; export r; \
20805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20806 $(HOST_EXPORTS) \
20807 for flag in $(EXTRA_HOST_FLAGS) ; do \
20808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20809 done; \
20810 echo "Doing mostlyclean in sed" ; \
20811 (cd $(HOST_SUBDIR)/sed && \
20812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20814 "RANLIB=$${RANLIB}" \
20815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20816 mostlyclean) \
20817 || exit 1
20819 @endif sed
20821 .PHONY: maybe-clean-sed clean-sed
20822 maybe-clean-sed:
20823 @if sed
20824 maybe-clean-sed: clean-sed
20826 clean-sed:
20827 @[ -f ./sed/Makefile ] || exit 0; \
20828 r=`${PWD_COMMAND}`; export r; \
20829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20830 $(HOST_EXPORTS) \
20831 for flag in $(EXTRA_HOST_FLAGS) ; do \
20832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20833 done; \
20834 echo "Doing clean in sed" ; \
20835 (cd $(HOST_SUBDIR)/sed && \
20836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20838 "RANLIB=$${RANLIB}" \
20839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20840 clean) \
20841 || exit 1
20843 @endif sed
20845 .PHONY: maybe-distclean-sed distclean-sed
20846 maybe-distclean-sed:
20847 @if sed
20848 maybe-distclean-sed: distclean-sed
20850 distclean-sed:
20851 @[ -f ./sed/Makefile ] || exit 0; \
20852 r=`${PWD_COMMAND}`; export r; \
20853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20854 $(HOST_EXPORTS) \
20855 for flag in $(EXTRA_HOST_FLAGS) ; do \
20856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20857 done; \
20858 echo "Doing distclean in sed" ; \
20859 (cd $(HOST_SUBDIR)/sed && \
20860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20862 "RANLIB=$${RANLIB}" \
20863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20864 distclean) \
20865 || exit 1
20867 @endif sed
20869 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
20870 maybe-maintainer-clean-sed:
20871 @if sed
20872 maybe-maintainer-clean-sed: maintainer-clean-sed
20874 maintainer-clean-sed:
20875 @[ -f ./sed/Makefile ] || exit 0; \
20876 r=`${PWD_COMMAND}`; export r; \
20877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20878 $(HOST_EXPORTS) \
20879 for flag in $(EXTRA_HOST_FLAGS) ; do \
20880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20881 done; \
20882 echo "Doing maintainer-clean in sed" ; \
20883 (cd $(HOST_SUBDIR)/sed && \
20884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20886 "RANLIB=$${RANLIB}" \
20887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20888 maintainer-clean) \
20889 || exit 1
20891 @endif sed
20895 .PHONY: configure-send-pr maybe-configure-send-pr
20896 maybe-configure-send-pr:
20897 @if send-pr
20898 maybe-configure-send-pr: configure-send-pr
20899 configure-send-pr:
20900 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
20901 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
20902 r=`${PWD_COMMAND}`; export r; \
20903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20904 $(HOST_EXPORTS) \
20905 echo Configuring in $(HOST_SUBDIR)/send-pr; \
20906 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
20907 case $(srcdir) in \
20908 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20909 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
20910 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20911 esac; \
20912 srcdiroption="--srcdir=$${topdir}/send-pr"; \
20913 libsrcdir="$$s/send-pr"; \
20914 $(SHELL) $${libsrcdir}/configure \
20915 $(HOST_CONFIGARGS) $${srcdiroption} \
20916 || exit 1
20917 @endif send-pr
20923 .PHONY: all-send-pr maybe-all-send-pr
20924 maybe-all-send-pr:
20925 @if send-pr
20926 TARGET-send-pr=all
20927 maybe-all-send-pr: all-send-pr
20928 all-send-pr: configure-send-pr
20929 @r=`${PWD_COMMAND}`; export r; \
20930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20931 $(HOST_EXPORTS) \
20932 (cd $(HOST_SUBDIR)/send-pr && \
20933 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
20934 @endif send-pr
20939 .PHONY: check-send-pr maybe-check-send-pr
20940 maybe-check-send-pr:
20941 @if send-pr
20942 maybe-check-send-pr: check-send-pr
20944 check-send-pr:
20945 @r=`${PWD_COMMAND}`; export r; \
20946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20947 $(HOST_EXPORTS) \
20948 (cd $(HOST_SUBDIR)/send-pr && \
20949 $(MAKE) $(FLAGS_TO_PASS) check)
20951 @endif send-pr
20953 .PHONY: install-send-pr maybe-install-send-pr
20954 maybe-install-send-pr:
20955 @if send-pr
20956 maybe-install-send-pr: install-send-pr
20958 install-send-pr: installdirs
20959 @r=`${PWD_COMMAND}`; export r; \
20960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20961 $(HOST_EXPORTS) \
20962 (cd $(HOST_SUBDIR)/send-pr && \
20963 $(MAKE) $(FLAGS_TO_PASS) install)
20965 @endif send-pr
20967 # Other targets (info, dvi, etc.)
20969 .PHONY: maybe-info-send-pr info-send-pr
20970 maybe-info-send-pr:
20971 @if send-pr
20972 maybe-info-send-pr: info-send-pr
20974 info-send-pr: \
20975 configure-send-pr
20976 @[ -f ./send-pr/Makefile ] || exit 0; \
20977 r=`${PWD_COMMAND}`; export r; \
20978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20979 $(HOST_EXPORTS) \
20980 for flag in $(EXTRA_HOST_FLAGS) ; do \
20981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 done; \
20983 echo "Doing info in send-pr" ; \
20984 (cd $(HOST_SUBDIR)/send-pr && \
20985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20987 "RANLIB=$${RANLIB}" \
20988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20989 info) \
20990 || exit 1
20992 @endif send-pr
20994 .PHONY: maybe-dvi-send-pr dvi-send-pr
20995 maybe-dvi-send-pr:
20996 @if send-pr
20997 maybe-dvi-send-pr: dvi-send-pr
20999 dvi-send-pr: \
21000 configure-send-pr
21001 @[ -f ./send-pr/Makefile ] || exit 0; \
21002 r=`${PWD_COMMAND}`; export r; \
21003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21004 $(HOST_EXPORTS) \
21005 for flag in $(EXTRA_HOST_FLAGS) ; do \
21006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 done; \
21008 echo "Doing dvi in send-pr" ; \
21009 (cd $(HOST_SUBDIR)/send-pr && \
21010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21012 "RANLIB=$${RANLIB}" \
21013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21014 dvi) \
21015 || exit 1
21017 @endif send-pr
21019 .PHONY: maybe-html-send-pr html-send-pr
21020 maybe-html-send-pr:
21021 @if send-pr
21022 maybe-html-send-pr: html-send-pr
21024 html-send-pr: \
21025 configure-send-pr
21026 @[ -f ./send-pr/Makefile ] || exit 0; \
21027 r=`${PWD_COMMAND}`; export r; \
21028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21029 $(HOST_EXPORTS) \
21030 for flag in $(EXTRA_HOST_FLAGS) ; do \
21031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 done; \
21033 echo "Doing html in send-pr" ; \
21034 (cd $(HOST_SUBDIR)/send-pr && \
21035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21037 "RANLIB=$${RANLIB}" \
21038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21039 html) \
21040 || exit 1
21042 @endif send-pr
21044 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21045 maybe-TAGS-send-pr:
21046 @if send-pr
21047 maybe-TAGS-send-pr: TAGS-send-pr
21049 TAGS-send-pr: \
21050 configure-send-pr
21051 @[ -f ./send-pr/Makefile ] || exit 0; \
21052 r=`${PWD_COMMAND}`; export r; \
21053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21054 $(HOST_EXPORTS) \
21055 for flag in $(EXTRA_HOST_FLAGS) ; do \
21056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21057 done; \
21058 echo "Doing TAGS in send-pr" ; \
21059 (cd $(HOST_SUBDIR)/send-pr && \
21060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21062 "RANLIB=$${RANLIB}" \
21063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21064 TAGS) \
21065 || exit 1
21067 @endif send-pr
21069 .PHONY: maybe-install-info-send-pr install-info-send-pr
21070 maybe-install-info-send-pr:
21071 @if send-pr
21072 maybe-install-info-send-pr: install-info-send-pr
21074 install-info-send-pr: \
21075 configure-send-pr \
21076 info-send-pr
21077 @[ -f ./send-pr/Makefile ] || exit 0; \
21078 r=`${PWD_COMMAND}`; export r; \
21079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21080 $(HOST_EXPORTS) \
21081 for flag in $(EXTRA_HOST_FLAGS) ; do \
21082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21083 done; \
21084 echo "Doing install-info in send-pr" ; \
21085 (cd $(HOST_SUBDIR)/send-pr && \
21086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21088 "RANLIB=$${RANLIB}" \
21089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21090 install-info) \
21091 || exit 1
21093 @endif send-pr
21095 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21096 maybe-installcheck-send-pr:
21097 @if send-pr
21098 maybe-installcheck-send-pr: installcheck-send-pr
21100 installcheck-send-pr: \
21101 configure-send-pr
21102 @[ -f ./send-pr/Makefile ] || exit 0; \
21103 r=`${PWD_COMMAND}`; export r; \
21104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 $(HOST_EXPORTS) \
21106 for flag in $(EXTRA_HOST_FLAGS) ; do \
21107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21108 done; \
21109 echo "Doing installcheck in send-pr" ; \
21110 (cd $(HOST_SUBDIR)/send-pr && \
21111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21113 "RANLIB=$${RANLIB}" \
21114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21115 installcheck) \
21116 || exit 1
21118 @endif send-pr
21120 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
21121 maybe-mostlyclean-send-pr:
21122 @if send-pr
21123 maybe-mostlyclean-send-pr: mostlyclean-send-pr
21125 mostlyclean-send-pr:
21126 @[ -f ./send-pr/Makefile ] || exit 0; \
21127 r=`${PWD_COMMAND}`; export r; \
21128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 $(HOST_EXPORTS) \
21130 for flag in $(EXTRA_HOST_FLAGS) ; do \
21131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21132 done; \
21133 echo "Doing mostlyclean in send-pr" ; \
21134 (cd $(HOST_SUBDIR)/send-pr && \
21135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21137 "RANLIB=$${RANLIB}" \
21138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21139 mostlyclean) \
21140 || exit 1
21142 @endif send-pr
21144 .PHONY: maybe-clean-send-pr clean-send-pr
21145 maybe-clean-send-pr:
21146 @if send-pr
21147 maybe-clean-send-pr: clean-send-pr
21149 clean-send-pr:
21150 @[ -f ./send-pr/Makefile ] || exit 0; \
21151 r=`${PWD_COMMAND}`; export r; \
21152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21153 $(HOST_EXPORTS) \
21154 for flag in $(EXTRA_HOST_FLAGS) ; do \
21155 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21156 done; \
21157 echo "Doing clean in send-pr" ; \
21158 (cd $(HOST_SUBDIR)/send-pr && \
21159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21161 "RANLIB=$${RANLIB}" \
21162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21163 clean) \
21164 || exit 1
21166 @endif send-pr
21168 .PHONY: maybe-distclean-send-pr distclean-send-pr
21169 maybe-distclean-send-pr:
21170 @if send-pr
21171 maybe-distclean-send-pr: distclean-send-pr
21173 distclean-send-pr:
21174 @[ -f ./send-pr/Makefile ] || exit 0; \
21175 r=`${PWD_COMMAND}`; export r; \
21176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21177 $(HOST_EXPORTS) \
21178 for flag in $(EXTRA_HOST_FLAGS) ; do \
21179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21180 done; \
21181 echo "Doing distclean in send-pr" ; \
21182 (cd $(HOST_SUBDIR)/send-pr && \
21183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21185 "RANLIB=$${RANLIB}" \
21186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21187 distclean) \
21188 || exit 1
21190 @endif send-pr
21192 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
21193 maybe-maintainer-clean-send-pr:
21194 @if send-pr
21195 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
21197 maintainer-clean-send-pr:
21198 @[ -f ./send-pr/Makefile ] || exit 0; \
21199 r=`${PWD_COMMAND}`; export r; \
21200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21201 $(HOST_EXPORTS) \
21202 for flag in $(EXTRA_HOST_FLAGS) ; do \
21203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21204 done; \
21205 echo "Doing maintainer-clean in send-pr" ; \
21206 (cd $(HOST_SUBDIR)/send-pr && \
21207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21209 "RANLIB=$${RANLIB}" \
21210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21211 maintainer-clean) \
21212 || exit 1
21214 @endif send-pr
21218 .PHONY: configure-shellutils maybe-configure-shellutils
21219 maybe-configure-shellutils:
21220 @if shellutils
21221 maybe-configure-shellutils: configure-shellutils
21222 configure-shellutils:
21223 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
21224 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
21225 r=`${PWD_COMMAND}`; export r; \
21226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21227 $(HOST_EXPORTS) \
21228 echo Configuring in $(HOST_SUBDIR)/shellutils; \
21229 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
21230 case $(srcdir) in \
21231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21232 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
21233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21234 esac; \
21235 srcdiroption="--srcdir=$${topdir}/shellutils"; \
21236 libsrcdir="$$s/shellutils"; \
21237 $(SHELL) $${libsrcdir}/configure \
21238 $(HOST_CONFIGARGS) $${srcdiroption} \
21239 || exit 1
21240 @endif shellutils
21246 .PHONY: all-shellutils maybe-all-shellutils
21247 maybe-all-shellutils:
21248 @if shellutils
21249 TARGET-shellutils=all
21250 maybe-all-shellutils: all-shellutils
21251 all-shellutils: configure-shellutils
21252 @r=`${PWD_COMMAND}`; export r; \
21253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21254 $(HOST_EXPORTS) \
21255 (cd $(HOST_SUBDIR)/shellutils && \
21256 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
21257 @endif shellutils
21262 .PHONY: check-shellutils maybe-check-shellutils
21263 maybe-check-shellutils:
21264 @if shellutils
21265 maybe-check-shellutils: check-shellutils
21267 check-shellutils:
21268 @r=`${PWD_COMMAND}`; export r; \
21269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21270 $(HOST_EXPORTS) \
21271 (cd $(HOST_SUBDIR)/shellutils && \
21272 $(MAKE) $(FLAGS_TO_PASS) check)
21274 @endif shellutils
21276 .PHONY: install-shellutils maybe-install-shellutils
21277 maybe-install-shellutils:
21278 @if shellutils
21279 maybe-install-shellutils: install-shellutils
21281 install-shellutils: installdirs
21282 @r=`${PWD_COMMAND}`; export r; \
21283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21284 $(HOST_EXPORTS) \
21285 (cd $(HOST_SUBDIR)/shellutils && \
21286 $(MAKE) $(FLAGS_TO_PASS) install)
21288 @endif shellutils
21290 # Other targets (info, dvi, etc.)
21292 .PHONY: maybe-info-shellutils info-shellutils
21293 maybe-info-shellutils:
21294 @if shellutils
21295 maybe-info-shellutils: info-shellutils
21297 info-shellutils: \
21298 configure-shellutils
21299 @[ -f ./shellutils/Makefile ] || exit 0; \
21300 r=`${PWD_COMMAND}`; export r; \
21301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21302 $(HOST_EXPORTS) \
21303 for flag in $(EXTRA_HOST_FLAGS) ; do \
21304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21305 done; \
21306 echo "Doing info in shellutils" ; \
21307 (cd $(HOST_SUBDIR)/shellutils && \
21308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21310 "RANLIB=$${RANLIB}" \
21311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21312 info) \
21313 || exit 1
21315 @endif shellutils
21317 .PHONY: maybe-dvi-shellutils dvi-shellutils
21318 maybe-dvi-shellutils:
21319 @if shellutils
21320 maybe-dvi-shellutils: dvi-shellutils
21322 dvi-shellutils: \
21323 configure-shellutils
21324 @[ -f ./shellutils/Makefile ] || exit 0; \
21325 r=`${PWD_COMMAND}`; export r; \
21326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21327 $(HOST_EXPORTS) \
21328 for flag in $(EXTRA_HOST_FLAGS) ; do \
21329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21330 done; \
21331 echo "Doing dvi in shellutils" ; \
21332 (cd $(HOST_SUBDIR)/shellutils && \
21333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21335 "RANLIB=$${RANLIB}" \
21336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21337 dvi) \
21338 || exit 1
21340 @endif shellutils
21342 .PHONY: maybe-html-shellutils html-shellutils
21343 maybe-html-shellutils:
21344 @if shellutils
21345 maybe-html-shellutils: html-shellutils
21347 html-shellutils: \
21348 configure-shellutils
21349 @[ -f ./shellutils/Makefile ] || exit 0; \
21350 r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352 $(HOST_EXPORTS) \
21353 for flag in $(EXTRA_HOST_FLAGS) ; do \
21354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21355 done; \
21356 echo "Doing html in shellutils" ; \
21357 (cd $(HOST_SUBDIR)/shellutils && \
21358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21360 "RANLIB=$${RANLIB}" \
21361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21362 html) \
21363 || exit 1
21365 @endif shellutils
21367 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
21368 maybe-TAGS-shellutils:
21369 @if shellutils
21370 maybe-TAGS-shellutils: TAGS-shellutils
21372 TAGS-shellutils: \
21373 configure-shellutils
21374 @[ -f ./shellutils/Makefile ] || exit 0; \
21375 r=`${PWD_COMMAND}`; export r; \
21376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 $(HOST_EXPORTS) \
21378 for flag in $(EXTRA_HOST_FLAGS) ; do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380 done; \
21381 echo "Doing TAGS in shellutils" ; \
21382 (cd $(HOST_SUBDIR)/shellutils && \
21383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21385 "RANLIB=$${RANLIB}" \
21386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21387 TAGS) \
21388 || exit 1
21390 @endif shellutils
21392 .PHONY: maybe-install-info-shellutils install-info-shellutils
21393 maybe-install-info-shellutils:
21394 @if shellutils
21395 maybe-install-info-shellutils: install-info-shellutils
21397 install-info-shellutils: \
21398 configure-shellutils \
21399 info-shellutils
21400 @[ -f ./shellutils/Makefile ] || exit 0; \
21401 r=`${PWD_COMMAND}`; export r; \
21402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21403 $(HOST_EXPORTS) \
21404 for flag in $(EXTRA_HOST_FLAGS) ; do \
21405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21406 done; \
21407 echo "Doing install-info in shellutils" ; \
21408 (cd $(HOST_SUBDIR)/shellutils && \
21409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21411 "RANLIB=$${RANLIB}" \
21412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21413 install-info) \
21414 || exit 1
21416 @endif shellutils
21418 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
21419 maybe-installcheck-shellutils:
21420 @if shellutils
21421 maybe-installcheck-shellutils: installcheck-shellutils
21423 installcheck-shellutils: \
21424 configure-shellutils
21425 @[ -f ./shellutils/Makefile ] || exit 0; \
21426 r=`${PWD_COMMAND}`; export r; \
21427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21428 $(HOST_EXPORTS) \
21429 for flag in $(EXTRA_HOST_FLAGS) ; do \
21430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21431 done; \
21432 echo "Doing installcheck in shellutils" ; \
21433 (cd $(HOST_SUBDIR)/shellutils && \
21434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21436 "RANLIB=$${RANLIB}" \
21437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21438 installcheck) \
21439 || exit 1
21441 @endif shellutils
21443 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
21444 maybe-mostlyclean-shellutils:
21445 @if shellutils
21446 maybe-mostlyclean-shellutils: mostlyclean-shellutils
21448 mostlyclean-shellutils:
21449 @[ -f ./shellutils/Makefile ] || exit 0; \
21450 r=`${PWD_COMMAND}`; export r; \
21451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21452 $(HOST_EXPORTS) \
21453 for flag in $(EXTRA_HOST_FLAGS) ; do \
21454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21455 done; \
21456 echo "Doing mostlyclean in shellutils" ; \
21457 (cd $(HOST_SUBDIR)/shellutils && \
21458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21460 "RANLIB=$${RANLIB}" \
21461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21462 mostlyclean) \
21463 || exit 1
21465 @endif shellutils
21467 .PHONY: maybe-clean-shellutils clean-shellutils
21468 maybe-clean-shellutils:
21469 @if shellutils
21470 maybe-clean-shellutils: clean-shellutils
21472 clean-shellutils:
21473 @[ -f ./shellutils/Makefile ] || exit 0; \
21474 r=`${PWD_COMMAND}`; export r; \
21475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21476 $(HOST_EXPORTS) \
21477 for flag in $(EXTRA_HOST_FLAGS) ; do \
21478 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21479 done; \
21480 echo "Doing clean in shellutils" ; \
21481 (cd $(HOST_SUBDIR)/shellutils && \
21482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21484 "RANLIB=$${RANLIB}" \
21485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21486 clean) \
21487 || exit 1
21489 @endif shellutils
21491 .PHONY: maybe-distclean-shellutils distclean-shellutils
21492 maybe-distclean-shellutils:
21493 @if shellutils
21494 maybe-distclean-shellutils: distclean-shellutils
21496 distclean-shellutils:
21497 @[ -f ./shellutils/Makefile ] || exit 0; \
21498 r=`${PWD_COMMAND}`; export r; \
21499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21500 $(HOST_EXPORTS) \
21501 for flag in $(EXTRA_HOST_FLAGS) ; do \
21502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21503 done; \
21504 echo "Doing distclean in shellutils" ; \
21505 (cd $(HOST_SUBDIR)/shellutils && \
21506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21508 "RANLIB=$${RANLIB}" \
21509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21510 distclean) \
21511 || exit 1
21513 @endif shellutils
21515 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
21516 maybe-maintainer-clean-shellutils:
21517 @if shellutils
21518 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
21520 maintainer-clean-shellutils:
21521 @[ -f ./shellutils/Makefile ] || exit 0; \
21522 r=`${PWD_COMMAND}`; export r; \
21523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21524 $(HOST_EXPORTS) \
21525 for flag in $(EXTRA_HOST_FLAGS) ; do \
21526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21527 done; \
21528 echo "Doing maintainer-clean in shellutils" ; \
21529 (cd $(HOST_SUBDIR)/shellutils && \
21530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21532 "RANLIB=$${RANLIB}" \
21533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21534 maintainer-clean) \
21535 || exit 1
21537 @endif shellutils
21541 .PHONY: configure-sid maybe-configure-sid
21542 maybe-configure-sid:
21543 @if sid
21544 maybe-configure-sid: configure-sid
21545 configure-sid:
21546 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
21547 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
21548 r=`${PWD_COMMAND}`; export r; \
21549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21550 $(HOST_EXPORTS) \
21551 echo Configuring in $(HOST_SUBDIR)/sid; \
21552 cd "$(HOST_SUBDIR)/sid" || exit 1; \
21553 case $(srcdir) in \
21554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21555 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
21556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21557 esac; \
21558 srcdiroption="--srcdir=$${topdir}/sid"; \
21559 libsrcdir="$$s/sid"; \
21560 $(SHELL) $${libsrcdir}/configure \
21561 $(HOST_CONFIGARGS) $${srcdiroption} \
21562 || exit 1
21563 @endif sid
21569 .PHONY: all-sid maybe-all-sid
21570 maybe-all-sid:
21571 @if sid
21572 TARGET-sid=all
21573 maybe-all-sid: all-sid
21574 all-sid: configure-sid
21575 @r=`${PWD_COMMAND}`; export r; \
21576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21577 $(HOST_EXPORTS) \
21578 (cd $(HOST_SUBDIR)/sid && \
21579 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
21580 @endif sid
21585 .PHONY: check-sid maybe-check-sid
21586 maybe-check-sid:
21587 @if sid
21588 maybe-check-sid: check-sid
21590 check-sid:
21591 @r=`${PWD_COMMAND}`; export r; \
21592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21593 $(HOST_EXPORTS) \
21594 (cd $(HOST_SUBDIR)/sid && \
21595 $(MAKE) $(FLAGS_TO_PASS) check)
21597 @endif sid
21599 .PHONY: install-sid maybe-install-sid
21600 maybe-install-sid:
21601 @if sid
21602 maybe-install-sid: install-sid
21604 install-sid: installdirs
21605 @r=`${PWD_COMMAND}`; export r; \
21606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21607 $(HOST_EXPORTS) \
21608 (cd $(HOST_SUBDIR)/sid && \
21609 $(MAKE) $(FLAGS_TO_PASS) install)
21611 @endif sid
21613 # Other targets (info, dvi, etc.)
21615 .PHONY: maybe-info-sid info-sid
21616 maybe-info-sid:
21617 @if sid
21618 maybe-info-sid: info-sid
21620 info-sid: \
21621 configure-sid
21622 @[ -f ./sid/Makefile ] || exit 0; \
21623 r=`${PWD_COMMAND}`; export r; \
21624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21625 $(HOST_EXPORTS) \
21626 for flag in $(EXTRA_HOST_FLAGS) ; do \
21627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21628 done; \
21629 echo "Doing info in sid" ; \
21630 (cd $(HOST_SUBDIR)/sid && \
21631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21633 "RANLIB=$${RANLIB}" \
21634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21635 info) \
21636 || exit 1
21638 @endif sid
21640 .PHONY: maybe-dvi-sid dvi-sid
21641 maybe-dvi-sid:
21642 @if sid
21643 maybe-dvi-sid: dvi-sid
21645 dvi-sid: \
21646 configure-sid
21647 @[ -f ./sid/Makefile ] || exit 0; \
21648 r=`${PWD_COMMAND}`; export r; \
21649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21650 $(HOST_EXPORTS) \
21651 for flag in $(EXTRA_HOST_FLAGS) ; do \
21652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21653 done; \
21654 echo "Doing dvi in sid" ; \
21655 (cd $(HOST_SUBDIR)/sid && \
21656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21658 "RANLIB=$${RANLIB}" \
21659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21660 dvi) \
21661 || exit 1
21663 @endif sid
21665 .PHONY: maybe-html-sid html-sid
21666 maybe-html-sid:
21667 @if sid
21668 maybe-html-sid: html-sid
21670 html-sid: \
21671 configure-sid
21672 @[ -f ./sid/Makefile ] || exit 0; \
21673 r=`${PWD_COMMAND}`; export r; \
21674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21675 $(HOST_EXPORTS) \
21676 for flag in $(EXTRA_HOST_FLAGS) ; do \
21677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21678 done; \
21679 echo "Doing html in sid" ; \
21680 (cd $(HOST_SUBDIR)/sid && \
21681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21683 "RANLIB=$${RANLIB}" \
21684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21685 html) \
21686 || exit 1
21688 @endif sid
21690 .PHONY: maybe-TAGS-sid TAGS-sid
21691 maybe-TAGS-sid:
21692 @if sid
21693 maybe-TAGS-sid: TAGS-sid
21695 TAGS-sid: \
21696 configure-sid
21697 @[ -f ./sid/Makefile ] || exit 0; \
21698 r=`${PWD_COMMAND}`; export r; \
21699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21700 $(HOST_EXPORTS) \
21701 for flag in $(EXTRA_HOST_FLAGS) ; do \
21702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21703 done; \
21704 echo "Doing TAGS in sid" ; \
21705 (cd $(HOST_SUBDIR)/sid && \
21706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21708 "RANLIB=$${RANLIB}" \
21709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21710 TAGS) \
21711 || exit 1
21713 @endif sid
21715 .PHONY: maybe-install-info-sid install-info-sid
21716 maybe-install-info-sid:
21717 @if sid
21718 maybe-install-info-sid: install-info-sid
21720 install-info-sid: \
21721 configure-sid \
21722 info-sid
21723 @[ -f ./sid/Makefile ] || exit 0; \
21724 r=`${PWD_COMMAND}`; export r; \
21725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21726 $(HOST_EXPORTS) \
21727 for flag in $(EXTRA_HOST_FLAGS) ; do \
21728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21729 done; \
21730 echo "Doing install-info in sid" ; \
21731 (cd $(HOST_SUBDIR)/sid && \
21732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21734 "RANLIB=$${RANLIB}" \
21735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21736 install-info) \
21737 || exit 1
21739 @endif sid
21741 .PHONY: maybe-installcheck-sid installcheck-sid
21742 maybe-installcheck-sid:
21743 @if sid
21744 maybe-installcheck-sid: installcheck-sid
21746 installcheck-sid: \
21747 configure-sid
21748 @[ -f ./sid/Makefile ] || exit 0; \
21749 r=`${PWD_COMMAND}`; export r; \
21750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21751 $(HOST_EXPORTS) \
21752 for flag in $(EXTRA_HOST_FLAGS) ; do \
21753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21754 done; \
21755 echo "Doing installcheck in sid" ; \
21756 (cd $(HOST_SUBDIR)/sid && \
21757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21759 "RANLIB=$${RANLIB}" \
21760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21761 installcheck) \
21762 || exit 1
21764 @endif sid
21766 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
21767 maybe-mostlyclean-sid:
21768 @if sid
21769 maybe-mostlyclean-sid: mostlyclean-sid
21771 mostlyclean-sid:
21772 @[ -f ./sid/Makefile ] || exit 0; \
21773 r=`${PWD_COMMAND}`; export r; \
21774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21775 $(HOST_EXPORTS) \
21776 for flag in $(EXTRA_HOST_FLAGS) ; do \
21777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21778 done; \
21779 echo "Doing mostlyclean in sid" ; \
21780 (cd $(HOST_SUBDIR)/sid && \
21781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21783 "RANLIB=$${RANLIB}" \
21784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21785 mostlyclean) \
21786 || exit 1
21788 @endif sid
21790 .PHONY: maybe-clean-sid clean-sid
21791 maybe-clean-sid:
21792 @if sid
21793 maybe-clean-sid: clean-sid
21795 clean-sid:
21796 @[ -f ./sid/Makefile ] || exit 0; \
21797 r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 $(HOST_EXPORTS) \
21800 for flag in $(EXTRA_HOST_FLAGS) ; do \
21801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21802 done; \
21803 echo "Doing clean in sid" ; \
21804 (cd $(HOST_SUBDIR)/sid && \
21805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21807 "RANLIB=$${RANLIB}" \
21808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21809 clean) \
21810 || exit 1
21812 @endif sid
21814 .PHONY: maybe-distclean-sid distclean-sid
21815 maybe-distclean-sid:
21816 @if sid
21817 maybe-distclean-sid: distclean-sid
21819 distclean-sid:
21820 @[ -f ./sid/Makefile ] || exit 0; \
21821 r=`${PWD_COMMAND}`; export r; \
21822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21823 $(HOST_EXPORTS) \
21824 for flag in $(EXTRA_HOST_FLAGS) ; do \
21825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21826 done; \
21827 echo "Doing distclean in sid" ; \
21828 (cd $(HOST_SUBDIR)/sid && \
21829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21831 "RANLIB=$${RANLIB}" \
21832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21833 distclean) \
21834 || exit 1
21836 @endif sid
21838 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
21839 maybe-maintainer-clean-sid:
21840 @if sid
21841 maybe-maintainer-clean-sid: maintainer-clean-sid
21843 maintainer-clean-sid:
21844 @[ -f ./sid/Makefile ] || exit 0; \
21845 r=`${PWD_COMMAND}`; export r; \
21846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21847 $(HOST_EXPORTS) \
21848 for flag in $(EXTRA_HOST_FLAGS) ; do \
21849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21850 done; \
21851 echo "Doing maintainer-clean in sid" ; \
21852 (cd $(HOST_SUBDIR)/sid && \
21853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21855 "RANLIB=$${RANLIB}" \
21856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21857 maintainer-clean) \
21858 || exit 1
21860 @endif sid
21864 .PHONY: configure-sim maybe-configure-sim
21865 maybe-configure-sim:
21866 @if sim
21867 maybe-configure-sim: configure-sim
21868 configure-sim:
21869 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
21870 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
21871 r=`${PWD_COMMAND}`; export r; \
21872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21873 $(HOST_EXPORTS) \
21874 echo Configuring in $(HOST_SUBDIR)/sim; \
21875 cd "$(HOST_SUBDIR)/sim" || exit 1; \
21876 case $(srcdir) in \
21877 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21878 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
21879 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21880 esac; \
21881 srcdiroption="--srcdir=$${topdir}/sim"; \
21882 libsrcdir="$$s/sim"; \
21883 $(SHELL) $${libsrcdir}/configure \
21884 $(HOST_CONFIGARGS) $${srcdiroption} \
21885 || exit 1
21886 @endif sim
21892 .PHONY: all-sim maybe-all-sim
21893 maybe-all-sim:
21894 @if sim
21895 TARGET-sim=all
21896 maybe-all-sim: all-sim
21897 all-sim: configure-sim
21898 @r=`${PWD_COMMAND}`; export r; \
21899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21900 $(HOST_EXPORTS) \
21901 (cd $(HOST_SUBDIR)/sim && \
21902 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
21903 @endif sim
21908 .PHONY: check-sim maybe-check-sim
21909 maybe-check-sim:
21910 @if sim
21911 maybe-check-sim: check-sim
21913 check-sim:
21914 @r=`${PWD_COMMAND}`; export r; \
21915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21916 $(HOST_EXPORTS) \
21917 (cd $(HOST_SUBDIR)/sim && \
21918 $(MAKE) $(FLAGS_TO_PASS) check)
21920 @endif sim
21922 .PHONY: install-sim maybe-install-sim
21923 maybe-install-sim:
21924 @if sim
21925 maybe-install-sim: install-sim
21927 install-sim: installdirs
21928 @r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(HOST_EXPORTS) \
21931 (cd $(HOST_SUBDIR)/sim && \
21932 $(MAKE) $(FLAGS_TO_PASS) install)
21934 @endif sim
21936 # Other targets (info, dvi, etc.)
21938 .PHONY: maybe-info-sim info-sim
21939 maybe-info-sim:
21940 @if sim
21941 maybe-info-sim: info-sim
21943 info-sim: \
21944 configure-sim
21945 @[ -f ./sim/Makefile ] || exit 0; \
21946 r=`${PWD_COMMAND}`; export r; \
21947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21948 $(HOST_EXPORTS) \
21949 for flag in $(EXTRA_HOST_FLAGS) ; do \
21950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21951 done; \
21952 echo "Doing info in sim" ; \
21953 (cd $(HOST_SUBDIR)/sim && \
21954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21956 "RANLIB=$${RANLIB}" \
21957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21958 info) \
21959 || exit 1
21961 @endif sim
21963 .PHONY: maybe-dvi-sim dvi-sim
21964 maybe-dvi-sim:
21965 @if sim
21966 maybe-dvi-sim: dvi-sim
21968 dvi-sim: \
21969 configure-sim
21970 @[ -f ./sim/Makefile ] || exit 0; \
21971 r=`${PWD_COMMAND}`; export r; \
21972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21973 $(HOST_EXPORTS) \
21974 for flag in $(EXTRA_HOST_FLAGS) ; do \
21975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21976 done; \
21977 echo "Doing dvi in sim" ; \
21978 (cd $(HOST_SUBDIR)/sim && \
21979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21981 "RANLIB=$${RANLIB}" \
21982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21983 dvi) \
21984 || exit 1
21986 @endif sim
21988 .PHONY: maybe-html-sim html-sim
21989 maybe-html-sim:
21990 @if sim
21991 maybe-html-sim: html-sim
21993 html-sim: \
21994 configure-sim
21995 @[ -f ./sim/Makefile ] || exit 0; \
21996 r=`${PWD_COMMAND}`; export r; \
21997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21998 $(HOST_EXPORTS) \
21999 for flag in $(EXTRA_HOST_FLAGS) ; do \
22000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22001 done; \
22002 echo "Doing html in sim" ; \
22003 (cd $(HOST_SUBDIR)/sim && \
22004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22006 "RANLIB=$${RANLIB}" \
22007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22008 html) \
22009 || exit 1
22011 @endif sim
22013 .PHONY: maybe-TAGS-sim TAGS-sim
22014 maybe-TAGS-sim:
22015 @if sim
22016 maybe-TAGS-sim: TAGS-sim
22018 TAGS-sim: \
22019 configure-sim
22020 @[ -f ./sim/Makefile ] || exit 0; \
22021 r=`${PWD_COMMAND}`; export r; \
22022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22023 $(HOST_EXPORTS) \
22024 for flag in $(EXTRA_HOST_FLAGS) ; do \
22025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22026 done; \
22027 echo "Doing TAGS in sim" ; \
22028 (cd $(HOST_SUBDIR)/sim && \
22029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22031 "RANLIB=$${RANLIB}" \
22032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22033 TAGS) \
22034 || exit 1
22036 @endif sim
22038 .PHONY: maybe-install-info-sim install-info-sim
22039 maybe-install-info-sim:
22040 @if sim
22041 maybe-install-info-sim: install-info-sim
22043 install-info-sim: \
22044 configure-sim \
22045 info-sim
22046 @[ -f ./sim/Makefile ] || exit 0; \
22047 r=`${PWD_COMMAND}`; export r; \
22048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22049 $(HOST_EXPORTS) \
22050 for flag in $(EXTRA_HOST_FLAGS) ; do \
22051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22052 done; \
22053 echo "Doing install-info in sim" ; \
22054 (cd $(HOST_SUBDIR)/sim && \
22055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22057 "RANLIB=$${RANLIB}" \
22058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22059 install-info) \
22060 || exit 1
22062 @endif sim
22064 .PHONY: maybe-installcheck-sim installcheck-sim
22065 maybe-installcheck-sim:
22066 @if sim
22067 maybe-installcheck-sim: installcheck-sim
22069 installcheck-sim: \
22070 configure-sim
22071 @[ -f ./sim/Makefile ] || exit 0; \
22072 r=`${PWD_COMMAND}`; export r; \
22073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22074 $(HOST_EXPORTS) \
22075 for flag in $(EXTRA_HOST_FLAGS) ; do \
22076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22077 done; \
22078 echo "Doing installcheck in sim" ; \
22079 (cd $(HOST_SUBDIR)/sim && \
22080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22082 "RANLIB=$${RANLIB}" \
22083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22084 installcheck) \
22085 || exit 1
22087 @endif sim
22089 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
22090 maybe-mostlyclean-sim:
22091 @if sim
22092 maybe-mostlyclean-sim: mostlyclean-sim
22094 mostlyclean-sim:
22095 @[ -f ./sim/Makefile ] || exit 0; \
22096 r=`${PWD_COMMAND}`; export r; \
22097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22098 $(HOST_EXPORTS) \
22099 for flag in $(EXTRA_HOST_FLAGS) ; do \
22100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22101 done; \
22102 echo "Doing mostlyclean in sim" ; \
22103 (cd $(HOST_SUBDIR)/sim && \
22104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22106 "RANLIB=$${RANLIB}" \
22107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22108 mostlyclean) \
22109 || exit 1
22111 @endif sim
22113 .PHONY: maybe-clean-sim clean-sim
22114 maybe-clean-sim:
22115 @if sim
22116 maybe-clean-sim: clean-sim
22118 clean-sim:
22119 @[ -f ./sim/Makefile ] || exit 0; \
22120 r=`${PWD_COMMAND}`; export r; \
22121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22122 $(HOST_EXPORTS) \
22123 for flag in $(EXTRA_HOST_FLAGS) ; do \
22124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22125 done; \
22126 echo "Doing clean in sim" ; \
22127 (cd $(HOST_SUBDIR)/sim && \
22128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22130 "RANLIB=$${RANLIB}" \
22131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22132 clean) \
22133 || exit 1
22135 @endif sim
22137 .PHONY: maybe-distclean-sim distclean-sim
22138 maybe-distclean-sim:
22139 @if sim
22140 maybe-distclean-sim: distclean-sim
22142 distclean-sim:
22143 @[ -f ./sim/Makefile ] || exit 0; \
22144 r=`${PWD_COMMAND}`; export r; \
22145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22146 $(HOST_EXPORTS) \
22147 for flag in $(EXTRA_HOST_FLAGS) ; do \
22148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22149 done; \
22150 echo "Doing distclean in sim" ; \
22151 (cd $(HOST_SUBDIR)/sim && \
22152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22154 "RANLIB=$${RANLIB}" \
22155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22156 distclean) \
22157 || exit 1
22159 @endif sim
22161 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
22162 maybe-maintainer-clean-sim:
22163 @if sim
22164 maybe-maintainer-clean-sim: maintainer-clean-sim
22166 maintainer-clean-sim:
22167 @[ -f ./sim/Makefile ] || exit 0; \
22168 r=`${PWD_COMMAND}`; export r; \
22169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22170 $(HOST_EXPORTS) \
22171 for flag in $(EXTRA_HOST_FLAGS) ; do \
22172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22173 done; \
22174 echo "Doing maintainer-clean in sim" ; \
22175 (cd $(HOST_SUBDIR)/sim && \
22176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22178 "RANLIB=$${RANLIB}" \
22179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22180 maintainer-clean) \
22181 || exit 1
22183 @endif sim
22187 .PHONY: configure-tar maybe-configure-tar
22188 maybe-configure-tar:
22189 @if tar
22190 maybe-configure-tar: configure-tar
22191 configure-tar:
22192 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
22193 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
22194 r=`${PWD_COMMAND}`; export r; \
22195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22196 $(HOST_EXPORTS) \
22197 echo Configuring in $(HOST_SUBDIR)/tar; \
22198 cd "$(HOST_SUBDIR)/tar" || exit 1; \
22199 case $(srcdir) in \
22200 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22201 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
22202 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22203 esac; \
22204 srcdiroption="--srcdir=$${topdir}/tar"; \
22205 libsrcdir="$$s/tar"; \
22206 $(SHELL) $${libsrcdir}/configure \
22207 $(HOST_CONFIGARGS) $${srcdiroption} \
22208 || exit 1
22209 @endif tar
22215 .PHONY: all-tar maybe-all-tar
22216 maybe-all-tar:
22217 @if tar
22218 TARGET-tar=all
22219 maybe-all-tar: all-tar
22220 all-tar: configure-tar
22221 @r=`${PWD_COMMAND}`; export r; \
22222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22223 $(HOST_EXPORTS) \
22224 (cd $(HOST_SUBDIR)/tar && \
22225 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
22226 @endif tar
22231 .PHONY: check-tar maybe-check-tar
22232 maybe-check-tar:
22233 @if tar
22234 maybe-check-tar: check-tar
22236 check-tar:
22237 @r=`${PWD_COMMAND}`; export r; \
22238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22239 $(HOST_EXPORTS) \
22240 (cd $(HOST_SUBDIR)/tar && \
22241 $(MAKE) $(FLAGS_TO_PASS) check)
22243 @endif tar
22245 .PHONY: install-tar maybe-install-tar
22246 maybe-install-tar:
22247 @if tar
22248 maybe-install-tar: install-tar
22250 install-tar: installdirs
22251 @r=`${PWD_COMMAND}`; export r; \
22252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22253 $(HOST_EXPORTS) \
22254 (cd $(HOST_SUBDIR)/tar && \
22255 $(MAKE) $(FLAGS_TO_PASS) install)
22257 @endif tar
22259 # Other targets (info, dvi, etc.)
22261 .PHONY: maybe-info-tar info-tar
22262 maybe-info-tar:
22263 @if tar
22264 maybe-info-tar: info-tar
22266 info-tar: \
22267 configure-tar
22268 @[ -f ./tar/Makefile ] || exit 0; \
22269 r=`${PWD_COMMAND}`; export r; \
22270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22271 $(HOST_EXPORTS) \
22272 for flag in $(EXTRA_HOST_FLAGS) ; do \
22273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22274 done; \
22275 echo "Doing info in tar" ; \
22276 (cd $(HOST_SUBDIR)/tar && \
22277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22279 "RANLIB=$${RANLIB}" \
22280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22281 info) \
22282 || exit 1
22284 @endif tar
22286 .PHONY: maybe-dvi-tar dvi-tar
22287 maybe-dvi-tar:
22288 @if tar
22289 maybe-dvi-tar: dvi-tar
22291 dvi-tar: \
22292 configure-tar
22293 @[ -f ./tar/Makefile ] || exit 0; \
22294 r=`${PWD_COMMAND}`; export r; \
22295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22296 $(HOST_EXPORTS) \
22297 for flag in $(EXTRA_HOST_FLAGS) ; do \
22298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22299 done; \
22300 echo "Doing dvi in tar" ; \
22301 (cd $(HOST_SUBDIR)/tar && \
22302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22304 "RANLIB=$${RANLIB}" \
22305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22306 dvi) \
22307 || exit 1
22309 @endif tar
22311 .PHONY: maybe-html-tar html-tar
22312 maybe-html-tar:
22313 @if tar
22314 maybe-html-tar: html-tar
22316 html-tar: \
22317 configure-tar
22318 @[ -f ./tar/Makefile ] || exit 0; \
22319 r=`${PWD_COMMAND}`; export r; \
22320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22321 $(HOST_EXPORTS) \
22322 for flag in $(EXTRA_HOST_FLAGS) ; do \
22323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22324 done; \
22325 echo "Doing html in tar" ; \
22326 (cd $(HOST_SUBDIR)/tar && \
22327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22329 "RANLIB=$${RANLIB}" \
22330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22331 html) \
22332 || exit 1
22334 @endif tar
22336 .PHONY: maybe-TAGS-tar TAGS-tar
22337 maybe-TAGS-tar:
22338 @if tar
22339 maybe-TAGS-tar: TAGS-tar
22341 TAGS-tar: \
22342 configure-tar
22343 @[ -f ./tar/Makefile ] || exit 0; \
22344 r=`${PWD_COMMAND}`; export r; \
22345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22346 $(HOST_EXPORTS) \
22347 for flag in $(EXTRA_HOST_FLAGS) ; do \
22348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22349 done; \
22350 echo "Doing TAGS in tar" ; \
22351 (cd $(HOST_SUBDIR)/tar && \
22352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22354 "RANLIB=$${RANLIB}" \
22355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22356 TAGS) \
22357 || exit 1
22359 @endif tar
22361 .PHONY: maybe-install-info-tar install-info-tar
22362 maybe-install-info-tar:
22363 @if tar
22364 maybe-install-info-tar: install-info-tar
22366 install-info-tar: \
22367 configure-tar \
22368 info-tar
22369 @[ -f ./tar/Makefile ] || exit 0; \
22370 r=`${PWD_COMMAND}`; export r; \
22371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22372 $(HOST_EXPORTS) \
22373 for flag in $(EXTRA_HOST_FLAGS) ; do \
22374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22375 done; \
22376 echo "Doing install-info in tar" ; \
22377 (cd $(HOST_SUBDIR)/tar && \
22378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22380 "RANLIB=$${RANLIB}" \
22381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22382 install-info) \
22383 || exit 1
22385 @endif tar
22387 .PHONY: maybe-installcheck-tar installcheck-tar
22388 maybe-installcheck-tar:
22389 @if tar
22390 maybe-installcheck-tar: installcheck-tar
22392 installcheck-tar: \
22393 configure-tar
22394 @[ -f ./tar/Makefile ] || exit 0; \
22395 r=`${PWD_COMMAND}`; export r; \
22396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22397 $(HOST_EXPORTS) \
22398 for flag in $(EXTRA_HOST_FLAGS) ; do \
22399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22400 done; \
22401 echo "Doing installcheck in tar" ; \
22402 (cd $(HOST_SUBDIR)/tar && \
22403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22405 "RANLIB=$${RANLIB}" \
22406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22407 installcheck) \
22408 || exit 1
22410 @endif tar
22412 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
22413 maybe-mostlyclean-tar:
22414 @if tar
22415 maybe-mostlyclean-tar: mostlyclean-tar
22417 mostlyclean-tar:
22418 @[ -f ./tar/Makefile ] || exit 0; \
22419 r=`${PWD_COMMAND}`; export r; \
22420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22421 $(HOST_EXPORTS) \
22422 for flag in $(EXTRA_HOST_FLAGS) ; do \
22423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22424 done; \
22425 echo "Doing mostlyclean in tar" ; \
22426 (cd $(HOST_SUBDIR)/tar && \
22427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22429 "RANLIB=$${RANLIB}" \
22430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22431 mostlyclean) \
22432 || exit 1
22434 @endif tar
22436 .PHONY: maybe-clean-tar clean-tar
22437 maybe-clean-tar:
22438 @if tar
22439 maybe-clean-tar: clean-tar
22441 clean-tar:
22442 @[ -f ./tar/Makefile ] || exit 0; \
22443 r=`${PWD_COMMAND}`; export r; \
22444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22445 $(HOST_EXPORTS) \
22446 for flag in $(EXTRA_HOST_FLAGS) ; do \
22447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22448 done; \
22449 echo "Doing clean in tar" ; \
22450 (cd $(HOST_SUBDIR)/tar && \
22451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22453 "RANLIB=$${RANLIB}" \
22454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22455 clean) \
22456 || exit 1
22458 @endif tar
22460 .PHONY: maybe-distclean-tar distclean-tar
22461 maybe-distclean-tar:
22462 @if tar
22463 maybe-distclean-tar: distclean-tar
22465 distclean-tar:
22466 @[ -f ./tar/Makefile ] || exit 0; \
22467 r=`${PWD_COMMAND}`; export r; \
22468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22469 $(HOST_EXPORTS) \
22470 for flag in $(EXTRA_HOST_FLAGS) ; do \
22471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22472 done; \
22473 echo "Doing distclean in tar" ; \
22474 (cd $(HOST_SUBDIR)/tar && \
22475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22477 "RANLIB=$${RANLIB}" \
22478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22479 distclean) \
22480 || exit 1
22482 @endif tar
22484 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
22485 maybe-maintainer-clean-tar:
22486 @if tar
22487 maybe-maintainer-clean-tar: maintainer-clean-tar
22489 maintainer-clean-tar:
22490 @[ -f ./tar/Makefile ] || exit 0; \
22491 r=`${PWD_COMMAND}`; export r; \
22492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22493 $(HOST_EXPORTS) \
22494 for flag in $(EXTRA_HOST_FLAGS) ; do \
22495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22496 done; \
22497 echo "Doing maintainer-clean in tar" ; \
22498 (cd $(HOST_SUBDIR)/tar && \
22499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22501 "RANLIB=$${RANLIB}" \
22502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22503 maintainer-clean) \
22504 || exit 1
22506 @endif tar
22510 .PHONY: configure-texinfo maybe-configure-texinfo
22511 maybe-configure-texinfo:
22512 @if texinfo
22513 maybe-configure-texinfo: configure-texinfo
22514 configure-texinfo:
22515 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
22516 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
22517 r=`${PWD_COMMAND}`; export r; \
22518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22519 $(HOST_EXPORTS) \
22520 echo Configuring in $(HOST_SUBDIR)/texinfo; \
22521 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
22522 case $(srcdir) in \
22523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22524 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
22525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22526 esac; \
22527 srcdiroption="--srcdir=$${topdir}/texinfo"; \
22528 libsrcdir="$$s/texinfo"; \
22529 $(SHELL) $${libsrcdir}/configure \
22530 $(HOST_CONFIGARGS) $${srcdiroption} \
22531 || exit 1
22532 @endif texinfo
22538 .PHONY: all-texinfo maybe-all-texinfo
22539 maybe-all-texinfo:
22540 @if texinfo
22541 TARGET-texinfo=all
22542 maybe-all-texinfo: all-texinfo
22543 all-texinfo: configure-texinfo
22544 @r=`${PWD_COMMAND}`; export r; \
22545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22546 $(HOST_EXPORTS) \
22547 (cd $(HOST_SUBDIR)/texinfo && \
22548 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
22549 @endif texinfo
22554 .PHONY: check-texinfo maybe-check-texinfo
22555 maybe-check-texinfo:
22556 @if texinfo
22557 maybe-check-texinfo: check-texinfo
22559 check-texinfo:
22560 @r=`${PWD_COMMAND}`; export r; \
22561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22562 $(HOST_EXPORTS) \
22563 (cd $(HOST_SUBDIR)/texinfo && \
22564 $(MAKE) $(FLAGS_TO_PASS) check)
22566 @endif texinfo
22568 .PHONY: install-texinfo maybe-install-texinfo
22569 maybe-install-texinfo:
22570 @if texinfo
22571 maybe-install-texinfo: install-texinfo
22573 install-texinfo:
22575 @endif texinfo
22577 # Other targets (info, dvi, etc.)
22579 .PHONY: maybe-info-texinfo info-texinfo
22580 maybe-info-texinfo:
22581 @if texinfo
22582 maybe-info-texinfo: info-texinfo
22584 info-texinfo: \
22585 configure-texinfo
22586 @[ -f ./texinfo/Makefile ] || exit 0; \
22587 r=`${PWD_COMMAND}`; export r; \
22588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22589 $(HOST_EXPORTS) \
22590 for flag in $(EXTRA_HOST_FLAGS) ; do \
22591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22592 done; \
22593 echo "Doing info in texinfo" ; \
22594 (cd $(HOST_SUBDIR)/texinfo && \
22595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22597 "RANLIB=$${RANLIB}" \
22598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22599 info) \
22600 || exit 1
22602 @endif texinfo
22604 .PHONY: maybe-dvi-texinfo dvi-texinfo
22605 maybe-dvi-texinfo:
22606 @if texinfo
22607 maybe-dvi-texinfo: dvi-texinfo
22609 dvi-texinfo: \
22610 configure-texinfo
22611 @[ -f ./texinfo/Makefile ] || exit 0; \
22612 r=`${PWD_COMMAND}`; export r; \
22613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22614 $(HOST_EXPORTS) \
22615 for flag in $(EXTRA_HOST_FLAGS) ; do \
22616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22617 done; \
22618 echo "Doing dvi in texinfo" ; \
22619 (cd $(HOST_SUBDIR)/texinfo && \
22620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22622 "RANLIB=$${RANLIB}" \
22623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22624 dvi) \
22625 || exit 1
22627 @endif texinfo
22629 .PHONY: maybe-html-texinfo html-texinfo
22630 maybe-html-texinfo:
22631 @if texinfo
22632 maybe-html-texinfo: html-texinfo
22634 html-texinfo: \
22635 configure-texinfo
22636 @[ -f ./texinfo/Makefile ] || exit 0; \
22637 r=`${PWD_COMMAND}`; export r; \
22638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22639 $(HOST_EXPORTS) \
22640 for flag in $(EXTRA_HOST_FLAGS) ; do \
22641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22642 done; \
22643 echo "Doing html in texinfo" ; \
22644 (cd $(HOST_SUBDIR)/texinfo && \
22645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22647 "RANLIB=$${RANLIB}" \
22648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22649 html) \
22650 || exit 1
22652 @endif texinfo
22654 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
22655 maybe-TAGS-texinfo:
22656 @if texinfo
22657 maybe-TAGS-texinfo: TAGS-texinfo
22659 TAGS-texinfo: \
22660 configure-texinfo
22661 @[ -f ./texinfo/Makefile ] || exit 0; \
22662 r=`${PWD_COMMAND}`; export r; \
22663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22664 $(HOST_EXPORTS) \
22665 for flag in $(EXTRA_HOST_FLAGS) ; do \
22666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22667 done; \
22668 echo "Doing TAGS in texinfo" ; \
22669 (cd $(HOST_SUBDIR)/texinfo && \
22670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22672 "RANLIB=$${RANLIB}" \
22673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22674 TAGS) \
22675 || exit 1
22677 @endif texinfo
22679 .PHONY: maybe-install-info-texinfo install-info-texinfo
22680 maybe-install-info-texinfo:
22681 @if texinfo
22682 maybe-install-info-texinfo: install-info-texinfo
22684 install-info-texinfo: \
22685 configure-texinfo \
22686 info-texinfo
22687 @[ -f ./texinfo/Makefile ] || exit 0; \
22688 r=`${PWD_COMMAND}`; export r; \
22689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22690 $(HOST_EXPORTS) \
22691 for flag in $(EXTRA_HOST_FLAGS) ; do \
22692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22693 done; \
22694 echo "Doing install-info in texinfo" ; \
22695 (cd $(HOST_SUBDIR)/texinfo && \
22696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22698 "RANLIB=$${RANLIB}" \
22699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22700 install-info) \
22701 || exit 1
22703 @endif texinfo
22705 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
22706 maybe-installcheck-texinfo:
22707 @if texinfo
22708 maybe-installcheck-texinfo: installcheck-texinfo
22710 installcheck-texinfo: \
22711 configure-texinfo
22712 @[ -f ./texinfo/Makefile ] || exit 0; \
22713 r=`${PWD_COMMAND}`; export r; \
22714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22715 $(HOST_EXPORTS) \
22716 for flag in $(EXTRA_HOST_FLAGS) ; do \
22717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22718 done; \
22719 echo "Doing installcheck in texinfo" ; \
22720 (cd $(HOST_SUBDIR)/texinfo && \
22721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22723 "RANLIB=$${RANLIB}" \
22724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22725 installcheck) \
22726 || exit 1
22728 @endif texinfo
22730 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
22731 maybe-mostlyclean-texinfo:
22732 @if texinfo
22733 maybe-mostlyclean-texinfo: mostlyclean-texinfo
22735 mostlyclean-texinfo:
22736 @[ -f ./texinfo/Makefile ] || exit 0; \
22737 r=`${PWD_COMMAND}`; export r; \
22738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22739 $(HOST_EXPORTS) \
22740 for flag in $(EXTRA_HOST_FLAGS) ; do \
22741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22742 done; \
22743 echo "Doing mostlyclean in texinfo" ; \
22744 (cd $(HOST_SUBDIR)/texinfo && \
22745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22747 "RANLIB=$${RANLIB}" \
22748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22749 mostlyclean) \
22750 || exit 1
22752 @endif texinfo
22754 .PHONY: maybe-clean-texinfo clean-texinfo
22755 maybe-clean-texinfo:
22756 @if texinfo
22757 maybe-clean-texinfo: clean-texinfo
22759 clean-texinfo:
22760 @[ -f ./texinfo/Makefile ] || exit 0; \
22761 r=`${PWD_COMMAND}`; export r; \
22762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22763 $(HOST_EXPORTS) \
22764 for flag in $(EXTRA_HOST_FLAGS) ; do \
22765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22766 done; \
22767 echo "Doing clean in texinfo" ; \
22768 (cd $(HOST_SUBDIR)/texinfo && \
22769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22771 "RANLIB=$${RANLIB}" \
22772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22773 clean) \
22774 || exit 1
22776 @endif texinfo
22778 .PHONY: maybe-distclean-texinfo distclean-texinfo
22779 maybe-distclean-texinfo:
22780 @if texinfo
22781 maybe-distclean-texinfo: distclean-texinfo
22783 distclean-texinfo:
22784 @[ -f ./texinfo/Makefile ] || exit 0; \
22785 r=`${PWD_COMMAND}`; export r; \
22786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22787 $(HOST_EXPORTS) \
22788 for flag in $(EXTRA_HOST_FLAGS) ; do \
22789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22790 done; \
22791 echo "Doing distclean in texinfo" ; \
22792 (cd $(HOST_SUBDIR)/texinfo && \
22793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22795 "RANLIB=$${RANLIB}" \
22796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22797 distclean) \
22798 || exit 1
22800 @endif texinfo
22802 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
22803 maybe-maintainer-clean-texinfo:
22804 @if texinfo
22805 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
22807 maintainer-clean-texinfo:
22808 @[ -f ./texinfo/Makefile ] || exit 0; \
22809 r=`${PWD_COMMAND}`; export r; \
22810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22811 $(HOST_EXPORTS) \
22812 for flag in $(EXTRA_HOST_FLAGS) ; do \
22813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22814 done; \
22815 echo "Doing maintainer-clean in texinfo" ; \
22816 (cd $(HOST_SUBDIR)/texinfo && \
22817 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22818 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22819 "RANLIB=$${RANLIB}" \
22820 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22821 maintainer-clean) \
22822 || exit 1
22824 @endif texinfo
22828 .PHONY: configure-textutils maybe-configure-textutils
22829 maybe-configure-textutils:
22830 @if textutils
22831 maybe-configure-textutils: configure-textutils
22832 configure-textutils:
22833 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
22834 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
22835 r=`${PWD_COMMAND}`; export r; \
22836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22837 $(HOST_EXPORTS) \
22838 echo Configuring in $(HOST_SUBDIR)/textutils; \
22839 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
22840 case $(srcdir) in \
22841 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22842 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
22843 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22844 esac; \
22845 srcdiroption="--srcdir=$${topdir}/textutils"; \
22846 libsrcdir="$$s/textutils"; \
22847 $(SHELL) $${libsrcdir}/configure \
22848 $(HOST_CONFIGARGS) $${srcdiroption} \
22849 || exit 1
22850 @endif textutils
22856 .PHONY: all-textutils maybe-all-textutils
22857 maybe-all-textutils:
22858 @if textutils
22859 TARGET-textutils=all
22860 maybe-all-textutils: all-textutils
22861 all-textutils: configure-textutils
22862 @r=`${PWD_COMMAND}`; export r; \
22863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22864 $(HOST_EXPORTS) \
22865 (cd $(HOST_SUBDIR)/textutils && \
22866 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
22867 @endif textutils
22872 .PHONY: check-textutils maybe-check-textutils
22873 maybe-check-textutils:
22874 @if textutils
22875 maybe-check-textutils: check-textutils
22877 check-textutils:
22878 @r=`${PWD_COMMAND}`; export r; \
22879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22880 $(HOST_EXPORTS) \
22881 (cd $(HOST_SUBDIR)/textutils && \
22882 $(MAKE) $(FLAGS_TO_PASS) check)
22884 @endif textutils
22886 .PHONY: install-textutils maybe-install-textutils
22887 maybe-install-textutils:
22888 @if textutils
22889 maybe-install-textutils: install-textutils
22891 install-textutils: installdirs
22892 @r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 $(HOST_EXPORTS) \
22895 (cd $(HOST_SUBDIR)/textutils && \
22896 $(MAKE) $(FLAGS_TO_PASS) install)
22898 @endif textutils
22900 # Other targets (info, dvi, etc.)
22902 .PHONY: maybe-info-textutils info-textutils
22903 maybe-info-textutils:
22904 @if textutils
22905 maybe-info-textutils: info-textutils
22907 info-textutils: \
22908 configure-textutils
22909 @[ -f ./textutils/Makefile ] || exit 0; \
22910 r=`${PWD_COMMAND}`; export r; \
22911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22912 $(HOST_EXPORTS) \
22913 for flag in $(EXTRA_HOST_FLAGS) ; do \
22914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22915 done; \
22916 echo "Doing info in textutils" ; \
22917 (cd $(HOST_SUBDIR)/textutils && \
22918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22920 "RANLIB=$${RANLIB}" \
22921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22922 info) \
22923 || exit 1
22925 @endif textutils
22927 .PHONY: maybe-dvi-textutils dvi-textutils
22928 maybe-dvi-textutils:
22929 @if textutils
22930 maybe-dvi-textutils: dvi-textutils
22932 dvi-textutils: \
22933 configure-textutils
22934 @[ -f ./textutils/Makefile ] || exit 0; \
22935 r=`${PWD_COMMAND}`; export r; \
22936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22937 $(HOST_EXPORTS) \
22938 for flag in $(EXTRA_HOST_FLAGS) ; do \
22939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22940 done; \
22941 echo "Doing dvi in textutils" ; \
22942 (cd $(HOST_SUBDIR)/textutils && \
22943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22945 "RANLIB=$${RANLIB}" \
22946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22947 dvi) \
22948 || exit 1
22950 @endif textutils
22952 .PHONY: maybe-html-textutils html-textutils
22953 maybe-html-textutils:
22954 @if textutils
22955 maybe-html-textutils: html-textutils
22957 html-textutils: \
22958 configure-textutils
22959 @[ -f ./textutils/Makefile ] || exit 0; \
22960 r=`${PWD_COMMAND}`; export r; \
22961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22962 $(HOST_EXPORTS) \
22963 for flag in $(EXTRA_HOST_FLAGS) ; do \
22964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22965 done; \
22966 echo "Doing html in textutils" ; \
22967 (cd $(HOST_SUBDIR)/textutils && \
22968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22970 "RANLIB=$${RANLIB}" \
22971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22972 html) \
22973 || exit 1
22975 @endif textutils
22977 .PHONY: maybe-TAGS-textutils TAGS-textutils
22978 maybe-TAGS-textutils:
22979 @if textutils
22980 maybe-TAGS-textutils: TAGS-textutils
22982 TAGS-textutils: \
22983 configure-textutils
22984 @[ -f ./textutils/Makefile ] || exit 0; \
22985 r=`${PWD_COMMAND}`; export r; \
22986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22987 $(HOST_EXPORTS) \
22988 for flag in $(EXTRA_HOST_FLAGS) ; do \
22989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22990 done; \
22991 echo "Doing TAGS in textutils" ; \
22992 (cd $(HOST_SUBDIR)/textutils && \
22993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22995 "RANLIB=$${RANLIB}" \
22996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22997 TAGS) \
22998 || exit 1
23000 @endif textutils
23002 .PHONY: maybe-install-info-textutils install-info-textutils
23003 maybe-install-info-textutils:
23004 @if textutils
23005 maybe-install-info-textutils: install-info-textutils
23007 install-info-textutils: \
23008 configure-textutils \
23009 info-textutils
23010 @[ -f ./textutils/Makefile ] || exit 0; \
23011 r=`${PWD_COMMAND}`; export r; \
23012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23013 $(HOST_EXPORTS) \
23014 for flag in $(EXTRA_HOST_FLAGS) ; do \
23015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23016 done; \
23017 echo "Doing install-info in textutils" ; \
23018 (cd $(HOST_SUBDIR)/textutils && \
23019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23021 "RANLIB=$${RANLIB}" \
23022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23023 install-info) \
23024 || exit 1
23026 @endif textutils
23028 .PHONY: maybe-installcheck-textutils installcheck-textutils
23029 maybe-installcheck-textutils:
23030 @if textutils
23031 maybe-installcheck-textutils: installcheck-textutils
23033 installcheck-textutils: \
23034 configure-textutils
23035 @[ -f ./textutils/Makefile ] || exit 0; \
23036 r=`${PWD_COMMAND}`; export r; \
23037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23038 $(HOST_EXPORTS) \
23039 for flag in $(EXTRA_HOST_FLAGS) ; do \
23040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23041 done; \
23042 echo "Doing installcheck in textutils" ; \
23043 (cd $(HOST_SUBDIR)/textutils && \
23044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23046 "RANLIB=$${RANLIB}" \
23047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23048 installcheck) \
23049 || exit 1
23051 @endif textutils
23053 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
23054 maybe-mostlyclean-textutils:
23055 @if textutils
23056 maybe-mostlyclean-textutils: mostlyclean-textutils
23058 mostlyclean-textutils:
23059 @[ -f ./textutils/Makefile ] || exit 0; \
23060 r=`${PWD_COMMAND}`; export r; \
23061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23062 $(HOST_EXPORTS) \
23063 for flag in $(EXTRA_HOST_FLAGS) ; do \
23064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23065 done; \
23066 echo "Doing mostlyclean in textutils" ; \
23067 (cd $(HOST_SUBDIR)/textutils && \
23068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23070 "RANLIB=$${RANLIB}" \
23071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23072 mostlyclean) \
23073 || exit 1
23075 @endif textutils
23077 .PHONY: maybe-clean-textutils clean-textutils
23078 maybe-clean-textutils:
23079 @if textutils
23080 maybe-clean-textutils: clean-textutils
23082 clean-textutils:
23083 @[ -f ./textutils/Makefile ] || exit 0; \
23084 r=`${PWD_COMMAND}`; export r; \
23085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23086 $(HOST_EXPORTS) \
23087 for flag in $(EXTRA_HOST_FLAGS) ; do \
23088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23089 done; \
23090 echo "Doing clean in textutils" ; \
23091 (cd $(HOST_SUBDIR)/textutils && \
23092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23094 "RANLIB=$${RANLIB}" \
23095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23096 clean) \
23097 || exit 1
23099 @endif textutils
23101 .PHONY: maybe-distclean-textutils distclean-textutils
23102 maybe-distclean-textutils:
23103 @if textutils
23104 maybe-distclean-textutils: distclean-textutils
23106 distclean-textutils:
23107 @[ -f ./textutils/Makefile ] || exit 0; \
23108 r=`${PWD_COMMAND}`; export r; \
23109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23110 $(HOST_EXPORTS) \
23111 for flag in $(EXTRA_HOST_FLAGS) ; do \
23112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23113 done; \
23114 echo "Doing distclean in textutils" ; \
23115 (cd $(HOST_SUBDIR)/textutils && \
23116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23118 "RANLIB=$${RANLIB}" \
23119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23120 distclean) \
23121 || exit 1
23123 @endif textutils
23125 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
23126 maybe-maintainer-clean-textutils:
23127 @if textutils
23128 maybe-maintainer-clean-textutils: maintainer-clean-textutils
23130 maintainer-clean-textutils:
23131 @[ -f ./textutils/Makefile ] || exit 0; \
23132 r=`${PWD_COMMAND}`; export r; \
23133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23134 $(HOST_EXPORTS) \
23135 for flag in $(EXTRA_HOST_FLAGS) ; do \
23136 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23137 done; \
23138 echo "Doing maintainer-clean in textutils" ; \
23139 (cd $(HOST_SUBDIR)/textutils && \
23140 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23141 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23142 "RANLIB=$${RANLIB}" \
23143 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23144 maintainer-clean) \
23145 || exit 1
23147 @endif textutils
23151 .PHONY: configure-time maybe-configure-time
23152 maybe-configure-time:
23153 @if time
23154 maybe-configure-time: configure-time
23155 configure-time:
23156 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
23157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
23158 r=`${PWD_COMMAND}`; export r; \
23159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23160 $(HOST_EXPORTS) \
23161 echo Configuring in $(HOST_SUBDIR)/time; \
23162 cd "$(HOST_SUBDIR)/time" || exit 1; \
23163 case $(srcdir) in \
23164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23165 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
23166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23167 esac; \
23168 srcdiroption="--srcdir=$${topdir}/time"; \
23169 libsrcdir="$$s/time"; \
23170 $(SHELL) $${libsrcdir}/configure \
23171 $(HOST_CONFIGARGS) $${srcdiroption} \
23172 || exit 1
23173 @endif time
23179 .PHONY: all-time maybe-all-time
23180 maybe-all-time:
23181 @if time
23182 TARGET-time=all
23183 maybe-all-time: all-time
23184 all-time: configure-time
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(HOST_EXPORTS) \
23188 (cd $(HOST_SUBDIR)/time && \
23189 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
23190 @endif time
23195 .PHONY: check-time maybe-check-time
23196 maybe-check-time:
23197 @if time
23198 maybe-check-time: check-time
23200 check-time:
23201 @r=`${PWD_COMMAND}`; export r; \
23202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23203 $(HOST_EXPORTS) \
23204 (cd $(HOST_SUBDIR)/time && \
23205 $(MAKE) $(FLAGS_TO_PASS) check)
23207 @endif time
23209 .PHONY: install-time maybe-install-time
23210 maybe-install-time:
23211 @if time
23212 maybe-install-time: install-time
23214 install-time: installdirs
23215 @r=`${PWD_COMMAND}`; export r; \
23216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23217 $(HOST_EXPORTS) \
23218 (cd $(HOST_SUBDIR)/time && \
23219 $(MAKE) $(FLAGS_TO_PASS) install)
23221 @endif time
23223 # Other targets (info, dvi, etc.)
23225 .PHONY: maybe-info-time info-time
23226 maybe-info-time:
23227 @if time
23228 maybe-info-time: info-time
23230 info-time: \
23231 configure-time
23232 @[ -f ./time/Makefile ] || exit 0; \
23233 r=`${PWD_COMMAND}`; export r; \
23234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23235 $(HOST_EXPORTS) \
23236 for flag in $(EXTRA_HOST_FLAGS) ; do \
23237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23238 done; \
23239 echo "Doing info in time" ; \
23240 (cd $(HOST_SUBDIR)/time && \
23241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23243 "RANLIB=$${RANLIB}" \
23244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23245 info) \
23246 || exit 1
23248 @endif time
23250 .PHONY: maybe-dvi-time dvi-time
23251 maybe-dvi-time:
23252 @if time
23253 maybe-dvi-time: dvi-time
23255 dvi-time: \
23256 configure-time
23257 @[ -f ./time/Makefile ] || exit 0; \
23258 r=`${PWD_COMMAND}`; export r; \
23259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23260 $(HOST_EXPORTS) \
23261 for flag in $(EXTRA_HOST_FLAGS) ; do \
23262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23263 done; \
23264 echo "Doing dvi in time" ; \
23265 (cd $(HOST_SUBDIR)/time && \
23266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23268 "RANLIB=$${RANLIB}" \
23269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23270 dvi) \
23271 || exit 1
23273 @endif time
23275 .PHONY: maybe-html-time html-time
23276 maybe-html-time:
23277 @if time
23278 maybe-html-time: html-time
23280 html-time: \
23281 configure-time
23282 @[ -f ./time/Makefile ] || exit 0; \
23283 r=`${PWD_COMMAND}`; export r; \
23284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23285 $(HOST_EXPORTS) \
23286 for flag in $(EXTRA_HOST_FLAGS) ; do \
23287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23288 done; \
23289 echo "Doing html in time" ; \
23290 (cd $(HOST_SUBDIR)/time && \
23291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23293 "RANLIB=$${RANLIB}" \
23294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23295 html) \
23296 || exit 1
23298 @endif time
23300 .PHONY: maybe-TAGS-time TAGS-time
23301 maybe-TAGS-time:
23302 @if time
23303 maybe-TAGS-time: TAGS-time
23305 TAGS-time: \
23306 configure-time
23307 @[ -f ./time/Makefile ] || exit 0; \
23308 r=`${PWD_COMMAND}`; export r; \
23309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23310 $(HOST_EXPORTS) \
23311 for flag in $(EXTRA_HOST_FLAGS) ; do \
23312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23313 done; \
23314 echo "Doing TAGS in time" ; \
23315 (cd $(HOST_SUBDIR)/time && \
23316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23318 "RANLIB=$${RANLIB}" \
23319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23320 TAGS) \
23321 || exit 1
23323 @endif time
23325 .PHONY: maybe-install-info-time install-info-time
23326 maybe-install-info-time:
23327 @if time
23328 maybe-install-info-time: install-info-time
23330 install-info-time: \
23331 configure-time \
23332 info-time
23333 @[ -f ./time/Makefile ] || exit 0; \
23334 r=`${PWD_COMMAND}`; export r; \
23335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23336 $(HOST_EXPORTS) \
23337 for flag in $(EXTRA_HOST_FLAGS) ; do \
23338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23339 done; \
23340 echo "Doing install-info in time" ; \
23341 (cd $(HOST_SUBDIR)/time && \
23342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23344 "RANLIB=$${RANLIB}" \
23345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23346 install-info) \
23347 || exit 1
23349 @endif time
23351 .PHONY: maybe-installcheck-time installcheck-time
23352 maybe-installcheck-time:
23353 @if time
23354 maybe-installcheck-time: installcheck-time
23356 installcheck-time: \
23357 configure-time
23358 @[ -f ./time/Makefile ] || exit 0; \
23359 r=`${PWD_COMMAND}`; export r; \
23360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23361 $(HOST_EXPORTS) \
23362 for flag in $(EXTRA_HOST_FLAGS) ; do \
23363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23364 done; \
23365 echo "Doing installcheck in time" ; \
23366 (cd $(HOST_SUBDIR)/time && \
23367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23369 "RANLIB=$${RANLIB}" \
23370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23371 installcheck) \
23372 || exit 1
23374 @endif time
23376 .PHONY: maybe-mostlyclean-time mostlyclean-time
23377 maybe-mostlyclean-time:
23378 @if time
23379 maybe-mostlyclean-time: mostlyclean-time
23381 mostlyclean-time:
23382 @[ -f ./time/Makefile ] || exit 0; \
23383 r=`${PWD_COMMAND}`; export r; \
23384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23385 $(HOST_EXPORTS) \
23386 for flag in $(EXTRA_HOST_FLAGS) ; do \
23387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23388 done; \
23389 echo "Doing mostlyclean in time" ; \
23390 (cd $(HOST_SUBDIR)/time && \
23391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23393 "RANLIB=$${RANLIB}" \
23394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23395 mostlyclean) \
23396 || exit 1
23398 @endif time
23400 .PHONY: maybe-clean-time clean-time
23401 maybe-clean-time:
23402 @if time
23403 maybe-clean-time: clean-time
23405 clean-time:
23406 @[ -f ./time/Makefile ] || exit 0; \
23407 r=`${PWD_COMMAND}`; export r; \
23408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23409 $(HOST_EXPORTS) \
23410 for flag in $(EXTRA_HOST_FLAGS) ; do \
23411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23412 done; \
23413 echo "Doing clean in time" ; \
23414 (cd $(HOST_SUBDIR)/time && \
23415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23417 "RANLIB=$${RANLIB}" \
23418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23419 clean) \
23420 || exit 1
23422 @endif time
23424 .PHONY: maybe-distclean-time distclean-time
23425 maybe-distclean-time:
23426 @if time
23427 maybe-distclean-time: distclean-time
23429 distclean-time:
23430 @[ -f ./time/Makefile ] || exit 0; \
23431 r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23433 $(HOST_EXPORTS) \
23434 for flag in $(EXTRA_HOST_FLAGS) ; do \
23435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23436 done; \
23437 echo "Doing distclean in time" ; \
23438 (cd $(HOST_SUBDIR)/time && \
23439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23441 "RANLIB=$${RANLIB}" \
23442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23443 distclean) \
23444 || exit 1
23446 @endif time
23448 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
23449 maybe-maintainer-clean-time:
23450 @if time
23451 maybe-maintainer-clean-time: maintainer-clean-time
23453 maintainer-clean-time:
23454 @[ -f ./time/Makefile ] || exit 0; \
23455 r=`${PWD_COMMAND}`; export r; \
23456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23457 $(HOST_EXPORTS) \
23458 for flag in $(EXTRA_HOST_FLAGS) ; do \
23459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23460 done; \
23461 echo "Doing maintainer-clean in time" ; \
23462 (cd $(HOST_SUBDIR)/time && \
23463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23465 "RANLIB=$${RANLIB}" \
23466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23467 maintainer-clean) \
23468 || exit 1
23470 @endif time
23474 .PHONY: configure-uudecode maybe-configure-uudecode
23475 maybe-configure-uudecode:
23476 @if uudecode
23477 maybe-configure-uudecode: configure-uudecode
23478 configure-uudecode:
23479 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
23480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
23481 r=`${PWD_COMMAND}`; export r; \
23482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23483 $(HOST_EXPORTS) \
23484 echo Configuring in $(HOST_SUBDIR)/uudecode; \
23485 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
23486 case $(srcdir) in \
23487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23488 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
23489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23490 esac; \
23491 srcdiroption="--srcdir=$${topdir}/uudecode"; \
23492 libsrcdir="$$s/uudecode"; \
23493 $(SHELL) $${libsrcdir}/configure \
23494 $(HOST_CONFIGARGS) $${srcdiroption} \
23495 || exit 1
23496 @endif uudecode
23502 .PHONY: all-uudecode maybe-all-uudecode
23503 maybe-all-uudecode:
23504 @if uudecode
23505 TARGET-uudecode=all
23506 maybe-all-uudecode: all-uudecode
23507 all-uudecode: configure-uudecode
23508 @r=`${PWD_COMMAND}`; export r; \
23509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23510 $(HOST_EXPORTS) \
23511 (cd $(HOST_SUBDIR)/uudecode && \
23512 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
23513 @endif uudecode
23518 .PHONY: check-uudecode maybe-check-uudecode
23519 maybe-check-uudecode:
23520 @if uudecode
23521 maybe-check-uudecode: check-uudecode
23523 check-uudecode:
23524 @r=`${PWD_COMMAND}`; export r; \
23525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23526 $(HOST_EXPORTS) \
23527 (cd $(HOST_SUBDIR)/uudecode && \
23528 $(MAKE) $(FLAGS_TO_PASS) check)
23530 @endif uudecode
23532 .PHONY: install-uudecode maybe-install-uudecode
23533 maybe-install-uudecode:
23534 @if uudecode
23535 maybe-install-uudecode: install-uudecode
23537 install-uudecode: installdirs
23538 @r=`${PWD_COMMAND}`; export r; \
23539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23540 $(HOST_EXPORTS) \
23541 (cd $(HOST_SUBDIR)/uudecode && \
23542 $(MAKE) $(FLAGS_TO_PASS) install)
23544 @endif uudecode
23546 # Other targets (info, dvi, etc.)
23548 .PHONY: maybe-info-uudecode info-uudecode
23549 maybe-info-uudecode:
23550 @if uudecode
23551 maybe-info-uudecode: info-uudecode
23553 info-uudecode: \
23554 configure-uudecode
23555 @[ -f ./uudecode/Makefile ] || exit 0; \
23556 r=`${PWD_COMMAND}`; export r; \
23557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23558 $(HOST_EXPORTS) \
23559 for flag in $(EXTRA_HOST_FLAGS) ; do \
23560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23561 done; \
23562 echo "Doing info in uudecode" ; \
23563 (cd $(HOST_SUBDIR)/uudecode && \
23564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23566 "RANLIB=$${RANLIB}" \
23567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23568 info) \
23569 || exit 1
23571 @endif uudecode
23573 .PHONY: maybe-dvi-uudecode dvi-uudecode
23574 maybe-dvi-uudecode:
23575 @if uudecode
23576 maybe-dvi-uudecode: dvi-uudecode
23578 dvi-uudecode: \
23579 configure-uudecode
23580 @[ -f ./uudecode/Makefile ] || exit 0; \
23581 r=`${PWD_COMMAND}`; export r; \
23582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23583 $(HOST_EXPORTS) \
23584 for flag in $(EXTRA_HOST_FLAGS) ; do \
23585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23586 done; \
23587 echo "Doing dvi in uudecode" ; \
23588 (cd $(HOST_SUBDIR)/uudecode && \
23589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23591 "RANLIB=$${RANLIB}" \
23592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23593 dvi) \
23594 || exit 1
23596 @endif uudecode
23598 .PHONY: maybe-html-uudecode html-uudecode
23599 maybe-html-uudecode:
23600 @if uudecode
23601 maybe-html-uudecode: html-uudecode
23603 html-uudecode: \
23604 configure-uudecode
23605 @[ -f ./uudecode/Makefile ] || exit 0; \
23606 r=`${PWD_COMMAND}`; export r; \
23607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23608 $(HOST_EXPORTS) \
23609 for flag in $(EXTRA_HOST_FLAGS) ; do \
23610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23611 done; \
23612 echo "Doing html in uudecode" ; \
23613 (cd $(HOST_SUBDIR)/uudecode && \
23614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23616 "RANLIB=$${RANLIB}" \
23617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23618 html) \
23619 || exit 1
23621 @endif uudecode
23623 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
23624 maybe-TAGS-uudecode:
23625 @if uudecode
23626 maybe-TAGS-uudecode: TAGS-uudecode
23628 TAGS-uudecode: \
23629 configure-uudecode
23630 @[ -f ./uudecode/Makefile ] || exit 0; \
23631 r=`${PWD_COMMAND}`; export r; \
23632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23633 $(HOST_EXPORTS) \
23634 for flag in $(EXTRA_HOST_FLAGS) ; do \
23635 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23636 done; \
23637 echo "Doing TAGS in uudecode" ; \
23638 (cd $(HOST_SUBDIR)/uudecode && \
23639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23641 "RANLIB=$${RANLIB}" \
23642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23643 TAGS) \
23644 || exit 1
23646 @endif uudecode
23648 .PHONY: maybe-install-info-uudecode install-info-uudecode
23649 maybe-install-info-uudecode:
23650 @if uudecode
23651 maybe-install-info-uudecode: install-info-uudecode
23653 install-info-uudecode: \
23654 configure-uudecode \
23655 info-uudecode
23656 @[ -f ./uudecode/Makefile ] || exit 0; \
23657 r=`${PWD_COMMAND}`; export r; \
23658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23659 $(HOST_EXPORTS) \
23660 for flag in $(EXTRA_HOST_FLAGS) ; do \
23661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23662 done; \
23663 echo "Doing install-info in uudecode" ; \
23664 (cd $(HOST_SUBDIR)/uudecode && \
23665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23667 "RANLIB=$${RANLIB}" \
23668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23669 install-info) \
23670 || exit 1
23672 @endif uudecode
23674 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
23675 maybe-installcheck-uudecode:
23676 @if uudecode
23677 maybe-installcheck-uudecode: installcheck-uudecode
23679 installcheck-uudecode: \
23680 configure-uudecode
23681 @[ -f ./uudecode/Makefile ] || exit 0; \
23682 r=`${PWD_COMMAND}`; export r; \
23683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23684 $(HOST_EXPORTS) \
23685 for flag in $(EXTRA_HOST_FLAGS) ; do \
23686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23687 done; \
23688 echo "Doing installcheck in uudecode" ; \
23689 (cd $(HOST_SUBDIR)/uudecode && \
23690 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23691 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23692 "RANLIB=$${RANLIB}" \
23693 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23694 installcheck) \
23695 || exit 1
23697 @endif uudecode
23699 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
23700 maybe-mostlyclean-uudecode:
23701 @if uudecode
23702 maybe-mostlyclean-uudecode: mostlyclean-uudecode
23704 mostlyclean-uudecode:
23705 @[ -f ./uudecode/Makefile ] || exit 0; \
23706 r=`${PWD_COMMAND}`; export r; \
23707 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23708 $(HOST_EXPORTS) \
23709 for flag in $(EXTRA_HOST_FLAGS) ; do \
23710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23711 done; \
23712 echo "Doing mostlyclean in uudecode" ; \
23713 (cd $(HOST_SUBDIR)/uudecode && \
23714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23716 "RANLIB=$${RANLIB}" \
23717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23718 mostlyclean) \
23719 || exit 1
23721 @endif uudecode
23723 .PHONY: maybe-clean-uudecode clean-uudecode
23724 maybe-clean-uudecode:
23725 @if uudecode
23726 maybe-clean-uudecode: clean-uudecode
23728 clean-uudecode:
23729 @[ -f ./uudecode/Makefile ] || exit 0; \
23730 r=`${PWD_COMMAND}`; export r; \
23731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23732 $(HOST_EXPORTS) \
23733 for flag in $(EXTRA_HOST_FLAGS) ; do \
23734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23735 done; \
23736 echo "Doing clean in uudecode" ; \
23737 (cd $(HOST_SUBDIR)/uudecode && \
23738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23740 "RANLIB=$${RANLIB}" \
23741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23742 clean) \
23743 || exit 1
23745 @endif uudecode
23747 .PHONY: maybe-distclean-uudecode distclean-uudecode
23748 maybe-distclean-uudecode:
23749 @if uudecode
23750 maybe-distclean-uudecode: distclean-uudecode
23752 distclean-uudecode:
23753 @[ -f ./uudecode/Makefile ] || exit 0; \
23754 r=`${PWD_COMMAND}`; export r; \
23755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23756 $(HOST_EXPORTS) \
23757 for flag in $(EXTRA_HOST_FLAGS) ; do \
23758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23759 done; \
23760 echo "Doing distclean in uudecode" ; \
23761 (cd $(HOST_SUBDIR)/uudecode && \
23762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23764 "RANLIB=$${RANLIB}" \
23765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23766 distclean) \
23767 || exit 1
23769 @endif uudecode
23771 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
23772 maybe-maintainer-clean-uudecode:
23773 @if uudecode
23774 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
23776 maintainer-clean-uudecode:
23777 @[ -f ./uudecode/Makefile ] || exit 0; \
23778 r=`${PWD_COMMAND}`; export r; \
23779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23780 $(HOST_EXPORTS) \
23781 for flag in $(EXTRA_HOST_FLAGS) ; do \
23782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23783 done; \
23784 echo "Doing maintainer-clean in uudecode" ; \
23785 (cd $(HOST_SUBDIR)/uudecode && \
23786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23788 "RANLIB=$${RANLIB}" \
23789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23790 maintainer-clean) \
23791 || exit 1
23793 @endif uudecode
23797 .PHONY: configure-wdiff maybe-configure-wdiff
23798 maybe-configure-wdiff:
23799 @if wdiff
23800 maybe-configure-wdiff: configure-wdiff
23801 configure-wdiff:
23802 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
23803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
23804 r=`${PWD_COMMAND}`; export r; \
23805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23806 $(HOST_EXPORTS) \
23807 echo Configuring in $(HOST_SUBDIR)/wdiff; \
23808 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
23809 case $(srcdir) in \
23810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23811 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
23812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23813 esac; \
23814 srcdiroption="--srcdir=$${topdir}/wdiff"; \
23815 libsrcdir="$$s/wdiff"; \
23816 $(SHELL) $${libsrcdir}/configure \
23817 $(HOST_CONFIGARGS) $${srcdiroption} \
23818 || exit 1
23819 @endif wdiff
23825 .PHONY: all-wdiff maybe-all-wdiff
23826 maybe-all-wdiff:
23827 @if wdiff
23828 TARGET-wdiff=all
23829 maybe-all-wdiff: all-wdiff
23830 all-wdiff: configure-wdiff
23831 @r=`${PWD_COMMAND}`; export r; \
23832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23833 $(HOST_EXPORTS) \
23834 (cd $(HOST_SUBDIR)/wdiff && \
23835 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
23836 @endif wdiff
23841 .PHONY: check-wdiff maybe-check-wdiff
23842 maybe-check-wdiff:
23843 @if wdiff
23844 maybe-check-wdiff: check-wdiff
23846 check-wdiff:
23847 @r=`${PWD_COMMAND}`; export r; \
23848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23849 $(HOST_EXPORTS) \
23850 (cd $(HOST_SUBDIR)/wdiff && \
23851 $(MAKE) $(FLAGS_TO_PASS) check)
23853 @endif wdiff
23855 .PHONY: install-wdiff maybe-install-wdiff
23856 maybe-install-wdiff:
23857 @if wdiff
23858 maybe-install-wdiff: install-wdiff
23860 install-wdiff: installdirs
23861 @r=`${PWD_COMMAND}`; export r; \
23862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23863 $(HOST_EXPORTS) \
23864 (cd $(HOST_SUBDIR)/wdiff && \
23865 $(MAKE) $(FLAGS_TO_PASS) install)
23867 @endif wdiff
23869 # Other targets (info, dvi, etc.)
23871 .PHONY: maybe-info-wdiff info-wdiff
23872 maybe-info-wdiff:
23873 @if wdiff
23874 maybe-info-wdiff: info-wdiff
23876 info-wdiff: \
23877 configure-wdiff
23878 @[ -f ./wdiff/Makefile ] || exit 0; \
23879 r=`${PWD_COMMAND}`; export r; \
23880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23881 $(HOST_EXPORTS) \
23882 for flag in $(EXTRA_HOST_FLAGS) ; do \
23883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23884 done; \
23885 echo "Doing info in wdiff" ; \
23886 (cd $(HOST_SUBDIR)/wdiff && \
23887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23889 "RANLIB=$${RANLIB}" \
23890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23891 info) \
23892 || exit 1
23894 @endif wdiff
23896 .PHONY: maybe-dvi-wdiff dvi-wdiff
23897 maybe-dvi-wdiff:
23898 @if wdiff
23899 maybe-dvi-wdiff: dvi-wdiff
23901 dvi-wdiff: \
23902 configure-wdiff
23903 @[ -f ./wdiff/Makefile ] || exit 0; \
23904 r=`${PWD_COMMAND}`; export r; \
23905 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23906 $(HOST_EXPORTS) \
23907 for flag in $(EXTRA_HOST_FLAGS) ; do \
23908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23909 done; \
23910 echo "Doing dvi in wdiff" ; \
23911 (cd $(HOST_SUBDIR)/wdiff && \
23912 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23913 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23914 "RANLIB=$${RANLIB}" \
23915 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23916 dvi) \
23917 || exit 1
23919 @endif wdiff
23921 .PHONY: maybe-html-wdiff html-wdiff
23922 maybe-html-wdiff:
23923 @if wdiff
23924 maybe-html-wdiff: html-wdiff
23926 html-wdiff: \
23927 configure-wdiff
23928 @[ -f ./wdiff/Makefile ] || exit 0; \
23929 r=`${PWD_COMMAND}`; export r; \
23930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23931 $(HOST_EXPORTS) \
23932 for flag in $(EXTRA_HOST_FLAGS) ; do \
23933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23934 done; \
23935 echo "Doing html in wdiff" ; \
23936 (cd $(HOST_SUBDIR)/wdiff && \
23937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23939 "RANLIB=$${RANLIB}" \
23940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23941 html) \
23942 || exit 1
23944 @endif wdiff
23946 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
23947 maybe-TAGS-wdiff:
23948 @if wdiff
23949 maybe-TAGS-wdiff: TAGS-wdiff
23951 TAGS-wdiff: \
23952 configure-wdiff
23953 @[ -f ./wdiff/Makefile ] || exit 0; \
23954 r=`${PWD_COMMAND}`; export r; \
23955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23956 $(HOST_EXPORTS) \
23957 for flag in $(EXTRA_HOST_FLAGS) ; do \
23958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23959 done; \
23960 echo "Doing TAGS in wdiff" ; \
23961 (cd $(HOST_SUBDIR)/wdiff && \
23962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23964 "RANLIB=$${RANLIB}" \
23965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23966 TAGS) \
23967 || exit 1
23969 @endif wdiff
23971 .PHONY: maybe-install-info-wdiff install-info-wdiff
23972 maybe-install-info-wdiff:
23973 @if wdiff
23974 maybe-install-info-wdiff: install-info-wdiff
23976 install-info-wdiff: \
23977 configure-wdiff \
23978 info-wdiff
23979 @[ -f ./wdiff/Makefile ] || exit 0; \
23980 r=`${PWD_COMMAND}`; export r; \
23981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23982 $(HOST_EXPORTS) \
23983 for flag in $(EXTRA_HOST_FLAGS) ; do \
23984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23985 done; \
23986 echo "Doing install-info in wdiff" ; \
23987 (cd $(HOST_SUBDIR)/wdiff && \
23988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23990 "RANLIB=$${RANLIB}" \
23991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23992 install-info) \
23993 || exit 1
23995 @endif wdiff
23997 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
23998 maybe-installcheck-wdiff:
23999 @if wdiff
24000 maybe-installcheck-wdiff: installcheck-wdiff
24002 installcheck-wdiff: \
24003 configure-wdiff
24004 @[ -f ./wdiff/Makefile ] || exit 0; \
24005 r=`${PWD_COMMAND}`; export r; \
24006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24007 $(HOST_EXPORTS) \
24008 for flag in $(EXTRA_HOST_FLAGS) ; do \
24009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24010 done; \
24011 echo "Doing installcheck in wdiff" ; \
24012 (cd $(HOST_SUBDIR)/wdiff && \
24013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24015 "RANLIB=$${RANLIB}" \
24016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24017 installcheck) \
24018 || exit 1
24020 @endif wdiff
24022 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
24023 maybe-mostlyclean-wdiff:
24024 @if wdiff
24025 maybe-mostlyclean-wdiff: mostlyclean-wdiff
24027 mostlyclean-wdiff:
24028 @[ -f ./wdiff/Makefile ] || exit 0; \
24029 r=`${PWD_COMMAND}`; export r; \
24030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24031 $(HOST_EXPORTS) \
24032 for flag in $(EXTRA_HOST_FLAGS) ; do \
24033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24034 done; \
24035 echo "Doing mostlyclean in wdiff" ; \
24036 (cd $(HOST_SUBDIR)/wdiff && \
24037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24039 "RANLIB=$${RANLIB}" \
24040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24041 mostlyclean) \
24042 || exit 1
24044 @endif wdiff
24046 .PHONY: maybe-clean-wdiff clean-wdiff
24047 maybe-clean-wdiff:
24048 @if wdiff
24049 maybe-clean-wdiff: clean-wdiff
24051 clean-wdiff:
24052 @[ -f ./wdiff/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing clean in wdiff" ; \
24060 (cd $(HOST_SUBDIR)/wdiff && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24065 clean) \
24066 || exit 1
24068 @endif wdiff
24070 .PHONY: maybe-distclean-wdiff distclean-wdiff
24071 maybe-distclean-wdiff:
24072 @if wdiff
24073 maybe-distclean-wdiff: distclean-wdiff
24075 distclean-wdiff:
24076 @[ -f ./wdiff/Makefile ] || exit 0; \
24077 r=`${PWD_COMMAND}`; export r; \
24078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24079 $(HOST_EXPORTS) \
24080 for flag in $(EXTRA_HOST_FLAGS) ; do \
24081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24082 done; \
24083 echo "Doing distclean in wdiff" ; \
24084 (cd $(HOST_SUBDIR)/wdiff && \
24085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24087 "RANLIB=$${RANLIB}" \
24088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24089 distclean) \
24090 || exit 1
24092 @endif wdiff
24094 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
24095 maybe-maintainer-clean-wdiff:
24096 @if wdiff
24097 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
24099 maintainer-clean-wdiff:
24100 @[ -f ./wdiff/Makefile ] || exit 0; \
24101 r=`${PWD_COMMAND}`; export r; \
24102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24103 $(HOST_EXPORTS) \
24104 for flag in $(EXTRA_HOST_FLAGS) ; do \
24105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24106 done; \
24107 echo "Doing maintainer-clean in wdiff" ; \
24108 (cd $(HOST_SUBDIR)/wdiff && \
24109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24111 "RANLIB=$${RANLIB}" \
24112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24113 maintainer-clean) \
24114 || exit 1
24116 @endif wdiff
24120 .PHONY: configure-zip maybe-configure-zip
24121 maybe-configure-zip:
24122 @if zip
24123 maybe-configure-zip: configure-zip
24124 configure-zip:
24125 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
24126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
24127 r=`${PWD_COMMAND}`; export r; \
24128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24129 $(HOST_EXPORTS) \
24130 echo Configuring in $(HOST_SUBDIR)/zip; \
24131 cd "$(HOST_SUBDIR)/zip" || exit 1; \
24132 case $(srcdir) in \
24133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24134 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
24135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24136 esac; \
24137 srcdiroption="--srcdir=$${topdir}/zip"; \
24138 libsrcdir="$$s/zip"; \
24139 $(SHELL) $${libsrcdir}/configure \
24140 $(HOST_CONFIGARGS) $${srcdiroption} \
24141 || exit 1
24142 @endif zip
24148 .PHONY: all-zip maybe-all-zip
24149 maybe-all-zip:
24150 @if zip
24151 TARGET-zip=all
24152 maybe-all-zip: all-zip
24153 all-zip: configure-zip
24154 @r=`${PWD_COMMAND}`; export r; \
24155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24156 $(HOST_EXPORTS) \
24157 (cd $(HOST_SUBDIR)/zip && \
24158 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
24159 @endif zip
24164 .PHONY: check-zip maybe-check-zip
24165 maybe-check-zip:
24166 @if zip
24167 maybe-check-zip: check-zip
24169 # This module is only tested in a native toolchain.
24170 check-zip:
24171 @if [ '$(host)' = '$(target)' ] ; then \
24172 r=`${PWD_COMMAND}`; export r; \
24173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24174 $(HOST_EXPORTS) \
24175 (cd $(HOST_SUBDIR)/zip && \
24176 $(MAKE) $(FLAGS_TO_PASS) check); \
24179 @endif zip
24181 .PHONY: install-zip maybe-install-zip
24182 maybe-install-zip:
24183 @if zip
24184 maybe-install-zip: install-zip
24186 install-zip: installdirs
24187 @r=`${PWD_COMMAND}`; export r; \
24188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24189 $(HOST_EXPORTS) \
24190 (cd $(HOST_SUBDIR)/zip && \
24191 $(MAKE) $(FLAGS_TO_PASS) install)
24193 @endif zip
24195 # Other targets (info, dvi, etc.)
24197 .PHONY: maybe-info-zip info-zip
24198 maybe-info-zip:
24199 @if zip
24200 maybe-info-zip: info-zip
24202 info-zip: \
24203 configure-zip
24204 @[ -f ./zip/Makefile ] || exit 0; \
24205 r=`${PWD_COMMAND}`; export r; \
24206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24207 $(HOST_EXPORTS) \
24208 for flag in $(EXTRA_HOST_FLAGS) ; do \
24209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24210 done; \
24211 echo "Doing info in zip" ; \
24212 (cd $(HOST_SUBDIR)/zip && \
24213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24215 "RANLIB=$${RANLIB}" \
24216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24217 info) \
24218 || exit 1
24220 @endif zip
24222 .PHONY: maybe-dvi-zip dvi-zip
24223 maybe-dvi-zip:
24224 @if zip
24225 maybe-dvi-zip: dvi-zip
24227 dvi-zip: \
24228 configure-zip
24229 @[ -f ./zip/Makefile ] || exit 0; \
24230 r=`${PWD_COMMAND}`; export r; \
24231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24232 $(HOST_EXPORTS) \
24233 for flag in $(EXTRA_HOST_FLAGS) ; do \
24234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24235 done; \
24236 echo "Doing dvi in zip" ; \
24237 (cd $(HOST_SUBDIR)/zip && \
24238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24240 "RANLIB=$${RANLIB}" \
24241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24242 dvi) \
24243 || exit 1
24245 @endif zip
24247 .PHONY: maybe-html-zip html-zip
24248 maybe-html-zip:
24249 @if zip
24250 maybe-html-zip: html-zip
24252 html-zip: \
24253 configure-zip
24254 @[ -f ./zip/Makefile ] || exit 0; \
24255 r=`${PWD_COMMAND}`; export r; \
24256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24257 $(HOST_EXPORTS) \
24258 for flag in $(EXTRA_HOST_FLAGS) ; do \
24259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24260 done; \
24261 echo "Doing html in zip" ; \
24262 (cd $(HOST_SUBDIR)/zip && \
24263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24265 "RANLIB=$${RANLIB}" \
24266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24267 html) \
24268 || exit 1
24270 @endif zip
24272 .PHONY: maybe-TAGS-zip TAGS-zip
24273 maybe-TAGS-zip:
24274 @if zip
24275 maybe-TAGS-zip: TAGS-zip
24277 TAGS-zip: \
24278 configure-zip
24279 @[ -f ./zip/Makefile ] || exit 0; \
24280 r=`${PWD_COMMAND}`; export r; \
24281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24282 $(HOST_EXPORTS) \
24283 for flag in $(EXTRA_HOST_FLAGS) ; do \
24284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24285 done; \
24286 echo "Doing TAGS in zip" ; \
24287 (cd $(HOST_SUBDIR)/zip && \
24288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24290 "RANLIB=$${RANLIB}" \
24291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24292 TAGS) \
24293 || exit 1
24295 @endif zip
24297 .PHONY: maybe-install-info-zip install-info-zip
24298 maybe-install-info-zip:
24299 @if zip
24300 maybe-install-info-zip: install-info-zip
24302 install-info-zip: \
24303 configure-zip \
24304 info-zip
24305 @[ -f ./zip/Makefile ] || exit 0; \
24306 r=`${PWD_COMMAND}`; export r; \
24307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24308 $(HOST_EXPORTS) \
24309 for flag in $(EXTRA_HOST_FLAGS) ; do \
24310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24311 done; \
24312 echo "Doing install-info in zip" ; \
24313 (cd $(HOST_SUBDIR)/zip && \
24314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24316 "RANLIB=$${RANLIB}" \
24317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24318 install-info) \
24319 || exit 1
24321 @endif zip
24323 .PHONY: maybe-installcheck-zip installcheck-zip
24324 maybe-installcheck-zip:
24325 @if zip
24326 maybe-installcheck-zip: installcheck-zip
24328 installcheck-zip: \
24329 configure-zip
24330 @[ -f ./zip/Makefile ] || exit 0; \
24331 r=`${PWD_COMMAND}`; export r; \
24332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24333 $(HOST_EXPORTS) \
24334 for flag in $(EXTRA_HOST_FLAGS) ; do \
24335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24336 done; \
24337 echo "Doing installcheck in zip" ; \
24338 (cd $(HOST_SUBDIR)/zip && \
24339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24341 "RANLIB=$${RANLIB}" \
24342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24343 installcheck) \
24344 || exit 1
24346 @endif zip
24348 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
24349 maybe-mostlyclean-zip:
24350 @if zip
24351 maybe-mostlyclean-zip: mostlyclean-zip
24353 mostlyclean-zip:
24354 @[ -f ./zip/Makefile ] || exit 0; \
24355 r=`${PWD_COMMAND}`; export r; \
24356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24357 $(HOST_EXPORTS) \
24358 for flag in $(EXTRA_HOST_FLAGS) ; do \
24359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24360 done; \
24361 echo "Doing mostlyclean in zip" ; \
24362 (cd $(HOST_SUBDIR)/zip && \
24363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24365 "RANLIB=$${RANLIB}" \
24366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24367 mostlyclean) \
24368 || exit 1
24370 @endif zip
24372 .PHONY: maybe-clean-zip clean-zip
24373 maybe-clean-zip:
24374 @if zip
24375 maybe-clean-zip: clean-zip
24377 clean-zip:
24378 @[ -f ./zip/Makefile ] || exit 0; \
24379 r=`${PWD_COMMAND}`; export r; \
24380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24381 $(HOST_EXPORTS) \
24382 for flag in $(EXTRA_HOST_FLAGS) ; do \
24383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24384 done; \
24385 echo "Doing clean in zip" ; \
24386 (cd $(HOST_SUBDIR)/zip && \
24387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24389 "RANLIB=$${RANLIB}" \
24390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24391 clean) \
24392 || exit 1
24394 @endif zip
24396 .PHONY: maybe-distclean-zip distclean-zip
24397 maybe-distclean-zip:
24398 @if zip
24399 maybe-distclean-zip: distclean-zip
24401 distclean-zip:
24402 @[ -f ./zip/Makefile ] || exit 0; \
24403 r=`${PWD_COMMAND}`; export r; \
24404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24405 $(HOST_EXPORTS) \
24406 for flag in $(EXTRA_HOST_FLAGS) ; do \
24407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24408 done; \
24409 echo "Doing distclean in zip" ; \
24410 (cd $(HOST_SUBDIR)/zip && \
24411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24413 "RANLIB=$${RANLIB}" \
24414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24415 distclean) \
24416 || exit 1
24418 @endif zip
24420 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
24421 maybe-maintainer-clean-zip:
24422 @if zip
24423 maybe-maintainer-clean-zip: maintainer-clean-zip
24425 maintainer-clean-zip:
24426 @[ -f ./zip/Makefile ] || exit 0; \
24427 r=`${PWD_COMMAND}`; export r; \
24428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24429 $(HOST_EXPORTS) \
24430 for flag in $(EXTRA_HOST_FLAGS) ; do \
24431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24432 done; \
24433 echo "Doing maintainer-clean in zip" ; \
24434 (cd $(HOST_SUBDIR)/zip && \
24435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24437 "RANLIB=$${RANLIB}" \
24438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24439 maintainer-clean) \
24440 || exit 1
24442 @endif zip
24446 .PHONY: configure-zlib maybe-configure-zlib
24447 maybe-configure-zlib:
24448 @if zlib
24449 maybe-configure-zlib: configure-zlib
24450 configure-zlib:
24451 @test -f stage_last && exit 0; \
24452 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
24453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
24454 r=`${PWD_COMMAND}`; export r; \
24455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24456 $(HOST_EXPORTS) \
24457 echo Configuring in $(HOST_SUBDIR)/zlib; \
24458 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
24459 case $(srcdir) in \
24460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24461 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24463 esac; \
24464 srcdiroption="--srcdir=$${topdir}/zlib"; \
24465 libsrcdir="$$s/zlib"; \
24466 $(SHELL) $${libsrcdir}/configure \
24467 $(HOST_CONFIGARGS) $${srcdiroption} \
24468 || exit 1
24469 @endif zlib
24473 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
24474 maybe-configure-stage1-zlib:
24475 @if zlib-bootstrap
24476 maybe-configure-stage1-zlib: configure-stage1-zlib
24477 configure-stage1-zlib:
24478 @$(MAKE) stage1-start
24479 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24480 r=`${PWD_COMMAND}`; export r; \
24481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24482 $(HOST_EXPORTS) \
24483 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
24484 cd $(HOST_SUBDIR)/zlib || exit 1; \
24485 case $(srcdir) in \
24486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24487 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24489 esac; \
24490 srcdiroption="--srcdir=$${topdir}/zlib"; \
24491 libsrcdir="$$s/zlib"; \
24492 $(SHELL) $${libsrcdir}/configure \
24493 $(HOST_CONFIGARGS) $${srcdiroption} \
24494 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
24495 @endif zlib-bootstrap
24497 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
24498 maybe-configure-stage2-zlib:
24499 @if zlib-bootstrap
24500 maybe-configure-stage2-zlib: configure-stage2-zlib
24501 configure-stage2-zlib:
24502 @$(MAKE) stage2-start
24503 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24504 r=`${PWD_COMMAND}`; export r; \
24505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24506 $(HOST_EXPORTS) \
24507 $(POSTSTAGE1_HOST_EXPORTS) \
24508 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
24509 cd $(HOST_SUBDIR)/zlib || exit 1; \
24510 case $(srcdir) in \
24511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24512 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24514 esac; \
24515 srcdiroption="--srcdir=$${topdir}/zlib"; \
24516 libsrcdir="$$s/zlib"; \
24517 $(SHELL) $${libsrcdir}/configure \
24518 $(HOST_CONFIGARGS) $${srcdiroption} \
24519 @stage2_werror_flag@
24520 @endif zlib-bootstrap
24522 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
24523 maybe-configure-stage3-zlib:
24524 @if zlib-bootstrap
24525 maybe-configure-stage3-zlib: configure-stage3-zlib
24526 configure-stage3-zlib:
24527 @$(MAKE) stage3-start
24528 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24529 r=`${PWD_COMMAND}`; export r; \
24530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24531 $(HOST_EXPORTS) \
24532 $(POSTSTAGE1_HOST_EXPORTS) \
24533 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
24534 cd $(HOST_SUBDIR)/zlib || exit 1; \
24535 case $(srcdir) in \
24536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24537 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24539 esac; \
24540 srcdiroption="--srcdir=$${topdir}/zlib"; \
24541 libsrcdir="$$s/zlib"; \
24542 $(SHELL) $${libsrcdir}/configure \
24543 $(HOST_CONFIGARGS) $${srcdiroption} \
24544 @stage2_werror_flag@
24545 @endif zlib-bootstrap
24547 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
24548 maybe-configure-stage4-zlib:
24549 @if zlib-bootstrap
24550 maybe-configure-stage4-zlib: configure-stage4-zlib
24551 configure-stage4-zlib:
24552 @$(MAKE) stage4-start
24553 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24554 r=`${PWD_COMMAND}`; export r; \
24555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24556 $(HOST_EXPORTS) \
24557 $(POSTSTAGE1_HOST_EXPORTS) \
24558 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
24559 cd $(HOST_SUBDIR)/zlib || exit 1; \
24560 case $(srcdir) in \
24561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24562 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24564 esac; \
24565 srcdiroption="--srcdir=$${topdir}/zlib"; \
24566 libsrcdir="$$s/zlib"; \
24567 $(SHELL) $${libsrcdir}/configure \
24568 $(HOST_CONFIGARGS) $${srcdiroption} \
24569 @stage2_werror_flag@
24570 @endif zlib-bootstrap
24572 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
24573 maybe-configure-stageprofile-zlib:
24574 @if zlib-bootstrap
24575 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
24576 configure-stageprofile-zlib:
24577 @$(MAKE) stageprofile-start
24578 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24579 r=`${PWD_COMMAND}`; export r; \
24580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24581 $(HOST_EXPORTS) \
24582 $(POSTSTAGE1_HOST_EXPORTS) \
24583 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
24584 cd $(HOST_SUBDIR)/zlib || exit 1; \
24585 case $(srcdir) in \
24586 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24587 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24588 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24589 esac; \
24590 srcdiroption="--srcdir=$${topdir}/zlib"; \
24591 libsrcdir="$$s/zlib"; \
24592 $(SHELL) $${libsrcdir}/configure \
24593 $(HOST_CONFIGARGS) $${srcdiroption} \
24594 @stage2_werror_flag@
24595 @endif zlib-bootstrap
24597 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
24598 maybe-configure-stagefeedback-zlib:
24599 @if zlib-bootstrap
24600 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
24601 configure-stagefeedback-zlib:
24602 @$(MAKE) stagefeedback-start
24603 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
24604 r=`${PWD_COMMAND}`; export r; \
24605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24606 $(HOST_EXPORTS) \
24607 $(POSTSTAGE1_HOST_EXPORTS) \
24608 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
24609 cd $(HOST_SUBDIR)/zlib || exit 1; \
24610 case $(srcdir) in \
24611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24612 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
24613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24614 esac; \
24615 srcdiroption="--srcdir=$${topdir}/zlib"; \
24616 libsrcdir="$$s/zlib"; \
24617 $(SHELL) $${libsrcdir}/configure \
24618 $(HOST_CONFIGARGS) $${srcdiroption} \
24619 @stage2_werror_flag@
24620 @endif zlib-bootstrap
24626 .PHONY: all-zlib maybe-all-zlib
24627 maybe-all-zlib:
24628 @if zlib
24629 TARGET-zlib=all
24630 maybe-all-zlib: all-zlib
24631 all-zlib: configure-zlib
24632 @test -f stage_last && exit 0; \
24633 r=`${PWD_COMMAND}`; export r; \
24634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24635 $(HOST_EXPORTS) \
24636 (cd $(HOST_SUBDIR)/zlib && \
24637 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
24638 @endif zlib
24642 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
24643 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
24644 maybe-all-stage1-zlib:
24645 maybe-clean-stage1-zlib:
24646 @if zlib-bootstrap
24647 maybe-all-stage1-zlib: all-stage1-zlib
24648 all-stage1: all-stage1-zlib
24649 all-stage1-zlib: configure-stage1-zlib
24650 @$(MAKE) stage1-start
24651 @r=`${PWD_COMMAND}`; export r; \
24652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24653 $(HOST_EXPORTS) \
24654 cd $(HOST_SUBDIR)/zlib && \
24655 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)"
24657 maybe-clean-stage1-zlib: clean-stage1-zlib
24658 clean-stage1: clean-stage1-zlib
24659 clean-stage1-zlib:
24660 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
24661 || exit 0 ; \
24662 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage1-start ; \
24663 cd $(HOST_SUBDIR)/zlib && \
24664 $(MAKE) $(FLAGS_TO_PASS) \
24665 CFLAGS="$(STAGE1_CFLAGS)" clean
24666 @endif zlib-bootstrap
24669 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
24670 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
24671 maybe-all-stage2-zlib:
24672 maybe-clean-stage2-zlib:
24673 @if zlib-bootstrap
24674 maybe-all-stage2-zlib: all-stage2-zlib
24675 all-stage2: all-stage2-zlib
24676 all-stage2-zlib: configure-stage2-zlib
24677 @$(MAKE) stage2-start
24678 @r=`${PWD_COMMAND}`; export r; \
24679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24680 $(HOST_EXPORTS) \
24681 $(POSTSTAGE1_HOST_EXPORTS) \
24682 cd $(HOST_SUBDIR)/zlib && \
24683 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24685 maybe-clean-stage2-zlib: clean-stage2-zlib
24686 clean-stage2: clean-stage2-zlib
24687 clean-stage2-zlib:
24688 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
24689 || exit 0 ; \
24690 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage2-start ; \
24691 cd $(HOST_SUBDIR)/zlib && \
24692 $(MAKE) $(FLAGS_TO_PASS) \
24693 $(POSTSTAGE1_FLAGS_TO_PASS) \
24694 clean
24695 @endif zlib-bootstrap
24698 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
24699 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
24700 maybe-all-stage3-zlib:
24701 maybe-clean-stage3-zlib:
24702 @if zlib-bootstrap
24703 maybe-all-stage3-zlib: all-stage3-zlib
24704 all-stage3: all-stage3-zlib
24705 all-stage3-zlib: configure-stage3-zlib
24706 @$(MAKE) stage3-start
24707 @r=`${PWD_COMMAND}`; export r; \
24708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24709 $(HOST_EXPORTS) \
24710 $(POSTSTAGE1_HOST_EXPORTS) \
24711 cd $(HOST_SUBDIR)/zlib && \
24712 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24714 maybe-clean-stage3-zlib: clean-stage3-zlib
24715 clean-stage3: clean-stage3-zlib
24716 clean-stage3-zlib:
24717 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
24718 || exit 0 ; \
24719 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage3-start ; \
24720 cd $(HOST_SUBDIR)/zlib && \
24721 $(MAKE) $(FLAGS_TO_PASS) \
24722 $(POSTSTAGE1_FLAGS_TO_PASS) \
24723 clean
24724 @endif zlib-bootstrap
24727 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
24728 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
24729 maybe-all-stage4-zlib:
24730 maybe-clean-stage4-zlib:
24731 @if zlib-bootstrap
24732 maybe-all-stage4-zlib: all-stage4-zlib
24733 all-stage4: all-stage4-zlib
24734 all-stage4-zlib: configure-stage4-zlib
24735 @$(MAKE) stage4-start
24736 @r=`${PWD_COMMAND}`; export r; \
24737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24738 $(HOST_EXPORTS) \
24739 $(POSTSTAGE1_HOST_EXPORTS) \
24740 cd $(HOST_SUBDIR)/zlib && \
24741 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS)
24743 maybe-clean-stage4-zlib: clean-stage4-zlib
24744 clean-stage4: clean-stage4-zlib
24745 clean-stage4-zlib:
24746 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
24747 || exit 0 ; \
24748 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stage4-start ; \
24749 cd $(HOST_SUBDIR)/zlib && \
24750 $(MAKE) $(FLAGS_TO_PASS) \
24751 $(POSTSTAGE1_FLAGS_TO_PASS) \
24752 clean
24753 @endif zlib-bootstrap
24756 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
24757 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
24758 maybe-all-stageprofile-zlib:
24759 maybe-clean-stageprofile-zlib:
24760 @if zlib-bootstrap
24761 maybe-all-stageprofile-zlib: all-stageprofile-zlib
24762 all-stageprofile: all-stageprofile-zlib
24763 all-stageprofile-zlib: configure-stageprofile-zlib
24764 @$(MAKE) stageprofile-start
24765 @r=`${PWD_COMMAND}`; export r; \
24766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24767 $(HOST_EXPORTS) \
24768 $(POSTSTAGE1_HOST_EXPORTS) \
24769 cd $(HOST_SUBDIR)/zlib && \
24770 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
24772 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
24773 clean-stageprofile: clean-stageprofile-zlib
24774 clean-stageprofile-zlib:
24775 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
24776 || exit 0 ; \
24777 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stageprofile-start ; \
24778 cd $(HOST_SUBDIR)/zlib && \
24779 $(MAKE) $(FLAGS_TO_PASS) \
24780 $(POSTSTAGE1_FLAGS_TO_PASS) \
24781 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
24782 @endif zlib-bootstrap
24785 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
24786 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
24787 maybe-all-stagefeedback-zlib:
24788 maybe-clean-stagefeedback-zlib:
24789 @if zlib-bootstrap
24790 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
24791 all-stagefeedback: all-stagefeedback-zlib
24792 all-stagefeedback-zlib: configure-stagefeedback-zlib
24793 @$(MAKE) stagefeedback-start
24794 @r=`${PWD_COMMAND}`; export r; \
24795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24796 $(HOST_EXPORTS) \
24797 $(POSTSTAGE1_HOST_EXPORTS) \
24798 cd $(HOST_SUBDIR)/zlib && \
24799 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
24801 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
24802 clean-stagefeedback: clean-stagefeedback-zlib
24803 clean-stagefeedback-zlib:
24804 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
24805 || exit 0 ; \
24806 [ -f $(HOST_SUBDIR)/zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
24807 cd $(HOST_SUBDIR)/zlib && \
24808 $(MAKE) $(FLAGS_TO_PASS) \
24809 $(POSTSTAGE1_FLAGS_TO_PASS) \
24810 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
24811 @endif zlib-bootstrap
24817 .PHONY: check-zlib maybe-check-zlib
24818 maybe-check-zlib:
24819 @if zlib
24820 maybe-check-zlib: check-zlib
24822 check-zlib:
24824 @endif zlib
24826 .PHONY: install-zlib maybe-install-zlib
24827 maybe-install-zlib:
24828 @if zlib
24829 maybe-install-zlib: install-zlib
24831 install-zlib:
24833 @endif zlib
24835 # Other targets (info, dvi, etc.)
24837 .PHONY: maybe-info-zlib info-zlib
24838 maybe-info-zlib:
24839 @if zlib
24840 maybe-info-zlib: info-zlib
24842 info-zlib: \
24843 configure-zlib
24844 @[ -f ./zlib/Makefile ] || exit 0; \
24845 r=`${PWD_COMMAND}`; export r; \
24846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24847 $(HOST_EXPORTS) \
24848 for flag in $(EXTRA_HOST_FLAGS) ; do \
24849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24850 done; \
24851 echo "Doing info in zlib" ; \
24852 (cd $(HOST_SUBDIR)/zlib && \
24853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24855 "RANLIB=$${RANLIB}" \
24856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24857 info) \
24858 || exit 1
24860 @endif zlib
24862 .PHONY: maybe-dvi-zlib dvi-zlib
24863 maybe-dvi-zlib:
24864 @if zlib
24865 maybe-dvi-zlib: dvi-zlib
24867 dvi-zlib: \
24868 configure-zlib
24869 @[ -f ./zlib/Makefile ] || exit 0; \
24870 r=`${PWD_COMMAND}`; export r; \
24871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24872 $(HOST_EXPORTS) \
24873 for flag in $(EXTRA_HOST_FLAGS) ; do \
24874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24875 done; \
24876 echo "Doing dvi in zlib" ; \
24877 (cd $(HOST_SUBDIR)/zlib && \
24878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24880 "RANLIB=$${RANLIB}" \
24881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24882 dvi) \
24883 || exit 1
24885 @endif zlib
24887 .PHONY: maybe-html-zlib html-zlib
24888 maybe-html-zlib:
24889 @if zlib
24890 maybe-html-zlib: html-zlib
24892 html-zlib: \
24893 configure-zlib
24894 @[ -f ./zlib/Makefile ] || exit 0; \
24895 r=`${PWD_COMMAND}`; export r; \
24896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24897 $(HOST_EXPORTS) \
24898 for flag in $(EXTRA_HOST_FLAGS) ; do \
24899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24900 done; \
24901 echo "Doing html in zlib" ; \
24902 (cd $(HOST_SUBDIR)/zlib && \
24903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24905 "RANLIB=$${RANLIB}" \
24906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24907 html) \
24908 || exit 1
24910 @endif zlib
24912 .PHONY: maybe-TAGS-zlib TAGS-zlib
24913 maybe-TAGS-zlib:
24914 @if zlib
24915 maybe-TAGS-zlib: TAGS-zlib
24917 TAGS-zlib: \
24918 configure-zlib
24919 @[ -f ./zlib/Makefile ] || exit 0; \
24920 r=`${PWD_COMMAND}`; export r; \
24921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24922 $(HOST_EXPORTS) \
24923 for flag in $(EXTRA_HOST_FLAGS) ; do \
24924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24925 done; \
24926 echo "Doing TAGS in zlib" ; \
24927 (cd $(HOST_SUBDIR)/zlib && \
24928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24930 "RANLIB=$${RANLIB}" \
24931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24932 TAGS) \
24933 || exit 1
24935 @endif zlib
24937 .PHONY: maybe-install-info-zlib install-info-zlib
24938 maybe-install-info-zlib:
24939 @if zlib
24940 maybe-install-info-zlib: install-info-zlib
24942 install-info-zlib: \
24943 configure-zlib \
24944 info-zlib
24945 @[ -f ./zlib/Makefile ] || exit 0; \
24946 r=`${PWD_COMMAND}`; export r; \
24947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24948 $(HOST_EXPORTS) \
24949 for flag in $(EXTRA_HOST_FLAGS) ; do \
24950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24951 done; \
24952 echo "Doing install-info in zlib" ; \
24953 (cd $(HOST_SUBDIR)/zlib && \
24954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24956 "RANLIB=$${RANLIB}" \
24957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24958 install-info) \
24959 || exit 1
24961 @endif zlib
24963 .PHONY: maybe-installcheck-zlib installcheck-zlib
24964 maybe-installcheck-zlib:
24965 @if zlib
24966 maybe-installcheck-zlib: installcheck-zlib
24968 installcheck-zlib: \
24969 configure-zlib
24970 @[ -f ./zlib/Makefile ] || exit 0; \
24971 r=`${PWD_COMMAND}`; export r; \
24972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24973 $(HOST_EXPORTS) \
24974 for flag in $(EXTRA_HOST_FLAGS) ; do \
24975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24976 done; \
24977 echo "Doing installcheck in zlib" ; \
24978 (cd $(HOST_SUBDIR)/zlib && \
24979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24981 "RANLIB=$${RANLIB}" \
24982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24983 installcheck) \
24984 || exit 1
24986 @endif zlib
24988 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
24989 maybe-mostlyclean-zlib:
24990 @if zlib
24991 maybe-mostlyclean-zlib: mostlyclean-zlib
24993 mostlyclean-zlib:
24994 @[ -f ./zlib/Makefile ] || exit 0; \
24995 r=`${PWD_COMMAND}`; export r; \
24996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24997 $(HOST_EXPORTS) \
24998 for flag in $(EXTRA_HOST_FLAGS) ; do \
24999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25000 done; \
25001 echo "Doing mostlyclean in zlib" ; \
25002 (cd $(HOST_SUBDIR)/zlib && \
25003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25005 "RANLIB=$${RANLIB}" \
25006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25007 mostlyclean) \
25008 || exit 1
25010 @endif zlib
25012 .PHONY: maybe-clean-zlib clean-zlib
25013 maybe-clean-zlib:
25014 @if zlib
25015 maybe-clean-zlib: clean-zlib
25017 clean-zlib:
25018 @[ -f ./zlib/Makefile ] || exit 0; \
25019 r=`${PWD_COMMAND}`; export r; \
25020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25021 $(HOST_EXPORTS) \
25022 for flag in $(EXTRA_HOST_FLAGS) ; do \
25023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25024 done; \
25025 echo "Doing clean in zlib" ; \
25026 (cd $(HOST_SUBDIR)/zlib && \
25027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25029 "RANLIB=$${RANLIB}" \
25030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25031 clean) \
25032 || exit 1
25034 @endif zlib
25036 .PHONY: maybe-distclean-zlib distclean-zlib
25037 maybe-distclean-zlib:
25038 @if zlib
25039 maybe-distclean-zlib: distclean-zlib
25041 distclean-zlib:
25042 @[ -f ./zlib/Makefile ] || exit 0; \
25043 r=`${PWD_COMMAND}`; export r; \
25044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25045 $(HOST_EXPORTS) \
25046 for flag in $(EXTRA_HOST_FLAGS) ; do \
25047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25048 done; \
25049 echo "Doing distclean in zlib" ; \
25050 (cd $(HOST_SUBDIR)/zlib && \
25051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25053 "RANLIB=$${RANLIB}" \
25054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25055 distclean) \
25056 || exit 1
25058 @endif zlib
25060 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
25061 maybe-maintainer-clean-zlib:
25062 @if zlib
25063 maybe-maintainer-clean-zlib: maintainer-clean-zlib
25065 maintainer-clean-zlib:
25066 @[ -f ./zlib/Makefile ] || exit 0; \
25067 r=`${PWD_COMMAND}`; export r; \
25068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25069 $(HOST_EXPORTS) \
25070 for flag in $(EXTRA_HOST_FLAGS) ; do \
25071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25072 done; \
25073 echo "Doing maintainer-clean in zlib" ; \
25074 (cd $(HOST_SUBDIR)/zlib && \
25075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25077 "RANLIB=$${RANLIB}" \
25078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25079 maintainer-clean) \
25080 || exit 1
25082 @endif zlib
25086 .PHONY: configure-gdb maybe-configure-gdb
25087 maybe-configure-gdb:
25088 @if gdb
25089 maybe-configure-gdb: configure-gdb
25090 configure-gdb:
25091 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
25092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
25093 r=`${PWD_COMMAND}`; export r; \
25094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25095 $(HOST_EXPORTS) \
25096 echo Configuring in $(HOST_SUBDIR)/gdb; \
25097 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
25098 case $(srcdir) in \
25099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25100 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
25101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25102 esac; \
25103 srcdiroption="--srcdir=$${topdir}/gdb"; \
25104 libsrcdir="$$s/gdb"; \
25105 $(SHELL) $${libsrcdir}/configure \
25106 $(HOST_CONFIGARGS) $${srcdiroption} \
25107 || exit 1
25108 @endif gdb
25114 .PHONY: all-gdb maybe-all-gdb
25115 maybe-all-gdb:
25116 @if gdb
25117 TARGET-gdb=all
25118 maybe-all-gdb: all-gdb
25119 all-gdb: configure-gdb
25120 @r=`${PWD_COMMAND}`; export r; \
25121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25122 $(HOST_EXPORTS) \
25123 (cd $(HOST_SUBDIR)/gdb && \
25124 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
25125 @endif gdb
25130 .PHONY: check-gdb maybe-check-gdb
25131 maybe-check-gdb:
25132 @if gdb
25133 maybe-check-gdb: check-gdb
25135 check-gdb:
25136 @r=`${PWD_COMMAND}`; export r; \
25137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25138 $(HOST_EXPORTS) \
25139 (cd $(HOST_SUBDIR)/gdb && \
25140 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25142 @endif gdb
25144 .PHONY: install-gdb maybe-install-gdb
25145 maybe-install-gdb:
25146 @if gdb
25147 maybe-install-gdb: install-gdb
25149 install-gdb: installdirs
25150 @r=`${PWD_COMMAND}`; export r; \
25151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25152 $(HOST_EXPORTS) \
25153 (cd $(HOST_SUBDIR)/gdb && \
25154 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25156 @endif gdb
25158 # Other targets (info, dvi, etc.)
25160 .PHONY: maybe-info-gdb info-gdb
25161 maybe-info-gdb:
25162 @if gdb
25163 maybe-info-gdb: info-gdb
25165 info-gdb: \
25166 configure-gdb
25167 @[ -f ./gdb/Makefile ] || exit 0; \
25168 r=`${PWD_COMMAND}`; export r; \
25169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25170 $(HOST_EXPORTS) \
25171 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25173 done; \
25174 echo "Doing info in gdb" ; \
25175 (cd $(HOST_SUBDIR)/gdb && \
25176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25178 "RANLIB=$${RANLIB}" \
25179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25180 info) \
25181 || exit 1
25183 @endif gdb
25185 .PHONY: maybe-dvi-gdb dvi-gdb
25186 maybe-dvi-gdb:
25187 @if gdb
25188 maybe-dvi-gdb: dvi-gdb
25190 dvi-gdb: \
25191 configure-gdb
25192 @[ -f ./gdb/Makefile ] || exit 0; \
25193 r=`${PWD_COMMAND}`; export r; \
25194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25195 $(HOST_EXPORTS) \
25196 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25198 done; \
25199 echo "Doing dvi in gdb" ; \
25200 (cd $(HOST_SUBDIR)/gdb && \
25201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25203 "RANLIB=$${RANLIB}" \
25204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25205 dvi) \
25206 || exit 1
25208 @endif gdb
25210 .PHONY: maybe-html-gdb html-gdb
25211 maybe-html-gdb:
25212 @if gdb
25213 maybe-html-gdb: html-gdb
25215 html-gdb: \
25216 configure-gdb
25217 @[ -f ./gdb/Makefile ] || exit 0; \
25218 r=`${PWD_COMMAND}`; export r; \
25219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25220 $(HOST_EXPORTS) \
25221 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25223 done; \
25224 echo "Doing html in gdb" ; \
25225 (cd $(HOST_SUBDIR)/gdb && \
25226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25228 "RANLIB=$${RANLIB}" \
25229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25230 html) \
25231 || exit 1
25233 @endif gdb
25235 .PHONY: maybe-TAGS-gdb TAGS-gdb
25236 maybe-TAGS-gdb:
25237 @if gdb
25238 maybe-TAGS-gdb: TAGS-gdb
25240 TAGS-gdb: \
25241 configure-gdb
25242 @[ -f ./gdb/Makefile ] || exit 0; \
25243 r=`${PWD_COMMAND}`; export r; \
25244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25245 $(HOST_EXPORTS) \
25246 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25248 done; \
25249 echo "Doing TAGS in gdb" ; \
25250 (cd $(HOST_SUBDIR)/gdb && \
25251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25253 "RANLIB=$${RANLIB}" \
25254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25255 TAGS) \
25256 || exit 1
25258 @endif gdb
25260 .PHONY: maybe-install-info-gdb install-info-gdb
25261 maybe-install-info-gdb:
25262 @if gdb
25263 maybe-install-info-gdb: install-info-gdb
25265 install-info-gdb: \
25266 configure-gdb \
25267 info-gdb
25268 @[ -f ./gdb/Makefile ] || exit 0; \
25269 r=`${PWD_COMMAND}`; export r; \
25270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25271 $(HOST_EXPORTS) \
25272 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25274 done; \
25275 echo "Doing install-info in gdb" ; \
25276 (cd $(HOST_SUBDIR)/gdb && \
25277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25279 "RANLIB=$${RANLIB}" \
25280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25281 install-info) \
25282 || exit 1
25284 @endif gdb
25286 .PHONY: maybe-installcheck-gdb installcheck-gdb
25287 maybe-installcheck-gdb:
25288 @if gdb
25289 maybe-installcheck-gdb: installcheck-gdb
25291 installcheck-gdb: \
25292 configure-gdb
25293 @[ -f ./gdb/Makefile ] || exit 0; \
25294 r=`${PWD_COMMAND}`; export r; \
25295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25296 $(HOST_EXPORTS) \
25297 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25299 done; \
25300 echo "Doing installcheck in gdb" ; \
25301 (cd $(HOST_SUBDIR)/gdb && \
25302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25304 "RANLIB=$${RANLIB}" \
25305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25306 installcheck) \
25307 || exit 1
25309 @endif gdb
25311 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
25312 maybe-mostlyclean-gdb:
25313 @if gdb
25314 maybe-mostlyclean-gdb: mostlyclean-gdb
25316 mostlyclean-gdb:
25317 @[ -f ./gdb/Makefile ] || exit 0; \
25318 r=`${PWD_COMMAND}`; export r; \
25319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25320 $(HOST_EXPORTS) \
25321 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25323 done; \
25324 echo "Doing mostlyclean in gdb" ; \
25325 (cd $(HOST_SUBDIR)/gdb && \
25326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25328 "RANLIB=$${RANLIB}" \
25329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25330 mostlyclean) \
25331 || exit 1
25333 @endif gdb
25335 .PHONY: maybe-clean-gdb clean-gdb
25336 maybe-clean-gdb:
25337 @if gdb
25338 maybe-clean-gdb: clean-gdb
25340 clean-gdb:
25341 @[ -f ./gdb/Makefile ] || exit 0; \
25342 r=`${PWD_COMMAND}`; export r; \
25343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25344 $(HOST_EXPORTS) \
25345 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25347 done; \
25348 echo "Doing clean in gdb" ; \
25349 (cd $(HOST_SUBDIR)/gdb && \
25350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25352 "RANLIB=$${RANLIB}" \
25353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25354 clean) \
25355 || exit 1
25357 @endif gdb
25359 .PHONY: maybe-distclean-gdb distclean-gdb
25360 maybe-distclean-gdb:
25361 @if gdb
25362 maybe-distclean-gdb: distclean-gdb
25364 distclean-gdb:
25365 @[ -f ./gdb/Makefile ] || exit 0; \
25366 r=`${PWD_COMMAND}`; export r; \
25367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25368 $(HOST_EXPORTS) \
25369 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25371 done; \
25372 echo "Doing distclean in gdb" ; \
25373 (cd $(HOST_SUBDIR)/gdb && \
25374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25376 "RANLIB=$${RANLIB}" \
25377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25378 distclean) \
25379 || exit 1
25381 @endif gdb
25383 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
25384 maybe-maintainer-clean-gdb:
25385 @if gdb
25386 maybe-maintainer-clean-gdb: maintainer-clean-gdb
25388 maintainer-clean-gdb:
25389 @[ -f ./gdb/Makefile ] || exit 0; \
25390 r=`${PWD_COMMAND}`; export r; \
25391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25392 $(HOST_EXPORTS) \
25393 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25395 done; \
25396 echo "Doing maintainer-clean in gdb" ; \
25397 (cd $(HOST_SUBDIR)/gdb && \
25398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25400 "RANLIB=$${RANLIB}" \
25401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25402 maintainer-clean) \
25403 || exit 1
25405 @endif gdb
25409 .PHONY: configure-expect maybe-configure-expect
25410 maybe-configure-expect:
25411 @if expect
25412 maybe-configure-expect: configure-expect
25413 configure-expect:
25414 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
25415 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
25416 r=`${PWD_COMMAND}`; export r; \
25417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25418 $(HOST_EXPORTS) \
25419 echo Configuring in $(HOST_SUBDIR)/expect; \
25420 cd "$(HOST_SUBDIR)/expect" || exit 1; \
25421 case $(srcdir) in \
25422 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25423 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
25424 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25425 esac; \
25426 srcdiroption="--srcdir=$${topdir}/expect"; \
25427 libsrcdir="$$s/expect"; \
25428 $(SHELL) $${libsrcdir}/configure \
25429 $(HOST_CONFIGARGS) $${srcdiroption} \
25430 || exit 1
25431 @endif expect
25437 .PHONY: all-expect maybe-all-expect
25438 maybe-all-expect:
25439 @if expect
25440 TARGET-expect=all
25441 maybe-all-expect: all-expect
25442 all-expect: configure-expect
25443 @r=`${PWD_COMMAND}`; export r; \
25444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25445 $(HOST_EXPORTS) \
25446 (cd $(HOST_SUBDIR)/expect && \
25447 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
25448 @endif expect
25453 .PHONY: check-expect maybe-check-expect
25454 maybe-check-expect:
25455 @if expect
25456 maybe-check-expect: check-expect
25458 check-expect:
25459 @r=`${PWD_COMMAND}`; export r; \
25460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25461 $(HOST_EXPORTS) \
25462 (cd $(HOST_SUBDIR)/expect && \
25463 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25465 @endif expect
25467 .PHONY: install-expect maybe-install-expect
25468 maybe-install-expect:
25469 @if expect
25470 maybe-install-expect: install-expect
25472 install-expect: installdirs
25473 @r=`${PWD_COMMAND}`; export r; \
25474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25475 $(HOST_EXPORTS) \
25476 (cd $(HOST_SUBDIR)/expect && \
25477 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25479 @endif expect
25481 # Other targets (info, dvi, etc.)
25483 .PHONY: maybe-info-expect info-expect
25484 maybe-info-expect:
25485 @if expect
25486 maybe-info-expect: info-expect
25488 info-expect: \
25489 configure-expect
25490 @[ -f ./expect/Makefile ] || exit 0; \
25491 r=`${PWD_COMMAND}`; export r; \
25492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25493 $(HOST_EXPORTS) \
25494 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25496 done; \
25497 echo "Doing info in expect" ; \
25498 (cd $(HOST_SUBDIR)/expect && \
25499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25501 "RANLIB=$${RANLIB}" \
25502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25503 info) \
25504 || exit 1
25506 @endif expect
25508 .PHONY: maybe-dvi-expect dvi-expect
25509 maybe-dvi-expect:
25510 @if expect
25511 maybe-dvi-expect: dvi-expect
25513 dvi-expect: \
25514 configure-expect
25515 @[ -f ./expect/Makefile ] || exit 0; \
25516 r=`${PWD_COMMAND}`; export r; \
25517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25518 $(HOST_EXPORTS) \
25519 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25521 done; \
25522 echo "Doing dvi in expect" ; \
25523 (cd $(HOST_SUBDIR)/expect && \
25524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25526 "RANLIB=$${RANLIB}" \
25527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25528 dvi) \
25529 || exit 1
25531 @endif expect
25533 .PHONY: maybe-html-expect html-expect
25534 maybe-html-expect:
25535 @if expect
25536 maybe-html-expect: html-expect
25538 html-expect: \
25539 configure-expect
25540 @[ -f ./expect/Makefile ] || exit 0; \
25541 r=`${PWD_COMMAND}`; export r; \
25542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25543 $(HOST_EXPORTS) \
25544 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25546 done; \
25547 echo "Doing html in expect" ; \
25548 (cd $(HOST_SUBDIR)/expect && \
25549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25551 "RANLIB=$${RANLIB}" \
25552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25553 html) \
25554 || exit 1
25556 @endif expect
25558 .PHONY: maybe-TAGS-expect TAGS-expect
25559 maybe-TAGS-expect:
25560 @if expect
25561 maybe-TAGS-expect: TAGS-expect
25563 TAGS-expect: \
25564 configure-expect
25565 @[ -f ./expect/Makefile ] || exit 0; \
25566 r=`${PWD_COMMAND}`; export r; \
25567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25568 $(HOST_EXPORTS) \
25569 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25571 done; \
25572 echo "Doing TAGS in expect" ; \
25573 (cd $(HOST_SUBDIR)/expect && \
25574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25576 "RANLIB=$${RANLIB}" \
25577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25578 TAGS) \
25579 || exit 1
25581 @endif expect
25583 .PHONY: maybe-install-info-expect install-info-expect
25584 maybe-install-info-expect:
25585 @if expect
25586 maybe-install-info-expect: install-info-expect
25588 install-info-expect: \
25589 configure-expect \
25590 info-expect
25591 @[ -f ./expect/Makefile ] || exit 0; \
25592 r=`${PWD_COMMAND}`; export r; \
25593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25594 $(HOST_EXPORTS) \
25595 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25597 done; \
25598 echo "Doing install-info in expect" ; \
25599 (cd $(HOST_SUBDIR)/expect && \
25600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25602 "RANLIB=$${RANLIB}" \
25603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25604 install-info) \
25605 || exit 1
25607 @endif expect
25609 .PHONY: maybe-installcheck-expect installcheck-expect
25610 maybe-installcheck-expect:
25611 @if expect
25612 maybe-installcheck-expect: installcheck-expect
25614 installcheck-expect: \
25615 configure-expect
25616 @[ -f ./expect/Makefile ] || exit 0; \
25617 r=`${PWD_COMMAND}`; export r; \
25618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25619 $(HOST_EXPORTS) \
25620 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25622 done; \
25623 echo "Doing installcheck in expect" ; \
25624 (cd $(HOST_SUBDIR)/expect && \
25625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25627 "RANLIB=$${RANLIB}" \
25628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25629 installcheck) \
25630 || exit 1
25632 @endif expect
25634 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
25635 maybe-mostlyclean-expect:
25636 @if expect
25637 maybe-mostlyclean-expect: mostlyclean-expect
25639 mostlyclean-expect:
25640 @[ -f ./expect/Makefile ] || exit 0; \
25641 r=`${PWD_COMMAND}`; export r; \
25642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25643 $(HOST_EXPORTS) \
25644 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25646 done; \
25647 echo "Doing mostlyclean in expect" ; \
25648 (cd $(HOST_SUBDIR)/expect && \
25649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25651 "RANLIB=$${RANLIB}" \
25652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25653 mostlyclean) \
25654 || exit 1
25656 @endif expect
25658 .PHONY: maybe-clean-expect clean-expect
25659 maybe-clean-expect:
25660 @if expect
25661 maybe-clean-expect: clean-expect
25663 clean-expect:
25664 @[ -f ./expect/Makefile ] || exit 0; \
25665 r=`${PWD_COMMAND}`; export r; \
25666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25667 $(HOST_EXPORTS) \
25668 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25670 done; \
25671 echo "Doing clean in expect" ; \
25672 (cd $(HOST_SUBDIR)/expect && \
25673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25675 "RANLIB=$${RANLIB}" \
25676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25677 clean) \
25678 || exit 1
25680 @endif expect
25682 .PHONY: maybe-distclean-expect distclean-expect
25683 maybe-distclean-expect:
25684 @if expect
25685 maybe-distclean-expect: distclean-expect
25687 distclean-expect:
25688 @[ -f ./expect/Makefile ] || exit 0; \
25689 r=`${PWD_COMMAND}`; export r; \
25690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25691 $(HOST_EXPORTS) \
25692 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25694 done; \
25695 echo "Doing distclean in expect" ; \
25696 (cd $(HOST_SUBDIR)/expect && \
25697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25699 "RANLIB=$${RANLIB}" \
25700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25701 distclean) \
25702 || exit 1
25704 @endif expect
25706 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
25707 maybe-maintainer-clean-expect:
25708 @if expect
25709 maybe-maintainer-clean-expect: maintainer-clean-expect
25711 maintainer-clean-expect:
25712 @[ -f ./expect/Makefile ] || exit 0; \
25713 r=`${PWD_COMMAND}`; export r; \
25714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25715 $(HOST_EXPORTS) \
25716 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25718 done; \
25719 echo "Doing maintainer-clean in expect" ; \
25720 (cd $(HOST_SUBDIR)/expect && \
25721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25723 "RANLIB=$${RANLIB}" \
25724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25725 maintainer-clean) \
25726 || exit 1
25728 @endif expect
25732 .PHONY: configure-guile maybe-configure-guile
25733 maybe-configure-guile:
25734 @if guile
25735 maybe-configure-guile: configure-guile
25736 configure-guile:
25737 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
25738 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
25739 r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 echo Configuring in $(HOST_SUBDIR)/guile; \
25743 cd "$(HOST_SUBDIR)/guile" || exit 1; \
25744 case $(srcdir) in \
25745 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25746 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
25747 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25748 esac; \
25749 srcdiroption="--srcdir=$${topdir}/guile"; \
25750 libsrcdir="$$s/guile"; \
25751 $(SHELL) $${libsrcdir}/configure \
25752 $(HOST_CONFIGARGS) $${srcdiroption} \
25753 || exit 1
25754 @endif guile
25760 .PHONY: all-guile maybe-all-guile
25761 maybe-all-guile:
25762 @if guile
25763 TARGET-guile=all
25764 maybe-all-guile: all-guile
25765 all-guile: configure-guile
25766 @r=`${PWD_COMMAND}`; export r; \
25767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25768 $(HOST_EXPORTS) \
25769 (cd $(HOST_SUBDIR)/guile && \
25770 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
25771 @endif guile
25776 .PHONY: check-guile maybe-check-guile
25777 maybe-check-guile:
25778 @if guile
25779 maybe-check-guile: check-guile
25781 check-guile:
25782 @r=`${PWD_COMMAND}`; export r; \
25783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25784 $(HOST_EXPORTS) \
25785 (cd $(HOST_SUBDIR)/guile && \
25786 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
25788 @endif guile
25790 .PHONY: install-guile maybe-install-guile
25791 maybe-install-guile:
25792 @if guile
25793 maybe-install-guile: install-guile
25795 install-guile: installdirs
25796 @r=`${PWD_COMMAND}`; export r; \
25797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25798 $(HOST_EXPORTS) \
25799 (cd $(HOST_SUBDIR)/guile && \
25800 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
25802 @endif guile
25804 # Other targets (info, dvi, etc.)
25806 .PHONY: maybe-info-guile info-guile
25807 maybe-info-guile:
25808 @if guile
25809 maybe-info-guile: info-guile
25811 info-guile: \
25812 configure-guile
25813 @[ -f ./guile/Makefile ] || exit 0; \
25814 r=`${PWD_COMMAND}`; export r; \
25815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25816 $(HOST_EXPORTS) \
25817 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25819 done; \
25820 echo "Doing info in guile" ; \
25821 (cd $(HOST_SUBDIR)/guile && \
25822 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25823 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25824 "RANLIB=$${RANLIB}" \
25825 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25826 info) \
25827 || exit 1
25829 @endif guile
25831 .PHONY: maybe-dvi-guile dvi-guile
25832 maybe-dvi-guile:
25833 @if guile
25834 maybe-dvi-guile: dvi-guile
25836 dvi-guile: \
25837 configure-guile
25838 @[ -f ./guile/Makefile ] || exit 0; \
25839 r=`${PWD_COMMAND}`; export r; \
25840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25841 $(HOST_EXPORTS) \
25842 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25843 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25844 done; \
25845 echo "Doing dvi in guile" ; \
25846 (cd $(HOST_SUBDIR)/guile && \
25847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25849 "RANLIB=$${RANLIB}" \
25850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25851 dvi) \
25852 || exit 1
25854 @endif guile
25856 .PHONY: maybe-html-guile html-guile
25857 maybe-html-guile:
25858 @if guile
25859 maybe-html-guile: html-guile
25861 html-guile: \
25862 configure-guile
25863 @[ -f ./guile/Makefile ] || exit 0; \
25864 r=`${PWD_COMMAND}`; export r; \
25865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25866 $(HOST_EXPORTS) \
25867 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25869 done; \
25870 echo "Doing html in guile" ; \
25871 (cd $(HOST_SUBDIR)/guile && \
25872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25874 "RANLIB=$${RANLIB}" \
25875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25876 html) \
25877 || exit 1
25879 @endif guile
25881 .PHONY: maybe-TAGS-guile TAGS-guile
25882 maybe-TAGS-guile:
25883 @if guile
25884 maybe-TAGS-guile: TAGS-guile
25886 TAGS-guile: \
25887 configure-guile
25888 @[ -f ./guile/Makefile ] || exit 0; \
25889 r=`${PWD_COMMAND}`; export r; \
25890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25891 $(HOST_EXPORTS) \
25892 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25894 done; \
25895 echo "Doing TAGS in guile" ; \
25896 (cd $(HOST_SUBDIR)/guile && \
25897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25899 "RANLIB=$${RANLIB}" \
25900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25901 TAGS) \
25902 || exit 1
25904 @endif guile
25906 .PHONY: maybe-install-info-guile install-info-guile
25907 maybe-install-info-guile:
25908 @if guile
25909 maybe-install-info-guile: install-info-guile
25911 install-info-guile: \
25912 configure-guile \
25913 info-guile
25914 @[ -f ./guile/Makefile ] || exit 0; \
25915 r=`${PWD_COMMAND}`; export r; \
25916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25917 $(HOST_EXPORTS) \
25918 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25920 done; \
25921 echo "Doing install-info in guile" ; \
25922 (cd $(HOST_SUBDIR)/guile && \
25923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25925 "RANLIB=$${RANLIB}" \
25926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25927 install-info) \
25928 || exit 1
25930 @endif guile
25932 .PHONY: maybe-installcheck-guile installcheck-guile
25933 maybe-installcheck-guile:
25934 @if guile
25935 maybe-installcheck-guile: installcheck-guile
25937 installcheck-guile: \
25938 configure-guile
25939 @[ -f ./guile/Makefile ] || exit 0; \
25940 r=`${PWD_COMMAND}`; export r; \
25941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25942 $(HOST_EXPORTS) \
25943 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25945 done; \
25946 echo "Doing installcheck in guile" ; \
25947 (cd $(HOST_SUBDIR)/guile && \
25948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25950 "RANLIB=$${RANLIB}" \
25951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25952 installcheck) \
25953 || exit 1
25955 @endif guile
25957 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
25958 maybe-mostlyclean-guile:
25959 @if guile
25960 maybe-mostlyclean-guile: mostlyclean-guile
25962 mostlyclean-guile:
25963 @[ -f ./guile/Makefile ] || exit 0; \
25964 r=`${PWD_COMMAND}`; export r; \
25965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25966 $(HOST_EXPORTS) \
25967 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25969 done; \
25970 echo "Doing mostlyclean in guile" ; \
25971 (cd $(HOST_SUBDIR)/guile && \
25972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25974 "RANLIB=$${RANLIB}" \
25975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25976 mostlyclean) \
25977 || exit 1
25979 @endif guile
25981 .PHONY: maybe-clean-guile clean-guile
25982 maybe-clean-guile:
25983 @if guile
25984 maybe-clean-guile: clean-guile
25986 clean-guile:
25987 @[ -f ./guile/Makefile ] || exit 0; \
25988 r=`${PWD_COMMAND}`; export r; \
25989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25990 $(HOST_EXPORTS) \
25991 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
25992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25993 done; \
25994 echo "Doing clean in guile" ; \
25995 (cd $(HOST_SUBDIR)/guile && \
25996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25998 "RANLIB=$${RANLIB}" \
25999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26000 clean) \
26001 || exit 1
26003 @endif guile
26005 .PHONY: maybe-distclean-guile distclean-guile
26006 maybe-distclean-guile:
26007 @if guile
26008 maybe-distclean-guile: distclean-guile
26010 distclean-guile:
26011 @[ -f ./guile/Makefile ] || exit 0; \
26012 r=`${PWD_COMMAND}`; export r; \
26013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26014 $(HOST_EXPORTS) \
26015 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26017 done; \
26018 echo "Doing distclean in guile" ; \
26019 (cd $(HOST_SUBDIR)/guile && \
26020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26022 "RANLIB=$${RANLIB}" \
26023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26024 distclean) \
26025 || exit 1
26027 @endif guile
26029 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
26030 maybe-maintainer-clean-guile:
26031 @if guile
26032 maybe-maintainer-clean-guile: maintainer-clean-guile
26034 maintainer-clean-guile:
26035 @[ -f ./guile/Makefile ] || exit 0; \
26036 r=`${PWD_COMMAND}`; export r; \
26037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26038 $(HOST_EXPORTS) \
26039 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26041 done; \
26042 echo "Doing maintainer-clean in guile" ; \
26043 (cd $(HOST_SUBDIR)/guile && \
26044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26046 "RANLIB=$${RANLIB}" \
26047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26048 maintainer-clean) \
26049 || exit 1
26051 @endif guile
26055 .PHONY: configure-tk maybe-configure-tk
26056 maybe-configure-tk:
26057 @if tk
26058 maybe-configure-tk: configure-tk
26059 configure-tk:
26060 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
26061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
26062 r=`${PWD_COMMAND}`; export r; \
26063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26064 $(HOST_EXPORTS) \
26065 echo Configuring in $(HOST_SUBDIR)/tk; \
26066 cd "$(HOST_SUBDIR)/tk" || exit 1; \
26067 case $(srcdir) in \
26068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26069 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
26070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26071 esac; \
26072 srcdiroption="--srcdir=$${topdir}/tk"; \
26073 libsrcdir="$$s/tk"; \
26074 $(SHELL) $${libsrcdir}/configure \
26075 $(HOST_CONFIGARGS) $${srcdiroption} \
26076 || exit 1
26077 @endif tk
26083 .PHONY: all-tk maybe-all-tk
26084 maybe-all-tk:
26085 @if tk
26086 TARGET-tk=all
26087 maybe-all-tk: all-tk
26088 all-tk: configure-tk
26089 @r=`${PWD_COMMAND}`; export r; \
26090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26091 $(HOST_EXPORTS) \
26092 (cd $(HOST_SUBDIR)/tk && \
26093 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
26094 @endif tk
26099 .PHONY: check-tk maybe-check-tk
26100 maybe-check-tk:
26101 @if tk
26102 maybe-check-tk: check-tk
26104 check-tk:
26105 @r=`${PWD_COMMAND}`; export r; \
26106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26107 $(HOST_EXPORTS) \
26108 (cd $(HOST_SUBDIR)/tk && \
26109 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26111 @endif tk
26113 .PHONY: install-tk maybe-install-tk
26114 maybe-install-tk:
26115 @if tk
26116 maybe-install-tk: install-tk
26118 install-tk: installdirs
26119 @r=`${PWD_COMMAND}`; export r; \
26120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26121 $(HOST_EXPORTS) \
26122 (cd $(HOST_SUBDIR)/tk && \
26123 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26125 @endif tk
26127 # Other targets (info, dvi, etc.)
26129 .PHONY: maybe-info-tk info-tk
26130 maybe-info-tk:
26131 @if tk
26132 maybe-info-tk: info-tk
26134 info-tk: \
26135 configure-tk
26136 @[ -f ./tk/Makefile ] || exit 0; \
26137 r=`${PWD_COMMAND}`; export r; \
26138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26139 $(HOST_EXPORTS) \
26140 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26142 done; \
26143 echo "Doing info in tk" ; \
26144 (cd $(HOST_SUBDIR)/tk && \
26145 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26146 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26147 "RANLIB=$${RANLIB}" \
26148 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26149 info) \
26150 || exit 1
26152 @endif tk
26154 .PHONY: maybe-dvi-tk dvi-tk
26155 maybe-dvi-tk:
26156 @if tk
26157 maybe-dvi-tk: dvi-tk
26159 dvi-tk: \
26160 configure-tk
26161 @[ -f ./tk/Makefile ] || exit 0; \
26162 r=`${PWD_COMMAND}`; export r; \
26163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26164 $(HOST_EXPORTS) \
26165 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26167 done; \
26168 echo "Doing dvi in tk" ; \
26169 (cd $(HOST_SUBDIR)/tk && \
26170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26172 "RANLIB=$${RANLIB}" \
26173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26174 dvi) \
26175 || exit 1
26177 @endif tk
26179 .PHONY: maybe-html-tk html-tk
26180 maybe-html-tk:
26181 @if tk
26182 maybe-html-tk: html-tk
26184 html-tk: \
26185 configure-tk
26186 @[ -f ./tk/Makefile ] || exit 0; \
26187 r=`${PWD_COMMAND}`; export r; \
26188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26189 $(HOST_EXPORTS) \
26190 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26192 done; \
26193 echo "Doing html in tk" ; \
26194 (cd $(HOST_SUBDIR)/tk && \
26195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26197 "RANLIB=$${RANLIB}" \
26198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26199 html) \
26200 || exit 1
26202 @endif tk
26204 .PHONY: maybe-TAGS-tk TAGS-tk
26205 maybe-TAGS-tk:
26206 @if tk
26207 maybe-TAGS-tk: TAGS-tk
26209 TAGS-tk: \
26210 configure-tk
26211 @[ -f ./tk/Makefile ] || exit 0; \
26212 r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 $(HOST_EXPORTS) \
26215 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 done; \
26218 echo "Doing TAGS in tk" ; \
26219 (cd $(HOST_SUBDIR)/tk && \
26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222 "RANLIB=$${RANLIB}" \
26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224 TAGS) \
26225 || exit 1
26227 @endif tk
26229 .PHONY: maybe-install-info-tk install-info-tk
26230 maybe-install-info-tk:
26231 @if tk
26232 maybe-install-info-tk: install-info-tk
26234 install-info-tk: \
26235 configure-tk \
26236 info-tk
26237 @[ -f ./tk/Makefile ] || exit 0; \
26238 r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 $(HOST_EXPORTS) \
26241 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26243 done; \
26244 echo "Doing install-info in tk" ; \
26245 (cd $(HOST_SUBDIR)/tk && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 install-info) \
26251 || exit 1
26253 @endif tk
26255 .PHONY: maybe-installcheck-tk installcheck-tk
26256 maybe-installcheck-tk:
26257 @if tk
26258 maybe-installcheck-tk: installcheck-tk
26260 installcheck-tk: \
26261 configure-tk
26262 @[ -f ./tk/Makefile ] || exit 0; \
26263 r=`${PWD_COMMAND}`; export r; \
26264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26265 $(HOST_EXPORTS) \
26266 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26268 done; \
26269 echo "Doing installcheck in tk" ; \
26270 (cd $(HOST_SUBDIR)/tk && \
26271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26273 "RANLIB=$${RANLIB}" \
26274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26275 installcheck) \
26276 || exit 1
26278 @endif tk
26280 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
26281 maybe-mostlyclean-tk:
26282 @if tk
26283 maybe-mostlyclean-tk: mostlyclean-tk
26285 mostlyclean-tk:
26286 @[ -f ./tk/Makefile ] || exit 0; \
26287 r=`${PWD_COMMAND}`; export r; \
26288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26289 $(HOST_EXPORTS) \
26290 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26292 done; \
26293 echo "Doing mostlyclean in tk" ; \
26294 (cd $(HOST_SUBDIR)/tk && \
26295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26297 "RANLIB=$${RANLIB}" \
26298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26299 mostlyclean) \
26300 || exit 1
26302 @endif tk
26304 .PHONY: maybe-clean-tk clean-tk
26305 maybe-clean-tk:
26306 @if tk
26307 maybe-clean-tk: clean-tk
26309 clean-tk:
26310 @[ -f ./tk/Makefile ] || exit 0; \
26311 r=`${PWD_COMMAND}`; export r; \
26312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26313 $(HOST_EXPORTS) \
26314 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26316 done; \
26317 echo "Doing clean in tk" ; \
26318 (cd $(HOST_SUBDIR)/tk && \
26319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26321 "RANLIB=$${RANLIB}" \
26322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26323 clean) \
26324 || exit 1
26326 @endif tk
26328 .PHONY: maybe-distclean-tk distclean-tk
26329 maybe-distclean-tk:
26330 @if tk
26331 maybe-distclean-tk: distclean-tk
26333 distclean-tk:
26334 @[ -f ./tk/Makefile ] || exit 0; \
26335 r=`${PWD_COMMAND}`; export r; \
26336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26337 $(HOST_EXPORTS) \
26338 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26340 done; \
26341 echo "Doing distclean in tk" ; \
26342 (cd $(HOST_SUBDIR)/tk && \
26343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26345 "RANLIB=$${RANLIB}" \
26346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26347 distclean) \
26348 || exit 1
26350 @endif tk
26352 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
26353 maybe-maintainer-clean-tk:
26354 @if tk
26355 maybe-maintainer-clean-tk: maintainer-clean-tk
26357 maintainer-clean-tk:
26358 @[ -f ./tk/Makefile ] || exit 0; \
26359 r=`${PWD_COMMAND}`; export r; \
26360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26361 $(HOST_EXPORTS) \
26362 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26364 done; \
26365 echo "Doing maintainer-clean in tk" ; \
26366 (cd $(HOST_SUBDIR)/tk && \
26367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26369 "RANLIB=$${RANLIB}" \
26370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26371 maintainer-clean) \
26372 || exit 1
26374 @endif tk
26378 .PHONY: configure-libtermcap maybe-configure-libtermcap
26379 maybe-configure-libtermcap:
26380 @if libtermcap
26381 maybe-configure-libtermcap: configure-libtermcap
26382 configure-libtermcap:
26383 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
26384 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
26385 r=`${PWD_COMMAND}`; export r; \
26386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26387 $(HOST_EXPORTS) \
26388 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
26389 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
26390 case $(srcdir) in \
26391 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26392 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
26393 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26394 esac; \
26395 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
26396 libsrcdir="$$s/libtermcap"; \
26397 $(SHELL) $${libsrcdir}/configure \
26398 $(HOST_CONFIGARGS) $${srcdiroption} \
26399 || exit 1
26400 @endif libtermcap
26406 .PHONY: all-libtermcap maybe-all-libtermcap
26407 maybe-all-libtermcap:
26408 @if libtermcap
26409 TARGET-libtermcap=all
26410 maybe-all-libtermcap: all-libtermcap
26411 all-libtermcap: configure-libtermcap
26412 @r=`${PWD_COMMAND}`; export r; \
26413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26414 $(HOST_EXPORTS) \
26415 (cd $(HOST_SUBDIR)/libtermcap && \
26416 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
26417 @endif libtermcap
26422 .PHONY: check-libtermcap maybe-check-libtermcap
26423 maybe-check-libtermcap:
26424 @if libtermcap
26425 maybe-check-libtermcap: check-libtermcap
26427 check-libtermcap:
26429 @endif libtermcap
26431 .PHONY: install-libtermcap maybe-install-libtermcap
26432 maybe-install-libtermcap:
26433 @if libtermcap
26434 maybe-install-libtermcap: install-libtermcap
26436 install-libtermcap: installdirs
26437 @r=`${PWD_COMMAND}`; export r; \
26438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26439 $(HOST_EXPORTS) \
26440 (cd $(HOST_SUBDIR)/libtermcap && \
26441 $(MAKE) $(FLAGS_TO_PASS) install)
26443 @endif libtermcap
26445 # Other targets (info, dvi, etc.)
26447 .PHONY: maybe-info-libtermcap info-libtermcap
26448 maybe-info-libtermcap:
26449 @if libtermcap
26450 maybe-info-libtermcap: info-libtermcap
26452 info-libtermcap: \
26453 configure-libtermcap
26454 @[ -f ./libtermcap/Makefile ] || exit 0; \
26455 r=`${PWD_COMMAND}`; export r; \
26456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26457 $(HOST_EXPORTS) \
26458 for flag in $(EXTRA_HOST_FLAGS) ; do \
26459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26460 done; \
26461 echo "Doing info in libtermcap" ; \
26462 (cd $(HOST_SUBDIR)/libtermcap && \
26463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26465 "RANLIB=$${RANLIB}" \
26466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26467 info) \
26468 || exit 1
26470 @endif libtermcap
26472 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
26473 maybe-dvi-libtermcap:
26474 @if libtermcap
26475 maybe-dvi-libtermcap: dvi-libtermcap
26477 dvi-libtermcap: \
26478 configure-libtermcap
26479 @[ -f ./libtermcap/Makefile ] || exit 0; \
26480 r=`${PWD_COMMAND}`; export r; \
26481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26482 $(HOST_EXPORTS) \
26483 for flag in $(EXTRA_HOST_FLAGS) ; do \
26484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26485 done; \
26486 echo "Doing dvi in libtermcap" ; \
26487 (cd $(HOST_SUBDIR)/libtermcap && \
26488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26490 "RANLIB=$${RANLIB}" \
26491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26492 dvi) \
26493 || exit 1
26495 @endif libtermcap
26497 .PHONY: maybe-html-libtermcap html-libtermcap
26498 maybe-html-libtermcap:
26499 @if libtermcap
26500 maybe-html-libtermcap: html-libtermcap
26502 html-libtermcap: \
26503 configure-libtermcap
26504 @[ -f ./libtermcap/Makefile ] || exit 0; \
26505 r=`${PWD_COMMAND}`; export r; \
26506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26507 $(HOST_EXPORTS) \
26508 for flag in $(EXTRA_HOST_FLAGS) ; do \
26509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26510 done; \
26511 echo "Doing html in libtermcap" ; \
26512 (cd $(HOST_SUBDIR)/libtermcap && \
26513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26515 "RANLIB=$${RANLIB}" \
26516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26517 html) \
26518 || exit 1
26520 @endif libtermcap
26522 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
26523 maybe-TAGS-libtermcap:
26524 @if libtermcap
26525 maybe-TAGS-libtermcap: TAGS-libtermcap
26527 TAGS-libtermcap: \
26528 configure-libtermcap
26529 @[ -f ./libtermcap/Makefile ] || exit 0; \
26530 r=`${PWD_COMMAND}`; export r; \
26531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26532 $(HOST_EXPORTS) \
26533 for flag in $(EXTRA_HOST_FLAGS) ; do \
26534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26535 done; \
26536 echo "Doing TAGS in libtermcap" ; \
26537 (cd $(HOST_SUBDIR)/libtermcap && \
26538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26540 "RANLIB=$${RANLIB}" \
26541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26542 TAGS) \
26543 || exit 1
26545 @endif libtermcap
26547 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
26548 maybe-install-info-libtermcap:
26549 @if libtermcap
26550 maybe-install-info-libtermcap: install-info-libtermcap
26552 install-info-libtermcap: \
26553 configure-libtermcap \
26554 info-libtermcap
26555 @[ -f ./libtermcap/Makefile ] || exit 0; \
26556 r=`${PWD_COMMAND}`; export r; \
26557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26558 $(HOST_EXPORTS) \
26559 for flag in $(EXTRA_HOST_FLAGS) ; do \
26560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26561 done; \
26562 echo "Doing install-info in libtermcap" ; \
26563 (cd $(HOST_SUBDIR)/libtermcap && \
26564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26566 "RANLIB=$${RANLIB}" \
26567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26568 install-info) \
26569 || exit 1
26571 @endif libtermcap
26573 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
26574 maybe-installcheck-libtermcap:
26575 @if libtermcap
26576 maybe-installcheck-libtermcap: installcheck-libtermcap
26578 installcheck-libtermcap: \
26579 configure-libtermcap
26580 @[ -f ./libtermcap/Makefile ] || exit 0; \
26581 r=`${PWD_COMMAND}`; export r; \
26582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26583 $(HOST_EXPORTS) \
26584 for flag in $(EXTRA_HOST_FLAGS) ; do \
26585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26586 done; \
26587 echo "Doing installcheck in libtermcap" ; \
26588 (cd $(HOST_SUBDIR)/libtermcap && \
26589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26591 "RANLIB=$${RANLIB}" \
26592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26593 installcheck) \
26594 || exit 1
26596 @endif libtermcap
26598 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
26599 maybe-mostlyclean-libtermcap:
26600 @if libtermcap
26601 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
26603 # libtermcap doesn't support mostlyclean.
26604 mostlyclean-libtermcap:
26606 @endif libtermcap
26608 .PHONY: maybe-clean-libtermcap clean-libtermcap
26609 maybe-clean-libtermcap:
26610 @if libtermcap
26611 maybe-clean-libtermcap: clean-libtermcap
26613 # libtermcap doesn't support clean.
26614 clean-libtermcap:
26616 @endif libtermcap
26618 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
26619 maybe-distclean-libtermcap:
26620 @if libtermcap
26621 maybe-distclean-libtermcap: distclean-libtermcap
26623 # libtermcap doesn't support distclean.
26624 distclean-libtermcap:
26626 @endif libtermcap
26628 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
26629 maybe-maintainer-clean-libtermcap:
26630 @if libtermcap
26631 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
26633 # libtermcap doesn't support maintainer-clean.
26634 maintainer-clean-libtermcap:
26636 @endif libtermcap
26640 .PHONY: configure-utils maybe-configure-utils
26641 maybe-configure-utils:
26642 @if utils
26643 maybe-configure-utils: configure-utils
26644 configure-utils:
26645 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
26646 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
26647 r=`${PWD_COMMAND}`; export r; \
26648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26649 $(HOST_EXPORTS) \
26650 echo Configuring in $(HOST_SUBDIR)/utils; \
26651 cd "$(HOST_SUBDIR)/utils" || exit 1; \
26652 case $(srcdir) in \
26653 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26654 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
26655 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26656 esac; \
26657 srcdiroption="--srcdir=$${topdir}/utils"; \
26658 libsrcdir="$$s/utils"; \
26659 $(SHELL) $${libsrcdir}/configure \
26660 $(HOST_CONFIGARGS) $${srcdiroption} \
26661 || exit 1
26662 @endif utils
26668 .PHONY: all-utils maybe-all-utils
26669 maybe-all-utils:
26670 @if utils
26671 TARGET-utils=all
26672 maybe-all-utils: all-utils
26673 all-utils: configure-utils
26674 @r=`${PWD_COMMAND}`; export r; \
26675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26676 $(HOST_EXPORTS) \
26677 (cd $(HOST_SUBDIR)/utils && \
26678 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
26679 @endif utils
26684 .PHONY: check-utils maybe-check-utils
26685 maybe-check-utils:
26686 @if utils
26687 maybe-check-utils: check-utils
26689 check-utils:
26691 @endif utils
26693 .PHONY: install-utils maybe-install-utils
26694 maybe-install-utils:
26695 @if utils
26696 maybe-install-utils: install-utils
26698 install-utils: installdirs
26699 @r=`${PWD_COMMAND}`; export r; \
26700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26701 $(HOST_EXPORTS) \
26702 (cd $(HOST_SUBDIR)/utils && \
26703 $(MAKE) $(FLAGS_TO_PASS) install)
26705 @endif utils
26707 # Other targets (info, dvi, etc.)
26709 .PHONY: maybe-info-utils info-utils
26710 maybe-info-utils:
26711 @if utils
26712 maybe-info-utils: info-utils
26714 info-utils: \
26715 configure-utils
26716 @[ -f ./utils/Makefile ] || exit 0; \
26717 r=`${PWD_COMMAND}`; export r; \
26718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26719 $(HOST_EXPORTS) \
26720 for flag in $(EXTRA_HOST_FLAGS) ; do \
26721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26722 done; \
26723 echo "Doing info in utils" ; \
26724 (cd $(HOST_SUBDIR)/utils && \
26725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26727 "RANLIB=$${RANLIB}" \
26728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26729 info) \
26730 || exit 1
26732 @endif utils
26734 .PHONY: maybe-dvi-utils dvi-utils
26735 maybe-dvi-utils:
26736 @if utils
26737 maybe-dvi-utils: dvi-utils
26739 dvi-utils: \
26740 configure-utils
26741 @[ -f ./utils/Makefile ] || exit 0; \
26742 r=`${PWD_COMMAND}`; export r; \
26743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26744 $(HOST_EXPORTS) \
26745 for flag in $(EXTRA_HOST_FLAGS) ; do \
26746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26747 done; \
26748 echo "Doing dvi in utils" ; \
26749 (cd $(HOST_SUBDIR)/utils && \
26750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26752 "RANLIB=$${RANLIB}" \
26753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26754 dvi) \
26755 || exit 1
26757 @endif utils
26759 .PHONY: maybe-html-utils html-utils
26760 maybe-html-utils:
26761 @if utils
26762 maybe-html-utils: html-utils
26764 html-utils: \
26765 configure-utils
26766 @[ -f ./utils/Makefile ] || exit 0; \
26767 r=`${PWD_COMMAND}`; export r; \
26768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26769 $(HOST_EXPORTS) \
26770 for flag in $(EXTRA_HOST_FLAGS) ; do \
26771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26772 done; \
26773 echo "Doing html in utils" ; \
26774 (cd $(HOST_SUBDIR)/utils && \
26775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26777 "RANLIB=$${RANLIB}" \
26778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26779 html) \
26780 || exit 1
26782 @endif utils
26784 .PHONY: maybe-TAGS-utils TAGS-utils
26785 maybe-TAGS-utils:
26786 @if utils
26787 maybe-TAGS-utils: TAGS-utils
26789 TAGS-utils: \
26790 configure-utils
26791 @[ -f ./utils/Makefile ] || exit 0; \
26792 r=`${PWD_COMMAND}`; export r; \
26793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26794 $(HOST_EXPORTS) \
26795 for flag in $(EXTRA_HOST_FLAGS) ; do \
26796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26797 done; \
26798 echo "Doing TAGS in utils" ; \
26799 (cd $(HOST_SUBDIR)/utils && \
26800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26802 "RANLIB=$${RANLIB}" \
26803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26804 TAGS) \
26805 || exit 1
26807 @endif utils
26809 .PHONY: maybe-install-info-utils install-info-utils
26810 maybe-install-info-utils:
26811 @if utils
26812 maybe-install-info-utils: install-info-utils
26814 install-info-utils: \
26815 configure-utils \
26816 info-utils
26817 @[ -f ./utils/Makefile ] || exit 0; \
26818 r=`${PWD_COMMAND}`; export r; \
26819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26820 $(HOST_EXPORTS) \
26821 for flag in $(EXTRA_HOST_FLAGS) ; do \
26822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26823 done; \
26824 echo "Doing install-info in utils" ; \
26825 (cd $(HOST_SUBDIR)/utils && \
26826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26828 "RANLIB=$${RANLIB}" \
26829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26830 install-info) \
26831 || exit 1
26833 @endif utils
26835 .PHONY: maybe-installcheck-utils installcheck-utils
26836 maybe-installcheck-utils:
26837 @if utils
26838 maybe-installcheck-utils: installcheck-utils
26840 installcheck-utils: \
26841 configure-utils
26842 @[ -f ./utils/Makefile ] || exit 0; \
26843 r=`${PWD_COMMAND}`; export r; \
26844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26845 $(HOST_EXPORTS) \
26846 for flag in $(EXTRA_HOST_FLAGS) ; do \
26847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26848 done; \
26849 echo "Doing installcheck in utils" ; \
26850 (cd $(HOST_SUBDIR)/utils && \
26851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26853 "RANLIB=$${RANLIB}" \
26854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26855 installcheck) \
26856 || exit 1
26858 @endif utils
26860 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
26861 maybe-mostlyclean-utils:
26862 @if utils
26863 maybe-mostlyclean-utils: mostlyclean-utils
26865 mostlyclean-utils:
26866 @[ -f ./utils/Makefile ] || exit 0; \
26867 r=`${PWD_COMMAND}`; export r; \
26868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26869 $(HOST_EXPORTS) \
26870 for flag in $(EXTRA_HOST_FLAGS) ; do \
26871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26872 done; \
26873 echo "Doing mostlyclean in utils" ; \
26874 (cd $(HOST_SUBDIR)/utils && \
26875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26877 "RANLIB=$${RANLIB}" \
26878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26879 mostlyclean) \
26880 || exit 1
26882 @endif utils
26884 .PHONY: maybe-clean-utils clean-utils
26885 maybe-clean-utils:
26886 @if utils
26887 maybe-clean-utils: clean-utils
26889 clean-utils:
26890 @[ -f ./utils/Makefile ] || exit 0; \
26891 r=`${PWD_COMMAND}`; export r; \
26892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26893 $(HOST_EXPORTS) \
26894 for flag in $(EXTRA_HOST_FLAGS) ; do \
26895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26896 done; \
26897 echo "Doing clean in utils" ; \
26898 (cd $(HOST_SUBDIR)/utils && \
26899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26901 "RANLIB=$${RANLIB}" \
26902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26903 clean) \
26904 || exit 1
26906 @endif utils
26908 .PHONY: maybe-distclean-utils distclean-utils
26909 maybe-distclean-utils:
26910 @if utils
26911 maybe-distclean-utils: distclean-utils
26913 distclean-utils:
26914 @[ -f ./utils/Makefile ] || exit 0; \
26915 r=`${PWD_COMMAND}`; export r; \
26916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26917 $(HOST_EXPORTS) \
26918 for flag in $(EXTRA_HOST_FLAGS) ; do \
26919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26920 done; \
26921 echo "Doing distclean in utils" ; \
26922 (cd $(HOST_SUBDIR)/utils && \
26923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26925 "RANLIB=$${RANLIB}" \
26926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26927 distclean) \
26928 || exit 1
26930 @endif utils
26932 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
26933 maybe-maintainer-clean-utils:
26934 @if utils
26935 maybe-maintainer-clean-utils: maintainer-clean-utils
26937 maintainer-clean-utils:
26938 @[ -f ./utils/Makefile ] || exit 0; \
26939 r=`${PWD_COMMAND}`; export r; \
26940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26941 $(HOST_EXPORTS) \
26942 for flag in $(EXTRA_HOST_FLAGS) ; do \
26943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26944 done; \
26945 echo "Doing maintainer-clean in utils" ; \
26946 (cd $(HOST_SUBDIR)/utils && \
26947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26949 "RANLIB=$${RANLIB}" \
26950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26951 maintainer-clean) \
26952 || exit 1
26954 @endif utils
26958 .PHONY: configure-gnattools maybe-configure-gnattools
26959 maybe-configure-gnattools:
26960 @if gnattools
26961 maybe-configure-gnattools: configure-gnattools
26962 configure-gnattools:
26963 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
26964 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
26965 r=`${PWD_COMMAND}`; export r; \
26966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26967 $(HOST_EXPORTS) \
26968 echo Configuring in $(HOST_SUBDIR)/gnattools; \
26969 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
26970 case $(srcdir) in \
26971 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26972 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
26973 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26974 esac; \
26975 srcdiroption="--srcdir=$${topdir}/gnattools"; \
26976 libsrcdir="$$s/gnattools"; \
26977 $(SHELL) $${libsrcdir}/configure \
26978 $(HOST_CONFIGARGS) $${srcdiroption} \
26979 || exit 1
26980 @endif gnattools
26986 .PHONY: all-gnattools maybe-all-gnattools
26987 maybe-all-gnattools:
26988 @if gnattools
26989 TARGET-gnattools=all
26990 maybe-all-gnattools: all-gnattools
26991 all-gnattools: configure-gnattools
26992 @r=`${PWD_COMMAND}`; export r; \
26993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26994 $(HOST_EXPORTS) \
26995 (cd $(HOST_SUBDIR)/gnattools && \
26996 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
26997 @endif gnattools
27002 .PHONY: check-gnattools maybe-check-gnattools
27003 maybe-check-gnattools:
27004 @if gnattools
27005 maybe-check-gnattools: check-gnattools
27007 check-gnattools:
27008 @r=`${PWD_COMMAND}`; export r; \
27009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27010 $(HOST_EXPORTS) \
27011 (cd $(HOST_SUBDIR)/gnattools && \
27012 $(MAKE) $(FLAGS_TO_PASS) check)
27014 @endif gnattools
27016 .PHONY: install-gnattools maybe-install-gnattools
27017 maybe-install-gnattools:
27018 @if gnattools
27019 maybe-install-gnattools: install-gnattools
27021 install-gnattools: installdirs
27022 @r=`${PWD_COMMAND}`; export r; \
27023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27024 $(HOST_EXPORTS) \
27025 (cd $(HOST_SUBDIR)/gnattools && \
27026 $(MAKE) $(FLAGS_TO_PASS) install)
27028 @endif gnattools
27030 # Other targets (info, dvi, etc.)
27032 .PHONY: maybe-info-gnattools info-gnattools
27033 maybe-info-gnattools:
27034 @if gnattools
27035 maybe-info-gnattools: info-gnattools
27037 info-gnattools: \
27038 configure-gnattools
27039 @[ -f ./gnattools/Makefile ] || exit 0; \
27040 r=`${PWD_COMMAND}`; export r; \
27041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27042 $(HOST_EXPORTS) \
27043 for flag in $(EXTRA_HOST_FLAGS) ; do \
27044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27045 done; \
27046 echo "Doing info in gnattools" ; \
27047 (cd $(HOST_SUBDIR)/gnattools && \
27048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27050 "RANLIB=$${RANLIB}" \
27051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27052 info) \
27053 || exit 1
27055 @endif gnattools
27057 .PHONY: maybe-dvi-gnattools dvi-gnattools
27058 maybe-dvi-gnattools:
27059 @if gnattools
27060 maybe-dvi-gnattools: dvi-gnattools
27062 dvi-gnattools: \
27063 configure-gnattools
27064 @[ -f ./gnattools/Makefile ] || exit 0; \
27065 r=`${PWD_COMMAND}`; export r; \
27066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27067 $(HOST_EXPORTS) \
27068 for flag in $(EXTRA_HOST_FLAGS) ; do \
27069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27070 done; \
27071 echo "Doing dvi in gnattools" ; \
27072 (cd $(HOST_SUBDIR)/gnattools && \
27073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27075 "RANLIB=$${RANLIB}" \
27076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27077 dvi) \
27078 || exit 1
27080 @endif gnattools
27082 .PHONY: maybe-html-gnattools html-gnattools
27083 maybe-html-gnattools:
27084 @if gnattools
27085 maybe-html-gnattools: html-gnattools
27087 html-gnattools: \
27088 configure-gnattools
27089 @[ -f ./gnattools/Makefile ] || exit 0; \
27090 r=`${PWD_COMMAND}`; export r; \
27091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27092 $(HOST_EXPORTS) \
27093 for flag in $(EXTRA_HOST_FLAGS) ; do \
27094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27095 done; \
27096 echo "Doing html in gnattools" ; \
27097 (cd $(HOST_SUBDIR)/gnattools && \
27098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27100 "RANLIB=$${RANLIB}" \
27101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27102 html) \
27103 || exit 1
27105 @endif gnattools
27107 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
27108 maybe-TAGS-gnattools:
27109 @if gnattools
27110 maybe-TAGS-gnattools: TAGS-gnattools
27112 TAGS-gnattools: \
27113 configure-gnattools
27114 @[ -f ./gnattools/Makefile ] || exit 0; \
27115 r=`${PWD_COMMAND}`; export r; \
27116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27117 $(HOST_EXPORTS) \
27118 for flag in $(EXTRA_HOST_FLAGS) ; do \
27119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27120 done; \
27121 echo "Doing TAGS in gnattools" ; \
27122 (cd $(HOST_SUBDIR)/gnattools && \
27123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27125 "RANLIB=$${RANLIB}" \
27126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27127 TAGS) \
27128 || exit 1
27130 @endif gnattools
27132 .PHONY: maybe-install-info-gnattools install-info-gnattools
27133 maybe-install-info-gnattools:
27134 @if gnattools
27135 maybe-install-info-gnattools: install-info-gnattools
27137 install-info-gnattools: \
27138 configure-gnattools \
27139 info-gnattools
27140 @[ -f ./gnattools/Makefile ] || exit 0; \
27141 r=`${PWD_COMMAND}`; export r; \
27142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27143 $(HOST_EXPORTS) \
27144 for flag in $(EXTRA_HOST_FLAGS) ; do \
27145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27146 done; \
27147 echo "Doing install-info in gnattools" ; \
27148 (cd $(HOST_SUBDIR)/gnattools && \
27149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27151 "RANLIB=$${RANLIB}" \
27152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27153 install-info) \
27154 || exit 1
27156 @endif gnattools
27158 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
27159 maybe-installcheck-gnattools:
27160 @if gnattools
27161 maybe-installcheck-gnattools: installcheck-gnattools
27163 installcheck-gnattools: \
27164 configure-gnattools
27165 @[ -f ./gnattools/Makefile ] || exit 0; \
27166 r=`${PWD_COMMAND}`; export r; \
27167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27168 $(HOST_EXPORTS) \
27169 for flag in $(EXTRA_HOST_FLAGS) ; do \
27170 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27171 done; \
27172 echo "Doing installcheck in gnattools" ; \
27173 (cd $(HOST_SUBDIR)/gnattools && \
27174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27176 "RANLIB=$${RANLIB}" \
27177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27178 installcheck) \
27179 || exit 1
27181 @endif gnattools
27183 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
27184 maybe-mostlyclean-gnattools:
27185 @if gnattools
27186 maybe-mostlyclean-gnattools: mostlyclean-gnattools
27188 mostlyclean-gnattools:
27189 @[ -f ./gnattools/Makefile ] || exit 0; \
27190 r=`${PWD_COMMAND}`; export r; \
27191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27192 $(HOST_EXPORTS) \
27193 for flag in $(EXTRA_HOST_FLAGS) ; do \
27194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27195 done; \
27196 echo "Doing mostlyclean in gnattools" ; \
27197 (cd $(HOST_SUBDIR)/gnattools && \
27198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27200 "RANLIB=$${RANLIB}" \
27201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27202 mostlyclean) \
27203 || exit 1
27205 @endif gnattools
27207 .PHONY: maybe-clean-gnattools clean-gnattools
27208 maybe-clean-gnattools:
27209 @if gnattools
27210 maybe-clean-gnattools: clean-gnattools
27212 clean-gnattools:
27213 @[ -f ./gnattools/Makefile ] || exit 0; \
27214 r=`${PWD_COMMAND}`; export r; \
27215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27216 $(HOST_EXPORTS) \
27217 for flag in $(EXTRA_HOST_FLAGS) ; do \
27218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27219 done; \
27220 echo "Doing clean in gnattools" ; \
27221 (cd $(HOST_SUBDIR)/gnattools && \
27222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27224 "RANLIB=$${RANLIB}" \
27225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27226 clean) \
27227 || exit 1
27229 @endif gnattools
27231 .PHONY: maybe-distclean-gnattools distclean-gnattools
27232 maybe-distclean-gnattools:
27233 @if gnattools
27234 maybe-distclean-gnattools: distclean-gnattools
27236 distclean-gnattools:
27237 @[ -f ./gnattools/Makefile ] || exit 0; \
27238 r=`${PWD_COMMAND}`; export r; \
27239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27240 $(HOST_EXPORTS) \
27241 for flag in $(EXTRA_HOST_FLAGS) ; do \
27242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27243 done; \
27244 echo "Doing distclean in gnattools" ; \
27245 (cd $(HOST_SUBDIR)/gnattools && \
27246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27248 "RANLIB=$${RANLIB}" \
27249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27250 distclean) \
27251 || exit 1
27253 @endif gnattools
27255 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
27256 maybe-maintainer-clean-gnattools:
27257 @if gnattools
27258 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
27260 maintainer-clean-gnattools:
27261 @[ -f ./gnattools/Makefile ] || exit 0; \
27262 r=`${PWD_COMMAND}`; export r; \
27263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27264 $(HOST_EXPORTS) \
27265 for flag in $(EXTRA_HOST_FLAGS) ; do \
27266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27267 done; \
27268 echo "Doing maintainer-clean in gnattools" ; \
27269 (cd $(HOST_SUBDIR)/gnattools && \
27270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27272 "RANLIB=$${RANLIB}" \
27273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27274 maintainer-clean) \
27275 || exit 1
27277 @endif gnattools
27281 # ---------------------------------------
27282 # Modules which run on the target machine
27283 # ---------------------------------------
27286 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27287 @if target-libstdc++-v3
27288 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
27289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27290 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
27291 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27292 @endif target-libstdc++-v3
27296 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
27297 maybe-configure-target-libstdc++-v3:
27298 @if target-libstdc++-v3
27299 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
27300 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
27301 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
27302 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
27303 r=`${PWD_COMMAND}`; export r; \
27304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27305 $(RAW_CXX_TARGET_EXPORTS) \
27306 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
27307 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
27308 case $(srcdir) in \
27309 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27310 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
27311 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27312 esac; \
27313 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
27314 libsrcdir="$$s/libstdc++-v3"; \
27315 rm -f no-such-file || : ; \
27316 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27317 $(TARGET_CONFIGARGS) $${srcdiroption} \
27318 || exit 1
27319 @endif target-libstdc++-v3
27325 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
27326 maybe-all-target-libstdc++-v3:
27327 @if target-libstdc++-v3
27328 TARGET-target-libstdc++-v3=all
27329 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
27330 all-target-libstdc++-v3: configure-target-libstdc++-v3
27331 @r=`${PWD_COMMAND}`; export r; \
27332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27333 $(RAW_CXX_TARGET_EXPORTS) \
27334 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27335 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
27336 @endif target-libstdc++-v3
27342 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
27343 maybe-check-target-libstdc++-v3:
27344 @if target-libstdc++-v3
27345 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
27347 check-target-libstdc++-v3:
27348 @r=`${PWD_COMMAND}`; export r; \
27349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27350 $(RAW_CXX_TARGET_EXPORTS) \
27351 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27352 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
27354 @endif target-libstdc++-v3
27356 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
27357 maybe-install-target-libstdc++-v3:
27358 @if target-libstdc++-v3
27359 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
27361 install-target-libstdc++-v3: installdirs
27362 @r=`${PWD_COMMAND}`; export r; \
27363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27364 $(RAW_CXX_TARGET_EXPORTS) \
27365 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27366 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27368 @endif target-libstdc++-v3
27370 # Other targets (info, dvi, etc.)
27372 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
27373 maybe-info-target-libstdc++-v3:
27374 @if target-libstdc++-v3
27375 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
27377 info-target-libstdc++-v3: \
27378 configure-target-libstdc++-v3
27379 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27380 r=`${PWD_COMMAND}`; export r; \
27381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27382 $(RAW_CXX_TARGET_EXPORTS) \
27383 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27384 for flag in $(EXTRA_TARGET_FLAGS); do \
27385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27386 done; \
27387 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27390 "RANLIB=$${RANLIB}" \
27391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27392 info) \
27393 || exit 1
27395 @endif target-libstdc++-v3
27397 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
27398 maybe-dvi-target-libstdc++-v3:
27399 @if target-libstdc++-v3
27400 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
27402 dvi-target-libstdc++-v3: \
27403 configure-target-libstdc++-v3
27404 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27405 r=`${PWD_COMMAND}`; export r; \
27406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27407 $(RAW_CXX_TARGET_EXPORTS) \
27408 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27409 for flag in $(EXTRA_TARGET_FLAGS); do \
27410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27411 done; \
27412 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27415 "RANLIB=$${RANLIB}" \
27416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27417 dvi) \
27418 || exit 1
27420 @endif target-libstdc++-v3
27422 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
27423 maybe-html-target-libstdc++-v3:
27424 @if target-libstdc++-v3
27425 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
27427 html-target-libstdc++-v3: \
27428 configure-target-libstdc++-v3
27429 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27430 r=`${PWD_COMMAND}`; export r; \
27431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27432 $(RAW_CXX_TARGET_EXPORTS) \
27433 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27434 for flag in $(EXTRA_TARGET_FLAGS); do \
27435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27436 done; \
27437 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27440 "RANLIB=$${RANLIB}" \
27441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27442 html) \
27443 || exit 1
27445 @endif target-libstdc++-v3
27447 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
27448 maybe-TAGS-target-libstdc++-v3:
27449 @if target-libstdc++-v3
27450 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
27452 TAGS-target-libstdc++-v3: \
27453 configure-target-libstdc++-v3
27454 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27455 r=`${PWD_COMMAND}`; export r; \
27456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27457 $(RAW_CXX_TARGET_EXPORTS) \
27458 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27459 for flag in $(EXTRA_TARGET_FLAGS); do \
27460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27461 done; \
27462 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27465 "RANLIB=$${RANLIB}" \
27466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27467 TAGS) \
27468 || exit 1
27470 @endif target-libstdc++-v3
27472 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
27473 maybe-install-info-target-libstdc++-v3:
27474 @if target-libstdc++-v3
27475 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
27477 install-info-target-libstdc++-v3: \
27478 configure-target-libstdc++-v3 \
27479 info-target-libstdc++-v3
27480 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27481 r=`${PWD_COMMAND}`; export r; \
27482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27483 $(RAW_CXX_TARGET_EXPORTS) \
27484 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27485 for flag in $(EXTRA_TARGET_FLAGS); do \
27486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27487 done; \
27488 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27491 "RANLIB=$${RANLIB}" \
27492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27493 install-info) \
27494 || exit 1
27496 @endif target-libstdc++-v3
27498 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
27499 maybe-installcheck-target-libstdc++-v3:
27500 @if target-libstdc++-v3
27501 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
27503 installcheck-target-libstdc++-v3: \
27504 configure-target-libstdc++-v3
27505 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27506 r=`${PWD_COMMAND}`; export r; \
27507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27508 $(RAW_CXX_TARGET_EXPORTS) \
27509 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27510 for flag in $(EXTRA_TARGET_FLAGS); do \
27511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27512 done; \
27513 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27516 "RANLIB=$${RANLIB}" \
27517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27518 installcheck) \
27519 || exit 1
27521 @endif target-libstdc++-v3
27523 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
27524 maybe-mostlyclean-target-libstdc++-v3:
27525 @if target-libstdc++-v3
27526 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
27528 mostlyclean-target-libstdc++-v3:
27529 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27530 r=`${PWD_COMMAND}`; export r; \
27531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27532 $(RAW_CXX_TARGET_EXPORTS) \
27533 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27534 for flag in $(EXTRA_TARGET_FLAGS); do \
27535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27536 done; \
27537 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27540 "RANLIB=$${RANLIB}" \
27541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27542 mostlyclean) \
27543 || exit 1
27545 @endif target-libstdc++-v3
27547 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
27548 maybe-clean-target-libstdc++-v3:
27549 @if target-libstdc++-v3
27550 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
27552 clean-target-libstdc++-v3:
27553 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27554 r=`${PWD_COMMAND}`; export r; \
27555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27556 $(RAW_CXX_TARGET_EXPORTS) \
27557 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27558 for flag in $(EXTRA_TARGET_FLAGS); do \
27559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27560 done; \
27561 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27564 "RANLIB=$${RANLIB}" \
27565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27566 clean) \
27567 || exit 1
27569 @endif target-libstdc++-v3
27571 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
27572 maybe-distclean-target-libstdc++-v3:
27573 @if target-libstdc++-v3
27574 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
27576 distclean-target-libstdc++-v3:
27577 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27578 r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(RAW_CXX_TARGET_EXPORTS) \
27581 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27582 for flag in $(EXTRA_TARGET_FLAGS); do \
27583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27584 done; \
27585 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27588 "RANLIB=$${RANLIB}" \
27589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27590 distclean) \
27591 || exit 1
27593 @endif target-libstdc++-v3
27595 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
27596 maybe-maintainer-clean-target-libstdc++-v3:
27597 @if target-libstdc++-v3
27598 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
27600 maintainer-clean-target-libstdc++-v3:
27601 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
27602 r=`${PWD_COMMAND}`; export r; \
27603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27604 $(RAW_CXX_TARGET_EXPORTS) \
27605 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
27606 for flag in $(EXTRA_TARGET_FLAGS); do \
27607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27608 done; \
27609 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
27610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27612 "RANLIB=$${RANLIB}" \
27613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27614 maintainer-clean) \
27615 || exit 1
27617 @endif target-libstdc++-v3
27621 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27622 @if target-libmudflap
27623 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
27624 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27625 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
27626 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
27627 @endif target-libmudflap
27631 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
27632 maybe-configure-target-libmudflap:
27633 @if target-libmudflap
27634 maybe-configure-target-libmudflap: configure-target-libmudflap
27635 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
27636 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
27637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
27638 r=`${PWD_COMMAND}`; export r; \
27639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27640 $(NORMAL_TARGET_EXPORTS) \
27641 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
27642 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
27643 case $(srcdir) in \
27644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27645 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
27646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27647 esac; \
27648 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
27649 libsrcdir="$$s/libmudflap"; \
27650 rm -f no-such-file || : ; \
27651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27652 $(TARGET_CONFIGARGS) $${srcdiroption} \
27653 || exit 1
27654 @endif target-libmudflap
27660 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
27661 maybe-all-target-libmudflap:
27662 @if target-libmudflap
27663 TARGET-target-libmudflap=all
27664 maybe-all-target-libmudflap: all-target-libmudflap
27665 all-target-libmudflap: configure-target-libmudflap
27666 @r=`${PWD_COMMAND}`; export r; \
27667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27668 $(NORMAL_TARGET_EXPORTS) \
27669 (cd $(TARGET_SUBDIR)/libmudflap && \
27670 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
27671 @endif target-libmudflap
27677 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
27678 maybe-check-target-libmudflap:
27679 @if target-libmudflap
27680 maybe-check-target-libmudflap: check-target-libmudflap
27682 check-target-libmudflap:
27683 @r=`${PWD_COMMAND}`; export r; \
27684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27685 $(NORMAL_TARGET_EXPORTS) \
27686 (cd $(TARGET_SUBDIR)/libmudflap && \
27687 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27689 @endif target-libmudflap
27691 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
27692 maybe-install-target-libmudflap:
27693 @if target-libmudflap
27694 maybe-install-target-libmudflap: install-target-libmudflap
27696 install-target-libmudflap: installdirs
27697 @r=`${PWD_COMMAND}`; export r; \
27698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27699 $(NORMAL_TARGET_EXPORTS) \
27700 (cd $(TARGET_SUBDIR)/libmudflap && \
27701 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27703 @endif target-libmudflap
27705 # Other targets (info, dvi, etc.)
27707 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
27708 maybe-info-target-libmudflap:
27709 @if target-libmudflap
27710 maybe-info-target-libmudflap: info-target-libmudflap
27712 info-target-libmudflap: \
27713 configure-target-libmudflap
27714 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27715 r=`${PWD_COMMAND}`; export r; \
27716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27717 $(NORMAL_TARGET_EXPORTS) \
27718 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
27719 for flag in $(EXTRA_TARGET_FLAGS); do \
27720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27721 done; \
27722 (cd $(TARGET_SUBDIR)/libmudflap && \
27723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27725 "RANLIB=$${RANLIB}" \
27726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27727 info) \
27728 || exit 1
27730 @endif target-libmudflap
27732 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
27733 maybe-dvi-target-libmudflap:
27734 @if target-libmudflap
27735 maybe-dvi-target-libmudflap: dvi-target-libmudflap
27737 dvi-target-libmudflap: \
27738 configure-target-libmudflap
27739 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27740 r=`${PWD_COMMAND}`; export r; \
27741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27742 $(NORMAL_TARGET_EXPORTS) \
27743 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
27744 for flag in $(EXTRA_TARGET_FLAGS); do \
27745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27746 done; \
27747 (cd $(TARGET_SUBDIR)/libmudflap && \
27748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27750 "RANLIB=$${RANLIB}" \
27751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27752 dvi) \
27753 || exit 1
27755 @endif target-libmudflap
27757 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
27758 maybe-html-target-libmudflap:
27759 @if target-libmudflap
27760 maybe-html-target-libmudflap: html-target-libmudflap
27762 html-target-libmudflap: \
27763 configure-target-libmudflap
27764 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27765 r=`${PWD_COMMAND}`; export r; \
27766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27767 $(NORMAL_TARGET_EXPORTS) \
27768 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
27769 for flag in $(EXTRA_TARGET_FLAGS); do \
27770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27771 done; \
27772 (cd $(TARGET_SUBDIR)/libmudflap && \
27773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27775 "RANLIB=$${RANLIB}" \
27776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27777 html) \
27778 || exit 1
27780 @endif target-libmudflap
27782 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
27783 maybe-TAGS-target-libmudflap:
27784 @if target-libmudflap
27785 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
27787 TAGS-target-libmudflap: \
27788 configure-target-libmudflap
27789 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27790 r=`${PWD_COMMAND}`; export r; \
27791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27792 $(NORMAL_TARGET_EXPORTS) \
27793 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
27794 for flag in $(EXTRA_TARGET_FLAGS); do \
27795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27796 done; \
27797 (cd $(TARGET_SUBDIR)/libmudflap && \
27798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27800 "RANLIB=$${RANLIB}" \
27801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27802 TAGS) \
27803 || exit 1
27805 @endif target-libmudflap
27807 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
27808 maybe-install-info-target-libmudflap:
27809 @if target-libmudflap
27810 maybe-install-info-target-libmudflap: install-info-target-libmudflap
27812 install-info-target-libmudflap: \
27813 configure-target-libmudflap \
27814 info-target-libmudflap
27815 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27816 r=`${PWD_COMMAND}`; export r; \
27817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27818 $(NORMAL_TARGET_EXPORTS) \
27819 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
27820 for flag in $(EXTRA_TARGET_FLAGS); do \
27821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27822 done; \
27823 (cd $(TARGET_SUBDIR)/libmudflap && \
27824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27826 "RANLIB=$${RANLIB}" \
27827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27828 install-info) \
27829 || exit 1
27831 @endif target-libmudflap
27833 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
27834 maybe-installcheck-target-libmudflap:
27835 @if target-libmudflap
27836 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
27838 installcheck-target-libmudflap: \
27839 configure-target-libmudflap
27840 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27841 r=`${PWD_COMMAND}`; export r; \
27842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27843 $(NORMAL_TARGET_EXPORTS) \
27844 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
27845 for flag in $(EXTRA_TARGET_FLAGS); do \
27846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27847 done; \
27848 (cd $(TARGET_SUBDIR)/libmudflap && \
27849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27851 "RANLIB=$${RANLIB}" \
27852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27853 installcheck) \
27854 || exit 1
27856 @endif target-libmudflap
27858 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
27859 maybe-mostlyclean-target-libmudflap:
27860 @if target-libmudflap
27861 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
27863 mostlyclean-target-libmudflap:
27864 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27865 r=`${PWD_COMMAND}`; export r; \
27866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27867 $(NORMAL_TARGET_EXPORTS) \
27868 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
27869 for flag in $(EXTRA_TARGET_FLAGS); do \
27870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27871 done; \
27872 (cd $(TARGET_SUBDIR)/libmudflap && \
27873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27875 "RANLIB=$${RANLIB}" \
27876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27877 mostlyclean) \
27878 || exit 1
27880 @endif target-libmudflap
27882 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
27883 maybe-clean-target-libmudflap:
27884 @if target-libmudflap
27885 maybe-clean-target-libmudflap: clean-target-libmudflap
27887 clean-target-libmudflap:
27888 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27889 r=`${PWD_COMMAND}`; export r; \
27890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27891 $(NORMAL_TARGET_EXPORTS) \
27892 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
27893 for flag in $(EXTRA_TARGET_FLAGS); do \
27894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27895 done; \
27896 (cd $(TARGET_SUBDIR)/libmudflap && \
27897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27899 "RANLIB=$${RANLIB}" \
27900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27901 clean) \
27902 || exit 1
27904 @endif target-libmudflap
27906 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
27907 maybe-distclean-target-libmudflap:
27908 @if target-libmudflap
27909 maybe-distclean-target-libmudflap: distclean-target-libmudflap
27911 distclean-target-libmudflap:
27912 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27913 r=`${PWD_COMMAND}`; export r; \
27914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27915 $(NORMAL_TARGET_EXPORTS) \
27916 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
27917 for flag in $(EXTRA_TARGET_FLAGS); do \
27918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27919 done; \
27920 (cd $(TARGET_SUBDIR)/libmudflap && \
27921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27923 "RANLIB=$${RANLIB}" \
27924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27925 distclean) \
27926 || exit 1
27928 @endif target-libmudflap
27930 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
27931 maybe-maintainer-clean-target-libmudflap:
27932 @if target-libmudflap
27933 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
27935 maintainer-clean-target-libmudflap:
27936 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
27937 r=`${PWD_COMMAND}`; export r; \
27938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27939 $(NORMAL_TARGET_EXPORTS) \
27940 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
27941 for flag in $(EXTRA_TARGET_FLAGS); do \
27942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27943 done; \
27944 (cd $(TARGET_SUBDIR)/libmudflap && \
27945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27947 "RANLIB=$${RANLIB}" \
27948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27949 maintainer-clean) \
27950 || exit 1
27952 @endif target-libmudflap
27956 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27957 @if target-libssp
27958 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
27959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
27960 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
27961 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
27962 @endif target-libssp
27966 .PHONY: configure-target-libssp maybe-configure-target-libssp
27967 maybe-configure-target-libssp:
27968 @if target-libssp
27969 maybe-configure-target-libssp: configure-target-libssp
27970 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
27971 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
27972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
27973 r=`${PWD_COMMAND}`; export r; \
27974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27975 $(NORMAL_TARGET_EXPORTS) \
27976 echo Configuring in $(TARGET_SUBDIR)/libssp; \
27977 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
27978 case $(srcdir) in \
27979 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27980 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
27981 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27982 esac; \
27983 srcdiroption="--srcdir=$${topdir}/libssp"; \
27984 libsrcdir="$$s/libssp"; \
27985 rm -f no-such-file || : ; \
27986 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27987 $(TARGET_CONFIGARGS) $${srcdiroption} \
27988 || exit 1
27989 @endif target-libssp
27995 .PHONY: all-target-libssp maybe-all-target-libssp
27996 maybe-all-target-libssp:
27997 @if target-libssp
27998 TARGET-target-libssp=all
27999 maybe-all-target-libssp: all-target-libssp
28000 all-target-libssp: configure-target-libssp
28001 @r=`${PWD_COMMAND}`; export r; \
28002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28003 $(NORMAL_TARGET_EXPORTS) \
28004 (cd $(TARGET_SUBDIR)/libssp && \
28005 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
28006 @endif target-libssp
28012 .PHONY: check-target-libssp maybe-check-target-libssp
28013 maybe-check-target-libssp:
28014 @if target-libssp
28015 maybe-check-target-libssp: check-target-libssp
28017 check-target-libssp:
28018 @r=`${PWD_COMMAND}`; export r; \
28019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28020 $(NORMAL_TARGET_EXPORTS) \
28021 (cd $(TARGET_SUBDIR)/libssp && \
28022 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28024 @endif target-libssp
28026 .PHONY: install-target-libssp maybe-install-target-libssp
28027 maybe-install-target-libssp:
28028 @if target-libssp
28029 maybe-install-target-libssp: install-target-libssp
28031 install-target-libssp: installdirs
28032 @r=`${PWD_COMMAND}`; export r; \
28033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28034 $(NORMAL_TARGET_EXPORTS) \
28035 (cd $(TARGET_SUBDIR)/libssp && \
28036 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28038 @endif target-libssp
28040 # Other targets (info, dvi, etc.)
28042 .PHONY: maybe-info-target-libssp info-target-libssp
28043 maybe-info-target-libssp:
28044 @if target-libssp
28045 maybe-info-target-libssp: info-target-libssp
28047 info-target-libssp: \
28048 configure-target-libssp
28049 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28050 r=`${PWD_COMMAND}`; export r; \
28051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28052 $(NORMAL_TARGET_EXPORTS) \
28053 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
28054 for flag in $(EXTRA_TARGET_FLAGS); do \
28055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28056 done; \
28057 (cd $(TARGET_SUBDIR)/libssp && \
28058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28060 "RANLIB=$${RANLIB}" \
28061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28062 info) \
28063 || exit 1
28065 @endif target-libssp
28067 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
28068 maybe-dvi-target-libssp:
28069 @if target-libssp
28070 maybe-dvi-target-libssp: dvi-target-libssp
28072 dvi-target-libssp: \
28073 configure-target-libssp
28074 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28075 r=`${PWD_COMMAND}`; export r; \
28076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28077 $(NORMAL_TARGET_EXPORTS) \
28078 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
28079 for flag in $(EXTRA_TARGET_FLAGS); do \
28080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28081 done; \
28082 (cd $(TARGET_SUBDIR)/libssp && \
28083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28085 "RANLIB=$${RANLIB}" \
28086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28087 dvi) \
28088 || exit 1
28090 @endif target-libssp
28092 .PHONY: maybe-html-target-libssp html-target-libssp
28093 maybe-html-target-libssp:
28094 @if target-libssp
28095 maybe-html-target-libssp: html-target-libssp
28097 html-target-libssp: \
28098 configure-target-libssp
28099 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28100 r=`${PWD_COMMAND}`; export r; \
28101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28102 $(NORMAL_TARGET_EXPORTS) \
28103 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
28104 for flag in $(EXTRA_TARGET_FLAGS); do \
28105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28106 done; \
28107 (cd $(TARGET_SUBDIR)/libssp && \
28108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28110 "RANLIB=$${RANLIB}" \
28111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28112 html) \
28113 || exit 1
28115 @endif target-libssp
28117 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
28118 maybe-TAGS-target-libssp:
28119 @if target-libssp
28120 maybe-TAGS-target-libssp: TAGS-target-libssp
28122 TAGS-target-libssp: \
28123 configure-target-libssp
28124 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28125 r=`${PWD_COMMAND}`; export r; \
28126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28127 $(NORMAL_TARGET_EXPORTS) \
28128 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
28129 for flag in $(EXTRA_TARGET_FLAGS); do \
28130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28131 done; \
28132 (cd $(TARGET_SUBDIR)/libssp && \
28133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28135 "RANLIB=$${RANLIB}" \
28136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28137 TAGS) \
28138 || exit 1
28140 @endif target-libssp
28142 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
28143 maybe-install-info-target-libssp:
28144 @if target-libssp
28145 maybe-install-info-target-libssp: install-info-target-libssp
28147 install-info-target-libssp: \
28148 configure-target-libssp \
28149 info-target-libssp
28150 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28151 r=`${PWD_COMMAND}`; export r; \
28152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28153 $(NORMAL_TARGET_EXPORTS) \
28154 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
28155 for flag in $(EXTRA_TARGET_FLAGS); do \
28156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28157 done; \
28158 (cd $(TARGET_SUBDIR)/libssp && \
28159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28161 "RANLIB=$${RANLIB}" \
28162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28163 install-info) \
28164 || exit 1
28166 @endif target-libssp
28168 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
28169 maybe-installcheck-target-libssp:
28170 @if target-libssp
28171 maybe-installcheck-target-libssp: installcheck-target-libssp
28173 installcheck-target-libssp: \
28174 configure-target-libssp
28175 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28176 r=`${PWD_COMMAND}`; export r; \
28177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28178 $(NORMAL_TARGET_EXPORTS) \
28179 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
28180 for flag in $(EXTRA_TARGET_FLAGS); do \
28181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28182 done; \
28183 (cd $(TARGET_SUBDIR)/libssp && \
28184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28186 "RANLIB=$${RANLIB}" \
28187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28188 installcheck) \
28189 || exit 1
28191 @endif target-libssp
28193 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
28194 maybe-mostlyclean-target-libssp:
28195 @if target-libssp
28196 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
28198 mostlyclean-target-libssp:
28199 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28200 r=`${PWD_COMMAND}`; export r; \
28201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28202 $(NORMAL_TARGET_EXPORTS) \
28203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
28204 for flag in $(EXTRA_TARGET_FLAGS); do \
28205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28206 done; \
28207 (cd $(TARGET_SUBDIR)/libssp && \
28208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28210 "RANLIB=$${RANLIB}" \
28211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28212 mostlyclean) \
28213 || exit 1
28215 @endif target-libssp
28217 .PHONY: maybe-clean-target-libssp clean-target-libssp
28218 maybe-clean-target-libssp:
28219 @if target-libssp
28220 maybe-clean-target-libssp: clean-target-libssp
28222 clean-target-libssp:
28223 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28224 r=`${PWD_COMMAND}`; export r; \
28225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28226 $(NORMAL_TARGET_EXPORTS) \
28227 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
28228 for flag in $(EXTRA_TARGET_FLAGS); do \
28229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28230 done; \
28231 (cd $(TARGET_SUBDIR)/libssp && \
28232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28234 "RANLIB=$${RANLIB}" \
28235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28236 clean) \
28237 || exit 1
28239 @endif target-libssp
28241 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
28242 maybe-distclean-target-libssp:
28243 @if target-libssp
28244 maybe-distclean-target-libssp: distclean-target-libssp
28246 distclean-target-libssp:
28247 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28248 r=`${PWD_COMMAND}`; export r; \
28249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28250 $(NORMAL_TARGET_EXPORTS) \
28251 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
28252 for flag in $(EXTRA_TARGET_FLAGS); do \
28253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28254 done; \
28255 (cd $(TARGET_SUBDIR)/libssp && \
28256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28258 "RANLIB=$${RANLIB}" \
28259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28260 distclean) \
28261 || exit 1
28263 @endif target-libssp
28265 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
28266 maybe-maintainer-clean-target-libssp:
28267 @if target-libssp
28268 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
28270 maintainer-clean-target-libssp:
28271 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
28272 r=`${PWD_COMMAND}`; export r; \
28273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28274 $(NORMAL_TARGET_EXPORTS) \
28275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
28276 for flag in $(EXTRA_TARGET_FLAGS); do \
28277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28278 done; \
28279 (cd $(TARGET_SUBDIR)/libssp && \
28280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28282 "RANLIB=$${RANLIB}" \
28283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28284 maintainer-clean) \
28285 || exit 1
28287 @endif target-libssp
28291 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28292 @if target-newlib
28293 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
28294 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28295 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
28296 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
28297 @endif target-newlib
28301 .PHONY: configure-target-newlib maybe-configure-target-newlib
28302 maybe-configure-target-newlib:
28303 @if target-newlib
28304 maybe-configure-target-newlib: configure-target-newlib
28305 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
28306 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
28307 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
28308 r=`${PWD_COMMAND}`; export r; \
28309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28310 $(NORMAL_TARGET_EXPORTS) \
28311 echo Configuring in $(TARGET_SUBDIR)/newlib; \
28312 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
28313 case $(srcdir) in \
28314 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28315 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
28316 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28317 esac; \
28318 srcdiroption="--srcdir=$${topdir}/newlib"; \
28319 libsrcdir="$$s/newlib"; \
28320 rm -f no-such-file || : ; \
28321 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28322 $(TARGET_CONFIGARGS) $${srcdiroption} \
28323 || exit 1
28324 @endif target-newlib
28330 .PHONY: all-target-newlib maybe-all-target-newlib
28331 maybe-all-target-newlib:
28332 @if target-newlib
28333 TARGET-target-newlib=all
28334 maybe-all-target-newlib: all-target-newlib
28335 all-target-newlib: configure-target-newlib
28336 @r=`${PWD_COMMAND}`; export r; \
28337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28338 $(NORMAL_TARGET_EXPORTS) \
28339 (cd $(TARGET_SUBDIR)/newlib && \
28340 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
28341 @endif target-newlib
28347 .PHONY: check-target-newlib maybe-check-target-newlib
28348 maybe-check-target-newlib:
28349 @if target-newlib
28350 maybe-check-target-newlib: check-target-newlib
28352 check-target-newlib:
28353 @r=`${PWD_COMMAND}`; export r; \
28354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28355 $(NORMAL_TARGET_EXPORTS) \
28356 (cd $(TARGET_SUBDIR)/newlib && \
28357 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28359 @endif target-newlib
28361 .PHONY: install-target-newlib maybe-install-target-newlib
28362 maybe-install-target-newlib:
28363 @if target-newlib
28364 maybe-install-target-newlib: install-target-newlib
28366 install-target-newlib: installdirs
28367 @r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(NORMAL_TARGET_EXPORTS) \
28370 (cd $(TARGET_SUBDIR)/newlib && \
28371 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28373 @endif target-newlib
28375 # Other targets (info, dvi, etc.)
28377 .PHONY: maybe-info-target-newlib info-target-newlib
28378 maybe-info-target-newlib:
28379 @if target-newlib
28380 maybe-info-target-newlib: info-target-newlib
28382 info-target-newlib: \
28383 configure-target-newlib
28384 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28385 r=`${PWD_COMMAND}`; export r; \
28386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28387 $(NORMAL_TARGET_EXPORTS) \
28388 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
28389 for flag in $(EXTRA_TARGET_FLAGS); do \
28390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28391 done; \
28392 (cd $(TARGET_SUBDIR)/newlib && \
28393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28395 "RANLIB=$${RANLIB}" \
28396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28397 info) \
28398 || exit 1
28400 @endif target-newlib
28402 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
28403 maybe-dvi-target-newlib:
28404 @if target-newlib
28405 maybe-dvi-target-newlib: dvi-target-newlib
28407 dvi-target-newlib: \
28408 configure-target-newlib
28409 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28410 r=`${PWD_COMMAND}`; export r; \
28411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28412 $(NORMAL_TARGET_EXPORTS) \
28413 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
28414 for flag in $(EXTRA_TARGET_FLAGS); do \
28415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28416 done; \
28417 (cd $(TARGET_SUBDIR)/newlib && \
28418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28420 "RANLIB=$${RANLIB}" \
28421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28422 dvi) \
28423 || exit 1
28425 @endif target-newlib
28427 .PHONY: maybe-html-target-newlib html-target-newlib
28428 maybe-html-target-newlib:
28429 @if target-newlib
28430 maybe-html-target-newlib: html-target-newlib
28432 html-target-newlib: \
28433 configure-target-newlib
28434 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(NORMAL_TARGET_EXPORTS) \
28438 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
28439 for flag in $(EXTRA_TARGET_FLAGS); do \
28440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28441 done; \
28442 (cd $(TARGET_SUBDIR)/newlib && \
28443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28445 "RANLIB=$${RANLIB}" \
28446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28447 html) \
28448 || exit 1
28450 @endif target-newlib
28452 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
28453 maybe-TAGS-target-newlib:
28454 @if target-newlib
28455 maybe-TAGS-target-newlib: TAGS-target-newlib
28457 TAGS-target-newlib: \
28458 configure-target-newlib
28459 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28460 r=`${PWD_COMMAND}`; export r; \
28461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28462 $(NORMAL_TARGET_EXPORTS) \
28463 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
28464 for flag in $(EXTRA_TARGET_FLAGS); do \
28465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28466 done; \
28467 (cd $(TARGET_SUBDIR)/newlib && \
28468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28470 "RANLIB=$${RANLIB}" \
28471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28472 TAGS) \
28473 || exit 1
28475 @endif target-newlib
28477 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
28478 maybe-install-info-target-newlib:
28479 @if target-newlib
28480 maybe-install-info-target-newlib: install-info-target-newlib
28482 install-info-target-newlib: \
28483 configure-target-newlib \
28484 info-target-newlib
28485 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28486 r=`${PWD_COMMAND}`; export r; \
28487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28488 $(NORMAL_TARGET_EXPORTS) \
28489 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
28490 for flag in $(EXTRA_TARGET_FLAGS); do \
28491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28492 done; \
28493 (cd $(TARGET_SUBDIR)/newlib && \
28494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28496 "RANLIB=$${RANLIB}" \
28497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28498 install-info) \
28499 || exit 1
28501 @endif target-newlib
28503 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
28504 maybe-installcheck-target-newlib:
28505 @if target-newlib
28506 maybe-installcheck-target-newlib: installcheck-target-newlib
28508 installcheck-target-newlib: \
28509 configure-target-newlib
28510 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28511 r=`${PWD_COMMAND}`; export r; \
28512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28513 $(NORMAL_TARGET_EXPORTS) \
28514 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
28515 for flag in $(EXTRA_TARGET_FLAGS); do \
28516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28517 done; \
28518 (cd $(TARGET_SUBDIR)/newlib && \
28519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28521 "RANLIB=$${RANLIB}" \
28522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28523 installcheck) \
28524 || exit 1
28526 @endif target-newlib
28528 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
28529 maybe-mostlyclean-target-newlib:
28530 @if target-newlib
28531 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
28533 mostlyclean-target-newlib:
28534 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28535 r=`${PWD_COMMAND}`; export r; \
28536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28537 $(NORMAL_TARGET_EXPORTS) \
28538 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
28539 for flag in $(EXTRA_TARGET_FLAGS); do \
28540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28541 done; \
28542 (cd $(TARGET_SUBDIR)/newlib && \
28543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28545 "RANLIB=$${RANLIB}" \
28546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28547 mostlyclean) \
28548 || exit 1
28550 @endif target-newlib
28552 .PHONY: maybe-clean-target-newlib clean-target-newlib
28553 maybe-clean-target-newlib:
28554 @if target-newlib
28555 maybe-clean-target-newlib: clean-target-newlib
28557 clean-target-newlib:
28558 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28559 r=`${PWD_COMMAND}`; export r; \
28560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28561 $(NORMAL_TARGET_EXPORTS) \
28562 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
28563 for flag in $(EXTRA_TARGET_FLAGS); do \
28564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28565 done; \
28566 (cd $(TARGET_SUBDIR)/newlib && \
28567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28569 "RANLIB=$${RANLIB}" \
28570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28571 clean) \
28572 || exit 1
28574 @endif target-newlib
28576 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
28577 maybe-distclean-target-newlib:
28578 @if target-newlib
28579 maybe-distclean-target-newlib: distclean-target-newlib
28581 distclean-target-newlib:
28582 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28583 r=`${PWD_COMMAND}`; export r; \
28584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28585 $(NORMAL_TARGET_EXPORTS) \
28586 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
28587 for flag in $(EXTRA_TARGET_FLAGS); do \
28588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28589 done; \
28590 (cd $(TARGET_SUBDIR)/newlib && \
28591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28593 "RANLIB=$${RANLIB}" \
28594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28595 distclean) \
28596 || exit 1
28598 @endif target-newlib
28600 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
28601 maybe-maintainer-clean-target-newlib:
28602 @if target-newlib
28603 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
28605 maintainer-clean-target-newlib:
28606 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
28607 r=`${PWD_COMMAND}`; export r; \
28608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28609 $(NORMAL_TARGET_EXPORTS) \
28610 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
28611 for flag in $(EXTRA_TARGET_FLAGS); do \
28612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28613 done; \
28614 (cd $(TARGET_SUBDIR)/newlib && \
28615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28617 "RANLIB=$${RANLIB}" \
28618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28619 maintainer-clean) \
28620 || exit 1
28622 @endif target-newlib
28626 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28627 @if target-libgfortran
28628 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
28629 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28630 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
28631 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
28632 @endif target-libgfortran
28636 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
28637 maybe-configure-target-libgfortran:
28638 @if target-libgfortran
28639 maybe-configure-target-libgfortran: configure-target-libgfortran
28640 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
28641 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
28642 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
28643 r=`${PWD_COMMAND}`; export r; \
28644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28645 $(NORMAL_TARGET_EXPORTS) \
28646 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
28647 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
28648 case $(srcdir) in \
28649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28650 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
28651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28652 esac; \
28653 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
28654 libsrcdir="$$s/libgfortran"; \
28655 rm -f no-such-file || : ; \
28656 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28657 $(TARGET_CONFIGARGS) $${srcdiroption} \
28658 || exit 1
28659 @endif target-libgfortran
28665 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
28666 maybe-all-target-libgfortran:
28667 @if target-libgfortran
28668 TARGET-target-libgfortran=all
28669 maybe-all-target-libgfortran: all-target-libgfortran
28670 all-target-libgfortran: configure-target-libgfortran
28671 @r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(NORMAL_TARGET_EXPORTS) \
28674 (cd $(TARGET_SUBDIR)/libgfortran && \
28675 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
28676 @endif target-libgfortran
28682 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
28683 maybe-check-target-libgfortran:
28684 @if target-libgfortran
28685 maybe-check-target-libgfortran: check-target-libgfortran
28687 check-target-libgfortran:
28688 @r=`${PWD_COMMAND}`; export r; \
28689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28690 $(NORMAL_TARGET_EXPORTS) \
28691 (cd $(TARGET_SUBDIR)/libgfortran && \
28692 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28694 @endif target-libgfortran
28696 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
28697 maybe-install-target-libgfortran:
28698 @if target-libgfortran
28699 maybe-install-target-libgfortran: install-target-libgfortran
28701 install-target-libgfortran: installdirs
28702 @r=`${PWD_COMMAND}`; export r; \
28703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28704 $(NORMAL_TARGET_EXPORTS) \
28705 (cd $(TARGET_SUBDIR)/libgfortran && \
28706 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28708 @endif target-libgfortran
28710 # Other targets (info, dvi, etc.)
28712 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
28713 maybe-info-target-libgfortran:
28714 @if target-libgfortran
28715 maybe-info-target-libgfortran: info-target-libgfortran
28717 info-target-libgfortran: \
28718 configure-target-libgfortran
28719 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28720 r=`${PWD_COMMAND}`; export r; \
28721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28722 $(NORMAL_TARGET_EXPORTS) \
28723 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
28724 for flag in $(EXTRA_TARGET_FLAGS); do \
28725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28726 done; \
28727 (cd $(TARGET_SUBDIR)/libgfortran && \
28728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28730 "RANLIB=$${RANLIB}" \
28731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28732 info) \
28733 || exit 1
28735 @endif target-libgfortran
28737 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
28738 maybe-dvi-target-libgfortran:
28739 @if target-libgfortran
28740 maybe-dvi-target-libgfortran: dvi-target-libgfortran
28742 dvi-target-libgfortran: \
28743 configure-target-libgfortran
28744 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28745 r=`${PWD_COMMAND}`; export r; \
28746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28747 $(NORMAL_TARGET_EXPORTS) \
28748 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
28749 for flag in $(EXTRA_TARGET_FLAGS); do \
28750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28751 done; \
28752 (cd $(TARGET_SUBDIR)/libgfortran && \
28753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28755 "RANLIB=$${RANLIB}" \
28756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28757 dvi) \
28758 || exit 1
28760 @endif target-libgfortran
28762 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
28763 maybe-html-target-libgfortran:
28764 @if target-libgfortran
28765 maybe-html-target-libgfortran: html-target-libgfortran
28767 html-target-libgfortran: \
28768 configure-target-libgfortran
28769 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28770 r=`${PWD_COMMAND}`; export r; \
28771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28772 $(NORMAL_TARGET_EXPORTS) \
28773 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
28774 for flag in $(EXTRA_TARGET_FLAGS); do \
28775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28776 done; \
28777 (cd $(TARGET_SUBDIR)/libgfortran && \
28778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28780 "RANLIB=$${RANLIB}" \
28781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28782 html) \
28783 || exit 1
28785 @endif target-libgfortran
28787 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
28788 maybe-TAGS-target-libgfortran:
28789 @if target-libgfortran
28790 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
28792 TAGS-target-libgfortran: \
28793 configure-target-libgfortran
28794 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28795 r=`${PWD_COMMAND}`; export r; \
28796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28797 $(NORMAL_TARGET_EXPORTS) \
28798 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
28799 for flag in $(EXTRA_TARGET_FLAGS); do \
28800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28801 done; \
28802 (cd $(TARGET_SUBDIR)/libgfortran && \
28803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28805 "RANLIB=$${RANLIB}" \
28806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28807 TAGS) \
28808 || exit 1
28810 @endif target-libgfortran
28812 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
28813 maybe-install-info-target-libgfortran:
28814 @if target-libgfortran
28815 maybe-install-info-target-libgfortran: install-info-target-libgfortran
28817 install-info-target-libgfortran: \
28818 configure-target-libgfortran \
28819 info-target-libgfortran
28820 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28821 r=`${PWD_COMMAND}`; export r; \
28822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28823 $(NORMAL_TARGET_EXPORTS) \
28824 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
28825 for flag in $(EXTRA_TARGET_FLAGS); do \
28826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28827 done; \
28828 (cd $(TARGET_SUBDIR)/libgfortran && \
28829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28831 "RANLIB=$${RANLIB}" \
28832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28833 install-info) \
28834 || exit 1
28836 @endif target-libgfortran
28838 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
28839 maybe-installcheck-target-libgfortran:
28840 @if target-libgfortran
28841 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
28843 installcheck-target-libgfortran: \
28844 configure-target-libgfortran
28845 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28846 r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(NORMAL_TARGET_EXPORTS) \
28849 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
28850 for flag in $(EXTRA_TARGET_FLAGS); do \
28851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28852 done; \
28853 (cd $(TARGET_SUBDIR)/libgfortran && \
28854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28856 "RANLIB=$${RANLIB}" \
28857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28858 installcheck) \
28859 || exit 1
28861 @endif target-libgfortran
28863 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
28864 maybe-mostlyclean-target-libgfortran:
28865 @if target-libgfortran
28866 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
28868 mostlyclean-target-libgfortran:
28869 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28870 r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(NORMAL_TARGET_EXPORTS) \
28873 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
28874 for flag in $(EXTRA_TARGET_FLAGS); do \
28875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28876 done; \
28877 (cd $(TARGET_SUBDIR)/libgfortran && \
28878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28880 "RANLIB=$${RANLIB}" \
28881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28882 mostlyclean) \
28883 || exit 1
28885 @endif target-libgfortran
28887 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
28888 maybe-clean-target-libgfortran:
28889 @if target-libgfortran
28890 maybe-clean-target-libgfortran: clean-target-libgfortran
28892 clean-target-libgfortran:
28893 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28894 r=`${PWD_COMMAND}`; export r; \
28895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28896 $(NORMAL_TARGET_EXPORTS) \
28897 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
28898 for flag in $(EXTRA_TARGET_FLAGS); do \
28899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28900 done; \
28901 (cd $(TARGET_SUBDIR)/libgfortran && \
28902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28904 "RANLIB=$${RANLIB}" \
28905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28906 clean) \
28907 || exit 1
28909 @endif target-libgfortran
28911 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
28912 maybe-distclean-target-libgfortran:
28913 @if target-libgfortran
28914 maybe-distclean-target-libgfortran: distclean-target-libgfortran
28916 distclean-target-libgfortran:
28917 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28918 r=`${PWD_COMMAND}`; export r; \
28919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28920 $(NORMAL_TARGET_EXPORTS) \
28921 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
28922 for flag in $(EXTRA_TARGET_FLAGS); do \
28923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28924 done; \
28925 (cd $(TARGET_SUBDIR)/libgfortran && \
28926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28928 "RANLIB=$${RANLIB}" \
28929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28930 distclean) \
28931 || exit 1
28933 @endif target-libgfortran
28935 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
28936 maybe-maintainer-clean-target-libgfortran:
28937 @if target-libgfortran
28938 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
28940 maintainer-clean-target-libgfortran:
28941 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
28942 r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 $(NORMAL_TARGET_EXPORTS) \
28945 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
28946 for flag in $(EXTRA_TARGET_FLAGS); do \
28947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28948 done; \
28949 (cd $(TARGET_SUBDIR)/libgfortran && \
28950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28952 "RANLIB=$${RANLIB}" \
28953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28954 maintainer-clean) \
28955 || exit 1
28957 @endif target-libgfortran
28961 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28962 @if target-libobjc
28963 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
28964 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28965 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
28966 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
28967 @endif target-libobjc
28971 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
28972 maybe-configure-target-libobjc:
28973 @if target-libobjc
28974 maybe-configure-target-libobjc: configure-target-libobjc
28975 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
28976 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
28977 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
28978 r=`${PWD_COMMAND}`; export r; \
28979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28980 $(NORMAL_TARGET_EXPORTS) \
28981 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
28982 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
28983 case $(srcdir) in \
28984 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28985 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
28986 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28987 esac; \
28988 srcdiroption="--srcdir=$${topdir}/libobjc"; \
28989 libsrcdir="$$s/libobjc"; \
28990 rm -f no-such-file || : ; \
28991 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28992 $(TARGET_CONFIGARGS) $${srcdiroption} \
28993 || exit 1
28994 @endif target-libobjc
29000 .PHONY: all-target-libobjc maybe-all-target-libobjc
29001 maybe-all-target-libobjc:
29002 @if target-libobjc
29003 TARGET-target-libobjc=all
29004 maybe-all-target-libobjc: all-target-libobjc
29005 all-target-libobjc: configure-target-libobjc
29006 @r=`${PWD_COMMAND}`; export r; \
29007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29008 $(NORMAL_TARGET_EXPORTS) \
29009 (cd $(TARGET_SUBDIR)/libobjc && \
29010 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
29011 @endif target-libobjc
29017 .PHONY: check-target-libobjc maybe-check-target-libobjc
29018 maybe-check-target-libobjc:
29019 @if target-libobjc
29020 maybe-check-target-libobjc: check-target-libobjc
29022 check-target-libobjc:
29023 @r=`${PWD_COMMAND}`; export r; \
29024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29025 $(NORMAL_TARGET_EXPORTS) \
29026 (cd $(TARGET_SUBDIR)/libobjc && \
29027 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29029 @endif target-libobjc
29031 .PHONY: install-target-libobjc maybe-install-target-libobjc
29032 maybe-install-target-libobjc:
29033 @if target-libobjc
29034 maybe-install-target-libobjc: install-target-libobjc
29036 install-target-libobjc: installdirs
29037 @r=`${PWD_COMMAND}`; export r; \
29038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29039 $(NORMAL_TARGET_EXPORTS) \
29040 (cd $(TARGET_SUBDIR)/libobjc && \
29041 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29043 @endif target-libobjc
29045 # Other targets (info, dvi, etc.)
29047 .PHONY: maybe-info-target-libobjc info-target-libobjc
29048 maybe-info-target-libobjc:
29049 @if target-libobjc
29050 maybe-info-target-libobjc: info-target-libobjc
29052 info-target-libobjc: \
29053 configure-target-libobjc
29054 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29055 r=`${PWD_COMMAND}`; export r; \
29056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29057 $(NORMAL_TARGET_EXPORTS) \
29058 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
29059 for flag in $(EXTRA_TARGET_FLAGS); do \
29060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29061 done; \
29062 (cd $(TARGET_SUBDIR)/libobjc && \
29063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29065 "RANLIB=$${RANLIB}" \
29066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29067 info) \
29068 || exit 1
29070 @endif target-libobjc
29072 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
29073 maybe-dvi-target-libobjc:
29074 @if target-libobjc
29075 maybe-dvi-target-libobjc: dvi-target-libobjc
29077 dvi-target-libobjc: \
29078 configure-target-libobjc
29079 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29080 r=`${PWD_COMMAND}`; export r; \
29081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29082 $(NORMAL_TARGET_EXPORTS) \
29083 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
29084 for flag in $(EXTRA_TARGET_FLAGS); do \
29085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29086 done; \
29087 (cd $(TARGET_SUBDIR)/libobjc && \
29088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29090 "RANLIB=$${RANLIB}" \
29091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29092 dvi) \
29093 || exit 1
29095 @endif target-libobjc
29097 .PHONY: maybe-html-target-libobjc html-target-libobjc
29098 maybe-html-target-libobjc:
29099 @if target-libobjc
29100 maybe-html-target-libobjc: html-target-libobjc
29102 html-target-libobjc: \
29103 configure-target-libobjc
29104 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29105 r=`${PWD_COMMAND}`; export r; \
29106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29107 $(NORMAL_TARGET_EXPORTS) \
29108 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
29109 for flag in $(EXTRA_TARGET_FLAGS); do \
29110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29111 done; \
29112 (cd $(TARGET_SUBDIR)/libobjc && \
29113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29115 "RANLIB=$${RANLIB}" \
29116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29117 html) \
29118 || exit 1
29120 @endif target-libobjc
29122 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
29123 maybe-TAGS-target-libobjc:
29124 @if target-libobjc
29125 maybe-TAGS-target-libobjc: TAGS-target-libobjc
29127 TAGS-target-libobjc: \
29128 configure-target-libobjc
29129 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29130 r=`${PWD_COMMAND}`; export r; \
29131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29132 $(NORMAL_TARGET_EXPORTS) \
29133 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
29134 for flag in $(EXTRA_TARGET_FLAGS); do \
29135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29136 done; \
29137 (cd $(TARGET_SUBDIR)/libobjc && \
29138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29140 "RANLIB=$${RANLIB}" \
29141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29142 TAGS) \
29143 || exit 1
29145 @endif target-libobjc
29147 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
29148 maybe-install-info-target-libobjc:
29149 @if target-libobjc
29150 maybe-install-info-target-libobjc: install-info-target-libobjc
29152 install-info-target-libobjc: \
29153 configure-target-libobjc \
29154 info-target-libobjc
29155 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29156 r=`${PWD_COMMAND}`; export r; \
29157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29158 $(NORMAL_TARGET_EXPORTS) \
29159 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
29160 for flag in $(EXTRA_TARGET_FLAGS); do \
29161 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29162 done; \
29163 (cd $(TARGET_SUBDIR)/libobjc && \
29164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29166 "RANLIB=$${RANLIB}" \
29167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29168 install-info) \
29169 || exit 1
29171 @endif target-libobjc
29173 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
29174 maybe-installcheck-target-libobjc:
29175 @if target-libobjc
29176 maybe-installcheck-target-libobjc: installcheck-target-libobjc
29178 installcheck-target-libobjc: \
29179 configure-target-libobjc
29180 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29181 r=`${PWD_COMMAND}`; export r; \
29182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29183 $(NORMAL_TARGET_EXPORTS) \
29184 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
29185 for flag in $(EXTRA_TARGET_FLAGS); do \
29186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29187 done; \
29188 (cd $(TARGET_SUBDIR)/libobjc && \
29189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29191 "RANLIB=$${RANLIB}" \
29192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29193 installcheck) \
29194 || exit 1
29196 @endif target-libobjc
29198 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
29199 maybe-mostlyclean-target-libobjc:
29200 @if target-libobjc
29201 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
29203 mostlyclean-target-libobjc:
29204 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29205 r=`${PWD_COMMAND}`; export r; \
29206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29207 $(NORMAL_TARGET_EXPORTS) \
29208 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
29209 for flag in $(EXTRA_TARGET_FLAGS); do \
29210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29211 done; \
29212 (cd $(TARGET_SUBDIR)/libobjc && \
29213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29215 "RANLIB=$${RANLIB}" \
29216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29217 mostlyclean) \
29218 || exit 1
29220 @endif target-libobjc
29222 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
29223 maybe-clean-target-libobjc:
29224 @if target-libobjc
29225 maybe-clean-target-libobjc: clean-target-libobjc
29227 clean-target-libobjc:
29228 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29229 r=`${PWD_COMMAND}`; export r; \
29230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29231 $(NORMAL_TARGET_EXPORTS) \
29232 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
29233 for flag in $(EXTRA_TARGET_FLAGS); do \
29234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29235 done; \
29236 (cd $(TARGET_SUBDIR)/libobjc && \
29237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29239 "RANLIB=$${RANLIB}" \
29240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29241 clean) \
29242 || exit 1
29244 @endif target-libobjc
29246 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
29247 maybe-distclean-target-libobjc:
29248 @if target-libobjc
29249 maybe-distclean-target-libobjc: distclean-target-libobjc
29251 distclean-target-libobjc:
29252 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29253 r=`${PWD_COMMAND}`; export r; \
29254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29255 $(NORMAL_TARGET_EXPORTS) \
29256 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
29257 for flag in $(EXTRA_TARGET_FLAGS); do \
29258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29259 done; \
29260 (cd $(TARGET_SUBDIR)/libobjc && \
29261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29263 "RANLIB=$${RANLIB}" \
29264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29265 distclean) \
29266 || exit 1
29268 @endif target-libobjc
29270 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
29271 maybe-maintainer-clean-target-libobjc:
29272 @if target-libobjc
29273 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
29275 maintainer-clean-target-libobjc:
29276 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
29277 r=`${PWD_COMMAND}`; export r; \
29278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29279 $(NORMAL_TARGET_EXPORTS) \
29280 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
29281 for flag in $(EXTRA_TARGET_FLAGS); do \
29282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29283 done; \
29284 (cd $(TARGET_SUBDIR)/libobjc && \
29285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29287 "RANLIB=$${RANLIB}" \
29288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29289 maintainer-clean) \
29290 || exit 1
29292 @endif target-libobjc
29296 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29297 @if target-libtermcap
29298 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
29299 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29300 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
29301 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
29302 @endif target-libtermcap
29306 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
29307 maybe-configure-target-libtermcap:
29308 @if target-libtermcap
29309 maybe-configure-target-libtermcap: configure-target-libtermcap
29310 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
29311 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
29312 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
29313 r=`${PWD_COMMAND}`; export r; \
29314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29315 $(NORMAL_TARGET_EXPORTS) \
29316 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
29317 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
29318 case $(srcdir) in \
29319 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29320 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
29321 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29322 esac; \
29323 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
29324 libsrcdir="$$s/libtermcap"; \
29325 rm -f no-such-file || : ; \
29326 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29327 $(TARGET_CONFIGARGS) $${srcdiroption} \
29328 || exit 1
29329 @endif target-libtermcap
29335 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
29336 maybe-all-target-libtermcap:
29337 @if target-libtermcap
29338 TARGET-target-libtermcap=all
29339 maybe-all-target-libtermcap: all-target-libtermcap
29340 all-target-libtermcap: configure-target-libtermcap
29341 @r=`${PWD_COMMAND}`; export r; \
29342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29343 $(NORMAL_TARGET_EXPORTS) \
29344 (cd $(TARGET_SUBDIR)/libtermcap && \
29345 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
29346 @endif target-libtermcap
29352 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
29353 maybe-check-target-libtermcap:
29354 @if target-libtermcap
29355 maybe-check-target-libtermcap: check-target-libtermcap
29357 # Dummy target for uncheckable module.
29358 check-target-libtermcap:
29360 @endif target-libtermcap
29362 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
29363 maybe-install-target-libtermcap:
29364 @if target-libtermcap
29365 maybe-install-target-libtermcap: install-target-libtermcap
29367 install-target-libtermcap: installdirs
29368 @r=`${PWD_COMMAND}`; export r; \
29369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29370 $(NORMAL_TARGET_EXPORTS) \
29371 (cd $(TARGET_SUBDIR)/libtermcap && \
29372 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29374 @endif target-libtermcap
29376 # Other targets (info, dvi, etc.)
29378 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
29379 maybe-info-target-libtermcap:
29380 @if target-libtermcap
29381 maybe-info-target-libtermcap: info-target-libtermcap
29383 info-target-libtermcap: \
29384 configure-target-libtermcap
29385 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29386 r=`${PWD_COMMAND}`; export r; \
29387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29388 $(NORMAL_TARGET_EXPORTS) \
29389 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
29390 for flag in $(EXTRA_TARGET_FLAGS); do \
29391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29392 done; \
29393 (cd $(TARGET_SUBDIR)/libtermcap && \
29394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29396 "RANLIB=$${RANLIB}" \
29397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29398 info) \
29399 || exit 1
29401 @endif target-libtermcap
29403 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
29404 maybe-dvi-target-libtermcap:
29405 @if target-libtermcap
29406 maybe-dvi-target-libtermcap: dvi-target-libtermcap
29408 dvi-target-libtermcap: \
29409 configure-target-libtermcap
29410 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29411 r=`${PWD_COMMAND}`; export r; \
29412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29413 $(NORMAL_TARGET_EXPORTS) \
29414 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
29415 for flag in $(EXTRA_TARGET_FLAGS); do \
29416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29417 done; \
29418 (cd $(TARGET_SUBDIR)/libtermcap && \
29419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29421 "RANLIB=$${RANLIB}" \
29422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29423 dvi) \
29424 || exit 1
29426 @endif target-libtermcap
29428 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
29429 maybe-html-target-libtermcap:
29430 @if target-libtermcap
29431 maybe-html-target-libtermcap: html-target-libtermcap
29433 html-target-libtermcap: \
29434 configure-target-libtermcap
29435 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29436 r=`${PWD_COMMAND}`; export r; \
29437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29438 $(NORMAL_TARGET_EXPORTS) \
29439 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
29440 for flag in $(EXTRA_TARGET_FLAGS); do \
29441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29442 done; \
29443 (cd $(TARGET_SUBDIR)/libtermcap && \
29444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29446 "RANLIB=$${RANLIB}" \
29447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29448 html) \
29449 || exit 1
29451 @endif target-libtermcap
29453 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
29454 maybe-TAGS-target-libtermcap:
29455 @if target-libtermcap
29456 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
29458 TAGS-target-libtermcap: \
29459 configure-target-libtermcap
29460 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29461 r=`${PWD_COMMAND}`; export r; \
29462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29463 $(NORMAL_TARGET_EXPORTS) \
29464 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
29465 for flag in $(EXTRA_TARGET_FLAGS); do \
29466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29467 done; \
29468 (cd $(TARGET_SUBDIR)/libtermcap && \
29469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29471 "RANLIB=$${RANLIB}" \
29472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29473 TAGS) \
29474 || exit 1
29476 @endif target-libtermcap
29478 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
29479 maybe-install-info-target-libtermcap:
29480 @if target-libtermcap
29481 maybe-install-info-target-libtermcap: install-info-target-libtermcap
29483 install-info-target-libtermcap: \
29484 configure-target-libtermcap \
29485 info-target-libtermcap
29486 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29487 r=`${PWD_COMMAND}`; export r; \
29488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29489 $(NORMAL_TARGET_EXPORTS) \
29490 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
29491 for flag in $(EXTRA_TARGET_FLAGS); do \
29492 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29493 done; \
29494 (cd $(TARGET_SUBDIR)/libtermcap && \
29495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29497 "RANLIB=$${RANLIB}" \
29498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29499 install-info) \
29500 || exit 1
29502 @endif target-libtermcap
29504 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
29505 maybe-installcheck-target-libtermcap:
29506 @if target-libtermcap
29507 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
29509 installcheck-target-libtermcap: \
29510 configure-target-libtermcap
29511 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
29512 r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(NORMAL_TARGET_EXPORTS) \
29515 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
29516 for flag in $(EXTRA_TARGET_FLAGS); do \
29517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29518 done; \
29519 (cd $(TARGET_SUBDIR)/libtermcap && \
29520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29522 "RANLIB=$${RANLIB}" \
29523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29524 installcheck) \
29525 || exit 1
29527 @endif target-libtermcap
29529 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
29530 maybe-mostlyclean-target-libtermcap:
29531 @if target-libtermcap
29532 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
29534 # libtermcap doesn't support mostlyclean.
29535 mostlyclean-target-libtermcap:
29537 @endif target-libtermcap
29539 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
29540 maybe-clean-target-libtermcap:
29541 @if target-libtermcap
29542 maybe-clean-target-libtermcap: clean-target-libtermcap
29544 # libtermcap doesn't support clean.
29545 clean-target-libtermcap:
29547 @endif target-libtermcap
29549 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
29550 maybe-distclean-target-libtermcap:
29551 @if target-libtermcap
29552 maybe-distclean-target-libtermcap: distclean-target-libtermcap
29554 # libtermcap doesn't support distclean.
29555 distclean-target-libtermcap:
29557 @endif target-libtermcap
29559 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
29560 maybe-maintainer-clean-target-libtermcap:
29561 @if target-libtermcap
29562 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
29564 # libtermcap doesn't support maintainer-clean.
29565 maintainer-clean-target-libtermcap:
29567 @endif target-libtermcap
29571 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29572 @if target-winsup
29573 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
29574 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29575 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
29576 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
29577 @endif target-winsup
29581 .PHONY: configure-target-winsup maybe-configure-target-winsup
29582 maybe-configure-target-winsup:
29583 @if target-winsup
29584 maybe-configure-target-winsup: configure-target-winsup
29585 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
29586 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
29587 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
29588 r=`${PWD_COMMAND}`; export r; \
29589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29590 $(NORMAL_TARGET_EXPORTS) \
29591 echo Configuring in $(TARGET_SUBDIR)/winsup; \
29592 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
29593 case $(srcdir) in \
29594 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29595 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
29596 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29597 esac; \
29598 srcdiroption="--srcdir=$${topdir}/winsup"; \
29599 libsrcdir="$$s/winsup"; \
29600 rm -f no-such-file || : ; \
29601 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29602 $(TARGET_CONFIGARGS) $${srcdiroption} \
29603 || exit 1
29604 @endif target-winsup
29610 .PHONY: all-target-winsup maybe-all-target-winsup
29611 maybe-all-target-winsup:
29612 @if target-winsup
29613 TARGET-target-winsup=all
29614 maybe-all-target-winsup: all-target-winsup
29615 all-target-winsup: configure-target-winsup
29616 @r=`${PWD_COMMAND}`; export r; \
29617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 $(NORMAL_TARGET_EXPORTS) \
29619 (cd $(TARGET_SUBDIR)/winsup && \
29620 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
29621 @endif target-winsup
29627 .PHONY: check-target-winsup maybe-check-target-winsup
29628 maybe-check-target-winsup:
29629 @if target-winsup
29630 maybe-check-target-winsup: check-target-winsup
29632 check-target-winsup:
29633 @r=`${PWD_COMMAND}`; export r; \
29634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29635 $(NORMAL_TARGET_EXPORTS) \
29636 (cd $(TARGET_SUBDIR)/winsup && \
29637 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29639 @endif target-winsup
29641 .PHONY: install-target-winsup maybe-install-target-winsup
29642 maybe-install-target-winsup:
29643 @if target-winsup
29644 maybe-install-target-winsup: install-target-winsup
29646 install-target-winsup: installdirs
29647 @r=`${PWD_COMMAND}`; export r; \
29648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29649 $(NORMAL_TARGET_EXPORTS) \
29650 (cd $(TARGET_SUBDIR)/winsup && \
29651 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29653 @endif target-winsup
29655 # Other targets (info, dvi, etc.)
29657 .PHONY: maybe-info-target-winsup info-target-winsup
29658 maybe-info-target-winsup:
29659 @if target-winsup
29660 maybe-info-target-winsup: info-target-winsup
29662 info-target-winsup: \
29663 configure-target-winsup
29664 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(NORMAL_TARGET_EXPORTS) \
29668 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
29669 for flag in $(EXTRA_TARGET_FLAGS); do \
29670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29671 done; \
29672 (cd $(TARGET_SUBDIR)/winsup && \
29673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29675 "RANLIB=$${RANLIB}" \
29676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29677 info) \
29678 || exit 1
29680 @endif target-winsup
29682 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
29683 maybe-dvi-target-winsup:
29684 @if target-winsup
29685 maybe-dvi-target-winsup: dvi-target-winsup
29687 dvi-target-winsup: \
29688 configure-target-winsup
29689 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29690 r=`${PWD_COMMAND}`; export r; \
29691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29692 $(NORMAL_TARGET_EXPORTS) \
29693 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
29694 for flag in $(EXTRA_TARGET_FLAGS); do \
29695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29696 done; \
29697 (cd $(TARGET_SUBDIR)/winsup && \
29698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29700 "RANLIB=$${RANLIB}" \
29701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29702 dvi) \
29703 || exit 1
29705 @endif target-winsup
29707 .PHONY: maybe-html-target-winsup html-target-winsup
29708 maybe-html-target-winsup:
29709 @if target-winsup
29710 maybe-html-target-winsup: html-target-winsup
29712 html-target-winsup: \
29713 configure-target-winsup
29714 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29715 r=`${PWD_COMMAND}`; export r; \
29716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29717 $(NORMAL_TARGET_EXPORTS) \
29718 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
29719 for flag in $(EXTRA_TARGET_FLAGS); do \
29720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29721 done; \
29722 (cd $(TARGET_SUBDIR)/winsup && \
29723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29725 "RANLIB=$${RANLIB}" \
29726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29727 html) \
29728 || exit 1
29730 @endif target-winsup
29732 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
29733 maybe-TAGS-target-winsup:
29734 @if target-winsup
29735 maybe-TAGS-target-winsup: TAGS-target-winsup
29737 TAGS-target-winsup: \
29738 configure-target-winsup
29739 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29740 r=`${PWD_COMMAND}`; export r; \
29741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29742 $(NORMAL_TARGET_EXPORTS) \
29743 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
29744 for flag in $(EXTRA_TARGET_FLAGS); do \
29745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29746 done; \
29747 (cd $(TARGET_SUBDIR)/winsup && \
29748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29750 "RANLIB=$${RANLIB}" \
29751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29752 TAGS) \
29753 || exit 1
29755 @endif target-winsup
29757 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
29758 maybe-install-info-target-winsup:
29759 @if target-winsup
29760 maybe-install-info-target-winsup: install-info-target-winsup
29762 install-info-target-winsup: \
29763 configure-target-winsup \
29764 info-target-winsup
29765 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29766 r=`${PWD_COMMAND}`; export r; \
29767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29768 $(NORMAL_TARGET_EXPORTS) \
29769 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
29770 for flag in $(EXTRA_TARGET_FLAGS); do \
29771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29772 done; \
29773 (cd $(TARGET_SUBDIR)/winsup && \
29774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29776 "RANLIB=$${RANLIB}" \
29777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29778 install-info) \
29779 || exit 1
29781 @endif target-winsup
29783 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
29784 maybe-installcheck-target-winsup:
29785 @if target-winsup
29786 maybe-installcheck-target-winsup: installcheck-target-winsup
29788 installcheck-target-winsup: \
29789 configure-target-winsup
29790 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29791 r=`${PWD_COMMAND}`; export r; \
29792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29793 $(NORMAL_TARGET_EXPORTS) \
29794 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
29795 for flag in $(EXTRA_TARGET_FLAGS); do \
29796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29797 done; \
29798 (cd $(TARGET_SUBDIR)/winsup && \
29799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29801 "RANLIB=$${RANLIB}" \
29802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29803 installcheck) \
29804 || exit 1
29806 @endif target-winsup
29808 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
29809 maybe-mostlyclean-target-winsup:
29810 @if target-winsup
29811 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
29813 mostlyclean-target-winsup:
29814 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29815 r=`${PWD_COMMAND}`; export r; \
29816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29817 $(NORMAL_TARGET_EXPORTS) \
29818 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
29819 for flag in $(EXTRA_TARGET_FLAGS); do \
29820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29821 done; \
29822 (cd $(TARGET_SUBDIR)/winsup && \
29823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29825 "RANLIB=$${RANLIB}" \
29826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29827 mostlyclean) \
29828 || exit 1
29830 @endif target-winsup
29832 .PHONY: maybe-clean-target-winsup clean-target-winsup
29833 maybe-clean-target-winsup:
29834 @if target-winsup
29835 maybe-clean-target-winsup: clean-target-winsup
29837 clean-target-winsup:
29838 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29839 r=`${PWD_COMMAND}`; export r; \
29840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29841 $(NORMAL_TARGET_EXPORTS) \
29842 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
29843 for flag in $(EXTRA_TARGET_FLAGS); do \
29844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29845 done; \
29846 (cd $(TARGET_SUBDIR)/winsup && \
29847 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29848 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29849 "RANLIB=$${RANLIB}" \
29850 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29851 clean) \
29852 || exit 1
29854 @endif target-winsup
29856 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
29857 maybe-distclean-target-winsup:
29858 @if target-winsup
29859 maybe-distclean-target-winsup: distclean-target-winsup
29861 distclean-target-winsup:
29862 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29863 r=`${PWD_COMMAND}`; export r; \
29864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29865 $(NORMAL_TARGET_EXPORTS) \
29866 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
29867 for flag in $(EXTRA_TARGET_FLAGS); do \
29868 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29869 done; \
29870 (cd $(TARGET_SUBDIR)/winsup && \
29871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29873 "RANLIB=$${RANLIB}" \
29874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29875 distclean) \
29876 || exit 1
29878 @endif target-winsup
29880 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
29881 maybe-maintainer-clean-target-winsup:
29882 @if target-winsup
29883 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
29885 maintainer-clean-target-winsup:
29886 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
29887 r=`${PWD_COMMAND}`; export r; \
29888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29889 $(NORMAL_TARGET_EXPORTS) \
29890 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
29891 for flag in $(EXTRA_TARGET_FLAGS); do \
29892 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29893 done; \
29894 (cd $(TARGET_SUBDIR)/winsup && \
29895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29897 "RANLIB=$${RANLIB}" \
29898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29899 maintainer-clean) \
29900 || exit 1
29902 @endif target-winsup
29906 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29907 @if target-libgloss
29908 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
29909 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29910 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
29911 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
29912 @endif target-libgloss
29916 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
29917 maybe-configure-target-libgloss:
29918 @if target-libgloss
29919 maybe-configure-target-libgloss: configure-target-libgloss
29920 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
29921 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
29922 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
29923 r=`${PWD_COMMAND}`; export r; \
29924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29925 $(NORMAL_TARGET_EXPORTS) \
29926 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
29927 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
29928 case $(srcdir) in \
29929 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29930 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
29931 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29932 esac; \
29933 srcdiroption="--srcdir=$${topdir}/libgloss"; \
29934 libsrcdir="$$s/libgloss"; \
29935 rm -f no-such-file || : ; \
29936 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29937 $(TARGET_CONFIGARGS) $${srcdiroption} \
29938 || exit 1
29939 @endif target-libgloss
29945 .PHONY: all-target-libgloss maybe-all-target-libgloss
29946 maybe-all-target-libgloss:
29947 @if target-libgloss
29948 TARGET-target-libgloss=all
29949 maybe-all-target-libgloss: all-target-libgloss
29950 all-target-libgloss: configure-target-libgloss
29951 @r=`${PWD_COMMAND}`; export r; \
29952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29953 $(NORMAL_TARGET_EXPORTS) \
29954 (cd $(TARGET_SUBDIR)/libgloss && \
29955 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
29956 @endif target-libgloss
29962 .PHONY: check-target-libgloss maybe-check-target-libgloss
29963 maybe-check-target-libgloss:
29964 @if target-libgloss
29965 maybe-check-target-libgloss: check-target-libgloss
29967 # Dummy target for uncheckable module.
29968 check-target-libgloss:
29970 @endif target-libgloss
29972 .PHONY: install-target-libgloss maybe-install-target-libgloss
29973 maybe-install-target-libgloss:
29974 @if target-libgloss
29975 maybe-install-target-libgloss: install-target-libgloss
29977 install-target-libgloss: installdirs
29978 @r=`${PWD_COMMAND}`; export r; \
29979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29980 $(NORMAL_TARGET_EXPORTS) \
29981 (cd $(TARGET_SUBDIR)/libgloss && \
29982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29984 @endif target-libgloss
29986 # Other targets (info, dvi, etc.)
29988 .PHONY: maybe-info-target-libgloss info-target-libgloss
29989 maybe-info-target-libgloss:
29990 @if target-libgloss
29991 maybe-info-target-libgloss: info-target-libgloss
29993 info-target-libgloss: \
29994 configure-target-libgloss
29995 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
29996 r=`${PWD_COMMAND}`; export r; \
29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29998 $(NORMAL_TARGET_EXPORTS) \
29999 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
30000 for flag in $(EXTRA_TARGET_FLAGS); do \
30001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30002 done; \
30003 (cd $(TARGET_SUBDIR)/libgloss && \
30004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30006 "RANLIB=$${RANLIB}" \
30007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30008 info) \
30009 || exit 1
30011 @endif target-libgloss
30013 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
30014 maybe-dvi-target-libgloss:
30015 @if target-libgloss
30016 maybe-dvi-target-libgloss: dvi-target-libgloss
30018 dvi-target-libgloss: \
30019 configure-target-libgloss
30020 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30021 r=`${PWD_COMMAND}`; export r; \
30022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30023 $(NORMAL_TARGET_EXPORTS) \
30024 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
30025 for flag in $(EXTRA_TARGET_FLAGS); do \
30026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30027 done; \
30028 (cd $(TARGET_SUBDIR)/libgloss && \
30029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30031 "RANLIB=$${RANLIB}" \
30032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30033 dvi) \
30034 || exit 1
30036 @endif target-libgloss
30038 .PHONY: maybe-html-target-libgloss html-target-libgloss
30039 maybe-html-target-libgloss:
30040 @if target-libgloss
30041 maybe-html-target-libgloss: html-target-libgloss
30043 html-target-libgloss: \
30044 configure-target-libgloss
30045 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30046 r=`${PWD_COMMAND}`; export r; \
30047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30048 $(NORMAL_TARGET_EXPORTS) \
30049 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
30050 for flag in $(EXTRA_TARGET_FLAGS); do \
30051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30052 done; \
30053 (cd $(TARGET_SUBDIR)/libgloss && \
30054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30056 "RANLIB=$${RANLIB}" \
30057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30058 html) \
30059 || exit 1
30061 @endif target-libgloss
30063 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
30064 maybe-TAGS-target-libgloss:
30065 @if target-libgloss
30066 maybe-TAGS-target-libgloss: TAGS-target-libgloss
30068 TAGS-target-libgloss: \
30069 configure-target-libgloss
30070 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30071 r=`${PWD_COMMAND}`; export r; \
30072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30073 $(NORMAL_TARGET_EXPORTS) \
30074 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
30075 for flag in $(EXTRA_TARGET_FLAGS); do \
30076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30077 done; \
30078 (cd $(TARGET_SUBDIR)/libgloss && \
30079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30081 "RANLIB=$${RANLIB}" \
30082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30083 TAGS) \
30084 || exit 1
30086 @endif target-libgloss
30088 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
30089 maybe-install-info-target-libgloss:
30090 @if target-libgloss
30091 maybe-install-info-target-libgloss: install-info-target-libgloss
30093 install-info-target-libgloss: \
30094 configure-target-libgloss \
30095 info-target-libgloss
30096 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30097 r=`${PWD_COMMAND}`; export r; \
30098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30099 $(NORMAL_TARGET_EXPORTS) \
30100 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
30101 for flag in $(EXTRA_TARGET_FLAGS); do \
30102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30103 done; \
30104 (cd $(TARGET_SUBDIR)/libgloss && \
30105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30107 "RANLIB=$${RANLIB}" \
30108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30109 install-info) \
30110 || exit 1
30112 @endif target-libgloss
30114 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
30115 maybe-installcheck-target-libgloss:
30116 @if target-libgloss
30117 maybe-installcheck-target-libgloss: installcheck-target-libgloss
30119 installcheck-target-libgloss: \
30120 configure-target-libgloss
30121 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30122 r=`${PWD_COMMAND}`; export r; \
30123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30124 $(NORMAL_TARGET_EXPORTS) \
30125 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
30126 for flag in $(EXTRA_TARGET_FLAGS); do \
30127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30128 done; \
30129 (cd $(TARGET_SUBDIR)/libgloss && \
30130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30132 "RANLIB=$${RANLIB}" \
30133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30134 installcheck) \
30135 || exit 1
30137 @endif target-libgloss
30139 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
30140 maybe-mostlyclean-target-libgloss:
30141 @if target-libgloss
30142 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
30144 mostlyclean-target-libgloss:
30145 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30146 r=`${PWD_COMMAND}`; export r; \
30147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30148 $(NORMAL_TARGET_EXPORTS) \
30149 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
30150 for flag in $(EXTRA_TARGET_FLAGS); do \
30151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30152 done; \
30153 (cd $(TARGET_SUBDIR)/libgloss && \
30154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30156 "RANLIB=$${RANLIB}" \
30157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30158 mostlyclean) \
30159 || exit 1
30161 @endif target-libgloss
30163 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
30164 maybe-clean-target-libgloss:
30165 @if target-libgloss
30166 maybe-clean-target-libgloss: clean-target-libgloss
30168 clean-target-libgloss:
30169 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30170 r=`${PWD_COMMAND}`; export r; \
30171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30172 $(NORMAL_TARGET_EXPORTS) \
30173 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
30174 for flag in $(EXTRA_TARGET_FLAGS); do \
30175 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30176 done; \
30177 (cd $(TARGET_SUBDIR)/libgloss && \
30178 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30179 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30180 "RANLIB=$${RANLIB}" \
30181 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30182 clean) \
30183 || exit 1
30185 @endif target-libgloss
30187 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
30188 maybe-distclean-target-libgloss:
30189 @if target-libgloss
30190 maybe-distclean-target-libgloss: distclean-target-libgloss
30192 distclean-target-libgloss:
30193 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30194 r=`${PWD_COMMAND}`; export r; \
30195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30196 $(NORMAL_TARGET_EXPORTS) \
30197 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
30198 for flag in $(EXTRA_TARGET_FLAGS); do \
30199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30200 done; \
30201 (cd $(TARGET_SUBDIR)/libgloss && \
30202 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30203 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30204 "RANLIB=$${RANLIB}" \
30205 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30206 distclean) \
30207 || exit 1
30209 @endif target-libgloss
30211 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
30212 maybe-maintainer-clean-target-libgloss:
30213 @if target-libgloss
30214 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
30216 maintainer-clean-target-libgloss:
30217 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
30218 r=`${PWD_COMMAND}`; export r; \
30219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30220 $(NORMAL_TARGET_EXPORTS) \
30221 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
30222 for flag in $(EXTRA_TARGET_FLAGS); do \
30223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30224 done; \
30225 (cd $(TARGET_SUBDIR)/libgloss && \
30226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30228 "RANLIB=$${RANLIB}" \
30229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30230 maintainer-clean) \
30231 || exit 1
30233 @endif target-libgloss
30237 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30238 @if target-libiberty
30239 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
30240 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30241 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
30242 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
30243 @endif target-libiberty
30247 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
30248 maybe-configure-target-libiberty:
30249 @if target-libiberty
30250 maybe-configure-target-libiberty: configure-target-libiberty
30251 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
30252 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
30253 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
30254 r=`${PWD_COMMAND}`; export r; \
30255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30256 $(NORMAL_TARGET_EXPORTS) \
30257 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
30258 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
30259 case $(srcdir) in \
30260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30261 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
30262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30263 esac; \
30264 srcdiroption="--srcdir=$${topdir}/libiberty"; \
30265 libsrcdir="$$s/libiberty"; \
30266 rm -f no-such-file || : ; \
30267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30268 $(TARGET_CONFIGARGS) $${srcdiroption} \
30269 || exit 1
30270 @endif target-libiberty
30276 .PHONY: all-target-libiberty maybe-all-target-libiberty
30277 maybe-all-target-libiberty:
30278 @if target-libiberty
30279 TARGET-target-libiberty=all
30280 maybe-all-target-libiberty: all-target-libiberty
30281 all-target-libiberty: configure-target-libiberty
30282 @r=`${PWD_COMMAND}`; export r; \
30283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30284 $(NORMAL_TARGET_EXPORTS) \
30285 (cd $(TARGET_SUBDIR)/libiberty && \
30286 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
30287 @endif target-libiberty
30293 .PHONY: check-target-libiberty maybe-check-target-libiberty
30294 maybe-check-target-libiberty:
30295 @if target-libiberty
30296 maybe-check-target-libiberty: check-target-libiberty
30298 check-target-libiberty:
30299 @r=`${PWD_COMMAND}`; export r; \
30300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30301 $(NORMAL_TARGET_EXPORTS) \
30302 (cd $(TARGET_SUBDIR)/libiberty && \
30303 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30305 @endif target-libiberty
30307 .PHONY: install-target-libiberty maybe-install-target-libiberty
30308 maybe-install-target-libiberty:
30309 @if target-libiberty
30310 maybe-install-target-libiberty: install-target-libiberty
30312 install-target-libiberty: installdirs
30313 @r=`${PWD_COMMAND}`; export r; \
30314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30315 $(NORMAL_TARGET_EXPORTS) \
30316 (cd $(TARGET_SUBDIR)/libiberty && \
30317 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30319 @endif target-libiberty
30321 # Other targets (info, dvi, etc.)
30323 .PHONY: maybe-info-target-libiberty info-target-libiberty
30324 maybe-info-target-libiberty:
30325 @if target-libiberty
30326 maybe-info-target-libiberty: info-target-libiberty
30328 info-target-libiberty: \
30329 configure-target-libiberty
30330 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30331 r=`${PWD_COMMAND}`; export r; \
30332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30333 $(NORMAL_TARGET_EXPORTS) \
30334 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
30335 for flag in $(EXTRA_TARGET_FLAGS); do \
30336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30337 done; \
30338 (cd $(TARGET_SUBDIR)/libiberty && \
30339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30341 "RANLIB=$${RANLIB}" \
30342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30343 info) \
30344 || exit 1
30346 @endif target-libiberty
30348 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
30349 maybe-dvi-target-libiberty:
30350 @if target-libiberty
30351 maybe-dvi-target-libiberty: dvi-target-libiberty
30353 dvi-target-libiberty: \
30354 configure-target-libiberty
30355 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30356 r=`${PWD_COMMAND}`; export r; \
30357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30358 $(NORMAL_TARGET_EXPORTS) \
30359 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
30360 for flag in $(EXTRA_TARGET_FLAGS); do \
30361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30362 done; \
30363 (cd $(TARGET_SUBDIR)/libiberty && \
30364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30366 "RANLIB=$${RANLIB}" \
30367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30368 dvi) \
30369 || exit 1
30371 @endif target-libiberty
30373 .PHONY: maybe-html-target-libiberty html-target-libiberty
30374 maybe-html-target-libiberty:
30375 @if target-libiberty
30376 maybe-html-target-libiberty: html-target-libiberty
30378 html-target-libiberty: \
30379 configure-target-libiberty
30380 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30381 r=`${PWD_COMMAND}`; export r; \
30382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30383 $(NORMAL_TARGET_EXPORTS) \
30384 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
30385 for flag in $(EXTRA_TARGET_FLAGS); do \
30386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30387 done; \
30388 (cd $(TARGET_SUBDIR)/libiberty && \
30389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30391 "RANLIB=$${RANLIB}" \
30392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30393 html) \
30394 || exit 1
30396 @endif target-libiberty
30398 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
30399 maybe-TAGS-target-libiberty:
30400 @if target-libiberty
30401 maybe-TAGS-target-libiberty: TAGS-target-libiberty
30403 TAGS-target-libiberty: \
30404 configure-target-libiberty
30405 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30406 r=`${PWD_COMMAND}`; export r; \
30407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30408 $(NORMAL_TARGET_EXPORTS) \
30409 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
30410 for flag in $(EXTRA_TARGET_FLAGS); do \
30411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30412 done; \
30413 (cd $(TARGET_SUBDIR)/libiberty && \
30414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30416 "RANLIB=$${RANLIB}" \
30417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30418 TAGS) \
30419 || exit 1
30421 @endif target-libiberty
30423 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
30424 maybe-install-info-target-libiberty:
30425 @if target-libiberty
30426 maybe-install-info-target-libiberty: install-info-target-libiberty
30428 install-info-target-libiberty: \
30429 configure-target-libiberty \
30430 info-target-libiberty
30431 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30432 r=`${PWD_COMMAND}`; export r; \
30433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30434 $(NORMAL_TARGET_EXPORTS) \
30435 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
30436 for flag in $(EXTRA_TARGET_FLAGS); do \
30437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30438 done; \
30439 (cd $(TARGET_SUBDIR)/libiberty && \
30440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30442 "RANLIB=$${RANLIB}" \
30443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30444 install-info) \
30445 || exit 1
30447 @endif target-libiberty
30449 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
30450 maybe-installcheck-target-libiberty:
30451 @if target-libiberty
30452 maybe-installcheck-target-libiberty: installcheck-target-libiberty
30454 installcheck-target-libiberty: \
30455 configure-target-libiberty
30456 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30457 r=`${PWD_COMMAND}`; export r; \
30458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30459 $(NORMAL_TARGET_EXPORTS) \
30460 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
30461 for flag in $(EXTRA_TARGET_FLAGS); do \
30462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30463 done; \
30464 (cd $(TARGET_SUBDIR)/libiberty && \
30465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30467 "RANLIB=$${RANLIB}" \
30468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30469 installcheck) \
30470 || exit 1
30472 @endif target-libiberty
30474 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
30475 maybe-mostlyclean-target-libiberty:
30476 @if target-libiberty
30477 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
30479 mostlyclean-target-libiberty:
30480 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30481 r=`${PWD_COMMAND}`; export r; \
30482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30483 $(NORMAL_TARGET_EXPORTS) \
30484 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
30485 for flag in $(EXTRA_TARGET_FLAGS); do \
30486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30487 done; \
30488 (cd $(TARGET_SUBDIR)/libiberty && \
30489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30491 "RANLIB=$${RANLIB}" \
30492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30493 mostlyclean) \
30494 || exit 1
30496 @endif target-libiberty
30498 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
30499 maybe-clean-target-libiberty:
30500 @if target-libiberty
30501 maybe-clean-target-libiberty: clean-target-libiberty
30503 clean-target-libiberty:
30504 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30505 r=`${PWD_COMMAND}`; export r; \
30506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30507 $(NORMAL_TARGET_EXPORTS) \
30508 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
30509 for flag in $(EXTRA_TARGET_FLAGS); do \
30510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30511 done; \
30512 (cd $(TARGET_SUBDIR)/libiberty && \
30513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30515 "RANLIB=$${RANLIB}" \
30516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30517 clean) \
30518 || exit 1
30520 @endif target-libiberty
30522 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
30523 maybe-distclean-target-libiberty:
30524 @if target-libiberty
30525 maybe-distclean-target-libiberty: distclean-target-libiberty
30527 distclean-target-libiberty:
30528 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30529 r=`${PWD_COMMAND}`; export r; \
30530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30531 $(NORMAL_TARGET_EXPORTS) \
30532 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
30533 for flag in $(EXTRA_TARGET_FLAGS); do \
30534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30535 done; \
30536 (cd $(TARGET_SUBDIR)/libiberty && \
30537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30539 "RANLIB=$${RANLIB}" \
30540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30541 distclean) \
30542 || exit 1
30544 @endif target-libiberty
30546 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
30547 maybe-maintainer-clean-target-libiberty:
30548 @if target-libiberty
30549 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
30551 maintainer-clean-target-libiberty:
30552 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
30553 r=`${PWD_COMMAND}`; export r; \
30554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30555 $(NORMAL_TARGET_EXPORTS) \
30556 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
30557 for flag in $(EXTRA_TARGET_FLAGS); do \
30558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30559 done; \
30560 (cd $(TARGET_SUBDIR)/libiberty && \
30561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30563 "RANLIB=$${RANLIB}" \
30564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30565 maintainer-clean) \
30566 || exit 1
30568 @endif target-libiberty
30572 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30573 @if target-gperf
30574 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
30575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30576 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
30577 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
30578 @endif target-gperf
30582 .PHONY: configure-target-gperf maybe-configure-target-gperf
30583 maybe-configure-target-gperf:
30584 @if target-gperf
30585 maybe-configure-target-gperf: configure-target-gperf
30586 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
30587 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
30588 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
30589 r=`${PWD_COMMAND}`; export r; \
30590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30591 $(NORMAL_TARGET_EXPORTS) \
30592 echo Configuring in $(TARGET_SUBDIR)/gperf; \
30593 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
30594 case $(srcdir) in \
30595 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30596 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
30597 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30598 esac; \
30599 srcdiroption="--srcdir=$${topdir}/gperf"; \
30600 libsrcdir="$$s/gperf"; \
30601 rm -f no-such-file || : ; \
30602 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30603 $(TARGET_CONFIGARGS) $${srcdiroption} \
30604 || exit 1
30605 @endif target-gperf
30611 .PHONY: all-target-gperf maybe-all-target-gperf
30612 maybe-all-target-gperf:
30613 @if target-gperf
30614 TARGET-target-gperf=all
30615 maybe-all-target-gperf: all-target-gperf
30616 all-target-gperf: configure-target-gperf
30617 @r=`${PWD_COMMAND}`; export r; \
30618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30619 $(NORMAL_TARGET_EXPORTS) \
30620 (cd $(TARGET_SUBDIR)/gperf && \
30621 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
30622 @endif target-gperf
30628 .PHONY: check-target-gperf maybe-check-target-gperf
30629 maybe-check-target-gperf:
30630 @if target-gperf
30631 maybe-check-target-gperf: check-target-gperf
30633 check-target-gperf:
30634 @r=`${PWD_COMMAND}`; export r; \
30635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30636 $(NORMAL_TARGET_EXPORTS) \
30637 (cd $(TARGET_SUBDIR)/gperf && \
30638 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30640 @endif target-gperf
30642 .PHONY: install-target-gperf maybe-install-target-gperf
30643 maybe-install-target-gperf:
30644 @if target-gperf
30645 maybe-install-target-gperf: install-target-gperf
30647 install-target-gperf: installdirs
30648 @r=`${PWD_COMMAND}`; export r; \
30649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30650 $(NORMAL_TARGET_EXPORTS) \
30651 (cd $(TARGET_SUBDIR)/gperf && \
30652 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30654 @endif target-gperf
30656 # Other targets (info, dvi, etc.)
30658 .PHONY: maybe-info-target-gperf info-target-gperf
30659 maybe-info-target-gperf:
30660 @if target-gperf
30661 maybe-info-target-gperf: info-target-gperf
30663 info-target-gperf: \
30664 configure-target-gperf
30665 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30666 r=`${PWD_COMMAND}`; export r; \
30667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30668 $(NORMAL_TARGET_EXPORTS) \
30669 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
30670 for flag in $(EXTRA_TARGET_FLAGS); do \
30671 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30672 done; \
30673 (cd $(TARGET_SUBDIR)/gperf && \
30674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30676 "RANLIB=$${RANLIB}" \
30677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30678 info) \
30679 || exit 1
30681 @endif target-gperf
30683 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
30684 maybe-dvi-target-gperf:
30685 @if target-gperf
30686 maybe-dvi-target-gperf: dvi-target-gperf
30688 dvi-target-gperf: \
30689 configure-target-gperf
30690 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30691 r=`${PWD_COMMAND}`; export r; \
30692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30693 $(NORMAL_TARGET_EXPORTS) \
30694 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
30695 for flag in $(EXTRA_TARGET_FLAGS); do \
30696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30697 done; \
30698 (cd $(TARGET_SUBDIR)/gperf && \
30699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30701 "RANLIB=$${RANLIB}" \
30702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30703 dvi) \
30704 || exit 1
30706 @endif target-gperf
30708 .PHONY: maybe-html-target-gperf html-target-gperf
30709 maybe-html-target-gperf:
30710 @if target-gperf
30711 maybe-html-target-gperf: html-target-gperf
30713 html-target-gperf: \
30714 configure-target-gperf
30715 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30716 r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(NORMAL_TARGET_EXPORTS) \
30719 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
30720 for flag in $(EXTRA_TARGET_FLAGS); do \
30721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30722 done; \
30723 (cd $(TARGET_SUBDIR)/gperf && \
30724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30726 "RANLIB=$${RANLIB}" \
30727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30728 html) \
30729 || exit 1
30731 @endif target-gperf
30733 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
30734 maybe-TAGS-target-gperf:
30735 @if target-gperf
30736 maybe-TAGS-target-gperf: TAGS-target-gperf
30738 TAGS-target-gperf: \
30739 configure-target-gperf
30740 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30741 r=`${PWD_COMMAND}`; export r; \
30742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30743 $(NORMAL_TARGET_EXPORTS) \
30744 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
30745 for flag in $(EXTRA_TARGET_FLAGS); do \
30746 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30747 done; \
30748 (cd $(TARGET_SUBDIR)/gperf && \
30749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30751 "RANLIB=$${RANLIB}" \
30752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30753 TAGS) \
30754 || exit 1
30756 @endif target-gperf
30758 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
30759 maybe-install-info-target-gperf:
30760 @if target-gperf
30761 maybe-install-info-target-gperf: install-info-target-gperf
30763 install-info-target-gperf: \
30764 configure-target-gperf \
30765 info-target-gperf
30766 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30767 r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(NORMAL_TARGET_EXPORTS) \
30770 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
30771 for flag in $(EXTRA_TARGET_FLAGS); do \
30772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30773 done; \
30774 (cd $(TARGET_SUBDIR)/gperf && \
30775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30777 "RANLIB=$${RANLIB}" \
30778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30779 install-info) \
30780 || exit 1
30782 @endif target-gperf
30784 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
30785 maybe-installcheck-target-gperf:
30786 @if target-gperf
30787 maybe-installcheck-target-gperf: installcheck-target-gperf
30789 installcheck-target-gperf: \
30790 configure-target-gperf
30791 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30792 r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 $(NORMAL_TARGET_EXPORTS) \
30795 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
30796 for flag in $(EXTRA_TARGET_FLAGS); do \
30797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30798 done; \
30799 (cd $(TARGET_SUBDIR)/gperf && \
30800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30802 "RANLIB=$${RANLIB}" \
30803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30804 installcheck) \
30805 || exit 1
30807 @endif target-gperf
30809 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
30810 maybe-mostlyclean-target-gperf:
30811 @if target-gperf
30812 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
30814 mostlyclean-target-gperf:
30815 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30816 r=`${PWD_COMMAND}`; export r; \
30817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30818 $(NORMAL_TARGET_EXPORTS) \
30819 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
30820 for flag in $(EXTRA_TARGET_FLAGS); do \
30821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30822 done; \
30823 (cd $(TARGET_SUBDIR)/gperf && \
30824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30826 "RANLIB=$${RANLIB}" \
30827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30828 mostlyclean) \
30829 || exit 1
30831 @endif target-gperf
30833 .PHONY: maybe-clean-target-gperf clean-target-gperf
30834 maybe-clean-target-gperf:
30835 @if target-gperf
30836 maybe-clean-target-gperf: clean-target-gperf
30838 clean-target-gperf:
30839 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30840 r=`${PWD_COMMAND}`; export r; \
30841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30842 $(NORMAL_TARGET_EXPORTS) \
30843 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
30844 for flag in $(EXTRA_TARGET_FLAGS); do \
30845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30846 done; \
30847 (cd $(TARGET_SUBDIR)/gperf && \
30848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30850 "RANLIB=$${RANLIB}" \
30851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30852 clean) \
30853 || exit 1
30855 @endif target-gperf
30857 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
30858 maybe-distclean-target-gperf:
30859 @if target-gperf
30860 maybe-distclean-target-gperf: distclean-target-gperf
30862 distclean-target-gperf:
30863 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30864 r=`${PWD_COMMAND}`; export r; \
30865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30866 $(NORMAL_TARGET_EXPORTS) \
30867 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
30868 for flag in $(EXTRA_TARGET_FLAGS); do \
30869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30870 done; \
30871 (cd $(TARGET_SUBDIR)/gperf && \
30872 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30873 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30874 "RANLIB=$${RANLIB}" \
30875 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30876 distclean) \
30877 || exit 1
30879 @endif target-gperf
30881 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
30882 maybe-maintainer-clean-target-gperf:
30883 @if target-gperf
30884 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
30886 maintainer-clean-target-gperf:
30887 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
30888 r=`${PWD_COMMAND}`; export r; \
30889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30890 $(NORMAL_TARGET_EXPORTS) \
30891 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
30892 for flag in $(EXTRA_TARGET_FLAGS); do \
30893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30894 done; \
30895 (cd $(TARGET_SUBDIR)/gperf && \
30896 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30897 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30898 "RANLIB=$${RANLIB}" \
30899 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30900 maintainer-clean) \
30901 || exit 1
30903 @endif target-gperf
30907 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30908 @if target-examples
30909 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
30910 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30911 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
30912 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
30913 @endif target-examples
30917 .PHONY: configure-target-examples maybe-configure-target-examples
30918 maybe-configure-target-examples:
30919 @if target-examples
30920 maybe-configure-target-examples: configure-target-examples
30921 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
30922 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
30923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
30924 r=`${PWD_COMMAND}`; export r; \
30925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30926 $(NORMAL_TARGET_EXPORTS) \
30927 echo Configuring in $(TARGET_SUBDIR)/examples; \
30928 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
30929 case $(srcdir) in \
30930 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30931 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
30932 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30933 esac; \
30934 srcdiroption="--srcdir=$${topdir}/examples"; \
30935 libsrcdir="$$s/examples"; \
30936 rm -f no-such-file || : ; \
30937 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30938 $(TARGET_CONFIGARGS) $${srcdiroption} \
30939 || exit 1
30940 @endif target-examples
30946 .PHONY: all-target-examples maybe-all-target-examples
30947 maybe-all-target-examples:
30948 @if target-examples
30949 TARGET-target-examples=all
30950 maybe-all-target-examples: all-target-examples
30951 all-target-examples: configure-target-examples
30952 @r=`${PWD_COMMAND}`; export r; \
30953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30954 $(NORMAL_TARGET_EXPORTS) \
30955 (cd $(TARGET_SUBDIR)/examples && \
30956 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
30957 @endif target-examples
30963 .PHONY: check-target-examples maybe-check-target-examples
30964 maybe-check-target-examples:
30965 @if target-examples
30966 maybe-check-target-examples: check-target-examples
30968 # Dummy target for uncheckable module.
30969 check-target-examples:
30971 @endif target-examples
30973 .PHONY: install-target-examples maybe-install-target-examples
30974 maybe-install-target-examples:
30975 @if target-examples
30976 maybe-install-target-examples: install-target-examples
30978 # Dummy target for uninstallable.
30979 install-target-examples:
30981 @endif target-examples
30983 # Other targets (info, dvi, etc.)
30985 .PHONY: maybe-info-target-examples info-target-examples
30986 maybe-info-target-examples:
30987 @if target-examples
30988 maybe-info-target-examples: info-target-examples
30990 info-target-examples: \
30991 configure-target-examples
30992 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
30993 r=`${PWD_COMMAND}`; export r; \
30994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30995 $(NORMAL_TARGET_EXPORTS) \
30996 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
30997 for flag in $(EXTRA_TARGET_FLAGS); do \
30998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30999 done; \
31000 (cd $(TARGET_SUBDIR)/examples && \
31001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31003 "RANLIB=$${RANLIB}" \
31004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31005 info) \
31006 || exit 1
31008 @endif target-examples
31010 .PHONY: maybe-dvi-target-examples dvi-target-examples
31011 maybe-dvi-target-examples:
31012 @if target-examples
31013 maybe-dvi-target-examples: dvi-target-examples
31015 dvi-target-examples: \
31016 configure-target-examples
31017 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31018 r=`${PWD_COMMAND}`; export r; \
31019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31020 $(NORMAL_TARGET_EXPORTS) \
31021 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
31022 for flag in $(EXTRA_TARGET_FLAGS); do \
31023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31024 done; \
31025 (cd $(TARGET_SUBDIR)/examples && \
31026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31028 "RANLIB=$${RANLIB}" \
31029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31030 dvi) \
31031 || exit 1
31033 @endif target-examples
31035 .PHONY: maybe-html-target-examples html-target-examples
31036 maybe-html-target-examples:
31037 @if target-examples
31038 maybe-html-target-examples: html-target-examples
31040 html-target-examples: \
31041 configure-target-examples
31042 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31043 r=`${PWD_COMMAND}`; export r; \
31044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31045 $(NORMAL_TARGET_EXPORTS) \
31046 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
31047 for flag in $(EXTRA_TARGET_FLAGS); do \
31048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31049 done; \
31050 (cd $(TARGET_SUBDIR)/examples && \
31051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31053 "RANLIB=$${RANLIB}" \
31054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31055 html) \
31056 || exit 1
31058 @endif target-examples
31060 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
31061 maybe-TAGS-target-examples:
31062 @if target-examples
31063 maybe-TAGS-target-examples: TAGS-target-examples
31065 TAGS-target-examples: \
31066 configure-target-examples
31067 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31068 r=`${PWD_COMMAND}`; export r; \
31069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31070 $(NORMAL_TARGET_EXPORTS) \
31071 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
31072 for flag in $(EXTRA_TARGET_FLAGS); do \
31073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31074 done; \
31075 (cd $(TARGET_SUBDIR)/examples && \
31076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31078 "RANLIB=$${RANLIB}" \
31079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31080 TAGS) \
31081 || exit 1
31083 @endif target-examples
31085 .PHONY: maybe-install-info-target-examples install-info-target-examples
31086 maybe-install-info-target-examples:
31087 @if target-examples
31088 maybe-install-info-target-examples: install-info-target-examples
31090 install-info-target-examples: \
31091 configure-target-examples \
31092 info-target-examples
31093 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31094 r=`${PWD_COMMAND}`; export r; \
31095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31096 $(NORMAL_TARGET_EXPORTS) \
31097 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
31098 for flag in $(EXTRA_TARGET_FLAGS); do \
31099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31100 done; \
31101 (cd $(TARGET_SUBDIR)/examples && \
31102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31104 "RANLIB=$${RANLIB}" \
31105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31106 install-info) \
31107 || exit 1
31109 @endif target-examples
31111 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
31112 maybe-installcheck-target-examples:
31113 @if target-examples
31114 maybe-installcheck-target-examples: installcheck-target-examples
31116 installcheck-target-examples: \
31117 configure-target-examples
31118 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31119 r=`${PWD_COMMAND}`; export r; \
31120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31121 $(NORMAL_TARGET_EXPORTS) \
31122 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
31123 for flag in $(EXTRA_TARGET_FLAGS); do \
31124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31125 done; \
31126 (cd $(TARGET_SUBDIR)/examples && \
31127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31129 "RANLIB=$${RANLIB}" \
31130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31131 installcheck) \
31132 || exit 1
31134 @endif target-examples
31136 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
31137 maybe-mostlyclean-target-examples:
31138 @if target-examples
31139 maybe-mostlyclean-target-examples: mostlyclean-target-examples
31141 mostlyclean-target-examples:
31142 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31143 r=`${PWD_COMMAND}`; export r; \
31144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31145 $(NORMAL_TARGET_EXPORTS) \
31146 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
31147 for flag in $(EXTRA_TARGET_FLAGS); do \
31148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31149 done; \
31150 (cd $(TARGET_SUBDIR)/examples && \
31151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31153 "RANLIB=$${RANLIB}" \
31154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31155 mostlyclean) \
31156 || exit 1
31158 @endif target-examples
31160 .PHONY: maybe-clean-target-examples clean-target-examples
31161 maybe-clean-target-examples:
31162 @if target-examples
31163 maybe-clean-target-examples: clean-target-examples
31165 clean-target-examples:
31166 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31167 r=`${PWD_COMMAND}`; export r; \
31168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31169 $(NORMAL_TARGET_EXPORTS) \
31170 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
31171 for flag in $(EXTRA_TARGET_FLAGS); do \
31172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31173 done; \
31174 (cd $(TARGET_SUBDIR)/examples && \
31175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31177 "RANLIB=$${RANLIB}" \
31178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31179 clean) \
31180 || exit 1
31182 @endif target-examples
31184 .PHONY: maybe-distclean-target-examples distclean-target-examples
31185 maybe-distclean-target-examples:
31186 @if target-examples
31187 maybe-distclean-target-examples: distclean-target-examples
31189 distclean-target-examples:
31190 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31191 r=`${PWD_COMMAND}`; export r; \
31192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31193 $(NORMAL_TARGET_EXPORTS) \
31194 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
31195 for flag in $(EXTRA_TARGET_FLAGS); do \
31196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31197 done; \
31198 (cd $(TARGET_SUBDIR)/examples && \
31199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31201 "RANLIB=$${RANLIB}" \
31202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31203 distclean) \
31204 || exit 1
31206 @endif target-examples
31208 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
31209 maybe-maintainer-clean-target-examples:
31210 @if target-examples
31211 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
31213 maintainer-clean-target-examples:
31214 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
31215 r=`${PWD_COMMAND}`; export r; \
31216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31217 $(NORMAL_TARGET_EXPORTS) \
31218 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
31219 for flag in $(EXTRA_TARGET_FLAGS); do \
31220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31221 done; \
31222 (cd $(TARGET_SUBDIR)/examples && \
31223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31225 "RANLIB=$${RANLIB}" \
31226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31227 maintainer-clean) \
31228 || exit 1
31230 @endif target-examples
31234 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31235 @if target-libffi
31236 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
31237 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31238 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
31239 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
31240 @endif target-libffi
31244 .PHONY: configure-target-libffi maybe-configure-target-libffi
31245 maybe-configure-target-libffi:
31246 @if target-libffi
31247 maybe-configure-target-libffi: configure-target-libffi
31248 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
31249 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
31250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
31251 r=`${PWD_COMMAND}`; export r; \
31252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31253 $(NORMAL_TARGET_EXPORTS) \
31254 echo Configuring in $(TARGET_SUBDIR)/libffi; \
31255 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
31256 case $(srcdir) in \
31257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31258 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
31259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31260 esac; \
31261 srcdiroption="--srcdir=$${topdir}/libffi"; \
31262 libsrcdir="$$s/libffi"; \
31263 rm -f no-such-file || : ; \
31264 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31265 $(TARGET_CONFIGARGS) $${srcdiroption} \
31266 || exit 1
31267 @endif target-libffi
31273 .PHONY: all-target-libffi maybe-all-target-libffi
31274 maybe-all-target-libffi:
31275 @if target-libffi
31276 TARGET-target-libffi=all
31277 maybe-all-target-libffi: all-target-libffi
31278 all-target-libffi: configure-target-libffi
31279 @r=`${PWD_COMMAND}`; export r; \
31280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31281 $(NORMAL_TARGET_EXPORTS) \
31282 (cd $(TARGET_SUBDIR)/libffi && \
31283 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
31284 @endif target-libffi
31290 .PHONY: check-target-libffi maybe-check-target-libffi
31291 maybe-check-target-libffi:
31292 @if target-libffi
31293 maybe-check-target-libffi: check-target-libffi
31295 check-target-libffi:
31296 @r=`${PWD_COMMAND}`; export r; \
31297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31298 $(NORMAL_TARGET_EXPORTS) \
31299 (cd $(TARGET_SUBDIR)/libffi && \
31300 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31302 @endif target-libffi
31304 .PHONY: install-target-libffi maybe-install-target-libffi
31305 maybe-install-target-libffi:
31306 @if target-libffi
31307 maybe-install-target-libffi: install-target-libffi
31309 install-target-libffi: installdirs
31310 @r=`${PWD_COMMAND}`; export r; \
31311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31312 $(NORMAL_TARGET_EXPORTS) \
31313 (cd $(TARGET_SUBDIR)/libffi && \
31314 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31316 @endif target-libffi
31318 # Other targets (info, dvi, etc.)
31320 .PHONY: maybe-info-target-libffi info-target-libffi
31321 maybe-info-target-libffi:
31322 @if target-libffi
31323 maybe-info-target-libffi: info-target-libffi
31325 info-target-libffi: \
31326 configure-target-libffi
31327 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31328 r=`${PWD_COMMAND}`; export r; \
31329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31330 $(NORMAL_TARGET_EXPORTS) \
31331 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
31332 for flag in $(EXTRA_TARGET_FLAGS); do \
31333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31334 done; \
31335 (cd $(TARGET_SUBDIR)/libffi && \
31336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31338 "RANLIB=$${RANLIB}" \
31339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31340 info) \
31341 || exit 1
31343 @endif target-libffi
31345 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
31346 maybe-dvi-target-libffi:
31347 @if target-libffi
31348 maybe-dvi-target-libffi: dvi-target-libffi
31350 dvi-target-libffi: \
31351 configure-target-libffi
31352 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31353 r=`${PWD_COMMAND}`; export r; \
31354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31355 $(NORMAL_TARGET_EXPORTS) \
31356 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
31357 for flag in $(EXTRA_TARGET_FLAGS); do \
31358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31359 done; \
31360 (cd $(TARGET_SUBDIR)/libffi && \
31361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31363 "RANLIB=$${RANLIB}" \
31364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31365 dvi) \
31366 || exit 1
31368 @endif target-libffi
31370 .PHONY: maybe-html-target-libffi html-target-libffi
31371 maybe-html-target-libffi:
31372 @if target-libffi
31373 maybe-html-target-libffi: html-target-libffi
31375 html-target-libffi: \
31376 configure-target-libffi
31377 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31378 r=`${PWD_COMMAND}`; export r; \
31379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31380 $(NORMAL_TARGET_EXPORTS) \
31381 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
31382 for flag in $(EXTRA_TARGET_FLAGS); do \
31383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31384 done; \
31385 (cd $(TARGET_SUBDIR)/libffi && \
31386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31388 "RANLIB=$${RANLIB}" \
31389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31390 html) \
31391 || exit 1
31393 @endif target-libffi
31395 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
31396 maybe-TAGS-target-libffi:
31397 @if target-libffi
31398 maybe-TAGS-target-libffi: TAGS-target-libffi
31400 TAGS-target-libffi: \
31401 configure-target-libffi
31402 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31403 r=`${PWD_COMMAND}`; export r; \
31404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31405 $(NORMAL_TARGET_EXPORTS) \
31406 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
31407 for flag in $(EXTRA_TARGET_FLAGS); do \
31408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31409 done; \
31410 (cd $(TARGET_SUBDIR)/libffi && \
31411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31413 "RANLIB=$${RANLIB}" \
31414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31415 TAGS) \
31416 || exit 1
31418 @endif target-libffi
31420 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
31421 maybe-install-info-target-libffi:
31422 @if target-libffi
31423 maybe-install-info-target-libffi: install-info-target-libffi
31425 install-info-target-libffi: \
31426 configure-target-libffi \
31427 info-target-libffi
31428 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31429 r=`${PWD_COMMAND}`; export r; \
31430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31431 $(NORMAL_TARGET_EXPORTS) \
31432 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
31433 for flag in $(EXTRA_TARGET_FLAGS); do \
31434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31435 done; \
31436 (cd $(TARGET_SUBDIR)/libffi && \
31437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31439 "RANLIB=$${RANLIB}" \
31440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31441 install-info) \
31442 || exit 1
31444 @endif target-libffi
31446 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
31447 maybe-installcheck-target-libffi:
31448 @if target-libffi
31449 maybe-installcheck-target-libffi: installcheck-target-libffi
31451 installcheck-target-libffi: \
31452 configure-target-libffi
31453 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31454 r=`${PWD_COMMAND}`; export r; \
31455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31456 $(NORMAL_TARGET_EXPORTS) \
31457 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
31458 for flag in $(EXTRA_TARGET_FLAGS); do \
31459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31460 done; \
31461 (cd $(TARGET_SUBDIR)/libffi && \
31462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31464 "RANLIB=$${RANLIB}" \
31465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31466 installcheck) \
31467 || exit 1
31469 @endif target-libffi
31471 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
31472 maybe-mostlyclean-target-libffi:
31473 @if target-libffi
31474 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
31476 mostlyclean-target-libffi:
31477 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31478 r=`${PWD_COMMAND}`; export r; \
31479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31480 $(NORMAL_TARGET_EXPORTS) \
31481 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
31482 for flag in $(EXTRA_TARGET_FLAGS); do \
31483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31484 done; \
31485 (cd $(TARGET_SUBDIR)/libffi && \
31486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31488 "RANLIB=$${RANLIB}" \
31489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31490 mostlyclean) \
31491 || exit 1
31493 @endif target-libffi
31495 .PHONY: maybe-clean-target-libffi clean-target-libffi
31496 maybe-clean-target-libffi:
31497 @if target-libffi
31498 maybe-clean-target-libffi: clean-target-libffi
31500 clean-target-libffi:
31501 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31502 r=`${PWD_COMMAND}`; export r; \
31503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31504 $(NORMAL_TARGET_EXPORTS) \
31505 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
31506 for flag in $(EXTRA_TARGET_FLAGS); do \
31507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31508 done; \
31509 (cd $(TARGET_SUBDIR)/libffi && \
31510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31512 "RANLIB=$${RANLIB}" \
31513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31514 clean) \
31515 || exit 1
31517 @endif target-libffi
31519 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
31520 maybe-distclean-target-libffi:
31521 @if target-libffi
31522 maybe-distclean-target-libffi: distclean-target-libffi
31524 distclean-target-libffi:
31525 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31526 r=`${PWD_COMMAND}`; export r; \
31527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31528 $(NORMAL_TARGET_EXPORTS) \
31529 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
31530 for flag in $(EXTRA_TARGET_FLAGS); do \
31531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31532 done; \
31533 (cd $(TARGET_SUBDIR)/libffi && \
31534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31536 "RANLIB=$${RANLIB}" \
31537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31538 distclean) \
31539 || exit 1
31541 @endif target-libffi
31543 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
31544 maybe-maintainer-clean-target-libffi:
31545 @if target-libffi
31546 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
31548 maintainer-clean-target-libffi:
31549 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
31550 r=`${PWD_COMMAND}`; export r; \
31551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31552 $(NORMAL_TARGET_EXPORTS) \
31553 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
31554 for flag in $(EXTRA_TARGET_FLAGS); do \
31555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31556 done; \
31557 (cd $(TARGET_SUBDIR)/libffi && \
31558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31560 "RANLIB=$${RANLIB}" \
31561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31562 maintainer-clean) \
31563 || exit 1
31565 @endif target-libffi
31569 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31570 @if target-libjava
31571 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
31572 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31573 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
31574 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
31575 @endif target-libjava
31579 .PHONY: configure-target-libjava maybe-configure-target-libjava
31580 maybe-configure-target-libjava:
31581 @if target-libjava
31582 maybe-configure-target-libjava: configure-target-libjava
31583 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
31584 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
31585 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
31586 r=`${PWD_COMMAND}`; export r; \
31587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31588 $(RAW_CXX_TARGET_EXPORTS) \
31589 echo Configuring in $(TARGET_SUBDIR)/libjava; \
31590 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
31591 case $(srcdir) in \
31592 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31593 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
31594 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31595 esac; \
31596 srcdiroption="--srcdir=$${topdir}/libjava"; \
31597 libsrcdir="$$s/libjava"; \
31598 rm -f no-such-file || : ; \
31599 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31600 $(TARGET_CONFIGARGS) $${srcdiroption} \
31601 || exit 1
31602 @endif target-libjava
31608 .PHONY: all-target-libjava maybe-all-target-libjava
31609 maybe-all-target-libjava:
31610 @if target-libjava
31611 TARGET-target-libjava=all
31612 maybe-all-target-libjava: all-target-libjava
31613 all-target-libjava: configure-target-libjava
31614 @r=`${PWD_COMMAND}`; export r; \
31615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31616 $(RAW_CXX_TARGET_EXPORTS) \
31617 (cd $(TARGET_SUBDIR)/libjava && \
31618 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
31619 @endif target-libjava
31625 .PHONY: check-target-libjava maybe-check-target-libjava
31626 maybe-check-target-libjava:
31627 @if target-libjava
31628 maybe-check-target-libjava: check-target-libjava
31630 check-target-libjava:
31631 @r=`${PWD_COMMAND}`; export r; \
31632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31633 $(RAW_CXX_TARGET_EXPORTS) \
31634 (cd $(TARGET_SUBDIR)/libjava && \
31635 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
31637 @endif target-libjava
31639 .PHONY: install-target-libjava maybe-install-target-libjava
31640 maybe-install-target-libjava:
31641 @if target-libjava
31642 maybe-install-target-libjava: install-target-libjava
31644 install-target-libjava: installdirs
31645 @r=`${PWD_COMMAND}`; export r; \
31646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31647 $(RAW_CXX_TARGET_EXPORTS) \
31648 (cd $(TARGET_SUBDIR)/libjava && \
31649 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31651 @endif target-libjava
31653 # Other targets (info, dvi, etc.)
31655 .PHONY: maybe-info-target-libjava info-target-libjava
31656 maybe-info-target-libjava:
31657 @if target-libjava
31658 maybe-info-target-libjava: info-target-libjava
31660 info-target-libjava: \
31661 configure-target-libjava
31662 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31663 r=`${PWD_COMMAND}`; export r; \
31664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31665 $(RAW_CXX_TARGET_EXPORTS) \
31666 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
31667 for flag in $(EXTRA_TARGET_FLAGS); do \
31668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31669 done; \
31670 (cd $(TARGET_SUBDIR)/libjava && \
31671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31673 "RANLIB=$${RANLIB}" \
31674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31675 info) \
31676 || exit 1
31678 @endif target-libjava
31680 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
31681 maybe-dvi-target-libjava:
31682 @if target-libjava
31683 maybe-dvi-target-libjava: dvi-target-libjava
31685 dvi-target-libjava: \
31686 configure-target-libjava
31687 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31688 r=`${PWD_COMMAND}`; export r; \
31689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31690 $(RAW_CXX_TARGET_EXPORTS) \
31691 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
31692 for flag in $(EXTRA_TARGET_FLAGS); do \
31693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31694 done; \
31695 (cd $(TARGET_SUBDIR)/libjava && \
31696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31698 "RANLIB=$${RANLIB}" \
31699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31700 dvi) \
31701 || exit 1
31703 @endif target-libjava
31705 .PHONY: maybe-html-target-libjava html-target-libjava
31706 maybe-html-target-libjava:
31707 @if target-libjava
31708 maybe-html-target-libjava: html-target-libjava
31710 html-target-libjava: \
31711 configure-target-libjava
31712 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31713 r=`${PWD_COMMAND}`; export r; \
31714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31715 $(RAW_CXX_TARGET_EXPORTS) \
31716 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
31717 for flag in $(EXTRA_TARGET_FLAGS); do \
31718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31719 done; \
31720 (cd $(TARGET_SUBDIR)/libjava && \
31721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31723 "RANLIB=$${RANLIB}" \
31724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31725 html) \
31726 || exit 1
31728 @endif target-libjava
31730 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
31731 maybe-TAGS-target-libjava:
31732 @if target-libjava
31733 maybe-TAGS-target-libjava: TAGS-target-libjava
31735 TAGS-target-libjava: \
31736 configure-target-libjava
31737 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31738 r=`${PWD_COMMAND}`; export r; \
31739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31740 $(RAW_CXX_TARGET_EXPORTS) \
31741 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
31742 for flag in $(EXTRA_TARGET_FLAGS); do \
31743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31744 done; \
31745 (cd $(TARGET_SUBDIR)/libjava && \
31746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31748 "RANLIB=$${RANLIB}" \
31749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31750 TAGS) \
31751 || exit 1
31753 @endif target-libjava
31755 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
31756 maybe-install-info-target-libjava:
31757 @if target-libjava
31758 maybe-install-info-target-libjava: install-info-target-libjava
31760 install-info-target-libjava: \
31761 configure-target-libjava \
31762 info-target-libjava
31763 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31764 r=`${PWD_COMMAND}`; export r; \
31765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31766 $(RAW_CXX_TARGET_EXPORTS) \
31767 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
31768 for flag in $(EXTRA_TARGET_FLAGS); do \
31769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31770 done; \
31771 (cd $(TARGET_SUBDIR)/libjava && \
31772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31774 "RANLIB=$${RANLIB}" \
31775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31776 install-info) \
31777 || exit 1
31779 @endif target-libjava
31781 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
31782 maybe-installcheck-target-libjava:
31783 @if target-libjava
31784 maybe-installcheck-target-libjava: installcheck-target-libjava
31786 installcheck-target-libjava: \
31787 configure-target-libjava
31788 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31789 r=`${PWD_COMMAND}`; export r; \
31790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31791 $(RAW_CXX_TARGET_EXPORTS) \
31792 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
31793 for flag in $(EXTRA_TARGET_FLAGS); do \
31794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31795 done; \
31796 (cd $(TARGET_SUBDIR)/libjava && \
31797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31799 "RANLIB=$${RANLIB}" \
31800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31801 installcheck) \
31802 || exit 1
31804 @endif target-libjava
31806 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
31807 maybe-mostlyclean-target-libjava:
31808 @if target-libjava
31809 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
31811 mostlyclean-target-libjava:
31812 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31813 r=`${PWD_COMMAND}`; export r; \
31814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31815 $(RAW_CXX_TARGET_EXPORTS) \
31816 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
31817 for flag in $(EXTRA_TARGET_FLAGS); do \
31818 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31819 done; \
31820 (cd $(TARGET_SUBDIR)/libjava && \
31821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31823 "RANLIB=$${RANLIB}" \
31824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31825 mostlyclean) \
31826 || exit 1
31828 @endif target-libjava
31830 .PHONY: maybe-clean-target-libjava clean-target-libjava
31831 maybe-clean-target-libjava:
31832 @if target-libjava
31833 maybe-clean-target-libjava: clean-target-libjava
31835 clean-target-libjava:
31836 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31837 r=`${PWD_COMMAND}`; export r; \
31838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31839 $(RAW_CXX_TARGET_EXPORTS) \
31840 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
31841 for flag in $(EXTRA_TARGET_FLAGS); do \
31842 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31843 done; \
31844 (cd $(TARGET_SUBDIR)/libjava && \
31845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31847 "RANLIB=$${RANLIB}" \
31848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31849 clean) \
31850 || exit 1
31852 @endif target-libjava
31854 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
31855 maybe-distclean-target-libjava:
31856 @if target-libjava
31857 maybe-distclean-target-libjava: distclean-target-libjava
31859 distclean-target-libjava:
31860 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31861 r=`${PWD_COMMAND}`; export r; \
31862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31863 $(RAW_CXX_TARGET_EXPORTS) \
31864 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
31865 for flag in $(EXTRA_TARGET_FLAGS); do \
31866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31867 done; \
31868 (cd $(TARGET_SUBDIR)/libjava && \
31869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31871 "RANLIB=$${RANLIB}" \
31872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31873 distclean) \
31874 || exit 1
31876 @endif target-libjava
31878 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
31879 maybe-maintainer-clean-target-libjava:
31880 @if target-libjava
31881 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
31883 maintainer-clean-target-libjava:
31884 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
31885 r=`${PWD_COMMAND}`; export r; \
31886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31887 $(RAW_CXX_TARGET_EXPORTS) \
31888 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
31889 for flag in $(EXTRA_TARGET_FLAGS); do \
31890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31891 done; \
31892 (cd $(TARGET_SUBDIR)/libjava && \
31893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31895 "RANLIB=$${RANLIB}" \
31896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31897 maintainer-clean) \
31898 || exit 1
31900 @endif target-libjava
31904 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31905 @if target-zlib
31906 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
31907 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31908 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
31909 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
31910 @endif target-zlib
31914 .PHONY: configure-target-zlib maybe-configure-target-zlib
31915 maybe-configure-target-zlib:
31916 @if target-zlib
31917 maybe-configure-target-zlib: configure-target-zlib
31918 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
31919 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
31920 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
31921 r=`${PWD_COMMAND}`; export r; \
31922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31923 $(NORMAL_TARGET_EXPORTS) \
31924 echo Configuring in $(TARGET_SUBDIR)/zlib; \
31925 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
31926 case $(srcdir) in \
31927 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31928 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
31929 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31930 esac; \
31931 srcdiroption="--srcdir=$${topdir}/zlib"; \
31932 libsrcdir="$$s/zlib"; \
31933 rm -f no-such-file || : ; \
31934 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31935 $(TARGET_CONFIGARGS) $${srcdiroption} \
31936 || exit 1
31937 @endif target-zlib
31943 .PHONY: all-target-zlib maybe-all-target-zlib
31944 maybe-all-target-zlib:
31945 @if target-zlib
31946 TARGET-target-zlib=all
31947 maybe-all-target-zlib: all-target-zlib
31948 all-target-zlib: configure-target-zlib
31949 @r=`${PWD_COMMAND}`; export r; \
31950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31951 $(NORMAL_TARGET_EXPORTS) \
31952 (cd $(TARGET_SUBDIR)/zlib && \
31953 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
31954 @endif target-zlib
31960 .PHONY: check-target-zlib maybe-check-target-zlib
31961 maybe-check-target-zlib:
31962 @if target-zlib
31963 maybe-check-target-zlib: check-target-zlib
31965 check-target-zlib:
31966 @r=`${PWD_COMMAND}`; export r; \
31967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31968 $(NORMAL_TARGET_EXPORTS) \
31969 (cd $(TARGET_SUBDIR)/zlib && \
31970 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31972 @endif target-zlib
31974 .PHONY: install-target-zlib maybe-install-target-zlib
31975 maybe-install-target-zlib:
31976 @if target-zlib
31977 maybe-install-target-zlib: install-target-zlib
31979 install-target-zlib: installdirs
31980 @r=`${PWD_COMMAND}`; export r; \
31981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31982 $(NORMAL_TARGET_EXPORTS) \
31983 (cd $(TARGET_SUBDIR)/zlib && \
31984 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31986 @endif target-zlib
31988 # Other targets (info, dvi, etc.)
31990 .PHONY: maybe-info-target-zlib info-target-zlib
31991 maybe-info-target-zlib:
31992 @if target-zlib
31993 maybe-info-target-zlib: info-target-zlib
31995 info-target-zlib: \
31996 configure-target-zlib
31997 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
31998 r=`${PWD_COMMAND}`; export r; \
31999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32000 $(NORMAL_TARGET_EXPORTS) \
32001 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
32002 for flag in $(EXTRA_TARGET_FLAGS); do \
32003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32004 done; \
32005 (cd $(TARGET_SUBDIR)/zlib && \
32006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32008 "RANLIB=$${RANLIB}" \
32009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32010 info) \
32011 || exit 1
32013 @endif target-zlib
32015 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
32016 maybe-dvi-target-zlib:
32017 @if target-zlib
32018 maybe-dvi-target-zlib: dvi-target-zlib
32020 dvi-target-zlib: \
32021 configure-target-zlib
32022 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32023 r=`${PWD_COMMAND}`; export r; \
32024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32025 $(NORMAL_TARGET_EXPORTS) \
32026 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
32027 for flag in $(EXTRA_TARGET_FLAGS); do \
32028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32029 done; \
32030 (cd $(TARGET_SUBDIR)/zlib && \
32031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32033 "RANLIB=$${RANLIB}" \
32034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32035 dvi) \
32036 || exit 1
32038 @endif target-zlib
32040 .PHONY: maybe-html-target-zlib html-target-zlib
32041 maybe-html-target-zlib:
32042 @if target-zlib
32043 maybe-html-target-zlib: html-target-zlib
32045 html-target-zlib: \
32046 configure-target-zlib
32047 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32048 r=`${PWD_COMMAND}`; export r; \
32049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32050 $(NORMAL_TARGET_EXPORTS) \
32051 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
32052 for flag in $(EXTRA_TARGET_FLAGS); do \
32053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32054 done; \
32055 (cd $(TARGET_SUBDIR)/zlib && \
32056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32058 "RANLIB=$${RANLIB}" \
32059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32060 html) \
32061 || exit 1
32063 @endif target-zlib
32065 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
32066 maybe-TAGS-target-zlib:
32067 @if target-zlib
32068 maybe-TAGS-target-zlib: TAGS-target-zlib
32070 TAGS-target-zlib: \
32071 configure-target-zlib
32072 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32073 r=`${PWD_COMMAND}`; export r; \
32074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32075 $(NORMAL_TARGET_EXPORTS) \
32076 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
32077 for flag in $(EXTRA_TARGET_FLAGS); do \
32078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32079 done; \
32080 (cd $(TARGET_SUBDIR)/zlib && \
32081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32083 "RANLIB=$${RANLIB}" \
32084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32085 TAGS) \
32086 || exit 1
32088 @endif target-zlib
32090 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
32091 maybe-install-info-target-zlib:
32092 @if target-zlib
32093 maybe-install-info-target-zlib: install-info-target-zlib
32095 install-info-target-zlib: \
32096 configure-target-zlib \
32097 info-target-zlib
32098 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32099 r=`${PWD_COMMAND}`; export r; \
32100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32101 $(NORMAL_TARGET_EXPORTS) \
32102 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
32103 for flag in $(EXTRA_TARGET_FLAGS); do \
32104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32105 done; \
32106 (cd $(TARGET_SUBDIR)/zlib && \
32107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32109 "RANLIB=$${RANLIB}" \
32110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32111 install-info) \
32112 || exit 1
32114 @endif target-zlib
32116 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
32117 maybe-installcheck-target-zlib:
32118 @if target-zlib
32119 maybe-installcheck-target-zlib: installcheck-target-zlib
32121 installcheck-target-zlib: \
32122 configure-target-zlib
32123 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32124 r=`${PWD_COMMAND}`; export r; \
32125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32126 $(NORMAL_TARGET_EXPORTS) \
32127 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
32128 for flag in $(EXTRA_TARGET_FLAGS); do \
32129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32130 done; \
32131 (cd $(TARGET_SUBDIR)/zlib && \
32132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32134 "RANLIB=$${RANLIB}" \
32135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32136 installcheck) \
32137 || exit 1
32139 @endif target-zlib
32141 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
32142 maybe-mostlyclean-target-zlib:
32143 @if target-zlib
32144 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
32146 mostlyclean-target-zlib:
32147 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32148 r=`${PWD_COMMAND}`; export r; \
32149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32150 $(NORMAL_TARGET_EXPORTS) \
32151 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
32152 for flag in $(EXTRA_TARGET_FLAGS); do \
32153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32154 done; \
32155 (cd $(TARGET_SUBDIR)/zlib && \
32156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32158 "RANLIB=$${RANLIB}" \
32159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32160 mostlyclean) \
32161 || exit 1
32163 @endif target-zlib
32165 .PHONY: maybe-clean-target-zlib clean-target-zlib
32166 maybe-clean-target-zlib:
32167 @if target-zlib
32168 maybe-clean-target-zlib: clean-target-zlib
32170 clean-target-zlib:
32171 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32172 r=`${PWD_COMMAND}`; export r; \
32173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32174 $(NORMAL_TARGET_EXPORTS) \
32175 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
32176 for flag in $(EXTRA_TARGET_FLAGS); do \
32177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32178 done; \
32179 (cd $(TARGET_SUBDIR)/zlib && \
32180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32182 "RANLIB=$${RANLIB}" \
32183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32184 clean) \
32185 || exit 1
32187 @endif target-zlib
32189 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
32190 maybe-distclean-target-zlib:
32191 @if target-zlib
32192 maybe-distclean-target-zlib: distclean-target-zlib
32194 distclean-target-zlib:
32195 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32196 r=`${PWD_COMMAND}`; export r; \
32197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32198 $(NORMAL_TARGET_EXPORTS) \
32199 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
32200 for flag in $(EXTRA_TARGET_FLAGS); do \
32201 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32202 done; \
32203 (cd $(TARGET_SUBDIR)/zlib && \
32204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32206 "RANLIB=$${RANLIB}" \
32207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32208 distclean) \
32209 || exit 1
32211 @endif target-zlib
32213 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
32214 maybe-maintainer-clean-target-zlib:
32215 @if target-zlib
32216 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
32218 maintainer-clean-target-zlib:
32219 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
32220 r=`${PWD_COMMAND}`; export r; \
32221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32222 $(NORMAL_TARGET_EXPORTS) \
32223 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
32224 for flag in $(EXTRA_TARGET_FLAGS); do \
32225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32226 done; \
32227 (cd $(TARGET_SUBDIR)/zlib && \
32228 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32229 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32230 "RANLIB=$${RANLIB}" \
32231 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32232 maintainer-clean) \
32233 || exit 1
32235 @endif target-zlib
32239 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32240 @if target-boehm-gc
32241 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
32242 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32243 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
32244 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
32245 @endif target-boehm-gc
32249 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
32250 maybe-configure-target-boehm-gc:
32251 @if target-boehm-gc
32252 maybe-configure-target-boehm-gc: configure-target-boehm-gc
32253 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
32254 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
32255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
32256 r=`${PWD_COMMAND}`; export r; \
32257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32258 $(NORMAL_TARGET_EXPORTS) \
32259 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
32260 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
32261 case $(srcdir) in \
32262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32263 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
32264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32265 esac; \
32266 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
32267 libsrcdir="$$s/boehm-gc"; \
32268 rm -f no-such-file || : ; \
32269 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32270 $(TARGET_CONFIGARGS) $${srcdiroption} \
32271 || exit 1
32272 @endif target-boehm-gc
32278 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
32279 maybe-all-target-boehm-gc:
32280 @if target-boehm-gc
32281 TARGET-target-boehm-gc=all
32282 maybe-all-target-boehm-gc: all-target-boehm-gc
32283 all-target-boehm-gc: configure-target-boehm-gc
32284 @r=`${PWD_COMMAND}`; export r; \
32285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32286 $(NORMAL_TARGET_EXPORTS) \
32287 (cd $(TARGET_SUBDIR)/boehm-gc && \
32288 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
32289 @endif target-boehm-gc
32295 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
32296 maybe-check-target-boehm-gc:
32297 @if target-boehm-gc
32298 maybe-check-target-boehm-gc: check-target-boehm-gc
32300 check-target-boehm-gc:
32301 @r=`${PWD_COMMAND}`; export r; \
32302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32303 $(NORMAL_TARGET_EXPORTS) \
32304 (cd $(TARGET_SUBDIR)/boehm-gc && \
32305 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32307 @endif target-boehm-gc
32309 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
32310 maybe-install-target-boehm-gc:
32311 @if target-boehm-gc
32312 maybe-install-target-boehm-gc: install-target-boehm-gc
32314 install-target-boehm-gc: installdirs
32315 @r=`${PWD_COMMAND}`; export r; \
32316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32317 $(NORMAL_TARGET_EXPORTS) \
32318 (cd $(TARGET_SUBDIR)/boehm-gc && \
32319 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32321 @endif target-boehm-gc
32323 # Other targets (info, dvi, etc.)
32325 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
32326 maybe-info-target-boehm-gc:
32327 @if target-boehm-gc
32328 maybe-info-target-boehm-gc: info-target-boehm-gc
32330 info-target-boehm-gc: \
32331 configure-target-boehm-gc
32332 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32333 r=`${PWD_COMMAND}`; export r; \
32334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32335 $(NORMAL_TARGET_EXPORTS) \
32336 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
32337 for flag in $(EXTRA_TARGET_FLAGS); do \
32338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32339 done; \
32340 (cd $(TARGET_SUBDIR)/boehm-gc && \
32341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32343 "RANLIB=$${RANLIB}" \
32344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32345 info) \
32346 || exit 1
32348 @endif target-boehm-gc
32350 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
32351 maybe-dvi-target-boehm-gc:
32352 @if target-boehm-gc
32353 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
32355 dvi-target-boehm-gc: \
32356 configure-target-boehm-gc
32357 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32358 r=`${PWD_COMMAND}`; export r; \
32359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32360 $(NORMAL_TARGET_EXPORTS) \
32361 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
32362 for flag in $(EXTRA_TARGET_FLAGS); do \
32363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32364 done; \
32365 (cd $(TARGET_SUBDIR)/boehm-gc && \
32366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32368 "RANLIB=$${RANLIB}" \
32369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32370 dvi) \
32371 || exit 1
32373 @endif target-boehm-gc
32375 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
32376 maybe-html-target-boehm-gc:
32377 @if target-boehm-gc
32378 maybe-html-target-boehm-gc: html-target-boehm-gc
32380 html-target-boehm-gc: \
32381 configure-target-boehm-gc
32382 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32383 r=`${PWD_COMMAND}`; export r; \
32384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32385 $(NORMAL_TARGET_EXPORTS) \
32386 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
32387 for flag in $(EXTRA_TARGET_FLAGS); do \
32388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32389 done; \
32390 (cd $(TARGET_SUBDIR)/boehm-gc && \
32391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32393 "RANLIB=$${RANLIB}" \
32394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32395 html) \
32396 || exit 1
32398 @endif target-boehm-gc
32400 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
32401 maybe-TAGS-target-boehm-gc:
32402 @if target-boehm-gc
32403 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
32405 TAGS-target-boehm-gc: \
32406 configure-target-boehm-gc
32407 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32408 r=`${PWD_COMMAND}`; export r; \
32409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32410 $(NORMAL_TARGET_EXPORTS) \
32411 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
32412 for flag in $(EXTRA_TARGET_FLAGS); do \
32413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32414 done; \
32415 (cd $(TARGET_SUBDIR)/boehm-gc && \
32416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32418 "RANLIB=$${RANLIB}" \
32419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32420 TAGS) \
32421 || exit 1
32423 @endif target-boehm-gc
32425 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
32426 maybe-install-info-target-boehm-gc:
32427 @if target-boehm-gc
32428 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
32430 install-info-target-boehm-gc: \
32431 configure-target-boehm-gc \
32432 info-target-boehm-gc
32433 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32434 r=`${PWD_COMMAND}`; export r; \
32435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32436 $(NORMAL_TARGET_EXPORTS) \
32437 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
32438 for flag in $(EXTRA_TARGET_FLAGS); do \
32439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32440 done; \
32441 (cd $(TARGET_SUBDIR)/boehm-gc && \
32442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32444 "RANLIB=$${RANLIB}" \
32445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32446 install-info) \
32447 || exit 1
32449 @endif target-boehm-gc
32451 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
32452 maybe-installcheck-target-boehm-gc:
32453 @if target-boehm-gc
32454 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
32456 installcheck-target-boehm-gc: \
32457 configure-target-boehm-gc
32458 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32459 r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(NORMAL_TARGET_EXPORTS) \
32462 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
32463 for flag in $(EXTRA_TARGET_FLAGS); do \
32464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32465 done; \
32466 (cd $(TARGET_SUBDIR)/boehm-gc && \
32467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32469 "RANLIB=$${RANLIB}" \
32470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32471 installcheck) \
32472 || exit 1
32474 @endif target-boehm-gc
32476 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
32477 maybe-mostlyclean-target-boehm-gc:
32478 @if target-boehm-gc
32479 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
32481 mostlyclean-target-boehm-gc:
32482 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32483 r=`${PWD_COMMAND}`; export r; \
32484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32485 $(NORMAL_TARGET_EXPORTS) \
32486 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32487 for flag in $(EXTRA_TARGET_FLAGS); do \
32488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32489 done; \
32490 (cd $(TARGET_SUBDIR)/boehm-gc && \
32491 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32492 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32493 "RANLIB=$${RANLIB}" \
32494 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32495 mostlyclean) \
32496 || exit 1
32498 @endif target-boehm-gc
32500 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
32501 maybe-clean-target-boehm-gc:
32502 @if target-boehm-gc
32503 maybe-clean-target-boehm-gc: clean-target-boehm-gc
32505 clean-target-boehm-gc:
32506 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32507 r=`${PWD_COMMAND}`; export r; \
32508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32509 $(NORMAL_TARGET_EXPORTS) \
32510 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32511 for flag in $(EXTRA_TARGET_FLAGS); do \
32512 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32513 done; \
32514 (cd $(TARGET_SUBDIR)/boehm-gc && \
32515 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32516 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32517 "RANLIB=$${RANLIB}" \
32518 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32519 clean) \
32520 || exit 1
32522 @endif target-boehm-gc
32524 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
32525 maybe-distclean-target-boehm-gc:
32526 @if target-boehm-gc
32527 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
32529 distclean-target-boehm-gc:
32530 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32531 r=`${PWD_COMMAND}`; export r; \
32532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32533 $(NORMAL_TARGET_EXPORTS) \
32534 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
32535 for flag in $(EXTRA_TARGET_FLAGS); do \
32536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32537 done; \
32538 (cd $(TARGET_SUBDIR)/boehm-gc && \
32539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32541 "RANLIB=$${RANLIB}" \
32542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32543 distclean) \
32544 || exit 1
32546 @endif target-boehm-gc
32548 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
32549 maybe-maintainer-clean-target-boehm-gc:
32550 @if target-boehm-gc
32551 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
32553 maintainer-clean-target-boehm-gc:
32554 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
32555 r=`${PWD_COMMAND}`; export r; \
32556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32557 $(NORMAL_TARGET_EXPORTS) \
32558 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
32559 for flag in $(EXTRA_TARGET_FLAGS); do \
32560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32561 done; \
32562 (cd $(TARGET_SUBDIR)/boehm-gc && \
32563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32565 "RANLIB=$${RANLIB}" \
32566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32567 maintainer-clean) \
32568 || exit 1
32570 @endif target-boehm-gc
32574 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32575 @if target-qthreads
32576 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
32577 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32578 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
32579 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
32580 @endif target-qthreads
32584 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
32585 maybe-configure-target-qthreads:
32586 @if target-qthreads
32587 maybe-configure-target-qthreads: configure-target-qthreads
32588 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
32589 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
32590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
32591 r=`${PWD_COMMAND}`; export r; \
32592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32593 $(NORMAL_TARGET_EXPORTS) \
32594 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
32595 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
32596 case $(srcdir) in \
32597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32598 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
32599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32600 esac; \
32601 srcdiroption="--srcdir=$${topdir}/qthreads"; \
32602 libsrcdir="$$s/qthreads"; \
32603 rm -f no-such-file || : ; \
32604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32605 $(TARGET_CONFIGARGS) $${srcdiroption} \
32606 || exit 1
32607 @endif target-qthreads
32613 .PHONY: all-target-qthreads maybe-all-target-qthreads
32614 maybe-all-target-qthreads:
32615 @if target-qthreads
32616 TARGET-target-qthreads=all
32617 maybe-all-target-qthreads: all-target-qthreads
32618 all-target-qthreads: configure-target-qthreads
32619 @r=`${PWD_COMMAND}`; export r; \
32620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32621 $(NORMAL_TARGET_EXPORTS) \
32622 (cd $(TARGET_SUBDIR)/qthreads && \
32623 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
32624 @endif target-qthreads
32630 .PHONY: check-target-qthreads maybe-check-target-qthreads
32631 maybe-check-target-qthreads:
32632 @if target-qthreads
32633 maybe-check-target-qthreads: check-target-qthreads
32635 check-target-qthreads:
32636 @r=`${PWD_COMMAND}`; export r; \
32637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32638 $(NORMAL_TARGET_EXPORTS) \
32639 (cd $(TARGET_SUBDIR)/qthreads && \
32640 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32642 @endif target-qthreads
32644 .PHONY: install-target-qthreads maybe-install-target-qthreads
32645 maybe-install-target-qthreads:
32646 @if target-qthreads
32647 maybe-install-target-qthreads: install-target-qthreads
32649 install-target-qthreads: installdirs
32650 @r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 (cd $(TARGET_SUBDIR)/qthreads && \
32654 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32656 @endif target-qthreads
32658 # Other targets (info, dvi, etc.)
32660 .PHONY: maybe-info-target-qthreads info-target-qthreads
32661 maybe-info-target-qthreads:
32662 @if target-qthreads
32663 maybe-info-target-qthreads: info-target-qthreads
32665 info-target-qthreads: \
32666 configure-target-qthreads
32667 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32668 r=`${PWD_COMMAND}`; export r; \
32669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32670 $(NORMAL_TARGET_EXPORTS) \
32671 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
32672 for flag in $(EXTRA_TARGET_FLAGS); do \
32673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32674 done; \
32675 (cd $(TARGET_SUBDIR)/qthreads && \
32676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32678 "RANLIB=$${RANLIB}" \
32679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32680 info) \
32681 || exit 1
32683 @endif target-qthreads
32685 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
32686 maybe-dvi-target-qthreads:
32687 @if target-qthreads
32688 maybe-dvi-target-qthreads: dvi-target-qthreads
32690 dvi-target-qthreads: \
32691 configure-target-qthreads
32692 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32693 r=`${PWD_COMMAND}`; export r; \
32694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32695 $(NORMAL_TARGET_EXPORTS) \
32696 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
32697 for flag in $(EXTRA_TARGET_FLAGS); do \
32698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32699 done; \
32700 (cd $(TARGET_SUBDIR)/qthreads && \
32701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32703 "RANLIB=$${RANLIB}" \
32704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32705 dvi) \
32706 || exit 1
32708 @endif target-qthreads
32710 .PHONY: maybe-html-target-qthreads html-target-qthreads
32711 maybe-html-target-qthreads:
32712 @if target-qthreads
32713 maybe-html-target-qthreads: html-target-qthreads
32715 html-target-qthreads: \
32716 configure-target-qthreads
32717 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32718 r=`${PWD_COMMAND}`; export r; \
32719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32720 $(NORMAL_TARGET_EXPORTS) \
32721 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
32722 for flag in $(EXTRA_TARGET_FLAGS); do \
32723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32724 done; \
32725 (cd $(TARGET_SUBDIR)/qthreads && \
32726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32728 "RANLIB=$${RANLIB}" \
32729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32730 html) \
32731 || exit 1
32733 @endif target-qthreads
32735 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
32736 maybe-TAGS-target-qthreads:
32737 @if target-qthreads
32738 maybe-TAGS-target-qthreads: TAGS-target-qthreads
32740 TAGS-target-qthreads: \
32741 configure-target-qthreads
32742 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32743 r=`${PWD_COMMAND}`; export r; \
32744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32745 $(NORMAL_TARGET_EXPORTS) \
32746 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
32747 for flag in $(EXTRA_TARGET_FLAGS); do \
32748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32749 done; \
32750 (cd $(TARGET_SUBDIR)/qthreads && \
32751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32753 "RANLIB=$${RANLIB}" \
32754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32755 TAGS) \
32756 || exit 1
32758 @endif target-qthreads
32760 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
32761 maybe-install-info-target-qthreads:
32762 @if target-qthreads
32763 maybe-install-info-target-qthreads: install-info-target-qthreads
32765 install-info-target-qthreads: \
32766 configure-target-qthreads \
32767 info-target-qthreads
32768 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32769 r=`${PWD_COMMAND}`; export r; \
32770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32771 $(NORMAL_TARGET_EXPORTS) \
32772 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
32773 for flag in $(EXTRA_TARGET_FLAGS); do \
32774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32775 done; \
32776 (cd $(TARGET_SUBDIR)/qthreads && \
32777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32779 "RANLIB=$${RANLIB}" \
32780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32781 install-info) \
32782 || exit 1
32784 @endif target-qthreads
32786 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
32787 maybe-installcheck-target-qthreads:
32788 @if target-qthreads
32789 maybe-installcheck-target-qthreads: installcheck-target-qthreads
32791 installcheck-target-qthreads: \
32792 configure-target-qthreads
32793 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32794 r=`${PWD_COMMAND}`; export r; \
32795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32796 $(NORMAL_TARGET_EXPORTS) \
32797 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
32798 for flag in $(EXTRA_TARGET_FLAGS); do \
32799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32800 done; \
32801 (cd $(TARGET_SUBDIR)/qthreads && \
32802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32804 "RANLIB=$${RANLIB}" \
32805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32806 installcheck) \
32807 || exit 1
32809 @endif target-qthreads
32811 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
32812 maybe-mostlyclean-target-qthreads:
32813 @if target-qthreads
32814 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
32816 mostlyclean-target-qthreads:
32817 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32818 r=`${PWD_COMMAND}`; export r; \
32819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32820 $(NORMAL_TARGET_EXPORTS) \
32821 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
32822 for flag in $(EXTRA_TARGET_FLAGS); do \
32823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32824 done; \
32825 (cd $(TARGET_SUBDIR)/qthreads && \
32826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32828 "RANLIB=$${RANLIB}" \
32829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32830 mostlyclean) \
32831 || exit 1
32833 @endif target-qthreads
32835 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
32836 maybe-clean-target-qthreads:
32837 @if target-qthreads
32838 maybe-clean-target-qthreads: clean-target-qthreads
32840 clean-target-qthreads:
32841 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32842 r=`${PWD_COMMAND}`; export r; \
32843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32844 $(NORMAL_TARGET_EXPORTS) \
32845 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
32846 for flag in $(EXTRA_TARGET_FLAGS); do \
32847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32848 done; \
32849 (cd $(TARGET_SUBDIR)/qthreads && \
32850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32852 "RANLIB=$${RANLIB}" \
32853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32854 clean) \
32855 || exit 1
32857 @endif target-qthreads
32859 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
32860 maybe-distclean-target-qthreads:
32861 @if target-qthreads
32862 maybe-distclean-target-qthreads: distclean-target-qthreads
32864 distclean-target-qthreads:
32865 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32866 r=`${PWD_COMMAND}`; export r; \
32867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32868 $(NORMAL_TARGET_EXPORTS) \
32869 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
32870 for flag in $(EXTRA_TARGET_FLAGS); do \
32871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32872 done; \
32873 (cd $(TARGET_SUBDIR)/qthreads && \
32874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32876 "RANLIB=$${RANLIB}" \
32877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32878 distclean) \
32879 || exit 1
32881 @endif target-qthreads
32883 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
32884 maybe-maintainer-clean-target-qthreads:
32885 @if target-qthreads
32886 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
32888 maintainer-clean-target-qthreads:
32889 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
32890 r=`${PWD_COMMAND}`; export r; \
32891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32892 $(NORMAL_TARGET_EXPORTS) \
32893 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
32894 for flag in $(EXTRA_TARGET_FLAGS); do \
32895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32896 done; \
32897 (cd $(TARGET_SUBDIR)/qthreads && \
32898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32900 "RANLIB=$${RANLIB}" \
32901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32902 maintainer-clean) \
32903 || exit 1
32905 @endif target-qthreads
32909 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32910 @if target-rda
32911 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
32912 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32913 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
32914 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
32915 @endif target-rda
32919 .PHONY: configure-target-rda maybe-configure-target-rda
32920 maybe-configure-target-rda:
32921 @if target-rda
32922 maybe-configure-target-rda: configure-target-rda
32923 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
32924 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
32925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
32926 r=`${PWD_COMMAND}`; export r; \
32927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32928 $(NORMAL_TARGET_EXPORTS) \
32929 echo Configuring in $(TARGET_SUBDIR)/rda; \
32930 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
32931 case $(srcdir) in \
32932 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32933 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
32934 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32935 esac; \
32936 srcdiroption="--srcdir=$${topdir}/rda"; \
32937 libsrcdir="$$s/rda"; \
32938 rm -f no-such-file || : ; \
32939 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32940 $(TARGET_CONFIGARGS) $${srcdiroption} \
32941 || exit 1
32942 @endif target-rda
32948 .PHONY: all-target-rda maybe-all-target-rda
32949 maybe-all-target-rda:
32950 @if target-rda
32951 TARGET-target-rda=all
32952 maybe-all-target-rda: all-target-rda
32953 all-target-rda: configure-target-rda
32954 @r=`${PWD_COMMAND}`; export r; \
32955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32956 $(NORMAL_TARGET_EXPORTS) \
32957 (cd $(TARGET_SUBDIR)/rda && \
32958 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
32959 @endif target-rda
32965 .PHONY: check-target-rda maybe-check-target-rda
32966 maybe-check-target-rda:
32967 @if target-rda
32968 maybe-check-target-rda: check-target-rda
32970 check-target-rda:
32971 @r=`${PWD_COMMAND}`; export r; \
32972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32973 $(NORMAL_TARGET_EXPORTS) \
32974 (cd $(TARGET_SUBDIR)/rda && \
32975 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32977 @endif target-rda
32979 .PHONY: install-target-rda maybe-install-target-rda
32980 maybe-install-target-rda:
32981 @if target-rda
32982 maybe-install-target-rda: install-target-rda
32984 install-target-rda: installdirs
32985 @r=`${PWD_COMMAND}`; export r; \
32986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32987 $(NORMAL_TARGET_EXPORTS) \
32988 (cd $(TARGET_SUBDIR)/rda && \
32989 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32991 @endif target-rda
32993 # Other targets (info, dvi, etc.)
32995 .PHONY: maybe-info-target-rda info-target-rda
32996 maybe-info-target-rda:
32997 @if target-rda
32998 maybe-info-target-rda: info-target-rda
33000 info-target-rda: \
33001 configure-target-rda
33002 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33003 r=`${PWD_COMMAND}`; export r; \
33004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33005 $(NORMAL_TARGET_EXPORTS) \
33006 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
33007 for flag in $(EXTRA_TARGET_FLAGS); do \
33008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33009 done; \
33010 (cd $(TARGET_SUBDIR)/rda && \
33011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33013 "RANLIB=$${RANLIB}" \
33014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33015 info) \
33016 || exit 1
33018 @endif target-rda
33020 .PHONY: maybe-dvi-target-rda dvi-target-rda
33021 maybe-dvi-target-rda:
33022 @if target-rda
33023 maybe-dvi-target-rda: dvi-target-rda
33025 dvi-target-rda: \
33026 configure-target-rda
33027 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33028 r=`${PWD_COMMAND}`; export r; \
33029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33030 $(NORMAL_TARGET_EXPORTS) \
33031 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
33032 for flag in $(EXTRA_TARGET_FLAGS); do \
33033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33034 done; \
33035 (cd $(TARGET_SUBDIR)/rda && \
33036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33038 "RANLIB=$${RANLIB}" \
33039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33040 dvi) \
33041 || exit 1
33043 @endif target-rda
33045 .PHONY: maybe-html-target-rda html-target-rda
33046 maybe-html-target-rda:
33047 @if target-rda
33048 maybe-html-target-rda: html-target-rda
33050 html-target-rda: \
33051 configure-target-rda
33052 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33053 r=`${PWD_COMMAND}`; export r; \
33054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33055 $(NORMAL_TARGET_EXPORTS) \
33056 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
33057 for flag in $(EXTRA_TARGET_FLAGS); do \
33058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33059 done; \
33060 (cd $(TARGET_SUBDIR)/rda && \
33061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33063 "RANLIB=$${RANLIB}" \
33064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33065 html) \
33066 || exit 1
33068 @endif target-rda
33070 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
33071 maybe-TAGS-target-rda:
33072 @if target-rda
33073 maybe-TAGS-target-rda: TAGS-target-rda
33075 TAGS-target-rda: \
33076 configure-target-rda
33077 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33078 r=`${PWD_COMMAND}`; export r; \
33079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33080 $(NORMAL_TARGET_EXPORTS) \
33081 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
33082 for flag in $(EXTRA_TARGET_FLAGS); do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 (cd $(TARGET_SUBDIR)/rda && \
33086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33088 "RANLIB=$${RANLIB}" \
33089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33090 TAGS) \
33091 || exit 1
33093 @endif target-rda
33095 .PHONY: maybe-install-info-target-rda install-info-target-rda
33096 maybe-install-info-target-rda:
33097 @if target-rda
33098 maybe-install-info-target-rda: install-info-target-rda
33100 install-info-target-rda: \
33101 configure-target-rda \
33102 info-target-rda
33103 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33104 r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(NORMAL_TARGET_EXPORTS) \
33107 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
33108 for flag in $(EXTRA_TARGET_FLAGS); do \
33109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33110 done; \
33111 (cd $(TARGET_SUBDIR)/rda && \
33112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33114 "RANLIB=$${RANLIB}" \
33115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33116 install-info) \
33117 || exit 1
33119 @endif target-rda
33121 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
33122 maybe-installcheck-target-rda:
33123 @if target-rda
33124 maybe-installcheck-target-rda: installcheck-target-rda
33126 installcheck-target-rda: \
33127 configure-target-rda
33128 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33129 r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 $(NORMAL_TARGET_EXPORTS) \
33132 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
33133 for flag in $(EXTRA_TARGET_FLAGS); do \
33134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33135 done; \
33136 (cd $(TARGET_SUBDIR)/rda && \
33137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33139 "RANLIB=$${RANLIB}" \
33140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33141 installcheck) \
33142 || exit 1
33144 @endif target-rda
33146 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
33147 maybe-mostlyclean-target-rda:
33148 @if target-rda
33149 maybe-mostlyclean-target-rda: mostlyclean-target-rda
33151 mostlyclean-target-rda:
33152 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33153 r=`${PWD_COMMAND}`; export r; \
33154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33155 $(NORMAL_TARGET_EXPORTS) \
33156 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
33157 for flag in $(EXTRA_TARGET_FLAGS); do \
33158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33159 done; \
33160 (cd $(TARGET_SUBDIR)/rda && \
33161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33163 "RANLIB=$${RANLIB}" \
33164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33165 mostlyclean) \
33166 || exit 1
33168 @endif target-rda
33170 .PHONY: maybe-clean-target-rda clean-target-rda
33171 maybe-clean-target-rda:
33172 @if target-rda
33173 maybe-clean-target-rda: clean-target-rda
33175 clean-target-rda:
33176 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33177 r=`${PWD_COMMAND}`; export r; \
33178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33179 $(NORMAL_TARGET_EXPORTS) \
33180 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
33181 for flag in $(EXTRA_TARGET_FLAGS); do \
33182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33183 done; \
33184 (cd $(TARGET_SUBDIR)/rda && \
33185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33187 "RANLIB=$${RANLIB}" \
33188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33189 clean) \
33190 || exit 1
33192 @endif target-rda
33194 .PHONY: maybe-distclean-target-rda distclean-target-rda
33195 maybe-distclean-target-rda:
33196 @if target-rda
33197 maybe-distclean-target-rda: distclean-target-rda
33199 distclean-target-rda:
33200 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33201 r=`${PWD_COMMAND}`; export r; \
33202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33203 $(NORMAL_TARGET_EXPORTS) \
33204 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
33205 for flag in $(EXTRA_TARGET_FLAGS); do \
33206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33207 done; \
33208 (cd $(TARGET_SUBDIR)/rda && \
33209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33211 "RANLIB=$${RANLIB}" \
33212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33213 distclean) \
33214 || exit 1
33216 @endif target-rda
33218 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
33219 maybe-maintainer-clean-target-rda:
33220 @if target-rda
33221 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
33223 maintainer-clean-target-rda:
33224 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
33225 r=`${PWD_COMMAND}`; export r; \
33226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33227 $(NORMAL_TARGET_EXPORTS) \
33228 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
33229 for flag in $(EXTRA_TARGET_FLAGS); do \
33230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33231 done; \
33232 (cd $(TARGET_SUBDIR)/rda && \
33233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33235 "RANLIB=$${RANLIB}" \
33236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33237 maintainer-clean) \
33238 || exit 1
33240 @endif target-rda
33244 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33245 @if target-libada
33246 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
33247 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33248 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
33249 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
33250 @endif target-libada
33254 .PHONY: configure-target-libada maybe-configure-target-libada
33255 maybe-configure-target-libada:
33256 @if target-libada
33257 maybe-configure-target-libada: configure-target-libada
33258 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
33259 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
33260 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
33261 r=`${PWD_COMMAND}`; export r; \
33262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33263 $(NORMAL_TARGET_EXPORTS) \
33264 echo Configuring in $(TARGET_SUBDIR)/libada; \
33265 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
33266 case $(srcdir) in \
33267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33268 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
33269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33270 esac; \
33271 srcdiroption="--srcdir=$${topdir}/libada"; \
33272 libsrcdir="$$s/libada"; \
33273 rm -f no-such-file || : ; \
33274 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33275 $(TARGET_CONFIGARGS) $${srcdiroption} \
33276 || exit 1
33277 @endif target-libada
33283 .PHONY: all-target-libada maybe-all-target-libada
33284 maybe-all-target-libada:
33285 @if target-libada
33286 TARGET-target-libada=all
33287 maybe-all-target-libada: all-target-libada
33288 all-target-libada: configure-target-libada
33289 @r=`${PWD_COMMAND}`; export r; \
33290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33291 $(NORMAL_TARGET_EXPORTS) \
33292 (cd $(TARGET_SUBDIR)/libada && \
33293 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
33294 @endif target-libada
33300 .PHONY: check-target-libada maybe-check-target-libada
33301 maybe-check-target-libada:
33302 @if target-libada
33303 maybe-check-target-libada: check-target-libada
33305 check-target-libada:
33306 @r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(NORMAL_TARGET_EXPORTS) \
33309 (cd $(TARGET_SUBDIR)/libada && \
33310 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33312 @endif target-libada
33314 .PHONY: install-target-libada maybe-install-target-libada
33315 maybe-install-target-libada:
33316 @if target-libada
33317 maybe-install-target-libada: install-target-libada
33319 install-target-libada: installdirs
33320 @r=`${PWD_COMMAND}`; export r; \
33321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33322 $(NORMAL_TARGET_EXPORTS) \
33323 (cd $(TARGET_SUBDIR)/libada && \
33324 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33326 @endif target-libada
33328 # Other targets (info, dvi, etc.)
33330 .PHONY: maybe-info-target-libada info-target-libada
33331 maybe-info-target-libada:
33332 @if target-libada
33333 maybe-info-target-libada: info-target-libada
33335 info-target-libada: \
33336 configure-target-libada
33337 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33338 r=`${PWD_COMMAND}`; export r; \
33339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33340 $(NORMAL_TARGET_EXPORTS) \
33341 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
33342 for flag in $(EXTRA_TARGET_FLAGS); do \
33343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33344 done; \
33345 (cd $(TARGET_SUBDIR)/libada && \
33346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33348 "RANLIB=$${RANLIB}" \
33349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33350 info) \
33351 || exit 1
33353 @endif target-libada
33355 .PHONY: maybe-dvi-target-libada dvi-target-libada
33356 maybe-dvi-target-libada:
33357 @if target-libada
33358 maybe-dvi-target-libada: dvi-target-libada
33360 dvi-target-libada: \
33361 configure-target-libada
33362 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33363 r=`${PWD_COMMAND}`; export r; \
33364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33365 $(NORMAL_TARGET_EXPORTS) \
33366 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
33367 for flag in $(EXTRA_TARGET_FLAGS); do \
33368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33369 done; \
33370 (cd $(TARGET_SUBDIR)/libada && \
33371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33373 "RANLIB=$${RANLIB}" \
33374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33375 dvi) \
33376 || exit 1
33378 @endif target-libada
33380 .PHONY: maybe-html-target-libada html-target-libada
33381 maybe-html-target-libada:
33382 @if target-libada
33383 maybe-html-target-libada: html-target-libada
33385 html-target-libada: \
33386 configure-target-libada
33387 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33388 r=`${PWD_COMMAND}`; export r; \
33389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33390 $(NORMAL_TARGET_EXPORTS) \
33391 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
33392 for flag in $(EXTRA_TARGET_FLAGS); do \
33393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33394 done; \
33395 (cd $(TARGET_SUBDIR)/libada && \
33396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33398 "RANLIB=$${RANLIB}" \
33399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33400 html) \
33401 || exit 1
33403 @endif target-libada
33405 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
33406 maybe-TAGS-target-libada:
33407 @if target-libada
33408 maybe-TAGS-target-libada: TAGS-target-libada
33410 TAGS-target-libada: \
33411 configure-target-libada
33412 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33413 r=`${PWD_COMMAND}`; export r; \
33414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33415 $(NORMAL_TARGET_EXPORTS) \
33416 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
33417 for flag in $(EXTRA_TARGET_FLAGS); do \
33418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33419 done; \
33420 (cd $(TARGET_SUBDIR)/libada && \
33421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33423 "RANLIB=$${RANLIB}" \
33424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33425 TAGS) \
33426 || exit 1
33428 @endif target-libada
33430 .PHONY: maybe-install-info-target-libada install-info-target-libada
33431 maybe-install-info-target-libada:
33432 @if target-libada
33433 maybe-install-info-target-libada: install-info-target-libada
33435 install-info-target-libada: \
33436 configure-target-libada \
33437 info-target-libada
33438 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33439 r=`${PWD_COMMAND}`; export r; \
33440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33441 $(NORMAL_TARGET_EXPORTS) \
33442 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
33443 for flag in $(EXTRA_TARGET_FLAGS); do \
33444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33445 done; \
33446 (cd $(TARGET_SUBDIR)/libada && \
33447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33449 "RANLIB=$${RANLIB}" \
33450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33451 install-info) \
33452 || exit 1
33454 @endif target-libada
33456 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
33457 maybe-installcheck-target-libada:
33458 @if target-libada
33459 maybe-installcheck-target-libada: installcheck-target-libada
33461 installcheck-target-libada: \
33462 configure-target-libada
33463 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33464 r=`${PWD_COMMAND}`; export r; \
33465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33466 $(NORMAL_TARGET_EXPORTS) \
33467 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
33468 for flag in $(EXTRA_TARGET_FLAGS); do \
33469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33470 done; \
33471 (cd $(TARGET_SUBDIR)/libada && \
33472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33474 "RANLIB=$${RANLIB}" \
33475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33476 installcheck) \
33477 || exit 1
33479 @endif target-libada
33481 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
33482 maybe-mostlyclean-target-libada:
33483 @if target-libada
33484 maybe-mostlyclean-target-libada: mostlyclean-target-libada
33486 mostlyclean-target-libada:
33487 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33488 r=`${PWD_COMMAND}`; export r; \
33489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33490 $(NORMAL_TARGET_EXPORTS) \
33491 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
33492 for flag in $(EXTRA_TARGET_FLAGS); do \
33493 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33494 done; \
33495 (cd $(TARGET_SUBDIR)/libada && \
33496 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33497 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33498 "RANLIB=$${RANLIB}" \
33499 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33500 mostlyclean) \
33501 || exit 1
33503 @endif target-libada
33505 .PHONY: maybe-clean-target-libada clean-target-libada
33506 maybe-clean-target-libada:
33507 @if target-libada
33508 maybe-clean-target-libada: clean-target-libada
33510 clean-target-libada:
33511 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33512 r=`${PWD_COMMAND}`; export r; \
33513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33514 $(NORMAL_TARGET_EXPORTS) \
33515 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
33516 for flag in $(EXTRA_TARGET_FLAGS); do \
33517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33518 done; \
33519 (cd $(TARGET_SUBDIR)/libada && \
33520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33522 "RANLIB=$${RANLIB}" \
33523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33524 clean) \
33525 || exit 1
33527 @endif target-libada
33529 .PHONY: maybe-distclean-target-libada distclean-target-libada
33530 maybe-distclean-target-libada:
33531 @if target-libada
33532 maybe-distclean-target-libada: distclean-target-libada
33534 distclean-target-libada:
33535 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33536 r=`${PWD_COMMAND}`; export r; \
33537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33538 $(NORMAL_TARGET_EXPORTS) \
33539 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
33540 for flag in $(EXTRA_TARGET_FLAGS); do \
33541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33542 done; \
33543 (cd $(TARGET_SUBDIR)/libada && \
33544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33546 "RANLIB=$${RANLIB}" \
33547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33548 distclean) \
33549 || exit 1
33551 @endif target-libada
33553 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
33554 maybe-maintainer-clean-target-libada:
33555 @if target-libada
33556 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
33558 maintainer-clean-target-libada:
33559 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
33560 r=`${PWD_COMMAND}`; export r; \
33561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33562 $(NORMAL_TARGET_EXPORTS) \
33563 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
33564 for flag in $(EXTRA_TARGET_FLAGS); do \
33565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33566 done; \
33567 (cd $(TARGET_SUBDIR)/libada && \
33568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33570 "RANLIB=$${RANLIB}" \
33571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33572 maintainer-clean) \
33573 || exit 1
33575 @endif target-libada
33579 # ----------
33580 # GCC module
33581 # ----------
33583 @if gcc-no-bootstrap
33584 # GCC has some more recursive targets, which trigger the old
33585 # (but still current, until the toplevel bootstrap project
33586 # is finished) compiler bootstrapping rules.
33588 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
33589 .PHONY: $(GCC_STRAP_TARGETS)
33590 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
33591 @r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 $(HOST_EXPORTS) \
33594 echo "Bootstrapping the compiler"; \
33595 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33596 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
33597 @r=`${PWD_COMMAND}`; export r; \
33598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33599 case "$@" in \
33600 *bootstrap4-lean ) \
33601 msg="Comparing stage3 and stage4 of the compiler"; \
33602 compare=compare3-lean ;; \
33603 *bootstrap4 ) \
33604 msg="Comparing stage3 and stage4 of the compiler"; \
33605 compare=compare3 ;; \
33606 *-lean ) \
33607 msg="Comparing stage2 and stage3 of the compiler"; \
33608 compare=compare-lean ;; \
33609 * ) \
33610 msg="Comparing stage2 and stage3 of the compiler"; \
33611 compare=compare ;; \
33612 esac; \
33613 $(HOST_EXPORTS) \
33614 echo "$$msg"; \
33615 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
33616 @r=`${PWD_COMMAND}`; export r; \
33617 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33618 echo "Building runtime libraries"; \
33619 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33621 profiledbootstrap: all-prebootstrap configure-gcc
33622 @r=`${PWD_COMMAND}`; export r; \
33623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33624 $(HOST_EXPORTS) \
33625 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
33626 echo "Bootstrapping training compiler"; \
33627 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
33628 @r=`${PWD_COMMAND}`; export r; \
33629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33630 $(HOST_EXPORTS) \
33631 echo "Building feedback based compiler"; \
33632 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
33633 @r=`${PWD_COMMAND}`; export r; \
33634 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33635 echo "Building runtime libraries"; \
33636 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
33638 .PHONY: cross
33639 cross: all-build all-gas all-ld
33640 @r=`${PWD_COMMAND}`; export r; \
33641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33642 $(HOST_EXPORTS) \
33643 echo "Building the C and C++ compiler"; \
33644 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
33645 @r=`${PWD_COMMAND}`; export r; \
33646 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33647 echo "Building runtime libraries"; \
33648 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
33649 @endif gcc-no-bootstrap
33651 @if gcc
33652 .PHONY: check-gcc-c++
33653 check-gcc-c++:
33654 @if [ -f ./gcc/Makefile ] ; then \
33655 r=`${PWD_COMMAND}`; export r; \
33656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33657 $(HOST_EXPORTS) \
33658 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
33659 else \
33660 true; \
33663 .PHONY: check-c++
33664 check-c++: check-target-libstdc++-v3 check-gcc-c++
33666 # Install the gcc headers files, but not the fixed include files,
33667 # which Cygnus is not allowed to distribute. This rule is very
33668 # dependent on the workings of the gcc Makefile.in.
33669 .PHONY: gcc-no-fixedincludes
33670 gcc-no-fixedincludes:
33671 @if [ -f ./gcc/Makefile ]; then \
33672 rm -rf gcc/tmp-include; \
33673 mv gcc/include gcc/tmp-include 2>/dev/null; \
33674 mkdir gcc/include; \
33675 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
33676 touch gcc/stmp-fixinc gcc/include/fixed; \
33677 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
33678 r=`${PWD_COMMAND}`; export r; \
33679 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
33680 $(HOST_EXPORTS) \
33681 (cd ./gcc && \
33682 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
33683 rm -rf gcc/include; \
33684 mv gcc/tmp-include gcc/include 2>/dev/null; \
33685 else true; fi
33686 @endif gcc
33688 # ---------------------
33689 # GCC bootstrap support
33690 # ---------------------
33692 # We track the current stage (the one in 'gcc') in the stage_current file.
33693 # stage_last instead tracks the stage that was built last. These targets
33694 # are dummy when toplevel bootstrap is not active.
33696 .PHONY: unstage
33697 unstage:
33698 @if gcc-bootstrap
33699 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
33700 @endif gcc-bootstrap
33702 .PHONY: stage
33703 stage:
33704 @if gcc-bootstrap
33705 @$(MAKE) `cat stage_current`-end
33706 @endif gcc-bootstrap
33708 # We name the build directories for the various stages "stage1-gcc",
33709 # "stage2-gcc","stage3-gcc", etc.
33711 # Since the 'compare' process will fail (on debugging information) if any
33712 # directory names are different, we need to link the gcc directory for
33713 # the previous stage to a constant name ('gcc-prev'), and to make the name of
33714 # the build directories constant as well. For the latter, we use naked names
33715 # like 'gcc', because the scripts in that directory assume it. We use
33716 # mv on platforms where symlinks to directories do not work or are not
33717 # reliable.
33719 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
33720 # be kept, so that libraries can find it. Ick!
33722 # It would be best to preinstall gcc into a staging area (and in the
33723 # future, gather there all prebootstrap packages). This would allow
33724 # assemblers and linkers can be bootstrapped as well as the compiler
33725 # (both in a combined tree, or separately). This however requires some
33726 # change to the gcc driver, again in order to avoid comparison failures.
33728 # Bugs: This is crippled when doing parallel make, the `make all-host'
33729 # and `make all-target' phases can be parallelized.
33732 # 'touch' doesn't work right on some platforms.
33733 STAMP = echo timestamp >
33735 # Only build the C compiler for stage1, because that is the only one that
33736 # we can guarantee will build with the native compiler, and also it is the
33737 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
33738 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
33739 # overrideable (for a bootstrap build stage1 also builds gcc.info).
33741 STAGE1_CFLAGS=@stage1_cflags@
33742 STAGE1_LANGUAGES=@stage1_languages@
33744 # We only want to compare .o files, so set this!
33745 objext = .o
33747 # Flags to pass to stage2 and later makes.
33748 POSTSTAGE1_FLAGS_TO_PASS = \
33749 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
33750 STAGE_PREFIX=$$r/prev-gcc/ \
33751 CFLAGS="$(BOOT_CFLAGS)" \
33752 ADAC="\$$(CC)"
33754 # For stage 1:
33755 # * We force-disable intermodule optimizations, even if
33756 # --enable-intermodule was passed, since the installed compiler probably
33757 # can't handle them. Luckily, autoconf always respects
33758 # the last argument when conflicting --enable arguments are passed.
33759 # * Likewise, we force-disable coverage flags, since the installed compiler
33760 # probably has never heard of them.
33761 # * We build only C (and possibly Ada).
33764 .PHONY: stage1-start stage1-end
33766 stage1-start::
33767 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33768 echo stage1 > stage_current ; \
33769 echo stage1 > stage_last; \
33770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33771 @if bfd
33772 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
33773 mkdir stage1-bfd; \
33774 set stage1-bfd bfd ; \
33775 @CREATE_LINK_TO_DIR@
33776 @endif bfd
33777 @if opcodes
33778 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
33779 mkdir stage1-opcodes; \
33780 set stage1-opcodes opcodes ; \
33781 @CREATE_LINK_TO_DIR@
33782 @endif opcodes
33783 @if binutils
33784 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
33785 mkdir stage1-binutils; \
33786 set stage1-binutils binutils ; \
33787 @CREATE_LINK_TO_DIR@
33788 @endif binutils
33789 @if gas
33790 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
33791 mkdir stage1-gas; \
33792 set stage1-gas gas ; \
33793 @CREATE_LINK_TO_DIR@
33794 @endif gas
33795 @if gcc
33796 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
33797 mkdir stage1-gcc; \
33798 set stage1-gcc gcc ; \
33799 @CREATE_LINK_TO_DIR@
33800 @endif gcc
33801 @if intl
33802 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
33803 mkdir stage1-intl; \
33804 set stage1-intl intl ; \
33805 @CREATE_LINK_TO_DIR@
33806 @endif intl
33807 @if ld
33808 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
33809 mkdir stage1-ld; \
33810 set stage1-ld ld ; \
33811 @CREATE_LINK_TO_DIR@
33812 @endif ld
33813 @if libcpp
33814 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
33815 mkdir stage1-libcpp; \
33816 set stage1-libcpp libcpp ; \
33817 @CREATE_LINK_TO_DIR@
33818 @endif libcpp
33819 @if libiberty
33820 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
33821 mkdir stage1-libiberty; \
33822 set stage1-libiberty libiberty ; \
33823 @CREATE_LINK_TO_DIR@
33824 @endif libiberty
33825 @if zlib
33826 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
33827 mkdir stage1-zlib; \
33828 set stage1-zlib zlib ; \
33829 @CREATE_LINK_TO_DIR@
33830 @endif zlib
33832 stage1-end::
33833 @rm -f stage_current
33834 @if bfd
33835 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
33836 @UNDO_LINK_TO_DIR@
33837 @endif bfd
33838 @if opcodes
33839 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
33840 @UNDO_LINK_TO_DIR@
33841 @endif opcodes
33842 @if binutils
33843 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
33844 @UNDO_LINK_TO_DIR@
33845 @endif binutils
33846 @if gas
33847 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
33848 @UNDO_LINK_TO_DIR@
33849 @endif gas
33850 @if gcc
33851 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
33852 @UNDO_LINK_TO_DIR@
33853 @endif gcc
33854 @if intl
33855 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
33856 @UNDO_LINK_TO_DIR@
33857 @endif intl
33858 @if ld
33859 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
33860 @UNDO_LINK_TO_DIR@
33861 @endif ld
33862 @if libcpp
33863 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
33864 @UNDO_LINK_TO_DIR@
33865 @endif libcpp
33866 @if libiberty
33867 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
33868 @UNDO_LINK_TO_DIR@
33869 @endif libiberty
33870 @if zlib
33871 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
33872 @UNDO_LINK_TO_DIR@
33873 @endif zlib
33875 # Bubble a bugfix through all the stages up to stage 1. They
33876 # are remade, but not reconfigured. The next stage (if any) will not
33877 # be reconfigured as well.
33878 .PHONY: stage1-bubble
33879 stage1-bubble::
33880 @if test -f stage1-lean ; then \
33881 echo Skipping rebuild of stage1 ; \
33882 else \
33883 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
33886 .PHONY: all-stage1 clean-stage1
33887 do-clean: clean-stage1
33889 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33890 # only possibility, but now it conflicts with no-bootstrap rules
33891 @if gcc-bootstrap
33896 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33898 .PHONY: distclean-stage1
33899 distclean-stage1::
33900 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33901 rm -rf stage1-*
33904 @endif gcc-bootstrap
33907 .PHONY: stage2-start stage2-end
33909 stage2-start::
33910 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33911 echo stage2 > stage_current ; \
33912 echo stage2 > stage_last; \
33913 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
33914 @if bfd
33915 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
33916 mkdir stage2-bfd; \
33917 set stage2-bfd bfd ; \
33918 @CREATE_LINK_TO_DIR@ ; \
33919 set stage1-bfd prev-bfd ; \
33920 @CREATE_LINK_TO_DIR@
33921 @endif bfd
33922 @if opcodes
33923 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
33924 mkdir stage2-opcodes; \
33925 set stage2-opcodes opcodes ; \
33926 @CREATE_LINK_TO_DIR@ ; \
33927 set stage1-opcodes prev-opcodes ; \
33928 @CREATE_LINK_TO_DIR@
33929 @endif opcodes
33930 @if binutils
33931 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
33932 mkdir stage2-binutils; \
33933 set stage2-binutils binutils ; \
33934 @CREATE_LINK_TO_DIR@ ; \
33935 set stage1-binutils prev-binutils ; \
33936 @CREATE_LINK_TO_DIR@
33937 @endif binutils
33938 @if gas
33939 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
33940 mkdir stage2-gas; \
33941 set stage2-gas gas ; \
33942 @CREATE_LINK_TO_DIR@ ; \
33943 set stage1-gas prev-gas ; \
33944 @CREATE_LINK_TO_DIR@
33945 @endif gas
33946 @if gcc
33947 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
33948 mkdir stage2-gcc; \
33949 set stage2-gcc gcc ; \
33950 @CREATE_LINK_TO_DIR@ ; \
33951 set stage1-gcc prev-gcc ; \
33952 @CREATE_LINK_TO_DIR@
33953 @endif gcc
33954 @if intl
33955 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
33956 mkdir stage2-intl; \
33957 set stage2-intl intl ; \
33958 @CREATE_LINK_TO_DIR@ ; \
33959 set stage1-intl prev-intl ; \
33960 @CREATE_LINK_TO_DIR@
33961 @endif intl
33962 @if ld
33963 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
33964 mkdir stage2-ld; \
33965 set stage2-ld ld ; \
33966 @CREATE_LINK_TO_DIR@ ; \
33967 set stage1-ld prev-ld ; \
33968 @CREATE_LINK_TO_DIR@
33969 @endif ld
33970 @if libcpp
33971 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
33972 mkdir stage2-libcpp; \
33973 set stage2-libcpp libcpp ; \
33974 @CREATE_LINK_TO_DIR@ ; \
33975 set stage1-libcpp prev-libcpp ; \
33976 @CREATE_LINK_TO_DIR@
33977 @endif libcpp
33978 @if libiberty
33979 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
33980 mkdir stage2-libiberty; \
33981 set stage2-libiberty libiberty ; \
33982 @CREATE_LINK_TO_DIR@ ; \
33983 set stage1-libiberty prev-libiberty ; \
33984 @CREATE_LINK_TO_DIR@
33985 @endif libiberty
33986 @if zlib
33987 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
33988 mkdir stage2-zlib; \
33989 set stage2-zlib zlib ; \
33990 @CREATE_LINK_TO_DIR@ ; \
33991 set stage1-zlib prev-zlib ; \
33992 @CREATE_LINK_TO_DIR@
33993 @endif zlib
33995 stage2-end::
33996 @rm -f stage_current
33997 @if bfd
33998 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
33999 @UNDO_LINK_TO_DIR@ ; \
34000 set prev-bfd stage1-bfd ; \
34001 @UNDO_LINK_TO_DIR@
34002 @endif bfd
34003 @if opcodes
34004 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
34005 @UNDO_LINK_TO_DIR@ ; \
34006 set prev-opcodes stage1-opcodes ; \
34007 @UNDO_LINK_TO_DIR@
34008 @endif opcodes
34009 @if binutils
34010 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
34011 @UNDO_LINK_TO_DIR@ ; \
34012 set prev-binutils stage1-binutils ; \
34013 @UNDO_LINK_TO_DIR@
34014 @endif binutils
34015 @if gas
34016 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
34017 @UNDO_LINK_TO_DIR@ ; \
34018 set prev-gas stage1-gas ; \
34019 @UNDO_LINK_TO_DIR@
34020 @endif gas
34021 @if gcc
34022 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
34023 @UNDO_LINK_TO_DIR@ ; \
34024 set prev-gcc stage1-gcc ; \
34025 @UNDO_LINK_TO_DIR@
34026 @endif gcc
34027 @if intl
34028 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
34029 @UNDO_LINK_TO_DIR@ ; \
34030 set prev-intl stage1-intl ; \
34031 @UNDO_LINK_TO_DIR@
34032 @endif intl
34033 @if ld
34034 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
34035 @UNDO_LINK_TO_DIR@ ; \
34036 set prev-ld stage1-ld ; \
34037 @UNDO_LINK_TO_DIR@
34038 @endif ld
34039 @if libcpp
34040 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
34041 @UNDO_LINK_TO_DIR@ ; \
34042 set prev-libcpp stage1-libcpp ; \
34043 @UNDO_LINK_TO_DIR@
34044 @endif libcpp
34045 @if libiberty
34046 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
34047 @UNDO_LINK_TO_DIR@ ; \
34048 set prev-libiberty stage1-libiberty ; \
34049 @UNDO_LINK_TO_DIR@
34050 @endif libiberty
34051 @if zlib
34052 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
34053 @UNDO_LINK_TO_DIR@ ; \
34054 set prev-zlib stage1-zlib ; \
34055 @UNDO_LINK_TO_DIR@
34056 @endif zlib
34058 # Bubble a bugfix through all the stages up to stage 2. They
34059 # are remade, but not reconfigured. The next stage (if any) will not
34060 # be reconfigured as well.
34061 .PHONY: stage2-bubble
34062 stage2-bubble:: stage1-bubble
34063 @if test -f stage2-lean || test -f stage1-lean ; then \
34064 echo Skipping rebuild of stage2 ; \
34065 else \
34066 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
34069 .PHONY: all-stage2 clean-stage2
34070 do-clean: clean-stage2
34072 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34073 # only possibility, but now it conflicts with no-bootstrap rules
34074 @if gcc-bootstrap
34078 .PHONY: bootstrap2
34079 bootstrap2: stage2-bubble all
34082 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34083 distclean-stage1:: distclean-stage2
34084 .PHONY: distclean-stage2
34085 distclean-stage2::
34086 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34087 rm -rf stage2-*
34090 @endif gcc-bootstrap
34093 .PHONY: stage3-start stage3-end
34095 stage3-start::
34096 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34097 echo stage3 > stage_current ; \
34098 echo stage3 > stage_last; \
34099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34100 @if bfd
34101 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
34102 mkdir stage3-bfd; \
34103 set stage3-bfd bfd ; \
34104 @CREATE_LINK_TO_DIR@ ; \
34105 set stage2-bfd prev-bfd ; \
34106 @CREATE_LINK_TO_DIR@
34107 @endif bfd
34108 @if opcodes
34109 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
34110 mkdir stage3-opcodes; \
34111 set stage3-opcodes opcodes ; \
34112 @CREATE_LINK_TO_DIR@ ; \
34113 set stage2-opcodes prev-opcodes ; \
34114 @CREATE_LINK_TO_DIR@
34115 @endif opcodes
34116 @if binutils
34117 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
34118 mkdir stage3-binutils; \
34119 set stage3-binutils binutils ; \
34120 @CREATE_LINK_TO_DIR@ ; \
34121 set stage2-binutils prev-binutils ; \
34122 @CREATE_LINK_TO_DIR@
34123 @endif binutils
34124 @if gas
34125 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
34126 mkdir stage3-gas; \
34127 set stage3-gas gas ; \
34128 @CREATE_LINK_TO_DIR@ ; \
34129 set stage2-gas prev-gas ; \
34130 @CREATE_LINK_TO_DIR@
34131 @endif gas
34132 @if gcc
34133 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
34134 mkdir stage3-gcc; \
34135 set stage3-gcc gcc ; \
34136 @CREATE_LINK_TO_DIR@ ; \
34137 set stage2-gcc prev-gcc ; \
34138 @CREATE_LINK_TO_DIR@
34139 @endif gcc
34140 @if intl
34141 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
34142 mkdir stage3-intl; \
34143 set stage3-intl intl ; \
34144 @CREATE_LINK_TO_DIR@ ; \
34145 set stage2-intl prev-intl ; \
34146 @CREATE_LINK_TO_DIR@
34147 @endif intl
34148 @if ld
34149 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
34150 mkdir stage3-ld; \
34151 set stage3-ld ld ; \
34152 @CREATE_LINK_TO_DIR@ ; \
34153 set stage2-ld prev-ld ; \
34154 @CREATE_LINK_TO_DIR@
34155 @endif ld
34156 @if libcpp
34157 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
34158 mkdir stage3-libcpp; \
34159 set stage3-libcpp libcpp ; \
34160 @CREATE_LINK_TO_DIR@ ; \
34161 set stage2-libcpp prev-libcpp ; \
34162 @CREATE_LINK_TO_DIR@
34163 @endif libcpp
34164 @if libiberty
34165 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
34166 mkdir stage3-libiberty; \
34167 set stage3-libiberty libiberty ; \
34168 @CREATE_LINK_TO_DIR@ ; \
34169 set stage2-libiberty prev-libiberty ; \
34170 @CREATE_LINK_TO_DIR@
34171 @endif libiberty
34172 @if zlib
34173 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
34174 mkdir stage3-zlib; \
34175 set stage3-zlib zlib ; \
34176 @CREATE_LINK_TO_DIR@ ; \
34177 set stage2-zlib prev-zlib ; \
34178 @CREATE_LINK_TO_DIR@
34179 @endif zlib
34181 stage3-end::
34182 @rm -f stage_current
34183 @if bfd
34184 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
34185 @UNDO_LINK_TO_DIR@ ; \
34186 set prev-bfd stage2-bfd ; \
34187 @UNDO_LINK_TO_DIR@
34188 @endif bfd
34189 @if opcodes
34190 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
34191 @UNDO_LINK_TO_DIR@ ; \
34192 set prev-opcodes stage2-opcodes ; \
34193 @UNDO_LINK_TO_DIR@
34194 @endif opcodes
34195 @if binutils
34196 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
34197 @UNDO_LINK_TO_DIR@ ; \
34198 set prev-binutils stage2-binutils ; \
34199 @UNDO_LINK_TO_DIR@
34200 @endif binutils
34201 @if gas
34202 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
34203 @UNDO_LINK_TO_DIR@ ; \
34204 set prev-gas stage2-gas ; \
34205 @UNDO_LINK_TO_DIR@
34206 @endif gas
34207 @if gcc
34208 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
34209 @UNDO_LINK_TO_DIR@ ; \
34210 set prev-gcc stage2-gcc ; \
34211 @UNDO_LINK_TO_DIR@
34212 @endif gcc
34213 @if intl
34214 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
34215 @UNDO_LINK_TO_DIR@ ; \
34216 set prev-intl stage2-intl ; \
34217 @UNDO_LINK_TO_DIR@
34218 @endif intl
34219 @if ld
34220 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
34221 @UNDO_LINK_TO_DIR@ ; \
34222 set prev-ld stage2-ld ; \
34223 @UNDO_LINK_TO_DIR@
34224 @endif ld
34225 @if libcpp
34226 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
34227 @UNDO_LINK_TO_DIR@ ; \
34228 set prev-libcpp stage2-libcpp ; \
34229 @UNDO_LINK_TO_DIR@
34230 @endif libcpp
34231 @if libiberty
34232 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
34233 @UNDO_LINK_TO_DIR@ ; \
34234 set prev-libiberty stage2-libiberty ; \
34235 @UNDO_LINK_TO_DIR@
34236 @endif libiberty
34237 @if zlib
34238 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
34239 @UNDO_LINK_TO_DIR@ ; \
34240 set prev-zlib stage2-zlib ; \
34241 @UNDO_LINK_TO_DIR@
34242 @endif zlib
34244 # Bubble a bugfix through all the stages up to stage 3. They
34245 # are remade, but not reconfigured. The next stage (if any) will not
34246 # be reconfigured as well.
34247 .PHONY: stage3-bubble
34248 stage3-bubble:: stage2-bubble
34249 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
34250 @if test -f stage3-lean || test -f stage2-lean ; then \
34251 echo Skipping rebuild of stage3 ; \
34252 else \
34253 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
34256 .PHONY: all-stage3 clean-stage3
34257 do-clean: clean-stage3
34259 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34260 # only possibility, but now it conflicts with no-bootstrap rules
34261 @if gcc-bootstrap
34263 compare:
34264 @if test -f stage2-lean; then \
34265 echo Cannot compare object files as stage 2 was deleted. ; \
34266 exit 0 ; \
34267 fi; \
34268 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34269 @r=`${PWD_COMMAND}`; export r; \
34270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34271 rm -f .bad_compare ; \
34272 cd stage3-gcc; \
34273 files=`find . -name "*$(objext)" -print` ; \
34274 cd .. ; \
34275 for file in $${files} ; do \
34276 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
34277 @do_compare@ > /dev/null 2>&1; \
34278 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34279 done ; \
34280 if [ -f .bad_compare ]; then \
34281 echo "Bootstrap comparison failure!"; \
34282 cat .bad_compare; \
34283 exit 1; \
34284 else \
34285 true; \
34286 fi ; \
34287 $(STAMP) compare
34288 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34292 .PHONY: bootstrap
34293 bootstrap: stage3-bubble compare all
34296 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34297 distclean-stage2:: distclean-stage3
34298 .PHONY: distclean-stage3
34299 distclean-stage3::
34300 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34301 rm -rf stage3-* compare
34304 .PHONY: cleanstrap
34305 cleanstrap: distclean bootstrap
34307 @endif gcc-bootstrap
34310 .PHONY: stage4-start stage4-end
34312 stage4-start::
34313 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34314 echo stage4 > stage_current ; \
34315 echo stage4 > stage_last; \
34316 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34317 @if bfd
34318 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
34319 mkdir stage4-bfd; \
34320 set stage4-bfd bfd ; \
34321 @CREATE_LINK_TO_DIR@ ; \
34322 set stage3-bfd prev-bfd ; \
34323 @CREATE_LINK_TO_DIR@
34324 @endif bfd
34325 @if opcodes
34326 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
34327 mkdir stage4-opcodes; \
34328 set stage4-opcodes opcodes ; \
34329 @CREATE_LINK_TO_DIR@ ; \
34330 set stage3-opcodes prev-opcodes ; \
34331 @CREATE_LINK_TO_DIR@
34332 @endif opcodes
34333 @if binutils
34334 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
34335 mkdir stage4-binutils; \
34336 set stage4-binutils binutils ; \
34337 @CREATE_LINK_TO_DIR@ ; \
34338 set stage3-binutils prev-binutils ; \
34339 @CREATE_LINK_TO_DIR@
34340 @endif binutils
34341 @if gas
34342 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
34343 mkdir stage4-gas; \
34344 set stage4-gas gas ; \
34345 @CREATE_LINK_TO_DIR@ ; \
34346 set stage3-gas prev-gas ; \
34347 @CREATE_LINK_TO_DIR@
34348 @endif gas
34349 @if gcc
34350 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
34351 mkdir stage4-gcc; \
34352 set stage4-gcc gcc ; \
34353 @CREATE_LINK_TO_DIR@ ; \
34354 set stage3-gcc prev-gcc ; \
34355 @CREATE_LINK_TO_DIR@
34356 @endif gcc
34357 @if intl
34358 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
34359 mkdir stage4-intl; \
34360 set stage4-intl intl ; \
34361 @CREATE_LINK_TO_DIR@ ; \
34362 set stage3-intl prev-intl ; \
34363 @CREATE_LINK_TO_DIR@
34364 @endif intl
34365 @if ld
34366 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
34367 mkdir stage4-ld; \
34368 set stage4-ld ld ; \
34369 @CREATE_LINK_TO_DIR@ ; \
34370 set stage3-ld prev-ld ; \
34371 @CREATE_LINK_TO_DIR@
34372 @endif ld
34373 @if libcpp
34374 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
34375 mkdir stage4-libcpp; \
34376 set stage4-libcpp libcpp ; \
34377 @CREATE_LINK_TO_DIR@ ; \
34378 set stage3-libcpp prev-libcpp ; \
34379 @CREATE_LINK_TO_DIR@
34380 @endif libcpp
34381 @if libiberty
34382 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
34383 mkdir stage4-libiberty; \
34384 set stage4-libiberty libiberty ; \
34385 @CREATE_LINK_TO_DIR@ ; \
34386 set stage3-libiberty prev-libiberty ; \
34387 @CREATE_LINK_TO_DIR@
34388 @endif libiberty
34389 @if zlib
34390 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
34391 mkdir stage4-zlib; \
34392 set stage4-zlib zlib ; \
34393 @CREATE_LINK_TO_DIR@ ; \
34394 set stage3-zlib prev-zlib ; \
34395 @CREATE_LINK_TO_DIR@
34396 @endif zlib
34398 stage4-end::
34399 @rm -f stage_current
34400 @if bfd
34401 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
34402 @UNDO_LINK_TO_DIR@ ; \
34403 set prev-bfd stage3-bfd ; \
34404 @UNDO_LINK_TO_DIR@
34405 @endif bfd
34406 @if opcodes
34407 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
34408 @UNDO_LINK_TO_DIR@ ; \
34409 set prev-opcodes stage3-opcodes ; \
34410 @UNDO_LINK_TO_DIR@
34411 @endif opcodes
34412 @if binutils
34413 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
34414 @UNDO_LINK_TO_DIR@ ; \
34415 set prev-binutils stage3-binutils ; \
34416 @UNDO_LINK_TO_DIR@
34417 @endif binutils
34418 @if gas
34419 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
34420 @UNDO_LINK_TO_DIR@ ; \
34421 set prev-gas stage3-gas ; \
34422 @UNDO_LINK_TO_DIR@
34423 @endif gas
34424 @if gcc
34425 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
34426 @UNDO_LINK_TO_DIR@ ; \
34427 set prev-gcc stage3-gcc ; \
34428 @UNDO_LINK_TO_DIR@
34429 @endif gcc
34430 @if intl
34431 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
34432 @UNDO_LINK_TO_DIR@ ; \
34433 set prev-intl stage3-intl ; \
34434 @UNDO_LINK_TO_DIR@
34435 @endif intl
34436 @if ld
34437 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
34438 @UNDO_LINK_TO_DIR@ ; \
34439 set prev-ld stage3-ld ; \
34440 @UNDO_LINK_TO_DIR@
34441 @endif ld
34442 @if libcpp
34443 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
34444 @UNDO_LINK_TO_DIR@ ; \
34445 set prev-libcpp stage3-libcpp ; \
34446 @UNDO_LINK_TO_DIR@
34447 @endif libcpp
34448 @if libiberty
34449 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
34450 @UNDO_LINK_TO_DIR@ ; \
34451 set prev-libiberty stage3-libiberty ; \
34452 @UNDO_LINK_TO_DIR@
34453 @endif libiberty
34454 @if zlib
34455 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
34456 @UNDO_LINK_TO_DIR@ ; \
34457 set prev-zlib stage3-zlib ; \
34458 @UNDO_LINK_TO_DIR@
34459 @endif zlib
34461 # Bubble a bugfix through all the stages up to stage 4. They
34462 # are remade, but not reconfigured. The next stage (if any) will not
34463 # be reconfigured as well.
34464 .PHONY: stage4-bubble
34465 stage4-bubble:: stage3-bubble
34466 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
34467 @if test -f stage4-lean || test -f stage3-lean ; then \
34468 echo Skipping rebuild of stage4 ; \
34469 else \
34470 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
34473 .PHONY: all-stage4 clean-stage4
34474 do-clean: clean-stage4
34476 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34477 # only possibility, but now it conflicts with no-bootstrap rules
34478 @if gcc-bootstrap
34480 compare3:
34481 @if test -f stage3-lean; then \
34482 echo Cannot compare object files as stage 3 was deleted. ; \
34483 exit 0 ; \
34484 fi; \
34485 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34486 @r=`${PWD_COMMAND}`; export r; \
34487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34488 rm -f .bad_compare ; \
34489 cd stage4-gcc; \
34490 files=`find . -name "*$(objext)" -print` ; \
34491 cd .. ; \
34492 for file in $${files} ; do \
34493 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
34494 @do_compare@ > /dev/null 2>&1; \
34495 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
34496 done ; \
34497 if [ -f .bad_compare ]; then \
34498 echo "Bootstrap comparison failure!"; \
34499 cat .bad_compare; \
34500 exit 1; \
34501 else \
34502 true; \
34503 fi ; \
34504 $(STAMP) compare3
34505 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
34509 .PHONY: bootstrap4
34510 bootstrap4: stage4-bubble compare3 all
34513 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34514 distclean-stage3:: distclean-stage4
34515 .PHONY: distclean-stage4
34516 distclean-stage4::
34517 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34518 rm -rf stage4-* compare3
34521 @endif gcc-bootstrap
34524 .PHONY: stageprofile-start stageprofile-end
34526 stageprofile-start::
34527 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34528 echo stageprofile > stage_current ; \
34529 echo stageprofile > stage_last; \
34530 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34531 @if bfd
34532 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
34533 mkdir stageprofile-bfd; \
34534 set stageprofile-bfd bfd ; \
34535 @CREATE_LINK_TO_DIR@ ; \
34536 set stage1-bfd prev-bfd ; \
34537 @CREATE_LINK_TO_DIR@
34538 @endif bfd
34539 @if opcodes
34540 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
34541 mkdir stageprofile-opcodes; \
34542 set stageprofile-opcodes opcodes ; \
34543 @CREATE_LINK_TO_DIR@ ; \
34544 set stage1-opcodes prev-opcodes ; \
34545 @CREATE_LINK_TO_DIR@
34546 @endif opcodes
34547 @if binutils
34548 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
34549 mkdir stageprofile-binutils; \
34550 set stageprofile-binutils binutils ; \
34551 @CREATE_LINK_TO_DIR@ ; \
34552 set stage1-binutils prev-binutils ; \
34553 @CREATE_LINK_TO_DIR@
34554 @endif binutils
34555 @if gas
34556 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
34557 mkdir stageprofile-gas; \
34558 set stageprofile-gas gas ; \
34559 @CREATE_LINK_TO_DIR@ ; \
34560 set stage1-gas prev-gas ; \
34561 @CREATE_LINK_TO_DIR@
34562 @endif gas
34563 @if gcc
34564 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
34565 mkdir stageprofile-gcc; \
34566 set stageprofile-gcc gcc ; \
34567 @CREATE_LINK_TO_DIR@ ; \
34568 set stage1-gcc prev-gcc ; \
34569 @CREATE_LINK_TO_DIR@
34570 @endif gcc
34571 @if intl
34572 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
34573 mkdir stageprofile-intl; \
34574 set stageprofile-intl intl ; \
34575 @CREATE_LINK_TO_DIR@ ; \
34576 set stage1-intl prev-intl ; \
34577 @CREATE_LINK_TO_DIR@
34578 @endif intl
34579 @if ld
34580 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
34581 mkdir stageprofile-ld; \
34582 set stageprofile-ld ld ; \
34583 @CREATE_LINK_TO_DIR@ ; \
34584 set stage1-ld prev-ld ; \
34585 @CREATE_LINK_TO_DIR@
34586 @endif ld
34587 @if libcpp
34588 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
34589 mkdir stageprofile-libcpp; \
34590 set stageprofile-libcpp libcpp ; \
34591 @CREATE_LINK_TO_DIR@ ; \
34592 set stage1-libcpp prev-libcpp ; \
34593 @CREATE_LINK_TO_DIR@
34594 @endif libcpp
34595 @if libiberty
34596 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
34597 mkdir stageprofile-libiberty; \
34598 set stageprofile-libiberty libiberty ; \
34599 @CREATE_LINK_TO_DIR@ ; \
34600 set stage1-libiberty prev-libiberty ; \
34601 @CREATE_LINK_TO_DIR@
34602 @endif libiberty
34603 @if zlib
34604 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
34605 mkdir stageprofile-zlib; \
34606 set stageprofile-zlib zlib ; \
34607 @CREATE_LINK_TO_DIR@ ; \
34608 set stage1-zlib prev-zlib ; \
34609 @CREATE_LINK_TO_DIR@
34610 @endif zlib
34612 stageprofile-end::
34613 @rm -f stage_current
34614 @if bfd
34615 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
34616 @UNDO_LINK_TO_DIR@ ; \
34617 set prev-bfd stage1-bfd ; \
34618 @UNDO_LINK_TO_DIR@
34619 @endif bfd
34620 @if opcodes
34621 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
34622 @UNDO_LINK_TO_DIR@ ; \
34623 set prev-opcodes stage1-opcodes ; \
34624 @UNDO_LINK_TO_DIR@
34625 @endif opcodes
34626 @if binutils
34627 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
34628 @UNDO_LINK_TO_DIR@ ; \
34629 set prev-binutils stage1-binutils ; \
34630 @UNDO_LINK_TO_DIR@
34631 @endif binutils
34632 @if gas
34633 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
34634 @UNDO_LINK_TO_DIR@ ; \
34635 set prev-gas stage1-gas ; \
34636 @UNDO_LINK_TO_DIR@
34637 @endif gas
34638 @if gcc
34639 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
34640 @UNDO_LINK_TO_DIR@ ; \
34641 set prev-gcc stage1-gcc ; \
34642 @UNDO_LINK_TO_DIR@
34643 @endif gcc
34644 @if intl
34645 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
34646 @UNDO_LINK_TO_DIR@ ; \
34647 set prev-intl stage1-intl ; \
34648 @UNDO_LINK_TO_DIR@
34649 @endif intl
34650 @if ld
34651 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
34652 @UNDO_LINK_TO_DIR@ ; \
34653 set prev-ld stage1-ld ; \
34654 @UNDO_LINK_TO_DIR@
34655 @endif ld
34656 @if libcpp
34657 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
34658 @UNDO_LINK_TO_DIR@ ; \
34659 set prev-libcpp stage1-libcpp ; \
34660 @UNDO_LINK_TO_DIR@
34661 @endif libcpp
34662 @if libiberty
34663 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
34664 @UNDO_LINK_TO_DIR@ ; \
34665 set prev-libiberty stage1-libiberty ; \
34666 @UNDO_LINK_TO_DIR@
34667 @endif libiberty
34668 @if zlib
34669 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
34670 @UNDO_LINK_TO_DIR@ ; \
34671 set prev-zlib stage1-zlib ; \
34672 @UNDO_LINK_TO_DIR@
34673 @endif zlib
34675 # Bubble a bugfix through all the stages up to stage profile. They
34676 # are remade, but not reconfigured. The next stage (if any) will not
34677 # be reconfigured as well.
34678 .PHONY: stageprofile-bubble
34679 stageprofile-bubble:: stage1-bubble
34680 @if test -f stageprofile-lean || test -f stage1-lean ; then \
34681 echo Skipping rebuild of stageprofile ; \
34682 else \
34683 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
34686 .PHONY: all-stageprofile clean-stageprofile
34687 do-clean: clean-stageprofile
34689 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34690 # only possibility, but now it conflicts with no-bootstrap rules
34691 @if gcc-bootstrap
34696 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34697 distclean-stage1:: distclean-stageprofile
34698 .PHONY: distclean-stageprofile
34699 distclean-stageprofile::
34700 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34701 rm -rf stageprofile-*
34704 @endif gcc-bootstrap
34707 .PHONY: stagefeedback-start stagefeedback-end
34709 stagefeedback-start::
34710 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34711 echo stagefeedback > stage_current ; \
34712 echo stagefeedback > stage_last; \
34713 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
34714 @if bfd
34715 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34716 mkdir stagefeedback-bfd; \
34717 set stagefeedback-bfd bfd ; \
34718 @CREATE_LINK_TO_DIR@ ; \
34719 set stageprofile-bfd prev-bfd ; \
34720 @CREATE_LINK_TO_DIR@
34721 @endif bfd
34722 @if opcodes
34723 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34724 mkdir stagefeedback-opcodes; \
34725 set stagefeedback-opcodes opcodes ; \
34726 @CREATE_LINK_TO_DIR@ ; \
34727 set stageprofile-opcodes prev-opcodes ; \
34728 @CREATE_LINK_TO_DIR@
34729 @endif opcodes
34730 @if binutils
34731 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34732 mkdir stagefeedback-binutils; \
34733 set stagefeedback-binutils binutils ; \
34734 @CREATE_LINK_TO_DIR@ ; \
34735 set stageprofile-binutils prev-binutils ; \
34736 @CREATE_LINK_TO_DIR@
34737 @endif binutils
34738 @if gas
34739 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34740 mkdir stagefeedback-gas; \
34741 set stagefeedback-gas gas ; \
34742 @CREATE_LINK_TO_DIR@ ; \
34743 set stageprofile-gas prev-gas ; \
34744 @CREATE_LINK_TO_DIR@
34745 @endif gas
34746 @if gcc
34747 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34748 mkdir stagefeedback-gcc; \
34749 set stagefeedback-gcc gcc ; \
34750 @CREATE_LINK_TO_DIR@ ; \
34751 set stageprofile-gcc prev-gcc ; \
34752 @CREATE_LINK_TO_DIR@
34753 @endif gcc
34754 @if intl
34755 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34756 mkdir stagefeedback-intl; \
34757 set stagefeedback-intl intl ; \
34758 @CREATE_LINK_TO_DIR@ ; \
34759 set stageprofile-intl prev-intl ; \
34760 @CREATE_LINK_TO_DIR@
34761 @endif intl
34762 @if ld
34763 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34764 mkdir stagefeedback-ld; \
34765 set stagefeedback-ld ld ; \
34766 @CREATE_LINK_TO_DIR@ ; \
34767 set stageprofile-ld prev-ld ; \
34768 @CREATE_LINK_TO_DIR@
34769 @endif ld
34770 @if libcpp
34771 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34772 mkdir stagefeedback-libcpp; \
34773 set stagefeedback-libcpp libcpp ; \
34774 @CREATE_LINK_TO_DIR@ ; \
34775 set stageprofile-libcpp prev-libcpp ; \
34776 @CREATE_LINK_TO_DIR@
34777 @endif libcpp
34778 @if libiberty
34779 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34780 mkdir stagefeedback-libiberty; \
34781 set stagefeedback-libiberty libiberty ; \
34782 @CREATE_LINK_TO_DIR@ ; \
34783 set stageprofile-libiberty prev-libiberty ; \
34784 @CREATE_LINK_TO_DIR@
34785 @endif libiberty
34786 @if zlib
34787 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34788 mkdir stagefeedback-zlib; \
34789 set stagefeedback-zlib zlib ; \
34790 @CREATE_LINK_TO_DIR@ ; \
34791 set stageprofile-zlib prev-zlib ; \
34792 @CREATE_LINK_TO_DIR@
34793 @endif zlib
34795 stagefeedback-end::
34796 @rm -f stage_current
34797 @if bfd
34798 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34799 @UNDO_LINK_TO_DIR@ ; \
34800 set prev-bfd stageprofile-bfd ; \
34801 @UNDO_LINK_TO_DIR@
34802 @endif bfd
34803 @if opcodes
34804 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34805 @UNDO_LINK_TO_DIR@ ; \
34806 set prev-opcodes stageprofile-opcodes ; \
34807 @UNDO_LINK_TO_DIR@
34808 @endif opcodes
34809 @if binutils
34810 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34811 @UNDO_LINK_TO_DIR@ ; \
34812 set prev-binutils stageprofile-binutils ; \
34813 @UNDO_LINK_TO_DIR@
34814 @endif binutils
34815 @if gas
34816 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34817 @UNDO_LINK_TO_DIR@ ; \
34818 set prev-gas stageprofile-gas ; \
34819 @UNDO_LINK_TO_DIR@
34820 @endif gas
34821 @if gcc
34822 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34823 @UNDO_LINK_TO_DIR@ ; \
34824 set prev-gcc stageprofile-gcc ; \
34825 @UNDO_LINK_TO_DIR@
34826 @endif gcc
34827 @if intl
34828 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34829 @UNDO_LINK_TO_DIR@ ; \
34830 set prev-intl stageprofile-intl ; \
34831 @UNDO_LINK_TO_DIR@
34832 @endif intl
34833 @if ld
34834 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34835 @UNDO_LINK_TO_DIR@ ; \
34836 set prev-ld stageprofile-ld ; \
34837 @UNDO_LINK_TO_DIR@
34838 @endif ld
34839 @if libcpp
34840 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34841 @UNDO_LINK_TO_DIR@ ; \
34842 set prev-libcpp stageprofile-libcpp ; \
34843 @UNDO_LINK_TO_DIR@
34844 @endif libcpp
34845 @if libiberty
34846 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34847 @UNDO_LINK_TO_DIR@ ; \
34848 set prev-libiberty stageprofile-libiberty ; \
34849 @UNDO_LINK_TO_DIR@
34850 @endif libiberty
34851 @if zlib
34852 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34853 @UNDO_LINK_TO_DIR@ ; \
34854 set prev-zlib stageprofile-zlib ; \
34855 @UNDO_LINK_TO_DIR@
34856 @endif zlib
34858 # Bubble a bugfix through all the stages up to stage feedback. They
34859 # are remade, but not reconfigured. The next stage (if any) will not
34860 # be reconfigured as well.
34861 .PHONY: stagefeedback-bubble
34862 stagefeedback-bubble:: stageprofile-bubble
34863 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
34864 echo Skipping rebuild of stagefeedback ; \
34865 else \
34866 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34869 .PHONY: all-stagefeedback clean-stagefeedback
34870 do-clean: clean-stagefeedback
34872 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34873 # only possibility, but now it conflicts with no-bootstrap rules
34874 @if gcc-bootstrap
34878 .PHONY: profiledbootstrap
34879 profiledbootstrap: stagefeedback-bubble all
34882 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34883 distclean-stageprofile:: distclean-stagefeedback
34884 .PHONY: distclean-stagefeedback
34885 distclean-stagefeedback::
34886 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34887 rm -rf stagefeedback-*
34890 @endif gcc-bootstrap
34894 stageprofile-end::
34895 $(MAKE) distclean-stagefeedback
34897 stagefeedback-start::
34898 @r=`${PWD_COMMAND}`; export r; \
34899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34900 for i in prev-*; do \
34901 j=`echo $$i | sed s/^prev-//` ; \
34902 cd $$r/$$i && \
34903 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
34904 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
34905 done
34907 @if gcc-bootstrap
34908 NOTPARALLEL = .NOTPARALLEL
34909 $(NOTPARALLEL):
34910 do-distclean: distclean-stage1
34911 @endif gcc-bootstrap
34913 # --------------------------------------
34914 # Dependencies between different modules
34915 # --------------------------------------
34917 # Generic dependencies for target modules on host stuff, especially gcc
34919 configure-target-libstdc++-v3: maybe-all-gcc
34921 configure-target-libmudflap: maybe-all-gcc
34923 configure-target-libssp: maybe-all-gcc
34925 configure-target-newlib: maybe-all-gcc
34927 configure-target-libgfortran: maybe-all-gcc
34929 configure-target-libobjc: maybe-all-gcc
34931 configure-target-libtermcap: maybe-all-gcc
34933 configure-target-winsup: maybe-all-gcc
34935 configure-target-libgloss: maybe-all-gcc
34937 configure-target-libiberty: maybe-all-gcc
34939 configure-target-gperf: maybe-all-gcc
34941 configure-target-examples: maybe-all-gcc
34943 configure-target-libffi: maybe-all-gcc
34945 configure-target-libjava: maybe-all-gcc
34947 configure-target-zlib: maybe-all-gcc
34949 configure-target-boehm-gc: maybe-all-gcc
34951 configure-target-qthreads: maybe-all-gcc
34953 configure-target-rda: maybe-all-gcc
34955 configure-target-libada: maybe-all-gcc
34959 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34961 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34962 configure-target-gperf: maybe-all-target-libstdc++-v3
34964 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34966 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34968 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34970 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34971 configure-target-libjava: maybe-all-target-libstdc++-v3
34973 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34975 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34977 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34979 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34981 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34983 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34985 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34987 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34990 # There are two types of dependencies here: 'hard' dependencies, where one
34991 # module simply won't build without the other; and 'soft' dependencies, where
34992 # if the depended-on module is missing, the depending module will do without
34993 # or find a substitute somewhere (perhaps installed). Soft dependencies
34994 # are made here to depend on a 'maybe-' target. If you're not sure,
34995 # it's safer to use a soft dependency.
35002 # With all the machinery above in place, it is pretty easy to generate
35003 # dependencies. Host dependencies are a bit more complex because we have
35004 # to check for bootstrap/prebootstrap dependencies. To resolve
35005 # prebootstrap dependencies, prebootstrap modules are gathered in
35006 # a hash table.
35007 all-build-bison: maybe-all-build-texinfo
35008 all-build-byacc: maybe-all-build-texinfo
35009 all-build-flex: maybe-all-build-texinfo
35010 all-build-flex: maybe-all-build-bison
35011 all-build-flex: maybe-all-build-byacc
35012 all-build-flex: maybe-all-build-m4
35013 all-build-libiberty: maybe-all-build-texinfo
35014 all-build-m4: maybe-all-build-texinfo
35015 all-build-fixincludes: maybe-all-build-libiberty
35016 configure-gcc: maybe-configure-intl
35018 configure-stage1-gcc: maybe-configure-stage1-intl
35019 configure-stage2-gcc: maybe-configure-stage2-intl
35020 configure-stage3-gcc: maybe-configure-stage3-intl
35021 configure-stage4-gcc: maybe-configure-stage4-intl
35022 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
35023 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
35024 configure-gcc: maybe-all-binutils
35026 configure-stage1-gcc: maybe-all-stage1-binutils
35027 configure-stage2-gcc: maybe-all-stage2-binutils
35028 configure-stage3-gcc: maybe-all-stage3-binutils
35029 configure-stage4-gcc: maybe-all-stage4-binutils
35030 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
35031 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35032 configure-gcc: maybe-all-gas
35034 configure-stage1-gcc: maybe-all-stage1-gas
35035 configure-stage2-gcc: maybe-all-stage2-gas
35036 configure-stage3-gcc: maybe-all-stage3-gas
35037 configure-stage4-gcc: maybe-all-stage4-gas
35038 configure-stageprofile-gcc: maybe-all-stageprofile-gas
35039 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
35040 configure-gcc: maybe-all-ld
35042 configure-stage1-gcc: maybe-all-stage1-ld
35043 configure-stage2-gcc: maybe-all-stage2-ld
35044 configure-stage3-gcc: maybe-all-stage3-ld
35045 configure-stage4-gcc: maybe-all-stage4-ld
35046 configure-stageprofile-gcc: maybe-all-stageprofile-ld
35047 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
35048 all-gcc: all-libiberty
35050 all-stage1-gcc: all-stage1-libiberty
35051 all-stage2-gcc: all-stage2-libiberty
35052 all-stage3-gcc: all-stage3-libiberty
35053 all-stage4-gcc: all-stage4-libiberty
35054 all-stageprofile-gcc: all-stageprofile-libiberty
35055 all-stagefeedback-gcc: all-stagefeedback-libiberty
35056 all-gcc: maybe-all-intl
35058 all-stage1-gcc: maybe-all-stage1-intl
35059 all-stage2-gcc: maybe-all-stage2-intl
35060 all-stage3-gcc: maybe-all-stage3-intl
35061 all-stage4-gcc: maybe-all-stage4-intl
35062 all-stageprofile-gcc: maybe-all-stageprofile-intl
35063 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35064 all-gcc: maybe-all-build-texinfo
35066 all-stage1-gcc: maybe-all-build-texinfo
35067 all-stage2-gcc: maybe-all-build-texinfo
35068 all-stage3-gcc: maybe-all-build-texinfo
35069 all-stage4-gcc: maybe-all-build-texinfo
35070 all-stageprofile-gcc: maybe-all-build-texinfo
35071 all-stagefeedback-gcc: maybe-all-build-texinfo
35072 all-prebootstrap: maybe-all-build-texinfo
35073 all-gcc: maybe-all-build-bison
35075 all-stage1-gcc: maybe-all-build-bison
35076 all-stage2-gcc: maybe-all-build-bison
35077 all-stage3-gcc: maybe-all-build-bison
35078 all-stage4-gcc: maybe-all-build-bison
35079 all-stageprofile-gcc: maybe-all-build-bison
35080 all-stagefeedback-gcc: maybe-all-build-bison
35081 all-prebootstrap: maybe-all-build-bison
35082 all-gcc: maybe-all-build-byacc
35084 all-stage1-gcc: maybe-all-build-byacc
35085 all-stage2-gcc: maybe-all-build-byacc
35086 all-stage3-gcc: maybe-all-build-byacc
35087 all-stage4-gcc: maybe-all-build-byacc
35088 all-stageprofile-gcc: maybe-all-build-byacc
35089 all-stagefeedback-gcc: maybe-all-build-byacc
35090 all-prebootstrap: maybe-all-build-byacc
35091 all-gcc: maybe-all-build-flex
35093 all-stage1-gcc: maybe-all-build-flex
35094 all-stage2-gcc: maybe-all-build-flex
35095 all-stage3-gcc: maybe-all-build-flex
35096 all-stage4-gcc: maybe-all-build-flex
35097 all-stageprofile-gcc: maybe-all-build-flex
35098 all-stagefeedback-gcc: maybe-all-build-flex
35099 all-prebootstrap: maybe-all-build-flex
35100 all-gcc: maybe-all-build-libiberty
35102 all-stage1-gcc: maybe-all-build-libiberty
35103 all-stage2-gcc: maybe-all-build-libiberty
35104 all-stage3-gcc: maybe-all-build-libiberty
35105 all-stage4-gcc: maybe-all-build-libiberty
35106 all-stageprofile-gcc: maybe-all-build-libiberty
35107 all-stagefeedback-gcc: maybe-all-build-libiberty
35108 all-prebootstrap: maybe-all-build-libiberty
35109 all-gcc: maybe-all-build-fixincludes
35111 all-stage1-gcc: maybe-all-build-fixincludes
35112 all-stage2-gcc: maybe-all-build-fixincludes
35113 all-stage3-gcc: maybe-all-build-fixincludes
35114 all-stage4-gcc: maybe-all-build-fixincludes
35115 all-stageprofile-gcc: maybe-all-build-fixincludes
35116 all-stagefeedback-gcc: maybe-all-build-fixincludes
35117 all-prebootstrap: maybe-all-build-fixincludes
35118 all-gcc: maybe-all-zlib
35120 all-stage1-gcc: maybe-all-stage1-zlib
35121 all-stage2-gcc: maybe-all-stage2-zlib
35122 all-stage3-gcc: maybe-all-stage3-zlib
35123 all-stage4-gcc: maybe-all-stage4-zlib
35124 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35125 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35126 all-gcc: all-libcpp
35128 all-stage1-gcc: all-stage1-libcpp
35129 all-stage2-gcc: all-stage2-libcpp
35130 all-stage3-gcc: all-stage3-libcpp
35131 all-stage4-gcc: all-stage4-libcpp
35132 all-stageprofile-gcc: all-stageprofile-libcpp
35133 all-stagefeedback-gcc: all-stagefeedback-libcpp
35134 all-gcc: maybe-all-libiberty
35136 all-stage1-gcc: maybe-all-stage1-libiberty
35137 all-stage2-gcc: maybe-all-stage2-libiberty
35138 all-stage3-gcc: maybe-all-stage3-libiberty
35139 all-stage4-gcc: maybe-all-stage4-libiberty
35140 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35141 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35142 all-gcc: maybe-all-fixincludes
35143 install-gcc: maybe-install-fixincludes
35144 configure-libcpp: configure-libiberty
35146 configure-stage1-libcpp: configure-stage1-libiberty
35147 configure-stage2-libcpp: configure-stage2-libiberty
35148 configure-stage3-libcpp: configure-stage3-libiberty
35149 configure-stage4-libcpp: configure-stage4-libiberty
35150 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35151 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35152 configure-libcpp: maybe-configure-intl
35154 configure-stage1-libcpp: maybe-configure-stage1-intl
35155 configure-stage2-libcpp: maybe-configure-stage2-intl
35156 configure-stage3-libcpp: maybe-configure-stage3-intl
35157 configure-stage4-libcpp: maybe-configure-stage4-intl
35158 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35159 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35160 all-libcpp: all-libiberty
35162 all-stage1-libcpp: all-stage1-libiberty
35163 all-stage2-libcpp: all-stage2-libiberty
35164 all-stage3-libcpp: all-stage3-libiberty
35165 all-stage4-libcpp: all-stage4-libiberty
35166 all-stageprofile-libcpp: all-stageprofile-libiberty
35167 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35168 all-libcpp: maybe-all-intl
35170 all-stage1-libcpp: maybe-all-stage1-intl
35171 all-stage2-libcpp: maybe-all-stage2-intl
35172 all-stage3-libcpp: maybe-all-stage3-intl
35173 all-stage4-libcpp: maybe-all-stage4-intl
35174 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35175 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35176 all-fixincludes: maybe-all-libiberty
35177 all-gnattools: maybe-all-target-libada
35178 configure-gdb: maybe-configure-itcl
35179 configure-gdb: maybe-configure-tcl
35180 configure-gdb: maybe-configure-tk
35181 configure-gdb: maybe-configure-sim
35182 all-gdb: maybe-all-libiberty
35183 all-gdb: maybe-all-opcodes
35184 all-gdb: maybe-all-bfd
35185 all-gdb: maybe-all-readline
35186 all-gdb: maybe-all-build-bison
35187 all-gdb: maybe-all-build-byacc
35188 all-gdb: maybe-all-sim
35189 install-gdb: maybe-install-tcl
35190 install-gdb: maybe-install-tk
35191 install-gdb: maybe-install-itcl
35192 install-gdb: maybe-install-libgui
35193 configure-libgui: maybe-configure-tcl
35194 configure-libgui: maybe-configure-tk
35195 all-libgui: maybe-all-tcl
35196 all-libgui: maybe-all-tk
35197 all-libgui: maybe-all-itcl
35198 configure-bfd: configure-libiberty
35200 configure-stage1-bfd: configure-stage1-libiberty
35201 configure-stage2-bfd: configure-stage2-libiberty
35202 configure-stage3-bfd: configure-stage3-libiberty
35203 configure-stage4-bfd: configure-stage4-libiberty
35204 configure-stageprofile-bfd: configure-stageprofile-libiberty
35205 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35206 all-bfd: maybe-all-libiberty
35208 all-stage1-bfd: maybe-all-stage1-libiberty
35209 all-stage2-bfd: maybe-all-stage2-libiberty
35210 all-stage3-bfd: maybe-all-stage3-libiberty
35211 all-stage4-bfd: maybe-all-stage4-libiberty
35212 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35213 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35214 all-bfd: maybe-all-intl
35216 all-stage1-bfd: maybe-all-stage1-intl
35217 all-stage2-bfd: maybe-all-stage2-intl
35218 all-stage3-bfd: maybe-all-stage3-intl
35219 all-stage4-bfd: maybe-all-stage4-intl
35220 all-stageprofile-bfd: maybe-all-stageprofile-intl
35221 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35222 all-binutils: maybe-all-libiberty
35224 all-stage1-binutils: maybe-all-stage1-libiberty
35225 all-stage2-binutils: maybe-all-stage2-libiberty
35226 all-stage3-binutils: maybe-all-stage3-libiberty
35227 all-stage4-binutils: maybe-all-stage4-libiberty
35228 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35229 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35230 all-binutils: maybe-all-opcodes
35232 all-stage1-binutils: maybe-all-stage1-opcodes
35233 all-stage2-binutils: maybe-all-stage2-opcodes
35234 all-stage3-binutils: maybe-all-stage3-opcodes
35235 all-stage4-binutils: maybe-all-stage4-opcodes
35236 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35237 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35238 all-binutils: maybe-all-bfd
35240 all-stage1-binutils: maybe-all-stage1-bfd
35241 all-stage2-binutils: maybe-all-stage2-bfd
35242 all-stage3-binutils: maybe-all-stage3-bfd
35243 all-stage4-binutils: maybe-all-stage4-bfd
35244 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35245 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35246 all-binutils: maybe-all-build-flex
35248 all-stage1-binutils: maybe-all-build-flex
35249 all-stage2-binutils: maybe-all-build-flex
35250 all-stage3-binutils: maybe-all-build-flex
35251 all-stage4-binutils: maybe-all-build-flex
35252 all-stageprofile-binutils: maybe-all-build-flex
35253 all-stagefeedback-binutils: maybe-all-build-flex
35254 all-prebootstrap: maybe-all-build-flex
35255 all-binutils: maybe-all-build-bison
35257 all-stage1-binutils: maybe-all-build-bison
35258 all-stage2-binutils: maybe-all-build-bison
35259 all-stage3-binutils: maybe-all-build-bison
35260 all-stage4-binutils: maybe-all-build-bison
35261 all-stageprofile-binutils: maybe-all-build-bison
35262 all-stagefeedback-binutils: maybe-all-build-bison
35263 all-prebootstrap: maybe-all-build-bison
35264 all-binutils: maybe-all-build-byacc
35266 all-stage1-binutils: maybe-all-build-byacc
35267 all-stage2-binutils: maybe-all-build-byacc
35268 all-stage3-binutils: maybe-all-build-byacc
35269 all-stage4-binutils: maybe-all-build-byacc
35270 all-stageprofile-binutils: maybe-all-build-byacc
35271 all-stagefeedback-binutils: maybe-all-build-byacc
35272 all-prebootstrap: maybe-all-build-byacc
35273 all-binutils: maybe-all-intl
35275 all-stage1-binutils: maybe-all-stage1-intl
35276 all-stage2-binutils: maybe-all-stage2-intl
35277 all-stage3-binutils: maybe-all-stage3-intl
35278 all-stage4-binutils: maybe-all-stage4-intl
35279 all-stageprofile-binutils: maybe-all-stageprofile-intl
35280 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35281 install-binutils: maybe-install-opcodes
35282 install-opcodes: maybe-install-bfd
35283 all-gas: maybe-all-libiberty
35285 all-stage1-gas: maybe-all-stage1-libiberty
35286 all-stage2-gas: maybe-all-stage2-libiberty
35287 all-stage3-gas: maybe-all-stage3-libiberty
35288 all-stage4-gas: maybe-all-stage4-libiberty
35289 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35290 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35291 all-gas: maybe-all-opcodes
35293 all-stage1-gas: maybe-all-stage1-opcodes
35294 all-stage2-gas: maybe-all-stage2-opcodes
35295 all-stage3-gas: maybe-all-stage3-opcodes
35296 all-stage4-gas: maybe-all-stage4-opcodes
35297 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35298 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35299 all-gas: maybe-all-bfd
35301 all-stage1-gas: maybe-all-stage1-bfd
35302 all-stage2-gas: maybe-all-stage2-bfd
35303 all-stage3-gas: maybe-all-stage3-bfd
35304 all-stage4-gas: maybe-all-stage4-bfd
35305 all-stageprofile-gas: maybe-all-stageprofile-bfd
35306 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35307 all-gas: maybe-all-intl
35309 all-stage1-gas: maybe-all-stage1-intl
35310 all-stage2-gas: maybe-all-stage2-intl
35311 all-stage3-gas: maybe-all-stage3-intl
35312 all-stage4-gas: maybe-all-stage4-intl
35313 all-stageprofile-gas: maybe-all-stageprofile-intl
35314 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35315 all-gprof: maybe-all-libiberty
35316 all-gprof: maybe-all-bfd
35317 all-gprof: maybe-all-opcodes
35318 all-gprof: maybe-all-intl
35319 all-ld: maybe-all-libiberty
35321 all-stage1-ld: maybe-all-stage1-libiberty
35322 all-stage2-ld: maybe-all-stage2-libiberty
35323 all-stage3-ld: maybe-all-stage3-libiberty
35324 all-stage4-ld: maybe-all-stage4-libiberty
35325 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35326 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35327 all-ld: maybe-all-bfd
35329 all-stage1-ld: maybe-all-stage1-bfd
35330 all-stage2-ld: maybe-all-stage2-bfd
35331 all-stage3-ld: maybe-all-stage3-bfd
35332 all-stage4-ld: maybe-all-stage4-bfd
35333 all-stageprofile-ld: maybe-all-stageprofile-bfd
35334 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35335 all-ld: maybe-all-opcodes
35337 all-stage1-ld: maybe-all-stage1-opcodes
35338 all-stage2-ld: maybe-all-stage2-opcodes
35339 all-stage3-ld: maybe-all-stage3-opcodes
35340 all-stage4-ld: maybe-all-stage4-opcodes
35341 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35342 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35343 all-ld: maybe-all-build-bison
35345 all-stage1-ld: maybe-all-build-bison
35346 all-stage2-ld: maybe-all-build-bison
35347 all-stage3-ld: maybe-all-build-bison
35348 all-stage4-ld: maybe-all-build-bison
35349 all-stageprofile-ld: maybe-all-build-bison
35350 all-stagefeedback-ld: maybe-all-build-bison
35351 all-prebootstrap: maybe-all-build-bison
35352 all-ld: maybe-all-build-byacc
35354 all-stage1-ld: maybe-all-build-byacc
35355 all-stage2-ld: maybe-all-build-byacc
35356 all-stage3-ld: maybe-all-build-byacc
35357 all-stage4-ld: maybe-all-build-byacc
35358 all-stageprofile-ld: maybe-all-build-byacc
35359 all-stagefeedback-ld: maybe-all-build-byacc
35360 all-prebootstrap: maybe-all-build-byacc
35361 all-ld: maybe-all-build-flex
35363 all-stage1-ld: maybe-all-build-flex
35364 all-stage2-ld: maybe-all-build-flex
35365 all-stage3-ld: maybe-all-build-flex
35366 all-stage4-ld: maybe-all-build-flex
35367 all-stageprofile-ld: maybe-all-build-flex
35368 all-stagefeedback-ld: maybe-all-build-flex
35369 all-prebootstrap: maybe-all-build-flex
35370 all-ld: maybe-all-intl
35372 all-stage1-ld: maybe-all-stage1-intl
35373 all-stage2-ld: maybe-all-stage2-intl
35374 all-stage3-ld: maybe-all-stage3-intl
35375 all-stage4-ld: maybe-all-stage4-intl
35376 all-stageprofile-ld: maybe-all-stageprofile-intl
35377 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35378 all-opcodes: maybe-all-bfd
35380 all-stage1-opcodes: maybe-all-stage1-bfd
35381 all-stage2-opcodes: maybe-all-stage2-bfd
35382 all-stage3-opcodes: maybe-all-stage3-bfd
35383 all-stage4-opcodes: maybe-all-stage4-bfd
35384 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35385 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35386 all-opcodes: maybe-all-libiberty
35388 all-stage1-opcodes: maybe-all-stage1-libiberty
35389 all-stage2-opcodes: maybe-all-stage2-libiberty
35390 all-stage3-opcodes: maybe-all-stage3-libiberty
35391 all-stage4-opcodes: maybe-all-stage4-libiberty
35392 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35393 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35394 all-dejagnu: maybe-all-tcl
35395 all-dejagnu: maybe-all-expect
35396 all-dejagnu: maybe-all-tk
35397 configure-expect: maybe-configure-tcl
35398 configure-expect: maybe-configure-tk
35399 all-expect: maybe-all-tcl
35400 all-expect: maybe-all-tk
35401 configure-itcl: maybe-configure-tcl
35402 configure-itcl: maybe-configure-tk
35403 all-itcl: maybe-all-tcl
35404 all-itcl: maybe-all-tk
35405 install-itcl: maybe-install-tcl
35406 configure-tk: maybe-configure-tcl
35407 all-tk: maybe-all-tcl
35408 all-sid: maybe-all-libiberty
35409 all-sid: maybe-all-bfd
35410 all-sid: maybe-all-opcodes
35411 all-sid: maybe-all-tcl
35412 all-sid: maybe-all-tk
35413 install-sid: maybe-install-tcl
35414 install-sid: maybe-install-tk
35415 all-sim: maybe-all-libiberty
35416 all-sim: maybe-all-bfd
35417 all-sim: maybe-all-opcodes
35418 all-sim: maybe-all-readline
35419 all-sim: maybe-configure-gdb
35420 all-fastjar: maybe-all-zlib
35421 all-fastjar: maybe-all-build-texinfo
35422 all-fastjar: maybe-all-libiberty
35423 all-autoconf: maybe-all-m4
35424 all-autoconf: maybe-all-build-texinfo
35425 all-automake: maybe-all-m4
35426 all-automake: maybe-all-build-texinfo
35427 all-automake: maybe-all-autoconf
35428 all-bison: maybe-all-intl
35429 all-bison: maybe-all-build-texinfo
35430 all-diff: maybe-all-intl
35431 all-diff: maybe-all-build-texinfo
35432 all-fileutils: maybe-all-intl
35433 all-fileutils: maybe-all-build-texinfo
35434 all-flex: maybe-all-build-bison
35435 all-flex: maybe-all-build-byacc
35436 all-flex: maybe-all-intl
35437 all-flex: maybe-all-m4
35438 all-flex: maybe-all-build-texinfo
35439 all-gzip: maybe-all-intl
35440 all-gzip: maybe-all-zlib
35441 all-gzip: maybe-all-build-texinfo
35442 all-hello: maybe-all-intl
35443 all-hello: maybe-all-build-texinfo
35444 all-m4: maybe-all-intl
35445 all-m4: maybe-all-build-texinfo
35446 all-make: maybe-all-intl
35447 all-make: maybe-all-build-texinfo
35448 all-patch: maybe-all-build-texinfo
35449 all-make: maybe-all-build-texinfo
35450 all-prms: maybe-all-libiberty
35451 all-recode: maybe-all-build-texinfo
35452 all-sed: maybe-all-build-texinfo
35453 all-send-pr: maybe-all-prms
35454 all-tar: maybe-all-build-texinfo
35455 all-uudecode: maybe-all-build-texinfo
35456 configure-target-boehm-gc: maybe-configure-target-qthreads
35457 configure-target-fastjar: maybe-configure-target-zlib
35458 all-target-fastjar: maybe-all-target-zlib
35459 all-target-fastjar: maybe-all-target-libiberty
35460 configure-target-libjava: maybe-configure-target-zlib
35461 configure-target-libjava: maybe-configure-target-boehm-gc
35462 configure-target-libjava: maybe-configure-target-qthreads
35463 configure-target-libjava: maybe-configure-target-libffi
35464 all-target-libjava: maybe-all-fastjar
35465 all-target-libjava: maybe-all-target-zlib
35466 all-target-libjava: maybe-all-target-boehm-gc
35467 all-target-libjava: maybe-all-target-qthreads
35468 all-target-libjava: maybe-all-target-libffi
35469 all-target-libobjc: maybe-all-target-libiberty
35470 all-target-libstdc++-v3: maybe-all-target-libiberty
35471 all-target-libgloss: maybe-configure-target-newlib
35472 all-target-winsup: maybe-all-target-libiberty
35473 all-target-winsup: maybe-all-target-libtermcap
35476 # Non-toplevel bootstrap rules must depend on several packages, to be built
35477 # before gcc. Another wart that will go away, hopefully soon.
35478 @if gcc-no-bootstrap
35480 all-prebootstrap: maybe-all-bfd
35481 all-prebootstrap: maybe-all-opcodes
35482 all-prebootstrap: maybe-all-binutils
35483 all-prebootstrap: maybe-all-gas
35484 all-prebootstrap: maybe-all-intl
35485 all-prebootstrap: maybe-all-ld
35486 all-prebootstrap: maybe-all-libcpp
35487 all-prebootstrap: maybe-all-libiberty
35488 all-prebootstrap: maybe-all-zlib
35489 @endif gcc-no-bootstrap
35491 GDB_TK = @GDB_TK@
35492 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35494 # Serialization dependencies. Host configures don't work well in parallel to
35495 # each other, due to contention over config.cache. Target configures and
35496 # build configures are similar.
35497 @serialization_dependencies@
35499 # --------------------------------
35500 # Regenerating top level configury
35501 # --------------------------------
35503 # Multilib.out tells target dirs what multilibs they should build.
35504 # There is really only one copy. We use the 'timestamp' method to
35505 # work around various timestamp bugs on some systems.
35506 # We use move-if-change so that it's only considered updated when it
35507 # actually changes, because it has to depend on a phony target.
35508 multilib.out: maybe-all-gcc
35509 @r=`${PWD_COMMAND}`; export r; \
35510 echo "Checking multilib configuration..."; \
35511 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35512 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35514 # Rebuilding Makefile.in, using autogen.
35515 AUTOGEN = autogen
35516 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35517 cd $(srcdir) && $(AUTOGEN) Makefile.def
35519 # Rebuilding Makefile.
35520 Makefile: $(srcdir)/Makefile.in config.status
35521 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35523 config.status: configure
35524 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35526 # Rebuilding configure.
35527 AUTOCONF = autoconf
35528 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35529 cd $(srcdir) && $(AUTOCONF)
35531 # ------------------------------
35532 # Special directives to GNU Make
35533 # ------------------------------
35535 # Don't pass command-line variables to submakes.
35536 .NOEXPORT:
35537 MAKEOVERRIDES=
35539 # end of Makefile.in