* tree-into-ssa.c (rewrite_into_ssa): Fix comment typo.
[official-gcc.git] / Makefile.in
blobe84c5d23a7178e900cce69177961acb008edfc2e
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-libdecnumber \
814 maybe-configure-libgui \
815 maybe-configure-libiberty \
816 maybe-configure-libtool \
817 maybe-configure-m4 \
818 maybe-configure-make \
819 maybe-configure-mmalloc \
820 maybe-configure-patch \
821 maybe-configure-perl \
822 maybe-configure-prms \
823 maybe-configure-rcs \
824 maybe-configure-readline \
825 maybe-configure-release \
826 maybe-configure-recode \
827 maybe-configure-sed \
828 maybe-configure-send-pr \
829 maybe-configure-shellutils \
830 maybe-configure-sid \
831 maybe-configure-sim \
832 maybe-configure-tar \
833 maybe-configure-texinfo \
834 maybe-configure-textutils \
835 maybe-configure-time \
836 maybe-configure-uudecode \
837 maybe-configure-wdiff \
838 maybe-configure-zip \
839 maybe-configure-zlib \
840 maybe-configure-gdb \
841 maybe-configure-expect \
842 maybe-configure-guile \
843 maybe-configure-tk \
844 maybe-configure-libtermcap \
845 maybe-configure-utils \
846 maybe-configure-gnattools
847 .PHONY: configure-target
848 configure-target: \
849 maybe-configure-target-libstdc++-v3 \
850 maybe-configure-target-libmudflap \
851 maybe-configure-target-libssp \
852 maybe-configure-target-newlib \
853 maybe-configure-target-libgfortran \
854 maybe-configure-target-libobjc \
855 maybe-configure-target-libtermcap \
856 maybe-configure-target-winsup \
857 maybe-configure-target-libgloss \
858 maybe-configure-target-libiberty \
859 maybe-configure-target-gperf \
860 maybe-configure-target-examples \
861 maybe-configure-target-libffi \
862 maybe-configure-target-libjava \
863 maybe-configure-target-zlib \
864 maybe-configure-target-boehm-gc \
865 maybe-configure-target-qthreads \
866 maybe-configure-target-rda \
867 maybe-configure-target-libada
869 # The target built for a native non-bootstrap build.
870 .PHONY: all
871 all:
872 @if gcc-bootstrap
873 @r=`${PWD_COMMAND}`; export r; \
874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
875 if [ ! -f stage_last ]; then \
876 $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \
878 @endif gcc-bootstrap
879 @$(unstage)
880 @if gcc-no-bootstrap
881 @r=`${PWD_COMMAND}`; export r; \
882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
883 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
884 @endif gcc-no-bootstrap
885 @r=`${PWD_COMMAND}`; export r; \
886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
887 if [ -f stage_last ]; then \
888 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host; \
889 else \
890 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host; \
892 @r=`${PWD_COMMAND}`; export r; \
893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
894 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-target
895 @$(stage)
897 .PHONY: all-build
898 all-build: \
899 maybe-all-build-libiberty \
900 maybe-all-build-bison \
901 maybe-all-build-byacc \
902 maybe-all-build-flex \
903 maybe-all-build-m4 \
904 maybe-all-build-texinfo \
905 maybe-all-build-fixincludes
906 .PHONY: all-host
907 all-host: \
908 maybe-all-ash \
909 maybe-all-autoconf \
910 maybe-all-automake \
911 maybe-all-bash \
912 maybe-all-bfd \
913 maybe-all-opcodes \
914 maybe-all-binutils \
915 maybe-all-bison \
916 maybe-all-byacc \
917 maybe-all-bzip2 \
918 maybe-all-dejagnu \
919 maybe-all-diff \
920 maybe-all-dosutils \
921 maybe-all-etc \
922 maybe-all-fastjar \
923 maybe-all-fileutils \
924 maybe-all-findutils \
925 maybe-all-find \
926 maybe-all-fixincludes \
927 maybe-all-flex \
928 maybe-all-gas \
929 maybe-all-gcc \
930 maybe-all-gawk \
931 maybe-all-gettext \
932 maybe-all-gnuserv \
933 maybe-all-gprof \
934 maybe-all-gzip \
935 maybe-all-hello \
936 maybe-all-indent \
937 maybe-all-intl \
938 maybe-all-tcl \
939 maybe-all-itcl \
940 maybe-all-ld \
941 maybe-all-libcpp \
942 maybe-all-libdecnumber \
943 maybe-all-libgui \
944 maybe-all-libiberty \
945 maybe-all-libtool \
946 maybe-all-m4 \
947 maybe-all-make \
948 maybe-all-mmalloc \
949 maybe-all-patch \
950 maybe-all-perl \
951 maybe-all-prms \
952 maybe-all-rcs \
953 maybe-all-readline \
954 maybe-all-release \
955 maybe-all-recode \
956 maybe-all-sed \
957 maybe-all-send-pr \
958 maybe-all-shellutils \
959 maybe-all-sid \
960 maybe-all-sim \
961 maybe-all-tar \
962 maybe-all-texinfo \
963 maybe-all-textutils \
964 maybe-all-time \
965 maybe-all-uudecode \
966 maybe-all-wdiff \
967 maybe-all-zip \
968 maybe-all-zlib \
969 maybe-all-gdb \
970 maybe-all-expect \
971 maybe-all-guile \
972 maybe-all-tk \
973 maybe-all-libtermcap \
974 maybe-all-utils \
975 maybe-all-gnattools
976 .PHONY: all-target
977 all-target: \
978 maybe-all-target-libstdc++-v3 \
979 maybe-all-target-libmudflap \
980 maybe-all-target-libssp \
981 maybe-all-target-newlib \
982 maybe-all-target-libgfortran \
983 maybe-all-target-libobjc \
984 maybe-all-target-libtermcap \
985 maybe-all-target-winsup \
986 maybe-all-target-libgloss \
987 maybe-all-target-libiberty \
988 maybe-all-target-gperf \
989 maybe-all-target-examples \
990 maybe-all-target-libffi \
991 maybe-all-target-libjava \
992 maybe-all-target-zlib \
993 maybe-all-target-boehm-gc \
994 maybe-all-target-qthreads \
995 maybe-all-target-rda \
996 maybe-all-target-libada
998 # Do a target for all the subdirectories. A ``make do-X'' will do a
999 # ``make X'' in all subdirectories (because, in general, there is a
1000 # dependency (below) of X upon do-X, a ``make X'' will also do this,
1001 # but it may do additional work as well).
1003 .PHONY: do-info
1004 do-info:
1005 @$(unstage)
1006 @r=`${PWD_COMMAND}`; export r; \
1007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1009 info-target
1010 @$(stage)
1013 .PHONY: info-host
1014 info-host: \
1015 maybe-info-ash \
1016 maybe-info-autoconf \
1017 maybe-info-automake \
1018 maybe-info-bash \
1019 maybe-info-bfd \
1020 maybe-info-opcodes \
1021 maybe-info-binutils \
1022 maybe-info-bison \
1023 maybe-info-byacc \
1024 maybe-info-bzip2 \
1025 maybe-info-dejagnu \
1026 maybe-info-diff \
1027 maybe-info-dosutils \
1028 maybe-info-etc \
1029 maybe-info-fastjar \
1030 maybe-info-fileutils \
1031 maybe-info-findutils \
1032 maybe-info-find \
1033 maybe-info-fixincludes \
1034 maybe-info-flex \
1035 maybe-info-gas \
1036 maybe-info-gcc \
1037 maybe-info-gawk \
1038 maybe-info-gettext \
1039 maybe-info-gnuserv \
1040 maybe-info-gprof \
1041 maybe-info-gzip \
1042 maybe-info-hello \
1043 maybe-info-indent \
1044 maybe-info-intl \
1045 maybe-info-tcl \
1046 maybe-info-itcl \
1047 maybe-info-ld \
1048 maybe-info-libcpp \
1049 maybe-info-libdecnumber \
1050 maybe-info-libgui \
1051 maybe-info-libiberty \
1052 maybe-info-libtool \
1053 maybe-info-m4 \
1054 maybe-info-make \
1055 maybe-info-mmalloc \
1056 maybe-info-patch \
1057 maybe-info-perl \
1058 maybe-info-prms \
1059 maybe-info-rcs \
1060 maybe-info-readline \
1061 maybe-info-release \
1062 maybe-info-recode \
1063 maybe-info-sed \
1064 maybe-info-send-pr \
1065 maybe-info-shellutils \
1066 maybe-info-sid \
1067 maybe-info-sim \
1068 maybe-info-tar \
1069 maybe-info-texinfo \
1070 maybe-info-textutils \
1071 maybe-info-time \
1072 maybe-info-uudecode \
1073 maybe-info-wdiff \
1074 maybe-info-zip \
1075 maybe-info-zlib \
1076 maybe-info-gdb \
1077 maybe-info-expect \
1078 maybe-info-guile \
1079 maybe-info-tk \
1080 maybe-info-libtermcap \
1081 maybe-info-utils \
1082 maybe-info-gnattools
1084 .PHONY: info-target
1085 info-target: \
1086 maybe-info-target-libstdc++-v3 \
1087 maybe-info-target-libmudflap \
1088 maybe-info-target-libssp \
1089 maybe-info-target-newlib \
1090 maybe-info-target-libgfortran \
1091 maybe-info-target-libobjc \
1092 maybe-info-target-libtermcap \
1093 maybe-info-target-winsup \
1094 maybe-info-target-libgloss \
1095 maybe-info-target-libiberty \
1096 maybe-info-target-gperf \
1097 maybe-info-target-examples \
1098 maybe-info-target-libffi \
1099 maybe-info-target-libjava \
1100 maybe-info-target-zlib \
1101 maybe-info-target-boehm-gc \
1102 maybe-info-target-qthreads \
1103 maybe-info-target-rda \
1104 maybe-info-target-libada
1106 .PHONY: do-dvi
1107 do-dvi:
1108 @$(unstage)
1109 @r=`${PWD_COMMAND}`; export r; \
1110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1111 $(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1112 dvi-target
1113 @$(stage)
1116 .PHONY: dvi-host
1117 dvi-host: \
1118 maybe-dvi-ash \
1119 maybe-dvi-autoconf \
1120 maybe-dvi-automake \
1121 maybe-dvi-bash \
1122 maybe-dvi-bfd \
1123 maybe-dvi-opcodes \
1124 maybe-dvi-binutils \
1125 maybe-dvi-bison \
1126 maybe-dvi-byacc \
1127 maybe-dvi-bzip2 \
1128 maybe-dvi-dejagnu \
1129 maybe-dvi-diff \
1130 maybe-dvi-dosutils \
1131 maybe-dvi-etc \
1132 maybe-dvi-fastjar \
1133 maybe-dvi-fileutils \
1134 maybe-dvi-findutils \
1135 maybe-dvi-find \
1136 maybe-dvi-fixincludes \
1137 maybe-dvi-flex \
1138 maybe-dvi-gas \
1139 maybe-dvi-gcc \
1140 maybe-dvi-gawk \
1141 maybe-dvi-gettext \
1142 maybe-dvi-gnuserv \
1143 maybe-dvi-gprof \
1144 maybe-dvi-gzip \
1145 maybe-dvi-hello \
1146 maybe-dvi-indent \
1147 maybe-dvi-intl \
1148 maybe-dvi-tcl \
1149 maybe-dvi-itcl \
1150 maybe-dvi-ld \
1151 maybe-dvi-libcpp \
1152 maybe-dvi-libdecnumber \
1153 maybe-dvi-libgui \
1154 maybe-dvi-libiberty \
1155 maybe-dvi-libtool \
1156 maybe-dvi-m4 \
1157 maybe-dvi-make \
1158 maybe-dvi-mmalloc \
1159 maybe-dvi-patch \
1160 maybe-dvi-perl \
1161 maybe-dvi-prms \
1162 maybe-dvi-rcs \
1163 maybe-dvi-readline \
1164 maybe-dvi-release \
1165 maybe-dvi-recode \
1166 maybe-dvi-sed \
1167 maybe-dvi-send-pr \
1168 maybe-dvi-shellutils \
1169 maybe-dvi-sid \
1170 maybe-dvi-sim \
1171 maybe-dvi-tar \
1172 maybe-dvi-texinfo \
1173 maybe-dvi-textutils \
1174 maybe-dvi-time \
1175 maybe-dvi-uudecode \
1176 maybe-dvi-wdiff \
1177 maybe-dvi-zip \
1178 maybe-dvi-zlib \
1179 maybe-dvi-gdb \
1180 maybe-dvi-expect \
1181 maybe-dvi-guile \
1182 maybe-dvi-tk \
1183 maybe-dvi-libtermcap \
1184 maybe-dvi-utils \
1185 maybe-dvi-gnattools
1187 .PHONY: dvi-target
1188 dvi-target: \
1189 maybe-dvi-target-libstdc++-v3 \
1190 maybe-dvi-target-libmudflap \
1191 maybe-dvi-target-libssp \
1192 maybe-dvi-target-newlib \
1193 maybe-dvi-target-libgfortran \
1194 maybe-dvi-target-libobjc \
1195 maybe-dvi-target-libtermcap \
1196 maybe-dvi-target-winsup \
1197 maybe-dvi-target-libgloss \
1198 maybe-dvi-target-libiberty \
1199 maybe-dvi-target-gperf \
1200 maybe-dvi-target-examples \
1201 maybe-dvi-target-libffi \
1202 maybe-dvi-target-libjava \
1203 maybe-dvi-target-zlib \
1204 maybe-dvi-target-boehm-gc \
1205 maybe-dvi-target-qthreads \
1206 maybe-dvi-target-rda \
1207 maybe-dvi-target-libada
1209 .PHONY: do-html
1210 do-html:
1211 @$(unstage)
1212 @r=`${PWD_COMMAND}`; export r; \
1213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1214 $(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1215 html-target
1216 @$(stage)
1219 .PHONY: html-host
1220 html-host: \
1221 maybe-html-ash \
1222 maybe-html-autoconf \
1223 maybe-html-automake \
1224 maybe-html-bash \
1225 maybe-html-bfd \
1226 maybe-html-opcodes \
1227 maybe-html-binutils \
1228 maybe-html-bison \
1229 maybe-html-byacc \
1230 maybe-html-bzip2 \
1231 maybe-html-dejagnu \
1232 maybe-html-diff \
1233 maybe-html-dosutils \
1234 maybe-html-etc \
1235 maybe-html-fastjar \
1236 maybe-html-fileutils \
1237 maybe-html-findutils \
1238 maybe-html-find \
1239 maybe-html-fixincludes \
1240 maybe-html-flex \
1241 maybe-html-gas \
1242 maybe-html-gcc \
1243 maybe-html-gawk \
1244 maybe-html-gettext \
1245 maybe-html-gnuserv \
1246 maybe-html-gprof \
1247 maybe-html-gzip \
1248 maybe-html-hello \
1249 maybe-html-indent \
1250 maybe-html-intl \
1251 maybe-html-tcl \
1252 maybe-html-itcl \
1253 maybe-html-ld \
1254 maybe-html-libcpp \
1255 maybe-html-libdecnumber \
1256 maybe-html-libgui \
1257 maybe-html-libiberty \
1258 maybe-html-libtool \
1259 maybe-html-m4 \
1260 maybe-html-make \
1261 maybe-html-mmalloc \
1262 maybe-html-patch \
1263 maybe-html-perl \
1264 maybe-html-prms \
1265 maybe-html-rcs \
1266 maybe-html-readline \
1267 maybe-html-release \
1268 maybe-html-recode \
1269 maybe-html-sed \
1270 maybe-html-send-pr \
1271 maybe-html-shellutils \
1272 maybe-html-sid \
1273 maybe-html-sim \
1274 maybe-html-tar \
1275 maybe-html-texinfo \
1276 maybe-html-textutils \
1277 maybe-html-time \
1278 maybe-html-uudecode \
1279 maybe-html-wdiff \
1280 maybe-html-zip \
1281 maybe-html-zlib \
1282 maybe-html-gdb \
1283 maybe-html-expect \
1284 maybe-html-guile \
1285 maybe-html-tk \
1286 maybe-html-libtermcap \
1287 maybe-html-utils \
1288 maybe-html-gnattools
1290 .PHONY: html-target
1291 html-target: \
1292 maybe-html-target-libstdc++-v3 \
1293 maybe-html-target-libmudflap \
1294 maybe-html-target-libssp \
1295 maybe-html-target-newlib \
1296 maybe-html-target-libgfortran \
1297 maybe-html-target-libobjc \
1298 maybe-html-target-libtermcap \
1299 maybe-html-target-winsup \
1300 maybe-html-target-libgloss \
1301 maybe-html-target-libiberty \
1302 maybe-html-target-gperf \
1303 maybe-html-target-examples \
1304 maybe-html-target-libffi \
1305 maybe-html-target-libjava \
1306 maybe-html-target-zlib \
1307 maybe-html-target-boehm-gc \
1308 maybe-html-target-qthreads \
1309 maybe-html-target-rda \
1310 maybe-html-target-libada
1312 .PHONY: do-TAGS
1313 do-TAGS:
1314 @$(unstage)
1315 @r=`${PWD_COMMAND}`; export r; \
1316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1317 $(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1318 TAGS-target
1319 @$(stage)
1322 .PHONY: TAGS-host
1323 TAGS-host: \
1324 maybe-TAGS-ash \
1325 maybe-TAGS-autoconf \
1326 maybe-TAGS-automake \
1327 maybe-TAGS-bash \
1328 maybe-TAGS-bfd \
1329 maybe-TAGS-opcodes \
1330 maybe-TAGS-binutils \
1331 maybe-TAGS-bison \
1332 maybe-TAGS-byacc \
1333 maybe-TAGS-bzip2 \
1334 maybe-TAGS-dejagnu \
1335 maybe-TAGS-diff \
1336 maybe-TAGS-dosutils \
1337 maybe-TAGS-etc \
1338 maybe-TAGS-fastjar \
1339 maybe-TAGS-fileutils \
1340 maybe-TAGS-findutils \
1341 maybe-TAGS-find \
1342 maybe-TAGS-fixincludes \
1343 maybe-TAGS-flex \
1344 maybe-TAGS-gas \
1345 maybe-TAGS-gcc \
1346 maybe-TAGS-gawk \
1347 maybe-TAGS-gettext \
1348 maybe-TAGS-gnuserv \
1349 maybe-TAGS-gprof \
1350 maybe-TAGS-gzip \
1351 maybe-TAGS-hello \
1352 maybe-TAGS-indent \
1353 maybe-TAGS-intl \
1354 maybe-TAGS-tcl \
1355 maybe-TAGS-itcl \
1356 maybe-TAGS-ld \
1357 maybe-TAGS-libcpp \
1358 maybe-TAGS-libdecnumber \
1359 maybe-TAGS-libgui \
1360 maybe-TAGS-libiberty \
1361 maybe-TAGS-libtool \
1362 maybe-TAGS-m4 \
1363 maybe-TAGS-make \
1364 maybe-TAGS-mmalloc \
1365 maybe-TAGS-patch \
1366 maybe-TAGS-perl \
1367 maybe-TAGS-prms \
1368 maybe-TAGS-rcs \
1369 maybe-TAGS-readline \
1370 maybe-TAGS-release \
1371 maybe-TAGS-recode \
1372 maybe-TAGS-sed \
1373 maybe-TAGS-send-pr \
1374 maybe-TAGS-shellutils \
1375 maybe-TAGS-sid \
1376 maybe-TAGS-sim \
1377 maybe-TAGS-tar \
1378 maybe-TAGS-texinfo \
1379 maybe-TAGS-textutils \
1380 maybe-TAGS-time \
1381 maybe-TAGS-uudecode \
1382 maybe-TAGS-wdiff \
1383 maybe-TAGS-zip \
1384 maybe-TAGS-zlib \
1385 maybe-TAGS-gdb \
1386 maybe-TAGS-expect \
1387 maybe-TAGS-guile \
1388 maybe-TAGS-tk \
1389 maybe-TAGS-libtermcap \
1390 maybe-TAGS-utils \
1391 maybe-TAGS-gnattools
1393 .PHONY: TAGS-target
1394 TAGS-target: \
1395 maybe-TAGS-target-libstdc++-v3 \
1396 maybe-TAGS-target-libmudflap \
1397 maybe-TAGS-target-libssp \
1398 maybe-TAGS-target-newlib \
1399 maybe-TAGS-target-libgfortran \
1400 maybe-TAGS-target-libobjc \
1401 maybe-TAGS-target-libtermcap \
1402 maybe-TAGS-target-winsup \
1403 maybe-TAGS-target-libgloss \
1404 maybe-TAGS-target-libiberty \
1405 maybe-TAGS-target-gperf \
1406 maybe-TAGS-target-examples \
1407 maybe-TAGS-target-libffi \
1408 maybe-TAGS-target-libjava \
1409 maybe-TAGS-target-zlib \
1410 maybe-TAGS-target-boehm-gc \
1411 maybe-TAGS-target-qthreads \
1412 maybe-TAGS-target-rda \
1413 maybe-TAGS-target-libada
1415 .PHONY: do-install-info
1416 do-install-info:
1417 @$(unstage)
1418 @r=`${PWD_COMMAND}`; export r; \
1419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1420 $(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1421 install-info-target
1422 @$(stage)
1425 .PHONY: install-info-host
1426 install-info-host: \
1427 maybe-install-info-ash \
1428 maybe-install-info-autoconf \
1429 maybe-install-info-automake \
1430 maybe-install-info-bash \
1431 maybe-install-info-bfd \
1432 maybe-install-info-opcodes \
1433 maybe-install-info-binutils \
1434 maybe-install-info-bison \
1435 maybe-install-info-byacc \
1436 maybe-install-info-bzip2 \
1437 maybe-install-info-dejagnu \
1438 maybe-install-info-diff \
1439 maybe-install-info-dosutils \
1440 maybe-install-info-etc \
1441 maybe-install-info-fastjar \
1442 maybe-install-info-fileutils \
1443 maybe-install-info-findutils \
1444 maybe-install-info-find \
1445 maybe-install-info-fixincludes \
1446 maybe-install-info-flex \
1447 maybe-install-info-gas \
1448 maybe-install-info-gcc \
1449 maybe-install-info-gawk \
1450 maybe-install-info-gettext \
1451 maybe-install-info-gnuserv \
1452 maybe-install-info-gprof \
1453 maybe-install-info-gzip \
1454 maybe-install-info-hello \
1455 maybe-install-info-indent \
1456 maybe-install-info-intl \
1457 maybe-install-info-tcl \
1458 maybe-install-info-itcl \
1459 maybe-install-info-ld \
1460 maybe-install-info-libcpp \
1461 maybe-install-info-libdecnumber \
1462 maybe-install-info-libgui \
1463 maybe-install-info-libiberty \
1464 maybe-install-info-libtool \
1465 maybe-install-info-m4 \
1466 maybe-install-info-make \
1467 maybe-install-info-mmalloc \
1468 maybe-install-info-patch \
1469 maybe-install-info-perl \
1470 maybe-install-info-prms \
1471 maybe-install-info-rcs \
1472 maybe-install-info-readline \
1473 maybe-install-info-release \
1474 maybe-install-info-recode \
1475 maybe-install-info-sed \
1476 maybe-install-info-send-pr \
1477 maybe-install-info-shellutils \
1478 maybe-install-info-sid \
1479 maybe-install-info-sim \
1480 maybe-install-info-tar \
1481 maybe-install-info-texinfo \
1482 maybe-install-info-textutils \
1483 maybe-install-info-time \
1484 maybe-install-info-uudecode \
1485 maybe-install-info-wdiff \
1486 maybe-install-info-zip \
1487 maybe-install-info-zlib \
1488 maybe-install-info-gdb \
1489 maybe-install-info-expect \
1490 maybe-install-info-guile \
1491 maybe-install-info-tk \
1492 maybe-install-info-libtermcap \
1493 maybe-install-info-utils \
1494 maybe-install-info-gnattools
1496 .PHONY: install-info-target
1497 install-info-target: \
1498 maybe-install-info-target-libstdc++-v3 \
1499 maybe-install-info-target-libmudflap \
1500 maybe-install-info-target-libssp \
1501 maybe-install-info-target-newlib \
1502 maybe-install-info-target-libgfortran \
1503 maybe-install-info-target-libobjc \
1504 maybe-install-info-target-libtermcap \
1505 maybe-install-info-target-winsup \
1506 maybe-install-info-target-libgloss \
1507 maybe-install-info-target-libiberty \
1508 maybe-install-info-target-gperf \
1509 maybe-install-info-target-examples \
1510 maybe-install-info-target-libffi \
1511 maybe-install-info-target-libjava \
1512 maybe-install-info-target-zlib \
1513 maybe-install-info-target-boehm-gc \
1514 maybe-install-info-target-qthreads \
1515 maybe-install-info-target-rda \
1516 maybe-install-info-target-libada
1518 .PHONY: do-installcheck
1519 do-installcheck:
1520 @$(unstage)
1521 @r=`${PWD_COMMAND}`; export r; \
1522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1523 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1524 installcheck-target
1525 @$(stage)
1528 .PHONY: installcheck-host
1529 installcheck-host: \
1530 maybe-installcheck-ash \
1531 maybe-installcheck-autoconf \
1532 maybe-installcheck-automake \
1533 maybe-installcheck-bash \
1534 maybe-installcheck-bfd \
1535 maybe-installcheck-opcodes \
1536 maybe-installcheck-binutils \
1537 maybe-installcheck-bison \
1538 maybe-installcheck-byacc \
1539 maybe-installcheck-bzip2 \
1540 maybe-installcheck-dejagnu \
1541 maybe-installcheck-diff \
1542 maybe-installcheck-dosutils \
1543 maybe-installcheck-etc \
1544 maybe-installcheck-fastjar \
1545 maybe-installcheck-fileutils \
1546 maybe-installcheck-findutils \
1547 maybe-installcheck-find \
1548 maybe-installcheck-fixincludes \
1549 maybe-installcheck-flex \
1550 maybe-installcheck-gas \
1551 maybe-installcheck-gcc \
1552 maybe-installcheck-gawk \
1553 maybe-installcheck-gettext \
1554 maybe-installcheck-gnuserv \
1555 maybe-installcheck-gprof \
1556 maybe-installcheck-gzip \
1557 maybe-installcheck-hello \
1558 maybe-installcheck-indent \
1559 maybe-installcheck-intl \
1560 maybe-installcheck-tcl \
1561 maybe-installcheck-itcl \
1562 maybe-installcheck-ld \
1563 maybe-installcheck-libcpp \
1564 maybe-installcheck-libdecnumber \
1565 maybe-installcheck-libgui \
1566 maybe-installcheck-libiberty \
1567 maybe-installcheck-libtool \
1568 maybe-installcheck-m4 \
1569 maybe-installcheck-make \
1570 maybe-installcheck-mmalloc \
1571 maybe-installcheck-patch \
1572 maybe-installcheck-perl \
1573 maybe-installcheck-prms \
1574 maybe-installcheck-rcs \
1575 maybe-installcheck-readline \
1576 maybe-installcheck-release \
1577 maybe-installcheck-recode \
1578 maybe-installcheck-sed \
1579 maybe-installcheck-send-pr \
1580 maybe-installcheck-shellutils \
1581 maybe-installcheck-sid \
1582 maybe-installcheck-sim \
1583 maybe-installcheck-tar \
1584 maybe-installcheck-texinfo \
1585 maybe-installcheck-textutils \
1586 maybe-installcheck-time \
1587 maybe-installcheck-uudecode \
1588 maybe-installcheck-wdiff \
1589 maybe-installcheck-zip \
1590 maybe-installcheck-zlib \
1591 maybe-installcheck-gdb \
1592 maybe-installcheck-expect \
1593 maybe-installcheck-guile \
1594 maybe-installcheck-tk \
1595 maybe-installcheck-libtermcap \
1596 maybe-installcheck-utils \
1597 maybe-installcheck-gnattools
1599 .PHONY: installcheck-target
1600 installcheck-target: \
1601 maybe-installcheck-target-libstdc++-v3 \
1602 maybe-installcheck-target-libmudflap \
1603 maybe-installcheck-target-libssp \
1604 maybe-installcheck-target-newlib \
1605 maybe-installcheck-target-libgfortran \
1606 maybe-installcheck-target-libobjc \
1607 maybe-installcheck-target-libtermcap \
1608 maybe-installcheck-target-winsup \
1609 maybe-installcheck-target-libgloss \
1610 maybe-installcheck-target-libiberty \
1611 maybe-installcheck-target-gperf \
1612 maybe-installcheck-target-examples \
1613 maybe-installcheck-target-libffi \
1614 maybe-installcheck-target-libjava \
1615 maybe-installcheck-target-zlib \
1616 maybe-installcheck-target-boehm-gc \
1617 maybe-installcheck-target-qthreads \
1618 maybe-installcheck-target-rda \
1619 maybe-installcheck-target-libada
1621 .PHONY: do-mostlyclean
1622 do-mostlyclean:
1623 @$(unstage)
1624 @r=`${PWD_COMMAND}`; export r; \
1625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1626 $(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1627 mostlyclean-target
1628 @$(stage)
1631 .PHONY: mostlyclean-host
1632 mostlyclean-host: \
1633 maybe-mostlyclean-ash \
1634 maybe-mostlyclean-autoconf \
1635 maybe-mostlyclean-automake \
1636 maybe-mostlyclean-bash \
1637 maybe-mostlyclean-bfd \
1638 maybe-mostlyclean-opcodes \
1639 maybe-mostlyclean-binutils \
1640 maybe-mostlyclean-bison \
1641 maybe-mostlyclean-byacc \
1642 maybe-mostlyclean-bzip2 \
1643 maybe-mostlyclean-dejagnu \
1644 maybe-mostlyclean-diff \
1645 maybe-mostlyclean-dosutils \
1646 maybe-mostlyclean-etc \
1647 maybe-mostlyclean-fastjar \
1648 maybe-mostlyclean-fileutils \
1649 maybe-mostlyclean-findutils \
1650 maybe-mostlyclean-find \
1651 maybe-mostlyclean-fixincludes \
1652 maybe-mostlyclean-flex \
1653 maybe-mostlyclean-gas \
1654 maybe-mostlyclean-gcc \
1655 maybe-mostlyclean-gawk \
1656 maybe-mostlyclean-gettext \
1657 maybe-mostlyclean-gnuserv \
1658 maybe-mostlyclean-gprof \
1659 maybe-mostlyclean-gzip \
1660 maybe-mostlyclean-hello \
1661 maybe-mostlyclean-indent \
1662 maybe-mostlyclean-intl \
1663 maybe-mostlyclean-tcl \
1664 maybe-mostlyclean-itcl \
1665 maybe-mostlyclean-ld \
1666 maybe-mostlyclean-libcpp \
1667 maybe-mostlyclean-libdecnumber \
1668 maybe-mostlyclean-libgui \
1669 maybe-mostlyclean-libiberty \
1670 maybe-mostlyclean-libtool \
1671 maybe-mostlyclean-m4 \
1672 maybe-mostlyclean-make \
1673 maybe-mostlyclean-mmalloc \
1674 maybe-mostlyclean-patch \
1675 maybe-mostlyclean-perl \
1676 maybe-mostlyclean-prms \
1677 maybe-mostlyclean-rcs \
1678 maybe-mostlyclean-readline \
1679 maybe-mostlyclean-release \
1680 maybe-mostlyclean-recode \
1681 maybe-mostlyclean-sed \
1682 maybe-mostlyclean-send-pr \
1683 maybe-mostlyclean-shellutils \
1684 maybe-mostlyclean-sid \
1685 maybe-mostlyclean-sim \
1686 maybe-mostlyclean-tar \
1687 maybe-mostlyclean-texinfo \
1688 maybe-mostlyclean-textutils \
1689 maybe-mostlyclean-time \
1690 maybe-mostlyclean-uudecode \
1691 maybe-mostlyclean-wdiff \
1692 maybe-mostlyclean-zip \
1693 maybe-mostlyclean-zlib \
1694 maybe-mostlyclean-gdb \
1695 maybe-mostlyclean-expect \
1696 maybe-mostlyclean-guile \
1697 maybe-mostlyclean-tk \
1698 maybe-mostlyclean-libtermcap \
1699 maybe-mostlyclean-utils \
1700 maybe-mostlyclean-gnattools
1702 .PHONY: mostlyclean-target
1703 mostlyclean-target: \
1704 maybe-mostlyclean-target-libstdc++-v3 \
1705 maybe-mostlyclean-target-libmudflap \
1706 maybe-mostlyclean-target-libssp \
1707 maybe-mostlyclean-target-newlib \
1708 maybe-mostlyclean-target-libgfortran \
1709 maybe-mostlyclean-target-libobjc \
1710 maybe-mostlyclean-target-libtermcap \
1711 maybe-mostlyclean-target-winsup \
1712 maybe-mostlyclean-target-libgloss \
1713 maybe-mostlyclean-target-libiberty \
1714 maybe-mostlyclean-target-gperf \
1715 maybe-mostlyclean-target-examples \
1716 maybe-mostlyclean-target-libffi \
1717 maybe-mostlyclean-target-libjava \
1718 maybe-mostlyclean-target-zlib \
1719 maybe-mostlyclean-target-boehm-gc \
1720 maybe-mostlyclean-target-qthreads \
1721 maybe-mostlyclean-target-rda \
1722 maybe-mostlyclean-target-libada
1724 .PHONY: do-clean
1725 do-clean:
1726 @$(unstage)
1727 @r=`${PWD_COMMAND}`; export r; \
1728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1729 $(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1730 clean-target
1731 @$(stage)
1734 .PHONY: clean-host
1735 clean-host: \
1736 maybe-clean-ash \
1737 maybe-clean-autoconf \
1738 maybe-clean-automake \
1739 maybe-clean-bash \
1740 maybe-clean-bfd \
1741 maybe-clean-opcodes \
1742 maybe-clean-binutils \
1743 maybe-clean-bison \
1744 maybe-clean-byacc \
1745 maybe-clean-bzip2 \
1746 maybe-clean-dejagnu \
1747 maybe-clean-diff \
1748 maybe-clean-dosutils \
1749 maybe-clean-etc \
1750 maybe-clean-fastjar \
1751 maybe-clean-fileutils \
1752 maybe-clean-findutils \
1753 maybe-clean-find \
1754 maybe-clean-fixincludes \
1755 maybe-clean-flex \
1756 maybe-clean-gas \
1757 maybe-clean-gcc \
1758 maybe-clean-gawk \
1759 maybe-clean-gettext \
1760 maybe-clean-gnuserv \
1761 maybe-clean-gprof \
1762 maybe-clean-gzip \
1763 maybe-clean-hello \
1764 maybe-clean-indent \
1765 maybe-clean-intl \
1766 maybe-clean-tcl \
1767 maybe-clean-itcl \
1768 maybe-clean-ld \
1769 maybe-clean-libcpp \
1770 maybe-clean-libdecnumber \
1771 maybe-clean-libgui \
1772 maybe-clean-libiberty \
1773 maybe-clean-libtool \
1774 maybe-clean-m4 \
1775 maybe-clean-make \
1776 maybe-clean-mmalloc \
1777 maybe-clean-patch \
1778 maybe-clean-perl \
1779 maybe-clean-prms \
1780 maybe-clean-rcs \
1781 maybe-clean-readline \
1782 maybe-clean-release \
1783 maybe-clean-recode \
1784 maybe-clean-sed \
1785 maybe-clean-send-pr \
1786 maybe-clean-shellutils \
1787 maybe-clean-sid \
1788 maybe-clean-sim \
1789 maybe-clean-tar \
1790 maybe-clean-texinfo \
1791 maybe-clean-textutils \
1792 maybe-clean-time \
1793 maybe-clean-uudecode \
1794 maybe-clean-wdiff \
1795 maybe-clean-zip \
1796 maybe-clean-zlib \
1797 maybe-clean-gdb \
1798 maybe-clean-expect \
1799 maybe-clean-guile \
1800 maybe-clean-tk \
1801 maybe-clean-libtermcap \
1802 maybe-clean-utils \
1803 maybe-clean-gnattools
1805 .PHONY: clean-target
1806 clean-target: \
1807 maybe-clean-target-libstdc++-v3 \
1808 maybe-clean-target-libmudflap \
1809 maybe-clean-target-libssp \
1810 maybe-clean-target-newlib \
1811 maybe-clean-target-libgfortran \
1812 maybe-clean-target-libobjc \
1813 maybe-clean-target-libtermcap \
1814 maybe-clean-target-winsup \
1815 maybe-clean-target-libgloss \
1816 maybe-clean-target-libiberty \
1817 maybe-clean-target-gperf \
1818 maybe-clean-target-examples \
1819 maybe-clean-target-libffi \
1820 maybe-clean-target-libjava \
1821 maybe-clean-target-zlib \
1822 maybe-clean-target-boehm-gc \
1823 maybe-clean-target-qthreads \
1824 maybe-clean-target-rda \
1825 maybe-clean-target-libada
1827 .PHONY: do-distclean
1828 do-distclean:
1829 @$(unstage)
1830 @r=`${PWD_COMMAND}`; export r; \
1831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1832 $(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1833 distclean-target
1834 @$(stage)
1837 .PHONY: distclean-host
1838 distclean-host: \
1839 maybe-distclean-ash \
1840 maybe-distclean-autoconf \
1841 maybe-distclean-automake \
1842 maybe-distclean-bash \
1843 maybe-distclean-bfd \
1844 maybe-distclean-opcodes \
1845 maybe-distclean-binutils \
1846 maybe-distclean-bison \
1847 maybe-distclean-byacc \
1848 maybe-distclean-bzip2 \
1849 maybe-distclean-dejagnu \
1850 maybe-distclean-diff \
1851 maybe-distclean-dosutils \
1852 maybe-distclean-etc \
1853 maybe-distclean-fastjar \
1854 maybe-distclean-fileutils \
1855 maybe-distclean-findutils \
1856 maybe-distclean-find \
1857 maybe-distclean-fixincludes \
1858 maybe-distclean-flex \
1859 maybe-distclean-gas \
1860 maybe-distclean-gcc \
1861 maybe-distclean-gawk \
1862 maybe-distclean-gettext \
1863 maybe-distclean-gnuserv \
1864 maybe-distclean-gprof \
1865 maybe-distclean-gzip \
1866 maybe-distclean-hello \
1867 maybe-distclean-indent \
1868 maybe-distclean-intl \
1869 maybe-distclean-tcl \
1870 maybe-distclean-itcl \
1871 maybe-distclean-ld \
1872 maybe-distclean-libcpp \
1873 maybe-distclean-libdecnumber \
1874 maybe-distclean-libgui \
1875 maybe-distclean-libiberty \
1876 maybe-distclean-libtool \
1877 maybe-distclean-m4 \
1878 maybe-distclean-make \
1879 maybe-distclean-mmalloc \
1880 maybe-distclean-patch \
1881 maybe-distclean-perl \
1882 maybe-distclean-prms \
1883 maybe-distclean-rcs \
1884 maybe-distclean-readline \
1885 maybe-distclean-release \
1886 maybe-distclean-recode \
1887 maybe-distclean-sed \
1888 maybe-distclean-send-pr \
1889 maybe-distclean-shellutils \
1890 maybe-distclean-sid \
1891 maybe-distclean-sim \
1892 maybe-distclean-tar \
1893 maybe-distclean-texinfo \
1894 maybe-distclean-textutils \
1895 maybe-distclean-time \
1896 maybe-distclean-uudecode \
1897 maybe-distclean-wdiff \
1898 maybe-distclean-zip \
1899 maybe-distclean-zlib \
1900 maybe-distclean-gdb \
1901 maybe-distclean-expect \
1902 maybe-distclean-guile \
1903 maybe-distclean-tk \
1904 maybe-distclean-libtermcap \
1905 maybe-distclean-utils \
1906 maybe-distclean-gnattools
1908 .PHONY: distclean-target
1909 distclean-target: \
1910 maybe-distclean-target-libstdc++-v3 \
1911 maybe-distclean-target-libmudflap \
1912 maybe-distclean-target-libssp \
1913 maybe-distclean-target-newlib \
1914 maybe-distclean-target-libgfortran \
1915 maybe-distclean-target-libobjc \
1916 maybe-distclean-target-libtermcap \
1917 maybe-distclean-target-winsup \
1918 maybe-distclean-target-libgloss \
1919 maybe-distclean-target-libiberty \
1920 maybe-distclean-target-gperf \
1921 maybe-distclean-target-examples \
1922 maybe-distclean-target-libffi \
1923 maybe-distclean-target-libjava \
1924 maybe-distclean-target-zlib \
1925 maybe-distclean-target-boehm-gc \
1926 maybe-distclean-target-qthreads \
1927 maybe-distclean-target-rda \
1928 maybe-distclean-target-libada
1930 .PHONY: do-maintainer-clean
1931 do-maintainer-clean:
1932 @$(unstage)
1933 @r=`${PWD_COMMAND}`; export r; \
1934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1935 $(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1936 maintainer-clean-target
1937 @$(stage)
1940 .PHONY: maintainer-clean-host
1941 maintainer-clean-host: \
1942 maybe-maintainer-clean-ash \
1943 maybe-maintainer-clean-autoconf \
1944 maybe-maintainer-clean-automake \
1945 maybe-maintainer-clean-bash \
1946 maybe-maintainer-clean-bfd \
1947 maybe-maintainer-clean-opcodes \
1948 maybe-maintainer-clean-binutils \
1949 maybe-maintainer-clean-bison \
1950 maybe-maintainer-clean-byacc \
1951 maybe-maintainer-clean-bzip2 \
1952 maybe-maintainer-clean-dejagnu \
1953 maybe-maintainer-clean-diff \
1954 maybe-maintainer-clean-dosutils \
1955 maybe-maintainer-clean-etc \
1956 maybe-maintainer-clean-fastjar \
1957 maybe-maintainer-clean-fileutils \
1958 maybe-maintainer-clean-findutils \
1959 maybe-maintainer-clean-find \
1960 maybe-maintainer-clean-fixincludes \
1961 maybe-maintainer-clean-flex \
1962 maybe-maintainer-clean-gas \
1963 maybe-maintainer-clean-gcc \
1964 maybe-maintainer-clean-gawk \
1965 maybe-maintainer-clean-gettext \
1966 maybe-maintainer-clean-gnuserv \
1967 maybe-maintainer-clean-gprof \
1968 maybe-maintainer-clean-gzip \
1969 maybe-maintainer-clean-hello \
1970 maybe-maintainer-clean-indent \
1971 maybe-maintainer-clean-intl \
1972 maybe-maintainer-clean-tcl \
1973 maybe-maintainer-clean-itcl \
1974 maybe-maintainer-clean-ld \
1975 maybe-maintainer-clean-libcpp \
1976 maybe-maintainer-clean-libdecnumber \
1977 maybe-maintainer-clean-libgui \
1978 maybe-maintainer-clean-libiberty \
1979 maybe-maintainer-clean-libtool \
1980 maybe-maintainer-clean-m4 \
1981 maybe-maintainer-clean-make \
1982 maybe-maintainer-clean-mmalloc \
1983 maybe-maintainer-clean-patch \
1984 maybe-maintainer-clean-perl \
1985 maybe-maintainer-clean-prms \
1986 maybe-maintainer-clean-rcs \
1987 maybe-maintainer-clean-readline \
1988 maybe-maintainer-clean-release \
1989 maybe-maintainer-clean-recode \
1990 maybe-maintainer-clean-sed \
1991 maybe-maintainer-clean-send-pr \
1992 maybe-maintainer-clean-shellutils \
1993 maybe-maintainer-clean-sid \
1994 maybe-maintainer-clean-sim \
1995 maybe-maintainer-clean-tar \
1996 maybe-maintainer-clean-texinfo \
1997 maybe-maintainer-clean-textutils \
1998 maybe-maintainer-clean-time \
1999 maybe-maintainer-clean-uudecode \
2000 maybe-maintainer-clean-wdiff \
2001 maybe-maintainer-clean-zip \
2002 maybe-maintainer-clean-zlib \
2003 maybe-maintainer-clean-gdb \
2004 maybe-maintainer-clean-expect \
2005 maybe-maintainer-clean-guile \
2006 maybe-maintainer-clean-tk \
2007 maybe-maintainer-clean-libtermcap \
2008 maybe-maintainer-clean-utils \
2009 maybe-maintainer-clean-gnattools
2011 .PHONY: maintainer-clean-target
2012 maintainer-clean-target: \
2013 maybe-maintainer-clean-target-libstdc++-v3 \
2014 maybe-maintainer-clean-target-libmudflap \
2015 maybe-maintainer-clean-target-libssp \
2016 maybe-maintainer-clean-target-newlib \
2017 maybe-maintainer-clean-target-libgfortran \
2018 maybe-maintainer-clean-target-libobjc \
2019 maybe-maintainer-clean-target-libtermcap \
2020 maybe-maintainer-clean-target-winsup \
2021 maybe-maintainer-clean-target-libgloss \
2022 maybe-maintainer-clean-target-libiberty \
2023 maybe-maintainer-clean-target-gperf \
2024 maybe-maintainer-clean-target-examples \
2025 maybe-maintainer-clean-target-libffi \
2026 maybe-maintainer-clean-target-libjava \
2027 maybe-maintainer-clean-target-zlib \
2028 maybe-maintainer-clean-target-boehm-gc \
2029 maybe-maintainer-clean-target-qthreads \
2030 maybe-maintainer-clean-target-rda \
2031 maybe-maintainer-clean-target-libada
2034 # Here are the targets which correspond to the do-X targets.
2036 .PHONY: info installcheck dvi html install-info
2037 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2038 .PHONY: local-clean local-distclean local-maintainer-clean
2039 info: do-info
2040 installcheck: do-installcheck
2041 dvi: do-dvi
2042 html: do-html
2044 # Make sure makeinfo is built before we do a `make info', if we're
2045 # in fact building texinfo.
2046 do-info: maybe-all-texinfo
2048 install-info: do-install-info dir.info
2049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2050 if [ -f dir.info ] ; then \
2051 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2052 else true ; fi
2054 local-clean:
2055 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2057 local-distclean:
2058 -rm -f Makefile config.status config.cache mh-frag mt-frag
2059 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
2060 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2061 rm -rf $(TARGET_SUBDIR); \
2062 else true; fi
2063 -rm -rf $(BUILD_SUBDIR)
2064 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2065 rm -rf $(HOST_SUBDIR); \
2066 else true; fi
2067 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2068 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2069 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2070 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2071 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2073 local-maintainer-clean:
2074 @echo "This command is intended for maintainers to use;"
2075 @echo "it deletes files that may require special tools to rebuild."
2077 clean: do-clean local-clean
2078 mostlyclean: do-mostlyclean local-clean
2079 distclean: do-distclean local-clean local-distclean
2080 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2081 maintainer-clean: local-distclean
2082 realclean: maintainer-clean
2084 # Extra dependency for clean-target, owing to the mixed nature of gcc.
2085 clean-target: clean-target-libgcc
2086 clean-target-libgcc:
2087 test ! -d gcc || (cd gcc && $(MAKE) $@)
2089 # Check target.
2091 .PHONY: check do-check
2092 check: do-check
2094 # Only include modules actually being configured and built.
2095 .PHONY: check-host
2096 check-host: \
2097 maybe-check-ash \
2098 maybe-check-autoconf \
2099 maybe-check-automake \
2100 maybe-check-bash \
2101 maybe-check-bfd \
2102 maybe-check-opcodes \
2103 maybe-check-binutils \
2104 maybe-check-bison \
2105 maybe-check-byacc \
2106 maybe-check-bzip2 \
2107 maybe-check-dejagnu \
2108 maybe-check-diff \
2109 maybe-check-dosutils \
2110 maybe-check-etc \
2111 maybe-check-fastjar \
2112 maybe-check-fileutils \
2113 maybe-check-findutils \
2114 maybe-check-find \
2115 maybe-check-fixincludes \
2116 maybe-check-flex \
2117 maybe-check-gas \
2118 maybe-check-gcc \
2119 maybe-check-gawk \
2120 maybe-check-gettext \
2121 maybe-check-gnuserv \
2122 maybe-check-gprof \
2123 maybe-check-gzip \
2124 maybe-check-hello \
2125 maybe-check-indent \
2126 maybe-check-intl \
2127 maybe-check-tcl \
2128 maybe-check-itcl \
2129 maybe-check-ld \
2130 maybe-check-libcpp \
2131 maybe-check-libdecnumber \
2132 maybe-check-libgui \
2133 maybe-check-libiberty \
2134 maybe-check-libtool \
2135 maybe-check-m4 \
2136 maybe-check-make \
2137 maybe-check-mmalloc \
2138 maybe-check-patch \
2139 maybe-check-perl \
2140 maybe-check-prms \
2141 maybe-check-rcs \
2142 maybe-check-readline \
2143 maybe-check-release \
2144 maybe-check-recode \
2145 maybe-check-sed \
2146 maybe-check-send-pr \
2147 maybe-check-shellutils \
2148 maybe-check-sid \
2149 maybe-check-sim \
2150 maybe-check-tar \
2151 maybe-check-texinfo \
2152 maybe-check-textutils \
2153 maybe-check-time \
2154 maybe-check-uudecode \
2155 maybe-check-wdiff \
2156 maybe-check-zip \
2157 maybe-check-zlib \
2158 maybe-check-gdb \
2159 maybe-check-expect \
2160 maybe-check-guile \
2161 maybe-check-tk \
2162 maybe-check-libtermcap \
2163 maybe-check-utils \
2164 maybe-check-gnattools
2166 .PHONY: check-target
2167 check-target: \
2168 maybe-check-target-libstdc++-v3 \
2169 maybe-check-target-libmudflap \
2170 maybe-check-target-libssp \
2171 maybe-check-target-newlib \
2172 maybe-check-target-libgfortran \
2173 maybe-check-target-libobjc \
2174 maybe-check-target-libtermcap \
2175 maybe-check-target-winsup \
2176 maybe-check-target-libgloss \
2177 maybe-check-target-libiberty \
2178 maybe-check-target-gperf \
2179 maybe-check-target-examples \
2180 maybe-check-target-libffi \
2181 maybe-check-target-libjava \
2182 maybe-check-target-zlib \
2183 maybe-check-target-boehm-gc \
2184 maybe-check-target-qthreads \
2185 maybe-check-target-rda \
2186 maybe-check-target-libada
2188 do-check:
2189 @$(unstage)
2190 @r=`${PWD_COMMAND}`; export r; \
2191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2192 $(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2193 @$(stage)
2195 # Automated reporting of test results.
2197 warning.log: build.log
2198 $(srcdir)/contrib/warn_summary build.log > $@
2200 mail-report.log:
2201 if test x'$(BOOT_CFLAGS)' != x''; then \
2202 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2203 fi; \
2204 $(srcdir)/contrib/test_summary -t >$@
2205 chmod +x $@
2206 echo If you really want to send e-mail, run ./$@ now
2208 mail-report-with-warnings.log: warning.log
2209 if test x'$(BOOT_CFLAGS)' != x''; then \
2210 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2211 fi; \
2212 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2213 chmod +x $@
2214 echo If you really want to send e-mail, run ./$@ now
2216 # Installation targets.
2218 .PHONY: install uninstall
2219 install:
2220 @$(unstage)
2221 @r=`${PWD_COMMAND}`; export r; \
2222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2223 $(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2224 @$(stage)
2226 .PHONY: install-host-nogcc
2227 install-host-nogcc: \
2228 maybe-install-ash \
2229 maybe-install-autoconf \
2230 maybe-install-automake \
2231 maybe-install-bash \
2232 maybe-install-bfd \
2233 maybe-install-opcodes \
2234 maybe-install-binutils \
2235 maybe-install-bison \
2236 maybe-install-byacc \
2237 maybe-install-bzip2 \
2238 maybe-install-dejagnu \
2239 maybe-install-diff \
2240 maybe-install-dosutils \
2241 maybe-install-etc \
2242 maybe-install-fastjar \
2243 maybe-install-fileutils \
2244 maybe-install-findutils \
2245 maybe-install-find \
2246 maybe-install-fixincludes \
2247 maybe-install-flex \
2248 maybe-install-gas \
2249 maybe-install-gawk \
2250 maybe-install-gettext \
2251 maybe-install-gnuserv \
2252 maybe-install-gprof \
2253 maybe-install-gzip \
2254 maybe-install-hello \
2255 maybe-install-indent \
2256 maybe-install-intl \
2257 maybe-install-tcl \
2258 maybe-install-itcl \
2259 maybe-install-ld \
2260 maybe-install-libcpp \
2261 maybe-install-libdecnumber \
2262 maybe-install-libgui \
2263 maybe-install-libiberty \
2264 maybe-install-libtool \
2265 maybe-install-m4 \
2266 maybe-install-make \
2267 maybe-install-mmalloc \
2268 maybe-install-patch \
2269 maybe-install-perl \
2270 maybe-install-prms \
2271 maybe-install-rcs \
2272 maybe-install-readline \
2273 maybe-install-release \
2274 maybe-install-recode \
2275 maybe-install-sed \
2276 maybe-install-send-pr \
2277 maybe-install-shellutils \
2278 maybe-install-sid \
2279 maybe-install-sim \
2280 maybe-install-tar \
2281 maybe-install-texinfo \
2282 maybe-install-textutils \
2283 maybe-install-time \
2284 maybe-install-uudecode \
2285 maybe-install-wdiff \
2286 maybe-install-zip \
2287 maybe-install-zlib \
2288 maybe-install-gdb \
2289 maybe-install-expect \
2290 maybe-install-guile \
2291 maybe-install-tk \
2292 maybe-install-libtermcap \
2293 maybe-install-utils \
2294 maybe-install-gnattools
2296 .PHONY: install-host
2297 install-host: \
2298 maybe-install-ash \
2299 maybe-install-autoconf \
2300 maybe-install-automake \
2301 maybe-install-bash \
2302 maybe-install-bfd \
2303 maybe-install-opcodes \
2304 maybe-install-binutils \
2305 maybe-install-bison \
2306 maybe-install-byacc \
2307 maybe-install-bzip2 \
2308 maybe-install-dejagnu \
2309 maybe-install-diff \
2310 maybe-install-dosutils \
2311 maybe-install-etc \
2312 maybe-install-fastjar \
2313 maybe-install-fileutils \
2314 maybe-install-findutils \
2315 maybe-install-find \
2316 maybe-install-fixincludes \
2317 maybe-install-flex \
2318 maybe-install-gas \
2319 maybe-install-gcc \
2320 maybe-install-gawk \
2321 maybe-install-gettext \
2322 maybe-install-gnuserv \
2323 maybe-install-gprof \
2324 maybe-install-gzip \
2325 maybe-install-hello \
2326 maybe-install-indent \
2327 maybe-install-intl \
2328 maybe-install-tcl \
2329 maybe-install-itcl \
2330 maybe-install-ld \
2331 maybe-install-libcpp \
2332 maybe-install-libdecnumber \
2333 maybe-install-libgui \
2334 maybe-install-libiberty \
2335 maybe-install-libtool \
2336 maybe-install-m4 \
2337 maybe-install-make \
2338 maybe-install-mmalloc \
2339 maybe-install-patch \
2340 maybe-install-perl \
2341 maybe-install-prms \
2342 maybe-install-rcs \
2343 maybe-install-readline \
2344 maybe-install-release \
2345 maybe-install-recode \
2346 maybe-install-sed \
2347 maybe-install-send-pr \
2348 maybe-install-shellutils \
2349 maybe-install-sid \
2350 maybe-install-sim \
2351 maybe-install-tar \
2352 maybe-install-texinfo \
2353 maybe-install-textutils \
2354 maybe-install-time \
2355 maybe-install-uudecode \
2356 maybe-install-wdiff \
2357 maybe-install-zip \
2358 maybe-install-zlib \
2359 maybe-install-gdb \
2360 maybe-install-expect \
2361 maybe-install-guile \
2362 maybe-install-tk \
2363 maybe-install-libtermcap \
2364 maybe-install-utils \
2365 maybe-install-gnattools
2367 .PHONY: install-target
2368 install-target: \
2369 maybe-install-target-libstdc++-v3 \
2370 maybe-install-target-libmudflap \
2371 maybe-install-target-libssp \
2372 maybe-install-target-newlib \
2373 maybe-install-target-libgfortran \
2374 maybe-install-target-libobjc \
2375 maybe-install-target-libtermcap \
2376 maybe-install-target-winsup \
2377 maybe-install-target-libgloss \
2378 maybe-install-target-libiberty \
2379 maybe-install-target-gperf \
2380 maybe-install-target-examples \
2381 maybe-install-target-libffi \
2382 maybe-install-target-libjava \
2383 maybe-install-target-zlib \
2384 maybe-install-target-boehm-gc \
2385 maybe-install-target-qthreads \
2386 maybe-install-target-rda \
2387 maybe-install-target-libada
2389 uninstall:
2390 @echo "the uninstall target is not supported in this tree"
2392 .PHONY: install.all
2393 install.all: install-no-fixedincludes
2394 @if [ -f ./gcc/Makefile ] ; then \
2395 r=`${PWD_COMMAND}` ; export r ; \
2396 $(HOST_EXPORTS) \
2397 (cd ./gcc && \
2398 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2399 else \
2400 true ; \
2403 # install-no-fixedincludes is used because Cygnus can not distribute
2404 # the fixed header files.
2405 .PHONY: install-no-fixedincludes
2406 install-no-fixedincludes: installdirs install-host-nogcc \
2407 install-target gcc-no-fixedincludes
2409 ### other supporting targets
2411 MAKEDIRS= \
2412 $(DESTDIR)$(prefix) \
2413 $(DESTDIR)$(exec_prefix)
2414 .PHONY: installdirs
2415 installdirs: mkinstalldirs
2416 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2418 dir.info: do-install-info
2419 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2420 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2421 mv -f dir.info.new dir.info ; \
2422 else true ; \
2425 dist:
2426 @echo "Building a full distribution of this tree isn't done"
2427 @echo "via 'make dist'. Check out the etc/ subdirectory"
2429 etags tags: TAGS
2431 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2432 # ability to use several tags files at once, so there is probably no need
2433 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2434 # (if we felt like it) have this Makefile write a piece of elisp which
2435 # the user could load to tell emacs19 where all the TAGS files we just
2436 # built are.
2437 TAGS: do-TAGS
2439 # ------------------------------------
2440 # Macros for configure and all targets
2441 # ------------------------------------
2447 # --------------------------------------
2448 # Modules which run on the build machine
2449 # --------------------------------------
2452 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2453 maybe-configure-build-libiberty:
2454 @if build-libiberty
2455 maybe-configure-build-libiberty: configure-build-libiberty
2456 configure-build-libiberty:
2457 @$(unstage)
2458 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2459 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2460 r=`${PWD_COMMAND}`; export r; \
2461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2462 $(BUILD_EXPORTS) \
2463 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2464 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2465 case $(srcdir) in \
2466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2467 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2469 esac; \
2470 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2471 libsrcdir="$$s/libiberty"; \
2472 rm -f no-such-file || : ; \
2473 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2474 $(BUILD_CONFIGARGS) $${srcdiroption} \
2475 || exit 1
2476 @endif build-libiberty
2482 .PHONY: all-build-libiberty maybe-all-build-libiberty
2483 maybe-all-build-libiberty:
2484 @if build-libiberty
2485 TARGET-build-libiberty=all
2486 maybe-all-build-libiberty: all-build-libiberty
2487 all-build-libiberty: configure-build-libiberty
2488 @$(unstage)
2489 @r=`${PWD_COMMAND}`; export r; \
2490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2491 $(BUILD_EXPORTS) \
2492 (cd $(BUILD_SUBDIR)/libiberty && \
2493 $(MAKE) $(TARGET-build-libiberty))
2494 @endif build-libiberty
2500 .PHONY: configure-build-bison maybe-configure-build-bison
2501 maybe-configure-build-bison:
2502 @if build-bison
2503 maybe-configure-build-bison: configure-build-bison
2504 configure-build-bison:
2505 @$(unstage)
2506 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2507 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2508 r=`${PWD_COMMAND}`; export r; \
2509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2510 $(BUILD_EXPORTS) \
2511 echo Configuring in $(BUILD_SUBDIR)/bison; \
2512 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2513 case $(srcdir) in \
2514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2515 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2517 esac; \
2518 srcdiroption="--srcdir=$${topdir}/bison"; \
2519 libsrcdir="$$s/bison"; \
2520 rm -f no-such-file || : ; \
2521 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2522 $(BUILD_CONFIGARGS) $${srcdiroption} \
2523 || exit 1
2524 @endif build-bison
2530 .PHONY: all-build-bison maybe-all-build-bison
2531 maybe-all-build-bison:
2532 @if build-bison
2533 TARGET-build-bison=all
2534 maybe-all-build-bison: all-build-bison
2535 all-build-bison: configure-build-bison
2536 @$(unstage)
2537 @r=`${PWD_COMMAND}`; export r; \
2538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2539 $(BUILD_EXPORTS) \
2540 (cd $(BUILD_SUBDIR)/bison && \
2541 $(MAKE) $(TARGET-build-bison))
2542 @endif build-bison
2548 .PHONY: configure-build-byacc maybe-configure-build-byacc
2549 maybe-configure-build-byacc:
2550 @if build-byacc
2551 maybe-configure-build-byacc: configure-build-byacc
2552 configure-build-byacc:
2553 @$(unstage)
2554 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2555 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2556 r=`${PWD_COMMAND}`; export r; \
2557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2558 $(BUILD_EXPORTS) \
2559 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2560 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2561 case $(srcdir) in \
2562 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2563 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2564 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2565 esac; \
2566 srcdiroption="--srcdir=$${topdir}/byacc"; \
2567 libsrcdir="$$s/byacc"; \
2568 rm -f no-such-file || : ; \
2569 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2570 $(BUILD_CONFIGARGS) $${srcdiroption} \
2571 || exit 1
2572 @endif build-byacc
2578 .PHONY: all-build-byacc maybe-all-build-byacc
2579 maybe-all-build-byacc:
2580 @if build-byacc
2581 TARGET-build-byacc=all
2582 maybe-all-build-byacc: all-build-byacc
2583 all-build-byacc: configure-build-byacc
2584 @$(unstage)
2585 @r=`${PWD_COMMAND}`; export r; \
2586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2587 $(BUILD_EXPORTS) \
2588 (cd $(BUILD_SUBDIR)/byacc && \
2589 $(MAKE) $(TARGET-build-byacc))
2590 @endif build-byacc
2596 .PHONY: configure-build-flex maybe-configure-build-flex
2597 maybe-configure-build-flex:
2598 @if build-flex
2599 maybe-configure-build-flex: configure-build-flex
2600 configure-build-flex:
2601 @$(unstage)
2602 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2603 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2604 r=`${PWD_COMMAND}`; export r; \
2605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2606 $(BUILD_EXPORTS) \
2607 echo Configuring in $(BUILD_SUBDIR)/flex; \
2608 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2609 case $(srcdir) in \
2610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2611 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2613 esac; \
2614 srcdiroption="--srcdir=$${topdir}/flex"; \
2615 libsrcdir="$$s/flex"; \
2616 rm -f no-such-file || : ; \
2617 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2618 $(BUILD_CONFIGARGS) $${srcdiroption} \
2619 || exit 1
2620 @endif build-flex
2626 .PHONY: all-build-flex maybe-all-build-flex
2627 maybe-all-build-flex:
2628 @if build-flex
2629 TARGET-build-flex=all
2630 maybe-all-build-flex: all-build-flex
2631 all-build-flex: configure-build-flex
2632 @$(unstage)
2633 @r=`${PWD_COMMAND}`; export r; \
2634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2635 $(BUILD_EXPORTS) \
2636 (cd $(BUILD_SUBDIR)/flex && \
2637 $(MAKE) $(TARGET-build-flex))
2638 @endif build-flex
2644 .PHONY: configure-build-m4 maybe-configure-build-m4
2645 maybe-configure-build-m4:
2646 @if build-m4
2647 maybe-configure-build-m4: configure-build-m4
2648 configure-build-m4:
2649 @$(unstage)
2650 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2651 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2652 r=`${PWD_COMMAND}`; export r; \
2653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2654 $(BUILD_EXPORTS) \
2655 echo Configuring in $(BUILD_SUBDIR)/m4; \
2656 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2657 case $(srcdir) in \
2658 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2659 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2660 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2661 esac; \
2662 srcdiroption="--srcdir=$${topdir}/m4"; \
2663 libsrcdir="$$s/m4"; \
2664 rm -f no-such-file || : ; \
2665 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2666 $(BUILD_CONFIGARGS) $${srcdiroption} \
2667 || exit 1
2668 @endif build-m4
2674 .PHONY: all-build-m4 maybe-all-build-m4
2675 maybe-all-build-m4:
2676 @if build-m4
2677 TARGET-build-m4=all
2678 maybe-all-build-m4: all-build-m4
2679 all-build-m4: configure-build-m4
2680 @$(unstage)
2681 @r=`${PWD_COMMAND}`; export r; \
2682 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2683 $(BUILD_EXPORTS) \
2684 (cd $(BUILD_SUBDIR)/m4 && \
2685 $(MAKE) $(TARGET-build-m4))
2686 @endif build-m4
2692 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2693 maybe-configure-build-texinfo:
2694 @if build-texinfo
2695 maybe-configure-build-texinfo: configure-build-texinfo
2696 configure-build-texinfo:
2697 @$(unstage)
2698 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2699 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2700 r=`${PWD_COMMAND}`; export r; \
2701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2702 $(BUILD_EXPORTS) \
2703 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2704 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2705 case $(srcdir) in \
2706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2707 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2709 esac; \
2710 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2711 libsrcdir="$$s/texinfo"; \
2712 rm -f no-such-file || : ; \
2713 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2714 $(BUILD_CONFIGARGS) $${srcdiroption} \
2715 || exit 1
2716 @endif build-texinfo
2722 .PHONY: all-build-texinfo maybe-all-build-texinfo
2723 maybe-all-build-texinfo:
2724 @if build-texinfo
2725 TARGET-build-texinfo=all
2726 maybe-all-build-texinfo: all-build-texinfo
2727 all-build-texinfo: configure-build-texinfo
2728 @$(unstage)
2729 @r=`${PWD_COMMAND}`; export r; \
2730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2731 $(BUILD_EXPORTS) \
2732 (cd $(BUILD_SUBDIR)/texinfo && \
2733 $(MAKE) $(TARGET-build-texinfo))
2734 @endif build-texinfo
2740 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2741 maybe-configure-build-fixincludes:
2742 @if build-fixincludes
2743 maybe-configure-build-fixincludes: configure-build-fixincludes
2744 configure-build-fixincludes:
2745 @$(unstage)
2746 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2747 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2748 r=`${PWD_COMMAND}`; export r; \
2749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2750 $(BUILD_EXPORTS) \
2751 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2752 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2753 case $(srcdir) in \
2754 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2755 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2756 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2757 esac; \
2758 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2759 libsrcdir="$$s/fixincludes"; \
2760 rm -f no-such-file || : ; \
2761 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2762 $(BUILD_CONFIGARGS) $${srcdiroption} \
2763 || exit 1
2764 @endif build-fixincludes
2770 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2771 maybe-all-build-fixincludes:
2772 @if build-fixincludes
2773 TARGET-build-fixincludes=all
2774 maybe-all-build-fixincludes: all-build-fixincludes
2775 all-build-fixincludes: configure-build-fixincludes
2776 @$(unstage)
2777 @r=`${PWD_COMMAND}`; export r; \
2778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2779 $(BUILD_EXPORTS) \
2780 (cd $(BUILD_SUBDIR)/fixincludes && \
2781 $(MAKE) $(TARGET-build-fixincludes))
2782 @endif build-fixincludes
2788 # --------------------------------------
2789 # Modules which run on the host machine
2790 # --------------------------------------
2793 .PHONY: configure-ash maybe-configure-ash
2794 maybe-configure-ash:
2795 @if ash
2796 maybe-configure-ash: configure-ash
2797 configure-ash:
2798 @$(unstage)
2799 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2800 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2801 r=`${PWD_COMMAND}`; export r; \
2802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2803 $(HOST_EXPORTS) \
2804 echo Configuring in $(HOST_SUBDIR)/ash; \
2805 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2806 case $(srcdir) in \
2807 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2808 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2809 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2810 esac; \
2811 srcdiroption="--srcdir=$${topdir}/ash"; \
2812 libsrcdir="$$s/ash"; \
2813 $(SHELL) $${libsrcdir}/configure \
2814 $(HOST_CONFIGARGS) $${srcdiroption} \
2815 || exit 1
2816 @endif ash
2822 .PHONY: all-ash maybe-all-ash
2823 maybe-all-ash:
2824 @if ash
2825 TARGET-ash=all
2826 maybe-all-ash: all-ash
2827 all-ash: configure-ash
2828 @$(unstage)
2829 @r=`${PWD_COMMAND}`; export r; \
2830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2831 $(HOST_EXPORTS) \
2832 (cd $(HOST_SUBDIR)/ash && \
2833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2834 @endif ash
2839 .PHONY: check-ash maybe-check-ash
2840 maybe-check-ash:
2841 @if ash
2842 maybe-check-ash: check-ash
2844 check-ash:
2845 @$(unstage)
2846 @r=`${PWD_COMMAND}`; export r; \
2847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2848 $(HOST_EXPORTS) \
2849 (cd $(HOST_SUBDIR)/ash && \
2850 $(MAKE) $(FLAGS_TO_PASS) check)
2852 @endif ash
2854 .PHONY: install-ash maybe-install-ash
2855 maybe-install-ash:
2856 @if ash
2857 maybe-install-ash: install-ash
2859 install-ash: installdirs
2860 @$(unstage)
2861 @r=`${PWD_COMMAND}`; export r; \
2862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2863 $(HOST_EXPORTS) \
2864 (cd $(HOST_SUBDIR)/ash && \
2865 $(MAKE) $(FLAGS_TO_PASS) install)
2867 @endif ash
2869 # Other targets (info, dvi, etc.)
2871 .PHONY: maybe-info-ash info-ash
2872 maybe-info-ash:
2873 @if ash
2874 maybe-info-ash: info-ash
2876 info-ash: \
2877 configure-ash
2878 @$(unstage)
2879 @[ -f ./ash/Makefile ] || exit 0; \
2880 r=`${PWD_COMMAND}`; export r; \
2881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2882 $(HOST_EXPORTS) \
2883 for flag in $(EXTRA_HOST_FLAGS) ; do \
2884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2885 done; \
2886 echo "Doing info in ash" ; \
2887 (cd $(HOST_SUBDIR)/ash && \
2888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2890 "RANLIB=$${RANLIB}" \
2891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2892 info) \
2893 || exit 1
2895 @endif ash
2897 .PHONY: maybe-dvi-ash dvi-ash
2898 maybe-dvi-ash:
2899 @if ash
2900 maybe-dvi-ash: dvi-ash
2902 dvi-ash: \
2903 configure-ash
2904 @$(unstage)
2905 @[ -f ./ash/Makefile ] || exit 0; \
2906 r=`${PWD_COMMAND}`; export r; \
2907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2908 $(HOST_EXPORTS) \
2909 for flag in $(EXTRA_HOST_FLAGS) ; do \
2910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2911 done; \
2912 echo "Doing dvi in ash" ; \
2913 (cd $(HOST_SUBDIR)/ash && \
2914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2916 "RANLIB=$${RANLIB}" \
2917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2918 dvi) \
2919 || exit 1
2921 @endif ash
2923 .PHONY: maybe-html-ash html-ash
2924 maybe-html-ash:
2925 @if ash
2926 maybe-html-ash: html-ash
2928 html-ash: \
2929 configure-ash
2930 @$(unstage)
2931 @[ -f ./ash/Makefile ] || exit 0; \
2932 r=`${PWD_COMMAND}`; export r; \
2933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2934 $(HOST_EXPORTS) \
2935 for flag in $(EXTRA_HOST_FLAGS) ; do \
2936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2937 done; \
2938 echo "Doing html in ash" ; \
2939 (cd $(HOST_SUBDIR)/ash && \
2940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2942 "RANLIB=$${RANLIB}" \
2943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2944 html) \
2945 || exit 1
2947 @endif ash
2949 .PHONY: maybe-TAGS-ash TAGS-ash
2950 maybe-TAGS-ash:
2951 @if ash
2952 maybe-TAGS-ash: TAGS-ash
2954 TAGS-ash: \
2955 configure-ash
2956 @$(unstage)
2957 @[ -f ./ash/Makefile ] || exit 0; \
2958 r=`${PWD_COMMAND}`; export r; \
2959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2960 $(HOST_EXPORTS) \
2961 for flag in $(EXTRA_HOST_FLAGS) ; do \
2962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2963 done; \
2964 echo "Doing TAGS in ash" ; \
2965 (cd $(HOST_SUBDIR)/ash && \
2966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2968 "RANLIB=$${RANLIB}" \
2969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2970 TAGS) \
2971 || exit 1
2973 @endif ash
2975 .PHONY: maybe-install-info-ash install-info-ash
2976 maybe-install-info-ash:
2977 @if ash
2978 maybe-install-info-ash: install-info-ash
2980 install-info-ash: \
2981 configure-ash \
2982 info-ash
2983 @$(unstage)
2984 @[ -f ./ash/Makefile ] || exit 0; \
2985 r=`${PWD_COMMAND}`; export r; \
2986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2987 $(HOST_EXPORTS) \
2988 for flag in $(EXTRA_HOST_FLAGS) ; do \
2989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2990 done; \
2991 echo "Doing install-info in ash" ; \
2992 (cd $(HOST_SUBDIR)/ash && \
2993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2995 "RANLIB=$${RANLIB}" \
2996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2997 install-info) \
2998 || exit 1
3000 @endif ash
3002 .PHONY: maybe-installcheck-ash installcheck-ash
3003 maybe-installcheck-ash:
3004 @if ash
3005 maybe-installcheck-ash: installcheck-ash
3007 installcheck-ash: \
3008 configure-ash
3009 @$(unstage)
3010 @[ -f ./ash/Makefile ] || exit 0; \
3011 r=`${PWD_COMMAND}`; export r; \
3012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3013 $(HOST_EXPORTS) \
3014 for flag in $(EXTRA_HOST_FLAGS) ; do \
3015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3016 done; \
3017 echo "Doing installcheck in ash" ; \
3018 (cd $(HOST_SUBDIR)/ash && \
3019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3021 "RANLIB=$${RANLIB}" \
3022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3023 installcheck) \
3024 || exit 1
3026 @endif ash
3028 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
3029 maybe-mostlyclean-ash:
3030 @if ash
3031 maybe-mostlyclean-ash: mostlyclean-ash
3033 mostlyclean-ash:
3034 @$(unstage)
3035 @[ -f ./ash/Makefile ] || exit 0; \
3036 r=`${PWD_COMMAND}`; export r; \
3037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3038 $(HOST_EXPORTS) \
3039 for flag in $(EXTRA_HOST_FLAGS) ; do \
3040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3041 done; \
3042 echo "Doing mostlyclean in ash" ; \
3043 (cd $(HOST_SUBDIR)/ash && \
3044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3046 "RANLIB=$${RANLIB}" \
3047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3048 mostlyclean) \
3049 || exit 1
3051 @endif ash
3053 .PHONY: maybe-clean-ash clean-ash
3054 maybe-clean-ash:
3055 @if ash
3056 maybe-clean-ash: clean-ash
3058 clean-ash:
3059 @$(unstage)
3060 @[ -f ./ash/Makefile ] || exit 0; \
3061 r=`${PWD_COMMAND}`; export r; \
3062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3063 $(HOST_EXPORTS) \
3064 for flag in $(EXTRA_HOST_FLAGS) ; do \
3065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3066 done; \
3067 echo "Doing clean in ash" ; \
3068 (cd $(HOST_SUBDIR)/ash && \
3069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3071 "RANLIB=$${RANLIB}" \
3072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3073 clean) \
3074 || exit 1
3076 @endif ash
3078 .PHONY: maybe-distclean-ash distclean-ash
3079 maybe-distclean-ash:
3080 @if ash
3081 maybe-distclean-ash: distclean-ash
3083 distclean-ash:
3084 @$(unstage)
3085 @[ -f ./ash/Makefile ] || exit 0; \
3086 r=`${PWD_COMMAND}`; export r; \
3087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3088 $(HOST_EXPORTS) \
3089 for flag in $(EXTRA_HOST_FLAGS) ; do \
3090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3091 done; \
3092 echo "Doing distclean in ash" ; \
3093 (cd $(HOST_SUBDIR)/ash && \
3094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3096 "RANLIB=$${RANLIB}" \
3097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3098 distclean) \
3099 || exit 1
3101 @endif ash
3103 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3104 maybe-maintainer-clean-ash:
3105 @if ash
3106 maybe-maintainer-clean-ash: maintainer-clean-ash
3108 maintainer-clean-ash:
3109 @$(unstage)
3110 @[ -f ./ash/Makefile ] || exit 0; \
3111 r=`${PWD_COMMAND}`; export r; \
3112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3113 $(HOST_EXPORTS) \
3114 for flag in $(EXTRA_HOST_FLAGS) ; do \
3115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3116 done; \
3117 echo "Doing maintainer-clean in ash" ; \
3118 (cd $(HOST_SUBDIR)/ash && \
3119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3121 "RANLIB=$${RANLIB}" \
3122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3123 maintainer-clean) \
3124 || exit 1
3126 @endif ash
3130 .PHONY: configure-autoconf maybe-configure-autoconf
3131 maybe-configure-autoconf:
3132 @if autoconf
3133 maybe-configure-autoconf: configure-autoconf
3134 configure-autoconf:
3135 @$(unstage)
3136 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3137 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3138 r=`${PWD_COMMAND}`; export r; \
3139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3140 $(HOST_EXPORTS) \
3141 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3142 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3143 case $(srcdir) in \
3144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3145 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3147 esac; \
3148 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3149 libsrcdir="$$s/autoconf"; \
3150 $(SHELL) $${libsrcdir}/configure \
3151 $(HOST_CONFIGARGS) $${srcdiroption} \
3152 || exit 1
3153 @endif autoconf
3159 .PHONY: all-autoconf maybe-all-autoconf
3160 maybe-all-autoconf:
3161 @if autoconf
3162 TARGET-autoconf=all
3163 maybe-all-autoconf: all-autoconf
3164 all-autoconf: configure-autoconf
3165 @$(unstage)
3166 @r=`${PWD_COMMAND}`; export r; \
3167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3168 $(HOST_EXPORTS) \
3169 (cd $(HOST_SUBDIR)/autoconf && \
3170 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3171 @endif autoconf
3176 .PHONY: check-autoconf maybe-check-autoconf
3177 maybe-check-autoconf:
3178 @if autoconf
3179 maybe-check-autoconf: check-autoconf
3181 check-autoconf:
3182 @$(unstage)
3183 @r=`${PWD_COMMAND}`; export r; \
3184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3185 $(HOST_EXPORTS) \
3186 (cd $(HOST_SUBDIR)/autoconf && \
3187 $(MAKE) $(FLAGS_TO_PASS) check)
3189 @endif autoconf
3191 .PHONY: install-autoconf maybe-install-autoconf
3192 maybe-install-autoconf:
3193 @if autoconf
3194 maybe-install-autoconf: install-autoconf
3196 install-autoconf: installdirs
3197 @$(unstage)
3198 @r=`${PWD_COMMAND}`; export r; \
3199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3200 $(HOST_EXPORTS) \
3201 (cd $(HOST_SUBDIR)/autoconf && \
3202 $(MAKE) $(FLAGS_TO_PASS) install)
3204 @endif autoconf
3206 # Other targets (info, dvi, etc.)
3208 .PHONY: maybe-info-autoconf info-autoconf
3209 maybe-info-autoconf:
3210 @if autoconf
3211 maybe-info-autoconf: info-autoconf
3213 info-autoconf: \
3214 configure-autoconf
3215 @$(unstage)
3216 @[ -f ./autoconf/Makefile ] || exit 0; \
3217 r=`${PWD_COMMAND}`; export r; \
3218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3219 $(HOST_EXPORTS) \
3220 for flag in $(EXTRA_HOST_FLAGS) ; do \
3221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3222 done; \
3223 echo "Doing info in autoconf" ; \
3224 (cd $(HOST_SUBDIR)/autoconf && \
3225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3227 "RANLIB=$${RANLIB}" \
3228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3229 info) \
3230 || exit 1
3232 @endif autoconf
3234 .PHONY: maybe-dvi-autoconf dvi-autoconf
3235 maybe-dvi-autoconf:
3236 @if autoconf
3237 maybe-dvi-autoconf: dvi-autoconf
3239 dvi-autoconf: \
3240 configure-autoconf
3241 @$(unstage)
3242 @[ -f ./autoconf/Makefile ] || exit 0; \
3243 r=`${PWD_COMMAND}`; export r; \
3244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3245 $(HOST_EXPORTS) \
3246 for flag in $(EXTRA_HOST_FLAGS) ; do \
3247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3248 done; \
3249 echo "Doing dvi in autoconf" ; \
3250 (cd $(HOST_SUBDIR)/autoconf && \
3251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3253 "RANLIB=$${RANLIB}" \
3254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3255 dvi) \
3256 || exit 1
3258 @endif autoconf
3260 .PHONY: maybe-html-autoconf html-autoconf
3261 maybe-html-autoconf:
3262 @if autoconf
3263 maybe-html-autoconf: html-autoconf
3265 html-autoconf: \
3266 configure-autoconf
3267 @$(unstage)
3268 @[ -f ./autoconf/Makefile ] || exit 0; \
3269 r=`${PWD_COMMAND}`; export r; \
3270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3271 $(HOST_EXPORTS) \
3272 for flag in $(EXTRA_HOST_FLAGS) ; do \
3273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3274 done; \
3275 echo "Doing html in autoconf" ; \
3276 (cd $(HOST_SUBDIR)/autoconf && \
3277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3279 "RANLIB=$${RANLIB}" \
3280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3281 html) \
3282 || exit 1
3284 @endif autoconf
3286 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3287 maybe-TAGS-autoconf:
3288 @if autoconf
3289 maybe-TAGS-autoconf: TAGS-autoconf
3291 TAGS-autoconf: \
3292 configure-autoconf
3293 @$(unstage)
3294 @[ -f ./autoconf/Makefile ] || exit 0; \
3295 r=`${PWD_COMMAND}`; export r; \
3296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3297 $(HOST_EXPORTS) \
3298 for flag in $(EXTRA_HOST_FLAGS) ; do \
3299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3300 done; \
3301 echo "Doing TAGS in autoconf" ; \
3302 (cd $(HOST_SUBDIR)/autoconf && \
3303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3305 "RANLIB=$${RANLIB}" \
3306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3307 TAGS) \
3308 || exit 1
3310 @endif autoconf
3312 .PHONY: maybe-install-info-autoconf install-info-autoconf
3313 maybe-install-info-autoconf:
3314 @if autoconf
3315 maybe-install-info-autoconf: install-info-autoconf
3317 install-info-autoconf: \
3318 configure-autoconf \
3319 info-autoconf
3320 @$(unstage)
3321 @[ -f ./autoconf/Makefile ] || exit 0; \
3322 r=`${PWD_COMMAND}`; export r; \
3323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3324 $(HOST_EXPORTS) \
3325 for flag in $(EXTRA_HOST_FLAGS) ; do \
3326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3327 done; \
3328 echo "Doing install-info in autoconf" ; \
3329 (cd $(HOST_SUBDIR)/autoconf && \
3330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3332 "RANLIB=$${RANLIB}" \
3333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3334 install-info) \
3335 || exit 1
3337 @endif autoconf
3339 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3340 maybe-installcheck-autoconf:
3341 @if autoconf
3342 maybe-installcheck-autoconf: installcheck-autoconf
3344 installcheck-autoconf: \
3345 configure-autoconf
3346 @$(unstage)
3347 @[ -f ./autoconf/Makefile ] || exit 0; \
3348 r=`${PWD_COMMAND}`; export r; \
3349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3350 $(HOST_EXPORTS) \
3351 for flag in $(EXTRA_HOST_FLAGS) ; do \
3352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3353 done; \
3354 echo "Doing installcheck in autoconf" ; \
3355 (cd $(HOST_SUBDIR)/autoconf && \
3356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3358 "RANLIB=$${RANLIB}" \
3359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3360 installcheck) \
3361 || exit 1
3363 @endif autoconf
3365 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3366 maybe-mostlyclean-autoconf:
3367 @if autoconf
3368 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3370 mostlyclean-autoconf:
3371 @$(unstage)
3372 @[ -f ./autoconf/Makefile ] || exit 0; \
3373 r=`${PWD_COMMAND}`; export r; \
3374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3375 $(HOST_EXPORTS) \
3376 for flag in $(EXTRA_HOST_FLAGS) ; do \
3377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3378 done; \
3379 echo "Doing mostlyclean in autoconf" ; \
3380 (cd $(HOST_SUBDIR)/autoconf && \
3381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3383 "RANLIB=$${RANLIB}" \
3384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3385 mostlyclean) \
3386 || exit 1
3388 @endif autoconf
3390 .PHONY: maybe-clean-autoconf clean-autoconf
3391 maybe-clean-autoconf:
3392 @if autoconf
3393 maybe-clean-autoconf: clean-autoconf
3395 clean-autoconf:
3396 @$(unstage)
3397 @[ -f ./autoconf/Makefile ] || exit 0; \
3398 r=`${PWD_COMMAND}`; export r; \
3399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3400 $(HOST_EXPORTS) \
3401 for flag in $(EXTRA_HOST_FLAGS) ; do \
3402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3403 done; \
3404 echo "Doing clean in autoconf" ; \
3405 (cd $(HOST_SUBDIR)/autoconf && \
3406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3408 "RANLIB=$${RANLIB}" \
3409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3410 clean) \
3411 || exit 1
3413 @endif autoconf
3415 .PHONY: maybe-distclean-autoconf distclean-autoconf
3416 maybe-distclean-autoconf:
3417 @if autoconf
3418 maybe-distclean-autoconf: distclean-autoconf
3420 distclean-autoconf:
3421 @$(unstage)
3422 @[ -f ./autoconf/Makefile ] || exit 0; \
3423 r=`${PWD_COMMAND}`; export r; \
3424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3425 $(HOST_EXPORTS) \
3426 for flag in $(EXTRA_HOST_FLAGS) ; do \
3427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3428 done; \
3429 echo "Doing distclean in autoconf" ; \
3430 (cd $(HOST_SUBDIR)/autoconf && \
3431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3433 "RANLIB=$${RANLIB}" \
3434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3435 distclean) \
3436 || exit 1
3438 @endif autoconf
3440 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3441 maybe-maintainer-clean-autoconf:
3442 @if autoconf
3443 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3445 maintainer-clean-autoconf:
3446 @$(unstage)
3447 @[ -f ./autoconf/Makefile ] || exit 0; \
3448 r=`${PWD_COMMAND}`; export r; \
3449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3450 $(HOST_EXPORTS) \
3451 for flag in $(EXTRA_HOST_FLAGS) ; do \
3452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3453 done; \
3454 echo "Doing maintainer-clean in autoconf" ; \
3455 (cd $(HOST_SUBDIR)/autoconf && \
3456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3458 "RANLIB=$${RANLIB}" \
3459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3460 maintainer-clean) \
3461 || exit 1
3463 @endif autoconf
3467 .PHONY: configure-automake maybe-configure-automake
3468 maybe-configure-automake:
3469 @if automake
3470 maybe-configure-automake: configure-automake
3471 configure-automake:
3472 @$(unstage)
3473 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3475 r=`${PWD_COMMAND}`; export r; \
3476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3477 $(HOST_EXPORTS) \
3478 echo Configuring in $(HOST_SUBDIR)/automake; \
3479 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3480 case $(srcdir) in \
3481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3482 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3484 esac; \
3485 srcdiroption="--srcdir=$${topdir}/automake"; \
3486 libsrcdir="$$s/automake"; \
3487 $(SHELL) $${libsrcdir}/configure \
3488 $(HOST_CONFIGARGS) $${srcdiroption} \
3489 || exit 1
3490 @endif automake
3496 .PHONY: all-automake maybe-all-automake
3497 maybe-all-automake:
3498 @if automake
3499 TARGET-automake=all
3500 maybe-all-automake: all-automake
3501 all-automake: configure-automake
3502 @$(unstage)
3503 @r=`${PWD_COMMAND}`; export r; \
3504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3505 $(HOST_EXPORTS) \
3506 (cd $(HOST_SUBDIR)/automake && \
3507 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3508 @endif automake
3513 .PHONY: check-automake maybe-check-automake
3514 maybe-check-automake:
3515 @if automake
3516 maybe-check-automake: check-automake
3518 check-automake:
3519 @$(unstage)
3520 @r=`${PWD_COMMAND}`; export r; \
3521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3522 $(HOST_EXPORTS) \
3523 (cd $(HOST_SUBDIR)/automake && \
3524 $(MAKE) $(FLAGS_TO_PASS) check)
3526 @endif automake
3528 .PHONY: install-automake maybe-install-automake
3529 maybe-install-automake:
3530 @if automake
3531 maybe-install-automake: install-automake
3533 install-automake: installdirs
3534 @$(unstage)
3535 @r=`${PWD_COMMAND}`; export r; \
3536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3537 $(HOST_EXPORTS) \
3538 (cd $(HOST_SUBDIR)/automake && \
3539 $(MAKE) $(FLAGS_TO_PASS) install)
3541 @endif automake
3543 # Other targets (info, dvi, etc.)
3545 .PHONY: maybe-info-automake info-automake
3546 maybe-info-automake:
3547 @if automake
3548 maybe-info-automake: info-automake
3550 info-automake: \
3551 configure-automake
3552 @$(unstage)
3553 @[ -f ./automake/Makefile ] || exit 0; \
3554 r=`${PWD_COMMAND}`; export r; \
3555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3556 $(HOST_EXPORTS) \
3557 for flag in $(EXTRA_HOST_FLAGS) ; do \
3558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3559 done; \
3560 echo "Doing info in automake" ; \
3561 (cd $(HOST_SUBDIR)/automake && \
3562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3564 "RANLIB=$${RANLIB}" \
3565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3566 info) \
3567 || exit 1
3569 @endif automake
3571 .PHONY: maybe-dvi-automake dvi-automake
3572 maybe-dvi-automake:
3573 @if automake
3574 maybe-dvi-automake: dvi-automake
3576 dvi-automake: \
3577 configure-automake
3578 @$(unstage)
3579 @[ -f ./automake/Makefile ] || exit 0; \
3580 r=`${PWD_COMMAND}`; export r; \
3581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3582 $(HOST_EXPORTS) \
3583 for flag in $(EXTRA_HOST_FLAGS) ; do \
3584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3585 done; \
3586 echo "Doing dvi in automake" ; \
3587 (cd $(HOST_SUBDIR)/automake && \
3588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3590 "RANLIB=$${RANLIB}" \
3591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3592 dvi) \
3593 || exit 1
3595 @endif automake
3597 .PHONY: maybe-html-automake html-automake
3598 maybe-html-automake:
3599 @if automake
3600 maybe-html-automake: html-automake
3602 html-automake: \
3603 configure-automake
3604 @$(unstage)
3605 @[ -f ./automake/Makefile ] || exit 0; \
3606 r=`${PWD_COMMAND}`; export r; \
3607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3608 $(HOST_EXPORTS) \
3609 for flag in $(EXTRA_HOST_FLAGS) ; do \
3610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3611 done; \
3612 echo "Doing html in automake" ; \
3613 (cd $(HOST_SUBDIR)/automake && \
3614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3616 "RANLIB=$${RANLIB}" \
3617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3618 html) \
3619 || exit 1
3621 @endif automake
3623 .PHONY: maybe-TAGS-automake TAGS-automake
3624 maybe-TAGS-automake:
3625 @if automake
3626 maybe-TAGS-automake: TAGS-automake
3628 TAGS-automake: \
3629 configure-automake
3630 @$(unstage)
3631 @[ -f ./automake/Makefile ] || exit 0; \
3632 r=`${PWD_COMMAND}`; export r; \
3633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3634 $(HOST_EXPORTS) \
3635 for flag in $(EXTRA_HOST_FLAGS) ; do \
3636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3637 done; \
3638 echo "Doing TAGS in automake" ; \
3639 (cd $(HOST_SUBDIR)/automake && \
3640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3642 "RANLIB=$${RANLIB}" \
3643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3644 TAGS) \
3645 || exit 1
3647 @endif automake
3649 .PHONY: maybe-install-info-automake install-info-automake
3650 maybe-install-info-automake:
3651 @if automake
3652 maybe-install-info-automake: install-info-automake
3654 install-info-automake: \
3655 configure-automake \
3656 info-automake
3657 @$(unstage)
3658 @[ -f ./automake/Makefile ] || exit 0; \
3659 r=`${PWD_COMMAND}`; export r; \
3660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3661 $(HOST_EXPORTS) \
3662 for flag in $(EXTRA_HOST_FLAGS) ; do \
3663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3664 done; \
3665 echo "Doing install-info in automake" ; \
3666 (cd $(HOST_SUBDIR)/automake && \
3667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3669 "RANLIB=$${RANLIB}" \
3670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3671 install-info) \
3672 || exit 1
3674 @endif automake
3676 .PHONY: maybe-installcheck-automake installcheck-automake
3677 maybe-installcheck-automake:
3678 @if automake
3679 maybe-installcheck-automake: installcheck-automake
3681 installcheck-automake: \
3682 configure-automake
3683 @$(unstage)
3684 @[ -f ./automake/Makefile ] || exit 0; \
3685 r=`${PWD_COMMAND}`; export r; \
3686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3687 $(HOST_EXPORTS) \
3688 for flag in $(EXTRA_HOST_FLAGS) ; do \
3689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3690 done; \
3691 echo "Doing installcheck in automake" ; \
3692 (cd $(HOST_SUBDIR)/automake && \
3693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3695 "RANLIB=$${RANLIB}" \
3696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3697 installcheck) \
3698 || exit 1
3700 @endif automake
3702 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3703 maybe-mostlyclean-automake:
3704 @if automake
3705 maybe-mostlyclean-automake: mostlyclean-automake
3707 mostlyclean-automake:
3708 @$(unstage)
3709 @[ -f ./automake/Makefile ] || exit 0; \
3710 r=`${PWD_COMMAND}`; export r; \
3711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3712 $(HOST_EXPORTS) \
3713 for flag in $(EXTRA_HOST_FLAGS) ; do \
3714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3715 done; \
3716 echo "Doing mostlyclean in automake" ; \
3717 (cd $(HOST_SUBDIR)/automake && \
3718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3720 "RANLIB=$${RANLIB}" \
3721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3722 mostlyclean) \
3723 || exit 1
3725 @endif automake
3727 .PHONY: maybe-clean-automake clean-automake
3728 maybe-clean-automake:
3729 @if automake
3730 maybe-clean-automake: clean-automake
3732 clean-automake:
3733 @$(unstage)
3734 @[ -f ./automake/Makefile ] || exit 0; \
3735 r=`${PWD_COMMAND}`; export r; \
3736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3737 $(HOST_EXPORTS) \
3738 for flag in $(EXTRA_HOST_FLAGS) ; do \
3739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3740 done; \
3741 echo "Doing clean in automake" ; \
3742 (cd $(HOST_SUBDIR)/automake && \
3743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3745 "RANLIB=$${RANLIB}" \
3746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3747 clean) \
3748 || exit 1
3750 @endif automake
3752 .PHONY: maybe-distclean-automake distclean-automake
3753 maybe-distclean-automake:
3754 @if automake
3755 maybe-distclean-automake: distclean-automake
3757 distclean-automake:
3758 @$(unstage)
3759 @[ -f ./automake/Makefile ] || exit 0; \
3760 r=`${PWD_COMMAND}`; export r; \
3761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3762 $(HOST_EXPORTS) \
3763 for flag in $(EXTRA_HOST_FLAGS) ; do \
3764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3765 done; \
3766 echo "Doing distclean in automake" ; \
3767 (cd $(HOST_SUBDIR)/automake && \
3768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3770 "RANLIB=$${RANLIB}" \
3771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3772 distclean) \
3773 || exit 1
3775 @endif automake
3777 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3778 maybe-maintainer-clean-automake:
3779 @if automake
3780 maybe-maintainer-clean-automake: maintainer-clean-automake
3782 maintainer-clean-automake:
3783 @$(unstage)
3784 @[ -f ./automake/Makefile ] || exit 0; \
3785 r=`${PWD_COMMAND}`; export r; \
3786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3787 $(HOST_EXPORTS) \
3788 for flag in $(EXTRA_HOST_FLAGS) ; do \
3789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3790 done; \
3791 echo "Doing maintainer-clean in automake" ; \
3792 (cd $(HOST_SUBDIR)/automake && \
3793 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3794 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3795 "RANLIB=$${RANLIB}" \
3796 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3797 maintainer-clean) \
3798 || exit 1
3800 @endif automake
3804 .PHONY: configure-bash maybe-configure-bash
3805 maybe-configure-bash:
3806 @if bash
3807 maybe-configure-bash: configure-bash
3808 configure-bash:
3809 @$(unstage)
3810 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3811 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3812 r=`${PWD_COMMAND}`; export r; \
3813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3814 $(HOST_EXPORTS) \
3815 echo Configuring in $(HOST_SUBDIR)/bash; \
3816 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3817 case $(srcdir) in \
3818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3819 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3821 esac; \
3822 srcdiroption="--srcdir=$${topdir}/bash"; \
3823 libsrcdir="$$s/bash"; \
3824 $(SHELL) $${libsrcdir}/configure \
3825 $(HOST_CONFIGARGS) $${srcdiroption} \
3826 || exit 1
3827 @endif bash
3833 .PHONY: all-bash maybe-all-bash
3834 maybe-all-bash:
3835 @if bash
3836 TARGET-bash=all
3837 maybe-all-bash: all-bash
3838 all-bash: configure-bash
3839 @$(unstage)
3840 @r=`${PWD_COMMAND}`; export r; \
3841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3842 $(HOST_EXPORTS) \
3843 (cd $(HOST_SUBDIR)/bash && \
3844 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3845 @endif bash
3850 .PHONY: check-bash maybe-check-bash
3851 maybe-check-bash:
3852 @if bash
3853 maybe-check-bash: check-bash
3855 check-bash:
3856 @$(unstage)
3857 @r=`${PWD_COMMAND}`; export r; \
3858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3859 $(HOST_EXPORTS) \
3860 (cd $(HOST_SUBDIR)/bash && \
3861 $(MAKE) $(FLAGS_TO_PASS) check)
3863 @endif bash
3865 .PHONY: install-bash maybe-install-bash
3866 maybe-install-bash:
3867 @if bash
3868 maybe-install-bash: install-bash
3870 install-bash: installdirs
3871 @$(unstage)
3872 @r=`${PWD_COMMAND}`; export r; \
3873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3874 $(HOST_EXPORTS) \
3875 (cd $(HOST_SUBDIR)/bash && \
3876 $(MAKE) $(FLAGS_TO_PASS) install)
3878 @endif bash
3880 # Other targets (info, dvi, etc.)
3882 .PHONY: maybe-info-bash info-bash
3883 maybe-info-bash:
3884 @if bash
3885 maybe-info-bash: info-bash
3887 info-bash: \
3888 configure-bash
3889 @$(unstage)
3890 @[ -f ./bash/Makefile ] || exit 0; \
3891 r=`${PWD_COMMAND}`; export r; \
3892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3893 $(HOST_EXPORTS) \
3894 for flag in $(EXTRA_HOST_FLAGS) ; do \
3895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3896 done; \
3897 echo "Doing info in bash" ; \
3898 (cd $(HOST_SUBDIR)/bash && \
3899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3901 "RANLIB=$${RANLIB}" \
3902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3903 info) \
3904 || exit 1
3906 @endif bash
3908 .PHONY: maybe-dvi-bash dvi-bash
3909 maybe-dvi-bash:
3910 @if bash
3911 maybe-dvi-bash: dvi-bash
3913 dvi-bash: \
3914 configure-bash
3915 @$(unstage)
3916 @[ -f ./bash/Makefile ] || exit 0; \
3917 r=`${PWD_COMMAND}`; export r; \
3918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3919 $(HOST_EXPORTS) \
3920 for flag in $(EXTRA_HOST_FLAGS) ; do \
3921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3922 done; \
3923 echo "Doing dvi in bash" ; \
3924 (cd $(HOST_SUBDIR)/bash && \
3925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3927 "RANLIB=$${RANLIB}" \
3928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3929 dvi) \
3930 || exit 1
3932 @endif bash
3934 .PHONY: maybe-html-bash html-bash
3935 maybe-html-bash:
3936 @if bash
3937 maybe-html-bash: html-bash
3939 html-bash: \
3940 configure-bash
3941 @$(unstage)
3942 @[ -f ./bash/Makefile ] || exit 0; \
3943 r=`${PWD_COMMAND}`; export r; \
3944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3945 $(HOST_EXPORTS) \
3946 for flag in $(EXTRA_HOST_FLAGS) ; do \
3947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3948 done; \
3949 echo "Doing html in bash" ; \
3950 (cd $(HOST_SUBDIR)/bash && \
3951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3953 "RANLIB=$${RANLIB}" \
3954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3955 html) \
3956 || exit 1
3958 @endif bash
3960 .PHONY: maybe-TAGS-bash TAGS-bash
3961 maybe-TAGS-bash:
3962 @if bash
3963 maybe-TAGS-bash: TAGS-bash
3965 TAGS-bash: \
3966 configure-bash
3967 @$(unstage)
3968 @[ -f ./bash/Makefile ] || exit 0; \
3969 r=`${PWD_COMMAND}`; export r; \
3970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3971 $(HOST_EXPORTS) \
3972 for flag in $(EXTRA_HOST_FLAGS) ; do \
3973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3974 done; \
3975 echo "Doing TAGS in bash" ; \
3976 (cd $(HOST_SUBDIR)/bash && \
3977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3979 "RANLIB=$${RANLIB}" \
3980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3981 TAGS) \
3982 || exit 1
3984 @endif bash
3986 .PHONY: maybe-install-info-bash install-info-bash
3987 maybe-install-info-bash:
3988 @if bash
3989 maybe-install-info-bash: install-info-bash
3991 install-info-bash: \
3992 configure-bash \
3993 info-bash
3994 @$(unstage)
3995 @[ -f ./bash/Makefile ] || exit 0; \
3996 r=`${PWD_COMMAND}`; export r; \
3997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3998 $(HOST_EXPORTS) \
3999 for flag in $(EXTRA_HOST_FLAGS) ; do \
4000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4001 done; \
4002 echo "Doing install-info in bash" ; \
4003 (cd $(HOST_SUBDIR)/bash && \
4004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4006 "RANLIB=$${RANLIB}" \
4007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4008 install-info) \
4009 || exit 1
4011 @endif bash
4013 .PHONY: maybe-installcheck-bash installcheck-bash
4014 maybe-installcheck-bash:
4015 @if bash
4016 maybe-installcheck-bash: installcheck-bash
4018 installcheck-bash: \
4019 configure-bash
4020 @$(unstage)
4021 @[ -f ./bash/Makefile ] || exit 0; \
4022 r=`${PWD_COMMAND}`; export r; \
4023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4024 $(HOST_EXPORTS) \
4025 for flag in $(EXTRA_HOST_FLAGS) ; do \
4026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4027 done; \
4028 echo "Doing installcheck in bash" ; \
4029 (cd $(HOST_SUBDIR)/bash && \
4030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4032 "RANLIB=$${RANLIB}" \
4033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4034 installcheck) \
4035 || exit 1
4037 @endif bash
4039 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4040 maybe-mostlyclean-bash:
4041 @if bash
4042 maybe-mostlyclean-bash: mostlyclean-bash
4044 mostlyclean-bash:
4045 @$(unstage)
4046 @[ -f ./bash/Makefile ] || exit 0; \
4047 r=`${PWD_COMMAND}`; export r; \
4048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4049 $(HOST_EXPORTS) \
4050 for flag in $(EXTRA_HOST_FLAGS) ; do \
4051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4052 done; \
4053 echo "Doing mostlyclean in bash" ; \
4054 (cd $(HOST_SUBDIR)/bash && \
4055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4057 "RANLIB=$${RANLIB}" \
4058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4059 mostlyclean) \
4060 || exit 1
4062 @endif bash
4064 .PHONY: maybe-clean-bash clean-bash
4065 maybe-clean-bash:
4066 @if bash
4067 maybe-clean-bash: clean-bash
4069 clean-bash:
4070 @$(unstage)
4071 @[ -f ./bash/Makefile ] || exit 0; \
4072 r=`${PWD_COMMAND}`; export r; \
4073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4074 $(HOST_EXPORTS) \
4075 for flag in $(EXTRA_HOST_FLAGS) ; do \
4076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4077 done; \
4078 echo "Doing clean in bash" ; \
4079 (cd $(HOST_SUBDIR)/bash && \
4080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4082 "RANLIB=$${RANLIB}" \
4083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4084 clean) \
4085 || exit 1
4087 @endif bash
4089 .PHONY: maybe-distclean-bash distclean-bash
4090 maybe-distclean-bash:
4091 @if bash
4092 maybe-distclean-bash: distclean-bash
4094 distclean-bash:
4095 @$(unstage)
4096 @[ -f ./bash/Makefile ] || exit 0; \
4097 r=`${PWD_COMMAND}`; export r; \
4098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4099 $(HOST_EXPORTS) \
4100 for flag in $(EXTRA_HOST_FLAGS) ; do \
4101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4102 done; \
4103 echo "Doing distclean in bash" ; \
4104 (cd $(HOST_SUBDIR)/bash && \
4105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4107 "RANLIB=$${RANLIB}" \
4108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4109 distclean) \
4110 || exit 1
4112 @endif bash
4114 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4115 maybe-maintainer-clean-bash:
4116 @if bash
4117 maybe-maintainer-clean-bash: maintainer-clean-bash
4119 maintainer-clean-bash:
4120 @$(unstage)
4121 @[ -f ./bash/Makefile ] || exit 0; \
4122 r=`${PWD_COMMAND}`; export r; \
4123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4124 $(HOST_EXPORTS) \
4125 for flag in $(EXTRA_HOST_FLAGS) ; do \
4126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4127 done; \
4128 echo "Doing maintainer-clean in bash" ; \
4129 (cd $(HOST_SUBDIR)/bash && \
4130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4132 "RANLIB=$${RANLIB}" \
4133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4134 maintainer-clean) \
4135 || exit 1
4137 @endif bash
4141 .PHONY: configure-bfd maybe-configure-bfd
4142 maybe-configure-bfd:
4143 @if bfd
4144 maybe-configure-bfd: configure-bfd
4145 configure-bfd:
4146 @test -f stage_last && exit 0; \
4147 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4148 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4149 r=`${PWD_COMMAND}`; export r; \
4150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4151 $(HOST_EXPORTS) \
4152 echo Configuring in $(HOST_SUBDIR)/bfd; \
4153 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4154 case $(srcdir) in \
4155 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4156 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4157 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4158 esac; \
4159 srcdiroption="--srcdir=$${topdir}/bfd"; \
4160 libsrcdir="$$s/bfd"; \
4161 $(SHELL) $${libsrcdir}/configure \
4162 $(HOST_CONFIGARGS) $${srcdiroption} \
4163 || exit 1
4164 @endif bfd
4168 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4169 maybe-configure-stage1-bfd:
4170 @if bfd-bootstrap
4171 maybe-configure-stage1-bfd: configure-stage1-bfd
4172 configure-stage1-bfd:
4173 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4174 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4175 r=`${PWD_COMMAND}`; export r; \
4176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4177 $(HOST_EXPORTS) \
4178 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4179 cd $(HOST_SUBDIR)/bfd || exit 1; \
4180 case $(srcdir) in \
4181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4182 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4184 esac; \
4185 srcdiroption="--srcdir=$${topdir}/bfd"; \
4186 libsrcdir="$$s/bfd"; \
4187 $(SHELL) $${libsrcdir}/configure \
4188 $(HOST_CONFIGARGS) $${srcdiroption} \
4189 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4190 @endif bfd-bootstrap
4192 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4193 maybe-configure-stage2-bfd:
4194 @if bfd-bootstrap
4195 maybe-configure-stage2-bfd: configure-stage2-bfd
4196 configure-stage2-bfd:
4197 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4198 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4199 r=`${PWD_COMMAND}`; export r; \
4200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4201 $(HOST_EXPORTS) \
4202 $(POSTSTAGE1_HOST_EXPORTS) \
4203 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4204 cd $(HOST_SUBDIR)/bfd || exit 1; \
4205 case $(srcdir) in \
4206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4207 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4209 esac; \
4210 srcdiroption="--srcdir=$${topdir}/bfd"; \
4211 libsrcdir="$$s/bfd"; \
4212 $(SHELL) $${libsrcdir}/configure \
4213 $(HOST_CONFIGARGS) $${srcdiroption} \
4214 @stage2_werror_flag@
4215 @endif bfd-bootstrap
4217 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4218 maybe-configure-stage3-bfd:
4219 @if bfd-bootstrap
4220 maybe-configure-stage3-bfd: configure-stage3-bfd
4221 configure-stage3-bfd:
4222 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4223 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4224 r=`${PWD_COMMAND}`; export r; \
4225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4226 $(HOST_EXPORTS) \
4227 $(POSTSTAGE1_HOST_EXPORTS) \
4228 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4229 cd $(HOST_SUBDIR)/bfd || exit 1; \
4230 case $(srcdir) in \
4231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4232 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4234 esac; \
4235 srcdiroption="--srcdir=$${topdir}/bfd"; \
4236 libsrcdir="$$s/bfd"; \
4237 $(SHELL) $${libsrcdir}/configure \
4238 $(HOST_CONFIGARGS) $${srcdiroption} \
4239 @stage2_werror_flag@
4240 @endif bfd-bootstrap
4242 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4243 maybe-configure-stage4-bfd:
4244 @if bfd-bootstrap
4245 maybe-configure-stage4-bfd: configure-stage4-bfd
4246 configure-stage4-bfd:
4247 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4248 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4249 r=`${PWD_COMMAND}`; export r; \
4250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4251 $(HOST_EXPORTS) \
4252 $(POSTSTAGE1_HOST_EXPORTS) \
4253 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4254 cd $(HOST_SUBDIR)/bfd || exit 1; \
4255 case $(srcdir) in \
4256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4257 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4259 esac; \
4260 srcdiroption="--srcdir=$${topdir}/bfd"; \
4261 libsrcdir="$$s/bfd"; \
4262 $(SHELL) $${libsrcdir}/configure \
4263 $(HOST_CONFIGARGS) $${srcdiroption} \
4264 @stage2_werror_flag@
4265 @endif bfd-bootstrap
4267 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4268 maybe-configure-stageprofile-bfd:
4269 @if bfd-bootstrap
4270 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4271 configure-stageprofile-bfd:
4272 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4273 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4274 r=`${PWD_COMMAND}`; export r; \
4275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4276 $(HOST_EXPORTS) \
4277 $(POSTSTAGE1_HOST_EXPORTS) \
4278 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4279 cd $(HOST_SUBDIR)/bfd || exit 1; \
4280 case $(srcdir) in \
4281 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4282 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4283 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4284 esac; \
4285 srcdiroption="--srcdir=$${topdir}/bfd"; \
4286 libsrcdir="$$s/bfd"; \
4287 $(SHELL) $${libsrcdir}/configure \
4288 $(HOST_CONFIGARGS) $${srcdiroption} \
4289 @stage2_werror_flag@
4290 @endif bfd-bootstrap
4292 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4293 maybe-configure-stagefeedback-bfd:
4294 @if bfd-bootstrap
4295 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4296 configure-stagefeedback-bfd:
4297 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4298 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4299 r=`${PWD_COMMAND}`; export r; \
4300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4301 $(HOST_EXPORTS) \
4302 $(POSTSTAGE1_HOST_EXPORTS) \
4303 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4304 cd $(HOST_SUBDIR)/bfd || exit 1; \
4305 case $(srcdir) in \
4306 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4307 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4308 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4309 esac; \
4310 srcdiroption="--srcdir=$${topdir}/bfd"; \
4311 libsrcdir="$$s/bfd"; \
4312 $(SHELL) $${libsrcdir}/configure \
4313 $(HOST_CONFIGARGS) $${srcdiroption} \
4314 @stage2_werror_flag@
4315 @endif bfd-bootstrap
4321 .PHONY: all-bfd maybe-all-bfd
4322 maybe-all-bfd:
4323 @if bfd
4324 TARGET-bfd=all
4325 maybe-all-bfd: all-bfd
4326 all-bfd: configure-bfd
4327 @test -f stage_last && exit 0; \
4328 r=`${PWD_COMMAND}`; export r; \
4329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4330 $(HOST_EXPORTS) \
4331 (cd $(HOST_SUBDIR)/bfd && \
4332 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4333 @endif bfd
4337 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4338 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4339 maybe-all-stage1-bfd:
4340 maybe-clean-stage1-bfd:
4341 @if bfd-bootstrap
4342 maybe-all-stage1-bfd: all-stage1-bfd
4343 all-stage1: all-stage1-bfd
4344 TARGET-stage1-bfd = $(TARGET-bfd)
4345 all-stage1-bfd: configure-stage1-bfd
4346 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4347 @r=`${PWD_COMMAND}`; export r; \
4348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4349 $(HOST_EXPORTS) \
4350 cd $(HOST_SUBDIR)/bfd && \
4351 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4352 $(TARGET-stage1-bfd)
4354 maybe-clean-stage1-bfd: clean-stage1-bfd
4355 clean-stage1: clean-stage1-bfd
4356 clean-stage1-bfd:
4357 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4358 || exit 0 ; \
4359 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4360 cd $(HOST_SUBDIR)/bfd && \
4361 $(MAKE) $(FLAGS_TO_PASS) \
4362 CFLAGS="$(STAGE1_CFLAGS)" clean
4363 @endif bfd-bootstrap
4366 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4367 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4368 maybe-all-stage2-bfd:
4369 maybe-clean-stage2-bfd:
4370 @if bfd-bootstrap
4371 maybe-all-stage2-bfd: all-stage2-bfd
4372 all-stage2: all-stage2-bfd
4373 TARGET-stage2-bfd = $(TARGET-bfd)
4374 all-stage2-bfd: configure-stage2-bfd
4375 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4376 @r=`${PWD_COMMAND}`; export r; \
4377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4378 $(HOST_EXPORTS) \
4379 $(POSTSTAGE1_HOST_EXPORTS) \
4380 cd $(HOST_SUBDIR)/bfd && \
4381 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4382 $(TARGET-stage2-bfd)
4384 maybe-clean-stage2-bfd: clean-stage2-bfd
4385 clean-stage2: clean-stage2-bfd
4386 clean-stage2-bfd:
4387 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4388 || exit 0 ; \
4389 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4390 cd $(HOST_SUBDIR)/bfd && \
4391 $(MAKE) $(FLAGS_TO_PASS) \
4392 $(POSTSTAGE1_FLAGS_TO_PASS) \
4393 clean
4394 @endif bfd-bootstrap
4397 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4398 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4399 maybe-all-stage3-bfd:
4400 maybe-clean-stage3-bfd:
4401 @if bfd-bootstrap
4402 maybe-all-stage3-bfd: all-stage3-bfd
4403 all-stage3: all-stage3-bfd
4404 TARGET-stage3-bfd = $(TARGET-bfd)
4405 all-stage3-bfd: configure-stage3-bfd
4406 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4407 @r=`${PWD_COMMAND}`; export r; \
4408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4409 $(HOST_EXPORTS) \
4410 $(POSTSTAGE1_HOST_EXPORTS) \
4411 cd $(HOST_SUBDIR)/bfd && \
4412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4413 $(TARGET-stage3-bfd)
4415 maybe-clean-stage3-bfd: clean-stage3-bfd
4416 clean-stage3: clean-stage3-bfd
4417 clean-stage3-bfd:
4418 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4419 || exit 0 ; \
4420 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4421 cd $(HOST_SUBDIR)/bfd && \
4422 $(MAKE) $(FLAGS_TO_PASS) \
4423 $(POSTSTAGE1_FLAGS_TO_PASS) \
4424 clean
4425 @endif bfd-bootstrap
4428 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4429 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4430 maybe-all-stage4-bfd:
4431 maybe-clean-stage4-bfd:
4432 @if bfd-bootstrap
4433 maybe-all-stage4-bfd: all-stage4-bfd
4434 all-stage4: all-stage4-bfd
4435 TARGET-stage4-bfd = $(TARGET-bfd)
4436 all-stage4-bfd: configure-stage4-bfd
4437 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4438 @r=`${PWD_COMMAND}`; export r; \
4439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4440 $(HOST_EXPORTS) \
4441 $(POSTSTAGE1_HOST_EXPORTS) \
4442 cd $(HOST_SUBDIR)/bfd && \
4443 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4444 $(TARGET-stage4-bfd)
4446 maybe-clean-stage4-bfd: clean-stage4-bfd
4447 clean-stage4: clean-stage4-bfd
4448 clean-stage4-bfd:
4449 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4450 || exit 0 ; \
4451 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4452 cd $(HOST_SUBDIR)/bfd && \
4453 $(MAKE) $(FLAGS_TO_PASS) \
4454 $(POSTSTAGE1_FLAGS_TO_PASS) \
4455 clean
4456 @endif bfd-bootstrap
4459 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4460 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4461 maybe-all-stageprofile-bfd:
4462 maybe-clean-stageprofile-bfd:
4463 @if bfd-bootstrap
4464 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4465 all-stageprofile: all-stageprofile-bfd
4466 TARGET-stageprofile-bfd = $(TARGET-bfd)
4467 all-stageprofile-bfd: configure-stageprofile-bfd
4468 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4469 @r=`${PWD_COMMAND}`; export r; \
4470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4471 $(HOST_EXPORTS) \
4472 $(POSTSTAGE1_HOST_EXPORTS) \
4473 cd $(HOST_SUBDIR)/bfd && \
4474 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4475 $(TARGET-stageprofile-bfd)
4477 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4478 clean-stageprofile: clean-stageprofile-bfd
4479 clean-stageprofile-bfd:
4480 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4481 || exit 0 ; \
4482 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4483 cd $(HOST_SUBDIR)/bfd && \
4484 $(MAKE) $(FLAGS_TO_PASS) \
4485 $(POSTSTAGE1_FLAGS_TO_PASS) \
4486 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4487 @endif bfd-bootstrap
4490 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4491 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4492 maybe-all-stagefeedback-bfd:
4493 maybe-clean-stagefeedback-bfd:
4494 @if bfd-bootstrap
4495 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4496 all-stagefeedback: all-stagefeedback-bfd
4497 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4498 all-stagefeedback-bfd: configure-stagefeedback-bfd
4499 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4500 @r=`${PWD_COMMAND}`; export r; \
4501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4502 $(HOST_EXPORTS) \
4503 $(POSTSTAGE1_HOST_EXPORTS) \
4504 cd $(HOST_SUBDIR)/bfd && \
4505 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4506 $(TARGET-stagefeedback-bfd)
4508 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4509 clean-stagefeedback: clean-stagefeedback-bfd
4510 clean-stagefeedback-bfd:
4511 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4512 || exit 0 ; \
4513 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4514 cd $(HOST_SUBDIR)/bfd && \
4515 $(MAKE) $(FLAGS_TO_PASS) \
4516 $(POSTSTAGE1_FLAGS_TO_PASS) \
4517 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4518 @endif bfd-bootstrap
4524 .PHONY: check-bfd maybe-check-bfd
4525 maybe-check-bfd:
4526 @if bfd
4527 maybe-check-bfd: check-bfd
4529 check-bfd:
4530 @$(unstage)
4531 @r=`${PWD_COMMAND}`; export r; \
4532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4533 $(HOST_EXPORTS) \
4534 (cd $(HOST_SUBDIR)/bfd && \
4535 $(MAKE) $(FLAGS_TO_PASS) check)
4537 @endif bfd
4539 .PHONY: install-bfd maybe-install-bfd
4540 maybe-install-bfd:
4541 @if bfd
4542 maybe-install-bfd: install-bfd
4544 install-bfd: installdirs
4545 @$(unstage)
4546 @r=`${PWD_COMMAND}`; export r; \
4547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4548 $(HOST_EXPORTS) \
4549 (cd $(HOST_SUBDIR)/bfd && \
4550 $(MAKE) $(FLAGS_TO_PASS) install)
4552 @endif bfd
4554 # Other targets (info, dvi, etc.)
4556 .PHONY: maybe-info-bfd info-bfd
4557 maybe-info-bfd:
4558 @if bfd
4559 maybe-info-bfd: info-bfd
4561 info-bfd: \
4562 configure-bfd
4563 @[ -f ./bfd/Makefile ] || exit 0; \
4564 r=`${PWD_COMMAND}`; export r; \
4565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4566 $(HOST_EXPORTS) \
4567 for flag in $(EXTRA_HOST_FLAGS) ; do \
4568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4569 done; \
4570 echo "Doing info in bfd" ; \
4571 (cd $(HOST_SUBDIR)/bfd && \
4572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4574 "RANLIB=$${RANLIB}" \
4575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4576 info) \
4577 || exit 1
4579 @endif bfd
4581 .PHONY: maybe-dvi-bfd dvi-bfd
4582 maybe-dvi-bfd:
4583 @if bfd
4584 maybe-dvi-bfd: dvi-bfd
4586 dvi-bfd: \
4587 configure-bfd
4588 @[ -f ./bfd/Makefile ] || exit 0; \
4589 r=`${PWD_COMMAND}`; export r; \
4590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4591 $(HOST_EXPORTS) \
4592 for flag in $(EXTRA_HOST_FLAGS) ; do \
4593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4594 done; \
4595 echo "Doing dvi in bfd" ; \
4596 (cd $(HOST_SUBDIR)/bfd && \
4597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4599 "RANLIB=$${RANLIB}" \
4600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4601 dvi) \
4602 || exit 1
4604 @endif bfd
4606 .PHONY: maybe-html-bfd html-bfd
4607 maybe-html-bfd:
4608 @if bfd
4609 maybe-html-bfd: html-bfd
4611 html-bfd: \
4612 configure-bfd
4613 @[ -f ./bfd/Makefile ] || exit 0; \
4614 r=`${PWD_COMMAND}`; export r; \
4615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4616 $(HOST_EXPORTS) \
4617 for flag in $(EXTRA_HOST_FLAGS) ; do \
4618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4619 done; \
4620 echo "Doing html in bfd" ; \
4621 (cd $(HOST_SUBDIR)/bfd && \
4622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4624 "RANLIB=$${RANLIB}" \
4625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4626 html) \
4627 || exit 1
4629 @endif bfd
4631 .PHONY: maybe-TAGS-bfd TAGS-bfd
4632 maybe-TAGS-bfd:
4633 @if bfd
4634 maybe-TAGS-bfd: TAGS-bfd
4636 TAGS-bfd: \
4637 configure-bfd
4638 @[ -f ./bfd/Makefile ] || exit 0; \
4639 r=`${PWD_COMMAND}`; export r; \
4640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4641 $(HOST_EXPORTS) \
4642 for flag in $(EXTRA_HOST_FLAGS) ; do \
4643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4644 done; \
4645 echo "Doing TAGS in bfd" ; \
4646 (cd $(HOST_SUBDIR)/bfd && \
4647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4649 "RANLIB=$${RANLIB}" \
4650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4651 TAGS) \
4652 || exit 1
4654 @endif bfd
4656 .PHONY: maybe-install-info-bfd install-info-bfd
4657 maybe-install-info-bfd:
4658 @if bfd
4659 maybe-install-info-bfd: install-info-bfd
4661 install-info-bfd: \
4662 configure-bfd \
4663 info-bfd
4664 @[ -f ./bfd/Makefile ] || exit 0; \
4665 r=`${PWD_COMMAND}`; export r; \
4666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4667 $(HOST_EXPORTS) \
4668 for flag in $(EXTRA_HOST_FLAGS) ; do \
4669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4670 done; \
4671 echo "Doing install-info in bfd" ; \
4672 (cd $(HOST_SUBDIR)/bfd && \
4673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4675 "RANLIB=$${RANLIB}" \
4676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4677 install-info) \
4678 || exit 1
4680 @endif bfd
4682 .PHONY: maybe-installcheck-bfd installcheck-bfd
4683 maybe-installcheck-bfd:
4684 @if bfd
4685 maybe-installcheck-bfd: installcheck-bfd
4687 installcheck-bfd: \
4688 configure-bfd
4689 @[ -f ./bfd/Makefile ] || exit 0; \
4690 r=`${PWD_COMMAND}`; export r; \
4691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4692 $(HOST_EXPORTS) \
4693 for flag in $(EXTRA_HOST_FLAGS) ; do \
4694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4695 done; \
4696 echo "Doing installcheck in bfd" ; \
4697 (cd $(HOST_SUBDIR)/bfd && \
4698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4700 "RANLIB=$${RANLIB}" \
4701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4702 installcheck) \
4703 || exit 1
4705 @endif bfd
4707 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4708 maybe-mostlyclean-bfd:
4709 @if bfd
4710 maybe-mostlyclean-bfd: mostlyclean-bfd
4712 mostlyclean-bfd:
4713 @[ -f ./bfd/Makefile ] || exit 0; \
4714 r=`${PWD_COMMAND}`; export r; \
4715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4716 $(HOST_EXPORTS) \
4717 for flag in $(EXTRA_HOST_FLAGS) ; do \
4718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4719 done; \
4720 echo "Doing mostlyclean in bfd" ; \
4721 (cd $(HOST_SUBDIR)/bfd && \
4722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4724 "RANLIB=$${RANLIB}" \
4725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4726 mostlyclean) \
4727 || exit 1
4729 @endif bfd
4731 .PHONY: maybe-clean-bfd clean-bfd
4732 maybe-clean-bfd:
4733 @if bfd
4734 maybe-clean-bfd: clean-bfd
4736 clean-bfd:
4737 @[ -f ./bfd/Makefile ] || exit 0; \
4738 r=`${PWD_COMMAND}`; export r; \
4739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4740 $(HOST_EXPORTS) \
4741 for flag in $(EXTRA_HOST_FLAGS) ; do \
4742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4743 done; \
4744 echo "Doing clean in bfd" ; \
4745 (cd $(HOST_SUBDIR)/bfd && \
4746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4748 "RANLIB=$${RANLIB}" \
4749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4750 clean) \
4751 || exit 1
4753 @endif bfd
4755 .PHONY: maybe-distclean-bfd distclean-bfd
4756 maybe-distclean-bfd:
4757 @if bfd
4758 maybe-distclean-bfd: distclean-bfd
4760 distclean-bfd:
4761 @[ -f ./bfd/Makefile ] || exit 0; \
4762 r=`${PWD_COMMAND}`; export r; \
4763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4764 $(HOST_EXPORTS) \
4765 for flag in $(EXTRA_HOST_FLAGS) ; do \
4766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4767 done; \
4768 echo "Doing distclean in bfd" ; \
4769 (cd $(HOST_SUBDIR)/bfd && \
4770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4772 "RANLIB=$${RANLIB}" \
4773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4774 distclean) \
4775 || exit 1
4777 @endif bfd
4779 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4780 maybe-maintainer-clean-bfd:
4781 @if bfd
4782 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4784 maintainer-clean-bfd:
4785 @[ -f ./bfd/Makefile ] || exit 0; \
4786 r=`${PWD_COMMAND}`; export r; \
4787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4788 $(HOST_EXPORTS) \
4789 for flag in $(EXTRA_HOST_FLAGS) ; do \
4790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4791 done; \
4792 echo "Doing maintainer-clean in bfd" ; \
4793 (cd $(HOST_SUBDIR)/bfd && \
4794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4796 "RANLIB=$${RANLIB}" \
4797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4798 maintainer-clean) \
4799 || exit 1
4801 @endif bfd
4805 .PHONY: configure-opcodes maybe-configure-opcodes
4806 maybe-configure-opcodes:
4807 @if opcodes
4808 maybe-configure-opcodes: configure-opcodes
4809 configure-opcodes:
4810 @test -f stage_last && exit 0; \
4811 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4813 r=`${PWD_COMMAND}`; export r; \
4814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4815 $(HOST_EXPORTS) \
4816 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4817 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4818 case $(srcdir) in \
4819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4820 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4822 esac; \
4823 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4824 libsrcdir="$$s/opcodes"; \
4825 $(SHELL) $${libsrcdir}/configure \
4826 $(HOST_CONFIGARGS) $${srcdiroption} \
4827 || exit 1
4828 @endif opcodes
4832 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4833 maybe-configure-stage1-opcodes:
4834 @if opcodes-bootstrap
4835 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4836 configure-stage1-opcodes:
4837 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4838 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4839 r=`${PWD_COMMAND}`; export r; \
4840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4841 $(HOST_EXPORTS) \
4842 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4843 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4844 case $(srcdir) in \
4845 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4846 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4847 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4848 esac; \
4849 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4850 libsrcdir="$$s/opcodes"; \
4851 $(SHELL) $${libsrcdir}/configure \
4852 $(HOST_CONFIGARGS) $${srcdiroption} \
4853 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4854 @endif opcodes-bootstrap
4856 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4857 maybe-configure-stage2-opcodes:
4858 @if opcodes-bootstrap
4859 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4860 configure-stage2-opcodes:
4861 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4862 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4863 r=`${PWD_COMMAND}`; export r; \
4864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4865 $(HOST_EXPORTS) \
4866 $(POSTSTAGE1_HOST_EXPORTS) \
4867 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4868 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4869 case $(srcdir) in \
4870 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4871 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4872 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4873 esac; \
4874 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4875 libsrcdir="$$s/opcodes"; \
4876 $(SHELL) $${libsrcdir}/configure \
4877 $(HOST_CONFIGARGS) $${srcdiroption} \
4878 @stage2_werror_flag@
4879 @endif opcodes-bootstrap
4881 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4882 maybe-configure-stage3-opcodes:
4883 @if opcodes-bootstrap
4884 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4885 configure-stage3-opcodes:
4886 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4887 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4888 r=`${PWD_COMMAND}`; export r; \
4889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4890 $(HOST_EXPORTS) \
4891 $(POSTSTAGE1_HOST_EXPORTS) \
4892 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4893 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4894 case $(srcdir) in \
4895 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4896 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4897 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4898 esac; \
4899 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4900 libsrcdir="$$s/opcodes"; \
4901 $(SHELL) $${libsrcdir}/configure \
4902 $(HOST_CONFIGARGS) $${srcdiroption} \
4903 @stage2_werror_flag@
4904 @endif opcodes-bootstrap
4906 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4907 maybe-configure-stage4-opcodes:
4908 @if opcodes-bootstrap
4909 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4910 configure-stage4-opcodes:
4911 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4912 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4913 r=`${PWD_COMMAND}`; export r; \
4914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4915 $(HOST_EXPORTS) \
4916 $(POSTSTAGE1_HOST_EXPORTS) \
4917 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4918 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4919 case $(srcdir) in \
4920 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4921 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4922 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4923 esac; \
4924 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4925 libsrcdir="$$s/opcodes"; \
4926 $(SHELL) $${libsrcdir}/configure \
4927 $(HOST_CONFIGARGS) $${srcdiroption} \
4928 @stage2_werror_flag@
4929 @endif opcodes-bootstrap
4931 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4932 maybe-configure-stageprofile-opcodes:
4933 @if opcodes-bootstrap
4934 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4935 configure-stageprofile-opcodes:
4936 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4937 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4938 r=`${PWD_COMMAND}`; export r; \
4939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4940 $(HOST_EXPORTS) \
4941 $(POSTSTAGE1_HOST_EXPORTS) \
4942 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4943 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4944 case $(srcdir) in \
4945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4946 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4948 esac; \
4949 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4950 libsrcdir="$$s/opcodes"; \
4951 $(SHELL) $${libsrcdir}/configure \
4952 $(HOST_CONFIGARGS) $${srcdiroption} \
4953 @stage2_werror_flag@
4954 @endif opcodes-bootstrap
4956 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4957 maybe-configure-stagefeedback-opcodes:
4958 @if opcodes-bootstrap
4959 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4960 configure-stagefeedback-opcodes:
4961 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4962 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4963 r=`${PWD_COMMAND}`; export r; \
4964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4965 $(HOST_EXPORTS) \
4966 $(POSTSTAGE1_HOST_EXPORTS) \
4967 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4968 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4969 case $(srcdir) in \
4970 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4971 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4972 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4973 esac; \
4974 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4975 libsrcdir="$$s/opcodes"; \
4976 $(SHELL) $${libsrcdir}/configure \
4977 $(HOST_CONFIGARGS) $${srcdiroption} \
4978 @stage2_werror_flag@
4979 @endif opcodes-bootstrap
4985 .PHONY: all-opcodes maybe-all-opcodes
4986 maybe-all-opcodes:
4987 @if opcodes
4988 TARGET-opcodes=all
4989 maybe-all-opcodes: all-opcodes
4990 all-opcodes: configure-opcodes
4991 @test -f stage_last && exit 0; \
4992 r=`${PWD_COMMAND}`; export r; \
4993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4994 $(HOST_EXPORTS) \
4995 (cd $(HOST_SUBDIR)/opcodes && \
4996 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4997 @endif opcodes
5001 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
5002 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
5003 maybe-all-stage1-opcodes:
5004 maybe-clean-stage1-opcodes:
5005 @if opcodes-bootstrap
5006 maybe-all-stage1-opcodes: all-stage1-opcodes
5007 all-stage1: all-stage1-opcodes
5008 TARGET-stage1-opcodes = $(TARGET-opcodes)
5009 all-stage1-opcodes: configure-stage1-opcodes
5010 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5011 @r=`${PWD_COMMAND}`; export r; \
5012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5013 $(HOST_EXPORTS) \
5014 cd $(HOST_SUBDIR)/opcodes && \
5015 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5016 $(TARGET-stage1-opcodes)
5018 maybe-clean-stage1-opcodes: clean-stage1-opcodes
5019 clean-stage1: clean-stage1-opcodes
5020 clean-stage1-opcodes:
5021 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
5022 || exit 0 ; \
5023 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5024 cd $(HOST_SUBDIR)/opcodes && \
5025 $(MAKE) $(FLAGS_TO_PASS) \
5026 CFLAGS="$(STAGE1_CFLAGS)" clean
5027 @endif opcodes-bootstrap
5030 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
5031 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
5032 maybe-all-stage2-opcodes:
5033 maybe-clean-stage2-opcodes:
5034 @if opcodes-bootstrap
5035 maybe-all-stage2-opcodes: all-stage2-opcodes
5036 all-stage2: all-stage2-opcodes
5037 TARGET-stage2-opcodes = $(TARGET-opcodes)
5038 all-stage2-opcodes: configure-stage2-opcodes
5039 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5040 @r=`${PWD_COMMAND}`; export r; \
5041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5042 $(HOST_EXPORTS) \
5043 $(POSTSTAGE1_HOST_EXPORTS) \
5044 cd $(HOST_SUBDIR)/opcodes && \
5045 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5046 $(TARGET-stage2-opcodes)
5048 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5049 clean-stage2: clean-stage2-opcodes
5050 clean-stage2-opcodes:
5051 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5052 || exit 0 ; \
5053 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5054 cd $(HOST_SUBDIR)/opcodes && \
5055 $(MAKE) $(FLAGS_TO_PASS) \
5056 $(POSTSTAGE1_FLAGS_TO_PASS) \
5057 clean
5058 @endif opcodes-bootstrap
5061 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5062 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5063 maybe-all-stage3-opcodes:
5064 maybe-clean-stage3-opcodes:
5065 @if opcodes-bootstrap
5066 maybe-all-stage3-opcodes: all-stage3-opcodes
5067 all-stage3: all-stage3-opcodes
5068 TARGET-stage3-opcodes = $(TARGET-opcodes)
5069 all-stage3-opcodes: configure-stage3-opcodes
5070 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5071 @r=`${PWD_COMMAND}`; export r; \
5072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5073 $(HOST_EXPORTS) \
5074 $(POSTSTAGE1_HOST_EXPORTS) \
5075 cd $(HOST_SUBDIR)/opcodes && \
5076 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5077 $(TARGET-stage3-opcodes)
5079 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5080 clean-stage3: clean-stage3-opcodes
5081 clean-stage3-opcodes:
5082 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5083 || exit 0 ; \
5084 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5085 cd $(HOST_SUBDIR)/opcodes && \
5086 $(MAKE) $(FLAGS_TO_PASS) \
5087 $(POSTSTAGE1_FLAGS_TO_PASS) \
5088 clean
5089 @endif opcodes-bootstrap
5092 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5093 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5094 maybe-all-stage4-opcodes:
5095 maybe-clean-stage4-opcodes:
5096 @if opcodes-bootstrap
5097 maybe-all-stage4-opcodes: all-stage4-opcodes
5098 all-stage4: all-stage4-opcodes
5099 TARGET-stage4-opcodes = $(TARGET-opcodes)
5100 all-stage4-opcodes: configure-stage4-opcodes
5101 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5102 @r=`${PWD_COMMAND}`; export r; \
5103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5104 $(HOST_EXPORTS) \
5105 $(POSTSTAGE1_HOST_EXPORTS) \
5106 cd $(HOST_SUBDIR)/opcodes && \
5107 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5108 $(TARGET-stage4-opcodes)
5110 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5111 clean-stage4: clean-stage4-opcodes
5112 clean-stage4-opcodes:
5113 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5114 || exit 0 ; \
5115 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5116 cd $(HOST_SUBDIR)/opcodes && \
5117 $(MAKE) $(FLAGS_TO_PASS) \
5118 $(POSTSTAGE1_FLAGS_TO_PASS) \
5119 clean
5120 @endif opcodes-bootstrap
5123 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5124 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5125 maybe-all-stageprofile-opcodes:
5126 maybe-clean-stageprofile-opcodes:
5127 @if opcodes-bootstrap
5128 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5129 all-stageprofile: all-stageprofile-opcodes
5130 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5131 all-stageprofile-opcodes: configure-stageprofile-opcodes
5132 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5133 @r=`${PWD_COMMAND}`; export r; \
5134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5135 $(HOST_EXPORTS) \
5136 $(POSTSTAGE1_HOST_EXPORTS) \
5137 cd $(HOST_SUBDIR)/opcodes && \
5138 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5139 $(TARGET-stageprofile-opcodes)
5141 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5142 clean-stageprofile: clean-stageprofile-opcodes
5143 clean-stageprofile-opcodes:
5144 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5145 || exit 0 ; \
5146 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5147 cd $(HOST_SUBDIR)/opcodes && \
5148 $(MAKE) $(FLAGS_TO_PASS) \
5149 $(POSTSTAGE1_FLAGS_TO_PASS) \
5150 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5151 @endif opcodes-bootstrap
5154 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5155 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5156 maybe-all-stagefeedback-opcodes:
5157 maybe-clean-stagefeedback-opcodes:
5158 @if opcodes-bootstrap
5159 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5160 all-stagefeedback: all-stagefeedback-opcodes
5161 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5162 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5163 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5164 @r=`${PWD_COMMAND}`; export r; \
5165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5166 $(HOST_EXPORTS) \
5167 $(POSTSTAGE1_HOST_EXPORTS) \
5168 cd $(HOST_SUBDIR)/opcodes && \
5169 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5170 $(TARGET-stagefeedback-opcodes)
5172 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5173 clean-stagefeedback: clean-stagefeedback-opcodes
5174 clean-stagefeedback-opcodes:
5175 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5176 || exit 0 ; \
5177 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5178 cd $(HOST_SUBDIR)/opcodes && \
5179 $(MAKE) $(FLAGS_TO_PASS) \
5180 $(POSTSTAGE1_FLAGS_TO_PASS) \
5181 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5182 @endif opcodes-bootstrap
5188 .PHONY: check-opcodes maybe-check-opcodes
5189 maybe-check-opcodes:
5190 @if opcodes
5191 maybe-check-opcodes: check-opcodes
5193 check-opcodes:
5194 @$(unstage)
5195 @r=`${PWD_COMMAND}`; export r; \
5196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5197 $(HOST_EXPORTS) \
5198 (cd $(HOST_SUBDIR)/opcodes && \
5199 $(MAKE) $(FLAGS_TO_PASS) check)
5201 @endif opcodes
5203 .PHONY: install-opcodes maybe-install-opcodes
5204 maybe-install-opcodes:
5205 @if opcodes
5206 maybe-install-opcodes: install-opcodes
5208 install-opcodes: installdirs
5209 @$(unstage)
5210 @r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(HOST_EXPORTS) \
5213 (cd $(HOST_SUBDIR)/opcodes && \
5214 $(MAKE) $(FLAGS_TO_PASS) install)
5216 @endif opcodes
5218 # Other targets (info, dvi, etc.)
5220 .PHONY: maybe-info-opcodes info-opcodes
5221 maybe-info-opcodes:
5222 @if opcodes
5223 maybe-info-opcodes: info-opcodes
5225 info-opcodes: \
5226 configure-opcodes
5227 @[ -f ./opcodes/Makefile ] || exit 0; \
5228 r=`${PWD_COMMAND}`; export r; \
5229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5230 $(HOST_EXPORTS) \
5231 for flag in $(EXTRA_HOST_FLAGS) ; do \
5232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5233 done; \
5234 echo "Doing info in opcodes" ; \
5235 (cd $(HOST_SUBDIR)/opcodes && \
5236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5238 "RANLIB=$${RANLIB}" \
5239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5240 info) \
5241 || exit 1
5243 @endif opcodes
5245 .PHONY: maybe-dvi-opcodes dvi-opcodes
5246 maybe-dvi-opcodes:
5247 @if opcodes
5248 maybe-dvi-opcodes: dvi-opcodes
5250 dvi-opcodes: \
5251 configure-opcodes
5252 @[ -f ./opcodes/Makefile ] || exit 0; \
5253 r=`${PWD_COMMAND}`; export r; \
5254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5255 $(HOST_EXPORTS) \
5256 for flag in $(EXTRA_HOST_FLAGS) ; do \
5257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5258 done; \
5259 echo "Doing dvi in opcodes" ; \
5260 (cd $(HOST_SUBDIR)/opcodes && \
5261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5263 "RANLIB=$${RANLIB}" \
5264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5265 dvi) \
5266 || exit 1
5268 @endif opcodes
5270 .PHONY: maybe-html-opcodes html-opcodes
5271 maybe-html-opcodes:
5272 @if opcodes
5273 maybe-html-opcodes: html-opcodes
5275 html-opcodes: \
5276 configure-opcodes
5277 @[ -f ./opcodes/Makefile ] || exit 0; \
5278 r=`${PWD_COMMAND}`; export r; \
5279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5280 $(HOST_EXPORTS) \
5281 for flag in $(EXTRA_HOST_FLAGS) ; do \
5282 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5283 done; \
5284 echo "Doing html in opcodes" ; \
5285 (cd $(HOST_SUBDIR)/opcodes && \
5286 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5287 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5288 "RANLIB=$${RANLIB}" \
5289 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5290 html) \
5291 || exit 1
5293 @endif opcodes
5295 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5296 maybe-TAGS-opcodes:
5297 @if opcodes
5298 maybe-TAGS-opcodes: TAGS-opcodes
5300 TAGS-opcodes: \
5301 configure-opcodes
5302 @[ -f ./opcodes/Makefile ] || exit 0; \
5303 r=`${PWD_COMMAND}`; export r; \
5304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5305 $(HOST_EXPORTS) \
5306 for flag in $(EXTRA_HOST_FLAGS) ; do \
5307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5308 done; \
5309 echo "Doing TAGS in opcodes" ; \
5310 (cd $(HOST_SUBDIR)/opcodes && \
5311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5313 "RANLIB=$${RANLIB}" \
5314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5315 TAGS) \
5316 || exit 1
5318 @endif opcodes
5320 .PHONY: maybe-install-info-opcodes install-info-opcodes
5321 maybe-install-info-opcodes:
5322 @if opcodes
5323 maybe-install-info-opcodes: install-info-opcodes
5325 install-info-opcodes: \
5326 configure-opcodes \
5327 info-opcodes
5328 @[ -f ./opcodes/Makefile ] || exit 0; \
5329 r=`${PWD_COMMAND}`; export r; \
5330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5331 $(HOST_EXPORTS) \
5332 for flag in $(EXTRA_HOST_FLAGS) ; do \
5333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5334 done; \
5335 echo "Doing install-info in opcodes" ; \
5336 (cd $(HOST_SUBDIR)/opcodes && \
5337 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5338 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5339 "RANLIB=$${RANLIB}" \
5340 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5341 install-info) \
5342 || exit 1
5344 @endif opcodes
5346 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5347 maybe-installcheck-opcodes:
5348 @if opcodes
5349 maybe-installcheck-opcodes: installcheck-opcodes
5351 installcheck-opcodes: \
5352 configure-opcodes
5353 @[ -f ./opcodes/Makefile ] || exit 0; \
5354 r=`${PWD_COMMAND}`; export r; \
5355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5356 $(HOST_EXPORTS) \
5357 for flag in $(EXTRA_HOST_FLAGS) ; do \
5358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5359 done; \
5360 echo "Doing installcheck in opcodes" ; \
5361 (cd $(HOST_SUBDIR)/opcodes && \
5362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5364 "RANLIB=$${RANLIB}" \
5365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5366 installcheck) \
5367 || exit 1
5369 @endif opcodes
5371 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5372 maybe-mostlyclean-opcodes:
5373 @if opcodes
5374 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5376 mostlyclean-opcodes:
5377 @[ -f ./opcodes/Makefile ] || exit 0; \
5378 r=`${PWD_COMMAND}`; export r; \
5379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5380 $(HOST_EXPORTS) \
5381 for flag in $(EXTRA_HOST_FLAGS) ; do \
5382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5383 done; \
5384 echo "Doing mostlyclean in opcodes" ; \
5385 (cd $(HOST_SUBDIR)/opcodes && \
5386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5388 "RANLIB=$${RANLIB}" \
5389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5390 mostlyclean) \
5391 || exit 1
5393 @endif opcodes
5395 .PHONY: maybe-clean-opcodes clean-opcodes
5396 maybe-clean-opcodes:
5397 @if opcodes
5398 maybe-clean-opcodes: clean-opcodes
5400 clean-opcodes:
5401 @[ -f ./opcodes/Makefile ] || exit 0; \
5402 r=`${PWD_COMMAND}`; export r; \
5403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5404 $(HOST_EXPORTS) \
5405 for flag in $(EXTRA_HOST_FLAGS) ; do \
5406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5407 done; \
5408 echo "Doing clean in opcodes" ; \
5409 (cd $(HOST_SUBDIR)/opcodes && \
5410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5412 "RANLIB=$${RANLIB}" \
5413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5414 clean) \
5415 || exit 1
5417 @endif opcodes
5419 .PHONY: maybe-distclean-opcodes distclean-opcodes
5420 maybe-distclean-opcodes:
5421 @if opcodes
5422 maybe-distclean-opcodes: distclean-opcodes
5424 distclean-opcodes:
5425 @[ -f ./opcodes/Makefile ] || exit 0; \
5426 r=`${PWD_COMMAND}`; export r; \
5427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5428 $(HOST_EXPORTS) \
5429 for flag in $(EXTRA_HOST_FLAGS) ; do \
5430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5431 done; \
5432 echo "Doing distclean in opcodes" ; \
5433 (cd $(HOST_SUBDIR)/opcodes && \
5434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5436 "RANLIB=$${RANLIB}" \
5437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5438 distclean) \
5439 || exit 1
5441 @endif opcodes
5443 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5444 maybe-maintainer-clean-opcodes:
5445 @if opcodes
5446 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5448 maintainer-clean-opcodes:
5449 @[ -f ./opcodes/Makefile ] || exit 0; \
5450 r=`${PWD_COMMAND}`; export r; \
5451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5452 $(HOST_EXPORTS) \
5453 for flag in $(EXTRA_HOST_FLAGS) ; do \
5454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5455 done; \
5456 echo "Doing maintainer-clean in opcodes" ; \
5457 (cd $(HOST_SUBDIR)/opcodes && \
5458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5460 "RANLIB=$${RANLIB}" \
5461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5462 maintainer-clean) \
5463 || exit 1
5465 @endif opcodes
5469 .PHONY: configure-binutils maybe-configure-binutils
5470 maybe-configure-binutils:
5471 @if binutils
5472 maybe-configure-binutils: configure-binutils
5473 configure-binutils:
5474 @test -f stage_last && exit 0; \
5475 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5477 r=`${PWD_COMMAND}`; export r; \
5478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5479 $(HOST_EXPORTS) \
5480 echo Configuring in $(HOST_SUBDIR)/binutils; \
5481 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5482 case $(srcdir) in \
5483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5484 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5486 esac; \
5487 srcdiroption="--srcdir=$${topdir}/binutils"; \
5488 libsrcdir="$$s/binutils"; \
5489 $(SHELL) $${libsrcdir}/configure \
5490 $(HOST_CONFIGARGS) $${srcdiroption} \
5491 || exit 1
5492 @endif binutils
5496 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5497 maybe-configure-stage1-binutils:
5498 @if binutils-bootstrap
5499 maybe-configure-stage1-binutils: configure-stage1-binutils
5500 configure-stage1-binutils:
5501 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5502 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5503 r=`${PWD_COMMAND}`; export r; \
5504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5505 $(HOST_EXPORTS) \
5506 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5507 cd $(HOST_SUBDIR)/binutils || exit 1; \
5508 case $(srcdir) in \
5509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5510 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5512 esac; \
5513 srcdiroption="--srcdir=$${topdir}/binutils"; \
5514 libsrcdir="$$s/binutils"; \
5515 $(SHELL) $${libsrcdir}/configure \
5516 $(HOST_CONFIGARGS) $${srcdiroption} \
5517 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5518 @endif binutils-bootstrap
5520 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5521 maybe-configure-stage2-binutils:
5522 @if binutils-bootstrap
5523 maybe-configure-stage2-binutils: configure-stage2-binutils
5524 configure-stage2-binutils:
5525 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5526 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5527 r=`${PWD_COMMAND}`; export r; \
5528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5529 $(HOST_EXPORTS) \
5530 $(POSTSTAGE1_HOST_EXPORTS) \
5531 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5532 cd $(HOST_SUBDIR)/binutils || exit 1; \
5533 case $(srcdir) in \
5534 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5535 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5536 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5537 esac; \
5538 srcdiroption="--srcdir=$${topdir}/binutils"; \
5539 libsrcdir="$$s/binutils"; \
5540 $(SHELL) $${libsrcdir}/configure \
5541 $(HOST_CONFIGARGS) $${srcdiroption} \
5542 @stage2_werror_flag@
5543 @endif binutils-bootstrap
5545 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5546 maybe-configure-stage3-binutils:
5547 @if binutils-bootstrap
5548 maybe-configure-stage3-binutils: configure-stage3-binutils
5549 configure-stage3-binutils:
5550 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5551 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5552 r=`${PWD_COMMAND}`; export r; \
5553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5554 $(HOST_EXPORTS) \
5555 $(POSTSTAGE1_HOST_EXPORTS) \
5556 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5557 cd $(HOST_SUBDIR)/binutils || exit 1; \
5558 case $(srcdir) in \
5559 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5560 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5561 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5562 esac; \
5563 srcdiroption="--srcdir=$${topdir}/binutils"; \
5564 libsrcdir="$$s/binutils"; \
5565 $(SHELL) $${libsrcdir}/configure \
5566 $(HOST_CONFIGARGS) $${srcdiroption} \
5567 @stage2_werror_flag@
5568 @endif binutils-bootstrap
5570 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5571 maybe-configure-stage4-binutils:
5572 @if binutils-bootstrap
5573 maybe-configure-stage4-binutils: configure-stage4-binutils
5574 configure-stage4-binutils:
5575 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5576 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5577 r=`${PWD_COMMAND}`; export r; \
5578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5579 $(HOST_EXPORTS) \
5580 $(POSTSTAGE1_HOST_EXPORTS) \
5581 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5582 cd $(HOST_SUBDIR)/binutils || exit 1; \
5583 case $(srcdir) in \
5584 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5585 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5586 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5587 esac; \
5588 srcdiroption="--srcdir=$${topdir}/binutils"; \
5589 libsrcdir="$$s/binutils"; \
5590 $(SHELL) $${libsrcdir}/configure \
5591 $(HOST_CONFIGARGS) $${srcdiroption} \
5592 @stage2_werror_flag@
5593 @endif binutils-bootstrap
5595 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5596 maybe-configure-stageprofile-binutils:
5597 @if binutils-bootstrap
5598 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5599 configure-stageprofile-binutils:
5600 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5601 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5602 r=`${PWD_COMMAND}`; export r; \
5603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5604 $(HOST_EXPORTS) \
5605 $(POSTSTAGE1_HOST_EXPORTS) \
5606 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5607 cd $(HOST_SUBDIR)/binutils || exit 1; \
5608 case $(srcdir) in \
5609 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5610 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5611 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5612 esac; \
5613 srcdiroption="--srcdir=$${topdir}/binutils"; \
5614 libsrcdir="$$s/binutils"; \
5615 $(SHELL) $${libsrcdir}/configure \
5616 $(HOST_CONFIGARGS) $${srcdiroption} \
5617 @stage2_werror_flag@
5618 @endif binutils-bootstrap
5620 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5621 maybe-configure-stagefeedback-binutils:
5622 @if binutils-bootstrap
5623 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5624 configure-stagefeedback-binutils:
5625 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5626 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5627 r=`${PWD_COMMAND}`; export r; \
5628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5629 $(HOST_EXPORTS) \
5630 $(POSTSTAGE1_HOST_EXPORTS) \
5631 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5632 cd $(HOST_SUBDIR)/binutils || exit 1; \
5633 case $(srcdir) in \
5634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5635 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5637 esac; \
5638 srcdiroption="--srcdir=$${topdir}/binutils"; \
5639 libsrcdir="$$s/binutils"; \
5640 $(SHELL) $${libsrcdir}/configure \
5641 $(HOST_CONFIGARGS) $${srcdiroption} \
5642 @stage2_werror_flag@
5643 @endif binutils-bootstrap
5649 .PHONY: all-binutils maybe-all-binutils
5650 maybe-all-binutils:
5651 @if binutils
5652 TARGET-binutils=all
5653 maybe-all-binutils: all-binutils
5654 all-binutils: configure-binutils
5655 @test -f stage_last && exit 0; \
5656 r=`${PWD_COMMAND}`; export r; \
5657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5658 $(HOST_EXPORTS) \
5659 (cd $(HOST_SUBDIR)/binutils && \
5660 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5661 @endif binutils
5665 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5666 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5667 maybe-all-stage1-binutils:
5668 maybe-clean-stage1-binutils:
5669 @if binutils-bootstrap
5670 maybe-all-stage1-binutils: all-stage1-binutils
5671 all-stage1: all-stage1-binutils
5672 TARGET-stage1-binutils = $(TARGET-binutils)
5673 all-stage1-binutils: configure-stage1-binutils
5674 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5675 @r=`${PWD_COMMAND}`; export r; \
5676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5677 $(HOST_EXPORTS) \
5678 cd $(HOST_SUBDIR)/binutils && \
5679 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5680 $(TARGET-stage1-binutils)
5682 maybe-clean-stage1-binutils: clean-stage1-binutils
5683 clean-stage1: clean-stage1-binutils
5684 clean-stage1-binutils:
5685 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5686 || exit 0 ; \
5687 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5688 cd $(HOST_SUBDIR)/binutils && \
5689 $(MAKE) $(FLAGS_TO_PASS) \
5690 CFLAGS="$(STAGE1_CFLAGS)" clean
5691 @endif binutils-bootstrap
5694 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5695 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5696 maybe-all-stage2-binutils:
5697 maybe-clean-stage2-binutils:
5698 @if binutils-bootstrap
5699 maybe-all-stage2-binutils: all-stage2-binutils
5700 all-stage2: all-stage2-binutils
5701 TARGET-stage2-binutils = $(TARGET-binutils)
5702 all-stage2-binutils: configure-stage2-binutils
5703 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5704 @r=`${PWD_COMMAND}`; export r; \
5705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5706 $(HOST_EXPORTS) \
5707 $(POSTSTAGE1_HOST_EXPORTS) \
5708 cd $(HOST_SUBDIR)/binutils && \
5709 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5710 $(TARGET-stage2-binutils)
5712 maybe-clean-stage2-binutils: clean-stage2-binutils
5713 clean-stage2: clean-stage2-binutils
5714 clean-stage2-binutils:
5715 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5716 || exit 0 ; \
5717 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5718 cd $(HOST_SUBDIR)/binutils && \
5719 $(MAKE) $(FLAGS_TO_PASS) \
5720 $(POSTSTAGE1_FLAGS_TO_PASS) \
5721 clean
5722 @endif binutils-bootstrap
5725 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5726 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5727 maybe-all-stage3-binutils:
5728 maybe-clean-stage3-binutils:
5729 @if binutils-bootstrap
5730 maybe-all-stage3-binutils: all-stage3-binutils
5731 all-stage3: all-stage3-binutils
5732 TARGET-stage3-binutils = $(TARGET-binutils)
5733 all-stage3-binutils: configure-stage3-binutils
5734 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5735 @r=`${PWD_COMMAND}`; export r; \
5736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5737 $(HOST_EXPORTS) \
5738 $(POSTSTAGE1_HOST_EXPORTS) \
5739 cd $(HOST_SUBDIR)/binutils && \
5740 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5741 $(TARGET-stage3-binutils)
5743 maybe-clean-stage3-binutils: clean-stage3-binutils
5744 clean-stage3: clean-stage3-binutils
5745 clean-stage3-binutils:
5746 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5747 || exit 0 ; \
5748 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5749 cd $(HOST_SUBDIR)/binutils && \
5750 $(MAKE) $(FLAGS_TO_PASS) \
5751 $(POSTSTAGE1_FLAGS_TO_PASS) \
5752 clean
5753 @endif binutils-bootstrap
5756 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5757 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5758 maybe-all-stage4-binutils:
5759 maybe-clean-stage4-binutils:
5760 @if binutils-bootstrap
5761 maybe-all-stage4-binutils: all-stage4-binutils
5762 all-stage4: all-stage4-binutils
5763 TARGET-stage4-binutils = $(TARGET-binutils)
5764 all-stage4-binutils: configure-stage4-binutils
5765 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5766 @r=`${PWD_COMMAND}`; export r; \
5767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5768 $(HOST_EXPORTS) \
5769 $(POSTSTAGE1_HOST_EXPORTS) \
5770 cd $(HOST_SUBDIR)/binutils && \
5771 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5772 $(TARGET-stage4-binutils)
5774 maybe-clean-stage4-binutils: clean-stage4-binutils
5775 clean-stage4: clean-stage4-binutils
5776 clean-stage4-binutils:
5777 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5778 || exit 0 ; \
5779 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5780 cd $(HOST_SUBDIR)/binutils && \
5781 $(MAKE) $(FLAGS_TO_PASS) \
5782 $(POSTSTAGE1_FLAGS_TO_PASS) \
5783 clean
5784 @endif binutils-bootstrap
5787 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5788 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5789 maybe-all-stageprofile-binutils:
5790 maybe-clean-stageprofile-binutils:
5791 @if binutils-bootstrap
5792 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5793 all-stageprofile: all-stageprofile-binutils
5794 TARGET-stageprofile-binutils = $(TARGET-binutils)
5795 all-stageprofile-binutils: configure-stageprofile-binutils
5796 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5797 @r=`${PWD_COMMAND}`; export r; \
5798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5799 $(HOST_EXPORTS) \
5800 $(POSTSTAGE1_HOST_EXPORTS) \
5801 cd $(HOST_SUBDIR)/binutils && \
5802 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5803 $(TARGET-stageprofile-binutils)
5805 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5806 clean-stageprofile: clean-stageprofile-binutils
5807 clean-stageprofile-binutils:
5808 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5809 || exit 0 ; \
5810 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5811 cd $(HOST_SUBDIR)/binutils && \
5812 $(MAKE) $(FLAGS_TO_PASS) \
5813 $(POSTSTAGE1_FLAGS_TO_PASS) \
5814 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5815 @endif binutils-bootstrap
5818 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5819 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5820 maybe-all-stagefeedback-binutils:
5821 maybe-clean-stagefeedback-binutils:
5822 @if binutils-bootstrap
5823 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5824 all-stagefeedback: all-stagefeedback-binutils
5825 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5826 all-stagefeedback-binutils: configure-stagefeedback-binutils
5827 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5828 @r=`${PWD_COMMAND}`; export r; \
5829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5830 $(HOST_EXPORTS) \
5831 $(POSTSTAGE1_HOST_EXPORTS) \
5832 cd $(HOST_SUBDIR)/binutils && \
5833 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5834 $(TARGET-stagefeedback-binutils)
5836 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5837 clean-stagefeedback: clean-stagefeedback-binutils
5838 clean-stagefeedback-binutils:
5839 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5840 || exit 0 ; \
5841 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5842 cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(FLAGS_TO_PASS) \
5844 $(POSTSTAGE1_FLAGS_TO_PASS) \
5845 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5846 @endif binutils-bootstrap
5852 .PHONY: check-binutils maybe-check-binutils
5853 maybe-check-binutils:
5854 @if binutils
5855 maybe-check-binutils: check-binutils
5857 check-binutils:
5858 @$(unstage)
5859 @r=`${PWD_COMMAND}`; export r; \
5860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5861 $(HOST_EXPORTS) \
5862 (cd $(HOST_SUBDIR)/binutils && \
5863 $(MAKE) $(FLAGS_TO_PASS) check)
5865 @endif binutils
5867 .PHONY: install-binutils maybe-install-binutils
5868 maybe-install-binutils:
5869 @if binutils
5870 maybe-install-binutils: install-binutils
5872 install-binutils: installdirs
5873 @$(unstage)
5874 @r=`${PWD_COMMAND}`; export r; \
5875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5876 $(HOST_EXPORTS) \
5877 (cd $(HOST_SUBDIR)/binutils && \
5878 $(MAKE) $(FLAGS_TO_PASS) install)
5880 @endif binutils
5882 # Other targets (info, dvi, etc.)
5884 .PHONY: maybe-info-binutils info-binutils
5885 maybe-info-binutils:
5886 @if binutils
5887 maybe-info-binutils: info-binutils
5889 info-binutils: \
5890 configure-binutils
5891 @[ -f ./binutils/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(HOST_EXPORTS) \
5895 for flag in $(EXTRA_HOST_FLAGS) ; do \
5896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5897 done; \
5898 echo "Doing info in binutils" ; \
5899 (cd $(HOST_SUBDIR)/binutils && \
5900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5902 "RANLIB=$${RANLIB}" \
5903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5904 info) \
5905 || exit 1
5907 @endif binutils
5909 .PHONY: maybe-dvi-binutils dvi-binutils
5910 maybe-dvi-binutils:
5911 @if binutils
5912 maybe-dvi-binutils: dvi-binutils
5914 dvi-binutils: \
5915 configure-binutils
5916 @[ -f ./binutils/Makefile ] || exit 0; \
5917 r=`${PWD_COMMAND}`; export r; \
5918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5919 $(HOST_EXPORTS) \
5920 for flag in $(EXTRA_HOST_FLAGS) ; do \
5921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5922 done; \
5923 echo "Doing dvi in binutils" ; \
5924 (cd $(HOST_SUBDIR)/binutils && \
5925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5927 "RANLIB=$${RANLIB}" \
5928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5929 dvi) \
5930 || exit 1
5932 @endif binutils
5934 .PHONY: maybe-html-binutils html-binutils
5935 maybe-html-binutils:
5936 @if binutils
5937 maybe-html-binutils: html-binutils
5939 html-binutils: \
5940 configure-binutils
5941 @[ -f ./binutils/Makefile ] || exit 0; \
5942 r=`${PWD_COMMAND}`; export r; \
5943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5944 $(HOST_EXPORTS) \
5945 for flag in $(EXTRA_HOST_FLAGS) ; do \
5946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5947 done; \
5948 echo "Doing html in binutils" ; \
5949 (cd $(HOST_SUBDIR)/binutils && \
5950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5952 "RANLIB=$${RANLIB}" \
5953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5954 html) \
5955 || exit 1
5957 @endif binutils
5959 .PHONY: maybe-TAGS-binutils TAGS-binutils
5960 maybe-TAGS-binutils:
5961 @if binutils
5962 maybe-TAGS-binutils: TAGS-binutils
5964 TAGS-binutils: \
5965 configure-binutils
5966 @[ -f ./binutils/Makefile ] || exit 0; \
5967 r=`${PWD_COMMAND}`; export r; \
5968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5969 $(HOST_EXPORTS) \
5970 for flag in $(EXTRA_HOST_FLAGS) ; do \
5971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5972 done; \
5973 echo "Doing TAGS in binutils" ; \
5974 (cd $(HOST_SUBDIR)/binutils && \
5975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5977 "RANLIB=$${RANLIB}" \
5978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5979 TAGS) \
5980 || exit 1
5982 @endif binutils
5984 .PHONY: maybe-install-info-binutils install-info-binutils
5985 maybe-install-info-binutils:
5986 @if binutils
5987 maybe-install-info-binutils: install-info-binutils
5989 install-info-binutils: \
5990 configure-binutils \
5991 info-binutils
5992 @[ -f ./binutils/Makefile ] || exit 0; \
5993 r=`${PWD_COMMAND}`; export r; \
5994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5995 $(HOST_EXPORTS) \
5996 for flag in $(EXTRA_HOST_FLAGS) ; do \
5997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5998 done; \
5999 echo "Doing install-info in binutils" ; \
6000 (cd $(HOST_SUBDIR)/binutils && \
6001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6003 "RANLIB=$${RANLIB}" \
6004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6005 install-info) \
6006 || exit 1
6008 @endif binutils
6010 .PHONY: maybe-installcheck-binutils installcheck-binutils
6011 maybe-installcheck-binutils:
6012 @if binutils
6013 maybe-installcheck-binutils: installcheck-binutils
6015 installcheck-binutils: \
6016 configure-binutils
6017 @[ -f ./binutils/Makefile ] || exit 0; \
6018 r=`${PWD_COMMAND}`; export r; \
6019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6020 $(HOST_EXPORTS) \
6021 for flag in $(EXTRA_HOST_FLAGS) ; do \
6022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6023 done; \
6024 echo "Doing installcheck in binutils" ; \
6025 (cd $(HOST_SUBDIR)/binutils && \
6026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6028 "RANLIB=$${RANLIB}" \
6029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6030 installcheck) \
6031 || exit 1
6033 @endif binutils
6035 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6036 maybe-mostlyclean-binutils:
6037 @if binutils
6038 maybe-mostlyclean-binutils: mostlyclean-binutils
6040 mostlyclean-binutils:
6041 @[ -f ./binutils/Makefile ] || exit 0; \
6042 r=`${PWD_COMMAND}`; export r; \
6043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6044 $(HOST_EXPORTS) \
6045 for flag in $(EXTRA_HOST_FLAGS) ; do \
6046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6047 done; \
6048 echo "Doing mostlyclean in binutils" ; \
6049 (cd $(HOST_SUBDIR)/binutils && \
6050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6052 "RANLIB=$${RANLIB}" \
6053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6054 mostlyclean) \
6055 || exit 1
6057 @endif binutils
6059 .PHONY: maybe-clean-binutils clean-binutils
6060 maybe-clean-binutils:
6061 @if binutils
6062 maybe-clean-binutils: clean-binutils
6064 clean-binutils:
6065 @[ -f ./binutils/Makefile ] || exit 0; \
6066 r=`${PWD_COMMAND}`; export r; \
6067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6068 $(HOST_EXPORTS) \
6069 for flag in $(EXTRA_HOST_FLAGS) ; do \
6070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6071 done; \
6072 echo "Doing clean in binutils" ; \
6073 (cd $(HOST_SUBDIR)/binutils && \
6074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6076 "RANLIB=$${RANLIB}" \
6077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6078 clean) \
6079 || exit 1
6081 @endif binutils
6083 .PHONY: maybe-distclean-binutils distclean-binutils
6084 maybe-distclean-binutils:
6085 @if binutils
6086 maybe-distclean-binutils: distclean-binutils
6088 distclean-binutils:
6089 @[ -f ./binutils/Makefile ] || exit 0; \
6090 r=`${PWD_COMMAND}`; export r; \
6091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6092 $(HOST_EXPORTS) \
6093 for flag in $(EXTRA_HOST_FLAGS) ; do \
6094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6095 done; \
6096 echo "Doing distclean in binutils" ; \
6097 (cd $(HOST_SUBDIR)/binutils && \
6098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6100 "RANLIB=$${RANLIB}" \
6101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6102 distclean) \
6103 || exit 1
6105 @endif binutils
6107 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6108 maybe-maintainer-clean-binutils:
6109 @if binutils
6110 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6112 maintainer-clean-binutils:
6113 @[ -f ./binutils/Makefile ] || exit 0; \
6114 r=`${PWD_COMMAND}`; export r; \
6115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6116 $(HOST_EXPORTS) \
6117 for flag in $(EXTRA_HOST_FLAGS) ; do \
6118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6119 done; \
6120 echo "Doing maintainer-clean in binutils" ; \
6121 (cd $(HOST_SUBDIR)/binutils && \
6122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6124 "RANLIB=$${RANLIB}" \
6125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6126 maintainer-clean) \
6127 || exit 1
6129 @endif binutils
6133 .PHONY: configure-bison maybe-configure-bison
6134 maybe-configure-bison:
6135 @if bison
6136 maybe-configure-bison: configure-bison
6137 configure-bison:
6138 @$(unstage)
6139 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6141 r=`${PWD_COMMAND}`; export r; \
6142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6143 $(HOST_EXPORTS) \
6144 echo Configuring in $(HOST_SUBDIR)/bison; \
6145 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6146 case $(srcdir) in \
6147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6148 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6150 esac; \
6151 srcdiroption="--srcdir=$${topdir}/bison"; \
6152 libsrcdir="$$s/bison"; \
6153 $(SHELL) $${libsrcdir}/configure \
6154 $(HOST_CONFIGARGS) $${srcdiroption} \
6155 || exit 1
6156 @endif bison
6162 .PHONY: all-bison maybe-all-bison
6163 maybe-all-bison:
6164 @if bison
6165 TARGET-bison=all
6166 maybe-all-bison: all-bison
6167 all-bison: configure-bison
6168 @$(unstage)
6169 @r=`${PWD_COMMAND}`; export r; \
6170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6171 $(HOST_EXPORTS) \
6172 (cd $(HOST_SUBDIR)/bison && \
6173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6174 @endif bison
6179 .PHONY: check-bison maybe-check-bison
6180 maybe-check-bison:
6181 @if bison
6182 maybe-check-bison: check-bison
6184 # This module is only tested in a native toolchain.
6185 check-bison:
6186 @$(unstage)
6187 @if [ '$(host)' = '$(target)' ] ; then \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 (cd $(HOST_SUBDIR)/bison && \
6192 $(MAKE) $(FLAGS_TO_PASS) check); \
6195 @endif bison
6197 .PHONY: install-bison maybe-install-bison
6198 maybe-install-bison:
6199 @if bison
6200 maybe-install-bison: install-bison
6202 install-bison: installdirs
6203 @$(unstage)
6204 @r=`${PWD_COMMAND}`; export r; \
6205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6206 $(HOST_EXPORTS) \
6207 (cd $(HOST_SUBDIR)/bison && \
6208 $(MAKE) $(FLAGS_TO_PASS) install)
6210 @endif bison
6212 # Other targets (info, dvi, etc.)
6214 .PHONY: maybe-info-bison info-bison
6215 maybe-info-bison:
6216 @if bison
6217 maybe-info-bison: info-bison
6219 info-bison: \
6220 configure-bison
6221 @$(unstage)
6222 @[ -f ./bison/Makefile ] || exit 0; \
6223 r=`${PWD_COMMAND}`; export r; \
6224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6225 $(HOST_EXPORTS) \
6226 for flag in $(EXTRA_HOST_FLAGS) ; do \
6227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6228 done; \
6229 echo "Doing info in bison" ; \
6230 (cd $(HOST_SUBDIR)/bison && \
6231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6233 "RANLIB=$${RANLIB}" \
6234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6235 info) \
6236 || exit 1
6238 @endif bison
6240 .PHONY: maybe-dvi-bison dvi-bison
6241 maybe-dvi-bison:
6242 @if bison
6243 maybe-dvi-bison: dvi-bison
6245 dvi-bison: \
6246 configure-bison
6247 @$(unstage)
6248 @[ -f ./bison/Makefile ] || exit 0; \
6249 r=`${PWD_COMMAND}`; export r; \
6250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6251 $(HOST_EXPORTS) \
6252 for flag in $(EXTRA_HOST_FLAGS) ; do \
6253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6254 done; \
6255 echo "Doing dvi in bison" ; \
6256 (cd $(HOST_SUBDIR)/bison && \
6257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6259 "RANLIB=$${RANLIB}" \
6260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6261 dvi) \
6262 || exit 1
6264 @endif bison
6266 .PHONY: maybe-html-bison html-bison
6267 maybe-html-bison:
6268 @if bison
6269 maybe-html-bison: html-bison
6271 html-bison: \
6272 configure-bison
6273 @$(unstage)
6274 @[ -f ./bison/Makefile ] || exit 0; \
6275 r=`${PWD_COMMAND}`; export r; \
6276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6277 $(HOST_EXPORTS) \
6278 for flag in $(EXTRA_HOST_FLAGS) ; do \
6279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6280 done; \
6281 echo "Doing html in bison" ; \
6282 (cd $(HOST_SUBDIR)/bison && \
6283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6285 "RANLIB=$${RANLIB}" \
6286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6287 html) \
6288 || exit 1
6290 @endif bison
6292 .PHONY: maybe-TAGS-bison TAGS-bison
6293 maybe-TAGS-bison:
6294 @if bison
6295 maybe-TAGS-bison: TAGS-bison
6297 TAGS-bison: \
6298 configure-bison
6299 @$(unstage)
6300 @[ -f ./bison/Makefile ] || exit 0; \
6301 r=`${PWD_COMMAND}`; export r; \
6302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6303 $(HOST_EXPORTS) \
6304 for flag in $(EXTRA_HOST_FLAGS) ; do \
6305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6306 done; \
6307 echo "Doing TAGS in bison" ; \
6308 (cd $(HOST_SUBDIR)/bison && \
6309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6311 "RANLIB=$${RANLIB}" \
6312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6313 TAGS) \
6314 || exit 1
6316 @endif bison
6318 .PHONY: maybe-install-info-bison install-info-bison
6319 maybe-install-info-bison:
6320 @if bison
6321 maybe-install-info-bison: install-info-bison
6323 install-info-bison: \
6324 configure-bison \
6325 info-bison
6326 @$(unstage)
6327 @[ -f ./bison/Makefile ] || exit 0; \
6328 r=`${PWD_COMMAND}`; export r; \
6329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6330 $(HOST_EXPORTS) \
6331 for flag in $(EXTRA_HOST_FLAGS) ; do \
6332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6333 done; \
6334 echo "Doing install-info in bison" ; \
6335 (cd $(HOST_SUBDIR)/bison && \
6336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6338 "RANLIB=$${RANLIB}" \
6339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6340 install-info) \
6341 || exit 1
6343 @endif bison
6345 .PHONY: maybe-installcheck-bison installcheck-bison
6346 maybe-installcheck-bison:
6347 @if bison
6348 maybe-installcheck-bison: installcheck-bison
6350 installcheck-bison: \
6351 configure-bison
6352 @$(unstage)
6353 @[ -f ./bison/Makefile ] || exit 0; \
6354 r=`${PWD_COMMAND}`; export r; \
6355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6356 $(HOST_EXPORTS) \
6357 for flag in $(EXTRA_HOST_FLAGS) ; do \
6358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6359 done; \
6360 echo "Doing installcheck in bison" ; \
6361 (cd $(HOST_SUBDIR)/bison && \
6362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6364 "RANLIB=$${RANLIB}" \
6365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6366 installcheck) \
6367 || exit 1
6369 @endif bison
6371 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6372 maybe-mostlyclean-bison:
6373 @if bison
6374 maybe-mostlyclean-bison: mostlyclean-bison
6376 mostlyclean-bison:
6377 @$(unstage)
6378 @[ -f ./bison/Makefile ] || exit 0; \
6379 r=`${PWD_COMMAND}`; export r; \
6380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6381 $(HOST_EXPORTS) \
6382 for flag in $(EXTRA_HOST_FLAGS) ; do \
6383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6384 done; \
6385 echo "Doing mostlyclean in bison" ; \
6386 (cd $(HOST_SUBDIR)/bison && \
6387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6389 "RANLIB=$${RANLIB}" \
6390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6391 mostlyclean) \
6392 || exit 1
6394 @endif bison
6396 .PHONY: maybe-clean-bison clean-bison
6397 maybe-clean-bison:
6398 @if bison
6399 maybe-clean-bison: clean-bison
6401 clean-bison:
6402 @$(unstage)
6403 @[ -f ./bison/Makefile ] || exit 0; \
6404 r=`${PWD_COMMAND}`; export r; \
6405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6406 $(HOST_EXPORTS) \
6407 for flag in $(EXTRA_HOST_FLAGS) ; do \
6408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6409 done; \
6410 echo "Doing clean in bison" ; \
6411 (cd $(HOST_SUBDIR)/bison && \
6412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6414 "RANLIB=$${RANLIB}" \
6415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6416 clean) \
6417 || exit 1
6419 @endif bison
6421 .PHONY: maybe-distclean-bison distclean-bison
6422 maybe-distclean-bison:
6423 @if bison
6424 maybe-distclean-bison: distclean-bison
6426 distclean-bison:
6427 @$(unstage)
6428 @[ -f ./bison/Makefile ] || exit 0; \
6429 r=`${PWD_COMMAND}`; export r; \
6430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6431 $(HOST_EXPORTS) \
6432 for flag in $(EXTRA_HOST_FLAGS) ; do \
6433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6434 done; \
6435 echo "Doing distclean in bison" ; \
6436 (cd $(HOST_SUBDIR)/bison && \
6437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6439 "RANLIB=$${RANLIB}" \
6440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6441 distclean) \
6442 || exit 1
6444 @endif bison
6446 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6447 maybe-maintainer-clean-bison:
6448 @if bison
6449 maybe-maintainer-clean-bison: maintainer-clean-bison
6451 maintainer-clean-bison:
6452 @$(unstage)
6453 @[ -f ./bison/Makefile ] || exit 0; \
6454 r=`${PWD_COMMAND}`; export r; \
6455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6456 $(HOST_EXPORTS) \
6457 for flag in $(EXTRA_HOST_FLAGS) ; do \
6458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6459 done; \
6460 echo "Doing maintainer-clean in bison" ; \
6461 (cd $(HOST_SUBDIR)/bison && \
6462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6464 "RANLIB=$${RANLIB}" \
6465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6466 maintainer-clean) \
6467 || exit 1
6469 @endif bison
6473 .PHONY: configure-byacc maybe-configure-byacc
6474 maybe-configure-byacc:
6475 @if byacc
6476 maybe-configure-byacc: configure-byacc
6477 configure-byacc:
6478 @$(unstage)
6479 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6481 r=`${PWD_COMMAND}`; export r; \
6482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6483 $(HOST_EXPORTS) \
6484 echo Configuring in $(HOST_SUBDIR)/byacc; \
6485 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6486 case $(srcdir) in \
6487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6488 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6490 esac; \
6491 srcdiroption="--srcdir=$${topdir}/byacc"; \
6492 libsrcdir="$$s/byacc"; \
6493 $(SHELL) $${libsrcdir}/configure \
6494 $(HOST_CONFIGARGS) $${srcdiroption} \
6495 || exit 1
6496 @endif byacc
6502 .PHONY: all-byacc maybe-all-byacc
6503 maybe-all-byacc:
6504 @if byacc
6505 TARGET-byacc=all
6506 maybe-all-byacc: all-byacc
6507 all-byacc: configure-byacc
6508 @$(unstage)
6509 @r=`${PWD_COMMAND}`; export r; \
6510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6511 $(HOST_EXPORTS) \
6512 (cd $(HOST_SUBDIR)/byacc && \
6513 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6514 @endif byacc
6519 .PHONY: check-byacc maybe-check-byacc
6520 maybe-check-byacc:
6521 @if byacc
6522 maybe-check-byacc: check-byacc
6524 # This module is only tested in a native toolchain.
6525 check-byacc:
6526 @$(unstage)
6527 @if [ '$(host)' = '$(target)' ] ; then \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6530 $(HOST_EXPORTS) \
6531 (cd $(HOST_SUBDIR)/byacc && \
6532 $(MAKE) $(FLAGS_TO_PASS) check); \
6535 @endif byacc
6537 .PHONY: install-byacc maybe-install-byacc
6538 maybe-install-byacc:
6539 @if byacc
6540 maybe-install-byacc: install-byacc
6542 install-byacc: installdirs
6543 @$(unstage)
6544 @r=`${PWD_COMMAND}`; export r; \
6545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6546 $(HOST_EXPORTS) \
6547 (cd $(HOST_SUBDIR)/byacc && \
6548 $(MAKE) $(FLAGS_TO_PASS) install)
6550 @endif byacc
6552 # Other targets (info, dvi, etc.)
6554 .PHONY: maybe-info-byacc info-byacc
6555 maybe-info-byacc:
6556 @if byacc
6557 maybe-info-byacc: info-byacc
6559 info-byacc: \
6560 configure-byacc
6561 @$(unstage)
6562 @[ -f ./byacc/Makefile ] || exit 0; \
6563 r=`${PWD_COMMAND}`; export r; \
6564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6565 $(HOST_EXPORTS) \
6566 for flag in $(EXTRA_HOST_FLAGS) ; do \
6567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6568 done; \
6569 echo "Doing info in byacc" ; \
6570 (cd $(HOST_SUBDIR)/byacc && \
6571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6573 "RANLIB=$${RANLIB}" \
6574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6575 info) \
6576 || exit 1
6578 @endif byacc
6580 .PHONY: maybe-dvi-byacc dvi-byacc
6581 maybe-dvi-byacc:
6582 @if byacc
6583 maybe-dvi-byacc: dvi-byacc
6585 dvi-byacc: \
6586 configure-byacc
6587 @$(unstage)
6588 @[ -f ./byacc/Makefile ] || exit 0; \
6589 r=`${PWD_COMMAND}`; export r; \
6590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6591 $(HOST_EXPORTS) \
6592 for flag in $(EXTRA_HOST_FLAGS) ; do \
6593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6594 done; \
6595 echo "Doing dvi in byacc" ; \
6596 (cd $(HOST_SUBDIR)/byacc && \
6597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6599 "RANLIB=$${RANLIB}" \
6600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6601 dvi) \
6602 || exit 1
6604 @endif byacc
6606 .PHONY: maybe-html-byacc html-byacc
6607 maybe-html-byacc:
6608 @if byacc
6609 maybe-html-byacc: html-byacc
6611 html-byacc: \
6612 configure-byacc
6613 @$(unstage)
6614 @[ -f ./byacc/Makefile ] || exit 0; \
6615 r=`${PWD_COMMAND}`; export r; \
6616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6617 $(HOST_EXPORTS) \
6618 for flag in $(EXTRA_HOST_FLAGS) ; do \
6619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6620 done; \
6621 echo "Doing html in byacc" ; \
6622 (cd $(HOST_SUBDIR)/byacc && \
6623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6625 "RANLIB=$${RANLIB}" \
6626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6627 html) \
6628 || exit 1
6630 @endif byacc
6632 .PHONY: maybe-TAGS-byacc TAGS-byacc
6633 maybe-TAGS-byacc:
6634 @if byacc
6635 maybe-TAGS-byacc: TAGS-byacc
6637 TAGS-byacc: \
6638 configure-byacc
6639 @$(unstage)
6640 @[ -f ./byacc/Makefile ] || exit 0; \
6641 r=`${PWD_COMMAND}`; export r; \
6642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6643 $(HOST_EXPORTS) \
6644 for flag in $(EXTRA_HOST_FLAGS) ; do \
6645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6646 done; \
6647 echo "Doing TAGS in byacc" ; \
6648 (cd $(HOST_SUBDIR)/byacc && \
6649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6651 "RANLIB=$${RANLIB}" \
6652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6653 TAGS) \
6654 || exit 1
6656 @endif byacc
6658 .PHONY: maybe-install-info-byacc install-info-byacc
6659 maybe-install-info-byacc:
6660 @if byacc
6661 maybe-install-info-byacc: install-info-byacc
6663 install-info-byacc: \
6664 configure-byacc \
6665 info-byacc
6666 @$(unstage)
6667 @[ -f ./byacc/Makefile ] || exit 0; \
6668 r=`${PWD_COMMAND}`; export r; \
6669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6670 $(HOST_EXPORTS) \
6671 for flag in $(EXTRA_HOST_FLAGS) ; do \
6672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6673 done; \
6674 echo "Doing install-info in byacc" ; \
6675 (cd $(HOST_SUBDIR)/byacc && \
6676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6678 "RANLIB=$${RANLIB}" \
6679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6680 install-info) \
6681 || exit 1
6683 @endif byacc
6685 .PHONY: maybe-installcheck-byacc installcheck-byacc
6686 maybe-installcheck-byacc:
6687 @if byacc
6688 maybe-installcheck-byacc: installcheck-byacc
6690 installcheck-byacc: \
6691 configure-byacc
6692 @$(unstage)
6693 @[ -f ./byacc/Makefile ] || exit 0; \
6694 r=`${PWD_COMMAND}`; export r; \
6695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6696 $(HOST_EXPORTS) \
6697 for flag in $(EXTRA_HOST_FLAGS) ; do \
6698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6699 done; \
6700 echo "Doing installcheck in byacc" ; \
6701 (cd $(HOST_SUBDIR)/byacc && \
6702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6704 "RANLIB=$${RANLIB}" \
6705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6706 installcheck) \
6707 || exit 1
6709 @endif byacc
6711 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6712 maybe-mostlyclean-byacc:
6713 @if byacc
6714 maybe-mostlyclean-byacc: mostlyclean-byacc
6716 mostlyclean-byacc:
6717 @$(unstage)
6718 @[ -f ./byacc/Makefile ] || exit 0; \
6719 r=`${PWD_COMMAND}`; export r; \
6720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6721 $(HOST_EXPORTS) \
6722 for flag in $(EXTRA_HOST_FLAGS) ; do \
6723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6724 done; \
6725 echo "Doing mostlyclean in byacc" ; \
6726 (cd $(HOST_SUBDIR)/byacc && \
6727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6729 "RANLIB=$${RANLIB}" \
6730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6731 mostlyclean) \
6732 || exit 1
6734 @endif byacc
6736 .PHONY: maybe-clean-byacc clean-byacc
6737 maybe-clean-byacc:
6738 @if byacc
6739 maybe-clean-byacc: clean-byacc
6741 clean-byacc:
6742 @$(unstage)
6743 @[ -f ./byacc/Makefile ] || exit 0; \
6744 r=`${PWD_COMMAND}`; export r; \
6745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6746 $(HOST_EXPORTS) \
6747 for flag in $(EXTRA_HOST_FLAGS) ; do \
6748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6749 done; \
6750 echo "Doing clean in byacc" ; \
6751 (cd $(HOST_SUBDIR)/byacc && \
6752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6754 "RANLIB=$${RANLIB}" \
6755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6756 clean) \
6757 || exit 1
6759 @endif byacc
6761 .PHONY: maybe-distclean-byacc distclean-byacc
6762 maybe-distclean-byacc:
6763 @if byacc
6764 maybe-distclean-byacc: distclean-byacc
6766 distclean-byacc:
6767 @$(unstage)
6768 @[ -f ./byacc/Makefile ] || exit 0; \
6769 r=`${PWD_COMMAND}`; export r; \
6770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6771 $(HOST_EXPORTS) \
6772 for flag in $(EXTRA_HOST_FLAGS) ; do \
6773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6774 done; \
6775 echo "Doing distclean in byacc" ; \
6776 (cd $(HOST_SUBDIR)/byacc && \
6777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6779 "RANLIB=$${RANLIB}" \
6780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6781 distclean) \
6782 || exit 1
6784 @endif byacc
6786 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6787 maybe-maintainer-clean-byacc:
6788 @if byacc
6789 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6791 maintainer-clean-byacc:
6792 @$(unstage)
6793 @[ -f ./byacc/Makefile ] || exit 0; \
6794 r=`${PWD_COMMAND}`; export r; \
6795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6796 $(HOST_EXPORTS) \
6797 for flag in $(EXTRA_HOST_FLAGS) ; do \
6798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6799 done; \
6800 echo "Doing maintainer-clean in byacc" ; \
6801 (cd $(HOST_SUBDIR)/byacc && \
6802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6804 "RANLIB=$${RANLIB}" \
6805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6806 maintainer-clean) \
6807 || exit 1
6809 @endif byacc
6813 .PHONY: configure-bzip2 maybe-configure-bzip2
6814 maybe-configure-bzip2:
6815 @if bzip2
6816 maybe-configure-bzip2: configure-bzip2
6817 configure-bzip2:
6818 @$(unstage)
6819 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6820 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6821 r=`${PWD_COMMAND}`; export r; \
6822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6823 $(HOST_EXPORTS) \
6824 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6825 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6826 case $(srcdir) in \
6827 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6828 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6829 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6830 esac; \
6831 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6832 libsrcdir="$$s/bzip2"; \
6833 $(SHELL) $${libsrcdir}/configure \
6834 $(HOST_CONFIGARGS) $${srcdiroption} \
6835 || exit 1
6836 @endif bzip2
6842 .PHONY: all-bzip2 maybe-all-bzip2
6843 maybe-all-bzip2:
6844 @if bzip2
6845 TARGET-bzip2=all
6846 maybe-all-bzip2: all-bzip2
6847 all-bzip2: configure-bzip2
6848 @$(unstage)
6849 @r=`${PWD_COMMAND}`; export r; \
6850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6851 $(HOST_EXPORTS) \
6852 (cd $(HOST_SUBDIR)/bzip2 && \
6853 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6854 @endif bzip2
6859 .PHONY: check-bzip2 maybe-check-bzip2
6860 maybe-check-bzip2:
6861 @if bzip2
6862 maybe-check-bzip2: check-bzip2
6864 check-bzip2:
6865 @$(unstage)
6866 @r=`${PWD_COMMAND}`; export r; \
6867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6868 $(HOST_EXPORTS) \
6869 (cd $(HOST_SUBDIR)/bzip2 && \
6870 $(MAKE) $(FLAGS_TO_PASS) check)
6872 @endif bzip2
6874 .PHONY: install-bzip2 maybe-install-bzip2
6875 maybe-install-bzip2:
6876 @if bzip2
6877 maybe-install-bzip2: install-bzip2
6879 install-bzip2: installdirs
6880 @$(unstage)
6881 @r=`${PWD_COMMAND}`; export r; \
6882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6883 $(HOST_EXPORTS) \
6884 (cd $(HOST_SUBDIR)/bzip2 && \
6885 $(MAKE) $(FLAGS_TO_PASS) install)
6887 @endif bzip2
6889 # Other targets (info, dvi, etc.)
6891 .PHONY: maybe-info-bzip2 info-bzip2
6892 maybe-info-bzip2:
6893 @if bzip2
6894 maybe-info-bzip2: info-bzip2
6896 info-bzip2: \
6897 configure-bzip2
6898 @$(unstage)
6899 @[ -f ./bzip2/Makefile ] || exit 0; \
6900 r=`${PWD_COMMAND}`; export r; \
6901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6902 $(HOST_EXPORTS) \
6903 for flag in $(EXTRA_HOST_FLAGS) ; do \
6904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6905 done; \
6906 echo "Doing info in bzip2" ; \
6907 (cd $(HOST_SUBDIR)/bzip2 && \
6908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6910 "RANLIB=$${RANLIB}" \
6911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6912 info) \
6913 || exit 1
6915 @endif bzip2
6917 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6918 maybe-dvi-bzip2:
6919 @if bzip2
6920 maybe-dvi-bzip2: dvi-bzip2
6922 dvi-bzip2: \
6923 configure-bzip2
6924 @$(unstage)
6925 @[ -f ./bzip2/Makefile ] || exit 0; \
6926 r=`${PWD_COMMAND}`; export r; \
6927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6928 $(HOST_EXPORTS) \
6929 for flag in $(EXTRA_HOST_FLAGS) ; do \
6930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6931 done; \
6932 echo "Doing dvi in bzip2" ; \
6933 (cd $(HOST_SUBDIR)/bzip2 && \
6934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6936 "RANLIB=$${RANLIB}" \
6937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6938 dvi) \
6939 || exit 1
6941 @endif bzip2
6943 .PHONY: maybe-html-bzip2 html-bzip2
6944 maybe-html-bzip2:
6945 @if bzip2
6946 maybe-html-bzip2: html-bzip2
6948 html-bzip2: \
6949 configure-bzip2
6950 @$(unstage)
6951 @[ -f ./bzip2/Makefile ] || exit 0; \
6952 r=`${PWD_COMMAND}`; export r; \
6953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6954 $(HOST_EXPORTS) \
6955 for flag in $(EXTRA_HOST_FLAGS) ; do \
6956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6957 done; \
6958 echo "Doing html in bzip2" ; \
6959 (cd $(HOST_SUBDIR)/bzip2 && \
6960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6962 "RANLIB=$${RANLIB}" \
6963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6964 html) \
6965 || exit 1
6967 @endif bzip2
6969 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6970 maybe-TAGS-bzip2:
6971 @if bzip2
6972 maybe-TAGS-bzip2: TAGS-bzip2
6974 TAGS-bzip2: \
6975 configure-bzip2
6976 @$(unstage)
6977 @[ -f ./bzip2/Makefile ] || exit 0; \
6978 r=`${PWD_COMMAND}`; export r; \
6979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6980 $(HOST_EXPORTS) \
6981 for flag in $(EXTRA_HOST_FLAGS) ; do \
6982 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6983 done; \
6984 echo "Doing TAGS in bzip2" ; \
6985 (cd $(HOST_SUBDIR)/bzip2 && \
6986 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6987 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6988 "RANLIB=$${RANLIB}" \
6989 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6990 TAGS) \
6991 || exit 1
6993 @endif bzip2
6995 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6996 maybe-install-info-bzip2:
6997 @if bzip2
6998 maybe-install-info-bzip2: install-info-bzip2
7000 install-info-bzip2: \
7001 configure-bzip2 \
7002 info-bzip2
7003 @$(unstage)
7004 @[ -f ./bzip2/Makefile ] || exit 0; \
7005 r=`${PWD_COMMAND}`; export r; \
7006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7007 $(HOST_EXPORTS) \
7008 for flag in $(EXTRA_HOST_FLAGS) ; do \
7009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7010 done; \
7011 echo "Doing install-info in bzip2" ; \
7012 (cd $(HOST_SUBDIR)/bzip2 && \
7013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7015 "RANLIB=$${RANLIB}" \
7016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7017 install-info) \
7018 || exit 1
7020 @endif bzip2
7022 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
7023 maybe-installcheck-bzip2:
7024 @if bzip2
7025 maybe-installcheck-bzip2: installcheck-bzip2
7027 installcheck-bzip2: \
7028 configure-bzip2
7029 @$(unstage)
7030 @[ -f ./bzip2/Makefile ] || exit 0; \
7031 r=`${PWD_COMMAND}`; export r; \
7032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7033 $(HOST_EXPORTS) \
7034 for flag in $(EXTRA_HOST_FLAGS) ; do \
7035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7036 done; \
7037 echo "Doing installcheck in bzip2" ; \
7038 (cd $(HOST_SUBDIR)/bzip2 && \
7039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7041 "RANLIB=$${RANLIB}" \
7042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7043 installcheck) \
7044 || exit 1
7046 @endif bzip2
7048 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7049 maybe-mostlyclean-bzip2:
7050 @if bzip2
7051 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7053 mostlyclean-bzip2:
7054 @$(unstage)
7055 @[ -f ./bzip2/Makefile ] || exit 0; \
7056 r=`${PWD_COMMAND}`; export r; \
7057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7058 $(HOST_EXPORTS) \
7059 for flag in $(EXTRA_HOST_FLAGS) ; do \
7060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7061 done; \
7062 echo "Doing mostlyclean in bzip2" ; \
7063 (cd $(HOST_SUBDIR)/bzip2 && \
7064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7066 "RANLIB=$${RANLIB}" \
7067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7068 mostlyclean) \
7069 || exit 1
7071 @endif bzip2
7073 .PHONY: maybe-clean-bzip2 clean-bzip2
7074 maybe-clean-bzip2:
7075 @if bzip2
7076 maybe-clean-bzip2: clean-bzip2
7078 clean-bzip2:
7079 @$(unstage)
7080 @[ -f ./bzip2/Makefile ] || exit 0; \
7081 r=`${PWD_COMMAND}`; export r; \
7082 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7083 $(HOST_EXPORTS) \
7084 for flag in $(EXTRA_HOST_FLAGS) ; do \
7085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7086 done; \
7087 echo "Doing clean in bzip2" ; \
7088 (cd $(HOST_SUBDIR)/bzip2 && \
7089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7091 "RANLIB=$${RANLIB}" \
7092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7093 clean) \
7094 || exit 1
7096 @endif bzip2
7098 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7099 maybe-distclean-bzip2:
7100 @if bzip2
7101 maybe-distclean-bzip2: distclean-bzip2
7103 distclean-bzip2:
7104 @$(unstage)
7105 @[ -f ./bzip2/Makefile ] || exit 0; \
7106 r=`${PWD_COMMAND}`; export r; \
7107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7108 $(HOST_EXPORTS) \
7109 for flag in $(EXTRA_HOST_FLAGS) ; do \
7110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7111 done; \
7112 echo "Doing distclean in bzip2" ; \
7113 (cd $(HOST_SUBDIR)/bzip2 && \
7114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7116 "RANLIB=$${RANLIB}" \
7117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7118 distclean) \
7119 || exit 1
7121 @endif bzip2
7123 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7124 maybe-maintainer-clean-bzip2:
7125 @if bzip2
7126 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7128 maintainer-clean-bzip2:
7129 @$(unstage)
7130 @[ -f ./bzip2/Makefile ] || exit 0; \
7131 r=`${PWD_COMMAND}`; export r; \
7132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7133 $(HOST_EXPORTS) \
7134 for flag in $(EXTRA_HOST_FLAGS) ; do \
7135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7136 done; \
7137 echo "Doing maintainer-clean in bzip2" ; \
7138 (cd $(HOST_SUBDIR)/bzip2 && \
7139 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7140 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7141 "RANLIB=$${RANLIB}" \
7142 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7143 maintainer-clean) \
7144 || exit 1
7146 @endif bzip2
7150 .PHONY: configure-dejagnu maybe-configure-dejagnu
7151 maybe-configure-dejagnu:
7152 @if dejagnu
7153 maybe-configure-dejagnu: configure-dejagnu
7154 configure-dejagnu:
7155 @$(unstage)
7156 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7157 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7158 r=`${PWD_COMMAND}`; export r; \
7159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7160 $(HOST_EXPORTS) \
7161 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7162 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7163 case $(srcdir) in \
7164 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7165 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7166 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7167 esac; \
7168 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7169 libsrcdir="$$s/dejagnu"; \
7170 $(SHELL) $${libsrcdir}/configure \
7171 $(HOST_CONFIGARGS) $${srcdiroption} \
7172 || exit 1
7173 @endif dejagnu
7179 .PHONY: all-dejagnu maybe-all-dejagnu
7180 maybe-all-dejagnu:
7181 @if dejagnu
7182 TARGET-dejagnu=all
7183 maybe-all-dejagnu: all-dejagnu
7184 all-dejagnu: configure-dejagnu
7185 @$(unstage)
7186 @r=`${PWD_COMMAND}`; export r; \
7187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7188 $(HOST_EXPORTS) \
7189 (cd $(HOST_SUBDIR)/dejagnu && \
7190 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7191 @endif dejagnu
7196 .PHONY: check-dejagnu maybe-check-dejagnu
7197 maybe-check-dejagnu:
7198 @if dejagnu
7199 maybe-check-dejagnu: check-dejagnu
7201 check-dejagnu:
7202 @$(unstage)
7203 @r=`${PWD_COMMAND}`; export r; \
7204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7205 $(HOST_EXPORTS) \
7206 (cd $(HOST_SUBDIR)/dejagnu && \
7207 $(MAKE) $(FLAGS_TO_PASS) check)
7209 @endif dejagnu
7211 .PHONY: install-dejagnu maybe-install-dejagnu
7212 maybe-install-dejagnu:
7213 @if dejagnu
7214 maybe-install-dejagnu: install-dejagnu
7216 install-dejagnu: installdirs
7217 @$(unstage)
7218 @r=`${PWD_COMMAND}`; export r; \
7219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7220 $(HOST_EXPORTS) \
7221 (cd $(HOST_SUBDIR)/dejagnu && \
7222 $(MAKE) $(FLAGS_TO_PASS) install)
7224 @endif dejagnu
7226 # Other targets (info, dvi, etc.)
7228 .PHONY: maybe-info-dejagnu info-dejagnu
7229 maybe-info-dejagnu:
7230 @if dejagnu
7231 maybe-info-dejagnu: info-dejagnu
7233 info-dejagnu: \
7234 configure-dejagnu
7235 @$(unstage)
7236 @[ -f ./dejagnu/Makefile ] || exit 0; \
7237 r=`${PWD_COMMAND}`; export r; \
7238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7239 $(HOST_EXPORTS) \
7240 for flag in $(EXTRA_HOST_FLAGS) ; do \
7241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7242 done; \
7243 echo "Doing info in dejagnu" ; \
7244 (cd $(HOST_SUBDIR)/dejagnu && \
7245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7247 "RANLIB=$${RANLIB}" \
7248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7249 info) \
7250 || exit 1
7252 @endif dejagnu
7254 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7255 maybe-dvi-dejagnu:
7256 @if dejagnu
7257 maybe-dvi-dejagnu: dvi-dejagnu
7259 dvi-dejagnu: \
7260 configure-dejagnu
7261 @$(unstage)
7262 @[ -f ./dejagnu/Makefile ] || exit 0; \
7263 r=`${PWD_COMMAND}`; export r; \
7264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7265 $(HOST_EXPORTS) \
7266 for flag in $(EXTRA_HOST_FLAGS) ; do \
7267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7268 done; \
7269 echo "Doing dvi in dejagnu" ; \
7270 (cd $(HOST_SUBDIR)/dejagnu && \
7271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7273 "RANLIB=$${RANLIB}" \
7274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7275 dvi) \
7276 || exit 1
7278 @endif dejagnu
7280 .PHONY: maybe-html-dejagnu html-dejagnu
7281 maybe-html-dejagnu:
7282 @if dejagnu
7283 maybe-html-dejagnu: html-dejagnu
7285 html-dejagnu: \
7286 configure-dejagnu
7287 @$(unstage)
7288 @[ -f ./dejagnu/Makefile ] || exit 0; \
7289 r=`${PWD_COMMAND}`; export r; \
7290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7291 $(HOST_EXPORTS) \
7292 for flag in $(EXTRA_HOST_FLAGS) ; do \
7293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7294 done; \
7295 echo "Doing html in dejagnu" ; \
7296 (cd $(HOST_SUBDIR)/dejagnu && \
7297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7299 "RANLIB=$${RANLIB}" \
7300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7301 html) \
7302 || exit 1
7304 @endif dejagnu
7306 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7307 maybe-TAGS-dejagnu:
7308 @if dejagnu
7309 maybe-TAGS-dejagnu: TAGS-dejagnu
7311 TAGS-dejagnu: \
7312 configure-dejagnu
7313 @$(unstage)
7314 @[ -f ./dejagnu/Makefile ] || exit 0; \
7315 r=`${PWD_COMMAND}`; export r; \
7316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7317 $(HOST_EXPORTS) \
7318 for flag in $(EXTRA_HOST_FLAGS) ; do \
7319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7320 done; \
7321 echo "Doing TAGS in dejagnu" ; \
7322 (cd $(HOST_SUBDIR)/dejagnu && \
7323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7325 "RANLIB=$${RANLIB}" \
7326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7327 TAGS) \
7328 || exit 1
7330 @endif dejagnu
7332 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7333 maybe-install-info-dejagnu:
7334 @if dejagnu
7335 maybe-install-info-dejagnu: install-info-dejagnu
7337 install-info-dejagnu: \
7338 configure-dejagnu \
7339 info-dejagnu
7340 @$(unstage)
7341 @[ -f ./dejagnu/Makefile ] || exit 0; \
7342 r=`${PWD_COMMAND}`; export r; \
7343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7344 $(HOST_EXPORTS) \
7345 for flag in $(EXTRA_HOST_FLAGS) ; do \
7346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7347 done; \
7348 echo "Doing install-info in dejagnu" ; \
7349 (cd $(HOST_SUBDIR)/dejagnu && \
7350 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7351 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7352 "RANLIB=$${RANLIB}" \
7353 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7354 install-info) \
7355 || exit 1
7357 @endif dejagnu
7359 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7360 maybe-installcheck-dejagnu:
7361 @if dejagnu
7362 maybe-installcheck-dejagnu: installcheck-dejagnu
7364 installcheck-dejagnu: \
7365 configure-dejagnu
7366 @$(unstage)
7367 @[ -f ./dejagnu/Makefile ] || exit 0; \
7368 r=`${PWD_COMMAND}`; export r; \
7369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7370 $(HOST_EXPORTS) \
7371 for flag in $(EXTRA_HOST_FLAGS) ; do \
7372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7373 done; \
7374 echo "Doing installcheck in dejagnu" ; \
7375 (cd $(HOST_SUBDIR)/dejagnu && \
7376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7378 "RANLIB=$${RANLIB}" \
7379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7380 installcheck) \
7381 || exit 1
7383 @endif dejagnu
7385 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7386 maybe-mostlyclean-dejagnu:
7387 @if dejagnu
7388 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7390 mostlyclean-dejagnu:
7391 @$(unstage)
7392 @[ -f ./dejagnu/Makefile ] || exit 0; \
7393 r=`${PWD_COMMAND}`; export r; \
7394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7395 $(HOST_EXPORTS) \
7396 for flag in $(EXTRA_HOST_FLAGS) ; do \
7397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7398 done; \
7399 echo "Doing mostlyclean in dejagnu" ; \
7400 (cd $(HOST_SUBDIR)/dejagnu && \
7401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7403 "RANLIB=$${RANLIB}" \
7404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7405 mostlyclean) \
7406 || exit 1
7408 @endif dejagnu
7410 .PHONY: maybe-clean-dejagnu clean-dejagnu
7411 maybe-clean-dejagnu:
7412 @if dejagnu
7413 maybe-clean-dejagnu: clean-dejagnu
7415 clean-dejagnu:
7416 @$(unstage)
7417 @[ -f ./dejagnu/Makefile ] || exit 0; \
7418 r=`${PWD_COMMAND}`; export r; \
7419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7420 $(HOST_EXPORTS) \
7421 for flag in $(EXTRA_HOST_FLAGS) ; do \
7422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7423 done; \
7424 echo "Doing clean in dejagnu" ; \
7425 (cd $(HOST_SUBDIR)/dejagnu && \
7426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7428 "RANLIB=$${RANLIB}" \
7429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7430 clean) \
7431 || exit 1
7433 @endif dejagnu
7435 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7436 maybe-distclean-dejagnu:
7437 @if dejagnu
7438 maybe-distclean-dejagnu: distclean-dejagnu
7440 distclean-dejagnu:
7441 @$(unstage)
7442 @[ -f ./dejagnu/Makefile ] || exit 0; \
7443 r=`${PWD_COMMAND}`; export r; \
7444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7445 $(HOST_EXPORTS) \
7446 for flag in $(EXTRA_HOST_FLAGS) ; do \
7447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7448 done; \
7449 echo "Doing distclean in dejagnu" ; \
7450 (cd $(HOST_SUBDIR)/dejagnu && \
7451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7453 "RANLIB=$${RANLIB}" \
7454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7455 distclean) \
7456 || exit 1
7458 @endif dejagnu
7460 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7461 maybe-maintainer-clean-dejagnu:
7462 @if dejagnu
7463 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7465 maintainer-clean-dejagnu:
7466 @$(unstage)
7467 @[ -f ./dejagnu/Makefile ] || exit 0; \
7468 r=`${PWD_COMMAND}`; export r; \
7469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7470 $(HOST_EXPORTS) \
7471 for flag in $(EXTRA_HOST_FLAGS) ; do \
7472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7473 done; \
7474 echo "Doing maintainer-clean in dejagnu" ; \
7475 (cd $(HOST_SUBDIR)/dejagnu && \
7476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7478 "RANLIB=$${RANLIB}" \
7479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7480 maintainer-clean) \
7481 || exit 1
7483 @endif dejagnu
7487 .PHONY: configure-diff maybe-configure-diff
7488 maybe-configure-diff:
7489 @if diff
7490 maybe-configure-diff: configure-diff
7491 configure-diff:
7492 @$(unstage)
7493 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7494 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7495 r=`${PWD_COMMAND}`; export r; \
7496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7497 $(HOST_EXPORTS) \
7498 echo Configuring in $(HOST_SUBDIR)/diff; \
7499 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7500 case $(srcdir) in \
7501 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7502 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7503 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7504 esac; \
7505 srcdiroption="--srcdir=$${topdir}/diff"; \
7506 libsrcdir="$$s/diff"; \
7507 $(SHELL) $${libsrcdir}/configure \
7508 $(HOST_CONFIGARGS) $${srcdiroption} \
7509 || exit 1
7510 @endif diff
7516 .PHONY: all-diff maybe-all-diff
7517 maybe-all-diff:
7518 @if diff
7519 TARGET-diff=all
7520 maybe-all-diff: all-diff
7521 all-diff: configure-diff
7522 @$(unstage)
7523 @r=`${PWD_COMMAND}`; export r; \
7524 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7525 $(HOST_EXPORTS) \
7526 (cd $(HOST_SUBDIR)/diff && \
7527 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7528 @endif diff
7533 .PHONY: check-diff maybe-check-diff
7534 maybe-check-diff:
7535 @if diff
7536 maybe-check-diff: check-diff
7538 check-diff:
7539 @$(unstage)
7540 @r=`${PWD_COMMAND}`; export r; \
7541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7542 $(HOST_EXPORTS) \
7543 (cd $(HOST_SUBDIR)/diff && \
7544 $(MAKE) $(FLAGS_TO_PASS) check)
7546 @endif diff
7548 .PHONY: install-diff maybe-install-diff
7549 maybe-install-diff:
7550 @if diff
7551 maybe-install-diff: install-diff
7553 install-diff: installdirs
7554 @$(unstage)
7555 @r=`${PWD_COMMAND}`; export r; \
7556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7557 $(HOST_EXPORTS) \
7558 (cd $(HOST_SUBDIR)/diff && \
7559 $(MAKE) $(FLAGS_TO_PASS) install)
7561 @endif diff
7563 # Other targets (info, dvi, etc.)
7565 .PHONY: maybe-info-diff info-diff
7566 maybe-info-diff:
7567 @if diff
7568 maybe-info-diff: info-diff
7570 info-diff: \
7571 configure-diff
7572 @$(unstage)
7573 @[ -f ./diff/Makefile ] || exit 0; \
7574 r=`${PWD_COMMAND}`; export r; \
7575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7576 $(HOST_EXPORTS) \
7577 for flag in $(EXTRA_HOST_FLAGS) ; do \
7578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7579 done; \
7580 echo "Doing info in diff" ; \
7581 (cd $(HOST_SUBDIR)/diff && \
7582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7584 "RANLIB=$${RANLIB}" \
7585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7586 info) \
7587 || exit 1
7589 @endif diff
7591 .PHONY: maybe-dvi-diff dvi-diff
7592 maybe-dvi-diff:
7593 @if diff
7594 maybe-dvi-diff: dvi-diff
7596 dvi-diff: \
7597 configure-diff
7598 @$(unstage)
7599 @[ -f ./diff/Makefile ] || exit 0; \
7600 r=`${PWD_COMMAND}`; export r; \
7601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7602 $(HOST_EXPORTS) \
7603 for flag in $(EXTRA_HOST_FLAGS) ; do \
7604 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7605 done; \
7606 echo "Doing dvi in diff" ; \
7607 (cd $(HOST_SUBDIR)/diff && \
7608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7610 "RANLIB=$${RANLIB}" \
7611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7612 dvi) \
7613 || exit 1
7615 @endif diff
7617 .PHONY: maybe-html-diff html-diff
7618 maybe-html-diff:
7619 @if diff
7620 maybe-html-diff: html-diff
7622 html-diff: \
7623 configure-diff
7624 @$(unstage)
7625 @[ -f ./diff/Makefile ] || exit 0; \
7626 r=`${PWD_COMMAND}`; export r; \
7627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7628 $(HOST_EXPORTS) \
7629 for flag in $(EXTRA_HOST_FLAGS) ; do \
7630 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7631 done; \
7632 echo "Doing html in diff" ; \
7633 (cd $(HOST_SUBDIR)/diff && \
7634 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7635 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7636 "RANLIB=$${RANLIB}" \
7637 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7638 html) \
7639 || exit 1
7641 @endif diff
7643 .PHONY: maybe-TAGS-diff TAGS-diff
7644 maybe-TAGS-diff:
7645 @if diff
7646 maybe-TAGS-diff: TAGS-diff
7648 TAGS-diff: \
7649 configure-diff
7650 @$(unstage)
7651 @[ -f ./diff/Makefile ] || exit 0; \
7652 r=`${PWD_COMMAND}`; export r; \
7653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7654 $(HOST_EXPORTS) \
7655 for flag in $(EXTRA_HOST_FLAGS) ; do \
7656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7657 done; \
7658 echo "Doing TAGS in diff" ; \
7659 (cd $(HOST_SUBDIR)/diff && \
7660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7662 "RANLIB=$${RANLIB}" \
7663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7664 TAGS) \
7665 || exit 1
7667 @endif diff
7669 .PHONY: maybe-install-info-diff install-info-diff
7670 maybe-install-info-diff:
7671 @if diff
7672 maybe-install-info-diff: install-info-diff
7674 install-info-diff: \
7675 configure-diff \
7676 info-diff
7677 @$(unstage)
7678 @[ -f ./diff/Makefile ] || exit 0; \
7679 r=`${PWD_COMMAND}`; export r; \
7680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7681 $(HOST_EXPORTS) \
7682 for flag in $(EXTRA_HOST_FLAGS) ; do \
7683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7684 done; \
7685 echo "Doing install-info in diff" ; \
7686 (cd $(HOST_SUBDIR)/diff && \
7687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7689 "RANLIB=$${RANLIB}" \
7690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7691 install-info) \
7692 || exit 1
7694 @endif diff
7696 .PHONY: maybe-installcheck-diff installcheck-diff
7697 maybe-installcheck-diff:
7698 @if diff
7699 maybe-installcheck-diff: installcheck-diff
7701 installcheck-diff: \
7702 configure-diff
7703 @$(unstage)
7704 @[ -f ./diff/Makefile ] || exit 0; \
7705 r=`${PWD_COMMAND}`; export r; \
7706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7707 $(HOST_EXPORTS) \
7708 for flag in $(EXTRA_HOST_FLAGS) ; do \
7709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7710 done; \
7711 echo "Doing installcheck in diff" ; \
7712 (cd $(HOST_SUBDIR)/diff && \
7713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7715 "RANLIB=$${RANLIB}" \
7716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7717 installcheck) \
7718 || exit 1
7720 @endif diff
7722 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7723 maybe-mostlyclean-diff:
7724 @if diff
7725 maybe-mostlyclean-diff: mostlyclean-diff
7727 mostlyclean-diff:
7728 @$(unstage)
7729 @[ -f ./diff/Makefile ] || exit 0; \
7730 r=`${PWD_COMMAND}`; export r; \
7731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7732 $(HOST_EXPORTS) \
7733 for flag in $(EXTRA_HOST_FLAGS) ; do \
7734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7735 done; \
7736 echo "Doing mostlyclean in diff" ; \
7737 (cd $(HOST_SUBDIR)/diff && \
7738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7740 "RANLIB=$${RANLIB}" \
7741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7742 mostlyclean) \
7743 || exit 1
7745 @endif diff
7747 .PHONY: maybe-clean-diff clean-diff
7748 maybe-clean-diff:
7749 @if diff
7750 maybe-clean-diff: clean-diff
7752 clean-diff:
7753 @$(unstage)
7754 @[ -f ./diff/Makefile ] || exit 0; \
7755 r=`${PWD_COMMAND}`; export r; \
7756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7757 $(HOST_EXPORTS) \
7758 for flag in $(EXTRA_HOST_FLAGS) ; do \
7759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7760 done; \
7761 echo "Doing clean in diff" ; \
7762 (cd $(HOST_SUBDIR)/diff && \
7763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7765 "RANLIB=$${RANLIB}" \
7766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7767 clean) \
7768 || exit 1
7770 @endif diff
7772 .PHONY: maybe-distclean-diff distclean-diff
7773 maybe-distclean-diff:
7774 @if diff
7775 maybe-distclean-diff: distclean-diff
7777 distclean-diff:
7778 @$(unstage)
7779 @[ -f ./diff/Makefile ] || exit 0; \
7780 r=`${PWD_COMMAND}`; export r; \
7781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7782 $(HOST_EXPORTS) \
7783 for flag in $(EXTRA_HOST_FLAGS) ; do \
7784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7785 done; \
7786 echo "Doing distclean in diff" ; \
7787 (cd $(HOST_SUBDIR)/diff && \
7788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7790 "RANLIB=$${RANLIB}" \
7791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7792 distclean) \
7793 || exit 1
7795 @endif diff
7797 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7798 maybe-maintainer-clean-diff:
7799 @if diff
7800 maybe-maintainer-clean-diff: maintainer-clean-diff
7802 maintainer-clean-diff:
7803 @$(unstage)
7804 @[ -f ./diff/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(HOST_EXPORTS) \
7808 for flag in $(EXTRA_HOST_FLAGS) ; do \
7809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7810 done; \
7811 echo "Doing maintainer-clean in diff" ; \
7812 (cd $(HOST_SUBDIR)/diff && \
7813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7815 "RANLIB=$${RANLIB}" \
7816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7817 maintainer-clean) \
7818 || exit 1
7820 @endif diff
7824 .PHONY: configure-dosutils maybe-configure-dosutils
7825 maybe-configure-dosutils:
7826 @if dosutils
7827 maybe-configure-dosutils: configure-dosutils
7828 configure-dosutils:
7829 @$(unstage)
7830 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7832 r=`${PWD_COMMAND}`; export r; \
7833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7834 $(HOST_EXPORTS) \
7835 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7836 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7837 case $(srcdir) in \
7838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7839 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7841 esac; \
7842 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7843 libsrcdir="$$s/dosutils"; \
7844 $(SHELL) $${libsrcdir}/configure \
7845 $(HOST_CONFIGARGS) $${srcdiroption} \
7846 || exit 1
7847 @endif dosutils
7853 .PHONY: all-dosutils maybe-all-dosutils
7854 maybe-all-dosutils:
7855 @if dosutils
7856 TARGET-dosutils=all
7857 maybe-all-dosutils: all-dosutils
7858 all-dosutils: configure-dosutils
7859 @$(unstage)
7860 @r=`${PWD_COMMAND}`; export r; \
7861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7862 $(HOST_EXPORTS) \
7863 (cd $(HOST_SUBDIR)/dosutils && \
7864 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7865 @endif dosutils
7870 .PHONY: check-dosutils maybe-check-dosutils
7871 maybe-check-dosutils:
7872 @if dosutils
7873 maybe-check-dosutils: check-dosutils
7875 check-dosutils:
7877 @endif dosutils
7879 .PHONY: install-dosutils maybe-install-dosutils
7880 maybe-install-dosutils:
7881 @if dosutils
7882 maybe-install-dosutils: install-dosutils
7884 install-dosutils: installdirs
7885 @$(unstage)
7886 @r=`${PWD_COMMAND}`; export r; \
7887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7888 $(HOST_EXPORTS) \
7889 (cd $(HOST_SUBDIR)/dosutils && \
7890 $(MAKE) $(FLAGS_TO_PASS) install)
7892 @endif dosutils
7894 # Other targets (info, dvi, etc.)
7896 .PHONY: maybe-info-dosutils info-dosutils
7897 maybe-info-dosutils:
7898 @if dosutils
7899 maybe-info-dosutils: info-dosutils
7901 info-dosutils: \
7902 configure-dosutils
7903 @$(unstage)
7904 @[ -f ./dosutils/Makefile ] || exit 0; \
7905 r=`${PWD_COMMAND}`; export r; \
7906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7907 $(HOST_EXPORTS) \
7908 for flag in $(EXTRA_HOST_FLAGS) ; do \
7909 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7910 done; \
7911 echo "Doing info in dosutils" ; \
7912 (cd $(HOST_SUBDIR)/dosutils && \
7913 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7914 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7915 "RANLIB=$${RANLIB}" \
7916 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7917 info) \
7918 || exit 1
7920 @endif dosutils
7922 .PHONY: maybe-dvi-dosutils dvi-dosutils
7923 maybe-dvi-dosutils:
7924 @if dosutils
7925 maybe-dvi-dosutils: dvi-dosutils
7927 dvi-dosutils: \
7928 configure-dosutils
7929 @$(unstage)
7930 @[ -f ./dosutils/Makefile ] || exit 0; \
7931 r=`${PWD_COMMAND}`; export r; \
7932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7933 $(HOST_EXPORTS) \
7934 for flag in $(EXTRA_HOST_FLAGS) ; do \
7935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7936 done; \
7937 echo "Doing dvi in dosutils" ; \
7938 (cd $(HOST_SUBDIR)/dosutils && \
7939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7941 "RANLIB=$${RANLIB}" \
7942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7943 dvi) \
7944 || exit 1
7946 @endif dosutils
7948 .PHONY: maybe-html-dosutils html-dosutils
7949 maybe-html-dosutils:
7950 @if dosutils
7951 maybe-html-dosutils: html-dosutils
7953 html-dosutils: \
7954 configure-dosutils
7955 @$(unstage)
7956 @[ -f ./dosutils/Makefile ] || exit 0; \
7957 r=`${PWD_COMMAND}`; export r; \
7958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7959 $(HOST_EXPORTS) \
7960 for flag in $(EXTRA_HOST_FLAGS) ; do \
7961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7962 done; \
7963 echo "Doing html in dosutils" ; \
7964 (cd $(HOST_SUBDIR)/dosutils && \
7965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7967 "RANLIB=$${RANLIB}" \
7968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7969 html) \
7970 || exit 1
7972 @endif dosutils
7974 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7975 maybe-TAGS-dosutils:
7976 @if dosutils
7977 maybe-TAGS-dosutils: TAGS-dosutils
7979 TAGS-dosutils: \
7980 configure-dosutils
7981 @$(unstage)
7982 @[ -f ./dosutils/Makefile ] || exit 0; \
7983 r=`${PWD_COMMAND}`; export r; \
7984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7985 $(HOST_EXPORTS) \
7986 for flag in $(EXTRA_HOST_FLAGS) ; do \
7987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7988 done; \
7989 echo "Doing TAGS in dosutils" ; \
7990 (cd $(HOST_SUBDIR)/dosutils && \
7991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7993 "RANLIB=$${RANLIB}" \
7994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7995 TAGS) \
7996 || exit 1
7998 @endif dosutils
8000 .PHONY: maybe-install-info-dosutils install-info-dosutils
8001 maybe-install-info-dosutils:
8002 @if dosutils
8003 maybe-install-info-dosutils: install-info-dosutils
8005 install-info-dosutils: \
8006 configure-dosutils \
8007 info-dosutils
8008 @$(unstage)
8009 @[ -f ./dosutils/Makefile ] || exit 0; \
8010 r=`${PWD_COMMAND}`; export r; \
8011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8012 $(HOST_EXPORTS) \
8013 for flag in $(EXTRA_HOST_FLAGS) ; do \
8014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8015 done; \
8016 echo "Doing install-info in dosutils" ; \
8017 (cd $(HOST_SUBDIR)/dosutils && \
8018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8020 "RANLIB=$${RANLIB}" \
8021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8022 install-info) \
8023 || exit 1
8025 @endif dosutils
8027 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
8028 maybe-installcheck-dosutils:
8029 @if dosutils
8030 maybe-installcheck-dosutils: installcheck-dosutils
8032 installcheck-dosutils: \
8033 configure-dosutils
8034 @$(unstage)
8035 @[ -f ./dosutils/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038 $(HOST_EXPORTS) \
8039 for flag in $(EXTRA_HOST_FLAGS) ; do \
8040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8041 done; \
8042 echo "Doing installcheck in dosutils" ; \
8043 (cd $(HOST_SUBDIR)/dosutils && \
8044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8046 "RANLIB=$${RANLIB}" \
8047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8048 installcheck) \
8049 || exit 1
8051 @endif dosutils
8053 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8054 maybe-mostlyclean-dosutils:
8055 @if dosutils
8056 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8058 mostlyclean-dosutils:
8059 @$(unstage)
8060 @[ -f ./dosutils/Makefile ] || exit 0; \
8061 r=`${PWD_COMMAND}`; export r; \
8062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8063 $(HOST_EXPORTS) \
8064 for flag in $(EXTRA_HOST_FLAGS) ; do \
8065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8066 done; \
8067 echo "Doing mostlyclean in dosutils" ; \
8068 (cd $(HOST_SUBDIR)/dosutils && \
8069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8071 "RANLIB=$${RANLIB}" \
8072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8073 mostlyclean) \
8074 || exit 1
8076 @endif dosutils
8078 .PHONY: maybe-clean-dosutils clean-dosutils
8079 maybe-clean-dosutils:
8080 @if dosutils
8081 maybe-clean-dosutils: clean-dosutils
8083 clean-dosutils:
8084 @$(unstage)
8085 @[ -f ./dosutils/Makefile ] || exit 0; \
8086 r=`${PWD_COMMAND}`; export r; \
8087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8088 $(HOST_EXPORTS) \
8089 for flag in $(EXTRA_HOST_FLAGS) ; do \
8090 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8091 done; \
8092 echo "Doing clean in dosutils" ; \
8093 (cd $(HOST_SUBDIR)/dosutils && \
8094 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8095 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8096 "RANLIB=$${RANLIB}" \
8097 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8098 clean) \
8099 || exit 1
8101 @endif dosutils
8103 .PHONY: maybe-distclean-dosutils distclean-dosutils
8104 maybe-distclean-dosutils:
8105 @if dosutils
8106 maybe-distclean-dosutils: distclean-dosutils
8108 distclean-dosutils:
8109 @$(unstage)
8110 @[ -f ./dosutils/Makefile ] || exit 0; \
8111 r=`${PWD_COMMAND}`; export r; \
8112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8113 $(HOST_EXPORTS) \
8114 for flag in $(EXTRA_HOST_FLAGS) ; do \
8115 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8116 done; \
8117 echo "Doing distclean in dosutils" ; \
8118 (cd $(HOST_SUBDIR)/dosutils && \
8119 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8120 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8121 "RANLIB=$${RANLIB}" \
8122 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8123 distclean) \
8124 || exit 1
8126 @endif dosutils
8128 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8129 maybe-maintainer-clean-dosutils:
8130 @if dosutils
8131 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8133 maintainer-clean-dosutils:
8134 @$(unstage)
8135 @[ -f ./dosutils/Makefile ] || exit 0; \
8136 r=`${PWD_COMMAND}`; export r; \
8137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8138 $(HOST_EXPORTS) \
8139 for flag in $(EXTRA_HOST_FLAGS) ; do \
8140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8141 done; \
8142 echo "Doing maintainer-clean in dosutils" ; \
8143 (cd $(HOST_SUBDIR)/dosutils && \
8144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8146 "RANLIB=$${RANLIB}" \
8147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8148 maintainer-clean) \
8149 || exit 1
8151 @endif dosutils
8155 .PHONY: configure-etc maybe-configure-etc
8156 maybe-configure-etc:
8157 @if etc
8158 maybe-configure-etc: configure-etc
8159 configure-etc:
8160 @$(unstage)
8161 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8162 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8163 r=`${PWD_COMMAND}`; export r; \
8164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8165 $(HOST_EXPORTS) \
8166 echo Configuring in $(HOST_SUBDIR)/etc; \
8167 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8168 case $(srcdir) in \
8169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8170 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8172 esac; \
8173 srcdiroption="--srcdir=$${topdir}/etc"; \
8174 libsrcdir="$$s/etc"; \
8175 $(SHELL) $${libsrcdir}/configure \
8176 $(HOST_CONFIGARGS) $${srcdiroption} \
8177 || exit 1
8178 @endif etc
8184 .PHONY: all-etc maybe-all-etc
8185 maybe-all-etc:
8186 @if etc
8187 TARGET-etc=all
8188 maybe-all-etc: all-etc
8189 all-etc: configure-etc
8190 @$(unstage)
8191 @r=`${PWD_COMMAND}`; export r; \
8192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8193 $(HOST_EXPORTS) \
8194 (cd $(HOST_SUBDIR)/etc && \
8195 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8196 @endif etc
8201 .PHONY: check-etc maybe-check-etc
8202 maybe-check-etc:
8203 @if etc
8204 maybe-check-etc: check-etc
8206 check-etc:
8207 @$(unstage)
8208 @r=`${PWD_COMMAND}`; export r; \
8209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8210 $(HOST_EXPORTS) \
8211 (cd $(HOST_SUBDIR)/etc && \
8212 $(MAKE) $(FLAGS_TO_PASS) check)
8214 @endif etc
8216 .PHONY: install-etc maybe-install-etc
8217 maybe-install-etc:
8218 @if etc
8219 maybe-install-etc: install-etc
8221 install-etc: installdirs
8222 @$(unstage)
8223 @r=`${PWD_COMMAND}`; export r; \
8224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8225 $(HOST_EXPORTS) \
8226 (cd $(HOST_SUBDIR)/etc && \
8227 $(MAKE) $(FLAGS_TO_PASS) install)
8229 @endif etc
8231 # Other targets (info, dvi, etc.)
8233 .PHONY: maybe-info-etc info-etc
8234 maybe-info-etc:
8235 @if etc
8236 maybe-info-etc: info-etc
8238 info-etc: \
8239 configure-etc
8240 @$(unstage)
8241 @[ -f ./etc/Makefile ] || exit 0; \
8242 r=`${PWD_COMMAND}`; export r; \
8243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8244 $(HOST_EXPORTS) \
8245 for flag in $(EXTRA_HOST_FLAGS) ; do \
8246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8247 done; \
8248 echo "Doing info in etc" ; \
8249 (cd $(HOST_SUBDIR)/etc && \
8250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8252 "RANLIB=$${RANLIB}" \
8253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8254 info) \
8255 || exit 1
8257 @endif etc
8259 .PHONY: maybe-dvi-etc dvi-etc
8260 maybe-dvi-etc:
8261 @if etc
8262 maybe-dvi-etc: dvi-etc
8264 dvi-etc: \
8265 configure-etc
8266 @$(unstage)
8267 @[ -f ./etc/Makefile ] || exit 0; \
8268 r=`${PWD_COMMAND}`; export r; \
8269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8270 $(HOST_EXPORTS) \
8271 for flag in $(EXTRA_HOST_FLAGS) ; do \
8272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8273 done; \
8274 echo "Doing dvi in etc" ; \
8275 (cd $(HOST_SUBDIR)/etc && \
8276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8278 "RANLIB=$${RANLIB}" \
8279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8280 dvi) \
8281 || exit 1
8283 @endif etc
8285 .PHONY: maybe-html-etc html-etc
8286 maybe-html-etc:
8287 @if etc
8288 maybe-html-etc: html-etc
8290 html-etc: \
8291 configure-etc
8292 @$(unstage)
8293 @[ -f ./etc/Makefile ] || exit 0; \
8294 r=`${PWD_COMMAND}`; export r; \
8295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8296 $(HOST_EXPORTS) \
8297 for flag in $(EXTRA_HOST_FLAGS) ; do \
8298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8299 done; \
8300 echo "Doing html in etc" ; \
8301 (cd $(HOST_SUBDIR)/etc && \
8302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8304 "RANLIB=$${RANLIB}" \
8305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8306 html) \
8307 || exit 1
8309 @endif etc
8311 .PHONY: maybe-TAGS-etc TAGS-etc
8312 maybe-TAGS-etc:
8313 @if etc
8314 maybe-TAGS-etc: TAGS-etc
8316 TAGS-etc: \
8317 configure-etc
8318 @$(unstage)
8319 @[ -f ./etc/Makefile ] || exit 0; \
8320 r=`${PWD_COMMAND}`; export r; \
8321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8322 $(HOST_EXPORTS) \
8323 for flag in $(EXTRA_HOST_FLAGS) ; do \
8324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8325 done; \
8326 echo "Doing TAGS in etc" ; \
8327 (cd $(HOST_SUBDIR)/etc && \
8328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8330 "RANLIB=$${RANLIB}" \
8331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8332 TAGS) \
8333 || exit 1
8335 @endif etc
8337 .PHONY: maybe-install-info-etc install-info-etc
8338 maybe-install-info-etc:
8339 @if etc
8340 maybe-install-info-etc: install-info-etc
8342 install-info-etc: \
8343 configure-etc \
8344 info-etc
8345 @$(unstage)
8346 @[ -f ./etc/Makefile ] || exit 0; \
8347 r=`${PWD_COMMAND}`; export r; \
8348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8349 $(HOST_EXPORTS) \
8350 for flag in $(EXTRA_HOST_FLAGS) ; do \
8351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8352 done; \
8353 echo "Doing install-info in etc" ; \
8354 (cd $(HOST_SUBDIR)/etc && \
8355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8357 "RANLIB=$${RANLIB}" \
8358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8359 install-info) \
8360 || exit 1
8362 @endif etc
8364 .PHONY: maybe-installcheck-etc installcheck-etc
8365 maybe-installcheck-etc:
8366 @if etc
8367 maybe-installcheck-etc: installcheck-etc
8369 installcheck-etc: \
8370 configure-etc
8371 @$(unstage)
8372 @[ -f ./etc/Makefile ] || exit 0; \
8373 r=`${PWD_COMMAND}`; export r; \
8374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8375 $(HOST_EXPORTS) \
8376 for flag in $(EXTRA_HOST_FLAGS) ; do \
8377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8378 done; \
8379 echo "Doing installcheck in etc" ; \
8380 (cd $(HOST_SUBDIR)/etc && \
8381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8383 "RANLIB=$${RANLIB}" \
8384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8385 installcheck) \
8386 || exit 1
8388 @endif etc
8390 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8391 maybe-mostlyclean-etc:
8392 @if etc
8393 maybe-mostlyclean-etc: mostlyclean-etc
8395 mostlyclean-etc:
8396 @$(unstage)
8397 @[ -f ./etc/Makefile ] || exit 0; \
8398 r=`${PWD_COMMAND}`; export r; \
8399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8400 $(HOST_EXPORTS) \
8401 for flag in $(EXTRA_HOST_FLAGS) ; do \
8402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8403 done; \
8404 echo "Doing mostlyclean in etc" ; \
8405 (cd $(HOST_SUBDIR)/etc && \
8406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8408 "RANLIB=$${RANLIB}" \
8409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8410 mostlyclean) \
8411 || exit 1
8413 @endif etc
8415 .PHONY: maybe-clean-etc clean-etc
8416 maybe-clean-etc:
8417 @if etc
8418 maybe-clean-etc: clean-etc
8420 clean-etc:
8421 @$(unstage)
8422 @[ -f ./etc/Makefile ] || exit 0; \
8423 r=`${PWD_COMMAND}`; export r; \
8424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8425 $(HOST_EXPORTS) \
8426 for flag in $(EXTRA_HOST_FLAGS) ; do \
8427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8428 done; \
8429 echo "Doing clean in etc" ; \
8430 (cd $(HOST_SUBDIR)/etc && \
8431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8433 "RANLIB=$${RANLIB}" \
8434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8435 clean) \
8436 || exit 1
8438 @endif etc
8440 .PHONY: maybe-distclean-etc distclean-etc
8441 maybe-distclean-etc:
8442 @if etc
8443 maybe-distclean-etc: distclean-etc
8445 distclean-etc:
8446 @$(unstage)
8447 @[ -f ./etc/Makefile ] || exit 0; \
8448 r=`${PWD_COMMAND}`; export r; \
8449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8450 $(HOST_EXPORTS) \
8451 for flag in $(EXTRA_HOST_FLAGS) ; do \
8452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8453 done; \
8454 echo "Doing distclean in etc" ; \
8455 (cd $(HOST_SUBDIR)/etc && \
8456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8458 "RANLIB=$${RANLIB}" \
8459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8460 distclean) \
8461 || exit 1
8463 @endif etc
8465 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8466 maybe-maintainer-clean-etc:
8467 @if etc
8468 maybe-maintainer-clean-etc: maintainer-clean-etc
8470 maintainer-clean-etc:
8471 @$(unstage)
8472 @[ -f ./etc/Makefile ] || exit 0; \
8473 r=`${PWD_COMMAND}`; export r; \
8474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8475 $(HOST_EXPORTS) \
8476 for flag in $(EXTRA_HOST_FLAGS) ; do \
8477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8478 done; \
8479 echo "Doing maintainer-clean in etc" ; \
8480 (cd $(HOST_SUBDIR)/etc && \
8481 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8482 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8483 "RANLIB=$${RANLIB}" \
8484 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8485 maintainer-clean) \
8486 || exit 1
8488 @endif etc
8492 .PHONY: configure-fastjar maybe-configure-fastjar
8493 maybe-configure-fastjar:
8494 @if fastjar
8495 maybe-configure-fastjar: configure-fastjar
8496 configure-fastjar:
8497 @$(unstage)
8498 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8499 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8500 r=`${PWD_COMMAND}`; export r; \
8501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8502 $(HOST_EXPORTS) \
8503 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8504 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8505 case $(srcdir) in \
8506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8507 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8509 esac; \
8510 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8511 libsrcdir="$$s/fastjar"; \
8512 $(SHELL) $${libsrcdir}/configure \
8513 $(HOST_CONFIGARGS) $${srcdiroption} \
8514 || exit 1
8515 @endif fastjar
8521 .PHONY: all-fastjar maybe-all-fastjar
8522 maybe-all-fastjar:
8523 @if fastjar
8524 TARGET-fastjar=all
8525 maybe-all-fastjar: all-fastjar
8526 all-fastjar: configure-fastjar
8527 @$(unstage)
8528 @r=`${PWD_COMMAND}`; export r; \
8529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8530 $(HOST_EXPORTS) \
8531 (cd $(HOST_SUBDIR)/fastjar && \
8532 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8533 @endif fastjar
8538 .PHONY: check-fastjar maybe-check-fastjar
8539 maybe-check-fastjar:
8540 @if fastjar
8541 maybe-check-fastjar: check-fastjar
8543 # This module is only tested in a native toolchain.
8544 check-fastjar:
8545 @$(unstage)
8546 @if [ '$(host)' = '$(target)' ] ; then \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(HOST_EXPORTS) \
8550 (cd $(HOST_SUBDIR)/fastjar && \
8551 $(MAKE) $(FLAGS_TO_PASS) check); \
8554 @endif fastjar
8556 .PHONY: install-fastjar maybe-install-fastjar
8557 maybe-install-fastjar:
8558 @if fastjar
8559 maybe-install-fastjar: install-fastjar
8561 install-fastjar: installdirs
8562 @$(unstage)
8563 @r=`${PWD_COMMAND}`; export r; \
8564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8565 $(HOST_EXPORTS) \
8566 (cd $(HOST_SUBDIR)/fastjar && \
8567 $(MAKE) $(FLAGS_TO_PASS) install)
8569 @endif fastjar
8571 # Other targets (info, dvi, etc.)
8573 .PHONY: maybe-info-fastjar info-fastjar
8574 maybe-info-fastjar:
8575 @if fastjar
8576 maybe-info-fastjar: info-fastjar
8578 info-fastjar: \
8579 configure-fastjar
8580 @$(unstage)
8581 @[ -f ./fastjar/Makefile ] || exit 0; \
8582 r=`${PWD_COMMAND}`; export r; \
8583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8584 $(HOST_EXPORTS) \
8585 for flag in $(EXTRA_HOST_FLAGS) ; do \
8586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8587 done; \
8588 echo "Doing info in fastjar" ; \
8589 (cd $(HOST_SUBDIR)/fastjar && \
8590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8592 "RANLIB=$${RANLIB}" \
8593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8594 info) \
8595 || exit 1
8597 @endif fastjar
8599 .PHONY: maybe-dvi-fastjar dvi-fastjar
8600 maybe-dvi-fastjar:
8601 @if fastjar
8602 maybe-dvi-fastjar: dvi-fastjar
8604 dvi-fastjar: \
8605 configure-fastjar
8606 @$(unstage)
8607 @[ -f ./fastjar/Makefile ] || exit 0; \
8608 r=`${PWD_COMMAND}`; export r; \
8609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8610 $(HOST_EXPORTS) \
8611 for flag in $(EXTRA_HOST_FLAGS) ; do \
8612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8613 done; \
8614 echo "Doing dvi in fastjar" ; \
8615 (cd $(HOST_SUBDIR)/fastjar && \
8616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8618 "RANLIB=$${RANLIB}" \
8619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8620 dvi) \
8621 || exit 1
8623 @endif fastjar
8625 .PHONY: maybe-html-fastjar html-fastjar
8626 maybe-html-fastjar:
8627 @if fastjar
8628 maybe-html-fastjar: html-fastjar
8630 html-fastjar: \
8631 configure-fastjar
8632 @$(unstage)
8633 @[ -f ./fastjar/Makefile ] || exit 0; \
8634 r=`${PWD_COMMAND}`; export r; \
8635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8636 $(HOST_EXPORTS) \
8637 for flag in $(EXTRA_HOST_FLAGS) ; do \
8638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8639 done; \
8640 echo "Doing html in fastjar" ; \
8641 (cd $(HOST_SUBDIR)/fastjar && \
8642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8644 "RANLIB=$${RANLIB}" \
8645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8646 html) \
8647 || exit 1
8649 @endif fastjar
8651 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8652 maybe-TAGS-fastjar:
8653 @if fastjar
8654 maybe-TAGS-fastjar: TAGS-fastjar
8656 TAGS-fastjar: \
8657 configure-fastjar
8658 @$(unstage)
8659 @[ -f ./fastjar/Makefile ] || exit 0; \
8660 r=`${PWD_COMMAND}`; export r; \
8661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662 $(HOST_EXPORTS) \
8663 for flag in $(EXTRA_HOST_FLAGS) ; do \
8664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8665 done; \
8666 echo "Doing TAGS in fastjar" ; \
8667 (cd $(HOST_SUBDIR)/fastjar && \
8668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8670 "RANLIB=$${RANLIB}" \
8671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8672 TAGS) \
8673 || exit 1
8675 @endif fastjar
8677 .PHONY: maybe-install-info-fastjar install-info-fastjar
8678 maybe-install-info-fastjar:
8679 @if fastjar
8680 maybe-install-info-fastjar: install-info-fastjar
8682 install-info-fastjar: \
8683 configure-fastjar \
8684 info-fastjar
8685 @$(unstage)
8686 @[ -f ./fastjar/Makefile ] || exit 0; \
8687 r=`${PWD_COMMAND}`; export r; \
8688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8689 $(HOST_EXPORTS) \
8690 for flag in $(EXTRA_HOST_FLAGS) ; do \
8691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8692 done; \
8693 echo "Doing install-info in fastjar" ; \
8694 (cd $(HOST_SUBDIR)/fastjar && \
8695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8697 "RANLIB=$${RANLIB}" \
8698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8699 install-info) \
8700 || exit 1
8702 @endif fastjar
8704 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8705 maybe-installcheck-fastjar:
8706 @if fastjar
8707 maybe-installcheck-fastjar: installcheck-fastjar
8709 installcheck-fastjar: \
8710 configure-fastjar
8711 @$(unstage)
8712 @[ -f ./fastjar/Makefile ] || exit 0; \
8713 r=`${PWD_COMMAND}`; export r; \
8714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8715 $(HOST_EXPORTS) \
8716 for flag in $(EXTRA_HOST_FLAGS) ; do \
8717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8718 done; \
8719 echo "Doing installcheck in fastjar" ; \
8720 (cd $(HOST_SUBDIR)/fastjar && \
8721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8723 "RANLIB=$${RANLIB}" \
8724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8725 installcheck) \
8726 || exit 1
8728 @endif fastjar
8730 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8731 maybe-mostlyclean-fastjar:
8732 @if fastjar
8733 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8735 mostlyclean-fastjar:
8736 @$(unstage)
8737 @[ -f ./fastjar/Makefile ] || exit 0; \
8738 r=`${PWD_COMMAND}`; export r; \
8739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8740 $(HOST_EXPORTS) \
8741 for flag in $(EXTRA_HOST_FLAGS) ; do \
8742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8743 done; \
8744 echo "Doing mostlyclean in fastjar" ; \
8745 (cd $(HOST_SUBDIR)/fastjar && \
8746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8748 "RANLIB=$${RANLIB}" \
8749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8750 mostlyclean) \
8751 || exit 1
8753 @endif fastjar
8755 .PHONY: maybe-clean-fastjar clean-fastjar
8756 maybe-clean-fastjar:
8757 @if fastjar
8758 maybe-clean-fastjar: clean-fastjar
8760 clean-fastjar:
8761 @$(unstage)
8762 @[ -f ./fastjar/Makefile ] || exit 0; \
8763 r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(HOST_EXPORTS) \
8766 for flag in $(EXTRA_HOST_FLAGS) ; do \
8767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8768 done; \
8769 echo "Doing clean in fastjar" ; \
8770 (cd $(HOST_SUBDIR)/fastjar && \
8771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8773 "RANLIB=$${RANLIB}" \
8774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8775 clean) \
8776 || exit 1
8778 @endif fastjar
8780 .PHONY: maybe-distclean-fastjar distclean-fastjar
8781 maybe-distclean-fastjar:
8782 @if fastjar
8783 maybe-distclean-fastjar: distclean-fastjar
8785 distclean-fastjar:
8786 @$(unstage)
8787 @[ -f ./fastjar/Makefile ] || exit 0; \
8788 r=`${PWD_COMMAND}`; export r; \
8789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8790 $(HOST_EXPORTS) \
8791 for flag in $(EXTRA_HOST_FLAGS) ; do \
8792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8793 done; \
8794 echo "Doing distclean in fastjar" ; \
8795 (cd $(HOST_SUBDIR)/fastjar && \
8796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8798 "RANLIB=$${RANLIB}" \
8799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8800 distclean) \
8801 || exit 1
8803 @endif fastjar
8805 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8806 maybe-maintainer-clean-fastjar:
8807 @if fastjar
8808 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8810 maintainer-clean-fastjar:
8811 @$(unstage)
8812 @[ -f ./fastjar/Makefile ] || exit 0; \
8813 r=`${PWD_COMMAND}`; export r; \
8814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8815 $(HOST_EXPORTS) \
8816 for flag in $(EXTRA_HOST_FLAGS) ; do \
8817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8818 done; \
8819 echo "Doing maintainer-clean in fastjar" ; \
8820 (cd $(HOST_SUBDIR)/fastjar && \
8821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8823 "RANLIB=$${RANLIB}" \
8824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8825 maintainer-clean) \
8826 || exit 1
8828 @endif fastjar
8832 .PHONY: configure-fileutils maybe-configure-fileutils
8833 maybe-configure-fileutils:
8834 @if fileutils
8835 maybe-configure-fileutils: configure-fileutils
8836 configure-fileutils:
8837 @$(unstage)
8838 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8840 r=`${PWD_COMMAND}`; export r; \
8841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8842 $(HOST_EXPORTS) \
8843 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8844 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8845 case $(srcdir) in \
8846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8847 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8849 esac; \
8850 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8851 libsrcdir="$$s/fileutils"; \
8852 $(SHELL) $${libsrcdir}/configure \
8853 $(HOST_CONFIGARGS) $${srcdiroption} \
8854 || exit 1
8855 @endif fileutils
8861 .PHONY: all-fileutils maybe-all-fileutils
8862 maybe-all-fileutils:
8863 @if fileutils
8864 TARGET-fileutils=all
8865 maybe-all-fileutils: all-fileutils
8866 all-fileutils: configure-fileutils
8867 @$(unstage)
8868 @r=`${PWD_COMMAND}`; export r; \
8869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8870 $(HOST_EXPORTS) \
8871 (cd $(HOST_SUBDIR)/fileutils && \
8872 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8873 @endif fileutils
8878 .PHONY: check-fileutils maybe-check-fileutils
8879 maybe-check-fileutils:
8880 @if fileutils
8881 maybe-check-fileutils: check-fileutils
8883 check-fileutils:
8884 @$(unstage)
8885 @r=`${PWD_COMMAND}`; export r; \
8886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8887 $(HOST_EXPORTS) \
8888 (cd $(HOST_SUBDIR)/fileutils && \
8889 $(MAKE) $(FLAGS_TO_PASS) check)
8891 @endif fileutils
8893 .PHONY: install-fileutils maybe-install-fileutils
8894 maybe-install-fileutils:
8895 @if fileutils
8896 maybe-install-fileutils: install-fileutils
8898 install-fileutils: installdirs
8899 @$(unstage)
8900 @r=`${PWD_COMMAND}`; export r; \
8901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8902 $(HOST_EXPORTS) \
8903 (cd $(HOST_SUBDIR)/fileutils && \
8904 $(MAKE) $(FLAGS_TO_PASS) install)
8906 @endif fileutils
8908 # Other targets (info, dvi, etc.)
8910 .PHONY: maybe-info-fileutils info-fileutils
8911 maybe-info-fileutils:
8912 @if fileutils
8913 maybe-info-fileutils: info-fileutils
8915 info-fileutils: \
8916 configure-fileutils
8917 @$(unstage)
8918 @[ -f ./fileutils/Makefile ] || exit 0; \
8919 r=`${PWD_COMMAND}`; export r; \
8920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8921 $(HOST_EXPORTS) \
8922 for flag in $(EXTRA_HOST_FLAGS) ; do \
8923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8924 done; \
8925 echo "Doing info in fileutils" ; \
8926 (cd $(HOST_SUBDIR)/fileutils && \
8927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8929 "RANLIB=$${RANLIB}" \
8930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8931 info) \
8932 || exit 1
8934 @endif fileutils
8936 .PHONY: maybe-dvi-fileutils dvi-fileutils
8937 maybe-dvi-fileutils:
8938 @if fileutils
8939 maybe-dvi-fileutils: dvi-fileutils
8941 dvi-fileutils: \
8942 configure-fileutils
8943 @$(unstage)
8944 @[ -f ./fileutils/Makefile ] || exit 0; \
8945 r=`${PWD_COMMAND}`; export r; \
8946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8947 $(HOST_EXPORTS) \
8948 for flag in $(EXTRA_HOST_FLAGS) ; do \
8949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8950 done; \
8951 echo "Doing dvi in fileutils" ; \
8952 (cd $(HOST_SUBDIR)/fileutils && \
8953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8955 "RANLIB=$${RANLIB}" \
8956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8957 dvi) \
8958 || exit 1
8960 @endif fileutils
8962 .PHONY: maybe-html-fileutils html-fileutils
8963 maybe-html-fileutils:
8964 @if fileutils
8965 maybe-html-fileutils: html-fileutils
8967 html-fileutils: \
8968 configure-fileutils
8969 @$(unstage)
8970 @[ -f ./fileutils/Makefile ] || exit 0; \
8971 r=`${PWD_COMMAND}`; export r; \
8972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8973 $(HOST_EXPORTS) \
8974 for flag in $(EXTRA_HOST_FLAGS) ; do \
8975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8976 done; \
8977 echo "Doing html in fileutils" ; \
8978 (cd $(HOST_SUBDIR)/fileutils && \
8979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8981 "RANLIB=$${RANLIB}" \
8982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8983 html) \
8984 || exit 1
8986 @endif fileutils
8988 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8989 maybe-TAGS-fileutils:
8990 @if fileutils
8991 maybe-TAGS-fileutils: TAGS-fileutils
8993 TAGS-fileutils: \
8994 configure-fileutils
8995 @$(unstage)
8996 @[ -f ./fileutils/Makefile ] || exit 0; \
8997 r=`${PWD_COMMAND}`; export r; \
8998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8999 $(HOST_EXPORTS) \
9000 for flag in $(EXTRA_HOST_FLAGS) ; do \
9001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9002 done; \
9003 echo "Doing TAGS in fileutils" ; \
9004 (cd $(HOST_SUBDIR)/fileutils && \
9005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9007 "RANLIB=$${RANLIB}" \
9008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9009 TAGS) \
9010 || exit 1
9012 @endif fileutils
9014 .PHONY: maybe-install-info-fileutils install-info-fileutils
9015 maybe-install-info-fileutils:
9016 @if fileutils
9017 maybe-install-info-fileutils: install-info-fileutils
9019 install-info-fileutils: \
9020 configure-fileutils \
9021 info-fileutils
9022 @$(unstage)
9023 @[ -f ./fileutils/Makefile ] || exit 0; \
9024 r=`${PWD_COMMAND}`; export r; \
9025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9026 $(HOST_EXPORTS) \
9027 for flag in $(EXTRA_HOST_FLAGS) ; do \
9028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9029 done; \
9030 echo "Doing install-info in fileutils" ; \
9031 (cd $(HOST_SUBDIR)/fileutils && \
9032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9034 "RANLIB=$${RANLIB}" \
9035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9036 install-info) \
9037 || exit 1
9039 @endif fileutils
9041 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9042 maybe-installcheck-fileutils:
9043 @if fileutils
9044 maybe-installcheck-fileutils: installcheck-fileutils
9046 installcheck-fileutils: \
9047 configure-fileutils
9048 @$(unstage)
9049 @[ -f ./fileutils/Makefile ] || exit 0; \
9050 r=`${PWD_COMMAND}`; export r; \
9051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9052 $(HOST_EXPORTS) \
9053 for flag in $(EXTRA_HOST_FLAGS) ; do \
9054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9055 done; \
9056 echo "Doing installcheck in fileutils" ; \
9057 (cd $(HOST_SUBDIR)/fileutils && \
9058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9060 "RANLIB=$${RANLIB}" \
9061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9062 installcheck) \
9063 || exit 1
9065 @endif fileutils
9067 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9068 maybe-mostlyclean-fileutils:
9069 @if fileutils
9070 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9072 mostlyclean-fileutils:
9073 @$(unstage)
9074 @[ -f ./fileutils/Makefile ] || exit 0; \
9075 r=`${PWD_COMMAND}`; export r; \
9076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9077 $(HOST_EXPORTS) \
9078 for flag in $(EXTRA_HOST_FLAGS) ; do \
9079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9080 done; \
9081 echo "Doing mostlyclean in fileutils" ; \
9082 (cd $(HOST_SUBDIR)/fileutils && \
9083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9085 "RANLIB=$${RANLIB}" \
9086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9087 mostlyclean) \
9088 || exit 1
9090 @endif fileutils
9092 .PHONY: maybe-clean-fileutils clean-fileutils
9093 maybe-clean-fileutils:
9094 @if fileutils
9095 maybe-clean-fileutils: clean-fileutils
9097 clean-fileutils:
9098 @$(unstage)
9099 @[ -f ./fileutils/Makefile ] || exit 0; \
9100 r=`${PWD_COMMAND}`; export r; \
9101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9102 $(HOST_EXPORTS) \
9103 for flag in $(EXTRA_HOST_FLAGS) ; do \
9104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9105 done; \
9106 echo "Doing clean in fileutils" ; \
9107 (cd $(HOST_SUBDIR)/fileutils && \
9108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9110 "RANLIB=$${RANLIB}" \
9111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9112 clean) \
9113 || exit 1
9115 @endif fileutils
9117 .PHONY: maybe-distclean-fileutils distclean-fileutils
9118 maybe-distclean-fileutils:
9119 @if fileutils
9120 maybe-distclean-fileutils: distclean-fileutils
9122 distclean-fileutils:
9123 @$(unstage)
9124 @[ -f ./fileutils/Makefile ] || exit 0; \
9125 r=`${PWD_COMMAND}`; export r; \
9126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9127 $(HOST_EXPORTS) \
9128 for flag in $(EXTRA_HOST_FLAGS) ; do \
9129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9130 done; \
9131 echo "Doing distclean in fileutils" ; \
9132 (cd $(HOST_SUBDIR)/fileutils && \
9133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9135 "RANLIB=$${RANLIB}" \
9136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9137 distclean) \
9138 || exit 1
9140 @endif fileutils
9142 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9143 maybe-maintainer-clean-fileutils:
9144 @if fileutils
9145 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9147 maintainer-clean-fileutils:
9148 @$(unstage)
9149 @[ -f ./fileutils/Makefile ] || exit 0; \
9150 r=`${PWD_COMMAND}`; export r; \
9151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9152 $(HOST_EXPORTS) \
9153 for flag in $(EXTRA_HOST_FLAGS) ; do \
9154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9155 done; \
9156 echo "Doing maintainer-clean in fileutils" ; \
9157 (cd $(HOST_SUBDIR)/fileutils && \
9158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9160 "RANLIB=$${RANLIB}" \
9161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9162 maintainer-clean) \
9163 || exit 1
9165 @endif fileutils
9169 .PHONY: configure-findutils maybe-configure-findutils
9170 maybe-configure-findutils:
9171 @if findutils
9172 maybe-configure-findutils: configure-findutils
9173 configure-findutils:
9174 @$(unstage)
9175 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9176 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9177 r=`${PWD_COMMAND}`; export r; \
9178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9179 $(HOST_EXPORTS) \
9180 echo Configuring in $(HOST_SUBDIR)/findutils; \
9181 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9182 case $(srcdir) in \
9183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9184 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9186 esac; \
9187 srcdiroption="--srcdir=$${topdir}/findutils"; \
9188 libsrcdir="$$s/findutils"; \
9189 $(SHELL) $${libsrcdir}/configure \
9190 $(HOST_CONFIGARGS) $${srcdiroption} \
9191 || exit 1
9192 @endif findutils
9198 .PHONY: all-findutils maybe-all-findutils
9199 maybe-all-findutils:
9200 @if findutils
9201 TARGET-findutils=all
9202 maybe-all-findutils: all-findutils
9203 all-findutils: configure-findutils
9204 @$(unstage)
9205 @r=`${PWD_COMMAND}`; export r; \
9206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9207 $(HOST_EXPORTS) \
9208 (cd $(HOST_SUBDIR)/findutils && \
9209 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9210 @endif findutils
9215 .PHONY: check-findutils maybe-check-findutils
9216 maybe-check-findutils:
9217 @if findutils
9218 maybe-check-findutils: check-findutils
9220 check-findutils:
9221 @$(unstage)
9222 @r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(HOST_EXPORTS) \
9225 (cd $(HOST_SUBDIR)/findutils && \
9226 $(MAKE) $(FLAGS_TO_PASS) check)
9228 @endif findutils
9230 .PHONY: install-findutils maybe-install-findutils
9231 maybe-install-findutils:
9232 @if findutils
9233 maybe-install-findutils: install-findutils
9235 install-findutils: installdirs
9236 @$(unstage)
9237 @r=`${PWD_COMMAND}`; export r; \
9238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9239 $(HOST_EXPORTS) \
9240 (cd $(HOST_SUBDIR)/findutils && \
9241 $(MAKE) $(FLAGS_TO_PASS) install)
9243 @endif findutils
9245 # Other targets (info, dvi, etc.)
9247 .PHONY: maybe-info-findutils info-findutils
9248 maybe-info-findutils:
9249 @if findutils
9250 maybe-info-findutils: info-findutils
9252 info-findutils: \
9253 configure-findutils
9254 @$(unstage)
9255 @[ -f ./findutils/Makefile ] || exit 0; \
9256 r=`${PWD_COMMAND}`; export r; \
9257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9258 $(HOST_EXPORTS) \
9259 for flag in $(EXTRA_HOST_FLAGS) ; do \
9260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9261 done; \
9262 echo "Doing info in findutils" ; \
9263 (cd $(HOST_SUBDIR)/findutils && \
9264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9266 "RANLIB=$${RANLIB}" \
9267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9268 info) \
9269 || exit 1
9271 @endif findutils
9273 .PHONY: maybe-dvi-findutils dvi-findutils
9274 maybe-dvi-findutils:
9275 @if findutils
9276 maybe-dvi-findutils: dvi-findutils
9278 dvi-findutils: \
9279 configure-findutils
9280 @$(unstage)
9281 @[ -f ./findutils/Makefile ] || exit 0; \
9282 r=`${PWD_COMMAND}`; export r; \
9283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9284 $(HOST_EXPORTS) \
9285 for flag in $(EXTRA_HOST_FLAGS) ; do \
9286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9287 done; \
9288 echo "Doing dvi in findutils" ; \
9289 (cd $(HOST_SUBDIR)/findutils && \
9290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9292 "RANLIB=$${RANLIB}" \
9293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9294 dvi) \
9295 || exit 1
9297 @endif findutils
9299 .PHONY: maybe-html-findutils html-findutils
9300 maybe-html-findutils:
9301 @if findutils
9302 maybe-html-findutils: html-findutils
9304 html-findutils: \
9305 configure-findutils
9306 @$(unstage)
9307 @[ -f ./findutils/Makefile ] || exit 0; \
9308 r=`${PWD_COMMAND}`; export r; \
9309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9310 $(HOST_EXPORTS) \
9311 for flag in $(EXTRA_HOST_FLAGS) ; do \
9312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9313 done; \
9314 echo "Doing html in findutils" ; \
9315 (cd $(HOST_SUBDIR)/findutils && \
9316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9318 "RANLIB=$${RANLIB}" \
9319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9320 html) \
9321 || exit 1
9323 @endif findutils
9325 .PHONY: maybe-TAGS-findutils TAGS-findutils
9326 maybe-TAGS-findutils:
9327 @if findutils
9328 maybe-TAGS-findutils: TAGS-findutils
9330 TAGS-findutils: \
9331 configure-findutils
9332 @$(unstage)
9333 @[ -f ./findutils/Makefile ] || exit 0; \
9334 r=`${PWD_COMMAND}`; export r; \
9335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9336 $(HOST_EXPORTS) \
9337 for flag in $(EXTRA_HOST_FLAGS) ; do \
9338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9339 done; \
9340 echo "Doing TAGS in findutils" ; \
9341 (cd $(HOST_SUBDIR)/findutils && \
9342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9344 "RANLIB=$${RANLIB}" \
9345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9346 TAGS) \
9347 || exit 1
9349 @endif findutils
9351 .PHONY: maybe-install-info-findutils install-info-findutils
9352 maybe-install-info-findutils:
9353 @if findutils
9354 maybe-install-info-findutils: install-info-findutils
9356 install-info-findutils: \
9357 configure-findutils \
9358 info-findutils
9359 @$(unstage)
9360 @[ -f ./findutils/Makefile ] || exit 0; \
9361 r=`${PWD_COMMAND}`; export r; \
9362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9363 $(HOST_EXPORTS) \
9364 for flag in $(EXTRA_HOST_FLAGS) ; do \
9365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9366 done; \
9367 echo "Doing install-info in findutils" ; \
9368 (cd $(HOST_SUBDIR)/findutils && \
9369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9371 "RANLIB=$${RANLIB}" \
9372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9373 install-info) \
9374 || exit 1
9376 @endif findutils
9378 .PHONY: maybe-installcheck-findutils installcheck-findutils
9379 maybe-installcheck-findutils:
9380 @if findutils
9381 maybe-installcheck-findutils: installcheck-findutils
9383 installcheck-findutils: \
9384 configure-findutils
9385 @$(unstage)
9386 @[ -f ./findutils/Makefile ] || exit 0; \
9387 r=`${PWD_COMMAND}`; export r; \
9388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9389 $(HOST_EXPORTS) \
9390 for flag in $(EXTRA_HOST_FLAGS) ; do \
9391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9392 done; \
9393 echo "Doing installcheck in findutils" ; \
9394 (cd $(HOST_SUBDIR)/findutils && \
9395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9397 "RANLIB=$${RANLIB}" \
9398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9399 installcheck) \
9400 || exit 1
9402 @endif findutils
9404 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9405 maybe-mostlyclean-findutils:
9406 @if findutils
9407 maybe-mostlyclean-findutils: mostlyclean-findutils
9409 mostlyclean-findutils:
9410 @$(unstage)
9411 @[ -f ./findutils/Makefile ] || exit 0; \
9412 r=`${PWD_COMMAND}`; export r; \
9413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9414 $(HOST_EXPORTS) \
9415 for flag in $(EXTRA_HOST_FLAGS) ; do \
9416 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9417 done; \
9418 echo "Doing mostlyclean in findutils" ; \
9419 (cd $(HOST_SUBDIR)/findutils && \
9420 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9421 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9422 "RANLIB=$${RANLIB}" \
9423 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9424 mostlyclean) \
9425 || exit 1
9427 @endif findutils
9429 .PHONY: maybe-clean-findutils clean-findutils
9430 maybe-clean-findutils:
9431 @if findutils
9432 maybe-clean-findutils: clean-findutils
9434 clean-findutils:
9435 @$(unstage)
9436 @[ -f ./findutils/Makefile ] || exit 0; \
9437 r=`${PWD_COMMAND}`; export r; \
9438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9439 $(HOST_EXPORTS) \
9440 for flag in $(EXTRA_HOST_FLAGS) ; do \
9441 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9442 done; \
9443 echo "Doing clean in findutils" ; \
9444 (cd $(HOST_SUBDIR)/findutils && \
9445 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9446 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9447 "RANLIB=$${RANLIB}" \
9448 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9449 clean) \
9450 || exit 1
9452 @endif findutils
9454 .PHONY: maybe-distclean-findutils distclean-findutils
9455 maybe-distclean-findutils:
9456 @if findutils
9457 maybe-distclean-findutils: distclean-findutils
9459 distclean-findutils:
9460 @$(unstage)
9461 @[ -f ./findutils/Makefile ] || exit 0; \
9462 r=`${PWD_COMMAND}`; export r; \
9463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9464 $(HOST_EXPORTS) \
9465 for flag in $(EXTRA_HOST_FLAGS) ; do \
9466 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9467 done; \
9468 echo "Doing distclean in findutils" ; \
9469 (cd $(HOST_SUBDIR)/findutils && \
9470 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9471 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9472 "RANLIB=$${RANLIB}" \
9473 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9474 distclean) \
9475 || exit 1
9477 @endif findutils
9479 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9480 maybe-maintainer-clean-findutils:
9481 @if findutils
9482 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9484 maintainer-clean-findutils:
9485 @$(unstage)
9486 @[ -f ./findutils/Makefile ] || exit 0; \
9487 r=`${PWD_COMMAND}`; export r; \
9488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9489 $(HOST_EXPORTS) \
9490 for flag in $(EXTRA_HOST_FLAGS) ; do \
9491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9492 done; \
9493 echo "Doing maintainer-clean in findutils" ; \
9494 (cd $(HOST_SUBDIR)/findutils && \
9495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9497 "RANLIB=$${RANLIB}" \
9498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9499 maintainer-clean) \
9500 || exit 1
9502 @endif findutils
9506 .PHONY: configure-find maybe-configure-find
9507 maybe-configure-find:
9508 @if find
9509 maybe-configure-find: configure-find
9510 configure-find:
9511 @$(unstage)
9512 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9513 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9514 r=`${PWD_COMMAND}`; export r; \
9515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9516 $(HOST_EXPORTS) \
9517 echo Configuring in $(HOST_SUBDIR)/find; \
9518 cd "$(HOST_SUBDIR)/find" || exit 1; \
9519 case $(srcdir) in \
9520 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9521 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9522 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9523 esac; \
9524 srcdiroption="--srcdir=$${topdir}/find"; \
9525 libsrcdir="$$s/find"; \
9526 $(SHELL) $${libsrcdir}/configure \
9527 $(HOST_CONFIGARGS) $${srcdiroption} \
9528 || exit 1
9529 @endif find
9535 .PHONY: all-find maybe-all-find
9536 maybe-all-find:
9537 @if find
9538 TARGET-find=all
9539 maybe-all-find: all-find
9540 all-find: configure-find
9541 @$(unstage)
9542 @r=`${PWD_COMMAND}`; export r; \
9543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9544 $(HOST_EXPORTS) \
9545 (cd $(HOST_SUBDIR)/find && \
9546 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9547 @endif find
9552 .PHONY: check-find maybe-check-find
9553 maybe-check-find:
9554 @if find
9555 maybe-check-find: check-find
9557 check-find:
9558 @$(unstage)
9559 @r=`${PWD_COMMAND}`; export r; \
9560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9561 $(HOST_EXPORTS) \
9562 (cd $(HOST_SUBDIR)/find && \
9563 $(MAKE) $(FLAGS_TO_PASS) check)
9565 @endif find
9567 .PHONY: install-find maybe-install-find
9568 maybe-install-find:
9569 @if find
9570 maybe-install-find: install-find
9572 install-find: installdirs
9573 @$(unstage)
9574 @r=`${PWD_COMMAND}`; export r; \
9575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9576 $(HOST_EXPORTS) \
9577 (cd $(HOST_SUBDIR)/find && \
9578 $(MAKE) $(FLAGS_TO_PASS) install)
9580 @endif find
9582 # Other targets (info, dvi, etc.)
9584 .PHONY: maybe-info-find info-find
9585 maybe-info-find:
9586 @if find
9587 maybe-info-find: info-find
9589 info-find: \
9590 configure-find
9591 @$(unstage)
9592 @[ -f ./find/Makefile ] || exit 0; \
9593 r=`${PWD_COMMAND}`; export r; \
9594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9595 $(HOST_EXPORTS) \
9596 for flag in $(EXTRA_HOST_FLAGS) ; do \
9597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9598 done; \
9599 echo "Doing info in find" ; \
9600 (cd $(HOST_SUBDIR)/find && \
9601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9603 "RANLIB=$${RANLIB}" \
9604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9605 info) \
9606 || exit 1
9608 @endif find
9610 .PHONY: maybe-dvi-find dvi-find
9611 maybe-dvi-find:
9612 @if find
9613 maybe-dvi-find: dvi-find
9615 dvi-find: \
9616 configure-find
9617 @$(unstage)
9618 @[ -f ./find/Makefile ] || exit 0; \
9619 r=`${PWD_COMMAND}`; export r; \
9620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9621 $(HOST_EXPORTS) \
9622 for flag in $(EXTRA_HOST_FLAGS) ; do \
9623 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9624 done; \
9625 echo "Doing dvi in find" ; \
9626 (cd $(HOST_SUBDIR)/find && \
9627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9629 "RANLIB=$${RANLIB}" \
9630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9631 dvi) \
9632 || exit 1
9634 @endif find
9636 .PHONY: maybe-html-find html-find
9637 maybe-html-find:
9638 @if find
9639 maybe-html-find: html-find
9641 html-find: \
9642 configure-find
9643 @$(unstage)
9644 @[ -f ./find/Makefile ] || exit 0; \
9645 r=`${PWD_COMMAND}`; export r; \
9646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9647 $(HOST_EXPORTS) \
9648 for flag in $(EXTRA_HOST_FLAGS) ; do \
9649 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9650 done; \
9651 echo "Doing html in find" ; \
9652 (cd $(HOST_SUBDIR)/find && \
9653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9655 "RANLIB=$${RANLIB}" \
9656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9657 html) \
9658 || exit 1
9660 @endif find
9662 .PHONY: maybe-TAGS-find TAGS-find
9663 maybe-TAGS-find:
9664 @if find
9665 maybe-TAGS-find: TAGS-find
9667 TAGS-find: \
9668 configure-find
9669 @$(unstage)
9670 @[ -f ./find/Makefile ] || exit 0; \
9671 r=`${PWD_COMMAND}`; export r; \
9672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9673 $(HOST_EXPORTS) \
9674 for flag in $(EXTRA_HOST_FLAGS) ; do \
9675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9676 done; \
9677 echo "Doing TAGS in find" ; \
9678 (cd $(HOST_SUBDIR)/find && \
9679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9681 "RANLIB=$${RANLIB}" \
9682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9683 TAGS) \
9684 || exit 1
9686 @endif find
9688 .PHONY: maybe-install-info-find install-info-find
9689 maybe-install-info-find:
9690 @if find
9691 maybe-install-info-find: install-info-find
9693 install-info-find: \
9694 configure-find \
9695 info-find
9696 @$(unstage)
9697 @[ -f ./find/Makefile ] || exit 0; \
9698 r=`${PWD_COMMAND}`; export r; \
9699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9700 $(HOST_EXPORTS) \
9701 for flag in $(EXTRA_HOST_FLAGS) ; do \
9702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9703 done; \
9704 echo "Doing install-info in find" ; \
9705 (cd $(HOST_SUBDIR)/find && \
9706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9708 "RANLIB=$${RANLIB}" \
9709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9710 install-info) \
9711 || exit 1
9713 @endif find
9715 .PHONY: maybe-installcheck-find installcheck-find
9716 maybe-installcheck-find:
9717 @if find
9718 maybe-installcheck-find: installcheck-find
9720 installcheck-find: \
9721 configure-find
9722 @$(unstage)
9723 @[ -f ./find/Makefile ] || exit 0; \
9724 r=`${PWD_COMMAND}`; export r; \
9725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9726 $(HOST_EXPORTS) \
9727 for flag in $(EXTRA_HOST_FLAGS) ; do \
9728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9729 done; \
9730 echo "Doing installcheck in find" ; \
9731 (cd $(HOST_SUBDIR)/find && \
9732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9734 "RANLIB=$${RANLIB}" \
9735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9736 installcheck) \
9737 || exit 1
9739 @endif find
9741 .PHONY: maybe-mostlyclean-find mostlyclean-find
9742 maybe-mostlyclean-find:
9743 @if find
9744 maybe-mostlyclean-find: mostlyclean-find
9746 mostlyclean-find:
9747 @$(unstage)
9748 @[ -f ./find/Makefile ] || exit 0; \
9749 r=`${PWD_COMMAND}`; export r; \
9750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9751 $(HOST_EXPORTS) \
9752 for flag in $(EXTRA_HOST_FLAGS) ; do \
9753 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9754 done; \
9755 echo "Doing mostlyclean in find" ; \
9756 (cd $(HOST_SUBDIR)/find && \
9757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9759 "RANLIB=$${RANLIB}" \
9760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9761 mostlyclean) \
9762 || exit 1
9764 @endif find
9766 .PHONY: maybe-clean-find clean-find
9767 maybe-clean-find:
9768 @if find
9769 maybe-clean-find: clean-find
9771 clean-find:
9772 @$(unstage)
9773 @[ -f ./find/Makefile ] || exit 0; \
9774 r=`${PWD_COMMAND}`; export r; \
9775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9776 $(HOST_EXPORTS) \
9777 for flag in $(EXTRA_HOST_FLAGS) ; do \
9778 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9779 done; \
9780 echo "Doing clean in find" ; \
9781 (cd $(HOST_SUBDIR)/find && \
9782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9784 "RANLIB=$${RANLIB}" \
9785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9786 clean) \
9787 || exit 1
9789 @endif find
9791 .PHONY: maybe-distclean-find distclean-find
9792 maybe-distclean-find:
9793 @if find
9794 maybe-distclean-find: distclean-find
9796 distclean-find:
9797 @$(unstage)
9798 @[ -f ./find/Makefile ] || exit 0; \
9799 r=`${PWD_COMMAND}`; export r; \
9800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9801 $(HOST_EXPORTS) \
9802 for flag in $(EXTRA_HOST_FLAGS) ; do \
9803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9804 done; \
9805 echo "Doing distclean in find" ; \
9806 (cd $(HOST_SUBDIR)/find && \
9807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9809 "RANLIB=$${RANLIB}" \
9810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9811 distclean) \
9812 || exit 1
9814 @endif find
9816 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9817 maybe-maintainer-clean-find:
9818 @if find
9819 maybe-maintainer-clean-find: maintainer-clean-find
9821 maintainer-clean-find:
9822 @$(unstage)
9823 @[ -f ./find/Makefile ] || exit 0; \
9824 r=`${PWD_COMMAND}`; export r; \
9825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9826 $(HOST_EXPORTS) \
9827 for flag in $(EXTRA_HOST_FLAGS) ; do \
9828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9829 done; \
9830 echo "Doing maintainer-clean in find" ; \
9831 (cd $(HOST_SUBDIR)/find && \
9832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9834 "RANLIB=$${RANLIB}" \
9835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9836 maintainer-clean) \
9837 || exit 1
9839 @endif find
9843 .PHONY: configure-fixincludes maybe-configure-fixincludes
9844 maybe-configure-fixincludes:
9845 @if fixincludes
9846 maybe-configure-fixincludes: configure-fixincludes
9847 configure-fixincludes:
9848 @$(unstage)
9849 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9850 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9851 r=`${PWD_COMMAND}`; export r; \
9852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9853 $(HOST_EXPORTS) \
9854 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9855 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9856 case $(srcdir) in \
9857 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9858 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9859 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9860 esac; \
9861 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9862 libsrcdir="$$s/fixincludes"; \
9863 $(SHELL) $${libsrcdir}/configure \
9864 $(HOST_CONFIGARGS) $${srcdiroption} \
9865 || exit 1
9866 @endif fixincludes
9872 .PHONY: all-fixincludes maybe-all-fixincludes
9873 maybe-all-fixincludes:
9874 @if fixincludes
9875 TARGET-fixincludes=all
9876 maybe-all-fixincludes: all-fixincludes
9877 all-fixincludes: configure-fixincludes
9878 @$(unstage)
9879 @r=`${PWD_COMMAND}`; export r; \
9880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9881 $(HOST_EXPORTS) \
9882 (cd $(HOST_SUBDIR)/fixincludes && \
9883 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9884 @endif fixincludes
9889 .PHONY: check-fixincludes maybe-check-fixincludes
9890 maybe-check-fixincludes:
9891 @if fixincludes
9892 maybe-check-fixincludes: check-fixincludes
9894 check-fixincludes:
9895 @$(unstage)
9896 @r=`${PWD_COMMAND}`; export r; \
9897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9898 $(HOST_EXPORTS) \
9899 (cd $(HOST_SUBDIR)/fixincludes && \
9900 $(MAKE) $(FLAGS_TO_PASS) check)
9902 @endif fixincludes
9904 .PHONY: install-fixincludes maybe-install-fixincludes
9905 maybe-install-fixincludes:
9906 @if fixincludes
9907 maybe-install-fixincludes: install-fixincludes
9909 install-fixincludes: installdirs
9910 @$(unstage)
9911 @r=`${PWD_COMMAND}`; export r; \
9912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9913 $(HOST_EXPORTS) \
9914 (cd $(HOST_SUBDIR)/fixincludes && \
9915 $(MAKE) $(FLAGS_TO_PASS) install)
9917 @endif fixincludes
9919 # Other targets (info, dvi, etc.)
9921 .PHONY: maybe-info-fixincludes info-fixincludes
9922 maybe-info-fixincludes:
9923 @if fixincludes
9924 maybe-info-fixincludes: info-fixincludes
9926 # fixincludes doesn't support info.
9927 info-fixincludes:
9929 @endif fixincludes
9931 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9932 maybe-dvi-fixincludes:
9933 @if fixincludes
9934 maybe-dvi-fixincludes: dvi-fixincludes
9936 # fixincludes doesn't support dvi.
9937 dvi-fixincludes:
9939 @endif fixincludes
9941 .PHONY: maybe-html-fixincludes html-fixincludes
9942 maybe-html-fixincludes:
9943 @if fixincludes
9944 maybe-html-fixincludes: html-fixincludes
9946 html-fixincludes: \
9947 configure-fixincludes
9948 @$(unstage)
9949 @[ -f ./fixincludes/Makefile ] || exit 0; \
9950 r=`${PWD_COMMAND}`; export r; \
9951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9952 $(HOST_EXPORTS) \
9953 for flag in $(EXTRA_HOST_FLAGS) ; do \
9954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9955 done; \
9956 echo "Doing html in fixincludes" ; \
9957 (cd $(HOST_SUBDIR)/fixincludes && \
9958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9960 "RANLIB=$${RANLIB}" \
9961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9962 html) \
9963 || exit 1
9965 @endif fixincludes
9967 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9968 maybe-TAGS-fixincludes:
9969 @if fixincludes
9970 maybe-TAGS-fixincludes: TAGS-fixincludes
9972 # fixincludes doesn't support TAGS.
9973 TAGS-fixincludes:
9975 @endif fixincludes
9977 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9978 maybe-install-info-fixincludes:
9979 @if fixincludes
9980 maybe-install-info-fixincludes: install-info-fixincludes
9982 # fixincludes doesn't support install-info.
9983 install-info-fixincludes:
9985 @endif fixincludes
9987 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9988 maybe-installcheck-fixincludes:
9989 @if fixincludes
9990 maybe-installcheck-fixincludes: installcheck-fixincludes
9992 # fixincludes doesn't support installcheck.
9993 installcheck-fixincludes:
9995 @endif fixincludes
9997 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9998 maybe-mostlyclean-fixincludes:
9999 @if fixincludes
10000 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
10002 mostlyclean-fixincludes:
10003 @$(unstage)
10004 @[ -f ./fixincludes/Makefile ] || exit 0; \
10005 r=`${PWD_COMMAND}`; export r; \
10006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10007 $(HOST_EXPORTS) \
10008 for flag in $(EXTRA_HOST_FLAGS) ; do \
10009 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10010 done; \
10011 echo "Doing mostlyclean in fixincludes" ; \
10012 (cd $(HOST_SUBDIR)/fixincludes && \
10013 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10014 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10015 "RANLIB=$${RANLIB}" \
10016 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10017 mostlyclean) \
10018 || exit 1
10020 @endif fixincludes
10022 .PHONY: maybe-clean-fixincludes clean-fixincludes
10023 maybe-clean-fixincludes:
10024 @if fixincludes
10025 maybe-clean-fixincludes: clean-fixincludes
10027 clean-fixincludes:
10028 @$(unstage)
10029 @[ -f ./fixincludes/Makefile ] || exit 0; \
10030 r=`${PWD_COMMAND}`; export r; \
10031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10032 $(HOST_EXPORTS) \
10033 for flag in $(EXTRA_HOST_FLAGS) ; do \
10034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10035 done; \
10036 echo "Doing clean in fixincludes" ; \
10037 (cd $(HOST_SUBDIR)/fixincludes && \
10038 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10039 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10040 "RANLIB=$${RANLIB}" \
10041 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10042 clean) \
10043 || exit 1
10045 @endif fixincludes
10047 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10048 maybe-distclean-fixincludes:
10049 @if fixincludes
10050 maybe-distclean-fixincludes: distclean-fixincludes
10052 distclean-fixincludes:
10053 @$(unstage)
10054 @[ -f ./fixincludes/Makefile ] || exit 0; \
10055 r=`${PWD_COMMAND}`; export r; \
10056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10057 $(HOST_EXPORTS) \
10058 for flag in $(EXTRA_HOST_FLAGS) ; do \
10059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10060 done; \
10061 echo "Doing distclean in fixincludes" ; \
10062 (cd $(HOST_SUBDIR)/fixincludes && \
10063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10065 "RANLIB=$${RANLIB}" \
10066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10067 distclean) \
10068 || exit 1
10070 @endif fixincludes
10072 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10073 maybe-maintainer-clean-fixincludes:
10074 @if fixincludes
10075 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10077 maintainer-clean-fixincludes:
10078 @$(unstage)
10079 @[ -f ./fixincludes/Makefile ] || exit 0; \
10080 r=`${PWD_COMMAND}`; export r; \
10081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10082 $(HOST_EXPORTS) \
10083 for flag in $(EXTRA_HOST_FLAGS) ; do \
10084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10085 done; \
10086 echo "Doing maintainer-clean in fixincludes" ; \
10087 (cd $(HOST_SUBDIR)/fixincludes && \
10088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10090 "RANLIB=$${RANLIB}" \
10091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10092 maintainer-clean) \
10093 || exit 1
10095 @endif fixincludes
10099 .PHONY: configure-flex maybe-configure-flex
10100 maybe-configure-flex:
10101 @if flex
10102 maybe-configure-flex: configure-flex
10103 configure-flex:
10104 @$(unstage)
10105 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10106 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10107 r=`${PWD_COMMAND}`; export r; \
10108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10109 $(HOST_EXPORTS) \
10110 echo Configuring in $(HOST_SUBDIR)/flex; \
10111 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10112 case $(srcdir) in \
10113 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10114 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10115 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10116 esac; \
10117 srcdiroption="--srcdir=$${topdir}/flex"; \
10118 libsrcdir="$$s/flex"; \
10119 $(SHELL) $${libsrcdir}/configure \
10120 $(HOST_CONFIGARGS) $${srcdiroption} \
10121 || exit 1
10122 @endif flex
10128 .PHONY: all-flex maybe-all-flex
10129 maybe-all-flex:
10130 @if flex
10131 TARGET-flex=all
10132 maybe-all-flex: all-flex
10133 all-flex: configure-flex
10134 @$(unstage)
10135 @r=`${PWD_COMMAND}`; export r; \
10136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10137 $(HOST_EXPORTS) \
10138 (cd $(HOST_SUBDIR)/flex && \
10139 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10140 @endif flex
10145 .PHONY: check-flex maybe-check-flex
10146 maybe-check-flex:
10147 @if flex
10148 maybe-check-flex: check-flex
10150 # This module is only tested in a native toolchain.
10151 check-flex:
10152 @$(unstage)
10153 @if [ '$(host)' = '$(target)' ] ; then \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 (cd $(HOST_SUBDIR)/flex && \
10158 $(MAKE) $(FLAGS_TO_PASS) check); \
10161 @endif flex
10163 .PHONY: install-flex maybe-install-flex
10164 maybe-install-flex:
10165 @if flex
10166 maybe-install-flex: install-flex
10168 install-flex: installdirs
10169 @$(unstage)
10170 @r=`${PWD_COMMAND}`; export r; \
10171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10172 $(HOST_EXPORTS) \
10173 (cd $(HOST_SUBDIR)/flex && \
10174 $(MAKE) $(FLAGS_TO_PASS) install)
10176 @endif flex
10178 # Other targets (info, dvi, etc.)
10180 .PHONY: maybe-info-flex info-flex
10181 maybe-info-flex:
10182 @if flex
10183 maybe-info-flex: info-flex
10185 info-flex: \
10186 configure-flex
10187 @$(unstage)
10188 @[ -f ./flex/Makefile ] || exit 0; \
10189 r=`${PWD_COMMAND}`; export r; \
10190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10191 $(HOST_EXPORTS) \
10192 for flag in $(EXTRA_HOST_FLAGS) ; do \
10193 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10194 done; \
10195 echo "Doing info in flex" ; \
10196 (cd $(HOST_SUBDIR)/flex && \
10197 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10198 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10199 "RANLIB=$${RANLIB}" \
10200 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10201 info) \
10202 || exit 1
10204 @endif flex
10206 .PHONY: maybe-dvi-flex dvi-flex
10207 maybe-dvi-flex:
10208 @if flex
10209 maybe-dvi-flex: dvi-flex
10211 dvi-flex: \
10212 configure-flex
10213 @$(unstage)
10214 @[ -f ./flex/Makefile ] || exit 0; \
10215 r=`${PWD_COMMAND}`; export r; \
10216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10217 $(HOST_EXPORTS) \
10218 for flag in $(EXTRA_HOST_FLAGS) ; do \
10219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10220 done; \
10221 echo "Doing dvi in flex" ; \
10222 (cd $(HOST_SUBDIR)/flex && \
10223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10225 "RANLIB=$${RANLIB}" \
10226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10227 dvi) \
10228 || exit 1
10230 @endif flex
10232 .PHONY: maybe-html-flex html-flex
10233 maybe-html-flex:
10234 @if flex
10235 maybe-html-flex: html-flex
10237 html-flex: \
10238 configure-flex
10239 @$(unstage)
10240 @[ -f ./flex/Makefile ] || exit 0; \
10241 r=`${PWD_COMMAND}`; export r; \
10242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10243 $(HOST_EXPORTS) \
10244 for flag in $(EXTRA_HOST_FLAGS) ; do \
10245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10246 done; \
10247 echo "Doing html in flex" ; \
10248 (cd $(HOST_SUBDIR)/flex && \
10249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10251 "RANLIB=$${RANLIB}" \
10252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10253 html) \
10254 || exit 1
10256 @endif flex
10258 .PHONY: maybe-TAGS-flex TAGS-flex
10259 maybe-TAGS-flex:
10260 @if flex
10261 maybe-TAGS-flex: TAGS-flex
10263 TAGS-flex: \
10264 configure-flex
10265 @$(unstage)
10266 @[ -f ./flex/Makefile ] || exit 0; \
10267 r=`${PWD_COMMAND}`; export r; \
10268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10269 $(HOST_EXPORTS) \
10270 for flag in $(EXTRA_HOST_FLAGS) ; do \
10271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10272 done; \
10273 echo "Doing TAGS in flex" ; \
10274 (cd $(HOST_SUBDIR)/flex && \
10275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10277 "RANLIB=$${RANLIB}" \
10278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10279 TAGS) \
10280 || exit 1
10282 @endif flex
10284 .PHONY: maybe-install-info-flex install-info-flex
10285 maybe-install-info-flex:
10286 @if flex
10287 maybe-install-info-flex: install-info-flex
10289 install-info-flex: \
10290 configure-flex \
10291 info-flex
10292 @$(unstage)
10293 @[ -f ./flex/Makefile ] || exit 0; \
10294 r=`${PWD_COMMAND}`; export r; \
10295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10296 $(HOST_EXPORTS) \
10297 for flag in $(EXTRA_HOST_FLAGS) ; do \
10298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10299 done; \
10300 echo "Doing install-info in flex" ; \
10301 (cd $(HOST_SUBDIR)/flex && \
10302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10304 "RANLIB=$${RANLIB}" \
10305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10306 install-info) \
10307 || exit 1
10309 @endif flex
10311 .PHONY: maybe-installcheck-flex installcheck-flex
10312 maybe-installcheck-flex:
10313 @if flex
10314 maybe-installcheck-flex: installcheck-flex
10316 installcheck-flex: \
10317 configure-flex
10318 @$(unstage)
10319 @[ -f ./flex/Makefile ] || exit 0; \
10320 r=`${PWD_COMMAND}`; export r; \
10321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10322 $(HOST_EXPORTS) \
10323 for flag in $(EXTRA_HOST_FLAGS) ; do \
10324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10325 done; \
10326 echo "Doing installcheck in flex" ; \
10327 (cd $(HOST_SUBDIR)/flex && \
10328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10330 "RANLIB=$${RANLIB}" \
10331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10332 installcheck) \
10333 || exit 1
10335 @endif flex
10337 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10338 maybe-mostlyclean-flex:
10339 @if flex
10340 maybe-mostlyclean-flex: mostlyclean-flex
10342 mostlyclean-flex:
10343 @$(unstage)
10344 @[ -f ./flex/Makefile ] || exit 0; \
10345 r=`${PWD_COMMAND}`; export r; \
10346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10347 $(HOST_EXPORTS) \
10348 for flag in $(EXTRA_HOST_FLAGS) ; do \
10349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10350 done; \
10351 echo "Doing mostlyclean in flex" ; \
10352 (cd $(HOST_SUBDIR)/flex && \
10353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10355 "RANLIB=$${RANLIB}" \
10356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10357 mostlyclean) \
10358 || exit 1
10360 @endif flex
10362 .PHONY: maybe-clean-flex clean-flex
10363 maybe-clean-flex:
10364 @if flex
10365 maybe-clean-flex: clean-flex
10367 clean-flex:
10368 @$(unstage)
10369 @[ -f ./flex/Makefile ] || exit 0; \
10370 r=`${PWD_COMMAND}`; export r; \
10371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10372 $(HOST_EXPORTS) \
10373 for flag in $(EXTRA_HOST_FLAGS) ; do \
10374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10375 done; \
10376 echo "Doing clean in flex" ; \
10377 (cd $(HOST_SUBDIR)/flex && \
10378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10380 "RANLIB=$${RANLIB}" \
10381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10382 clean) \
10383 || exit 1
10385 @endif flex
10387 .PHONY: maybe-distclean-flex distclean-flex
10388 maybe-distclean-flex:
10389 @if flex
10390 maybe-distclean-flex: distclean-flex
10392 distclean-flex:
10393 @$(unstage)
10394 @[ -f ./flex/Makefile ] || exit 0; \
10395 r=`${PWD_COMMAND}`; export r; \
10396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10397 $(HOST_EXPORTS) \
10398 for flag in $(EXTRA_HOST_FLAGS) ; do \
10399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10400 done; \
10401 echo "Doing distclean in flex" ; \
10402 (cd $(HOST_SUBDIR)/flex && \
10403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10405 "RANLIB=$${RANLIB}" \
10406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10407 distclean) \
10408 || exit 1
10410 @endif flex
10412 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10413 maybe-maintainer-clean-flex:
10414 @if flex
10415 maybe-maintainer-clean-flex: maintainer-clean-flex
10417 maintainer-clean-flex:
10418 @$(unstage)
10419 @[ -f ./flex/Makefile ] || exit 0; \
10420 r=`${PWD_COMMAND}`; export r; \
10421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10422 $(HOST_EXPORTS) \
10423 for flag in $(EXTRA_HOST_FLAGS) ; do \
10424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10425 done; \
10426 echo "Doing maintainer-clean in flex" ; \
10427 (cd $(HOST_SUBDIR)/flex && \
10428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10430 "RANLIB=$${RANLIB}" \
10431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10432 maintainer-clean) \
10433 || exit 1
10435 @endif flex
10439 .PHONY: configure-gas maybe-configure-gas
10440 maybe-configure-gas:
10441 @if gas
10442 maybe-configure-gas: configure-gas
10443 configure-gas:
10444 @test -f stage_last && exit 0; \
10445 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10446 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10447 r=`${PWD_COMMAND}`; export r; \
10448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10449 $(HOST_EXPORTS) \
10450 echo Configuring in $(HOST_SUBDIR)/gas; \
10451 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10452 case $(srcdir) in \
10453 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10454 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10455 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10456 esac; \
10457 srcdiroption="--srcdir=$${topdir}/gas"; \
10458 libsrcdir="$$s/gas"; \
10459 $(SHELL) $${libsrcdir}/configure \
10460 $(HOST_CONFIGARGS) $${srcdiroption} \
10461 || exit 1
10462 @endif gas
10466 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10467 maybe-configure-stage1-gas:
10468 @if gas-bootstrap
10469 maybe-configure-stage1-gas: configure-stage1-gas
10470 configure-stage1-gas:
10471 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10472 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10473 r=`${PWD_COMMAND}`; export r; \
10474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10475 $(HOST_EXPORTS) \
10476 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10477 cd $(HOST_SUBDIR)/gas || exit 1; \
10478 case $(srcdir) in \
10479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10480 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10482 esac; \
10483 srcdiroption="--srcdir=$${topdir}/gas"; \
10484 libsrcdir="$$s/gas"; \
10485 $(SHELL) $${libsrcdir}/configure \
10486 $(HOST_CONFIGARGS) $${srcdiroption} \
10487 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10488 @endif gas-bootstrap
10490 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10491 maybe-configure-stage2-gas:
10492 @if gas-bootstrap
10493 maybe-configure-stage2-gas: configure-stage2-gas
10494 configure-stage2-gas:
10495 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10496 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10497 r=`${PWD_COMMAND}`; export r; \
10498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10499 $(HOST_EXPORTS) \
10500 $(POSTSTAGE1_HOST_EXPORTS) \
10501 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10502 cd $(HOST_SUBDIR)/gas || exit 1; \
10503 case $(srcdir) in \
10504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10505 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10507 esac; \
10508 srcdiroption="--srcdir=$${topdir}/gas"; \
10509 libsrcdir="$$s/gas"; \
10510 $(SHELL) $${libsrcdir}/configure \
10511 $(HOST_CONFIGARGS) $${srcdiroption} \
10512 @stage2_werror_flag@
10513 @endif gas-bootstrap
10515 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10516 maybe-configure-stage3-gas:
10517 @if gas-bootstrap
10518 maybe-configure-stage3-gas: configure-stage3-gas
10519 configure-stage3-gas:
10520 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10521 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10522 r=`${PWD_COMMAND}`; export r; \
10523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10524 $(HOST_EXPORTS) \
10525 $(POSTSTAGE1_HOST_EXPORTS) \
10526 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10527 cd $(HOST_SUBDIR)/gas || exit 1; \
10528 case $(srcdir) in \
10529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10530 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10532 esac; \
10533 srcdiroption="--srcdir=$${topdir}/gas"; \
10534 libsrcdir="$$s/gas"; \
10535 $(SHELL) $${libsrcdir}/configure \
10536 $(HOST_CONFIGARGS) $${srcdiroption} \
10537 @stage2_werror_flag@
10538 @endif gas-bootstrap
10540 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10541 maybe-configure-stage4-gas:
10542 @if gas-bootstrap
10543 maybe-configure-stage4-gas: configure-stage4-gas
10544 configure-stage4-gas:
10545 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10546 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10547 r=`${PWD_COMMAND}`; export r; \
10548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10549 $(HOST_EXPORTS) \
10550 $(POSTSTAGE1_HOST_EXPORTS) \
10551 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10552 cd $(HOST_SUBDIR)/gas || exit 1; \
10553 case $(srcdir) in \
10554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10555 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10557 esac; \
10558 srcdiroption="--srcdir=$${topdir}/gas"; \
10559 libsrcdir="$$s/gas"; \
10560 $(SHELL) $${libsrcdir}/configure \
10561 $(HOST_CONFIGARGS) $${srcdiroption} \
10562 @stage2_werror_flag@
10563 @endif gas-bootstrap
10565 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10566 maybe-configure-stageprofile-gas:
10567 @if gas-bootstrap
10568 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10569 configure-stageprofile-gas:
10570 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10571 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10572 r=`${PWD_COMMAND}`; export r; \
10573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10574 $(HOST_EXPORTS) \
10575 $(POSTSTAGE1_HOST_EXPORTS) \
10576 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10577 cd $(HOST_SUBDIR)/gas || exit 1; \
10578 case $(srcdir) in \
10579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10580 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10582 esac; \
10583 srcdiroption="--srcdir=$${topdir}/gas"; \
10584 libsrcdir="$$s/gas"; \
10585 $(SHELL) $${libsrcdir}/configure \
10586 $(HOST_CONFIGARGS) $${srcdiroption} \
10587 @stage2_werror_flag@
10588 @endif gas-bootstrap
10590 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10591 maybe-configure-stagefeedback-gas:
10592 @if gas-bootstrap
10593 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10594 configure-stagefeedback-gas:
10595 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10596 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10597 r=`${PWD_COMMAND}`; export r; \
10598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10599 $(HOST_EXPORTS) \
10600 $(POSTSTAGE1_HOST_EXPORTS) \
10601 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10602 cd $(HOST_SUBDIR)/gas || exit 1; \
10603 case $(srcdir) in \
10604 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10605 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10606 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10607 esac; \
10608 srcdiroption="--srcdir=$${topdir}/gas"; \
10609 libsrcdir="$$s/gas"; \
10610 $(SHELL) $${libsrcdir}/configure \
10611 $(HOST_CONFIGARGS) $${srcdiroption} \
10612 @stage2_werror_flag@
10613 @endif gas-bootstrap
10619 .PHONY: all-gas maybe-all-gas
10620 maybe-all-gas:
10621 @if gas
10622 TARGET-gas=all
10623 maybe-all-gas: all-gas
10624 all-gas: configure-gas
10625 @test -f stage_last && exit 0; \
10626 r=`${PWD_COMMAND}`; export r; \
10627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10628 $(HOST_EXPORTS) \
10629 (cd $(HOST_SUBDIR)/gas && \
10630 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10631 @endif gas
10635 .PHONY: all-stage1-gas maybe-all-stage1-gas
10636 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10637 maybe-all-stage1-gas:
10638 maybe-clean-stage1-gas:
10639 @if gas-bootstrap
10640 maybe-all-stage1-gas: all-stage1-gas
10641 all-stage1: all-stage1-gas
10642 TARGET-stage1-gas = $(TARGET-gas)
10643 all-stage1-gas: configure-stage1-gas
10644 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10645 @r=`${PWD_COMMAND}`; export r; \
10646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10647 $(HOST_EXPORTS) \
10648 cd $(HOST_SUBDIR)/gas && \
10649 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10650 $(TARGET-stage1-gas)
10652 maybe-clean-stage1-gas: clean-stage1-gas
10653 clean-stage1: clean-stage1-gas
10654 clean-stage1-gas:
10655 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10656 || exit 0 ; \
10657 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10658 cd $(HOST_SUBDIR)/gas && \
10659 $(MAKE) $(FLAGS_TO_PASS) \
10660 CFLAGS="$(STAGE1_CFLAGS)" clean
10661 @endif gas-bootstrap
10664 .PHONY: all-stage2-gas maybe-all-stage2-gas
10665 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10666 maybe-all-stage2-gas:
10667 maybe-clean-stage2-gas:
10668 @if gas-bootstrap
10669 maybe-all-stage2-gas: all-stage2-gas
10670 all-stage2: all-stage2-gas
10671 TARGET-stage2-gas = $(TARGET-gas)
10672 all-stage2-gas: configure-stage2-gas
10673 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10674 @r=`${PWD_COMMAND}`; export r; \
10675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10676 $(HOST_EXPORTS) \
10677 $(POSTSTAGE1_HOST_EXPORTS) \
10678 cd $(HOST_SUBDIR)/gas && \
10679 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10680 $(TARGET-stage2-gas)
10682 maybe-clean-stage2-gas: clean-stage2-gas
10683 clean-stage2: clean-stage2-gas
10684 clean-stage2-gas:
10685 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10686 || exit 0 ; \
10687 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10688 cd $(HOST_SUBDIR)/gas && \
10689 $(MAKE) $(FLAGS_TO_PASS) \
10690 $(POSTSTAGE1_FLAGS_TO_PASS) \
10691 clean
10692 @endif gas-bootstrap
10695 .PHONY: all-stage3-gas maybe-all-stage3-gas
10696 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10697 maybe-all-stage3-gas:
10698 maybe-clean-stage3-gas:
10699 @if gas-bootstrap
10700 maybe-all-stage3-gas: all-stage3-gas
10701 all-stage3: all-stage3-gas
10702 TARGET-stage3-gas = $(TARGET-gas)
10703 all-stage3-gas: configure-stage3-gas
10704 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10705 @r=`${PWD_COMMAND}`; export r; \
10706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10707 $(HOST_EXPORTS) \
10708 $(POSTSTAGE1_HOST_EXPORTS) \
10709 cd $(HOST_SUBDIR)/gas && \
10710 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10711 $(TARGET-stage3-gas)
10713 maybe-clean-stage3-gas: clean-stage3-gas
10714 clean-stage3: clean-stage3-gas
10715 clean-stage3-gas:
10716 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10717 || exit 0 ; \
10718 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10719 cd $(HOST_SUBDIR)/gas && \
10720 $(MAKE) $(FLAGS_TO_PASS) \
10721 $(POSTSTAGE1_FLAGS_TO_PASS) \
10722 clean
10723 @endif gas-bootstrap
10726 .PHONY: all-stage4-gas maybe-all-stage4-gas
10727 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10728 maybe-all-stage4-gas:
10729 maybe-clean-stage4-gas:
10730 @if gas-bootstrap
10731 maybe-all-stage4-gas: all-stage4-gas
10732 all-stage4: all-stage4-gas
10733 TARGET-stage4-gas = $(TARGET-gas)
10734 all-stage4-gas: configure-stage4-gas
10735 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10736 @r=`${PWD_COMMAND}`; export r; \
10737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10738 $(HOST_EXPORTS) \
10739 $(POSTSTAGE1_HOST_EXPORTS) \
10740 cd $(HOST_SUBDIR)/gas && \
10741 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10742 $(TARGET-stage4-gas)
10744 maybe-clean-stage4-gas: clean-stage4-gas
10745 clean-stage4: clean-stage4-gas
10746 clean-stage4-gas:
10747 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10748 || exit 0 ; \
10749 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10750 cd $(HOST_SUBDIR)/gas && \
10751 $(MAKE) $(FLAGS_TO_PASS) \
10752 $(POSTSTAGE1_FLAGS_TO_PASS) \
10753 clean
10754 @endif gas-bootstrap
10757 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10758 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10759 maybe-all-stageprofile-gas:
10760 maybe-clean-stageprofile-gas:
10761 @if gas-bootstrap
10762 maybe-all-stageprofile-gas: all-stageprofile-gas
10763 all-stageprofile: all-stageprofile-gas
10764 TARGET-stageprofile-gas = $(TARGET-gas)
10765 all-stageprofile-gas: configure-stageprofile-gas
10766 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10767 @r=`${PWD_COMMAND}`; export r; \
10768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10769 $(HOST_EXPORTS) \
10770 $(POSTSTAGE1_HOST_EXPORTS) \
10771 cd $(HOST_SUBDIR)/gas && \
10772 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10773 $(TARGET-stageprofile-gas)
10775 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10776 clean-stageprofile: clean-stageprofile-gas
10777 clean-stageprofile-gas:
10778 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10779 || exit 0 ; \
10780 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10781 cd $(HOST_SUBDIR)/gas && \
10782 $(MAKE) $(FLAGS_TO_PASS) \
10783 $(POSTSTAGE1_FLAGS_TO_PASS) \
10784 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10785 @endif gas-bootstrap
10788 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10789 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10790 maybe-all-stagefeedback-gas:
10791 maybe-clean-stagefeedback-gas:
10792 @if gas-bootstrap
10793 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10794 all-stagefeedback: all-stagefeedback-gas
10795 TARGET-stagefeedback-gas = $(TARGET-gas)
10796 all-stagefeedback-gas: configure-stagefeedback-gas
10797 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10798 @r=`${PWD_COMMAND}`; export r; \
10799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10800 $(HOST_EXPORTS) \
10801 $(POSTSTAGE1_HOST_EXPORTS) \
10802 cd $(HOST_SUBDIR)/gas && \
10803 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10804 $(TARGET-stagefeedback-gas)
10806 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10807 clean-stagefeedback: clean-stagefeedback-gas
10808 clean-stagefeedback-gas:
10809 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10810 || exit 0 ; \
10811 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10812 cd $(HOST_SUBDIR)/gas && \
10813 $(MAKE) $(FLAGS_TO_PASS) \
10814 $(POSTSTAGE1_FLAGS_TO_PASS) \
10815 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10816 @endif gas-bootstrap
10822 .PHONY: check-gas maybe-check-gas
10823 maybe-check-gas:
10824 @if gas
10825 maybe-check-gas: check-gas
10827 check-gas:
10828 @$(unstage)
10829 @r=`${PWD_COMMAND}`; export r; \
10830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10831 $(HOST_EXPORTS) \
10832 (cd $(HOST_SUBDIR)/gas && \
10833 $(MAKE) $(FLAGS_TO_PASS) check)
10835 @endif gas
10837 .PHONY: install-gas maybe-install-gas
10838 maybe-install-gas:
10839 @if gas
10840 maybe-install-gas: install-gas
10842 install-gas: installdirs
10843 @$(unstage)
10844 @r=`${PWD_COMMAND}`; export r; \
10845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10846 $(HOST_EXPORTS) \
10847 (cd $(HOST_SUBDIR)/gas && \
10848 $(MAKE) $(FLAGS_TO_PASS) install)
10850 @endif gas
10852 # Other targets (info, dvi, etc.)
10854 .PHONY: maybe-info-gas info-gas
10855 maybe-info-gas:
10856 @if gas
10857 maybe-info-gas: info-gas
10859 info-gas: \
10860 configure-gas
10861 @[ -f ./gas/Makefile ] || exit 0; \
10862 r=`${PWD_COMMAND}`; export r; \
10863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10864 $(HOST_EXPORTS) \
10865 for flag in $(EXTRA_HOST_FLAGS) ; do \
10866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10867 done; \
10868 echo "Doing info in gas" ; \
10869 (cd $(HOST_SUBDIR)/gas && \
10870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10872 "RANLIB=$${RANLIB}" \
10873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10874 info) \
10875 || exit 1
10877 @endif gas
10879 .PHONY: maybe-dvi-gas dvi-gas
10880 maybe-dvi-gas:
10881 @if gas
10882 maybe-dvi-gas: dvi-gas
10884 dvi-gas: \
10885 configure-gas
10886 @[ -f ./gas/Makefile ] || exit 0; \
10887 r=`${PWD_COMMAND}`; export r; \
10888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10889 $(HOST_EXPORTS) \
10890 for flag in $(EXTRA_HOST_FLAGS) ; do \
10891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10892 done; \
10893 echo "Doing dvi in gas" ; \
10894 (cd $(HOST_SUBDIR)/gas && \
10895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10897 "RANLIB=$${RANLIB}" \
10898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10899 dvi) \
10900 || exit 1
10902 @endif gas
10904 .PHONY: maybe-html-gas html-gas
10905 maybe-html-gas:
10906 @if gas
10907 maybe-html-gas: html-gas
10909 html-gas: \
10910 configure-gas
10911 @[ -f ./gas/Makefile ] || exit 0; \
10912 r=`${PWD_COMMAND}`; export r; \
10913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10914 $(HOST_EXPORTS) \
10915 for flag in $(EXTRA_HOST_FLAGS) ; do \
10916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10917 done; \
10918 echo "Doing html in gas" ; \
10919 (cd $(HOST_SUBDIR)/gas && \
10920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10922 "RANLIB=$${RANLIB}" \
10923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10924 html) \
10925 || exit 1
10927 @endif gas
10929 .PHONY: maybe-TAGS-gas TAGS-gas
10930 maybe-TAGS-gas:
10931 @if gas
10932 maybe-TAGS-gas: TAGS-gas
10934 TAGS-gas: \
10935 configure-gas
10936 @[ -f ./gas/Makefile ] || exit 0; \
10937 r=`${PWD_COMMAND}`; export r; \
10938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10939 $(HOST_EXPORTS) \
10940 for flag in $(EXTRA_HOST_FLAGS) ; do \
10941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10942 done; \
10943 echo "Doing TAGS in gas" ; \
10944 (cd $(HOST_SUBDIR)/gas && \
10945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10947 "RANLIB=$${RANLIB}" \
10948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10949 TAGS) \
10950 || exit 1
10952 @endif gas
10954 .PHONY: maybe-install-info-gas install-info-gas
10955 maybe-install-info-gas:
10956 @if gas
10957 maybe-install-info-gas: install-info-gas
10959 install-info-gas: \
10960 configure-gas \
10961 info-gas
10962 @[ -f ./gas/Makefile ] || exit 0; \
10963 r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10965 $(HOST_EXPORTS) \
10966 for flag in $(EXTRA_HOST_FLAGS) ; do \
10967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10968 done; \
10969 echo "Doing install-info in gas" ; \
10970 (cd $(HOST_SUBDIR)/gas && \
10971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10973 "RANLIB=$${RANLIB}" \
10974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10975 install-info) \
10976 || exit 1
10978 @endif gas
10980 .PHONY: maybe-installcheck-gas installcheck-gas
10981 maybe-installcheck-gas:
10982 @if gas
10983 maybe-installcheck-gas: installcheck-gas
10985 installcheck-gas: \
10986 configure-gas
10987 @[ -f ./gas/Makefile ] || exit 0; \
10988 r=`${PWD_COMMAND}`; export r; \
10989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10990 $(HOST_EXPORTS) \
10991 for flag in $(EXTRA_HOST_FLAGS) ; do \
10992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10993 done; \
10994 echo "Doing installcheck in gas" ; \
10995 (cd $(HOST_SUBDIR)/gas && \
10996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10998 "RANLIB=$${RANLIB}" \
10999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11000 installcheck) \
11001 || exit 1
11003 @endif gas
11005 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
11006 maybe-mostlyclean-gas:
11007 @if gas
11008 maybe-mostlyclean-gas: mostlyclean-gas
11010 mostlyclean-gas:
11011 @[ -f ./gas/Makefile ] || exit 0; \
11012 r=`${PWD_COMMAND}`; export r; \
11013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11014 $(HOST_EXPORTS) \
11015 for flag in $(EXTRA_HOST_FLAGS) ; do \
11016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 done; \
11018 echo "Doing mostlyclean in gas" ; \
11019 (cd $(HOST_SUBDIR)/gas && \
11020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11022 "RANLIB=$${RANLIB}" \
11023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11024 mostlyclean) \
11025 || exit 1
11027 @endif gas
11029 .PHONY: maybe-clean-gas clean-gas
11030 maybe-clean-gas:
11031 @if gas
11032 maybe-clean-gas: clean-gas
11034 clean-gas:
11035 @[ -f ./gas/Makefile ] || exit 0; \
11036 r=`${PWD_COMMAND}`; export r; \
11037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11038 $(HOST_EXPORTS) \
11039 for flag in $(EXTRA_HOST_FLAGS) ; do \
11040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11041 done; \
11042 echo "Doing clean in gas" ; \
11043 (cd $(HOST_SUBDIR)/gas && \
11044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11046 "RANLIB=$${RANLIB}" \
11047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11048 clean) \
11049 || exit 1
11051 @endif gas
11053 .PHONY: maybe-distclean-gas distclean-gas
11054 maybe-distclean-gas:
11055 @if gas
11056 maybe-distclean-gas: distclean-gas
11058 distclean-gas:
11059 @[ -f ./gas/Makefile ] || exit 0; \
11060 r=`${PWD_COMMAND}`; export r; \
11061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11062 $(HOST_EXPORTS) \
11063 for flag in $(EXTRA_HOST_FLAGS) ; do \
11064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11065 done; \
11066 echo "Doing distclean in gas" ; \
11067 (cd $(HOST_SUBDIR)/gas && \
11068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11070 "RANLIB=$${RANLIB}" \
11071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11072 distclean) \
11073 || exit 1
11075 @endif gas
11077 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11078 maybe-maintainer-clean-gas:
11079 @if gas
11080 maybe-maintainer-clean-gas: maintainer-clean-gas
11082 maintainer-clean-gas:
11083 @[ -f ./gas/Makefile ] || exit 0; \
11084 r=`${PWD_COMMAND}`; export r; \
11085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11086 $(HOST_EXPORTS) \
11087 for flag in $(EXTRA_HOST_FLAGS) ; do \
11088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11089 done; \
11090 echo "Doing maintainer-clean in gas" ; \
11091 (cd $(HOST_SUBDIR)/gas && \
11092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11094 "RANLIB=$${RANLIB}" \
11095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11096 maintainer-clean) \
11097 || exit 1
11099 @endif gas
11103 .PHONY: configure-gcc maybe-configure-gcc
11104 maybe-configure-gcc:
11105 @if gcc
11106 maybe-configure-gcc: configure-gcc
11107 configure-gcc:
11108 @test -f stage_last && exit 0; \
11109 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11110 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11111 r=`${PWD_COMMAND}`; export r; \
11112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11113 $(HOST_EXPORTS) \
11114 echo Configuring in $(HOST_SUBDIR)/gcc; \
11115 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11116 case $(srcdir) in \
11117 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11118 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11119 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11120 esac; \
11121 srcdiroption="--srcdir=$${topdir}/gcc"; \
11122 libsrcdir="$$s/gcc"; \
11123 $(SHELL) $${libsrcdir}/configure \
11124 $(HOST_CONFIGARGS) $${srcdiroption} \
11125 || exit 1
11126 @endif gcc
11130 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11131 maybe-configure-stage1-gcc:
11132 @if gcc-bootstrap
11133 maybe-configure-stage1-gcc: configure-stage1-gcc
11134 configure-stage1-gcc:
11135 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11136 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11137 r=`${PWD_COMMAND}`; export r; \
11138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11139 $(HOST_EXPORTS) \
11140 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11141 cd $(HOST_SUBDIR)/gcc || exit 1; \
11142 case $(srcdir) in \
11143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11144 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11146 esac; \
11147 srcdiroption="--srcdir=$${topdir}/gcc"; \
11148 libsrcdir="$$s/gcc"; \
11149 $(SHELL) $${libsrcdir}/configure \
11150 $(HOST_CONFIGARGS) $${srcdiroption} \
11151 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11152 @endif gcc-bootstrap
11154 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11155 maybe-configure-stage2-gcc:
11156 @if gcc-bootstrap
11157 maybe-configure-stage2-gcc: configure-stage2-gcc
11158 configure-stage2-gcc:
11159 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11160 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11161 r=`${PWD_COMMAND}`; export r; \
11162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11163 $(HOST_EXPORTS) \
11164 $(POSTSTAGE1_HOST_EXPORTS) \
11165 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11166 cd $(HOST_SUBDIR)/gcc || exit 1; \
11167 case $(srcdir) in \
11168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11169 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11171 esac; \
11172 srcdiroption="--srcdir=$${topdir}/gcc"; \
11173 libsrcdir="$$s/gcc"; \
11174 $(SHELL) $${libsrcdir}/configure \
11175 $(HOST_CONFIGARGS) $${srcdiroption} \
11176 @stage2_werror_flag@
11177 @endif gcc-bootstrap
11179 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11180 maybe-configure-stage3-gcc:
11181 @if gcc-bootstrap
11182 maybe-configure-stage3-gcc: configure-stage3-gcc
11183 configure-stage3-gcc:
11184 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11185 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11186 r=`${PWD_COMMAND}`; export r; \
11187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11188 $(HOST_EXPORTS) \
11189 $(POSTSTAGE1_HOST_EXPORTS) \
11190 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11191 cd $(HOST_SUBDIR)/gcc || exit 1; \
11192 case $(srcdir) in \
11193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11194 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11196 esac; \
11197 srcdiroption="--srcdir=$${topdir}/gcc"; \
11198 libsrcdir="$$s/gcc"; \
11199 $(SHELL) $${libsrcdir}/configure \
11200 $(HOST_CONFIGARGS) $${srcdiroption} \
11201 @stage2_werror_flag@
11202 @endif gcc-bootstrap
11204 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11205 maybe-configure-stage4-gcc:
11206 @if gcc-bootstrap
11207 maybe-configure-stage4-gcc: configure-stage4-gcc
11208 configure-stage4-gcc:
11209 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11210 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11211 r=`${PWD_COMMAND}`; export r; \
11212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11213 $(HOST_EXPORTS) \
11214 $(POSTSTAGE1_HOST_EXPORTS) \
11215 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11216 cd $(HOST_SUBDIR)/gcc || exit 1; \
11217 case $(srcdir) in \
11218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11219 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11221 esac; \
11222 srcdiroption="--srcdir=$${topdir}/gcc"; \
11223 libsrcdir="$$s/gcc"; \
11224 $(SHELL) $${libsrcdir}/configure \
11225 $(HOST_CONFIGARGS) $${srcdiroption} \
11226 @stage2_werror_flag@
11227 @endif gcc-bootstrap
11229 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11230 maybe-configure-stageprofile-gcc:
11231 @if gcc-bootstrap
11232 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11233 configure-stageprofile-gcc:
11234 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11235 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11236 r=`${PWD_COMMAND}`; export r; \
11237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11238 $(HOST_EXPORTS) \
11239 $(POSTSTAGE1_HOST_EXPORTS) \
11240 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11241 cd $(HOST_SUBDIR)/gcc || exit 1; \
11242 case $(srcdir) in \
11243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11244 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11246 esac; \
11247 srcdiroption="--srcdir=$${topdir}/gcc"; \
11248 libsrcdir="$$s/gcc"; \
11249 $(SHELL) $${libsrcdir}/configure \
11250 $(HOST_CONFIGARGS) $${srcdiroption} \
11251 @stage2_werror_flag@
11252 @endif gcc-bootstrap
11254 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11255 maybe-configure-stagefeedback-gcc:
11256 @if gcc-bootstrap
11257 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11258 configure-stagefeedback-gcc:
11259 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11260 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11261 r=`${PWD_COMMAND}`; export r; \
11262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11263 $(HOST_EXPORTS) \
11264 $(POSTSTAGE1_HOST_EXPORTS) \
11265 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11266 cd $(HOST_SUBDIR)/gcc || exit 1; \
11267 case $(srcdir) in \
11268 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11269 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11270 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11271 esac; \
11272 srcdiroption="--srcdir=$${topdir}/gcc"; \
11273 libsrcdir="$$s/gcc"; \
11274 $(SHELL) $${libsrcdir}/configure \
11275 $(HOST_CONFIGARGS) $${srcdiroption} \
11276 @stage2_werror_flag@
11277 @endif gcc-bootstrap
11283 .PHONY: all-gcc maybe-all-gcc
11284 maybe-all-gcc:
11285 @if gcc
11286 TARGET-gcc=`if [ -f stage_last ]; then echo quickstrap ; else echo all; fi`
11287 maybe-all-gcc: all-gcc
11288 all-gcc: configure-gcc
11289 @test -f stage_last && exit 0; \
11290 r=`${PWD_COMMAND}`; export r; \
11291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11292 $(HOST_EXPORTS) \
11293 (cd $(HOST_SUBDIR)/gcc && \
11294 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11295 @endif gcc
11299 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11300 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11301 maybe-all-stage1-gcc:
11302 maybe-clean-stage1-gcc:
11303 @if gcc-bootstrap
11304 maybe-all-stage1-gcc: all-stage1-gcc
11305 all-stage1: all-stage1-gcc
11306 TARGET-stage1-gcc = $(TARGET-gcc)
11307 all-stage1-gcc: configure-stage1-gcc
11308 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11309 @r=`${PWD_COMMAND}`; export r; \
11310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11311 $(HOST_EXPORTS) \
11312 cd $(HOST_SUBDIR)/gcc && \
11313 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11314 $(TARGET-stage1-gcc)
11316 maybe-clean-stage1-gcc: clean-stage1-gcc
11317 clean-stage1: clean-stage1-gcc
11318 clean-stage1-gcc:
11319 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11320 || exit 0 ; \
11321 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11322 cd $(HOST_SUBDIR)/gcc && \
11323 $(MAKE) $(FLAGS_TO_PASS) \
11324 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11325 @endif gcc-bootstrap
11328 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11329 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11330 maybe-all-stage2-gcc:
11331 maybe-clean-stage2-gcc:
11332 @if gcc-bootstrap
11333 maybe-all-stage2-gcc: all-stage2-gcc
11334 all-stage2: all-stage2-gcc
11335 TARGET-stage2-gcc = $(TARGET-gcc)
11336 all-stage2-gcc: configure-stage2-gcc
11337 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11338 @r=`${PWD_COMMAND}`; export r; \
11339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11340 $(HOST_EXPORTS) \
11341 $(POSTSTAGE1_HOST_EXPORTS) \
11342 cd $(HOST_SUBDIR)/gcc && \
11343 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11344 $(TARGET-stage2-gcc)
11346 maybe-clean-stage2-gcc: clean-stage2-gcc
11347 clean-stage2: clean-stage2-gcc
11348 clean-stage2-gcc:
11349 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11350 || exit 0 ; \
11351 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11352 cd $(HOST_SUBDIR)/gcc && \
11353 $(MAKE) $(FLAGS_TO_PASS) \
11354 $(POSTSTAGE1_FLAGS_TO_PASS) \
11355 $(EXTRA_GCC_FLAGS) clean
11356 @endif gcc-bootstrap
11359 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11360 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11361 maybe-all-stage3-gcc:
11362 maybe-clean-stage3-gcc:
11363 @if gcc-bootstrap
11364 maybe-all-stage3-gcc: all-stage3-gcc
11365 all-stage3: all-stage3-gcc
11366 TARGET-stage3-gcc = $(TARGET-gcc)
11367 all-stage3-gcc: configure-stage3-gcc
11368 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11369 @r=`${PWD_COMMAND}`; export r; \
11370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11371 $(HOST_EXPORTS) \
11372 $(POSTSTAGE1_HOST_EXPORTS) \
11373 cd $(HOST_SUBDIR)/gcc && \
11374 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11375 $(TARGET-stage3-gcc)
11377 maybe-clean-stage3-gcc: clean-stage3-gcc
11378 clean-stage3: clean-stage3-gcc
11379 clean-stage3-gcc:
11380 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11381 || exit 0 ; \
11382 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11383 cd $(HOST_SUBDIR)/gcc && \
11384 $(MAKE) $(FLAGS_TO_PASS) \
11385 $(POSTSTAGE1_FLAGS_TO_PASS) \
11386 $(EXTRA_GCC_FLAGS) clean
11387 @endif gcc-bootstrap
11390 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11391 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11392 maybe-all-stage4-gcc:
11393 maybe-clean-stage4-gcc:
11394 @if gcc-bootstrap
11395 maybe-all-stage4-gcc: all-stage4-gcc
11396 all-stage4: all-stage4-gcc
11397 TARGET-stage4-gcc = $(TARGET-gcc)
11398 all-stage4-gcc: configure-stage4-gcc
11399 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11400 @r=`${PWD_COMMAND}`; export r; \
11401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11402 $(HOST_EXPORTS) \
11403 $(POSTSTAGE1_HOST_EXPORTS) \
11404 cd $(HOST_SUBDIR)/gcc && \
11405 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11406 $(TARGET-stage4-gcc)
11408 maybe-clean-stage4-gcc: clean-stage4-gcc
11409 clean-stage4: clean-stage4-gcc
11410 clean-stage4-gcc:
11411 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11412 || exit 0 ; \
11413 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11414 cd $(HOST_SUBDIR)/gcc && \
11415 $(MAKE) $(FLAGS_TO_PASS) \
11416 $(POSTSTAGE1_FLAGS_TO_PASS) \
11417 $(EXTRA_GCC_FLAGS) clean
11418 @endif gcc-bootstrap
11421 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11422 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11423 maybe-all-stageprofile-gcc:
11424 maybe-clean-stageprofile-gcc:
11425 @if gcc-bootstrap
11426 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11427 all-stageprofile: all-stageprofile-gcc
11428 TARGET-stageprofile-gcc = $(TARGET-gcc)
11429 all-stageprofile-gcc: configure-stageprofile-gcc
11430 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11431 @r=`${PWD_COMMAND}`; export r; \
11432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11433 $(HOST_EXPORTS) \
11434 $(POSTSTAGE1_HOST_EXPORTS) \
11435 cd $(HOST_SUBDIR)/gcc && \
11436 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11437 $(TARGET-stageprofile-gcc)
11439 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11440 clean-stageprofile: clean-stageprofile-gcc
11441 clean-stageprofile-gcc:
11442 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11443 || exit 0 ; \
11444 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11445 cd $(HOST_SUBDIR)/gcc && \
11446 $(MAKE) $(FLAGS_TO_PASS) \
11447 $(POSTSTAGE1_FLAGS_TO_PASS) \
11448 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11449 @endif gcc-bootstrap
11452 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11453 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11454 maybe-all-stagefeedback-gcc:
11455 maybe-clean-stagefeedback-gcc:
11456 @if gcc-bootstrap
11457 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11458 all-stagefeedback: all-stagefeedback-gcc
11459 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11460 all-stagefeedback-gcc: configure-stagefeedback-gcc
11461 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11462 @r=`${PWD_COMMAND}`; export r; \
11463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11464 $(HOST_EXPORTS) \
11465 $(POSTSTAGE1_HOST_EXPORTS) \
11466 cd $(HOST_SUBDIR)/gcc && \
11467 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11468 $(TARGET-stagefeedback-gcc)
11470 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11471 clean-stagefeedback: clean-stagefeedback-gcc
11472 clean-stagefeedback-gcc:
11473 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11474 || exit 0 ; \
11475 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11476 cd $(HOST_SUBDIR)/gcc && \
11477 $(MAKE) $(FLAGS_TO_PASS) \
11478 $(POSTSTAGE1_FLAGS_TO_PASS) \
11479 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11480 @endif gcc-bootstrap
11486 .PHONY: check-gcc maybe-check-gcc
11487 maybe-check-gcc:
11488 @if gcc
11489 maybe-check-gcc: check-gcc
11491 check-gcc:
11492 @$(unstage)
11493 @r=`${PWD_COMMAND}`; export r; \
11494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11495 $(HOST_EXPORTS) \
11496 (cd $(HOST_SUBDIR)/gcc && \
11497 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11499 @endif gcc
11501 .PHONY: install-gcc maybe-install-gcc
11502 maybe-install-gcc:
11503 @if gcc
11504 maybe-install-gcc: install-gcc
11506 install-gcc: installdirs
11507 @$(unstage)
11508 @r=`${PWD_COMMAND}`; export r; \
11509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11510 $(HOST_EXPORTS) \
11511 (cd $(HOST_SUBDIR)/gcc && \
11512 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11514 @endif gcc
11516 # Other targets (info, dvi, etc.)
11518 .PHONY: maybe-info-gcc info-gcc
11519 maybe-info-gcc:
11520 @if gcc
11521 maybe-info-gcc: info-gcc
11523 info-gcc: \
11524 configure-gcc
11525 @[ -f ./gcc/Makefile ] || exit 0; \
11526 r=`${PWD_COMMAND}`; export r; \
11527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11528 $(HOST_EXPORTS) \
11529 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11531 done; \
11532 echo "Doing info in gcc" ; \
11533 (cd $(HOST_SUBDIR)/gcc && \
11534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11536 "RANLIB=$${RANLIB}" \
11537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11538 info) \
11539 || exit 1
11541 @endif gcc
11543 .PHONY: maybe-dvi-gcc dvi-gcc
11544 maybe-dvi-gcc:
11545 @if gcc
11546 maybe-dvi-gcc: dvi-gcc
11548 dvi-gcc: \
11549 configure-gcc
11550 @[ -f ./gcc/Makefile ] || exit 0; \
11551 r=`${PWD_COMMAND}`; export r; \
11552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11553 $(HOST_EXPORTS) \
11554 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11556 done; \
11557 echo "Doing dvi in gcc" ; \
11558 (cd $(HOST_SUBDIR)/gcc && \
11559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11561 "RANLIB=$${RANLIB}" \
11562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11563 dvi) \
11564 || exit 1
11566 @endif gcc
11568 .PHONY: maybe-html-gcc html-gcc
11569 maybe-html-gcc:
11570 @if gcc
11571 maybe-html-gcc: html-gcc
11573 html-gcc: \
11574 configure-gcc
11575 @[ -f ./gcc/Makefile ] || exit 0; \
11576 r=`${PWD_COMMAND}`; export r; \
11577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11578 $(HOST_EXPORTS) \
11579 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11581 done; \
11582 echo "Doing html in gcc" ; \
11583 (cd $(HOST_SUBDIR)/gcc && \
11584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11586 "RANLIB=$${RANLIB}" \
11587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11588 html) \
11589 || exit 1
11591 @endif gcc
11593 .PHONY: maybe-TAGS-gcc TAGS-gcc
11594 maybe-TAGS-gcc:
11595 @if gcc
11596 maybe-TAGS-gcc: TAGS-gcc
11598 TAGS-gcc: \
11599 configure-gcc
11600 @[ -f ./gcc/Makefile ] || exit 0; \
11601 r=`${PWD_COMMAND}`; export r; \
11602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11603 $(HOST_EXPORTS) \
11604 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11606 done; \
11607 echo "Doing TAGS in gcc" ; \
11608 (cd $(HOST_SUBDIR)/gcc && \
11609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11611 "RANLIB=$${RANLIB}" \
11612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11613 TAGS) \
11614 || exit 1
11616 @endif gcc
11618 .PHONY: maybe-install-info-gcc install-info-gcc
11619 maybe-install-info-gcc:
11620 @if gcc
11621 maybe-install-info-gcc: install-info-gcc
11623 install-info-gcc: \
11624 configure-gcc \
11625 info-gcc
11626 @[ -f ./gcc/Makefile ] || exit 0; \
11627 r=`${PWD_COMMAND}`; export r; \
11628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11629 $(HOST_EXPORTS) \
11630 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11632 done; \
11633 echo "Doing install-info in gcc" ; \
11634 (cd $(HOST_SUBDIR)/gcc && \
11635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11637 "RANLIB=$${RANLIB}" \
11638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11639 install-info) \
11640 || exit 1
11642 @endif gcc
11644 .PHONY: maybe-installcheck-gcc installcheck-gcc
11645 maybe-installcheck-gcc:
11646 @if gcc
11647 maybe-installcheck-gcc: installcheck-gcc
11649 installcheck-gcc: \
11650 configure-gcc
11651 @[ -f ./gcc/Makefile ] || exit 0; \
11652 r=`${PWD_COMMAND}`; export r; \
11653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11654 $(HOST_EXPORTS) \
11655 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11657 done; \
11658 echo "Doing installcheck in gcc" ; \
11659 (cd $(HOST_SUBDIR)/gcc && \
11660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11662 "RANLIB=$${RANLIB}" \
11663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11664 installcheck) \
11665 || exit 1
11667 @endif gcc
11669 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11670 maybe-mostlyclean-gcc:
11671 @if gcc
11672 maybe-mostlyclean-gcc: mostlyclean-gcc
11674 mostlyclean-gcc:
11675 @[ -f ./gcc/Makefile ] || exit 0; \
11676 r=`${PWD_COMMAND}`; export r; \
11677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11678 $(HOST_EXPORTS) \
11679 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11681 done; \
11682 echo "Doing mostlyclean in gcc" ; \
11683 (cd $(HOST_SUBDIR)/gcc && \
11684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11686 "RANLIB=$${RANLIB}" \
11687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11688 mostlyclean) \
11689 || exit 1
11691 @endif gcc
11693 .PHONY: maybe-clean-gcc clean-gcc
11694 maybe-clean-gcc:
11695 @if gcc
11696 maybe-clean-gcc: clean-gcc
11698 clean-gcc:
11699 @[ -f ./gcc/Makefile ] || exit 0; \
11700 r=`${PWD_COMMAND}`; export r; \
11701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11702 $(HOST_EXPORTS) \
11703 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11705 done; \
11706 echo "Doing clean in gcc" ; \
11707 (cd $(HOST_SUBDIR)/gcc && \
11708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11710 "RANLIB=$${RANLIB}" \
11711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11712 clean) \
11713 || exit 1
11715 @endif gcc
11717 .PHONY: maybe-distclean-gcc distclean-gcc
11718 maybe-distclean-gcc:
11719 @if gcc
11720 maybe-distclean-gcc: distclean-gcc
11722 distclean-gcc:
11723 @[ -f ./gcc/Makefile ] || exit 0; \
11724 r=`${PWD_COMMAND}`; export r; \
11725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11726 $(HOST_EXPORTS) \
11727 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11729 done; \
11730 echo "Doing distclean in gcc" ; \
11731 (cd $(HOST_SUBDIR)/gcc && \
11732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11734 "RANLIB=$${RANLIB}" \
11735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11736 distclean) \
11737 || exit 1
11739 @endif gcc
11741 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11742 maybe-maintainer-clean-gcc:
11743 @if gcc
11744 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11746 maintainer-clean-gcc:
11747 @[ -f ./gcc/Makefile ] || exit 0; \
11748 r=`${PWD_COMMAND}`; export r; \
11749 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11750 $(HOST_EXPORTS) \
11751 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11753 done; \
11754 echo "Doing maintainer-clean in gcc" ; \
11755 (cd $(HOST_SUBDIR)/gcc && \
11756 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11757 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11758 "RANLIB=$${RANLIB}" \
11759 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11760 maintainer-clean) \
11761 || exit 1
11763 @endif gcc
11767 .PHONY: configure-gawk maybe-configure-gawk
11768 maybe-configure-gawk:
11769 @if gawk
11770 maybe-configure-gawk: configure-gawk
11771 configure-gawk:
11772 @$(unstage)
11773 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11774 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11775 r=`${PWD_COMMAND}`; export r; \
11776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11777 $(HOST_EXPORTS) \
11778 echo Configuring in $(HOST_SUBDIR)/gawk; \
11779 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11780 case $(srcdir) in \
11781 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11782 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11783 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11784 esac; \
11785 srcdiroption="--srcdir=$${topdir}/gawk"; \
11786 libsrcdir="$$s/gawk"; \
11787 $(SHELL) $${libsrcdir}/configure \
11788 $(HOST_CONFIGARGS) $${srcdiroption} \
11789 || exit 1
11790 @endif gawk
11796 .PHONY: all-gawk maybe-all-gawk
11797 maybe-all-gawk:
11798 @if gawk
11799 TARGET-gawk=all
11800 maybe-all-gawk: all-gawk
11801 all-gawk: configure-gawk
11802 @$(unstage)
11803 @r=`${PWD_COMMAND}`; export r; \
11804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11805 $(HOST_EXPORTS) \
11806 (cd $(HOST_SUBDIR)/gawk && \
11807 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11808 @endif gawk
11813 .PHONY: check-gawk maybe-check-gawk
11814 maybe-check-gawk:
11815 @if gawk
11816 maybe-check-gawk: check-gawk
11818 check-gawk:
11819 @$(unstage)
11820 @r=`${PWD_COMMAND}`; export r; \
11821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11822 $(HOST_EXPORTS) \
11823 (cd $(HOST_SUBDIR)/gawk && \
11824 $(MAKE) $(FLAGS_TO_PASS) check)
11826 @endif gawk
11828 .PHONY: install-gawk maybe-install-gawk
11829 maybe-install-gawk:
11830 @if gawk
11831 maybe-install-gawk: install-gawk
11833 install-gawk: installdirs
11834 @$(unstage)
11835 @r=`${PWD_COMMAND}`; export r; \
11836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11837 $(HOST_EXPORTS) \
11838 (cd $(HOST_SUBDIR)/gawk && \
11839 $(MAKE) $(FLAGS_TO_PASS) install)
11841 @endif gawk
11843 # Other targets (info, dvi, etc.)
11845 .PHONY: maybe-info-gawk info-gawk
11846 maybe-info-gawk:
11847 @if gawk
11848 maybe-info-gawk: info-gawk
11850 info-gawk: \
11851 configure-gawk
11852 @$(unstage)
11853 @[ -f ./gawk/Makefile ] || exit 0; \
11854 r=`${PWD_COMMAND}`; export r; \
11855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11856 $(HOST_EXPORTS) \
11857 for flag in $(EXTRA_HOST_FLAGS) ; do \
11858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11859 done; \
11860 echo "Doing info in gawk" ; \
11861 (cd $(HOST_SUBDIR)/gawk && \
11862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11864 "RANLIB=$${RANLIB}" \
11865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11866 info) \
11867 || exit 1
11869 @endif gawk
11871 .PHONY: maybe-dvi-gawk dvi-gawk
11872 maybe-dvi-gawk:
11873 @if gawk
11874 maybe-dvi-gawk: dvi-gawk
11876 dvi-gawk: \
11877 configure-gawk
11878 @$(unstage)
11879 @[ -f ./gawk/Makefile ] || exit 0; \
11880 r=`${PWD_COMMAND}`; export r; \
11881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11882 $(HOST_EXPORTS) \
11883 for flag in $(EXTRA_HOST_FLAGS) ; do \
11884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11885 done; \
11886 echo "Doing dvi in gawk" ; \
11887 (cd $(HOST_SUBDIR)/gawk && \
11888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11890 "RANLIB=$${RANLIB}" \
11891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11892 dvi) \
11893 || exit 1
11895 @endif gawk
11897 .PHONY: maybe-html-gawk html-gawk
11898 maybe-html-gawk:
11899 @if gawk
11900 maybe-html-gawk: html-gawk
11902 html-gawk: \
11903 configure-gawk
11904 @$(unstage)
11905 @[ -f ./gawk/Makefile ] || exit 0; \
11906 r=`${PWD_COMMAND}`; export r; \
11907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11908 $(HOST_EXPORTS) \
11909 for flag in $(EXTRA_HOST_FLAGS) ; do \
11910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11911 done; \
11912 echo "Doing html in gawk" ; \
11913 (cd $(HOST_SUBDIR)/gawk && \
11914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11916 "RANLIB=$${RANLIB}" \
11917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11918 html) \
11919 || exit 1
11921 @endif gawk
11923 .PHONY: maybe-TAGS-gawk TAGS-gawk
11924 maybe-TAGS-gawk:
11925 @if gawk
11926 maybe-TAGS-gawk: TAGS-gawk
11928 TAGS-gawk: \
11929 configure-gawk
11930 @$(unstage)
11931 @[ -f ./gawk/Makefile ] || exit 0; \
11932 r=`${PWD_COMMAND}`; export r; \
11933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11934 $(HOST_EXPORTS) \
11935 for flag in $(EXTRA_HOST_FLAGS) ; do \
11936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11937 done; \
11938 echo "Doing TAGS in gawk" ; \
11939 (cd $(HOST_SUBDIR)/gawk && \
11940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11942 "RANLIB=$${RANLIB}" \
11943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11944 TAGS) \
11945 || exit 1
11947 @endif gawk
11949 .PHONY: maybe-install-info-gawk install-info-gawk
11950 maybe-install-info-gawk:
11951 @if gawk
11952 maybe-install-info-gawk: install-info-gawk
11954 install-info-gawk: \
11955 configure-gawk \
11956 info-gawk
11957 @$(unstage)
11958 @[ -f ./gawk/Makefile ] || exit 0; \
11959 r=`${PWD_COMMAND}`; export r; \
11960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11961 $(HOST_EXPORTS) \
11962 for flag in $(EXTRA_HOST_FLAGS) ; do \
11963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11964 done; \
11965 echo "Doing install-info in gawk" ; \
11966 (cd $(HOST_SUBDIR)/gawk && \
11967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11969 "RANLIB=$${RANLIB}" \
11970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11971 install-info) \
11972 || exit 1
11974 @endif gawk
11976 .PHONY: maybe-installcheck-gawk installcheck-gawk
11977 maybe-installcheck-gawk:
11978 @if gawk
11979 maybe-installcheck-gawk: installcheck-gawk
11981 installcheck-gawk: \
11982 configure-gawk
11983 @$(unstage)
11984 @[ -f ./gawk/Makefile ] || exit 0; \
11985 r=`${PWD_COMMAND}`; export r; \
11986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11987 $(HOST_EXPORTS) \
11988 for flag in $(EXTRA_HOST_FLAGS) ; do \
11989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11990 done; \
11991 echo "Doing installcheck in gawk" ; \
11992 (cd $(HOST_SUBDIR)/gawk && \
11993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11995 "RANLIB=$${RANLIB}" \
11996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11997 installcheck) \
11998 || exit 1
12000 @endif gawk
12002 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
12003 maybe-mostlyclean-gawk:
12004 @if gawk
12005 maybe-mostlyclean-gawk: mostlyclean-gawk
12007 mostlyclean-gawk:
12008 @$(unstage)
12009 @[ -f ./gawk/Makefile ] || exit 0; \
12010 r=`${PWD_COMMAND}`; export r; \
12011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12012 $(HOST_EXPORTS) \
12013 for flag in $(EXTRA_HOST_FLAGS) ; do \
12014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12015 done; \
12016 echo "Doing mostlyclean in gawk" ; \
12017 (cd $(HOST_SUBDIR)/gawk && \
12018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12020 "RANLIB=$${RANLIB}" \
12021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12022 mostlyclean) \
12023 || exit 1
12025 @endif gawk
12027 .PHONY: maybe-clean-gawk clean-gawk
12028 maybe-clean-gawk:
12029 @if gawk
12030 maybe-clean-gawk: clean-gawk
12032 clean-gawk:
12033 @$(unstage)
12034 @[ -f ./gawk/Makefile ] || exit 0; \
12035 r=`${PWD_COMMAND}`; export r; \
12036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12037 $(HOST_EXPORTS) \
12038 for flag in $(EXTRA_HOST_FLAGS) ; do \
12039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12040 done; \
12041 echo "Doing clean in gawk" ; \
12042 (cd $(HOST_SUBDIR)/gawk && \
12043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12045 "RANLIB=$${RANLIB}" \
12046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12047 clean) \
12048 || exit 1
12050 @endif gawk
12052 .PHONY: maybe-distclean-gawk distclean-gawk
12053 maybe-distclean-gawk:
12054 @if gawk
12055 maybe-distclean-gawk: distclean-gawk
12057 distclean-gawk:
12058 @$(unstage)
12059 @[ -f ./gawk/Makefile ] || exit 0; \
12060 r=`${PWD_COMMAND}`; export r; \
12061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12062 $(HOST_EXPORTS) \
12063 for flag in $(EXTRA_HOST_FLAGS) ; do \
12064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12065 done; \
12066 echo "Doing distclean in gawk" ; \
12067 (cd $(HOST_SUBDIR)/gawk && \
12068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12070 "RANLIB=$${RANLIB}" \
12071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12072 distclean) \
12073 || exit 1
12075 @endif gawk
12077 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12078 maybe-maintainer-clean-gawk:
12079 @if gawk
12080 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12082 maintainer-clean-gawk:
12083 @$(unstage)
12084 @[ -f ./gawk/Makefile ] || exit 0; \
12085 r=`${PWD_COMMAND}`; export r; \
12086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12087 $(HOST_EXPORTS) \
12088 for flag in $(EXTRA_HOST_FLAGS) ; do \
12089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12090 done; \
12091 echo "Doing maintainer-clean in gawk" ; \
12092 (cd $(HOST_SUBDIR)/gawk && \
12093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12095 "RANLIB=$${RANLIB}" \
12096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12097 maintainer-clean) \
12098 || exit 1
12100 @endif gawk
12104 .PHONY: configure-gettext maybe-configure-gettext
12105 maybe-configure-gettext:
12106 @if gettext
12107 maybe-configure-gettext: configure-gettext
12108 configure-gettext:
12109 @$(unstage)
12110 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12111 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12112 r=`${PWD_COMMAND}`; export r; \
12113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12114 $(HOST_EXPORTS) \
12115 echo Configuring in $(HOST_SUBDIR)/gettext; \
12116 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12117 case $(srcdir) in \
12118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12119 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12121 esac; \
12122 srcdiroption="--srcdir=$${topdir}/gettext"; \
12123 libsrcdir="$$s/gettext"; \
12124 $(SHELL) $${libsrcdir}/configure \
12125 $(HOST_CONFIGARGS) $${srcdiroption} \
12126 || exit 1
12127 @endif gettext
12133 .PHONY: all-gettext maybe-all-gettext
12134 maybe-all-gettext:
12135 @if gettext
12136 TARGET-gettext=all
12137 maybe-all-gettext: all-gettext
12138 all-gettext: configure-gettext
12139 @$(unstage)
12140 @r=`${PWD_COMMAND}`; export r; \
12141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12142 $(HOST_EXPORTS) \
12143 (cd $(HOST_SUBDIR)/gettext && \
12144 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12145 @endif gettext
12150 .PHONY: check-gettext maybe-check-gettext
12151 maybe-check-gettext:
12152 @if gettext
12153 maybe-check-gettext: check-gettext
12155 check-gettext:
12156 @$(unstage)
12157 @r=`${PWD_COMMAND}`; export r; \
12158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12159 $(HOST_EXPORTS) \
12160 (cd $(HOST_SUBDIR)/gettext && \
12161 $(MAKE) $(FLAGS_TO_PASS) check)
12163 @endif gettext
12165 .PHONY: install-gettext maybe-install-gettext
12166 maybe-install-gettext:
12167 @if gettext
12168 maybe-install-gettext: install-gettext
12170 install-gettext: installdirs
12171 @$(unstage)
12172 @r=`${PWD_COMMAND}`; export r; \
12173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12174 $(HOST_EXPORTS) \
12175 (cd $(HOST_SUBDIR)/gettext && \
12176 $(MAKE) $(FLAGS_TO_PASS) install)
12178 @endif gettext
12180 # Other targets (info, dvi, etc.)
12182 .PHONY: maybe-info-gettext info-gettext
12183 maybe-info-gettext:
12184 @if gettext
12185 maybe-info-gettext: info-gettext
12187 info-gettext: \
12188 configure-gettext
12189 @$(unstage)
12190 @[ -f ./gettext/Makefile ] || exit 0; \
12191 r=`${PWD_COMMAND}`; export r; \
12192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12193 $(HOST_EXPORTS) \
12194 for flag in $(EXTRA_HOST_FLAGS) ; do \
12195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12196 done; \
12197 echo "Doing info in gettext" ; \
12198 (cd $(HOST_SUBDIR)/gettext && \
12199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12201 "RANLIB=$${RANLIB}" \
12202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12203 info) \
12204 || exit 1
12206 @endif gettext
12208 .PHONY: maybe-dvi-gettext dvi-gettext
12209 maybe-dvi-gettext:
12210 @if gettext
12211 maybe-dvi-gettext: dvi-gettext
12213 dvi-gettext: \
12214 configure-gettext
12215 @$(unstage)
12216 @[ -f ./gettext/Makefile ] || exit 0; \
12217 r=`${PWD_COMMAND}`; export r; \
12218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12219 $(HOST_EXPORTS) \
12220 for flag in $(EXTRA_HOST_FLAGS) ; do \
12221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12222 done; \
12223 echo "Doing dvi in gettext" ; \
12224 (cd $(HOST_SUBDIR)/gettext && \
12225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12227 "RANLIB=$${RANLIB}" \
12228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12229 dvi) \
12230 || exit 1
12232 @endif gettext
12234 .PHONY: maybe-html-gettext html-gettext
12235 maybe-html-gettext:
12236 @if gettext
12237 maybe-html-gettext: html-gettext
12239 html-gettext: \
12240 configure-gettext
12241 @$(unstage)
12242 @[ -f ./gettext/Makefile ] || exit 0; \
12243 r=`${PWD_COMMAND}`; export r; \
12244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12245 $(HOST_EXPORTS) \
12246 for flag in $(EXTRA_HOST_FLAGS) ; do \
12247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12248 done; \
12249 echo "Doing html in gettext" ; \
12250 (cd $(HOST_SUBDIR)/gettext && \
12251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12253 "RANLIB=$${RANLIB}" \
12254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12255 html) \
12256 || exit 1
12258 @endif gettext
12260 .PHONY: maybe-TAGS-gettext TAGS-gettext
12261 maybe-TAGS-gettext:
12262 @if gettext
12263 maybe-TAGS-gettext: TAGS-gettext
12265 TAGS-gettext: \
12266 configure-gettext
12267 @$(unstage)
12268 @[ -f ./gettext/Makefile ] || exit 0; \
12269 r=`${PWD_COMMAND}`; export r; \
12270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12271 $(HOST_EXPORTS) \
12272 for flag in $(EXTRA_HOST_FLAGS) ; do \
12273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12274 done; \
12275 echo "Doing TAGS in gettext" ; \
12276 (cd $(HOST_SUBDIR)/gettext && \
12277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12279 "RANLIB=$${RANLIB}" \
12280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12281 TAGS) \
12282 || exit 1
12284 @endif gettext
12286 .PHONY: maybe-install-info-gettext install-info-gettext
12287 maybe-install-info-gettext:
12288 @if gettext
12289 maybe-install-info-gettext: install-info-gettext
12291 install-info-gettext: \
12292 configure-gettext \
12293 info-gettext
12294 @$(unstage)
12295 @[ -f ./gettext/Makefile ] || exit 0; \
12296 r=`${PWD_COMMAND}`; export r; \
12297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12298 $(HOST_EXPORTS) \
12299 for flag in $(EXTRA_HOST_FLAGS) ; do \
12300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12301 done; \
12302 echo "Doing install-info in gettext" ; \
12303 (cd $(HOST_SUBDIR)/gettext && \
12304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12306 "RANLIB=$${RANLIB}" \
12307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12308 install-info) \
12309 || exit 1
12311 @endif gettext
12313 .PHONY: maybe-installcheck-gettext installcheck-gettext
12314 maybe-installcheck-gettext:
12315 @if gettext
12316 maybe-installcheck-gettext: installcheck-gettext
12318 installcheck-gettext: \
12319 configure-gettext
12320 @$(unstage)
12321 @[ -f ./gettext/Makefile ] || exit 0; \
12322 r=`${PWD_COMMAND}`; export r; \
12323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12324 $(HOST_EXPORTS) \
12325 for flag in $(EXTRA_HOST_FLAGS) ; do \
12326 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12327 done; \
12328 echo "Doing installcheck in gettext" ; \
12329 (cd $(HOST_SUBDIR)/gettext && \
12330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12332 "RANLIB=$${RANLIB}" \
12333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12334 installcheck) \
12335 || exit 1
12337 @endif gettext
12339 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12340 maybe-mostlyclean-gettext:
12341 @if gettext
12342 maybe-mostlyclean-gettext: mostlyclean-gettext
12344 mostlyclean-gettext:
12345 @$(unstage)
12346 @[ -f ./gettext/Makefile ] || exit 0; \
12347 r=`${PWD_COMMAND}`; export r; \
12348 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12349 $(HOST_EXPORTS) \
12350 for flag in $(EXTRA_HOST_FLAGS) ; do \
12351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12352 done; \
12353 echo "Doing mostlyclean in gettext" ; \
12354 (cd $(HOST_SUBDIR)/gettext && \
12355 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12356 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12357 "RANLIB=$${RANLIB}" \
12358 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12359 mostlyclean) \
12360 || exit 1
12362 @endif gettext
12364 .PHONY: maybe-clean-gettext clean-gettext
12365 maybe-clean-gettext:
12366 @if gettext
12367 maybe-clean-gettext: clean-gettext
12369 clean-gettext:
12370 @$(unstage)
12371 @[ -f ./gettext/Makefile ] || exit 0; \
12372 r=`${PWD_COMMAND}`; export r; \
12373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12374 $(HOST_EXPORTS) \
12375 for flag in $(EXTRA_HOST_FLAGS) ; do \
12376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12377 done; \
12378 echo "Doing clean in gettext" ; \
12379 (cd $(HOST_SUBDIR)/gettext && \
12380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12382 "RANLIB=$${RANLIB}" \
12383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12384 clean) \
12385 || exit 1
12387 @endif gettext
12389 .PHONY: maybe-distclean-gettext distclean-gettext
12390 maybe-distclean-gettext:
12391 @if gettext
12392 maybe-distclean-gettext: distclean-gettext
12394 distclean-gettext:
12395 @$(unstage)
12396 @[ -f ./gettext/Makefile ] || exit 0; \
12397 r=`${PWD_COMMAND}`; export r; \
12398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12399 $(HOST_EXPORTS) \
12400 for flag in $(EXTRA_HOST_FLAGS) ; do \
12401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12402 done; \
12403 echo "Doing distclean in gettext" ; \
12404 (cd $(HOST_SUBDIR)/gettext && \
12405 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12406 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12407 "RANLIB=$${RANLIB}" \
12408 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12409 distclean) \
12410 || exit 1
12412 @endif gettext
12414 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12415 maybe-maintainer-clean-gettext:
12416 @if gettext
12417 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12419 maintainer-clean-gettext:
12420 @$(unstage)
12421 @[ -f ./gettext/Makefile ] || exit 0; \
12422 r=`${PWD_COMMAND}`; export r; \
12423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12424 $(HOST_EXPORTS) \
12425 for flag in $(EXTRA_HOST_FLAGS) ; do \
12426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12427 done; \
12428 echo "Doing maintainer-clean in gettext" ; \
12429 (cd $(HOST_SUBDIR)/gettext && \
12430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12432 "RANLIB=$${RANLIB}" \
12433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12434 maintainer-clean) \
12435 || exit 1
12437 @endif gettext
12441 .PHONY: configure-gnuserv maybe-configure-gnuserv
12442 maybe-configure-gnuserv:
12443 @if gnuserv
12444 maybe-configure-gnuserv: configure-gnuserv
12445 configure-gnuserv:
12446 @$(unstage)
12447 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12449 r=`${PWD_COMMAND}`; export r; \
12450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12451 $(HOST_EXPORTS) \
12452 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12453 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12454 case $(srcdir) in \
12455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12456 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12458 esac; \
12459 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12460 libsrcdir="$$s/gnuserv"; \
12461 $(SHELL) $${libsrcdir}/configure \
12462 $(HOST_CONFIGARGS) $${srcdiroption} \
12463 || exit 1
12464 @endif gnuserv
12470 .PHONY: all-gnuserv maybe-all-gnuserv
12471 maybe-all-gnuserv:
12472 @if gnuserv
12473 TARGET-gnuserv=all
12474 maybe-all-gnuserv: all-gnuserv
12475 all-gnuserv: configure-gnuserv
12476 @$(unstage)
12477 @r=`${PWD_COMMAND}`; export r; \
12478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12479 $(HOST_EXPORTS) \
12480 (cd $(HOST_SUBDIR)/gnuserv && \
12481 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12482 @endif gnuserv
12487 .PHONY: check-gnuserv maybe-check-gnuserv
12488 maybe-check-gnuserv:
12489 @if gnuserv
12490 maybe-check-gnuserv: check-gnuserv
12492 check-gnuserv:
12493 @$(unstage)
12494 @r=`${PWD_COMMAND}`; export r; \
12495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12496 $(HOST_EXPORTS) \
12497 (cd $(HOST_SUBDIR)/gnuserv && \
12498 $(MAKE) $(FLAGS_TO_PASS) check)
12500 @endif gnuserv
12502 .PHONY: install-gnuserv maybe-install-gnuserv
12503 maybe-install-gnuserv:
12504 @if gnuserv
12505 maybe-install-gnuserv: install-gnuserv
12507 install-gnuserv: installdirs
12508 @$(unstage)
12509 @r=`${PWD_COMMAND}`; export r; \
12510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12511 $(HOST_EXPORTS) \
12512 (cd $(HOST_SUBDIR)/gnuserv && \
12513 $(MAKE) $(FLAGS_TO_PASS) install)
12515 @endif gnuserv
12517 # Other targets (info, dvi, etc.)
12519 .PHONY: maybe-info-gnuserv info-gnuserv
12520 maybe-info-gnuserv:
12521 @if gnuserv
12522 maybe-info-gnuserv: info-gnuserv
12524 info-gnuserv: \
12525 configure-gnuserv
12526 @$(unstage)
12527 @[ -f ./gnuserv/Makefile ] || exit 0; \
12528 r=`${PWD_COMMAND}`; export r; \
12529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12530 $(HOST_EXPORTS) \
12531 for flag in $(EXTRA_HOST_FLAGS) ; do \
12532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12533 done; \
12534 echo "Doing info in gnuserv" ; \
12535 (cd $(HOST_SUBDIR)/gnuserv && \
12536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12538 "RANLIB=$${RANLIB}" \
12539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12540 info) \
12541 || exit 1
12543 @endif gnuserv
12545 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12546 maybe-dvi-gnuserv:
12547 @if gnuserv
12548 maybe-dvi-gnuserv: dvi-gnuserv
12550 dvi-gnuserv: \
12551 configure-gnuserv
12552 @$(unstage)
12553 @[ -f ./gnuserv/Makefile ] || exit 0; \
12554 r=`${PWD_COMMAND}`; export r; \
12555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12556 $(HOST_EXPORTS) \
12557 for flag in $(EXTRA_HOST_FLAGS) ; do \
12558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12559 done; \
12560 echo "Doing dvi in gnuserv" ; \
12561 (cd $(HOST_SUBDIR)/gnuserv && \
12562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12564 "RANLIB=$${RANLIB}" \
12565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12566 dvi) \
12567 || exit 1
12569 @endif gnuserv
12571 .PHONY: maybe-html-gnuserv html-gnuserv
12572 maybe-html-gnuserv:
12573 @if gnuserv
12574 maybe-html-gnuserv: html-gnuserv
12576 html-gnuserv: \
12577 configure-gnuserv
12578 @$(unstage)
12579 @[ -f ./gnuserv/Makefile ] || exit 0; \
12580 r=`${PWD_COMMAND}`; export r; \
12581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12582 $(HOST_EXPORTS) \
12583 for flag in $(EXTRA_HOST_FLAGS) ; do \
12584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12585 done; \
12586 echo "Doing html in gnuserv" ; \
12587 (cd $(HOST_SUBDIR)/gnuserv && \
12588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12590 "RANLIB=$${RANLIB}" \
12591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12592 html) \
12593 || exit 1
12595 @endif gnuserv
12597 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12598 maybe-TAGS-gnuserv:
12599 @if gnuserv
12600 maybe-TAGS-gnuserv: TAGS-gnuserv
12602 TAGS-gnuserv: \
12603 configure-gnuserv
12604 @$(unstage)
12605 @[ -f ./gnuserv/Makefile ] || exit 0; \
12606 r=`${PWD_COMMAND}`; export r; \
12607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12608 $(HOST_EXPORTS) \
12609 for flag in $(EXTRA_HOST_FLAGS) ; do \
12610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12611 done; \
12612 echo "Doing TAGS in gnuserv" ; \
12613 (cd $(HOST_SUBDIR)/gnuserv && \
12614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12616 "RANLIB=$${RANLIB}" \
12617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12618 TAGS) \
12619 || exit 1
12621 @endif gnuserv
12623 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12624 maybe-install-info-gnuserv:
12625 @if gnuserv
12626 maybe-install-info-gnuserv: install-info-gnuserv
12628 install-info-gnuserv: \
12629 configure-gnuserv \
12630 info-gnuserv
12631 @$(unstage)
12632 @[ -f ./gnuserv/Makefile ] || exit 0; \
12633 r=`${PWD_COMMAND}`; export r; \
12634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12635 $(HOST_EXPORTS) \
12636 for flag in $(EXTRA_HOST_FLAGS) ; do \
12637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12638 done; \
12639 echo "Doing install-info in gnuserv" ; \
12640 (cd $(HOST_SUBDIR)/gnuserv && \
12641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12643 "RANLIB=$${RANLIB}" \
12644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12645 install-info) \
12646 || exit 1
12648 @endif gnuserv
12650 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12651 maybe-installcheck-gnuserv:
12652 @if gnuserv
12653 maybe-installcheck-gnuserv: installcheck-gnuserv
12655 installcheck-gnuserv: \
12656 configure-gnuserv
12657 @$(unstage)
12658 @[ -f ./gnuserv/Makefile ] || exit 0; \
12659 r=`${PWD_COMMAND}`; export r; \
12660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12661 $(HOST_EXPORTS) \
12662 for flag in $(EXTRA_HOST_FLAGS) ; do \
12663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12664 done; \
12665 echo "Doing installcheck in gnuserv" ; \
12666 (cd $(HOST_SUBDIR)/gnuserv && \
12667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12669 "RANLIB=$${RANLIB}" \
12670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12671 installcheck) \
12672 || exit 1
12674 @endif gnuserv
12676 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12677 maybe-mostlyclean-gnuserv:
12678 @if gnuserv
12679 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12681 mostlyclean-gnuserv:
12682 @$(unstage)
12683 @[ -f ./gnuserv/Makefile ] || exit 0; \
12684 r=`${PWD_COMMAND}`; export r; \
12685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12686 $(HOST_EXPORTS) \
12687 for flag in $(EXTRA_HOST_FLAGS) ; do \
12688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12689 done; \
12690 echo "Doing mostlyclean in gnuserv" ; \
12691 (cd $(HOST_SUBDIR)/gnuserv && \
12692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12694 "RANLIB=$${RANLIB}" \
12695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12696 mostlyclean) \
12697 || exit 1
12699 @endif gnuserv
12701 .PHONY: maybe-clean-gnuserv clean-gnuserv
12702 maybe-clean-gnuserv:
12703 @if gnuserv
12704 maybe-clean-gnuserv: clean-gnuserv
12706 clean-gnuserv:
12707 @$(unstage)
12708 @[ -f ./gnuserv/Makefile ] || exit 0; \
12709 r=`${PWD_COMMAND}`; export r; \
12710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12711 $(HOST_EXPORTS) \
12712 for flag in $(EXTRA_HOST_FLAGS) ; do \
12713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12714 done; \
12715 echo "Doing clean in gnuserv" ; \
12716 (cd $(HOST_SUBDIR)/gnuserv && \
12717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12719 "RANLIB=$${RANLIB}" \
12720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12721 clean) \
12722 || exit 1
12724 @endif gnuserv
12726 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12727 maybe-distclean-gnuserv:
12728 @if gnuserv
12729 maybe-distclean-gnuserv: distclean-gnuserv
12731 distclean-gnuserv:
12732 @$(unstage)
12733 @[ -f ./gnuserv/Makefile ] || exit 0; \
12734 r=`${PWD_COMMAND}`; export r; \
12735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12736 $(HOST_EXPORTS) \
12737 for flag in $(EXTRA_HOST_FLAGS) ; do \
12738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12739 done; \
12740 echo "Doing distclean in gnuserv" ; \
12741 (cd $(HOST_SUBDIR)/gnuserv && \
12742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12744 "RANLIB=$${RANLIB}" \
12745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12746 distclean) \
12747 || exit 1
12749 @endif gnuserv
12751 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12752 maybe-maintainer-clean-gnuserv:
12753 @if gnuserv
12754 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12756 maintainer-clean-gnuserv:
12757 @$(unstage)
12758 @[ -f ./gnuserv/Makefile ] || exit 0; \
12759 r=`${PWD_COMMAND}`; export r; \
12760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12761 $(HOST_EXPORTS) \
12762 for flag in $(EXTRA_HOST_FLAGS) ; do \
12763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12764 done; \
12765 echo "Doing maintainer-clean in gnuserv" ; \
12766 (cd $(HOST_SUBDIR)/gnuserv && \
12767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12769 "RANLIB=$${RANLIB}" \
12770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12771 maintainer-clean) \
12772 || exit 1
12774 @endif gnuserv
12778 .PHONY: configure-gprof maybe-configure-gprof
12779 maybe-configure-gprof:
12780 @if gprof
12781 maybe-configure-gprof: configure-gprof
12782 configure-gprof:
12783 @$(unstage)
12784 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12786 r=`${PWD_COMMAND}`; export r; \
12787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12788 $(HOST_EXPORTS) \
12789 echo Configuring in $(HOST_SUBDIR)/gprof; \
12790 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12791 case $(srcdir) in \
12792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12793 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12795 esac; \
12796 srcdiroption="--srcdir=$${topdir}/gprof"; \
12797 libsrcdir="$$s/gprof"; \
12798 $(SHELL) $${libsrcdir}/configure \
12799 $(HOST_CONFIGARGS) $${srcdiroption} \
12800 || exit 1
12801 @endif gprof
12807 .PHONY: all-gprof maybe-all-gprof
12808 maybe-all-gprof:
12809 @if gprof
12810 TARGET-gprof=all
12811 maybe-all-gprof: all-gprof
12812 all-gprof: configure-gprof
12813 @$(unstage)
12814 @r=`${PWD_COMMAND}`; export r; \
12815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12816 $(HOST_EXPORTS) \
12817 (cd $(HOST_SUBDIR)/gprof && \
12818 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12819 @endif gprof
12824 .PHONY: check-gprof maybe-check-gprof
12825 maybe-check-gprof:
12826 @if gprof
12827 maybe-check-gprof: check-gprof
12829 check-gprof:
12830 @$(unstage)
12831 @r=`${PWD_COMMAND}`; export r; \
12832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12833 $(HOST_EXPORTS) \
12834 (cd $(HOST_SUBDIR)/gprof && \
12835 $(MAKE) $(FLAGS_TO_PASS) check)
12837 @endif gprof
12839 .PHONY: install-gprof maybe-install-gprof
12840 maybe-install-gprof:
12841 @if gprof
12842 maybe-install-gprof: install-gprof
12844 install-gprof: installdirs
12845 @$(unstage)
12846 @r=`${PWD_COMMAND}`; export r; \
12847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12848 $(HOST_EXPORTS) \
12849 (cd $(HOST_SUBDIR)/gprof && \
12850 $(MAKE) $(FLAGS_TO_PASS) install)
12852 @endif gprof
12854 # Other targets (info, dvi, etc.)
12856 .PHONY: maybe-info-gprof info-gprof
12857 maybe-info-gprof:
12858 @if gprof
12859 maybe-info-gprof: info-gprof
12861 info-gprof: \
12862 configure-gprof
12863 @$(unstage)
12864 @[ -f ./gprof/Makefile ] || exit 0; \
12865 r=`${PWD_COMMAND}`; export r; \
12866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12867 $(HOST_EXPORTS) \
12868 for flag in $(EXTRA_HOST_FLAGS) ; do \
12869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12870 done; \
12871 echo "Doing info in gprof" ; \
12872 (cd $(HOST_SUBDIR)/gprof && \
12873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12875 "RANLIB=$${RANLIB}" \
12876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12877 info) \
12878 || exit 1
12880 @endif gprof
12882 .PHONY: maybe-dvi-gprof dvi-gprof
12883 maybe-dvi-gprof:
12884 @if gprof
12885 maybe-dvi-gprof: dvi-gprof
12887 dvi-gprof: \
12888 configure-gprof
12889 @$(unstage)
12890 @[ -f ./gprof/Makefile ] || exit 0; \
12891 r=`${PWD_COMMAND}`; export r; \
12892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12893 $(HOST_EXPORTS) \
12894 for flag in $(EXTRA_HOST_FLAGS) ; do \
12895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12896 done; \
12897 echo "Doing dvi in gprof" ; \
12898 (cd $(HOST_SUBDIR)/gprof && \
12899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12901 "RANLIB=$${RANLIB}" \
12902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12903 dvi) \
12904 || exit 1
12906 @endif gprof
12908 .PHONY: maybe-html-gprof html-gprof
12909 maybe-html-gprof:
12910 @if gprof
12911 maybe-html-gprof: html-gprof
12913 html-gprof: \
12914 configure-gprof
12915 @$(unstage)
12916 @[ -f ./gprof/Makefile ] || exit 0; \
12917 r=`${PWD_COMMAND}`; export r; \
12918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12919 $(HOST_EXPORTS) \
12920 for flag in $(EXTRA_HOST_FLAGS) ; do \
12921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12922 done; \
12923 echo "Doing html in gprof" ; \
12924 (cd $(HOST_SUBDIR)/gprof && \
12925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12927 "RANLIB=$${RANLIB}" \
12928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12929 html) \
12930 || exit 1
12932 @endif gprof
12934 .PHONY: maybe-TAGS-gprof TAGS-gprof
12935 maybe-TAGS-gprof:
12936 @if gprof
12937 maybe-TAGS-gprof: TAGS-gprof
12939 TAGS-gprof: \
12940 configure-gprof
12941 @$(unstage)
12942 @[ -f ./gprof/Makefile ] || exit 0; \
12943 r=`${PWD_COMMAND}`; export r; \
12944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12945 $(HOST_EXPORTS) \
12946 for flag in $(EXTRA_HOST_FLAGS) ; do \
12947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12948 done; \
12949 echo "Doing TAGS in gprof" ; \
12950 (cd $(HOST_SUBDIR)/gprof && \
12951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12953 "RANLIB=$${RANLIB}" \
12954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12955 TAGS) \
12956 || exit 1
12958 @endif gprof
12960 .PHONY: maybe-install-info-gprof install-info-gprof
12961 maybe-install-info-gprof:
12962 @if gprof
12963 maybe-install-info-gprof: install-info-gprof
12965 install-info-gprof: \
12966 configure-gprof \
12967 info-gprof
12968 @$(unstage)
12969 @[ -f ./gprof/Makefile ] || exit 0; \
12970 r=`${PWD_COMMAND}`; export r; \
12971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12972 $(HOST_EXPORTS) \
12973 for flag in $(EXTRA_HOST_FLAGS) ; do \
12974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12975 done; \
12976 echo "Doing install-info in gprof" ; \
12977 (cd $(HOST_SUBDIR)/gprof && \
12978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12980 "RANLIB=$${RANLIB}" \
12981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12982 install-info) \
12983 || exit 1
12985 @endif gprof
12987 .PHONY: maybe-installcheck-gprof installcheck-gprof
12988 maybe-installcheck-gprof:
12989 @if gprof
12990 maybe-installcheck-gprof: installcheck-gprof
12992 installcheck-gprof: \
12993 configure-gprof
12994 @$(unstage)
12995 @[ -f ./gprof/Makefile ] || exit 0; \
12996 r=`${PWD_COMMAND}`; export r; \
12997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12998 $(HOST_EXPORTS) \
12999 for flag in $(EXTRA_HOST_FLAGS) ; do \
13000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13001 done; \
13002 echo "Doing installcheck in gprof" ; \
13003 (cd $(HOST_SUBDIR)/gprof && \
13004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13006 "RANLIB=$${RANLIB}" \
13007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13008 installcheck) \
13009 || exit 1
13011 @endif gprof
13013 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
13014 maybe-mostlyclean-gprof:
13015 @if gprof
13016 maybe-mostlyclean-gprof: mostlyclean-gprof
13018 mostlyclean-gprof:
13019 @$(unstage)
13020 @[ -f ./gprof/Makefile ] || exit 0; \
13021 r=`${PWD_COMMAND}`; export r; \
13022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13023 $(HOST_EXPORTS) \
13024 for flag in $(EXTRA_HOST_FLAGS) ; do \
13025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026 done; \
13027 echo "Doing mostlyclean in gprof" ; \
13028 (cd $(HOST_SUBDIR)/gprof && \
13029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031 "RANLIB=$${RANLIB}" \
13032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13033 mostlyclean) \
13034 || exit 1
13036 @endif gprof
13038 .PHONY: maybe-clean-gprof clean-gprof
13039 maybe-clean-gprof:
13040 @if gprof
13041 maybe-clean-gprof: clean-gprof
13043 clean-gprof:
13044 @$(unstage)
13045 @[ -f ./gprof/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(HOST_EXPORTS) \
13049 for flag in $(EXTRA_HOST_FLAGS) ; do \
13050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13051 done; \
13052 echo "Doing clean in gprof" ; \
13053 (cd $(HOST_SUBDIR)/gprof && \
13054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13056 "RANLIB=$${RANLIB}" \
13057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13058 clean) \
13059 || exit 1
13061 @endif gprof
13063 .PHONY: maybe-distclean-gprof distclean-gprof
13064 maybe-distclean-gprof:
13065 @if gprof
13066 maybe-distclean-gprof: distclean-gprof
13068 distclean-gprof:
13069 @$(unstage)
13070 @[ -f ./gprof/Makefile ] || exit 0; \
13071 r=`${PWD_COMMAND}`; export r; \
13072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13073 $(HOST_EXPORTS) \
13074 for flag in $(EXTRA_HOST_FLAGS) ; do \
13075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13076 done; \
13077 echo "Doing distclean in gprof" ; \
13078 (cd $(HOST_SUBDIR)/gprof && \
13079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13081 "RANLIB=$${RANLIB}" \
13082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13083 distclean) \
13084 || exit 1
13086 @endif gprof
13088 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13089 maybe-maintainer-clean-gprof:
13090 @if gprof
13091 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13093 maintainer-clean-gprof:
13094 @$(unstage)
13095 @[ -f ./gprof/Makefile ] || exit 0; \
13096 r=`${PWD_COMMAND}`; export r; \
13097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13098 $(HOST_EXPORTS) \
13099 for flag in $(EXTRA_HOST_FLAGS) ; do \
13100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13101 done; \
13102 echo "Doing maintainer-clean in gprof" ; \
13103 (cd $(HOST_SUBDIR)/gprof && \
13104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13106 "RANLIB=$${RANLIB}" \
13107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13108 maintainer-clean) \
13109 || exit 1
13111 @endif gprof
13115 .PHONY: configure-gzip maybe-configure-gzip
13116 maybe-configure-gzip:
13117 @if gzip
13118 maybe-configure-gzip: configure-gzip
13119 configure-gzip:
13120 @$(unstage)
13121 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13123 r=`${PWD_COMMAND}`; export r; \
13124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13125 $(HOST_EXPORTS) \
13126 echo Configuring in $(HOST_SUBDIR)/gzip; \
13127 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13128 case $(srcdir) in \
13129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13130 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13132 esac; \
13133 srcdiroption="--srcdir=$${topdir}/gzip"; \
13134 libsrcdir="$$s/gzip"; \
13135 $(SHELL) $${libsrcdir}/configure \
13136 $(HOST_CONFIGARGS) $${srcdiroption} \
13137 || exit 1
13138 @endif gzip
13144 .PHONY: all-gzip maybe-all-gzip
13145 maybe-all-gzip:
13146 @if gzip
13147 TARGET-gzip=all
13148 maybe-all-gzip: all-gzip
13149 all-gzip: configure-gzip
13150 @$(unstage)
13151 @r=`${PWD_COMMAND}`; export r; \
13152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13153 $(HOST_EXPORTS) \
13154 (cd $(HOST_SUBDIR)/gzip && \
13155 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13156 @endif gzip
13161 .PHONY: check-gzip maybe-check-gzip
13162 maybe-check-gzip:
13163 @if gzip
13164 maybe-check-gzip: check-gzip
13166 check-gzip:
13167 @$(unstage)
13168 @r=`${PWD_COMMAND}`; export r; \
13169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13170 $(HOST_EXPORTS) \
13171 (cd $(HOST_SUBDIR)/gzip && \
13172 $(MAKE) $(FLAGS_TO_PASS) check)
13174 @endif gzip
13176 .PHONY: install-gzip maybe-install-gzip
13177 maybe-install-gzip:
13178 @if gzip
13179 maybe-install-gzip: install-gzip
13181 install-gzip: installdirs
13182 @$(unstage)
13183 @r=`${PWD_COMMAND}`; export r; \
13184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13185 $(HOST_EXPORTS) \
13186 (cd $(HOST_SUBDIR)/gzip && \
13187 $(MAKE) $(FLAGS_TO_PASS) install)
13189 @endif gzip
13191 # Other targets (info, dvi, etc.)
13193 .PHONY: maybe-info-gzip info-gzip
13194 maybe-info-gzip:
13195 @if gzip
13196 maybe-info-gzip: info-gzip
13198 info-gzip: \
13199 configure-gzip
13200 @$(unstage)
13201 @[ -f ./gzip/Makefile ] || exit 0; \
13202 r=`${PWD_COMMAND}`; export r; \
13203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13204 $(HOST_EXPORTS) \
13205 for flag in $(EXTRA_HOST_FLAGS) ; do \
13206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13207 done; \
13208 echo "Doing info in gzip" ; \
13209 (cd $(HOST_SUBDIR)/gzip && \
13210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13212 "RANLIB=$${RANLIB}" \
13213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13214 info) \
13215 || exit 1
13217 @endif gzip
13219 .PHONY: maybe-dvi-gzip dvi-gzip
13220 maybe-dvi-gzip:
13221 @if gzip
13222 maybe-dvi-gzip: dvi-gzip
13224 dvi-gzip: \
13225 configure-gzip
13226 @$(unstage)
13227 @[ -f ./gzip/Makefile ] || exit 0; \
13228 r=`${PWD_COMMAND}`; export r; \
13229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13230 $(HOST_EXPORTS) \
13231 for flag in $(EXTRA_HOST_FLAGS) ; do \
13232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13233 done; \
13234 echo "Doing dvi in gzip" ; \
13235 (cd $(HOST_SUBDIR)/gzip && \
13236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13238 "RANLIB=$${RANLIB}" \
13239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13240 dvi) \
13241 || exit 1
13243 @endif gzip
13245 .PHONY: maybe-html-gzip html-gzip
13246 maybe-html-gzip:
13247 @if gzip
13248 maybe-html-gzip: html-gzip
13250 html-gzip: \
13251 configure-gzip
13252 @$(unstage)
13253 @[ -f ./gzip/Makefile ] || exit 0; \
13254 r=`${PWD_COMMAND}`; export r; \
13255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13256 $(HOST_EXPORTS) \
13257 for flag in $(EXTRA_HOST_FLAGS) ; do \
13258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13259 done; \
13260 echo "Doing html in gzip" ; \
13261 (cd $(HOST_SUBDIR)/gzip && \
13262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13264 "RANLIB=$${RANLIB}" \
13265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13266 html) \
13267 || exit 1
13269 @endif gzip
13271 .PHONY: maybe-TAGS-gzip TAGS-gzip
13272 maybe-TAGS-gzip:
13273 @if gzip
13274 maybe-TAGS-gzip: TAGS-gzip
13276 TAGS-gzip: \
13277 configure-gzip
13278 @$(unstage)
13279 @[ -f ./gzip/Makefile ] || exit 0; \
13280 r=`${PWD_COMMAND}`; export r; \
13281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13282 $(HOST_EXPORTS) \
13283 for flag in $(EXTRA_HOST_FLAGS) ; do \
13284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13285 done; \
13286 echo "Doing TAGS in gzip" ; \
13287 (cd $(HOST_SUBDIR)/gzip && \
13288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13290 "RANLIB=$${RANLIB}" \
13291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13292 TAGS) \
13293 || exit 1
13295 @endif gzip
13297 .PHONY: maybe-install-info-gzip install-info-gzip
13298 maybe-install-info-gzip:
13299 @if gzip
13300 maybe-install-info-gzip: install-info-gzip
13302 install-info-gzip: \
13303 configure-gzip \
13304 info-gzip
13305 @$(unstage)
13306 @[ -f ./gzip/Makefile ] || exit 0; \
13307 r=`${PWD_COMMAND}`; export r; \
13308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13309 $(HOST_EXPORTS) \
13310 for flag in $(EXTRA_HOST_FLAGS) ; do \
13311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13312 done; \
13313 echo "Doing install-info in gzip" ; \
13314 (cd $(HOST_SUBDIR)/gzip && \
13315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13317 "RANLIB=$${RANLIB}" \
13318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13319 install-info) \
13320 || exit 1
13322 @endif gzip
13324 .PHONY: maybe-installcheck-gzip installcheck-gzip
13325 maybe-installcheck-gzip:
13326 @if gzip
13327 maybe-installcheck-gzip: installcheck-gzip
13329 installcheck-gzip: \
13330 configure-gzip
13331 @$(unstage)
13332 @[ -f ./gzip/Makefile ] || exit 0; \
13333 r=`${PWD_COMMAND}`; export r; \
13334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13335 $(HOST_EXPORTS) \
13336 for flag in $(EXTRA_HOST_FLAGS) ; do \
13337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13338 done; \
13339 echo "Doing installcheck in gzip" ; \
13340 (cd $(HOST_SUBDIR)/gzip && \
13341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13343 "RANLIB=$${RANLIB}" \
13344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13345 installcheck) \
13346 || exit 1
13348 @endif gzip
13350 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13351 maybe-mostlyclean-gzip:
13352 @if gzip
13353 maybe-mostlyclean-gzip: mostlyclean-gzip
13355 mostlyclean-gzip:
13356 @$(unstage)
13357 @[ -f ./gzip/Makefile ] || exit 0; \
13358 r=`${PWD_COMMAND}`; export r; \
13359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13360 $(HOST_EXPORTS) \
13361 for flag in $(EXTRA_HOST_FLAGS) ; do \
13362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13363 done; \
13364 echo "Doing mostlyclean in gzip" ; \
13365 (cd $(HOST_SUBDIR)/gzip && \
13366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13368 "RANLIB=$${RANLIB}" \
13369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13370 mostlyclean) \
13371 || exit 1
13373 @endif gzip
13375 .PHONY: maybe-clean-gzip clean-gzip
13376 maybe-clean-gzip:
13377 @if gzip
13378 maybe-clean-gzip: clean-gzip
13380 clean-gzip:
13381 @$(unstage)
13382 @[ -f ./gzip/Makefile ] || exit 0; \
13383 r=`${PWD_COMMAND}`; export r; \
13384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13385 $(HOST_EXPORTS) \
13386 for flag in $(EXTRA_HOST_FLAGS) ; do \
13387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13388 done; \
13389 echo "Doing clean in gzip" ; \
13390 (cd $(HOST_SUBDIR)/gzip && \
13391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13393 "RANLIB=$${RANLIB}" \
13394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13395 clean) \
13396 || exit 1
13398 @endif gzip
13400 .PHONY: maybe-distclean-gzip distclean-gzip
13401 maybe-distclean-gzip:
13402 @if gzip
13403 maybe-distclean-gzip: distclean-gzip
13405 distclean-gzip:
13406 @$(unstage)
13407 @[ -f ./gzip/Makefile ] || exit 0; \
13408 r=`${PWD_COMMAND}`; export r; \
13409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13410 $(HOST_EXPORTS) \
13411 for flag in $(EXTRA_HOST_FLAGS) ; do \
13412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13413 done; \
13414 echo "Doing distclean in gzip" ; \
13415 (cd $(HOST_SUBDIR)/gzip && \
13416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13418 "RANLIB=$${RANLIB}" \
13419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13420 distclean) \
13421 || exit 1
13423 @endif gzip
13425 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13426 maybe-maintainer-clean-gzip:
13427 @if gzip
13428 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13430 maintainer-clean-gzip:
13431 @$(unstage)
13432 @[ -f ./gzip/Makefile ] || exit 0; \
13433 r=`${PWD_COMMAND}`; export r; \
13434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13435 $(HOST_EXPORTS) \
13436 for flag in $(EXTRA_HOST_FLAGS) ; do \
13437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13438 done; \
13439 echo "Doing maintainer-clean in gzip" ; \
13440 (cd $(HOST_SUBDIR)/gzip && \
13441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13443 "RANLIB=$${RANLIB}" \
13444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13445 maintainer-clean) \
13446 || exit 1
13448 @endif gzip
13452 .PHONY: configure-hello maybe-configure-hello
13453 maybe-configure-hello:
13454 @if hello
13455 maybe-configure-hello: configure-hello
13456 configure-hello:
13457 @$(unstage)
13458 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13460 r=`${PWD_COMMAND}`; export r; \
13461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13462 $(HOST_EXPORTS) \
13463 echo Configuring in $(HOST_SUBDIR)/hello; \
13464 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13465 case $(srcdir) in \
13466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13467 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13469 esac; \
13470 srcdiroption="--srcdir=$${topdir}/hello"; \
13471 libsrcdir="$$s/hello"; \
13472 $(SHELL) $${libsrcdir}/configure \
13473 $(HOST_CONFIGARGS) $${srcdiroption} \
13474 || exit 1
13475 @endif hello
13481 .PHONY: all-hello maybe-all-hello
13482 maybe-all-hello:
13483 @if hello
13484 TARGET-hello=all
13485 maybe-all-hello: all-hello
13486 all-hello: configure-hello
13487 @$(unstage)
13488 @r=`${PWD_COMMAND}`; export r; \
13489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13490 $(HOST_EXPORTS) \
13491 (cd $(HOST_SUBDIR)/hello && \
13492 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13493 @endif hello
13498 .PHONY: check-hello maybe-check-hello
13499 maybe-check-hello:
13500 @if hello
13501 maybe-check-hello: check-hello
13503 check-hello:
13504 @$(unstage)
13505 @r=`${PWD_COMMAND}`; export r; \
13506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13507 $(HOST_EXPORTS) \
13508 (cd $(HOST_SUBDIR)/hello && \
13509 $(MAKE) $(FLAGS_TO_PASS) check)
13511 @endif hello
13513 .PHONY: install-hello maybe-install-hello
13514 maybe-install-hello:
13515 @if hello
13516 maybe-install-hello: install-hello
13518 install-hello: installdirs
13519 @$(unstage)
13520 @r=`${PWD_COMMAND}`; export r; \
13521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13522 $(HOST_EXPORTS) \
13523 (cd $(HOST_SUBDIR)/hello && \
13524 $(MAKE) $(FLAGS_TO_PASS) install)
13526 @endif hello
13528 # Other targets (info, dvi, etc.)
13530 .PHONY: maybe-info-hello info-hello
13531 maybe-info-hello:
13532 @if hello
13533 maybe-info-hello: info-hello
13535 info-hello: \
13536 configure-hello
13537 @$(unstage)
13538 @[ -f ./hello/Makefile ] || exit 0; \
13539 r=`${PWD_COMMAND}`; export r; \
13540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13541 $(HOST_EXPORTS) \
13542 for flag in $(EXTRA_HOST_FLAGS) ; do \
13543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13544 done; \
13545 echo "Doing info in hello" ; \
13546 (cd $(HOST_SUBDIR)/hello && \
13547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13549 "RANLIB=$${RANLIB}" \
13550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13551 info) \
13552 || exit 1
13554 @endif hello
13556 .PHONY: maybe-dvi-hello dvi-hello
13557 maybe-dvi-hello:
13558 @if hello
13559 maybe-dvi-hello: dvi-hello
13561 dvi-hello: \
13562 configure-hello
13563 @$(unstage)
13564 @[ -f ./hello/Makefile ] || exit 0; \
13565 r=`${PWD_COMMAND}`; export r; \
13566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13567 $(HOST_EXPORTS) \
13568 for flag in $(EXTRA_HOST_FLAGS) ; do \
13569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13570 done; \
13571 echo "Doing dvi in hello" ; \
13572 (cd $(HOST_SUBDIR)/hello && \
13573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13575 "RANLIB=$${RANLIB}" \
13576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13577 dvi) \
13578 || exit 1
13580 @endif hello
13582 .PHONY: maybe-html-hello html-hello
13583 maybe-html-hello:
13584 @if hello
13585 maybe-html-hello: html-hello
13587 html-hello: \
13588 configure-hello
13589 @$(unstage)
13590 @[ -f ./hello/Makefile ] || exit 0; \
13591 r=`${PWD_COMMAND}`; export r; \
13592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13593 $(HOST_EXPORTS) \
13594 for flag in $(EXTRA_HOST_FLAGS) ; do \
13595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13596 done; \
13597 echo "Doing html in hello" ; \
13598 (cd $(HOST_SUBDIR)/hello && \
13599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13601 "RANLIB=$${RANLIB}" \
13602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13603 html) \
13604 || exit 1
13606 @endif hello
13608 .PHONY: maybe-TAGS-hello TAGS-hello
13609 maybe-TAGS-hello:
13610 @if hello
13611 maybe-TAGS-hello: TAGS-hello
13613 TAGS-hello: \
13614 configure-hello
13615 @$(unstage)
13616 @[ -f ./hello/Makefile ] || exit 0; \
13617 r=`${PWD_COMMAND}`; export r; \
13618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13619 $(HOST_EXPORTS) \
13620 for flag in $(EXTRA_HOST_FLAGS) ; do \
13621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13622 done; \
13623 echo "Doing TAGS in hello" ; \
13624 (cd $(HOST_SUBDIR)/hello && \
13625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13627 "RANLIB=$${RANLIB}" \
13628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13629 TAGS) \
13630 || exit 1
13632 @endif hello
13634 .PHONY: maybe-install-info-hello install-info-hello
13635 maybe-install-info-hello:
13636 @if hello
13637 maybe-install-info-hello: install-info-hello
13639 install-info-hello: \
13640 configure-hello \
13641 info-hello
13642 @$(unstage)
13643 @[ -f ./hello/Makefile ] || exit 0; \
13644 r=`${PWD_COMMAND}`; export r; \
13645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13646 $(HOST_EXPORTS) \
13647 for flag in $(EXTRA_HOST_FLAGS) ; do \
13648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13649 done; \
13650 echo "Doing install-info in hello" ; \
13651 (cd $(HOST_SUBDIR)/hello && \
13652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13654 "RANLIB=$${RANLIB}" \
13655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13656 install-info) \
13657 || exit 1
13659 @endif hello
13661 .PHONY: maybe-installcheck-hello installcheck-hello
13662 maybe-installcheck-hello:
13663 @if hello
13664 maybe-installcheck-hello: installcheck-hello
13666 installcheck-hello: \
13667 configure-hello
13668 @$(unstage)
13669 @[ -f ./hello/Makefile ] || exit 0; \
13670 r=`${PWD_COMMAND}`; export r; \
13671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13672 $(HOST_EXPORTS) \
13673 for flag in $(EXTRA_HOST_FLAGS) ; do \
13674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13675 done; \
13676 echo "Doing installcheck in hello" ; \
13677 (cd $(HOST_SUBDIR)/hello && \
13678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13680 "RANLIB=$${RANLIB}" \
13681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13682 installcheck) \
13683 || exit 1
13685 @endif hello
13687 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13688 maybe-mostlyclean-hello:
13689 @if hello
13690 maybe-mostlyclean-hello: mostlyclean-hello
13692 mostlyclean-hello:
13693 @$(unstage)
13694 @[ -f ./hello/Makefile ] || exit 0; \
13695 r=`${PWD_COMMAND}`; export r; \
13696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13697 $(HOST_EXPORTS) \
13698 for flag in $(EXTRA_HOST_FLAGS) ; do \
13699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13700 done; \
13701 echo "Doing mostlyclean in hello" ; \
13702 (cd $(HOST_SUBDIR)/hello && \
13703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13705 "RANLIB=$${RANLIB}" \
13706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13707 mostlyclean) \
13708 || exit 1
13710 @endif hello
13712 .PHONY: maybe-clean-hello clean-hello
13713 maybe-clean-hello:
13714 @if hello
13715 maybe-clean-hello: clean-hello
13717 clean-hello:
13718 @$(unstage)
13719 @[ -f ./hello/Makefile ] || exit 0; \
13720 r=`${PWD_COMMAND}`; export r; \
13721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13722 $(HOST_EXPORTS) \
13723 for flag in $(EXTRA_HOST_FLAGS) ; do \
13724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13725 done; \
13726 echo "Doing clean in hello" ; \
13727 (cd $(HOST_SUBDIR)/hello && \
13728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13730 "RANLIB=$${RANLIB}" \
13731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13732 clean) \
13733 || exit 1
13735 @endif hello
13737 .PHONY: maybe-distclean-hello distclean-hello
13738 maybe-distclean-hello:
13739 @if hello
13740 maybe-distclean-hello: distclean-hello
13742 distclean-hello:
13743 @$(unstage)
13744 @[ -f ./hello/Makefile ] || exit 0; \
13745 r=`${PWD_COMMAND}`; export r; \
13746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13747 $(HOST_EXPORTS) \
13748 for flag in $(EXTRA_HOST_FLAGS) ; do \
13749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13750 done; \
13751 echo "Doing distclean in hello" ; \
13752 (cd $(HOST_SUBDIR)/hello && \
13753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13755 "RANLIB=$${RANLIB}" \
13756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13757 distclean) \
13758 || exit 1
13760 @endif hello
13762 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13763 maybe-maintainer-clean-hello:
13764 @if hello
13765 maybe-maintainer-clean-hello: maintainer-clean-hello
13767 maintainer-clean-hello:
13768 @$(unstage)
13769 @[ -f ./hello/Makefile ] || exit 0; \
13770 r=`${PWD_COMMAND}`; export r; \
13771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13772 $(HOST_EXPORTS) \
13773 for flag in $(EXTRA_HOST_FLAGS) ; do \
13774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13775 done; \
13776 echo "Doing maintainer-clean in hello" ; \
13777 (cd $(HOST_SUBDIR)/hello && \
13778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13780 "RANLIB=$${RANLIB}" \
13781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13782 maintainer-clean) \
13783 || exit 1
13785 @endif hello
13789 .PHONY: configure-indent maybe-configure-indent
13790 maybe-configure-indent:
13791 @if indent
13792 maybe-configure-indent: configure-indent
13793 configure-indent:
13794 @$(unstage)
13795 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13797 r=`${PWD_COMMAND}`; export r; \
13798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13799 $(HOST_EXPORTS) \
13800 echo Configuring in $(HOST_SUBDIR)/indent; \
13801 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13802 case $(srcdir) in \
13803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13804 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13806 esac; \
13807 srcdiroption="--srcdir=$${topdir}/indent"; \
13808 libsrcdir="$$s/indent"; \
13809 $(SHELL) $${libsrcdir}/configure \
13810 $(HOST_CONFIGARGS) $${srcdiroption} \
13811 || exit 1
13812 @endif indent
13818 .PHONY: all-indent maybe-all-indent
13819 maybe-all-indent:
13820 @if indent
13821 TARGET-indent=all
13822 maybe-all-indent: all-indent
13823 all-indent: configure-indent
13824 @$(unstage)
13825 @r=`${PWD_COMMAND}`; export r; \
13826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13827 $(HOST_EXPORTS) \
13828 (cd $(HOST_SUBDIR)/indent && \
13829 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13830 @endif indent
13835 .PHONY: check-indent maybe-check-indent
13836 maybe-check-indent:
13837 @if indent
13838 maybe-check-indent: check-indent
13840 check-indent:
13841 @$(unstage)
13842 @r=`${PWD_COMMAND}`; export r; \
13843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13844 $(HOST_EXPORTS) \
13845 (cd $(HOST_SUBDIR)/indent && \
13846 $(MAKE) $(FLAGS_TO_PASS) check)
13848 @endif indent
13850 .PHONY: install-indent maybe-install-indent
13851 maybe-install-indent:
13852 @if indent
13853 maybe-install-indent: install-indent
13855 install-indent: installdirs
13856 @$(unstage)
13857 @r=`${PWD_COMMAND}`; export r; \
13858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13859 $(HOST_EXPORTS) \
13860 (cd $(HOST_SUBDIR)/indent && \
13861 $(MAKE) $(FLAGS_TO_PASS) install)
13863 @endif indent
13865 # Other targets (info, dvi, etc.)
13867 .PHONY: maybe-info-indent info-indent
13868 maybe-info-indent:
13869 @if indent
13870 maybe-info-indent: info-indent
13872 info-indent: \
13873 configure-indent
13874 @$(unstage)
13875 @[ -f ./indent/Makefile ] || exit 0; \
13876 r=`${PWD_COMMAND}`; export r; \
13877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13878 $(HOST_EXPORTS) \
13879 for flag in $(EXTRA_HOST_FLAGS) ; do \
13880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13881 done; \
13882 echo "Doing info in indent" ; \
13883 (cd $(HOST_SUBDIR)/indent && \
13884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13886 "RANLIB=$${RANLIB}" \
13887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13888 info) \
13889 || exit 1
13891 @endif indent
13893 .PHONY: maybe-dvi-indent dvi-indent
13894 maybe-dvi-indent:
13895 @if indent
13896 maybe-dvi-indent: dvi-indent
13898 dvi-indent: \
13899 configure-indent
13900 @$(unstage)
13901 @[ -f ./indent/Makefile ] || exit 0; \
13902 r=`${PWD_COMMAND}`; export r; \
13903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13904 $(HOST_EXPORTS) \
13905 for flag in $(EXTRA_HOST_FLAGS) ; do \
13906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13907 done; \
13908 echo "Doing dvi in indent" ; \
13909 (cd $(HOST_SUBDIR)/indent && \
13910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13912 "RANLIB=$${RANLIB}" \
13913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13914 dvi) \
13915 || exit 1
13917 @endif indent
13919 .PHONY: maybe-html-indent html-indent
13920 maybe-html-indent:
13921 @if indent
13922 maybe-html-indent: html-indent
13924 html-indent: \
13925 configure-indent
13926 @$(unstage)
13927 @[ -f ./indent/Makefile ] || exit 0; \
13928 r=`${PWD_COMMAND}`; export r; \
13929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13930 $(HOST_EXPORTS) \
13931 for flag in $(EXTRA_HOST_FLAGS) ; do \
13932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13933 done; \
13934 echo "Doing html in indent" ; \
13935 (cd $(HOST_SUBDIR)/indent && \
13936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13938 "RANLIB=$${RANLIB}" \
13939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13940 html) \
13941 || exit 1
13943 @endif indent
13945 .PHONY: maybe-TAGS-indent TAGS-indent
13946 maybe-TAGS-indent:
13947 @if indent
13948 maybe-TAGS-indent: TAGS-indent
13950 TAGS-indent: \
13951 configure-indent
13952 @$(unstage)
13953 @[ -f ./indent/Makefile ] || exit 0; \
13954 r=`${PWD_COMMAND}`; export r; \
13955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13956 $(HOST_EXPORTS) \
13957 for flag in $(EXTRA_HOST_FLAGS) ; do \
13958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13959 done; \
13960 echo "Doing TAGS in indent" ; \
13961 (cd $(HOST_SUBDIR)/indent && \
13962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13964 "RANLIB=$${RANLIB}" \
13965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13966 TAGS) \
13967 || exit 1
13969 @endif indent
13971 .PHONY: maybe-install-info-indent install-info-indent
13972 maybe-install-info-indent:
13973 @if indent
13974 maybe-install-info-indent: install-info-indent
13976 install-info-indent: \
13977 configure-indent \
13978 info-indent
13979 @$(unstage)
13980 @[ -f ./indent/Makefile ] || exit 0; \
13981 r=`${PWD_COMMAND}`; export r; \
13982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13983 $(HOST_EXPORTS) \
13984 for flag in $(EXTRA_HOST_FLAGS) ; do \
13985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13986 done; \
13987 echo "Doing install-info in indent" ; \
13988 (cd $(HOST_SUBDIR)/indent && \
13989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13991 "RANLIB=$${RANLIB}" \
13992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13993 install-info) \
13994 || exit 1
13996 @endif indent
13998 .PHONY: maybe-installcheck-indent installcheck-indent
13999 maybe-installcheck-indent:
14000 @if indent
14001 maybe-installcheck-indent: installcheck-indent
14003 installcheck-indent: \
14004 configure-indent
14005 @$(unstage)
14006 @[ -f ./indent/Makefile ] || exit 0; \
14007 r=`${PWD_COMMAND}`; export r; \
14008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14009 $(HOST_EXPORTS) \
14010 for flag in $(EXTRA_HOST_FLAGS) ; do \
14011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14012 done; \
14013 echo "Doing installcheck in indent" ; \
14014 (cd $(HOST_SUBDIR)/indent && \
14015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14017 "RANLIB=$${RANLIB}" \
14018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14019 installcheck) \
14020 || exit 1
14022 @endif indent
14024 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
14025 maybe-mostlyclean-indent:
14026 @if indent
14027 maybe-mostlyclean-indent: mostlyclean-indent
14029 mostlyclean-indent:
14030 @$(unstage)
14031 @[ -f ./indent/Makefile ] || exit 0; \
14032 r=`${PWD_COMMAND}`; export r; \
14033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14034 $(HOST_EXPORTS) \
14035 for flag in $(EXTRA_HOST_FLAGS) ; do \
14036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14037 done; \
14038 echo "Doing mostlyclean in indent" ; \
14039 (cd $(HOST_SUBDIR)/indent && \
14040 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14041 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14042 "RANLIB=$${RANLIB}" \
14043 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14044 mostlyclean) \
14045 || exit 1
14047 @endif indent
14049 .PHONY: maybe-clean-indent clean-indent
14050 maybe-clean-indent:
14051 @if indent
14052 maybe-clean-indent: clean-indent
14054 clean-indent:
14055 @$(unstage)
14056 @[ -f ./indent/Makefile ] || exit 0; \
14057 r=`${PWD_COMMAND}`; export r; \
14058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14059 $(HOST_EXPORTS) \
14060 for flag in $(EXTRA_HOST_FLAGS) ; do \
14061 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14062 done; \
14063 echo "Doing clean in indent" ; \
14064 (cd $(HOST_SUBDIR)/indent && \
14065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14067 "RANLIB=$${RANLIB}" \
14068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14069 clean) \
14070 || exit 1
14072 @endif indent
14074 .PHONY: maybe-distclean-indent distclean-indent
14075 maybe-distclean-indent:
14076 @if indent
14077 maybe-distclean-indent: distclean-indent
14079 distclean-indent:
14080 @$(unstage)
14081 @[ -f ./indent/Makefile ] || exit 0; \
14082 r=`${PWD_COMMAND}`; export r; \
14083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14084 $(HOST_EXPORTS) \
14085 for flag in $(EXTRA_HOST_FLAGS) ; do \
14086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14087 done; \
14088 echo "Doing distclean in indent" ; \
14089 (cd $(HOST_SUBDIR)/indent && \
14090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14092 "RANLIB=$${RANLIB}" \
14093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14094 distclean) \
14095 || exit 1
14097 @endif indent
14099 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14100 maybe-maintainer-clean-indent:
14101 @if indent
14102 maybe-maintainer-clean-indent: maintainer-clean-indent
14104 maintainer-clean-indent:
14105 @$(unstage)
14106 @[ -f ./indent/Makefile ] || exit 0; \
14107 r=`${PWD_COMMAND}`; export r; \
14108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14109 $(HOST_EXPORTS) \
14110 for flag in $(EXTRA_HOST_FLAGS) ; do \
14111 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14112 done; \
14113 echo "Doing maintainer-clean in indent" ; \
14114 (cd $(HOST_SUBDIR)/indent && \
14115 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14116 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14117 "RANLIB=$${RANLIB}" \
14118 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14119 maintainer-clean) \
14120 || exit 1
14122 @endif indent
14126 .PHONY: configure-intl maybe-configure-intl
14127 maybe-configure-intl:
14128 @if intl
14129 maybe-configure-intl: configure-intl
14130 configure-intl:
14131 @test -f stage_last && exit 0; \
14132 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14133 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14134 r=`${PWD_COMMAND}`; export r; \
14135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14136 $(HOST_EXPORTS) \
14137 echo Configuring in $(HOST_SUBDIR)/intl; \
14138 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14139 case $(srcdir) in \
14140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14141 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14143 esac; \
14144 srcdiroption="--srcdir=$${topdir}/intl"; \
14145 libsrcdir="$$s/intl"; \
14146 $(SHELL) $${libsrcdir}/configure \
14147 $(HOST_CONFIGARGS) $${srcdiroption} \
14148 || exit 1
14149 @endif intl
14153 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14154 maybe-configure-stage1-intl:
14155 @if intl-bootstrap
14156 maybe-configure-stage1-intl: configure-stage1-intl
14157 configure-stage1-intl:
14158 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14159 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14160 r=`${PWD_COMMAND}`; export r; \
14161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14162 $(HOST_EXPORTS) \
14163 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14164 cd $(HOST_SUBDIR)/intl || exit 1; \
14165 case $(srcdir) in \
14166 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14167 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14168 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14169 esac; \
14170 srcdiroption="--srcdir=$${topdir}/intl"; \
14171 libsrcdir="$$s/intl"; \
14172 $(SHELL) $${libsrcdir}/configure \
14173 $(HOST_CONFIGARGS) $${srcdiroption} \
14174 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14175 @endif intl-bootstrap
14177 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14178 maybe-configure-stage2-intl:
14179 @if intl-bootstrap
14180 maybe-configure-stage2-intl: configure-stage2-intl
14181 configure-stage2-intl:
14182 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14183 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14184 r=`${PWD_COMMAND}`; export r; \
14185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14186 $(HOST_EXPORTS) \
14187 $(POSTSTAGE1_HOST_EXPORTS) \
14188 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14189 cd $(HOST_SUBDIR)/intl || exit 1; \
14190 case $(srcdir) in \
14191 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14192 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14193 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14194 esac; \
14195 srcdiroption="--srcdir=$${topdir}/intl"; \
14196 libsrcdir="$$s/intl"; \
14197 $(SHELL) $${libsrcdir}/configure \
14198 $(HOST_CONFIGARGS) $${srcdiroption} \
14199 @stage2_werror_flag@
14200 @endif intl-bootstrap
14202 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14203 maybe-configure-stage3-intl:
14204 @if intl-bootstrap
14205 maybe-configure-stage3-intl: configure-stage3-intl
14206 configure-stage3-intl:
14207 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14208 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14209 r=`${PWD_COMMAND}`; export r; \
14210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14211 $(HOST_EXPORTS) \
14212 $(POSTSTAGE1_HOST_EXPORTS) \
14213 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14214 cd $(HOST_SUBDIR)/intl || exit 1; \
14215 case $(srcdir) in \
14216 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14217 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14218 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14219 esac; \
14220 srcdiroption="--srcdir=$${topdir}/intl"; \
14221 libsrcdir="$$s/intl"; \
14222 $(SHELL) $${libsrcdir}/configure \
14223 $(HOST_CONFIGARGS) $${srcdiroption} \
14224 @stage2_werror_flag@
14225 @endif intl-bootstrap
14227 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14228 maybe-configure-stage4-intl:
14229 @if intl-bootstrap
14230 maybe-configure-stage4-intl: configure-stage4-intl
14231 configure-stage4-intl:
14232 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14233 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14234 r=`${PWD_COMMAND}`; export r; \
14235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14236 $(HOST_EXPORTS) \
14237 $(POSTSTAGE1_HOST_EXPORTS) \
14238 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14239 cd $(HOST_SUBDIR)/intl || exit 1; \
14240 case $(srcdir) in \
14241 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14242 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14243 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14244 esac; \
14245 srcdiroption="--srcdir=$${topdir}/intl"; \
14246 libsrcdir="$$s/intl"; \
14247 $(SHELL) $${libsrcdir}/configure \
14248 $(HOST_CONFIGARGS) $${srcdiroption} \
14249 @stage2_werror_flag@
14250 @endif intl-bootstrap
14252 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14253 maybe-configure-stageprofile-intl:
14254 @if intl-bootstrap
14255 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14256 configure-stageprofile-intl:
14257 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14258 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14259 r=`${PWD_COMMAND}`; export r; \
14260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14261 $(HOST_EXPORTS) \
14262 $(POSTSTAGE1_HOST_EXPORTS) \
14263 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14264 cd $(HOST_SUBDIR)/intl || exit 1; \
14265 case $(srcdir) in \
14266 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14267 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14268 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14269 esac; \
14270 srcdiroption="--srcdir=$${topdir}/intl"; \
14271 libsrcdir="$$s/intl"; \
14272 $(SHELL) $${libsrcdir}/configure \
14273 $(HOST_CONFIGARGS) $${srcdiroption} \
14274 @stage2_werror_flag@
14275 @endif intl-bootstrap
14277 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14278 maybe-configure-stagefeedback-intl:
14279 @if intl-bootstrap
14280 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14281 configure-stagefeedback-intl:
14282 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14283 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14284 r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(HOST_EXPORTS) \
14287 $(POSTSTAGE1_HOST_EXPORTS) \
14288 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14289 cd $(HOST_SUBDIR)/intl || exit 1; \
14290 case $(srcdir) in \
14291 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14292 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14293 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14294 esac; \
14295 srcdiroption="--srcdir=$${topdir}/intl"; \
14296 libsrcdir="$$s/intl"; \
14297 $(SHELL) $${libsrcdir}/configure \
14298 $(HOST_CONFIGARGS) $${srcdiroption} \
14299 @stage2_werror_flag@
14300 @endif intl-bootstrap
14306 .PHONY: all-intl maybe-all-intl
14307 maybe-all-intl:
14308 @if intl
14309 TARGET-intl=all
14310 maybe-all-intl: all-intl
14311 all-intl: configure-intl
14312 @test -f stage_last && exit 0; \
14313 r=`${PWD_COMMAND}`; export r; \
14314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14315 $(HOST_EXPORTS) \
14316 (cd $(HOST_SUBDIR)/intl && \
14317 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14318 @endif intl
14322 .PHONY: all-stage1-intl maybe-all-stage1-intl
14323 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14324 maybe-all-stage1-intl:
14325 maybe-clean-stage1-intl:
14326 @if intl-bootstrap
14327 maybe-all-stage1-intl: all-stage1-intl
14328 all-stage1: all-stage1-intl
14329 TARGET-stage1-intl = $(TARGET-intl)
14330 all-stage1-intl: configure-stage1-intl
14331 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14332 @r=`${PWD_COMMAND}`; export r; \
14333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14334 $(HOST_EXPORTS) \
14335 cd $(HOST_SUBDIR)/intl && \
14336 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14337 $(TARGET-stage1-intl)
14339 maybe-clean-stage1-intl: clean-stage1-intl
14340 clean-stage1: clean-stage1-intl
14341 clean-stage1-intl:
14342 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14343 || exit 0 ; \
14344 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14345 cd $(HOST_SUBDIR)/intl && \
14346 $(MAKE) $(FLAGS_TO_PASS) \
14347 CFLAGS="$(STAGE1_CFLAGS)" clean
14348 @endif intl-bootstrap
14351 .PHONY: all-stage2-intl maybe-all-stage2-intl
14352 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14353 maybe-all-stage2-intl:
14354 maybe-clean-stage2-intl:
14355 @if intl-bootstrap
14356 maybe-all-stage2-intl: all-stage2-intl
14357 all-stage2: all-stage2-intl
14358 TARGET-stage2-intl = $(TARGET-intl)
14359 all-stage2-intl: configure-stage2-intl
14360 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14361 @r=`${PWD_COMMAND}`; export r; \
14362 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14363 $(HOST_EXPORTS) \
14364 $(POSTSTAGE1_HOST_EXPORTS) \
14365 cd $(HOST_SUBDIR)/intl && \
14366 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14367 $(TARGET-stage2-intl)
14369 maybe-clean-stage2-intl: clean-stage2-intl
14370 clean-stage2: clean-stage2-intl
14371 clean-stage2-intl:
14372 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14373 || exit 0 ; \
14374 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14375 cd $(HOST_SUBDIR)/intl && \
14376 $(MAKE) $(FLAGS_TO_PASS) \
14377 $(POSTSTAGE1_FLAGS_TO_PASS) \
14378 clean
14379 @endif intl-bootstrap
14382 .PHONY: all-stage3-intl maybe-all-stage3-intl
14383 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14384 maybe-all-stage3-intl:
14385 maybe-clean-stage3-intl:
14386 @if intl-bootstrap
14387 maybe-all-stage3-intl: all-stage3-intl
14388 all-stage3: all-stage3-intl
14389 TARGET-stage3-intl = $(TARGET-intl)
14390 all-stage3-intl: configure-stage3-intl
14391 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14392 @r=`${PWD_COMMAND}`; export r; \
14393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14394 $(HOST_EXPORTS) \
14395 $(POSTSTAGE1_HOST_EXPORTS) \
14396 cd $(HOST_SUBDIR)/intl && \
14397 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14398 $(TARGET-stage3-intl)
14400 maybe-clean-stage3-intl: clean-stage3-intl
14401 clean-stage3: clean-stage3-intl
14402 clean-stage3-intl:
14403 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14404 || exit 0 ; \
14405 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14406 cd $(HOST_SUBDIR)/intl && \
14407 $(MAKE) $(FLAGS_TO_PASS) \
14408 $(POSTSTAGE1_FLAGS_TO_PASS) \
14409 clean
14410 @endif intl-bootstrap
14413 .PHONY: all-stage4-intl maybe-all-stage4-intl
14414 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14415 maybe-all-stage4-intl:
14416 maybe-clean-stage4-intl:
14417 @if intl-bootstrap
14418 maybe-all-stage4-intl: all-stage4-intl
14419 all-stage4: all-stage4-intl
14420 TARGET-stage4-intl = $(TARGET-intl)
14421 all-stage4-intl: configure-stage4-intl
14422 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14423 @r=`${PWD_COMMAND}`; export r; \
14424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14425 $(HOST_EXPORTS) \
14426 $(POSTSTAGE1_HOST_EXPORTS) \
14427 cd $(HOST_SUBDIR)/intl && \
14428 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14429 $(TARGET-stage4-intl)
14431 maybe-clean-stage4-intl: clean-stage4-intl
14432 clean-stage4: clean-stage4-intl
14433 clean-stage4-intl:
14434 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14435 || exit 0 ; \
14436 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14437 cd $(HOST_SUBDIR)/intl && \
14438 $(MAKE) $(FLAGS_TO_PASS) \
14439 $(POSTSTAGE1_FLAGS_TO_PASS) \
14440 clean
14441 @endif intl-bootstrap
14444 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14445 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14446 maybe-all-stageprofile-intl:
14447 maybe-clean-stageprofile-intl:
14448 @if intl-bootstrap
14449 maybe-all-stageprofile-intl: all-stageprofile-intl
14450 all-stageprofile: all-stageprofile-intl
14451 TARGET-stageprofile-intl = $(TARGET-intl)
14452 all-stageprofile-intl: configure-stageprofile-intl
14453 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14454 @r=`${PWD_COMMAND}`; export r; \
14455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14456 $(HOST_EXPORTS) \
14457 $(POSTSTAGE1_HOST_EXPORTS) \
14458 cd $(HOST_SUBDIR)/intl && \
14459 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14460 $(TARGET-stageprofile-intl)
14462 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14463 clean-stageprofile: clean-stageprofile-intl
14464 clean-stageprofile-intl:
14465 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14466 || exit 0 ; \
14467 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14468 cd $(HOST_SUBDIR)/intl && \
14469 $(MAKE) $(FLAGS_TO_PASS) \
14470 $(POSTSTAGE1_FLAGS_TO_PASS) \
14471 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14472 @endif intl-bootstrap
14475 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14476 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14477 maybe-all-stagefeedback-intl:
14478 maybe-clean-stagefeedback-intl:
14479 @if intl-bootstrap
14480 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14481 all-stagefeedback: all-stagefeedback-intl
14482 TARGET-stagefeedback-intl = $(TARGET-intl)
14483 all-stagefeedback-intl: configure-stagefeedback-intl
14484 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14485 @r=`${PWD_COMMAND}`; export r; \
14486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14487 $(HOST_EXPORTS) \
14488 $(POSTSTAGE1_HOST_EXPORTS) \
14489 cd $(HOST_SUBDIR)/intl && \
14490 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14491 $(TARGET-stagefeedback-intl)
14493 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14494 clean-stagefeedback: clean-stagefeedback-intl
14495 clean-stagefeedback-intl:
14496 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14497 || exit 0 ; \
14498 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14499 cd $(HOST_SUBDIR)/intl && \
14500 $(MAKE) $(FLAGS_TO_PASS) \
14501 $(POSTSTAGE1_FLAGS_TO_PASS) \
14502 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14503 @endif intl-bootstrap
14509 .PHONY: check-intl maybe-check-intl
14510 maybe-check-intl:
14511 @if intl
14512 maybe-check-intl: check-intl
14514 check-intl:
14515 @$(unstage)
14516 @r=`${PWD_COMMAND}`; export r; \
14517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14518 $(HOST_EXPORTS) \
14519 (cd $(HOST_SUBDIR)/intl && \
14520 $(MAKE) $(FLAGS_TO_PASS) check)
14522 @endif intl
14524 .PHONY: install-intl maybe-install-intl
14525 maybe-install-intl:
14526 @if intl
14527 maybe-install-intl: install-intl
14529 install-intl: installdirs
14530 @$(unstage)
14531 @r=`${PWD_COMMAND}`; export r; \
14532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14533 $(HOST_EXPORTS) \
14534 (cd $(HOST_SUBDIR)/intl && \
14535 $(MAKE) $(FLAGS_TO_PASS) install)
14537 @endif intl
14539 # Other targets (info, dvi, etc.)
14541 .PHONY: maybe-info-intl info-intl
14542 maybe-info-intl:
14543 @if intl
14544 maybe-info-intl: info-intl
14546 info-intl: \
14547 configure-intl
14548 @[ -f ./intl/Makefile ] || exit 0; \
14549 r=`${PWD_COMMAND}`; export r; \
14550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14551 $(HOST_EXPORTS) \
14552 for flag in $(EXTRA_HOST_FLAGS) ; do \
14553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14554 done; \
14555 echo "Doing info in intl" ; \
14556 (cd $(HOST_SUBDIR)/intl && \
14557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14559 "RANLIB=$${RANLIB}" \
14560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14561 info) \
14562 || exit 1
14564 @endif intl
14566 .PHONY: maybe-dvi-intl dvi-intl
14567 maybe-dvi-intl:
14568 @if intl
14569 maybe-dvi-intl: dvi-intl
14571 dvi-intl: \
14572 configure-intl
14573 @[ -f ./intl/Makefile ] || exit 0; \
14574 r=`${PWD_COMMAND}`; export r; \
14575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14576 $(HOST_EXPORTS) \
14577 for flag in $(EXTRA_HOST_FLAGS) ; do \
14578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14579 done; \
14580 echo "Doing dvi in intl" ; \
14581 (cd $(HOST_SUBDIR)/intl && \
14582 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14583 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14584 "RANLIB=$${RANLIB}" \
14585 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14586 dvi) \
14587 || exit 1
14589 @endif intl
14591 .PHONY: maybe-html-intl html-intl
14592 maybe-html-intl:
14593 @if intl
14594 maybe-html-intl: html-intl
14596 html-intl: \
14597 configure-intl
14598 @[ -f ./intl/Makefile ] || exit 0; \
14599 r=`${PWD_COMMAND}`; export r; \
14600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14601 $(HOST_EXPORTS) \
14602 for flag in $(EXTRA_HOST_FLAGS) ; do \
14603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14604 done; \
14605 echo "Doing html in intl" ; \
14606 (cd $(HOST_SUBDIR)/intl && \
14607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14609 "RANLIB=$${RANLIB}" \
14610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14611 html) \
14612 || exit 1
14614 @endif intl
14616 .PHONY: maybe-TAGS-intl TAGS-intl
14617 maybe-TAGS-intl:
14618 @if intl
14619 maybe-TAGS-intl: TAGS-intl
14621 TAGS-intl: \
14622 configure-intl
14623 @[ -f ./intl/Makefile ] || exit 0; \
14624 r=`${PWD_COMMAND}`; export r; \
14625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14626 $(HOST_EXPORTS) \
14627 for flag in $(EXTRA_HOST_FLAGS) ; do \
14628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14629 done; \
14630 echo "Doing TAGS in intl" ; \
14631 (cd $(HOST_SUBDIR)/intl && \
14632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14634 "RANLIB=$${RANLIB}" \
14635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14636 TAGS) \
14637 || exit 1
14639 @endif intl
14641 .PHONY: maybe-install-info-intl install-info-intl
14642 maybe-install-info-intl:
14643 @if intl
14644 maybe-install-info-intl: install-info-intl
14646 install-info-intl: \
14647 configure-intl \
14648 info-intl
14649 @[ -f ./intl/Makefile ] || exit 0; \
14650 r=`${PWD_COMMAND}`; export r; \
14651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14652 $(HOST_EXPORTS) \
14653 for flag in $(EXTRA_HOST_FLAGS) ; do \
14654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14655 done; \
14656 echo "Doing install-info in intl" ; \
14657 (cd $(HOST_SUBDIR)/intl && \
14658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14660 "RANLIB=$${RANLIB}" \
14661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14662 install-info) \
14663 || exit 1
14665 @endif intl
14667 .PHONY: maybe-installcheck-intl installcheck-intl
14668 maybe-installcheck-intl:
14669 @if intl
14670 maybe-installcheck-intl: installcheck-intl
14672 installcheck-intl: \
14673 configure-intl
14674 @[ -f ./intl/Makefile ] || exit 0; \
14675 r=`${PWD_COMMAND}`; export r; \
14676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14677 $(HOST_EXPORTS) \
14678 for flag in $(EXTRA_HOST_FLAGS) ; do \
14679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14680 done; \
14681 echo "Doing installcheck in intl" ; \
14682 (cd $(HOST_SUBDIR)/intl && \
14683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14685 "RANLIB=$${RANLIB}" \
14686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14687 installcheck) \
14688 || exit 1
14690 @endif intl
14692 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14693 maybe-mostlyclean-intl:
14694 @if intl
14695 maybe-mostlyclean-intl: mostlyclean-intl
14697 mostlyclean-intl:
14698 @[ -f ./intl/Makefile ] || exit 0; \
14699 r=`${PWD_COMMAND}`; export r; \
14700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14701 $(HOST_EXPORTS) \
14702 for flag in $(EXTRA_HOST_FLAGS) ; do \
14703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14704 done; \
14705 echo "Doing mostlyclean in intl" ; \
14706 (cd $(HOST_SUBDIR)/intl && \
14707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14709 "RANLIB=$${RANLIB}" \
14710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14711 mostlyclean) \
14712 || exit 1
14714 @endif intl
14716 .PHONY: maybe-clean-intl clean-intl
14717 maybe-clean-intl:
14718 @if intl
14719 maybe-clean-intl: clean-intl
14721 clean-intl:
14722 @[ -f ./intl/Makefile ] || exit 0; \
14723 r=`${PWD_COMMAND}`; export r; \
14724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14725 $(HOST_EXPORTS) \
14726 for flag in $(EXTRA_HOST_FLAGS) ; do \
14727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14728 done; \
14729 echo "Doing clean in intl" ; \
14730 (cd $(HOST_SUBDIR)/intl && \
14731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14733 "RANLIB=$${RANLIB}" \
14734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14735 clean) \
14736 || exit 1
14738 @endif intl
14740 .PHONY: maybe-distclean-intl distclean-intl
14741 maybe-distclean-intl:
14742 @if intl
14743 maybe-distclean-intl: distclean-intl
14745 distclean-intl:
14746 @[ -f ./intl/Makefile ] || exit 0; \
14747 r=`${PWD_COMMAND}`; export r; \
14748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14749 $(HOST_EXPORTS) \
14750 for flag in $(EXTRA_HOST_FLAGS) ; do \
14751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14752 done; \
14753 echo "Doing distclean in intl" ; \
14754 (cd $(HOST_SUBDIR)/intl && \
14755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14757 "RANLIB=$${RANLIB}" \
14758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14759 distclean) \
14760 || exit 1
14762 @endif intl
14764 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14765 maybe-maintainer-clean-intl:
14766 @if intl
14767 maybe-maintainer-clean-intl: maintainer-clean-intl
14769 maintainer-clean-intl:
14770 @[ -f ./intl/Makefile ] || exit 0; \
14771 r=`${PWD_COMMAND}`; export r; \
14772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14773 $(HOST_EXPORTS) \
14774 for flag in $(EXTRA_HOST_FLAGS) ; do \
14775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14776 done; \
14777 echo "Doing maintainer-clean in intl" ; \
14778 (cd $(HOST_SUBDIR)/intl && \
14779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14781 "RANLIB=$${RANLIB}" \
14782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14783 maintainer-clean) \
14784 || exit 1
14786 @endif intl
14790 .PHONY: configure-tcl maybe-configure-tcl
14791 maybe-configure-tcl:
14792 @if tcl
14793 maybe-configure-tcl: configure-tcl
14794 configure-tcl:
14795 @$(unstage)
14796 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14797 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14798 r=`${PWD_COMMAND}`; export r; \
14799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14800 $(HOST_EXPORTS) \
14801 echo Configuring in $(HOST_SUBDIR)/tcl; \
14802 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14803 case $(srcdir) in \
14804 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14805 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14806 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14807 esac; \
14808 srcdiroption="--srcdir=$${topdir}/tcl"; \
14809 libsrcdir="$$s/tcl"; \
14810 $(SHELL) $${libsrcdir}/configure \
14811 $(HOST_CONFIGARGS) $${srcdiroption} \
14812 || exit 1
14813 @endif tcl
14819 .PHONY: all-tcl maybe-all-tcl
14820 maybe-all-tcl:
14821 @if tcl
14822 TARGET-tcl=all
14823 maybe-all-tcl: all-tcl
14824 all-tcl: configure-tcl
14825 @$(unstage)
14826 @r=`${PWD_COMMAND}`; export r; \
14827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14828 $(HOST_EXPORTS) \
14829 (cd $(HOST_SUBDIR)/tcl && \
14830 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14831 @endif tcl
14836 .PHONY: check-tcl maybe-check-tcl
14837 maybe-check-tcl:
14838 @if tcl
14839 maybe-check-tcl: check-tcl
14841 check-tcl:
14842 @$(unstage)
14843 @r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14845 $(HOST_EXPORTS) \
14846 (cd $(HOST_SUBDIR)/tcl && \
14847 $(MAKE) $(FLAGS_TO_PASS) check)
14849 @endif tcl
14851 .PHONY: install-tcl maybe-install-tcl
14852 maybe-install-tcl:
14853 @if tcl
14854 maybe-install-tcl: install-tcl
14856 install-tcl: installdirs
14857 @$(unstage)
14858 @r=`${PWD_COMMAND}`; export r; \
14859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14860 $(HOST_EXPORTS) \
14861 (cd $(HOST_SUBDIR)/tcl && \
14862 $(MAKE) $(FLAGS_TO_PASS) install)
14864 @endif tcl
14866 # Other targets (info, dvi, etc.)
14868 .PHONY: maybe-info-tcl info-tcl
14869 maybe-info-tcl:
14870 @if tcl
14871 maybe-info-tcl: info-tcl
14873 info-tcl: \
14874 configure-tcl
14875 @$(unstage)
14876 @[ -f ./tcl/Makefile ] || exit 0; \
14877 r=`${PWD_COMMAND}`; export r; \
14878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14879 $(HOST_EXPORTS) \
14880 for flag in $(EXTRA_HOST_FLAGS) ; do \
14881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14882 done; \
14883 echo "Doing info in tcl" ; \
14884 (cd $(HOST_SUBDIR)/tcl && \
14885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14887 "RANLIB=$${RANLIB}" \
14888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14889 info) \
14890 || exit 1
14892 @endif tcl
14894 .PHONY: maybe-dvi-tcl dvi-tcl
14895 maybe-dvi-tcl:
14896 @if tcl
14897 maybe-dvi-tcl: dvi-tcl
14899 dvi-tcl: \
14900 configure-tcl
14901 @$(unstage)
14902 @[ -f ./tcl/Makefile ] || exit 0; \
14903 r=`${PWD_COMMAND}`; export r; \
14904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14905 $(HOST_EXPORTS) \
14906 for flag in $(EXTRA_HOST_FLAGS) ; do \
14907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14908 done; \
14909 echo "Doing dvi in tcl" ; \
14910 (cd $(HOST_SUBDIR)/tcl && \
14911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14913 "RANLIB=$${RANLIB}" \
14914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14915 dvi) \
14916 || exit 1
14918 @endif tcl
14920 .PHONY: maybe-html-tcl html-tcl
14921 maybe-html-tcl:
14922 @if tcl
14923 maybe-html-tcl: html-tcl
14925 html-tcl: \
14926 configure-tcl
14927 @$(unstage)
14928 @[ -f ./tcl/Makefile ] || exit 0; \
14929 r=`${PWD_COMMAND}`; export r; \
14930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14931 $(HOST_EXPORTS) \
14932 for flag in $(EXTRA_HOST_FLAGS) ; do \
14933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14934 done; \
14935 echo "Doing html in tcl" ; \
14936 (cd $(HOST_SUBDIR)/tcl && \
14937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14939 "RANLIB=$${RANLIB}" \
14940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14941 html) \
14942 || exit 1
14944 @endif tcl
14946 .PHONY: maybe-TAGS-tcl TAGS-tcl
14947 maybe-TAGS-tcl:
14948 @if tcl
14949 maybe-TAGS-tcl: TAGS-tcl
14951 TAGS-tcl: \
14952 configure-tcl
14953 @$(unstage)
14954 @[ -f ./tcl/Makefile ] || exit 0; \
14955 r=`${PWD_COMMAND}`; export r; \
14956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14957 $(HOST_EXPORTS) \
14958 for flag in $(EXTRA_HOST_FLAGS) ; do \
14959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14960 done; \
14961 echo "Doing TAGS in tcl" ; \
14962 (cd $(HOST_SUBDIR)/tcl && \
14963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14965 "RANLIB=$${RANLIB}" \
14966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14967 TAGS) \
14968 || exit 1
14970 @endif tcl
14972 .PHONY: maybe-install-info-tcl install-info-tcl
14973 maybe-install-info-tcl:
14974 @if tcl
14975 maybe-install-info-tcl: install-info-tcl
14977 install-info-tcl: \
14978 configure-tcl \
14979 info-tcl
14980 @$(unstage)
14981 @[ -f ./tcl/Makefile ] || exit 0; \
14982 r=`${PWD_COMMAND}`; export r; \
14983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14984 $(HOST_EXPORTS) \
14985 for flag in $(EXTRA_HOST_FLAGS) ; do \
14986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14987 done; \
14988 echo "Doing install-info in tcl" ; \
14989 (cd $(HOST_SUBDIR)/tcl && \
14990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14992 "RANLIB=$${RANLIB}" \
14993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14994 install-info) \
14995 || exit 1
14997 @endif tcl
14999 .PHONY: maybe-installcheck-tcl installcheck-tcl
15000 maybe-installcheck-tcl:
15001 @if tcl
15002 maybe-installcheck-tcl: installcheck-tcl
15004 installcheck-tcl: \
15005 configure-tcl
15006 @$(unstage)
15007 @[ -f ./tcl/Makefile ] || exit 0; \
15008 r=`${PWD_COMMAND}`; export r; \
15009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15010 $(HOST_EXPORTS) \
15011 for flag in $(EXTRA_HOST_FLAGS) ; do \
15012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15013 done; \
15014 echo "Doing installcheck in tcl" ; \
15015 (cd $(HOST_SUBDIR)/tcl && \
15016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15018 "RANLIB=$${RANLIB}" \
15019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15020 installcheck) \
15021 || exit 1
15023 @endif tcl
15025 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
15026 maybe-mostlyclean-tcl:
15027 @if tcl
15028 maybe-mostlyclean-tcl: mostlyclean-tcl
15030 # tcl doesn't support mostlyclean.
15031 mostlyclean-tcl:
15033 @endif tcl
15035 .PHONY: maybe-clean-tcl clean-tcl
15036 maybe-clean-tcl:
15037 @if tcl
15038 maybe-clean-tcl: clean-tcl
15040 clean-tcl:
15041 @$(unstage)
15042 @[ -f ./tcl/Makefile ] || exit 0; \
15043 r=`${PWD_COMMAND}`; export r; \
15044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15045 $(HOST_EXPORTS) \
15046 for flag in $(EXTRA_HOST_FLAGS) ; do \
15047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15048 done; \
15049 echo "Doing clean in tcl" ; \
15050 (cd $(HOST_SUBDIR)/tcl && \
15051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15053 "RANLIB=$${RANLIB}" \
15054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15055 clean) \
15056 || exit 1
15058 @endif tcl
15060 .PHONY: maybe-distclean-tcl distclean-tcl
15061 maybe-distclean-tcl:
15062 @if tcl
15063 maybe-distclean-tcl: distclean-tcl
15065 distclean-tcl:
15066 @$(unstage)
15067 @[ -f ./tcl/Makefile ] || exit 0; \
15068 r=`${PWD_COMMAND}`; export r; \
15069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15070 $(HOST_EXPORTS) \
15071 for flag in $(EXTRA_HOST_FLAGS) ; do \
15072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15073 done; \
15074 echo "Doing distclean in tcl" ; \
15075 (cd $(HOST_SUBDIR)/tcl && \
15076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15078 "RANLIB=$${RANLIB}" \
15079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15080 distclean) \
15081 || exit 1
15083 @endif tcl
15085 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15086 maybe-maintainer-clean-tcl:
15087 @if tcl
15088 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15090 maintainer-clean-tcl:
15091 @$(unstage)
15092 @[ -f ./tcl/Makefile ] || exit 0; \
15093 r=`${PWD_COMMAND}`; export r; \
15094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15095 $(HOST_EXPORTS) \
15096 for flag in $(EXTRA_HOST_FLAGS) ; do \
15097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15098 done; \
15099 echo "Doing maintainer-clean in tcl" ; \
15100 (cd $(HOST_SUBDIR)/tcl && \
15101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15103 "RANLIB=$${RANLIB}" \
15104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15105 maintainer-clean) \
15106 || exit 1
15108 @endif tcl
15112 .PHONY: configure-itcl maybe-configure-itcl
15113 maybe-configure-itcl:
15114 @if itcl
15115 maybe-configure-itcl: configure-itcl
15116 configure-itcl:
15117 @$(unstage)
15118 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15120 r=`${PWD_COMMAND}`; export r; \
15121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15122 $(HOST_EXPORTS) \
15123 echo Configuring in $(HOST_SUBDIR)/itcl; \
15124 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15125 case $(srcdir) in \
15126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15127 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15129 esac; \
15130 srcdiroption="--srcdir=$${topdir}/itcl"; \
15131 libsrcdir="$$s/itcl"; \
15132 $(SHELL) $${libsrcdir}/configure \
15133 $(HOST_CONFIGARGS) $${srcdiroption} \
15134 || exit 1
15135 @endif itcl
15141 .PHONY: all-itcl maybe-all-itcl
15142 maybe-all-itcl:
15143 @if itcl
15144 TARGET-itcl=all
15145 maybe-all-itcl: all-itcl
15146 all-itcl: configure-itcl
15147 @$(unstage)
15148 @r=`${PWD_COMMAND}`; export r; \
15149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15150 $(HOST_EXPORTS) \
15151 (cd $(HOST_SUBDIR)/itcl && \
15152 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15153 @endif itcl
15158 .PHONY: check-itcl maybe-check-itcl
15159 maybe-check-itcl:
15160 @if itcl
15161 maybe-check-itcl: check-itcl
15163 check-itcl:
15164 @$(unstage)
15165 @r=`${PWD_COMMAND}`; export r; \
15166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15167 $(HOST_EXPORTS) \
15168 (cd $(HOST_SUBDIR)/itcl && \
15169 $(MAKE) $(FLAGS_TO_PASS) check)
15171 @endif itcl
15173 .PHONY: install-itcl maybe-install-itcl
15174 maybe-install-itcl:
15175 @if itcl
15176 maybe-install-itcl: install-itcl
15178 install-itcl: installdirs
15179 @$(unstage)
15180 @r=`${PWD_COMMAND}`; export r; \
15181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15182 $(HOST_EXPORTS) \
15183 (cd $(HOST_SUBDIR)/itcl && \
15184 $(MAKE) $(FLAGS_TO_PASS) install)
15186 @endif itcl
15188 # Other targets (info, dvi, etc.)
15190 .PHONY: maybe-info-itcl info-itcl
15191 maybe-info-itcl:
15192 @if itcl
15193 maybe-info-itcl: info-itcl
15195 info-itcl: \
15196 configure-itcl
15197 @$(unstage)
15198 @[ -f ./itcl/Makefile ] || exit 0; \
15199 r=`${PWD_COMMAND}`; export r; \
15200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15201 $(HOST_EXPORTS) \
15202 for flag in $(EXTRA_HOST_FLAGS) ; do \
15203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15204 done; \
15205 echo "Doing info in itcl" ; \
15206 (cd $(HOST_SUBDIR)/itcl && \
15207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15209 "RANLIB=$${RANLIB}" \
15210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15211 info) \
15212 || exit 1
15214 @endif itcl
15216 .PHONY: maybe-dvi-itcl dvi-itcl
15217 maybe-dvi-itcl:
15218 @if itcl
15219 maybe-dvi-itcl: dvi-itcl
15221 dvi-itcl: \
15222 configure-itcl
15223 @$(unstage)
15224 @[ -f ./itcl/Makefile ] || exit 0; \
15225 r=`${PWD_COMMAND}`; export r; \
15226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15227 $(HOST_EXPORTS) \
15228 for flag in $(EXTRA_HOST_FLAGS) ; do \
15229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15230 done; \
15231 echo "Doing dvi in itcl" ; \
15232 (cd $(HOST_SUBDIR)/itcl && \
15233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15235 "RANLIB=$${RANLIB}" \
15236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15237 dvi) \
15238 || exit 1
15240 @endif itcl
15242 .PHONY: maybe-html-itcl html-itcl
15243 maybe-html-itcl:
15244 @if itcl
15245 maybe-html-itcl: html-itcl
15247 html-itcl: \
15248 configure-itcl
15249 @$(unstage)
15250 @[ -f ./itcl/Makefile ] || exit 0; \
15251 r=`${PWD_COMMAND}`; export r; \
15252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15253 $(HOST_EXPORTS) \
15254 for flag in $(EXTRA_HOST_FLAGS) ; do \
15255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15256 done; \
15257 echo "Doing html in itcl" ; \
15258 (cd $(HOST_SUBDIR)/itcl && \
15259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15261 "RANLIB=$${RANLIB}" \
15262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15263 html) \
15264 || exit 1
15266 @endif itcl
15268 .PHONY: maybe-TAGS-itcl TAGS-itcl
15269 maybe-TAGS-itcl:
15270 @if itcl
15271 maybe-TAGS-itcl: TAGS-itcl
15273 TAGS-itcl: \
15274 configure-itcl
15275 @$(unstage)
15276 @[ -f ./itcl/Makefile ] || exit 0; \
15277 r=`${PWD_COMMAND}`; export r; \
15278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15279 $(HOST_EXPORTS) \
15280 for flag in $(EXTRA_HOST_FLAGS) ; do \
15281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15282 done; \
15283 echo "Doing TAGS in itcl" ; \
15284 (cd $(HOST_SUBDIR)/itcl && \
15285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15287 "RANLIB=$${RANLIB}" \
15288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15289 TAGS) \
15290 || exit 1
15292 @endif itcl
15294 .PHONY: maybe-install-info-itcl install-info-itcl
15295 maybe-install-info-itcl:
15296 @if itcl
15297 maybe-install-info-itcl: install-info-itcl
15299 install-info-itcl: \
15300 configure-itcl \
15301 info-itcl
15302 @$(unstage)
15303 @[ -f ./itcl/Makefile ] || exit 0; \
15304 r=`${PWD_COMMAND}`; export r; \
15305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15306 $(HOST_EXPORTS) \
15307 for flag in $(EXTRA_HOST_FLAGS) ; do \
15308 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15309 done; \
15310 echo "Doing install-info in itcl" ; \
15311 (cd $(HOST_SUBDIR)/itcl && \
15312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15314 "RANLIB=$${RANLIB}" \
15315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15316 install-info) \
15317 || exit 1
15319 @endif itcl
15321 .PHONY: maybe-installcheck-itcl installcheck-itcl
15322 maybe-installcheck-itcl:
15323 @if itcl
15324 maybe-installcheck-itcl: installcheck-itcl
15326 installcheck-itcl: \
15327 configure-itcl
15328 @$(unstage)
15329 @[ -f ./itcl/Makefile ] || exit 0; \
15330 r=`${PWD_COMMAND}`; export r; \
15331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15332 $(HOST_EXPORTS) \
15333 for flag in $(EXTRA_HOST_FLAGS) ; do \
15334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15335 done; \
15336 echo "Doing installcheck in itcl" ; \
15337 (cd $(HOST_SUBDIR)/itcl && \
15338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15340 "RANLIB=$${RANLIB}" \
15341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15342 installcheck) \
15343 || exit 1
15345 @endif itcl
15347 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15348 maybe-mostlyclean-itcl:
15349 @if itcl
15350 maybe-mostlyclean-itcl: mostlyclean-itcl
15352 mostlyclean-itcl:
15353 @$(unstage)
15354 @[ -f ./itcl/Makefile ] || exit 0; \
15355 r=`${PWD_COMMAND}`; export r; \
15356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15357 $(HOST_EXPORTS) \
15358 for flag in $(EXTRA_HOST_FLAGS) ; do \
15359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15360 done; \
15361 echo "Doing mostlyclean in itcl" ; \
15362 (cd $(HOST_SUBDIR)/itcl && \
15363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15365 "RANLIB=$${RANLIB}" \
15366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15367 mostlyclean) \
15368 || exit 1
15370 @endif itcl
15372 .PHONY: maybe-clean-itcl clean-itcl
15373 maybe-clean-itcl:
15374 @if itcl
15375 maybe-clean-itcl: clean-itcl
15377 clean-itcl:
15378 @$(unstage)
15379 @[ -f ./itcl/Makefile ] || exit 0; \
15380 r=`${PWD_COMMAND}`; export r; \
15381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15382 $(HOST_EXPORTS) \
15383 for flag in $(EXTRA_HOST_FLAGS) ; do \
15384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15385 done; \
15386 echo "Doing clean in itcl" ; \
15387 (cd $(HOST_SUBDIR)/itcl && \
15388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15390 "RANLIB=$${RANLIB}" \
15391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15392 clean) \
15393 || exit 1
15395 @endif itcl
15397 .PHONY: maybe-distclean-itcl distclean-itcl
15398 maybe-distclean-itcl:
15399 @if itcl
15400 maybe-distclean-itcl: distclean-itcl
15402 distclean-itcl:
15403 @$(unstage)
15404 @[ -f ./itcl/Makefile ] || exit 0; \
15405 r=`${PWD_COMMAND}`; export r; \
15406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15407 $(HOST_EXPORTS) \
15408 for flag in $(EXTRA_HOST_FLAGS) ; do \
15409 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15410 done; \
15411 echo "Doing distclean in itcl" ; \
15412 (cd $(HOST_SUBDIR)/itcl && \
15413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15415 "RANLIB=$${RANLIB}" \
15416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15417 distclean) \
15418 || exit 1
15420 @endif itcl
15422 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15423 maybe-maintainer-clean-itcl:
15424 @if itcl
15425 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15427 maintainer-clean-itcl:
15428 @$(unstage)
15429 @[ -f ./itcl/Makefile ] || exit 0; \
15430 r=`${PWD_COMMAND}`; export r; \
15431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15432 $(HOST_EXPORTS) \
15433 for flag in $(EXTRA_HOST_FLAGS) ; do \
15434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15435 done; \
15436 echo "Doing maintainer-clean in itcl" ; \
15437 (cd $(HOST_SUBDIR)/itcl && \
15438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15440 "RANLIB=$${RANLIB}" \
15441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15442 maintainer-clean) \
15443 || exit 1
15445 @endif itcl
15449 .PHONY: configure-ld maybe-configure-ld
15450 maybe-configure-ld:
15451 @if ld
15452 maybe-configure-ld: configure-ld
15453 configure-ld:
15454 @test -f stage_last && exit 0; \
15455 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15456 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15457 r=`${PWD_COMMAND}`; export r; \
15458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15459 $(HOST_EXPORTS) \
15460 echo Configuring in $(HOST_SUBDIR)/ld; \
15461 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15462 case $(srcdir) in \
15463 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15464 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15465 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15466 esac; \
15467 srcdiroption="--srcdir=$${topdir}/ld"; \
15468 libsrcdir="$$s/ld"; \
15469 $(SHELL) $${libsrcdir}/configure \
15470 $(HOST_CONFIGARGS) $${srcdiroption} \
15471 || exit 1
15472 @endif ld
15476 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15477 maybe-configure-stage1-ld:
15478 @if ld-bootstrap
15479 maybe-configure-stage1-ld: configure-stage1-ld
15480 configure-stage1-ld:
15481 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15482 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15483 r=`${PWD_COMMAND}`; export r; \
15484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15485 $(HOST_EXPORTS) \
15486 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15487 cd $(HOST_SUBDIR)/ld || exit 1; \
15488 case $(srcdir) in \
15489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15490 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15492 esac; \
15493 srcdiroption="--srcdir=$${topdir}/ld"; \
15494 libsrcdir="$$s/ld"; \
15495 $(SHELL) $${libsrcdir}/configure \
15496 $(HOST_CONFIGARGS) $${srcdiroption} \
15497 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15498 @endif ld-bootstrap
15500 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15501 maybe-configure-stage2-ld:
15502 @if ld-bootstrap
15503 maybe-configure-stage2-ld: configure-stage2-ld
15504 configure-stage2-ld:
15505 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15506 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15507 r=`${PWD_COMMAND}`; export r; \
15508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15509 $(HOST_EXPORTS) \
15510 $(POSTSTAGE1_HOST_EXPORTS) \
15511 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15512 cd $(HOST_SUBDIR)/ld || exit 1; \
15513 case $(srcdir) in \
15514 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15515 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15516 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15517 esac; \
15518 srcdiroption="--srcdir=$${topdir}/ld"; \
15519 libsrcdir="$$s/ld"; \
15520 $(SHELL) $${libsrcdir}/configure \
15521 $(HOST_CONFIGARGS) $${srcdiroption} \
15522 @stage2_werror_flag@
15523 @endif ld-bootstrap
15525 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15526 maybe-configure-stage3-ld:
15527 @if ld-bootstrap
15528 maybe-configure-stage3-ld: configure-stage3-ld
15529 configure-stage3-ld:
15530 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15531 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15532 r=`${PWD_COMMAND}`; export r; \
15533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15534 $(HOST_EXPORTS) \
15535 $(POSTSTAGE1_HOST_EXPORTS) \
15536 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15537 cd $(HOST_SUBDIR)/ld || exit 1; \
15538 case $(srcdir) in \
15539 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15540 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15541 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15542 esac; \
15543 srcdiroption="--srcdir=$${topdir}/ld"; \
15544 libsrcdir="$$s/ld"; \
15545 $(SHELL) $${libsrcdir}/configure \
15546 $(HOST_CONFIGARGS) $${srcdiroption} \
15547 @stage2_werror_flag@
15548 @endif ld-bootstrap
15550 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15551 maybe-configure-stage4-ld:
15552 @if ld-bootstrap
15553 maybe-configure-stage4-ld: configure-stage4-ld
15554 configure-stage4-ld:
15555 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15556 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15557 r=`${PWD_COMMAND}`; export r; \
15558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15559 $(HOST_EXPORTS) \
15560 $(POSTSTAGE1_HOST_EXPORTS) \
15561 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15562 cd $(HOST_SUBDIR)/ld || exit 1; \
15563 case $(srcdir) in \
15564 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15565 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15566 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15567 esac; \
15568 srcdiroption="--srcdir=$${topdir}/ld"; \
15569 libsrcdir="$$s/ld"; \
15570 $(SHELL) $${libsrcdir}/configure \
15571 $(HOST_CONFIGARGS) $${srcdiroption} \
15572 @stage2_werror_flag@
15573 @endif ld-bootstrap
15575 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15576 maybe-configure-stageprofile-ld:
15577 @if ld-bootstrap
15578 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15579 configure-stageprofile-ld:
15580 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15581 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15582 r=`${PWD_COMMAND}`; export r; \
15583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15584 $(HOST_EXPORTS) \
15585 $(POSTSTAGE1_HOST_EXPORTS) \
15586 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15587 cd $(HOST_SUBDIR)/ld || exit 1; \
15588 case $(srcdir) in \
15589 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15590 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15591 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15592 esac; \
15593 srcdiroption="--srcdir=$${topdir}/ld"; \
15594 libsrcdir="$$s/ld"; \
15595 $(SHELL) $${libsrcdir}/configure \
15596 $(HOST_CONFIGARGS) $${srcdiroption} \
15597 @stage2_werror_flag@
15598 @endif ld-bootstrap
15600 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15601 maybe-configure-stagefeedback-ld:
15602 @if ld-bootstrap
15603 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15604 configure-stagefeedback-ld:
15605 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15606 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15607 r=`${PWD_COMMAND}`; export r; \
15608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15609 $(HOST_EXPORTS) \
15610 $(POSTSTAGE1_HOST_EXPORTS) \
15611 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15612 cd $(HOST_SUBDIR)/ld || exit 1; \
15613 case $(srcdir) in \
15614 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15615 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15616 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15617 esac; \
15618 srcdiroption="--srcdir=$${topdir}/ld"; \
15619 libsrcdir="$$s/ld"; \
15620 $(SHELL) $${libsrcdir}/configure \
15621 $(HOST_CONFIGARGS) $${srcdiroption} \
15622 @stage2_werror_flag@
15623 @endif ld-bootstrap
15629 .PHONY: all-ld maybe-all-ld
15630 maybe-all-ld:
15631 @if ld
15632 TARGET-ld=all
15633 maybe-all-ld: all-ld
15634 all-ld: configure-ld
15635 @test -f stage_last && exit 0; \
15636 r=`${PWD_COMMAND}`; export r; \
15637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15638 $(HOST_EXPORTS) \
15639 (cd $(HOST_SUBDIR)/ld && \
15640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15641 @endif ld
15645 .PHONY: all-stage1-ld maybe-all-stage1-ld
15646 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15647 maybe-all-stage1-ld:
15648 maybe-clean-stage1-ld:
15649 @if ld-bootstrap
15650 maybe-all-stage1-ld: all-stage1-ld
15651 all-stage1: all-stage1-ld
15652 TARGET-stage1-ld = $(TARGET-ld)
15653 all-stage1-ld: configure-stage1-ld
15654 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15655 @r=`${PWD_COMMAND}`; export r; \
15656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15657 $(HOST_EXPORTS) \
15658 cd $(HOST_SUBDIR)/ld && \
15659 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15660 $(TARGET-stage1-ld)
15662 maybe-clean-stage1-ld: clean-stage1-ld
15663 clean-stage1: clean-stage1-ld
15664 clean-stage1-ld:
15665 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15666 || exit 0 ; \
15667 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15668 cd $(HOST_SUBDIR)/ld && \
15669 $(MAKE) $(FLAGS_TO_PASS) \
15670 CFLAGS="$(STAGE1_CFLAGS)" clean
15671 @endif ld-bootstrap
15674 .PHONY: all-stage2-ld maybe-all-stage2-ld
15675 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15676 maybe-all-stage2-ld:
15677 maybe-clean-stage2-ld:
15678 @if ld-bootstrap
15679 maybe-all-stage2-ld: all-stage2-ld
15680 all-stage2: all-stage2-ld
15681 TARGET-stage2-ld = $(TARGET-ld)
15682 all-stage2-ld: configure-stage2-ld
15683 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15684 @r=`${PWD_COMMAND}`; export r; \
15685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15686 $(HOST_EXPORTS) \
15687 $(POSTSTAGE1_HOST_EXPORTS) \
15688 cd $(HOST_SUBDIR)/ld && \
15689 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15690 $(TARGET-stage2-ld)
15692 maybe-clean-stage2-ld: clean-stage2-ld
15693 clean-stage2: clean-stage2-ld
15694 clean-stage2-ld:
15695 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15696 || exit 0 ; \
15697 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15698 cd $(HOST_SUBDIR)/ld && \
15699 $(MAKE) $(FLAGS_TO_PASS) \
15700 $(POSTSTAGE1_FLAGS_TO_PASS) \
15701 clean
15702 @endif ld-bootstrap
15705 .PHONY: all-stage3-ld maybe-all-stage3-ld
15706 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15707 maybe-all-stage3-ld:
15708 maybe-clean-stage3-ld:
15709 @if ld-bootstrap
15710 maybe-all-stage3-ld: all-stage3-ld
15711 all-stage3: all-stage3-ld
15712 TARGET-stage3-ld = $(TARGET-ld)
15713 all-stage3-ld: configure-stage3-ld
15714 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15715 @r=`${PWD_COMMAND}`; export r; \
15716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15717 $(HOST_EXPORTS) \
15718 $(POSTSTAGE1_HOST_EXPORTS) \
15719 cd $(HOST_SUBDIR)/ld && \
15720 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15721 $(TARGET-stage3-ld)
15723 maybe-clean-stage3-ld: clean-stage3-ld
15724 clean-stage3: clean-stage3-ld
15725 clean-stage3-ld:
15726 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15727 || exit 0 ; \
15728 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15729 cd $(HOST_SUBDIR)/ld && \
15730 $(MAKE) $(FLAGS_TO_PASS) \
15731 $(POSTSTAGE1_FLAGS_TO_PASS) \
15732 clean
15733 @endif ld-bootstrap
15736 .PHONY: all-stage4-ld maybe-all-stage4-ld
15737 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15738 maybe-all-stage4-ld:
15739 maybe-clean-stage4-ld:
15740 @if ld-bootstrap
15741 maybe-all-stage4-ld: all-stage4-ld
15742 all-stage4: all-stage4-ld
15743 TARGET-stage4-ld = $(TARGET-ld)
15744 all-stage4-ld: configure-stage4-ld
15745 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15746 @r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 $(HOST_EXPORTS) \
15749 $(POSTSTAGE1_HOST_EXPORTS) \
15750 cd $(HOST_SUBDIR)/ld && \
15751 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15752 $(TARGET-stage4-ld)
15754 maybe-clean-stage4-ld: clean-stage4-ld
15755 clean-stage4: clean-stage4-ld
15756 clean-stage4-ld:
15757 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15758 || exit 0 ; \
15759 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15760 cd $(HOST_SUBDIR)/ld && \
15761 $(MAKE) $(FLAGS_TO_PASS) \
15762 $(POSTSTAGE1_FLAGS_TO_PASS) \
15763 clean
15764 @endif ld-bootstrap
15767 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15768 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15769 maybe-all-stageprofile-ld:
15770 maybe-clean-stageprofile-ld:
15771 @if ld-bootstrap
15772 maybe-all-stageprofile-ld: all-stageprofile-ld
15773 all-stageprofile: all-stageprofile-ld
15774 TARGET-stageprofile-ld = $(TARGET-ld)
15775 all-stageprofile-ld: configure-stageprofile-ld
15776 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15777 @r=`${PWD_COMMAND}`; export r; \
15778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15779 $(HOST_EXPORTS) \
15780 $(POSTSTAGE1_HOST_EXPORTS) \
15781 cd $(HOST_SUBDIR)/ld && \
15782 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15783 $(TARGET-stageprofile-ld)
15785 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15786 clean-stageprofile: clean-stageprofile-ld
15787 clean-stageprofile-ld:
15788 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15789 || exit 0 ; \
15790 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15791 cd $(HOST_SUBDIR)/ld && \
15792 $(MAKE) $(FLAGS_TO_PASS) \
15793 $(POSTSTAGE1_FLAGS_TO_PASS) \
15794 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15795 @endif ld-bootstrap
15798 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15799 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15800 maybe-all-stagefeedback-ld:
15801 maybe-clean-stagefeedback-ld:
15802 @if ld-bootstrap
15803 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15804 all-stagefeedback: all-stagefeedback-ld
15805 TARGET-stagefeedback-ld = $(TARGET-ld)
15806 all-stagefeedback-ld: configure-stagefeedback-ld
15807 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15808 @r=`${PWD_COMMAND}`; export r; \
15809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15810 $(HOST_EXPORTS) \
15811 $(POSTSTAGE1_HOST_EXPORTS) \
15812 cd $(HOST_SUBDIR)/ld && \
15813 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15814 $(TARGET-stagefeedback-ld)
15816 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15817 clean-stagefeedback: clean-stagefeedback-ld
15818 clean-stagefeedback-ld:
15819 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15820 || exit 0 ; \
15821 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15822 cd $(HOST_SUBDIR)/ld && \
15823 $(MAKE) $(FLAGS_TO_PASS) \
15824 $(POSTSTAGE1_FLAGS_TO_PASS) \
15825 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15826 @endif ld-bootstrap
15832 .PHONY: check-ld maybe-check-ld
15833 maybe-check-ld:
15834 @if ld
15835 maybe-check-ld: check-ld
15837 check-ld:
15838 @$(unstage)
15839 @r=`${PWD_COMMAND}`; export r; \
15840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15841 $(HOST_EXPORTS) \
15842 (cd $(HOST_SUBDIR)/ld && \
15843 $(MAKE) $(FLAGS_TO_PASS) check)
15845 @endif ld
15847 .PHONY: install-ld maybe-install-ld
15848 maybe-install-ld:
15849 @if ld
15850 maybe-install-ld: install-ld
15852 install-ld: installdirs
15853 @$(unstage)
15854 @r=`${PWD_COMMAND}`; export r; \
15855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15856 $(HOST_EXPORTS) \
15857 (cd $(HOST_SUBDIR)/ld && \
15858 $(MAKE) $(FLAGS_TO_PASS) install)
15860 @endif ld
15862 # Other targets (info, dvi, etc.)
15864 .PHONY: maybe-info-ld info-ld
15865 maybe-info-ld:
15866 @if ld
15867 maybe-info-ld: info-ld
15869 info-ld: \
15870 configure-ld
15871 @[ -f ./ld/Makefile ] || exit 0; \
15872 r=`${PWD_COMMAND}`; export r; \
15873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15874 $(HOST_EXPORTS) \
15875 for flag in $(EXTRA_HOST_FLAGS) ; do \
15876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15877 done; \
15878 echo "Doing info in ld" ; \
15879 (cd $(HOST_SUBDIR)/ld && \
15880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15882 "RANLIB=$${RANLIB}" \
15883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15884 info) \
15885 || exit 1
15887 @endif ld
15889 .PHONY: maybe-dvi-ld dvi-ld
15890 maybe-dvi-ld:
15891 @if ld
15892 maybe-dvi-ld: dvi-ld
15894 dvi-ld: \
15895 configure-ld
15896 @[ -f ./ld/Makefile ] || exit 0; \
15897 r=`${PWD_COMMAND}`; export r; \
15898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15899 $(HOST_EXPORTS) \
15900 for flag in $(EXTRA_HOST_FLAGS) ; do \
15901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15902 done; \
15903 echo "Doing dvi in ld" ; \
15904 (cd $(HOST_SUBDIR)/ld && \
15905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15907 "RANLIB=$${RANLIB}" \
15908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15909 dvi) \
15910 || exit 1
15912 @endif ld
15914 .PHONY: maybe-html-ld html-ld
15915 maybe-html-ld:
15916 @if ld
15917 maybe-html-ld: html-ld
15919 html-ld: \
15920 configure-ld
15921 @[ -f ./ld/Makefile ] || exit 0; \
15922 r=`${PWD_COMMAND}`; export r; \
15923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15924 $(HOST_EXPORTS) \
15925 for flag in $(EXTRA_HOST_FLAGS) ; do \
15926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15927 done; \
15928 echo "Doing html in ld" ; \
15929 (cd $(HOST_SUBDIR)/ld && \
15930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15932 "RANLIB=$${RANLIB}" \
15933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15934 html) \
15935 || exit 1
15937 @endif ld
15939 .PHONY: maybe-TAGS-ld TAGS-ld
15940 maybe-TAGS-ld:
15941 @if ld
15942 maybe-TAGS-ld: TAGS-ld
15944 TAGS-ld: \
15945 configure-ld
15946 @[ -f ./ld/Makefile ] || exit 0; \
15947 r=`${PWD_COMMAND}`; export r; \
15948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15949 $(HOST_EXPORTS) \
15950 for flag in $(EXTRA_HOST_FLAGS) ; do \
15951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15952 done; \
15953 echo "Doing TAGS in ld" ; \
15954 (cd $(HOST_SUBDIR)/ld && \
15955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15957 "RANLIB=$${RANLIB}" \
15958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15959 TAGS) \
15960 || exit 1
15962 @endif ld
15964 .PHONY: maybe-install-info-ld install-info-ld
15965 maybe-install-info-ld:
15966 @if ld
15967 maybe-install-info-ld: install-info-ld
15969 install-info-ld: \
15970 configure-ld \
15971 info-ld
15972 @[ -f ./ld/Makefile ] || exit 0; \
15973 r=`${PWD_COMMAND}`; export r; \
15974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15975 $(HOST_EXPORTS) \
15976 for flag in $(EXTRA_HOST_FLAGS) ; do \
15977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15978 done; \
15979 echo "Doing install-info in ld" ; \
15980 (cd $(HOST_SUBDIR)/ld && \
15981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15983 "RANLIB=$${RANLIB}" \
15984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15985 install-info) \
15986 || exit 1
15988 @endif ld
15990 .PHONY: maybe-installcheck-ld installcheck-ld
15991 maybe-installcheck-ld:
15992 @if ld
15993 maybe-installcheck-ld: installcheck-ld
15995 installcheck-ld: \
15996 configure-ld
15997 @[ -f ./ld/Makefile ] || exit 0; \
15998 r=`${PWD_COMMAND}`; export r; \
15999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16000 $(HOST_EXPORTS) \
16001 for flag in $(EXTRA_HOST_FLAGS) ; do \
16002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16003 done; \
16004 echo "Doing installcheck in ld" ; \
16005 (cd $(HOST_SUBDIR)/ld && \
16006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16008 "RANLIB=$${RANLIB}" \
16009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16010 installcheck) \
16011 || exit 1
16013 @endif ld
16015 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
16016 maybe-mostlyclean-ld:
16017 @if ld
16018 maybe-mostlyclean-ld: mostlyclean-ld
16020 mostlyclean-ld:
16021 @[ -f ./ld/Makefile ] || exit 0; \
16022 r=`${PWD_COMMAND}`; export r; \
16023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16024 $(HOST_EXPORTS) \
16025 for flag in $(EXTRA_HOST_FLAGS) ; do \
16026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16027 done; \
16028 echo "Doing mostlyclean in ld" ; \
16029 (cd $(HOST_SUBDIR)/ld && \
16030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16032 "RANLIB=$${RANLIB}" \
16033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16034 mostlyclean) \
16035 || exit 1
16037 @endif ld
16039 .PHONY: maybe-clean-ld clean-ld
16040 maybe-clean-ld:
16041 @if ld
16042 maybe-clean-ld: clean-ld
16044 clean-ld:
16045 @[ -f ./ld/Makefile ] || exit 0; \
16046 r=`${PWD_COMMAND}`; export r; \
16047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16048 $(HOST_EXPORTS) \
16049 for flag in $(EXTRA_HOST_FLAGS) ; do \
16050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16051 done; \
16052 echo "Doing clean in ld" ; \
16053 (cd $(HOST_SUBDIR)/ld && \
16054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16056 "RANLIB=$${RANLIB}" \
16057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16058 clean) \
16059 || exit 1
16061 @endif ld
16063 .PHONY: maybe-distclean-ld distclean-ld
16064 maybe-distclean-ld:
16065 @if ld
16066 maybe-distclean-ld: distclean-ld
16068 distclean-ld:
16069 @[ -f ./ld/Makefile ] || exit 0; \
16070 r=`${PWD_COMMAND}`; export r; \
16071 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16072 $(HOST_EXPORTS) \
16073 for flag in $(EXTRA_HOST_FLAGS) ; do \
16074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16075 done; \
16076 echo "Doing distclean in ld" ; \
16077 (cd $(HOST_SUBDIR)/ld && \
16078 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16079 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16080 "RANLIB=$${RANLIB}" \
16081 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16082 distclean) \
16083 || exit 1
16085 @endif ld
16087 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16088 maybe-maintainer-clean-ld:
16089 @if ld
16090 maybe-maintainer-clean-ld: maintainer-clean-ld
16092 maintainer-clean-ld:
16093 @[ -f ./ld/Makefile ] || exit 0; \
16094 r=`${PWD_COMMAND}`; export r; \
16095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16096 $(HOST_EXPORTS) \
16097 for flag in $(EXTRA_HOST_FLAGS) ; do \
16098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16099 done; \
16100 echo "Doing maintainer-clean in ld" ; \
16101 (cd $(HOST_SUBDIR)/ld && \
16102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16104 "RANLIB=$${RANLIB}" \
16105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16106 maintainer-clean) \
16107 || exit 1
16109 @endif ld
16113 .PHONY: configure-libcpp maybe-configure-libcpp
16114 maybe-configure-libcpp:
16115 @if libcpp
16116 maybe-configure-libcpp: configure-libcpp
16117 configure-libcpp:
16118 @test -f stage_last && exit 0; \
16119 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16120 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16121 r=`${PWD_COMMAND}`; export r; \
16122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16123 $(HOST_EXPORTS) \
16124 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16125 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16126 case $(srcdir) in \
16127 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16128 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16129 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16130 esac; \
16131 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16132 libsrcdir="$$s/libcpp"; \
16133 $(SHELL) $${libsrcdir}/configure \
16134 $(HOST_CONFIGARGS) $${srcdiroption} \
16135 || exit 1
16136 @endif libcpp
16140 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16141 maybe-configure-stage1-libcpp:
16142 @if libcpp-bootstrap
16143 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16144 configure-stage1-libcpp:
16145 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16146 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16147 r=`${PWD_COMMAND}`; export r; \
16148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16149 $(HOST_EXPORTS) \
16150 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16151 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16152 case $(srcdir) in \
16153 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16154 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16155 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16156 esac; \
16157 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16158 libsrcdir="$$s/libcpp"; \
16159 $(SHELL) $${libsrcdir}/configure \
16160 $(HOST_CONFIGARGS) $${srcdiroption} \
16161 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16162 @endif libcpp-bootstrap
16164 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16165 maybe-configure-stage2-libcpp:
16166 @if libcpp-bootstrap
16167 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16168 configure-stage2-libcpp:
16169 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16170 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16171 r=`${PWD_COMMAND}`; export r; \
16172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16173 $(HOST_EXPORTS) \
16174 $(POSTSTAGE1_HOST_EXPORTS) \
16175 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16176 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16177 case $(srcdir) in \
16178 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16179 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16180 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16181 esac; \
16182 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16183 libsrcdir="$$s/libcpp"; \
16184 $(SHELL) $${libsrcdir}/configure \
16185 $(HOST_CONFIGARGS) $${srcdiroption} \
16186 @stage2_werror_flag@
16187 @endif libcpp-bootstrap
16189 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16190 maybe-configure-stage3-libcpp:
16191 @if libcpp-bootstrap
16192 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16193 configure-stage3-libcpp:
16194 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16195 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16196 r=`${PWD_COMMAND}`; export r; \
16197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16198 $(HOST_EXPORTS) \
16199 $(POSTSTAGE1_HOST_EXPORTS) \
16200 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16201 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16202 case $(srcdir) in \
16203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16204 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16206 esac; \
16207 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16208 libsrcdir="$$s/libcpp"; \
16209 $(SHELL) $${libsrcdir}/configure \
16210 $(HOST_CONFIGARGS) $${srcdiroption} \
16211 @stage2_werror_flag@
16212 @endif libcpp-bootstrap
16214 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16215 maybe-configure-stage4-libcpp:
16216 @if libcpp-bootstrap
16217 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16218 configure-stage4-libcpp:
16219 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16220 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16221 r=`${PWD_COMMAND}`; export r; \
16222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16223 $(HOST_EXPORTS) \
16224 $(POSTSTAGE1_HOST_EXPORTS) \
16225 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16226 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16227 case $(srcdir) in \
16228 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16229 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16230 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16231 esac; \
16232 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16233 libsrcdir="$$s/libcpp"; \
16234 $(SHELL) $${libsrcdir}/configure \
16235 $(HOST_CONFIGARGS) $${srcdiroption} \
16236 @stage2_werror_flag@
16237 @endif libcpp-bootstrap
16239 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16240 maybe-configure-stageprofile-libcpp:
16241 @if libcpp-bootstrap
16242 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16243 configure-stageprofile-libcpp:
16244 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16245 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16246 r=`${PWD_COMMAND}`; export r; \
16247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16248 $(HOST_EXPORTS) \
16249 $(POSTSTAGE1_HOST_EXPORTS) \
16250 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16251 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16252 case $(srcdir) in \
16253 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16254 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16255 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16256 esac; \
16257 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16258 libsrcdir="$$s/libcpp"; \
16259 $(SHELL) $${libsrcdir}/configure \
16260 $(HOST_CONFIGARGS) $${srcdiroption} \
16261 @stage2_werror_flag@
16262 @endif libcpp-bootstrap
16264 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16265 maybe-configure-stagefeedback-libcpp:
16266 @if libcpp-bootstrap
16267 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16268 configure-stagefeedback-libcpp:
16269 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16270 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16271 r=`${PWD_COMMAND}`; export r; \
16272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16273 $(HOST_EXPORTS) \
16274 $(POSTSTAGE1_HOST_EXPORTS) \
16275 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16276 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16277 case $(srcdir) in \
16278 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16279 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16280 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16281 esac; \
16282 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16283 libsrcdir="$$s/libcpp"; \
16284 $(SHELL) $${libsrcdir}/configure \
16285 $(HOST_CONFIGARGS) $${srcdiroption} \
16286 @stage2_werror_flag@
16287 @endif libcpp-bootstrap
16293 .PHONY: all-libcpp maybe-all-libcpp
16294 maybe-all-libcpp:
16295 @if libcpp
16296 TARGET-libcpp=all
16297 maybe-all-libcpp: all-libcpp
16298 all-libcpp: configure-libcpp
16299 @test -f stage_last && exit 0; \
16300 r=`${PWD_COMMAND}`; export r; \
16301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16302 $(HOST_EXPORTS) \
16303 (cd $(HOST_SUBDIR)/libcpp && \
16304 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16305 @endif libcpp
16309 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16310 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16311 maybe-all-stage1-libcpp:
16312 maybe-clean-stage1-libcpp:
16313 @if libcpp-bootstrap
16314 maybe-all-stage1-libcpp: all-stage1-libcpp
16315 all-stage1: all-stage1-libcpp
16316 TARGET-stage1-libcpp = $(TARGET-libcpp)
16317 all-stage1-libcpp: configure-stage1-libcpp
16318 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16319 @r=`${PWD_COMMAND}`; export r; \
16320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16321 $(HOST_EXPORTS) \
16322 cd $(HOST_SUBDIR)/libcpp && \
16323 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16324 $(TARGET-stage1-libcpp)
16326 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16327 clean-stage1: clean-stage1-libcpp
16328 clean-stage1-libcpp:
16329 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16330 || exit 0 ; \
16331 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16332 cd $(HOST_SUBDIR)/libcpp && \
16333 $(MAKE) $(FLAGS_TO_PASS) \
16334 CFLAGS="$(STAGE1_CFLAGS)" clean
16335 @endif libcpp-bootstrap
16338 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16339 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16340 maybe-all-stage2-libcpp:
16341 maybe-clean-stage2-libcpp:
16342 @if libcpp-bootstrap
16343 maybe-all-stage2-libcpp: all-stage2-libcpp
16344 all-stage2: all-stage2-libcpp
16345 TARGET-stage2-libcpp = $(TARGET-libcpp)
16346 all-stage2-libcpp: configure-stage2-libcpp
16347 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16348 @r=`${PWD_COMMAND}`; export r; \
16349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16350 $(HOST_EXPORTS) \
16351 $(POSTSTAGE1_HOST_EXPORTS) \
16352 cd $(HOST_SUBDIR)/libcpp && \
16353 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16354 $(TARGET-stage2-libcpp)
16356 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16357 clean-stage2: clean-stage2-libcpp
16358 clean-stage2-libcpp:
16359 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16360 || exit 0 ; \
16361 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16362 cd $(HOST_SUBDIR)/libcpp && \
16363 $(MAKE) $(FLAGS_TO_PASS) \
16364 $(POSTSTAGE1_FLAGS_TO_PASS) \
16365 clean
16366 @endif libcpp-bootstrap
16369 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16370 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16371 maybe-all-stage3-libcpp:
16372 maybe-clean-stage3-libcpp:
16373 @if libcpp-bootstrap
16374 maybe-all-stage3-libcpp: all-stage3-libcpp
16375 all-stage3: all-stage3-libcpp
16376 TARGET-stage3-libcpp = $(TARGET-libcpp)
16377 all-stage3-libcpp: configure-stage3-libcpp
16378 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16379 @r=`${PWD_COMMAND}`; export r; \
16380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16381 $(HOST_EXPORTS) \
16382 $(POSTSTAGE1_HOST_EXPORTS) \
16383 cd $(HOST_SUBDIR)/libcpp && \
16384 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16385 $(TARGET-stage3-libcpp)
16387 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16388 clean-stage3: clean-stage3-libcpp
16389 clean-stage3-libcpp:
16390 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16391 || exit 0 ; \
16392 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16393 cd $(HOST_SUBDIR)/libcpp && \
16394 $(MAKE) $(FLAGS_TO_PASS) \
16395 $(POSTSTAGE1_FLAGS_TO_PASS) \
16396 clean
16397 @endif libcpp-bootstrap
16400 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16401 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16402 maybe-all-stage4-libcpp:
16403 maybe-clean-stage4-libcpp:
16404 @if libcpp-bootstrap
16405 maybe-all-stage4-libcpp: all-stage4-libcpp
16406 all-stage4: all-stage4-libcpp
16407 TARGET-stage4-libcpp = $(TARGET-libcpp)
16408 all-stage4-libcpp: configure-stage4-libcpp
16409 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16410 @r=`${PWD_COMMAND}`; export r; \
16411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16412 $(HOST_EXPORTS) \
16413 $(POSTSTAGE1_HOST_EXPORTS) \
16414 cd $(HOST_SUBDIR)/libcpp && \
16415 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16416 $(TARGET-stage4-libcpp)
16418 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16419 clean-stage4: clean-stage4-libcpp
16420 clean-stage4-libcpp:
16421 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16422 || exit 0 ; \
16423 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16424 cd $(HOST_SUBDIR)/libcpp && \
16425 $(MAKE) $(FLAGS_TO_PASS) \
16426 $(POSTSTAGE1_FLAGS_TO_PASS) \
16427 clean
16428 @endif libcpp-bootstrap
16431 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16432 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16433 maybe-all-stageprofile-libcpp:
16434 maybe-clean-stageprofile-libcpp:
16435 @if libcpp-bootstrap
16436 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16437 all-stageprofile: all-stageprofile-libcpp
16438 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16439 all-stageprofile-libcpp: configure-stageprofile-libcpp
16440 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16441 @r=`${PWD_COMMAND}`; export r; \
16442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16443 $(HOST_EXPORTS) \
16444 $(POSTSTAGE1_HOST_EXPORTS) \
16445 cd $(HOST_SUBDIR)/libcpp && \
16446 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16447 $(TARGET-stageprofile-libcpp)
16449 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16450 clean-stageprofile: clean-stageprofile-libcpp
16451 clean-stageprofile-libcpp:
16452 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16453 || exit 0 ; \
16454 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16455 cd $(HOST_SUBDIR)/libcpp && \
16456 $(MAKE) $(FLAGS_TO_PASS) \
16457 $(POSTSTAGE1_FLAGS_TO_PASS) \
16458 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16459 @endif libcpp-bootstrap
16462 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16463 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16464 maybe-all-stagefeedback-libcpp:
16465 maybe-clean-stagefeedback-libcpp:
16466 @if libcpp-bootstrap
16467 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16468 all-stagefeedback: all-stagefeedback-libcpp
16469 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16470 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16471 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16472 @r=`${PWD_COMMAND}`; export r; \
16473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16474 $(HOST_EXPORTS) \
16475 $(POSTSTAGE1_HOST_EXPORTS) \
16476 cd $(HOST_SUBDIR)/libcpp && \
16477 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16478 $(TARGET-stagefeedback-libcpp)
16480 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16481 clean-stagefeedback: clean-stagefeedback-libcpp
16482 clean-stagefeedback-libcpp:
16483 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16484 || exit 0 ; \
16485 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16486 cd $(HOST_SUBDIR)/libcpp && \
16487 $(MAKE) $(FLAGS_TO_PASS) \
16488 $(POSTSTAGE1_FLAGS_TO_PASS) \
16489 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16490 @endif libcpp-bootstrap
16496 .PHONY: check-libcpp maybe-check-libcpp
16497 maybe-check-libcpp:
16498 @if libcpp
16499 maybe-check-libcpp: check-libcpp
16501 check-libcpp:
16502 @$(unstage)
16503 @r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 $(HOST_EXPORTS) \
16506 (cd $(HOST_SUBDIR)/libcpp && \
16507 $(MAKE) $(FLAGS_TO_PASS) check)
16509 @endif libcpp
16511 .PHONY: install-libcpp maybe-install-libcpp
16512 maybe-install-libcpp:
16513 @if libcpp
16514 maybe-install-libcpp: install-libcpp
16516 install-libcpp: installdirs
16517 @$(unstage)
16518 @r=`${PWD_COMMAND}`; export r; \
16519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16520 $(HOST_EXPORTS) \
16521 (cd $(HOST_SUBDIR)/libcpp && \
16522 $(MAKE) $(FLAGS_TO_PASS) install)
16524 @endif libcpp
16526 # Other targets (info, dvi, etc.)
16528 .PHONY: maybe-info-libcpp info-libcpp
16529 maybe-info-libcpp:
16530 @if libcpp
16531 maybe-info-libcpp: info-libcpp
16533 info-libcpp: \
16534 configure-libcpp
16535 @[ -f ./libcpp/Makefile ] || exit 0; \
16536 r=`${PWD_COMMAND}`; export r; \
16537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16538 $(HOST_EXPORTS) \
16539 for flag in $(EXTRA_HOST_FLAGS) ; do \
16540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16541 done; \
16542 echo "Doing info in libcpp" ; \
16543 (cd $(HOST_SUBDIR)/libcpp && \
16544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16546 "RANLIB=$${RANLIB}" \
16547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16548 info) \
16549 || exit 1
16551 @endif libcpp
16553 .PHONY: maybe-dvi-libcpp dvi-libcpp
16554 maybe-dvi-libcpp:
16555 @if libcpp
16556 maybe-dvi-libcpp: dvi-libcpp
16558 dvi-libcpp: \
16559 configure-libcpp
16560 @[ -f ./libcpp/Makefile ] || exit 0; \
16561 r=`${PWD_COMMAND}`; export r; \
16562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16563 $(HOST_EXPORTS) \
16564 for flag in $(EXTRA_HOST_FLAGS) ; do \
16565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16566 done; \
16567 echo "Doing dvi in libcpp" ; \
16568 (cd $(HOST_SUBDIR)/libcpp && \
16569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16571 "RANLIB=$${RANLIB}" \
16572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16573 dvi) \
16574 || exit 1
16576 @endif libcpp
16578 .PHONY: maybe-html-libcpp html-libcpp
16579 maybe-html-libcpp:
16580 @if libcpp
16581 maybe-html-libcpp: html-libcpp
16583 html-libcpp: \
16584 configure-libcpp
16585 @[ -f ./libcpp/Makefile ] || exit 0; \
16586 r=`${PWD_COMMAND}`; export r; \
16587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16588 $(HOST_EXPORTS) \
16589 for flag in $(EXTRA_HOST_FLAGS) ; do \
16590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16591 done; \
16592 echo "Doing html in libcpp" ; \
16593 (cd $(HOST_SUBDIR)/libcpp && \
16594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16596 "RANLIB=$${RANLIB}" \
16597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16598 html) \
16599 || exit 1
16601 @endif libcpp
16603 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16604 maybe-TAGS-libcpp:
16605 @if libcpp
16606 maybe-TAGS-libcpp: TAGS-libcpp
16608 TAGS-libcpp: \
16609 configure-libcpp
16610 @[ -f ./libcpp/Makefile ] || exit 0; \
16611 r=`${PWD_COMMAND}`; export r; \
16612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16613 $(HOST_EXPORTS) \
16614 for flag in $(EXTRA_HOST_FLAGS) ; do \
16615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16616 done; \
16617 echo "Doing TAGS in libcpp" ; \
16618 (cd $(HOST_SUBDIR)/libcpp && \
16619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16621 "RANLIB=$${RANLIB}" \
16622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16623 TAGS) \
16624 || exit 1
16626 @endif libcpp
16628 .PHONY: maybe-install-info-libcpp install-info-libcpp
16629 maybe-install-info-libcpp:
16630 @if libcpp
16631 maybe-install-info-libcpp: install-info-libcpp
16633 install-info-libcpp: \
16634 configure-libcpp \
16635 info-libcpp
16636 @[ -f ./libcpp/Makefile ] || exit 0; \
16637 r=`${PWD_COMMAND}`; export r; \
16638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16639 $(HOST_EXPORTS) \
16640 for flag in $(EXTRA_HOST_FLAGS) ; do \
16641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16642 done; \
16643 echo "Doing install-info in libcpp" ; \
16644 (cd $(HOST_SUBDIR)/libcpp && \
16645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16647 "RANLIB=$${RANLIB}" \
16648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16649 install-info) \
16650 || exit 1
16652 @endif libcpp
16654 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16655 maybe-installcheck-libcpp:
16656 @if libcpp
16657 maybe-installcheck-libcpp: installcheck-libcpp
16659 installcheck-libcpp: \
16660 configure-libcpp
16661 @[ -f ./libcpp/Makefile ] || exit 0; \
16662 r=`${PWD_COMMAND}`; export r; \
16663 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16664 $(HOST_EXPORTS) \
16665 for flag in $(EXTRA_HOST_FLAGS) ; do \
16666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16667 done; \
16668 echo "Doing installcheck in libcpp" ; \
16669 (cd $(HOST_SUBDIR)/libcpp && \
16670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16672 "RANLIB=$${RANLIB}" \
16673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16674 installcheck) \
16675 || exit 1
16677 @endif libcpp
16679 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16680 maybe-mostlyclean-libcpp:
16681 @if libcpp
16682 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16684 mostlyclean-libcpp:
16685 @[ -f ./libcpp/Makefile ] || exit 0; \
16686 r=`${PWD_COMMAND}`; export r; \
16687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16688 $(HOST_EXPORTS) \
16689 for flag in $(EXTRA_HOST_FLAGS) ; do \
16690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16691 done; \
16692 echo "Doing mostlyclean in libcpp" ; \
16693 (cd $(HOST_SUBDIR)/libcpp && \
16694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16696 "RANLIB=$${RANLIB}" \
16697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16698 mostlyclean) \
16699 || exit 1
16701 @endif libcpp
16703 .PHONY: maybe-clean-libcpp clean-libcpp
16704 maybe-clean-libcpp:
16705 @if libcpp
16706 maybe-clean-libcpp: clean-libcpp
16708 clean-libcpp:
16709 @[ -f ./libcpp/Makefile ] || exit 0; \
16710 r=`${PWD_COMMAND}`; export r; \
16711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16712 $(HOST_EXPORTS) \
16713 for flag in $(EXTRA_HOST_FLAGS) ; do \
16714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16715 done; \
16716 echo "Doing clean in libcpp" ; \
16717 (cd $(HOST_SUBDIR)/libcpp && \
16718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16720 "RANLIB=$${RANLIB}" \
16721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16722 clean) \
16723 || exit 1
16725 @endif libcpp
16727 .PHONY: maybe-distclean-libcpp distclean-libcpp
16728 maybe-distclean-libcpp:
16729 @if libcpp
16730 maybe-distclean-libcpp: distclean-libcpp
16732 distclean-libcpp:
16733 @[ -f ./libcpp/Makefile ] || exit 0; \
16734 r=`${PWD_COMMAND}`; export r; \
16735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16736 $(HOST_EXPORTS) \
16737 for flag in $(EXTRA_HOST_FLAGS) ; do \
16738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16739 done; \
16740 echo "Doing distclean in libcpp" ; \
16741 (cd $(HOST_SUBDIR)/libcpp && \
16742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16744 "RANLIB=$${RANLIB}" \
16745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16746 distclean) \
16747 || exit 1
16749 @endif libcpp
16751 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16752 maybe-maintainer-clean-libcpp:
16753 @if libcpp
16754 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16756 maintainer-clean-libcpp:
16757 @[ -f ./libcpp/Makefile ] || exit 0; \
16758 r=`${PWD_COMMAND}`; export r; \
16759 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16760 $(HOST_EXPORTS) \
16761 for flag in $(EXTRA_HOST_FLAGS) ; do \
16762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16763 done; \
16764 echo "Doing maintainer-clean in libcpp" ; \
16765 (cd $(HOST_SUBDIR)/libcpp && \
16766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16768 "RANLIB=$${RANLIB}" \
16769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16770 maintainer-clean) \
16771 || exit 1
16773 @endif libcpp
16777 .PHONY: configure-libdecnumber maybe-configure-libdecnumber
16778 maybe-configure-libdecnumber:
16779 @if libdecnumber
16780 maybe-configure-libdecnumber: configure-libdecnumber
16781 configure-libdecnumber:
16782 @test -f stage_last && exit 0; \
16783 test ! -f $(HOST_SUBDIR)/libdecnumber/Makefile || exit 0; \
16784 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libdecnumber ; \
16785 r=`${PWD_COMMAND}`; export r; \
16786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16787 $(HOST_EXPORTS) \
16788 echo Configuring in $(HOST_SUBDIR)/libdecnumber; \
16789 cd "$(HOST_SUBDIR)/libdecnumber" || exit 1; \
16790 case $(srcdir) in \
16791 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16792 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16793 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16794 esac; \
16795 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16796 libsrcdir="$$s/libdecnumber"; \
16797 $(SHELL) $${libsrcdir}/configure \
16798 $(HOST_CONFIGARGS) $${srcdiroption} \
16799 || exit 1
16800 @endif libdecnumber
16804 .PHONY: configure-stage1-libdecnumber maybe-configure-stage1-libdecnumber
16805 maybe-configure-stage1-libdecnumber:
16806 @if libdecnumber-bootstrap
16807 maybe-configure-stage1-libdecnumber: configure-stage1-libdecnumber
16808 configure-stage1-libdecnumber:
16809 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16810 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16811 r=`${PWD_COMMAND}`; export r; \
16812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16813 $(HOST_EXPORTS) \
16814 echo Configuring stage 1 in $(HOST_SUBDIR)/libdecnumber ; \
16815 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16816 case $(srcdir) in \
16817 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16818 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16819 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16820 esac; \
16821 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16822 libsrcdir="$$s/libdecnumber"; \
16823 $(SHELL) $${libsrcdir}/configure \
16824 $(HOST_CONFIGARGS) $${srcdiroption} \
16825 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16826 @endif libdecnumber-bootstrap
16828 .PHONY: configure-stage2-libdecnumber maybe-configure-stage2-libdecnumber
16829 maybe-configure-stage2-libdecnumber:
16830 @if libdecnumber-bootstrap
16831 maybe-configure-stage2-libdecnumber: configure-stage2-libdecnumber
16832 configure-stage2-libdecnumber:
16833 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16834 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16835 r=`${PWD_COMMAND}`; export r; \
16836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16837 $(HOST_EXPORTS) \
16838 $(POSTSTAGE1_HOST_EXPORTS) \
16839 echo Configuring stage 2 in $(HOST_SUBDIR)/libdecnumber ; \
16840 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16841 case $(srcdir) in \
16842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16843 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16845 esac; \
16846 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16847 libsrcdir="$$s/libdecnumber"; \
16848 $(SHELL) $${libsrcdir}/configure \
16849 $(HOST_CONFIGARGS) $${srcdiroption} \
16850 @stage2_werror_flag@
16851 @endif libdecnumber-bootstrap
16853 .PHONY: configure-stage3-libdecnumber maybe-configure-stage3-libdecnumber
16854 maybe-configure-stage3-libdecnumber:
16855 @if libdecnumber-bootstrap
16856 maybe-configure-stage3-libdecnumber: configure-stage3-libdecnumber
16857 configure-stage3-libdecnumber:
16858 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16859 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16860 r=`${PWD_COMMAND}`; export r; \
16861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16862 $(HOST_EXPORTS) \
16863 $(POSTSTAGE1_HOST_EXPORTS) \
16864 echo Configuring stage 3 in $(HOST_SUBDIR)/libdecnumber ; \
16865 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16866 case $(srcdir) in \
16867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16868 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16870 esac; \
16871 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16872 libsrcdir="$$s/libdecnumber"; \
16873 $(SHELL) $${libsrcdir}/configure \
16874 $(HOST_CONFIGARGS) $${srcdiroption} \
16875 @stage2_werror_flag@
16876 @endif libdecnumber-bootstrap
16878 .PHONY: configure-stage4-libdecnumber maybe-configure-stage4-libdecnumber
16879 maybe-configure-stage4-libdecnumber:
16880 @if libdecnumber-bootstrap
16881 maybe-configure-stage4-libdecnumber: configure-stage4-libdecnumber
16882 configure-stage4-libdecnumber:
16883 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16884 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16885 r=`${PWD_COMMAND}`; export r; \
16886 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16887 $(HOST_EXPORTS) \
16888 $(POSTSTAGE1_HOST_EXPORTS) \
16889 echo Configuring stage 4 in $(HOST_SUBDIR)/libdecnumber ; \
16890 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16891 case $(srcdir) in \
16892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16893 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16895 esac; \
16896 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16897 libsrcdir="$$s/libdecnumber"; \
16898 $(SHELL) $${libsrcdir}/configure \
16899 $(HOST_CONFIGARGS) $${srcdiroption} \
16900 @stage2_werror_flag@
16901 @endif libdecnumber-bootstrap
16903 .PHONY: configure-stageprofile-libdecnumber maybe-configure-stageprofile-libdecnumber
16904 maybe-configure-stageprofile-libdecnumber:
16905 @if libdecnumber-bootstrap
16906 maybe-configure-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
16907 configure-stageprofile-libdecnumber:
16908 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16909 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16910 r=`${PWD_COMMAND}`; export r; \
16911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16912 $(HOST_EXPORTS) \
16913 $(POSTSTAGE1_HOST_EXPORTS) \
16914 echo Configuring stage profile in $(HOST_SUBDIR)/libdecnumber ; \
16915 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16916 case $(srcdir) in \
16917 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16918 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16919 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16920 esac; \
16921 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16922 libsrcdir="$$s/libdecnumber"; \
16923 $(SHELL) $${libsrcdir}/configure \
16924 $(HOST_CONFIGARGS) $${srcdiroption} \
16925 @stage2_werror_flag@
16926 @endif libdecnumber-bootstrap
16928 .PHONY: configure-stagefeedback-libdecnumber maybe-configure-stagefeedback-libdecnumber
16929 maybe-configure-stagefeedback-libdecnumber:
16930 @if libdecnumber-bootstrap
16931 maybe-configure-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
16932 configure-stagefeedback-libdecnumber:
16933 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16934 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] && exit 0 || : ; \
16935 r=`${PWD_COMMAND}`; export r; \
16936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16937 $(HOST_EXPORTS) \
16938 $(POSTSTAGE1_HOST_EXPORTS) \
16939 echo Configuring stage feedback in $(HOST_SUBDIR)/libdecnumber ; \
16940 cd $(HOST_SUBDIR)/libdecnumber || exit 1; \
16941 case $(srcdir) in \
16942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16943 *) topdir=`echo $(HOST_SUBDIR)/libdecnumber/ | \
16944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16945 esac; \
16946 srcdiroption="--srcdir=$${topdir}/libdecnumber"; \
16947 libsrcdir="$$s/libdecnumber"; \
16948 $(SHELL) $${libsrcdir}/configure \
16949 $(HOST_CONFIGARGS) $${srcdiroption} \
16950 @stage2_werror_flag@
16951 @endif libdecnumber-bootstrap
16957 .PHONY: all-libdecnumber maybe-all-libdecnumber
16958 maybe-all-libdecnumber:
16959 @if libdecnumber
16960 TARGET-libdecnumber=all
16961 maybe-all-libdecnumber: all-libdecnumber
16962 all-libdecnumber: configure-libdecnumber
16963 @test -f stage_last && exit 0; \
16964 r=`${PWD_COMMAND}`; export r; \
16965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16966 $(HOST_EXPORTS) \
16967 (cd $(HOST_SUBDIR)/libdecnumber && \
16968 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libdecnumber))
16969 @endif libdecnumber
16973 .PHONY: all-stage1-libdecnumber maybe-all-stage1-libdecnumber
16974 .PHONY: clean-stage1-libdecnumber maybe-clean-stage1-libdecnumber
16975 maybe-all-stage1-libdecnumber:
16976 maybe-clean-stage1-libdecnumber:
16977 @if libdecnumber-bootstrap
16978 maybe-all-stage1-libdecnumber: all-stage1-libdecnumber
16979 all-stage1: all-stage1-libdecnumber
16980 TARGET-stage1-libdecnumber = $(TARGET-libdecnumber)
16981 all-stage1-libdecnumber: configure-stage1-libdecnumber
16982 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16983 @r=`${PWD_COMMAND}`; export r; \
16984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16985 $(HOST_EXPORTS) \
16986 cd $(HOST_SUBDIR)/libdecnumber && \
16987 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16988 $(TARGET-stage1-libdecnumber)
16990 maybe-clean-stage1-libdecnumber: clean-stage1-libdecnumber
16991 clean-stage1: clean-stage1-libdecnumber
16992 clean-stage1-libdecnumber:
16993 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libdecnumber/Makefile ] \
16994 || exit 0 ; \
16995 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16996 cd $(HOST_SUBDIR)/libdecnumber && \
16997 $(MAKE) $(FLAGS_TO_PASS) \
16998 CFLAGS="$(STAGE1_CFLAGS)" clean
16999 @endif libdecnumber-bootstrap
17002 .PHONY: all-stage2-libdecnumber maybe-all-stage2-libdecnumber
17003 .PHONY: clean-stage2-libdecnumber maybe-clean-stage2-libdecnumber
17004 maybe-all-stage2-libdecnumber:
17005 maybe-clean-stage2-libdecnumber:
17006 @if libdecnumber-bootstrap
17007 maybe-all-stage2-libdecnumber: all-stage2-libdecnumber
17008 all-stage2: all-stage2-libdecnumber
17009 TARGET-stage2-libdecnumber = $(TARGET-libdecnumber)
17010 all-stage2-libdecnumber: configure-stage2-libdecnumber
17011 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17012 @r=`${PWD_COMMAND}`; export r; \
17013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17014 $(HOST_EXPORTS) \
17015 $(POSTSTAGE1_HOST_EXPORTS) \
17016 cd $(HOST_SUBDIR)/libdecnumber && \
17017 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17018 $(TARGET-stage2-libdecnumber)
17020 maybe-clean-stage2-libdecnumber: clean-stage2-libdecnumber
17021 clean-stage2: clean-stage2-libdecnumber
17022 clean-stage2-libdecnumber:
17023 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libdecnumber/Makefile ] \
17024 || exit 0 ; \
17025 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17026 cd $(HOST_SUBDIR)/libdecnumber && \
17027 $(MAKE) $(FLAGS_TO_PASS) \
17028 $(POSTSTAGE1_FLAGS_TO_PASS) \
17029 clean
17030 @endif libdecnumber-bootstrap
17033 .PHONY: all-stage3-libdecnumber maybe-all-stage3-libdecnumber
17034 .PHONY: clean-stage3-libdecnumber maybe-clean-stage3-libdecnumber
17035 maybe-all-stage3-libdecnumber:
17036 maybe-clean-stage3-libdecnumber:
17037 @if libdecnumber-bootstrap
17038 maybe-all-stage3-libdecnumber: all-stage3-libdecnumber
17039 all-stage3: all-stage3-libdecnumber
17040 TARGET-stage3-libdecnumber = $(TARGET-libdecnumber)
17041 all-stage3-libdecnumber: configure-stage3-libdecnumber
17042 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17043 @r=`${PWD_COMMAND}`; export r; \
17044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17045 $(HOST_EXPORTS) \
17046 $(POSTSTAGE1_HOST_EXPORTS) \
17047 cd $(HOST_SUBDIR)/libdecnumber && \
17048 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17049 $(TARGET-stage3-libdecnumber)
17051 maybe-clean-stage3-libdecnumber: clean-stage3-libdecnumber
17052 clean-stage3: clean-stage3-libdecnumber
17053 clean-stage3-libdecnumber:
17054 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libdecnumber/Makefile ] \
17055 || exit 0 ; \
17056 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17057 cd $(HOST_SUBDIR)/libdecnumber && \
17058 $(MAKE) $(FLAGS_TO_PASS) \
17059 $(POSTSTAGE1_FLAGS_TO_PASS) \
17060 clean
17061 @endif libdecnumber-bootstrap
17064 .PHONY: all-stage4-libdecnumber maybe-all-stage4-libdecnumber
17065 .PHONY: clean-stage4-libdecnumber maybe-clean-stage4-libdecnumber
17066 maybe-all-stage4-libdecnumber:
17067 maybe-clean-stage4-libdecnumber:
17068 @if libdecnumber-bootstrap
17069 maybe-all-stage4-libdecnumber: all-stage4-libdecnumber
17070 all-stage4: all-stage4-libdecnumber
17071 TARGET-stage4-libdecnumber = $(TARGET-libdecnumber)
17072 all-stage4-libdecnumber: configure-stage4-libdecnumber
17073 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17074 @r=`${PWD_COMMAND}`; export r; \
17075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17076 $(HOST_EXPORTS) \
17077 $(POSTSTAGE1_HOST_EXPORTS) \
17078 cd $(HOST_SUBDIR)/libdecnumber && \
17079 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17080 $(TARGET-stage4-libdecnumber)
17082 maybe-clean-stage4-libdecnumber: clean-stage4-libdecnumber
17083 clean-stage4: clean-stage4-libdecnumber
17084 clean-stage4-libdecnumber:
17085 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libdecnumber/Makefile ] \
17086 || exit 0 ; \
17087 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17088 cd $(HOST_SUBDIR)/libdecnumber && \
17089 $(MAKE) $(FLAGS_TO_PASS) \
17090 $(POSTSTAGE1_FLAGS_TO_PASS) \
17091 clean
17092 @endif libdecnumber-bootstrap
17095 .PHONY: all-stageprofile-libdecnumber maybe-all-stageprofile-libdecnumber
17096 .PHONY: clean-stageprofile-libdecnumber maybe-clean-stageprofile-libdecnumber
17097 maybe-all-stageprofile-libdecnumber:
17098 maybe-clean-stageprofile-libdecnumber:
17099 @if libdecnumber-bootstrap
17100 maybe-all-stageprofile-libdecnumber: all-stageprofile-libdecnumber
17101 all-stageprofile: all-stageprofile-libdecnumber
17102 TARGET-stageprofile-libdecnumber = $(TARGET-libdecnumber)
17103 all-stageprofile-libdecnumber: configure-stageprofile-libdecnumber
17104 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17105 @r=`${PWD_COMMAND}`; export r; \
17106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17107 $(HOST_EXPORTS) \
17108 $(POSTSTAGE1_HOST_EXPORTS) \
17109 cd $(HOST_SUBDIR)/libdecnumber && \
17110 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17111 $(TARGET-stageprofile-libdecnumber)
17113 maybe-clean-stageprofile-libdecnumber: clean-stageprofile-libdecnumber
17114 clean-stageprofile: clean-stageprofile-libdecnumber
17115 clean-stageprofile-libdecnumber:
17116 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libdecnumber/Makefile ] \
17117 || exit 0 ; \
17118 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17119 cd $(HOST_SUBDIR)/libdecnumber && \
17120 $(MAKE) $(FLAGS_TO_PASS) \
17121 $(POSTSTAGE1_FLAGS_TO_PASS) \
17122 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17123 @endif libdecnumber-bootstrap
17126 .PHONY: all-stagefeedback-libdecnumber maybe-all-stagefeedback-libdecnumber
17127 .PHONY: clean-stagefeedback-libdecnumber maybe-clean-stagefeedback-libdecnumber
17128 maybe-all-stagefeedback-libdecnumber:
17129 maybe-clean-stagefeedback-libdecnumber:
17130 @if libdecnumber-bootstrap
17131 maybe-all-stagefeedback-libdecnumber: all-stagefeedback-libdecnumber
17132 all-stagefeedback: all-stagefeedback-libdecnumber
17133 TARGET-stagefeedback-libdecnumber = $(TARGET-libdecnumber)
17134 all-stagefeedback-libdecnumber: configure-stagefeedback-libdecnumber
17135 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17136 @r=`${PWD_COMMAND}`; export r; \
17137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17138 $(HOST_EXPORTS) \
17139 $(POSTSTAGE1_HOST_EXPORTS) \
17140 cd $(HOST_SUBDIR)/libdecnumber && \
17141 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17142 $(TARGET-stagefeedback-libdecnumber)
17144 maybe-clean-stagefeedback-libdecnumber: clean-stagefeedback-libdecnumber
17145 clean-stagefeedback: clean-stagefeedback-libdecnumber
17146 clean-stagefeedback-libdecnumber:
17147 @[ -f $(HOST_SUBDIR)/libdecnumber/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libdecnumber/Makefile ] \
17148 || exit 0 ; \
17149 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17150 cd $(HOST_SUBDIR)/libdecnumber && \
17151 $(MAKE) $(FLAGS_TO_PASS) \
17152 $(POSTSTAGE1_FLAGS_TO_PASS) \
17153 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17154 @endif libdecnumber-bootstrap
17160 .PHONY: check-libdecnumber maybe-check-libdecnumber
17161 maybe-check-libdecnumber:
17162 @if libdecnumber
17163 maybe-check-libdecnumber: check-libdecnumber
17165 check-libdecnumber:
17166 @$(unstage)
17167 @r=`${PWD_COMMAND}`; export r; \
17168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17169 $(HOST_EXPORTS) \
17170 (cd $(HOST_SUBDIR)/libdecnumber && \
17171 $(MAKE) $(FLAGS_TO_PASS) check)
17173 @endif libdecnumber
17175 .PHONY: install-libdecnumber maybe-install-libdecnumber
17176 maybe-install-libdecnumber:
17177 @if libdecnumber
17178 maybe-install-libdecnumber: install-libdecnumber
17180 install-libdecnumber: installdirs
17181 @$(unstage)
17182 @r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(HOST_EXPORTS) \
17185 (cd $(HOST_SUBDIR)/libdecnumber && \
17186 $(MAKE) $(FLAGS_TO_PASS) install)
17188 @endif libdecnumber
17190 # Other targets (info, dvi, etc.)
17192 .PHONY: maybe-info-libdecnumber info-libdecnumber
17193 maybe-info-libdecnumber:
17194 @if libdecnumber
17195 maybe-info-libdecnumber: info-libdecnumber
17197 info-libdecnumber: \
17198 configure-libdecnumber
17199 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17200 r=`${PWD_COMMAND}`; export r; \
17201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17202 $(HOST_EXPORTS) \
17203 for flag in $(EXTRA_HOST_FLAGS) ; do \
17204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17205 done; \
17206 echo "Doing info in libdecnumber" ; \
17207 (cd $(HOST_SUBDIR)/libdecnumber && \
17208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17210 "RANLIB=$${RANLIB}" \
17211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17212 info) \
17213 || exit 1
17215 @endif libdecnumber
17217 .PHONY: maybe-dvi-libdecnumber dvi-libdecnumber
17218 maybe-dvi-libdecnumber:
17219 @if libdecnumber
17220 maybe-dvi-libdecnumber: dvi-libdecnumber
17222 dvi-libdecnumber: \
17223 configure-libdecnumber
17224 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17225 r=`${PWD_COMMAND}`; export r; \
17226 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17227 $(HOST_EXPORTS) \
17228 for flag in $(EXTRA_HOST_FLAGS) ; do \
17229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17230 done; \
17231 echo "Doing dvi in libdecnumber" ; \
17232 (cd $(HOST_SUBDIR)/libdecnumber && \
17233 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17234 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17235 "RANLIB=$${RANLIB}" \
17236 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17237 dvi) \
17238 || exit 1
17240 @endif libdecnumber
17242 .PHONY: maybe-html-libdecnumber html-libdecnumber
17243 maybe-html-libdecnumber:
17244 @if libdecnumber
17245 maybe-html-libdecnumber: html-libdecnumber
17247 html-libdecnumber: \
17248 configure-libdecnumber
17249 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17250 r=`${PWD_COMMAND}`; export r; \
17251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17252 $(HOST_EXPORTS) \
17253 for flag in $(EXTRA_HOST_FLAGS) ; do \
17254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17255 done; \
17256 echo "Doing html in libdecnumber" ; \
17257 (cd $(HOST_SUBDIR)/libdecnumber && \
17258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17260 "RANLIB=$${RANLIB}" \
17261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17262 html) \
17263 || exit 1
17265 @endif libdecnumber
17267 .PHONY: maybe-TAGS-libdecnumber TAGS-libdecnumber
17268 maybe-TAGS-libdecnumber:
17269 @if libdecnumber
17270 maybe-TAGS-libdecnumber: TAGS-libdecnumber
17272 TAGS-libdecnumber: \
17273 configure-libdecnumber
17274 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17275 r=`${PWD_COMMAND}`; export r; \
17276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17277 $(HOST_EXPORTS) \
17278 for flag in $(EXTRA_HOST_FLAGS) ; do \
17279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17280 done; \
17281 echo "Doing TAGS in libdecnumber" ; \
17282 (cd $(HOST_SUBDIR)/libdecnumber && \
17283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17285 "RANLIB=$${RANLIB}" \
17286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17287 TAGS) \
17288 || exit 1
17290 @endif libdecnumber
17292 .PHONY: maybe-install-info-libdecnumber install-info-libdecnumber
17293 maybe-install-info-libdecnumber:
17294 @if libdecnumber
17295 maybe-install-info-libdecnumber: install-info-libdecnumber
17297 install-info-libdecnumber: \
17298 configure-libdecnumber \
17299 info-libdecnumber
17300 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17301 r=`${PWD_COMMAND}`; export r; \
17302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17303 $(HOST_EXPORTS) \
17304 for flag in $(EXTRA_HOST_FLAGS) ; do \
17305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17306 done; \
17307 echo "Doing install-info in libdecnumber" ; \
17308 (cd $(HOST_SUBDIR)/libdecnumber && \
17309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17311 "RANLIB=$${RANLIB}" \
17312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17313 install-info) \
17314 || exit 1
17316 @endif libdecnumber
17318 .PHONY: maybe-installcheck-libdecnumber installcheck-libdecnumber
17319 maybe-installcheck-libdecnumber:
17320 @if libdecnumber
17321 maybe-installcheck-libdecnumber: installcheck-libdecnumber
17323 installcheck-libdecnumber: \
17324 configure-libdecnumber
17325 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17326 r=`${PWD_COMMAND}`; export r; \
17327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17328 $(HOST_EXPORTS) \
17329 for flag in $(EXTRA_HOST_FLAGS) ; do \
17330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17331 done; \
17332 echo "Doing installcheck in libdecnumber" ; \
17333 (cd $(HOST_SUBDIR)/libdecnumber && \
17334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17336 "RANLIB=$${RANLIB}" \
17337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17338 installcheck) \
17339 || exit 1
17341 @endif libdecnumber
17343 .PHONY: maybe-mostlyclean-libdecnumber mostlyclean-libdecnumber
17344 maybe-mostlyclean-libdecnumber:
17345 @if libdecnumber
17346 maybe-mostlyclean-libdecnumber: mostlyclean-libdecnumber
17348 mostlyclean-libdecnumber:
17349 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17350 r=`${PWD_COMMAND}`; export r; \
17351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17352 $(HOST_EXPORTS) \
17353 for flag in $(EXTRA_HOST_FLAGS) ; do \
17354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17355 done; \
17356 echo "Doing mostlyclean in libdecnumber" ; \
17357 (cd $(HOST_SUBDIR)/libdecnumber && \
17358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17360 "RANLIB=$${RANLIB}" \
17361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17362 mostlyclean) \
17363 || exit 1
17365 @endif libdecnumber
17367 .PHONY: maybe-clean-libdecnumber clean-libdecnumber
17368 maybe-clean-libdecnumber:
17369 @if libdecnumber
17370 maybe-clean-libdecnumber: clean-libdecnumber
17372 clean-libdecnumber:
17373 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17374 r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 $(HOST_EXPORTS) \
17377 for flag in $(EXTRA_HOST_FLAGS) ; do \
17378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17379 done; \
17380 echo "Doing clean in libdecnumber" ; \
17381 (cd $(HOST_SUBDIR)/libdecnumber && \
17382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17384 "RANLIB=$${RANLIB}" \
17385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17386 clean) \
17387 || exit 1
17389 @endif libdecnumber
17391 .PHONY: maybe-distclean-libdecnumber distclean-libdecnumber
17392 maybe-distclean-libdecnumber:
17393 @if libdecnumber
17394 maybe-distclean-libdecnumber: distclean-libdecnumber
17396 distclean-libdecnumber:
17397 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17398 r=`${PWD_COMMAND}`; export r; \
17399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17400 $(HOST_EXPORTS) \
17401 for flag in $(EXTRA_HOST_FLAGS) ; do \
17402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17403 done; \
17404 echo "Doing distclean in libdecnumber" ; \
17405 (cd $(HOST_SUBDIR)/libdecnumber && \
17406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17408 "RANLIB=$${RANLIB}" \
17409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17410 distclean) \
17411 || exit 1
17413 @endif libdecnumber
17415 .PHONY: maybe-maintainer-clean-libdecnumber maintainer-clean-libdecnumber
17416 maybe-maintainer-clean-libdecnumber:
17417 @if libdecnumber
17418 maybe-maintainer-clean-libdecnumber: maintainer-clean-libdecnumber
17420 maintainer-clean-libdecnumber:
17421 @[ -f ./libdecnumber/Makefile ] || exit 0; \
17422 r=`${PWD_COMMAND}`; export r; \
17423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17424 $(HOST_EXPORTS) \
17425 for flag in $(EXTRA_HOST_FLAGS) ; do \
17426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17427 done; \
17428 echo "Doing maintainer-clean in libdecnumber" ; \
17429 (cd $(HOST_SUBDIR)/libdecnumber && \
17430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17432 "RANLIB=$${RANLIB}" \
17433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17434 maintainer-clean) \
17435 || exit 1
17437 @endif libdecnumber
17441 .PHONY: configure-libgui maybe-configure-libgui
17442 maybe-configure-libgui:
17443 @if libgui
17444 maybe-configure-libgui: configure-libgui
17445 configure-libgui:
17446 @$(unstage)
17447 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
17448 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
17449 r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 $(HOST_EXPORTS) \
17452 echo Configuring in $(HOST_SUBDIR)/libgui; \
17453 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
17454 case $(srcdir) in \
17455 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17456 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
17457 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17458 esac; \
17459 srcdiroption="--srcdir=$${topdir}/libgui"; \
17460 libsrcdir="$$s/libgui"; \
17461 $(SHELL) $${libsrcdir}/configure \
17462 $(HOST_CONFIGARGS) $${srcdiroption} \
17463 || exit 1
17464 @endif libgui
17470 .PHONY: all-libgui maybe-all-libgui
17471 maybe-all-libgui:
17472 @if libgui
17473 TARGET-libgui=all
17474 maybe-all-libgui: all-libgui
17475 all-libgui: configure-libgui
17476 @$(unstage)
17477 @r=`${PWD_COMMAND}`; export r; \
17478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17479 $(HOST_EXPORTS) \
17480 (cd $(HOST_SUBDIR)/libgui && \
17481 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
17482 @endif libgui
17487 .PHONY: check-libgui maybe-check-libgui
17488 maybe-check-libgui:
17489 @if libgui
17490 maybe-check-libgui: check-libgui
17492 check-libgui:
17493 @$(unstage)
17494 @r=`${PWD_COMMAND}`; export r; \
17495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17496 $(HOST_EXPORTS) \
17497 (cd $(HOST_SUBDIR)/libgui && \
17498 $(MAKE) $(FLAGS_TO_PASS) check)
17500 @endif libgui
17502 .PHONY: install-libgui maybe-install-libgui
17503 maybe-install-libgui:
17504 @if libgui
17505 maybe-install-libgui: install-libgui
17507 install-libgui: installdirs
17508 @$(unstage)
17509 @r=`${PWD_COMMAND}`; export r; \
17510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17511 $(HOST_EXPORTS) \
17512 (cd $(HOST_SUBDIR)/libgui && \
17513 $(MAKE) $(FLAGS_TO_PASS) install)
17515 @endif libgui
17517 # Other targets (info, dvi, etc.)
17519 .PHONY: maybe-info-libgui info-libgui
17520 maybe-info-libgui:
17521 @if libgui
17522 maybe-info-libgui: info-libgui
17524 info-libgui: \
17525 configure-libgui
17526 @$(unstage)
17527 @[ -f ./libgui/Makefile ] || exit 0; \
17528 r=`${PWD_COMMAND}`; export r; \
17529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17530 $(HOST_EXPORTS) \
17531 for flag in $(EXTRA_HOST_FLAGS) ; do \
17532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17533 done; \
17534 echo "Doing info in libgui" ; \
17535 (cd $(HOST_SUBDIR)/libgui && \
17536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17538 "RANLIB=$${RANLIB}" \
17539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17540 info) \
17541 || exit 1
17543 @endif libgui
17545 .PHONY: maybe-dvi-libgui dvi-libgui
17546 maybe-dvi-libgui:
17547 @if libgui
17548 maybe-dvi-libgui: dvi-libgui
17550 dvi-libgui: \
17551 configure-libgui
17552 @$(unstage)
17553 @[ -f ./libgui/Makefile ] || exit 0; \
17554 r=`${PWD_COMMAND}`; export r; \
17555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17556 $(HOST_EXPORTS) \
17557 for flag in $(EXTRA_HOST_FLAGS) ; do \
17558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17559 done; \
17560 echo "Doing dvi in libgui" ; \
17561 (cd $(HOST_SUBDIR)/libgui && \
17562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17564 "RANLIB=$${RANLIB}" \
17565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17566 dvi) \
17567 || exit 1
17569 @endif libgui
17571 .PHONY: maybe-html-libgui html-libgui
17572 maybe-html-libgui:
17573 @if libgui
17574 maybe-html-libgui: html-libgui
17576 html-libgui: \
17577 configure-libgui
17578 @$(unstage)
17579 @[ -f ./libgui/Makefile ] || exit 0; \
17580 r=`${PWD_COMMAND}`; export r; \
17581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17582 $(HOST_EXPORTS) \
17583 for flag in $(EXTRA_HOST_FLAGS) ; do \
17584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17585 done; \
17586 echo "Doing html in libgui" ; \
17587 (cd $(HOST_SUBDIR)/libgui && \
17588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17590 "RANLIB=$${RANLIB}" \
17591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17592 html) \
17593 || exit 1
17595 @endif libgui
17597 .PHONY: maybe-TAGS-libgui TAGS-libgui
17598 maybe-TAGS-libgui:
17599 @if libgui
17600 maybe-TAGS-libgui: TAGS-libgui
17602 TAGS-libgui: \
17603 configure-libgui
17604 @$(unstage)
17605 @[ -f ./libgui/Makefile ] || exit 0; \
17606 r=`${PWD_COMMAND}`; export r; \
17607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17608 $(HOST_EXPORTS) \
17609 for flag in $(EXTRA_HOST_FLAGS) ; do \
17610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17611 done; \
17612 echo "Doing TAGS in libgui" ; \
17613 (cd $(HOST_SUBDIR)/libgui && \
17614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17616 "RANLIB=$${RANLIB}" \
17617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17618 TAGS) \
17619 || exit 1
17621 @endif libgui
17623 .PHONY: maybe-install-info-libgui install-info-libgui
17624 maybe-install-info-libgui:
17625 @if libgui
17626 maybe-install-info-libgui: install-info-libgui
17628 install-info-libgui: \
17629 configure-libgui \
17630 info-libgui
17631 @$(unstage)
17632 @[ -f ./libgui/Makefile ] || exit 0; \
17633 r=`${PWD_COMMAND}`; export r; \
17634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17635 $(HOST_EXPORTS) \
17636 for flag in $(EXTRA_HOST_FLAGS) ; do \
17637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17638 done; \
17639 echo "Doing install-info in libgui" ; \
17640 (cd $(HOST_SUBDIR)/libgui && \
17641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17643 "RANLIB=$${RANLIB}" \
17644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17645 install-info) \
17646 || exit 1
17648 @endif libgui
17650 .PHONY: maybe-installcheck-libgui installcheck-libgui
17651 maybe-installcheck-libgui:
17652 @if libgui
17653 maybe-installcheck-libgui: installcheck-libgui
17655 installcheck-libgui: \
17656 configure-libgui
17657 @$(unstage)
17658 @[ -f ./libgui/Makefile ] || exit 0; \
17659 r=`${PWD_COMMAND}`; export r; \
17660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17661 $(HOST_EXPORTS) \
17662 for flag in $(EXTRA_HOST_FLAGS) ; do \
17663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17664 done; \
17665 echo "Doing installcheck in libgui" ; \
17666 (cd $(HOST_SUBDIR)/libgui && \
17667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17669 "RANLIB=$${RANLIB}" \
17670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17671 installcheck) \
17672 || exit 1
17674 @endif libgui
17676 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
17677 maybe-mostlyclean-libgui:
17678 @if libgui
17679 maybe-mostlyclean-libgui: mostlyclean-libgui
17681 mostlyclean-libgui:
17682 @$(unstage)
17683 @[ -f ./libgui/Makefile ] || exit 0; \
17684 r=`${PWD_COMMAND}`; export r; \
17685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17686 $(HOST_EXPORTS) \
17687 for flag in $(EXTRA_HOST_FLAGS) ; do \
17688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17689 done; \
17690 echo "Doing mostlyclean in libgui" ; \
17691 (cd $(HOST_SUBDIR)/libgui && \
17692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17694 "RANLIB=$${RANLIB}" \
17695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17696 mostlyclean) \
17697 || exit 1
17699 @endif libgui
17701 .PHONY: maybe-clean-libgui clean-libgui
17702 maybe-clean-libgui:
17703 @if libgui
17704 maybe-clean-libgui: clean-libgui
17706 clean-libgui:
17707 @$(unstage)
17708 @[ -f ./libgui/Makefile ] || exit 0; \
17709 r=`${PWD_COMMAND}`; export r; \
17710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17711 $(HOST_EXPORTS) \
17712 for flag in $(EXTRA_HOST_FLAGS) ; do \
17713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17714 done; \
17715 echo "Doing clean in libgui" ; \
17716 (cd $(HOST_SUBDIR)/libgui && \
17717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17719 "RANLIB=$${RANLIB}" \
17720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17721 clean) \
17722 || exit 1
17724 @endif libgui
17726 .PHONY: maybe-distclean-libgui distclean-libgui
17727 maybe-distclean-libgui:
17728 @if libgui
17729 maybe-distclean-libgui: distclean-libgui
17731 distclean-libgui:
17732 @$(unstage)
17733 @[ -f ./libgui/Makefile ] || exit 0; \
17734 r=`${PWD_COMMAND}`; export r; \
17735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17736 $(HOST_EXPORTS) \
17737 for flag in $(EXTRA_HOST_FLAGS) ; do \
17738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17739 done; \
17740 echo "Doing distclean in libgui" ; \
17741 (cd $(HOST_SUBDIR)/libgui && \
17742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17744 "RANLIB=$${RANLIB}" \
17745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17746 distclean) \
17747 || exit 1
17749 @endif libgui
17751 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17752 maybe-maintainer-clean-libgui:
17753 @if libgui
17754 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17756 maintainer-clean-libgui:
17757 @$(unstage)
17758 @[ -f ./libgui/Makefile ] || exit 0; \
17759 r=`${PWD_COMMAND}`; export r; \
17760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17761 $(HOST_EXPORTS) \
17762 for flag in $(EXTRA_HOST_FLAGS) ; do \
17763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17764 done; \
17765 echo "Doing maintainer-clean in libgui" ; \
17766 (cd $(HOST_SUBDIR)/libgui && \
17767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17769 "RANLIB=$${RANLIB}" \
17770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17771 maintainer-clean) \
17772 || exit 1
17774 @endif libgui
17778 .PHONY: configure-libiberty maybe-configure-libiberty
17779 maybe-configure-libiberty:
17780 @if libiberty
17781 maybe-configure-libiberty: configure-libiberty
17782 configure-libiberty:
17783 @test -f stage_last && exit 0; \
17784 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17786 r=`${PWD_COMMAND}`; export r; \
17787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17788 $(HOST_EXPORTS) \
17789 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17790 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17791 case $(srcdir) in \
17792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17793 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17795 esac; \
17796 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17797 libsrcdir="$$s/libiberty"; \
17798 $(SHELL) $${libsrcdir}/configure \
17799 $(HOST_CONFIGARGS) $${srcdiroption} \
17800 || exit 1
17801 @endif libiberty
17805 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17806 maybe-configure-stage1-libiberty:
17807 @if libiberty-bootstrap
17808 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17809 configure-stage1-libiberty:
17810 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17811 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17812 r=`${PWD_COMMAND}`; export r; \
17813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17814 $(HOST_EXPORTS) \
17815 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17816 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17817 case $(srcdir) in \
17818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17819 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17821 esac; \
17822 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17823 libsrcdir="$$s/libiberty"; \
17824 $(SHELL) $${libsrcdir}/configure \
17825 $(HOST_CONFIGARGS) $${srcdiroption} \
17826 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17827 @endif libiberty-bootstrap
17829 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17830 maybe-configure-stage2-libiberty:
17831 @if libiberty-bootstrap
17832 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17833 configure-stage2-libiberty:
17834 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17835 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17836 r=`${PWD_COMMAND}`; export r; \
17837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17838 $(HOST_EXPORTS) \
17839 $(POSTSTAGE1_HOST_EXPORTS) \
17840 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17841 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17842 case $(srcdir) in \
17843 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17844 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17845 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17846 esac; \
17847 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17848 libsrcdir="$$s/libiberty"; \
17849 $(SHELL) $${libsrcdir}/configure \
17850 $(HOST_CONFIGARGS) $${srcdiroption} \
17851 @stage2_werror_flag@
17852 @endif libiberty-bootstrap
17854 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17855 maybe-configure-stage3-libiberty:
17856 @if libiberty-bootstrap
17857 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17858 configure-stage3-libiberty:
17859 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17860 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17861 r=`${PWD_COMMAND}`; export r; \
17862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17863 $(HOST_EXPORTS) \
17864 $(POSTSTAGE1_HOST_EXPORTS) \
17865 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17866 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17867 case $(srcdir) in \
17868 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17869 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17870 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17871 esac; \
17872 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17873 libsrcdir="$$s/libiberty"; \
17874 $(SHELL) $${libsrcdir}/configure \
17875 $(HOST_CONFIGARGS) $${srcdiroption} \
17876 @stage2_werror_flag@
17877 @endif libiberty-bootstrap
17879 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17880 maybe-configure-stage4-libiberty:
17881 @if libiberty-bootstrap
17882 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17883 configure-stage4-libiberty:
17884 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17885 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17886 r=`${PWD_COMMAND}`; export r; \
17887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17888 $(HOST_EXPORTS) \
17889 $(POSTSTAGE1_HOST_EXPORTS) \
17890 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17891 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17892 case $(srcdir) in \
17893 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17894 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17895 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17896 esac; \
17897 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17898 libsrcdir="$$s/libiberty"; \
17899 $(SHELL) $${libsrcdir}/configure \
17900 $(HOST_CONFIGARGS) $${srcdiroption} \
17901 @stage2_werror_flag@
17902 @endif libiberty-bootstrap
17904 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17905 maybe-configure-stageprofile-libiberty:
17906 @if libiberty-bootstrap
17907 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17908 configure-stageprofile-libiberty:
17909 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17910 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17911 r=`${PWD_COMMAND}`; export r; \
17912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17913 $(HOST_EXPORTS) \
17914 $(POSTSTAGE1_HOST_EXPORTS) \
17915 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17916 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17917 case $(srcdir) in \
17918 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17919 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17920 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17921 esac; \
17922 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17923 libsrcdir="$$s/libiberty"; \
17924 $(SHELL) $${libsrcdir}/configure \
17925 $(HOST_CONFIGARGS) $${srcdiroption} \
17926 @stage2_werror_flag@
17927 @endif libiberty-bootstrap
17929 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17930 maybe-configure-stagefeedback-libiberty:
17931 @if libiberty-bootstrap
17932 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17933 configure-stagefeedback-libiberty:
17934 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17935 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17936 r=`${PWD_COMMAND}`; export r; \
17937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17938 $(HOST_EXPORTS) \
17939 $(POSTSTAGE1_HOST_EXPORTS) \
17940 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17941 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17942 case $(srcdir) in \
17943 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17944 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17945 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17946 esac; \
17947 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17948 libsrcdir="$$s/libiberty"; \
17949 $(SHELL) $${libsrcdir}/configure \
17950 $(HOST_CONFIGARGS) $${srcdiroption} \
17951 @stage2_werror_flag@
17952 @endif libiberty-bootstrap
17958 .PHONY: all-libiberty maybe-all-libiberty
17959 maybe-all-libiberty:
17960 @if libiberty
17961 TARGET-libiberty=all
17962 maybe-all-libiberty: all-libiberty
17963 all-libiberty: configure-libiberty
17964 @test -f stage_last && exit 0; \
17965 r=`${PWD_COMMAND}`; export r; \
17966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17967 $(HOST_EXPORTS) \
17968 (cd $(HOST_SUBDIR)/libiberty && \
17969 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17970 @endif libiberty
17974 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17975 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17976 maybe-all-stage1-libiberty:
17977 maybe-clean-stage1-libiberty:
17978 @if libiberty-bootstrap
17979 maybe-all-stage1-libiberty: all-stage1-libiberty
17980 all-stage1: all-stage1-libiberty
17981 TARGET-stage1-libiberty = $(TARGET-libiberty)
17982 all-stage1-libiberty: configure-stage1-libiberty
17983 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17984 @r=`${PWD_COMMAND}`; export r; \
17985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17986 $(HOST_EXPORTS) \
17987 cd $(HOST_SUBDIR)/libiberty && \
17988 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17989 $(TARGET-stage1-libiberty)
17991 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17992 clean-stage1: clean-stage1-libiberty
17993 clean-stage1-libiberty:
17994 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17995 || exit 0 ; \
17996 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17997 cd $(HOST_SUBDIR)/libiberty && \
17998 $(MAKE) $(FLAGS_TO_PASS) \
17999 CFLAGS="$(STAGE1_CFLAGS)" clean
18000 @endif libiberty-bootstrap
18003 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
18004 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
18005 maybe-all-stage2-libiberty:
18006 maybe-clean-stage2-libiberty:
18007 @if libiberty-bootstrap
18008 maybe-all-stage2-libiberty: all-stage2-libiberty
18009 all-stage2: all-stage2-libiberty
18010 TARGET-stage2-libiberty = $(TARGET-libiberty)
18011 all-stage2-libiberty: configure-stage2-libiberty
18012 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
18013 @r=`${PWD_COMMAND}`; export r; \
18014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18015 $(HOST_EXPORTS) \
18016 $(POSTSTAGE1_HOST_EXPORTS) \
18017 cd $(HOST_SUBDIR)/libiberty && \
18018 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18019 $(TARGET-stage2-libiberty)
18021 maybe-clean-stage2-libiberty: clean-stage2-libiberty
18022 clean-stage2: clean-stage2-libiberty
18023 clean-stage2-libiberty:
18024 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
18025 || exit 0 ; \
18026 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
18027 cd $(HOST_SUBDIR)/libiberty && \
18028 $(MAKE) $(FLAGS_TO_PASS) \
18029 $(POSTSTAGE1_FLAGS_TO_PASS) \
18030 clean
18031 @endif libiberty-bootstrap
18034 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
18035 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
18036 maybe-all-stage3-libiberty:
18037 maybe-clean-stage3-libiberty:
18038 @if libiberty-bootstrap
18039 maybe-all-stage3-libiberty: all-stage3-libiberty
18040 all-stage3: all-stage3-libiberty
18041 TARGET-stage3-libiberty = $(TARGET-libiberty)
18042 all-stage3-libiberty: configure-stage3-libiberty
18043 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
18044 @r=`${PWD_COMMAND}`; export r; \
18045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18046 $(HOST_EXPORTS) \
18047 $(POSTSTAGE1_HOST_EXPORTS) \
18048 cd $(HOST_SUBDIR)/libiberty && \
18049 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18050 $(TARGET-stage3-libiberty)
18052 maybe-clean-stage3-libiberty: clean-stage3-libiberty
18053 clean-stage3: clean-stage3-libiberty
18054 clean-stage3-libiberty:
18055 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
18056 || exit 0 ; \
18057 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
18058 cd $(HOST_SUBDIR)/libiberty && \
18059 $(MAKE) $(FLAGS_TO_PASS) \
18060 $(POSTSTAGE1_FLAGS_TO_PASS) \
18061 clean
18062 @endif libiberty-bootstrap
18065 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
18066 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
18067 maybe-all-stage4-libiberty:
18068 maybe-clean-stage4-libiberty:
18069 @if libiberty-bootstrap
18070 maybe-all-stage4-libiberty: all-stage4-libiberty
18071 all-stage4: all-stage4-libiberty
18072 TARGET-stage4-libiberty = $(TARGET-libiberty)
18073 all-stage4-libiberty: configure-stage4-libiberty
18074 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
18075 @r=`${PWD_COMMAND}`; export r; \
18076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18077 $(HOST_EXPORTS) \
18078 $(POSTSTAGE1_HOST_EXPORTS) \
18079 cd $(HOST_SUBDIR)/libiberty && \
18080 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
18081 $(TARGET-stage4-libiberty)
18083 maybe-clean-stage4-libiberty: clean-stage4-libiberty
18084 clean-stage4: clean-stage4-libiberty
18085 clean-stage4-libiberty:
18086 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
18087 || exit 0 ; \
18088 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
18089 cd $(HOST_SUBDIR)/libiberty && \
18090 $(MAKE) $(FLAGS_TO_PASS) \
18091 $(POSTSTAGE1_FLAGS_TO_PASS) \
18092 clean
18093 @endif libiberty-bootstrap
18096 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
18097 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
18098 maybe-all-stageprofile-libiberty:
18099 maybe-clean-stageprofile-libiberty:
18100 @if libiberty-bootstrap
18101 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
18102 all-stageprofile: all-stageprofile-libiberty
18103 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
18104 all-stageprofile-libiberty: configure-stageprofile-libiberty
18105 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
18106 @r=`${PWD_COMMAND}`; export r; \
18107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18108 $(HOST_EXPORTS) \
18109 $(POSTSTAGE1_HOST_EXPORTS) \
18110 cd $(HOST_SUBDIR)/libiberty && \
18111 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
18112 $(TARGET-stageprofile-libiberty)
18114 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
18115 clean-stageprofile: clean-stageprofile-libiberty
18116 clean-stageprofile-libiberty:
18117 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
18118 || exit 0 ; \
18119 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
18120 cd $(HOST_SUBDIR)/libiberty && \
18121 $(MAKE) $(FLAGS_TO_PASS) \
18122 $(POSTSTAGE1_FLAGS_TO_PASS) \
18123 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
18124 @endif libiberty-bootstrap
18127 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
18128 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
18129 maybe-all-stagefeedback-libiberty:
18130 maybe-clean-stagefeedback-libiberty:
18131 @if libiberty-bootstrap
18132 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
18133 all-stagefeedback: all-stagefeedback-libiberty
18134 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
18135 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
18136 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
18137 @r=`${PWD_COMMAND}`; export r; \
18138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18139 $(HOST_EXPORTS) \
18140 $(POSTSTAGE1_HOST_EXPORTS) \
18141 cd $(HOST_SUBDIR)/libiberty && \
18142 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
18143 $(TARGET-stagefeedback-libiberty)
18145 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
18146 clean-stagefeedback: clean-stagefeedback-libiberty
18147 clean-stagefeedback-libiberty:
18148 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
18149 || exit 0 ; \
18150 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
18151 cd $(HOST_SUBDIR)/libiberty && \
18152 $(MAKE) $(FLAGS_TO_PASS) \
18153 $(POSTSTAGE1_FLAGS_TO_PASS) \
18154 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
18155 @endif libiberty-bootstrap
18161 .PHONY: check-libiberty maybe-check-libiberty
18162 maybe-check-libiberty:
18163 @if libiberty
18164 maybe-check-libiberty: check-libiberty
18166 check-libiberty:
18167 @$(unstage)
18168 @r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(HOST_EXPORTS) \
18171 (cd $(HOST_SUBDIR)/libiberty && \
18172 $(MAKE) $(FLAGS_TO_PASS) check)
18174 @endif libiberty
18176 .PHONY: install-libiberty maybe-install-libiberty
18177 maybe-install-libiberty:
18178 @if libiberty
18179 maybe-install-libiberty: install-libiberty
18181 install-libiberty: installdirs
18182 @$(unstage)
18183 @r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 $(HOST_EXPORTS) \
18186 (cd $(HOST_SUBDIR)/libiberty && \
18187 $(MAKE) $(FLAGS_TO_PASS) install)
18189 @endif libiberty
18191 # Other targets (info, dvi, etc.)
18193 .PHONY: maybe-info-libiberty info-libiberty
18194 maybe-info-libiberty:
18195 @if libiberty
18196 maybe-info-libiberty: info-libiberty
18198 info-libiberty: \
18199 configure-libiberty
18200 @[ -f ./libiberty/Makefile ] || exit 0; \
18201 r=`${PWD_COMMAND}`; export r; \
18202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18203 $(HOST_EXPORTS) \
18204 for flag in $(EXTRA_HOST_FLAGS) ; do \
18205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18206 done; \
18207 echo "Doing info in libiberty" ; \
18208 (cd $(HOST_SUBDIR)/libiberty && \
18209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18211 "RANLIB=$${RANLIB}" \
18212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18213 info) \
18214 || exit 1
18216 @endif libiberty
18218 .PHONY: maybe-dvi-libiberty dvi-libiberty
18219 maybe-dvi-libiberty:
18220 @if libiberty
18221 maybe-dvi-libiberty: dvi-libiberty
18223 dvi-libiberty: \
18224 configure-libiberty
18225 @[ -f ./libiberty/Makefile ] || exit 0; \
18226 r=`${PWD_COMMAND}`; export r; \
18227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18228 $(HOST_EXPORTS) \
18229 for flag in $(EXTRA_HOST_FLAGS) ; do \
18230 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18231 done; \
18232 echo "Doing dvi in libiberty" ; \
18233 (cd $(HOST_SUBDIR)/libiberty && \
18234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18236 "RANLIB=$${RANLIB}" \
18237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18238 dvi) \
18239 || exit 1
18241 @endif libiberty
18243 .PHONY: maybe-html-libiberty html-libiberty
18244 maybe-html-libiberty:
18245 @if libiberty
18246 maybe-html-libiberty: html-libiberty
18248 html-libiberty: \
18249 configure-libiberty
18250 @[ -f ./libiberty/Makefile ] || exit 0; \
18251 r=`${PWD_COMMAND}`; export r; \
18252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18253 $(HOST_EXPORTS) \
18254 for flag in $(EXTRA_HOST_FLAGS) ; do \
18255 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18256 done; \
18257 echo "Doing html in libiberty" ; \
18258 (cd $(HOST_SUBDIR)/libiberty && \
18259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18261 "RANLIB=$${RANLIB}" \
18262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18263 html) \
18264 || exit 1
18266 @endif libiberty
18268 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
18269 maybe-TAGS-libiberty:
18270 @if libiberty
18271 maybe-TAGS-libiberty: TAGS-libiberty
18273 TAGS-libiberty: \
18274 configure-libiberty
18275 @[ -f ./libiberty/Makefile ] || exit 0; \
18276 r=`${PWD_COMMAND}`; export r; \
18277 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18278 $(HOST_EXPORTS) \
18279 for flag in $(EXTRA_HOST_FLAGS) ; do \
18280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18281 done; \
18282 echo "Doing TAGS in libiberty" ; \
18283 (cd $(HOST_SUBDIR)/libiberty && \
18284 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18285 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18286 "RANLIB=$${RANLIB}" \
18287 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18288 TAGS) \
18289 || exit 1
18291 @endif libiberty
18293 .PHONY: maybe-install-info-libiberty install-info-libiberty
18294 maybe-install-info-libiberty:
18295 @if libiberty
18296 maybe-install-info-libiberty: install-info-libiberty
18298 install-info-libiberty: \
18299 configure-libiberty \
18300 info-libiberty
18301 @[ -f ./libiberty/Makefile ] || exit 0; \
18302 r=`${PWD_COMMAND}`; export r; \
18303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18304 $(HOST_EXPORTS) \
18305 for flag in $(EXTRA_HOST_FLAGS) ; do \
18306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18307 done; \
18308 echo "Doing install-info in libiberty" ; \
18309 (cd $(HOST_SUBDIR)/libiberty && \
18310 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18311 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18312 "RANLIB=$${RANLIB}" \
18313 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18314 install-info) \
18315 || exit 1
18317 @endif libiberty
18319 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
18320 maybe-installcheck-libiberty:
18321 @if libiberty
18322 maybe-installcheck-libiberty: installcheck-libiberty
18324 installcheck-libiberty: \
18325 configure-libiberty
18326 @[ -f ./libiberty/Makefile ] || exit 0; \
18327 r=`${PWD_COMMAND}`; export r; \
18328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18329 $(HOST_EXPORTS) \
18330 for flag in $(EXTRA_HOST_FLAGS) ; do \
18331 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18332 done; \
18333 echo "Doing installcheck in libiberty" ; \
18334 (cd $(HOST_SUBDIR)/libiberty && \
18335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18337 "RANLIB=$${RANLIB}" \
18338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18339 installcheck) \
18340 || exit 1
18342 @endif libiberty
18344 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
18345 maybe-mostlyclean-libiberty:
18346 @if libiberty
18347 maybe-mostlyclean-libiberty: mostlyclean-libiberty
18349 mostlyclean-libiberty:
18350 @[ -f ./libiberty/Makefile ] || exit 0; \
18351 r=`${PWD_COMMAND}`; export r; \
18352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18353 $(HOST_EXPORTS) \
18354 for flag in $(EXTRA_HOST_FLAGS) ; do \
18355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18356 done; \
18357 echo "Doing mostlyclean in libiberty" ; \
18358 (cd $(HOST_SUBDIR)/libiberty && \
18359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18361 "RANLIB=$${RANLIB}" \
18362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18363 mostlyclean) \
18364 || exit 1
18366 @endif libiberty
18368 .PHONY: maybe-clean-libiberty clean-libiberty
18369 maybe-clean-libiberty:
18370 @if libiberty
18371 maybe-clean-libiberty: clean-libiberty
18373 clean-libiberty:
18374 @[ -f ./libiberty/Makefile ] || exit 0; \
18375 r=`${PWD_COMMAND}`; export r; \
18376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18377 $(HOST_EXPORTS) \
18378 for flag in $(EXTRA_HOST_FLAGS) ; do \
18379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18380 done; \
18381 echo "Doing clean in libiberty" ; \
18382 (cd $(HOST_SUBDIR)/libiberty && \
18383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18385 "RANLIB=$${RANLIB}" \
18386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18387 clean) \
18388 || exit 1
18390 @endif libiberty
18392 .PHONY: maybe-distclean-libiberty distclean-libiberty
18393 maybe-distclean-libiberty:
18394 @if libiberty
18395 maybe-distclean-libiberty: distclean-libiberty
18397 distclean-libiberty:
18398 @[ -f ./libiberty/Makefile ] || exit 0; \
18399 r=`${PWD_COMMAND}`; export r; \
18400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18401 $(HOST_EXPORTS) \
18402 for flag in $(EXTRA_HOST_FLAGS) ; do \
18403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18404 done; \
18405 echo "Doing distclean in libiberty" ; \
18406 (cd $(HOST_SUBDIR)/libiberty && \
18407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18409 "RANLIB=$${RANLIB}" \
18410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18411 distclean) \
18412 || exit 1
18414 @endif libiberty
18416 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
18417 maybe-maintainer-clean-libiberty:
18418 @if libiberty
18419 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
18421 maintainer-clean-libiberty:
18422 @[ -f ./libiberty/Makefile ] || exit 0; \
18423 r=`${PWD_COMMAND}`; export r; \
18424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18425 $(HOST_EXPORTS) \
18426 for flag in $(EXTRA_HOST_FLAGS) ; do \
18427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18428 done; \
18429 echo "Doing maintainer-clean in libiberty" ; \
18430 (cd $(HOST_SUBDIR)/libiberty && \
18431 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18432 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18433 "RANLIB=$${RANLIB}" \
18434 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18435 maintainer-clean) \
18436 || exit 1
18438 @endif libiberty
18442 .PHONY: configure-libtool maybe-configure-libtool
18443 maybe-configure-libtool:
18444 @if libtool
18445 maybe-configure-libtool: configure-libtool
18446 configure-libtool:
18447 @$(unstage)
18448 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
18449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
18450 r=`${PWD_COMMAND}`; export r; \
18451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18452 $(HOST_EXPORTS) \
18453 echo Configuring in $(HOST_SUBDIR)/libtool; \
18454 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
18455 case $(srcdir) in \
18456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18457 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
18458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18459 esac; \
18460 srcdiroption="--srcdir=$${topdir}/libtool"; \
18461 libsrcdir="$$s/libtool"; \
18462 $(SHELL) $${libsrcdir}/configure \
18463 $(HOST_CONFIGARGS) $${srcdiroption} \
18464 || exit 1
18465 @endif libtool
18471 .PHONY: all-libtool maybe-all-libtool
18472 maybe-all-libtool:
18473 @if libtool
18474 TARGET-libtool=all
18475 maybe-all-libtool: all-libtool
18476 all-libtool: configure-libtool
18477 @$(unstage)
18478 @r=`${PWD_COMMAND}`; export r; \
18479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18480 $(HOST_EXPORTS) \
18481 (cd $(HOST_SUBDIR)/libtool && \
18482 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
18483 @endif libtool
18488 .PHONY: check-libtool maybe-check-libtool
18489 maybe-check-libtool:
18490 @if libtool
18491 maybe-check-libtool: check-libtool
18493 check-libtool:
18494 @$(unstage)
18495 @r=`${PWD_COMMAND}`; export r; \
18496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18497 $(HOST_EXPORTS) \
18498 (cd $(HOST_SUBDIR)/libtool && \
18499 $(MAKE) $(FLAGS_TO_PASS) check)
18501 @endif libtool
18503 .PHONY: install-libtool maybe-install-libtool
18504 maybe-install-libtool:
18505 @if libtool
18506 maybe-install-libtool: install-libtool
18508 install-libtool: installdirs
18509 @$(unstage)
18510 @r=`${PWD_COMMAND}`; export r; \
18511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18512 $(HOST_EXPORTS) \
18513 (cd $(HOST_SUBDIR)/libtool && \
18514 $(MAKE) $(FLAGS_TO_PASS) install)
18516 @endif libtool
18518 # Other targets (info, dvi, etc.)
18520 .PHONY: maybe-info-libtool info-libtool
18521 maybe-info-libtool:
18522 @if libtool
18523 maybe-info-libtool: info-libtool
18525 info-libtool: \
18526 configure-libtool
18527 @$(unstage)
18528 @[ -f ./libtool/Makefile ] || exit 0; \
18529 r=`${PWD_COMMAND}`; export r; \
18530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18531 $(HOST_EXPORTS) \
18532 for flag in $(EXTRA_HOST_FLAGS) ; do \
18533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18534 done; \
18535 echo "Doing info in libtool" ; \
18536 (cd $(HOST_SUBDIR)/libtool && \
18537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18539 "RANLIB=$${RANLIB}" \
18540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18541 info) \
18542 || exit 1
18544 @endif libtool
18546 .PHONY: maybe-dvi-libtool dvi-libtool
18547 maybe-dvi-libtool:
18548 @if libtool
18549 maybe-dvi-libtool: dvi-libtool
18551 dvi-libtool: \
18552 configure-libtool
18553 @$(unstage)
18554 @[ -f ./libtool/Makefile ] || exit 0; \
18555 r=`${PWD_COMMAND}`; export r; \
18556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18557 $(HOST_EXPORTS) \
18558 for flag in $(EXTRA_HOST_FLAGS) ; do \
18559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18560 done; \
18561 echo "Doing dvi in libtool" ; \
18562 (cd $(HOST_SUBDIR)/libtool && \
18563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18565 "RANLIB=$${RANLIB}" \
18566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18567 dvi) \
18568 || exit 1
18570 @endif libtool
18572 .PHONY: maybe-html-libtool html-libtool
18573 maybe-html-libtool:
18574 @if libtool
18575 maybe-html-libtool: html-libtool
18577 html-libtool: \
18578 configure-libtool
18579 @$(unstage)
18580 @[ -f ./libtool/Makefile ] || exit 0; \
18581 r=`${PWD_COMMAND}`; export r; \
18582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18583 $(HOST_EXPORTS) \
18584 for flag in $(EXTRA_HOST_FLAGS) ; do \
18585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18586 done; \
18587 echo "Doing html in libtool" ; \
18588 (cd $(HOST_SUBDIR)/libtool && \
18589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18591 "RANLIB=$${RANLIB}" \
18592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18593 html) \
18594 || exit 1
18596 @endif libtool
18598 .PHONY: maybe-TAGS-libtool TAGS-libtool
18599 maybe-TAGS-libtool:
18600 @if libtool
18601 maybe-TAGS-libtool: TAGS-libtool
18603 TAGS-libtool: \
18604 configure-libtool
18605 @$(unstage)
18606 @[ -f ./libtool/Makefile ] || exit 0; \
18607 r=`${PWD_COMMAND}`; export r; \
18608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18609 $(HOST_EXPORTS) \
18610 for flag in $(EXTRA_HOST_FLAGS) ; do \
18611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18612 done; \
18613 echo "Doing TAGS in libtool" ; \
18614 (cd $(HOST_SUBDIR)/libtool && \
18615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18617 "RANLIB=$${RANLIB}" \
18618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18619 TAGS) \
18620 || exit 1
18622 @endif libtool
18624 .PHONY: maybe-install-info-libtool install-info-libtool
18625 maybe-install-info-libtool:
18626 @if libtool
18627 maybe-install-info-libtool: install-info-libtool
18629 install-info-libtool: \
18630 configure-libtool \
18631 info-libtool
18632 @$(unstage)
18633 @[ -f ./libtool/Makefile ] || exit 0; \
18634 r=`${PWD_COMMAND}`; export r; \
18635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18636 $(HOST_EXPORTS) \
18637 for flag in $(EXTRA_HOST_FLAGS) ; do \
18638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18639 done; \
18640 echo "Doing install-info in libtool" ; \
18641 (cd $(HOST_SUBDIR)/libtool && \
18642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18644 "RANLIB=$${RANLIB}" \
18645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18646 install-info) \
18647 || exit 1
18649 @endif libtool
18651 .PHONY: maybe-installcheck-libtool installcheck-libtool
18652 maybe-installcheck-libtool:
18653 @if libtool
18654 maybe-installcheck-libtool: installcheck-libtool
18656 installcheck-libtool: \
18657 configure-libtool
18658 @$(unstage)
18659 @[ -f ./libtool/Makefile ] || exit 0; \
18660 r=`${PWD_COMMAND}`; export r; \
18661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18662 $(HOST_EXPORTS) \
18663 for flag in $(EXTRA_HOST_FLAGS) ; do \
18664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18665 done; \
18666 echo "Doing installcheck in libtool" ; \
18667 (cd $(HOST_SUBDIR)/libtool && \
18668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18670 "RANLIB=$${RANLIB}" \
18671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18672 installcheck) \
18673 || exit 1
18675 @endif libtool
18677 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
18678 maybe-mostlyclean-libtool:
18679 @if libtool
18680 maybe-mostlyclean-libtool: mostlyclean-libtool
18682 mostlyclean-libtool:
18683 @$(unstage)
18684 @[ -f ./libtool/Makefile ] || exit 0; \
18685 r=`${PWD_COMMAND}`; export r; \
18686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18687 $(HOST_EXPORTS) \
18688 for flag in $(EXTRA_HOST_FLAGS) ; do \
18689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18690 done; \
18691 echo "Doing mostlyclean in libtool" ; \
18692 (cd $(HOST_SUBDIR)/libtool && \
18693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18695 "RANLIB=$${RANLIB}" \
18696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18697 mostlyclean) \
18698 || exit 1
18700 @endif libtool
18702 .PHONY: maybe-clean-libtool clean-libtool
18703 maybe-clean-libtool:
18704 @if libtool
18705 maybe-clean-libtool: clean-libtool
18707 clean-libtool:
18708 @$(unstage)
18709 @[ -f ./libtool/Makefile ] || exit 0; \
18710 r=`${PWD_COMMAND}`; export r; \
18711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18712 $(HOST_EXPORTS) \
18713 for flag in $(EXTRA_HOST_FLAGS) ; do \
18714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18715 done; \
18716 echo "Doing clean in libtool" ; \
18717 (cd $(HOST_SUBDIR)/libtool && \
18718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18720 "RANLIB=$${RANLIB}" \
18721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18722 clean) \
18723 || exit 1
18725 @endif libtool
18727 .PHONY: maybe-distclean-libtool distclean-libtool
18728 maybe-distclean-libtool:
18729 @if libtool
18730 maybe-distclean-libtool: distclean-libtool
18732 distclean-libtool:
18733 @$(unstage)
18734 @[ -f ./libtool/Makefile ] || exit 0; \
18735 r=`${PWD_COMMAND}`; export r; \
18736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18737 $(HOST_EXPORTS) \
18738 for flag in $(EXTRA_HOST_FLAGS) ; do \
18739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18740 done; \
18741 echo "Doing distclean in libtool" ; \
18742 (cd $(HOST_SUBDIR)/libtool && \
18743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18745 "RANLIB=$${RANLIB}" \
18746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18747 distclean) \
18748 || exit 1
18750 @endif libtool
18752 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18753 maybe-maintainer-clean-libtool:
18754 @if libtool
18755 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18757 maintainer-clean-libtool:
18758 @$(unstage)
18759 @[ -f ./libtool/Makefile ] || exit 0; \
18760 r=`${PWD_COMMAND}`; export r; \
18761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18762 $(HOST_EXPORTS) \
18763 for flag in $(EXTRA_HOST_FLAGS) ; do \
18764 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18765 done; \
18766 echo "Doing maintainer-clean in libtool" ; \
18767 (cd $(HOST_SUBDIR)/libtool && \
18768 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18769 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18770 "RANLIB=$${RANLIB}" \
18771 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18772 maintainer-clean) \
18773 || exit 1
18775 @endif libtool
18779 .PHONY: configure-m4 maybe-configure-m4
18780 maybe-configure-m4:
18781 @if m4
18782 maybe-configure-m4: configure-m4
18783 configure-m4:
18784 @$(unstage)
18785 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18787 r=`${PWD_COMMAND}`; export r; \
18788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18789 $(HOST_EXPORTS) \
18790 echo Configuring in $(HOST_SUBDIR)/m4; \
18791 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18792 case $(srcdir) in \
18793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18794 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18796 esac; \
18797 srcdiroption="--srcdir=$${topdir}/m4"; \
18798 libsrcdir="$$s/m4"; \
18799 $(SHELL) $${libsrcdir}/configure \
18800 $(HOST_CONFIGARGS) $${srcdiroption} \
18801 || exit 1
18802 @endif m4
18808 .PHONY: all-m4 maybe-all-m4
18809 maybe-all-m4:
18810 @if m4
18811 TARGET-m4=all
18812 maybe-all-m4: all-m4
18813 all-m4: configure-m4
18814 @$(unstage)
18815 @r=`${PWD_COMMAND}`; export r; \
18816 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18817 $(HOST_EXPORTS) \
18818 (cd $(HOST_SUBDIR)/m4 && \
18819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18820 @endif m4
18825 .PHONY: check-m4 maybe-check-m4
18826 maybe-check-m4:
18827 @if m4
18828 maybe-check-m4: check-m4
18830 check-m4:
18831 @$(unstage)
18832 @r=`${PWD_COMMAND}`; export r; \
18833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18834 $(HOST_EXPORTS) \
18835 (cd $(HOST_SUBDIR)/m4 && \
18836 $(MAKE) $(FLAGS_TO_PASS) check)
18838 @endif m4
18840 .PHONY: install-m4 maybe-install-m4
18841 maybe-install-m4:
18842 @if m4
18843 maybe-install-m4: install-m4
18845 install-m4: installdirs
18846 @$(unstage)
18847 @r=`${PWD_COMMAND}`; export r; \
18848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18849 $(HOST_EXPORTS) \
18850 (cd $(HOST_SUBDIR)/m4 && \
18851 $(MAKE) $(FLAGS_TO_PASS) install)
18853 @endif m4
18855 # Other targets (info, dvi, etc.)
18857 .PHONY: maybe-info-m4 info-m4
18858 maybe-info-m4:
18859 @if m4
18860 maybe-info-m4: info-m4
18862 info-m4: \
18863 configure-m4
18864 @$(unstage)
18865 @[ -f ./m4/Makefile ] || exit 0; \
18866 r=`${PWD_COMMAND}`; export r; \
18867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18868 $(HOST_EXPORTS) \
18869 for flag in $(EXTRA_HOST_FLAGS) ; do \
18870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18871 done; \
18872 echo "Doing info in m4" ; \
18873 (cd $(HOST_SUBDIR)/m4 && \
18874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18876 "RANLIB=$${RANLIB}" \
18877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18878 info) \
18879 || exit 1
18881 @endif m4
18883 .PHONY: maybe-dvi-m4 dvi-m4
18884 maybe-dvi-m4:
18885 @if m4
18886 maybe-dvi-m4: dvi-m4
18888 dvi-m4: \
18889 configure-m4
18890 @$(unstage)
18891 @[ -f ./m4/Makefile ] || exit 0; \
18892 r=`${PWD_COMMAND}`; export r; \
18893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18894 $(HOST_EXPORTS) \
18895 for flag in $(EXTRA_HOST_FLAGS) ; do \
18896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18897 done; \
18898 echo "Doing dvi in m4" ; \
18899 (cd $(HOST_SUBDIR)/m4 && \
18900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18902 "RANLIB=$${RANLIB}" \
18903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18904 dvi) \
18905 || exit 1
18907 @endif m4
18909 .PHONY: maybe-html-m4 html-m4
18910 maybe-html-m4:
18911 @if m4
18912 maybe-html-m4: html-m4
18914 html-m4: \
18915 configure-m4
18916 @$(unstage)
18917 @[ -f ./m4/Makefile ] || exit 0; \
18918 r=`${PWD_COMMAND}`; export r; \
18919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18920 $(HOST_EXPORTS) \
18921 for flag in $(EXTRA_HOST_FLAGS) ; do \
18922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18923 done; \
18924 echo "Doing html in m4" ; \
18925 (cd $(HOST_SUBDIR)/m4 && \
18926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18928 "RANLIB=$${RANLIB}" \
18929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18930 html) \
18931 || exit 1
18933 @endif m4
18935 .PHONY: maybe-TAGS-m4 TAGS-m4
18936 maybe-TAGS-m4:
18937 @if m4
18938 maybe-TAGS-m4: TAGS-m4
18940 TAGS-m4: \
18941 configure-m4
18942 @$(unstage)
18943 @[ -f ./m4/Makefile ] || exit 0; \
18944 r=`${PWD_COMMAND}`; export r; \
18945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18946 $(HOST_EXPORTS) \
18947 for flag in $(EXTRA_HOST_FLAGS) ; do \
18948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18949 done; \
18950 echo "Doing TAGS in m4" ; \
18951 (cd $(HOST_SUBDIR)/m4 && \
18952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18954 "RANLIB=$${RANLIB}" \
18955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18956 TAGS) \
18957 || exit 1
18959 @endif m4
18961 .PHONY: maybe-install-info-m4 install-info-m4
18962 maybe-install-info-m4:
18963 @if m4
18964 maybe-install-info-m4: install-info-m4
18966 install-info-m4: \
18967 configure-m4 \
18968 info-m4
18969 @$(unstage)
18970 @[ -f ./m4/Makefile ] || exit 0; \
18971 r=`${PWD_COMMAND}`; export r; \
18972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18973 $(HOST_EXPORTS) \
18974 for flag in $(EXTRA_HOST_FLAGS) ; do \
18975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18976 done; \
18977 echo "Doing install-info in m4" ; \
18978 (cd $(HOST_SUBDIR)/m4 && \
18979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18981 "RANLIB=$${RANLIB}" \
18982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18983 install-info) \
18984 || exit 1
18986 @endif m4
18988 .PHONY: maybe-installcheck-m4 installcheck-m4
18989 maybe-installcheck-m4:
18990 @if m4
18991 maybe-installcheck-m4: installcheck-m4
18993 installcheck-m4: \
18994 configure-m4
18995 @$(unstage)
18996 @[ -f ./m4/Makefile ] || exit 0; \
18997 r=`${PWD_COMMAND}`; export r; \
18998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18999 $(HOST_EXPORTS) \
19000 for flag in $(EXTRA_HOST_FLAGS) ; do \
19001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19002 done; \
19003 echo "Doing installcheck in m4" ; \
19004 (cd $(HOST_SUBDIR)/m4 && \
19005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19007 "RANLIB=$${RANLIB}" \
19008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19009 installcheck) \
19010 || exit 1
19012 @endif m4
19014 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
19015 maybe-mostlyclean-m4:
19016 @if m4
19017 maybe-mostlyclean-m4: mostlyclean-m4
19019 mostlyclean-m4:
19020 @$(unstage)
19021 @[ -f ./m4/Makefile ] || exit 0; \
19022 r=`${PWD_COMMAND}`; export r; \
19023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19024 $(HOST_EXPORTS) \
19025 for flag in $(EXTRA_HOST_FLAGS) ; do \
19026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19027 done; \
19028 echo "Doing mostlyclean in m4" ; \
19029 (cd $(HOST_SUBDIR)/m4 && \
19030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19032 "RANLIB=$${RANLIB}" \
19033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19034 mostlyclean) \
19035 || exit 1
19037 @endif m4
19039 .PHONY: maybe-clean-m4 clean-m4
19040 maybe-clean-m4:
19041 @if m4
19042 maybe-clean-m4: clean-m4
19044 clean-m4:
19045 @$(unstage)
19046 @[ -f ./m4/Makefile ] || exit 0; \
19047 r=`${PWD_COMMAND}`; export r; \
19048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19049 $(HOST_EXPORTS) \
19050 for flag in $(EXTRA_HOST_FLAGS) ; do \
19051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19052 done; \
19053 echo "Doing clean in m4" ; \
19054 (cd $(HOST_SUBDIR)/m4 && \
19055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19057 "RANLIB=$${RANLIB}" \
19058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19059 clean) \
19060 || exit 1
19062 @endif m4
19064 .PHONY: maybe-distclean-m4 distclean-m4
19065 maybe-distclean-m4:
19066 @if m4
19067 maybe-distclean-m4: distclean-m4
19069 distclean-m4:
19070 @$(unstage)
19071 @[ -f ./m4/Makefile ] || exit 0; \
19072 r=`${PWD_COMMAND}`; export r; \
19073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19074 $(HOST_EXPORTS) \
19075 for flag in $(EXTRA_HOST_FLAGS) ; do \
19076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19077 done; \
19078 echo "Doing distclean in m4" ; \
19079 (cd $(HOST_SUBDIR)/m4 && \
19080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19082 "RANLIB=$${RANLIB}" \
19083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19084 distclean) \
19085 || exit 1
19087 @endif m4
19089 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
19090 maybe-maintainer-clean-m4:
19091 @if m4
19092 maybe-maintainer-clean-m4: maintainer-clean-m4
19094 maintainer-clean-m4:
19095 @$(unstage)
19096 @[ -f ./m4/Makefile ] || exit 0; \
19097 r=`${PWD_COMMAND}`; export r; \
19098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19099 $(HOST_EXPORTS) \
19100 for flag in $(EXTRA_HOST_FLAGS) ; do \
19101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19102 done; \
19103 echo "Doing maintainer-clean in m4" ; \
19104 (cd $(HOST_SUBDIR)/m4 && \
19105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19107 "RANLIB=$${RANLIB}" \
19108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19109 maintainer-clean) \
19110 || exit 1
19112 @endif m4
19116 .PHONY: configure-make maybe-configure-make
19117 maybe-configure-make:
19118 @if make
19119 maybe-configure-make: configure-make
19120 configure-make:
19121 @$(unstage)
19122 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
19123 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
19124 r=`${PWD_COMMAND}`; export r; \
19125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19126 $(HOST_EXPORTS) \
19127 echo Configuring in $(HOST_SUBDIR)/make; \
19128 cd "$(HOST_SUBDIR)/make" || exit 1; \
19129 case $(srcdir) in \
19130 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19131 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
19132 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19133 esac; \
19134 srcdiroption="--srcdir=$${topdir}/make"; \
19135 libsrcdir="$$s/make"; \
19136 $(SHELL) $${libsrcdir}/configure \
19137 $(HOST_CONFIGARGS) $${srcdiroption} \
19138 || exit 1
19139 @endif make
19145 .PHONY: all-make maybe-all-make
19146 maybe-all-make:
19147 @if make
19148 TARGET-make=all
19149 maybe-all-make: all-make
19150 all-make: configure-make
19151 @$(unstage)
19152 @r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 $(HOST_EXPORTS) \
19155 (cd $(HOST_SUBDIR)/make && \
19156 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
19157 @endif make
19162 .PHONY: check-make maybe-check-make
19163 maybe-check-make:
19164 @if make
19165 maybe-check-make: check-make
19167 check-make:
19168 @$(unstage)
19169 @r=`${PWD_COMMAND}`; export r; \
19170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19171 $(HOST_EXPORTS) \
19172 (cd $(HOST_SUBDIR)/make && \
19173 $(MAKE) $(FLAGS_TO_PASS) check)
19175 @endif make
19177 .PHONY: install-make maybe-install-make
19178 maybe-install-make:
19179 @if make
19180 maybe-install-make: install-make
19182 install-make: installdirs
19183 @$(unstage)
19184 @r=`${PWD_COMMAND}`; export r; \
19185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19186 $(HOST_EXPORTS) \
19187 (cd $(HOST_SUBDIR)/make && \
19188 $(MAKE) $(FLAGS_TO_PASS) install)
19190 @endif make
19192 # Other targets (info, dvi, etc.)
19194 .PHONY: maybe-info-make info-make
19195 maybe-info-make:
19196 @if make
19197 maybe-info-make: info-make
19199 info-make: \
19200 configure-make
19201 @$(unstage)
19202 @[ -f ./make/Makefile ] || exit 0; \
19203 r=`${PWD_COMMAND}`; export r; \
19204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19205 $(HOST_EXPORTS) \
19206 for flag in $(EXTRA_HOST_FLAGS) ; do \
19207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19208 done; \
19209 echo "Doing info in make" ; \
19210 (cd $(HOST_SUBDIR)/make && \
19211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19213 "RANLIB=$${RANLIB}" \
19214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19215 info) \
19216 || exit 1
19218 @endif make
19220 .PHONY: maybe-dvi-make dvi-make
19221 maybe-dvi-make:
19222 @if make
19223 maybe-dvi-make: dvi-make
19225 dvi-make: \
19226 configure-make
19227 @$(unstage)
19228 @[ -f ./make/Makefile ] || exit 0; \
19229 r=`${PWD_COMMAND}`; export r; \
19230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19231 $(HOST_EXPORTS) \
19232 for flag in $(EXTRA_HOST_FLAGS) ; do \
19233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19234 done; \
19235 echo "Doing dvi in make" ; \
19236 (cd $(HOST_SUBDIR)/make && \
19237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19239 "RANLIB=$${RANLIB}" \
19240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19241 dvi) \
19242 || exit 1
19244 @endif make
19246 .PHONY: maybe-html-make html-make
19247 maybe-html-make:
19248 @if make
19249 maybe-html-make: html-make
19251 html-make: \
19252 configure-make
19253 @$(unstage)
19254 @[ -f ./make/Makefile ] || exit 0; \
19255 r=`${PWD_COMMAND}`; export r; \
19256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19257 $(HOST_EXPORTS) \
19258 for flag in $(EXTRA_HOST_FLAGS) ; do \
19259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19260 done; \
19261 echo "Doing html in make" ; \
19262 (cd $(HOST_SUBDIR)/make && \
19263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19265 "RANLIB=$${RANLIB}" \
19266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19267 html) \
19268 || exit 1
19270 @endif make
19272 .PHONY: maybe-TAGS-make TAGS-make
19273 maybe-TAGS-make:
19274 @if make
19275 maybe-TAGS-make: TAGS-make
19277 TAGS-make: \
19278 configure-make
19279 @$(unstage)
19280 @[ -f ./make/Makefile ] || exit 0; \
19281 r=`${PWD_COMMAND}`; export r; \
19282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19283 $(HOST_EXPORTS) \
19284 for flag in $(EXTRA_HOST_FLAGS) ; do \
19285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19286 done; \
19287 echo "Doing TAGS in make" ; \
19288 (cd $(HOST_SUBDIR)/make && \
19289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19291 "RANLIB=$${RANLIB}" \
19292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19293 TAGS) \
19294 || exit 1
19296 @endif make
19298 .PHONY: maybe-install-info-make install-info-make
19299 maybe-install-info-make:
19300 @if make
19301 maybe-install-info-make: install-info-make
19303 install-info-make: \
19304 configure-make \
19305 info-make
19306 @$(unstage)
19307 @[ -f ./make/Makefile ] || exit 0; \
19308 r=`${PWD_COMMAND}`; export r; \
19309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19310 $(HOST_EXPORTS) \
19311 for flag in $(EXTRA_HOST_FLAGS) ; do \
19312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19313 done; \
19314 echo "Doing install-info in make" ; \
19315 (cd $(HOST_SUBDIR)/make && \
19316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19318 "RANLIB=$${RANLIB}" \
19319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19320 install-info) \
19321 || exit 1
19323 @endif make
19325 .PHONY: maybe-installcheck-make installcheck-make
19326 maybe-installcheck-make:
19327 @if make
19328 maybe-installcheck-make: installcheck-make
19330 installcheck-make: \
19331 configure-make
19332 @$(unstage)
19333 @[ -f ./make/Makefile ] || exit 0; \
19334 r=`${PWD_COMMAND}`; export r; \
19335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19336 $(HOST_EXPORTS) \
19337 for flag in $(EXTRA_HOST_FLAGS) ; do \
19338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19339 done; \
19340 echo "Doing installcheck in make" ; \
19341 (cd $(HOST_SUBDIR)/make && \
19342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19344 "RANLIB=$${RANLIB}" \
19345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19346 installcheck) \
19347 || exit 1
19349 @endif make
19351 .PHONY: maybe-mostlyclean-make mostlyclean-make
19352 maybe-mostlyclean-make:
19353 @if make
19354 maybe-mostlyclean-make: mostlyclean-make
19356 mostlyclean-make:
19357 @$(unstage)
19358 @[ -f ./make/Makefile ] || exit 0; \
19359 r=`${PWD_COMMAND}`; export r; \
19360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19361 $(HOST_EXPORTS) \
19362 for flag in $(EXTRA_HOST_FLAGS) ; do \
19363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19364 done; \
19365 echo "Doing mostlyclean in make" ; \
19366 (cd $(HOST_SUBDIR)/make && \
19367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19369 "RANLIB=$${RANLIB}" \
19370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19371 mostlyclean) \
19372 || exit 1
19374 @endif make
19376 .PHONY: maybe-clean-make clean-make
19377 maybe-clean-make:
19378 @if make
19379 maybe-clean-make: clean-make
19381 clean-make:
19382 @$(unstage)
19383 @[ -f ./make/Makefile ] || exit 0; \
19384 r=`${PWD_COMMAND}`; export r; \
19385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19386 $(HOST_EXPORTS) \
19387 for flag in $(EXTRA_HOST_FLAGS) ; do \
19388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19389 done; \
19390 echo "Doing clean in make" ; \
19391 (cd $(HOST_SUBDIR)/make && \
19392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19394 "RANLIB=$${RANLIB}" \
19395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19396 clean) \
19397 || exit 1
19399 @endif make
19401 .PHONY: maybe-distclean-make distclean-make
19402 maybe-distclean-make:
19403 @if make
19404 maybe-distclean-make: distclean-make
19406 distclean-make:
19407 @$(unstage)
19408 @[ -f ./make/Makefile ] || exit 0; \
19409 r=`${PWD_COMMAND}`; export r; \
19410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19411 $(HOST_EXPORTS) \
19412 for flag in $(EXTRA_HOST_FLAGS) ; do \
19413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19414 done; \
19415 echo "Doing distclean in make" ; \
19416 (cd $(HOST_SUBDIR)/make && \
19417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19419 "RANLIB=$${RANLIB}" \
19420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19421 distclean) \
19422 || exit 1
19424 @endif make
19426 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
19427 maybe-maintainer-clean-make:
19428 @if make
19429 maybe-maintainer-clean-make: maintainer-clean-make
19431 maintainer-clean-make:
19432 @$(unstage)
19433 @[ -f ./make/Makefile ] || exit 0; \
19434 r=`${PWD_COMMAND}`; export r; \
19435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19436 $(HOST_EXPORTS) \
19437 for flag in $(EXTRA_HOST_FLAGS) ; do \
19438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19439 done; \
19440 echo "Doing maintainer-clean in make" ; \
19441 (cd $(HOST_SUBDIR)/make && \
19442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19444 "RANLIB=$${RANLIB}" \
19445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19446 maintainer-clean) \
19447 || exit 1
19449 @endif make
19453 .PHONY: configure-mmalloc maybe-configure-mmalloc
19454 maybe-configure-mmalloc:
19455 @if mmalloc
19456 maybe-configure-mmalloc: configure-mmalloc
19457 configure-mmalloc:
19458 @$(unstage)
19459 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
19460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
19461 r=`${PWD_COMMAND}`; export r; \
19462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19463 $(HOST_EXPORTS) \
19464 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
19465 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
19466 case $(srcdir) in \
19467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19468 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
19469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19470 esac; \
19471 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
19472 libsrcdir="$$s/mmalloc"; \
19473 $(SHELL) $${libsrcdir}/configure \
19474 $(HOST_CONFIGARGS) $${srcdiroption} \
19475 || exit 1
19476 @endif mmalloc
19482 .PHONY: all-mmalloc maybe-all-mmalloc
19483 maybe-all-mmalloc:
19484 @if mmalloc
19485 TARGET-mmalloc=all
19486 maybe-all-mmalloc: all-mmalloc
19487 all-mmalloc: configure-mmalloc
19488 @$(unstage)
19489 @r=`${PWD_COMMAND}`; export r; \
19490 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19491 $(HOST_EXPORTS) \
19492 (cd $(HOST_SUBDIR)/mmalloc && \
19493 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
19494 @endif mmalloc
19499 .PHONY: check-mmalloc maybe-check-mmalloc
19500 maybe-check-mmalloc:
19501 @if mmalloc
19502 maybe-check-mmalloc: check-mmalloc
19504 check-mmalloc:
19506 @endif mmalloc
19508 .PHONY: install-mmalloc maybe-install-mmalloc
19509 maybe-install-mmalloc:
19510 @if mmalloc
19511 maybe-install-mmalloc: install-mmalloc
19513 install-mmalloc: installdirs
19514 @$(unstage)
19515 @r=`${PWD_COMMAND}`; export r; \
19516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19517 $(HOST_EXPORTS) \
19518 (cd $(HOST_SUBDIR)/mmalloc && \
19519 $(MAKE) $(FLAGS_TO_PASS) install)
19521 @endif mmalloc
19523 # Other targets (info, dvi, etc.)
19525 .PHONY: maybe-info-mmalloc info-mmalloc
19526 maybe-info-mmalloc:
19527 @if mmalloc
19528 maybe-info-mmalloc: info-mmalloc
19530 info-mmalloc: \
19531 configure-mmalloc
19532 @$(unstage)
19533 @[ -f ./mmalloc/Makefile ] || exit 0; \
19534 r=`${PWD_COMMAND}`; export r; \
19535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19536 $(HOST_EXPORTS) \
19537 for flag in $(EXTRA_HOST_FLAGS) ; do \
19538 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19539 done; \
19540 echo "Doing info in mmalloc" ; \
19541 (cd $(HOST_SUBDIR)/mmalloc && \
19542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19544 "RANLIB=$${RANLIB}" \
19545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19546 info) \
19547 || exit 1
19549 @endif mmalloc
19551 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
19552 maybe-dvi-mmalloc:
19553 @if mmalloc
19554 maybe-dvi-mmalloc: dvi-mmalloc
19556 dvi-mmalloc: \
19557 configure-mmalloc
19558 @$(unstage)
19559 @[ -f ./mmalloc/Makefile ] || exit 0; \
19560 r=`${PWD_COMMAND}`; export r; \
19561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19562 $(HOST_EXPORTS) \
19563 for flag in $(EXTRA_HOST_FLAGS) ; do \
19564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19565 done; \
19566 echo "Doing dvi in mmalloc" ; \
19567 (cd $(HOST_SUBDIR)/mmalloc && \
19568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19570 "RANLIB=$${RANLIB}" \
19571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19572 dvi) \
19573 || exit 1
19575 @endif mmalloc
19577 .PHONY: maybe-html-mmalloc html-mmalloc
19578 maybe-html-mmalloc:
19579 @if mmalloc
19580 maybe-html-mmalloc: html-mmalloc
19582 html-mmalloc: \
19583 configure-mmalloc
19584 @$(unstage)
19585 @[ -f ./mmalloc/Makefile ] || exit 0; \
19586 r=`${PWD_COMMAND}`; export r; \
19587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19588 $(HOST_EXPORTS) \
19589 for flag in $(EXTRA_HOST_FLAGS) ; do \
19590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19591 done; \
19592 echo "Doing html in mmalloc" ; \
19593 (cd $(HOST_SUBDIR)/mmalloc && \
19594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19596 "RANLIB=$${RANLIB}" \
19597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19598 html) \
19599 || exit 1
19601 @endif mmalloc
19603 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
19604 maybe-TAGS-mmalloc:
19605 @if mmalloc
19606 maybe-TAGS-mmalloc: TAGS-mmalloc
19608 TAGS-mmalloc: \
19609 configure-mmalloc
19610 @$(unstage)
19611 @[ -f ./mmalloc/Makefile ] || exit 0; \
19612 r=`${PWD_COMMAND}`; export r; \
19613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19614 $(HOST_EXPORTS) \
19615 for flag in $(EXTRA_HOST_FLAGS) ; do \
19616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19617 done; \
19618 echo "Doing TAGS in mmalloc" ; \
19619 (cd $(HOST_SUBDIR)/mmalloc && \
19620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19622 "RANLIB=$${RANLIB}" \
19623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19624 TAGS) \
19625 || exit 1
19627 @endif mmalloc
19629 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
19630 maybe-install-info-mmalloc:
19631 @if mmalloc
19632 maybe-install-info-mmalloc: install-info-mmalloc
19634 install-info-mmalloc: \
19635 configure-mmalloc \
19636 info-mmalloc
19637 @$(unstage)
19638 @[ -f ./mmalloc/Makefile ] || exit 0; \
19639 r=`${PWD_COMMAND}`; export r; \
19640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19641 $(HOST_EXPORTS) \
19642 for flag in $(EXTRA_HOST_FLAGS) ; do \
19643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19644 done; \
19645 echo "Doing install-info in mmalloc" ; \
19646 (cd $(HOST_SUBDIR)/mmalloc && \
19647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19649 "RANLIB=$${RANLIB}" \
19650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19651 install-info) \
19652 || exit 1
19654 @endif mmalloc
19656 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
19657 maybe-installcheck-mmalloc:
19658 @if mmalloc
19659 maybe-installcheck-mmalloc: installcheck-mmalloc
19661 installcheck-mmalloc: \
19662 configure-mmalloc
19663 @$(unstage)
19664 @[ -f ./mmalloc/Makefile ] || exit 0; \
19665 r=`${PWD_COMMAND}`; export r; \
19666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19667 $(HOST_EXPORTS) \
19668 for flag in $(EXTRA_HOST_FLAGS) ; do \
19669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19670 done; \
19671 echo "Doing installcheck in mmalloc" ; \
19672 (cd $(HOST_SUBDIR)/mmalloc && \
19673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19675 "RANLIB=$${RANLIB}" \
19676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19677 installcheck) \
19678 || exit 1
19680 @endif mmalloc
19682 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
19683 maybe-mostlyclean-mmalloc:
19684 @if mmalloc
19685 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
19687 mostlyclean-mmalloc:
19688 @$(unstage)
19689 @[ -f ./mmalloc/Makefile ] || exit 0; \
19690 r=`${PWD_COMMAND}`; export r; \
19691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19692 $(HOST_EXPORTS) \
19693 for flag in $(EXTRA_HOST_FLAGS) ; do \
19694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19695 done; \
19696 echo "Doing mostlyclean in mmalloc" ; \
19697 (cd $(HOST_SUBDIR)/mmalloc && \
19698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19700 "RANLIB=$${RANLIB}" \
19701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19702 mostlyclean) \
19703 || exit 1
19705 @endif mmalloc
19707 .PHONY: maybe-clean-mmalloc clean-mmalloc
19708 maybe-clean-mmalloc:
19709 @if mmalloc
19710 maybe-clean-mmalloc: clean-mmalloc
19712 clean-mmalloc:
19713 @$(unstage)
19714 @[ -f ./mmalloc/Makefile ] || exit 0; \
19715 r=`${PWD_COMMAND}`; export r; \
19716 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19717 $(HOST_EXPORTS) \
19718 for flag in $(EXTRA_HOST_FLAGS) ; do \
19719 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19720 done; \
19721 echo "Doing clean in mmalloc" ; \
19722 (cd $(HOST_SUBDIR)/mmalloc && \
19723 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19724 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19725 "RANLIB=$${RANLIB}" \
19726 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19727 clean) \
19728 || exit 1
19730 @endif mmalloc
19732 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19733 maybe-distclean-mmalloc:
19734 @if mmalloc
19735 maybe-distclean-mmalloc: distclean-mmalloc
19737 distclean-mmalloc:
19738 @$(unstage)
19739 @[ -f ./mmalloc/Makefile ] || exit 0; \
19740 r=`${PWD_COMMAND}`; export r; \
19741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19742 $(HOST_EXPORTS) \
19743 for flag in $(EXTRA_HOST_FLAGS) ; do \
19744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19745 done; \
19746 echo "Doing distclean in mmalloc" ; \
19747 (cd $(HOST_SUBDIR)/mmalloc && \
19748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19750 "RANLIB=$${RANLIB}" \
19751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19752 distclean) \
19753 || exit 1
19755 @endif mmalloc
19757 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19758 maybe-maintainer-clean-mmalloc:
19759 @if mmalloc
19760 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19762 maintainer-clean-mmalloc:
19763 @$(unstage)
19764 @[ -f ./mmalloc/Makefile ] || exit 0; \
19765 r=`${PWD_COMMAND}`; export r; \
19766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19767 $(HOST_EXPORTS) \
19768 for flag in $(EXTRA_HOST_FLAGS) ; do \
19769 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19770 done; \
19771 echo "Doing maintainer-clean in mmalloc" ; \
19772 (cd $(HOST_SUBDIR)/mmalloc && \
19773 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19774 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19775 "RANLIB=$${RANLIB}" \
19776 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19777 maintainer-clean) \
19778 || exit 1
19780 @endif mmalloc
19784 .PHONY: configure-patch maybe-configure-patch
19785 maybe-configure-patch:
19786 @if patch
19787 maybe-configure-patch: configure-patch
19788 configure-patch:
19789 @$(unstage)
19790 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19791 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19792 r=`${PWD_COMMAND}`; export r; \
19793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19794 $(HOST_EXPORTS) \
19795 echo Configuring in $(HOST_SUBDIR)/patch; \
19796 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19797 case $(srcdir) in \
19798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19799 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19801 esac; \
19802 srcdiroption="--srcdir=$${topdir}/patch"; \
19803 libsrcdir="$$s/patch"; \
19804 $(SHELL) $${libsrcdir}/configure \
19805 $(HOST_CONFIGARGS) $${srcdiroption} \
19806 || exit 1
19807 @endif patch
19813 .PHONY: all-patch maybe-all-patch
19814 maybe-all-patch:
19815 @if patch
19816 TARGET-patch=all
19817 maybe-all-patch: all-patch
19818 all-patch: configure-patch
19819 @$(unstage)
19820 @r=`${PWD_COMMAND}`; export r; \
19821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19822 $(HOST_EXPORTS) \
19823 (cd $(HOST_SUBDIR)/patch && \
19824 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19825 @endif patch
19830 .PHONY: check-patch maybe-check-patch
19831 maybe-check-patch:
19832 @if patch
19833 maybe-check-patch: check-patch
19835 check-patch:
19836 @$(unstage)
19837 @r=`${PWD_COMMAND}`; export r; \
19838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19839 $(HOST_EXPORTS) \
19840 (cd $(HOST_SUBDIR)/patch && \
19841 $(MAKE) $(FLAGS_TO_PASS) check)
19843 @endif patch
19845 .PHONY: install-patch maybe-install-patch
19846 maybe-install-patch:
19847 @if patch
19848 maybe-install-patch: install-patch
19850 install-patch: installdirs
19851 @$(unstage)
19852 @r=`${PWD_COMMAND}`; export r; \
19853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19854 $(HOST_EXPORTS) \
19855 (cd $(HOST_SUBDIR)/patch && \
19856 $(MAKE) $(FLAGS_TO_PASS) install)
19858 @endif patch
19860 # Other targets (info, dvi, etc.)
19862 .PHONY: maybe-info-patch info-patch
19863 maybe-info-patch:
19864 @if patch
19865 maybe-info-patch: info-patch
19867 info-patch: \
19868 configure-patch
19869 @$(unstage)
19870 @[ -f ./patch/Makefile ] || exit 0; \
19871 r=`${PWD_COMMAND}`; export r; \
19872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19873 $(HOST_EXPORTS) \
19874 for flag in $(EXTRA_HOST_FLAGS) ; do \
19875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19876 done; \
19877 echo "Doing info in patch" ; \
19878 (cd $(HOST_SUBDIR)/patch && \
19879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19881 "RANLIB=$${RANLIB}" \
19882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19883 info) \
19884 || exit 1
19886 @endif patch
19888 .PHONY: maybe-dvi-patch dvi-patch
19889 maybe-dvi-patch:
19890 @if patch
19891 maybe-dvi-patch: dvi-patch
19893 dvi-patch: \
19894 configure-patch
19895 @$(unstage)
19896 @[ -f ./patch/Makefile ] || exit 0; \
19897 r=`${PWD_COMMAND}`; export r; \
19898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19899 $(HOST_EXPORTS) \
19900 for flag in $(EXTRA_HOST_FLAGS) ; do \
19901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19902 done; \
19903 echo "Doing dvi in patch" ; \
19904 (cd $(HOST_SUBDIR)/patch && \
19905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19907 "RANLIB=$${RANLIB}" \
19908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19909 dvi) \
19910 || exit 1
19912 @endif patch
19914 .PHONY: maybe-html-patch html-patch
19915 maybe-html-patch:
19916 @if patch
19917 maybe-html-patch: html-patch
19919 html-patch: \
19920 configure-patch
19921 @$(unstage)
19922 @[ -f ./patch/Makefile ] || exit 0; \
19923 r=`${PWD_COMMAND}`; export r; \
19924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19925 $(HOST_EXPORTS) \
19926 for flag in $(EXTRA_HOST_FLAGS) ; do \
19927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19928 done; \
19929 echo "Doing html in patch" ; \
19930 (cd $(HOST_SUBDIR)/patch && \
19931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19933 "RANLIB=$${RANLIB}" \
19934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19935 html) \
19936 || exit 1
19938 @endif patch
19940 .PHONY: maybe-TAGS-patch TAGS-patch
19941 maybe-TAGS-patch:
19942 @if patch
19943 maybe-TAGS-patch: TAGS-patch
19945 TAGS-patch: \
19946 configure-patch
19947 @$(unstage)
19948 @[ -f ./patch/Makefile ] || exit 0; \
19949 r=`${PWD_COMMAND}`; export r; \
19950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19951 $(HOST_EXPORTS) \
19952 for flag in $(EXTRA_HOST_FLAGS) ; do \
19953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19954 done; \
19955 echo "Doing TAGS in patch" ; \
19956 (cd $(HOST_SUBDIR)/patch && \
19957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19959 "RANLIB=$${RANLIB}" \
19960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19961 TAGS) \
19962 || exit 1
19964 @endif patch
19966 .PHONY: maybe-install-info-patch install-info-patch
19967 maybe-install-info-patch:
19968 @if patch
19969 maybe-install-info-patch: install-info-patch
19971 install-info-patch: \
19972 configure-patch \
19973 info-patch
19974 @$(unstage)
19975 @[ -f ./patch/Makefile ] || exit 0; \
19976 r=`${PWD_COMMAND}`; export r; \
19977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19978 $(HOST_EXPORTS) \
19979 for flag in $(EXTRA_HOST_FLAGS) ; do \
19980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19981 done; \
19982 echo "Doing install-info in patch" ; \
19983 (cd $(HOST_SUBDIR)/patch && \
19984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19986 "RANLIB=$${RANLIB}" \
19987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19988 install-info) \
19989 || exit 1
19991 @endif patch
19993 .PHONY: maybe-installcheck-patch installcheck-patch
19994 maybe-installcheck-patch:
19995 @if patch
19996 maybe-installcheck-patch: installcheck-patch
19998 installcheck-patch: \
19999 configure-patch
20000 @$(unstage)
20001 @[ -f ./patch/Makefile ] || exit 0; \
20002 r=`${PWD_COMMAND}`; export r; \
20003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20004 $(HOST_EXPORTS) \
20005 for flag in $(EXTRA_HOST_FLAGS) ; do \
20006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20007 done; \
20008 echo "Doing installcheck in patch" ; \
20009 (cd $(HOST_SUBDIR)/patch && \
20010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20012 "RANLIB=$${RANLIB}" \
20013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20014 installcheck) \
20015 || exit 1
20017 @endif patch
20019 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
20020 maybe-mostlyclean-patch:
20021 @if patch
20022 maybe-mostlyclean-patch: mostlyclean-patch
20024 mostlyclean-patch:
20025 @$(unstage)
20026 @[ -f ./patch/Makefile ] || exit 0; \
20027 r=`${PWD_COMMAND}`; export r; \
20028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20029 $(HOST_EXPORTS) \
20030 for flag in $(EXTRA_HOST_FLAGS) ; do \
20031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20032 done; \
20033 echo "Doing mostlyclean in patch" ; \
20034 (cd $(HOST_SUBDIR)/patch && \
20035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20037 "RANLIB=$${RANLIB}" \
20038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20039 mostlyclean) \
20040 || exit 1
20042 @endif patch
20044 .PHONY: maybe-clean-patch clean-patch
20045 maybe-clean-patch:
20046 @if patch
20047 maybe-clean-patch: clean-patch
20049 clean-patch:
20050 @$(unstage)
20051 @[ -f ./patch/Makefile ] || exit 0; \
20052 r=`${PWD_COMMAND}`; export r; \
20053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20054 $(HOST_EXPORTS) \
20055 for flag in $(EXTRA_HOST_FLAGS) ; do \
20056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20057 done; \
20058 echo "Doing clean in patch" ; \
20059 (cd $(HOST_SUBDIR)/patch && \
20060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20062 "RANLIB=$${RANLIB}" \
20063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20064 clean) \
20065 || exit 1
20067 @endif patch
20069 .PHONY: maybe-distclean-patch distclean-patch
20070 maybe-distclean-patch:
20071 @if patch
20072 maybe-distclean-patch: distclean-patch
20074 distclean-patch:
20075 @$(unstage)
20076 @[ -f ./patch/Makefile ] || exit 0; \
20077 r=`${PWD_COMMAND}`; export r; \
20078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20079 $(HOST_EXPORTS) \
20080 for flag in $(EXTRA_HOST_FLAGS) ; do \
20081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20082 done; \
20083 echo "Doing distclean in patch" ; \
20084 (cd $(HOST_SUBDIR)/patch && \
20085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20087 "RANLIB=$${RANLIB}" \
20088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20089 distclean) \
20090 || exit 1
20092 @endif patch
20094 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
20095 maybe-maintainer-clean-patch:
20096 @if patch
20097 maybe-maintainer-clean-patch: maintainer-clean-patch
20099 maintainer-clean-patch:
20100 @$(unstage)
20101 @[ -f ./patch/Makefile ] || exit 0; \
20102 r=`${PWD_COMMAND}`; export r; \
20103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20104 $(HOST_EXPORTS) \
20105 for flag in $(EXTRA_HOST_FLAGS) ; do \
20106 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20107 done; \
20108 echo "Doing maintainer-clean in patch" ; \
20109 (cd $(HOST_SUBDIR)/patch && \
20110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20112 "RANLIB=$${RANLIB}" \
20113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20114 maintainer-clean) \
20115 || exit 1
20117 @endif patch
20121 .PHONY: configure-perl maybe-configure-perl
20122 maybe-configure-perl:
20123 @if perl
20124 maybe-configure-perl: configure-perl
20125 configure-perl:
20126 @$(unstage)
20127 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
20128 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
20129 r=`${PWD_COMMAND}`; export r; \
20130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20131 $(HOST_EXPORTS) \
20132 echo Configuring in $(HOST_SUBDIR)/perl; \
20133 cd "$(HOST_SUBDIR)/perl" || exit 1; \
20134 case $(srcdir) in \
20135 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20136 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
20137 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20138 esac; \
20139 srcdiroption="--srcdir=$${topdir}/perl"; \
20140 libsrcdir="$$s/perl"; \
20141 $(SHELL) $${libsrcdir}/configure \
20142 $(HOST_CONFIGARGS) $${srcdiroption} \
20143 || exit 1
20144 @endif perl
20150 .PHONY: all-perl maybe-all-perl
20151 maybe-all-perl:
20152 @if perl
20153 TARGET-perl=all
20154 maybe-all-perl: all-perl
20155 all-perl: configure-perl
20156 @$(unstage)
20157 @r=`${PWD_COMMAND}`; export r; \
20158 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20159 $(HOST_EXPORTS) \
20160 (cd $(HOST_SUBDIR)/perl && \
20161 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
20162 @endif perl
20167 .PHONY: check-perl maybe-check-perl
20168 maybe-check-perl:
20169 @if perl
20170 maybe-check-perl: check-perl
20172 check-perl:
20173 @$(unstage)
20174 @r=`${PWD_COMMAND}`; export r; \
20175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20176 $(HOST_EXPORTS) \
20177 (cd $(HOST_SUBDIR)/perl && \
20178 $(MAKE) $(FLAGS_TO_PASS) check)
20180 @endif perl
20182 .PHONY: install-perl maybe-install-perl
20183 maybe-install-perl:
20184 @if perl
20185 maybe-install-perl: install-perl
20187 install-perl: installdirs
20188 @$(unstage)
20189 @r=`${PWD_COMMAND}`; export r; \
20190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20191 $(HOST_EXPORTS) \
20192 (cd $(HOST_SUBDIR)/perl && \
20193 $(MAKE) $(FLAGS_TO_PASS) install)
20195 @endif perl
20197 # Other targets (info, dvi, etc.)
20199 .PHONY: maybe-info-perl info-perl
20200 maybe-info-perl:
20201 @if perl
20202 maybe-info-perl: info-perl
20204 info-perl: \
20205 configure-perl
20206 @$(unstage)
20207 @[ -f ./perl/Makefile ] || exit 0; \
20208 r=`${PWD_COMMAND}`; export r; \
20209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20210 $(HOST_EXPORTS) \
20211 for flag in $(EXTRA_HOST_FLAGS) ; do \
20212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20213 done; \
20214 echo "Doing info in perl" ; \
20215 (cd $(HOST_SUBDIR)/perl && \
20216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20218 "RANLIB=$${RANLIB}" \
20219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20220 info) \
20221 || exit 1
20223 @endif perl
20225 .PHONY: maybe-dvi-perl dvi-perl
20226 maybe-dvi-perl:
20227 @if perl
20228 maybe-dvi-perl: dvi-perl
20230 dvi-perl: \
20231 configure-perl
20232 @$(unstage)
20233 @[ -f ./perl/Makefile ] || exit 0; \
20234 r=`${PWD_COMMAND}`; export r; \
20235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20236 $(HOST_EXPORTS) \
20237 for flag in $(EXTRA_HOST_FLAGS) ; do \
20238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20239 done; \
20240 echo "Doing dvi in perl" ; \
20241 (cd $(HOST_SUBDIR)/perl && \
20242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20244 "RANLIB=$${RANLIB}" \
20245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20246 dvi) \
20247 || exit 1
20249 @endif perl
20251 .PHONY: maybe-html-perl html-perl
20252 maybe-html-perl:
20253 @if perl
20254 maybe-html-perl: html-perl
20256 html-perl: \
20257 configure-perl
20258 @$(unstage)
20259 @[ -f ./perl/Makefile ] || exit 0; \
20260 r=`${PWD_COMMAND}`; export r; \
20261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20262 $(HOST_EXPORTS) \
20263 for flag in $(EXTRA_HOST_FLAGS) ; do \
20264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20265 done; \
20266 echo "Doing html in perl" ; \
20267 (cd $(HOST_SUBDIR)/perl && \
20268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20270 "RANLIB=$${RANLIB}" \
20271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20272 html) \
20273 || exit 1
20275 @endif perl
20277 .PHONY: maybe-TAGS-perl TAGS-perl
20278 maybe-TAGS-perl:
20279 @if perl
20280 maybe-TAGS-perl: TAGS-perl
20282 TAGS-perl: \
20283 configure-perl
20284 @$(unstage)
20285 @[ -f ./perl/Makefile ] || exit 0; \
20286 r=`${PWD_COMMAND}`; export r; \
20287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20288 $(HOST_EXPORTS) \
20289 for flag in $(EXTRA_HOST_FLAGS) ; do \
20290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20291 done; \
20292 echo "Doing TAGS in perl" ; \
20293 (cd $(HOST_SUBDIR)/perl && \
20294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20296 "RANLIB=$${RANLIB}" \
20297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20298 TAGS) \
20299 || exit 1
20301 @endif perl
20303 .PHONY: maybe-install-info-perl install-info-perl
20304 maybe-install-info-perl:
20305 @if perl
20306 maybe-install-info-perl: install-info-perl
20308 install-info-perl: \
20309 configure-perl \
20310 info-perl
20311 @$(unstage)
20312 @[ -f ./perl/Makefile ] || exit 0; \
20313 r=`${PWD_COMMAND}`; export r; \
20314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20315 $(HOST_EXPORTS) \
20316 for flag in $(EXTRA_HOST_FLAGS) ; do \
20317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20318 done; \
20319 echo "Doing install-info in perl" ; \
20320 (cd $(HOST_SUBDIR)/perl && \
20321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20323 "RANLIB=$${RANLIB}" \
20324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20325 install-info) \
20326 || exit 1
20328 @endif perl
20330 .PHONY: maybe-installcheck-perl installcheck-perl
20331 maybe-installcheck-perl:
20332 @if perl
20333 maybe-installcheck-perl: installcheck-perl
20335 installcheck-perl: \
20336 configure-perl
20337 @$(unstage)
20338 @[ -f ./perl/Makefile ] || exit 0; \
20339 r=`${PWD_COMMAND}`; export r; \
20340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20341 $(HOST_EXPORTS) \
20342 for flag in $(EXTRA_HOST_FLAGS) ; do \
20343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20344 done; \
20345 echo "Doing installcheck in perl" ; \
20346 (cd $(HOST_SUBDIR)/perl && \
20347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20349 "RANLIB=$${RANLIB}" \
20350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20351 installcheck) \
20352 || exit 1
20354 @endif perl
20356 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
20357 maybe-mostlyclean-perl:
20358 @if perl
20359 maybe-mostlyclean-perl: mostlyclean-perl
20361 mostlyclean-perl:
20362 @$(unstage)
20363 @[ -f ./perl/Makefile ] || exit 0; \
20364 r=`${PWD_COMMAND}`; export r; \
20365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20366 $(HOST_EXPORTS) \
20367 for flag in $(EXTRA_HOST_FLAGS) ; do \
20368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20369 done; \
20370 echo "Doing mostlyclean in perl" ; \
20371 (cd $(HOST_SUBDIR)/perl && \
20372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20374 "RANLIB=$${RANLIB}" \
20375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20376 mostlyclean) \
20377 || exit 1
20379 @endif perl
20381 .PHONY: maybe-clean-perl clean-perl
20382 maybe-clean-perl:
20383 @if perl
20384 maybe-clean-perl: clean-perl
20386 clean-perl:
20387 @$(unstage)
20388 @[ -f ./perl/Makefile ] || exit 0; \
20389 r=`${PWD_COMMAND}`; export r; \
20390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20391 $(HOST_EXPORTS) \
20392 for flag in $(EXTRA_HOST_FLAGS) ; do \
20393 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20394 done; \
20395 echo "Doing clean in perl" ; \
20396 (cd $(HOST_SUBDIR)/perl && \
20397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20399 "RANLIB=$${RANLIB}" \
20400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20401 clean) \
20402 || exit 1
20404 @endif perl
20406 .PHONY: maybe-distclean-perl distclean-perl
20407 maybe-distclean-perl:
20408 @if perl
20409 maybe-distclean-perl: distclean-perl
20411 distclean-perl:
20412 @$(unstage)
20413 @[ -f ./perl/Makefile ] || exit 0; \
20414 r=`${PWD_COMMAND}`; export r; \
20415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20416 $(HOST_EXPORTS) \
20417 for flag in $(EXTRA_HOST_FLAGS) ; do \
20418 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20419 done; \
20420 echo "Doing distclean in perl" ; \
20421 (cd $(HOST_SUBDIR)/perl && \
20422 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20423 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20424 "RANLIB=$${RANLIB}" \
20425 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20426 distclean) \
20427 || exit 1
20429 @endif perl
20431 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
20432 maybe-maintainer-clean-perl:
20433 @if perl
20434 maybe-maintainer-clean-perl: maintainer-clean-perl
20436 maintainer-clean-perl:
20437 @$(unstage)
20438 @[ -f ./perl/Makefile ] || exit 0; \
20439 r=`${PWD_COMMAND}`; export r; \
20440 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20441 $(HOST_EXPORTS) \
20442 for flag in $(EXTRA_HOST_FLAGS) ; do \
20443 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20444 done; \
20445 echo "Doing maintainer-clean in perl" ; \
20446 (cd $(HOST_SUBDIR)/perl && \
20447 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20448 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20449 "RANLIB=$${RANLIB}" \
20450 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20451 maintainer-clean) \
20452 || exit 1
20454 @endif perl
20458 .PHONY: configure-prms maybe-configure-prms
20459 maybe-configure-prms:
20460 @if prms
20461 maybe-configure-prms: configure-prms
20462 configure-prms:
20463 @$(unstage)
20464 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
20465 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
20466 r=`${PWD_COMMAND}`; export r; \
20467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20468 $(HOST_EXPORTS) \
20469 echo Configuring in $(HOST_SUBDIR)/prms; \
20470 cd "$(HOST_SUBDIR)/prms" || exit 1; \
20471 case $(srcdir) in \
20472 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20473 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
20474 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20475 esac; \
20476 srcdiroption="--srcdir=$${topdir}/prms"; \
20477 libsrcdir="$$s/prms"; \
20478 $(SHELL) $${libsrcdir}/configure \
20479 $(HOST_CONFIGARGS) $${srcdiroption} \
20480 || exit 1
20481 @endif prms
20487 .PHONY: all-prms maybe-all-prms
20488 maybe-all-prms:
20489 @if prms
20490 TARGET-prms=all
20491 maybe-all-prms: all-prms
20492 all-prms: configure-prms
20493 @$(unstage)
20494 @r=`${PWD_COMMAND}`; export r; \
20495 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20496 $(HOST_EXPORTS) \
20497 (cd $(HOST_SUBDIR)/prms && \
20498 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
20499 @endif prms
20504 .PHONY: check-prms maybe-check-prms
20505 maybe-check-prms:
20506 @if prms
20507 maybe-check-prms: check-prms
20509 check-prms:
20510 @$(unstage)
20511 @r=`${PWD_COMMAND}`; export r; \
20512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20513 $(HOST_EXPORTS) \
20514 (cd $(HOST_SUBDIR)/prms && \
20515 $(MAKE) $(FLAGS_TO_PASS) check)
20517 @endif prms
20519 .PHONY: install-prms maybe-install-prms
20520 maybe-install-prms:
20521 @if prms
20522 maybe-install-prms: install-prms
20524 install-prms: installdirs
20525 @$(unstage)
20526 @r=`${PWD_COMMAND}`; export r; \
20527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20528 $(HOST_EXPORTS) \
20529 (cd $(HOST_SUBDIR)/prms && \
20530 $(MAKE) $(FLAGS_TO_PASS) install)
20532 @endif prms
20534 # Other targets (info, dvi, etc.)
20536 .PHONY: maybe-info-prms info-prms
20537 maybe-info-prms:
20538 @if prms
20539 maybe-info-prms: info-prms
20541 info-prms: \
20542 configure-prms
20543 @$(unstage)
20544 @[ -f ./prms/Makefile ] || exit 0; \
20545 r=`${PWD_COMMAND}`; export r; \
20546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20547 $(HOST_EXPORTS) \
20548 for flag in $(EXTRA_HOST_FLAGS) ; do \
20549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20550 done; \
20551 echo "Doing info in prms" ; \
20552 (cd $(HOST_SUBDIR)/prms && \
20553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20555 "RANLIB=$${RANLIB}" \
20556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20557 info) \
20558 || exit 1
20560 @endif prms
20562 .PHONY: maybe-dvi-prms dvi-prms
20563 maybe-dvi-prms:
20564 @if prms
20565 maybe-dvi-prms: dvi-prms
20567 dvi-prms: \
20568 configure-prms
20569 @$(unstage)
20570 @[ -f ./prms/Makefile ] || exit 0; \
20571 r=`${PWD_COMMAND}`; export r; \
20572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20573 $(HOST_EXPORTS) \
20574 for flag in $(EXTRA_HOST_FLAGS) ; do \
20575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20576 done; \
20577 echo "Doing dvi in prms" ; \
20578 (cd $(HOST_SUBDIR)/prms && \
20579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20581 "RANLIB=$${RANLIB}" \
20582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20583 dvi) \
20584 || exit 1
20586 @endif prms
20588 .PHONY: maybe-html-prms html-prms
20589 maybe-html-prms:
20590 @if prms
20591 maybe-html-prms: html-prms
20593 html-prms: \
20594 configure-prms
20595 @$(unstage)
20596 @[ -f ./prms/Makefile ] || exit 0; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 $(HOST_EXPORTS) \
20600 for flag in $(EXTRA_HOST_FLAGS) ; do \
20601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20602 done; \
20603 echo "Doing html in prms" ; \
20604 (cd $(HOST_SUBDIR)/prms && \
20605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20607 "RANLIB=$${RANLIB}" \
20608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20609 html) \
20610 || exit 1
20612 @endif prms
20614 .PHONY: maybe-TAGS-prms TAGS-prms
20615 maybe-TAGS-prms:
20616 @if prms
20617 maybe-TAGS-prms: TAGS-prms
20619 TAGS-prms: \
20620 configure-prms
20621 @$(unstage)
20622 @[ -f ./prms/Makefile ] || exit 0; \
20623 r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 $(HOST_EXPORTS) \
20626 for flag in $(EXTRA_HOST_FLAGS) ; do \
20627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20628 done; \
20629 echo "Doing TAGS in prms" ; \
20630 (cd $(HOST_SUBDIR)/prms && \
20631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20633 "RANLIB=$${RANLIB}" \
20634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20635 TAGS) \
20636 || exit 1
20638 @endif prms
20640 .PHONY: maybe-install-info-prms install-info-prms
20641 maybe-install-info-prms:
20642 @if prms
20643 maybe-install-info-prms: install-info-prms
20645 install-info-prms: \
20646 configure-prms \
20647 info-prms
20648 @$(unstage)
20649 @[ -f ./prms/Makefile ] || exit 0; \
20650 r=`${PWD_COMMAND}`; export r; \
20651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20652 $(HOST_EXPORTS) \
20653 for flag in $(EXTRA_HOST_FLAGS) ; do \
20654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20655 done; \
20656 echo "Doing install-info in prms" ; \
20657 (cd $(HOST_SUBDIR)/prms && \
20658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20660 "RANLIB=$${RANLIB}" \
20661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20662 install-info) \
20663 || exit 1
20665 @endif prms
20667 .PHONY: maybe-installcheck-prms installcheck-prms
20668 maybe-installcheck-prms:
20669 @if prms
20670 maybe-installcheck-prms: installcheck-prms
20672 installcheck-prms: \
20673 configure-prms
20674 @$(unstage)
20675 @[ -f ./prms/Makefile ] || exit 0; \
20676 r=`${PWD_COMMAND}`; export r; \
20677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20678 $(HOST_EXPORTS) \
20679 for flag in $(EXTRA_HOST_FLAGS) ; do \
20680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20681 done; \
20682 echo "Doing installcheck in prms" ; \
20683 (cd $(HOST_SUBDIR)/prms && \
20684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20686 "RANLIB=$${RANLIB}" \
20687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20688 installcheck) \
20689 || exit 1
20691 @endif prms
20693 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
20694 maybe-mostlyclean-prms:
20695 @if prms
20696 maybe-mostlyclean-prms: mostlyclean-prms
20698 mostlyclean-prms:
20699 @$(unstage)
20700 @[ -f ./prms/Makefile ] || exit 0; \
20701 r=`${PWD_COMMAND}`; export r; \
20702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20703 $(HOST_EXPORTS) \
20704 for flag in $(EXTRA_HOST_FLAGS) ; do \
20705 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20706 done; \
20707 echo "Doing mostlyclean in prms" ; \
20708 (cd $(HOST_SUBDIR)/prms && \
20709 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20710 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20711 "RANLIB=$${RANLIB}" \
20712 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20713 mostlyclean) \
20714 || exit 1
20716 @endif prms
20718 .PHONY: maybe-clean-prms clean-prms
20719 maybe-clean-prms:
20720 @if prms
20721 maybe-clean-prms: clean-prms
20723 clean-prms:
20724 @$(unstage)
20725 @[ -f ./prms/Makefile ] || exit 0; \
20726 r=`${PWD_COMMAND}`; export r; \
20727 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20728 $(HOST_EXPORTS) \
20729 for flag in $(EXTRA_HOST_FLAGS) ; do \
20730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20731 done; \
20732 echo "Doing clean in prms" ; \
20733 (cd $(HOST_SUBDIR)/prms && \
20734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20736 "RANLIB=$${RANLIB}" \
20737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20738 clean) \
20739 || exit 1
20741 @endif prms
20743 .PHONY: maybe-distclean-prms distclean-prms
20744 maybe-distclean-prms:
20745 @if prms
20746 maybe-distclean-prms: distclean-prms
20748 distclean-prms:
20749 @$(unstage)
20750 @[ -f ./prms/Makefile ] || exit 0; \
20751 r=`${PWD_COMMAND}`; export r; \
20752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20753 $(HOST_EXPORTS) \
20754 for flag in $(EXTRA_HOST_FLAGS) ; do \
20755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20756 done; \
20757 echo "Doing distclean in prms" ; \
20758 (cd $(HOST_SUBDIR)/prms && \
20759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20761 "RANLIB=$${RANLIB}" \
20762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20763 distclean) \
20764 || exit 1
20766 @endif prms
20768 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20769 maybe-maintainer-clean-prms:
20770 @if prms
20771 maybe-maintainer-clean-prms: maintainer-clean-prms
20773 maintainer-clean-prms:
20774 @$(unstage)
20775 @[ -f ./prms/Makefile ] || exit 0; \
20776 r=`${PWD_COMMAND}`; export r; \
20777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20778 $(HOST_EXPORTS) \
20779 for flag in $(EXTRA_HOST_FLAGS) ; do \
20780 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20781 done; \
20782 echo "Doing maintainer-clean in prms" ; \
20783 (cd $(HOST_SUBDIR)/prms && \
20784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20786 "RANLIB=$${RANLIB}" \
20787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20788 maintainer-clean) \
20789 || exit 1
20791 @endif prms
20795 .PHONY: configure-rcs maybe-configure-rcs
20796 maybe-configure-rcs:
20797 @if rcs
20798 maybe-configure-rcs: configure-rcs
20799 configure-rcs:
20800 @$(unstage)
20801 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20803 r=`${PWD_COMMAND}`; export r; \
20804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20805 $(HOST_EXPORTS) \
20806 echo Configuring in $(HOST_SUBDIR)/rcs; \
20807 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20808 case $(srcdir) in \
20809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20810 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20812 esac; \
20813 srcdiroption="--srcdir=$${topdir}/rcs"; \
20814 libsrcdir="$$s/rcs"; \
20815 $(SHELL) $${libsrcdir}/configure \
20816 $(HOST_CONFIGARGS) $${srcdiroption} \
20817 || exit 1
20818 @endif rcs
20824 .PHONY: all-rcs maybe-all-rcs
20825 maybe-all-rcs:
20826 @if rcs
20827 TARGET-rcs=all
20828 maybe-all-rcs: all-rcs
20829 all-rcs: configure-rcs
20830 @$(unstage)
20831 @r=`${PWD_COMMAND}`; export r; \
20832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20833 $(HOST_EXPORTS) \
20834 (cd $(HOST_SUBDIR)/rcs && \
20835 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20836 @endif rcs
20841 .PHONY: check-rcs maybe-check-rcs
20842 maybe-check-rcs:
20843 @if rcs
20844 maybe-check-rcs: check-rcs
20846 check-rcs:
20847 @$(unstage)
20848 @r=`${PWD_COMMAND}`; export r; \
20849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20850 $(HOST_EXPORTS) \
20851 (cd $(HOST_SUBDIR)/rcs && \
20852 $(MAKE) $(FLAGS_TO_PASS) check)
20854 @endif rcs
20856 .PHONY: install-rcs maybe-install-rcs
20857 maybe-install-rcs:
20858 @if rcs
20859 maybe-install-rcs: install-rcs
20861 install-rcs: installdirs
20862 @$(unstage)
20863 @r=`${PWD_COMMAND}`; export r; \
20864 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20865 $(HOST_EXPORTS) \
20866 (cd $(HOST_SUBDIR)/rcs && \
20867 $(MAKE) $(FLAGS_TO_PASS) install)
20869 @endif rcs
20871 # Other targets (info, dvi, etc.)
20873 .PHONY: maybe-info-rcs info-rcs
20874 maybe-info-rcs:
20875 @if rcs
20876 maybe-info-rcs: info-rcs
20878 info-rcs: \
20879 configure-rcs
20880 @$(unstage)
20881 @[ -f ./rcs/Makefile ] || exit 0; \
20882 r=`${PWD_COMMAND}`; export r; \
20883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20884 $(HOST_EXPORTS) \
20885 for flag in $(EXTRA_HOST_FLAGS) ; do \
20886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20887 done; \
20888 echo "Doing info in rcs" ; \
20889 (cd $(HOST_SUBDIR)/rcs && \
20890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20892 "RANLIB=$${RANLIB}" \
20893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20894 info) \
20895 || exit 1
20897 @endif rcs
20899 .PHONY: maybe-dvi-rcs dvi-rcs
20900 maybe-dvi-rcs:
20901 @if rcs
20902 maybe-dvi-rcs: dvi-rcs
20904 dvi-rcs: \
20905 configure-rcs
20906 @$(unstage)
20907 @[ -f ./rcs/Makefile ] || exit 0; \
20908 r=`${PWD_COMMAND}`; export r; \
20909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20910 $(HOST_EXPORTS) \
20911 for flag in $(EXTRA_HOST_FLAGS) ; do \
20912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20913 done; \
20914 echo "Doing dvi in rcs" ; \
20915 (cd $(HOST_SUBDIR)/rcs && \
20916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20918 "RANLIB=$${RANLIB}" \
20919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20920 dvi) \
20921 || exit 1
20923 @endif rcs
20925 .PHONY: maybe-html-rcs html-rcs
20926 maybe-html-rcs:
20927 @if rcs
20928 maybe-html-rcs: html-rcs
20930 html-rcs: \
20931 configure-rcs
20932 @$(unstage)
20933 @[ -f ./rcs/Makefile ] || exit 0; \
20934 r=`${PWD_COMMAND}`; export r; \
20935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20936 $(HOST_EXPORTS) \
20937 for flag in $(EXTRA_HOST_FLAGS) ; do \
20938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20939 done; \
20940 echo "Doing html in rcs" ; \
20941 (cd $(HOST_SUBDIR)/rcs && \
20942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20944 "RANLIB=$${RANLIB}" \
20945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20946 html) \
20947 || exit 1
20949 @endif rcs
20951 .PHONY: maybe-TAGS-rcs TAGS-rcs
20952 maybe-TAGS-rcs:
20953 @if rcs
20954 maybe-TAGS-rcs: TAGS-rcs
20956 TAGS-rcs: \
20957 configure-rcs
20958 @$(unstage)
20959 @[ -f ./rcs/Makefile ] || exit 0; \
20960 r=`${PWD_COMMAND}`; export r; \
20961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20962 $(HOST_EXPORTS) \
20963 for flag in $(EXTRA_HOST_FLAGS) ; do \
20964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20965 done; \
20966 echo "Doing TAGS in rcs" ; \
20967 (cd $(HOST_SUBDIR)/rcs && \
20968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20970 "RANLIB=$${RANLIB}" \
20971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20972 TAGS) \
20973 || exit 1
20975 @endif rcs
20977 .PHONY: maybe-install-info-rcs install-info-rcs
20978 maybe-install-info-rcs:
20979 @if rcs
20980 maybe-install-info-rcs: install-info-rcs
20982 install-info-rcs: \
20983 configure-rcs \
20984 info-rcs
20985 @$(unstage)
20986 @[ -f ./rcs/Makefile ] || exit 0; \
20987 r=`${PWD_COMMAND}`; export r; \
20988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20989 $(HOST_EXPORTS) \
20990 for flag in $(EXTRA_HOST_FLAGS) ; do \
20991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20992 done; \
20993 echo "Doing install-info in rcs" ; \
20994 (cd $(HOST_SUBDIR)/rcs && \
20995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20997 "RANLIB=$${RANLIB}" \
20998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20999 install-info) \
21000 || exit 1
21002 @endif rcs
21004 .PHONY: maybe-installcheck-rcs installcheck-rcs
21005 maybe-installcheck-rcs:
21006 @if rcs
21007 maybe-installcheck-rcs: installcheck-rcs
21009 installcheck-rcs: \
21010 configure-rcs
21011 @$(unstage)
21012 @[ -f ./rcs/Makefile ] || exit 0; \
21013 r=`${PWD_COMMAND}`; export r; \
21014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21015 $(HOST_EXPORTS) \
21016 for flag in $(EXTRA_HOST_FLAGS) ; do \
21017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21018 done; \
21019 echo "Doing installcheck in rcs" ; \
21020 (cd $(HOST_SUBDIR)/rcs && \
21021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21023 "RANLIB=$${RANLIB}" \
21024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21025 installcheck) \
21026 || exit 1
21028 @endif rcs
21030 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
21031 maybe-mostlyclean-rcs:
21032 @if rcs
21033 maybe-mostlyclean-rcs: mostlyclean-rcs
21035 mostlyclean-rcs:
21036 @$(unstage)
21037 @[ -f ./rcs/Makefile ] || exit 0; \
21038 r=`${PWD_COMMAND}`; export r; \
21039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21040 $(HOST_EXPORTS) \
21041 for flag in $(EXTRA_HOST_FLAGS) ; do \
21042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21043 done; \
21044 echo "Doing mostlyclean in rcs" ; \
21045 (cd $(HOST_SUBDIR)/rcs && \
21046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21048 "RANLIB=$${RANLIB}" \
21049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21050 mostlyclean) \
21051 || exit 1
21053 @endif rcs
21055 .PHONY: maybe-clean-rcs clean-rcs
21056 maybe-clean-rcs:
21057 @if rcs
21058 maybe-clean-rcs: clean-rcs
21060 clean-rcs:
21061 @$(unstage)
21062 @[ -f ./rcs/Makefile ] || exit 0; \
21063 r=`${PWD_COMMAND}`; export r; \
21064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21065 $(HOST_EXPORTS) \
21066 for flag in $(EXTRA_HOST_FLAGS) ; do \
21067 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21068 done; \
21069 echo "Doing clean in rcs" ; \
21070 (cd $(HOST_SUBDIR)/rcs && \
21071 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21072 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21073 "RANLIB=$${RANLIB}" \
21074 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21075 clean) \
21076 || exit 1
21078 @endif rcs
21080 .PHONY: maybe-distclean-rcs distclean-rcs
21081 maybe-distclean-rcs:
21082 @if rcs
21083 maybe-distclean-rcs: distclean-rcs
21085 distclean-rcs:
21086 @$(unstage)
21087 @[ -f ./rcs/Makefile ] || exit 0; \
21088 r=`${PWD_COMMAND}`; export r; \
21089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21090 $(HOST_EXPORTS) \
21091 for flag in $(EXTRA_HOST_FLAGS) ; do \
21092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21093 done; \
21094 echo "Doing distclean in rcs" ; \
21095 (cd $(HOST_SUBDIR)/rcs && \
21096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21098 "RANLIB=$${RANLIB}" \
21099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21100 distclean) \
21101 || exit 1
21103 @endif rcs
21105 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
21106 maybe-maintainer-clean-rcs:
21107 @if rcs
21108 maybe-maintainer-clean-rcs: maintainer-clean-rcs
21110 maintainer-clean-rcs:
21111 @$(unstage)
21112 @[ -f ./rcs/Makefile ] || exit 0; \
21113 r=`${PWD_COMMAND}`; export r; \
21114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21115 $(HOST_EXPORTS) \
21116 for flag in $(EXTRA_HOST_FLAGS) ; do \
21117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21118 done; \
21119 echo "Doing maintainer-clean in rcs" ; \
21120 (cd $(HOST_SUBDIR)/rcs && \
21121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21123 "RANLIB=$${RANLIB}" \
21124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21125 maintainer-clean) \
21126 || exit 1
21128 @endif rcs
21132 .PHONY: configure-readline maybe-configure-readline
21133 maybe-configure-readline:
21134 @if readline
21135 maybe-configure-readline: configure-readline
21136 configure-readline:
21137 @$(unstage)
21138 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
21139 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
21140 r=`${PWD_COMMAND}`; export r; \
21141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21142 $(HOST_EXPORTS) \
21143 echo Configuring in $(HOST_SUBDIR)/readline; \
21144 cd "$(HOST_SUBDIR)/readline" || exit 1; \
21145 case $(srcdir) in \
21146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21147 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
21148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21149 esac; \
21150 srcdiroption="--srcdir=$${topdir}/readline"; \
21151 libsrcdir="$$s/readline"; \
21152 $(SHELL) $${libsrcdir}/configure \
21153 $(HOST_CONFIGARGS) $${srcdiroption} \
21154 || exit 1
21155 @endif readline
21161 .PHONY: all-readline maybe-all-readline
21162 maybe-all-readline:
21163 @if readline
21164 TARGET-readline=all
21165 maybe-all-readline: all-readline
21166 all-readline: configure-readline
21167 @$(unstage)
21168 @r=`${PWD_COMMAND}`; export r; \
21169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21170 $(HOST_EXPORTS) \
21171 (cd $(HOST_SUBDIR)/readline && \
21172 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
21173 @endif readline
21178 .PHONY: check-readline maybe-check-readline
21179 maybe-check-readline:
21180 @if readline
21181 maybe-check-readline: check-readline
21183 check-readline:
21184 @$(unstage)
21185 @r=`${PWD_COMMAND}`; export r; \
21186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21187 $(HOST_EXPORTS) \
21188 (cd $(HOST_SUBDIR)/readline && \
21189 $(MAKE) $(FLAGS_TO_PASS) check)
21191 @endif readline
21193 .PHONY: install-readline maybe-install-readline
21194 maybe-install-readline:
21195 @if readline
21196 maybe-install-readline: install-readline
21198 install-readline: installdirs
21199 @$(unstage)
21200 @r=`${PWD_COMMAND}`; export r; \
21201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 $(HOST_EXPORTS) \
21203 (cd $(HOST_SUBDIR)/readline && \
21204 $(MAKE) $(FLAGS_TO_PASS) install)
21206 @endif readline
21208 # Other targets (info, dvi, etc.)
21210 .PHONY: maybe-info-readline info-readline
21211 maybe-info-readline:
21212 @if readline
21213 maybe-info-readline: info-readline
21215 info-readline: \
21216 configure-readline
21217 @$(unstage)
21218 @[ -f ./readline/Makefile ] || exit 0; \
21219 r=`${PWD_COMMAND}`; export r; \
21220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21221 $(HOST_EXPORTS) \
21222 for flag in $(EXTRA_HOST_FLAGS) ; do \
21223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21224 done; \
21225 echo "Doing info in readline" ; \
21226 (cd $(HOST_SUBDIR)/readline && \
21227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21229 "RANLIB=$${RANLIB}" \
21230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21231 info) \
21232 || exit 1
21234 @endif readline
21236 .PHONY: maybe-dvi-readline dvi-readline
21237 maybe-dvi-readline:
21238 @if readline
21239 maybe-dvi-readline: dvi-readline
21241 dvi-readline: \
21242 configure-readline
21243 @$(unstage)
21244 @[ -f ./readline/Makefile ] || exit 0; \
21245 r=`${PWD_COMMAND}`; export r; \
21246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21247 $(HOST_EXPORTS) \
21248 for flag in $(EXTRA_HOST_FLAGS) ; do \
21249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21250 done; \
21251 echo "Doing dvi in readline" ; \
21252 (cd $(HOST_SUBDIR)/readline && \
21253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21255 "RANLIB=$${RANLIB}" \
21256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21257 dvi) \
21258 || exit 1
21260 @endif readline
21262 .PHONY: maybe-html-readline html-readline
21263 maybe-html-readline:
21264 @if readline
21265 maybe-html-readline: html-readline
21267 html-readline: \
21268 configure-readline
21269 @$(unstage)
21270 @[ -f ./readline/Makefile ] || exit 0; \
21271 r=`${PWD_COMMAND}`; export r; \
21272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21273 $(HOST_EXPORTS) \
21274 for flag in $(EXTRA_HOST_FLAGS) ; do \
21275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21276 done; \
21277 echo "Doing html in readline" ; \
21278 (cd $(HOST_SUBDIR)/readline && \
21279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21281 "RANLIB=$${RANLIB}" \
21282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21283 html) \
21284 || exit 1
21286 @endif readline
21288 .PHONY: maybe-TAGS-readline TAGS-readline
21289 maybe-TAGS-readline:
21290 @if readline
21291 maybe-TAGS-readline: TAGS-readline
21293 TAGS-readline: \
21294 configure-readline
21295 @$(unstage)
21296 @[ -f ./readline/Makefile ] || exit 0; \
21297 r=`${PWD_COMMAND}`; export r; \
21298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21299 $(HOST_EXPORTS) \
21300 for flag in $(EXTRA_HOST_FLAGS) ; do \
21301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21302 done; \
21303 echo "Doing TAGS in readline" ; \
21304 (cd $(HOST_SUBDIR)/readline && \
21305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21307 "RANLIB=$${RANLIB}" \
21308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21309 TAGS) \
21310 || exit 1
21312 @endif readline
21314 .PHONY: maybe-install-info-readline install-info-readline
21315 maybe-install-info-readline:
21316 @if readline
21317 maybe-install-info-readline: install-info-readline
21319 install-info-readline: \
21320 configure-readline \
21321 info-readline
21322 @$(unstage)
21323 @[ -f ./readline/Makefile ] || exit 0; \
21324 r=`${PWD_COMMAND}`; export r; \
21325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21326 $(HOST_EXPORTS) \
21327 for flag in $(EXTRA_HOST_FLAGS) ; do \
21328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21329 done; \
21330 echo "Doing install-info in readline" ; \
21331 (cd $(HOST_SUBDIR)/readline && \
21332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21334 "RANLIB=$${RANLIB}" \
21335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21336 install-info) \
21337 || exit 1
21339 @endif readline
21341 .PHONY: maybe-installcheck-readline installcheck-readline
21342 maybe-installcheck-readline:
21343 @if readline
21344 maybe-installcheck-readline: installcheck-readline
21346 installcheck-readline: \
21347 configure-readline
21348 @$(unstage)
21349 @[ -f ./readline/Makefile ] || exit 0; \
21350 r=`${PWD_COMMAND}`; export r; \
21351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21352 $(HOST_EXPORTS) \
21353 for flag in $(EXTRA_HOST_FLAGS) ; do \
21354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21355 done; \
21356 echo "Doing installcheck in readline" ; \
21357 (cd $(HOST_SUBDIR)/readline && \
21358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21360 "RANLIB=$${RANLIB}" \
21361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21362 installcheck) \
21363 || exit 1
21365 @endif readline
21367 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
21368 maybe-mostlyclean-readline:
21369 @if readline
21370 maybe-mostlyclean-readline: mostlyclean-readline
21372 mostlyclean-readline:
21373 @$(unstage)
21374 @[ -f ./readline/Makefile ] || exit 0; \
21375 r=`${PWD_COMMAND}`; export r; \
21376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21377 $(HOST_EXPORTS) \
21378 for flag in $(EXTRA_HOST_FLAGS) ; do \
21379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21380 done; \
21381 echo "Doing mostlyclean in readline" ; \
21382 (cd $(HOST_SUBDIR)/readline && \
21383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21385 "RANLIB=$${RANLIB}" \
21386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21387 mostlyclean) \
21388 || exit 1
21390 @endif readline
21392 .PHONY: maybe-clean-readline clean-readline
21393 maybe-clean-readline:
21394 @if readline
21395 maybe-clean-readline: clean-readline
21397 clean-readline:
21398 @$(unstage)
21399 @[ -f ./readline/Makefile ] || exit 0; \
21400 r=`${PWD_COMMAND}`; export r; \
21401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21402 $(HOST_EXPORTS) \
21403 for flag in $(EXTRA_HOST_FLAGS) ; do \
21404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21405 done; \
21406 echo "Doing clean in readline" ; \
21407 (cd $(HOST_SUBDIR)/readline && \
21408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21410 "RANLIB=$${RANLIB}" \
21411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21412 clean) \
21413 || exit 1
21415 @endif readline
21417 .PHONY: maybe-distclean-readline distclean-readline
21418 maybe-distclean-readline:
21419 @if readline
21420 maybe-distclean-readline: distclean-readline
21422 distclean-readline:
21423 @$(unstage)
21424 @[ -f ./readline/Makefile ] || exit 0; \
21425 r=`${PWD_COMMAND}`; export r; \
21426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21427 $(HOST_EXPORTS) \
21428 for flag in $(EXTRA_HOST_FLAGS) ; do \
21429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21430 done; \
21431 echo "Doing distclean in readline" ; \
21432 (cd $(HOST_SUBDIR)/readline && \
21433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21435 "RANLIB=$${RANLIB}" \
21436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21437 distclean) \
21438 || exit 1
21440 @endif readline
21442 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
21443 maybe-maintainer-clean-readline:
21444 @if readline
21445 maybe-maintainer-clean-readline: maintainer-clean-readline
21447 maintainer-clean-readline:
21448 @$(unstage)
21449 @[ -f ./readline/Makefile ] || exit 0; \
21450 r=`${PWD_COMMAND}`; export r; \
21451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21452 $(HOST_EXPORTS) \
21453 for flag in $(EXTRA_HOST_FLAGS) ; do \
21454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21455 done; \
21456 echo "Doing maintainer-clean in readline" ; \
21457 (cd $(HOST_SUBDIR)/readline && \
21458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21460 "RANLIB=$${RANLIB}" \
21461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21462 maintainer-clean) \
21463 || exit 1
21465 @endif readline
21469 .PHONY: configure-release maybe-configure-release
21470 maybe-configure-release:
21471 @if release
21472 maybe-configure-release: configure-release
21473 configure-release:
21474 @$(unstage)
21475 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
21476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
21477 r=`${PWD_COMMAND}`; export r; \
21478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21479 $(HOST_EXPORTS) \
21480 echo Configuring in $(HOST_SUBDIR)/release; \
21481 cd "$(HOST_SUBDIR)/release" || exit 1; \
21482 case $(srcdir) in \
21483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21484 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
21485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21486 esac; \
21487 srcdiroption="--srcdir=$${topdir}/release"; \
21488 libsrcdir="$$s/release"; \
21489 $(SHELL) $${libsrcdir}/configure \
21490 $(HOST_CONFIGARGS) $${srcdiroption} \
21491 || exit 1
21492 @endif release
21498 .PHONY: all-release maybe-all-release
21499 maybe-all-release:
21500 @if release
21501 TARGET-release=all
21502 maybe-all-release: all-release
21503 all-release: configure-release
21504 @$(unstage)
21505 @r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 $(HOST_EXPORTS) \
21508 (cd $(HOST_SUBDIR)/release && \
21509 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
21510 @endif release
21515 .PHONY: check-release maybe-check-release
21516 maybe-check-release:
21517 @if release
21518 maybe-check-release: check-release
21520 check-release:
21522 @endif release
21524 .PHONY: install-release maybe-install-release
21525 maybe-install-release:
21526 @if release
21527 maybe-install-release: install-release
21529 install-release:
21531 @endif release
21533 # Other targets (info, dvi, etc.)
21535 .PHONY: maybe-info-release info-release
21536 maybe-info-release:
21537 @if release
21538 maybe-info-release: info-release
21540 info-release: \
21541 configure-release
21542 @$(unstage)
21543 @[ -f ./release/Makefile ] || exit 0; \
21544 r=`${PWD_COMMAND}`; export r; \
21545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21546 $(HOST_EXPORTS) \
21547 for flag in $(EXTRA_HOST_FLAGS) ; do \
21548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21549 done; \
21550 echo "Doing info in release" ; \
21551 (cd $(HOST_SUBDIR)/release && \
21552 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21553 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21554 "RANLIB=$${RANLIB}" \
21555 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21556 info) \
21557 || exit 1
21559 @endif release
21561 .PHONY: maybe-dvi-release dvi-release
21562 maybe-dvi-release:
21563 @if release
21564 maybe-dvi-release: dvi-release
21566 dvi-release: \
21567 configure-release
21568 @$(unstage)
21569 @[ -f ./release/Makefile ] || exit 0; \
21570 r=`${PWD_COMMAND}`; export r; \
21571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21572 $(HOST_EXPORTS) \
21573 for flag in $(EXTRA_HOST_FLAGS) ; do \
21574 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21575 done; \
21576 echo "Doing dvi in release" ; \
21577 (cd $(HOST_SUBDIR)/release && \
21578 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21579 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21580 "RANLIB=$${RANLIB}" \
21581 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21582 dvi) \
21583 || exit 1
21585 @endif release
21587 .PHONY: maybe-html-release html-release
21588 maybe-html-release:
21589 @if release
21590 maybe-html-release: html-release
21592 html-release: \
21593 configure-release
21594 @$(unstage)
21595 @[ -f ./release/Makefile ] || exit 0; \
21596 r=`${PWD_COMMAND}`; export r; \
21597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21598 $(HOST_EXPORTS) \
21599 for flag in $(EXTRA_HOST_FLAGS) ; do \
21600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21601 done; \
21602 echo "Doing html in release" ; \
21603 (cd $(HOST_SUBDIR)/release && \
21604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21606 "RANLIB=$${RANLIB}" \
21607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21608 html) \
21609 || exit 1
21611 @endif release
21613 .PHONY: maybe-TAGS-release TAGS-release
21614 maybe-TAGS-release:
21615 @if release
21616 maybe-TAGS-release: TAGS-release
21618 TAGS-release: \
21619 configure-release
21620 @$(unstage)
21621 @[ -f ./release/Makefile ] || exit 0; \
21622 r=`${PWD_COMMAND}`; export r; \
21623 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21624 $(HOST_EXPORTS) \
21625 for flag in $(EXTRA_HOST_FLAGS) ; do \
21626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21627 done; \
21628 echo "Doing TAGS in release" ; \
21629 (cd $(HOST_SUBDIR)/release && \
21630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21632 "RANLIB=$${RANLIB}" \
21633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21634 TAGS) \
21635 || exit 1
21637 @endif release
21639 .PHONY: maybe-install-info-release install-info-release
21640 maybe-install-info-release:
21641 @if release
21642 maybe-install-info-release: install-info-release
21644 install-info-release: \
21645 configure-release \
21646 info-release
21647 @$(unstage)
21648 @[ -f ./release/Makefile ] || exit 0; \
21649 r=`${PWD_COMMAND}`; export r; \
21650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21651 $(HOST_EXPORTS) \
21652 for flag in $(EXTRA_HOST_FLAGS) ; do \
21653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21654 done; \
21655 echo "Doing install-info in release" ; \
21656 (cd $(HOST_SUBDIR)/release && \
21657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21659 "RANLIB=$${RANLIB}" \
21660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21661 install-info) \
21662 || exit 1
21664 @endif release
21666 .PHONY: maybe-installcheck-release installcheck-release
21667 maybe-installcheck-release:
21668 @if release
21669 maybe-installcheck-release: installcheck-release
21671 installcheck-release: \
21672 configure-release
21673 @$(unstage)
21674 @[ -f ./release/Makefile ] || exit 0; \
21675 r=`${PWD_COMMAND}`; export r; \
21676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21677 $(HOST_EXPORTS) \
21678 for flag in $(EXTRA_HOST_FLAGS) ; do \
21679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21680 done; \
21681 echo "Doing installcheck in release" ; \
21682 (cd $(HOST_SUBDIR)/release && \
21683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21685 "RANLIB=$${RANLIB}" \
21686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21687 installcheck) \
21688 || exit 1
21690 @endif release
21692 .PHONY: maybe-mostlyclean-release mostlyclean-release
21693 maybe-mostlyclean-release:
21694 @if release
21695 maybe-mostlyclean-release: mostlyclean-release
21697 mostlyclean-release:
21698 @$(unstage)
21699 @[ -f ./release/Makefile ] || exit 0; \
21700 r=`${PWD_COMMAND}`; export r; \
21701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21702 $(HOST_EXPORTS) \
21703 for flag in $(EXTRA_HOST_FLAGS) ; do \
21704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21705 done; \
21706 echo "Doing mostlyclean in release" ; \
21707 (cd $(HOST_SUBDIR)/release && \
21708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21710 "RANLIB=$${RANLIB}" \
21711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21712 mostlyclean) \
21713 || exit 1
21715 @endif release
21717 .PHONY: maybe-clean-release clean-release
21718 maybe-clean-release:
21719 @if release
21720 maybe-clean-release: clean-release
21722 clean-release:
21723 @$(unstage)
21724 @[ -f ./release/Makefile ] || exit 0; \
21725 r=`${PWD_COMMAND}`; export r; \
21726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21727 $(HOST_EXPORTS) \
21728 for flag in $(EXTRA_HOST_FLAGS) ; do \
21729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21730 done; \
21731 echo "Doing clean in release" ; \
21732 (cd $(HOST_SUBDIR)/release && \
21733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21735 "RANLIB=$${RANLIB}" \
21736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21737 clean) \
21738 || exit 1
21740 @endif release
21742 .PHONY: maybe-distclean-release distclean-release
21743 maybe-distclean-release:
21744 @if release
21745 maybe-distclean-release: distclean-release
21747 distclean-release:
21748 @$(unstage)
21749 @[ -f ./release/Makefile ] || exit 0; \
21750 r=`${PWD_COMMAND}`; export r; \
21751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21752 $(HOST_EXPORTS) \
21753 for flag in $(EXTRA_HOST_FLAGS) ; do \
21754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21755 done; \
21756 echo "Doing distclean in release" ; \
21757 (cd $(HOST_SUBDIR)/release && \
21758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21760 "RANLIB=$${RANLIB}" \
21761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21762 distclean) \
21763 || exit 1
21765 @endif release
21767 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21768 maybe-maintainer-clean-release:
21769 @if release
21770 maybe-maintainer-clean-release: maintainer-clean-release
21772 maintainer-clean-release:
21773 @$(unstage)
21774 @[ -f ./release/Makefile ] || exit 0; \
21775 r=`${PWD_COMMAND}`; export r; \
21776 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21777 $(HOST_EXPORTS) \
21778 for flag in $(EXTRA_HOST_FLAGS) ; do \
21779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21780 done; \
21781 echo "Doing maintainer-clean in release" ; \
21782 (cd $(HOST_SUBDIR)/release && \
21783 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21784 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21785 "RANLIB=$${RANLIB}" \
21786 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21787 maintainer-clean) \
21788 || exit 1
21790 @endif release
21794 .PHONY: configure-recode maybe-configure-recode
21795 maybe-configure-recode:
21796 @if recode
21797 maybe-configure-recode: configure-recode
21798 configure-recode:
21799 @$(unstage)
21800 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21801 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21802 r=`${PWD_COMMAND}`; export r; \
21803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21804 $(HOST_EXPORTS) \
21805 echo Configuring in $(HOST_SUBDIR)/recode; \
21806 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21807 case $(srcdir) in \
21808 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21809 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21810 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21811 esac; \
21812 srcdiroption="--srcdir=$${topdir}/recode"; \
21813 libsrcdir="$$s/recode"; \
21814 $(SHELL) $${libsrcdir}/configure \
21815 $(HOST_CONFIGARGS) $${srcdiroption} \
21816 || exit 1
21817 @endif recode
21823 .PHONY: all-recode maybe-all-recode
21824 maybe-all-recode:
21825 @if recode
21826 TARGET-recode=all
21827 maybe-all-recode: all-recode
21828 all-recode: configure-recode
21829 @$(unstage)
21830 @r=`${PWD_COMMAND}`; export r; \
21831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21832 $(HOST_EXPORTS) \
21833 (cd $(HOST_SUBDIR)/recode && \
21834 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21835 @endif recode
21840 .PHONY: check-recode maybe-check-recode
21841 maybe-check-recode:
21842 @if recode
21843 maybe-check-recode: check-recode
21845 check-recode:
21846 @$(unstage)
21847 @r=`${PWD_COMMAND}`; export r; \
21848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21849 $(HOST_EXPORTS) \
21850 (cd $(HOST_SUBDIR)/recode && \
21851 $(MAKE) $(FLAGS_TO_PASS) check)
21853 @endif recode
21855 .PHONY: install-recode maybe-install-recode
21856 maybe-install-recode:
21857 @if recode
21858 maybe-install-recode: install-recode
21860 install-recode: installdirs
21861 @$(unstage)
21862 @r=`${PWD_COMMAND}`; export r; \
21863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21864 $(HOST_EXPORTS) \
21865 (cd $(HOST_SUBDIR)/recode && \
21866 $(MAKE) $(FLAGS_TO_PASS) install)
21868 @endif recode
21870 # Other targets (info, dvi, etc.)
21872 .PHONY: maybe-info-recode info-recode
21873 maybe-info-recode:
21874 @if recode
21875 maybe-info-recode: info-recode
21877 info-recode: \
21878 configure-recode
21879 @$(unstage)
21880 @[ -f ./recode/Makefile ] || exit 0; \
21881 r=`${PWD_COMMAND}`; export r; \
21882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21883 $(HOST_EXPORTS) \
21884 for flag in $(EXTRA_HOST_FLAGS) ; do \
21885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21886 done; \
21887 echo "Doing info in recode" ; \
21888 (cd $(HOST_SUBDIR)/recode && \
21889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21891 "RANLIB=$${RANLIB}" \
21892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21893 info) \
21894 || exit 1
21896 @endif recode
21898 .PHONY: maybe-dvi-recode dvi-recode
21899 maybe-dvi-recode:
21900 @if recode
21901 maybe-dvi-recode: dvi-recode
21903 dvi-recode: \
21904 configure-recode
21905 @$(unstage)
21906 @[ -f ./recode/Makefile ] || exit 0; \
21907 r=`${PWD_COMMAND}`; export r; \
21908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21909 $(HOST_EXPORTS) \
21910 for flag in $(EXTRA_HOST_FLAGS) ; do \
21911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21912 done; \
21913 echo "Doing dvi in recode" ; \
21914 (cd $(HOST_SUBDIR)/recode && \
21915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21917 "RANLIB=$${RANLIB}" \
21918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21919 dvi) \
21920 || exit 1
21922 @endif recode
21924 .PHONY: maybe-html-recode html-recode
21925 maybe-html-recode:
21926 @if recode
21927 maybe-html-recode: html-recode
21929 html-recode: \
21930 configure-recode
21931 @$(unstage)
21932 @[ -f ./recode/Makefile ] || exit 0; \
21933 r=`${PWD_COMMAND}`; export r; \
21934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21935 $(HOST_EXPORTS) \
21936 for flag in $(EXTRA_HOST_FLAGS) ; do \
21937 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21938 done; \
21939 echo "Doing html in recode" ; \
21940 (cd $(HOST_SUBDIR)/recode && \
21941 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21942 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21943 "RANLIB=$${RANLIB}" \
21944 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21945 html) \
21946 || exit 1
21948 @endif recode
21950 .PHONY: maybe-TAGS-recode TAGS-recode
21951 maybe-TAGS-recode:
21952 @if recode
21953 maybe-TAGS-recode: TAGS-recode
21955 TAGS-recode: \
21956 configure-recode
21957 @$(unstage)
21958 @[ -f ./recode/Makefile ] || exit 0; \
21959 r=`${PWD_COMMAND}`; export r; \
21960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21961 $(HOST_EXPORTS) \
21962 for flag in $(EXTRA_HOST_FLAGS) ; do \
21963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21964 done; \
21965 echo "Doing TAGS in recode" ; \
21966 (cd $(HOST_SUBDIR)/recode && \
21967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21969 "RANLIB=$${RANLIB}" \
21970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21971 TAGS) \
21972 || exit 1
21974 @endif recode
21976 .PHONY: maybe-install-info-recode install-info-recode
21977 maybe-install-info-recode:
21978 @if recode
21979 maybe-install-info-recode: install-info-recode
21981 install-info-recode: \
21982 configure-recode \
21983 info-recode
21984 @$(unstage)
21985 @[ -f ./recode/Makefile ] || exit 0; \
21986 r=`${PWD_COMMAND}`; export r; \
21987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21988 $(HOST_EXPORTS) \
21989 for flag in $(EXTRA_HOST_FLAGS) ; do \
21990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21991 done; \
21992 echo "Doing install-info in recode" ; \
21993 (cd $(HOST_SUBDIR)/recode && \
21994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21996 "RANLIB=$${RANLIB}" \
21997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21998 install-info) \
21999 || exit 1
22001 @endif recode
22003 .PHONY: maybe-installcheck-recode installcheck-recode
22004 maybe-installcheck-recode:
22005 @if recode
22006 maybe-installcheck-recode: installcheck-recode
22008 installcheck-recode: \
22009 configure-recode
22010 @$(unstage)
22011 @[ -f ./recode/Makefile ] || exit 0; \
22012 r=`${PWD_COMMAND}`; export r; \
22013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22014 $(HOST_EXPORTS) \
22015 for flag in $(EXTRA_HOST_FLAGS) ; do \
22016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22017 done; \
22018 echo "Doing installcheck in recode" ; \
22019 (cd $(HOST_SUBDIR)/recode && \
22020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22022 "RANLIB=$${RANLIB}" \
22023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22024 installcheck) \
22025 || exit 1
22027 @endif recode
22029 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
22030 maybe-mostlyclean-recode:
22031 @if recode
22032 maybe-mostlyclean-recode: mostlyclean-recode
22034 mostlyclean-recode:
22035 @$(unstage)
22036 @[ -f ./recode/Makefile ] || exit 0; \
22037 r=`${PWD_COMMAND}`; export r; \
22038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22039 $(HOST_EXPORTS) \
22040 for flag in $(EXTRA_HOST_FLAGS) ; do \
22041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22042 done; \
22043 echo "Doing mostlyclean in recode" ; \
22044 (cd $(HOST_SUBDIR)/recode && \
22045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22047 "RANLIB=$${RANLIB}" \
22048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22049 mostlyclean) \
22050 || exit 1
22052 @endif recode
22054 .PHONY: maybe-clean-recode clean-recode
22055 maybe-clean-recode:
22056 @if recode
22057 maybe-clean-recode: clean-recode
22059 clean-recode:
22060 @$(unstage)
22061 @[ -f ./recode/Makefile ] || exit 0; \
22062 r=`${PWD_COMMAND}`; export r; \
22063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22064 $(HOST_EXPORTS) \
22065 for flag in $(EXTRA_HOST_FLAGS) ; do \
22066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22067 done; \
22068 echo "Doing clean in recode" ; \
22069 (cd $(HOST_SUBDIR)/recode && \
22070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22072 "RANLIB=$${RANLIB}" \
22073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22074 clean) \
22075 || exit 1
22077 @endif recode
22079 .PHONY: maybe-distclean-recode distclean-recode
22080 maybe-distclean-recode:
22081 @if recode
22082 maybe-distclean-recode: distclean-recode
22084 distclean-recode:
22085 @$(unstage)
22086 @[ -f ./recode/Makefile ] || exit 0; \
22087 r=`${PWD_COMMAND}`; export r; \
22088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22089 $(HOST_EXPORTS) \
22090 for flag in $(EXTRA_HOST_FLAGS) ; do \
22091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22092 done; \
22093 echo "Doing distclean in recode" ; \
22094 (cd $(HOST_SUBDIR)/recode && \
22095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22097 "RANLIB=$${RANLIB}" \
22098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22099 distclean) \
22100 || exit 1
22102 @endif recode
22104 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
22105 maybe-maintainer-clean-recode:
22106 @if recode
22107 maybe-maintainer-clean-recode: maintainer-clean-recode
22109 maintainer-clean-recode:
22110 @$(unstage)
22111 @[ -f ./recode/Makefile ] || exit 0; \
22112 r=`${PWD_COMMAND}`; export r; \
22113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22114 $(HOST_EXPORTS) \
22115 for flag in $(EXTRA_HOST_FLAGS) ; do \
22116 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22117 done; \
22118 echo "Doing maintainer-clean in recode" ; \
22119 (cd $(HOST_SUBDIR)/recode && \
22120 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22121 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22122 "RANLIB=$${RANLIB}" \
22123 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22124 maintainer-clean) \
22125 || exit 1
22127 @endif recode
22131 .PHONY: configure-sed maybe-configure-sed
22132 maybe-configure-sed:
22133 @if sed
22134 maybe-configure-sed: configure-sed
22135 configure-sed:
22136 @$(unstage)
22137 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
22138 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
22139 r=`${PWD_COMMAND}`; export r; \
22140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22141 $(HOST_EXPORTS) \
22142 echo Configuring in $(HOST_SUBDIR)/sed; \
22143 cd "$(HOST_SUBDIR)/sed" || exit 1; \
22144 case $(srcdir) in \
22145 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22146 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
22147 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22148 esac; \
22149 srcdiroption="--srcdir=$${topdir}/sed"; \
22150 libsrcdir="$$s/sed"; \
22151 $(SHELL) $${libsrcdir}/configure \
22152 $(HOST_CONFIGARGS) $${srcdiroption} \
22153 || exit 1
22154 @endif sed
22160 .PHONY: all-sed maybe-all-sed
22161 maybe-all-sed:
22162 @if sed
22163 TARGET-sed=all
22164 maybe-all-sed: all-sed
22165 all-sed: configure-sed
22166 @$(unstage)
22167 @r=`${PWD_COMMAND}`; export r; \
22168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22169 $(HOST_EXPORTS) \
22170 (cd $(HOST_SUBDIR)/sed && \
22171 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
22172 @endif sed
22177 .PHONY: check-sed maybe-check-sed
22178 maybe-check-sed:
22179 @if sed
22180 maybe-check-sed: check-sed
22182 check-sed:
22183 @$(unstage)
22184 @r=`${PWD_COMMAND}`; export r; \
22185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22186 $(HOST_EXPORTS) \
22187 (cd $(HOST_SUBDIR)/sed && \
22188 $(MAKE) $(FLAGS_TO_PASS) check)
22190 @endif sed
22192 .PHONY: install-sed maybe-install-sed
22193 maybe-install-sed:
22194 @if sed
22195 maybe-install-sed: install-sed
22197 install-sed: installdirs
22198 @$(unstage)
22199 @r=`${PWD_COMMAND}`; export r; \
22200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22201 $(HOST_EXPORTS) \
22202 (cd $(HOST_SUBDIR)/sed && \
22203 $(MAKE) $(FLAGS_TO_PASS) install)
22205 @endif sed
22207 # Other targets (info, dvi, etc.)
22209 .PHONY: maybe-info-sed info-sed
22210 maybe-info-sed:
22211 @if sed
22212 maybe-info-sed: info-sed
22214 info-sed: \
22215 configure-sed
22216 @$(unstage)
22217 @[ -f ./sed/Makefile ] || exit 0; \
22218 r=`${PWD_COMMAND}`; export r; \
22219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22220 $(HOST_EXPORTS) \
22221 for flag in $(EXTRA_HOST_FLAGS) ; do \
22222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22223 done; \
22224 echo "Doing info in sed" ; \
22225 (cd $(HOST_SUBDIR)/sed && \
22226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22228 "RANLIB=$${RANLIB}" \
22229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22230 info) \
22231 || exit 1
22233 @endif sed
22235 .PHONY: maybe-dvi-sed dvi-sed
22236 maybe-dvi-sed:
22237 @if sed
22238 maybe-dvi-sed: dvi-sed
22240 dvi-sed: \
22241 configure-sed
22242 @$(unstage)
22243 @[ -f ./sed/Makefile ] || exit 0; \
22244 r=`${PWD_COMMAND}`; export r; \
22245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22246 $(HOST_EXPORTS) \
22247 for flag in $(EXTRA_HOST_FLAGS) ; do \
22248 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22249 done; \
22250 echo "Doing dvi in sed" ; \
22251 (cd $(HOST_SUBDIR)/sed && \
22252 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22253 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22254 "RANLIB=$${RANLIB}" \
22255 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22256 dvi) \
22257 || exit 1
22259 @endif sed
22261 .PHONY: maybe-html-sed html-sed
22262 maybe-html-sed:
22263 @if sed
22264 maybe-html-sed: html-sed
22266 html-sed: \
22267 configure-sed
22268 @$(unstage)
22269 @[ -f ./sed/Makefile ] || exit 0; \
22270 r=`${PWD_COMMAND}`; export r; \
22271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22272 $(HOST_EXPORTS) \
22273 for flag in $(EXTRA_HOST_FLAGS) ; do \
22274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22275 done; \
22276 echo "Doing html in sed" ; \
22277 (cd $(HOST_SUBDIR)/sed && \
22278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22280 "RANLIB=$${RANLIB}" \
22281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22282 html) \
22283 || exit 1
22285 @endif sed
22287 .PHONY: maybe-TAGS-sed TAGS-sed
22288 maybe-TAGS-sed:
22289 @if sed
22290 maybe-TAGS-sed: TAGS-sed
22292 TAGS-sed: \
22293 configure-sed
22294 @$(unstage)
22295 @[ -f ./sed/Makefile ] || exit 0; \
22296 r=`${PWD_COMMAND}`; export r; \
22297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22298 $(HOST_EXPORTS) \
22299 for flag in $(EXTRA_HOST_FLAGS) ; do \
22300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22301 done; \
22302 echo "Doing TAGS in sed" ; \
22303 (cd $(HOST_SUBDIR)/sed && \
22304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22306 "RANLIB=$${RANLIB}" \
22307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22308 TAGS) \
22309 || exit 1
22311 @endif sed
22313 .PHONY: maybe-install-info-sed install-info-sed
22314 maybe-install-info-sed:
22315 @if sed
22316 maybe-install-info-sed: install-info-sed
22318 install-info-sed: \
22319 configure-sed \
22320 info-sed
22321 @$(unstage)
22322 @[ -f ./sed/Makefile ] || exit 0; \
22323 r=`${PWD_COMMAND}`; export r; \
22324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22325 $(HOST_EXPORTS) \
22326 for flag in $(EXTRA_HOST_FLAGS) ; do \
22327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22328 done; \
22329 echo "Doing install-info in sed" ; \
22330 (cd $(HOST_SUBDIR)/sed && \
22331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22333 "RANLIB=$${RANLIB}" \
22334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22335 install-info) \
22336 || exit 1
22338 @endif sed
22340 .PHONY: maybe-installcheck-sed installcheck-sed
22341 maybe-installcheck-sed:
22342 @if sed
22343 maybe-installcheck-sed: installcheck-sed
22345 installcheck-sed: \
22346 configure-sed
22347 @$(unstage)
22348 @[ -f ./sed/Makefile ] || exit 0; \
22349 r=`${PWD_COMMAND}`; export r; \
22350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22351 $(HOST_EXPORTS) \
22352 for flag in $(EXTRA_HOST_FLAGS) ; do \
22353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22354 done; \
22355 echo "Doing installcheck in sed" ; \
22356 (cd $(HOST_SUBDIR)/sed && \
22357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22359 "RANLIB=$${RANLIB}" \
22360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22361 installcheck) \
22362 || exit 1
22364 @endif sed
22366 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
22367 maybe-mostlyclean-sed:
22368 @if sed
22369 maybe-mostlyclean-sed: mostlyclean-sed
22371 mostlyclean-sed:
22372 @$(unstage)
22373 @[ -f ./sed/Makefile ] || exit 0; \
22374 r=`${PWD_COMMAND}`; export r; \
22375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22376 $(HOST_EXPORTS) \
22377 for flag in $(EXTRA_HOST_FLAGS) ; do \
22378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22379 done; \
22380 echo "Doing mostlyclean in sed" ; \
22381 (cd $(HOST_SUBDIR)/sed && \
22382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22384 "RANLIB=$${RANLIB}" \
22385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22386 mostlyclean) \
22387 || exit 1
22389 @endif sed
22391 .PHONY: maybe-clean-sed clean-sed
22392 maybe-clean-sed:
22393 @if sed
22394 maybe-clean-sed: clean-sed
22396 clean-sed:
22397 @$(unstage)
22398 @[ -f ./sed/Makefile ] || exit 0; \
22399 r=`${PWD_COMMAND}`; export r; \
22400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22401 $(HOST_EXPORTS) \
22402 for flag in $(EXTRA_HOST_FLAGS) ; do \
22403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22404 done; \
22405 echo "Doing clean in sed" ; \
22406 (cd $(HOST_SUBDIR)/sed && \
22407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22409 "RANLIB=$${RANLIB}" \
22410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22411 clean) \
22412 || exit 1
22414 @endif sed
22416 .PHONY: maybe-distclean-sed distclean-sed
22417 maybe-distclean-sed:
22418 @if sed
22419 maybe-distclean-sed: distclean-sed
22421 distclean-sed:
22422 @$(unstage)
22423 @[ -f ./sed/Makefile ] || exit 0; \
22424 r=`${PWD_COMMAND}`; export r; \
22425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22426 $(HOST_EXPORTS) \
22427 for flag in $(EXTRA_HOST_FLAGS) ; do \
22428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22429 done; \
22430 echo "Doing distclean in sed" ; \
22431 (cd $(HOST_SUBDIR)/sed && \
22432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22434 "RANLIB=$${RANLIB}" \
22435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22436 distclean) \
22437 || exit 1
22439 @endif sed
22441 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
22442 maybe-maintainer-clean-sed:
22443 @if sed
22444 maybe-maintainer-clean-sed: maintainer-clean-sed
22446 maintainer-clean-sed:
22447 @$(unstage)
22448 @[ -f ./sed/Makefile ] || exit 0; \
22449 r=`${PWD_COMMAND}`; export r; \
22450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22451 $(HOST_EXPORTS) \
22452 for flag in $(EXTRA_HOST_FLAGS) ; do \
22453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22454 done; \
22455 echo "Doing maintainer-clean in sed" ; \
22456 (cd $(HOST_SUBDIR)/sed && \
22457 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22458 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22459 "RANLIB=$${RANLIB}" \
22460 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22461 maintainer-clean) \
22462 || exit 1
22464 @endif sed
22468 .PHONY: configure-send-pr maybe-configure-send-pr
22469 maybe-configure-send-pr:
22470 @if send-pr
22471 maybe-configure-send-pr: configure-send-pr
22472 configure-send-pr:
22473 @$(unstage)
22474 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
22475 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
22476 r=`${PWD_COMMAND}`; export r; \
22477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22478 $(HOST_EXPORTS) \
22479 echo Configuring in $(HOST_SUBDIR)/send-pr; \
22480 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
22481 case $(srcdir) in \
22482 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22483 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
22484 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22485 esac; \
22486 srcdiroption="--srcdir=$${topdir}/send-pr"; \
22487 libsrcdir="$$s/send-pr"; \
22488 $(SHELL) $${libsrcdir}/configure \
22489 $(HOST_CONFIGARGS) $${srcdiroption} \
22490 || exit 1
22491 @endif send-pr
22497 .PHONY: all-send-pr maybe-all-send-pr
22498 maybe-all-send-pr:
22499 @if send-pr
22500 TARGET-send-pr=all
22501 maybe-all-send-pr: all-send-pr
22502 all-send-pr: configure-send-pr
22503 @$(unstage)
22504 @r=`${PWD_COMMAND}`; export r; \
22505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22506 $(HOST_EXPORTS) \
22507 (cd $(HOST_SUBDIR)/send-pr && \
22508 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
22509 @endif send-pr
22514 .PHONY: check-send-pr maybe-check-send-pr
22515 maybe-check-send-pr:
22516 @if send-pr
22517 maybe-check-send-pr: check-send-pr
22519 check-send-pr:
22520 @$(unstage)
22521 @r=`${PWD_COMMAND}`; export r; \
22522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22523 $(HOST_EXPORTS) \
22524 (cd $(HOST_SUBDIR)/send-pr && \
22525 $(MAKE) $(FLAGS_TO_PASS) check)
22527 @endif send-pr
22529 .PHONY: install-send-pr maybe-install-send-pr
22530 maybe-install-send-pr:
22531 @if send-pr
22532 maybe-install-send-pr: install-send-pr
22534 install-send-pr: installdirs
22535 @$(unstage)
22536 @r=`${PWD_COMMAND}`; export r; \
22537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22538 $(HOST_EXPORTS) \
22539 (cd $(HOST_SUBDIR)/send-pr && \
22540 $(MAKE) $(FLAGS_TO_PASS) install)
22542 @endif send-pr
22544 # Other targets (info, dvi, etc.)
22546 .PHONY: maybe-info-send-pr info-send-pr
22547 maybe-info-send-pr:
22548 @if send-pr
22549 maybe-info-send-pr: info-send-pr
22551 info-send-pr: \
22552 configure-send-pr
22553 @$(unstage)
22554 @[ -f ./send-pr/Makefile ] || exit 0; \
22555 r=`${PWD_COMMAND}`; export r; \
22556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22557 $(HOST_EXPORTS) \
22558 for flag in $(EXTRA_HOST_FLAGS) ; do \
22559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22560 done; \
22561 echo "Doing info in send-pr" ; \
22562 (cd $(HOST_SUBDIR)/send-pr && \
22563 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22564 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22565 "RANLIB=$${RANLIB}" \
22566 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22567 info) \
22568 || exit 1
22570 @endif send-pr
22572 .PHONY: maybe-dvi-send-pr dvi-send-pr
22573 maybe-dvi-send-pr:
22574 @if send-pr
22575 maybe-dvi-send-pr: dvi-send-pr
22577 dvi-send-pr: \
22578 configure-send-pr
22579 @$(unstage)
22580 @[ -f ./send-pr/Makefile ] || exit 0; \
22581 r=`${PWD_COMMAND}`; export r; \
22582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22583 $(HOST_EXPORTS) \
22584 for flag in $(EXTRA_HOST_FLAGS) ; do \
22585 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22586 done; \
22587 echo "Doing dvi in send-pr" ; \
22588 (cd $(HOST_SUBDIR)/send-pr && \
22589 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22590 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22591 "RANLIB=$${RANLIB}" \
22592 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22593 dvi) \
22594 || exit 1
22596 @endif send-pr
22598 .PHONY: maybe-html-send-pr html-send-pr
22599 maybe-html-send-pr:
22600 @if send-pr
22601 maybe-html-send-pr: html-send-pr
22603 html-send-pr: \
22604 configure-send-pr
22605 @$(unstage)
22606 @[ -f ./send-pr/Makefile ] || exit 0; \
22607 r=`${PWD_COMMAND}`; export r; \
22608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22609 $(HOST_EXPORTS) \
22610 for flag in $(EXTRA_HOST_FLAGS) ; do \
22611 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22612 done; \
22613 echo "Doing html in send-pr" ; \
22614 (cd $(HOST_SUBDIR)/send-pr && \
22615 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22616 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22617 "RANLIB=$${RANLIB}" \
22618 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22619 html) \
22620 || exit 1
22622 @endif send-pr
22624 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
22625 maybe-TAGS-send-pr:
22626 @if send-pr
22627 maybe-TAGS-send-pr: TAGS-send-pr
22629 TAGS-send-pr: \
22630 configure-send-pr
22631 @$(unstage)
22632 @[ -f ./send-pr/Makefile ] || exit 0; \
22633 r=`${PWD_COMMAND}`; export r; \
22634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22635 $(HOST_EXPORTS) \
22636 for flag in $(EXTRA_HOST_FLAGS) ; do \
22637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22638 done; \
22639 echo "Doing TAGS in send-pr" ; \
22640 (cd $(HOST_SUBDIR)/send-pr && \
22641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22643 "RANLIB=$${RANLIB}" \
22644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22645 TAGS) \
22646 || exit 1
22648 @endif send-pr
22650 .PHONY: maybe-install-info-send-pr install-info-send-pr
22651 maybe-install-info-send-pr:
22652 @if send-pr
22653 maybe-install-info-send-pr: install-info-send-pr
22655 install-info-send-pr: \
22656 configure-send-pr \
22657 info-send-pr
22658 @$(unstage)
22659 @[ -f ./send-pr/Makefile ] || exit 0; \
22660 r=`${PWD_COMMAND}`; export r; \
22661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22662 $(HOST_EXPORTS) \
22663 for flag in $(EXTRA_HOST_FLAGS) ; do \
22664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665 done; \
22666 echo "Doing install-info in send-pr" ; \
22667 (cd $(HOST_SUBDIR)/send-pr && \
22668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22670 "RANLIB=$${RANLIB}" \
22671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22672 install-info) \
22673 || exit 1
22675 @endif send-pr
22677 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
22678 maybe-installcheck-send-pr:
22679 @if send-pr
22680 maybe-installcheck-send-pr: installcheck-send-pr
22682 installcheck-send-pr: \
22683 configure-send-pr
22684 @$(unstage)
22685 @[ -f ./send-pr/Makefile ] || exit 0; \
22686 r=`${PWD_COMMAND}`; export r; \
22687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22688 $(HOST_EXPORTS) \
22689 for flag in $(EXTRA_HOST_FLAGS) ; do \
22690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22691 done; \
22692 echo "Doing installcheck in send-pr" ; \
22693 (cd $(HOST_SUBDIR)/send-pr && \
22694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22696 "RANLIB=$${RANLIB}" \
22697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22698 installcheck) \
22699 || exit 1
22701 @endif send-pr
22703 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22704 maybe-mostlyclean-send-pr:
22705 @if send-pr
22706 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22708 mostlyclean-send-pr:
22709 @$(unstage)
22710 @[ -f ./send-pr/Makefile ] || exit 0; \
22711 r=`${PWD_COMMAND}`; export r; \
22712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22713 $(HOST_EXPORTS) \
22714 for flag in $(EXTRA_HOST_FLAGS) ; do \
22715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22716 done; \
22717 echo "Doing mostlyclean in send-pr" ; \
22718 (cd $(HOST_SUBDIR)/send-pr && \
22719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22721 "RANLIB=$${RANLIB}" \
22722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22723 mostlyclean) \
22724 || exit 1
22726 @endif send-pr
22728 .PHONY: maybe-clean-send-pr clean-send-pr
22729 maybe-clean-send-pr:
22730 @if send-pr
22731 maybe-clean-send-pr: clean-send-pr
22733 clean-send-pr:
22734 @$(unstage)
22735 @[ -f ./send-pr/Makefile ] || exit 0; \
22736 r=`${PWD_COMMAND}`; export r; \
22737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22738 $(HOST_EXPORTS) \
22739 for flag in $(EXTRA_HOST_FLAGS) ; do \
22740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22741 done; \
22742 echo "Doing clean in send-pr" ; \
22743 (cd $(HOST_SUBDIR)/send-pr && \
22744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22746 "RANLIB=$${RANLIB}" \
22747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22748 clean) \
22749 || exit 1
22751 @endif send-pr
22753 .PHONY: maybe-distclean-send-pr distclean-send-pr
22754 maybe-distclean-send-pr:
22755 @if send-pr
22756 maybe-distclean-send-pr: distclean-send-pr
22758 distclean-send-pr:
22759 @$(unstage)
22760 @[ -f ./send-pr/Makefile ] || exit 0; \
22761 r=`${PWD_COMMAND}`; export r; \
22762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22763 $(HOST_EXPORTS) \
22764 for flag in $(EXTRA_HOST_FLAGS) ; do \
22765 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22766 done; \
22767 echo "Doing distclean in send-pr" ; \
22768 (cd $(HOST_SUBDIR)/send-pr && \
22769 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22770 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22771 "RANLIB=$${RANLIB}" \
22772 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22773 distclean) \
22774 || exit 1
22776 @endif send-pr
22778 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22779 maybe-maintainer-clean-send-pr:
22780 @if send-pr
22781 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22783 maintainer-clean-send-pr:
22784 @$(unstage)
22785 @[ -f ./send-pr/Makefile ] || exit 0; \
22786 r=`${PWD_COMMAND}`; export r; \
22787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22788 $(HOST_EXPORTS) \
22789 for flag in $(EXTRA_HOST_FLAGS) ; do \
22790 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22791 done; \
22792 echo "Doing maintainer-clean in send-pr" ; \
22793 (cd $(HOST_SUBDIR)/send-pr && \
22794 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22795 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22796 "RANLIB=$${RANLIB}" \
22797 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22798 maintainer-clean) \
22799 || exit 1
22801 @endif send-pr
22805 .PHONY: configure-shellutils maybe-configure-shellutils
22806 maybe-configure-shellutils:
22807 @if shellutils
22808 maybe-configure-shellutils: configure-shellutils
22809 configure-shellutils:
22810 @$(unstage)
22811 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22812 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22813 r=`${PWD_COMMAND}`; export r; \
22814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22815 $(HOST_EXPORTS) \
22816 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22817 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22818 case $(srcdir) in \
22819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22820 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22822 esac; \
22823 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22824 libsrcdir="$$s/shellutils"; \
22825 $(SHELL) $${libsrcdir}/configure \
22826 $(HOST_CONFIGARGS) $${srcdiroption} \
22827 || exit 1
22828 @endif shellutils
22834 .PHONY: all-shellutils maybe-all-shellutils
22835 maybe-all-shellutils:
22836 @if shellutils
22837 TARGET-shellutils=all
22838 maybe-all-shellutils: all-shellutils
22839 all-shellutils: configure-shellutils
22840 @$(unstage)
22841 @r=`${PWD_COMMAND}`; export r; \
22842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22843 $(HOST_EXPORTS) \
22844 (cd $(HOST_SUBDIR)/shellutils && \
22845 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22846 @endif shellutils
22851 .PHONY: check-shellutils maybe-check-shellutils
22852 maybe-check-shellutils:
22853 @if shellutils
22854 maybe-check-shellutils: check-shellutils
22856 check-shellutils:
22857 @$(unstage)
22858 @r=`${PWD_COMMAND}`; export r; \
22859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22860 $(HOST_EXPORTS) \
22861 (cd $(HOST_SUBDIR)/shellutils && \
22862 $(MAKE) $(FLAGS_TO_PASS) check)
22864 @endif shellutils
22866 .PHONY: install-shellutils maybe-install-shellutils
22867 maybe-install-shellutils:
22868 @if shellutils
22869 maybe-install-shellutils: install-shellutils
22871 install-shellutils: installdirs
22872 @$(unstage)
22873 @r=`${PWD_COMMAND}`; export r; \
22874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22875 $(HOST_EXPORTS) \
22876 (cd $(HOST_SUBDIR)/shellutils && \
22877 $(MAKE) $(FLAGS_TO_PASS) install)
22879 @endif shellutils
22881 # Other targets (info, dvi, etc.)
22883 .PHONY: maybe-info-shellutils info-shellutils
22884 maybe-info-shellutils:
22885 @if shellutils
22886 maybe-info-shellutils: info-shellutils
22888 info-shellutils: \
22889 configure-shellutils
22890 @$(unstage)
22891 @[ -f ./shellutils/Makefile ] || exit 0; \
22892 r=`${PWD_COMMAND}`; export r; \
22893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22894 $(HOST_EXPORTS) \
22895 for flag in $(EXTRA_HOST_FLAGS) ; do \
22896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22897 done; \
22898 echo "Doing info in shellutils" ; \
22899 (cd $(HOST_SUBDIR)/shellutils && \
22900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22902 "RANLIB=$${RANLIB}" \
22903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22904 info) \
22905 || exit 1
22907 @endif shellutils
22909 .PHONY: maybe-dvi-shellutils dvi-shellutils
22910 maybe-dvi-shellutils:
22911 @if shellutils
22912 maybe-dvi-shellutils: dvi-shellutils
22914 dvi-shellutils: \
22915 configure-shellutils
22916 @$(unstage)
22917 @[ -f ./shellutils/Makefile ] || exit 0; \
22918 r=`${PWD_COMMAND}`; export r; \
22919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22920 $(HOST_EXPORTS) \
22921 for flag in $(EXTRA_HOST_FLAGS) ; do \
22922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22923 done; \
22924 echo "Doing dvi in shellutils" ; \
22925 (cd $(HOST_SUBDIR)/shellutils && \
22926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22928 "RANLIB=$${RANLIB}" \
22929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22930 dvi) \
22931 || exit 1
22933 @endif shellutils
22935 .PHONY: maybe-html-shellutils html-shellutils
22936 maybe-html-shellutils:
22937 @if shellutils
22938 maybe-html-shellutils: html-shellutils
22940 html-shellutils: \
22941 configure-shellutils
22942 @$(unstage)
22943 @[ -f ./shellutils/Makefile ] || exit 0; \
22944 r=`${PWD_COMMAND}`; export r; \
22945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22946 $(HOST_EXPORTS) \
22947 for flag in $(EXTRA_HOST_FLAGS) ; do \
22948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22949 done; \
22950 echo "Doing html in shellutils" ; \
22951 (cd $(HOST_SUBDIR)/shellutils && \
22952 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22953 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22954 "RANLIB=$${RANLIB}" \
22955 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22956 html) \
22957 || exit 1
22959 @endif shellutils
22961 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22962 maybe-TAGS-shellutils:
22963 @if shellutils
22964 maybe-TAGS-shellutils: TAGS-shellutils
22966 TAGS-shellutils: \
22967 configure-shellutils
22968 @$(unstage)
22969 @[ -f ./shellutils/Makefile ] || exit 0; \
22970 r=`${PWD_COMMAND}`; export r; \
22971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22972 $(HOST_EXPORTS) \
22973 for flag in $(EXTRA_HOST_FLAGS) ; do \
22974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22975 done; \
22976 echo "Doing TAGS in shellutils" ; \
22977 (cd $(HOST_SUBDIR)/shellutils && \
22978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22980 "RANLIB=$${RANLIB}" \
22981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22982 TAGS) \
22983 || exit 1
22985 @endif shellutils
22987 .PHONY: maybe-install-info-shellutils install-info-shellutils
22988 maybe-install-info-shellutils:
22989 @if shellutils
22990 maybe-install-info-shellutils: install-info-shellutils
22992 install-info-shellutils: \
22993 configure-shellutils \
22994 info-shellutils
22995 @$(unstage)
22996 @[ -f ./shellutils/Makefile ] || exit 0; \
22997 r=`${PWD_COMMAND}`; export r; \
22998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22999 $(HOST_EXPORTS) \
23000 for flag in $(EXTRA_HOST_FLAGS) ; do \
23001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23002 done; \
23003 echo "Doing install-info in shellutils" ; \
23004 (cd $(HOST_SUBDIR)/shellutils && \
23005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23007 "RANLIB=$${RANLIB}" \
23008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23009 install-info) \
23010 || exit 1
23012 @endif shellutils
23014 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
23015 maybe-installcheck-shellutils:
23016 @if shellutils
23017 maybe-installcheck-shellutils: installcheck-shellutils
23019 installcheck-shellutils: \
23020 configure-shellutils
23021 @$(unstage)
23022 @[ -f ./shellutils/Makefile ] || exit 0; \
23023 r=`${PWD_COMMAND}`; export r; \
23024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23025 $(HOST_EXPORTS) \
23026 for flag in $(EXTRA_HOST_FLAGS) ; do \
23027 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23028 done; \
23029 echo "Doing installcheck in shellutils" ; \
23030 (cd $(HOST_SUBDIR)/shellutils && \
23031 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23032 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23033 "RANLIB=$${RANLIB}" \
23034 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23035 installcheck) \
23036 || exit 1
23038 @endif shellutils
23040 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
23041 maybe-mostlyclean-shellutils:
23042 @if shellutils
23043 maybe-mostlyclean-shellutils: mostlyclean-shellutils
23045 mostlyclean-shellutils:
23046 @$(unstage)
23047 @[ -f ./shellutils/Makefile ] || exit 0; \
23048 r=`${PWD_COMMAND}`; export r; \
23049 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23050 $(HOST_EXPORTS) \
23051 for flag in $(EXTRA_HOST_FLAGS) ; do \
23052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23053 done; \
23054 echo "Doing mostlyclean in shellutils" ; \
23055 (cd $(HOST_SUBDIR)/shellutils && \
23056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23058 "RANLIB=$${RANLIB}" \
23059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23060 mostlyclean) \
23061 || exit 1
23063 @endif shellutils
23065 .PHONY: maybe-clean-shellutils clean-shellutils
23066 maybe-clean-shellutils:
23067 @if shellutils
23068 maybe-clean-shellutils: clean-shellutils
23070 clean-shellutils:
23071 @$(unstage)
23072 @[ -f ./shellutils/Makefile ] || exit 0; \
23073 r=`${PWD_COMMAND}`; export r; \
23074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23075 $(HOST_EXPORTS) \
23076 for flag in $(EXTRA_HOST_FLAGS) ; do \
23077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23078 done; \
23079 echo "Doing clean in shellutils" ; \
23080 (cd $(HOST_SUBDIR)/shellutils && \
23081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23083 "RANLIB=$${RANLIB}" \
23084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23085 clean) \
23086 || exit 1
23088 @endif shellutils
23090 .PHONY: maybe-distclean-shellutils distclean-shellutils
23091 maybe-distclean-shellutils:
23092 @if shellutils
23093 maybe-distclean-shellutils: distclean-shellutils
23095 distclean-shellutils:
23096 @$(unstage)
23097 @[ -f ./shellutils/Makefile ] || exit 0; \
23098 r=`${PWD_COMMAND}`; export r; \
23099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23100 $(HOST_EXPORTS) \
23101 for flag in $(EXTRA_HOST_FLAGS) ; do \
23102 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23103 done; \
23104 echo "Doing distclean in shellutils" ; \
23105 (cd $(HOST_SUBDIR)/shellutils && \
23106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23108 "RANLIB=$${RANLIB}" \
23109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23110 distclean) \
23111 || exit 1
23113 @endif shellutils
23115 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
23116 maybe-maintainer-clean-shellutils:
23117 @if shellutils
23118 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
23120 maintainer-clean-shellutils:
23121 @$(unstage)
23122 @[ -f ./shellutils/Makefile ] || exit 0; \
23123 r=`${PWD_COMMAND}`; export r; \
23124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23125 $(HOST_EXPORTS) \
23126 for flag in $(EXTRA_HOST_FLAGS) ; do \
23127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23128 done; \
23129 echo "Doing maintainer-clean in shellutils" ; \
23130 (cd $(HOST_SUBDIR)/shellutils && \
23131 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23132 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23133 "RANLIB=$${RANLIB}" \
23134 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23135 maintainer-clean) \
23136 || exit 1
23138 @endif shellutils
23142 .PHONY: configure-sid maybe-configure-sid
23143 maybe-configure-sid:
23144 @if sid
23145 maybe-configure-sid: configure-sid
23146 configure-sid:
23147 @$(unstage)
23148 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
23149 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
23150 r=`${PWD_COMMAND}`; export r; \
23151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23152 $(HOST_EXPORTS) \
23153 echo Configuring in $(HOST_SUBDIR)/sid; \
23154 cd "$(HOST_SUBDIR)/sid" || exit 1; \
23155 case $(srcdir) in \
23156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23157 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
23158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23159 esac; \
23160 srcdiroption="--srcdir=$${topdir}/sid"; \
23161 libsrcdir="$$s/sid"; \
23162 $(SHELL) $${libsrcdir}/configure \
23163 $(HOST_CONFIGARGS) $${srcdiroption} \
23164 || exit 1
23165 @endif sid
23171 .PHONY: all-sid maybe-all-sid
23172 maybe-all-sid:
23173 @if sid
23174 TARGET-sid=all
23175 maybe-all-sid: all-sid
23176 all-sid: configure-sid
23177 @$(unstage)
23178 @r=`${PWD_COMMAND}`; export r; \
23179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23180 $(HOST_EXPORTS) \
23181 (cd $(HOST_SUBDIR)/sid && \
23182 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
23183 @endif sid
23188 .PHONY: check-sid maybe-check-sid
23189 maybe-check-sid:
23190 @if sid
23191 maybe-check-sid: check-sid
23193 check-sid:
23194 @$(unstage)
23195 @r=`${PWD_COMMAND}`; export r; \
23196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23197 $(HOST_EXPORTS) \
23198 (cd $(HOST_SUBDIR)/sid && \
23199 $(MAKE) $(FLAGS_TO_PASS) check)
23201 @endif sid
23203 .PHONY: install-sid maybe-install-sid
23204 maybe-install-sid:
23205 @if sid
23206 maybe-install-sid: install-sid
23208 install-sid: installdirs
23209 @$(unstage)
23210 @r=`${PWD_COMMAND}`; export r; \
23211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23212 $(HOST_EXPORTS) \
23213 (cd $(HOST_SUBDIR)/sid && \
23214 $(MAKE) $(FLAGS_TO_PASS) install)
23216 @endif sid
23218 # Other targets (info, dvi, etc.)
23220 .PHONY: maybe-info-sid info-sid
23221 maybe-info-sid:
23222 @if sid
23223 maybe-info-sid: info-sid
23225 info-sid: \
23226 configure-sid
23227 @$(unstage)
23228 @[ -f ./sid/Makefile ] || exit 0; \
23229 r=`${PWD_COMMAND}`; export r; \
23230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23231 $(HOST_EXPORTS) \
23232 for flag in $(EXTRA_HOST_FLAGS) ; do \
23233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23234 done; \
23235 echo "Doing info in sid" ; \
23236 (cd $(HOST_SUBDIR)/sid && \
23237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23239 "RANLIB=$${RANLIB}" \
23240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23241 info) \
23242 || exit 1
23244 @endif sid
23246 .PHONY: maybe-dvi-sid dvi-sid
23247 maybe-dvi-sid:
23248 @if sid
23249 maybe-dvi-sid: dvi-sid
23251 dvi-sid: \
23252 configure-sid
23253 @$(unstage)
23254 @[ -f ./sid/Makefile ] || exit 0; \
23255 r=`${PWD_COMMAND}`; export r; \
23256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23257 $(HOST_EXPORTS) \
23258 for flag in $(EXTRA_HOST_FLAGS) ; do \
23259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23260 done; \
23261 echo "Doing dvi in sid" ; \
23262 (cd $(HOST_SUBDIR)/sid && \
23263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23265 "RANLIB=$${RANLIB}" \
23266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23267 dvi) \
23268 || exit 1
23270 @endif sid
23272 .PHONY: maybe-html-sid html-sid
23273 maybe-html-sid:
23274 @if sid
23275 maybe-html-sid: html-sid
23277 html-sid: \
23278 configure-sid
23279 @$(unstage)
23280 @[ -f ./sid/Makefile ] || exit 0; \
23281 r=`${PWD_COMMAND}`; export r; \
23282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23283 $(HOST_EXPORTS) \
23284 for flag in $(EXTRA_HOST_FLAGS) ; do \
23285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23286 done; \
23287 echo "Doing html in sid" ; \
23288 (cd $(HOST_SUBDIR)/sid && \
23289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23291 "RANLIB=$${RANLIB}" \
23292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23293 html) \
23294 || exit 1
23296 @endif sid
23298 .PHONY: maybe-TAGS-sid TAGS-sid
23299 maybe-TAGS-sid:
23300 @if sid
23301 maybe-TAGS-sid: TAGS-sid
23303 TAGS-sid: \
23304 configure-sid
23305 @$(unstage)
23306 @[ -f ./sid/Makefile ] || exit 0; \
23307 r=`${PWD_COMMAND}`; export r; \
23308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23309 $(HOST_EXPORTS) \
23310 for flag in $(EXTRA_HOST_FLAGS) ; do \
23311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23312 done; \
23313 echo "Doing TAGS in sid" ; \
23314 (cd $(HOST_SUBDIR)/sid && \
23315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23317 "RANLIB=$${RANLIB}" \
23318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23319 TAGS) \
23320 || exit 1
23322 @endif sid
23324 .PHONY: maybe-install-info-sid install-info-sid
23325 maybe-install-info-sid:
23326 @if sid
23327 maybe-install-info-sid: install-info-sid
23329 install-info-sid: \
23330 configure-sid \
23331 info-sid
23332 @$(unstage)
23333 @[ -f ./sid/Makefile ] || exit 0; \
23334 r=`${PWD_COMMAND}`; export r; \
23335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23336 $(HOST_EXPORTS) \
23337 for flag in $(EXTRA_HOST_FLAGS) ; do \
23338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23339 done; \
23340 echo "Doing install-info in sid" ; \
23341 (cd $(HOST_SUBDIR)/sid && \
23342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23344 "RANLIB=$${RANLIB}" \
23345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23346 install-info) \
23347 || exit 1
23349 @endif sid
23351 .PHONY: maybe-installcheck-sid installcheck-sid
23352 maybe-installcheck-sid:
23353 @if sid
23354 maybe-installcheck-sid: installcheck-sid
23356 installcheck-sid: \
23357 configure-sid
23358 @$(unstage)
23359 @[ -f ./sid/Makefile ] || exit 0; \
23360 r=`${PWD_COMMAND}`; export r; \
23361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23362 $(HOST_EXPORTS) \
23363 for flag in $(EXTRA_HOST_FLAGS) ; do \
23364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23365 done; \
23366 echo "Doing installcheck in sid" ; \
23367 (cd $(HOST_SUBDIR)/sid && \
23368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23370 "RANLIB=$${RANLIB}" \
23371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23372 installcheck) \
23373 || exit 1
23375 @endif sid
23377 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
23378 maybe-mostlyclean-sid:
23379 @if sid
23380 maybe-mostlyclean-sid: mostlyclean-sid
23382 mostlyclean-sid:
23383 @$(unstage)
23384 @[ -f ./sid/Makefile ] || exit 0; \
23385 r=`${PWD_COMMAND}`; export r; \
23386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23387 $(HOST_EXPORTS) \
23388 for flag in $(EXTRA_HOST_FLAGS) ; do \
23389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23390 done; \
23391 echo "Doing mostlyclean in sid" ; \
23392 (cd $(HOST_SUBDIR)/sid && \
23393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23395 "RANLIB=$${RANLIB}" \
23396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23397 mostlyclean) \
23398 || exit 1
23400 @endif sid
23402 .PHONY: maybe-clean-sid clean-sid
23403 maybe-clean-sid:
23404 @if sid
23405 maybe-clean-sid: clean-sid
23407 clean-sid:
23408 @$(unstage)
23409 @[ -f ./sid/Makefile ] || exit 0; \
23410 r=`${PWD_COMMAND}`; export r; \
23411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23412 $(HOST_EXPORTS) \
23413 for flag in $(EXTRA_HOST_FLAGS) ; do \
23414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23415 done; \
23416 echo "Doing clean in sid" ; \
23417 (cd $(HOST_SUBDIR)/sid && \
23418 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23419 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23420 "RANLIB=$${RANLIB}" \
23421 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23422 clean) \
23423 || exit 1
23425 @endif sid
23427 .PHONY: maybe-distclean-sid distclean-sid
23428 maybe-distclean-sid:
23429 @if sid
23430 maybe-distclean-sid: distclean-sid
23432 distclean-sid:
23433 @$(unstage)
23434 @[ -f ./sid/Makefile ] || exit 0; \
23435 r=`${PWD_COMMAND}`; export r; \
23436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23437 $(HOST_EXPORTS) \
23438 for flag in $(EXTRA_HOST_FLAGS) ; do \
23439 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23440 done; \
23441 echo "Doing distclean in sid" ; \
23442 (cd $(HOST_SUBDIR)/sid && \
23443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23445 "RANLIB=$${RANLIB}" \
23446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23447 distclean) \
23448 || exit 1
23450 @endif sid
23452 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
23453 maybe-maintainer-clean-sid:
23454 @if sid
23455 maybe-maintainer-clean-sid: maintainer-clean-sid
23457 maintainer-clean-sid:
23458 @$(unstage)
23459 @[ -f ./sid/Makefile ] || exit 0; \
23460 r=`${PWD_COMMAND}`; export r; \
23461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23462 $(HOST_EXPORTS) \
23463 for flag in $(EXTRA_HOST_FLAGS) ; do \
23464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23465 done; \
23466 echo "Doing maintainer-clean in sid" ; \
23467 (cd $(HOST_SUBDIR)/sid && \
23468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23470 "RANLIB=$${RANLIB}" \
23471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23472 maintainer-clean) \
23473 || exit 1
23475 @endif sid
23479 .PHONY: configure-sim maybe-configure-sim
23480 maybe-configure-sim:
23481 @if sim
23482 maybe-configure-sim: configure-sim
23483 configure-sim:
23484 @$(unstage)
23485 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
23486 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
23487 r=`${PWD_COMMAND}`; export r; \
23488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23489 $(HOST_EXPORTS) \
23490 echo Configuring in $(HOST_SUBDIR)/sim; \
23491 cd "$(HOST_SUBDIR)/sim" || exit 1; \
23492 case $(srcdir) in \
23493 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23494 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
23495 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23496 esac; \
23497 srcdiroption="--srcdir=$${topdir}/sim"; \
23498 libsrcdir="$$s/sim"; \
23499 $(SHELL) $${libsrcdir}/configure \
23500 $(HOST_CONFIGARGS) $${srcdiroption} \
23501 || exit 1
23502 @endif sim
23508 .PHONY: all-sim maybe-all-sim
23509 maybe-all-sim:
23510 @if sim
23511 TARGET-sim=all
23512 maybe-all-sim: all-sim
23513 all-sim: configure-sim
23514 @$(unstage)
23515 @r=`${PWD_COMMAND}`; export r; \
23516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23517 $(HOST_EXPORTS) \
23518 (cd $(HOST_SUBDIR)/sim && \
23519 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
23520 @endif sim
23525 .PHONY: check-sim maybe-check-sim
23526 maybe-check-sim:
23527 @if sim
23528 maybe-check-sim: check-sim
23530 check-sim:
23531 @$(unstage)
23532 @r=`${PWD_COMMAND}`; export r; \
23533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23534 $(HOST_EXPORTS) \
23535 (cd $(HOST_SUBDIR)/sim && \
23536 $(MAKE) $(FLAGS_TO_PASS) check)
23538 @endif sim
23540 .PHONY: install-sim maybe-install-sim
23541 maybe-install-sim:
23542 @if sim
23543 maybe-install-sim: install-sim
23545 install-sim: installdirs
23546 @$(unstage)
23547 @r=`${PWD_COMMAND}`; export r; \
23548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23549 $(HOST_EXPORTS) \
23550 (cd $(HOST_SUBDIR)/sim && \
23551 $(MAKE) $(FLAGS_TO_PASS) install)
23553 @endif sim
23555 # Other targets (info, dvi, etc.)
23557 .PHONY: maybe-info-sim info-sim
23558 maybe-info-sim:
23559 @if sim
23560 maybe-info-sim: info-sim
23562 info-sim: \
23563 configure-sim
23564 @$(unstage)
23565 @[ -f ./sim/Makefile ] || exit 0; \
23566 r=`${PWD_COMMAND}`; export r; \
23567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23568 $(HOST_EXPORTS) \
23569 for flag in $(EXTRA_HOST_FLAGS) ; do \
23570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23571 done; \
23572 echo "Doing info in sim" ; \
23573 (cd $(HOST_SUBDIR)/sim && \
23574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23576 "RANLIB=$${RANLIB}" \
23577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23578 info) \
23579 || exit 1
23581 @endif sim
23583 .PHONY: maybe-dvi-sim dvi-sim
23584 maybe-dvi-sim:
23585 @if sim
23586 maybe-dvi-sim: dvi-sim
23588 dvi-sim: \
23589 configure-sim
23590 @$(unstage)
23591 @[ -f ./sim/Makefile ] || exit 0; \
23592 r=`${PWD_COMMAND}`; export r; \
23593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23594 $(HOST_EXPORTS) \
23595 for flag in $(EXTRA_HOST_FLAGS) ; do \
23596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23597 done; \
23598 echo "Doing dvi in sim" ; \
23599 (cd $(HOST_SUBDIR)/sim && \
23600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23602 "RANLIB=$${RANLIB}" \
23603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23604 dvi) \
23605 || exit 1
23607 @endif sim
23609 .PHONY: maybe-html-sim html-sim
23610 maybe-html-sim:
23611 @if sim
23612 maybe-html-sim: html-sim
23614 html-sim: \
23615 configure-sim
23616 @$(unstage)
23617 @[ -f ./sim/Makefile ] || exit 0; \
23618 r=`${PWD_COMMAND}`; export r; \
23619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23620 $(HOST_EXPORTS) \
23621 for flag in $(EXTRA_HOST_FLAGS) ; do \
23622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23623 done; \
23624 echo "Doing html in sim" ; \
23625 (cd $(HOST_SUBDIR)/sim && \
23626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23628 "RANLIB=$${RANLIB}" \
23629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23630 html) \
23631 || exit 1
23633 @endif sim
23635 .PHONY: maybe-TAGS-sim TAGS-sim
23636 maybe-TAGS-sim:
23637 @if sim
23638 maybe-TAGS-sim: TAGS-sim
23640 TAGS-sim: \
23641 configure-sim
23642 @$(unstage)
23643 @[ -f ./sim/Makefile ] || exit 0; \
23644 r=`${PWD_COMMAND}`; export r; \
23645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23646 $(HOST_EXPORTS) \
23647 for flag in $(EXTRA_HOST_FLAGS) ; do \
23648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23649 done; \
23650 echo "Doing TAGS in sim" ; \
23651 (cd $(HOST_SUBDIR)/sim && \
23652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23654 "RANLIB=$${RANLIB}" \
23655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23656 TAGS) \
23657 || exit 1
23659 @endif sim
23661 .PHONY: maybe-install-info-sim install-info-sim
23662 maybe-install-info-sim:
23663 @if sim
23664 maybe-install-info-sim: install-info-sim
23666 install-info-sim: \
23667 configure-sim \
23668 info-sim
23669 @$(unstage)
23670 @[ -f ./sim/Makefile ] || exit 0; \
23671 r=`${PWD_COMMAND}`; export r; \
23672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23673 $(HOST_EXPORTS) \
23674 for flag in $(EXTRA_HOST_FLAGS) ; do \
23675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23676 done; \
23677 echo "Doing install-info in sim" ; \
23678 (cd $(HOST_SUBDIR)/sim && \
23679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23681 "RANLIB=$${RANLIB}" \
23682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23683 install-info) \
23684 || exit 1
23686 @endif sim
23688 .PHONY: maybe-installcheck-sim installcheck-sim
23689 maybe-installcheck-sim:
23690 @if sim
23691 maybe-installcheck-sim: installcheck-sim
23693 installcheck-sim: \
23694 configure-sim
23695 @$(unstage)
23696 @[ -f ./sim/Makefile ] || exit 0; \
23697 r=`${PWD_COMMAND}`; export r; \
23698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23699 $(HOST_EXPORTS) \
23700 for flag in $(EXTRA_HOST_FLAGS) ; do \
23701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23702 done; \
23703 echo "Doing installcheck in sim" ; \
23704 (cd $(HOST_SUBDIR)/sim && \
23705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23707 "RANLIB=$${RANLIB}" \
23708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23709 installcheck) \
23710 || exit 1
23712 @endif sim
23714 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23715 maybe-mostlyclean-sim:
23716 @if sim
23717 maybe-mostlyclean-sim: mostlyclean-sim
23719 mostlyclean-sim:
23720 @$(unstage)
23721 @[ -f ./sim/Makefile ] || exit 0; \
23722 r=`${PWD_COMMAND}`; export r; \
23723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23724 $(HOST_EXPORTS) \
23725 for flag in $(EXTRA_HOST_FLAGS) ; do \
23726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23727 done; \
23728 echo "Doing mostlyclean in sim" ; \
23729 (cd $(HOST_SUBDIR)/sim && \
23730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23732 "RANLIB=$${RANLIB}" \
23733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23734 mostlyclean) \
23735 || exit 1
23737 @endif sim
23739 .PHONY: maybe-clean-sim clean-sim
23740 maybe-clean-sim:
23741 @if sim
23742 maybe-clean-sim: clean-sim
23744 clean-sim:
23745 @$(unstage)
23746 @[ -f ./sim/Makefile ] || exit 0; \
23747 r=`${PWD_COMMAND}`; export r; \
23748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23749 $(HOST_EXPORTS) \
23750 for flag in $(EXTRA_HOST_FLAGS) ; do \
23751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23752 done; \
23753 echo "Doing clean in sim" ; \
23754 (cd $(HOST_SUBDIR)/sim && \
23755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23757 "RANLIB=$${RANLIB}" \
23758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23759 clean) \
23760 || exit 1
23762 @endif sim
23764 .PHONY: maybe-distclean-sim distclean-sim
23765 maybe-distclean-sim:
23766 @if sim
23767 maybe-distclean-sim: distclean-sim
23769 distclean-sim:
23770 @$(unstage)
23771 @[ -f ./sim/Makefile ] || exit 0; \
23772 r=`${PWD_COMMAND}`; export r; \
23773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing distclean in sim" ; \
23779 (cd $(HOST_SUBDIR)/sim && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23784 distclean) \
23785 || exit 1
23787 @endif sim
23789 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23790 maybe-maintainer-clean-sim:
23791 @if sim
23792 maybe-maintainer-clean-sim: maintainer-clean-sim
23794 maintainer-clean-sim:
23795 @$(unstage)
23796 @[ -f ./sim/Makefile ] || exit 0; \
23797 r=`${PWD_COMMAND}`; export r; \
23798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23799 $(HOST_EXPORTS) \
23800 for flag in $(EXTRA_HOST_FLAGS) ; do \
23801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23802 done; \
23803 echo "Doing maintainer-clean in sim" ; \
23804 (cd $(HOST_SUBDIR)/sim && \
23805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23807 "RANLIB=$${RANLIB}" \
23808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23809 maintainer-clean) \
23810 || exit 1
23812 @endif sim
23816 .PHONY: configure-tar maybe-configure-tar
23817 maybe-configure-tar:
23818 @if tar
23819 maybe-configure-tar: configure-tar
23820 configure-tar:
23821 @$(unstage)
23822 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23823 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23824 r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 $(HOST_EXPORTS) \
23827 echo Configuring in $(HOST_SUBDIR)/tar; \
23828 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23829 case $(srcdir) in \
23830 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23831 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23832 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23833 esac; \
23834 srcdiroption="--srcdir=$${topdir}/tar"; \
23835 libsrcdir="$$s/tar"; \
23836 $(SHELL) $${libsrcdir}/configure \
23837 $(HOST_CONFIGARGS) $${srcdiroption} \
23838 || exit 1
23839 @endif tar
23845 .PHONY: all-tar maybe-all-tar
23846 maybe-all-tar:
23847 @if tar
23848 TARGET-tar=all
23849 maybe-all-tar: all-tar
23850 all-tar: configure-tar
23851 @$(unstage)
23852 @r=`${PWD_COMMAND}`; export r; \
23853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23854 $(HOST_EXPORTS) \
23855 (cd $(HOST_SUBDIR)/tar && \
23856 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23857 @endif tar
23862 .PHONY: check-tar maybe-check-tar
23863 maybe-check-tar:
23864 @if tar
23865 maybe-check-tar: check-tar
23867 check-tar:
23868 @$(unstage)
23869 @r=`${PWD_COMMAND}`; export r; \
23870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23871 $(HOST_EXPORTS) \
23872 (cd $(HOST_SUBDIR)/tar && \
23873 $(MAKE) $(FLAGS_TO_PASS) check)
23875 @endif tar
23877 .PHONY: install-tar maybe-install-tar
23878 maybe-install-tar:
23879 @if tar
23880 maybe-install-tar: install-tar
23882 install-tar: installdirs
23883 @$(unstage)
23884 @r=`${PWD_COMMAND}`; export r; \
23885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23886 $(HOST_EXPORTS) \
23887 (cd $(HOST_SUBDIR)/tar && \
23888 $(MAKE) $(FLAGS_TO_PASS) install)
23890 @endif tar
23892 # Other targets (info, dvi, etc.)
23894 .PHONY: maybe-info-tar info-tar
23895 maybe-info-tar:
23896 @if tar
23897 maybe-info-tar: info-tar
23899 info-tar: \
23900 configure-tar
23901 @$(unstage)
23902 @[ -f ./tar/Makefile ] || exit 0; \
23903 r=`${PWD_COMMAND}`; export r; \
23904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23905 $(HOST_EXPORTS) \
23906 for flag in $(EXTRA_HOST_FLAGS) ; do \
23907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23908 done; \
23909 echo "Doing info in tar" ; \
23910 (cd $(HOST_SUBDIR)/tar && \
23911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23913 "RANLIB=$${RANLIB}" \
23914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23915 info) \
23916 || exit 1
23918 @endif tar
23920 .PHONY: maybe-dvi-tar dvi-tar
23921 maybe-dvi-tar:
23922 @if tar
23923 maybe-dvi-tar: dvi-tar
23925 dvi-tar: \
23926 configure-tar
23927 @$(unstage)
23928 @[ -f ./tar/Makefile ] || exit 0; \
23929 r=`${PWD_COMMAND}`; export r; \
23930 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23931 $(HOST_EXPORTS) \
23932 for flag in $(EXTRA_HOST_FLAGS) ; do \
23933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23934 done; \
23935 echo "Doing dvi in tar" ; \
23936 (cd $(HOST_SUBDIR)/tar && \
23937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23939 "RANLIB=$${RANLIB}" \
23940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23941 dvi) \
23942 || exit 1
23944 @endif tar
23946 .PHONY: maybe-html-tar html-tar
23947 maybe-html-tar:
23948 @if tar
23949 maybe-html-tar: html-tar
23951 html-tar: \
23952 configure-tar
23953 @$(unstage)
23954 @[ -f ./tar/Makefile ] || exit 0; \
23955 r=`${PWD_COMMAND}`; export r; \
23956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23957 $(HOST_EXPORTS) \
23958 for flag in $(EXTRA_HOST_FLAGS) ; do \
23959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23960 done; \
23961 echo "Doing html in tar" ; \
23962 (cd $(HOST_SUBDIR)/tar && \
23963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23965 "RANLIB=$${RANLIB}" \
23966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23967 html) \
23968 || exit 1
23970 @endif tar
23972 .PHONY: maybe-TAGS-tar TAGS-tar
23973 maybe-TAGS-tar:
23974 @if tar
23975 maybe-TAGS-tar: TAGS-tar
23977 TAGS-tar: \
23978 configure-tar
23979 @$(unstage)
23980 @[ -f ./tar/Makefile ] || exit 0; \
23981 r=`${PWD_COMMAND}`; export r; \
23982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23983 $(HOST_EXPORTS) \
23984 for flag in $(EXTRA_HOST_FLAGS) ; do \
23985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23986 done; \
23987 echo "Doing TAGS in tar" ; \
23988 (cd $(HOST_SUBDIR)/tar && \
23989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23991 "RANLIB=$${RANLIB}" \
23992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23993 TAGS) \
23994 || exit 1
23996 @endif tar
23998 .PHONY: maybe-install-info-tar install-info-tar
23999 maybe-install-info-tar:
24000 @if tar
24001 maybe-install-info-tar: install-info-tar
24003 install-info-tar: \
24004 configure-tar \
24005 info-tar
24006 @$(unstage)
24007 @[ -f ./tar/Makefile ] || exit 0; \
24008 r=`${PWD_COMMAND}`; export r; \
24009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24010 $(HOST_EXPORTS) \
24011 for flag in $(EXTRA_HOST_FLAGS) ; do \
24012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24013 done; \
24014 echo "Doing install-info in tar" ; \
24015 (cd $(HOST_SUBDIR)/tar && \
24016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24018 "RANLIB=$${RANLIB}" \
24019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24020 install-info) \
24021 || exit 1
24023 @endif tar
24025 .PHONY: maybe-installcheck-tar installcheck-tar
24026 maybe-installcheck-tar:
24027 @if tar
24028 maybe-installcheck-tar: installcheck-tar
24030 installcheck-tar: \
24031 configure-tar
24032 @$(unstage)
24033 @[ -f ./tar/Makefile ] || exit 0; \
24034 r=`${PWD_COMMAND}`; export r; \
24035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24036 $(HOST_EXPORTS) \
24037 for flag in $(EXTRA_HOST_FLAGS) ; do \
24038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24039 done; \
24040 echo "Doing installcheck in tar" ; \
24041 (cd $(HOST_SUBDIR)/tar && \
24042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24044 "RANLIB=$${RANLIB}" \
24045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24046 installcheck) \
24047 || exit 1
24049 @endif tar
24051 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
24052 maybe-mostlyclean-tar:
24053 @if tar
24054 maybe-mostlyclean-tar: mostlyclean-tar
24056 mostlyclean-tar:
24057 @$(unstage)
24058 @[ -f ./tar/Makefile ] || exit 0; \
24059 r=`${PWD_COMMAND}`; export r; \
24060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24061 $(HOST_EXPORTS) \
24062 for flag in $(EXTRA_HOST_FLAGS) ; do \
24063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24064 done; \
24065 echo "Doing mostlyclean in tar" ; \
24066 (cd $(HOST_SUBDIR)/tar && \
24067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24069 "RANLIB=$${RANLIB}" \
24070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24071 mostlyclean) \
24072 || exit 1
24074 @endif tar
24076 .PHONY: maybe-clean-tar clean-tar
24077 maybe-clean-tar:
24078 @if tar
24079 maybe-clean-tar: clean-tar
24081 clean-tar:
24082 @$(unstage)
24083 @[ -f ./tar/Makefile ] || exit 0; \
24084 r=`${PWD_COMMAND}`; export r; \
24085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24086 $(HOST_EXPORTS) \
24087 for flag in $(EXTRA_HOST_FLAGS) ; do \
24088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24089 done; \
24090 echo "Doing clean in tar" ; \
24091 (cd $(HOST_SUBDIR)/tar && \
24092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24094 "RANLIB=$${RANLIB}" \
24095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24096 clean) \
24097 || exit 1
24099 @endif tar
24101 .PHONY: maybe-distclean-tar distclean-tar
24102 maybe-distclean-tar:
24103 @if tar
24104 maybe-distclean-tar: distclean-tar
24106 distclean-tar:
24107 @$(unstage)
24108 @[ -f ./tar/Makefile ] || exit 0; \
24109 r=`${PWD_COMMAND}`; export r; \
24110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24111 $(HOST_EXPORTS) \
24112 for flag in $(EXTRA_HOST_FLAGS) ; do \
24113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24114 done; \
24115 echo "Doing distclean in tar" ; \
24116 (cd $(HOST_SUBDIR)/tar && \
24117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24119 "RANLIB=$${RANLIB}" \
24120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24121 distclean) \
24122 || exit 1
24124 @endif tar
24126 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
24127 maybe-maintainer-clean-tar:
24128 @if tar
24129 maybe-maintainer-clean-tar: maintainer-clean-tar
24131 maintainer-clean-tar:
24132 @$(unstage)
24133 @[ -f ./tar/Makefile ] || exit 0; \
24134 r=`${PWD_COMMAND}`; export r; \
24135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24136 $(HOST_EXPORTS) \
24137 for flag in $(EXTRA_HOST_FLAGS) ; do \
24138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24139 done; \
24140 echo "Doing maintainer-clean in tar" ; \
24141 (cd $(HOST_SUBDIR)/tar && \
24142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24144 "RANLIB=$${RANLIB}" \
24145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24146 maintainer-clean) \
24147 || exit 1
24149 @endif tar
24153 .PHONY: configure-texinfo maybe-configure-texinfo
24154 maybe-configure-texinfo:
24155 @if texinfo
24156 maybe-configure-texinfo: configure-texinfo
24157 configure-texinfo:
24158 @$(unstage)
24159 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
24160 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
24161 r=`${PWD_COMMAND}`; export r; \
24162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24163 $(HOST_EXPORTS) \
24164 echo Configuring in $(HOST_SUBDIR)/texinfo; \
24165 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
24166 case $(srcdir) in \
24167 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24168 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
24169 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24170 esac; \
24171 srcdiroption="--srcdir=$${topdir}/texinfo"; \
24172 libsrcdir="$$s/texinfo"; \
24173 $(SHELL) $${libsrcdir}/configure \
24174 $(HOST_CONFIGARGS) $${srcdiroption} \
24175 || exit 1
24176 @endif texinfo
24182 .PHONY: all-texinfo maybe-all-texinfo
24183 maybe-all-texinfo:
24184 @if texinfo
24185 TARGET-texinfo=all
24186 maybe-all-texinfo: all-texinfo
24187 all-texinfo: configure-texinfo
24188 @$(unstage)
24189 @r=`${PWD_COMMAND}`; export r; \
24190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24191 $(HOST_EXPORTS) \
24192 (cd $(HOST_SUBDIR)/texinfo && \
24193 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
24194 @endif texinfo
24199 .PHONY: check-texinfo maybe-check-texinfo
24200 maybe-check-texinfo:
24201 @if texinfo
24202 maybe-check-texinfo: check-texinfo
24204 check-texinfo:
24205 @$(unstage)
24206 @r=`${PWD_COMMAND}`; export r; \
24207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24208 $(HOST_EXPORTS) \
24209 (cd $(HOST_SUBDIR)/texinfo && \
24210 $(MAKE) $(FLAGS_TO_PASS) check)
24212 @endif texinfo
24214 .PHONY: install-texinfo maybe-install-texinfo
24215 maybe-install-texinfo:
24216 @if texinfo
24217 maybe-install-texinfo: install-texinfo
24219 install-texinfo:
24221 @endif texinfo
24223 # Other targets (info, dvi, etc.)
24225 .PHONY: maybe-info-texinfo info-texinfo
24226 maybe-info-texinfo:
24227 @if texinfo
24228 maybe-info-texinfo: info-texinfo
24230 info-texinfo: \
24231 configure-texinfo
24232 @$(unstage)
24233 @[ -f ./texinfo/Makefile ] || exit 0; \
24234 r=`${PWD_COMMAND}`; export r; \
24235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24236 $(HOST_EXPORTS) \
24237 for flag in $(EXTRA_HOST_FLAGS) ; do \
24238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24239 done; \
24240 echo "Doing info in texinfo" ; \
24241 (cd $(HOST_SUBDIR)/texinfo && \
24242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24244 "RANLIB=$${RANLIB}" \
24245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24246 info) \
24247 || exit 1
24249 @endif texinfo
24251 .PHONY: maybe-dvi-texinfo dvi-texinfo
24252 maybe-dvi-texinfo:
24253 @if texinfo
24254 maybe-dvi-texinfo: dvi-texinfo
24256 dvi-texinfo: \
24257 configure-texinfo
24258 @$(unstage)
24259 @[ -f ./texinfo/Makefile ] || exit 0; \
24260 r=`${PWD_COMMAND}`; export r; \
24261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24262 $(HOST_EXPORTS) \
24263 for flag in $(EXTRA_HOST_FLAGS) ; do \
24264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24265 done; \
24266 echo "Doing dvi in texinfo" ; \
24267 (cd $(HOST_SUBDIR)/texinfo && \
24268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24270 "RANLIB=$${RANLIB}" \
24271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24272 dvi) \
24273 || exit 1
24275 @endif texinfo
24277 .PHONY: maybe-html-texinfo html-texinfo
24278 maybe-html-texinfo:
24279 @if texinfo
24280 maybe-html-texinfo: html-texinfo
24282 html-texinfo: \
24283 configure-texinfo
24284 @$(unstage)
24285 @[ -f ./texinfo/Makefile ] || exit 0; \
24286 r=`${PWD_COMMAND}`; export r; \
24287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24288 $(HOST_EXPORTS) \
24289 for flag in $(EXTRA_HOST_FLAGS) ; do \
24290 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24291 done; \
24292 echo "Doing html in texinfo" ; \
24293 (cd $(HOST_SUBDIR)/texinfo && \
24294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24296 "RANLIB=$${RANLIB}" \
24297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24298 html) \
24299 || exit 1
24301 @endif texinfo
24303 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
24304 maybe-TAGS-texinfo:
24305 @if texinfo
24306 maybe-TAGS-texinfo: TAGS-texinfo
24308 TAGS-texinfo: \
24309 configure-texinfo
24310 @$(unstage)
24311 @[ -f ./texinfo/Makefile ] || exit 0; \
24312 r=`${PWD_COMMAND}`; export r; \
24313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24314 $(HOST_EXPORTS) \
24315 for flag in $(EXTRA_HOST_FLAGS) ; do \
24316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24317 done; \
24318 echo "Doing TAGS in texinfo" ; \
24319 (cd $(HOST_SUBDIR)/texinfo && \
24320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24322 "RANLIB=$${RANLIB}" \
24323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24324 TAGS) \
24325 || exit 1
24327 @endif texinfo
24329 .PHONY: maybe-install-info-texinfo install-info-texinfo
24330 maybe-install-info-texinfo:
24331 @if texinfo
24332 maybe-install-info-texinfo: install-info-texinfo
24334 install-info-texinfo: \
24335 configure-texinfo \
24336 info-texinfo
24337 @$(unstage)
24338 @[ -f ./texinfo/Makefile ] || exit 0; \
24339 r=`${PWD_COMMAND}`; export r; \
24340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24341 $(HOST_EXPORTS) \
24342 for flag in $(EXTRA_HOST_FLAGS) ; do \
24343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24344 done; \
24345 echo "Doing install-info in texinfo" ; \
24346 (cd $(HOST_SUBDIR)/texinfo && \
24347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24349 "RANLIB=$${RANLIB}" \
24350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24351 install-info) \
24352 || exit 1
24354 @endif texinfo
24356 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
24357 maybe-installcheck-texinfo:
24358 @if texinfo
24359 maybe-installcheck-texinfo: installcheck-texinfo
24361 installcheck-texinfo: \
24362 configure-texinfo
24363 @$(unstage)
24364 @[ -f ./texinfo/Makefile ] || exit 0; \
24365 r=`${PWD_COMMAND}`; export r; \
24366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24367 $(HOST_EXPORTS) \
24368 for flag in $(EXTRA_HOST_FLAGS) ; do \
24369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24370 done; \
24371 echo "Doing installcheck in texinfo" ; \
24372 (cd $(HOST_SUBDIR)/texinfo && \
24373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24375 "RANLIB=$${RANLIB}" \
24376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24377 installcheck) \
24378 || exit 1
24380 @endif texinfo
24382 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
24383 maybe-mostlyclean-texinfo:
24384 @if texinfo
24385 maybe-mostlyclean-texinfo: mostlyclean-texinfo
24387 mostlyclean-texinfo:
24388 @$(unstage)
24389 @[ -f ./texinfo/Makefile ] || exit 0; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(HOST_EXPORTS) \
24393 for flag in $(EXTRA_HOST_FLAGS) ; do \
24394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24395 done; \
24396 echo "Doing mostlyclean in texinfo" ; \
24397 (cd $(HOST_SUBDIR)/texinfo && \
24398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24400 "RANLIB=$${RANLIB}" \
24401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24402 mostlyclean) \
24403 || exit 1
24405 @endif texinfo
24407 .PHONY: maybe-clean-texinfo clean-texinfo
24408 maybe-clean-texinfo:
24409 @if texinfo
24410 maybe-clean-texinfo: clean-texinfo
24412 clean-texinfo:
24413 @$(unstage)
24414 @[ -f ./texinfo/Makefile ] || exit 0; \
24415 r=`${PWD_COMMAND}`; export r; \
24416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24417 $(HOST_EXPORTS) \
24418 for flag in $(EXTRA_HOST_FLAGS) ; do \
24419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24420 done; \
24421 echo "Doing clean in texinfo" ; \
24422 (cd $(HOST_SUBDIR)/texinfo && \
24423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24425 "RANLIB=$${RANLIB}" \
24426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24427 clean) \
24428 || exit 1
24430 @endif texinfo
24432 .PHONY: maybe-distclean-texinfo distclean-texinfo
24433 maybe-distclean-texinfo:
24434 @if texinfo
24435 maybe-distclean-texinfo: distclean-texinfo
24437 distclean-texinfo:
24438 @$(unstage)
24439 @[ -f ./texinfo/Makefile ] || exit 0; \
24440 r=`${PWD_COMMAND}`; export r; \
24441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24442 $(HOST_EXPORTS) \
24443 for flag in $(EXTRA_HOST_FLAGS) ; do \
24444 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24445 done; \
24446 echo "Doing distclean in texinfo" ; \
24447 (cd $(HOST_SUBDIR)/texinfo && \
24448 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24449 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24450 "RANLIB=$${RANLIB}" \
24451 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24452 distclean) \
24453 || exit 1
24455 @endif texinfo
24457 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
24458 maybe-maintainer-clean-texinfo:
24459 @if texinfo
24460 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
24462 maintainer-clean-texinfo:
24463 @$(unstage)
24464 @[ -f ./texinfo/Makefile ] || exit 0; \
24465 r=`${PWD_COMMAND}`; export r; \
24466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24467 $(HOST_EXPORTS) \
24468 for flag in $(EXTRA_HOST_FLAGS) ; do \
24469 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24470 done; \
24471 echo "Doing maintainer-clean in texinfo" ; \
24472 (cd $(HOST_SUBDIR)/texinfo && \
24473 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24474 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24475 "RANLIB=$${RANLIB}" \
24476 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24477 maintainer-clean) \
24478 || exit 1
24480 @endif texinfo
24484 .PHONY: configure-textutils maybe-configure-textutils
24485 maybe-configure-textutils:
24486 @if textutils
24487 maybe-configure-textutils: configure-textutils
24488 configure-textutils:
24489 @$(unstage)
24490 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
24491 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
24492 r=`${PWD_COMMAND}`; export r; \
24493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24494 $(HOST_EXPORTS) \
24495 echo Configuring in $(HOST_SUBDIR)/textutils; \
24496 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
24497 case $(srcdir) in \
24498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24499 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
24500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24501 esac; \
24502 srcdiroption="--srcdir=$${topdir}/textutils"; \
24503 libsrcdir="$$s/textutils"; \
24504 $(SHELL) $${libsrcdir}/configure \
24505 $(HOST_CONFIGARGS) $${srcdiroption} \
24506 || exit 1
24507 @endif textutils
24513 .PHONY: all-textutils maybe-all-textutils
24514 maybe-all-textutils:
24515 @if textutils
24516 TARGET-textutils=all
24517 maybe-all-textutils: all-textutils
24518 all-textutils: configure-textutils
24519 @$(unstage)
24520 @r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(HOST_EXPORTS) \
24523 (cd $(HOST_SUBDIR)/textutils && \
24524 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
24525 @endif textutils
24530 .PHONY: check-textutils maybe-check-textutils
24531 maybe-check-textutils:
24532 @if textutils
24533 maybe-check-textutils: check-textutils
24535 check-textutils:
24536 @$(unstage)
24537 @r=`${PWD_COMMAND}`; export r; \
24538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24539 $(HOST_EXPORTS) \
24540 (cd $(HOST_SUBDIR)/textutils && \
24541 $(MAKE) $(FLAGS_TO_PASS) check)
24543 @endif textutils
24545 .PHONY: install-textutils maybe-install-textutils
24546 maybe-install-textutils:
24547 @if textutils
24548 maybe-install-textutils: install-textutils
24550 install-textutils: installdirs
24551 @$(unstage)
24552 @r=`${PWD_COMMAND}`; export r; \
24553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24554 $(HOST_EXPORTS) \
24555 (cd $(HOST_SUBDIR)/textutils && \
24556 $(MAKE) $(FLAGS_TO_PASS) install)
24558 @endif textutils
24560 # Other targets (info, dvi, etc.)
24562 .PHONY: maybe-info-textutils info-textutils
24563 maybe-info-textutils:
24564 @if textutils
24565 maybe-info-textutils: info-textutils
24567 info-textutils: \
24568 configure-textutils
24569 @$(unstage)
24570 @[ -f ./textutils/Makefile ] || exit 0; \
24571 r=`${PWD_COMMAND}`; export r; \
24572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24573 $(HOST_EXPORTS) \
24574 for flag in $(EXTRA_HOST_FLAGS) ; do \
24575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24576 done; \
24577 echo "Doing info in textutils" ; \
24578 (cd $(HOST_SUBDIR)/textutils && \
24579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24581 "RANLIB=$${RANLIB}" \
24582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24583 info) \
24584 || exit 1
24586 @endif textutils
24588 .PHONY: maybe-dvi-textutils dvi-textutils
24589 maybe-dvi-textutils:
24590 @if textutils
24591 maybe-dvi-textutils: dvi-textutils
24593 dvi-textutils: \
24594 configure-textutils
24595 @$(unstage)
24596 @[ -f ./textutils/Makefile ] || exit 0; \
24597 r=`${PWD_COMMAND}`; export r; \
24598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24599 $(HOST_EXPORTS) \
24600 for flag in $(EXTRA_HOST_FLAGS) ; do \
24601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24602 done; \
24603 echo "Doing dvi in textutils" ; \
24604 (cd $(HOST_SUBDIR)/textutils && \
24605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24607 "RANLIB=$${RANLIB}" \
24608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24609 dvi) \
24610 || exit 1
24612 @endif textutils
24614 .PHONY: maybe-html-textutils html-textutils
24615 maybe-html-textutils:
24616 @if textutils
24617 maybe-html-textutils: html-textutils
24619 html-textutils: \
24620 configure-textutils
24621 @$(unstage)
24622 @[ -f ./textutils/Makefile ] || exit 0; \
24623 r=`${PWD_COMMAND}`; export r; \
24624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24625 $(HOST_EXPORTS) \
24626 for flag in $(EXTRA_HOST_FLAGS) ; do \
24627 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24628 done; \
24629 echo "Doing html in textutils" ; \
24630 (cd $(HOST_SUBDIR)/textutils && \
24631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24633 "RANLIB=$${RANLIB}" \
24634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24635 html) \
24636 || exit 1
24638 @endif textutils
24640 .PHONY: maybe-TAGS-textutils TAGS-textutils
24641 maybe-TAGS-textutils:
24642 @if textutils
24643 maybe-TAGS-textutils: TAGS-textutils
24645 TAGS-textutils: \
24646 configure-textutils
24647 @$(unstage)
24648 @[ -f ./textutils/Makefile ] || exit 0; \
24649 r=`${PWD_COMMAND}`; export r; \
24650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24651 $(HOST_EXPORTS) \
24652 for flag in $(EXTRA_HOST_FLAGS) ; do \
24653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24654 done; \
24655 echo "Doing TAGS in textutils" ; \
24656 (cd $(HOST_SUBDIR)/textutils && \
24657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24659 "RANLIB=$${RANLIB}" \
24660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24661 TAGS) \
24662 || exit 1
24664 @endif textutils
24666 .PHONY: maybe-install-info-textutils install-info-textutils
24667 maybe-install-info-textutils:
24668 @if textutils
24669 maybe-install-info-textutils: install-info-textutils
24671 install-info-textutils: \
24672 configure-textutils \
24673 info-textutils
24674 @$(unstage)
24675 @[ -f ./textutils/Makefile ] || exit 0; \
24676 r=`${PWD_COMMAND}`; export r; \
24677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24678 $(HOST_EXPORTS) \
24679 for flag in $(EXTRA_HOST_FLAGS) ; do \
24680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24681 done; \
24682 echo "Doing install-info in textutils" ; \
24683 (cd $(HOST_SUBDIR)/textutils && \
24684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24686 "RANLIB=$${RANLIB}" \
24687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24688 install-info) \
24689 || exit 1
24691 @endif textutils
24693 .PHONY: maybe-installcheck-textutils installcheck-textutils
24694 maybe-installcheck-textutils:
24695 @if textutils
24696 maybe-installcheck-textutils: installcheck-textutils
24698 installcheck-textutils: \
24699 configure-textutils
24700 @$(unstage)
24701 @[ -f ./textutils/Makefile ] || exit 0; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(HOST_EXPORTS) \
24705 for flag in $(EXTRA_HOST_FLAGS) ; do \
24706 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24707 done; \
24708 echo "Doing installcheck in textutils" ; \
24709 (cd $(HOST_SUBDIR)/textutils && \
24710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24712 "RANLIB=$${RANLIB}" \
24713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24714 installcheck) \
24715 || exit 1
24717 @endif textutils
24719 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24720 maybe-mostlyclean-textutils:
24721 @if textutils
24722 maybe-mostlyclean-textutils: mostlyclean-textutils
24724 mostlyclean-textutils:
24725 @$(unstage)
24726 @[ -f ./textutils/Makefile ] || exit 0; \
24727 r=`${PWD_COMMAND}`; export r; \
24728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24729 $(HOST_EXPORTS) \
24730 for flag in $(EXTRA_HOST_FLAGS) ; do \
24731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24732 done; \
24733 echo "Doing mostlyclean in textutils" ; \
24734 (cd $(HOST_SUBDIR)/textutils && \
24735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24737 "RANLIB=$${RANLIB}" \
24738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24739 mostlyclean) \
24740 || exit 1
24742 @endif textutils
24744 .PHONY: maybe-clean-textutils clean-textutils
24745 maybe-clean-textutils:
24746 @if textutils
24747 maybe-clean-textutils: clean-textutils
24749 clean-textutils:
24750 @$(unstage)
24751 @[ -f ./textutils/Makefile ] || exit 0; \
24752 r=`${PWD_COMMAND}`; export r; \
24753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24754 $(HOST_EXPORTS) \
24755 for flag in $(EXTRA_HOST_FLAGS) ; do \
24756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24757 done; \
24758 echo "Doing clean in textutils" ; \
24759 (cd $(HOST_SUBDIR)/textutils && \
24760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24762 "RANLIB=$${RANLIB}" \
24763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24764 clean) \
24765 || exit 1
24767 @endif textutils
24769 .PHONY: maybe-distclean-textutils distclean-textutils
24770 maybe-distclean-textutils:
24771 @if textutils
24772 maybe-distclean-textutils: distclean-textutils
24774 distclean-textutils:
24775 @$(unstage)
24776 @[ -f ./textutils/Makefile ] || exit 0; \
24777 r=`${PWD_COMMAND}`; export r; \
24778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24779 $(HOST_EXPORTS) \
24780 for flag in $(EXTRA_HOST_FLAGS) ; do \
24781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24782 done; \
24783 echo "Doing distclean in textutils" ; \
24784 (cd $(HOST_SUBDIR)/textutils && \
24785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24787 "RANLIB=$${RANLIB}" \
24788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24789 distclean) \
24790 || exit 1
24792 @endif textutils
24794 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24795 maybe-maintainer-clean-textutils:
24796 @if textutils
24797 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24799 maintainer-clean-textutils:
24800 @$(unstage)
24801 @[ -f ./textutils/Makefile ] || exit 0; \
24802 r=`${PWD_COMMAND}`; export r; \
24803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24804 $(HOST_EXPORTS) \
24805 for flag in $(EXTRA_HOST_FLAGS) ; do \
24806 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24807 done; \
24808 echo "Doing maintainer-clean in textutils" ; \
24809 (cd $(HOST_SUBDIR)/textutils && \
24810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24812 "RANLIB=$${RANLIB}" \
24813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24814 maintainer-clean) \
24815 || exit 1
24817 @endif textutils
24821 .PHONY: configure-time maybe-configure-time
24822 maybe-configure-time:
24823 @if time
24824 maybe-configure-time: configure-time
24825 configure-time:
24826 @$(unstage)
24827 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24828 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24829 r=`${PWD_COMMAND}`; export r; \
24830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24831 $(HOST_EXPORTS) \
24832 echo Configuring in $(HOST_SUBDIR)/time; \
24833 cd "$(HOST_SUBDIR)/time" || exit 1; \
24834 case $(srcdir) in \
24835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24836 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24838 esac; \
24839 srcdiroption="--srcdir=$${topdir}/time"; \
24840 libsrcdir="$$s/time"; \
24841 $(SHELL) $${libsrcdir}/configure \
24842 $(HOST_CONFIGARGS) $${srcdiroption} \
24843 || exit 1
24844 @endif time
24850 .PHONY: all-time maybe-all-time
24851 maybe-all-time:
24852 @if time
24853 TARGET-time=all
24854 maybe-all-time: all-time
24855 all-time: configure-time
24856 @$(unstage)
24857 @r=`${PWD_COMMAND}`; export r; \
24858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24859 $(HOST_EXPORTS) \
24860 (cd $(HOST_SUBDIR)/time && \
24861 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24862 @endif time
24867 .PHONY: check-time maybe-check-time
24868 maybe-check-time:
24869 @if time
24870 maybe-check-time: check-time
24872 check-time:
24873 @$(unstage)
24874 @r=`${PWD_COMMAND}`; export r; \
24875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24876 $(HOST_EXPORTS) \
24877 (cd $(HOST_SUBDIR)/time && \
24878 $(MAKE) $(FLAGS_TO_PASS) check)
24880 @endif time
24882 .PHONY: install-time maybe-install-time
24883 maybe-install-time:
24884 @if time
24885 maybe-install-time: install-time
24887 install-time: installdirs
24888 @$(unstage)
24889 @r=`${PWD_COMMAND}`; export r; \
24890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24891 $(HOST_EXPORTS) \
24892 (cd $(HOST_SUBDIR)/time && \
24893 $(MAKE) $(FLAGS_TO_PASS) install)
24895 @endif time
24897 # Other targets (info, dvi, etc.)
24899 .PHONY: maybe-info-time info-time
24900 maybe-info-time:
24901 @if time
24902 maybe-info-time: info-time
24904 info-time: \
24905 configure-time
24906 @$(unstage)
24907 @[ -f ./time/Makefile ] || exit 0; \
24908 r=`${PWD_COMMAND}`; export r; \
24909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24910 $(HOST_EXPORTS) \
24911 for flag in $(EXTRA_HOST_FLAGS) ; do \
24912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24913 done; \
24914 echo "Doing info in time" ; \
24915 (cd $(HOST_SUBDIR)/time && \
24916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24918 "RANLIB=$${RANLIB}" \
24919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24920 info) \
24921 || exit 1
24923 @endif time
24925 .PHONY: maybe-dvi-time dvi-time
24926 maybe-dvi-time:
24927 @if time
24928 maybe-dvi-time: dvi-time
24930 dvi-time: \
24931 configure-time
24932 @$(unstage)
24933 @[ -f ./time/Makefile ] || exit 0; \
24934 r=`${PWD_COMMAND}`; export r; \
24935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24936 $(HOST_EXPORTS) \
24937 for flag in $(EXTRA_HOST_FLAGS) ; do \
24938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24939 done; \
24940 echo "Doing dvi in time" ; \
24941 (cd $(HOST_SUBDIR)/time && \
24942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24944 "RANLIB=$${RANLIB}" \
24945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24946 dvi) \
24947 || exit 1
24949 @endif time
24951 .PHONY: maybe-html-time html-time
24952 maybe-html-time:
24953 @if time
24954 maybe-html-time: html-time
24956 html-time: \
24957 configure-time
24958 @$(unstage)
24959 @[ -f ./time/Makefile ] || exit 0; \
24960 r=`${PWD_COMMAND}`; export r; \
24961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24962 $(HOST_EXPORTS) \
24963 for flag in $(EXTRA_HOST_FLAGS) ; do \
24964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24965 done; \
24966 echo "Doing html in time" ; \
24967 (cd $(HOST_SUBDIR)/time && \
24968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24970 "RANLIB=$${RANLIB}" \
24971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24972 html) \
24973 || exit 1
24975 @endif time
24977 .PHONY: maybe-TAGS-time TAGS-time
24978 maybe-TAGS-time:
24979 @if time
24980 maybe-TAGS-time: TAGS-time
24982 TAGS-time: \
24983 configure-time
24984 @$(unstage)
24985 @[ -f ./time/Makefile ] || exit 0; \
24986 r=`${PWD_COMMAND}`; export r; \
24987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24988 $(HOST_EXPORTS) \
24989 for flag in $(EXTRA_HOST_FLAGS) ; do \
24990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24991 done; \
24992 echo "Doing TAGS in time" ; \
24993 (cd $(HOST_SUBDIR)/time && \
24994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24996 "RANLIB=$${RANLIB}" \
24997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24998 TAGS) \
24999 || exit 1
25001 @endif time
25003 .PHONY: maybe-install-info-time install-info-time
25004 maybe-install-info-time:
25005 @if time
25006 maybe-install-info-time: install-info-time
25008 install-info-time: \
25009 configure-time \
25010 info-time
25011 @$(unstage)
25012 @[ -f ./time/Makefile ] || exit 0; \
25013 r=`${PWD_COMMAND}`; export r; \
25014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25015 $(HOST_EXPORTS) \
25016 for flag in $(EXTRA_HOST_FLAGS) ; do \
25017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25018 done; \
25019 echo "Doing install-info in time" ; \
25020 (cd $(HOST_SUBDIR)/time && \
25021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25023 "RANLIB=$${RANLIB}" \
25024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25025 install-info) \
25026 || exit 1
25028 @endif time
25030 .PHONY: maybe-installcheck-time installcheck-time
25031 maybe-installcheck-time:
25032 @if time
25033 maybe-installcheck-time: installcheck-time
25035 installcheck-time: \
25036 configure-time
25037 @$(unstage)
25038 @[ -f ./time/Makefile ] || exit 0; \
25039 r=`${PWD_COMMAND}`; export r; \
25040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25041 $(HOST_EXPORTS) \
25042 for flag in $(EXTRA_HOST_FLAGS) ; do \
25043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25044 done; \
25045 echo "Doing installcheck in time" ; \
25046 (cd $(HOST_SUBDIR)/time && \
25047 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25048 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25049 "RANLIB=$${RANLIB}" \
25050 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25051 installcheck) \
25052 || exit 1
25054 @endif time
25056 .PHONY: maybe-mostlyclean-time mostlyclean-time
25057 maybe-mostlyclean-time:
25058 @if time
25059 maybe-mostlyclean-time: mostlyclean-time
25061 mostlyclean-time:
25062 @$(unstage)
25063 @[ -f ./time/Makefile ] || exit 0; \
25064 r=`${PWD_COMMAND}`; export r; \
25065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25066 $(HOST_EXPORTS) \
25067 for flag in $(EXTRA_HOST_FLAGS) ; do \
25068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25069 done; \
25070 echo "Doing mostlyclean in time" ; \
25071 (cd $(HOST_SUBDIR)/time && \
25072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25074 "RANLIB=$${RANLIB}" \
25075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25076 mostlyclean) \
25077 || exit 1
25079 @endif time
25081 .PHONY: maybe-clean-time clean-time
25082 maybe-clean-time:
25083 @if time
25084 maybe-clean-time: clean-time
25086 clean-time:
25087 @$(unstage)
25088 @[ -f ./time/Makefile ] || exit 0; \
25089 r=`${PWD_COMMAND}`; export r; \
25090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25091 $(HOST_EXPORTS) \
25092 for flag in $(EXTRA_HOST_FLAGS) ; do \
25093 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25094 done; \
25095 echo "Doing clean in time" ; \
25096 (cd $(HOST_SUBDIR)/time && \
25097 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25098 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25099 "RANLIB=$${RANLIB}" \
25100 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25101 clean) \
25102 || exit 1
25104 @endif time
25106 .PHONY: maybe-distclean-time distclean-time
25107 maybe-distclean-time:
25108 @if time
25109 maybe-distclean-time: distclean-time
25111 distclean-time:
25112 @$(unstage)
25113 @[ -f ./time/Makefile ] || exit 0; \
25114 r=`${PWD_COMMAND}`; export r; \
25115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25116 $(HOST_EXPORTS) \
25117 for flag in $(EXTRA_HOST_FLAGS) ; do \
25118 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25119 done; \
25120 echo "Doing distclean in time" ; \
25121 (cd $(HOST_SUBDIR)/time && \
25122 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25123 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25124 "RANLIB=$${RANLIB}" \
25125 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25126 distclean) \
25127 || exit 1
25129 @endif time
25131 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
25132 maybe-maintainer-clean-time:
25133 @if time
25134 maybe-maintainer-clean-time: maintainer-clean-time
25136 maintainer-clean-time:
25137 @$(unstage)
25138 @[ -f ./time/Makefile ] || exit 0; \
25139 r=`${PWD_COMMAND}`; export r; \
25140 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25141 $(HOST_EXPORTS) \
25142 for flag in $(EXTRA_HOST_FLAGS) ; do \
25143 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25144 done; \
25145 echo "Doing maintainer-clean in time" ; \
25146 (cd $(HOST_SUBDIR)/time && \
25147 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25148 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25149 "RANLIB=$${RANLIB}" \
25150 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25151 maintainer-clean) \
25152 || exit 1
25154 @endif time
25158 .PHONY: configure-uudecode maybe-configure-uudecode
25159 maybe-configure-uudecode:
25160 @if uudecode
25161 maybe-configure-uudecode: configure-uudecode
25162 configure-uudecode:
25163 @$(unstage)
25164 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
25165 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
25166 r=`${PWD_COMMAND}`; export r; \
25167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25168 $(HOST_EXPORTS) \
25169 echo Configuring in $(HOST_SUBDIR)/uudecode; \
25170 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
25171 case $(srcdir) in \
25172 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25173 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
25174 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25175 esac; \
25176 srcdiroption="--srcdir=$${topdir}/uudecode"; \
25177 libsrcdir="$$s/uudecode"; \
25178 $(SHELL) $${libsrcdir}/configure \
25179 $(HOST_CONFIGARGS) $${srcdiroption} \
25180 || exit 1
25181 @endif uudecode
25187 .PHONY: all-uudecode maybe-all-uudecode
25188 maybe-all-uudecode:
25189 @if uudecode
25190 TARGET-uudecode=all
25191 maybe-all-uudecode: all-uudecode
25192 all-uudecode: configure-uudecode
25193 @$(unstage)
25194 @r=`${PWD_COMMAND}`; export r; \
25195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25196 $(HOST_EXPORTS) \
25197 (cd $(HOST_SUBDIR)/uudecode && \
25198 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
25199 @endif uudecode
25204 .PHONY: check-uudecode maybe-check-uudecode
25205 maybe-check-uudecode:
25206 @if uudecode
25207 maybe-check-uudecode: check-uudecode
25209 check-uudecode:
25210 @$(unstage)
25211 @r=`${PWD_COMMAND}`; export r; \
25212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25213 $(HOST_EXPORTS) \
25214 (cd $(HOST_SUBDIR)/uudecode && \
25215 $(MAKE) $(FLAGS_TO_PASS) check)
25217 @endif uudecode
25219 .PHONY: install-uudecode maybe-install-uudecode
25220 maybe-install-uudecode:
25221 @if uudecode
25222 maybe-install-uudecode: install-uudecode
25224 install-uudecode: installdirs
25225 @$(unstage)
25226 @r=`${PWD_COMMAND}`; export r; \
25227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25228 $(HOST_EXPORTS) \
25229 (cd $(HOST_SUBDIR)/uudecode && \
25230 $(MAKE) $(FLAGS_TO_PASS) install)
25232 @endif uudecode
25234 # Other targets (info, dvi, etc.)
25236 .PHONY: maybe-info-uudecode info-uudecode
25237 maybe-info-uudecode:
25238 @if uudecode
25239 maybe-info-uudecode: info-uudecode
25241 info-uudecode: \
25242 configure-uudecode
25243 @$(unstage)
25244 @[ -f ./uudecode/Makefile ] || exit 0; \
25245 r=`${PWD_COMMAND}`; export r; \
25246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25247 $(HOST_EXPORTS) \
25248 for flag in $(EXTRA_HOST_FLAGS) ; do \
25249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25250 done; \
25251 echo "Doing info in uudecode" ; \
25252 (cd $(HOST_SUBDIR)/uudecode && \
25253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25255 "RANLIB=$${RANLIB}" \
25256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25257 info) \
25258 || exit 1
25260 @endif uudecode
25262 .PHONY: maybe-dvi-uudecode dvi-uudecode
25263 maybe-dvi-uudecode:
25264 @if uudecode
25265 maybe-dvi-uudecode: dvi-uudecode
25267 dvi-uudecode: \
25268 configure-uudecode
25269 @$(unstage)
25270 @[ -f ./uudecode/Makefile ] || exit 0; \
25271 r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25273 $(HOST_EXPORTS) \
25274 for flag in $(EXTRA_HOST_FLAGS) ; do \
25275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25276 done; \
25277 echo "Doing dvi in uudecode" ; \
25278 (cd $(HOST_SUBDIR)/uudecode && \
25279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25281 "RANLIB=$${RANLIB}" \
25282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25283 dvi) \
25284 || exit 1
25286 @endif uudecode
25288 .PHONY: maybe-html-uudecode html-uudecode
25289 maybe-html-uudecode:
25290 @if uudecode
25291 maybe-html-uudecode: html-uudecode
25293 html-uudecode: \
25294 configure-uudecode
25295 @$(unstage)
25296 @[ -f ./uudecode/Makefile ] || exit 0; \
25297 r=`${PWD_COMMAND}`; export r; \
25298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25299 $(HOST_EXPORTS) \
25300 for flag in $(EXTRA_HOST_FLAGS) ; do \
25301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25302 done; \
25303 echo "Doing html in uudecode" ; \
25304 (cd $(HOST_SUBDIR)/uudecode && \
25305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25307 "RANLIB=$${RANLIB}" \
25308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25309 html) \
25310 || exit 1
25312 @endif uudecode
25314 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
25315 maybe-TAGS-uudecode:
25316 @if uudecode
25317 maybe-TAGS-uudecode: TAGS-uudecode
25319 TAGS-uudecode: \
25320 configure-uudecode
25321 @$(unstage)
25322 @[ -f ./uudecode/Makefile ] || exit 0; \
25323 r=`${PWD_COMMAND}`; export r; \
25324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25325 $(HOST_EXPORTS) \
25326 for flag in $(EXTRA_HOST_FLAGS) ; do \
25327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25328 done; \
25329 echo "Doing TAGS in uudecode" ; \
25330 (cd $(HOST_SUBDIR)/uudecode && \
25331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25333 "RANLIB=$${RANLIB}" \
25334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25335 TAGS) \
25336 || exit 1
25338 @endif uudecode
25340 .PHONY: maybe-install-info-uudecode install-info-uudecode
25341 maybe-install-info-uudecode:
25342 @if uudecode
25343 maybe-install-info-uudecode: install-info-uudecode
25345 install-info-uudecode: \
25346 configure-uudecode \
25347 info-uudecode
25348 @$(unstage)
25349 @[ -f ./uudecode/Makefile ] || exit 0; \
25350 r=`${PWD_COMMAND}`; export r; \
25351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25352 $(HOST_EXPORTS) \
25353 for flag in $(EXTRA_HOST_FLAGS) ; do \
25354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25355 done; \
25356 echo "Doing install-info in uudecode" ; \
25357 (cd $(HOST_SUBDIR)/uudecode && \
25358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25360 "RANLIB=$${RANLIB}" \
25361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25362 install-info) \
25363 || exit 1
25365 @endif uudecode
25367 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
25368 maybe-installcheck-uudecode:
25369 @if uudecode
25370 maybe-installcheck-uudecode: installcheck-uudecode
25372 installcheck-uudecode: \
25373 configure-uudecode
25374 @$(unstage)
25375 @[ -f ./uudecode/Makefile ] || exit 0; \
25376 r=`${PWD_COMMAND}`; export r; \
25377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25378 $(HOST_EXPORTS) \
25379 for flag in $(EXTRA_HOST_FLAGS) ; do \
25380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25381 done; \
25382 echo "Doing installcheck in uudecode" ; \
25383 (cd $(HOST_SUBDIR)/uudecode && \
25384 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25385 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25386 "RANLIB=$${RANLIB}" \
25387 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25388 installcheck) \
25389 || exit 1
25391 @endif uudecode
25393 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
25394 maybe-mostlyclean-uudecode:
25395 @if uudecode
25396 maybe-mostlyclean-uudecode: mostlyclean-uudecode
25398 mostlyclean-uudecode:
25399 @$(unstage)
25400 @[ -f ./uudecode/Makefile ] || exit 0; \
25401 r=`${PWD_COMMAND}`; export r; \
25402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25403 $(HOST_EXPORTS) \
25404 for flag in $(EXTRA_HOST_FLAGS) ; do \
25405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25406 done; \
25407 echo "Doing mostlyclean in uudecode" ; \
25408 (cd $(HOST_SUBDIR)/uudecode && \
25409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25411 "RANLIB=$${RANLIB}" \
25412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25413 mostlyclean) \
25414 || exit 1
25416 @endif uudecode
25418 .PHONY: maybe-clean-uudecode clean-uudecode
25419 maybe-clean-uudecode:
25420 @if uudecode
25421 maybe-clean-uudecode: clean-uudecode
25423 clean-uudecode:
25424 @$(unstage)
25425 @[ -f ./uudecode/Makefile ] || exit 0; \
25426 r=`${PWD_COMMAND}`; export r; \
25427 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25428 $(HOST_EXPORTS) \
25429 for flag in $(EXTRA_HOST_FLAGS) ; do \
25430 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25431 done; \
25432 echo "Doing clean in uudecode" ; \
25433 (cd $(HOST_SUBDIR)/uudecode && \
25434 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25435 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25436 "RANLIB=$${RANLIB}" \
25437 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25438 clean) \
25439 || exit 1
25441 @endif uudecode
25443 .PHONY: maybe-distclean-uudecode distclean-uudecode
25444 maybe-distclean-uudecode:
25445 @if uudecode
25446 maybe-distclean-uudecode: distclean-uudecode
25448 distclean-uudecode:
25449 @$(unstage)
25450 @[ -f ./uudecode/Makefile ] || exit 0; \
25451 r=`${PWD_COMMAND}`; export r; \
25452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25453 $(HOST_EXPORTS) \
25454 for flag in $(EXTRA_HOST_FLAGS) ; do \
25455 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25456 done; \
25457 echo "Doing distclean in uudecode" ; \
25458 (cd $(HOST_SUBDIR)/uudecode && \
25459 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25460 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25461 "RANLIB=$${RANLIB}" \
25462 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25463 distclean) \
25464 || exit 1
25466 @endif uudecode
25468 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
25469 maybe-maintainer-clean-uudecode:
25470 @if uudecode
25471 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
25473 maintainer-clean-uudecode:
25474 @$(unstage)
25475 @[ -f ./uudecode/Makefile ] || exit 0; \
25476 r=`${PWD_COMMAND}`; export r; \
25477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25478 $(HOST_EXPORTS) \
25479 for flag in $(EXTRA_HOST_FLAGS) ; do \
25480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25481 done; \
25482 echo "Doing maintainer-clean in uudecode" ; \
25483 (cd $(HOST_SUBDIR)/uudecode && \
25484 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25485 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25486 "RANLIB=$${RANLIB}" \
25487 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25488 maintainer-clean) \
25489 || exit 1
25491 @endif uudecode
25495 .PHONY: configure-wdiff maybe-configure-wdiff
25496 maybe-configure-wdiff:
25497 @if wdiff
25498 maybe-configure-wdiff: configure-wdiff
25499 configure-wdiff:
25500 @$(unstage)
25501 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
25502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
25503 r=`${PWD_COMMAND}`; export r; \
25504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25505 $(HOST_EXPORTS) \
25506 echo Configuring in $(HOST_SUBDIR)/wdiff; \
25507 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
25508 case $(srcdir) in \
25509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25510 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
25511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25512 esac; \
25513 srcdiroption="--srcdir=$${topdir}/wdiff"; \
25514 libsrcdir="$$s/wdiff"; \
25515 $(SHELL) $${libsrcdir}/configure \
25516 $(HOST_CONFIGARGS) $${srcdiroption} \
25517 || exit 1
25518 @endif wdiff
25524 .PHONY: all-wdiff maybe-all-wdiff
25525 maybe-all-wdiff:
25526 @if wdiff
25527 TARGET-wdiff=all
25528 maybe-all-wdiff: all-wdiff
25529 all-wdiff: configure-wdiff
25530 @$(unstage)
25531 @r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 (cd $(HOST_SUBDIR)/wdiff && \
25535 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
25536 @endif wdiff
25541 .PHONY: check-wdiff maybe-check-wdiff
25542 maybe-check-wdiff:
25543 @if wdiff
25544 maybe-check-wdiff: check-wdiff
25546 check-wdiff:
25547 @$(unstage)
25548 @r=`${PWD_COMMAND}`; export r; \
25549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25550 $(HOST_EXPORTS) \
25551 (cd $(HOST_SUBDIR)/wdiff && \
25552 $(MAKE) $(FLAGS_TO_PASS) check)
25554 @endif wdiff
25556 .PHONY: install-wdiff maybe-install-wdiff
25557 maybe-install-wdiff:
25558 @if wdiff
25559 maybe-install-wdiff: install-wdiff
25561 install-wdiff: installdirs
25562 @$(unstage)
25563 @r=`${PWD_COMMAND}`; export r; \
25564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25565 $(HOST_EXPORTS) \
25566 (cd $(HOST_SUBDIR)/wdiff && \
25567 $(MAKE) $(FLAGS_TO_PASS) install)
25569 @endif wdiff
25571 # Other targets (info, dvi, etc.)
25573 .PHONY: maybe-info-wdiff info-wdiff
25574 maybe-info-wdiff:
25575 @if wdiff
25576 maybe-info-wdiff: info-wdiff
25578 info-wdiff: \
25579 configure-wdiff
25580 @$(unstage)
25581 @[ -f ./wdiff/Makefile ] || exit 0; \
25582 r=`${PWD_COMMAND}`; export r; \
25583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25584 $(HOST_EXPORTS) \
25585 for flag in $(EXTRA_HOST_FLAGS) ; do \
25586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25587 done; \
25588 echo "Doing info in wdiff" ; \
25589 (cd $(HOST_SUBDIR)/wdiff && \
25590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25592 "RANLIB=$${RANLIB}" \
25593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25594 info) \
25595 || exit 1
25597 @endif wdiff
25599 .PHONY: maybe-dvi-wdiff dvi-wdiff
25600 maybe-dvi-wdiff:
25601 @if wdiff
25602 maybe-dvi-wdiff: dvi-wdiff
25604 dvi-wdiff: \
25605 configure-wdiff
25606 @$(unstage)
25607 @[ -f ./wdiff/Makefile ] || exit 0; \
25608 r=`${PWD_COMMAND}`; export r; \
25609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25610 $(HOST_EXPORTS) \
25611 for flag in $(EXTRA_HOST_FLAGS) ; do \
25612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25613 done; \
25614 echo "Doing dvi in wdiff" ; \
25615 (cd $(HOST_SUBDIR)/wdiff && \
25616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25618 "RANLIB=$${RANLIB}" \
25619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25620 dvi) \
25621 || exit 1
25623 @endif wdiff
25625 .PHONY: maybe-html-wdiff html-wdiff
25626 maybe-html-wdiff:
25627 @if wdiff
25628 maybe-html-wdiff: html-wdiff
25630 html-wdiff: \
25631 configure-wdiff
25632 @$(unstage)
25633 @[ -f ./wdiff/Makefile ] || exit 0; \
25634 r=`${PWD_COMMAND}`; export r; \
25635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25636 $(HOST_EXPORTS) \
25637 for flag in $(EXTRA_HOST_FLAGS) ; do \
25638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25639 done; \
25640 echo "Doing html in wdiff" ; \
25641 (cd $(HOST_SUBDIR)/wdiff && \
25642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25644 "RANLIB=$${RANLIB}" \
25645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25646 html) \
25647 || exit 1
25649 @endif wdiff
25651 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
25652 maybe-TAGS-wdiff:
25653 @if wdiff
25654 maybe-TAGS-wdiff: TAGS-wdiff
25656 TAGS-wdiff: \
25657 configure-wdiff
25658 @$(unstage)
25659 @[ -f ./wdiff/Makefile ] || exit 0; \
25660 r=`${PWD_COMMAND}`; export r; \
25661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25662 $(HOST_EXPORTS) \
25663 for flag in $(EXTRA_HOST_FLAGS) ; do \
25664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25665 done; \
25666 echo "Doing TAGS in wdiff" ; \
25667 (cd $(HOST_SUBDIR)/wdiff && \
25668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25670 "RANLIB=$${RANLIB}" \
25671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25672 TAGS) \
25673 || exit 1
25675 @endif wdiff
25677 .PHONY: maybe-install-info-wdiff install-info-wdiff
25678 maybe-install-info-wdiff:
25679 @if wdiff
25680 maybe-install-info-wdiff: install-info-wdiff
25682 install-info-wdiff: \
25683 configure-wdiff \
25684 info-wdiff
25685 @$(unstage)
25686 @[ -f ./wdiff/Makefile ] || exit 0; \
25687 r=`${PWD_COMMAND}`; export r; \
25688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25689 $(HOST_EXPORTS) \
25690 for flag in $(EXTRA_HOST_FLAGS) ; do \
25691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25692 done; \
25693 echo "Doing install-info in wdiff" ; \
25694 (cd $(HOST_SUBDIR)/wdiff && \
25695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25697 "RANLIB=$${RANLIB}" \
25698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25699 install-info) \
25700 || exit 1
25702 @endif wdiff
25704 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25705 maybe-installcheck-wdiff:
25706 @if wdiff
25707 maybe-installcheck-wdiff: installcheck-wdiff
25709 installcheck-wdiff: \
25710 configure-wdiff
25711 @$(unstage)
25712 @[ -f ./wdiff/Makefile ] || exit 0; \
25713 r=`${PWD_COMMAND}`; export r; \
25714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25715 $(HOST_EXPORTS) \
25716 for flag in $(EXTRA_HOST_FLAGS) ; do \
25717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25718 done; \
25719 echo "Doing installcheck in wdiff" ; \
25720 (cd $(HOST_SUBDIR)/wdiff && \
25721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25723 "RANLIB=$${RANLIB}" \
25724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25725 installcheck) \
25726 || exit 1
25728 @endif wdiff
25730 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25731 maybe-mostlyclean-wdiff:
25732 @if wdiff
25733 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25735 mostlyclean-wdiff:
25736 @$(unstage)
25737 @[ -f ./wdiff/Makefile ] || exit 0; \
25738 r=`${PWD_COMMAND}`; export r; \
25739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25740 $(HOST_EXPORTS) \
25741 for flag in $(EXTRA_HOST_FLAGS) ; do \
25742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25743 done; \
25744 echo "Doing mostlyclean in wdiff" ; \
25745 (cd $(HOST_SUBDIR)/wdiff && \
25746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25748 "RANLIB=$${RANLIB}" \
25749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25750 mostlyclean) \
25751 || exit 1
25753 @endif wdiff
25755 .PHONY: maybe-clean-wdiff clean-wdiff
25756 maybe-clean-wdiff:
25757 @if wdiff
25758 maybe-clean-wdiff: clean-wdiff
25760 clean-wdiff:
25761 @$(unstage)
25762 @[ -f ./wdiff/Makefile ] || exit 0; \
25763 r=`${PWD_COMMAND}`; export r; \
25764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25765 $(HOST_EXPORTS) \
25766 for flag in $(EXTRA_HOST_FLAGS) ; do \
25767 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25768 done; \
25769 echo "Doing clean in wdiff" ; \
25770 (cd $(HOST_SUBDIR)/wdiff && \
25771 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25772 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25773 "RANLIB=$${RANLIB}" \
25774 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25775 clean) \
25776 || exit 1
25778 @endif wdiff
25780 .PHONY: maybe-distclean-wdiff distclean-wdiff
25781 maybe-distclean-wdiff:
25782 @if wdiff
25783 maybe-distclean-wdiff: distclean-wdiff
25785 distclean-wdiff:
25786 @$(unstage)
25787 @[ -f ./wdiff/Makefile ] || exit 0; \
25788 r=`${PWD_COMMAND}`; export r; \
25789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25790 $(HOST_EXPORTS) \
25791 for flag in $(EXTRA_HOST_FLAGS) ; do \
25792 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25793 done; \
25794 echo "Doing distclean in wdiff" ; \
25795 (cd $(HOST_SUBDIR)/wdiff && \
25796 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25797 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25798 "RANLIB=$${RANLIB}" \
25799 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25800 distclean) \
25801 || exit 1
25803 @endif wdiff
25805 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25806 maybe-maintainer-clean-wdiff:
25807 @if wdiff
25808 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25810 maintainer-clean-wdiff:
25811 @$(unstage)
25812 @[ -f ./wdiff/Makefile ] || exit 0; \
25813 r=`${PWD_COMMAND}`; export r; \
25814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25815 $(HOST_EXPORTS) \
25816 for flag in $(EXTRA_HOST_FLAGS) ; do \
25817 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25818 done; \
25819 echo "Doing maintainer-clean in wdiff" ; \
25820 (cd $(HOST_SUBDIR)/wdiff && \
25821 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25822 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25823 "RANLIB=$${RANLIB}" \
25824 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25825 maintainer-clean) \
25826 || exit 1
25828 @endif wdiff
25832 .PHONY: configure-zip maybe-configure-zip
25833 maybe-configure-zip:
25834 @if zip
25835 maybe-configure-zip: configure-zip
25836 configure-zip:
25837 @$(unstage)
25838 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25839 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25840 r=`${PWD_COMMAND}`; export r; \
25841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25842 $(HOST_EXPORTS) \
25843 echo Configuring in $(HOST_SUBDIR)/zip; \
25844 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25845 case $(srcdir) in \
25846 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25847 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25848 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25849 esac; \
25850 srcdiroption="--srcdir=$${topdir}/zip"; \
25851 libsrcdir="$$s/zip"; \
25852 $(SHELL) $${libsrcdir}/configure \
25853 $(HOST_CONFIGARGS) $${srcdiroption} \
25854 || exit 1
25855 @endif zip
25861 .PHONY: all-zip maybe-all-zip
25862 maybe-all-zip:
25863 @if zip
25864 TARGET-zip=all
25865 maybe-all-zip: all-zip
25866 all-zip: configure-zip
25867 @$(unstage)
25868 @r=`${PWD_COMMAND}`; export r; \
25869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25870 $(HOST_EXPORTS) \
25871 (cd $(HOST_SUBDIR)/zip && \
25872 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25873 @endif zip
25878 .PHONY: check-zip maybe-check-zip
25879 maybe-check-zip:
25880 @if zip
25881 maybe-check-zip: check-zip
25883 # This module is only tested in a native toolchain.
25884 check-zip:
25885 @$(unstage)
25886 @if [ '$(host)' = '$(target)' ] ; then \
25887 r=`${PWD_COMMAND}`; export r; \
25888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25889 $(HOST_EXPORTS) \
25890 (cd $(HOST_SUBDIR)/zip && \
25891 $(MAKE) $(FLAGS_TO_PASS) check); \
25894 @endif zip
25896 .PHONY: install-zip maybe-install-zip
25897 maybe-install-zip:
25898 @if zip
25899 maybe-install-zip: install-zip
25901 install-zip: installdirs
25902 @$(unstage)
25903 @r=`${PWD_COMMAND}`; export r; \
25904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25905 $(HOST_EXPORTS) \
25906 (cd $(HOST_SUBDIR)/zip && \
25907 $(MAKE) $(FLAGS_TO_PASS) install)
25909 @endif zip
25911 # Other targets (info, dvi, etc.)
25913 .PHONY: maybe-info-zip info-zip
25914 maybe-info-zip:
25915 @if zip
25916 maybe-info-zip: info-zip
25918 info-zip: \
25919 configure-zip
25920 @$(unstage)
25921 @[ -f ./zip/Makefile ] || exit 0; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(HOST_EXPORTS) \
25925 for flag in $(EXTRA_HOST_FLAGS) ; do \
25926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25927 done; \
25928 echo "Doing info in zip" ; \
25929 (cd $(HOST_SUBDIR)/zip && \
25930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25932 "RANLIB=$${RANLIB}" \
25933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25934 info) \
25935 || exit 1
25937 @endif zip
25939 .PHONY: maybe-dvi-zip dvi-zip
25940 maybe-dvi-zip:
25941 @if zip
25942 maybe-dvi-zip: dvi-zip
25944 dvi-zip: \
25945 configure-zip
25946 @$(unstage)
25947 @[ -f ./zip/Makefile ] || exit 0; \
25948 r=`${PWD_COMMAND}`; export r; \
25949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25950 $(HOST_EXPORTS) \
25951 for flag in $(EXTRA_HOST_FLAGS) ; do \
25952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25953 done; \
25954 echo "Doing dvi in zip" ; \
25955 (cd $(HOST_SUBDIR)/zip && \
25956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25958 "RANLIB=$${RANLIB}" \
25959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25960 dvi) \
25961 || exit 1
25963 @endif zip
25965 .PHONY: maybe-html-zip html-zip
25966 maybe-html-zip:
25967 @if zip
25968 maybe-html-zip: html-zip
25970 html-zip: \
25971 configure-zip
25972 @$(unstage)
25973 @[ -f ./zip/Makefile ] || exit 0; \
25974 r=`${PWD_COMMAND}`; export r; \
25975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25976 $(HOST_EXPORTS) \
25977 for flag in $(EXTRA_HOST_FLAGS) ; do \
25978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25979 done; \
25980 echo "Doing html in zip" ; \
25981 (cd $(HOST_SUBDIR)/zip && \
25982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25984 "RANLIB=$${RANLIB}" \
25985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25986 html) \
25987 || exit 1
25989 @endif zip
25991 .PHONY: maybe-TAGS-zip TAGS-zip
25992 maybe-TAGS-zip:
25993 @if zip
25994 maybe-TAGS-zip: TAGS-zip
25996 TAGS-zip: \
25997 configure-zip
25998 @$(unstage)
25999 @[ -f ./zip/Makefile ] || exit 0; \
26000 r=`${PWD_COMMAND}`; export r; \
26001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26002 $(HOST_EXPORTS) \
26003 for flag in $(EXTRA_HOST_FLAGS) ; do \
26004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26005 done; \
26006 echo "Doing TAGS in zip" ; \
26007 (cd $(HOST_SUBDIR)/zip && \
26008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26010 "RANLIB=$${RANLIB}" \
26011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26012 TAGS) \
26013 || exit 1
26015 @endif zip
26017 .PHONY: maybe-install-info-zip install-info-zip
26018 maybe-install-info-zip:
26019 @if zip
26020 maybe-install-info-zip: install-info-zip
26022 install-info-zip: \
26023 configure-zip \
26024 info-zip
26025 @$(unstage)
26026 @[ -f ./zip/Makefile ] || exit 0; \
26027 r=`${PWD_COMMAND}`; export r; \
26028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26029 $(HOST_EXPORTS) \
26030 for flag in $(EXTRA_HOST_FLAGS) ; do \
26031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26032 done; \
26033 echo "Doing install-info in zip" ; \
26034 (cd $(HOST_SUBDIR)/zip && \
26035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26037 "RANLIB=$${RANLIB}" \
26038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26039 install-info) \
26040 || exit 1
26042 @endif zip
26044 .PHONY: maybe-installcheck-zip installcheck-zip
26045 maybe-installcheck-zip:
26046 @if zip
26047 maybe-installcheck-zip: installcheck-zip
26049 installcheck-zip: \
26050 configure-zip
26051 @$(unstage)
26052 @[ -f ./zip/Makefile ] || exit 0; \
26053 r=`${PWD_COMMAND}`; export r; \
26054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26055 $(HOST_EXPORTS) \
26056 for flag in $(EXTRA_HOST_FLAGS) ; do \
26057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26058 done; \
26059 echo "Doing installcheck in zip" ; \
26060 (cd $(HOST_SUBDIR)/zip && \
26061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26063 "RANLIB=$${RANLIB}" \
26064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26065 installcheck) \
26066 || exit 1
26068 @endif zip
26070 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
26071 maybe-mostlyclean-zip:
26072 @if zip
26073 maybe-mostlyclean-zip: mostlyclean-zip
26075 mostlyclean-zip:
26076 @$(unstage)
26077 @[ -f ./zip/Makefile ] || exit 0; \
26078 r=`${PWD_COMMAND}`; export r; \
26079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26080 $(HOST_EXPORTS) \
26081 for flag in $(EXTRA_HOST_FLAGS) ; do \
26082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26083 done; \
26084 echo "Doing mostlyclean in zip" ; \
26085 (cd $(HOST_SUBDIR)/zip && \
26086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26088 "RANLIB=$${RANLIB}" \
26089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26090 mostlyclean) \
26091 || exit 1
26093 @endif zip
26095 .PHONY: maybe-clean-zip clean-zip
26096 maybe-clean-zip:
26097 @if zip
26098 maybe-clean-zip: clean-zip
26100 clean-zip:
26101 @$(unstage)
26102 @[ -f ./zip/Makefile ] || exit 0; \
26103 r=`${PWD_COMMAND}`; export r; \
26104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26105 $(HOST_EXPORTS) \
26106 for flag in $(EXTRA_HOST_FLAGS) ; do \
26107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 done; \
26109 echo "Doing clean in zip" ; \
26110 (cd $(HOST_SUBDIR)/zip && \
26111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26113 "RANLIB=$${RANLIB}" \
26114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26115 clean) \
26116 || exit 1
26118 @endif zip
26120 .PHONY: maybe-distclean-zip distclean-zip
26121 maybe-distclean-zip:
26122 @if zip
26123 maybe-distclean-zip: distclean-zip
26125 distclean-zip:
26126 @$(unstage)
26127 @[ -f ./zip/Makefile ] || exit 0; \
26128 r=`${PWD_COMMAND}`; export r; \
26129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26130 $(HOST_EXPORTS) \
26131 for flag in $(EXTRA_HOST_FLAGS) ; do \
26132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26133 done; \
26134 echo "Doing distclean in zip" ; \
26135 (cd $(HOST_SUBDIR)/zip && \
26136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26138 "RANLIB=$${RANLIB}" \
26139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26140 distclean) \
26141 || exit 1
26143 @endif zip
26145 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
26146 maybe-maintainer-clean-zip:
26147 @if zip
26148 maybe-maintainer-clean-zip: maintainer-clean-zip
26150 maintainer-clean-zip:
26151 @$(unstage)
26152 @[ -f ./zip/Makefile ] || exit 0; \
26153 r=`${PWD_COMMAND}`; export r; \
26154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26155 $(HOST_EXPORTS) \
26156 for flag in $(EXTRA_HOST_FLAGS) ; do \
26157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26158 done; \
26159 echo "Doing maintainer-clean in zip" ; \
26160 (cd $(HOST_SUBDIR)/zip && \
26161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26163 "RANLIB=$${RANLIB}" \
26164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26165 maintainer-clean) \
26166 || exit 1
26168 @endif zip
26172 .PHONY: configure-zlib maybe-configure-zlib
26173 maybe-configure-zlib:
26174 @if zlib
26175 maybe-configure-zlib: configure-zlib
26176 configure-zlib:
26177 @test -f stage_last && exit 0; \
26178 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
26179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
26180 r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(HOST_EXPORTS) \
26183 echo Configuring in $(HOST_SUBDIR)/zlib; \
26184 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
26185 case $(srcdir) in \
26186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26187 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26189 esac; \
26190 srcdiroption="--srcdir=$${topdir}/zlib"; \
26191 libsrcdir="$$s/zlib"; \
26192 $(SHELL) $${libsrcdir}/configure \
26193 $(HOST_CONFIGARGS) $${srcdiroption} \
26194 || exit 1
26195 @endif zlib
26199 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
26200 maybe-configure-stage1-zlib:
26201 @if zlib-bootstrap
26202 maybe-configure-stage1-zlib: configure-stage1-zlib
26203 configure-stage1-zlib:
26204 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26205 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26206 r=`${PWD_COMMAND}`; export r; \
26207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26208 $(HOST_EXPORTS) \
26209 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
26210 cd $(HOST_SUBDIR)/zlib || exit 1; \
26211 case $(srcdir) in \
26212 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26213 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26214 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26215 esac; \
26216 srcdiroption="--srcdir=$${topdir}/zlib"; \
26217 libsrcdir="$$s/zlib"; \
26218 $(SHELL) $${libsrcdir}/configure \
26219 $(HOST_CONFIGARGS) $${srcdiroption} \
26220 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
26221 @endif zlib-bootstrap
26223 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
26224 maybe-configure-stage2-zlib:
26225 @if zlib-bootstrap
26226 maybe-configure-stage2-zlib: configure-stage2-zlib
26227 configure-stage2-zlib:
26228 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26229 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26230 r=`${PWD_COMMAND}`; export r; \
26231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26232 $(HOST_EXPORTS) \
26233 $(POSTSTAGE1_HOST_EXPORTS) \
26234 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
26235 cd $(HOST_SUBDIR)/zlib || exit 1; \
26236 case $(srcdir) in \
26237 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26238 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26239 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26240 esac; \
26241 srcdiroption="--srcdir=$${topdir}/zlib"; \
26242 libsrcdir="$$s/zlib"; \
26243 $(SHELL) $${libsrcdir}/configure \
26244 $(HOST_CONFIGARGS) $${srcdiroption} \
26245 @stage2_werror_flag@
26246 @endif zlib-bootstrap
26248 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
26249 maybe-configure-stage3-zlib:
26250 @if zlib-bootstrap
26251 maybe-configure-stage3-zlib: configure-stage3-zlib
26252 configure-stage3-zlib:
26253 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26254 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26255 r=`${PWD_COMMAND}`; export r; \
26256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26257 $(HOST_EXPORTS) \
26258 $(POSTSTAGE1_HOST_EXPORTS) \
26259 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
26260 cd $(HOST_SUBDIR)/zlib || exit 1; \
26261 case $(srcdir) in \
26262 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26263 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26264 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26265 esac; \
26266 srcdiroption="--srcdir=$${topdir}/zlib"; \
26267 libsrcdir="$$s/zlib"; \
26268 $(SHELL) $${libsrcdir}/configure \
26269 $(HOST_CONFIGARGS) $${srcdiroption} \
26270 @stage2_werror_flag@
26271 @endif zlib-bootstrap
26273 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
26274 maybe-configure-stage4-zlib:
26275 @if zlib-bootstrap
26276 maybe-configure-stage4-zlib: configure-stage4-zlib
26277 configure-stage4-zlib:
26278 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26279 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26280 r=`${PWD_COMMAND}`; export r; \
26281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26282 $(HOST_EXPORTS) \
26283 $(POSTSTAGE1_HOST_EXPORTS) \
26284 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
26285 cd $(HOST_SUBDIR)/zlib || exit 1; \
26286 case $(srcdir) in \
26287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26288 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26290 esac; \
26291 srcdiroption="--srcdir=$${topdir}/zlib"; \
26292 libsrcdir="$$s/zlib"; \
26293 $(SHELL) $${libsrcdir}/configure \
26294 $(HOST_CONFIGARGS) $${srcdiroption} \
26295 @stage2_werror_flag@
26296 @endif zlib-bootstrap
26298 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
26299 maybe-configure-stageprofile-zlib:
26300 @if zlib-bootstrap
26301 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
26302 configure-stageprofile-zlib:
26303 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26304 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26305 r=`${PWD_COMMAND}`; export r; \
26306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26307 $(HOST_EXPORTS) \
26308 $(POSTSTAGE1_HOST_EXPORTS) \
26309 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
26310 cd $(HOST_SUBDIR)/zlib || exit 1; \
26311 case $(srcdir) in \
26312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26313 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26315 esac; \
26316 srcdiroption="--srcdir=$${topdir}/zlib"; \
26317 libsrcdir="$$s/zlib"; \
26318 $(SHELL) $${libsrcdir}/configure \
26319 $(HOST_CONFIGARGS) $${srcdiroption} \
26320 @stage2_werror_flag@
26321 @endif zlib-bootstrap
26323 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
26324 maybe-configure-stagefeedback-zlib:
26325 @if zlib-bootstrap
26326 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
26327 configure-stagefeedback-zlib:
26328 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26329 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
26330 r=`${PWD_COMMAND}`; export r; \
26331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26332 $(HOST_EXPORTS) \
26333 $(POSTSTAGE1_HOST_EXPORTS) \
26334 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
26335 cd $(HOST_SUBDIR)/zlib || exit 1; \
26336 case $(srcdir) in \
26337 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26338 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
26339 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26340 esac; \
26341 srcdiroption="--srcdir=$${topdir}/zlib"; \
26342 libsrcdir="$$s/zlib"; \
26343 $(SHELL) $${libsrcdir}/configure \
26344 $(HOST_CONFIGARGS) $${srcdiroption} \
26345 @stage2_werror_flag@
26346 @endif zlib-bootstrap
26352 .PHONY: all-zlib maybe-all-zlib
26353 maybe-all-zlib:
26354 @if zlib
26355 TARGET-zlib=all
26356 maybe-all-zlib: all-zlib
26357 all-zlib: configure-zlib
26358 @test -f stage_last && exit 0; \
26359 r=`${PWD_COMMAND}`; export r; \
26360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26361 $(HOST_EXPORTS) \
26362 (cd $(HOST_SUBDIR)/zlib && \
26363 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
26364 @endif zlib
26368 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
26369 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
26370 maybe-all-stage1-zlib:
26371 maybe-clean-stage1-zlib:
26372 @if zlib-bootstrap
26373 maybe-all-stage1-zlib: all-stage1-zlib
26374 all-stage1: all-stage1-zlib
26375 TARGET-stage1-zlib = $(TARGET-zlib)
26376 all-stage1-zlib: configure-stage1-zlib
26377 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26378 @r=`${PWD_COMMAND}`; export r; \
26379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26380 $(HOST_EXPORTS) \
26381 cd $(HOST_SUBDIR)/zlib && \
26382 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
26383 $(TARGET-stage1-zlib)
26385 maybe-clean-stage1-zlib: clean-stage1-zlib
26386 clean-stage1: clean-stage1-zlib
26387 clean-stage1-zlib:
26388 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
26389 || exit 0 ; \
26390 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
26391 cd $(HOST_SUBDIR)/zlib && \
26392 $(MAKE) $(FLAGS_TO_PASS) \
26393 CFLAGS="$(STAGE1_CFLAGS)" clean
26394 @endif zlib-bootstrap
26397 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
26398 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
26399 maybe-all-stage2-zlib:
26400 maybe-clean-stage2-zlib:
26401 @if zlib-bootstrap
26402 maybe-all-stage2-zlib: all-stage2-zlib
26403 all-stage2: all-stage2-zlib
26404 TARGET-stage2-zlib = $(TARGET-zlib)
26405 all-stage2-zlib: configure-stage2-zlib
26406 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26407 @r=`${PWD_COMMAND}`; export r; \
26408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26409 $(HOST_EXPORTS) \
26410 $(POSTSTAGE1_HOST_EXPORTS) \
26411 cd $(HOST_SUBDIR)/zlib && \
26412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26413 $(TARGET-stage2-zlib)
26415 maybe-clean-stage2-zlib: clean-stage2-zlib
26416 clean-stage2: clean-stage2-zlib
26417 clean-stage2-zlib:
26418 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
26419 || exit 0 ; \
26420 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
26421 cd $(HOST_SUBDIR)/zlib && \
26422 $(MAKE) $(FLAGS_TO_PASS) \
26423 $(POSTSTAGE1_FLAGS_TO_PASS) \
26424 clean
26425 @endif zlib-bootstrap
26428 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
26429 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
26430 maybe-all-stage3-zlib:
26431 maybe-clean-stage3-zlib:
26432 @if zlib-bootstrap
26433 maybe-all-stage3-zlib: all-stage3-zlib
26434 all-stage3: all-stage3-zlib
26435 TARGET-stage3-zlib = $(TARGET-zlib)
26436 all-stage3-zlib: configure-stage3-zlib
26437 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26438 @r=`${PWD_COMMAND}`; export r; \
26439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26440 $(HOST_EXPORTS) \
26441 $(POSTSTAGE1_HOST_EXPORTS) \
26442 cd $(HOST_SUBDIR)/zlib && \
26443 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26444 $(TARGET-stage3-zlib)
26446 maybe-clean-stage3-zlib: clean-stage3-zlib
26447 clean-stage3: clean-stage3-zlib
26448 clean-stage3-zlib:
26449 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
26450 || exit 0 ; \
26451 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
26452 cd $(HOST_SUBDIR)/zlib && \
26453 $(MAKE) $(FLAGS_TO_PASS) \
26454 $(POSTSTAGE1_FLAGS_TO_PASS) \
26455 clean
26456 @endif zlib-bootstrap
26459 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
26460 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
26461 maybe-all-stage4-zlib:
26462 maybe-clean-stage4-zlib:
26463 @if zlib-bootstrap
26464 maybe-all-stage4-zlib: all-stage4-zlib
26465 all-stage4: all-stage4-zlib
26466 TARGET-stage4-zlib = $(TARGET-zlib)
26467 all-stage4-zlib: configure-stage4-zlib
26468 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26469 @r=`${PWD_COMMAND}`; export r; \
26470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26471 $(HOST_EXPORTS) \
26472 $(POSTSTAGE1_HOST_EXPORTS) \
26473 cd $(HOST_SUBDIR)/zlib && \
26474 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
26475 $(TARGET-stage4-zlib)
26477 maybe-clean-stage4-zlib: clean-stage4-zlib
26478 clean-stage4: clean-stage4-zlib
26479 clean-stage4-zlib:
26480 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
26481 || exit 0 ; \
26482 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
26483 cd $(HOST_SUBDIR)/zlib && \
26484 $(MAKE) $(FLAGS_TO_PASS) \
26485 $(POSTSTAGE1_FLAGS_TO_PASS) \
26486 clean
26487 @endif zlib-bootstrap
26490 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
26491 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
26492 maybe-all-stageprofile-zlib:
26493 maybe-clean-stageprofile-zlib:
26494 @if zlib-bootstrap
26495 maybe-all-stageprofile-zlib: all-stageprofile-zlib
26496 all-stageprofile: all-stageprofile-zlib
26497 TARGET-stageprofile-zlib = $(TARGET-zlib)
26498 all-stageprofile-zlib: configure-stageprofile-zlib
26499 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26500 @r=`${PWD_COMMAND}`; export r; \
26501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26502 $(HOST_EXPORTS) \
26503 $(POSTSTAGE1_HOST_EXPORTS) \
26504 cd $(HOST_SUBDIR)/zlib && \
26505 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
26506 $(TARGET-stageprofile-zlib)
26508 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
26509 clean-stageprofile: clean-stageprofile-zlib
26510 clean-stageprofile-zlib:
26511 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
26512 || exit 0 ; \
26513 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
26514 cd $(HOST_SUBDIR)/zlib && \
26515 $(MAKE) $(FLAGS_TO_PASS) \
26516 $(POSTSTAGE1_FLAGS_TO_PASS) \
26517 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
26518 @endif zlib-bootstrap
26521 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
26522 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
26523 maybe-all-stagefeedback-zlib:
26524 maybe-clean-stagefeedback-zlib:
26525 @if zlib-bootstrap
26526 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
26527 all-stagefeedback: all-stagefeedback-zlib
26528 TARGET-stagefeedback-zlib = $(TARGET-zlib)
26529 all-stagefeedback-zlib: configure-stagefeedback-zlib
26530 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26531 @r=`${PWD_COMMAND}`; export r; \
26532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26533 $(HOST_EXPORTS) \
26534 $(POSTSTAGE1_HOST_EXPORTS) \
26535 cd $(HOST_SUBDIR)/zlib && \
26536 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
26537 $(TARGET-stagefeedback-zlib)
26539 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
26540 clean-stagefeedback: clean-stagefeedback-zlib
26541 clean-stagefeedback-zlib:
26542 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
26543 || exit 0 ; \
26544 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
26545 cd $(HOST_SUBDIR)/zlib && \
26546 $(MAKE) $(FLAGS_TO_PASS) \
26547 $(POSTSTAGE1_FLAGS_TO_PASS) \
26548 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
26549 @endif zlib-bootstrap
26555 .PHONY: check-zlib maybe-check-zlib
26556 maybe-check-zlib:
26557 @if zlib
26558 maybe-check-zlib: check-zlib
26560 check-zlib:
26562 @endif zlib
26564 .PHONY: install-zlib maybe-install-zlib
26565 maybe-install-zlib:
26566 @if zlib
26567 maybe-install-zlib: install-zlib
26569 install-zlib:
26571 @endif zlib
26573 # Other targets (info, dvi, etc.)
26575 .PHONY: maybe-info-zlib info-zlib
26576 maybe-info-zlib:
26577 @if zlib
26578 maybe-info-zlib: info-zlib
26580 info-zlib: \
26581 configure-zlib
26582 @[ -f ./zlib/Makefile ] || exit 0; \
26583 r=`${PWD_COMMAND}`; export r; \
26584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26585 $(HOST_EXPORTS) \
26586 for flag in $(EXTRA_HOST_FLAGS) ; do \
26587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26588 done; \
26589 echo "Doing info in zlib" ; \
26590 (cd $(HOST_SUBDIR)/zlib && \
26591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26593 "RANLIB=$${RANLIB}" \
26594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26595 info) \
26596 || exit 1
26598 @endif zlib
26600 .PHONY: maybe-dvi-zlib dvi-zlib
26601 maybe-dvi-zlib:
26602 @if zlib
26603 maybe-dvi-zlib: dvi-zlib
26605 dvi-zlib: \
26606 configure-zlib
26607 @[ -f ./zlib/Makefile ] || exit 0; \
26608 r=`${PWD_COMMAND}`; export r; \
26609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26610 $(HOST_EXPORTS) \
26611 for flag in $(EXTRA_HOST_FLAGS) ; do \
26612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26613 done; \
26614 echo "Doing dvi in zlib" ; \
26615 (cd $(HOST_SUBDIR)/zlib && \
26616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26618 "RANLIB=$${RANLIB}" \
26619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26620 dvi) \
26621 || exit 1
26623 @endif zlib
26625 .PHONY: maybe-html-zlib html-zlib
26626 maybe-html-zlib:
26627 @if zlib
26628 maybe-html-zlib: html-zlib
26630 html-zlib: \
26631 configure-zlib
26632 @[ -f ./zlib/Makefile ] || exit 0; \
26633 r=`${PWD_COMMAND}`; export r; \
26634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26635 $(HOST_EXPORTS) \
26636 for flag in $(EXTRA_HOST_FLAGS) ; do \
26637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26638 done; \
26639 echo "Doing html in zlib" ; \
26640 (cd $(HOST_SUBDIR)/zlib && \
26641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26643 "RANLIB=$${RANLIB}" \
26644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26645 html) \
26646 || exit 1
26648 @endif zlib
26650 .PHONY: maybe-TAGS-zlib TAGS-zlib
26651 maybe-TAGS-zlib:
26652 @if zlib
26653 maybe-TAGS-zlib: TAGS-zlib
26655 TAGS-zlib: \
26656 configure-zlib
26657 @[ -f ./zlib/Makefile ] || exit 0; \
26658 r=`${PWD_COMMAND}`; export r; \
26659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26660 $(HOST_EXPORTS) \
26661 for flag in $(EXTRA_HOST_FLAGS) ; do \
26662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26663 done; \
26664 echo "Doing TAGS in zlib" ; \
26665 (cd $(HOST_SUBDIR)/zlib && \
26666 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26667 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26668 "RANLIB=$${RANLIB}" \
26669 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26670 TAGS) \
26671 || exit 1
26673 @endif zlib
26675 .PHONY: maybe-install-info-zlib install-info-zlib
26676 maybe-install-info-zlib:
26677 @if zlib
26678 maybe-install-info-zlib: install-info-zlib
26680 install-info-zlib: \
26681 configure-zlib \
26682 info-zlib
26683 @[ -f ./zlib/Makefile ] || exit 0; \
26684 r=`${PWD_COMMAND}`; export r; \
26685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26686 $(HOST_EXPORTS) \
26687 for flag in $(EXTRA_HOST_FLAGS) ; do \
26688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26689 done; \
26690 echo "Doing install-info in zlib" ; \
26691 (cd $(HOST_SUBDIR)/zlib && \
26692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26694 "RANLIB=$${RANLIB}" \
26695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26696 install-info) \
26697 || exit 1
26699 @endif zlib
26701 .PHONY: maybe-installcheck-zlib installcheck-zlib
26702 maybe-installcheck-zlib:
26703 @if zlib
26704 maybe-installcheck-zlib: installcheck-zlib
26706 installcheck-zlib: \
26707 configure-zlib
26708 @[ -f ./zlib/Makefile ] || exit 0; \
26709 r=`${PWD_COMMAND}`; export r; \
26710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26711 $(HOST_EXPORTS) \
26712 for flag in $(EXTRA_HOST_FLAGS) ; do \
26713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26714 done; \
26715 echo "Doing installcheck in zlib" ; \
26716 (cd $(HOST_SUBDIR)/zlib && \
26717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26719 "RANLIB=$${RANLIB}" \
26720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26721 installcheck) \
26722 || exit 1
26724 @endif zlib
26726 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26727 maybe-mostlyclean-zlib:
26728 @if zlib
26729 maybe-mostlyclean-zlib: mostlyclean-zlib
26731 mostlyclean-zlib:
26732 @[ -f ./zlib/Makefile ] || exit 0; \
26733 r=`${PWD_COMMAND}`; export r; \
26734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26735 $(HOST_EXPORTS) \
26736 for flag in $(EXTRA_HOST_FLAGS) ; do \
26737 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26738 done; \
26739 echo "Doing mostlyclean in zlib" ; \
26740 (cd $(HOST_SUBDIR)/zlib && \
26741 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26742 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26743 "RANLIB=$${RANLIB}" \
26744 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26745 mostlyclean) \
26746 || exit 1
26748 @endif zlib
26750 .PHONY: maybe-clean-zlib clean-zlib
26751 maybe-clean-zlib:
26752 @if zlib
26753 maybe-clean-zlib: clean-zlib
26755 clean-zlib:
26756 @[ -f ./zlib/Makefile ] || exit 0; \
26757 r=`${PWD_COMMAND}`; export r; \
26758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26759 $(HOST_EXPORTS) \
26760 for flag in $(EXTRA_HOST_FLAGS) ; do \
26761 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26762 done; \
26763 echo "Doing clean in zlib" ; \
26764 (cd $(HOST_SUBDIR)/zlib && \
26765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26767 "RANLIB=$${RANLIB}" \
26768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26769 clean) \
26770 || exit 1
26772 @endif zlib
26774 .PHONY: maybe-distclean-zlib distclean-zlib
26775 maybe-distclean-zlib:
26776 @if zlib
26777 maybe-distclean-zlib: distclean-zlib
26779 distclean-zlib:
26780 @[ -f ./zlib/Makefile ] || exit 0; \
26781 r=`${PWD_COMMAND}`; export r; \
26782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26783 $(HOST_EXPORTS) \
26784 for flag in $(EXTRA_HOST_FLAGS) ; do \
26785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26786 done; \
26787 echo "Doing distclean in zlib" ; \
26788 (cd $(HOST_SUBDIR)/zlib && \
26789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26791 "RANLIB=$${RANLIB}" \
26792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26793 distclean) \
26794 || exit 1
26796 @endif zlib
26798 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26799 maybe-maintainer-clean-zlib:
26800 @if zlib
26801 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26803 maintainer-clean-zlib:
26804 @[ -f ./zlib/Makefile ] || exit 0; \
26805 r=`${PWD_COMMAND}`; export r; \
26806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26807 $(HOST_EXPORTS) \
26808 for flag in $(EXTRA_HOST_FLAGS) ; do \
26809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26810 done; \
26811 echo "Doing maintainer-clean in zlib" ; \
26812 (cd $(HOST_SUBDIR)/zlib && \
26813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26815 "RANLIB=$${RANLIB}" \
26816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26817 maintainer-clean) \
26818 || exit 1
26820 @endif zlib
26824 .PHONY: configure-gdb maybe-configure-gdb
26825 maybe-configure-gdb:
26826 @if gdb
26827 maybe-configure-gdb: configure-gdb
26828 configure-gdb:
26829 @$(unstage)
26830 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26831 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26832 r=`${PWD_COMMAND}`; export r; \
26833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26834 $(HOST_EXPORTS) \
26835 echo Configuring in $(HOST_SUBDIR)/gdb; \
26836 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26837 case $(srcdir) in \
26838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26839 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26841 esac; \
26842 srcdiroption="--srcdir=$${topdir}/gdb"; \
26843 libsrcdir="$$s/gdb"; \
26844 $(SHELL) $${libsrcdir}/configure \
26845 $(HOST_CONFIGARGS) $${srcdiroption} \
26846 || exit 1
26847 @endif gdb
26853 .PHONY: all-gdb maybe-all-gdb
26854 maybe-all-gdb:
26855 @if gdb
26856 TARGET-gdb=all
26857 maybe-all-gdb: all-gdb
26858 all-gdb: configure-gdb
26859 @$(unstage)
26860 @r=`${PWD_COMMAND}`; export r; \
26861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26862 $(HOST_EXPORTS) \
26863 (cd $(HOST_SUBDIR)/gdb && \
26864 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26865 @endif gdb
26870 .PHONY: check-gdb maybe-check-gdb
26871 maybe-check-gdb:
26872 @if gdb
26873 maybe-check-gdb: check-gdb
26875 check-gdb:
26876 @$(unstage)
26877 @r=`${PWD_COMMAND}`; export r; \
26878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26879 $(HOST_EXPORTS) \
26880 (cd $(HOST_SUBDIR)/gdb && \
26881 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26883 @endif gdb
26885 .PHONY: install-gdb maybe-install-gdb
26886 maybe-install-gdb:
26887 @if gdb
26888 maybe-install-gdb: install-gdb
26890 install-gdb: installdirs
26891 @$(unstage)
26892 @r=`${PWD_COMMAND}`; export r; \
26893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26894 $(HOST_EXPORTS) \
26895 (cd $(HOST_SUBDIR)/gdb && \
26896 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26898 @endif gdb
26900 # Other targets (info, dvi, etc.)
26902 .PHONY: maybe-info-gdb info-gdb
26903 maybe-info-gdb:
26904 @if gdb
26905 maybe-info-gdb: info-gdb
26907 info-gdb: \
26908 configure-gdb
26909 @$(unstage)
26910 @[ -f ./gdb/Makefile ] || exit 0; \
26911 r=`${PWD_COMMAND}`; export r; \
26912 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26913 $(HOST_EXPORTS) \
26914 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26916 done; \
26917 echo "Doing info in gdb" ; \
26918 (cd $(HOST_SUBDIR)/gdb && \
26919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26921 "RANLIB=$${RANLIB}" \
26922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26923 info) \
26924 || exit 1
26926 @endif gdb
26928 .PHONY: maybe-dvi-gdb dvi-gdb
26929 maybe-dvi-gdb:
26930 @if gdb
26931 maybe-dvi-gdb: dvi-gdb
26933 dvi-gdb: \
26934 configure-gdb
26935 @$(unstage)
26936 @[ -f ./gdb/Makefile ] || exit 0; \
26937 r=`${PWD_COMMAND}`; export r; \
26938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26939 $(HOST_EXPORTS) \
26940 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26942 done; \
26943 echo "Doing dvi in gdb" ; \
26944 (cd $(HOST_SUBDIR)/gdb && \
26945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26947 "RANLIB=$${RANLIB}" \
26948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26949 dvi) \
26950 || exit 1
26952 @endif gdb
26954 .PHONY: maybe-html-gdb html-gdb
26955 maybe-html-gdb:
26956 @if gdb
26957 maybe-html-gdb: html-gdb
26959 html-gdb: \
26960 configure-gdb
26961 @$(unstage)
26962 @[ -f ./gdb/Makefile ] || exit 0; \
26963 r=`${PWD_COMMAND}`; export r; \
26964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26965 $(HOST_EXPORTS) \
26966 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26968 done; \
26969 echo "Doing html in gdb" ; \
26970 (cd $(HOST_SUBDIR)/gdb && \
26971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26973 "RANLIB=$${RANLIB}" \
26974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26975 html) \
26976 || exit 1
26978 @endif gdb
26980 .PHONY: maybe-TAGS-gdb TAGS-gdb
26981 maybe-TAGS-gdb:
26982 @if gdb
26983 maybe-TAGS-gdb: TAGS-gdb
26985 TAGS-gdb: \
26986 configure-gdb
26987 @$(unstage)
26988 @[ -f ./gdb/Makefile ] || exit 0; \
26989 r=`${PWD_COMMAND}`; export r; \
26990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26991 $(HOST_EXPORTS) \
26992 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26994 done; \
26995 echo "Doing TAGS in gdb" ; \
26996 (cd $(HOST_SUBDIR)/gdb && \
26997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26999 "RANLIB=$${RANLIB}" \
27000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27001 TAGS) \
27002 || exit 1
27004 @endif gdb
27006 .PHONY: maybe-install-info-gdb install-info-gdb
27007 maybe-install-info-gdb:
27008 @if gdb
27009 maybe-install-info-gdb: install-info-gdb
27011 install-info-gdb: \
27012 configure-gdb \
27013 info-gdb
27014 @$(unstage)
27015 @[ -f ./gdb/Makefile ] || exit 0; \
27016 r=`${PWD_COMMAND}`; export r; \
27017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27018 $(HOST_EXPORTS) \
27019 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27021 done; \
27022 echo "Doing install-info in gdb" ; \
27023 (cd $(HOST_SUBDIR)/gdb && \
27024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27026 "RANLIB=$${RANLIB}" \
27027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27028 install-info) \
27029 || exit 1
27031 @endif gdb
27033 .PHONY: maybe-installcheck-gdb installcheck-gdb
27034 maybe-installcheck-gdb:
27035 @if gdb
27036 maybe-installcheck-gdb: installcheck-gdb
27038 installcheck-gdb: \
27039 configure-gdb
27040 @$(unstage)
27041 @[ -f ./gdb/Makefile ] || exit 0; \
27042 r=`${PWD_COMMAND}`; export r; \
27043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27044 $(HOST_EXPORTS) \
27045 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27047 done; \
27048 echo "Doing installcheck in gdb" ; \
27049 (cd $(HOST_SUBDIR)/gdb && \
27050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27052 "RANLIB=$${RANLIB}" \
27053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27054 installcheck) \
27055 || exit 1
27057 @endif gdb
27059 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
27060 maybe-mostlyclean-gdb:
27061 @if gdb
27062 maybe-mostlyclean-gdb: mostlyclean-gdb
27064 mostlyclean-gdb:
27065 @$(unstage)
27066 @[ -f ./gdb/Makefile ] || exit 0; \
27067 r=`${PWD_COMMAND}`; export r; \
27068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27069 $(HOST_EXPORTS) \
27070 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27072 done; \
27073 echo "Doing mostlyclean in gdb" ; \
27074 (cd $(HOST_SUBDIR)/gdb && \
27075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27077 "RANLIB=$${RANLIB}" \
27078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27079 mostlyclean) \
27080 || exit 1
27082 @endif gdb
27084 .PHONY: maybe-clean-gdb clean-gdb
27085 maybe-clean-gdb:
27086 @if gdb
27087 maybe-clean-gdb: clean-gdb
27089 clean-gdb:
27090 @$(unstage)
27091 @[ -f ./gdb/Makefile ] || exit 0; \
27092 r=`${PWD_COMMAND}`; export r; \
27093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27094 $(HOST_EXPORTS) \
27095 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27097 done; \
27098 echo "Doing clean in gdb" ; \
27099 (cd $(HOST_SUBDIR)/gdb && \
27100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27102 "RANLIB=$${RANLIB}" \
27103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27104 clean) \
27105 || exit 1
27107 @endif gdb
27109 .PHONY: maybe-distclean-gdb distclean-gdb
27110 maybe-distclean-gdb:
27111 @if gdb
27112 maybe-distclean-gdb: distclean-gdb
27114 distclean-gdb:
27115 @$(unstage)
27116 @[ -f ./gdb/Makefile ] || exit 0; \
27117 r=`${PWD_COMMAND}`; export r; \
27118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27119 $(HOST_EXPORTS) \
27120 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27122 done; \
27123 echo "Doing distclean in gdb" ; \
27124 (cd $(HOST_SUBDIR)/gdb && \
27125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27127 "RANLIB=$${RANLIB}" \
27128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27129 distclean) \
27130 || exit 1
27132 @endif gdb
27134 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
27135 maybe-maintainer-clean-gdb:
27136 @if gdb
27137 maybe-maintainer-clean-gdb: maintainer-clean-gdb
27139 maintainer-clean-gdb:
27140 @$(unstage)
27141 @[ -f ./gdb/Makefile ] || exit 0; \
27142 r=`${PWD_COMMAND}`; export r; \
27143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27144 $(HOST_EXPORTS) \
27145 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27147 done; \
27148 echo "Doing maintainer-clean in gdb" ; \
27149 (cd $(HOST_SUBDIR)/gdb && \
27150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27152 "RANLIB=$${RANLIB}" \
27153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27154 maintainer-clean) \
27155 || exit 1
27157 @endif gdb
27161 .PHONY: configure-expect maybe-configure-expect
27162 maybe-configure-expect:
27163 @if expect
27164 maybe-configure-expect: configure-expect
27165 configure-expect:
27166 @$(unstage)
27167 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
27168 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
27169 r=`${PWD_COMMAND}`; export r; \
27170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27171 $(HOST_EXPORTS) \
27172 echo Configuring in $(HOST_SUBDIR)/expect; \
27173 cd "$(HOST_SUBDIR)/expect" || exit 1; \
27174 case $(srcdir) in \
27175 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27176 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
27177 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27178 esac; \
27179 srcdiroption="--srcdir=$${topdir}/expect"; \
27180 libsrcdir="$$s/expect"; \
27181 $(SHELL) $${libsrcdir}/configure \
27182 $(HOST_CONFIGARGS) $${srcdiroption} \
27183 || exit 1
27184 @endif expect
27190 .PHONY: all-expect maybe-all-expect
27191 maybe-all-expect:
27192 @if expect
27193 TARGET-expect=all
27194 maybe-all-expect: all-expect
27195 all-expect: configure-expect
27196 @$(unstage)
27197 @r=`${PWD_COMMAND}`; export r; \
27198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27199 $(HOST_EXPORTS) \
27200 (cd $(HOST_SUBDIR)/expect && \
27201 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
27202 @endif expect
27207 .PHONY: check-expect maybe-check-expect
27208 maybe-check-expect:
27209 @if expect
27210 maybe-check-expect: check-expect
27212 check-expect:
27213 @$(unstage)
27214 @r=`${PWD_COMMAND}`; export r; \
27215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27216 $(HOST_EXPORTS) \
27217 (cd $(HOST_SUBDIR)/expect && \
27218 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27220 @endif expect
27222 .PHONY: install-expect maybe-install-expect
27223 maybe-install-expect:
27224 @if expect
27225 maybe-install-expect: install-expect
27227 install-expect: installdirs
27228 @$(unstage)
27229 @r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(HOST_EXPORTS) \
27232 (cd $(HOST_SUBDIR)/expect && \
27233 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27235 @endif expect
27237 # Other targets (info, dvi, etc.)
27239 .PHONY: maybe-info-expect info-expect
27240 maybe-info-expect:
27241 @if expect
27242 maybe-info-expect: info-expect
27244 info-expect: \
27245 configure-expect
27246 @$(unstage)
27247 @[ -f ./expect/Makefile ] || exit 0; \
27248 r=`${PWD_COMMAND}`; export r; \
27249 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27250 $(HOST_EXPORTS) \
27251 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27253 done; \
27254 echo "Doing info in expect" ; \
27255 (cd $(HOST_SUBDIR)/expect && \
27256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27258 "RANLIB=$${RANLIB}" \
27259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27260 info) \
27261 || exit 1
27263 @endif expect
27265 .PHONY: maybe-dvi-expect dvi-expect
27266 maybe-dvi-expect:
27267 @if expect
27268 maybe-dvi-expect: dvi-expect
27270 dvi-expect: \
27271 configure-expect
27272 @$(unstage)
27273 @[ -f ./expect/Makefile ] || exit 0; \
27274 r=`${PWD_COMMAND}`; export r; \
27275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27276 $(HOST_EXPORTS) \
27277 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27279 done; \
27280 echo "Doing dvi in expect" ; \
27281 (cd $(HOST_SUBDIR)/expect && \
27282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27284 "RANLIB=$${RANLIB}" \
27285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27286 dvi) \
27287 || exit 1
27289 @endif expect
27291 .PHONY: maybe-html-expect html-expect
27292 maybe-html-expect:
27293 @if expect
27294 maybe-html-expect: html-expect
27296 html-expect: \
27297 configure-expect
27298 @$(unstage)
27299 @[ -f ./expect/Makefile ] || exit 0; \
27300 r=`${PWD_COMMAND}`; export r; \
27301 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27302 $(HOST_EXPORTS) \
27303 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27305 done; \
27306 echo "Doing html in expect" ; \
27307 (cd $(HOST_SUBDIR)/expect && \
27308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27310 "RANLIB=$${RANLIB}" \
27311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27312 html) \
27313 || exit 1
27315 @endif expect
27317 .PHONY: maybe-TAGS-expect TAGS-expect
27318 maybe-TAGS-expect:
27319 @if expect
27320 maybe-TAGS-expect: TAGS-expect
27322 TAGS-expect: \
27323 configure-expect
27324 @$(unstage)
27325 @[ -f ./expect/Makefile ] || exit 0; \
27326 r=`${PWD_COMMAND}`; export r; \
27327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27328 $(HOST_EXPORTS) \
27329 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27331 done; \
27332 echo "Doing TAGS in expect" ; \
27333 (cd $(HOST_SUBDIR)/expect && \
27334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27336 "RANLIB=$${RANLIB}" \
27337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27338 TAGS) \
27339 || exit 1
27341 @endif expect
27343 .PHONY: maybe-install-info-expect install-info-expect
27344 maybe-install-info-expect:
27345 @if expect
27346 maybe-install-info-expect: install-info-expect
27348 install-info-expect: \
27349 configure-expect \
27350 info-expect
27351 @$(unstage)
27352 @[ -f ./expect/Makefile ] || exit 0; \
27353 r=`${PWD_COMMAND}`; export r; \
27354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27355 $(HOST_EXPORTS) \
27356 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27358 done; \
27359 echo "Doing install-info in expect" ; \
27360 (cd $(HOST_SUBDIR)/expect && \
27361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27363 "RANLIB=$${RANLIB}" \
27364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27365 install-info) \
27366 || exit 1
27368 @endif expect
27370 .PHONY: maybe-installcheck-expect installcheck-expect
27371 maybe-installcheck-expect:
27372 @if expect
27373 maybe-installcheck-expect: installcheck-expect
27375 installcheck-expect: \
27376 configure-expect
27377 @$(unstage)
27378 @[ -f ./expect/Makefile ] || exit 0; \
27379 r=`${PWD_COMMAND}`; export r; \
27380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27381 $(HOST_EXPORTS) \
27382 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27384 done; \
27385 echo "Doing installcheck in expect" ; \
27386 (cd $(HOST_SUBDIR)/expect && \
27387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27389 "RANLIB=$${RANLIB}" \
27390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27391 installcheck) \
27392 || exit 1
27394 @endif expect
27396 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
27397 maybe-mostlyclean-expect:
27398 @if expect
27399 maybe-mostlyclean-expect: mostlyclean-expect
27401 mostlyclean-expect:
27402 @$(unstage)
27403 @[ -f ./expect/Makefile ] || exit 0; \
27404 r=`${PWD_COMMAND}`; export r; \
27405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27406 $(HOST_EXPORTS) \
27407 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27409 done; \
27410 echo "Doing mostlyclean in expect" ; \
27411 (cd $(HOST_SUBDIR)/expect && \
27412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27414 "RANLIB=$${RANLIB}" \
27415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27416 mostlyclean) \
27417 || exit 1
27419 @endif expect
27421 .PHONY: maybe-clean-expect clean-expect
27422 maybe-clean-expect:
27423 @if expect
27424 maybe-clean-expect: clean-expect
27426 clean-expect:
27427 @$(unstage)
27428 @[ -f ./expect/Makefile ] || exit 0; \
27429 r=`${PWD_COMMAND}`; export r; \
27430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27431 $(HOST_EXPORTS) \
27432 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27434 done; \
27435 echo "Doing clean in expect" ; \
27436 (cd $(HOST_SUBDIR)/expect && \
27437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27439 "RANLIB=$${RANLIB}" \
27440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27441 clean) \
27442 || exit 1
27444 @endif expect
27446 .PHONY: maybe-distclean-expect distclean-expect
27447 maybe-distclean-expect:
27448 @if expect
27449 maybe-distclean-expect: distclean-expect
27451 distclean-expect:
27452 @$(unstage)
27453 @[ -f ./expect/Makefile ] || exit 0; \
27454 r=`${PWD_COMMAND}`; export r; \
27455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27456 $(HOST_EXPORTS) \
27457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27459 done; \
27460 echo "Doing distclean in expect" ; \
27461 (cd $(HOST_SUBDIR)/expect && \
27462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27464 "RANLIB=$${RANLIB}" \
27465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27466 distclean) \
27467 || exit 1
27469 @endif expect
27471 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
27472 maybe-maintainer-clean-expect:
27473 @if expect
27474 maybe-maintainer-clean-expect: maintainer-clean-expect
27476 maintainer-clean-expect:
27477 @$(unstage)
27478 @[ -f ./expect/Makefile ] || exit 0; \
27479 r=`${PWD_COMMAND}`; export r; \
27480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27481 $(HOST_EXPORTS) \
27482 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27484 done; \
27485 echo "Doing maintainer-clean in expect" ; \
27486 (cd $(HOST_SUBDIR)/expect && \
27487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27489 "RANLIB=$${RANLIB}" \
27490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27491 maintainer-clean) \
27492 || exit 1
27494 @endif expect
27498 .PHONY: configure-guile maybe-configure-guile
27499 maybe-configure-guile:
27500 @if guile
27501 maybe-configure-guile: configure-guile
27502 configure-guile:
27503 @$(unstage)
27504 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
27505 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
27506 r=`${PWD_COMMAND}`; export r; \
27507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27508 $(HOST_EXPORTS) \
27509 echo Configuring in $(HOST_SUBDIR)/guile; \
27510 cd "$(HOST_SUBDIR)/guile" || exit 1; \
27511 case $(srcdir) in \
27512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27513 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
27514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27515 esac; \
27516 srcdiroption="--srcdir=$${topdir}/guile"; \
27517 libsrcdir="$$s/guile"; \
27518 $(SHELL) $${libsrcdir}/configure \
27519 $(HOST_CONFIGARGS) $${srcdiroption} \
27520 || exit 1
27521 @endif guile
27527 .PHONY: all-guile maybe-all-guile
27528 maybe-all-guile:
27529 @if guile
27530 TARGET-guile=all
27531 maybe-all-guile: all-guile
27532 all-guile: configure-guile
27533 @$(unstage)
27534 @r=`${PWD_COMMAND}`; export r; \
27535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27536 $(HOST_EXPORTS) \
27537 (cd $(HOST_SUBDIR)/guile && \
27538 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
27539 @endif guile
27544 .PHONY: check-guile maybe-check-guile
27545 maybe-check-guile:
27546 @if guile
27547 maybe-check-guile: check-guile
27549 check-guile:
27550 @$(unstage)
27551 @r=`${PWD_COMMAND}`; export r; \
27552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27553 $(HOST_EXPORTS) \
27554 (cd $(HOST_SUBDIR)/guile && \
27555 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27557 @endif guile
27559 .PHONY: install-guile maybe-install-guile
27560 maybe-install-guile:
27561 @if guile
27562 maybe-install-guile: install-guile
27564 install-guile: installdirs
27565 @$(unstage)
27566 @r=`${PWD_COMMAND}`; export r; \
27567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27568 $(HOST_EXPORTS) \
27569 (cd $(HOST_SUBDIR)/guile && \
27570 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27572 @endif guile
27574 # Other targets (info, dvi, etc.)
27576 .PHONY: maybe-info-guile info-guile
27577 maybe-info-guile:
27578 @if guile
27579 maybe-info-guile: info-guile
27581 info-guile: \
27582 configure-guile
27583 @$(unstage)
27584 @[ -f ./guile/Makefile ] || exit 0; \
27585 r=`${PWD_COMMAND}`; export r; \
27586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27587 $(HOST_EXPORTS) \
27588 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27590 done; \
27591 echo "Doing info in guile" ; \
27592 (cd $(HOST_SUBDIR)/guile && \
27593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27595 "RANLIB=$${RANLIB}" \
27596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27597 info) \
27598 || exit 1
27600 @endif guile
27602 .PHONY: maybe-dvi-guile dvi-guile
27603 maybe-dvi-guile:
27604 @if guile
27605 maybe-dvi-guile: dvi-guile
27607 dvi-guile: \
27608 configure-guile
27609 @$(unstage)
27610 @[ -f ./guile/Makefile ] || exit 0; \
27611 r=`${PWD_COMMAND}`; export r; \
27612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27613 $(HOST_EXPORTS) \
27614 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27616 done; \
27617 echo "Doing dvi in guile" ; \
27618 (cd $(HOST_SUBDIR)/guile && \
27619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27621 "RANLIB=$${RANLIB}" \
27622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27623 dvi) \
27624 || exit 1
27626 @endif guile
27628 .PHONY: maybe-html-guile html-guile
27629 maybe-html-guile:
27630 @if guile
27631 maybe-html-guile: html-guile
27633 html-guile: \
27634 configure-guile
27635 @$(unstage)
27636 @[ -f ./guile/Makefile ] || exit 0; \
27637 r=`${PWD_COMMAND}`; export r; \
27638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27639 $(HOST_EXPORTS) \
27640 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27641 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27642 done; \
27643 echo "Doing html in guile" ; \
27644 (cd $(HOST_SUBDIR)/guile && \
27645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27647 "RANLIB=$${RANLIB}" \
27648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27649 html) \
27650 || exit 1
27652 @endif guile
27654 .PHONY: maybe-TAGS-guile TAGS-guile
27655 maybe-TAGS-guile:
27656 @if guile
27657 maybe-TAGS-guile: TAGS-guile
27659 TAGS-guile: \
27660 configure-guile
27661 @$(unstage)
27662 @[ -f ./guile/Makefile ] || exit 0; \
27663 r=`${PWD_COMMAND}`; export r; \
27664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27665 $(HOST_EXPORTS) \
27666 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27668 done; \
27669 echo "Doing TAGS in guile" ; \
27670 (cd $(HOST_SUBDIR)/guile && \
27671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27673 "RANLIB=$${RANLIB}" \
27674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27675 TAGS) \
27676 || exit 1
27678 @endif guile
27680 .PHONY: maybe-install-info-guile install-info-guile
27681 maybe-install-info-guile:
27682 @if guile
27683 maybe-install-info-guile: install-info-guile
27685 install-info-guile: \
27686 configure-guile \
27687 info-guile
27688 @$(unstage)
27689 @[ -f ./guile/Makefile ] || exit 0; \
27690 r=`${PWD_COMMAND}`; export r; \
27691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27692 $(HOST_EXPORTS) \
27693 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27695 done; \
27696 echo "Doing install-info in guile" ; \
27697 (cd $(HOST_SUBDIR)/guile && \
27698 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27699 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27700 "RANLIB=$${RANLIB}" \
27701 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27702 install-info) \
27703 || exit 1
27705 @endif guile
27707 .PHONY: maybe-installcheck-guile installcheck-guile
27708 maybe-installcheck-guile:
27709 @if guile
27710 maybe-installcheck-guile: installcheck-guile
27712 installcheck-guile: \
27713 configure-guile
27714 @$(unstage)
27715 @[ -f ./guile/Makefile ] || exit 0; \
27716 r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 $(HOST_EXPORTS) \
27719 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27721 done; \
27722 echo "Doing installcheck in guile" ; \
27723 (cd $(HOST_SUBDIR)/guile && \
27724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27726 "RANLIB=$${RANLIB}" \
27727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27728 installcheck) \
27729 || exit 1
27731 @endif guile
27733 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27734 maybe-mostlyclean-guile:
27735 @if guile
27736 maybe-mostlyclean-guile: mostlyclean-guile
27738 mostlyclean-guile:
27739 @$(unstage)
27740 @[ -f ./guile/Makefile ] || exit 0; \
27741 r=`${PWD_COMMAND}`; export r; \
27742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27743 $(HOST_EXPORTS) \
27744 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27746 done; \
27747 echo "Doing mostlyclean in guile" ; \
27748 (cd $(HOST_SUBDIR)/guile && \
27749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27751 "RANLIB=$${RANLIB}" \
27752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27753 mostlyclean) \
27754 || exit 1
27756 @endif guile
27758 .PHONY: maybe-clean-guile clean-guile
27759 maybe-clean-guile:
27760 @if guile
27761 maybe-clean-guile: clean-guile
27763 clean-guile:
27764 @$(unstage)
27765 @[ -f ./guile/Makefile ] || exit 0; \
27766 r=`${PWD_COMMAND}`; export r; \
27767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27768 $(HOST_EXPORTS) \
27769 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27771 done; \
27772 echo "Doing clean in guile" ; \
27773 (cd $(HOST_SUBDIR)/guile && \
27774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27776 "RANLIB=$${RANLIB}" \
27777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27778 clean) \
27779 || exit 1
27781 @endif guile
27783 .PHONY: maybe-distclean-guile distclean-guile
27784 maybe-distclean-guile:
27785 @if guile
27786 maybe-distclean-guile: distclean-guile
27788 distclean-guile:
27789 @$(unstage)
27790 @[ -f ./guile/Makefile ] || exit 0; \
27791 r=`${PWD_COMMAND}`; export r; \
27792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27793 $(HOST_EXPORTS) \
27794 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27795 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27796 done; \
27797 echo "Doing distclean in guile" ; \
27798 (cd $(HOST_SUBDIR)/guile && \
27799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27801 "RANLIB=$${RANLIB}" \
27802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27803 distclean) \
27804 || exit 1
27806 @endif guile
27808 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27809 maybe-maintainer-clean-guile:
27810 @if guile
27811 maybe-maintainer-clean-guile: maintainer-clean-guile
27813 maintainer-clean-guile:
27814 @$(unstage)
27815 @[ -f ./guile/Makefile ] || exit 0; \
27816 r=`${PWD_COMMAND}`; export r; \
27817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27818 $(HOST_EXPORTS) \
27819 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27820 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27821 done; \
27822 echo "Doing maintainer-clean in guile" ; \
27823 (cd $(HOST_SUBDIR)/guile && \
27824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27826 "RANLIB=$${RANLIB}" \
27827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27828 maintainer-clean) \
27829 || exit 1
27831 @endif guile
27835 .PHONY: configure-tk maybe-configure-tk
27836 maybe-configure-tk:
27837 @if tk
27838 maybe-configure-tk: configure-tk
27839 configure-tk:
27840 @$(unstage)
27841 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27842 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27843 r=`${PWD_COMMAND}`; export r; \
27844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27845 $(HOST_EXPORTS) \
27846 echo Configuring in $(HOST_SUBDIR)/tk; \
27847 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27848 case $(srcdir) in \
27849 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27850 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27851 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27852 esac; \
27853 srcdiroption="--srcdir=$${topdir}/tk"; \
27854 libsrcdir="$$s/tk"; \
27855 $(SHELL) $${libsrcdir}/configure \
27856 $(HOST_CONFIGARGS) $${srcdiroption} \
27857 || exit 1
27858 @endif tk
27864 .PHONY: all-tk maybe-all-tk
27865 maybe-all-tk:
27866 @if tk
27867 TARGET-tk=all
27868 maybe-all-tk: all-tk
27869 all-tk: configure-tk
27870 @$(unstage)
27871 @r=`${PWD_COMMAND}`; export r; \
27872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27873 $(HOST_EXPORTS) \
27874 (cd $(HOST_SUBDIR)/tk && \
27875 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27876 @endif tk
27881 .PHONY: check-tk maybe-check-tk
27882 maybe-check-tk:
27883 @if tk
27884 maybe-check-tk: check-tk
27886 check-tk:
27887 @$(unstage)
27888 @r=`${PWD_COMMAND}`; export r; \
27889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27890 $(HOST_EXPORTS) \
27891 (cd $(HOST_SUBDIR)/tk && \
27892 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27894 @endif tk
27896 .PHONY: install-tk maybe-install-tk
27897 maybe-install-tk:
27898 @if tk
27899 maybe-install-tk: install-tk
27901 install-tk: installdirs
27902 @$(unstage)
27903 @r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(HOST_EXPORTS) \
27906 (cd $(HOST_SUBDIR)/tk && \
27907 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27909 @endif tk
27911 # Other targets (info, dvi, etc.)
27913 .PHONY: maybe-info-tk info-tk
27914 maybe-info-tk:
27915 @if tk
27916 maybe-info-tk: info-tk
27918 info-tk: \
27919 configure-tk
27920 @$(unstage)
27921 @[ -f ./tk/Makefile ] || exit 0; \
27922 r=`${PWD_COMMAND}`; export r; \
27923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27924 $(HOST_EXPORTS) \
27925 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27927 done; \
27928 echo "Doing info in tk" ; \
27929 (cd $(HOST_SUBDIR)/tk && \
27930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27932 "RANLIB=$${RANLIB}" \
27933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27934 info) \
27935 || exit 1
27937 @endif tk
27939 .PHONY: maybe-dvi-tk dvi-tk
27940 maybe-dvi-tk:
27941 @if tk
27942 maybe-dvi-tk: dvi-tk
27944 dvi-tk: \
27945 configure-tk
27946 @$(unstage)
27947 @[ -f ./tk/Makefile ] || exit 0; \
27948 r=`${PWD_COMMAND}`; export r; \
27949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27950 $(HOST_EXPORTS) \
27951 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27953 done; \
27954 echo "Doing dvi in tk" ; \
27955 (cd $(HOST_SUBDIR)/tk && \
27956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27958 "RANLIB=$${RANLIB}" \
27959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27960 dvi) \
27961 || exit 1
27963 @endif tk
27965 .PHONY: maybe-html-tk html-tk
27966 maybe-html-tk:
27967 @if tk
27968 maybe-html-tk: html-tk
27970 html-tk: \
27971 configure-tk
27972 @$(unstage)
27973 @[ -f ./tk/Makefile ] || exit 0; \
27974 r=`${PWD_COMMAND}`; export r; \
27975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27976 $(HOST_EXPORTS) \
27977 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27979 done; \
27980 echo "Doing html in tk" ; \
27981 (cd $(HOST_SUBDIR)/tk && \
27982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27984 "RANLIB=$${RANLIB}" \
27985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27986 html) \
27987 || exit 1
27989 @endif tk
27991 .PHONY: maybe-TAGS-tk TAGS-tk
27992 maybe-TAGS-tk:
27993 @if tk
27994 maybe-TAGS-tk: TAGS-tk
27996 TAGS-tk: \
27997 configure-tk
27998 @$(unstage)
27999 @[ -f ./tk/Makefile ] || exit 0; \
28000 r=`${PWD_COMMAND}`; export r; \
28001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28002 $(HOST_EXPORTS) \
28003 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28005 done; \
28006 echo "Doing TAGS in tk" ; \
28007 (cd $(HOST_SUBDIR)/tk && \
28008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28010 "RANLIB=$${RANLIB}" \
28011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28012 TAGS) \
28013 || exit 1
28015 @endif tk
28017 .PHONY: maybe-install-info-tk install-info-tk
28018 maybe-install-info-tk:
28019 @if tk
28020 maybe-install-info-tk: install-info-tk
28022 install-info-tk: \
28023 configure-tk \
28024 info-tk
28025 @$(unstage)
28026 @[ -f ./tk/Makefile ] || exit 0; \
28027 r=`${PWD_COMMAND}`; export r; \
28028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28029 $(HOST_EXPORTS) \
28030 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28032 done; \
28033 echo "Doing install-info in tk" ; \
28034 (cd $(HOST_SUBDIR)/tk && \
28035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28037 "RANLIB=$${RANLIB}" \
28038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28039 install-info) \
28040 || exit 1
28042 @endif tk
28044 .PHONY: maybe-installcheck-tk installcheck-tk
28045 maybe-installcheck-tk:
28046 @if tk
28047 maybe-installcheck-tk: installcheck-tk
28049 installcheck-tk: \
28050 configure-tk
28051 @$(unstage)
28052 @[ -f ./tk/Makefile ] || exit 0; \
28053 r=`${PWD_COMMAND}`; export r; \
28054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28055 $(HOST_EXPORTS) \
28056 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28058 done; \
28059 echo "Doing installcheck in tk" ; \
28060 (cd $(HOST_SUBDIR)/tk && \
28061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28063 "RANLIB=$${RANLIB}" \
28064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28065 installcheck) \
28066 || exit 1
28068 @endif tk
28070 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
28071 maybe-mostlyclean-tk:
28072 @if tk
28073 maybe-mostlyclean-tk: mostlyclean-tk
28075 mostlyclean-tk:
28076 @$(unstage)
28077 @[ -f ./tk/Makefile ] || exit 0; \
28078 r=`${PWD_COMMAND}`; export r; \
28079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28080 $(HOST_EXPORTS) \
28081 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28083 done; \
28084 echo "Doing mostlyclean in tk" ; \
28085 (cd $(HOST_SUBDIR)/tk && \
28086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28088 "RANLIB=$${RANLIB}" \
28089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28090 mostlyclean) \
28091 || exit 1
28093 @endif tk
28095 .PHONY: maybe-clean-tk clean-tk
28096 maybe-clean-tk:
28097 @if tk
28098 maybe-clean-tk: clean-tk
28100 clean-tk:
28101 @$(unstage)
28102 @[ -f ./tk/Makefile ] || exit 0; \
28103 r=`${PWD_COMMAND}`; export r; \
28104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28105 $(HOST_EXPORTS) \
28106 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28108 done; \
28109 echo "Doing clean in tk" ; \
28110 (cd $(HOST_SUBDIR)/tk && \
28111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28113 "RANLIB=$${RANLIB}" \
28114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28115 clean) \
28116 || exit 1
28118 @endif tk
28120 .PHONY: maybe-distclean-tk distclean-tk
28121 maybe-distclean-tk:
28122 @if tk
28123 maybe-distclean-tk: distclean-tk
28125 distclean-tk:
28126 @$(unstage)
28127 @[ -f ./tk/Makefile ] || exit 0; \
28128 r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 $(HOST_EXPORTS) \
28131 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28132 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28133 done; \
28134 echo "Doing distclean in tk" ; \
28135 (cd $(HOST_SUBDIR)/tk && \
28136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28138 "RANLIB=$${RANLIB}" \
28139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28140 distclean) \
28141 || exit 1
28143 @endif tk
28145 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
28146 maybe-maintainer-clean-tk:
28147 @if tk
28148 maybe-maintainer-clean-tk: maintainer-clean-tk
28150 maintainer-clean-tk:
28151 @$(unstage)
28152 @[ -f ./tk/Makefile ] || exit 0; \
28153 r=`${PWD_COMMAND}`; export r; \
28154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28155 $(HOST_EXPORTS) \
28156 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
28157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28158 done; \
28159 echo "Doing maintainer-clean in tk" ; \
28160 (cd $(HOST_SUBDIR)/tk && \
28161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28163 "RANLIB=$${RANLIB}" \
28164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28165 maintainer-clean) \
28166 || exit 1
28168 @endif tk
28172 .PHONY: configure-libtermcap maybe-configure-libtermcap
28173 maybe-configure-libtermcap:
28174 @if libtermcap
28175 maybe-configure-libtermcap: configure-libtermcap
28176 configure-libtermcap:
28177 @$(unstage)
28178 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
28179 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
28180 r=`${PWD_COMMAND}`; export r; \
28181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28182 $(HOST_EXPORTS) \
28183 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
28184 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
28185 case $(srcdir) in \
28186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28187 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
28188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28189 esac; \
28190 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
28191 libsrcdir="$$s/libtermcap"; \
28192 $(SHELL) $${libsrcdir}/configure \
28193 $(HOST_CONFIGARGS) $${srcdiroption} \
28194 || exit 1
28195 @endif libtermcap
28201 .PHONY: all-libtermcap maybe-all-libtermcap
28202 maybe-all-libtermcap:
28203 @if libtermcap
28204 TARGET-libtermcap=all
28205 maybe-all-libtermcap: all-libtermcap
28206 all-libtermcap: configure-libtermcap
28207 @$(unstage)
28208 @r=`${PWD_COMMAND}`; export r; \
28209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28210 $(HOST_EXPORTS) \
28211 (cd $(HOST_SUBDIR)/libtermcap && \
28212 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
28213 @endif libtermcap
28218 .PHONY: check-libtermcap maybe-check-libtermcap
28219 maybe-check-libtermcap:
28220 @if libtermcap
28221 maybe-check-libtermcap: check-libtermcap
28223 check-libtermcap:
28225 @endif libtermcap
28227 .PHONY: install-libtermcap maybe-install-libtermcap
28228 maybe-install-libtermcap:
28229 @if libtermcap
28230 maybe-install-libtermcap: install-libtermcap
28232 install-libtermcap: installdirs
28233 @$(unstage)
28234 @r=`${PWD_COMMAND}`; export r; \
28235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28236 $(HOST_EXPORTS) \
28237 (cd $(HOST_SUBDIR)/libtermcap && \
28238 $(MAKE) $(FLAGS_TO_PASS) install)
28240 @endif libtermcap
28242 # Other targets (info, dvi, etc.)
28244 .PHONY: maybe-info-libtermcap info-libtermcap
28245 maybe-info-libtermcap:
28246 @if libtermcap
28247 maybe-info-libtermcap: info-libtermcap
28249 info-libtermcap: \
28250 configure-libtermcap
28251 @$(unstage)
28252 @[ -f ./libtermcap/Makefile ] || exit 0; \
28253 r=`${PWD_COMMAND}`; export r; \
28254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28255 $(HOST_EXPORTS) \
28256 for flag in $(EXTRA_HOST_FLAGS) ; do \
28257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28258 done; \
28259 echo "Doing info in libtermcap" ; \
28260 (cd $(HOST_SUBDIR)/libtermcap && \
28261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28263 "RANLIB=$${RANLIB}" \
28264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28265 info) \
28266 || exit 1
28268 @endif libtermcap
28270 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
28271 maybe-dvi-libtermcap:
28272 @if libtermcap
28273 maybe-dvi-libtermcap: dvi-libtermcap
28275 dvi-libtermcap: \
28276 configure-libtermcap
28277 @$(unstage)
28278 @[ -f ./libtermcap/Makefile ] || exit 0; \
28279 r=`${PWD_COMMAND}`; export r; \
28280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28281 $(HOST_EXPORTS) \
28282 for flag in $(EXTRA_HOST_FLAGS) ; do \
28283 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28284 done; \
28285 echo "Doing dvi in libtermcap" ; \
28286 (cd $(HOST_SUBDIR)/libtermcap && \
28287 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28288 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28289 "RANLIB=$${RANLIB}" \
28290 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28291 dvi) \
28292 || exit 1
28294 @endif libtermcap
28296 .PHONY: maybe-html-libtermcap html-libtermcap
28297 maybe-html-libtermcap:
28298 @if libtermcap
28299 maybe-html-libtermcap: html-libtermcap
28301 html-libtermcap: \
28302 configure-libtermcap
28303 @$(unstage)
28304 @[ -f ./libtermcap/Makefile ] || exit 0; \
28305 r=`${PWD_COMMAND}`; export r; \
28306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28307 $(HOST_EXPORTS) \
28308 for flag in $(EXTRA_HOST_FLAGS) ; do \
28309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28310 done; \
28311 echo "Doing html in libtermcap" ; \
28312 (cd $(HOST_SUBDIR)/libtermcap && \
28313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28315 "RANLIB=$${RANLIB}" \
28316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28317 html) \
28318 || exit 1
28320 @endif libtermcap
28322 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
28323 maybe-TAGS-libtermcap:
28324 @if libtermcap
28325 maybe-TAGS-libtermcap: TAGS-libtermcap
28327 TAGS-libtermcap: \
28328 configure-libtermcap
28329 @$(unstage)
28330 @[ -f ./libtermcap/Makefile ] || exit 0; \
28331 r=`${PWD_COMMAND}`; export r; \
28332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28333 $(HOST_EXPORTS) \
28334 for flag in $(EXTRA_HOST_FLAGS) ; do \
28335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28336 done; \
28337 echo "Doing TAGS in libtermcap" ; \
28338 (cd $(HOST_SUBDIR)/libtermcap && \
28339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28341 "RANLIB=$${RANLIB}" \
28342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28343 TAGS) \
28344 || exit 1
28346 @endif libtermcap
28348 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
28349 maybe-install-info-libtermcap:
28350 @if libtermcap
28351 maybe-install-info-libtermcap: install-info-libtermcap
28353 install-info-libtermcap: \
28354 configure-libtermcap \
28355 info-libtermcap
28356 @$(unstage)
28357 @[ -f ./libtermcap/Makefile ] || exit 0; \
28358 r=`${PWD_COMMAND}`; export r; \
28359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28360 $(HOST_EXPORTS) \
28361 for flag in $(EXTRA_HOST_FLAGS) ; do \
28362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28363 done; \
28364 echo "Doing install-info in libtermcap" ; \
28365 (cd $(HOST_SUBDIR)/libtermcap && \
28366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28368 "RANLIB=$${RANLIB}" \
28369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28370 install-info) \
28371 || exit 1
28373 @endif libtermcap
28375 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
28376 maybe-installcheck-libtermcap:
28377 @if libtermcap
28378 maybe-installcheck-libtermcap: installcheck-libtermcap
28380 installcheck-libtermcap: \
28381 configure-libtermcap
28382 @$(unstage)
28383 @[ -f ./libtermcap/Makefile ] || exit 0; \
28384 r=`${PWD_COMMAND}`; export r; \
28385 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28386 $(HOST_EXPORTS) \
28387 for flag in $(EXTRA_HOST_FLAGS) ; do \
28388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28389 done; \
28390 echo "Doing installcheck in libtermcap" ; \
28391 (cd $(HOST_SUBDIR)/libtermcap && \
28392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28394 "RANLIB=$${RANLIB}" \
28395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28396 installcheck) \
28397 || exit 1
28399 @endif libtermcap
28401 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
28402 maybe-mostlyclean-libtermcap:
28403 @if libtermcap
28404 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
28406 # libtermcap doesn't support mostlyclean.
28407 mostlyclean-libtermcap:
28409 @endif libtermcap
28411 .PHONY: maybe-clean-libtermcap clean-libtermcap
28412 maybe-clean-libtermcap:
28413 @if libtermcap
28414 maybe-clean-libtermcap: clean-libtermcap
28416 # libtermcap doesn't support clean.
28417 clean-libtermcap:
28419 @endif libtermcap
28421 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
28422 maybe-distclean-libtermcap:
28423 @if libtermcap
28424 maybe-distclean-libtermcap: distclean-libtermcap
28426 # libtermcap doesn't support distclean.
28427 distclean-libtermcap:
28429 @endif libtermcap
28431 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
28432 maybe-maintainer-clean-libtermcap:
28433 @if libtermcap
28434 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
28436 # libtermcap doesn't support maintainer-clean.
28437 maintainer-clean-libtermcap:
28439 @endif libtermcap
28443 .PHONY: configure-utils maybe-configure-utils
28444 maybe-configure-utils:
28445 @if utils
28446 maybe-configure-utils: configure-utils
28447 configure-utils:
28448 @$(unstage)
28449 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
28450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
28451 r=`${PWD_COMMAND}`; export r; \
28452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28453 $(HOST_EXPORTS) \
28454 echo Configuring in $(HOST_SUBDIR)/utils; \
28455 cd "$(HOST_SUBDIR)/utils" || exit 1; \
28456 case $(srcdir) in \
28457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28458 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
28459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28460 esac; \
28461 srcdiroption="--srcdir=$${topdir}/utils"; \
28462 libsrcdir="$$s/utils"; \
28463 $(SHELL) $${libsrcdir}/configure \
28464 $(HOST_CONFIGARGS) $${srcdiroption} \
28465 || exit 1
28466 @endif utils
28472 .PHONY: all-utils maybe-all-utils
28473 maybe-all-utils:
28474 @if utils
28475 TARGET-utils=all
28476 maybe-all-utils: all-utils
28477 all-utils: configure-utils
28478 @$(unstage)
28479 @r=`${PWD_COMMAND}`; export r; \
28480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28481 $(HOST_EXPORTS) \
28482 (cd $(HOST_SUBDIR)/utils && \
28483 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
28484 @endif utils
28489 .PHONY: check-utils maybe-check-utils
28490 maybe-check-utils:
28491 @if utils
28492 maybe-check-utils: check-utils
28494 check-utils:
28496 @endif utils
28498 .PHONY: install-utils maybe-install-utils
28499 maybe-install-utils:
28500 @if utils
28501 maybe-install-utils: install-utils
28503 install-utils: installdirs
28504 @$(unstage)
28505 @r=`${PWD_COMMAND}`; export r; \
28506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28507 $(HOST_EXPORTS) \
28508 (cd $(HOST_SUBDIR)/utils && \
28509 $(MAKE) $(FLAGS_TO_PASS) install)
28511 @endif utils
28513 # Other targets (info, dvi, etc.)
28515 .PHONY: maybe-info-utils info-utils
28516 maybe-info-utils:
28517 @if utils
28518 maybe-info-utils: info-utils
28520 info-utils: \
28521 configure-utils
28522 @$(unstage)
28523 @[ -f ./utils/Makefile ] || exit 0; \
28524 r=`${PWD_COMMAND}`; export r; \
28525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28526 $(HOST_EXPORTS) \
28527 for flag in $(EXTRA_HOST_FLAGS) ; do \
28528 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28529 done; \
28530 echo "Doing info in utils" ; \
28531 (cd $(HOST_SUBDIR)/utils && \
28532 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28533 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28534 "RANLIB=$${RANLIB}" \
28535 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28536 info) \
28537 || exit 1
28539 @endif utils
28541 .PHONY: maybe-dvi-utils dvi-utils
28542 maybe-dvi-utils:
28543 @if utils
28544 maybe-dvi-utils: dvi-utils
28546 dvi-utils: \
28547 configure-utils
28548 @$(unstage)
28549 @[ -f ./utils/Makefile ] || exit 0; \
28550 r=`${PWD_COMMAND}`; export r; \
28551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28552 $(HOST_EXPORTS) \
28553 for flag in $(EXTRA_HOST_FLAGS) ; do \
28554 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28555 done; \
28556 echo "Doing dvi in utils" ; \
28557 (cd $(HOST_SUBDIR)/utils && \
28558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28560 "RANLIB=$${RANLIB}" \
28561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28562 dvi) \
28563 || exit 1
28565 @endif utils
28567 .PHONY: maybe-html-utils html-utils
28568 maybe-html-utils:
28569 @if utils
28570 maybe-html-utils: html-utils
28572 html-utils: \
28573 configure-utils
28574 @$(unstage)
28575 @[ -f ./utils/Makefile ] || exit 0; \
28576 r=`${PWD_COMMAND}`; export r; \
28577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28578 $(HOST_EXPORTS) \
28579 for flag in $(EXTRA_HOST_FLAGS) ; do \
28580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28581 done; \
28582 echo "Doing html in utils" ; \
28583 (cd $(HOST_SUBDIR)/utils && \
28584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28586 "RANLIB=$${RANLIB}" \
28587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28588 html) \
28589 || exit 1
28591 @endif utils
28593 .PHONY: maybe-TAGS-utils TAGS-utils
28594 maybe-TAGS-utils:
28595 @if utils
28596 maybe-TAGS-utils: TAGS-utils
28598 TAGS-utils: \
28599 configure-utils
28600 @$(unstage)
28601 @[ -f ./utils/Makefile ] || exit 0; \
28602 r=`${PWD_COMMAND}`; export r; \
28603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28604 $(HOST_EXPORTS) \
28605 for flag in $(EXTRA_HOST_FLAGS) ; do \
28606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28607 done; \
28608 echo "Doing TAGS in utils" ; \
28609 (cd $(HOST_SUBDIR)/utils && \
28610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28612 "RANLIB=$${RANLIB}" \
28613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28614 TAGS) \
28615 || exit 1
28617 @endif utils
28619 .PHONY: maybe-install-info-utils install-info-utils
28620 maybe-install-info-utils:
28621 @if utils
28622 maybe-install-info-utils: install-info-utils
28624 install-info-utils: \
28625 configure-utils \
28626 info-utils
28627 @$(unstage)
28628 @[ -f ./utils/Makefile ] || exit 0; \
28629 r=`${PWD_COMMAND}`; export r; \
28630 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28631 $(HOST_EXPORTS) \
28632 for flag in $(EXTRA_HOST_FLAGS) ; do \
28633 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28634 done; \
28635 echo "Doing install-info in utils" ; \
28636 (cd $(HOST_SUBDIR)/utils && \
28637 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28638 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28639 "RANLIB=$${RANLIB}" \
28640 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28641 install-info) \
28642 || exit 1
28644 @endif utils
28646 .PHONY: maybe-installcheck-utils installcheck-utils
28647 maybe-installcheck-utils:
28648 @if utils
28649 maybe-installcheck-utils: installcheck-utils
28651 installcheck-utils: \
28652 configure-utils
28653 @$(unstage)
28654 @[ -f ./utils/Makefile ] || exit 0; \
28655 r=`${PWD_COMMAND}`; export r; \
28656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28657 $(HOST_EXPORTS) \
28658 for flag in $(EXTRA_HOST_FLAGS) ; do \
28659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28660 done; \
28661 echo "Doing installcheck in utils" ; \
28662 (cd $(HOST_SUBDIR)/utils && \
28663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28665 "RANLIB=$${RANLIB}" \
28666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28667 installcheck) \
28668 || exit 1
28670 @endif utils
28672 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
28673 maybe-mostlyclean-utils:
28674 @if utils
28675 maybe-mostlyclean-utils: mostlyclean-utils
28677 mostlyclean-utils:
28678 @$(unstage)
28679 @[ -f ./utils/Makefile ] || exit 0; \
28680 r=`${PWD_COMMAND}`; export r; \
28681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28682 $(HOST_EXPORTS) \
28683 for flag in $(EXTRA_HOST_FLAGS) ; do \
28684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28685 done; \
28686 echo "Doing mostlyclean in utils" ; \
28687 (cd $(HOST_SUBDIR)/utils && \
28688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28690 "RANLIB=$${RANLIB}" \
28691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28692 mostlyclean) \
28693 || exit 1
28695 @endif utils
28697 .PHONY: maybe-clean-utils clean-utils
28698 maybe-clean-utils:
28699 @if utils
28700 maybe-clean-utils: clean-utils
28702 clean-utils:
28703 @$(unstage)
28704 @[ -f ./utils/Makefile ] || exit 0; \
28705 r=`${PWD_COMMAND}`; export r; \
28706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28707 $(HOST_EXPORTS) \
28708 for flag in $(EXTRA_HOST_FLAGS) ; do \
28709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28710 done; \
28711 echo "Doing clean in utils" ; \
28712 (cd $(HOST_SUBDIR)/utils && \
28713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28715 "RANLIB=$${RANLIB}" \
28716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28717 clean) \
28718 || exit 1
28720 @endif utils
28722 .PHONY: maybe-distclean-utils distclean-utils
28723 maybe-distclean-utils:
28724 @if utils
28725 maybe-distclean-utils: distclean-utils
28727 distclean-utils:
28728 @$(unstage)
28729 @[ -f ./utils/Makefile ] || exit 0; \
28730 r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(HOST_EXPORTS) \
28733 for flag in $(EXTRA_HOST_FLAGS) ; do \
28734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28735 done; \
28736 echo "Doing distclean in utils" ; \
28737 (cd $(HOST_SUBDIR)/utils && \
28738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28740 "RANLIB=$${RANLIB}" \
28741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28742 distclean) \
28743 || exit 1
28745 @endif utils
28747 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28748 maybe-maintainer-clean-utils:
28749 @if utils
28750 maybe-maintainer-clean-utils: maintainer-clean-utils
28752 maintainer-clean-utils:
28753 @$(unstage)
28754 @[ -f ./utils/Makefile ] || exit 0; \
28755 r=`${PWD_COMMAND}`; export r; \
28756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28757 $(HOST_EXPORTS) \
28758 for flag in $(EXTRA_HOST_FLAGS) ; do \
28759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28760 done; \
28761 echo "Doing maintainer-clean in utils" ; \
28762 (cd $(HOST_SUBDIR)/utils && \
28763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28765 "RANLIB=$${RANLIB}" \
28766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28767 maintainer-clean) \
28768 || exit 1
28770 @endif utils
28774 .PHONY: configure-gnattools maybe-configure-gnattools
28775 maybe-configure-gnattools:
28776 @if gnattools
28777 maybe-configure-gnattools: configure-gnattools
28778 configure-gnattools:
28779 @$(unstage)
28780 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28781 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28782 r=`${PWD_COMMAND}`; export r; \
28783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28784 $(HOST_EXPORTS) \
28785 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28786 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28787 case $(srcdir) in \
28788 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28789 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28790 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28791 esac; \
28792 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28793 libsrcdir="$$s/gnattools"; \
28794 $(SHELL) $${libsrcdir}/configure \
28795 $(HOST_CONFIGARGS) $${srcdiroption} \
28796 || exit 1
28797 @endif gnattools
28803 .PHONY: all-gnattools maybe-all-gnattools
28804 maybe-all-gnattools:
28805 @if gnattools
28806 TARGET-gnattools=all
28807 maybe-all-gnattools: all-gnattools
28808 all-gnattools: configure-gnattools
28809 @$(unstage)
28810 @r=`${PWD_COMMAND}`; export r; \
28811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28812 $(HOST_EXPORTS) \
28813 (cd $(HOST_SUBDIR)/gnattools && \
28814 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28815 @endif gnattools
28820 .PHONY: check-gnattools maybe-check-gnattools
28821 maybe-check-gnattools:
28822 @if gnattools
28823 maybe-check-gnattools: check-gnattools
28825 check-gnattools:
28826 @$(unstage)
28827 @r=`${PWD_COMMAND}`; export r; \
28828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28829 $(HOST_EXPORTS) \
28830 (cd $(HOST_SUBDIR)/gnattools && \
28831 $(MAKE) $(FLAGS_TO_PASS) check)
28833 @endif gnattools
28835 .PHONY: install-gnattools maybe-install-gnattools
28836 maybe-install-gnattools:
28837 @if gnattools
28838 maybe-install-gnattools: install-gnattools
28840 install-gnattools: installdirs
28841 @$(unstage)
28842 @r=`${PWD_COMMAND}`; export r; \
28843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28844 $(HOST_EXPORTS) \
28845 (cd $(HOST_SUBDIR)/gnattools && \
28846 $(MAKE) $(FLAGS_TO_PASS) install)
28848 @endif gnattools
28850 # Other targets (info, dvi, etc.)
28852 .PHONY: maybe-info-gnattools info-gnattools
28853 maybe-info-gnattools:
28854 @if gnattools
28855 maybe-info-gnattools: info-gnattools
28857 info-gnattools: \
28858 configure-gnattools
28859 @$(unstage)
28860 @[ -f ./gnattools/Makefile ] || exit 0; \
28861 r=`${PWD_COMMAND}`; export r; \
28862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28863 $(HOST_EXPORTS) \
28864 for flag in $(EXTRA_HOST_FLAGS) ; do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 echo "Doing info in gnattools" ; \
28868 (cd $(HOST_SUBDIR)/gnattools && \
28869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28871 "RANLIB=$${RANLIB}" \
28872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28873 info) \
28874 || exit 1
28876 @endif gnattools
28878 .PHONY: maybe-dvi-gnattools dvi-gnattools
28879 maybe-dvi-gnattools:
28880 @if gnattools
28881 maybe-dvi-gnattools: dvi-gnattools
28883 dvi-gnattools: \
28884 configure-gnattools
28885 @$(unstage)
28886 @[ -f ./gnattools/Makefile ] || exit 0; \
28887 r=`${PWD_COMMAND}`; export r; \
28888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28889 $(HOST_EXPORTS) \
28890 for flag in $(EXTRA_HOST_FLAGS) ; do \
28891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28892 done; \
28893 echo "Doing dvi in gnattools" ; \
28894 (cd $(HOST_SUBDIR)/gnattools && \
28895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28897 "RANLIB=$${RANLIB}" \
28898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28899 dvi) \
28900 || exit 1
28902 @endif gnattools
28904 .PHONY: maybe-html-gnattools html-gnattools
28905 maybe-html-gnattools:
28906 @if gnattools
28907 maybe-html-gnattools: html-gnattools
28909 html-gnattools: \
28910 configure-gnattools
28911 @$(unstage)
28912 @[ -f ./gnattools/Makefile ] || exit 0; \
28913 r=`${PWD_COMMAND}`; export r; \
28914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28915 $(HOST_EXPORTS) \
28916 for flag in $(EXTRA_HOST_FLAGS) ; do \
28917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28918 done; \
28919 echo "Doing html in gnattools" ; \
28920 (cd $(HOST_SUBDIR)/gnattools && \
28921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28923 "RANLIB=$${RANLIB}" \
28924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28925 html) \
28926 || exit 1
28928 @endif gnattools
28930 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28931 maybe-TAGS-gnattools:
28932 @if gnattools
28933 maybe-TAGS-gnattools: TAGS-gnattools
28935 TAGS-gnattools: \
28936 configure-gnattools
28937 @$(unstage)
28938 @[ -f ./gnattools/Makefile ] || exit 0; \
28939 r=`${PWD_COMMAND}`; export r; \
28940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28941 $(HOST_EXPORTS) \
28942 for flag in $(EXTRA_HOST_FLAGS) ; do \
28943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28944 done; \
28945 echo "Doing TAGS in gnattools" ; \
28946 (cd $(HOST_SUBDIR)/gnattools && \
28947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28949 "RANLIB=$${RANLIB}" \
28950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28951 TAGS) \
28952 || exit 1
28954 @endif gnattools
28956 .PHONY: maybe-install-info-gnattools install-info-gnattools
28957 maybe-install-info-gnattools:
28958 @if gnattools
28959 maybe-install-info-gnattools: install-info-gnattools
28961 install-info-gnattools: \
28962 configure-gnattools \
28963 info-gnattools
28964 @$(unstage)
28965 @[ -f ./gnattools/Makefile ] || exit 0; \
28966 r=`${PWD_COMMAND}`; export r; \
28967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28968 $(HOST_EXPORTS) \
28969 for flag in $(EXTRA_HOST_FLAGS) ; do \
28970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28971 done; \
28972 echo "Doing install-info in gnattools" ; \
28973 (cd $(HOST_SUBDIR)/gnattools && \
28974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28976 "RANLIB=$${RANLIB}" \
28977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28978 install-info) \
28979 || exit 1
28981 @endif gnattools
28983 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28984 maybe-installcheck-gnattools:
28985 @if gnattools
28986 maybe-installcheck-gnattools: installcheck-gnattools
28988 installcheck-gnattools: \
28989 configure-gnattools
28990 @$(unstage)
28991 @[ -f ./gnattools/Makefile ] || exit 0; \
28992 r=`${PWD_COMMAND}`; export r; \
28993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28994 $(HOST_EXPORTS) \
28995 for flag in $(EXTRA_HOST_FLAGS) ; do \
28996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28997 done; \
28998 echo "Doing installcheck in gnattools" ; \
28999 (cd $(HOST_SUBDIR)/gnattools && \
29000 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29001 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29002 "RANLIB=$${RANLIB}" \
29003 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29004 installcheck) \
29005 || exit 1
29007 @endif gnattools
29009 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
29010 maybe-mostlyclean-gnattools:
29011 @if gnattools
29012 maybe-mostlyclean-gnattools: mostlyclean-gnattools
29014 mostlyclean-gnattools:
29015 @$(unstage)
29016 @[ -f ./gnattools/Makefile ] || exit 0; \
29017 r=`${PWD_COMMAND}`; export r; \
29018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29019 $(HOST_EXPORTS) \
29020 for flag in $(EXTRA_HOST_FLAGS) ; do \
29021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29022 done; \
29023 echo "Doing mostlyclean in gnattools" ; \
29024 (cd $(HOST_SUBDIR)/gnattools && \
29025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29027 "RANLIB=$${RANLIB}" \
29028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29029 mostlyclean) \
29030 || exit 1
29032 @endif gnattools
29034 .PHONY: maybe-clean-gnattools clean-gnattools
29035 maybe-clean-gnattools:
29036 @if gnattools
29037 maybe-clean-gnattools: clean-gnattools
29039 clean-gnattools:
29040 @$(unstage)
29041 @[ -f ./gnattools/Makefile ] || exit 0; \
29042 r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(HOST_EXPORTS) \
29045 for flag in $(EXTRA_HOST_FLAGS) ; do \
29046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29047 done; \
29048 echo "Doing clean in gnattools" ; \
29049 (cd $(HOST_SUBDIR)/gnattools && \
29050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29052 "RANLIB=$${RANLIB}" \
29053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29054 clean) \
29055 || exit 1
29057 @endif gnattools
29059 .PHONY: maybe-distclean-gnattools distclean-gnattools
29060 maybe-distclean-gnattools:
29061 @if gnattools
29062 maybe-distclean-gnattools: distclean-gnattools
29064 distclean-gnattools:
29065 @$(unstage)
29066 @[ -f ./gnattools/Makefile ] || exit 0; \
29067 r=`${PWD_COMMAND}`; export r; \
29068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29069 $(HOST_EXPORTS) \
29070 for flag in $(EXTRA_HOST_FLAGS) ; do \
29071 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29072 done; \
29073 echo "Doing distclean in gnattools" ; \
29074 (cd $(HOST_SUBDIR)/gnattools && \
29075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29077 "RANLIB=$${RANLIB}" \
29078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29079 distclean) \
29080 || exit 1
29082 @endif gnattools
29084 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
29085 maybe-maintainer-clean-gnattools:
29086 @if gnattools
29087 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
29089 maintainer-clean-gnattools:
29090 @$(unstage)
29091 @[ -f ./gnattools/Makefile ] || exit 0; \
29092 r=`${PWD_COMMAND}`; export r; \
29093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29094 $(HOST_EXPORTS) \
29095 for flag in $(EXTRA_HOST_FLAGS) ; do \
29096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29097 done; \
29098 echo "Doing maintainer-clean in gnattools" ; \
29099 (cd $(HOST_SUBDIR)/gnattools && \
29100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29102 "RANLIB=$${RANLIB}" \
29103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29104 maintainer-clean) \
29105 || exit 1
29107 @endif gnattools
29111 # ---------------------------------------
29112 # Modules which run on the target machine
29113 # ---------------------------------------
29116 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29117 @if target-libstdc++-v3
29118 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
29119 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29120 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
29121 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
29122 @endif target-libstdc++-v3
29126 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
29127 maybe-configure-target-libstdc++-v3:
29128 @if target-libstdc++-v3
29129 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
29130 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
29131 @$(unstage)
29132 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
29133 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
29134 r=`${PWD_COMMAND}`; export r; \
29135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29136 $(RAW_CXX_TARGET_EXPORTS) \
29137 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
29138 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
29139 case $(srcdir) in \
29140 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29141 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
29142 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29143 esac; \
29144 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
29145 libsrcdir="$$s/libstdc++-v3"; \
29146 rm -f no-such-file || : ; \
29147 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29148 $(TARGET_CONFIGARGS) $${srcdiroption} \
29149 || exit 1
29150 @endif target-libstdc++-v3
29156 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
29157 maybe-all-target-libstdc++-v3:
29158 @if target-libstdc++-v3
29159 TARGET-target-libstdc++-v3=all
29160 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
29161 all-target-libstdc++-v3: configure-target-libstdc++-v3
29162 @$(unstage)
29163 @r=`${PWD_COMMAND}`; export r; \
29164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29165 $(RAW_CXX_TARGET_EXPORTS) \
29166 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29167 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
29168 @endif target-libstdc++-v3
29174 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
29175 maybe-check-target-libstdc++-v3:
29176 @if target-libstdc++-v3
29177 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
29179 check-target-libstdc++-v3:
29180 @$(unstage)
29181 @r=`${PWD_COMMAND}`; export r; \
29182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29183 $(RAW_CXX_TARGET_EXPORTS) \
29184 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29185 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
29187 @endif target-libstdc++-v3
29189 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
29190 maybe-install-target-libstdc++-v3:
29191 @if target-libstdc++-v3
29192 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
29194 install-target-libstdc++-v3: installdirs
29195 @$(unstage)
29196 @r=`${PWD_COMMAND}`; export r; \
29197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29198 $(RAW_CXX_TARGET_EXPORTS) \
29199 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29200 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29202 @endif target-libstdc++-v3
29204 # Other targets (info, dvi, etc.)
29206 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
29207 maybe-info-target-libstdc++-v3:
29208 @if target-libstdc++-v3
29209 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
29211 info-target-libstdc++-v3: \
29212 configure-target-libstdc++-v3
29213 @$(unstage)
29214 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29215 r=`${PWD_COMMAND}`; export r; \
29216 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29217 $(RAW_CXX_TARGET_EXPORTS) \
29218 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29219 for flag in $(EXTRA_TARGET_FLAGS); do \
29220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29221 done; \
29222 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29225 "RANLIB=$${RANLIB}" \
29226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29227 info) \
29228 || exit 1
29230 @endif target-libstdc++-v3
29232 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
29233 maybe-dvi-target-libstdc++-v3:
29234 @if target-libstdc++-v3
29235 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
29237 dvi-target-libstdc++-v3: \
29238 configure-target-libstdc++-v3
29239 @$(unstage)
29240 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29241 r=`${PWD_COMMAND}`; export r; \
29242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29243 $(RAW_CXX_TARGET_EXPORTS) \
29244 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29245 for flag in $(EXTRA_TARGET_FLAGS); do \
29246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29247 done; \
29248 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29251 "RANLIB=$${RANLIB}" \
29252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29253 dvi) \
29254 || exit 1
29256 @endif target-libstdc++-v3
29258 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
29259 maybe-html-target-libstdc++-v3:
29260 @if target-libstdc++-v3
29261 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
29263 html-target-libstdc++-v3: \
29264 configure-target-libstdc++-v3
29265 @$(unstage)
29266 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29267 r=`${PWD_COMMAND}`; export r; \
29268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29269 $(RAW_CXX_TARGET_EXPORTS) \
29270 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29271 for flag in $(EXTRA_TARGET_FLAGS); do \
29272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29273 done; \
29274 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29277 "RANLIB=$${RANLIB}" \
29278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29279 html) \
29280 || exit 1
29282 @endif target-libstdc++-v3
29284 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
29285 maybe-TAGS-target-libstdc++-v3:
29286 @if target-libstdc++-v3
29287 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
29289 TAGS-target-libstdc++-v3: \
29290 configure-target-libstdc++-v3
29291 @$(unstage)
29292 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29293 r=`${PWD_COMMAND}`; export r; \
29294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29295 $(RAW_CXX_TARGET_EXPORTS) \
29296 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29297 for flag in $(EXTRA_TARGET_FLAGS); do \
29298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29299 done; \
29300 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29303 "RANLIB=$${RANLIB}" \
29304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29305 TAGS) \
29306 || exit 1
29308 @endif target-libstdc++-v3
29310 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
29311 maybe-install-info-target-libstdc++-v3:
29312 @if target-libstdc++-v3
29313 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
29315 install-info-target-libstdc++-v3: \
29316 configure-target-libstdc++-v3 \
29317 info-target-libstdc++-v3
29318 @$(unstage)
29319 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29320 r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(RAW_CXX_TARGET_EXPORTS) \
29323 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29324 for flag in $(EXTRA_TARGET_FLAGS); do \
29325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29326 done; \
29327 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29330 "RANLIB=$${RANLIB}" \
29331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29332 install-info) \
29333 || exit 1
29335 @endif target-libstdc++-v3
29337 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
29338 maybe-installcheck-target-libstdc++-v3:
29339 @if target-libstdc++-v3
29340 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
29342 installcheck-target-libstdc++-v3: \
29343 configure-target-libstdc++-v3
29344 @$(unstage)
29345 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29346 r=`${PWD_COMMAND}`; export r; \
29347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29348 $(RAW_CXX_TARGET_EXPORTS) \
29349 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29350 for flag in $(EXTRA_TARGET_FLAGS); do \
29351 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29352 done; \
29353 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29356 "RANLIB=$${RANLIB}" \
29357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29358 installcheck) \
29359 || exit 1
29361 @endif target-libstdc++-v3
29363 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
29364 maybe-mostlyclean-target-libstdc++-v3:
29365 @if target-libstdc++-v3
29366 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
29368 mostlyclean-target-libstdc++-v3:
29369 @$(unstage)
29370 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29371 r=`${PWD_COMMAND}`; export r; \
29372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29373 $(RAW_CXX_TARGET_EXPORTS) \
29374 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29375 for flag in $(EXTRA_TARGET_FLAGS); do \
29376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29377 done; \
29378 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29381 "RANLIB=$${RANLIB}" \
29382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29383 mostlyclean) \
29384 || exit 1
29386 @endif target-libstdc++-v3
29388 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
29389 maybe-clean-target-libstdc++-v3:
29390 @if target-libstdc++-v3
29391 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
29393 clean-target-libstdc++-v3:
29394 @$(unstage)
29395 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29396 r=`${PWD_COMMAND}`; export r; \
29397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29398 $(RAW_CXX_TARGET_EXPORTS) \
29399 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29400 for flag in $(EXTRA_TARGET_FLAGS); do \
29401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29402 done; \
29403 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29406 "RANLIB=$${RANLIB}" \
29407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29408 clean) \
29409 || exit 1
29411 @endif target-libstdc++-v3
29413 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
29414 maybe-distclean-target-libstdc++-v3:
29415 @if target-libstdc++-v3
29416 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
29418 distclean-target-libstdc++-v3:
29419 @$(unstage)
29420 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29421 r=`${PWD_COMMAND}`; export r; \
29422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29423 $(RAW_CXX_TARGET_EXPORTS) \
29424 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29425 for flag in $(EXTRA_TARGET_FLAGS); do \
29426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29427 done; \
29428 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29431 "RANLIB=$${RANLIB}" \
29432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29433 distclean) \
29434 || exit 1
29436 @endif target-libstdc++-v3
29438 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
29439 maybe-maintainer-clean-target-libstdc++-v3:
29440 @if target-libstdc++-v3
29441 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
29443 maintainer-clean-target-libstdc++-v3:
29444 @$(unstage)
29445 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
29446 r=`${PWD_COMMAND}`; export r; \
29447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29448 $(RAW_CXX_TARGET_EXPORTS) \
29449 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
29450 for flag in $(EXTRA_TARGET_FLAGS); do \
29451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29452 done; \
29453 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
29454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29456 "RANLIB=$${RANLIB}" \
29457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29458 maintainer-clean) \
29459 || exit 1
29461 @endif target-libstdc++-v3
29465 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29466 @if target-libmudflap
29467 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
29468 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29469 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
29470 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
29471 @endif target-libmudflap
29475 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
29476 maybe-configure-target-libmudflap:
29477 @if target-libmudflap
29478 maybe-configure-target-libmudflap: configure-target-libmudflap
29479 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
29480 @$(unstage)
29481 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
29482 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
29483 r=`${PWD_COMMAND}`; export r; \
29484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29485 $(NORMAL_TARGET_EXPORTS) \
29486 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
29487 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
29488 case $(srcdir) in \
29489 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29490 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
29491 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29492 esac; \
29493 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
29494 libsrcdir="$$s/libmudflap"; \
29495 rm -f no-such-file || : ; \
29496 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29497 $(TARGET_CONFIGARGS) $${srcdiroption} \
29498 || exit 1
29499 @endif target-libmudflap
29505 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
29506 maybe-all-target-libmudflap:
29507 @if target-libmudflap
29508 TARGET-target-libmudflap=all
29509 maybe-all-target-libmudflap: all-target-libmudflap
29510 all-target-libmudflap: configure-target-libmudflap
29511 @$(unstage)
29512 @r=`${PWD_COMMAND}`; export r; \
29513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29514 $(NORMAL_TARGET_EXPORTS) \
29515 (cd $(TARGET_SUBDIR)/libmudflap && \
29516 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
29517 @endif target-libmudflap
29523 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
29524 maybe-check-target-libmudflap:
29525 @if target-libmudflap
29526 maybe-check-target-libmudflap: check-target-libmudflap
29528 check-target-libmudflap:
29529 @$(unstage)
29530 @r=`${PWD_COMMAND}`; export r; \
29531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29532 $(NORMAL_TARGET_EXPORTS) \
29533 (cd $(TARGET_SUBDIR)/libmudflap && \
29534 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29536 @endif target-libmudflap
29538 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
29539 maybe-install-target-libmudflap:
29540 @if target-libmudflap
29541 maybe-install-target-libmudflap: install-target-libmudflap
29543 install-target-libmudflap: installdirs
29544 @$(unstage)
29545 @r=`${PWD_COMMAND}`; export r; \
29546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29547 $(NORMAL_TARGET_EXPORTS) \
29548 (cd $(TARGET_SUBDIR)/libmudflap && \
29549 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29551 @endif target-libmudflap
29553 # Other targets (info, dvi, etc.)
29555 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
29556 maybe-info-target-libmudflap:
29557 @if target-libmudflap
29558 maybe-info-target-libmudflap: info-target-libmudflap
29560 info-target-libmudflap: \
29561 configure-target-libmudflap
29562 @$(unstage)
29563 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29564 r=`${PWD_COMMAND}`; export r; \
29565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29566 $(NORMAL_TARGET_EXPORTS) \
29567 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
29568 for flag in $(EXTRA_TARGET_FLAGS); do \
29569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29570 done; \
29571 (cd $(TARGET_SUBDIR)/libmudflap && \
29572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29574 "RANLIB=$${RANLIB}" \
29575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29576 info) \
29577 || exit 1
29579 @endif target-libmudflap
29581 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
29582 maybe-dvi-target-libmudflap:
29583 @if target-libmudflap
29584 maybe-dvi-target-libmudflap: dvi-target-libmudflap
29586 dvi-target-libmudflap: \
29587 configure-target-libmudflap
29588 @$(unstage)
29589 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29590 r=`${PWD_COMMAND}`; export r; \
29591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29592 $(NORMAL_TARGET_EXPORTS) \
29593 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
29594 for flag in $(EXTRA_TARGET_FLAGS); do \
29595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29596 done; \
29597 (cd $(TARGET_SUBDIR)/libmudflap && \
29598 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29599 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29600 "RANLIB=$${RANLIB}" \
29601 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29602 dvi) \
29603 || exit 1
29605 @endif target-libmudflap
29607 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
29608 maybe-html-target-libmudflap:
29609 @if target-libmudflap
29610 maybe-html-target-libmudflap: html-target-libmudflap
29612 html-target-libmudflap: \
29613 configure-target-libmudflap
29614 @$(unstage)
29615 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29616 r=`${PWD_COMMAND}`; export r; \
29617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29618 $(NORMAL_TARGET_EXPORTS) \
29619 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
29620 for flag in $(EXTRA_TARGET_FLAGS); do \
29621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29622 done; \
29623 (cd $(TARGET_SUBDIR)/libmudflap && \
29624 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29625 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29626 "RANLIB=$${RANLIB}" \
29627 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29628 html) \
29629 || exit 1
29631 @endif target-libmudflap
29633 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
29634 maybe-TAGS-target-libmudflap:
29635 @if target-libmudflap
29636 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
29638 TAGS-target-libmudflap: \
29639 configure-target-libmudflap
29640 @$(unstage)
29641 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29642 r=`${PWD_COMMAND}`; export r; \
29643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29644 $(NORMAL_TARGET_EXPORTS) \
29645 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
29646 for flag in $(EXTRA_TARGET_FLAGS); do \
29647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29648 done; \
29649 (cd $(TARGET_SUBDIR)/libmudflap && \
29650 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29651 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29652 "RANLIB=$${RANLIB}" \
29653 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29654 TAGS) \
29655 || exit 1
29657 @endif target-libmudflap
29659 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
29660 maybe-install-info-target-libmudflap:
29661 @if target-libmudflap
29662 maybe-install-info-target-libmudflap: install-info-target-libmudflap
29664 install-info-target-libmudflap: \
29665 configure-target-libmudflap \
29666 info-target-libmudflap
29667 @$(unstage)
29668 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29669 r=`${PWD_COMMAND}`; export r; \
29670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29671 $(NORMAL_TARGET_EXPORTS) \
29672 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
29673 for flag in $(EXTRA_TARGET_FLAGS); do \
29674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29675 done; \
29676 (cd $(TARGET_SUBDIR)/libmudflap && \
29677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29679 "RANLIB=$${RANLIB}" \
29680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29681 install-info) \
29682 || exit 1
29684 @endif target-libmudflap
29686 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
29687 maybe-installcheck-target-libmudflap:
29688 @if target-libmudflap
29689 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
29691 installcheck-target-libmudflap: \
29692 configure-target-libmudflap
29693 @$(unstage)
29694 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29695 r=`${PWD_COMMAND}`; export r; \
29696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29697 $(NORMAL_TARGET_EXPORTS) \
29698 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29699 for flag in $(EXTRA_TARGET_FLAGS); do \
29700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29701 done; \
29702 (cd $(TARGET_SUBDIR)/libmudflap && \
29703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29705 "RANLIB=$${RANLIB}" \
29706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29707 installcheck) \
29708 || exit 1
29710 @endif target-libmudflap
29712 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29713 maybe-mostlyclean-target-libmudflap:
29714 @if target-libmudflap
29715 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29717 mostlyclean-target-libmudflap:
29718 @$(unstage)
29719 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29720 r=`${PWD_COMMAND}`; export r; \
29721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29722 $(NORMAL_TARGET_EXPORTS) \
29723 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29724 for flag in $(EXTRA_TARGET_FLAGS); do \
29725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29726 done; \
29727 (cd $(TARGET_SUBDIR)/libmudflap && \
29728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29730 "RANLIB=$${RANLIB}" \
29731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29732 mostlyclean) \
29733 || exit 1
29735 @endif target-libmudflap
29737 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29738 maybe-clean-target-libmudflap:
29739 @if target-libmudflap
29740 maybe-clean-target-libmudflap: clean-target-libmudflap
29742 clean-target-libmudflap:
29743 @$(unstage)
29744 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29745 r=`${PWD_COMMAND}`; export r; \
29746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29747 $(NORMAL_TARGET_EXPORTS) \
29748 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29749 for flag in $(EXTRA_TARGET_FLAGS); do \
29750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29751 done; \
29752 (cd $(TARGET_SUBDIR)/libmudflap && \
29753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29755 "RANLIB=$${RANLIB}" \
29756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29757 clean) \
29758 || exit 1
29760 @endif target-libmudflap
29762 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29763 maybe-distclean-target-libmudflap:
29764 @if target-libmudflap
29765 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29767 distclean-target-libmudflap:
29768 @$(unstage)
29769 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(NORMAL_TARGET_EXPORTS) \
29773 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29774 for flag in $(EXTRA_TARGET_FLAGS); do \
29775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29776 done; \
29777 (cd $(TARGET_SUBDIR)/libmudflap && \
29778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29780 "RANLIB=$${RANLIB}" \
29781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29782 distclean) \
29783 || exit 1
29785 @endif target-libmudflap
29787 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29788 maybe-maintainer-clean-target-libmudflap:
29789 @if target-libmudflap
29790 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29792 maintainer-clean-target-libmudflap:
29793 @$(unstage)
29794 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29795 r=`${PWD_COMMAND}`; export r; \
29796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29797 $(NORMAL_TARGET_EXPORTS) \
29798 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29799 for flag in $(EXTRA_TARGET_FLAGS); do \
29800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29801 done; \
29802 (cd $(TARGET_SUBDIR)/libmudflap && \
29803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29805 "RANLIB=$${RANLIB}" \
29806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29807 maintainer-clean) \
29808 || exit 1
29810 @endif target-libmudflap
29814 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29815 @if target-libssp
29816 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
29817 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29818 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
29819 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
29820 @endif target-libssp
29824 .PHONY: configure-target-libssp maybe-configure-target-libssp
29825 maybe-configure-target-libssp:
29826 @if target-libssp
29827 maybe-configure-target-libssp: configure-target-libssp
29828 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
29829 @$(unstage)
29830 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29831 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29832 r=`${PWD_COMMAND}`; export r; \
29833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29834 $(NORMAL_TARGET_EXPORTS) \
29835 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29836 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29837 case $(srcdir) in \
29838 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29839 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29840 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29841 esac; \
29842 srcdiroption="--srcdir=$${topdir}/libssp"; \
29843 libsrcdir="$$s/libssp"; \
29844 rm -f no-such-file || : ; \
29845 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29846 $(TARGET_CONFIGARGS) $${srcdiroption} \
29847 || exit 1
29848 @endif target-libssp
29854 .PHONY: all-target-libssp maybe-all-target-libssp
29855 maybe-all-target-libssp:
29856 @if target-libssp
29857 TARGET-target-libssp=all
29858 maybe-all-target-libssp: all-target-libssp
29859 all-target-libssp: configure-target-libssp
29860 @$(unstage)
29861 @r=`${PWD_COMMAND}`; export r; \
29862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29863 $(NORMAL_TARGET_EXPORTS) \
29864 (cd $(TARGET_SUBDIR)/libssp && \
29865 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29866 @endif target-libssp
29872 .PHONY: check-target-libssp maybe-check-target-libssp
29873 maybe-check-target-libssp:
29874 @if target-libssp
29875 maybe-check-target-libssp: check-target-libssp
29877 check-target-libssp:
29878 @$(unstage)
29879 @r=`${PWD_COMMAND}`; export r; \
29880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29881 $(NORMAL_TARGET_EXPORTS) \
29882 (cd $(TARGET_SUBDIR)/libssp && \
29883 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29885 @endif target-libssp
29887 .PHONY: install-target-libssp maybe-install-target-libssp
29888 maybe-install-target-libssp:
29889 @if target-libssp
29890 maybe-install-target-libssp: install-target-libssp
29892 install-target-libssp: installdirs
29893 @$(unstage)
29894 @r=`${PWD_COMMAND}`; export r; \
29895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29896 $(NORMAL_TARGET_EXPORTS) \
29897 (cd $(TARGET_SUBDIR)/libssp && \
29898 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29900 @endif target-libssp
29902 # Other targets (info, dvi, etc.)
29904 .PHONY: maybe-info-target-libssp info-target-libssp
29905 maybe-info-target-libssp:
29906 @if target-libssp
29907 maybe-info-target-libssp: info-target-libssp
29909 info-target-libssp: \
29910 configure-target-libssp
29911 @$(unstage)
29912 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29913 r=`${PWD_COMMAND}`; export r; \
29914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29915 $(NORMAL_TARGET_EXPORTS) \
29916 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29917 for flag in $(EXTRA_TARGET_FLAGS); do \
29918 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29919 done; \
29920 (cd $(TARGET_SUBDIR)/libssp && \
29921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29923 "RANLIB=$${RANLIB}" \
29924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29925 info) \
29926 || exit 1
29928 @endif target-libssp
29930 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29931 maybe-dvi-target-libssp:
29932 @if target-libssp
29933 maybe-dvi-target-libssp: dvi-target-libssp
29935 dvi-target-libssp: \
29936 configure-target-libssp
29937 @$(unstage)
29938 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29939 r=`${PWD_COMMAND}`; export r; \
29940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29941 $(NORMAL_TARGET_EXPORTS) \
29942 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29943 for flag in $(EXTRA_TARGET_FLAGS); do \
29944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29945 done; \
29946 (cd $(TARGET_SUBDIR)/libssp && \
29947 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29948 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29949 "RANLIB=$${RANLIB}" \
29950 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29951 dvi) \
29952 || exit 1
29954 @endif target-libssp
29956 .PHONY: maybe-html-target-libssp html-target-libssp
29957 maybe-html-target-libssp:
29958 @if target-libssp
29959 maybe-html-target-libssp: html-target-libssp
29961 html-target-libssp: \
29962 configure-target-libssp
29963 @$(unstage)
29964 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29965 r=`${PWD_COMMAND}`; export r; \
29966 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29967 $(NORMAL_TARGET_EXPORTS) \
29968 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29969 for flag in $(EXTRA_TARGET_FLAGS); do \
29970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29971 done; \
29972 (cd $(TARGET_SUBDIR)/libssp && \
29973 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29974 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29975 "RANLIB=$${RANLIB}" \
29976 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29977 html) \
29978 || exit 1
29980 @endif target-libssp
29982 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29983 maybe-TAGS-target-libssp:
29984 @if target-libssp
29985 maybe-TAGS-target-libssp: TAGS-target-libssp
29987 TAGS-target-libssp: \
29988 configure-target-libssp
29989 @$(unstage)
29990 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29991 r=`${PWD_COMMAND}`; export r; \
29992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29993 $(NORMAL_TARGET_EXPORTS) \
29994 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29995 for flag in $(EXTRA_TARGET_FLAGS); do \
29996 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29997 done; \
29998 (cd $(TARGET_SUBDIR)/libssp && \
29999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30001 "RANLIB=$${RANLIB}" \
30002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30003 TAGS) \
30004 || exit 1
30006 @endif target-libssp
30008 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
30009 maybe-install-info-target-libssp:
30010 @if target-libssp
30011 maybe-install-info-target-libssp: install-info-target-libssp
30013 install-info-target-libssp: \
30014 configure-target-libssp \
30015 info-target-libssp
30016 @$(unstage)
30017 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30018 r=`${PWD_COMMAND}`; export r; \
30019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30020 $(NORMAL_TARGET_EXPORTS) \
30021 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
30022 for flag in $(EXTRA_TARGET_FLAGS); do \
30023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30024 done; \
30025 (cd $(TARGET_SUBDIR)/libssp && \
30026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30028 "RANLIB=$${RANLIB}" \
30029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30030 install-info) \
30031 || exit 1
30033 @endif target-libssp
30035 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
30036 maybe-installcheck-target-libssp:
30037 @if target-libssp
30038 maybe-installcheck-target-libssp: installcheck-target-libssp
30040 installcheck-target-libssp: \
30041 configure-target-libssp
30042 @$(unstage)
30043 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30044 r=`${PWD_COMMAND}`; export r; \
30045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30046 $(NORMAL_TARGET_EXPORTS) \
30047 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
30048 for flag in $(EXTRA_TARGET_FLAGS); do \
30049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30050 done; \
30051 (cd $(TARGET_SUBDIR)/libssp && \
30052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30054 "RANLIB=$${RANLIB}" \
30055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30056 installcheck) \
30057 || exit 1
30059 @endif target-libssp
30061 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
30062 maybe-mostlyclean-target-libssp:
30063 @if target-libssp
30064 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
30066 mostlyclean-target-libssp:
30067 @$(unstage)
30068 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30069 r=`${PWD_COMMAND}`; export r; \
30070 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30071 $(NORMAL_TARGET_EXPORTS) \
30072 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
30073 for flag in $(EXTRA_TARGET_FLAGS); do \
30074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30075 done; \
30076 (cd $(TARGET_SUBDIR)/libssp && \
30077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30079 "RANLIB=$${RANLIB}" \
30080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30081 mostlyclean) \
30082 || exit 1
30084 @endif target-libssp
30086 .PHONY: maybe-clean-target-libssp clean-target-libssp
30087 maybe-clean-target-libssp:
30088 @if target-libssp
30089 maybe-clean-target-libssp: clean-target-libssp
30091 clean-target-libssp:
30092 @$(unstage)
30093 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30094 r=`${PWD_COMMAND}`; export r; \
30095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30096 $(NORMAL_TARGET_EXPORTS) \
30097 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
30098 for flag in $(EXTRA_TARGET_FLAGS); do \
30099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30100 done; \
30101 (cd $(TARGET_SUBDIR)/libssp && \
30102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30104 "RANLIB=$${RANLIB}" \
30105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30106 clean) \
30107 || exit 1
30109 @endif target-libssp
30111 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
30112 maybe-distclean-target-libssp:
30113 @if target-libssp
30114 maybe-distclean-target-libssp: distclean-target-libssp
30116 distclean-target-libssp:
30117 @$(unstage)
30118 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30119 r=`${PWD_COMMAND}`; export r; \
30120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30121 $(NORMAL_TARGET_EXPORTS) \
30122 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
30123 for flag in $(EXTRA_TARGET_FLAGS); do \
30124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30125 done; \
30126 (cd $(TARGET_SUBDIR)/libssp && \
30127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30129 "RANLIB=$${RANLIB}" \
30130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30131 distclean) \
30132 || exit 1
30134 @endif target-libssp
30136 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
30137 maybe-maintainer-clean-target-libssp:
30138 @if target-libssp
30139 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
30141 maintainer-clean-target-libssp:
30142 @$(unstage)
30143 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
30144 r=`${PWD_COMMAND}`; export r; \
30145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30146 $(NORMAL_TARGET_EXPORTS) \
30147 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
30148 for flag in $(EXTRA_TARGET_FLAGS); do \
30149 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30150 done; \
30151 (cd $(TARGET_SUBDIR)/libssp && \
30152 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30153 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30154 "RANLIB=$${RANLIB}" \
30155 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30156 maintainer-clean) \
30157 || exit 1
30159 @endif target-libssp
30163 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30164 @if target-newlib
30165 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
30166 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30167 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
30168 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
30169 @endif target-newlib
30173 .PHONY: configure-target-newlib maybe-configure-target-newlib
30174 maybe-configure-target-newlib:
30175 @if target-newlib
30176 maybe-configure-target-newlib: configure-target-newlib
30177 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
30178 @$(unstage)
30179 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
30180 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
30181 r=`${PWD_COMMAND}`; export r; \
30182 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30183 $(NORMAL_TARGET_EXPORTS) \
30184 echo Configuring in $(TARGET_SUBDIR)/newlib; \
30185 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
30186 case $(srcdir) in \
30187 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30188 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
30189 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30190 esac; \
30191 srcdiroption="--srcdir=$${topdir}/newlib"; \
30192 libsrcdir="$$s/newlib"; \
30193 rm -f no-such-file || : ; \
30194 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30195 $(TARGET_CONFIGARGS) $${srcdiroption} \
30196 || exit 1
30197 @endif target-newlib
30203 .PHONY: all-target-newlib maybe-all-target-newlib
30204 maybe-all-target-newlib:
30205 @if target-newlib
30206 TARGET-target-newlib=all
30207 maybe-all-target-newlib: all-target-newlib
30208 all-target-newlib: configure-target-newlib
30209 @$(unstage)
30210 @r=`${PWD_COMMAND}`; export r; \
30211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30212 $(NORMAL_TARGET_EXPORTS) \
30213 (cd $(TARGET_SUBDIR)/newlib && \
30214 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
30215 @endif target-newlib
30221 .PHONY: check-target-newlib maybe-check-target-newlib
30222 maybe-check-target-newlib:
30223 @if target-newlib
30224 maybe-check-target-newlib: check-target-newlib
30226 check-target-newlib:
30227 @$(unstage)
30228 @r=`${PWD_COMMAND}`; export r; \
30229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30230 $(NORMAL_TARGET_EXPORTS) \
30231 (cd $(TARGET_SUBDIR)/newlib && \
30232 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30234 @endif target-newlib
30236 .PHONY: install-target-newlib maybe-install-target-newlib
30237 maybe-install-target-newlib:
30238 @if target-newlib
30239 maybe-install-target-newlib: install-target-newlib
30241 install-target-newlib: installdirs
30242 @$(unstage)
30243 @r=`${PWD_COMMAND}`; export r; \
30244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30245 $(NORMAL_TARGET_EXPORTS) \
30246 (cd $(TARGET_SUBDIR)/newlib && \
30247 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30249 @endif target-newlib
30251 # Other targets (info, dvi, etc.)
30253 .PHONY: maybe-info-target-newlib info-target-newlib
30254 maybe-info-target-newlib:
30255 @if target-newlib
30256 maybe-info-target-newlib: info-target-newlib
30258 info-target-newlib: \
30259 configure-target-newlib
30260 @$(unstage)
30261 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30262 r=`${PWD_COMMAND}`; export r; \
30263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30264 $(NORMAL_TARGET_EXPORTS) \
30265 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
30266 for flag in $(EXTRA_TARGET_FLAGS); do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 (cd $(TARGET_SUBDIR)/newlib && \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30272 "RANLIB=$${RANLIB}" \
30273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30274 info) \
30275 || exit 1
30277 @endif target-newlib
30279 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
30280 maybe-dvi-target-newlib:
30281 @if target-newlib
30282 maybe-dvi-target-newlib: dvi-target-newlib
30284 dvi-target-newlib: \
30285 configure-target-newlib
30286 @$(unstage)
30287 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30288 r=`${PWD_COMMAND}`; export r; \
30289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30290 $(NORMAL_TARGET_EXPORTS) \
30291 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
30292 for flag in $(EXTRA_TARGET_FLAGS); do \
30293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30294 done; \
30295 (cd $(TARGET_SUBDIR)/newlib && \
30296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30298 "RANLIB=$${RANLIB}" \
30299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30300 dvi) \
30301 || exit 1
30303 @endif target-newlib
30305 .PHONY: maybe-html-target-newlib html-target-newlib
30306 maybe-html-target-newlib:
30307 @if target-newlib
30308 maybe-html-target-newlib: html-target-newlib
30310 html-target-newlib: \
30311 configure-target-newlib
30312 @$(unstage)
30313 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30314 r=`${PWD_COMMAND}`; export r; \
30315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30316 $(NORMAL_TARGET_EXPORTS) \
30317 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
30318 for flag in $(EXTRA_TARGET_FLAGS); do \
30319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30320 done; \
30321 (cd $(TARGET_SUBDIR)/newlib && \
30322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30324 "RANLIB=$${RANLIB}" \
30325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30326 html) \
30327 || exit 1
30329 @endif target-newlib
30331 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
30332 maybe-TAGS-target-newlib:
30333 @if target-newlib
30334 maybe-TAGS-target-newlib: TAGS-target-newlib
30336 TAGS-target-newlib: \
30337 configure-target-newlib
30338 @$(unstage)
30339 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30340 r=`${PWD_COMMAND}`; export r; \
30341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30342 $(NORMAL_TARGET_EXPORTS) \
30343 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
30344 for flag in $(EXTRA_TARGET_FLAGS); do \
30345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30346 done; \
30347 (cd $(TARGET_SUBDIR)/newlib && \
30348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30350 "RANLIB=$${RANLIB}" \
30351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30352 TAGS) \
30353 || exit 1
30355 @endif target-newlib
30357 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
30358 maybe-install-info-target-newlib:
30359 @if target-newlib
30360 maybe-install-info-target-newlib: install-info-target-newlib
30362 install-info-target-newlib: \
30363 configure-target-newlib \
30364 info-target-newlib
30365 @$(unstage)
30366 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30367 r=`${PWD_COMMAND}`; export r; \
30368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30369 $(NORMAL_TARGET_EXPORTS) \
30370 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
30371 for flag in $(EXTRA_TARGET_FLAGS); do \
30372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30373 done; \
30374 (cd $(TARGET_SUBDIR)/newlib && \
30375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30377 "RANLIB=$${RANLIB}" \
30378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30379 install-info) \
30380 || exit 1
30382 @endif target-newlib
30384 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
30385 maybe-installcheck-target-newlib:
30386 @if target-newlib
30387 maybe-installcheck-target-newlib: installcheck-target-newlib
30389 installcheck-target-newlib: \
30390 configure-target-newlib
30391 @$(unstage)
30392 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30393 r=`${PWD_COMMAND}`; export r; \
30394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30395 $(NORMAL_TARGET_EXPORTS) \
30396 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
30397 for flag in $(EXTRA_TARGET_FLAGS); do \
30398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30399 done; \
30400 (cd $(TARGET_SUBDIR)/newlib && \
30401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30403 "RANLIB=$${RANLIB}" \
30404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30405 installcheck) \
30406 || exit 1
30408 @endif target-newlib
30410 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
30411 maybe-mostlyclean-target-newlib:
30412 @if target-newlib
30413 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
30415 mostlyclean-target-newlib:
30416 @$(unstage)
30417 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30418 r=`${PWD_COMMAND}`; export r; \
30419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30420 $(NORMAL_TARGET_EXPORTS) \
30421 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
30422 for flag in $(EXTRA_TARGET_FLAGS); do \
30423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30424 done; \
30425 (cd $(TARGET_SUBDIR)/newlib && \
30426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30428 "RANLIB=$${RANLIB}" \
30429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30430 mostlyclean) \
30431 || exit 1
30433 @endif target-newlib
30435 .PHONY: maybe-clean-target-newlib clean-target-newlib
30436 maybe-clean-target-newlib:
30437 @if target-newlib
30438 maybe-clean-target-newlib: clean-target-newlib
30440 clean-target-newlib:
30441 @$(unstage)
30442 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30443 r=`${PWD_COMMAND}`; export r; \
30444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30445 $(NORMAL_TARGET_EXPORTS) \
30446 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
30447 for flag in $(EXTRA_TARGET_FLAGS); do \
30448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30449 done; \
30450 (cd $(TARGET_SUBDIR)/newlib && \
30451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30453 "RANLIB=$${RANLIB}" \
30454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30455 clean) \
30456 || exit 1
30458 @endif target-newlib
30460 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
30461 maybe-distclean-target-newlib:
30462 @if target-newlib
30463 maybe-distclean-target-newlib: distclean-target-newlib
30465 distclean-target-newlib:
30466 @$(unstage)
30467 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30468 r=`${PWD_COMMAND}`; export r; \
30469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30470 $(NORMAL_TARGET_EXPORTS) \
30471 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
30472 for flag in $(EXTRA_TARGET_FLAGS); do \
30473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30474 done; \
30475 (cd $(TARGET_SUBDIR)/newlib && \
30476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30478 "RANLIB=$${RANLIB}" \
30479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30480 distclean) \
30481 || exit 1
30483 @endif target-newlib
30485 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
30486 maybe-maintainer-clean-target-newlib:
30487 @if target-newlib
30488 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
30490 maintainer-clean-target-newlib:
30491 @$(unstage)
30492 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
30493 r=`${PWD_COMMAND}`; export r; \
30494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30495 $(NORMAL_TARGET_EXPORTS) \
30496 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
30497 for flag in $(EXTRA_TARGET_FLAGS); do \
30498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30499 done; \
30500 (cd $(TARGET_SUBDIR)/newlib && \
30501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30503 "RANLIB=$${RANLIB}" \
30504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30505 maintainer-clean) \
30506 || exit 1
30508 @endif target-newlib
30512 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30513 @if target-libgfortran
30514 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
30515 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30516 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
30517 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
30518 @endif target-libgfortran
30522 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
30523 maybe-configure-target-libgfortran:
30524 @if target-libgfortran
30525 maybe-configure-target-libgfortran: configure-target-libgfortran
30526 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
30527 @$(unstage)
30528 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
30529 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
30530 r=`${PWD_COMMAND}`; export r; \
30531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30532 $(NORMAL_TARGET_EXPORTS) \
30533 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
30534 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
30535 case $(srcdir) in \
30536 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30537 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
30538 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30539 esac; \
30540 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
30541 libsrcdir="$$s/libgfortran"; \
30542 rm -f no-such-file || : ; \
30543 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30544 $(TARGET_CONFIGARGS) $${srcdiroption} \
30545 || exit 1
30546 @endif target-libgfortran
30552 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
30553 maybe-all-target-libgfortran:
30554 @if target-libgfortran
30555 TARGET-target-libgfortran=all
30556 maybe-all-target-libgfortran: all-target-libgfortran
30557 all-target-libgfortran: configure-target-libgfortran
30558 @$(unstage)
30559 @r=`${PWD_COMMAND}`; export r; \
30560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30561 $(NORMAL_TARGET_EXPORTS) \
30562 (cd $(TARGET_SUBDIR)/libgfortran && \
30563 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
30564 @endif target-libgfortran
30570 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
30571 maybe-check-target-libgfortran:
30572 @if target-libgfortran
30573 maybe-check-target-libgfortran: check-target-libgfortran
30575 check-target-libgfortran:
30576 @$(unstage)
30577 @r=`${PWD_COMMAND}`; export r; \
30578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30579 $(NORMAL_TARGET_EXPORTS) \
30580 (cd $(TARGET_SUBDIR)/libgfortran && \
30581 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30583 @endif target-libgfortran
30585 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
30586 maybe-install-target-libgfortran:
30587 @if target-libgfortran
30588 maybe-install-target-libgfortran: install-target-libgfortran
30590 install-target-libgfortran: installdirs
30591 @$(unstage)
30592 @r=`${PWD_COMMAND}`; export r; \
30593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30594 $(NORMAL_TARGET_EXPORTS) \
30595 (cd $(TARGET_SUBDIR)/libgfortran && \
30596 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30598 @endif target-libgfortran
30600 # Other targets (info, dvi, etc.)
30602 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
30603 maybe-info-target-libgfortran:
30604 @if target-libgfortran
30605 maybe-info-target-libgfortran: info-target-libgfortran
30607 info-target-libgfortran: \
30608 configure-target-libgfortran
30609 @$(unstage)
30610 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30611 r=`${PWD_COMMAND}`; export r; \
30612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30613 $(NORMAL_TARGET_EXPORTS) \
30614 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
30615 for flag in $(EXTRA_TARGET_FLAGS); do \
30616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30617 done; \
30618 (cd $(TARGET_SUBDIR)/libgfortran && \
30619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30621 "RANLIB=$${RANLIB}" \
30622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30623 info) \
30624 || exit 1
30626 @endif target-libgfortran
30628 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
30629 maybe-dvi-target-libgfortran:
30630 @if target-libgfortran
30631 maybe-dvi-target-libgfortran: dvi-target-libgfortran
30633 dvi-target-libgfortran: \
30634 configure-target-libgfortran
30635 @$(unstage)
30636 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30637 r=`${PWD_COMMAND}`; export r; \
30638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30639 $(NORMAL_TARGET_EXPORTS) \
30640 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
30641 for flag in $(EXTRA_TARGET_FLAGS); do \
30642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30643 done; \
30644 (cd $(TARGET_SUBDIR)/libgfortran && \
30645 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30646 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30647 "RANLIB=$${RANLIB}" \
30648 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30649 dvi) \
30650 || exit 1
30652 @endif target-libgfortran
30654 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
30655 maybe-html-target-libgfortran:
30656 @if target-libgfortran
30657 maybe-html-target-libgfortran: html-target-libgfortran
30659 html-target-libgfortran: \
30660 configure-target-libgfortran
30661 @$(unstage)
30662 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30663 r=`${PWD_COMMAND}`; export r; \
30664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30665 $(NORMAL_TARGET_EXPORTS) \
30666 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
30667 for flag in $(EXTRA_TARGET_FLAGS); do \
30668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30669 done; \
30670 (cd $(TARGET_SUBDIR)/libgfortran && \
30671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30673 "RANLIB=$${RANLIB}" \
30674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30675 html) \
30676 || exit 1
30678 @endif target-libgfortran
30680 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
30681 maybe-TAGS-target-libgfortran:
30682 @if target-libgfortran
30683 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
30685 TAGS-target-libgfortran: \
30686 configure-target-libgfortran
30687 @$(unstage)
30688 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30689 r=`${PWD_COMMAND}`; export r; \
30690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30691 $(NORMAL_TARGET_EXPORTS) \
30692 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
30693 for flag in $(EXTRA_TARGET_FLAGS); do \
30694 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30695 done; \
30696 (cd $(TARGET_SUBDIR)/libgfortran && \
30697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30699 "RANLIB=$${RANLIB}" \
30700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30701 TAGS) \
30702 || exit 1
30704 @endif target-libgfortran
30706 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30707 maybe-install-info-target-libgfortran:
30708 @if target-libgfortran
30709 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30711 install-info-target-libgfortran: \
30712 configure-target-libgfortran \
30713 info-target-libgfortran
30714 @$(unstage)
30715 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30716 r=`${PWD_COMMAND}`; export r; \
30717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30718 $(NORMAL_TARGET_EXPORTS) \
30719 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30720 for flag in $(EXTRA_TARGET_FLAGS); do \
30721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30722 done; \
30723 (cd $(TARGET_SUBDIR)/libgfortran && \
30724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30726 "RANLIB=$${RANLIB}" \
30727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30728 install-info) \
30729 || exit 1
30731 @endif target-libgfortran
30733 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30734 maybe-installcheck-target-libgfortran:
30735 @if target-libgfortran
30736 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30738 installcheck-target-libgfortran: \
30739 configure-target-libgfortran
30740 @$(unstage)
30741 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30742 r=`${PWD_COMMAND}`; export r; \
30743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30744 $(NORMAL_TARGET_EXPORTS) \
30745 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30746 for flag in $(EXTRA_TARGET_FLAGS); do \
30747 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30748 done; \
30749 (cd $(TARGET_SUBDIR)/libgfortran && \
30750 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30751 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30752 "RANLIB=$${RANLIB}" \
30753 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30754 installcheck) \
30755 || exit 1
30757 @endif target-libgfortran
30759 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30760 maybe-mostlyclean-target-libgfortran:
30761 @if target-libgfortran
30762 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30764 mostlyclean-target-libgfortran:
30765 @$(unstage)
30766 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30767 r=`${PWD_COMMAND}`; export r; \
30768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30769 $(NORMAL_TARGET_EXPORTS) \
30770 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30771 for flag in $(EXTRA_TARGET_FLAGS); do \
30772 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30773 done; \
30774 (cd $(TARGET_SUBDIR)/libgfortran && \
30775 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30776 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30777 "RANLIB=$${RANLIB}" \
30778 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30779 mostlyclean) \
30780 || exit 1
30782 @endif target-libgfortran
30784 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30785 maybe-clean-target-libgfortran:
30786 @if target-libgfortran
30787 maybe-clean-target-libgfortran: clean-target-libgfortran
30789 clean-target-libgfortran:
30790 @$(unstage)
30791 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30792 r=`${PWD_COMMAND}`; export r; \
30793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30794 $(NORMAL_TARGET_EXPORTS) \
30795 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30796 for flag in $(EXTRA_TARGET_FLAGS); do \
30797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30798 done; \
30799 (cd $(TARGET_SUBDIR)/libgfortran && \
30800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30802 "RANLIB=$${RANLIB}" \
30803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30804 clean) \
30805 || exit 1
30807 @endif target-libgfortran
30809 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30810 maybe-distclean-target-libgfortran:
30811 @if target-libgfortran
30812 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30814 distclean-target-libgfortran:
30815 @$(unstage)
30816 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30817 r=`${PWD_COMMAND}`; export r; \
30818 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30819 $(NORMAL_TARGET_EXPORTS) \
30820 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30821 for flag in $(EXTRA_TARGET_FLAGS); do \
30822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30823 done; \
30824 (cd $(TARGET_SUBDIR)/libgfortran && \
30825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30827 "RANLIB=$${RANLIB}" \
30828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30829 distclean) \
30830 || exit 1
30832 @endif target-libgfortran
30834 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30835 maybe-maintainer-clean-target-libgfortran:
30836 @if target-libgfortran
30837 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30839 maintainer-clean-target-libgfortran:
30840 @$(unstage)
30841 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30842 r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 $(NORMAL_TARGET_EXPORTS) \
30845 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30846 for flag in $(EXTRA_TARGET_FLAGS); do \
30847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30848 done; \
30849 (cd $(TARGET_SUBDIR)/libgfortran && \
30850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30852 "RANLIB=$${RANLIB}" \
30853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30854 maintainer-clean) \
30855 || exit 1
30857 @endif target-libgfortran
30861 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30862 @if target-libobjc
30863 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
30864 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30865 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
30866 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
30867 @endif target-libobjc
30871 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30872 maybe-configure-target-libobjc:
30873 @if target-libobjc
30874 maybe-configure-target-libobjc: configure-target-libobjc
30875 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
30876 @$(unstage)
30877 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30878 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30879 r=`${PWD_COMMAND}`; export r; \
30880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30881 $(NORMAL_TARGET_EXPORTS) \
30882 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30883 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30884 case $(srcdir) in \
30885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30886 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30888 esac; \
30889 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30890 libsrcdir="$$s/libobjc"; \
30891 rm -f no-such-file || : ; \
30892 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30893 $(TARGET_CONFIGARGS) $${srcdiroption} \
30894 || exit 1
30895 @endif target-libobjc
30901 .PHONY: all-target-libobjc maybe-all-target-libobjc
30902 maybe-all-target-libobjc:
30903 @if target-libobjc
30904 TARGET-target-libobjc=all
30905 maybe-all-target-libobjc: all-target-libobjc
30906 all-target-libobjc: configure-target-libobjc
30907 @$(unstage)
30908 @r=`${PWD_COMMAND}`; export r; \
30909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30910 $(NORMAL_TARGET_EXPORTS) \
30911 (cd $(TARGET_SUBDIR)/libobjc && \
30912 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30913 @endif target-libobjc
30919 .PHONY: check-target-libobjc maybe-check-target-libobjc
30920 maybe-check-target-libobjc:
30921 @if target-libobjc
30922 maybe-check-target-libobjc: check-target-libobjc
30924 check-target-libobjc:
30925 @$(unstage)
30926 @r=`${PWD_COMMAND}`; export r; \
30927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30928 $(NORMAL_TARGET_EXPORTS) \
30929 (cd $(TARGET_SUBDIR)/libobjc && \
30930 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30932 @endif target-libobjc
30934 .PHONY: install-target-libobjc maybe-install-target-libobjc
30935 maybe-install-target-libobjc:
30936 @if target-libobjc
30937 maybe-install-target-libobjc: install-target-libobjc
30939 install-target-libobjc: installdirs
30940 @$(unstage)
30941 @r=`${PWD_COMMAND}`; export r; \
30942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30943 $(NORMAL_TARGET_EXPORTS) \
30944 (cd $(TARGET_SUBDIR)/libobjc && \
30945 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30947 @endif target-libobjc
30949 # Other targets (info, dvi, etc.)
30951 .PHONY: maybe-info-target-libobjc info-target-libobjc
30952 maybe-info-target-libobjc:
30953 @if target-libobjc
30954 maybe-info-target-libobjc: info-target-libobjc
30956 info-target-libobjc: \
30957 configure-target-libobjc
30958 @$(unstage)
30959 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30960 r=`${PWD_COMMAND}`; export r; \
30961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30962 $(NORMAL_TARGET_EXPORTS) \
30963 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30964 for flag in $(EXTRA_TARGET_FLAGS); do \
30965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30966 done; \
30967 (cd $(TARGET_SUBDIR)/libobjc && \
30968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30970 "RANLIB=$${RANLIB}" \
30971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30972 info) \
30973 || exit 1
30975 @endif target-libobjc
30977 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30978 maybe-dvi-target-libobjc:
30979 @if target-libobjc
30980 maybe-dvi-target-libobjc: dvi-target-libobjc
30982 dvi-target-libobjc: \
30983 configure-target-libobjc
30984 @$(unstage)
30985 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30986 r=`${PWD_COMMAND}`; export r; \
30987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30988 $(NORMAL_TARGET_EXPORTS) \
30989 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30990 for flag in $(EXTRA_TARGET_FLAGS); do \
30991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30992 done; \
30993 (cd $(TARGET_SUBDIR)/libobjc && \
30994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30996 "RANLIB=$${RANLIB}" \
30997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30998 dvi) \
30999 || exit 1
31001 @endif target-libobjc
31003 .PHONY: maybe-html-target-libobjc html-target-libobjc
31004 maybe-html-target-libobjc:
31005 @if target-libobjc
31006 maybe-html-target-libobjc: html-target-libobjc
31008 html-target-libobjc: \
31009 configure-target-libobjc
31010 @$(unstage)
31011 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31012 r=`${PWD_COMMAND}`; export r; \
31013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31014 $(NORMAL_TARGET_EXPORTS) \
31015 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
31016 for flag in $(EXTRA_TARGET_FLAGS); do \
31017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31018 done; \
31019 (cd $(TARGET_SUBDIR)/libobjc && \
31020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31022 "RANLIB=$${RANLIB}" \
31023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31024 html) \
31025 || exit 1
31027 @endif target-libobjc
31029 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
31030 maybe-TAGS-target-libobjc:
31031 @if target-libobjc
31032 maybe-TAGS-target-libobjc: TAGS-target-libobjc
31034 TAGS-target-libobjc: \
31035 configure-target-libobjc
31036 @$(unstage)
31037 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31038 r=`${PWD_COMMAND}`; export r; \
31039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31040 $(NORMAL_TARGET_EXPORTS) \
31041 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
31042 for flag in $(EXTRA_TARGET_FLAGS); do \
31043 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31044 done; \
31045 (cd $(TARGET_SUBDIR)/libobjc && \
31046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31048 "RANLIB=$${RANLIB}" \
31049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31050 TAGS) \
31051 || exit 1
31053 @endif target-libobjc
31055 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
31056 maybe-install-info-target-libobjc:
31057 @if target-libobjc
31058 maybe-install-info-target-libobjc: install-info-target-libobjc
31060 install-info-target-libobjc: \
31061 configure-target-libobjc \
31062 info-target-libobjc
31063 @$(unstage)
31064 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31065 r=`${PWD_COMMAND}`; export r; \
31066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31067 $(NORMAL_TARGET_EXPORTS) \
31068 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
31069 for flag in $(EXTRA_TARGET_FLAGS); do \
31070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31071 done; \
31072 (cd $(TARGET_SUBDIR)/libobjc && \
31073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31075 "RANLIB=$${RANLIB}" \
31076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31077 install-info) \
31078 || exit 1
31080 @endif target-libobjc
31082 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
31083 maybe-installcheck-target-libobjc:
31084 @if target-libobjc
31085 maybe-installcheck-target-libobjc: installcheck-target-libobjc
31087 installcheck-target-libobjc: \
31088 configure-target-libobjc
31089 @$(unstage)
31090 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31091 r=`${PWD_COMMAND}`; export r; \
31092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31093 $(NORMAL_TARGET_EXPORTS) \
31094 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
31095 for flag in $(EXTRA_TARGET_FLAGS); do \
31096 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31097 done; \
31098 (cd $(TARGET_SUBDIR)/libobjc && \
31099 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31100 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31101 "RANLIB=$${RANLIB}" \
31102 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31103 installcheck) \
31104 || exit 1
31106 @endif target-libobjc
31108 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
31109 maybe-mostlyclean-target-libobjc:
31110 @if target-libobjc
31111 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
31113 mostlyclean-target-libobjc:
31114 @$(unstage)
31115 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31116 r=`${PWD_COMMAND}`; export r; \
31117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31118 $(NORMAL_TARGET_EXPORTS) \
31119 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
31120 for flag in $(EXTRA_TARGET_FLAGS); do \
31121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31122 done; \
31123 (cd $(TARGET_SUBDIR)/libobjc && \
31124 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31125 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31126 "RANLIB=$${RANLIB}" \
31127 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31128 mostlyclean) \
31129 || exit 1
31131 @endif target-libobjc
31133 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
31134 maybe-clean-target-libobjc:
31135 @if target-libobjc
31136 maybe-clean-target-libobjc: clean-target-libobjc
31138 clean-target-libobjc:
31139 @$(unstage)
31140 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31141 r=`${PWD_COMMAND}`; export r; \
31142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31143 $(NORMAL_TARGET_EXPORTS) \
31144 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
31145 for flag in $(EXTRA_TARGET_FLAGS); do \
31146 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31147 done; \
31148 (cd $(TARGET_SUBDIR)/libobjc && \
31149 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31150 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31151 "RANLIB=$${RANLIB}" \
31152 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31153 clean) \
31154 || exit 1
31156 @endif target-libobjc
31158 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
31159 maybe-distclean-target-libobjc:
31160 @if target-libobjc
31161 maybe-distclean-target-libobjc: distclean-target-libobjc
31163 distclean-target-libobjc:
31164 @$(unstage)
31165 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31166 r=`${PWD_COMMAND}`; export r; \
31167 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31168 $(NORMAL_TARGET_EXPORTS) \
31169 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
31170 for flag in $(EXTRA_TARGET_FLAGS); do \
31171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31172 done; \
31173 (cd $(TARGET_SUBDIR)/libobjc && \
31174 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31175 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31176 "RANLIB=$${RANLIB}" \
31177 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31178 distclean) \
31179 || exit 1
31181 @endif target-libobjc
31183 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
31184 maybe-maintainer-clean-target-libobjc:
31185 @if target-libobjc
31186 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
31188 maintainer-clean-target-libobjc:
31189 @$(unstage)
31190 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
31191 r=`${PWD_COMMAND}`; export r; \
31192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31193 $(NORMAL_TARGET_EXPORTS) \
31194 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
31195 for flag in $(EXTRA_TARGET_FLAGS); do \
31196 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31197 done; \
31198 (cd $(TARGET_SUBDIR)/libobjc && \
31199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31201 "RANLIB=$${RANLIB}" \
31202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31203 maintainer-clean) \
31204 || exit 1
31206 @endif target-libobjc
31210 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31211 @if target-libtermcap
31212 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
31213 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31214 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
31215 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
31216 @endif target-libtermcap
31220 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
31221 maybe-configure-target-libtermcap:
31222 @if target-libtermcap
31223 maybe-configure-target-libtermcap: configure-target-libtermcap
31224 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
31225 @$(unstage)
31226 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
31227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
31228 r=`${PWD_COMMAND}`; export r; \
31229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31230 $(NORMAL_TARGET_EXPORTS) \
31231 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
31232 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
31233 case $(srcdir) in \
31234 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31235 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
31236 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31237 esac; \
31238 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
31239 libsrcdir="$$s/libtermcap"; \
31240 rm -f no-such-file || : ; \
31241 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31242 $(TARGET_CONFIGARGS) $${srcdiroption} \
31243 || exit 1
31244 @endif target-libtermcap
31250 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
31251 maybe-all-target-libtermcap:
31252 @if target-libtermcap
31253 TARGET-target-libtermcap=all
31254 maybe-all-target-libtermcap: all-target-libtermcap
31255 all-target-libtermcap: configure-target-libtermcap
31256 @$(unstage)
31257 @r=`${PWD_COMMAND}`; export r; \
31258 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31259 $(NORMAL_TARGET_EXPORTS) \
31260 (cd $(TARGET_SUBDIR)/libtermcap && \
31261 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
31262 @endif target-libtermcap
31268 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
31269 maybe-check-target-libtermcap:
31270 @if target-libtermcap
31271 maybe-check-target-libtermcap: check-target-libtermcap
31273 # Dummy target for uncheckable module.
31274 check-target-libtermcap:
31276 @endif target-libtermcap
31278 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
31279 maybe-install-target-libtermcap:
31280 @if target-libtermcap
31281 maybe-install-target-libtermcap: install-target-libtermcap
31283 install-target-libtermcap: installdirs
31284 @$(unstage)
31285 @r=`${PWD_COMMAND}`; export r; \
31286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31287 $(NORMAL_TARGET_EXPORTS) \
31288 (cd $(TARGET_SUBDIR)/libtermcap && \
31289 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31291 @endif target-libtermcap
31293 # Other targets (info, dvi, etc.)
31295 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
31296 maybe-info-target-libtermcap:
31297 @if target-libtermcap
31298 maybe-info-target-libtermcap: info-target-libtermcap
31300 info-target-libtermcap: \
31301 configure-target-libtermcap
31302 @$(unstage)
31303 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31304 r=`${PWD_COMMAND}`; export r; \
31305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31306 $(NORMAL_TARGET_EXPORTS) \
31307 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
31308 for flag in $(EXTRA_TARGET_FLAGS); do \
31309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31310 done; \
31311 (cd $(TARGET_SUBDIR)/libtermcap && \
31312 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31313 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31314 "RANLIB=$${RANLIB}" \
31315 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31316 info) \
31317 || exit 1
31319 @endif target-libtermcap
31321 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
31322 maybe-dvi-target-libtermcap:
31323 @if target-libtermcap
31324 maybe-dvi-target-libtermcap: dvi-target-libtermcap
31326 dvi-target-libtermcap: \
31327 configure-target-libtermcap
31328 @$(unstage)
31329 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31330 r=`${PWD_COMMAND}`; export r; \
31331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31332 $(NORMAL_TARGET_EXPORTS) \
31333 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
31334 for flag in $(EXTRA_TARGET_FLAGS); do \
31335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31336 done; \
31337 (cd $(TARGET_SUBDIR)/libtermcap && \
31338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31340 "RANLIB=$${RANLIB}" \
31341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31342 dvi) \
31343 || exit 1
31345 @endif target-libtermcap
31347 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
31348 maybe-html-target-libtermcap:
31349 @if target-libtermcap
31350 maybe-html-target-libtermcap: html-target-libtermcap
31352 html-target-libtermcap: \
31353 configure-target-libtermcap
31354 @$(unstage)
31355 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31356 r=`${PWD_COMMAND}`; export r; \
31357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31358 $(NORMAL_TARGET_EXPORTS) \
31359 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
31360 for flag in $(EXTRA_TARGET_FLAGS); do \
31361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31362 done; \
31363 (cd $(TARGET_SUBDIR)/libtermcap && \
31364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31366 "RANLIB=$${RANLIB}" \
31367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31368 html) \
31369 || exit 1
31371 @endif target-libtermcap
31373 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
31374 maybe-TAGS-target-libtermcap:
31375 @if target-libtermcap
31376 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
31378 TAGS-target-libtermcap: \
31379 configure-target-libtermcap
31380 @$(unstage)
31381 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31382 r=`${PWD_COMMAND}`; export r; \
31383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31384 $(NORMAL_TARGET_EXPORTS) \
31385 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
31386 for flag in $(EXTRA_TARGET_FLAGS); do \
31387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31388 done; \
31389 (cd $(TARGET_SUBDIR)/libtermcap && \
31390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31392 "RANLIB=$${RANLIB}" \
31393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31394 TAGS) \
31395 || exit 1
31397 @endif target-libtermcap
31399 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
31400 maybe-install-info-target-libtermcap:
31401 @if target-libtermcap
31402 maybe-install-info-target-libtermcap: install-info-target-libtermcap
31404 install-info-target-libtermcap: \
31405 configure-target-libtermcap \
31406 info-target-libtermcap
31407 @$(unstage)
31408 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31409 r=`${PWD_COMMAND}`; export r; \
31410 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31411 $(NORMAL_TARGET_EXPORTS) \
31412 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
31413 for flag in $(EXTRA_TARGET_FLAGS); do \
31414 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31415 done; \
31416 (cd $(TARGET_SUBDIR)/libtermcap && \
31417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31419 "RANLIB=$${RANLIB}" \
31420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31421 install-info) \
31422 || exit 1
31424 @endif target-libtermcap
31426 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
31427 maybe-installcheck-target-libtermcap:
31428 @if target-libtermcap
31429 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
31431 installcheck-target-libtermcap: \
31432 configure-target-libtermcap
31433 @$(unstage)
31434 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
31435 r=`${PWD_COMMAND}`; export r; \
31436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31437 $(NORMAL_TARGET_EXPORTS) \
31438 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
31439 for flag in $(EXTRA_TARGET_FLAGS); do \
31440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31441 done; \
31442 (cd $(TARGET_SUBDIR)/libtermcap && \
31443 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31444 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31445 "RANLIB=$${RANLIB}" \
31446 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31447 installcheck) \
31448 || exit 1
31450 @endif target-libtermcap
31452 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
31453 maybe-mostlyclean-target-libtermcap:
31454 @if target-libtermcap
31455 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
31457 # libtermcap doesn't support mostlyclean.
31458 mostlyclean-target-libtermcap:
31460 @endif target-libtermcap
31462 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
31463 maybe-clean-target-libtermcap:
31464 @if target-libtermcap
31465 maybe-clean-target-libtermcap: clean-target-libtermcap
31467 # libtermcap doesn't support clean.
31468 clean-target-libtermcap:
31470 @endif target-libtermcap
31472 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
31473 maybe-distclean-target-libtermcap:
31474 @if target-libtermcap
31475 maybe-distclean-target-libtermcap: distclean-target-libtermcap
31477 # libtermcap doesn't support distclean.
31478 distclean-target-libtermcap:
31480 @endif target-libtermcap
31482 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
31483 maybe-maintainer-clean-target-libtermcap:
31484 @if target-libtermcap
31485 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
31487 # libtermcap doesn't support maintainer-clean.
31488 maintainer-clean-target-libtermcap:
31490 @endif target-libtermcap
31494 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31495 @if target-winsup
31496 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
31497 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31498 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
31499 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
31500 @endif target-winsup
31504 .PHONY: configure-target-winsup maybe-configure-target-winsup
31505 maybe-configure-target-winsup:
31506 @if target-winsup
31507 maybe-configure-target-winsup: configure-target-winsup
31508 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
31509 @$(unstage)
31510 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
31511 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
31512 r=`${PWD_COMMAND}`; export r; \
31513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31514 $(NORMAL_TARGET_EXPORTS) \
31515 echo Configuring in $(TARGET_SUBDIR)/winsup; \
31516 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
31517 case $(srcdir) in \
31518 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31519 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
31520 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31521 esac; \
31522 srcdiroption="--srcdir=$${topdir}/winsup"; \
31523 libsrcdir="$$s/winsup"; \
31524 rm -f no-such-file || : ; \
31525 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31526 $(TARGET_CONFIGARGS) $${srcdiroption} \
31527 || exit 1
31528 @endif target-winsup
31534 .PHONY: all-target-winsup maybe-all-target-winsup
31535 maybe-all-target-winsup:
31536 @if target-winsup
31537 TARGET-target-winsup=all
31538 maybe-all-target-winsup: all-target-winsup
31539 all-target-winsup: configure-target-winsup
31540 @$(unstage)
31541 @r=`${PWD_COMMAND}`; export r; \
31542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31543 $(NORMAL_TARGET_EXPORTS) \
31544 (cd $(TARGET_SUBDIR)/winsup && \
31545 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
31546 @endif target-winsup
31552 .PHONY: check-target-winsup maybe-check-target-winsup
31553 maybe-check-target-winsup:
31554 @if target-winsup
31555 maybe-check-target-winsup: check-target-winsup
31557 check-target-winsup:
31558 @$(unstage)
31559 @r=`${PWD_COMMAND}`; export r; \
31560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31561 $(NORMAL_TARGET_EXPORTS) \
31562 (cd $(TARGET_SUBDIR)/winsup && \
31563 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31565 @endif target-winsup
31567 .PHONY: install-target-winsup maybe-install-target-winsup
31568 maybe-install-target-winsup:
31569 @if target-winsup
31570 maybe-install-target-winsup: install-target-winsup
31572 install-target-winsup: installdirs
31573 @$(unstage)
31574 @r=`${PWD_COMMAND}`; export r; \
31575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31576 $(NORMAL_TARGET_EXPORTS) \
31577 (cd $(TARGET_SUBDIR)/winsup && \
31578 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31580 @endif target-winsup
31582 # Other targets (info, dvi, etc.)
31584 .PHONY: maybe-info-target-winsup info-target-winsup
31585 maybe-info-target-winsup:
31586 @if target-winsup
31587 maybe-info-target-winsup: info-target-winsup
31589 info-target-winsup: \
31590 configure-target-winsup
31591 @$(unstage)
31592 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31593 r=`${PWD_COMMAND}`; export r; \
31594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31595 $(NORMAL_TARGET_EXPORTS) \
31596 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
31597 for flag in $(EXTRA_TARGET_FLAGS); do \
31598 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31599 done; \
31600 (cd $(TARGET_SUBDIR)/winsup && \
31601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31603 "RANLIB=$${RANLIB}" \
31604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31605 info) \
31606 || exit 1
31608 @endif target-winsup
31610 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
31611 maybe-dvi-target-winsup:
31612 @if target-winsup
31613 maybe-dvi-target-winsup: dvi-target-winsup
31615 dvi-target-winsup: \
31616 configure-target-winsup
31617 @$(unstage)
31618 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31619 r=`${PWD_COMMAND}`; export r; \
31620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31621 $(NORMAL_TARGET_EXPORTS) \
31622 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
31623 for flag in $(EXTRA_TARGET_FLAGS); do \
31624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31625 done; \
31626 (cd $(TARGET_SUBDIR)/winsup && \
31627 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31628 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31629 "RANLIB=$${RANLIB}" \
31630 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31631 dvi) \
31632 || exit 1
31634 @endif target-winsup
31636 .PHONY: maybe-html-target-winsup html-target-winsup
31637 maybe-html-target-winsup:
31638 @if target-winsup
31639 maybe-html-target-winsup: html-target-winsup
31641 html-target-winsup: \
31642 configure-target-winsup
31643 @$(unstage)
31644 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31645 r=`${PWD_COMMAND}`; export r; \
31646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31647 $(NORMAL_TARGET_EXPORTS) \
31648 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
31649 for flag in $(EXTRA_TARGET_FLAGS); do \
31650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31651 done; \
31652 (cd $(TARGET_SUBDIR)/winsup && \
31653 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31654 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31655 "RANLIB=$${RANLIB}" \
31656 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31657 html) \
31658 || exit 1
31660 @endif target-winsup
31662 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
31663 maybe-TAGS-target-winsup:
31664 @if target-winsup
31665 maybe-TAGS-target-winsup: TAGS-target-winsup
31667 TAGS-target-winsup: \
31668 configure-target-winsup
31669 @$(unstage)
31670 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31671 r=`${PWD_COMMAND}`; export r; \
31672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31673 $(NORMAL_TARGET_EXPORTS) \
31674 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
31675 for flag in $(EXTRA_TARGET_FLAGS); do \
31676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31677 done; \
31678 (cd $(TARGET_SUBDIR)/winsup && \
31679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31681 "RANLIB=$${RANLIB}" \
31682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31683 TAGS) \
31684 || exit 1
31686 @endif target-winsup
31688 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
31689 maybe-install-info-target-winsup:
31690 @if target-winsup
31691 maybe-install-info-target-winsup: install-info-target-winsup
31693 install-info-target-winsup: \
31694 configure-target-winsup \
31695 info-target-winsup
31696 @$(unstage)
31697 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31698 r=`${PWD_COMMAND}`; export r; \
31699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31700 $(NORMAL_TARGET_EXPORTS) \
31701 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31702 for flag in $(EXTRA_TARGET_FLAGS); do \
31703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31704 done; \
31705 (cd $(TARGET_SUBDIR)/winsup && \
31706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31708 "RANLIB=$${RANLIB}" \
31709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31710 install-info) \
31711 || exit 1
31713 @endif target-winsup
31715 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31716 maybe-installcheck-target-winsup:
31717 @if target-winsup
31718 maybe-installcheck-target-winsup: installcheck-target-winsup
31720 installcheck-target-winsup: \
31721 configure-target-winsup
31722 @$(unstage)
31723 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31724 r=`${PWD_COMMAND}`; export r; \
31725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31726 $(NORMAL_TARGET_EXPORTS) \
31727 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31728 for flag in $(EXTRA_TARGET_FLAGS); do \
31729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31730 done; \
31731 (cd $(TARGET_SUBDIR)/winsup && \
31732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31734 "RANLIB=$${RANLIB}" \
31735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31736 installcheck) \
31737 || exit 1
31739 @endif target-winsup
31741 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31742 maybe-mostlyclean-target-winsup:
31743 @if target-winsup
31744 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31746 mostlyclean-target-winsup:
31747 @$(unstage)
31748 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31749 r=`${PWD_COMMAND}`; export r; \
31750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31751 $(NORMAL_TARGET_EXPORTS) \
31752 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31753 for flag in $(EXTRA_TARGET_FLAGS); do \
31754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31755 done; \
31756 (cd $(TARGET_SUBDIR)/winsup && \
31757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31759 "RANLIB=$${RANLIB}" \
31760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31761 mostlyclean) \
31762 || exit 1
31764 @endif target-winsup
31766 .PHONY: maybe-clean-target-winsup clean-target-winsup
31767 maybe-clean-target-winsup:
31768 @if target-winsup
31769 maybe-clean-target-winsup: clean-target-winsup
31771 clean-target-winsup:
31772 @$(unstage)
31773 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31774 r=`${PWD_COMMAND}`; export r; \
31775 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31776 $(NORMAL_TARGET_EXPORTS) \
31777 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31778 for flag in $(EXTRA_TARGET_FLAGS); do \
31779 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31780 done; \
31781 (cd $(TARGET_SUBDIR)/winsup && \
31782 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31783 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31784 "RANLIB=$${RANLIB}" \
31785 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31786 clean) \
31787 || exit 1
31789 @endif target-winsup
31791 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31792 maybe-distclean-target-winsup:
31793 @if target-winsup
31794 maybe-distclean-target-winsup: distclean-target-winsup
31796 distclean-target-winsup:
31797 @$(unstage)
31798 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31799 r=`${PWD_COMMAND}`; export r; \
31800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31801 $(NORMAL_TARGET_EXPORTS) \
31802 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31803 for flag in $(EXTRA_TARGET_FLAGS); do \
31804 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31805 done; \
31806 (cd $(TARGET_SUBDIR)/winsup && \
31807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31809 "RANLIB=$${RANLIB}" \
31810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31811 distclean) \
31812 || exit 1
31814 @endif target-winsup
31816 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31817 maybe-maintainer-clean-target-winsup:
31818 @if target-winsup
31819 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31821 maintainer-clean-target-winsup:
31822 @$(unstage)
31823 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31824 r=`${PWD_COMMAND}`; export r; \
31825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31826 $(NORMAL_TARGET_EXPORTS) \
31827 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31828 for flag in $(EXTRA_TARGET_FLAGS); do \
31829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31830 done; \
31831 (cd $(TARGET_SUBDIR)/winsup && \
31832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31834 "RANLIB=$${RANLIB}" \
31835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31836 maintainer-clean) \
31837 || exit 1
31839 @endif target-winsup
31843 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31844 @if target-libgloss
31845 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
31846 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31847 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
31848 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
31849 @endif target-libgloss
31853 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31854 maybe-configure-target-libgloss:
31855 @if target-libgloss
31856 maybe-configure-target-libgloss: configure-target-libgloss
31857 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
31858 @$(unstage)
31859 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31860 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31861 r=`${PWD_COMMAND}`; export r; \
31862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31863 $(NORMAL_TARGET_EXPORTS) \
31864 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31865 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31866 case $(srcdir) in \
31867 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31868 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31869 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31870 esac; \
31871 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31872 libsrcdir="$$s/libgloss"; \
31873 rm -f no-such-file || : ; \
31874 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31875 $(TARGET_CONFIGARGS) $${srcdiroption} \
31876 || exit 1
31877 @endif target-libgloss
31883 .PHONY: all-target-libgloss maybe-all-target-libgloss
31884 maybe-all-target-libgloss:
31885 @if target-libgloss
31886 TARGET-target-libgloss=all
31887 maybe-all-target-libgloss: all-target-libgloss
31888 all-target-libgloss: configure-target-libgloss
31889 @$(unstage)
31890 @r=`${PWD_COMMAND}`; export r; \
31891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31892 $(NORMAL_TARGET_EXPORTS) \
31893 (cd $(TARGET_SUBDIR)/libgloss && \
31894 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31895 @endif target-libgloss
31901 .PHONY: check-target-libgloss maybe-check-target-libgloss
31902 maybe-check-target-libgloss:
31903 @if target-libgloss
31904 maybe-check-target-libgloss: check-target-libgloss
31906 # Dummy target for uncheckable module.
31907 check-target-libgloss:
31909 @endif target-libgloss
31911 .PHONY: install-target-libgloss maybe-install-target-libgloss
31912 maybe-install-target-libgloss:
31913 @if target-libgloss
31914 maybe-install-target-libgloss: install-target-libgloss
31916 install-target-libgloss: installdirs
31917 @$(unstage)
31918 @r=`${PWD_COMMAND}`; export r; \
31919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31920 $(NORMAL_TARGET_EXPORTS) \
31921 (cd $(TARGET_SUBDIR)/libgloss && \
31922 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31924 @endif target-libgloss
31926 # Other targets (info, dvi, etc.)
31928 .PHONY: maybe-info-target-libgloss info-target-libgloss
31929 maybe-info-target-libgloss:
31930 @if target-libgloss
31931 maybe-info-target-libgloss: info-target-libgloss
31933 info-target-libgloss: \
31934 configure-target-libgloss
31935 @$(unstage)
31936 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31937 r=`${PWD_COMMAND}`; export r; \
31938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31939 $(NORMAL_TARGET_EXPORTS) \
31940 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31941 for flag in $(EXTRA_TARGET_FLAGS); do \
31942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31943 done; \
31944 (cd $(TARGET_SUBDIR)/libgloss && \
31945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31947 "RANLIB=$${RANLIB}" \
31948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31949 info) \
31950 || exit 1
31952 @endif target-libgloss
31954 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31955 maybe-dvi-target-libgloss:
31956 @if target-libgloss
31957 maybe-dvi-target-libgloss: dvi-target-libgloss
31959 dvi-target-libgloss: \
31960 configure-target-libgloss
31961 @$(unstage)
31962 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31963 r=`${PWD_COMMAND}`; export r; \
31964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31965 $(NORMAL_TARGET_EXPORTS) \
31966 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31967 for flag in $(EXTRA_TARGET_FLAGS); do \
31968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31969 done; \
31970 (cd $(TARGET_SUBDIR)/libgloss && \
31971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31973 "RANLIB=$${RANLIB}" \
31974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31975 dvi) \
31976 || exit 1
31978 @endif target-libgloss
31980 .PHONY: maybe-html-target-libgloss html-target-libgloss
31981 maybe-html-target-libgloss:
31982 @if target-libgloss
31983 maybe-html-target-libgloss: html-target-libgloss
31985 html-target-libgloss: \
31986 configure-target-libgloss
31987 @$(unstage)
31988 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31989 r=`${PWD_COMMAND}`; export r; \
31990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31991 $(NORMAL_TARGET_EXPORTS) \
31992 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31993 for flag in $(EXTRA_TARGET_FLAGS); do \
31994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31995 done; \
31996 (cd $(TARGET_SUBDIR)/libgloss && \
31997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31999 "RANLIB=$${RANLIB}" \
32000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32001 html) \
32002 || exit 1
32004 @endif target-libgloss
32006 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
32007 maybe-TAGS-target-libgloss:
32008 @if target-libgloss
32009 maybe-TAGS-target-libgloss: TAGS-target-libgloss
32011 TAGS-target-libgloss: \
32012 configure-target-libgloss
32013 @$(unstage)
32014 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32015 r=`${PWD_COMMAND}`; export r; \
32016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32017 $(NORMAL_TARGET_EXPORTS) \
32018 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
32019 for flag in $(EXTRA_TARGET_FLAGS); do \
32020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32021 done; \
32022 (cd $(TARGET_SUBDIR)/libgloss && \
32023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32025 "RANLIB=$${RANLIB}" \
32026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32027 TAGS) \
32028 || exit 1
32030 @endif target-libgloss
32032 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
32033 maybe-install-info-target-libgloss:
32034 @if target-libgloss
32035 maybe-install-info-target-libgloss: install-info-target-libgloss
32037 install-info-target-libgloss: \
32038 configure-target-libgloss \
32039 info-target-libgloss
32040 @$(unstage)
32041 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32042 r=`${PWD_COMMAND}`; export r; \
32043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32044 $(NORMAL_TARGET_EXPORTS) \
32045 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
32046 for flag in $(EXTRA_TARGET_FLAGS); do \
32047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32048 done; \
32049 (cd $(TARGET_SUBDIR)/libgloss && \
32050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32052 "RANLIB=$${RANLIB}" \
32053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32054 install-info) \
32055 || exit 1
32057 @endif target-libgloss
32059 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
32060 maybe-installcheck-target-libgloss:
32061 @if target-libgloss
32062 maybe-installcheck-target-libgloss: installcheck-target-libgloss
32064 installcheck-target-libgloss: \
32065 configure-target-libgloss
32066 @$(unstage)
32067 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32068 r=`${PWD_COMMAND}`; export r; \
32069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32070 $(NORMAL_TARGET_EXPORTS) \
32071 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
32072 for flag in $(EXTRA_TARGET_FLAGS); do \
32073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32074 done; \
32075 (cd $(TARGET_SUBDIR)/libgloss && \
32076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32078 "RANLIB=$${RANLIB}" \
32079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32080 installcheck) \
32081 || exit 1
32083 @endif target-libgloss
32085 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
32086 maybe-mostlyclean-target-libgloss:
32087 @if target-libgloss
32088 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
32090 mostlyclean-target-libgloss:
32091 @$(unstage)
32092 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32093 r=`${PWD_COMMAND}`; export r; \
32094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32095 $(NORMAL_TARGET_EXPORTS) \
32096 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
32097 for flag in $(EXTRA_TARGET_FLAGS); do \
32098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32099 done; \
32100 (cd $(TARGET_SUBDIR)/libgloss && \
32101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32103 "RANLIB=$${RANLIB}" \
32104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32105 mostlyclean) \
32106 || exit 1
32108 @endif target-libgloss
32110 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
32111 maybe-clean-target-libgloss:
32112 @if target-libgloss
32113 maybe-clean-target-libgloss: clean-target-libgloss
32115 clean-target-libgloss:
32116 @$(unstage)
32117 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32118 r=`${PWD_COMMAND}`; export r; \
32119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32120 $(NORMAL_TARGET_EXPORTS) \
32121 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
32122 for flag in $(EXTRA_TARGET_FLAGS); do \
32123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32124 done; \
32125 (cd $(TARGET_SUBDIR)/libgloss && \
32126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32128 "RANLIB=$${RANLIB}" \
32129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32130 clean) \
32131 || exit 1
32133 @endif target-libgloss
32135 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
32136 maybe-distclean-target-libgloss:
32137 @if target-libgloss
32138 maybe-distclean-target-libgloss: distclean-target-libgloss
32140 distclean-target-libgloss:
32141 @$(unstage)
32142 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32143 r=`${PWD_COMMAND}`; export r; \
32144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32145 $(NORMAL_TARGET_EXPORTS) \
32146 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
32147 for flag in $(EXTRA_TARGET_FLAGS); do \
32148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32149 done; \
32150 (cd $(TARGET_SUBDIR)/libgloss && \
32151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32153 "RANLIB=$${RANLIB}" \
32154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32155 distclean) \
32156 || exit 1
32158 @endif target-libgloss
32160 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
32161 maybe-maintainer-clean-target-libgloss:
32162 @if target-libgloss
32163 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
32165 maintainer-clean-target-libgloss:
32166 @$(unstage)
32167 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
32168 r=`${PWD_COMMAND}`; export r; \
32169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32170 $(NORMAL_TARGET_EXPORTS) \
32171 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
32172 for flag in $(EXTRA_TARGET_FLAGS); do \
32173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32174 done; \
32175 (cd $(TARGET_SUBDIR)/libgloss && \
32176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32178 "RANLIB=$${RANLIB}" \
32179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32180 maintainer-clean) \
32181 || exit 1
32183 @endif target-libgloss
32187 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32188 @if target-libiberty
32189 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
32190 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32191 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
32192 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
32193 @endif target-libiberty
32197 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
32198 maybe-configure-target-libiberty:
32199 @if target-libiberty
32200 maybe-configure-target-libiberty: configure-target-libiberty
32201 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
32202 @$(unstage)
32203 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
32204 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
32205 r=`${PWD_COMMAND}`; export r; \
32206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32207 $(NORMAL_TARGET_EXPORTS) \
32208 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
32209 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
32210 case $(srcdir) in \
32211 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32212 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
32213 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32214 esac; \
32215 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32216 libsrcdir="$$s/libiberty"; \
32217 rm -f no-such-file || : ; \
32218 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32219 $(TARGET_CONFIGARGS) $${srcdiroption} \
32220 || exit 1
32221 @endif target-libiberty
32227 .PHONY: all-target-libiberty maybe-all-target-libiberty
32228 maybe-all-target-libiberty:
32229 @if target-libiberty
32230 TARGET-target-libiberty=all
32231 maybe-all-target-libiberty: all-target-libiberty
32232 all-target-libiberty: configure-target-libiberty
32233 @$(unstage)
32234 @r=`${PWD_COMMAND}`; export r; \
32235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32236 $(NORMAL_TARGET_EXPORTS) \
32237 (cd $(TARGET_SUBDIR)/libiberty && \
32238 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
32239 @endif target-libiberty
32245 .PHONY: check-target-libiberty maybe-check-target-libiberty
32246 maybe-check-target-libiberty:
32247 @if target-libiberty
32248 maybe-check-target-libiberty: check-target-libiberty
32250 check-target-libiberty:
32251 @$(unstage)
32252 @r=`${PWD_COMMAND}`; export r; \
32253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32254 $(NORMAL_TARGET_EXPORTS) \
32255 (cd $(TARGET_SUBDIR)/libiberty && \
32256 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32258 @endif target-libiberty
32260 .PHONY: install-target-libiberty maybe-install-target-libiberty
32261 maybe-install-target-libiberty:
32262 @if target-libiberty
32263 maybe-install-target-libiberty: install-target-libiberty
32265 install-target-libiberty: installdirs
32266 @$(unstage)
32267 @r=`${PWD_COMMAND}`; export r; \
32268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32269 $(NORMAL_TARGET_EXPORTS) \
32270 (cd $(TARGET_SUBDIR)/libiberty && \
32271 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32273 @endif target-libiberty
32275 # Other targets (info, dvi, etc.)
32277 .PHONY: maybe-info-target-libiberty info-target-libiberty
32278 maybe-info-target-libiberty:
32279 @if target-libiberty
32280 maybe-info-target-libiberty: info-target-libiberty
32282 info-target-libiberty: \
32283 configure-target-libiberty
32284 @$(unstage)
32285 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32286 r=`${PWD_COMMAND}`; export r; \
32287 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32288 $(NORMAL_TARGET_EXPORTS) \
32289 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
32290 for flag in $(EXTRA_TARGET_FLAGS); do \
32291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32292 done; \
32293 (cd $(TARGET_SUBDIR)/libiberty && \
32294 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32295 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32296 "RANLIB=$${RANLIB}" \
32297 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32298 info) \
32299 || exit 1
32301 @endif target-libiberty
32303 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
32304 maybe-dvi-target-libiberty:
32305 @if target-libiberty
32306 maybe-dvi-target-libiberty: dvi-target-libiberty
32308 dvi-target-libiberty: \
32309 configure-target-libiberty
32310 @$(unstage)
32311 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32312 r=`${PWD_COMMAND}`; export r; \
32313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32314 $(NORMAL_TARGET_EXPORTS) \
32315 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
32316 for flag in $(EXTRA_TARGET_FLAGS); do \
32317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32318 done; \
32319 (cd $(TARGET_SUBDIR)/libiberty && \
32320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32322 "RANLIB=$${RANLIB}" \
32323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32324 dvi) \
32325 || exit 1
32327 @endif target-libiberty
32329 .PHONY: maybe-html-target-libiberty html-target-libiberty
32330 maybe-html-target-libiberty:
32331 @if target-libiberty
32332 maybe-html-target-libiberty: html-target-libiberty
32334 html-target-libiberty: \
32335 configure-target-libiberty
32336 @$(unstage)
32337 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32338 r=`${PWD_COMMAND}`; export r; \
32339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32340 $(NORMAL_TARGET_EXPORTS) \
32341 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
32342 for flag in $(EXTRA_TARGET_FLAGS); do \
32343 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32344 done; \
32345 (cd $(TARGET_SUBDIR)/libiberty && \
32346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32348 "RANLIB=$${RANLIB}" \
32349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32350 html) \
32351 || exit 1
32353 @endif target-libiberty
32355 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
32356 maybe-TAGS-target-libiberty:
32357 @if target-libiberty
32358 maybe-TAGS-target-libiberty: TAGS-target-libiberty
32360 TAGS-target-libiberty: \
32361 configure-target-libiberty
32362 @$(unstage)
32363 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32364 r=`${PWD_COMMAND}`; export r; \
32365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32366 $(NORMAL_TARGET_EXPORTS) \
32367 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
32368 for flag in $(EXTRA_TARGET_FLAGS); do \
32369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32370 done; \
32371 (cd $(TARGET_SUBDIR)/libiberty && \
32372 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32373 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32374 "RANLIB=$${RANLIB}" \
32375 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32376 TAGS) \
32377 || exit 1
32379 @endif target-libiberty
32381 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
32382 maybe-install-info-target-libiberty:
32383 @if target-libiberty
32384 maybe-install-info-target-libiberty: install-info-target-libiberty
32386 install-info-target-libiberty: \
32387 configure-target-libiberty \
32388 info-target-libiberty
32389 @$(unstage)
32390 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32391 r=`${PWD_COMMAND}`; export r; \
32392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32393 $(NORMAL_TARGET_EXPORTS) \
32394 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
32395 for flag in $(EXTRA_TARGET_FLAGS); do \
32396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32397 done; \
32398 (cd $(TARGET_SUBDIR)/libiberty && \
32399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32401 "RANLIB=$${RANLIB}" \
32402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32403 install-info) \
32404 || exit 1
32406 @endif target-libiberty
32408 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
32409 maybe-installcheck-target-libiberty:
32410 @if target-libiberty
32411 maybe-installcheck-target-libiberty: installcheck-target-libiberty
32413 installcheck-target-libiberty: \
32414 configure-target-libiberty
32415 @$(unstage)
32416 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32417 r=`${PWD_COMMAND}`; export r; \
32418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32419 $(NORMAL_TARGET_EXPORTS) \
32420 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
32421 for flag in $(EXTRA_TARGET_FLAGS); do \
32422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32423 done; \
32424 (cd $(TARGET_SUBDIR)/libiberty && \
32425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32427 "RANLIB=$${RANLIB}" \
32428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32429 installcheck) \
32430 || exit 1
32432 @endif target-libiberty
32434 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
32435 maybe-mostlyclean-target-libiberty:
32436 @if target-libiberty
32437 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
32439 mostlyclean-target-libiberty:
32440 @$(unstage)
32441 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32442 r=`${PWD_COMMAND}`; export r; \
32443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32444 $(NORMAL_TARGET_EXPORTS) \
32445 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
32446 for flag in $(EXTRA_TARGET_FLAGS); do \
32447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32448 done; \
32449 (cd $(TARGET_SUBDIR)/libiberty && \
32450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32452 "RANLIB=$${RANLIB}" \
32453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32454 mostlyclean) \
32455 || exit 1
32457 @endif target-libiberty
32459 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
32460 maybe-clean-target-libiberty:
32461 @if target-libiberty
32462 maybe-clean-target-libiberty: clean-target-libiberty
32464 clean-target-libiberty:
32465 @$(unstage)
32466 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32467 r=`${PWD_COMMAND}`; export r; \
32468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32469 $(NORMAL_TARGET_EXPORTS) \
32470 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
32471 for flag in $(EXTRA_TARGET_FLAGS); do \
32472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32473 done; \
32474 (cd $(TARGET_SUBDIR)/libiberty && \
32475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32477 "RANLIB=$${RANLIB}" \
32478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32479 clean) \
32480 || exit 1
32482 @endif target-libiberty
32484 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
32485 maybe-distclean-target-libiberty:
32486 @if target-libiberty
32487 maybe-distclean-target-libiberty: distclean-target-libiberty
32489 distclean-target-libiberty:
32490 @$(unstage)
32491 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32492 r=`${PWD_COMMAND}`; export r; \
32493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32494 $(NORMAL_TARGET_EXPORTS) \
32495 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
32496 for flag in $(EXTRA_TARGET_FLAGS); do \
32497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32498 done; \
32499 (cd $(TARGET_SUBDIR)/libiberty && \
32500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32502 "RANLIB=$${RANLIB}" \
32503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32504 distclean) \
32505 || exit 1
32507 @endif target-libiberty
32509 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
32510 maybe-maintainer-clean-target-libiberty:
32511 @if target-libiberty
32512 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
32514 maintainer-clean-target-libiberty:
32515 @$(unstage)
32516 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
32517 r=`${PWD_COMMAND}`; export r; \
32518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32519 $(NORMAL_TARGET_EXPORTS) \
32520 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
32521 for flag in $(EXTRA_TARGET_FLAGS); do \
32522 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32523 done; \
32524 (cd $(TARGET_SUBDIR)/libiberty && \
32525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32527 "RANLIB=$${RANLIB}" \
32528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32529 maintainer-clean) \
32530 || exit 1
32532 @endif target-libiberty
32536 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32537 @if target-gperf
32538 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
32539 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32540 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
32541 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
32542 @endif target-gperf
32546 .PHONY: configure-target-gperf maybe-configure-target-gperf
32547 maybe-configure-target-gperf:
32548 @if target-gperf
32549 maybe-configure-target-gperf: configure-target-gperf
32550 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
32551 @$(unstage)
32552 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
32553 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
32554 r=`${PWD_COMMAND}`; export r; \
32555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32556 $(NORMAL_TARGET_EXPORTS) \
32557 echo Configuring in $(TARGET_SUBDIR)/gperf; \
32558 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
32559 case $(srcdir) in \
32560 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32561 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
32562 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32563 esac; \
32564 srcdiroption="--srcdir=$${topdir}/gperf"; \
32565 libsrcdir="$$s/gperf"; \
32566 rm -f no-such-file || : ; \
32567 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32568 $(TARGET_CONFIGARGS) $${srcdiroption} \
32569 || exit 1
32570 @endif target-gperf
32576 .PHONY: all-target-gperf maybe-all-target-gperf
32577 maybe-all-target-gperf:
32578 @if target-gperf
32579 TARGET-target-gperf=all
32580 maybe-all-target-gperf: all-target-gperf
32581 all-target-gperf: configure-target-gperf
32582 @$(unstage)
32583 @r=`${PWD_COMMAND}`; export r; \
32584 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32585 $(NORMAL_TARGET_EXPORTS) \
32586 (cd $(TARGET_SUBDIR)/gperf && \
32587 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
32588 @endif target-gperf
32594 .PHONY: check-target-gperf maybe-check-target-gperf
32595 maybe-check-target-gperf:
32596 @if target-gperf
32597 maybe-check-target-gperf: check-target-gperf
32599 check-target-gperf:
32600 @$(unstage)
32601 @r=`${PWD_COMMAND}`; export r; \
32602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32603 $(NORMAL_TARGET_EXPORTS) \
32604 (cd $(TARGET_SUBDIR)/gperf && \
32605 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32607 @endif target-gperf
32609 .PHONY: install-target-gperf maybe-install-target-gperf
32610 maybe-install-target-gperf:
32611 @if target-gperf
32612 maybe-install-target-gperf: install-target-gperf
32614 install-target-gperf: installdirs
32615 @$(unstage)
32616 @r=`${PWD_COMMAND}`; export r; \
32617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32618 $(NORMAL_TARGET_EXPORTS) \
32619 (cd $(TARGET_SUBDIR)/gperf && \
32620 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32622 @endif target-gperf
32624 # Other targets (info, dvi, etc.)
32626 .PHONY: maybe-info-target-gperf info-target-gperf
32627 maybe-info-target-gperf:
32628 @if target-gperf
32629 maybe-info-target-gperf: info-target-gperf
32631 info-target-gperf: \
32632 configure-target-gperf
32633 @$(unstage)
32634 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32635 r=`${PWD_COMMAND}`; export r; \
32636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32637 $(NORMAL_TARGET_EXPORTS) \
32638 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
32639 for flag in $(EXTRA_TARGET_FLAGS); do \
32640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32641 done; \
32642 (cd $(TARGET_SUBDIR)/gperf && \
32643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32645 "RANLIB=$${RANLIB}" \
32646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32647 info) \
32648 || exit 1
32650 @endif target-gperf
32652 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
32653 maybe-dvi-target-gperf:
32654 @if target-gperf
32655 maybe-dvi-target-gperf: dvi-target-gperf
32657 dvi-target-gperf: \
32658 configure-target-gperf
32659 @$(unstage)
32660 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32661 r=`${PWD_COMMAND}`; export r; \
32662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32663 $(NORMAL_TARGET_EXPORTS) \
32664 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
32665 for flag in $(EXTRA_TARGET_FLAGS); do \
32666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32667 done; \
32668 (cd $(TARGET_SUBDIR)/gperf && \
32669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32671 "RANLIB=$${RANLIB}" \
32672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32673 dvi) \
32674 || exit 1
32676 @endif target-gperf
32678 .PHONY: maybe-html-target-gperf html-target-gperf
32679 maybe-html-target-gperf:
32680 @if target-gperf
32681 maybe-html-target-gperf: html-target-gperf
32683 html-target-gperf: \
32684 configure-target-gperf
32685 @$(unstage)
32686 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32687 r=`${PWD_COMMAND}`; export r; \
32688 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32689 $(NORMAL_TARGET_EXPORTS) \
32690 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
32691 for flag in $(EXTRA_TARGET_FLAGS); do \
32692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32693 done; \
32694 (cd $(TARGET_SUBDIR)/gperf && \
32695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32697 "RANLIB=$${RANLIB}" \
32698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32699 html) \
32700 || exit 1
32702 @endif target-gperf
32704 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32705 maybe-TAGS-target-gperf:
32706 @if target-gperf
32707 maybe-TAGS-target-gperf: TAGS-target-gperf
32709 TAGS-target-gperf: \
32710 configure-target-gperf
32711 @$(unstage)
32712 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32713 r=`${PWD_COMMAND}`; export r; \
32714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32715 $(NORMAL_TARGET_EXPORTS) \
32716 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32717 for flag in $(EXTRA_TARGET_FLAGS); do \
32718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32719 done; \
32720 (cd $(TARGET_SUBDIR)/gperf && \
32721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32723 "RANLIB=$${RANLIB}" \
32724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32725 TAGS) \
32726 || exit 1
32728 @endif target-gperf
32730 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32731 maybe-install-info-target-gperf:
32732 @if target-gperf
32733 maybe-install-info-target-gperf: install-info-target-gperf
32735 install-info-target-gperf: \
32736 configure-target-gperf \
32737 info-target-gperf
32738 @$(unstage)
32739 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32740 r=`${PWD_COMMAND}`; export r; \
32741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32742 $(NORMAL_TARGET_EXPORTS) \
32743 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32744 for flag in $(EXTRA_TARGET_FLAGS); do \
32745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32746 done; \
32747 (cd $(TARGET_SUBDIR)/gperf && \
32748 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32749 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32750 "RANLIB=$${RANLIB}" \
32751 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32752 install-info) \
32753 || exit 1
32755 @endif target-gperf
32757 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32758 maybe-installcheck-target-gperf:
32759 @if target-gperf
32760 maybe-installcheck-target-gperf: installcheck-target-gperf
32762 installcheck-target-gperf: \
32763 configure-target-gperf
32764 @$(unstage)
32765 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32766 r=`${PWD_COMMAND}`; export r; \
32767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32768 $(NORMAL_TARGET_EXPORTS) \
32769 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32770 for flag in $(EXTRA_TARGET_FLAGS); do \
32771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32772 done; \
32773 (cd $(TARGET_SUBDIR)/gperf && \
32774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32776 "RANLIB=$${RANLIB}" \
32777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32778 installcheck) \
32779 || exit 1
32781 @endif target-gperf
32783 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32784 maybe-mostlyclean-target-gperf:
32785 @if target-gperf
32786 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32788 mostlyclean-target-gperf:
32789 @$(unstage)
32790 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32791 r=`${PWD_COMMAND}`; export r; \
32792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32793 $(NORMAL_TARGET_EXPORTS) \
32794 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32795 for flag in $(EXTRA_TARGET_FLAGS); do \
32796 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32797 done; \
32798 (cd $(TARGET_SUBDIR)/gperf && \
32799 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32800 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32801 "RANLIB=$${RANLIB}" \
32802 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32803 mostlyclean) \
32804 || exit 1
32806 @endif target-gperf
32808 .PHONY: maybe-clean-target-gperf clean-target-gperf
32809 maybe-clean-target-gperf:
32810 @if target-gperf
32811 maybe-clean-target-gperf: clean-target-gperf
32813 clean-target-gperf:
32814 @$(unstage)
32815 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32816 r=`${PWD_COMMAND}`; export r; \
32817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32818 $(NORMAL_TARGET_EXPORTS) \
32819 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32820 for flag in $(EXTRA_TARGET_FLAGS); do \
32821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32822 done; \
32823 (cd $(TARGET_SUBDIR)/gperf && \
32824 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32825 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32826 "RANLIB=$${RANLIB}" \
32827 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32828 clean) \
32829 || exit 1
32831 @endif target-gperf
32833 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32834 maybe-distclean-target-gperf:
32835 @if target-gperf
32836 maybe-distclean-target-gperf: distclean-target-gperf
32838 distclean-target-gperf:
32839 @$(unstage)
32840 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32841 r=`${PWD_COMMAND}`; export r; \
32842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32843 $(NORMAL_TARGET_EXPORTS) \
32844 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32845 for flag in $(EXTRA_TARGET_FLAGS); do \
32846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32847 done; \
32848 (cd $(TARGET_SUBDIR)/gperf && \
32849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32851 "RANLIB=$${RANLIB}" \
32852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32853 distclean) \
32854 || exit 1
32856 @endif target-gperf
32858 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32859 maybe-maintainer-clean-target-gperf:
32860 @if target-gperf
32861 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32863 maintainer-clean-target-gperf:
32864 @$(unstage)
32865 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32866 r=`${PWD_COMMAND}`; export r; \
32867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32868 $(NORMAL_TARGET_EXPORTS) \
32869 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32870 for flag in $(EXTRA_TARGET_FLAGS); do \
32871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32872 done; \
32873 (cd $(TARGET_SUBDIR)/gperf && \
32874 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32875 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32876 "RANLIB=$${RANLIB}" \
32877 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32878 maintainer-clean) \
32879 || exit 1
32881 @endif target-gperf
32885 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32886 @if target-examples
32887 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
32888 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32889 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
32890 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
32891 @endif target-examples
32895 .PHONY: configure-target-examples maybe-configure-target-examples
32896 maybe-configure-target-examples:
32897 @if target-examples
32898 maybe-configure-target-examples: configure-target-examples
32899 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
32900 @$(unstage)
32901 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32902 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32903 r=`${PWD_COMMAND}`; export r; \
32904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32905 $(NORMAL_TARGET_EXPORTS) \
32906 echo Configuring in $(TARGET_SUBDIR)/examples; \
32907 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32908 case $(srcdir) in \
32909 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32910 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32911 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32912 esac; \
32913 srcdiroption="--srcdir=$${topdir}/examples"; \
32914 libsrcdir="$$s/examples"; \
32915 rm -f no-such-file || : ; \
32916 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32917 $(TARGET_CONFIGARGS) $${srcdiroption} \
32918 || exit 1
32919 @endif target-examples
32925 .PHONY: all-target-examples maybe-all-target-examples
32926 maybe-all-target-examples:
32927 @if target-examples
32928 TARGET-target-examples=all
32929 maybe-all-target-examples: all-target-examples
32930 all-target-examples: configure-target-examples
32931 @$(unstage)
32932 @r=`${PWD_COMMAND}`; export r; \
32933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32934 $(NORMAL_TARGET_EXPORTS) \
32935 (cd $(TARGET_SUBDIR)/examples && \
32936 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32937 @endif target-examples
32943 .PHONY: check-target-examples maybe-check-target-examples
32944 maybe-check-target-examples:
32945 @if target-examples
32946 maybe-check-target-examples: check-target-examples
32948 # Dummy target for uncheckable module.
32949 check-target-examples:
32951 @endif target-examples
32953 .PHONY: install-target-examples maybe-install-target-examples
32954 maybe-install-target-examples:
32955 @if target-examples
32956 maybe-install-target-examples: install-target-examples
32958 # Dummy target for uninstallable.
32959 install-target-examples:
32961 @endif target-examples
32963 # Other targets (info, dvi, etc.)
32965 .PHONY: maybe-info-target-examples info-target-examples
32966 maybe-info-target-examples:
32967 @if target-examples
32968 maybe-info-target-examples: info-target-examples
32970 info-target-examples: \
32971 configure-target-examples
32972 @$(unstage)
32973 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32974 r=`${PWD_COMMAND}`; export r; \
32975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32976 $(NORMAL_TARGET_EXPORTS) \
32977 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32978 for flag in $(EXTRA_TARGET_FLAGS); do \
32979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32980 done; \
32981 (cd $(TARGET_SUBDIR)/examples && \
32982 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32983 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32984 "RANLIB=$${RANLIB}" \
32985 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32986 info) \
32987 || exit 1
32989 @endif target-examples
32991 .PHONY: maybe-dvi-target-examples dvi-target-examples
32992 maybe-dvi-target-examples:
32993 @if target-examples
32994 maybe-dvi-target-examples: dvi-target-examples
32996 dvi-target-examples: \
32997 configure-target-examples
32998 @$(unstage)
32999 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33000 r=`${PWD_COMMAND}`; export r; \
33001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33002 $(NORMAL_TARGET_EXPORTS) \
33003 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
33004 for flag in $(EXTRA_TARGET_FLAGS); do \
33005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33006 done; \
33007 (cd $(TARGET_SUBDIR)/examples && \
33008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33010 "RANLIB=$${RANLIB}" \
33011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33012 dvi) \
33013 || exit 1
33015 @endif target-examples
33017 .PHONY: maybe-html-target-examples html-target-examples
33018 maybe-html-target-examples:
33019 @if target-examples
33020 maybe-html-target-examples: html-target-examples
33022 html-target-examples: \
33023 configure-target-examples
33024 @$(unstage)
33025 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33026 r=`${PWD_COMMAND}`; export r; \
33027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33028 $(NORMAL_TARGET_EXPORTS) \
33029 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
33030 for flag in $(EXTRA_TARGET_FLAGS); do \
33031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33032 done; \
33033 (cd $(TARGET_SUBDIR)/examples && \
33034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33036 "RANLIB=$${RANLIB}" \
33037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33038 html) \
33039 || exit 1
33041 @endif target-examples
33043 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
33044 maybe-TAGS-target-examples:
33045 @if target-examples
33046 maybe-TAGS-target-examples: TAGS-target-examples
33048 TAGS-target-examples: \
33049 configure-target-examples
33050 @$(unstage)
33051 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33052 r=`${PWD_COMMAND}`; export r; \
33053 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33054 $(NORMAL_TARGET_EXPORTS) \
33055 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
33056 for flag in $(EXTRA_TARGET_FLAGS); do \
33057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33058 done; \
33059 (cd $(TARGET_SUBDIR)/examples && \
33060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33062 "RANLIB=$${RANLIB}" \
33063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33064 TAGS) \
33065 || exit 1
33067 @endif target-examples
33069 .PHONY: maybe-install-info-target-examples install-info-target-examples
33070 maybe-install-info-target-examples:
33071 @if target-examples
33072 maybe-install-info-target-examples: install-info-target-examples
33074 install-info-target-examples: \
33075 configure-target-examples \
33076 info-target-examples
33077 @$(unstage)
33078 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33079 r=`${PWD_COMMAND}`; export r; \
33080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33081 $(NORMAL_TARGET_EXPORTS) \
33082 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
33083 for flag in $(EXTRA_TARGET_FLAGS); do \
33084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33085 done; \
33086 (cd $(TARGET_SUBDIR)/examples && \
33087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33089 "RANLIB=$${RANLIB}" \
33090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33091 install-info) \
33092 || exit 1
33094 @endif target-examples
33096 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
33097 maybe-installcheck-target-examples:
33098 @if target-examples
33099 maybe-installcheck-target-examples: installcheck-target-examples
33101 installcheck-target-examples: \
33102 configure-target-examples
33103 @$(unstage)
33104 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33105 r=`${PWD_COMMAND}`; export r; \
33106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33107 $(NORMAL_TARGET_EXPORTS) \
33108 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
33109 for flag in $(EXTRA_TARGET_FLAGS); do \
33110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33111 done; \
33112 (cd $(TARGET_SUBDIR)/examples && \
33113 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33114 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33115 "RANLIB=$${RANLIB}" \
33116 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33117 installcheck) \
33118 || exit 1
33120 @endif target-examples
33122 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
33123 maybe-mostlyclean-target-examples:
33124 @if target-examples
33125 maybe-mostlyclean-target-examples: mostlyclean-target-examples
33127 mostlyclean-target-examples:
33128 @$(unstage)
33129 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33130 r=`${PWD_COMMAND}`; export r; \
33131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33132 $(NORMAL_TARGET_EXPORTS) \
33133 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
33134 for flag in $(EXTRA_TARGET_FLAGS); do \
33135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33136 done; \
33137 (cd $(TARGET_SUBDIR)/examples && \
33138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33140 "RANLIB=$${RANLIB}" \
33141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33142 mostlyclean) \
33143 || exit 1
33145 @endif target-examples
33147 .PHONY: maybe-clean-target-examples clean-target-examples
33148 maybe-clean-target-examples:
33149 @if target-examples
33150 maybe-clean-target-examples: clean-target-examples
33152 clean-target-examples:
33153 @$(unstage)
33154 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33155 r=`${PWD_COMMAND}`; export r; \
33156 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33157 $(NORMAL_TARGET_EXPORTS) \
33158 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
33159 for flag in $(EXTRA_TARGET_FLAGS); do \
33160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33161 done; \
33162 (cd $(TARGET_SUBDIR)/examples && \
33163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33165 "RANLIB=$${RANLIB}" \
33166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33167 clean) \
33168 || exit 1
33170 @endif target-examples
33172 .PHONY: maybe-distclean-target-examples distclean-target-examples
33173 maybe-distclean-target-examples:
33174 @if target-examples
33175 maybe-distclean-target-examples: distclean-target-examples
33177 distclean-target-examples:
33178 @$(unstage)
33179 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33180 r=`${PWD_COMMAND}`; export r; \
33181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33182 $(NORMAL_TARGET_EXPORTS) \
33183 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
33184 for flag in $(EXTRA_TARGET_FLAGS); do \
33185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33186 done; \
33187 (cd $(TARGET_SUBDIR)/examples && \
33188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33190 "RANLIB=$${RANLIB}" \
33191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33192 distclean) \
33193 || exit 1
33195 @endif target-examples
33197 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
33198 maybe-maintainer-clean-target-examples:
33199 @if target-examples
33200 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
33202 maintainer-clean-target-examples:
33203 @$(unstage)
33204 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
33205 r=`${PWD_COMMAND}`; export r; \
33206 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33207 $(NORMAL_TARGET_EXPORTS) \
33208 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
33209 for flag in $(EXTRA_TARGET_FLAGS); do \
33210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33211 done; \
33212 (cd $(TARGET_SUBDIR)/examples && \
33213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33215 "RANLIB=$${RANLIB}" \
33216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33217 maintainer-clean) \
33218 || exit 1
33220 @endif target-examples
33224 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33225 @if target-libffi
33226 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
33227 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33228 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
33229 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
33230 @endif target-libffi
33234 .PHONY: configure-target-libffi maybe-configure-target-libffi
33235 maybe-configure-target-libffi:
33236 @if target-libffi
33237 maybe-configure-target-libffi: configure-target-libffi
33238 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
33239 @$(unstage)
33240 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
33241 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
33242 r=`${PWD_COMMAND}`; export r; \
33243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33244 $(NORMAL_TARGET_EXPORTS) \
33245 echo Configuring in $(TARGET_SUBDIR)/libffi; \
33246 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
33247 case $(srcdir) in \
33248 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33249 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
33250 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33251 esac; \
33252 srcdiroption="--srcdir=$${topdir}/libffi"; \
33253 libsrcdir="$$s/libffi"; \
33254 rm -f no-such-file || : ; \
33255 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33256 $(TARGET_CONFIGARGS) $${srcdiroption} \
33257 || exit 1
33258 @endif target-libffi
33264 .PHONY: all-target-libffi maybe-all-target-libffi
33265 maybe-all-target-libffi:
33266 @if target-libffi
33267 TARGET-target-libffi=all
33268 maybe-all-target-libffi: all-target-libffi
33269 all-target-libffi: configure-target-libffi
33270 @$(unstage)
33271 @r=`${PWD_COMMAND}`; export r; \
33272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33273 $(NORMAL_TARGET_EXPORTS) \
33274 (cd $(TARGET_SUBDIR)/libffi && \
33275 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
33276 @endif target-libffi
33282 .PHONY: check-target-libffi maybe-check-target-libffi
33283 maybe-check-target-libffi:
33284 @if target-libffi
33285 maybe-check-target-libffi: check-target-libffi
33287 check-target-libffi:
33288 @$(unstage)
33289 @r=`${PWD_COMMAND}`; export r; \
33290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33291 $(NORMAL_TARGET_EXPORTS) \
33292 (cd $(TARGET_SUBDIR)/libffi && \
33293 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33295 @endif target-libffi
33297 .PHONY: install-target-libffi maybe-install-target-libffi
33298 maybe-install-target-libffi:
33299 @if target-libffi
33300 maybe-install-target-libffi: install-target-libffi
33302 install-target-libffi: installdirs
33303 @$(unstage)
33304 @r=`${PWD_COMMAND}`; export r; \
33305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33306 $(NORMAL_TARGET_EXPORTS) \
33307 (cd $(TARGET_SUBDIR)/libffi && \
33308 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33310 @endif target-libffi
33312 # Other targets (info, dvi, etc.)
33314 .PHONY: maybe-info-target-libffi info-target-libffi
33315 maybe-info-target-libffi:
33316 @if target-libffi
33317 maybe-info-target-libffi: info-target-libffi
33319 info-target-libffi: \
33320 configure-target-libffi
33321 @$(unstage)
33322 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33323 r=`${PWD_COMMAND}`; export r; \
33324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33325 $(NORMAL_TARGET_EXPORTS) \
33326 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
33327 for flag in $(EXTRA_TARGET_FLAGS); do \
33328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33329 done; \
33330 (cd $(TARGET_SUBDIR)/libffi && \
33331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33333 "RANLIB=$${RANLIB}" \
33334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33335 info) \
33336 || exit 1
33338 @endif target-libffi
33340 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
33341 maybe-dvi-target-libffi:
33342 @if target-libffi
33343 maybe-dvi-target-libffi: dvi-target-libffi
33345 dvi-target-libffi: \
33346 configure-target-libffi
33347 @$(unstage)
33348 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33349 r=`${PWD_COMMAND}`; export r; \
33350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33351 $(NORMAL_TARGET_EXPORTS) \
33352 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
33353 for flag in $(EXTRA_TARGET_FLAGS); do \
33354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33355 done; \
33356 (cd $(TARGET_SUBDIR)/libffi && \
33357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33359 "RANLIB=$${RANLIB}" \
33360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33361 dvi) \
33362 || exit 1
33364 @endif target-libffi
33366 .PHONY: maybe-html-target-libffi html-target-libffi
33367 maybe-html-target-libffi:
33368 @if target-libffi
33369 maybe-html-target-libffi: html-target-libffi
33371 html-target-libffi: \
33372 configure-target-libffi
33373 @$(unstage)
33374 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33375 r=`${PWD_COMMAND}`; export r; \
33376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33377 $(NORMAL_TARGET_EXPORTS) \
33378 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
33379 for flag in $(EXTRA_TARGET_FLAGS); do \
33380 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33381 done; \
33382 (cd $(TARGET_SUBDIR)/libffi && \
33383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33385 "RANLIB=$${RANLIB}" \
33386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33387 html) \
33388 || exit 1
33390 @endif target-libffi
33392 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
33393 maybe-TAGS-target-libffi:
33394 @if target-libffi
33395 maybe-TAGS-target-libffi: TAGS-target-libffi
33397 TAGS-target-libffi: \
33398 configure-target-libffi
33399 @$(unstage)
33400 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33401 r=`${PWD_COMMAND}`; export r; \
33402 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33403 $(NORMAL_TARGET_EXPORTS) \
33404 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
33405 for flag in $(EXTRA_TARGET_FLAGS); do \
33406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33407 done; \
33408 (cd $(TARGET_SUBDIR)/libffi && \
33409 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33410 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33411 "RANLIB=$${RANLIB}" \
33412 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33413 TAGS) \
33414 || exit 1
33416 @endif target-libffi
33418 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
33419 maybe-install-info-target-libffi:
33420 @if target-libffi
33421 maybe-install-info-target-libffi: install-info-target-libffi
33423 install-info-target-libffi: \
33424 configure-target-libffi \
33425 info-target-libffi
33426 @$(unstage)
33427 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33428 r=`${PWD_COMMAND}`; export r; \
33429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33430 $(NORMAL_TARGET_EXPORTS) \
33431 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
33432 for flag in $(EXTRA_TARGET_FLAGS); do \
33433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33434 done; \
33435 (cd $(TARGET_SUBDIR)/libffi && \
33436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33438 "RANLIB=$${RANLIB}" \
33439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33440 install-info) \
33441 || exit 1
33443 @endif target-libffi
33445 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
33446 maybe-installcheck-target-libffi:
33447 @if target-libffi
33448 maybe-installcheck-target-libffi: installcheck-target-libffi
33450 installcheck-target-libffi: \
33451 configure-target-libffi
33452 @$(unstage)
33453 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33454 r=`${PWD_COMMAND}`; export r; \
33455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33456 $(NORMAL_TARGET_EXPORTS) \
33457 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
33458 for flag in $(EXTRA_TARGET_FLAGS); do \
33459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33460 done; \
33461 (cd $(TARGET_SUBDIR)/libffi && \
33462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33464 "RANLIB=$${RANLIB}" \
33465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33466 installcheck) \
33467 || exit 1
33469 @endif target-libffi
33471 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
33472 maybe-mostlyclean-target-libffi:
33473 @if target-libffi
33474 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
33476 mostlyclean-target-libffi:
33477 @$(unstage)
33478 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33479 r=`${PWD_COMMAND}`; export r; \
33480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33481 $(NORMAL_TARGET_EXPORTS) \
33482 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
33483 for flag in $(EXTRA_TARGET_FLAGS); do \
33484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33485 done; \
33486 (cd $(TARGET_SUBDIR)/libffi && \
33487 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33488 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33489 "RANLIB=$${RANLIB}" \
33490 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33491 mostlyclean) \
33492 || exit 1
33494 @endif target-libffi
33496 .PHONY: maybe-clean-target-libffi clean-target-libffi
33497 maybe-clean-target-libffi:
33498 @if target-libffi
33499 maybe-clean-target-libffi: clean-target-libffi
33501 clean-target-libffi:
33502 @$(unstage)
33503 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33504 r=`${PWD_COMMAND}`; export r; \
33505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33506 $(NORMAL_TARGET_EXPORTS) \
33507 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
33508 for flag in $(EXTRA_TARGET_FLAGS); do \
33509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33510 done; \
33511 (cd $(TARGET_SUBDIR)/libffi && \
33512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33514 "RANLIB=$${RANLIB}" \
33515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33516 clean) \
33517 || exit 1
33519 @endif target-libffi
33521 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
33522 maybe-distclean-target-libffi:
33523 @if target-libffi
33524 maybe-distclean-target-libffi: distclean-target-libffi
33526 distclean-target-libffi:
33527 @$(unstage)
33528 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33529 r=`${PWD_COMMAND}`; export r; \
33530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33531 $(NORMAL_TARGET_EXPORTS) \
33532 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
33533 for flag in $(EXTRA_TARGET_FLAGS); do \
33534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33535 done; \
33536 (cd $(TARGET_SUBDIR)/libffi && \
33537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33539 "RANLIB=$${RANLIB}" \
33540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33541 distclean) \
33542 || exit 1
33544 @endif target-libffi
33546 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
33547 maybe-maintainer-clean-target-libffi:
33548 @if target-libffi
33549 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
33551 maintainer-clean-target-libffi:
33552 @$(unstage)
33553 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
33554 r=`${PWD_COMMAND}`; export r; \
33555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33556 $(NORMAL_TARGET_EXPORTS) \
33557 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
33558 for flag in $(EXTRA_TARGET_FLAGS); do \
33559 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33560 done; \
33561 (cd $(TARGET_SUBDIR)/libffi && \
33562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33564 "RANLIB=$${RANLIB}" \
33565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33566 maintainer-clean) \
33567 || exit 1
33569 @endif target-libffi
33573 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33574 @if target-libjava
33575 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
33576 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33577 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
33578 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
33579 @endif target-libjava
33583 .PHONY: configure-target-libjava maybe-configure-target-libjava
33584 maybe-configure-target-libjava:
33585 @if target-libjava
33586 maybe-configure-target-libjava: configure-target-libjava
33587 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
33588 @$(unstage)
33589 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
33590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
33591 r=`${PWD_COMMAND}`; export r; \
33592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33593 $(RAW_CXX_TARGET_EXPORTS) \
33594 echo Configuring in $(TARGET_SUBDIR)/libjava; \
33595 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
33596 case $(srcdir) in \
33597 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33598 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
33599 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33600 esac; \
33601 srcdiroption="--srcdir=$${topdir}/libjava"; \
33602 libsrcdir="$$s/libjava"; \
33603 rm -f no-such-file || : ; \
33604 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33605 $(TARGET_CONFIGARGS) $${srcdiroption} \
33606 || exit 1
33607 @endif target-libjava
33613 .PHONY: all-target-libjava maybe-all-target-libjava
33614 maybe-all-target-libjava:
33615 @if target-libjava
33616 TARGET-target-libjava=all
33617 maybe-all-target-libjava: all-target-libjava
33618 all-target-libjava: configure-target-libjava
33619 @$(unstage)
33620 @r=`${PWD_COMMAND}`; export r; \
33621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33622 $(RAW_CXX_TARGET_EXPORTS) \
33623 (cd $(TARGET_SUBDIR)/libjava && \
33624 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
33625 @endif target-libjava
33631 .PHONY: check-target-libjava maybe-check-target-libjava
33632 maybe-check-target-libjava:
33633 @if target-libjava
33634 maybe-check-target-libjava: check-target-libjava
33636 check-target-libjava:
33637 @$(unstage)
33638 @r=`${PWD_COMMAND}`; export r; \
33639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33640 $(RAW_CXX_TARGET_EXPORTS) \
33641 (cd $(TARGET_SUBDIR)/libjava && \
33642 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
33644 @endif target-libjava
33646 .PHONY: install-target-libjava maybe-install-target-libjava
33647 maybe-install-target-libjava:
33648 @if target-libjava
33649 maybe-install-target-libjava: install-target-libjava
33651 install-target-libjava: installdirs
33652 @$(unstage)
33653 @r=`${PWD_COMMAND}`; export r; \
33654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33655 $(RAW_CXX_TARGET_EXPORTS) \
33656 (cd $(TARGET_SUBDIR)/libjava && \
33657 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33659 @endif target-libjava
33661 # Other targets (info, dvi, etc.)
33663 .PHONY: maybe-info-target-libjava info-target-libjava
33664 maybe-info-target-libjava:
33665 @if target-libjava
33666 maybe-info-target-libjava: info-target-libjava
33668 info-target-libjava: \
33669 configure-target-libjava
33670 @$(unstage)
33671 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33672 r=`${PWD_COMMAND}`; export r; \
33673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33674 $(RAW_CXX_TARGET_EXPORTS) \
33675 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
33676 for flag in $(EXTRA_TARGET_FLAGS); do \
33677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33678 done; \
33679 (cd $(TARGET_SUBDIR)/libjava && \
33680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33682 "RANLIB=$${RANLIB}" \
33683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33684 info) \
33685 || exit 1
33687 @endif target-libjava
33689 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
33690 maybe-dvi-target-libjava:
33691 @if target-libjava
33692 maybe-dvi-target-libjava: dvi-target-libjava
33694 dvi-target-libjava: \
33695 configure-target-libjava
33696 @$(unstage)
33697 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33698 r=`${PWD_COMMAND}`; export r; \
33699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33700 $(RAW_CXX_TARGET_EXPORTS) \
33701 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33702 for flag in $(EXTRA_TARGET_FLAGS); do \
33703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33704 done; \
33705 (cd $(TARGET_SUBDIR)/libjava && \
33706 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33707 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33708 "RANLIB=$${RANLIB}" \
33709 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33710 dvi) \
33711 || exit 1
33713 @endif target-libjava
33715 .PHONY: maybe-html-target-libjava html-target-libjava
33716 maybe-html-target-libjava:
33717 @if target-libjava
33718 maybe-html-target-libjava: html-target-libjava
33720 html-target-libjava: \
33721 configure-target-libjava
33722 @$(unstage)
33723 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33724 r=`${PWD_COMMAND}`; export r; \
33725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33726 $(RAW_CXX_TARGET_EXPORTS) \
33727 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33728 for flag in $(EXTRA_TARGET_FLAGS); do \
33729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33730 done; \
33731 (cd $(TARGET_SUBDIR)/libjava && \
33732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33734 "RANLIB=$${RANLIB}" \
33735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33736 html) \
33737 || exit 1
33739 @endif target-libjava
33741 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33742 maybe-TAGS-target-libjava:
33743 @if target-libjava
33744 maybe-TAGS-target-libjava: TAGS-target-libjava
33746 TAGS-target-libjava: \
33747 configure-target-libjava
33748 @$(unstage)
33749 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33750 r=`${PWD_COMMAND}`; export r; \
33751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33752 $(RAW_CXX_TARGET_EXPORTS) \
33753 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33754 for flag in $(EXTRA_TARGET_FLAGS); do \
33755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33756 done; \
33757 (cd $(TARGET_SUBDIR)/libjava && \
33758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33760 "RANLIB=$${RANLIB}" \
33761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33762 TAGS) \
33763 || exit 1
33765 @endif target-libjava
33767 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33768 maybe-install-info-target-libjava:
33769 @if target-libjava
33770 maybe-install-info-target-libjava: install-info-target-libjava
33772 install-info-target-libjava: \
33773 configure-target-libjava \
33774 info-target-libjava
33775 @$(unstage)
33776 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33777 r=`${PWD_COMMAND}`; export r; \
33778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33779 $(RAW_CXX_TARGET_EXPORTS) \
33780 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33781 for flag in $(EXTRA_TARGET_FLAGS); do \
33782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33783 done; \
33784 (cd $(TARGET_SUBDIR)/libjava && \
33785 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33786 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33787 "RANLIB=$${RANLIB}" \
33788 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33789 install-info) \
33790 || exit 1
33792 @endif target-libjava
33794 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33795 maybe-installcheck-target-libjava:
33796 @if target-libjava
33797 maybe-installcheck-target-libjava: installcheck-target-libjava
33799 installcheck-target-libjava: \
33800 configure-target-libjava
33801 @$(unstage)
33802 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33803 r=`${PWD_COMMAND}`; export r; \
33804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33805 $(RAW_CXX_TARGET_EXPORTS) \
33806 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33807 for flag in $(EXTRA_TARGET_FLAGS); do \
33808 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33809 done; \
33810 (cd $(TARGET_SUBDIR)/libjava && \
33811 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33812 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33813 "RANLIB=$${RANLIB}" \
33814 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33815 installcheck) \
33816 || exit 1
33818 @endif target-libjava
33820 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33821 maybe-mostlyclean-target-libjava:
33822 @if target-libjava
33823 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33825 mostlyclean-target-libjava:
33826 @$(unstage)
33827 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33828 r=`${PWD_COMMAND}`; export r; \
33829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33830 $(RAW_CXX_TARGET_EXPORTS) \
33831 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33832 for flag in $(EXTRA_TARGET_FLAGS); do \
33833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33834 done; \
33835 (cd $(TARGET_SUBDIR)/libjava && \
33836 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33837 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33838 "RANLIB=$${RANLIB}" \
33839 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33840 mostlyclean) \
33841 || exit 1
33843 @endif target-libjava
33845 .PHONY: maybe-clean-target-libjava clean-target-libjava
33846 maybe-clean-target-libjava:
33847 @if target-libjava
33848 maybe-clean-target-libjava: clean-target-libjava
33850 clean-target-libjava:
33851 @$(unstage)
33852 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33853 r=`${PWD_COMMAND}`; export r; \
33854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33855 $(RAW_CXX_TARGET_EXPORTS) \
33856 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33857 for flag in $(EXTRA_TARGET_FLAGS); do \
33858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33859 done; \
33860 (cd $(TARGET_SUBDIR)/libjava && \
33861 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33862 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33863 "RANLIB=$${RANLIB}" \
33864 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33865 clean) \
33866 || exit 1
33868 @endif target-libjava
33870 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33871 maybe-distclean-target-libjava:
33872 @if target-libjava
33873 maybe-distclean-target-libjava: distclean-target-libjava
33875 distclean-target-libjava:
33876 @$(unstage)
33877 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33878 r=`${PWD_COMMAND}`; export r; \
33879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33880 $(RAW_CXX_TARGET_EXPORTS) \
33881 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33882 for flag in $(EXTRA_TARGET_FLAGS); do \
33883 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33884 done; \
33885 (cd $(TARGET_SUBDIR)/libjava && \
33886 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33887 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33888 "RANLIB=$${RANLIB}" \
33889 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33890 distclean) \
33891 || exit 1
33893 @endif target-libjava
33895 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33896 maybe-maintainer-clean-target-libjava:
33897 @if target-libjava
33898 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33900 maintainer-clean-target-libjava:
33901 @$(unstage)
33902 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33903 r=`${PWD_COMMAND}`; export r; \
33904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33905 $(RAW_CXX_TARGET_EXPORTS) \
33906 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33907 for flag in $(EXTRA_TARGET_FLAGS); do \
33908 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33909 done; \
33910 (cd $(TARGET_SUBDIR)/libjava && \
33911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33913 "RANLIB=$${RANLIB}" \
33914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33915 maintainer-clean) \
33916 || exit 1
33918 @endif target-libjava
33922 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33923 @if target-zlib
33924 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
33925 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33926 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
33927 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
33928 @endif target-zlib
33932 .PHONY: configure-target-zlib maybe-configure-target-zlib
33933 maybe-configure-target-zlib:
33934 @if target-zlib
33935 maybe-configure-target-zlib: configure-target-zlib
33936 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
33937 @$(unstage)
33938 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33939 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33940 r=`${PWD_COMMAND}`; export r; \
33941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33942 $(NORMAL_TARGET_EXPORTS) \
33943 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33944 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33945 case $(srcdir) in \
33946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33947 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33949 esac; \
33950 srcdiroption="--srcdir=$${topdir}/zlib"; \
33951 libsrcdir="$$s/zlib"; \
33952 rm -f no-such-file || : ; \
33953 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33954 $(TARGET_CONFIGARGS) $${srcdiroption} \
33955 || exit 1
33956 @endif target-zlib
33962 .PHONY: all-target-zlib maybe-all-target-zlib
33963 maybe-all-target-zlib:
33964 @if target-zlib
33965 TARGET-target-zlib=all
33966 maybe-all-target-zlib: all-target-zlib
33967 all-target-zlib: configure-target-zlib
33968 @$(unstage)
33969 @r=`${PWD_COMMAND}`; export r; \
33970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33971 $(NORMAL_TARGET_EXPORTS) \
33972 (cd $(TARGET_SUBDIR)/zlib && \
33973 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33974 @endif target-zlib
33980 .PHONY: check-target-zlib maybe-check-target-zlib
33981 maybe-check-target-zlib:
33982 @if target-zlib
33983 maybe-check-target-zlib: check-target-zlib
33985 check-target-zlib:
33986 @$(unstage)
33987 @r=`${PWD_COMMAND}`; export r; \
33988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33989 $(NORMAL_TARGET_EXPORTS) \
33990 (cd $(TARGET_SUBDIR)/zlib && \
33991 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33993 @endif target-zlib
33995 .PHONY: install-target-zlib maybe-install-target-zlib
33996 maybe-install-target-zlib:
33997 @if target-zlib
33998 maybe-install-target-zlib: install-target-zlib
34000 install-target-zlib: installdirs
34001 @$(unstage)
34002 @r=`${PWD_COMMAND}`; export r; \
34003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34004 $(NORMAL_TARGET_EXPORTS) \
34005 (cd $(TARGET_SUBDIR)/zlib && \
34006 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34008 @endif target-zlib
34010 # Other targets (info, dvi, etc.)
34012 .PHONY: maybe-info-target-zlib info-target-zlib
34013 maybe-info-target-zlib:
34014 @if target-zlib
34015 maybe-info-target-zlib: info-target-zlib
34017 info-target-zlib: \
34018 configure-target-zlib
34019 @$(unstage)
34020 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34021 r=`${PWD_COMMAND}`; export r; \
34022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34023 $(NORMAL_TARGET_EXPORTS) \
34024 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
34025 for flag in $(EXTRA_TARGET_FLAGS); do \
34026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34027 done; \
34028 (cd $(TARGET_SUBDIR)/zlib && \
34029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34031 "RANLIB=$${RANLIB}" \
34032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34033 info) \
34034 || exit 1
34036 @endif target-zlib
34038 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
34039 maybe-dvi-target-zlib:
34040 @if target-zlib
34041 maybe-dvi-target-zlib: dvi-target-zlib
34043 dvi-target-zlib: \
34044 configure-target-zlib
34045 @$(unstage)
34046 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34047 r=`${PWD_COMMAND}`; export r; \
34048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34049 $(NORMAL_TARGET_EXPORTS) \
34050 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
34051 for flag in $(EXTRA_TARGET_FLAGS); do \
34052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34053 done; \
34054 (cd $(TARGET_SUBDIR)/zlib && \
34055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34057 "RANLIB=$${RANLIB}" \
34058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34059 dvi) \
34060 || exit 1
34062 @endif target-zlib
34064 .PHONY: maybe-html-target-zlib html-target-zlib
34065 maybe-html-target-zlib:
34066 @if target-zlib
34067 maybe-html-target-zlib: html-target-zlib
34069 html-target-zlib: \
34070 configure-target-zlib
34071 @$(unstage)
34072 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34073 r=`${PWD_COMMAND}`; export r; \
34074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34075 $(NORMAL_TARGET_EXPORTS) \
34076 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
34077 for flag in $(EXTRA_TARGET_FLAGS); do \
34078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34079 done; \
34080 (cd $(TARGET_SUBDIR)/zlib && \
34081 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34082 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34083 "RANLIB=$${RANLIB}" \
34084 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34085 html) \
34086 || exit 1
34088 @endif target-zlib
34090 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
34091 maybe-TAGS-target-zlib:
34092 @if target-zlib
34093 maybe-TAGS-target-zlib: TAGS-target-zlib
34095 TAGS-target-zlib: \
34096 configure-target-zlib
34097 @$(unstage)
34098 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34099 r=`${PWD_COMMAND}`; export r; \
34100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34101 $(NORMAL_TARGET_EXPORTS) \
34102 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
34103 for flag in $(EXTRA_TARGET_FLAGS); do \
34104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34105 done; \
34106 (cd $(TARGET_SUBDIR)/zlib && \
34107 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34108 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34109 "RANLIB=$${RANLIB}" \
34110 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34111 TAGS) \
34112 || exit 1
34114 @endif target-zlib
34116 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
34117 maybe-install-info-target-zlib:
34118 @if target-zlib
34119 maybe-install-info-target-zlib: install-info-target-zlib
34121 install-info-target-zlib: \
34122 configure-target-zlib \
34123 info-target-zlib
34124 @$(unstage)
34125 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34126 r=`${PWD_COMMAND}`; export r; \
34127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34128 $(NORMAL_TARGET_EXPORTS) \
34129 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
34130 for flag in $(EXTRA_TARGET_FLAGS); do \
34131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34132 done; \
34133 (cd $(TARGET_SUBDIR)/zlib && \
34134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34136 "RANLIB=$${RANLIB}" \
34137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34138 install-info) \
34139 || exit 1
34141 @endif target-zlib
34143 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
34144 maybe-installcheck-target-zlib:
34145 @if target-zlib
34146 maybe-installcheck-target-zlib: installcheck-target-zlib
34148 installcheck-target-zlib: \
34149 configure-target-zlib
34150 @$(unstage)
34151 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34152 r=`${PWD_COMMAND}`; export r; \
34153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34154 $(NORMAL_TARGET_EXPORTS) \
34155 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
34156 for flag in $(EXTRA_TARGET_FLAGS); do \
34157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34158 done; \
34159 (cd $(TARGET_SUBDIR)/zlib && \
34160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34162 "RANLIB=$${RANLIB}" \
34163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34164 installcheck) \
34165 || exit 1
34167 @endif target-zlib
34169 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
34170 maybe-mostlyclean-target-zlib:
34171 @if target-zlib
34172 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
34174 mostlyclean-target-zlib:
34175 @$(unstage)
34176 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34177 r=`${PWD_COMMAND}`; export r; \
34178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34179 $(NORMAL_TARGET_EXPORTS) \
34180 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
34181 for flag in $(EXTRA_TARGET_FLAGS); do \
34182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34183 done; \
34184 (cd $(TARGET_SUBDIR)/zlib && \
34185 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34186 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34187 "RANLIB=$${RANLIB}" \
34188 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34189 mostlyclean) \
34190 || exit 1
34192 @endif target-zlib
34194 .PHONY: maybe-clean-target-zlib clean-target-zlib
34195 maybe-clean-target-zlib:
34196 @if target-zlib
34197 maybe-clean-target-zlib: clean-target-zlib
34199 clean-target-zlib:
34200 @$(unstage)
34201 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34202 r=`${PWD_COMMAND}`; export r; \
34203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34204 $(NORMAL_TARGET_EXPORTS) \
34205 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
34206 for flag in $(EXTRA_TARGET_FLAGS); do \
34207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34208 done; \
34209 (cd $(TARGET_SUBDIR)/zlib && \
34210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34212 "RANLIB=$${RANLIB}" \
34213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34214 clean) \
34215 || exit 1
34217 @endif target-zlib
34219 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
34220 maybe-distclean-target-zlib:
34221 @if target-zlib
34222 maybe-distclean-target-zlib: distclean-target-zlib
34224 distclean-target-zlib:
34225 @$(unstage)
34226 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34227 r=`${PWD_COMMAND}`; export r; \
34228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34229 $(NORMAL_TARGET_EXPORTS) \
34230 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
34231 for flag in $(EXTRA_TARGET_FLAGS); do \
34232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34233 done; \
34234 (cd $(TARGET_SUBDIR)/zlib && \
34235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34237 "RANLIB=$${RANLIB}" \
34238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34239 distclean) \
34240 || exit 1
34242 @endif target-zlib
34244 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
34245 maybe-maintainer-clean-target-zlib:
34246 @if target-zlib
34247 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
34249 maintainer-clean-target-zlib:
34250 @$(unstage)
34251 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
34252 r=`${PWD_COMMAND}`; export r; \
34253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34254 $(NORMAL_TARGET_EXPORTS) \
34255 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
34256 for flag in $(EXTRA_TARGET_FLAGS); do \
34257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34258 done; \
34259 (cd $(TARGET_SUBDIR)/zlib && \
34260 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34261 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34262 "RANLIB=$${RANLIB}" \
34263 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34264 maintainer-clean) \
34265 || exit 1
34267 @endif target-zlib
34271 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34272 @if target-boehm-gc
34273 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
34274 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34275 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
34276 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
34277 @endif target-boehm-gc
34281 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
34282 maybe-configure-target-boehm-gc:
34283 @if target-boehm-gc
34284 maybe-configure-target-boehm-gc: configure-target-boehm-gc
34285 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
34286 @$(unstage)
34287 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
34288 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
34289 r=`${PWD_COMMAND}`; export r; \
34290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34291 $(NORMAL_TARGET_EXPORTS) \
34292 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
34293 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
34294 case $(srcdir) in \
34295 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34296 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
34297 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34298 esac; \
34299 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
34300 libsrcdir="$$s/boehm-gc"; \
34301 rm -f no-such-file || : ; \
34302 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34303 $(TARGET_CONFIGARGS) $${srcdiroption} \
34304 || exit 1
34305 @endif target-boehm-gc
34311 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
34312 maybe-all-target-boehm-gc:
34313 @if target-boehm-gc
34314 TARGET-target-boehm-gc=all
34315 maybe-all-target-boehm-gc: all-target-boehm-gc
34316 all-target-boehm-gc: configure-target-boehm-gc
34317 @$(unstage)
34318 @r=`${PWD_COMMAND}`; export r; \
34319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34320 $(NORMAL_TARGET_EXPORTS) \
34321 (cd $(TARGET_SUBDIR)/boehm-gc && \
34322 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
34323 @endif target-boehm-gc
34329 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
34330 maybe-check-target-boehm-gc:
34331 @if target-boehm-gc
34332 maybe-check-target-boehm-gc: check-target-boehm-gc
34334 check-target-boehm-gc:
34335 @$(unstage)
34336 @r=`${PWD_COMMAND}`; export r; \
34337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34338 $(NORMAL_TARGET_EXPORTS) \
34339 (cd $(TARGET_SUBDIR)/boehm-gc && \
34340 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34342 @endif target-boehm-gc
34344 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
34345 maybe-install-target-boehm-gc:
34346 @if target-boehm-gc
34347 maybe-install-target-boehm-gc: install-target-boehm-gc
34349 install-target-boehm-gc: installdirs
34350 @$(unstage)
34351 @r=`${PWD_COMMAND}`; export r; \
34352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34353 $(NORMAL_TARGET_EXPORTS) \
34354 (cd $(TARGET_SUBDIR)/boehm-gc && \
34355 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34357 @endif target-boehm-gc
34359 # Other targets (info, dvi, etc.)
34361 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
34362 maybe-info-target-boehm-gc:
34363 @if target-boehm-gc
34364 maybe-info-target-boehm-gc: info-target-boehm-gc
34366 info-target-boehm-gc: \
34367 configure-target-boehm-gc
34368 @$(unstage)
34369 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34370 r=`${PWD_COMMAND}`; export r; \
34371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34372 $(NORMAL_TARGET_EXPORTS) \
34373 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
34374 for flag in $(EXTRA_TARGET_FLAGS); do \
34375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34376 done; \
34377 (cd $(TARGET_SUBDIR)/boehm-gc && \
34378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34380 "RANLIB=$${RANLIB}" \
34381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34382 info) \
34383 || exit 1
34385 @endif target-boehm-gc
34387 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
34388 maybe-dvi-target-boehm-gc:
34389 @if target-boehm-gc
34390 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
34392 dvi-target-boehm-gc: \
34393 configure-target-boehm-gc
34394 @$(unstage)
34395 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34396 r=`${PWD_COMMAND}`; export r; \
34397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34398 $(NORMAL_TARGET_EXPORTS) \
34399 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
34400 for flag in $(EXTRA_TARGET_FLAGS); do \
34401 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34402 done; \
34403 (cd $(TARGET_SUBDIR)/boehm-gc && \
34404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34406 "RANLIB=$${RANLIB}" \
34407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34408 dvi) \
34409 || exit 1
34411 @endif target-boehm-gc
34413 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
34414 maybe-html-target-boehm-gc:
34415 @if target-boehm-gc
34416 maybe-html-target-boehm-gc: html-target-boehm-gc
34418 html-target-boehm-gc: \
34419 configure-target-boehm-gc
34420 @$(unstage)
34421 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34422 r=`${PWD_COMMAND}`; export r; \
34423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34424 $(NORMAL_TARGET_EXPORTS) \
34425 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
34426 for flag in $(EXTRA_TARGET_FLAGS); do \
34427 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34428 done; \
34429 (cd $(TARGET_SUBDIR)/boehm-gc && \
34430 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34431 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34432 "RANLIB=$${RANLIB}" \
34433 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34434 html) \
34435 || exit 1
34437 @endif target-boehm-gc
34439 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
34440 maybe-TAGS-target-boehm-gc:
34441 @if target-boehm-gc
34442 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
34444 TAGS-target-boehm-gc: \
34445 configure-target-boehm-gc
34446 @$(unstage)
34447 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34448 r=`${PWD_COMMAND}`; export r; \
34449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34450 $(NORMAL_TARGET_EXPORTS) \
34451 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
34452 for flag in $(EXTRA_TARGET_FLAGS); do \
34453 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34454 done; \
34455 (cd $(TARGET_SUBDIR)/boehm-gc && \
34456 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34457 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34458 "RANLIB=$${RANLIB}" \
34459 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34460 TAGS) \
34461 || exit 1
34463 @endif target-boehm-gc
34465 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
34466 maybe-install-info-target-boehm-gc:
34467 @if target-boehm-gc
34468 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
34470 install-info-target-boehm-gc: \
34471 configure-target-boehm-gc \
34472 info-target-boehm-gc
34473 @$(unstage)
34474 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34475 r=`${PWD_COMMAND}`; export r; \
34476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34477 $(NORMAL_TARGET_EXPORTS) \
34478 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
34479 for flag in $(EXTRA_TARGET_FLAGS); do \
34480 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34481 done; \
34482 (cd $(TARGET_SUBDIR)/boehm-gc && \
34483 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34484 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34485 "RANLIB=$${RANLIB}" \
34486 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34487 install-info) \
34488 || exit 1
34490 @endif target-boehm-gc
34492 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
34493 maybe-installcheck-target-boehm-gc:
34494 @if target-boehm-gc
34495 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
34497 installcheck-target-boehm-gc: \
34498 configure-target-boehm-gc
34499 @$(unstage)
34500 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34501 r=`${PWD_COMMAND}`; export r; \
34502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34503 $(NORMAL_TARGET_EXPORTS) \
34504 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
34505 for flag in $(EXTRA_TARGET_FLAGS); do \
34506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34507 done; \
34508 (cd $(TARGET_SUBDIR)/boehm-gc && \
34509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34511 "RANLIB=$${RANLIB}" \
34512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34513 installcheck) \
34514 || exit 1
34516 @endif target-boehm-gc
34518 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
34519 maybe-mostlyclean-target-boehm-gc:
34520 @if target-boehm-gc
34521 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
34523 mostlyclean-target-boehm-gc:
34524 @$(unstage)
34525 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34526 r=`${PWD_COMMAND}`; export r; \
34527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34528 $(NORMAL_TARGET_EXPORTS) \
34529 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34530 for flag in $(EXTRA_TARGET_FLAGS); do \
34531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34532 done; \
34533 (cd $(TARGET_SUBDIR)/boehm-gc && \
34534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34536 "RANLIB=$${RANLIB}" \
34537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34538 mostlyclean) \
34539 || exit 1
34541 @endif target-boehm-gc
34543 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
34544 maybe-clean-target-boehm-gc:
34545 @if target-boehm-gc
34546 maybe-clean-target-boehm-gc: clean-target-boehm-gc
34548 clean-target-boehm-gc:
34549 @$(unstage)
34550 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34551 r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(NORMAL_TARGET_EXPORTS) \
34554 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34555 for flag in $(EXTRA_TARGET_FLAGS); do \
34556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34557 done; \
34558 (cd $(TARGET_SUBDIR)/boehm-gc && \
34559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34561 "RANLIB=$${RANLIB}" \
34562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34563 clean) \
34564 || exit 1
34566 @endif target-boehm-gc
34568 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
34569 maybe-distclean-target-boehm-gc:
34570 @if target-boehm-gc
34571 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
34573 distclean-target-boehm-gc:
34574 @$(unstage)
34575 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34576 r=`${PWD_COMMAND}`; export r; \
34577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34578 $(NORMAL_TARGET_EXPORTS) \
34579 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
34580 for flag in $(EXTRA_TARGET_FLAGS); do \
34581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34582 done; \
34583 (cd $(TARGET_SUBDIR)/boehm-gc && \
34584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34586 "RANLIB=$${RANLIB}" \
34587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34588 distclean) \
34589 || exit 1
34591 @endif target-boehm-gc
34593 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
34594 maybe-maintainer-clean-target-boehm-gc:
34595 @if target-boehm-gc
34596 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
34598 maintainer-clean-target-boehm-gc:
34599 @$(unstage)
34600 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
34601 r=`${PWD_COMMAND}`; export r; \
34602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34603 $(NORMAL_TARGET_EXPORTS) \
34604 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
34605 for flag in $(EXTRA_TARGET_FLAGS); do \
34606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34607 done; \
34608 (cd $(TARGET_SUBDIR)/boehm-gc && \
34609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34611 "RANLIB=$${RANLIB}" \
34612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34613 maintainer-clean) \
34614 || exit 1
34616 @endif target-boehm-gc
34620 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34621 @if target-qthreads
34622 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
34623 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34624 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
34625 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
34626 @endif target-qthreads
34630 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
34631 maybe-configure-target-qthreads:
34632 @if target-qthreads
34633 maybe-configure-target-qthreads: configure-target-qthreads
34634 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
34635 @$(unstage)
34636 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
34637 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
34638 r=`${PWD_COMMAND}`; export r; \
34639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34640 $(NORMAL_TARGET_EXPORTS) \
34641 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
34642 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
34643 case $(srcdir) in \
34644 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34645 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
34646 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34647 esac; \
34648 srcdiroption="--srcdir=$${topdir}/qthreads"; \
34649 libsrcdir="$$s/qthreads"; \
34650 rm -f no-such-file || : ; \
34651 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34652 $(TARGET_CONFIGARGS) $${srcdiroption} \
34653 || exit 1
34654 @endif target-qthreads
34660 .PHONY: all-target-qthreads maybe-all-target-qthreads
34661 maybe-all-target-qthreads:
34662 @if target-qthreads
34663 TARGET-target-qthreads=all
34664 maybe-all-target-qthreads: all-target-qthreads
34665 all-target-qthreads: configure-target-qthreads
34666 @$(unstage)
34667 @r=`${PWD_COMMAND}`; export r; \
34668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34669 $(NORMAL_TARGET_EXPORTS) \
34670 (cd $(TARGET_SUBDIR)/qthreads && \
34671 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
34672 @endif target-qthreads
34678 .PHONY: check-target-qthreads maybe-check-target-qthreads
34679 maybe-check-target-qthreads:
34680 @if target-qthreads
34681 maybe-check-target-qthreads: check-target-qthreads
34683 check-target-qthreads:
34684 @$(unstage)
34685 @r=`${PWD_COMMAND}`; export r; \
34686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34687 $(NORMAL_TARGET_EXPORTS) \
34688 (cd $(TARGET_SUBDIR)/qthreads && \
34689 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34691 @endif target-qthreads
34693 .PHONY: install-target-qthreads maybe-install-target-qthreads
34694 maybe-install-target-qthreads:
34695 @if target-qthreads
34696 maybe-install-target-qthreads: install-target-qthreads
34698 install-target-qthreads: installdirs
34699 @$(unstage)
34700 @r=`${PWD_COMMAND}`; export r; \
34701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34702 $(NORMAL_TARGET_EXPORTS) \
34703 (cd $(TARGET_SUBDIR)/qthreads && \
34704 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34706 @endif target-qthreads
34708 # Other targets (info, dvi, etc.)
34710 .PHONY: maybe-info-target-qthreads info-target-qthreads
34711 maybe-info-target-qthreads:
34712 @if target-qthreads
34713 maybe-info-target-qthreads: info-target-qthreads
34715 info-target-qthreads: \
34716 configure-target-qthreads
34717 @$(unstage)
34718 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34719 r=`${PWD_COMMAND}`; export r; \
34720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34721 $(NORMAL_TARGET_EXPORTS) \
34722 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34723 for flag in $(EXTRA_TARGET_FLAGS); do \
34724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34725 done; \
34726 (cd $(TARGET_SUBDIR)/qthreads && \
34727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34729 "RANLIB=$${RANLIB}" \
34730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34731 info) \
34732 || exit 1
34734 @endif target-qthreads
34736 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34737 maybe-dvi-target-qthreads:
34738 @if target-qthreads
34739 maybe-dvi-target-qthreads: dvi-target-qthreads
34741 dvi-target-qthreads: \
34742 configure-target-qthreads
34743 @$(unstage)
34744 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34745 r=`${PWD_COMMAND}`; export r; \
34746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34747 $(NORMAL_TARGET_EXPORTS) \
34748 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34749 for flag in $(EXTRA_TARGET_FLAGS); do \
34750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34751 done; \
34752 (cd $(TARGET_SUBDIR)/qthreads && \
34753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34755 "RANLIB=$${RANLIB}" \
34756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34757 dvi) \
34758 || exit 1
34760 @endif target-qthreads
34762 .PHONY: maybe-html-target-qthreads html-target-qthreads
34763 maybe-html-target-qthreads:
34764 @if target-qthreads
34765 maybe-html-target-qthreads: html-target-qthreads
34767 html-target-qthreads: \
34768 configure-target-qthreads
34769 @$(unstage)
34770 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34771 r=`${PWD_COMMAND}`; export r; \
34772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34773 $(NORMAL_TARGET_EXPORTS) \
34774 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34775 for flag in $(EXTRA_TARGET_FLAGS); do \
34776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34777 done; \
34778 (cd $(TARGET_SUBDIR)/qthreads && \
34779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34781 "RANLIB=$${RANLIB}" \
34782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34783 html) \
34784 || exit 1
34786 @endif target-qthreads
34788 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34789 maybe-TAGS-target-qthreads:
34790 @if target-qthreads
34791 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34793 TAGS-target-qthreads: \
34794 configure-target-qthreads
34795 @$(unstage)
34796 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34797 r=`${PWD_COMMAND}`; export r; \
34798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34799 $(NORMAL_TARGET_EXPORTS) \
34800 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34801 for flag in $(EXTRA_TARGET_FLAGS); do \
34802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34803 done; \
34804 (cd $(TARGET_SUBDIR)/qthreads && \
34805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34807 "RANLIB=$${RANLIB}" \
34808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34809 TAGS) \
34810 || exit 1
34812 @endif target-qthreads
34814 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34815 maybe-install-info-target-qthreads:
34816 @if target-qthreads
34817 maybe-install-info-target-qthreads: install-info-target-qthreads
34819 install-info-target-qthreads: \
34820 configure-target-qthreads \
34821 info-target-qthreads
34822 @$(unstage)
34823 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34824 r=`${PWD_COMMAND}`; export r; \
34825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34826 $(NORMAL_TARGET_EXPORTS) \
34827 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34828 for flag in $(EXTRA_TARGET_FLAGS); do \
34829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34830 done; \
34831 (cd $(TARGET_SUBDIR)/qthreads && \
34832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34834 "RANLIB=$${RANLIB}" \
34835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34836 install-info) \
34837 || exit 1
34839 @endif target-qthreads
34841 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34842 maybe-installcheck-target-qthreads:
34843 @if target-qthreads
34844 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34846 installcheck-target-qthreads: \
34847 configure-target-qthreads
34848 @$(unstage)
34849 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34850 r=`${PWD_COMMAND}`; export r; \
34851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34852 $(NORMAL_TARGET_EXPORTS) \
34853 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34854 for flag in $(EXTRA_TARGET_FLAGS); do \
34855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34856 done; \
34857 (cd $(TARGET_SUBDIR)/qthreads && \
34858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34860 "RANLIB=$${RANLIB}" \
34861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34862 installcheck) \
34863 || exit 1
34865 @endif target-qthreads
34867 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34868 maybe-mostlyclean-target-qthreads:
34869 @if target-qthreads
34870 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34872 mostlyclean-target-qthreads:
34873 @$(unstage)
34874 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34875 r=`${PWD_COMMAND}`; export r; \
34876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34877 $(NORMAL_TARGET_EXPORTS) \
34878 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34879 for flag in $(EXTRA_TARGET_FLAGS); do \
34880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34881 done; \
34882 (cd $(TARGET_SUBDIR)/qthreads && \
34883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34885 "RANLIB=$${RANLIB}" \
34886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34887 mostlyclean) \
34888 || exit 1
34890 @endif target-qthreads
34892 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34893 maybe-clean-target-qthreads:
34894 @if target-qthreads
34895 maybe-clean-target-qthreads: clean-target-qthreads
34897 clean-target-qthreads:
34898 @$(unstage)
34899 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34900 r=`${PWD_COMMAND}`; export r; \
34901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34902 $(NORMAL_TARGET_EXPORTS) \
34903 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34904 for flag in $(EXTRA_TARGET_FLAGS); do \
34905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34906 done; \
34907 (cd $(TARGET_SUBDIR)/qthreads && \
34908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34910 "RANLIB=$${RANLIB}" \
34911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34912 clean) \
34913 || exit 1
34915 @endif target-qthreads
34917 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34918 maybe-distclean-target-qthreads:
34919 @if target-qthreads
34920 maybe-distclean-target-qthreads: distclean-target-qthreads
34922 distclean-target-qthreads:
34923 @$(unstage)
34924 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34925 r=`${PWD_COMMAND}`; export r; \
34926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34927 $(NORMAL_TARGET_EXPORTS) \
34928 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34929 for flag in $(EXTRA_TARGET_FLAGS); do \
34930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34931 done; \
34932 (cd $(TARGET_SUBDIR)/qthreads && \
34933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34935 "RANLIB=$${RANLIB}" \
34936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34937 distclean) \
34938 || exit 1
34940 @endif target-qthreads
34942 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34943 maybe-maintainer-clean-target-qthreads:
34944 @if target-qthreads
34945 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34947 maintainer-clean-target-qthreads:
34948 @$(unstage)
34949 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34950 r=`${PWD_COMMAND}`; export r; \
34951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34952 $(NORMAL_TARGET_EXPORTS) \
34953 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34954 for flag in $(EXTRA_TARGET_FLAGS); do \
34955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34956 done; \
34957 (cd $(TARGET_SUBDIR)/qthreads && \
34958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34960 "RANLIB=$${RANLIB}" \
34961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34962 maintainer-clean) \
34963 || exit 1
34965 @endif target-qthreads
34969 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34970 @if target-rda
34971 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
34972 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34973 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
34974 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
34975 @endif target-rda
34979 .PHONY: configure-target-rda maybe-configure-target-rda
34980 maybe-configure-target-rda:
34981 @if target-rda
34982 maybe-configure-target-rda: configure-target-rda
34983 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
34984 @$(unstage)
34985 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34986 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34987 r=`${PWD_COMMAND}`; export r; \
34988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34989 $(NORMAL_TARGET_EXPORTS) \
34990 echo Configuring in $(TARGET_SUBDIR)/rda; \
34991 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34992 case $(srcdir) in \
34993 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34994 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34995 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34996 esac; \
34997 srcdiroption="--srcdir=$${topdir}/rda"; \
34998 libsrcdir="$$s/rda"; \
34999 rm -f no-such-file || : ; \
35000 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35001 $(TARGET_CONFIGARGS) $${srcdiroption} \
35002 || exit 1
35003 @endif target-rda
35009 .PHONY: all-target-rda maybe-all-target-rda
35010 maybe-all-target-rda:
35011 @if target-rda
35012 TARGET-target-rda=all
35013 maybe-all-target-rda: all-target-rda
35014 all-target-rda: configure-target-rda
35015 @$(unstage)
35016 @r=`${PWD_COMMAND}`; export r; \
35017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35018 $(NORMAL_TARGET_EXPORTS) \
35019 (cd $(TARGET_SUBDIR)/rda && \
35020 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
35021 @endif target-rda
35027 .PHONY: check-target-rda maybe-check-target-rda
35028 maybe-check-target-rda:
35029 @if target-rda
35030 maybe-check-target-rda: check-target-rda
35032 check-target-rda:
35033 @$(unstage)
35034 @r=`${PWD_COMMAND}`; export r; \
35035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35036 $(NORMAL_TARGET_EXPORTS) \
35037 (cd $(TARGET_SUBDIR)/rda && \
35038 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35040 @endif target-rda
35042 .PHONY: install-target-rda maybe-install-target-rda
35043 maybe-install-target-rda:
35044 @if target-rda
35045 maybe-install-target-rda: install-target-rda
35047 install-target-rda: installdirs
35048 @$(unstage)
35049 @r=`${PWD_COMMAND}`; export r; \
35050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35051 $(NORMAL_TARGET_EXPORTS) \
35052 (cd $(TARGET_SUBDIR)/rda && \
35053 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35055 @endif target-rda
35057 # Other targets (info, dvi, etc.)
35059 .PHONY: maybe-info-target-rda info-target-rda
35060 maybe-info-target-rda:
35061 @if target-rda
35062 maybe-info-target-rda: info-target-rda
35064 info-target-rda: \
35065 configure-target-rda
35066 @$(unstage)
35067 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35068 r=`${PWD_COMMAND}`; export r; \
35069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35070 $(NORMAL_TARGET_EXPORTS) \
35071 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
35072 for flag in $(EXTRA_TARGET_FLAGS); do \
35073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35074 done; \
35075 (cd $(TARGET_SUBDIR)/rda && \
35076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35078 "RANLIB=$${RANLIB}" \
35079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35080 info) \
35081 || exit 1
35083 @endif target-rda
35085 .PHONY: maybe-dvi-target-rda dvi-target-rda
35086 maybe-dvi-target-rda:
35087 @if target-rda
35088 maybe-dvi-target-rda: dvi-target-rda
35090 dvi-target-rda: \
35091 configure-target-rda
35092 @$(unstage)
35093 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35094 r=`${PWD_COMMAND}`; export r; \
35095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35096 $(NORMAL_TARGET_EXPORTS) \
35097 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
35098 for flag in $(EXTRA_TARGET_FLAGS); do \
35099 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35100 done; \
35101 (cd $(TARGET_SUBDIR)/rda && \
35102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35104 "RANLIB=$${RANLIB}" \
35105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35106 dvi) \
35107 || exit 1
35109 @endif target-rda
35111 .PHONY: maybe-html-target-rda html-target-rda
35112 maybe-html-target-rda:
35113 @if target-rda
35114 maybe-html-target-rda: html-target-rda
35116 html-target-rda: \
35117 configure-target-rda
35118 @$(unstage)
35119 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35120 r=`${PWD_COMMAND}`; export r; \
35121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35122 $(NORMAL_TARGET_EXPORTS) \
35123 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
35124 for flag in $(EXTRA_TARGET_FLAGS); do \
35125 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35126 done; \
35127 (cd $(TARGET_SUBDIR)/rda && \
35128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35130 "RANLIB=$${RANLIB}" \
35131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35132 html) \
35133 || exit 1
35135 @endif target-rda
35137 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
35138 maybe-TAGS-target-rda:
35139 @if target-rda
35140 maybe-TAGS-target-rda: TAGS-target-rda
35142 TAGS-target-rda: \
35143 configure-target-rda
35144 @$(unstage)
35145 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35146 r=`${PWD_COMMAND}`; export r; \
35147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35148 $(NORMAL_TARGET_EXPORTS) \
35149 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
35150 for flag in $(EXTRA_TARGET_FLAGS); do \
35151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35152 done; \
35153 (cd $(TARGET_SUBDIR)/rda && \
35154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35156 "RANLIB=$${RANLIB}" \
35157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35158 TAGS) \
35159 || exit 1
35161 @endif target-rda
35163 .PHONY: maybe-install-info-target-rda install-info-target-rda
35164 maybe-install-info-target-rda:
35165 @if target-rda
35166 maybe-install-info-target-rda: install-info-target-rda
35168 install-info-target-rda: \
35169 configure-target-rda \
35170 info-target-rda
35171 @$(unstage)
35172 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35173 r=`${PWD_COMMAND}`; export r; \
35174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35175 $(NORMAL_TARGET_EXPORTS) \
35176 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
35177 for flag in $(EXTRA_TARGET_FLAGS); do \
35178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35179 done; \
35180 (cd $(TARGET_SUBDIR)/rda && \
35181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35183 "RANLIB=$${RANLIB}" \
35184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35185 install-info) \
35186 || exit 1
35188 @endif target-rda
35190 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
35191 maybe-installcheck-target-rda:
35192 @if target-rda
35193 maybe-installcheck-target-rda: installcheck-target-rda
35195 installcheck-target-rda: \
35196 configure-target-rda
35197 @$(unstage)
35198 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35199 r=`${PWD_COMMAND}`; export r; \
35200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35201 $(NORMAL_TARGET_EXPORTS) \
35202 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
35203 for flag in $(EXTRA_TARGET_FLAGS); do \
35204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35205 done; \
35206 (cd $(TARGET_SUBDIR)/rda && \
35207 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35208 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35209 "RANLIB=$${RANLIB}" \
35210 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35211 installcheck) \
35212 || exit 1
35214 @endif target-rda
35216 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
35217 maybe-mostlyclean-target-rda:
35218 @if target-rda
35219 maybe-mostlyclean-target-rda: mostlyclean-target-rda
35221 mostlyclean-target-rda:
35222 @$(unstage)
35223 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35224 r=`${PWD_COMMAND}`; export r; \
35225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35226 $(NORMAL_TARGET_EXPORTS) \
35227 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
35228 for flag in $(EXTRA_TARGET_FLAGS); do \
35229 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35230 done; \
35231 (cd $(TARGET_SUBDIR)/rda && \
35232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35234 "RANLIB=$${RANLIB}" \
35235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35236 mostlyclean) \
35237 || exit 1
35239 @endif target-rda
35241 .PHONY: maybe-clean-target-rda clean-target-rda
35242 maybe-clean-target-rda:
35243 @if target-rda
35244 maybe-clean-target-rda: clean-target-rda
35246 clean-target-rda:
35247 @$(unstage)
35248 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35249 r=`${PWD_COMMAND}`; export r; \
35250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35251 $(NORMAL_TARGET_EXPORTS) \
35252 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
35253 for flag in $(EXTRA_TARGET_FLAGS); do \
35254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35255 done; \
35256 (cd $(TARGET_SUBDIR)/rda && \
35257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35259 "RANLIB=$${RANLIB}" \
35260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35261 clean) \
35262 || exit 1
35264 @endif target-rda
35266 .PHONY: maybe-distclean-target-rda distclean-target-rda
35267 maybe-distclean-target-rda:
35268 @if target-rda
35269 maybe-distclean-target-rda: distclean-target-rda
35271 distclean-target-rda:
35272 @$(unstage)
35273 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35274 r=`${PWD_COMMAND}`; export r; \
35275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35276 $(NORMAL_TARGET_EXPORTS) \
35277 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
35278 for flag in $(EXTRA_TARGET_FLAGS); do \
35279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35280 done; \
35281 (cd $(TARGET_SUBDIR)/rda && \
35282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35284 "RANLIB=$${RANLIB}" \
35285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35286 distclean) \
35287 || exit 1
35289 @endif target-rda
35291 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
35292 maybe-maintainer-clean-target-rda:
35293 @if target-rda
35294 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
35296 maintainer-clean-target-rda:
35297 @$(unstage)
35298 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
35299 r=`${PWD_COMMAND}`; export r; \
35300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35301 $(NORMAL_TARGET_EXPORTS) \
35302 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
35303 for flag in $(EXTRA_TARGET_FLAGS); do \
35304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35305 done; \
35306 (cd $(TARGET_SUBDIR)/rda && \
35307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35309 "RANLIB=$${RANLIB}" \
35310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35311 maintainer-clean) \
35312 || exit 1
35314 @endif target-rda
35318 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
35319 @if target-libada
35320 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
35321 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35322 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
35323 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
35324 @endif target-libada
35328 .PHONY: configure-target-libada maybe-configure-target-libada
35329 maybe-configure-target-libada:
35330 @if target-libada
35331 maybe-configure-target-libada: configure-target-libada
35332 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
35333 @$(unstage)
35334 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
35335 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
35336 r=`${PWD_COMMAND}`; export r; \
35337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35338 $(NORMAL_TARGET_EXPORTS) \
35339 echo Configuring in $(TARGET_SUBDIR)/libada; \
35340 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
35341 case $(srcdir) in \
35342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
35343 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
35344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
35345 esac; \
35346 srcdiroption="--srcdir=$${topdir}/libada"; \
35347 libsrcdir="$$s/libada"; \
35348 rm -f no-such-file || : ; \
35349 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
35350 $(TARGET_CONFIGARGS) $${srcdiroption} \
35351 || exit 1
35352 @endif target-libada
35358 .PHONY: all-target-libada maybe-all-target-libada
35359 maybe-all-target-libada:
35360 @if target-libada
35361 TARGET-target-libada=all
35362 maybe-all-target-libada: all-target-libada
35363 all-target-libada: configure-target-libada
35364 @$(unstage)
35365 @r=`${PWD_COMMAND}`; export r; \
35366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35367 $(NORMAL_TARGET_EXPORTS) \
35368 (cd $(TARGET_SUBDIR)/libada && \
35369 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
35370 @endif target-libada
35376 .PHONY: check-target-libada maybe-check-target-libada
35377 maybe-check-target-libada:
35378 @if target-libada
35379 maybe-check-target-libada: check-target-libada
35381 check-target-libada:
35382 @$(unstage)
35383 @r=`${PWD_COMMAND}`; export r; \
35384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35385 $(NORMAL_TARGET_EXPORTS) \
35386 (cd $(TARGET_SUBDIR)/libada && \
35387 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
35389 @endif target-libada
35391 .PHONY: install-target-libada maybe-install-target-libada
35392 maybe-install-target-libada:
35393 @if target-libada
35394 maybe-install-target-libada: install-target-libada
35396 install-target-libada: installdirs
35397 @$(unstage)
35398 @r=`${PWD_COMMAND}`; export r; \
35399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35400 $(NORMAL_TARGET_EXPORTS) \
35401 (cd $(TARGET_SUBDIR)/libada && \
35402 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
35404 @endif target-libada
35406 # Other targets (info, dvi, etc.)
35408 .PHONY: maybe-info-target-libada info-target-libada
35409 maybe-info-target-libada:
35410 @if target-libada
35411 maybe-info-target-libada: info-target-libada
35413 info-target-libada: \
35414 configure-target-libada
35415 @$(unstage)
35416 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35417 r=`${PWD_COMMAND}`; export r; \
35418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35419 $(NORMAL_TARGET_EXPORTS) \
35420 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
35421 for flag in $(EXTRA_TARGET_FLAGS); do \
35422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35423 done; \
35424 (cd $(TARGET_SUBDIR)/libada && \
35425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35427 "RANLIB=$${RANLIB}" \
35428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35429 info) \
35430 || exit 1
35432 @endif target-libada
35434 .PHONY: maybe-dvi-target-libada dvi-target-libada
35435 maybe-dvi-target-libada:
35436 @if target-libada
35437 maybe-dvi-target-libada: dvi-target-libada
35439 dvi-target-libada: \
35440 configure-target-libada
35441 @$(unstage)
35442 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35443 r=`${PWD_COMMAND}`; export r; \
35444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35445 $(NORMAL_TARGET_EXPORTS) \
35446 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
35447 for flag in $(EXTRA_TARGET_FLAGS); do \
35448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35449 done; \
35450 (cd $(TARGET_SUBDIR)/libada && \
35451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35453 "RANLIB=$${RANLIB}" \
35454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35455 dvi) \
35456 || exit 1
35458 @endif target-libada
35460 .PHONY: maybe-html-target-libada html-target-libada
35461 maybe-html-target-libada:
35462 @if target-libada
35463 maybe-html-target-libada: html-target-libada
35465 html-target-libada: \
35466 configure-target-libada
35467 @$(unstage)
35468 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35469 r=`${PWD_COMMAND}`; export r; \
35470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35471 $(NORMAL_TARGET_EXPORTS) \
35472 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
35473 for flag in $(EXTRA_TARGET_FLAGS); do \
35474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35475 done; \
35476 (cd $(TARGET_SUBDIR)/libada && \
35477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35479 "RANLIB=$${RANLIB}" \
35480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35481 html) \
35482 || exit 1
35484 @endif target-libada
35486 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
35487 maybe-TAGS-target-libada:
35488 @if target-libada
35489 maybe-TAGS-target-libada: TAGS-target-libada
35491 TAGS-target-libada: \
35492 configure-target-libada
35493 @$(unstage)
35494 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35495 r=`${PWD_COMMAND}`; export r; \
35496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35497 $(NORMAL_TARGET_EXPORTS) \
35498 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
35499 for flag in $(EXTRA_TARGET_FLAGS); do \
35500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35501 done; \
35502 (cd $(TARGET_SUBDIR)/libada && \
35503 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35504 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35505 "RANLIB=$${RANLIB}" \
35506 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35507 TAGS) \
35508 || exit 1
35510 @endif target-libada
35512 .PHONY: maybe-install-info-target-libada install-info-target-libada
35513 maybe-install-info-target-libada:
35514 @if target-libada
35515 maybe-install-info-target-libada: install-info-target-libada
35517 install-info-target-libada: \
35518 configure-target-libada \
35519 info-target-libada
35520 @$(unstage)
35521 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35522 r=`${PWD_COMMAND}`; export r; \
35523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35524 $(NORMAL_TARGET_EXPORTS) \
35525 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
35526 for flag in $(EXTRA_TARGET_FLAGS); do \
35527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35528 done; \
35529 (cd $(TARGET_SUBDIR)/libada && \
35530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35532 "RANLIB=$${RANLIB}" \
35533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35534 install-info) \
35535 || exit 1
35537 @endif target-libada
35539 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
35540 maybe-installcheck-target-libada:
35541 @if target-libada
35542 maybe-installcheck-target-libada: installcheck-target-libada
35544 installcheck-target-libada: \
35545 configure-target-libada
35546 @$(unstage)
35547 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35548 r=`${PWD_COMMAND}`; export r; \
35549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35550 $(NORMAL_TARGET_EXPORTS) \
35551 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
35552 for flag in $(EXTRA_TARGET_FLAGS); do \
35553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35554 done; \
35555 (cd $(TARGET_SUBDIR)/libada && \
35556 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35557 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35558 "RANLIB=$${RANLIB}" \
35559 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35560 installcheck) \
35561 || exit 1
35563 @endif target-libada
35565 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
35566 maybe-mostlyclean-target-libada:
35567 @if target-libada
35568 maybe-mostlyclean-target-libada: mostlyclean-target-libada
35570 mostlyclean-target-libada:
35571 @$(unstage)
35572 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35573 r=`${PWD_COMMAND}`; export r; \
35574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35575 $(NORMAL_TARGET_EXPORTS) \
35576 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
35577 for flag in $(EXTRA_TARGET_FLAGS); do \
35578 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35579 done; \
35580 (cd $(TARGET_SUBDIR)/libada && \
35581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35583 "RANLIB=$${RANLIB}" \
35584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35585 mostlyclean) \
35586 || exit 1
35588 @endif target-libada
35590 .PHONY: maybe-clean-target-libada clean-target-libada
35591 maybe-clean-target-libada:
35592 @if target-libada
35593 maybe-clean-target-libada: clean-target-libada
35595 clean-target-libada:
35596 @$(unstage)
35597 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35598 r=`${PWD_COMMAND}`; export r; \
35599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35600 $(NORMAL_TARGET_EXPORTS) \
35601 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
35602 for flag in $(EXTRA_TARGET_FLAGS); do \
35603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35604 done; \
35605 (cd $(TARGET_SUBDIR)/libada && \
35606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35608 "RANLIB=$${RANLIB}" \
35609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35610 clean) \
35611 || exit 1
35613 @endif target-libada
35615 .PHONY: maybe-distclean-target-libada distclean-target-libada
35616 maybe-distclean-target-libada:
35617 @if target-libada
35618 maybe-distclean-target-libada: distclean-target-libada
35620 distclean-target-libada:
35621 @$(unstage)
35622 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35623 r=`${PWD_COMMAND}`; export r; \
35624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35625 $(NORMAL_TARGET_EXPORTS) \
35626 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
35627 for flag in $(EXTRA_TARGET_FLAGS); do \
35628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35629 done; \
35630 (cd $(TARGET_SUBDIR)/libada && \
35631 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35632 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35633 "RANLIB=$${RANLIB}" \
35634 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35635 distclean) \
35636 || exit 1
35638 @endif target-libada
35640 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
35641 maybe-maintainer-clean-target-libada:
35642 @if target-libada
35643 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
35645 maintainer-clean-target-libada:
35646 @$(unstage)
35647 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
35648 r=`${PWD_COMMAND}`; export r; \
35649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35650 $(NORMAL_TARGET_EXPORTS) \
35651 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
35652 for flag in $(EXTRA_TARGET_FLAGS); do \
35653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
35654 done; \
35655 (cd $(TARGET_SUBDIR)/libada && \
35656 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
35657 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
35658 "RANLIB=$${RANLIB}" \
35659 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
35660 maintainer-clean) \
35661 || exit 1
35663 @endif target-libada
35667 # ----------
35668 # GCC module
35669 # ----------
35671 @if gcc-no-bootstrap
35672 # GCC has some more recursive targets, which trigger the old
35673 # (but still current, until the toplevel bootstrap project
35674 # is finished) compiler bootstrapping rules.
35676 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
35677 .PHONY: $(GCC_STRAP_TARGETS)
35678 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
35679 @r=`${PWD_COMMAND}`; export r; \
35680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35681 $(HOST_EXPORTS) \
35682 echo "Bootstrapping the compiler"; \
35683 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35684 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
35685 @r=`${PWD_COMMAND}`; export r; \
35686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35687 case "$@" in \
35688 *bootstrap4-lean ) \
35689 msg="Comparing stage3 and stage4 of the compiler"; \
35690 compare=compare3-lean ;; \
35691 *bootstrap4 ) \
35692 msg="Comparing stage3 and stage4 of the compiler"; \
35693 compare=compare3 ;; \
35694 *-lean ) \
35695 msg="Comparing stage2 and stage3 of the compiler"; \
35696 compare=compare-lean ;; \
35697 * ) \
35698 msg="Comparing stage2 and stage3 of the compiler"; \
35699 compare=compare ;; \
35700 esac; \
35701 $(HOST_EXPORTS) \
35702 echo "$$msg"; \
35703 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35704 @r=`${PWD_COMMAND}`; export r; \
35705 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35706 echo "Building runtime libraries"; \
35707 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35709 profiledbootstrap: all-prebootstrap configure-gcc
35710 @r=`${PWD_COMMAND}`; export r; \
35711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35712 $(HOST_EXPORTS) \
35713 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35714 echo "Bootstrapping training compiler"; \
35715 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35716 @r=`${PWD_COMMAND}`; export r; \
35717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35718 $(HOST_EXPORTS) \
35719 echo "Building feedback based compiler"; \
35720 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35721 @r=`${PWD_COMMAND}`; export r; \
35722 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35723 echo "Building runtime libraries"; \
35724 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35726 .PHONY: cross
35727 cross: all-build all-gas all-ld
35728 @r=`${PWD_COMMAND}`; export r; \
35729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35730 $(HOST_EXPORTS) \
35731 echo "Building the C and C++ compiler"; \
35732 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35733 @r=`${PWD_COMMAND}`; export r; \
35734 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35735 echo "Building runtime libraries"; \
35736 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35737 @endif gcc-no-bootstrap
35739 @if gcc
35740 .PHONY: check-gcc-c++
35741 check-gcc-c++:
35742 @if [ -f ./gcc/Makefile ] ; then \
35743 r=`${PWD_COMMAND}`; export r; \
35744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35745 $(HOST_EXPORTS) \
35746 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35747 else \
35748 true; \
35751 .PHONY: check-c++
35752 check-c++: check-target-libstdc++-v3 check-gcc-c++
35754 # Install the gcc headers files, but not the fixed include files,
35755 # which Cygnus is not allowed to distribute. This rule is very
35756 # dependent on the workings of the gcc Makefile.in.
35757 .PHONY: gcc-no-fixedincludes
35758 gcc-no-fixedincludes:
35759 @if [ -f ./gcc/Makefile ]; then \
35760 rm -rf gcc/tmp-include; \
35761 mv gcc/include gcc/tmp-include 2>/dev/null; \
35762 mkdir gcc/include; \
35763 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35764 touch gcc/stmp-fixinc gcc/include/fixed; \
35765 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35766 r=`${PWD_COMMAND}`; export r; \
35767 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35768 $(HOST_EXPORTS) \
35769 (cd ./gcc && \
35770 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35771 rm -rf gcc/include; \
35772 mv gcc/tmp-include gcc/include 2>/dev/null; \
35773 else true; fi
35774 @endif gcc
35776 # ---------------------
35777 # GCC bootstrap support
35778 # ---------------------
35780 # We track the current stage (the one in 'gcc') in the stage_current file.
35781 # stage_last instead tracks the stage that was built last. These targets
35782 # are dummy when toplevel bootstrap is not active.
35784 # While making host and target tools, symlinks to the final stage must be
35785 # there, so $(MAKE) $(unstage) should be run at various points. To avoid
35786 # excessive recursive invocations of make, we "inline" them using a variable.
35788 unstage = :
35789 stage = :
35791 @if gcc-bootstrap
35792 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35793 stage = $(MAKE) `cat stage_current`-end
35794 @endif gcc-bootstrap
35796 .PHONY: unstage stage
35797 unstage:
35798 @$(unstage)
35799 stage:
35800 @$(stage)
35802 # We name the build directories for the various stages "stage1-gcc",
35803 # "stage2-gcc","stage3-gcc", etc.
35805 # Since the 'compare' process will fail (on debugging information) if any
35806 # directory names are different, we need to link the gcc directory for
35807 # the previous stage to a constant name ('gcc-prev'), and to make the name of
35808 # the build directories constant as well. For the latter, we use naked names
35809 # like 'gcc', because the scripts in that directory assume it. We use
35810 # mv on platforms where symlinks to directories do not work or are not
35811 # reliable.
35813 # 'touch' doesn't work right on some platforms.
35814 STAMP = echo timestamp >
35816 # Only build the C compiler for stage1, because that is the only one that
35817 # we can guarantee will build with the native compiler, and also it is the
35818 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35819 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35820 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35822 STAGE1_CFLAGS=@stage1_cflags@
35823 STAGE1_LANGUAGES=@stage1_languages@
35825 # We only want to compare .o files, so set this!
35826 objext = .o
35828 # Flags to pass to stage2 and later makes.
35829 POSTSTAGE1_FLAGS_TO_PASS = \
35830 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35831 STAGE_PREFIX=$$r/prev-gcc/ \
35832 CFLAGS="$(BOOT_CFLAGS)" \
35833 ADAC="\$$(CC)"
35835 # For stage 1:
35836 # * We force-disable intermodule optimizations, even if
35837 # --enable-intermodule was passed, since the installed compiler probably
35838 # can't handle them. Luckily, autoconf always respects
35839 # the last argument when conflicting --enable arguments are passed.
35840 # * Likewise, we force-disable coverage flags, since the installed compiler
35841 # probably has never heard of them.
35842 # * We build only C (and possibly Ada).
35845 .PHONY: stage1-start stage1-end
35847 stage1-start::
35848 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35849 echo stage1 > stage_current ; \
35850 echo stage1 > stage_last; \
35851 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35852 @if bfd
35853 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35854 mkdir stage1-bfd; \
35855 set stage1-bfd bfd ; \
35856 @CREATE_LINK_TO_DIR@
35857 @endif bfd
35858 @if opcodes
35859 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35860 mkdir stage1-opcodes; \
35861 set stage1-opcodes opcodes ; \
35862 @CREATE_LINK_TO_DIR@
35863 @endif opcodes
35864 @if binutils
35865 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35866 mkdir stage1-binutils; \
35867 set stage1-binutils binutils ; \
35868 @CREATE_LINK_TO_DIR@
35869 @endif binutils
35870 @if gas
35871 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35872 mkdir stage1-gas; \
35873 set stage1-gas gas ; \
35874 @CREATE_LINK_TO_DIR@
35875 @endif gas
35876 @if gcc
35877 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35878 mkdir stage1-gcc; \
35879 set stage1-gcc gcc ; \
35880 @CREATE_LINK_TO_DIR@
35881 @endif gcc
35882 @if intl
35883 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35884 mkdir stage1-intl; \
35885 set stage1-intl intl ; \
35886 @CREATE_LINK_TO_DIR@
35887 @endif intl
35888 @if ld
35889 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35890 mkdir stage1-ld; \
35891 set stage1-ld ld ; \
35892 @CREATE_LINK_TO_DIR@
35893 @endif ld
35894 @if libcpp
35895 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35896 mkdir stage1-libcpp; \
35897 set stage1-libcpp libcpp ; \
35898 @CREATE_LINK_TO_DIR@
35899 @endif libcpp
35900 @if libdecnumber
35901 @cd $(HOST_SUBDIR); [ -d stage1-libdecnumber ] || \
35902 mkdir stage1-libdecnumber; \
35903 set stage1-libdecnumber libdecnumber ; \
35904 @CREATE_LINK_TO_DIR@
35905 @endif libdecnumber
35906 @if libiberty
35907 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35908 mkdir stage1-libiberty; \
35909 set stage1-libiberty libiberty ; \
35910 @CREATE_LINK_TO_DIR@
35911 @endif libiberty
35912 @if zlib
35913 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35914 mkdir stage1-zlib; \
35915 set stage1-zlib zlib ; \
35916 @CREATE_LINK_TO_DIR@
35917 @endif zlib
35919 stage1-end::
35920 @rm -f stage_current
35921 @if bfd
35922 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35923 @UNDO_LINK_TO_DIR@
35924 @endif bfd
35925 @if opcodes
35926 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35927 @UNDO_LINK_TO_DIR@
35928 @endif opcodes
35929 @if binutils
35930 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35931 @UNDO_LINK_TO_DIR@
35932 @endif binutils
35933 @if gas
35934 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35935 @UNDO_LINK_TO_DIR@
35936 @endif gas
35937 @if gcc
35938 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35939 @UNDO_LINK_TO_DIR@
35940 @endif gcc
35941 @if intl
35942 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35943 @UNDO_LINK_TO_DIR@
35944 @endif intl
35945 @if ld
35946 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35947 @UNDO_LINK_TO_DIR@
35948 @endif ld
35949 @if libcpp
35950 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35951 @UNDO_LINK_TO_DIR@
35952 @endif libcpp
35953 @if libdecnumber
35954 @cd $(HOST_SUBDIR); set libdecnumber stage1-libdecnumber ; \
35955 @UNDO_LINK_TO_DIR@
35956 @endif libdecnumber
35957 @if libiberty
35958 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35959 @UNDO_LINK_TO_DIR@
35960 @endif libiberty
35961 @if zlib
35962 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35963 @UNDO_LINK_TO_DIR@
35964 @endif zlib
35966 # Bubble a bugfix through all the stages up to stage 1. They
35967 # are remade, but not reconfigured. The next stage (if any) will not
35968 # be reconfigured as well.
35969 .PHONY: stage1-bubble
35970 stage1-bubble::
35971 @r=`${PWD_COMMAND}`; export r; \
35972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35973 if test -f stage1-lean ; then \
35974 echo Skipping rebuild of stage1 ; \
35975 else \
35976 $(MAKE) stage1-start; \
35977 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35980 .PHONY: all-stage1 clean-stage1
35981 do-clean: clean-stage1
35983 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35984 # only possibility, but now it conflicts with no-bootstrap rules
35985 @if gcc-bootstrap
35990 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35992 .PHONY: distclean-stage1
35993 distclean-stage1::
35994 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35995 rm -rf stage1-*
35998 @endif gcc-bootstrap
36001 .PHONY: stage2-start stage2-end
36003 stage2-start::
36004 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36005 echo stage2 > stage_current ; \
36006 echo stage2 > stage_last; \
36007 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36008 @if bfd
36009 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
36010 mkdir stage2-bfd; \
36011 set stage2-bfd bfd ; \
36012 @CREATE_LINK_TO_DIR@ ; \
36013 set stage1-bfd prev-bfd ; \
36014 @CREATE_LINK_TO_DIR@
36015 @endif bfd
36016 @if opcodes
36017 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
36018 mkdir stage2-opcodes; \
36019 set stage2-opcodes opcodes ; \
36020 @CREATE_LINK_TO_DIR@ ; \
36021 set stage1-opcodes prev-opcodes ; \
36022 @CREATE_LINK_TO_DIR@
36023 @endif opcodes
36024 @if binutils
36025 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
36026 mkdir stage2-binutils; \
36027 set stage2-binutils binutils ; \
36028 @CREATE_LINK_TO_DIR@ ; \
36029 set stage1-binutils prev-binutils ; \
36030 @CREATE_LINK_TO_DIR@
36031 @endif binutils
36032 @if gas
36033 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
36034 mkdir stage2-gas; \
36035 set stage2-gas gas ; \
36036 @CREATE_LINK_TO_DIR@ ; \
36037 set stage1-gas prev-gas ; \
36038 @CREATE_LINK_TO_DIR@
36039 @endif gas
36040 @if gcc
36041 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
36042 mkdir stage2-gcc; \
36043 set stage2-gcc gcc ; \
36044 @CREATE_LINK_TO_DIR@ ; \
36045 set stage1-gcc prev-gcc ; \
36046 @CREATE_LINK_TO_DIR@
36047 @endif gcc
36048 @if intl
36049 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
36050 mkdir stage2-intl; \
36051 set stage2-intl intl ; \
36052 @CREATE_LINK_TO_DIR@ ; \
36053 set stage1-intl prev-intl ; \
36054 @CREATE_LINK_TO_DIR@
36055 @endif intl
36056 @if ld
36057 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
36058 mkdir stage2-ld; \
36059 set stage2-ld ld ; \
36060 @CREATE_LINK_TO_DIR@ ; \
36061 set stage1-ld prev-ld ; \
36062 @CREATE_LINK_TO_DIR@
36063 @endif ld
36064 @if libcpp
36065 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
36066 mkdir stage2-libcpp; \
36067 set stage2-libcpp libcpp ; \
36068 @CREATE_LINK_TO_DIR@ ; \
36069 set stage1-libcpp prev-libcpp ; \
36070 @CREATE_LINK_TO_DIR@
36071 @endif libcpp
36072 @if libdecnumber
36073 @cd $(HOST_SUBDIR); [ -d stage2-libdecnumber ] || \
36074 mkdir stage2-libdecnumber; \
36075 set stage2-libdecnumber libdecnumber ; \
36076 @CREATE_LINK_TO_DIR@ ; \
36077 set stage1-libdecnumber prev-libdecnumber ; \
36078 @CREATE_LINK_TO_DIR@
36079 @endif libdecnumber
36080 @if libiberty
36081 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
36082 mkdir stage2-libiberty; \
36083 set stage2-libiberty libiberty ; \
36084 @CREATE_LINK_TO_DIR@ ; \
36085 set stage1-libiberty prev-libiberty ; \
36086 @CREATE_LINK_TO_DIR@
36087 @endif libiberty
36088 @if zlib
36089 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
36090 mkdir stage2-zlib; \
36091 set stage2-zlib zlib ; \
36092 @CREATE_LINK_TO_DIR@ ; \
36093 set stage1-zlib prev-zlib ; \
36094 @CREATE_LINK_TO_DIR@
36095 @endif zlib
36097 stage2-end::
36098 @rm -f stage_current
36099 @if bfd
36100 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
36101 @UNDO_LINK_TO_DIR@ ; \
36102 set prev-bfd stage1-bfd ; \
36103 @UNDO_LINK_TO_DIR@
36104 @endif bfd
36105 @if opcodes
36106 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
36107 @UNDO_LINK_TO_DIR@ ; \
36108 set prev-opcodes stage1-opcodes ; \
36109 @UNDO_LINK_TO_DIR@
36110 @endif opcodes
36111 @if binutils
36112 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
36113 @UNDO_LINK_TO_DIR@ ; \
36114 set prev-binutils stage1-binutils ; \
36115 @UNDO_LINK_TO_DIR@
36116 @endif binutils
36117 @if gas
36118 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
36119 @UNDO_LINK_TO_DIR@ ; \
36120 set prev-gas stage1-gas ; \
36121 @UNDO_LINK_TO_DIR@
36122 @endif gas
36123 @if gcc
36124 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
36125 @UNDO_LINK_TO_DIR@ ; \
36126 set prev-gcc stage1-gcc ; \
36127 @UNDO_LINK_TO_DIR@
36128 @endif gcc
36129 @if intl
36130 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
36131 @UNDO_LINK_TO_DIR@ ; \
36132 set prev-intl stage1-intl ; \
36133 @UNDO_LINK_TO_DIR@
36134 @endif intl
36135 @if ld
36136 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
36137 @UNDO_LINK_TO_DIR@ ; \
36138 set prev-ld stage1-ld ; \
36139 @UNDO_LINK_TO_DIR@
36140 @endif ld
36141 @if libcpp
36142 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
36143 @UNDO_LINK_TO_DIR@ ; \
36144 set prev-libcpp stage1-libcpp ; \
36145 @UNDO_LINK_TO_DIR@
36146 @endif libcpp
36147 @if libdecnumber
36148 @cd $(HOST_SUBDIR); set libdecnumber stage2-libdecnumber ; \
36149 @UNDO_LINK_TO_DIR@ ; \
36150 set prev-libdecnumber stage1-libdecnumber ; \
36151 @UNDO_LINK_TO_DIR@
36152 @endif libdecnumber
36153 @if libiberty
36154 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
36155 @UNDO_LINK_TO_DIR@ ; \
36156 set prev-libiberty stage1-libiberty ; \
36157 @UNDO_LINK_TO_DIR@
36158 @endif libiberty
36159 @if zlib
36160 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
36161 @UNDO_LINK_TO_DIR@ ; \
36162 set prev-zlib stage1-zlib ; \
36163 @UNDO_LINK_TO_DIR@
36164 @endif zlib
36166 # Bubble a bugfix through all the stages up to stage 2. They
36167 # are remade, but not reconfigured. The next stage (if any) will not
36168 # be reconfigured as well.
36169 .PHONY: stage2-bubble
36170 stage2-bubble:: stage1-bubble
36171 @r=`${PWD_COMMAND}`; export r; \
36172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36173 if test -f stage2-lean || test -f stage1-lean ; then \
36174 echo Skipping rebuild of stage2 ; \
36175 else \
36176 $(MAKE) stage2-start; \
36177 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
36180 .PHONY: all-stage2 clean-stage2
36181 do-clean: clean-stage2
36183 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36184 # only possibility, but now it conflicts with no-bootstrap rules
36185 @if gcc-bootstrap
36189 .PHONY: bootstrap2
36190 bootstrap2: stage2-bubble
36191 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36194 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36195 distclean-stage1:: distclean-stage2
36196 .PHONY: distclean-stage2
36197 distclean-stage2::
36198 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36199 rm -rf stage2-*
36202 @endif gcc-bootstrap
36205 .PHONY: stage3-start stage3-end
36207 stage3-start::
36208 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36209 echo stage3 > stage_current ; \
36210 echo stage3 > stage_last; \
36211 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36212 @if bfd
36213 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
36214 mkdir stage3-bfd; \
36215 set stage3-bfd bfd ; \
36216 @CREATE_LINK_TO_DIR@ ; \
36217 set stage2-bfd prev-bfd ; \
36218 @CREATE_LINK_TO_DIR@
36219 @endif bfd
36220 @if opcodes
36221 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
36222 mkdir stage3-opcodes; \
36223 set stage3-opcodes opcodes ; \
36224 @CREATE_LINK_TO_DIR@ ; \
36225 set stage2-opcodes prev-opcodes ; \
36226 @CREATE_LINK_TO_DIR@
36227 @endif opcodes
36228 @if binutils
36229 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
36230 mkdir stage3-binutils; \
36231 set stage3-binutils binutils ; \
36232 @CREATE_LINK_TO_DIR@ ; \
36233 set stage2-binutils prev-binutils ; \
36234 @CREATE_LINK_TO_DIR@
36235 @endif binutils
36236 @if gas
36237 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
36238 mkdir stage3-gas; \
36239 set stage3-gas gas ; \
36240 @CREATE_LINK_TO_DIR@ ; \
36241 set stage2-gas prev-gas ; \
36242 @CREATE_LINK_TO_DIR@
36243 @endif gas
36244 @if gcc
36245 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
36246 mkdir stage3-gcc; \
36247 set stage3-gcc gcc ; \
36248 @CREATE_LINK_TO_DIR@ ; \
36249 set stage2-gcc prev-gcc ; \
36250 @CREATE_LINK_TO_DIR@
36251 @endif gcc
36252 @if intl
36253 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
36254 mkdir stage3-intl; \
36255 set stage3-intl intl ; \
36256 @CREATE_LINK_TO_DIR@ ; \
36257 set stage2-intl prev-intl ; \
36258 @CREATE_LINK_TO_DIR@
36259 @endif intl
36260 @if ld
36261 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
36262 mkdir stage3-ld; \
36263 set stage3-ld ld ; \
36264 @CREATE_LINK_TO_DIR@ ; \
36265 set stage2-ld prev-ld ; \
36266 @CREATE_LINK_TO_DIR@
36267 @endif ld
36268 @if libcpp
36269 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
36270 mkdir stage3-libcpp; \
36271 set stage3-libcpp libcpp ; \
36272 @CREATE_LINK_TO_DIR@ ; \
36273 set stage2-libcpp prev-libcpp ; \
36274 @CREATE_LINK_TO_DIR@
36275 @endif libcpp
36276 @if libdecnumber
36277 @cd $(HOST_SUBDIR); [ -d stage3-libdecnumber ] || \
36278 mkdir stage3-libdecnumber; \
36279 set stage3-libdecnumber libdecnumber ; \
36280 @CREATE_LINK_TO_DIR@ ; \
36281 set stage2-libdecnumber prev-libdecnumber ; \
36282 @CREATE_LINK_TO_DIR@
36283 @endif libdecnumber
36284 @if libiberty
36285 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
36286 mkdir stage3-libiberty; \
36287 set stage3-libiberty libiberty ; \
36288 @CREATE_LINK_TO_DIR@ ; \
36289 set stage2-libiberty prev-libiberty ; \
36290 @CREATE_LINK_TO_DIR@
36291 @endif libiberty
36292 @if zlib
36293 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
36294 mkdir stage3-zlib; \
36295 set stage3-zlib zlib ; \
36296 @CREATE_LINK_TO_DIR@ ; \
36297 set stage2-zlib prev-zlib ; \
36298 @CREATE_LINK_TO_DIR@
36299 @endif zlib
36301 stage3-end::
36302 @rm -f stage_current
36303 @if bfd
36304 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
36305 @UNDO_LINK_TO_DIR@ ; \
36306 set prev-bfd stage2-bfd ; \
36307 @UNDO_LINK_TO_DIR@
36308 @endif bfd
36309 @if opcodes
36310 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
36311 @UNDO_LINK_TO_DIR@ ; \
36312 set prev-opcodes stage2-opcodes ; \
36313 @UNDO_LINK_TO_DIR@
36314 @endif opcodes
36315 @if binutils
36316 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
36317 @UNDO_LINK_TO_DIR@ ; \
36318 set prev-binutils stage2-binutils ; \
36319 @UNDO_LINK_TO_DIR@
36320 @endif binutils
36321 @if gas
36322 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
36323 @UNDO_LINK_TO_DIR@ ; \
36324 set prev-gas stage2-gas ; \
36325 @UNDO_LINK_TO_DIR@
36326 @endif gas
36327 @if gcc
36328 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
36329 @UNDO_LINK_TO_DIR@ ; \
36330 set prev-gcc stage2-gcc ; \
36331 @UNDO_LINK_TO_DIR@
36332 @endif gcc
36333 @if intl
36334 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
36335 @UNDO_LINK_TO_DIR@ ; \
36336 set prev-intl stage2-intl ; \
36337 @UNDO_LINK_TO_DIR@
36338 @endif intl
36339 @if ld
36340 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
36341 @UNDO_LINK_TO_DIR@ ; \
36342 set prev-ld stage2-ld ; \
36343 @UNDO_LINK_TO_DIR@
36344 @endif ld
36345 @if libcpp
36346 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
36347 @UNDO_LINK_TO_DIR@ ; \
36348 set prev-libcpp stage2-libcpp ; \
36349 @UNDO_LINK_TO_DIR@
36350 @endif libcpp
36351 @if libdecnumber
36352 @cd $(HOST_SUBDIR); set libdecnumber stage3-libdecnumber ; \
36353 @UNDO_LINK_TO_DIR@ ; \
36354 set prev-libdecnumber stage2-libdecnumber ; \
36355 @UNDO_LINK_TO_DIR@
36356 @endif libdecnumber
36357 @if libiberty
36358 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
36359 @UNDO_LINK_TO_DIR@ ; \
36360 set prev-libiberty stage2-libiberty ; \
36361 @UNDO_LINK_TO_DIR@
36362 @endif libiberty
36363 @if zlib
36364 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
36365 @UNDO_LINK_TO_DIR@ ; \
36366 set prev-zlib stage2-zlib ; \
36367 @UNDO_LINK_TO_DIR@
36368 @endif zlib
36370 # Bubble a bugfix through all the stages up to stage 3. They
36371 # are remade, but not reconfigured. The next stage (if any) will not
36372 # be reconfigured as well.
36373 .PHONY: stage3-bubble
36374 stage3-bubble:: stage2-bubble
36375 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
36376 @r=`${PWD_COMMAND}`; export r; \
36377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36378 if test -f stage3-lean || test -f stage2-lean ; then \
36379 echo Skipping rebuild of stage3 ; \
36380 else \
36381 $(MAKE) stage3-start; \
36382 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
36385 .PHONY: all-stage3 clean-stage3
36386 do-clean: clean-stage3
36388 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36389 # only possibility, but now it conflicts with no-bootstrap rules
36390 @if gcc-bootstrap
36392 compare:
36393 @r=`${PWD_COMMAND}`; export r; \
36394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36395 if test -f stage2-lean; then \
36396 echo Cannot compare object files as stage 2 was deleted. ; \
36397 exit 0 ; \
36398 fi; \
36399 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36400 rm -f .bad_compare ; \
36401 cd stage3-gcc; \
36402 files=`find . -name "*$(objext)" -print` ; \
36403 cd .. ; \
36404 for file in $${files} ; do \
36405 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
36406 @do_compare@ > /dev/null 2>&1; \
36407 if test $$? -eq 1; then \
36408 case $$file in \
36409 ./cc*-checksum$(objext) | ./libgcc/* ) \
36410 echo warning: $$file differs ;; \
36411 *) \
36412 echo $$file differs >> .bad_compare ;; \
36413 esac ; \
36414 fi ; \
36415 done ; \
36416 if [ -f .bad_compare ]; then \
36417 echo "Bootstrap comparison failure!"; \
36418 cat .bad_compare; \
36419 exit 1; \
36420 else \
36421 true; \
36422 fi ; \
36423 $(STAMP) compare
36424 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36428 .PHONY: bootstrap
36429 bootstrap: stage3-bubble
36430 $(MAKE) compare
36431 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36434 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36435 distclean-stage2:: distclean-stage3
36436 .PHONY: distclean-stage3
36437 distclean-stage3::
36438 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36439 rm -rf stage3-* compare
36442 .PHONY: cleanstrap
36443 cleanstrap: distclean bootstrap
36445 @endif gcc-bootstrap
36448 .PHONY: stage4-start stage4-end
36450 stage4-start::
36451 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36452 echo stage4 > stage_current ; \
36453 echo stage4 > stage_last; \
36454 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36455 @if bfd
36456 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
36457 mkdir stage4-bfd; \
36458 set stage4-bfd bfd ; \
36459 @CREATE_LINK_TO_DIR@ ; \
36460 set stage3-bfd prev-bfd ; \
36461 @CREATE_LINK_TO_DIR@
36462 @endif bfd
36463 @if opcodes
36464 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
36465 mkdir stage4-opcodes; \
36466 set stage4-opcodes opcodes ; \
36467 @CREATE_LINK_TO_DIR@ ; \
36468 set stage3-opcodes prev-opcodes ; \
36469 @CREATE_LINK_TO_DIR@
36470 @endif opcodes
36471 @if binutils
36472 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
36473 mkdir stage4-binutils; \
36474 set stage4-binutils binutils ; \
36475 @CREATE_LINK_TO_DIR@ ; \
36476 set stage3-binutils prev-binutils ; \
36477 @CREATE_LINK_TO_DIR@
36478 @endif binutils
36479 @if gas
36480 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
36481 mkdir stage4-gas; \
36482 set stage4-gas gas ; \
36483 @CREATE_LINK_TO_DIR@ ; \
36484 set stage3-gas prev-gas ; \
36485 @CREATE_LINK_TO_DIR@
36486 @endif gas
36487 @if gcc
36488 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
36489 mkdir stage4-gcc; \
36490 set stage4-gcc gcc ; \
36491 @CREATE_LINK_TO_DIR@ ; \
36492 set stage3-gcc prev-gcc ; \
36493 @CREATE_LINK_TO_DIR@
36494 @endif gcc
36495 @if intl
36496 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
36497 mkdir stage4-intl; \
36498 set stage4-intl intl ; \
36499 @CREATE_LINK_TO_DIR@ ; \
36500 set stage3-intl prev-intl ; \
36501 @CREATE_LINK_TO_DIR@
36502 @endif intl
36503 @if ld
36504 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
36505 mkdir stage4-ld; \
36506 set stage4-ld ld ; \
36507 @CREATE_LINK_TO_DIR@ ; \
36508 set stage3-ld prev-ld ; \
36509 @CREATE_LINK_TO_DIR@
36510 @endif ld
36511 @if libcpp
36512 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
36513 mkdir stage4-libcpp; \
36514 set stage4-libcpp libcpp ; \
36515 @CREATE_LINK_TO_DIR@ ; \
36516 set stage3-libcpp prev-libcpp ; \
36517 @CREATE_LINK_TO_DIR@
36518 @endif libcpp
36519 @if libdecnumber
36520 @cd $(HOST_SUBDIR); [ -d stage4-libdecnumber ] || \
36521 mkdir stage4-libdecnumber; \
36522 set stage4-libdecnumber libdecnumber ; \
36523 @CREATE_LINK_TO_DIR@ ; \
36524 set stage3-libdecnumber prev-libdecnumber ; \
36525 @CREATE_LINK_TO_DIR@
36526 @endif libdecnumber
36527 @if libiberty
36528 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
36529 mkdir stage4-libiberty; \
36530 set stage4-libiberty libiberty ; \
36531 @CREATE_LINK_TO_DIR@ ; \
36532 set stage3-libiberty prev-libiberty ; \
36533 @CREATE_LINK_TO_DIR@
36534 @endif libiberty
36535 @if zlib
36536 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
36537 mkdir stage4-zlib; \
36538 set stage4-zlib zlib ; \
36539 @CREATE_LINK_TO_DIR@ ; \
36540 set stage3-zlib prev-zlib ; \
36541 @CREATE_LINK_TO_DIR@
36542 @endif zlib
36544 stage4-end::
36545 @rm -f stage_current
36546 @if bfd
36547 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
36548 @UNDO_LINK_TO_DIR@ ; \
36549 set prev-bfd stage3-bfd ; \
36550 @UNDO_LINK_TO_DIR@
36551 @endif bfd
36552 @if opcodes
36553 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
36554 @UNDO_LINK_TO_DIR@ ; \
36555 set prev-opcodes stage3-opcodes ; \
36556 @UNDO_LINK_TO_DIR@
36557 @endif opcodes
36558 @if binutils
36559 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
36560 @UNDO_LINK_TO_DIR@ ; \
36561 set prev-binutils stage3-binutils ; \
36562 @UNDO_LINK_TO_DIR@
36563 @endif binutils
36564 @if gas
36565 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
36566 @UNDO_LINK_TO_DIR@ ; \
36567 set prev-gas stage3-gas ; \
36568 @UNDO_LINK_TO_DIR@
36569 @endif gas
36570 @if gcc
36571 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
36572 @UNDO_LINK_TO_DIR@ ; \
36573 set prev-gcc stage3-gcc ; \
36574 @UNDO_LINK_TO_DIR@
36575 @endif gcc
36576 @if intl
36577 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
36578 @UNDO_LINK_TO_DIR@ ; \
36579 set prev-intl stage3-intl ; \
36580 @UNDO_LINK_TO_DIR@
36581 @endif intl
36582 @if ld
36583 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
36584 @UNDO_LINK_TO_DIR@ ; \
36585 set prev-ld stage3-ld ; \
36586 @UNDO_LINK_TO_DIR@
36587 @endif ld
36588 @if libcpp
36589 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
36590 @UNDO_LINK_TO_DIR@ ; \
36591 set prev-libcpp stage3-libcpp ; \
36592 @UNDO_LINK_TO_DIR@
36593 @endif libcpp
36594 @if libdecnumber
36595 @cd $(HOST_SUBDIR); set libdecnumber stage4-libdecnumber ; \
36596 @UNDO_LINK_TO_DIR@ ; \
36597 set prev-libdecnumber stage3-libdecnumber ; \
36598 @UNDO_LINK_TO_DIR@
36599 @endif libdecnumber
36600 @if libiberty
36601 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
36602 @UNDO_LINK_TO_DIR@ ; \
36603 set prev-libiberty stage3-libiberty ; \
36604 @UNDO_LINK_TO_DIR@
36605 @endif libiberty
36606 @if zlib
36607 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
36608 @UNDO_LINK_TO_DIR@ ; \
36609 set prev-zlib stage3-zlib ; \
36610 @UNDO_LINK_TO_DIR@
36611 @endif zlib
36613 # Bubble a bugfix through all the stages up to stage 4. They
36614 # are remade, but not reconfigured. The next stage (if any) will not
36615 # be reconfigured as well.
36616 .PHONY: stage4-bubble
36617 stage4-bubble:: stage3-bubble
36618 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
36619 @r=`${PWD_COMMAND}`; export r; \
36620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36621 if test -f stage4-lean || test -f stage3-lean ; then \
36622 echo Skipping rebuild of stage4 ; \
36623 else \
36624 $(MAKE) stage4-start; \
36625 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
36628 .PHONY: all-stage4 clean-stage4
36629 do-clean: clean-stage4
36631 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36632 # only possibility, but now it conflicts with no-bootstrap rules
36633 @if gcc-bootstrap
36635 compare3:
36636 @r=`${PWD_COMMAND}`; export r; \
36637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36638 if test -f stage3-lean; then \
36639 echo Cannot compare object files as stage 3 was deleted. ; \
36640 exit 0 ; \
36641 fi; \
36642 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36643 rm -f .bad_compare ; \
36644 cd stage4-gcc; \
36645 files=`find . -name "*$(objext)" -print` ; \
36646 cd .. ; \
36647 for file in $${files} ; do \
36648 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
36649 @do_compare@ > /dev/null 2>&1; \
36650 if test $$? -eq 1; then \
36651 case $$file in \
36652 ./cc*-checksum$(objext) | ./libgcc/* ) \
36653 echo warning: $$file differs ;; \
36654 *) \
36655 echo $$file differs >> .bad_compare ;; \
36656 esac ; \
36657 fi ; \
36658 done ; \
36659 if [ -f .bad_compare ]; then \
36660 echo "Bootstrap comparison failure!"; \
36661 cat .bad_compare; \
36662 exit 1; \
36663 else \
36664 true; \
36665 fi ; \
36666 $(STAMP) compare3
36667 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
36671 .PHONY: bootstrap4
36672 bootstrap4: stage4-bubble
36673 $(MAKE) compare3
36674 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36677 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36678 distclean-stage3:: distclean-stage4
36679 .PHONY: distclean-stage4
36680 distclean-stage4::
36681 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36682 rm -rf stage4-* compare3
36685 @endif gcc-bootstrap
36688 .PHONY: stageprofile-start stageprofile-end
36690 stageprofile-start::
36691 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36692 echo stageprofile > stage_current ; \
36693 echo stageprofile > stage_last; \
36694 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36695 @if bfd
36696 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
36697 mkdir stageprofile-bfd; \
36698 set stageprofile-bfd bfd ; \
36699 @CREATE_LINK_TO_DIR@ ; \
36700 set stage1-bfd prev-bfd ; \
36701 @CREATE_LINK_TO_DIR@
36702 @endif bfd
36703 @if opcodes
36704 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
36705 mkdir stageprofile-opcodes; \
36706 set stageprofile-opcodes opcodes ; \
36707 @CREATE_LINK_TO_DIR@ ; \
36708 set stage1-opcodes prev-opcodes ; \
36709 @CREATE_LINK_TO_DIR@
36710 @endif opcodes
36711 @if binutils
36712 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
36713 mkdir stageprofile-binutils; \
36714 set stageprofile-binutils binutils ; \
36715 @CREATE_LINK_TO_DIR@ ; \
36716 set stage1-binutils prev-binutils ; \
36717 @CREATE_LINK_TO_DIR@
36718 @endif binutils
36719 @if gas
36720 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
36721 mkdir stageprofile-gas; \
36722 set stageprofile-gas gas ; \
36723 @CREATE_LINK_TO_DIR@ ; \
36724 set stage1-gas prev-gas ; \
36725 @CREATE_LINK_TO_DIR@
36726 @endif gas
36727 @if gcc
36728 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
36729 mkdir stageprofile-gcc; \
36730 set stageprofile-gcc gcc ; \
36731 @CREATE_LINK_TO_DIR@ ; \
36732 set stage1-gcc prev-gcc ; \
36733 @CREATE_LINK_TO_DIR@
36734 @endif gcc
36735 @if intl
36736 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
36737 mkdir stageprofile-intl; \
36738 set stageprofile-intl intl ; \
36739 @CREATE_LINK_TO_DIR@ ; \
36740 set stage1-intl prev-intl ; \
36741 @CREATE_LINK_TO_DIR@
36742 @endif intl
36743 @if ld
36744 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
36745 mkdir stageprofile-ld; \
36746 set stageprofile-ld ld ; \
36747 @CREATE_LINK_TO_DIR@ ; \
36748 set stage1-ld prev-ld ; \
36749 @CREATE_LINK_TO_DIR@
36750 @endif ld
36751 @if libcpp
36752 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
36753 mkdir stageprofile-libcpp; \
36754 set stageprofile-libcpp libcpp ; \
36755 @CREATE_LINK_TO_DIR@ ; \
36756 set stage1-libcpp prev-libcpp ; \
36757 @CREATE_LINK_TO_DIR@
36758 @endif libcpp
36759 @if libdecnumber
36760 @cd $(HOST_SUBDIR); [ -d stageprofile-libdecnumber ] || \
36761 mkdir stageprofile-libdecnumber; \
36762 set stageprofile-libdecnumber libdecnumber ; \
36763 @CREATE_LINK_TO_DIR@ ; \
36764 set stage1-libdecnumber prev-libdecnumber ; \
36765 @CREATE_LINK_TO_DIR@
36766 @endif libdecnumber
36767 @if libiberty
36768 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36769 mkdir stageprofile-libiberty; \
36770 set stageprofile-libiberty libiberty ; \
36771 @CREATE_LINK_TO_DIR@ ; \
36772 set stage1-libiberty prev-libiberty ; \
36773 @CREATE_LINK_TO_DIR@
36774 @endif libiberty
36775 @if zlib
36776 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36777 mkdir stageprofile-zlib; \
36778 set stageprofile-zlib zlib ; \
36779 @CREATE_LINK_TO_DIR@ ; \
36780 set stage1-zlib prev-zlib ; \
36781 @CREATE_LINK_TO_DIR@
36782 @endif zlib
36784 stageprofile-end::
36785 @rm -f stage_current
36786 @if bfd
36787 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36788 @UNDO_LINK_TO_DIR@ ; \
36789 set prev-bfd stage1-bfd ; \
36790 @UNDO_LINK_TO_DIR@
36791 @endif bfd
36792 @if opcodes
36793 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36794 @UNDO_LINK_TO_DIR@ ; \
36795 set prev-opcodes stage1-opcodes ; \
36796 @UNDO_LINK_TO_DIR@
36797 @endif opcodes
36798 @if binutils
36799 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36800 @UNDO_LINK_TO_DIR@ ; \
36801 set prev-binutils stage1-binutils ; \
36802 @UNDO_LINK_TO_DIR@
36803 @endif binutils
36804 @if gas
36805 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36806 @UNDO_LINK_TO_DIR@ ; \
36807 set prev-gas stage1-gas ; \
36808 @UNDO_LINK_TO_DIR@
36809 @endif gas
36810 @if gcc
36811 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36812 @UNDO_LINK_TO_DIR@ ; \
36813 set prev-gcc stage1-gcc ; \
36814 @UNDO_LINK_TO_DIR@
36815 @endif gcc
36816 @if intl
36817 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36818 @UNDO_LINK_TO_DIR@ ; \
36819 set prev-intl stage1-intl ; \
36820 @UNDO_LINK_TO_DIR@
36821 @endif intl
36822 @if ld
36823 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36824 @UNDO_LINK_TO_DIR@ ; \
36825 set prev-ld stage1-ld ; \
36826 @UNDO_LINK_TO_DIR@
36827 @endif ld
36828 @if libcpp
36829 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36830 @UNDO_LINK_TO_DIR@ ; \
36831 set prev-libcpp stage1-libcpp ; \
36832 @UNDO_LINK_TO_DIR@
36833 @endif libcpp
36834 @if libdecnumber
36835 @cd $(HOST_SUBDIR); set libdecnumber stageprofile-libdecnumber ; \
36836 @UNDO_LINK_TO_DIR@ ; \
36837 set prev-libdecnumber stage1-libdecnumber ; \
36838 @UNDO_LINK_TO_DIR@
36839 @endif libdecnumber
36840 @if libiberty
36841 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36842 @UNDO_LINK_TO_DIR@ ; \
36843 set prev-libiberty stage1-libiberty ; \
36844 @UNDO_LINK_TO_DIR@
36845 @endif libiberty
36846 @if zlib
36847 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36848 @UNDO_LINK_TO_DIR@ ; \
36849 set prev-zlib stage1-zlib ; \
36850 @UNDO_LINK_TO_DIR@
36851 @endif zlib
36853 # Bubble a bugfix through all the stages up to stage profile. They
36854 # are remade, but not reconfigured. The next stage (if any) will not
36855 # be reconfigured as well.
36856 .PHONY: stageprofile-bubble
36857 stageprofile-bubble:: stage1-bubble
36858 @r=`${PWD_COMMAND}`; export r; \
36859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36860 if test -f stageprofile-lean || test -f stage1-lean ; then \
36861 echo Skipping rebuild of stageprofile ; \
36862 else \
36863 $(MAKE) stageprofile-start; \
36864 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36867 .PHONY: all-stageprofile clean-stageprofile
36868 do-clean: clean-stageprofile
36870 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36871 # only possibility, but now it conflicts with no-bootstrap rules
36872 @if gcc-bootstrap
36877 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36878 distclean-stage1:: distclean-stageprofile
36879 .PHONY: distclean-stageprofile
36880 distclean-stageprofile::
36881 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36882 rm -rf stageprofile-*
36885 @endif gcc-bootstrap
36888 .PHONY: stagefeedback-start stagefeedback-end
36890 stagefeedback-start::
36891 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36892 echo stagefeedback > stage_current ; \
36893 echo stagefeedback > stage_last; \
36894 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36895 @if bfd
36896 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36897 mkdir stagefeedback-bfd; \
36898 set stagefeedback-bfd bfd ; \
36899 @CREATE_LINK_TO_DIR@ ; \
36900 set stageprofile-bfd prev-bfd ; \
36901 @CREATE_LINK_TO_DIR@
36902 @endif bfd
36903 @if opcodes
36904 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36905 mkdir stagefeedback-opcodes; \
36906 set stagefeedback-opcodes opcodes ; \
36907 @CREATE_LINK_TO_DIR@ ; \
36908 set stageprofile-opcodes prev-opcodes ; \
36909 @CREATE_LINK_TO_DIR@
36910 @endif opcodes
36911 @if binutils
36912 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36913 mkdir stagefeedback-binutils; \
36914 set stagefeedback-binutils binutils ; \
36915 @CREATE_LINK_TO_DIR@ ; \
36916 set stageprofile-binutils prev-binutils ; \
36917 @CREATE_LINK_TO_DIR@
36918 @endif binutils
36919 @if gas
36920 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36921 mkdir stagefeedback-gas; \
36922 set stagefeedback-gas gas ; \
36923 @CREATE_LINK_TO_DIR@ ; \
36924 set stageprofile-gas prev-gas ; \
36925 @CREATE_LINK_TO_DIR@
36926 @endif gas
36927 @if gcc
36928 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36929 mkdir stagefeedback-gcc; \
36930 set stagefeedback-gcc gcc ; \
36931 @CREATE_LINK_TO_DIR@ ; \
36932 set stageprofile-gcc prev-gcc ; \
36933 @CREATE_LINK_TO_DIR@
36934 @endif gcc
36935 @if intl
36936 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36937 mkdir stagefeedback-intl; \
36938 set stagefeedback-intl intl ; \
36939 @CREATE_LINK_TO_DIR@ ; \
36940 set stageprofile-intl prev-intl ; \
36941 @CREATE_LINK_TO_DIR@
36942 @endif intl
36943 @if ld
36944 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36945 mkdir stagefeedback-ld; \
36946 set stagefeedback-ld ld ; \
36947 @CREATE_LINK_TO_DIR@ ; \
36948 set stageprofile-ld prev-ld ; \
36949 @CREATE_LINK_TO_DIR@
36950 @endif ld
36951 @if libcpp
36952 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36953 mkdir stagefeedback-libcpp; \
36954 set stagefeedback-libcpp libcpp ; \
36955 @CREATE_LINK_TO_DIR@ ; \
36956 set stageprofile-libcpp prev-libcpp ; \
36957 @CREATE_LINK_TO_DIR@
36958 @endif libcpp
36959 @if libdecnumber
36960 @cd $(HOST_SUBDIR); [ -d stagefeedback-libdecnumber ] || \
36961 mkdir stagefeedback-libdecnumber; \
36962 set stagefeedback-libdecnumber libdecnumber ; \
36963 @CREATE_LINK_TO_DIR@ ; \
36964 set stageprofile-libdecnumber prev-libdecnumber ; \
36965 @CREATE_LINK_TO_DIR@
36966 @endif libdecnumber
36967 @if libiberty
36968 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36969 mkdir stagefeedback-libiberty; \
36970 set stagefeedback-libiberty libiberty ; \
36971 @CREATE_LINK_TO_DIR@ ; \
36972 set stageprofile-libiberty prev-libiberty ; \
36973 @CREATE_LINK_TO_DIR@
36974 @endif libiberty
36975 @if zlib
36976 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36977 mkdir stagefeedback-zlib; \
36978 set stagefeedback-zlib zlib ; \
36979 @CREATE_LINK_TO_DIR@ ; \
36980 set stageprofile-zlib prev-zlib ; \
36981 @CREATE_LINK_TO_DIR@
36982 @endif zlib
36984 stagefeedback-end::
36985 @rm -f stage_current
36986 @if bfd
36987 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36988 @UNDO_LINK_TO_DIR@ ; \
36989 set prev-bfd stageprofile-bfd ; \
36990 @UNDO_LINK_TO_DIR@
36991 @endif bfd
36992 @if opcodes
36993 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36994 @UNDO_LINK_TO_DIR@ ; \
36995 set prev-opcodes stageprofile-opcodes ; \
36996 @UNDO_LINK_TO_DIR@
36997 @endif opcodes
36998 @if binutils
36999 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
37000 @UNDO_LINK_TO_DIR@ ; \
37001 set prev-binutils stageprofile-binutils ; \
37002 @UNDO_LINK_TO_DIR@
37003 @endif binutils
37004 @if gas
37005 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
37006 @UNDO_LINK_TO_DIR@ ; \
37007 set prev-gas stageprofile-gas ; \
37008 @UNDO_LINK_TO_DIR@
37009 @endif gas
37010 @if gcc
37011 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
37012 @UNDO_LINK_TO_DIR@ ; \
37013 set prev-gcc stageprofile-gcc ; \
37014 @UNDO_LINK_TO_DIR@
37015 @endif gcc
37016 @if intl
37017 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
37018 @UNDO_LINK_TO_DIR@ ; \
37019 set prev-intl stageprofile-intl ; \
37020 @UNDO_LINK_TO_DIR@
37021 @endif intl
37022 @if ld
37023 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
37024 @UNDO_LINK_TO_DIR@ ; \
37025 set prev-ld stageprofile-ld ; \
37026 @UNDO_LINK_TO_DIR@
37027 @endif ld
37028 @if libcpp
37029 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
37030 @UNDO_LINK_TO_DIR@ ; \
37031 set prev-libcpp stageprofile-libcpp ; \
37032 @UNDO_LINK_TO_DIR@
37033 @endif libcpp
37034 @if libdecnumber
37035 @cd $(HOST_SUBDIR); set libdecnumber stagefeedback-libdecnumber ; \
37036 @UNDO_LINK_TO_DIR@ ; \
37037 set prev-libdecnumber stageprofile-libdecnumber ; \
37038 @UNDO_LINK_TO_DIR@
37039 @endif libdecnumber
37040 @if libiberty
37041 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
37042 @UNDO_LINK_TO_DIR@ ; \
37043 set prev-libiberty stageprofile-libiberty ; \
37044 @UNDO_LINK_TO_DIR@
37045 @endif libiberty
37046 @if zlib
37047 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
37048 @UNDO_LINK_TO_DIR@ ; \
37049 set prev-zlib stageprofile-zlib ; \
37050 @UNDO_LINK_TO_DIR@
37051 @endif zlib
37053 # Bubble a bugfix through all the stages up to stage feedback. They
37054 # are remade, but not reconfigured. The next stage (if any) will not
37055 # be reconfigured as well.
37056 .PHONY: stagefeedback-bubble
37057 stagefeedback-bubble:: stageprofile-bubble
37058 @r=`${PWD_COMMAND}`; export r; \
37059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37060 if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
37061 echo Skipping rebuild of stagefeedback ; \
37062 else \
37063 $(MAKE) stagefeedback-start; \
37064 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
37067 .PHONY: all-stagefeedback clean-stagefeedback
37068 do-clean: clean-stagefeedback
37070 # FIXME: Will not need to be conditional when toplevel bootstrap is the
37071 # only possibility, but now it conflicts with no-bootstrap rules
37072 @if gcc-bootstrap
37076 .PHONY: profiledbootstrap
37077 profiledbootstrap: stagefeedback-bubble
37078 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
37081 # Rules to wipe a stage and all the following ones, also used for cleanstrap
37082 distclean-stageprofile:: distclean-stagefeedback
37083 .PHONY: distclean-stagefeedback
37084 distclean-stagefeedback::
37085 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
37086 rm -rf stagefeedback-*
37089 @endif gcc-bootstrap
37093 stageprofile-end::
37094 $(MAKE) distclean-stagefeedback
37096 stagefeedback-start::
37097 @r=`${PWD_COMMAND}`; export r; \
37098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
37099 for i in prev-*; do \
37100 j=`echo $$i | sed s/^prev-//` ; \
37101 cd $$r/$$i && \
37102 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
37103 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
37104 done
37106 @if gcc-bootstrap
37107 do-distclean: distclean-stage1
37108 @endif gcc-bootstrap
37110 # --------------------------------------
37111 # Dependencies between different modules
37112 # --------------------------------------
37114 # Generic dependencies for target modules on host stuff, especially gcc
37116 configure-target-libstdc++-v3: maybe-all-gcc
37118 configure-target-libmudflap: maybe-all-gcc
37120 configure-target-libssp: maybe-all-gcc
37122 configure-target-newlib: maybe-all-gcc
37124 configure-target-libgfortran: maybe-all-gcc
37126 configure-target-libobjc: maybe-all-gcc
37128 configure-target-libtermcap: maybe-all-gcc
37130 configure-target-winsup: maybe-all-gcc
37132 configure-target-libgloss: maybe-all-gcc
37134 configure-target-libiberty: maybe-all-gcc
37136 configure-target-gperf: maybe-all-gcc
37138 configure-target-examples: maybe-all-gcc
37140 configure-target-libffi: maybe-all-gcc
37142 configure-target-libjava: maybe-all-gcc
37144 configure-target-zlib: maybe-all-gcc
37146 configure-target-boehm-gc: maybe-all-gcc
37148 configure-target-qthreads: maybe-all-gcc
37150 configure-target-rda: maybe-all-gcc
37152 configure-target-libada: maybe-all-gcc
37156 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
37158 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
37159 configure-target-gperf: maybe-all-target-libstdc++-v3
37161 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
37163 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
37165 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
37167 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
37168 configure-target-libjava: maybe-all-target-libstdc++-v3
37170 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
37172 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
37174 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
37176 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
37178 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
37180 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
37182 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
37184 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
37186 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
37188 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
37191 # There are two types of dependencies here: 'hard' dependencies, where one
37192 # module simply won't build without the other; and 'soft' dependencies, where
37193 # if the depended-on module is missing, the depending module will do without
37194 # or find a substitute somewhere (perhaps installed). Soft dependencies
37195 # are made here to depend on a 'maybe-' target. If you're not sure,
37196 # it's safer to use a soft dependency.
37203 # With all the machinery above in place, it is pretty easy to generate
37204 # dependencies. Host dependencies are a bit more complex because we have
37205 # to check for bootstrap/prebootstrap dependencies. To resolve
37206 # prebootstrap dependencies, prebootstrap modules are gathered in
37207 # a hash table.
37208 all-build-bison: maybe-all-build-texinfo
37209 all-build-byacc: maybe-all-build-texinfo
37210 all-build-flex: maybe-all-build-texinfo
37211 all-build-flex: maybe-all-build-bison
37212 all-build-flex: maybe-all-build-byacc
37213 all-build-flex: maybe-all-build-m4
37214 all-build-libiberty: maybe-all-build-texinfo
37215 all-build-m4: maybe-all-build-texinfo
37216 all-build-fixincludes: maybe-all-build-libiberty
37217 configure-gcc: maybe-configure-intl
37219 configure-stage1-gcc: maybe-configure-stage1-intl
37220 configure-stage2-gcc: maybe-configure-stage2-intl
37221 configure-stage3-gcc: maybe-configure-stage3-intl
37222 configure-stage4-gcc: maybe-configure-stage4-intl
37223 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
37224 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
37225 configure-gcc: maybe-all-binutils
37227 configure-stage1-gcc: maybe-all-stage1-binutils
37228 configure-stage2-gcc: maybe-all-stage2-binutils
37229 configure-stage3-gcc: maybe-all-stage3-binutils
37230 configure-stage4-gcc: maybe-all-stage4-binutils
37231 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
37232 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
37233 configure-gcc: maybe-all-gas
37235 configure-stage1-gcc: maybe-all-stage1-gas
37236 configure-stage2-gcc: maybe-all-stage2-gas
37237 configure-stage3-gcc: maybe-all-stage3-gas
37238 configure-stage4-gcc: maybe-all-stage4-gas
37239 configure-stageprofile-gcc: maybe-all-stageprofile-gas
37240 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
37241 configure-gcc: maybe-all-ld
37243 configure-stage1-gcc: maybe-all-stage1-ld
37244 configure-stage2-gcc: maybe-all-stage2-ld
37245 configure-stage3-gcc: maybe-all-stage3-ld
37246 configure-stage4-gcc: maybe-all-stage4-ld
37247 configure-stageprofile-gcc: maybe-all-stageprofile-ld
37248 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
37249 all-gcc: all-libiberty
37251 all-stage1-gcc: all-stage1-libiberty
37252 all-stage2-gcc: all-stage2-libiberty
37253 all-stage3-gcc: all-stage3-libiberty
37254 all-stage4-gcc: all-stage4-libiberty
37255 all-stageprofile-gcc: all-stageprofile-libiberty
37256 all-stagefeedback-gcc: all-stagefeedback-libiberty
37257 all-gcc: maybe-all-intl
37259 all-stage1-gcc: maybe-all-stage1-intl
37260 all-stage2-gcc: maybe-all-stage2-intl
37261 all-stage3-gcc: maybe-all-stage3-intl
37262 all-stage4-gcc: maybe-all-stage4-intl
37263 all-stageprofile-gcc: maybe-all-stageprofile-intl
37264 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
37265 all-gcc: maybe-all-build-texinfo
37267 all-stage1-gcc: maybe-all-build-texinfo
37268 all-stage2-gcc: maybe-all-build-texinfo
37269 all-stage3-gcc: maybe-all-build-texinfo
37270 all-stage4-gcc: maybe-all-build-texinfo
37271 all-stageprofile-gcc: maybe-all-build-texinfo
37272 all-stagefeedback-gcc: maybe-all-build-texinfo
37273 all-prebootstrap: maybe-all-build-texinfo
37274 all-gcc: maybe-all-build-bison
37276 all-stage1-gcc: maybe-all-build-bison
37277 all-stage2-gcc: maybe-all-build-bison
37278 all-stage3-gcc: maybe-all-build-bison
37279 all-stage4-gcc: maybe-all-build-bison
37280 all-stageprofile-gcc: maybe-all-build-bison
37281 all-stagefeedback-gcc: maybe-all-build-bison
37282 all-prebootstrap: maybe-all-build-bison
37283 all-gcc: maybe-all-build-byacc
37285 all-stage1-gcc: maybe-all-build-byacc
37286 all-stage2-gcc: maybe-all-build-byacc
37287 all-stage3-gcc: maybe-all-build-byacc
37288 all-stage4-gcc: maybe-all-build-byacc
37289 all-stageprofile-gcc: maybe-all-build-byacc
37290 all-stagefeedback-gcc: maybe-all-build-byacc
37291 all-prebootstrap: maybe-all-build-byacc
37292 all-gcc: maybe-all-build-flex
37294 all-stage1-gcc: maybe-all-build-flex
37295 all-stage2-gcc: maybe-all-build-flex
37296 all-stage3-gcc: maybe-all-build-flex
37297 all-stage4-gcc: maybe-all-build-flex
37298 all-stageprofile-gcc: maybe-all-build-flex
37299 all-stagefeedback-gcc: maybe-all-build-flex
37300 all-prebootstrap: maybe-all-build-flex
37301 all-gcc: maybe-all-build-libiberty
37303 all-stage1-gcc: maybe-all-build-libiberty
37304 all-stage2-gcc: maybe-all-build-libiberty
37305 all-stage3-gcc: maybe-all-build-libiberty
37306 all-stage4-gcc: maybe-all-build-libiberty
37307 all-stageprofile-gcc: maybe-all-build-libiberty
37308 all-stagefeedback-gcc: maybe-all-build-libiberty
37309 all-prebootstrap: maybe-all-build-libiberty
37310 all-gcc: maybe-all-build-fixincludes
37312 all-stage1-gcc: maybe-all-build-fixincludes
37313 all-stage2-gcc: maybe-all-build-fixincludes
37314 all-stage3-gcc: maybe-all-build-fixincludes
37315 all-stage4-gcc: maybe-all-build-fixincludes
37316 all-stageprofile-gcc: maybe-all-build-fixincludes
37317 all-stagefeedback-gcc: maybe-all-build-fixincludes
37318 all-prebootstrap: maybe-all-build-fixincludes
37319 all-gcc: maybe-all-zlib
37321 all-stage1-gcc: maybe-all-stage1-zlib
37322 all-stage2-gcc: maybe-all-stage2-zlib
37323 all-stage3-gcc: maybe-all-stage3-zlib
37324 all-stage4-gcc: maybe-all-stage4-zlib
37325 all-stageprofile-gcc: maybe-all-stageprofile-zlib
37326 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
37327 all-gcc: all-libcpp
37329 all-stage1-gcc: all-stage1-libcpp
37330 all-stage2-gcc: all-stage2-libcpp
37331 all-stage3-gcc: all-stage3-libcpp
37332 all-stage4-gcc: all-stage4-libcpp
37333 all-stageprofile-gcc: all-stageprofile-libcpp
37334 all-stagefeedback-gcc: all-stagefeedback-libcpp
37335 all-gcc: all-libdecnumber
37337 all-stage1-gcc: all-stage1-libdecnumber
37338 all-stage2-gcc: all-stage2-libdecnumber
37339 all-stage3-gcc: all-stage3-libdecnumber
37340 all-stage4-gcc: all-stage4-libdecnumber
37341 all-stageprofile-gcc: all-stageprofile-libdecnumber
37342 all-stagefeedback-gcc: all-stagefeedback-libdecnumber
37343 all-gcc: maybe-all-libiberty
37345 all-stage1-gcc: maybe-all-stage1-libiberty
37346 all-stage2-gcc: maybe-all-stage2-libiberty
37347 all-stage3-gcc: maybe-all-stage3-libiberty
37348 all-stage4-gcc: maybe-all-stage4-libiberty
37349 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
37350 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
37351 all-gcc: maybe-all-fixincludes
37352 install-gcc: maybe-install-fixincludes
37353 configure-libcpp: configure-libiberty
37355 configure-stage1-libcpp: configure-stage1-libiberty
37356 configure-stage2-libcpp: configure-stage2-libiberty
37357 configure-stage3-libcpp: configure-stage3-libiberty
37358 configure-stage4-libcpp: configure-stage4-libiberty
37359 configure-stageprofile-libcpp: configure-stageprofile-libiberty
37360 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
37361 configure-libcpp: maybe-configure-intl
37363 configure-stage1-libcpp: maybe-configure-stage1-intl
37364 configure-stage2-libcpp: maybe-configure-stage2-intl
37365 configure-stage3-libcpp: maybe-configure-stage3-intl
37366 configure-stage4-libcpp: maybe-configure-stage4-intl
37367 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
37368 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
37369 all-libcpp: all-libiberty
37371 all-stage1-libcpp: all-stage1-libiberty
37372 all-stage2-libcpp: all-stage2-libiberty
37373 all-stage3-libcpp: all-stage3-libiberty
37374 all-stage4-libcpp: all-stage4-libiberty
37375 all-stageprofile-libcpp: all-stageprofile-libiberty
37376 all-stagefeedback-libcpp: all-stagefeedback-libiberty
37377 all-libcpp: maybe-all-intl
37379 all-stage1-libcpp: maybe-all-stage1-intl
37380 all-stage2-libcpp: maybe-all-stage2-intl
37381 all-stage3-libcpp: maybe-all-stage3-intl
37382 all-stage4-libcpp: maybe-all-stage4-intl
37383 all-stageprofile-libcpp: maybe-all-stageprofile-intl
37384 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
37385 all-fixincludes: maybe-all-libiberty
37386 all-gnattools: maybe-all-target-libada
37387 configure-gdb: maybe-configure-sim
37388 all-gdb: maybe-all-libiberty
37389 all-gdb: maybe-all-opcodes
37390 all-gdb: maybe-all-bfd
37391 all-gdb: maybe-all-readline
37392 all-gdb: maybe-all-build-bison
37393 all-gdb: maybe-all-build-byacc
37394 all-gdb: maybe-all-sim
37395 configure-libgui: maybe-configure-tcl
37396 configure-libgui: maybe-configure-tk
37397 all-libgui: maybe-all-tcl
37398 all-libgui: maybe-all-tk
37399 all-libgui: maybe-all-itcl
37400 configure-bfd: configure-libiberty
37402 configure-stage1-bfd: configure-stage1-libiberty
37403 configure-stage2-bfd: configure-stage2-libiberty
37404 configure-stage3-bfd: configure-stage3-libiberty
37405 configure-stage4-bfd: configure-stage4-libiberty
37406 configure-stageprofile-bfd: configure-stageprofile-libiberty
37407 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
37408 all-bfd: maybe-all-libiberty
37410 all-stage1-bfd: maybe-all-stage1-libiberty
37411 all-stage2-bfd: maybe-all-stage2-libiberty
37412 all-stage3-bfd: maybe-all-stage3-libiberty
37413 all-stage4-bfd: maybe-all-stage4-libiberty
37414 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
37415 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
37416 all-bfd: maybe-all-intl
37418 all-stage1-bfd: maybe-all-stage1-intl
37419 all-stage2-bfd: maybe-all-stage2-intl
37420 all-stage3-bfd: maybe-all-stage3-intl
37421 all-stage4-bfd: maybe-all-stage4-intl
37422 all-stageprofile-bfd: maybe-all-stageprofile-intl
37423 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
37424 all-binutils: maybe-all-libiberty
37426 all-stage1-binutils: maybe-all-stage1-libiberty
37427 all-stage2-binutils: maybe-all-stage2-libiberty
37428 all-stage3-binutils: maybe-all-stage3-libiberty
37429 all-stage4-binutils: maybe-all-stage4-libiberty
37430 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
37431 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
37432 all-binutils: maybe-all-opcodes
37434 all-stage1-binutils: maybe-all-stage1-opcodes
37435 all-stage2-binutils: maybe-all-stage2-opcodes
37436 all-stage3-binutils: maybe-all-stage3-opcodes
37437 all-stage4-binutils: maybe-all-stage4-opcodes
37438 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
37439 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
37440 all-binutils: maybe-all-bfd
37442 all-stage1-binutils: maybe-all-stage1-bfd
37443 all-stage2-binutils: maybe-all-stage2-bfd
37444 all-stage3-binutils: maybe-all-stage3-bfd
37445 all-stage4-binutils: maybe-all-stage4-bfd
37446 all-stageprofile-binutils: maybe-all-stageprofile-bfd
37447 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
37448 all-binutils: maybe-all-build-flex
37450 all-stage1-binutils: maybe-all-build-flex
37451 all-stage2-binutils: maybe-all-build-flex
37452 all-stage3-binutils: maybe-all-build-flex
37453 all-stage4-binutils: maybe-all-build-flex
37454 all-stageprofile-binutils: maybe-all-build-flex
37455 all-stagefeedback-binutils: maybe-all-build-flex
37456 all-prebootstrap: maybe-all-build-flex
37457 all-binutils: maybe-all-build-bison
37459 all-stage1-binutils: maybe-all-build-bison
37460 all-stage2-binutils: maybe-all-build-bison
37461 all-stage3-binutils: maybe-all-build-bison
37462 all-stage4-binutils: maybe-all-build-bison
37463 all-stageprofile-binutils: maybe-all-build-bison
37464 all-stagefeedback-binutils: maybe-all-build-bison
37465 all-prebootstrap: maybe-all-build-bison
37466 all-binutils: maybe-all-build-byacc
37468 all-stage1-binutils: maybe-all-build-byacc
37469 all-stage2-binutils: maybe-all-build-byacc
37470 all-stage3-binutils: maybe-all-build-byacc
37471 all-stage4-binutils: maybe-all-build-byacc
37472 all-stageprofile-binutils: maybe-all-build-byacc
37473 all-stagefeedback-binutils: maybe-all-build-byacc
37474 all-prebootstrap: maybe-all-build-byacc
37475 all-binutils: maybe-all-intl
37477 all-stage1-binutils: maybe-all-stage1-intl
37478 all-stage2-binutils: maybe-all-stage2-intl
37479 all-stage3-binutils: maybe-all-stage3-intl
37480 all-stage4-binutils: maybe-all-stage4-intl
37481 all-stageprofile-binutils: maybe-all-stageprofile-intl
37482 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
37483 install-binutils: maybe-install-opcodes
37484 install-opcodes: maybe-install-bfd
37485 all-gas: maybe-all-libiberty
37487 all-stage1-gas: maybe-all-stage1-libiberty
37488 all-stage2-gas: maybe-all-stage2-libiberty
37489 all-stage3-gas: maybe-all-stage3-libiberty
37490 all-stage4-gas: maybe-all-stage4-libiberty
37491 all-stageprofile-gas: maybe-all-stageprofile-libiberty
37492 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
37493 all-gas: maybe-all-opcodes
37495 all-stage1-gas: maybe-all-stage1-opcodes
37496 all-stage2-gas: maybe-all-stage2-opcodes
37497 all-stage3-gas: maybe-all-stage3-opcodes
37498 all-stage4-gas: maybe-all-stage4-opcodes
37499 all-stageprofile-gas: maybe-all-stageprofile-opcodes
37500 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
37501 all-gas: maybe-all-bfd
37503 all-stage1-gas: maybe-all-stage1-bfd
37504 all-stage2-gas: maybe-all-stage2-bfd
37505 all-stage3-gas: maybe-all-stage3-bfd
37506 all-stage4-gas: maybe-all-stage4-bfd
37507 all-stageprofile-gas: maybe-all-stageprofile-bfd
37508 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
37509 all-gas: maybe-all-intl
37511 all-stage1-gas: maybe-all-stage1-intl
37512 all-stage2-gas: maybe-all-stage2-intl
37513 all-stage3-gas: maybe-all-stage3-intl
37514 all-stage4-gas: maybe-all-stage4-intl
37515 all-stageprofile-gas: maybe-all-stageprofile-intl
37516 all-stagefeedback-gas: maybe-all-stagefeedback-intl
37517 all-gprof: maybe-all-libiberty
37518 all-gprof: maybe-all-bfd
37519 all-gprof: maybe-all-opcodes
37520 all-gprof: maybe-all-intl
37521 all-ld: maybe-all-libiberty
37523 all-stage1-ld: maybe-all-stage1-libiberty
37524 all-stage2-ld: maybe-all-stage2-libiberty
37525 all-stage3-ld: maybe-all-stage3-libiberty
37526 all-stage4-ld: maybe-all-stage4-libiberty
37527 all-stageprofile-ld: maybe-all-stageprofile-libiberty
37528 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
37529 all-ld: maybe-all-bfd
37531 all-stage1-ld: maybe-all-stage1-bfd
37532 all-stage2-ld: maybe-all-stage2-bfd
37533 all-stage3-ld: maybe-all-stage3-bfd
37534 all-stage4-ld: maybe-all-stage4-bfd
37535 all-stageprofile-ld: maybe-all-stageprofile-bfd
37536 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
37537 all-ld: maybe-all-opcodes
37539 all-stage1-ld: maybe-all-stage1-opcodes
37540 all-stage2-ld: maybe-all-stage2-opcodes
37541 all-stage3-ld: maybe-all-stage3-opcodes
37542 all-stage4-ld: maybe-all-stage4-opcodes
37543 all-stageprofile-ld: maybe-all-stageprofile-opcodes
37544 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
37545 all-ld: maybe-all-build-bison
37547 all-stage1-ld: maybe-all-build-bison
37548 all-stage2-ld: maybe-all-build-bison
37549 all-stage3-ld: maybe-all-build-bison
37550 all-stage4-ld: maybe-all-build-bison
37551 all-stageprofile-ld: maybe-all-build-bison
37552 all-stagefeedback-ld: maybe-all-build-bison
37553 all-prebootstrap: maybe-all-build-bison
37554 all-ld: maybe-all-build-byacc
37556 all-stage1-ld: maybe-all-build-byacc
37557 all-stage2-ld: maybe-all-build-byacc
37558 all-stage3-ld: maybe-all-build-byacc
37559 all-stage4-ld: maybe-all-build-byacc
37560 all-stageprofile-ld: maybe-all-build-byacc
37561 all-stagefeedback-ld: maybe-all-build-byacc
37562 all-prebootstrap: maybe-all-build-byacc
37563 all-ld: maybe-all-build-flex
37565 all-stage1-ld: maybe-all-build-flex
37566 all-stage2-ld: maybe-all-build-flex
37567 all-stage3-ld: maybe-all-build-flex
37568 all-stage4-ld: maybe-all-build-flex
37569 all-stageprofile-ld: maybe-all-build-flex
37570 all-stagefeedback-ld: maybe-all-build-flex
37571 all-prebootstrap: maybe-all-build-flex
37572 all-ld: maybe-all-intl
37574 all-stage1-ld: maybe-all-stage1-intl
37575 all-stage2-ld: maybe-all-stage2-intl
37576 all-stage3-ld: maybe-all-stage3-intl
37577 all-stage4-ld: maybe-all-stage4-intl
37578 all-stageprofile-ld: maybe-all-stageprofile-intl
37579 all-stagefeedback-ld: maybe-all-stagefeedback-intl
37580 all-opcodes: maybe-all-bfd
37582 all-stage1-opcodes: maybe-all-stage1-bfd
37583 all-stage2-opcodes: maybe-all-stage2-bfd
37584 all-stage3-opcodes: maybe-all-stage3-bfd
37585 all-stage4-opcodes: maybe-all-stage4-bfd
37586 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
37587 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
37588 all-opcodes: maybe-all-libiberty
37590 all-stage1-opcodes: maybe-all-stage1-libiberty
37591 all-stage2-opcodes: maybe-all-stage2-libiberty
37592 all-stage3-opcodes: maybe-all-stage3-libiberty
37593 all-stage4-opcodes: maybe-all-stage4-libiberty
37594 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
37595 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
37596 all-dejagnu: maybe-all-tcl
37597 all-dejagnu: maybe-all-expect
37598 all-dejagnu: maybe-all-tk
37599 configure-expect: maybe-configure-tcl
37600 configure-expect: maybe-configure-tk
37601 all-expect: maybe-all-tcl
37602 all-expect: maybe-all-tk
37603 configure-itcl: maybe-configure-tcl
37604 configure-itcl: maybe-configure-tk
37605 all-itcl: maybe-all-tcl
37606 all-itcl: maybe-all-tk
37607 install-itcl: maybe-install-tcl
37608 configure-tk: maybe-configure-tcl
37609 all-tk: maybe-all-tcl
37610 all-sid: maybe-all-libiberty
37611 all-sid: maybe-all-bfd
37612 all-sid: maybe-all-opcodes
37613 all-sid: maybe-all-tcl
37614 all-sid: maybe-all-tk
37615 install-sid: maybe-install-tcl
37616 install-sid: maybe-install-tk
37617 all-sim: maybe-all-libiberty
37618 all-sim: maybe-all-bfd
37619 all-sim: maybe-all-opcodes
37620 all-sim: maybe-all-readline
37621 all-sim: maybe-configure-gdb
37622 all-fastjar: maybe-all-zlib
37623 all-fastjar: maybe-all-build-texinfo
37624 all-fastjar: maybe-all-libiberty
37625 all-autoconf: maybe-all-m4
37626 all-autoconf: maybe-all-build-texinfo
37627 all-automake: maybe-all-m4
37628 all-automake: maybe-all-build-texinfo
37629 all-automake: maybe-all-autoconf
37630 all-bison: maybe-all-intl
37631 all-bison: maybe-all-build-texinfo
37632 all-diff: maybe-all-intl
37633 all-diff: maybe-all-build-texinfo
37634 all-fileutils: maybe-all-intl
37635 all-fileutils: maybe-all-build-texinfo
37636 all-flex: maybe-all-build-bison
37637 all-flex: maybe-all-build-byacc
37638 all-flex: maybe-all-intl
37639 all-flex: maybe-all-m4
37640 all-flex: maybe-all-build-texinfo
37641 all-gzip: maybe-all-intl
37642 all-gzip: maybe-all-zlib
37643 all-gzip: maybe-all-build-texinfo
37644 all-hello: maybe-all-intl
37645 all-hello: maybe-all-build-texinfo
37646 all-m4: maybe-all-intl
37647 all-m4: maybe-all-build-texinfo
37648 all-make: maybe-all-intl
37649 all-make: maybe-all-build-texinfo
37650 all-patch: maybe-all-build-texinfo
37651 all-make: maybe-all-build-texinfo
37652 all-prms: maybe-all-libiberty
37653 all-recode: maybe-all-build-texinfo
37654 all-sed: maybe-all-build-texinfo
37655 all-send-pr: maybe-all-prms
37656 all-tar: maybe-all-build-texinfo
37657 all-uudecode: maybe-all-build-texinfo
37658 configure-target-boehm-gc: maybe-configure-target-qthreads
37659 configure-target-fastjar: maybe-configure-target-zlib
37660 all-target-fastjar: maybe-all-target-zlib
37661 all-target-fastjar: maybe-all-target-libiberty
37662 configure-target-libjava: maybe-configure-target-zlib
37663 configure-target-libjava: maybe-configure-target-boehm-gc
37664 configure-target-libjava: maybe-configure-target-qthreads
37665 configure-target-libjava: maybe-configure-target-libffi
37666 all-target-libjava: maybe-all-fastjar
37667 all-target-libjava: maybe-all-target-zlib
37668 all-target-libjava: maybe-all-target-boehm-gc
37669 all-target-libjava: maybe-all-target-qthreads
37670 all-target-libjava: maybe-all-target-libffi
37671 all-target-libobjc: maybe-all-target-libiberty
37672 all-target-libstdc++-v3: maybe-all-target-libiberty
37673 all-target-libgloss: maybe-configure-target-newlib
37674 all-target-winsup: maybe-all-target-libiberty
37675 all-target-winsup: maybe-all-target-libtermcap
37678 # Non-toplevel bootstrap rules must depend on several packages, to be built
37679 # before gcc. Another wart that will go away, hopefully soon.
37680 @if gcc-no-bootstrap
37682 all-prebootstrap: maybe-all-bfd
37683 all-prebootstrap: maybe-all-opcodes
37684 all-prebootstrap: maybe-all-binutils
37685 all-prebootstrap: maybe-all-gas
37686 all-prebootstrap: maybe-all-intl
37687 all-prebootstrap: maybe-all-ld
37688 all-prebootstrap: maybe-all-libcpp
37689 all-prebootstrap: maybe-all-libdecnumber
37690 all-prebootstrap: maybe-all-libiberty
37691 all-prebootstrap: maybe-all-zlib
37692 @endif gcc-no-bootstrap
37694 CONFIGURE_GDB_TK = @CONFIGURE_GDB_TK@
37695 GDB_TK = @GDB_TK@
37696 INSTALL_GDB_TK = @INSTALL_GDB_TK@
37697 configure-gdb: $(CONFIGURE_GDB_TK)
37698 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
37699 install-gdb: $(INSTALL_GDB_TK)
37701 # Serialization dependencies. Host configures don't work well in parallel to
37702 # each other, due to contention over config.cache. Target configures and
37703 # build configures are similar.
37704 @serialization_dependencies@
37706 # --------------------------------
37707 # Regenerating top level configury
37708 # --------------------------------
37710 # Multilib.out tells target dirs what multilibs they should build.
37711 # There is really only one copy. We use the 'timestamp' method to
37712 # work around various timestamp bugs on some systems.
37713 # We use move-if-change so that it's only considered updated when it
37714 # actually changes, because it has to depend on a phony target.
37715 multilib.out: maybe-all-gcc
37716 @r=`${PWD_COMMAND}`; export r; \
37717 echo "Checking multilib configuration..."; \
37718 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
37719 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
37721 # Rebuilding Makefile.in, using autogen.
37722 AUTOGEN = autogen
37723 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
37724 cd $(srcdir) && $(AUTOGEN) Makefile.def
37726 # Rebuilding Makefile.
37727 Makefile: $(srcdir)/Makefile.in config.status
37728 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
37730 config.status: configure
37731 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
37733 # Rebuilding configure.
37734 AUTOCONF = autoconf
37735 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
37736 cd $(srcdir) && $(AUTOCONF)
37738 # ------------------------------
37739 # Special directives to GNU Make
37740 # ------------------------------
37742 # Don't pass command-line variables to submakes.
37743 .NOEXPORT:
37744 MAKEOVERRIDES=
37746 # end of Makefile.in