2005-10-28 Paul Brook <paul@codesourcery.com>
[binutils.git] / Makefile.in
blob0344ad3ae7070770d4df13cf25fa3309e139ea63
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 @if gcc-bootstrap
159 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
160 @endif gcc-bootstrap
161 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
163 # Similar, for later GCC stages.
164 POSTSTAGE1_HOST_EXPORTS = \
165 $(HOST_EXPORTS) \
166 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
167 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
168 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
169 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
170 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
171 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
173 # This is set by the configure script to the list of directories which
174 # should be built using the target tools.
175 TARGET_CONFIGDIRS = @target_configdirs@
176 # Target libraries are put under this directory:
177 TARGET_SUBDIR = @target_subdir@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the target.
180 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
181 # This is the list of variables to export in the environment when
182 # configuring subdirectories for the host system.
183 BASE_TARGET_EXPORTS = \
184 $(BASE_EXPORTS) \
185 AR="$(AR_FOR_TARGET)"; export AR; \
186 AS="$(AS_FOR_TARGET)"; export AS; \
187 CC="$(CC_FOR_TARGET)"; export CC; \
188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
189 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
190 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
192 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
193 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
194 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
195 LD="$(LD_FOR_TARGET)"; export LD; \
196 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
197 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
198 NM="$(NM_FOR_TARGET)"; export NM; \
199 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
200 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
201 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
202 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
203 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
205 RAW_CXX_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
208 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
210 NORMAL_TARGET_EXPORTS = \
211 $(BASE_TARGET_EXPORTS) \
212 CXX="$(CXX_FOR_TARGET)"; export CXX;
214 # Where to find GMP
215 HOST_GMPLIBS = @gmplibs@
216 HOST_GMPINC = @gmpinc@
218 # ----------------------------------------------
219 # Programs producing files for the BUILD machine
220 # ----------------------------------------------
222 SHELL = @config_shell@
224 # pwd command to use. Allow user to override default by setting PWDCMD in
225 # the environment to account for automounters. The make variable must not
226 # be called PWDCMD, otherwise the value set here is passed to make
227 # subprocesses and overrides the setting from the user's environment.
228 # Don't use PWD since it is a common shell environment variable and we
229 # don't want to corrupt it.
230 PWD_COMMAND = $${PWDCMD-pwd}
232 # compilers to use to create programs which must be run in the build
233 # environment.
234 CC_FOR_BUILD = @CC_FOR_BUILD@
235 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
237 CXX_FOR_BUILD = $(CXX)
239 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BUILD_PREFIX = @BUILD_PREFIX@
242 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
244 # Flags to pass to stage2 and later makes. They are defined
245 # here so that they can be overridden by Makefile fragments.
246 BOOT_CFLAGS= -g -O2
248 CONFIGURED_BISON = @CONFIGURED_BISON@
249 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
250 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
251 else \
252 echo ${CONFIGURED_BISON} ; \
255 CONFIGURED_YACC = @CONFIGURED_YACC@
256 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
258 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
260 else \
261 echo ${CONFIGURED_YACC} ; \
264 CONFIGURED_FLEX = @CONFIGURED_FLEX@
265 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_FLEX} ; fi`
269 CONFIGURED_LEX = @CONFIGURED_LEX@
270 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
272 else echo ${CONFIGURED_LEX} ; fi`
274 CONFIGURED_M4 = @CONFIGURED_M4@
275 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
276 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
277 else echo ${CONFIGURED_M4} ; fi`
279 # For an installed makeinfo, we require it to be from texinfo 4.2 or
280 # higher, else we use the "missing" dummy. We also pass the subdirectory
281 # makeinfo even if only the Makefile is there, because Texinfo builds its
282 # manual when made, and it requires its own version.
283 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
284 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
286 else if (${CONFIGURED_MAKEINFO} --version \
287 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
288 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
290 # This just becomes part of the MAKEINFO definition passed down to
291 # sub-makes. It lets flags be given on the command line while still
292 # using the makeinfo from the object tree.
293 # (Default to avoid splitting info files by setting the threshold high.)
294 MAKEINFOFLAGS = --split-size=5000000
296 # FIXME: expect may become a build tool?
297 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
298 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
299 else echo expect ; fi`
301 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
302 then echo $$s/dejagnu/runtest ; \
303 else echo runtest ; fi`
305 # ---------------------------------------------
306 # Programs producing files for the HOST machine
307 # ---------------------------------------------
309 AS = @AS@
311 AR = @AR@
312 AR_FLAGS = rc
314 CC = @CC@
315 CFLAGS = @CFLAGS@
316 LIBCFLAGS = $(CFLAGS)
318 CXX = @CXX@
319 CXXFLAGS = @CXXFLAGS@
320 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
322 DLLTOOL = @DLLTOOL@
324 NM = @NM@
326 LD = @LD@
327 LDFLAGS =
329 RANLIB = @RANLIB@
331 WINDRES = @WINDRES@
333 PICFLAG =
335 # -----------------------------------------------
336 # Programs producing files for the TARGET machine
337 # -----------------------------------------------
339 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
341 AR_FOR_TARGET=@AR_FOR_TARGET@
342 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
343 USUAL_AR_FOR_TARGET = ` \
344 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
345 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
346 else \
347 if [ '$(host)' = '$(target)' ] ; then \
348 echo $(AR); \
349 else \
350 echo $(CONFIGURED_AR_FOR_TARGET) ; \
351 fi; \
354 AS_FOR_TARGET=@AS_FOR_TARGET@
355 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
356 USUAL_AS_FOR_TARGET = ` \
357 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
358 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
359 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
360 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
361 else \
362 if [ '$(host)' = '$(target)' ] ; then \
363 echo $(AS); \
364 else \
365 echo $(CONFIGURED_AS_FOR_TARGET) ; \
366 fi; \
369 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
370 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
371 USUAL_CC_FOR_TARGET = ` \
372 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
373 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
374 else \
375 if [ '$(host)' = '$(target)' ] ; then \
376 echo $(CC); \
377 else \
378 echo $(CONFIGURED_CC_FOR_TARGET) ; \
379 fi; \
382 # During gcc bootstrap, if we use some random cc for stage1 then
383 # CFLAGS will be just -g. We want to ensure that TARGET libraries
384 # (which we know are built with gcc) are built with optimizations so
385 # prepend -O2 when setting CFLAGS_FOR_TARGET.
386 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
387 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
389 # If GCC_FOR_TARGET is not overriden on the command line, then this
390 # variable is passed down to the gcc Makefile, where it is used to
391 # build libgcc2.a. We define it here so that it can itself be
392 # overridden on the command line.
393 GCC_FOR_TARGET=@GCC_FOR_TARGET@
394 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@
395 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
396 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
400 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
401 USUAL_CXX_FOR_TARGET = ` \
402 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
403 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
404 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
405 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
406 else \
407 if [ '$(host)' = '$(target)' ] ; then \
408 echo $(CXX); \
409 else \
410 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
411 fi; \
414 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
415 USUAL_RAW_CXX_FOR_TARGET = ` \
416 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
417 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \
418 else \
419 if [ '$(host)' = '$(target)' ] ; then \
420 echo $(CXX); \
421 else \
422 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
423 fi; \
426 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
427 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
429 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
430 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
431 USUAL_GCJ_FOR_TARGET = ` \
432 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
433 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
434 else \
435 if [ '$(host)' = '$(target)' ] ; then \
436 echo $(GCJ); \
437 else \
438 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
439 fi; \
442 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
443 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
444 USUAL_GFORTRAN_FOR_TARGET = ` \
445 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
446 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
447 else \
448 if [ '$(host)' = '$(target)' ] ; then \
449 echo $(GFORTRAN); \
450 else \
451 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
452 fi; \
456 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
457 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
458 USUAL_DLLTOOL_FOR_TARGET = ` \
459 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
460 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
461 else \
462 if [ '$(host)' = '$(target)' ] ; then \
463 echo $(DLLTOOL); \
464 else \
465 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
466 fi; \
469 LD_FOR_TARGET=@LD_FOR_TARGET@
470 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
471 USUAL_LD_FOR_TARGET = ` \
472 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
473 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
474 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
475 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(LD); \
479 else \
480 echo $(CONFIGURED_LD_FOR_TARGET) ; \
481 fi; \
484 LDFLAGS_FOR_TARGET =
486 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
487 CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@
488 USUAL_LIPO_FOR_TARGET = ` \
489 if [ '$(host)' = '$(target)' ] ; then \
490 if [ x'$(LIPO)' != x ]; then \
491 echo $(LIPO); \
492 else \
493 echo lipo; \
494 fi; \
495 else \
496 echo $(CONFIGURED_LIPO_FOR_TARGET) ; \
499 NM_FOR_TARGET=@NM_FOR_TARGET@
500 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
501 USUAL_NM_FOR_TARGET = ` \
502 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
503 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
504 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
505 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
506 else \
507 if [ '$(host)' = '$(target)' ] ; then \
508 echo $(NM); \
509 else \
510 echo $(CONFIGURED_NM_FOR_TARGET) ; \
511 fi; \
514 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
515 CONFIGURED_OBJDUMP_FOR_TARGET=@CONFIGURED_OBJDUMP_FOR_TARGET@
516 USUAL_OBJDUMP_FOR_TARGET = ` \
517 if [ -f $$r/$(HOST_SUBDIR)/binutils/objdump ] ; then \
518 echo $$r/$(HOST_SUBDIR)/binutils/objdump ; \
519 else \
520 if [ '$(host)' = '$(target)' ] ; then \
521 if [ x'$(OBJDUMP)' != x ]; then \
522 echo $(OBJDUMP); \
523 else \
524 echo objdump; \
525 fi; \
526 else \
527 echo $(CONFIGURED_OBJDUMP_FOR_TARGET) ; \
528 fi; \
531 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
532 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
533 USUAL_RANLIB_FOR_TARGET = ` \
534 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
535 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
536 else \
537 if [ '$(host)' = '$(target)' ] ; then \
538 if [ x'$(RANLIB)' != x ]; then \
539 echo $(RANLIB); \
540 else \
541 echo ranlib; \
542 fi; \
543 else \
544 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
545 fi; \
548 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
549 CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@
550 USUAL_STRIP_FOR_TARGET = ` \
551 if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \
552 echo $$r/$(HOST_SUBDIR)/binutils/strip ; \
553 else \
554 if [ '$(host)' = '$(target)' ] ; then \
555 if [ x'$(STRIP)' != x ]; then \
556 echo $(STRIP); \
557 else \
558 echo strip; \
559 fi; \
560 else \
561 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
562 fi; \
565 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
566 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
567 USUAL_WINDRES_FOR_TARGET = ` \
568 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
569 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
570 else \
571 if [ '$(host)' = '$(target)' ] ; then \
572 echo $(WINDRES); \
573 else \
574 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
575 fi; \
578 PICFLAG_FOR_TARGET =
580 # ------------------------------------
581 # Miscellaneous targets and flag lists
582 # ------------------------------------
584 # The first rule in the file had better be this one. Don't put any above it.
585 # This lives here to allow makefile fragments to contain dependencies.
586 all:
588 #### host and target specific makefile fragments come in here.
589 @target_makefile_frag@
590 @alphaieee_frag@
591 @ospace_frag@
592 @host_makefile_frag@
595 # This is the list of directories that may be needed in RPATH_ENVVAR
596 # so that prorgams built for the target machine work.
597 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
599 @if target-libstdc++-v3
600 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
601 @endif target-libstdc++-v3
603 @if target-libmudflap
604 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
605 @endif target-libmudflap
607 @if target-libssp
608 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
609 @endif target-libssp
613 # This is the list of directories that may be needed in RPATH_ENVVAR
614 # so that programs built for the host machine work.
615 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
617 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
618 @if gcc
619 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
620 @endif gcc
623 @if bfd
624 HOST_LIB_PATH_bfd = \
625 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
626 @endif bfd
628 @if opcodes
629 HOST_LIB_PATH_opcodes = \
630 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
631 @endif opcodes
634 # Flags to pass down to all sub-makes.
635 BASE_FLAGS_TO_PASS = \
636 "DESTDIR=$(DESTDIR)" \
637 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
638 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
639 "bindir=$(bindir)" \
640 "datadir=$(datadir)" \
641 "exec_prefix=$(exec_prefix)" \
642 "includedir=$(includedir)" \
643 "infodir=$(infodir)" \
644 "libdir=$(libdir)" \
645 "libexecdir=$(libexecdir)" \
646 "lispdir=$(lispdir)" \
647 "localstatedir=$(localstatedir)" \
648 "mandir=$(mandir)" \
649 "oldincludedir=$(oldincludedir)" \
650 "prefix=$(prefix)" \
651 "sbindir=$(sbindir)" \
652 "sharedstatedir=$(sharedstatedir)" \
653 "sysconfdir=$(sysconfdir)" \
654 "tooldir=$(tooldir)" \
655 "build_tooldir=$(build_tooldir)" \
656 "target_alias=$(target_alias)" \
657 "BISON=$(BISON)" \
658 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
659 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
660 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
661 "EXPECT=$(EXPECT)" \
662 "FLEX=$(FLEX)" \
663 "INSTALL=$(INSTALL)" \
664 "INSTALL_DATA=$(INSTALL_DATA)" \
665 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
666 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
667 "LEX=$(LEX)" \
668 "M4=$(M4)" \
669 "MAKE=$(MAKE)" \
670 "RUNTEST=$(RUNTEST)" \
671 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
672 "SHELL=$(SHELL)" \
673 "YACC=$(YACC)" \
674 "AR_FLAGS=$(AR_FLAGS)" \
675 "CFLAGS=$(CFLAGS)" \
676 "CXXFLAGS=$(CXXFLAGS)" \
677 "LDFLAGS=$(LDFLAGS)" \
678 "LIBCFLAGS=$(LIBCFLAGS)" \
679 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
680 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
681 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
682 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
683 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
684 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
685 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
686 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
687 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
688 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
689 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
690 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
691 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
692 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
693 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
694 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
695 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
696 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
697 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
698 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
699 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
700 "CONFIG_SHELL=$(SHELL)" \
701 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
703 # We leave this in just in case, but it is not needed anymore.
704 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
706 # Flags to pass down to most sub-makes, in which we're building with
707 # the host environment.
708 EXTRA_HOST_FLAGS = \
709 'AR=$(AR)' \
710 'AS=$(AS)' \
711 'CC=$(CC)' \
712 'CXX=$(CXX)' \
713 'DLLTOOL=$(DLLTOOL)' \
714 'LD=$(LD)' \
715 'NM=$(NM)' \
716 'RANLIB=$(RANLIB)' \
717 'WINDRES=$(WINDRES)'
719 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
721 # Flags that are concerned with the location of the X11 include files
722 # and library files
724 # NOTE: until the top-level is getting the values via autoconf, it only
725 # causes problems to have this top-level Makefile overriding the autoconf-set
726 # values in child directories. Only variables that don't conflict with
727 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
729 X11_FLAGS_TO_PASS = \
730 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
731 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
733 # Flags to pass down to makes which are built with the target environment.
734 # The double $ decreases the length of the command line; the variables
735 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
736 EXTRA_TARGET_FLAGS = \
737 'AR=$$(AR_FOR_TARGET)' \
738 'AS=$$(AS_FOR_TARGET)' \
739 'CC=$$(CC_FOR_TARGET)' \
740 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
741 'CXX=$$(CXX_FOR_TARGET)' \
742 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
743 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
744 'LD=$$(LD_FOR_TARGET)' \
745 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
746 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
747 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
748 'NM=$$(NM_FOR_TARGET)' \
749 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
750 'RANLIB=$$(RANLIB_FOR_TARGET)' \
751 'WINDRES=$$(WINDRES_FOR_TARGET)'
753 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
755 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
756 # unfortunately needs the native compiler and the target ar and
757 # ranlib.
758 # If any variables are added here, they must be added to do-*, below.
759 # The BUILD_* variables are a special case, which are used for the gcc
760 # cross-building scheme.
761 EXTRA_GCC_FLAGS = \
762 'BUILD_PREFIX=$(BUILD_PREFIX)' \
763 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
764 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
765 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
766 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
767 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
768 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
769 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
770 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
771 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
772 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
773 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
775 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
777 .PHONY: configure-host
778 configure-host: \
779 maybe-configure-ash \
780 maybe-configure-autoconf \
781 maybe-configure-automake \
782 maybe-configure-bash \
783 maybe-configure-bfd \
784 maybe-configure-opcodes \
785 maybe-configure-binutils \
786 maybe-configure-bison \
787 maybe-configure-byacc \
788 maybe-configure-bzip2 \
789 maybe-configure-dejagnu \
790 maybe-configure-diff \
791 maybe-configure-dosutils \
792 maybe-configure-etc \
793 maybe-configure-fastjar \
794 maybe-configure-fileutils \
795 maybe-configure-findutils \
796 maybe-configure-find \
797 maybe-configure-fixincludes \
798 maybe-configure-flex \
799 maybe-configure-gas \
800 maybe-configure-gcc \
801 maybe-configure-gawk \
802 maybe-configure-gettext \
803 maybe-configure-gnuserv \
804 maybe-configure-gprof \
805 maybe-configure-gzip \
806 maybe-configure-hello \
807 maybe-configure-indent \
808 maybe-configure-intl \
809 maybe-configure-tcl \
810 maybe-configure-itcl \
811 maybe-configure-ld \
812 maybe-configure-libcpp \
813 maybe-configure-libgui \
814 maybe-configure-libiberty \
815 maybe-configure-libtool \
816 maybe-configure-m4 \
817 maybe-configure-make \
818 maybe-configure-mmalloc \
819 maybe-configure-patch \
820 maybe-configure-perl \
821 maybe-configure-prms \
822 maybe-configure-rcs \
823 maybe-configure-readline \
824 maybe-configure-release \
825 maybe-configure-recode \
826 maybe-configure-sed \
827 maybe-configure-send-pr \
828 maybe-configure-shellutils \
829 maybe-configure-sid \
830 maybe-configure-sim \
831 maybe-configure-tar \
832 maybe-configure-texinfo \
833 maybe-configure-textutils \
834 maybe-configure-time \
835 maybe-configure-uudecode \
836 maybe-configure-wdiff \
837 maybe-configure-zip \
838 maybe-configure-zlib \
839 maybe-configure-gdb \
840 maybe-configure-expect \
841 maybe-configure-guile \
842 maybe-configure-tk \
843 maybe-configure-libtermcap \
844 maybe-configure-utils \
845 maybe-configure-gnattools
846 .PHONY: configure-target
847 configure-target: \
848 maybe-configure-target-libstdc++-v3 \
849 maybe-configure-target-libmudflap \
850 maybe-configure-target-libssp \
851 maybe-configure-target-newlib \
852 maybe-configure-target-libgfortran \
853 maybe-configure-target-libobjc \
854 maybe-configure-target-libtermcap \
855 maybe-configure-target-winsup \
856 maybe-configure-target-libgloss \
857 maybe-configure-target-libiberty \
858 maybe-configure-target-gperf \
859 maybe-configure-target-examples \
860 maybe-configure-target-libffi \
861 maybe-configure-target-libjava \
862 maybe-configure-target-zlib \
863 maybe-configure-target-boehm-gc \
864 maybe-configure-target-qthreads \
865 maybe-configure-target-rda \
866 maybe-configure-target-libada
868 # The target built for a native non-bootstrap build.
869 .PHONY: all
870 all:
871 @if gcc-bootstrap
872 @r=`${PWD_COMMAND}`; export r; \
873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
874 if [ ! -f stage_last ]; then \
875 $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \
877 @endif gcc-bootstrap
878 @$(unstage)
879 @if gcc-no-bootstrap
880 @r=`${PWD_COMMAND}`; export r; \
881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
882 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
883 @endif gcc-no-bootstrap
884 @r=`${PWD_COMMAND}`; export r; \
885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
886 if [ -f stage_last ]; then \
887 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host; \
888 else \
889 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host; \
891 @r=`${PWD_COMMAND}`; export r; \
892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-target
894 @$(stage)
896 .PHONY: all-build
897 all-build: \
898 maybe-all-build-libiberty \
899 maybe-all-build-bison \
900 maybe-all-build-byacc \
901 maybe-all-build-flex \
902 maybe-all-build-m4 \
903 maybe-all-build-texinfo \
904 maybe-all-build-fixincludes
905 .PHONY: all-host
906 all-host: \
907 maybe-all-ash \
908 maybe-all-autoconf \
909 maybe-all-automake \
910 maybe-all-bash \
911 maybe-all-bfd \
912 maybe-all-opcodes \
913 maybe-all-binutils \
914 maybe-all-bison \
915 maybe-all-byacc \
916 maybe-all-bzip2 \
917 maybe-all-dejagnu \
918 maybe-all-diff \
919 maybe-all-dosutils \
920 maybe-all-etc \
921 maybe-all-fastjar \
922 maybe-all-fileutils \
923 maybe-all-findutils \
924 maybe-all-find \
925 maybe-all-fixincludes \
926 maybe-all-flex \
927 maybe-all-gas \
928 maybe-all-gcc \
929 maybe-all-gawk \
930 maybe-all-gettext \
931 maybe-all-gnuserv \
932 maybe-all-gprof \
933 maybe-all-gzip \
934 maybe-all-hello \
935 maybe-all-indent \
936 maybe-all-intl \
937 maybe-all-tcl \
938 maybe-all-itcl \
939 maybe-all-ld \
940 maybe-all-libcpp \
941 maybe-all-libgui \
942 maybe-all-libiberty \
943 maybe-all-libtool \
944 maybe-all-m4 \
945 maybe-all-make \
946 maybe-all-mmalloc \
947 maybe-all-patch \
948 maybe-all-perl \
949 maybe-all-prms \
950 maybe-all-rcs \
951 maybe-all-readline \
952 maybe-all-release \
953 maybe-all-recode \
954 maybe-all-sed \
955 maybe-all-send-pr \
956 maybe-all-shellutils \
957 maybe-all-sid \
958 maybe-all-sim \
959 maybe-all-tar \
960 maybe-all-texinfo \
961 maybe-all-textutils \
962 maybe-all-time \
963 maybe-all-uudecode \
964 maybe-all-wdiff \
965 maybe-all-zip \
966 maybe-all-zlib \
967 maybe-all-gdb \
968 maybe-all-expect \
969 maybe-all-guile \
970 maybe-all-tk \
971 maybe-all-libtermcap \
972 maybe-all-utils \
973 maybe-all-gnattools
974 .PHONY: all-target
975 all-target: \
976 maybe-all-target-libstdc++-v3 \
977 maybe-all-target-libmudflap \
978 maybe-all-target-libssp \
979 maybe-all-target-newlib \
980 maybe-all-target-libgfortran \
981 maybe-all-target-libobjc \
982 maybe-all-target-libtermcap \
983 maybe-all-target-winsup \
984 maybe-all-target-libgloss \
985 maybe-all-target-libiberty \
986 maybe-all-target-gperf \
987 maybe-all-target-examples \
988 maybe-all-target-libffi \
989 maybe-all-target-libjava \
990 maybe-all-target-zlib \
991 maybe-all-target-boehm-gc \
992 maybe-all-target-qthreads \
993 maybe-all-target-rda \
994 maybe-all-target-libada
996 # Do a target for all the subdirectories. A ``make do-X'' will do a
997 # ``make X'' in all subdirectories (because, in general, there is a
998 # dependency (below) of X upon do-X, a ``make X'' will also do this,
999 # but it may do additional work as well).
1001 .PHONY: do-info
1002 do-info:
1003 @$(unstage)
1004 @r=`${PWD_COMMAND}`; export r; \
1005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1006 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1007 info-target
1008 @$(stage)
1011 .PHONY: info-host
1012 info-host: \
1013 maybe-info-ash \
1014 maybe-info-autoconf \
1015 maybe-info-automake \
1016 maybe-info-bash \
1017 maybe-info-bfd \
1018 maybe-info-opcodes \
1019 maybe-info-binutils \
1020 maybe-info-bison \
1021 maybe-info-byacc \
1022 maybe-info-bzip2 \
1023 maybe-info-dejagnu \
1024 maybe-info-diff \
1025 maybe-info-dosutils \
1026 maybe-info-etc \
1027 maybe-info-fastjar \
1028 maybe-info-fileutils \
1029 maybe-info-findutils \
1030 maybe-info-find \
1031 maybe-info-fixincludes \
1032 maybe-info-flex \
1033 maybe-info-gas \
1034 maybe-info-gcc \
1035 maybe-info-gawk \
1036 maybe-info-gettext \
1037 maybe-info-gnuserv \
1038 maybe-info-gprof \
1039 maybe-info-gzip \
1040 maybe-info-hello \
1041 maybe-info-indent \
1042 maybe-info-intl \
1043 maybe-info-tcl \
1044 maybe-info-itcl \
1045 maybe-info-ld \
1046 maybe-info-libcpp \
1047 maybe-info-libgui \
1048 maybe-info-libiberty \
1049 maybe-info-libtool \
1050 maybe-info-m4 \
1051 maybe-info-make \
1052 maybe-info-mmalloc \
1053 maybe-info-patch \
1054 maybe-info-perl \
1055 maybe-info-prms \
1056 maybe-info-rcs \
1057 maybe-info-readline \
1058 maybe-info-release \
1059 maybe-info-recode \
1060 maybe-info-sed \
1061 maybe-info-send-pr \
1062 maybe-info-shellutils \
1063 maybe-info-sid \
1064 maybe-info-sim \
1065 maybe-info-tar \
1066 maybe-info-texinfo \
1067 maybe-info-textutils \
1068 maybe-info-time \
1069 maybe-info-uudecode \
1070 maybe-info-wdiff \
1071 maybe-info-zip \
1072 maybe-info-zlib \
1073 maybe-info-gdb \
1074 maybe-info-expect \
1075 maybe-info-guile \
1076 maybe-info-tk \
1077 maybe-info-libtermcap \
1078 maybe-info-utils \
1079 maybe-info-gnattools
1081 .PHONY: info-target
1082 info-target: \
1083 maybe-info-target-libstdc++-v3 \
1084 maybe-info-target-libmudflap \
1085 maybe-info-target-libssp \
1086 maybe-info-target-newlib \
1087 maybe-info-target-libgfortran \
1088 maybe-info-target-libobjc \
1089 maybe-info-target-libtermcap \
1090 maybe-info-target-winsup \
1091 maybe-info-target-libgloss \
1092 maybe-info-target-libiberty \
1093 maybe-info-target-gperf \
1094 maybe-info-target-examples \
1095 maybe-info-target-libffi \
1096 maybe-info-target-libjava \
1097 maybe-info-target-zlib \
1098 maybe-info-target-boehm-gc \
1099 maybe-info-target-qthreads \
1100 maybe-info-target-rda \
1101 maybe-info-target-libada
1103 .PHONY: do-dvi
1104 do-dvi:
1105 @$(unstage)
1106 @r=`${PWD_COMMAND}`; export r; \
1107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1108 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1109 dvi-target
1110 @$(stage)
1113 .PHONY: dvi-host
1114 dvi-host: \
1115 maybe-dvi-ash \
1116 maybe-dvi-autoconf \
1117 maybe-dvi-automake \
1118 maybe-dvi-bash \
1119 maybe-dvi-bfd \
1120 maybe-dvi-opcodes \
1121 maybe-dvi-binutils \
1122 maybe-dvi-bison \
1123 maybe-dvi-byacc \
1124 maybe-dvi-bzip2 \
1125 maybe-dvi-dejagnu \
1126 maybe-dvi-diff \
1127 maybe-dvi-dosutils \
1128 maybe-dvi-etc \
1129 maybe-dvi-fastjar \
1130 maybe-dvi-fileutils \
1131 maybe-dvi-findutils \
1132 maybe-dvi-find \
1133 maybe-dvi-fixincludes \
1134 maybe-dvi-flex \
1135 maybe-dvi-gas \
1136 maybe-dvi-gcc \
1137 maybe-dvi-gawk \
1138 maybe-dvi-gettext \
1139 maybe-dvi-gnuserv \
1140 maybe-dvi-gprof \
1141 maybe-dvi-gzip \
1142 maybe-dvi-hello \
1143 maybe-dvi-indent \
1144 maybe-dvi-intl \
1145 maybe-dvi-tcl \
1146 maybe-dvi-itcl \
1147 maybe-dvi-ld \
1148 maybe-dvi-libcpp \
1149 maybe-dvi-libgui \
1150 maybe-dvi-libiberty \
1151 maybe-dvi-libtool \
1152 maybe-dvi-m4 \
1153 maybe-dvi-make \
1154 maybe-dvi-mmalloc \
1155 maybe-dvi-patch \
1156 maybe-dvi-perl \
1157 maybe-dvi-prms \
1158 maybe-dvi-rcs \
1159 maybe-dvi-readline \
1160 maybe-dvi-release \
1161 maybe-dvi-recode \
1162 maybe-dvi-sed \
1163 maybe-dvi-send-pr \
1164 maybe-dvi-shellutils \
1165 maybe-dvi-sid \
1166 maybe-dvi-sim \
1167 maybe-dvi-tar \
1168 maybe-dvi-texinfo \
1169 maybe-dvi-textutils \
1170 maybe-dvi-time \
1171 maybe-dvi-uudecode \
1172 maybe-dvi-wdiff \
1173 maybe-dvi-zip \
1174 maybe-dvi-zlib \
1175 maybe-dvi-gdb \
1176 maybe-dvi-expect \
1177 maybe-dvi-guile \
1178 maybe-dvi-tk \
1179 maybe-dvi-libtermcap \
1180 maybe-dvi-utils \
1181 maybe-dvi-gnattools
1183 .PHONY: dvi-target
1184 dvi-target: \
1185 maybe-dvi-target-libstdc++-v3 \
1186 maybe-dvi-target-libmudflap \
1187 maybe-dvi-target-libssp \
1188 maybe-dvi-target-newlib \
1189 maybe-dvi-target-libgfortran \
1190 maybe-dvi-target-libobjc \
1191 maybe-dvi-target-libtermcap \
1192 maybe-dvi-target-winsup \
1193 maybe-dvi-target-libgloss \
1194 maybe-dvi-target-libiberty \
1195 maybe-dvi-target-gperf \
1196 maybe-dvi-target-examples \
1197 maybe-dvi-target-libffi \
1198 maybe-dvi-target-libjava \
1199 maybe-dvi-target-zlib \
1200 maybe-dvi-target-boehm-gc \
1201 maybe-dvi-target-qthreads \
1202 maybe-dvi-target-rda \
1203 maybe-dvi-target-libada
1205 .PHONY: do-html
1206 do-html:
1207 @$(unstage)
1208 @r=`${PWD_COMMAND}`; export r; \
1209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1210 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1211 html-target
1212 @$(stage)
1215 .PHONY: html-host
1216 html-host: \
1217 maybe-html-ash \
1218 maybe-html-autoconf \
1219 maybe-html-automake \
1220 maybe-html-bash \
1221 maybe-html-bfd \
1222 maybe-html-opcodes \
1223 maybe-html-binutils \
1224 maybe-html-bison \
1225 maybe-html-byacc \
1226 maybe-html-bzip2 \
1227 maybe-html-dejagnu \
1228 maybe-html-diff \
1229 maybe-html-dosutils \
1230 maybe-html-etc \
1231 maybe-html-fastjar \
1232 maybe-html-fileutils \
1233 maybe-html-findutils \
1234 maybe-html-find \
1235 maybe-html-fixincludes \
1236 maybe-html-flex \
1237 maybe-html-gas \
1238 maybe-html-gcc \
1239 maybe-html-gawk \
1240 maybe-html-gettext \
1241 maybe-html-gnuserv \
1242 maybe-html-gprof \
1243 maybe-html-gzip \
1244 maybe-html-hello \
1245 maybe-html-indent \
1246 maybe-html-intl \
1247 maybe-html-tcl \
1248 maybe-html-itcl \
1249 maybe-html-ld \
1250 maybe-html-libcpp \
1251 maybe-html-libgui \
1252 maybe-html-libiberty \
1253 maybe-html-libtool \
1254 maybe-html-m4 \
1255 maybe-html-make \
1256 maybe-html-mmalloc \
1257 maybe-html-patch \
1258 maybe-html-perl \
1259 maybe-html-prms \
1260 maybe-html-rcs \
1261 maybe-html-readline \
1262 maybe-html-release \
1263 maybe-html-recode \
1264 maybe-html-sed \
1265 maybe-html-send-pr \
1266 maybe-html-shellutils \
1267 maybe-html-sid \
1268 maybe-html-sim \
1269 maybe-html-tar \
1270 maybe-html-texinfo \
1271 maybe-html-textutils \
1272 maybe-html-time \
1273 maybe-html-uudecode \
1274 maybe-html-wdiff \
1275 maybe-html-zip \
1276 maybe-html-zlib \
1277 maybe-html-gdb \
1278 maybe-html-expect \
1279 maybe-html-guile \
1280 maybe-html-tk \
1281 maybe-html-libtermcap \
1282 maybe-html-utils \
1283 maybe-html-gnattools
1285 .PHONY: html-target
1286 html-target: \
1287 maybe-html-target-libstdc++-v3 \
1288 maybe-html-target-libmudflap \
1289 maybe-html-target-libssp \
1290 maybe-html-target-newlib \
1291 maybe-html-target-libgfortran \
1292 maybe-html-target-libobjc \
1293 maybe-html-target-libtermcap \
1294 maybe-html-target-winsup \
1295 maybe-html-target-libgloss \
1296 maybe-html-target-libiberty \
1297 maybe-html-target-gperf \
1298 maybe-html-target-examples \
1299 maybe-html-target-libffi \
1300 maybe-html-target-libjava \
1301 maybe-html-target-zlib \
1302 maybe-html-target-boehm-gc \
1303 maybe-html-target-qthreads \
1304 maybe-html-target-rda \
1305 maybe-html-target-libada
1307 .PHONY: do-TAGS
1308 do-TAGS:
1309 @$(unstage)
1310 @r=`${PWD_COMMAND}`; export r; \
1311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1312 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1313 TAGS-target
1314 @$(stage)
1317 .PHONY: TAGS-host
1318 TAGS-host: \
1319 maybe-TAGS-ash \
1320 maybe-TAGS-autoconf \
1321 maybe-TAGS-automake \
1322 maybe-TAGS-bash \
1323 maybe-TAGS-bfd \
1324 maybe-TAGS-opcodes \
1325 maybe-TAGS-binutils \
1326 maybe-TAGS-bison \
1327 maybe-TAGS-byacc \
1328 maybe-TAGS-bzip2 \
1329 maybe-TAGS-dejagnu \
1330 maybe-TAGS-diff \
1331 maybe-TAGS-dosutils \
1332 maybe-TAGS-etc \
1333 maybe-TAGS-fastjar \
1334 maybe-TAGS-fileutils \
1335 maybe-TAGS-findutils \
1336 maybe-TAGS-find \
1337 maybe-TAGS-fixincludes \
1338 maybe-TAGS-flex \
1339 maybe-TAGS-gas \
1340 maybe-TAGS-gcc \
1341 maybe-TAGS-gawk \
1342 maybe-TAGS-gettext \
1343 maybe-TAGS-gnuserv \
1344 maybe-TAGS-gprof \
1345 maybe-TAGS-gzip \
1346 maybe-TAGS-hello \
1347 maybe-TAGS-indent \
1348 maybe-TAGS-intl \
1349 maybe-TAGS-tcl \
1350 maybe-TAGS-itcl \
1351 maybe-TAGS-ld \
1352 maybe-TAGS-libcpp \
1353 maybe-TAGS-libgui \
1354 maybe-TAGS-libiberty \
1355 maybe-TAGS-libtool \
1356 maybe-TAGS-m4 \
1357 maybe-TAGS-make \
1358 maybe-TAGS-mmalloc \
1359 maybe-TAGS-patch \
1360 maybe-TAGS-perl \
1361 maybe-TAGS-prms \
1362 maybe-TAGS-rcs \
1363 maybe-TAGS-readline \
1364 maybe-TAGS-release \
1365 maybe-TAGS-recode \
1366 maybe-TAGS-sed \
1367 maybe-TAGS-send-pr \
1368 maybe-TAGS-shellutils \
1369 maybe-TAGS-sid \
1370 maybe-TAGS-sim \
1371 maybe-TAGS-tar \
1372 maybe-TAGS-texinfo \
1373 maybe-TAGS-textutils \
1374 maybe-TAGS-time \
1375 maybe-TAGS-uudecode \
1376 maybe-TAGS-wdiff \
1377 maybe-TAGS-zip \
1378 maybe-TAGS-zlib \
1379 maybe-TAGS-gdb \
1380 maybe-TAGS-expect \
1381 maybe-TAGS-guile \
1382 maybe-TAGS-tk \
1383 maybe-TAGS-libtermcap \
1384 maybe-TAGS-utils \
1385 maybe-TAGS-gnattools
1387 .PHONY: TAGS-target
1388 TAGS-target: \
1389 maybe-TAGS-target-libstdc++-v3 \
1390 maybe-TAGS-target-libmudflap \
1391 maybe-TAGS-target-libssp \
1392 maybe-TAGS-target-newlib \
1393 maybe-TAGS-target-libgfortran \
1394 maybe-TAGS-target-libobjc \
1395 maybe-TAGS-target-libtermcap \
1396 maybe-TAGS-target-winsup \
1397 maybe-TAGS-target-libgloss \
1398 maybe-TAGS-target-libiberty \
1399 maybe-TAGS-target-gperf \
1400 maybe-TAGS-target-examples \
1401 maybe-TAGS-target-libffi \
1402 maybe-TAGS-target-libjava \
1403 maybe-TAGS-target-zlib \
1404 maybe-TAGS-target-boehm-gc \
1405 maybe-TAGS-target-qthreads \
1406 maybe-TAGS-target-rda \
1407 maybe-TAGS-target-libada
1409 .PHONY: do-install-info
1410 do-install-info:
1411 @$(unstage)
1412 @r=`${PWD_COMMAND}`; export r; \
1413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1414 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1415 install-info-target
1416 @$(stage)
1419 .PHONY: install-info-host
1420 install-info-host: \
1421 maybe-install-info-ash \
1422 maybe-install-info-autoconf \
1423 maybe-install-info-automake \
1424 maybe-install-info-bash \
1425 maybe-install-info-bfd \
1426 maybe-install-info-opcodes \
1427 maybe-install-info-binutils \
1428 maybe-install-info-bison \
1429 maybe-install-info-byacc \
1430 maybe-install-info-bzip2 \
1431 maybe-install-info-dejagnu \
1432 maybe-install-info-diff \
1433 maybe-install-info-dosutils \
1434 maybe-install-info-etc \
1435 maybe-install-info-fastjar \
1436 maybe-install-info-fileutils \
1437 maybe-install-info-findutils \
1438 maybe-install-info-find \
1439 maybe-install-info-fixincludes \
1440 maybe-install-info-flex \
1441 maybe-install-info-gas \
1442 maybe-install-info-gcc \
1443 maybe-install-info-gawk \
1444 maybe-install-info-gettext \
1445 maybe-install-info-gnuserv \
1446 maybe-install-info-gprof \
1447 maybe-install-info-gzip \
1448 maybe-install-info-hello \
1449 maybe-install-info-indent \
1450 maybe-install-info-intl \
1451 maybe-install-info-tcl \
1452 maybe-install-info-itcl \
1453 maybe-install-info-ld \
1454 maybe-install-info-libcpp \
1455 maybe-install-info-libgui \
1456 maybe-install-info-libiberty \
1457 maybe-install-info-libtool \
1458 maybe-install-info-m4 \
1459 maybe-install-info-make \
1460 maybe-install-info-mmalloc \
1461 maybe-install-info-patch \
1462 maybe-install-info-perl \
1463 maybe-install-info-prms \
1464 maybe-install-info-rcs \
1465 maybe-install-info-readline \
1466 maybe-install-info-release \
1467 maybe-install-info-recode \
1468 maybe-install-info-sed \
1469 maybe-install-info-send-pr \
1470 maybe-install-info-shellutils \
1471 maybe-install-info-sid \
1472 maybe-install-info-sim \
1473 maybe-install-info-tar \
1474 maybe-install-info-texinfo \
1475 maybe-install-info-textutils \
1476 maybe-install-info-time \
1477 maybe-install-info-uudecode \
1478 maybe-install-info-wdiff \
1479 maybe-install-info-zip \
1480 maybe-install-info-zlib \
1481 maybe-install-info-gdb \
1482 maybe-install-info-expect \
1483 maybe-install-info-guile \
1484 maybe-install-info-tk \
1485 maybe-install-info-libtermcap \
1486 maybe-install-info-utils \
1487 maybe-install-info-gnattools
1489 .PHONY: install-info-target
1490 install-info-target: \
1491 maybe-install-info-target-libstdc++-v3 \
1492 maybe-install-info-target-libmudflap \
1493 maybe-install-info-target-libssp \
1494 maybe-install-info-target-newlib \
1495 maybe-install-info-target-libgfortran \
1496 maybe-install-info-target-libobjc \
1497 maybe-install-info-target-libtermcap \
1498 maybe-install-info-target-winsup \
1499 maybe-install-info-target-libgloss \
1500 maybe-install-info-target-libiberty \
1501 maybe-install-info-target-gperf \
1502 maybe-install-info-target-examples \
1503 maybe-install-info-target-libffi \
1504 maybe-install-info-target-libjava \
1505 maybe-install-info-target-zlib \
1506 maybe-install-info-target-boehm-gc \
1507 maybe-install-info-target-qthreads \
1508 maybe-install-info-target-rda \
1509 maybe-install-info-target-libada
1511 .PHONY: do-installcheck
1512 do-installcheck:
1513 @$(unstage)
1514 @r=`${PWD_COMMAND}`; export r; \
1515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1516 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1517 installcheck-target
1518 @$(stage)
1521 .PHONY: installcheck-host
1522 installcheck-host: \
1523 maybe-installcheck-ash \
1524 maybe-installcheck-autoconf \
1525 maybe-installcheck-automake \
1526 maybe-installcheck-bash \
1527 maybe-installcheck-bfd \
1528 maybe-installcheck-opcodes \
1529 maybe-installcheck-binutils \
1530 maybe-installcheck-bison \
1531 maybe-installcheck-byacc \
1532 maybe-installcheck-bzip2 \
1533 maybe-installcheck-dejagnu \
1534 maybe-installcheck-diff \
1535 maybe-installcheck-dosutils \
1536 maybe-installcheck-etc \
1537 maybe-installcheck-fastjar \
1538 maybe-installcheck-fileutils \
1539 maybe-installcheck-findutils \
1540 maybe-installcheck-find \
1541 maybe-installcheck-fixincludes \
1542 maybe-installcheck-flex \
1543 maybe-installcheck-gas \
1544 maybe-installcheck-gcc \
1545 maybe-installcheck-gawk \
1546 maybe-installcheck-gettext \
1547 maybe-installcheck-gnuserv \
1548 maybe-installcheck-gprof \
1549 maybe-installcheck-gzip \
1550 maybe-installcheck-hello \
1551 maybe-installcheck-indent \
1552 maybe-installcheck-intl \
1553 maybe-installcheck-tcl \
1554 maybe-installcheck-itcl \
1555 maybe-installcheck-ld \
1556 maybe-installcheck-libcpp \
1557 maybe-installcheck-libgui \
1558 maybe-installcheck-libiberty \
1559 maybe-installcheck-libtool \
1560 maybe-installcheck-m4 \
1561 maybe-installcheck-make \
1562 maybe-installcheck-mmalloc \
1563 maybe-installcheck-patch \
1564 maybe-installcheck-perl \
1565 maybe-installcheck-prms \
1566 maybe-installcheck-rcs \
1567 maybe-installcheck-readline \
1568 maybe-installcheck-release \
1569 maybe-installcheck-recode \
1570 maybe-installcheck-sed \
1571 maybe-installcheck-send-pr \
1572 maybe-installcheck-shellutils \
1573 maybe-installcheck-sid \
1574 maybe-installcheck-sim \
1575 maybe-installcheck-tar \
1576 maybe-installcheck-texinfo \
1577 maybe-installcheck-textutils \
1578 maybe-installcheck-time \
1579 maybe-installcheck-uudecode \
1580 maybe-installcheck-wdiff \
1581 maybe-installcheck-zip \
1582 maybe-installcheck-zlib \
1583 maybe-installcheck-gdb \
1584 maybe-installcheck-expect \
1585 maybe-installcheck-guile \
1586 maybe-installcheck-tk \
1587 maybe-installcheck-libtermcap \
1588 maybe-installcheck-utils \
1589 maybe-installcheck-gnattools
1591 .PHONY: installcheck-target
1592 installcheck-target: \
1593 maybe-installcheck-target-libstdc++-v3 \
1594 maybe-installcheck-target-libmudflap \
1595 maybe-installcheck-target-libssp \
1596 maybe-installcheck-target-newlib \
1597 maybe-installcheck-target-libgfortran \
1598 maybe-installcheck-target-libobjc \
1599 maybe-installcheck-target-libtermcap \
1600 maybe-installcheck-target-winsup \
1601 maybe-installcheck-target-libgloss \
1602 maybe-installcheck-target-libiberty \
1603 maybe-installcheck-target-gperf \
1604 maybe-installcheck-target-examples \
1605 maybe-installcheck-target-libffi \
1606 maybe-installcheck-target-libjava \
1607 maybe-installcheck-target-zlib \
1608 maybe-installcheck-target-boehm-gc \
1609 maybe-installcheck-target-qthreads \
1610 maybe-installcheck-target-rda \
1611 maybe-installcheck-target-libada
1613 .PHONY: do-mostlyclean
1614 do-mostlyclean:
1615 @$(unstage)
1616 @r=`${PWD_COMMAND}`; export r; \
1617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1618 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1619 mostlyclean-target
1620 @$(stage)
1623 .PHONY: mostlyclean-host
1624 mostlyclean-host: \
1625 maybe-mostlyclean-ash \
1626 maybe-mostlyclean-autoconf \
1627 maybe-mostlyclean-automake \
1628 maybe-mostlyclean-bash \
1629 maybe-mostlyclean-bfd \
1630 maybe-mostlyclean-opcodes \
1631 maybe-mostlyclean-binutils \
1632 maybe-mostlyclean-bison \
1633 maybe-mostlyclean-byacc \
1634 maybe-mostlyclean-bzip2 \
1635 maybe-mostlyclean-dejagnu \
1636 maybe-mostlyclean-diff \
1637 maybe-mostlyclean-dosutils \
1638 maybe-mostlyclean-etc \
1639 maybe-mostlyclean-fastjar \
1640 maybe-mostlyclean-fileutils \
1641 maybe-mostlyclean-findutils \
1642 maybe-mostlyclean-find \
1643 maybe-mostlyclean-fixincludes \
1644 maybe-mostlyclean-flex \
1645 maybe-mostlyclean-gas \
1646 maybe-mostlyclean-gcc \
1647 maybe-mostlyclean-gawk \
1648 maybe-mostlyclean-gettext \
1649 maybe-mostlyclean-gnuserv \
1650 maybe-mostlyclean-gprof \
1651 maybe-mostlyclean-gzip \
1652 maybe-mostlyclean-hello \
1653 maybe-mostlyclean-indent \
1654 maybe-mostlyclean-intl \
1655 maybe-mostlyclean-tcl \
1656 maybe-mostlyclean-itcl \
1657 maybe-mostlyclean-ld \
1658 maybe-mostlyclean-libcpp \
1659 maybe-mostlyclean-libgui \
1660 maybe-mostlyclean-libiberty \
1661 maybe-mostlyclean-libtool \
1662 maybe-mostlyclean-m4 \
1663 maybe-mostlyclean-make \
1664 maybe-mostlyclean-mmalloc \
1665 maybe-mostlyclean-patch \
1666 maybe-mostlyclean-perl \
1667 maybe-mostlyclean-prms \
1668 maybe-mostlyclean-rcs \
1669 maybe-mostlyclean-readline \
1670 maybe-mostlyclean-release \
1671 maybe-mostlyclean-recode \
1672 maybe-mostlyclean-sed \
1673 maybe-mostlyclean-send-pr \
1674 maybe-mostlyclean-shellutils \
1675 maybe-mostlyclean-sid \
1676 maybe-mostlyclean-sim \
1677 maybe-mostlyclean-tar \
1678 maybe-mostlyclean-texinfo \
1679 maybe-mostlyclean-textutils \
1680 maybe-mostlyclean-time \
1681 maybe-mostlyclean-uudecode \
1682 maybe-mostlyclean-wdiff \
1683 maybe-mostlyclean-zip \
1684 maybe-mostlyclean-zlib \
1685 maybe-mostlyclean-gdb \
1686 maybe-mostlyclean-expect \
1687 maybe-mostlyclean-guile \
1688 maybe-mostlyclean-tk \
1689 maybe-mostlyclean-libtermcap \
1690 maybe-mostlyclean-utils \
1691 maybe-mostlyclean-gnattools
1693 .PHONY: mostlyclean-target
1694 mostlyclean-target: \
1695 maybe-mostlyclean-target-libstdc++-v3 \
1696 maybe-mostlyclean-target-libmudflap \
1697 maybe-mostlyclean-target-libssp \
1698 maybe-mostlyclean-target-newlib \
1699 maybe-mostlyclean-target-libgfortran \
1700 maybe-mostlyclean-target-libobjc \
1701 maybe-mostlyclean-target-libtermcap \
1702 maybe-mostlyclean-target-winsup \
1703 maybe-mostlyclean-target-libgloss \
1704 maybe-mostlyclean-target-libiberty \
1705 maybe-mostlyclean-target-gperf \
1706 maybe-mostlyclean-target-examples \
1707 maybe-mostlyclean-target-libffi \
1708 maybe-mostlyclean-target-libjava \
1709 maybe-mostlyclean-target-zlib \
1710 maybe-mostlyclean-target-boehm-gc \
1711 maybe-mostlyclean-target-qthreads \
1712 maybe-mostlyclean-target-rda \
1713 maybe-mostlyclean-target-libada
1715 .PHONY: do-clean
1716 do-clean:
1717 @$(unstage)
1718 @r=`${PWD_COMMAND}`; export r; \
1719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1720 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1721 clean-target
1722 @$(stage)
1725 .PHONY: clean-host
1726 clean-host: \
1727 maybe-clean-ash \
1728 maybe-clean-autoconf \
1729 maybe-clean-automake \
1730 maybe-clean-bash \
1731 maybe-clean-bfd \
1732 maybe-clean-opcodes \
1733 maybe-clean-binutils \
1734 maybe-clean-bison \
1735 maybe-clean-byacc \
1736 maybe-clean-bzip2 \
1737 maybe-clean-dejagnu \
1738 maybe-clean-diff \
1739 maybe-clean-dosutils \
1740 maybe-clean-etc \
1741 maybe-clean-fastjar \
1742 maybe-clean-fileutils \
1743 maybe-clean-findutils \
1744 maybe-clean-find \
1745 maybe-clean-fixincludes \
1746 maybe-clean-flex \
1747 maybe-clean-gas \
1748 maybe-clean-gcc \
1749 maybe-clean-gawk \
1750 maybe-clean-gettext \
1751 maybe-clean-gnuserv \
1752 maybe-clean-gprof \
1753 maybe-clean-gzip \
1754 maybe-clean-hello \
1755 maybe-clean-indent \
1756 maybe-clean-intl \
1757 maybe-clean-tcl \
1758 maybe-clean-itcl \
1759 maybe-clean-ld \
1760 maybe-clean-libcpp \
1761 maybe-clean-libgui \
1762 maybe-clean-libiberty \
1763 maybe-clean-libtool \
1764 maybe-clean-m4 \
1765 maybe-clean-make \
1766 maybe-clean-mmalloc \
1767 maybe-clean-patch \
1768 maybe-clean-perl \
1769 maybe-clean-prms \
1770 maybe-clean-rcs \
1771 maybe-clean-readline \
1772 maybe-clean-release \
1773 maybe-clean-recode \
1774 maybe-clean-sed \
1775 maybe-clean-send-pr \
1776 maybe-clean-shellutils \
1777 maybe-clean-sid \
1778 maybe-clean-sim \
1779 maybe-clean-tar \
1780 maybe-clean-texinfo \
1781 maybe-clean-textutils \
1782 maybe-clean-time \
1783 maybe-clean-uudecode \
1784 maybe-clean-wdiff \
1785 maybe-clean-zip \
1786 maybe-clean-zlib \
1787 maybe-clean-gdb \
1788 maybe-clean-expect \
1789 maybe-clean-guile \
1790 maybe-clean-tk \
1791 maybe-clean-libtermcap \
1792 maybe-clean-utils \
1793 maybe-clean-gnattools
1795 .PHONY: clean-target
1796 clean-target: \
1797 maybe-clean-target-libstdc++-v3 \
1798 maybe-clean-target-libmudflap \
1799 maybe-clean-target-libssp \
1800 maybe-clean-target-newlib \
1801 maybe-clean-target-libgfortran \
1802 maybe-clean-target-libobjc \
1803 maybe-clean-target-libtermcap \
1804 maybe-clean-target-winsup \
1805 maybe-clean-target-libgloss \
1806 maybe-clean-target-libiberty \
1807 maybe-clean-target-gperf \
1808 maybe-clean-target-examples \
1809 maybe-clean-target-libffi \
1810 maybe-clean-target-libjava \
1811 maybe-clean-target-zlib \
1812 maybe-clean-target-boehm-gc \
1813 maybe-clean-target-qthreads \
1814 maybe-clean-target-rda \
1815 maybe-clean-target-libada
1817 .PHONY: do-distclean
1818 do-distclean:
1819 @$(unstage)
1820 @r=`${PWD_COMMAND}`; export r; \
1821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1822 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1823 distclean-target
1824 @$(stage)
1827 .PHONY: distclean-host
1828 distclean-host: \
1829 maybe-distclean-ash \
1830 maybe-distclean-autoconf \
1831 maybe-distclean-automake \
1832 maybe-distclean-bash \
1833 maybe-distclean-bfd \
1834 maybe-distclean-opcodes \
1835 maybe-distclean-binutils \
1836 maybe-distclean-bison \
1837 maybe-distclean-byacc \
1838 maybe-distclean-bzip2 \
1839 maybe-distclean-dejagnu \
1840 maybe-distclean-diff \
1841 maybe-distclean-dosutils \
1842 maybe-distclean-etc \
1843 maybe-distclean-fastjar \
1844 maybe-distclean-fileutils \
1845 maybe-distclean-findutils \
1846 maybe-distclean-find \
1847 maybe-distclean-fixincludes \
1848 maybe-distclean-flex \
1849 maybe-distclean-gas \
1850 maybe-distclean-gcc \
1851 maybe-distclean-gawk \
1852 maybe-distclean-gettext \
1853 maybe-distclean-gnuserv \
1854 maybe-distclean-gprof \
1855 maybe-distclean-gzip \
1856 maybe-distclean-hello \
1857 maybe-distclean-indent \
1858 maybe-distclean-intl \
1859 maybe-distclean-tcl \
1860 maybe-distclean-itcl \
1861 maybe-distclean-ld \
1862 maybe-distclean-libcpp \
1863 maybe-distclean-libgui \
1864 maybe-distclean-libiberty \
1865 maybe-distclean-libtool \
1866 maybe-distclean-m4 \
1867 maybe-distclean-make \
1868 maybe-distclean-mmalloc \
1869 maybe-distclean-patch \
1870 maybe-distclean-perl \
1871 maybe-distclean-prms \
1872 maybe-distclean-rcs \
1873 maybe-distclean-readline \
1874 maybe-distclean-release \
1875 maybe-distclean-recode \
1876 maybe-distclean-sed \
1877 maybe-distclean-send-pr \
1878 maybe-distclean-shellutils \
1879 maybe-distclean-sid \
1880 maybe-distclean-sim \
1881 maybe-distclean-tar \
1882 maybe-distclean-texinfo \
1883 maybe-distclean-textutils \
1884 maybe-distclean-time \
1885 maybe-distclean-uudecode \
1886 maybe-distclean-wdiff \
1887 maybe-distclean-zip \
1888 maybe-distclean-zlib \
1889 maybe-distclean-gdb \
1890 maybe-distclean-expect \
1891 maybe-distclean-guile \
1892 maybe-distclean-tk \
1893 maybe-distclean-libtermcap \
1894 maybe-distclean-utils \
1895 maybe-distclean-gnattools
1897 .PHONY: distclean-target
1898 distclean-target: \
1899 maybe-distclean-target-libstdc++-v3 \
1900 maybe-distclean-target-libmudflap \
1901 maybe-distclean-target-libssp \
1902 maybe-distclean-target-newlib \
1903 maybe-distclean-target-libgfortran \
1904 maybe-distclean-target-libobjc \
1905 maybe-distclean-target-libtermcap \
1906 maybe-distclean-target-winsup \
1907 maybe-distclean-target-libgloss \
1908 maybe-distclean-target-libiberty \
1909 maybe-distclean-target-gperf \
1910 maybe-distclean-target-examples \
1911 maybe-distclean-target-libffi \
1912 maybe-distclean-target-libjava \
1913 maybe-distclean-target-zlib \
1914 maybe-distclean-target-boehm-gc \
1915 maybe-distclean-target-qthreads \
1916 maybe-distclean-target-rda \
1917 maybe-distclean-target-libada
1919 .PHONY: do-maintainer-clean
1920 do-maintainer-clean:
1921 @$(unstage)
1922 @r=`${PWD_COMMAND}`; export r; \
1923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1924 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1925 maintainer-clean-target
1926 @$(stage)
1929 .PHONY: maintainer-clean-host
1930 maintainer-clean-host: \
1931 maybe-maintainer-clean-ash \
1932 maybe-maintainer-clean-autoconf \
1933 maybe-maintainer-clean-automake \
1934 maybe-maintainer-clean-bash \
1935 maybe-maintainer-clean-bfd \
1936 maybe-maintainer-clean-opcodes \
1937 maybe-maintainer-clean-binutils \
1938 maybe-maintainer-clean-bison \
1939 maybe-maintainer-clean-byacc \
1940 maybe-maintainer-clean-bzip2 \
1941 maybe-maintainer-clean-dejagnu \
1942 maybe-maintainer-clean-diff \
1943 maybe-maintainer-clean-dosutils \
1944 maybe-maintainer-clean-etc \
1945 maybe-maintainer-clean-fastjar \
1946 maybe-maintainer-clean-fileutils \
1947 maybe-maintainer-clean-findutils \
1948 maybe-maintainer-clean-find \
1949 maybe-maintainer-clean-fixincludes \
1950 maybe-maintainer-clean-flex \
1951 maybe-maintainer-clean-gas \
1952 maybe-maintainer-clean-gcc \
1953 maybe-maintainer-clean-gawk \
1954 maybe-maintainer-clean-gettext \
1955 maybe-maintainer-clean-gnuserv \
1956 maybe-maintainer-clean-gprof \
1957 maybe-maintainer-clean-gzip \
1958 maybe-maintainer-clean-hello \
1959 maybe-maintainer-clean-indent \
1960 maybe-maintainer-clean-intl \
1961 maybe-maintainer-clean-tcl \
1962 maybe-maintainer-clean-itcl \
1963 maybe-maintainer-clean-ld \
1964 maybe-maintainer-clean-libcpp \
1965 maybe-maintainer-clean-libgui \
1966 maybe-maintainer-clean-libiberty \
1967 maybe-maintainer-clean-libtool \
1968 maybe-maintainer-clean-m4 \
1969 maybe-maintainer-clean-make \
1970 maybe-maintainer-clean-mmalloc \
1971 maybe-maintainer-clean-patch \
1972 maybe-maintainer-clean-perl \
1973 maybe-maintainer-clean-prms \
1974 maybe-maintainer-clean-rcs \
1975 maybe-maintainer-clean-readline \
1976 maybe-maintainer-clean-release \
1977 maybe-maintainer-clean-recode \
1978 maybe-maintainer-clean-sed \
1979 maybe-maintainer-clean-send-pr \
1980 maybe-maintainer-clean-shellutils \
1981 maybe-maintainer-clean-sid \
1982 maybe-maintainer-clean-sim \
1983 maybe-maintainer-clean-tar \
1984 maybe-maintainer-clean-texinfo \
1985 maybe-maintainer-clean-textutils \
1986 maybe-maintainer-clean-time \
1987 maybe-maintainer-clean-uudecode \
1988 maybe-maintainer-clean-wdiff \
1989 maybe-maintainer-clean-zip \
1990 maybe-maintainer-clean-zlib \
1991 maybe-maintainer-clean-gdb \
1992 maybe-maintainer-clean-expect \
1993 maybe-maintainer-clean-guile \
1994 maybe-maintainer-clean-tk \
1995 maybe-maintainer-clean-libtermcap \
1996 maybe-maintainer-clean-utils \
1997 maybe-maintainer-clean-gnattools
1999 .PHONY: maintainer-clean-target
2000 maintainer-clean-target: \
2001 maybe-maintainer-clean-target-libstdc++-v3 \
2002 maybe-maintainer-clean-target-libmudflap \
2003 maybe-maintainer-clean-target-libssp \
2004 maybe-maintainer-clean-target-newlib \
2005 maybe-maintainer-clean-target-libgfortran \
2006 maybe-maintainer-clean-target-libobjc \
2007 maybe-maintainer-clean-target-libtermcap \
2008 maybe-maintainer-clean-target-winsup \
2009 maybe-maintainer-clean-target-libgloss \
2010 maybe-maintainer-clean-target-libiberty \
2011 maybe-maintainer-clean-target-gperf \
2012 maybe-maintainer-clean-target-examples \
2013 maybe-maintainer-clean-target-libffi \
2014 maybe-maintainer-clean-target-libjava \
2015 maybe-maintainer-clean-target-zlib \
2016 maybe-maintainer-clean-target-boehm-gc \
2017 maybe-maintainer-clean-target-qthreads \
2018 maybe-maintainer-clean-target-rda \
2019 maybe-maintainer-clean-target-libada
2022 # Here are the targets which correspond to the do-X targets.
2024 .PHONY: info installcheck dvi html install-info
2025 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2026 .PHONY: local-clean local-distclean local-maintainer-clean
2027 info: do-info
2028 installcheck: do-installcheck
2029 dvi: do-dvi
2030 html: do-html
2032 # Make sure makeinfo is built before we do a `make info', if we're
2033 # in fact building texinfo.
2034 do-info: maybe-all-texinfo
2036 install-info: do-install-info dir.info
2037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2038 if [ -f dir.info ] ; then \
2039 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2040 else true ; fi
2042 local-clean:
2043 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2045 local-distclean:
2046 -rm -f Makefile config.status config.cache mh-frag mt-frag
2047 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
2048 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2049 rm -rf $(TARGET_SUBDIR); \
2050 else true; fi
2051 -rm -rf $(BUILD_SUBDIR)
2052 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2053 rm -rf $(HOST_SUBDIR); \
2054 else true; fi
2055 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2056 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2057 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2058 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2059 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2061 local-maintainer-clean:
2062 @echo "This command is intended for maintainers to use;"
2063 @echo "it deletes files that may require special tools to rebuild."
2065 clean: do-clean local-clean
2066 mostlyclean: do-mostlyclean local-clean
2067 distclean: do-distclean local-clean local-distclean
2068 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2069 maintainer-clean: local-distclean
2070 realclean: maintainer-clean
2072 # Extra dependency for clean-target, owing to the mixed nature of gcc
2073 clean-target: clean-target-libgcc
2074 clean-target-libgcc:
2075 test ! -d gcc/libgcc || \
2076 (cd gcc/libgcc && find . -type d -print) | \
2077 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
2078 -rm -rf gcc/libgcc
2079 -rm -f gcc/stmp-dirs
2081 # Check target.
2083 .PHONY: check do-check
2084 check: do-check
2086 # Only include modules actually being configured and built.
2087 .PHONY: check-host
2088 check-host: \
2089 maybe-check-ash \
2090 maybe-check-autoconf \
2091 maybe-check-automake \
2092 maybe-check-bash \
2093 maybe-check-bfd \
2094 maybe-check-opcodes \
2095 maybe-check-binutils \
2096 maybe-check-bison \
2097 maybe-check-byacc \
2098 maybe-check-bzip2 \
2099 maybe-check-dejagnu \
2100 maybe-check-diff \
2101 maybe-check-dosutils \
2102 maybe-check-etc \
2103 maybe-check-fastjar \
2104 maybe-check-fileutils \
2105 maybe-check-findutils \
2106 maybe-check-find \
2107 maybe-check-fixincludes \
2108 maybe-check-flex \
2109 maybe-check-gas \
2110 maybe-check-gcc \
2111 maybe-check-gawk \
2112 maybe-check-gettext \
2113 maybe-check-gnuserv \
2114 maybe-check-gprof \
2115 maybe-check-gzip \
2116 maybe-check-hello \
2117 maybe-check-indent \
2118 maybe-check-intl \
2119 maybe-check-tcl \
2120 maybe-check-itcl \
2121 maybe-check-ld \
2122 maybe-check-libcpp \
2123 maybe-check-libgui \
2124 maybe-check-libiberty \
2125 maybe-check-libtool \
2126 maybe-check-m4 \
2127 maybe-check-make \
2128 maybe-check-mmalloc \
2129 maybe-check-patch \
2130 maybe-check-perl \
2131 maybe-check-prms \
2132 maybe-check-rcs \
2133 maybe-check-readline \
2134 maybe-check-release \
2135 maybe-check-recode \
2136 maybe-check-sed \
2137 maybe-check-send-pr \
2138 maybe-check-shellutils \
2139 maybe-check-sid \
2140 maybe-check-sim \
2141 maybe-check-tar \
2142 maybe-check-texinfo \
2143 maybe-check-textutils \
2144 maybe-check-time \
2145 maybe-check-uudecode \
2146 maybe-check-wdiff \
2147 maybe-check-zip \
2148 maybe-check-zlib \
2149 maybe-check-gdb \
2150 maybe-check-expect \
2151 maybe-check-guile \
2152 maybe-check-tk \
2153 maybe-check-libtermcap \
2154 maybe-check-utils \
2155 maybe-check-gnattools
2157 .PHONY: check-target
2158 check-target: \
2159 maybe-check-target-libstdc++-v3 \
2160 maybe-check-target-libmudflap \
2161 maybe-check-target-libssp \
2162 maybe-check-target-newlib \
2163 maybe-check-target-libgfortran \
2164 maybe-check-target-libobjc \
2165 maybe-check-target-libtermcap \
2166 maybe-check-target-winsup \
2167 maybe-check-target-libgloss \
2168 maybe-check-target-libiberty \
2169 maybe-check-target-gperf \
2170 maybe-check-target-examples \
2171 maybe-check-target-libffi \
2172 maybe-check-target-libjava \
2173 maybe-check-target-zlib \
2174 maybe-check-target-boehm-gc \
2175 maybe-check-target-qthreads \
2176 maybe-check-target-rda \
2177 maybe-check-target-libada
2179 do-check:
2180 @$(unstage)
2181 @r=`${PWD_COMMAND}`; export r; \
2182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2183 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2184 @$(stage)
2186 # Automated reporting of test results.
2188 warning.log: build.log
2189 $(srcdir)/contrib/warn_summary build.log > $@
2191 mail-report.log:
2192 if test x'$(BOOT_CFLAGS)' != x''; then \
2193 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2194 fi; \
2195 $(srcdir)/contrib/test_summary -t >$@
2196 chmod +x $@
2197 echo If you really want to send e-mail, run ./$@ now
2199 mail-report-with-warnings.log: warning.log
2200 if test x'$(BOOT_CFLAGS)' != x''; then \
2201 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2202 fi; \
2203 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2204 chmod +x $@
2205 echo If you really want to send e-mail, run ./$@ now
2207 # Installation targets.
2209 .PHONY: install uninstall
2210 install:
2211 @$(unstage)
2212 @r=`${PWD_COMMAND}`; export r; \
2213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2215 @$(stage)
2217 .PHONY: install-host-nogcc
2218 install-host-nogcc: \
2219 maybe-install-ash \
2220 maybe-install-autoconf \
2221 maybe-install-automake \
2222 maybe-install-bash \
2223 maybe-install-bfd \
2224 maybe-install-opcodes \
2225 maybe-install-binutils \
2226 maybe-install-bison \
2227 maybe-install-byacc \
2228 maybe-install-bzip2 \
2229 maybe-install-dejagnu \
2230 maybe-install-diff \
2231 maybe-install-dosutils \
2232 maybe-install-etc \
2233 maybe-install-fastjar \
2234 maybe-install-fileutils \
2235 maybe-install-findutils \
2236 maybe-install-find \
2237 maybe-install-fixincludes \
2238 maybe-install-flex \
2239 maybe-install-gas \
2240 maybe-install-gawk \
2241 maybe-install-gettext \
2242 maybe-install-gnuserv \
2243 maybe-install-gprof \
2244 maybe-install-gzip \
2245 maybe-install-hello \
2246 maybe-install-indent \
2247 maybe-install-intl \
2248 maybe-install-tcl \
2249 maybe-install-itcl \
2250 maybe-install-ld \
2251 maybe-install-libcpp \
2252 maybe-install-libgui \
2253 maybe-install-libiberty \
2254 maybe-install-libtool \
2255 maybe-install-m4 \
2256 maybe-install-make \
2257 maybe-install-mmalloc \
2258 maybe-install-patch \
2259 maybe-install-perl \
2260 maybe-install-prms \
2261 maybe-install-rcs \
2262 maybe-install-readline \
2263 maybe-install-release \
2264 maybe-install-recode \
2265 maybe-install-sed \
2266 maybe-install-send-pr \
2267 maybe-install-shellutils \
2268 maybe-install-sid \
2269 maybe-install-sim \
2270 maybe-install-tar \
2271 maybe-install-texinfo \
2272 maybe-install-textutils \
2273 maybe-install-time \
2274 maybe-install-uudecode \
2275 maybe-install-wdiff \
2276 maybe-install-zip \
2277 maybe-install-zlib \
2278 maybe-install-gdb \
2279 maybe-install-expect \
2280 maybe-install-guile \
2281 maybe-install-tk \
2282 maybe-install-libtermcap \
2283 maybe-install-utils \
2284 maybe-install-gnattools
2286 .PHONY: install-host
2287 install-host: \
2288 maybe-install-ash \
2289 maybe-install-autoconf \
2290 maybe-install-automake \
2291 maybe-install-bash \
2292 maybe-install-bfd \
2293 maybe-install-opcodes \
2294 maybe-install-binutils \
2295 maybe-install-bison \
2296 maybe-install-byacc \
2297 maybe-install-bzip2 \
2298 maybe-install-dejagnu \
2299 maybe-install-diff \
2300 maybe-install-dosutils \
2301 maybe-install-etc \
2302 maybe-install-fastjar \
2303 maybe-install-fileutils \
2304 maybe-install-findutils \
2305 maybe-install-find \
2306 maybe-install-fixincludes \
2307 maybe-install-flex \
2308 maybe-install-gas \
2309 maybe-install-gcc \
2310 maybe-install-gawk \
2311 maybe-install-gettext \
2312 maybe-install-gnuserv \
2313 maybe-install-gprof \
2314 maybe-install-gzip \
2315 maybe-install-hello \
2316 maybe-install-indent \
2317 maybe-install-intl \
2318 maybe-install-tcl \
2319 maybe-install-itcl \
2320 maybe-install-ld \
2321 maybe-install-libcpp \
2322 maybe-install-libgui \
2323 maybe-install-libiberty \
2324 maybe-install-libtool \
2325 maybe-install-m4 \
2326 maybe-install-make \
2327 maybe-install-mmalloc \
2328 maybe-install-patch \
2329 maybe-install-perl \
2330 maybe-install-prms \
2331 maybe-install-rcs \
2332 maybe-install-readline \
2333 maybe-install-release \
2334 maybe-install-recode \
2335 maybe-install-sed \
2336 maybe-install-send-pr \
2337 maybe-install-shellutils \
2338 maybe-install-sid \
2339 maybe-install-sim \
2340 maybe-install-tar \
2341 maybe-install-texinfo \
2342 maybe-install-textutils \
2343 maybe-install-time \
2344 maybe-install-uudecode \
2345 maybe-install-wdiff \
2346 maybe-install-zip \
2347 maybe-install-zlib \
2348 maybe-install-gdb \
2349 maybe-install-expect \
2350 maybe-install-guile \
2351 maybe-install-tk \
2352 maybe-install-libtermcap \
2353 maybe-install-utils \
2354 maybe-install-gnattools
2356 .PHONY: install-target
2357 install-target: \
2358 maybe-install-target-libstdc++-v3 \
2359 maybe-install-target-libmudflap \
2360 maybe-install-target-libssp \
2361 maybe-install-target-newlib \
2362 maybe-install-target-libgfortran \
2363 maybe-install-target-libobjc \
2364 maybe-install-target-libtermcap \
2365 maybe-install-target-winsup \
2366 maybe-install-target-libgloss \
2367 maybe-install-target-libiberty \
2368 maybe-install-target-gperf \
2369 maybe-install-target-examples \
2370 maybe-install-target-libffi \
2371 maybe-install-target-libjava \
2372 maybe-install-target-zlib \
2373 maybe-install-target-boehm-gc \
2374 maybe-install-target-qthreads \
2375 maybe-install-target-rda \
2376 maybe-install-target-libada
2378 uninstall:
2379 @echo "the uninstall target is not supported in this tree"
2381 .PHONY: install.all
2382 install.all: install-no-fixedincludes
2383 @if [ -f ./gcc/Makefile ] ; then \
2384 r=`${PWD_COMMAND}` ; export r ; \
2385 $(HOST_EXPORTS) \
2386 (cd ./gcc && \
2387 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2388 else \
2389 true ; \
2392 # install-no-fixedincludes is used because Cygnus can not distribute
2393 # the fixed header files.
2394 .PHONY: install-no-fixedincludes
2395 install-no-fixedincludes: installdirs install-host-nogcc \
2396 install-target gcc-no-fixedincludes
2398 ### other supporting targets
2400 MAKEDIRS= \
2401 $(DESTDIR)$(prefix) \
2402 $(DESTDIR)$(exec_prefix)
2403 .PHONY: installdirs
2404 installdirs: mkinstalldirs
2405 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2407 dir.info: do-install-info
2408 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2409 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2410 mv -f dir.info.new dir.info ; \
2411 else true ; \
2414 dist:
2415 @echo "Building a full distribution of this tree isn't done"
2416 @echo "via 'make dist'. Check out the etc/ subdirectory"
2418 etags tags: TAGS
2420 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2421 # ability to use several tags files at once, so there is probably no need
2422 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2423 # (if we felt like it) have this Makefile write a piece of elisp which
2424 # the user could load to tell emacs19 where all the TAGS files we just
2425 # built are.
2426 TAGS: do-TAGS
2428 # ------------------------------------
2429 # Macros for configure and all targets
2430 # ------------------------------------
2436 # --------------------------------------
2437 # Modules which run on the build machine
2438 # --------------------------------------
2441 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2442 maybe-configure-build-libiberty:
2443 @if build-libiberty
2444 maybe-configure-build-libiberty: configure-build-libiberty
2445 configure-build-libiberty:
2446 @$(unstage)
2447 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2448 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2449 r=`${PWD_COMMAND}`; export r; \
2450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2451 $(BUILD_EXPORTS) \
2452 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2453 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2454 case $(srcdir) in \
2455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2456 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2458 esac; \
2459 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2460 libsrcdir="$$s/libiberty"; \
2461 rm -f no-such-file || : ; \
2462 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2463 $(BUILD_CONFIGARGS) $${srcdiroption} \
2464 || exit 1
2465 @endif build-libiberty
2471 .PHONY: all-build-libiberty maybe-all-build-libiberty
2472 maybe-all-build-libiberty:
2473 @if build-libiberty
2474 TARGET-build-libiberty=all
2475 maybe-all-build-libiberty: all-build-libiberty
2476 all-build-libiberty: configure-build-libiberty
2477 @$(unstage)
2478 @r=`${PWD_COMMAND}`; export r; \
2479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2480 $(BUILD_EXPORTS) \
2481 (cd $(BUILD_SUBDIR)/libiberty && \
2482 $(MAKE) $(TARGET-build-libiberty))
2483 @endif build-libiberty
2489 .PHONY: configure-build-bison maybe-configure-build-bison
2490 maybe-configure-build-bison:
2491 @if build-bison
2492 maybe-configure-build-bison: configure-build-bison
2493 configure-build-bison:
2494 @$(unstage)
2495 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2496 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2497 r=`${PWD_COMMAND}`; export r; \
2498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2499 $(BUILD_EXPORTS) \
2500 echo Configuring in $(BUILD_SUBDIR)/bison; \
2501 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2502 case $(srcdir) in \
2503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2504 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2506 esac; \
2507 srcdiroption="--srcdir=$${topdir}/bison"; \
2508 libsrcdir="$$s/bison"; \
2509 rm -f no-such-file || : ; \
2510 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2511 $(BUILD_CONFIGARGS) $${srcdiroption} \
2512 || exit 1
2513 @endif build-bison
2519 .PHONY: all-build-bison maybe-all-build-bison
2520 maybe-all-build-bison:
2521 @if build-bison
2522 TARGET-build-bison=all
2523 maybe-all-build-bison: all-build-bison
2524 all-build-bison: configure-build-bison
2525 @$(unstage)
2526 @r=`${PWD_COMMAND}`; export r; \
2527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2528 $(BUILD_EXPORTS) \
2529 (cd $(BUILD_SUBDIR)/bison && \
2530 $(MAKE) $(TARGET-build-bison))
2531 @endif build-bison
2537 .PHONY: configure-build-byacc maybe-configure-build-byacc
2538 maybe-configure-build-byacc:
2539 @if build-byacc
2540 maybe-configure-build-byacc: configure-build-byacc
2541 configure-build-byacc:
2542 @$(unstage)
2543 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2544 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2545 r=`${PWD_COMMAND}`; export r; \
2546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2547 $(BUILD_EXPORTS) \
2548 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2549 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2550 case $(srcdir) in \
2551 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2552 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2553 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2554 esac; \
2555 srcdiroption="--srcdir=$${topdir}/byacc"; \
2556 libsrcdir="$$s/byacc"; \
2557 rm -f no-such-file || : ; \
2558 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2559 $(BUILD_CONFIGARGS) $${srcdiroption} \
2560 || exit 1
2561 @endif build-byacc
2567 .PHONY: all-build-byacc maybe-all-build-byacc
2568 maybe-all-build-byacc:
2569 @if build-byacc
2570 TARGET-build-byacc=all
2571 maybe-all-build-byacc: all-build-byacc
2572 all-build-byacc: configure-build-byacc
2573 @$(unstage)
2574 @r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(BUILD_EXPORTS) \
2577 (cd $(BUILD_SUBDIR)/byacc && \
2578 $(MAKE) $(TARGET-build-byacc))
2579 @endif build-byacc
2585 .PHONY: configure-build-flex maybe-configure-build-flex
2586 maybe-configure-build-flex:
2587 @if build-flex
2588 maybe-configure-build-flex: configure-build-flex
2589 configure-build-flex:
2590 @$(unstage)
2591 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2592 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2593 r=`${PWD_COMMAND}`; export r; \
2594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2595 $(BUILD_EXPORTS) \
2596 echo Configuring in $(BUILD_SUBDIR)/flex; \
2597 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2598 case $(srcdir) in \
2599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2600 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2602 esac; \
2603 srcdiroption="--srcdir=$${topdir}/flex"; \
2604 libsrcdir="$$s/flex"; \
2605 rm -f no-such-file || : ; \
2606 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2607 $(BUILD_CONFIGARGS) $${srcdiroption} \
2608 || exit 1
2609 @endif build-flex
2615 .PHONY: all-build-flex maybe-all-build-flex
2616 maybe-all-build-flex:
2617 @if build-flex
2618 TARGET-build-flex=all
2619 maybe-all-build-flex: all-build-flex
2620 all-build-flex: configure-build-flex
2621 @$(unstage)
2622 @r=`${PWD_COMMAND}`; export r; \
2623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2624 $(BUILD_EXPORTS) \
2625 (cd $(BUILD_SUBDIR)/flex && \
2626 $(MAKE) $(TARGET-build-flex))
2627 @endif build-flex
2633 .PHONY: configure-build-m4 maybe-configure-build-m4
2634 maybe-configure-build-m4:
2635 @if build-m4
2636 maybe-configure-build-m4: configure-build-m4
2637 configure-build-m4:
2638 @$(unstage)
2639 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2640 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2641 r=`${PWD_COMMAND}`; export r; \
2642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2643 $(BUILD_EXPORTS) \
2644 echo Configuring in $(BUILD_SUBDIR)/m4; \
2645 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2646 case $(srcdir) in \
2647 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2648 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2649 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2650 esac; \
2651 srcdiroption="--srcdir=$${topdir}/m4"; \
2652 libsrcdir="$$s/m4"; \
2653 rm -f no-such-file || : ; \
2654 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2655 $(BUILD_CONFIGARGS) $${srcdiroption} \
2656 || exit 1
2657 @endif build-m4
2663 .PHONY: all-build-m4 maybe-all-build-m4
2664 maybe-all-build-m4:
2665 @if build-m4
2666 TARGET-build-m4=all
2667 maybe-all-build-m4: all-build-m4
2668 all-build-m4: configure-build-m4
2669 @$(unstage)
2670 @r=`${PWD_COMMAND}`; export r; \
2671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2672 $(BUILD_EXPORTS) \
2673 (cd $(BUILD_SUBDIR)/m4 && \
2674 $(MAKE) $(TARGET-build-m4))
2675 @endif build-m4
2681 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2682 maybe-configure-build-texinfo:
2683 @if build-texinfo
2684 maybe-configure-build-texinfo: configure-build-texinfo
2685 configure-build-texinfo:
2686 @$(unstage)
2687 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2688 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2689 r=`${PWD_COMMAND}`; export r; \
2690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2691 $(BUILD_EXPORTS) \
2692 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2693 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2694 case $(srcdir) in \
2695 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2696 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2697 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2698 esac; \
2699 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2700 libsrcdir="$$s/texinfo"; \
2701 rm -f no-such-file || : ; \
2702 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2703 $(BUILD_CONFIGARGS) $${srcdiroption} \
2704 || exit 1
2705 @endif build-texinfo
2711 .PHONY: all-build-texinfo maybe-all-build-texinfo
2712 maybe-all-build-texinfo:
2713 @if build-texinfo
2714 TARGET-build-texinfo=all
2715 maybe-all-build-texinfo: all-build-texinfo
2716 all-build-texinfo: configure-build-texinfo
2717 @$(unstage)
2718 @r=`${PWD_COMMAND}`; export r; \
2719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2720 $(BUILD_EXPORTS) \
2721 (cd $(BUILD_SUBDIR)/texinfo && \
2722 $(MAKE) $(TARGET-build-texinfo))
2723 @endif build-texinfo
2729 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2730 maybe-configure-build-fixincludes:
2731 @if build-fixincludes
2732 maybe-configure-build-fixincludes: configure-build-fixincludes
2733 configure-build-fixincludes:
2734 @$(unstage)
2735 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2736 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2737 r=`${PWD_COMMAND}`; export r; \
2738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2739 $(BUILD_EXPORTS) \
2740 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2741 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2742 case $(srcdir) in \
2743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2744 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2746 esac; \
2747 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2748 libsrcdir="$$s/fixincludes"; \
2749 rm -f no-such-file || : ; \
2750 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2751 $(BUILD_CONFIGARGS) $${srcdiroption} \
2752 || exit 1
2753 @endif build-fixincludes
2759 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2760 maybe-all-build-fixincludes:
2761 @if build-fixincludes
2762 TARGET-build-fixincludes=all
2763 maybe-all-build-fixincludes: all-build-fixincludes
2764 all-build-fixincludes: configure-build-fixincludes
2765 @$(unstage)
2766 @r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(BUILD_EXPORTS) \
2769 (cd $(BUILD_SUBDIR)/fixincludes && \
2770 $(MAKE) $(TARGET-build-fixincludes))
2771 @endif build-fixincludes
2777 # --------------------------------------
2778 # Modules which run on the host machine
2779 # --------------------------------------
2782 .PHONY: configure-ash maybe-configure-ash
2783 maybe-configure-ash:
2784 @if ash
2785 maybe-configure-ash: configure-ash
2786 configure-ash:
2787 @$(unstage)
2788 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2790 r=`${PWD_COMMAND}`; export r; \
2791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2792 $(HOST_EXPORTS) \
2793 echo Configuring in $(HOST_SUBDIR)/ash; \
2794 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2795 case $(srcdir) in \
2796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2797 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2799 esac; \
2800 srcdiroption="--srcdir=$${topdir}/ash"; \
2801 libsrcdir="$$s/ash"; \
2802 $(SHELL) $${libsrcdir}/configure \
2803 $(HOST_CONFIGARGS) $${srcdiroption} \
2804 || exit 1
2805 @endif ash
2811 .PHONY: all-ash maybe-all-ash
2812 maybe-all-ash:
2813 @if ash
2814 TARGET-ash=all
2815 maybe-all-ash: all-ash
2816 all-ash: configure-ash
2817 @$(unstage)
2818 @r=`${PWD_COMMAND}`; export r; \
2819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2820 $(HOST_EXPORTS) \
2821 (cd $(HOST_SUBDIR)/ash && \
2822 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2823 @endif ash
2828 .PHONY: check-ash maybe-check-ash
2829 maybe-check-ash:
2830 @if ash
2831 maybe-check-ash: check-ash
2833 check-ash:
2834 @$(unstage)
2835 @r=`${PWD_COMMAND}`; export r; \
2836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2837 $(HOST_EXPORTS) \
2838 (cd $(HOST_SUBDIR)/ash && \
2839 $(MAKE) $(FLAGS_TO_PASS) check)
2841 @endif ash
2843 .PHONY: install-ash maybe-install-ash
2844 maybe-install-ash:
2845 @if ash
2846 maybe-install-ash: install-ash
2848 install-ash: installdirs
2849 @$(unstage)
2850 @r=`${PWD_COMMAND}`; export r; \
2851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2852 $(HOST_EXPORTS) \
2853 (cd $(HOST_SUBDIR)/ash && \
2854 $(MAKE) $(FLAGS_TO_PASS) install)
2856 @endif ash
2858 # Other targets (info, dvi, etc.)
2860 .PHONY: maybe-info-ash info-ash
2861 maybe-info-ash:
2862 @if ash
2863 maybe-info-ash: info-ash
2865 info-ash: \
2866 configure-ash
2867 @$(unstage)
2868 @[ -f ./ash/Makefile ] || exit 0; \
2869 r=`${PWD_COMMAND}`; export r; \
2870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2871 $(HOST_EXPORTS) \
2872 for flag in $(EXTRA_HOST_FLAGS) ; do \
2873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2874 done; \
2875 echo "Doing info in ash" ; \
2876 (cd $(HOST_SUBDIR)/ash && \
2877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2879 "RANLIB=$${RANLIB}" \
2880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2881 info) \
2882 || exit 1
2884 @endif ash
2886 .PHONY: maybe-dvi-ash dvi-ash
2887 maybe-dvi-ash:
2888 @if ash
2889 maybe-dvi-ash: dvi-ash
2891 dvi-ash: \
2892 configure-ash
2893 @$(unstage)
2894 @[ -f ./ash/Makefile ] || exit 0; \
2895 r=`${PWD_COMMAND}`; export r; \
2896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2897 $(HOST_EXPORTS) \
2898 for flag in $(EXTRA_HOST_FLAGS) ; do \
2899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2900 done; \
2901 echo "Doing dvi in ash" ; \
2902 (cd $(HOST_SUBDIR)/ash && \
2903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2905 "RANLIB=$${RANLIB}" \
2906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2907 dvi) \
2908 || exit 1
2910 @endif ash
2912 .PHONY: maybe-html-ash html-ash
2913 maybe-html-ash:
2914 @if ash
2915 maybe-html-ash: html-ash
2917 html-ash: \
2918 configure-ash
2919 @$(unstage)
2920 @[ -f ./ash/Makefile ] || exit 0; \
2921 r=`${PWD_COMMAND}`; export r; \
2922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2923 $(HOST_EXPORTS) \
2924 for flag in $(EXTRA_HOST_FLAGS) ; do \
2925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2926 done; \
2927 echo "Doing html in ash" ; \
2928 (cd $(HOST_SUBDIR)/ash && \
2929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2931 "RANLIB=$${RANLIB}" \
2932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2933 html) \
2934 || exit 1
2936 @endif ash
2938 .PHONY: maybe-TAGS-ash TAGS-ash
2939 maybe-TAGS-ash:
2940 @if ash
2941 maybe-TAGS-ash: TAGS-ash
2943 TAGS-ash: \
2944 configure-ash
2945 @$(unstage)
2946 @[ -f ./ash/Makefile ] || exit 0; \
2947 r=`${PWD_COMMAND}`; export r; \
2948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2949 $(HOST_EXPORTS) \
2950 for flag in $(EXTRA_HOST_FLAGS) ; do \
2951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2952 done; \
2953 echo "Doing TAGS in ash" ; \
2954 (cd $(HOST_SUBDIR)/ash && \
2955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2957 "RANLIB=$${RANLIB}" \
2958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2959 TAGS) \
2960 || exit 1
2962 @endif ash
2964 .PHONY: maybe-install-info-ash install-info-ash
2965 maybe-install-info-ash:
2966 @if ash
2967 maybe-install-info-ash: install-info-ash
2969 install-info-ash: \
2970 configure-ash \
2971 info-ash
2972 @$(unstage)
2973 @[ -f ./ash/Makefile ] || exit 0; \
2974 r=`${PWD_COMMAND}`; export r; \
2975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2976 $(HOST_EXPORTS) \
2977 for flag in $(EXTRA_HOST_FLAGS) ; do \
2978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2979 done; \
2980 echo "Doing install-info in ash" ; \
2981 (cd $(HOST_SUBDIR)/ash && \
2982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2984 "RANLIB=$${RANLIB}" \
2985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2986 install-info) \
2987 || exit 1
2989 @endif ash
2991 .PHONY: maybe-installcheck-ash installcheck-ash
2992 maybe-installcheck-ash:
2993 @if ash
2994 maybe-installcheck-ash: installcheck-ash
2996 installcheck-ash: \
2997 configure-ash
2998 @$(unstage)
2999 @[ -f ./ash/Makefile ] || exit 0; \
3000 r=`${PWD_COMMAND}`; export r; \
3001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3002 $(HOST_EXPORTS) \
3003 for flag in $(EXTRA_HOST_FLAGS) ; do \
3004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3005 done; \
3006 echo "Doing installcheck in ash" ; \
3007 (cd $(HOST_SUBDIR)/ash && \
3008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3010 "RANLIB=$${RANLIB}" \
3011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3012 installcheck) \
3013 || exit 1
3015 @endif ash
3017 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3018 maybe-mostlyclean-ash:
3019 @if ash
3020 maybe-mostlyclean-ash: mostlyclean-ash
3022 mostlyclean-ash:
3023 @$(unstage)
3024 @[ -f ./ash/Makefile ] || exit 0; \
3025 r=`${PWD_COMMAND}`; export r; \
3026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3027 $(HOST_EXPORTS) \
3028 for flag in $(EXTRA_HOST_FLAGS) ; do \
3029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3030 done; \
3031 echo "Doing mostlyclean in ash" ; \
3032 (cd $(HOST_SUBDIR)/ash && \
3033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3035 "RANLIB=$${RANLIB}" \
3036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3037 mostlyclean) \
3038 || exit 1
3040 @endif ash
3042 .PHONY: maybe-clean-ash clean-ash
3043 maybe-clean-ash:
3044 @if ash
3045 maybe-clean-ash: clean-ash
3047 clean-ash:
3048 @$(unstage)
3049 @[ -f ./ash/Makefile ] || exit 0; \
3050 r=`${PWD_COMMAND}`; export r; \
3051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3052 $(HOST_EXPORTS) \
3053 for flag in $(EXTRA_HOST_FLAGS) ; do \
3054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3055 done; \
3056 echo "Doing clean in ash" ; \
3057 (cd $(HOST_SUBDIR)/ash && \
3058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3060 "RANLIB=$${RANLIB}" \
3061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3062 clean) \
3063 || exit 1
3065 @endif ash
3067 .PHONY: maybe-distclean-ash distclean-ash
3068 maybe-distclean-ash:
3069 @if ash
3070 maybe-distclean-ash: distclean-ash
3072 distclean-ash:
3073 @$(unstage)
3074 @[ -f ./ash/Makefile ] || exit 0; \
3075 r=`${PWD_COMMAND}`; export r; \
3076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3077 $(HOST_EXPORTS) \
3078 for flag in $(EXTRA_HOST_FLAGS) ; do \
3079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3080 done; \
3081 echo "Doing distclean in ash" ; \
3082 (cd $(HOST_SUBDIR)/ash && \
3083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3085 "RANLIB=$${RANLIB}" \
3086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3087 distclean) \
3088 || exit 1
3090 @endif ash
3092 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3093 maybe-maintainer-clean-ash:
3094 @if ash
3095 maybe-maintainer-clean-ash: maintainer-clean-ash
3097 maintainer-clean-ash:
3098 @$(unstage)
3099 @[ -f ./ash/Makefile ] || exit 0; \
3100 r=`${PWD_COMMAND}`; export r; \
3101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3102 $(HOST_EXPORTS) \
3103 for flag in $(EXTRA_HOST_FLAGS) ; do \
3104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3105 done; \
3106 echo "Doing maintainer-clean in ash" ; \
3107 (cd $(HOST_SUBDIR)/ash && \
3108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3110 "RANLIB=$${RANLIB}" \
3111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3112 maintainer-clean) \
3113 || exit 1
3115 @endif ash
3119 .PHONY: configure-autoconf maybe-configure-autoconf
3120 maybe-configure-autoconf:
3121 @if autoconf
3122 maybe-configure-autoconf: configure-autoconf
3123 configure-autoconf:
3124 @$(unstage)
3125 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3127 r=`${PWD_COMMAND}`; export r; \
3128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3129 $(HOST_EXPORTS) \
3130 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3131 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3132 case $(srcdir) in \
3133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3134 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3136 esac; \
3137 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3138 libsrcdir="$$s/autoconf"; \
3139 $(SHELL) $${libsrcdir}/configure \
3140 $(HOST_CONFIGARGS) $${srcdiroption} \
3141 || exit 1
3142 @endif autoconf
3148 .PHONY: all-autoconf maybe-all-autoconf
3149 maybe-all-autoconf:
3150 @if autoconf
3151 TARGET-autoconf=all
3152 maybe-all-autoconf: all-autoconf
3153 all-autoconf: configure-autoconf
3154 @$(unstage)
3155 @r=`${PWD_COMMAND}`; export r; \
3156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3157 $(HOST_EXPORTS) \
3158 (cd $(HOST_SUBDIR)/autoconf && \
3159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3160 @endif autoconf
3165 .PHONY: check-autoconf maybe-check-autoconf
3166 maybe-check-autoconf:
3167 @if autoconf
3168 maybe-check-autoconf: check-autoconf
3170 check-autoconf:
3171 @$(unstage)
3172 @r=`${PWD_COMMAND}`; export r; \
3173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3174 $(HOST_EXPORTS) \
3175 (cd $(HOST_SUBDIR)/autoconf && \
3176 $(MAKE) $(FLAGS_TO_PASS) check)
3178 @endif autoconf
3180 .PHONY: install-autoconf maybe-install-autoconf
3181 maybe-install-autoconf:
3182 @if autoconf
3183 maybe-install-autoconf: install-autoconf
3185 install-autoconf: installdirs
3186 @$(unstage)
3187 @r=`${PWD_COMMAND}`; export r; \
3188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3189 $(HOST_EXPORTS) \
3190 (cd $(HOST_SUBDIR)/autoconf && \
3191 $(MAKE) $(FLAGS_TO_PASS) install)
3193 @endif autoconf
3195 # Other targets (info, dvi, etc.)
3197 .PHONY: maybe-info-autoconf info-autoconf
3198 maybe-info-autoconf:
3199 @if autoconf
3200 maybe-info-autoconf: info-autoconf
3202 info-autoconf: \
3203 configure-autoconf
3204 @$(unstage)
3205 @[ -f ./autoconf/Makefile ] || exit 0; \
3206 r=`${PWD_COMMAND}`; export r; \
3207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3208 $(HOST_EXPORTS) \
3209 for flag in $(EXTRA_HOST_FLAGS) ; do \
3210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3211 done; \
3212 echo "Doing info in autoconf" ; \
3213 (cd $(HOST_SUBDIR)/autoconf && \
3214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3216 "RANLIB=$${RANLIB}" \
3217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3218 info) \
3219 || exit 1
3221 @endif autoconf
3223 .PHONY: maybe-dvi-autoconf dvi-autoconf
3224 maybe-dvi-autoconf:
3225 @if autoconf
3226 maybe-dvi-autoconf: dvi-autoconf
3228 dvi-autoconf: \
3229 configure-autoconf
3230 @$(unstage)
3231 @[ -f ./autoconf/Makefile ] || exit 0; \
3232 r=`${PWD_COMMAND}`; export r; \
3233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3234 $(HOST_EXPORTS) \
3235 for flag in $(EXTRA_HOST_FLAGS) ; do \
3236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3237 done; \
3238 echo "Doing dvi in autoconf" ; \
3239 (cd $(HOST_SUBDIR)/autoconf && \
3240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3242 "RANLIB=$${RANLIB}" \
3243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3244 dvi) \
3245 || exit 1
3247 @endif autoconf
3249 .PHONY: maybe-html-autoconf html-autoconf
3250 maybe-html-autoconf:
3251 @if autoconf
3252 maybe-html-autoconf: html-autoconf
3254 html-autoconf: \
3255 configure-autoconf
3256 @$(unstage)
3257 @[ -f ./autoconf/Makefile ] || exit 0; \
3258 r=`${PWD_COMMAND}`; export r; \
3259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3260 $(HOST_EXPORTS) \
3261 for flag in $(EXTRA_HOST_FLAGS) ; do \
3262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3263 done; \
3264 echo "Doing html in autoconf" ; \
3265 (cd $(HOST_SUBDIR)/autoconf && \
3266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3268 "RANLIB=$${RANLIB}" \
3269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3270 html) \
3271 || exit 1
3273 @endif autoconf
3275 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3276 maybe-TAGS-autoconf:
3277 @if autoconf
3278 maybe-TAGS-autoconf: TAGS-autoconf
3280 TAGS-autoconf: \
3281 configure-autoconf
3282 @$(unstage)
3283 @[ -f ./autoconf/Makefile ] || exit 0; \
3284 r=`${PWD_COMMAND}`; export r; \
3285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3286 $(HOST_EXPORTS) \
3287 for flag in $(EXTRA_HOST_FLAGS) ; do \
3288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3289 done; \
3290 echo "Doing TAGS in autoconf" ; \
3291 (cd $(HOST_SUBDIR)/autoconf && \
3292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3294 "RANLIB=$${RANLIB}" \
3295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3296 TAGS) \
3297 || exit 1
3299 @endif autoconf
3301 .PHONY: maybe-install-info-autoconf install-info-autoconf
3302 maybe-install-info-autoconf:
3303 @if autoconf
3304 maybe-install-info-autoconf: install-info-autoconf
3306 install-info-autoconf: \
3307 configure-autoconf \
3308 info-autoconf
3309 @$(unstage)
3310 @[ -f ./autoconf/Makefile ] || exit 0; \
3311 r=`${PWD_COMMAND}`; export r; \
3312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3313 $(HOST_EXPORTS) \
3314 for flag in $(EXTRA_HOST_FLAGS) ; do \
3315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3316 done; \
3317 echo "Doing install-info in autoconf" ; \
3318 (cd $(HOST_SUBDIR)/autoconf && \
3319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3321 "RANLIB=$${RANLIB}" \
3322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3323 install-info) \
3324 || exit 1
3326 @endif autoconf
3328 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3329 maybe-installcheck-autoconf:
3330 @if autoconf
3331 maybe-installcheck-autoconf: installcheck-autoconf
3333 installcheck-autoconf: \
3334 configure-autoconf
3335 @$(unstage)
3336 @[ -f ./autoconf/Makefile ] || exit 0; \
3337 r=`${PWD_COMMAND}`; export r; \
3338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3339 $(HOST_EXPORTS) \
3340 for flag in $(EXTRA_HOST_FLAGS) ; do \
3341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3342 done; \
3343 echo "Doing installcheck in autoconf" ; \
3344 (cd $(HOST_SUBDIR)/autoconf && \
3345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3347 "RANLIB=$${RANLIB}" \
3348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3349 installcheck) \
3350 || exit 1
3352 @endif autoconf
3354 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3355 maybe-mostlyclean-autoconf:
3356 @if autoconf
3357 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3359 mostlyclean-autoconf:
3360 @$(unstage)
3361 @[ -f ./autoconf/Makefile ] || exit 0; \
3362 r=`${PWD_COMMAND}`; export r; \
3363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3364 $(HOST_EXPORTS) \
3365 for flag in $(EXTRA_HOST_FLAGS) ; do \
3366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3367 done; \
3368 echo "Doing mostlyclean in autoconf" ; \
3369 (cd $(HOST_SUBDIR)/autoconf && \
3370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3372 "RANLIB=$${RANLIB}" \
3373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3374 mostlyclean) \
3375 || exit 1
3377 @endif autoconf
3379 .PHONY: maybe-clean-autoconf clean-autoconf
3380 maybe-clean-autoconf:
3381 @if autoconf
3382 maybe-clean-autoconf: clean-autoconf
3384 clean-autoconf:
3385 @$(unstage)
3386 @[ -f ./autoconf/Makefile ] || exit 0; \
3387 r=`${PWD_COMMAND}`; export r; \
3388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3389 $(HOST_EXPORTS) \
3390 for flag in $(EXTRA_HOST_FLAGS) ; do \
3391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3392 done; \
3393 echo "Doing clean in autoconf" ; \
3394 (cd $(HOST_SUBDIR)/autoconf && \
3395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3397 "RANLIB=$${RANLIB}" \
3398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3399 clean) \
3400 || exit 1
3402 @endif autoconf
3404 .PHONY: maybe-distclean-autoconf distclean-autoconf
3405 maybe-distclean-autoconf:
3406 @if autoconf
3407 maybe-distclean-autoconf: distclean-autoconf
3409 distclean-autoconf:
3410 @$(unstage)
3411 @[ -f ./autoconf/Makefile ] || exit 0; \
3412 r=`${PWD_COMMAND}`; export r; \
3413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3414 $(HOST_EXPORTS) \
3415 for flag in $(EXTRA_HOST_FLAGS) ; do \
3416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3417 done; \
3418 echo "Doing distclean in autoconf" ; \
3419 (cd $(HOST_SUBDIR)/autoconf && \
3420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3422 "RANLIB=$${RANLIB}" \
3423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3424 distclean) \
3425 || exit 1
3427 @endif autoconf
3429 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3430 maybe-maintainer-clean-autoconf:
3431 @if autoconf
3432 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3434 maintainer-clean-autoconf:
3435 @$(unstage)
3436 @[ -f ./autoconf/Makefile ] || exit 0; \
3437 r=`${PWD_COMMAND}`; export r; \
3438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3439 $(HOST_EXPORTS) \
3440 for flag in $(EXTRA_HOST_FLAGS) ; do \
3441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3442 done; \
3443 echo "Doing maintainer-clean in autoconf" ; \
3444 (cd $(HOST_SUBDIR)/autoconf && \
3445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3447 "RANLIB=$${RANLIB}" \
3448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3449 maintainer-clean) \
3450 || exit 1
3452 @endif autoconf
3456 .PHONY: configure-automake maybe-configure-automake
3457 maybe-configure-automake:
3458 @if automake
3459 maybe-configure-automake: configure-automake
3460 configure-automake:
3461 @$(unstage)
3462 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3464 r=`${PWD_COMMAND}`; export r; \
3465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3466 $(HOST_EXPORTS) \
3467 echo Configuring in $(HOST_SUBDIR)/automake; \
3468 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3469 case $(srcdir) in \
3470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3471 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3473 esac; \
3474 srcdiroption="--srcdir=$${topdir}/automake"; \
3475 libsrcdir="$$s/automake"; \
3476 $(SHELL) $${libsrcdir}/configure \
3477 $(HOST_CONFIGARGS) $${srcdiroption} \
3478 || exit 1
3479 @endif automake
3485 .PHONY: all-automake maybe-all-automake
3486 maybe-all-automake:
3487 @if automake
3488 TARGET-automake=all
3489 maybe-all-automake: all-automake
3490 all-automake: configure-automake
3491 @$(unstage)
3492 @r=`${PWD_COMMAND}`; export r; \
3493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3494 $(HOST_EXPORTS) \
3495 (cd $(HOST_SUBDIR)/automake && \
3496 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3497 @endif automake
3502 .PHONY: check-automake maybe-check-automake
3503 maybe-check-automake:
3504 @if automake
3505 maybe-check-automake: check-automake
3507 check-automake:
3508 @$(unstage)
3509 @r=`${PWD_COMMAND}`; export r; \
3510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3511 $(HOST_EXPORTS) \
3512 (cd $(HOST_SUBDIR)/automake && \
3513 $(MAKE) $(FLAGS_TO_PASS) check)
3515 @endif automake
3517 .PHONY: install-automake maybe-install-automake
3518 maybe-install-automake:
3519 @if automake
3520 maybe-install-automake: install-automake
3522 install-automake: installdirs
3523 @$(unstage)
3524 @r=`${PWD_COMMAND}`; export r; \
3525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3526 $(HOST_EXPORTS) \
3527 (cd $(HOST_SUBDIR)/automake && \
3528 $(MAKE) $(FLAGS_TO_PASS) install)
3530 @endif automake
3532 # Other targets (info, dvi, etc.)
3534 .PHONY: maybe-info-automake info-automake
3535 maybe-info-automake:
3536 @if automake
3537 maybe-info-automake: info-automake
3539 info-automake: \
3540 configure-automake
3541 @$(unstage)
3542 @[ -f ./automake/Makefile ] || exit 0; \
3543 r=`${PWD_COMMAND}`; export r; \
3544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3545 $(HOST_EXPORTS) \
3546 for flag in $(EXTRA_HOST_FLAGS) ; do \
3547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3548 done; \
3549 echo "Doing info in automake" ; \
3550 (cd $(HOST_SUBDIR)/automake && \
3551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3553 "RANLIB=$${RANLIB}" \
3554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3555 info) \
3556 || exit 1
3558 @endif automake
3560 .PHONY: maybe-dvi-automake dvi-automake
3561 maybe-dvi-automake:
3562 @if automake
3563 maybe-dvi-automake: dvi-automake
3565 dvi-automake: \
3566 configure-automake
3567 @$(unstage)
3568 @[ -f ./automake/Makefile ] || exit 0; \
3569 r=`${PWD_COMMAND}`; export r; \
3570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3571 $(HOST_EXPORTS) \
3572 for flag in $(EXTRA_HOST_FLAGS) ; do \
3573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3574 done; \
3575 echo "Doing dvi in automake" ; \
3576 (cd $(HOST_SUBDIR)/automake && \
3577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3579 "RANLIB=$${RANLIB}" \
3580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3581 dvi) \
3582 || exit 1
3584 @endif automake
3586 .PHONY: maybe-html-automake html-automake
3587 maybe-html-automake:
3588 @if automake
3589 maybe-html-automake: html-automake
3591 html-automake: \
3592 configure-automake
3593 @$(unstage)
3594 @[ -f ./automake/Makefile ] || exit 0; \
3595 r=`${PWD_COMMAND}`; export r; \
3596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3597 $(HOST_EXPORTS) \
3598 for flag in $(EXTRA_HOST_FLAGS) ; do \
3599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3600 done; \
3601 echo "Doing html in automake" ; \
3602 (cd $(HOST_SUBDIR)/automake && \
3603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3605 "RANLIB=$${RANLIB}" \
3606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3607 html) \
3608 || exit 1
3610 @endif automake
3612 .PHONY: maybe-TAGS-automake TAGS-automake
3613 maybe-TAGS-automake:
3614 @if automake
3615 maybe-TAGS-automake: TAGS-automake
3617 TAGS-automake: \
3618 configure-automake
3619 @$(unstage)
3620 @[ -f ./automake/Makefile ] || exit 0; \
3621 r=`${PWD_COMMAND}`; export r; \
3622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3623 $(HOST_EXPORTS) \
3624 for flag in $(EXTRA_HOST_FLAGS) ; do \
3625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3626 done; \
3627 echo "Doing TAGS in automake" ; \
3628 (cd $(HOST_SUBDIR)/automake && \
3629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3631 "RANLIB=$${RANLIB}" \
3632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3633 TAGS) \
3634 || exit 1
3636 @endif automake
3638 .PHONY: maybe-install-info-automake install-info-automake
3639 maybe-install-info-automake:
3640 @if automake
3641 maybe-install-info-automake: install-info-automake
3643 install-info-automake: \
3644 configure-automake \
3645 info-automake
3646 @$(unstage)
3647 @[ -f ./automake/Makefile ] || exit 0; \
3648 r=`${PWD_COMMAND}`; export r; \
3649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3650 $(HOST_EXPORTS) \
3651 for flag in $(EXTRA_HOST_FLAGS) ; do \
3652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3653 done; \
3654 echo "Doing install-info in automake" ; \
3655 (cd $(HOST_SUBDIR)/automake && \
3656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3658 "RANLIB=$${RANLIB}" \
3659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3660 install-info) \
3661 || exit 1
3663 @endif automake
3665 .PHONY: maybe-installcheck-automake installcheck-automake
3666 maybe-installcheck-automake:
3667 @if automake
3668 maybe-installcheck-automake: installcheck-automake
3670 installcheck-automake: \
3671 configure-automake
3672 @$(unstage)
3673 @[ -f ./automake/Makefile ] || exit 0; \
3674 r=`${PWD_COMMAND}`; export r; \
3675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3676 $(HOST_EXPORTS) \
3677 for flag in $(EXTRA_HOST_FLAGS) ; do \
3678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3679 done; \
3680 echo "Doing installcheck in automake" ; \
3681 (cd $(HOST_SUBDIR)/automake && \
3682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3684 "RANLIB=$${RANLIB}" \
3685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3686 installcheck) \
3687 || exit 1
3689 @endif automake
3691 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3692 maybe-mostlyclean-automake:
3693 @if automake
3694 maybe-mostlyclean-automake: mostlyclean-automake
3696 mostlyclean-automake:
3697 @$(unstage)
3698 @[ -f ./automake/Makefile ] || exit 0; \
3699 r=`${PWD_COMMAND}`; export r; \
3700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3701 $(HOST_EXPORTS) \
3702 for flag in $(EXTRA_HOST_FLAGS) ; do \
3703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3704 done; \
3705 echo "Doing mostlyclean in automake" ; \
3706 (cd $(HOST_SUBDIR)/automake && \
3707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3709 "RANLIB=$${RANLIB}" \
3710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3711 mostlyclean) \
3712 || exit 1
3714 @endif automake
3716 .PHONY: maybe-clean-automake clean-automake
3717 maybe-clean-automake:
3718 @if automake
3719 maybe-clean-automake: clean-automake
3721 clean-automake:
3722 @$(unstage)
3723 @[ -f ./automake/Makefile ] || exit 0; \
3724 r=`${PWD_COMMAND}`; export r; \
3725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3726 $(HOST_EXPORTS) \
3727 for flag in $(EXTRA_HOST_FLAGS) ; do \
3728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3729 done; \
3730 echo "Doing clean in automake" ; \
3731 (cd $(HOST_SUBDIR)/automake && \
3732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3734 "RANLIB=$${RANLIB}" \
3735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3736 clean) \
3737 || exit 1
3739 @endif automake
3741 .PHONY: maybe-distclean-automake distclean-automake
3742 maybe-distclean-automake:
3743 @if automake
3744 maybe-distclean-automake: distclean-automake
3746 distclean-automake:
3747 @$(unstage)
3748 @[ -f ./automake/Makefile ] || exit 0; \
3749 r=`${PWD_COMMAND}`; export r; \
3750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3751 $(HOST_EXPORTS) \
3752 for flag in $(EXTRA_HOST_FLAGS) ; do \
3753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3754 done; \
3755 echo "Doing distclean in automake" ; \
3756 (cd $(HOST_SUBDIR)/automake && \
3757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3759 "RANLIB=$${RANLIB}" \
3760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3761 distclean) \
3762 || exit 1
3764 @endif automake
3766 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3767 maybe-maintainer-clean-automake:
3768 @if automake
3769 maybe-maintainer-clean-automake: maintainer-clean-automake
3771 maintainer-clean-automake:
3772 @$(unstage)
3773 @[ -f ./automake/Makefile ] || exit 0; \
3774 r=`${PWD_COMMAND}`; export r; \
3775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3776 $(HOST_EXPORTS) \
3777 for flag in $(EXTRA_HOST_FLAGS) ; do \
3778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3779 done; \
3780 echo "Doing maintainer-clean in automake" ; \
3781 (cd $(HOST_SUBDIR)/automake && \
3782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3784 "RANLIB=$${RANLIB}" \
3785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3786 maintainer-clean) \
3787 || exit 1
3789 @endif automake
3793 .PHONY: configure-bash maybe-configure-bash
3794 maybe-configure-bash:
3795 @if bash
3796 maybe-configure-bash: configure-bash
3797 configure-bash:
3798 @$(unstage)
3799 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3801 r=`${PWD_COMMAND}`; export r; \
3802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3803 $(HOST_EXPORTS) \
3804 echo Configuring in $(HOST_SUBDIR)/bash; \
3805 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3806 case $(srcdir) in \
3807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3808 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3810 esac; \
3811 srcdiroption="--srcdir=$${topdir}/bash"; \
3812 libsrcdir="$$s/bash"; \
3813 $(SHELL) $${libsrcdir}/configure \
3814 $(HOST_CONFIGARGS) $${srcdiroption} \
3815 || exit 1
3816 @endif bash
3822 .PHONY: all-bash maybe-all-bash
3823 maybe-all-bash:
3824 @if bash
3825 TARGET-bash=all
3826 maybe-all-bash: all-bash
3827 all-bash: configure-bash
3828 @$(unstage)
3829 @r=`${PWD_COMMAND}`; export r; \
3830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3831 $(HOST_EXPORTS) \
3832 (cd $(HOST_SUBDIR)/bash && \
3833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3834 @endif bash
3839 .PHONY: check-bash maybe-check-bash
3840 maybe-check-bash:
3841 @if bash
3842 maybe-check-bash: check-bash
3844 check-bash:
3845 @$(unstage)
3846 @r=`${PWD_COMMAND}`; export r; \
3847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3848 $(HOST_EXPORTS) \
3849 (cd $(HOST_SUBDIR)/bash && \
3850 $(MAKE) $(FLAGS_TO_PASS) check)
3852 @endif bash
3854 .PHONY: install-bash maybe-install-bash
3855 maybe-install-bash:
3856 @if bash
3857 maybe-install-bash: install-bash
3859 install-bash: installdirs
3860 @$(unstage)
3861 @r=`${PWD_COMMAND}`; export r; \
3862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3863 $(HOST_EXPORTS) \
3864 (cd $(HOST_SUBDIR)/bash && \
3865 $(MAKE) $(FLAGS_TO_PASS) install)
3867 @endif bash
3869 # Other targets (info, dvi, etc.)
3871 .PHONY: maybe-info-bash info-bash
3872 maybe-info-bash:
3873 @if bash
3874 maybe-info-bash: info-bash
3876 info-bash: \
3877 configure-bash
3878 @$(unstage)
3879 @[ -f ./bash/Makefile ] || exit 0; \
3880 r=`${PWD_COMMAND}`; export r; \
3881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3882 $(HOST_EXPORTS) \
3883 for flag in $(EXTRA_HOST_FLAGS) ; do \
3884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3885 done; \
3886 echo "Doing info in bash" ; \
3887 (cd $(HOST_SUBDIR)/bash && \
3888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3890 "RANLIB=$${RANLIB}" \
3891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3892 info) \
3893 || exit 1
3895 @endif bash
3897 .PHONY: maybe-dvi-bash dvi-bash
3898 maybe-dvi-bash:
3899 @if bash
3900 maybe-dvi-bash: dvi-bash
3902 dvi-bash: \
3903 configure-bash
3904 @$(unstage)
3905 @[ -f ./bash/Makefile ] || exit 0; \
3906 r=`${PWD_COMMAND}`; export r; \
3907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3908 $(HOST_EXPORTS) \
3909 for flag in $(EXTRA_HOST_FLAGS) ; do \
3910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3911 done; \
3912 echo "Doing dvi in bash" ; \
3913 (cd $(HOST_SUBDIR)/bash && \
3914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3916 "RANLIB=$${RANLIB}" \
3917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3918 dvi) \
3919 || exit 1
3921 @endif bash
3923 .PHONY: maybe-html-bash html-bash
3924 maybe-html-bash:
3925 @if bash
3926 maybe-html-bash: html-bash
3928 html-bash: \
3929 configure-bash
3930 @$(unstage)
3931 @[ -f ./bash/Makefile ] || exit 0; \
3932 r=`${PWD_COMMAND}`; export r; \
3933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3934 $(HOST_EXPORTS) \
3935 for flag in $(EXTRA_HOST_FLAGS) ; do \
3936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3937 done; \
3938 echo "Doing html in bash" ; \
3939 (cd $(HOST_SUBDIR)/bash && \
3940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3942 "RANLIB=$${RANLIB}" \
3943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3944 html) \
3945 || exit 1
3947 @endif bash
3949 .PHONY: maybe-TAGS-bash TAGS-bash
3950 maybe-TAGS-bash:
3951 @if bash
3952 maybe-TAGS-bash: TAGS-bash
3954 TAGS-bash: \
3955 configure-bash
3956 @$(unstage)
3957 @[ -f ./bash/Makefile ] || exit 0; \
3958 r=`${PWD_COMMAND}`; export r; \
3959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3960 $(HOST_EXPORTS) \
3961 for flag in $(EXTRA_HOST_FLAGS) ; do \
3962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3963 done; \
3964 echo "Doing TAGS in bash" ; \
3965 (cd $(HOST_SUBDIR)/bash && \
3966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3968 "RANLIB=$${RANLIB}" \
3969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3970 TAGS) \
3971 || exit 1
3973 @endif bash
3975 .PHONY: maybe-install-info-bash install-info-bash
3976 maybe-install-info-bash:
3977 @if bash
3978 maybe-install-info-bash: install-info-bash
3980 install-info-bash: \
3981 configure-bash \
3982 info-bash
3983 @$(unstage)
3984 @[ -f ./bash/Makefile ] || exit 0; \
3985 r=`${PWD_COMMAND}`; export r; \
3986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3987 $(HOST_EXPORTS) \
3988 for flag in $(EXTRA_HOST_FLAGS) ; do \
3989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3990 done; \
3991 echo "Doing install-info in bash" ; \
3992 (cd $(HOST_SUBDIR)/bash && \
3993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3995 "RANLIB=$${RANLIB}" \
3996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3997 install-info) \
3998 || exit 1
4000 @endif bash
4002 .PHONY: maybe-installcheck-bash installcheck-bash
4003 maybe-installcheck-bash:
4004 @if bash
4005 maybe-installcheck-bash: installcheck-bash
4007 installcheck-bash: \
4008 configure-bash
4009 @$(unstage)
4010 @[ -f ./bash/Makefile ] || exit 0; \
4011 r=`${PWD_COMMAND}`; export r; \
4012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4013 $(HOST_EXPORTS) \
4014 for flag in $(EXTRA_HOST_FLAGS) ; do \
4015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4016 done; \
4017 echo "Doing installcheck in bash" ; \
4018 (cd $(HOST_SUBDIR)/bash && \
4019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4021 "RANLIB=$${RANLIB}" \
4022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4023 installcheck) \
4024 || exit 1
4026 @endif bash
4028 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4029 maybe-mostlyclean-bash:
4030 @if bash
4031 maybe-mostlyclean-bash: mostlyclean-bash
4033 mostlyclean-bash:
4034 @$(unstage)
4035 @[ -f ./bash/Makefile ] || exit 0; \
4036 r=`${PWD_COMMAND}`; export r; \
4037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4038 $(HOST_EXPORTS) \
4039 for flag in $(EXTRA_HOST_FLAGS) ; do \
4040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4041 done; \
4042 echo "Doing mostlyclean in bash" ; \
4043 (cd $(HOST_SUBDIR)/bash && \
4044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4046 "RANLIB=$${RANLIB}" \
4047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4048 mostlyclean) \
4049 || exit 1
4051 @endif bash
4053 .PHONY: maybe-clean-bash clean-bash
4054 maybe-clean-bash:
4055 @if bash
4056 maybe-clean-bash: clean-bash
4058 clean-bash:
4059 @$(unstage)
4060 @[ -f ./bash/Makefile ] || exit 0; \
4061 r=`${PWD_COMMAND}`; export r; \
4062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4063 $(HOST_EXPORTS) \
4064 for flag in $(EXTRA_HOST_FLAGS) ; do \
4065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4066 done; \
4067 echo "Doing clean in bash" ; \
4068 (cd $(HOST_SUBDIR)/bash && \
4069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4071 "RANLIB=$${RANLIB}" \
4072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4073 clean) \
4074 || exit 1
4076 @endif bash
4078 .PHONY: maybe-distclean-bash distclean-bash
4079 maybe-distclean-bash:
4080 @if bash
4081 maybe-distclean-bash: distclean-bash
4083 distclean-bash:
4084 @$(unstage)
4085 @[ -f ./bash/Makefile ] || exit 0; \
4086 r=`${PWD_COMMAND}`; export r; \
4087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4088 $(HOST_EXPORTS) \
4089 for flag in $(EXTRA_HOST_FLAGS) ; do \
4090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4091 done; \
4092 echo "Doing distclean in bash" ; \
4093 (cd $(HOST_SUBDIR)/bash && \
4094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4096 "RANLIB=$${RANLIB}" \
4097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4098 distclean) \
4099 || exit 1
4101 @endif bash
4103 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4104 maybe-maintainer-clean-bash:
4105 @if bash
4106 maybe-maintainer-clean-bash: maintainer-clean-bash
4108 maintainer-clean-bash:
4109 @$(unstage)
4110 @[ -f ./bash/Makefile ] || exit 0; \
4111 r=`${PWD_COMMAND}`; export r; \
4112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4113 $(HOST_EXPORTS) \
4114 for flag in $(EXTRA_HOST_FLAGS) ; do \
4115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4116 done; \
4117 echo "Doing maintainer-clean in bash" ; \
4118 (cd $(HOST_SUBDIR)/bash && \
4119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4121 "RANLIB=$${RANLIB}" \
4122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4123 maintainer-clean) \
4124 || exit 1
4126 @endif bash
4130 .PHONY: configure-bfd maybe-configure-bfd
4131 maybe-configure-bfd:
4132 @if bfd
4133 maybe-configure-bfd: configure-bfd
4134 configure-bfd:
4135 @test -f stage_last && exit 0; \
4136 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4138 r=`${PWD_COMMAND}`; export r; \
4139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4140 $(HOST_EXPORTS) \
4141 echo Configuring in $(HOST_SUBDIR)/bfd; \
4142 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4143 case $(srcdir) in \
4144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4145 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4147 esac; \
4148 srcdiroption="--srcdir=$${topdir}/bfd"; \
4149 libsrcdir="$$s/bfd"; \
4150 $(SHELL) $${libsrcdir}/configure \
4151 $(HOST_CONFIGARGS) $${srcdiroption} \
4152 || exit 1
4153 @endif bfd
4157 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4158 maybe-configure-stage1-bfd:
4159 @if bfd-bootstrap
4160 maybe-configure-stage1-bfd: configure-stage1-bfd
4161 configure-stage1-bfd:
4162 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4163 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4164 r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 $(HOST_EXPORTS) \
4167 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4168 cd $(HOST_SUBDIR)/bfd || exit 1; \
4169 case $(srcdir) in \
4170 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4171 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4172 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4173 esac; \
4174 srcdiroption="--srcdir=$${topdir}/bfd"; \
4175 libsrcdir="$$s/bfd"; \
4176 $(SHELL) $${libsrcdir}/configure \
4177 $(HOST_CONFIGARGS) $${srcdiroption} \
4178 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4179 @endif bfd-bootstrap
4181 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4182 maybe-configure-stage2-bfd:
4183 @if bfd-bootstrap
4184 maybe-configure-stage2-bfd: configure-stage2-bfd
4185 configure-stage2-bfd:
4186 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4187 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4188 r=`${PWD_COMMAND}`; export r; \
4189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4190 $(HOST_EXPORTS) \
4191 $(POSTSTAGE1_HOST_EXPORTS) \
4192 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4193 cd $(HOST_SUBDIR)/bfd || exit 1; \
4194 case $(srcdir) in \
4195 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4196 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4197 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4198 esac; \
4199 srcdiroption="--srcdir=$${topdir}/bfd"; \
4200 libsrcdir="$$s/bfd"; \
4201 $(SHELL) $${libsrcdir}/configure \
4202 $(HOST_CONFIGARGS) $${srcdiroption} \
4203 @stage2_werror_flag@
4204 @endif bfd-bootstrap
4206 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4207 maybe-configure-stage3-bfd:
4208 @if bfd-bootstrap
4209 maybe-configure-stage3-bfd: configure-stage3-bfd
4210 configure-stage3-bfd:
4211 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4212 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4213 r=`${PWD_COMMAND}`; export r; \
4214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4215 $(HOST_EXPORTS) \
4216 $(POSTSTAGE1_HOST_EXPORTS) \
4217 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4218 cd $(HOST_SUBDIR)/bfd || exit 1; \
4219 case $(srcdir) in \
4220 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4221 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4222 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4223 esac; \
4224 srcdiroption="--srcdir=$${topdir}/bfd"; \
4225 libsrcdir="$$s/bfd"; \
4226 $(SHELL) $${libsrcdir}/configure \
4227 $(HOST_CONFIGARGS) $${srcdiroption} \
4228 @stage2_werror_flag@
4229 @endif bfd-bootstrap
4231 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4232 maybe-configure-stage4-bfd:
4233 @if bfd-bootstrap
4234 maybe-configure-stage4-bfd: configure-stage4-bfd
4235 configure-stage4-bfd:
4236 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4237 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4238 r=`${PWD_COMMAND}`; export r; \
4239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4240 $(HOST_EXPORTS) \
4241 $(POSTSTAGE1_HOST_EXPORTS) \
4242 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4243 cd $(HOST_SUBDIR)/bfd || exit 1; \
4244 case $(srcdir) in \
4245 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4246 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4247 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4248 esac; \
4249 srcdiroption="--srcdir=$${topdir}/bfd"; \
4250 libsrcdir="$$s/bfd"; \
4251 $(SHELL) $${libsrcdir}/configure \
4252 $(HOST_CONFIGARGS) $${srcdiroption} \
4253 @stage2_werror_flag@
4254 @endif bfd-bootstrap
4256 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4257 maybe-configure-stageprofile-bfd:
4258 @if bfd-bootstrap
4259 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4260 configure-stageprofile-bfd:
4261 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4262 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4263 r=`${PWD_COMMAND}`; export r; \
4264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4265 $(HOST_EXPORTS) \
4266 $(POSTSTAGE1_HOST_EXPORTS) \
4267 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4268 cd $(HOST_SUBDIR)/bfd || exit 1; \
4269 case $(srcdir) in \
4270 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4271 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4272 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4273 esac; \
4274 srcdiroption="--srcdir=$${topdir}/bfd"; \
4275 libsrcdir="$$s/bfd"; \
4276 $(SHELL) $${libsrcdir}/configure \
4277 $(HOST_CONFIGARGS) $${srcdiroption} \
4278 @stage2_werror_flag@
4279 @endif bfd-bootstrap
4281 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4282 maybe-configure-stagefeedback-bfd:
4283 @if bfd-bootstrap
4284 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4285 configure-stagefeedback-bfd:
4286 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4287 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4288 r=`${PWD_COMMAND}`; export r; \
4289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4290 $(HOST_EXPORTS) \
4291 $(POSTSTAGE1_HOST_EXPORTS) \
4292 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4293 cd $(HOST_SUBDIR)/bfd || exit 1; \
4294 case $(srcdir) in \
4295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4296 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4298 esac; \
4299 srcdiroption="--srcdir=$${topdir}/bfd"; \
4300 libsrcdir="$$s/bfd"; \
4301 $(SHELL) $${libsrcdir}/configure \
4302 $(HOST_CONFIGARGS) $${srcdiroption} \
4303 @stage2_werror_flag@
4304 @endif bfd-bootstrap
4310 .PHONY: all-bfd maybe-all-bfd
4311 maybe-all-bfd:
4312 @if bfd
4313 TARGET-bfd=all
4314 maybe-all-bfd: all-bfd
4315 all-bfd: configure-bfd
4316 @test -f stage_last && exit 0; \
4317 r=`${PWD_COMMAND}`; export r; \
4318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4319 $(HOST_EXPORTS) \
4320 (cd $(HOST_SUBDIR)/bfd && \
4321 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4322 @endif bfd
4326 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4327 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4328 maybe-all-stage1-bfd:
4329 maybe-clean-stage1-bfd:
4330 @if bfd-bootstrap
4331 maybe-all-stage1-bfd: all-stage1-bfd
4332 all-stage1: all-stage1-bfd
4333 TARGET-stage1-bfd = $(TARGET-bfd)
4334 all-stage1-bfd: configure-stage1-bfd
4335 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4336 @r=`${PWD_COMMAND}`; export r; \
4337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4338 $(HOST_EXPORTS) \
4339 cd $(HOST_SUBDIR)/bfd && \
4340 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4341 $(TARGET-stage1-bfd)
4343 maybe-clean-stage1-bfd: clean-stage1-bfd
4344 clean-stage1: clean-stage1-bfd
4345 clean-stage1-bfd:
4346 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4347 || exit 0 ; \
4348 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4349 cd $(HOST_SUBDIR)/bfd && \
4350 $(MAKE) $(FLAGS_TO_PASS) \
4351 CFLAGS="$(STAGE1_CFLAGS)" clean
4352 @endif bfd-bootstrap
4355 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4356 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4357 maybe-all-stage2-bfd:
4358 maybe-clean-stage2-bfd:
4359 @if bfd-bootstrap
4360 maybe-all-stage2-bfd: all-stage2-bfd
4361 all-stage2: all-stage2-bfd
4362 TARGET-stage2-bfd = $(TARGET-bfd)
4363 all-stage2-bfd: configure-stage2-bfd
4364 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4365 @r=`${PWD_COMMAND}`; export r; \
4366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4367 $(HOST_EXPORTS) \
4368 $(POSTSTAGE1_HOST_EXPORTS) \
4369 cd $(HOST_SUBDIR)/bfd && \
4370 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4371 $(TARGET-stage2-bfd)
4373 maybe-clean-stage2-bfd: clean-stage2-bfd
4374 clean-stage2: clean-stage2-bfd
4375 clean-stage2-bfd:
4376 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4377 || exit 0 ; \
4378 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4379 cd $(HOST_SUBDIR)/bfd && \
4380 $(MAKE) $(FLAGS_TO_PASS) \
4381 $(POSTSTAGE1_FLAGS_TO_PASS) \
4382 clean
4383 @endif bfd-bootstrap
4386 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4387 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4388 maybe-all-stage3-bfd:
4389 maybe-clean-stage3-bfd:
4390 @if bfd-bootstrap
4391 maybe-all-stage3-bfd: all-stage3-bfd
4392 all-stage3: all-stage3-bfd
4393 TARGET-stage3-bfd = $(TARGET-bfd)
4394 all-stage3-bfd: configure-stage3-bfd
4395 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4396 @r=`${PWD_COMMAND}`; export r; \
4397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4398 $(HOST_EXPORTS) \
4399 $(POSTSTAGE1_HOST_EXPORTS) \
4400 cd $(HOST_SUBDIR)/bfd && \
4401 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4402 $(TARGET-stage3-bfd)
4404 maybe-clean-stage3-bfd: clean-stage3-bfd
4405 clean-stage3: clean-stage3-bfd
4406 clean-stage3-bfd:
4407 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4408 || exit 0 ; \
4409 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4410 cd $(HOST_SUBDIR)/bfd && \
4411 $(MAKE) $(FLAGS_TO_PASS) \
4412 $(POSTSTAGE1_FLAGS_TO_PASS) \
4413 clean
4414 @endif bfd-bootstrap
4417 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4418 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4419 maybe-all-stage4-bfd:
4420 maybe-clean-stage4-bfd:
4421 @if bfd-bootstrap
4422 maybe-all-stage4-bfd: all-stage4-bfd
4423 all-stage4: all-stage4-bfd
4424 TARGET-stage4-bfd = $(TARGET-bfd)
4425 all-stage4-bfd: configure-stage4-bfd
4426 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4427 @r=`${PWD_COMMAND}`; export r; \
4428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4429 $(HOST_EXPORTS) \
4430 $(POSTSTAGE1_HOST_EXPORTS) \
4431 cd $(HOST_SUBDIR)/bfd && \
4432 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4433 $(TARGET-stage4-bfd)
4435 maybe-clean-stage4-bfd: clean-stage4-bfd
4436 clean-stage4: clean-stage4-bfd
4437 clean-stage4-bfd:
4438 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4439 || exit 0 ; \
4440 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4441 cd $(HOST_SUBDIR)/bfd && \
4442 $(MAKE) $(FLAGS_TO_PASS) \
4443 $(POSTSTAGE1_FLAGS_TO_PASS) \
4444 clean
4445 @endif bfd-bootstrap
4448 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4449 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4450 maybe-all-stageprofile-bfd:
4451 maybe-clean-stageprofile-bfd:
4452 @if bfd-bootstrap
4453 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4454 all-stageprofile: all-stageprofile-bfd
4455 TARGET-stageprofile-bfd = $(TARGET-bfd)
4456 all-stageprofile-bfd: configure-stageprofile-bfd
4457 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4458 @r=`${PWD_COMMAND}`; export r; \
4459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4460 $(HOST_EXPORTS) \
4461 $(POSTSTAGE1_HOST_EXPORTS) \
4462 cd $(HOST_SUBDIR)/bfd && \
4463 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4464 $(TARGET-stageprofile-bfd)
4466 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4467 clean-stageprofile: clean-stageprofile-bfd
4468 clean-stageprofile-bfd:
4469 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4470 || exit 0 ; \
4471 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4472 cd $(HOST_SUBDIR)/bfd && \
4473 $(MAKE) $(FLAGS_TO_PASS) \
4474 $(POSTSTAGE1_FLAGS_TO_PASS) \
4475 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4476 @endif bfd-bootstrap
4479 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4480 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4481 maybe-all-stagefeedback-bfd:
4482 maybe-clean-stagefeedback-bfd:
4483 @if bfd-bootstrap
4484 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4485 all-stagefeedback: all-stagefeedback-bfd
4486 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4487 all-stagefeedback-bfd: configure-stagefeedback-bfd
4488 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4489 @r=`${PWD_COMMAND}`; export r; \
4490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4491 $(HOST_EXPORTS) \
4492 $(POSTSTAGE1_HOST_EXPORTS) \
4493 cd $(HOST_SUBDIR)/bfd && \
4494 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4495 $(TARGET-stagefeedback-bfd)
4497 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4498 clean-stagefeedback: clean-stagefeedback-bfd
4499 clean-stagefeedback-bfd:
4500 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4501 || exit 0 ; \
4502 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4503 cd $(HOST_SUBDIR)/bfd && \
4504 $(MAKE) $(FLAGS_TO_PASS) \
4505 $(POSTSTAGE1_FLAGS_TO_PASS) \
4506 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4507 @endif bfd-bootstrap
4513 .PHONY: check-bfd maybe-check-bfd
4514 maybe-check-bfd:
4515 @if bfd
4516 maybe-check-bfd: check-bfd
4518 check-bfd:
4519 @$(unstage)
4520 @r=`${PWD_COMMAND}`; export r; \
4521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4522 $(HOST_EXPORTS) \
4523 (cd $(HOST_SUBDIR)/bfd && \
4524 $(MAKE) $(FLAGS_TO_PASS) check)
4526 @endif bfd
4528 .PHONY: install-bfd maybe-install-bfd
4529 maybe-install-bfd:
4530 @if bfd
4531 maybe-install-bfd: install-bfd
4533 install-bfd: installdirs
4534 @$(unstage)
4535 @r=`${PWD_COMMAND}`; export r; \
4536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4537 $(HOST_EXPORTS) \
4538 (cd $(HOST_SUBDIR)/bfd && \
4539 $(MAKE) $(FLAGS_TO_PASS) install)
4541 @endif bfd
4543 # Other targets (info, dvi, etc.)
4545 .PHONY: maybe-info-bfd info-bfd
4546 maybe-info-bfd:
4547 @if bfd
4548 maybe-info-bfd: info-bfd
4550 info-bfd: \
4551 configure-bfd
4552 @[ -f ./bfd/Makefile ] || exit 0; \
4553 r=`${PWD_COMMAND}`; export r; \
4554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4555 $(HOST_EXPORTS) \
4556 for flag in $(EXTRA_HOST_FLAGS) ; do \
4557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4558 done; \
4559 echo "Doing info in bfd" ; \
4560 (cd $(HOST_SUBDIR)/bfd && \
4561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4563 "RANLIB=$${RANLIB}" \
4564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4565 info) \
4566 || exit 1
4568 @endif bfd
4570 .PHONY: maybe-dvi-bfd dvi-bfd
4571 maybe-dvi-bfd:
4572 @if bfd
4573 maybe-dvi-bfd: dvi-bfd
4575 dvi-bfd: \
4576 configure-bfd
4577 @[ -f ./bfd/Makefile ] || exit 0; \
4578 r=`${PWD_COMMAND}`; export r; \
4579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4580 $(HOST_EXPORTS) \
4581 for flag in $(EXTRA_HOST_FLAGS) ; do \
4582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4583 done; \
4584 echo "Doing dvi in bfd" ; \
4585 (cd $(HOST_SUBDIR)/bfd && \
4586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4588 "RANLIB=$${RANLIB}" \
4589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4590 dvi) \
4591 || exit 1
4593 @endif bfd
4595 .PHONY: maybe-html-bfd html-bfd
4596 maybe-html-bfd:
4597 @if bfd
4598 maybe-html-bfd: html-bfd
4600 html-bfd: \
4601 configure-bfd
4602 @[ -f ./bfd/Makefile ] || exit 0; \
4603 r=`${PWD_COMMAND}`; export r; \
4604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4605 $(HOST_EXPORTS) \
4606 for flag in $(EXTRA_HOST_FLAGS) ; do \
4607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4608 done; \
4609 echo "Doing html in bfd" ; \
4610 (cd $(HOST_SUBDIR)/bfd && \
4611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4613 "RANLIB=$${RANLIB}" \
4614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4615 html) \
4616 || exit 1
4618 @endif bfd
4620 .PHONY: maybe-TAGS-bfd TAGS-bfd
4621 maybe-TAGS-bfd:
4622 @if bfd
4623 maybe-TAGS-bfd: TAGS-bfd
4625 TAGS-bfd: \
4626 configure-bfd
4627 @[ -f ./bfd/Makefile ] || exit 0; \
4628 r=`${PWD_COMMAND}`; export r; \
4629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4630 $(HOST_EXPORTS) \
4631 for flag in $(EXTRA_HOST_FLAGS) ; do \
4632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 done; \
4634 echo "Doing TAGS in bfd" ; \
4635 (cd $(HOST_SUBDIR)/bfd && \
4636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4638 "RANLIB=$${RANLIB}" \
4639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4640 TAGS) \
4641 || exit 1
4643 @endif bfd
4645 .PHONY: maybe-install-info-bfd install-info-bfd
4646 maybe-install-info-bfd:
4647 @if bfd
4648 maybe-install-info-bfd: install-info-bfd
4650 install-info-bfd: \
4651 configure-bfd \
4652 info-bfd
4653 @[ -f ./bfd/Makefile ] || exit 0; \
4654 r=`${PWD_COMMAND}`; export r; \
4655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4656 $(HOST_EXPORTS) \
4657 for flag in $(EXTRA_HOST_FLAGS) ; do \
4658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4659 done; \
4660 echo "Doing install-info in bfd" ; \
4661 (cd $(HOST_SUBDIR)/bfd && \
4662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4664 "RANLIB=$${RANLIB}" \
4665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4666 install-info) \
4667 || exit 1
4669 @endif bfd
4671 .PHONY: maybe-installcheck-bfd installcheck-bfd
4672 maybe-installcheck-bfd:
4673 @if bfd
4674 maybe-installcheck-bfd: installcheck-bfd
4676 installcheck-bfd: \
4677 configure-bfd
4678 @[ -f ./bfd/Makefile ] || exit 0; \
4679 r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 $(HOST_EXPORTS) \
4682 for flag in $(EXTRA_HOST_FLAGS) ; do \
4683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4684 done; \
4685 echo "Doing installcheck in bfd" ; \
4686 (cd $(HOST_SUBDIR)/bfd && \
4687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4689 "RANLIB=$${RANLIB}" \
4690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4691 installcheck) \
4692 || exit 1
4694 @endif bfd
4696 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4697 maybe-mostlyclean-bfd:
4698 @if bfd
4699 maybe-mostlyclean-bfd: mostlyclean-bfd
4701 mostlyclean-bfd:
4702 @[ -f ./bfd/Makefile ] || exit 0; \
4703 r=`${PWD_COMMAND}`; export r; \
4704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 $(HOST_EXPORTS) \
4706 for flag in $(EXTRA_HOST_FLAGS) ; do \
4707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4708 done; \
4709 echo "Doing mostlyclean in bfd" ; \
4710 (cd $(HOST_SUBDIR)/bfd && \
4711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4713 "RANLIB=$${RANLIB}" \
4714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4715 mostlyclean) \
4716 || exit 1
4718 @endif bfd
4720 .PHONY: maybe-clean-bfd clean-bfd
4721 maybe-clean-bfd:
4722 @if bfd
4723 maybe-clean-bfd: clean-bfd
4725 clean-bfd:
4726 @[ -f ./bfd/Makefile ] || exit 0; \
4727 r=`${PWD_COMMAND}`; export r; \
4728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 $(HOST_EXPORTS) \
4730 for flag in $(EXTRA_HOST_FLAGS) ; do \
4731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4732 done; \
4733 echo "Doing clean in bfd" ; \
4734 (cd $(HOST_SUBDIR)/bfd && \
4735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4737 "RANLIB=$${RANLIB}" \
4738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4739 clean) \
4740 || exit 1
4742 @endif bfd
4744 .PHONY: maybe-distclean-bfd distclean-bfd
4745 maybe-distclean-bfd:
4746 @if bfd
4747 maybe-distclean-bfd: distclean-bfd
4749 distclean-bfd:
4750 @[ -f ./bfd/Makefile ] || exit 0; \
4751 r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 $(HOST_EXPORTS) \
4754 for flag in $(EXTRA_HOST_FLAGS) ; do \
4755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4756 done; \
4757 echo "Doing distclean in bfd" ; \
4758 (cd $(HOST_SUBDIR)/bfd && \
4759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4761 "RANLIB=$${RANLIB}" \
4762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4763 distclean) \
4764 || exit 1
4766 @endif bfd
4768 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4769 maybe-maintainer-clean-bfd:
4770 @if bfd
4771 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4773 maintainer-clean-bfd:
4774 @[ -f ./bfd/Makefile ] || exit 0; \
4775 r=`${PWD_COMMAND}`; export r; \
4776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4777 $(HOST_EXPORTS) \
4778 for flag in $(EXTRA_HOST_FLAGS) ; do \
4779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4780 done; \
4781 echo "Doing maintainer-clean in bfd" ; \
4782 (cd $(HOST_SUBDIR)/bfd && \
4783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4785 "RANLIB=$${RANLIB}" \
4786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4787 maintainer-clean) \
4788 || exit 1
4790 @endif bfd
4794 .PHONY: configure-opcodes maybe-configure-opcodes
4795 maybe-configure-opcodes:
4796 @if opcodes
4797 maybe-configure-opcodes: configure-opcodes
4798 configure-opcodes:
4799 @test -f stage_last && exit 0; \
4800 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4802 r=`${PWD_COMMAND}`; export r; \
4803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4804 $(HOST_EXPORTS) \
4805 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4806 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4807 case $(srcdir) in \
4808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4809 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4811 esac; \
4812 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4813 libsrcdir="$$s/opcodes"; \
4814 $(SHELL) $${libsrcdir}/configure \
4815 $(HOST_CONFIGARGS) $${srcdiroption} \
4816 || exit 1
4817 @endif opcodes
4821 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4822 maybe-configure-stage1-opcodes:
4823 @if opcodes-bootstrap
4824 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4825 configure-stage1-opcodes:
4826 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4827 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4828 r=`${PWD_COMMAND}`; export r; \
4829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4830 $(HOST_EXPORTS) \
4831 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4832 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4833 case $(srcdir) in \
4834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4835 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4837 esac; \
4838 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4839 libsrcdir="$$s/opcodes"; \
4840 $(SHELL) $${libsrcdir}/configure \
4841 $(HOST_CONFIGARGS) $${srcdiroption} \
4842 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4843 @endif opcodes-bootstrap
4845 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4846 maybe-configure-stage2-opcodes:
4847 @if opcodes-bootstrap
4848 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4849 configure-stage2-opcodes:
4850 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4851 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4852 r=`${PWD_COMMAND}`; export r; \
4853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4854 $(HOST_EXPORTS) \
4855 $(POSTSTAGE1_HOST_EXPORTS) \
4856 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4857 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4858 case $(srcdir) in \
4859 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4860 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4861 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4862 esac; \
4863 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4864 libsrcdir="$$s/opcodes"; \
4865 $(SHELL) $${libsrcdir}/configure \
4866 $(HOST_CONFIGARGS) $${srcdiroption} \
4867 @stage2_werror_flag@
4868 @endif opcodes-bootstrap
4870 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4871 maybe-configure-stage3-opcodes:
4872 @if opcodes-bootstrap
4873 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4874 configure-stage3-opcodes:
4875 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4876 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4877 r=`${PWD_COMMAND}`; export r; \
4878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4879 $(HOST_EXPORTS) \
4880 $(POSTSTAGE1_HOST_EXPORTS) \
4881 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4882 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4883 case $(srcdir) in \
4884 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4885 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4886 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4887 esac; \
4888 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4889 libsrcdir="$$s/opcodes"; \
4890 $(SHELL) $${libsrcdir}/configure \
4891 $(HOST_CONFIGARGS) $${srcdiroption} \
4892 @stage2_werror_flag@
4893 @endif opcodes-bootstrap
4895 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4896 maybe-configure-stage4-opcodes:
4897 @if opcodes-bootstrap
4898 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4899 configure-stage4-opcodes:
4900 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4901 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4902 r=`${PWD_COMMAND}`; export r; \
4903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4904 $(HOST_EXPORTS) \
4905 $(POSTSTAGE1_HOST_EXPORTS) \
4906 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4907 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4908 case $(srcdir) in \
4909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4910 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4912 esac; \
4913 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4914 libsrcdir="$$s/opcodes"; \
4915 $(SHELL) $${libsrcdir}/configure \
4916 $(HOST_CONFIGARGS) $${srcdiroption} \
4917 @stage2_werror_flag@
4918 @endif opcodes-bootstrap
4920 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4921 maybe-configure-stageprofile-opcodes:
4922 @if opcodes-bootstrap
4923 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4924 configure-stageprofile-opcodes:
4925 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4926 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4927 r=`${PWD_COMMAND}`; export r; \
4928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4929 $(HOST_EXPORTS) \
4930 $(POSTSTAGE1_HOST_EXPORTS) \
4931 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4932 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4933 case $(srcdir) in \
4934 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4935 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4936 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4937 esac; \
4938 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4939 libsrcdir="$$s/opcodes"; \
4940 $(SHELL) $${libsrcdir}/configure \
4941 $(HOST_CONFIGARGS) $${srcdiroption} \
4942 @stage2_werror_flag@
4943 @endif opcodes-bootstrap
4945 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4946 maybe-configure-stagefeedback-opcodes:
4947 @if opcodes-bootstrap
4948 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4949 configure-stagefeedback-opcodes:
4950 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4951 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4952 r=`${PWD_COMMAND}`; export r; \
4953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4954 $(HOST_EXPORTS) \
4955 $(POSTSTAGE1_HOST_EXPORTS) \
4956 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4957 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4958 case $(srcdir) in \
4959 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4960 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4961 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4962 esac; \
4963 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4964 libsrcdir="$$s/opcodes"; \
4965 $(SHELL) $${libsrcdir}/configure \
4966 $(HOST_CONFIGARGS) $${srcdiroption} \
4967 @stage2_werror_flag@
4968 @endif opcodes-bootstrap
4974 .PHONY: all-opcodes maybe-all-opcodes
4975 maybe-all-opcodes:
4976 @if opcodes
4977 TARGET-opcodes=all
4978 maybe-all-opcodes: all-opcodes
4979 all-opcodes: configure-opcodes
4980 @test -f stage_last && exit 0; \
4981 r=`${PWD_COMMAND}`; export r; \
4982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4983 $(HOST_EXPORTS) \
4984 (cd $(HOST_SUBDIR)/opcodes && \
4985 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4986 @endif opcodes
4990 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4991 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4992 maybe-all-stage1-opcodes:
4993 maybe-clean-stage1-opcodes:
4994 @if opcodes-bootstrap
4995 maybe-all-stage1-opcodes: all-stage1-opcodes
4996 all-stage1: all-stage1-opcodes
4997 TARGET-stage1-opcodes = $(TARGET-opcodes)
4998 all-stage1-opcodes: configure-stage1-opcodes
4999 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5000 @r=`${PWD_COMMAND}`; export r; \
5001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5002 $(HOST_EXPORTS) \
5003 cd $(HOST_SUBDIR)/opcodes && \
5004 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5005 $(TARGET-stage1-opcodes)
5007 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5008 clean-stage1: clean-stage1-opcodes
5009 clean-stage1-opcodes:
5010 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5011 || exit 0 ; \
5012 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5013 cd $(HOST_SUBDIR)/opcodes && \
5014 $(MAKE) $(FLAGS_TO_PASS) \
5015 CFLAGS="$(STAGE1_CFLAGS)" clean
5016 @endif opcodes-bootstrap
5019 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5020 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5021 maybe-all-stage2-opcodes:
5022 maybe-clean-stage2-opcodes:
5023 @if opcodes-bootstrap
5024 maybe-all-stage2-opcodes: all-stage2-opcodes
5025 all-stage2: all-stage2-opcodes
5026 TARGET-stage2-opcodes = $(TARGET-opcodes)
5027 all-stage2-opcodes: configure-stage2-opcodes
5028 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5029 @r=`${PWD_COMMAND}`; export r; \
5030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5031 $(HOST_EXPORTS) \
5032 $(POSTSTAGE1_HOST_EXPORTS) \
5033 cd $(HOST_SUBDIR)/opcodes && \
5034 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5035 $(TARGET-stage2-opcodes)
5037 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5038 clean-stage2: clean-stage2-opcodes
5039 clean-stage2-opcodes:
5040 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5041 || exit 0 ; \
5042 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5043 cd $(HOST_SUBDIR)/opcodes && \
5044 $(MAKE) $(FLAGS_TO_PASS) \
5045 $(POSTSTAGE1_FLAGS_TO_PASS) \
5046 clean
5047 @endif opcodes-bootstrap
5050 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5051 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5052 maybe-all-stage3-opcodes:
5053 maybe-clean-stage3-opcodes:
5054 @if opcodes-bootstrap
5055 maybe-all-stage3-opcodes: all-stage3-opcodes
5056 all-stage3: all-stage3-opcodes
5057 TARGET-stage3-opcodes = $(TARGET-opcodes)
5058 all-stage3-opcodes: configure-stage3-opcodes
5059 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5060 @r=`${PWD_COMMAND}`; export r; \
5061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5062 $(HOST_EXPORTS) \
5063 $(POSTSTAGE1_HOST_EXPORTS) \
5064 cd $(HOST_SUBDIR)/opcodes && \
5065 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5066 $(TARGET-stage3-opcodes)
5068 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5069 clean-stage3: clean-stage3-opcodes
5070 clean-stage3-opcodes:
5071 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5072 || exit 0 ; \
5073 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5074 cd $(HOST_SUBDIR)/opcodes && \
5075 $(MAKE) $(FLAGS_TO_PASS) \
5076 $(POSTSTAGE1_FLAGS_TO_PASS) \
5077 clean
5078 @endif opcodes-bootstrap
5081 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5082 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5083 maybe-all-stage4-opcodes:
5084 maybe-clean-stage4-opcodes:
5085 @if opcodes-bootstrap
5086 maybe-all-stage4-opcodes: all-stage4-opcodes
5087 all-stage4: all-stage4-opcodes
5088 TARGET-stage4-opcodes = $(TARGET-opcodes)
5089 all-stage4-opcodes: configure-stage4-opcodes
5090 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5091 @r=`${PWD_COMMAND}`; export r; \
5092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5093 $(HOST_EXPORTS) \
5094 $(POSTSTAGE1_HOST_EXPORTS) \
5095 cd $(HOST_SUBDIR)/opcodes && \
5096 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5097 $(TARGET-stage4-opcodes)
5099 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5100 clean-stage4: clean-stage4-opcodes
5101 clean-stage4-opcodes:
5102 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5103 || exit 0 ; \
5104 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5105 cd $(HOST_SUBDIR)/opcodes && \
5106 $(MAKE) $(FLAGS_TO_PASS) \
5107 $(POSTSTAGE1_FLAGS_TO_PASS) \
5108 clean
5109 @endif opcodes-bootstrap
5112 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5113 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5114 maybe-all-stageprofile-opcodes:
5115 maybe-clean-stageprofile-opcodes:
5116 @if opcodes-bootstrap
5117 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5118 all-stageprofile: all-stageprofile-opcodes
5119 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5120 all-stageprofile-opcodes: configure-stageprofile-opcodes
5121 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5122 @r=`${PWD_COMMAND}`; export r; \
5123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5124 $(HOST_EXPORTS) \
5125 $(POSTSTAGE1_HOST_EXPORTS) \
5126 cd $(HOST_SUBDIR)/opcodes && \
5127 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5128 $(TARGET-stageprofile-opcodes)
5130 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5131 clean-stageprofile: clean-stageprofile-opcodes
5132 clean-stageprofile-opcodes:
5133 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5134 || exit 0 ; \
5135 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5136 cd $(HOST_SUBDIR)/opcodes && \
5137 $(MAKE) $(FLAGS_TO_PASS) \
5138 $(POSTSTAGE1_FLAGS_TO_PASS) \
5139 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5140 @endif opcodes-bootstrap
5143 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5144 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5145 maybe-all-stagefeedback-opcodes:
5146 maybe-clean-stagefeedback-opcodes:
5147 @if opcodes-bootstrap
5148 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5149 all-stagefeedback: all-stagefeedback-opcodes
5150 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5151 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5152 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5153 @r=`${PWD_COMMAND}`; export r; \
5154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5155 $(HOST_EXPORTS) \
5156 $(POSTSTAGE1_HOST_EXPORTS) \
5157 cd $(HOST_SUBDIR)/opcodes && \
5158 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5159 $(TARGET-stagefeedback-opcodes)
5161 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5162 clean-stagefeedback: clean-stagefeedback-opcodes
5163 clean-stagefeedback-opcodes:
5164 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5165 || exit 0 ; \
5166 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5167 cd $(HOST_SUBDIR)/opcodes && \
5168 $(MAKE) $(FLAGS_TO_PASS) \
5169 $(POSTSTAGE1_FLAGS_TO_PASS) \
5170 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5171 @endif opcodes-bootstrap
5177 .PHONY: check-opcodes maybe-check-opcodes
5178 maybe-check-opcodes:
5179 @if opcodes
5180 maybe-check-opcodes: check-opcodes
5182 check-opcodes:
5183 @$(unstage)
5184 @r=`${PWD_COMMAND}`; export r; \
5185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5186 $(HOST_EXPORTS) \
5187 (cd $(HOST_SUBDIR)/opcodes && \
5188 $(MAKE) $(FLAGS_TO_PASS) check)
5190 @endif opcodes
5192 .PHONY: install-opcodes maybe-install-opcodes
5193 maybe-install-opcodes:
5194 @if opcodes
5195 maybe-install-opcodes: install-opcodes
5197 install-opcodes: installdirs
5198 @$(unstage)
5199 @r=`${PWD_COMMAND}`; export r; \
5200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5201 $(HOST_EXPORTS) \
5202 (cd $(HOST_SUBDIR)/opcodes && \
5203 $(MAKE) $(FLAGS_TO_PASS) install)
5205 @endif opcodes
5207 # Other targets (info, dvi, etc.)
5209 .PHONY: maybe-info-opcodes info-opcodes
5210 maybe-info-opcodes:
5211 @if opcodes
5212 maybe-info-opcodes: info-opcodes
5214 info-opcodes: \
5215 configure-opcodes
5216 @[ -f ./opcodes/Makefile ] || exit 0; \
5217 r=`${PWD_COMMAND}`; export r; \
5218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5219 $(HOST_EXPORTS) \
5220 for flag in $(EXTRA_HOST_FLAGS) ; do \
5221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5222 done; \
5223 echo "Doing info in opcodes" ; \
5224 (cd $(HOST_SUBDIR)/opcodes && \
5225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5227 "RANLIB=$${RANLIB}" \
5228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5229 info) \
5230 || exit 1
5232 @endif opcodes
5234 .PHONY: maybe-dvi-opcodes dvi-opcodes
5235 maybe-dvi-opcodes:
5236 @if opcodes
5237 maybe-dvi-opcodes: dvi-opcodes
5239 dvi-opcodes: \
5240 configure-opcodes
5241 @[ -f ./opcodes/Makefile ] || exit 0; \
5242 r=`${PWD_COMMAND}`; export r; \
5243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5244 $(HOST_EXPORTS) \
5245 for flag in $(EXTRA_HOST_FLAGS) ; do \
5246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5247 done; \
5248 echo "Doing dvi in opcodes" ; \
5249 (cd $(HOST_SUBDIR)/opcodes && \
5250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5252 "RANLIB=$${RANLIB}" \
5253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5254 dvi) \
5255 || exit 1
5257 @endif opcodes
5259 .PHONY: maybe-html-opcodes html-opcodes
5260 maybe-html-opcodes:
5261 @if opcodes
5262 maybe-html-opcodes: html-opcodes
5264 html-opcodes: \
5265 configure-opcodes
5266 @[ -f ./opcodes/Makefile ] || exit 0; \
5267 r=`${PWD_COMMAND}`; export r; \
5268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5269 $(HOST_EXPORTS) \
5270 for flag in $(EXTRA_HOST_FLAGS) ; do \
5271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5272 done; \
5273 echo "Doing html in opcodes" ; \
5274 (cd $(HOST_SUBDIR)/opcodes && \
5275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5277 "RANLIB=$${RANLIB}" \
5278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5279 html) \
5280 || exit 1
5282 @endif opcodes
5284 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5285 maybe-TAGS-opcodes:
5286 @if opcodes
5287 maybe-TAGS-opcodes: TAGS-opcodes
5289 TAGS-opcodes: \
5290 configure-opcodes
5291 @[ -f ./opcodes/Makefile ] || exit 0; \
5292 r=`${PWD_COMMAND}`; export r; \
5293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5294 $(HOST_EXPORTS) \
5295 for flag in $(EXTRA_HOST_FLAGS) ; do \
5296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5297 done; \
5298 echo "Doing TAGS in opcodes" ; \
5299 (cd $(HOST_SUBDIR)/opcodes && \
5300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5302 "RANLIB=$${RANLIB}" \
5303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5304 TAGS) \
5305 || exit 1
5307 @endif opcodes
5309 .PHONY: maybe-install-info-opcodes install-info-opcodes
5310 maybe-install-info-opcodes:
5311 @if opcodes
5312 maybe-install-info-opcodes: install-info-opcodes
5314 install-info-opcodes: \
5315 configure-opcodes \
5316 info-opcodes
5317 @[ -f ./opcodes/Makefile ] || exit 0; \
5318 r=`${PWD_COMMAND}`; export r; \
5319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5320 $(HOST_EXPORTS) \
5321 for flag in $(EXTRA_HOST_FLAGS) ; do \
5322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5323 done; \
5324 echo "Doing install-info in opcodes" ; \
5325 (cd $(HOST_SUBDIR)/opcodes && \
5326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5328 "RANLIB=$${RANLIB}" \
5329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5330 install-info) \
5331 || exit 1
5333 @endif opcodes
5335 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5336 maybe-installcheck-opcodes:
5337 @if opcodes
5338 maybe-installcheck-opcodes: installcheck-opcodes
5340 installcheck-opcodes: \
5341 configure-opcodes
5342 @[ -f ./opcodes/Makefile ] || exit 0; \
5343 r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 $(HOST_EXPORTS) \
5346 for flag in $(EXTRA_HOST_FLAGS) ; do \
5347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5348 done; \
5349 echo "Doing installcheck in opcodes" ; \
5350 (cd $(HOST_SUBDIR)/opcodes && \
5351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5353 "RANLIB=$${RANLIB}" \
5354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5355 installcheck) \
5356 || exit 1
5358 @endif opcodes
5360 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5361 maybe-mostlyclean-opcodes:
5362 @if opcodes
5363 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5365 mostlyclean-opcodes:
5366 @[ -f ./opcodes/Makefile ] || exit 0; \
5367 r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 $(HOST_EXPORTS) \
5370 for flag in $(EXTRA_HOST_FLAGS) ; do \
5371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5372 done; \
5373 echo "Doing mostlyclean in opcodes" ; \
5374 (cd $(HOST_SUBDIR)/opcodes && \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377 "RANLIB=$${RANLIB}" \
5378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5379 mostlyclean) \
5380 || exit 1
5382 @endif opcodes
5384 .PHONY: maybe-clean-opcodes clean-opcodes
5385 maybe-clean-opcodes:
5386 @if opcodes
5387 maybe-clean-opcodes: clean-opcodes
5389 clean-opcodes:
5390 @[ -f ./opcodes/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(HOST_EXPORTS) \
5394 for flag in $(EXTRA_HOST_FLAGS) ; do \
5395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5396 done; \
5397 echo "Doing clean in opcodes" ; \
5398 (cd $(HOST_SUBDIR)/opcodes && \
5399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401 "RANLIB=$${RANLIB}" \
5402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5403 clean) \
5404 || exit 1
5406 @endif opcodes
5408 .PHONY: maybe-distclean-opcodes distclean-opcodes
5409 maybe-distclean-opcodes:
5410 @if opcodes
5411 maybe-distclean-opcodes: distclean-opcodes
5413 distclean-opcodes:
5414 @[ -f ./opcodes/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 for flag in $(EXTRA_HOST_FLAGS) ; do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420 done; \
5421 echo "Doing distclean in opcodes" ; \
5422 (cd $(HOST_SUBDIR)/opcodes && \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 distclean) \
5428 || exit 1
5430 @endif opcodes
5432 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5433 maybe-maintainer-clean-opcodes:
5434 @if opcodes
5435 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5437 maintainer-clean-opcodes:
5438 @[ -f ./opcodes/Makefile ] || exit 0; \
5439 r=`${PWD_COMMAND}`; export r; \
5440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5441 $(HOST_EXPORTS) \
5442 for flag in $(EXTRA_HOST_FLAGS) ; do \
5443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5444 done; \
5445 echo "Doing maintainer-clean in opcodes" ; \
5446 (cd $(HOST_SUBDIR)/opcodes && \
5447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5449 "RANLIB=$${RANLIB}" \
5450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5451 maintainer-clean) \
5452 || exit 1
5454 @endif opcodes
5458 .PHONY: configure-binutils maybe-configure-binutils
5459 maybe-configure-binutils:
5460 @if binutils
5461 maybe-configure-binutils: configure-binutils
5462 configure-binutils:
5463 @test -f stage_last && exit 0; \
5464 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5466 r=`${PWD_COMMAND}`; export r; \
5467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5468 $(HOST_EXPORTS) \
5469 echo Configuring in $(HOST_SUBDIR)/binutils; \
5470 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5471 case $(srcdir) in \
5472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5473 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5475 esac; \
5476 srcdiroption="--srcdir=$${topdir}/binutils"; \
5477 libsrcdir="$$s/binutils"; \
5478 $(SHELL) $${libsrcdir}/configure \
5479 $(HOST_CONFIGARGS) $${srcdiroption} \
5480 || exit 1
5481 @endif binutils
5485 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5486 maybe-configure-stage1-binutils:
5487 @if binutils-bootstrap
5488 maybe-configure-stage1-binutils: configure-stage1-binutils
5489 configure-stage1-binutils:
5490 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5491 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 $(HOST_EXPORTS) \
5495 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5496 cd $(HOST_SUBDIR)/binutils || exit 1; \
5497 case $(srcdir) in \
5498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5499 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5501 esac; \
5502 srcdiroption="--srcdir=$${topdir}/binutils"; \
5503 libsrcdir="$$s/binutils"; \
5504 $(SHELL) $${libsrcdir}/configure \
5505 $(HOST_CONFIGARGS) $${srcdiroption} \
5506 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5507 @endif binutils-bootstrap
5509 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5510 maybe-configure-stage2-binutils:
5511 @if binutils-bootstrap
5512 maybe-configure-stage2-binutils: configure-stage2-binutils
5513 configure-stage2-binutils:
5514 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5515 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5516 r=`${PWD_COMMAND}`; export r; \
5517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5518 $(HOST_EXPORTS) \
5519 $(POSTSTAGE1_HOST_EXPORTS) \
5520 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5521 cd $(HOST_SUBDIR)/binutils || exit 1; \
5522 case $(srcdir) in \
5523 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5524 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5525 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5526 esac; \
5527 srcdiroption="--srcdir=$${topdir}/binutils"; \
5528 libsrcdir="$$s/binutils"; \
5529 $(SHELL) $${libsrcdir}/configure \
5530 $(HOST_CONFIGARGS) $${srcdiroption} \
5531 @stage2_werror_flag@
5532 @endif binutils-bootstrap
5534 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5535 maybe-configure-stage3-binutils:
5536 @if binutils-bootstrap
5537 maybe-configure-stage3-binutils: configure-stage3-binutils
5538 configure-stage3-binutils:
5539 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5540 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5541 r=`${PWD_COMMAND}`; export r; \
5542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5543 $(HOST_EXPORTS) \
5544 $(POSTSTAGE1_HOST_EXPORTS) \
5545 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5546 cd $(HOST_SUBDIR)/binutils || exit 1; \
5547 case $(srcdir) in \
5548 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5549 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5550 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5551 esac; \
5552 srcdiroption="--srcdir=$${topdir}/binutils"; \
5553 libsrcdir="$$s/binutils"; \
5554 $(SHELL) $${libsrcdir}/configure \
5555 $(HOST_CONFIGARGS) $${srcdiroption} \
5556 @stage2_werror_flag@
5557 @endif binutils-bootstrap
5559 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5560 maybe-configure-stage4-binutils:
5561 @if binutils-bootstrap
5562 maybe-configure-stage4-binutils: configure-stage4-binutils
5563 configure-stage4-binutils:
5564 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5565 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5566 r=`${PWD_COMMAND}`; export r; \
5567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5568 $(HOST_EXPORTS) \
5569 $(POSTSTAGE1_HOST_EXPORTS) \
5570 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5571 cd $(HOST_SUBDIR)/binutils || exit 1; \
5572 case $(srcdir) in \
5573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5574 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5576 esac; \
5577 srcdiroption="--srcdir=$${topdir}/binutils"; \
5578 libsrcdir="$$s/binutils"; \
5579 $(SHELL) $${libsrcdir}/configure \
5580 $(HOST_CONFIGARGS) $${srcdiroption} \
5581 @stage2_werror_flag@
5582 @endif binutils-bootstrap
5584 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5585 maybe-configure-stageprofile-binutils:
5586 @if binutils-bootstrap
5587 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5588 configure-stageprofile-binutils:
5589 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5590 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5591 r=`${PWD_COMMAND}`; export r; \
5592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5593 $(HOST_EXPORTS) \
5594 $(POSTSTAGE1_HOST_EXPORTS) \
5595 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5596 cd $(HOST_SUBDIR)/binutils || exit 1; \
5597 case $(srcdir) in \
5598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5599 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5601 esac; \
5602 srcdiroption="--srcdir=$${topdir}/binutils"; \
5603 libsrcdir="$$s/binutils"; \
5604 $(SHELL) $${libsrcdir}/configure \
5605 $(HOST_CONFIGARGS) $${srcdiroption} \
5606 @stage2_werror_flag@
5607 @endif binutils-bootstrap
5609 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5610 maybe-configure-stagefeedback-binutils:
5611 @if binutils-bootstrap
5612 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5613 configure-stagefeedback-binutils:
5614 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5615 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5616 r=`${PWD_COMMAND}`; export r; \
5617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5618 $(HOST_EXPORTS) \
5619 $(POSTSTAGE1_HOST_EXPORTS) \
5620 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5621 cd $(HOST_SUBDIR)/binutils || exit 1; \
5622 case $(srcdir) in \
5623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5624 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5626 esac; \
5627 srcdiroption="--srcdir=$${topdir}/binutils"; \
5628 libsrcdir="$$s/binutils"; \
5629 $(SHELL) $${libsrcdir}/configure \
5630 $(HOST_CONFIGARGS) $${srcdiroption} \
5631 @stage2_werror_flag@
5632 @endif binutils-bootstrap
5638 .PHONY: all-binutils maybe-all-binutils
5639 maybe-all-binutils:
5640 @if binutils
5641 TARGET-binutils=all
5642 maybe-all-binutils: all-binutils
5643 all-binutils: configure-binutils
5644 @test -f stage_last && exit 0; \
5645 r=`${PWD_COMMAND}`; export r; \
5646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5647 $(HOST_EXPORTS) \
5648 (cd $(HOST_SUBDIR)/binutils && \
5649 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5650 @endif binutils
5654 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5655 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5656 maybe-all-stage1-binutils:
5657 maybe-clean-stage1-binutils:
5658 @if binutils-bootstrap
5659 maybe-all-stage1-binutils: all-stage1-binutils
5660 all-stage1: all-stage1-binutils
5661 TARGET-stage1-binutils = $(TARGET-binutils)
5662 all-stage1-binutils: configure-stage1-binutils
5663 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5664 @r=`${PWD_COMMAND}`; export r; \
5665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5666 $(HOST_EXPORTS) \
5667 cd $(HOST_SUBDIR)/binutils && \
5668 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5669 $(TARGET-stage1-binutils)
5671 maybe-clean-stage1-binutils: clean-stage1-binutils
5672 clean-stage1: clean-stage1-binutils
5673 clean-stage1-binutils:
5674 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5675 || exit 0 ; \
5676 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5677 cd $(HOST_SUBDIR)/binutils && \
5678 $(MAKE) $(FLAGS_TO_PASS) \
5679 CFLAGS="$(STAGE1_CFLAGS)" clean
5680 @endif binutils-bootstrap
5683 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5684 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5685 maybe-all-stage2-binutils:
5686 maybe-clean-stage2-binutils:
5687 @if binutils-bootstrap
5688 maybe-all-stage2-binutils: all-stage2-binutils
5689 all-stage2: all-stage2-binutils
5690 TARGET-stage2-binutils = $(TARGET-binutils)
5691 all-stage2-binutils: configure-stage2-binutils
5692 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5693 @r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 $(HOST_EXPORTS) \
5696 $(POSTSTAGE1_HOST_EXPORTS) \
5697 cd $(HOST_SUBDIR)/binutils && \
5698 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5699 $(TARGET-stage2-binutils)
5701 maybe-clean-stage2-binutils: clean-stage2-binutils
5702 clean-stage2: clean-stage2-binutils
5703 clean-stage2-binutils:
5704 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5705 || exit 0 ; \
5706 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5707 cd $(HOST_SUBDIR)/binutils && \
5708 $(MAKE) $(FLAGS_TO_PASS) \
5709 $(POSTSTAGE1_FLAGS_TO_PASS) \
5710 clean
5711 @endif binutils-bootstrap
5714 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5715 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5716 maybe-all-stage3-binutils:
5717 maybe-clean-stage3-binutils:
5718 @if binutils-bootstrap
5719 maybe-all-stage3-binutils: all-stage3-binutils
5720 all-stage3: all-stage3-binutils
5721 TARGET-stage3-binutils = $(TARGET-binutils)
5722 all-stage3-binutils: configure-stage3-binutils
5723 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5724 @r=`${PWD_COMMAND}`; export r; \
5725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5726 $(HOST_EXPORTS) \
5727 $(POSTSTAGE1_HOST_EXPORTS) \
5728 cd $(HOST_SUBDIR)/binutils && \
5729 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5730 $(TARGET-stage3-binutils)
5732 maybe-clean-stage3-binutils: clean-stage3-binutils
5733 clean-stage3: clean-stage3-binutils
5734 clean-stage3-binutils:
5735 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5736 || exit 0 ; \
5737 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5738 cd $(HOST_SUBDIR)/binutils && \
5739 $(MAKE) $(FLAGS_TO_PASS) \
5740 $(POSTSTAGE1_FLAGS_TO_PASS) \
5741 clean
5742 @endif binutils-bootstrap
5745 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5746 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5747 maybe-all-stage4-binutils:
5748 maybe-clean-stage4-binutils:
5749 @if binutils-bootstrap
5750 maybe-all-stage4-binutils: all-stage4-binutils
5751 all-stage4: all-stage4-binutils
5752 TARGET-stage4-binutils = $(TARGET-binutils)
5753 all-stage4-binutils: configure-stage4-binutils
5754 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5755 @r=`${PWD_COMMAND}`; export r; \
5756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5757 $(HOST_EXPORTS) \
5758 $(POSTSTAGE1_HOST_EXPORTS) \
5759 cd $(HOST_SUBDIR)/binutils && \
5760 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5761 $(TARGET-stage4-binutils)
5763 maybe-clean-stage4-binutils: clean-stage4-binutils
5764 clean-stage4: clean-stage4-binutils
5765 clean-stage4-binutils:
5766 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5767 || exit 0 ; \
5768 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5769 cd $(HOST_SUBDIR)/binutils && \
5770 $(MAKE) $(FLAGS_TO_PASS) \
5771 $(POSTSTAGE1_FLAGS_TO_PASS) \
5772 clean
5773 @endif binutils-bootstrap
5776 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5777 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5778 maybe-all-stageprofile-binutils:
5779 maybe-clean-stageprofile-binutils:
5780 @if binutils-bootstrap
5781 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5782 all-stageprofile: all-stageprofile-binutils
5783 TARGET-stageprofile-binutils = $(TARGET-binutils)
5784 all-stageprofile-binutils: configure-stageprofile-binutils
5785 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5786 @r=`${PWD_COMMAND}`; export r; \
5787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5788 $(HOST_EXPORTS) \
5789 $(POSTSTAGE1_HOST_EXPORTS) \
5790 cd $(HOST_SUBDIR)/binutils && \
5791 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5792 $(TARGET-stageprofile-binutils)
5794 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5795 clean-stageprofile: clean-stageprofile-binutils
5796 clean-stageprofile-binutils:
5797 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5798 || exit 0 ; \
5799 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5800 cd $(HOST_SUBDIR)/binutils && \
5801 $(MAKE) $(FLAGS_TO_PASS) \
5802 $(POSTSTAGE1_FLAGS_TO_PASS) \
5803 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5804 @endif binutils-bootstrap
5807 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5808 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5809 maybe-all-stagefeedback-binutils:
5810 maybe-clean-stagefeedback-binutils:
5811 @if binutils-bootstrap
5812 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5813 all-stagefeedback: all-stagefeedback-binutils
5814 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5815 all-stagefeedback-binutils: configure-stagefeedback-binutils
5816 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5817 @r=`${PWD_COMMAND}`; export r; \
5818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5819 $(HOST_EXPORTS) \
5820 $(POSTSTAGE1_HOST_EXPORTS) \
5821 cd $(HOST_SUBDIR)/binutils && \
5822 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5823 $(TARGET-stagefeedback-binutils)
5825 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5826 clean-stagefeedback: clean-stagefeedback-binutils
5827 clean-stagefeedback-binutils:
5828 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5829 || exit 0 ; \
5830 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5831 cd $(HOST_SUBDIR)/binutils && \
5832 $(MAKE) $(FLAGS_TO_PASS) \
5833 $(POSTSTAGE1_FLAGS_TO_PASS) \
5834 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5835 @endif binutils-bootstrap
5841 .PHONY: check-binutils maybe-check-binutils
5842 maybe-check-binutils:
5843 @if binutils
5844 maybe-check-binutils: check-binutils
5846 check-binutils:
5847 @$(unstage)
5848 @r=`${PWD_COMMAND}`; export r; \
5849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5850 $(HOST_EXPORTS) \
5851 (cd $(HOST_SUBDIR)/binutils && \
5852 $(MAKE) $(FLAGS_TO_PASS) check)
5854 @endif binutils
5856 .PHONY: install-binutils maybe-install-binutils
5857 maybe-install-binutils:
5858 @if binutils
5859 maybe-install-binutils: install-binutils
5861 install-binutils: installdirs
5862 @$(unstage)
5863 @r=`${PWD_COMMAND}`; export r; \
5864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5865 $(HOST_EXPORTS) \
5866 (cd $(HOST_SUBDIR)/binutils && \
5867 $(MAKE) $(FLAGS_TO_PASS) install)
5869 @endif binutils
5871 # Other targets (info, dvi, etc.)
5873 .PHONY: maybe-info-binutils info-binutils
5874 maybe-info-binutils:
5875 @if binutils
5876 maybe-info-binutils: info-binutils
5878 info-binutils: \
5879 configure-binutils
5880 @[ -f ./binutils/Makefile ] || exit 0; \
5881 r=`${PWD_COMMAND}`; export r; \
5882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5883 $(HOST_EXPORTS) \
5884 for flag in $(EXTRA_HOST_FLAGS) ; do \
5885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5886 done; \
5887 echo "Doing info in binutils" ; \
5888 (cd $(HOST_SUBDIR)/binutils && \
5889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5891 "RANLIB=$${RANLIB}" \
5892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5893 info) \
5894 || exit 1
5896 @endif binutils
5898 .PHONY: maybe-dvi-binutils dvi-binutils
5899 maybe-dvi-binutils:
5900 @if binutils
5901 maybe-dvi-binutils: dvi-binutils
5903 dvi-binutils: \
5904 configure-binutils
5905 @[ -f ./binutils/Makefile ] || exit 0; \
5906 r=`${PWD_COMMAND}`; export r; \
5907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5908 $(HOST_EXPORTS) \
5909 for flag in $(EXTRA_HOST_FLAGS) ; do \
5910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5911 done; \
5912 echo "Doing dvi in binutils" ; \
5913 (cd $(HOST_SUBDIR)/binutils && \
5914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5916 "RANLIB=$${RANLIB}" \
5917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5918 dvi) \
5919 || exit 1
5921 @endif binutils
5923 .PHONY: maybe-html-binutils html-binutils
5924 maybe-html-binutils:
5925 @if binutils
5926 maybe-html-binutils: html-binutils
5928 html-binutils: \
5929 configure-binutils
5930 @[ -f ./binutils/Makefile ] || exit 0; \
5931 r=`${PWD_COMMAND}`; export r; \
5932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5933 $(HOST_EXPORTS) \
5934 for flag in $(EXTRA_HOST_FLAGS) ; do \
5935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5936 done; \
5937 echo "Doing html in binutils" ; \
5938 (cd $(HOST_SUBDIR)/binutils && \
5939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5941 "RANLIB=$${RANLIB}" \
5942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5943 html) \
5944 || exit 1
5946 @endif binutils
5948 .PHONY: maybe-TAGS-binutils TAGS-binutils
5949 maybe-TAGS-binutils:
5950 @if binutils
5951 maybe-TAGS-binutils: TAGS-binutils
5953 TAGS-binutils: \
5954 configure-binutils
5955 @[ -f ./binutils/Makefile ] || exit 0; \
5956 r=`${PWD_COMMAND}`; export r; \
5957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5958 $(HOST_EXPORTS) \
5959 for flag in $(EXTRA_HOST_FLAGS) ; do \
5960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5961 done; \
5962 echo "Doing TAGS in binutils" ; \
5963 (cd $(HOST_SUBDIR)/binutils && \
5964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5966 "RANLIB=$${RANLIB}" \
5967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5968 TAGS) \
5969 || exit 1
5971 @endif binutils
5973 .PHONY: maybe-install-info-binutils install-info-binutils
5974 maybe-install-info-binutils:
5975 @if binutils
5976 maybe-install-info-binutils: install-info-binutils
5978 install-info-binutils: \
5979 configure-binutils \
5980 info-binutils
5981 @[ -f ./binutils/Makefile ] || exit 0; \
5982 r=`${PWD_COMMAND}`; export r; \
5983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5984 $(HOST_EXPORTS) \
5985 for flag in $(EXTRA_HOST_FLAGS) ; do \
5986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5987 done; \
5988 echo "Doing install-info in binutils" ; \
5989 (cd $(HOST_SUBDIR)/binutils && \
5990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5992 "RANLIB=$${RANLIB}" \
5993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5994 install-info) \
5995 || exit 1
5997 @endif binutils
5999 .PHONY: maybe-installcheck-binutils installcheck-binutils
6000 maybe-installcheck-binutils:
6001 @if binutils
6002 maybe-installcheck-binutils: installcheck-binutils
6004 installcheck-binutils: \
6005 configure-binutils
6006 @[ -f ./binutils/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing installcheck in binutils" ; \
6014 (cd $(HOST_SUBDIR)/binutils && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 installcheck) \
6020 || exit 1
6022 @endif binutils
6024 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6025 maybe-mostlyclean-binutils:
6026 @if binutils
6027 maybe-mostlyclean-binutils: mostlyclean-binutils
6029 mostlyclean-binutils:
6030 @[ -f ./binutils/Makefile ] || exit 0; \
6031 r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 $(HOST_EXPORTS) \
6034 for flag in $(EXTRA_HOST_FLAGS) ; do \
6035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6036 done; \
6037 echo "Doing mostlyclean in binutils" ; \
6038 (cd $(HOST_SUBDIR)/binutils && \
6039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6041 "RANLIB=$${RANLIB}" \
6042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6043 mostlyclean) \
6044 || exit 1
6046 @endif binutils
6048 .PHONY: maybe-clean-binutils clean-binutils
6049 maybe-clean-binutils:
6050 @if binutils
6051 maybe-clean-binutils: clean-binutils
6053 clean-binutils:
6054 @[ -f ./binutils/Makefile ] || exit 0; \
6055 r=`${PWD_COMMAND}`; export r; \
6056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6057 $(HOST_EXPORTS) \
6058 for flag in $(EXTRA_HOST_FLAGS) ; do \
6059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6060 done; \
6061 echo "Doing clean in binutils" ; \
6062 (cd $(HOST_SUBDIR)/binutils && \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6065 "RANLIB=$${RANLIB}" \
6066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 clean) \
6068 || exit 1
6070 @endif binutils
6072 .PHONY: maybe-distclean-binutils distclean-binutils
6073 maybe-distclean-binutils:
6074 @if binutils
6075 maybe-distclean-binutils: distclean-binutils
6077 distclean-binutils:
6078 @[ -f ./binutils/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(HOST_EXPORTS) \
6082 for flag in $(EXTRA_HOST_FLAGS) ; do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 echo "Doing distclean in binutils" ; \
6086 (cd $(HOST_SUBDIR)/binutils && \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6091 distclean) \
6092 || exit 1
6094 @endif binutils
6096 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6097 maybe-maintainer-clean-binutils:
6098 @if binutils
6099 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6101 maintainer-clean-binutils:
6102 @[ -f ./binutils/Makefile ] || exit 0; \
6103 r=`${PWD_COMMAND}`; export r; \
6104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6105 $(HOST_EXPORTS) \
6106 for flag in $(EXTRA_HOST_FLAGS) ; do \
6107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6108 done; \
6109 echo "Doing maintainer-clean in binutils" ; \
6110 (cd $(HOST_SUBDIR)/binutils && \
6111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6113 "RANLIB=$${RANLIB}" \
6114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6115 maintainer-clean) \
6116 || exit 1
6118 @endif binutils
6122 .PHONY: configure-bison maybe-configure-bison
6123 maybe-configure-bison:
6124 @if bison
6125 maybe-configure-bison: configure-bison
6126 configure-bison:
6127 @$(unstage)
6128 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6130 r=`${PWD_COMMAND}`; export r; \
6131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6132 $(HOST_EXPORTS) \
6133 echo Configuring in $(HOST_SUBDIR)/bison; \
6134 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6135 case $(srcdir) in \
6136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6137 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6139 esac; \
6140 srcdiroption="--srcdir=$${topdir}/bison"; \
6141 libsrcdir="$$s/bison"; \
6142 $(SHELL) $${libsrcdir}/configure \
6143 $(HOST_CONFIGARGS) $${srcdiroption} \
6144 || exit 1
6145 @endif bison
6151 .PHONY: all-bison maybe-all-bison
6152 maybe-all-bison:
6153 @if bison
6154 TARGET-bison=all
6155 maybe-all-bison: all-bison
6156 all-bison: configure-bison
6157 @$(unstage)
6158 @r=`${PWD_COMMAND}`; export r; \
6159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6160 $(HOST_EXPORTS) \
6161 (cd $(HOST_SUBDIR)/bison && \
6162 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6163 @endif bison
6168 .PHONY: check-bison maybe-check-bison
6169 maybe-check-bison:
6170 @if bison
6171 maybe-check-bison: check-bison
6173 # This module is only tested in a native toolchain.
6174 check-bison:
6175 @$(unstage)
6176 @if [ '$(host)' = '$(target)' ] ; then \
6177 r=`${PWD_COMMAND}`; export r; \
6178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6179 $(HOST_EXPORTS) \
6180 (cd $(HOST_SUBDIR)/bison && \
6181 $(MAKE) $(FLAGS_TO_PASS) check); \
6184 @endif bison
6186 .PHONY: install-bison maybe-install-bison
6187 maybe-install-bison:
6188 @if bison
6189 maybe-install-bison: install-bison
6191 install-bison: installdirs
6192 @$(unstage)
6193 @r=`${PWD_COMMAND}`; export r; \
6194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6195 $(HOST_EXPORTS) \
6196 (cd $(HOST_SUBDIR)/bison && \
6197 $(MAKE) $(FLAGS_TO_PASS) install)
6199 @endif bison
6201 # Other targets (info, dvi, etc.)
6203 .PHONY: maybe-info-bison info-bison
6204 maybe-info-bison:
6205 @if bison
6206 maybe-info-bison: info-bison
6208 info-bison: \
6209 configure-bison
6210 @$(unstage)
6211 @[ -f ./bison/Makefile ] || exit 0; \
6212 r=`${PWD_COMMAND}`; export r; \
6213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6214 $(HOST_EXPORTS) \
6215 for flag in $(EXTRA_HOST_FLAGS) ; do \
6216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6217 done; \
6218 echo "Doing info in bison" ; \
6219 (cd $(HOST_SUBDIR)/bison && \
6220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6222 "RANLIB=$${RANLIB}" \
6223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6224 info) \
6225 || exit 1
6227 @endif bison
6229 .PHONY: maybe-dvi-bison dvi-bison
6230 maybe-dvi-bison:
6231 @if bison
6232 maybe-dvi-bison: dvi-bison
6234 dvi-bison: \
6235 configure-bison
6236 @$(unstage)
6237 @[ -f ./bison/Makefile ] || exit 0; \
6238 r=`${PWD_COMMAND}`; export r; \
6239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6240 $(HOST_EXPORTS) \
6241 for flag in $(EXTRA_HOST_FLAGS) ; do \
6242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6243 done; \
6244 echo "Doing dvi in bison" ; \
6245 (cd $(HOST_SUBDIR)/bison && \
6246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6248 "RANLIB=$${RANLIB}" \
6249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6250 dvi) \
6251 || exit 1
6253 @endif bison
6255 .PHONY: maybe-html-bison html-bison
6256 maybe-html-bison:
6257 @if bison
6258 maybe-html-bison: html-bison
6260 html-bison: \
6261 configure-bison
6262 @$(unstage)
6263 @[ -f ./bison/Makefile ] || exit 0; \
6264 r=`${PWD_COMMAND}`; export r; \
6265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6266 $(HOST_EXPORTS) \
6267 for flag in $(EXTRA_HOST_FLAGS) ; do \
6268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6269 done; \
6270 echo "Doing html in bison" ; \
6271 (cd $(HOST_SUBDIR)/bison && \
6272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6274 "RANLIB=$${RANLIB}" \
6275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6276 html) \
6277 || exit 1
6279 @endif bison
6281 .PHONY: maybe-TAGS-bison TAGS-bison
6282 maybe-TAGS-bison:
6283 @if bison
6284 maybe-TAGS-bison: TAGS-bison
6286 TAGS-bison: \
6287 configure-bison
6288 @$(unstage)
6289 @[ -f ./bison/Makefile ] || exit 0; \
6290 r=`${PWD_COMMAND}`; export r; \
6291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6292 $(HOST_EXPORTS) \
6293 for flag in $(EXTRA_HOST_FLAGS) ; do \
6294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6295 done; \
6296 echo "Doing TAGS in bison" ; \
6297 (cd $(HOST_SUBDIR)/bison && \
6298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6300 "RANLIB=$${RANLIB}" \
6301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6302 TAGS) \
6303 || exit 1
6305 @endif bison
6307 .PHONY: maybe-install-info-bison install-info-bison
6308 maybe-install-info-bison:
6309 @if bison
6310 maybe-install-info-bison: install-info-bison
6312 install-info-bison: \
6313 configure-bison \
6314 info-bison
6315 @$(unstage)
6316 @[ -f ./bison/Makefile ] || exit 0; \
6317 r=`${PWD_COMMAND}`; export r; \
6318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6319 $(HOST_EXPORTS) \
6320 for flag in $(EXTRA_HOST_FLAGS) ; do \
6321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6322 done; \
6323 echo "Doing install-info in bison" ; \
6324 (cd $(HOST_SUBDIR)/bison && \
6325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6327 "RANLIB=$${RANLIB}" \
6328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6329 install-info) \
6330 || exit 1
6332 @endif bison
6334 .PHONY: maybe-installcheck-bison installcheck-bison
6335 maybe-installcheck-bison:
6336 @if bison
6337 maybe-installcheck-bison: installcheck-bison
6339 installcheck-bison: \
6340 configure-bison
6341 @$(unstage)
6342 @[ -f ./bison/Makefile ] || exit 0; \
6343 r=`${PWD_COMMAND}`; export r; \
6344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6345 $(HOST_EXPORTS) \
6346 for flag in $(EXTRA_HOST_FLAGS) ; do \
6347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6348 done; \
6349 echo "Doing installcheck in bison" ; \
6350 (cd $(HOST_SUBDIR)/bison && \
6351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6353 "RANLIB=$${RANLIB}" \
6354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6355 installcheck) \
6356 || exit 1
6358 @endif bison
6360 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6361 maybe-mostlyclean-bison:
6362 @if bison
6363 maybe-mostlyclean-bison: mostlyclean-bison
6365 mostlyclean-bison:
6366 @$(unstage)
6367 @[ -f ./bison/Makefile ] || exit 0; \
6368 r=`${PWD_COMMAND}`; export r; \
6369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6370 $(HOST_EXPORTS) \
6371 for flag in $(EXTRA_HOST_FLAGS) ; do \
6372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6373 done; \
6374 echo "Doing mostlyclean in bison" ; \
6375 (cd $(HOST_SUBDIR)/bison && \
6376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6378 "RANLIB=$${RANLIB}" \
6379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6380 mostlyclean) \
6381 || exit 1
6383 @endif bison
6385 .PHONY: maybe-clean-bison clean-bison
6386 maybe-clean-bison:
6387 @if bison
6388 maybe-clean-bison: clean-bison
6390 clean-bison:
6391 @$(unstage)
6392 @[ -f ./bison/Makefile ] || exit 0; \
6393 r=`${PWD_COMMAND}`; export r; \
6394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6395 $(HOST_EXPORTS) \
6396 for flag in $(EXTRA_HOST_FLAGS) ; do \
6397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6398 done; \
6399 echo "Doing clean in bison" ; \
6400 (cd $(HOST_SUBDIR)/bison && \
6401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6403 "RANLIB=$${RANLIB}" \
6404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6405 clean) \
6406 || exit 1
6408 @endif bison
6410 .PHONY: maybe-distclean-bison distclean-bison
6411 maybe-distclean-bison:
6412 @if bison
6413 maybe-distclean-bison: distclean-bison
6415 distclean-bison:
6416 @$(unstage)
6417 @[ -f ./bison/Makefile ] || exit 0; \
6418 r=`${PWD_COMMAND}`; export r; \
6419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6420 $(HOST_EXPORTS) \
6421 for flag in $(EXTRA_HOST_FLAGS) ; do \
6422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6423 done; \
6424 echo "Doing distclean in bison" ; \
6425 (cd $(HOST_SUBDIR)/bison && \
6426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6428 "RANLIB=$${RANLIB}" \
6429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6430 distclean) \
6431 || exit 1
6433 @endif bison
6435 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6436 maybe-maintainer-clean-bison:
6437 @if bison
6438 maybe-maintainer-clean-bison: maintainer-clean-bison
6440 maintainer-clean-bison:
6441 @$(unstage)
6442 @[ -f ./bison/Makefile ] || exit 0; \
6443 r=`${PWD_COMMAND}`; export r; \
6444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6445 $(HOST_EXPORTS) \
6446 for flag in $(EXTRA_HOST_FLAGS) ; do \
6447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6448 done; \
6449 echo "Doing maintainer-clean in bison" ; \
6450 (cd $(HOST_SUBDIR)/bison && \
6451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6453 "RANLIB=$${RANLIB}" \
6454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6455 maintainer-clean) \
6456 || exit 1
6458 @endif bison
6462 .PHONY: configure-byacc maybe-configure-byacc
6463 maybe-configure-byacc:
6464 @if byacc
6465 maybe-configure-byacc: configure-byacc
6466 configure-byacc:
6467 @$(unstage)
6468 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6470 r=`${PWD_COMMAND}`; export r; \
6471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6472 $(HOST_EXPORTS) \
6473 echo Configuring in $(HOST_SUBDIR)/byacc; \
6474 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6475 case $(srcdir) in \
6476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6477 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6479 esac; \
6480 srcdiroption="--srcdir=$${topdir}/byacc"; \
6481 libsrcdir="$$s/byacc"; \
6482 $(SHELL) $${libsrcdir}/configure \
6483 $(HOST_CONFIGARGS) $${srcdiroption} \
6484 || exit 1
6485 @endif byacc
6491 .PHONY: all-byacc maybe-all-byacc
6492 maybe-all-byacc:
6493 @if byacc
6494 TARGET-byacc=all
6495 maybe-all-byacc: all-byacc
6496 all-byacc: configure-byacc
6497 @$(unstage)
6498 @r=`${PWD_COMMAND}`; export r; \
6499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6500 $(HOST_EXPORTS) \
6501 (cd $(HOST_SUBDIR)/byacc && \
6502 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6503 @endif byacc
6508 .PHONY: check-byacc maybe-check-byacc
6509 maybe-check-byacc:
6510 @if byacc
6511 maybe-check-byacc: check-byacc
6513 # This module is only tested in a native toolchain.
6514 check-byacc:
6515 @$(unstage)
6516 @if [ '$(host)' = '$(target)' ] ; then \
6517 r=`${PWD_COMMAND}`; export r; \
6518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6519 $(HOST_EXPORTS) \
6520 (cd $(HOST_SUBDIR)/byacc && \
6521 $(MAKE) $(FLAGS_TO_PASS) check); \
6524 @endif byacc
6526 .PHONY: install-byacc maybe-install-byacc
6527 maybe-install-byacc:
6528 @if byacc
6529 maybe-install-byacc: install-byacc
6531 install-byacc: installdirs
6532 @$(unstage)
6533 @r=`${PWD_COMMAND}`; export r; \
6534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6535 $(HOST_EXPORTS) \
6536 (cd $(HOST_SUBDIR)/byacc && \
6537 $(MAKE) $(FLAGS_TO_PASS) install)
6539 @endif byacc
6541 # Other targets (info, dvi, etc.)
6543 .PHONY: maybe-info-byacc info-byacc
6544 maybe-info-byacc:
6545 @if byacc
6546 maybe-info-byacc: info-byacc
6548 info-byacc: \
6549 configure-byacc
6550 @$(unstage)
6551 @[ -f ./byacc/Makefile ] || exit 0; \
6552 r=`${PWD_COMMAND}`; export r; \
6553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6554 $(HOST_EXPORTS) \
6555 for flag in $(EXTRA_HOST_FLAGS) ; do \
6556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6557 done; \
6558 echo "Doing info in byacc" ; \
6559 (cd $(HOST_SUBDIR)/byacc && \
6560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6562 "RANLIB=$${RANLIB}" \
6563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6564 info) \
6565 || exit 1
6567 @endif byacc
6569 .PHONY: maybe-dvi-byacc dvi-byacc
6570 maybe-dvi-byacc:
6571 @if byacc
6572 maybe-dvi-byacc: dvi-byacc
6574 dvi-byacc: \
6575 configure-byacc
6576 @$(unstage)
6577 @[ -f ./byacc/Makefile ] || exit 0; \
6578 r=`${PWD_COMMAND}`; export r; \
6579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6580 $(HOST_EXPORTS) \
6581 for flag in $(EXTRA_HOST_FLAGS) ; do \
6582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6583 done; \
6584 echo "Doing dvi in byacc" ; \
6585 (cd $(HOST_SUBDIR)/byacc && \
6586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6588 "RANLIB=$${RANLIB}" \
6589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6590 dvi) \
6591 || exit 1
6593 @endif byacc
6595 .PHONY: maybe-html-byacc html-byacc
6596 maybe-html-byacc:
6597 @if byacc
6598 maybe-html-byacc: html-byacc
6600 html-byacc: \
6601 configure-byacc
6602 @$(unstage)
6603 @[ -f ./byacc/Makefile ] || exit 0; \
6604 r=`${PWD_COMMAND}`; export r; \
6605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6606 $(HOST_EXPORTS) \
6607 for flag in $(EXTRA_HOST_FLAGS) ; do \
6608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6609 done; \
6610 echo "Doing html in byacc" ; \
6611 (cd $(HOST_SUBDIR)/byacc && \
6612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6614 "RANLIB=$${RANLIB}" \
6615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6616 html) \
6617 || exit 1
6619 @endif byacc
6621 .PHONY: maybe-TAGS-byacc TAGS-byacc
6622 maybe-TAGS-byacc:
6623 @if byacc
6624 maybe-TAGS-byacc: TAGS-byacc
6626 TAGS-byacc: \
6627 configure-byacc
6628 @$(unstage)
6629 @[ -f ./byacc/Makefile ] || exit 0; \
6630 r=`${PWD_COMMAND}`; export r; \
6631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6632 $(HOST_EXPORTS) \
6633 for flag in $(EXTRA_HOST_FLAGS) ; do \
6634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6635 done; \
6636 echo "Doing TAGS in byacc" ; \
6637 (cd $(HOST_SUBDIR)/byacc && \
6638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6640 "RANLIB=$${RANLIB}" \
6641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6642 TAGS) \
6643 || exit 1
6645 @endif byacc
6647 .PHONY: maybe-install-info-byacc install-info-byacc
6648 maybe-install-info-byacc:
6649 @if byacc
6650 maybe-install-info-byacc: install-info-byacc
6652 install-info-byacc: \
6653 configure-byacc \
6654 info-byacc
6655 @$(unstage)
6656 @[ -f ./byacc/Makefile ] || exit 0; \
6657 r=`${PWD_COMMAND}`; export r; \
6658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6659 $(HOST_EXPORTS) \
6660 for flag in $(EXTRA_HOST_FLAGS) ; do \
6661 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6662 done; \
6663 echo "Doing install-info in byacc" ; \
6664 (cd $(HOST_SUBDIR)/byacc && \
6665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6667 "RANLIB=$${RANLIB}" \
6668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6669 install-info) \
6670 || exit 1
6672 @endif byacc
6674 .PHONY: maybe-installcheck-byacc installcheck-byacc
6675 maybe-installcheck-byacc:
6676 @if byacc
6677 maybe-installcheck-byacc: installcheck-byacc
6679 installcheck-byacc: \
6680 configure-byacc
6681 @$(unstage)
6682 @[ -f ./byacc/Makefile ] || exit 0; \
6683 r=`${PWD_COMMAND}`; export r; \
6684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6685 $(HOST_EXPORTS) \
6686 for flag in $(EXTRA_HOST_FLAGS) ; do \
6687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6688 done; \
6689 echo "Doing installcheck in byacc" ; \
6690 (cd $(HOST_SUBDIR)/byacc && \
6691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6693 "RANLIB=$${RANLIB}" \
6694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6695 installcheck) \
6696 || exit 1
6698 @endif byacc
6700 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6701 maybe-mostlyclean-byacc:
6702 @if byacc
6703 maybe-mostlyclean-byacc: mostlyclean-byacc
6705 mostlyclean-byacc:
6706 @$(unstage)
6707 @[ -f ./byacc/Makefile ] || exit 0; \
6708 r=`${PWD_COMMAND}`; export r; \
6709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6710 $(HOST_EXPORTS) \
6711 for flag in $(EXTRA_HOST_FLAGS) ; do \
6712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6713 done; \
6714 echo "Doing mostlyclean in byacc" ; \
6715 (cd $(HOST_SUBDIR)/byacc && \
6716 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6717 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6718 "RANLIB=$${RANLIB}" \
6719 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6720 mostlyclean) \
6721 || exit 1
6723 @endif byacc
6725 .PHONY: maybe-clean-byacc clean-byacc
6726 maybe-clean-byacc:
6727 @if byacc
6728 maybe-clean-byacc: clean-byacc
6730 clean-byacc:
6731 @$(unstage)
6732 @[ -f ./byacc/Makefile ] || exit 0; \
6733 r=`${PWD_COMMAND}`; export r; \
6734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6735 $(HOST_EXPORTS) \
6736 for flag in $(EXTRA_HOST_FLAGS) ; do \
6737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6738 done; \
6739 echo "Doing clean in byacc" ; \
6740 (cd $(HOST_SUBDIR)/byacc && \
6741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6743 "RANLIB=$${RANLIB}" \
6744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6745 clean) \
6746 || exit 1
6748 @endif byacc
6750 .PHONY: maybe-distclean-byacc distclean-byacc
6751 maybe-distclean-byacc:
6752 @if byacc
6753 maybe-distclean-byacc: distclean-byacc
6755 distclean-byacc:
6756 @$(unstage)
6757 @[ -f ./byacc/Makefile ] || exit 0; \
6758 r=`${PWD_COMMAND}`; export r; \
6759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6760 $(HOST_EXPORTS) \
6761 for flag in $(EXTRA_HOST_FLAGS) ; do \
6762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6763 done; \
6764 echo "Doing distclean in byacc" ; \
6765 (cd $(HOST_SUBDIR)/byacc && \
6766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6768 "RANLIB=$${RANLIB}" \
6769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6770 distclean) \
6771 || exit 1
6773 @endif byacc
6775 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6776 maybe-maintainer-clean-byacc:
6777 @if byacc
6778 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6780 maintainer-clean-byacc:
6781 @$(unstage)
6782 @[ -f ./byacc/Makefile ] || exit 0; \
6783 r=`${PWD_COMMAND}`; export r; \
6784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6785 $(HOST_EXPORTS) \
6786 for flag in $(EXTRA_HOST_FLAGS) ; do \
6787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6788 done; \
6789 echo "Doing maintainer-clean in byacc" ; \
6790 (cd $(HOST_SUBDIR)/byacc && \
6791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6793 "RANLIB=$${RANLIB}" \
6794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6795 maintainer-clean) \
6796 || exit 1
6798 @endif byacc
6802 .PHONY: configure-bzip2 maybe-configure-bzip2
6803 maybe-configure-bzip2:
6804 @if bzip2
6805 maybe-configure-bzip2: configure-bzip2
6806 configure-bzip2:
6807 @$(unstage)
6808 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6809 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6810 r=`${PWD_COMMAND}`; export r; \
6811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6812 $(HOST_EXPORTS) \
6813 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6814 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6815 case $(srcdir) in \
6816 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6817 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6818 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6819 esac; \
6820 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6821 libsrcdir="$$s/bzip2"; \
6822 $(SHELL) $${libsrcdir}/configure \
6823 $(HOST_CONFIGARGS) $${srcdiroption} \
6824 || exit 1
6825 @endif bzip2
6831 .PHONY: all-bzip2 maybe-all-bzip2
6832 maybe-all-bzip2:
6833 @if bzip2
6834 TARGET-bzip2=all
6835 maybe-all-bzip2: all-bzip2
6836 all-bzip2: configure-bzip2
6837 @$(unstage)
6838 @r=`${PWD_COMMAND}`; export r; \
6839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6840 $(HOST_EXPORTS) \
6841 (cd $(HOST_SUBDIR)/bzip2 && \
6842 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6843 @endif bzip2
6848 .PHONY: check-bzip2 maybe-check-bzip2
6849 maybe-check-bzip2:
6850 @if bzip2
6851 maybe-check-bzip2: check-bzip2
6853 check-bzip2:
6854 @$(unstage)
6855 @r=`${PWD_COMMAND}`; export r; \
6856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6857 $(HOST_EXPORTS) \
6858 (cd $(HOST_SUBDIR)/bzip2 && \
6859 $(MAKE) $(FLAGS_TO_PASS) check)
6861 @endif bzip2
6863 .PHONY: install-bzip2 maybe-install-bzip2
6864 maybe-install-bzip2:
6865 @if bzip2
6866 maybe-install-bzip2: install-bzip2
6868 install-bzip2: installdirs
6869 @$(unstage)
6870 @r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(HOST_EXPORTS) \
6873 (cd $(HOST_SUBDIR)/bzip2 && \
6874 $(MAKE) $(FLAGS_TO_PASS) install)
6876 @endif bzip2
6878 # Other targets (info, dvi, etc.)
6880 .PHONY: maybe-info-bzip2 info-bzip2
6881 maybe-info-bzip2:
6882 @if bzip2
6883 maybe-info-bzip2: info-bzip2
6885 info-bzip2: \
6886 configure-bzip2
6887 @$(unstage)
6888 @[ -f ./bzip2/Makefile ] || exit 0; \
6889 r=`${PWD_COMMAND}`; export r; \
6890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6891 $(HOST_EXPORTS) \
6892 for flag in $(EXTRA_HOST_FLAGS) ; do \
6893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6894 done; \
6895 echo "Doing info in bzip2" ; \
6896 (cd $(HOST_SUBDIR)/bzip2 && \
6897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6899 "RANLIB=$${RANLIB}" \
6900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6901 info) \
6902 || exit 1
6904 @endif bzip2
6906 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6907 maybe-dvi-bzip2:
6908 @if bzip2
6909 maybe-dvi-bzip2: dvi-bzip2
6911 dvi-bzip2: \
6912 configure-bzip2
6913 @$(unstage)
6914 @[ -f ./bzip2/Makefile ] || exit 0; \
6915 r=`${PWD_COMMAND}`; export r; \
6916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6917 $(HOST_EXPORTS) \
6918 for flag in $(EXTRA_HOST_FLAGS) ; do \
6919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6920 done; \
6921 echo "Doing dvi in bzip2" ; \
6922 (cd $(HOST_SUBDIR)/bzip2 && \
6923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6925 "RANLIB=$${RANLIB}" \
6926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6927 dvi) \
6928 || exit 1
6930 @endif bzip2
6932 .PHONY: maybe-html-bzip2 html-bzip2
6933 maybe-html-bzip2:
6934 @if bzip2
6935 maybe-html-bzip2: html-bzip2
6937 html-bzip2: \
6938 configure-bzip2
6939 @$(unstage)
6940 @[ -f ./bzip2/Makefile ] || exit 0; \
6941 r=`${PWD_COMMAND}`; export r; \
6942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6943 $(HOST_EXPORTS) \
6944 for flag in $(EXTRA_HOST_FLAGS) ; do \
6945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6946 done; \
6947 echo "Doing html in bzip2" ; \
6948 (cd $(HOST_SUBDIR)/bzip2 && \
6949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6951 "RANLIB=$${RANLIB}" \
6952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6953 html) \
6954 || exit 1
6956 @endif bzip2
6958 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6959 maybe-TAGS-bzip2:
6960 @if bzip2
6961 maybe-TAGS-bzip2: TAGS-bzip2
6963 TAGS-bzip2: \
6964 configure-bzip2
6965 @$(unstage)
6966 @[ -f ./bzip2/Makefile ] || exit 0; \
6967 r=`${PWD_COMMAND}`; export r; \
6968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6969 $(HOST_EXPORTS) \
6970 for flag in $(EXTRA_HOST_FLAGS) ; do \
6971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6972 done; \
6973 echo "Doing TAGS in bzip2" ; \
6974 (cd $(HOST_SUBDIR)/bzip2 && \
6975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6977 "RANLIB=$${RANLIB}" \
6978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6979 TAGS) \
6980 || exit 1
6982 @endif bzip2
6984 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6985 maybe-install-info-bzip2:
6986 @if bzip2
6987 maybe-install-info-bzip2: install-info-bzip2
6989 install-info-bzip2: \
6990 configure-bzip2 \
6991 info-bzip2
6992 @$(unstage)
6993 @[ -f ./bzip2/Makefile ] || exit 0; \
6994 r=`${PWD_COMMAND}`; export r; \
6995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6996 $(HOST_EXPORTS) \
6997 for flag in $(EXTRA_HOST_FLAGS) ; do \
6998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6999 done; \
7000 echo "Doing install-info in bzip2" ; \
7001 (cd $(HOST_SUBDIR)/bzip2 && \
7002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7004 "RANLIB=$${RANLIB}" \
7005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7006 install-info) \
7007 || exit 1
7009 @endif bzip2
7011 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7012 maybe-installcheck-bzip2:
7013 @if bzip2
7014 maybe-installcheck-bzip2: installcheck-bzip2
7016 installcheck-bzip2: \
7017 configure-bzip2
7018 @$(unstage)
7019 @[ -f ./bzip2/Makefile ] || exit 0; \
7020 r=`${PWD_COMMAND}`; export r; \
7021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7022 $(HOST_EXPORTS) \
7023 for flag in $(EXTRA_HOST_FLAGS) ; do \
7024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7025 done; \
7026 echo "Doing installcheck in bzip2" ; \
7027 (cd $(HOST_SUBDIR)/bzip2 && \
7028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7030 "RANLIB=$${RANLIB}" \
7031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7032 installcheck) \
7033 || exit 1
7035 @endif bzip2
7037 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7038 maybe-mostlyclean-bzip2:
7039 @if bzip2
7040 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7042 mostlyclean-bzip2:
7043 @$(unstage)
7044 @[ -f ./bzip2/Makefile ] || exit 0; \
7045 r=`${PWD_COMMAND}`; export r; \
7046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7047 $(HOST_EXPORTS) \
7048 for flag in $(EXTRA_HOST_FLAGS) ; do \
7049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7050 done; \
7051 echo "Doing mostlyclean in bzip2" ; \
7052 (cd $(HOST_SUBDIR)/bzip2 && \
7053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7055 "RANLIB=$${RANLIB}" \
7056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7057 mostlyclean) \
7058 || exit 1
7060 @endif bzip2
7062 .PHONY: maybe-clean-bzip2 clean-bzip2
7063 maybe-clean-bzip2:
7064 @if bzip2
7065 maybe-clean-bzip2: clean-bzip2
7067 clean-bzip2:
7068 @$(unstage)
7069 @[ -f ./bzip2/Makefile ] || exit 0; \
7070 r=`${PWD_COMMAND}`; export r; \
7071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7072 $(HOST_EXPORTS) \
7073 for flag in $(EXTRA_HOST_FLAGS) ; do \
7074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7075 done; \
7076 echo "Doing clean in bzip2" ; \
7077 (cd $(HOST_SUBDIR)/bzip2 && \
7078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7080 "RANLIB=$${RANLIB}" \
7081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7082 clean) \
7083 || exit 1
7085 @endif bzip2
7087 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7088 maybe-distclean-bzip2:
7089 @if bzip2
7090 maybe-distclean-bzip2: distclean-bzip2
7092 distclean-bzip2:
7093 @$(unstage)
7094 @[ -f ./bzip2/Makefile ] || exit 0; \
7095 r=`${PWD_COMMAND}`; export r; \
7096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7097 $(HOST_EXPORTS) \
7098 for flag in $(EXTRA_HOST_FLAGS) ; do \
7099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7100 done; \
7101 echo "Doing distclean in bzip2" ; \
7102 (cd $(HOST_SUBDIR)/bzip2 && \
7103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7105 "RANLIB=$${RANLIB}" \
7106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7107 distclean) \
7108 || exit 1
7110 @endif bzip2
7112 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7113 maybe-maintainer-clean-bzip2:
7114 @if bzip2
7115 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7117 maintainer-clean-bzip2:
7118 @$(unstage)
7119 @[ -f ./bzip2/Makefile ] || exit 0; \
7120 r=`${PWD_COMMAND}`; export r; \
7121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7122 $(HOST_EXPORTS) \
7123 for flag in $(EXTRA_HOST_FLAGS) ; do \
7124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7125 done; \
7126 echo "Doing maintainer-clean in bzip2" ; \
7127 (cd $(HOST_SUBDIR)/bzip2 && \
7128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7130 "RANLIB=$${RANLIB}" \
7131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7132 maintainer-clean) \
7133 || exit 1
7135 @endif bzip2
7139 .PHONY: configure-dejagnu maybe-configure-dejagnu
7140 maybe-configure-dejagnu:
7141 @if dejagnu
7142 maybe-configure-dejagnu: configure-dejagnu
7143 configure-dejagnu:
7144 @$(unstage)
7145 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7146 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7147 r=`${PWD_COMMAND}`; export r; \
7148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7149 $(HOST_EXPORTS) \
7150 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7151 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7152 case $(srcdir) in \
7153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7154 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7156 esac; \
7157 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7158 libsrcdir="$$s/dejagnu"; \
7159 $(SHELL) $${libsrcdir}/configure \
7160 $(HOST_CONFIGARGS) $${srcdiroption} \
7161 || exit 1
7162 @endif dejagnu
7168 .PHONY: all-dejagnu maybe-all-dejagnu
7169 maybe-all-dejagnu:
7170 @if dejagnu
7171 TARGET-dejagnu=all
7172 maybe-all-dejagnu: all-dejagnu
7173 all-dejagnu: configure-dejagnu
7174 @$(unstage)
7175 @r=`${PWD_COMMAND}`; export r; \
7176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7177 $(HOST_EXPORTS) \
7178 (cd $(HOST_SUBDIR)/dejagnu && \
7179 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7180 @endif dejagnu
7185 .PHONY: check-dejagnu maybe-check-dejagnu
7186 maybe-check-dejagnu:
7187 @if dejagnu
7188 maybe-check-dejagnu: check-dejagnu
7190 check-dejagnu:
7191 @$(unstage)
7192 @r=`${PWD_COMMAND}`; export r; \
7193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7194 $(HOST_EXPORTS) \
7195 (cd $(HOST_SUBDIR)/dejagnu && \
7196 $(MAKE) $(FLAGS_TO_PASS) check)
7198 @endif dejagnu
7200 .PHONY: install-dejagnu maybe-install-dejagnu
7201 maybe-install-dejagnu:
7202 @if dejagnu
7203 maybe-install-dejagnu: install-dejagnu
7205 install-dejagnu: installdirs
7206 @$(unstage)
7207 @r=`${PWD_COMMAND}`; export r; \
7208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7209 $(HOST_EXPORTS) \
7210 (cd $(HOST_SUBDIR)/dejagnu && \
7211 $(MAKE) $(FLAGS_TO_PASS) install)
7213 @endif dejagnu
7215 # Other targets (info, dvi, etc.)
7217 .PHONY: maybe-info-dejagnu info-dejagnu
7218 maybe-info-dejagnu:
7219 @if dejagnu
7220 maybe-info-dejagnu: info-dejagnu
7222 info-dejagnu: \
7223 configure-dejagnu
7224 @$(unstage)
7225 @[ -f ./dejagnu/Makefile ] || exit 0; \
7226 r=`${PWD_COMMAND}`; export r; \
7227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7228 $(HOST_EXPORTS) \
7229 for flag in $(EXTRA_HOST_FLAGS) ; do \
7230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7231 done; \
7232 echo "Doing info in dejagnu" ; \
7233 (cd $(HOST_SUBDIR)/dejagnu && \
7234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7236 "RANLIB=$${RANLIB}" \
7237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7238 info) \
7239 || exit 1
7241 @endif dejagnu
7243 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7244 maybe-dvi-dejagnu:
7245 @if dejagnu
7246 maybe-dvi-dejagnu: dvi-dejagnu
7248 dvi-dejagnu: \
7249 configure-dejagnu
7250 @$(unstage)
7251 @[ -f ./dejagnu/Makefile ] || exit 0; \
7252 r=`${PWD_COMMAND}`; export r; \
7253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7254 $(HOST_EXPORTS) \
7255 for flag in $(EXTRA_HOST_FLAGS) ; do \
7256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7257 done; \
7258 echo "Doing dvi in dejagnu" ; \
7259 (cd $(HOST_SUBDIR)/dejagnu && \
7260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7262 "RANLIB=$${RANLIB}" \
7263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7264 dvi) \
7265 || exit 1
7267 @endif dejagnu
7269 .PHONY: maybe-html-dejagnu html-dejagnu
7270 maybe-html-dejagnu:
7271 @if dejagnu
7272 maybe-html-dejagnu: html-dejagnu
7274 html-dejagnu: \
7275 configure-dejagnu
7276 @$(unstage)
7277 @[ -f ./dejagnu/Makefile ] || exit 0; \
7278 r=`${PWD_COMMAND}`; export r; \
7279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7280 $(HOST_EXPORTS) \
7281 for flag in $(EXTRA_HOST_FLAGS) ; do \
7282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7283 done; \
7284 echo "Doing html in dejagnu" ; \
7285 (cd $(HOST_SUBDIR)/dejagnu && \
7286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7288 "RANLIB=$${RANLIB}" \
7289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7290 html) \
7291 || exit 1
7293 @endif dejagnu
7295 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7296 maybe-TAGS-dejagnu:
7297 @if dejagnu
7298 maybe-TAGS-dejagnu: TAGS-dejagnu
7300 TAGS-dejagnu: \
7301 configure-dejagnu
7302 @$(unstage)
7303 @[ -f ./dejagnu/Makefile ] || exit 0; \
7304 r=`${PWD_COMMAND}`; export r; \
7305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7306 $(HOST_EXPORTS) \
7307 for flag in $(EXTRA_HOST_FLAGS) ; do \
7308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7309 done; \
7310 echo "Doing TAGS in dejagnu" ; \
7311 (cd $(HOST_SUBDIR)/dejagnu && \
7312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7314 "RANLIB=$${RANLIB}" \
7315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7316 TAGS) \
7317 || exit 1
7319 @endif dejagnu
7321 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7322 maybe-install-info-dejagnu:
7323 @if dejagnu
7324 maybe-install-info-dejagnu: install-info-dejagnu
7326 install-info-dejagnu: \
7327 configure-dejagnu \
7328 info-dejagnu
7329 @$(unstage)
7330 @[ -f ./dejagnu/Makefile ] || exit 0; \
7331 r=`${PWD_COMMAND}`; export r; \
7332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7333 $(HOST_EXPORTS) \
7334 for flag in $(EXTRA_HOST_FLAGS) ; do \
7335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7336 done; \
7337 echo "Doing install-info in dejagnu" ; \
7338 (cd $(HOST_SUBDIR)/dejagnu && \
7339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7341 "RANLIB=$${RANLIB}" \
7342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7343 install-info) \
7344 || exit 1
7346 @endif dejagnu
7348 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7349 maybe-installcheck-dejagnu:
7350 @if dejagnu
7351 maybe-installcheck-dejagnu: installcheck-dejagnu
7353 installcheck-dejagnu: \
7354 configure-dejagnu
7355 @$(unstage)
7356 @[ -f ./dejagnu/Makefile ] || exit 0; \
7357 r=`${PWD_COMMAND}`; export r; \
7358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7359 $(HOST_EXPORTS) \
7360 for flag in $(EXTRA_HOST_FLAGS) ; do \
7361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7362 done; \
7363 echo "Doing installcheck in dejagnu" ; \
7364 (cd $(HOST_SUBDIR)/dejagnu && \
7365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7367 "RANLIB=$${RANLIB}" \
7368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7369 installcheck) \
7370 || exit 1
7372 @endif dejagnu
7374 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7375 maybe-mostlyclean-dejagnu:
7376 @if dejagnu
7377 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7379 mostlyclean-dejagnu:
7380 @$(unstage)
7381 @[ -f ./dejagnu/Makefile ] || exit 0; \
7382 r=`${PWD_COMMAND}`; export r; \
7383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7384 $(HOST_EXPORTS) \
7385 for flag in $(EXTRA_HOST_FLAGS) ; do \
7386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7387 done; \
7388 echo "Doing mostlyclean in dejagnu" ; \
7389 (cd $(HOST_SUBDIR)/dejagnu && \
7390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7392 "RANLIB=$${RANLIB}" \
7393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7394 mostlyclean) \
7395 || exit 1
7397 @endif dejagnu
7399 .PHONY: maybe-clean-dejagnu clean-dejagnu
7400 maybe-clean-dejagnu:
7401 @if dejagnu
7402 maybe-clean-dejagnu: clean-dejagnu
7404 clean-dejagnu:
7405 @$(unstage)
7406 @[ -f ./dejagnu/Makefile ] || exit 0; \
7407 r=`${PWD_COMMAND}`; export r; \
7408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7409 $(HOST_EXPORTS) \
7410 for flag in $(EXTRA_HOST_FLAGS) ; do \
7411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7412 done; \
7413 echo "Doing clean in dejagnu" ; \
7414 (cd $(HOST_SUBDIR)/dejagnu && \
7415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7417 "RANLIB=$${RANLIB}" \
7418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7419 clean) \
7420 || exit 1
7422 @endif dejagnu
7424 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7425 maybe-distclean-dejagnu:
7426 @if dejagnu
7427 maybe-distclean-dejagnu: distclean-dejagnu
7429 distclean-dejagnu:
7430 @$(unstage)
7431 @[ -f ./dejagnu/Makefile ] || exit 0; \
7432 r=`${PWD_COMMAND}`; export r; \
7433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7434 $(HOST_EXPORTS) \
7435 for flag in $(EXTRA_HOST_FLAGS) ; do \
7436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7437 done; \
7438 echo "Doing distclean in dejagnu" ; \
7439 (cd $(HOST_SUBDIR)/dejagnu && \
7440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7442 "RANLIB=$${RANLIB}" \
7443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7444 distclean) \
7445 || exit 1
7447 @endif dejagnu
7449 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7450 maybe-maintainer-clean-dejagnu:
7451 @if dejagnu
7452 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7454 maintainer-clean-dejagnu:
7455 @$(unstage)
7456 @[ -f ./dejagnu/Makefile ] || exit 0; \
7457 r=`${PWD_COMMAND}`; export r; \
7458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7459 $(HOST_EXPORTS) \
7460 for flag in $(EXTRA_HOST_FLAGS) ; do \
7461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7462 done; \
7463 echo "Doing maintainer-clean in dejagnu" ; \
7464 (cd $(HOST_SUBDIR)/dejagnu && \
7465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7467 "RANLIB=$${RANLIB}" \
7468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7469 maintainer-clean) \
7470 || exit 1
7472 @endif dejagnu
7476 .PHONY: configure-diff maybe-configure-diff
7477 maybe-configure-diff:
7478 @if diff
7479 maybe-configure-diff: configure-diff
7480 configure-diff:
7481 @$(unstage)
7482 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7483 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7484 r=`${PWD_COMMAND}`; export r; \
7485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7486 $(HOST_EXPORTS) \
7487 echo Configuring in $(HOST_SUBDIR)/diff; \
7488 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7489 case $(srcdir) in \
7490 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7491 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7492 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7493 esac; \
7494 srcdiroption="--srcdir=$${topdir}/diff"; \
7495 libsrcdir="$$s/diff"; \
7496 $(SHELL) $${libsrcdir}/configure \
7497 $(HOST_CONFIGARGS) $${srcdiroption} \
7498 || exit 1
7499 @endif diff
7505 .PHONY: all-diff maybe-all-diff
7506 maybe-all-diff:
7507 @if diff
7508 TARGET-diff=all
7509 maybe-all-diff: all-diff
7510 all-diff: configure-diff
7511 @$(unstage)
7512 @r=`${PWD_COMMAND}`; export r; \
7513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7514 $(HOST_EXPORTS) \
7515 (cd $(HOST_SUBDIR)/diff && \
7516 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7517 @endif diff
7522 .PHONY: check-diff maybe-check-diff
7523 maybe-check-diff:
7524 @if diff
7525 maybe-check-diff: check-diff
7527 check-diff:
7528 @$(unstage)
7529 @r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 $(HOST_EXPORTS) \
7532 (cd $(HOST_SUBDIR)/diff && \
7533 $(MAKE) $(FLAGS_TO_PASS) check)
7535 @endif diff
7537 .PHONY: install-diff maybe-install-diff
7538 maybe-install-diff:
7539 @if diff
7540 maybe-install-diff: install-diff
7542 install-diff: installdirs
7543 @$(unstage)
7544 @r=`${PWD_COMMAND}`; export r; \
7545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7546 $(HOST_EXPORTS) \
7547 (cd $(HOST_SUBDIR)/diff && \
7548 $(MAKE) $(FLAGS_TO_PASS) install)
7550 @endif diff
7552 # Other targets (info, dvi, etc.)
7554 .PHONY: maybe-info-diff info-diff
7555 maybe-info-diff:
7556 @if diff
7557 maybe-info-diff: info-diff
7559 info-diff: \
7560 configure-diff
7561 @$(unstage)
7562 @[ -f ./diff/Makefile ] || exit 0; \
7563 r=`${PWD_COMMAND}`; export r; \
7564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7565 $(HOST_EXPORTS) \
7566 for flag in $(EXTRA_HOST_FLAGS) ; do \
7567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7568 done; \
7569 echo "Doing info in diff" ; \
7570 (cd $(HOST_SUBDIR)/diff && \
7571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7573 "RANLIB=$${RANLIB}" \
7574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7575 info) \
7576 || exit 1
7578 @endif diff
7580 .PHONY: maybe-dvi-diff dvi-diff
7581 maybe-dvi-diff:
7582 @if diff
7583 maybe-dvi-diff: dvi-diff
7585 dvi-diff: \
7586 configure-diff
7587 @$(unstage)
7588 @[ -f ./diff/Makefile ] || exit 0; \
7589 r=`${PWD_COMMAND}`; export r; \
7590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7591 $(HOST_EXPORTS) \
7592 for flag in $(EXTRA_HOST_FLAGS) ; do \
7593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7594 done; \
7595 echo "Doing dvi in diff" ; \
7596 (cd $(HOST_SUBDIR)/diff && \
7597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7599 "RANLIB=$${RANLIB}" \
7600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7601 dvi) \
7602 || exit 1
7604 @endif diff
7606 .PHONY: maybe-html-diff html-diff
7607 maybe-html-diff:
7608 @if diff
7609 maybe-html-diff: html-diff
7611 html-diff: \
7612 configure-diff
7613 @$(unstage)
7614 @[ -f ./diff/Makefile ] || exit 0; \
7615 r=`${PWD_COMMAND}`; export r; \
7616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7617 $(HOST_EXPORTS) \
7618 for flag in $(EXTRA_HOST_FLAGS) ; do \
7619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7620 done; \
7621 echo "Doing html in diff" ; \
7622 (cd $(HOST_SUBDIR)/diff && \
7623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7625 "RANLIB=$${RANLIB}" \
7626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7627 html) \
7628 || exit 1
7630 @endif diff
7632 .PHONY: maybe-TAGS-diff TAGS-diff
7633 maybe-TAGS-diff:
7634 @if diff
7635 maybe-TAGS-diff: TAGS-diff
7637 TAGS-diff: \
7638 configure-diff
7639 @$(unstage)
7640 @[ -f ./diff/Makefile ] || exit 0; \
7641 r=`${PWD_COMMAND}`; export r; \
7642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7643 $(HOST_EXPORTS) \
7644 for flag in $(EXTRA_HOST_FLAGS) ; do \
7645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7646 done; \
7647 echo "Doing TAGS in diff" ; \
7648 (cd $(HOST_SUBDIR)/diff && \
7649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7651 "RANLIB=$${RANLIB}" \
7652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7653 TAGS) \
7654 || exit 1
7656 @endif diff
7658 .PHONY: maybe-install-info-diff install-info-diff
7659 maybe-install-info-diff:
7660 @if diff
7661 maybe-install-info-diff: install-info-diff
7663 install-info-diff: \
7664 configure-diff \
7665 info-diff
7666 @$(unstage)
7667 @[ -f ./diff/Makefile ] || exit 0; \
7668 r=`${PWD_COMMAND}`; export r; \
7669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7670 $(HOST_EXPORTS) \
7671 for flag in $(EXTRA_HOST_FLAGS) ; do \
7672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7673 done; \
7674 echo "Doing install-info in diff" ; \
7675 (cd $(HOST_SUBDIR)/diff && \
7676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7678 "RANLIB=$${RANLIB}" \
7679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7680 install-info) \
7681 || exit 1
7683 @endif diff
7685 .PHONY: maybe-installcheck-diff installcheck-diff
7686 maybe-installcheck-diff:
7687 @if diff
7688 maybe-installcheck-diff: installcheck-diff
7690 installcheck-diff: \
7691 configure-diff
7692 @$(unstage)
7693 @[ -f ./diff/Makefile ] || exit 0; \
7694 r=`${PWD_COMMAND}`; export r; \
7695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7696 $(HOST_EXPORTS) \
7697 for flag in $(EXTRA_HOST_FLAGS) ; do \
7698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7699 done; \
7700 echo "Doing installcheck in diff" ; \
7701 (cd $(HOST_SUBDIR)/diff && \
7702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7704 "RANLIB=$${RANLIB}" \
7705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7706 installcheck) \
7707 || exit 1
7709 @endif diff
7711 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7712 maybe-mostlyclean-diff:
7713 @if diff
7714 maybe-mostlyclean-diff: mostlyclean-diff
7716 mostlyclean-diff:
7717 @$(unstage)
7718 @[ -f ./diff/Makefile ] || exit 0; \
7719 r=`${PWD_COMMAND}`; export r; \
7720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7721 $(HOST_EXPORTS) \
7722 for flag in $(EXTRA_HOST_FLAGS) ; do \
7723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7724 done; \
7725 echo "Doing mostlyclean in diff" ; \
7726 (cd $(HOST_SUBDIR)/diff && \
7727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7729 "RANLIB=$${RANLIB}" \
7730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7731 mostlyclean) \
7732 || exit 1
7734 @endif diff
7736 .PHONY: maybe-clean-diff clean-diff
7737 maybe-clean-diff:
7738 @if diff
7739 maybe-clean-diff: clean-diff
7741 clean-diff:
7742 @$(unstage)
7743 @[ -f ./diff/Makefile ] || exit 0; \
7744 r=`${PWD_COMMAND}`; export r; \
7745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7746 $(HOST_EXPORTS) \
7747 for flag in $(EXTRA_HOST_FLAGS) ; do \
7748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7749 done; \
7750 echo "Doing clean in diff" ; \
7751 (cd $(HOST_SUBDIR)/diff && \
7752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7754 "RANLIB=$${RANLIB}" \
7755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7756 clean) \
7757 || exit 1
7759 @endif diff
7761 .PHONY: maybe-distclean-diff distclean-diff
7762 maybe-distclean-diff:
7763 @if diff
7764 maybe-distclean-diff: distclean-diff
7766 distclean-diff:
7767 @$(unstage)
7768 @[ -f ./diff/Makefile ] || exit 0; \
7769 r=`${PWD_COMMAND}`; export r; \
7770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7771 $(HOST_EXPORTS) \
7772 for flag in $(EXTRA_HOST_FLAGS) ; do \
7773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7774 done; \
7775 echo "Doing distclean in diff" ; \
7776 (cd $(HOST_SUBDIR)/diff && \
7777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7779 "RANLIB=$${RANLIB}" \
7780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7781 distclean) \
7782 || exit 1
7784 @endif diff
7786 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7787 maybe-maintainer-clean-diff:
7788 @if diff
7789 maybe-maintainer-clean-diff: maintainer-clean-diff
7791 maintainer-clean-diff:
7792 @$(unstage)
7793 @[ -f ./diff/Makefile ] || exit 0; \
7794 r=`${PWD_COMMAND}`; export r; \
7795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7796 $(HOST_EXPORTS) \
7797 for flag in $(EXTRA_HOST_FLAGS) ; do \
7798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7799 done; \
7800 echo "Doing maintainer-clean in diff" ; \
7801 (cd $(HOST_SUBDIR)/diff && \
7802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7804 "RANLIB=$${RANLIB}" \
7805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7806 maintainer-clean) \
7807 || exit 1
7809 @endif diff
7813 .PHONY: configure-dosutils maybe-configure-dosutils
7814 maybe-configure-dosutils:
7815 @if dosutils
7816 maybe-configure-dosutils: configure-dosutils
7817 configure-dosutils:
7818 @$(unstage)
7819 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7821 r=`${PWD_COMMAND}`; export r; \
7822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7823 $(HOST_EXPORTS) \
7824 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7825 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7826 case $(srcdir) in \
7827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7828 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7830 esac; \
7831 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7832 libsrcdir="$$s/dosutils"; \
7833 $(SHELL) $${libsrcdir}/configure \
7834 $(HOST_CONFIGARGS) $${srcdiroption} \
7835 || exit 1
7836 @endif dosutils
7842 .PHONY: all-dosutils maybe-all-dosutils
7843 maybe-all-dosutils:
7844 @if dosutils
7845 TARGET-dosutils=all
7846 maybe-all-dosutils: all-dosutils
7847 all-dosutils: configure-dosutils
7848 @$(unstage)
7849 @r=`${PWD_COMMAND}`; export r; \
7850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7851 $(HOST_EXPORTS) \
7852 (cd $(HOST_SUBDIR)/dosutils && \
7853 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7854 @endif dosutils
7859 .PHONY: check-dosutils maybe-check-dosutils
7860 maybe-check-dosutils:
7861 @if dosutils
7862 maybe-check-dosutils: check-dosutils
7864 check-dosutils:
7866 @endif dosutils
7868 .PHONY: install-dosutils maybe-install-dosutils
7869 maybe-install-dosutils:
7870 @if dosutils
7871 maybe-install-dosutils: install-dosutils
7873 install-dosutils: installdirs
7874 @$(unstage)
7875 @r=`${PWD_COMMAND}`; export r; \
7876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7877 $(HOST_EXPORTS) \
7878 (cd $(HOST_SUBDIR)/dosutils && \
7879 $(MAKE) $(FLAGS_TO_PASS) install)
7881 @endif dosutils
7883 # Other targets (info, dvi, etc.)
7885 .PHONY: maybe-info-dosutils info-dosutils
7886 maybe-info-dosutils:
7887 @if dosutils
7888 maybe-info-dosutils: info-dosutils
7890 info-dosutils: \
7891 configure-dosutils
7892 @$(unstage)
7893 @[ -f ./dosutils/Makefile ] || exit 0; \
7894 r=`${PWD_COMMAND}`; export r; \
7895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7896 $(HOST_EXPORTS) \
7897 for flag in $(EXTRA_HOST_FLAGS) ; do \
7898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7899 done; \
7900 echo "Doing info in dosutils" ; \
7901 (cd $(HOST_SUBDIR)/dosutils && \
7902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7904 "RANLIB=$${RANLIB}" \
7905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7906 info) \
7907 || exit 1
7909 @endif dosutils
7911 .PHONY: maybe-dvi-dosutils dvi-dosutils
7912 maybe-dvi-dosutils:
7913 @if dosutils
7914 maybe-dvi-dosutils: dvi-dosutils
7916 dvi-dosutils: \
7917 configure-dosutils
7918 @$(unstage)
7919 @[ -f ./dosutils/Makefile ] || exit 0; \
7920 r=`${PWD_COMMAND}`; export r; \
7921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7922 $(HOST_EXPORTS) \
7923 for flag in $(EXTRA_HOST_FLAGS) ; do \
7924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7925 done; \
7926 echo "Doing dvi in dosutils" ; \
7927 (cd $(HOST_SUBDIR)/dosutils && \
7928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7930 "RANLIB=$${RANLIB}" \
7931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7932 dvi) \
7933 || exit 1
7935 @endif dosutils
7937 .PHONY: maybe-html-dosutils html-dosutils
7938 maybe-html-dosutils:
7939 @if dosutils
7940 maybe-html-dosutils: html-dosutils
7942 html-dosutils: \
7943 configure-dosutils
7944 @$(unstage)
7945 @[ -f ./dosutils/Makefile ] || exit 0; \
7946 r=`${PWD_COMMAND}`; export r; \
7947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7948 $(HOST_EXPORTS) \
7949 for flag in $(EXTRA_HOST_FLAGS) ; do \
7950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7951 done; \
7952 echo "Doing html in dosutils" ; \
7953 (cd $(HOST_SUBDIR)/dosutils && \
7954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7956 "RANLIB=$${RANLIB}" \
7957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7958 html) \
7959 || exit 1
7961 @endif dosutils
7963 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7964 maybe-TAGS-dosutils:
7965 @if dosutils
7966 maybe-TAGS-dosutils: TAGS-dosutils
7968 TAGS-dosutils: \
7969 configure-dosutils
7970 @$(unstage)
7971 @[ -f ./dosutils/Makefile ] || exit 0; \
7972 r=`${PWD_COMMAND}`; export r; \
7973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7974 $(HOST_EXPORTS) \
7975 for flag in $(EXTRA_HOST_FLAGS) ; do \
7976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7977 done; \
7978 echo "Doing TAGS in dosutils" ; \
7979 (cd $(HOST_SUBDIR)/dosutils && \
7980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7982 "RANLIB=$${RANLIB}" \
7983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7984 TAGS) \
7985 || exit 1
7987 @endif dosutils
7989 .PHONY: maybe-install-info-dosutils install-info-dosutils
7990 maybe-install-info-dosutils:
7991 @if dosutils
7992 maybe-install-info-dosutils: install-info-dosutils
7994 install-info-dosutils: \
7995 configure-dosutils \
7996 info-dosutils
7997 @$(unstage)
7998 @[ -f ./dosutils/Makefile ] || exit 0; \
7999 r=`${PWD_COMMAND}`; export r; \
8000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8001 $(HOST_EXPORTS) \
8002 for flag in $(EXTRA_HOST_FLAGS) ; do \
8003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8004 done; \
8005 echo "Doing install-info in dosutils" ; \
8006 (cd $(HOST_SUBDIR)/dosutils && \
8007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8009 "RANLIB=$${RANLIB}" \
8010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8011 install-info) \
8012 || exit 1
8014 @endif dosutils
8016 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8017 maybe-installcheck-dosutils:
8018 @if dosutils
8019 maybe-installcheck-dosutils: installcheck-dosutils
8021 installcheck-dosutils: \
8022 configure-dosutils
8023 @$(unstage)
8024 @[ -f ./dosutils/Makefile ] || exit 0; \
8025 r=`${PWD_COMMAND}`; export r; \
8026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8027 $(HOST_EXPORTS) \
8028 for flag in $(EXTRA_HOST_FLAGS) ; do \
8029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8030 done; \
8031 echo "Doing installcheck in dosutils" ; \
8032 (cd $(HOST_SUBDIR)/dosutils && \
8033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8035 "RANLIB=$${RANLIB}" \
8036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8037 installcheck) \
8038 || exit 1
8040 @endif dosutils
8042 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8043 maybe-mostlyclean-dosutils:
8044 @if dosutils
8045 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8047 mostlyclean-dosutils:
8048 @$(unstage)
8049 @[ -f ./dosutils/Makefile ] || exit 0; \
8050 r=`${PWD_COMMAND}`; export r; \
8051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8052 $(HOST_EXPORTS) \
8053 for flag in $(EXTRA_HOST_FLAGS) ; do \
8054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8055 done; \
8056 echo "Doing mostlyclean in dosutils" ; \
8057 (cd $(HOST_SUBDIR)/dosutils && \
8058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8060 "RANLIB=$${RANLIB}" \
8061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8062 mostlyclean) \
8063 || exit 1
8065 @endif dosutils
8067 .PHONY: maybe-clean-dosutils clean-dosutils
8068 maybe-clean-dosutils:
8069 @if dosutils
8070 maybe-clean-dosutils: clean-dosutils
8072 clean-dosutils:
8073 @$(unstage)
8074 @[ -f ./dosutils/Makefile ] || exit 0; \
8075 r=`${PWD_COMMAND}`; export r; \
8076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8077 $(HOST_EXPORTS) \
8078 for flag in $(EXTRA_HOST_FLAGS) ; do \
8079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8080 done; \
8081 echo "Doing clean in dosutils" ; \
8082 (cd $(HOST_SUBDIR)/dosutils && \
8083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8085 "RANLIB=$${RANLIB}" \
8086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8087 clean) \
8088 || exit 1
8090 @endif dosutils
8092 .PHONY: maybe-distclean-dosutils distclean-dosutils
8093 maybe-distclean-dosutils:
8094 @if dosutils
8095 maybe-distclean-dosutils: distclean-dosutils
8097 distclean-dosutils:
8098 @$(unstage)
8099 @[ -f ./dosutils/Makefile ] || exit 0; \
8100 r=`${PWD_COMMAND}`; export r; \
8101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8102 $(HOST_EXPORTS) \
8103 for flag in $(EXTRA_HOST_FLAGS) ; do \
8104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8105 done; \
8106 echo "Doing distclean in dosutils" ; \
8107 (cd $(HOST_SUBDIR)/dosutils && \
8108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8110 "RANLIB=$${RANLIB}" \
8111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8112 distclean) \
8113 || exit 1
8115 @endif dosutils
8117 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8118 maybe-maintainer-clean-dosutils:
8119 @if dosutils
8120 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8122 maintainer-clean-dosutils:
8123 @$(unstage)
8124 @[ -f ./dosutils/Makefile ] || exit 0; \
8125 r=`${PWD_COMMAND}`; export r; \
8126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8127 $(HOST_EXPORTS) \
8128 for flag in $(EXTRA_HOST_FLAGS) ; do \
8129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8130 done; \
8131 echo "Doing maintainer-clean in dosutils" ; \
8132 (cd $(HOST_SUBDIR)/dosutils && \
8133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8135 "RANLIB=$${RANLIB}" \
8136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8137 maintainer-clean) \
8138 || exit 1
8140 @endif dosutils
8144 .PHONY: configure-etc maybe-configure-etc
8145 maybe-configure-etc:
8146 @if etc
8147 maybe-configure-etc: configure-etc
8148 configure-etc:
8149 @$(unstage)
8150 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8151 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8152 r=`${PWD_COMMAND}`; export r; \
8153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8154 $(HOST_EXPORTS) \
8155 echo Configuring in $(HOST_SUBDIR)/etc; \
8156 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8157 case $(srcdir) in \
8158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8159 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8161 esac; \
8162 srcdiroption="--srcdir=$${topdir}/etc"; \
8163 libsrcdir="$$s/etc"; \
8164 $(SHELL) $${libsrcdir}/configure \
8165 $(HOST_CONFIGARGS) $${srcdiroption} \
8166 || exit 1
8167 @endif etc
8173 .PHONY: all-etc maybe-all-etc
8174 maybe-all-etc:
8175 @if etc
8176 TARGET-etc=all
8177 maybe-all-etc: all-etc
8178 all-etc: configure-etc
8179 @$(unstage)
8180 @r=`${PWD_COMMAND}`; export r; \
8181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8182 $(HOST_EXPORTS) \
8183 (cd $(HOST_SUBDIR)/etc && \
8184 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8185 @endif etc
8190 .PHONY: check-etc maybe-check-etc
8191 maybe-check-etc:
8192 @if etc
8193 maybe-check-etc: check-etc
8195 check-etc:
8196 @$(unstage)
8197 @r=`${PWD_COMMAND}`; export r; \
8198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8199 $(HOST_EXPORTS) \
8200 (cd $(HOST_SUBDIR)/etc && \
8201 $(MAKE) $(FLAGS_TO_PASS) check)
8203 @endif etc
8205 .PHONY: install-etc maybe-install-etc
8206 maybe-install-etc:
8207 @if etc
8208 maybe-install-etc: install-etc
8210 install-etc: installdirs
8211 @$(unstage)
8212 @r=`${PWD_COMMAND}`; export r; \
8213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8214 $(HOST_EXPORTS) \
8215 (cd $(HOST_SUBDIR)/etc && \
8216 $(MAKE) $(FLAGS_TO_PASS) install)
8218 @endif etc
8220 # Other targets (info, dvi, etc.)
8222 .PHONY: maybe-info-etc info-etc
8223 maybe-info-etc:
8224 @if etc
8225 maybe-info-etc: info-etc
8227 info-etc: \
8228 configure-etc
8229 @$(unstage)
8230 @[ -f ./etc/Makefile ] || exit 0; \
8231 r=`${PWD_COMMAND}`; export r; \
8232 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8233 $(HOST_EXPORTS) \
8234 for flag in $(EXTRA_HOST_FLAGS) ; do \
8235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8236 done; \
8237 echo "Doing info in etc" ; \
8238 (cd $(HOST_SUBDIR)/etc && \
8239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8241 "RANLIB=$${RANLIB}" \
8242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8243 info) \
8244 || exit 1
8246 @endif etc
8248 .PHONY: maybe-dvi-etc dvi-etc
8249 maybe-dvi-etc:
8250 @if etc
8251 maybe-dvi-etc: dvi-etc
8253 dvi-etc: \
8254 configure-etc
8255 @$(unstage)
8256 @[ -f ./etc/Makefile ] || exit 0; \
8257 r=`${PWD_COMMAND}`; export r; \
8258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8259 $(HOST_EXPORTS) \
8260 for flag in $(EXTRA_HOST_FLAGS) ; do \
8261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8262 done; \
8263 echo "Doing dvi in etc" ; \
8264 (cd $(HOST_SUBDIR)/etc && \
8265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8267 "RANLIB=$${RANLIB}" \
8268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8269 dvi) \
8270 || exit 1
8272 @endif etc
8274 .PHONY: maybe-html-etc html-etc
8275 maybe-html-etc:
8276 @if etc
8277 maybe-html-etc: html-etc
8279 html-etc: \
8280 configure-etc
8281 @$(unstage)
8282 @[ -f ./etc/Makefile ] || exit 0; \
8283 r=`${PWD_COMMAND}`; export r; \
8284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8285 $(HOST_EXPORTS) \
8286 for flag in $(EXTRA_HOST_FLAGS) ; do \
8287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8288 done; \
8289 echo "Doing html in etc" ; \
8290 (cd $(HOST_SUBDIR)/etc && \
8291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8293 "RANLIB=$${RANLIB}" \
8294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8295 html) \
8296 || exit 1
8298 @endif etc
8300 .PHONY: maybe-TAGS-etc TAGS-etc
8301 maybe-TAGS-etc:
8302 @if etc
8303 maybe-TAGS-etc: TAGS-etc
8305 TAGS-etc: \
8306 configure-etc
8307 @$(unstage)
8308 @[ -f ./etc/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 TAGS in etc" ; \
8316 (cd $(HOST_SUBDIR)/etc && \
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 TAGS) \
8322 || exit 1
8324 @endif etc
8326 .PHONY: maybe-install-info-etc install-info-etc
8327 maybe-install-info-etc:
8328 @if etc
8329 maybe-install-info-etc: install-info-etc
8331 install-info-etc: \
8332 configure-etc \
8333 info-etc
8334 @$(unstage)
8335 @[ -f ./etc/Makefile ] || exit 0; \
8336 r=`${PWD_COMMAND}`; export r; \
8337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8338 $(HOST_EXPORTS) \
8339 for flag in $(EXTRA_HOST_FLAGS) ; do \
8340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8341 done; \
8342 echo "Doing install-info in etc" ; \
8343 (cd $(HOST_SUBDIR)/etc && \
8344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8346 "RANLIB=$${RANLIB}" \
8347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8348 install-info) \
8349 || exit 1
8351 @endif etc
8353 .PHONY: maybe-installcheck-etc installcheck-etc
8354 maybe-installcheck-etc:
8355 @if etc
8356 maybe-installcheck-etc: installcheck-etc
8358 installcheck-etc: \
8359 configure-etc
8360 @$(unstage)
8361 @[ -f ./etc/Makefile ] || exit 0; \
8362 r=`${PWD_COMMAND}`; export r; \
8363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8364 $(HOST_EXPORTS) \
8365 for flag in $(EXTRA_HOST_FLAGS) ; do \
8366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8367 done; \
8368 echo "Doing installcheck in etc" ; \
8369 (cd $(HOST_SUBDIR)/etc && \
8370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8372 "RANLIB=$${RANLIB}" \
8373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8374 installcheck) \
8375 || exit 1
8377 @endif etc
8379 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8380 maybe-mostlyclean-etc:
8381 @if etc
8382 maybe-mostlyclean-etc: mostlyclean-etc
8384 mostlyclean-etc:
8385 @$(unstage)
8386 @[ -f ./etc/Makefile ] || exit 0; \
8387 r=`${PWD_COMMAND}`; export r; \
8388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8389 $(HOST_EXPORTS) \
8390 for flag in $(EXTRA_HOST_FLAGS) ; do \
8391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8392 done; \
8393 echo "Doing mostlyclean in etc" ; \
8394 (cd $(HOST_SUBDIR)/etc && \
8395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8397 "RANLIB=$${RANLIB}" \
8398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8399 mostlyclean) \
8400 || exit 1
8402 @endif etc
8404 .PHONY: maybe-clean-etc clean-etc
8405 maybe-clean-etc:
8406 @if etc
8407 maybe-clean-etc: clean-etc
8409 clean-etc:
8410 @$(unstage)
8411 @[ -f ./etc/Makefile ] || exit 0; \
8412 r=`${PWD_COMMAND}`; export r; \
8413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8414 $(HOST_EXPORTS) \
8415 for flag in $(EXTRA_HOST_FLAGS) ; do \
8416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8417 done; \
8418 echo "Doing clean in etc" ; \
8419 (cd $(HOST_SUBDIR)/etc && \
8420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8422 "RANLIB=$${RANLIB}" \
8423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8424 clean) \
8425 || exit 1
8427 @endif etc
8429 .PHONY: maybe-distclean-etc distclean-etc
8430 maybe-distclean-etc:
8431 @if etc
8432 maybe-distclean-etc: distclean-etc
8434 distclean-etc:
8435 @$(unstage)
8436 @[ -f ./etc/Makefile ] || exit 0; \
8437 r=`${PWD_COMMAND}`; export r; \
8438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8439 $(HOST_EXPORTS) \
8440 for flag in $(EXTRA_HOST_FLAGS) ; do \
8441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8442 done; \
8443 echo "Doing distclean in etc" ; \
8444 (cd $(HOST_SUBDIR)/etc && \
8445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8447 "RANLIB=$${RANLIB}" \
8448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8449 distclean) \
8450 || exit 1
8452 @endif etc
8454 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8455 maybe-maintainer-clean-etc:
8456 @if etc
8457 maybe-maintainer-clean-etc: maintainer-clean-etc
8459 maintainer-clean-etc:
8460 @$(unstage)
8461 @[ -f ./etc/Makefile ] || exit 0; \
8462 r=`${PWD_COMMAND}`; export r; \
8463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8464 $(HOST_EXPORTS) \
8465 for flag in $(EXTRA_HOST_FLAGS) ; do \
8466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8467 done; \
8468 echo "Doing maintainer-clean in etc" ; \
8469 (cd $(HOST_SUBDIR)/etc && \
8470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8472 "RANLIB=$${RANLIB}" \
8473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8474 maintainer-clean) \
8475 || exit 1
8477 @endif etc
8481 .PHONY: configure-fastjar maybe-configure-fastjar
8482 maybe-configure-fastjar:
8483 @if fastjar
8484 maybe-configure-fastjar: configure-fastjar
8485 configure-fastjar:
8486 @$(unstage)
8487 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8488 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8489 r=`${PWD_COMMAND}`; export r; \
8490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8491 $(HOST_EXPORTS) \
8492 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8493 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8494 case $(srcdir) in \
8495 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8496 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8497 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8498 esac; \
8499 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8500 libsrcdir="$$s/fastjar"; \
8501 $(SHELL) $${libsrcdir}/configure \
8502 $(HOST_CONFIGARGS) $${srcdiroption} \
8503 || exit 1
8504 @endif fastjar
8510 .PHONY: all-fastjar maybe-all-fastjar
8511 maybe-all-fastjar:
8512 @if fastjar
8513 TARGET-fastjar=all
8514 maybe-all-fastjar: all-fastjar
8515 all-fastjar: configure-fastjar
8516 @$(unstage)
8517 @r=`${PWD_COMMAND}`; export r; \
8518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8519 $(HOST_EXPORTS) \
8520 (cd $(HOST_SUBDIR)/fastjar && \
8521 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8522 @endif fastjar
8527 .PHONY: check-fastjar maybe-check-fastjar
8528 maybe-check-fastjar:
8529 @if fastjar
8530 maybe-check-fastjar: check-fastjar
8532 # This module is only tested in a native toolchain.
8533 check-fastjar:
8534 @$(unstage)
8535 @if [ '$(host)' = '$(target)' ] ; then \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(HOST_EXPORTS) \
8539 (cd $(HOST_SUBDIR)/fastjar && \
8540 $(MAKE) $(FLAGS_TO_PASS) check); \
8543 @endif fastjar
8545 .PHONY: install-fastjar maybe-install-fastjar
8546 maybe-install-fastjar:
8547 @if fastjar
8548 maybe-install-fastjar: install-fastjar
8550 install-fastjar: installdirs
8551 @$(unstage)
8552 @r=`${PWD_COMMAND}`; export r; \
8553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8554 $(HOST_EXPORTS) \
8555 (cd $(HOST_SUBDIR)/fastjar && \
8556 $(MAKE) $(FLAGS_TO_PASS) install)
8558 @endif fastjar
8560 # Other targets (info, dvi, etc.)
8562 .PHONY: maybe-info-fastjar info-fastjar
8563 maybe-info-fastjar:
8564 @if fastjar
8565 maybe-info-fastjar: info-fastjar
8567 info-fastjar: \
8568 configure-fastjar
8569 @$(unstage)
8570 @[ -f ./fastjar/Makefile ] || exit 0; \
8571 r=`${PWD_COMMAND}`; export r; \
8572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8573 $(HOST_EXPORTS) \
8574 for flag in $(EXTRA_HOST_FLAGS) ; do \
8575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8576 done; \
8577 echo "Doing info in fastjar" ; \
8578 (cd $(HOST_SUBDIR)/fastjar && \
8579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8581 "RANLIB=$${RANLIB}" \
8582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8583 info) \
8584 || exit 1
8586 @endif fastjar
8588 .PHONY: maybe-dvi-fastjar dvi-fastjar
8589 maybe-dvi-fastjar:
8590 @if fastjar
8591 maybe-dvi-fastjar: dvi-fastjar
8593 dvi-fastjar: \
8594 configure-fastjar
8595 @$(unstage)
8596 @[ -f ./fastjar/Makefile ] || exit 0; \
8597 r=`${PWD_COMMAND}`; export r; \
8598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8599 $(HOST_EXPORTS) \
8600 for flag in $(EXTRA_HOST_FLAGS) ; do \
8601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8602 done; \
8603 echo "Doing dvi in fastjar" ; \
8604 (cd $(HOST_SUBDIR)/fastjar && \
8605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8607 "RANLIB=$${RANLIB}" \
8608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8609 dvi) \
8610 || exit 1
8612 @endif fastjar
8614 .PHONY: maybe-html-fastjar html-fastjar
8615 maybe-html-fastjar:
8616 @if fastjar
8617 maybe-html-fastjar: html-fastjar
8619 html-fastjar: \
8620 configure-fastjar
8621 @$(unstage)
8622 @[ -f ./fastjar/Makefile ] || exit 0; \
8623 r=`${PWD_COMMAND}`; export r; \
8624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8625 $(HOST_EXPORTS) \
8626 for flag in $(EXTRA_HOST_FLAGS) ; do \
8627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8628 done; \
8629 echo "Doing html in fastjar" ; \
8630 (cd $(HOST_SUBDIR)/fastjar && \
8631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8633 "RANLIB=$${RANLIB}" \
8634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8635 html) \
8636 || exit 1
8638 @endif fastjar
8640 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8641 maybe-TAGS-fastjar:
8642 @if fastjar
8643 maybe-TAGS-fastjar: TAGS-fastjar
8645 TAGS-fastjar: \
8646 configure-fastjar
8647 @$(unstage)
8648 @[ -f ./fastjar/Makefile ] || exit 0; \
8649 r=`${PWD_COMMAND}`; export r; \
8650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8651 $(HOST_EXPORTS) \
8652 for flag in $(EXTRA_HOST_FLAGS) ; do \
8653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8654 done; \
8655 echo "Doing TAGS in fastjar" ; \
8656 (cd $(HOST_SUBDIR)/fastjar && \
8657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8659 "RANLIB=$${RANLIB}" \
8660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8661 TAGS) \
8662 || exit 1
8664 @endif fastjar
8666 .PHONY: maybe-install-info-fastjar install-info-fastjar
8667 maybe-install-info-fastjar:
8668 @if fastjar
8669 maybe-install-info-fastjar: install-info-fastjar
8671 install-info-fastjar: \
8672 configure-fastjar \
8673 info-fastjar
8674 @$(unstage)
8675 @[ -f ./fastjar/Makefile ] || exit 0; \
8676 r=`${PWD_COMMAND}`; export r; \
8677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 $(HOST_EXPORTS) \
8679 for flag in $(EXTRA_HOST_FLAGS) ; do \
8680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8681 done; \
8682 echo "Doing install-info in fastjar" ; \
8683 (cd $(HOST_SUBDIR)/fastjar && \
8684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8686 "RANLIB=$${RANLIB}" \
8687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8688 install-info) \
8689 || exit 1
8691 @endif fastjar
8693 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8694 maybe-installcheck-fastjar:
8695 @if fastjar
8696 maybe-installcheck-fastjar: installcheck-fastjar
8698 installcheck-fastjar: \
8699 configure-fastjar
8700 @$(unstage)
8701 @[ -f ./fastjar/Makefile ] || exit 0; \
8702 r=`${PWD_COMMAND}`; export r; \
8703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8704 $(HOST_EXPORTS) \
8705 for flag in $(EXTRA_HOST_FLAGS) ; do \
8706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8707 done; \
8708 echo "Doing installcheck in fastjar" ; \
8709 (cd $(HOST_SUBDIR)/fastjar && \
8710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8712 "RANLIB=$${RANLIB}" \
8713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8714 installcheck) \
8715 || exit 1
8717 @endif fastjar
8719 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8720 maybe-mostlyclean-fastjar:
8721 @if fastjar
8722 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8724 mostlyclean-fastjar:
8725 @$(unstage)
8726 @[ -f ./fastjar/Makefile ] || exit 0; \
8727 r=`${PWD_COMMAND}`; export r; \
8728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8729 $(HOST_EXPORTS) \
8730 for flag in $(EXTRA_HOST_FLAGS) ; do \
8731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8732 done; \
8733 echo "Doing mostlyclean in fastjar" ; \
8734 (cd $(HOST_SUBDIR)/fastjar && \
8735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8737 "RANLIB=$${RANLIB}" \
8738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8739 mostlyclean) \
8740 || exit 1
8742 @endif fastjar
8744 .PHONY: maybe-clean-fastjar clean-fastjar
8745 maybe-clean-fastjar:
8746 @if fastjar
8747 maybe-clean-fastjar: clean-fastjar
8749 clean-fastjar:
8750 @$(unstage)
8751 @[ -f ./fastjar/Makefile ] || exit 0; \
8752 r=`${PWD_COMMAND}`; export r; \
8753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8754 $(HOST_EXPORTS) \
8755 for flag in $(EXTRA_HOST_FLAGS) ; do \
8756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8757 done; \
8758 echo "Doing clean in fastjar" ; \
8759 (cd $(HOST_SUBDIR)/fastjar && \
8760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8762 "RANLIB=$${RANLIB}" \
8763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8764 clean) \
8765 || exit 1
8767 @endif fastjar
8769 .PHONY: maybe-distclean-fastjar distclean-fastjar
8770 maybe-distclean-fastjar:
8771 @if fastjar
8772 maybe-distclean-fastjar: distclean-fastjar
8774 distclean-fastjar:
8775 @$(unstage)
8776 @[ -f ./fastjar/Makefile ] || exit 0; \
8777 r=`${PWD_COMMAND}`; export r; \
8778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8779 $(HOST_EXPORTS) \
8780 for flag in $(EXTRA_HOST_FLAGS) ; do \
8781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8782 done; \
8783 echo "Doing distclean in fastjar" ; \
8784 (cd $(HOST_SUBDIR)/fastjar && \
8785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8787 "RANLIB=$${RANLIB}" \
8788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8789 distclean) \
8790 || exit 1
8792 @endif fastjar
8794 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8795 maybe-maintainer-clean-fastjar:
8796 @if fastjar
8797 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8799 maintainer-clean-fastjar:
8800 @$(unstage)
8801 @[ -f ./fastjar/Makefile ] || exit 0; \
8802 r=`${PWD_COMMAND}`; export r; \
8803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8804 $(HOST_EXPORTS) \
8805 for flag in $(EXTRA_HOST_FLAGS) ; do \
8806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8807 done; \
8808 echo "Doing maintainer-clean in fastjar" ; \
8809 (cd $(HOST_SUBDIR)/fastjar && \
8810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8812 "RANLIB=$${RANLIB}" \
8813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8814 maintainer-clean) \
8815 || exit 1
8817 @endif fastjar
8821 .PHONY: configure-fileutils maybe-configure-fileutils
8822 maybe-configure-fileutils:
8823 @if fileutils
8824 maybe-configure-fileutils: configure-fileutils
8825 configure-fileutils:
8826 @$(unstage)
8827 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8829 r=`${PWD_COMMAND}`; export r; \
8830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8831 $(HOST_EXPORTS) \
8832 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8833 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8834 case $(srcdir) in \
8835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8836 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8838 esac; \
8839 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8840 libsrcdir="$$s/fileutils"; \
8841 $(SHELL) $${libsrcdir}/configure \
8842 $(HOST_CONFIGARGS) $${srcdiroption} \
8843 || exit 1
8844 @endif fileutils
8850 .PHONY: all-fileutils maybe-all-fileutils
8851 maybe-all-fileutils:
8852 @if fileutils
8853 TARGET-fileutils=all
8854 maybe-all-fileutils: all-fileutils
8855 all-fileutils: configure-fileutils
8856 @$(unstage)
8857 @r=`${PWD_COMMAND}`; export r; \
8858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8859 $(HOST_EXPORTS) \
8860 (cd $(HOST_SUBDIR)/fileutils && \
8861 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8862 @endif fileutils
8867 .PHONY: check-fileutils maybe-check-fileutils
8868 maybe-check-fileutils:
8869 @if fileutils
8870 maybe-check-fileutils: check-fileutils
8872 check-fileutils:
8873 @$(unstage)
8874 @r=`${PWD_COMMAND}`; export r; \
8875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8876 $(HOST_EXPORTS) \
8877 (cd $(HOST_SUBDIR)/fileutils && \
8878 $(MAKE) $(FLAGS_TO_PASS) check)
8880 @endif fileutils
8882 .PHONY: install-fileutils maybe-install-fileutils
8883 maybe-install-fileutils:
8884 @if fileutils
8885 maybe-install-fileutils: install-fileutils
8887 install-fileutils: installdirs
8888 @$(unstage)
8889 @r=`${PWD_COMMAND}`; export r; \
8890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8891 $(HOST_EXPORTS) \
8892 (cd $(HOST_SUBDIR)/fileutils && \
8893 $(MAKE) $(FLAGS_TO_PASS) install)
8895 @endif fileutils
8897 # Other targets (info, dvi, etc.)
8899 .PHONY: maybe-info-fileutils info-fileutils
8900 maybe-info-fileutils:
8901 @if fileutils
8902 maybe-info-fileutils: info-fileutils
8904 info-fileutils: \
8905 configure-fileutils
8906 @$(unstage)
8907 @[ -f ./fileutils/Makefile ] || exit 0; \
8908 r=`${PWD_COMMAND}`; export r; \
8909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8910 $(HOST_EXPORTS) \
8911 for flag in $(EXTRA_HOST_FLAGS) ; do \
8912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8913 done; \
8914 echo "Doing info in fileutils" ; \
8915 (cd $(HOST_SUBDIR)/fileutils && \
8916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8918 "RANLIB=$${RANLIB}" \
8919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8920 info) \
8921 || exit 1
8923 @endif fileutils
8925 .PHONY: maybe-dvi-fileutils dvi-fileutils
8926 maybe-dvi-fileutils:
8927 @if fileutils
8928 maybe-dvi-fileutils: dvi-fileutils
8930 dvi-fileutils: \
8931 configure-fileutils
8932 @$(unstage)
8933 @[ -f ./fileutils/Makefile ] || exit 0; \
8934 r=`${PWD_COMMAND}`; export r; \
8935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8936 $(HOST_EXPORTS) \
8937 for flag in $(EXTRA_HOST_FLAGS) ; do \
8938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8939 done; \
8940 echo "Doing dvi in fileutils" ; \
8941 (cd $(HOST_SUBDIR)/fileutils && \
8942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8944 "RANLIB=$${RANLIB}" \
8945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8946 dvi) \
8947 || exit 1
8949 @endif fileutils
8951 .PHONY: maybe-html-fileutils html-fileutils
8952 maybe-html-fileutils:
8953 @if fileutils
8954 maybe-html-fileutils: html-fileutils
8956 html-fileutils: \
8957 configure-fileutils
8958 @$(unstage)
8959 @[ -f ./fileutils/Makefile ] || exit 0; \
8960 r=`${PWD_COMMAND}`; export r; \
8961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8962 $(HOST_EXPORTS) \
8963 for flag in $(EXTRA_HOST_FLAGS) ; do \
8964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8965 done; \
8966 echo "Doing html in fileutils" ; \
8967 (cd $(HOST_SUBDIR)/fileutils && \
8968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8970 "RANLIB=$${RANLIB}" \
8971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8972 html) \
8973 || exit 1
8975 @endif fileutils
8977 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8978 maybe-TAGS-fileutils:
8979 @if fileutils
8980 maybe-TAGS-fileutils: TAGS-fileutils
8982 TAGS-fileutils: \
8983 configure-fileutils
8984 @$(unstage)
8985 @[ -f ./fileutils/Makefile ] || exit 0; \
8986 r=`${PWD_COMMAND}`; export r; \
8987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8988 $(HOST_EXPORTS) \
8989 for flag in $(EXTRA_HOST_FLAGS) ; do \
8990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8991 done; \
8992 echo "Doing TAGS in fileutils" ; \
8993 (cd $(HOST_SUBDIR)/fileutils && \
8994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8996 "RANLIB=$${RANLIB}" \
8997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8998 TAGS) \
8999 || exit 1
9001 @endif fileutils
9003 .PHONY: maybe-install-info-fileutils install-info-fileutils
9004 maybe-install-info-fileutils:
9005 @if fileutils
9006 maybe-install-info-fileutils: install-info-fileutils
9008 install-info-fileutils: \
9009 configure-fileutils \
9010 info-fileutils
9011 @$(unstage)
9012 @[ -f ./fileutils/Makefile ] || exit 0; \
9013 r=`${PWD_COMMAND}`; export r; \
9014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9015 $(HOST_EXPORTS) \
9016 for flag in $(EXTRA_HOST_FLAGS) ; do \
9017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9018 done; \
9019 echo "Doing install-info in fileutils" ; \
9020 (cd $(HOST_SUBDIR)/fileutils && \
9021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9023 "RANLIB=$${RANLIB}" \
9024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9025 install-info) \
9026 || exit 1
9028 @endif fileutils
9030 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9031 maybe-installcheck-fileutils:
9032 @if fileutils
9033 maybe-installcheck-fileutils: installcheck-fileutils
9035 installcheck-fileutils: \
9036 configure-fileutils
9037 @$(unstage)
9038 @[ -f ./fileutils/Makefile ] || exit 0; \
9039 r=`${PWD_COMMAND}`; export r; \
9040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9041 $(HOST_EXPORTS) \
9042 for flag in $(EXTRA_HOST_FLAGS) ; do \
9043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9044 done; \
9045 echo "Doing installcheck in fileutils" ; \
9046 (cd $(HOST_SUBDIR)/fileutils && \
9047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9049 "RANLIB=$${RANLIB}" \
9050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9051 installcheck) \
9052 || exit 1
9054 @endif fileutils
9056 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9057 maybe-mostlyclean-fileutils:
9058 @if fileutils
9059 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9061 mostlyclean-fileutils:
9062 @$(unstage)
9063 @[ -f ./fileutils/Makefile ] || exit 0; \
9064 r=`${PWD_COMMAND}`; export r; \
9065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9066 $(HOST_EXPORTS) \
9067 for flag in $(EXTRA_HOST_FLAGS) ; do \
9068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9069 done; \
9070 echo "Doing mostlyclean in fileutils" ; \
9071 (cd $(HOST_SUBDIR)/fileutils && \
9072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9074 "RANLIB=$${RANLIB}" \
9075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9076 mostlyclean) \
9077 || exit 1
9079 @endif fileutils
9081 .PHONY: maybe-clean-fileutils clean-fileutils
9082 maybe-clean-fileutils:
9083 @if fileutils
9084 maybe-clean-fileutils: clean-fileutils
9086 clean-fileutils:
9087 @$(unstage)
9088 @[ -f ./fileutils/Makefile ] || exit 0; \
9089 r=`${PWD_COMMAND}`; export r; \
9090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9091 $(HOST_EXPORTS) \
9092 for flag in $(EXTRA_HOST_FLAGS) ; do \
9093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9094 done; \
9095 echo "Doing clean in fileutils" ; \
9096 (cd $(HOST_SUBDIR)/fileutils && \
9097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9099 "RANLIB=$${RANLIB}" \
9100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9101 clean) \
9102 || exit 1
9104 @endif fileutils
9106 .PHONY: maybe-distclean-fileutils distclean-fileutils
9107 maybe-distclean-fileutils:
9108 @if fileutils
9109 maybe-distclean-fileutils: distclean-fileutils
9111 distclean-fileutils:
9112 @$(unstage)
9113 @[ -f ./fileutils/Makefile ] || exit 0; \
9114 r=`${PWD_COMMAND}`; export r; \
9115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9116 $(HOST_EXPORTS) \
9117 for flag in $(EXTRA_HOST_FLAGS) ; do \
9118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9119 done; \
9120 echo "Doing distclean in fileutils" ; \
9121 (cd $(HOST_SUBDIR)/fileutils && \
9122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9124 "RANLIB=$${RANLIB}" \
9125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9126 distclean) \
9127 || exit 1
9129 @endif fileutils
9131 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9132 maybe-maintainer-clean-fileutils:
9133 @if fileutils
9134 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9136 maintainer-clean-fileutils:
9137 @$(unstage)
9138 @[ -f ./fileutils/Makefile ] || exit 0; \
9139 r=`${PWD_COMMAND}`; export r; \
9140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9141 $(HOST_EXPORTS) \
9142 for flag in $(EXTRA_HOST_FLAGS) ; do \
9143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9144 done; \
9145 echo "Doing maintainer-clean in fileutils" ; \
9146 (cd $(HOST_SUBDIR)/fileutils && \
9147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9149 "RANLIB=$${RANLIB}" \
9150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9151 maintainer-clean) \
9152 || exit 1
9154 @endif fileutils
9158 .PHONY: configure-findutils maybe-configure-findutils
9159 maybe-configure-findutils:
9160 @if findutils
9161 maybe-configure-findutils: configure-findutils
9162 configure-findutils:
9163 @$(unstage)
9164 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9166 r=`${PWD_COMMAND}`; export r; \
9167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9168 $(HOST_EXPORTS) \
9169 echo Configuring in $(HOST_SUBDIR)/findutils; \
9170 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9171 case $(srcdir) in \
9172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9173 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9175 esac; \
9176 srcdiroption="--srcdir=$${topdir}/findutils"; \
9177 libsrcdir="$$s/findutils"; \
9178 $(SHELL) $${libsrcdir}/configure \
9179 $(HOST_CONFIGARGS) $${srcdiroption} \
9180 || exit 1
9181 @endif findutils
9187 .PHONY: all-findutils maybe-all-findutils
9188 maybe-all-findutils:
9189 @if findutils
9190 TARGET-findutils=all
9191 maybe-all-findutils: all-findutils
9192 all-findutils: configure-findutils
9193 @$(unstage)
9194 @r=`${PWD_COMMAND}`; export r; \
9195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9196 $(HOST_EXPORTS) \
9197 (cd $(HOST_SUBDIR)/findutils && \
9198 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9199 @endif findutils
9204 .PHONY: check-findutils maybe-check-findutils
9205 maybe-check-findutils:
9206 @if findutils
9207 maybe-check-findutils: check-findutils
9209 check-findutils:
9210 @$(unstage)
9211 @r=`${PWD_COMMAND}`; export r; \
9212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9213 $(HOST_EXPORTS) \
9214 (cd $(HOST_SUBDIR)/findutils && \
9215 $(MAKE) $(FLAGS_TO_PASS) check)
9217 @endif findutils
9219 .PHONY: install-findutils maybe-install-findutils
9220 maybe-install-findutils:
9221 @if findutils
9222 maybe-install-findutils: install-findutils
9224 install-findutils: installdirs
9225 @$(unstage)
9226 @r=`${PWD_COMMAND}`; export r; \
9227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9228 $(HOST_EXPORTS) \
9229 (cd $(HOST_SUBDIR)/findutils && \
9230 $(MAKE) $(FLAGS_TO_PASS) install)
9232 @endif findutils
9234 # Other targets (info, dvi, etc.)
9236 .PHONY: maybe-info-findutils info-findutils
9237 maybe-info-findutils:
9238 @if findutils
9239 maybe-info-findutils: info-findutils
9241 info-findutils: \
9242 configure-findutils
9243 @$(unstage)
9244 @[ -f ./findutils/Makefile ] || exit 0; \
9245 r=`${PWD_COMMAND}`; export r; \
9246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9247 $(HOST_EXPORTS) \
9248 for flag in $(EXTRA_HOST_FLAGS) ; do \
9249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9250 done; \
9251 echo "Doing info in findutils" ; \
9252 (cd $(HOST_SUBDIR)/findutils && \
9253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9255 "RANLIB=$${RANLIB}" \
9256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9257 info) \
9258 || exit 1
9260 @endif findutils
9262 .PHONY: maybe-dvi-findutils dvi-findutils
9263 maybe-dvi-findutils:
9264 @if findutils
9265 maybe-dvi-findutils: dvi-findutils
9267 dvi-findutils: \
9268 configure-findutils
9269 @$(unstage)
9270 @[ -f ./findutils/Makefile ] || exit 0; \
9271 r=`${PWD_COMMAND}`; export r; \
9272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9273 $(HOST_EXPORTS) \
9274 for flag in $(EXTRA_HOST_FLAGS) ; do \
9275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9276 done; \
9277 echo "Doing dvi in findutils" ; \
9278 (cd $(HOST_SUBDIR)/findutils && \
9279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9281 "RANLIB=$${RANLIB}" \
9282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9283 dvi) \
9284 || exit 1
9286 @endif findutils
9288 .PHONY: maybe-html-findutils html-findutils
9289 maybe-html-findutils:
9290 @if findutils
9291 maybe-html-findutils: html-findutils
9293 html-findutils: \
9294 configure-findutils
9295 @$(unstage)
9296 @[ -f ./findutils/Makefile ] || exit 0; \
9297 r=`${PWD_COMMAND}`; export r; \
9298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9299 $(HOST_EXPORTS) \
9300 for flag in $(EXTRA_HOST_FLAGS) ; do \
9301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9302 done; \
9303 echo "Doing html in findutils" ; \
9304 (cd $(HOST_SUBDIR)/findutils && \
9305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9307 "RANLIB=$${RANLIB}" \
9308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9309 html) \
9310 || exit 1
9312 @endif findutils
9314 .PHONY: maybe-TAGS-findutils TAGS-findutils
9315 maybe-TAGS-findutils:
9316 @if findutils
9317 maybe-TAGS-findutils: TAGS-findutils
9319 TAGS-findutils: \
9320 configure-findutils
9321 @$(unstage)
9322 @[ -f ./findutils/Makefile ] || exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(HOST_EXPORTS) \
9326 for flag in $(EXTRA_HOST_FLAGS) ; do \
9327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9328 done; \
9329 echo "Doing TAGS in findutils" ; \
9330 (cd $(HOST_SUBDIR)/findutils && \
9331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9333 "RANLIB=$${RANLIB}" \
9334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9335 TAGS) \
9336 || exit 1
9338 @endif findutils
9340 .PHONY: maybe-install-info-findutils install-info-findutils
9341 maybe-install-info-findutils:
9342 @if findutils
9343 maybe-install-info-findutils: install-info-findutils
9345 install-info-findutils: \
9346 configure-findutils \
9347 info-findutils
9348 @$(unstage)
9349 @[ -f ./findutils/Makefile ] || exit 0; \
9350 r=`${PWD_COMMAND}`; export r; \
9351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9352 $(HOST_EXPORTS) \
9353 for flag in $(EXTRA_HOST_FLAGS) ; do \
9354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9355 done; \
9356 echo "Doing install-info in findutils" ; \
9357 (cd $(HOST_SUBDIR)/findutils && \
9358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9360 "RANLIB=$${RANLIB}" \
9361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9362 install-info) \
9363 || exit 1
9365 @endif findutils
9367 .PHONY: maybe-installcheck-findutils installcheck-findutils
9368 maybe-installcheck-findutils:
9369 @if findutils
9370 maybe-installcheck-findutils: installcheck-findutils
9372 installcheck-findutils: \
9373 configure-findutils
9374 @$(unstage)
9375 @[ -f ./findutils/Makefile ] || exit 0; \
9376 r=`${PWD_COMMAND}`; export r; \
9377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9378 $(HOST_EXPORTS) \
9379 for flag in $(EXTRA_HOST_FLAGS) ; do \
9380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9381 done; \
9382 echo "Doing installcheck in findutils" ; \
9383 (cd $(HOST_SUBDIR)/findutils && \
9384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9386 "RANLIB=$${RANLIB}" \
9387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9388 installcheck) \
9389 || exit 1
9391 @endif findutils
9393 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9394 maybe-mostlyclean-findutils:
9395 @if findutils
9396 maybe-mostlyclean-findutils: mostlyclean-findutils
9398 mostlyclean-findutils:
9399 @$(unstage)
9400 @[ -f ./findutils/Makefile ] || exit 0; \
9401 r=`${PWD_COMMAND}`; export r; \
9402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9403 $(HOST_EXPORTS) \
9404 for flag in $(EXTRA_HOST_FLAGS) ; do \
9405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9406 done; \
9407 echo "Doing mostlyclean in findutils" ; \
9408 (cd $(HOST_SUBDIR)/findutils && \
9409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9411 "RANLIB=$${RANLIB}" \
9412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9413 mostlyclean) \
9414 || exit 1
9416 @endif findutils
9418 .PHONY: maybe-clean-findutils clean-findutils
9419 maybe-clean-findutils:
9420 @if findutils
9421 maybe-clean-findutils: clean-findutils
9423 clean-findutils:
9424 @$(unstage)
9425 @[ -f ./findutils/Makefile ] || exit 0; \
9426 r=`${PWD_COMMAND}`; export r; \
9427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9428 $(HOST_EXPORTS) \
9429 for flag in $(EXTRA_HOST_FLAGS) ; do \
9430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9431 done; \
9432 echo "Doing clean in findutils" ; \
9433 (cd $(HOST_SUBDIR)/findutils && \
9434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9436 "RANLIB=$${RANLIB}" \
9437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9438 clean) \
9439 || exit 1
9441 @endif findutils
9443 .PHONY: maybe-distclean-findutils distclean-findutils
9444 maybe-distclean-findutils:
9445 @if findutils
9446 maybe-distclean-findutils: distclean-findutils
9448 distclean-findutils:
9449 @$(unstage)
9450 @[ -f ./findutils/Makefile ] || exit 0; \
9451 r=`${PWD_COMMAND}`; export r; \
9452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9453 $(HOST_EXPORTS) \
9454 for flag in $(EXTRA_HOST_FLAGS) ; do \
9455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9456 done; \
9457 echo "Doing distclean in findutils" ; \
9458 (cd $(HOST_SUBDIR)/findutils && \
9459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9461 "RANLIB=$${RANLIB}" \
9462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9463 distclean) \
9464 || exit 1
9466 @endif findutils
9468 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9469 maybe-maintainer-clean-findutils:
9470 @if findutils
9471 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9473 maintainer-clean-findutils:
9474 @$(unstage)
9475 @[ -f ./findutils/Makefile ] || exit 0; \
9476 r=`${PWD_COMMAND}`; export r; \
9477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9478 $(HOST_EXPORTS) \
9479 for flag in $(EXTRA_HOST_FLAGS) ; do \
9480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9481 done; \
9482 echo "Doing maintainer-clean in findutils" ; \
9483 (cd $(HOST_SUBDIR)/findutils && \
9484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9486 "RANLIB=$${RANLIB}" \
9487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9488 maintainer-clean) \
9489 || exit 1
9491 @endif findutils
9495 .PHONY: configure-find maybe-configure-find
9496 maybe-configure-find:
9497 @if find
9498 maybe-configure-find: configure-find
9499 configure-find:
9500 @$(unstage)
9501 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9503 r=`${PWD_COMMAND}`; export r; \
9504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9505 $(HOST_EXPORTS) \
9506 echo Configuring in $(HOST_SUBDIR)/find; \
9507 cd "$(HOST_SUBDIR)/find" || exit 1; \
9508 case $(srcdir) in \
9509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9510 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9512 esac; \
9513 srcdiroption="--srcdir=$${topdir}/find"; \
9514 libsrcdir="$$s/find"; \
9515 $(SHELL) $${libsrcdir}/configure \
9516 $(HOST_CONFIGARGS) $${srcdiroption} \
9517 || exit 1
9518 @endif find
9524 .PHONY: all-find maybe-all-find
9525 maybe-all-find:
9526 @if find
9527 TARGET-find=all
9528 maybe-all-find: all-find
9529 all-find: configure-find
9530 @$(unstage)
9531 @r=`${PWD_COMMAND}`; export r; \
9532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9533 $(HOST_EXPORTS) \
9534 (cd $(HOST_SUBDIR)/find && \
9535 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9536 @endif find
9541 .PHONY: check-find maybe-check-find
9542 maybe-check-find:
9543 @if find
9544 maybe-check-find: check-find
9546 check-find:
9547 @$(unstage)
9548 @r=`${PWD_COMMAND}`; export r; \
9549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9550 $(HOST_EXPORTS) \
9551 (cd $(HOST_SUBDIR)/find && \
9552 $(MAKE) $(FLAGS_TO_PASS) check)
9554 @endif find
9556 .PHONY: install-find maybe-install-find
9557 maybe-install-find:
9558 @if find
9559 maybe-install-find: install-find
9561 install-find: installdirs
9562 @$(unstage)
9563 @r=`${PWD_COMMAND}`; export r; \
9564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9565 $(HOST_EXPORTS) \
9566 (cd $(HOST_SUBDIR)/find && \
9567 $(MAKE) $(FLAGS_TO_PASS) install)
9569 @endif find
9571 # Other targets (info, dvi, etc.)
9573 .PHONY: maybe-info-find info-find
9574 maybe-info-find:
9575 @if find
9576 maybe-info-find: info-find
9578 info-find: \
9579 configure-find
9580 @$(unstage)
9581 @[ -f ./find/Makefile ] || exit 0; \
9582 r=`${PWD_COMMAND}`; export r; \
9583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9584 $(HOST_EXPORTS) \
9585 for flag in $(EXTRA_HOST_FLAGS) ; do \
9586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9587 done; \
9588 echo "Doing info in find" ; \
9589 (cd $(HOST_SUBDIR)/find && \
9590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9592 "RANLIB=$${RANLIB}" \
9593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9594 info) \
9595 || exit 1
9597 @endif find
9599 .PHONY: maybe-dvi-find dvi-find
9600 maybe-dvi-find:
9601 @if find
9602 maybe-dvi-find: dvi-find
9604 dvi-find: \
9605 configure-find
9606 @$(unstage)
9607 @[ -f ./find/Makefile ] || exit 0; \
9608 r=`${PWD_COMMAND}`; export r; \
9609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9610 $(HOST_EXPORTS) \
9611 for flag in $(EXTRA_HOST_FLAGS) ; do \
9612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9613 done; \
9614 echo "Doing dvi in find" ; \
9615 (cd $(HOST_SUBDIR)/find && \
9616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9618 "RANLIB=$${RANLIB}" \
9619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9620 dvi) \
9621 || exit 1
9623 @endif find
9625 .PHONY: maybe-html-find html-find
9626 maybe-html-find:
9627 @if find
9628 maybe-html-find: html-find
9630 html-find: \
9631 configure-find
9632 @$(unstage)
9633 @[ -f ./find/Makefile ] || exit 0; \
9634 r=`${PWD_COMMAND}`; export r; \
9635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9636 $(HOST_EXPORTS) \
9637 for flag in $(EXTRA_HOST_FLAGS) ; do \
9638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9639 done; \
9640 echo "Doing html in find" ; \
9641 (cd $(HOST_SUBDIR)/find && \
9642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9644 "RANLIB=$${RANLIB}" \
9645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9646 html) \
9647 || exit 1
9649 @endif find
9651 .PHONY: maybe-TAGS-find TAGS-find
9652 maybe-TAGS-find:
9653 @if find
9654 maybe-TAGS-find: TAGS-find
9656 TAGS-find: \
9657 configure-find
9658 @$(unstage)
9659 @[ -f ./find/Makefile ] || exit 0; \
9660 r=`${PWD_COMMAND}`; export r; \
9661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9662 $(HOST_EXPORTS) \
9663 for flag in $(EXTRA_HOST_FLAGS) ; do \
9664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9665 done; \
9666 echo "Doing TAGS in find" ; \
9667 (cd $(HOST_SUBDIR)/find && \
9668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9670 "RANLIB=$${RANLIB}" \
9671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9672 TAGS) \
9673 || exit 1
9675 @endif find
9677 .PHONY: maybe-install-info-find install-info-find
9678 maybe-install-info-find:
9679 @if find
9680 maybe-install-info-find: install-info-find
9682 install-info-find: \
9683 configure-find \
9684 info-find
9685 @$(unstage)
9686 @[ -f ./find/Makefile ] || exit 0; \
9687 r=`${PWD_COMMAND}`; export r; \
9688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9689 $(HOST_EXPORTS) \
9690 for flag in $(EXTRA_HOST_FLAGS) ; do \
9691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9692 done; \
9693 echo "Doing install-info in find" ; \
9694 (cd $(HOST_SUBDIR)/find && \
9695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9697 "RANLIB=$${RANLIB}" \
9698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9699 install-info) \
9700 || exit 1
9702 @endif find
9704 .PHONY: maybe-installcheck-find installcheck-find
9705 maybe-installcheck-find:
9706 @if find
9707 maybe-installcheck-find: installcheck-find
9709 installcheck-find: \
9710 configure-find
9711 @$(unstage)
9712 @[ -f ./find/Makefile ] || exit 0; \
9713 r=`${PWD_COMMAND}`; export r; \
9714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9715 $(HOST_EXPORTS) \
9716 for flag in $(EXTRA_HOST_FLAGS) ; do \
9717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9718 done; \
9719 echo "Doing installcheck in find" ; \
9720 (cd $(HOST_SUBDIR)/find && \
9721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9723 "RANLIB=$${RANLIB}" \
9724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9725 installcheck) \
9726 || exit 1
9728 @endif find
9730 .PHONY: maybe-mostlyclean-find mostlyclean-find
9731 maybe-mostlyclean-find:
9732 @if find
9733 maybe-mostlyclean-find: mostlyclean-find
9735 mostlyclean-find:
9736 @$(unstage)
9737 @[ -f ./find/Makefile ] || exit 0; \
9738 r=`${PWD_COMMAND}`; export r; \
9739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9740 $(HOST_EXPORTS) \
9741 for flag in $(EXTRA_HOST_FLAGS) ; do \
9742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9743 done; \
9744 echo "Doing mostlyclean in find" ; \
9745 (cd $(HOST_SUBDIR)/find && \
9746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9748 "RANLIB=$${RANLIB}" \
9749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9750 mostlyclean) \
9751 || exit 1
9753 @endif find
9755 .PHONY: maybe-clean-find clean-find
9756 maybe-clean-find:
9757 @if find
9758 maybe-clean-find: clean-find
9760 clean-find:
9761 @$(unstage)
9762 @[ -f ./find/Makefile ] || exit 0; \
9763 r=`${PWD_COMMAND}`; export r; \
9764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9765 $(HOST_EXPORTS) \
9766 for flag in $(EXTRA_HOST_FLAGS) ; do \
9767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9768 done; \
9769 echo "Doing clean in find" ; \
9770 (cd $(HOST_SUBDIR)/find && \
9771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9773 "RANLIB=$${RANLIB}" \
9774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9775 clean) \
9776 || exit 1
9778 @endif find
9780 .PHONY: maybe-distclean-find distclean-find
9781 maybe-distclean-find:
9782 @if find
9783 maybe-distclean-find: distclean-find
9785 distclean-find:
9786 @$(unstage)
9787 @[ -f ./find/Makefile ] || exit 0; \
9788 r=`${PWD_COMMAND}`; export r; \
9789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9790 $(HOST_EXPORTS) \
9791 for flag in $(EXTRA_HOST_FLAGS) ; do \
9792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9793 done; \
9794 echo "Doing distclean in find" ; \
9795 (cd $(HOST_SUBDIR)/find && \
9796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9798 "RANLIB=$${RANLIB}" \
9799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9800 distclean) \
9801 || exit 1
9803 @endif find
9805 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9806 maybe-maintainer-clean-find:
9807 @if find
9808 maybe-maintainer-clean-find: maintainer-clean-find
9810 maintainer-clean-find:
9811 @$(unstage)
9812 @[ -f ./find/Makefile ] || exit 0; \
9813 r=`${PWD_COMMAND}`; export r; \
9814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9815 $(HOST_EXPORTS) \
9816 for flag in $(EXTRA_HOST_FLAGS) ; do \
9817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9818 done; \
9819 echo "Doing maintainer-clean in find" ; \
9820 (cd $(HOST_SUBDIR)/find && \
9821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9823 "RANLIB=$${RANLIB}" \
9824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9825 maintainer-clean) \
9826 || exit 1
9828 @endif find
9832 .PHONY: configure-fixincludes maybe-configure-fixincludes
9833 maybe-configure-fixincludes:
9834 @if fixincludes
9835 maybe-configure-fixincludes: configure-fixincludes
9836 configure-fixincludes:
9837 @$(unstage)
9838 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9840 r=`${PWD_COMMAND}`; export r; \
9841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9842 $(HOST_EXPORTS) \
9843 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9844 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9845 case $(srcdir) in \
9846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9847 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9849 esac; \
9850 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9851 libsrcdir="$$s/fixincludes"; \
9852 $(SHELL) $${libsrcdir}/configure \
9853 $(HOST_CONFIGARGS) $${srcdiroption} \
9854 || exit 1
9855 @endif fixincludes
9861 .PHONY: all-fixincludes maybe-all-fixincludes
9862 maybe-all-fixincludes:
9863 @if fixincludes
9864 TARGET-fixincludes=all
9865 maybe-all-fixincludes: all-fixincludes
9866 all-fixincludes: configure-fixincludes
9867 @$(unstage)
9868 @r=`${PWD_COMMAND}`; export r; \
9869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9870 $(HOST_EXPORTS) \
9871 (cd $(HOST_SUBDIR)/fixincludes && \
9872 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9873 @endif fixincludes
9878 .PHONY: check-fixincludes maybe-check-fixincludes
9879 maybe-check-fixincludes:
9880 @if fixincludes
9881 maybe-check-fixincludes: check-fixincludes
9883 check-fixincludes:
9884 @$(unstage)
9885 @r=`${PWD_COMMAND}`; export r; \
9886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9887 $(HOST_EXPORTS) \
9888 (cd $(HOST_SUBDIR)/fixincludes && \
9889 $(MAKE) $(FLAGS_TO_PASS) check)
9891 @endif fixincludes
9893 .PHONY: install-fixincludes maybe-install-fixincludes
9894 maybe-install-fixincludes:
9895 @if fixincludes
9896 maybe-install-fixincludes: install-fixincludes
9898 install-fixincludes: installdirs
9899 @$(unstage)
9900 @r=`${PWD_COMMAND}`; export r; \
9901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9902 $(HOST_EXPORTS) \
9903 (cd $(HOST_SUBDIR)/fixincludes && \
9904 $(MAKE) $(FLAGS_TO_PASS) install)
9906 @endif fixincludes
9908 # Other targets (info, dvi, etc.)
9910 .PHONY: maybe-info-fixincludes info-fixincludes
9911 maybe-info-fixincludes:
9912 @if fixincludes
9913 maybe-info-fixincludes: info-fixincludes
9915 # fixincludes doesn't support info.
9916 info-fixincludes:
9918 @endif fixincludes
9920 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9921 maybe-dvi-fixincludes:
9922 @if fixincludes
9923 maybe-dvi-fixincludes: dvi-fixincludes
9925 # fixincludes doesn't support dvi.
9926 dvi-fixincludes:
9928 @endif fixincludes
9930 .PHONY: maybe-html-fixincludes html-fixincludes
9931 maybe-html-fixincludes:
9932 @if fixincludes
9933 maybe-html-fixincludes: html-fixincludes
9935 html-fixincludes: \
9936 configure-fixincludes
9937 @$(unstage)
9938 @[ -f ./fixincludes/Makefile ] || exit 0; \
9939 r=`${PWD_COMMAND}`; export r; \
9940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9941 $(HOST_EXPORTS) \
9942 for flag in $(EXTRA_HOST_FLAGS) ; do \
9943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9944 done; \
9945 echo "Doing html in fixincludes" ; \
9946 (cd $(HOST_SUBDIR)/fixincludes && \
9947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9949 "RANLIB=$${RANLIB}" \
9950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9951 html) \
9952 || exit 1
9954 @endif fixincludes
9956 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9957 maybe-TAGS-fixincludes:
9958 @if fixincludes
9959 maybe-TAGS-fixincludes: TAGS-fixincludes
9961 # fixincludes doesn't support TAGS.
9962 TAGS-fixincludes:
9964 @endif fixincludes
9966 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9967 maybe-install-info-fixincludes:
9968 @if fixincludes
9969 maybe-install-info-fixincludes: install-info-fixincludes
9971 # fixincludes doesn't support install-info.
9972 install-info-fixincludes:
9974 @endif fixincludes
9976 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9977 maybe-installcheck-fixincludes:
9978 @if fixincludes
9979 maybe-installcheck-fixincludes: installcheck-fixincludes
9981 # fixincludes doesn't support installcheck.
9982 installcheck-fixincludes:
9984 @endif fixincludes
9986 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9987 maybe-mostlyclean-fixincludes:
9988 @if fixincludes
9989 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9991 mostlyclean-fixincludes:
9992 @$(unstage)
9993 @[ -f ./fixincludes/Makefile ] || exit 0; \
9994 r=`${PWD_COMMAND}`; export r; \
9995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9996 $(HOST_EXPORTS) \
9997 for flag in $(EXTRA_HOST_FLAGS) ; do \
9998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9999 done; \
10000 echo "Doing mostlyclean in fixincludes" ; \
10001 (cd $(HOST_SUBDIR)/fixincludes && \
10002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10004 "RANLIB=$${RANLIB}" \
10005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10006 mostlyclean) \
10007 || exit 1
10009 @endif fixincludes
10011 .PHONY: maybe-clean-fixincludes clean-fixincludes
10012 maybe-clean-fixincludes:
10013 @if fixincludes
10014 maybe-clean-fixincludes: clean-fixincludes
10016 clean-fixincludes:
10017 @$(unstage)
10018 @[ -f ./fixincludes/Makefile ] || exit 0; \
10019 r=`${PWD_COMMAND}`; export r; \
10020 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10021 $(HOST_EXPORTS) \
10022 for flag in $(EXTRA_HOST_FLAGS) ; do \
10023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10024 done; \
10025 echo "Doing clean in fixincludes" ; \
10026 (cd $(HOST_SUBDIR)/fixincludes && \
10027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10029 "RANLIB=$${RANLIB}" \
10030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10031 clean) \
10032 || exit 1
10034 @endif fixincludes
10036 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10037 maybe-distclean-fixincludes:
10038 @if fixincludes
10039 maybe-distclean-fixincludes: distclean-fixincludes
10041 distclean-fixincludes:
10042 @$(unstage)
10043 @[ -f ./fixincludes/Makefile ] || exit 0; \
10044 r=`${PWD_COMMAND}`; export r; \
10045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10046 $(HOST_EXPORTS) \
10047 for flag in $(EXTRA_HOST_FLAGS) ; do \
10048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10049 done; \
10050 echo "Doing distclean in fixincludes" ; \
10051 (cd $(HOST_SUBDIR)/fixincludes && \
10052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10054 "RANLIB=$${RANLIB}" \
10055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10056 distclean) \
10057 || exit 1
10059 @endif fixincludes
10061 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10062 maybe-maintainer-clean-fixincludes:
10063 @if fixincludes
10064 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10066 maintainer-clean-fixincludes:
10067 @$(unstage)
10068 @[ -f ./fixincludes/Makefile ] || exit 0; \
10069 r=`${PWD_COMMAND}`; export r; \
10070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10071 $(HOST_EXPORTS) \
10072 for flag in $(EXTRA_HOST_FLAGS) ; do \
10073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10074 done; \
10075 echo "Doing maintainer-clean in fixincludes" ; \
10076 (cd $(HOST_SUBDIR)/fixincludes && \
10077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10079 "RANLIB=$${RANLIB}" \
10080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10081 maintainer-clean) \
10082 || exit 1
10084 @endif fixincludes
10088 .PHONY: configure-flex maybe-configure-flex
10089 maybe-configure-flex:
10090 @if flex
10091 maybe-configure-flex: configure-flex
10092 configure-flex:
10093 @$(unstage)
10094 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10095 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10096 r=`${PWD_COMMAND}`; export r; \
10097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10098 $(HOST_EXPORTS) \
10099 echo Configuring in $(HOST_SUBDIR)/flex; \
10100 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10101 case $(srcdir) in \
10102 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10103 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10104 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10105 esac; \
10106 srcdiroption="--srcdir=$${topdir}/flex"; \
10107 libsrcdir="$$s/flex"; \
10108 $(SHELL) $${libsrcdir}/configure \
10109 $(HOST_CONFIGARGS) $${srcdiroption} \
10110 || exit 1
10111 @endif flex
10117 .PHONY: all-flex maybe-all-flex
10118 maybe-all-flex:
10119 @if flex
10120 TARGET-flex=all
10121 maybe-all-flex: all-flex
10122 all-flex: configure-flex
10123 @$(unstage)
10124 @r=`${PWD_COMMAND}`; export r; \
10125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10126 $(HOST_EXPORTS) \
10127 (cd $(HOST_SUBDIR)/flex && \
10128 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10129 @endif flex
10134 .PHONY: check-flex maybe-check-flex
10135 maybe-check-flex:
10136 @if flex
10137 maybe-check-flex: check-flex
10139 # This module is only tested in a native toolchain.
10140 check-flex:
10141 @$(unstage)
10142 @if [ '$(host)' = '$(target)' ] ; then \
10143 r=`${PWD_COMMAND}`; export r; \
10144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10145 $(HOST_EXPORTS) \
10146 (cd $(HOST_SUBDIR)/flex && \
10147 $(MAKE) $(FLAGS_TO_PASS) check); \
10150 @endif flex
10152 .PHONY: install-flex maybe-install-flex
10153 maybe-install-flex:
10154 @if flex
10155 maybe-install-flex: install-flex
10157 install-flex: installdirs
10158 @$(unstage)
10159 @r=`${PWD_COMMAND}`; export r; \
10160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10161 $(HOST_EXPORTS) \
10162 (cd $(HOST_SUBDIR)/flex && \
10163 $(MAKE) $(FLAGS_TO_PASS) install)
10165 @endif flex
10167 # Other targets (info, dvi, etc.)
10169 .PHONY: maybe-info-flex info-flex
10170 maybe-info-flex:
10171 @if flex
10172 maybe-info-flex: info-flex
10174 info-flex: \
10175 configure-flex
10176 @$(unstage)
10177 @[ -f ./flex/Makefile ] || exit 0; \
10178 r=`${PWD_COMMAND}`; export r; \
10179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10180 $(HOST_EXPORTS) \
10181 for flag in $(EXTRA_HOST_FLAGS) ; do \
10182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10183 done; \
10184 echo "Doing info in flex" ; \
10185 (cd $(HOST_SUBDIR)/flex && \
10186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10188 "RANLIB=$${RANLIB}" \
10189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10190 info) \
10191 || exit 1
10193 @endif flex
10195 .PHONY: maybe-dvi-flex dvi-flex
10196 maybe-dvi-flex:
10197 @if flex
10198 maybe-dvi-flex: dvi-flex
10200 dvi-flex: \
10201 configure-flex
10202 @$(unstage)
10203 @[ -f ./flex/Makefile ] || exit 0; \
10204 r=`${PWD_COMMAND}`; export r; \
10205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10206 $(HOST_EXPORTS) \
10207 for flag in $(EXTRA_HOST_FLAGS) ; do \
10208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10209 done; \
10210 echo "Doing dvi in flex" ; \
10211 (cd $(HOST_SUBDIR)/flex && \
10212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10214 "RANLIB=$${RANLIB}" \
10215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10216 dvi) \
10217 || exit 1
10219 @endif flex
10221 .PHONY: maybe-html-flex html-flex
10222 maybe-html-flex:
10223 @if flex
10224 maybe-html-flex: html-flex
10226 html-flex: \
10227 configure-flex
10228 @$(unstage)
10229 @[ -f ./flex/Makefile ] || exit 0; \
10230 r=`${PWD_COMMAND}`; export r; \
10231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10232 $(HOST_EXPORTS) \
10233 for flag in $(EXTRA_HOST_FLAGS) ; do \
10234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10235 done; \
10236 echo "Doing html in flex" ; \
10237 (cd $(HOST_SUBDIR)/flex && \
10238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10240 "RANLIB=$${RANLIB}" \
10241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10242 html) \
10243 || exit 1
10245 @endif flex
10247 .PHONY: maybe-TAGS-flex TAGS-flex
10248 maybe-TAGS-flex:
10249 @if flex
10250 maybe-TAGS-flex: TAGS-flex
10252 TAGS-flex: \
10253 configure-flex
10254 @$(unstage)
10255 @[ -f ./flex/Makefile ] || exit 0; \
10256 r=`${PWD_COMMAND}`; export r; \
10257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10258 $(HOST_EXPORTS) \
10259 for flag in $(EXTRA_HOST_FLAGS) ; do \
10260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10261 done; \
10262 echo "Doing TAGS in flex" ; \
10263 (cd $(HOST_SUBDIR)/flex && \
10264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10266 "RANLIB=$${RANLIB}" \
10267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10268 TAGS) \
10269 || exit 1
10271 @endif flex
10273 .PHONY: maybe-install-info-flex install-info-flex
10274 maybe-install-info-flex:
10275 @if flex
10276 maybe-install-info-flex: install-info-flex
10278 install-info-flex: \
10279 configure-flex \
10280 info-flex
10281 @$(unstage)
10282 @[ -f ./flex/Makefile ] || exit 0; \
10283 r=`${PWD_COMMAND}`; export r; \
10284 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10285 $(HOST_EXPORTS) \
10286 for flag in $(EXTRA_HOST_FLAGS) ; do \
10287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10288 done; \
10289 echo "Doing install-info in flex" ; \
10290 (cd $(HOST_SUBDIR)/flex && \
10291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10293 "RANLIB=$${RANLIB}" \
10294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10295 install-info) \
10296 || exit 1
10298 @endif flex
10300 .PHONY: maybe-installcheck-flex installcheck-flex
10301 maybe-installcheck-flex:
10302 @if flex
10303 maybe-installcheck-flex: installcheck-flex
10305 installcheck-flex: \
10306 configure-flex
10307 @$(unstage)
10308 @[ -f ./flex/Makefile ] || exit 0; \
10309 r=`${PWD_COMMAND}`; export r; \
10310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10311 $(HOST_EXPORTS) \
10312 for flag in $(EXTRA_HOST_FLAGS) ; do \
10313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10314 done; \
10315 echo "Doing installcheck in flex" ; \
10316 (cd $(HOST_SUBDIR)/flex && \
10317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10319 "RANLIB=$${RANLIB}" \
10320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10321 installcheck) \
10322 || exit 1
10324 @endif flex
10326 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10327 maybe-mostlyclean-flex:
10328 @if flex
10329 maybe-mostlyclean-flex: mostlyclean-flex
10331 mostlyclean-flex:
10332 @$(unstage)
10333 @[ -f ./flex/Makefile ] || exit 0; \
10334 r=`${PWD_COMMAND}`; export r; \
10335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10336 $(HOST_EXPORTS) \
10337 for flag in $(EXTRA_HOST_FLAGS) ; do \
10338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10339 done; \
10340 echo "Doing mostlyclean in flex" ; \
10341 (cd $(HOST_SUBDIR)/flex && \
10342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10344 "RANLIB=$${RANLIB}" \
10345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10346 mostlyclean) \
10347 || exit 1
10349 @endif flex
10351 .PHONY: maybe-clean-flex clean-flex
10352 maybe-clean-flex:
10353 @if flex
10354 maybe-clean-flex: clean-flex
10356 clean-flex:
10357 @$(unstage)
10358 @[ -f ./flex/Makefile ] || exit 0; \
10359 r=`${PWD_COMMAND}`; export r; \
10360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10361 $(HOST_EXPORTS) \
10362 for flag in $(EXTRA_HOST_FLAGS) ; do \
10363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10364 done; \
10365 echo "Doing clean in flex" ; \
10366 (cd $(HOST_SUBDIR)/flex && \
10367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10369 "RANLIB=$${RANLIB}" \
10370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10371 clean) \
10372 || exit 1
10374 @endif flex
10376 .PHONY: maybe-distclean-flex distclean-flex
10377 maybe-distclean-flex:
10378 @if flex
10379 maybe-distclean-flex: distclean-flex
10381 distclean-flex:
10382 @$(unstage)
10383 @[ -f ./flex/Makefile ] || exit 0; \
10384 r=`${PWD_COMMAND}`; export r; \
10385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10386 $(HOST_EXPORTS) \
10387 for flag in $(EXTRA_HOST_FLAGS) ; do \
10388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10389 done; \
10390 echo "Doing distclean in flex" ; \
10391 (cd $(HOST_SUBDIR)/flex && \
10392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10394 "RANLIB=$${RANLIB}" \
10395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10396 distclean) \
10397 || exit 1
10399 @endif flex
10401 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10402 maybe-maintainer-clean-flex:
10403 @if flex
10404 maybe-maintainer-clean-flex: maintainer-clean-flex
10406 maintainer-clean-flex:
10407 @$(unstage)
10408 @[ -f ./flex/Makefile ] || exit 0; \
10409 r=`${PWD_COMMAND}`; export r; \
10410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10411 $(HOST_EXPORTS) \
10412 for flag in $(EXTRA_HOST_FLAGS) ; do \
10413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10414 done; \
10415 echo "Doing maintainer-clean in flex" ; \
10416 (cd $(HOST_SUBDIR)/flex && \
10417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10419 "RANLIB=$${RANLIB}" \
10420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10421 maintainer-clean) \
10422 || exit 1
10424 @endif flex
10428 .PHONY: configure-gas maybe-configure-gas
10429 maybe-configure-gas:
10430 @if gas
10431 maybe-configure-gas: configure-gas
10432 configure-gas:
10433 @test -f stage_last && exit 0; \
10434 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10435 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10436 r=`${PWD_COMMAND}`; export r; \
10437 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10438 $(HOST_EXPORTS) \
10439 echo Configuring in $(HOST_SUBDIR)/gas; \
10440 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10441 case $(srcdir) in \
10442 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10443 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10444 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10445 esac; \
10446 srcdiroption="--srcdir=$${topdir}/gas"; \
10447 libsrcdir="$$s/gas"; \
10448 $(SHELL) $${libsrcdir}/configure \
10449 $(HOST_CONFIGARGS) $${srcdiroption} \
10450 || exit 1
10451 @endif gas
10455 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10456 maybe-configure-stage1-gas:
10457 @if gas-bootstrap
10458 maybe-configure-stage1-gas: configure-stage1-gas
10459 configure-stage1-gas:
10460 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10461 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10466 cd $(HOST_SUBDIR)/gas || exit 1; \
10467 case $(srcdir) in \
10468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10469 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10471 esac; \
10472 srcdiroption="--srcdir=$${topdir}/gas"; \
10473 libsrcdir="$$s/gas"; \
10474 $(SHELL) $${libsrcdir}/configure \
10475 $(HOST_CONFIGARGS) $${srcdiroption} \
10476 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10477 @endif gas-bootstrap
10479 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10480 maybe-configure-stage2-gas:
10481 @if gas-bootstrap
10482 maybe-configure-stage2-gas: configure-stage2-gas
10483 configure-stage2-gas:
10484 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10485 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(HOST_EXPORTS) \
10489 $(POSTSTAGE1_HOST_EXPORTS) \
10490 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10491 cd $(HOST_SUBDIR)/gas || exit 1; \
10492 case $(srcdir) in \
10493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10494 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10496 esac; \
10497 srcdiroption="--srcdir=$${topdir}/gas"; \
10498 libsrcdir="$$s/gas"; \
10499 $(SHELL) $${libsrcdir}/configure \
10500 $(HOST_CONFIGARGS) $${srcdiroption} \
10501 @stage2_werror_flag@
10502 @endif gas-bootstrap
10504 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10505 maybe-configure-stage3-gas:
10506 @if gas-bootstrap
10507 maybe-configure-stage3-gas: configure-stage3-gas
10508 configure-stage3-gas:
10509 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10510 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10511 r=`${PWD_COMMAND}`; export r; \
10512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513 $(HOST_EXPORTS) \
10514 $(POSTSTAGE1_HOST_EXPORTS) \
10515 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10516 cd $(HOST_SUBDIR)/gas || exit 1; \
10517 case $(srcdir) in \
10518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10519 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10521 esac; \
10522 srcdiroption="--srcdir=$${topdir}/gas"; \
10523 libsrcdir="$$s/gas"; \
10524 $(SHELL) $${libsrcdir}/configure \
10525 $(HOST_CONFIGARGS) $${srcdiroption} \
10526 @stage2_werror_flag@
10527 @endif gas-bootstrap
10529 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10530 maybe-configure-stage4-gas:
10531 @if gas-bootstrap
10532 maybe-configure-stage4-gas: configure-stage4-gas
10533 configure-stage4-gas:
10534 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10535 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10536 r=`${PWD_COMMAND}`; export r; \
10537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 $(HOST_EXPORTS) \
10539 $(POSTSTAGE1_HOST_EXPORTS) \
10540 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10541 cd $(HOST_SUBDIR)/gas || exit 1; \
10542 case $(srcdir) in \
10543 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10544 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10545 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10546 esac; \
10547 srcdiroption="--srcdir=$${topdir}/gas"; \
10548 libsrcdir="$$s/gas"; \
10549 $(SHELL) $${libsrcdir}/configure \
10550 $(HOST_CONFIGARGS) $${srcdiroption} \
10551 @stage2_werror_flag@
10552 @endif gas-bootstrap
10554 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10555 maybe-configure-stageprofile-gas:
10556 @if gas-bootstrap
10557 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10558 configure-stageprofile-gas:
10559 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10560 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(HOST_EXPORTS) \
10564 $(POSTSTAGE1_HOST_EXPORTS) \
10565 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10566 cd $(HOST_SUBDIR)/gas || exit 1; \
10567 case $(srcdir) in \
10568 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10569 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10570 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10571 esac; \
10572 srcdiroption="--srcdir=$${topdir}/gas"; \
10573 libsrcdir="$$s/gas"; \
10574 $(SHELL) $${libsrcdir}/configure \
10575 $(HOST_CONFIGARGS) $${srcdiroption} \
10576 @stage2_werror_flag@
10577 @endif gas-bootstrap
10579 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10580 maybe-configure-stagefeedback-gas:
10581 @if gas-bootstrap
10582 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10583 configure-stagefeedback-gas:
10584 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10585 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10586 r=`${PWD_COMMAND}`; export r; \
10587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10588 $(HOST_EXPORTS) \
10589 $(POSTSTAGE1_HOST_EXPORTS) \
10590 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10591 cd $(HOST_SUBDIR)/gas || exit 1; \
10592 case $(srcdir) in \
10593 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10594 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10595 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10596 esac; \
10597 srcdiroption="--srcdir=$${topdir}/gas"; \
10598 libsrcdir="$$s/gas"; \
10599 $(SHELL) $${libsrcdir}/configure \
10600 $(HOST_CONFIGARGS) $${srcdiroption} \
10601 @stage2_werror_flag@
10602 @endif gas-bootstrap
10608 .PHONY: all-gas maybe-all-gas
10609 maybe-all-gas:
10610 @if gas
10611 TARGET-gas=all
10612 maybe-all-gas: all-gas
10613 all-gas: configure-gas
10614 @test -f stage_last && exit 0; \
10615 r=`${PWD_COMMAND}`; export r; \
10616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10617 $(HOST_EXPORTS) \
10618 (cd $(HOST_SUBDIR)/gas && \
10619 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10620 @endif gas
10624 .PHONY: all-stage1-gas maybe-all-stage1-gas
10625 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10626 maybe-all-stage1-gas:
10627 maybe-clean-stage1-gas:
10628 @if gas-bootstrap
10629 maybe-all-stage1-gas: all-stage1-gas
10630 all-stage1: all-stage1-gas
10631 TARGET-stage1-gas = $(TARGET-gas)
10632 all-stage1-gas: configure-stage1-gas
10633 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10634 @r=`${PWD_COMMAND}`; export r; \
10635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10636 $(HOST_EXPORTS) \
10637 cd $(HOST_SUBDIR)/gas && \
10638 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10639 $(TARGET-stage1-gas)
10641 maybe-clean-stage1-gas: clean-stage1-gas
10642 clean-stage1: clean-stage1-gas
10643 clean-stage1-gas:
10644 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10645 || exit 0 ; \
10646 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10647 cd $(HOST_SUBDIR)/gas && \
10648 $(MAKE) $(FLAGS_TO_PASS) \
10649 CFLAGS="$(STAGE1_CFLAGS)" clean
10650 @endif gas-bootstrap
10653 .PHONY: all-stage2-gas maybe-all-stage2-gas
10654 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10655 maybe-all-stage2-gas:
10656 maybe-clean-stage2-gas:
10657 @if gas-bootstrap
10658 maybe-all-stage2-gas: all-stage2-gas
10659 all-stage2: all-stage2-gas
10660 TARGET-stage2-gas = $(TARGET-gas)
10661 all-stage2-gas: configure-stage2-gas
10662 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10663 @r=`${PWD_COMMAND}`; export r; \
10664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10665 $(HOST_EXPORTS) \
10666 $(POSTSTAGE1_HOST_EXPORTS) \
10667 cd $(HOST_SUBDIR)/gas && \
10668 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10669 $(TARGET-stage2-gas)
10671 maybe-clean-stage2-gas: clean-stage2-gas
10672 clean-stage2: clean-stage2-gas
10673 clean-stage2-gas:
10674 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10675 || exit 0 ; \
10676 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10677 cd $(HOST_SUBDIR)/gas && \
10678 $(MAKE) $(FLAGS_TO_PASS) \
10679 $(POSTSTAGE1_FLAGS_TO_PASS) \
10680 clean
10681 @endif gas-bootstrap
10684 .PHONY: all-stage3-gas maybe-all-stage3-gas
10685 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10686 maybe-all-stage3-gas:
10687 maybe-clean-stage3-gas:
10688 @if gas-bootstrap
10689 maybe-all-stage3-gas: all-stage3-gas
10690 all-stage3: all-stage3-gas
10691 TARGET-stage3-gas = $(TARGET-gas)
10692 all-stage3-gas: configure-stage3-gas
10693 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10694 @r=`${PWD_COMMAND}`; export r; \
10695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10696 $(HOST_EXPORTS) \
10697 $(POSTSTAGE1_HOST_EXPORTS) \
10698 cd $(HOST_SUBDIR)/gas && \
10699 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10700 $(TARGET-stage3-gas)
10702 maybe-clean-stage3-gas: clean-stage3-gas
10703 clean-stage3: clean-stage3-gas
10704 clean-stage3-gas:
10705 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10706 || exit 0 ; \
10707 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10708 cd $(HOST_SUBDIR)/gas && \
10709 $(MAKE) $(FLAGS_TO_PASS) \
10710 $(POSTSTAGE1_FLAGS_TO_PASS) \
10711 clean
10712 @endif gas-bootstrap
10715 .PHONY: all-stage4-gas maybe-all-stage4-gas
10716 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10717 maybe-all-stage4-gas:
10718 maybe-clean-stage4-gas:
10719 @if gas-bootstrap
10720 maybe-all-stage4-gas: all-stage4-gas
10721 all-stage4: all-stage4-gas
10722 TARGET-stage4-gas = $(TARGET-gas)
10723 all-stage4-gas: configure-stage4-gas
10724 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10725 @r=`${PWD_COMMAND}`; export r; \
10726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10727 $(HOST_EXPORTS) \
10728 $(POSTSTAGE1_HOST_EXPORTS) \
10729 cd $(HOST_SUBDIR)/gas && \
10730 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10731 $(TARGET-stage4-gas)
10733 maybe-clean-stage4-gas: clean-stage4-gas
10734 clean-stage4: clean-stage4-gas
10735 clean-stage4-gas:
10736 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10737 || exit 0 ; \
10738 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10739 cd $(HOST_SUBDIR)/gas && \
10740 $(MAKE) $(FLAGS_TO_PASS) \
10741 $(POSTSTAGE1_FLAGS_TO_PASS) \
10742 clean
10743 @endif gas-bootstrap
10746 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10747 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10748 maybe-all-stageprofile-gas:
10749 maybe-clean-stageprofile-gas:
10750 @if gas-bootstrap
10751 maybe-all-stageprofile-gas: all-stageprofile-gas
10752 all-stageprofile: all-stageprofile-gas
10753 TARGET-stageprofile-gas = $(TARGET-gas)
10754 all-stageprofile-gas: configure-stageprofile-gas
10755 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10756 @r=`${PWD_COMMAND}`; export r; \
10757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10758 $(HOST_EXPORTS) \
10759 $(POSTSTAGE1_HOST_EXPORTS) \
10760 cd $(HOST_SUBDIR)/gas && \
10761 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10762 $(TARGET-stageprofile-gas)
10764 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10765 clean-stageprofile: clean-stageprofile-gas
10766 clean-stageprofile-gas:
10767 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10768 || exit 0 ; \
10769 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10770 cd $(HOST_SUBDIR)/gas && \
10771 $(MAKE) $(FLAGS_TO_PASS) \
10772 $(POSTSTAGE1_FLAGS_TO_PASS) \
10773 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10774 @endif gas-bootstrap
10777 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10778 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10779 maybe-all-stagefeedback-gas:
10780 maybe-clean-stagefeedback-gas:
10781 @if gas-bootstrap
10782 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10783 all-stagefeedback: all-stagefeedback-gas
10784 TARGET-stagefeedback-gas = $(TARGET-gas)
10785 all-stagefeedback-gas: configure-stagefeedback-gas
10786 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10787 @r=`${PWD_COMMAND}`; export r; \
10788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10789 $(HOST_EXPORTS) \
10790 $(POSTSTAGE1_HOST_EXPORTS) \
10791 cd $(HOST_SUBDIR)/gas && \
10792 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10793 $(TARGET-stagefeedback-gas)
10795 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10796 clean-stagefeedback: clean-stagefeedback-gas
10797 clean-stagefeedback-gas:
10798 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10799 || exit 0 ; \
10800 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10801 cd $(HOST_SUBDIR)/gas && \
10802 $(MAKE) $(FLAGS_TO_PASS) \
10803 $(POSTSTAGE1_FLAGS_TO_PASS) \
10804 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10805 @endif gas-bootstrap
10811 .PHONY: check-gas maybe-check-gas
10812 maybe-check-gas:
10813 @if gas
10814 maybe-check-gas: check-gas
10816 check-gas:
10817 @$(unstage)
10818 @r=`${PWD_COMMAND}`; export r; \
10819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10820 $(HOST_EXPORTS) \
10821 (cd $(HOST_SUBDIR)/gas && \
10822 $(MAKE) $(FLAGS_TO_PASS) check)
10824 @endif gas
10826 .PHONY: install-gas maybe-install-gas
10827 maybe-install-gas:
10828 @if gas
10829 maybe-install-gas: install-gas
10831 install-gas: installdirs
10832 @$(unstage)
10833 @r=`${PWD_COMMAND}`; export r; \
10834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10835 $(HOST_EXPORTS) \
10836 (cd $(HOST_SUBDIR)/gas && \
10837 $(MAKE) $(FLAGS_TO_PASS) install)
10839 @endif gas
10841 # Other targets (info, dvi, etc.)
10843 .PHONY: maybe-info-gas info-gas
10844 maybe-info-gas:
10845 @if gas
10846 maybe-info-gas: info-gas
10848 info-gas: \
10849 configure-gas
10850 @[ -f ./gas/Makefile ] || exit 0; \
10851 r=`${PWD_COMMAND}`; export r; \
10852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10853 $(HOST_EXPORTS) \
10854 for flag in $(EXTRA_HOST_FLAGS) ; do \
10855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10856 done; \
10857 echo "Doing info in gas" ; \
10858 (cd $(HOST_SUBDIR)/gas && \
10859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10861 "RANLIB=$${RANLIB}" \
10862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10863 info) \
10864 || exit 1
10866 @endif gas
10868 .PHONY: maybe-dvi-gas dvi-gas
10869 maybe-dvi-gas:
10870 @if gas
10871 maybe-dvi-gas: dvi-gas
10873 dvi-gas: \
10874 configure-gas
10875 @[ -f ./gas/Makefile ] || exit 0; \
10876 r=`${PWD_COMMAND}`; export r; \
10877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10878 $(HOST_EXPORTS) \
10879 for flag in $(EXTRA_HOST_FLAGS) ; do \
10880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10881 done; \
10882 echo "Doing dvi in gas" ; \
10883 (cd $(HOST_SUBDIR)/gas && \
10884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10886 "RANLIB=$${RANLIB}" \
10887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10888 dvi) \
10889 || exit 1
10891 @endif gas
10893 .PHONY: maybe-html-gas html-gas
10894 maybe-html-gas:
10895 @if gas
10896 maybe-html-gas: html-gas
10898 html-gas: \
10899 configure-gas
10900 @[ -f ./gas/Makefile ] || exit 0; \
10901 r=`${PWD_COMMAND}`; export r; \
10902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10903 $(HOST_EXPORTS) \
10904 for flag in $(EXTRA_HOST_FLAGS) ; do \
10905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10906 done; \
10907 echo "Doing html in gas" ; \
10908 (cd $(HOST_SUBDIR)/gas && \
10909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10911 "RANLIB=$${RANLIB}" \
10912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10913 html) \
10914 || exit 1
10916 @endif gas
10918 .PHONY: maybe-TAGS-gas TAGS-gas
10919 maybe-TAGS-gas:
10920 @if gas
10921 maybe-TAGS-gas: TAGS-gas
10923 TAGS-gas: \
10924 configure-gas
10925 @[ -f ./gas/Makefile ] || exit 0; \
10926 r=`${PWD_COMMAND}`; export r; \
10927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10928 $(HOST_EXPORTS) \
10929 for flag in $(EXTRA_HOST_FLAGS) ; do \
10930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10931 done; \
10932 echo "Doing TAGS in gas" ; \
10933 (cd $(HOST_SUBDIR)/gas && \
10934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10936 "RANLIB=$${RANLIB}" \
10937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10938 TAGS) \
10939 || exit 1
10941 @endif gas
10943 .PHONY: maybe-install-info-gas install-info-gas
10944 maybe-install-info-gas:
10945 @if gas
10946 maybe-install-info-gas: install-info-gas
10948 install-info-gas: \
10949 configure-gas \
10950 info-gas
10951 @[ -f ./gas/Makefile ] || exit 0; \
10952 r=`${PWD_COMMAND}`; export r; \
10953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10954 $(HOST_EXPORTS) \
10955 for flag in $(EXTRA_HOST_FLAGS) ; do \
10956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10957 done; \
10958 echo "Doing install-info in gas" ; \
10959 (cd $(HOST_SUBDIR)/gas && \
10960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10962 "RANLIB=$${RANLIB}" \
10963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10964 install-info) \
10965 || exit 1
10967 @endif gas
10969 .PHONY: maybe-installcheck-gas installcheck-gas
10970 maybe-installcheck-gas:
10971 @if gas
10972 maybe-installcheck-gas: installcheck-gas
10974 installcheck-gas: \
10975 configure-gas
10976 @[ -f ./gas/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) ; do \
10981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 done; \
10983 echo "Doing installcheck in gas" ; \
10984 (cd $(HOST_SUBDIR)/gas && \
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 installcheck) \
10990 || exit 1
10992 @endif gas
10994 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10995 maybe-mostlyclean-gas:
10996 @if gas
10997 maybe-mostlyclean-gas: mostlyclean-gas
10999 mostlyclean-gas:
11000 @[ -f ./gas/Makefile ] || exit 0; \
11001 r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 $(HOST_EXPORTS) \
11004 for flag in $(EXTRA_HOST_FLAGS) ; do \
11005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11006 done; \
11007 echo "Doing mostlyclean in gas" ; \
11008 (cd $(HOST_SUBDIR)/gas && \
11009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011 "RANLIB=$${RANLIB}" \
11012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013 mostlyclean) \
11014 || exit 1
11016 @endif gas
11018 .PHONY: maybe-clean-gas clean-gas
11019 maybe-clean-gas:
11020 @if gas
11021 maybe-clean-gas: clean-gas
11023 clean-gas:
11024 @[ -f ./gas/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(HOST_EXPORTS) \
11028 for flag in $(EXTRA_HOST_FLAGS) ; do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 done; \
11031 echo "Doing clean in gas" ; \
11032 (cd $(HOST_SUBDIR)/gas && \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11037 clean) \
11038 || exit 1
11040 @endif gas
11042 .PHONY: maybe-distclean-gas distclean-gas
11043 maybe-distclean-gas:
11044 @if gas
11045 maybe-distclean-gas: distclean-gas
11047 distclean-gas:
11048 @[ -f ./gas/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS) ; do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing distclean in gas" ; \
11056 (cd $(HOST_SUBDIR)/gas && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11061 distclean) \
11062 || exit 1
11064 @endif gas
11066 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11067 maybe-maintainer-clean-gas:
11068 @if gas
11069 maybe-maintainer-clean-gas: maintainer-clean-gas
11071 maintainer-clean-gas:
11072 @[ -f ./gas/Makefile ] || exit 0; \
11073 r=`${PWD_COMMAND}`; export r; \
11074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11075 $(HOST_EXPORTS) \
11076 for flag in $(EXTRA_HOST_FLAGS) ; do \
11077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11078 done; \
11079 echo "Doing maintainer-clean in gas" ; \
11080 (cd $(HOST_SUBDIR)/gas && \
11081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11083 "RANLIB=$${RANLIB}" \
11084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11085 maintainer-clean) \
11086 || exit 1
11088 @endif gas
11092 .PHONY: configure-gcc maybe-configure-gcc
11093 maybe-configure-gcc:
11094 @if gcc
11095 maybe-configure-gcc: configure-gcc
11096 configure-gcc:
11097 @test -f stage_last && exit 0; \
11098 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11099 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11100 r=`${PWD_COMMAND}`; export r; \
11101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11102 $(HOST_EXPORTS) \
11103 echo Configuring in $(HOST_SUBDIR)/gcc; \
11104 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11105 case $(srcdir) in \
11106 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11107 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11108 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11109 esac; \
11110 srcdiroption="--srcdir=$${topdir}/gcc"; \
11111 libsrcdir="$$s/gcc"; \
11112 $(SHELL) $${libsrcdir}/configure \
11113 $(HOST_CONFIGARGS) $${srcdiroption} \
11114 || exit 1
11115 @endif gcc
11119 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11120 maybe-configure-stage1-gcc:
11121 @if gcc-bootstrap
11122 maybe-configure-stage1-gcc: configure-stage1-gcc
11123 configure-stage1-gcc:
11124 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11125 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(HOST_EXPORTS) \
11129 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11130 cd $(HOST_SUBDIR)/gcc || exit 1; \
11131 case $(srcdir) in \
11132 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11133 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11134 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11135 esac; \
11136 srcdiroption="--srcdir=$${topdir}/gcc"; \
11137 libsrcdir="$$s/gcc"; \
11138 $(SHELL) $${libsrcdir}/configure \
11139 $(HOST_CONFIGARGS) $${srcdiroption} \
11140 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11141 @endif gcc-bootstrap
11143 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11144 maybe-configure-stage2-gcc:
11145 @if gcc-bootstrap
11146 maybe-configure-stage2-gcc: configure-stage2-gcc
11147 configure-stage2-gcc:
11148 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11149 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11150 r=`${PWD_COMMAND}`; export r; \
11151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11152 $(HOST_EXPORTS) \
11153 $(POSTSTAGE1_HOST_EXPORTS) \
11154 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11155 cd $(HOST_SUBDIR)/gcc || exit 1; \
11156 case $(srcdir) in \
11157 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11158 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11159 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11160 esac; \
11161 srcdiroption="--srcdir=$${topdir}/gcc"; \
11162 libsrcdir="$$s/gcc"; \
11163 $(SHELL) $${libsrcdir}/configure \
11164 $(HOST_CONFIGARGS) $${srcdiroption} \
11165 @stage2_werror_flag@
11166 @endif gcc-bootstrap
11168 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11169 maybe-configure-stage3-gcc:
11170 @if gcc-bootstrap
11171 maybe-configure-stage3-gcc: configure-stage3-gcc
11172 configure-stage3-gcc:
11173 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11174 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11175 r=`${PWD_COMMAND}`; export r; \
11176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11177 $(HOST_EXPORTS) \
11178 $(POSTSTAGE1_HOST_EXPORTS) \
11179 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11180 cd $(HOST_SUBDIR)/gcc || exit 1; \
11181 case $(srcdir) in \
11182 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11183 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11184 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11185 esac; \
11186 srcdiroption="--srcdir=$${topdir}/gcc"; \
11187 libsrcdir="$$s/gcc"; \
11188 $(SHELL) $${libsrcdir}/configure \
11189 $(HOST_CONFIGARGS) $${srcdiroption} \
11190 @stage2_werror_flag@
11191 @endif gcc-bootstrap
11193 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11194 maybe-configure-stage4-gcc:
11195 @if gcc-bootstrap
11196 maybe-configure-stage4-gcc: configure-stage4-gcc
11197 configure-stage4-gcc:
11198 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11199 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11200 r=`${PWD_COMMAND}`; export r; \
11201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11202 $(HOST_EXPORTS) \
11203 $(POSTSTAGE1_HOST_EXPORTS) \
11204 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11205 cd $(HOST_SUBDIR)/gcc || exit 1; \
11206 case $(srcdir) in \
11207 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11208 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11209 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11210 esac; \
11211 srcdiroption="--srcdir=$${topdir}/gcc"; \
11212 libsrcdir="$$s/gcc"; \
11213 $(SHELL) $${libsrcdir}/configure \
11214 $(HOST_CONFIGARGS) $${srcdiroption} \
11215 @stage2_werror_flag@
11216 @endif gcc-bootstrap
11218 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11219 maybe-configure-stageprofile-gcc:
11220 @if gcc-bootstrap
11221 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11222 configure-stageprofile-gcc:
11223 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11224 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11225 r=`${PWD_COMMAND}`; export r; \
11226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11227 $(HOST_EXPORTS) \
11228 $(POSTSTAGE1_HOST_EXPORTS) \
11229 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11230 cd $(HOST_SUBDIR)/gcc || exit 1; \
11231 case $(srcdir) in \
11232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11233 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11235 esac; \
11236 srcdiroption="--srcdir=$${topdir}/gcc"; \
11237 libsrcdir="$$s/gcc"; \
11238 $(SHELL) $${libsrcdir}/configure \
11239 $(HOST_CONFIGARGS) $${srcdiroption} \
11240 @stage2_werror_flag@
11241 @endif gcc-bootstrap
11243 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11244 maybe-configure-stagefeedback-gcc:
11245 @if gcc-bootstrap
11246 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11247 configure-stagefeedback-gcc:
11248 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11249 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11250 r=`${PWD_COMMAND}`; export r; \
11251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11252 $(HOST_EXPORTS) \
11253 $(POSTSTAGE1_HOST_EXPORTS) \
11254 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11255 cd $(HOST_SUBDIR)/gcc || exit 1; \
11256 case $(srcdir) in \
11257 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11258 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11259 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11260 esac; \
11261 srcdiroption="--srcdir=$${topdir}/gcc"; \
11262 libsrcdir="$$s/gcc"; \
11263 $(SHELL) $${libsrcdir}/configure \
11264 $(HOST_CONFIGARGS) $${srcdiroption} \
11265 @stage2_werror_flag@
11266 @endif gcc-bootstrap
11272 .PHONY: all-gcc maybe-all-gcc
11273 maybe-all-gcc:
11274 @if gcc
11275 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11276 maybe-all-gcc: all-gcc
11277 all-gcc: configure-gcc
11278 @test -f stage_last && exit 0; \
11279 r=`${PWD_COMMAND}`; export r; \
11280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11281 $(HOST_EXPORTS) \
11282 (cd $(HOST_SUBDIR)/gcc && \
11283 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11284 @endif gcc
11288 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11289 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11290 maybe-all-stage1-gcc:
11291 maybe-clean-stage1-gcc:
11292 @if gcc-bootstrap
11293 maybe-all-stage1-gcc: all-stage1-gcc
11294 all-stage1: all-stage1-gcc
11295 TARGET-stage1-gcc = $(TARGET-gcc)
11296 all-stage1-gcc: configure-stage1-gcc
11297 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11298 @r=`${PWD_COMMAND}`; export r; \
11299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11300 $(HOST_EXPORTS) \
11301 cd $(HOST_SUBDIR)/gcc && \
11302 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11303 $(TARGET-stage1-gcc)
11305 maybe-clean-stage1-gcc: clean-stage1-gcc
11306 clean-stage1: clean-stage1-gcc
11307 clean-stage1-gcc:
11308 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11309 || exit 0 ; \
11310 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11311 cd $(HOST_SUBDIR)/gcc && \
11312 $(MAKE) $(FLAGS_TO_PASS) \
11313 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11314 @endif gcc-bootstrap
11317 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11318 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11319 maybe-all-stage2-gcc:
11320 maybe-clean-stage2-gcc:
11321 @if gcc-bootstrap
11322 maybe-all-stage2-gcc: all-stage2-gcc
11323 all-stage2: all-stage2-gcc
11324 TARGET-stage2-gcc = $(TARGET-gcc)
11325 all-stage2-gcc: configure-stage2-gcc
11326 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11327 @r=`${PWD_COMMAND}`; export r; \
11328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11329 $(HOST_EXPORTS) \
11330 $(POSTSTAGE1_HOST_EXPORTS) \
11331 cd $(HOST_SUBDIR)/gcc && \
11332 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11333 $(TARGET-stage2-gcc)
11335 maybe-clean-stage2-gcc: clean-stage2-gcc
11336 clean-stage2: clean-stage2-gcc
11337 clean-stage2-gcc:
11338 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11339 || exit 0 ; \
11340 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11341 cd $(HOST_SUBDIR)/gcc && \
11342 $(MAKE) $(FLAGS_TO_PASS) \
11343 $(POSTSTAGE1_FLAGS_TO_PASS) \
11344 $(EXTRA_GCC_FLAGS) clean
11345 @endif gcc-bootstrap
11348 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11349 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11350 maybe-all-stage3-gcc:
11351 maybe-clean-stage3-gcc:
11352 @if gcc-bootstrap
11353 maybe-all-stage3-gcc: all-stage3-gcc
11354 all-stage3: all-stage3-gcc
11355 TARGET-stage3-gcc = $(TARGET-gcc)
11356 all-stage3-gcc: configure-stage3-gcc
11357 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11358 @r=`${PWD_COMMAND}`; export r; \
11359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11360 $(HOST_EXPORTS) \
11361 $(POSTSTAGE1_HOST_EXPORTS) \
11362 cd $(HOST_SUBDIR)/gcc && \
11363 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11364 $(TARGET-stage3-gcc)
11366 maybe-clean-stage3-gcc: clean-stage3-gcc
11367 clean-stage3: clean-stage3-gcc
11368 clean-stage3-gcc:
11369 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11370 || exit 0 ; \
11371 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11372 cd $(HOST_SUBDIR)/gcc && \
11373 $(MAKE) $(FLAGS_TO_PASS) \
11374 $(POSTSTAGE1_FLAGS_TO_PASS) \
11375 $(EXTRA_GCC_FLAGS) clean
11376 @endif gcc-bootstrap
11379 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11380 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11381 maybe-all-stage4-gcc:
11382 maybe-clean-stage4-gcc:
11383 @if gcc-bootstrap
11384 maybe-all-stage4-gcc: all-stage4-gcc
11385 all-stage4: all-stage4-gcc
11386 TARGET-stage4-gcc = $(TARGET-gcc)
11387 all-stage4-gcc: configure-stage4-gcc
11388 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11389 @r=`${PWD_COMMAND}`; export r; \
11390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11391 $(HOST_EXPORTS) \
11392 $(POSTSTAGE1_HOST_EXPORTS) \
11393 cd $(HOST_SUBDIR)/gcc && \
11394 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11395 $(TARGET-stage4-gcc)
11397 maybe-clean-stage4-gcc: clean-stage4-gcc
11398 clean-stage4: clean-stage4-gcc
11399 clean-stage4-gcc:
11400 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11401 || exit 0 ; \
11402 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11403 cd $(HOST_SUBDIR)/gcc && \
11404 $(MAKE) $(FLAGS_TO_PASS) \
11405 $(POSTSTAGE1_FLAGS_TO_PASS) \
11406 $(EXTRA_GCC_FLAGS) clean
11407 @endif gcc-bootstrap
11410 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11411 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11412 maybe-all-stageprofile-gcc:
11413 maybe-clean-stageprofile-gcc:
11414 @if gcc-bootstrap
11415 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11416 all-stageprofile: all-stageprofile-gcc
11417 TARGET-stageprofile-gcc = $(TARGET-gcc)
11418 all-stageprofile-gcc: configure-stageprofile-gcc
11419 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11420 @r=`${PWD_COMMAND}`; export r; \
11421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11422 $(HOST_EXPORTS) \
11423 $(POSTSTAGE1_HOST_EXPORTS) \
11424 cd $(HOST_SUBDIR)/gcc && \
11425 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11426 $(TARGET-stageprofile-gcc)
11428 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11429 clean-stageprofile: clean-stageprofile-gcc
11430 clean-stageprofile-gcc:
11431 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11432 || exit 0 ; \
11433 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11434 cd $(HOST_SUBDIR)/gcc && \
11435 $(MAKE) $(FLAGS_TO_PASS) \
11436 $(POSTSTAGE1_FLAGS_TO_PASS) \
11437 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11438 @endif gcc-bootstrap
11441 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11442 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11443 maybe-all-stagefeedback-gcc:
11444 maybe-clean-stagefeedback-gcc:
11445 @if gcc-bootstrap
11446 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11447 all-stagefeedback: all-stagefeedback-gcc
11448 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11449 all-stagefeedback-gcc: configure-stagefeedback-gcc
11450 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11451 @r=`${PWD_COMMAND}`; export r; \
11452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11453 $(HOST_EXPORTS) \
11454 $(POSTSTAGE1_HOST_EXPORTS) \
11455 cd $(HOST_SUBDIR)/gcc && \
11456 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11457 $(TARGET-stagefeedback-gcc)
11459 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11460 clean-stagefeedback: clean-stagefeedback-gcc
11461 clean-stagefeedback-gcc:
11462 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11463 || exit 0 ; \
11464 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11465 cd $(HOST_SUBDIR)/gcc && \
11466 $(MAKE) $(FLAGS_TO_PASS) \
11467 $(POSTSTAGE1_FLAGS_TO_PASS) \
11468 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11469 @endif gcc-bootstrap
11475 .PHONY: check-gcc maybe-check-gcc
11476 maybe-check-gcc:
11477 @if gcc
11478 maybe-check-gcc: check-gcc
11480 check-gcc:
11481 @$(unstage)
11482 @r=`${PWD_COMMAND}`; export r; \
11483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11484 $(HOST_EXPORTS) \
11485 (cd $(HOST_SUBDIR)/gcc && \
11486 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11488 @endif gcc
11490 .PHONY: install-gcc maybe-install-gcc
11491 maybe-install-gcc:
11492 @if gcc
11493 maybe-install-gcc: install-gcc
11495 install-gcc: installdirs
11496 @$(unstage)
11497 @r=`${PWD_COMMAND}`; export r; \
11498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11499 $(HOST_EXPORTS) \
11500 (cd $(HOST_SUBDIR)/gcc && \
11501 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11503 @endif gcc
11505 # Other targets (info, dvi, etc.)
11507 .PHONY: maybe-info-gcc info-gcc
11508 maybe-info-gcc:
11509 @if gcc
11510 maybe-info-gcc: info-gcc
11512 info-gcc: \
11513 configure-gcc
11514 @[ -f ./gcc/Makefile ] || exit 0; \
11515 r=`${PWD_COMMAND}`; export r; \
11516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11517 $(HOST_EXPORTS) \
11518 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11520 done; \
11521 echo "Doing info in gcc" ; \
11522 (cd $(HOST_SUBDIR)/gcc && \
11523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11525 "RANLIB=$${RANLIB}" \
11526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11527 info) \
11528 || exit 1
11530 @endif gcc
11532 .PHONY: maybe-dvi-gcc dvi-gcc
11533 maybe-dvi-gcc:
11534 @if gcc
11535 maybe-dvi-gcc: dvi-gcc
11537 dvi-gcc: \
11538 configure-gcc
11539 @[ -f ./gcc/Makefile ] || exit 0; \
11540 r=`${PWD_COMMAND}`; export r; \
11541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11542 $(HOST_EXPORTS) \
11543 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11544 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11545 done; \
11546 echo "Doing dvi in gcc" ; \
11547 (cd $(HOST_SUBDIR)/gcc && \
11548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11550 "RANLIB=$${RANLIB}" \
11551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11552 dvi) \
11553 || exit 1
11555 @endif gcc
11557 .PHONY: maybe-html-gcc html-gcc
11558 maybe-html-gcc:
11559 @if gcc
11560 maybe-html-gcc: html-gcc
11562 html-gcc: \
11563 configure-gcc
11564 @[ -f ./gcc/Makefile ] || exit 0; \
11565 r=`${PWD_COMMAND}`; export r; \
11566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11567 $(HOST_EXPORTS) \
11568 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11570 done; \
11571 echo "Doing html in gcc" ; \
11572 (cd $(HOST_SUBDIR)/gcc && \
11573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11575 "RANLIB=$${RANLIB}" \
11576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11577 html) \
11578 || exit 1
11580 @endif gcc
11582 .PHONY: maybe-TAGS-gcc TAGS-gcc
11583 maybe-TAGS-gcc:
11584 @if gcc
11585 maybe-TAGS-gcc: TAGS-gcc
11587 TAGS-gcc: \
11588 configure-gcc
11589 @[ -f ./gcc/Makefile ] || exit 0; \
11590 r=`${PWD_COMMAND}`; export r; \
11591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11592 $(HOST_EXPORTS) \
11593 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11595 done; \
11596 echo "Doing TAGS in gcc" ; \
11597 (cd $(HOST_SUBDIR)/gcc && \
11598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11600 "RANLIB=$${RANLIB}" \
11601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11602 TAGS) \
11603 || exit 1
11605 @endif gcc
11607 .PHONY: maybe-install-info-gcc install-info-gcc
11608 maybe-install-info-gcc:
11609 @if gcc
11610 maybe-install-info-gcc: install-info-gcc
11612 install-info-gcc: \
11613 configure-gcc \
11614 info-gcc
11615 @[ -f ./gcc/Makefile ] || exit 0; \
11616 r=`${PWD_COMMAND}`; export r; \
11617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11618 $(HOST_EXPORTS) \
11619 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11621 done; \
11622 echo "Doing install-info in gcc" ; \
11623 (cd $(HOST_SUBDIR)/gcc && \
11624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11626 "RANLIB=$${RANLIB}" \
11627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11628 install-info) \
11629 || exit 1
11631 @endif gcc
11633 .PHONY: maybe-installcheck-gcc installcheck-gcc
11634 maybe-installcheck-gcc:
11635 @if gcc
11636 maybe-installcheck-gcc: installcheck-gcc
11638 installcheck-gcc: \
11639 configure-gcc
11640 @[ -f ./gcc/Makefile ] || exit 0; \
11641 r=`${PWD_COMMAND}`; export r; \
11642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 $(HOST_EXPORTS) \
11644 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11646 done; \
11647 echo "Doing installcheck in gcc" ; \
11648 (cd $(HOST_SUBDIR)/gcc && \
11649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11651 "RANLIB=$${RANLIB}" \
11652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11653 installcheck) \
11654 || exit 1
11656 @endif gcc
11658 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11659 maybe-mostlyclean-gcc:
11660 @if gcc
11661 maybe-mostlyclean-gcc: mostlyclean-gcc
11663 mostlyclean-gcc:
11664 @[ -f ./gcc/Makefile ] || exit 0; \
11665 r=`${PWD_COMMAND}`; export r; \
11666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11667 $(HOST_EXPORTS) \
11668 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11670 done; \
11671 echo "Doing mostlyclean in gcc" ; \
11672 (cd $(HOST_SUBDIR)/gcc && \
11673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11675 "RANLIB=$${RANLIB}" \
11676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11677 mostlyclean) \
11678 || exit 1
11680 @endif gcc
11682 .PHONY: maybe-clean-gcc clean-gcc
11683 maybe-clean-gcc:
11684 @if gcc
11685 maybe-clean-gcc: clean-gcc
11687 clean-gcc:
11688 @[ -f ./gcc/Makefile ] || exit 0; \
11689 r=`${PWD_COMMAND}`; export r; \
11690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691 $(HOST_EXPORTS) \
11692 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11694 done; \
11695 echo "Doing clean in gcc" ; \
11696 (cd $(HOST_SUBDIR)/gcc && \
11697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11699 "RANLIB=$${RANLIB}" \
11700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11701 clean) \
11702 || exit 1
11704 @endif gcc
11706 .PHONY: maybe-distclean-gcc distclean-gcc
11707 maybe-distclean-gcc:
11708 @if gcc
11709 maybe-distclean-gcc: distclean-gcc
11711 distclean-gcc:
11712 @[ -f ./gcc/Makefile ] || exit 0; \
11713 r=`${PWD_COMMAND}`; export r; \
11714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11715 $(HOST_EXPORTS) \
11716 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11718 done; \
11719 echo "Doing distclean in gcc" ; \
11720 (cd $(HOST_SUBDIR)/gcc && \
11721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11723 "RANLIB=$${RANLIB}" \
11724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11725 distclean) \
11726 || exit 1
11728 @endif gcc
11730 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11731 maybe-maintainer-clean-gcc:
11732 @if gcc
11733 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11735 maintainer-clean-gcc:
11736 @[ -f ./gcc/Makefile ] || exit 0; \
11737 r=`${PWD_COMMAND}`; export r; \
11738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11739 $(HOST_EXPORTS) \
11740 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11742 done; \
11743 echo "Doing maintainer-clean in gcc" ; \
11744 (cd $(HOST_SUBDIR)/gcc && \
11745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11747 "RANLIB=$${RANLIB}" \
11748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11749 maintainer-clean) \
11750 || exit 1
11752 @endif gcc
11756 .PHONY: configure-gawk maybe-configure-gawk
11757 maybe-configure-gawk:
11758 @if gawk
11759 maybe-configure-gawk: configure-gawk
11760 configure-gawk:
11761 @$(unstage)
11762 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11763 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11764 r=`${PWD_COMMAND}`; export r; \
11765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11766 $(HOST_EXPORTS) \
11767 echo Configuring in $(HOST_SUBDIR)/gawk; \
11768 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11769 case $(srcdir) in \
11770 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11771 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11772 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11773 esac; \
11774 srcdiroption="--srcdir=$${topdir}/gawk"; \
11775 libsrcdir="$$s/gawk"; \
11776 $(SHELL) $${libsrcdir}/configure \
11777 $(HOST_CONFIGARGS) $${srcdiroption} \
11778 || exit 1
11779 @endif gawk
11785 .PHONY: all-gawk maybe-all-gawk
11786 maybe-all-gawk:
11787 @if gawk
11788 TARGET-gawk=all
11789 maybe-all-gawk: all-gawk
11790 all-gawk: configure-gawk
11791 @$(unstage)
11792 @r=`${PWD_COMMAND}`; export r; \
11793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11794 $(HOST_EXPORTS) \
11795 (cd $(HOST_SUBDIR)/gawk && \
11796 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11797 @endif gawk
11802 .PHONY: check-gawk maybe-check-gawk
11803 maybe-check-gawk:
11804 @if gawk
11805 maybe-check-gawk: check-gawk
11807 check-gawk:
11808 @$(unstage)
11809 @r=`${PWD_COMMAND}`; export r; \
11810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11811 $(HOST_EXPORTS) \
11812 (cd $(HOST_SUBDIR)/gawk && \
11813 $(MAKE) $(FLAGS_TO_PASS) check)
11815 @endif gawk
11817 .PHONY: install-gawk maybe-install-gawk
11818 maybe-install-gawk:
11819 @if gawk
11820 maybe-install-gawk: install-gawk
11822 install-gawk: installdirs
11823 @$(unstage)
11824 @r=`${PWD_COMMAND}`; export r; \
11825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11826 $(HOST_EXPORTS) \
11827 (cd $(HOST_SUBDIR)/gawk && \
11828 $(MAKE) $(FLAGS_TO_PASS) install)
11830 @endif gawk
11832 # Other targets (info, dvi, etc.)
11834 .PHONY: maybe-info-gawk info-gawk
11835 maybe-info-gawk:
11836 @if gawk
11837 maybe-info-gawk: info-gawk
11839 info-gawk: \
11840 configure-gawk
11841 @$(unstage)
11842 @[ -f ./gawk/Makefile ] || exit 0; \
11843 r=`${PWD_COMMAND}`; export r; \
11844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11845 $(HOST_EXPORTS) \
11846 for flag in $(EXTRA_HOST_FLAGS) ; do \
11847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11848 done; \
11849 echo "Doing info in gawk" ; \
11850 (cd $(HOST_SUBDIR)/gawk && \
11851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11853 "RANLIB=$${RANLIB}" \
11854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11855 info) \
11856 || exit 1
11858 @endif gawk
11860 .PHONY: maybe-dvi-gawk dvi-gawk
11861 maybe-dvi-gawk:
11862 @if gawk
11863 maybe-dvi-gawk: dvi-gawk
11865 dvi-gawk: \
11866 configure-gawk
11867 @$(unstage)
11868 @[ -f ./gawk/Makefile ] || exit 0; \
11869 r=`${PWD_COMMAND}`; export r; \
11870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11871 $(HOST_EXPORTS) \
11872 for flag in $(EXTRA_HOST_FLAGS) ; do \
11873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11874 done; \
11875 echo "Doing dvi in gawk" ; \
11876 (cd $(HOST_SUBDIR)/gawk && \
11877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11879 "RANLIB=$${RANLIB}" \
11880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11881 dvi) \
11882 || exit 1
11884 @endif gawk
11886 .PHONY: maybe-html-gawk html-gawk
11887 maybe-html-gawk:
11888 @if gawk
11889 maybe-html-gawk: html-gawk
11891 html-gawk: \
11892 configure-gawk
11893 @$(unstage)
11894 @[ -f ./gawk/Makefile ] || exit 0; \
11895 r=`${PWD_COMMAND}`; export r; \
11896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11897 $(HOST_EXPORTS) \
11898 for flag in $(EXTRA_HOST_FLAGS) ; do \
11899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11900 done; \
11901 echo "Doing html in gawk" ; \
11902 (cd $(HOST_SUBDIR)/gawk && \
11903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11905 "RANLIB=$${RANLIB}" \
11906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11907 html) \
11908 || exit 1
11910 @endif gawk
11912 .PHONY: maybe-TAGS-gawk TAGS-gawk
11913 maybe-TAGS-gawk:
11914 @if gawk
11915 maybe-TAGS-gawk: TAGS-gawk
11917 TAGS-gawk: \
11918 configure-gawk
11919 @$(unstage)
11920 @[ -f ./gawk/Makefile ] || exit 0; \
11921 r=`${PWD_COMMAND}`; export r; \
11922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11923 $(HOST_EXPORTS) \
11924 for flag in $(EXTRA_HOST_FLAGS) ; do \
11925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11926 done; \
11927 echo "Doing TAGS in gawk" ; \
11928 (cd $(HOST_SUBDIR)/gawk && \
11929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11931 "RANLIB=$${RANLIB}" \
11932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11933 TAGS) \
11934 || exit 1
11936 @endif gawk
11938 .PHONY: maybe-install-info-gawk install-info-gawk
11939 maybe-install-info-gawk:
11940 @if gawk
11941 maybe-install-info-gawk: install-info-gawk
11943 install-info-gawk: \
11944 configure-gawk \
11945 info-gawk
11946 @$(unstage)
11947 @[ -f ./gawk/Makefile ] || exit 0; \
11948 r=`${PWD_COMMAND}`; export r; \
11949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11950 $(HOST_EXPORTS) \
11951 for flag in $(EXTRA_HOST_FLAGS) ; do \
11952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11953 done; \
11954 echo "Doing install-info in gawk" ; \
11955 (cd $(HOST_SUBDIR)/gawk && \
11956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11958 "RANLIB=$${RANLIB}" \
11959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11960 install-info) \
11961 || exit 1
11963 @endif gawk
11965 .PHONY: maybe-installcheck-gawk installcheck-gawk
11966 maybe-installcheck-gawk:
11967 @if gawk
11968 maybe-installcheck-gawk: installcheck-gawk
11970 installcheck-gawk: \
11971 configure-gawk
11972 @$(unstage)
11973 @[ -f ./gawk/Makefile ] || exit 0; \
11974 r=`${PWD_COMMAND}`; export r; \
11975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11976 $(HOST_EXPORTS) \
11977 for flag in $(EXTRA_HOST_FLAGS) ; do \
11978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11979 done; \
11980 echo "Doing installcheck in gawk" ; \
11981 (cd $(HOST_SUBDIR)/gawk && \
11982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11984 "RANLIB=$${RANLIB}" \
11985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11986 installcheck) \
11987 || exit 1
11989 @endif gawk
11991 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11992 maybe-mostlyclean-gawk:
11993 @if gawk
11994 maybe-mostlyclean-gawk: mostlyclean-gawk
11996 mostlyclean-gawk:
11997 @$(unstage)
11998 @[ -f ./gawk/Makefile ] || exit 0; \
11999 r=`${PWD_COMMAND}`; export r; \
12000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12001 $(HOST_EXPORTS) \
12002 for flag in $(EXTRA_HOST_FLAGS) ; do \
12003 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12004 done; \
12005 echo "Doing mostlyclean in gawk" ; \
12006 (cd $(HOST_SUBDIR)/gawk && \
12007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12009 "RANLIB=$${RANLIB}" \
12010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12011 mostlyclean) \
12012 || exit 1
12014 @endif gawk
12016 .PHONY: maybe-clean-gawk clean-gawk
12017 maybe-clean-gawk:
12018 @if gawk
12019 maybe-clean-gawk: clean-gawk
12021 clean-gawk:
12022 @$(unstage)
12023 @[ -f ./gawk/Makefile ] || exit 0; \
12024 r=`${PWD_COMMAND}`; export r; \
12025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12026 $(HOST_EXPORTS) \
12027 for flag in $(EXTRA_HOST_FLAGS) ; do \
12028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 done; \
12030 echo "Doing clean in gawk" ; \
12031 (cd $(HOST_SUBDIR)/gawk && \
12032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12034 "RANLIB=$${RANLIB}" \
12035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12036 clean) \
12037 || exit 1
12039 @endif gawk
12041 .PHONY: maybe-distclean-gawk distclean-gawk
12042 maybe-distclean-gawk:
12043 @if gawk
12044 maybe-distclean-gawk: distclean-gawk
12046 distclean-gawk:
12047 @$(unstage)
12048 @[ -f ./gawk/Makefile ] || exit 0; \
12049 r=`${PWD_COMMAND}`; export r; \
12050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12051 $(HOST_EXPORTS) \
12052 for flag in $(EXTRA_HOST_FLAGS) ; do \
12053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12054 done; \
12055 echo "Doing distclean in gawk" ; \
12056 (cd $(HOST_SUBDIR)/gawk && \
12057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12059 "RANLIB=$${RANLIB}" \
12060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12061 distclean) \
12062 || exit 1
12064 @endif gawk
12066 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12067 maybe-maintainer-clean-gawk:
12068 @if gawk
12069 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12071 maintainer-clean-gawk:
12072 @$(unstage)
12073 @[ -f ./gawk/Makefile ] || exit 0; \
12074 r=`${PWD_COMMAND}`; export r; \
12075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12076 $(HOST_EXPORTS) \
12077 for flag in $(EXTRA_HOST_FLAGS) ; do \
12078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12079 done; \
12080 echo "Doing maintainer-clean in gawk" ; \
12081 (cd $(HOST_SUBDIR)/gawk && \
12082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12084 "RANLIB=$${RANLIB}" \
12085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12086 maintainer-clean) \
12087 || exit 1
12089 @endif gawk
12093 .PHONY: configure-gettext maybe-configure-gettext
12094 maybe-configure-gettext:
12095 @if gettext
12096 maybe-configure-gettext: configure-gettext
12097 configure-gettext:
12098 @$(unstage)
12099 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12100 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12101 r=`${PWD_COMMAND}`; export r; \
12102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12103 $(HOST_EXPORTS) \
12104 echo Configuring in $(HOST_SUBDIR)/gettext; \
12105 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12106 case $(srcdir) in \
12107 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12108 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12109 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12110 esac; \
12111 srcdiroption="--srcdir=$${topdir}/gettext"; \
12112 libsrcdir="$$s/gettext"; \
12113 $(SHELL) $${libsrcdir}/configure \
12114 $(HOST_CONFIGARGS) $${srcdiroption} \
12115 || exit 1
12116 @endif gettext
12122 .PHONY: all-gettext maybe-all-gettext
12123 maybe-all-gettext:
12124 @if gettext
12125 TARGET-gettext=all
12126 maybe-all-gettext: all-gettext
12127 all-gettext: configure-gettext
12128 @$(unstage)
12129 @r=`${PWD_COMMAND}`; export r; \
12130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12131 $(HOST_EXPORTS) \
12132 (cd $(HOST_SUBDIR)/gettext && \
12133 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12134 @endif gettext
12139 .PHONY: check-gettext maybe-check-gettext
12140 maybe-check-gettext:
12141 @if gettext
12142 maybe-check-gettext: check-gettext
12144 check-gettext:
12145 @$(unstage)
12146 @r=`${PWD_COMMAND}`; export r; \
12147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12148 $(HOST_EXPORTS) \
12149 (cd $(HOST_SUBDIR)/gettext && \
12150 $(MAKE) $(FLAGS_TO_PASS) check)
12152 @endif gettext
12154 .PHONY: install-gettext maybe-install-gettext
12155 maybe-install-gettext:
12156 @if gettext
12157 maybe-install-gettext: install-gettext
12159 install-gettext: installdirs
12160 @$(unstage)
12161 @r=`${PWD_COMMAND}`; export r; \
12162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12163 $(HOST_EXPORTS) \
12164 (cd $(HOST_SUBDIR)/gettext && \
12165 $(MAKE) $(FLAGS_TO_PASS) install)
12167 @endif gettext
12169 # Other targets (info, dvi, etc.)
12171 .PHONY: maybe-info-gettext info-gettext
12172 maybe-info-gettext:
12173 @if gettext
12174 maybe-info-gettext: info-gettext
12176 info-gettext: \
12177 configure-gettext
12178 @$(unstage)
12179 @[ -f ./gettext/Makefile ] || exit 0; \
12180 r=`${PWD_COMMAND}`; export r; \
12181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12182 $(HOST_EXPORTS) \
12183 for flag in $(EXTRA_HOST_FLAGS) ; do \
12184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12185 done; \
12186 echo "Doing info in gettext" ; \
12187 (cd $(HOST_SUBDIR)/gettext && \
12188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12190 "RANLIB=$${RANLIB}" \
12191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12192 info) \
12193 || exit 1
12195 @endif gettext
12197 .PHONY: maybe-dvi-gettext dvi-gettext
12198 maybe-dvi-gettext:
12199 @if gettext
12200 maybe-dvi-gettext: dvi-gettext
12202 dvi-gettext: \
12203 configure-gettext
12204 @$(unstage)
12205 @[ -f ./gettext/Makefile ] || exit 0; \
12206 r=`${PWD_COMMAND}`; export r; \
12207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12208 $(HOST_EXPORTS) \
12209 for flag in $(EXTRA_HOST_FLAGS) ; do \
12210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12211 done; \
12212 echo "Doing dvi in gettext" ; \
12213 (cd $(HOST_SUBDIR)/gettext && \
12214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12216 "RANLIB=$${RANLIB}" \
12217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12218 dvi) \
12219 || exit 1
12221 @endif gettext
12223 .PHONY: maybe-html-gettext html-gettext
12224 maybe-html-gettext:
12225 @if gettext
12226 maybe-html-gettext: html-gettext
12228 html-gettext: \
12229 configure-gettext
12230 @$(unstage)
12231 @[ -f ./gettext/Makefile ] || exit 0; \
12232 r=`${PWD_COMMAND}`; export r; \
12233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12234 $(HOST_EXPORTS) \
12235 for flag in $(EXTRA_HOST_FLAGS) ; do \
12236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12237 done; \
12238 echo "Doing html in gettext" ; \
12239 (cd $(HOST_SUBDIR)/gettext && \
12240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12242 "RANLIB=$${RANLIB}" \
12243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12244 html) \
12245 || exit 1
12247 @endif gettext
12249 .PHONY: maybe-TAGS-gettext TAGS-gettext
12250 maybe-TAGS-gettext:
12251 @if gettext
12252 maybe-TAGS-gettext: TAGS-gettext
12254 TAGS-gettext: \
12255 configure-gettext
12256 @$(unstage)
12257 @[ -f ./gettext/Makefile ] || exit 0; \
12258 r=`${PWD_COMMAND}`; export r; \
12259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12260 $(HOST_EXPORTS) \
12261 for flag in $(EXTRA_HOST_FLAGS) ; do \
12262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12263 done; \
12264 echo "Doing TAGS in gettext" ; \
12265 (cd $(HOST_SUBDIR)/gettext && \
12266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12268 "RANLIB=$${RANLIB}" \
12269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12270 TAGS) \
12271 || exit 1
12273 @endif gettext
12275 .PHONY: maybe-install-info-gettext install-info-gettext
12276 maybe-install-info-gettext:
12277 @if gettext
12278 maybe-install-info-gettext: install-info-gettext
12280 install-info-gettext: \
12281 configure-gettext \
12282 info-gettext
12283 @$(unstage)
12284 @[ -f ./gettext/Makefile ] || exit 0; \
12285 r=`${PWD_COMMAND}`; export r; \
12286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12287 $(HOST_EXPORTS) \
12288 for flag in $(EXTRA_HOST_FLAGS) ; do \
12289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12290 done; \
12291 echo "Doing install-info in gettext" ; \
12292 (cd $(HOST_SUBDIR)/gettext && \
12293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12295 "RANLIB=$${RANLIB}" \
12296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12297 install-info) \
12298 || exit 1
12300 @endif gettext
12302 .PHONY: maybe-installcheck-gettext installcheck-gettext
12303 maybe-installcheck-gettext:
12304 @if gettext
12305 maybe-installcheck-gettext: installcheck-gettext
12307 installcheck-gettext: \
12308 configure-gettext
12309 @$(unstage)
12310 @[ -f ./gettext/Makefile ] || exit 0; \
12311 r=`${PWD_COMMAND}`; export r; \
12312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12313 $(HOST_EXPORTS) \
12314 for flag in $(EXTRA_HOST_FLAGS) ; do \
12315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12316 done; \
12317 echo "Doing installcheck in gettext" ; \
12318 (cd $(HOST_SUBDIR)/gettext && \
12319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12321 "RANLIB=$${RANLIB}" \
12322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12323 installcheck) \
12324 || exit 1
12326 @endif gettext
12328 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12329 maybe-mostlyclean-gettext:
12330 @if gettext
12331 maybe-mostlyclean-gettext: mostlyclean-gettext
12333 mostlyclean-gettext:
12334 @$(unstage)
12335 @[ -f ./gettext/Makefile ] || exit 0; \
12336 r=`${PWD_COMMAND}`; export r; \
12337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12338 $(HOST_EXPORTS) \
12339 for flag in $(EXTRA_HOST_FLAGS) ; do \
12340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12341 done; \
12342 echo "Doing mostlyclean in gettext" ; \
12343 (cd $(HOST_SUBDIR)/gettext && \
12344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12346 "RANLIB=$${RANLIB}" \
12347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12348 mostlyclean) \
12349 || exit 1
12351 @endif gettext
12353 .PHONY: maybe-clean-gettext clean-gettext
12354 maybe-clean-gettext:
12355 @if gettext
12356 maybe-clean-gettext: clean-gettext
12358 clean-gettext:
12359 @$(unstage)
12360 @[ -f ./gettext/Makefile ] || exit 0; \
12361 r=`${PWD_COMMAND}`; export r; \
12362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12363 $(HOST_EXPORTS) \
12364 for flag in $(EXTRA_HOST_FLAGS) ; do \
12365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12366 done; \
12367 echo "Doing clean in gettext" ; \
12368 (cd $(HOST_SUBDIR)/gettext && \
12369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12371 "RANLIB=$${RANLIB}" \
12372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12373 clean) \
12374 || exit 1
12376 @endif gettext
12378 .PHONY: maybe-distclean-gettext distclean-gettext
12379 maybe-distclean-gettext:
12380 @if gettext
12381 maybe-distclean-gettext: distclean-gettext
12383 distclean-gettext:
12384 @$(unstage)
12385 @[ -f ./gettext/Makefile ] || exit 0; \
12386 r=`${PWD_COMMAND}`; export r; \
12387 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12388 $(HOST_EXPORTS) \
12389 for flag in $(EXTRA_HOST_FLAGS) ; do \
12390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12391 done; \
12392 echo "Doing distclean in gettext" ; \
12393 (cd $(HOST_SUBDIR)/gettext && \
12394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12396 "RANLIB=$${RANLIB}" \
12397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12398 distclean) \
12399 || exit 1
12401 @endif gettext
12403 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12404 maybe-maintainer-clean-gettext:
12405 @if gettext
12406 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12408 maintainer-clean-gettext:
12409 @$(unstage)
12410 @[ -f ./gettext/Makefile ] || exit 0; \
12411 r=`${PWD_COMMAND}`; export r; \
12412 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12413 $(HOST_EXPORTS) \
12414 for flag in $(EXTRA_HOST_FLAGS) ; do \
12415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12416 done; \
12417 echo "Doing maintainer-clean in gettext" ; \
12418 (cd $(HOST_SUBDIR)/gettext && \
12419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12421 "RANLIB=$${RANLIB}" \
12422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12423 maintainer-clean) \
12424 || exit 1
12426 @endif gettext
12430 .PHONY: configure-gnuserv maybe-configure-gnuserv
12431 maybe-configure-gnuserv:
12432 @if gnuserv
12433 maybe-configure-gnuserv: configure-gnuserv
12434 configure-gnuserv:
12435 @$(unstage)
12436 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12437 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12438 r=`${PWD_COMMAND}`; export r; \
12439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12440 $(HOST_EXPORTS) \
12441 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12442 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12443 case $(srcdir) in \
12444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12445 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12447 esac; \
12448 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12449 libsrcdir="$$s/gnuserv"; \
12450 $(SHELL) $${libsrcdir}/configure \
12451 $(HOST_CONFIGARGS) $${srcdiroption} \
12452 || exit 1
12453 @endif gnuserv
12459 .PHONY: all-gnuserv maybe-all-gnuserv
12460 maybe-all-gnuserv:
12461 @if gnuserv
12462 TARGET-gnuserv=all
12463 maybe-all-gnuserv: all-gnuserv
12464 all-gnuserv: configure-gnuserv
12465 @$(unstage)
12466 @r=`${PWD_COMMAND}`; export r; \
12467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12468 $(HOST_EXPORTS) \
12469 (cd $(HOST_SUBDIR)/gnuserv && \
12470 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12471 @endif gnuserv
12476 .PHONY: check-gnuserv maybe-check-gnuserv
12477 maybe-check-gnuserv:
12478 @if gnuserv
12479 maybe-check-gnuserv: check-gnuserv
12481 check-gnuserv:
12482 @$(unstage)
12483 @r=`${PWD_COMMAND}`; export r; \
12484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12485 $(HOST_EXPORTS) \
12486 (cd $(HOST_SUBDIR)/gnuserv && \
12487 $(MAKE) $(FLAGS_TO_PASS) check)
12489 @endif gnuserv
12491 .PHONY: install-gnuserv maybe-install-gnuserv
12492 maybe-install-gnuserv:
12493 @if gnuserv
12494 maybe-install-gnuserv: install-gnuserv
12496 install-gnuserv: installdirs
12497 @$(unstage)
12498 @r=`${PWD_COMMAND}`; export r; \
12499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12500 $(HOST_EXPORTS) \
12501 (cd $(HOST_SUBDIR)/gnuserv && \
12502 $(MAKE) $(FLAGS_TO_PASS) install)
12504 @endif gnuserv
12506 # Other targets (info, dvi, etc.)
12508 .PHONY: maybe-info-gnuserv info-gnuserv
12509 maybe-info-gnuserv:
12510 @if gnuserv
12511 maybe-info-gnuserv: info-gnuserv
12513 info-gnuserv: \
12514 configure-gnuserv
12515 @$(unstage)
12516 @[ -f ./gnuserv/Makefile ] || exit 0; \
12517 r=`${PWD_COMMAND}`; export r; \
12518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12519 $(HOST_EXPORTS) \
12520 for flag in $(EXTRA_HOST_FLAGS) ; do \
12521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12522 done; \
12523 echo "Doing info in gnuserv" ; \
12524 (cd $(HOST_SUBDIR)/gnuserv && \
12525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12527 "RANLIB=$${RANLIB}" \
12528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12529 info) \
12530 || exit 1
12532 @endif gnuserv
12534 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12535 maybe-dvi-gnuserv:
12536 @if gnuserv
12537 maybe-dvi-gnuserv: dvi-gnuserv
12539 dvi-gnuserv: \
12540 configure-gnuserv
12541 @$(unstage)
12542 @[ -f ./gnuserv/Makefile ] || exit 0; \
12543 r=`${PWD_COMMAND}`; export r; \
12544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12545 $(HOST_EXPORTS) \
12546 for flag in $(EXTRA_HOST_FLAGS) ; do \
12547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12548 done; \
12549 echo "Doing dvi in gnuserv" ; \
12550 (cd $(HOST_SUBDIR)/gnuserv && \
12551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12553 "RANLIB=$${RANLIB}" \
12554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12555 dvi) \
12556 || exit 1
12558 @endif gnuserv
12560 .PHONY: maybe-html-gnuserv html-gnuserv
12561 maybe-html-gnuserv:
12562 @if gnuserv
12563 maybe-html-gnuserv: html-gnuserv
12565 html-gnuserv: \
12566 configure-gnuserv
12567 @$(unstage)
12568 @[ -f ./gnuserv/Makefile ] || exit 0; \
12569 r=`${PWD_COMMAND}`; export r; \
12570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12571 $(HOST_EXPORTS) \
12572 for flag in $(EXTRA_HOST_FLAGS) ; do \
12573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12574 done; \
12575 echo "Doing html in gnuserv" ; \
12576 (cd $(HOST_SUBDIR)/gnuserv && \
12577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12579 "RANLIB=$${RANLIB}" \
12580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12581 html) \
12582 || exit 1
12584 @endif gnuserv
12586 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12587 maybe-TAGS-gnuserv:
12588 @if gnuserv
12589 maybe-TAGS-gnuserv: TAGS-gnuserv
12591 TAGS-gnuserv: \
12592 configure-gnuserv
12593 @$(unstage)
12594 @[ -f ./gnuserv/Makefile ] || exit 0; \
12595 r=`${PWD_COMMAND}`; export r; \
12596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12597 $(HOST_EXPORTS) \
12598 for flag in $(EXTRA_HOST_FLAGS) ; do \
12599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12600 done; \
12601 echo "Doing TAGS in gnuserv" ; \
12602 (cd $(HOST_SUBDIR)/gnuserv && \
12603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12605 "RANLIB=$${RANLIB}" \
12606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12607 TAGS) \
12608 || exit 1
12610 @endif gnuserv
12612 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12613 maybe-install-info-gnuserv:
12614 @if gnuserv
12615 maybe-install-info-gnuserv: install-info-gnuserv
12617 install-info-gnuserv: \
12618 configure-gnuserv \
12619 info-gnuserv
12620 @$(unstage)
12621 @[ -f ./gnuserv/Makefile ] || exit 0; \
12622 r=`${PWD_COMMAND}`; export r; \
12623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12624 $(HOST_EXPORTS) \
12625 for flag in $(EXTRA_HOST_FLAGS) ; do \
12626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12627 done; \
12628 echo "Doing install-info in gnuserv" ; \
12629 (cd $(HOST_SUBDIR)/gnuserv && \
12630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12632 "RANLIB=$${RANLIB}" \
12633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12634 install-info) \
12635 || exit 1
12637 @endif gnuserv
12639 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12640 maybe-installcheck-gnuserv:
12641 @if gnuserv
12642 maybe-installcheck-gnuserv: installcheck-gnuserv
12644 installcheck-gnuserv: \
12645 configure-gnuserv
12646 @$(unstage)
12647 @[ -f ./gnuserv/Makefile ] || exit 0; \
12648 r=`${PWD_COMMAND}`; export r; \
12649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12650 $(HOST_EXPORTS) \
12651 for flag in $(EXTRA_HOST_FLAGS) ; do \
12652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12653 done; \
12654 echo "Doing installcheck in gnuserv" ; \
12655 (cd $(HOST_SUBDIR)/gnuserv && \
12656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12658 "RANLIB=$${RANLIB}" \
12659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12660 installcheck) \
12661 || exit 1
12663 @endif gnuserv
12665 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12666 maybe-mostlyclean-gnuserv:
12667 @if gnuserv
12668 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12670 mostlyclean-gnuserv:
12671 @$(unstage)
12672 @[ -f ./gnuserv/Makefile ] || exit 0; \
12673 r=`${PWD_COMMAND}`; export r; \
12674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12675 $(HOST_EXPORTS) \
12676 for flag in $(EXTRA_HOST_FLAGS) ; do \
12677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12678 done; \
12679 echo "Doing mostlyclean in gnuserv" ; \
12680 (cd $(HOST_SUBDIR)/gnuserv && \
12681 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12682 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12683 "RANLIB=$${RANLIB}" \
12684 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12685 mostlyclean) \
12686 || exit 1
12688 @endif gnuserv
12690 .PHONY: maybe-clean-gnuserv clean-gnuserv
12691 maybe-clean-gnuserv:
12692 @if gnuserv
12693 maybe-clean-gnuserv: clean-gnuserv
12695 clean-gnuserv:
12696 @$(unstage)
12697 @[ -f ./gnuserv/Makefile ] || exit 0; \
12698 r=`${PWD_COMMAND}`; export r; \
12699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12700 $(HOST_EXPORTS) \
12701 for flag in $(EXTRA_HOST_FLAGS) ; do \
12702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12703 done; \
12704 echo "Doing clean in gnuserv" ; \
12705 (cd $(HOST_SUBDIR)/gnuserv && \
12706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12708 "RANLIB=$${RANLIB}" \
12709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12710 clean) \
12711 || exit 1
12713 @endif gnuserv
12715 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12716 maybe-distclean-gnuserv:
12717 @if gnuserv
12718 maybe-distclean-gnuserv: distclean-gnuserv
12720 distclean-gnuserv:
12721 @$(unstage)
12722 @[ -f ./gnuserv/Makefile ] || exit 0; \
12723 r=`${PWD_COMMAND}`; export r; \
12724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12725 $(HOST_EXPORTS) \
12726 for flag in $(EXTRA_HOST_FLAGS) ; do \
12727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12728 done; \
12729 echo "Doing distclean in gnuserv" ; \
12730 (cd $(HOST_SUBDIR)/gnuserv && \
12731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12733 "RANLIB=$${RANLIB}" \
12734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12735 distclean) \
12736 || exit 1
12738 @endif gnuserv
12740 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12741 maybe-maintainer-clean-gnuserv:
12742 @if gnuserv
12743 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12745 maintainer-clean-gnuserv:
12746 @$(unstage)
12747 @[ -f ./gnuserv/Makefile ] || exit 0; \
12748 r=`${PWD_COMMAND}`; export r; \
12749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12750 $(HOST_EXPORTS) \
12751 for flag in $(EXTRA_HOST_FLAGS) ; do \
12752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12753 done; \
12754 echo "Doing maintainer-clean in gnuserv" ; \
12755 (cd $(HOST_SUBDIR)/gnuserv && \
12756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12758 "RANLIB=$${RANLIB}" \
12759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12760 maintainer-clean) \
12761 || exit 1
12763 @endif gnuserv
12767 .PHONY: configure-gprof maybe-configure-gprof
12768 maybe-configure-gprof:
12769 @if gprof
12770 maybe-configure-gprof: configure-gprof
12771 configure-gprof:
12772 @$(unstage)
12773 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12775 r=`${PWD_COMMAND}`; export r; \
12776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12777 $(HOST_EXPORTS) \
12778 echo Configuring in $(HOST_SUBDIR)/gprof; \
12779 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12780 case $(srcdir) in \
12781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12782 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12784 esac; \
12785 srcdiroption="--srcdir=$${topdir}/gprof"; \
12786 libsrcdir="$$s/gprof"; \
12787 $(SHELL) $${libsrcdir}/configure \
12788 $(HOST_CONFIGARGS) $${srcdiroption} \
12789 || exit 1
12790 @endif gprof
12796 .PHONY: all-gprof maybe-all-gprof
12797 maybe-all-gprof:
12798 @if gprof
12799 TARGET-gprof=all
12800 maybe-all-gprof: all-gprof
12801 all-gprof: configure-gprof
12802 @$(unstage)
12803 @r=`${PWD_COMMAND}`; export r; \
12804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12805 $(HOST_EXPORTS) \
12806 (cd $(HOST_SUBDIR)/gprof && \
12807 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12808 @endif gprof
12813 .PHONY: check-gprof maybe-check-gprof
12814 maybe-check-gprof:
12815 @if gprof
12816 maybe-check-gprof: check-gprof
12818 check-gprof:
12819 @$(unstage)
12820 @r=`${PWD_COMMAND}`; export r; \
12821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12822 $(HOST_EXPORTS) \
12823 (cd $(HOST_SUBDIR)/gprof && \
12824 $(MAKE) $(FLAGS_TO_PASS) check)
12826 @endif gprof
12828 .PHONY: install-gprof maybe-install-gprof
12829 maybe-install-gprof:
12830 @if gprof
12831 maybe-install-gprof: install-gprof
12833 install-gprof: installdirs
12834 @$(unstage)
12835 @r=`${PWD_COMMAND}`; export r; \
12836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12837 $(HOST_EXPORTS) \
12838 (cd $(HOST_SUBDIR)/gprof && \
12839 $(MAKE) $(FLAGS_TO_PASS) install)
12841 @endif gprof
12843 # Other targets (info, dvi, etc.)
12845 .PHONY: maybe-info-gprof info-gprof
12846 maybe-info-gprof:
12847 @if gprof
12848 maybe-info-gprof: info-gprof
12850 info-gprof: \
12851 configure-gprof
12852 @$(unstage)
12853 @[ -f ./gprof/Makefile ] || exit 0; \
12854 r=`${PWD_COMMAND}`; export r; \
12855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12856 $(HOST_EXPORTS) \
12857 for flag in $(EXTRA_HOST_FLAGS) ; do \
12858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12859 done; \
12860 echo "Doing info in gprof" ; \
12861 (cd $(HOST_SUBDIR)/gprof && \
12862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12864 "RANLIB=$${RANLIB}" \
12865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12866 info) \
12867 || exit 1
12869 @endif gprof
12871 .PHONY: maybe-dvi-gprof dvi-gprof
12872 maybe-dvi-gprof:
12873 @if gprof
12874 maybe-dvi-gprof: dvi-gprof
12876 dvi-gprof: \
12877 configure-gprof
12878 @$(unstage)
12879 @[ -f ./gprof/Makefile ] || exit 0; \
12880 r=`${PWD_COMMAND}`; export r; \
12881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12882 $(HOST_EXPORTS) \
12883 for flag in $(EXTRA_HOST_FLAGS) ; do \
12884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12885 done; \
12886 echo "Doing dvi in gprof" ; \
12887 (cd $(HOST_SUBDIR)/gprof && \
12888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12890 "RANLIB=$${RANLIB}" \
12891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12892 dvi) \
12893 || exit 1
12895 @endif gprof
12897 .PHONY: maybe-html-gprof html-gprof
12898 maybe-html-gprof:
12899 @if gprof
12900 maybe-html-gprof: html-gprof
12902 html-gprof: \
12903 configure-gprof
12904 @$(unstage)
12905 @[ -f ./gprof/Makefile ] || exit 0; \
12906 r=`${PWD_COMMAND}`; export r; \
12907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12908 $(HOST_EXPORTS) \
12909 for flag in $(EXTRA_HOST_FLAGS) ; do \
12910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12911 done; \
12912 echo "Doing html in gprof" ; \
12913 (cd $(HOST_SUBDIR)/gprof && \
12914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12916 "RANLIB=$${RANLIB}" \
12917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12918 html) \
12919 || exit 1
12921 @endif gprof
12923 .PHONY: maybe-TAGS-gprof TAGS-gprof
12924 maybe-TAGS-gprof:
12925 @if gprof
12926 maybe-TAGS-gprof: TAGS-gprof
12928 TAGS-gprof: \
12929 configure-gprof
12930 @$(unstage)
12931 @[ -f ./gprof/Makefile ] || exit 0; \
12932 r=`${PWD_COMMAND}`; export r; \
12933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12934 $(HOST_EXPORTS) \
12935 for flag in $(EXTRA_HOST_FLAGS) ; do \
12936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12937 done; \
12938 echo "Doing TAGS in gprof" ; \
12939 (cd $(HOST_SUBDIR)/gprof && \
12940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12942 "RANLIB=$${RANLIB}" \
12943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12944 TAGS) \
12945 || exit 1
12947 @endif gprof
12949 .PHONY: maybe-install-info-gprof install-info-gprof
12950 maybe-install-info-gprof:
12951 @if gprof
12952 maybe-install-info-gprof: install-info-gprof
12954 install-info-gprof: \
12955 configure-gprof \
12956 info-gprof
12957 @$(unstage)
12958 @[ -f ./gprof/Makefile ] || exit 0; \
12959 r=`${PWD_COMMAND}`; export r; \
12960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12961 $(HOST_EXPORTS) \
12962 for flag in $(EXTRA_HOST_FLAGS) ; do \
12963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12964 done; \
12965 echo "Doing install-info in gprof" ; \
12966 (cd $(HOST_SUBDIR)/gprof && \
12967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12969 "RANLIB=$${RANLIB}" \
12970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12971 install-info) \
12972 || exit 1
12974 @endif gprof
12976 .PHONY: maybe-installcheck-gprof installcheck-gprof
12977 maybe-installcheck-gprof:
12978 @if gprof
12979 maybe-installcheck-gprof: installcheck-gprof
12981 installcheck-gprof: \
12982 configure-gprof
12983 @$(unstage)
12984 @[ -f ./gprof/Makefile ] || exit 0; \
12985 r=`${PWD_COMMAND}`; export r; \
12986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12987 $(HOST_EXPORTS) \
12988 for flag in $(EXTRA_HOST_FLAGS) ; do \
12989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12990 done; \
12991 echo "Doing installcheck in gprof" ; \
12992 (cd $(HOST_SUBDIR)/gprof && \
12993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12995 "RANLIB=$${RANLIB}" \
12996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12997 installcheck) \
12998 || exit 1
13000 @endif gprof
13002 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13003 maybe-mostlyclean-gprof:
13004 @if gprof
13005 maybe-mostlyclean-gprof: mostlyclean-gprof
13007 mostlyclean-gprof:
13008 @$(unstage)
13009 @[ -f ./gprof/Makefile ] || exit 0; \
13010 r=`${PWD_COMMAND}`; export r; \
13011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13012 $(HOST_EXPORTS) \
13013 for flag in $(EXTRA_HOST_FLAGS) ; do \
13014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13015 done; \
13016 echo "Doing mostlyclean in gprof" ; \
13017 (cd $(HOST_SUBDIR)/gprof && \
13018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13020 "RANLIB=$${RANLIB}" \
13021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13022 mostlyclean) \
13023 || exit 1
13025 @endif gprof
13027 .PHONY: maybe-clean-gprof clean-gprof
13028 maybe-clean-gprof:
13029 @if gprof
13030 maybe-clean-gprof: clean-gprof
13032 clean-gprof:
13033 @$(unstage)
13034 @[ -f ./gprof/Makefile ] || exit 0; \
13035 r=`${PWD_COMMAND}`; export r; \
13036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13037 $(HOST_EXPORTS) \
13038 for flag in $(EXTRA_HOST_FLAGS) ; do \
13039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13040 done; \
13041 echo "Doing clean in gprof" ; \
13042 (cd $(HOST_SUBDIR)/gprof && \
13043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13045 "RANLIB=$${RANLIB}" \
13046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13047 clean) \
13048 || exit 1
13050 @endif gprof
13052 .PHONY: maybe-distclean-gprof distclean-gprof
13053 maybe-distclean-gprof:
13054 @if gprof
13055 maybe-distclean-gprof: distclean-gprof
13057 distclean-gprof:
13058 @$(unstage)
13059 @[ -f ./gprof/Makefile ] || exit 0; \
13060 r=`${PWD_COMMAND}`; export r; \
13061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13062 $(HOST_EXPORTS) \
13063 for flag in $(EXTRA_HOST_FLAGS) ; do \
13064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13065 done; \
13066 echo "Doing distclean in gprof" ; \
13067 (cd $(HOST_SUBDIR)/gprof && \
13068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13070 "RANLIB=$${RANLIB}" \
13071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13072 distclean) \
13073 || exit 1
13075 @endif gprof
13077 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13078 maybe-maintainer-clean-gprof:
13079 @if gprof
13080 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13082 maintainer-clean-gprof:
13083 @$(unstage)
13084 @[ -f ./gprof/Makefile ] || exit 0; \
13085 r=`${PWD_COMMAND}`; export r; \
13086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13087 $(HOST_EXPORTS) \
13088 for flag in $(EXTRA_HOST_FLAGS) ; do \
13089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13090 done; \
13091 echo "Doing maintainer-clean in gprof" ; \
13092 (cd $(HOST_SUBDIR)/gprof && \
13093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13095 "RANLIB=$${RANLIB}" \
13096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13097 maintainer-clean) \
13098 || exit 1
13100 @endif gprof
13104 .PHONY: configure-gzip maybe-configure-gzip
13105 maybe-configure-gzip:
13106 @if gzip
13107 maybe-configure-gzip: configure-gzip
13108 configure-gzip:
13109 @$(unstage)
13110 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13112 r=`${PWD_COMMAND}`; export r; \
13113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13114 $(HOST_EXPORTS) \
13115 echo Configuring in $(HOST_SUBDIR)/gzip; \
13116 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13117 case $(srcdir) in \
13118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13119 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13121 esac; \
13122 srcdiroption="--srcdir=$${topdir}/gzip"; \
13123 libsrcdir="$$s/gzip"; \
13124 $(SHELL) $${libsrcdir}/configure \
13125 $(HOST_CONFIGARGS) $${srcdiroption} \
13126 || exit 1
13127 @endif gzip
13133 .PHONY: all-gzip maybe-all-gzip
13134 maybe-all-gzip:
13135 @if gzip
13136 TARGET-gzip=all
13137 maybe-all-gzip: all-gzip
13138 all-gzip: configure-gzip
13139 @$(unstage)
13140 @r=`${PWD_COMMAND}`; export r; \
13141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13142 $(HOST_EXPORTS) \
13143 (cd $(HOST_SUBDIR)/gzip && \
13144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13145 @endif gzip
13150 .PHONY: check-gzip maybe-check-gzip
13151 maybe-check-gzip:
13152 @if gzip
13153 maybe-check-gzip: check-gzip
13155 check-gzip:
13156 @$(unstage)
13157 @r=`${PWD_COMMAND}`; export r; \
13158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13159 $(HOST_EXPORTS) \
13160 (cd $(HOST_SUBDIR)/gzip && \
13161 $(MAKE) $(FLAGS_TO_PASS) check)
13163 @endif gzip
13165 .PHONY: install-gzip maybe-install-gzip
13166 maybe-install-gzip:
13167 @if gzip
13168 maybe-install-gzip: install-gzip
13170 install-gzip: installdirs
13171 @$(unstage)
13172 @r=`${PWD_COMMAND}`; export r; \
13173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13174 $(HOST_EXPORTS) \
13175 (cd $(HOST_SUBDIR)/gzip && \
13176 $(MAKE) $(FLAGS_TO_PASS) install)
13178 @endif gzip
13180 # Other targets (info, dvi, etc.)
13182 .PHONY: maybe-info-gzip info-gzip
13183 maybe-info-gzip:
13184 @if gzip
13185 maybe-info-gzip: info-gzip
13187 info-gzip: \
13188 configure-gzip
13189 @$(unstage)
13190 @[ -f ./gzip/Makefile ] || exit 0; \
13191 r=`${PWD_COMMAND}`; export r; \
13192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13193 $(HOST_EXPORTS) \
13194 for flag in $(EXTRA_HOST_FLAGS) ; do \
13195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13196 done; \
13197 echo "Doing info in gzip" ; \
13198 (cd $(HOST_SUBDIR)/gzip && \
13199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13201 "RANLIB=$${RANLIB}" \
13202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13203 info) \
13204 || exit 1
13206 @endif gzip
13208 .PHONY: maybe-dvi-gzip dvi-gzip
13209 maybe-dvi-gzip:
13210 @if gzip
13211 maybe-dvi-gzip: dvi-gzip
13213 dvi-gzip: \
13214 configure-gzip
13215 @$(unstage)
13216 @[ -f ./gzip/Makefile ] || exit 0; \
13217 r=`${PWD_COMMAND}`; export r; \
13218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13219 $(HOST_EXPORTS) \
13220 for flag in $(EXTRA_HOST_FLAGS) ; do \
13221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13222 done; \
13223 echo "Doing dvi in gzip" ; \
13224 (cd $(HOST_SUBDIR)/gzip && \
13225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13227 "RANLIB=$${RANLIB}" \
13228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13229 dvi) \
13230 || exit 1
13232 @endif gzip
13234 .PHONY: maybe-html-gzip html-gzip
13235 maybe-html-gzip:
13236 @if gzip
13237 maybe-html-gzip: html-gzip
13239 html-gzip: \
13240 configure-gzip
13241 @$(unstage)
13242 @[ -f ./gzip/Makefile ] || exit 0; \
13243 r=`${PWD_COMMAND}`; export r; \
13244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13245 $(HOST_EXPORTS) \
13246 for flag in $(EXTRA_HOST_FLAGS) ; do \
13247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13248 done; \
13249 echo "Doing html in gzip" ; \
13250 (cd $(HOST_SUBDIR)/gzip && \
13251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13253 "RANLIB=$${RANLIB}" \
13254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13255 html) \
13256 || exit 1
13258 @endif gzip
13260 .PHONY: maybe-TAGS-gzip TAGS-gzip
13261 maybe-TAGS-gzip:
13262 @if gzip
13263 maybe-TAGS-gzip: TAGS-gzip
13265 TAGS-gzip: \
13266 configure-gzip
13267 @$(unstage)
13268 @[ -f ./gzip/Makefile ] || exit 0; \
13269 r=`${PWD_COMMAND}`; export r; \
13270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13271 $(HOST_EXPORTS) \
13272 for flag in $(EXTRA_HOST_FLAGS) ; do \
13273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13274 done; \
13275 echo "Doing TAGS in gzip" ; \
13276 (cd $(HOST_SUBDIR)/gzip && \
13277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13279 "RANLIB=$${RANLIB}" \
13280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13281 TAGS) \
13282 || exit 1
13284 @endif gzip
13286 .PHONY: maybe-install-info-gzip install-info-gzip
13287 maybe-install-info-gzip:
13288 @if gzip
13289 maybe-install-info-gzip: install-info-gzip
13291 install-info-gzip: \
13292 configure-gzip \
13293 info-gzip
13294 @$(unstage)
13295 @[ -f ./gzip/Makefile ] || exit 0; \
13296 r=`${PWD_COMMAND}`; export r; \
13297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13298 $(HOST_EXPORTS) \
13299 for flag in $(EXTRA_HOST_FLAGS) ; do \
13300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13301 done; \
13302 echo "Doing install-info in gzip" ; \
13303 (cd $(HOST_SUBDIR)/gzip && \
13304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13306 "RANLIB=$${RANLIB}" \
13307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13308 install-info) \
13309 || exit 1
13311 @endif gzip
13313 .PHONY: maybe-installcheck-gzip installcheck-gzip
13314 maybe-installcheck-gzip:
13315 @if gzip
13316 maybe-installcheck-gzip: installcheck-gzip
13318 installcheck-gzip: \
13319 configure-gzip
13320 @$(unstage)
13321 @[ -f ./gzip/Makefile ] || exit 0; \
13322 r=`${PWD_COMMAND}`; export r; \
13323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13324 $(HOST_EXPORTS) \
13325 for flag in $(EXTRA_HOST_FLAGS) ; do \
13326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13327 done; \
13328 echo "Doing installcheck in gzip" ; \
13329 (cd $(HOST_SUBDIR)/gzip && \
13330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13332 "RANLIB=$${RANLIB}" \
13333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13334 installcheck) \
13335 || exit 1
13337 @endif gzip
13339 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13340 maybe-mostlyclean-gzip:
13341 @if gzip
13342 maybe-mostlyclean-gzip: mostlyclean-gzip
13344 mostlyclean-gzip:
13345 @$(unstage)
13346 @[ -f ./gzip/Makefile ] || exit 0; \
13347 r=`${PWD_COMMAND}`; export r; \
13348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13349 $(HOST_EXPORTS) \
13350 for flag in $(EXTRA_HOST_FLAGS) ; do \
13351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13352 done; \
13353 echo "Doing mostlyclean in gzip" ; \
13354 (cd $(HOST_SUBDIR)/gzip && \
13355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13357 "RANLIB=$${RANLIB}" \
13358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13359 mostlyclean) \
13360 || exit 1
13362 @endif gzip
13364 .PHONY: maybe-clean-gzip clean-gzip
13365 maybe-clean-gzip:
13366 @if gzip
13367 maybe-clean-gzip: clean-gzip
13369 clean-gzip:
13370 @$(unstage)
13371 @[ -f ./gzip/Makefile ] || exit 0; \
13372 r=`${PWD_COMMAND}`; export r; \
13373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13374 $(HOST_EXPORTS) \
13375 for flag in $(EXTRA_HOST_FLAGS) ; do \
13376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13377 done; \
13378 echo "Doing clean in gzip" ; \
13379 (cd $(HOST_SUBDIR)/gzip && \
13380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13382 "RANLIB=$${RANLIB}" \
13383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13384 clean) \
13385 || exit 1
13387 @endif gzip
13389 .PHONY: maybe-distclean-gzip distclean-gzip
13390 maybe-distclean-gzip:
13391 @if gzip
13392 maybe-distclean-gzip: distclean-gzip
13394 distclean-gzip:
13395 @$(unstage)
13396 @[ -f ./gzip/Makefile ] || exit 0; \
13397 r=`${PWD_COMMAND}`; export r; \
13398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13399 $(HOST_EXPORTS) \
13400 for flag in $(EXTRA_HOST_FLAGS) ; do \
13401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13402 done; \
13403 echo "Doing distclean in gzip" ; \
13404 (cd $(HOST_SUBDIR)/gzip && \
13405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13407 "RANLIB=$${RANLIB}" \
13408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13409 distclean) \
13410 || exit 1
13412 @endif gzip
13414 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13415 maybe-maintainer-clean-gzip:
13416 @if gzip
13417 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13419 maintainer-clean-gzip:
13420 @$(unstage)
13421 @[ -f ./gzip/Makefile ] || exit 0; \
13422 r=`${PWD_COMMAND}`; export r; \
13423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13424 $(HOST_EXPORTS) \
13425 for flag in $(EXTRA_HOST_FLAGS) ; do \
13426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13427 done; \
13428 echo "Doing maintainer-clean in gzip" ; \
13429 (cd $(HOST_SUBDIR)/gzip && \
13430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13432 "RANLIB=$${RANLIB}" \
13433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13434 maintainer-clean) \
13435 || exit 1
13437 @endif gzip
13441 .PHONY: configure-hello maybe-configure-hello
13442 maybe-configure-hello:
13443 @if hello
13444 maybe-configure-hello: configure-hello
13445 configure-hello:
13446 @$(unstage)
13447 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13449 r=`${PWD_COMMAND}`; export r; \
13450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13451 $(HOST_EXPORTS) \
13452 echo Configuring in $(HOST_SUBDIR)/hello; \
13453 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13454 case $(srcdir) in \
13455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13456 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13458 esac; \
13459 srcdiroption="--srcdir=$${topdir}/hello"; \
13460 libsrcdir="$$s/hello"; \
13461 $(SHELL) $${libsrcdir}/configure \
13462 $(HOST_CONFIGARGS) $${srcdiroption} \
13463 || exit 1
13464 @endif hello
13470 .PHONY: all-hello maybe-all-hello
13471 maybe-all-hello:
13472 @if hello
13473 TARGET-hello=all
13474 maybe-all-hello: all-hello
13475 all-hello: configure-hello
13476 @$(unstage)
13477 @r=`${PWD_COMMAND}`; export r; \
13478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13479 $(HOST_EXPORTS) \
13480 (cd $(HOST_SUBDIR)/hello && \
13481 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13482 @endif hello
13487 .PHONY: check-hello maybe-check-hello
13488 maybe-check-hello:
13489 @if hello
13490 maybe-check-hello: check-hello
13492 check-hello:
13493 @$(unstage)
13494 @r=`${PWD_COMMAND}`; export r; \
13495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13496 $(HOST_EXPORTS) \
13497 (cd $(HOST_SUBDIR)/hello && \
13498 $(MAKE) $(FLAGS_TO_PASS) check)
13500 @endif hello
13502 .PHONY: install-hello maybe-install-hello
13503 maybe-install-hello:
13504 @if hello
13505 maybe-install-hello: install-hello
13507 install-hello: installdirs
13508 @$(unstage)
13509 @r=`${PWD_COMMAND}`; export r; \
13510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13511 $(HOST_EXPORTS) \
13512 (cd $(HOST_SUBDIR)/hello && \
13513 $(MAKE) $(FLAGS_TO_PASS) install)
13515 @endif hello
13517 # Other targets (info, dvi, etc.)
13519 .PHONY: maybe-info-hello info-hello
13520 maybe-info-hello:
13521 @if hello
13522 maybe-info-hello: info-hello
13524 info-hello: \
13525 configure-hello
13526 @$(unstage)
13527 @[ -f ./hello/Makefile ] || exit 0; \
13528 r=`${PWD_COMMAND}`; export r; \
13529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13530 $(HOST_EXPORTS) \
13531 for flag in $(EXTRA_HOST_FLAGS) ; do \
13532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13533 done; \
13534 echo "Doing info in hello" ; \
13535 (cd $(HOST_SUBDIR)/hello && \
13536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13538 "RANLIB=$${RANLIB}" \
13539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13540 info) \
13541 || exit 1
13543 @endif hello
13545 .PHONY: maybe-dvi-hello dvi-hello
13546 maybe-dvi-hello:
13547 @if hello
13548 maybe-dvi-hello: dvi-hello
13550 dvi-hello: \
13551 configure-hello
13552 @$(unstage)
13553 @[ -f ./hello/Makefile ] || exit 0; \
13554 r=`${PWD_COMMAND}`; export r; \
13555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13556 $(HOST_EXPORTS) \
13557 for flag in $(EXTRA_HOST_FLAGS) ; do \
13558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13559 done; \
13560 echo "Doing dvi in hello" ; \
13561 (cd $(HOST_SUBDIR)/hello && \
13562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13564 "RANLIB=$${RANLIB}" \
13565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13566 dvi) \
13567 || exit 1
13569 @endif hello
13571 .PHONY: maybe-html-hello html-hello
13572 maybe-html-hello:
13573 @if hello
13574 maybe-html-hello: html-hello
13576 html-hello: \
13577 configure-hello
13578 @$(unstage)
13579 @[ -f ./hello/Makefile ] || exit 0; \
13580 r=`${PWD_COMMAND}`; export r; \
13581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13582 $(HOST_EXPORTS) \
13583 for flag in $(EXTRA_HOST_FLAGS) ; do \
13584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13585 done; \
13586 echo "Doing html in hello" ; \
13587 (cd $(HOST_SUBDIR)/hello && \
13588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13590 "RANLIB=$${RANLIB}" \
13591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13592 html) \
13593 || exit 1
13595 @endif hello
13597 .PHONY: maybe-TAGS-hello TAGS-hello
13598 maybe-TAGS-hello:
13599 @if hello
13600 maybe-TAGS-hello: TAGS-hello
13602 TAGS-hello: \
13603 configure-hello
13604 @$(unstage)
13605 @[ -f ./hello/Makefile ] || exit 0; \
13606 r=`${PWD_COMMAND}`; export r; \
13607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13608 $(HOST_EXPORTS) \
13609 for flag in $(EXTRA_HOST_FLAGS) ; do \
13610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13611 done; \
13612 echo "Doing TAGS in hello" ; \
13613 (cd $(HOST_SUBDIR)/hello && \
13614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13616 "RANLIB=$${RANLIB}" \
13617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13618 TAGS) \
13619 || exit 1
13621 @endif hello
13623 .PHONY: maybe-install-info-hello install-info-hello
13624 maybe-install-info-hello:
13625 @if hello
13626 maybe-install-info-hello: install-info-hello
13628 install-info-hello: \
13629 configure-hello \
13630 info-hello
13631 @$(unstage)
13632 @[ -f ./hello/Makefile ] || exit 0; \
13633 r=`${PWD_COMMAND}`; export r; \
13634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13635 $(HOST_EXPORTS) \
13636 for flag in $(EXTRA_HOST_FLAGS) ; do \
13637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13638 done; \
13639 echo "Doing install-info in hello" ; \
13640 (cd $(HOST_SUBDIR)/hello && \
13641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13643 "RANLIB=$${RANLIB}" \
13644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13645 install-info) \
13646 || exit 1
13648 @endif hello
13650 .PHONY: maybe-installcheck-hello installcheck-hello
13651 maybe-installcheck-hello:
13652 @if hello
13653 maybe-installcheck-hello: installcheck-hello
13655 installcheck-hello: \
13656 configure-hello
13657 @$(unstage)
13658 @[ -f ./hello/Makefile ] || exit 0; \
13659 r=`${PWD_COMMAND}`; export r; \
13660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13661 $(HOST_EXPORTS) \
13662 for flag in $(EXTRA_HOST_FLAGS) ; do \
13663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13664 done; \
13665 echo "Doing installcheck in hello" ; \
13666 (cd $(HOST_SUBDIR)/hello && \
13667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13669 "RANLIB=$${RANLIB}" \
13670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13671 installcheck) \
13672 || exit 1
13674 @endif hello
13676 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13677 maybe-mostlyclean-hello:
13678 @if hello
13679 maybe-mostlyclean-hello: mostlyclean-hello
13681 mostlyclean-hello:
13682 @$(unstage)
13683 @[ -f ./hello/Makefile ] || exit 0; \
13684 r=`${PWD_COMMAND}`; export r; \
13685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13686 $(HOST_EXPORTS) \
13687 for flag in $(EXTRA_HOST_FLAGS) ; do \
13688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13689 done; \
13690 echo "Doing mostlyclean in hello" ; \
13691 (cd $(HOST_SUBDIR)/hello && \
13692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13694 "RANLIB=$${RANLIB}" \
13695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13696 mostlyclean) \
13697 || exit 1
13699 @endif hello
13701 .PHONY: maybe-clean-hello clean-hello
13702 maybe-clean-hello:
13703 @if hello
13704 maybe-clean-hello: clean-hello
13706 clean-hello:
13707 @$(unstage)
13708 @[ -f ./hello/Makefile ] || exit 0; \
13709 r=`${PWD_COMMAND}`; export r; \
13710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13711 $(HOST_EXPORTS) \
13712 for flag in $(EXTRA_HOST_FLAGS) ; do \
13713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13714 done; \
13715 echo "Doing clean in hello" ; \
13716 (cd $(HOST_SUBDIR)/hello && \
13717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13719 "RANLIB=$${RANLIB}" \
13720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13721 clean) \
13722 || exit 1
13724 @endif hello
13726 .PHONY: maybe-distclean-hello distclean-hello
13727 maybe-distclean-hello:
13728 @if hello
13729 maybe-distclean-hello: distclean-hello
13731 distclean-hello:
13732 @$(unstage)
13733 @[ -f ./hello/Makefile ] || exit 0; \
13734 r=`${PWD_COMMAND}`; export r; \
13735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13736 $(HOST_EXPORTS) \
13737 for flag in $(EXTRA_HOST_FLAGS) ; do \
13738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13739 done; \
13740 echo "Doing distclean in hello" ; \
13741 (cd $(HOST_SUBDIR)/hello && \
13742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13744 "RANLIB=$${RANLIB}" \
13745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13746 distclean) \
13747 || exit 1
13749 @endif hello
13751 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13752 maybe-maintainer-clean-hello:
13753 @if hello
13754 maybe-maintainer-clean-hello: maintainer-clean-hello
13756 maintainer-clean-hello:
13757 @$(unstage)
13758 @[ -f ./hello/Makefile ] || exit 0; \
13759 r=`${PWD_COMMAND}`; export r; \
13760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13761 $(HOST_EXPORTS) \
13762 for flag in $(EXTRA_HOST_FLAGS) ; do \
13763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13764 done; \
13765 echo "Doing maintainer-clean in hello" ; \
13766 (cd $(HOST_SUBDIR)/hello && \
13767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13769 "RANLIB=$${RANLIB}" \
13770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13771 maintainer-clean) \
13772 || exit 1
13774 @endif hello
13778 .PHONY: configure-indent maybe-configure-indent
13779 maybe-configure-indent:
13780 @if indent
13781 maybe-configure-indent: configure-indent
13782 configure-indent:
13783 @$(unstage)
13784 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13786 r=`${PWD_COMMAND}`; export r; \
13787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13788 $(HOST_EXPORTS) \
13789 echo Configuring in $(HOST_SUBDIR)/indent; \
13790 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13791 case $(srcdir) in \
13792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13793 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13795 esac; \
13796 srcdiroption="--srcdir=$${topdir}/indent"; \
13797 libsrcdir="$$s/indent"; \
13798 $(SHELL) $${libsrcdir}/configure \
13799 $(HOST_CONFIGARGS) $${srcdiroption} \
13800 || exit 1
13801 @endif indent
13807 .PHONY: all-indent maybe-all-indent
13808 maybe-all-indent:
13809 @if indent
13810 TARGET-indent=all
13811 maybe-all-indent: all-indent
13812 all-indent: configure-indent
13813 @$(unstage)
13814 @r=`${PWD_COMMAND}`; export r; \
13815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13816 $(HOST_EXPORTS) \
13817 (cd $(HOST_SUBDIR)/indent && \
13818 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13819 @endif indent
13824 .PHONY: check-indent maybe-check-indent
13825 maybe-check-indent:
13826 @if indent
13827 maybe-check-indent: check-indent
13829 check-indent:
13830 @$(unstage)
13831 @r=`${PWD_COMMAND}`; export r; \
13832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13833 $(HOST_EXPORTS) \
13834 (cd $(HOST_SUBDIR)/indent && \
13835 $(MAKE) $(FLAGS_TO_PASS) check)
13837 @endif indent
13839 .PHONY: install-indent maybe-install-indent
13840 maybe-install-indent:
13841 @if indent
13842 maybe-install-indent: install-indent
13844 install-indent: installdirs
13845 @$(unstage)
13846 @r=`${PWD_COMMAND}`; export r; \
13847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13848 $(HOST_EXPORTS) \
13849 (cd $(HOST_SUBDIR)/indent && \
13850 $(MAKE) $(FLAGS_TO_PASS) install)
13852 @endif indent
13854 # Other targets (info, dvi, etc.)
13856 .PHONY: maybe-info-indent info-indent
13857 maybe-info-indent:
13858 @if indent
13859 maybe-info-indent: info-indent
13861 info-indent: \
13862 configure-indent
13863 @$(unstage)
13864 @[ -f ./indent/Makefile ] || exit 0; \
13865 r=`${PWD_COMMAND}`; export r; \
13866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13867 $(HOST_EXPORTS) \
13868 for flag in $(EXTRA_HOST_FLAGS) ; do \
13869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13870 done; \
13871 echo "Doing info in indent" ; \
13872 (cd $(HOST_SUBDIR)/indent && \
13873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13875 "RANLIB=$${RANLIB}" \
13876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13877 info) \
13878 || exit 1
13880 @endif indent
13882 .PHONY: maybe-dvi-indent dvi-indent
13883 maybe-dvi-indent:
13884 @if indent
13885 maybe-dvi-indent: dvi-indent
13887 dvi-indent: \
13888 configure-indent
13889 @$(unstage)
13890 @[ -f ./indent/Makefile ] || exit 0; \
13891 r=`${PWD_COMMAND}`; export r; \
13892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13893 $(HOST_EXPORTS) \
13894 for flag in $(EXTRA_HOST_FLAGS) ; do \
13895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13896 done; \
13897 echo "Doing dvi in indent" ; \
13898 (cd $(HOST_SUBDIR)/indent && \
13899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13901 "RANLIB=$${RANLIB}" \
13902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13903 dvi) \
13904 || exit 1
13906 @endif indent
13908 .PHONY: maybe-html-indent html-indent
13909 maybe-html-indent:
13910 @if indent
13911 maybe-html-indent: html-indent
13913 html-indent: \
13914 configure-indent
13915 @$(unstage)
13916 @[ -f ./indent/Makefile ] || exit 0; \
13917 r=`${PWD_COMMAND}`; export r; \
13918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13919 $(HOST_EXPORTS) \
13920 for flag in $(EXTRA_HOST_FLAGS) ; do \
13921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13922 done; \
13923 echo "Doing html in indent" ; \
13924 (cd $(HOST_SUBDIR)/indent && \
13925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13927 "RANLIB=$${RANLIB}" \
13928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13929 html) \
13930 || exit 1
13932 @endif indent
13934 .PHONY: maybe-TAGS-indent TAGS-indent
13935 maybe-TAGS-indent:
13936 @if indent
13937 maybe-TAGS-indent: TAGS-indent
13939 TAGS-indent: \
13940 configure-indent
13941 @$(unstage)
13942 @[ -f ./indent/Makefile ] || exit 0; \
13943 r=`${PWD_COMMAND}`; export r; \
13944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13945 $(HOST_EXPORTS) \
13946 for flag in $(EXTRA_HOST_FLAGS) ; do \
13947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13948 done; \
13949 echo "Doing TAGS in indent" ; \
13950 (cd $(HOST_SUBDIR)/indent && \
13951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13953 "RANLIB=$${RANLIB}" \
13954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13955 TAGS) \
13956 || exit 1
13958 @endif indent
13960 .PHONY: maybe-install-info-indent install-info-indent
13961 maybe-install-info-indent:
13962 @if indent
13963 maybe-install-info-indent: install-info-indent
13965 install-info-indent: \
13966 configure-indent \
13967 info-indent
13968 @$(unstage)
13969 @[ -f ./indent/Makefile ] || exit 0; \
13970 r=`${PWD_COMMAND}`; export r; \
13971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13972 $(HOST_EXPORTS) \
13973 for flag in $(EXTRA_HOST_FLAGS) ; do \
13974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13975 done; \
13976 echo "Doing install-info in indent" ; \
13977 (cd $(HOST_SUBDIR)/indent && \
13978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13980 "RANLIB=$${RANLIB}" \
13981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13982 install-info) \
13983 || exit 1
13985 @endif indent
13987 .PHONY: maybe-installcheck-indent installcheck-indent
13988 maybe-installcheck-indent:
13989 @if indent
13990 maybe-installcheck-indent: installcheck-indent
13992 installcheck-indent: \
13993 configure-indent
13994 @$(unstage)
13995 @[ -f ./indent/Makefile ] || exit 0; \
13996 r=`${PWD_COMMAND}`; export r; \
13997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13998 $(HOST_EXPORTS) \
13999 for flag in $(EXTRA_HOST_FLAGS) ; do \
14000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14001 done; \
14002 echo "Doing installcheck in indent" ; \
14003 (cd $(HOST_SUBDIR)/indent && \
14004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14006 "RANLIB=$${RANLIB}" \
14007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14008 installcheck) \
14009 || exit 1
14011 @endif indent
14013 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14014 maybe-mostlyclean-indent:
14015 @if indent
14016 maybe-mostlyclean-indent: mostlyclean-indent
14018 mostlyclean-indent:
14019 @$(unstage)
14020 @[ -f ./indent/Makefile ] || exit 0; \
14021 r=`${PWD_COMMAND}`; export r; \
14022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14023 $(HOST_EXPORTS) \
14024 for flag in $(EXTRA_HOST_FLAGS) ; do \
14025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14026 done; \
14027 echo "Doing mostlyclean in indent" ; \
14028 (cd $(HOST_SUBDIR)/indent && \
14029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14031 "RANLIB=$${RANLIB}" \
14032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14033 mostlyclean) \
14034 || exit 1
14036 @endif indent
14038 .PHONY: maybe-clean-indent clean-indent
14039 maybe-clean-indent:
14040 @if indent
14041 maybe-clean-indent: clean-indent
14043 clean-indent:
14044 @$(unstage)
14045 @[ -f ./indent/Makefile ] || exit 0; \
14046 r=`${PWD_COMMAND}`; export r; \
14047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14048 $(HOST_EXPORTS) \
14049 for flag in $(EXTRA_HOST_FLAGS) ; do \
14050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14051 done; \
14052 echo "Doing clean in indent" ; \
14053 (cd $(HOST_SUBDIR)/indent && \
14054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14056 "RANLIB=$${RANLIB}" \
14057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14058 clean) \
14059 || exit 1
14061 @endif indent
14063 .PHONY: maybe-distclean-indent distclean-indent
14064 maybe-distclean-indent:
14065 @if indent
14066 maybe-distclean-indent: distclean-indent
14068 distclean-indent:
14069 @$(unstage)
14070 @[ -f ./indent/Makefile ] || exit 0; \
14071 r=`${PWD_COMMAND}`; export r; \
14072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14073 $(HOST_EXPORTS) \
14074 for flag in $(EXTRA_HOST_FLAGS) ; do \
14075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14076 done; \
14077 echo "Doing distclean in indent" ; \
14078 (cd $(HOST_SUBDIR)/indent && \
14079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14081 "RANLIB=$${RANLIB}" \
14082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14083 distclean) \
14084 || exit 1
14086 @endif indent
14088 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14089 maybe-maintainer-clean-indent:
14090 @if indent
14091 maybe-maintainer-clean-indent: maintainer-clean-indent
14093 maintainer-clean-indent:
14094 @$(unstage)
14095 @[ -f ./indent/Makefile ] || exit 0; \
14096 r=`${PWD_COMMAND}`; export r; \
14097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14098 $(HOST_EXPORTS) \
14099 for flag in $(EXTRA_HOST_FLAGS) ; do \
14100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14101 done; \
14102 echo "Doing maintainer-clean in indent" ; \
14103 (cd $(HOST_SUBDIR)/indent && \
14104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14106 "RANLIB=$${RANLIB}" \
14107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14108 maintainer-clean) \
14109 || exit 1
14111 @endif indent
14115 .PHONY: configure-intl maybe-configure-intl
14116 maybe-configure-intl:
14117 @if intl
14118 maybe-configure-intl: configure-intl
14119 configure-intl:
14120 @test -f stage_last && exit 0; \
14121 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14123 r=`${PWD_COMMAND}`; export r; \
14124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14125 $(HOST_EXPORTS) \
14126 echo Configuring in $(HOST_SUBDIR)/intl; \
14127 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14128 case $(srcdir) in \
14129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14130 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14132 esac; \
14133 srcdiroption="--srcdir=$${topdir}/intl"; \
14134 libsrcdir="$$s/intl"; \
14135 $(SHELL) $${libsrcdir}/configure \
14136 $(HOST_CONFIGARGS) $${srcdiroption} \
14137 || exit 1
14138 @endif intl
14142 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14143 maybe-configure-stage1-intl:
14144 @if intl-bootstrap
14145 maybe-configure-stage1-intl: configure-stage1-intl
14146 configure-stage1-intl:
14147 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14148 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14149 r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 $(HOST_EXPORTS) \
14152 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14153 cd $(HOST_SUBDIR)/intl || exit 1; \
14154 case $(srcdir) in \
14155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14156 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14158 esac; \
14159 srcdiroption="--srcdir=$${topdir}/intl"; \
14160 libsrcdir="$$s/intl"; \
14161 $(SHELL) $${libsrcdir}/configure \
14162 $(HOST_CONFIGARGS) $${srcdiroption} \
14163 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14164 @endif intl-bootstrap
14166 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14167 maybe-configure-stage2-intl:
14168 @if intl-bootstrap
14169 maybe-configure-stage2-intl: configure-stage2-intl
14170 configure-stage2-intl:
14171 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14172 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14173 r=`${PWD_COMMAND}`; export r; \
14174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14175 $(HOST_EXPORTS) \
14176 $(POSTSTAGE1_HOST_EXPORTS) \
14177 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14178 cd $(HOST_SUBDIR)/intl || exit 1; \
14179 case $(srcdir) in \
14180 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14181 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14182 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14183 esac; \
14184 srcdiroption="--srcdir=$${topdir}/intl"; \
14185 libsrcdir="$$s/intl"; \
14186 $(SHELL) $${libsrcdir}/configure \
14187 $(HOST_CONFIGARGS) $${srcdiroption} \
14188 @stage2_werror_flag@
14189 @endif intl-bootstrap
14191 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14192 maybe-configure-stage3-intl:
14193 @if intl-bootstrap
14194 maybe-configure-stage3-intl: configure-stage3-intl
14195 configure-stage3-intl:
14196 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14197 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14198 r=`${PWD_COMMAND}`; export r; \
14199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14200 $(HOST_EXPORTS) \
14201 $(POSTSTAGE1_HOST_EXPORTS) \
14202 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14203 cd $(HOST_SUBDIR)/intl || exit 1; \
14204 case $(srcdir) in \
14205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14206 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14208 esac; \
14209 srcdiroption="--srcdir=$${topdir}/intl"; \
14210 libsrcdir="$$s/intl"; \
14211 $(SHELL) $${libsrcdir}/configure \
14212 $(HOST_CONFIGARGS) $${srcdiroption} \
14213 @stage2_werror_flag@
14214 @endif intl-bootstrap
14216 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14217 maybe-configure-stage4-intl:
14218 @if intl-bootstrap
14219 maybe-configure-stage4-intl: configure-stage4-intl
14220 configure-stage4-intl:
14221 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14222 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14223 r=`${PWD_COMMAND}`; export r; \
14224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14225 $(HOST_EXPORTS) \
14226 $(POSTSTAGE1_HOST_EXPORTS) \
14227 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14228 cd $(HOST_SUBDIR)/intl || exit 1; \
14229 case $(srcdir) in \
14230 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14231 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14232 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14233 esac; \
14234 srcdiroption="--srcdir=$${topdir}/intl"; \
14235 libsrcdir="$$s/intl"; \
14236 $(SHELL) $${libsrcdir}/configure \
14237 $(HOST_CONFIGARGS) $${srcdiroption} \
14238 @stage2_werror_flag@
14239 @endif intl-bootstrap
14241 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14242 maybe-configure-stageprofile-intl:
14243 @if intl-bootstrap
14244 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14245 configure-stageprofile-intl:
14246 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14247 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14248 r=`${PWD_COMMAND}`; export r; \
14249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14250 $(HOST_EXPORTS) \
14251 $(POSTSTAGE1_HOST_EXPORTS) \
14252 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14253 cd $(HOST_SUBDIR)/intl || exit 1; \
14254 case $(srcdir) in \
14255 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14256 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14257 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14258 esac; \
14259 srcdiroption="--srcdir=$${topdir}/intl"; \
14260 libsrcdir="$$s/intl"; \
14261 $(SHELL) $${libsrcdir}/configure \
14262 $(HOST_CONFIGARGS) $${srcdiroption} \
14263 @stage2_werror_flag@
14264 @endif intl-bootstrap
14266 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14267 maybe-configure-stagefeedback-intl:
14268 @if intl-bootstrap
14269 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14270 configure-stagefeedback-intl:
14271 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14272 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14273 r=`${PWD_COMMAND}`; export r; \
14274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14275 $(HOST_EXPORTS) \
14276 $(POSTSTAGE1_HOST_EXPORTS) \
14277 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14278 cd $(HOST_SUBDIR)/intl || exit 1; \
14279 case $(srcdir) in \
14280 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14281 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14282 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14283 esac; \
14284 srcdiroption="--srcdir=$${topdir}/intl"; \
14285 libsrcdir="$$s/intl"; \
14286 $(SHELL) $${libsrcdir}/configure \
14287 $(HOST_CONFIGARGS) $${srcdiroption} \
14288 @stage2_werror_flag@
14289 @endif intl-bootstrap
14295 .PHONY: all-intl maybe-all-intl
14296 maybe-all-intl:
14297 @if intl
14298 TARGET-intl=all
14299 maybe-all-intl: all-intl
14300 all-intl: configure-intl
14301 @test -f stage_last && exit 0; \
14302 r=`${PWD_COMMAND}`; export r; \
14303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14304 $(HOST_EXPORTS) \
14305 (cd $(HOST_SUBDIR)/intl && \
14306 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14307 @endif intl
14311 .PHONY: all-stage1-intl maybe-all-stage1-intl
14312 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14313 maybe-all-stage1-intl:
14314 maybe-clean-stage1-intl:
14315 @if intl-bootstrap
14316 maybe-all-stage1-intl: all-stage1-intl
14317 all-stage1: all-stage1-intl
14318 TARGET-stage1-intl = $(TARGET-intl)
14319 all-stage1-intl: configure-stage1-intl
14320 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14321 @r=`${PWD_COMMAND}`; export r; \
14322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14323 $(HOST_EXPORTS) \
14324 cd $(HOST_SUBDIR)/intl && \
14325 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14326 $(TARGET-stage1-intl)
14328 maybe-clean-stage1-intl: clean-stage1-intl
14329 clean-stage1: clean-stage1-intl
14330 clean-stage1-intl:
14331 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14332 || exit 0 ; \
14333 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14334 cd $(HOST_SUBDIR)/intl && \
14335 $(MAKE) $(FLAGS_TO_PASS) \
14336 CFLAGS="$(STAGE1_CFLAGS)" clean
14337 @endif intl-bootstrap
14340 .PHONY: all-stage2-intl maybe-all-stage2-intl
14341 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14342 maybe-all-stage2-intl:
14343 maybe-clean-stage2-intl:
14344 @if intl-bootstrap
14345 maybe-all-stage2-intl: all-stage2-intl
14346 all-stage2: all-stage2-intl
14347 TARGET-stage2-intl = $(TARGET-intl)
14348 all-stage2-intl: configure-stage2-intl
14349 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14350 @r=`${PWD_COMMAND}`; export r; \
14351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14352 $(HOST_EXPORTS) \
14353 $(POSTSTAGE1_HOST_EXPORTS) \
14354 cd $(HOST_SUBDIR)/intl && \
14355 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14356 $(TARGET-stage2-intl)
14358 maybe-clean-stage2-intl: clean-stage2-intl
14359 clean-stage2: clean-stage2-intl
14360 clean-stage2-intl:
14361 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14362 || exit 0 ; \
14363 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14364 cd $(HOST_SUBDIR)/intl && \
14365 $(MAKE) $(FLAGS_TO_PASS) \
14366 $(POSTSTAGE1_FLAGS_TO_PASS) \
14367 clean
14368 @endif intl-bootstrap
14371 .PHONY: all-stage3-intl maybe-all-stage3-intl
14372 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14373 maybe-all-stage3-intl:
14374 maybe-clean-stage3-intl:
14375 @if intl-bootstrap
14376 maybe-all-stage3-intl: all-stage3-intl
14377 all-stage3: all-stage3-intl
14378 TARGET-stage3-intl = $(TARGET-intl)
14379 all-stage3-intl: configure-stage3-intl
14380 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14381 @r=`${PWD_COMMAND}`; export r; \
14382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14383 $(HOST_EXPORTS) \
14384 $(POSTSTAGE1_HOST_EXPORTS) \
14385 cd $(HOST_SUBDIR)/intl && \
14386 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14387 $(TARGET-stage3-intl)
14389 maybe-clean-stage3-intl: clean-stage3-intl
14390 clean-stage3: clean-stage3-intl
14391 clean-stage3-intl:
14392 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14393 || exit 0 ; \
14394 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14395 cd $(HOST_SUBDIR)/intl && \
14396 $(MAKE) $(FLAGS_TO_PASS) \
14397 $(POSTSTAGE1_FLAGS_TO_PASS) \
14398 clean
14399 @endif intl-bootstrap
14402 .PHONY: all-stage4-intl maybe-all-stage4-intl
14403 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14404 maybe-all-stage4-intl:
14405 maybe-clean-stage4-intl:
14406 @if intl-bootstrap
14407 maybe-all-stage4-intl: all-stage4-intl
14408 all-stage4: all-stage4-intl
14409 TARGET-stage4-intl = $(TARGET-intl)
14410 all-stage4-intl: configure-stage4-intl
14411 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14412 @r=`${PWD_COMMAND}`; export r; \
14413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14414 $(HOST_EXPORTS) \
14415 $(POSTSTAGE1_HOST_EXPORTS) \
14416 cd $(HOST_SUBDIR)/intl && \
14417 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14418 $(TARGET-stage4-intl)
14420 maybe-clean-stage4-intl: clean-stage4-intl
14421 clean-stage4: clean-stage4-intl
14422 clean-stage4-intl:
14423 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14424 || exit 0 ; \
14425 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14426 cd $(HOST_SUBDIR)/intl && \
14427 $(MAKE) $(FLAGS_TO_PASS) \
14428 $(POSTSTAGE1_FLAGS_TO_PASS) \
14429 clean
14430 @endif intl-bootstrap
14433 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14434 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14435 maybe-all-stageprofile-intl:
14436 maybe-clean-stageprofile-intl:
14437 @if intl-bootstrap
14438 maybe-all-stageprofile-intl: all-stageprofile-intl
14439 all-stageprofile: all-stageprofile-intl
14440 TARGET-stageprofile-intl = $(TARGET-intl)
14441 all-stageprofile-intl: configure-stageprofile-intl
14442 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14443 @r=`${PWD_COMMAND}`; export r; \
14444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14445 $(HOST_EXPORTS) \
14446 $(POSTSTAGE1_HOST_EXPORTS) \
14447 cd $(HOST_SUBDIR)/intl && \
14448 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14449 $(TARGET-stageprofile-intl)
14451 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14452 clean-stageprofile: clean-stageprofile-intl
14453 clean-stageprofile-intl:
14454 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14455 || exit 0 ; \
14456 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14457 cd $(HOST_SUBDIR)/intl && \
14458 $(MAKE) $(FLAGS_TO_PASS) \
14459 $(POSTSTAGE1_FLAGS_TO_PASS) \
14460 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14461 @endif intl-bootstrap
14464 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14465 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14466 maybe-all-stagefeedback-intl:
14467 maybe-clean-stagefeedback-intl:
14468 @if intl-bootstrap
14469 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14470 all-stagefeedback: all-stagefeedback-intl
14471 TARGET-stagefeedback-intl = $(TARGET-intl)
14472 all-stagefeedback-intl: configure-stagefeedback-intl
14473 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14474 @r=`${PWD_COMMAND}`; export r; \
14475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14476 $(HOST_EXPORTS) \
14477 $(POSTSTAGE1_HOST_EXPORTS) \
14478 cd $(HOST_SUBDIR)/intl && \
14479 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14480 $(TARGET-stagefeedback-intl)
14482 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14483 clean-stagefeedback: clean-stagefeedback-intl
14484 clean-stagefeedback-intl:
14485 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14486 || exit 0 ; \
14487 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14488 cd $(HOST_SUBDIR)/intl && \
14489 $(MAKE) $(FLAGS_TO_PASS) \
14490 $(POSTSTAGE1_FLAGS_TO_PASS) \
14491 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14492 @endif intl-bootstrap
14498 .PHONY: check-intl maybe-check-intl
14499 maybe-check-intl:
14500 @if intl
14501 maybe-check-intl: check-intl
14503 check-intl:
14504 @$(unstage)
14505 @r=`${PWD_COMMAND}`; export r; \
14506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14507 $(HOST_EXPORTS) \
14508 (cd $(HOST_SUBDIR)/intl && \
14509 $(MAKE) $(FLAGS_TO_PASS) check)
14511 @endif intl
14513 .PHONY: install-intl maybe-install-intl
14514 maybe-install-intl:
14515 @if intl
14516 maybe-install-intl: install-intl
14518 install-intl: installdirs
14519 @$(unstage)
14520 @r=`${PWD_COMMAND}`; export r; \
14521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14522 $(HOST_EXPORTS) \
14523 (cd $(HOST_SUBDIR)/intl && \
14524 $(MAKE) $(FLAGS_TO_PASS) install)
14526 @endif intl
14528 # Other targets (info, dvi, etc.)
14530 .PHONY: maybe-info-intl info-intl
14531 maybe-info-intl:
14532 @if intl
14533 maybe-info-intl: info-intl
14535 info-intl: \
14536 configure-intl
14537 @[ -f ./intl/Makefile ] || exit 0; \
14538 r=`${PWD_COMMAND}`; export r; \
14539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14540 $(HOST_EXPORTS) \
14541 for flag in $(EXTRA_HOST_FLAGS) ; do \
14542 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14543 done; \
14544 echo "Doing info in intl" ; \
14545 (cd $(HOST_SUBDIR)/intl && \
14546 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14547 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14548 "RANLIB=$${RANLIB}" \
14549 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14550 info) \
14551 || exit 1
14553 @endif intl
14555 .PHONY: maybe-dvi-intl dvi-intl
14556 maybe-dvi-intl:
14557 @if intl
14558 maybe-dvi-intl: dvi-intl
14560 dvi-intl: \
14561 configure-intl
14562 @[ -f ./intl/Makefile ] || exit 0; \
14563 r=`${PWD_COMMAND}`; export r; \
14564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14565 $(HOST_EXPORTS) \
14566 for flag in $(EXTRA_HOST_FLAGS) ; do \
14567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14568 done; \
14569 echo "Doing dvi in intl" ; \
14570 (cd $(HOST_SUBDIR)/intl && \
14571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14573 "RANLIB=$${RANLIB}" \
14574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14575 dvi) \
14576 || exit 1
14578 @endif intl
14580 .PHONY: maybe-html-intl html-intl
14581 maybe-html-intl:
14582 @if intl
14583 maybe-html-intl: html-intl
14585 html-intl: \
14586 configure-intl
14587 @[ -f ./intl/Makefile ] || exit 0; \
14588 r=`${PWD_COMMAND}`; export r; \
14589 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14590 $(HOST_EXPORTS) \
14591 for flag in $(EXTRA_HOST_FLAGS) ; do \
14592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14593 done; \
14594 echo "Doing html in intl" ; \
14595 (cd $(HOST_SUBDIR)/intl && \
14596 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14597 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14598 "RANLIB=$${RANLIB}" \
14599 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14600 html) \
14601 || exit 1
14603 @endif intl
14605 .PHONY: maybe-TAGS-intl TAGS-intl
14606 maybe-TAGS-intl:
14607 @if intl
14608 maybe-TAGS-intl: TAGS-intl
14610 TAGS-intl: \
14611 configure-intl
14612 @[ -f ./intl/Makefile ] || exit 0; \
14613 r=`${PWD_COMMAND}`; export r; \
14614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14615 $(HOST_EXPORTS) \
14616 for flag in $(EXTRA_HOST_FLAGS) ; do \
14617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14618 done; \
14619 echo "Doing TAGS in intl" ; \
14620 (cd $(HOST_SUBDIR)/intl && \
14621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14623 "RANLIB=$${RANLIB}" \
14624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14625 TAGS) \
14626 || exit 1
14628 @endif intl
14630 .PHONY: maybe-install-info-intl install-info-intl
14631 maybe-install-info-intl:
14632 @if intl
14633 maybe-install-info-intl: install-info-intl
14635 install-info-intl: \
14636 configure-intl \
14637 info-intl
14638 @[ -f ./intl/Makefile ] || exit 0; \
14639 r=`${PWD_COMMAND}`; export r; \
14640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14641 $(HOST_EXPORTS) \
14642 for flag in $(EXTRA_HOST_FLAGS) ; do \
14643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14644 done; \
14645 echo "Doing install-info in intl" ; \
14646 (cd $(HOST_SUBDIR)/intl && \
14647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14649 "RANLIB=$${RANLIB}" \
14650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14651 install-info) \
14652 || exit 1
14654 @endif intl
14656 .PHONY: maybe-installcheck-intl installcheck-intl
14657 maybe-installcheck-intl:
14658 @if intl
14659 maybe-installcheck-intl: installcheck-intl
14661 installcheck-intl: \
14662 configure-intl
14663 @[ -f ./intl/Makefile ] || exit 0; \
14664 r=`${PWD_COMMAND}`; export r; \
14665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 $(HOST_EXPORTS) \
14667 for flag in $(EXTRA_HOST_FLAGS) ; do \
14668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14669 done; \
14670 echo "Doing installcheck in intl" ; \
14671 (cd $(HOST_SUBDIR)/intl && \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14674 "RANLIB=$${RANLIB}" \
14675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14676 installcheck) \
14677 || exit 1
14679 @endif intl
14681 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14682 maybe-mostlyclean-intl:
14683 @if intl
14684 maybe-mostlyclean-intl: mostlyclean-intl
14686 mostlyclean-intl:
14687 @[ -f ./intl/Makefile ] || exit 0; \
14688 r=`${PWD_COMMAND}`; export r; \
14689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 $(HOST_EXPORTS) \
14691 for flag in $(EXTRA_HOST_FLAGS) ; do \
14692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14693 done; \
14694 echo "Doing mostlyclean in intl" ; \
14695 (cd $(HOST_SUBDIR)/intl && \
14696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14698 "RANLIB=$${RANLIB}" \
14699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14700 mostlyclean) \
14701 || exit 1
14703 @endif intl
14705 .PHONY: maybe-clean-intl clean-intl
14706 maybe-clean-intl:
14707 @if intl
14708 maybe-clean-intl: clean-intl
14710 clean-intl:
14711 @[ -f ./intl/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) ; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing clean in intl" ; \
14719 (cd $(HOST_SUBDIR)/intl && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14724 clean) \
14725 || exit 1
14727 @endif intl
14729 .PHONY: maybe-distclean-intl distclean-intl
14730 maybe-distclean-intl:
14731 @if intl
14732 maybe-distclean-intl: distclean-intl
14734 distclean-intl:
14735 @[ -f ./intl/Makefile ] || exit 0; \
14736 r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) ; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing distclean in intl" ; \
14743 (cd $(HOST_SUBDIR)/intl && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14748 distclean) \
14749 || exit 1
14751 @endif intl
14753 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14754 maybe-maintainer-clean-intl:
14755 @if intl
14756 maybe-maintainer-clean-intl: maintainer-clean-intl
14758 maintainer-clean-intl:
14759 @[ -f ./intl/Makefile ] || exit 0; \
14760 r=`${PWD_COMMAND}`; export r; \
14761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14762 $(HOST_EXPORTS) \
14763 for flag in $(EXTRA_HOST_FLAGS) ; do \
14764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14765 done; \
14766 echo "Doing maintainer-clean in intl" ; \
14767 (cd $(HOST_SUBDIR)/intl && \
14768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14770 "RANLIB=$${RANLIB}" \
14771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14772 maintainer-clean) \
14773 || exit 1
14775 @endif intl
14779 .PHONY: configure-tcl maybe-configure-tcl
14780 maybe-configure-tcl:
14781 @if tcl
14782 maybe-configure-tcl: configure-tcl
14783 configure-tcl:
14784 @$(unstage)
14785 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14787 r=`${PWD_COMMAND}`; export r; \
14788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14789 $(HOST_EXPORTS) \
14790 echo Configuring in $(HOST_SUBDIR)/tcl; \
14791 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14792 case $(srcdir) in \
14793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14794 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14796 esac; \
14797 srcdiroption="--srcdir=$${topdir}/tcl"; \
14798 libsrcdir="$$s/tcl"; \
14799 $(SHELL) $${libsrcdir}/configure \
14800 $(HOST_CONFIGARGS) $${srcdiroption} \
14801 || exit 1
14802 @endif tcl
14808 .PHONY: all-tcl maybe-all-tcl
14809 maybe-all-tcl:
14810 @if tcl
14811 TARGET-tcl=all
14812 maybe-all-tcl: all-tcl
14813 all-tcl: configure-tcl
14814 @$(unstage)
14815 @r=`${PWD_COMMAND}`; export r; \
14816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14817 $(HOST_EXPORTS) \
14818 (cd $(HOST_SUBDIR)/tcl && \
14819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14820 @endif tcl
14825 .PHONY: check-tcl maybe-check-tcl
14826 maybe-check-tcl:
14827 @if tcl
14828 maybe-check-tcl: check-tcl
14830 check-tcl:
14831 @$(unstage)
14832 @r=`${PWD_COMMAND}`; export r; \
14833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14834 $(HOST_EXPORTS) \
14835 (cd $(HOST_SUBDIR)/tcl && \
14836 $(MAKE) $(FLAGS_TO_PASS) check)
14838 @endif tcl
14840 .PHONY: install-tcl maybe-install-tcl
14841 maybe-install-tcl:
14842 @if tcl
14843 maybe-install-tcl: install-tcl
14845 install-tcl: installdirs
14846 @$(unstage)
14847 @r=`${PWD_COMMAND}`; export r; \
14848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14849 $(HOST_EXPORTS) \
14850 (cd $(HOST_SUBDIR)/tcl && \
14851 $(MAKE) $(FLAGS_TO_PASS) install)
14853 @endif tcl
14855 # Other targets (info, dvi, etc.)
14857 .PHONY: maybe-info-tcl info-tcl
14858 maybe-info-tcl:
14859 @if tcl
14860 maybe-info-tcl: info-tcl
14862 info-tcl: \
14863 configure-tcl
14864 @$(unstage)
14865 @[ -f ./tcl/Makefile ] || exit 0; \
14866 r=`${PWD_COMMAND}`; export r; \
14867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14868 $(HOST_EXPORTS) \
14869 for flag in $(EXTRA_HOST_FLAGS) ; do \
14870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14871 done; \
14872 echo "Doing info in tcl" ; \
14873 (cd $(HOST_SUBDIR)/tcl && \
14874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14876 "RANLIB=$${RANLIB}" \
14877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14878 info) \
14879 || exit 1
14881 @endif tcl
14883 .PHONY: maybe-dvi-tcl dvi-tcl
14884 maybe-dvi-tcl:
14885 @if tcl
14886 maybe-dvi-tcl: dvi-tcl
14888 dvi-tcl: \
14889 configure-tcl
14890 @$(unstage)
14891 @[ -f ./tcl/Makefile ] || exit 0; \
14892 r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894 $(HOST_EXPORTS) \
14895 for flag in $(EXTRA_HOST_FLAGS) ; do \
14896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14897 done; \
14898 echo "Doing dvi in tcl" ; \
14899 (cd $(HOST_SUBDIR)/tcl && \
14900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14902 "RANLIB=$${RANLIB}" \
14903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14904 dvi) \
14905 || exit 1
14907 @endif tcl
14909 .PHONY: maybe-html-tcl html-tcl
14910 maybe-html-tcl:
14911 @if tcl
14912 maybe-html-tcl: html-tcl
14914 html-tcl: \
14915 configure-tcl
14916 @$(unstage)
14917 @[ -f ./tcl/Makefile ] || exit 0; \
14918 r=`${PWD_COMMAND}`; export r; \
14919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14920 $(HOST_EXPORTS) \
14921 for flag in $(EXTRA_HOST_FLAGS) ; do \
14922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14923 done; \
14924 echo "Doing html in tcl" ; \
14925 (cd $(HOST_SUBDIR)/tcl && \
14926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14928 "RANLIB=$${RANLIB}" \
14929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14930 html) \
14931 || exit 1
14933 @endif tcl
14935 .PHONY: maybe-TAGS-tcl TAGS-tcl
14936 maybe-TAGS-tcl:
14937 @if tcl
14938 maybe-TAGS-tcl: TAGS-tcl
14940 TAGS-tcl: \
14941 configure-tcl
14942 @$(unstage)
14943 @[ -f ./tcl/Makefile ] || exit 0; \
14944 r=`${PWD_COMMAND}`; export r; \
14945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14946 $(HOST_EXPORTS) \
14947 for flag in $(EXTRA_HOST_FLAGS) ; do \
14948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14949 done; \
14950 echo "Doing TAGS in tcl" ; \
14951 (cd $(HOST_SUBDIR)/tcl && \
14952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14954 "RANLIB=$${RANLIB}" \
14955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14956 TAGS) \
14957 || exit 1
14959 @endif tcl
14961 .PHONY: maybe-install-info-tcl install-info-tcl
14962 maybe-install-info-tcl:
14963 @if tcl
14964 maybe-install-info-tcl: install-info-tcl
14966 install-info-tcl: \
14967 configure-tcl \
14968 info-tcl
14969 @$(unstage)
14970 @[ -f ./tcl/Makefile ] || exit 0; \
14971 r=`${PWD_COMMAND}`; export r; \
14972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14973 $(HOST_EXPORTS) \
14974 for flag in $(EXTRA_HOST_FLAGS) ; do \
14975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14976 done; \
14977 echo "Doing install-info in tcl" ; \
14978 (cd $(HOST_SUBDIR)/tcl && \
14979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14981 "RANLIB=$${RANLIB}" \
14982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14983 install-info) \
14984 || exit 1
14986 @endif tcl
14988 .PHONY: maybe-installcheck-tcl installcheck-tcl
14989 maybe-installcheck-tcl:
14990 @if tcl
14991 maybe-installcheck-tcl: installcheck-tcl
14993 installcheck-tcl: \
14994 configure-tcl
14995 @$(unstage)
14996 @[ -f ./tcl/Makefile ] || exit 0; \
14997 r=`${PWD_COMMAND}`; export r; \
14998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14999 $(HOST_EXPORTS) \
15000 for flag in $(EXTRA_HOST_FLAGS) ; do \
15001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15002 done; \
15003 echo "Doing installcheck in tcl" ; \
15004 (cd $(HOST_SUBDIR)/tcl && \
15005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15007 "RANLIB=$${RANLIB}" \
15008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15009 installcheck) \
15010 || exit 1
15012 @endif tcl
15014 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
15015 maybe-mostlyclean-tcl:
15016 @if tcl
15017 maybe-mostlyclean-tcl: mostlyclean-tcl
15019 # tcl doesn't support mostlyclean.
15020 mostlyclean-tcl:
15022 @endif tcl
15024 .PHONY: maybe-clean-tcl clean-tcl
15025 maybe-clean-tcl:
15026 @if tcl
15027 maybe-clean-tcl: clean-tcl
15029 clean-tcl:
15030 @$(unstage)
15031 @[ -f ./tcl/Makefile ] || exit 0; \
15032 r=`${PWD_COMMAND}`; export r; \
15033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15034 $(HOST_EXPORTS) \
15035 for flag in $(EXTRA_HOST_FLAGS) ; do \
15036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15037 done; \
15038 echo "Doing clean in tcl" ; \
15039 (cd $(HOST_SUBDIR)/tcl && \
15040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15042 "RANLIB=$${RANLIB}" \
15043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15044 clean) \
15045 || exit 1
15047 @endif tcl
15049 .PHONY: maybe-distclean-tcl distclean-tcl
15050 maybe-distclean-tcl:
15051 @if tcl
15052 maybe-distclean-tcl: distclean-tcl
15054 distclean-tcl:
15055 @$(unstage)
15056 @[ -f ./tcl/Makefile ] || exit 0; \
15057 r=`${PWD_COMMAND}`; export r; \
15058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15059 $(HOST_EXPORTS) \
15060 for flag in $(EXTRA_HOST_FLAGS) ; do \
15061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15062 done; \
15063 echo "Doing distclean in tcl" ; \
15064 (cd $(HOST_SUBDIR)/tcl && \
15065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15067 "RANLIB=$${RANLIB}" \
15068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15069 distclean) \
15070 || exit 1
15072 @endif tcl
15074 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15075 maybe-maintainer-clean-tcl:
15076 @if tcl
15077 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15079 maintainer-clean-tcl:
15080 @$(unstage)
15081 @[ -f ./tcl/Makefile ] || exit 0; \
15082 r=`${PWD_COMMAND}`; export r; \
15083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15084 $(HOST_EXPORTS) \
15085 for flag in $(EXTRA_HOST_FLAGS) ; do \
15086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15087 done; \
15088 echo "Doing maintainer-clean in tcl" ; \
15089 (cd $(HOST_SUBDIR)/tcl && \
15090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15092 "RANLIB=$${RANLIB}" \
15093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15094 maintainer-clean) \
15095 || exit 1
15097 @endif tcl
15101 .PHONY: configure-itcl maybe-configure-itcl
15102 maybe-configure-itcl:
15103 @if itcl
15104 maybe-configure-itcl: configure-itcl
15105 configure-itcl:
15106 @$(unstage)
15107 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15108 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15109 r=`${PWD_COMMAND}`; export r; \
15110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15111 $(HOST_EXPORTS) \
15112 echo Configuring in $(HOST_SUBDIR)/itcl; \
15113 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15114 case $(srcdir) in \
15115 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15116 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15117 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15118 esac; \
15119 srcdiroption="--srcdir=$${topdir}/itcl"; \
15120 libsrcdir="$$s/itcl"; \
15121 $(SHELL) $${libsrcdir}/configure \
15122 $(HOST_CONFIGARGS) $${srcdiroption} \
15123 || exit 1
15124 @endif itcl
15130 .PHONY: all-itcl maybe-all-itcl
15131 maybe-all-itcl:
15132 @if itcl
15133 TARGET-itcl=all
15134 maybe-all-itcl: all-itcl
15135 all-itcl: configure-itcl
15136 @$(unstage)
15137 @r=`${PWD_COMMAND}`; export r; \
15138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15139 $(HOST_EXPORTS) \
15140 (cd $(HOST_SUBDIR)/itcl && \
15141 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15142 @endif itcl
15147 .PHONY: check-itcl maybe-check-itcl
15148 maybe-check-itcl:
15149 @if itcl
15150 maybe-check-itcl: check-itcl
15152 check-itcl:
15153 @$(unstage)
15154 @r=`${PWD_COMMAND}`; export r; \
15155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15156 $(HOST_EXPORTS) \
15157 (cd $(HOST_SUBDIR)/itcl && \
15158 $(MAKE) $(FLAGS_TO_PASS) check)
15160 @endif itcl
15162 .PHONY: install-itcl maybe-install-itcl
15163 maybe-install-itcl:
15164 @if itcl
15165 maybe-install-itcl: install-itcl
15167 install-itcl: installdirs
15168 @$(unstage)
15169 @r=`${PWD_COMMAND}`; export r; \
15170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15171 $(HOST_EXPORTS) \
15172 (cd $(HOST_SUBDIR)/itcl && \
15173 $(MAKE) $(FLAGS_TO_PASS) install)
15175 @endif itcl
15177 # Other targets (info, dvi, etc.)
15179 .PHONY: maybe-info-itcl info-itcl
15180 maybe-info-itcl:
15181 @if itcl
15182 maybe-info-itcl: info-itcl
15184 info-itcl: \
15185 configure-itcl
15186 @$(unstage)
15187 @[ -f ./itcl/Makefile ] || exit 0; \
15188 r=`${PWD_COMMAND}`; export r; \
15189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15190 $(HOST_EXPORTS) \
15191 for flag in $(EXTRA_HOST_FLAGS) ; do \
15192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15193 done; \
15194 echo "Doing info in itcl" ; \
15195 (cd $(HOST_SUBDIR)/itcl && \
15196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15198 "RANLIB=$${RANLIB}" \
15199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15200 info) \
15201 || exit 1
15203 @endif itcl
15205 .PHONY: maybe-dvi-itcl dvi-itcl
15206 maybe-dvi-itcl:
15207 @if itcl
15208 maybe-dvi-itcl: dvi-itcl
15210 dvi-itcl: \
15211 configure-itcl
15212 @$(unstage)
15213 @[ -f ./itcl/Makefile ] || exit 0; \
15214 r=`${PWD_COMMAND}`; export r; \
15215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15216 $(HOST_EXPORTS) \
15217 for flag in $(EXTRA_HOST_FLAGS) ; do \
15218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15219 done; \
15220 echo "Doing dvi in itcl" ; \
15221 (cd $(HOST_SUBDIR)/itcl && \
15222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15224 "RANLIB=$${RANLIB}" \
15225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15226 dvi) \
15227 || exit 1
15229 @endif itcl
15231 .PHONY: maybe-html-itcl html-itcl
15232 maybe-html-itcl:
15233 @if itcl
15234 maybe-html-itcl: html-itcl
15236 html-itcl: \
15237 configure-itcl
15238 @$(unstage)
15239 @[ -f ./itcl/Makefile ] || exit 0; \
15240 r=`${PWD_COMMAND}`; export r; \
15241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15242 $(HOST_EXPORTS) \
15243 for flag in $(EXTRA_HOST_FLAGS) ; do \
15244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15245 done; \
15246 echo "Doing html in itcl" ; \
15247 (cd $(HOST_SUBDIR)/itcl && \
15248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15250 "RANLIB=$${RANLIB}" \
15251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15252 html) \
15253 || exit 1
15255 @endif itcl
15257 .PHONY: maybe-TAGS-itcl TAGS-itcl
15258 maybe-TAGS-itcl:
15259 @if itcl
15260 maybe-TAGS-itcl: TAGS-itcl
15262 TAGS-itcl: \
15263 configure-itcl
15264 @$(unstage)
15265 @[ -f ./itcl/Makefile ] || exit 0; \
15266 r=`${PWD_COMMAND}`; export r; \
15267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15268 $(HOST_EXPORTS) \
15269 for flag in $(EXTRA_HOST_FLAGS) ; do \
15270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15271 done; \
15272 echo "Doing TAGS in itcl" ; \
15273 (cd $(HOST_SUBDIR)/itcl && \
15274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15276 "RANLIB=$${RANLIB}" \
15277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15278 TAGS) \
15279 || exit 1
15281 @endif itcl
15283 .PHONY: maybe-install-info-itcl install-info-itcl
15284 maybe-install-info-itcl:
15285 @if itcl
15286 maybe-install-info-itcl: install-info-itcl
15288 install-info-itcl: \
15289 configure-itcl \
15290 info-itcl
15291 @$(unstage)
15292 @[ -f ./itcl/Makefile ] || exit 0; \
15293 r=`${PWD_COMMAND}`; export r; \
15294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15295 $(HOST_EXPORTS) \
15296 for flag in $(EXTRA_HOST_FLAGS) ; do \
15297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15298 done; \
15299 echo "Doing install-info in itcl" ; \
15300 (cd $(HOST_SUBDIR)/itcl && \
15301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15303 "RANLIB=$${RANLIB}" \
15304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15305 install-info) \
15306 || exit 1
15308 @endif itcl
15310 .PHONY: maybe-installcheck-itcl installcheck-itcl
15311 maybe-installcheck-itcl:
15312 @if itcl
15313 maybe-installcheck-itcl: installcheck-itcl
15315 installcheck-itcl: \
15316 configure-itcl
15317 @$(unstage)
15318 @[ -f ./itcl/Makefile ] || exit 0; \
15319 r=`${PWD_COMMAND}`; export r; \
15320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15321 $(HOST_EXPORTS) \
15322 for flag in $(EXTRA_HOST_FLAGS) ; do \
15323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15324 done; \
15325 echo "Doing installcheck in itcl" ; \
15326 (cd $(HOST_SUBDIR)/itcl && \
15327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15329 "RANLIB=$${RANLIB}" \
15330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15331 installcheck) \
15332 || exit 1
15334 @endif itcl
15336 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15337 maybe-mostlyclean-itcl:
15338 @if itcl
15339 maybe-mostlyclean-itcl: mostlyclean-itcl
15341 mostlyclean-itcl:
15342 @$(unstage)
15343 @[ -f ./itcl/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 mostlyclean in itcl" ; \
15351 (cd $(HOST_SUBDIR)/itcl && \
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 mostlyclean) \
15357 || exit 1
15359 @endif itcl
15361 .PHONY: maybe-clean-itcl clean-itcl
15362 maybe-clean-itcl:
15363 @if itcl
15364 maybe-clean-itcl: clean-itcl
15366 clean-itcl:
15367 @$(unstage)
15368 @[ -f ./itcl/Makefile ] || exit 0; \
15369 r=`${PWD_COMMAND}`; export r; \
15370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15371 $(HOST_EXPORTS) \
15372 for flag in $(EXTRA_HOST_FLAGS) ; do \
15373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15374 done; \
15375 echo "Doing clean in itcl" ; \
15376 (cd $(HOST_SUBDIR)/itcl && \
15377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15379 "RANLIB=$${RANLIB}" \
15380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15381 clean) \
15382 || exit 1
15384 @endif itcl
15386 .PHONY: maybe-distclean-itcl distclean-itcl
15387 maybe-distclean-itcl:
15388 @if itcl
15389 maybe-distclean-itcl: distclean-itcl
15391 distclean-itcl:
15392 @$(unstage)
15393 @[ -f ./itcl/Makefile ] || exit 0; \
15394 r=`${PWD_COMMAND}`; export r; \
15395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15396 $(HOST_EXPORTS) \
15397 for flag in $(EXTRA_HOST_FLAGS) ; do \
15398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 done; \
15400 echo "Doing distclean in itcl" ; \
15401 (cd $(HOST_SUBDIR)/itcl && \
15402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15404 "RANLIB=$${RANLIB}" \
15405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15406 distclean) \
15407 || exit 1
15409 @endif itcl
15411 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15412 maybe-maintainer-clean-itcl:
15413 @if itcl
15414 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15416 maintainer-clean-itcl:
15417 @$(unstage)
15418 @[ -f ./itcl/Makefile ] || exit 0; \
15419 r=`${PWD_COMMAND}`; export r; \
15420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15421 $(HOST_EXPORTS) \
15422 for flag in $(EXTRA_HOST_FLAGS) ; do \
15423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15424 done; \
15425 echo "Doing maintainer-clean in itcl" ; \
15426 (cd $(HOST_SUBDIR)/itcl && \
15427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15429 "RANLIB=$${RANLIB}" \
15430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15431 maintainer-clean) \
15432 || exit 1
15434 @endif itcl
15438 .PHONY: configure-ld maybe-configure-ld
15439 maybe-configure-ld:
15440 @if ld
15441 maybe-configure-ld: configure-ld
15442 configure-ld:
15443 @test -f stage_last && exit 0; \
15444 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15446 r=`${PWD_COMMAND}`; export r; \
15447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15448 $(HOST_EXPORTS) \
15449 echo Configuring in $(HOST_SUBDIR)/ld; \
15450 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15451 case $(srcdir) in \
15452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15453 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15455 esac; \
15456 srcdiroption="--srcdir=$${topdir}/ld"; \
15457 libsrcdir="$$s/ld"; \
15458 $(SHELL) $${libsrcdir}/configure \
15459 $(HOST_CONFIGARGS) $${srcdiroption} \
15460 || exit 1
15461 @endif ld
15465 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15466 maybe-configure-stage1-ld:
15467 @if ld-bootstrap
15468 maybe-configure-stage1-ld: configure-stage1-ld
15469 configure-stage1-ld:
15470 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15471 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15472 r=`${PWD_COMMAND}`; export r; \
15473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15474 $(HOST_EXPORTS) \
15475 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15476 cd $(HOST_SUBDIR)/ld || exit 1; \
15477 case $(srcdir) in \
15478 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15479 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15480 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15481 esac; \
15482 srcdiroption="--srcdir=$${topdir}/ld"; \
15483 libsrcdir="$$s/ld"; \
15484 $(SHELL) $${libsrcdir}/configure \
15485 $(HOST_CONFIGARGS) $${srcdiroption} \
15486 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15487 @endif ld-bootstrap
15489 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15490 maybe-configure-stage2-ld:
15491 @if ld-bootstrap
15492 maybe-configure-stage2-ld: configure-stage2-ld
15493 configure-stage2-ld:
15494 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15495 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15496 r=`${PWD_COMMAND}`; export r; \
15497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15498 $(HOST_EXPORTS) \
15499 $(POSTSTAGE1_HOST_EXPORTS) \
15500 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15501 cd $(HOST_SUBDIR)/ld || exit 1; \
15502 case $(srcdir) in \
15503 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15504 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15505 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15506 esac; \
15507 srcdiroption="--srcdir=$${topdir}/ld"; \
15508 libsrcdir="$$s/ld"; \
15509 $(SHELL) $${libsrcdir}/configure \
15510 $(HOST_CONFIGARGS) $${srcdiroption} \
15511 @stage2_werror_flag@
15512 @endif ld-bootstrap
15514 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15515 maybe-configure-stage3-ld:
15516 @if ld-bootstrap
15517 maybe-configure-stage3-ld: configure-stage3-ld
15518 configure-stage3-ld:
15519 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15520 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15521 r=`${PWD_COMMAND}`; export r; \
15522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15523 $(HOST_EXPORTS) \
15524 $(POSTSTAGE1_HOST_EXPORTS) \
15525 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15526 cd $(HOST_SUBDIR)/ld || exit 1; \
15527 case $(srcdir) in \
15528 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15529 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15530 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15531 esac; \
15532 srcdiroption="--srcdir=$${topdir}/ld"; \
15533 libsrcdir="$$s/ld"; \
15534 $(SHELL) $${libsrcdir}/configure \
15535 $(HOST_CONFIGARGS) $${srcdiroption} \
15536 @stage2_werror_flag@
15537 @endif ld-bootstrap
15539 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15540 maybe-configure-stage4-ld:
15541 @if ld-bootstrap
15542 maybe-configure-stage4-ld: configure-stage4-ld
15543 configure-stage4-ld:
15544 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15545 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15546 r=`${PWD_COMMAND}`; export r; \
15547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15548 $(HOST_EXPORTS) \
15549 $(POSTSTAGE1_HOST_EXPORTS) \
15550 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15551 cd $(HOST_SUBDIR)/ld || exit 1; \
15552 case $(srcdir) in \
15553 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15554 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15555 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15556 esac; \
15557 srcdiroption="--srcdir=$${topdir}/ld"; \
15558 libsrcdir="$$s/ld"; \
15559 $(SHELL) $${libsrcdir}/configure \
15560 $(HOST_CONFIGARGS) $${srcdiroption} \
15561 @stage2_werror_flag@
15562 @endif ld-bootstrap
15564 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15565 maybe-configure-stageprofile-ld:
15566 @if ld-bootstrap
15567 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15568 configure-stageprofile-ld:
15569 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15570 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15571 r=`${PWD_COMMAND}`; export r; \
15572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15573 $(HOST_EXPORTS) \
15574 $(POSTSTAGE1_HOST_EXPORTS) \
15575 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15576 cd $(HOST_SUBDIR)/ld || exit 1; \
15577 case $(srcdir) in \
15578 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15579 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15580 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15581 esac; \
15582 srcdiroption="--srcdir=$${topdir}/ld"; \
15583 libsrcdir="$$s/ld"; \
15584 $(SHELL) $${libsrcdir}/configure \
15585 $(HOST_CONFIGARGS) $${srcdiroption} \
15586 @stage2_werror_flag@
15587 @endif ld-bootstrap
15589 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15590 maybe-configure-stagefeedback-ld:
15591 @if ld-bootstrap
15592 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15593 configure-stagefeedback-ld:
15594 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15595 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15596 r=`${PWD_COMMAND}`; export r; \
15597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15598 $(HOST_EXPORTS) \
15599 $(POSTSTAGE1_HOST_EXPORTS) \
15600 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15601 cd $(HOST_SUBDIR)/ld || exit 1; \
15602 case $(srcdir) in \
15603 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15604 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15605 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15606 esac; \
15607 srcdiroption="--srcdir=$${topdir}/ld"; \
15608 libsrcdir="$$s/ld"; \
15609 $(SHELL) $${libsrcdir}/configure \
15610 $(HOST_CONFIGARGS) $${srcdiroption} \
15611 @stage2_werror_flag@
15612 @endif ld-bootstrap
15618 .PHONY: all-ld maybe-all-ld
15619 maybe-all-ld:
15620 @if ld
15621 TARGET-ld=all
15622 maybe-all-ld: all-ld
15623 all-ld: configure-ld
15624 @test -f stage_last && exit 0; \
15625 r=`${PWD_COMMAND}`; export r; \
15626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15627 $(HOST_EXPORTS) \
15628 (cd $(HOST_SUBDIR)/ld && \
15629 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15630 @endif ld
15634 .PHONY: all-stage1-ld maybe-all-stage1-ld
15635 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15636 maybe-all-stage1-ld:
15637 maybe-clean-stage1-ld:
15638 @if ld-bootstrap
15639 maybe-all-stage1-ld: all-stage1-ld
15640 all-stage1: all-stage1-ld
15641 TARGET-stage1-ld = $(TARGET-ld)
15642 all-stage1-ld: configure-stage1-ld
15643 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15644 @r=`${PWD_COMMAND}`; export r; \
15645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15646 $(HOST_EXPORTS) \
15647 cd $(HOST_SUBDIR)/ld && \
15648 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15649 $(TARGET-stage1-ld)
15651 maybe-clean-stage1-ld: clean-stage1-ld
15652 clean-stage1: clean-stage1-ld
15653 clean-stage1-ld:
15654 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15655 || exit 0 ; \
15656 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15657 cd $(HOST_SUBDIR)/ld && \
15658 $(MAKE) $(FLAGS_TO_PASS) \
15659 CFLAGS="$(STAGE1_CFLAGS)" clean
15660 @endif ld-bootstrap
15663 .PHONY: all-stage2-ld maybe-all-stage2-ld
15664 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15665 maybe-all-stage2-ld:
15666 maybe-clean-stage2-ld:
15667 @if ld-bootstrap
15668 maybe-all-stage2-ld: all-stage2-ld
15669 all-stage2: all-stage2-ld
15670 TARGET-stage2-ld = $(TARGET-ld)
15671 all-stage2-ld: configure-stage2-ld
15672 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15673 @r=`${PWD_COMMAND}`; export r; \
15674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15675 $(HOST_EXPORTS) \
15676 $(POSTSTAGE1_HOST_EXPORTS) \
15677 cd $(HOST_SUBDIR)/ld && \
15678 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15679 $(TARGET-stage2-ld)
15681 maybe-clean-stage2-ld: clean-stage2-ld
15682 clean-stage2: clean-stage2-ld
15683 clean-stage2-ld:
15684 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15685 || exit 0 ; \
15686 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15687 cd $(HOST_SUBDIR)/ld && \
15688 $(MAKE) $(FLAGS_TO_PASS) \
15689 $(POSTSTAGE1_FLAGS_TO_PASS) \
15690 clean
15691 @endif ld-bootstrap
15694 .PHONY: all-stage3-ld maybe-all-stage3-ld
15695 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15696 maybe-all-stage3-ld:
15697 maybe-clean-stage3-ld:
15698 @if ld-bootstrap
15699 maybe-all-stage3-ld: all-stage3-ld
15700 all-stage3: all-stage3-ld
15701 TARGET-stage3-ld = $(TARGET-ld)
15702 all-stage3-ld: configure-stage3-ld
15703 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15704 @r=`${PWD_COMMAND}`; export r; \
15705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15706 $(HOST_EXPORTS) \
15707 $(POSTSTAGE1_HOST_EXPORTS) \
15708 cd $(HOST_SUBDIR)/ld && \
15709 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15710 $(TARGET-stage3-ld)
15712 maybe-clean-stage3-ld: clean-stage3-ld
15713 clean-stage3: clean-stage3-ld
15714 clean-stage3-ld:
15715 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15716 || exit 0 ; \
15717 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15718 cd $(HOST_SUBDIR)/ld && \
15719 $(MAKE) $(FLAGS_TO_PASS) \
15720 $(POSTSTAGE1_FLAGS_TO_PASS) \
15721 clean
15722 @endif ld-bootstrap
15725 .PHONY: all-stage4-ld maybe-all-stage4-ld
15726 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15727 maybe-all-stage4-ld:
15728 maybe-clean-stage4-ld:
15729 @if ld-bootstrap
15730 maybe-all-stage4-ld: all-stage4-ld
15731 all-stage4: all-stage4-ld
15732 TARGET-stage4-ld = $(TARGET-ld)
15733 all-stage4-ld: configure-stage4-ld
15734 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15735 @r=`${PWD_COMMAND}`; export r; \
15736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15737 $(HOST_EXPORTS) \
15738 $(POSTSTAGE1_HOST_EXPORTS) \
15739 cd $(HOST_SUBDIR)/ld && \
15740 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15741 $(TARGET-stage4-ld)
15743 maybe-clean-stage4-ld: clean-stage4-ld
15744 clean-stage4: clean-stage4-ld
15745 clean-stage4-ld:
15746 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15747 || exit 0 ; \
15748 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15749 cd $(HOST_SUBDIR)/ld && \
15750 $(MAKE) $(FLAGS_TO_PASS) \
15751 $(POSTSTAGE1_FLAGS_TO_PASS) \
15752 clean
15753 @endif ld-bootstrap
15756 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15757 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15758 maybe-all-stageprofile-ld:
15759 maybe-clean-stageprofile-ld:
15760 @if ld-bootstrap
15761 maybe-all-stageprofile-ld: all-stageprofile-ld
15762 all-stageprofile: all-stageprofile-ld
15763 TARGET-stageprofile-ld = $(TARGET-ld)
15764 all-stageprofile-ld: configure-stageprofile-ld
15765 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15766 @r=`${PWD_COMMAND}`; export r; \
15767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15768 $(HOST_EXPORTS) \
15769 $(POSTSTAGE1_HOST_EXPORTS) \
15770 cd $(HOST_SUBDIR)/ld && \
15771 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15772 $(TARGET-stageprofile-ld)
15774 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15775 clean-stageprofile: clean-stageprofile-ld
15776 clean-stageprofile-ld:
15777 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15778 || exit 0 ; \
15779 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15780 cd $(HOST_SUBDIR)/ld && \
15781 $(MAKE) $(FLAGS_TO_PASS) \
15782 $(POSTSTAGE1_FLAGS_TO_PASS) \
15783 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15784 @endif ld-bootstrap
15787 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15788 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15789 maybe-all-stagefeedback-ld:
15790 maybe-clean-stagefeedback-ld:
15791 @if ld-bootstrap
15792 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15793 all-stagefeedback: all-stagefeedback-ld
15794 TARGET-stagefeedback-ld = $(TARGET-ld)
15795 all-stagefeedback-ld: configure-stagefeedback-ld
15796 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15797 @r=`${PWD_COMMAND}`; export r; \
15798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15799 $(HOST_EXPORTS) \
15800 $(POSTSTAGE1_HOST_EXPORTS) \
15801 cd $(HOST_SUBDIR)/ld && \
15802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15803 $(TARGET-stagefeedback-ld)
15805 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15806 clean-stagefeedback: clean-stagefeedback-ld
15807 clean-stagefeedback-ld:
15808 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15809 || exit 0 ; \
15810 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15811 cd $(HOST_SUBDIR)/ld && \
15812 $(MAKE) $(FLAGS_TO_PASS) \
15813 $(POSTSTAGE1_FLAGS_TO_PASS) \
15814 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15815 @endif ld-bootstrap
15821 .PHONY: check-ld maybe-check-ld
15822 maybe-check-ld:
15823 @if ld
15824 maybe-check-ld: check-ld
15826 check-ld:
15827 @$(unstage)
15828 @r=`${PWD_COMMAND}`; export r; \
15829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15830 $(HOST_EXPORTS) \
15831 (cd $(HOST_SUBDIR)/ld && \
15832 $(MAKE) $(FLAGS_TO_PASS) check)
15834 @endif ld
15836 .PHONY: install-ld maybe-install-ld
15837 maybe-install-ld:
15838 @if ld
15839 maybe-install-ld: install-ld
15841 install-ld: installdirs
15842 @$(unstage)
15843 @r=`${PWD_COMMAND}`; export r; \
15844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15845 $(HOST_EXPORTS) \
15846 (cd $(HOST_SUBDIR)/ld && \
15847 $(MAKE) $(FLAGS_TO_PASS) install)
15849 @endif ld
15851 # Other targets (info, dvi, etc.)
15853 .PHONY: maybe-info-ld info-ld
15854 maybe-info-ld:
15855 @if ld
15856 maybe-info-ld: info-ld
15858 info-ld: \
15859 configure-ld
15860 @[ -f ./ld/Makefile ] || exit 0; \
15861 r=`${PWD_COMMAND}`; export r; \
15862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15863 $(HOST_EXPORTS) \
15864 for flag in $(EXTRA_HOST_FLAGS) ; do \
15865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15866 done; \
15867 echo "Doing info in ld" ; \
15868 (cd $(HOST_SUBDIR)/ld && \
15869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15871 "RANLIB=$${RANLIB}" \
15872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15873 info) \
15874 || exit 1
15876 @endif ld
15878 .PHONY: maybe-dvi-ld dvi-ld
15879 maybe-dvi-ld:
15880 @if ld
15881 maybe-dvi-ld: dvi-ld
15883 dvi-ld: \
15884 configure-ld
15885 @[ -f ./ld/Makefile ] || exit 0; \
15886 r=`${PWD_COMMAND}`; export r; \
15887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15888 $(HOST_EXPORTS) \
15889 for flag in $(EXTRA_HOST_FLAGS) ; do \
15890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15891 done; \
15892 echo "Doing dvi in ld" ; \
15893 (cd $(HOST_SUBDIR)/ld && \
15894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15896 "RANLIB=$${RANLIB}" \
15897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15898 dvi) \
15899 || exit 1
15901 @endif ld
15903 .PHONY: maybe-html-ld html-ld
15904 maybe-html-ld:
15905 @if ld
15906 maybe-html-ld: html-ld
15908 html-ld: \
15909 configure-ld
15910 @[ -f ./ld/Makefile ] || exit 0; \
15911 r=`${PWD_COMMAND}`; export r; \
15912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15913 $(HOST_EXPORTS) \
15914 for flag in $(EXTRA_HOST_FLAGS) ; do \
15915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15916 done; \
15917 echo "Doing html in ld" ; \
15918 (cd $(HOST_SUBDIR)/ld && \
15919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15921 "RANLIB=$${RANLIB}" \
15922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15923 html) \
15924 || exit 1
15926 @endif ld
15928 .PHONY: maybe-TAGS-ld TAGS-ld
15929 maybe-TAGS-ld:
15930 @if ld
15931 maybe-TAGS-ld: TAGS-ld
15933 TAGS-ld: \
15934 configure-ld
15935 @[ -f ./ld/Makefile ] || exit 0; \
15936 r=`${PWD_COMMAND}`; export r; \
15937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15938 $(HOST_EXPORTS) \
15939 for flag in $(EXTRA_HOST_FLAGS) ; do \
15940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15941 done; \
15942 echo "Doing TAGS in ld" ; \
15943 (cd $(HOST_SUBDIR)/ld && \
15944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15946 "RANLIB=$${RANLIB}" \
15947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15948 TAGS) \
15949 || exit 1
15951 @endif ld
15953 .PHONY: maybe-install-info-ld install-info-ld
15954 maybe-install-info-ld:
15955 @if ld
15956 maybe-install-info-ld: install-info-ld
15958 install-info-ld: \
15959 configure-ld \
15960 info-ld
15961 @[ -f ./ld/Makefile ] || exit 0; \
15962 r=`${PWD_COMMAND}`; export r; \
15963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15964 $(HOST_EXPORTS) \
15965 for flag in $(EXTRA_HOST_FLAGS) ; do \
15966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15967 done; \
15968 echo "Doing install-info in ld" ; \
15969 (cd $(HOST_SUBDIR)/ld && \
15970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15972 "RANLIB=$${RANLIB}" \
15973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15974 install-info) \
15975 || exit 1
15977 @endif ld
15979 .PHONY: maybe-installcheck-ld installcheck-ld
15980 maybe-installcheck-ld:
15981 @if ld
15982 maybe-installcheck-ld: installcheck-ld
15984 installcheck-ld: \
15985 configure-ld
15986 @[ -f ./ld/Makefile ] || exit 0; \
15987 r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 $(HOST_EXPORTS) \
15990 for flag in $(EXTRA_HOST_FLAGS) ; do \
15991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 done; \
15993 echo "Doing installcheck in ld" ; \
15994 (cd $(HOST_SUBDIR)/ld && \
15995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15997 "RANLIB=$${RANLIB}" \
15998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15999 installcheck) \
16000 || exit 1
16002 @endif ld
16004 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
16005 maybe-mostlyclean-ld:
16006 @if ld
16007 maybe-mostlyclean-ld: mostlyclean-ld
16009 mostlyclean-ld:
16010 @[ -f ./ld/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing mostlyclean in ld" ; \
16018 (cd $(HOST_SUBDIR)/ld && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023 mostlyclean) \
16024 || exit 1
16026 @endif ld
16028 .PHONY: maybe-clean-ld clean-ld
16029 maybe-clean-ld:
16030 @if ld
16031 maybe-clean-ld: clean-ld
16033 clean-ld:
16034 @[ -f ./ld/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 $(HOST_EXPORTS) \
16038 for flag in $(EXTRA_HOST_FLAGS) ; do \
16039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16040 done; \
16041 echo "Doing clean in ld" ; \
16042 (cd $(HOST_SUBDIR)/ld && \
16043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16045 "RANLIB=$${RANLIB}" \
16046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16047 clean) \
16048 || exit 1
16050 @endif ld
16052 .PHONY: maybe-distclean-ld distclean-ld
16053 maybe-distclean-ld:
16054 @if ld
16055 maybe-distclean-ld: distclean-ld
16057 distclean-ld:
16058 @[ -f ./ld/Makefile ] || exit 0; \
16059 r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16061 $(HOST_EXPORTS) \
16062 for flag in $(EXTRA_HOST_FLAGS) ; do \
16063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16064 done; \
16065 echo "Doing distclean in ld" ; \
16066 (cd $(HOST_SUBDIR)/ld && \
16067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16069 "RANLIB=$${RANLIB}" \
16070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16071 distclean) \
16072 || exit 1
16074 @endif ld
16076 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16077 maybe-maintainer-clean-ld:
16078 @if ld
16079 maybe-maintainer-clean-ld: maintainer-clean-ld
16081 maintainer-clean-ld:
16082 @[ -f ./ld/Makefile ] || exit 0; \
16083 r=`${PWD_COMMAND}`; export r; \
16084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16085 $(HOST_EXPORTS) \
16086 for flag in $(EXTRA_HOST_FLAGS) ; do \
16087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16088 done; \
16089 echo "Doing maintainer-clean in ld" ; \
16090 (cd $(HOST_SUBDIR)/ld && \
16091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16093 "RANLIB=$${RANLIB}" \
16094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16095 maintainer-clean) \
16096 || exit 1
16098 @endif ld
16102 .PHONY: configure-libcpp maybe-configure-libcpp
16103 maybe-configure-libcpp:
16104 @if libcpp
16105 maybe-configure-libcpp: configure-libcpp
16106 configure-libcpp:
16107 @test -f stage_last && exit 0; \
16108 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16110 r=`${PWD_COMMAND}`; export r; \
16111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16112 $(HOST_EXPORTS) \
16113 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16114 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16115 case $(srcdir) in \
16116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16117 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16119 esac; \
16120 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16121 libsrcdir="$$s/libcpp"; \
16122 $(SHELL) $${libsrcdir}/configure \
16123 $(HOST_CONFIGARGS) $${srcdiroption} \
16124 || exit 1
16125 @endif libcpp
16129 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16130 maybe-configure-stage1-libcpp:
16131 @if libcpp-bootstrap
16132 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16133 configure-stage1-libcpp:
16134 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16135 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16136 r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 $(HOST_EXPORTS) \
16139 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16140 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16141 case $(srcdir) in \
16142 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16143 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16144 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16145 esac; \
16146 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16147 libsrcdir="$$s/libcpp"; \
16148 $(SHELL) $${libsrcdir}/configure \
16149 $(HOST_CONFIGARGS) $${srcdiroption} \
16150 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16151 @endif libcpp-bootstrap
16153 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16154 maybe-configure-stage2-libcpp:
16155 @if libcpp-bootstrap
16156 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16157 configure-stage2-libcpp:
16158 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16159 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16160 r=`${PWD_COMMAND}`; export r; \
16161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16162 $(HOST_EXPORTS) \
16163 $(POSTSTAGE1_HOST_EXPORTS) \
16164 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16165 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16166 case $(srcdir) in \
16167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16168 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16170 esac; \
16171 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16172 libsrcdir="$$s/libcpp"; \
16173 $(SHELL) $${libsrcdir}/configure \
16174 $(HOST_CONFIGARGS) $${srcdiroption} \
16175 @stage2_werror_flag@
16176 @endif libcpp-bootstrap
16178 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16179 maybe-configure-stage3-libcpp:
16180 @if libcpp-bootstrap
16181 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16182 configure-stage3-libcpp:
16183 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16184 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16185 r=`${PWD_COMMAND}`; export r; \
16186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16187 $(HOST_EXPORTS) \
16188 $(POSTSTAGE1_HOST_EXPORTS) \
16189 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16190 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16191 case $(srcdir) in \
16192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16193 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16195 esac; \
16196 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16197 libsrcdir="$$s/libcpp"; \
16198 $(SHELL) $${libsrcdir}/configure \
16199 $(HOST_CONFIGARGS) $${srcdiroption} \
16200 @stage2_werror_flag@
16201 @endif libcpp-bootstrap
16203 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16204 maybe-configure-stage4-libcpp:
16205 @if libcpp-bootstrap
16206 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16207 configure-stage4-libcpp:
16208 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16209 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16210 r=`${PWD_COMMAND}`; export r; \
16211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16212 $(HOST_EXPORTS) \
16213 $(POSTSTAGE1_HOST_EXPORTS) \
16214 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16215 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16216 case $(srcdir) in \
16217 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16218 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16219 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16220 esac; \
16221 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16222 libsrcdir="$$s/libcpp"; \
16223 $(SHELL) $${libsrcdir}/configure \
16224 $(HOST_CONFIGARGS) $${srcdiroption} \
16225 @stage2_werror_flag@
16226 @endif libcpp-bootstrap
16228 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16229 maybe-configure-stageprofile-libcpp:
16230 @if libcpp-bootstrap
16231 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16232 configure-stageprofile-libcpp:
16233 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16234 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16235 r=`${PWD_COMMAND}`; export r; \
16236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16237 $(HOST_EXPORTS) \
16238 $(POSTSTAGE1_HOST_EXPORTS) \
16239 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16240 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16241 case $(srcdir) in \
16242 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16243 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16244 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16245 esac; \
16246 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16247 libsrcdir="$$s/libcpp"; \
16248 $(SHELL) $${libsrcdir}/configure \
16249 $(HOST_CONFIGARGS) $${srcdiroption} \
16250 @stage2_werror_flag@
16251 @endif libcpp-bootstrap
16253 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16254 maybe-configure-stagefeedback-libcpp:
16255 @if libcpp-bootstrap
16256 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16257 configure-stagefeedback-libcpp:
16258 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16259 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16260 r=`${PWD_COMMAND}`; export r; \
16261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16262 $(HOST_EXPORTS) \
16263 $(POSTSTAGE1_HOST_EXPORTS) \
16264 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16265 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16266 case $(srcdir) in \
16267 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16268 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16269 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16270 esac; \
16271 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16272 libsrcdir="$$s/libcpp"; \
16273 $(SHELL) $${libsrcdir}/configure \
16274 $(HOST_CONFIGARGS) $${srcdiroption} \
16275 @stage2_werror_flag@
16276 @endif libcpp-bootstrap
16282 .PHONY: all-libcpp maybe-all-libcpp
16283 maybe-all-libcpp:
16284 @if libcpp
16285 TARGET-libcpp=all
16286 maybe-all-libcpp: all-libcpp
16287 all-libcpp: configure-libcpp
16288 @test -f stage_last && exit 0; \
16289 r=`${PWD_COMMAND}`; export r; \
16290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16291 $(HOST_EXPORTS) \
16292 (cd $(HOST_SUBDIR)/libcpp && \
16293 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16294 @endif libcpp
16298 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16299 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16300 maybe-all-stage1-libcpp:
16301 maybe-clean-stage1-libcpp:
16302 @if libcpp-bootstrap
16303 maybe-all-stage1-libcpp: all-stage1-libcpp
16304 all-stage1: all-stage1-libcpp
16305 TARGET-stage1-libcpp = $(TARGET-libcpp)
16306 all-stage1-libcpp: configure-stage1-libcpp
16307 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16308 @r=`${PWD_COMMAND}`; export r; \
16309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16310 $(HOST_EXPORTS) \
16311 cd $(HOST_SUBDIR)/libcpp && \
16312 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16313 $(TARGET-stage1-libcpp)
16315 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16316 clean-stage1: clean-stage1-libcpp
16317 clean-stage1-libcpp:
16318 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16319 || exit 0 ; \
16320 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16321 cd $(HOST_SUBDIR)/libcpp && \
16322 $(MAKE) $(FLAGS_TO_PASS) \
16323 CFLAGS="$(STAGE1_CFLAGS)" clean
16324 @endif libcpp-bootstrap
16327 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16328 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16329 maybe-all-stage2-libcpp:
16330 maybe-clean-stage2-libcpp:
16331 @if libcpp-bootstrap
16332 maybe-all-stage2-libcpp: all-stage2-libcpp
16333 all-stage2: all-stage2-libcpp
16334 TARGET-stage2-libcpp = $(TARGET-libcpp)
16335 all-stage2-libcpp: configure-stage2-libcpp
16336 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16337 @r=`${PWD_COMMAND}`; export r; \
16338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16339 $(HOST_EXPORTS) \
16340 $(POSTSTAGE1_HOST_EXPORTS) \
16341 cd $(HOST_SUBDIR)/libcpp && \
16342 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16343 $(TARGET-stage2-libcpp)
16345 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16346 clean-stage2: clean-stage2-libcpp
16347 clean-stage2-libcpp:
16348 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16349 || exit 0 ; \
16350 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16351 cd $(HOST_SUBDIR)/libcpp && \
16352 $(MAKE) $(FLAGS_TO_PASS) \
16353 $(POSTSTAGE1_FLAGS_TO_PASS) \
16354 clean
16355 @endif libcpp-bootstrap
16358 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16359 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16360 maybe-all-stage3-libcpp:
16361 maybe-clean-stage3-libcpp:
16362 @if libcpp-bootstrap
16363 maybe-all-stage3-libcpp: all-stage3-libcpp
16364 all-stage3: all-stage3-libcpp
16365 TARGET-stage3-libcpp = $(TARGET-libcpp)
16366 all-stage3-libcpp: configure-stage3-libcpp
16367 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16368 @r=`${PWD_COMMAND}`; export r; \
16369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16370 $(HOST_EXPORTS) \
16371 $(POSTSTAGE1_HOST_EXPORTS) \
16372 cd $(HOST_SUBDIR)/libcpp && \
16373 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16374 $(TARGET-stage3-libcpp)
16376 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16377 clean-stage3: clean-stage3-libcpp
16378 clean-stage3-libcpp:
16379 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16380 || exit 0 ; \
16381 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16382 cd $(HOST_SUBDIR)/libcpp && \
16383 $(MAKE) $(FLAGS_TO_PASS) \
16384 $(POSTSTAGE1_FLAGS_TO_PASS) \
16385 clean
16386 @endif libcpp-bootstrap
16389 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16390 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16391 maybe-all-stage4-libcpp:
16392 maybe-clean-stage4-libcpp:
16393 @if libcpp-bootstrap
16394 maybe-all-stage4-libcpp: all-stage4-libcpp
16395 all-stage4: all-stage4-libcpp
16396 TARGET-stage4-libcpp = $(TARGET-libcpp)
16397 all-stage4-libcpp: configure-stage4-libcpp
16398 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16399 @r=`${PWD_COMMAND}`; export r; \
16400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16401 $(HOST_EXPORTS) \
16402 $(POSTSTAGE1_HOST_EXPORTS) \
16403 cd $(HOST_SUBDIR)/libcpp && \
16404 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16405 $(TARGET-stage4-libcpp)
16407 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16408 clean-stage4: clean-stage4-libcpp
16409 clean-stage4-libcpp:
16410 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16411 || exit 0 ; \
16412 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16413 cd $(HOST_SUBDIR)/libcpp && \
16414 $(MAKE) $(FLAGS_TO_PASS) \
16415 $(POSTSTAGE1_FLAGS_TO_PASS) \
16416 clean
16417 @endif libcpp-bootstrap
16420 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16421 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16422 maybe-all-stageprofile-libcpp:
16423 maybe-clean-stageprofile-libcpp:
16424 @if libcpp-bootstrap
16425 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16426 all-stageprofile: all-stageprofile-libcpp
16427 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16428 all-stageprofile-libcpp: configure-stageprofile-libcpp
16429 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16430 @r=`${PWD_COMMAND}`; export r; \
16431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16432 $(HOST_EXPORTS) \
16433 $(POSTSTAGE1_HOST_EXPORTS) \
16434 cd $(HOST_SUBDIR)/libcpp && \
16435 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16436 $(TARGET-stageprofile-libcpp)
16438 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16439 clean-stageprofile: clean-stageprofile-libcpp
16440 clean-stageprofile-libcpp:
16441 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16442 || exit 0 ; \
16443 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16444 cd $(HOST_SUBDIR)/libcpp && \
16445 $(MAKE) $(FLAGS_TO_PASS) \
16446 $(POSTSTAGE1_FLAGS_TO_PASS) \
16447 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16448 @endif libcpp-bootstrap
16451 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16452 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16453 maybe-all-stagefeedback-libcpp:
16454 maybe-clean-stagefeedback-libcpp:
16455 @if libcpp-bootstrap
16456 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16457 all-stagefeedback: all-stagefeedback-libcpp
16458 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16459 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16460 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16461 @r=`${PWD_COMMAND}`; export r; \
16462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16463 $(HOST_EXPORTS) \
16464 $(POSTSTAGE1_HOST_EXPORTS) \
16465 cd $(HOST_SUBDIR)/libcpp && \
16466 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16467 $(TARGET-stagefeedback-libcpp)
16469 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16470 clean-stagefeedback: clean-stagefeedback-libcpp
16471 clean-stagefeedback-libcpp:
16472 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16473 || exit 0 ; \
16474 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16475 cd $(HOST_SUBDIR)/libcpp && \
16476 $(MAKE) $(FLAGS_TO_PASS) \
16477 $(POSTSTAGE1_FLAGS_TO_PASS) \
16478 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16479 @endif libcpp-bootstrap
16485 .PHONY: check-libcpp maybe-check-libcpp
16486 maybe-check-libcpp:
16487 @if libcpp
16488 maybe-check-libcpp: check-libcpp
16490 check-libcpp:
16491 @$(unstage)
16492 @r=`${PWD_COMMAND}`; export r; \
16493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16494 $(HOST_EXPORTS) \
16495 (cd $(HOST_SUBDIR)/libcpp && \
16496 $(MAKE) $(FLAGS_TO_PASS) check)
16498 @endif libcpp
16500 .PHONY: install-libcpp maybe-install-libcpp
16501 maybe-install-libcpp:
16502 @if libcpp
16503 maybe-install-libcpp: install-libcpp
16505 install-libcpp: installdirs
16506 @$(unstage)
16507 @r=`${PWD_COMMAND}`; export r; \
16508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16509 $(HOST_EXPORTS) \
16510 (cd $(HOST_SUBDIR)/libcpp && \
16511 $(MAKE) $(FLAGS_TO_PASS) install)
16513 @endif libcpp
16515 # Other targets (info, dvi, etc.)
16517 .PHONY: maybe-info-libcpp info-libcpp
16518 maybe-info-libcpp:
16519 @if libcpp
16520 maybe-info-libcpp: info-libcpp
16522 info-libcpp: \
16523 configure-libcpp
16524 @[ -f ./libcpp/Makefile ] || exit 0; \
16525 r=`${PWD_COMMAND}`; export r; \
16526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16527 $(HOST_EXPORTS) \
16528 for flag in $(EXTRA_HOST_FLAGS) ; do \
16529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16530 done; \
16531 echo "Doing info in libcpp" ; \
16532 (cd $(HOST_SUBDIR)/libcpp && \
16533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16535 "RANLIB=$${RANLIB}" \
16536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16537 info) \
16538 || exit 1
16540 @endif libcpp
16542 .PHONY: maybe-dvi-libcpp dvi-libcpp
16543 maybe-dvi-libcpp:
16544 @if libcpp
16545 maybe-dvi-libcpp: dvi-libcpp
16547 dvi-libcpp: \
16548 configure-libcpp
16549 @[ -f ./libcpp/Makefile ] || exit 0; \
16550 r=`${PWD_COMMAND}`; export r; \
16551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16552 $(HOST_EXPORTS) \
16553 for flag in $(EXTRA_HOST_FLAGS) ; do \
16554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16555 done; \
16556 echo "Doing dvi in libcpp" ; \
16557 (cd $(HOST_SUBDIR)/libcpp && \
16558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16560 "RANLIB=$${RANLIB}" \
16561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16562 dvi) \
16563 || exit 1
16565 @endif libcpp
16567 .PHONY: maybe-html-libcpp html-libcpp
16568 maybe-html-libcpp:
16569 @if libcpp
16570 maybe-html-libcpp: html-libcpp
16572 html-libcpp: \
16573 configure-libcpp
16574 @[ -f ./libcpp/Makefile ] || exit 0; \
16575 r=`${PWD_COMMAND}`; export r; \
16576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16577 $(HOST_EXPORTS) \
16578 for flag in $(EXTRA_HOST_FLAGS) ; do \
16579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16580 done; \
16581 echo "Doing html in libcpp" ; \
16582 (cd $(HOST_SUBDIR)/libcpp && \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585 "RANLIB=$${RANLIB}" \
16586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16587 html) \
16588 || exit 1
16590 @endif libcpp
16592 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16593 maybe-TAGS-libcpp:
16594 @if libcpp
16595 maybe-TAGS-libcpp: TAGS-libcpp
16597 TAGS-libcpp: \
16598 configure-libcpp
16599 @[ -f ./libcpp/Makefile ] || exit 0; \
16600 r=`${PWD_COMMAND}`; export r; \
16601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16602 $(HOST_EXPORTS) \
16603 for flag in $(EXTRA_HOST_FLAGS) ; do \
16604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16605 done; \
16606 echo "Doing TAGS in libcpp" ; \
16607 (cd $(HOST_SUBDIR)/libcpp && \
16608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16610 "RANLIB=$${RANLIB}" \
16611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16612 TAGS) \
16613 || exit 1
16615 @endif libcpp
16617 .PHONY: maybe-install-info-libcpp install-info-libcpp
16618 maybe-install-info-libcpp:
16619 @if libcpp
16620 maybe-install-info-libcpp: install-info-libcpp
16622 install-info-libcpp: \
16623 configure-libcpp \
16624 info-libcpp
16625 @[ -f ./libcpp/Makefile ] || exit 0; \
16626 r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628 $(HOST_EXPORTS) \
16629 for flag in $(EXTRA_HOST_FLAGS) ; do \
16630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16631 done; \
16632 echo "Doing install-info in libcpp" ; \
16633 (cd $(HOST_SUBDIR)/libcpp && \
16634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16636 "RANLIB=$${RANLIB}" \
16637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16638 install-info) \
16639 || exit 1
16641 @endif libcpp
16643 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16644 maybe-installcheck-libcpp:
16645 @if libcpp
16646 maybe-installcheck-libcpp: installcheck-libcpp
16648 installcheck-libcpp: \
16649 configure-libcpp
16650 @[ -f ./libcpp/Makefile ] || exit 0; \
16651 r=`${PWD_COMMAND}`; export r; \
16652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16653 $(HOST_EXPORTS) \
16654 for flag in $(EXTRA_HOST_FLAGS) ; do \
16655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16656 done; \
16657 echo "Doing installcheck in libcpp" ; \
16658 (cd $(HOST_SUBDIR)/libcpp && \
16659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16661 "RANLIB=$${RANLIB}" \
16662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16663 installcheck) \
16664 || exit 1
16666 @endif libcpp
16668 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16669 maybe-mostlyclean-libcpp:
16670 @if libcpp
16671 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16673 mostlyclean-libcpp:
16674 @[ -f ./libcpp/Makefile ] || exit 0; \
16675 r=`${PWD_COMMAND}`; export r; \
16676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16677 $(HOST_EXPORTS) \
16678 for flag in $(EXTRA_HOST_FLAGS) ; do \
16679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16680 done; \
16681 echo "Doing mostlyclean in libcpp" ; \
16682 (cd $(HOST_SUBDIR)/libcpp && \
16683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16685 "RANLIB=$${RANLIB}" \
16686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16687 mostlyclean) \
16688 || exit 1
16690 @endif libcpp
16692 .PHONY: maybe-clean-libcpp clean-libcpp
16693 maybe-clean-libcpp:
16694 @if libcpp
16695 maybe-clean-libcpp: clean-libcpp
16697 clean-libcpp:
16698 @[ -f ./libcpp/Makefile ] || exit 0; \
16699 r=`${PWD_COMMAND}`; export r; \
16700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16701 $(HOST_EXPORTS) \
16702 for flag in $(EXTRA_HOST_FLAGS) ; do \
16703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16704 done; \
16705 echo "Doing clean in libcpp" ; \
16706 (cd $(HOST_SUBDIR)/libcpp && \
16707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16709 "RANLIB=$${RANLIB}" \
16710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16711 clean) \
16712 || exit 1
16714 @endif libcpp
16716 .PHONY: maybe-distclean-libcpp distclean-libcpp
16717 maybe-distclean-libcpp:
16718 @if libcpp
16719 maybe-distclean-libcpp: distclean-libcpp
16721 distclean-libcpp:
16722 @[ -f ./libcpp/Makefile ] || exit 0; \
16723 r=`${PWD_COMMAND}`; export r; \
16724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16725 $(HOST_EXPORTS) \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16728 done; \
16729 echo "Doing distclean in libcpp" ; \
16730 (cd $(HOST_SUBDIR)/libcpp && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16735 distclean) \
16736 || exit 1
16738 @endif libcpp
16740 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16741 maybe-maintainer-clean-libcpp:
16742 @if libcpp
16743 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16745 maintainer-clean-libcpp:
16746 @[ -f ./libcpp/Makefile ] || exit 0; \
16747 r=`${PWD_COMMAND}`; export r; \
16748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16749 $(HOST_EXPORTS) \
16750 for flag in $(EXTRA_HOST_FLAGS) ; do \
16751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16752 done; \
16753 echo "Doing maintainer-clean in libcpp" ; \
16754 (cd $(HOST_SUBDIR)/libcpp && \
16755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16757 "RANLIB=$${RANLIB}" \
16758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16759 maintainer-clean) \
16760 || exit 1
16762 @endif libcpp
16766 .PHONY: configure-libgui maybe-configure-libgui
16767 maybe-configure-libgui:
16768 @if libgui
16769 maybe-configure-libgui: configure-libgui
16770 configure-libgui:
16771 @$(unstage)
16772 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16773 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16774 r=`${PWD_COMMAND}`; export r; \
16775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16776 $(HOST_EXPORTS) \
16777 echo Configuring in $(HOST_SUBDIR)/libgui; \
16778 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16779 case $(srcdir) in \
16780 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16781 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16782 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16783 esac; \
16784 srcdiroption="--srcdir=$${topdir}/libgui"; \
16785 libsrcdir="$$s/libgui"; \
16786 $(SHELL) $${libsrcdir}/configure \
16787 $(HOST_CONFIGARGS) $${srcdiroption} \
16788 || exit 1
16789 @endif libgui
16795 .PHONY: all-libgui maybe-all-libgui
16796 maybe-all-libgui:
16797 @if libgui
16798 TARGET-libgui=all
16799 maybe-all-libgui: all-libgui
16800 all-libgui: configure-libgui
16801 @$(unstage)
16802 @r=`${PWD_COMMAND}`; export r; \
16803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16804 $(HOST_EXPORTS) \
16805 (cd $(HOST_SUBDIR)/libgui && \
16806 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16807 @endif libgui
16812 .PHONY: check-libgui maybe-check-libgui
16813 maybe-check-libgui:
16814 @if libgui
16815 maybe-check-libgui: check-libgui
16817 check-libgui:
16818 @$(unstage)
16819 @r=`${PWD_COMMAND}`; export r; \
16820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16821 $(HOST_EXPORTS) \
16822 (cd $(HOST_SUBDIR)/libgui && \
16823 $(MAKE) $(FLAGS_TO_PASS) check)
16825 @endif libgui
16827 .PHONY: install-libgui maybe-install-libgui
16828 maybe-install-libgui:
16829 @if libgui
16830 maybe-install-libgui: install-libgui
16832 install-libgui: installdirs
16833 @$(unstage)
16834 @r=`${PWD_COMMAND}`; export r; \
16835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16836 $(HOST_EXPORTS) \
16837 (cd $(HOST_SUBDIR)/libgui && \
16838 $(MAKE) $(FLAGS_TO_PASS) install)
16840 @endif libgui
16842 # Other targets (info, dvi, etc.)
16844 .PHONY: maybe-info-libgui info-libgui
16845 maybe-info-libgui:
16846 @if libgui
16847 maybe-info-libgui: info-libgui
16849 info-libgui: \
16850 configure-libgui
16851 @$(unstage)
16852 @[ -f ./libgui/Makefile ] || exit 0; \
16853 r=`${PWD_COMMAND}`; export r; \
16854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16855 $(HOST_EXPORTS) \
16856 for flag in $(EXTRA_HOST_FLAGS) ; do \
16857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16858 done; \
16859 echo "Doing info in libgui" ; \
16860 (cd $(HOST_SUBDIR)/libgui && \
16861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16863 "RANLIB=$${RANLIB}" \
16864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16865 info) \
16866 || exit 1
16868 @endif libgui
16870 .PHONY: maybe-dvi-libgui dvi-libgui
16871 maybe-dvi-libgui:
16872 @if libgui
16873 maybe-dvi-libgui: dvi-libgui
16875 dvi-libgui: \
16876 configure-libgui
16877 @$(unstage)
16878 @[ -f ./libgui/Makefile ] || exit 0; \
16879 r=`${PWD_COMMAND}`; export r; \
16880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16881 $(HOST_EXPORTS) \
16882 for flag in $(EXTRA_HOST_FLAGS) ; do \
16883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16884 done; \
16885 echo "Doing dvi in libgui" ; \
16886 (cd $(HOST_SUBDIR)/libgui && \
16887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16889 "RANLIB=$${RANLIB}" \
16890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16891 dvi) \
16892 || exit 1
16894 @endif libgui
16896 .PHONY: maybe-html-libgui html-libgui
16897 maybe-html-libgui:
16898 @if libgui
16899 maybe-html-libgui: html-libgui
16901 html-libgui: \
16902 configure-libgui
16903 @$(unstage)
16904 @[ -f ./libgui/Makefile ] || exit 0; \
16905 r=`${PWD_COMMAND}`; export r; \
16906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16907 $(HOST_EXPORTS) \
16908 for flag in $(EXTRA_HOST_FLAGS) ; do \
16909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16910 done; \
16911 echo "Doing html in libgui" ; \
16912 (cd $(HOST_SUBDIR)/libgui && \
16913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16915 "RANLIB=$${RANLIB}" \
16916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16917 html) \
16918 || exit 1
16920 @endif libgui
16922 .PHONY: maybe-TAGS-libgui TAGS-libgui
16923 maybe-TAGS-libgui:
16924 @if libgui
16925 maybe-TAGS-libgui: TAGS-libgui
16927 TAGS-libgui: \
16928 configure-libgui
16929 @$(unstage)
16930 @[ -f ./libgui/Makefile ] || exit 0; \
16931 r=`${PWD_COMMAND}`; export r; \
16932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16933 $(HOST_EXPORTS) \
16934 for flag in $(EXTRA_HOST_FLAGS) ; do \
16935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16936 done; \
16937 echo "Doing TAGS in libgui" ; \
16938 (cd $(HOST_SUBDIR)/libgui && \
16939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16941 "RANLIB=$${RANLIB}" \
16942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16943 TAGS) \
16944 || exit 1
16946 @endif libgui
16948 .PHONY: maybe-install-info-libgui install-info-libgui
16949 maybe-install-info-libgui:
16950 @if libgui
16951 maybe-install-info-libgui: install-info-libgui
16953 install-info-libgui: \
16954 configure-libgui \
16955 info-libgui
16956 @$(unstage)
16957 @[ -f ./libgui/Makefile ] || exit 0; \
16958 r=`${PWD_COMMAND}`; export r; \
16959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16960 $(HOST_EXPORTS) \
16961 for flag in $(EXTRA_HOST_FLAGS) ; do \
16962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16963 done; \
16964 echo "Doing install-info in libgui" ; \
16965 (cd $(HOST_SUBDIR)/libgui && \
16966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16968 "RANLIB=$${RANLIB}" \
16969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16970 install-info) \
16971 || exit 1
16973 @endif libgui
16975 .PHONY: maybe-installcheck-libgui installcheck-libgui
16976 maybe-installcheck-libgui:
16977 @if libgui
16978 maybe-installcheck-libgui: installcheck-libgui
16980 installcheck-libgui: \
16981 configure-libgui
16982 @$(unstage)
16983 @[ -f ./libgui/Makefile ] || exit 0; \
16984 r=`${PWD_COMMAND}`; export r; \
16985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16986 $(HOST_EXPORTS) \
16987 for flag in $(EXTRA_HOST_FLAGS) ; do \
16988 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16989 done; \
16990 echo "Doing installcheck in libgui" ; \
16991 (cd $(HOST_SUBDIR)/libgui && \
16992 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16993 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16994 "RANLIB=$${RANLIB}" \
16995 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16996 installcheck) \
16997 || exit 1
16999 @endif libgui
17001 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17002 maybe-mostlyclean-libgui:
17003 @if libgui
17004 maybe-mostlyclean-libgui: mostlyclean-libgui
17006 mostlyclean-libgui:
17007 @$(unstage)
17008 @[ -f ./libgui/Makefile ] || exit 0; \
17009 r=`${PWD_COMMAND}`; export r; \
17010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17011 $(HOST_EXPORTS) \
17012 for flag in $(EXTRA_HOST_FLAGS) ; do \
17013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17014 done; \
17015 echo "Doing mostlyclean in libgui" ; \
17016 (cd $(HOST_SUBDIR)/libgui && \
17017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17019 "RANLIB=$${RANLIB}" \
17020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17021 mostlyclean) \
17022 || exit 1
17024 @endif libgui
17026 .PHONY: maybe-clean-libgui clean-libgui
17027 maybe-clean-libgui:
17028 @if libgui
17029 maybe-clean-libgui: clean-libgui
17031 clean-libgui:
17032 @$(unstage)
17033 @[ -f ./libgui/Makefile ] || exit 0; \
17034 r=`${PWD_COMMAND}`; export r; \
17035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17036 $(HOST_EXPORTS) \
17037 for flag in $(EXTRA_HOST_FLAGS) ; do \
17038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039 done; \
17040 echo "Doing clean in libgui" ; \
17041 (cd $(HOST_SUBDIR)/libgui && \
17042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044 "RANLIB=$${RANLIB}" \
17045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17046 clean) \
17047 || exit 1
17049 @endif libgui
17051 .PHONY: maybe-distclean-libgui distclean-libgui
17052 maybe-distclean-libgui:
17053 @if libgui
17054 maybe-distclean-libgui: distclean-libgui
17056 distclean-libgui:
17057 @$(unstage)
17058 @[ -f ./libgui/Makefile ] || exit 0; \
17059 r=`${PWD_COMMAND}`; export r; \
17060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17061 $(HOST_EXPORTS) \
17062 for flag in $(EXTRA_HOST_FLAGS) ; do \
17063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17064 done; \
17065 echo "Doing distclean in libgui" ; \
17066 (cd $(HOST_SUBDIR)/libgui && \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069 "RANLIB=$${RANLIB}" \
17070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071 distclean) \
17072 || exit 1
17074 @endif libgui
17076 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17077 maybe-maintainer-clean-libgui:
17078 @if libgui
17079 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17081 maintainer-clean-libgui:
17082 @$(unstage)
17083 @[ -f ./libgui/Makefile ] || exit 0; \
17084 r=`${PWD_COMMAND}`; export r; \
17085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17086 $(HOST_EXPORTS) \
17087 for flag in $(EXTRA_HOST_FLAGS) ; do \
17088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17089 done; \
17090 echo "Doing maintainer-clean in libgui" ; \
17091 (cd $(HOST_SUBDIR)/libgui && \
17092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17094 "RANLIB=$${RANLIB}" \
17095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17096 maintainer-clean) \
17097 || exit 1
17099 @endif libgui
17103 .PHONY: configure-libiberty maybe-configure-libiberty
17104 maybe-configure-libiberty:
17105 @if libiberty
17106 maybe-configure-libiberty: configure-libiberty
17107 configure-libiberty:
17108 @test -f stage_last && exit 0; \
17109 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17111 r=`${PWD_COMMAND}`; export r; \
17112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17113 $(HOST_EXPORTS) \
17114 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17115 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17116 case $(srcdir) in \
17117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17118 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17120 esac; \
17121 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17122 libsrcdir="$$s/libiberty"; \
17123 $(SHELL) $${libsrcdir}/configure \
17124 $(HOST_CONFIGARGS) $${srcdiroption} \
17125 || exit 1
17126 @endif libiberty
17130 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17131 maybe-configure-stage1-libiberty:
17132 @if libiberty-bootstrap
17133 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17134 configure-stage1-libiberty:
17135 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17136 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(HOST_EXPORTS) \
17140 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17141 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17142 case $(srcdir) in \
17143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17144 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17146 esac; \
17147 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17148 libsrcdir="$$s/libiberty"; \
17149 $(SHELL) $${libsrcdir}/configure \
17150 $(HOST_CONFIGARGS) $${srcdiroption} \
17151 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17152 @endif libiberty-bootstrap
17154 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17155 maybe-configure-stage2-libiberty:
17156 @if libiberty-bootstrap
17157 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17158 configure-stage2-libiberty:
17159 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17160 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17161 r=`${PWD_COMMAND}`; export r; \
17162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17163 $(HOST_EXPORTS) \
17164 $(POSTSTAGE1_HOST_EXPORTS) \
17165 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17166 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17167 case $(srcdir) in \
17168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17169 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17171 esac; \
17172 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17173 libsrcdir="$$s/libiberty"; \
17174 $(SHELL) $${libsrcdir}/configure \
17175 $(HOST_CONFIGARGS) $${srcdiroption} \
17176 @stage2_werror_flag@
17177 @endif libiberty-bootstrap
17179 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17180 maybe-configure-stage3-libiberty:
17181 @if libiberty-bootstrap
17182 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17183 configure-stage3-libiberty:
17184 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17185 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17186 r=`${PWD_COMMAND}`; export r; \
17187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17188 $(HOST_EXPORTS) \
17189 $(POSTSTAGE1_HOST_EXPORTS) \
17190 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17191 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17192 case $(srcdir) in \
17193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17194 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17196 esac; \
17197 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17198 libsrcdir="$$s/libiberty"; \
17199 $(SHELL) $${libsrcdir}/configure \
17200 $(HOST_CONFIGARGS) $${srcdiroption} \
17201 @stage2_werror_flag@
17202 @endif libiberty-bootstrap
17204 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17205 maybe-configure-stage4-libiberty:
17206 @if libiberty-bootstrap
17207 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17208 configure-stage4-libiberty:
17209 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17210 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17211 r=`${PWD_COMMAND}`; export r; \
17212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17213 $(HOST_EXPORTS) \
17214 $(POSTSTAGE1_HOST_EXPORTS) \
17215 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17216 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17217 case $(srcdir) in \
17218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17219 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17221 esac; \
17222 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17223 libsrcdir="$$s/libiberty"; \
17224 $(SHELL) $${libsrcdir}/configure \
17225 $(HOST_CONFIGARGS) $${srcdiroption} \
17226 @stage2_werror_flag@
17227 @endif libiberty-bootstrap
17229 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17230 maybe-configure-stageprofile-libiberty:
17231 @if libiberty-bootstrap
17232 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17233 configure-stageprofile-libiberty:
17234 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17235 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17236 r=`${PWD_COMMAND}`; export r; \
17237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17238 $(HOST_EXPORTS) \
17239 $(POSTSTAGE1_HOST_EXPORTS) \
17240 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17241 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17242 case $(srcdir) in \
17243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17244 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17246 esac; \
17247 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17248 libsrcdir="$$s/libiberty"; \
17249 $(SHELL) $${libsrcdir}/configure \
17250 $(HOST_CONFIGARGS) $${srcdiroption} \
17251 @stage2_werror_flag@
17252 @endif libiberty-bootstrap
17254 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17255 maybe-configure-stagefeedback-libiberty:
17256 @if libiberty-bootstrap
17257 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17258 configure-stagefeedback-libiberty:
17259 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17260 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17261 r=`${PWD_COMMAND}`; export r; \
17262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17263 $(HOST_EXPORTS) \
17264 $(POSTSTAGE1_HOST_EXPORTS) \
17265 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17266 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17267 case $(srcdir) in \
17268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17269 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17271 esac; \
17272 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17273 libsrcdir="$$s/libiberty"; \
17274 $(SHELL) $${libsrcdir}/configure \
17275 $(HOST_CONFIGARGS) $${srcdiroption} \
17276 @stage2_werror_flag@
17277 @endif libiberty-bootstrap
17283 .PHONY: all-libiberty maybe-all-libiberty
17284 maybe-all-libiberty:
17285 @if libiberty
17286 TARGET-libiberty=all
17287 maybe-all-libiberty: all-libiberty
17288 all-libiberty: configure-libiberty
17289 @test -f stage_last && exit 0; \
17290 r=`${PWD_COMMAND}`; export r; \
17291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17292 $(HOST_EXPORTS) \
17293 (cd $(HOST_SUBDIR)/libiberty && \
17294 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17295 @endif libiberty
17299 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17300 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17301 maybe-all-stage1-libiberty:
17302 maybe-clean-stage1-libiberty:
17303 @if libiberty-bootstrap
17304 maybe-all-stage1-libiberty: all-stage1-libiberty
17305 all-stage1: all-stage1-libiberty
17306 TARGET-stage1-libiberty = $(TARGET-libiberty)
17307 all-stage1-libiberty: configure-stage1-libiberty
17308 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17309 @r=`${PWD_COMMAND}`; export r; \
17310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17311 $(HOST_EXPORTS) \
17312 cd $(HOST_SUBDIR)/libiberty && \
17313 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17314 $(TARGET-stage1-libiberty)
17316 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17317 clean-stage1: clean-stage1-libiberty
17318 clean-stage1-libiberty:
17319 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17320 || exit 0 ; \
17321 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17322 cd $(HOST_SUBDIR)/libiberty && \
17323 $(MAKE) $(FLAGS_TO_PASS) \
17324 CFLAGS="$(STAGE1_CFLAGS)" clean
17325 @endif libiberty-bootstrap
17328 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17329 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17330 maybe-all-stage2-libiberty:
17331 maybe-clean-stage2-libiberty:
17332 @if libiberty-bootstrap
17333 maybe-all-stage2-libiberty: all-stage2-libiberty
17334 all-stage2: all-stage2-libiberty
17335 TARGET-stage2-libiberty = $(TARGET-libiberty)
17336 all-stage2-libiberty: configure-stage2-libiberty
17337 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17338 @r=`${PWD_COMMAND}`; export r; \
17339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17340 $(HOST_EXPORTS) \
17341 $(POSTSTAGE1_HOST_EXPORTS) \
17342 cd $(HOST_SUBDIR)/libiberty && \
17343 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17344 $(TARGET-stage2-libiberty)
17346 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17347 clean-stage2: clean-stage2-libiberty
17348 clean-stage2-libiberty:
17349 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17350 || exit 0 ; \
17351 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17352 cd $(HOST_SUBDIR)/libiberty && \
17353 $(MAKE) $(FLAGS_TO_PASS) \
17354 $(POSTSTAGE1_FLAGS_TO_PASS) \
17355 clean
17356 @endif libiberty-bootstrap
17359 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17360 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17361 maybe-all-stage3-libiberty:
17362 maybe-clean-stage3-libiberty:
17363 @if libiberty-bootstrap
17364 maybe-all-stage3-libiberty: all-stage3-libiberty
17365 all-stage3: all-stage3-libiberty
17366 TARGET-stage3-libiberty = $(TARGET-libiberty)
17367 all-stage3-libiberty: configure-stage3-libiberty
17368 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17369 @r=`${PWD_COMMAND}`; export r; \
17370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17371 $(HOST_EXPORTS) \
17372 $(POSTSTAGE1_HOST_EXPORTS) \
17373 cd $(HOST_SUBDIR)/libiberty && \
17374 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17375 $(TARGET-stage3-libiberty)
17377 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17378 clean-stage3: clean-stage3-libiberty
17379 clean-stage3-libiberty:
17380 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17381 || exit 0 ; \
17382 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17383 cd $(HOST_SUBDIR)/libiberty && \
17384 $(MAKE) $(FLAGS_TO_PASS) \
17385 $(POSTSTAGE1_FLAGS_TO_PASS) \
17386 clean
17387 @endif libiberty-bootstrap
17390 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17391 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17392 maybe-all-stage4-libiberty:
17393 maybe-clean-stage4-libiberty:
17394 @if libiberty-bootstrap
17395 maybe-all-stage4-libiberty: all-stage4-libiberty
17396 all-stage4: all-stage4-libiberty
17397 TARGET-stage4-libiberty = $(TARGET-libiberty)
17398 all-stage4-libiberty: configure-stage4-libiberty
17399 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17400 @r=`${PWD_COMMAND}`; export r; \
17401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17402 $(HOST_EXPORTS) \
17403 $(POSTSTAGE1_HOST_EXPORTS) \
17404 cd $(HOST_SUBDIR)/libiberty && \
17405 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17406 $(TARGET-stage4-libiberty)
17408 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17409 clean-stage4: clean-stage4-libiberty
17410 clean-stage4-libiberty:
17411 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17412 || exit 0 ; \
17413 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17414 cd $(HOST_SUBDIR)/libiberty && \
17415 $(MAKE) $(FLAGS_TO_PASS) \
17416 $(POSTSTAGE1_FLAGS_TO_PASS) \
17417 clean
17418 @endif libiberty-bootstrap
17421 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17422 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17423 maybe-all-stageprofile-libiberty:
17424 maybe-clean-stageprofile-libiberty:
17425 @if libiberty-bootstrap
17426 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17427 all-stageprofile: all-stageprofile-libiberty
17428 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17429 all-stageprofile-libiberty: configure-stageprofile-libiberty
17430 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17431 @r=`${PWD_COMMAND}`; export r; \
17432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17433 $(HOST_EXPORTS) \
17434 $(POSTSTAGE1_HOST_EXPORTS) \
17435 cd $(HOST_SUBDIR)/libiberty && \
17436 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17437 $(TARGET-stageprofile-libiberty)
17439 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17440 clean-stageprofile: clean-stageprofile-libiberty
17441 clean-stageprofile-libiberty:
17442 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17443 || exit 0 ; \
17444 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17445 cd $(HOST_SUBDIR)/libiberty && \
17446 $(MAKE) $(FLAGS_TO_PASS) \
17447 $(POSTSTAGE1_FLAGS_TO_PASS) \
17448 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17449 @endif libiberty-bootstrap
17452 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17453 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17454 maybe-all-stagefeedback-libiberty:
17455 maybe-clean-stagefeedback-libiberty:
17456 @if libiberty-bootstrap
17457 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17458 all-stagefeedback: all-stagefeedback-libiberty
17459 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17460 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17461 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17462 @r=`${PWD_COMMAND}`; export r; \
17463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17464 $(HOST_EXPORTS) \
17465 $(POSTSTAGE1_HOST_EXPORTS) \
17466 cd $(HOST_SUBDIR)/libiberty && \
17467 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17468 $(TARGET-stagefeedback-libiberty)
17470 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17471 clean-stagefeedback: clean-stagefeedback-libiberty
17472 clean-stagefeedback-libiberty:
17473 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17474 || exit 0 ; \
17475 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17476 cd $(HOST_SUBDIR)/libiberty && \
17477 $(MAKE) $(FLAGS_TO_PASS) \
17478 $(POSTSTAGE1_FLAGS_TO_PASS) \
17479 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17480 @endif libiberty-bootstrap
17486 .PHONY: check-libiberty maybe-check-libiberty
17487 maybe-check-libiberty:
17488 @if libiberty
17489 maybe-check-libiberty: check-libiberty
17491 check-libiberty:
17492 @$(unstage)
17493 @r=`${PWD_COMMAND}`; export r; \
17494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17495 $(HOST_EXPORTS) \
17496 (cd $(HOST_SUBDIR)/libiberty && \
17497 $(MAKE) $(FLAGS_TO_PASS) check)
17499 @endif libiberty
17501 .PHONY: install-libiberty maybe-install-libiberty
17502 maybe-install-libiberty:
17503 @if libiberty
17504 maybe-install-libiberty: install-libiberty
17506 install-libiberty: installdirs
17507 @$(unstage)
17508 @r=`${PWD_COMMAND}`; export r; \
17509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17510 $(HOST_EXPORTS) \
17511 (cd $(HOST_SUBDIR)/libiberty && \
17512 $(MAKE) $(FLAGS_TO_PASS) install)
17514 @endif libiberty
17516 # Other targets (info, dvi, etc.)
17518 .PHONY: maybe-info-libiberty info-libiberty
17519 maybe-info-libiberty:
17520 @if libiberty
17521 maybe-info-libiberty: info-libiberty
17523 info-libiberty: \
17524 configure-libiberty
17525 @[ -f ./libiberty/Makefile ] || exit 0; \
17526 r=`${PWD_COMMAND}`; export r; \
17527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17528 $(HOST_EXPORTS) \
17529 for flag in $(EXTRA_HOST_FLAGS) ; do \
17530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17531 done; \
17532 echo "Doing info in libiberty" ; \
17533 (cd $(HOST_SUBDIR)/libiberty && \
17534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17536 "RANLIB=$${RANLIB}" \
17537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17538 info) \
17539 || exit 1
17541 @endif libiberty
17543 .PHONY: maybe-dvi-libiberty dvi-libiberty
17544 maybe-dvi-libiberty:
17545 @if libiberty
17546 maybe-dvi-libiberty: dvi-libiberty
17548 dvi-libiberty: \
17549 configure-libiberty
17550 @[ -f ./libiberty/Makefile ] || exit 0; \
17551 r=`${PWD_COMMAND}`; export r; \
17552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17553 $(HOST_EXPORTS) \
17554 for flag in $(EXTRA_HOST_FLAGS) ; do \
17555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17556 done; \
17557 echo "Doing dvi in libiberty" ; \
17558 (cd $(HOST_SUBDIR)/libiberty && \
17559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17561 "RANLIB=$${RANLIB}" \
17562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17563 dvi) \
17564 || exit 1
17566 @endif libiberty
17568 .PHONY: maybe-html-libiberty html-libiberty
17569 maybe-html-libiberty:
17570 @if libiberty
17571 maybe-html-libiberty: html-libiberty
17573 html-libiberty: \
17574 configure-libiberty
17575 @[ -f ./libiberty/Makefile ] || exit 0; \
17576 r=`${PWD_COMMAND}`; export r; \
17577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17578 $(HOST_EXPORTS) \
17579 for flag in $(EXTRA_HOST_FLAGS) ; do \
17580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17581 done; \
17582 echo "Doing html in libiberty" ; \
17583 (cd $(HOST_SUBDIR)/libiberty && \
17584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17586 "RANLIB=$${RANLIB}" \
17587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17588 html) \
17589 || exit 1
17591 @endif libiberty
17593 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
17594 maybe-TAGS-libiberty:
17595 @if libiberty
17596 maybe-TAGS-libiberty: TAGS-libiberty
17598 TAGS-libiberty: \
17599 configure-libiberty
17600 @[ -f ./libiberty/Makefile ] || exit 0; \
17601 r=`${PWD_COMMAND}`; export r; \
17602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17603 $(HOST_EXPORTS) \
17604 for flag in $(EXTRA_HOST_FLAGS) ; do \
17605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17606 done; \
17607 echo "Doing TAGS in libiberty" ; \
17608 (cd $(HOST_SUBDIR)/libiberty && \
17609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17611 "RANLIB=$${RANLIB}" \
17612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17613 TAGS) \
17614 || exit 1
17616 @endif libiberty
17618 .PHONY: maybe-install-info-libiberty install-info-libiberty
17619 maybe-install-info-libiberty:
17620 @if libiberty
17621 maybe-install-info-libiberty: install-info-libiberty
17623 install-info-libiberty: \
17624 configure-libiberty \
17625 info-libiberty
17626 @[ -f ./libiberty/Makefile ] || exit 0; \
17627 r=`${PWD_COMMAND}`; export r; \
17628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17629 $(HOST_EXPORTS) \
17630 for flag in $(EXTRA_HOST_FLAGS) ; do \
17631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17632 done; \
17633 echo "Doing install-info in libiberty" ; \
17634 (cd $(HOST_SUBDIR)/libiberty && \
17635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17637 "RANLIB=$${RANLIB}" \
17638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17639 install-info) \
17640 || exit 1
17642 @endif libiberty
17644 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
17645 maybe-installcheck-libiberty:
17646 @if libiberty
17647 maybe-installcheck-libiberty: installcheck-libiberty
17649 installcheck-libiberty: \
17650 configure-libiberty
17651 @[ -f ./libiberty/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 $(HOST_EXPORTS) \
17655 for flag in $(EXTRA_HOST_FLAGS) ; do \
17656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17657 done; \
17658 echo "Doing installcheck in libiberty" ; \
17659 (cd $(HOST_SUBDIR)/libiberty && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17662 "RANLIB=$${RANLIB}" \
17663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17664 installcheck) \
17665 || exit 1
17667 @endif libiberty
17669 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
17670 maybe-mostlyclean-libiberty:
17671 @if libiberty
17672 maybe-mostlyclean-libiberty: mostlyclean-libiberty
17674 mostlyclean-libiberty:
17675 @[ -f ./libiberty/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing mostlyclean in libiberty" ; \
17683 (cd $(HOST_SUBDIR)/libiberty && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17688 mostlyclean) \
17689 || exit 1
17691 @endif libiberty
17693 .PHONY: maybe-clean-libiberty clean-libiberty
17694 maybe-clean-libiberty:
17695 @if libiberty
17696 maybe-clean-libiberty: clean-libiberty
17698 clean-libiberty:
17699 @[ -f ./libiberty/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing clean in libiberty" ; \
17707 (cd $(HOST_SUBDIR)/libiberty && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17712 clean) \
17713 || exit 1
17715 @endif libiberty
17717 .PHONY: maybe-distclean-libiberty distclean-libiberty
17718 maybe-distclean-libiberty:
17719 @if libiberty
17720 maybe-distclean-libiberty: distclean-libiberty
17722 distclean-libiberty:
17723 @[ -f ./libiberty/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(HOST_EXPORTS) \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 done; \
17730 echo "Doing distclean in libiberty" ; \
17731 (cd $(HOST_SUBDIR)/libiberty && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17736 distclean) \
17737 || exit 1
17739 @endif libiberty
17741 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17742 maybe-maintainer-clean-libiberty:
17743 @if libiberty
17744 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17746 maintainer-clean-libiberty:
17747 @[ -f ./libiberty/Makefile ] || exit 0; \
17748 r=`${PWD_COMMAND}`; export r; \
17749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17750 $(HOST_EXPORTS) \
17751 for flag in $(EXTRA_HOST_FLAGS) ; do \
17752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17753 done; \
17754 echo "Doing maintainer-clean in libiberty" ; \
17755 (cd $(HOST_SUBDIR)/libiberty && \
17756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17758 "RANLIB=$${RANLIB}" \
17759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17760 maintainer-clean) \
17761 || exit 1
17763 @endif libiberty
17767 .PHONY: configure-libtool maybe-configure-libtool
17768 maybe-configure-libtool:
17769 @if libtool
17770 maybe-configure-libtool: configure-libtool
17771 configure-libtool:
17772 @$(unstage)
17773 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17775 r=`${PWD_COMMAND}`; export r; \
17776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17777 $(HOST_EXPORTS) \
17778 echo Configuring in $(HOST_SUBDIR)/libtool; \
17779 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17780 case $(srcdir) in \
17781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17782 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17784 esac; \
17785 srcdiroption="--srcdir=$${topdir}/libtool"; \
17786 libsrcdir="$$s/libtool"; \
17787 $(SHELL) $${libsrcdir}/configure \
17788 $(HOST_CONFIGARGS) $${srcdiroption} \
17789 || exit 1
17790 @endif libtool
17796 .PHONY: all-libtool maybe-all-libtool
17797 maybe-all-libtool:
17798 @if libtool
17799 TARGET-libtool=all
17800 maybe-all-libtool: all-libtool
17801 all-libtool: configure-libtool
17802 @$(unstage)
17803 @r=`${PWD_COMMAND}`; export r; \
17804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17805 $(HOST_EXPORTS) \
17806 (cd $(HOST_SUBDIR)/libtool && \
17807 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17808 @endif libtool
17813 .PHONY: check-libtool maybe-check-libtool
17814 maybe-check-libtool:
17815 @if libtool
17816 maybe-check-libtool: check-libtool
17818 check-libtool:
17819 @$(unstage)
17820 @r=`${PWD_COMMAND}`; export r; \
17821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17822 $(HOST_EXPORTS) \
17823 (cd $(HOST_SUBDIR)/libtool && \
17824 $(MAKE) $(FLAGS_TO_PASS) check)
17826 @endif libtool
17828 .PHONY: install-libtool maybe-install-libtool
17829 maybe-install-libtool:
17830 @if libtool
17831 maybe-install-libtool: install-libtool
17833 install-libtool: installdirs
17834 @$(unstage)
17835 @r=`${PWD_COMMAND}`; export r; \
17836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17837 $(HOST_EXPORTS) \
17838 (cd $(HOST_SUBDIR)/libtool && \
17839 $(MAKE) $(FLAGS_TO_PASS) install)
17841 @endif libtool
17843 # Other targets (info, dvi, etc.)
17845 .PHONY: maybe-info-libtool info-libtool
17846 maybe-info-libtool:
17847 @if libtool
17848 maybe-info-libtool: info-libtool
17850 info-libtool: \
17851 configure-libtool
17852 @$(unstage)
17853 @[ -f ./libtool/Makefile ] || exit 0; \
17854 r=`${PWD_COMMAND}`; export r; \
17855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17856 $(HOST_EXPORTS) \
17857 for flag in $(EXTRA_HOST_FLAGS) ; do \
17858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17859 done; \
17860 echo "Doing info in libtool" ; \
17861 (cd $(HOST_SUBDIR)/libtool && \
17862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17864 "RANLIB=$${RANLIB}" \
17865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17866 info) \
17867 || exit 1
17869 @endif libtool
17871 .PHONY: maybe-dvi-libtool dvi-libtool
17872 maybe-dvi-libtool:
17873 @if libtool
17874 maybe-dvi-libtool: dvi-libtool
17876 dvi-libtool: \
17877 configure-libtool
17878 @$(unstage)
17879 @[ -f ./libtool/Makefile ] || exit 0; \
17880 r=`${PWD_COMMAND}`; export r; \
17881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17882 $(HOST_EXPORTS) \
17883 for flag in $(EXTRA_HOST_FLAGS) ; do \
17884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17885 done; \
17886 echo "Doing dvi in libtool" ; \
17887 (cd $(HOST_SUBDIR)/libtool && \
17888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17890 "RANLIB=$${RANLIB}" \
17891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17892 dvi) \
17893 || exit 1
17895 @endif libtool
17897 .PHONY: maybe-html-libtool html-libtool
17898 maybe-html-libtool:
17899 @if libtool
17900 maybe-html-libtool: html-libtool
17902 html-libtool: \
17903 configure-libtool
17904 @$(unstage)
17905 @[ -f ./libtool/Makefile ] || exit 0; \
17906 r=`${PWD_COMMAND}`; export r; \
17907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17908 $(HOST_EXPORTS) \
17909 for flag in $(EXTRA_HOST_FLAGS) ; do \
17910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17911 done; \
17912 echo "Doing html in libtool" ; \
17913 (cd $(HOST_SUBDIR)/libtool && \
17914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17916 "RANLIB=$${RANLIB}" \
17917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17918 html) \
17919 || exit 1
17921 @endif libtool
17923 .PHONY: maybe-TAGS-libtool TAGS-libtool
17924 maybe-TAGS-libtool:
17925 @if libtool
17926 maybe-TAGS-libtool: TAGS-libtool
17928 TAGS-libtool: \
17929 configure-libtool
17930 @$(unstage)
17931 @[ -f ./libtool/Makefile ] || exit 0; \
17932 r=`${PWD_COMMAND}`; export r; \
17933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17934 $(HOST_EXPORTS) \
17935 for flag in $(EXTRA_HOST_FLAGS) ; do \
17936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17937 done; \
17938 echo "Doing TAGS in libtool" ; \
17939 (cd $(HOST_SUBDIR)/libtool && \
17940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17942 "RANLIB=$${RANLIB}" \
17943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17944 TAGS) \
17945 || exit 1
17947 @endif libtool
17949 .PHONY: maybe-install-info-libtool install-info-libtool
17950 maybe-install-info-libtool:
17951 @if libtool
17952 maybe-install-info-libtool: install-info-libtool
17954 install-info-libtool: \
17955 configure-libtool \
17956 info-libtool
17957 @$(unstage)
17958 @[ -f ./libtool/Makefile ] || exit 0; \
17959 r=`${PWD_COMMAND}`; export r; \
17960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17961 $(HOST_EXPORTS) \
17962 for flag in $(EXTRA_HOST_FLAGS) ; do \
17963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17964 done; \
17965 echo "Doing install-info in libtool" ; \
17966 (cd $(HOST_SUBDIR)/libtool && \
17967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17969 "RANLIB=$${RANLIB}" \
17970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17971 install-info) \
17972 || exit 1
17974 @endif libtool
17976 .PHONY: maybe-installcheck-libtool installcheck-libtool
17977 maybe-installcheck-libtool:
17978 @if libtool
17979 maybe-installcheck-libtool: installcheck-libtool
17981 installcheck-libtool: \
17982 configure-libtool
17983 @$(unstage)
17984 @[ -f ./libtool/Makefile ] || exit 0; \
17985 r=`${PWD_COMMAND}`; export r; \
17986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17987 $(HOST_EXPORTS) \
17988 for flag in $(EXTRA_HOST_FLAGS) ; do \
17989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17990 done; \
17991 echo "Doing installcheck in libtool" ; \
17992 (cd $(HOST_SUBDIR)/libtool && \
17993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17995 "RANLIB=$${RANLIB}" \
17996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17997 installcheck) \
17998 || exit 1
18000 @endif libtool
18002 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18003 maybe-mostlyclean-libtool:
18004 @if libtool
18005 maybe-mostlyclean-libtool: mostlyclean-libtool
18007 mostlyclean-libtool:
18008 @$(unstage)
18009 @[ -f ./libtool/Makefile ] || exit 0; \
18010 r=`${PWD_COMMAND}`; export r; \
18011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18012 $(HOST_EXPORTS) \
18013 for flag in $(EXTRA_HOST_FLAGS) ; do \
18014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18015 done; \
18016 echo "Doing mostlyclean in libtool" ; \
18017 (cd $(HOST_SUBDIR)/libtool && \
18018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18020 "RANLIB=$${RANLIB}" \
18021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18022 mostlyclean) \
18023 || exit 1
18025 @endif libtool
18027 .PHONY: maybe-clean-libtool clean-libtool
18028 maybe-clean-libtool:
18029 @if libtool
18030 maybe-clean-libtool: clean-libtool
18032 clean-libtool:
18033 @$(unstage)
18034 @[ -f ./libtool/Makefile ] || exit 0; \
18035 r=`${PWD_COMMAND}`; export r; \
18036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18037 $(HOST_EXPORTS) \
18038 for flag in $(EXTRA_HOST_FLAGS) ; do \
18039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18040 done; \
18041 echo "Doing clean in libtool" ; \
18042 (cd $(HOST_SUBDIR)/libtool && \
18043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18045 "RANLIB=$${RANLIB}" \
18046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18047 clean) \
18048 || exit 1
18050 @endif libtool
18052 .PHONY: maybe-distclean-libtool distclean-libtool
18053 maybe-distclean-libtool:
18054 @if libtool
18055 maybe-distclean-libtool: distclean-libtool
18057 distclean-libtool:
18058 @$(unstage)
18059 @[ -f ./libtool/Makefile ] || exit 0; \
18060 r=`${PWD_COMMAND}`; export r; \
18061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18062 $(HOST_EXPORTS) \
18063 for flag in $(EXTRA_HOST_FLAGS) ; do \
18064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18065 done; \
18066 echo "Doing distclean in libtool" ; \
18067 (cd $(HOST_SUBDIR)/libtool && \
18068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18070 "RANLIB=$${RANLIB}" \
18071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18072 distclean) \
18073 || exit 1
18075 @endif libtool
18077 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18078 maybe-maintainer-clean-libtool:
18079 @if libtool
18080 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18082 maintainer-clean-libtool:
18083 @$(unstage)
18084 @[ -f ./libtool/Makefile ] || exit 0; \
18085 r=`${PWD_COMMAND}`; export r; \
18086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18087 $(HOST_EXPORTS) \
18088 for flag in $(EXTRA_HOST_FLAGS) ; do \
18089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18090 done; \
18091 echo "Doing maintainer-clean in libtool" ; \
18092 (cd $(HOST_SUBDIR)/libtool && \
18093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18095 "RANLIB=$${RANLIB}" \
18096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18097 maintainer-clean) \
18098 || exit 1
18100 @endif libtool
18104 .PHONY: configure-m4 maybe-configure-m4
18105 maybe-configure-m4:
18106 @if m4
18107 maybe-configure-m4: configure-m4
18108 configure-m4:
18109 @$(unstage)
18110 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18112 r=`${PWD_COMMAND}`; export r; \
18113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18114 $(HOST_EXPORTS) \
18115 echo Configuring in $(HOST_SUBDIR)/m4; \
18116 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18117 case $(srcdir) in \
18118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18119 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18121 esac; \
18122 srcdiroption="--srcdir=$${topdir}/m4"; \
18123 libsrcdir="$$s/m4"; \
18124 $(SHELL) $${libsrcdir}/configure \
18125 $(HOST_CONFIGARGS) $${srcdiroption} \
18126 || exit 1
18127 @endif m4
18133 .PHONY: all-m4 maybe-all-m4
18134 maybe-all-m4:
18135 @if m4
18136 TARGET-m4=all
18137 maybe-all-m4: all-m4
18138 all-m4: configure-m4
18139 @$(unstage)
18140 @r=`${PWD_COMMAND}`; export r; \
18141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18142 $(HOST_EXPORTS) \
18143 (cd $(HOST_SUBDIR)/m4 && \
18144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18145 @endif m4
18150 .PHONY: check-m4 maybe-check-m4
18151 maybe-check-m4:
18152 @if m4
18153 maybe-check-m4: check-m4
18155 check-m4:
18156 @$(unstage)
18157 @r=`${PWD_COMMAND}`; export r; \
18158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18159 $(HOST_EXPORTS) \
18160 (cd $(HOST_SUBDIR)/m4 && \
18161 $(MAKE) $(FLAGS_TO_PASS) check)
18163 @endif m4
18165 .PHONY: install-m4 maybe-install-m4
18166 maybe-install-m4:
18167 @if m4
18168 maybe-install-m4: install-m4
18170 install-m4: installdirs
18171 @$(unstage)
18172 @r=`${PWD_COMMAND}`; export r; \
18173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18174 $(HOST_EXPORTS) \
18175 (cd $(HOST_SUBDIR)/m4 && \
18176 $(MAKE) $(FLAGS_TO_PASS) install)
18178 @endif m4
18180 # Other targets (info, dvi, etc.)
18182 .PHONY: maybe-info-m4 info-m4
18183 maybe-info-m4:
18184 @if m4
18185 maybe-info-m4: info-m4
18187 info-m4: \
18188 configure-m4
18189 @$(unstage)
18190 @[ -f ./m4/Makefile ] || exit 0; \
18191 r=`${PWD_COMMAND}`; export r; \
18192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18193 $(HOST_EXPORTS) \
18194 for flag in $(EXTRA_HOST_FLAGS) ; do \
18195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18196 done; \
18197 echo "Doing info in m4" ; \
18198 (cd $(HOST_SUBDIR)/m4 && \
18199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18201 "RANLIB=$${RANLIB}" \
18202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18203 info) \
18204 || exit 1
18206 @endif m4
18208 .PHONY: maybe-dvi-m4 dvi-m4
18209 maybe-dvi-m4:
18210 @if m4
18211 maybe-dvi-m4: dvi-m4
18213 dvi-m4: \
18214 configure-m4
18215 @$(unstage)
18216 @[ -f ./m4/Makefile ] || exit 0; \
18217 r=`${PWD_COMMAND}`; export r; \
18218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18219 $(HOST_EXPORTS) \
18220 for flag in $(EXTRA_HOST_FLAGS) ; do \
18221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18222 done; \
18223 echo "Doing dvi in m4" ; \
18224 (cd $(HOST_SUBDIR)/m4 && \
18225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18227 "RANLIB=$${RANLIB}" \
18228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18229 dvi) \
18230 || exit 1
18232 @endif m4
18234 .PHONY: maybe-html-m4 html-m4
18235 maybe-html-m4:
18236 @if m4
18237 maybe-html-m4: html-m4
18239 html-m4: \
18240 configure-m4
18241 @$(unstage)
18242 @[ -f ./m4/Makefile ] || exit 0; \
18243 r=`${PWD_COMMAND}`; export r; \
18244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18245 $(HOST_EXPORTS) \
18246 for flag in $(EXTRA_HOST_FLAGS) ; do \
18247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18248 done; \
18249 echo "Doing html in m4" ; \
18250 (cd $(HOST_SUBDIR)/m4 && \
18251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18253 "RANLIB=$${RANLIB}" \
18254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18255 html) \
18256 || exit 1
18258 @endif m4
18260 .PHONY: maybe-TAGS-m4 TAGS-m4
18261 maybe-TAGS-m4:
18262 @if m4
18263 maybe-TAGS-m4: TAGS-m4
18265 TAGS-m4: \
18266 configure-m4
18267 @$(unstage)
18268 @[ -f ./m4/Makefile ] || exit 0; \
18269 r=`${PWD_COMMAND}`; export r; \
18270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18271 $(HOST_EXPORTS) \
18272 for flag in $(EXTRA_HOST_FLAGS) ; do \
18273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18274 done; \
18275 echo "Doing TAGS in m4" ; \
18276 (cd $(HOST_SUBDIR)/m4 && \
18277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18279 "RANLIB=$${RANLIB}" \
18280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18281 TAGS) \
18282 || exit 1
18284 @endif m4
18286 .PHONY: maybe-install-info-m4 install-info-m4
18287 maybe-install-info-m4:
18288 @if m4
18289 maybe-install-info-m4: install-info-m4
18291 install-info-m4: \
18292 configure-m4 \
18293 info-m4
18294 @$(unstage)
18295 @[ -f ./m4/Makefile ] || exit 0; \
18296 r=`${PWD_COMMAND}`; export r; \
18297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18298 $(HOST_EXPORTS) \
18299 for flag in $(EXTRA_HOST_FLAGS) ; do \
18300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18301 done; \
18302 echo "Doing install-info in m4" ; \
18303 (cd $(HOST_SUBDIR)/m4 && \
18304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18306 "RANLIB=$${RANLIB}" \
18307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18308 install-info) \
18309 || exit 1
18311 @endif m4
18313 .PHONY: maybe-installcheck-m4 installcheck-m4
18314 maybe-installcheck-m4:
18315 @if m4
18316 maybe-installcheck-m4: installcheck-m4
18318 installcheck-m4: \
18319 configure-m4
18320 @$(unstage)
18321 @[ -f ./m4/Makefile ] || exit 0; \
18322 r=`${PWD_COMMAND}`; export r; \
18323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18324 $(HOST_EXPORTS) \
18325 for flag in $(EXTRA_HOST_FLAGS) ; do \
18326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18327 done; \
18328 echo "Doing installcheck in m4" ; \
18329 (cd $(HOST_SUBDIR)/m4 && \
18330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18332 "RANLIB=$${RANLIB}" \
18333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18334 installcheck) \
18335 || exit 1
18337 @endif m4
18339 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18340 maybe-mostlyclean-m4:
18341 @if m4
18342 maybe-mostlyclean-m4: mostlyclean-m4
18344 mostlyclean-m4:
18345 @$(unstage)
18346 @[ -f ./m4/Makefile ] || exit 0; \
18347 r=`${PWD_COMMAND}`; export r; \
18348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18349 $(HOST_EXPORTS) \
18350 for flag in $(EXTRA_HOST_FLAGS) ; do \
18351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18352 done; \
18353 echo "Doing mostlyclean in m4" ; \
18354 (cd $(HOST_SUBDIR)/m4 && \
18355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18357 "RANLIB=$${RANLIB}" \
18358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18359 mostlyclean) \
18360 || exit 1
18362 @endif m4
18364 .PHONY: maybe-clean-m4 clean-m4
18365 maybe-clean-m4:
18366 @if m4
18367 maybe-clean-m4: clean-m4
18369 clean-m4:
18370 @$(unstage)
18371 @[ -f ./m4/Makefile ] || exit 0; \
18372 r=`${PWD_COMMAND}`; export r; \
18373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18374 $(HOST_EXPORTS) \
18375 for flag in $(EXTRA_HOST_FLAGS) ; do \
18376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18377 done; \
18378 echo "Doing clean in m4" ; \
18379 (cd $(HOST_SUBDIR)/m4 && \
18380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18382 "RANLIB=$${RANLIB}" \
18383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18384 clean) \
18385 || exit 1
18387 @endif m4
18389 .PHONY: maybe-distclean-m4 distclean-m4
18390 maybe-distclean-m4:
18391 @if m4
18392 maybe-distclean-m4: distclean-m4
18394 distclean-m4:
18395 @$(unstage)
18396 @[ -f ./m4/Makefile ] || exit 0; \
18397 r=`${PWD_COMMAND}`; export r; \
18398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18399 $(HOST_EXPORTS) \
18400 for flag in $(EXTRA_HOST_FLAGS) ; do \
18401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18402 done; \
18403 echo "Doing distclean in m4" ; \
18404 (cd $(HOST_SUBDIR)/m4 && \
18405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18407 "RANLIB=$${RANLIB}" \
18408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18409 distclean) \
18410 || exit 1
18412 @endif m4
18414 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18415 maybe-maintainer-clean-m4:
18416 @if m4
18417 maybe-maintainer-clean-m4: maintainer-clean-m4
18419 maintainer-clean-m4:
18420 @$(unstage)
18421 @[ -f ./m4/Makefile ] || exit 0; \
18422 r=`${PWD_COMMAND}`; export r; \
18423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18424 $(HOST_EXPORTS) \
18425 for flag in $(EXTRA_HOST_FLAGS) ; do \
18426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18427 done; \
18428 echo "Doing maintainer-clean in m4" ; \
18429 (cd $(HOST_SUBDIR)/m4 && \
18430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18432 "RANLIB=$${RANLIB}" \
18433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18434 maintainer-clean) \
18435 || exit 1
18437 @endif m4
18441 .PHONY: configure-make maybe-configure-make
18442 maybe-configure-make:
18443 @if make
18444 maybe-configure-make: configure-make
18445 configure-make:
18446 @$(unstage)
18447 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18449 r=`${PWD_COMMAND}`; export r; \
18450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18451 $(HOST_EXPORTS) \
18452 echo Configuring in $(HOST_SUBDIR)/make; \
18453 cd "$(HOST_SUBDIR)/make" || exit 1; \
18454 case $(srcdir) in \
18455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18456 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18458 esac; \
18459 srcdiroption="--srcdir=$${topdir}/make"; \
18460 libsrcdir="$$s/make"; \
18461 $(SHELL) $${libsrcdir}/configure \
18462 $(HOST_CONFIGARGS) $${srcdiroption} \
18463 || exit 1
18464 @endif make
18470 .PHONY: all-make maybe-all-make
18471 maybe-all-make:
18472 @if make
18473 TARGET-make=all
18474 maybe-all-make: all-make
18475 all-make: configure-make
18476 @$(unstage)
18477 @r=`${PWD_COMMAND}`; export r; \
18478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18479 $(HOST_EXPORTS) \
18480 (cd $(HOST_SUBDIR)/make && \
18481 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18482 @endif make
18487 .PHONY: check-make maybe-check-make
18488 maybe-check-make:
18489 @if make
18490 maybe-check-make: check-make
18492 check-make:
18493 @$(unstage)
18494 @r=`${PWD_COMMAND}`; export r; \
18495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18496 $(HOST_EXPORTS) \
18497 (cd $(HOST_SUBDIR)/make && \
18498 $(MAKE) $(FLAGS_TO_PASS) check)
18500 @endif make
18502 .PHONY: install-make maybe-install-make
18503 maybe-install-make:
18504 @if make
18505 maybe-install-make: install-make
18507 install-make: installdirs
18508 @$(unstage)
18509 @r=`${PWD_COMMAND}`; export r; \
18510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18511 $(HOST_EXPORTS) \
18512 (cd $(HOST_SUBDIR)/make && \
18513 $(MAKE) $(FLAGS_TO_PASS) install)
18515 @endif make
18517 # Other targets (info, dvi, etc.)
18519 .PHONY: maybe-info-make info-make
18520 maybe-info-make:
18521 @if make
18522 maybe-info-make: info-make
18524 info-make: \
18525 configure-make
18526 @$(unstage)
18527 @[ -f ./make/Makefile ] || exit 0; \
18528 r=`${PWD_COMMAND}`; export r; \
18529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18530 $(HOST_EXPORTS) \
18531 for flag in $(EXTRA_HOST_FLAGS) ; do \
18532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18533 done; \
18534 echo "Doing info in make" ; \
18535 (cd $(HOST_SUBDIR)/make && \
18536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18538 "RANLIB=$${RANLIB}" \
18539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18540 info) \
18541 || exit 1
18543 @endif make
18545 .PHONY: maybe-dvi-make dvi-make
18546 maybe-dvi-make:
18547 @if make
18548 maybe-dvi-make: dvi-make
18550 dvi-make: \
18551 configure-make
18552 @$(unstage)
18553 @[ -f ./make/Makefile ] || exit 0; \
18554 r=`${PWD_COMMAND}`; export r; \
18555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18556 $(HOST_EXPORTS) \
18557 for flag in $(EXTRA_HOST_FLAGS) ; do \
18558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18559 done; \
18560 echo "Doing dvi in make" ; \
18561 (cd $(HOST_SUBDIR)/make && \
18562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18564 "RANLIB=$${RANLIB}" \
18565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18566 dvi) \
18567 || exit 1
18569 @endif make
18571 .PHONY: maybe-html-make html-make
18572 maybe-html-make:
18573 @if make
18574 maybe-html-make: html-make
18576 html-make: \
18577 configure-make
18578 @$(unstage)
18579 @[ -f ./make/Makefile ] || exit 0; \
18580 r=`${PWD_COMMAND}`; export r; \
18581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18582 $(HOST_EXPORTS) \
18583 for flag in $(EXTRA_HOST_FLAGS) ; do \
18584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18585 done; \
18586 echo "Doing html in make" ; \
18587 (cd $(HOST_SUBDIR)/make && \
18588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18590 "RANLIB=$${RANLIB}" \
18591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18592 html) \
18593 || exit 1
18595 @endif make
18597 .PHONY: maybe-TAGS-make TAGS-make
18598 maybe-TAGS-make:
18599 @if make
18600 maybe-TAGS-make: TAGS-make
18602 TAGS-make: \
18603 configure-make
18604 @$(unstage)
18605 @[ -f ./make/Makefile ] || exit 0; \
18606 r=`${PWD_COMMAND}`; export r; \
18607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18608 $(HOST_EXPORTS) \
18609 for flag in $(EXTRA_HOST_FLAGS) ; do \
18610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18611 done; \
18612 echo "Doing TAGS in make" ; \
18613 (cd $(HOST_SUBDIR)/make && \
18614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18616 "RANLIB=$${RANLIB}" \
18617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18618 TAGS) \
18619 || exit 1
18621 @endif make
18623 .PHONY: maybe-install-info-make install-info-make
18624 maybe-install-info-make:
18625 @if make
18626 maybe-install-info-make: install-info-make
18628 install-info-make: \
18629 configure-make \
18630 info-make
18631 @$(unstage)
18632 @[ -f ./make/Makefile ] || exit 0; \
18633 r=`${PWD_COMMAND}`; export r; \
18634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18635 $(HOST_EXPORTS) \
18636 for flag in $(EXTRA_HOST_FLAGS) ; do \
18637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18638 done; \
18639 echo "Doing install-info in make" ; \
18640 (cd $(HOST_SUBDIR)/make && \
18641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18643 "RANLIB=$${RANLIB}" \
18644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18645 install-info) \
18646 || exit 1
18648 @endif make
18650 .PHONY: maybe-installcheck-make installcheck-make
18651 maybe-installcheck-make:
18652 @if make
18653 maybe-installcheck-make: installcheck-make
18655 installcheck-make: \
18656 configure-make
18657 @$(unstage)
18658 @[ -f ./make/Makefile ] || exit 0; \
18659 r=`${PWD_COMMAND}`; export r; \
18660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18661 $(HOST_EXPORTS) \
18662 for flag in $(EXTRA_HOST_FLAGS) ; do \
18663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18664 done; \
18665 echo "Doing installcheck in make" ; \
18666 (cd $(HOST_SUBDIR)/make && \
18667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18669 "RANLIB=$${RANLIB}" \
18670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18671 installcheck) \
18672 || exit 1
18674 @endif make
18676 .PHONY: maybe-mostlyclean-make mostlyclean-make
18677 maybe-mostlyclean-make:
18678 @if make
18679 maybe-mostlyclean-make: mostlyclean-make
18681 mostlyclean-make:
18682 @$(unstage)
18683 @[ -f ./make/Makefile ] || exit 0; \
18684 r=`${PWD_COMMAND}`; export r; \
18685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18686 $(HOST_EXPORTS) \
18687 for flag in $(EXTRA_HOST_FLAGS) ; do \
18688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18689 done; \
18690 echo "Doing mostlyclean in make" ; \
18691 (cd $(HOST_SUBDIR)/make && \
18692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18694 "RANLIB=$${RANLIB}" \
18695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18696 mostlyclean) \
18697 || exit 1
18699 @endif make
18701 .PHONY: maybe-clean-make clean-make
18702 maybe-clean-make:
18703 @if make
18704 maybe-clean-make: clean-make
18706 clean-make:
18707 @$(unstage)
18708 @[ -f ./make/Makefile ] || exit 0; \
18709 r=`${PWD_COMMAND}`; export r; \
18710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18711 $(HOST_EXPORTS) \
18712 for flag in $(EXTRA_HOST_FLAGS) ; do \
18713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18714 done; \
18715 echo "Doing clean in make" ; \
18716 (cd $(HOST_SUBDIR)/make && \
18717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18719 "RANLIB=$${RANLIB}" \
18720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18721 clean) \
18722 || exit 1
18724 @endif make
18726 .PHONY: maybe-distclean-make distclean-make
18727 maybe-distclean-make:
18728 @if make
18729 maybe-distclean-make: distclean-make
18731 distclean-make:
18732 @$(unstage)
18733 @[ -f ./make/Makefile ] || exit 0; \
18734 r=`${PWD_COMMAND}`; export r; \
18735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18736 $(HOST_EXPORTS) \
18737 for flag in $(EXTRA_HOST_FLAGS) ; do \
18738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18739 done; \
18740 echo "Doing distclean in make" ; \
18741 (cd $(HOST_SUBDIR)/make && \
18742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18744 "RANLIB=$${RANLIB}" \
18745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18746 distclean) \
18747 || exit 1
18749 @endif make
18751 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18752 maybe-maintainer-clean-make:
18753 @if make
18754 maybe-maintainer-clean-make: maintainer-clean-make
18756 maintainer-clean-make:
18757 @$(unstage)
18758 @[ -f ./make/Makefile ] || exit 0; \
18759 r=`${PWD_COMMAND}`; export r; \
18760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18761 $(HOST_EXPORTS) \
18762 for flag in $(EXTRA_HOST_FLAGS) ; do \
18763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18764 done; \
18765 echo "Doing maintainer-clean in make" ; \
18766 (cd $(HOST_SUBDIR)/make && \
18767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18769 "RANLIB=$${RANLIB}" \
18770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18771 maintainer-clean) \
18772 || exit 1
18774 @endif make
18778 .PHONY: configure-mmalloc maybe-configure-mmalloc
18779 maybe-configure-mmalloc:
18780 @if mmalloc
18781 maybe-configure-mmalloc: configure-mmalloc
18782 configure-mmalloc:
18783 @$(unstage)
18784 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18786 r=`${PWD_COMMAND}`; export r; \
18787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18788 $(HOST_EXPORTS) \
18789 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18790 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18791 case $(srcdir) in \
18792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18793 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18795 esac; \
18796 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18797 libsrcdir="$$s/mmalloc"; \
18798 $(SHELL) $${libsrcdir}/configure \
18799 $(HOST_CONFIGARGS) $${srcdiroption} \
18800 || exit 1
18801 @endif mmalloc
18807 .PHONY: all-mmalloc maybe-all-mmalloc
18808 maybe-all-mmalloc:
18809 @if mmalloc
18810 TARGET-mmalloc=all
18811 maybe-all-mmalloc: all-mmalloc
18812 all-mmalloc: configure-mmalloc
18813 @$(unstage)
18814 @r=`${PWD_COMMAND}`; export r; \
18815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18816 $(HOST_EXPORTS) \
18817 (cd $(HOST_SUBDIR)/mmalloc && \
18818 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18819 @endif mmalloc
18824 .PHONY: check-mmalloc maybe-check-mmalloc
18825 maybe-check-mmalloc:
18826 @if mmalloc
18827 maybe-check-mmalloc: check-mmalloc
18829 check-mmalloc:
18831 @endif mmalloc
18833 .PHONY: install-mmalloc maybe-install-mmalloc
18834 maybe-install-mmalloc:
18835 @if mmalloc
18836 maybe-install-mmalloc: install-mmalloc
18838 install-mmalloc: installdirs
18839 @$(unstage)
18840 @r=`${PWD_COMMAND}`; export r; \
18841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18842 $(HOST_EXPORTS) \
18843 (cd $(HOST_SUBDIR)/mmalloc && \
18844 $(MAKE) $(FLAGS_TO_PASS) install)
18846 @endif mmalloc
18848 # Other targets (info, dvi, etc.)
18850 .PHONY: maybe-info-mmalloc info-mmalloc
18851 maybe-info-mmalloc:
18852 @if mmalloc
18853 maybe-info-mmalloc: info-mmalloc
18855 info-mmalloc: \
18856 configure-mmalloc
18857 @$(unstage)
18858 @[ -f ./mmalloc/Makefile ] || exit 0; \
18859 r=`${PWD_COMMAND}`; export r; \
18860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18861 $(HOST_EXPORTS) \
18862 for flag in $(EXTRA_HOST_FLAGS) ; do \
18863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18864 done; \
18865 echo "Doing info in mmalloc" ; \
18866 (cd $(HOST_SUBDIR)/mmalloc && \
18867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18869 "RANLIB=$${RANLIB}" \
18870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18871 info) \
18872 || exit 1
18874 @endif mmalloc
18876 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18877 maybe-dvi-mmalloc:
18878 @if mmalloc
18879 maybe-dvi-mmalloc: dvi-mmalloc
18881 dvi-mmalloc: \
18882 configure-mmalloc
18883 @$(unstage)
18884 @[ -f ./mmalloc/Makefile ] || exit 0; \
18885 r=`${PWD_COMMAND}`; export r; \
18886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18887 $(HOST_EXPORTS) \
18888 for flag in $(EXTRA_HOST_FLAGS) ; do \
18889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18890 done; \
18891 echo "Doing dvi in mmalloc" ; \
18892 (cd $(HOST_SUBDIR)/mmalloc && \
18893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18895 "RANLIB=$${RANLIB}" \
18896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18897 dvi) \
18898 || exit 1
18900 @endif mmalloc
18902 .PHONY: maybe-html-mmalloc html-mmalloc
18903 maybe-html-mmalloc:
18904 @if mmalloc
18905 maybe-html-mmalloc: html-mmalloc
18907 html-mmalloc: \
18908 configure-mmalloc
18909 @$(unstage)
18910 @[ -f ./mmalloc/Makefile ] || exit 0; \
18911 r=`${PWD_COMMAND}`; export r; \
18912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18913 $(HOST_EXPORTS) \
18914 for flag in $(EXTRA_HOST_FLAGS) ; do \
18915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18916 done; \
18917 echo "Doing html in mmalloc" ; \
18918 (cd $(HOST_SUBDIR)/mmalloc && \
18919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18921 "RANLIB=$${RANLIB}" \
18922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18923 html) \
18924 || exit 1
18926 @endif mmalloc
18928 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18929 maybe-TAGS-mmalloc:
18930 @if mmalloc
18931 maybe-TAGS-mmalloc: TAGS-mmalloc
18933 TAGS-mmalloc: \
18934 configure-mmalloc
18935 @$(unstage)
18936 @[ -f ./mmalloc/Makefile ] || exit 0; \
18937 r=`${PWD_COMMAND}`; export r; \
18938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18939 $(HOST_EXPORTS) \
18940 for flag in $(EXTRA_HOST_FLAGS) ; do \
18941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18942 done; \
18943 echo "Doing TAGS in mmalloc" ; \
18944 (cd $(HOST_SUBDIR)/mmalloc && \
18945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18947 "RANLIB=$${RANLIB}" \
18948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18949 TAGS) \
18950 || exit 1
18952 @endif mmalloc
18954 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18955 maybe-install-info-mmalloc:
18956 @if mmalloc
18957 maybe-install-info-mmalloc: install-info-mmalloc
18959 install-info-mmalloc: \
18960 configure-mmalloc \
18961 info-mmalloc
18962 @$(unstage)
18963 @[ -f ./mmalloc/Makefile ] || exit 0; \
18964 r=`${PWD_COMMAND}`; export r; \
18965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18966 $(HOST_EXPORTS) \
18967 for flag in $(EXTRA_HOST_FLAGS) ; do \
18968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18969 done; \
18970 echo "Doing install-info in mmalloc" ; \
18971 (cd $(HOST_SUBDIR)/mmalloc && \
18972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18974 "RANLIB=$${RANLIB}" \
18975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18976 install-info) \
18977 || exit 1
18979 @endif mmalloc
18981 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18982 maybe-installcheck-mmalloc:
18983 @if mmalloc
18984 maybe-installcheck-mmalloc: installcheck-mmalloc
18986 installcheck-mmalloc: \
18987 configure-mmalloc
18988 @$(unstage)
18989 @[ -f ./mmalloc/Makefile ] || exit 0; \
18990 r=`${PWD_COMMAND}`; export r; \
18991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18992 $(HOST_EXPORTS) \
18993 for flag in $(EXTRA_HOST_FLAGS) ; do \
18994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18995 done; \
18996 echo "Doing installcheck in mmalloc" ; \
18997 (cd $(HOST_SUBDIR)/mmalloc && \
18998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19000 "RANLIB=$${RANLIB}" \
19001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19002 installcheck) \
19003 || exit 1
19005 @endif mmalloc
19007 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19008 maybe-mostlyclean-mmalloc:
19009 @if mmalloc
19010 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19012 mostlyclean-mmalloc:
19013 @$(unstage)
19014 @[ -f ./mmalloc/Makefile ] || exit 0; \
19015 r=`${PWD_COMMAND}`; export r; \
19016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19017 $(HOST_EXPORTS) \
19018 for flag in $(EXTRA_HOST_FLAGS) ; do \
19019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19020 done; \
19021 echo "Doing mostlyclean in mmalloc" ; \
19022 (cd $(HOST_SUBDIR)/mmalloc && \
19023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19025 "RANLIB=$${RANLIB}" \
19026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19027 mostlyclean) \
19028 || exit 1
19030 @endif mmalloc
19032 .PHONY: maybe-clean-mmalloc clean-mmalloc
19033 maybe-clean-mmalloc:
19034 @if mmalloc
19035 maybe-clean-mmalloc: clean-mmalloc
19037 clean-mmalloc:
19038 @$(unstage)
19039 @[ -f ./mmalloc/Makefile ] || exit 0; \
19040 r=`${PWD_COMMAND}`; export r; \
19041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing clean in mmalloc" ; \
19047 (cd $(HOST_SUBDIR)/mmalloc && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19052 clean) \
19053 || exit 1
19055 @endif mmalloc
19057 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19058 maybe-distclean-mmalloc:
19059 @if mmalloc
19060 maybe-distclean-mmalloc: distclean-mmalloc
19062 distclean-mmalloc:
19063 @$(unstage)
19064 @[ -f ./mmalloc/Makefile ] || exit 0; \
19065 r=`${PWD_COMMAND}`; export r; \
19066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing distclean in mmalloc" ; \
19072 (cd $(HOST_SUBDIR)/mmalloc && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19077 distclean) \
19078 || exit 1
19080 @endif mmalloc
19082 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19083 maybe-maintainer-clean-mmalloc:
19084 @if mmalloc
19085 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19087 maintainer-clean-mmalloc:
19088 @$(unstage)
19089 @[ -f ./mmalloc/Makefile ] || exit 0; \
19090 r=`${PWD_COMMAND}`; export r; \
19091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19092 $(HOST_EXPORTS) \
19093 for flag in $(EXTRA_HOST_FLAGS) ; do \
19094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 done; \
19096 echo "Doing maintainer-clean in mmalloc" ; \
19097 (cd $(HOST_SUBDIR)/mmalloc && \
19098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19100 "RANLIB=$${RANLIB}" \
19101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19102 maintainer-clean) \
19103 || exit 1
19105 @endif mmalloc
19109 .PHONY: configure-patch maybe-configure-patch
19110 maybe-configure-patch:
19111 @if patch
19112 maybe-configure-patch: configure-patch
19113 configure-patch:
19114 @$(unstage)
19115 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19116 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19117 r=`${PWD_COMMAND}`; export r; \
19118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19119 $(HOST_EXPORTS) \
19120 echo Configuring in $(HOST_SUBDIR)/patch; \
19121 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19122 case $(srcdir) in \
19123 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19124 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19125 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19126 esac; \
19127 srcdiroption="--srcdir=$${topdir}/patch"; \
19128 libsrcdir="$$s/patch"; \
19129 $(SHELL) $${libsrcdir}/configure \
19130 $(HOST_CONFIGARGS) $${srcdiroption} \
19131 || exit 1
19132 @endif patch
19138 .PHONY: all-patch maybe-all-patch
19139 maybe-all-patch:
19140 @if patch
19141 TARGET-patch=all
19142 maybe-all-patch: all-patch
19143 all-patch: configure-patch
19144 @$(unstage)
19145 @r=`${PWD_COMMAND}`; export r; \
19146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19147 $(HOST_EXPORTS) \
19148 (cd $(HOST_SUBDIR)/patch && \
19149 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19150 @endif patch
19155 .PHONY: check-patch maybe-check-patch
19156 maybe-check-patch:
19157 @if patch
19158 maybe-check-patch: check-patch
19160 check-patch:
19161 @$(unstage)
19162 @r=`${PWD_COMMAND}`; export r; \
19163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19164 $(HOST_EXPORTS) \
19165 (cd $(HOST_SUBDIR)/patch && \
19166 $(MAKE) $(FLAGS_TO_PASS) check)
19168 @endif patch
19170 .PHONY: install-patch maybe-install-patch
19171 maybe-install-patch:
19172 @if patch
19173 maybe-install-patch: install-patch
19175 install-patch: installdirs
19176 @$(unstage)
19177 @r=`${PWD_COMMAND}`; export r; \
19178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19179 $(HOST_EXPORTS) \
19180 (cd $(HOST_SUBDIR)/patch && \
19181 $(MAKE) $(FLAGS_TO_PASS) install)
19183 @endif patch
19185 # Other targets (info, dvi, etc.)
19187 .PHONY: maybe-info-patch info-patch
19188 maybe-info-patch:
19189 @if patch
19190 maybe-info-patch: info-patch
19192 info-patch: \
19193 configure-patch
19194 @$(unstage)
19195 @[ -f ./patch/Makefile ] || exit 0; \
19196 r=`${PWD_COMMAND}`; export r; \
19197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19198 $(HOST_EXPORTS) \
19199 for flag in $(EXTRA_HOST_FLAGS) ; do \
19200 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19201 done; \
19202 echo "Doing info in patch" ; \
19203 (cd $(HOST_SUBDIR)/patch && \
19204 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19205 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19206 "RANLIB=$${RANLIB}" \
19207 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19208 info) \
19209 || exit 1
19211 @endif patch
19213 .PHONY: maybe-dvi-patch dvi-patch
19214 maybe-dvi-patch:
19215 @if patch
19216 maybe-dvi-patch: dvi-patch
19218 dvi-patch: \
19219 configure-patch
19220 @$(unstage)
19221 @[ -f ./patch/Makefile ] || exit 0; \
19222 r=`${PWD_COMMAND}`; export r; \
19223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19224 $(HOST_EXPORTS) \
19225 for flag in $(EXTRA_HOST_FLAGS) ; do \
19226 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19227 done; \
19228 echo "Doing dvi in patch" ; \
19229 (cd $(HOST_SUBDIR)/patch && \
19230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19232 "RANLIB=$${RANLIB}" \
19233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19234 dvi) \
19235 || exit 1
19237 @endif patch
19239 .PHONY: maybe-html-patch html-patch
19240 maybe-html-patch:
19241 @if patch
19242 maybe-html-patch: html-patch
19244 html-patch: \
19245 configure-patch
19246 @$(unstage)
19247 @[ -f ./patch/Makefile ] || exit 0; \
19248 r=`${PWD_COMMAND}`; export r; \
19249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19250 $(HOST_EXPORTS) \
19251 for flag in $(EXTRA_HOST_FLAGS) ; do \
19252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19253 done; \
19254 echo "Doing html in patch" ; \
19255 (cd $(HOST_SUBDIR)/patch && \
19256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19258 "RANLIB=$${RANLIB}" \
19259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19260 html) \
19261 || exit 1
19263 @endif patch
19265 .PHONY: maybe-TAGS-patch TAGS-patch
19266 maybe-TAGS-patch:
19267 @if patch
19268 maybe-TAGS-patch: TAGS-patch
19270 TAGS-patch: \
19271 configure-patch
19272 @$(unstage)
19273 @[ -f ./patch/Makefile ] || exit 0; \
19274 r=`${PWD_COMMAND}`; export r; \
19275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19276 $(HOST_EXPORTS) \
19277 for flag in $(EXTRA_HOST_FLAGS) ; do \
19278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19279 done; \
19280 echo "Doing TAGS in patch" ; \
19281 (cd $(HOST_SUBDIR)/patch && \
19282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19284 "RANLIB=$${RANLIB}" \
19285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19286 TAGS) \
19287 || exit 1
19289 @endif patch
19291 .PHONY: maybe-install-info-patch install-info-patch
19292 maybe-install-info-patch:
19293 @if patch
19294 maybe-install-info-patch: install-info-patch
19296 install-info-patch: \
19297 configure-patch \
19298 info-patch
19299 @$(unstage)
19300 @[ -f ./patch/Makefile ] || exit 0; \
19301 r=`${PWD_COMMAND}`; export r; \
19302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19303 $(HOST_EXPORTS) \
19304 for flag in $(EXTRA_HOST_FLAGS) ; do \
19305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19306 done; \
19307 echo "Doing install-info in patch" ; \
19308 (cd $(HOST_SUBDIR)/patch && \
19309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19311 "RANLIB=$${RANLIB}" \
19312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19313 install-info) \
19314 || exit 1
19316 @endif patch
19318 .PHONY: maybe-installcheck-patch installcheck-patch
19319 maybe-installcheck-patch:
19320 @if patch
19321 maybe-installcheck-patch: installcheck-patch
19323 installcheck-patch: \
19324 configure-patch
19325 @$(unstage)
19326 @[ -f ./patch/Makefile ] || exit 0; \
19327 r=`${PWD_COMMAND}`; export r; \
19328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19329 $(HOST_EXPORTS) \
19330 for flag in $(EXTRA_HOST_FLAGS) ; do \
19331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19332 done; \
19333 echo "Doing installcheck in patch" ; \
19334 (cd $(HOST_SUBDIR)/patch && \
19335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19337 "RANLIB=$${RANLIB}" \
19338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19339 installcheck) \
19340 || exit 1
19342 @endif patch
19344 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19345 maybe-mostlyclean-patch:
19346 @if patch
19347 maybe-mostlyclean-patch: mostlyclean-patch
19349 mostlyclean-patch:
19350 @$(unstage)
19351 @[ -f ./patch/Makefile ] || exit 0; \
19352 r=`${PWD_COMMAND}`; export r; \
19353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19354 $(HOST_EXPORTS) \
19355 for flag in $(EXTRA_HOST_FLAGS) ; do \
19356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19357 done; \
19358 echo "Doing mostlyclean in patch" ; \
19359 (cd $(HOST_SUBDIR)/patch && \
19360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19362 "RANLIB=$${RANLIB}" \
19363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19364 mostlyclean) \
19365 || exit 1
19367 @endif patch
19369 .PHONY: maybe-clean-patch clean-patch
19370 maybe-clean-patch:
19371 @if patch
19372 maybe-clean-patch: clean-patch
19374 clean-patch:
19375 @$(unstage)
19376 @[ -f ./patch/Makefile ] || exit 0; \
19377 r=`${PWD_COMMAND}`; export r; \
19378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19379 $(HOST_EXPORTS) \
19380 for flag in $(EXTRA_HOST_FLAGS) ; do \
19381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19382 done; \
19383 echo "Doing clean in patch" ; \
19384 (cd $(HOST_SUBDIR)/patch && \
19385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19387 "RANLIB=$${RANLIB}" \
19388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19389 clean) \
19390 || exit 1
19392 @endif patch
19394 .PHONY: maybe-distclean-patch distclean-patch
19395 maybe-distclean-patch:
19396 @if patch
19397 maybe-distclean-patch: distclean-patch
19399 distclean-patch:
19400 @$(unstage)
19401 @[ -f ./patch/Makefile ] || exit 0; \
19402 r=`${PWD_COMMAND}`; export r; \
19403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19404 $(HOST_EXPORTS) \
19405 for flag in $(EXTRA_HOST_FLAGS) ; do \
19406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19407 done; \
19408 echo "Doing distclean in patch" ; \
19409 (cd $(HOST_SUBDIR)/patch && \
19410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19412 "RANLIB=$${RANLIB}" \
19413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19414 distclean) \
19415 || exit 1
19417 @endif patch
19419 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19420 maybe-maintainer-clean-patch:
19421 @if patch
19422 maybe-maintainer-clean-patch: maintainer-clean-patch
19424 maintainer-clean-patch:
19425 @$(unstage)
19426 @[ -f ./patch/Makefile ] || exit 0; \
19427 r=`${PWD_COMMAND}`; export r; \
19428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19429 $(HOST_EXPORTS) \
19430 for flag in $(EXTRA_HOST_FLAGS) ; do \
19431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19432 done; \
19433 echo "Doing maintainer-clean in patch" ; \
19434 (cd $(HOST_SUBDIR)/patch && \
19435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19437 "RANLIB=$${RANLIB}" \
19438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19439 maintainer-clean) \
19440 || exit 1
19442 @endif patch
19446 .PHONY: configure-perl maybe-configure-perl
19447 maybe-configure-perl:
19448 @if perl
19449 maybe-configure-perl: configure-perl
19450 configure-perl:
19451 @$(unstage)
19452 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19453 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19454 r=`${PWD_COMMAND}`; export r; \
19455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19456 $(HOST_EXPORTS) \
19457 echo Configuring in $(HOST_SUBDIR)/perl; \
19458 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19459 case $(srcdir) in \
19460 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19461 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19462 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19463 esac; \
19464 srcdiroption="--srcdir=$${topdir}/perl"; \
19465 libsrcdir="$$s/perl"; \
19466 $(SHELL) $${libsrcdir}/configure \
19467 $(HOST_CONFIGARGS) $${srcdiroption} \
19468 || exit 1
19469 @endif perl
19475 .PHONY: all-perl maybe-all-perl
19476 maybe-all-perl:
19477 @if perl
19478 TARGET-perl=all
19479 maybe-all-perl: all-perl
19480 all-perl: configure-perl
19481 @$(unstage)
19482 @r=`${PWD_COMMAND}`; export r; \
19483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19484 $(HOST_EXPORTS) \
19485 (cd $(HOST_SUBDIR)/perl && \
19486 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19487 @endif perl
19492 .PHONY: check-perl maybe-check-perl
19493 maybe-check-perl:
19494 @if perl
19495 maybe-check-perl: check-perl
19497 check-perl:
19498 @$(unstage)
19499 @r=`${PWD_COMMAND}`; export r; \
19500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19501 $(HOST_EXPORTS) \
19502 (cd $(HOST_SUBDIR)/perl && \
19503 $(MAKE) $(FLAGS_TO_PASS) check)
19505 @endif perl
19507 .PHONY: install-perl maybe-install-perl
19508 maybe-install-perl:
19509 @if perl
19510 maybe-install-perl: install-perl
19512 install-perl: installdirs
19513 @$(unstage)
19514 @r=`${PWD_COMMAND}`; export r; \
19515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19516 $(HOST_EXPORTS) \
19517 (cd $(HOST_SUBDIR)/perl && \
19518 $(MAKE) $(FLAGS_TO_PASS) install)
19520 @endif perl
19522 # Other targets (info, dvi, etc.)
19524 .PHONY: maybe-info-perl info-perl
19525 maybe-info-perl:
19526 @if perl
19527 maybe-info-perl: info-perl
19529 info-perl: \
19530 configure-perl
19531 @$(unstage)
19532 @[ -f ./perl/Makefile ] || exit 0; \
19533 r=`${PWD_COMMAND}`; export r; \
19534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19535 $(HOST_EXPORTS) \
19536 for flag in $(EXTRA_HOST_FLAGS) ; do \
19537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19538 done; \
19539 echo "Doing info in perl" ; \
19540 (cd $(HOST_SUBDIR)/perl && \
19541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19543 "RANLIB=$${RANLIB}" \
19544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19545 info) \
19546 || exit 1
19548 @endif perl
19550 .PHONY: maybe-dvi-perl dvi-perl
19551 maybe-dvi-perl:
19552 @if perl
19553 maybe-dvi-perl: dvi-perl
19555 dvi-perl: \
19556 configure-perl
19557 @$(unstage)
19558 @[ -f ./perl/Makefile ] || exit 0; \
19559 r=`${PWD_COMMAND}`; export r; \
19560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19561 $(HOST_EXPORTS) \
19562 for flag in $(EXTRA_HOST_FLAGS) ; do \
19563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19564 done; \
19565 echo "Doing dvi in perl" ; \
19566 (cd $(HOST_SUBDIR)/perl && \
19567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19569 "RANLIB=$${RANLIB}" \
19570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19571 dvi) \
19572 || exit 1
19574 @endif perl
19576 .PHONY: maybe-html-perl html-perl
19577 maybe-html-perl:
19578 @if perl
19579 maybe-html-perl: html-perl
19581 html-perl: \
19582 configure-perl
19583 @$(unstage)
19584 @[ -f ./perl/Makefile ] || exit 0; \
19585 r=`${PWD_COMMAND}`; export r; \
19586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19587 $(HOST_EXPORTS) \
19588 for flag in $(EXTRA_HOST_FLAGS) ; do \
19589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19590 done; \
19591 echo "Doing html in perl" ; \
19592 (cd $(HOST_SUBDIR)/perl && \
19593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19595 "RANLIB=$${RANLIB}" \
19596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19597 html) \
19598 || exit 1
19600 @endif perl
19602 .PHONY: maybe-TAGS-perl TAGS-perl
19603 maybe-TAGS-perl:
19604 @if perl
19605 maybe-TAGS-perl: TAGS-perl
19607 TAGS-perl: \
19608 configure-perl
19609 @$(unstage)
19610 @[ -f ./perl/Makefile ] || exit 0; \
19611 r=`${PWD_COMMAND}`; export r; \
19612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19613 $(HOST_EXPORTS) \
19614 for flag in $(EXTRA_HOST_FLAGS) ; do \
19615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19616 done; \
19617 echo "Doing TAGS in perl" ; \
19618 (cd $(HOST_SUBDIR)/perl && \
19619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19621 "RANLIB=$${RANLIB}" \
19622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19623 TAGS) \
19624 || exit 1
19626 @endif perl
19628 .PHONY: maybe-install-info-perl install-info-perl
19629 maybe-install-info-perl:
19630 @if perl
19631 maybe-install-info-perl: install-info-perl
19633 install-info-perl: \
19634 configure-perl \
19635 info-perl
19636 @$(unstage)
19637 @[ -f ./perl/Makefile ] || exit 0; \
19638 r=`${PWD_COMMAND}`; export r; \
19639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19640 $(HOST_EXPORTS) \
19641 for flag in $(EXTRA_HOST_FLAGS) ; do \
19642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19643 done; \
19644 echo "Doing install-info in perl" ; \
19645 (cd $(HOST_SUBDIR)/perl && \
19646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19648 "RANLIB=$${RANLIB}" \
19649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19650 install-info) \
19651 || exit 1
19653 @endif perl
19655 .PHONY: maybe-installcheck-perl installcheck-perl
19656 maybe-installcheck-perl:
19657 @if perl
19658 maybe-installcheck-perl: installcheck-perl
19660 installcheck-perl: \
19661 configure-perl
19662 @$(unstage)
19663 @[ -f ./perl/Makefile ] || exit 0; \
19664 r=`${PWD_COMMAND}`; export r; \
19665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19666 $(HOST_EXPORTS) \
19667 for flag in $(EXTRA_HOST_FLAGS) ; do \
19668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19669 done; \
19670 echo "Doing installcheck in perl" ; \
19671 (cd $(HOST_SUBDIR)/perl && \
19672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19674 "RANLIB=$${RANLIB}" \
19675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19676 installcheck) \
19677 || exit 1
19679 @endif perl
19681 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
19682 maybe-mostlyclean-perl:
19683 @if perl
19684 maybe-mostlyclean-perl: mostlyclean-perl
19686 mostlyclean-perl:
19687 @$(unstage)
19688 @[ -f ./perl/Makefile ] || exit 0; \
19689 r=`${PWD_COMMAND}`; export r; \
19690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19691 $(HOST_EXPORTS) \
19692 for flag in $(EXTRA_HOST_FLAGS) ; do \
19693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19694 done; \
19695 echo "Doing mostlyclean in perl" ; \
19696 (cd $(HOST_SUBDIR)/perl && \
19697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19699 "RANLIB=$${RANLIB}" \
19700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19701 mostlyclean) \
19702 || exit 1
19704 @endif perl
19706 .PHONY: maybe-clean-perl clean-perl
19707 maybe-clean-perl:
19708 @if perl
19709 maybe-clean-perl: clean-perl
19711 clean-perl:
19712 @$(unstage)
19713 @[ -f ./perl/Makefile ] || exit 0; \
19714 r=`${PWD_COMMAND}`; export r; \
19715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19716 $(HOST_EXPORTS) \
19717 for flag in $(EXTRA_HOST_FLAGS) ; do \
19718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19719 done; \
19720 echo "Doing clean in perl" ; \
19721 (cd $(HOST_SUBDIR)/perl && \
19722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19724 "RANLIB=$${RANLIB}" \
19725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19726 clean) \
19727 || exit 1
19729 @endif perl
19731 .PHONY: maybe-distclean-perl distclean-perl
19732 maybe-distclean-perl:
19733 @if perl
19734 maybe-distclean-perl: distclean-perl
19736 distclean-perl:
19737 @$(unstage)
19738 @[ -f ./perl/Makefile ] || exit 0; \
19739 r=`${PWD_COMMAND}`; export r; \
19740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19741 $(HOST_EXPORTS) \
19742 for flag in $(EXTRA_HOST_FLAGS) ; do \
19743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19744 done; \
19745 echo "Doing distclean in perl" ; \
19746 (cd $(HOST_SUBDIR)/perl && \
19747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19749 "RANLIB=$${RANLIB}" \
19750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19751 distclean) \
19752 || exit 1
19754 @endif perl
19756 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
19757 maybe-maintainer-clean-perl:
19758 @if perl
19759 maybe-maintainer-clean-perl: maintainer-clean-perl
19761 maintainer-clean-perl:
19762 @$(unstage)
19763 @[ -f ./perl/Makefile ] || exit 0; \
19764 r=`${PWD_COMMAND}`; export r; \
19765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19766 $(HOST_EXPORTS) \
19767 for flag in $(EXTRA_HOST_FLAGS) ; do \
19768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19769 done; \
19770 echo "Doing maintainer-clean in perl" ; \
19771 (cd $(HOST_SUBDIR)/perl && \
19772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19774 "RANLIB=$${RANLIB}" \
19775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19776 maintainer-clean) \
19777 || exit 1
19779 @endif perl
19783 .PHONY: configure-prms maybe-configure-prms
19784 maybe-configure-prms:
19785 @if prms
19786 maybe-configure-prms: configure-prms
19787 configure-prms:
19788 @$(unstage)
19789 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
19790 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
19791 r=`${PWD_COMMAND}`; export r; \
19792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19793 $(HOST_EXPORTS) \
19794 echo Configuring in $(HOST_SUBDIR)/prms; \
19795 cd "$(HOST_SUBDIR)/prms" || exit 1; \
19796 case $(srcdir) in \
19797 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19798 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
19799 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19800 esac; \
19801 srcdiroption="--srcdir=$${topdir}/prms"; \
19802 libsrcdir="$$s/prms"; \
19803 $(SHELL) $${libsrcdir}/configure \
19804 $(HOST_CONFIGARGS) $${srcdiroption} \
19805 || exit 1
19806 @endif prms
19812 .PHONY: all-prms maybe-all-prms
19813 maybe-all-prms:
19814 @if prms
19815 TARGET-prms=all
19816 maybe-all-prms: all-prms
19817 all-prms: configure-prms
19818 @$(unstage)
19819 @r=`${PWD_COMMAND}`; export r; \
19820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19821 $(HOST_EXPORTS) \
19822 (cd $(HOST_SUBDIR)/prms && \
19823 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19824 @endif prms
19829 .PHONY: check-prms maybe-check-prms
19830 maybe-check-prms:
19831 @if prms
19832 maybe-check-prms: check-prms
19834 check-prms:
19835 @$(unstage)
19836 @r=`${PWD_COMMAND}`; export r; \
19837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19838 $(HOST_EXPORTS) \
19839 (cd $(HOST_SUBDIR)/prms && \
19840 $(MAKE) $(FLAGS_TO_PASS) check)
19842 @endif prms
19844 .PHONY: install-prms maybe-install-prms
19845 maybe-install-prms:
19846 @if prms
19847 maybe-install-prms: install-prms
19849 install-prms: installdirs
19850 @$(unstage)
19851 @r=`${PWD_COMMAND}`; export r; \
19852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19853 $(HOST_EXPORTS) \
19854 (cd $(HOST_SUBDIR)/prms && \
19855 $(MAKE) $(FLAGS_TO_PASS) install)
19857 @endif prms
19859 # Other targets (info, dvi, etc.)
19861 .PHONY: maybe-info-prms info-prms
19862 maybe-info-prms:
19863 @if prms
19864 maybe-info-prms: info-prms
19866 info-prms: \
19867 configure-prms
19868 @$(unstage)
19869 @[ -f ./prms/Makefile ] || exit 0; \
19870 r=`${PWD_COMMAND}`; export r; \
19871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19872 $(HOST_EXPORTS) \
19873 for flag in $(EXTRA_HOST_FLAGS) ; do \
19874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19875 done; \
19876 echo "Doing info in prms" ; \
19877 (cd $(HOST_SUBDIR)/prms && \
19878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19880 "RANLIB=$${RANLIB}" \
19881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19882 info) \
19883 || exit 1
19885 @endif prms
19887 .PHONY: maybe-dvi-prms dvi-prms
19888 maybe-dvi-prms:
19889 @if prms
19890 maybe-dvi-prms: dvi-prms
19892 dvi-prms: \
19893 configure-prms
19894 @$(unstage)
19895 @[ -f ./prms/Makefile ] || exit 0; \
19896 r=`${PWD_COMMAND}`; export r; \
19897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19898 $(HOST_EXPORTS) \
19899 for flag in $(EXTRA_HOST_FLAGS) ; do \
19900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19901 done; \
19902 echo "Doing dvi in prms" ; \
19903 (cd $(HOST_SUBDIR)/prms && \
19904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19906 "RANLIB=$${RANLIB}" \
19907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19908 dvi) \
19909 || exit 1
19911 @endif prms
19913 .PHONY: maybe-html-prms html-prms
19914 maybe-html-prms:
19915 @if prms
19916 maybe-html-prms: html-prms
19918 html-prms: \
19919 configure-prms
19920 @$(unstage)
19921 @[ -f ./prms/Makefile ] || exit 0; \
19922 r=`${PWD_COMMAND}`; export r; \
19923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19924 $(HOST_EXPORTS) \
19925 for flag in $(EXTRA_HOST_FLAGS) ; do \
19926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19927 done; \
19928 echo "Doing html in prms" ; \
19929 (cd $(HOST_SUBDIR)/prms && \
19930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19932 "RANLIB=$${RANLIB}" \
19933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19934 html) \
19935 || exit 1
19937 @endif prms
19939 .PHONY: maybe-TAGS-prms TAGS-prms
19940 maybe-TAGS-prms:
19941 @if prms
19942 maybe-TAGS-prms: TAGS-prms
19944 TAGS-prms: \
19945 configure-prms
19946 @$(unstage)
19947 @[ -f ./prms/Makefile ] || exit 0; \
19948 r=`${PWD_COMMAND}`; export r; \
19949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19950 $(HOST_EXPORTS) \
19951 for flag in $(EXTRA_HOST_FLAGS) ; do \
19952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19953 done; \
19954 echo "Doing TAGS in prms" ; \
19955 (cd $(HOST_SUBDIR)/prms && \
19956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19958 "RANLIB=$${RANLIB}" \
19959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19960 TAGS) \
19961 || exit 1
19963 @endif prms
19965 .PHONY: maybe-install-info-prms install-info-prms
19966 maybe-install-info-prms:
19967 @if prms
19968 maybe-install-info-prms: install-info-prms
19970 install-info-prms: \
19971 configure-prms \
19972 info-prms
19973 @$(unstage)
19974 @[ -f ./prms/Makefile ] || exit 0; \
19975 r=`${PWD_COMMAND}`; export r; \
19976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19977 $(HOST_EXPORTS) \
19978 for flag in $(EXTRA_HOST_FLAGS) ; do \
19979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19980 done; \
19981 echo "Doing install-info in prms" ; \
19982 (cd $(HOST_SUBDIR)/prms && \
19983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19985 "RANLIB=$${RANLIB}" \
19986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19987 install-info) \
19988 || exit 1
19990 @endif prms
19992 .PHONY: maybe-installcheck-prms installcheck-prms
19993 maybe-installcheck-prms:
19994 @if prms
19995 maybe-installcheck-prms: installcheck-prms
19997 installcheck-prms: \
19998 configure-prms
19999 @$(unstage)
20000 @[ -f ./prms/Makefile ] || exit 0; \
20001 r=`${PWD_COMMAND}`; export r; \
20002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20003 $(HOST_EXPORTS) \
20004 for flag in $(EXTRA_HOST_FLAGS) ; do \
20005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20006 done; \
20007 echo "Doing installcheck in prms" ; \
20008 (cd $(HOST_SUBDIR)/prms && \
20009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20011 "RANLIB=$${RANLIB}" \
20012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20013 installcheck) \
20014 || exit 1
20016 @endif prms
20018 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20019 maybe-mostlyclean-prms:
20020 @if prms
20021 maybe-mostlyclean-prms: mostlyclean-prms
20023 mostlyclean-prms:
20024 @$(unstage)
20025 @[ -f ./prms/Makefile ] || exit 0; \
20026 r=`${PWD_COMMAND}`; export r; \
20027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20028 $(HOST_EXPORTS) \
20029 for flag in $(EXTRA_HOST_FLAGS) ; do \
20030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20031 done; \
20032 echo "Doing mostlyclean in prms" ; \
20033 (cd $(HOST_SUBDIR)/prms && \
20034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20036 "RANLIB=$${RANLIB}" \
20037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20038 mostlyclean) \
20039 || exit 1
20041 @endif prms
20043 .PHONY: maybe-clean-prms clean-prms
20044 maybe-clean-prms:
20045 @if prms
20046 maybe-clean-prms: clean-prms
20048 clean-prms:
20049 @$(unstage)
20050 @[ -f ./prms/Makefile ] || exit 0; \
20051 r=`${PWD_COMMAND}`; export r; \
20052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20053 $(HOST_EXPORTS) \
20054 for flag in $(EXTRA_HOST_FLAGS) ; do \
20055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20056 done; \
20057 echo "Doing clean in prms" ; \
20058 (cd $(HOST_SUBDIR)/prms && \
20059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20061 "RANLIB=$${RANLIB}" \
20062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20063 clean) \
20064 || exit 1
20066 @endif prms
20068 .PHONY: maybe-distclean-prms distclean-prms
20069 maybe-distclean-prms:
20070 @if prms
20071 maybe-distclean-prms: distclean-prms
20073 distclean-prms:
20074 @$(unstage)
20075 @[ -f ./prms/Makefile ] || exit 0; \
20076 r=`${PWD_COMMAND}`; export r; \
20077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20078 $(HOST_EXPORTS) \
20079 for flag in $(EXTRA_HOST_FLAGS) ; do \
20080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20081 done; \
20082 echo "Doing distclean in prms" ; \
20083 (cd $(HOST_SUBDIR)/prms && \
20084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20086 "RANLIB=$${RANLIB}" \
20087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20088 distclean) \
20089 || exit 1
20091 @endif prms
20093 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20094 maybe-maintainer-clean-prms:
20095 @if prms
20096 maybe-maintainer-clean-prms: maintainer-clean-prms
20098 maintainer-clean-prms:
20099 @$(unstage)
20100 @[ -f ./prms/Makefile ] || exit 0; \
20101 r=`${PWD_COMMAND}`; export r; \
20102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20103 $(HOST_EXPORTS) \
20104 for flag in $(EXTRA_HOST_FLAGS) ; do \
20105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20106 done; \
20107 echo "Doing maintainer-clean in prms" ; \
20108 (cd $(HOST_SUBDIR)/prms && \
20109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20111 "RANLIB=$${RANLIB}" \
20112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20113 maintainer-clean) \
20114 || exit 1
20116 @endif prms
20120 .PHONY: configure-rcs maybe-configure-rcs
20121 maybe-configure-rcs:
20122 @if rcs
20123 maybe-configure-rcs: configure-rcs
20124 configure-rcs:
20125 @$(unstage)
20126 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20128 r=`${PWD_COMMAND}`; export r; \
20129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20130 $(HOST_EXPORTS) \
20131 echo Configuring in $(HOST_SUBDIR)/rcs; \
20132 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20133 case $(srcdir) in \
20134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20135 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20137 esac; \
20138 srcdiroption="--srcdir=$${topdir}/rcs"; \
20139 libsrcdir="$$s/rcs"; \
20140 $(SHELL) $${libsrcdir}/configure \
20141 $(HOST_CONFIGARGS) $${srcdiroption} \
20142 || exit 1
20143 @endif rcs
20149 .PHONY: all-rcs maybe-all-rcs
20150 maybe-all-rcs:
20151 @if rcs
20152 TARGET-rcs=all
20153 maybe-all-rcs: all-rcs
20154 all-rcs: configure-rcs
20155 @$(unstage)
20156 @r=`${PWD_COMMAND}`; export r; \
20157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20158 $(HOST_EXPORTS) \
20159 (cd $(HOST_SUBDIR)/rcs && \
20160 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20161 @endif rcs
20166 .PHONY: check-rcs maybe-check-rcs
20167 maybe-check-rcs:
20168 @if rcs
20169 maybe-check-rcs: check-rcs
20171 check-rcs:
20172 @$(unstage)
20173 @r=`${PWD_COMMAND}`; export r; \
20174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20175 $(HOST_EXPORTS) \
20176 (cd $(HOST_SUBDIR)/rcs && \
20177 $(MAKE) $(FLAGS_TO_PASS) check)
20179 @endif rcs
20181 .PHONY: install-rcs maybe-install-rcs
20182 maybe-install-rcs:
20183 @if rcs
20184 maybe-install-rcs: install-rcs
20186 install-rcs: installdirs
20187 @$(unstage)
20188 @r=`${PWD_COMMAND}`; export r; \
20189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20190 $(HOST_EXPORTS) \
20191 (cd $(HOST_SUBDIR)/rcs && \
20192 $(MAKE) $(FLAGS_TO_PASS) install)
20194 @endif rcs
20196 # Other targets (info, dvi, etc.)
20198 .PHONY: maybe-info-rcs info-rcs
20199 maybe-info-rcs:
20200 @if rcs
20201 maybe-info-rcs: info-rcs
20203 info-rcs: \
20204 configure-rcs
20205 @$(unstage)
20206 @[ -f ./rcs/Makefile ] || exit 0; \
20207 r=`${PWD_COMMAND}`; export r; \
20208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20209 $(HOST_EXPORTS) \
20210 for flag in $(EXTRA_HOST_FLAGS) ; do \
20211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20212 done; \
20213 echo "Doing info in rcs" ; \
20214 (cd $(HOST_SUBDIR)/rcs && \
20215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20217 "RANLIB=$${RANLIB}" \
20218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20219 info) \
20220 || exit 1
20222 @endif rcs
20224 .PHONY: maybe-dvi-rcs dvi-rcs
20225 maybe-dvi-rcs:
20226 @if rcs
20227 maybe-dvi-rcs: dvi-rcs
20229 dvi-rcs: \
20230 configure-rcs
20231 @$(unstage)
20232 @[ -f ./rcs/Makefile ] || exit 0; \
20233 r=`${PWD_COMMAND}`; export r; \
20234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20235 $(HOST_EXPORTS) \
20236 for flag in $(EXTRA_HOST_FLAGS) ; do \
20237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20238 done; \
20239 echo "Doing dvi in rcs" ; \
20240 (cd $(HOST_SUBDIR)/rcs && \
20241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20243 "RANLIB=$${RANLIB}" \
20244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20245 dvi) \
20246 || exit 1
20248 @endif rcs
20250 .PHONY: maybe-html-rcs html-rcs
20251 maybe-html-rcs:
20252 @if rcs
20253 maybe-html-rcs: html-rcs
20255 html-rcs: \
20256 configure-rcs
20257 @$(unstage)
20258 @[ -f ./rcs/Makefile ] || exit 0; \
20259 r=`${PWD_COMMAND}`; export r; \
20260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20261 $(HOST_EXPORTS) \
20262 for flag in $(EXTRA_HOST_FLAGS) ; do \
20263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20264 done; \
20265 echo "Doing html in rcs" ; \
20266 (cd $(HOST_SUBDIR)/rcs && \
20267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20269 "RANLIB=$${RANLIB}" \
20270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20271 html) \
20272 || exit 1
20274 @endif rcs
20276 .PHONY: maybe-TAGS-rcs TAGS-rcs
20277 maybe-TAGS-rcs:
20278 @if rcs
20279 maybe-TAGS-rcs: TAGS-rcs
20281 TAGS-rcs: \
20282 configure-rcs
20283 @$(unstage)
20284 @[ -f ./rcs/Makefile ] || exit 0; \
20285 r=`${PWD_COMMAND}`; export r; \
20286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20287 $(HOST_EXPORTS) \
20288 for flag in $(EXTRA_HOST_FLAGS) ; do \
20289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20290 done; \
20291 echo "Doing TAGS in rcs" ; \
20292 (cd $(HOST_SUBDIR)/rcs && \
20293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20295 "RANLIB=$${RANLIB}" \
20296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20297 TAGS) \
20298 || exit 1
20300 @endif rcs
20302 .PHONY: maybe-install-info-rcs install-info-rcs
20303 maybe-install-info-rcs:
20304 @if rcs
20305 maybe-install-info-rcs: install-info-rcs
20307 install-info-rcs: \
20308 configure-rcs \
20309 info-rcs
20310 @$(unstage)
20311 @[ -f ./rcs/Makefile ] || exit 0; \
20312 r=`${PWD_COMMAND}`; export r; \
20313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20314 $(HOST_EXPORTS) \
20315 for flag in $(EXTRA_HOST_FLAGS) ; do \
20316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20317 done; \
20318 echo "Doing install-info in rcs" ; \
20319 (cd $(HOST_SUBDIR)/rcs && \
20320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20322 "RANLIB=$${RANLIB}" \
20323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20324 install-info) \
20325 || exit 1
20327 @endif rcs
20329 .PHONY: maybe-installcheck-rcs installcheck-rcs
20330 maybe-installcheck-rcs:
20331 @if rcs
20332 maybe-installcheck-rcs: installcheck-rcs
20334 installcheck-rcs: \
20335 configure-rcs
20336 @$(unstage)
20337 @[ -f ./rcs/Makefile ] || exit 0; \
20338 r=`${PWD_COMMAND}`; export r; \
20339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20340 $(HOST_EXPORTS) \
20341 for flag in $(EXTRA_HOST_FLAGS) ; do \
20342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20343 done; \
20344 echo "Doing installcheck in rcs" ; \
20345 (cd $(HOST_SUBDIR)/rcs && \
20346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20348 "RANLIB=$${RANLIB}" \
20349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20350 installcheck) \
20351 || exit 1
20353 @endif rcs
20355 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20356 maybe-mostlyclean-rcs:
20357 @if rcs
20358 maybe-mostlyclean-rcs: mostlyclean-rcs
20360 mostlyclean-rcs:
20361 @$(unstage)
20362 @[ -f ./rcs/Makefile ] || exit 0; \
20363 r=`${PWD_COMMAND}`; export r; \
20364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20365 $(HOST_EXPORTS) \
20366 for flag in $(EXTRA_HOST_FLAGS) ; do \
20367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20368 done; \
20369 echo "Doing mostlyclean in rcs" ; \
20370 (cd $(HOST_SUBDIR)/rcs && \
20371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20373 "RANLIB=$${RANLIB}" \
20374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20375 mostlyclean) \
20376 || exit 1
20378 @endif rcs
20380 .PHONY: maybe-clean-rcs clean-rcs
20381 maybe-clean-rcs:
20382 @if rcs
20383 maybe-clean-rcs: clean-rcs
20385 clean-rcs:
20386 @$(unstage)
20387 @[ -f ./rcs/Makefile ] || exit 0; \
20388 r=`${PWD_COMMAND}`; export r; \
20389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20390 $(HOST_EXPORTS) \
20391 for flag in $(EXTRA_HOST_FLAGS) ; do \
20392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20393 done; \
20394 echo "Doing clean in rcs" ; \
20395 (cd $(HOST_SUBDIR)/rcs && \
20396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20398 "RANLIB=$${RANLIB}" \
20399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20400 clean) \
20401 || exit 1
20403 @endif rcs
20405 .PHONY: maybe-distclean-rcs distclean-rcs
20406 maybe-distclean-rcs:
20407 @if rcs
20408 maybe-distclean-rcs: distclean-rcs
20410 distclean-rcs:
20411 @$(unstage)
20412 @[ -f ./rcs/Makefile ] || exit 0; \
20413 r=`${PWD_COMMAND}`; export r; \
20414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20415 $(HOST_EXPORTS) \
20416 for flag in $(EXTRA_HOST_FLAGS) ; do \
20417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20418 done; \
20419 echo "Doing distclean in rcs" ; \
20420 (cd $(HOST_SUBDIR)/rcs && \
20421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20423 "RANLIB=$${RANLIB}" \
20424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20425 distclean) \
20426 || exit 1
20428 @endif rcs
20430 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20431 maybe-maintainer-clean-rcs:
20432 @if rcs
20433 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20435 maintainer-clean-rcs:
20436 @$(unstage)
20437 @[ -f ./rcs/Makefile ] || exit 0; \
20438 r=`${PWD_COMMAND}`; export r; \
20439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20440 $(HOST_EXPORTS) \
20441 for flag in $(EXTRA_HOST_FLAGS) ; do \
20442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20443 done; \
20444 echo "Doing maintainer-clean in rcs" ; \
20445 (cd $(HOST_SUBDIR)/rcs && \
20446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20448 "RANLIB=$${RANLIB}" \
20449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20450 maintainer-clean) \
20451 || exit 1
20453 @endif rcs
20457 .PHONY: configure-readline maybe-configure-readline
20458 maybe-configure-readline:
20459 @if readline
20460 maybe-configure-readline: configure-readline
20461 configure-readline:
20462 @$(unstage)
20463 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20465 r=`${PWD_COMMAND}`; export r; \
20466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20467 $(HOST_EXPORTS) \
20468 echo Configuring in $(HOST_SUBDIR)/readline; \
20469 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20470 case $(srcdir) in \
20471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20472 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20474 esac; \
20475 srcdiroption="--srcdir=$${topdir}/readline"; \
20476 libsrcdir="$$s/readline"; \
20477 $(SHELL) $${libsrcdir}/configure \
20478 $(HOST_CONFIGARGS) $${srcdiroption} \
20479 || exit 1
20480 @endif readline
20486 .PHONY: all-readline maybe-all-readline
20487 maybe-all-readline:
20488 @if readline
20489 TARGET-readline=all
20490 maybe-all-readline: all-readline
20491 all-readline: configure-readline
20492 @$(unstage)
20493 @r=`${PWD_COMMAND}`; export r; \
20494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20495 $(HOST_EXPORTS) \
20496 (cd $(HOST_SUBDIR)/readline && \
20497 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20498 @endif readline
20503 .PHONY: check-readline maybe-check-readline
20504 maybe-check-readline:
20505 @if readline
20506 maybe-check-readline: check-readline
20508 check-readline:
20509 @$(unstage)
20510 @r=`${PWD_COMMAND}`; export r; \
20511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20512 $(HOST_EXPORTS) \
20513 (cd $(HOST_SUBDIR)/readline && \
20514 $(MAKE) $(FLAGS_TO_PASS) check)
20516 @endif readline
20518 .PHONY: install-readline maybe-install-readline
20519 maybe-install-readline:
20520 @if readline
20521 maybe-install-readline: install-readline
20523 install-readline: installdirs
20524 @$(unstage)
20525 @r=`${PWD_COMMAND}`; export r; \
20526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20527 $(HOST_EXPORTS) \
20528 (cd $(HOST_SUBDIR)/readline && \
20529 $(MAKE) $(FLAGS_TO_PASS) install)
20531 @endif readline
20533 # Other targets (info, dvi, etc.)
20535 .PHONY: maybe-info-readline info-readline
20536 maybe-info-readline:
20537 @if readline
20538 maybe-info-readline: info-readline
20540 info-readline: \
20541 configure-readline
20542 @$(unstage)
20543 @[ -f ./readline/Makefile ] || exit 0; \
20544 r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 $(HOST_EXPORTS) \
20547 for flag in $(EXTRA_HOST_FLAGS) ; do \
20548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20549 done; \
20550 echo "Doing info in readline" ; \
20551 (cd $(HOST_SUBDIR)/readline && \
20552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20554 "RANLIB=$${RANLIB}" \
20555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20556 info) \
20557 || exit 1
20559 @endif readline
20561 .PHONY: maybe-dvi-readline dvi-readline
20562 maybe-dvi-readline:
20563 @if readline
20564 maybe-dvi-readline: dvi-readline
20566 dvi-readline: \
20567 configure-readline
20568 @$(unstage)
20569 @[ -f ./readline/Makefile ] || exit 0; \
20570 r=`${PWD_COMMAND}`; export r; \
20571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20572 $(HOST_EXPORTS) \
20573 for flag in $(EXTRA_HOST_FLAGS) ; do \
20574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20575 done; \
20576 echo "Doing dvi in readline" ; \
20577 (cd $(HOST_SUBDIR)/readline && \
20578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20580 "RANLIB=$${RANLIB}" \
20581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20582 dvi) \
20583 || exit 1
20585 @endif readline
20587 .PHONY: maybe-html-readline html-readline
20588 maybe-html-readline:
20589 @if readline
20590 maybe-html-readline: html-readline
20592 html-readline: \
20593 configure-readline
20594 @$(unstage)
20595 @[ -f ./readline/Makefile ] || exit 0; \
20596 r=`${PWD_COMMAND}`; export r; \
20597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20598 $(HOST_EXPORTS) \
20599 for flag in $(EXTRA_HOST_FLAGS) ; do \
20600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20601 done; \
20602 echo "Doing html in readline" ; \
20603 (cd $(HOST_SUBDIR)/readline && \
20604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20606 "RANLIB=$${RANLIB}" \
20607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20608 html) \
20609 || exit 1
20611 @endif readline
20613 .PHONY: maybe-TAGS-readline TAGS-readline
20614 maybe-TAGS-readline:
20615 @if readline
20616 maybe-TAGS-readline: TAGS-readline
20618 TAGS-readline: \
20619 configure-readline
20620 @$(unstage)
20621 @[ -f ./readline/Makefile ] || exit 0; \
20622 r=`${PWD_COMMAND}`; export r; \
20623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20624 $(HOST_EXPORTS) \
20625 for flag in $(EXTRA_HOST_FLAGS) ; do \
20626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20627 done; \
20628 echo "Doing TAGS in readline" ; \
20629 (cd $(HOST_SUBDIR)/readline && \
20630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20632 "RANLIB=$${RANLIB}" \
20633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20634 TAGS) \
20635 || exit 1
20637 @endif readline
20639 .PHONY: maybe-install-info-readline install-info-readline
20640 maybe-install-info-readline:
20641 @if readline
20642 maybe-install-info-readline: install-info-readline
20644 install-info-readline: \
20645 configure-readline \
20646 info-readline
20647 @$(unstage)
20648 @[ -f ./readline/Makefile ] || exit 0; \
20649 r=`${PWD_COMMAND}`; export r; \
20650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20651 $(HOST_EXPORTS) \
20652 for flag in $(EXTRA_HOST_FLAGS) ; do \
20653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20654 done; \
20655 echo "Doing install-info in readline" ; \
20656 (cd $(HOST_SUBDIR)/readline && \
20657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20659 "RANLIB=$${RANLIB}" \
20660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20661 install-info) \
20662 || exit 1
20664 @endif readline
20666 .PHONY: maybe-installcheck-readline installcheck-readline
20667 maybe-installcheck-readline:
20668 @if readline
20669 maybe-installcheck-readline: installcheck-readline
20671 installcheck-readline: \
20672 configure-readline
20673 @$(unstage)
20674 @[ -f ./readline/Makefile ] || exit 0; \
20675 r=`${PWD_COMMAND}`; export r; \
20676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20677 $(HOST_EXPORTS) \
20678 for flag in $(EXTRA_HOST_FLAGS) ; do \
20679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20680 done; \
20681 echo "Doing installcheck in readline" ; \
20682 (cd $(HOST_SUBDIR)/readline && \
20683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20685 "RANLIB=$${RANLIB}" \
20686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20687 installcheck) \
20688 || exit 1
20690 @endif readline
20692 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
20693 maybe-mostlyclean-readline:
20694 @if readline
20695 maybe-mostlyclean-readline: mostlyclean-readline
20697 mostlyclean-readline:
20698 @$(unstage)
20699 @[ -f ./readline/Makefile ] || exit 0; \
20700 r=`${PWD_COMMAND}`; export r; \
20701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20702 $(HOST_EXPORTS) \
20703 for flag in $(EXTRA_HOST_FLAGS) ; do \
20704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20705 done; \
20706 echo "Doing mostlyclean in readline" ; \
20707 (cd $(HOST_SUBDIR)/readline && \
20708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20710 "RANLIB=$${RANLIB}" \
20711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20712 mostlyclean) \
20713 || exit 1
20715 @endif readline
20717 .PHONY: maybe-clean-readline clean-readline
20718 maybe-clean-readline:
20719 @if readline
20720 maybe-clean-readline: clean-readline
20722 clean-readline:
20723 @$(unstage)
20724 @[ -f ./readline/Makefile ] || exit 0; \
20725 r=`${PWD_COMMAND}`; export r; \
20726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20727 $(HOST_EXPORTS) \
20728 for flag in $(EXTRA_HOST_FLAGS) ; do \
20729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20730 done; \
20731 echo "Doing clean in readline" ; \
20732 (cd $(HOST_SUBDIR)/readline && \
20733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20735 "RANLIB=$${RANLIB}" \
20736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20737 clean) \
20738 || exit 1
20740 @endif readline
20742 .PHONY: maybe-distclean-readline distclean-readline
20743 maybe-distclean-readline:
20744 @if readline
20745 maybe-distclean-readline: distclean-readline
20747 distclean-readline:
20748 @$(unstage)
20749 @[ -f ./readline/Makefile ] || exit 0; \
20750 r=`${PWD_COMMAND}`; export r; \
20751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20752 $(HOST_EXPORTS) \
20753 for flag in $(EXTRA_HOST_FLAGS) ; do \
20754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20755 done; \
20756 echo "Doing distclean in readline" ; \
20757 (cd $(HOST_SUBDIR)/readline && \
20758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20760 "RANLIB=$${RANLIB}" \
20761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20762 distclean) \
20763 || exit 1
20765 @endif readline
20767 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
20768 maybe-maintainer-clean-readline:
20769 @if readline
20770 maybe-maintainer-clean-readline: maintainer-clean-readline
20772 maintainer-clean-readline:
20773 @$(unstage)
20774 @[ -f ./readline/Makefile ] || exit 0; \
20775 r=`${PWD_COMMAND}`; export r; \
20776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20777 $(HOST_EXPORTS) \
20778 for flag in $(EXTRA_HOST_FLAGS) ; do \
20779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20780 done; \
20781 echo "Doing maintainer-clean in readline" ; \
20782 (cd $(HOST_SUBDIR)/readline && \
20783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20785 "RANLIB=$${RANLIB}" \
20786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20787 maintainer-clean) \
20788 || exit 1
20790 @endif readline
20794 .PHONY: configure-release maybe-configure-release
20795 maybe-configure-release:
20796 @if release
20797 maybe-configure-release: configure-release
20798 configure-release:
20799 @$(unstage)
20800 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
20801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
20802 r=`${PWD_COMMAND}`; export r; \
20803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20804 $(HOST_EXPORTS) \
20805 echo Configuring in $(HOST_SUBDIR)/release; \
20806 cd "$(HOST_SUBDIR)/release" || exit 1; \
20807 case $(srcdir) in \
20808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20809 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
20810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20811 esac; \
20812 srcdiroption="--srcdir=$${topdir}/release"; \
20813 libsrcdir="$$s/release"; \
20814 $(SHELL) $${libsrcdir}/configure \
20815 $(HOST_CONFIGARGS) $${srcdiroption} \
20816 || exit 1
20817 @endif release
20823 .PHONY: all-release maybe-all-release
20824 maybe-all-release:
20825 @if release
20826 TARGET-release=all
20827 maybe-all-release: all-release
20828 all-release: configure-release
20829 @$(unstage)
20830 @r=`${PWD_COMMAND}`; export r; \
20831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20832 $(HOST_EXPORTS) \
20833 (cd $(HOST_SUBDIR)/release && \
20834 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20835 @endif release
20840 .PHONY: check-release maybe-check-release
20841 maybe-check-release:
20842 @if release
20843 maybe-check-release: check-release
20845 check-release:
20847 @endif release
20849 .PHONY: install-release maybe-install-release
20850 maybe-install-release:
20851 @if release
20852 maybe-install-release: install-release
20854 install-release:
20856 @endif release
20858 # Other targets (info, dvi, etc.)
20860 .PHONY: maybe-info-release info-release
20861 maybe-info-release:
20862 @if release
20863 maybe-info-release: info-release
20865 info-release: \
20866 configure-release
20867 @$(unstage)
20868 @[ -f ./release/Makefile ] || exit 0; \
20869 r=`${PWD_COMMAND}`; export r; \
20870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20871 $(HOST_EXPORTS) \
20872 for flag in $(EXTRA_HOST_FLAGS) ; do \
20873 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20874 done; \
20875 echo "Doing info in release" ; \
20876 (cd $(HOST_SUBDIR)/release && \
20877 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20878 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20879 "RANLIB=$${RANLIB}" \
20880 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20881 info) \
20882 || exit 1
20884 @endif release
20886 .PHONY: maybe-dvi-release dvi-release
20887 maybe-dvi-release:
20888 @if release
20889 maybe-dvi-release: dvi-release
20891 dvi-release: \
20892 configure-release
20893 @$(unstage)
20894 @[ -f ./release/Makefile ] || exit 0; \
20895 r=`${PWD_COMMAND}`; export r; \
20896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20897 $(HOST_EXPORTS) \
20898 for flag in $(EXTRA_HOST_FLAGS) ; do \
20899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20900 done; \
20901 echo "Doing dvi in release" ; \
20902 (cd $(HOST_SUBDIR)/release && \
20903 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20904 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20905 "RANLIB=$${RANLIB}" \
20906 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20907 dvi) \
20908 || exit 1
20910 @endif release
20912 .PHONY: maybe-html-release html-release
20913 maybe-html-release:
20914 @if release
20915 maybe-html-release: html-release
20917 html-release: \
20918 configure-release
20919 @$(unstage)
20920 @[ -f ./release/Makefile ] || exit 0; \
20921 r=`${PWD_COMMAND}`; export r; \
20922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20923 $(HOST_EXPORTS) \
20924 for flag in $(EXTRA_HOST_FLAGS) ; do \
20925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20926 done; \
20927 echo "Doing html in release" ; \
20928 (cd $(HOST_SUBDIR)/release && \
20929 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20930 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20931 "RANLIB=$${RANLIB}" \
20932 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20933 html) \
20934 || exit 1
20936 @endif release
20938 .PHONY: maybe-TAGS-release TAGS-release
20939 maybe-TAGS-release:
20940 @if release
20941 maybe-TAGS-release: TAGS-release
20943 TAGS-release: \
20944 configure-release
20945 @$(unstage)
20946 @[ -f ./release/Makefile ] || exit 0; \
20947 r=`${PWD_COMMAND}`; export r; \
20948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20949 $(HOST_EXPORTS) \
20950 for flag in $(EXTRA_HOST_FLAGS) ; do \
20951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20952 done; \
20953 echo "Doing TAGS in release" ; \
20954 (cd $(HOST_SUBDIR)/release && \
20955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20957 "RANLIB=$${RANLIB}" \
20958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20959 TAGS) \
20960 || exit 1
20962 @endif release
20964 .PHONY: maybe-install-info-release install-info-release
20965 maybe-install-info-release:
20966 @if release
20967 maybe-install-info-release: install-info-release
20969 install-info-release: \
20970 configure-release \
20971 info-release
20972 @$(unstage)
20973 @[ -f ./release/Makefile ] || exit 0; \
20974 r=`${PWD_COMMAND}`; export r; \
20975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20976 $(HOST_EXPORTS) \
20977 for flag in $(EXTRA_HOST_FLAGS) ; do \
20978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20979 done; \
20980 echo "Doing install-info in release" ; \
20981 (cd $(HOST_SUBDIR)/release && \
20982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20984 "RANLIB=$${RANLIB}" \
20985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20986 install-info) \
20987 || exit 1
20989 @endif release
20991 .PHONY: maybe-installcheck-release installcheck-release
20992 maybe-installcheck-release:
20993 @if release
20994 maybe-installcheck-release: installcheck-release
20996 installcheck-release: \
20997 configure-release
20998 @$(unstage)
20999 @[ -f ./release/Makefile ] || exit 0; \
21000 r=`${PWD_COMMAND}`; export r; \
21001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21002 $(HOST_EXPORTS) \
21003 for flag in $(EXTRA_HOST_FLAGS) ; do \
21004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21005 done; \
21006 echo "Doing installcheck in release" ; \
21007 (cd $(HOST_SUBDIR)/release && \
21008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21010 "RANLIB=$${RANLIB}" \
21011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21012 installcheck) \
21013 || exit 1
21015 @endif release
21017 .PHONY: maybe-mostlyclean-release mostlyclean-release
21018 maybe-mostlyclean-release:
21019 @if release
21020 maybe-mostlyclean-release: mostlyclean-release
21022 mostlyclean-release:
21023 @$(unstage)
21024 @[ -f ./release/Makefile ] || exit 0; \
21025 r=`${PWD_COMMAND}`; export r; \
21026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21027 $(HOST_EXPORTS) \
21028 for flag in $(EXTRA_HOST_FLAGS) ; do \
21029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21030 done; \
21031 echo "Doing mostlyclean in release" ; \
21032 (cd $(HOST_SUBDIR)/release && \
21033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21035 "RANLIB=$${RANLIB}" \
21036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21037 mostlyclean) \
21038 || exit 1
21040 @endif release
21042 .PHONY: maybe-clean-release clean-release
21043 maybe-clean-release:
21044 @if release
21045 maybe-clean-release: clean-release
21047 clean-release:
21048 @$(unstage)
21049 @[ -f ./release/Makefile ] || exit 0; \
21050 r=`${PWD_COMMAND}`; export r; \
21051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21052 $(HOST_EXPORTS) \
21053 for flag in $(EXTRA_HOST_FLAGS) ; do \
21054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21055 done; \
21056 echo "Doing clean in release" ; \
21057 (cd $(HOST_SUBDIR)/release && \
21058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21060 "RANLIB=$${RANLIB}" \
21061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21062 clean) \
21063 || exit 1
21065 @endif release
21067 .PHONY: maybe-distclean-release distclean-release
21068 maybe-distclean-release:
21069 @if release
21070 maybe-distclean-release: distclean-release
21072 distclean-release:
21073 @$(unstage)
21074 @[ -f ./release/Makefile ] || exit 0; \
21075 r=`${PWD_COMMAND}`; export r; \
21076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21077 $(HOST_EXPORTS) \
21078 for flag in $(EXTRA_HOST_FLAGS) ; do \
21079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21080 done; \
21081 echo "Doing distclean in release" ; \
21082 (cd $(HOST_SUBDIR)/release && \
21083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21085 "RANLIB=$${RANLIB}" \
21086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21087 distclean) \
21088 || exit 1
21090 @endif release
21092 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21093 maybe-maintainer-clean-release:
21094 @if release
21095 maybe-maintainer-clean-release: maintainer-clean-release
21097 maintainer-clean-release:
21098 @$(unstage)
21099 @[ -f ./release/Makefile ] || exit 0; \
21100 r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 $(HOST_EXPORTS) \
21103 for flag in $(EXTRA_HOST_FLAGS) ; do \
21104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21105 done; \
21106 echo "Doing maintainer-clean in release" ; \
21107 (cd $(HOST_SUBDIR)/release && \
21108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21110 "RANLIB=$${RANLIB}" \
21111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21112 maintainer-clean) \
21113 || exit 1
21115 @endif release
21119 .PHONY: configure-recode maybe-configure-recode
21120 maybe-configure-recode:
21121 @if recode
21122 maybe-configure-recode: configure-recode
21123 configure-recode:
21124 @$(unstage)
21125 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21126 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21127 r=`${PWD_COMMAND}`; export r; \
21128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21129 $(HOST_EXPORTS) \
21130 echo Configuring in $(HOST_SUBDIR)/recode; \
21131 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21132 case $(srcdir) in \
21133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21134 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21136 esac; \
21137 srcdiroption="--srcdir=$${topdir}/recode"; \
21138 libsrcdir="$$s/recode"; \
21139 $(SHELL) $${libsrcdir}/configure \
21140 $(HOST_CONFIGARGS) $${srcdiroption} \
21141 || exit 1
21142 @endif recode
21148 .PHONY: all-recode maybe-all-recode
21149 maybe-all-recode:
21150 @if recode
21151 TARGET-recode=all
21152 maybe-all-recode: all-recode
21153 all-recode: configure-recode
21154 @$(unstage)
21155 @r=`${PWD_COMMAND}`; export r; \
21156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21157 $(HOST_EXPORTS) \
21158 (cd $(HOST_SUBDIR)/recode && \
21159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21160 @endif recode
21165 .PHONY: check-recode maybe-check-recode
21166 maybe-check-recode:
21167 @if recode
21168 maybe-check-recode: check-recode
21170 check-recode:
21171 @$(unstage)
21172 @r=`${PWD_COMMAND}`; export r; \
21173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21174 $(HOST_EXPORTS) \
21175 (cd $(HOST_SUBDIR)/recode && \
21176 $(MAKE) $(FLAGS_TO_PASS) check)
21178 @endif recode
21180 .PHONY: install-recode maybe-install-recode
21181 maybe-install-recode:
21182 @if recode
21183 maybe-install-recode: install-recode
21185 install-recode: installdirs
21186 @$(unstage)
21187 @r=`${PWD_COMMAND}`; export r; \
21188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21189 $(HOST_EXPORTS) \
21190 (cd $(HOST_SUBDIR)/recode && \
21191 $(MAKE) $(FLAGS_TO_PASS) install)
21193 @endif recode
21195 # Other targets (info, dvi, etc.)
21197 .PHONY: maybe-info-recode info-recode
21198 maybe-info-recode:
21199 @if recode
21200 maybe-info-recode: info-recode
21202 info-recode: \
21203 configure-recode
21204 @$(unstage)
21205 @[ -f ./recode/Makefile ] || exit 0; \
21206 r=`${PWD_COMMAND}`; export r; \
21207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21208 $(HOST_EXPORTS) \
21209 for flag in $(EXTRA_HOST_FLAGS) ; do \
21210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21211 done; \
21212 echo "Doing info in recode" ; \
21213 (cd $(HOST_SUBDIR)/recode && \
21214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21216 "RANLIB=$${RANLIB}" \
21217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21218 info) \
21219 || exit 1
21221 @endif recode
21223 .PHONY: maybe-dvi-recode dvi-recode
21224 maybe-dvi-recode:
21225 @if recode
21226 maybe-dvi-recode: dvi-recode
21228 dvi-recode: \
21229 configure-recode
21230 @$(unstage)
21231 @[ -f ./recode/Makefile ] || exit 0; \
21232 r=`${PWD_COMMAND}`; export r; \
21233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21234 $(HOST_EXPORTS) \
21235 for flag in $(EXTRA_HOST_FLAGS) ; do \
21236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21237 done; \
21238 echo "Doing dvi in recode" ; \
21239 (cd $(HOST_SUBDIR)/recode && \
21240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21242 "RANLIB=$${RANLIB}" \
21243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21244 dvi) \
21245 || exit 1
21247 @endif recode
21249 .PHONY: maybe-html-recode html-recode
21250 maybe-html-recode:
21251 @if recode
21252 maybe-html-recode: html-recode
21254 html-recode: \
21255 configure-recode
21256 @$(unstage)
21257 @[ -f ./recode/Makefile ] || exit 0; \
21258 r=`${PWD_COMMAND}`; export r; \
21259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21260 $(HOST_EXPORTS) \
21261 for flag in $(EXTRA_HOST_FLAGS) ; do \
21262 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21263 done; \
21264 echo "Doing html in recode" ; \
21265 (cd $(HOST_SUBDIR)/recode && \
21266 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21267 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21268 "RANLIB=$${RANLIB}" \
21269 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21270 html) \
21271 || exit 1
21273 @endif recode
21275 .PHONY: maybe-TAGS-recode TAGS-recode
21276 maybe-TAGS-recode:
21277 @if recode
21278 maybe-TAGS-recode: TAGS-recode
21280 TAGS-recode: \
21281 configure-recode
21282 @$(unstage)
21283 @[ -f ./recode/Makefile ] || exit 0; \
21284 r=`${PWD_COMMAND}`; export r; \
21285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21286 $(HOST_EXPORTS) \
21287 for flag in $(EXTRA_HOST_FLAGS) ; do \
21288 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21289 done; \
21290 echo "Doing TAGS in recode" ; \
21291 (cd $(HOST_SUBDIR)/recode && \
21292 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21293 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21294 "RANLIB=$${RANLIB}" \
21295 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21296 TAGS) \
21297 || exit 1
21299 @endif recode
21301 .PHONY: maybe-install-info-recode install-info-recode
21302 maybe-install-info-recode:
21303 @if recode
21304 maybe-install-info-recode: install-info-recode
21306 install-info-recode: \
21307 configure-recode \
21308 info-recode
21309 @$(unstage)
21310 @[ -f ./recode/Makefile ] || exit 0; \
21311 r=`${PWD_COMMAND}`; export r; \
21312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21313 $(HOST_EXPORTS) \
21314 for flag in $(EXTRA_HOST_FLAGS) ; do \
21315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21316 done; \
21317 echo "Doing install-info in recode" ; \
21318 (cd $(HOST_SUBDIR)/recode && \
21319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21321 "RANLIB=$${RANLIB}" \
21322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21323 install-info) \
21324 || exit 1
21326 @endif recode
21328 .PHONY: maybe-installcheck-recode installcheck-recode
21329 maybe-installcheck-recode:
21330 @if recode
21331 maybe-installcheck-recode: installcheck-recode
21333 installcheck-recode: \
21334 configure-recode
21335 @$(unstage)
21336 @[ -f ./recode/Makefile ] || exit 0; \
21337 r=`${PWD_COMMAND}`; export r; \
21338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21339 $(HOST_EXPORTS) \
21340 for flag in $(EXTRA_HOST_FLAGS) ; do \
21341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21342 done; \
21343 echo "Doing installcheck in recode" ; \
21344 (cd $(HOST_SUBDIR)/recode && \
21345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21347 "RANLIB=$${RANLIB}" \
21348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21349 installcheck) \
21350 || exit 1
21352 @endif recode
21354 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21355 maybe-mostlyclean-recode:
21356 @if recode
21357 maybe-mostlyclean-recode: mostlyclean-recode
21359 mostlyclean-recode:
21360 @$(unstage)
21361 @[ -f ./recode/Makefile ] || exit 0; \
21362 r=`${PWD_COMMAND}`; export r; \
21363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21364 $(HOST_EXPORTS) \
21365 for flag in $(EXTRA_HOST_FLAGS) ; do \
21366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21367 done; \
21368 echo "Doing mostlyclean in recode" ; \
21369 (cd $(HOST_SUBDIR)/recode && \
21370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21372 "RANLIB=$${RANLIB}" \
21373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21374 mostlyclean) \
21375 || exit 1
21377 @endif recode
21379 .PHONY: maybe-clean-recode clean-recode
21380 maybe-clean-recode:
21381 @if recode
21382 maybe-clean-recode: clean-recode
21384 clean-recode:
21385 @$(unstage)
21386 @[ -f ./recode/Makefile ] || exit 0; \
21387 r=`${PWD_COMMAND}`; export r; \
21388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21389 $(HOST_EXPORTS) \
21390 for flag in $(EXTRA_HOST_FLAGS) ; do \
21391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21392 done; \
21393 echo "Doing clean in recode" ; \
21394 (cd $(HOST_SUBDIR)/recode && \
21395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21397 "RANLIB=$${RANLIB}" \
21398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21399 clean) \
21400 || exit 1
21402 @endif recode
21404 .PHONY: maybe-distclean-recode distclean-recode
21405 maybe-distclean-recode:
21406 @if recode
21407 maybe-distclean-recode: distclean-recode
21409 distclean-recode:
21410 @$(unstage)
21411 @[ -f ./recode/Makefile ] || exit 0; \
21412 r=`${PWD_COMMAND}`; export r; \
21413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21414 $(HOST_EXPORTS) \
21415 for flag in $(EXTRA_HOST_FLAGS) ; do \
21416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21417 done; \
21418 echo "Doing distclean in recode" ; \
21419 (cd $(HOST_SUBDIR)/recode && \
21420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21422 "RANLIB=$${RANLIB}" \
21423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21424 distclean) \
21425 || exit 1
21427 @endif recode
21429 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21430 maybe-maintainer-clean-recode:
21431 @if recode
21432 maybe-maintainer-clean-recode: maintainer-clean-recode
21434 maintainer-clean-recode:
21435 @$(unstage)
21436 @[ -f ./recode/Makefile ] || exit 0; \
21437 r=`${PWD_COMMAND}`; export r; \
21438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21439 $(HOST_EXPORTS) \
21440 for flag in $(EXTRA_HOST_FLAGS) ; do \
21441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21442 done; \
21443 echo "Doing maintainer-clean in recode" ; \
21444 (cd $(HOST_SUBDIR)/recode && \
21445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21447 "RANLIB=$${RANLIB}" \
21448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21449 maintainer-clean) \
21450 || exit 1
21452 @endif recode
21456 .PHONY: configure-sed maybe-configure-sed
21457 maybe-configure-sed:
21458 @if sed
21459 maybe-configure-sed: configure-sed
21460 configure-sed:
21461 @$(unstage)
21462 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21463 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21464 r=`${PWD_COMMAND}`; export r; \
21465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21466 $(HOST_EXPORTS) \
21467 echo Configuring in $(HOST_SUBDIR)/sed; \
21468 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21469 case $(srcdir) in \
21470 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21471 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21472 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21473 esac; \
21474 srcdiroption="--srcdir=$${topdir}/sed"; \
21475 libsrcdir="$$s/sed"; \
21476 $(SHELL) $${libsrcdir}/configure \
21477 $(HOST_CONFIGARGS) $${srcdiroption} \
21478 || exit 1
21479 @endif sed
21485 .PHONY: all-sed maybe-all-sed
21486 maybe-all-sed:
21487 @if sed
21488 TARGET-sed=all
21489 maybe-all-sed: all-sed
21490 all-sed: configure-sed
21491 @$(unstage)
21492 @r=`${PWD_COMMAND}`; export r; \
21493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21494 $(HOST_EXPORTS) \
21495 (cd $(HOST_SUBDIR)/sed && \
21496 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21497 @endif sed
21502 .PHONY: check-sed maybe-check-sed
21503 maybe-check-sed:
21504 @if sed
21505 maybe-check-sed: check-sed
21507 check-sed:
21508 @$(unstage)
21509 @r=`${PWD_COMMAND}`; export r; \
21510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21511 $(HOST_EXPORTS) \
21512 (cd $(HOST_SUBDIR)/sed && \
21513 $(MAKE) $(FLAGS_TO_PASS) check)
21515 @endif sed
21517 .PHONY: install-sed maybe-install-sed
21518 maybe-install-sed:
21519 @if sed
21520 maybe-install-sed: install-sed
21522 install-sed: installdirs
21523 @$(unstage)
21524 @r=`${PWD_COMMAND}`; export r; \
21525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21526 $(HOST_EXPORTS) \
21527 (cd $(HOST_SUBDIR)/sed && \
21528 $(MAKE) $(FLAGS_TO_PASS) install)
21530 @endif sed
21532 # Other targets (info, dvi, etc.)
21534 .PHONY: maybe-info-sed info-sed
21535 maybe-info-sed:
21536 @if sed
21537 maybe-info-sed: info-sed
21539 info-sed: \
21540 configure-sed
21541 @$(unstage)
21542 @[ -f ./sed/Makefile ] || exit 0; \
21543 r=`${PWD_COMMAND}`; export r; \
21544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21545 $(HOST_EXPORTS) \
21546 for flag in $(EXTRA_HOST_FLAGS) ; do \
21547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21548 done; \
21549 echo "Doing info in sed" ; \
21550 (cd $(HOST_SUBDIR)/sed && \
21551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21553 "RANLIB=$${RANLIB}" \
21554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21555 info) \
21556 || exit 1
21558 @endif sed
21560 .PHONY: maybe-dvi-sed dvi-sed
21561 maybe-dvi-sed:
21562 @if sed
21563 maybe-dvi-sed: dvi-sed
21565 dvi-sed: \
21566 configure-sed
21567 @$(unstage)
21568 @[ -f ./sed/Makefile ] || exit 0; \
21569 r=`${PWD_COMMAND}`; export r; \
21570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21571 $(HOST_EXPORTS) \
21572 for flag in $(EXTRA_HOST_FLAGS) ; do \
21573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21574 done; \
21575 echo "Doing dvi in sed" ; \
21576 (cd $(HOST_SUBDIR)/sed && \
21577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21579 "RANLIB=$${RANLIB}" \
21580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21581 dvi) \
21582 || exit 1
21584 @endif sed
21586 .PHONY: maybe-html-sed html-sed
21587 maybe-html-sed:
21588 @if sed
21589 maybe-html-sed: html-sed
21591 html-sed: \
21592 configure-sed
21593 @$(unstage)
21594 @[ -f ./sed/Makefile ] || exit 0; \
21595 r=`${PWD_COMMAND}`; export r; \
21596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21597 $(HOST_EXPORTS) \
21598 for flag in $(EXTRA_HOST_FLAGS) ; do \
21599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21600 done; \
21601 echo "Doing html in sed" ; \
21602 (cd $(HOST_SUBDIR)/sed && \
21603 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21604 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21605 "RANLIB=$${RANLIB}" \
21606 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21607 html) \
21608 || exit 1
21610 @endif sed
21612 .PHONY: maybe-TAGS-sed TAGS-sed
21613 maybe-TAGS-sed:
21614 @if sed
21615 maybe-TAGS-sed: TAGS-sed
21617 TAGS-sed: \
21618 configure-sed
21619 @$(unstage)
21620 @[ -f ./sed/Makefile ] || exit 0; \
21621 r=`${PWD_COMMAND}`; export r; \
21622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21623 $(HOST_EXPORTS) \
21624 for flag in $(EXTRA_HOST_FLAGS) ; do \
21625 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21626 done; \
21627 echo "Doing TAGS in sed" ; \
21628 (cd $(HOST_SUBDIR)/sed && \
21629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21631 "RANLIB=$${RANLIB}" \
21632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21633 TAGS) \
21634 || exit 1
21636 @endif sed
21638 .PHONY: maybe-install-info-sed install-info-sed
21639 maybe-install-info-sed:
21640 @if sed
21641 maybe-install-info-sed: install-info-sed
21643 install-info-sed: \
21644 configure-sed \
21645 info-sed
21646 @$(unstage)
21647 @[ -f ./sed/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 install-info in sed" ; \
21655 (cd $(HOST_SUBDIR)/sed && \
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 install-info) \
21661 || exit 1
21663 @endif sed
21665 .PHONY: maybe-installcheck-sed installcheck-sed
21666 maybe-installcheck-sed:
21667 @if sed
21668 maybe-installcheck-sed: installcheck-sed
21670 installcheck-sed: \
21671 configure-sed
21672 @$(unstage)
21673 @[ -f ./sed/Makefile ] || exit 0; \
21674 r=`${PWD_COMMAND}`; export r; \
21675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21676 $(HOST_EXPORTS) \
21677 for flag in $(EXTRA_HOST_FLAGS) ; do \
21678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21679 done; \
21680 echo "Doing installcheck in sed" ; \
21681 (cd $(HOST_SUBDIR)/sed && \
21682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21684 "RANLIB=$${RANLIB}" \
21685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21686 installcheck) \
21687 || exit 1
21689 @endif sed
21691 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
21692 maybe-mostlyclean-sed:
21693 @if sed
21694 maybe-mostlyclean-sed: mostlyclean-sed
21696 mostlyclean-sed:
21697 @$(unstage)
21698 @[ -f ./sed/Makefile ] || exit 0; \
21699 r=`${PWD_COMMAND}`; export r; \
21700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21701 $(HOST_EXPORTS) \
21702 for flag in $(EXTRA_HOST_FLAGS) ; do \
21703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21704 done; \
21705 echo "Doing mostlyclean in sed" ; \
21706 (cd $(HOST_SUBDIR)/sed && \
21707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21709 "RANLIB=$${RANLIB}" \
21710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21711 mostlyclean) \
21712 || exit 1
21714 @endif sed
21716 .PHONY: maybe-clean-sed clean-sed
21717 maybe-clean-sed:
21718 @if sed
21719 maybe-clean-sed: clean-sed
21721 clean-sed:
21722 @$(unstage)
21723 @[ -f ./sed/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 clean in sed" ; \
21731 (cd $(HOST_SUBDIR)/sed && \
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 clean) \
21737 || exit 1
21739 @endif sed
21741 .PHONY: maybe-distclean-sed distclean-sed
21742 maybe-distclean-sed:
21743 @if sed
21744 maybe-distclean-sed: distclean-sed
21746 distclean-sed:
21747 @$(unstage)
21748 @[ -f ./sed/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 distclean in sed" ; \
21756 (cd $(HOST_SUBDIR)/sed && \
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 distclean) \
21762 || exit 1
21764 @endif sed
21766 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
21767 maybe-maintainer-clean-sed:
21768 @if sed
21769 maybe-maintainer-clean-sed: maintainer-clean-sed
21771 maintainer-clean-sed:
21772 @$(unstage)
21773 @[ -f ./sed/Makefile ] || exit 0; \
21774 r=`${PWD_COMMAND}`; export r; \
21775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21776 $(HOST_EXPORTS) \
21777 for flag in $(EXTRA_HOST_FLAGS) ; do \
21778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21779 done; \
21780 echo "Doing maintainer-clean in sed" ; \
21781 (cd $(HOST_SUBDIR)/sed && \
21782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21784 "RANLIB=$${RANLIB}" \
21785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21786 maintainer-clean) \
21787 || exit 1
21789 @endif sed
21793 .PHONY: configure-send-pr maybe-configure-send-pr
21794 maybe-configure-send-pr:
21795 @if send-pr
21796 maybe-configure-send-pr: configure-send-pr
21797 configure-send-pr:
21798 @$(unstage)
21799 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
21800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
21801 r=`${PWD_COMMAND}`; export r; \
21802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21803 $(HOST_EXPORTS) \
21804 echo Configuring in $(HOST_SUBDIR)/send-pr; \
21805 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
21806 case $(srcdir) in \
21807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21808 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
21809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21810 esac; \
21811 srcdiroption="--srcdir=$${topdir}/send-pr"; \
21812 libsrcdir="$$s/send-pr"; \
21813 $(SHELL) $${libsrcdir}/configure \
21814 $(HOST_CONFIGARGS) $${srcdiroption} \
21815 || exit 1
21816 @endif send-pr
21822 .PHONY: all-send-pr maybe-all-send-pr
21823 maybe-all-send-pr:
21824 @if send-pr
21825 TARGET-send-pr=all
21826 maybe-all-send-pr: all-send-pr
21827 all-send-pr: configure-send-pr
21828 @$(unstage)
21829 @r=`${PWD_COMMAND}`; export r; \
21830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21831 $(HOST_EXPORTS) \
21832 (cd $(HOST_SUBDIR)/send-pr && \
21833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
21834 @endif send-pr
21839 .PHONY: check-send-pr maybe-check-send-pr
21840 maybe-check-send-pr:
21841 @if send-pr
21842 maybe-check-send-pr: check-send-pr
21844 check-send-pr:
21845 @$(unstage)
21846 @r=`${PWD_COMMAND}`; export r; \
21847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21848 $(HOST_EXPORTS) \
21849 (cd $(HOST_SUBDIR)/send-pr && \
21850 $(MAKE) $(FLAGS_TO_PASS) check)
21852 @endif send-pr
21854 .PHONY: install-send-pr maybe-install-send-pr
21855 maybe-install-send-pr:
21856 @if send-pr
21857 maybe-install-send-pr: install-send-pr
21859 install-send-pr: installdirs
21860 @$(unstage)
21861 @r=`${PWD_COMMAND}`; export r; \
21862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21863 $(HOST_EXPORTS) \
21864 (cd $(HOST_SUBDIR)/send-pr && \
21865 $(MAKE) $(FLAGS_TO_PASS) install)
21867 @endif send-pr
21869 # Other targets (info, dvi, etc.)
21871 .PHONY: maybe-info-send-pr info-send-pr
21872 maybe-info-send-pr:
21873 @if send-pr
21874 maybe-info-send-pr: info-send-pr
21876 info-send-pr: \
21877 configure-send-pr
21878 @$(unstage)
21879 @[ -f ./send-pr/Makefile ] || exit 0; \
21880 r=`${PWD_COMMAND}`; export r; \
21881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21882 $(HOST_EXPORTS) \
21883 for flag in $(EXTRA_HOST_FLAGS) ; do \
21884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21885 done; \
21886 echo "Doing info in send-pr" ; \
21887 (cd $(HOST_SUBDIR)/send-pr && \
21888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21890 "RANLIB=$${RANLIB}" \
21891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21892 info) \
21893 || exit 1
21895 @endif send-pr
21897 .PHONY: maybe-dvi-send-pr dvi-send-pr
21898 maybe-dvi-send-pr:
21899 @if send-pr
21900 maybe-dvi-send-pr: dvi-send-pr
21902 dvi-send-pr: \
21903 configure-send-pr
21904 @$(unstage)
21905 @[ -f ./send-pr/Makefile ] || exit 0; \
21906 r=`${PWD_COMMAND}`; export r; \
21907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21908 $(HOST_EXPORTS) \
21909 for flag in $(EXTRA_HOST_FLAGS) ; do \
21910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21911 done; \
21912 echo "Doing dvi in send-pr" ; \
21913 (cd $(HOST_SUBDIR)/send-pr && \
21914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21916 "RANLIB=$${RANLIB}" \
21917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21918 dvi) \
21919 || exit 1
21921 @endif send-pr
21923 .PHONY: maybe-html-send-pr html-send-pr
21924 maybe-html-send-pr:
21925 @if send-pr
21926 maybe-html-send-pr: html-send-pr
21928 html-send-pr: \
21929 configure-send-pr
21930 @$(unstage)
21931 @[ -f ./send-pr/Makefile ] || exit 0; \
21932 r=`${PWD_COMMAND}`; export r; \
21933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21934 $(HOST_EXPORTS) \
21935 for flag in $(EXTRA_HOST_FLAGS) ; do \
21936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21937 done; \
21938 echo "Doing html in send-pr" ; \
21939 (cd $(HOST_SUBDIR)/send-pr && \
21940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21942 "RANLIB=$${RANLIB}" \
21943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21944 html) \
21945 || exit 1
21947 @endif send-pr
21949 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21950 maybe-TAGS-send-pr:
21951 @if send-pr
21952 maybe-TAGS-send-pr: TAGS-send-pr
21954 TAGS-send-pr: \
21955 configure-send-pr
21956 @$(unstage)
21957 @[ -f ./send-pr/Makefile ] || exit 0; \
21958 r=`${PWD_COMMAND}`; export r; \
21959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21960 $(HOST_EXPORTS) \
21961 for flag in $(EXTRA_HOST_FLAGS) ; do \
21962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21963 done; \
21964 echo "Doing TAGS in send-pr" ; \
21965 (cd $(HOST_SUBDIR)/send-pr && \
21966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21968 "RANLIB=$${RANLIB}" \
21969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21970 TAGS) \
21971 || exit 1
21973 @endif send-pr
21975 .PHONY: maybe-install-info-send-pr install-info-send-pr
21976 maybe-install-info-send-pr:
21977 @if send-pr
21978 maybe-install-info-send-pr: install-info-send-pr
21980 install-info-send-pr: \
21981 configure-send-pr \
21982 info-send-pr
21983 @$(unstage)
21984 @[ -f ./send-pr/Makefile ] || exit 0; \
21985 r=`${PWD_COMMAND}`; export r; \
21986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21987 $(HOST_EXPORTS) \
21988 for flag in $(EXTRA_HOST_FLAGS) ; do \
21989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21990 done; \
21991 echo "Doing install-info in send-pr" ; \
21992 (cd $(HOST_SUBDIR)/send-pr && \
21993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21995 "RANLIB=$${RANLIB}" \
21996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21997 install-info) \
21998 || exit 1
22000 @endif send-pr
22002 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22003 maybe-installcheck-send-pr:
22004 @if send-pr
22005 maybe-installcheck-send-pr: installcheck-send-pr
22007 installcheck-send-pr: \
22008 configure-send-pr
22009 @$(unstage)
22010 @[ -f ./send-pr/Makefile ] || exit 0; \
22011 r=`${PWD_COMMAND}`; export r; \
22012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22013 $(HOST_EXPORTS) \
22014 for flag in $(EXTRA_HOST_FLAGS) ; do \
22015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22016 done; \
22017 echo "Doing installcheck in send-pr" ; \
22018 (cd $(HOST_SUBDIR)/send-pr && \
22019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22021 "RANLIB=$${RANLIB}" \
22022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22023 installcheck) \
22024 || exit 1
22026 @endif send-pr
22028 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22029 maybe-mostlyclean-send-pr:
22030 @if send-pr
22031 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22033 mostlyclean-send-pr:
22034 @$(unstage)
22035 @[ -f ./send-pr/Makefile ] || exit 0; \
22036 r=`${PWD_COMMAND}`; export r; \
22037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22038 $(HOST_EXPORTS) \
22039 for flag in $(EXTRA_HOST_FLAGS) ; do \
22040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22041 done; \
22042 echo "Doing mostlyclean in send-pr" ; \
22043 (cd $(HOST_SUBDIR)/send-pr && \
22044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22046 "RANLIB=$${RANLIB}" \
22047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22048 mostlyclean) \
22049 || exit 1
22051 @endif send-pr
22053 .PHONY: maybe-clean-send-pr clean-send-pr
22054 maybe-clean-send-pr:
22055 @if send-pr
22056 maybe-clean-send-pr: clean-send-pr
22058 clean-send-pr:
22059 @$(unstage)
22060 @[ -f ./send-pr/Makefile ] || exit 0; \
22061 r=`${PWD_COMMAND}`; export r; \
22062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22063 $(HOST_EXPORTS) \
22064 for flag in $(EXTRA_HOST_FLAGS) ; do \
22065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22066 done; \
22067 echo "Doing clean in send-pr" ; \
22068 (cd $(HOST_SUBDIR)/send-pr && \
22069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22071 "RANLIB=$${RANLIB}" \
22072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22073 clean) \
22074 || exit 1
22076 @endif send-pr
22078 .PHONY: maybe-distclean-send-pr distclean-send-pr
22079 maybe-distclean-send-pr:
22080 @if send-pr
22081 maybe-distclean-send-pr: distclean-send-pr
22083 distclean-send-pr:
22084 @$(unstage)
22085 @[ -f ./send-pr/Makefile ] || exit 0; \
22086 r=`${PWD_COMMAND}`; export r; \
22087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22088 $(HOST_EXPORTS) \
22089 for flag in $(EXTRA_HOST_FLAGS) ; do \
22090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22091 done; \
22092 echo "Doing distclean in send-pr" ; \
22093 (cd $(HOST_SUBDIR)/send-pr && \
22094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22096 "RANLIB=$${RANLIB}" \
22097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22098 distclean) \
22099 || exit 1
22101 @endif send-pr
22103 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22104 maybe-maintainer-clean-send-pr:
22105 @if send-pr
22106 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22108 maintainer-clean-send-pr:
22109 @$(unstage)
22110 @[ -f ./send-pr/Makefile ] || exit 0; \
22111 r=`${PWD_COMMAND}`; export r; \
22112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22113 $(HOST_EXPORTS) \
22114 for flag in $(EXTRA_HOST_FLAGS) ; do \
22115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22116 done; \
22117 echo "Doing maintainer-clean in send-pr" ; \
22118 (cd $(HOST_SUBDIR)/send-pr && \
22119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22121 "RANLIB=$${RANLIB}" \
22122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22123 maintainer-clean) \
22124 || exit 1
22126 @endif send-pr
22130 .PHONY: configure-shellutils maybe-configure-shellutils
22131 maybe-configure-shellutils:
22132 @if shellutils
22133 maybe-configure-shellutils: configure-shellutils
22134 configure-shellutils:
22135 @$(unstage)
22136 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22138 r=`${PWD_COMMAND}`; export r; \
22139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22140 $(HOST_EXPORTS) \
22141 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22142 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22143 case $(srcdir) in \
22144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22145 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22147 esac; \
22148 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22149 libsrcdir="$$s/shellutils"; \
22150 $(SHELL) $${libsrcdir}/configure \
22151 $(HOST_CONFIGARGS) $${srcdiroption} \
22152 || exit 1
22153 @endif shellutils
22159 .PHONY: all-shellutils maybe-all-shellutils
22160 maybe-all-shellutils:
22161 @if shellutils
22162 TARGET-shellutils=all
22163 maybe-all-shellutils: all-shellutils
22164 all-shellutils: configure-shellutils
22165 @$(unstage)
22166 @r=`${PWD_COMMAND}`; export r; \
22167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22168 $(HOST_EXPORTS) \
22169 (cd $(HOST_SUBDIR)/shellutils && \
22170 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22171 @endif shellutils
22176 .PHONY: check-shellutils maybe-check-shellutils
22177 maybe-check-shellutils:
22178 @if shellutils
22179 maybe-check-shellutils: check-shellutils
22181 check-shellutils:
22182 @$(unstage)
22183 @r=`${PWD_COMMAND}`; export r; \
22184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22185 $(HOST_EXPORTS) \
22186 (cd $(HOST_SUBDIR)/shellutils && \
22187 $(MAKE) $(FLAGS_TO_PASS) check)
22189 @endif shellutils
22191 .PHONY: install-shellutils maybe-install-shellutils
22192 maybe-install-shellutils:
22193 @if shellutils
22194 maybe-install-shellutils: install-shellutils
22196 install-shellutils: installdirs
22197 @$(unstage)
22198 @r=`${PWD_COMMAND}`; export r; \
22199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22200 $(HOST_EXPORTS) \
22201 (cd $(HOST_SUBDIR)/shellutils && \
22202 $(MAKE) $(FLAGS_TO_PASS) install)
22204 @endif shellutils
22206 # Other targets (info, dvi, etc.)
22208 .PHONY: maybe-info-shellutils info-shellutils
22209 maybe-info-shellutils:
22210 @if shellutils
22211 maybe-info-shellutils: info-shellutils
22213 info-shellutils: \
22214 configure-shellutils
22215 @$(unstage)
22216 @[ -f ./shellutils/Makefile ] || exit 0; \
22217 r=`${PWD_COMMAND}`; export r; \
22218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22219 $(HOST_EXPORTS) \
22220 for flag in $(EXTRA_HOST_FLAGS) ; do \
22221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22222 done; \
22223 echo "Doing info in shellutils" ; \
22224 (cd $(HOST_SUBDIR)/shellutils && \
22225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22227 "RANLIB=$${RANLIB}" \
22228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22229 info) \
22230 || exit 1
22232 @endif shellutils
22234 .PHONY: maybe-dvi-shellutils dvi-shellutils
22235 maybe-dvi-shellutils:
22236 @if shellutils
22237 maybe-dvi-shellutils: dvi-shellutils
22239 dvi-shellutils: \
22240 configure-shellutils
22241 @$(unstage)
22242 @[ -f ./shellutils/Makefile ] || exit 0; \
22243 r=`${PWD_COMMAND}`; export r; \
22244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22245 $(HOST_EXPORTS) \
22246 for flag in $(EXTRA_HOST_FLAGS) ; do \
22247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22248 done; \
22249 echo "Doing dvi in shellutils" ; \
22250 (cd $(HOST_SUBDIR)/shellutils && \
22251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22253 "RANLIB=$${RANLIB}" \
22254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22255 dvi) \
22256 || exit 1
22258 @endif shellutils
22260 .PHONY: maybe-html-shellutils html-shellutils
22261 maybe-html-shellutils:
22262 @if shellutils
22263 maybe-html-shellutils: html-shellutils
22265 html-shellutils: \
22266 configure-shellutils
22267 @$(unstage)
22268 @[ -f ./shellutils/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 html in shellutils" ; \
22276 (cd $(HOST_SUBDIR)/shellutils && \
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 html) \
22282 || exit 1
22284 @endif shellutils
22286 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22287 maybe-TAGS-shellutils:
22288 @if shellutils
22289 maybe-TAGS-shellutils: TAGS-shellutils
22291 TAGS-shellutils: \
22292 configure-shellutils
22293 @$(unstage)
22294 @[ -f ./shellutils/Makefile ] || exit 0; \
22295 r=`${PWD_COMMAND}`; export r; \
22296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22297 $(HOST_EXPORTS) \
22298 for flag in $(EXTRA_HOST_FLAGS) ; do \
22299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22300 done; \
22301 echo "Doing TAGS in shellutils" ; \
22302 (cd $(HOST_SUBDIR)/shellutils && \
22303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22305 "RANLIB=$${RANLIB}" \
22306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22307 TAGS) \
22308 || exit 1
22310 @endif shellutils
22312 .PHONY: maybe-install-info-shellutils install-info-shellutils
22313 maybe-install-info-shellutils:
22314 @if shellutils
22315 maybe-install-info-shellutils: install-info-shellutils
22317 install-info-shellutils: \
22318 configure-shellutils \
22319 info-shellutils
22320 @$(unstage)
22321 @[ -f ./shellutils/Makefile ] || exit 0; \
22322 r=`${PWD_COMMAND}`; export r; \
22323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22324 $(HOST_EXPORTS) \
22325 for flag in $(EXTRA_HOST_FLAGS) ; do \
22326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22327 done; \
22328 echo "Doing install-info in shellutils" ; \
22329 (cd $(HOST_SUBDIR)/shellutils && \
22330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22332 "RANLIB=$${RANLIB}" \
22333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22334 install-info) \
22335 || exit 1
22337 @endif shellutils
22339 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22340 maybe-installcheck-shellutils:
22341 @if shellutils
22342 maybe-installcheck-shellutils: installcheck-shellutils
22344 installcheck-shellutils: \
22345 configure-shellutils
22346 @$(unstage)
22347 @[ -f ./shellutils/Makefile ] || exit 0; \
22348 r=`${PWD_COMMAND}`; export r; \
22349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22350 $(HOST_EXPORTS) \
22351 for flag in $(EXTRA_HOST_FLAGS) ; do \
22352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22353 done; \
22354 echo "Doing installcheck in shellutils" ; \
22355 (cd $(HOST_SUBDIR)/shellutils && \
22356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22358 "RANLIB=$${RANLIB}" \
22359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22360 installcheck) \
22361 || exit 1
22363 @endif shellutils
22365 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22366 maybe-mostlyclean-shellutils:
22367 @if shellutils
22368 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22370 mostlyclean-shellutils:
22371 @$(unstage)
22372 @[ -f ./shellutils/Makefile ] || exit 0; \
22373 r=`${PWD_COMMAND}`; export r; \
22374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22375 $(HOST_EXPORTS) \
22376 for flag in $(EXTRA_HOST_FLAGS) ; do \
22377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22378 done; \
22379 echo "Doing mostlyclean in shellutils" ; \
22380 (cd $(HOST_SUBDIR)/shellutils && \
22381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22383 "RANLIB=$${RANLIB}" \
22384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22385 mostlyclean) \
22386 || exit 1
22388 @endif shellutils
22390 .PHONY: maybe-clean-shellutils clean-shellutils
22391 maybe-clean-shellutils:
22392 @if shellutils
22393 maybe-clean-shellutils: clean-shellutils
22395 clean-shellutils:
22396 @$(unstage)
22397 @[ -f ./shellutils/Makefile ] || exit 0; \
22398 r=`${PWD_COMMAND}`; export r; \
22399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22400 $(HOST_EXPORTS) \
22401 for flag in $(EXTRA_HOST_FLAGS) ; do \
22402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22403 done; \
22404 echo "Doing clean in shellutils" ; \
22405 (cd $(HOST_SUBDIR)/shellutils && \
22406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22408 "RANLIB=$${RANLIB}" \
22409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22410 clean) \
22411 || exit 1
22413 @endif shellutils
22415 .PHONY: maybe-distclean-shellutils distclean-shellutils
22416 maybe-distclean-shellutils:
22417 @if shellutils
22418 maybe-distclean-shellutils: distclean-shellutils
22420 distclean-shellutils:
22421 @$(unstage)
22422 @[ -f ./shellutils/Makefile ] || exit 0; \
22423 r=`${PWD_COMMAND}`; export r; \
22424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22425 $(HOST_EXPORTS) \
22426 for flag in $(EXTRA_HOST_FLAGS) ; do \
22427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22428 done; \
22429 echo "Doing distclean in shellutils" ; \
22430 (cd $(HOST_SUBDIR)/shellutils && \
22431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22433 "RANLIB=$${RANLIB}" \
22434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22435 distclean) \
22436 || exit 1
22438 @endif shellutils
22440 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22441 maybe-maintainer-clean-shellutils:
22442 @if shellutils
22443 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22445 maintainer-clean-shellutils:
22446 @$(unstage)
22447 @[ -f ./shellutils/Makefile ] || exit 0; \
22448 r=`${PWD_COMMAND}`; export r; \
22449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22450 $(HOST_EXPORTS) \
22451 for flag in $(EXTRA_HOST_FLAGS) ; do \
22452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22453 done; \
22454 echo "Doing maintainer-clean in shellutils" ; \
22455 (cd $(HOST_SUBDIR)/shellutils && \
22456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22458 "RANLIB=$${RANLIB}" \
22459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22460 maintainer-clean) \
22461 || exit 1
22463 @endif shellutils
22467 .PHONY: configure-sid maybe-configure-sid
22468 maybe-configure-sid:
22469 @if sid
22470 maybe-configure-sid: configure-sid
22471 configure-sid:
22472 @$(unstage)
22473 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22475 r=`${PWD_COMMAND}`; export r; \
22476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22477 $(HOST_EXPORTS) \
22478 echo Configuring in $(HOST_SUBDIR)/sid; \
22479 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22480 case $(srcdir) in \
22481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22482 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22484 esac; \
22485 srcdiroption="--srcdir=$${topdir}/sid"; \
22486 libsrcdir="$$s/sid"; \
22487 $(SHELL) $${libsrcdir}/configure \
22488 $(HOST_CONFIGARGS) $${srcdiroption} \
22489 || exit 1
22490 @endif sid
22496 .PHONY: all-sid maybe-all-sid
22497 maybe-all-sid:
22498 @if sid
22499 TARGET-sid=all
22500 maybe-all-sid: all-sid
22501 all-sid: configure-sid
22502 @$(unstage)
22503 @r=`${PWD_COMMAND}`; export r; \
22504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22505 $(HOST_EXPORTS) \
22506 (cd $(HOST_SUBDIR)/sid && \
22507 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22508 @endif sid
22513 .PHONY: check-sid maybe-check-sid
22514 maybe-check-sid:
22515 @if sid
22516 maybe-check-sid: check-sid
22518 check-sid:
22519 @$(unstage)
22520 @r=`${PWD_COMMAND}`; export r; \
22521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22522 $(HOST_EXPORTS) \
22523 (cd $(HOST_SUBDIR)/sid && \
22524 $(MAKE) $(FLAGS_TO_PASS) check)
22526 @endif sid
22528 .PHONY: install-sid maybe-install-sid
22529 maybe-install-sid:
22530 @if sid
22531 maybe-install-sid: install-sid
22533 install-sid: installdirs
22534 @$(unstage)
22535 @r=`${PWD_COMMAND}`; export r; \
22536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22537 $(HOST_EXPORTS) \
22538 (cd $(HOST_SUBDIR)/sid && \
22539 $(MAKE) $(FLAGS_TO_PASS) install)
22541 @endif sid
22543 # Other targets (info, dvi, etc.)
22545 .PHONY: maybe-info-sid info-sid
22546 maybe-info-sid:
22547 @if sid
22548 maybe-info-sid: info-sid
22550 info-sid: \
22551 configure-sid
22552 @$(unstage)
22553 @[ -f ./sid/Makefile ] || exit 0; \
22554 r=`${PWD_COMMAND}`; export r; \
22555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22556 $(HOST_EXPORTS) \
22557 for flag in $(EXTRA_HOST_FLAGS) ; do \
22558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22559 done; \
22560 echo "Doing info in sid" ; \
22561 (cd $(HOST_SUBDIR)/sid && \
22562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22564 "RANLIB=$${RANLIB}" \
22565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22566 info) \
22567 || exit 1
22569 @endif sid
22571 .PHONY: maybe-dvi-sid dvi-sid
22572 maybe-dvi-sid:
22573 @if sid
22574 maybe-dvi-sid: dvi-sid
22576 dvi-sid: \
22577 configure-sid
22578 @$(unstage)
22579 @[ -f ./sid/Makefile ] || exit 0; \
22580 r=`${PWD_COMMAND}`; export r; \
22581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22582 $(HOST_EXPORTS) \
22583 for flag in $(EXTRA_HOST_FLAGS) ; do \
22584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22585 done; \
22586 echo "Doing dvi in sid" ; \
22587 (cd $(HOST_SUBDIR)/sid && \
22588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22590 "RANLIB=$${RANLIB}" \
22591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22592 dvi) \
22593 || exit 1
22595 @endif sid
22597 .PHONY: maybe-html-sid html-sid
22598 maybe-html-sid:
22599 @if sid
22600 maybe-html-sid: html-sid
22602 html-sid: \
22603 configure-sid
22604 @$(unstage)
22605 @[ -f ./sid/Makefile ] || exit 0; \
22606 r=`${PWD_COMMAND}`; export r; \
22607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22608 $(HOST_EXPORTS) \
22609 for flag in $(EXTRA_HOST_FLAGS) ; do \
22610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22611 done; \
22612 echo "Doing html in sid" ; \
22613 (cd $(HOST_SUBDIR)/sid && \
22614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22616 "RANLIB=$${RANLIB}" \
22617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22618 html) \
22619 || exit 1
22621 @endif sid
22623 .PHONY: maybe-TAGS-sid TAGS-sid
22624 maybe-TAGS-sid:
22625 @if sid
22626 maybe-TAGS-sid: TAGS-sid
22628 TAGS-sid: \
22629 configure-sid
22630 @$(unstage)
22631 @[ -f ./sid/Makefile ] || exit 0; \
22632 r=`${PWD_COMMAND}`; export r; \
22633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22634 $(HOST_EXPORTS) \
22635 for flag in $(EXTRA_HOST_FLAGS) ; do \
22636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22637 done; \
22638 echo "Doing TAGS in sid" ; \
22639 (cd $(HOST_SUBDIR)/sid && \
22640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22642 "RANLIB=$${RANLIB}" \
22643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22644 TAGS) \
22645 || exit 1
22647 @endif sid
22649 .PHONY: maybe-install-info-sid install-info-sid
22650 maybe-install-info-sid:
22651 @if sid
22652 maybe-install-info-sid: install-info-sid
22654 install-info-sid: \
22655 configure-sid \
22656 info-sid
22657 @$(unstage)
22658 @[ -f ./sid/Makefile ] || exit 0; \
22659 r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 $(HOST_EXPORTS) \
22662 for flag in $(EXTRA_HOST_FLAGS) ; do \
22663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22664 done; \
22665 echo "Doing install-info in sid" ; \
22666 (cd $(HOST_SUBDIR)/sid && \
22667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22669 "RANLIB=$${RANLIB}" \
22670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22671 install-info) \
22672 || exit 1
22674 @endif sid
22676 .PHONY: maybe-installcheck-sid installcheck-sid
22677 maybe-installcheck-sid:
22678 @if sid
22679 maybe-installcheck-sid: installcheck-sid
22681 installcheck-sid: \
22682 configure-sid
22683 @$(unstage)
22684 @[ -f ./sid/Makefile ] || exit 0; \
22685 r=`${PWD_COMMAND}`; export r; \
22686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22687 $(HOST_EXPORTS) \
22688 for flag in $(EXTRA_HOST_FLAGS) ; do \
22689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690 done; \
22691 echo "Doing installcheck in sid" ; \
22692 (cd $(HOST_SUBDIR)/sid && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695 "RANLIB=$${RANLIB}" \
22696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22697 installcheck) \
22698 || exit 1
22700 @endif sid
22702 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
22703 maybe-mostlyclean-sid:
22704 @if sid
22705 maybe-mostlyclean-sid: mostlyclean-sid
22707 mostlyclean-sid:
22708 @$(unstage)
22709 @[ -f ./sid/Makefile ] || exit 0; \
22710 r=`${PWD_COMMAND}`; export r; \
22711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22712 $(HOST_EXPORTS) \
22713 for flag in $(EXTRA_HOST_FLAGS) ; do \
22714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22715 done; \
22716 echo "Doing mostlyclean in sid" ; \
22717 (cd $(HOST_SUBDIR)/sid && \
22718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22720 "RANLIB=$${RANLIB}" \
22721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22722 mostlyclean) \
22723 || exit 1
22725 @endif sid
22727 .PHONY: maybe-clean-sid clean-sid
22728 maybe-clean-sid:
22729 @if sid
22730 maybe-clean-sid: clean-sid
22732 clean-sid:
22733 @$(unstage)
22734 @[ -f ./sid/Makefile ] || exit 0; \
22735 r=`${PWD_COMMAND}`; export r; \
22736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22737 $(HOST_EXPORTS) \
22738 for flag in $(EXTRA_HOST_FLAGS) ; do \
22739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22740 done; \
22741 echo "Doing clean in sid" ; \
22742 (cd $(HOST_SUBDIR)/sid && \
22743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22745 "RANLIB=$${RANLIB}" \
22746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22747 clean) \
22748 || exit 1
22750 @endif sid
22752 .PHONY: maybe-distclean-sid distclean-sid
22753 maybe-distclean-sid:
22754 @if sid
22755 maybe-distclean-sid: distclean-sid
22757 distclean-sid:
22758 @$(unstage)
22759 @[ -f ./sid/Makefile ] || exit 0; \
22760 r=`${PWD_COMMAND}`; export r; \
22761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22762 $(HOST_EXPORTS) \
22763 for flag in $(EXTRA_HOST_FLAGS) ; do \
22764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22765 done; \
22766 echo "Doing distclean in sid" ; \
22767 (cd $(HOST_SUBDIR)/sid && \
22768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22770 "RANLIB=$${RANLIB}" \
22771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22772 distclean) \
22773 || exit 1
22775 @endif sid
22777 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
22778 maybe-maintainer-clean-sid:
22779 @if sid
22780 maybe-maintainer-clean-sid: maintainer-clean-sid
22782 maintainer-clean-sid:
22783 @$(unstage)
22784 @[ -f ./sid/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 maintainer-clean in sid" ; \
22792 (cd $(HOST_SUBDIR)/sid && \
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 maintainer-clean) \
22798 || exit 1
22800 @endif sid
22804 .PHONY: configure-sim maybe-configure-sim
22805 maybe-configure-sim:
22806 @if sim
22807 maybe-configure-sim: configure-sim
22808 configure-sim:
22809 @$(unstage)
22810 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
22811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
22812 r=`${PWD_COMMAND}`; export r; \
22813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22814 $(HOST_EXPORTS) \
22815 echo Configuring in $(HOST_SUBDIR)/sim; \
22816 cd "$(HOST_SUBDIR)/sim" || exit 1; \
22817 case $(srcdir) in \
22818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22819 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
22820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22821 esac; \
22822 srcdiroption="--srcdir=$${topdir}/sim"; \
22823 libsrcdir="$$s/sim"; \
22824 $(SHELL) $${libsrcdir}/configure \
22825 $(HOST_CONFIGARGS) $${srcdiroption} \
22826 || exit 1
22827 @endif sim
22833 .PHONY: all-sim maybe-all-sim
22834 maybe-all-sim:
22835 @if sim
22836 TARGET-sim=all
22837 maybe-all-sim: all-sim
22838 all-sim: configure-sim
22839 @$(unstage)
22840 @r=`${PWD_COMMAND}`; export r; \
22841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22842 $(HOST_EXPORTS) \
22843 (cd $(HOST_SUBDIR)/sim && \
22844 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
22845 @endif sim
22850 .PHONY: check-sim maybe-check-sim
22851 maybe-check-sim:
22852 @if sim
22853 maybe-check-sim: check-sim
22855 check-sim:
22856 @$(unstage)
22857 @r=`${PWD_COMMAND}`; export r; \
22858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22859 $(HOST_EXPORTS) \
22860 (cd $(HOST_SUBDIR)/sim && \
22861 $(MAKE) $(FLAGS_TO_PASS) check)
22863 @endif sim
22865 .PHONY: install-sim maybe-install-sim
22866 maybe-install-sim:
22867 @if sim
22868 maybe-install-sim: install-sim
22870 install-sim: installdirs
22871 @$(unstage)
22872 @r=`${PWD_COMMAND}`; export r; \
22873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22874 $(HOST_EXPORTS) \
22875 (cd $(HOST_SUBDIR)/sim && \
22876 $(MAKE) $(FLAGS_TO_PASS) install)
22878 @endif sim
22880 # Other targets (info, dvi, etc.)
22882 .PHONY: maybe-info-sim info-sim
22883 maybe-info-sim:
22884 @if sim
22885 maybe-info-sim: info-sim
22887 info-sim: \
22888 configure-sim
22889 @$(unstage)
22890 @[ -f ./sim/Makefile ] || exit 0; \
22891 r=`${PWD_COMMAND}`; export r; \
22892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22893 $(HOST_EXPORTS) \
22894 for flag in $(EXTRA_HOST_FLAGS) ; do \
22895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22896 done; \
22897 echo "Doing info in sim" ; \
22898 (cd $(HOST_SUBDIR)/sim && \
22899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22901 "RANLIB=$${RANLIB}" \
22902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22903 info) \
22904 || exit 1
22906 @endif sim
22908 .PHONY: maybe-dvi-sim dvi-sim
22909 maybe-dvi-sim:
22910 @if sim
22911 maybe-dvi-sim: dvi-sim
22913 dvi-sim: \
22914 configure-sim
22915 @$(unstage)
22916 @[ -f ./sim/Makefile ] || exit 0; \
22917 r=`${PWD_COMMAND}`; export r; \
22918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22919 $(HOST_EXPORTS) \
22920 for flag in $(EXTRA_HOST_FLAGS) ; do \
22921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22922 done; \
22923 echo "Doing dvi in sim" ; \
22924 (cd $(HOST_SUBDIR)/sim && \
22925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22927 "RANLIB=$${RANLIB}" \
22928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22929 dvi) \
22930 || exit 1
22932 @endif sim
22934 .PHONY: maybe-html-sim html-sim
22935 maybe-html-sim:
22936 @if sim
22937 maybe-html-sim: html-sim
22939 html-sim: \
22940 configure-sim
22941 @$(unstage)
22942 @[ -f ./sim/Makefile ] || exit 0; \
22943 r=`${PWD_COMMAND}`; export r; \
22944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22945 $(HOST_EXPORTS) \
22946 for flag in $(EXTRA_HOST_FLAGS) ; do \
22947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22948 done; \
22949 echo "Doing html in sim" ; \
22950 (cd $(HOST_SUBDIR)/sim && \
22951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22953 "RANLIB=$${RANLIB}" \
22954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22955 html) \
22956 || exit 1
22958 @endif sim
22960 .PHONY: maybe-TAGS-sim TAGS-sim
22961 maybe-TAGS-sim:
22962 @if sim
22963 maybe-TAGS-sim: TAGS-sim
22965 TAGS-sim: \
22966 configure-sim
22967 @$(unstage)
22968 @[ -f ./sim/Makefile ] || exit 0; \
22969 r=`${PWD_COMMAND}`; export r; \
22970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22971 $(HOST_EXPORTS) \
22972 for flag in $(EXTRA_HOST_FLAGS) ; do \
22973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22974 done; \
22975 echo "Doing TAGS in sim" ; \
22976 (cd $(HOST_SUBDIR)/sim && \
22977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22979 "RANLIB=$${RANLIB}" \
22980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22981 TAGS) \
22982 || exit 1
22984 @endif sim
22986 .PHONY: maybe-install-info-sim install-info-sim
22987 maybe-install-info-sim:
22988 @if sim
22989 maybe-install-info-sim: install-info-sim
22991 install-info-sim: \
22992 configure-sim \
22993 info-sim
22994 @$(unstage)
22995 @[ -f ./sim/Makefile ] || exit 0; \
22996 r=`${PWD_COMMAND}`; export r; \
22997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22998 $(HOST_EXPORTS) \
22999 for flag in $(EXTRA_HOST_FLAGS) ; do \
23000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23001 done; \
23002 echo "Doing install-info in sim" ; \
23003 (cd $(HOST_SUBDIR)/sim && \
23004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23006 "RANLIB=$${RANLIB}" \
23007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23008 install-info) \
23009 || exit 1
23011 @endif sim
23013 .PHONY: maybe-installcheck-sim installcheck-sim
23014 maybe-installcheck-sim:
23015 @if sim
23016 maybe-installcheck-sim: installcheck-sim
23018 installcheck-sim: \
23019 configure-sim
23020 @$(unstage)
23021 @[ -f ./sim/Makefile ] || exit 0; \
23022 r=`${PWD_COMMAND}`; export r; \
23023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23024 $(HOST_EXPORTS) \
23025 for flag in $(EXTRA_HOST_FLAGS) ; do \
23026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23027 done; \
23028 echo "Doing installcheck in sim" ; \
23029 (cd $(HOST_SUBDIR)/sim && \
23030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23032 "RANLIB=$${RANLIB}" \
23033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23034 installcheck) \
23035 || exit 1
23037 @endif sim
23039 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23040 maybe-mostlyclean-sim:
23041 @if sim
23042 maybe-mostlyclean-sim: mostlyclean-sim
23044 mostlyclean-sim:
23045 @$(unstage)
23046 @[ -f ./sim/Makefile ] || exit 0; \
23047 r=`${PWD_COMMAND}`; export r; \
23048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23049 $(HOST_EXPORTS) \
23050 for flag in $(EXTRA_HOST_FLAGS) ; do \
23051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23052 done; \
23053 echo "Doing mostlyclean in sim" ; \
23054 (cd $(HOST_SUBDIR)/sim && \
23055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23057 "RANLIB=$${RANLIB}" \
23058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23059 mostlyclean) \
23060 || exit 1
23062 @endif sim
23064 .PHONY: maybe-clean-sim clean-sim
23065 maybe-clean-sim:
23066 @if sim
23067 maybe-clean-sim: clean-sim
23069 clean-sim:
23070 @$(unstage)
23071 @[ -f ./sim/Makefile ] || exit 0; \
23072 r=`${PWD_COMMAND}`; export r; \
23073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23074 $(HOST_EXPORTS) \
23075 for flag in $(EXTRA_HOST_FLAGS) ; do \
23076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23077 done; \
23078 echo "Doing clean in sim" ; \
23079 (cd $(HOST_SUBDIR)/sim && \
23080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23082 "RANLIB=$${RANLIB}" \
23083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23084 clean) \
23085 || exit 1
23087 @endif sim
23089 .PHONY: maybe-distclean-sim distclean-sim
23090 maybe-distclean-sim:
23091 @if sim
23092 maybe-distclean-sim: distclean-sim
23094 distclean-sim:
23095 @$(unstage)
23096 @[ -f ./sim/Makefile ] || exit 0; \
23097 r=`${PWD_COMMAND}`; export r; \
23098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23099 $(HOST_EXPORTS) \
23100 for flag in $(EXTRA_HOST_FLAGS) ; do \
23101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23102 done; \
23103 echo "Doing distclean in sim" ; \
23104 (cd $(HOST_SUBDIR)/sim && \
23105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23107 "RANLIB=$${RANLIB}" \
23108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23109 distclean) \
23110 || exit 1
23112 @endif sim
23114 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23115 maybe-maintainer-clean-sim:
23116 @if sim
23117 maybe-maintainer-clean-sim: maintainer-clean-sim
23119 maintainer-clean-sim:
23120 @$(unstage)
23121 @[ -f ./sim/Makefile ] || exit 0; \
23122 r=`${PWD_COMMAND}`; export r; \
23123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23124 $(HOST_EXPORTS) \
23125 for flag in $(EXTRA_HOST_FLAGS) ; do \
23126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23127 done; \
23128 echo "Doing maintainer-clean in sim" ; \
23129 (cd $(HOST_SUBDIR)/sim && \
23130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23132 "RANLIB=$${RANLIB}" \
23133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23134 maintainer-clean) \
23135 || exit 1
23137 @endif sim
23141 .PHONY: configure-tar maybe-configure-tar
23142 maybe-configure-tar:
23143 @if tar
23144 maybe-configure-tar: configure-tar
23145 configure-tar:
23146 @$(unstage)
23147 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23149 r=`${PWD_COMMAND}`; export r; \
23150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23151 $(HOST_EXPORTS) \
23152 echo Configuring in $(HOST_SUBDIR)/tar; \
23153 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23154 case $(srcdir) in \
23155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23156 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23158 esac; \
23159 srcdiroption="--srcdir=$${topdir}/tar"; \
23160 libsrcdir="$$s/tar"; \
23161 $(SHELL) $${libsrcdir}/configure \
23162 $(HOST_CONFIGARGS) $${srcdiroption} \
23163 || exit 1
23164 @endif tar
23170 .PHONY: all-tar maybe-all-tar
23171 maybe-all-tar:
23172 @if tar
23173 TARGET-tar=all
23174 maybe-all-tar: all-tar
23175 all-tar: configure-tar
23176 @$(unstage)
23177 @r=`${PWD_COMMAND}`; export r; \
23178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23179 $(HOST_EXPORTS) \
23180 (cd $(HOST_SUBDIR)/tar && \
23181 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23182 @endif tar
23187 .PHONY: check-tar maybe-check-tar
23188 maybe-check-tar:
23189 @if tar
23190 maybe-check-tar: check-tar
23192 check-tar:
23193 @$(unstage)
23194 @r=`${PWD_COMMAND}`; export r; \
23195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23196 $(HOST_EXPORTS) \
23197 (cd $(HOST_SUBDIR)/tar && \
23198 $(MAKE) $(FLAGS_TO_PASS) check)
23200 @endif tar
23202 .PHONY: install-tar maybe-install-tar
23203 maybe-install-tar:
23204 @if tar
23205 maybe-install-tar: install-tar
23207 install-tar: installdirs
23208 @$(unstage)
23209 @r=`${PWD_COMMAND}`; export r; \
23210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23211 $(HOST_EXPORTS) \
23212 (cd $(HOST_SUBDIR)/tar && \
23213 $(MAKE) $(FLAGS_TO_PASS) install)
23215 @endif tar
23217 # Other targets (info, dvi, etc.)
23219 .PHONY: maybe-info-tar info-tar
23220 maybe-info-tar:
23221 @if tar
23222 maybe-info-tar: info-tar
23224 info-tar: \
23225 configure-tar
23226 @$(unstage)
23227 @[ -f ./tar/Makefile ] || exit 0; \
23228 r=`${PWD_COMMAND}`; export r; \
23229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23230 $(HOST_EXPORTS) \
23231 for flag in $(EXTRA_HOST_FLAGS) ; do \
23232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23233 done; \
23234 echo "Doing info in tar" ; \
23235 (cd $(HOST_SUBDIR)/tar && \
23236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23238 "RANLIB=$${RANLIB}" \
23239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23240 info) \
23241 || exit 1
23243 @endif tar
23245 .PHONY: maybe-dvi-tar dvi-tar
23246 maybe-dvi-tar:
23247 @if tar
23248 maybe-dvi-tar: dvi-tar
23250 dvi-tar: \
23251 configure-tar
23252 @$(unstage)
23253 @[ -f ./tar/Makefile ] || exit 0; \
23254 r=`${PWD_COMMAND}`; export r; \
23255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23256 $(HOST_EXPORTS) \
23257 for flag in $(EXTRA_HOST_FLAGS) ; do \
23258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23259 done; \
23260 echo "Doing dvi in tar" ; \
23261 (cd $(HOST_SUBDIR)/tar && \
23262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23264 "RANLIB=$${RANLIB}" \
23265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23266 dvi) \
23267 || exit 1
23269 @endif tar
23271 .PHONY: maybe-html-tar html-tar
23272 maybe-html-tar:
23273 @if tar
23274 maybe-html-tar: html-tar
23276 html-tar: \
23277 configure-tar
23278 @$(unstage)
23279 @[ -f ./tar/Makefile ] || exit 0; \
23280 r=`${PWD_COMMAND}`; export r; \
23281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23282 $(HOST_EXPORTS) \
23283 for flag in $(EXTRA_HOST_FLAGS) ; do \
23284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23285 done; \
23286 echo "Doing html in tar" ; \
23287 (cd $(HOST_SUBDIR)/tar && \
23288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23290 "RANLIB=$${RANLIB}" \
23291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23292 html) \
23293 || exit 1
23295 @endif tar
23297 .PHONY: maybe-TAGS-tar TAGS-tar
23298 maybe-TAGS-tar:
23299 @if tar
23300 maybe-TAGS-tar: TAGS-tar
23302 TAGS-tar: \
23303 configure-tar
23304 @$(unstage)
23305 @[ -f ./tar/Makefile ] || exit 0; \
23306 r=`${PWD_COMMAND}`; export r; \
23307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23308 $(HOST_EXPORTS) \
23309 for flag in $(EXTRA_HOST_FLAGS) ; do \
23310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23311 done; \
23312 echo "Doing TAGS in tar" ; \
23313 (cd $(HOST_SUBDIR)/tar && \
23314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23316 "RANLIB=$${RANLIB}" \
23317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23318 TAGS) \
23319 || exit 1
23321 @endif tar
23323 .PHONY: maybe-install-info-tar install-info-tar
23324 maybe-install-info-tar:
23325 @if tar
23326 maybe-install-info-tar: install-info-tar
23328 install-info-tar: \
23329 configure-tar \
23330 info-tar
23331 @$(unstage)
23332 @[ -f ./tar/Makefile ] || exit 0; \
23333 r=`${PWD_COMMAND}`; export r; \
23334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23335 $(HOST_EXPORTS) \
23336 for flag in $(EXTRA_HOST_FLAGS) ; do \
23337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23338 done; \
23339 echo "Doing install-info in tar" ; \
23340 (cd $(HOST_SUBDIR)/tar && \
23341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23343 "RANLIB=$${RANLIB}" \
23344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23345 install-info) \
23346 || exit 1
23348 @endif tar
23350 .PHONY: maybe-installcheck-tar installcheck-tar
23351 maybe-installcheck-tar:
23352 @if tar
23353 maybe-installcheck-tar: installcheck-tar
23355 installcheck-tar: \
23356 configure-tar
23357 @$(unstage)
23358 @[ -f ./tar/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 tar" ; \
23366 (cd $(HOST_SUBDIR)/tar && \
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 tar
23376 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23377 maybe-mostlyclean-tar:
23378 @if tar
23379 maybe-mostlyclean-tar: mostlyclean-tar
23381 mostlyclean-tar:
23382 @$(unstage)
23383 @[ -f ./tar/Makefile ] || exit 0; \
23384 r=`${PWD_COMMAND}`; export r; \
23385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23386 $(HOST_EXPORTS) \
23387 for flag in $(EXTRA_HOST_FLAGS) ; do \
23388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23389 done; \
23390 echo "Doing mostlyclean in tar" ; \
23391 (cd $(HOST_SUBDIR)/tar && \
23392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23394 "RANLIB=$${RANLIB}" \
23395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23396 mostlyclean) \
23397 || exit 1
23399 @endif tar
23401 .PHONY: maybe-clean-tar clean-tar
23402 maybe-clean-tar:
23403 @if tar
23404 maybe-clean-tar: clean-tar
23406 clean-tar:
23407 @$(unstage)
23408 @[ -f ./tar/Makefile ] || exit 0; \
23409 r=`${PWD_COMMAND}`; export r; \
23410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23411 $(HOST_EXPORTS) \
23412 for flag in $(EXTRA_HOST_FLAGS) ; do \
23413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23414 done; \
23415 echo "Doing clean in tar" ; \
23416 (cd $(HOST_SUBDIR)/tar && \
23417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23419 "RANLIB=$${RANLIB}" \
23420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23421 clean) \
23422 || exit 1
23424 @endif tar
23426 .PHONY: maybe-distclean-tar distclean-tar
23427 maybe-distclean-tar:
23428 @if tar
23429 maybe-distclean-tar: distclean-tar
23431 distclean-tar:
23432 @$(unstage)
23433 @[ -f ./tar/Makefile ] || exit 0; \
23434 r=`${PWD_COMMAND}`; export r; \
23435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23436 $(HOST_EXPORTS) \
23437 for flag in $(EXTRA_HOST_FLAGS) ; do \
23438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23439 done; \
23440 echo "Doing distclean in tar" ; \
23441 (cd $(HOST_SUBDIR)/tar && \
23442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23444 "RANLIB=$${RANLIB}" \
23445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23446 distclean) \
23447 || exit 1
23449 @endif tar
23451 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23452 maybe-maintainer-clean-tar:
23453 @if tar
23454 maybe-maintainer-clean-tar: maintainer-clean-tar
23456 maintainer-clean-tar:
23457 @$(unstage)
23458 @[ -f ./tar/Makefile ] || exit 0; \
23459 r=`${PWD_COMMAND}`; export r; \
23460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23461 $(HOST_EXPORTS) \
23462 for flag in $(EXTRA_HOST_FLAGS) ; do \
23463 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23464 done; \
23465 echo "Doing maintainer-clean in tar" ; \
23466 (cd $(HOST_SUBDIR)/tar && \
23467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23469 "RANLIB=$${RANLIB}" \
23470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23471 maintainer-clean) \
23472 || exit 1
23474 @endif tar
23478 .PHONY: configure-texinfo maybe-configure-texinfo
23479 maybe-configure-texinfo:
23480 @if texinfo
23481 maybe-configure-texinfo: configure-texinfo
23482 configure-texinfo:
23483 @$(unstage)
23484 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23485 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23486 r=`${PWD_COMMAND}`; export r; \
23487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23488 $(HOST_EXPORTS) \
23489 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23490 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23491 case $(srcdir) in \
23492 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23493 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23494 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23495 esac; \
23496 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23497 libsrcdir="$$s/texinfo"; \
23498 $(SHELL) $${libsrcdir}/configure \
23499 $(HOST_CONFIGARGS) $${srcdiroption} \
23500 || exit 1
23501 @endif texinfo
23507 .PHONY: all-texinfo maybe-all-texinfo
23508 maybe-all-texinfo:
23509 @if texinfo
23510 TARGET-texinfo=all
23511 maybe-all-texinfo: all-texinfo
23512 all-texinfo: configure-texinfo
23513 @$(unstage)
23514 @r=`${PWD_COMMAND}`; export r; \
23515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23516 $(HOST_EXPORTS) \
23517 (cd $(HOST_SUBDIR)/texinfo && \
23518 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23519 @endif texinfo
23524 .PHONY: check-texinfo maybe-check-texinfo
23525 maybe-check-texinfo:
23526 @if texinfo
23527 maybe-check-texinfo: check-texinfo
23529 check-texinfo:
23530 @$(unstage)
23531 @r=`${PWD_COMMAND}`; export r; \
23532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23533 $(HOST_EXPORTS) \
23534 (cd $(HOST_SUBDIR)/texinfo && \
23535 $(MAKE) $(FLAGS_TO_PASS) check)
23537 @endif texinfo
23539 .PHONY: install-texinfo maybe-install-texinfo
23540 maybe-install-texinfo:
23541 @if texinfo
23542 maybe-install-texinfo: install-texinfo
23544 install-texinfo:
23546 @endif texinfo
23548 # Other targets (info, dvi, etc.)
23550 .PHONY: maybe-info-texinfo info-texinfo
23551 maybe-info-texinfo:
23552 @if texinfo
23553 maybe-info-texinfo: info-texinfo
23555 info-texinfo: \
23556 configure-texinfo
23557 @$(unstage)
23558 @[ -f ./texinfo/Makefile ] || exit 0; \
23559 r=`${PWD_COMMAND}`; export r; \
23560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23561 $(HOST_EXPORTS) \
23562 for flag in $(EXTRA_HOST_FLAGS) ; do \
23563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23564 done; \
23565 echo "Doing info in texinfo" ; \
23566 (cd $(HOST_SUBDIR)/texinfo && \
23567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23569 "RANLIB=$${RANLIB}" \
23570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23571 info) \
23572 || exit 1
23574 @endif texinfo
23576 .PHONY: maybe-dvi-texinfo dvi-texinfo
23577 maybe-dvi-texinfo:
23578 @if texinfo
23579 maybe-dvi-texinfo: dvi-texinfo
23581 dvi-texinfo: \
23582 configure-texinfo
23583 @$(unstage)
23584 @[ -f ./texinfo/Makefile ] || exit 0; \
23585 r=`${PWD_COMMAND}`; export r; \
23586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23587 $(HOST_EXPORTS) \
23588 for flag in $(EXTRA_HOST_FLAGS) ; do \
23589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23590 done; \
23591 echo "Doing dvi in texinfo" ; \
23592 (cd $(HOST_SUBDIR)/texinfo && \
23593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23595 "RANLIB=$${RANLIB}" \
23596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23597 dvi) \
23598 || exit 1
23600 @endif texinfo
23602 .PHONY: maybe-html-texinfo html-texinfo
23603 maybe-html-texinfo:
23604 @if texinfo
23605 maybe-html-texinfo: html-texinfo
23607 html-texinfo: \
23608 configure-texinfo
23609 @$(unstage)
23610 @[ -f ./texinfo/Makefile ] || exit 0; \
23611 r=`${PWD_COMMAND}`; export r; \
23612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23613 $(HOST_EXPORTS) \
23614 for flag in $(EXTRA_HOST_FLAGS) ; do \
23615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23616 done; \
23617 echo "Doing html in texinfo" ; \
23618 (cd $(HOST_SUBDIR)/texinfo && \
23619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23621 "RANLIB=$${RANLIB}" \
23622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23623 html) \
23624 || exit 1
23626 @endif texinfo
23628 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
23629 maybe-TAGS-texinfo:
23630 @if texinfo
23631 maybe-TAGS-texinfo: TAGS-texinfo
23633 TAGS-texinfo: \
23634 configure-texinfo
23635 @$(unstage)
23636 @[ -f ./texinfo/Makefile ] || exit 0; \
23637 r=`${PWD_COMMAND}`; export r; \
23638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23639 $(HOST_EXPORTS) \
23640 for flag in $(EXTRA_HOST_FLAGS) ; do \
23641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23642 done; \
23643 echo "Doing TAGS in texinfo" ; \
23644 (cd $(HOST_SUBDIR)/texinfo && \
23645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23647 "RANLIB=$${RANLIB}" \
23648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23649 TAGS) \
23650 || exit 1
23652 @endif texinfo
23654 .PHONY: maybe-install-info-texinfo install-info-texinfo
23655 maybe-install-info-texinfo:
23656 @if texinfo
23657 maybe-install-info-texinfo: install-info-texinfo
23659 install-info-texinfo: \
23660 configure-texinfo \
23661 info-texinfo
23662 @$(unstage)
23663 @[ -f ./texinfo/Makefile ] || exit 0; \
23664 r=`${PWD_COMMAND}`; export r; \
23665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23666 $(HOST_EXPORTS) \
23667 for flag in $(EXTRA_HOST_FLAGS) ; do \
23668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23669 done; \
23670 echo "Doing install-info in texinfo" ; \
23671 (cd $(HOST_SUBDIR)/texinfo && \
23672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23674 "RANLIB=$${RANLIB}" \
23675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23676 install-info) \
23677 || exit 1
23679 @endif texinfo
23681 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
23682 maybe-installcheck-texinfo:
23683 @if texinfo
23684 maybe-installcheck-texinfo: installcheck-texinfo
23686 installcheck-texinfo: \
23687 configure-texinfo
23688 @$(unstage)
23689 @[ -f ./texinfo/Makefile ] || exit 0; \
23690 r=`${PWD_COMMAND}`; export r; \
23691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23692 $(HOST_EXPORTS) \
23693 for flag in $(EXTRA_HOST_FLAGS) ; do \
23694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23695 done; \
23696 echo "Doing installcheck in texinfo" ; \
23697 (cd $(HOST_SUBDIR)/texinfo && \
23698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23700 "RANLIB=$${RANLIB}" \
23701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23702 installcheck) \
23703 || exit 1
23705 @endif texinfo
23707 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
23708 maybe-mostlyclean-texinfo:
23709 @if texinfo
23710 maybe-mostlyclean-texinfo: mostlyclean-texinfo
23712 mostlyclean-texinfo:
23713 @$(unstage)
23714 @[ -f ./texinfo/Makefile ] || exit 0; \
23715 r=`${PWD_COMMAND}`; export r; \
23716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23717 $(HOST_EXPORTS) \
23718 for flag in $(EXTRA_HOST_FLAGS) ; do \
23719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23720 done; \
23721 echo "Doing mostlyclean in texinfo" ; \
23722 (cd $(HOST_SUBDIR)/texinfo && \
23723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23725 "RANLIB=$${RANLIB}" \
23726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23727 mostlyclean) \
23728 || exit 1
23730 @endif texinfo
23732 .PHONY: maybe-clean-texinfo clean-texinfo
23733 maybe-clean-texinfo:
23734 @if texinfo
23735 maybe-clean-texinfo: clean-texinfo
23737 clean-texinfo:
23738 @$(unstage)
23739 @[ -f ./texinfo/Makefile ] || exit 0; \
23740 r=`${PWD_COMMAND}`; export r; \
23741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23742 $(HOST_EXPORTS) \
23743 for flag in $(EXTRA_HOST_FLAGS) ; do \
23744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23745 done; \
23746 echo "Doing clean in texinfo" ; \
23747 (cd $(HOST_SUBDIR)/texinfo && \
23748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23750 "RANLIB=$${RANLIB}" \
23751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23752 clean) \
23753 || exit 1
23755 @endif texinfo
23757 .PHONY: maybe-distclean-texinfo distclean-texinfo
23758 maybe-distclean-texinfo:
23759 @if texinfo
23760 maybe-distclean-texinfo: distclean-texinfo
23762 distclean-texinfo:
23763 @$(unstage)
23764 @[ -f ./texinfo/Makefile ] || exit 0; \
23765 r=`${PWD_COMMAND}`; export r; \
23766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23767 $(HOST_EXPORTS) \
23768 for flag in $(EXTRA_HOST_FLAGS) ; do \
23769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23770 done; \
23771 echo "Doing distclean in texinfo" ; \
23772 (cd $(HOST_SUBDIR)/texinfo && \
23773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23775 "RANLIB=$${RANLIB}" \
23776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23777 distclean) \
23778 || exit 1
23780 @endif texinfo
23782 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
23783 maybe-maintainer-clean-texinfo:
23784 @if texinfo
23785 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
23787 maintainer-clean-texinfo:
23788 @$(unstage)
23789 @[ -f ./texinfo/Makefile ] || exit 0; \
23790 r=`${PWD_COMMAND}`; export r; \
23791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23792 $(HOST_EXPORTS) \
23793 for flag in $(EXTRA_HOST_FLAGS) ; do \
23794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23795 done; \
23796 echo "Doing maintainer-clean in texinfo" ; \
23797 (cd $(HOST_SUBDIR)/texinfo && \
23798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23800 "RANLIB=$${RANLIB}" \
23801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23802 maintainer-clean) \
23803 || exit 1
23805 @endif texinfo
23809 .PHONY: configure-textutils maybe-configure-textutils
23810 maybe-configure-textutils:
23811 @if textutils
23812 maybe-configure-textutils: configure-textutils
23813 configure-textutils:
23814 @$(unstage)
23815 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
23816 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
23817 r=`${PWD_COMMAND}`; export r; \
23818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23819 $(HOST_EXPORTS) \
23820 echo Configuring in $(HOST_SUBDIR)/textutils; \
23821 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
23822 case $(srcdir) in \
23823 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23824 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
23825 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23826 esac; \
23827 srcdiroption="--srcdir=$${topdir}/textutils"; \
23828 libsrcdir="$$s/textutils"; \
23829 $(SHELL) $${libsrcdir}/configure \
23830 $(HOST_CONFIGARGS) $${srcdiroption} \
23831 || exit 1
23832 @endif textutils
23838 .PHONY: all-textutils maybe-all-textutils
23839 maybe-all-textutils:
23840 @if textutils
23841 TARGET-textutils=all
23842 maybe-all-textutils: all-textutils
23843 all-textutils: configure-textutils
23844 @$(unstage)
23845 @r=`${PWD_COMMAND}`; export r; \
23846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23847 $(HOST_EXPORTS) \
23848 (cd $(HOST_SUBDIR)/textutils && \
23849 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
23850 @endif textutils
23855 .PHONY: check-textutils maybe-check-textutils
23856 maybe-check-textutils:
23857 @if textutils
23858 maybe-check-textutils: check-textutils
23860 check-textutils:
23861 @$(unstage)
23862 @r=`${PWD_COMMAND}`; export r; \
23863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23864 $(HOST_EXPORTS) \
23865 (cd $(HOST_SUBDIR)/textutils && \
23866 $(MAKE) $(FLAGS_TO_PASS) check)
23868 @endif textutils
23870 .PHONY: install-textutils maybe-install-textutils
23871 maybe-install-textutils:
23872 @if textutils
23873 maybe-install-textutils: install-textutils
23875 install-textutils: installdirs
23876 @$(unstage)
23877 @r=`${PWD_COMMAND}`; export r; \
23878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23879 $(HOST_EXPORTS) \
23880 (cd $(HOST_SUBDIR)/textutils && \
23881 $(MAKE) $(FLAGS_TO_PASS) install)
23883 @endif textutils
23885 # Other targets (info, dvi, etc.)
23887 .PHONY: maybe-info-textutils info-textutils
23888 maybe-info-textutils:
23889 @if textutils
23890 maybe-info-textutils: info-textutils
23892 info-textutils: \
23893 configure-textutils
23894 @$(unstage)
23895 @[ -f ./textutils/Makefile ] || exit 0; \
23896 r=`${PWD_COMMAND}`; export r; \
23897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23898 $(HOST_EXPORTS) \
23899 for flag in $(EXTRA_HOST_FLAGS) ; do \
23900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23901 done; \
23902 echo "Doing info in textutils" ; \
23903 (cd $(HOST_SUBDIR)/textutils && \
23904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23906 "RANLIB=$${RANLIB}" \
23907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23908 info) \
23909 || exit 1
23911 @endif textutils
23913 .PHONY: maybe-dvi-textutils dvi-textutils
23914 maybe-dvi-textutils:
23915 @if textutils
23916 maybe-dvi-textutils: dvi-textutils
23918 dvi-textutils: \
23919 configure-textutils
23920 @$(unstage)
23921 @[ -f ./textutils/Makefile ] || exit 0; \
23922 r=`${PWD_COMMAND}`; export r; \
23923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23924 $(HOST_EXPORTS) \
23925 for flag in $(EXTRA_HOST_FLAGS) ; do \
23926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23927 done; \
23928 echo "Doing dvi in textutils" ; \
23929 (cd $(HOST_SUBDIR)/textutils && \
23930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23932 "RANLIB=$${RANLIB}" \
23933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23934 dvi) \
23935 || exit 1
23937 @endif textutils
23939 .PHONY: maybe-html-textutils html-textutils
23940 maybe-html-textutils:
23941 @if textutils
23942 maybe-html-textutils: html-textutils
23944 html-textutils: \
23945 configure-textutils
23946 @$(unstage)
23947 @[ -f ./textutils/Makefile ] || exit 0; \
23948 r=`${PWD_COMMAND}`; export r; \
23949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23950 $(HOST_EXPORTS) \
23951 for flag in $(EXTRA_HOST_FLAGS) ; do \
23952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23953 done; \
23954 echo "Doing html in textutils" ; \
23955 (cd $(HOST_SUBDIR)/textutils && \
23956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23958 "RANLIB=$${RANLIB}" \
23959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23960 html) \
23961 || exit 1
23963 @endif textutils
23965 .PHONY: maybe-TAGS-textutils TAGS-textutils
23966 maybe-TAGS-textutils:
23967 @if textutils
23968 maybe-TAGS-textutils: TAGS-textutils
23970 TAGS-textutils: \
23971 configure-textutils
23972 @$(unstage)
23973 @[ -f ./textutils/Makefile ] || exit 0; \
23974 r=`${PWD_COMMAND}`; export r; \
23975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23976 $(HOST_EXPORTS) \
23977 for flag in $(EXTRA_HOST_FLAGS) ; do \
23978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23979 done; \
23980 echo "Doing TAGS in textutils" ; \
23981 (cd $(HOST_SUBDIR)/textutils && \
23982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23984 "RANLIB=$${RANLIB}" \
23985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23986 TAGS) \
23987 || exit 1
23989 @endif textutils
23991 .PHONY: maybe-install-info-textutils install-info-textutils
23992 maybe-install-info-textutils:
23993 @if textutils
23994 maybe-install-info-textutils: install-info-textutils
23996 install-info-textutils: \
23997 configure-textutils \
23998 info-textutils
23999 @$(unstage)
24000 @[ -f ./textutils/Makefile ] || exit 0; \
24001 r=`${PWD_COMMAND}`; export r; \
24002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24003 $(HOST_EXPORTS) \
24004 for flag in $(EXTRA_HOST_FLAGS) ; do \
24005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24006 done; \
24007 echo "Doing install-info in textutils" ; \
24008 (cd $(HOST_SUBDIR)/textutils && \
24009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24011 "RANLIB=$${RANLIB}" \
24012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24013 install-info) \
24014 || exit 1
24016 @endif textutils
24018 .PHONY: maybe-installcheck-textutils installcheck-textutils
24019 maybe-installcheck-textutils:
24020 @if textutils
24021 maybe-installcheck-textutils: installcheck-textutils
24023 installcheck-textutils: \
24024 configure-textutils
24025 @$(unstage)
24026 @[ -f ./textutils/Makefile ] || exit 0; \
24027 r=`${PWD_COMMAND}`; export r; \
24028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24029 $(HOST_EXPORTS) \
24030 for flag in $(EXTRA_HOST_FLAGS) ; do \
24031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24032 done; \
24033 echo "Doing installcheck in textutils" ; \
24034 (cd $(HOST_SUBDIR)/textutils && \
24035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24037 "RANLIB=$${RANLIB}" \
24038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24039 installcheck) \
24040 || exit 1
24042 @endif textutils
24044 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24045 maybe-mostlyclean-textutils:
24046 @if textutils
24047 maybe-mostlyclean-textutils: mostlyclean-textutils
24049 mostlyclean-textutils:
24050 @$(unstage)
24051 @[ -f ./textutils/Makefile ] || exit 0; \
24052 r=`${PWD_COMMAND}`; export r; \
24053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24054 $(HOST_EXPORTS) \
24055 for flag in $(EXTRA_HOST_FLAGS) ; do \
24056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24057 done; \
24058 echo "Doing mostlyclean in textutils" ; \
24059 (cd $(HOST_SUBDIR)/textutils && \
24060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24062 "RANLIB=$${RANLIB}" \
24063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24064 mostlyclean) \
24065 || exit 1
24067 @endif textutils
24069 .PHONY: maybe-clean-textutils clean-textutils
24070 maybe-clean-textutils:
24071 @if textutils
24072 maybe-clean-textutils: clean-textutils
24074 clean-textutils:
24075 @$(unstage)
24076 @[ -f ./textutils/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 clean in textutils" ; \
24084 (cd $(HOST_SUBDIR)/textutils && \
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 clean) \
24090 || exit 1
24092 @endif textutils
24094 .PHONY: maybe-distclean-textutils distclean-textutils
24095 maybe-distclean-textutils:
24096 @if textutils
24097 maybe-distclean-textutils: distclean-textutils
24099 distclean-textutils:
24100 @$(unstage)
24101 @[ -f ./textutils/Makefile ] || exit 0; \
24102 r=`${PWD_COMMAND}`; export r; \
24103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24104 $(HOST_EXPORTS) \
24105 for flag in $(EXTRA_HOST_FLAGS) ; do \
24106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24107 done; \
24108 echo "Doing distclean in textutils" ; \
24109 (cd $(HOST_SUBDIR)/textutils && \
24110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24112 "RANLIB=$${RANLIB}" \
24113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24114 distclean) \
24115 || exit 1
24117 @endif textutils
24119 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24120 maybe-maintainer-clean-textutils:
24121 @if textutils
24122 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24124 maintainer-clean-textutils:
24125 @$(unstage)
24126 @[ -f ./textutils/Makefile ] || exit 0; \
24127 r=`${PWD_COMMAND}`; export r; \
24128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24129 $(HOST_EXPORTS) \
24130 for flag in $(EXTRA_HOST_FLAGS) ; do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24132 done; \
24133 echo "Doing maintainer-clean in textutils" ; \
24134 (cd $(HOST_SUBDIR)/textutils && \
24135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24137 "RANLIB=$${RANLIB}" \
24138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24139 maintainer-clean) \
24140 || exit 1
24142 @endif textutils
24146 .PHONY: configure-time maybe-configure-time
24147 maybe-configure-time:
24148 @if time
24149 maybe-configure-time: configure-time
24150 configure-time:
24151 @$(unstage)
24152 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24154 r=`${PWD_COMMAND}`; export r; \
24155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24156 $(HOST_EXPORTS) \
24157 echo Configuring in $(HOST_SUBDIR)/time; \
24158 cd "$(HOST_SUBDIR)/time" || exit 1; \
24159 case $(srcdir) in \
24160 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24161 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24162 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24163 esac; \
24164 srcdiroption="--srcdir=$${topdir}/time"; \
24165 libsrcdir="$$s/time"; \
24166 $(SHELL) $${libsrcdir}/configure \
24167 $(HOST_CONFIGARGS) $${srcdiroption} \
24168 || exit 1
24169 @endif time
24175 .PHONY: all-time maybe-all-time
24176 maybe-all-time:
24177 @if time
24178 TARGET-time=all
24179 maybe-all-time: all-time
24180 all-time: configure-time
24181 @$(unstage)
24182 @r=`${PWD_COMMAND}`; export r; \
24183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24184 $(HOST_EXPORTS) \
24185 (cd $(HOST_SUBDIR)/time && \
24186 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24187 @endif time
24192 .PHONY: check-time maybe-check-time
24193 maybe-check-time:
24194 @if time
24195 maybe-check-time: check-time
24197 check-time:
24198 @$(unstage)
24199 @r=`${PWD_COMMAND}`; export r; \
24200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24201 $(HOST_EXPORTS) \
24202 (cd $(HOST_SUBDIR)/time && \
24203 $(MAKE) $(FLAGS_TO_PASS) check)
24205 @endif time
24207 .PHONY: install-time maybe-install-time
24208 maybe-install-time:
24209 @if time
24210 maybe-install-time: install-time
24212 install-time: installdirs
24213 @$(unstage)
24214 @r=`${PWD_COMMAND}`; export r; \
24215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24216 $(HOST_EXPORTS) \
24217 (cd $(HOST_SUBDIR)/time && \
24218 $(MAKE) $(FLAGS_TO_PASS) install)
24220 @endif time
24222 # Other targets (info, dvi, etc.)
24224 .PHONY: maybe-info-time info-time
24225 maybe-info-time:
24226 @if time
24227 maybe-info-time: info-time
24229 info-time: \
24230 configure-time
24231 @$(unstage)
24232 @[ -f ./time/Makefile ] || exit 0; \
24233 r=`${PWD_COMMAND}`; export r; \
24234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24235 $(HOST_EXPORTS) \
24236 for flag in $(EXTRA_HOST_FLAGS) ; do \
24237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24238 done; \
24239 echo "Doing info in time" ; \
24240 (cd $(HOST_SUBDIR)/time && \
24241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24243 "RANLIB=$${RANLIB}" \
24244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24245 info) \
24246 || exit 1
24248 @endif time
24250 .PHONY: maybe-dvi-time dvi-time
24251 maybe-dvi-time:
24252 @if time
24253 maybe-dvi-time: dvi-time
24255 dvi-time: \
24256 configure-time
24257 @$(unstage)
24258 @[ -f ./time/Makefile ] || exit 0; \
24259 r=`${PWD_COMMAND}`; export r; \
24260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24261 $(HOST_EXPORTS) \
24262 for flag in $(EXTRA_HOST_FLAGS) ; do \
24263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24264 done; \
24265 echo "Doing dvi in time" ; \
24266 (cd $(HOST_SUBDIR)/time && \
24267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24269 "RANLIB=$${RANLIB}" \
24270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24271 dvi) \
24272 || exit 1
24274 @endif time
24276 .PHONY: maybe-html-time html-time
24277 maybe-html-time:
24278 @if time
24279 maybe-html-time: html-time
24281 html-time: \
24282 configure-time
24283 @$(unstage)
24284 @[ -f ./time/Makefile ] || exit 0; \
24285 r=`${PWD_COMMAND}`; export r; \
24286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24287 $(HOST_EXPORTS) \
24288 for flag in $(EXTRA_HOST_FLAGS) ; do \
24289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24290 done; \
24291 echo "Doing html in time" ; \
24292 (cd $(HOST_SUBDIR)/time && \
24293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24295 "RANLIB=$${RANLIB}" \
24296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24297 html) \
24298 || exit 1
24300 @endif time
24302 .PHONY: maybe-TAGS-time TAGS-time
24303 maybe-TAGS-time:
24304 @if time
24305 maybe-TAGS-time: TAGS-time
24307 TAGS-time: \
24308 configure-time
24309 @$(unstage)
24310 @[ -f ./time/Makefile ] || exit 0; \
24311 r=`${PWD_COMMAND}`; export r; \
24312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24313 $(HOST_EXPORTS) \
24314 for flag in $(EXTRA_HOST_FLAGS) ; do \
24315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24316 done; \
24317 echo "Doing TAGS in time" ; \
24318 (cd $(HOST_SUBDIR)/time && \
24319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24321 "RANLIB=$${RANLIB}" \
24322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24323 TAGS) \
24324 || exit 1
24326 @endif time
24328 .PHONY: maybe-install-info-time install-info-time
24329 maybe-install-info-time:
24330 @if time
24331 maybe-install-info-time: install-info-time
24333 install-info-time: \
24334 configure-time \
24335 info-time
24336 @$(unstage)
24337 @[ -f ./time/Makefile ] || exit 0; \
24338 r=`${PWD_COMMAND}`; export r; \
24339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24340 $(HOST_EXPORTS) \
24341 for flag in $(EXTRA_HOST_FLAGS) ; do \
24342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24343 done; \
24344 echo "Doing install-info in time" ; \
24345 (cd $(HOST_SUBDIR)/time && \
24346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24348 "RANLIB=$${RANLIB}" \
24349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24350 install-info) \
24351 || exit 1
24353 @endif time
24355 .PHONY: maybe-installcheck-time installcheck-time
24356 maybe-installcheck-time:
24357 @if time
24358 maybe-installcheck-time: installcheck-time
24360 installcheck-time: \
24361 configure-time
24362 @$(unstage)
24363 @[ -f ./time/Makefile ] || exit 0; \
24364 r=`${PWD_COMMAND}`; export r; \
24365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24366 $(HOST_EXPORTS) \
24367 for flag in $(EXTRA_HOST_FLAGS) ; do \
24368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24369 done; \
24370 echo "Doing installcheck in time" ; \
24371 (cd $(HOST_SUBDIR)/time && \
24372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24374 "RANLIB=$${RANLIB}" \
24375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24376 installcheck) \
24377 || exit 1
24379 @endif time
24381 .PHONY: maybe-mostlyclean-time mostlyclean-time
24382 maybe-mostlyclean-time:
24383 @if time
24384 maybe-mostlyclean-time: mostlyclean-time
24386 mostlyclean-time:
24387 @$(unstage)
24388 @[ -f ./time/Makefile ] || exit 0; \
24389 r=`${PWD_COMMAND}`; export r; \
24390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24391 $(HOST_EXPORTS) \
24392 for flag in $(EXTRA_HOST_FLAGS) ; do \
24393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24394 done; \
24395 echo "Doing mostlyclean in time" ; \
24396 (cd $(HOST_SUBDIR)/time && \
24397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24399 "RANLIB=$${RANLIB}" \
24400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24401 mostlyclean) \
24402 || exit 1
24404 @endif time
24406 .PHONY: maybe-clean-time clean-time
24407 maybe-clean-time:
24408 @if time
24409 maybe-clean-time: clean-time
24411 clean-time:
24412 @$(unstage)
24413 @[ -f ./time/Makefile ] || exit 0; \
24414 r=`${PWD_COMMAND}`; export r; \
24415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24416 $(HOST_EXPORTS) \
24417 for flag in $(EXTRA_HOST_FLAGS) ; do \
24418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24419 done; \
24420 echo "Doing clean in time" ; \
24421 (cd $(HOST_SUBDIR)/time && \
24422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24424 "RANLIB=$${RANLIB}" \
24425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24426 clean) \
24427 || exit 1
24429 @endif time
24431 .PHONY: maybe-distclean-time distclean-time
24432 maybe-distclean-time:
24433 @if time
24434 maybe-distclean-time: distclean-time
24436 distclean-time:
24437 @$(unstage)
24438 @[ -f ./time/Makefile ] || exit 0; \
24439 r=`${PWD_COMMAND}`; export r; \
24440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24441 $(HOST_EXPORTS) \
24442 for flag in $(EXTRA_HOST_FLAGS) ; do \
24443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24444 done; \
24445 echo "Doing distclean in time" ; \
24446 (cd $(HOST_SUBDIR)/time && \
24447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24449 "RANLIB=$${RANLIB}" \
24450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24451 distclean) \
24452 || exit 1
24454 @endif time
24456 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24457 maybe-maintainer-clean-time:
24458 @if time
24459 maybe-maintainer-clean-time: maintainer-clean-time
24461 maintainer-clean-time:
24462 @$(unstage)
24463 @[ -f ./time/Makefile ] || exit 0; \
24464 r=`${PWD_COMMAND}`; export r; \
24465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24466 $(HOST_EXPORTS) \
24467 for flag in $(EXTRA_HOST_FLAGS) ; do \
24468 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24469 done; \
24470 echo "Doing maintainer-clean in time" ; \
24471 (cd $(HOST_SUBDIR)/time && \
24472 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24473 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24474 "RANLIB=$${RANLIB}" \
24475 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24476 maintainer-clean) \
24477 || exit 1
24479 @endif time
24483 .PHONY: configure-uudecode maybe-configure-uudecode
24484 maybe-configure-uudecode:
24485 @if uudecode
24486 maybe-configure-uudecode: configure-uudecode
24487 configure-uudecode:
24488 @$(unstage)
24489 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24490 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24491 r=`${PWD_COMMAND}`; export r; \
24492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24493 $(HOST_EXPORTS) \
24494 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24495 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24496 case $(srcdir) in \
24497 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24498 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24499 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24500 esac; \
24501 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24502 libsrcdir="$$s/uudecode"; \
24503 $(SHELL) $${libsrcdir}/configure \
24504 $(HOST_CONFIGARGS) $${srcdiroption} \
24505 || exit 1
24506 @endif uudecode
24512 .PHONY: all-uudecode maybe-all-uudecode
24513 maybe-all-uudecode:
24514 @if uudecode
24515 TARGET-uudecode=all
24516 maybe-all-uudecode: all-uudecode
24517 all-uudecode: configure-uudecode
24518 @$(unstage)
24519 @r=`${PWD_COMMAND}`; export r; \
24520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24521 $(HOST_EXPORTS) \
24522 (cd $(HOST_SUBDIR)/uudecode && \
24523 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24524 @endif uudecode
24529 .PHONY: check-uudecode maybe-check-uudecode
24530 maybe-check-uudecode:
24531 @if uudecode
24532 maybe-check-uudecode: check-uudecode
24534 check-uudecode:
24535 @$(unstage)
24536 @r=`${PWD_COMMAND}`; export r; \
24537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24538 $(HOST_EXPORTS) \
24539 (cd $(HOST_SUBDIR)/uudecode && \
24540 $(MAKE) $(FLAGS_TO_PASS) check)
24542 @endif uudecode
24544 .PHONY: install-uudecode maybe-install-uudecode
24545 maybe-install-uudecode:
24546 @if uudecode
24547 maybe-install-uudecode: install-uudecode
24549 install-uudecode: installdirs
24550 @$(unstage)
24551 @r=`${PWD_COMMAND}`; export r; \
24552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24553 $(HOST_EXPORTS) \
24554 (cd $(HOST_SUBDIR)/uudecode && \
24555 $(MAKE) $(FLAGS_TO_PASS) install)
24557 @endif uudecode
24559 # Other targets (info, dvi, etc.)
24561 .PHONY: maybe-info-uudecode info-uudecode
24562 maybe-info-uudecode:
24563 @if uudecode
24564 maybe-info-uudecode: info-uudecode
24566 info-uudecode: \
24567 configure-uudecode
24568 @$(unstage)
24569 @[ -f ./uudecode/Makefile ] || exit 0; \
24570 r=`${PWD_COMMAND}`; export r; \
24571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24572 $(HOST_EXPORTS) \
24573 for flag in $(EXTRA_HOST_FLAGS) ; do \
24574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24575 done; \
24576 echo "Doing info in uudecode" ; \
24577 (cd $(HOST_SUBDIR)/uudecode && \
24578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24580 "RANLIB=$${RANLIB}" \
24581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24582 info) \
24583 || exit 1
24585 @endif uudecode
24587 .PHONY: maybe-dvi-uudecode dvi-uudecode
24588 maybe-dvi-uudecode:
24589 @if uudecode
24590 maybe-dvi-uudecode: dvi-uudecode
24592 dvi-uudecode: \
24593 configure-uudecode
24594 @$(unstage)
24595 @[ -f ./uudecode/Makefile ] || exit 0; \
24596 r=`${PWD_COMMAND}`; export r; \
24597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24598 $(HOST_EXPORTS) \
24599 for flag in $(EXTRA_HOST_FLAGS) ; do \
24600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24601 done; \
24602 echo "Doing dvi in uudecode" ; \
24603 (cd $(HOST_SUBDIR)/uudecode && \
24604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24606 "RANLIB=$${RANLIB}" \
24607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24608 dvi) \
24609 || exit 1
24611 @endif uudecode
24613 .PHONY: maybe-html-uudecode html-uudecode
24614 maybe-html-uudecode:
24615 @if uudecode
24616 maybe-html-uudecode: html-uudecode
24618 html-uudecode: \
24619 configure-uudecode
24620 @$(unstage)
24621 @[ -f ./uudecode/Makefile ] || exit 0; \
24622 r=`${PWD_COMMAND}`; export r; \
24623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24624 $(HOST_EXPORTS) \
24625 for flag in $(EXTRA_HOST_FLAGS) ; do \
24626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24627 done; \
24628 echo "Doing html in uudecode" ; \
24629 (cd $(HOST_SUBDIR)/uudecode && \
24630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24632 "RANLIB=$${RANLIB}" \
24633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24634 html) \
24635 || exit 1
24637 @endif uudecode
24639 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
24640 maybe-TAGS-uudecode:
24641 @if uudecode
24642 maybe-TAGS-uudecode: TAGS-uudecode
24644 TAGS-uudecode: \
24645 configure-uudecode
24646 @$(unstage)
24647 @[ -f ./uudecode/Makefile ] || exit 0; \
24648 r=`${PWD_COMMAND}`; export r; \
24649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24650 $(HOST_EXPORTS) \
24651 for flag in $(EXTRA_HOST_FLAGS) ; do \
24652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24653 done; \
24654 echo "Doing TAGS in uudecode" ; \
24655 (cd $(HOST_SUBDIR)/uudecode && \
24656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24658 "RANLIB=$${RANLIB}" \
24659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24660 TAGS) \
24661 || exit 1
24663 @endif uudecode
24665 .PHONY: maybe-install-info-uudecode install-info-uudecode
24666 maybe-install-info-uudecode:
24667 @if uudecode
24668 maybe-install-info-uudecode: install-info-uudecode
24670 install-info-uudecode: \
24671 configure-uudecode \
24672 info-uudecode
24673 @$(unstage)
24674 @[ -f ./uudecode/Makefile ] || exit 0; \
24675 r=`${PWD_COMMAND}`; export r; \
24676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24677 $(HOST_EXPORTS) \
24678 for flag in $(EXTRA_HOST_FLAGS) ; do \
24679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24680 done; \
24681 echo "Doing install-info in uudecode" ; \
24682 (cd $(HOST_SUBDIR)/uudecode && \
24683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24685 "RANLIB=$${RANLIB}" \
24686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24687 install-info) \
24688 || exit 1
24690 @endif uudecode
24692 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
24693 maybe-installcheck-uudecode:
24694 @if uudecode
24695 maybe-installcheck-uudecode: installcheck-uudecode
24697 installcheck-uudecode: \
24698 configure-uudecode
24699 @$(unstage)
24700 @[ -f ./uudecode/Makefile ] || exit 0; \
24701 r=`${PWD_COMMAND}`; export r; \
24702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24703 $(HOST_EXPORTS) \
24704 for flag in $(EXTRA_HOST_FLAGS) ; do \
24705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24706 done; \
24707 echo "Doing installcheck in uudecode" ; \
24708 (cd $(HOST_SUBDIR)/uudecode && \
24709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24711 "RANLIB=$${RANLIB}" \
24712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24713 installcheck) \
24714 || exit 1
24716 @endif uudecode
24718 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
24719 maybe-mostlyclean-uudecode:
24720 @if uudecode
24721 maybe-mostlyclean-uudecode: mostlyclean-uudecode
24723 mostlyclean-uudecode:
24724 @$(unstage)
24725 @[ -f ./uudecode/Makefile ] || exit 0; \
24726 r=`${PWD_COMMAND}`; export r; \
24727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24728 $(HOST_EXPORTS) \
24729 for flag in $(EXTRA_HOST_FLAGS) ; do \
24730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24731 done; \
24732 echo "Doing mostlyclean in uudecode" ; \
24733 (cd $(HOST_SUBDIR)/uudecode && \
24734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24736 "RANLIB=$${RANLIB}" \
24737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24738 mostlyclean) \
24739 || exit 1
24741 @endif uudecode
24743 .PHONY: maybe-clean-uudecode clean-uudecode
24744 maybe-clean-uudecode:
24745 @if uudecode
24746 maybe-clean-uudecode: clean-uudecode
24748 clean-uudecode:
24749 @$(unstage)
24750 @[ -f ./uudecode/Makefile ] || exit 0; \
24751 r=`${PWD_COMMAND}`; export r; \
24752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24753 $(HOST_EXPORTS) \
24754 for flag in $(EXTRA_HOST_FLAGS) ; do \
24755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24756 done; \
24757 echo "Doing clean in uudecode" ; \
24758 (cd $(HOST_SUBDIR)/uudecode && \
24759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24761 "RANLIB=$${RANLIB}" \
24762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24763 clean) \
24764 || exit 1
24766 @endif uudecode
24768 .PHONY: maybe-distclean-uudecode distclean-uudecode
24769 maybe-distclean-uudecode:
24770 @if uudecode
24771 maybe-distclean-uudecode: distclean-uudecode
24773 distclean-uudecode:
24774 @$(unstage)
24775 @[ -f ./uudecode/Makefile ] || exit 0; \
24776 r=`${PWD_COMMAND}`; export r; \
24777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24778 $(HOST_EXPORTS) \
24779 for flag in $(EXTRA_HOST_FLAGS) ; do \
24780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24781 done; \
24782 echo "Doing distclean in uudecode" ; \
24783 (cd $(HOST_SUBDIR)/uudecode && \
24784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24786 "RANLIB=$${RANLIB}" \
24787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24788 distclean) \
24789 || exit 1
24791 @endif uudecode
24793 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
24794 maybe-maintainer-clean-uudecode:
24795 @if uudecode
24796 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
24798 maintainer-clean-uudecode:
24799 @$(unstage)
24800 @[ -f ./uudecode/Makefile ] || exit 0; \
24801 r=`${PWD_COMMAND}`; export r; \
24802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24803 $(HOST_EXPORTS) \
24804 for flag in $(EXTRA_HOST_FLAGS) ; do \
24805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24806 done; \
24807 echo "Doing maintainer-clean in uudecode" ; \
24808 (cd $(HOST_SUBDIR)/uudecode && \
24809 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24810 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24811 "RANLIB=$${RANLIB}" \
24812 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24813 maintainer-clean) \
24814 || exit 1
24816 @endif uudecode
24820 .PHONY: configure-wdiff maybe-configure-wdiff
24821 maybe-configure-wdiff:
24822 @if wdiff
24823 maybe-configure-wdiff: configure-wdiff
24824 configure-wdiff:
24825 @$(unstage)
24826 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
24827 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
24828 r=`${PWD_COMMAND}`; export r; \
24829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24830 $(HOST_EXPORTS) \
24831 echo Configuring in $(HOST_SUBDIR)/wdiff; \
24832 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
24833 case $(srcdir) in \
24834 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24835 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
24836 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24837 esac; \
24838 srcdiroption="--srcdir=$${topdir}/wdiff"; \
24839 libsrcdir="$$s/wdiff"; \
24840 $(SHELL) $${libsrcdir}/configure \
24841 $(HOST_CONFIGARGS) $${srcdiroption} \
24842 || exit 1
24843 @endif wdiff
24849 .PHONY: all-wdiff maybe-all-wdiff
24850 maybe-all-wdiff:
24851 @if wdiff
24852 TARGET-wdiff=all
24853 maybe-all-wdiff: all-wdiff
24854 all-wdiff: configure-wdiff
24855 @$(unstage)
24856 @r=`${PWD_COMMAND}`; export r; \
24857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24858 $(HOST_EXPORTS) \
24859 (cd $(HOST_SUBDIR)/wdiff && \
24860 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
24861 @endif wdiff
24866 .PHONY: check-wdiff maybe-check-wdiff
24867 maybe-check-wdiff:
24868 @if wdiff
24869 maybe-check-wdiff: check-wdiff
24871 check-wdiff:
24872 @$(unstage)
24873 @r=`${PWD_COMMAND}`; export r; \
24874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24875 $(HOST_EXPORTS) \
24876 (cd $(HOST_SUBDIR)/wdiff && \
24877 $(MAKE) $(FLAGS_TO_PASS) check)
24879 @endif wdiff
24881 .PHONY: install-wdiff maybe-install-wdiff
24882 maybe-install-wdiff:
24883 @if wdiff
24884 maybe-install-wdiff: install-wdiff
24886 install-wdiff: installdirs
24887 @$(unstage)
24888 @r=`${PWD_COMMAND}`; export r; \
24889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24890 $(HOST_EXPORTS) \
24891 (cd $(HOST_SUBDIR)/wdiff && \
24892 $(MAKE) $(FLAGS_TO_PASS) install)
24894 @endif wdiff
24896 # Other targets (info, dvi, etc.)
24898 .PHONY: maybe-info-wdiff info-wdiff
24899 maybe-info-wdiff:
24900 @if wdiff
24901 maybe-info-wdiff: info-wdiff
24903 info-wdiff: \
24904 configure-wdiff
24905 @$(unstage)
24906 @[ -f ./wdiff/Makefile ] || exit 0; \
24907 r=`${PWD_COMMAND}`; export r; \
24908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24909 $(HOST_EXPORTS) \
24910 for flag in $(EXTRA_HOST_FLAGS) ; do \
24911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24912 done; \
24913 echo "Doing info in wdiff" ; \
24914 (cd $(HOST_SUBDIR)/wdiff && \
24915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24917 "RANLIB=$${RANLIB}" \
24918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24919 info) \
24920 || exit 1
24922 @endif wdiff
24924 .PHONY: maybe-dvi-wdiff dvi-wdiff
24925 maybe-dvi-wdiff:
24926 @if wdiff
24927 maybe-dvi-wdiff: dvi-wdiff
24929 dvi-wdiff: \
24930 configure-wdiff
24931 @$(unstage)
24932 @[ -f ./wdiff/Makefile ] || exit 0; \
24933 r=`${PWD_COMMAND}`; export r; \
24934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24935 $(HOST_EXPORTS) \
24936 for flag in $(EXTRA_HOST_FLAGS) ; do \
24937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24938 done; \
24939 echo "Doing dvi in wdiff" ; \
24940 (cd $(HOST_SUBDIR)/wdiff && \
24941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24943 "RANLIB=$${RANLIB}" \
24944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24945 dvi) \
24946 || exit 1
24948 @endif wdiff
24950 .PHONY: maybe-html-wdiff html-wdiff
24951 maybe-html-wdiff:
24952 @if wdiff
24953 maybe-html-wdiff: html-wdiff
24955 html-wdiff: \
24956 configure-wdiff
24957 @$(unstage)
24958 @[ -f ./wdiff/Makefile ] || exit 0; \
24959 r=`${PWD_COMMAND}`; export r; \
24960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24961 $(HOST_EXPORTS) \
24962 for flag in $(EXTRA_HOST_FLAGS) ; do \
24963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24964 done; \
24965 echo "Doing html in wdiff" ; \
24966 (cd $(HOST_SUBDIR)/wdiff && \
24967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24969 "RANLIB=$${RANLIB}" \
24970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24971 html) \
24972 || exit 1
24974 @endif wdiff
24976 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24977 maybe-TAGS-wdiff:
24978 @if wdiff
24979 maybe-TAGS-wdiff: TAGS-wdiff
24981 TAGS-wdiff: \
24982 configure-wdiff
24983 @$(unstage)
24984 @[ -f ./wdiff/Makefile ] || exit 0; \
24985 r=`${PWD_COMMAND}`; export r; \
24986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24987 $(HOST_EXPORTS) \
24988 for flag in $(EXTRA_HOST_FLAGS) ; do \
24989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24990 done; \
24991 echo "Doing TAGS in wdiff" ; \
24992 (cd $(HOST_SUBDIR)/wdiff && \
24993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24995 "RANLIB=$${RANLIB}" \
24996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24997 TAGS) \
24998 || exit 1
25000 @endif wdiff
25002 .PHONY: maybe-install-info-wdiff install-info-wdiff
25003 maybe-install-info-wdiff:
25004 @if wdiff
25005 maybe-install-info-wdiff: install-info-wdiff
25007 install-info-wdiff: \
25008 configure-wdiff \
25009 info-wdiff
25010 @$(unstage)
25011 @[ -f ./wdiff/Makefile ] || exit 0; \
25012 r=`${PWD_COMMAND}`; export r; \
25013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25014 $(HOST_EXPORTS) \
25015 for flag in $(EXTRA_HOST_FLAGS) ; do \
25016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25017 done; \
25018 echo "Doing install-info in wdiff" ; \
25019 (cd $(HOST_SUBDIR)/wdiff && \
25020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25022 "RANLIB=$${RANLIB}" \
25023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25024 install-info) \
25025 || exit 1
25027 @endif wdiff
25029 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25030 maybe-installcheck-wdiff:
25031 @if wdiff
25032 maybe-installcheck-wdiff: installcheck-wdiff
25034 installcheck-wdiff: \
25035 configure-wdiff
25036 @$(unstage)
25037 @[ -f ./wdiff/Makefile ] || exit 0; \
25038 r=`${PWD_COMMAND}`; export r; \
25039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25040 $(HOST_EXPORTS) \
25041 for flag in $(EXTRA_HOST_FLAGS) ; do \
25042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25043 done; \
25044 echo "Doing installcheck in wdiff" ; \
25045 (cd $(HOST_SUBDIR)/wdiff && \
25046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25048 "RANLIB=$${RANLIB}" \
25049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25050 installcheck) \
25051 || exit 1
25053 @endif wdiff
25055 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25056 maybe-mostlyclean-wdiff:
25057 @if wdiff
25058 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25060 mostlyclean-wdiff:
25061 @$(unstage)
25062 @[ -f ./wdiff/Makefile ] || exit 0; \
25063 r=`${PWD_COMMAND}`; export r; \
25064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25065 $(HOST_EXPORTS) \
25066 for flag in $(EXTRA_HOST_FLAGS) ; do \
25067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25068 done; \
25069 echo "Doing mostlyclean in wdiff" ; \
25070 (cd $(HOST_SUBDIR)/wdiff && \
25071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25073 "RANLIB=$${RANLIB}" \
25074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25075 mostlyclean) \
25076 || exit 1
25078 @endif wdiff
25080 .PHONY: maybe-clean-wdiff clean-wdiff
25081 maybe-clean-wdiff:
25082 @if wdiff
25083 maybe-clean-wdiff: clean-wdiff
25085 clean-wdiff:
25086 @$(unstage)
25087 @[ -f ./wdiff/Makefile ] || exit 0; \
25088 r=`${PWD_COMMAND}`; export r; \
25089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25090 $(HOST_EXPORTS) \
25091 for flag in $(EXTRA_HOST_FLAGS) ; do \
25092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25093 done; \
25094 echo "Doing clean in wdiff" ; \
25095 (cd $(HOST_SUBDIR)/wdiff && \
25096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25098 "RANLIB=$${RANLIB}" \
25099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25100 clean) \
25101 || exit 1
25103 @endif wdiff
25105 .PHONY: maybe-distclean-wdiff distclean-wdiff
25106 maybe-distclean-wdiff:
25107 @if wdiff
25108 maybe-distclean-wdiff: distclean-wdiff
25110 distclean-wdiff:
25111 @$(unstage)
25112 @[ -f ./wdiff/Makefile ] || exit 0; \
25113 r=`${PWD_COMMAND}`; export r; \
25114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25115 $(HOST_EXPORTS) \
25116 for flag in $(EXTRA_HOST_FLAGS) ; do \
25117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25118 done; \
25119 echo "Doing distclean in wdiff" ; \
25120 (cd $(HOST_SUBDIR)/wdiff && \
25121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25123 "RANLIB=$${RANLIB}" \
25124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25125 distclean) \
25126 || exit 1
25128 @endif wdiff
25130 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25131 maybe-maintainer-clean-wdiff:
25132 @if wdiff
25133 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25135 maintainer-clean-wdiff:
25136 @$(unstage)
25137 @[ -f ./wdiff/Makefile ] || exit 0; \
25138 r=`${PWD_COMMAND}`; export r; \
25139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25140 $(HOST_EXPORTS) \
25141 for flag in $(EXTRA_HOST_FLAGS) ; do \
25142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25143 done; \
25144 echo "Doing maintainer-clean in wdiff" ; \
25145 (cd $(HOST_SUBDIR)/wdiff && \
25146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25148 "RANLIB=$${RANLIB}" \
25149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25150 maintainer-clean) \
25151 || exit 1
25153 @endif wdiff
25157 .PHONY: configure-zip maybe-configure-zip
25158 maybe-configure-zip:
25159 @if zip
25160 maybe-configure-zip: configure-zip
25161 configure-zip:
25162 @$(unstage)
25163 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25164 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25165 r=`${PWD_COMMAND}`; export r; \
25166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25167 $(HOST_EXPORTS) \
25168 echo Configuring in $(HOST_SUBDIR)/zip; \
25169 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25170 case $(srcdir) in \
25171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25172 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25174 esac; \
25175 srcdiroption="--srcdir=$${topdir}/zip"; \
25176 libsrcdir="$$s/zip"; \
25177 $(SHELL) $${libsrcdir}/configure \
25178 $(HOST_CONFIGARGS) $${srcdiroption} \
25179 || exit 1
25180 @endif zip
25186 .PHONY: all-zip maybe-all-zip
25187 maybe-all-zip:
25188 @if zip
25189 TARGET-zip=all
25190 maybe-all-zip: all-zip
25191 all-zip: configure-zip
25192 @$(unstage)
25193 @r=`${PWD_COMMAND}`; export r; \
25194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25195 $(HOST_EXPORTS) \
25196 (cd $(HOST_SUBDIR)/zip && \
25197 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25198 @endif zip
25203 .PHONY: check-zip maybe-check-zip
25204 maybe-check-zip:
25205 @if zip
25206 maybe-check-zip: check-zip
25208 # This module is only tested in a native toolchain.
25209 check-zip:
25210 @$(unstage)
25211 @if [ '$(host)' = '$(target)' ] ; then \
25212 r=`${PWD_COMMAND}`; export r; \
25213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25214 $(HOST_EXPORTS) \
25215 (cd $(HOST_SUBDIR)/zip && \
25216 $(MAKE) $(FLAGS_TO_PASS) check); \
25219 @endif zip
25221 .PHONY: install-zip maybe-install-zip
25222 maybe-install-zip:
25223 @if zip
25224 maybe-install-zip: install-zip
25226 install-zip: installdirs
25227 @$(unstage)
25228 @r=`${PWD_COMMAND}`; export r; \
25229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25230 $(HOST_EXPORTS) \
25231 (cd $(HOST_SUBDIR)/zip && \
25232 $(MAKE) $(FLAGS_TO_PASS) install)
25234 @endif zip
25236 # Other targets (info, dvi, etc.)
25238 .PHONY: maybe-info-zip info-zip
25239 maybe-info-zip:
25240 @if zip
25241 maybe-info-zip: info-zip
25243 info-zip: \
25244 configure-zip
25245 @$(unstage)
25246 @[ -f ./zip/Makefile ] || exit 0; \
25247 r=`${PWD_COMMAND}`; export r; \
25248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25249 $(HOST_EXPORTS) \
25250 for flag in $(EXTRA_HOST_FLAGS) ; do \
25251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25252 done; \
25253 echo "Doing info in zip" ; \
25254 (cd $(HOST_SUBDIR)/zip && \
25255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25257 "RANLIB=$${RANLIB}" \
25258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25259 info) \
25260 || exit 1
25262 @endif zip
25264 .PHONY: maybe-dvi-zip dvi-zip
25265 maybe-dvi-zip:
25266 @if zip
25267 maybe-dvi-zip: dvi-zip
25269 dvi-zip: \
25270 configure-zip
25271 @$(unstage)
25272 @[ -f ./zip/Makefile ] || exit 0; \
25273 r=`${PWD_COMMAND}`; export r; \
25274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25275 $(HOST_EXPORTS) \
25276 for flag in $(EXTRA_HOST_FLAGS) ; do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25278 done; \
25279 echo "Doing dvi in zip" ; \
25280 (cd $(HOST_SUBDIR)/zip && \
25281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25283 "RANLIB=$${RANLIB}" \
25284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25285 dvi) \
25286 || exit 1
25288 @endif zip
25290 .PHONY: maybe-html-zip html-zip
25291 maybe-html-zip:
25292 @if zip
25293 maybe-html-zip: html-zip
25295 html-zip: \
25296 configure-zip
25297 @$(unstage)
25298 @[ -f ./zip/Makefile ] || exit 0; \
25299 r=`${PWD_COMMAND}`; export r; \
25300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25301 $(HOST_EXPORTS) \
25302 for flag in $(EXTRA_HOST_FLAGS) ; do \
25303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25304 done; \
25305 echo "Doing html in zip" ; \
25306 (cd $(HOST_SUBDIR)/zip && \
25307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25309 "RANLIB=$${RANLIB}" \
25310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25311 html) \
25312 || exit 1
25314 @endif zip
25316 .PHONY: maybe-TAGS-zip TAGS-zip
25317 maybe-TAGS-zip:
25318 @if zip
25319 maybe-TAGS-zip: TAGS-zip
25321 TAGS-zip: \
25322 configure-zip
25323 @$(unstage)
25324 @[ -f ./zip/Makefile ] || exit 0; \
25325 r=`${PWD_COMMAND}`; export r; \
25326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25327 $(HOST_EXPORTS) \
25328 for flag in $(EXTRA_HOST_FLAGS) ; do \
25329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25330 done; \
25331 echo "Doing TAGS in zip" ; \
25332 (cd $(HOST_SUBDIR)/zip && \
25333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25335 "RANLIB=$${RANLIB}" \
25336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25337 TAGS) \
25338 || exit 1
25340 @endif zip
25342 .PHONY: maybe-install-info-zip install-info-zip
25343 maybe-install-info-zip:
25344 @if zip
25345 maybe-install-info-zip: install-info-zip
25347 install-info-zip: \
25348 configure-zip \
25349 info-zip
25350 @$(unstage)
25351 @[ -f ./zip/Makefile ] || exit 0; \
25352 r=`${PWD_COMMAND}`; export r; \
25353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25354 $(HOST_EXPORTS) \
25355 for flag in $(EXTRA_HOST_FLAGS) ; do \
25356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25357 done; \
25358 echo "Doing install-info in zip" ; \
25359 (cd $(HOST_SUBDIR)/zip && \
25360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25362 "RANLIB=$${RANLIB}" \
25363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25364 install-info) \
25365 || exit 1
25367 @endif zip
25369 .PHONY: maybe-installcheck-zip installcheck-zip
25370 maybe-installcheck-zip:
25371 @if zip
25372 maybe-installcheck-zip: installcheck-zip
25374 installcheck-zip: \
25375 configure-zip
25376 @$(unstage)
25377 @[ -f ./zip/Makefile ] || exit 0; \
25378 r=`${PWD_COMMAND}`; export r; \
25379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25380 $(HOST_EXPORTS) \
25381 for flag in $(EXTRA_HOST_FLAGS) ; do \
25382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25383 done; \
25384 echo "Doing installcheck in zip" ; \
25385 (cd $(HOST_SUBDIR)/zip && \
25386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25388 "RANLIB=$${RANLIB}" \
25389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25390 installcheck) \
25391 || exit 1
25393 @endif zip
25395 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25396 maybe-mostlyclean-zip:
25397 @if zip
25398 maybe-mostlyclean-zip: mostlyclean-zip
25400 mostlyclean-zip:
25401 @$(unstage)
25402 @[ -f ./zip/Makefile ] || exit 0; \
25403 r=`${PWD_COMMAND}`; export r; \
25404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25405 $(HOST_EXPORTS) \
25406 for flag in $(EXTRA_HOST_FLAGS) ; do \
25407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25408 done; \
25409 echo "Doing mostlyclean in zip" ; \
25410 (cd $(HOST_SUBDIR)/zip && \
25411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25413 "RANLIB=$${RANLIB}" \
25414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25415 mostlyclean) \
25416 || exit 1
25418 @endif zip
25420 .PHONY: maybe-clean-zip clean-zip
25421 maybe-clean-zip:
25422 @if zip
25423 maybe-clean-zip: clean-zip
25425 clean-zip:
25426 @$(unstage)
25427 @[ -f ./zip/Makefile ] || exit 0; \
25428 r=`${PWD_COMMAND}`; export r; \
25429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25430 $(HOST_EXPORTS) \
25431 for flag in $(EXTRA_HOST_FLAGS) ; do \
25432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25433 done; \
25434 echo "Doing clean in zip" ; \
25435 (cd $(HOST_SUBDIR)/zip && \
25436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25438 "RANLIB=$${RANLIB}" \
25439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25440 clean) \
25441 || exit 1
25443 @endif zip
25445 .PHONY: maybe-distclean-zip distclean-zip
25446 maybe-distclean-zip:
25447 @if zip
25448 maybe-distclean-zip: distclean-zip
25450 distclean-zip:
25451 @$(unstage)
25452 @[ -f ./zip/Makefile ] || exit 0; \
25453 r=`${PWD_COMMAND}`; export r; \
25454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25455 $(HOST_EXPORTS) \
25456 for flag in $(EXTRA_HOST_FLAGS) ; do \
25457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25458 done; \
25459 echo "Doing distclean in zip" ; \
25460 (cd $(HOST_SUBDIR)/zip && \
25461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25463 "RANLIB=$${RANLIB}" \
25464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25465 distclean) \
25466 || exit 1
25468 @endif zip
25470 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25471 maybe-maintainer-clean-zip:
25472 @if zip
25473 maybe-maintainer-clean-zip: maintainer-clean-zip
25475 maintainer-clean-zip:
25476 @$(unstage)
25477 @[ -f ./zip/Makefile ] || exit 0; \
25478 r=`${PWD_COMMAND}`; export r; \
25479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25480 $(HOST_EXPORTS) \
25481 for flag in $(EXTRA_HOST_FLAGS) ; do \
25482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25483 done; \
25484 echo "Doing maintainer-clean in zip" ; \
25485 (cd $(HOST_SUBDIR)/zip && \
25486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25488 "RANLIB=$${RANLIB}" \
25489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25490 maintainer-clean) \
25491 || exit 1
25493 @endif zip
25497 .PHONY: configure-zlib maybe-configure-zlib
25498 maybe-configure-zlib:
25499 @if zlib
25500 maybe-configure-zlib: configure-zlib
25501 configure-zlib:
25502 @test -f stage_last && exit 0; \
25503 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25505 r=`${PWD_COMMAND}`; export r; \
25506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25507 $(HOST_EXPORTS) \
25508 echo Configuring in $(HOST_SUBDIR)/zlib; \
25509 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25510 case $(srcdir) in \
25511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25512 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25514 esac; \
25515 srcdiroption="--srcdir=$${topdir}/zlib"; \
25516 libsrcdir="$$s/zlib"; \
25517 $(SHELL) $${libsrcdir}/configure \
25518 $(HOST_CONFIGARGS) $${srcdiroption} \
25519 || exit 1
25520 @endif zlib
25524 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25525 maybe-configure-stage1-zlib:
25526 @if zlib-bootstrap
25527 maybe-configure-stage1-zlib: configure-stage1-zlib
25528 configure-stage1-zlib:
25529 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25530 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25535 cd $(HOST_SUBDIR)/zlib || exit 1; \
25536 case $(srcdir) in \
25537 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25538 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25539 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25540 esac; \
25541 srcdiroption="--srcdir=$${topdir}/zlib"; \
25542 libsrcdir="$$s/zlib"; \
25543 $(SHELL) $${libsrcdir}/configure \
25544 $(HOST_CONFIGARGS) $${srcdiroption} \
25545 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25546 @endif zlib-bootstrap
25548 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25549 maybe-configure-stage2-zlib:
25550 @if zlib-bootstrap
25551 maybe-configure-stage2-zlib: configure-stage2-zlib
25552 configure-stage2-zlib:
25553 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25554 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25555 r=`${PWD_COMMAND}`; export r; \
25556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25557 $(HOST_EXPORTS) \
25558 $(POSTSTAGE1_HOST_EXPORTS) \
25559 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25560 cd $(HOST_SUBDIR)/zlib || exit 1; \
25561 case $(srcdir) in \
25562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25563 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25565 esac; \
25566 srcdiroption="--srcdir=$${topdir}/zlib"; \
25567 libsrcdir="$$s/zlib"; \
25568 $(SHELL) $${libsrcdir}/configure \
25569 $(HOST_CONFIGARGS) $${srcdiroption} \
25570 @stage2_werror_flag@
25571 @endif zlib-bootstrap
25573 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25574 maybe-configure-stage3-zlib:
25575 @if zlib-bootstrap
25576 maybe-configure-stage3-zlib: configure-stage3-zlib
25577 configure-stage3-zlib:
25578 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25579 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25580 r=`${PWD_COMMAND}`; export r; \
25581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25582 $(HOST_EXPORTS) \
25583 $(POSTSTAGE1_HOST_EXPORTS) \
25584 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25585 cd $(HOST_SUBDIR)/zlib || exit 1; \
25586 case $(srcdir) in \
25587 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25588 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25589 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25590 esac; \
25591 srcdiroption="--srcdir=$${topdir}/zlib"; \
25592 libsrcdir="$$s/zlib"; \
25593 $(SHELL) $${libsrcdir}/configure \
25594 $(HOST_CONFIGARGS) $${srcdiroption} \
25595 @stage2_werror_flag@
25596 @endif zlib-bootstrap
25598 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25599 maybe-configure-stage4-zlib:
25600 @if zlib-bootstrap
25601 maybe-configure-stage4-zlib: configure-stage4-zlib
25602 configure-stage4-zlib:
25603 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25604 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25605 r=`${PWD_COMMAND}`; export r; \
25606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25607 $(HOST_EXPORTS) \
25608 $(POSTSTAGE1_HOST_EXPORTS) \
25609 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25610 cd $(HOST_SUBDIR)/zlib || exit 1; \
25611 case $(srcdir) in \
25612 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25613 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25614 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25615 esac; \
25616 srcdiroption="--srcdir=$${topdir}/zlib"; \
25617 libsrcdir="$$s/zlib"; \
25618 $(SHELL) $${libsrcdir}/configure \
25619 $(HOST_CONFIGARGS) $${srcdiroption} \
25620 @stage2_werror_flag@
25621 @endif zlib-bootstrap
25623 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25624 maybe-configure-stageprofile-zlib:
25625 @if zlib-bootstrap
25626 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25627 configure-stageprofile-zlib:
25628 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25629 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25630 r=`${PWD_COMMAND}`; export r; \
25631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25632 $(HOST_EXPORTS) \
25633 $(POSTSTAGE1_HOST_EXPORTS) \
25634 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25635 cd $(HOST_SUBDIR)/zlib || exit 1; \
25636 case $(srcdir) in \
25637 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25638 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25639 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25640 esac; \
25641 srcdiroption="--srcdir=$${topdir}/zlib"; \
25642 libsrcdir="$$s/zlib"; \
25643 $(SHELL) $${libsrcdir}/configure \
25644 $(HOST_CONFIGARGS) $${srcdiroption} \
25645 @stage2_werror_flag@
25646 @endif zlib-bootstrap
25648 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25649 maybe-configure-stagefeedback-zlib:
25650 @if zlib-bootstrap
25651 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25652 configure-stagefeedback-zlib:
25653 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25654 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25655 r=`${PWD_COMMAND}`; export r; \
25656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25657 $(HOST_EXPORTS) \
25658 $(POSTSTAGE1_HOST_EXPORTS) \
25659 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25660 cd $(HOST_SUBDIR)/zlib || exit 1; \
25661 case $(srcdir) in \
25662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25663 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25665 esac; \
25666 srcdiroption="--srcdir=$${topdir}/zlib"; \
25667 libsrcdir="$$s/zlib"; \
25668 $(SHELL) $${libsrcdir}/configure \
25669 $(HOST_CONFIGARGS) $${srcdiroption} \
25670 @stage2_werror_flag@
25671 @endif zlib-bootstrap
25677 .PHONY: all-zlib maybe-all-zlib
25678 maybe-all-zlib:
25679 @if zlib
25680 TARGET-zlib=all
25681 maybe-all-zlib: all-zlib
25682 all-zlib: configure-zlib
25683 @test -f stage_last && exit 0; \
25684 r=`${PWD_COMMAND}`; export r; \
25685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25686 $(HOST_EXPORTS) \
25687 (cd $(HOST_SUBDIR)/zlib && \
25688 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
25689 @endif zlib
25693 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25694 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25695 maybe-all-stage1-zlib:
25696 maybe-clean-stage1-zlib:
25697 @if zlib-bootstrap
25698 maybe-all-stage1-zlib: all-stage1-zlib
25699 all-stage1: all-stage1-zlib
25700 TARGET-stage1-zlib = $(TARGET-zlib)
25701 all-stage1-zlib: configure-stage1-zlib
25702 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25703 @r=`${PWD_COMMAND}`; export r; \
25704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25705 $(HOST_EXPORTS) \
25706 cd $(HOST_SUBDIR)/zlib && \
25707 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
25708 $(TARGET-stage1-zlib)
25710 maybe-clean-stage1-zlib: clean-stage1-zlib
25711 clean-stage1: clean-stage1-zlib
25712 clean-stage1-zlib:
25713 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
25714 || exit 0 ; \
25715 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25716 cd $(HOST_SUBDIR)/zlib && \
25717 $(MAKE) $(FLAGS_TO_PASS) \
25718 CFLAGS="$(STAGE1_CFLAGS)" clean
25719 @endif zlib-bootstrap
25722 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25723 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25724 maybe-all-stage2-zlib:
25725 maybe-clean-stage2-zlib:
25726 @if zlib-bootstrap
25727 maybe-all-stage2-zlib: all-stage2-zlib
25728 all-stage2: all-stage2-zlib
25729 TARGET-stage2-zlib = $(TARGET-zlib)
25730 all-stage2-zlib: configure-stage2-zlib
25731 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25732 @r=`${PWD_COMMAND}`; export r; \
25733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25734 $(HOST_EXPORTS) \
25735 $(POSTSTAGE1_HOST_EXPORTS) \
25736 cd $(HOST_SUBDIR)/zlib && \
25737 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25738 $(TARGET-stage2-zlib)
25740 maybe-clean-stage2-zlib: clean-stage2-zlib
25741 clean-stage2: clean-stage2-zlib
25742 clean-stage2-zlib:
25743 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
25744 || exit 0 ; \
25745 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25746 cd $(HOST_SUBDIR)/zlib && \
25747 $(MAKE) $(FLAGS_TO_PASS) \
25748 $(POSTSTAGE1_FLAGS_TO_PASS) \
25749 clean
25750 @endif zlib-bootstrap
25753 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25754 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25755 maybe-all-stage3-zlib:
25756 maybe-clean-stage3-zlib:
25757 @if zlib-bootstrap
25758 maybe-all-stage3-zlib: all-stage3-zlib
25759 all-stage3: all-stage3-zlib
25760 TARGET-stage3-zlib = $(TARGET-zlib)
25761 all-stage3-zlib: configure-stage3-zlib
25762 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25763 @r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(HOST_EXPORTS) \
25766 $(POSTSTAGE1_HOST_EXPORTS) \
25767 cd $(HOST_SUBDIR)/zlib && \
25768 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25769 $(TARGET-stage3-zlib)
25771 maybe-clean-stage3-zlib: clean-stage3-zlib
25772 clean-stage3: clean-stage3-zlib
25773 clean-stage3-zlib:
25774 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
25775 || exit 0 ; \
25776 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25777 cd $(HOST_SUBDIR)/zlib && \
25778 $(MAKE) $(FLAGS_TO_PASS) \
25779 $(POSTSTAGE1_FLAGS_TO_PASS) \
25780 clean
25781 @endif zlib-bootstrap
25784 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25785 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25786 maybe-all-stage4-zlib:
25787 maybe-clean-stage4-zlib:
25788 @if zlib-bootstrap
25789 maybe-all-stage4-zlib: all-stage4-zlib
25790 all-stage4: all-stage4-zlib
25791 TARGET-stage4-zlib = $(TARGET-zlib)
25792 all-stage4-zlib: configure-stage4-zlib
25793 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25794 @r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 $(HOST_EXPORTS) \
25797 $(POSTSTAGE1_HOST_EXPORTS) \
25798 cd $(HOST_SUBDIR)/zlib && \
25799 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25800 $(TARGET-stage4-zlib)
25802 maybe-clean-stage4-zlib: clean-stage4-zlib
25803 clean-stage4: clean-stage4-zlib
25804 clean-stage4-zlib:
25805 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
25806 || exit 0 ; \
25807 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25808 cd $(HOST_SUBDIR)/zlib && \
25809 $(MAKE) $(FLAGS_TO_PASS) \
25810 $(POSTSTAGE1_FLAGS_TO_PASS) \
25811 clean
25812 @endif zlib-bootstrap
25815 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25816 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25817 maybe-all-stageprofile-zlib:
25818 maybe-clean-stageprofile-zlib:
25819 @if zlib-bootstrap
25820 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25821 all-stageprofile: all-stageprofile-zlib
25822 TARGET-stageprofile-zlib = $(TARGET-zlib)
25823 all-stageprofile-zlib: configure-stageprofile-zlib
25824 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25825 @r=`${PWD_COMMAND}`; export r; \
25826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25827 $(HOST_EXPORTS) \
25828 $(POSTSTAGE1_HOST_EXPORTS) \
25829 cd $(HOST_SUBDIR)/zlib && \
25830 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
25831 $(TARGET-stageprofile-zlib)
25833 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25834 clean-stageprofile: clean-stageprofile-zlib
25835 clean-stageprofile-zlib:
25836 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
25837 || exit 0 ; \
25838 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25839 cd $(HOST_SUBDIR)/zlib && \
25840 $(MAKE) $(FLAGS_TO_PASS) \
25841 $(POSTSTAGE1_FLAGS_TO_PASS) \
25842 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
25843 @endif zlib-bootstrap
25846 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25847 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25848 maybe-all-stagefeedback-zlib:
25849 maybe-clean-stagefeedback-zlib:
25850 @if zlib-bootstrap
25851 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25852 all-stagefeedback: all-stagefeedback-zlib
25853 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25854 all-stagefeedback-zlib: configure-stagefeedback-zlib
25855 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25856 @r=`${PWD_COMMAND}`; export r; \
25857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25858 $(HOST_EXPORTS) \
25859 $(POSTSTAGE1_HOST_EXPORTS) \
25860 cd $(HOST_SUBDIR)/zlib && \
25861 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
25862 $(TARGET-stagefeedback-zlib)
25864 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25865 clean-stagefeedback: clean-stagefeedback-zlib
25866 clean-stagefeedback-zlib:
25867 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
25868 || exit 0 ; \
25869 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25870 cd $(HOST_SUBDIR)/zlib && \
25871 $(MAKE) $(FLAGS_TO_PASS) \
25872 $(POSTSTAGE1_FLAGS_TO_PASS) \
25873 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
25874 @endif zlib-bootstrap
25880 .PHONY: check-zlib maybe-check-zlib
25881 maybe-check-zlib:
25882 @if zlib
25883 maybe-check-zlib: check-zlib
25885 check-zlib:
25887 @endif zlib
25889 .PHONY: install-zlib maybe-install-zlib
25890 maybe-install-zlib:
25891 @if zlib
25892 maybe-install-zlib: install-zlib
25894 install-zlib:
25896 @endif zlib
25898 # Other targets (info, dvi, etc.)
25900 .PHONY: maybe-info-zlib info-zlib
25901 maybe-info-zlib:
25902 @if zlib
25903 maybe-info-zlib: info-zlib
25905 info-zlib: \
25906 configure-zlib
25907 @[ -f ./zlib/Makefile ] || exit 0; \
25908 r=`${PWD_COMMAND}`; export r; \
25909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25910 $(HOST_EXPORTS) \
25911 for flag in $(EXTRA_HOST_FLAGS) ; do \
25912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25913 done; \
25914 echo "Doing info in zlib" ; \
25915 (cd $(HOST_SUBDIR)/zlib && \
25916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25918 "RANLIB=$${RANLIB}" \
25919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25920 info) \
25921 || exit 1
25923 @endif zlib
25925 .PHONY: maybe-dvi-zlib dvi-zlib
25926 maybe-dvi-zlib:
25927 @if zlib
25928 maybe-dvi-zlib: dvi-zlib
25930 dvi-zlib: \
25931 configure-zlib
25932 @[ -f ./zlib/Makefile ] || exit 0; \
25933 r=`${PWD_COMMAND}`; export r; \
25934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25935 $(HOST_EXPORTS) \
25936 for flag in $(EXTRA_HOST_FLAGS) ; do \
25937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25938 done; \
25939 echo "Doing dvi in zlib" ; \
25940 (cd $(HOST_SUBDIR)/zlib && \
25941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25943 "RANLIB=$${RANLIB}" \
25944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25945 dvi) \
25946 || exit 1
25948 @endif zlib
25950 .PHONY: maybe-html-zlib html-zlib
25951 maybe-html-zlib:
25952 @if zlib
25953 maybe-html-zlib: html-zlib
25955 html-zlib: \
25956 configure-zlib
25957 @[ -f ./zlib/Makefile ] || exit 0; \
25958 r=`${PWD_COMMAND}`; export r; \
25959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25960 $(HOST_EXPORTS) \
25961 for flag in $(EXTRA_HOST_FLAGS) ; do \
25962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25963 done; \
25964 echo "Doing html in zlib" ; \
25965 (cd $(HOST_SUBDIR)/zlib && \
25966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25968 "RANLIB=$${RANLIB}" \
25969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25970 html) \
25971 || exit 1
25973 @endif zlib
25975 .PHONY: maybe-TAGS-zlib TAGS-zlib
25976 maybe-TAGS-zlib:
25977 @if zlib
25978 maybe-TAGS-zlib: TAGS-zlib
25980 TAGS-zlib: \
25981 configure-zlib
25982 @[ -f ./zlib/Makefile ] || exit 0; \
25983 r=`${PWD_COMMAND}`; export r; \
25984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25985 $(HOST_EXPORTS) \
25986 for flag in $(EXTRA_HOST_FLAGS) ; do \
25987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25988 done; \
25989 echo "Doing TAGS in zlib" ; \
25990 (cd $(HOST_SUBDIR)/zlib && \
25991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25993 "RANLIB=$${RANLIB}" \
25994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25995 TAGS) \
25996 || exit 1
25998 @endif zlib
26000 .PHONY: maybe-install-info-zlib install-info-zlib
26001 maybe-install-info-zlib:
26002 @if zlib
26003 maybe-install-info-zlib: install-info-zlib
26005 install-info-zlib: \
26006 configure-zlib \
26007 info-zlib
26008 @[ -f ./zlib/Makefile ] || exit 0; \
26009 r=`${PWD_COMMAND}`; export r; \
26010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26011 $(HOST_EXPORTS) \
26012 for flag in $(EXTRA_HOST_FLAGS) ; do \
26013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26014 done; \
26015 echo "Doing install-info in zlib" ; \
26016 (cd $(HOST_SUBDIR)/zlib && \
26017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26019 "RANLIB=$${RANLIB}" \
26020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26021 install-info) \
26022 || exit 1
26024 @endif zlib
26026 .PHONY: maybe-installcheck-zlib installcheck-zlib
26027 maybe-installcheck-zlib:
26028 @if zlib
26029 maybe-installcheck-zlib: installcheck-zlib
26031 installcheck-zlib: \
26032 configure-zlib
26033 @[ -f ./zlib/Makefile ] || exit 0; \
26034 r=`${PWD_COMMAND}`; export r; \
26035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 $(HOST_EXPORTS) \
26037 for flag in $(EXTRA_HOST_FLAGS) ; do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 echo "Doing installcheck in zlib" ; \
26041 (cd $(HOST_SUBDIR)/zlib && \
26042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26044 "RANLIB=$${RANLIB}" \
26045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26046 installcheck) \
26047 || exit 1
26049 @endif zlib
26051 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26052 maybe-mostlyclean-zlib:
26053 @if zlib
26054 maybe-mostlyclean-zlib: mostlyclean-zlib
26056 mostlyclean-zlib:
26057 @[ -f ./zlib/Makefile ] || exit 0; \
26058 r=`${PWD_COMMAND}`; export r; \
26059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26060 $(HOST_EXPORTS) \
26061 for flag in $(EXTRA_HOST_FLAGS) ; do \
26062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26063 done; \
26064 echo "Doing mostlyclean in zlib" ; \
26065 (cd $(HOST_SUBDIR)/zlib && \
26066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26068 "RANLIB=$${RANLIB}" \
26069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26070 mostlyclean) \
26071 || exit 1
26073 @endif zlib
26075 .PHONY: maybe-clean-zlib clean-zlib
26076 maybe-clean-zlib:
26077 @if zlib
26078 maybe-clean-zlib: clean-zlib
26080 clean-zlib:
26081 @[ -f ./zlib/Makefile ] || exit 0; \
26082 r=`${PWD_COMMAND}`; export r; \
26083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26084 $(HOST_EXPORTS) \
26085 for flag in $(EXTRA_HOST_FLAGS) ; do \
26086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26087 done; \
26088 echo "Doing clean in zlib" ; \
26089 (cd $(HOST_SUBDIR)/zlib && \
26090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26092 "RANLIB=$${RANLIB}" \
26093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26094 clean) \
26095 || exit 1
26097 @endif zlib
26099 .PHONY: maybe-distclean-zlib distclean-zlib
26100 maybe-distclean-zlib:
26101 @if zlib
26102 maybe-distclean-zlib: distclean-zlib
26104 distclean-zlib:
26105 @[ -f ./zlib/Makefile ] || exit 0; \
26106 r=`${PWD_COMMAND}`; export r; \
26107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26108 $(HOST_EXPORTS) \
26109 for flag in $(EXTRA_HOST_FLAGS) ; do \
26110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26111 done; \
26112 echo "Doing distclean in zlib" ; \
26113 (cd $(HOST_SUBDIR)/zlib && \
26114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26116 "RANLIB=$${RANLIB}" \
26117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26118 distclean) \
26119 || exit 1
26121 @endif zlib
26123 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26124 maybe-maintainer-clean-zlib:
26125 @if zlib
26126 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26128 maintainer-clean-zlib:
26129 @[ -f ./zlib/Makefile ] || exit 0; \
26130 r=`${PWD_COMMAND}`; export r; \
26131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26132 $(HOST_EXPORTS) \
26133 for flag in $(EXTRA_HOST_FLAGS) ; do \
26134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26135 done; \
26136 echo "Doing maintainer-clean in zlib" ; \
26137 (cd $(HOST_SUBDIR)/zlib && \
26138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26140 "RANLIB=$${RANLIB}" \
26141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26142 maintainer-clean) \
26143 || exit 1
26145 @endif zlib
26149 .PHONY: configure-gdb maybe-configure-gdb
26150 maybe-configure-gdb:
26151 @if gdb
26152 maybe-configure-gdb: configure-gdb
26153 configure-gdb:
26154 @$(unstage)
26155 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26156 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26157 r=`${PWD_COMMAND}`; export r; \
26158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26159 $(HOST_EXPORTS) \
26160 echo Configuring in $(HOST_SUBDIR)/gdb; \
26161 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26162 case $(srcdir) in \
26163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26164 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26166 esac; \
26167 srcdiroption="--srcdir=$${topdir}/gdb"; \
26168 libsrcdir="$$s/gdb"; \
26169 $(SHELL) $${libsrcdir}/configure \
26170 $(HOST_CONFIGARGS) $${srcdiroption} \
26171 || exit 1
26172 @endif gdb
26178 .PHONY: all-gdb maybe-all-gdb
26179 maybe-all-gdb:
26180 @if gdb
26181 TARGET-gdb=all
26182 maybe-all-gdb: all-gdb
26183 all-gdb: configure-gdb
26184 @$(unstage)
26185 @r=`${PWD_COMMAND}`; export r; \
26186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26187 $(HOST_EXPORTS) \
26188 (cd $(HOST_SUBDIR)/gdb && \
26189 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26190 @endif gdb
26195 .PHONY: check-gdb maybe-check-gdb
26196 maybe-check-gdb:
26197 @if gdb
26198 maybe-check-gdb: check-gdb
26200 check-gdb:
26201 @$(unstage)
26202 @r=`${PWD_COMMAND}`; export r; \
26203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26204 $(HOST_EXPORTS) \
26205 (cd $(HOST_SUBDIR)/gdb && \
26206 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26208 @endif gdb
26210 .PHONY: install-gdb maybe-install-gdb
26211 maybe-install-gdb:
26212 @if gdb
26213 maybe-install-gdb: install-gdb
26215 install-gdb: installdirs
26216 @$(unstage)
26217 @r=`${PWD_COMMAND}`; export r; \
26218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26219 $(HOST_EXPORTS) \
26220 (cd $(HOST_SUBDIR)/gdb && \
26221 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26223 @endif gdb
26225 # Other targets (info, dvi, etc.)
26227 .PHONY: maybe-info-gdb info-gdb
26228 maybe-info-gdb:
26229 @if gdb
26230 maybe-info-gdb: info-gdb
26232 info-gdb: \
26233 configure-gdb
26234 @$(unstage)
26235 @[ -f ./gdb/Makefile ] || exit 0; \
26236 r=`${PWD_COMMAND}`; export r; \
26237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26238 $(HOST_EXPORTS) \
26239 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26240 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26241 done; \
26242 echo "Doing info in gdb" ; \
26243 (cd $(HOST_SUBDIR)/gdb && \
26244 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26245 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26246 "RANLIB=$${RANLIB}" \
26247 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26248 info) \
26249 || exit 1
26251 @endif gdb
26253 .PHONY: maybe-dvi-gdb dvi-gdb
26254 maybe-dvi-gdb:
26255 @if gdb
26256 maybe-dvi-gdb: dvi-gdb
26258 dvi-gdb: \
26259 configure-gdb
26260 @$(unstage)
26261 @[ -f ./gdb/Makefile ] || exit 0; \
26262 r=`${PWD_COMMAND}`; export r; \
26263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26264 $(HOST_EXPORTS) \
26265 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26267 done; \
26268 echo "Doing dvi in gdb" ; \
26269 (cd $(HOST_SUBDIR)/gdb && \
26270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26272 "RANLIB=$${RANLIB}" \
26273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26274 dvi) \
26275 || exit 1
26277 @endif gdb
26279 .PHONY: maybe-html-gdb html-gdb
26280 maybe-html-gdb:
26281 @if gdb
26282 maybe-html-gdb: html-gdb
26284 html-gdb: \
26285 configure-gdb
26286 @$(unstage)
26287 @[ -f ./gdb/Makefile ] || exit 0; \
26288 r=`${PWD_COMMAND}`; export r; \
26289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26290 $(HOST_EXPORTS) \
26291 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26293 done; \
26294 echo "Doing html in gdb" ; \
26295 (cd $(HOST_SUBDIR)/gdb && \
26296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26298 "RANLIB=$${RANLIB}" \
26299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26300 html) \
26301 || exit 1
26303 @endif gdb
26305 .PHONY: maybe-TAGS-gdb TAGS-gdb
26306 maybe-TAGS-gdb:
26307 @if gdb
26308 maybe-TAGS-gdb: TAGS-gdb
26310 TAGS-gdb: \
26311 configure-gdb
26312 @$(unstage)
26313 @[ -f ./gdb/Makefile ] || exit 0; \
26314 r=`${PWD_COMMAND}`; export r; \
26315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26316 $(HOST_EXPORTS) \
26317 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26319 done; \
26320 echo "Doing TAGS in gdb" ; \
26321 (cd $(HOST_SUBDIR)/gdb && \
26322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26324 "RANLIB=$${RANLIB}" \
26325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26326 TAGS) \
26327 || exit 1
26329 @endif gdb
26331 .PHONY: maybe-install-info-gdb install-info-gdb
26332 maybe-install-info-gdb:
26333 @if gdb
26334 maybe-install-info-gdb: install-info-gdb
26336 install-info-gdb: \
26337 configure-gdb \
26338 info-gdb
26339 @$(unstage)
26340 @[ -f ./gdb/Makefile ] || exit 0; \
26341 r=`${PWD_COMMAND}`; export r; \
26342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26343 $(HOST_EXPORTS) \
26344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26346 done; \
26347 echo "Doing install-info in gdb" ; \
26348 (cd $(HOST_SUBDIR)/gdb && \
26349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26351 "RANLIB=$${RANLIB}" \
26352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26353 install-info) \
26354 || exit 1
26356 @endif gdb
26358 .PHONY: maybe-installcheck-gdb installcheck-gdb
26359 maybe-installcheck-gdb:
26360 @if gdb
26361 maybe-installcheck-gdb: installcheck-gdb
26363 installcheck-gdb: \
26364 configure-gdb
26365 @$(unstage)
26366 @[ -f ./gdb/Makefile ] || exit 0; \
26367 r=`${PWD_COMMAND}`; export r; \
26368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26369 $(HOST_EXPORTS) \
26370 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26372 done; \
26373 echo "Doing installcheck in gdb" ; \
26374 (cd $(HOST_SUBDIR)/gdb && \
26375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26377 "RANLIB=$${RANLIB}" \
26378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26379 installcheck) \
26380 || exit 1
26382 @endif gdb
26384 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26385 maybe-mostlyclean-gdb:
26386 @if gdb
26387 maybe-mostlyclean-gdb: mostlyclean-gdb
26389 mostlyclean-gdb:
26390 @$(unstage)
26391 @[ -f ./gdb/Makefile ] || exit 0; \
26392 r=`${PWD_COMMAND}`; export r; \
26393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26394 $(HOST_EXPORTS) \
26395 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26397 done; \
26398 echo "Doing mostlyclean in gdb" ; \
26399 (cd $(HOST_SUBDIR)/gdb && \
26400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26402 "RANLIB=$${RANLIB}" \
26403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26404 mostlyclean) \
26405 || exit 1
26407 @endif gdb
26409 .PHONY: maybe-clean-gdb clean-gdb
26410 maybe-clean-gdb:
26411 @if gdb
26412 maybe-clean-gdb: clean-gdb
26414 clean-gdb:
26415 @$(unstage)
26416 @[ -f ./gdb/Makefile ] || exit 0; \
26417 r=`${PWD_COMMAND}`; export r; \
26418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26419 $(HOST_EXPORTS) \
26420 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26422 done; \
26423 echo "Doing clean in gdb" ; \
26424 (cd $(HOST_SUBDIR)/gdb && \
26425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26427 "RANLIB=$${RANLIB}" \
26428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26429 clean) \
26430 || exit 1
26432 @endif gdb
26434 .PHONY: maybe-distclean-gdb distclean-gdb
26435 maybe-distclean-gdb:
26436 @if gdb
26437 maybe-distclean-gdb: distclean-gdb
26439 distclean-gdb:
26440 @$(unstage)
26441 @[ -f ./gdb/Makefile ] || exit 0; \
26442 r=`${PWD_COMMAND}`; export r; \
26443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26444 $(HOST_EXPORTS) \
26445 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26447 done; \
26448 echo "Doing distclean in gdb" ; \
26449 (cd $(HOST_SUBDIR)/gdb && \
26450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26452 "RANLIB=$${RANLIB}" \
26453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26454 distclean) \
26455 || exit 1
26457 @endif gdb
26459 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26460 maybe-maintainer-clean-gdb:
26461 @if gdb
26462 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26464 maintainer-clean-gdb:
26465 @$(unstage)
26466 @[ -f ./gdb/Makefile ] || exit 0; \
26467 r=`${PWD_COMMAND}`; export r; \
26468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26469 $(HOST_EXPORTS) \
26470 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26472 done; \
26473 echo "Doing maintainer-clean in gdb" ; \
26474 (cd $(HOST_SUBDIR)/gdb && \
26475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26477 "RANLIB=$${RANLIB}" \
26478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26479 maintainer-clean) \
26480 || exit 1
26482 @endif gdb
26486 .PHONY: configure-expect maybe-configure-expect
26487 maybe-configure-expect:
26488 @if expect
26489 maybe-configure-expect: configure-expect
26490 configure-expect:
26491 @$(unstage)
26492 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26493 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26494 r=`${PWD_COMMAND}`; export r; \
26495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26496 $(HOST_EXPORTS) \
26497 echo Configuring in $(HOST_SUBDIR)/expect; \
26498 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26499 case $(srcdir) in \
26500 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26501 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26502 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26503 esac; \
26504 srcdiroption="--srcdir=$${topdir}/expect"; \
26505 libsrcdir="$$s/expect"; \
26506 $(SHELL) $${libsrcdir}/configure \
26507 $(HOST_CONFIGARGS) $${srcdiroption} \
26508 || exit 1
26509 @endif expect
26515 .PHONY: all-expect maybe-all-expect
26516 maybe-all-expect:
26517 @if expect
26518 TARGET-expect=all
26519 maybe-all-expect: all-expect
26520 all-expect: configure-expect
26521 @$(unstage)
26522 @r=`${PWD_COMMAND}`; export r; \
26523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26524 $(HOST_EXPORTS) \
26525 (cd $(HOST_SUBDIR)/expect && \
26526 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26527 @endif expect
26532 .PHONY: check-expect maybe-check-expect
26533 maybe-check-expect:
26534 @if expect
26535 maybe-check-expect: check-expect
26537 check-expect:
26538 @$(unstage)
26539 @r=`${PWD_COMMAND}`; export r; \
26540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26541 $(HOST_EXPORTS) \
26542 (cd $(HOST_SUBDIR)/expect && \
26543 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26545 @endif expect
26547 .PHONY: install-expect maybe-install-expect
26548 maybe-install-expect:
26549 @if expect
26550 maybe-install-expect: install-expect
26552 install-expect: installdirs
26553 @$(unstage)
26554 @r=`${PWD_COMMAND}`; export r; \
26555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26556 $(HOST_EXPORTS) \
26557 (cd $(HOST_SUBDIR)/expect && \
26558 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26560 @endif expect
26562 # Other targets (info, dvi, etc.)
26564 .PHONY: maybe-info-expect info-expect
26565 maybe-info-expect:
26566 @if expect
26567 maybe-info-expect: info-expect
26569 info-expect: \
26570 configure-expect
26571 @$(unstage)
26572 @[ -f ./expect/Makefile ] || exit 0; \
26573 r=`${PWD_COMMAND}`; export r; \
26574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26575 $(HOST_EXPORTS) \
26576 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26578 done; \
26579 echo "Doing info in expect" ; \
26580 (cd $(HOST_SUBDIR)/expect && \
26581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26583 "RANLIB=$${RANLIB}" \
26584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26585 info) \
26586 || exit 1
26588 @endif expect
26590 .PHONY: maybe-dvi-expect dvi-expect
26591 maybe-dvi-expect:
26592 @if expect
26593 maybe-dvi-expect: dvi-expect
26595 dvi-expect: \
26596 configure-expect
26597 @$(unstage)
26598 @[ -f ./expect/Makefile ] || exit 0; \
26599 r=`${PWD_COMMAND}`; export r; \
26600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26601 $(HOST_EXPORTS) \
26602 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26604 done; \
26605 echo "Doing dvi in expect" ; \
26606 (cd $(HOST_SUBDIR)/expect && \
26607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26609 "RANLIB=$${RANLIB}" \
26610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26611 dvi) \
26612 || exit 1
26614 @endif expect
26616 .PHONY: maybe-html-expect html-expect
26617 maybe-html-expect:
26618 @if expect
26619 maybe-html-expect: html-expect
26621 html-expect: \
26622 configure-expect
26623 @$(unstage)
26624 @[ -f ./expect/Makefile ] || exit 0; \
26625 r=`${PWD_COMMAND}`; export r; \
26626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26627 $(HOST_EXPORTS) \
26628 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26630 done; \
26631 echo "Doing html in expect" ; \
26632 (cd $(HOST_SUBDIR)/expect && \
26633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26635 "RANLIB=$${RANLIB}" \
26636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26637 html) \
26638 || exit 1
26640 @endif expect
26642 .PHONY: maybe-TAGS-expect TAGS-expect
26643 maybe-TAGS-expect:
26644 @if expect
26645 maybe-TAGS-expect: TAGS-expect
26647 TAGS-expect: \
26648 configure-expect
26649 @$(unstage)
26650 @[ -f ./expect/Makefile ] || exit 0; \
26651 r=`${PWD_COMMAND}`; export r; \
26652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26653 $(HOST_EXPORTS) \
26654 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26656 done; \
26657 echo "Doing TAGS in expect" ; \
26658 (cd $(HOST_SUBDIR)/expect && \
26659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26661 "RANLIB=$${RANLIB}" \
26662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26663 TAGS) \
26664 || exit 1
26666 @endif expect
26668 .PHONY: maybe-install-info-expect install-info-expect
26669 maybe-install-info-expect:
26670 @if expect
26671 maybe-install-info-expect: install-info-expect
26673 install-info-expect: \
26674 configure-expect \
26675 info-expect
26676 @$(unstage)
26677 @[ -f ./expect/Makefile ] || exit 0; \
26678 r=`${PWD_COMMAND}`; export r; \
26679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26680 $(HOST_EXPORTS) \
26681 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26683 done; \
26684 echo "Doing install-info in expect" ; \
26685 (cd $(HOST_SUBDIR)/expect && \
26686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26688 "RANLIB=$${RANLIB}" \
26689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26690 install-info) \
26691 || exit 1
26693 @endif expect
26695 .PHONY: maybe-installcheck-expect installcheck-expect
26696 maybe-installcheck-expect:
26697 @if expect
26698 maybe-installcheck-expect: installcheck-expect
26700 installcheck-expect: \
26701 configure-expect
26702 @$(unstage)
26703 @[ -f ./expect/Makefile ] || exit 0; \
26704 r=`${PWD_COMMAND}`; export r; \
26705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26706 $(HOST_EXPORTS) \
26707 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26709 done; \
26710 echo "Doing installcheck in expect" ; \
26711 (cd $(HOST_SUBDIR)/expect && \
26712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26714 "RANLIB=$${RANLIB}" \
26715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26716 installcheck) \
26717 || exit 1
26719 @endif expect
26721 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26722 maybe-mostlyclean-expect:
26723 @if expect
26724 maybe-mostlyclean-expect: mostlyclean-expect
26726 mostlyclean-expect:
26727 @$(unstage)
26728 @[ -f ./expect/Makefile ] || exit 0; \
26729 r=`${PWD_COMMAND}`; export r; \
26730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26731 $(HOST_EXPORTS) \
26732 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26734 done; \
26735 echo "Doing mostlyclean in expect" ; \
26736 (cd $(HOST_SUBDIR)/expect && \
26737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26739 "RANLIB=$${RANLIB}" \
26740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26741 mostlyclean) \
26742 || exit 1
26744 @endif expect
26746 .PHONY: maybe-clean-expect clean-expect
26747 maybe-clean-expect:
26748 @if expect
26749 maybe-clean-expect: clean-expect
26751 clean-expect:
26752 @$(unstage)
26753 @[ -f ./expect/Makefile ] || exit 0; \
26754 r=`${PWD_COMMAND}`; export r; \
26755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26756 $(HOST_EXPORTS) \
26757 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26759 done; \
26760 echo "Doing clean in expect" ; \
26761 (cd $(HOST_SUBDIR)/expect && \
26762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26764 "RANLIB=$${RANLIB}" \
26765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26766 clean) \
26767 || exit 1
26769 @endif expect
26771 .PHONY: maybe-distclean-expect distclean-expect
26772 maybe-distclean-expect:
26773 @if expect
26774 maybe-distclean-expect: distclean-expect
26776 distclean-expect:
26777 @$(unstage)
26778 @[ -f ./expect/Makefile ] || exit 0; \
26779 r=`${PWD_COMMAND}`; export r; \
26780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26781 $(HOST_EXPORTS) \
26782 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26783 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26784 done; \
26785 echo "Doing distclean in expect" ; \
26786 (cd $(HOST_SUBDIR)/expect && \
26787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26789 "RANLIB=$${RANLIB}" \
26790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26791 distclean) \
26792 || exit 1
26794 @endif expect
26796 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26797 maybe-maintainer-clean-expect:
26798 @if expect
26799 maybe-maintainer-clean-expect: maintainer-clean-expect
26801 maintainer-clean-expect:
26802 @$(unstage)
26803 @[ -f ./expect/Makefile ] || exit 0; \
26804 r=`${PWD_COMMAND}`; export r; \
26805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26806 $(HOST_EXPORTS) \
26807 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26809 done; \
26810 echo "Doing maintainer-clean in expect" ; \
26811 (cd $(HOST_SUBDIR)/expect && \
26812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26814 "RANLIB=$${RANLIB}" \
26815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26816 maintainer-clean) \
26817 || exit 1
26819 @endif expect
26823 .PHONY: configure-guile maybe-configure-guile
26824 maybe-configure-guile:
26825 @if guile
26826 maybe-configure-guile: configure-guile
26827 configure-guile:
26828 @$(unstage)
26829 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26831 r=`${PWD_COMMAND}`; export r; \
26832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26833 $(HOST_EXPORTS) \
26834 echo Configuring in $(HOST_SUBDIR)/guile; \
26835 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26836 case $(srcdir) in \
26837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26838 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26840 esac; \
26841 srcdiroption="--srcdir=$${topdir}/guile"; \
26842 libsrcdir="$$s/guile"; \
26843 $(SHELL) $${libsrcdir}/configure \
26844 $(HOST_CONFIGARGS) $${srcdiroption} \
26845 || exit 1
26846 @endif guile
26852 .PHONY: all-guile maybe-all-guile
26853 maybe-all-guile:
26854 @if guile
26855 TARGET-guile=all
26856 maybe-all-guile: all-guile
26857 all-guile: configure-guile
26858 @$(unstage)
26859 @r=`${PWD_COMMAND}`; export r; \
26860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26861 $(HOST_EXPORTS) \
26862 (cd $(HOST_SUBDIR)/guile && \
26863 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
26864 @endif guile
26869 .PHONY: check-guile maybe-check-guile
26870 maybe-check-guile:
26871 @if guile
26872 maybe-check-guile: check-guile
26874 check-guile:
26875 @$(unstage)
26876 @r=`${PWD_COMMAND}`; export r; \
26877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26878 $(HOST_EXPORTS) \
26879 (cd $(HOST_SUBDIR)/guile && \
26880 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26882 @endif guile
26884 .PHONY: install-guile maybe-install-guile
26885 maybe-install-guile:
26886 @if guile
26887 maybe-install-guile: install-guile
26889 install-guile: installdirs
26890 @$(unstage)
26891 @r=`${PWD_COMMAND}`; export r; \
26892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26893 $(HOST_EXPORTS) \
26894 (cd $(HOST_SUBDIR)/guile && \
26895 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26897 @endif guile
26899 # Other targets (info, dvi, etc.)
26901 .PHONY: maybe-info-guile info-guile
26902 maybe-info-guile:
26903 @if guile
26904 maybe-info-guile: info-guile
26906 info-guile: \
26907 configure-guile
26908 @$(unstage)
26909 @[ -f ./guile/Makefile ] || exit 0; \
26910 r=`${PWD_COMMAND}`; export r; \
26911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26912 $(HOST_EXPORTS) \
26913 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26915 done; \
26916 echo "Doing info in guile" ; \
26917 (cd $(HOST_SUBDIR)/guile && \
26918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26920 "RANLIB=$${RANLIB}" \
26921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26922 info) \
26923 || exit 1
26925 @endif guile
26927 .PHONY: maybe-dvi-guile dvi-guile
26928 maybe-dvi-guile:
26929 @if guile
26930 maybe-dvi-guile: dvi-guile
26932 dvi-guile: \
26933 configure-guile
26934 @$(unstage)
26935 @[ -f ./guile/Makefile ] || exit 0; \
26936 r=`${PWD_COMMAND}`; export r; \
26937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26938 $(HOST_EXPORTS) \
26939 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26941 done; \
26942 echo "Doing dvi in guile" ; \
26943 (cd $(HOST_SUBDIR)/guile && \
26944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26946 "RANLIB=$${RANLIB}" \
26947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26948 dvi) \
26949 || exit 1
26951 @endif guile
26953 .PHONY: maybe-html-guile html-guile
26954 maybe-html-guile:
26955 @if guile
26956 maybe-html-guile: html-guile
26958 html-guile: \
26959 configure-guile
26960 @$(unstage)
26961 @[ -f ./guile/Makefile ] || exit 0; \
26962 r=`${PWD_COMMAND}`; export r; \
26963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26964 $(HOST_EXPORTS) \
26965 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26967 done; \
26968 echo "Doing html in guile" ; \
26969 (cd $(HOST_SUBDIR)/guile && \
26970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26972 "RANLIB=$${RANLIB}" \
26973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26974 html) \
26975 || exit 1
26977 @endif guile
26979 .PHONY: maybe-TAGS-guile TAGS-guile
26980 maybe-TAGS-guile:
26981 @if guile
26982 maybe-TAGS-guile: TAGS-guile
26984 TAGS-guile: \
26985 configure-guile
26986 @$(unstage)
26987 @[ -f ./guile/Makefile ] || exit 0; \
26988 r=`${PWD_COMMAND}`; export r; \
26989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26990 $(HOST_EXPORTS) \
26991 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26993 done; \
26994 echo "Doing TAGS in guile" ; \
26995 (cd $(HOST_SUBDIR)/guile && \
26996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26998 "RANLIB=$${RANLIB}" \
26999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27000 TAGS) \
27001 || exit 1
27003 @endif guile
27005 .PHONY: maybe-install-info-guile install-info-guile
27006 maybe-install-info-guile:
27007 @if guile
27008 maybe-install-info-guile: install-info-guile
27010 install-info-guile: \
27011 configure-guile \
27012 info-guile
27013 @$(unstage)
27014 @[ -f ./guile/Makefile ] || exit 0; \
27015 r=`${PWD_COMMAND}`; export r; \
27016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27017 $(HOST_EXPORTS) \
27018 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27020 done; \
27021 echo "Doing install-info in guile" ; \
27022 (cd $(HOST_SUBDIR)/guile && \
27023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27025 "RANLIB=$${RANLIB}" \
27026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27027 install-info) \
27028 || exit 1
27030 @endif guile
27032 .PHONY: maybe-installcheck-guile installcheck-guile
27033 maybe-installcheck-guile:
27034 @if guile
27035 maybe-installcheck-guile: installcheck-guile
27037 installcheck-guile: \
27038 configure-guile
27039 @$(unstage)
27040 @[ -f ./guile/Makefile ] || exit 0; \
27041 r=`${PWD_COMMAND}`; export r; \
27042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27043 $(HOST_EXPORTS) \
27044 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27046 done; \
27047 echo "Doing installcheck in guile" ; \
27048 (cd $(HOST_SUBDIR)/guile && \
27049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27051 "RANLIB=$${RANLIB}" \
27052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27053 installcheck) \
27054 || exit 1
27056 @endif guile
27058 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27059 maybe-mostlyclean-guile:
27060 @if guile
27061 maybe-mostlyclean-guile: mostlyclean-guile
27063 mostlyclean-guile:
27064 @$(unstage)
27065 @[ -f ./guile/Makefile ] || exit 0; \
27066 r=`${PWD_COMMAND}`; export r; \
27067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27068 $(HOST_EXPORTS) \
27069 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27071 done; \
27072 echo "Doing mostlyclean in guile" ; \
27073 (cd $(HOST_SUBDIR)/guile && \
27074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27076 "RANLIB=$${RANLIB}" \
27077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27078 mostlyclean) \
27079 || exit 1
27081 @endif guile
27083 .PHONY: maybe-clean-guile clean-guile
27084 maybe-clean-guile:
27085 @if guile
27086 maybe-clean-guile: clean-guile
27088 clean-guile:
27089 @$(unstage)
27090 @[ -f ./guile/Makefile ] || exit 0; \
27091 r=`${PWD_COMMAND}`; export r; \
27092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27093 $(HOST_EXPORTS) \
27094 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27095 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27096 done; \
27097 echo "Doing clean in guile" ; \
27098 (cd $(HOST_SUBDIR)/guile && \
27099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27101 "RANLIB=$${RANLIB}" \
27102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27103 clean) \
27104 || exit 1
27106 @endif guile
27108 .PHONY: maybe-distclean-guile distclean-guile
27109 maybe-distclean-guile:
27110 @if guile
27111 maybe-distclean-guile: distclean-guile
27113 distclean-guile:
27114 @$(unstage)
27115 @[ -f ./guile/Makefile ] || exit 0; \
27116 r=`${PWD_COMMAND}`; export r; \
27117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27118 $(HOST_EXPORTS) \
27119 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27120 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27121 done; \
27122 echo "Doing distclean in guile" ; \
27123 (cd $(HOST_SUBDIR)/guile && \
27124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27126 "RANLIB=$${RANLIB}" \
27127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27128 distclean) \
27129 || exit 1
27131 @endif guile
27133 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27134 maybe-maintainer-clean-guile:
27135 @if guile
27136 maybe-maintainer-clean-guile: maintainer-clean-guile
27138 maintainer-clean-guile:
27139 @$(unstage)
27140 @[ -f ./guile/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) $(X11_FLAGS_TO_PASS); do \
27145 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27146 done; \
27147 echo "Doing maintainer-clean in guile" ; \
27148 (cd $(HOST_SUBDIR)/guile && \
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 maintainer-clean) \
27154 || exit 1
27156 @endif guile
27160 .PHONY: configure-tk maybe-configure-tk
27161 maybe-configure-tk:
27162 @if tk
27163 maybe-configure-tk: configure-tk
27164 configure-tk:
27165 @$(unstage)
27166 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27167 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27168 r=`${PWD_COMMAND}`; export r; \
27169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27170 $(HOST_EXPORTS) \
27171 echo Configuring in $(HOST_SUBDIR)/tk; \
27172 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27173 case $(srcdir) in \
27174 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27175 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27176 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27177 esac; \
27178 srcdiroption="--srcdir=$${topdir}/tk"; \
27179 libsrcdir="$$s/tk"; \
27180 $(SHELL) $${libsrcdir}/configure \
27181 $(HOST_CONFIGARGS) $${srcdiroption} \
27182 || exit 1
27183 @endif tk
27189 .PHONY: all-tk maybe-all-tk
27190 maybe-all-tk:
27191 @if tk
27192 TARGET-tk=all
27193 maybe-all-tk: all-tk
27194 all-tk: configure-tk
27195 @$(unstage)
27196 @r=`${PWD_COMMAND}`; export r; \
27197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27198 $(HOST_EXPORTS) \
27199 (cd $(HOST_SUBDIR)/tk && \
27200 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27201 @endif tk
27206 .PHONY: check-tk maybe-check-tk
27207 maybe-check-tk:
27208 @if tk
27209 maybe-check-tk: check-tk
27211 check-tk:
27212 @$(unstage)
27213 @r=`${PWD_COMMAND}`; export r; \
27214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27215 $(HOST_EXPORTS) \
27216 (cd $(HOST_SUBDIR)/tk && \
27217 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27219 @endif tk
27221 .PHONY: install-tk maybe-install-tk
27222 maybe-install-tk:
27223 @if tk
27224 maybe-install-tk: install-tk
27226 install-tk: installdirs
27227 @$(unstage)
27228 @r=`${PWD_COMMAND}`; export r; \
27229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27230 $(HOST_EXPORTS) \
27231 (cd $(HOST_SUBDIR)/tk && \
27232 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27234 @endif tk
27236 # Other targets (info, dvi, etc.)
27238 .PHONY: maybe-info-tk info-tk
27239 maybe-info-tk:
27240 @if tk
27241 maybe-info-tk: info-tk
27243 info-tk: \
27244 configure-tk
27245 @$(unstage)
27246 @[ -f ./tk/Makefile ] || exit 0; \
27247 r=`${PWD_COMMAND}`; export r; \
27248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27249 $(HOST_EXPORTS) \
27250 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27252 done; \
27253 echo "Doing info in tk" ; \
27254 (cd $(HOST_SUBDIR)/tk && \
27255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27257 "RANLIB=$${RANLIB}" \
27258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27259 info) \
27260 || exit 1
27262 @endif tk
27264 .PHONY: maybe-dvi-tk dvi-tk
27265 maybe-dvi-tk:
27266 @if tk
27267 maybe-dvi-tk: dvi-tk
27269 dvi-tk: \
27270 configure-tk
27271 @$(unstage)
27272 @[ -f ./tk/Makefile ] || exit 0; \
27273 r=`${PWD_COMMAND}`; export r; \
27274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27275 $(HOST_EXPORTS) \
27276 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27278 done; \
27279 echo "Doing dvi in tk" ; \
27280 (cd $(HOST_SUBDIR)/tk && \
27281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27283 "RANLIB=$${RANLIB}" \
27284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27285 dvi) \
27286 || exit 1
27288 @endif tk
27290 .PHONY: maybe-html-tk html-tk
27291 maybe-html-tk:
27292 @if tk
27293 maybe-html-tk: html-tk
27295 html-tk: \
27296 configure-tk
27297 @$(unstage)
27298 @[ -f ./tk/Makefile ] || exit 0; \
27299 r=`${PWD_COMMAND}`; export r; \
27300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27301 $(HOST_EXPORTS) \
27302 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27304 done; \
27305 echo "Doing html in tk" ; \
27306 (cd $(HOST_SUBDIR)/tk && \
27307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27309 "RANLIB=$${RANLIB}" \
27310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27311 html) \
27312 || exit 1
27314 @endif tk
27316 .PHONY: maybe-TAGS-tk TAGS-tk
27317 maybe-TAGS-tk:
27318 @if tk
27319 maybe-TAGS-tk: TAGS-tk
27321 TAGS-tk: \
27322 configure-tk
27323 @$(unstage)
27324 @[ -f ./tk/Makefile ] || exit 0; \
27325 r=`${PWD_COMMAND}`; export r; \
27326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27327 $(HOST_EXPORTS) \
27328 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27330 done; \
27331 echo "Doing TAGS in tk" ; \
27332 (cd $(HOST_SUBDIR)/tk && \
27333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27335 "RANLIB=$${RANLIB}" \
27336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27337 TAGS) \
27338 || exit 1
27340 @endif tk
27342 .PHONY: maybe-install-info-tk install-info-tk
27343 maybe-install-info-tk:
27344 @if tk
27345 maybe-install-info-tk: install-info-tk
27347 install-info-tk: \
27348 configure-tk \
27349 info-tk
27350 @$(unstage)
27351 @[ -f ./tk/Makefile ] || exit 0; \
27352 r=`${PWD_COMMAND}`; export r; \
27353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27354 $(HOST_EXPORTS) \
27355 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27357 done; \
27358 echo "Doing install-info in tk" ; \
27359 (cd $(HOST_SUBDIR)/tk && \
27360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27362 "RANLIB=$${RANLIB}" \
27363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27364 install-info) \
27365 || exit 1
27367 @endif tk
27369 .PHONY: maybe-installcheck-tk installcheck-tk
27370 maybe-installcheck-tk:
27371 @if tk
27372 maybe-installcheck-tk: installcheck-tk
27374 installcheck-tk: \
27375 configure-tk
27376 @$(unstage)
27377 @[ -f ./tk/Makefile ] || exit 0; \
27378 r=`${PWD_COMMAND}`; export r; \
27379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27380 $(HOST_EXPORTS) \
27381 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27383 done; \
27384 echo "Doing installcheck in tk" ; \
27385 (cd $(HOST_SUBDIR)/tk && \
27386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27388 "RANLIB=$${RANLIB}" \
27389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27390 installcheck) \
27391 || exit 1
27393 @endif tk
27395 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27396 maybe-mostlyclean-tk:
27397 @if tk
27398 maybe-mostlyclean-tk: mostlyclean-tk
27400 mostlyclean-tk:
27401 @$(unstage)
27402 @[ -f ./tk/Makefile ] || exit 0; \
27403 r=`${PWD_COMMAND}`; export r; \
27404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27405 $(HOST_EXPORTS) \
27406 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27408 done; \
27409 echo "Doing mostlyclean in tk" ; \
27410 (cd $(HOST_SUBDIR)/tk && \
27411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27413 "RANLIB=$${RANLIB}" \
27414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27415 mostlyclean) \
27416 || exit 1
27418 @endif tk
27420 .PHONY: maybe-clean-tk clean-tk
27421 maybe-clean-tk:
27422 @if tk
27423 maybe-clean-tk: clean-tk
27425 clean-tk:
27426 @$(unstage)
27427 @[ -f ./tk/Makefile ] || exit 0; \
27428 r=`${PWD_COMMAND}`; export r; \
27429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27430 $(HOST_EXPORTS) \
27431 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27433 done; \
27434 echo "Doing clean in tk" ; \
27435 (cd $(HOST_SUBDIR)/tk && \
27436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27438 "RANLIB=$${RANLIB}" \
27439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27440 clean) \
27441 || exit 1
27443 @endif tk
27445 .PHONY: maybe-distclean-tk distclean-tk
27446 maybe-distclean-tk:
27447 @if tk
27448 maybe-distclean-tk: distclean-tk
27450 distclean-tk:
27451 @$(unstage)
27452 @[ -f ./tk/Makefile ] || exit 0; \
27453 r=`${PWD_COMMAND}`; export r; \
27454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27455 $(HOST_EXPORTS) \
27456 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27458 done; \
27459 echo "Doing distclean in tk" ; \
27460 (cd $(HOST_SUBDIR)/tk && \
27461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27463 "RANLIB=$${RANLIB}" \
27464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27465 distclean) \
27466 || exit 1
27468 @endif tk
27470 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27471 maybe-maintainer-clean-tk:
27472 @if tk
27473 maybe-maintainer-clean-tk: maintainer-clean-tk
27475 maintainer-clean-tk:
27476 @$(unstage)
27477 @[ -f ./tk/Makefile ] || exit 0; \
27478 r=`${PWD_COMMAND}`; export r; \
27479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27480 $(HOST_EXPORTS) \
27481 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27483 done; \
27484 echo "Doing maintainer-clean in tk" ; \
27485 (cd $(HOST_SUBDIR)/tk && \
27486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27488 "RANLIB=$${RANLIB}" \
27489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27490 maintainer-clean) \
27491 || exit 1
27493 @endif tk
27497 .PHONY: configure-libtermcap maybe-configure-libtermcap
27498 maybe-configure-libtermcap:
27499 @if libtermcap
27500 maybe-configure-libtermcap: configure-libtermcap
27501 configure-libtermcap:
27502 @$(unstage)
27503 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27504 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27505 r=`${PWD_COMMAND}`; export r; \
27506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27507 $(HOST_EXPORTS) \
27508 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27509 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27510 case $(srcdir) in \
27511 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27512 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27513 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27514 esac; \
27515 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27516 libsrcdir="$$s/libtermcap"; \
27517 $(SHELL) $${libsrcdir}/configure \
27518 $(HOST_CONFIGARGS) $${srcdiroption} \
27519 || exit 1
27520 @endif libtermcap
27526 .PHONY: all-libtermcap maybe-all-libtermcap
27527 maybe-all-libtermcap:
27528 @if libtermcap
27529 TARGET-libtermcap=all
27530 maybe-all-libtermcap: all-libtermcap
27531 all-libtermcap: configure-libtermcap
27532 @$(unstage)
27533 @r=`${PWD_COMMAND}`; export r; \
27534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27535 $(HOST_EXPORTS) \
27536 (cd $(HOST_SUBDIR)/libtermcap && \
27537 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27538 @endif libtermcap
27543 .PHONY: check-libtermcap maybe-check-libtermcap
27544 maybe-check-libtermcap:
27545 @if libtermcap
27546 maybe-check-libtermcap: check-libtermcap
27548 check-libtermcap:
27550 @endif libtermcap
27552 .PHONY: install-libtermcap maybe-install-libtermcap
27553 maybe-install-libtermcap:
27554 @if libtermcap
27555 maybe-install-libtermcap: install-libtermcap
27557 install-libtermcap: installdirs
27558 @$(unstage)
27559 @r=`${PWD_COMMAND}`; export r; \
27560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27561 $(HOST_EXPORTS) \
27562 (cd $(HOST_SUBDIR)/libtermcap && \
27563 $(MAKE) $(FLAGS_TO_PASS) install)
27565 @endif libtermcap
27567 # Other targets (info, dvi, etc.)
27569 .PHONY: maybe-info-libtermcap info-libtermcap
27570 maybe-info-libtermcap:
27571 @if libtermcap
27572 maybe-info-libtermcap: info-libtermcap
27574 info-libtermcap: \
27575 configure-libtermcap
27576 @$(unstage)
27577 @[ -f ./libtermcap/Makefile ] || exit 0; \
27578 r=`${PWD_COMMAND}`; export r; \
27579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27580 $(HOST_EXPORTS) \
27581 for flag in $(EXTRA_HOST_FLAGS) ; do \
27582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27583 done; \
27584 echo "Doing info in libtermcap" ; \
27585 (cd $(HOST_SUBDIR)/libtermcap && \
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 info) \
27591 || exit 1
27593 @endif libtermcap
27595 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27596 maybe-dvi-libtermcap:
27597 @if libtermcap
27598 maybe-dvi-libtermcap: dvi-libtermcap
27600 dvi-libtermcap: \
27601 configure-libtermcap
27602 @$(unstage)
27603 @[ -f ./libtermcap/Makefile ] || exit 0; \
27604 r=`${PWD_COMMAND}`; export r; \
27605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27606 $(HOST_EXPORTS) \
27607 for flag in $(EXTRA_HOST_FLAGS) ; do \
27608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27609 done; \
27610 echo "Doing dvi in libtermcap" ; \
27611 (cd $(HOST_SUBDIR)/libtermcap && \
27612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27614 "RANLIB=$${RANLIB}" \
27615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27616 dvi) \
27617 || exit 1
27619 @endif libtermcap
27621 .PHONY: maybe-html-libtermcap html-libtermcap
27622 maybe-html-libtermcap:
27623 @if libtermcap
27624 maybe-html-libtermcap: html-libtermcap
27626 html-libtermcap: \
27627 configure-libtermcap
27628 @$(unstage)
27629 @[ -f ./libtermcap/Makefile ] || exit 0; \
27630 r=`${PWD_COMMAND}`; export r; \
27631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27632 $(HOST_EXPORTS) \
27633 for flag in $(EXTRA_HOST_FLAGS) ; do \
27634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27635 done; \
27636 echo "Doing html in libtermcap" ; \
27637 (cd $(HOST_SUBDIR)/libtermcap && \
27638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27640 "RANLIB=$${RANLIB}" \
27641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27642 html) \
27643 || exit 1
27645 @endif libtermcap
27647 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
27648 maybe-TAGS-libtermcap:
27649 @if libtermcap
27650 maybe-TAGS-libtermcap: TAGS-libtermcap
27652 TAGS-libtermcap: \
27653 configure-libtermcap
27654 @$(unstage)
27655 @[ -f ./libtermcap/Makefile ] || exit 0; \
27656 r=`${PWD_COMMAND}`; export r; \
27657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27658 $(HOST_EXPORTS) \
27659 for flag in $(EXTRA_HOST_FLAGS) ; do \
27660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27661 done; \
27662 echo "Doing TAGS in libtermcap" ; \
27663 (cd $(HOST_SUBDIR)/libtermcap && \
27664 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27665 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27666 "RANLIB=$${RANLIB}" \
27667 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27668 TAGS) \
27669 || exit 1
27671 @endif libtermcap
27673 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
27674 maybe-install-info-libtermcap:
27675 @if libtermcap
27676 maybe-install-info-libtermcap: install-info-libtermcap
27678 install-info-libtermcap: \
27679 configure-libtermcap \
27680 info-libtermcap
27681 @$(unstage)
27682 @[ -f ./libtermcap/Makefile ] || exit 0; \
27683 r=`${PWD_COMMAND}`; export r; \
27684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27685 $(HOST_EXPORTS) \
27686 for flag in $(EXTRA_HOST_FLAGS) ; do \
27687 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27688 done; \
27689 echo "Doing install-info in libtermcap" ; \
27690 (cd $(HOST_SUBDIR)/libtermcap && \
27691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27693 "RANLIB=$${RANLIB}" \
27694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27695 install-info) \
27696 || exit 1
27698 @endif libtermcap
27700 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
27701 maybe-installcheck-libtermcap:
27702 @if libtermcap
27703 maybe-installcheck-libtermcap: installcheck-libtermcap
27705 installcheck-libtermcap: \
27706 configure-libtermcap
27707 @$(unstage)
27708 @[ -f ./libtermcap/Makefile ] || exit 0; \
27709 r=`${PWD_COMMAND}`; export r; \
27710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27711 $(HOST_EXPORTS) \
27712 for flag in $(EXTRA_HOST_FLAGS) ; do \
27713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27714 done; \
27715 echo "Doing installcheck in libtermcap" ; \
27716 (cd $(HOST_SUBDIR)/libtermcap && \
27717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27719 "RANLIB=$${RANLIB}" \
27720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27721 installcheck) \
27722 || exit 1
27724 @endif libtermcap
27726 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
27727 maybe-mostlyclean-libtermcap:
27728 @if libtermcap
27729 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
27731 # libtermcap doesn't support mostlyclean.
27732 mostlyclean-libtermcap:
27734 @endif libtermcap
27736 .PHONY: maybe-clean-libtermcap clean-libtermcap
27737 maybe-clean-libtermcap:
27738 @if libtermcap
27739 maybe-clean-libtermcap: clean-libtermcap
27741 # libtermcap doesn't support clean.
27742 clean-libtermcap:
27744 @endif libtermcap
27746 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
27747 maybe-distclean-libtermcap:
27748 @if libtermcap
27749 maybe-distclean-libtermcap: distclean-libtermcap
27751 # libtermcap doesn't support distclean.
27752 distclean-libtermcap:
27754 @endif libtermcap
27756 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
27757 maybe-maintainer-clean-libtermcap:
27758 @if libtermcap
27759 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
27761 # libtermcap doesn't support maintainer-clean.
27762 maintainer-clean-libtermcap:
27764 @endif libtermcap
27768 .PHONY: configure-utils maybe-configure-utils
27769 maybe-configure-utils:
27770 @if utils
27771 maybe-configure-utils: configure-utils
27772 configure-utils:
27773 @$(unstage)
27774 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
27775 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
27776 r=`${PWD_COMMAND}`; export r; \
27777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27778 $(HOST_EXPORTS) \
27779 echo Configuring in $(HOST_SUBDIR)/utils; \
27780 cd "$(HOST_SUBDIR)/utils" || exit 1; \
27781 case $(srcdir) in \
27782 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27783 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
27784 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27785 esac; \
27786 srcdiroption="--srcdir=$${topdir}/utils"; \
27787 libsrcdir="$$s/utils"; \
27788 $(SHELL) $${libsrcdir}/configure \
27789 $(HOST_CONFIGARGS) $${srcdiroption} \
27790 || exit 1
27791 @endif utils
27797 .PHONY: all-utils maybe-all-utils
27798 maybe-all-utils:
27799 @if utils
27800 TARGET-utils=all
27801 maybe-all-utils: all-utils
27802 all-utils: configure-utils
27803 @$(unstage)
27804 @r=`${PWD_COMMAND}`; export r; \
27805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27806 $(HOST_EXPORTS) \
27807 (cd $(HOST_SUBDIR)/utils && \
27808 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
27809 @endif utils
27814 .PHONY: check-utils maybe-check-utils
27815 maybe-check-utils:
27816 @if utils
27817 maybe-check-utils: check-utils
27819 check-utils:
27821 @endif utils
27823 .PHONY: install-utils maybe-install-utils
27824 maybe-install-utils:
27825 @if utils
27826 maybe-install-utils: install-utils
27828 install-utils: installdirs
27829 @$(unstage)
27830 @r=`${PWD_COMMAND}`; export r; \
27831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27832 $(HOST_EXPORTS) \
27833 (cd $(HOST_SUBDIR)/utils && \
27834 $(MAKE) $(FLAGS_TO_PASS) install)
27836 @endif utils
27838 # Other targets (info, dvi, etc.)
27840 .PHONY: maybe-info-utils info-utils
27841 maybe-info-utils:
27842 @if utils
27843 maybe-info-utils: info-utils
27845 info-utils: \
27846 configure-utils
27847 @$(unstage)
27848 @[ -f ./utils/Makefile ] || exit 0; \
27849 r=`${PWD_COMMAND}`; export r; \
27850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27851 $(HOST_EXPORTS) \
27852 for flag in $(EXTRA_HOST_FLAGS) ; do \
27853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27854 done; \
27855 echo "Doing info in utils" ; \
27856 (cd $(HOST_SUBDIR)/utils && \
27857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27859 "RANLIB=$${RANLIB}" \
27860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27861 info) \
27862 || exit 1
27864 @endif utils
27866 .PHONY: maybe-dvi-utils dvi-utils
27867 maybe-dvi-utils:
27868 @if utils
27869 maybe-dvi-utils: dvi-utils
27871 dvi-utils: \
27872 configure-utils
27873 @$(unstage)
27874 @[ -f ./utils/Makefile ] || exit 0; \
27875 r=`${PWD_COMMAND}`; export r; \
27876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27877 $(HOST_EXPORTS) \
27878 for flag in $(EXTRA_HOST_FLAGS) ; do \
27879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27880 done; \
27881 echo "Doing dvi in utils" ; \
27882 (cd $(HOST_SUBDIR)/utils && \
27883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27885 "RANLIB=$${RANLIB}" \
27886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27887 dvi) \
27888 || exit 1
27890 @endif utils
27892 .PHONY: maybe-html-utils html-utils
27893 maybe-html-utils:
27894 @if utils
27895 maybe-html-utils: html-utils
27897 html-utils: \
27898 configure-utils
27899 @$(unstage)
27900 @[ -f ./utils/Makefile ] || exit 0; \
27901 r=`${PWD_COMMAND}`; export r; \
27902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27903 $(HOST_EXPORTS) \
27904 for flag in $(EXTRA_HOST_FLAGS) ; do \
27905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27906 done; \
27907 echo "Doing html in utils" ; \
27908 (cd $(HOST_SUBDIR)/utils && \
27909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27911 "RANLIB=$${RANLIB}" \
27912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27913 html) \
27914 || exit 1
27916 @endif utils
27918 .PHONY: maybe-TAGS-utils TAGS-utils
27919 maybe-TAGS-utils:
27920 @if utils
27921 maybe-TAGS-utils: TAGS-utils
27923 TAGS-utils: \
27924 configure-utils
27925 @$(unstage)
27926 @[ -f ./utils/Makefile ] || exit 0; \
27927 r=`${PWD_COMMAND}`; export r; \
27928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27929 $(HOST_EXPORTS) \
27930 for flag in $(EXTRA_HOST_FLAGS) ; do \
27931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27932 done; \
27933 echo "Doing TAGS in utils" ; \
27934 (cd $(HOST_SUBDIR)/utils && \
27935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27937 "RANLIB=$${RANLIB}" \
27938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27939 TAGS) \
27940 || exit 1
27942 @endif utils
27944 .PHONY: maybe-install-info-utils install-info-utils
27945 maybe-install-info-utils:
27946 @if utils
27947 maybe-install-info-utils: install-info-utils
27949 install-info-utils: \
27950 configure-utils \
27951 info-utils
27952 @$(unstage)
27953 @[ -f ./utils/Makefile ] || exit 0; \
27954 r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956 $(HOST_EXPORTS) \
27957 for flag in $(EXTRA_HOST_FLAGS) ; do \
27958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27959 done; \
27960 echo "Doing install-info in utils" ; \
27961 (cd $(HOST_SUBDIR)/utils && \
27962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27964 "RANLIB=$${RANLIB}" \
27965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27966 install-info) \
27967 || exit 1
27969 @endif utils
27971 .PHONY: maybe-installcheck-utils installcheck-utils
27972 maybe-installcheck-utils:
27973 @if utils
27974 maybe-installcheck-utils: installcheck-utils
27976 installcheck-utils: \
27977 configure-utils
27978 @$(unstage)
27979 @[ -f ./utils/Makefile ] || exit 0; \
27980 r=`${PWD_COMMAND}`; export r; \
27981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27982 $(HOST_EXPORTS) \
27983 for flag in $(EXTRA_HOST_FLAGS) ; do \
27984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27985 done; \
27986 echo "Doing installcheck in utils" ; \
27987 (cd $(HOST_SUBDIR)/utils && \
27988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27990 "RANLIB=$${RANLIB}" \
27991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27992 installcheck) \
27993 || exit 1
27995 @endif utils
27997 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
27998 maybe-mostlyclean-utils:
27999 @if utils
28000 maybe-mostlyclean-utils: mostlyclean-utils
28002 mostlyclean-utils:
28003 @$(unstage)
28004 @[ -f ./utils/Makefile ] || exit 0; \
28005 r=`${PWD_COMMAND}`; export r; \
28006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28007 $(HOST_EXPORTS) \
28008 for flag in $(EXTRA_HOST_FLAGS) ; do \
28009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28010 done; \
28011 echo "Doing mostlyclean in utils" ; \
28012 (cd $(HOST_SUBDIR)/utils && \
28013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28015 "RANLIB=$${RANLIB}" \
28016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28017 mostlyclean) \
28018 || exit 1
28020 @endif utils
28022 .PHONY: maybe-clean-utils clean-utils
28023 maybe-clean-utils:
28024 @if utils
28025 maybe-clean-utils: clean-utils
28027 clean-utils:
28028 @$(unstage)
28029 @[ -f ./utils/Makefile ] || exit 0; \
28030 r=`${PWD_COMMAND}`; export r; \
28031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28032 $(HOST_EXPORTS) \
28033 for flag in $(EXTRA_HOST_FLAGS) ; do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 echo "Doing clean in utils" ; \
28037 (cd $(HOST_SUBDIR)/utils && \
28038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28040 "RANLIB=$${RANLIB}" \
28041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28042 clean) \
28043 || exit 1
28045 @endif utils
28047 .PHONY: maybe-distclean-utils distclean-utils
28048 maybe-distclean-utils:
28049 @if utils
28050 maybe-distclean-utils: distclean-utils
28052 distclean-utils:
28053 @$(unstage)
28054 @[ -f ./utils/Makefile ] || exit 0; \
28055 r=`${PWD_COMMAND}`; export r; \
28056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28057 $(HOST_EXPORTS) \
28058 for flag in $(EXTRA_HOST_FLAGS) ; do \
28059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28060 done; \
28061 echo "Doing distclean in utils" ; \
28062 (cd $(HOST_SUBDIR)/utils && \
28063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28065 "RANLIB=$${RANLIB}" \
28066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28067 distclean) \
28068 || exit 1
28070 @endif utils
28072 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28073 maybe-maintainer-clean-utils:
28074 @if utils
28075 maybe-maintainer-clean-utils: maintainer-clean-utils
28077 maintainer-clean-utils:
28078 @$(unstage)
28079 @[ -f ./utils/Makefile ] || exit 0; \
28080 r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(HOST_EXPORTS) \
28083 for flag in $(EXTRA_HOST_FLAGS) ; do \
28084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28085 done; \
28086 echo "Doing maintainer-clean in utils" ; \
28087 (cd $(HOST_SUBDIR)/utils && \
28088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28090 "RANLIB=$${RANLIB}" \
28091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28092 maintainer-clean) \
28093 || exit 1
28095 @endif utils
28099 .PHONY: configure-gnattools maybe-configure-gnattools
28100 maybe-configure-gnattools:
28101 @if gnattools
28102 maybe-configure-gnattools: configure-gnattools
28103 configure-gnattools:
28104 @$(unstage)
28105 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28107 r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(HOST_EXPORTS) \
28110 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28111 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28112 case $(srcdir) in \
28113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28114 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28116 esac; \
28117 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28118 libsrcdir="$$s/gnattools"; \
28119 $(SHELL) $${libsrcdir}/configure \
28120 $(HOST_CONFIGARGS) $${srcdiroption} \
28121 || exit 1
28122 @endif gnattools
28128 .PHONY: all-gnattools maybe-all-gnattools
28129 maybe-all-gnattools:
28130 @if gnattools
28131 TARGET-gnattools=all
28132 maybe-all-gnattools: all-gnattools
28133 all-gnattools: configure-gnattools
28134 @$(unstage)
28135 @r=`${PWD_COMMAND}`; export r; \
28136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28137 $(HOST_EXPORTS) \
28138 (cd $(HOST_SUBDIR)/gnattools && \
28139 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28140 @endif gnattools
28145 .PHONY: check-gnattools maybe-check-gnattools
28146 maybe-check-gnattools:
28147 @if gnattools
28148 maybe-check-gnattools: check-gnattools
28150 check-gnattools:
28151 @$(unstage)
28152 @r=`${PWD_COMMAND}`; export r; \
28153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28154 $(HOST_EXPORTS) \
28155 (cd $(HOST_SUBDIR)/gnattools && \
28156 $(MAKE) $(FLAGS_TO_PASS) check)
28158 @endif gnattools
28160 .PHONY: install-gnattools maybe-install-gnattools
28161 maybe-install-gnattools:
28162 @if gnattools
28163 maybe-install-gnattools: install-gnattools
28165 install-gnattools: installdirs
28166 @$(unstage)
28167 @r=`${PWD_COMMAND}`; export r; \
28168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28169 $(HOST_EXPORTS) \
28170 (cd $(HOST_SUBDIR)/gnattools && \
28171 $(MAKE) $(FLAGS_TO_PASS) install)
28173 @endif gnattools
28175 # Other targets (info, dvi, etc.)
28177 .PHONY: maybe-info-gnattools info-gnattools
28178 maybe-info-gnattools:
28179 @if gnattools
28180 maybe-info-gnattools: info-gnattools
28182 info-gnattools: \
28183 configure-gnattools
28184 @$(unstage)
28185 @[ -f ./gnattools/Makefile ] || exit 0; \
28186 r=`${PWD_COMMAND}`; export r; \
28187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28188 $(HOST_EXPORTS) \
28189 for flag in $(EXTRA_HOST_FLAGS) ; do \
28190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28191 done; \
28192 echo "Doing info in gnattools" ; \
28193 (cd $(HOST_SUBDIR)/gnattools && \
28194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28196 "RANLIB=$${RANLIB}" \
28197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28198 info) \
28199 || exit 1
28201 @endif gnattools
28203 .PHONY: maybe-dvi-gnattools dvi-gnattools
28204 maybe-dvi-gnattools:
28205 @if gnattools
28206 maybe-dvi-gnattools: dvi-gnattools
28208 dvi-gnattools: \
28209 configure-gnattools
28210 @$(unstage)
28211 @[ -f ./gnattools/Makefile ] || exit 0; \
28212 r=`${PWD_COMMAND}`; export r; \
28213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28214 $(HOST_EXPORTS) \
28215 for flag in $(EXTRA_HOST_FLAGS) ; do \
28216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28217 done; \
28218 echo "Doing dvi in gnattools" ; \
28219 (cd $(HOST_SUBDIR)/gnattools && \
28220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28222 "RANLIB=$${RANLIB}" \
28223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28224 dvi) \
28225 || exit 1
28227 @endif gnattools
28229 .PHONY: maybe-html-gnattools html-gnattools
28230 maybe-html-gnattools:
28231 @if gnattools
28232 maybe-html-gnattools: html-gnattools
28234 html-gnattools: \
28235 configure-gnattools
28236 @$(unstage)
28237 @[ -f ./gnattools/Makefile ] || exit 0; \
28238 r=`${PWD_COMMAND}`; export r; \
28239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28240 $(HOST_EXPORTS) \
28241 for flag in $(EXTRA_HOST_FLAGS) ; do \
28242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28243 done; \
28244 echo "Doing html in gnattools" ; \
28245 (cd $(HOST_SUBDIR)/gnattools && \
28246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28248 "RANLIB=$${RANLIB}" \
28249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28250 html) \
28251 || exit 1
28253 @endif gnattools
28255 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28256 maybe-TAGS-gnattools:
28257 @if gnattools
28258 maybe-TAGS-gnattools: TAGS-gnattools
28260 TAGS-gnattools: \
28261 configure-gnattools
28262 @$(unstage)
28263 @[ -f ./gnattools/Makefile ] || exit 0; \
28264 r=`${PWD_COMMAND}`; export r; \
28265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28266 $(HOST_EXPORTS) \
28267 for flag in $(EXTRA_HOST_FLAGS) ; do \
28268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28269 done; \
28270 echo "Doing TAGS in gnattools" ; \
28271 (cd $(HOST_SUBDIR)/gnattools && \
28272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28274 "RANLIB=$${RANLIB}" \
28275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28276 TAGS) \
28277 || exit 1
28279 @endif gnattools
28281 .PHONY: maybe-install-info-gnattools install-info-gnattools
28282 maybe-install-info-gnattools:
28283 @if gnattools
28284 maybe-install-info-gnattools: install-info-gnattools
28286 install-info-gnattools: \
28287 configure-gnattools \
28288 info-gnattools
28289 @$(unstage)
28290 @[ -f ./gnattools/Makefile ] || exit 0; \
28291 r=`${PWD_COMMAND}`; export r; \
28292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28293 $(HOST_EXPORTS) \
28294 for flag in $(EXTRA_HOST_FLAGS) ; do \
28295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28296 done; \
28297 echo "Doing install-info in gnattools" ; \
28298 (cd $(HOST_SUBDIR)/gnattools && \
28299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28301 "RANLIB=$${RANLIB}" \
28302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28303 install-info) \
28304 || exit 1
28306 @endif gnattools
28308 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28309 maybe-installcheck-gnattools:
28310 @if gnattools
28311 maybe-installcheck-gnattools: installcheck-gnattools
28313 installcheck-gnattools: \
28314 configure-gnattools
28315 @$(unstage)
28316 @[ -f ./gnattools/Makefile ] || exit 0; \
28317 r=`${PWD_COMMAND}`; export r; \
28318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28319 $(HOST_EXPORTS) \
28320 for flag in $(EXTRA_HOST_FLAGS) ; do \
28321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28322 done; \
28323 echo "Doing installcheck in gnattools" ; \
28324 (cd $(HOST_SUBDIR)/gnattools && \
28325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28327 "RANLIB=$${RANLIB}" \
28328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28329 installcheck) \
28330 || exit 1
28332 @endif gnattools
28334 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28335 maybe-mostlyclean-gnattools:
28336 @if gnattools
28337 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28339 mostlyclean-gnattools:
28340 @$(unstage)
28341 @[ -f ./gnattools/Makefile ] || exit 0; \
28342 r=`${PWD_COMMAND}`; export r; \
28343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28344 $(HOST_EXPORTS) \
28345 for flag in $(EXTRA_HOST_FLAGS) ; do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 echo "Doing mostlyclean in gnattools" ; \
28349 (cd $(HOST_SUBDIR)/gnattools && \
28350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28352 "RANLIB=$${RANLIB}" \
28353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28354 mostlyclean) \
28355 || exit 1
28357 @endif gnattools
28359 .PHONY: maybe-clean-gnattools clean-gnattools
28360 maybe-clean-gnattools:
28361 @if gnattools
28362 maybe-clean-gnattools: clean-gnattools
28364 clean-gnattools:
28365 @$(unstage)
28366 @[ -f ./gnattools/Makefile ] || exit 0; \
28367 r=`${PWD_COMMAND}`; export r; \
28368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28369 $(HOST_EXPORTS) \
28370 for flag in $(EXTRA_HOST_FLAGS) ; do \
28371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28372 done; \
28373 echo "Doing clean in gnattools" ; \
28374 (cd $(HOST_SUBDIR)/gnattools && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28379 clean) \
28380 || exit 1
28382 @endif gnattools
28384 .PHONY: maybe-distclean-gnattools distclean-gnattools
28385 maybe-distclean-gnattools:
28386 @if gnattools
28387 maybe-distclean-gnattools: distclean-gnattools
28389 distclean-gnattools:
28390 @$(unstage)
28391 @[ -f ./gnattools/Makefile ] || exit 0; \
28392 r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(HOST_EXPORTS) \
28395 for flag in $(EXTRA_HOST_FLAGS) ; do \
28396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28397 done; \
28398 echo "Doing distclean in gnattools" ; \
28399 (cd $(HOST_SUBDIR)/gnattools && \
28400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28402 "RANLIB=$${RANLIB}" \
28403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28404 distclean) \
28405 || exit 1
28407 @endif gnattools
28409 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28410 maybe-maintainer-clean-gnattools:
28411 @if gnattools
28412 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28414 maintainer-clean-gnattools:
28415 @$(unstage)
28416 @[ -f ./gnattools/Makefile ] || exit 0; \
28417 r=`${PWD_COMMAND}`; export r; \
28418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28419 $(HOST_EXPORTS) \
28420 for flag in $(EXTRA_HOST_FLAGS) ; do \
28421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28422 done; \
28423 echo "Doing maintainer-clean in gnattools" ; \
28424 (cd $(HOST_SUBDIR)/gnattools && \
28425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28427 "RANLIB=$${RANLIB}" \
28428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28429 maintainer-clean) \
28430 || exit 1
28432 @endif gnattools
28436 # ---------------------------------------
28437 # Modules which run on the target machine
28438 # ---------------------------------------
28441 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28442 @if target-libstdc++-v3
28443 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
28444 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28445 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
28446 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28447 @endif target-libstdc++-v3
28451 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28452 maybe-configure-target-libstdc++-v3:
28453 @if target-libstdc++-v3
28454 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28455 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28456 @$(unstage)
28457 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28458 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28459 r=`${PWD_COMMAND}`; export r; \
28460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28461 $(RAW_CXX_TARGET_EXPORTS) \
28462 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28463 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28464 case $(srcdir) in \
28465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28466 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28468 esac; \
28469 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28470 libsrcdir="$$s/libstdc++-v3"; \
28471 rm -f no-such-file || : ; \
28472 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28473 $(TARGET_CONFIGARGS) $${srcdiroption} \
28474 || exit 1
28475 @endif target-libstdc++-v3
28481 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28482 maybe-all-target-libstdc++-v3:
28483 @if target-libstdc++-v3
28484 TARGET-target-libstdc++-v3=all
28485 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28486 all-target-libstdc++-v3: configure-target-libstdc++-v3
28487 @$(unstage)
28488 @r=`${PWD_COMMAND}`; export r; \
28489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28490 $(RAW_CXX_TARGET_EXPORTS) \
28491 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28492 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28493 @endif target-libstdc++-v3
28499 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28500 maybe-check-target-libstdc++-v3:
28501 @if target-libstdc++-v3
28502 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28504 check-target-libstdc++-v3:
28505 @$(unstage)
28506 @r=`${PWD_COMMAND}`; export r; \
28507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28508 $(RAW_CXX_TARGET_EXPORTS) \
28509 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28510 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28512 @endif target-libstdc++-v3
28514 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28515 maybe-install-target-libstdc++-v3:
28516 @if target-libstdc++-v3
28517 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28519 install-target-libstdc++-v3: installdirs
28520 @$(unstage)
28521 @r=`${PWD_COMMAND}`; export r; \
28522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(RAW_CXX_TARGET_EXPORTS) \
28524 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28525 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28527 @endif target-libstdc++-v3
28529 # Other targets (info, dvi, etc.)
28531 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28532 maybe-info-target-libstdc++-v3:
28533 @if target-libstdc++-v3
28534 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28536 info-target-libstdc++-v3: \
28537 configure-target-libstdc++-v3
28538 @$(unstage)
28539 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28540 r=`${PWD_COMMAND}`; export r; \
28541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28542 $(RAW_CXX_TARGET_EXPORTS) \
28543 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28544 for flag in $(EXTRA_TARGET_FLAGS); do \
28545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28546 done; \
28547 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28548 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28549 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28550 "RANLIB=$${RANLIB}" \
28551 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28552 info) \
28553 || exit 1
28555 @endif target-libstdc++-v3
28557 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28558 maybe-dvi-target-libstdc++-v3:
28559 @if target-libstdc++-v3
28560 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28562 dvi-target-libstdc++-v3: \
28563 configure-target-libstdc++-v3
28564 @$(unstage)
28565 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28566 r=`${PWD_COMMAND}`; export r; \
28567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28568 $(RAW_CXX_TARGET_EXPORTS) \
28569 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28570 for flag in $(EXTRA_TARGET_FLAGS); do \
28571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28572 done; \
28573 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28576 "RANLIB=$${RANLIB}" \
28577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28578 dvi) \
28579 || exit 1
28581 @endif target-libstdc++-v3
28583 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
28584 maybe-html-target-libstdc++-v3:
28585 @if target-libstdc++-v3
28586 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
28588 html-target-libstdc++-v3: \
28589 configure-target-libstdc++-v3
28590 @$(unstage)
28591 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28592 r=`${PWD_COMMAND}`; export r; \
28593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28594 $(RAW_CXX_TARGET_EXPORTS) \
28595 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28596 for flag in $(EXTRA_TARGET_FLAGS); do \
28597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28598 done; \
28599 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28602 "RANLIB=$${RANLIB}" \
28603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28604 html) \
28605 || exit 1
28607 @endif target-libstdc++-v3
28609 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
28610 maybe-TAGS-target-libstdc++-v3:
28611 @if target-libstdc++-v3
28612 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
28614 TAGS-target-libstdc++-v3: \
28615 configure-target-libstdc++-v3
28616 @$(unstage)
28617 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28618 r=`${PWD_COMMAND}`; export r; \
28619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28620 $(RAW_CXX_TARGET_EXPORTS) \
28621 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28622 for flag in $(EXTRA_TARGET_FLAGS); do \
28623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28624 done; \
28625 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28628 "RANLIB=$${RANLIB}" \
28629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28630 TAGS) \
28631 || exit 1
28633 @endif target-libstdc++-v3
28635 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
28636 maybe-install-info-target-libstdc++-v3:
28637 @if target-libstdc++-v3
28638 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
28640 install-info-target-libstdc++-v3: \
28641 configure-target-libstdc++-v3 \
28642 info-target-libstdc++-v3
28643 @$(unstage)
28644 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28645 r=`${PWD_COMMAND}`; export r; \
28646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28647 $(RAW_CXX_TARGET_EXPORTS) \
28648 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28649 for flag in $(EXTRA_TARGET_FLAGS); do \
28650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28651 done; \
28652 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28655 "RANLIB=$${RANLIB}" \
28656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28657 install-info) \
28658 || exit 1
28660 @endif target-libstdc++-v3
28662 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
28663 maybe-installcheck-target-libstdc++-v3:
28664 @if target-libstdc++-v3
28665 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
28667 installcheck-target-libstdc++-v3: \
28668 configure-target-libstdc++-v3
28669 @$(unstage)
28670 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28671 r=`${PWD_COMMAND}`; export r; \
28672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28673 $(RAW_CXX_TARGET_EXPORTS) \
28674 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28675 for flag in $(EXTRA_TARGET_FLAGS); do \
28676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28677 done; \
28678 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28681 "RANLIB=$${RANLIB}" \
28682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28683 installcheck) \
28684 || exit 1
28686 @endif target-libstdc++-v3
28688 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
28689 maybe-mostlyclean-target-libstdc++-v3:
28690 @if target-libstdc++-v3
28691 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
28693 mostlyclean-target-libstdc++-v3:
28694 @$(unstage)
28695 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28696 r=`${PWD_COMMAND}`; export r; \
28697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28698 $(RAW_CXX_TARGET_EXPORTS) \
28699 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28700 for flag in $(EXTRA_TARGET_FLAGS); do \
28701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28702 done; \
28703 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28706 "RANLIB=$${RANLIB}" \
28707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28708 mostlyclean) \
28709 || exit 1
28711 @endif target-libstdc++-v3
28713 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
28714 maybe-clean-target-libstdc++-v3:
28715 @if target-libstdc++-v3
28716 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
28718 clean-target-libstdc++-v3:
28719 @$(unstage)
28720 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28721 r=`${PWD_COMMAND}`; export r; \
28722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28723 $(RAW_CXX_TARGET_EXPORTS) \
28724 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28725 for flag in $(EXTRA_TARGET_FLAGS); do \
28726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28727 done; \
28728 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28731 "RANLIB=$${RANLIB}" \
28732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28733 clean) \
28734 || exit 1
28736 @endif target-libstdc++-v3
28738 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
28739 maybe-distclean-target-libstdc++-v3:
28740 @if target-libstdc++-v3
28741 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
28743 distclean-target-libstdc++-v3:
28744 @$(unstage)
28745 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28746 r=`${PWD_COMMAND}`; export r; \
28747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28748 $(RAW_CXX_TARGET_EXPORTS) \
28749 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28750 for flag in $(EXTRA_TARGET_FLAGS); do \
28751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28752 done; \
28753 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28756 "RANLIB=$${RANLIB}" \
28757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28758 distclean) \
28759 || exit 1
28761 @endif target-libstdc++-v3
28763 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
28764 maybe-maintainer-clean-target-libstdc++-v3:
28765 @if target-libstdc++-v3
28766 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
28768 maintainer-clean-target-libstdc++-v3:
28769 @$(unstage)
28770 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28771 r=`${PWD_COMMAND}`; export r; \
28772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28773 $(RAW_CXX_TARGET_EXPORTS) \
28774 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28775 for flag in $(EXTRA_TARGET_FLAGS); do \
28776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28777 done; \
28778 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28781 "RANLIB=$${RANLIB}" \
28782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28783 maintainer-clean) \
28784 || exit 1
28786 @endif target-libstdc++-v3
28790 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28791 @if target-libmudflap
28792 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
28793 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28794 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
28795 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
28796 @endif target-libmudflap
28800 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
28801 maybe-configure-target-libmudflap:
28802 @if target-libmudflap
28803 maybe-configure-target-libmudflap: configure-target-libmudflap
28804 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
28805 @$(unstage)
28806 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
28807 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28808 r=`${PWD_COMMAND}`; export r; \
28809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28810 $(NORMAL_TARGET_EXPORTS) \
28811 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
28812 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
28813 case $(srcdir) in \
28814 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28815 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
28816 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28817 esac; \
28818 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
28819 libsrcdir="$$s/libmudflap"; \
28820 rm -f no-such-file || : ; \
28821 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28822 $(TARGET_CONFIGARGS) $${srcdiroption} \
28823 || exit 1
28824 @endif target-libmudflap
28830 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
28831 maybe-all-target-libmudflap:
28832 @if target-libmudflap
28833 TARGET-target-libmudflap=all
28834 maybe-all-target-libmudflap: all-target-libmudflap
28835 all-target-libmudflap: configure-target-libmudflap
28836 @$(unstage)
28837 @r=`${PWD_COMMAND}`; export r; \
28838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28839 $(NORMAL_TARGET_EXPORTS) \
28840 (cd $(TARGET_SUBDIR)/libmudflap && \
28841 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
28842 @endif target-libmudflap
28848 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
28849 maybe-check-target-libmudflap:
28850 @if target-libmudflap
28851 maybe-check-target-libmudflap: check-target-libmudflap
28853 check-target-libmudflap:
28854 @$(unstage)
28855 @r=`${PWD_COMMAND}`; export r; \
28856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28857 $(NORMAL_TARGET_EXPORTS) \
28858 (cd $(TARGET_SUBDIR)/libmudflap && \
28859 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28861 @endif target-libmudflap
28863 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
28864 maybe-install-target-libmudflap:
28865 @if target-libmudflap
28866 maybe-install-target-libmudflap: install-target-libmudflap
28868 install-target-libmudflap: installdirs
28869 @$(unstage)
28870 @r=`${PWD_COMMAND}`; export r; \
28871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28872 $(NORMAL_TARGET_EXPORTS) \
28873 (cd $(TARGET_SUBDIR)/libmudflap && \
28874 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28876 @endif target-libmudflap
28878 # Other targets (info, dvi, etc.)
28880 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
28881 maybe-info-target-libmudflap:
28882 @if target-libmudflap
28883 maybe-info-target-libmudflap: info-target-libmudflap
28885 info-target-libmudflap: \
28886 configure-target-libmudflap
28887 @$(unstage)
28888 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28889 r=`${PWD_COMMAND}`; export r; \
28890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28891 $(NORMAL_TARGET_EXPORTS) \
28892 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
28893 for flag in $(EXTRA_TARGET_FLAGS); do \
28894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28895 done; \
28896 (cd $(TARGET_SUBDIR)/libmudflap && \
28897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28899 "RANLIB=$${RANLIB}" \
28900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28901 info) \
28902 || exit 1
28904 @endif target-libmudflap
28906 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
28907 maybe-dvi-target-libmudflap:
28908 @if target-libmudflap
28909 maybe-dvi-target-libmudflap: dvi-target-libmudflap
28911 dvi-target-libmudflap: \
28912 configure-target-libmudflap
28913 @$(unstage)
28914 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28915 r=`${PWD_COMMAND}`; export r; \
28916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28917 $(NORMAL_TARGET_EXPORTS) \
28918 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
28919 for flag in $(EXTRA_TARGET_FLAGS); do \
28920 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28921 done; \
28922 (cd $(TARGET_SUBDIR)/libmudflap && \
28923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28925 "RANLIB=$${RANLIB}" \
28926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28927 dvi) \
28928 || exit 1
28930 @endif target-libmudflap
28932 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
28933 maybe-html-target-libmudflap:
28934 @if target-libmudflap
28935 maybe-html-target-libmudflap: html-target-libmudflap
28937 html-target-libmudflap: \
28938 configure-target-libmudflap
28939 @$(unstage)
28940 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28941 r=`${PWD_COMMAND}`; export r; \
28942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28943 $(NORMAL_TARGET_EXPORTS) \
28944 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
28945 for flag in $(EXTRA_TARGET_FLAGS); do \
28946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28947 done; \
28948 (cd $(TARGET_SUBDIR)/libmudflap && \
28949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28951 "RANLIB=$${RANLIB}" \
28952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28953 html) \
28954 || exit 1
28956 @endif target-libmudflap
28958 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
28959 maybe-TAGS-target-libmudflap:
28960 @if target-libmudflap
28961 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
28963 TAGS-target-libmudflap: \
28964 configure-target-libmudflap
28965 @$(unstage)
28966 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28967 r=`${PWD_COMMAND}`; export r; \
28968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28969 $(NORMAL_TARGET_EXPORTS) \
28970 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
28971 for flag in $(EXTRA_TARGET_FLAGS); do \
28972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28973 done; \
28974 (cd $(TARGET_SUBDIR)/libmudflap && \
28975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28977 "RANLIB=$${RANLIB}" \
28978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28979 TAGS) \
28980 || exit 1
28982 @endif target-libmudflap
28984 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
28985 maybe-install-info-target-libmudflap:
28986 @if target-libmudflap
28987 maybe-install-info-target-libmudflap: install-info-target-libmudflap
28989 install-info-target-libmudflap: \
28990 configure-target-libmudflap \
28991 info-target-libmudflap
28992 @$(unstage)
28993 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28994 r=`${PWD_COMMAND}`; export r; \
28995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28996 $(NORMAL_TARGET_EXPORTS) \
28997 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
28998 for flag in $(EXTRA_TARGET_FLAGS); do \
28999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29000 done; \
29001 (cd $(TARGET_SUBDIR)/libmudflap && \
29002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29004 "RANLIB=$${RANLIB}" \
29005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29006 install-info) \
29007 || exit 1
29009 @endif target-libmudflap
29011 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29012 maybe-installcheck-target-libmudflap:
29013 @if target-libmudflap
29014 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29016 installcheck-target-libmudflap: \
29017 configure-target-libmudflap
29018 @$(unstage)
29019 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29020 r=`${PWD_COMMAND}`; export r; \
29021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29022 $(NORMAL_TARGET_EXPORTS) \
29023 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29024 for flag in $(EXTRA_TARGET_FLAGS); do \
29025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29026 done; \
29027 (cd $(TARGET_SUBDIR)/libmudflap && \
29028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29030 "RANLIB=$${RANLIB}" \
29031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29032 installcheck) \
29033 || exit 1
29035 @endif target-libmudflap
29037 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29038 maybe-mostlyclean-target-libmudflap:
29039 @if target-libmudflap
29040 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29042 mostlyclean-target-libmudflap:
29043 @$(unstage)
29044 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29045 r=`${PWD_COMMAND}`; export r; \
29046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29047 $(NORMAL_TARGET_EXPORTS) \
29048 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29049 for flag in $(EXTRA_TARGET_FLAGS); do \
29050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29051 done; \
29052 (cd $(TARGET_SUBDIR)/libmudflap && \
29053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29055 "RANLIB=$${RANLIB}" \
29056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29057 mostlyclean) \
29058 || exit 1
29060 @endif target-libmudflap
29062 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29063 maybe-clean-target-libmudflap:
29064 @if target-libmudflap
29065 maybe-clean-target-libmudflap: clean-target-libmudflap
29067 clean-target-libmudflap:
29068 @$(unstage)
29069 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29070 r=`${PWD_COMMAND}`; export r; \
29071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29072 $(NORMAL_TARGET_EXPORTS) \
29073 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29074 for flag in $(EXTRA_TARGET_FLAGS); do \
29075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29076 done; \
29077 (cd $(TARGET_SUBDIR)/libmudflap && \
29078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29080 "RANLIB=$${RANLIB}" \
29081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29082 clean) \
29083 || exit 1
29085 @endif target-libmudflap
29087 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29088 maybe-distclean-target-libmudflap:
29089 @if target-libmudflap
29090 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29092 distclean-target-libmudflap:
29093 @$(unstage)
29094 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29095 r=`${PWD_COMMAND}`; export r; \
29096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29097 $(NORMAL_TARGET_EXPORTS) \
29098 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29099 for flag in $(EXTRA_TARGET_FLAGS); do \
29100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 done; \
29102 (cd $(TARGET_SUBDIR)/libmudflap && \
29103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29105 "RANLIB=$${RANLIB}" \
29106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29107 distclean) \
29108 || exit 1
29110 @endif target-libmudflap
29112 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29113 maybe-maintainer-clean-target-libmudflap:
29114 @if target-libmudflap
29115 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29117 maintainer-clean-target-libmudflap:
29118 @$(unstage)
29119 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29120 r=`${PWD_COMMAND}`; export r; \
29121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29122 $(NORMAL_TARGET_EXPORTS) \
29123 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29124 for flag in $(EXTRA_TARGET_FLAGS); do \
29125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29126 done; \
29127 (cd $(TARGET_SUBDIR)/libmudflap && \
29128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29130 "RANLIB=$${RANLIB}" \
29131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29132 maintainer-clean) \
29133 || exit 1
29135 @endif target-libmudflap
29139 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29140 @if target-libssp
29141 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
29142 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29143 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
29144 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
29145 @endif target-libssp
29149 .PHONY: configure-target-libssp maybe-configure-target-libssp
29150 maybe-configure-target-libssp:
29151 @if target-libssp
29152 maybe-configure-target-libssp: configure-target-libssp
29153 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
29154 @$(unstage)
29155 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29156 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29157 r=`${PWD_COMMAND}`; export r; \
29158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29159 $(NORMAL_TARGET_EXPORTS) \
29160 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29161 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29162 case $(srcdir) in \
29163 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29164 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29165 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29166 esac; \
29167 srcdiroption="--srcdir=$${topdir}/libssp"; \
29168 libsrcdir="$$s/libssp"; \
29169 rm -f no-such-file || : ; \
29170 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29171 $(TARGET_CONFIGARGS) $${srcdiroption} \
29172 || exit 1
29173 @endif target-libssp
29179 .PHONY: all-target-libssp maybe-all-target-libssp
29180 maybe-all-target-libssp:
29181 @if target-libssp
29182 TARGET-target-libssp=all
29183 maybe-all-target-libssp: all-target-libssp
29184 all-target-libssp: configure-target-libssp
29185 @$(unstage)
29186 @r=`${PWD_COMMAND}`; export r; \
29187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29188 $(NORMAL_TARGET_EXPORTS) \
29189 (cd $(TARGET_SUBDIR)/libssp && \
29190 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29191 @endif target-libssp
29197 .PHONY: check-target-libssp maybe-check-target-libssp
29198 maybe-check-target-libssp:
29199 @if target-libssp
29200 maybe-check-target-libssp: check-target-libssp
29202 check-target-libssp:
29203 @$(unstage)
29204 @r=`${PWD_COMMAND}`; export r; \
29205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29206 $(NORMAL_TARGET_EXPORTS) \
29207 (cd $(TARGET_SUBDIR)/libssp && \
29208 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29210 @endif target-libssp
29212 .PHONY: install-target-libssp maybe-install-target-libssp
29213 maybe-install-target-libssp:
29214 @if target-libssp
29215 maybe-install-target-libssp: install-target-libssp
29217 install-target-libssp: installdirs
29218 @$(unstage)
29219 @r=`${PWD_COMMAND}`; export r; \
29220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29221 $(NORMAL_TARGET_EXPORTS) \
29222 (cd $(TARGET_SUBDIR)/libssp && \
29223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29225 @endif target-libssp
29227 # Other targets (info, dvi, etc.)
29229 .PHONY: maybe-info-target-libssp info-target-libssp
29230 maybe-info-target-libssp:
29231 @if target-libssp
29232 maybe-info-target-libssp: info-target-libssp
29234 info-target-libssp: \
29235 configure-target-libssp
29236 @$(unstage)
29237 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29238 r=`${PWD_COMMAND}`; export r; \
29239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29240 $(NORMAL_TARGET_EXPORTS) \
29241 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29242 for flag in $(EXTRA_TARGET_FLAGS); do \
29243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29244 done; \
29245 (cd $(TARGET_SUBDIR)/libssp && \
29246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29248 "RANLIB=$${RANLIB}" \
29249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29250 info) \
29251 || exit 1
29253 @endif target-libssp
29255 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29256 maybe-dvi-target-libssp:
29257 @if target-libssp
29258 maybe-dvi-target-libssp: dvi-target-libssp
29260 dvi-target-libssp: \
29261 configure-target-libssp
29262 @$(unstage)
29263 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29264 r=`${PWD_COMMAND}`; export r; \
29265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29266 $(NORMAL_TARGET_EXPORTS) \
29267 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29268 for flag in $(EXTRA_TARGET_FLAGS); do \
29269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29270 done; \
29271 (cd $(TARGET_SUBDIR)/libssp && \
29272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29274 "RANLIB=$${RANLIB}" \
29275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29276 dvi) \
29277 || exit 1
29279 @endif target-libssp
29281 .PHONY: maybe-html-target-libssp html-target-libssp
29282 maybe-html-target-libssp:
29283 @if target-libssp
29284 maybe-html-target-libssp: html-target-libssp
29286 html-target-libssp: \
29287 configure-target-libssp
29288 @$(unstage)
29289 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29290 r=`${PWD_COMMAND}`; export r; \
29291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29292 $(NORMAL_TARGET_EXPORTS) \
29293 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29294 for flag in $(EXTRA_TARGET_FLAGS); do \
29295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29296 done; \
29297 (cd $(TARGET_SUBDIR)/libssp && \
29298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29300 "RANLIB=$${RANLIB}" \
29301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29302 html) \
29303 || exit 1
29305 @endif target-libssp
29307 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29308 maybe-TAGS-target-libssp:
29309 @if target-libssp
29310 maybe-TAGS-target-libssp: TAGS-target-libssp
29312 TAGS-target-libssp: \
29313 configure-target-libssp
29314 @$(unstage)
29315 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29316 r=`${PWD_COMMAND}`; export r; \
29317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29318 $(NORMAL_TARGET_EXPORTS) \
29319 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29320 for flag in $(EXTRA_TARGET_FLAGS); do \
29321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29322 done; \
29323 (cd $(TARGET_SUBDIR)/libssp && \
29324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29326 "RANLIB=$${RANLIB}" \
29327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29328 TAGS) \
29329 || exit 1
29331 @endif target-libssp
29333 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29334 maybe-install-info-target-libssp:
29335 @if target-libssp
29336 maybe-install-info-target-libssp: install-info-target-libssp
29338 install-info-target-libssp: \
29339 configure-target-libssp \
29340 info-target-libssp
29341 @$(unstage)
29342 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29343 r=`${PWD_COMMAND}`; export r; \
29344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29345 $(NORMAL_TARGET_EXPORTS) \
29346 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29347 for flag in $(EXTRA_TARGET_FLAGS); do \
29348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29349 done; \
29350 (cd $(TARGET_SUBDIR)/libssp && \
29351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29353 "RANLIB=$${RANLIB}" \
29354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29355 install-info) \
29356 || exit 1
29358 @endif target-libssp
29360 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29361 maybe-installcheck-target-libssp:
29362 @if target-libssp
29363 maybe-installcheck-target-libssp: installcheck-target-libssp
29365 installcheck-target-libssp: \
29366 configure-target-libssp
29367 @$(unstage)
29368 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29369 r=`${PWD_COMMAND}`; export r; \
29370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29371 $(NORMAL_TARGET_EXPORTS) \
29372 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29373 for flag in $(EXTRA_TARGET_FLAGS); do \
29374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29375 done; \
29376 (cd $(TARGET_SUBDIR)/libssp && \
29377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29379 "RANLIB=$${RANLIB}" \
29380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29381 installcheck) \
29382 || exit 1
29384 @endif target-libssp
29386 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29387 maybe-mostlyclean-target-libssp:
29388 @if target-libssp
29389 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29391 mostlyclean-target-libssp:
29392 @$(unstage)
29393 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29394 r=`${PWD_COMMAND}`; export r; \
29395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29396 $(NORMAL_TARGET_EXPORTS) \
29397 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29398 for flag in $(EXTRA_TARGET_FLAGS); do \
29399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29400 done; \
29401 (cd $(TARGET_SUBDIR)/libssp && \
29402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29404 "RANLIB=$${RANLIB}" \
29405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29406 mostlyclean) \
29407 || exit 1
29409 @endif target-libssp
29411 .PHONY: maybe-clean-target-libssp clean-target-libssp
29412 maybe-clean-target-libssp:
29413 @if target-libssp
29414 maybe-clean-target-libssp: clean-target-libssp
29416 clean-target-libssp:
29417 @$(unstage)
29418 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29419 r=`${PWD_COMMAND}`; export r; \
29420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29421 $(NORMAL_TARGET_EXPORTS) \
29422 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29423 for flag in $(EXTRA_TARGET_FLAGS); do \
29424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29425 done; \
29426 (cd $(TARGET_SUBDIR)/libssp && \
29427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29429 "RANLIB=$${RANLIB}" \
29430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29431 clean) \
29432 || exit 1
29434 @endif target-libssp
29436 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29437 maybe-distclean-target-libssp:
29438 @if target-libssp
29439 maybe-distclean-target-libssp: distclean-target-libssp
29441 distclean-target-libssp:
29442 @$(unstage)
29443 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29444 r=`${PWD_COMMAND}`; export r; \
29445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29446 $(NORMAL_TARGET_EXPORTS) \
29447 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29448 for flag in $(EXTRA_TARGET_FLAGS); do \
29449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29450 done; \
29451 (cd $(TARGET_SUBDIR)/libssp && \
29452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29454 "RANLIB=$${RANLIB}" \
29455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29456 distclean) \
29457 || exit 1
29459 @endif target-libssp
29461 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29462 maybe-maintainer-clean-target-libssp:
29463 @if target-libssp
29464 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29466 maintainer-clean-target-libssp:
29467 @$(unstage)
29468 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29469 r=`${PWD_COMMAND}`; export r; \
29470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29471 $(NORMAL_TARGET_EXPORTS) \
29472 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29473 for flag in $(EXTRA_TARGET_FLAGS); do \
29474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29475 done; \
29476 (cd $(TARGET_SUBDIR)/libssp && \
29477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29479 "RANLIB=$${RANLIB}" \
29480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29481 maintainer-clean) \
29482 || exit 1
29484 @endif target-libssp
29488 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29489 @if target-newlib
29490 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
29491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29492 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
29493 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
29494 @endif target-newlib
29498 .PHONY: configure-target-newlib maybe-configure-target-newlib
29499 maybe-configure-target-newlib:
29500 @if target-newlib
29501 maybe-configure-target-newlib: configure-target-newlib
29502 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
29503 @$(unstage)
29504 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29505 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29506 r=`${PWD_COMMAND}`; export r; \
29507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29508 $(NORMAL_TARGET_EXPORTS) \
29509 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29510 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29511 case $(srcdir) in \
29512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29513 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29515 esac; \
29516 srcdiroption="--srcdir=$${topdir}/newlib"; \
29517 libsrcdir="$$s/newlib"; \
29518 rm -f no-such-file || : ; \
29519 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29520 $(TARGET_CONFIGARGS) $${srcdiroption} \
29521 || exit 1
29522 @endif target-newlib
29528 .PHONY: all-target-newlib maybe-all-target-newlib
29529 maybe-all-target-newlib:
29530 @if target-newlib
29531 TARGET-target-newlib=all
29532 maybe-all-target-newlib: all-target-newlib
29533 all-target-newlib: configure-target-newlib
29534 @$(unstage)
29535 @r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(NORMAL_TARGET_EXPORTS) \
29538 (cd $(TARGET_SUBDIR)/newlib && \
29539 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29540 @endif target-newlib
29546 .PHONY: check-target-newlib maybe-check-target-newlib
29547 maybe-check-target-newlib:
29548 @if target-newlib
29549 maybe-check-target-newlib: check-target-newlib
29551 check-target-newlib:
29552 @$(unstage)
29553 @r=`${PWD_COMMAND}`; export r; \
29554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29555 $(NORMAL_TARGET_EXPORTS) \
29556 (cd $(TARGET_SUBDIR)/newlib && \
29557 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29559 @endif target-newlib
29561 .PHONY: install-target-newlib maybe-install-target-newlib
29562 maybe-install-target-newlib:
29563 @if target-newlib
29564 maybe-install-target-newlib: install-target-newlib
29566 install-target-newlib: installdirs
29567 @$(unstage)
29568 @r=`${PWD_COMMAND}`; export r; \
29569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29570 $(NORMAL_TARGET_EXPORTS) \
29571 (cd $(TARGET_SUBDIR)/newlib && \
29572 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29574 @endif target-newlib
29576 # Other targets (info, dvi, etc.)
29578 .PHONY: maybe-info-target-newlib info-target-newlib
29579 maybe-info-target-newlib:
29580 @if target-newlib
29581 maybe-info-target-newlib: info-target-newlib
29583 info-target-newlib: \
29584 configure-target-newlib
29585 @$(unstage)
29586 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29587 r=`${PWD_COMMAND}`; export r; \
29588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29589 $(NORMAL_TARGET_EXPORTS) \
29590 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
29591 for flag in $(EXTRA_TARGET_FLAGS); do \
29592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29593 done; \
29594 (cd $(TARGET_SUBDIR)/newlib && \
29595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29597 "RANLIB=$${RANLIB}" \
29598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29599 info) \
29600 || exit 1
29602 @endif target-newlib
29604 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
29605 maybe-dvi-target-newlib:
29606 @if target-newlib
29607 maybe-dvi-target-newlib: dvi-target-newlib
29609 dvi-target-newlib: \
29610 configure-target-newlib
29611 @$(unstage)
29612 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29613 r=`${PWD_COMMAND}`; export r; \
29614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29615 $(NORMAL_TARGET_EXPORTS) \
29616 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
29617 for flag in $(EXTRA_TARGET_FLAGS); do \
29618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29619 done; \
29620 (cd $(TARGET_SUBDIR)/newlib && \
29621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29623 "RANLIB=$${RANLIB}" \
29624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29625 dvi) \
29626 || exit 1
29628 @endif target-newlib
29630 .PHONY: maybe-html-target-newlib html-target-newlib
29631 maybe-html-target-newlib:
29632 @if target-newlib
29633 maybe-html-target-newlib: html-target-newlib
29635 html-target-newlib: \
29636 configure-target-newlib
29637 @$(unstage)
29638 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29639 r=`${PWD_COMMAND}`; export r; \
29640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29641 $(NORMAL_TARGET_EXPORTS) \
29642 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
29643 for flag in $(EXTRA_TARGET_FLAGS); do \
29644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29645 done; \
29646 (cd $(TARGET_SUBDIR)/newlib && \
29647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29649 "RANLIB=$${RANLIB}" \
29650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29651 html) \
29652 || exit 1
29654 @endif target-newlib
29656 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
29657 maybe-TAGS-target-newlib:
29658 @if target-newlib
29659 maybe-TAGS-target-newlib: TAGS-target-newlib
29661 TAGS-target-newlib: \
29662 configure-target-newlib
29663 @$(unstage)
29664 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29665 r=`${PWD_COMMAND}`; export r; \
29666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29667 $(NORMAL_TARGET_EXPORTS) \
29668 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
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)/newlib && \
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 TAGS) \
29678 || exit 1
29680 @endif target-newlib
29682 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
29683 maybe-install-info-target-newlib:
29684 @if target-newlib
29685 maybe-install-info-target-newlib: install-info-target-newlib
29687 install-info-target-newlib: \
29688 configure-target-newlib \
29689 info-target-newlib
29690 @$(unstage)
29691 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(NORMAL_TARGET_EXPORTS) \
29695 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
29696 for flag in $(EXTRA_TARGET_FLAGS); do \
29697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29698 done; \
29699 (cd $(TARGET_SUBDIR)/newlib && \
29700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29702 "RANLIB=$${RANLIB}" \
29703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29704 install-info) \
29705 || exit 1
29707 @endif target-newlib
29709 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
29710 maybe-installcheck-target-newlib:
29711 @if target-newlib
29712 maybe-installcheck-target-newlib: installcheck-target-newlib
29714 installcheck-target-newlib: \
29715 configure-target-newlib
29716 @$(unstage)
29717 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(NORMAL_TARGET_EXPORTS) \
29721 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
29722 for flag in $(EXTRA_TARGET_FLAGS); do \
29723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29724 done; \
29725 (cd $(TARGET_SUBDIR)/newlib && \
29726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29728 "RANLIB=$${RANLIB}" \
29729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29730 installcheck) \
29731 || exit 1
29733 @endif target-newlib
29735 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
29736 maybe-mostlyclean-target-newlib:
29737 @if target-newlib
29738 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
29740 mostlyclean-target-newlib:
29741 @$(unstage)
29742 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29743 r=`${PWD_COMMAND}`; export r; \
29744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29745 $(NORMAL_TARGET_EXPORTS) \
29746 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
29747 for flag in $(EXTRA_TARGET_FLAGS); do \
29748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29749 done; \
29750 (cd $(TARGET_SUBDIR)/newlib && \
29751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29753 "RANLIB=$${RANLIB}" \
29754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29755 mostlyclean) \
29756 || exit 1
29758 @endif target-newlib
29760 .PHONY: maybe-clean-target-newlib clean-target-newlib
29761 maybe-clean-target-newlib:
29762 @if target-newlib
29763 maybe-clean-target-newlib: clean-target-newlib
29765 clean-target-newlib:
29766 @$(unstage)
29767 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29768 r=`${PWD_COMMAND}`; export r; \
29769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29770 $(NORMAL_TARGET_EXPORTS) \
29771 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
29772 for flag in $(EXTRA_TARGET_FLAGS); do \
29773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29774 done; \
29775 (cd $(TARGET_SUBDIR)/newlib && \
29776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29778 "RANLIB=$${RANLIB}" \
29779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29780 clean) \
29781 || exit 1
29783 @endif target-newlib
29785 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
29786 maybe-distclean-target-newlib:
29787 @if target-newlib
29788 maybe-distclean-target-newlib: distclean-target-newlib
29790 distclean-target-newlib:
29791 @$(unstage)
29792 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29793 r=`${PWD_COMMAND}`; export r; \
29794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29795 $(NORMAL_TARGET_EXPORTS) \
29796 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
29797 for flag in $(EXTRA_TARGET_FLAGS); do \
29798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29799 done; \
29800 (cd $(TARGET_SUBDIR)/newlib && \
29801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29803 "RANLIB=$${RANLIB}" \
29804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29805 distclean) \
29806 || exit 1
29808 @endif target-newlib
29810 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
29811 maybe-maintainer-clean-target-newlib:
29812 @if target-newlib
29813 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
29815 maintainer-clean-target-newlib:
29816 @$(unstage)
29817 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29818 r=`${PWD_COMMAND}`; export r; \
29819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29820 $(NORMAL_TARGET_EXPORTS) \
29821 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
29822 for flag in $(EXTRA_TARGET_FLAGS); do \
29823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29824 done; \
29825 (cd $(TARGET_SUBDIR)/newlib && \
29826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29828 "RANLIB=$${RANLIB}" \
29829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29830 maintainer-clean) \
29831 || exit 1
29833 @endif target-newlib
29837 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29838 @if target-libgfortran
29839 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
29840 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29841 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
29842 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
29843 @endif target-libgfortran
29847 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
29848 maybe-configure-target-libgfortran:
29849 @if target-libgfortran
29850 maybe-configure-target-libgfortran: configure-target-libgfortran
29851 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
29852 @$(unstage)
29853 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
29854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29855 r=`${PWD_COMMAND}`; export r; \
29856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29857 $(NORMAL_TARGET_EXPORTS) \
29858 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
29859 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
29860 case $(srcdir) in \
29861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29862 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
29863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29864 esac; \
29865 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
29866 libsrcdir="$$s/libgfortran"; \
29867 rm -f no-such-file || : ; \
29868 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29869 $(TARGET_CONFIGARGS) $${srcdiroption} \
29870 || exit 1
29871 @endif target-libgfortran
29877 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
29878 maybe-all-target-libgfortran:
29879 @if target-libgfortran
29880 TARGET-target-libgfortran=all
29881 maybe-all-target-libgfortran: all-target-libgfortran
29882 all-target-libgfortran: configure-target-libgfortran
29883 @$(unstage)
29884 @r=`${PWD_COMMAND}`; export r; \
29885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29886 $(NORMAL_TARGET_EXPORTS) \
29887 (cd $(TARGET_SUBDIR)/libgfortran && \
29888 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
29889 @endif target-libgfortran
29895 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
29896 maybe-check-target-libgfortran:
29897 @if target-libgfortran
29898 maybe-check-target-libgfortran: check-target-libgfortran
29900 check-target-libgfortran:
29901 @$(unstage)
29902 @r=`${PWD_COMMAND}`; export r; \
29903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29904 $(NORMAL_TARGET_EXPORTS) \
29905 (cd $(TARGET_SUBDIR)/libgfortran && \
29906 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29908 @endif target-libgfortran
29910 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
29911 maybe-install-target-libgfortran:
29912 @if target-libgfortran
29913 maybe-install-target-libgfortran: install-target-libgfortran
29915 install-target-libgfortran: installdirs
29916 @$(unstage)
29917 @r=`${PWD_COMMAND}`; export r; \
29918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29919 $(NORMAL_TARGET_EXPORTS) \
29920 (cd $(TARGET_SUBDIR)/libgfortran && \
29921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29923 @endif target-libgfortran
29925 # Other targets (info, dvi, etc.)
29927 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
29928 maybe-info-target-libgfortran:
29929 @if target-libgfortran
29930 maybe-info-target-libgfortran: info-target-libgfortran
29932 info-target-libgfortran: \
29933 configure-target-libgfortran
29934 @$(unstage)
29935 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29936 r=`${PWD_COMMAND}`; export r; \
29937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29938 $(NORMAL_TARGET_EXPORTS) \
29939 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
29940 for flag in $(EXTRA_TARGET_FLAGS); do \
29941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29942 done; \
29943 (cd $(TARGET_SUBDIR)/libgfortran && \
29944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29946 "RANLIB=$${RANLIB}" \
29947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29948 info) \
29949 || exit 1
29951 @endif target-libgfortran
29953 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
29954 maybe-dvi-target-libgfortran:
29955 @if target-libgfortran
29956 maybe-dvi-target-libgfortran: dvi-target-libgfortran
29958 dvi-target-libgfortran: \
29959 configure-target-libgfortran
29960 @$(unstage)
29961 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29962 r=`${PWD_COMMAND}`; export r; \
29963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29964 $(NORMAL_TARGET_EXPORTS) \
29965 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
29966 for flag in $(EXTRA_TARGET_FLAGS); do \
29967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29968 done; \
29969 (cd $(TARGET_SUBDIR)/libgfortran && \
29970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29972 "RANLIB=$${RANLIB}" \
29973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29974 dvi) \
29975 || exit 1
29977 @endif target-libgfortran
29979 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
29980 maybe-html-target-libgfortran:
29981 @if target-libgfortran
29982 maybe-html-target-libgfortran: html-target-libgfortran
29984 html-target-libgfortran: \
29985 configure-target-libgfortran
29986 @$(unstage)
29987 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29988 r=`${PWD_COMMAND}`; export r; \
29989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29990 $(NORMAL_TARGET_EXPORTS) \
29991 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
29992 for flag in $(EXTRA_TARGET_FLAGS); do \
29993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29994 done; \
29995 (cd $(TARGET_SUBDIR)/libgfortran && \
29996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29998 "RANLIB=$${RANLIB}" \
29999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30000 html) \
30001 || exit 1
30003 @endif target-libgfortran
30005 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30006 maybe-TAGS-target-libgfortran:
30007 @if target-libgfortran
30008 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30010 TAGS-target-libgfortran: \
30011 configure-target-libgfortran
30012 @$(unstage)
30013 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30014 r=`${PWD_COMMAND}`; export r; \
30015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30016 $(NORMAL_TARGET_EXPORTS) \
30017 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30018 for flag in $(EXTRA_TARGET_FLAGS); do \
30019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30020 done; \
30021 (cd $(TARGET_SUBDIR)/libgfortran && \
30022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30024 "RANLIB=$${RANLIB}" \
30025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30026 TAGS) \
30027 || exit 1
30029 @endif target-libgfortran
30031 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30032 maybe-install-info-target-libgfortran:
30033 @if target-libgfortran
30034 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30036 install-info-target-libgfortran: \
30037 configure-target-libgfortran \
30038 info-target-libgfortran
30039 @$(unstage)
30040 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30041 r=`${PWD_COMMAND}`; export r; \
30042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30043 $(NORMAL_TARGET_EXPORTS) \
30044 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30045 for flag in $(EXTRA_TARGET_FLAGS); do \
30046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30047 done; \
30048 (cd $(TARGET_SUBDIR)/libgfortran && \
30049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30051 "RANLIB=$${RANLIB}" \
30052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30053 install-info) \
30054 || exit 1
30056 @endif target-libgfortran
30058 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30059 maybe-installcheck-target-libgfortran:
30060 @if target-libgfortran
30061 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30063 installcheck-target-libgfortran: \
30064 configure-target-libgfortran
30065 @$(unstage)
30066 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30067 r=`${PWD_COMMAND}`; export r; \
30068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30069 $(NORMAL_TARGET_EXPORTS) \
30070 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30071 for flag in $(EXTRA_TARGET_FLAGS); do \
30072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30073 done; \
30074 (cd $(TARGET_SUBDIR)/libgfortran && \
30075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30077 "RANLIB=$${RANLIB}" \
30078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30079 installcheck) \
30080 || exit 1
30082 @endif target-libgfortran
30084 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30085 maybe-mostlyclean-target-libgfortran:
30086 @if target-libgfortran
30087 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30089 mostlyclean-target-libgfortran:
30090 @$(unstage)
30091 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30092 r=`${PWD_COMMAND}`; export r; \
30093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30094 $(NORMAL_TARGET_EXPORTS) \
30095 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30096 for flag in $(EXTRA_TARGET_FLAGS); do \
30097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30098 done; \
30099 (cd $(TARGET_SUBDIR)/libgfortran && \
30100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30102 "RANLIB=$${RANLIB}" \
30103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30104 mostlyclean) \
30105 || exit 1
30107 @endif target-libgfortran
30109 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30110 maybe-clean-target-libgfortran:
30111 @if target-libgfortran
30112 maybe-clean-target-libgfortran: clean-target-libgfortran
30114 clean-target-libgfortran:
30115 @$(unstage)
30116 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30117 r=`${PWD_COMMAND}`; export r; \
30118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30119 $(NORMAL_TARGET_EXPORTS) \
30120 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30121 for flag in $(EXTRA_TARGET_FLAGS); do \
30122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30123 done; \
30124 (cd $(TARGET_SUBDIR)/libgfortran && \
30125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30127 "RANLIB=$${RANLIB}" \
30128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30129 clean) \
30130 || exit 1
30132 @endif target-libgfortran
30134 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30135 maybe-distclean-target-libgfortran:
30136 @if target-libgfortran
30137 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30139 distclean-target-libgfortran:
30140 @$(unstage)
30141 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30142 r=`${PWD_COMMAND}`; export r; \
30143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30144 $(NORMAL_TARGET_EXPORTS) \
30145 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30146 for flag in $(EXTRA_TARGET_FLAGS); do \
30147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30148 done; \
30149 (cd $(TARGET_SUBDIR)/libgfortran && \
30150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30152 "RANLIB=$${RANLIB}" \
30153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30154 distclean) \
30155 || exit 1
30157 @endif target-libgfortran
30159 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30160 maybe-maintainer-clean-target-libgfortran:
30161 @if target-libgfortran
30162 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30164 maintainer-clean-target-libgfortran:
30165 @$(unstage)
30166 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30167 r=`${PWD_COMMAND}`; export r; \
30168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30169 $(NORMAL_TARGET_EXPORTS) \
30170 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30171 for flag in $(EXTRA_TARGET_FLAGS); do \
30172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30173 done; \
30174 (cd $(TARGET_SUBDIR)/libgfortran && \
30175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30177 "RANLIB=$${RANLIB}" \
30178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30179 maintainer-clean) \
30180 || exit 1
30182 @endif target-libgfortran
30186 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30187 @if target-libobjc
30188 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
30189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30190 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
30191 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
30192 @endif target-libobjc
30196 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30197 maybe-configure-target-libobjc:
30198 @if target-libobjc
30199 maybe-configure-target-libobjc: configure-target-libobjc
30200 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
30201 @$(unstage)
30202 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30204 r=`${PWD_COMMAND}`; export r; \
30205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30206 $(NORMAL_TARGET_EXPORTS) \
30207 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30208 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30209 case $(srcdir) in \
30210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30211 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30213 esac; \
30214 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30215 libsrcdir="$$s/libobjc"; \
30216 rm -f no-such-file || : ; \
30217 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30218 $(TARGET_CONFIGARGS) $${srcdiroption} \
30219 || exit 1
30220 @endif target-libobjc
30226 .PHONY: all-target-libobjc maybe-all-target-libobjc
30227 maybe-all-target-libobjc:
30228 @if target-libobjc
30229 TARGET-target-libobjc=all
30230 maybe-all-target-libobjc: all-target-libobjc
30231 all-target-libobjc: configure-target-libobjc
30232 @$(unstage)
30233 @r=`${PWD_COMMAND}`; export r; \
30234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30235 $(NORMAL_TARGET_EXPORTS) \
30236 (cd $(TARGET_SUBDIR)/libobjc && \
30237 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30238 @endif target-libobjc
30244 .PHONY: check-target-libobjc maybe-check-target-libobjc
30245 maybe-check-target-libobjc:
30246 @if target-libobjc
30247 maybe-check-target-libobjc: check-target-libobjc
30249 check-target-libobjc:
30250 @$(unstage)
30251 @r=`${PWD_COMMAND}`; export r; \
30252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30253 $(NORMAL_TARGET_EXPORTS) \
30254 (cd $(TARGET_SUBDIR)/libobjc && \
30255 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30257 @endif target-libobjc
30259 .PHONY: install-target-libobjc maybe-install-target-libobjc
30260 maybe-install-target-libobjc:
30261 @if target-libobjc
30262 maybe-install-target-libobjc: install-target-libobjc
30264 install-target-libobjc: installdirs
30265 @$(unstage)
30266 @r=`${PWD_COMMAND}`; export r; \
30267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30268 $(NORMAL_TARGET_EXPORTS) \
30269 (cd $(TARGET_SUBDIR)/libobjc && \
30270 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30272 @endif target-libobjc
30274 # Other targets (info, dvi, etc.)
30276 .PHONY: maybe-info-target-libobjc info-target-libobjc
30277 maybe-info-target-libobjc:
30278 @if target-libobjc
30279 maybe-info-target-libobjc: info-target-libobjc
30281 info-target-libobjc: \
30282 configure-target-libobjc
30283 @$(unstage)
30284 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30285 r=`${PWD_COMMAND}`; export r; \
30286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30287 $(NORMAL_TARGET_EXPORTS) \
30288 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30289 for flag in $(EXTRA_TARGET_FLAGS); do \
30290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30291 done; \
30292 (cd $(TARGET_SUBDIR)/libobjc && \
30293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30295 "RANLIB=$${RANLIB}" \
30296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30297 info) \
30298 || exit 1
30300 @endif target-libobjc
30302 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30303 maybe-dvi-target-libobjc:
30304 @if target-libobjc
30305 maybe-dvi-target-libobjc: dvi-target-libobjc
30307 dvi-target-libobjc: \
30308 configure-target-libobjc
30309 @$(unstage)
30310 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30311 r=`${PWD_COMMAND}`; export r; \
30312 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30313 $(NORMAL_TARGET_EXPORTS) \
30314 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30315 for flag in $(EXTRA_TARGET_FLAGS); do \
30316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30317 done; \
30318 (cd $(TARGET_SUBDIR)/libobjc && \
30319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30321 "RANLIB=$${RANLIB}" \
30322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30323 dvi) \
30324 || exit 1
30326 @endif target-libobjc
30328 .PHONY: maybe-html-target-libobjc html-target-libobjc
30329 maybe-html-target-libobjc:
30330 @if target-libobjc
30331 maybe-html-target-libobjc: html-target-libobjc
30333 html-target-libobjc: \
30334 configure-target-libobjc
30335 @$(unstage)
30336 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30337 r=`${PWD_COMMAND}`; export r; \
30338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30339 $(NORMAL_TARGET_EXPORTS) \
30340 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30341 for flag in $(EXTRA_TARGET_FLAGS); do \
30342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30343 done; \
30344 (cd $(TARGET_SUBDIR)/libobjc && \
30345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30347 "RANLIB=$${RANLIB}" \
30348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30349 html) \
30350 || exit 1
30352 @endif target-libobjc
30354 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30355 maybe-TAGS-target-libobjc:
30356 @if target-libobjc
30357 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30359 TAGS-target-libobjc: \
30360 configure-target-libobjc
30361 @$(unstage)
30362 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(NORMAL_TARGET_EXPORTS) \
30366 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30367 for flag in $(EXTRA_TARGET_FLAGS); do \
30368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30369 done; \
30370 (cd $(TARGET_SUBDIR)/libobjc && \
30371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30373 "RANLIB=$${RANLIB}" \
30374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30375 TAGS) \
30376 || exit 1
30378 @endif target-libobjc
30380 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30381 maybe-install-info-target-libobjc:
30382 @if target-libobjc
30383 maybe-install-info-target-libobjc: install-info-target-libobjc
30385 install-info-target-libobjc: \
30386 configure-target-libobjc \
30387 info-target-libobjc
30388 @$(unstage)
30389 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30390 r=`${PWD_COMMAND}`; export r; \
30391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30392 $(NORMAL_TARGET_EXPORTS) \
30393 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30394 for flag in $(EXTRA_TARGET_FLAGS); do \
30395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30396 done; \
30397 (cd $(TARGET_SUBDIR)/libobjc && \
30398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30400 "RANLIB=$${RANLIB}" \
30401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30402 install-info) \
30403 || exit 1
30405 @endif target-libobjc
30407 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30408 maybe-installcheck-target-libobjc:
30409 @if target-libobjc
30410 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30412 installcheck-target-libobjc: \
30413 configure-target-libobjc
30414 @$(unstage)
30415 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30416 r=`${PWD_COMMAND}`; export r; \
30417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30418 $(NORMAL_TARGET_EXPORTS) \
30419 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30420 for flag in $(EXTRA_TARGET_FLAGS); do \
30421 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30422 done; \
30423 (cd $(TARGET_SUBDIR)/libobjc && \
30424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30426 "RANLIB=$${RANLIB}" \
30427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30428 installcheck) \
30429 || exit 1
30431 @endif target-libobjc
30433 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30434 maybe-mostlyclean-target-libobjc:
30435 @if target-libobjc
30436 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30438 mostlyclean-target-libobjc:
30439 @$(unstage)
30440 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30441 r=`${PWD_COMMAND}`; export r; \
30442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30443 $(NORMAL_TARGET_EXPORTS) \
30444 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30445 for flag in $(EXTRA_TARGET_FLAGS); do \
30446 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30447 done; \
30448 (cd $(TARGET_SUBDIR)/libobjc && \
30449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30451 "RANLIB=$${RANLIB}" \
30452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30453 mostlyclean) \
30454 || exit 1
30456 @endif target-libobjc
30458 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30459 maybe-clean-target-libobjc:
30460 @if target-libobjc
30461 maybe-clean-target-libobjc: clean-target-libobjc
30463 clean-target-libobjc:
30464 @$(unstage)
30465 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30466 r=`${PWD_COMMAND}`; export r; \
30467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30468 $(NORMAL_TARGET_EXPORTS) \
30469 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30470 for flag in $(EXTRA_TARGET_FLAGS); do \
30471 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30472 done; \
30473 (cd $(TARGET_SUBDIR)/libobjc && \
30474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30476 "RANLIB=$${RANLIB}" \
30477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30478 clean) \
30479 || exit 1
30481 @endif target-libobjc
30483 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30484 maybe-distclean-target-libobjc:
30485 @if target-libobjc
30486 maybe-distclean-target-libobjc: distclean-target-libobjc
30488 distclean-target-libobjc:
30489 @$(unstage)
30490 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30491 r=`${PWD_COMMAND}`; export r; \
30492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30493 $(NORMAL_TARGET_EXPORTS) \
30494 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30495 for flag in $(EXTRA_TARGET_FLAGS); do \
30496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30497 done; \
30498 (cd $(TARGET_SUBDIR)/libobjc && \
30499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30501 "RANLIB=$${RANLIB}" \
30502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30503 distclean) \
30504 || exit 1
30506 @endif target-libobjc
30508 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30509 maybe-maintainer-clean-target-libobjc:
30510 @if target-libobjc
30511 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30513 maintainer-clean-target-libobjc:
30514 @$(unstage)
30515 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30516 r=`${PWD_COMMAND}`; export r; \
30517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30518 $(NORMAL_TARGET_EXPORTS) \
30519 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30520 for flag in $(EXTRA_TARGET_FLAGS); do \
30521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30522 done; \
30523 (cd $(TARGET_SUBDIR)/libobjc && \
30524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30526 "RANLIB=$${RANLIB}" \
30527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30528 maintainer-clean) \
30529 || exit 1
30531 @endif target-libobjc
30535 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30536 @if target-libtermcap
30537 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
30538 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30539 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
30540 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
30541 @endif target-libtermcap
30545 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
30546 maybe-configure-target-libtermcap:
30547 @if target-libtermcap
30548 maybe-configure-target-libtermcap: configure-target-libtermcap
30549 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
30550 @$(unstage)
30551 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
30552 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30553 r=`${PWD_COMMAND}`; export r; \
30554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30555 $(NORMAL_TARGET_EXPORTS) \
30556 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
30557 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
30558 case $(srcdir) in \
30559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30560 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
30561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30562 esac; \
30563 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30564 libsrcdir="$$s/libtermcap"; \
30565 rm -f no-such-file || : ; \
30566 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30567 $(TARGET_CONFIGARGS) $${srcdiroption} \
30568 || exit 1
30569 @endif target-libtermcap
30575 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
30576 maybe-all-target-libtermcap:
30577 @if target-libtermcap
30578 TARGET-target-libtermcap=all
30579 maybe-all-target-libtermcap: all-target-libtermcap
30580 all-target-libtermcap: configure-target-libtermcap
30581 @$(unstage)
30582 @r=`${PWD_COMMAND}`; export r; \
30583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30584 $(NORMAL_TARGET_EXPORTS) \
30585 (cd $(TARGET_SUBDIR)/libtermcap && \
30586 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
30587 @endif target-libtermcap
30593 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
30594 maybe-check-target-libtermcap:
30595 @if target-libtermcap
30596 maybe-check-target-libtermcap: check-target-libtermcap
30598 # Dummy target for uncheckable module.
30599 check-target-libtermcap:
30601 @endif target-libtermcap
30603 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
30604 maybe-install-target-libtermcap:
30605 @if target-libtermcap
30606 maybe-install-target-libtermcap: install-target-libtermcap
30608 install-target-libtermcap: installdirs
30609 @$(unstage)
30610 @r=`${PWD_COMMAND}`; export r; \
30611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30612 $(NORMAL_TARGET_EXPORTS) \
30613 (cd $(TARGET_SUBDIR)/libtermcap && \
30614 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30616 @endif target-libtermcap
30618 # Other targets (info, dvi, etc.)
30620 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
30621 maybe-info-target-libtermcap:
30622 @if target-libtermcap
30623 maybe-info-target-libtermcap: info-target-libtermcap
30625 info-target-libtermcap: \
30626 configure-target-libtermcap
30627 @$(unstage)
30628 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30629 r=`${PWD_COMMAND}`; export r; \
30630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30631 $(NORMAL_TARGET_EXPORTS) \
30632 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
30633 for flag in $(EXTRA_TARGET_FLAGS); do \
30634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30635 done; \
30636 (cd $(TARGET_SUBDIR)/libtermcap && \
30637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30639 "RANLIB=$${RANLIB}" \
30640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30641 info) \
30642 || exit 1
30644 @endif target-libtermcap
30646 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
30647 maybe-dvi-target-libtermcap:
30648 @if target-libtermcap
30649 maybe-dvi-target-libtermcap: dvi-target-libtermcap
30651 dvi-target-libtermcap: \
30652 configure-target-libtermcap
30653 @$(unstage)
30654 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30655 r=`${PWD_COMMAND}`; export r; \
30656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30657 $(NORMAL_TARGET_EXPORTS) \
30658 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
30659 for flag in $(EXTRA_TARGET_FLAGS); do \
30660 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30661 done; \
30662 (cd $(TARGET_SUBDIR)/libtermcap && \
30663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30665 "RANLIB=$${RANLIB}" \
30666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30667 dvi) \
30668 || exit 1
30670 @endif target-libtermcap
30672 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
30673 maybe-html-target-libtermcap:
30674 @if target-libtermcap
30675 maybe-html-target-libtermcap: html-target-libtermcap
30677 html-target-libtermcap: \
30678 configure-target-libtermcap
30679 @$(unstage)
30680 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30681 r=`${PWD_COMMAND}`; export r; \
30682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30683 $(NORMAL_TARGET_EXPORTS) \
30684 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
30685 for flag in $(EXTRA_TARGET_FLAGS); do \
30686 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30687 done; \
30688 (cd $(TARGET_SUBDIR)/libtermcap && \
30689 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30690 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30691 "RANLIB=$${RANLIB}" \
30692 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30693 html) \
30694 || exit 1
30696 @endif target-libtermcap
30698 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
30699 maybe-TAGS-target-libtermcap:
30700 @if target-libtermcap
30701 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
30703 TAGS-target-libtermcap: \
30704 configure-target-libtermcap
30705 @$(unstage)
30706 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30707 r=`${PWD_COMMAND}`; export r; \
30708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30709 $(NORMAL_TARGET_EXPORTS) \
30710 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
30711 for flag in $(EXTRA_TARGET_FLAGS); do \
30712 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30713 done; \
30714 (cd $(TARGET_SUBDIR)/libtermcap && \
30715 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30716 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30717 "RANLIB=$${RANLIB}" \
30718 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30719 TAGS) \
30720 || exit 1
30722 @endif target-libtermcap
30724 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
30725 maybe-install-info-target-libtermcap:
30726 @if target-libtermcap
30727 maybe-install-info-target-libtermcap: install-info-target-libtermcap
30729 install-info-target-libtermcap: \
30730 configure-target-libtermcap \
30731 info-target-libtermcap
30732 @$(unstage)
30733 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30734 r=`${PWD_COMMAND}`; export r; \
30735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30736 $(NORMAL_TARGET_EXPORTS) \
30737 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
30738 for flag in $(EXTRA_TARGET_FLAGS); do \
30739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30740 done; \
30741 (cd $(TARGET_SUBDIR)/libtermcap && \
30742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30744 "RANLIB=$${RANLIB}" \
30745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30746 install-info) \
30747 || exit 1
30749 @endif target-libtermcap
30751 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
30752 maybe-installcheck-target-libtermcap:
30753 @if target-libtermcap
30754 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
30756 installcheck-target-libtermcap: \
30757 configure-target-libtermcap
30758 @$(unstage)
30759 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30760 r=`${PWD_COMMAND}`; export r; \
30761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30762 $(NORMAL_TARGET_EXPORTS) \
30763 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
30764 for flag in $(EXTRA_TARGET_FLAGS); do \
30765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30766 done; \
30767 (cd $(TARGET_SUBDIR)/libtermcap && \
30768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30770 "RANLIB=$${RANLIB}" \
30771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30772 installcheck) \
30773 || exit 1
30775 @endif target-libtermcap
30777 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
30778 maybe-mostlyclean-target-libtermcap:
30779 @if target-libtermcap
30780 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
30782 # libtermcap doesn't support mostlyclean.
30783 mostlyclean-target-libtermcap:
30785 @endif target-libtermcap
30787 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
30788 maybe-clean-target-libtermcap:
30789 @if target-libtermcap
30790 maybe-clean-target-libtermcap: clean-target-libtermcap
30792 # libtermcap doesn't support clean.
30793 clean-target-libtermcap:
30795 @endif target-libtermcap
30797 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
30798 maybe-distclean-target-libtermcap:
30799 @if target-libtermcap
30800 maybe-distclean-target-libtermcap: distclean-target-libtermcap
30802 # libtermcap doesn't support distclean.
30803 distclean-target-libtermcap:
30805 @endif target-libtermcap
30807 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
30808 maybe-maintainer-clean-target-libtermcap:
30809 @if target-libtermcap
30810 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
30812 # libtermcap doesn't support maintainer-clean.
30813 maintainer-clean-target-libtermcap:
30815 @endif target-libtermcap
30819 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30820 @if target-winsup
30821 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
30822 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30823 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
30824 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
30825 @endif target-winsup
30829 .PHONY: configure-target-winsup maybe-configure-target-winsup
30830 maybe-configure-target-winsup:
30831 @if target-winsup
30832 maybe-configure-target-winsup: configure-target-winsup
30833 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
30834 @$(unstage)
30835 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
30836 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30837 r=`${PWD_COMMAND}`; export r; \
30838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30839 $(NORMAL_TARGET_EXPORTS) \
30840 echo Configuring in $(TARGET_SUBDIR)/winsup; \
30841 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
30842 case $(srcdir) in \
30843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30844 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
30845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30846 esac; \
30847 srcdiroption="--srcdir=$${topdir}/winsup"; \
30848 libsrcdir="$$s/winsup"; \
30849 rm -f no-such-file || : ; \
30850 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30851 $(TARGET_CONFIGARGS) $${srcdiroption} \
30852 || exit 1
30853 @endif target-winsup
30859 .PHONY: all-target-winsup maybe-all-target-winsup
30860 maybe-all-target-winsup:
30861 @if target-winsup
30862 TARGET-target-winsup=all
30863 maybe-all-target-winsup: all-target-winsup
30864 all-target-winsup: configure-target-winsup
30865 @$(unstage)
30866 @r=`${PWD_COMMAND}`; export r; \
30867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30868 $(NORMAL_TARGET_EXPORTS) \
30869 (cd $(TARGET_SUBDIR)/winsup && \
30870 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
30871 @endif target-winsup
30877 .PHONY: check-target-winsup maybe-check-target-winsup
30878 maybe-check-target-winsup:
30879 @if target-winsup
30880 maybe-check-target-winsup: check-target-winsup
30882 check-target-winsup:
30883 @$(unstage)
30884 @r=`${PWD_COMMAND}`; export r; \
30885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30886 $(NORMAL_TARGET_EXPORTS) \
30887 (cd $(TARGET_SUBDIR)/winsup && \
30888 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30890 @endif target-winsup
30892 .PHONY: install-target-winsup maybe-install-target-winsup
30893 maybe-install-target-winsup:
30894 @if target-winsup
30895 maybe-install-target-winsup: install-target-winsup
30897 install-target-winsup: installdirs
30898 @$(unstage)
30899 @r=`${PWD_COMMAND}`; export r; \
30900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30901 $(NORMAL_TARGET_EXPORTS) \
30902 (cd $(TARGET_SUBDIR)/winsup && \
30903 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30905 @endif target-winsup
30907 # Other targets (info, dvi, etc.)
30909 .PHONY: maybe-info-target-winsup info-target-winsup
30910 maybe-info-target-winsup:
30911 @if target-winsup
30912 maybe-info-target-winsup: info-target-winsup
30914 info-target-winsup: \
30915 configure-target-winsup
30916 @$(unstage)
30917 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30918 r=`${PWD_COMMAND}`; export r; \
30919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30920 $(NORMAL_TARGET_EXPORTS) \
30921 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
30922 for flag in $(EXTRA_TARGET_FLAGS); do \
30923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30924 done; \
30925 (cd $(TARGET_SUBDIR)/winsup && \
30926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30928 "RANLIB=$${RANLIB}" \
30929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30930 info) \
30931 || exit 1
30933 @endif target-winsup
30935 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
30936 maybe-dvi-target-winsup:
30937 @if target-winsup
30938 maybe-dvi-target-winsup: dvi-target-winsup
30940 dvi-target-winsup: \
30941 configure-target-winsup
30942 @$(unstage)
30943 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30944 r=`${PWD_COMMAND}`; export r; \
30945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30946 $(NORMAL_TARGET_EXPORTS) \
30947 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
30948 for flag in $(EXTRA_TARGET_FLAGS); do \
30949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30950 done; \
30951 (cd $(TARGET_SUBDIR)/winsup && \
30952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30954 "RANLIB=$${RANLIB}" \
30955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30956 dvi) \
30957 || exit 1
30959 @endif target-winsup
30961 .PHONY: maybe-html-target-winsup html-target-winsup
30962 maybe-html-target-winsup:
30963 @if target-winsup
30964 maybe-html-target-winsup: html-target-winsup
30966 html-target-winsup: \
30967 configure-target-winsup
30968 @$(unstage)
30969 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30970 r=`${PWD_COMMAND}`; export r; \
30971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30972 $(NORMAL_TARGET_EXPORTS) \
30973 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
30974 for flag in $(EXTRA_TARGET_FLAGS); do \
30975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30976 done; \
30977 (cd $(TARGET_SUBDIR)/winsup && \
30978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30980 "RANLIB=$${RANLIB}" \
30981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30982 html) \
30983 || exit 1
30985 @endif target-winsup
30987 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
30988 maybe-TAGS-target-winsup:
30989 @if target-winsup
30990 maybe-TAGS-target-winsup: TAGS-target-winsup
30992 TAGS-target-winsup: \
30993 configure-target-winsup
30994 @$(unstage)
30995 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30996 r=`${PWD_COMMAND}`; export r; \
30997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30998 $(NORMAL_TARGET_EXPORTS) \
30999 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31000 for flag in $(EXTRA_TARGET_FLAGS); do \
31001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31002 done; \
31003 (cd $(TARGET_SUBDIR)/winsup && \
31004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31006 "RANLIB=$${RANLIB}" \
31007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31008 TAGS) \
31009 || exit 1
31011 @endif target-winsup
31013 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31014 maybe-install-info-target-winsup:
31015 @if target-winsup
31016 maybe-install-info-target-winsup: install-info-target-winsup
31018 install-info-target-winsup: \
31019 configure-target-winsup \
31020 info-target-winsup
31021 @$(unstage)
31022 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31023 r=`${PWD_COMMAND}`; export r; \
31024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31025 $(NORMAL_TARGET_EXPORTS) \
31026 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31027 for flag in $(EXTRA_TARGET_FLAGS); do \
31028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31029 done; \
31030 (cd $(TARGET_SUBDIR)/winsup && \
31031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31033 "RANLIB=$${RANLIB}" \
31034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31035 install-info) \
31036 || exit 1
31038 @endif target-winsup
31040 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31041 maybe-installcheck-target-winsup:
31042 @if target-winsup
31043 maybe-installcheck-target-winsup: installcheck-target-winsup
31045 installcheck-target-winsup: \
31046 configure-target-winsup
31047 @$(unstage)
31048 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31049 r=`${PWD_COMMAND}`; export r; \
31050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31051 $(NORMAL_TARGET_EXPORTS) \
31052 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31053 for flag in $(EXTRA_TARGET_FLAGS); do \
31054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31055 done; \
31056 (cd $(TARGET_SUBDIR)/winsup && \
31057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31059 "RANLIB=$${RANLIB}" \
31060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31061 installcheck) \
31062 || exit 1
31064 @endif target-winsup
31066 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31067 maybe-mostlyclean-target-winsup:
31068 @if target-winsup
31069 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31071 mostlyclean-target-winsup:
31072 @$(unstage)
31073 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31074 r=`${PWD_COMMAND}`; export r; \
31075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31076 $(NORMAL_TARGET_EXPORTS) \
31077 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31078 for flag in $(EXTRA_TARGET_FLAGS); do \
31079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31080 done; \
31081 (cd $(TARGET_SUBDIR)/winsup && \
31082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31084 "RANLIB=$${RANLIB}" \
31085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31086 mostlyclean) \
31087 || exit 1
31089 @endif target-winsup
31091 .PHONY: maybe-clean-target-winsup clean-target-winsup
31092 maybe-clean-target-winsup:
31093 @if target-winsup
31094 maybe-clean-target-winsup: clean-target-winsup
31096 clean-target-winsup:
31097 @$(unstage)
31098 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31099 r=`${PWD_COMMAND}`; export r; \
31100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31101 $(NORMAL_TARGET_EXPORTS) \
31102 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31103 for flag in $(EXTRA_TARGET_FLAGS); do \
31104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31105 done; \
31106 (cd $(TARGET_SUBDIR)/winsup && \
31107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31109 "RANLIB=$${RANLIB}" \
31110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31111 clean) \
31112 || exit 1
31114 @endif target-winsup
31116 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31117 maybe-distclean-target-winsup:
31118 @if target-winsup
31119 maybe-distclean-target-winsup: distclean-target-winsup
31121 distclean-target-winsup:
31122 @$(unstage)
31123 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31124 r=`${PWD_COMMAND}`; export r; \
31125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31126 $(NORMAL_TARGET_EXPORTS) \
31127 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31128 for flag in $(EXTRA_TARGET_FLAGS); do \
31129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31130 done; \
31131 (cd $(TARGET_SUBDIR)/winsup && \
31132 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31133 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31134 "RANLIB=$${RANLIB}" \
31135 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31136 distclean) \
31137 || exit 1
31139 @endif target-winsup
31141 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31142 maybe-maintainer-clean-target-winsup:
31143 @if target-winsup
31144 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31146 maintainer-clean-target-winsup:
31147 @$(unstage)
31148 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31149 r=`${PWD_COMMAND}`; export r; \
31150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31151 $(NORMAL_TARGET_EXPORTS) \
31152 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31153 for flag in $(EXTRA_TARGET_FLAGS); do \
31154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31155 done; \
31156 (cd $(TARGET_SUBDIR)/winsup && \
31157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31159 "RANLIB=$${RANLIB}" \
31160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31161 maintainer-clean) \
31162 || exit 1
31164 @endif target-winsup
31168 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31169 @if target-libgloss
31170 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
31171 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31172 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
31173 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
31174 @endif target-libgloss
31178 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31179 maybe-configure-target-libgloss:
31180 @if target-libgloss
31181 maybe-configure-target-libgloss: configure-target-libgloss
31182 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
31183 @$(unstage)
31184 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31185 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31186 r=`${PWD_COMMAND}`; export r; \
31187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31188 $(NORMAL_TARGET_EXPORTS) \
31189 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31190 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31191 case $(srcdir) in \
31192 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31193 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31194 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31195 esac; \
31196 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31197 libsrcdir="$$s/libgloss"; \
31198 rm -f no-such-file || : ; \
31199 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31200 $(TARGET_CONFIGARGS) $${srcdiroption} \
31201 || exit 1
31202 @endif target-libgloss
31208 .PHONY: all-target-libgloss maybe-all-target-libgloss
31209 maybe-all-target-libgloss:
31210 @if target-libgloss
31211 TARGET-target-libgloss=all
31212 maybe-all-target-libgloss: all-target-libgloss
31213 all-target-libgloss: configure-target-libgloss
31214 @$(unstage)
31215 @r=`${PWD_COMMAND}`; export r; \
31216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31217 $(NORMAL_TARGET_EXPORTS) \
31218 (cd $(TARGET_SUBDIR)/libgloss && \
31219 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31220 @endif target-libgloss
31226 .PHONY: check-target-libgloss maybe-check-target-libgloss
31227 maybe-check-target-libgloss:
31228 @if target-libgloss
31229 maybe-check-target-libgloss: check-target-libgloss
31231 # Dummy target for uncheckable module.
31232 check-target-libgloss:
31234 @endif target-libgloss
31236 .PHONY: install-target-libgloss maybe-install-target-libgloss
31237 maybe-install-target-libgloss:
31238 @if target-libgloss
31239 maybe-install-target-libgloss: install-target-libgloss
31241 install-target-libgloss: installdirs
31242 @$(unstage)
31243 @r=`${PWD_COMMAND}`; export r; \
31244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31245 $(NORMAL_TARGET_EXPORTS) \
31246 (cd $(TARGET_SUBDIR)/libgloss && \
31247 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31249 @endif target-libgloss
31251 # Other targets (info, dvi, etc.)
31253 .PHONY: maybe-info-target-libgloss info-target-libgloss
31254 maybe-info-target-libgloss:
31255 @if target-libgloss
31256 maybe-info-target-libgloss: info-target-libgloss
31258 info-target-libgloss: \
31259 configure-target-libgloss
31260 @$(unstage)
31261 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31262 r=`${PWD_COMMAND}`; export r; \
31263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31264 $(NORMAL_TARGET_EXPORTS) \
31265 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31266 for flag in $(EXTRA_TARGET_FLAGS); do \
31267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31268 done; \
31269 (cd $(TARGET_SUBDIR)/libgloss && \
31270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31272 "RANLIB=$${RANLIB}" \
31273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31274 info) \
31275 || exit 1
31277 @endif target-libgloss
31279 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31280 maybe-dvi-target-libgloss:
31281 @if target-libgloss
31282 maybe-dvi-target-libgloss: dvi-target-libgloss
31284 dvi-target-libgloss: \
31285 configure-target-libgloss
31286 @$(unstage)
31287 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31288 r=`${PWD_COMMAND}`; export r; \
31289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31290 $(NORMAL_TARGET_EXPORTS) \
31291 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31292 for flag in $(EXTRA_TARGET_FLAGS); do \
31293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31294 done; \
31295 (cd $(TARGET_SUBDIR)/libgloss && \
31296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31298 "RANLIB=$${RANLIB}" \
31299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31300 dvi) \
31301 || exit 1
31303 @endif target-libgloss
31305 .PHONY: maybe-html-target-libgloss html-target-libgloss
31306 maybe-html-target-libgloss:
31307 @if target-libgloss
31308 maybe-html-target-libgloss: html-target-libgloss
31310 html-target-libgloss: \
31311 configure-target-libgloss
31312 @$(unstage)
31313 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31314 r=`${PWD_COMMAND}`; export r; \
31315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31316 $(NORMAL_TARGET_EXPORTS) \
31317 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31318 for flag in $(EXTRA_TARGET_FLAGS); do \
31319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31320 done; \
31321 (cd $(TARGET_SUBDIR)/libgloss && \
31322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31324 "RANLIB=$${RANLIB}" \
31325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31326 html) \
31327 || exit 1
31329 @endif target-libgloss
31331 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31332 maybe-TAGS-target-libgloss:
31333 @if target-libgloss
31334 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31336 TAGS-target-libgloss: \
31337 configure-target-libgloss
31338 @$(unstage)
31339 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31340 r=`${PWD_COMMAND}`; export r; \
31341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31342 $(NORMAL_TARGET_EXPORTS) \
31343 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31344 for flag in $(EXTRA_TARGET_FLAGS); do \
31345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31346 done; \
31347 (cd $(TARGET_SUBDIR)/libgloss && \
31348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31350 "RANLIB=$${RANLIB}" \
31351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31352 TAGS) \
31353 || exit 1
31355 @endif target-libgloss
31357 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31358 maybe-install-info-target-libgloss:
31359 @if target-libgloss
31360 maybe-install-info-target-libgloss: install-info-target-libgloss
31362 install-info-target-libgloss: \
31363 configure-target-libgloss \
31364 info-target-libgloss
31365 @$(unstage)
31366 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31367 r=`${PWD_COMMAND}`; export r; \
31368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31369 $(NORMAL_TARGET_EXPORTS) \
31370 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31371 for flag in $(EXTRA_TARGET_FLAGS); do \
31372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31373 done; \
31374 (cd $(TARGET_SUBDIR)/libgloss && \
31375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31377 "RANLIB=$${RANLIB}" \
31378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31379 install-info) \
31380 || exit 1
31382 @endif target-libgloss
31384 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31385 maybe-installcheck-target-libgloss:
31386 @if target-libgloss
31387 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31389 installcheck-target-libgloss: \
31390 configure-target-libgloss
31391 @$(unstage)
31392 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31393 r=`${PWD_COMMAND}`; export r; \
31394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31395 $(NORMAL_TARGET_EXPORTS) \
31396 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31397 for flag in $(EXTRA_TARGET_FLAGS); do \
31398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31399 done; \
31400 (cd $(TARGET_SUBDIR)/libgloss && \
31401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31403 "RANLIB=$${RANLIB}" \
31404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31405 installcheck) \
31406 || exit 1
31408 @endif target-libgloss
31410 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31411 maybe-mostlyclean-target-libgloss:
31412 @if target-libgloss
31413 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31415 mostlyclean-target-libgloss:
31416 @$(unstage)
31417 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31418 r=`${PWD_COMMAND}`; export r; \
31419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31420 $(NORMAL_TARGET_EXPORTS) \
31421 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31422 for flag in $(EXTRA_TARGET_FLAGS); do \
31423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31424 done; \
31425 (cd $(TARGET_SUBDIR)/libgloss && \
31426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31428 "RANLIB=$${RANLIB}" \
31429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31430 mostlyclean) \
31431 || exit 1
31433 @endif target-libgloss
31435 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31436 maybe-clean-target-libgloss:
31437 @if target-libgloss
31438 maybe-clean-target-libgloss: clean-target-libgloss
31440 clean-target-libgloss:
31441 @$(unstage)
31442 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31443 r=`${PWD_COMMAND}`; export r; \
31444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31445 $(NORMAL_TARGET_EXPORTS) \
31446 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31447 for flag in $(EXTRA_TARGET_FLAGS); do \
31448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31449 done; \
31450 (cd $(TARGET_SUBDIR)/libgloss && \
31451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31453 "RANLIB=$${RANLIB}" \
31454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31455 clean) \
31456 || exit 1
31458 @endif target-libgloss
31460 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31461 maybe-distclean-target-libgloss:
31462 @if target-libgloss
31463 maybe-distclean-target-libgloss: distclean-target-libgloss
31465 distclean-target-libgloss:
31466 @$(unstage)
31467 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31468 r=`${PWD_COMMAND}`; export r; \
31469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31470 $(NORMAL_TARGET_EXPORTS) \
31471 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31472 for flag in $(EXTRA_TARGET_FLAGS); do \
31473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31474 done; \
31475 (cd $(TARGET_SUBDIR)/libgloss && \
31476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31478 "RANLIB=$${RANLIB}" \
31479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31480 distclean) \
31481 || exit 1
31483 @endif target-libgloss
31485 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31486 maybe-maintainer-clean-target-libgloss:
31487 @if target-libgloss
31488 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31490 maintainer-clean-target-libgloss:
31491 @$(unstage)
31492 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31493 r=`${PWD_COMMAND}`; export r; \
31494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31495 $(NORMAL_TARGET_EXPORTS) \
31496 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31497 for flag in $(EXTRA_TARGET_FLAGS); do \
31498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31499 done; \
31500 (cd $(TARGET_SUBDIR)/libgloss && \
31501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31503 "RANLIB=$${RANLIB}" \
31504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31505 maintainer-clean) \
31506 || exit 1
31508 @endif target-libgloss
31512 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31513 @if target-libiberty
31514 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
31515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31516 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
31517 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
31518 @endif target-libiberty
31522 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
31523 maybe-configure-target-libiberty:
31524 @if target-libiberty
31525 maybe-configure-target-libiberty: configure-target-libiberty
31526 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
31527 @$(unstage)
31528 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
31529 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31530 r=`${PWD_COMMAND}`; export r; \
31531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31532 $(NORMAL_TARGET_EXPORTS) \
31533 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
31534 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
31535 case $(srcdir) in \
31536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31537 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
31538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31539 esac; \
31540 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31541 libsrcdir="$$s/libiberty"; \
31542 rm -f no-such-file || : ; \
31543 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31544 $(TARGET_CONFIGARGS) $${srcdiroption} \
31545 || exit 1
31546 @endif target-libiberty
31552 .PHONY: all-target-libiberty maybe-all-target-libiberty
31553 maybe-all-target-libiberty:
31554 @if target-libiberty
31555 TARGET-target-libiberty=all
31556 maybe-all-target-libiberty: all-target-libiberty
31557 all-target-libiberty: configure-target-libiberty
31558 @$(unstage)
31559 @r=`${PWD_COMMAND}`; export r; \
31560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31561 $(NORMAL_TARGET_EXPORTS) \
31562 (cd $(TARGET_SUBDIR)/libiberty && \
31563 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
31564 @endif target-libiberty
31570 .PHONY: check-target-libiberty maybe-check-target-libiberty
31571 maybe-check-target-libiberty:
31572 @if target-libiberty
31573 maybe-check-target-libiberty: check-target-libiberty
31575 check-target-libiberty:
31576 @$(unstage)
31577 @r=`${PWD_COMMAND}`; export r; \
31578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31579 $(NORMAL_TARGET_EXPORTS) \
31580 (cd $(TARGET_SUBDIR)/libiberty && \
31581 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31583 @endif target-libiberty
31585 .PHONY: install-target-libiberty maybe-install-target-libiberty
31586 maybe-install-target-libiberty:
31587 @if target-libiberty
31588 maybe-install-target-libiberty: install-target-libiberty
31590 install-target-libiberty: installdirs
31591 @$(unstage)
31592 @r=`${PWD_COMMAND}`; export r; \
31593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31594 $(NORMAL_TARGET_EXPORTS) \
31595 (cd $(TARGET_SUBDIR)/libiberty && \
31596 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31598 @endif target-libiberty
31600 # Other targets (info, dvi, etc.)
31602 .PHONY: maybe-info-target-libiberty info-target-libiberty
31603 maybe-info-target-libiberty:
31604 @if target-libiberty
31605 maybe-info-target-libiberty: info-target-libiberty
31607 info-target-libiberty: \
31608 configure-target-libiberty
31609 @$(unstage)
31610 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31611 r=`${PWD_COMMAND}`; export r; \
31612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31613 $(NORMAL_TARGET_EXPORTS) \
31614 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
31615 for flag in $(EXTRA_TARGET_FLAGS); do \
31616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31617 done; \
31618 (cd $(TARGET_SUBDIR)/libiberty && \
31619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31621 "RANLIB=$${RANLIB}" \
31622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31623 info) \
31624 || exit 1
31626 @endif target-libiberty
31628 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
31629 maybe-dvi-target-libiberty:
31630 @if target-libiberty
31631 maybe-dvi-target-libiberty: dvi-target-libiberty
31633 dvi-target-libiberty: \
31634 configure-target-libiberty
31635 @$(unstage)
31636 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31637 r=`${PWD_COMMAND}`; export r; \
31638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31639 $(NORMAL_TARGET_EXPORTS) \
31640 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
31641 for flag in $(EXTRA_TARGET_FLAGS); do \
31642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31643 done; \
31644 (cd $(TARGET_SUBDIR)/libiberty && \
31645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31647 "RANLIB=$${RANLIB}" \
31648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31649 dvi) \
31650 || exit 1
31652 @endif target-libiberty
31654 .PHONY: maybe-html-target-libiberty html-target-libiberty
31655 maybe-html-target-libiberty:
31656 @if target-libiberty
31657 maybe-html-target-libiberty: html-target-libiberty
31659 html-target-libiberty: \
31660 configure-target-libiberty
31661 @$(unstage)
31662 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31663 r=`${PWD_COMMAND}`; export r; \
31664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31665 $(NORMAL_TARGET_EXPORTS) \
31666 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
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)/libiberty && \
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 html) \
31676 || exit 1
31678 @endif target-libiberty
31680 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
31681 maybe-TAGS-target-libiberty:
31682 @if target-libiberty
31683 maybe-TAGS-target-libiberty: TAGS-target-libiberty
31685 TAGS-target-libiberty: \
31686 configure-target-libiberty
31687 @$(unstage)
31688 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31689 r=`${PWD_COMMAND}`; export r; \
31690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31691 $(NORMAL_TARGET_EXPORTS) \
31692 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
31693 for flag in $(EXTRA_TARGET_FLAGS); do \
31694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31695 done; \
31696 (cd $(TARGET_SUBDIR)/libiberty && \
31697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31699 "RANLIB=$${RANLIB}" \
31700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31701 TAGS) \
31702 || exit 1
31704 @endif target-libiberty
31706 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
31707 maybe-install-info-target-libiberty:
31708 @if target-libiberty
31709 maybe-install-info-target-libiberty: install-info-target-libiberty
31711 install-info-target-libiberty: \
31712 configure-target-libiberty \
31713 info-target-libiberty
31714 @$(unstage)
31715 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31716 r=`${PWD_COMMAND}`; export r; \
31717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31718 $(NORMAL_TARGET_EXPORTS) \
31719 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
31720 for flag in $(EXTRA_TARGET_FLAGS); do \
31721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31722 done; \
31723 (cd $(TARGET_SUBDIR)/libiberty && \
31724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31726 "RANLIB=$${RANLIB}" \
31727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31728 install-info) \
31729 || exit 1
31731 @endif target-libiberty
31733 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
31734 maybe-installcheck-target-libiberty:
31735 @if target-libiberty
31736 maybe-installcheck-target-libiberty: installcheck-target-libiberty
31738 installcheck-target-libiberty: \
31739 configure-target-libiberty
31740 @$(unstage)
31741 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31742 r=`${PWD_COMMAND}`; export r; \
31743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31744 $(NORMAL_TARGET_EXPORTS) \
31745 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
31746 for flag in $(EXTRA_TARGET_FLAGS); do \
31747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31748 done; \
31749 (cd $(TARGET_SUBDIR)/libiberty && \
31750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31752 "RANLIB=$${RANLIB}" \
31753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31754 installcheck) \
31755 || exit 1
31757 @endif target-libiberty
31759 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
31760 maybe-mostlyclean-target-libiberty:
31761 @if target-libiberty
31762 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
31764 mostlyclean-target-libiberty:
31765 @$(unstage)
31766 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31767 r=`${PWD_COMMAND}`; export r; \
31768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31769 $(NORMAL_TARGET_EXPORTS) \
31770 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
31771 for flag in $(EXTRA_TARGET_FLAGS); do \
31772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31773 done; \
31774 (cd $(TARGET_SUBDIR)/libiberty && \
31775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31777 "RANLIB=$${RANLIB}" \
31778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31779 mostlyclean) \
31780 || exit 1
31782 @endif target-libiberty
31784 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
31785 maybe-clean-target-libiberty:
31786 @if target-libiberty
31787 maybe-clean-target-libiberty: clean-target-libiberty
31789 clean-target-libiberty:
31790 @$(unstage)
31791 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31792 r=`${PWD_COMMAND}`; export r; \
31793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31794 $(NORMAL_TARGET_EXPORTS) \
31795 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
31796 for flag in $(EXTRA_TARGET_FLAGS); do \
31797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31798 done; \
31799 (cd $(TARGET_SUBDIR)/libiberty && \
31800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31802 "RANLIB=$${RANLIB}" \
31803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31804 clean) \
31805 || exit 1
31807 @endif target-libiberty
31809 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
31810 maybe-distclean-target-libiberty:
31811 @if target-libiberty
31812 maybe-distclean-target-libiberty: distclean-target-libiberty
31814 distclean-target-libiberty:
31815 @$(unstage)
31816 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31817 r=`${PWD_COMMAND}`; export r; \
31818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31819 $(NORMAL_TARGET_EXPORTS) \
31820 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
31821 for flag in $(EXTRA_TARGET_FLAGS); do \
31822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31823 done; \
31824 (cd $(TARGET_SUBDIR)/libiberty && \
31825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31827 "RANLIB=$${RANLIB}" \
31828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31829 distclean) \
31830 || exit 1
31832 @endif target-libiberty
31834 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
31835 maybe-maintainer-clean-target-libiberty:
31836 @if target-libiberty
31837 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
31839 maintainer-clean-target-libiberty:
31840 @$(unstage)
31841 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31842 r=`${PWD_COMMAND}`; export r; \
31843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31844 $(NORMAL_TARGET_EXPORTS) \
31845 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
31846 for flag in $(EXTRA_TARGET_FLAGS); do \
31847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31848 done; \
31849 (cd $(TARGET_SUBDIR)/libiberty && \
31850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31852 "RANLIB=$${RANLIB}" \
31853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31854 maintainer-clean) \
31855 || exit 1
31857 @endif target-libiberty
31861 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31862 @if target-gperf
31863 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
31864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31865 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
31866 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
31867 @endif target-gperf
31871 .PHONY: configure-target-gperf maybe-configure-target-gperf
31872 maybe-configure-target-gperf:
31873 @if target-gperf
31874 maybe-configure-target-gperf: configure-target-gperf
31875 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
31876 @$(unstage)
31877 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
31878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31879 r=`${PWD_COMMAND}`; export r; \
31880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31881 $(NORMAL_TARGET_EXPORTS) \
31882 echo Configuring in $(TARGET_SUBDIR)/gperf; \
31883 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
31884 case $(srcdir) in \
31885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31886 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
31887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31888 esac; \
31889 srcdiroption="--srcdir=$${topdir}/gperf"; \
31890 libsrcdir="$$s/gperf"; \
31891 rm -f no-such-file || : ; \
31892 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31893 $(TARGET_CONFIGARGS) $${srcdiroption} \
31894 || exit 1
31895 @endif target-gperf
31901 .PHONY: all-target-gperf maybe-all-target-gperf
31902 maybe-all-target-gperf:
31903 @if target-gperf
31904 TARGET-target-gperf=all
31905 maybe-all-target-gperf: all-target-gperf
31906 all-target-gperf: configure-target-gperf
31907 @$(unstage)
31908 @r=`${PWD_COMMAND}`; export r; \
31909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31910 $(NORMAL_TARGET_EXPORTS) \
31911 (cd $(TARGET_SUBDIR)/gperf && \
31912 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
31913 @endif target-gperf
31919 .PHONY: check-target-gperf maybe-check-target-gperf
31920 maybe-check-target-gperf:
31921 @if target-gperf
31922 maybe-check-target-gperf: check-target-gperf
31924 check-target-gperf:
31925 @$(unstage)
31926 @r=`${PWD_COMMAND}`; export r; \
31927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31928 $(NORMAL_TARGET_EXPORTS) \
31929 (cd $(TARGET_SUBDIR)/gperf && \
31930 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31932 @endif target-gperf
31934 .PHONY: install-target-gperf maybe-install-target-gperf
31935 maybe-install-target-gperf:
31936 @if target-gperf
31937 maybe-install-target-gperf: install-target-gperf
31939 install-target-gperf: installdirs
31940 @$(unstage)
31941 @r=`${PWD_COMMAND}`; export r; \
31942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31943 $(NORMAL_TARGET_EXPORTS) \
31944 (cd $(TARGET_SUBDIR)/gperf && \
31945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31947 @endif target-gperf
31949 # Other targets (info, dvi, etc.)
31951 .PHONY: maybe-info-target-gperf info-target-gperf
31952 maybe-info-target-gperf:
31953 @if target-gperf
31954 maybe-info-target-gperf: info-target-gperf
31956 info-target-gperf: \
31957 configure-target-gperf
31958 @$(unstage)
31959 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31960 r=`${PWD_COMMAND}`; export r; \
31961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31962 $(NORMAL_TARGET_EXPORTS) \
31963 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
31964 for flag in $(EXTRA_TARGET_FLAGS); do \
31965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31966 done; \
31967 (cd $(TARGET_SUBDIR)/gperf && \
31968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31970 "RANLIB=$${RANLIB}" \
31971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31972 info) \
31973 || exit 1
31975 @endif target-gperf
31977 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
31978 maybe-dvi-target-gperf:
31979 @if target-gperf
31980 maybe-dvi-target-gperf: dvi-target-gperf
31982 dvi-target-gperf: \
31983 configure-target-gperf
31984 @$(unstage)
31985 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31986 r=`${PWD_COMMAND}`; export r; \
31987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31988 $(NORMAL_TARGET_EXPORTS) \
31989 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
31990 for flag in $(EXTRA_TARGET_FLAGS); do \
31991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31992 done; \
31993 (cd $(TARGET_SUBDIR)/gperf && \
31994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31996 "RANLIB=$${RANLIB}" \
31997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31998 dvi) \
31999 || exit 1
32001 @endif target-gperf
32003 .PHONY: maybe-html-target-gperf html-target-gperf
32004 maybe-html-target-gperf:
32005 @if target-gperf
32006 maybe-html-target-gperf: html-target-gperf
32008 html-target-gperf: \
32009 configure-target-gperf
32010 @$(unstage)
32011 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32012 r=`${PWD_COMMAND}`; export r; \
32013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32014 $(NORMAL_TARGET_EXPORTS) \
32015 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32016 for flag in $(EXTRA_TARGET_FLAGS); do \
32017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32018 done; \
32019 (cd $(TARGET_SUBDIR)/gperf && \
32020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32022 "RANLIB=$${RANLIB}" \
32023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32024 html) \
32025 || exit 1
32027 @endif target-gperf
32029 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32030 maybe-TAGS-target-gperf:
32031 @if target-gperf
32032 maybe-TAGS-target-gperf: TAGS-target-gperf
32034 TAGS-target-gperf: \
32035 configure-target-gperf
32036 @$(unstage)
32037 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32038 r=`${PWD_COMMAND}`; export r; \
32039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32040 $(NORMAL_TARGET_EXPORTS) \
32041 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32042 for flag in $(EXTRA_TARGET_FLAGS); do \
32043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32044 done; \
32045 (cd $(TARGET_SUBDIR)/gperf && \
32046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32048 "RANLIB=$${RANLIB}" \
32049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32050 TAGS) \
32051 || exit 1
32053 @endif target-gperf
32055 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32056 maybe-install-info-target-gperf:
32057 @if target-gperf
32058 maybe-install-info-target-gperf: install-info-target-gperf
32060 install-info-target-gperf: \
32061 configure-target-gperf \
32062 info-target-gperf
32063 @$(unstage)
32064 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32065 r=`${PWD_COMMAND}`; export r; \
32066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32067 $(NORMAL_TARGET_EXPORTS) \
32068 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32069 for flag in $(EXTRA_TARGET_FLAGS); do \
32070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32071 done; \
32072 (cd $(TARGET_SUBDIR)/gperf && \
32073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32075 "RANLIB=$${RANLIB}" \
32076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32077 install-info) \
32078 || exit 1
32080 @endif target-gperf
32082 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32083 maybe-installcheck-target-gperf:
32084 @if target-gperf
32085 maybe-installcheck-target-gperf: installcheck-target-gperf
32087 installcheck-target-gperf: \
32088 configure-target-gperf
32089 @$(unstage)
32090 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32091 r=`${PWD_COMMAND}`; export r; \
32092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32093 $(NORMAL_TARGET_EXPORTS) \
32094 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32095 for flag in $(EXTRA_TARGET_FLAGS); do \
32096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32097 done; \
32098 (cd $(TARGET_SUBDIR)/gperf && \
32099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32101 "RANLIB=$${RANLIB}" \
32102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32103 installcheck) \
32104 || exit 1
32106 @endif target-gperf
32108 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32109 maybe-mostlyclean-target-gperf:
32110 @if target-gperf
32111 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32113 mostlyclean-target-gperf:
32114 @$(unstage)
32115 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32116 r=`${PWD_COMMAND}`; export r; \
32117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32118 $(NORMAL_TARGET_EXPORTS) \
32119 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32120 for flag in $(EXTRA_TARGET_FLAGS); do \
32121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32122 done; \
32123 (cd $(TARGET_SUBDIR)/gperf && \
32124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32126 "RANLIB=$${RANLIB}" \
32127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32128 mostlyclean) \
32129 || exit 1
32131 @endif target-gperf
32133 .PHONY: maybe-clean-target-gperf clean-target-gperf
32134 maybe-clean-target-gperf:
32135 @if target-gperf
32136 maybe-clean-target-gperf: clean-target-gperf
32138 clean-target-gperf:
32139 @$(unstage)
32140 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32141 r=`${PWD_COMMAND}`; export r; \
32142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32143 $(NORMAL_TARGET_EXPORTS) \
32144 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32145 for flag in $(EXTRA_TARGET_FLAGS); do \
32146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32147 done; \
32148 (cd $(TARGET_SUBDIR)/gperf && \
32149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32151 "RANLIB=$${RANLIB}" \
32152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32153 clean) \
32154 || exit 1
32156 @endif target-gperf
32158 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32159 maybe-distclean-target-gperf:
32160 @if target-gperf
32161 maybe-distclean-target-gperf: distclean-target-gperf
32163 distclean-target-gperf:
32164 @$(unstage)
32165 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32166 r=`${PWD_COMMAND}`; export r; \
32167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32168 $(NORMAL_TARGET_EXPORTS) \
32169 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32170 for flag in $(EXTRA_TARGET_FLAGS); do \
32171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32172 done; \
32173 (cd $(TARGET_SUBDIR)/gperf && \
32174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32176 "RANLIB=$${RANLIB}" \
32177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32178 distclean) \
32179 || exit 1
32181 @endif target-gperf
32183 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32184 maybe-maintainer-clean-target-gperf:
32185 @if target-gperf
32186 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32188 maintainer-clean-target-gperf:
32189 @$(unstage)
32190 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32191 r=`${PWD_COMMAND}`; export r; \
32192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32193 $(NORMAL_TARGET_EXPORTS) \
32194 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32195 for flag in $(EXTRA_TARGET_FLAGS); do \
32196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32197 done; \
32198 (cd $(TARGET_SUBDIR)/gperf && \
32199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32201 "RANLIB=$${RANLIB}" \
32202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32203 maintainer-clean) \
32204 || exit 1
32206 @endif target-gperf
32210 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32211 @if target-examples
32212 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
32213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32214 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
32215 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
32216 @endif target-examples
32220 .PHONY: configure-target-examples maybe-configure-target-examples
32221 maybe-configure-target-examples:
32222 @if target-examples
32223 maybe-configure-target-examples: configure-target-examples
32224 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
32225 @$(unstage)
32226 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32228 r=`${PWD_COMMAND}`; export r; \
32229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32230 $(NORMAL_TARGET_EXPORTS) \
32231 echo Configuring in $(TARGET_SUBDIR)/examples; \
32232 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32233 case $(srcdir) in \
32234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32235 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32237 esac; \
32238 srcdiroption="--srcdir=$${topdir}/examples"; \
32239 libsrcdir="$$s/examples"; \
32240 rm -f no-such-file || : ; \
32241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32242 $(TARGET_CONFIGARGS) $${srcdiroption} \
32243 || exit 1
32244 @endif target-examples
32250 .PHONY: all-target-examples maybe-all-target-examples
32251 maybe-all-target-examples:
32252 @if target-examples
32253 TARGET-target-examples=all
32254 maybe-all-target-examples: all-target-examples
32255 all-target-examples: configure-target-examples
32256 @$(unstage)
32257 @r=`${PWD_COMMAND}`; export r; \
32258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32259 $(NORMAL_TARGET_EXPORTS) \
32260 (cd $(TARGET_SUBDIR)/examples && \
32261 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32262 @endif target-examples
32268 .PHONY: check-target-examples maybe-check-target-examples
32269 maybe-check-target-examples:
32270 @if target-examples
32271 maybe-check-target-examples: check-target-examples
32273 # Dummy target for uncheckable module.
32274 check-target-examples:
32276 @endif target-examples
32278 .PHONY: install-target-examples maybe-install-target-examples
32279 maybe-install-target-examples:
32280 @if target-examples
32281 maybe-install-target-examples: install-target-examples
32283 # Dummy target for uninstallable.
32284 install-target-examples:
32286 @endif target-examples
32288 # Other targets (info, dvi, etc.)
32290 .PHONY: maybe-info-target-examples info-target-examples
32291 maybe-info-target-examples:
32292 @if target-examples
32293 maybe-info-target-examples: info-target-examples
32295 info-target-examples: \
32296 configure-target-examples
32297 @$(unstage)
32298 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32299 r=`${PWD_COMMAND}`; export r; \
32300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32301 $(NORMAL_TARGET_EXPORTS) \
32302 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32303 for flag in $(EXTRA_TARGET_FLAGS); do \
32304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32305 done; \
32306 (cd $(TARGET_SUBDIR)/examples && \
32307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32309 "RANLIB=$${RANLIB}" \
32310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32311 info) \
32312 || exit 1
32314 @endif target-examples
32316 .PHONY: maybe-dvi-target-examples dvi-target-examples
32317 maybe-dvi-target-examples:
32318 @if target-examples
32319 maybe-dvi-target-examples: dvi-target-examples
32321 dvi-target-examples: \
32322 configure-target-examples
32323 @$(unstage)
32324 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32325 r=`${PWD_COMMAND}`; export r; \
32326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32327 $(NORMAL_TARGET_EXPORTS) \
32328 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32329 for flag in $(EXTRA_TARGET_FLAGS); do \
32330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32331 done; \
32332 (cd $(TARGET_SUBDIR)/examples && \
32333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32335 "RANLIB=$${RANLIB}" \
32336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32337 dvi) \
32338 || exit 1
32340 @endif target-examples
32342 .PHONY: maybe-html-target-examples html-target-examples
32343 maybe-html-target-examples:
32344 @if target-examples
32345 maybe-html-target-examples: html-target-examples
32347 html-target-examples: \
32348 configure-target-examples
32349 @$(unstage)
32350 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32351 r=`${PWD_COMMAND}`; export r; \
32352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32353 $(NORMAL_TARGET_EXPORTS) \
32354 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32355 for flag in $(EXTRA_TARGET_FLAGS); do \
32356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32357 done; \
32358 (cd $(TARGET_SUBDIR)/examples && \
32359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32361 "RANLIB=$${RANLIB}" \
32362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32363 html) \
32364 || exit 1
32366 @endif target-examples
32368 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32369 maybe-TAGS-target-examples:
32370 @if target-examples
32371 maybe-TAGS-target-examples: TAGS-target-examples
32373 TAGS-target-examples: \
32374 configure-target-examples
32375 @$(unstage)
32376 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32377 r=`${PWD_COMMAND}`; export r; \
32378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32379 $(NORMAL_TARGET_EXPORTS) \
32380 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32381 for flag in $(EXTRA_TARGET_FLAGS); do \
32382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32383 done; \
32384 (cd $(TARGET_SUBDIR)/examples && \
32385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32387 "RANLIB=$${RANLIB}" \
32388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32389 TAGS) \
32390 || exit 1
32392 @endif target-examples
32394 .PHONY: maybe-install-info-target-examples install-info-target-examples
32395 maybe-install-info-target-examples:
32396 @if target-examples
32397 maybe-install-info-target-examples: install-info-target-examples
32399 install-info-target-examples: \
32400 configure-target-examples \
32401 info-target-examples
32402 @$(unstage)
32403 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32404 r=`${PWD_COMMAND}`; export r; \
32405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32406 $(NORMAL_TARGET_EXPORTS) \
32407 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32408 for flag in $(EXTRA_TARGET_FLAGS); do \
32409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32410 done; \
32411 (cd $(TARGET_SUBDIR)/examples && \
32412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32414 "RANLIB=$${RANLIB}" \
32415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32416 install-info) \
32417 || exit 1
32419 @endif target-examples
32421 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32422 maybe-installcheck-target-examples:
32423 @if target-examples
32424 maybe-installcheck-target-examples: installcheck-target-examples
32426 installcheck-target-examples: \
32427 configure-target-examples
32428 @$(unstage)
32429 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32430 r=`${PWD_COMMAND}`; export r; \
32431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32432 $(NORMAL_TARGET_EXPORTS) \
32433 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32434 for flag in $(EXTRA_TARGET_FLAGS); do \
32435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32436 done; \
32437 (cd $(TARGET_SUBDIR)/examples && \
32438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32440 "RANLIB=$${RANLIB}" \
32441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32442 installcheck) \
32443 || exit 1
32445 @endif target-examples
32447 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32448 maybe-mostlyclean-target-examples:
32449 @if target-examples
32450 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32452 mostlyclean-target-examples:
32453 @$(unstage)
32454 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32455 r=`${PWD_COMMAND}`; export r; \
32456 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32457 $(NORMAL_TARGET_EXPORTS) \
32458 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32459 for flag in $(EXTRA_TARGET_FLAGS); do \
32460 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32461 done; \
32462 (cd $(TARGET_SUBDIR)/examples && \
32463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32465 "RANLIB=$${RANLIB}" \
32466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32467 mostlyclean) \
32468 || exit 1
32470 @endif target-examples
32472 .PHONY: maybe-clean-target-examples clean-target-examples
32473 maybe-clean-target-examples:
32474 @if target-examples
32475 maybe-clean-target-examples: clean-target-examples
32477 clean-target-examples:
32478 @$(unstage)
32479 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32480 r=`${PWD_COMMAND}`; export r; \
32481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32482 $(NORMAL_TARGET_EXPORTS) \
32483 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32484 for flag in $(EXTRA_TARGET_FLAGS); do \
32485 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32486 done; \
32487 (cd $(TARGET_SUBDIR)/examples && \
32488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32490 "RANLIB=$${RANLIB}" \
32491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32492 clean) \
32493 || exit 1
32495 @endif target-examples
32497 .PHONY: maybe-distclean-target-examples distclean-target-examples
32498 maybe-distclean-target-examples:
32499 @if target-examples
32500 maybe-distclean-target-examples: distclean-target-examples
32502 distclean-target-examples:
32503 @$(unstage)
32504 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32505 r=`${PWD_COMMAND}`; export r; \
32506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32507 $(NORMAL_TARGET_EXPORTS) \
32508 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
32509 for flag in $(EXTRA_TARGET_FLAGS); do \
32510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32511 done; \
32512 (cd $(TARGET_SUBDIR)/examples && \
32513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32515 "RANLIB=$${RANLIB}" \
32516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32517 distclean) \
32518 || exit 1
32520 @endif target-examples
32522 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
32523 maybe-maintainer-clean-target-examples:
32524 @if target-examples
32525 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
32527 maintainer-clean-target-examples:
32528 @$(unstage)
32529 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32530 r=`${PWD_COMMAND}`; export r; \
32531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32532 $(NORMAL_TARGET_EXPORTS) \
32533 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
32534 for flag in $(EXTRA_TARGET_FLAGS); do \
32535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32536 done; \
32537 (cd $(TARGET_SUBDIR)/examples && \
32538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32540 "RANLIB=$${RANLIB}" \
32541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32542 maintainer-clean) \
32543 || exit 1
32545 @endif target-examples
32549 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32550 @if target-libffi
32551 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
32552 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32553 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
32554 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
32555 @endif target-libffi
32559 .PHONY: configure-target-libffi maybe-configure-target-libffi
32560 maybe-configure-target-libffi:
32561 @if target-libffi
32562 maybe-configure-target-libffi: configure-target-libffi
32563 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
32564 @$(unstage)
32565 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
32566 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32567 r=`${PWD_COMMAND}`; export r; \
32568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32569 $(NORMAL_TARGET_EXPORTS) \
32570 echo Configuring in $(TARGET_SUBDIR)/libffi; \
32571 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
32572 case $(srcdir) in \
32573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32574 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
32575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32576 esac; \
32577 srcdiroption="--srcdir=$${topdir}/libffi"; \
32578 libsrcdir="$$s/libffi"; \
32579 rm -f no-such-file || : ; \
32580 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32581 $(TARGET_CONFIGARGS) $${srcdiroption} \
32582 || exit 1
32583 @endif target-libffi
32589 .PHONY: all-target-libffi maybe-all-target-libffi
32590 maybe-all-target-libffi:
32591 @if target-libffi
32592 TARGET-target-libffi=all
32593 maybe-all-target-libffi: all-target-libffi
32594 all-target-libffi: configure-target-libffi
32595 @$(unstage)
32596 @r=`${PWD_COMMAND}`; export r; \
32597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32598 $(NORMAL_TARGET_EXPORTS) \
32599 (cd $(TARGET_SUBDIR)/libffi && \
32600 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
32601 @endif target-libffi
32607 .PHONY: check-target-libffi maybe-check-target-libffi
32608 maybe-check-target-libffi:
32609 @if target-libffi
32610 maybe-check-target-libffi: check-target-libffi
32612 check-target-libffi:
32613 @$(unstage)
32614 @r=`${PWD_COMMAND}`; export r; \
32615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32616 $(NORMAL_TARGET_EXPORTS) \
32617 (cd $(TARGET_SUBDIR)/libffi && \
32618 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32620 @endif target-libffi
32622 .PHONY: install-target-libffi maybe-install-target-libffi
32623 maybe-install-target-libffi:
32624 @if target-libffi
32625 maybe-install-target-libffi: install-target-libffi
32627 install-target-libffi: installdirs
32628 @$(unstage)
32629 @r=`${PWD_COMMAND}`; export r; \
32630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32631 $(NORMAL_TARGET_EXPORTS) \
32632 (cd $(TARGET_SUBDIR)/libffi && \
32633 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32635 @endif target-libffi
32637 # Other targets (info, dvi, etc.)
32639 .PHONY: maybe-info-target-libffi info-target-libffi
32640 maybe-info-target-libffi:
32641 @if target-libffi
32642 maybe-info-target-libffi: info-target-libffi
32644 info-target-libffi: \
32645 configure-target-libffi
32646 @$(unstage)
32647 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32648 r=`${PWD_COMMAND}`; export r; \
32649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32650 $(NORMAL_TARGET_EXPORTS) \
32651 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
32652 for flag in $(EXTRA_TARGET_FLAGS); do \
32653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32654 done; \
32655 (cd $(TARGET_SUBDIR)/libffi && \
32656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32658 "RANLIB=$${RANLIB}" \
32659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32660 info) \
32661 || exit 1
32663 @endif target-libffi
32665 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
32666 maybe-dvi-target-libffi:
32667 @if target-libffi
32668 maybe-dvi-target-libffi: dvi-target-libffi
32670 dvi-target-libffi: \
32671 configure-target-libffi
32672 @$(unstage)
32673 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32674 r=`${PWD_COMMAND}`; export r; \
32675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32676 $(NORMAL_TARGET_EXPORTS) \
32677 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
32678 for flag in $(EXTRA_TARGET_FLAGS); do \
32679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32680 done; \
32681 (cd $(TARGET_SUBDIR)/libffi && \
32682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32684 "RANLIB=$${RANLIB}" \
32685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32686 dvi) \
32687 || exit 1
32689 @endif target-libffi
32691 .PHONY: maybe-html-target-libffi html-target-libffi
32692 maybe-html-target-libffi:
32693 @if target-libffi
32694 maybe-html-target-libffi: html-target-libffi
32696 html-target-libffi: \
32697 configure-target-libffi
32698 @$(unstage)
32699 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32700 r=`${PWD_COMMAND}`; export r; \
32701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32702 $(NORMAL_TARGET_EXPORTS) \
32703 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
32704 for flag in $(EXTRA_TARGET_FLAGS); do \
32705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32706 done; \
32707 (cd $(TARGET_SUBDIR)/libffi && \
32708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32710 "RANLIB=$${RANLIB}" \
32711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32712 html) \
32713 || exit 1
32715 @endif target-libffi
32717 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
32718 maybe-TAGS-target-libffi:
32719 @if target-libffi
32720 maybe-TAGS-target-libffi: TAGS-target-libffi
32722 TAGS-target-libffi: \
32723 configure-target-libffi
32724 @$(unstage)
32725 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32726 r=`${PWD_COMMAND}`; export r; \
32727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32728 $(NORMAL_TARGET_EXPORTS) \
32729 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
32730 for flag in $(EXTRA_TARGET_FLAGS); do \
32731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32732 done; \
32733 (cd $(TARGET_SUBDIR)/libffi && \
32734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32736 "RANLIB=$${RANLIB}" \
32737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32738 TAGS) \
32739 || exit 1
32741 @endif target-libffi
32743 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
32744 maybe-install-info-target-libffi:
32745 @if target-libffi
32746 maybe-install-info-target-libffi: install-info-target-libffi
32748 install-info-target-libffi: \
32749 configure-target-libffi \
32750 info-target-libffi
32751 @$(unstage)
32752 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32753 r=`${PWD_COMMAND}`; export r; \
32754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32755 $(NORMAL_TARGET_EXPORTS) \
32756 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
32757 for flag in $(EXTRA_TARGET_FLAGS); do \
32758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32759 done; \
32760 (cd $(TARGET_SUBDIR)/libffi && \
32761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32763 "RANLIB=$${RANLIB}" \
32764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32765 install-info) \
32766 || exit 1
32768 @endif target-libffi
32770 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
32771 maybe-installcheck-target-libffi:
32772 @if target-libffi
32773 maybe-installcheck-target-libffi: installcheck-target-libffi
32775 installcheck-target-libffi: \
32776 configure-target-libffi
32777 @$(unstage)
32778 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32779 r=`${PWD_COMMAND}`; export r; \
32780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32781 $(NORMAL_TARGET_EXPORTS) \
32782 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
32783 for flag in $(EXTRA_TARGET_FLAGS); do \
32784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32785 done; \
32786 (cd $(TARGET_SUBDIR)/libffi && \
32787 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32788 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32789 "RANLIB=$${RANLIB}" \
32790 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32791 installcheck) \
32792 || exit 1
32794 @endif target-libffi
32796 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
32797 maybe-mostlyclean-target-libffi:
32798 @if target-libffi
32799 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
32801 mostlyclean-target-libffi:
32802 @$(unstage)
32803 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32804 r=`${PWD_COMMAND}`; export r; \
32805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32806 $(NORMAL_TARGET_EXPORTS) \
32807 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
32808 for flag in $(EXTRA_TARGET_FLAGS); do \
32809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32810 done; \
32811 (cd $(TARGET_SUBDIR)/libffi && \
32812 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32813 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32814 "RANLIB=$${RANLIB}" \
32815 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32816 mostlyclean) \
32817 || exit 1
32819 @endif target-libffi
32821 .PHONY: maybe-clean-target-libffi clean-target-libffi
32822 maybe-clean-target-libffi:
32823 @if target-libffi
32824 maybe-clean-target-libffi: clean-target-libffi
32826 clean-target-libffi:
32827 @$(unstage)
32828 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32829 r=`${PWD_COMMAND}`; export r; \
32830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32831 $(NORMAL_TARGET_EXPORTS) \
32832 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
32833 for flag in $(EXTRA_TARGET_FLAGS); do \
32834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32835 done; \
32836 (cd $(TARGET_SUBDIR)/libffi && \
32837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32839 "RANLIB=$${RANLIB}" \
32840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32841 clean) \
32842 || exit 1
32844 @endif target-libffi
32846 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
32847 maybe-distclean-target-libffi:
32848 @if target-libffi
32849 maybe-distclean-target-libffi: distclean-target-libffi
32851 distclean-target-libffi:
32852 @$(unstage)
32853 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32854 r=`${PWD_COMMAND}`; export r; \
32855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32856 $(NORMAL_TARGET_EXPORTS) \
32857 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
32858 for flag in $(EXTRA_TARGET_FLAGS); do \
32859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32860 done; \
32861 (cd $(TARGET_SUBDIR)/libffi && \
32862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32864 "RANLIB=$${RANLIB}" \
32865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32866 distclean) \
32867 || exit 1
32869 @endif target-libffi
32871 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
32872 maybe-maintainer-clean-target-libffi:
32873 @if target-libffi
32874 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
32876 maintainer-clean-target-libffi:
32877 @$(unstage)
32878 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32879 r=`${PWD_COMMAND}`; export r; \
32880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32881 $(NORMAL_TARGET_EXPORTS) \
32882 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
32883 for flag in $(EXTRA_TARGET_FLAGS); do \
32884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32885 done; \
32886 (cd $(TARGET_SUBDIR)/libffi && \
32887 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32888 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32889 "RANLIB=$${RANLIB}" \
32890 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32891 maintainer-clean) \
32892 || exit 1
32894 @endif target-libffi
32898 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32899 @if target-libjava
32900 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
32901 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32902 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
32903 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
32904 @endif target-libjava
32908 .PHONY: configure-target-libjava maybe-configure-target-libjava
32909 maybe-configure-target-libjava:
32910 @if target-libjava
32911 maybe-configure-target-libjava: configure-target-libjava
32912 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
32913 @$(unstage)
32914 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
32915 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32916 r=`${PWD_COMMAND}`; export r; \
32917 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32918 $(RAW_CXX_TARGET_EXPORTS) \
32919 echo Configuring in $(TARGET_SUBDIR)/libjava; \
32920 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
32921 case $(srcdir) in \
32922 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32923 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
32924 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32925 esac; \
32926 srcdiroption="--srcdir=$${topdir}/libjava"; \
32927 libsrcdir="$$s/libjava"; \
32928 rm -f no-such-file || : ; \
32929 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32930 $(TARGET_CONFIGARGS) $${srcdiroption} \
32931 || exit 1
32932 @endif target-libjava
32938 .PHONY: all-target-libjava maybe-all-target-libjava
32939 maybe-all-target-libjava:
32940 @if target-libjava
32941 TARGET-target-libjava=all
32942 maybe-all-target-libjava: all-target-libjava
32943 all-target-libjava: configure-target-libjava
32944 @$(unstage)
32945 @r=`${PWD_COMMAND}`; export r; \
32946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32947 $(RAW_CXX_TARGET_EXPORTS) \
32948 (cd $(TARGET_SUBDIR)/libjava && \
32949 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
32950 @endif target-libjava
32956 .PHONY: check-target-libjava maybe-check-target-libjava
32957 maybe-check-target-libjava:
32958 @if target-libjava
32959 maybe-check-target-libjava: check-target-libjava
32961 check-target-libjava:
32962 @$(unstage)
32963 @r=`${PWD_COMMAND}`; export r; \
32964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32965 $(RAW_CXX_TARGET_EXPORTS) \
32966 (cd $(TARGET_SUBDIR)/libjava && \
32967 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32969 @endif target-libjava
32971 .PHONY: install-target-libjava maybe-install-target-libjava
32972 maybe-install-target-libjava:
32973 @if target-libjava
32974 maybe-install-target-libjava: install-target-libjava
32976 install-target-libjava: installdirs
32977 @$(unstage)
32978 @r=`${PWD_COMMAND}`; export r; \
32979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32980 $(RAW_CXX_TARGET_EXPORTS) \
32981 (cd $(TARGET_SUBDIR)/libjava && \
32982 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32984 @endif target-libjava
32986 # Other targets (info, dvi, etc.)
32988 .PHONY: maybe-info-target-libjava info-target-libjava
32989 maybe-info-target-libjava:
32990 @if target-libjava
32991 maybe-info-target-libjava: info-target-libjava
32993 info-target-libjava: \
32994 configure-target-libjava
32995 @$(unstage)
32996 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
32997 r=`${PWD_COMMAND}`; export r; \
32998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32999 $(RAW_CXX_TARGET_EXPORTS) \
33000 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33001 for flag in $(EXTRA_TARGET_FLAGS); do \
33002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33003 done; \
33004 (cd $(TARGET_SUBDIR)/libjava && \
33005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33007 "RANLIB=$${RANLIB}" \
33008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33009 info) \
33010 || exit 1
33012 @endif target-libjava
33014 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33015 maybe-dvi-target-libjava:
33016 @if target-libjava
33017 maybe-dvi-target-libjava: dvi-target-libjava
33019 dvi-target-libjava: \
33020 configure-target-libjava
33021 @$(unstage)
33022 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33023 r=`${PWD_COMMAND}`; export r; \
33024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33025 $(RAW_CXX_TARGET_EXPORTS) \
33026 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33027 for flag in $(EXTRA_TARGET_FLAGS); do \
33028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33029 done; \
33030 (cd $(TARGET_SUBDIR)/libjava && \
33031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33033 "RANLIB=$${RANLIB}" \
33034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33035 dvi) \
33036 || exit 1
33038 @endif target-libjava
33040 .PHONY: maybe-html-target-libjava html-target-libjava
33041 maybe-html-target-libjava:
33042 @if target-libjava
33043 maybe-html-target-libjava: html-target-libjava
33045 html-target-libjava: \
33046 configure-target-libjava
33047 @$(unstage)
33048 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33049 r=`${PWD_COMMAND}`; export r; \
33050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33051 $(RAW_CXX_TARGET_EXPORTS) \
33052 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33053 for flag in $(EXTRA_TARGET_FLAGS); do \
33054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33055 done; \
33056 (cd $(TARGET_SUBDIR)/libjava && \
33057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33059 "RANLIB=$${RANLIB}" \
33060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33061 html) \
33062 || exit 1
33064 @endif target-libjava
33066 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33067 maybe-TAGS-target-libjava:
33068 @if target-libjava
33069 maybe-TAGS-target-libjava: TAGS-target-libjava
33071 TAGS-target-libjava: \
33072 configure-target-libjava
33073 @$(unstage)
33074 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33075 r=`${PWD_COMMAND}`; export r; \
33076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33077 $(RAW_CXX_TARGET_EXPORTS) \
33078 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33079 for flag in $(EXTRA_TARGET_FLAGS); do \
33080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33081 done; \
33082 (cd $(TARGET_SUBDIR)/libjava && \
33083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33085 "RANLIB=$${RANLIB}" \
33086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33087 TAGS) \
33088 || exit 1
33090 @endif target-libjava
33092 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33093 maybe-install-info-target-libjava:
33094 @if target-libjava
33095 maybe-install-info-target-libjava: install-info-target-libjava
33097 install-info-target-libjava: \
33098 configure-target-libjava \
33099 info-target-libjava
33100 @$(unstage)
33101 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33102 r=`${PWD_COMMAND}`; export r; \
33103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33104 $(RAW_CXX_TARGET_EXPORTS) \
33105 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33106 for flag in $(EXTRA_TARGET_FLAGS); do \
33107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33108 done; \
33109 (cd $(TARGET_SUBDIR)/libjava && \
33110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33112 "RANLIB=$${RANLIB}" \
33113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33114 install-info) \
33115 || exit 1
33117 @endif target-libjava
33119 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33120 maybe-installcheck-target-libjava:
33121 @if target-libjava
33122 maybe-installcheck-target-libjava: installcheck-target-libjava
33124 installcheck-target-libjava: \
33125 configure-target-libjava
33126 @$(unstage)
33127 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33128 r=`${PWD_COMMAND}`; export r; \
33129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33130 $(RAW_CXX_TARGET_EXPORTS) \
33131 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33132 for flag in $(EXTRA_TARGET_FLAGS); do \
33133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33134 done; \
33135 (cd $(TARGET_SUBDIR)/libjava && \
33136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33138 "RANLIB=$${RANLIB}" \
33139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33140 installcheck) \
33141 || exit 1
33143 @endif target-libjava
33145 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33146 maybe-mostlyclean-target-libjava:
33147 @if target-libjava
33148 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33150 mostlyclean-target-libjava:
33151 @$(unstage)
33152 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33153 r=`${PWD_COMMAND}`; export r; \
33154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33155 $(RAW_CXX_TARGET_EXPORTS) \
33156 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
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)/libjava && \
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-libjava
33170 .PHONY: maybe-clean-target-libjava clean-target-libjava
33171 maybe-clean-target-libjava:
33172 @if target-libjava
33173 maybe-clean-target-libjava: clean-target-libjava
33175 clean-target-libjava:
33176 @$(unstage)
33177 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33178 r=`${PWD_COMMAND}`; export r; \
33179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33180 $(RAW_CXX_TARGET_EXPORTS) \
33181 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33182 for flag in $(EXTRA_TARGET_FLAGS); do \
33183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33184 done; \
33185 (cd $(TARGET_SUBDIR)/libjava && \
33186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33188 "RANLIB=$${RANLIB}" \
33189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33190 clean) \
33191 || exit 1
33193 @endif target-libjava
33195 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33196 maybe-distclean-target-libjava:
33197 @if target-libjava
33198 maybe-distclean-target-libjava: distclean-target-libjava
33200 distclean-target-libjava:
33201 @$(unstage)
33202 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33203 r=`${PWD_COMMAND}`; export r; \
33204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33205 $(RAW_CXX_TARGET_EXPORTS) \
33206 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33207 for flag in $(EXTRA_TARGET_FLAGS); do \
33208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33209 done; \
33210 (cd $(TARGET_SUBDIR)/libjava && \
33211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33213 "RANLIB=$${RANLIB}" \
33214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33215 distclean) \
33216 || exit 1
33218 @endif target-libjava
33220 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33221 maybe-maintainer-clean-target-libjava:
33222 @if target-libjava
33223 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33225 maintainer-clean-target-libjava:
33226 @$(unstage)
33227 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33228 r=`${PWD_COMMAND}`; export r; \
33229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33230 $(RAW_CXX_TARGET_EXPORTS) \
33231 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33232 for flag in $(EXTRA_TARGET_FLAGS); do \
33233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33234 done; \
33235 (cd $(TARGET_SUBDIR)/libjava && \
33236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33238 "RANLIB=$${RANLIB}" \
33239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33240 maintainer-clean) \
33241 || exit 1
33243 @endif target-libjava
33247 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33248 @if target-zlib
33249 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
33250 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33251 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
33252 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
33253 @endif target-zlib
33257 .PHONY: configure-target-zlib maybe-configure-target-zlib
33258 maybe-configure-target-zlib:
33259 @if target-zlib
33260 maybe-configure-target-zlib: configure-target-zlib
33261 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
33262 @$(unstage)
33263 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33264 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33265 r=`${PWD_COMMAND}`; export r; \
33266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33267 $(NORMAL_TARGET_EXPORTS) \
33268 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33269 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33270 case $(srcdir) in \
33271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33272 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33274 esac; \
33275 srcdiroption="--srcdir=$${topdir}/zlib"; \
33276 libsrcdir="$$s/zlib"; \
33277 rm -f no-such-file || : ; \
33278 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33279 $(TARGET_CONFIGARGS) $${srcdiroption} \
33280 || exit 1
33281 @endif target-zlib
33287 .PHONY: all-target-zlib maybe-all-target-zlib
33288 maybe-all-target-zlib:
33289 @if target-zlib
33290 TARGET-target-zlib=all
33291 maybe-all-target-zlib: all-target-zlib
33292 all-target-zlib: configure-target-zlib
33293 @$(unstage)
33294 @r=`${PWD_COMMAND}`; export r; \
33295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33296 $(NORMAL_TARGET_EXPORTS) \
33297 (cd $(TARGET_SUBDIR)/zlib && \
33298 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33299 @endif target-zlib
33305 .PHONY: check-target-zlib maybe-check-target-zlib
33306 maybe-check-target-zlib:
33307 @if target-zlib
33308 maybe-check-target-zlib: check-target-zlib
33310 check-target-zlib:
33311 @$(unstage)
33312 @r=`${PWD_COMMAND}`; export r; \
33313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33314 $(NORMAL_TARGET_EXPORTS) \
33315 (cd $(TARGET_SUBDIR)/zlib && \
33316 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33318 @endif target-zlib
33320 .PHONY: install-target-zlib maybe-install-target-zlib
33321 maybe-install-target-zlib:
33322 @if target-zlib
33323 maybe-install-target-zlib: install-target-zlib
33325 install-target-zlib: installdirs
33326 @$(unstage)
33327 @r=`${PWD_COMMAND}`; export r; \
33328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33329 $(NORMAL_TARGET_EXPORTS) \
33330 (cd $(TARGET_SUBDIR)/zlib && \
33331 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33333 @endif target-zlib
33335 # Other targets (info, dvi, etc.)
33337 .PHONY: maybe-info-target-zlib info-target-zlib
33338 maybe-info-target-zlib:
33339 @if target-zlib
33340 maybe-info-target-zlib: info-target-zlib
33342 info-target-zlib: \
33343 configure-target-zlib
33344 @$(unstage)
33345 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33346 r=`${PWD_COMMAND}`; export r; \
33347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33348 $(NORMAL_TARGET_EXPORTS) \
33349 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33350 for flag in $(EXTRA_TARGET_FLAGS); do \
33351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33352 done; \
33353 (cd $(TARGET_SUBDIR)/zlib && \
33354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33356 "RANLIB=$${RANLIB}" \
33357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33358 info) \
33359 || exit 1
33361 @endif target-zlib
33363 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33364 maybe-dvi-target-zlib:
33365 @if target-zlib
33366 maybe-dvi-target-zlib: dvi-target-zlib
33368 dvi-target-zlib: \
33369 configure-target-zlib
33370 @$(unstage)
33371 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33372 r=`${PWD_COMMAND}`; export r; \
33373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33374 $(NORMAL_TARGET_EXPORTS) \
33375 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33376 for flag in $(EXTRA_TARGET_FLAGS); do \
33377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33378 done; \
33379 (cd $(TARGET_SUBDIR)/zlib && \
33380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33382 "RANLIB=$${RANLIB}" \
33383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33384 dvi) \
33385 || exit 1
33387 @endif target-zlib
33389 .PHONY: maybe-html-target-zlib html-target-zlib
33390 maybe-html-target-zlib:
33391 @if target-zlib
33392 maybe-html-target-zlib: html-target-zlib
33394 html-target-zlib: \
33395 configure-target-zlib
33396 @$(unstage)
33397 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33398 r=`${PWD_COMMAND}`; export r; \
33399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33400 $(NORMAL_TARGET_EXPORTS) \
33401 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33402 for flag in $(EXTRA_TARGET_FLAGS); do \
33403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33404 done; \
33405 (cd $(TARGET_SUBDIR)/zlib && \
33406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33408 "RANLIB=$${RANLIB}" \
33409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33410 html) \
33411 || exit 1
33413 @endif target-zlib
33415 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33416 maybe-TAGS-target-zlib:
33417 @if target-zlib
33418 maybe-TAGS-target-zlib: TAGS-target-zlib
33420 TAGS-target-zlib: \
33421 configure-target-zlib
33422 @$(unstage)
33423 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33424 r=`${PWD_COMMAND}`; export r; \
33425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33426 $(NORMAL_TARGET_EXPORTS) \
33427 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33428 for flag in $(EXTRA_TARGET_FLAGS); do \
33429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33430 done; \
33431 (cd $(TARGET_SUBDIR)/zlib && \
33432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33434 "RANLIB=$${RANLIB}" \
33435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33436 TAGS) \
33437 || exit 1
33439 @endif target-zlib
33441 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33442 maybe-install-info-target-zlib:
33443 @if target-zlib
33444 maybe-install-info-target-zlib: install-info-target-zlib
33446 install-info-target-zlib: \
33447 configure-target-zlib \
33448 info-target-zlib
33449 @$(unstage)
33450 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33451 r=`${PWD_COMMAND}`; export r; \
33452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33453 $(NORMAL_TARGET_EXPORTS) \
33454 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33455 for flag in $(EXTRA_TARGET_FLAGS); do \
33456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33457 done; \
33458 (cd $(TARGET_SUBDIR)/zlib && \
33459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33461 "RANLIB=$${RANLIB}" \
33462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33463 install-info) \
33464 || exit 1
33466 @endif target-zlib
33468 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33469 maybe-installcheck-target-zlib:
33470 @if target-zlib
33471 maybe-installcheck-target-zlib: installcheck-target-zlib
33473 installcheck-target-zlib: \
33474 configure-target-zlib
33475 @$(unstage)
33476 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33477 r=`${PWD_COMMAND}`; export r; \
33478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33479 $(NORMAL_TARGET_EXPORTS) \
33480 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
33481 for flag in $(EXTRA_TARGET_FLAGS); do \
33482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33483 done; \
33484 (cd $(TARGET_SUBDIR)/zlib && \
33485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33487 "RANLIB=$${RANLIB}" \
33488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33489 installcheck) \
33490 || exit 1
33492 @endif target-zlib
33494 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
33495 maybe-mostlyclean-target-zlib:
33496 @if target-zlib
33497 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
33499 mostlyclean-target-zlib:
33500 @$(unstage)
33501 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33502 r=`${PWD_COMMAND}`; export r; \
33503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33504 $(NORMAL_TARGET_EXPORTS) \
33505 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
33506 for flag in $(EXTRA_TARGET_FLAGS); do \
33507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33508 done; \
33509 (cd $(TARGET_SUBDIR)/zlib && \
33510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33512 "RANLIB=$${RANLIB}" \
33513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33514 mostlyclean) \
33515 || exit 1
33517 @endif target-zlib
33519 .PHONY: maybe-clean-target-zlib clean-target-zlib
33520 maybe-clean-target-zlib:
33521 @if target-zlib
33522 maybe-clean-target-zlib: clean-target-zlib
33524 clean-target-zlib:
33525 @$(unstage)
33526 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33527 r=`${PWD_COMMAND}`; export r; \
33528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33529 $(NORMAL_TARGET_EXPORTS) \
33530 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
33531 for flag in $(EXTRA_TARGET_FLAGS); do \
33532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33533 done; \
33534 (cd $(TARGET_SUBDIR)/zlib && \
33535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33537 "RANLIB=$${RANLIB}" \
33538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33539 clean) \
33540 || exit 1
33542 @endif target-zlib
33544 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
33545 maybe-distclean-target-zlib:
33546 @if target-zlib
33547 maybe-distclean-target-zlib: distclean-target-zlib
33549 distclean-target-zlib:
33550 @$(unstage)
33551 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33552 r=`${PWD_COMMAND}`; export r; \
33553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33554 $(NORMAL_TARGET_EXPORTS) \
33555 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
33556 for flag in $(EXTRA_TARGET_FLAGS); do \
33557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33558 done; \
33559 (cd $(TARGET_SUBDIR)/zlib && \
33560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33562 "RANLIB=$${RANLIB}" \
33563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33564 distclean) \
33565 || exit 1
33567 @endif target-zlib
33569 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
33570 maybe-maintainer-clean-target-zlib:
33571 @if target-zlib
33572 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
33574 maintainer-clean-target-zlib:
33575 @$(unstage)
33576 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33577 r=`${PWD_COMMAND}`; export r; \
33578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33579 $(NORMAL_TARGET_EXPORTS) \
33580 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
33581 for flag in $(EXTRA_TARGET_FLAGS); do \
33582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33583 done; \
33584 (cd $(TARGET_SUBDIR)/zlib && \
33585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33587 "RANLIB=$${RANLIB}" \
33588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33589 maintainer-clean) \
33590 || exit 1
33592 @endif target-zlib
33596 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33597 @if target-boehm-gc
33598 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
33599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33600 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
33601 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
33602 @endif target-boehm-gc
33606 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
33607 maybe-configure-target-boehm-gc:
33608 @if target-boehm-gc
33609 maybe-configure-target-boehm-gc: configure-target-boehm-gc
33610 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
33611 @$(unstage)
33612 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
33613 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33614 r=`${PWD_COMMAND}`; export r; \
33615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33616 $(NORMAL_TARGET_EXPORTS) \
33617 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
33618 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
33619 case $(srcdir) in \
33620 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33621 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
33622 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33623 esac; \
33624 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
33625 libsrcdir="$$s/boehm-gc"; \
33626 rm -f no-such-file || : ; \
33627 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33628 $(TARGET_CONFIGARGS) $${srcdiroption} \
33629 || exit 1
33630 @endif target-boehm-gc
33636 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
33637 maybe-all-target-boehm-gc:
33638 @if target-boehm-gc
33639 TARGET-target-boehm-gc=all
33640 maybe-all-target-boehm-gc: all-target-boehm-gc
33641 all-target-boehm-gc: configure-target-boehm-gc
33642 @$(unstage)
33643 @r=`${PWD_COMMAND}`; export r; \
33644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33645 $(NORMAL_TARGET_EXPORTS) \
33646 (cd $(TARGET_SUBDIR)/boehm-gc && \
33647 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
33648 @endif target-boehm-gc
33654 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
33655 maybe-check-target-boehm-gc:
33656 @if target-boehm-gc
33657 maybe-check-target-boehm-gc: check-target-boehm-gc
33659 check-target-boehm-gc:
33660 @$(unstage)
33661 @r=`${PWD_COMMAND}`; export r; \
33662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33663 $(NORMAL_TARGET_EXPORTS) \
33664 (cd $(TARGET_SUBDIR)/boehm-gc && \
33665 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33667 @endif target-boehm-gc
33669 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
33670 maybe-install-target-boehm-gc:
33671 @if target-boehm-gc
33672 maybe-install-target-boehm-gc: install-target-boehm-gc
33674 install-target-boehm-gc: installdirs
33675 @$(unstage)
33676 @r=`${PWD_COMMAND}`; export r; \
33677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33678 $(NORMAL_TARGET_EXPORTS) \
33679 (cd $(TARGET_SUBDIR)/boehm-gc && \
33680 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33682 @endif target-boehm-gc
33684 # Other targets (info, dvi, etc.)
33686 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
33687 maybe-info-target-boehm-gc:
33688 @if target-boehm-gc
33689 maybe-info-target-boehm-gc: info-target-boehm-gc
33691 info-target-boehm-gc: \
33692 configure-target-boehm-gc
33693 @$(unstage)
33694 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33695 r=`${PWD_COMMAND}`; export r; \
33696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33697 $(NORMAL_TARGET_EXPORTS) \
33698 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
33699 for flag in $(EXTRA_TARGET_FLAGS); do \
33700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33701 done; \
33702 (cd $(TARGET_SUBDIR)/boehm-gc && \
33703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33705 "RANLIB=$${RANLIB}" \
33706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33707 info) \
33708 || exit 1
33710 @endif target-boehm-gc
33712 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
33713 maybe-dvi-target-boehm-gc:
33714 @if target-boehm-gc
33715 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
33717 dvi-target-boehm-gc: \
33718 configure-target-boehm-gc
33719 @$(unstage)
33720 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33721 r=`${PWD_COMMAND}`; export r; \
33722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33723 $(NORMAL_TARGET_EXPORTS) \
33724 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
33725 for flag in $(EXTRA_TARGET_FLAGS); do \
33726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33727 done; \
33728 (cd $(TARGET_SUBDIR)/boehm-gc && \
33729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33731 "RANLIB=$${RANLIB}" \
33732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33733 dvi) \
33734 || exit 1
33736 @endif target-boehm-gc
33738 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
33739 maybe-html-target-boehm-gc:
33740 @if target-boehm-gc
33741 maybe-html-target-boehm-gc: html-target-boehm-gc
33743 html-target-boehm-gc: \
33744 configure-target-boehm-gc
33745 @$(unstage)
33746 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33747 r=`${PWD_COMMAND}`; export r; \
33748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33749 $(NORMAL_TARGET_EXPORTS) \
33750 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
33751 for flag in $(EXTRA_TARGET_FLAGS); do \
33752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33753 done; \
33754 (cd $(TARGET_SUBDIR)/boehm-gc && \
33755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33757 "RANLIB=$${RANLIB}" \
33758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33759 html) \
33760 || exit 1
33762 @endif target-boehm-gc
33764 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
33765 maybe-TAGS-target-boehm-gc:
33766 @if target-boehm-gc
33767 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
33769 TAGS-target-boehm-gc: \
33770 configure-target-boehm-gc
33771 @$(unstage)
33772 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33773 r=`${PWD_COMMAND}`; export r; \
33774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33775 $(NORMAL_TARGET_EXPORTS) \
33776 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
33777 for flag in $(EXTRA_TARGET_FLAGS); do \
33778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33779 done; \
33780 (cd $(TARGET_SUBDIR)/boehm-gc && \
33781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33783 "RANLIB=$${RANLIB}" \
33784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33785 TAGS) \
33786 || exit 1
33788 @endif target-boehm-gc
33790 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
33791 maybe-install-info-target-boehm-gc:
33792 @if target-boehm-gc
33793 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
33795 install-info-target-boehm-gc: \
33796 configure-target-boehm-gc \
33797 info-target-boehm-gc
33798 @$(unstage)
33799 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33800 r=`${PWD_COMMAND}`; export r; \
33801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33802 $(NORMAL_TARGET_EXPORTS) \
33803 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
33804 for flag in $(EXTRA_TARGET_FLAGS); do \
33805 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33806 done; \
33807 (cd $(TARGET_SUBDIR)/boehm-gc && \
33808 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33809 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33810 "RANLIB=$${RANLIB}" \
33811 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33812 install-info) \
33813 || exit 1
33815 @endif target-boehm-gc
33817 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
33818 maybe-installcheck-target-boehm-gc:
33819 @if target-boehm-gc
33820 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
33822 installcheck-target-boehm-gc: \
33823 configure-target-boehm-gc
33824 @$(unstage)
33825 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33826 r=`${PWD_COMMAND}`; export r; \
33827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33828 $(NORMAL_TARGET_EXPORTS) \
33829 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
33830 for flag in $(EXTRA_TARGET_FLAGS); do \
33831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33832 done; \
33833 (cd $(TARGET_SUBDIR)/boehm-gc && \
33834 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33835 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33836 "RANLIB=$${RANLIB}" \
33837 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33838 installcheck) \
33839 || exit 1
33841 @endif target-boehm-gc
33843 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
33844 maybe-mostlyclean-target-boehm-gc:
33845 @if target-boehm-gc
33846 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
33848 mostlyclean-target-boehm-gc:
33849 @$(unstage)
33850 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33851 r=`${PWD_COMMAND}`; export r; \
33852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33853 $(NORMAL_TARGET_EXPORTS) \
33854 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
33855 for flag in $(EXTRA_TARGET_FLAGS); do \
33856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33857 done; \
33858 (cd $(TARGET_SUBDIR)/boehm-gc && \
33859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33861 "RANLIB=$${RANLIB}" \
33862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33863 mostlyclean) \
33864 || exit 1
33866 @endif target-boehm-gc
33868 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
33869 maybe-clean-target-boehm-gc:
33870 @if target-boehm-gc
33871 maybe-clean-target-boehm-gc: clean-target-boehm-gc
33873 clean-target-boehm-gc:
33874 @$(unstage)
33875 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33876 r=`${PWD_COMMAND}`; export r; \
33877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33878 $(NORMAL_TARGET_EXPORTS) \
33879 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33880 for flag in $(EXTRA_TARGET_FLAGS); do \
33881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33882 done; \
33883 (cd $(TARGET_SUBDIR)/boehm-gc && \
33884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33886 "RANLIB=$${RANLIB}" \
33887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33888 clean) \
33889 || exit 1
33891 @endif target-boehm-gc
33893 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
33894 maybe-distclean-target-boehm-gc:
33895 @if target-boehm-gc
33896 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
33898 distclean-target-boehm-gc:
33899 @$(unstage)
33900 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33901 r=`${PWD_COMMAND}`; export r; \
33902 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33903 $(NORMAL_TARGET_EXPORTS) \
33904 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
33905 for flag in $(EXTRA_TARGET_FLAGS); do \
33906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33907 done; \
33908 (cd $(TARGET_SUBDIR)/boehm-gc && \
33909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33911 "RANLIB=$${RANLIB}" \
33912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33913 distclean) \
33914 || exit 1
33916 @endif target-boehm-gc
33918 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
33919 maybe-maintainer-clean-target-boehm-gc:
33920 @if target-boehm-gc
33921 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
33923 maintainer-clean-target-boehm-gc:
33924 @$(unstage)
33925 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33926 r=`${PWD_COMMAND}`; export r; \
33927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33928 $(NORMAL_TARGET_EXPORTS) \
33929 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33930 for flag in $(EXTRA_TARGET_FLAGS); do \
33931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33932 done; \
33933 (cd $(TARGET_SUBDIR)/boehm-gc && \
33934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33936 "RANLIB=$${RANLIB}" \
33937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33938 maintainer-clean) \
33939 || exit 1
33941 @endif target-boehm-gc
33945 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33946 @if target-qthreads
33947 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
33948 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33949 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
33950 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
33951 @endif target-qthreads
33955 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
33956 maybe-configure-target-qthreads:
33957 @if target-qthreads
33958 maybe-configure-target-qthreads: configure-target-qthreads
33959 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
33960 @$(unstage)
33961 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
33962 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33963 r=`${PWD_COMMAND}`; export r; \
33964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33965 $(NORMAL_TARGET_EXPORTS) \
33966 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
33967 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
33968 case $(srcdir) in \
33969 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33970 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
33971 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33972 esac; \
33973 srcdiroption="--srcdir=$${topdir}/qthreads"; \
33974 libsrcdir="$$s/qthreads"; \
33975 rm -f no-such-file || : ; \
33976 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33977 $(TARGET_CONFIGARGS) $${srcdiroption} \
33978 || exit 1
33979 @endif target-qthreads
33985 .PHONY: all-target-qthreads maybe-all-target-qthreads
33986 maybe-all-target-qthreads:
33987 @if target-qthreads
33988 TARGET-target-qthreads=all
33989 maybe-all-target-qthreads: all-target-qthreads
33990 all-target-qthreads: configure-target-qthreads
33991 @$(unstage)
33992 @r=`${PWD_COMMAND}`; export r; \
33993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33994 $(NORMAL_TARGET_EXPORTS) \
33995 (cd $(TARGET_SUBDIR)/qthreads && \
33996 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
33997 @endif target-qthreads
34003 .PHONY: check-target-qthreads maybe-check-target-qthreads
34004 maybe-check-target-qthreads:
34005 @if target-qthreads
34006 maybe-check-target-qthreads: check-target-qthreads
34008 check-target-qthreads:
34009 @$(unstage)
34010 @r=`${PWD_COMMAND}`; export r; \
34011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34012 $(NORMAL_TARGET_EXPORTS) \
34013 (cd $(TARGET_SUBDIR)/qthreads && \
34014 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34016 @endif target-qthreads
34018 .PHONY: install-target-qthreads maybe-install-target-qthreads
34019 maybe-install-target-qthreads:
34020 @if target-qthreads
34021 maybe-install-target-qthreads: install-target-qthreads
34023 install-target-qthreads: installdirs
34024 @$(unstage)
34025 @r=`${PWD_COMMAND}`; export r; \
34026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34027 $(NORMAL_TARGET_EXPORTS) \
34028 (cd $(TARGET_SUBDIR)/qthreads && \
34029 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34031 @endif target-qthreads
34033 # Other targets (info, dvi, etc.)
34035 .PHONY: maybe-info-target-qthreads info-target-qthreads
34036 maybe-info-target-qthreads:
34037 @if target-qthreads
34038 maybe-info-target-qthreads: info-target-qthreads
34040 info-target-qthreads: \
34041 configure-target-qthreads
34042 @$(unstage)
34043 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34044 r=`${PWD_COMMAND}`; export r; \
34045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34046 $(NORMAL_TARGET_EXPORTS) \
34047 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34048 for flag in $(EXTRA_TARGET_FLAGS); do \
34049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34050 done; \
34051 (cd $(TARGET_SUBDIR)/qthreads && \
34052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34054 "RANLIB=$${RANLIB}" \
34055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34056 info) \
34057 || exit 1
34059 @endif target-qthreads
34061 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34062 maybe-dvi-target-qthreads:
34063 @if target-qthreads
34064 maybe-dvi-target-qthreads: dvi-target-qthreads
34066 dvi-target-qthreads: \
34067 configure-target-qthreads
34068 @$(unstage)
34069 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34070 r=`${PWD_COMMAND}`; export r; \
34071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34072 $(NORMAL_TARGET_EXPORTS) \
34073 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34074 for flag in $(EXTRA_TARGET_FLAGS); do \
34075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34076 done; \
34077 (cd $(TARGET_SUBDIR)/qthreads && \
34078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34080 "RANLIB=$${RANLIB}" \
34081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34082 dvi) \
34083 || exit 1
34085 @endif target-qthreads
34087 .PHONY: maybe-html-target-qthreads html-target-qthreads
34088 maybe-html-target-qthreads:
34089 @if target-qthreads
34090 maybe-html-target-qthreads: html-target-qthreads
34092 html-target-qthreads: \
34093 configure-target-qthreads
34094 @$(unstage)
34095 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34096 r=`${PWD_COMMAND}`; export r; \
34097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34098 $(NORMAL_TARGET_EXPORTS) \
34099 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34100 for flag in $(EXTRA_TARGET_FLAGS); do \
34101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34102 done; \
34103 (cd $(TARGET_SUBDIR)/qthreads && \
34104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34106 "RANLIB=$${RANLIB}" \
34107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34108 html) \
34109 || exit 1
34111 @endif target-qthreads
34113 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34114 maybe-TAGS-target-qthreads:
34115 @if target-qthreads
34116 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34118 TAGS-target-qthreads: \
34119 configure-target-qthreads
34120 @$(unstage)
34121 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34122 r=`${PWD_COMMAND}`; export r; \
34123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34124 $(NORMAL_TARGET_EXPORTS) \
34125 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34126 for flag in $(EXTRA_TARGET_FLAGS); do \
34127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34128 done; \
34129 (cd $(TARGET_SUBDIR)/qthreads && \
34130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34132 "RANLIB=$${RANLIB}" \
34133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34134 TAGS) \
34135 || exit 1
34137 @endif target-qthreads
34139 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34140 maybe-install-info-target-qthreads:
34141 @if target-qthreads
34142 maybe-install-info-target-qthreads: install-info-target-qthreads
34144 install-info-target-qthreads: \
34145 configure-target-qthreads \
34146 info-target-qthreads
34147 @$(unstage)
34148 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34149 r=`${PWD_COMMAND}`; export r; \
34150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34151 $(NORMAL_TARGET_EXPORTS) \
34152 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34153 for flag in $(EXTRA_TARGET_FLAGS); do \
34154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34155 done; \
34156 (cd $(TARGET_SUBDIR)/qthreads && \
34157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34159 "RANLIB=$${RANLIB}" \
34160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34161 install-info) \
34162 || exit 1
34164 @endif target-qthreads
34166 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34167 maybe-installcheck-target-qthreads:
34168 @if target-qthreads
34169 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34171 installcheck-target-qthreads: \
34172 configure-target-qthreads
34173 @$(unstage)
34174 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34175 r=`${PWD_COMMAND}`; export r; \
34176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34177 $(NORMAL_TARGET_EXPORTS) \
34178 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34179 for flag in $(EXTRA_TARGET_FLAGS); do \
34180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34181 done; \
34182 (cd $(TARGET_SUBDIR)/qthreads && \
34183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34185 "RANLIB=$${RANLIB}" \
34186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34187 installcheck) \
34188 || exit 1
34190 @endif target-qthreads
34192 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34193 maybe-mostlyclean-target-qthreads:
34194 @if target-qthreads
34195 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34197 mostlyclean-target-qthreads:
34198 @$(unstage)
34199 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34200 r=`${PWD_COMMAND}`; export r; \
34201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34202 $(NORMAL_TARGET_EXPORTS) \
34203 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34204 for flag in $(EXTRA_TARGET_FLAGS); do \
34205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34206 done; \
34207 (cd $(TARGET_SUBDIR)/qthreads && \
34208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34210 "RANLIB=$${RANLIB}" \
34211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34212 mostlyclean) \
34213 || exit 1
34215 @endif target-qthreads
34217 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34218 maybe-clean-target-qthreads:
34219 @if target-qthreads
34220 maybe-clean-target-qthreads: clean-target-qthreads
34222 clean-target-qthreads:
34223 @$(unstage)
34224 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34225 r=`${PWD_COMMAND}`; export r; \
34226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34227 $(NORMAL_TARGET_EXPORTS) \
34228 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34229 for flag in $(EXTRA_TARGET_FLAGS); do \
34230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34231 done; \
34232 (cd $(TARGET_SUBDIR)/qthreads && \
34233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34235 "RANLIB=$${RANLIB}" \
34236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34237 clean) \
34238 || exit 1
34240 @endif target-qthreads
34242 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34243 maybe-distclean-target-qthreads:
34244 @if target-qthreads
34245 maybe-distclean-target-qthreads: distclean-target-qthreads
34247 distclean-target-qthreads:
34248 @$(unstage)
34249 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34250 r=`${PWD_COMMAND}`; export r; \
34251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34252 $(NORMAL_TARGET_EXPORTS) \
34253 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34254 for flag in $(EXTRA_TARGET_FLAGS); do \
34255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34256 done; \
34257 (cd $(TARGET_SUBDIR)/qthreads && \
34258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34260 "RANLIB=$${RANLIB}" \
34261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34262 distclean) \
34263 || exit 1
34265 @endif target-qthreads
34267 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34268 maybe-maintainer-clean-target-qthreads:
34269 @if target-qthreads
34270 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34272 maintainer-clean-target-qthreads:
34273 @$(unstage)
34274 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34275 r=`${PWD_COMMAND}`; export r; \
34276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34277 $(NORMAL_TARGET_EXPORTS) \
34278 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34279 for flag in $(EXTRA_TARGET_FLAGS); do \
34280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34281 done; \
34282 (cd $(TARGET_SUBDIR)/qthreads && \
34283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34285 "RANLIB=$${RANLIB}" \
34286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34287 maintainer-clean) \
34288 || exit 1
34290 @endif target-qthreads
34294 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34295 @if target-rda
34296 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
34297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34298 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
34299 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
34300 @endif target-rda
34304 .PHONY: configure-target-rda maybe-configure-target-rda
34305 maybe-configure-target-rda:
34306 @if target-rda
34307 maybe-configure-target-rda: configure-target-rda
34308 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
34309 @$(unstage)
34310 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34311 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34312 r=`${PWD_COMMAND}`; export r; \
34313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34314 $(NORMAL_TARGET_EXPORTS) \
34315 echo Configuring in $(TARGET_SUBDIR)/rda; \
34316 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34317 case $(srcdir) in \
34318 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34319 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34320 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34321 esac; \
34322 srcdiroption="--srcdir=$${topdir}/rda"; \
34323 libsrcdir="$$s/rda"; \
34324 rm -f no-such-file || : ; \
34325 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34326 $(TARGET_CONFIGARGS) $${srcdiroption} \
34327 || exit 1
34328 @endif target-rda
34334 .PHONY: all-target-rda maybe-all-target-rda
34335 maybe-all-target-rda:
34336 @if target-rda
34337 TARGET-target-rda=all
34338 maybe-all-target-rda: all-target-rda
34339 all-target-rda: configure-target-rda
34340 @$(unstage)
34341 @r=`${PWD_COMMAND}`; export r; \
34342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34343 $(NORMAL_TARGET_EXPORTS) \
34344 (cd $(TARGET_SUBDIR)/rda && \
34345 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34346 @endif target-rda
34352 .PHONY: check-target-rda maybe-check-target-rda
34353 maybe-check-target-rda:
34354 @if target-rda
34355 maybe-check-target-rda: check-target-rda
34357 check-target-rda:
34358 @$(unstage)
34359 @r=`${PWD_COMMAND}`; export r; \
34360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34361 $(NORMAL_TARGET_EXPORTS) \
34362 (cd $(TARGET_SUBDIR)/rda && \
34363 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34365 @endif target-rda
34367 .PHONY: install-target-rda maybe-install-target-rda
34368 maybe-install-target-rda:
34369 @if target-rda
34370 maybe-install-target-rda: install-target-rda
34372 install-target-rda: installdirs
34373 @$(unstage)
34374 @r=`${PWD_COMMAND}`; export r; \
34375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34376 $(NORMAL_TARGET_EXPORTS) \
34377 (cd $(TARGET_SUBDIR)/rda && \
34378 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34380 @endif target-rda
34382 # Other targets (info, dvi, etc.)
34384 .PHONY: maybe-info-target-rda info-target-rda
34385 maybe-info-target-rda:
34386 @if target-rda
34387 maybe-info-target-rda: info-target-rda
34389 info-target-rda: \
34390 configure-target-rda
34391 @$(unstage)
34392 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34393 r=`${PWD_COMMAND}`; export r; \
34394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34395 $(NORMAL_TARGET_EXPORTS) \
34396 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34397 for flag in $(EXTRA_TARGET_FLAGS); do \
34398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34399 done; \
34400 (cd $(TARGET_SUBDIR)/rda && \
34401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34403 "RANLIB=$${RANLIB}" \
34404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34405 info) \
34406 || exit 1
34408 @endif target-rda
34410 .PHONY: maybe-dvi-target-rda dvi-target-rda
34411 maybe-dvi-target-rda:
34412 @if target-rda
34413 maybe-dvi-target-rda: dvi-target-rda
34415 dvi-target-rda: \
34416 configure-target-rda
34417 @$(unstage)
34418 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34419 r=`${PWD_COMMAND}`; export r; \
34420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34421 $(NORMAL_TARGET_EXPORTS) \
34422 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34423 for flag in $(EXTRA_TARGET_FLAGS); do \
34424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34425 done; \
34426 (cd $(TARGET_SUBDIR)/rda && \
34427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34429 "RANLIB=$${RANLIB}" \
34430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34431 dvi) \
34432 || exit 1
34434 @endif target-rda
34436 .PHONY: maybe-html-target-rda html-target-rda
34437 maybe-html-target-rda:
34438 @if target-rda
34439 maybe-html-target-rda: html-target-rda
34441 html-target-rda: \
34442 configure-target-rda
34443 @$(unstage)
34444 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34445 r=`${PWD_COMMAND}`; export r; \
34446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34447 $(NORMAL_TARGET_EXPORTS) \
34448 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34449 for flag in $(EXTRA_TARGET_FLAGS); do \
34450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34451 done; \
34452 (cd $(TARGET_SUBDIR)/rda && \
34453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34455 "RANLIB=$${RANLIB}" \
34456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34457 html) \
34458 || exit 1
34460 @endif target-rda
34462 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
34463 maybe-TAGS-target-rda:
34464 @if target-rda
34465 maybe-TAGS-target-rda: TAGS-target-rda
34467 TAGS-target-rda: \
34468 configure-target-rda
34469 @$(unstage)
34470 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34471 r=`${PWD_COMMAND}`; export r; \
34472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34473 $(NORMAL_TARGET_EXPORTS) \
34474 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
34475 for flag in $(EXTRA_TARGET_FLAGS); do \
34476 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34477 done; \
34478 (cd $(TARGET_SUBDIR)/rda && \
34479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34481 "RANLIB=$${RANLIB}" \
34482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34483 TAGS) \
34484 || exit 1
34486 @endif target-rda
34488 .PHONY: maybe-install-info-target-rda install-info-target-rda
34489 maybe-install-info-target-rda:
34490 @if target-rda
34491 maybe-install-info-target-rda: install-info-target-rda
34493 install-info-target-rda: \
34494 configure-target-rda \
34495 info-target-rda
34496 @$(unstage)
34497 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34498 r=`${PWD_COMMAND}`; export r; \
34499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34500 $(NORMAL_TARGET_EXPORTS) \
34501 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
34502 for flag in $(EXTRA_TARGET_FLAGS); do \
34503 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34504 done; \
34505 (cd $(TARGET_SUBDIR)/rda && \
34506 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34507 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34508 "RANLIB=$${RANLIB}" \
34509 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34510 install-info) \
34511 || exit 1
34513 @endif target-rda
34515 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
34516 maybe-installcheck-target-rda:
34517 @if target-rda
34518 maybe-installcheck-target-rda: installcheck-target-rda
34520 installcheck-target-rda: \
34521 configure-target-rda
34522 @$(unstage)
34523 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34524 r=`${PWD_COMMAND}`; export r; \
34525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34526 $(NORMAL_TARGET_EXPORTS) \
34527 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
34528 for flag in $(EXTRA_TARGET_FLAGS); do \
34529 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34530 done; \
34531 (cd $(TARGET_SUBDIR)/rda && \
34532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34534 "RANLIB=$${RANLIB}" \
34535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34536 installcheck) \
34537 || exit 1
34539 @endif target-rda
34541 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
34542 maybe-mostlyclean-target-rda:
34543 @if target-rda
34544 maybe-mostlyclean-target-rda: mostlyclean-target-rda
34546 mostlyclean-target-rda:
34547 @$(unstage)
34548 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34549 r=`${PWD_COMMAND}`; export r; \
34550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34551 $(NORMAL_TARGET_EXPORTS) \
34552 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
34553 for flag in $(EXTRA_TARGET_FLAGS); do \
34554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34555 done; \
34556 (cd $(TARGET_SUBDIR)/rda && \
34557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34559 "RANLIB=$${RANLIB}" \
34560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34561 mostlyclean) \
34562 || exit 1
34564 @endif target-rda
34566 .PHONY: maybe-clean-target-rda clean-target-rda
34567 maybe-clean-target-rda:
34568 @if target-rda
34569 maybe-clean-target-rda: clean-target-rda
34571 clean-target-rda:
34572 @$(unstage)
34573 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34574 r=`${PWD_COMMAND}`; export r; \
34575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34576 $(NORMAL_TARGET_EXPORTS) \
34577 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
34578 for flag in $(EXTRA_TARGET_FLAGS); do \
34579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34580 done; \
34581 (cd $(TARGET_SUBDIR)/rda && \
34582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34584 "RANLIB=$${RANLIB}" \
34585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34586 clean) \
34587 || exit 1
34589 @endif target-rda
34591 .PHONY: maybe-distclean-target-rda distclean-target-rda
34592 maybe-distclean-target-rda:
34593 @if target-rda
34594 maybe-distclean-target-rda: distclean-target-rda
34596 distclean-target-rda:
34597 @$(unstage)
34598 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34599 r=`${PWD_COMMAND}`; export r; \
34600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34601 $(NORMAL_TARGET_EXPORTS) \
34602 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
34603 for flag in $(EXTRA_TARGET_FLAGS); do \
34604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34605 done; \
34606 (cd $(TARGET_SUBDIR)/rda && \
34607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34609 "RANLIB=$${RANLIB}" \
34610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34611 distclean) \
34612 || exit 1
34614 @endif target-rda
34616 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
34617 maybe-maintainer-clean-target-rda:
34618 @if target-rda
34619 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
34621 maintainer-clean-target-rda:
34622 @$(unstage)
34623 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34624 r=`${PWD_COMMAND}`; export r; \
34625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34626 $(NORMAL_TARGET_EXPORTS) \
34627 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
34628 for flag in $(EXTRA_TARGET_FLAGS); do \
34629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34630 done; \
34631 (cd $(TARGET_SUBDIR)/rda && \
34632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34634 "RANLIB=$${RANLIB}" \
34635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34636 maintainer-clean) \
34637 || exit 1
34639 @endif target-rda
34643 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34644 @if target-libada
34645 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
34646 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34647 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
34648 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
34649 @endif target-libada
34653 .PHONY: configure-target-libada maybe-configure-target-libada
34654 maybe-configure-target-libada:
34655 @if target-libada
34656 maybe-configure-target-libada: configure-target-libada
34657 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
34658 @$(unstage)
34659 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
34660 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34661 r=`${PWD_COMMAND}`; export r; \
34662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34663 $(NORMAL_TARGET_EXPORTS) \
34664 echo Configuring in $(TARGET_SUBDIR)/libada; \
34665 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
34666 case $(srcdir) in \
34667 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34668 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
34669 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34670 esac; \
34671 srcdiroption="--srcdir=$${topdir}/libada"; \
34672 libsrcdir="$$s/libada"; \
34673 rm -f no-such-file || : ; \
34674 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34675 $(TARGET_CONFIGARGS) $${srcdiroption} \
34676 || exit 1
34677 @endif target-libada
34683 .PHONY: all-target-libada maybe-all-target-libada
34684 maybe-all-target-libada:
34685 @if target-libada
34686 TARGET-target-libada=all
34687 maybe-all-target-libada: all-target-libada
34688 all-target-libada: configure-target-libada
34689 @$(unstage)
34690 @r=`${PWD_COMMAND}`; export r; \
34691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34692 $(NORMAL_TARGET_EXPORTS) \
34693 (cd $(TARGET_SUBDIR)/libada && \
34694 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
34695 @endif target-libada
34701 .PHONY: check-target-libada maybe-check-target-libada
34702 maybe-check-target-libada:
34703 @if target-libada
34704 maybe-check-target-libada: check-target-libada
34706 check-target-libada:
34707 @$(unstage)
34708 @r=`${PWD_COMMAND}`; export r; \
34709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34710 $(NORMAL_TARGET_EXPORTS) \
34711 (cd $(TARGET_SUBDIR)/libada && \
34712 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34714 @endif target-libada
34716 .PHONY: install-target-libada maybe-install-target-libada
34717 maybe-install-target-libada:
34718 @if target-libada
34719 maybe-install-target-libada: install-target-libada
34721 install-target-libada: installdirs
34722 @$(unstage)
34723 @r=`${PWD_COMMAND}`; export r; \
34724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34725 $(NORMAL_TARGET_EXPORTS) \
34726 (cd $(TARGET_SUBDIR)/libada && \
34727 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34729 @endif target-libada
34731 # Other targets (info, dvi, etc.)
34733 .PHONY: maybe-info-target-libada info-target-libada
34734 maybe-info-target-libada:
34735 @if target-libada
34736 maybe-info-target-libada: info-target-libada
34738 info-target-libada: \
34739 configure-target-libada
34740 @$(unstage)
34741 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34742 r=`${PWD_COMMAND}`; export r; \
34743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34744 $(NORMAL_TARGET_EXPORTS) \
34745 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
34746 for flag in $(EXTRA_TARGET_FLAGS); do \
34747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34748 done; \
34749 (cd $(TARGET_SUBDIR)/libada && \
34750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34752 "RANLIB=$${RANLIB}" \
34753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34754 info) \
34755 || exit 1
34757 @endif target-libada
34759 .PHONY: maybe-dvi-target-libada dvi-target-libada
34760 maybe-dvi-target-libada:
34761 @if target-libada
34762 maybe-dvi-target-libada: dvi-target-libada
34764 dvi-target-libada: \
34765 configure-target-libada
34766 @$(unstage)
34767 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34768 r=`${PWD_COMMAND}`; export r; \
34769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34770 $(NORMAL_TARGET_EXPORTS) \
34771 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
34772 for flag in $(EXTRA_TARGET_FLAGS); do \
34773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34774 done; \
34775 (cd $(TARGET_SUBDIR)/libada && \
34776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34778 "RANLIB=$${RANLIB}" \
34779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34780 dvi) \
34781 || exit 1
34783 @endif target-libada
34785 .PHONY: maybe-html-target-libada html-target-libada
34786 maybe-html-target-libada:
34787 @if target-libada
34788 maybe-html-target-libada: html-target-libada
34790 html-target-libada: \
34791 configure-target-libada
34792 @$(unstage)
34793 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34794 r=`${PWD_COMMAND}`; export r; \
34795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34796 $(NORMAL_TARGET_EXPORTS) \
34797 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
34798 for flag in $(EXTRA_TARGET_FLAGS); do \
34799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34800 done; \
34801 (cd $(TARGET_SUBDIR)/libada && \
34802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34804 "RANLIB=$${RANLIB}" \
34805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34806 html) \
34807 || exit 1
34809 @endif target-libada
34811 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
34812 maybe-TAGS-target-libada:
34813 @if target-libada
34814 maybe-TAGS-target-libada: TAGS-target-libada
34816 TAGS-target-libada: \
34817 configure-target-libada
34818 @$(unstage)
34819 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34820 r=`${PWD_COMMAND}`; export r; \
34821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34822 $(NORMAL_TARGET_EXPORTS) \
34823 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
34824 for flag in $(EXTRA_TARGET_FLAGS); do \
34825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34826 done; \
34827 (cd $(TARGET_SUBDIR)/libada && \
34828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34830 "RANLIB=$${RANLIB}" \
34831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34832 TAGS) \
34833 || exit 1
34835 @endif target-libada
34837 .PHONY: maybe-install-info-target-libada install-info-target-libada
34838 maybe-install-info-target-libada:
34839 @if target-libada
34840 maybe-install-info-target-libada: install-info-target-libada
34842 install-info-target-libada: \
34843 configure-target-libada \
34844 info-target-libada
34845 @$(unstage)
34846 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34847 r=`${PWD_COMMAND}`; export r; \
34848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34849 $(NORMAL_TARGET_EXPORTS) \
34850 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
34851 for flag in $(EXTRA_TARGET_FLAGS); do \
34852 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34853 done; \
34854 (cd $(TARGET_SUBDIR)/libada && \
34855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34857 "RANLIB=$${RANLIB}" \
34858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34859 install-info) \
34860 || exit 1
34862 @endif target-libada
34864 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
34865 maybe-installcheck-target-libada:
34866 @if target-libada
34867 maybe-installcheck-target-libada: installcheck-target-libada
34869 installcheck-target-libada: \
34870 configure-target-libada
34871 @$(unstage)
34872 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34873 r=`${PWD_COMMAND}`; export r; \
34874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34875 $(NORMAL_TARGET_EXPORTS) \
34876 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
34877 for flag in $(EXTRA_TARGET_FLAGS); do \
34878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34879 done; \
34880 (cd $(TARGET_SUBDIR)/libada && \
34881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34883 "RANLIB=$${RANLIB}" \
34884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34885 installcheck) \
34886 || exit 1
34888 @endif target-libada
34890 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
34891 maybe-mostlyclean-target-libada:
34892 @if target-libada
34893 maybe-mostlyclean-target-libada: mostlyclean-target-libada
34895 mostlyclean-target-libada:
34896 @$(unstage)
34897 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34898 r=`${PWD_COMMAND}`; export r; \
34899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34900 $(NORMAL_TARGET_EXPORTS) \
34901 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
34902 for flag in $(EXTRA_TARGET_FLAGS); do \
34903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34904 done; \
34905 (cd $(TARGET_SUBDIR)/libada && \
34906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34908 "RANLIB=$${RANLIB}" \
34909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34910 mostlyclean) \
34911 || exit 1
34913 @endif target-libada
34915 .PHONY: maybe-clean-target-libada clean-target-libada
34916 maybe-clean-target-libada:
34917 @if target-libada
34918 maybe-clean-target-libada: clean-target-libada
34920 clean-target-libada:
34921 @$(unstage)
34922 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34923 r=`${PWD_COMMAND}`; export r; \
34924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34925 $(NORMAL_TARGET_EXPORTS) \
34926 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
34927 for flag in $(EXTRA_TARGET_FLAGS); do \
34928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34929 done; \
34930 (cd $(TARGET_SUBDIR)/libada && \
34931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34933 "RANLIB=$${RANLIB}" \
34934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34935 clean) \
34936 || exit 1
34938 @endif target-libada
34940 .PHONY: maybe-distclean-target-libada distclean-target-libada
34941 maybe-distclean-target-libada:
34942 @if target-libada
34943 maybe-distclean-target-libada: distclean-target-libada
34945 distclean-target-libada:
34946 @$(unstage)
34947 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34948 r=`${PWD_COMMAND}`; export r; \
34949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34950 $(NORMAL_TARGET_EXPORTS) \
34951 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
34952 for flag in $(EXTRA_TARGET_FLAGS); do \
34953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34954 done; \
34955 (cd $(TARGET_SUBDIR)/libada && \
34956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34958 "RANLIB=$${RANLIB}" \
34959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34960 distclean) \
34961 || exit 1
34963 @endif target-libada
34965 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
34966 maybe-maintainer-clean-target-libada:
34967 @if target-libada
34968 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
34970 maintainer-clean-target-libada:
34971 @$(unstage)
34972 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34973 r=`${PWD_COMMAND}`; export r; \
34974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34975 $(NORMAL_TARGET_EXPORTS) \
34976 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
34977 for flag in $(EXTRA_TARGET_FLAGS); do \
34978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34979 done; \
34980 (cd $(TARGET_SUBDIR)/libada && \
34981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34983 "RANLIB=$${RANLIB}" \
34984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34985 maintainer-clean) \
34986 || exit 1
34988 @endif target-libada
34992 # ----------
34993 # GCC module
34994 # ----------
34996 @if gcc-no-bootstrap
34997 # GCC has some more recursive targets, which trigger the old
34998 # (but still current, until the toplevel bootstrap project
34999 # is finished) compiler bootstrapping rules.
35001 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35002 .PHONY: $(GCC_STRAP_TARGETS)
35003 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35004 @r=`${PWD_COMMAND}`; export r; \
35005 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35006 $(HOST_EXPORTS) \
35007 echo "Bootstrapping the compiler"; \
35008 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35009 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35010 @r=`${PWD_COMMAND}`; export r; \
35011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35012 case "$@" in \
35013 *bootstrap4-lean ) \
35014 msg="Comparing stage3 and stage4 of the compiler"; \
35015 compare=compare3-lean ;; \
35016 *bootstrap4 ) \
35017 msg="Comparing stage3 and stage4 of the compiler"; \
35018 compare=compare3 ;; \
35019 *-lean ) \
35020 msg="Comparing stage2 and stage3 of the compiler"; \
35021 compare=compare-lean ;; \
35022 * ) \
35023 msg="Comparing stage2 and stage3 of the compiler"; \
35024 compare=compare ;; \
35025 esac; \
35026 $(HOST_EXPORTS) \
35027 echo "$$msg"; \
35028 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35029 @r=`${PWD_COMMAND}`; export r; \
35030 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35031 echo "Building runtime libraries"; \
35032 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35034 profiledbootstrap: all-prebootstrap configure-gcc
35035 @r=`${PWD_COMMAND}`; export r; \
35036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35037 $(HOST_EXPORTS) \
35038 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35039 echo "Bootstrapping training compiler"; \
35040 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35041 @r=`${PWD_COMMAND}`; export r; \
35042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35043 $(HOST_EXPORTS) \
35044 echo "Building feedback based compiler"; \
35045 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35046 @r=`${PWD_COMMAND}`; export r; \
35047 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35048 echo "Building runtime libraries"; \
35049 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35051 .PHONY: cross
35052 cross: all-build all-gas all-ld
35053 @r=`${PWD_COMMAND}`; export r; \
35054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35055 $(HOST_EXPORTS) \
35056 echo "Building the C and C++ compiler"; \
35057 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35058 @r=`${PWD_COMMAND}`; export r; \
35059 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35060 echo "Building runtime libraries"; \
35061 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35062 @endif gcc-no-bootstrap
35064 @if gcc
35065 .PHONY: check-gcc-c++
35066 check-gcc-c++:
35067 @if [ -f ./gcc/Makefile ] ; then \
35068 r=`${PWD_COMMAND}`; export r; \
35069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35070 $(HOST_EXPORTS) \
35071 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35072 else \
35073 true; \
35076 .PHONY: check-c++
35077 check-c++: check-target-libstdc++-v3 check-gcc-c++
35079 # Install the gcc headers files, but not the fixed include files,
35080 # which Cygnus is not allowed to distribute. This rule is very
35081 # dependent on the workings of the gcc Makefile.in.
35082 .PHONY: gcc-no-fixedincludes
35083 gcc-no-fixedincludes:
35084 @if [ -f ./gcc/Makefile ]; then \
35085 rm -rf gcc/tmp-include; \
35086 mv gcc/include gcc/tmp-include 2>/dev/null; \
35087 mkdir gcc/include; \
35088 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35089 touch gcc/stmp-fixinc gcc/include/fixed; \
35090 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35091 r=`${PWD_COMMAND}`; export r; \
35092 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35093 $(HOST_EXPORTS) \
35094 (cd ./gcc && \
35095 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35096 rm -rf gcc/include; \
35097 mv gcc/tmp-include gcc/include 2>/dev/null; \
35098 else true; fi
35099 @endif gcc
35101 # ---------------------
35102 # GCC bootstrap support
35103 # ---------------------
35105 # We track the current stage (the one in 'gcc') in the stage_current file.
35106 # stage_last instead tracks the stage that was built last. These targets
35107 # are dummy when toplevel bootstrap is not active.
35109 # While making host and target tools, symlinks to the final stage must be
35110 # there, so $(MAKE) $(unstage) should be run at various points. To avoid
35111 # excessive recursive invocations of make, we "inline" them using a variable.
35113 unstage = :
35114 stage = :
35116 @if gcc-bootstrap
35117 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35118 stage = $(MAKE) `cat stage_current`-end
35119 @endif gcc-bootstrap
35121 .PHONY: unstage stage
35122 unstage:
35123 @$(unstage)
35124 stage:
35125 @$(stage)
35127 # We name the build directories for the various stages "stage1-gcc",
35128 # "stage2-gcc","stage3-gcc", etc.
35130 # Since the 'compare' process will fail (on debugging information) if any
35131 # directory names are different, we need to link the gcc directory for
35132 # the previous stage to a constant name ('gcc-prev'), and to make the name of
35133 # the build directories constant as well. For the latter, we use naked names
35134 # like 'gcc', because the scripts in that directory assume it. We use
35135 # mv on platforms where symlinks to directories do not work or are not
35136 # reliable.
35138 # 'touch' doesn't work right on some platforms.
35139 STAMP = echo timestamp >
35141 # Only build the C compiler for stage1, because that is the only one that
35142 # we can guarantee will build with the native compiler, and also it is the
35143 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35144 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35145 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35147 STAGE1_CFLAGS=@stage1_cflags@
35148 STAGE1_LANGUAGES=@stage1_languages@
35150 # We only want to compare .o files, so set this!
35151 objext = .o
35153 # Flags to pass to stage2 and later makes.
35154 POSTSTAGE1_FLAGS_TO_PASS = \
35155 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35156 STAGE_PREFIX=$$r/prev-gcc/ \
35157 CFLAGS="$(BOOT_CFLAGS)" \
35158 ADAC="\$$(CC)"
35160 # For stage 1:
35161 # * We force-disable intermodule optimizations, even if
35162 # --enable-intermodule was passed, since the installed compiler probably
35163 # can't handle them. Luckily, autoconf always respects
35164 # the last argument when conflicting --enable arguments are passed.
35165 # * Likewise, we force-disable coverage flags, since the installed compiler
35166 # probably has never heard of them.
35167 # * We build only C (and possibly Ada).
35170 .PHONY: stage1-start stage1-end
35172 stage1-start::
35173 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35174 echo stage1 > stage_current ; \
35175 echo stage1 > stage_last; \
35176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35177 @if bfd
35178 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35179 mkdir stage1-bfd; \
35180 set stage1-bfd bfd ; \
35181 @CREATE_LINK_TO_DIR@
35182 @endif bfd
35183 @if opcodes
35184 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35185 mkdir stage1-opcodes; \
35186 set stage1-opcodes opcodes ; \
35187 @CREATE_LINK_TO_DIR@
35188 @endif opcodes
35189 @if binutils
35190 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35191 mkdir stage1-binutils; \
35192 set stage1-binutils binutils ; \
35193 @CREATE_LINK_TO_DIR@
35194 @endif binutils
35195 @if gas
35196 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35197 mkdir stage1-gas; \
35198 set stage1-gas gas ; \
35199 @CREATE_LINK_TO_DIR@
35200 @endif gas
35201 @if gcc
35202 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35203 mkdir stage1-gcc; \
35204 set stage1-gcc gcc ; \
35205 @CREATE_LINK_TO_DIR@
35206 @endif gcc
35207 @if intl
35208 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35209 mkdir stage1-intl; \
35210 set stage1-intl intl ; \
35211 @CREATE_LINK_TO_DIR@
35212 @endif intl
35213 @if ld
35214 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35215 mkdir stage1-ld; \
35216 set stage1-ld ld ; \
35217 @CREATE_LINK_TO_DIR@
35218 @endif ld
35219 @if libcpp
35220 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35221 mkdir stage1-libcpp; \
35222 set stage1-libcpp libcpp ; \
35223 @CREATE_LINK_TO_DIR@
35224 @endif libcpp
35225 @if libiberty
35226 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35227 mkdir stage1-libiberty; \
35228 set stage1-libiberty libiberty ; \
35229 @CREATE_LINK_TO_DIR@
35230 @endif libiberty
35231 @if zlib
35232 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35233 mkdir stage1-zlib; \
35234 set stage1-zlib zlib ; \
35235 @CREATE_LINK_TO_DIR@
35236 @endif zlib
35238 stage1-end::
35239 @rm -f stage_current
35240 @if bfd
35241 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35242 @UNDO_LINK_TO_DIR@
35243 @endif bfd
35244 @if opcodes
35245 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35246 @UNDO_LINK_TO_DIR@
35247 @endif opcodes
35248 @if binutils
35249 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35250 @UNDO_LINK_TO_DIR@
35251 @endif binutils
35252 @if gas
35253 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35254 @UNDO_LINK_TO_DIR@
35255 @endif gas
35256 @if gcc
35257 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35258 @UNDO_LINK_TO_DIR@
35259 @endif gcc
35260 @if intl
35261 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35262 @UNDO_LINK_TO_DIR@
35263 @endif intl
35264 @if ld
35265 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35266 @UNDO_LINK_TO_DIR@
35267 @endif ld
35268 @if libcpp
35269 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35270 @UNDO_LINK_TO_DIR@
35271 @endif libcpp
35272 @if libiberty
35273 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35274 @UNDO_LINK_TO_DIR@
35275 @endif libiberty
35276 @if zlib
35277 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35278 @UNDO_LINK_TO_DIR@
35279 @endif zlib
35281 # Bubble a bugfix through all the stages up to stage 1. They
35282 # are remade, but not reconfigured. The next stage (if any) will not
35283 # be reconfigured as well.
35284 .PHONY: stage1-bubble
35285 stage1-bubble::
35286 @r=`${PWD_COMMAND}`; export r; \
35287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35288 if test -f stage1-lean ; then \
35289 echo Skipping rebuild of stage1 ; \
35290 else \
35291 $(MAKE) stage1-start; \
35292 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35295 .PHONY: all-stage1 clean-stage1
35296 do-clean: clean-stage1
35298 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35299 # only possibility, but now it conflicts with no-bootstrap rules
35300 @if gcc-bootstrap
35305 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35307 .PHONY: distclean-stage1
35308 distclean-stage1::
35309 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35310 rm -rf stage1-*
35313 @endif gcc-bootstrap
35316 .PHONY: stage2-start stage2-end
35318 stage2-start::
35319 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35320 echo stage2 > stage_current ; \
35321 echo stage2 > stage_last; \
35322 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35323 @if bfd
35324 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35325 mkdir stage2-bfd; \
35326 set stage2-bfd bfd ; \
35327 @CREATE_LINK_TO_DIR@ ; \
35328 set stage1-bfd prev-bfd ; \
35329 @CREATE_LINK_TO_DIR@
35330 @endif bfd
35331 @if opcodes
35332 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35333 mkdir stage2-opcodes; \
35334 set stage2-opcodes opcodes ; \
35335 @CREATE_LINK_TO_DIR@ ; \
35336 set stage1-opcodes prev-opcodes ; \
35337 @CREATE_LINK_TO_DIR@
35338 @endif opcodes
35339 @if binutils
35340 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35341 mkdir stage2-binutils; \
35342 set stage2-binutils binutils ; \
35343 @CREATE_LINK_TO_DIR@ ; \
35344 set stage1-binutils prev-binutils ; \
35345 @CREATE_LINK_TO_DIR@
35346 @endif binutils
35347 @if gas
35348 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35349 mkdir stage2-gas; \
35350 set stage2-gas gas ; \
35351 @CREATE_LINK_TO_DIR@ ; \
35352 set stage1-gas prev-gas ; \
35353 @CREATE_LINK_TO_DIR@
35354 @endif gas
35355 @if gcc
35356 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35357 mkdir stage2-gcc; \
35358 set stage2-gcc gcc ; \
35359 @CREATE_LINK_TO_DIR@ ; \
35360 set stage1-gcc prev-gcc ; \
35361 @CREATE_LINK_TO_DIR@
35362 @endif gcc
35363 @if intl
35364 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35365 mkdir stage2-intl; \
35366 set stage2-intl intl ; \
35367 @CREATE_LINK_TO_DIR@ ; \
35368 set stage1-intl prev-intl ; \
35369 @CREATE_LINK_TO_DIR@
35370 @endif intl
35371 @if ld
35372 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35373 mkdir stage2-ld; \
35374 set stage2-ld ld ; \
35375 @CREATE_LINK_TO_DIR@ ; \
35376 set stage1-ld prev-ld ; \
35377 @CREATE_LINK_TO_DIR@
35378 @endif ld
35379 @if libcpp
35380 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35381 mkdir stage2-libcpp; \
35382 set stage2-libcpp libcpp ; \
35383 @CREATE_LINK_TO_DIR@ ; \
35384 set stage1-libcpp prev-libcpp ; \
35385 @CREATE_LINK_TO_DIR@
35386 @endif libcpp
35387 @if libiberty
35388 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35389 mkdir stage2-libiberty; \
35390 set stage2-libiberty libiberty ; \
35391 @CREATE_LINK_TO_DIR@ ; \
35392 set stage1-libiberty prev-libiberty ; \
35393 @CREATE_LINK_TO_DIR@
35394 @endif libiberty
35395 @if zlib
35396 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
35397 mkdir stage2-zlib; \
35398 set stage2-zlib zlib ; \
35399 @CREATE_LINK_TO_DIR@ ; \
35400 set stage1-zlib prev-zlib ; \
35401 @CREATE_LINK_TO_DIR@
35402 @endif zlib
35404 stage2-end::
35405 @rm -f stage_current
35406 @if bfd
35407 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
35408 @UNDO_LINK_TO_DIR@ ; \
35409 set prev-bfd stage1-bfd ; \
35410 @UNDO_LINK_TO_DIR@
35411 @endif bfd
35412 @if opcodes
35413 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
35414 @UNDO_LINK_TO_DIR@ ; \
35415 set prev-opcodes stage1-opcodes ; \
35416 @UNDO_LINK_TO_DIR@
35417 @endif opcodes
35418 @if binutils
35419 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
35420 @UNDO_LINK_TO_DIR@ ; \
35421 set prev-binutils stage1-binutils ; \
35422 @UNDO_LINK_TO_DIR@
35423 @endif binutils
35424 @if gas
35425 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
35426 @UNDO_LINK_TO_DIR@ ; \
35427 set prev-gas stage1-gas ; \
35428 @UNDO_LINK_TO_DIR@
35429 @endif gas
35430 @if gcc
35431 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
35432 @UNDO_LINK_TO_DIR@ ; \
35433 set prev-gcc stage1-gcc ; \
35434 @UNDO_LINK_TO_DIR@
35435 @endif gcc
35436 @if intl
35437 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
35438 @UNDO_LINK_TO_DIR@ ; \
35439 set prev-intl stage1-intl ; \
35440 @UNDO_LINK_TO_DIR@
35441 @endif intl
35442 @if ld
35443 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
35444 @UNDO_LINK_TO_DIR@ ; \
35445 set prev-ld stage1-ld ; \
35446 @UNDO_LINK_TO_DIR@
35447 @endif ld
35448 @if libcpp
35449 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
35450 @UNDO_LINK_TO_DIR@ ; \
35451 set prev-libcpp stage1-libcpp ; \
35452 @UNDO_LINK_TO_DIR@
35453 @endif libcpp
35454 @if libiberty
35455 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
35456 @UNDO_LINK_TO_DIR@ ; \
35457 set prev-libiberty stage1-libiberty ; \
35458 @UNDO_LINK_TO_DIR@
35459 @endif libiberty
35460 @if zlib
35461 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
35462 @UNDO_LINK_TO_DIR@ ; \
35463 set prev-zlib stage1-zlib ; \
35464 @UNDO_LINK_TO_DIR@
35465 @endif zlib
35467 # Bubble a bugfix through all the stages up to stage 2. They
35468 # are remade, but not reconfigured. The next stage (if any) will not
35469 # be reconfigured as well.
35470 .PHONY: stage2-bubble
35471 stage2-bubble:: stage1-bubble
35472 @r=`${PWD_COMMAND}`; export r; \
35473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35474 if test -f stage2-lean || test -f stage1-lean ; then \
35475 echo Skipping rebuild of stage2 ; \
35476 else \
35477 $(MAKE) stage2-start; \
35478 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
35481 .PHONY: all-stage2 clean-stage2
35482 do-clean: clean-stage2
35484 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35485 # only possibility, but now it conflicts with no-bootstrap rules
35486 @if gcc-bootstrap
35490 .PHONY: bootstrap2
35491 bootstrap2: stage2-bubble
35492 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35495 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35496 distclean-stage1:: distclean-stage2
35497 .PHONY: distclean-stage2
35498 distclean-stage2::
35499 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35500 rm -rf stage2-*
35503 @endif gcc-bootstrap
35506 .PHONY: stage3-start stage3-end
35508 stage3-start::
35509 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35510 echo stage3 > stage_current ; \
35511 echo stage3 > stage_last; \
35512 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35513 @if bfd
35514 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
35515 mkdir stage3-bfd; \
35516 set stage3-bfd bfd ; \
35517 @CREATE_LINK_TO_DIR@ ; \
35518 set stage2-bfd prev-bfd ; \
35519 @CREATE_LINK_TO_DIR@
35520 @endif bfd
35521 @if opcodes
35522 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
35523 mkdir stage3-opcodes; \
35524 set stage3-opcodes opcodes ; \
35525 @CREATE_LINK_TO_DIR@ ; \
35526 set stage2-opcodes prev-opcodes ; \
35527 @CREATE_LINK_TO_DIR@
35528 @endif opcodes
35529 @if binutils
35530 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
35531 mkdir stage3-binutils; \
35532 set stage3-binutils binutils ; \
35533 @CREATE_LINK_TO_DIR@ ; \
35534 set stage2-binutils prev-binutils ; \
35535 @CREATE_LINK_TO_DIR@
35536 @endif binutils
35537 @if gas
35538 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
35539 mkdir stage3-gas; \
35540 set stage3-gas gas ; \
35541 @CREATE_LINK_TO_DIR@ ; \
35542 set stage2-gas prev-gas ; \
35543 @CREATE_LINK_TO_DIR@
35544 @endif gas
35545 @if gcc
35546 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
35547 mkdir stage3-gcc; \
35548 set stage3-gcc gcc ; \
35549 @CREATE_LINK_TO_DIR@ ; \
35550 set stage2-gcc prev-gcc ; \
35551 @CREATE_LINK_TO_DIR@
35552 @endif gcc
35553 @if intl
35554 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
35555 mkdir stage3-intl; \
35556 set stage3-intl intl ; \
35557 @CREATE_LINK_TO_DIR@ ; \
35558 set stage2-intl prev-intl ; \
35559 @CREATE_LINK_TO_DIR@
35560 @endif intl
35561 @if ld
35562 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
35563 mkdir stage3-ld; \
35564 set stage3-ld ld ; \
35565 @CREATE_LINK_TO_DIR@ ; \
35566 set stage2-ld prev-ld ; \
35567 @CREATE_LINK_TO_DIR@
35568 @endif ld
35569 @if libcpp
35570 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
35571 mkdir stage3-libcpp; \
35572 set stage3-libcpp libcpp ; \
35573 @CREATE_LINK_TO_DIR@ ; \
35574 set stage2-libcpp prev-libcpp ; \
35575 @CREATE_LINK_TO_DIR@
35576 @endif libcpp
35577 @if libiberty
35578 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
35579 mkdir stage3-libiberty; \
35580 set stage3-libiberty libiberty ; \
35581 @CREATE_LINK_TO_DIR@ ; \
35582 set stage2-libiberty prev-libiberty ; \
35583 @CREATE_LINK_TO_DIR@
35584 @endif libiberty
35585 @if zlib
35586 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
35587 mkdir stage3-zlib; \
35588 set stage3-zlib zlib ; \
35589 @CREATE_LINK_TO_DIR@ ; \
35590 set stage2-zlib prev-zlib ; \
35591 @CREATE_LINK_TO_DIR@
35592 @endif zlib
35594 stage3-end::
35595 @rm -f stage_current
35596 @if bfd
35597 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
35598 @UNDO_LINK_TO_DIR@ ; \
35599 set prev-bfd stage2-bfd ; \
35600 @UNDO_LINK_TO_DIR@
35601 @endif bfd
35602 @if opcodes
35603 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
35604 @UNDO_LINK_TO_DIR@ ; \
35605 set prev-opcodes stage2-opcodes ; \
35606 @UNDO_LINK_TO_DIR@
35607 @endif opcodes
35608 @if binutils
35609 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
35610 @UNDO_LINK_TO_DIR@ ; \
35611 set prev-binutils stage2-binutils ; \
35612 @UNDO_LINK_TO_DIR@
35613 @endif binutils
35614 @if gas
35615 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
35616 @UNDO_LINK_TO_DIR@ ; \
35617 set prev-gas stage2-gas ; \
35618 @UNDO_LINK_TO_DIR@
35619 @endif gas
35620 @if gcc
35621 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
35622 @UNDO_LINK_TO_DIR@ ; \
35623 set prev-gcc stage2-gcc ; \
35624 @UNDO_LINK_TO_DIR@
35625 @endif gcc
35626 @if intl
35627 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
35628 @UNDO_LINK_TO_DIR@ ; \
35629 set prev-intl stage2-intl ; \
35630 @UNDO_LINK_TO_DIR@
35631 @endif intl
35632 @if ld
35633 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
35634 @UNDO_LINK_TO_DIR@ ; \
35635 set prev-ld stage2-ld ; \
35636 @UNDO_LINK_TO_DIR@
35637 @endif ld
35638 @if libcpp
35639 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
35640 @UNDO_LINK_TO_DIR@ ; \
35641 set prev-libcpp stage2-libcpp ; \
35642 @UNDO_LINK_TO_DIR@
35643 @endif libcpp
35644 @if libiberty
35645 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
35646 @UNDO_LINK_TO_DIR@ ; \
35647 set prev-libiberty stage2-libiberty ; \
35648 @UNDO_LINK_TO_DIR@
35649 @endif libiberty
35650 @if zlib
35651 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
35652 @UNDO_LINK_TO_DIR@ ; \
35653 set prev-zlib stage2-zlib ; \
35654 @UNDO_LINK_TO_DIR@
35655 @endif zlib
35657 # Bubble a bugfix through all the stages up to stage 3. They
35658 # are remade, but not reconfigured. The next stage (if any) will not
35659 # be reconfigured as well.
35660 .PHONY: stage3-bubble
35661 stage3-bubble:: stage2-bubble
35662 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
35663 @r=`${PWD_COMMAND}`; export r; \
35664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35665 if test -f stage3-lean || test -f stage2-lean ; then \
35666 echo Skipping rebuild of stage3 ; \
35667 else \
35668 $(MAKE) stage3-start; \
35669 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
35672 .PHONY: all-stage3 clean-stage3
35673 do-clean: clean-stage3
35675 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35676 # only possibility, but now it conflicts with no-bootstrap rules
35677 @if gcc-bootstrap
35679 compare:
35680 @r=`${PWD_COMMAND}`; export r; \
35681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35682 if test -f stage2-lean; then \
35683 echo Cannot compare object files as stage 2 was deleted. ; \
35684 exit 0 ; \
35685 fi; \
35686 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35687 rm -f .bad_compare ; \
35688 cd stage3-gcc; \
35689 files=`find . -name "*$(objext)" -print` ; \
35690 cd .. ; \
35691 for file in $${files} ; do \
35692 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
35693 @do_compare@ > /dev/null 2>&1; \
35694 if test $$? -eq 1; then \
35695 case $$file in \
35696 ./cc*-checksum$(objext) | ./libgcc/* ) \
35697 echo warning: $$file differs ;; \
35698 *) \
35699 echo $$file differs >> .bad_compare ;; \
35700 esac ; \
35701 fi ; \
35702 done ; \
35703 if [ -f .bad_compare ]; then \
35704 echo "Bootstrap comparison failure!"; \
35705 cat .bad_compare; \
35706 exit 1; \
35707 else \
35708 true; \
35709 fi ; \
35710 $(STAMP) compare
35711 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35715 .PHONY: bootstrap
35716 bootstrap: stage3-bubble
35717 $(MAKE) compare
35718 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35721 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35722 distclean-stage2:: distclean-stage3
35723 .PHONY: distclean-stage3
35724 distclean-stage3::
35725 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35726 rm -rf stage3-* compare
35729 .PHONY: cleanstrap
35730 cleanstrap: distclean bootstrap
35732 @endif gcc-bootstrap
35735 .PHONY: stage4-start stage4-end
35737 stage4-start::
35738 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35739 echo stage4 > stage_current ; \
35740 echo stage4 > stage_last; \
35741 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35742 @if bfd
35743 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
35744 mkdir stage4-bfd; \
35745 set stage4-bfd bfd ; \
35746 @CREATE_LINK_TO_DIR@ ; \
35747 set stage3-bfd prev-bfd ; \
35748 @CREATE_LINK_TO_DIR@
35749 @endif bfd
35750 @if opcodes
35751 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
35752 mkdir stage4-opcodes; \
35753 set stage4-opcodes opcodes ; \
35754 @CREATE_LINK_TO_DIR@ ; \
35755 set stage3-opcodes prev-opcodes ; \
35756 @CREATE_LINK_TO_DIR@
35757 @endif opcodes
35758 @if binutils
35759 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
35760 mkdir stage4-binutils; \
35761 set stage4-binutils binutils ; \
35762 @CREATE_LINK_TO_DIR@ ; \
35763 set stage3-binutils prev-binutils ; \
35764 @CREATE_LINK_TO_DIR@
35765 @endif binutils
35766 @if gas
35767 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
35768 mkdir stage4-gas; \
35769 set stage4-gas gas ; \
35770 @CREATE_LINK_TO_DIR@ ; \
35771 set stage3-gas prev-gas ; \
35772 @CREATE_LINK_TO_DIR@
35773 @endif gas
35774 @if gcc
35775 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
35776 mkdir stage4-gcc; \
35777 set stage4-gcc gcc ; \
35778 @CREATE_LINK_TO_DIR@ ; \
35779 set stage3-gcc prev-gcc ; \
35780 @CREATE_LINK_TO_DIR@
35781 @endif gcc
35782 @if intl
35783 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
35784 mkdir stage4-intl; \
35785 set stage4-intl intl ; \
35786 @CREATE_LINK_TO_DIR@ ; \
35787 set stage3-intl prev-intl ; \
35788 @CREATE_LINK_TO_DIR@
35789 @endif intl
35790 @if ld
35791 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
35792 mkdir stage4-ld; \
35793 set stage4-ld ld ; \
35794 @CREATE_LINK_TO_DIR@ ; \
35795 set stage3-ld prev-ld ; \
35796 @CREATE_LINK_TO_DIR@
35797 @endif ld
35798 @if libcpp
35799 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
35800 mkdir stage4-libcpp; \
35801 set stage4-libcpp libcpp ; \
35802 @CREATE_LINK_TO_DIR@ ; \
35803 set stage3-libcpp prev-libcpp ; \
35804 @CREATE_LINK_TO_DIR@
35805 @endif libcpp
35806 @if libiberty
35807 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
35808 mkdir stage4-libiberty; \
35809 set stage4-libiberty libiberty ; \
35810 @CREATE_LINK_TO_DIR@ ; \
35811 set stage3-libiberty prev-libiberty ; \
35812 @CREATE_LINK_TO_DIR@
35813 @endif libiberty
35814 @if zlib
35815 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
35816 mkdir stage4-zlib; \
35817 set stage4-zlib zlib ; \
35818 @CREATE_LINK_TO_DIR@ ; \
35819 set stage3-zlib prev-zlib ; \
35820 @CREATE_LINK_TO_DIR@
35821 @endif zlib
35823 stage4-end::
35824 @rm -f stage_current
35825 @if bfd
35826 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
35827 @UNDO_LINK_TO_DIR@ ; \
35828 set prev-bfd stage3-bfd ; \
35829 @UNDO_LINK_TO_DIR@
35830 @endif bfd
35831 @if opcodes
35832 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
35833 @UNDO_LINK_TO_DIR@ ; \
35834 set prev-opcodes stage3-opcodes ; \
35835 @UNDO_LINK_TO_DIR@
35836 @endif opcodes
35837 @if binutils
35838 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
35839 @UNDO_LINK_TO_DIR@ ; \
35840 set prev-binutils stage3-binutils ; \
35841 @UNDO_LINK_TO_DIR@
35842 @endif binutils
35843 @if gas
35844 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
35845 @UNDO_LINK_TO_DIR@ ; \
35846 set prev-gas stage3-gas ; \
35847 @UNDO_LINK_TO_DIR@
35848 @endif gas
35849 @if gcc
35850 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
35851 @UNDO_LINK_TO_DIR@ ; \
35852 set prev-gcc stage3-gcc ; \
35853 @UNDO_LINK_TO_DIR@
35854 @endif gcc
35855 @if intl
35856 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
35857 @UNDO_LINK_TO_DIR@ ; \
35858 set prev-intl stage3-intl ; \
35859 @UNDO_LINK_TO_DIR@
35860 @endif intl
35861 @if ld
35862 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
35863 @UNDO_LINK_TO_DIR@ ; \
35864 set prev-ld stage3-ld ; \
35865 @UNDO_LINK_TO_DIR@
35866 @endif ld
35867 @if libcpp
35868 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
35869 @UNDO_LINK_TO_DIR@ ; \
35870 set prev-libcpp stage3-libcpp ; \
35871 @UNDO_LINK_TO_DIR@
35872 @endif libcpp
35873 @if libiberty
35874 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
35875 @UNDO_LINK_TO_DIR@ ; \
35876 set prev-libiberty stage3-libiberty ; \
35877 @UNDO_LINK_TO_DIR@
35878 @endif libiberty
35879 @if zlib
35880 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
35881 @UNDO_LINK_TO_DIR@ ; \
35882 set prev-zlib stage3-zlib ; \
35883 @UNDO_LINK_TO_DIR@
35884 @endif zlib
35886 # Bubble a bugfix through all the stages up to stage 4. They
35887 # are remade, but not reconfigured. The next stage (if any) will not
35888 # be reconfigured as well.
35889 .PHONY: stage4-bubble
35890 stage4-bubble:: stage3-bubble
35891 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35892 @r=`${PWD_COMMAND}`; export r; \
35893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35894 if test -f stage4-lean || test -f stage3-lean ; then \
35895 echo Skipping rebuild of stage4 ; \
35896 else \
35897 $(MAKE) stage4-start; \
35898 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
35901 .PHONY: all-stage4 clean-stage4
35902 do-clean: clean-stage4
35904 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35905 # only possibility, but now it conflicts with no-bootstrap rules
35906 @if gcc-bootstrap
35908 compare3:
35909 @r=`${PWD_COMMAND}`; export r; \
35910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35911 if test -f stage3-lean; then \
35912 echo Cannot compare object files as stage 3 was deleted. ; \
35913 exit 0 ; \
35914 fi; \
35915 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35916 rm -f .bad_compare ; \
35917 cd stage4-gcc; \
35918 files=`find . -name "*$(objext)" -print` ; \
35919 cd .. ; \
35920 for file in $${files} ; do \
35921 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
35922 @do_compare@ > /dev/null 2>&1; \
35923 if test $$? -eq 1; then \
35924 case $$file in \
35925 ./cc*-checksum$(objext) | ./libgcc/* ) \
35926 echo warning: $$file differs ;; \
35927 *) \
35928 echo $$file differs >> .bad_compare ;; \
35929 esac ; \
35930 fi ; \
35931 done ; \
35932 if [ -f .bad_compare ]; then \
35933 echo "Bootstrap comparison failure!"; \
35934 cat .bad_compare; \
35935 exit 1; \
35936 else \
35937 true; \
35938 fi ; \
35939 $(STAMP) compare3
35940 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
35944 .PHONY: bootstrap4
35945 bootstrap4: stage4-bubble
35946 $(MAKE) compare3
35947 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35950 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35951 distclean-stage3:: distclean-stage4
35952 .PHONY: distclean-stage4
35953 distclean-stage4::
35954 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35955 rm -rf stage4-* compare3
35958 @endif gcc-bootstrap
35961 .PHONY: stageprofile-start stageprofile-end
35963 stageprofile-start::
35964 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35965 echo stageprofile > stage_current ; \
35966 echo stageprofile > stage_last; \
35967 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35968 @if bfd
35969 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
35970 mkdir stageprofile-bfd; \
35971 set stageprofile-bfd bfd ; \
35972 @CREATE_LINK_TO_DIR@ ; \
35973 set stage1-bfd prev-bfd ; \
35974 @CREATE_LINK_TO_DIR@
35975 @endif bfd
35976 @if opcodes
35977 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
35978 mkdir stageprofile-opcodes; \
35979 set stageprofile-opcodes opcodes ; \
35980 @CREATE_LINK_TO_DIR@ ; \
35981 set stage1-opcodes prev-opcodes ; \
35982 @CREATE_LINK_TO_DIR@
35983 @endif opcodes
35984 @if binutils
35985 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
35986 mkdir stageprofile-binutils; \
35987 set stageprofile-binutils binutils ; \
35988 @CREATE_LINK_TO_DIR@ ; \
35989 set stage1-binutils prev-binutils ; \
35990 @CREATE_LINK_TO_DIR@
35991 @endif binutils
35992 @if gas
35993 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
35994 mkdir stageprofile-gas; \
35995 set stageprofile-gas gas ; \
35996 @CREATE_LINK_TO_DIR@ ; \
35997 set stage1-gas prev-gas ; \
35998 @CREATE_LINK_TO_DIR@
35999 @endif gas
36000 @if gcc
36001 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36002 mkdir stageprofile-gcc; \
36003 set stageprofile-gcc gcc ; \
36004 @CREATE_LINK_TO_DIR@ ; \
36005 set stage1-gcc prev-gcc ; \
36006 @CREATE_LINK_TO_DIR@
36007 @endif gcc
36008 @if intl
36009 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36010 mkdir stageprofile-intl; \
36011 set stageprofile-intl intl ; \
36012 @CREATE_LINK_TO_DIR@ ; \
36013 set stage1-intl prev-intl ; \
36014 @CREATE_LINK_TO_DIR@
36015 @endif intl
36016 @if ld
36017 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36018 mkdir stageprofile-ld; \
36019 set stageprofile-ld ld ; \
36020 @CREATE_LINK_TO_DIR@ ; \
36021 set stage1-ld prev-ld ; \
36022 @CREATE_LINK_TO_DIR@
36023 @endif ld
36024 @if libcpp
36025 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36026 mkdir stageprofile-libcpp; \
36027 set stageprofile-libcpp libcpp ; \
36028 @CREATE_LINK_TO_DIR@ ; \
36029 set stage1-libcpp prev-libcpp ; \
36030 @CREATE_LINK_TO_DIR@
36031 @endif libcpp
36032 @if libiberty
36033 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36034 mkdir stageprofile-libiberty; \
36035 set stageprofile-libiberty libiberty ; \
36036 @CREATE_LINK_TO_DIR@ ; \
36037 set stage1-libiberty prev-libiberty ; \
36038 @CREATE_LINK_TO_DIR@
36039 @endif libiberty
36040 @if zlib
36041 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36042 mkdir stageprofile-zlib; \
36043 set stageprofile-zlib zlib ; \
36044 @CREATE_LINK_TO_DIR@ ; \
36045 set stage1-zlib prev-zlib ; \
36046 @CREATE_LINK_TO_DIR@
36047 @endif zlib
36049 stageprofile-end::
36050 @rm -f stage_current
36051 @if bfd
36052 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36053 @UNDO_LINK_TO_DIR@ ; \
36054 set prev-bfd stage1-bfd ; \
36055 @UNDO_LINK_TO_DIR@
36056 @endif bfd
36057 @if opcodes
36058 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36059 @UNDO_LINK_TO_DIR@ ; \
36060 set prev-opcodes stage1-opcodes ; \
36061 @UNDO_LINK_TO_DIR@
36062 @endif opcodes
36063 @if binutils
36064 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36065 @UNDO_LINK_TO_DIR@ ; \
36066 set prev-binutils stage1-binutils ; \
36067 @UNDO_LINK_TO_DIR@
36068 @endif binutils
36069 @if gas
36070 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36071 @UNDO_LINK_TO_DIR@ ; \
36072 set prev-gas stage1-gas ; \
36073 @UNDO_LINK_TO_DIR@
36074 @endif gas
36075 @if gcc
36076 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36077 @UNDO_LINK_TO_DIR@ ; \
36078 set prev-gcc stage1-gcc ; \
36079 @UNDO_LINK_TO_DIR@
36080 @endif gcc
36081 @if intl
36082 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36083 @UNDO_LINK_TO_DIR@ ; \
36084 set prev-intl stage1-intl ; \
36085 @UNDO_LINK_TO_DIR@
36086 @endif intl
36087 @if ld
36088 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36089 @UNDO_LINK_TO_DIR@ ; \
36090 set prev-ld stage1-ld ; \
36091 @UNDO_LINK_TO_DIR@
36092 @endif ld
36093 @if libcpp
36094 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36095 @UNDO_LINK_TO_DIR@ ; \
36096 set prev-libcpp stage1-libcpp ; \
36097 @UNDO_LINK_TO_DIR@
36098 @endif libcpp
36099 @if libiberty
36100 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36101 @UNDO_LINK_TO_DIR@ ; \
36102 set prev-libiberty stage1-libiberty ; \
36103 @UNDO_LINK_TO_DIR@
36104 @endif libiberty
36105 @if zlib
36106 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36107 @UNDO_LINK_TO_DIR@ ; \
36108 set prev-zlib stage1-zlib ; \
36109 @UNDO_LINK_TO_DIR@
36110 @endif zlib
36112 # Bubble a bugfix through all the stages up to stage profile. They
36113 # are remade, but not reconfigured. The next stage (if any) will not
36114 # be reconfigured as well.
36115 .PHONY: stageprofile-bubble
36116 stageprofile-bubble:: stage1-bubble
36117 @r=`${PWD_COMMAND}`; export r; \
36118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36119 if test -f stageprofile-lean || test -f stage1-lean ; then \
36120 echo Skipping rebuild of stageprofile ; \
36121 else \
36122 $(MAKE) stageprofile-start; \
36123 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36126 .PHONY: all-stageprofile clean-stageprofile
36127 do-clean: clean-stageprofile
36129 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36130 # only possibility, but now it conflicts with no-bootstrap rules
36131 @if gcc-bootstrap
36136 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36137 distclean-stage1:: distclean-stageprofile
36138 .PHONY: distclean-stageprofile
36139 distclean-stageprofile::
36140 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36141 rm -rf stageprofile-*
36144 @endif gcc-bootstrap
36147 .PHONY: stagefeedback-start stagefeedback-end
36149 stagefeedback-start::
36150 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36151 echo stagefeedback > stage_current ; \
36152 echo stagefeedback > stage_last; \
36153 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36154 @if bfd
36155 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36156 mkdir stagefeedback-bfd; \
36157 set stagefeedback-bfd bfd ; \
36158 @CREATE_LINK_TO_DIR@ ; \
36159 set stageprofile-bfd prev-bfd ; \
36160 @CREATE_LINK_TO_DIR@
36161 @endif bfd
36162 @if opcodes
36163 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36164 mkdir stagefeedback-opcodes; \
36165 set stagefeedback-opcodes opcodes ; \
36166 @CREATE_LINK_TO_DIR@ ; \
36167 set stageprofile-opcodes prev-opcodes ; \
36168 @CREATE_LINK_TO_DIR@
36169 @endif opcodes
36170 @if binutils
36171 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36172 mkdir stagefeedback-binutils; \
36173 set stagefeedback-binutils binutils ; \
36174 @CREATE_LINK_TO_DIR@ ; \
36175 set stageprofile-binutils prev-binutils ; \
36176 @CREATE_LINK_TO_DIR@
36177 @endif binutils
36178 @if gas
36179 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36180 mkdir stagefeedback-gas; \
36181 set stagefeedback-gas gas ; \
36182 @CREATE_LINK_TO_DIR@ ; \
36183 set stageprofile-gas prev-gas ; \
36184 @CREATE_LINK_TO_DIR@
36185 @endif gas
36186 @if gcc
36187 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36188 mkdir stagefeedback-gcc; \
36189 set stagefeedback-gcc gcc ; \
36190 @CREATE_LINK_TO_DIR@ ; \
36191 set stageprofile-gcc prev-gcc ; \
36192 @CREATE_LINK_TO_DIR@
36193 @endif gcc
36194 @if intl
36195 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36196 mkdir stagefeedback-intl; \
36197 set stagefeedback-intl intl ; \
36198 @CREATE_LINK_TO_DIR@ ; \
36199 set stageprofile-intl prev-intl ; \
36200 @CREATE_LINK_TO_DIR@
36201 @endif intl
36202 @if ld
36203 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36204 mkdir stagefeedback-ld; \
36205 set stagefeedback-ld ld ; \
36206 @CREATE_LINK_TO_DIR@ ; \
36207 set stageprofile-ld prev-ld ; \
36208 @CREATE_LINK_TO_DIR@
36209 @endif ld
36210 @if libcpp
36211 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36212 mkdir stagefeedback-libcpp; \
36213 set stagefeedback-libcpp libcpp ; \
36214 @CREATE_LINK_TO_DIR@ ; \
36215 set stageprofile-libcpp prev-libcpp ; \
36216 @CREATE_LINK_TO_DIR@
36217 @endif libcpp
36218 @if libiberty
36219 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36220 mkdir stagefeedback-libiberty; \
36221 set stagefeedback-libiberty libiberty ; \
36222 @CREATE_LINK_TO_DIR@ ; \
36223 set stageprofile-libiberty prev-libiberty ; \
36224 @CREATE_LINK_TO_DIR@
36225 @endif libiberty
36226 @if zlib
36227 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36228 mkdir stagefeedback-zlib; \
36229 set stagefeedback-zlib zlib ; \
36230 @CREATE_LINK_TO_DIR@ ; \
36231 set stageprofile-zlib prev-zlib ; \
36232 @CREATE_LINK_TO_DIR@
36233 @endif zlib
36235 stagefeedback-end::
36236 @rm -f stage_current
36237 @if bfd
36238 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36239 @UNDO_LINK_TO_DIR@ ; \
36240 set prev-bfd stageprofile-bfd ; \
36241 @UNDO_LINK_TO_DIR@
36242 @endif bfd
36243 @if opcodes
36244 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36245 @UNDO_LINK_TO_DIR@ ; \
36246 set prev-opcodes stageprofile-opcodes ; \
36247 @UNDO_LINK_TO_DIR@
36248 @endif opcodes
36249 @if binutils
36250 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
36251 @UNDO_LINK_TO_DIR@ ; \
36252 set prev-binutils stageprofile-binutils ; \
36253 @UNDO_LINK_TO_DIR@
36254 @endif binutils
36255 @if gas
36256 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
36257 @UNDO_LINK_TO_DIR@ ; \
36258 set prev-gas stageprofile-gas ; \
36259 @UNDO_LINK_TO_DIR@
36260 @endif gas
36261 @if gcc
36262 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
36263 @UNDO_LINK_TO_DIR@ ; \
36264 set prev-gcc stageprofile-gcc ; \
36265 @UNDO_LINK_TO_DIR@
36266 @endif gcc
36267 @if intl
36268 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
36269 @UNDO_LINK_TO_DIR@ ; \
36270 set prev-intl stageprofile-intl ; \
36271 @UNDO_LINK_TO_DIR@
36272 @endif intl
36273 @if ld
36274 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
36275 @UNDO_LINK_TO_DIR@ ; \
36276 set prev-ld stageprofile-ld ; \
36277 @UNDO_LINK_TO_DIR@
36278 @endif ld
36279 @if libcpp
36280 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
36281 @UNDO_LINK_TO_DIR@ ; \
36282 set prev-libcpp stageprofile-libcpp ; \
36283 @UNDO_LINK_TO_DIR@
36284 @endif libcpp
36285 @if libiberty
36286 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
36287 @UNDO_LINK_TO_DIR@ ; \
36288 set prev-libiberty stageprofile-libiberty ; \
36289 @UNDO_LINK_TO_DIR@
36290 @endif libiberty
36291 @if zlib
36292 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
36293 @UNDO_LINK_TO_DIR@ ; \
36294 set prev-zlib stageprofile-zlib ; \
36295 @UNDO_LINK_TO_DIR@
36296 @endif zlib
36298 # Bubble a bugfix through all the stages up to stage feedback. They
36299 # are remade, but not reconfigured. The next stage (if any) will not
36300 # be reconfigured as well.
36301 .PHONY: stagefeedback-bubble
36302 stagefeedback-bubble:: stageprofile-bubble
36303 @r=`${PWD_COMMAND}`; export r; \
36304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36305 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
36306 echo Skipping rebuild of stagefeedback ; \
36307 else \
36308 $(MAKE) stagefeedback-start; \
36309 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
36312 .PHONY: all-stagefeedback clean-stagefeedback
36313 do-clean: clean-stagefeedback
36315 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36316 # only possibility, but now it conflicts with no-bootstrap rules
36317 @if gcc-bootstrap
36321 .PHONY: profiledbootstrap
36322 profiledbootstrap: stagefeedback-bubble
36323 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36326 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36327 distclean-stageprofile:: distclean-stagefeedback
36328 .PHONY: distclean-stagefeedback
36329 distclean-stagefeedback::
36330 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36331 rm -rf stagefeedback-*
36334 @endif gcc-bootstrap
36338 stageprofile-end::
36339 $(MAKE) distclean-stagefeedback
36341 stagefeedback-start::
36342 @r=`${PWD_COMMAND}`; export r; \
36343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36344 for i in prev-*; do \
36345 j=`echo $$i | sed s/^prev-//` ; \
36346 cd $$r/$$i && \
36347 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
36348 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
36349 done
36351 @if gcc-bootstrap
36352 do-distclean: distclean-stage1
36353 @endif gcc-bootstrap
36355 # --------------------------------------
36356 # Dependencies between different modules
36357 # --------------------------------------
36359 # Generic dependencies for target modules on host stuff, especially gcc
36361 configure-target-libstdc++-v3: maybe-all-gcc
36363 configure-target-libmudflap: maybe-all-gcc
36365 configure-target-libssp: maybe-all-gcc
36367 configure-target-newlib: maybe-all-gcc
36369 configure-target-libgfortran: maybe-all-gcc
36371 configure-target-libobjc: maybe-all-gcc
36373 configure-target-libtermcap: maybe-all-gcc
36375 configure-target-winsup: maybe-all-gcc
36377 configure-target-libgloss: maybe-all-gcc
36379 configure-target-libiberty: maybe-all-gcc
36381 configure-target-gperf: maybe-all-gcc
36383 configure-target-examples: maybe-all-gcc
36385 configure-target-libffi: maybe-all-gcc
36387 configure-target-libjava: maybe-all-gcc
36389 configure-target-zlib: maybe-all-gcc
36391 configure-target-boehm-gc: maybe-all-gcc
36393 configure-target-qthreads: maybe-all-gcc
36395 configure-target-rda: maybe-all-gcc
36397 configure-target-libada: maybe-all-gcc
36401 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
36403 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
36404 configure-target-gperf: maybe-all-target-libstdc++-v3
36406 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
36408 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
36410 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
36412 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
36413 configure-target-libjava: maybe-all-target-libstdc++-v3
36415 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
36417 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
36419 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
36421 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
36423 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
36425 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
36427 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
36429 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
36431 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
36433 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
36436 # There are two types of dependencies here: 'hard' dependencies, where one
36437 # module simply won't build without the other; and 'soft' dependencies, where
36438 # if the depended-on module is missing, the depending module will do without
36439 # or find a substitute somewhere (perhaps installed). Soft dependencies
36440 # are made here to depend on a 'maybe-' target. If you're not sure,
36441 # it's safer to use a soft dependency.
36448 # With all the machinery above in place, it is pretty easy to generate
36449 # dependencies. Host dependencies are a bit more complex because we have
36450 # to check for bootstrap/prebootstrap dependencies. To resolve
36451 # prebootstrap dependencies, prebootstrap modules are gathered in
36452 # a hash table.
36453 all-build-bison: maybe-all-build-texinfo
36454 all-build-byacc: maybe-all-build-texinfo
36455 all-build-flex: maybe-all-build-texinfo
36456 all-build-flex: maybe-all-build-bison
36457 all-build-flex: maybe-all-build-byacc
36458 all-build-flex: maybe-all-build-m4
36459 all-build-libiberty: maybe-all-build-texinfo
36460 all-build-m4: maybe-all-build-texinfo
36461 all-build-fixincludes: maybe-all-build-libiberty
36462 configure-gcc: maybe-configure-intl
36464 configure-stage1-gcc: maybe-configure-stage1-intl
36465 configure-stage2-gcc: maybe-configure-stage2-intl
36466 configure-stage3-gcc: maybe-configure-stage3-intl
36467 configure-stage4-gcc: maybe-configure-stage4-intl
36468 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
36469 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
36470 configure-gcc: maybe-all-binutils
36472 configure-stage1-gcc: maybe-all-stage1-binutils
36473 configure-stage2-gcc: maybe-all-stage2-binutils
36474 configure-stage3-gcc: maybe-all-stage3-binutils
36475 configure-stage4-gcc: maybe-all-stage4-binutils
36476 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
36477 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
36478 configure-gcc: maybe-all-gas
36480 configure-stage1-gcc: maybe-all-stage1-gas
36481 configure-stage2-gcc: maybe-all-stage2-gas
36482 configure-stage3-gcc: maybe-all-stage3-gas
36483 configure-stage4-gcc: maybe-all-stage4-gas
36484 configure-stageprofile-gcc: maybe-all-stageprofile-gas
36485 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
36486 configure-gcc: maybe-all-ld
36488 configure-stage1-gcc: maybe-all-stage1-ld
36489 configure-stage2-gcc: maybe-all-stage2-ld
36490 configure-stage3-gcc: maybe-all-stage3-ld
36491 configure-stage4-gcc: maybe-all-stage4-ld
36492 configure-stageprofile-gcc: maybe-all-stageprofile-ld
36493 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
36494 all-gcc: all-libiberty
36496 all-stage1-gcc: all-stage1-libiberty
36497 all-stage2-gcc: all-stage2-libiberty
36498 all-stage3-gcc: all-stage3-libiberty
36499 all-stage4-gcc: all-stage4-libiberty
36500 all-stageprofile-gcc: all-stageprofile-libiberty
36501 all-stagefeedback-gcc: all-stagefeedback-libiberty
36502 all-gcc: maybe-all-intl
36504 all-stage1-gcc: maybe-all-stage1-intl
36505 all-stage2-gcc: maybe-all-stage2-intl
36506 all-stage3-gcc: maybe-all-stage3-intl
36507 all-stage4-gcc: maybe-all-stage4-intl
36508 all-stageprofile-gcc: maybe-all-stageprofile-intl
36509 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
36510 all-gcc: maybe-all-build-texinfo
36512 all-stage1-gcc: maybe-all-build-texinfo
36513 all-stage2-gcc: maybe-all-build-texinfo
36514 all-stage3-gcc: maybe-all-build-texinfo
36515 all-stage4-gcc: maybe-all-build-texinfo
36516 all-stageprofile-gcc: maybe-all-build-texinfo
36517 all-stagefeedback-gcc: maybe-all-build-texinfo
36518 all-prebootstrap: maybe-all-build-texinfo
36519 all-gcc: maybe-all-build-bison
36521 all-stage1-gcc: maybe-all-build-bison
36522 all-stage2-gcc: maybe-all-build-bison
36523 all-stage3-gcc: maybe-all-build-bison
36524 all-stage4-gcc: maybe-all-build-bison
36525 all-stageprofile-gcc: maybe-all-build-bison
36526 all-stagefeedback-gcc: maybe-all-build-bison
36527 all-prebootstrap: maybe-all-build-bison
36528 all-gcc: maybe-all-build-byacc
36530 all-stage1-gcc: maybe-all-build-byacc
36531 all-stage2-gcc: maybe-all-build-byacc
36532 all-stage3-gcc: maybe-all-build-byacc
36533 all-stage4-gcc: maybe-all-build-byacc
36534 all-stageprofile-gcc: maybe-all-build-byacc
36535 all-stagefeedback-gcc: maybe-all-build-byacc
36536 all-prebootstrap: maybe-all-build-byacc
36537 all-gcc: maybe-all-build-flex
36539 all-stage1-gcc: maybe-all-build-flex
36540 all-stage2-gcc: maybe-all-build-flex
36541 all-stage3-gcc: maybe-all-build-flex
36542 all-stage4-gcc: maybe-all-build-flex
36543 all-stageprofile-gcc: maybe-all-build-flex
36544 all-stagefeedback-gcc: maybe-all-build-flex
36545 all-prebootstrap: maybe-all-build-flex
36546 all-gcc: maybe-all-build-libiberty
36548 all-stage1-gcc: maybe-all-build-libiberty
36549 all-stage2-gcc: maybe-all-build-libiberty
36550 all-stage3-gcc: maybe-all-build-libiberty
36551 all-stage4-gcc: maybe-all-build-libiberty
36552 all-stageprofile-gcc: maybe-all-build-libiberty
36553 all-stagefeedback-gcc: maybe-all-build-libiberty
36554 all-prebootstrap: maybe-all-build-libiberty
36555 all-gcc: maybe-all-build-fixincludes
36557 all-stage1-gcc: maybe-all-build-fixincludes
36558 all-stage2-gcc: maybe-all-build-fixincludes
36559 all-stage3-gcc: maybe-all-build-fixincludes
36560 all-stage4-gcc: maybe-all-build-fixincludes
36561 all-stageprofile-gcc: maybe-all-build-fixincludes
36562 all-stagefeedback-gcc: maybe-all-build-fixincludes
36563 all-prebootstrap: maybe-all-build-fixincludes
36564 all-gcc: maybe-all-zlib
36566 all-stage1-gcc: maybe-all-stage1-zlib
36567 all-stage2-gcc: maybe-all-stage2-zlib
36568 all-stage3-gcc: maybe-all-stage3-zlib
36569 all-stage4-gcc: maybe-all-stage4-zlib
36570 all-stageprofile-gcc: maybe-all-stageprofile-zlib
36571 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
36572 all-gcc: all-libcpp
36574 all-stage1-gcc: all-stage1-libcpp
36575 all-stage2-gcc: all-stage2-libcpp
36576 all-stage3-gcc: all-stage3-libcpp
36577 all-stage4-gcc: all-stage4-libcpp
36578 all-stageprofile-gcc: all-stageprofile-libcpp
36579 all-stagefeedback-gcc: all-stagefeedback-libcpp
36580 all-gcc: maybe-all-libiberty
36582 all-stage1-gcc: maybe-all-stage1-libiberty
36583 all-stage2-gcc: maybe-all-stage2-libiberty
36584 all-stage3-gcc: maybe-all-stage3-libiberty
36585 all-stage4-gcc: maybe-all-stage4-libiberty
36586 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
36587 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
36588 all-gcc: maybe-all-fixincludes
36589 install-gcc: maybe-install-fixincludes
36590 configure-libcpp: configure-libiberty
36592 configure-stage1-libcpp: configure-stage1-libiberty
36593 configure-stage2-libcpp: configure-stage2-libiberty
36594 configure-stage3-libcpp: configure-stage3-libiberty
36595 configure-stage4-libcpp: configure-stage4-libiberty
36596 configure-stageprofile-libcpp: configure-stageprofile-libiberty
36597 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
36598 configure-libcpp: maybe-configure-intl
36600 configure-stage1-libcpp: maybe-configure-stage1-intl
36601 configure-stage2-libcpp: maybe-configure-stage2-intl
36602 configure-stage3-libcpp: maybe-configure-stage3-intl
36603 configure-stage4-libcpp: maybe-configure-stage4-intl
36604 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
36605 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
36606 all-libcpp: all-libiberty
36608 all-stage1-libcpp: all-stage1-libiberty
36609 all-stage2-libcpp: all-stage2-libiberty
36610 all-stage3-libcpp: all-stage3-libiberty
36611 all-stage4-libcpp: all-stage4-libiberty
36612 all-stageprofile-libcpp: all-stageprofile-libiberty
36613 all-stagefeedback-libcpp: all-stagefeedback-libiberty
36614 all-libcpp: maybe-all-intl
36616 all-stage1-libcpp: maybe-all-stage1-intl
36617 all-stage2-libcpp: maybe-all-stage2-intl
36618 all-stage3-libcpp: maybe-all-stage3-intl
36619 all-stage4-libcpp: maybe-all-stage4-intl
36620 all-stageprofile-libcpp: maybe-all-stageprofile-intl
36621 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
36622 all-fixincludes: maybe-all-libiberty
36623 all-gnattools: maybe-all-target-libada
36624 configure-gdb: maybe-configure-itcl
36625 configure-gdb: maybe-configure-tcl
36626 configure-gdb: maybe-configure-tk
36627 configure-gdb: maybe-configure-sim
36628 all-gdb: maybe-all-libiberty
36629 all-gdb: maybe-all-opcodes
36630 all-gdb: maybe-all-bfd
36631 all-gdb: maybe-all-readline
36632 all-gdb: maybe-all-build-bison
36633 all-gdb: maybe-all-build-byacc
36634 all-gdb: maybe-all-sim
36635 install-gdb: maybe-install-tcl
36636 install-gdb: maybe-install-tk
36637 install-gdb: maybe-install-itcl
36638 install-gdb: maybe-install-libgui
36639 configure-libgui: maybe-configure-tcl
36640 configure-libgui: maybe-configure-tk
36641 all-libgui: maybe-all-tcl
36642 all-libgui: maybe-all-tk
36643 all-libgui: maybe-all-itcl
36644 configure-bfd: configure-libiberty
36646 configure-stage1-bfd: configure-stage1-libiberty
36647 configure-stage2-bfd: configure-stage2-libiberty
36648 configure-stage3-bfd: configure-stage3-libiberty
36649 configure-stage4-bfd: configure-stage4-libiberty
36650 configure-stageprofile-bfd: configure-stageprofile-libiberty
36651 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
36652 all-bfd: maybe-all-libiberty
36654 all-stage1-bfd: maybe-all-stage1-libiberty
36655 all-stage2-bfd: maybe-all-stage2-libiberty
36656 all-stage3-bfd: maybe-all-stage3-libiberty
36657 all-stage4-bfd: maybe-all-stage4-libiberty
36658 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
36659 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
36660 all-bfd: maybe-all-intl
36662 all-stage1-bfd: maybe-all-stage1-intl
36663 all-stage2-bfd: maybe-all-stage2-intl
36664 all-stage3-bfd: maybe-all-stage3-intl
36665 all-stage4-bfd: maybe-all-stage4-intl
36666 all-stageprofile-bfd: maybe-all-stageprofile-intl
36667 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
36668 all-binutils: maybe-all-libiberty
36670 all-stage1-binutils: maybe-all-stage1-libiberty
36671 all-stage2-binutils: maybe-all-stage2-libiberty
36672 all-stage3-binutils: maybe-all-stage3-libiberty
36673 all-stage4-binutils: maybe-all-stage4-libiberty
36674 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
36675 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
36676 all-binutils: maybe-all-opcodes
36678 all-stage1-binutils: maybe-all-stage1-opcodes
36679 all-stage2-binutils: maybe-all-stage2-opcodes
36680 all-stage3-binutils: maybe-all-stage3-opcodes
36681 all-stage4-binutils: maybe-all-stage4-opcodes
36682 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
36683 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
36684 all-binutils: maybe-all-bfd
36686 all-stage1-binutils: maybe-all-stage1-bfd
36687 all-stage2-binutils: maybe-all-stage2-bfd
36688 all-stage3-binutils: maybe-all-stage3-bfd
36689 all-stage4-binutils: maybe-all-stage4-bfd
36690 all-stageprofile-binutils: maybe-all-stageprofile-bfd
36691 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
36692 all-binutils: maybe-all-build-flex
36694 all-stage1-binutils: maybe-all-build-flex
36695 all-stage2-binutils: maybe-all-build-flex
36696 all-stage3-binutils: maybe-all-build-flex
36697 all-stage4-binutils: maybe-all-build-flex
36698 all-stageprofile-binutils: maybe-all-build-flex
36699 all-stagefeedback-binutils: maybe-all-build-flex
36700 all-prebootstrap: maybe-all-build-flex
36701 all-binutils: maybe-all-build-bison
36703 all-stage1-binutils: maybe-all-build-bison
36704 all-stage2-binutils: maybe-all-build-bison
36705 all-stage3-binutils: maybe-all-build-bison
36706 all-stage4-binutils: maybe-all-build-bison
36707 all-stageprofile-binutils: maybe-all-build-bison
36708 all-stagefeedback-binutils: maybe-all-build-bison
36709 all-prebootstrap: maybe-all-build-bison
36710 all-binutils: maybe-all-build-byacc
36712 all-stage1-binutils: maybe-all-build-byacc
36713 all-stage2-binutils: maybe-all-build-byacc
36714 all-stage3-binutils: maybe-all-build-byacc
36715 all-stage4-binutils: maybe-all-build-byacc
36716 all-stageprofile-binutils: maybe-all-build-byacc
36717 all-stagefeedback-binutils: maybe-all-build-byacc
36718 all-prebootstrap: maybe-all-build-byacc
36719 all-binutils: maybe-all-intl
36721 all-stage1-binutils: maybe-all-stage1-intl
36722 all-stage2-binutils: maybe-all-stage2-intl
36723 all-stage3-binutils: maybe-all-stage3-intl
36724 all-stage4-binutils: maybe-all-stage4-intl
36725 all-stageprofile-binutils: maybe-all-stageprofile-intl
36726 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
36727 install-binutils: maybe-install-opcodes
36728 install-opcodes: maybe-install-bfd
36729 all-gas: maybe-all-libiberty
36731 all-stage1-gas: maybe-all-stage1-libiberty
36732 all-stage2-gas: maybe-all-stage2-libiberty
36733 all-stage3-gas: maybe-all-stage3-libiberty
36734 all-stage4-gas: maybe-all-stage4-libiberty
36735 all-stageprofile-gas: maybe-all-stageprofile-libiberty
36736 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
36737 all-gas: maybe-all-opcodes
36739 all-stage1-gas: maybe-all-stage1-opcodes
36740 all-stage2-gas: maybe-all-stage2-opcodes
36741 all-stage3-gas: maybe-all-stage3-opcodes
36742 all-stage4-gas: maybe-all-stage4-opcodes
36743 all-stageprofile-gas: maybe-all-stageprofile-opcodes
36744 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
36745 all-gas: maybe-all-bfd
36747 all-stage1-gas: maybe-all-stage1-bfd
36748 all-stage2-gas: maybe-all-stage2-bfd
36749 all-stage3-gas: maybe-all-stage3-bfd
36750 all-stage4-gas: maybe-all-stage4-bfd
36751 all-stageprofile-gas: maybe-all-stageprofile-bfd
36752 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
36753 all-gas: maybe-all-intl
36755 all-stage1-gas: maybe-all-stage1-intl
36756 all-stage2-gas: maybe-all-stage2-intl
36757 all-stage3-gas: maybe-all-stage3-intl
36758 all-stage4-gas: maybe-all-stage4-intl
36759 all-stageprofile-gas: maybe-all-stageprofile-intl
36760 all-stagefeedback-gas: maybe-all-stagefeedback-intl
36761 all-gprof: maybe-all-libiberty
36762 all-gprof: maybe-all-bfd
36763 all-gprof: maybe-all-opcodes
36764 all-gprof: maybe-all-intl
36765 all-ld: maybe-all-libiberty
36767 all-stage1-ld: maybe-all-stage1-libiberty
36768 all-stage2-ld: maybe-all-stage2-libiberty
36769 all-stage3-ld: maybe-all-stage3-libiberty
36770 all-stage4-ld: maybe-all-stage4-libiberty
36771 all-stageprofile-ld: maybe-all-stageprofile-libiberty
36772 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
36773 all-ld: maybe-all-bfd
36775 all-stage1-ld: maybe-all-stage1-bfd
36776 all-stage2-ld: maybe-all-stage2-bfd
36777 all-stage3-ld: maybe-all-stage3-bfd
36778 all-stage4-ld: maybe-all-stage4-bfd
36779 all-stageprofile-ld: maybe-all-stageprofile-bfd
36780 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
36781 all-ld: maybe-all-opcodes
36783 all-stage1-ld: maybe-all-stage1-opcodes
36784 all-stage2-ld: maybe-all-stage2-opcodes
36785 all-stage3-ld: maybe-all-stage3-opcodes
36786 all-stage4-ld: maybe-all-stage4-opcodes
36787 all-stageprofile-ld: maybe-all-stageprofile-opcodes
36788 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
36789 all-ld: maybe-all-build-bison
36791 all-stage1-ld: maybe-all-build-bison
36792 all-stage2-ld: maybe-all-build-bison
36793 all-stage3-ld: maybe-all-build-bison
36794 all-stage4-ld: maybe-all-build-bison
36795 all-stageprofile-ld: maybe-all-build-bison
36796 all-stagefeedback-ld: maybe-all-build-bison
36797 all-prebootstrap: maybe-all-build-bison
36798 all-ld: maybe-all-build-byacc
36800 all-stage1-ld: maybe-all-build-byacc
36801 all-stage2-ld: maybe-all-build-byacc
36802 all-stage3-ld: maybe-all-build-byacc
36803 all-stage4-ld: maybe-all-build-byacc
36804 all-stageprofile-ld: maybe-all-build-byacc
36805 all-stagefeedback-ld: maybe-all-build-byacc
36806 all-prebootstrap: maybe-all-build-byacc
36807 all-ld: maybe-all-build-flex
36809 all-stage1-ld: maybe-all-build-flex
36810 all-stage2-ld: maybe-all-build-flex
36811 all-stage3-ld: maybe-all-build-flex
36812 all-stage4-ld: maybe-all-build-flex
36813 all-stageprofile-ld: maybe-all-build-flex
36814 all-stagefeedback-ld: maybe-all-build-flex
36815 all-prebootstrap: maybe-all-build-flex
36816 all-ld: maybe-all-intl
36818 all-stage1-ld: maybe-all-stage1-intl
36819 all-stage2-ld: maybe-all-stage2-intl
36820 all-stage3-ld: maybe-all-stage3-intl
36821 all-stage4-ld: maybe-all-stage4-intl
36822 all-stageprofile-ld: maybe-all-stageprofile-intl
36823 all-stagefeedback-ld: maybe-all-stagefeedback-intl
36824 all-opcodes: maybe-all-bfd
36826 all-stage1-opcodes: maybe-all-stage1-bfd
36827 all-stage2-opcodes: maybe-all-stage2-bfd
36828 all-stage3-opcodes: maybe-all-stage3-bfd
36829 all-stage4-opcodes: maybe-all-stage4-bfd
36830 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
36831 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
36832 all-opcodes: maybe-all-libiberty
36834 all-stage1-opcodes: maybe-all-stage1-libiberty
36835 all-stage2-opcodes: maybe-all-stage2-libiberty
36836 all-stage3-opcodes: maybe-all-stage3-libiberty
36837 all-stage4-opcodes: maybe-all-stage4-libiberty
36838 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
36839 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
36840 all-dejagnu: maybe-all-tcl
36841 all-dejagnu: maybe-all-expect
36842 all-dejagnu: maybe-all-tk
36843 configure-expect: maybe-configure-tcl
36844 configure-expect: maybe-configure-tk
36845 all-expect: maybe-all-tcl
36846 all-expect: maybe-all-tk
36847 configure-itcl: maybe-configure-tcl
36848 configure-itcl: maybe-configure-tk
36849 all-itcl: maybe-all-tcl
36850 all-itcl: maybe-all-tk
36851 install-itcl: maybe-install-tcl
36852 configure-tk: maybe-configure-tcl
36853 all-tk: maybe-all-tcl
36854 all-sid: maybe-all-libiberty
36855 all-sid: maybe-all-bfd
36856 all-sid: maybe-all-opcodes
36857 all-sid: maybe-all-tcl
36858 all-sid: maybe-all-tk
36859 install-sid: maybe-install-tcl
36860 install-sid: maybe-install-tk
36861 all-sim: maybe-all-libiberty
36862 all-sim: maybe-all-bfd
36863 all-sim: maybe-all-opcodes
36864 all-sim: maybe-all-readline
36865 all-sim: maybe-configure-gdb
36866 all-fastjar: maybe-all-zlib
36867 all-fastjar: maybe-all-build-texinfo
36868 all-fastjar: maybe-all-libiberty
36869 all-autoconf: maybe-all-m4
36870 all-autoconf: maybe-all-build-texinfo
36871 all-automake: maybe-all-m4
36872 all-automake: maybe-all-build-texinfo
36873 all-automake: maybe-all-autoconf
36874 all-bison: maybe-all-intl
36875 all-bison: maybe-all-build-texinfo
36876 all-diff: maybe-all-intl
36877 all-diff: maybe-all-build-texinfo
36878 all-fileutils: maybe-all-intl
36879 all-fileutils: maybe-all-build-texinfo
36880 all-flex: maybe-all-build-bison
36881 all-flex: maybe-all-build-byacc
36882 all-flex: maybe-all-intl
36883 all-flex: maybe-all-m4
36884 all-flex: maybe-all-build-texinfo
36885 all-gzip: maybe-all-intl
36886 all-gzip: maybe-all-zlib
36887 all-gzip: maybe-all-build-texinfo
36888 all-hello: maybe-all-intl
36889 all-hello: maybe-all-build-texinfo
36890 all-m4: maybe-all-intl
36891 all-m4: maybe-all-build-texinfo
36892 all-make: maybe-all-intl
36893 all-make: maybe-all-build-texinfo
36894 all-patch: maybe-all-build-texinfo
36895 all-make: maybe-all-build-texinfo
36896 all-prms: maybe-all-libiberty
36897 all-recode: maybe-all-build-texinfo
36898 all-sed: maybe-all-build-texinfo
36899 all-send-pr: maybe-all-prms
36900 all-tar: maybe-all-build-texinfo
36901 all-uudecode: maybe-all-build-texinfo
36902 configure-target-boehm-gc: maybe-configure-target-qthreads
36903 configure-target-fastjar: maybe-configure-target-zlib
36904 all-target-fastjar: maybe-all-target-zlib
36905 all-target-fastjar: maybe-all-target-libiberty
36906 configure-target-libjava: maybe-configure-target-zlib
36907 configure-target-libjava: maybe-configure-target-boehm-gc
36908 configure-target-libjava: maybe-configure-target-qthreads
36909 configure-target-libjava: maybe-configure-target-libffi
36910 all-target-libjava: maybe-all-fastjar
36911 all-target-libjava: maybe-all-target-zlib
36912 all-target-libjava: maybe-all-target-boehm-gc
36913 all-target-libjava: maybe-all-target-qthreads
36914 all-target-libjava: maybe-all-target-libffi
36915 all-target-libobjc: maybe-all-target-libiberty
36916 all-target-libstdc++-v3: maybe-all-target-libiberty
36917 all-target-libgloss: maybe-configure-target-newlib
36918 all-target-winsup: maybe-all-target-libiberty
36919 all-target-winsup: maybe-all-target-libtermcap
36922 # Non-toplevel bootstrap rules must depend on several packages, to be built
36923 # before gcc. Another wart that will go away, hopefully soon.
36924 @if gcc-no-bootstrap
36926 all-prebootstrap: maybe-all-bfd
36927 all-prebootstrap: maybe-all-opcodes
36928 all-prebootstrap: maybe-all-binutils
36929 all-prebootstrap: maybe-all-gas
36930 all-prebootstrap: maybe-all-intl
36931 all-prebootstrap: maybe-all-ld
36932 all-prebootstrap: maybe-all-libcpp
36933 all-prebootstrap: maybe-all-libiberty
36934 all-prebootstrap: maybe-all-zlib
36935 @endif gcc-no-bootstrap
36937 GDB_TK = @GDB_TK@
36938 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
36940 # Serialization dependencies. Host configures don't work well in parallel to
36941 # each other, due to contention over config.cache. Target configures and
36942 # build configures are similar.
36943 @serialization_dependencies@
36945 # --------------------------------
36946 # Regenerating top level configury
36947 # --------------------------------
36949 # Multilib.out tells target dirs what multilibs they should build.
36950 # There is really only one copy. We use the 'timestamp' method to
36951 # work around various timestamp bugs on some systems.
36952 # We use move-if-change so that it's only considered updated when it
36953 # actually changes, because it has to depend on a phony target.
36954 multilib.out: maybe-all-gcc
36955 @r=`${PWD_COMMAND}`; export r; \
36956 echo "Checking multilib configuration..."; \
36957 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
36958 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
36960 # Rebuilding Makefile.in, using autogen.
36961 AUTOGEN = autogen
36962 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
36963 cd $(srcdir) && $(AUTOGEN) Makefile.def
36965 # Rebuilding Makefile.
36966 Makefile: $(srcdir)/Makefile.in config.status
36967 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
36969 config.status: configure
36970 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
36972 # Rebuilding configure.
36973 AUTOCONF = autoconf
36974 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
36975 cd $(srcdir) && $(AUTOCONF)
36977 # ------------------------------
36978 # Special directives to GNU Make
36979 # ------------------------------
36981 # Don't pass command-line variables to submakes.
36982 .NOEXPORT:
36983 MAKEOVERRIDES=
36985 # end of Makefile.in