* config/m32c/m32c.c (m32c_pushm_popm): Don't mark epilogue insns
[official-gcc.git] / Makefile.in
blob0de1a3c7a234b91a133a21b45bf77ee02c60b2d8
2 # Makefile.in is generated from Makefile.tpl by 'autogen Makefile.def'.
4 # Makefile for directory with subdirs to build.
5 # Copyright (C) 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998,
6 # 1999, 2000, 2001, 2002, 2003, 2004 Free Software Foundation
8 # This file is free software; you can redistribute it and/or modify
9 # it under the terms of the GNU General Public License as published by
10 # the Free Software Foundation; either version 2 of the License, or
11 # (at your option) any later version.
13 # This program is distributed in the hope that it will be useful,
14 # but WITHOUT ANY WARRANTY; without even the implied warranty of
15 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 # GNU General Public License for more details.
18 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23 # -------------------------------
24 # Standard Autoconf-set variables
25 # -------------------------------
26 VPATH=@srcdir@
28 build_alias=@build_alias@
29 build=@build@
30 host_alias=@host_alias@
31 host=@host@
32 target_alias=@target_alias@
33 target=@target@
35 program_transform_name = @program_transform_name@
37 prefix = @prefix@
38 exec_prefix = @exec_prefix@
40 srcdir = @srcdir@
42 bindir = @bindir@
43 sbindir = @sbindir@
44 libexecdir = @libexecdir@
45 datadir = @datadir@
46 sysconfdir = @sysconfdir@
47 sharedstatedir = @sharedstatedir@
48 localstatedir = @localstatedir@
49 libdir = @libdir@
50 includedir = @includedir@
51 oldincludedir = @oldincludedir@
52 infodir = @infodir@
53 mandir = @mandir@
54 man1dir = $(mandir)/man1
55 man2dir = $(mandir)/man2
56 man3dir = $(mandir)/man3
57 man4dir = $(mandir)/man4
58 man5dir = $(mandir)/man5
59 man6dir = $(mandir)/man6
60 man7dir = $(mandir)/man7
61 man8dir = $(mandir)/man8
62 man9dir = $(mandir)/man9
64 INSTALL = @INSTALL@
65 INSTALL_PROGRAM = @INSTALL_PROGRAM@
66 INSTALL_SCRIPT = @INSTALL_SCRIPT@
67 INSTALL_DATA = @INSTALL_DATA@
68 LN = @LN@
69 LN_S = @LN_S@
71 # -------------------------------------------------
72 # Miscellaneous non-standard autoconf-set variables
73 # -------------------------------------------------
75 # The gcc driver likes to know the arguments it was configured with.
76 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
78 tooldir = @tooldir@
79 build_tooldir = @build_tooldir@
81 GDB_NLM_DEPS =
83 # This is the name of the environment variable used for the path to
84 # the libraries.
85 RPATH_ENVVAR = @RPATH_ENVVAR@
87 # This is the list of directories to be built for the build system.
88 BUILD_CONFIGDIRS = libiberty
89 # Build programs are put under this directory.
90 BUILD_SUBDIR = @build_subdir@
91 # This is set by the configure script to the arguments to use when configuring
92 # directories built for the build system.
93 BUILD_CONFIGARGS = @build_configargs@ --with-build-subdir="$(BUILD_SUBDIR)"
95 # This is the list of variables to export in the environment when
96 # configuring any subdirectory. It must also be exported whenever
97 # recursing into a build directory in case that directory's Makefile
98 # re-runs configure.
99 BASE_EXPORTS = \
100 FLEX="$(FLEX)"; export FLEX; \
101 LEX="$(LEX)"; export LEX; \
102 BISON="$(BISON)"; export BISON; \
103 YACC="$(YACC)"; export YACC; \
104 M4="$(M4)"; export M4; \
105 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
107 # This is the list of variables to export in the environment when
108 # configuring subdirectories for the build system.
109 BUILD_EXPORTS = \
110 $(BASE_EXPORTS) \
111 AR="$(AR_FOR_BUILD)"; export AR; \
112 AS="$(AS_FOR_BUILD)"; export AS; \
113 CC="$(CC_FOR_BUILD)"; export CC; \
114 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
115 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
116 CXX="$(CXX_FOR_BUILD)"; export CXX; \
117 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
118 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
119 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
120 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
121 LD="$(LD_FOR_BUILD)"; export LD; \
122 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
123 NM="$(NM_FOR_BUILD)"; export NM; \
124 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
125 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
127 # This is the list of directories to built for the host system.
128 SUBDIRS = @configdirs@
129 # This is set by the configure script to the arguments to use when configuring
130 # directories built for the host system.
131 HOST_CONFIGARGS = @host_configargs@
132 # Host programs are put under this directory, which is . except if building
133 # with srcdir=..
134 HOST_SUBDIR = @host_subdir@
135 # This is the list of variables to export in the environment when
136 # configuring subdirectories for the host system.
137 HOST_EXPORTS = \
138 $(BASE_EXPORTS) \
139 CC="$(CC)"; export CC; \
140 CFLAGS="$(CFLAGS)"; export CFLAGS; \
141 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
142 CXX="$(CXX)"; export CXX; \
143 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
144 AR="$(AR)"; export AR; \
145 AS="$(AS)"; export AS; \
146 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
147 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
148 LD="$(LD)"; export LD; \
149 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
150 NM="$(NM)"; export NM; \
151 RANLIB="$(RANLIB)"; export RANLIB; \
152 WINDRES="$(WINDRES)"; export WINDRES; \
153 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
154 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
155 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
156 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
157 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
158 @if gcc-bootstrap
159 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
160 @endif gcc-bootstrap
161 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
163 # Similar, for later GCC stages.
164 POSTSTAGE1_HOST_EXPORTS = \
165 $(HOST_EXPORTS) \
166 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
167 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
168 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
169 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
170 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
171 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
173 # This is set by the configure script to the list of directories which
174 # should be built using the target tools.
175 TARGET_CONFIGDIRS = @target_configdirs@
176 # Target libraries are put under this directory:
177 TARGET_SUBDIR = @target_subdir@
178 # This is set by the configure script to the arguments to use when configuring
179 # directories built for the target.
180 TARGET_CONFIGARGS = @target_configargs@ --with-target-subdir="$(TARGET_SUBDIR)"
181 # This is the list of variables to export in the environment when
182 # configuring subdirectories for the host system.
183 BASE_TARGET_EXPORTS = \
184 $(BASE_EXPORTS) \
185 AR="$(AR_FOR_TARGET)"; export AR; \
186 AS="$(AS_FOR_TARGET)"; export AS; \
187 CC="$(CC_FOR_TARGET)"; export CC; \
188 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
189 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
190 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
191 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
192 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
193 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
194 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
195 LD="$(LD_FOR_TARGET)"; export LD; \
196 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
197 LIPO="$(LIPO_FOR_TARGET)"; export LIPO; \
198 NM="$(NM_FOR_TARGET)"; export NM; \
199 OBJDUMP="$(OBJDUMP_FOR_TARGET)"; export OBJDUMP; \
200 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
201 STRIP="$(STRIP_FOR_TARGET)"; export STRIP; \
202 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
203 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH)$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
205 RAW_CXX_TARGET_EXPORTS = \
206 $(BASE_TARGET_EXPORTS) \
207 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
208 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
210 NORMAL_TARGET_EXPORTS = \
211 $(BASE_TARGET_EXPORTS) \
212 CXX="$(CXX_FOR_TARGET)"; export CXX;
214 # Where to find GMP
215 HOST_GMPLIBS = @gmplibs@
216 HOST_GMPINC = @gmpinc@
218 # ----------------------------------------------
219 # Programs producing files for the BUILD machine
220 # ----------------------------------------------
222 SHELL = @config_shell@
224 # pwd command to use. Allow user to override default by setting PWDCMD in
225 # the environment to account for automounters. The make variable must not
226 # be called PWDCMD, otherwise the value set here is passed to make
227 # subprocesses and overrides the setting from the user's environment.
228 # Don't use PWD since it is a common shell environment variable and we
229 # don't want to corrupt it.
230 PWD_COMMAND = $${PWDCMD-pwd}
232 # compilers to use to create programs which must be run in the build
233 # environment.
234 CC_FOR_BUILD = @CC_FOR_BUILD@
235 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
237 CXX_FOR_BUILD = $(CXX)
239 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
240 # here so that they can be overridden by Makefile fragments.
241 BUILD_PREFIX = @BUILD_PREFIX@
242 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
244 # Flags to pass to stage2 and later makes. They are defined
245 # here so that they can be overridden by Makefile fragments.
246 BOOT_CFLAGS= -g -O2
248 CONFIGURED_BISON = @CONFIGURED_BISON@
249 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
250 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
251 else \
252 echo ${CONFIGURED_BISON} ; \
255 CONFIGURED_YACC = @CONFIGURED_YACC@
256 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
257 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
258 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
259 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
260 else \
261 echo ${CONFIGURED_YACC} ; \
264 CONFIGURED_FLEX = @CONFIGURED_FLEX@
265 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
266 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
267 else echo ${CONFIGURED_FLEX} ; fi`
269 CONFIGURED_LEX = @CONFIGURED_LEX@
270 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
271 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
272 else echo ${CONFIGURED_LEX} ; fi`
274 CONFIGURED_M4 = @CONFIGURED_M4@
275 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
276 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
277 else echo ${CONFIGURED_M4} ; fi`
279 # For an installed makeinfo, we require it to be from texinfo 4.2 or
280 # higher, else we use the "missing" dummy. We also pass the subdirectory
281 # makeinfo even if only the Makefile is there, because Texinfo builds its
282 # manual when made, and it requires its own version.
283 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
284 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
285 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
286 else if (${CONFIGURED_MAKEINFO} --version \
287 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
288 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
290 # This just becomes part of the MAKEINFO definition passed down to
291 # sub-makes. It lets flags be given on the command line while still
292 # using the makeinfo from the object tree.
293 # (Default to avoid splitting info files by setting the threshold high.)
294 MAKEINFOFLAGS = --split-size=5000000
296 # FIXME: expect may become a build tool?
297 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
298 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
299 else echo expect ; fi`
301 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
302 then echo $$s/dejagnu/runtest ; \
303 else echo runtest ; fi`
305 # ---------------------------------------------
306 # Programs producing files for the HOST machine
307 # ---------------------------------------------
309 AS = @AS@
311 AR = @AR@
312 AR_FLAGS = rc
314 CC = @CC@
315 CFLAGS = @CFLAGS@
316 LIBCFLAGS = $(CFLAGS)
318 CXX = @CXX@
319 CXXFLAGS = @CXXFLAGS@
320 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
322 DLLTOOL = @DLLTOOL@
324 NM = @NM@
326 LD = @LD@
327 LDFLAGS =
329 RANLIB = @RANLIB@
331 WINDRES = @WINDRES@
333 PICFLAG =
335 # -----------------------------------------------
336 # Programs producing files for the TARGET machine
337 # -----------------------------------------------
339 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
341 AR_FOR_TARGET=@AR_FOR_TARGET@
342 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
343 USUAL_AR_FOR_TARGET = ` \
344 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
345 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
346 else \
347 if [ '$(host)' = '$(target)' ] ; then \
348 echo $(AR); \
349 else \
350 echo $(CONFIGURED_AR_FOR_TARGET) ; \
351 fi; \
354 AS_FOR_TARGET=@AS_FOR_TARGET@
355 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
356 USUAL_AS_FOR_TARGET = ` \
357 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
358 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
359 elif [ -f $$r/$(HOST_SUBDIR)/gcc/as ]; then \
360 echo $$r/$(HOST_SUBDIR)/gcc/as ; \
361 else \
362 if [ '$(host)' = '$(target)' ] ; then \
363 echo $(AS); \
364 else \
365 echo $(CONFIGURED_AS_FOR_TARGET) ; \
366 fi; \
369 CC_FOR_TARGET=$(STAGE_CC_WRAPPER) @CC_FOR_TARGET@ $(FLAGS_FOR_TARGET)
370 CONFIGURED_CC_FOR_TARGET=@CONFIGURED_CC_FOR_TARGET@
371 USUAL_CC_FOR_TARGET = ` \
372 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
373 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ ; \
374 else \
375 if [ '$(host)' = '$(target)' ] ; then \
376 echo $(CC); \
377 else \
378 echo $(CONFIGURED_CC_FOR_TARGET) ; \
379 fi; \
382 # During gcc bootstrap, if we use some random cc for stage1 then
383 # CFLAGS will be just -g. We want to ensure that TARGET libraries
384 # (which we know are built with gcc) are built with optimizations so
385 # prepend -O2 when setting CFLAGS_FOR_TARGET.
386 CFLAGS_FOR_TARGET = -O2 $(CFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
387 SYSROOT_CFLAGS_FOR_TARGET = @SYSROOT_CFLAGS_FOR_TARGET@
389 # If GCC_FOR_TARGET is not overriden on the command line, then this
390 # variable is passed down to the gcc Makefile, where it is used to
391 # build libgcc2.a. We define it here so that it can itself be
392 # overridden on the command line.
393 GCC_FOR_TARGET=@GCC_FOR_TARGET@
394 CONFIGURED_GCC_FOR_TARGET=@CONFIGURED_GCC_FOR_TARGET@
395 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
396 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
397 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
399 CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
400 CONFIGURED_CXX_FOR_TARGET=@CONFIGURED_CXX_FOR_TARGET@
401 USUAL_CXX_FOR_TARGET = ` \
402 if [ -f $$r/$(HOST_SUBDIR)/gcc/g++ ] ; then \
403 (echo $$r/$(HOST_SUBDIR)/gcc/g++ -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++; \
404 test ! -f $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags || $(SHELL) $$r/$(TARGET_SUBDIR)/libstdc++-v3/scripts/testsuite_flags --build-includes; \
405 echo -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs) | tr '\015\012' ' '; \
406 else \
407 if [ '$(host)' = '$(target)' ] ; then \
408 echo $(CXX); \
409 else \
410 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
411 fi; \
414 RAW_CXX_FOR_TARGET=$(STAGE_CC_WRAPPER) @RAW_CXX_FOR_TARGET@ $(FLAGS_FOR_TARGET)
415 USUAL_RAW_CXX_FOR_TARGET = ` \
416 if [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ] ; then \
417 echo $$r/$(HOST_SUBDIR)/gcc/xgcc -shared-libgcc -B$$r/$(HOST_SUBDIR)/gcc -nostdinc++ -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs; \
418 else \
419 if [ '$(host)' = '$(target)' ] ; then \
420 echo $(CXX); \
421 else \
422 echo $(CONFIGURED_CXX_FOR_TARGET) ; \
423 fi; \
426 CXXFLAGS_FOR_TARGET = $(CXXFLAGS) $(SYSROOT_CFLAGS_FOR_TARGET)
427 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
429 GCJ_FOR_TARGET=$(STAGE_CC_WRAPPER) @GCJ_FOR_TARGET@ $(FLAGS_FOR_TARGET)
430 CONFIGURED_GCJ_FOR_TARGET=@CONFIGURED_GCJ_FOR_TARGET@
431 USUAL_GCJ_FOR_TARGET = ` \
432 if [ -f $$r/$(HOST_SUBDIR)/gcc/gcj ] ; then \
433 echo $$r/$(HOST_SUBDIR)/gcc/gcj -B$$r/$(HOST_SUBDIR)/gcc ; \
434 else \
435 if [ '$(host)' = '$(target)' ] ; then \
436 echo $(GCJ); \
437 else \
438 echo $(CONFIGURED_GCJ_FOR_TARGET) ; \
439 fi; \
442 GFORTRAN_FOR_TARGET=$(STAGE_CC_WRAPPER) @GFORTRAN_FOR_TARGET@ $(FLAGS_FOR_TARGET)
443 CONFIGURED_GFORTRAN_FOR_TARGET=@CONFIGURED_GFORTRAN_FOR_TARGET@
444 USUAL_GFORTRAN_FOR_TARGET = ` \
445 if [ -f $$r/$(HOST_SUBDIR)/gcc/gfortran ] ; then \
446 echo $$r/$(HOST_SUBDIR)/gcc/gfortran -B$$r/$(HOST_SUBDIR)/gcc ; \
447 else \
448 if [ '$(host)' = '$(target)' ] ; then \
449 echo $(GFORTRAN); \
450 else \
451 echo $(CONFIGURED_GFORTRAN_FOR_TARGET) ; \
452 fi; \
456 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
457 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
458 USUAL_DLLTOOL_FOR_TARGET = ` \
459 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
460 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
461 else \
462 if [ '$(host)' = '$(target)' ] ; then \
463 echo $(DLLTOOL); \
464 else \
465 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
466 fi; \
469 LD_FOR_TARGET=@LD_FOR_TARGET@
470 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
471 USUAL_LD_FOR_TARGET = ` \
472 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
473 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
474 elif [ -f $$r/$(HOST_SUBDIR)/gcc/collect-ld ]; then \
475 echo $$r/$(HOST_SUBDIR)/gcc/collect-ld ; \
476 else \
477 if [ '$(host)' = '$(target)' ] ; then \
478 echo $(LD); \
479 else \
480 echo $(CONFIGURED_LD_FOR_TARGET) ; \
481 fi; \
484 LDFLAGS_FOR_TARGET =
486 LIPO_FOR_TARGET=@LIPO_FOR_TARGET@
487 CONFIGURED_LIPO_FOR_TARGET=@CONFIGURED_LIPO_FOR_TARGET@
488 USUAL_LIPO_FOR_TARGET = ` \
489 if [ '$(host)' = '$(target)' ] ; then \
490 if [ x'$(LIPO)' != x ]; then \
491 echo $(LIPO); \
492 else \
493 echo lipo; \
494 fi; \
495 else \
496 echo $(CONFIGURED_LIPO_FOR_TARGET) ; \
499 NM_FOR_TARGET=@NM_FOR_TARGET@
500 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
501 USUAL_NM_FOR_TARGET = ` \
502 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
503 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
504 elif [ -f $$r/$(HOST_SUBDIR)/gcc/nm ]; then \
505 echo $$r/$(HOST_SUBDIR)/gcc/nm ; \
506 else \
507 if [ '$(host)' = '$(target)' ] ; then \
508 echo $(NM); \
509 else \
510 echo $(CONFIGURED_NM_FOR_TARGET) ; \
511 fi; \
514 OBJDUMP_FOR_TARGET=@OBJDUMP_FOR_TARGET@
515 CONFIGURED_OBJDUMP_FOR_TARGET=@CONFIGURED_OBJDUMP_FOR_TARGET@
516 USUAL_OBJDUMP_FOR_TARGET = ` \
517 if [ -f $$r/$(HOST_SUBDIR)/binutils/objdump ] ; then \
518 echo $$r/$(HOST_SUBDIR)/binutils/objdump ; \
519 else \
520 if [ '$(host)' = '$(target)' ] ; then \
521 if [ x'$(OBJDUMP)' != x ]; then \
522 echo $(OBJDUMP); \
523 else \
524 echo objdump; \
525 fi; \
526 else \
527 echo $(CONFIGURED_OBJDUMP_FOR_TARGET) ; \
528 fi; \
531 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
532 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
533 USUAL_RANLIB_FOR_TARGET = ` \
534 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
535 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
536 else \
537 if [ '$(host)' = '$(target)' ] ; then \
538 if [ x'$(RANLIB)' != x ]; then \
539 echo $(RANLIB); \
540 else \
541 echo ranlib; \
542 fi; \
543 else \
544 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
545 fi; \
548 STRIP_FOR_TARGET=@STRIP_FOR_TARGET@
549 CONFIGURED_STRIP_FOR_TARGET=@CONFIGURED_STRIP_FOR_TARGET@
550 USUAL_STRIP_FOR_TARGET = ` \
551 if [ -f $$r/$(HOST_SUBDIR)/binutils/strip ] ; then \
552 echo $$r/$(HOST_SUBDIR)/binutils/strip ; \
553 else \
554 if [ '$(host)' = '$(target)' ] ; then \
555 if [ x'$(STRIP)' != x ]; then \
556 echo $(STRIP); \
557 else \
558 echo strip; \
559 fi; \
560 else \
561 echo $(CONFIGURED_STRIP_FOR_TARGET) ; \
562 fi; \
565 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
566 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
567 USUAL_WINDRES_FOR_TARGET = ` \
568 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
569 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
570 else \
571 if [ '$(host)' = '$(target)' ] ; then \
572 echo $(WINDRES); \
573 else \
574 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
575 fi; \
578 PICFLAG_FOR_TARGET =
580 # ------------------------------------
581 # Miscellaneous targets and flag lists
582 # ------------------------------------
584 # The first rule in the file had better be this one. Don't put any above it.
585 # This lives here to allow makefile fragments to contain dependencies.
586 all:
588 #### host and target specific makefile fragments come in here.
589 @target_makefile_frag@
590 @alphaieee_frag@
591 @ospace_frag@
592 @host_makefile_frag@
595 # This is the list of directories that may be needed in RPATH_ENVVAR
596 # so that prorgams built for the target machine work.
597 TARGET_LIB_PATH = $(TARGET_LIB_PATH_libstdc++-v3)$(TARGET_LIB_PATH_libmudflap)$(TARGET_LIB_PATH_libssp)$(HOST_LIB_PATH_gcc)
599 @if target-libstdc++-v3
600 TARGET_LIB_PATH_libstdc++-v3 = $$r/$(TARGET_SUBDIR)/libstdc++-v3/.libs:
601 @endif target-libstdc++-v3
603 @if target-libmudflap
604 TARGET_LIB_PATH_libmudflap = $$r/$(TARGET_SUBDIR)/libmudflap/.libs:
605 @endif target-libmudflap
607 @if target-libssp
608 TARGET_LIB_PATH_libssp = $$r/$(TARGET_SUBDIR)/libssp/.libs:
609 @endif target-libssp
613 # This is the list of directories that may be needed in RPATH_ENVVAR
614 # so that programs built for the host machine work.
615 HOST_LIB_PATH = $(HOST_LIB_PATH_bfd)$(HOST_LIB_PATH_opcodes)
617 # Define HOST_LIB_PATH_gcc here, for the sake of TARGET_LIB_PATH, ouch
618 @if gcc
619 HOST_LIB_PATH_gcc = $$r/$(HOST_SUBDIR)/gcc:$$r/$(HOST_SUBDIR)/prev-gcc:
620 @endif gcc
623 @if bfd
624 HOST_LIB_PATH_bfd = \
625 $$r/$(HOST_SUBDIR)/bfd/.:$$r/$(HOST_SUBDIR)/prev-bfd/.:
626 @endif bfd
628 @if opcodes
629 HOST_LIB_PATH_opcodes = \
630 $$r/$(HOST_SUBDIR)/opcodes/.:$$r/$(HOST_SUBDIR)/prev-opcodes/.:
631 @endif opcodes
634 # Flags to pass down to all sub-makes.
635 BASE_FLAGS_TO_PASS = \
636 "DESTDIR=$(DESTDIR)" \
637 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
638 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
639 "bindir=$(bindir)" \
640 "datadir=$(datadir)" \
641 "exec_prefix=$(exec_prefix)" \
642 "includedir=$(includedir)" \
643 "infodir=$(infodir)" \
644 "libdir=$(libdir)" \
645 "libexecdir=$(libexecdir)" \
646 "lispdir=$(lispdir)" \
647 "localstatedir=$(localstatedir)" \
648 "mandir=$(mandir)" \
649 "oldincludedir=$(oldincludedir)" \
650 "prefix=$(prefix)" \
651 "sbindir=$(sbindir)" \
652 "sharedstatedir=$(sharedstatedir)" \
653 "sysconfdir=$(sysconfdir)" \
654 "tooldir=$(tooldir)" \
655 "build_tooldir=$(build_tooldir)" \
656 "target_alias=$(target_alias)" \
657 "BISON=$(BISON)" \
658 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
659 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
660 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
661 "EXPECT=$(EXPECT)" \
662 "FLEX=$(FLEX)" \
663 "INSTALL=$(INSTALL)" \
664 "INSTALL_DATA=$(INSTALL_DATA)" \
665 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
666 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
667 "LEX=$(LEX)" \
668 "M4=$(M4)" \
669 "MAKE=$(MAKE)" \
670 "RUNTEST=$(RUNTEST)" \
671 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
672 "SHELL=$(SHELL)" \
673 "YACC=$(YACC)" \
674 "AR_FLAGS=$(AR_FLAGS)" \
675 "CFLAGS=$(CFLAGS)" \
676 "CXXFLAGS=$(CXXFLAGS)" \
677 "LDFLAGS=$(LDFLAGS)" \
678 "LIBCFLAGS=$(LIBCFLAGS)" \
679 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
680 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
681 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
682 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
683 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
684 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
685 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
686 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
687 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
688 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
689 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
690 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
691 "LIPO_FOR_TARGET=$(LIPO_FOR_TARGET)" \
692 "LDFLAGS_FOR_TARGET=$(LDFLAGS_FOR_TARGET)" \
693 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
694 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
695 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
696 "OBJDUMP_FOR_TARGET=$(OBJDUMP_FOR_TARGET)" \
697 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
698 "STRIP_FOR_TARGET=$(STRIP_FOR_TARGET)" \
699 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
700 "CONFIG_SHELL=$(SHELL)" \
701 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
703 # We leave this in just in case, but it is not needed anymore.
704 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS)
706 # Flags to pass down to most sub-makes, in which we're building with
707 # the host environment.
708 EXTRA_HOST_FLAGS = \
709 'AR=$(AR)' \
710 'AS=$(AS)' \
711 'CC=$(CC)' \
712 'CXX=$(CXX)' \
713 'DLLTOOL=$(DLLTOOL)' \
714 'LD=$(LD)' \
715 'NM=$(NM)' \
716 'RANLIB=$(RANLIB)' \
717 'WINDRES=$(WINDRES)'
719 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
721 # Flags that are concerned with the location of the X11 include files
722 # and library files
724 # NOTE: until the top-level is getting the values via autoconf, it only
725 # causes problems to have this top-level Makefile overriding the autoconf-set
726 # values in child directories. Only variables that don't conflict with
727 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
729 X11_FLAGS_TO_PASS = \
730 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
731 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
733 # Flags to pass down to makes which are built with the target environment.
734 # The double $ decreases the length of the command line; the variables
735 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
736 EXTRA_TARGET_FLAGS = \
737 'AR=$$(AR_FOR_TARGET)' \
738 'AS=$$(AS_FOR_TARGET)' \
739 'CC=$$(CC_FOR_TARGET)' \
740 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
741 'CXX=$$(CXX_FOR_TARGET)' \
742 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
743 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
744 'LD=$$(LD_FOR_TARGET)' \
745 'LDFLAGS=$$(LDFLAGS_FOR_TARGET)' \
746 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
747 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
748 'NM=$$(NM_FOR_TARGET)' \
749 'OBJDUMP=$$(OBJDUMP_FOR_TARGET)' \
750 'RANLIB=$$(RANLIB_FOR_TARGET)' \
751 'WINDRES=$$(WINDRES_FOR_TARGET)'
753 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
755 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
756 # unfortunately needs the native compiler and the target ar and
757 # ranlib.
758 # If any variables are added here, they must be added to do-*, below.
759 # The BUILD_* variables are a special case, which are used for the gcc
760 # cross-building scheme.
761 EXTRA_GCC_FLAGS = \
762 'BUILD_PREFIX=$(BUILD_PREFIX)' \
763 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
764 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
765 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
766 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
767 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
768 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
769 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
770 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
771 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
772 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
773 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
775 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
777 .PHONY: configure-host
778 configure-host: \
779 maybe-configure-ash \
780 maybe-configure-autoconf \
781 maybe-configure-automake \
782 maybe-configure-bash \
783 maybe-configure-bfd \
784 maybe-configure-opcodes \
785 maybe-configure-binutils \
786 maybe-configure-bison \
787 maybe-configure-byacc \
788 maybe-configure-bzip2 \
789 maybe-configure-dejagnu \
790 maybe-configure-diff \
791 maybe-configure-dosutils \
792 maybe-configure-etc \
793 maybe-configure-fastjar \
794 maybe-configure-fileutils \
795 maybe-configure-findutils \
796 maybe-configure-find \
797 maybe-configure-fixincludes \
798 maybe-configure-flex \
799 maybe-configure-gas \
800 maybe-configure-gcc \
801 maybe-configure-gawk \
802 maybe-configure-gettext \
803 maybe-configure-gnuserv \
804 maybe-configure-gprof \
805 maybe-configure-gzip \
806 maybe-configure-hello \
807 maybe-configure-indent \
808 maybe-configure-intl \
809 maybe-configure-tcl \
810 maybe-configure-itcl \
811 maybe-configure-ld \
812 maybe-configure-libcpp \
813 maybe-configure-libgui \
814 maybe-configure-libiberty \
815 maybe-configure-libtool \
816 maybe-configure-m4 \
817 maybe-configure-make \
818 maybe-configure-mmalloc \
819 maybe-configure-patch \
820 maybe-configure-perl \
821 maybe-configure-prms \
822 maybe-configure-rcs \
823 maybe-configure-readline \
824 maybe-configure-release \
825 maybe-configure-recode \
826 maybe-configure-sed \
827 maybe-configure-send-pr \
828 maybe-configure-shellutils \
829 maybe-configure-sid \
830 maybe-configure-sim \
831 maybe-configure-tar \
832 maybe-configure-texinfo \
833 maybe-configure-textutils \
834 maybe-configure-time \
835 maybe-configure-uudecode \
836 maybe-configure-wdiff \
837 maybe-configure-zip \
838 maybe-configure-zlib \
839 maybe-configure-gdb \
840 maybe-configure-expect \
841 maybe-configure-guile \
842 maybe-configure-tk \
843 maybe-configure-libtermcap \
844 maybe-configure-utils \
845 maybe-configure-gnattools
846 .PHONY: configure-target
847 configure-target: \
848 maybe-configure-target-libstdc++-v3 \
849 maybe-configure-target-libmudflap \
850 maybe-configure-target-libssp \
851 maybe-configure-target-newlib \
852 maybe-configure-target-libgfortran \
853 maybe-configure-target-libobjc \
854 maybe-configure-target-libtermcap \
855 maybe-configure-target-winsup \
856 maybe-configure-target-libgloss \
857 maybe-configure-target-libiberty \
858 maybe-configure-target-gperf \
859 maybe-configure-target-examples \
860 maybe-configure-target-libffi \
861 maybe-configure-target-libjava \
862 maybe-configure-target-zlib \
863 maybe-configure-target-boehm-gc \
864 maybe-configure-target-qthreads \
865 maybe-configure-target-rda \
866 maybe-configure-target-libada
868 # The target built for a native non-bootstrap build.
869 .PHONY: all
870 all:
871 @if gcc-bootstrap
872 @r=`${PWD_COMMAND}`; export r; \
873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
874 if [ ! -f stage_last ]; then \
875 $(MAKE) $(RECURSE_FLAGS_TO_PASS) bootstrap; \
877 @endif gcc-bootstrap
878 @$(unstage)
879 @if gcc-no-bootstrap
880 @r=`${PWD_COMMAND}`; export r; \
881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
882 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-prebootstrap
883 @endif gcc-no-bootstrap
884 @r=`${PWD_COMMAND}`; export r; \
885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
886 if [ -f stage_last ]; then \
887 $(MAKE) $(TARGET_FLAGS_TO_PASS) all-host; \
888 else \
889 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-host; \
891 @r=`${PWD_COMMAND}`; export r; \
892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
893 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-target
894 @$(stage)
896 .PHONY: all-build
897 all-build: \
898 maybe-all-build-libiberty \
899 maybe-all-build-bison \
900 maybe-all-build-byacc \
901 maybe-all-build-flex \
902 maybe-all-build-m4 \
903 maybe-all-build-texinfo \
904 maybe-all-build-fixincludes
905 .PHONY: all-host
906 all-host: \
907 maybe-all-ash \
908 maybe-all-autoconf \
909 maybe-all-automake \
910 maybe-all-bash \
911 maybe-all-bfd \
912 maybe-all-opcodes \
913 maybe-all-binutils \
914 maybe-all-bison \
915 maybe-all-byacc \
916 maybe-all-bzip2 \
917 maybe-all-dejagnu \
918 maybe-all-diff \
919 maybe-all-dosutils \
920 maybe-all-etc \
921 maybe-all-fastjar \
922 maybe-all-fileutils \
923 maybe-all-findutils \
924 maybe-all-find \
925 maybe-all-fixincludes \
926 maybe-all-flex \
927 maybe-all-gas \
928 maybe-all-gcc \
929 maybe-all-gawk \
930 maybe-all-gettext \
931 maybe-all-gnuserv \
932 maybe-all-gprof \
933 maybe-all-gzip \
934 maybe-all-hello \
935 maybe-all-indent \
936 maybe-all-intl \
937 maybe-all-tcl \
938 maybe-all-itcl \
939 maybe-all-ld \
940 maybe-all-libcpp \
941 maybe-all-libgui \
942 maybe-all-libiberty \
943 maybe-all-libtool \
944 maybe-all-m4 \
945 maybe-all-make \
946 maybe-all-mmalloc \
947 maybe-all-patch \
948 maybe-all-perl \
949 maybe-all-prms \
950 maybe-all-rcs \
951 maybe-all-readline \
952 maybe-all-release \
953 maybe-all-recode \
954 maybe-all-sed \
955 maybe-all-send-pr \
956 maybe-all-shellutils \
957 maybe-all-sid \
958 maybe-all-sim \
959 maybe-all-tar \
960 maybe-all-texinfo \
961 maybe-all-textutils \
962 maybe-all-time \
963 maybe-all-uudecode \
964 maybe-all-wdiff \
965 maybe-all-zip \
966 maybe-all-zlib \
967 maybe-all-gdb \
968 maybe-all-expect \
969 maybe-all-guile \
970 maybe-all-tk \
971 maybe-all-libtermcap \
972 maybe-all-utils \
973 maybe-all-gnattools
974 .PHONY: all-target
975 all-target: \
976 maybe-all-target-libstdc++-v3 \
977 maybe-all-target-libmudflap \
978 maybe-all-target-libssp \
979 maybe-all-target-newlib \
980 maybe-all-target-libgfortran \
981 maybe-all-target-libobjc \
982 maybe-all-target-libtermcap \
983 maybe-all-target-winsup \
984 maybe-all-target-libgloss \
985 maybe-all-target-libiberty \
986 maybe-all-target-gperf \
987 maybe-all-target-examples \
988 maybe-all-target-libffi \
989 maybe-all-target-libjava \
990 maybe-all-target-zlib \
991 maybe-all-target-boehm-gc \
992 maybe-all-target-qthreads \
993 maybe-all-target-rda \
994 maybe-all-target-libada
996 # Do a target for all the subdirectories. A ``make do-X'' will do a
997 # ``make X'' in all subdirectories (because, in general, there is a
998 # dependency (below) of X upon do-X, a ``make X'' will also do this,
999 # but it may do additional work as well).
1001 .PHONY: do-info
1002 do-info:
1003 @$(unstage)
1004 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) info-host \
1005 info-target
1006 @$(stage)
1009 .PHONY: info-host
1010 info-host: \
1011 maybe-info-ash \
1012 maybe-info-autoconf \
1013 maybe-info-automake \
1014 maybe-info-bash \
1015 maybe-info-bfd \
1016 maybe-info-opcodes \
1017 maybe-info-binutils \
1018 maybe-info-bison \
1019 maybe-info-byacc \
1020 maybe-info-bzip2 \
1021 maybe-info-dejagnu \
1022 maybe-info-diff \
1023 maybe-info-dosutils \
1024 maybe-info-etc \
1025 maybe-info-fastjar \
1026 maybe-info-fileutils \
1027 maybe-info-findutils \
1028 maybe-info-find \
1029 maybe-info-fixincludes \
1030 maybe-info-flex \
1031 maybe-info-gas \
1032 maybe-info-gcc \
1033 maybe-info-gawk \
1034 maybe-info-gettext \
1035 maybe-info-gnuserv \
1036 maybe-info-gprof \
1037 maybe-info-gzip \
1038 maybe-info-hello \
1039 maybe-info-indent \
1040 maybe-info-intl \
1041 maybe-info-tcl \
1042 maybe-info-itcl \
1043 maybe-info-ld \
1044 maybe-info-libcpp \
1045 maybe-info-libgui \
1046 maybe-info-libiberty \
1047 maybe-info-libtool \
1048 maybe-info-m4 \
1049 maybe-info-make \
1050 maybe-info-mmalloc \
1051 maybe-info-patch \
1052 maybe-info-perl \
1053 maybe-info-prms \
1054 maybe-info-rcs \
1055 maybe-info-readline \
1056 maybe-info-release \
1057 maybe-info-recode \
1058 maybe-info-sed \
1059 maybe-info-send-pr \
1060 maybe-info-shellutils \
1061 maybe-info-sid \
1062 maybe-info-sim \
1063 maybe-info-tar \
1064 maybe-info-texinfo \
1065 maybe-info-textutils \
1066 maybe-info-time \
1067 maybe-info-uudecode \
1068 maybe-info-wdiff \
1069 maybe-info-zip \
1070 maybe-info-zlib \
1071 maybe-info-gdb \
1072 maybe-info-expect \
1073 maybe-info-guile \
1074 maybe-info-tk \
1075 maybe-info-libtermcap \
1076 maybe-info-utils \
1077 maybe-info-gnattools
1079 .PHONY: info-target
1080 info-target: \
1081 maybe-info-target-libstdc++-v3 \
1082 maybe-info-target-libmudflap \
1083 maybe-info-target-libssp \
1084 maybe-info-target-newlib \
1085 maybe-info-target-libgfortran \
1086 maybe-info-target-libobjc \
1087 maybe-info-target-libtermcap \
1088 maybe-info-target-winsup \
1089 maybe-info-target-libgloss \
1090 maybe-info-target-libiberty \
1091 maybe-info-target-gperf \
1092 maybe-info-target-examples \
1093 maybe-info-target-libffi \
1094 maybe-info-target-libjava \
1095 maybe-info-target-zlib \
1096 maybe-info-target-boehm-gc \
1097 maybe-info-target-qthreads \
1098 maybe-info-target-rda \
1099 maybe-info-target-libada
1101 .PHONY: do-dvi
1102 do-dvi:
1103 @$(unstage)
1104 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) dvi-host \
1105 dvi-target
1106 @$(stage)
1109 .PHONY: dvi-host
1110 dvi-host: \
1111 maybe-dvi-ash \
1112 maybe-dvi-autoconf \
1113 maybe-dvi-automake \
1114 maybe-dvi-bash \
1115 maybe-dvi-bfd \
1116 maybe-dvi-opcodes \
1117 maybe-dvi-binutils \
1118 maybe-dvi-bison \
1119 maybe-dvi-byacc \
1120 maybe-dvi-bzip2 \
1121 maybe-dvi-dejagnu \
1122 maybe-dvi-diff \
1123 maybe-dvi-dosutils \
1124 maybe-dvi-etc \
1125 maybe-dvi-fastjar \
1126 maybe-dvi-fileutils \
1127 maybe-dvi-findutils \
1128 maybe-dvi-find \
1129 maybe-dvi-fixincludes \
1130 maybe-dvi-flex \
1131 maybe-dvi-gas \
1132 maybe-dvi-gcc \
1133 maybe-dvi-gawk \
1134 maybe-dvi-gettext \
1135 maybe-dvi-gnuserv \
1136 maybe-dvi-gprof \
1137 maybe-dvi-gzip \
1138 maybe-dvi-hello \
1139 maybe-dvi-indent \
1140 maybe-dvi-intl \
1141 maybe-dvi-tcl \
1142 maybe-dvi-itcl \
1143 maybe-dvi-ld \
1144 maybe-dvi-libcpp \
1145 maybe-dvi-libgui \
1146 maybe-dvi-libiberty \
1147 maybe-dvi-libtool \
1148 maybe-dvi-m4 \
1149 maybe-dvi-make \
1150 maybe-dvi-mmalloc \
1151 maybe-dvi-patch \
1152 maybe-dvi-perl \
1153 maybe-dvi-prms \
1154 maybe-dvi-rcs \
1155 maybe-dvi-readline \
1156 maybe-dvi-release \
1157 maybe-dvi-recode \
1158 maybe-dvi-sed \
1159 maybe-dvi-send-pr \
1160 maybe-dvi-shellutils \
1161 maybe-dvi-sid \
1162 maybe-dvi-sim \
1163 maybe-dvi-tar \
1164 maybe-dvi-texinfo \
1165 maybe-dvi-textutils \
1166 maybe-dvi-time \
1167 maybe-dvi-uudecode \
1168 maybe-dvi-wdiff \
1169 maybe-dvi-zip \
1170 maybe-dvi-zlib \
1171 maybe-dvi-gdb \
1172 maybe-dvi-expect \
1173 maybe-dvi-guile \
1174 maybe-dvi-tk \
1175 maybe-dvi-libtermcap \
1176 maybe-dvi-utils \
1177 maybe-dvi-gnattools
1179 .PHONY: dvi-target
1180 dvi-target: \
1181 maybe-dvi-target-libstdc++-v3 \
1182 maybe-dvi-target-libmudflap \
1183 maybe-dvi-target-libssp \
1184 maybe-dvi-target-newlib \
1185 maybe-dvi-target-libgfortran \
1186 maybe-dvi-target-libobjc \
1187 maybe-dvi-target-libtermcap \
1188 maybe-dvi-target-winsup \
1189 maybe-dvi-target-libgloss \
1190 maybe-dvi-target-libiberty \
1191 maybe-dvi-target-gperf \
1192 maybe-dvi-target-examples \
1193 maybe-dvi-target-libffi \
1194 maybe-dvi-target-libjava \
1195 maybe-dvi-target-zlib \
1196 maybe-dvi-target-boehm-gc \
1197 maybe-dvi-target-qthreads \
1198 maybe-dvi-target-rda \
1199 maybe-dvi-target-libada
1201 .PHONY: do-html
1202 do-html:
1203 @$(unstage)
1204 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) html-host \
1205 html-target
1206 @$(stage)
1209 .PHONY: html-host
1210 html-host: \
1211 maybe-html-ash \
1212 maybe-html-autoconf \
1213 maybe-html-automake \
1214 maybe-html-bash \
1215 maybe-html-bfd \
1216 maybe-html-opcodes \
1217 maybe-html-binutils \
1218 maybe-html-bison \
1219 maybe-html-byacc \
1220 maybe-html-bzip2 \
1221 maybe-html-dejagnu \
1222 maybe-html-diff \
1223 maybe-html-dosutils \
1224 maybe-html-etc \
1225 maybe-html-fastjar \
1226 maybe-html-fileutils \
1227 maybe-html-findutils \
1228 maybe-html-find \
1229 maybe-html-fixincludes \
1230 maybe-html-flex \
1231 maybe-html-gas \
1232 maybe-html-gcc \
1233 maybe-html-gawk \
1234 maybe-html-gettext \
1235 maybe-html-gnuserv \
1236 maybe-html-gprof \
1237 maybe-html-gzip \
1238 maybe-html-hello \
1239 maybe-html-indent \
1240 maybe-html-intl \
1241 maybe-html-tcl \
1242 maybe-html-itcl \
1243 maybe-html-ld \
1244 maybe-html-libcpp \
1245 maybe-html-libgui \
1246 maybe-html-libiberty \
1247 maybe-html-libtool \
1248 maybe-html-m4 \
1249 maybe-html-make \
1250 maybe-html-mmalloc \
1251 maybe-html-patch \
1252 maybe-html-perl \
1253 maybe-html-prms \
1254 maybe-html-rcs \
1255 maybe-html-readline \
1256 maybe-html-release \
1257 maybe-html-recode \
1258 maybe-html-sed \
1259 maybe-html-send-pr \
1260 maybe-html-shellutils \
1261 maybe-html-sid \
1262 maybe-html-sim \
1263 maybe-html-tar \
1264 maybe-html-texinfo \
1265 maybe-html-textutils \
1266 maybe-html-time \
1267 maybe-html-uudecode \
1268 maybe-html-wdiff \
1269 maybe-html-zip \
1270 maybe-html-zlib \
1271 maybe-html-gdb \
1272 maybe-html-expect \
1273 maybe-html-guile \
1274 maybe-html-tk \
1275 maybe-html-libtermcap \
1276 maybe-html-utils \
1277 maybe-html-gnattools
1279 .PHONY: html-target
1280 html-target: \
1281 maybe-html-target-libstdc++-v3 \
1282 maybe-html-target-libmudflap \
1283 maybe-html-target-libssp \
1284 maybe-html-target-newlib \
1285 maybe-html-target-libgfortran \
1286 maybe-html-target-libobjc \
1287 maybe-html-target-libtermcap \
1288 maybe-html-target-winsup \
1289 maybe-html-target-libgloss \
1290 maybe-html-target-libiberty \
1291 maybe-html-target-gperf \
1292 maybe-html-target-examples \
1293 maybe-html-target-libffi \
1294 maybe-html-target-libjava \
1295 maybe-html-target-zlib \
1296 maybe-html-target-boehm-gc \
1297 maybe-html-target-qthreads \
1298 maybe-html-target-rda \
1299 maybe-html-target-libada
1301 .PHONY: do-TAGS
1302 do-TAGS:
1303 @$(unstage)
1304 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) TAGS-host \
1305 TAGS-target
1306 @$(stage)
1309 .PHONY: TAGS-host
1310 TAGS-host: \
1311 maybe-TAGS-ash \
1312 maybe-TAGS-autoconf \
1313 maybe-TAGS-automake \
1314 maybe-TAGS-bash \
1315 maybe-TAGS-bfd \
1316 maybe-TAGS-opcodes \
1317 maybe-TAGS-binutils \
1318 maybe-TAGS-bison \
1319 maybe-TAGS-byacc \
1320 maybe-TAGS-bzip2 \
1321 maybe-TAGS-dejagnu \
1322 maybe-TAGS-diff \
1323 maybe-TAGS-dosutils \
1324 maybe-TAGS-etc \
1325 maybe-TAGS-fastjar \
1326 maybe-TAGS-fileutils \
1327 maybe-TAGS-findutils \
1328 maybe-TAGS-find \
1329 maybe-TAGS-fixincludes \
1330 maybe-TAGS-flex \
1331 maybe-TAGS-gas \
1332 maybe-TAGS-gcc \
1333 maybe-TAGS-gawk \
1334 maybe-TAGS-gettext \
1335 maybe-TAGS-gnuserv \
1336 maybe-TAGS-gprof \
1337 maybe-TAGS-gzip \
1338 maybe-TAGS-hello \
1339 maybe-TAGS-indent \
1340 maybe-TAGS-intl \
1341 maybe-TAGS-tcl \
1342 maybe-TAGS-itcl \
1343 maybe-TAGS-ld \
1344 maybe-TAGS-libcpp \
1345 maybe-TAGS-libgui \
1346 maybe-TAGS-libiberty \
1347 maybe-TAGS-libtool \
1348 maybe-TAGS-m4 \
1349 maybe-TAGS-make \
1350 maybe-TAGS-mmalloc \
1351 maybe-TAGS-patch \
1352 maybe-TAGS-perl \
1353 maybe-TAGS-prms \
1354 maybe-TAGS-rcs \
1355 maybe-TAGS-readline \
1356 maybe-TAGS-release \
1357 maybe-TAGS-recode \
1358 maybe-TAGS-sed \
1359 maybe-TAGS-send-pr \
1360 maybe-TAGS-shellutils \
1361 maybe-TAGS-sid \
1362 maybe-TAGS-sim \
1363 maybe-TAGS-tar \
1364 maybe-TAGS-texinfo \
1365 maybe-TAGS-textutils \
1366 maybe-TAGS-time \
1367 maybe-TAGS-uudecode \
1368 maybe-TAGS-wdiff \
1369 maybe-TAGS-zip \
1370 maybe-TAGS-zlib \
1371 maybe-TAGS-gdb \
1372 maybe-TAGS-expect \
1373 maybe-TAGS-guile \
1374 maybe-TAGS-tk \
1375 maybe-TAGS-libtermcap \
1376 maybe-TAGS-utils \
1377 maybe-TAGS-gnattools
1379 .PHONY: TAGS-target
1380 TAGS-target: \
1381 maybe-TAGS-target-libstdc++-v3 \
1382 maybe-TAGS-target-libmudflap \
1383 maybe-TAGS-target-libssp \
1384 maybe-TAGS-target-newlib \
1385 maybe-TAGS-target-libgfortran \
1386 maybe-TAGS-target-libobjc \
1387 maybe-TAGS-target-libtermcap \
1388 maybe-TAGS-target-winsup \
1389 maybe-TAGS-target-libgloss \
1390 maybe-TAGS-target-libiberty \
1391 maybe-TAGS-target-gperf \
1392 maybe-TAGS-target-examples \
1393 maybe-TAGS-target-libffi \
1394 maybe-TAGS-target-libjava \
1395 maybe-TAGS-target-zlib \
1396 maybe-TAGS-target-boehm-gc \
1397 maybe-TAGS-target-qthreads \
1398 maybe-TAGS-target-rda \
1399 maybe-TAGS-target-libada
1401 .PHONY: do-install-info
1402 do-install-info:
1403 @$(unstage)
1404 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) install-info-host \
1405 install-info-target
1406 @$(stage)
1409 .PHONY: install-info-host
1410 install-info-host: \
1411 maybe-install-info-ash \
1412 maybe-install-info-autoconf \
1413 maybe-install-info-automake \
1414 maybe-install-info-bash \
1415 maybe-install-info-bfd \
1416 maybe-install-info-opcodes \
1417 maybe-install-info-binutils \
1418 maybe-install-info-bison \
1419 maybe-install-info-byacc \
1420 maybe-install-info-bzip2 \
1421 maybe-install-info-dejagnu \
1422 maybe-install-info-diff \
1423 maybe-install-info-dosutils \
1424 maybe-install-info-etc \
1425 maybe-install-info-fastjar \
1426 maybe-install-info-fileutils \
1427 maybe-install-info-findutils \
1428 maybe-install-info-find \
1429 maybe-install-info-fixincludes \
1430 maybe-install-info-flex \
1431 maybe-install-info-gas \
1432 maybe-install-info-gcc \
1433 maybe-install-info-gawk \
1434 maybe-install-info-gettext \
1435 maybe-install-info-gnuserv \
1436 maybe-install-info-gprof \
1437 maybe-install-info-gzip \
1438 maybe-install-info-hello \
1439 maybe-install-info-indent \
1440 maybe-install-info-intl \
1441 maybe-install-info-tcl \
1442 maybe-install-info-itcl \
1443 maybe-install-info-ld \
1444 maybe-install-info-libcpp \
1445 maybe-install-info-libgui \
1446 maybe-install-info-libiberty \
1447 maybe-install-info-libtool \
1448 maybe-install-info-m4 \
1449 maybe-install-info-make \
1450 maybe-install-info-mmalloc \
1451 maybe-install-info-patch \
1452 maybe-install-info-perl \
1453 maybe-install-info-prms \
1454 maybe-install-info-rcs \
1455 maybe-install-info-readline \
1456 maybe-install-info-release \
1457 maybe-install-info-recode \
1458 maybe-install-info-sed \
1459 maybe-install-info-send-pr \
1460 maybe-install-info-shellutils \
1461 maybe-install-info-sid \
1462 maybe-install-info-sim \
1463 maybe-install-info-tar \
1464 maybe-install-info-texinfo \
1465 maybe-install-info-textutils \
1466 maybe-install-info-time \
1467 maybe-install-info-uudecode \
1468 maybe-install-info-wdiff \
1469 maybe-install-info-zip \
1470 maybe-install-info-zlib \
1471 maybe-install-info-gdb \
1472 maybe-install-info-expect \
1473 maybe-install-info-guile \
1474 maybe-install-info-tk \
1475 maybe-install-info-libtermcap \
1476 maybe-install-info-utils \
1477 maybe-install-info-gnattools
1479 .PHONY: install-info-target
1480 install-info-target: \
1481 maybe-install-info-target-libstdc++-v3 \
1482 maybe-install-info-target-libmudflap \
1483 maybe-install-info-target-libssp \
1484 maybe-install-info-target-newlib \
1485 maybe-install-info-target-libgfortran \
1486 maybe-install-info-target-libobjc \
1487 maybe-install-info-target-libtermcap \
1488 maybe-install-info-target-winsup \
1489 maybe-install-info-target-libgloss \
1490 maybe-install-info-target-libiberty \
1491 maybe-install-info-target-gperf \
1492 maybe-install-info-target-examples \
1493 maybe-install-info-target-libffi \
1494 maybe-install-info-target-libjava \
1495 maybe-install-info-target-zlib \
1496 maybe-install-info-target-boehm-gc \
1497 maybe-install-info-target-qthreads \
1498 maybe-install-info-target-rda \
1499 maybe-install-info-target-libada
1501 .PHONY: do-installcheck
1502 do-installcheck:
1503 @$(unstage)
1504 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installcheck-host \
1505 installcheck-target
1506 @$(stage)
1509 .PHONY: installcheck-host
1510 installcheck-host: \
1511 maybe-installcheck-ash \
1512 maybe-installcheck-autoconf \
1513 maybe-installcheck-automake \
1514 maybe-installcheck-bash \
1515 maybe-installcheck-bfd \
1516 maybe-installcheck-opcodes \
1517 maybe-installcheck-binutils \
1518 maybe-installcheck-bison \
1519 maybe-installcheck-byacc \
1520 maybe-installcheck-bzip2 \
1521 maybe-installcheck-dejagnu \
1522 maybe-installcheck-diff \
1523 maybe-installcheck-dosutils \
1524 maybe-installcheck-etc \
1525 maybe-installcheck-fastjar \
1526 maybe-installcheck-fileutils \
1527 maybe-installcheck-findutils \
1528 maybe-installcheck-find \
1529 maybe-installcheck-fixincludes \
1530 maybe-installcheck-flex \
1531 maybe-installcheck-gas \
1532 maybe-installcheck-gcc \
1533 maybe-installcheck-gawk \
1534 maybe-installcheck-gettext \
1535 maybe-installcheck-gnuserv \
1536 maybe-installcheck-gprof \
1537 maybe-installcheck-gzip \
1538 maybe-installcheck-hello \
1539 maybe-installcheck-indent \
1540 maybe-installcheck-intl \
1541 maybe-installcheck-tcl \
1542 maybe-installcheck-itcl \
1543 maybe-installcheck-ld \
1544 maybe-installcheck-libcpp \
1545 maybe-installcheck-libgui \
1546 maybe-installcheck-libiberty \
1547 maybe-installcheck-libtool \
1548 maybe-installcheck-m4 \
1549 maybe-installcheck-make \
1550 maybe-installcheck-mmalloc \
1551 maybe-installcheck-patch \
1552 maybe-installcheck-perl \
1553 maybe-installcheck-prms \
1554 maybe-installcheck-rcs \
1555 maybe-installcheck-readline \
1556 maybe-installcheck-release \
1557 maybe-installcheck-recode \
1558 maybe-installcheck-sed \
1559 maybe-installcheck-send-pr \
1560 maybe-installcheck-shellutils \
1561 maybe-installcheck-sid \
1562 maybe-installcheck-sim \
1563 maybe-installcheck-tar \
1564 maybe-installcheck-texinfo \
1565 maybe-installcheck-textutils \
1566 maybe-installcheck-time \
1567 maybe-installcheck-uudecode \
1568 maybe-installcheck-wdiff \
1569 maybe-installcheck-zip \
1570 maybe-installcheck-zlib \
1571 maybe-installcheck-gdb \
1572 maybe-installcheck-expect \
1573 maybe-installcheck-guile \
1574 maybe-installcheck-tk \
1575 maybe-installcheck-libtermcap \
1576 maybe-installcheck-utils \
1577 maybe-installcheck-gnattools
1579 .PHONY: installcheck-target
1580 installcheck-target: \
1581 maybe-installcheck-target-libstdc++-v3 \
1582 maybe-installcheck-target-libmudflap \
1583 maybe-installcheck-target-libssp \
1584 maybe-installcheck-target-newlib \
1585 maybe-installcheck-target-libgfortran \
1586 maybe-installcheck-target-libobjc \
1587 maybe-installcheck-target-libtermcap \
1588 maybe-installcheck-target-winsup \
1589 maybe-installcheck-target-libgloss \
1590 maybe-installcheck-target-libiberty \
1591 maybe-installcheck-target-gperf \
1592 maybe-installcheck-target-examples \
1593 maybe-installcheck-target-libffi \
1594 maybe-installcheck-target-libjava \
1595 maybe-installcheck-target-zlib \
1596 maybe-installcheck-target-boehm-gc \
1597 maybe-installcheck-target-qthreads \
1598 maybe-installcheck-target-rda \
1599 maybe-installcheck-target-libada
1601 .PHONY: do-mostlyclean
1602 do-mostlyclean:
1603 @$(unstage)
1604 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) mostlyclean-host \
1605 mostlyclean-target
1606 @$(stage)
1609 .PHONY: mostlyclean-host
1610 mostlyclean-host: \
1611 maybe-mostlyclean-ash \
1612 maybe-mostlyclean-autoconf \
1613 maybe-mostlyclean-automake \
1614 maybe-mostlyclean-bash \
1615 maybe-mostlyclean-bfd \
1616 maybe-mostlyclean-opcodes \
1617 maybe-mostlyclean-binutils \
1618 maybe-mostlyclean-bison \
1619 maybe-mostlyclean-byacc \
1620 maybe-mostlyclean-bzip2 \
1621 maybe-mostlyclean-dejagnu \
1622 maybe-mostlyclean-diff \
1623 maybe-mostlyclean-dosutils \
1624 maybe-mostlyclean-etc \
1625 maybe-mostlyclean-fastjar \
1626 maybe-mostlyclean-fileutils \
1627 maybe-mostlyclean-findutils \
1628 maybe-mostlyclean-find \
1629 maybe-mostlyclean-fixincludes \
1630 maybe-mostlyclean-flex \
1631 maybe-mostlyclean-gas \
1632 maybe-mostlyclean-gcc \
1633 maybe-mostlyclean-gawk \
1634 maybe-mostlyclean-gettext \
1635 maybe-mostlyclean-gnuserv \
1636 maybe-mostlyclean-gprof \
1637 maybe-mostlyclean-gzip \
1638 maybe-mostlyclean-hello \
1639 maybe-mostlyclean-indent \
1640 maybe-mostlyclean-intl \
1641 maybe-mostlyclean-tcl \
1642 maybe-mostlyclean-itcl \
1643 maybe-mostlyclean-ld \
1644 maybe-mostlyclean-libcpp \
1645 maybe-mostlyclean-libgui \
1646 maybe-mostlyclean-libiberty \
1647 maybe-mostlyclean-libtool \
1648 maybe-mostlyclean-m4 \
1649 maybe-mostlyclean-make \
1650 maybe-mostlyclean-mmalloc \
1651 maybe-mostlyclean-patch \
1652 maybe-mostlyclean-perl \
1653 maybe-mostlyclean-prms \
1654 maybe-mostlyclean-rcs \
1655 maybe-mostlyclean-readline \
1656 maybe-mostlyclean-release \
1657 maybe-mostlyclean-recode \
1658 maybe-mostlyclean-sed \
1659 maybe-mostlyclean-send-pr \
1660 maybe-mostlyclean-shellutils \
1661 maybe-mostlyclean-sid \
1662 maybe-mostlyclean-sim \
1663 maybe-mostlyclean-tar \
1664 maybe-mostlyclean-texinfo \
1665 maybe-mostlyclean-textutils \
1666 maybe-mostlyclean-time \
1667 maybe-mostlyclean-uudecode \
1668 maybe-mostlyclean-wdiff \
1669 maybe-mostlyclean-zip \
1670 maybe-mostlyclean-zlib \
1671 maybe-mostlyclean-gdb \
1672 maybe-mostlyclean-expect \
1673 maybe-mostlyclean-guile \
1674 maybe-mostlyclean-tk \
1675 maybe-mostlyclean-libtermcap \
1676 maybe-mostlyclean-utils \
1677 maybe-mostlyclean-gnattools
1679 .PHONY: mostlyclean-target
1680 mostlyclean-target: \
1681 maybe-mostlyclean-target-libstdc++-v3 \
1682 maybe-mostlyclean-target-libmudflap \
1683 maybe-mostlyclean-target-libssp \
1684 maybe-mostlyclean-target-newlib \
1685 maybe-mostlyclean-target-libgfortran \
1686 maybe-mostlyclean-target-libobjc \
1687 maybe-mostlyclean-target-libtermcap \
1688 maybe-mostlyclean-target-winsup \
1689 maybe-mostlyclean-target-libgloss \
1690 maybe-mostlyclean-target-libiberty \
1691 maybe-mostlyclean-target-gperf \
1692 maybe-mostlyclean-target-examples \
1693 maybe-mostlyclean-target-libffi \
1694 maybe-mostlyclean-target-libjava \
1695 maybe-mostlyclean-target-zlib \
1696 maybe-mostlyclean-target-boehm-gc \
1697 maybe-mostlyclean-target-qthreads \
1698 maybe-mostlyclean-target-rda \
1699 maybe-mostlyclean-target-libada
1701 .PHONY: do-clean
1702 do-clean:
1703 @$(unstage)
1704 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) clean-host \
1705 clean-target
1706 @$(stage)
1709 .PHONY: clean-host
1710 clean-host: \
1711 maybe-clean-ash \
1712 maybe-clean-autoconf \
1713 maybe-clean-automake \
1714 maybe-clean-bash \
1715 maybe-clean-bfd \
1716 maybe-clean-opcodes \
1717 maybe-clean-binutils \
1718 maybe-clean-bison \
1719 maybe-clean-byacc \
1720 maybe-clean-bzip2 \
1721 maybe-clean-dejagnu \
1722 maybe-clean-diff \
1723 maybe-clean-dosutils \
1724 maybe-clean-etc \
1725 maybe-clean-fastjar \
1726 maybe-clean-fileutils \
1727 maybe-clean-findutils \
1728 maybe-clean-find \
1729 maybe-clean-fixincludes \
1730 maybe-clean-flex \
1731 maybe-clean-gas \
1732 maybe-clean-gcc \
1733 maybe-clean-gawk \
1734 maybe-clean-gettext \
1735 maybe-clean-gnuserv \
1736 maybe-clean-gprof \
1737 maybe-clean-gzip \
1738 maybe-clean-hello \
1739 maybe-clean-indent \
1740 maybe-clean-intl \
1741 maybe-clean-tcl \
1742 maybe-clean-itcl \
1743 maybe-clean-ld \
1744 maybe-clean-libcpp \
1745 maybe-clean-libgui \
1746 maybe-clean-libiberty \
1747 maybe-clean-libtool \
1748 maybe-clean-m4 \
1749 maybe-clean-make \
1750 maybe-clean-mmalloc \
1751 maybe-clean-patch \
1752 maybe-clean-perl \
1753 maybe-clean-prms \
1754 maybe-clean-rcs \
1755 maybe-clean-readline \
1756 maybe-clean-release \
1757 maybe-clean-recode \
1758 maybe-clean-sed \
1759 maybe-clean-send-pr \
1760 maybe-clean-shellutils \
1761 maybe-clean-sid \
1762 maybe-clean-sim \
1763 maybe-clean-tar \
1764 maybe-clean-texinfo \
1765 maybe-clean-textutils \
1766 maybe-clean-time \
1767 maybe-clean-uudecode \
1768 maybe-clean-wdiff \
1769 maybe-clean-zip \
1770 maybe-clean-zlib \
1771 maybe-clean-gdb \
1772 maybe-clean-expect \
1773 maybe-clean-guile \
1774 maybe-clean-tk \
1775 maybe-clean-libtermcap \
1776 maybe-clean-utils \
1777 maybe-clean-gnattools
1779 .PHONY: clean-target
1780 clean-target: \
1781 maybe-clean-target-libstdc++-v3 \
1782 maybe-clean-target-libmudflap \
1783 maybe-clean-target-libssp \
1784 maybe-clean-target-newlib \
1785 maybe-clean-target-libgfortran \
1786 maybe-clean-target-libobjc \
1787 maybe-clean-target-libtermcap \
1788 maybe-clean-target-winsup \
1789 maybe-clean-target-libgloss \
1790 maybe-clean-target-libiberty \
1791 maybe-clean-target-gperf \
1792 maybe-clean-target-examples \
1793 maybe-clean-target-libffi \
1794 maybe-clean-target-libjava \
1795 maybe-clean-target-zlib \
1796 maybe-clean-target-boehm-gc \
1797 maybe-clean-target-qthreads \
1798 maybe-clean-target-rda \
1799 maybe-clean-target-libada
1801 .PHONY: do-distclean
1802 do-distclean:
1803 @$(unstage)
1804 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) distclean-host \
1805 distclean-target
1806 @$(stage)
1809 .PHONY: distclean-host
1810 distclean-host: \
1811 maybe-distclean-ash \
1812 maybe-distclean-autoconf \
1813 maybe-distclean-automake \
1814 maybe-distclean-bash \
1815 maybe-distclean-bfd \
1816 maybe-distclean-opcodes \
1817 maybe-distclean-binutils \
1818 maybe-distclean-bison \
1819 maybe-distclean-byacc \
1820 maybe-distclean-bzip2 \
1821 maybe-distclean-dejagnu \
1822 maybe-distclean-diff \
1823 maybe-distclean-dosutils \
1824 maybe-distclean-etc \
1825 maybe-distclean-fastjar \
1826 maybe-distclean-fileutils \
1827 maybe-distclean-findutils \
1828 maybe-distclean-find \
1829 maybe-distclean-fixincludes \
1830 maybe-distclean-flex \
1831 maybe-distclean-gas \
1832 maybe-distclean-gcc \
1833 maybe-distclean-gawk \
1834 maybe-distclean-gettext \
1835 maybe-distclean-gnuserv \
1836 maybe-distclean-gprof \
1837 maybe-distclean-gzip \
1838 maybe-distclean-hello \
1839 maybe-distclean-indent \
1840 maybe-distclean-intl \
1841 maybe-distclean-tcl \
1842 maybe-distclean-itcl \
1843 maybe-distclean-ld \
1844 maybe-distclean-libcpp \
1845 maybe-distclean-libgui \
1846 maybe-distclean-libiberty \
1847 maybe-distclean-libtool \
1848 maybe-distclean-m4 \
1849 maybe-distclean-make \
1850 maybe-distclean-mmalloc \
1851 maybe-distclean-patch \
1852 maybe-distclean-perl \
1853 maybe-distclean-prms \
1854 maybe-distclean-rcs \
1855 maybe-distclean-readline \
1856 maybe-distclean-release \
1857 maybe-distclean-recode \
1858 maybe-distclean-sed \
1859 maybe-distclean-send-pr \
1860 maybe-distclean-shellutils \
1861 maybe-distclean-sid \
1862 maybe-distclean-sim \
1863 maybe-distclean-tar \
1864 maybe-distclean-texinfo \
1865 maybe-distclean-textutils \
1866 maybe-distclean-time \
1867 maybe-distclean-uudecode \
1868 maybe-distclean-wdiff \
1869 maybe-distclean-zip \
1870 maybe-distclean-zlib \
1871 maybe-distclean-gdb \
1872 maybe-distclean-expect \
1873 maybe-distclean-guile \
1874 maybe-distclean-tk \
1875 maybe-distclean-libtermcap \
1876 maybe-distclean-utils \
1877 maybe-distclean-gnattools
1879 .PHONY: distclean-target
1880 distclean-target: \
1881 maybe-distclean-target-libstdc++-v3 \
1882 maybe-distclean-target-libmudflap \
1883 maybe-distclean-target-libssp \
1884 maybe-distclean-target-newlib \
1885 maybe-distclean-target-libgfortran \
1886 maybe-distclean-target-libobjc \
1887 maybe-distclean-target-libtermcap \
1888 maybe-distclean-target-winsup \
1889 maybe-distclean-target-libgloss \
1890 maybe-distclean-target-libiberty \
1891 maybe-distclean-target-gperf \
1892 maybe-distclean-target-examples \
1893 maybe-distclean-target-libffi \
1894 maybe-distclean-target-libjava \
1895 maybe-distclean-target-zlib \
1896 maybe-distclean-target-boehm-gc \
1897 maybe-distclean-target-qthreads \
1898 maybe-distclean-target-rda \
1899 maybe-distclean-target-libada
1901 .PHONY: do-maintainer-clean
1902 do-maintainer-clean:
1903 @$(unstage)
1904 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) maintainer-clean-host \
1905 maintainer-clean-target
1906 @$(stage)
1909 .PHONY: maintainer-clean-host
1910 maintainer-clean-host: \
1911 maybe-maintainer-clean-ash \
1912 maybe-maintainer-clean-autoconf \
1913 maybe-maintainer-clean-automake \
1914 maybe-maintainer-clean-bash \
1915 maybe-maintainer-clean-bfd \
1916 maybe-maintainer-clean-opcodes \
1917 maybe-maintainer-clean-binutils \
1918 maybe-maintainer-clean-bison \
1919 maybe-maintainer-clean-byacc \
1920 maybe-maintainer-clean-bzip2 \
1921 maybe-maintainer-clean-dejagnu \
1922 maybe-maintainer-clean-diff \
1923 maybe-maintainer-clean-dosutils \
1924 maybe-maintainer-clean-etc \
1925 maybe-maintainer-clean-fastjar \
1926 maybe-maintainer-clean-fileutils \
1927 maybe-maintainer-clean-findutils \
1928 maybe-maintainer-clean-find \
1929 maybe-maintainer-clean-fixincludes \
1930 maybe-maintainer-clean-flex \
1931 maybe-maintainer-clean-gas \
1932 maybe-maintainer-clean-gcc \
1933 maybe-maintainer-clean-gawk \
1934 maybe-maintainer-clean-gettext \
1935 maybe-maintainer-clean-gnuserv \
1936 maybe-maintainer-clean-gprof \
1937 maybe-maintainer-clean-gzip \
1938 maybe-maintainer-clean-hello \
1939 maybe-maintainer-clean-indent \
1940 maybe-maintainer-clean-intl \
1941 maybe-maintainer-clean-tcl \
1942 maybe-maintainer-clean-itcl \
1943 maybe-maintainer-clean-ld \
1944 maybe-maintainer-clean-libcpp \
1945 maybe-maintainer-clean-libgui \
1946 maybe-maintainer-clean-libiberty \
1947 maybe-maintainer-clean-libtool \
1948 maybe-maintainer-clean-m4 \
1949 maybe-maintainer-clean-make \
1950 maybe-maintainer-clean-mmalloc \
1951 maybe-maintainer-clean-patch \
1952 maybe-maintainer-clean-perl \
1953 maybe-maintainer-clean-prms \
1954 maybe-maintainer-clean-rcs \
1955 maybe-maintainer-clean-readline \
1956 maybe-maintainer-clean-release \
1957 maybe-maintainer-clean-recode \
1958 maybe-maintainer-clean-sed \
1959 maybe-maintainer-clean-send-pr \
1960 maybe-maintainer-clean-shellutils \
1961 maybe-maintainer-clean-sid \
1962 maybe-maintainer-clean-sim \
1963 maybe-maintainer-clean-tar \
1964 maybe-maintainer-clean-texinfo \
1965 maybe-maintainer-clean-textutils \
1966 maybe-maintainer-clean-time \
1967 maybe-maintainer-clean-uudecode \
1968 maybe-maintainer-clean-wdiff \
1969 maybe-maintainer-clean-zip \
1970 maybe-maintainer-clean-zlib \
1971 maybe-maintainer-clean-gdb \
1972 maybe-maintainer-clean-expect \
1973 maybe-maintainer-clean-guile \
1974 maybe-maintainer-clean-tk \
1975 maybe-maintainer-clean-libtermcap \
1976 maybe-maintainer-clean-utils \
1977 maybe-maintainer-clean-gnattools
1979 .PHONY: maintainer-clean-target
1980 maintainer-clean-target: \
1981 maybe-maintainer-clean-target-libstdc++-v3 \
1982 maybe-maintainer-clean-target-libmudflap \
1983 maybe-maintainer-clean-target-libssp \
1984 maybe-maintainer-clean-target-newlib \
1985 maybe-maintainer-clean-target-libgfortran \
1986 maybe-maintainer-clean-target-libobjc \
1987 maybe-maintainer-clean-target-libtermcap \
1988 maybe-maintainer-clean-target-winsup \
1989 maybe-maintainer-clean-target-libgloss \
1990 maybe-maintainer-clean-target-libiberty \
1991 maybe-maintainer-clean-target-gperf \
1992 maybe-maintainer-clean-target-examples \
1993 maybe-maintainer-clean-target-libffi \
1994 maybe-maintainer-clean-target-libjava \
1995 maybe-maintainer-clean-target-zlib \
1996 maybe-maintainer-clean-target-boehm-gc \
1997 maybe-maintainer-clean-target-qthreads \
1998 maybe-maintainer-clean-target-rda \
1999 maybe-maintainer-clean-target-libada
2002 # Here are the targets which correspond to the do-X targets.
2004 .PHONY: info installcheck dvi html install-info
2005 .PHONY: clean distclean mostlyclean maintainer-clean realclean
2006 .PHONY: local-clean local-distclean local-maintainer-clean
2007 info: do-info
2008 installcheck: do-installcheck
2009 dvi: do-dvi
2010 html: do-html
2012 # Make sure makeinfo is built before we do a `make info', if we're
2013 # in fact building texinfo.
2014 do-info: maybe-all-texinfo
2016 install-info: do-install-info dir.info
2017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2018 if [ -f dir.info ] ; then \
2019 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
2020 else true ; fi
2022 local-clean:
2023 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
2025 local-distclean:
2026 -rm -f Makefile config.status config.cache mh-frag mt-frag
2027 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
2028 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
2029 rm -rf $(TARGET_SUBDIR); \
2030 else true; fi
2031 -rm -rf $(BUILD_SUBDIR)
2032 -if [ "$(HOST_SUBDIR)" != "." ]; then \
2033 rm -rf $(HOST_SUBDIR); \
2034 else true; fi
2035 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
2036 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
2037 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
2038 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
2039 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
2041 local-maintainer-clean:
2042 @echo "This command is intended for maintainers to use;"
2043 @echo "it deletes files that may require special tools to rebuild."
2045 clean: do-clean local-clean
2046 mostlyclean: do-mostlyclean local-clean
2047 distclean: do-distclean local-clean local-distclean
2048 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
2049 maintainer-clean: local-distclean
2050 realclean: maintainer-clean
2052 # Extra dependency for clean-target, owing to the mixed nature of gcc
2053 clean-target: clean-target-libgcc
2054 clean-target-libgcc:
2055 test ! -d gcc/libgcc || \
2056 (cd gcc/libgcc && find . -type d -print) | \
2057 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
2058 -rm -rf gcc/libgcc
2059 -rm -f gcc/stmp-dirs
2061 # Check target.
2063 .PHONY: check do-check
2064 check: do-check
2066 # Only include modules actually being configured and built.
2067 .PHONY: check-host
2068 check-host: \
2069 maybe-check-ash \
2070 maybe-check-autoconf \
2071 maybe-check-automake \
2072 maybe-check-bash \
2073 maybe-check-bfd \
2074 maybe-check-opcodes \
2075 maybe-check-binutils \
2076 maybe-check-bison \
2077 maybe-check-byacc \
2078 maybe-check-bzip2 \
2079 maybe-check-dejagnu \
2080 maybe-check-diff \
2081 maybe-check-dosutils \
2082 maybe-check-etc \
2083 maybe-check-fastjar \
2084 maybe-check-fileutils \
2085 maybe-check-findutils \
2086 maybe-check-find \
2087 maybe-check-fixincludes \
2088 maybe-check-flex \
2089 maybe-check-gas \
2090 maybe-check-gcc \
2091 maybe-check-gawk \
2092 maybe-check-gettext \
2093 maybe-check-gnuserv \
2094 maybe-check-gprof \
2095 maybe-check-gzip \
2096 maybe-check-hello \
2097 maybe-check-indent \
2098 maybe-check-intl \
2099 maybe-check-tcl \
2100 maybe-check-itcl \
2101 maybe-check-ld \
2102 maybe-check-libcpp \
2103 maybe-check-libgui \
2104 maybe-check-libiberty \
2105 maybe-check-libtool \
2106 maybe-check-m4 \
2107 maybe-check-make \
2108 maybe-check-mmalloc \
2109 maybe-check-patch \
2110 maybe-check-perl \
2111 maybe-check-prms \
2112 maybe-check-rcs \
2113 maybe-check-readline \
2114 maybe-check-release \
2115 maybe-check-recode \
2116 maybe-check-sed \
2117 maybe-check-send-pr \
2118 maybe-check-shellutils \
2119 maybe-check-sid \
2120 maybe-check-sim \
2121 maybe-check-tar \
2122 maybe-check-texinfo \
2123 maybe-check-textutils \
2124 maybe-check-time \
2125 maybe-check-uudecode \
2126 maybe-check-wdiff \
2127 maybe-check-zip \
2128 maybe-check-zlib \
2129 maybe-check-gdb \
2130 maybe-check-expect \
2131 maybe-check-guile \
2132 maybe-check-tk \
2133 maybe-check-libtermcap \
2134 maybe-check-utils \
2135 maybe-check-gnattools
2137 .PHONY: check-target
2138 check-target: \
2139 maybe-check-target-libstdc++-v3 \
2140 maybe-check-target-libmudflap \
2141 maybe-check-target-libssp \
2142 maybe-check-target-newlib \
2143 maybe-check-target-libgfortran \
2144 maybe-check-target-libobjc \
2145 maybe-check-target-libtermcap \
2146 maybe-check-target-winsup \
2147 maybe-check-target-libgloss \
2148 maybe-check-target-libiberty \
2149 maybe-check-target-gperf \
2150 maybe-check-target-examples \
2151 maybe-check-target-libffi \
2152 maybe-check-target-libjava \
2153 maybe-check-target-zlib \
2154 maybe-check-target-boehm-gc \
2155 maybe-check-target-qthreads \
2156 maybe-check-target-rda \
2157 maybe-check-target-libada
2159 do-check:
2160 @$(unstage)
2161 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) check-host check-target
2162 @$(stage)
2164 # Automated reporting of test results.
2166 warning.log: build.log
2167 $(srcdir)/contrib/warn_summary build.log > $@
2169 mail-report.log:
2170 if test x'$(BOOT_CFLAGS)' != x''; then \
2171 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2172 fi; \
2173 $(srcdir)/contrib/test_summary -t >$@
2174 chmod +x $@
2175 echo If you really want to send e-mail, run ./$@ now
2177 mail-report-with-warnings.log: warning.log
2178 if test x'$(BOOT_CFLAGS)' != x''; then \
2179 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
2180 fi; \
2181 $(srcdir)/contrib/test_summary -t -i warning.log >$@
2182 chmod +x $@
2183 echo If you really want to send e-mail, run ./$@ now
2185 # Installation targets.
2187 .PHONY: install uninstall
2188 install:
2189 @$(unstage)
2190 @$(MAKE) $(RECURSE_FLAGS_TO_PASS) installdirs install-host install-target
2191 @$(stage)
2193 .PHONY: install-host-nogcc
2194 install-host-nogcc: \
2195 maybe-install-ash \
2196 maybe-install-autoconf \
2197 maybe-install-automake \
2198 maybe-install-bash \
2199 maybe-install-bfd \
2200 maybe-install-opcodes \
2201 maybe-install-binutils \
2202 maybe-install-bison \
2203 maybe-install-byacc \
2204 maybe-install-bzip2 \
2205 maybe-install-dejagnu \
2206 maybe-install-diff \
2207 maybe-install-dosutils \
2208 maybe-install-etc \
2209 maybe-install-fastjar \
2210 maybe-install-fileutils \
2211 maybe-install-findutils \
2212 maybe-install-find \
2213 maybe-install-fixincludes \
2214 maybe-install-flex \
2215 maybe-install-gas \
2216 maybe-install-gawk \
2217 maybe-install-gettext \
2218 maybe-install-gnuserv \
2219 maybe-install-gprof \
2220 maybe-install-gzip \
2221 maybe-install-hello \
2222 maybe-install-indent \
2223 maybe-install-intl \
2224 maybe-install-tcl \
2225 maybe-install-itcl \
2226 maybe-install-ld \
2227 maybe-install-libcpp \
2228 maybe-install-libgui \
2229 maybe-install-libiberty \
2230 maybe-install-libtool \
2231 maybe-install-m4 \
2232 maybe-install-make \
2233 maybe-install-mmalloc \
2234 maybe-install-patch \
2235 maybe-install-perl \
2236 maybe-install-prms \
2237 maybe-install-rcs \
2238 maybe-install-readline \
2239 maybe-install-release \
2240 maybe-install-recode \
2241 maybe-install-sed \
2242 maybe-install-send-pr \
2243 maybe-install-shellutils \
2244 maybe-install-sid \
2245 maybe-install-sim \
2246 maybe-install-tar \
2247 maybe-install-texinfo \
2248 maybe-install-textutils \
2249 maybe-install-time \
2250 maybe-install-uudecode \
2251 maybe-install-wdiff \
2252 maybe-install-zip \
2253 maybe-install-zlib \
2254 maybe-install-gdb \
2255 maybe-install-expect \
2256 maybe-install-guile \
2257 maybe-install-tk \
2258 maybe-install-libtermcap \
2259 maybe-install-utils \
2260 maybe-install-gnattools
2262 .PHONY: install-host
2263 install-host: \
2264 maybe-install-ash \
2265 maybe-install-autoconf \
2266 maybe-install-automake \
2267 maybe-install-bash \
2268 maybe-install-bfd \
2269 maybe-install-opcodes \
2270 maybe-install-binutils \
2271 maybe-install-bison \
2272 maybe-install-byacc \
2273 maybe-install-bzip2 \
2274 maybe-install-dejagnu \
2275 maybe-install-diff \
2276 maybe-install-dosutils \
2277 maybe-install-etc \
2278 maybe-install-fastjar \
2279 maybe-install-fileutils \
2280 maybe-install-findutils \
2281 maybe-install-find \
2282 maybe-install-fixincludes \
2283 maybe-install-flex \
2284 maybe-install-gas \
2285 maybe-install-gcc \
2286 maybe-install-gawk \
2287 maybe-install-gettext \
2288 maybe-install-gnuserv \
2289 maybe-install-gprof \
2290 maybe-install-gzip \
2291 maybe-install-hello \
2292 maybe-install-indent \
2293 maybe-install-intl \
2294 maybe-install-tcl \
2295 maybe-install-itcl \
2296 maybe-install-ld \
2297 maybe-install-libcpp \
2298 maybe-install-libgui \
2299 maybe-install-libiberty \
2300 maybe-install-libtool \
2301 maybe-install-m4 \
2302 maybe-install-make \
2303 maybe-install-mmalloc \
2304 maybe-install-patch \
2305 maybe-install-perl \
2306 maybe-install-prms \
2307 maybe-install-rcs \
2308 maybe-install-readline \
2309 maybe-install-release \
2310 maybe-install-recode \
2311 maybe-install-sed \
2312 maybe-install-send-pr \
2313 maybe-install-shellutils \
2314 maybe-install-sid \
2315 maybe-install-sim \
2316 maybe-install-tar \
2317 maybe-install-texinfo \
2318 maybe-install-textutils \
2319 maybe-install-time \
2320 maybe-install-uudecode \
2321 maybe-install-wdiff \
2322 maybe-install-zip \
2323 maybe-install-zlib \
2324 maybe-install-gdb \
2325 maybe-install-expect \
2326 maybe-install-guile \
2327 maybe-install-tk \
2328 maybe-install-libtermcap \
2329 maybe-install-utils \
2330 maybe-install-gnattools
2332 .PHONY: install-target
2333 install-target: \
2334 maybe-install-target-libstdc++-v3 \
2335 maybe-install-target-libmudflap \
2336 maybe-install-target-libssp \
2337 maybe-install-target-newlib \
2338 maybe-install-target-libgfortran \
2339 maybe-install-target-libobjc \
2340 maybe-install-target-libtermcap \
2341 maybe-install-target-winsup \
2342 maybe-install-target-libgloss \
2343 maybe-install-target-libiberty \
2344 maybe-install-target-gperf \
2345 maybe-install-target-examples \
2346 maybe-install-target-libffi \
2347 maybe-install-target-libjava \
2348 maybe-install-target-zlib \
2349 maybe-install-target-boehm-gc \
2350 maybe-install-target-qthreads \
2351 maybe-install-target-rda \
2352 maybe-install-target-libada
2354 uninstall:
2355 @echo "the uninstall target is not supported in this tree"
2357 .PHONY: install.all
2358 install.all: install-no-fixedincludes
2359 @if [ -f ./gcc/Makefile ] ; then \
2360 r=`${PWD_COMMAND}` ; export r ; \
2361 $(HOST_EXPORTS) \
2362 (cd ./gcc && \
2363 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2364 else \
2365 true ; \
2368 # install-no-fixedincludes is used because Cygnus can not distribute
2369 # the fixed header files.
2370 .PHONY: install-no-fixedincludes
2371 install-no-fixedincludes: installdirs install-host-nogcc \
2372 install-target gcc-no-fixedincludes
2374 ### other supporting targets
2376 MAKEDIRS= \
2377 $(DESTDIR)$(prefix) \
2378 $(DESTDIR)$(exec_prefix)
2379 .PHONY: installdirs
2380 installdirs: mkinstalldirs
2381 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2383 dir.info: do-install-info
2384 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2385 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2386 mv -f dir.info.new dir.info ; \
2387 else true ; \
2390 dist:
2391 @echo "Building a full distribution of this tree isn't done"
2392 @echo "via 'make dist'. Check out the etc/ subdirectory"
2394 etags tags: TAGS
2396 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2397 # ability to use several tags files at once, so there is probably no need
2398 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2399 # (if we felt like it) have this Makefile write a piece of elisp which
2400 # the user could load to tell emacs19 where all the TAGS files we just
2401 # built are.
2402 TAGS: do-TAGS
2404 # ------------------------------------
2405 # Macros for configure and all targets
2406 # ------------------------------------
2412 # --------------------------------------
2413 # Modules which run on the build machine
2414 # --------------------------------------
2417 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2418 maybe-configure-build-libiberty:
2419 @if build-libiberty
2420 maybe-configure-build-libiberty: configure-build-libiberty
2421 configure-build-libiberty:
2422 @$(unstage)
2423 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2424 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2425 r=`${PWD_COMMAND}`; export r; \
2426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2427 $(BUILD_EXPORTS) \
2428 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2429 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2430 case $(srcdir) in \
2431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2432 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2434 esac; \
2435 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2436 libsrcdir="$$s/libiberty"; \
2437 rm -f no-such-file || : ; \
2438 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2439 $(BUILD_CONFIGARGS) $${srcdiroption} \
2440 || exit 1
2441 @endif build-libiberty
2447 .PHONY: all-build-libiberty maybe-all-build-libiberty
2448 maybe-all-build-libiberty:
2449 @if build-libiberty
2450 TARGET-build-libiberty=all
2451 maybe-all-build-libiberty: all-build-libiberty
2452 all-build-libiberty: configure-build-libiberty
2453 @$(unstage)
2454 @r=`${PWD_COMMAND}`; export r; \
2455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2456 $(BUILD_EXPORTS) \
2457 (cd $(BUILD_SUBDIR)/libiberty && \
2458 $(MAKE) $(TARGET-build-libiberty))
2459 @endif build-libiberty
2465 .PHONY: configure-build-bison maybe-configure-build-bison
2466 maybe-configure-build-bison:
2467 @if build-bison
2468 maybe-configure-build-bison: configure-build-bison
2469 configure-build-bison:
2470 @$(unstage)
2471 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2472 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2473 r=`${PWD_COMMAND}`; export r; \
2474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2475 $(BUILD_EXPORTS) \
2476 echo Configuring in $(BUILD_SUBDIR)/bison; \
2477 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2478 case $(srcdir) in \
2479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2480 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2482 esac; \
2483 srcdiroption="--srcdir=$${topdir}/bison"; \
2484 libsrcdir="$$s/bison"; \
2485 rm -f no-such-file || : ; \
2486 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2487 $(BUILD_CONFIGARGS) $${srcdiroption} \
2488 || exit 1
2489 @endif build-bison
2495 .PHONY: all-build-bison maybe-all-build-bison
2496 maybe-all-build-bison:
2497 @if build-bison
2498 TARGET-build-bison=all
2499 maybe-all-build-bison: all-build-bison
2500 all-build-bison: configure-build-bison
2501 @$(unstage)
2502 @r=`${PWD_COMMAND}`; export r; \
2503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2504 $(BUILD_EXPORTS) \
2505 (cd $(BUILD_SUBDIR)/bison && \
2506 $(MAKE) $(TARGET-build-bison))
2507 @endif build-bison
2513 .PHONY: configure-build-byacc maybe-configure-build-byacc
2514 maybe-configure-build-byacc:
2515 @if build-byacc
2516 maybe-configure-build-byacc: configure-build-byacc
2517 configure-build-byacc:
2518 @$(unstage)
2519 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2520 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2521 r=`${PWD_COMMAND}`; export r; \
2522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2523 $(BUILD_EXPORTS) \
2524 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2525 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2526 case $(srcdir) in \
2527 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2528 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2529 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2530 esac; \
2531 srcdiroption="--srcdir=$${topdir}/byacc"; \
2532 libsrcdir="$$s/byacc"; \
2533 rm -f no-such-file || : ; \
2534 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2535 $(BUILD_CONFIGARGS) $${srcdiroption} \
2536 || exit 1
2537 @endif build-byacc
2543 .PHONY: all-build-byacc maybe-all-build-byacc
2544 maybe-all-build-byacc:
2545 @if build-byacc
2546 TARGET-build-byacc=all
2547 maybe-all-build-byacc: all-build-byacc
2548 all-build-byacc: configure-build-byacc
2549 @$(unstage)
2550 @r=`${PWD_COMMAND}`; export r; \
2551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2552 $(BUILD_EXPORTS) \
2553 (cd $(BUILD_SUBDIR)/byacc && \
2554 $(MAKE) $(TARGET-build-byacc))
2555 @endif build-byacc
2561 .PHONY: configure-build-flex maybe-configure-build-flex
2562 maybe-configure-build-flex:
2563 @if build-flex
2564 maybe-configure-build-flex: configure-build-flex
2565 configure-build-flex:
2566 @$(unstage)
2567 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2568 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2569 r=`${PWD_COMMAND}`; export r; \
2570 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2571 $(BUILD_EXPORTS) \
2572 echo Configuring in $(BUILD_SUBDIR)/flex; \
2573 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2574 case $(srcdir) in \
2575 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2576 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2577 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2578 esac; \
2579 srcdiroption="--srcdir=$${topdir}/flex"; \
2580 libsrcdir="$$s/flex"; \
2581 rm -f no-such-file || : ; \
2582 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2583 $(BUILD_CONFIGARGS) $${srcdiroption} \
2584 || exit 1
2585 @endif build-flex
2591 .PHONY: all-build-flex maybe-all-build-flex
2592 maybe-all-build-flex:
2593 @if build-flex
2594 TARGET-build-flex=all
2595 maybe-all-build-flex: all-build-flex
2596 all-build-flex: configure-build-flex
2597 @$(unstage)
2598 @r=`${PWD_COMMAND}`; export r; \
2599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2600 $(BUILD_EXPORTS) \
2601 (cd $(BUILD_SUBDIR)/flex && \
2602 $(MAKE) $(TARGET-build-flex))
2603 @endif build-flex
2609 .PHONY: configure-build-m4 maybe-configure-build-m4
2610 maybe-configure-build-m4:
2611 @if build-m4
2612 maybe-configure-build-m4: configure-build-m4
2613 configure-build-m4:
2614 @$(unstage)
2615 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2616 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2617 r=`${PWD_COMMAND}`; export r; \
2618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2619 $(BUILD_EXPORTS) \
2620 echo Configuring in $(BUILD_SUBDIR)/m4; \
2621 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2622 case $(srcdir) in \
2623 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2624 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2625 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2626 esac; \
2627 srcdiroption="--srcdir=$${topdir}/m4"; \
2628 libsrcdir="$$s/m4"; \
2629 rm -f no-such-file || : ; \
2630 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2631 $(BUILD_CONFIGARGS) $${srcdiroption} \
2632 || exit 1
2633 @endif build-m4
2639 .PHONY: all-build-m4 maybe-all-build-m4
2640 maybe-all-build-m4:
2641 @if build-m4
2642 TARGET-build-m4=all
2643 maybe-all-build-m4: all-build-m4
2644 all-build-m4: configure-build-m4
2645 @$(unstage)
2646 @r=`${PWD_COMMAND}`; export r; \
2647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2648 $(BUILD_EXPORTS) \
2649 (cd $(BUILD_SUBDIR)/m4 && \
2650 $(MAKE) $(TARGET-build-m4))
2651 @endif build-m4
2657 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2658 maybe-configure-build-texinfo:
2659 @if build-texinfo
2660 maybe-configure-build-texinfo: configure-build-texinfo
2661 configure-build-texinfo:
2662 @$(unstage)
2663 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2664 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2665 r=`${PWD_COMMAND}`; export r; \
2666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2667 $(BUILD_EXPORTS) \
2668 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2669 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2670 case $(srcdir) in \
2671 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2672 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2673 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2674 esac; \
2675 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2676 libsrcdir="$$s/texinfo"; \
2677 rm -f no-such-file || : ; \
2678 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2679 $(BUILD_CONFIGARGS) $${srcdiroption} \
2680 || exit 1
2681 @endif build-texinfo
2687 .PHONY: all-build-texinfo maybe-all-build-texinfo
2688 maybe-all-build-texinfo:
2689 @if build-texinfo
2690 TARGET-build-texinfo=all
2691 maybe-all-build-texinfo: all-build-texinfo
2692 all-build-texinfo: configure-build-texinfo
2693 @$(unstage)
2694 @r=`${PWD_COMMAND}`; export r; \
2695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2696 $(BUILD_EXPORTS) \
2697 (cd $(BUILD_SUBDIR)/texinfo && \
2698 $(MAKE) $(TARGET-build-texinfo))
2699 @endif build-texinfo
2705 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2706 maybe-configure-build-fixincludes:
2707 @if build-fixincludes
2708 maybe-configure-build-fixincludes: configure-build-fixincludes
2709 configure-build-fixincludes:
2710 @$(unstage)
2711 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2712 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2713 r=`${PWD_COMMAND}`; export r; \
2714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2715 $(BUILD_EXPORTS) \
2716 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2717 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2718 case $(srcdir) in \
2719 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2720 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2721 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2722 esac; \
2723 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2724 libsrcdir="$$s/fixincludes"; \
2725 rm -f no-such-file || : ; \
2726 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2727 $(BUILD_CONFIGARGS) $${srcdiroption} \
2728 || exit 1
2729 @endif build-fixincludes
2735 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2736 maybe-all-build-fixincludes:
2737 @if build-fixincludes
2738 TARGET-build-fixincludes=all
2739 maybe-all-build-fixincludes: all-build-fixincludes
2740 all-build-fixincludes: configure-build-fixincludes
2741 @$(unstage)
2742 @r=`${PWD_COMMAND}`; export r; \
2743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2744 $(BUILD_EXPORTS) \
2745 (cd $(BUILD_SUBDIR)/fixincludes && \
2746 $(MAKE) $(TARGET-build-fixincludes))
2747 @endif build-fixincludes
2753 # --------------------------------------
2754 # Modules which run on the host machine
2755 # --------------------------------------
2758 .PHONY: configure-ash maybe-configure-ash
2759 maybe-configure-ash:
2760 @if ash
2761 maybe-configure-ash: configure-ash
2762 configure-ash:
2763 @$(unstage)
2764 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2765 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2766 r=`${PWD_COMMAND}`; export r; \
2767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2768 $(HOST_EXPORTS) \
2769 echo Configuring in $(HOST_SUBDIR)/ash; \
2770 cd "$(HOST_SUBDIR)/ash" || exit 1; \
2771 case $(srcdir) in \
2772 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2773 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2774 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2775 esac; \
2776 srcdiroption="--srcdir=$${topdir}/ash"; \
2777 libsrcdir="$$s/ash"; \
2778 $(SHELL) $${libsrcdir}/configure \
2779 $(HOST_CONFIGARGS) $${srcdiroption} \
2780 || exit 1
2781 @endif ash
2787 .PHONY: all-ash maybe-all-ash
2788 maybe-all-ash:
2789 @if ash
2790 TARGET-ash=all
2791 maybe-all-ash: all-ash
2792 all-ash: configure-ash
2793 @$(unstage)
2794 @r=`${PWD_COMMAND}`; export r; \
2795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2796 $(HOST_EXPORTS) \
2797 (cd $(HOST_SUBDIR)/ash && \
2798 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2799 @endif ash
2804 .PHONY: check-ash maybe-check-ash
2805 maybe-check-ash:
2806 @if ash
2807 maybe-check-ash: check-ash
2809 check-ash:
2810 @$(unstage)
2811 @r=`${PWD_COMMAND}`; export r; \
2812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2813 $(HOST_EXPORTS) \
2814 (cd $(HOST_SUBDIR)/ash && \
2815 $(MAKE) $(FLAGS_TO_PASS) check)
2817 @endif ash
2819 .PHONY: install-ash maybe-install-ash
2820 maybe-install-ash:
2821 @if ash
2822 maybe-install-ash: install-ash
2824 install-ash: installdirs
2825 @$(unstage)
2826 @r=`${PWD_COMMAND}`; export r; \
2827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2828 $(HOST_EXPORTS) \
2829 (cd $(HOST_SUBDIR)/ash && \
2830 $(MAKE) $(FLAGS_TO_PASS) install)
2832 @endif ash
2834 # Other targets (info, dvi, etc.)
2836 .PHONY: maybe-info-ash info-ash
2837 maybe-info-ash:
2838 @if ash
2839 maybe-info-ash: info-ash
2841 info-ash: \
2842 configure-ash
2843 @$(unstage)
2844 @[ -f ./ash/Makefile ] || exit 0; \
2845 r=`${PWD_COMMAND}`; export r; \
2846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2847 $(HOST_EXPORTS) \
2848 for flag in $(EXTRA_HOST_FLAGS) ; do \
2849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2850 done; \
2851 echo "Doing info in ash" ; \
2852 (cd $(HOST_SUBDIR)/ash && \
2853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2855 "RANLIB=$${RANLIB}" \
2856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2857 info) \
2858 || exit 1
2860 @endif ash
2862 .PHONY: maybe-dvi-ash dvi-ash
2863 maybe-dvi-ash:
2864 @if ash
2865 maybe-dvi-ash: dvi-ash
2867 dvi-ash: \
2868 configure-ash
2869 @$(unstage)
2870 @[ -f ./ash/Makefile ] || exit 0; \
2871 r=`${PWD_COMMAND}`; export r; \
2872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2873 $(HOST_EXPORTS) \
2874 for flag in $(EXTRA_HOST_FLAGS) ; do \
2875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2876 done; \
2877 echo "Doing dvi in ash" ; \
2878 (cd $(HOST_SUBDIR)/ash && \
2879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2881 "RANLIB=$${RANLIB}" \
2882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2883 dvi) \
2884 || exit 1
2886 @endif ash
2888 .PHONY: maybe-html-ash html-ash
2889 maybe-html-ash:
2890 @if ash
2891 maybe-html-ash: html-ash
2893 html-ash: \
2894 configure-ash
2895 @$(unstage)
2896 @[ -f ./ash/Makefile ] || exit 0; \
2897 r=`${PWD_COMMAND}`; export r; \
2898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2899 $(HOST_EXPORTS) \
2900 for flag in $(EXTRA_HOST_FLAGS) ; do \
2901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2902 done; \
2903 echo "Doing html in ash" ; \
2904 (cd $(HOST_SUBDIR)/ash && \
2905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2907 "RANLIB=$${RANLIB}" \
2908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2909 html) \
2910 || exit 1
2912 @endif ash
2914 .PHONY: maybe-TAGS-ash TAGS-ash
2915 maybe-TAGS-ash:
2916 @if ash
2917 maybe-TAGS-ash: TAGS-ash
2919 TAGS-ash: \
2920 configure-ash
2921 @$(unstage)
2922 @[ -f ./ash/Makefile ] || exit 0; \
2923 r=`${PWD_COMMAND}`; export r; \
2924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2925 $(HOST_EXPORTS) \
2926 for flag in $(EXTRA_HOST_FLAGS) ; do \
2927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2928 done; \
2929 echo "Doing TAGS in ash" ; \
2930 (cd $(HOST_SUBDIR)/ash && \
2931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2933 "RANLIB=$${RANLIB}" \
2934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2935 TAGS) \
2936 || exit 1
2938 @endif ash
2940 .PHONY: maybe-install-info-ash install-info-ash
2941 maybe-install-info-ash:
2942 @if ash
2943 maybe-install-info-ash: install-info-ash
2945 install-info-ash: \
2946 configure-ash \
2947 info-ash
2948 @$(unstage)
2949 @[ -f ./ash/Makefile ] || exit 0; \
2950 r=`${PWD_COMMAND}`; export r; \
2951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2952 $(HOST_EXPORTS) \
2953 for flag in $(EXTRA_HOST_FLAGS) ; do \
2954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2955 done; \
2956 echo "Doing install-info in ash" ; \
2957 (cd $(HOST_SUBDIR)/ash && \
2958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2960 "RANLIB=$${RANLIB}" \
2961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2962 install-info) \
2963 || exit 1
2965 @endif ash
2967 .PHONY: maybe-installcheck-ash installcheck-ash
2968 maybe-installcheck-ash:
2969 @if ash
2970 maybe-installcheck-ash: installcheck-ash
2972 installcheck-ash: \
2973 configure-ash
2974 @$(unstage)
2975 @[ -f ./ash/Makefile ] || exit 0; \
2976 r=`${PWD_COMMAND}`; export r; \
2977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2978 $(HOST_EXPORTS) \
2979 for flag in $(EXTRA_HOST_FLAGS) ; do \
2980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2981 done; \
2982 echo "Doing installcheck in ash" ; \
2983 (cd $(HOST_SUBDIR)/ash && \
2984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2986 "RANLIB=$${RANLIB}" \
2987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2988 installcheck) \
2989 || exit 1
2991 @endif ash
2993 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2994 maybe-mostlyclean-ash:
2995 @if ash
2996 maybe-mostlyclean-ash: mostlyclean-ash
2998 mostlyclean-ash:
2999 @$(unstage)
3000 @[ -f ./ash/Makefile ] || exit 0; \
3001 r=`${PWD_COMMAND}`; export r; \
3002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3003 $(HOST_EXPORTS) \
3004 for flag in $(EXTRA_HOST_FLAGS) ; do \
3005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3006 done; \
3007 echo "Doing mostlyclean in ash" ; \
3008 (cd $(HOST_SUBDIR)/ash && \
3009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3011 "RANLIB=$${RANLIB}" \
3012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3013 mostlyclean) \
3014 || exit 1
3016 @endif ash
3018 .PHONY: maybe-clean-ash clean-ash
3019 maybe-clean-ash:
3020 @if ash
3021 maybe-clean-ash: clean-ash
3023 clean-ash:
3024 @$(unstage)
3025 @[ -f ./ash/Makefile ] || exit 0; \
3026 r=`${PWD_COMMAND}`; export r; \
3027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3028 $(HOST_EXPORTS) \
3029 for flag in $(EXTRA_HOST_FLAGS) ; do \
3030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3031 done; \
3032 echo "Doing clean in ash" ; \
3033 (cd $(HOST_SUBDIR)/ash && \
3034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3036 "RANLIB=$${RANLIB}" \
3037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3038 clean) \
3039 || exit 1
3041 @endif ash
3043 .PHONY: maybe-distclean-ash distclean-ash
3044 maybe-distclean-ash:
3045 @if ash
3046 maybe-distclean-ash: distclean-ash
3048 distclean-ash:
3049 @$(unstage)
3050 @[ -f ./ash/Makefile ] || exit 0; \
3051 r=`${PWD_COMMAND}`; export r; \
3052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3053 $(HOST_EXPORTS) \
3054 for flag in $(EXTRA_HOST_FLAGS) ; do \
3055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3056 done; \
3057 echo "Doing distclean in ash" ; \
3058 (cd $(HOST_SUBDIR)/ash && \
3059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3061 "RANLIB=$${RANLIB}" \
3062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3063 distclean) \
3064 || exit 1
3066 @endif ash
3068 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
3069 maybe-maintainer-clean-ash:
3070 @if ash
3071 maybe-maintainer-clean-ash: maintainer-clean-ash
3073 maintainer-clean-ash:
3074 @$(unstage)
3075 @[ -f ./ash/Makefile ] || exit 0; \
3076 r=`${PWD_COMMAND}`; export r; \
3077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3078 $(HOST_EXPORTS) \
3079 for flag in $(EXTRA_HOST_FLAGS) ; do \
3080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3081 done; \
3082 echo "Doing maintainer-clean in ash" ; \
3083 (cd $(HOST_SUBDIR)/ash && \
3084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3086 "RANLIB=$${RANLIB}" \
3087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3088 maintainer-clean) \
3089 || exit 1
3091 @endif ash
3095 .PHONY: configure-autoconf maybe-configure-autoconf
3096 maybe-configure-autoconf:
3097 @if autoconf
3098 maybe-configure-autoconf: configure-autoconf
3099 configure-autoconf:
3100 @$(unstage)
3101 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
3102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
3103 r=`${PWD_COMMAND}`; export r; \
3104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3105 $(HOST_EXPORTS) \
3106 echo Configuring in $(HOST_SUBDIR)/autoconf; \
3107 cd "$(HOST_SUBDIR)/autoconf" || exit 1; \
3108 case $(srcdir) in \
3109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3110 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
3111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3112 esac; \
3113 srcdiroption="--srcdir=$${topdir}/autoconf"; \
3114 libsrcdir="$$s/autoconf"; \
3115 $(SHELL) $${libsrcdir}/configure \
3116 $(HOST_CONFIGARGS) $${srcdiroption} \
3117 || exit 1
3118 @endif autoconf
3124 .PHONY: all-autoconf maybe-all-autoconf
3125 maybe-all-autoconf:
3126 @if autoconf
3127 TARGET-autoconf=all
3128 maybe-all-autoconf: all-autoconf
3129 all-autoconf: configure-autoconf
3130 @$(unstage)
3131 @r=`${PWD_COMMAND}`; export r; \
3132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3133 $(HOST_EXPORTS) \
3134 (cd $(HOST_SUBDIR)/autoconf && \
3135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
3136 @endif autoconf
3141 .PHONY: check-autoconf maybe-check-autoconf
3142 maybe-check-autoconf:
3143 @if autoconf
3144 maybe-check-autoconf: check-autoconf
3146 check-autoconf:
3147 @$(unstage)
3148 @r=`${PWD_COMMAND}`; export r; \
3149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3150 $(HOST_EXPORTS) \
3151 (cd $(HOST_SUBDIR)/autoconf && \
3152 $(MAKE) $(FLAGS_TO_PASS) check)
3154 @endif autoconf
3156 .PHONY: install-autoconf maybe-install-autoconf
3157 maybe-install-autoconf:
3158 @if autoconf
3159 maybe-install-autoconf: install-autoconf
3161 install-autoconf: installdirs
3162 @$(unstage)
3163 @r=`${PWD_COMMAND}`; export r; \
3164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3165 $(HOST_EXPORTS) \
3166 (cd $(HOST_SUBDIR)/autoconf && \
3167 $(MAKE) $(FLAGS_TO_PASS) install)
3169 @endif autoconf
3171 # Other targets (info, dvi, etc.)
3173 .PHONY: maybe-info-autoconf info-autoconf
3174 maybe-info-autoconf:
3175 @if autoconf
3176 maybe-info-autoconf: info-autoconf
3178 info-autoconf: \
3179 configure-autoconf
3180 @$(unstage)
3181 @[ -f ./autoconf/Makefile ] || exit 0; \
3182 r=`${PWD_COMMAND}`; export r; \
3183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3184 $(HOST_EXPORTS) \
3185 for flag in $(EXTRA_HOST_FLAGS) ; do \
3186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3187 done; \
3188 echo "Doing info in autoconf" ; \
3189 (cd $(HOST_SUBDIR)/autoconf && \
3190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3192 "RANLIB=$${RANLIB}" \
3193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3194 info) \
3195 || exit 1
3197 @endif autoconf
3199 .PHONY: maybe-dvi-autoconf dvi-autoconf
3200 maybe-dvi-autoconf:
3201 @if autoconf
3202 maybe-dvi-autoconf: dvi-autoconf
3204 dvi-autoconf: \
3205 configure-autoconf
3206 @$(unstage)
3207 @[ -f ./autoconf/Makefile ] || exit 0; \
3208 r=`${PWD_COMMAND}`; export r; \
3209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3210 $(HOST_EXPORTS) \
3211 for flag in $(EXTRA_HOST_FLAGS) ; do \
3212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3213 done; \
3214 echo "Doing dvi in autoconf" ; \
3215 (cd $(HOST_SUBDIR)/autoconf && \
3216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3218 "RANLIB=$${RANLIB}" \
3219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3220 dvi) \
3221 || exit 1
3223 @endif autoconf
3225 .PHONY: maybe-html-autoconf html-autoconf
3226 maybe-html-autoconf:
3227 @if autoconf
3228 maybe-html-autoconf: html-autoconf
3230 html-autoconf: \
3231 configure-autoconf
3232 @$(unstage)
3233 @[ -f ./autoconf/Makefile ] || exit 0; \
3234 r=`${PWD_COMMAND}`; export r; \
3235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3236 $(HOST_EXPORTS) \
3237 for flag in $(EXTRA_HOST_FLAGS) ; do \
3238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3239 done; \
3240 echo "Doing html in autoconf" ; \
3241 (cd $(HOST_SUBDIR)/autoconf && \
3242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3244 "RANLIB=$${RANLIB}" \
3245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3246 html) \
3247 || exit 1
3249 @endif autoconf
3251 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
3252 maybe-TAGS-autoconf:
3253 @if autoconf
3254 maybe-TAGS-autoconf: TAGS-autoconf
3256 TAGS-autoconf: \
3257 configure-autoconf
3258 @$(unstage)
3259 @[ -f ./autoconf/Makefile ] || exit 0; \
3260 r=`${PWD_COMMAND}`; export r; \
3261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3262 $(HOST_EXPORTS) \
3263 for flag in $(EXTRA_HOST_FLAGS) ; do \
3264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3265 done; \
3266 echo "Doing TAGS in autoconf" ; \
3267 (cd $(HOST_SUBDIR)/autoconf && \
3268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3270 "RANLIB=$${RANLIB}" \
3271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3272 TAGS) \
3273 || exit 1
3275 @endif autoconf
3277 .PHONY: maybe-install-info-autoconf install-info-autoconf
3278 maybe-install-info-autoconf:
3279 @if autoconf
3280 maybe-install-info-autoconf: install-info-autoconf
3282 install-info-autoconf: \
3283 configure-autoconf \
3284 info-autoconf
3285 @$(unstage)
3286 @[ -f ./autoconf/Makefile ] || exit 0; \
3287 r=`${PWD_COMMAND}`; export r; \
3288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3289 $(HOST_EXPORTS) \
3290 for flag in $(EXTRA_HOST_FLAGS) ; do \
3291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3292 done; \
3293 echo "Doing install-info in autoconf" ; \
3294 (cd $(HOST_SUBDIR)/autoconf && \
3295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3297 "RANLIB=$${RANLIB}" \
3298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3299 install-info) \
3300 || exit 1
3302 @endif autoconf
3304 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3305 maybe-installcheck-autoconf:
3306 @if autoconf
3307 maybe-installcheck-autoconf: installcheck-autoconf
3309 installcheck-autoconf: \
3310 configure-autoconf
3311 @$(unstage)
3312 @[ -f ./autoconf/Makefile ] || exit 0; \
3313 r=`${PWD_COMMAND}`; export r; \
3314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3315 $(HOST_EXPORTS) \
3316 for flag in $(EXTRA_HOST_FLAGS) ; do \
3317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3318 done; \
3319 echo "Doing installcheck in autoconf" ; \
3320 (cd $(HOST_SUBDIR)/autoconf && \
3321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3323 "RANLIB=$${RANLIB}" \
3324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3325 installcheck) \
3326 || exit 1
3328 @endif autoconf
3330 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3331 maybe-mostlyclean-autoconf:
3332 @if autoconf
3333 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3335 mostlyclean-autoconf:
3336 @$(unstage)
3337 @[ -f ./autoconf/Makefile ] || exit 0; \
3338 r=`${PWD_COMMAND}`; export r; \
3339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3340 $(HOST_EXPORTS) \
3341 for flag in $(EXTRA_HOST_FLAGS) ; do \
3342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3343 done; \
3344 echo "Doing mostlyclean in autoconf" ; \
3345 (cd $(HOST_SUBDIR)/autoconf && \
3346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3348 "RANLIB=$${RANLIB}" \
3349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3350 mostlyclean) \
3351 || exit 1
3353 @endif autoconf
3355 .PHONY: maybe-clean-autoconf clean-autoconf
3356 maybe-clean-autoconf:
3357 @if autoconf
3358 maybe-clean-autoconf: clean-autoconf
3360 clean-autoconf:
3361 @$(unstage)
3362 @[ -f ./autoconf/Makefile ] || exit 0; \
3363 r=`${PWD_COMMAND}`; export r; \
3364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3365 $(HOST_EXPORTS) \
3366 for flag in $(EXTRA_HOST_FLAGS) ; do \
3367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3368 done; \
3369 echo "Doing clean in autoconf" ; \
3370 (cd $(HOST_SUBDIR)/autoconf && \
3371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3373 "RANLIB=$${RANLIB}" \
3374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3375 clean) \
3376 || exit 1
3378 @endif autoconf
3380 .PHONY: maybe-distclean-autoconf distclean-autoconf
3381 maybe-distclean-autoconf:
3382 @if autoconf
3383 maybe-distclean-autoconf: distclean-autoconf
3385 distclean-autoconf:
3386 @$(unstage)
3387 @[ -f ./autoconf/Makefile ] || exit 0; \
3388 r=`${PWD_COMMAND}`; export r; \
3389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3390 $(HOST_EXPORTS) \
3391 for flag in $(EXTRA_HOST_FLAGS) ; do \
3392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3393 done; \
3394 echo "Doing distclean in autoconf" ; \
3395 (cd $(HOST_SUBDIR)/autoconf && \
3396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3398 "RANLIB=$${RANLIB}" \
3399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3400 distclean) \
3401 || exit 1
3403 @endif autoconf
3405 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3406 maybe-maintainer-clean-autoconf:
3407 @if autoconf
3408 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3410 maintainer-clean-autoconf:
3411 @$(unstage)
3412 @[ -f ./autoconf/Makefile ] || exit 0; \
3413 r=`${PWD_COMMAND}`; export r; \
3414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3415 $(HOST_EXPORTS) \
3416 for flag in $(EXTRA_HOST_FLAGS) ; do \
3417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3418 done; \
3419 echo "Doing maintainer-clean in autoconf" ; \
3420 (cd $(HOST_SUBDIR)/autoconf && \
3421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3423 "RANLIB=$${RANLIB}" \
3424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3425 maintainer-clean) \
3426 || exit 1
3428 @endif autoconf
3432 .PHONY: configure-automake maybe-configure-automake
3433 maybe-configure-automake:
3434 @if automake
3435 maybe-configure-automake: configure-automake
3436 configure-automake:
3437 @$(unstage)
3438 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3440 r=`${PWD_COMMAND}`; export r; \
3441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3442 $(HOST_EXPORTS) \
3443 echo Configuring in $(HOST_SUBDIR)/automake; \
3444 cd "$(HOST_SUBDIR)/automake" || exit 1; \
3445 case $(srcdir) in \
3446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3447 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3449 esac; \
3450 srcdiroption="--srcdir=$${topdir}/automake"; \
3451 libsrcdir="$$s/automake"; \
3452 $(SHELL) $${libsrcdir}/configure \
3453 $(HOST_CONFIGARGS) $${srcdiroption} \
3454 || exit 1
3455 @endif automake
3461 .PHONY: all-automake maybe-all-automake
3462 maybe-all-automake:
3463 @if automake
3464 TARGET-automake=all
3465 maybe-all-automake: all-automake
3466 all-automake: configure-automake
3467 @$(unstage)
3468 @r=`${PWD_COMMAND}`; export r; \
3469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3470 $(HOST_EXPORTS) \
3471 (cd $(HOST_SUBDIR)/automake && \
3472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3473 @endif automake
3478 .PHONY: check-automake maybe-check-automake
3479 maybe-check-automake:
3480 @if automake
3481 maybe-check-automake: check-automake
3483 check-automake:
3484 @$(unstage)
3485 @r=`${PWD_COMMAND}`; export r; \
3486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3487 $(HOST_EXPORTS) \
3488 (cd $(HOST_SUBDIR)/automake && \
3489 $(MAKE) $(FLAGS_TO_PASS) check)
3491 @endif automake
3493 .PHONY: install-automake maybe-install-automake
3494 maybe-install-automake:
3495 @if automake
3496 maybe-install-automake: install-automake
3498 install-automake: installdirs
3499 @$(unstage)
3500 @r=`${PWD_COMMAND}`; export r; \
3501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3502 $(HOST_EXPORTS) \
3503 (cd $(HOST_SUBDIR)/automake && \
3504 $(MAKE) $(FLAGS_TO_PASS) install)
3506 @endif automake
3508 # Other targets (info, dvi, etc.)
3510 .PHONY: maybe-info-automake info-automake
3511 maybe-info-automake:
3512 @if automake
3513 maybe-info-automake: info-automake
3515 info-automake: \
3516 configure-automake
3517 @$(unstage)
3518 @[ -f ./automake/Makefile ] || exit 0; \
3519 r=`${PWD_COMMAND}`; export r; \
3520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3521 $(HOST_EXPORTS) \
3522 for flag in $(EXTRA_HOST_FLAGS) ; do \
3523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3524 done; \
3525 echo "Doing info in automake" ; \
3526 (cd $(HOST_SUBDIR)/automake && \
3527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3529 "RANLIB=$${RANLIB}" \
3530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3531 info) \
3532 || exit 1
3534 @endif automake
3536 .PHONY: maybe-dvi-automake dvi-automake
3537 maybe-dvi-automake:
3538 @if automake
3539 maybe-dvi-automake: dvi-automake
3541 dvi-automake: \
3542 configure-automake
3543 @$(unstage)
3544 @[ -f ./automake/Makefile ] || exit 0; \
3545 r=`${PWD_COMMAND}`; export r; \
3546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3547 $(HOST_EXPORTS) \
3548 for flag in $(EXTRA_HOST_FLAGS) ; do \
3549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3550 done; \
3551 echo "Doing dvi in automake" ; \
3552 (cd $(HOST_SUBDIR)/automake && \
3553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3555 "RANLIB=$${RANLIB}" \
3556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3557 dvi) \
3558 || exit 1
3560 @endif automake
3562 .PHONY: maybe-html-automake html-automake
3563 maybe-html-automake:
3564 @if automake
3565 maybe-html-automake: html-automake
3567 html-automake: \
3568 configure-automake
3569 @$(unstage)
3570 @[ -f ./automake/Makefile ] || exit 0; \
3571 r=`${PWD_COMMAND}`; export r; \
3572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3573 $(HOST_EXPORTS) \
3574 for flag in $(EXTRA_HOST_FLAGS) ; do \
3575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3576 done; \
3577 echo "Doing html in automake" ; \
3578 (cd $(HOST_SUBDIR)/automake && \
3579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3581 "RANLIB=$${RANLIB}" \
3582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3583 html) \
3584 || exit 1
3586 @endif automake
3588 .PHONY: maybe-TAGS-automake TAGS-automake
3589 maybe-TAGS-automake:
3590 @if automake
3591 maybe-TAGS-automake: TAGS-automake
3593 TAGS-automake: \
3594 configure-automake
3595 @$(unstage)
3596 @[ -f ./automake/Makefile ] || exit 0; \
3597 r=`${PWD_COMMAND}`; export r; \
3598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3599 $(HOST_EXPORTS) \
3600 for flag in $(EXTRA_HOST_FLAGS) ; do \
3601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3602 done; \
3603 echo "Doing TAGS in automake" ; \
3604 (cd $(HOST_SUBDIR)/automake && \
3605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3607 "RANLIB=$${RANLIB}" \
3608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3609 TAGS) \
3610 || exit 1
3612 @endif automake
3614 .PHONY: maybe-install-info-automake install-info-automake
3615 maybe-install-info-automake:
3616 @if automake
3617 maybe-install-info-automake: install-info-automake
3619 install-info-automake: \
3620 configure-automake \
3621 info-automake
3622 @$(unstage)
3623 @[ -f ./automake/Makefile ] || exit 0; \
3624 r=`${PWD_COMMAND}`; export r; \
3625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3626 $(HOST_EXPORTS) \
3627 for flag in $(EXTRA_HOST_FLAGS) ; do \
3628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3629 done; \
3630 echo "Doing install-info in automake" ; \
3631 (cd $(HOST_SUBDIR)/automake && \
3632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3634 "RANLIB=$${RANLIB}" \
3635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3636 install-info) \
3637 || exit 1
3639 @endif automake
3641 .PHONY: maybe-installcheck-automake installcheck-automake
3642 maybe-installcheck-automake:
3643 @if automake
3644 maybe-installcheck-automake: installcheck-automake
3646 installcheck-automake: \
3647 configure-automake
3648 @$(unstage)
3649 @[ -f ./automake/Makefile ] || exit 0; \
3650 r=`${PWD_COMMAND}`; export r; \
3651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3652 $(HOST_EXPORTS) \
3653 for flag in $(EXTRA_HOST_FLAGS) ; do \
3654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3655 done; \
3656 echo "Doing installcheck in automake" ; \
3657 (cd $(HOST_SUBDIR)/automake && \
3658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3660 "RANLIB=$${RANLIB}" \
3661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3662 installcheck) \
3663 || exit 1
3665 @endif automake
3667 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3668 maybe-mostlyclean-automake:
3669 @if automake
3670 maybe-mostlyclean-automake: mostlyclean-automake
3672 mostlyclean-automake:
3673 @$(unstage)
3674 @[ -f ./automake/Makefile ] || exit 0; \
3675 r=`${PWD_COMMAND}`; export r; \
3676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3677 $(HOST_EXPORTS) \
3678 for flag in $(EXTRA_HOST_FLAGS) ; do \
3679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3680 done; \
3681 echo "Doing mostlyclean in automake" ; \
3682 (cd $(HOST_SUBDIR)/automake && \
3683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3685 "RANLIB=$${RANLIB}" \
3686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3687 mostlyclean) \
3688 || exit 1
3690 @endif automake
3692 .PHONY: maybe-clean-automake clean-automake
3693 maybe-clean-automake:
3694 @if automake
3695 maybe-clean-automake: clean-automake
3697 clean-automake:
3698 @$(unstage)
3699 @[ -f ./automake/Makefile ] || exit 0; \
3700 r=`${PWD_COMMAND}`; export r; \
3701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3702 $(HOST_EXPORTS) \
3703 for flag in $(EXTRA_HOST_FLAGS) ; do \
3704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3705 done; \
3706 echo "Doing clean in automake" ; \
3707 (cd $(HOST_SUBDIR)/automake && \
3708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3710 "RANLIB=$${RANLIB}" \
3711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3712 clean) \
3713 || exit 1
3715 @endif automake
3717 .PHONY: maybe-distclean-automake distclean-automake
3718 maybe-distclean-automake:
3719 @if automake
3720 maybe-distclean-automake: distclean-automake
3722 distclean-automake:
3723 @$(unstage)
3724 @[ -f ./automake/Makefile ] || exit 0; \
3725 r=`${PWD_COMMAND}`; export r; \
3726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3727 $(HOST_EXPORTS) \
3728 for flag in $(EXTRA_HOST_FLAGS) ; do \
3729 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3730 done; \
3731 echo "Doing distclean in automake" ; \
3732 (cd $(HOST_SUBDIR)/automake && \
3733 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3734 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3735 "RANLIB=$${RANLIB}" \
3736 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3737 distclean) \
3738 || exit 1
3740 @endif automake
3742 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3743 maybe-maintainer-clean-automake:
3744 @if automake
3745 maybe-maintainer-clean-automake: maintainer-clean-automake
3747 maintainer-clean-automake:
3748 @$(unstage)
3749 @[ -f ./automake/Makefile ] || exit 0; \
3750 r=`${PWD_COMMAND}`; export r; \
3751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3752 $(HOST_EXPORTS) \
3753 for flag in $(EXTRA_HOST_FLAGS) ; do \
3754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3755 done; \
3756 echo "Doing maintainer-clean in automake" ; \
3757 (cd $(HOST_SUBDIR)/automake && \
3758 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3759 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3760 "RANLIB=$${RANLIB}" \
3761 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3762 maintainer-clean) \
3763 || exit 1
3765 @endif automake
3769 .PHONY: configure-bash maybe-configure-bash
3770 maybe-configure-bash:
3771 @if bash
3772 maybe-configure-bash: configure-bash
3773 configure-bash:
3774 @$(unstage)
3775 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3777 r=`${PWD_COMMAND}`; export r; \
3778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3779 $(HOST_EXPORTS) \
3780 echo Configuring in $(HOST_SUBDIR)/bash; \
3781 cd "$(HOST_SUBDIR)/bash" || exit 1; \
3782 case $(srcdir) in \
3783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3784 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3786 esac; \
3787 srcdiroption="--srcdir=$${topdir}/bash"; \
3788 libsrcdir="$$s/bash"; \
3789 $(SHELL) $${libsrcdir}/configure \
3790 $(HOST_CONFIGARGS) $${srcdiroption} \
3791 || exit 1
3792 @endif bash
3798 .PHONY: all-bash maybe-all-bash
3799 maybe-all-bash:
3800 @if bash
3801 TARGET-bash=all
3802 maybe-all-bash: all-bash
3803 all-bash: configure-bash
3804 @$(unstage)
3805 @r=`${PWD_COMMAND}`; export r; \
3806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3807 $(HOST_EXPORTS) \
3808 (cd $(HOST_SUBDIR)/bash && \
3809 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3810 @endif bash
3815 .PHONY: check-bash maybe-check-bash
3816 maybe-check-bash:
3817 @if bash
3818 maybe-check-bash: check-bash
3820 check-bash:
3821 @$(unstage)
3822 @r=`${PWD_COMMAND}`; export r; \
3823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3824 $(HOST_EXPORTS) \
3825 (cd $(HOST_SUBDIR)/bash && \
3826 $(MAKE) $(FLAGS_TO_PASS) check)
3828 @endif bash
3830 .PHONY: install-bash maybe-install-bash
3831 maybe-install-bash:
3832 @if bash
3833 maybe-install-bash: install-bash
3835 install-bash: installdirs
3836 @$(unstage)
3837 @r=`${PWD_COMMAND}`; export r; \
3838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3839 $(HOST_EXPORTS) \
3840 (cd $(HOST_SUBDIR)/bash && \
3841 $(MAKE) $(FLAGS_TO_PASS) install)
3843 @endif bash
3845 # Other targets (info, dvi, etc.)
3847 .PHONY: maybe-info-bash info-bash
3848 maybe-info-bash:
3849 @if bash
3850 maybe-info-bash: info-bash
3852 info-bash: \
3853 configure-bash
3854 @$(unstage)
3855 @[ -f ./bash/Makefile ] || exit 0; \
3856 r=`${PWD_COMMAND}`; export r; \
3857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3858 $(HOST_EXPORTS) \
3859 for flag in $(EXTRA_HOST_FLAGS) ; do \
3860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3861 done; \
3862 echo "Doing info in bash" ; \
3863 (cd $(HOST_SUBDIR)/bash && \
3864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3866 "RANLIB=$${RANLIB}" \
3867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3868 info) \
3869 || exit 1
3871 @endif bash
3873 .PHONY: maybe-dvi-bash dvi-bash
3874 maybe-dvi-bash:
3875 @if bash
3876 maybe-dvi-bash: dvi-bash
3878 dvi-bash: \
3879 configure-bash
3880 @$(unstage)
3881 @[ -f ./bash/Makefile ] || exit 0; \
3882 r=`${PWD_COMMAND}`; export r; \
3883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3884 $(HOST_EXPORTS) \
3885 for flag in $(EXTRA_HOST_FLAGS) ; do \
3886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3887 done; \
3888 echo "Doing dvi in bash" ; \
3889 (cd $(HOST_SUBDIR)/bash && \
3890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3892 "RANLIB=$${RANLIB}" \
3893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3894 dvi) \
3895 || exit 1
3897 @endif bash
3899 .PHONY: maybe-html-bash html-bash
3900 maybe-html-bash:
3901 @if bash
3902 maybe-html-bash: html-bash
3904 html-bash: \
3905 configure-bash
3906 @$(unstage)
3907 @[ -f ./bash/Makefile ] || exit 0; \
3908 r=`${PWD_COMMAND}`; export r; \
3909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3910 $(HOST_EXPORTS) \
3911 for flag in $(EXTRA_HOST_FLAGS) ; do \
3912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3913 done; \
3914 echo "Doing html in bash" ; \
3915 (cd $(HOST_SUBDIR)/bash && \
3916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3918 "RANLIB=$${RANLIB}" \
3919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3920 html) \
3921 || exit 1
3923 @endif bash
3925 .PHONY: maybe-TAGS-bash TAGS-bash
3926 maybe-TAGS-bash:
3927 @if bash
3928 maybe-TAGS-bash: TAGS-bash
3930 TAGS-bash: \
3931 configure-bash
3932 @$(unstage)
3933 @[ -f ./bash/Makefile ] || exit 0; \
3934 r=`${PWD_COMMAND}`; export r; \
3935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3936 $(HOST_EXPORTS) \
3937 for flag in $(EXTRA_HOST_FLAGS) ; do \
3938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3939 done; \
3940 echo "Doing TAGS in bash" ; \
3941 (cd $(HOST_SUBDIR)/bash && \
3942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3944 "RANLIB=$${RANLIB}" \
3945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3946 TAGS) \
3947 || exit 1
3949 @endif bash
3951 .PHONY: maybe-install-info-bash install-info-bash
3952 maybe-install-info-bash:
3953 @if bash
3954 maybe-install-info-bash: install-info-bash
3956 install-info-bash: \
3957 configure-bash \
3958 info-bash
3959 @$(unstage)
3960 @[ -f ./bash/Makefile ] || exit 0; \
3961 r=`${PWD_COMMAND}`; export r; \
3962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3963 $(HOST_EXPORTS) \
3964 for flag in $(EXTRA_HOST_FLAGS) ; do \
3965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3966 done; \
3967 echo "Doing install-info in bash" ; \
3968 (cd $(HOST_SUBDIR)/bash && \
3969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3971 "RANLIB=$${RANLIB}" \
3972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3973 install-info) \
3974 || exit 1
3976 @endif bash
3978 .PHONY: maybe-installcheck-bash installcheck-bash
3979 maybe-installcheck-bash:
3980 @if bash
3981 maybe-installcheck-bash: installcheck-bash
3983 installcheck-bash: \
3984 configure-bash
3985 @$(unstage)
3986 @[ -f ./bash/Makefile ] || exit 0; \
3987 r=`${PWD_COMMAND}`; export r; \
3988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3989 $(HOST_EXPORTS) \
3990 for flag in $(EXTRA_HOST_FLAGS) ; do \
3991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3992 done; \
3993 echo "Doing installcheck in bash" ; \
3994 (cd $(HOST_SUBDIR)/bash && \
3995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3997 "RANLIB=$${RANLIB}" \
3998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3999 installcheck) \
4000 || exit 1
4002 @endif bash
4004 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
4005 maybe-mostlyclean-bash:
4006 @if bash
4007 maybe-mostlyclean-bash: mostlyclean-bash
4009 mostlyclean-bash:
4010 @$(unstage)
4011 @[ -f ./bash/Makefile ] || exit 0; \
4012 r=`${PWD_COMMAND}`; export r; \
4013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4014 $(HOST_EXPORTS) \
4015 for flag in $(EXTRA_HOST_FLAGS) ; do \
4016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4017 done; \
4018 echo "Doing mostlyclean in bash" ; \
4019 (cd $(HOST_SUBDIR)/bash && \
4020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4022 "RANLIB=$${RANLIB}" \
4023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4024 mostlyclean) \
4025 || exit 1
4027 @endif bash
4029 .PHONY: maybe-clean-bash clean-bash
4030 maybe-clean-bash:
4031 @if bash
4032 maybe-clean-bash: clean-bash
4034 clean-bash:
4035 @$(unstage)
4036 @[ -f ./bash/Makefile ] || exit 0; \
4037 r=`${PWD_COMMAND}`; export r; \
4038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4039 $(HOST_EXPORTS) \
4040 for flag in $(EXTRA_HOST_FLAGS) ; do \
4041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4042 done; \
4043 echo "Doing clean in bash" ; \
4044 (cd $(HOST_SUBDIR)/bash && \
4045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4047 "RANLIB=$${RANLIB}" \
4048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4049 clean) \
4050 || exit 1
4052 @endif bash
4054 .PHONY: maybe-distclean-bash distclean-bash
4055 maybe-distclean-bash:
4056 @if bash
4057 maybe-distclean-bash: distclean-bash
4059 distclean-bash:
4060 @$(unstage)
4061 @[ -f ./bash/Makefile ] || exit 0; \
4062 r=`${PWD_COMMAND}`; export r; \
4063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4064 $(HOST_EXPORTS) \
4065 for flag in $(EXTRA_HOST_FLAGS) ; do \
4066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4067 done; \
4068 echo "Doing distclean in bash" ; \
4069 (cd $(HOST_SUBDIR)/bash && \
4070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4072 "RANLIB=$${RANLIB}" \
4073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4074 distclean) \
4075 || exit 1
4077 @endif bash
4079 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
4080 maybe-maintainer-clean-bash:
4081 @if bash
4082 maybe-maintainer-clean-bash: maintainer-clean-bash
4084 maintainer-clean-bash:
4085 @$(unstage)
4086 @[ -f ./bash/Makefile ] || exit 0; \
4087 r=`${PWD_COMMAND}`; export r; \
4088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4089 $(HOST_EXPORTS) \
4090 for flag in $(EXTRA_HOST_FLAGS) ; do \
4091 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4092 done; \
4093 echo "Doing maintainer-clean in bash" ; \
4094 (cd $(HOST_SUBDIR)/bash && \
4095 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4096 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4097 "RANLIB=$${RANLIB}" \
4098 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4099 maintainer-clean) \
4100 || exit 1
4102 @endif bash
4106 .PHONY: configure-bfd maybe-configure-bfd
4107 maybe-configure-bfd:
4108 @if bfd
4109 maybe-configure-bfd: configure-bfd
4110 configure-bfd:
4111 @test -f stage_last && exit 0; \
4112 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
4113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
4114 r=`${PWD_COMMAND}`; export r; \
4115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4116 $(HOST_EXPORTS) \
4117 echo Configuring in $(HOST_SUBDIR)/bfd; \
4118 cd "$(HOST_SUBDIR)/bfd" || exit 1; \
4119 case $(srcdir) in \
4120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4121 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4123 esac; \
4124 srcdiroption="--srcdir=$${topdir}/bfd"; \
4125 libsrcdir="$$s/bfd"; \
4126 $(SHELL) $${libsrcdir}/configure \
4127 $(HOST_CONFIGARGS) $${srcdiroption} \
4128 || exit 1
4129 @endif bfd
4133 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
4134 maybe-configure-stage1-bfd:
4135 @if bfd-bootstrap
4136 maybe-configure-stage1-bfd: configure-stage1-bfd
4137 configure-stage1-bfd:
4138 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4139 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4140 r=`${PWD_COMMAND}`; export r; \
4141 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4142 $(HOST_EXPORTS) \
4143 echo Configuring stage 1 in $(HOST_SUBDIR)/bfd ; \
4144 cd $(HOST_SUBDIR)/bfd || exit 1; \
4145 case $(srcdir) in \
4146 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4147 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4148 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4149 esac; \
4150 srcdiroption="--srcdir=$${topdir}/bfd"; \
4151 libsrcdir="$$s/bfd"; \
4152 $(SHELL) $${libsrcdir}/configure \
4153 $(HOST_CONFIGARGS) $${srcdiroption} \
4154 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4155 @endif bfd-bootstrap
4157 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
4158 maybe-configure-stage2-bfd:
4159 @if bfd-bootstrap
4160 maybe-configure-stage2-bfd: configure-stage2-bfd
4161 configure-stage2-bfd:
4162 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4163 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4164 r=`${PWD_COMMAND}`; export r; \
4165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4166 $(HOST_EXPORTS) \
4167 $(POSTSTAGE1_HOST_EXPORTS) \
4168 echo Configuring stage 2 in $(HOST_SUBDIR)/bfd ; \
4169 cd $(HOST_SUBDIR)/bfd || exit 1; \
4170 case $(srcdir) in \
4171 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4172 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4173 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4174 esac; \
4175 srcdiroption="--srcdir=$${topdir}/bfd"; \
4176 libsrcdir="$$s/bfd"; \
4177 $(SHELL) $${libsrcdir}/configure \
4178 $(HOST_CONFIGARGS) $${srcdiroption} \
4179 @stage2_werror_flag@
4180 @endif bfd-bootstrap
4182 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
4183 maybe-configure-stage3-bfd:
4184 @if bfd-bootstrap
4185 maybe-configure-stage3-bfd: configure-stage3-bfd
4186 configure-stage3-bfd:
4187 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4188 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4189 r=`${PWD_COMMAND}`; export r; \
4190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4191 $(HOST_EXPORTS) \
4192 $(POSTSTAGE1_HOST_EXPORTS) \
4193 echo Configuring stage 3 in $(HOST_SUBDIR)/bfd ; \
4194 cd $(HOST_SUBDIR)/bfd || exit 1; \
4195 case $(srcdir) in \
4196 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4197 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4198 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4199 esac; \
4200 srcdiroption="--srcdir=$${topdir}/bfd"; \
4201 libsrcdir="$$s/bfd"; \
4202 $(SHELL) $${libsrcdir}/configure \
4203 $(HOST_CONFIGARGS) $${srcdiroption} \
4204 @stage2_werror_flag@
4205 @endif bfd-bootstrap
4207 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
4208 maybe-configure-stage4-bfd:
4209 @if bfd-bootstrap
4210 maybe-configure-stage4-bfd: configure-stage4-bfd
4211 configure-stage4-bfd:
4212 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4213 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4214 r=`${PWD_COMMAND}`; export r; \
4215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4216 $(HOST_EXPORTS) \
4217 $(POSTSTAGE1_HOST_EXPORTS) \
4218 echo Configuring stage 4 in $(HOST_SUBDIR)/bfd ; \
4219 cd $(HOST_SUBDIR)/bfd || exit 1; \
4220 case $(srcdir) in \
4221 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4222 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4223 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4224 esac; \
4225 srcdiroption="--srcdir=$${topdir}/bfd"; \
4226 libsrcdir="$$s/bfd"; \
4227 $(SHELL) $${libsrcdir}/configure \
4228 $(HOST_CONFIGARGS) $${srcdiroption} \
4229 @stage2_werror_flag@
4230 @endif bfd-bootstrap
4232 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
4233 maybe-configure-stageprofile-bfd:
4234 @if bfd-bootstrap
4235 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
4236 configure-stageprofile-bfd:
4237 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4238 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4239 r=`${PWD_COMMAND}`; export r; \
4240 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4241 $(HOST_EXPORTS) \
4242 $(POSTSTAGE1_HOST_EXPORTS) \
4243 echo Configuring stage profile in $(HOST_SUBDIR)/bfd ; \
4244 cd $(HOST_SUBDIR)/bfd || exit 1; \
4245 case $(srcdir) in \
4246 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4247 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4248 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4249 esac; \
4250 srcdiroption="--srcdir=$${topdir}/bfd"; \
4251 libsrcdir="$$s/bfd"; \
4252 $(SHELL) $${libsrcdir}/configure \
4253 $(HOST_CONFIGARGS) $${srcdiroption} \
4254 @stage2_werror_flag@
4255 @endif bfd-bootstrap
4257 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
4258 maybe-configure-stagefeedback-bfd:
4259 @if bfd-bootstrap
4260 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
4261 configure-stagefeedback-bfd:
4262 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4263 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] && exit 0 || : ; \
4264 r=`${PWD_COMMAND}`; export r; \
4265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4266 $(HOST_EXPORTS) \
4267 $(POSTSTAGE1_HOST_EXPORTS) \
4268 echo Configuring stage feedback in $(HOST_SUBDIR)/bfd ; \
4269 cd $(HOST_SUBDIR)/bfd || exit 1; \
4270 case $(srcdir) in \
4271 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4272 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
4273 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4274 esac; \
4275 srcdiroption="--srcdir=$${topdir}/bfd"; \
4276 libsrcdir="$$s/bfd"; \
4277 $(SHELL) $${libsrcdir}/configure \
4278 $(HOST_CONFIGARGS) $${srcdiroption} \
4279 @stage2_werror_flag@
4280 @endif bfd-bootstrap
4286 .PHONY: all-bfd maybe-all-bfd
4287 maybe-all-bfd:
4288 @if bfd
4289 TARGET-bfd=all
4290 maybe-all-bfd: all-bfd
4291 all-bfd: configure-bfd
4292 @test -f stage_last && exit 0; \
4293 r=`${PWD_COMMAND}`; export r; \
4294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4295 $(HOST_EXPORTS) \
4296 (cd $(HOST_SUBDIR)/bfd && \
4297 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
4298 @endif bfd
4302 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
4303 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
4304 maybe-all-stage1-bfd:
4305 maybe-clean-stage1-bfd:
4306 @if bfd-bootstrap
4307 maybe-all-stage1-bfd: all-stage1-bfd
4308 all-stage1: all-stage1-bfd
4309 TARGET-stage1-bfd = $(TARGET-bfd)
4310 all-stage1-bfd: configure-stage1-bfd
4311 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4312 @r=`${PWD_COMMAND}`; export r; \
4313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4314 $(HOST_EXPORTS) \
4315 cd $(HOST_SUBDIR)/bfd && \
4316 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4317 $(TARGET-stage1-bfd)
4319 maybe-clean-stage1-bfd: clean-stage1-bfd
4320 clean-stage1: clean-stage1-bfd
4321 clean-stage1-bfd:
4322 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-bfd/Makefile ] \
4323 || exit 0 ; \
4324 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4325 cd $(HOST_SUBDIR)/bfd && \
4326 $(MAKE) $(FLAGS_TO_PASS) \
4327 CFLAGS="$(STAGE1_CFLAGS)" clean
4328 @endif bfd-bootstrap
4331 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
4332 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
4333 maybe-all-stage2-bfd:
4334 maybe-clean-stage2-bfd:
4335 @if bfd-bootstrap
4336 maybe-all-stage2-bfd: all-stage2-bfd
4337 all-stage2: all-stage2-bfd
4338 TARGET-stage2-bfd = $(TARGET-bfd)
4339 all-stage2-bfd: configure-stage2-bfd
4340 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4341 @r=`${PWD_COMMAND}`; export r; \
4342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4343 $(HOST_EXPORTS) \
4344 $(POSTSTAGE1_HOST_EXPORTS) \
4345 cd $(HOST_SUBDIR)/bfd && \
4346 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4347 $(TARGET-stage2-bfd)
4349 maybe-clean-stage2-bfd: clean-stage2-bfd
4350 clean-stage2: clean-stage2-bfd
4351 clean-stage2-bfd:
4352 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-bfd/Makefile ] \
4353 || exit 0 ; \
4354 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4355 cd $(HOST_SUBDIR)/bfd && \
4356 $(MAKE) $(FLAGS_TO_PASS) \
4357 $(POSTSTAGE1_FLAGS_TO_PASS) \
4358 clean
4359 @endif bfd-bootstrap
4362 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
4363 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
4364 maybe-all-stage3-bfd:
4365 maybe-clean-stage3-bfd:
4366 @if bfd-bootstrap
4367 maybe-all-stage3-bfd: all-stage3-bfd
4368 all-stage3: all-stage3-bfd
4369 TARGET-stage3-bfd = $(TARGET-bfd)
4370 all-stage3-bfd: configure-stage3-bfd
4371 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4372 @r=`${PWD_COMMAND}`; export r; \
4373 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4374 $(HOST_EXPORTS) \
4375 $(POSTSTAGE1_HOST_EXPORTS) \
4376 cd $(HOST_SUBDIR)/bfd && \
4377 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4378 $(TARGET-stage3-bfd)
4380 maybe-clean-stage3-bfd: clean-stage3-bfd
4381 clean-stage3: clean-stage3-bfd
4382 clean-stage3-bfd:
4383 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-bfd/Makefile ] \
4384 || exit 0 ; \
4385 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4386 cd $(HOST_SUBDIR)/bfd && \
4387 $(MAKE) $(FLAGS_TO_PASS) \
4388 $(POSTSTAGE1_FLAGS_TO_PASS) \
4389 clean
4390 @endif bfd-bootstrap
4393 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
4394 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
4395 maybe-all-stage4-bfd:
4396 maybe-clean-stage4-bfd:
4397 @if bfd-bootstrap
4398 maybe-all-stage4-bfd: all-stage4-bfd
4399 all-stage4: all-stage4-bfd
4400 TARGET-stage4-bfd = $(TARGET-bfd)
4401 all-stage4-bfd: configure-stage4-bfd
4402 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4403 @r=`${PWD_COMMAND}`; export r; \
4404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4405 $(HOST_EXPORTS) \
4406 $(POSTSTAGE1_HOST_EXPORTS) \
4407 cd $(HOST_SUBDIR)/bfd && \
4408 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
4409 $(TARGET-stage4-bfd)
4411 maybe-clean-stage4-bfd: clean-stage4-bfd
4412 clean-stage4: clean-stage4-bfd
4413 clean-stage4-bfd:
4414 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-bfd/Makefile ] \
4415 || exit 0 ; \
4416 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4417 cd $(HOST_SUBDIR)/bfd && \
4418 $(MAKE) $(FLAGS_TO_PASS) \
4419 $(POSTSTAGE1_FLAGS_TO_PASS) \
4420 clean
4421 @endif bfd-bootstrap
4424 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
4425 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
4426 maybe-all-stageprofile-bfd:
4427 maybe-clean-stageprofile-bfd:
4428 @if bfd-bootstrap
4429 maybe-all-stageprofile-bfd: all-stageprofile-bfd
4430 all-stageprofile: all-stageprofile-bfd
4431 TARGET-stageprofile-bfd = $(TARGET-bfd)
4432 all-stageprofile-bfd: configure-stageprofile-bfd
4433 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4434 @r=`${PWD_COMMAND}`; export r; \
4435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4436 $(HOST_EXPORTS) \
4437 $(POSTSTAGE1_HOST_EXPORTS) \
4438 cd $(HOST_SUBDIR)/bfd && \
4439 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
4440 $(TARGET-stageprofile-bfd)
4442 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
4443 clean-stageprofile: clean-stageprofile-bfd
4444 clean-stageprofile-bfd:
4445 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-bfd/Makefile ] \
4446 || exit 0 ; \
4447 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4448 cd $(HOST_SUBDIR)/bfd && \
4449 $(MAKE) $(FLAGS_TO_PASS) \
4450 $(POSTSTAGE1_FLAGS_TO_PASS) \
4451 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
4452 @endif bfd-bootstrap
4455 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
4456 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
4457 maybe-all-stagefeedback-bfd:
4458 maybe-clean-stagefeedback-bfd:
4459 @if bfd-bootstrap
4460 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
4461 all-stagefeedback: all-stagefeedback-bfd
4462 TARGET-stagefeedback-bfd = $(TARGET-bfd)
4463 all-stagefeedback-bfd: configure-stagefeedback-bfd
4464 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4465 @r=`${PWD_COMMAND}`; export r; \
4466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4467 $(HOST_EXPORTS) \
4468 $(POSTSTAGE1_HOST_EXPORTS) \
4469 cd $(HOST_SUBDIR)/bfd && \
4470 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
4471 $(TARGET-stagefeedback-bfd)
4473 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
4474 clean-stagefeedback: clean-stagefeedback-bfd
4475 clean-stagefeedback-bfd:
4476 @[ -f $(HOST_SUBDIR)/bfd/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-bfd/Makefile ] \
4477 || exit 0 ; \
4478 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4479 cd $(HOST_SUBDIR)/bfd && \
4480 $(MAKE) $(FLAGS_TO_PASS) \
4481 $(POSTSTAGE1_FLAGS_TO_PASS) \
4482 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
4483 @endif bfd-bootstrap
4489 .PHONY: check-bfd maybe-check-bfd
4490 maybe-check-bfd:
4491 @if bfd
4492 maybe-check-bfd: check-bfd
4494 check-bfd:
4495 @$(unstage)
4496 @r=`${PWD_COMMAND}`; export r; \
4497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4498 $(HOST_EXPORTS) \
4499 (cd $(HOST_SUBDIR)/bfd && \
4500 $(MAKE) $(FLAGS_TO_PASS) check)
4502 @endif bfd
4504 .PHONY: install-bfd maybe-install-bfd
4505 maybe-install-bfd:
4506 @if bfd
4507 maybe-install-bfd: install-bfd
4509 install-bfd: installdirs
4510 @$(unstage)
4511 @r=`${PWD_COMMAND}`; export r; \
4512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4513 $(HOST_EXPORTS) \
4514 (cd $(HOST_SUBDIR)/bfd && \
4515 $(MAKE) $(FLAGS_TO_PASS) install)
4517 @endif bfd
4519 # Other targets (info, dvi, etc.)
4521 .PHONY: maybe-info-bfd info-bfd
4522 maybe-info-bfd:
4523 @if bfd
4524 maybe-info-bfd: info-bfd
4526 info-bfd: \
4527 configure-bfd
4528 @[ -f ./bfd/Makefile ] || exit 0; \
4529 r=`${PWD_COMMAND}`; export r; \
4530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4531 $(HOST_EXPORTS) \
4532 for flag in $(EXTRA_HOST_FLAGS) ; do \
4533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4534 done; \
4535 echo "Doing info in bfd" ; \
4536 (cd $(HOST_SUBDIR)/bfd && \
4537 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4538 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4539 "RANLIB=$${RANLIB}" \
4540 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4541 info) \
4542 || exit 1
4544 @endif bfd
4546 .PHONY: maybe-dvi-bfd dvi-bfd
4547 maybe-dvi-bfd:
4548 @if bfd
4549 maybe-dvi-bfd: dvi-bfd
4551 dvi-bfd: \
4552 configure-bfd
4553 @[ -f ./bfd/Makefile ] || exit 0; \
4554 r=`${PWD_COMMAND}`; export r; \
4555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4556 $(HOST_EXPORTS) \
4557 for flag in $(EXTRA_HOST_FLAGS) ; do \
4558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4559 done; \
4560 echo "Doing dvi in bfd" ; \
4561 (cd $(HOST_SUBDIR)/bfd && \
4562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4564 "RANLIB=$${RANLIB}" \
4565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4566 dvi) \
4567 || exit 1
4569 @endif bfd
4571 .PHONY: maybe-html-bfd html-bfd
4572 maybe-html-bfd:
4573 @if bfd
4574 maybe-html-bfd: html-bfd
4576 html-bfd: \
4577 configure-bfd
4578 @[ -f ./bfd/Makefile ] || exit 0; \
4579 r=`${PWD_COMMAND}`; export r; \
4580 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4581 $(HOST_EXPORTS) \
4582 for flag in $(EXTRA_HOST_FLAGS) ; do \
4583 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4584 done; \
4585 echo "Doing html in bfd" ; \
4586 (cd $(HOST_SUBDIR)/bfd && \
4587 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4588 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4589 "RANLIB=$${RANLIB}" \
4590 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4591 html) \
4592 || exit 1
4594 @endif bfd
4596 .PHONY: maybe-TAGS-bfd TAGS-bfd
4597 maybe-TAGS-bfd:
4598 @if bfd
4599 maybe-TAGS-bfd: TAGS-bfd
4601 TAGS-bfd: \
4602 configure-bfd
4603 @[ -f ./bfd/Makefile ] || exit 0; \
4604 r=`${PWD_COMMAND}`; export r; \
4605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4606 $(HOST_EXPORTS) \
4607 for flag in $(EXTRA_HOST_FLAGS) ; do \
4608 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4609 done; \
4610 echo "Doing TAGS in bfd" ; \
4611 (cd $(HOST_SUBDIR)/bfd && \
4612 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4613 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4614 "RANLIB=$${RANLIB}" \
4615 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4616 TAGS) \
4617 || exit 1
4619 @endif bfd
4621 .PHONY: maybe-install-info-bfd install-info-bfd
4622 maybe-install-info-bfd:
4623 @if bfd
4624 maybe-install-info-bfd: install-info-bfd
4626 install-info-bfd: \
4627 configure-bfd \
4628 info-bfd
4629 @[ -f ./bfd/Makefile ] || exit 0; \
4630 r=`${PWD_COMMAND}`; export r; \
4631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4632 $(HOST_EXPORTS) \
4633 for flag in $(EXTRA_HOST_FLAGS) ; do \
4634 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4635 done; \
4636 echo "Doing install-info in bfd" ; \
4637 (cd $(HOST_SUBDIR)/bfd && \
4638 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4639 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4640 "RANLIB=$${RANLIB}" \
4641 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4642 install-info) \
4643 || exit 1
4645 @endif bfd
4647 .PHONY: maybe-installcheck-bfd installcheck-bfd
4648 maybe-installcheck-bfd:
4649 @if bfd
4650 maybe-installcheck-bfd: installcheck-bfd
4652 installcheck-bfd: \
4653 configure-bfd
4654 @[ -f ./bfd/Makefile ] || exit 0; \
4655 r=`${PWD_COMMAND}`; export r; \
4656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4657 $(HOST_EXPORTS) \
4658 for flag in $(EXTRA_HOST_FLAGS) ; do \
4659 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4660 done; \
4661 echo "Doing installcheck in bfd" ; \
4662 (cd $(HOST_SUBDIR)/bfd && \
4663 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4664 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4665 "RANLIB=$${RANLIB}" \
4666 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4667 installcheck) \
4668 || exit 1
4670 @endif bfd
4672 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4673 maybe-mostlyclean-bfd:
4674 @if bfd
4675 maybe-mostlyclean-bfd: mostlyclean-bfd
4677 mostlyclean-bfd:
4678 @[ -f ./bfd/Makefile ] || exit 0; \
4679 r=`${PWD_COMMAND}`; export r; \
4680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4681 $(HOST_EXPORTS) \
4682 for flag in $(EXTRA_HOST_FLAGS) ; do \
4683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4684 done; \
4685 echo "Doing mostlyclean in bfd" ; \
4686 (cd $(HOST_SUBDIR)/bfd && \
4687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4689 "RANLIB=$${RANLIB}" \
4690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4691 mostlyclean) \
4692 || exit 1
4694 @endif bfd
4696 .PHONY: maybe-clean-bfd clean-bfd
4697 maybe-clean-bfd:
4698 @if bfd
4699 maybe-clean-bfd: clean-bfd
4701 clean-bfd:
4702 @[ -f ./bfd/Makefile ] || exit 0; \
4703 r=`${PWD_COMMAND}`; export r; \
4704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 $(HOST_EXPORTS) \
4706 for flag in $(EXTRA_HOST_FLAGS) ; do \
4707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4708 done; \
4709 echo "Doing clean in bfd" ; \
4710 (cd $(HOST_SUBDIR)/bfd && \
4711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4713 "RANLIB=$${RANLIB}" \
4714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4715 clean) \
4716 || exit 1
4718 @endif bfd
4720 .PHONY: maybe-distclean-bfd distclean-bfd
4721 maybe-distclean-bfd:
4722 @if bfd
4723 maybe-distclean-bfd: distclean-bfd
4725 distclean-bfd:
4726 @[ -f ./bfd/Makefile ] || exit 0; \
4727 r=`${PWD_COMMAND}`; export r; \
4728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4729 $(HOST_EXPORTS) \
4730 for flag in $(EXTRA_HOST_FLAGS) ; do \
4731 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4732 done; \
4733 echo "Doing distclean in bfd" ; \
4734 (cd $(HOST_SUBDIR)/bfd && \
4735 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4736 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4737 "RANLIB=$${RANLIB}" \
4738 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4739 distclean) \
4740 || exit 1
4742 @endif bfd
4744 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4745 maybe-maintainer-clean-bfd:
4746 @if bfd
4747 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4749 maintainer-clean-bfd:
4750 @[ -f ./bfd/Makefile ] || exit 0; \
4751 r=`${PWD_COMMAND}`; export r; \
4752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4753 $(HOST_EXPORTS) \
4754 for flag in $(EXTRA_HOST_FLAGS) ; do \
4755 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4756 done; \
4757 echo "Doing maintainer-clean in bfd" ; \
4758 (cd $(HOST_SUBDIR)/bfd && \
4759 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4760 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4761 "RANLIB=$${RANLIB}" \
4762 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4763 maintainer-clean) \
4764 || exit 1
4766 @endif bfd
4770 .PHONY: configure-opcodes maybe-configure-opcodes
4771 maybe-configure-opcodes:
4772 @if opcodes
4773 maybe-configure-opcodes: configure-opcodes
4774 configure-opcodes:
4775 @test -f stage_last && exit 0; \
4776 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4778 r=`${PWD_COMMAND}`; export r; \
4779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4780 $(HOST_EXPORTS) \
4781 echo Configuring in $(HOST_SUBDIR)/opcodes; \
4782 cd "$(HOST_SUBDIR)/opcodes" || exit 1; \
4783 case $(srcdir) in \
4784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4785 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4787 esac; \
4788 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4789 libsrcdir="$$s/opcodes"; \
4790 $(SHELL) $${libsrcdir}/configure \
4791 $(HOST_CONFIGARGS) $${srcdiroption} \
4792 || exit 1
4793 @endif opcodes
4797 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
4798 maybe-configure-stage1-opcodes:
4799 @if opcodes-bootstrap
4800 maybe-configure-stage1-opcodes: configure-stage1-opcodes
4801 configure-stage1-opcodes:
4802 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4803 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4804 r=`${PWD_COMMAND}`; export r; \
4805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4806 $(HOST_EXPORTS) \
4807 echo Configuring stage 1 in $(HOST_SUBDIR)/opcodes ; \
4808 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4809 case $(srcdir) in \
4810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4811 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4813 esac; \
4814 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4815 libsrcdir="$$s/opcodes"; \
4816 $(SHELL) $${libsrcdir}/configure \
4817 $(HOST_CONFIGARGS) $${srcdiroption} \
4818 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
4819 @endif opcodes-bootstrap
4821 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
4822 maybe-configure-stage2-opcodes:
4823 @if opcodes-bootstrap
4824 maybe-configure-stage2-opcodes: configure-stage2-opcodes
4825 configure-stage2-opcodes:
4826 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
4827 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4828 r=`${PWD_COMMAND}`; export r; \
4829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4830 $(HOST_EXPORTS) \
4831 $(POSTSTAGE1_HOST_EXPORTS) \
4832 echo Configuring stage 2 in $(HOST_SUBDIR)/opcodes ; \
4833 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4834 case $(srcdir) in \
4835 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4836 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4837 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4838 esac; \
4839 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4840 libsrcdir="$$s/opcodes"; \
4841 $(SHELL) $${libsrcdir}/configure \
4842 $(HOST_CONFIGARGS) $${srcdiroption} \
4843 @stage2_werror_flag@
4844 @endif opcodes-bootstrap
4846 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
4847 maybe-configure-stage3-opcodes:
4848 @if opcodes-bootstrap
4849 maybe-configure-stage3-opcodes: configure-stage3-opcodes
4850 configure-stage3-opcodes:
4851 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
4852 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4853 r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(HOST_EXPORTS) \
4856 $(POSTSTAGE1_HOST_EXPORTS) \
4857 echo Configuring stage 3 in $(HOST_SUBDIR)/opcodes ; \
4858 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4859 case $(srcdir) in \
4860 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4861 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4862 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4863 esac; \
4864 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4865 libsrcdir="$$s/opcodes"; \
4866 $(SHELL) $${libsrcdir}/configure \
4867 $(HOST_CONFIGARGS) $${srcdiroption} \
4868 @stage2_werror_flag@
4869 @endif opcodes-bootstrap
4871 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
4872 maybe-configure-stage4-opcodes:
4873 @if opcodes-bootstrap
4874 maybe-configure-stage4-opcodes: configure-stage4-opcodes
4875 configure-stage4-opcodes:
4876 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
4877 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4878 r=`${PWD_COMMAND}`; export r; \
4879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4880 $(HOST_EXPORTS) \
4881 $(POSTSTAGE1_HOST_EXPORTS) \
4882 echo Configuring stage 4 in $(HOST_SUBDIR)/opcodes ; \
4883 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4884 case $(srcdir) in \
4885 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4886 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4887 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4888 esac; \
4889 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4890 libsrcdir="$$s/opcodes"; \
4891 $(SHELL) $${libsrcdir}/configure \
4892 $(HOST_CONFIGARGS) $${srcdiroption} \
4893 @stage2_werror_flag@
4894 @endif opcodes-bootstrap
4896 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
4897 maybe-configure-stageprofile-opcodes:
4898 @if opcodes-bootstrap
4899 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
4900 configure-stageprofile-opcodes:
4901 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
4902 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4903 r=`${PWD_COMMAND}`; export r; \
4904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4905 $(HOST_EXPORTS) \
4906 $(POSTSTAGE1_HOST_EXPORTS) \
4907 echo Configuring stage profile in $(HOST_SUBDIR)/opcodes ; \
4908 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4909 case $(srcdir) in \
4910 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4911 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4912 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4913 esac; \
4914 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4915 libsrcdir="$$s/opcodes"; \
4916 $(SHELL) $${libsrcdir}/configure \
4917 $(HOST_CONFIGARGS) $${srcdiroption} \
4918 @stage2_werror_flag@
4919 @endif opcodes-bootstrap
4921 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
4922 maybe-configure-stagefeedback-opcodes:
4923 @if opcodes-bootstrap
4924 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
4925 configure-stagefeedback-opcodes:
4926 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
4927 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] && exit 0 || : ; \
4928 r=`${PWD_COMMAND}`; export r; \
4929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4930 $(HOST_EXPORTS) \
4931 $(POSTSTAGE1_HOST_EXPORTS) \
4932 echo Configuring stage feedback in $(HOST_SUBDIR)/opcodes ; \
4933 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4934 case $(srcdir) in \
4935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4936 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4938 esac; \
4939 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4940 libsrcdir="$$s/opcodes"; \
4941 $(SHELL) $${libsrcdir}/configure \
4942 $(HOST_CONFIGARGS) $${srcdiroption} \
4943 @stage2_werror_flag@
4944 @endif opcodes-bootstrap
4950 .PHONY: all-opcodes maybe-all-opcodes
4951 maybe-all-opcodes:
4952 @if opcodes
4953 TARGET-opcodes=all
4954 maybe-all-opcodes: all-opcodes
4955 all-opcodes: configure-opcodes
4956 @test -f stage_last && exit 0; \
4957 r=`${PWD_COMMAND}`; export r; \
4958 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4959 $(HOST_EXPORTS) \
4960 (cd $(HOST_SUBDIR)/opcodes && \
4961 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4962 @endif opcodes
4966 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
4967 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
4968 maybe-all-stage1-opcodes:
4969 maybe-clean-stage1-opcodes:
4970 @if opcodes-bootstrap
4971 maybe-all-stage1-opcodes: all-stage1-opcodes
4972 all-stage1: all-stage1-opcodes
4973 TARGET-stage1-opcodes = $(TARGET-opcodes)
4974 all-stage1-opcodes: configure-stage1-opcodes
4975 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4976 @r=`${PWD_COMMAND}`; export r; \
4977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4978 $(HOST_EXPORTS) \
4979 cd $(HOST_SUBDIR)/opcodes && \
4980 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
4981 $(TARGET-stage1-opcodes)
4983 maybe-clean-stage1-opcodes: clean-stage1-opcodes
4984 clean-stage1: clean-stage1-opcodes
4985 clean-stage1-opcodes:
4986 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-opcodes/Makefile ] \
4987 || exit 0 ; \
4988 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
4989 cd $(HOST_SUBDIR)/opcodes && \
4990 $(MAKE) $(FLAGS_TO_PASS) \
4991 CFLAGS="$(STAGE1_CFLAGS)" clean
4992 @endif opcodes-bootstrap
4995 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
4996 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
4997 maybe-all-stage2-opcodes:
4998 maybe-clean-stage2-opcodes:
4999 @if opcodes-bootstrap
5000 maybe-all-stage2-opcodes: all-stage2-opcodes
5001 all-stage2: all-stage2-opcodes
5002 TARGET-stage2-opcodes = $(TARGET-opcodes)
5003 all-stage2-opcodes: configure-stage2-opcodes
5004 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5005 @r=`${PWD_COMMAND}`; export r; \
5006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5007 $(HOST_EXPORTS) \
5008 $(POSTSTAGE1_HOST_EXPORTS) \
5009 cd $(HOST_SUBDIR)/opcodes && \
5010 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5011 $(TARGET-stage2-opcodes)
5013 maybe-clean-stage2-opcodes: clean-stage2-opcodes
5014 clean-stage2: clean-stage2-opcodes
5015 clean-stage2-opcodes:
5016 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-opcodes/Makefile ] \
5017 || exit 0 ; \
5018 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5019 cd $(HOST_SUBDIR)/opcodes && \
5020 $(MAKE) $(FLAGS_TO_PASS) \
5021 $(POSTSTAGE1_FLAGS_TO_PASS) \
5022 clean
5023 @endif opcodes-bootstrap
5026 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
5027 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
5028 maybe-all-stage3-opcodes:
5029 maybe-clean-stage3-opcodes:
5030 @if opcodes-bootstrap
5031 maybe-all-stage3-opcodes: all-stage3-opcodes
5032 all-stage3: all-stage3-opcodes
5033 TARGET-stage3-opcodes = $(TARGET-opcodes)
5034 all-stage3-opcodes: configure-stage3-opcodes
5035 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5036 @r=`${PWD_COMMAND}`; export r; \
5037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5038 $(HOST_EXPORTS) \
5039 $(POSTSTAGE1_HOST_EXPORTS) \
5040 cd $(HOST_SUBDIR)/opcodes && \
5041 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5042 $(TARGET-stage3-opcodes)
5044 maybe-clean-stage3-opcodes: clean-stage3-opcodes
5045 clean-stage3: clean-stage3-opcodes
5046 clean-stage3-opcodes:
5047 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-opcodes/Makefile ] \
5048 || exit 0 ; \
5049 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5050 cd $(HOST_SUBDIR)/opcodes && \
5051 $(MAKE) $(FLAGS_TO_PASS) \
5052 $(POSTSTAGE1_FLAGS_TO_PASS) \
5053 clean
5054 @endif opcodes-bootstrap
5057 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
5058 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
5059 maybe-all-stage4-opcodes:
5060 maybe-clean-stage4-opcodes:
5061 @if opcodes-bootstrap
5062 maybe-all-stage4-opcodes: all-stage4-opcodes
5063 all-stage4: all-stage4-opcodes
5064 TARGET-stage4-opcodes = $(TARGET-opcodes)
5065 all-stage4-opcodes: configure-stage4-opcodes
5066 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5067 @r=`${PWD_COMMAND}`; export r; \
5068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5069 $(HOST_EXPORTS) \
5070 $(POSTSTAGE1_HOST_EXPORTS) \
5071 cd $(HOST_SUBDIR)/opcodes && \
5072 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5073 $(TARGET-stage4-opcodes)
5075 maybe-clean-stage4-opcodes: clean-stage4-opcodes
5076 clean-stage4: clean-stage4-opcodes
5077 clean-stage4-opcodes:
5078 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-opcodes/Makefile ] \
5079 || exit 0 ; \
5080 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5081 cd $(HOST_SUBDIR)/opcodes && \
5082 $(MAKE) $(FLAGS_TO_PASS) \
5083 $(POSTSTAGE1_FLAGS_TO_PASS) \
5084 clean
5085 @endif opcodes-bootstrap
5088 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
5089 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
5090 maybe-all-stageprofile-opcodes:
5091 maybe-clean-stageprofile-opcodes:
5092 @if opcodes-bootstrap
5093 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
5094 all-stageprofile: all-stageprofile-opcodes
5095 TARGET-stageprofile-opcodes = $(TARGET-opcodes)
5096 all-stageprofile-opcodes: configure-stageprofile-opcodes
5097 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5098 @r=`${PWD_COMMAND}`; export r; \
5099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5100 $(HOST_EXPORTS) \
5101 $(POSTSTAGE1_HOST_EXPORTS) \
5102 cd $(HOST_SUBDIR)/opcodes && \
5103 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5104 $(TARGET-stageprofile-opcodes)
5106 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
5107 clean-stageprofile: clean-stageprofile-opcodes
5108 clean-stageprofile-opcodes:
5109 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-opcodes/Makefile ] \
5110 || exit 0 ; \
5111 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5112 cd $(HOST_SUBDIR)/opcodes && \
5113 $(MAKE) $(FLAGS_TO_PASS) \
5114 $(POSTSTAGE1_FLAGS_TO_PASS) \
5115 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5116 @endif opcodes-bootstrap
5119 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
5120 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
5121 maybe-all-stagefeedback-opcodes:
5122 maybe-clean-stagefeedback-opcodes:
5123 @if opcodes-bootstrap
5124 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
5125 all-stagefeedback: all-stagefeedback-opcodes
5126 TARGET-stagefeedback-opcodes = $(TARGET-opcodes)
5127 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
5128 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5129 @r=`${PWD_COMMAND}`; export r; \
5130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5131 $(HOST_EXPORTS) \
5132 $(POSTSTAGE1_HOST_EXPORTS) \
5133 cd $(HOST_SUBDIR)/opcodes && \
5134 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5135 $(TARGET-stagefeedback-opcodes)
5137 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
5138 clean-stagefeedback: clean-stagefeedback-opcodes
5139 clean-stagefeedback-opcodes:
5140 @[ -f $(HOST_SUBDIR)/opcodes/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-opcodes/Makefile ] \
5141 || exit 0 ; \
5142 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5143 cd $(HOST_SUBDIR)/opcodes && \
5144 $(MAKE) $(FLAGS_TO_PASS) \
5145 $(POSTSTAGE1_FLAGS_TO_PASS) \
5146 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5147 @endif opcodes-bootstrap
5153 .PHONY: check-opcodes maybe-check-opcodes
5154 maybe-check-opcodes:
5155 @if opcodes
5156 maybe-check-opcodes: check-opcodes
5158 check-opcodes:
5159 @$(unstage)
5160 @r=`${PWD_COMMAND}`; export r; \
5161 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5162 $(HOST_EXPORTS) \
5163 (cd $(HOST_SUBDIR)/opcodes && \
5164 $(MAKE) $(FLAGS_TO_PASS) check)
5166 @endif opcodes
5168 .PHONY: install-opcodes maybe-install-opcodes
5169 maybe-install-opcodes:
5170 @if opcodes
5171 maybe-install-opcodes: install-opcodes
5173 install-opcodes: installdirs
5174 @$(unstage)
5175 @r=`${PWD_COMMAND}`; export r; \
5176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5177 $(HOST_EXPORTS) \
5178 (cd $(HOST_SUBDIR)/opcodes && \
5179 $(MAKE) $(FLAGS_TO_PASS) install)
5181 @endif opcodes
5183 # Other targets (info, dvi, etc.)
5185 .PHONY: maybe-info-opcodes info-opcodes
5186 maybe-info-opcodes:
5187 @if opcodes
5188 maybe-info-opcodes: info-opcodes
5190 info-opcodes: \
5191 configure-opcodes
5192 @[ -f ./opcodes/Makefile ] || exit 0; \
5193 r=`${PWD_COMMAND}`; export r; \
5194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5195 $(HOST_EXPORTS) \
5196 for flag in $(EXTRA_HOST_FLAGS) ; do \
5197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5198 done; \
5199 echo "Doing info in opcodes" ; \
5200 (cd $(HOST_SUBDIR)/opcodes && \
5201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5203 "RANLIB=$${RANLIB}" \
5204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5205 info) \
5206 || exit 1
5208 @endif opcodes
5210 .PHONY: maybe-dvi-opcodes dvi-opcodes
5211 maybe-dvi-opcodes:
5212 @if opcodes
5213 maybe-dvi-opcodes: dvi-opcodes
5215 dvi-opcodes: \
5216 configure-opcodes
5217 @[ -f ./opcodes/Makefile ] || exit 0; \
5218 r=`${PWD_COMMAND}`; export r; \
5219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5220 $(HOST_EXPORTS) \
5221 for flag in $(EXTRA_HOST_FLAGS) ; do \
5222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5223 done; \
5224 echo "Doing dvi in opcodes" ; \
5225 (cd $(HOST_SUBDIR)/opcodes && \
5226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5228 "RANLIB=$${RANLIB}" \
5229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5230 dvi) \
5231 || exit 1
5233 @endif opcodes
5235 .PHONY: maybe-html-opcodes html-opcodes
5236 maybe-html-opcodes:
5237 @if opcodes
5238 maybe-html-opcodes: html-opcodes
5240 html-opcodes: \
5241 configure-opcodes
5242 @[ -f ./opcodes/Makefile ] || exit 0; \
5243 r=`${PWD_COMMAND}`; export r; \
5244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5245 $(HOST_EXPORTS) \
5246 for flag in $(EXTRA_HOST_FLAGS) ; do \
5247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5248 done; \
5249 echo "Doing html in opcodes" ; \
5250 (cd $(HOST_SUBDIR)/opcodes && \
5251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5253 "RANLIB=$${RANLIB}" \
5254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5255 html) \
5256 || exit 1
5258 @endif opcodes
5260 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
5261 maybe-TAGS-opcodes:
5262 @if opcodes
5263 maybe-TAGS-opcodes: TAGS-opcodes
5265 TAGS-opcodes: \
5266 configure-opcodes
5267 @[ -f ./opcodes/Makefile ] || exit 0; \
5268 r=`${PWD_COMMAND}`; export r; \
5269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5270 $(HOST_EXPORTS) \
5271 for flag in $(EXTRA_HOST_FLAGS) ; do \
5272 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5273 done; \
5274 echo "Doing TAGS in opcodes" ; \
5275 (cd $(HOST_SUBDIR)/opcodes && \
5276 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5277 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5278 "RANLIB=$${RANLIB}" \
5279 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5280 TAGS) \
5281 || exit 1
5283 @endif opcodes
5285 .PHONY: maybe-install-info-opcodes install-info-opcodes
5286 maybe-install-info-opcodes:
5287 @if opcodes
5288 maybe-install-info-opcodes: install-info-opcodes
5290 install-info-opcodes: \
5291 configure-opcodes \
5292 info-opcodes
5293 @[ -f ./opcodes/Makefile ] || exit 0; \
5294 r=`${PWD_COMMAND}`; export r; \
5295 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5296 $(HOST_EXPORTS) \
5297 for flag in $(EXTRA_HOST_FLAGS) ; do \
5298 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5299 done; \
5300 echo "Doing install-info in opcodes" ; \
5301 (cd $(HOST_SUBDIR)/opcodes && \
5302 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5303 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5304 "RANLIB=$${RANLIB}" \
5305 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5306 install-info) \
5307 || exit 1
5309 @endif opcodes
5311 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
5312 maybe-installcheck-opcodes:
5313 @if opcodes
5314 maybe-installcheck-opcodes: installcheck-opcodes
5316 installcheck-opcodes: \
5317 configure-opcodes
5318 @[ -f ./opcodes/Makefile ] || exit 0; \
5319 r=`${PWD_COMMAND}`; export r; \
5320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5321 $(HOST_EXPORTS) \
5322 for flag in $(EXTRA_HOST_FLAGS) ; do \
5323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5324 done; \
5325 echo "Doing installcheck in opcodes" ; \
5326 (cd $(HOST_SUBDIR)/opcodes && \
5327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5329 "RANLIB=$${RANLIB}" \
5330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5331 installcheck) \
5332 || exit 1
5334 @endif opcodes
5336 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
5337 maybe-mostlyclean-opcodes:
5338 @if opcodes
5339 maybe-mostlyclean-opcodes: mostlyclean-opcodes
5341 mostlyclean-opcodes:
5342 @[ -f ./opcodes/Makefile ] || exit 0; \
5343 r=`${PWD_COMMAND}`; export r; \
5344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5345 $(HOST_EXPORTS) \
5346 for flag in $(EXTRA_HOST_FLAGS) ; do \
5347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5348 done; \
5349 echo "Doing mostlyclean in opcodes" ; \
5350 (cd $(HOST_SUBDIR)/opcodes && \
5351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5353 "RANLIB=$${RANLIB}" \
5354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5355 mostlyclean) \
5356 || exit 1
5358 @endif opcodes
5360 .PHONY: maybe-clean-opcodes clean-opcodes
5361 maybe-clean-opcodes:
5362 @if opcodes
5363 maybe-clean-opcodes: clean-opcodes
5365 clean-opcodes:
5366 @[ -f ./opcodes/Makefile ] || exit 0; \
5367 r=`${PWD_COMMAND}`; export r; \
5368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5369 $(HOST_EXPORTS) \
5370 for flag in $(EXTRA_HOST_FLAGS) ; do \
5371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5372 done; \
5373 echo "Doing clean in opcodes" ; \
5374 (cd $(HOST_SUBDIR)/opcodes && \
5375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5377 "RANLIB=$${RANLIB}" \
5378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5379 clean) \
5380 || exit 1
5382 @endif opcodes
5384 .PHONY: maybe-distclean-opcodes distclean-opcodes
5385 maybe-distclean-opcodes:
5386 @if opcodes
5387 maybe-distclean-opcodes: distclean-opcodes
5389 distclean-opcodes:
5390 @[ -f ./opcodes/Makefile ] || exit 0; \
5391 r=`${PWD_COMMAND}`; export r; \
5392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5393 $(HOST_EXPORTS) \
5394 for flag in $(EXTRA_HOST_FLAGS) ; do \
5395 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5396 done; \
5397 echo "Doing distclean in opcodes" ; \
5398 (cd $(HOST_SUBDIR)/opcodes && \
5399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5401 "RANLIB=$${RANLIB}" \
5402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5403 distclean) \
5404 || exit 1
5406 @endif opcodes
5408 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
5409 maybe-maintainer-clean-opcodes:
5410 @if opcodes
5411 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
5413 maintainer-clean-opcodes:
5414 @[ -f ./opcodes/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(HOST_EXPORTS) \
5418 for flag in $(EXTRA_HOST_FLAGS) ; do \
5419 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5420 done; \
5421 echo "Doing maintainer-clean in opcodes" ; \
5422 (cd $(HOST_SUBDIR)/opcodes && \
5423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5425 "RANLIB=$${RANLIB}" \
5426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5427 maintainer-clean) \
5428 || exit 1
5430 @endif opcodes
5434 .PHONY: configure-binutils maybe-configure-binutils
5435 maybe-configure-binutils:
5436 @if binutils
5437 maybe-configure-binutils: configure-binutils
5438 configure-binutils:
5439 @test -f stage_last && exit 0; \
5440 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
5441 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
5442 r=`${PWD_COMMAND}`; export r; \
5443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5444 $(HOST_EXPORTS) \
5445 echo Configuring in $(HOST_SUBDIR)/binutils; \
5446 cd "$(HOST_SUBDIR)/binutils" || exit 1; \
5447 case $(srcdir) in \
5448 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5449 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5450 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5451 esac; \
5452 srcdiroption="--srcdir=$${topdir}/binutils"; \
5453 libsrcdir="$$s/binutils"; \
5454 $(SHELL) $${libsrcdir}/configure \
5455 $(HOST_CONFIGARGS) $${srcdiroption} \
5456 || exit 1
5457 @endif binutils
5461 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
5462 maybe-configure-stage1-binutils:
5463 @if binutils-bootstrap
5464 maybe-configure-stage1-binutils: configure-stage1-binutils
5465 configure-stage1-binutils:
5466 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5467 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5468 r=`${PWD_COMMAND}`; export r; \
5469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5470 $(HOST_EXPORTS) \
5471 echo Configuring stage 1 in $(HOST_SUBDIR)/binutils ; \
5472 cd $(HOST_SUBDIR)/binutils || exit 1; \
5473 case $(srcdir) in \
5474 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5475 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5476 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5477 esac; \
5478 srcdiroption="--srcdir=$${topdir}/binutils"; \
5479 libsrcdir="$$s/binutils"; \
5480 $(SHELL) $${libsrcdir}/configure \
5481 $(HOST_CONFIGARGS) $${srcdiroption} \
5482 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
5483 @endif binutils-bootstrap
5485 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
5486 maybe-configure-stage2-binutils:
5487 @if binutils-bootstrap
5488 maybe-configure-stage2-binutils: configure-stage2-binutils
5489 configure-stage2-binutils:
5490 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5491 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5492 r=`${PWD_COMMAND}`; export r; \
5493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5494 $(HOST_EXPORTS) \
5495 $(POSTSTAGE1_HOST_EXPORTS) \
5496 echo Configuring stage 2 in $(HOST_SUBDIR)/binutils ; \
5497 cd $(HOST_SUBDIR)/binutils || exit 1; \
5498 case $(srcdir) in \
5499 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5500 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5501 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5502 esac; \
5503 srcdiroption="--srcdir=$${topdir}/binutils"; \
5504 libsrcdir="$$s/binutils"; \
5505 $(SHELL) $${libsrcdir}/configure \
5506 $(HOST_CONFIGARGS) $${srcdiroption} \
5507 @stage2_werror_flag@
5508 @endif binutils-bootstrap
5510 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
5511 maybe-configure-stage3-binutils:
5512 @if binutils-bootstrap
5513 maybe-configure-stage3-binutils: configure-stage3-binutils
5514 configure-stage3-binutils:
5515 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5516 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5517 r=`${PWD_COMMAND}`; export r; \
5518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5519 $(HOST_EXPORTS) \
5520 $(POSTSTAGE1_HOST_EXPORTS) \
5521 echo Configuring stage 3 in $(HOST_SUBDIR)/binutils ; \
5522 cd $(HOST_SUBDIR)/binutils || exit 1; \
5523 case $(srcdir) in \
5524 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5525 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5526 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5527 esac; \
5528 srcdiroption="--srcdir=$${topdir}/binutils"; \
5529 libsrcdir="$$s/binutils"; \
5530 $(SHELL) $${libsrcdir}/configure \
5531 $(HOST_CONFIGARGS) $${srcdiroption} \
5532 @stage2_werror_flag@
5533 @endif binutils-bootstrap
5535 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
5536 maybe-configure-stage4-binutils:
5537 @if binutils-bootstrap
5538 maybe-configure-stage4-binutils: configure-stage4-binutils
5539 configure-stage4-binutils:
5540 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5541 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5542 r=`${PWD_COMMAND}`; export r; \
5543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5544 $(HOST_EXPORTS) \
5545 $(POSTSTAGE1_HOST_EXPORTS) \
5546 echo Configuring stage 4 in $(HOST_SUBDIR)/binutils ; \
5547 cd $(HOST_SUBDIR)/binutils || exit 1; \
5548 case $(srcdir) in \
5549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5550 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5552 esac; \
5553 srcdiroption="--srcdir=$${topdir}/binutils"; \
5554 libsrcdir="$$s/binutils"; \
5555 $(SHELL) $${libsrcdir}/configure \
5556 $(HOST_CONFIGARGS) $${srcdiroption} \
5557 @stage2_werror_flag@
5558 @endif binutils-bootstrap
5560 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
5561 maybe-configure-stageprofile-binutils:
5562 @if binutils-bootstrap
5563 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
5564 configure-stageprofile-binutils:
5565 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5566 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5567 r=`${PWD_COMMAND}`; export r; \
5568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5569 $(HOST_EXPORTS) \
5570 $(POSTSTAGE1_HOST_EXPORTS) \
5571 echo Configuring stage profile in $(HOST_SUBDIR)/binutils ; \
5572 cd $(HOST_SUBDIR)/binutils || exit 1; \
5573 case $(srcdir) in \
5574 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5575 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5576 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5577 esac; \
5578 srcdiroption="--srcdir=$${topdir}/binutils"; \
5579 libsrcdir="$$s/binutils"; \
5580 $(SHELL) $${libsrcdir}/configure \
5581 $(HOST_CONFIGARGS) $${srcdiroption} \
5582 @stage2_werror_flag@
5583 @endif binutils-bootstrap
5585 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
5586 maybe-configure-stagefeedback-binutils:
5587 @if binutils-bootstrap
5588 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
5589 configure-stagefeedback-binutils:
5590 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5591 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] && exit 0 || : ; \
5592 r=`${PWD_COMMAND}`; export r; \
5593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5594 $(HOST_EXPORTS) \
5595 $(POSTSTAGE1_HOST_EXPORTS) \
5596 echo Configuring stage feedback in $(HOST_SUBDIR)/binutils ; \
5597 cd $(HOST_SUBDIR)/binutils || exit 1; \
5598 case $(srcdir) in \
5599 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5600 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
5601 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5602 esac; \
5603 srcdiroption="--srcdir=$${topdir}/binutils"; \
5604 libsrcdir="$$s/binutils"; \
5605 $(SHELL) $${libsrcdir}/configure \
5606 $(HOST_CONFIGARGS) $${srcdiroption} \
5607 @stage2_werror_flag@
5608 @endif binutils-bootstrap
5614 .PHONY: all-binutils maybe-all-binutils
5615 maybe-all-binutils:
5616 @if binutils
5617 TARGET-binutils=all
5618 maybe-all-binutils: all-binutils
5619 all-binutils: configure-binutils
5620 @test -f stage_last && exit 0; \
5621 r=`${PWD_COMMAND}`; export r; \
5622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5623 $(HOST_EXPORTS) \
5624 (cd $(HOST_SUBDIR)/binutils && \
5625 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
5626 @endif binutils
5630 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
5631 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
5632 maybe-all-stage1-binutils:
5633 maybe-clean-stage1-binutils:
5634 @if binutils-bootstrap
5635 maybe-all-stage1-binutils: all-stage1-binutils
5636 all-stage1: all-stage1-binutils
5637 TARGET-stage1-binutils = $(TARGET-binutils)
5638 all-stage1-binutils: configure-stage1-binutils
5639 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5640 @r=`${PWD_COMMAND}`; export r; \
5641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5642 $(HOST_EXPORTS) \
5643 cd $(HOST_SUBDIR)/binutils && \
5644 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
5645 $(TARGET-stage1-binutils)
5647 maybe-clean-stage1-binutils: clean-stage1-binutils
5648 clean-stage1: clean-stage1-binutils
5649 clean-stage1-binutils:
5650 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-binutils/Makefile ] \
5651 || exit 0 ; \
5652 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
5653 cd $(HOST_SUBDIR)/binutils && \
5654 $(MAKE) $(FLAGS_TO_PASS) \
5655 CFLAGS="$(STAGE1_CFLAGS)" clean
5656 @endif binutils-bootstrap
5659 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
5660 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
5661 maybe-all-stage2-binutils:
5662 maybe-clean-stage2-binutils:
5663 @if binutils-bootstrap
5664 maybe-all-stage2-binutils: all-stage2-binutils
5665 all-stage2: all-stage2-binutils
5666 TARGET-stage2-binutils = $(TARGET-binutils)
5667 all-stage2-binutils: configure-stage2-binutils
5668 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5669 @r=`${PWD_COMMAND}`; export r; \
5670 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5671 $(HOST_EXPORTS) \
5672 $(POSTSTAGE1_HOST_EXPORTS) \
5673 cd $(HOST_SUBDIR)/binutils && \
5674 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5675 $(TARGET-stage2-binutils)
5677 maybe-clean-stage2-binutils: clean-stage2-binutils
5678 clean-stage2: clean-stage2-binutils
5679 clean-stage2-binutils:
5680 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-binutils/Makefile ] \
5681 || exit 0 ; \
5682 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
5683 cd $(HOST_SUBDIR)/binutils && \
5684 $(MAKE) $(FLAGS_TO_PASS) \
5685 $(POSTSTAGE1_FLAGS_TO_PASS) \
5686 clean
5687 @endif binutils-bootstrap
5690 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
5691 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
5692 maybe-all-stage3-binutils:
5693 maybe-clean-stage3-binutils:
5694 @if binutils-bootstrap
5695 maybe-all-stage3-binutils: all-stage3-binutils
5696 all-stage3: all-stage3-binutils
5697 TARGET-stage3-binutils = $(TARGET-binutils)
5698 all-stage3-binutils: configure-stage3-binutils
5699 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5700 @r=`${PWD_COMMAND}`; export r; \
5701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5702 $(HOST_EXPORTS) \
5703 $(POSTSTAGE1_HOST_EXPORTS) \
5704 cd $(HOST_SUBDIR)/binutils && \
5705 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5706 $(TARGET-stage3-binutils)
5708 maybe-clean-stage3-binutils: clean-stage3-binutils
5709 clean-stage3: clean-stage3-binutils
5710 clean-stage3-binutils:
5711 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-binutils/Makefile ] \
5712 || exit 0 ; \
5713 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
5714 cd $(HOST_SUBDIR)/binutils && \
5715 $(MAKE) $(FLAGS_TO_PASS) \
5716 $(POSTSTAGE1_FLAGS_TO_PASS) \
5717 clean
5718 @endif binutils-bootstrap
5721 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
5722 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
5723 maybe-all-stage4-binutils:
5724 maybe-clean-stage4-binutils:
5725 @if binutils-bootstrap
5726 maybe-all-stage4-binutils: all-stage4-binutils
5727 all-stage4: all-stage4-binutils
5728 TARGET-stage4-binutils = $(TARGET-binutils)
5729 all-stage4-binutils: configure-stage4-binutils
5730 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5731 @r=`${PWD_COMMAND}`; export r; \
5732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5733 $(HOST_EXPORTS) \
5734 $(POSTSTAGE1_HOST_EXPORTS) \
5735 cd $(HOST_SUBDIR)/binutils && \
5736 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
5737 $(TARGET-stage4-binutils)
5739 maybe-clean-stage4-binutils: clean-stage4-binutils
5740 clean-stage4: clean-stage4-binutils
5741 clean-stage4-binutils:
5742 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-binutils/Makefile ] \
5743 || exit 0 ; \
5744 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
5745 cd $(HOST_SUBDIR)/binutils && \
5746 $(MAKE) $(FLAGS_TO_PASS) \
5747 $(POSTSTAGE1_FLAGS_TO_PASS) \
5748 clean
5749 @endif binutils-bootstrap
5752 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
5753 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
5754 maybe-all-stageprofile-binutils:
5755 maybe-clean-stageprofile-binutils:
5756 @if binutils-bootstrap
5757 maybe-all-stageprofile-binutils: all-stageprofile-binutils
5758 all-stageprofile: all-stageprofile-binutils
5759 TARGET-stageprofile-binutils = $(TARGET-binutils)
5760 all-stageprofile-binutils: configure-stageprofile-binutils
5761 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5762 @r=`${PWD_COMMAND}`; export r; \
5763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5764 $(HOST_EXPORTS) \
5765 $(POSTSTAGE1_HOST_EXPORTS) \
5766 cd $(HOST_SUBDIR)/binutils && \
5767 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
5768 $(TARGET-stageprofile-binutils)
5770 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
5771 clean-stageprofile: clean-stageprofile-binutils
5772 clean-stageprofile-binutils:
5773 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-binutils/Makefile ] \
5774 || exit 0 ; \
5775 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
5776 cd $(HOST_SUBDIR)/binutils && \
5777 $(MAKE) $(FLAGS_TO_PASS) \
5778 $(POSTSTAGE1_FLAGS_TO_PASS) \
5779 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
5780 @endif binutils-bootstrap
5783 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
5784 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
5785 maybe-all-stagefeedback-binutils:
5786 maybe-clean-stagefeedback-binutils:
5787 @if binutils-bootstrap
5788 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
5789 all-stagefeedback: all-stagefeedback-binutils
5790 TARGET-stagefeedback-binutils = $(TARGET-binutils)
5791 all-stagefeedback-binutils: configure-stagefeedback-binutils
5792 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5793 @r=`${PWD_COMMAND}`; export r; \
5794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5795 $(HOST_EXPORTS) \
5796 $(POSTSTAGE1_HOST_EXPORTS) \
5797 cd $(HOST_SUBDIR)/binutils && \
5798 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
5799 $(TARGET-stagefeedback-binutils)
5801 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
5802 clean-stagefeedback: clean-stagefeedback-binutils
5803 clean-stagefeedback-binutils:
5804 @[ -f $(HOST_SUBDIR)/binutils/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-binutils/Makefile ] \
5805 || exit 0 ; \
5806 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
5807 cd $(HOST_SUBDIR)/binutils && \
5808 $(MAKE) $(FLAGS_TO_PASS) \
5809 $(POSTSTAGE1_FLAGS_TO_PASS) \
5810 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
5811 @endif binutils-bootstrap
5817 .PHONY: check-binutils maybe-check-binutils
5818 maybe-check-binutils:
5819 @if binutils
5820 maybe-check-binutils: check-binutils
5822 check-binutils:
5823 @$(unstage)
5824 @r=`${PWD_COMMAND}`; export r; \
5825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5826 $(HOST_EXPORTS) \
5827 (cd $(HOST_SUBDIR)/binutils && \
5828 $(MAKE) $(FLAGS_TO_PASS) check)
5830 @endif binutils
5832 .PHONY: install-binutils maybe-install-binutils
5833 maybe-install-binutils:
5834 @if binutils
5835 maybe-install-binutils: install-binutils
5837 install-binutils: installdirs
5838 @$(unstage)
5839 @r=`${PWD_COMMAND}`; export r; \
5840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5841 $(HOST_EXPORTS) \
5842 (cd $(HOST_SUBDIR)/binutils && \
5843 $(MAKE) $(FLAGS_TO_PASS) install)
5845 @endif binutils
5847 # Other targets (info, dvi, etc.)
5849 .PHONY: maybe-info-binutils info-binutils
5850 maybe-info-binutils:
5851 @if binutils
5852 maybe-info-binutils: info-binutils
5854 info-binutils: \
5855 configure-binutils
5856 @[ -f ./binutils/Makefile ] || exit 0; \
5857 r=`${PWD_COMMAND}`; export r; \
5858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5859 $(HOST_EXPORTS) \
5860 for flag in $(EXTRA_HOST_FLAGS) ; do \
5861 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5862 done; \
5863 echo "Doing info in binutils" ; \
5864 (cd $(HOST_SUBDIR)/binutils && \
5865 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5866 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5867 "RANLIB=$${RANLIB}" \
5868 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5869 info) \
5870 || exit 1
5872 @endif binutils
5874 .PHONY: maybe-dvi-binutils dvi-binutils
5875 maybe-dvi-binutils:
5876 @if binutils
5877 maybe-dvi-binutils: dvi-binutils
5879 dvi-binutils: \
5880 configure-binutils
5881 @[ -f ./binutils/Makefile ] || exit 0; \
5882 r=`${PWD_COMMAND}`; export r; \
5883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5884 $(HOST_EXPORTS) \
5885 for flag in $(EXTRA_HOST_FLAGS) ; do \
5886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5887 done; \
5888 echo "Doing dvi in binutils" ; \
5889 (cd $(HOST_SUBDIR)/binutils && \
5890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5892 "RANLIB=$${RANLIB}" \
5893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5894 dvi) \
5895 || exit 1
5897 @endif binutils
5899 .PHONY: maybe-html-binutils html-binutils
5900 maybe-html-binutils:
5901 @if binutils
5902 maybe-html-binutils: html-binutils
5904 html-binutils: \
5905 configure-binutils
5906 @[ -f ./binutils/Makefile ] || exit 0; \
5907 r=`${PWD_COMMAND}`; export r; \
5908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5909 $(HOST_EXPORTS) \
5910 for flag in $(EXTRA_HOST_FLAGS) ; do \
5911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5912 done; \
5913 echo "Doing html in binutils" ; \
5914 (cd $(HOST_SUBDIR)/binutils && \
5915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5917 "RANLIB=$${RANLIB}" \
5918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5919 html) \
5920 || exit 1
5922 @endif binutils
5924 .PHONY: maybe-TAGS-binutils TAGS-binutils
5925 maybe-TAGS-binutils:
5926 @if binutils
5927 maybe-TAGS-binutils: TAGS-binutils
5929 TAGS-binutils: \
5930 configure-binutils
5931 @[ -f ./binutils/Makefile ] || exit 0; \
5932 r=`${PWD_COMMAND}`; export r; \
5933 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5934 $(HOST_EXPORTS) \
5935 for flag in $(EXTRA_HOST_FLAGS) ; do \
5936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5937 done; \
5938 echo "Doing TAGS in binutils" ; \
5939 (cd $(HOST_SUBDIR)/binutils && \
5940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5942 "RANLIB=$${RANLIB}" \
5943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5944 TAGS) \
5945 || exit 1
5947 @endif binutils
5949 .PHONY: maybe-install-info-binutils install-info-binutils
5950 maybe-install-info-binutils:
5951 @if binutils
5952 maybe-install-info-binutils: install-info-binutils
5954 install-info-binutils: \
5955 configure-binutils \
5956 info-binutils
5957 @[ -f ./binutils/Makefile ] || exit 0; \
5958 r=`${PWD_COMMAND}`; export r; \
5959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5960 $(HOST_EXPORTS) \
5961 for flag in $(EXTRA_HOST_FLAGS) ; do \
5962 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5963 done; \
5964 echo "Doing install-info in binutils" ; \
5965 (cd $(HOST_SUBDIR)/binutils && \
5966 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5967 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5968 "RANLIB=$${RANLIB}" \
5969 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5970 install-info) \
5971 || exit 1
5973 @endif binutils
5975 .PHONY: maybe-installcheck-binutils installcheck-binutils
5976 maybe-installcheck-binutils:
5977 @if binutils
5978 maybe-installcheck-binutils: installcheck-binutils
5980 installcheck-binutils: \
5981 configure-binutils
5982 @[ -f ./binutils/Makefile ] || exit 0; \
5983 r=`${PWD_COMMAND}`; export r; \
5984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5985 $(HOST_EXPORTS) \
5986 for flag in $(EXTRA_HOST_FLAGS) ; do \
5987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5988 done; \
5989 echo "Doing installcheck in binutils" ; \
5990 (cd $(HOST_SUBDIR)/binutils && \
5991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5993 "RANLIB=$${RANLIB}" \
5994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5995 installcheck) \
5996 || exit 1
5998 @endif binutils
6000 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
6001 maybe-mostlyclean-binutils:
6002 @if binutils
6003 maybe-mostlyclean-binutils: mostlyclean-binutils
6005 mostlyclean-binutils:
6006 @[ -f ./binutils/Makefile ] || exit 0; \
6007 r=`${PWD_COMMAND}`; export r; \
6008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6009 $(HOST_EXPORTS) \
6010 for flag in $(EXTRA_HOST_FLAGS) ; do \
6011 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6012 done; \
6013 echo "Doing mostlyclean in binutils" ; \
6014 (cd $(HOST_SUBDIR)/binutils && \
6015 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6016 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6017 "RANLIB=$${RANLIB}" \
6018 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6019 mostlyclean) \
6020 || exit 1
6022 @endif binutils
6024 .PHONY: maybe-clean-binutils clean-binutils
6025 maybe-clean-binutils:
6026 @if binutils
6027 maybe-clean-binutils: clean-binutils
6029 clean-binutils:
6030 @[ -f ./binutils/Makefile ] || exit 0; \
6031 r=`${PWD_COMMAND}`; export r; \
6032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6033 $(HOST_EXPORTS) \
6034 for flag in $(EXTRA_HOST_FLAGS) ; do \
6035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6036 done; \
6037 echo "Doing clean in binutils" ; \
6038 (cd $(HOST_SUBDIR)/binutils && \
6039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6041 "RANLIB=$${RANLIB}" \
6042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6043 clean) \
6044 || exit 1
6046 @endif binutils
6048 .PHONY: maybe-distclean-binutils distclean-binutils
6049 maybe-distclean-binutils:
6050 @if binutils
6051 maybe-distclean-binutils: distclean-binutils
6053 distclean-binutils:
6054 @[ -f ./binutils/Makefile ] || exit 0; \
6055 r=`${PWD_COMMAND}`; export r; \
6056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6057 $(HOST_EXPORTS) \
6058 for flag in $(EXTRA_HOST_FLAGS) ; do \
6059 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6060 done; \
6061 echo "Doing distclean in binutils" ; \
6062 (cd $(HOST_SUBDIR)/binutils && \
6063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6065 "RANLIB=$${RANLIB}" \
6066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6067 distclean) \
6068 || exit 1
6070 @endif binutils
6072 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
6073 maybe-maintainer-clean-binutils:
6074 @if binutils
6075 maybe-maintainer-clean-binutils: maintainer-clean-binutils
6077 maintainer-clean-binutils:
6078 @[ -f ./binutils/Makefile ] || exit 0; \
6079 r=`${PWD_COMMAND}`; export r; \
6080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6081 $(HOST_EXPORTS) \
6082 for flag in $(EXTRA_HOST_FLAGS) ; do \
6083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6084 done; \
6085 echo "Doing maintainer-clean in binutils" ; \
6086 (cd $(HOST_SUBDIR)/binutils && \
6087 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6088 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6089 "RANLIB=$${RANLIB}" \
6090 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6091 maintainer-clean) \
6092 || exit 1
6094 @endif binutils
6098 .PHONY: configure-bison maybe-configure-bison
6099 maybe-configure-bison:
6100 @if bison
6101 maybe-configure-bison: configure-bison
6102 configure-bison:
6103 @$(unstage)
6104 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
6105 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
6106 r=`${PWD_COMMAND}`; export r; \
6107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6108 $(HOST_EXPORTS) \
6109 echo Configuring in $(HOST_SUBDIR)/bison; \
6110 cd "$(HOST_SUBDIR)/bison" || exit 1; \
6111 case $(srcdir) in \
6112 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6113 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
6114 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6115 esac; \
6116 srcdiroption="--srcdir=$${topdir}/bison"; \
6117 libsrcdir="$$s/bison"; \
6118 $(SHELL) $${libsrcdir}/configure \
6119 $(HOST_CONFIGARGS) $${srcdiroption} \
6120 || exit 1
6121 @endif bison
6127 .PHONY: all-bison maybe-all-bison
6128 maybe-all-bison:
6129 @if bison
6130 TARGET-bison=all
6131 maybe-all-bison: all-bison
6132 all-bison: configure-bison
6133 @$(unstage)
6134 @r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(HOST_EXPORTS) \
6137 (cd $(HOST_SUBDIR)/bison && \
6138 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
6139 @endif bison
6144 .PHONY: check-bison maybe-check-bison
6145 maybe-check-bison:
6146 @if bison
6147 maybe-check-bison: check-bison
6149 # This module is only tested in a native toolchain.
6150 check-bison:
6151 @$(unstage)
6152 @if [ '$(host)' = '$(target)' ] ; then \
6153 r=`${PWD_COMMAND}`; export r; \
6154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6155 $(HOST_EXPORTS) \
6156 (cd $(HOST_SUBDIR)/bison && \
6157 $(MAKE) $(FLAGS_TO_PASS) check); \
6160 @endif bison
6162 .PHONY: install-bison maybe-install-bison
6163 maybe-install-bison:
6164 @if bison
6165 maybe-install-bison: install-bison
6167 install-bison: installdirs
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) install)
6175 @endif bison
6177 # Other targets (info, dvi, etc.)
6179 .PHONY: maybe-info-bison info-bison
6180 maybe-info-bison:
6181 @if bison
6182 maybe-info-bison: info-bison
6184 info-bison: \
6185 configure-bison
6186 @$(unstage)
6187 @[ -f ./bison/Makefile ] || exit 0; \
6188 r=`${PWD_COMMAND}`; export r; \
6189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6190 $(HOST_EXPORTS) \
6191 for flag in $(EXTRA_HOST_FLAGS) ; do \
6192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6193 done; \
6194 echo "Doing info in bison" ; \
6195 (cd $(HOST_SUBDIR)/bison && \
6196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6198 "RANLIB=$${RANLIB}" \
6199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6200 info) \
6201 || exit 1
6203 @endif bison
6205 .PHONY: maybe-dvi-bison dvi-bison
6206 maybe-dvi-bison:
6207 @if bison
6208 maybe-dvi-bison: dvi-bison
6210 dvi-bison: \
6211 configure-bison
6212 @$(unstage)
6213 @[ -f ./bison/Makefile ] || exit 0; \
6214 r=`${PWD_COMMAND}`; export r; \
6215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6216 $(HOST_EXPORTS) \
6217 for flag in $(EXTRA_HOST_FLAGS) ; do \
6218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6219 done; \
6220 echo "Doing dvi in bison" ; \
6221 (cd $(HOST_SUBDIR)/bison && \
6222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6224 "RANLIB=$${RANLIB}" \
6225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6226 dvi) \
6227 || exit 1
6229 @endif bison
6231 .PHONY: maybe-html-bison html-bison
6232 maybe-html-bison:
6233 @if bison
6234 maybe-html-bison: html-bison
6236 html-bison: \
6237 configure-bison
6238 @$(unstage)
6239 @[ -f ./bison/Makefile ] || exit 0; \
6240 r=`${PWD_COMMAND}`; export r; \
6241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6242 $(HOST_EXPORTS) \
6243 for flag in $(EXTRA_HOST_FLAGS) ; do \
6244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6245 done; \
6246 echo "Doing html in bison" ; \
6247 (cd $(HOST_SUBDIR)/bison && \
6248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6250 "RANLIB=$${RANLIB}" \
6251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6252 html) \
6253 || exit 1
6255 @endif bison
6257 .PHONY: maybe-TAGS-bison TAGS-bison
6258 maybe-TAGS-bison:
6259 @if bison
6260 maybe-TAGS-bison: TAGS-bison
6262 TAGS-bison: \
6263 configure-bison
6264 @$(unstage)
6265 @[ -f ./bison/Makefile ] || exit 0; \
6266 r=`${PWD_COMMAND}`; export r; \
6267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6268 $(HOST_EXPORTS) \
6269 for flag in $(EXTRA_HOST_FLAGS) ; do \
6270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6271 done; \
6272 echo "Doing TAGS in bison" ; \
6273 (cd $(HOST_SUBDIR)/bison && \
6274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6276 "RANLIB=$${RANLIB}" \
6277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6278 TAGS) \
6279 || exit 1
6281 @endif bison
6283 .PHONY: maybe-install-info-bison install-info-bison
6284 maybe-install-info-bison:
6285 @if bison
6286 maybe-install-info-bison: install-info-bison
6288 install-info-bison: \
6289 configure-bison \
6290 info-bison
6291 @$(unstage)
6292 @[ -f ./bison/Makefile ] || exit 0; \
6293 r=`${PWD_COMMAND}`; export r; \
6294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6295 $(HOST_EXPORTS) \
6296 for flag in $(EXTRA_HOST_FLAGS) ; do \
6297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6298 done; \
6299 echo "Doing install-info in bison" ; \
6300 (cd $(HOST_SUBDIR)/bison && \
6301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6303 "RANLIB=$${RANLIB}" \
6304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6305 install-info) \
6306 || exit 1
6308 @endif bison
6310 .PHONY: maybe-installcheck-bison installcheck-bison
6311 maybe-installcheck-bison:
6312 @if bison
6313 maybe-installcheck-bison: installcheck-bison
6315 installcheck-bison: \
6316 configure-bison
6317 @$(unstage)
6318 @[ -f ./bison/Makefile ] || exit 0; \
6319 r=`${PWD_COMMAND}`; export r; \
6320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6321 $(HOST_EXPORTS) \
6322 for flag in $(EXTRA_HOST_FLAGS) ; do \
6323 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6324 done; \
6325 echo "Doing installcheck in bison" ; \
6326 (cd $(HOST_SUBDIR)/bison && \
6327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6329 "RANLIB=$${RANLIB}" \
6330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6331 installcheck) \
6332 || exit 1
6334 @endif bison
6336 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
6337 maybe-mostlyclean-bison:
6338 @if bison
6339 maybe-mostlyclean-bison: mostlyclean-bison
6341 mostlyclean-bison:
6342 @$(unstage)
6343 @[ -f ./bison/Makefile ] || exit 0; \
6344 r=`${PWD_COMMAND}`; export r; \
6345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6346 $(HOST_EXPORTS) \
6347 for flag in $(EXTRA_HOST_FLAGS) ; do \
6348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6349 done; \
6350 echo "Doing mostlyclean in bison" ; \
6351 (cd $(HOST_SUBDIR)/bison && \
6352 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6353 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6354 "RANLIB=$${RANLIB}" \
6355 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6356 mostlyclean) \
6357 || exit 1
6359 @endif bison
6361 .PHONY: maybe-clean-bison clean-bison
6362 maybe-clean-bison:
6363 @if bison
6364 maybe-clean-bison: clean-bison
6366 clean-bison:
6367 @$(unstage)
6368 @[ -f ./bison/Makefile ] || exit 0; \
6369 r=`${PWD_COMMAND}`; export r; \
6370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6371 $(HOST_EXPORTS) \
6372 for flag in $(EXTRA_HOST_FLAGS) ; do \
6373 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6374 done; \
6375 echo "Doing clean in bison" ; \
6376 (cd $(HOST_SUBDIR)/bison && \
6377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6379 "RANLIB=$${RANLIB}" \
6380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6381 clean) \
6382 || exit 1
6384 @endif bison
6386 .PHONY: maybe-distclean-bison distclean-bison
6387 maybe-distclean-bison:
6388 @if bison
6389 maybe-distclean-bison: distclean-bison
6391 distclean-bison:
6392 @$(unstage)
6393 @[ -f ./bison/Makefile ] || exit 0; \
6394 r=`${PWD_COMMAND}`; export r; \
6395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6396 $(HOST_EXPORTS) \
6397 for flag in $(EXTRA_HOST_FLAGS) ; do \
6398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6399 done; \
6400 echo "Doing distclean in bison" ; \
6401 (cd $(HOST_SUBDIR)/bison && \
6402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6404 "RANLIB=$${RANLIB}" \
6405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6406 distclean) \
6407 || exit 1
6409 @endif bison
6411 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
6412 maybe-maintainer-clean-bison:
6413 @if bison
6414 maybe-maintainer-clean-bison: maintainer-clean-bison
6416 maintainer-clean-bison:
6417 @$(unstage)
6418 @[ -f ./bison/Makefile ] || exit 0; \
6419 r=`${PWD_COMMAND}`; export r; \
6420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6421 $(HOST_EXPORTS) \
6422 for flag in $(EXTRA_HOST_FLAGS) ; do \
6423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6424 done; \
6425 echo "Doing maintainer-clean in bison" ; \
6426 (cd $(HOST_SUBDIR)/bison && \
6427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6429 "RANLIB=$${RANLIB}" \
6430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6431 maintainer-clean) \
6432 || exit 1
6434 @endif bison
6438 .PHONY: configure-byacc maybe-configure-byacc
6439 maybe-configure-byacc:
6440 @if byacc
6441 maybe-configure-byacc: configure-byacc
6442 configure-byacc:
6443 @$(unstage)
6444 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
6445 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
6446 r=`${PWD_COMMAND}`; export r; \
6447 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6448 $(HOST_EXPORTS) \
6449 echo Configuring in $(HOST_SUBDIR)/byacc; \
6450 cd "$(HOST_SUBDIR)/byacc" || exit 1; \
6451 case $(srcdir) in \
6452 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6453 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
6454 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6455 esac; \
6456 srcdiroption="--srcdir=$${topdir}/byacc"; \
6457 libsrcdir="$$s/byacc"; \
6458 $(SHELL) $${libsrcdir}/configure \
6459 $(HOST_CONFIGARGS) $${srcdiroption} \
6460 || exit 1
6461 @endif byacc
6467 .PHONY: all-byacc maybe-all-byacc
6468 maybe-all-byacc:
6469 @if byacc
6470 TARGET-byacc=all
6471 maybe-all-byacc: all-byacc
6472 all-byacc: configure-byacc
6473 @$(unstage)
6474 @r=`${PWD_COMMAND}`; export r; \
6475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6476 $(HOST_EXPORTS) \
6477 (cd $(HOST_SUBDIR)/byacc && \
6478 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
6479 @endif byacc
6484 .PHONY: check-byacc maybe-check-byacc
6485 maybe-check-byacc:
6486 @if byacc
6487 maybe-check-byacc: check-byacc
6489 # This module is only tested in a native toolchain.
6490 check-byacc:
6491 @$(unstage)
6492 @if [ '$(host)' = '$(target)' ] ; then \
6493 r=`${PWD_COMMAND}`; export r; \
6494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6495 $(HOST_EXPORTS) \
6496 (cd $(HOST_SUBDIR)/byacc && \
6497 $(MAKE) $(FLAGS_TO_PASS) check); \
6500 @endif byacc
6502 .PHONY: install-byacc maybe-install-byacc
6503 maybe-install-byacc:
6504 @if byacc
6505 maybe-install-byacc: install-byacc
6507 install-byacc: installdirs
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) install)
6515 @endif byacc
6517 # Other targets (info, dvi, etc.)
6519 .PHONY: maybe-info-byacc info-byacc
6520 maybe-info-byacc:
6521 @if byacc
6522 maybe-info-byacc: info-byacc
6524 info-byacc: \
6525 configure-byacc
6526 @$(unstage)
6527 @[ -f ./byacc/Makefile ] || exit 0; \
6528 r=`${PWD_COMMAND}`; export r; \
6529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6530 $(HOST_EXPORTS) \
6531 for flag in $(EXTRA_HOST_FLAGS) ; do \
6532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6533 done; \
6534 echo "Doing info in byacc" ; \
6535 (cd $(HOST_SUBDIR)/byacc && \
6536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6538 "RANLIB=$${RANLIB}" \
6539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6540 info) \
6541 || exit 1
6543 @endif byacc
6545 .PHONY: maybe-dvi-byacc dvi-byacc
6546 maybe-dvi-byacc:
6547 @if byacc
6548 maybe-dvi-byacc: dvi-byacc
6550 dvi-byacc: \
6551 configure-byacc
6552 @$(unstage)
6553 @[ -f ./byacc/Makefile ] || exit 0; \
6554 r=`${PWD_COMMAND}`; export r; \
6555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6556 $(HOST_EXPORTS) \
6557 for flag in $(EXTRA_HOST_FLAGS) ; do \
6558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6559 done; \
6560 echo "Doing dvi in byacc" ; \
6561 (cd $(HOST_SUBDIR)/byacc && \
6562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6564 "RANLIB=$${RANLIB}" \
6565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6566 dvi) \
6567 || exit 1
6569 @endif byacc
6571 .PHONY: maybe-html-byacc html-byacc
6572 maybe-html-byacc:
6573 @if byacc
6574 maybe-html-byacc: html-byacc
6576 html-byacc: \
6577 configure-byacc
6578 @$(unstage)
6579 @[ -f ./byacc/Makefile ] || exit 0; \
6580 r=`${PWD_COMMAND}`; export r; \
6581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6582 $(HOST_EXPORTS) \
6583 for flag in $(EXTRA_HOST_FLAGS) ; do \
6584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6585 done; \
6586 echo "Doing html in byacc" ; \
6587 (cd $(HOST_SUBDIR)/byacc && \
6588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6590 "RANLIB=$${RANLIB}" \
6591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6592 html) \
6593 || exit 1
6595 @endif byacc
6597 .PHONY: maybe-TAGS-byacc TAGS-byacc
6598 maybe-TAGS-byacc:
6599 @if byacc
6600 maybe-TAGS-byacc: TAGS-byacc
6602 TAGS-byacc: \
6603 configure-byacc
6604 @$(unstage)
6605 @[ -f ./byacc/Makefile ] || exit 0; \
6606 r=`${PWD_COMMAND}`; export r; \
6607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6608 $(HOST_EXPORTS) \
6609 for flag in $(EXTRA_HOST_FLAGS) ; do \
6610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6611 done; \
6612 echo "Doing TAGS in byacc" ; \
6613 (cd $(HOST_SUBDIR)/byacc && \
6614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6616 "RANLIB=$${RANLIB}" \
6617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6618 TAGS) \
6619 || exit 1
6621 @endif byacc
6623 .PHONY: maybe-install-info-byacc install-info-byacc
6624 maybe-install-info-byacc:
6625 @if byacc
6626 maybe-install-info-byacc: install-info-byacc
6628 install-info-byacc: \
6629 configure-byacc \
6630 info-byacc
6631 @$(unstage)
6632 @[ -f ./byacc/Makefile ] || exit 0; \
6633 r=`${PWD_COMMAND}`; export r; \
6634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6635 $(HOST_EXPORTS) \
6636 for flag in $(EXTRA_HOST_FLAGS) ; do \
6637 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6638 done; \
6639 echo "Doing install-info in byacc" ; \
6640 (cd $(HOST_SUBDIR)/byacc && \
6641 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6642 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6643 "RANLIB=$${RANLIB}" \
6644 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6645 install-info) \
6646 || exit 1
6648 @endif byacc
6650 .PHONY: maybe-installcheck-byacc installcheck-byacc
6651 maybe-installcheck-byacc:
6652 @if byacc
6653 maybe-installcheck-byacc: installcheck-byacc
6655 installcheck-byacc: \
6656 configure-byacc
6657 @$(unstage)
6658 @[ -f ./byacc/Makefile ] || exit 0; \
6659 r=`${PWD_COMMAND}`; export r; \
6660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6661 $(HOST_EXPORTS) \
6662 for flag in $(EXTRA_HOST_FLAGS) ; do \
6663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6664 done; \
6665 echo "Doing installcheck in byacc" ; \
6666 (cd $(HOST_SUBDIR)/byacc && \
6667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6669 "RANLIB=$${RANLIB}" \
6670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6671 installcheck) \
6672 || exit 1
6674 @endif byacc
6676 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
6677 maybe-mostlyclean-byacc:
6678 @if byacc
6679 maybe-mostlyclean-byacc: mostlyclean-byacc
6681 mostlyclean-byacc:
6682 @$(unstage)
6683 @[ -f ./byacc/Makefile ] || exit 0; \
6684 r=`${PWD_COMMAND}`; export r; \
6685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6686 $(HOST_EXPORTS) \
6687 for flag in $(EXTRA_HOST_FLAGS) ; do \
6688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6689 done; \
6690 echo "Doing mostlyclean in byacc" ; \
6691 (cd $(HOST_SUBDIR)/byacc && \
6692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6694 "RANLIB=$${RANLIB}" \
6695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6696 mostlyclean) \
6697 || exit 1
6699 @endif byacc
6701 .PHONY: maybe-clean-byacc clean-byacc
6702 maybe-clean-byacc:
6703 @if byacc
6704 maybe-clean-byacc: clean-byacc
6706 clean-byacc:
6707 @$(unstage)
6708 @[ -f ./byacc/Makefile ] || exit 0; \
6709 r=`${PWD_COMMAND}`; export r; \
6710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6711 $(HOST_EXPORTS) \
6712 for flag in $(EXTRA_HOST_FLAGS) ; do \
6713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6714 done; \
6715 echo "Doing clean in byacc" ; \
6716 (cd $(HOST_SUBDIR)/byacc && \
6717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6719 "RANLIB=$${RANLIB}" \
6720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6721 clean) \
6722 || exit 1
6724 @endif byacc
6726 .PHONY: maybe-distclean-byacc distclean-byacc
6727 maybe-distclean-byacc:
6728 @if byacc
6729 maybe-distclean-byacc: distclean-byacc
6731 distclean-byacc:
6732 @$(unstage)
6733 @[ -f ./byacc/Makefile ] || exit 0; \
6734 r=`${PWD_COMMAND}`; export r; \
6735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6736 $(HOST_EXPORTS) \
6737 for flag in $(EXTRA_HOST_FLAGS) ; do \
6738 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6739 done; \
6740 echo "Doing distclean in byacc" ; \
6741 (cd $(HOST_SUBDIR)/byacc && \
6742 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6743 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6744 "RANLIB=$${RANLIB}" \
6745 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6746 distclean) \
6747 || exit 1
6749 @endif byacc
6751 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
6752 maybe-maintainer-clean-byacc:
6753 @if byacc
6754 maybe-maintainer-clean-byacc: maintainer-clean-byacc
6756 maintainer-clean-byacc:
6757 @$(unstage)
6758 @[ -f ./byacc/Makefile ] || exit 0; \
6759 r=`${PWD_COMMAND}`; export r; \
6760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6761 $(HOST_EXPORTS) \
6762 for flag in $(EXTRA_HOST_FLAGS) ; do \
6763 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6764 done; \
6765 echo "Doing maintainer-clean in byacc" ; \
6766 (cd $(HOST_SUBDIR)/byacc && \
6767 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6768 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6769 "RANLIB=$${RANLIB}" \
6770 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6771 maintainer-clean) \
6772 || exit 1
6774 @endif byacc
6778 .PHONY: configure-bzip2 maybe-configure-bzip2
6779 maybe-configure-bzip2:
6780 @if bzip2
6781 maybe-configure-bzip2: configure-bzip2
6782 configure-bzip2:
6783 @$(unstage)
6784 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
6785 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
6786 r=`${PWD_COMMAND}`; export r; \
6787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6788 $(HOST_EXPORTS) \
6789 echo Configuring in $(HOST_SUBDIR)/bzip2; \
6790 cd "$(HOST_SUBDIR)/bzip2" || exit 1; \
6791 case $(srcdir) in \
6792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6793 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
6794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6795 esac; \
6796 srcdiroption="--srcdir=$${topdir}/bzip2"; \
6797 libsrcdir="$$s/bzip2"; \
6798 $(SHELL) $${libsrcdir}/configure \
6799 $(HOST_CONFIGARGS) $${srcdiroption} \
6800 || exit 1
6801 @endif bzip2
6807 .PHONY: all-bzip2 maybe-all-bzip2
6808 maybe-all-bzip2:
6809 @if bzip2
6810 TARGET-bzip2=all
6811 maybe-all-bzip2: all-bzip2
6812 all-bzip2: configure-bzip2
6813 @$(unstage)
6814 @r=`${PWD_COMMAND}`; export r; \
6815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6816 $(HOST_EXPORTS) \
6817 (cd $(HOST_SUBDIR)/bzip2 && \
6818 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
6819 @endif bzip2
6824 .PHONY: check-bzip2 maybe-check-bzip2
6825 maybe-check-bzip2:
6826 @if bzip2
6827 maybe-check-bzip2: check-bzip2
6829 check-bzip2:
6830 @$(unstage)
6831 @r=`${PWD_COMMAND}`; export r; \
6832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6833 $(HOST_EXPORTS) \
6834 (cd $(HOST_SUBDIR)/bzip2 && \
6835 $(MAKE) $(FLAGS_TO_PASS) check)
6837 @endif bzip2
6839 .PHONY: install-bzip2 maybe-install-bzip2
6840 maybe-install-bzip2:
6841 @if bzip2
6842 maybe-install-bzip2: install-bzip2
6844 install-bzip2: installdirs
6845 @$(unstage)
6846 @r=`${PWD_COMMAND}`; export r; \
6847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6848 $(HOST_EXPORTS) \
6849 (cd $(HOST_SUBDIR)/bzip2 && \
6850 $(MAKE) $(FLAGS_TO_PASS) install)
6852 @endif bzip2
6854 # Other targets (info, dvi, etc.)
6856 .PHONY: maybe-info-bzip2 info-bzip2
6857 maybe-info-bzip2:
6858 @if bzip2
6859 maybe-info-bzip2: info-bzip2
6861 info-bzip2: \
6862 configure-bzip2
6863 @$(unstage)
6864 @[ -f ./bzip2/Makefile ] || exit 0; \
6865 r=`${PWD_COMMAND}`; export r; \
6866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6867 $(HOST_EXPORTS) \
6868 for flag in $(EXTRA_HOST_FLAGS) ; do \
6869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6870 done; \
6871 echo "Doing info in bzip2" ; \
6872 (cd $(HOST_SUBDIR)/bzip2 && \
6873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6875 "RANLIB=$${RANLIB}" \
6876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6877 info) \
6878 || exit 1
6880 @endif bzip2
6882 .PHONY: maybe-dvi-bzip2 dvi-bzip2
6883 maybe-dvi-bzip2:
6884 @if bzip2
6885 maybe-dvi-bzip2: dvi-bzip2
6887 dvi-bzip2: \
6888 configure-bzip2
6889 @$(unstage)
6890 @[ -f ./bzip2/Makefile ] || exit 0; \
6891 r=`${PWD_COMMAND}`; export r; \
6892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6893 $(HOST_EXPORTS) \
6894 for flag in $(EXTRA_HOST_FLAGS) ; do \
6895 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6896 done; \
6897 echo "Doing dvi in bzip2" ; \
6898 (cd $(HOST_SUBDIR)/bzip2 && \
6899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6901 "RANLIB=$${RANLIB}" \
6902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6903 dvi) \
6904 || exit 1
6906 @endif bzip2
6908 .PHONY: maybe-html-bzip2 html-bzip2
6909 maybe-html-bzip2:
6910 @if bzip2
6911 maybe-html-bzip2: html-bzip2
6913 html-bzip2: \
6914 configure-bzip2
6915 @$(unstage)
6916 @[ -f ./bzip2/Makefile ] || exit 0; \
6917 r=`${PWD_COMMAND}`; export r; \
6918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6919 $(HOST_EXPORTS) \
6920 for flag in $(EXTRA_HOST_FLAGS) ; do \
6921 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6922 done; \
6923 echo "Doing html in bzip2" ; \
6924 (cd $(HOST_SUBDIR)/bzip2 && \
6925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6927 "RANLIB=$${RANLIB}" \
6928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6929 html) \
6930 || exit 1
6932 @endif bzip2
6934 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
6935 maybe-TAGS-bzip2:
6936 @if bzip2
6937 maybe-TAGS-bzip2: TAGS-bzip2
6939 TAGS-bzip2: \
6940 configure-bzip2
6941 @$(unstage)
6942 @[ -f ./bzip2/Makefile ] || exit 0; \
6943 r=`${PWD_COMMAND}`; export r; \
6944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6945 $(HOST_EXPORTS) \
6946 for flag in $(EXTRA_HOST_FLAGS) ; do \
6947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6948 done; \
6949 echo "Doing TAGS in bzip2" ; \
6950 (cd $(HOST_SUBDIR)/bzip2 && \
6951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6953 "RANLIB=$${RANLIB}" \
6954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6955 TAGS) \
6956 || exit 1
6958 @endif bzip2
6960 .PHONY: maybe-install-info-bzip2 install-info-bzip2
6961 maybe-install-info-bzip2:
6962 @if bzip2
6963 maybe-install-info-bzip2: install-info-bzip2
6965 install-info-bzip2: \
6966 configure-bzip2 \
6967 info-bzip2
6968 @$(unstage)
6969 @[ -f ./bzip2/Makefile ] || exit 0; \
6970 r=`${PWD_COMMAND}`; export r; \
6971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6972 $(HOST_EXPORTS) \
6973 for flag in $(EXTRA_HOST_FLAGS) ; do \
6974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6975 done; \
6976 echo "Doing install-info in bzip2" ; \
6977 (cd $(HOST_SUBDIR)/bzip2 && \
6978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6980 "RANLIB=$${RANLIB}" \
6981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6982 install-info) \
6983 || exit 1
6985 @endif bzip2
6987 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
6988 maybe-installcheck-bzip2:
6989 @if bzip2
6990 maybe-installcheck-bzip2: installcheck-bzip2
6992 installcheck-bzip2: \
6993 configure-bzip2
6994 @$(unstage)
6995 @[ -f ./bzip2/Makefile ] || exit 0; \
6996 r=`${PWD_COMMAND}`; export r; \
6997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6998 $(HOST_EXPORTS) \
6999 for flag in $(EXTRA_HOST_FLAGS) ; do \
7000 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7001 done; \
7002 echo "Doing installcheck in bzip2" ; \
7003 (cd $(HOST_SUBDIR)/bzip2 && \
7004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7006 "RANLIB=$${RANLIB}" \
7007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7008 installcheck) \
7009 || exit 1
7011 @endif bzip2
7013 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
7014 maybe-mostlyclean-bzip2:
7015 @if bzip2
7016 maybe-mostlyclean-bzip2: mostlyclean-bzip2
7018 mostlyclean-bzip2:
7019 @$(unstage)
7020 @[ -f ./bzip2/Makefile ] || exit 0; \
7021 r=`${PWD_COMMAND}`; export r; \
7022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7023 $(HOST_EXPORTS) \
7024 for flag in $(EXTRA_HOST_FLAGS) ; do \
7025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7026 done; \
7027 echo "Doing mostlyclean in bzip2" ; \
7028 (cd $(HOST_SUBDIR)/bzip2 && \
7029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7031 "RANLIB=$${RANLIB}" \
7032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7033 mostlyclean) \
7034 || exit 1
7036 @endif bzip2
7038 .PHONY: maybe-clean-bzip2 clean-bzip2
7039 maybe-clean-bzip2:
7040 @if bzip2
7041 maybe-clean-bzip2: clean-bzip2
7043 clean-bzip2:
7044 @$(unstage)
7045 @[ -f ./bzip2/Makefile ] || exit 0; \
7046 r=`${PWD_COMMAND}`; export r; \
7047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7048 $(HOST_EXPORTS) \
7049 for flag in $(EXTRA_HOST_FLAGS) ; do \
7050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7051 done; \
7052 echo "Doing clean in bzip2" ; \
7053 (cd $(HOST_SUBDIR)/bzip2 && \
7054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7056 "RANLIB=$${RANLIB}" \
7057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7058 clean) \
7059 || exit 1
7061 @endif bzip2
7063 .PHONY: maybe-distclean-bzip2 distclean-bzip2
7064 maybe-distclean-bzip2:
7065 @if bzip2
7066 maybe-distclean-bzip2: distclean-bzip2
7068 distclean-bzip2:
7069 @$(unstage)
7070 @[ -f ./bzip2/Makefile ] || exit 0; \
7071 r=`${PWD_COMMAND}`; export r; \
7072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7073 $(HOST_EXPORTS) \
7074 for flag in $(EXTRA_HOST_FLAGS) ; do \
7075 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7076 done; \
7077 echo "Doing distclean in bzip2" ; \
7078 (cd $(HOST_SUBDIR)/bzip2 && \
7079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7081 "RANLIB=$${RANLIB}" \
7082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7083 distclean) \
7084 || exit 1
7086 @endif bzip2
7088 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
7089 maybe-maintainer-clean-bzip2:
7090 @if bzip2
7091 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
7093 maintainer-clean-bzip2:
7094 @$(unstage)
7095 @[ -f ./bzip2/Makefile ] || exit 0; \
7096 r=`${PWD_COMMAND}`; export r; \
7097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7098 $(HOST_EXPORTS) \
7099 for flag in $(EXTRA_HOST_FLAGS) ; do \
7100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7101 done; \
7102 echo "Doing maintainer-clean in bzip2" ; \
7103 (cd $(HOST_SUBDIR)/bzip2 && \
7104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7106 "RANLIB=$${RANLIB}" \
7107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7108 maintainer-clean) \
7109 || exit 1
7111 @endif bzip2
7115 .PHONY: configure-dejagnu maybe-configure-dejagnu
7116 maybe-configure-dejagnu:
7117 @if dejagnu
7118 maybe-configure-dejagnu: configure-dejagnu
7119 configure-dejagnu:
7120 @$(unstage)
7121 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
7122 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
7123 r=`${PWD_COMMAND}`; export r; \
7124 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7125 $(HOST_EXPORTS) \
7126 echo Configuring in $(HOST_SUBDIR)/dejagnu; \
7127 cd "$(HOST_SUBDIR)/dejagnu" || exit 1; \
7128 case $(srcdir) in \
7129 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7130 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
7131 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7132 esac; \
7133 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
7134 libsrcdir="$$s/dejagnu"; \
7135 $(SHELL) $${libsrcdir}/configure \
7136 $(HOST_CONFIGARGS) $${srcdiroption} \
7137 || exit 1
7138 @endif dejagnu
7144 .PHONY: all-dejagnu maybe-all-dejagnu
7145 maybe-all-dejagnu:
7146 @if dejagnu
7147 TARGET-dejagnu=all
7148 maybe-all-dejagnu: all-dejagnu
7149 all-dejagnu: configure-dejagnu
7150 @$(unstage)
7151 @r=`${PWD_COMMAND}`; export r; \
7152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7153 $(HOST_EXPORTS) \
7154 (cd $(HOST_SUBDIR)/dejagnu && \
7155 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
7156 @endif dejagnu
7161 .PHONY: check-dejagnu maybe-check-dejagnu
7162 maybe-check-dejagnu:
7163 @if dejagnu
7164 maybe-check-dejagnu: check-dejagnu
7166 check-dejagnu:
7167 @$(unstage)
7168 @r=`${PWD_COMMAND}`; export r; \
7169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7170 $(HOST_EXPORTS) \
7171 (cd $(HOST_SUBDIR)/dejagnu && \
7172 $(MAKE) $(FLAGS_TO_PASS) check)
7174 @endif dejagnu
7176 .PHONY: install-dejagnu maybe-install-dejagnu
7177 maybe-install-dejagnu:
7178 @if dejagnu
7179 maybe-install-dejagnu: install-dejagnu
7181 install-dejagnu: installdirs
7182 @$(unstage)
7183 @r=`${PWD_COMMAND}`; export r; \
7184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7185 $(HOST_EXPORTS) \
7186 (cd $(HOST_SUBDIR)/dejagnu && \
7187 $(MAKE) $(FLAGS_TO_PASS) install)
7189 @endif dejagnu
7191 # Other targets (info, dvi, etc.)
7193 .PHONY: maybe-info-dejagnu info-dejagnu
7194 maybe-info-dejagnu:
7195 @if dejagnu
7196 maybe-info-dejagnu: info-dejagnu
7198 info-dejagnu: \
7199 configure-dejagnu
7200 @$(unstage)
7201 @[ -f ./dejagnu/Makefile ] || exit 0; \
7202 r=`${PWD_COMMAND}`; export r; \
7203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7204 $(HOST_EXPORTS) \
7205 for flag in $(EXTRA_HOST_FLAGS) ; do \
7206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7207 done; \
7208 echo "Doing info in dejagnu" ; \
7209 (cd $(HOST_SUBDIR)/dejagnu && \
7210 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7211 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7212 "RANLIB=$${RANLIB}" \
7213 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7214 info) \
7215 || exit 1
7217 @endif dejagnu
7219 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
7220 maybe-dvi-dejagnu:
7221 @if dejagnu
7222 maybe-dvi-dejagnu: dvi-dejagnu
7224 dvi-dejagnu: \
7225 configure-dejagnu
7226 @$(unstage)
7227 @[ -f ./dejagnu/Makefile ] || exit 0; \
7228 r=`${PWD_COMMAND}`; export r; \
7229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7230 $(HOST_EXPORTS) \
7231 for flag in $(EXTRA_HOST_FLAGS) ; do \
7232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7233 done; \
7234 echo "Doing dvi in dejagnu" ; \
7235 (cd $(HOST_SUBDIR)/dejagnu && \
7236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7238 "RANLIB=$${RANLIB}" \
7239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7240 dvi) \
7241 || exit 1
7243 @endif dejagnu
7245 .PHONY: maybe-html-dejagnu html-dejagnu
7246 maybe-html-dejagnu:
7247 @if dejagnu
7248 maybe-html-dejagnu: html-dejagnu
7250 html-dejagnu: \
7251 configure-dejagnu
7252 @$(unstage)
7253 @[ -f ./dejagnu/Makefile ] || exit 0; \
7254 r=`${PWD_COMMAND}`; export r; \
7255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 $(HOST_EXPORTS) \
7257 for flag in $(EXTRA_HOST_FLAGS) ; do \
7258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7259 done; \
7260 echo "Doing html in dejagnu" ; \
7261 (cd $(HOST_SUBDIR)/dejagnu && \
7262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7264 "RANLIB=$${RANLIB}" \
7265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7266 html) \
7267 || exit 1
7269 @endif dejagnu
7271 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
7272 maybe-TAGS-dejagnu:
7273 @if dejagnu
7274 maybe-TAGS-dejagnu: TAGS-dejagnu
7276 TAGS-dejagnu: \
7277 configure-dejagnu
7278 @$(unstage)
7279 @[ -f ./dejagnu/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282 $(HOST_EXPORTS) \
7283 for flag in $(EXTRA_HOST_FLAGS) ; do \
7284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7285 done; \
7286 echo "Doing TAGS in dejagnu" ; \
7287 (cd $(HOST_SUBDIR)/dejagnu && \
7288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7290 "RANLIB=$${RANLIB}" \
7291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7292 TAGS) \
7293 || exit 1
7295 @endif dejagnu
7297 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
7298 maybe-install-info-dejagnu:
7299 @if dejagnu
7300 maybe-install-info-dejagnu: install-info-dejagnu
7302 install-info-dejagnu: \
7303 configure-dejagnu \
7304 info-dejagnu
7305 @$(unstage)
7306 @[ -f ./dejagnu/Makefile ] || exit 0; \
7307 r=`${PWD_COMMAND}`; export r; \
7308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7309 $(HOST_EXPORTS) \
7310 for flag in $(EXTRA_HOST_FLAGS) ; do \
7311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7312 done; \
7313 echo "Doing install-info in dejagnu" ; \
7314 (cd $(HOST_SUBDIR)/dejagnu && \
7315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7317 "RANLIB=$${RANLIB}" \
7318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7319 install-info) \
7320 || exit 1
7322 @endif dejagnu
7324 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
7325 maybe-installcheck-dejagnu:
7326 @if dejagnu
7327 maybe-installcheck-dejagnu: installcheck-dejagnu
7329 installcheck-dejagnu: \
7330 configure-dejagnu
7331 @$(unstage)
7332 @[ -f ./dejagnu/Makefile ] || exit 0; \
7333 r=`${PWD_COMMAND}`; export r; \
7334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7335 $(HOST_EXPORTS) \
7336 for flag in $(EXTRA_HOST_FLAGS) ; do \
7337 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7338 done; \
7339 echo "Doing installcheck in dejagnu" ; \
7340 (cd $(HOST_SUBDIR)/dejagnu && \
7341 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7342 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7343 "RANLIB=$${RANLIB}" \
7344 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7345 installcheck) \
7346 || exit 1
7348 @endif dejagnu
7350 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
7351 maybe-mostlyclean-dejagnu:
7352 @if dejagnu
7353 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
7355 mostlyclean-dejagnu:
7356 @$(unstage)
7357 @[ -f ./dejagnu/Makefile ] || exit 0; \
7358 r=`${PWD_COMMAND}`; export r; \
7359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7360 $(HOST_EXPORTS) \
7361 for flag in $(EXTRA_HOST_FLAGS) ; do \
7362 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7363 done; \
7364 echo "Doing mostlyclean in dejagnu" ; \
7365 (cd $(HOST_SUBDIR)/dejagnu && \
7366 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7367 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7368 "RANLIB=$${RANLIB}" \
7369 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7370 mostlyclean) \
7371 || exit 1
7373 @endif dejagnu
7375 .PHONY: maybe-clean-dejagnu clean-dejagnu
7376 maybe-clean-dejagnu:
7377 @if dejagnu
7378 maybe-clean-dejagnu: clean-dejagnu
7380 clean-dejagnu:
7381 @$(unstage)
7382 @[ -f ./dejagnu/Makefile ] || exit 0; \
7383 r=`${PWD_COMMAND}`; export r; \
7384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7385 $(HOST_EXPORTS) \
7386 for flag in $(EXTRA_HOST_FLAGS) ; do \
7387 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7388 done; \
7389 echo "Doing clean in dejagnu" ; \
7390 (cd $(HOST_SUBDIR)/dejagnu && \
7391 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7392 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7393 "RANLIB=$${RANLIB}" \
7394 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7395 clean) \
7396 || exit 1
7398 @endif dejagnu
7400 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
7401 maybe-distclean-dejagnu:
7402 @if dejagnu
7403 maybe-distclean-dejagnu: distclean-dejagnu
7405 distclean-dejagnu:
7406 @$(unstage)
7407 @[ -f ./dejagnu/Makefile ] || exit 0; \
7408 r=`${PWD_COMMAND}`; export r; \
7409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7410 $(HOST_EXPORTS) \
7411 for flag in $(EXTRA_HOST_FLAGS) ; do \
7412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7413 done; \
7414 echo "Doing distclean in dejagnu" ; \
7415 (cd $(HOST_SUBDIR)/dejagnu && \
7416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7418 "RANLIB=$${RANLIB}" \
7419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7420 distclean) \
7421 || exit 1
7423 @endif dejagnu
7425 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
7426 maybe-maintainer-clean-dejagnu:
7427 @if dejagnu
7428 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
7430 maintainer-clean-dejagnu:
7431 @$(unstage)
7432 @[ -f ./dejagnu/Makefile ] || exit 0; \
7433 r=`${PWD_COMMAND}`; export r; \
7434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7435 $(HOST_EXPORTS) \
7436 for flag in $(EXTRA_HOST_FLAGS) ; do \
7437 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7438 done; \
7439 echo "Doing maintainer-clean in dejagnu" ; \
7440 (cd $(HOST_SUBDIR)/dejagnu && \
7441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7443 "RANLIB=$${RANLIB}" \
7444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7445 maintainer-clean) \
7446 || exit 1
7448 @endif dejagnu
7452 .PHONY: configure-diff maybe-configure-diff
7453 maybe-configure-diff:
7454 @if diff
7455 maybe-configure-diff: configure-diff
7456 configure-diff:
7457 @$(unstage)
7458 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
7459 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
7460 r=`${PWD_COMMAND}`; export r; \
7461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7462 $(HOST_EXPORTS) \
7463 echo Configuring in $(HOST_SUBDIR)/diff; \
7464 cd "$(HOST_SUBDIR)/diff" || exit 1; \
7465 case $(srcdir) in \
7466 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7467 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
7468 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7469 esac; \
7470 srcdiroption="--srcdir=$${topdir}/diff"; \
7471 libsrcdir="$$s/diff"; \
7472 $(SHELL) $${libsrcdir}/configure \
7473 $(HOST_CONFIGARGS) $${srcdiroption} \
7474 || exit 1
7475 @endif diff
7481 .PHONY: all-diff maybe-all-diff
7482 maybe-all-diff:
7483 @if diff
7484 TARGET-diff=all
7485 maybe-all-diff: all-diff
7486 all-diff: configure-diff
7487 @$(unstage)
7488 @r=`${PWD_COMMAND}`; export r; \
7489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7490 $(HOST_EXPORTS) \
7491 (cd $(HOST_SUBDIR)/diff && \
7492 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
7493 @endif diff
7498 .PHONY: check-diff maybe-check-diff
7499 maybe-check-diff:
7500 @if diff
7501 maybe-check-diff: check-diff
7503 check-diff:
7504 @$(unstage)
7505 @r=`${PWD_COMMAND}`; export r; \
7506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7507 $(HOST_EXPORTS) \
7508 (cd $(HOST_SUBDIR)/diff && \
7509 $(MAKE) $(FLAGS_TO_PASS) check)
7511 @endif diff
7513 .PHONY: install-diff maybe-install-diff
7514 maybe-install-diff:
7515 @if diff
7516 maybe-install-diff: install-diff
7518 install-diff: installdirs
7519 @$(unstage)
7520 @r=`${PWD_COMMAND}`; export r; \
7521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7522 $(HOST_EXPORTS) \
7523 (cd $(HOST_SUBDIR)/diff && \
7524 $(MAKE) $(FLAGS_TO_PASS) install)
7526 @endif diff
7528 # Other targets (info, dvi, etc.)
7530 .PHONY: maybe-info-diff info-diff
7531 maybe-info-diff:
7532 @if diff
7533 maybe-info-diff: info-diff
7535 info-diff: \
7536 configure-diff
7537 @$(unstage)
7538 @[ -f ./diff/Makefile ] || exit 0; \
7539 r=`${PWD_COMMAND}`; export r; \
7540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7541 $(HOST_EXPORTS) \
7542 for flag in $(EXTRA_HOST_FLAGS) ; do \
7543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7544 done; \
7545 echo "Doing info in diff" ; \
7546 (cd $(HOST_SUBDIR)/diff && \
7547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7549 "RANLIB=$${RANLIB}" \
7550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7551 info) \
7552 || exit 1
7554 @endif diff
7556 .PHONY: maybe-dvi-diff dvi-diff
7557 maybe-dvi-diff:
7558 @if diff
7559 maybe-dvi-diff: dvi-diff
7561 dvi-diff: \
7562 configure-diff
7563 @$(unstage)
7564 @[ -f ./diff/Makefile ] || exit 0; \
7565 r=`${PWD_COMMAND}`; export r; \
7566 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7567 $(HOST_EXPORTS) \
7568 for flag in $(EXTRA_HOST_FLAGS) ; do \
7569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7570 done; \
7571 echo "Doing dvi in diff" ; \
7572 (cd $(HOST_SUBDIR)/diff && \
7573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7575 "RANLIB=$${RANLIB}" \
7576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7577 dvi) \
7578 || exit 1
7580 @endif diff
7582 .PHONY: maybe-html-diff html-diff
7583 maybe-html-diff:
7584 @if diff
7585 maybe-html-diff: html-diff
7587 html-diff: \
7588 configure-diff
7589 @$(unstage)
7590 @[ -f ./diff/Makefile ] || exit 0; \
7591 r=`${PWD_COMMAND}`; export r; \
7592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7593 $(HOST_EXPORTS) \
7594 for flag in $(EXTRA_HOST_FLAGS) ; do \
7595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7596 done; \
7597 echo "Doing html in diff" ; \
7598 (cd $(HOST_SUBDIR)/diff && \
7599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7601 "RANLIB=$${RANLIB}" \
7602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7603 html) \
7604 || exit 1
7606 @endif diff
7608 .PHONY: maybe-TAGS-diff TAGS-diff
7609 maybe-TAGS-diff:
7610 @if diff
7611 maybe-TAGS-diff: TAGS-diff
7613 TAGS-diff: \
7614 configure-diff
7615 @$(unstage)
7616 @[ -f ./diff/Makefile ] || exit 0; \
7617 r=`${PWD_COMMAND}`; export r; \
7618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7619 $(HOST_EXPORTS) \
7620 for flag in $(EXTRA_HOST_FLAGS) ; do \
7621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7622 done; \
7623 echo "Doing TAGS in diff" ; \
7624 (cd $(HOST_SUBDIR)/diff && \
7625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7627 "RANLIB=$${RANLIB}" \
7628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7629 TAGS) \
7630 || exit 1
7632 @endif diff
7634 .PHONY: maybe-install-info-diff install-info-diff
7635 maybe-install-info-diff:
7636 @if diff
7637 maybe-install-info-diff: install-info-diff
7639 install-info-diff: \
7640 configure-diff \
7641 info-diff
7642 @$(unstage)
7643 @[ -f ./diff/Makefile ] || exit 0; \
7644 r=`${PWD_COMMAND}`; export r; \
7645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7646 $(HOST_EXPORTS) \
7647 for flag in $(EXTRA_HOST_FLAGS) ; do \
7648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7649 done; \
7650 echo "Doing install-info in diff" ; \
7651 (cd $(HOST_SUBDIR)/diff && \
7652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7654 "RANLIB=$${RANLIB}" \
7655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7656 install-info) \
7657 || exit 1
7659 @endif diff
7661 .PHONY: maybe-installcheck-diff installcheck-diff
7662 maybe-installcheck-diff:
7663 @if diff
7664 maybe-installcheck-diff: installcheck-diff
7666 installcheck-diff: \
7667 configure-diff
7668 @$(unstage)
7669 @[ -f ./diff/Makefile ] || exit 0; \
7670 r=`${PWD_COMMAND}`; export r; \
7671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7672 $(HOST_EXPORTS) \
7673 for flag in $(EXTRA_HOST_FLAGS) ; do \
7674 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7675 done; \
7676 echo "Doing installcheck in diff" ; \
7677 (cd $(HOST_SUBDIR)/diff && \
7678 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7679 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7680 "RANLIB=$${RANLIB}" \
7681 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7682 installcheck) \
7683 || exit 1
7685 @endif diff
7687 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
7688 maybe-mostlyclean-diff:
7689 @if diff
7690 maybe-mostlyclean-diff: mostlyclean-diff
7692 mostlyclean-diff:
7693 @$(unstage)
7694 @[ -f ./diff/Makefile ] || exit 0; \
7695 r=`${PWD_COMMAND}`; export r; \
7696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7697 $(HOST_EXPORTS) \
7698 for flag in $(EXTRA_HOST_FLAGS) ; do \
7699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7700 done; \
7701 echo "Doing mostlyclean in diff" ; \
7702 (cd $(HOST_SUBDIR)/diff && \
7703 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7704 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7705 "RANLIB=$${RANLIB}" \
7706 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7707 mostlyclean) \
7708 || exit 1
7710 @endif diff
7712 .PHONY: maybe-clean-diff clean-diff
7713 maybe-clean-diff:
7714 @if diff
7715 maybe-clean-diff: clean-diff
7717 clean-diff:
7718 @$(unstage)
7719 @[ -f ./diff/Makefile ] || exit 0; \
7720 r=`${PWD_COMMAND}`; export r; \
7721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7722 $(HOST_EXPORTS) \
7723 for flag in $(EXTRA_HOST_FLAGS) ; do \
7724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7725 done; \
7726 echo "Doing clean in diff" ; \
7727 (cd $(HOST_SUBDIR)/diff && \
7728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7730 "RANLIB=$${RANLIB}" \
7731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7732 clean) \
7733 || exit 1
7735 @endif diff
7737 .PHONY: maybe-distclean-diff distclean-diff
7738 maybe-distclean-diff:
7739 @if diff
7740 maybe-distclean-diff: distclean-diff
7742 distclean-diff:
7743 @$(unstage)
7744 @[ -f ./diff/Makefile ] || exit 0; \
7745 r=`${PWD_COMMAND}`; export r; \
7746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7747 $(HOST_EXPORTS) \
7748 for flag in $(EXTRA_HOST_FLAGS) ; do \
7749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7750 done; \
7751 echo "Doing distclean in diff" ; \
7752 (cd $(HOST_SUBDIR)/diff && \
7753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7755 "RANLIB=$${RANLIB}" \
7756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7757 distclean) \
7758 || exit 1
7760 @endif diff
7762 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
7763 maybe-maintainer-clean-diff:
7764 @if diff
7765 maybe-maintainer-clean-diff: maintainer-clean-diff
7767 maintainer-clean-diff:
7768 @$(unstage)
7769 @[ -f ./diff/Makefile ] || exit 0; \
7770 r=`${PWD_COMMAND}`; export r; \
7771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7772 $(HOST_EXPORTS) \
7773 for flag in $(EXTRA_HOST_FLAGS) ; do \
7774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7775 done; \
7776 echo "Doing maintainer-clean in diff" ; \
7777 (cd $(HOST_SUBDIR)/diff && \
7778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7780 "RANLIB=$${RANLIB}" \
7781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7782 maintainer-clean) \
7783 || exit 1
7785 @endif diff
7789 .PHONY: configure-dosutils maybe-configure-dosutils
7790 maybe-configure-dosutils:
7791 @if dosutils
7792 maybe-configure-dosutils: configure-dosutils
7793 configure-dosutils:
7794 @$(unstage)
7795 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
7796 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
7797 r=`${PWD_COMMAND}`; export r; \
7798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7799 $(HOST_EXPORTS) \
7800 echo Configuring in $(HOST_SUBDIR)/dosutils; \
7801 cd "$(HOST_SUBDIR)/dosutils" || exit 1; \
7802 case $(srcdir) in \
7803 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7804 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
7805 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7806 esac; \
7807 srcdiroption="--srcdir=$${topdir}/dosutils"; \
7808 libsrcdir="$$s/dosutils"; \
7809 $(SHELL) $${libsrcdir}/configure \
7810 $(HOST_CONFIGARGS) $${srcdiroption} \
7811 || exit 1
7812 @endif dosutils
7818 .PHONY: all-dosutils maybe-all-dosutils
7819 maybe-all-dosutils:
7820 @if dosutils
7821 TARGET-dosutils=all
7822 maybe-all-dosutils: all-dosutils
7823 all-dosutils: configure-dosutils
7824 @$(unstage)
7825 @r=`${PWD_COMMAND}`; export r; \
7826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7827 $(HOST_EXPORTS) \
7828 (cd $(HOST_SUBDIR)/dosutils && \
7829 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
7830 @endif dosutils
7835 .PHONY: check-dosutils maybe-check-dosutils
7836 maybe-check-dosutils:
7837 @if dosutils
7838 maybe-check-dosutils: check-dosutils
7840 check-dosutils:
7842 @endif dosutils
7844 .PHONY: install-dosutils maybe-install-dosutils
7845 maybe-install-dosutils:
7846 @if dosutils
7847 maybe-install-dosutils: install-dosutils
7849 install-dosutils: installdirs
7850 @$(unstage)
7851 @r=`${PWD_COMMAND}`; export r; \
7852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7853 $(HOST_EXPORTS) \
7854 (cd $(HOST_SUBDIR)/dosutils && \
7855 $(MAKE) $(FLAGS_TO_PASS) install)
7857 @endif dosutils
7859 # Other targets (info, dvi, etc.)
7861 .PHONY: maybe-info-dosutils info-dosutils
7862 maybe-info-dosutils:
7863 @if dosutils
7864 maybe-info-dosutils: info-dosutils
7866 info-dosutils: \
7867 configure-dosutils
7868 @$(unstage)
7869 @[ -f ./dosutils/Makefile ] || exit 0; \
7870 r=`${PWD_COMMAND}`; export r; \
7871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7872 $(HOST_EXPORTS) \
7873 for flag in $(EXTRA_HOST_FLAGS) ; do \
7874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7875 done; \
7876 echo "Doing info in dosutils" ; \
7877 (cd $(HOST_SUBDIR)/dosutils && \
7878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7880 "RANLIB=$${RANLIB}" \
7881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7882 info) \
7883 || exit 1
7885 @endif dosutils
7887 .PHONY: maybe-dvi-dosutils dvi-dosutils
7888 maybe-dvi-dosutils:
7889 @if dosutils
7890 maybe-dvi-dosutils: dvi-dosutils
7892 dvi-dosutils: \
7893 configure-dosutils
7894 @$(unstage)
7895 @[ -f ./dosutils/Makefile ] || exit 0; \
7896 r=`${PWD_COMMAND}`; export r; \
7897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7898 $(HOST_EXPORTS) \
7899 for flag in $(EXTRA_HOST_FLAGS) ; do \
7900 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7901 done; \
7902 echo "Doing dvi in dosutils" ; \
7903 (cd $(HOST_SUBDIR)/dosutils && \
7904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7906 "RANLIB=$${RANLIB}" \
7907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7908 dvi) \
7909 || exit 1
7911 @endif dosutils
7913 .PHONY: maybe-html-dosutils html-dosutils
7914 maybe-html-dosutils:
7915 @if dosutils
7916 maybe-html-dosutils: html-dosutils
7918 html-dosutils: \
7919 configure-dosutils
7920 @$(unstage)
7921 @[ -f ./dosutils/Makefile ] || exit 0; \
7922 r=`${PWD_COMMAND}`; export r; \
7923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7924 $(HOST_EXPORTS) \
7925 for flag in $(EXTRA_HOST_FLAGS) ; do \
7926 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7927 done; \
7928 echo "Doing html in dosutils" ; \
7929 (cd $(HOST_SUBDIR)/dosutils && \
7930 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7931 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7932 "RANLIB=$${RANLIB}" \
7933 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7934 html) \
7935 || exit 1
7937 @endif dosutils
7939 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
7940 maybe-TAGS-dosutils:
7941 @if dosutils
7942 maybe-TAGS-dosutils: TAGS-dosutils
7944 TAGS-dosutils: \
7945 configure-dosutils
7946 @$(unstage)
7947 @[ -f ./dosutils/Makefile ] || exit 0; \
7948 r=`${PWD_COMMAND}`; export r; \
7949 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7950 $(HOST_EXPORTS) \
7951 for flag in $(EXTRA_HOST_FLAGS) ; do \
7952 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7953 done; \
7954 echo "Doing TAGS in dosutils" ; \
7955 (cd $(HOST_SUBDIR)/dosutils && \
7956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7958 "RANLIB=$${RANLIB}" \
7959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7960 TAGS) \
7961 || exit 1
7963 @endif dosutils
7965 .PHONY: maybe-install-info-dosutils install-info-dosutils
7966 maybe-install-info-dosutils:
7967 @if dosutils
7968 maybe-install-info-dosutils: install-info-dosutils
7970 install-info-dosutils: \
7971 configure-dosutils \
7972 info-dosutils
7973 @$(unstage)
7974 @[ -f ./dosutils/Makefile ] || exit 0; \
7975 r=`${PWD_COMMAND}`; export r; \
7976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7977 $(HOST_EXPORTS) \
7978 for flag in $(EXTRA_HOST_FLAGS) ; do \
7979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7980 done; \
7981 echo "Doing install-info in dosutils" ; \
7982 (cd $(HOST_SUBDIR)/dosutils && \
7983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7985 "RANLIB=$${RANLIB}" \
7986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7987 install-info) \
7988 || exit 1
7990 @endif dosutils
7992 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
7993 maybe-installcheck-dosutils:
7994 @if dosutils
7995 maybe-installcheck-dosutils: installcheck-dosutils
7997 installcheck-dosutils: \
7998 configure-dosutils
7999 @$(unstage)
8000 @[ -f ./dosutils/Makefile ] || exit 0; \
8001 r=`${PWD_COMMAND}`; export r; \
8002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8003 $(HOST_EXPORTS) \
8004 for flag in $(EXTRA_HOST_FLAGS) ; do \
8005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8006 done; \
8007 echo "Doing installcheck in dosutils" ; \
8008 (cd $(HOST_SUBDIR)/dosutils && \
8009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8011 "RANLIB=$${RANLIB}" \
8012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8013 installcheck) \
8014 || exit 1
8016 @endif dosutils
8018 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
8019 maybe-mostlyclean-dosutils:
8020 @if dosutils
8021 maybe-mostlyclean-dosutils: mostlyclean-dosutils
8023 mostlyclean-dosutils:
8024 @$(unstage)
8025 @[ -f ./dosutils/Makefile ] || exit 0; \
8026 r=`${PWD_COMMAND}`; export r; \
8027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8028 $(HOST_EXPORTS) \
8029 for flag in $(EXTRA_HOST_FLAGS) ; do \
8030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8031 done; \
8032 echo "Doing mostlyclean in dosutils" ; \
8033 (cd $(HOST_SUBDIR)/dosutils && \
8034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8036 "RANLIB=$${RANLIB}" \
8037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8038 mostlyclean) \
8039 || exit 1
8041 @endif dosutils
8043 .PHONY: maybe-clean-dosutils clean-dosutils
8044 maybe-clean-dosutils:
8045 @if dosutils
8046 maybe-clean-dosutils: clean-dosutils
8048 clean-dosutils:
8049 @$(unstage)
8050 @[ -f ./dosutils/Makefile ] || exit 0; \
8051 r=`${PWD_COMMAND}`; export r; \
8052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8053 $(HOST_EXPORTS) \
8054 for flag in $(EXTRA_HOST_FLAGS) ; do \
8055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8056 done; \
8057 echo "Doing clean in dosutils" ; \
8058 (cd $(HOST_SUBDIR)/dosutils && \
8059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8061 "RANLIB=$${RANLIB}" \
8062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8063 clean) \
8064 || exit 1
8066 @endif dosutils
8068 .PHONY: maybe-distclean-dosutils distclean-dosutils
8069 maybe-distclean-dosutils:
8070 @if dosutils
8071 maybe-distclean-dosutils: distclean-dosutils
8073 distclean-dosutils:
8074 @$(unstage)
8075 @[ -f ./dosutils/Makefile ] || exit 0; \
8076 r=`${PWD_COMMAND}`; export r; \
8077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8078 $(HOST_EXPORTS) \
8079 for flag in $(EXTRA_HOST_FLAGS) ; do \
8080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8081 done; \
8082 echo "Doing distclean in dosutils" ; \
8083 (cd $(HOST_SUBDIR)/dosutils && \
8084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8086 "RANLIB=$${RANLIB}" \
8087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8088 distclean) \
8089 || exit 1
8091 @endif dosutils
8093 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
8094 maybe-maintainer-clean-dosutils:
8095 @if dosutils
8096 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
8098 maintainer-clean-dosutils:
8099 @$(unstage)
8100 @[ -f ./dosutils/Makefile ] || exit 0; \
8101 r=`${PWD_COMMAND}`; export r; \
8102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8103 $(HOST_EXPORTS) \
8104 for flag in $(EXTRA_HOST_FLAGS) ; do \
8105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8106 done; \
8107 echo "Doing maintainer-clean in dosutils" ; \
8108 (cd $(HOST_SUBDIR)/dosutils && \
8109 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8110 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8111 "RANLIB=$${RANLIB}" \
8112 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8113 maintainer-clean) \
8114 || exit 1
8116 @endif dosutils
8120 .PHONY: configure-etc maybe-configure-etc
8121 maybe-configure-etc:
8122 @if etc
8123 maybe-configure-etc: configure-etc
8124 configure-etc:
8125 @$(unstage)
8126 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
8127 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
8128 r=`${PWD_COMMAND}`; export r; \
8129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8130 $(HOST_EXPORTS) \
8131 echo Configuring in $(HOST_SUBDIR)/etc; \
8132 cd "$(HOST_SUBDIR)/etc" || exit 1; \
8133 case $(srcdir) in \
8134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8135 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
8136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8137 esac; \
8138 srcdiroption="--srcdir=$${topdir}/etc"; \
8139 libsrcdir="$$s/etc"; \
8140 $(SHELL) $${libsrcdir}/configure \
8141 $(HOST_CONFIGARGS) $${srcdiroption} \
8142 || exit 1
8143 @endif etc
8149 .PHONY: all-etc maybe-all-etc
8150 maybe-all-etc:
8151 @if etc
8152 TARGET-etc=all
8153 maybe-all-etc: all-etc
8154 all-etc: configure-etc
8155 @$(unstage)
8156 @r=`${PWD_COMMAND}`; export r; \
8157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8158 $(HOST_EXPORTS) \
8159 (cd $(HOST_SUBDIR)/etc && \
8160 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
8161 @endif etc
8166 .PHONY: check-etc maybe-check-etc
8167 maybe-check-etc:
8168 @if etc
8169 maybe-check-etc: check-etc
8171 check-etc:
8172 @$(unstage)
8173 @r=`${PWD_COMMAND}`; export r; \
8174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8175 $(HOST_EXPORTS) \
8176 (cd $(HOST_SUBDIR)/etc && \
8177 $(MAKE) $(FLAGS_TO_PASS) check)
8179 @endif etc
8181 .PHONY: install-etc maybe-install-etc
8182 maybe-install-etc:
8183 @if etc
8184 maybe-install-etc: install-etc
8186 install-etc: installdirs
8187 @$(unstage)
8188 @r=`${PWD_COMMAND}`; export r; \
8189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8190 $(HOST_EXPORTS) \
8191 (cd $(HOST_SUBDIR)/etc && \
8192 $(MAKE) $(FLAGS_TO_PASS) install)
8194 @endif etc
8196 # Other targets (info, dvi, etc.)
8198 .PHONY: maybe-info-etc info-etc
8199 maybe-info-etc:
8200 @if etc
8201 maybe-info-etc: info-etc
8203 info-etc: \
8204 configure-etc
8205 @$(unstage)
8206 @[ -f ./etc/Makefile ] || exit 0; \
8207 r=`${PWD_COMMAND}`; export r; \
8208 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8209 $(HOST_EXPORTS) \
8210 for flag in $(EXTRA_HOST_FLAGS) ; do \
8211 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8212 done; \
8213 echo "Doing info in etc" ; \
8214 (cd $(HOST_SUBDIR)/etc && \
8215 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8216 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8217 "RANLIB=$${RANLIB}" \
8218 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8219 info) \
8220 || exit 1
8222 @endif etc
8224 .PHONY: maybe-dvi-etc dvi-etc
8225 maybe-dvi-etc:
8226 @if etc
8227 maybe-dvi-etc: dvi-etc
8229 dvi-etc: \
8230 configure-etc
8231 @$(unstage)
8232 @[ -f ./etc/Makefile ] || exit 0; \
8233 r=`${PWD_COMMAND}`; export r; \
8234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8235 $(HOST_EXPORTS) \
8236 for flag in $(EXTRA_HOST_FLAGS) ; do \
8237 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8238 done; \
8239 echo "Doing dvi in etc" ; \
8240 (cd $(HOST_SUBDIR)/etc && \
8241 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8242 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8243 "RANLIB=$${RANLIB}" \
8244 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8245 dvi) \
8246 || exit 1
8248 @endif etc
8250 .PHONY: maybe-html-etc html-etc
8251 maybe-html-etc:
8252 @if etc
8253 maybe-html-etc: html-etc
8255 html-etc: \
8256 configure-etc
8257 @$(unstage)
8258 @[ -f ./etc/Makefile ] || exit 0; \
8259 r=`${PWD_COMMAND}`; export r; \
8260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8261 $(HOST_EXPORTS) \
8262 for flag in $(EXTRA_HOST_FLAGS) ; do \
8263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8264 done; \
8265 echo "Doing html in etc" ; \
8266 (cd $(HOST_SUBDIR)/etc && \
8267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8269 "RANLIB=$${RANLIB}" \
8270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8271 html) \
8272 || exit 1
8274 @endif etc
8276 .PHONY: maybe-TAGS-etc TAGS-etc
8277 maybe-TAGS-etc:
8278 @if etc
8279 maybe-TAGS-etc: TAGS-etc
8281 TAGS-etc: \
8282 configure-etc
8283 @$(unstage)
8284 @[ -f ./etc/Makefile ] || exit 0; \
8285 r=`${PWD_COMMAND}`; export r; \
8286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8287 $(HOST_EXPORTS) \
8288 for flag in $(EXTRA_HOST_FLAGS) ; do \
8289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8290 done; \
8291 echo "Doing TAGS in etc" ; \
8292 (cd $(HOST_SUBDIR)/etc && \
8293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8295 "RANLIB=$${RANLIB}" \
8296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8297 TAGS) \
8298 || exit 1
8300 @endif etc
8302 .PHONY: maybe-install-info-etc install-info-etc
8303 maybe-install-info-etc:
8304 @if etc
8305 maybe-install-info-etc: install-info-etc
8307 install-info-etc: \
8308 configure-etc \
8309 info-etc
8310 @$(unstage)
8311 @[ -f ./etc/Makefile ] || exit 0; \
8312 r=`${PWD_COMMAND}`; export r; \
8313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8314 $(HOST_EXPORTS) \
8315 for flag in $(EXTRA_HOST_FLAGS) ; do \
8316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8317 done; \
8318 echo "Doing install-info in etc" ; \
8319 (cd $(HOST_SUBDIR)/etc && \
8320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8322 "RANLIB=$${RANLIB}" \
8323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8324 install-info) \
8325 || exit 1
8327 @endif etc
8329 .PHONY: maybe-installcheck-etc installcheck-etc
8330 maybe-installcheck-etc:
8331 @if etc
8332 maybe-installcheck-etc: installcheck-etc
8334 installcheck-etc: \
8335 configure-etc
8336 @$(unstage)
8337 @[ -f ./etc/Makefile ] || exit 0; \
8338 r=`${PWD_COMMAND}`; export r; \
8339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8340 $(HOST_EXPORTS) \
8341 for flag in $(EXTRA_HOST_FLAGS) ; do \
8342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8343 done; \
8344 echo "Doing installcheck in etc" ; \
8345 (cd $(HOST_SUBDIR)/etc && \
8346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8348 "RANLIB=$${RANLIB}" \
8349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8350 installcheck) \
8351 || exit 1
8353 @endif etc
8355 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
8356 maybe-mostlyclean-etc:
8357 @if etc
8358 maybe-mostlyclean-etc: mostlyclean-etc
8360 mostlyclean-etc:
8361 @$(unstage)
8362 @[ -f ./etc/Makefile ] || exit 0; \
8363 r=`${PWD_COMMAND}`; export r; \
8364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8365 $(HOST_EXPORTS) \
8366 for flag in $(EXTRA_HOST_FLAGS) ; do \
8367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8368 done; \
8369 echo "Doing mostlyclean in etc" ; \
8370 (cd $(HOST_SUBDIR)/etc && \
8371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8373 "RANLIB=$${RANLIB}" \
8374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8375 mostlyclean) \
8376 || exit 1
8378 @endif etc
8380 .PHONY: maybe-clean-etc clean-etc
8381 maybe-clean-etc:
8382 @if etc
8383 maybe-clean-etc: clean-etc
8385 clean-etc:
8386 @$(unstage)
8387 @[ -f ./etc/Makefile ] || exit 0; \
8388 r=`${PWD_COMMAND}`; export r; \
8389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8390 $(HOST_EXPORTS) \
8391 for flag in $(EXTRA_HOST_FLAGS) ; do \
8392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8393 done; \
8394 echo "Doing clean in etc" ; \
8395 (cd $(HOST_SUBDIR)/etc && \
8396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8398 "RANLIB=$${RANLIB}" \
8399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8400 clean) \
8401 || exit 1
8403 @endif etc
8405 .PHONY: maybe-distclean-etc distclean-etc
8406 maybe-distclean-etc:
8407 @if etc
8408 maybe-distclean-etc: distclean-etc
8410 distclean-etc:
8411 @$(unstage)
8412 @[ -f ./etc/Makefile ] || exit 0; \
8413 r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(HOST_EXPORTS) \
8416 for flag in $(EXTRA_HOST_FLAGS) ; do \
8417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8418 done; \
8419 echo "Doing distclean in etc" ; \
8420 (cd $(HOST_SUBDIR)/etc && \
8421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8423 "RANLIB=$${RANLIB}" \
8424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8425 distclean) \
8426 || exit 1
8428 @endif etc
8430 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
8431 maybe-maintainer-clean-etc:
8432 @if etc
8433 maybe-maintainer-clean-etc: maintainer-clean-etc
8435 maintainer-clean-etc:
8436 @$(unstage)
8437 @[ -f ./etc/Makefile ] || exit 0; \
8438 r=`${PWD_COMMAND}`; export r; \
8439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8440 $(HOST_EXPORTS) \
8441 for flag in $(EXTRA_HOST_FLAGS) ; do \
8442 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8443 done; \
8444 echo "Doing maintainer-clean in etc" ; \
8445 (cd $(HOST_SUBDIR)/etc && \
8446 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8447 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8448 "RANLIB=$${RANLIB}" \
8449 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8450 maintainer-clean) \
8451 || exit 1
8453 @endif etc
8457 .PHONY: configure-fastjar maybe-configure-fastjar
8458 maybe-configure-fastjar:
8459 @if fastjar
8460 maybe-configure-fastjar: configure-fastjar
8461 configure-fastjar:
8462 @$(unstage)
8463 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
8464 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
8465 r=`${PWD_COMMAND}`; export r; \
8466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8467 $(HOST_EXPORTS) \
8468 echo Configuring in $(HOST_SUBDIR)/fastjar; \
8469 cd "$(HOST_SUBDIR)/fastjar" || exit 1; \
8470 case $(srcdir) in \
8471 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8472 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
8473 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8474 esac; \
8475 srcdiroption="--srcdir=$${topdir}/fastjar"; \
8476 libsrcdir="$$s/fastjar"; \
8477 $(SHELL) $${libsrcdir}/configure \
8478 $(HOST_CONFIGARGS) $${srcdiroption} \
8479 || exit 1
8480 @endif fastjar
8486 .PHONY: all-fastjar maybe-all-fastjar
8487 maybe-all-fastjar:
8488 @if fastjar
8489 TARGET-fastjar=all
8490 maybe-all-fastjar: all-fastjar
8491 all-fastjar: configure-fastjar
8492 @$(unstage)
8493 @r=`${PWD_COMMAND}`; export r; \
8494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8495 $(HOST_EXPORTS) \
8496 (cd $(HOST_SUBDIR)/fastjar && \
8497 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
8498 @endif fastjar
8503 .PHONY: check-fastjar maybe-check-fastjar
8504 maybe-check-fastjar:
8505 @if fastjar
8506 maybe-check-fastjar: check-fastjar
8508 # This module is only tested in a native toolchain.
8509 check-fastjar:
8510 @$(unstage)
8511 @if [ '$(host)' = '$(target)' ] ; then \
8512 r=`${PWD_COMMAND}`; export r; \
8513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8514 $(HOST_EXPORTS) \
8515 (cd $(HOST_SUBDIR)/fastjar && \
8516 $(MAKE) $(FLAGS_TO_PASS) check); \
8519 @endif fastjar
8521 .PHONY: install-fastjar maybe-install-fastjar
8522 maybe-install-fastjar:
8523 @if fastjar
8524 maybe-install-fastjar: install-fastjar
8526 install-fastjar: installdirs
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) install)
8534 @endif fastjar
8536 # Other targets (info, dvi, etc.)
8538 .PHONY: maybe-info-fastjar info-fastjar
8539 maybe-info-fastjar:
8540 @if fastjar
8541 maybe-info-fastjar: info-fastjar
8543 info-fastjar: \
8544 configure-fastjar
8545 @$(unstage)
8546 @[ -f ./fastjar/Makefile ] || exit 0; \
8547 r=`${PWD_COMMAND}`; export r; \
8548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8549 $(HOST_EXPORTS) \
8550 for flag in $(EXTRA_HOST_FLAGS) ; do \
8551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8552 done; \
8553 echo "Doing info in fastjar" ; \
8554 (cd $(HOST_SUBDIR)/fastjar && \
8555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8557 "RANLIB=$${RANLIB}" \
8558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8559 info) \
8560 || exit 1
8562 @endif fastjar
8564 .PHONY: maybe-dvi-fastjar dvi-fastjar
8565 maybe-dvi-fastjar:
8566 @if fastjar
8567 maybe-dvi-fastjar: dvi-fastjar
8569 dvi-fastjar: \
8570 configure-fastjar
8571 @$(unstage)
8572 @[ -f ./fastjar/Makefile ] || exit 0; \
8573 r=`${PWD_COMMAND}`; export r; \
8574 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8575 $(HOST_EXPORTS) \
8576 for flag in $(EXTRA_HOST_FLAGS) ; do \
8577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8578 done; \
8579 echo "Doing dvi in fastjar" ; \
8580 (cd $(HOST_SUBDIR)/fastjar && \
8581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8583 "RANLIB=$${RANLIB}" \
8584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8585 dvi) \
8586 || exit 1
8588 @endif fastjar
8590 .PHONY: maybe-html-fastjar html-fastjar
8591 maybe-html-fastjar:
8592 @if fastjar
8593 maybe-html-fastjar: html-fastjar
8595 html-fastjar: \
8596 configure-fastjar
8597 @$(unstage)
8598 @[ -f ./fastjar/Makefile ] || exit 0; \
8599 r=`${PWD_COMMAND}`; export r; \
8600 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8601 $(HOST_EXPORTS) \
8602 for flag in $(EXTRA_HOST_FLAGS) ; do \
8603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8604 done; \
8605 echo "Doing html in fastjar" ; \
8606 (cd $(HOST_SUBDIR)/fastjar && \
8607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8609 "RANLIB=$${RANLIB}" \
8610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8611 html) \
8612 || exit 1
8614 @endif fastjar
8616 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
8617 maybe-TAGS-fastjar:
8618 @if fastjar
8619 maybe-TAGS-fastjar: TAGS-fastjar
8621 TAGS-fastjar: \
8622 configure-fastjar
8623 @$(unstage)
8624 @[ -f ./fastjar/Makefile ] || exit 0; \
8625 r=`${PWD_COMMAND}`; export r; \
8626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8627 $(HOST_EXPORTS) \
8628 for flag in $(EXTRA_HOST_FLAGS) ; do \
8629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8630 done; \
8631 echo "Doing TAGS in fastjar" ; \
8632 (cd $(HOST_SUBDIR)/fastjar && \
8633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8635 "RANLIB=$${RANLIB}" \
8636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8637 TAGS) \
8638 || exit 1
8640 @endif fastjar
8642 .PHONY: maybe-install-info-fastjar install-info-fastjar
8643 maybe-install-info-fastjar:
8644 @if fastjar
8645 maybe-install-info-fastjar: install-info-fastjar
8647 install-info-fastjar: \
8648 configure-fastjar \
8649 info-fastjar
8650 @$(unstage)
8651 @[ -f ./fastjar/Makefile ] || exit 0; \
8652 r=`${PWD_COMMAND}`; export r; \
8653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8654 $(HOST_EXPORTS) \
8655 for flag in $(EXTRA_HOST_FLAGS) ; do \
8656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8657 done; \
8658 echo "Doing install-info in fastjar" ; \
8659 (cd $(HOST_SUBDIR)/fastjar && \
8660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8662 "RANLIB=$${RANLIB}" \
8663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8664 install-info) \
8665 || exit 1
8667 @endif fastjar
8669 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
8670 maybe-installcheck-fastjar:
8671 @if fastjar
8672 maybe-installcheck-fastjar: installcheck-fastjar
8674 installcheck-fastjar: \
8675 configure-fastjar
8676 @$(unstage)
8677 @[ -f ./fastjar/Makefile ] || exit 0; \
8678 r=`${PWD_COMMAND}`; export r; \
8679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8680 $(HOST_EXPORTS) \
8681 for flag in $(EXTRA_HOST_FLAGS) ; do \
8682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8683 done; \
8684 echo "Doing installcheck in fastjar" ; \
8685 (cd $(HOST_SUBDIR)/fastjar && \
8686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8688 "RANLIB=$${RANLIB}" \
8689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8690 installcheck) \
8691 || exit 1
8693 @endif fastjar
8695 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
8696 maybe-mostlyclean-fastjar:
8697 @if fastjar
8698 maybe-mostlyclean-fastjar: mostlyclean-fastjar
8700 mostlyclean-fastjar:
8701 @$(unstage)
8702 @[ -f ./fastjar/Makefile ] || exit 0; \
8703 r=`${PWD_COMMAND}`; export r; \
8704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8705 $(HOST_EXPORTS) \
8706 for flag in $(EXTRA_HOST_FLAGS) ; do \
8707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8708 done; \
8709 echo "Doing mostlyclean in fastjar" ; \
8710 (cd $(HOST_SUBDIR)/fastjar && \
8711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8713 "RANLIB=$${RANLIB}" \
8714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8715 mostlyclean) \
8716 || exit 1
8718 @endif fastjar
8720 .PHONY: maybe-clean-fastjar clean-fastjar
8721 maybe-clean-fastjar:
8722 @if fastjar
8723 maybe-clean-fastjar: clean-fastjar
8725 clean-fastjar:
8726 @$(unstage)
8727 @[ -f ./fastjar/Makefile ] || exit 0; \
8728 r=`${PWD_COMMAND}`; export r; \
8729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8730 $(HOST_EXPORTS) \
8731 for flag in $(EXTRA_HOST_FLAGS) ; do \
8732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8733 done; \
8734 echo "Doing clean in fastjar" ; \
8735 (cd $(HOST_SUBDIR)/fastjar && \
8736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8738 "RANLIB=$${RANLIB}" \
8739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8740 clean) \
8741 || exit 1
8743 @endif fastjar
8745 .PHONY: maybe-distclean-fastjar distclean-fastjar
8746 maybe-distclean-fastjar:
8747 @if fastjar
8748 maybe-distclean-fastjar: distclean-fastjar
8750 distclean-fastjar:
8751 @$(unstage)
8752 @[ -f ./fastjar/Makefile ] || exit 0; \
8753 r=`${PWD_COMMAND}`; export r; \
8754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8755 $(HOST_EXPORTS) \
8756 for flag in $(EXTRA_HOST_FLAGS) ; do \
8757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8758 done; \
8759 echo "Doing distclean in fastjar" ; \
8760 (cd $(HOST_SUBDIR)/fastjar && \
8761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8763 "RANLIB=$${RANLIB}" \
8764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8765 distclean) \
8766 || exit 1
8768 @endif fastjar
8770 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
8771 maybe-maintainer-clean-fastjar:
8772 @if fastjar
8773 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
8775 maintainer-clean-fastjar:
8776 @$(unstage)
8777 @[ -f ./fastjar/Makefile ] || exit 0; \
8778 r=`${PWD_COMMAND}`; export r; \
8779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8780 $(HOST_EXPORTS) \
8781 for flag in $(EXTRA_HOST_FLAGS) ; do \
8782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8783 done; \
8784 echo "Doing maintainer-clean in fastjar" ; \
8785 (cd $(HOST_SUBDIR)/fastjar && \
8786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8788 "RANLIB=$${RANLIB}" \
8789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8790 maintainer-clean) \
8791 || exit 1
8793 @endif fastjar
8797 .PHONY: configure-fileutils maybe-configure-fileutils
8798 maybe-configure-fileutils:
8799 @if fileutils
8800 maybe-configure-fileutils: configure-fileutils
8801 configure-fileutils:
8802 @$(unstage)
8803 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
8804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
8805 r=`${PWD_COMMAND}`; export r; \
8806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8807 $(HOST_EXPORTS) \
8808 echo Configuring in $(HOST_SUBDIR)/fileutils; \
8809 cd "$(HOST_SUBDIR)/fileutils" || exit 1; \
8810 case $(srcdir) in \
8811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8812 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
8813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8814 esac; \
8815 srcdiroption="--srcdir=$${topdir}/fileutils"; \
8816 libsrcdir="$$s/fileutils"; \
8817 $(SHELL) $${libsrcdir}/configure \
8818 $(HOST_CONFIGARGS) $${srcdiroption} \
8819 || exit 1
8820 @endif fileutils
8826 .PHONY: all-fileutils maybe-all-fileutils
8827 maybe-all-fileutils:
8828 @if fileutils
8829 TARGET-fileutils=all
8830 maybe-all-fileutils: all-fileutils
8831 all-fileutils: configure-fileutils
8832 @$(unstage)
8833 @r=`${PWD_COMMAND}`; export r; \
8834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8835 $(HOST_EXPORTS) \
8836 (cd $(HOST_SUBDIR)/fileutils && \
8837 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
8838 @endif fileutils
8843 .PHONY: check-fileutils maybe-check-fileutils
8844 maybe-check-fileutils:
8845 @if fileutils
8846 maybe-check-fileutils: check-fileutils
8848 check-fileutils:
8849 @$(unstage)
8850 @r=`${PWD_COMMAND}`; export r; \
8851 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8852 $(HOST_EXPORTS) \
8853 (cd $(HOST_SUBDIR)/fileutils && \
8854 $(MAKE) $(FLAGS_TO_PASS) check)
8856 @endif fileutils
8858 .PHONY: install-fileutils maybe-install-fileutils
8859 maybe-install-fileutils:
8860 @if fileutils
8861 maybe-install-fileutils: install-fileutils
8863 install-fileutils: installdirs
8864 @$(unstage)
8865 @r=`${PWD_COMMAND}`; export r; \
8866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8867 $(HOST_EXPORTS) \
8868 (cd $(HOST_SUBDIR)/fileutils && \
8869 $(MAKE) $(FLAGS_TO_PASS) install)
8871 @endif fileutils
8873 # Other targets (info, dvi, etc.)
8875 .PHONY: maybe-info-fileutils info-fileutils
8876 maybe-info-fileutils:
8877 @if fileutils
8878 maybe-info-fileutils: info-fileutils
8880 info-fileutils: \
8881 configure-fileutils
8882 @$(unstage)
8883 @[ -f ./fileutils/Makefile ] || exit 0; \
8884 r=`${PWD_COMMAND}`; export r; \
8885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8886 $(HOST_EXPORTS) \
8887 for flag in $(EXTRA_HOST_FLAGS) ; do \
8888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8889 done; \
8890 echo "Doing info in fileutils" ; \
8891 (cd $(HOST_SUBDIR)/fileutils && \
8892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8894 "RANLIB=$${RANLIB}" \
8895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8896 info) \
8897 || exit 1
8899 @endif fileutils
8901 .PHONY: maybe-dvi-fileutils dvi-fileutils
8902 maybe-dvi-fileutils:
8903 @if fileutils
8904 maybe-dvi-fileutils: dvi-fileutils
8906 dvi-fileutils: \
8907 configure-fileutils
8908 @$(unstage)
8909 @[ -f ./fileutils/Makefile ] || exit 0; \
8910 r=`${PWD_COMMAND}`; export r; \
8911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8912 $(HOST_EXPORTS) \
8913 for flag in $(EXTRA_HOST_FLAGS) ; do \
8914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8915 done; \
8916 echo "Doing dvi in fileutils" ; \
8917 (cd $(HOST_SUBDIR)/fileutils && \
8918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8920 "RANLIB=$${RANLIB}" \
8921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8922 dvi) \
8923 || exit 1
8925 @endif fileutils
8927 .PHONY: maybe-html-fileutils html-fileutils
8928 maybe-html-fileutils:
8929 @if fileutils
8930 maybe-html-fileutils: html-fileutils
8932 html-fileutils: \
8933 configure-fileutils
8934 @$(unstage)
8935 @[ -f ./fileutils/Makefile ] || exit 0; \
8936 r=`${PWD_COMMAND}`; export r; \
8937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8938 $(HOST_EXPORTS) \
8939 for flag in $(EXTRA_HOST_FLAGS) ; do \
8940 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8941 done; \
8942 echo "Doing html in fileutils" ; \
8943 (cd $(HOST_SUBDIR)/fileutils && \
8944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8946 "RANLIB=$${RANLIB}" \
8947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8948 html) \
8949 || exit 1
8951 @endif fileutils
8953 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
8954 maybe-TAGS-fileutils:
8955 @if fileutils
8956 maybe-TAGS-fileutils: TAGS-fileutils
8958 TAGS-fileutils: \
8959 configure-fileutils
8960 @$(unstage)
8961 @[ -f ./fileutils/Makefile ] || exit 0; \
8962 r=`${PWD_COMMAND}`; export r; \
8963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8964 $(HOST_EXPORTS) \
8965 for flag in $(EXTRA_HOST_FLAGS) ; do \
8966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8967 done; \
8968 echo "Doing TAGS in fileutils" ; \
8969 (cd $(HOST_SUBDIR)/fileutils && \
8970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8972 "RANLIB=$${RANLIB}" \
8973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8974 TAGS) \
8975 || exit 1
8977 @endif fileutils
8979 .PHONY: maybe-install-info-fileutils install-info-fileutils
8980 maybe-install-info-fileutils:
8981 @if fileutils
8982 maybe-install-info-fileutils: install-info-fileutils
8984 install-info-fileutils: \
8985 configure-fileutils \
8986 info-fileutils
8987 @$(unstage)
8988 @[ -f ./fileutils/Makefile ] || exit 0; \
8989 r=`${PWD_COMMAND}`; export r; \
8990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8991 $(HOST_EXPORTS) \
8992 for flag in $(EXTRA_HOST_FLAGS) ; do \
8993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8994 done; \
8995 echo "Doing install-info in fileutils" ; \
8996 (cd $(HOST_SUBDIR)/fileutils && \
8997 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8998 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8999 "RANLIB=$${RANLIB}" \
9000 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9001 install-info) \
9002 || exit 1
9004 @endif fileutils
9006 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
9007 maybe-installcheck-fileutils:
9008 @if fileutils
9009 maybe-installcheck-fileutils: installcheck-fileutils
9011 installcheck-fileutils: \
9012 configure-fileutils
9013 @$(unstage)
9014 @[ -f ./fileutils/Makefile ] || exit 0; \
9015 r=`${PWD_COMMAND}`; export r; \
9016 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9017 $(HOST_EXPORTS) \
9018 for flag in $(EXTRA_HOST_FLAGS) ; do \
9019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9020 done; \
9021 echo "Doing installcheck in fileutils" ; \
9022 (cd $(HOST_SUBDIR)/fileutils && \
9023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9025 "RANLIB=$${RANLIB}" \
9026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9027 installcheck) \
9028 || exit 1
9030 @endif fileutils
9032 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
9033 maybe-mostlyclean-fileutils:
9034 @if fileutils
9035 maybe-mostlyclean-fileutils: mostlyclean-fileutils
9037 mostlyclean-fileutils:
9038 @$(unstage)
9039 @[ -f ./fileutils/Makefile ] || exit 0; \
9040 r=`${PWD_COMMAND}`; export r; \
9041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9042 $(HOST_EXPORTS) \
9043 for flag in $(EXTRA_HOST_FLAGS) ; do \
9044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9045 done; \
9046 echo "Doing mostlyclean in fileutils" ; \
9047 (cd $(HOST_SUBDIR)/fileutils && \
9048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9050 "RANLIB=$${RANLIB}" \
9051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9052 mostlyclean) \
9053 || exit 1
9055 @endif fileutils
9057 .PHONY: maybe-clean-fileutils clean-fileutils
9058 maybe-clean-fileutils:
9059 @if fileutils
9060 maybe-clean-fileutils: clean-fileutils
9062 clean-fileutils:
9063 @$(unstage)
9064 @[ -f ./fileutils/Makefile ] || exit 0; \
9065 r=`${PWD_COMMAND}`; export r; \
9066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9067 $(HOST_EXPORTS) \
9068 for flag in $(EXTRA_HOST_FLAGS) ; do \
9069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9070 done; \
9071 echo "Doing clean in fileutils" ; \
9072 (cd $(HOST_SUBDIR)/fileutils && \
9073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9075 "RANLIB=$${RANLIB}" \
9076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9077 clean) \
9078 || exit 1
9080 @endif fileutils
9082 .PHONY: maybe-distclean-fileutils distclean-fileutils
9083 maybe-distclean-fileutils:
9084 @if fileutils
9085 maybe-distclean-fileutils: distclean-fileutils
9087 distclean-fileutils:
9088 @$(unstage)
9089 @[ -f ./fileutils/Makefile ] || exit 0; \
9090 r=`${PWD_COMMAND}`; export r; \
9091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9092 $(HOST_EXPORTS) \
9093 for flag in $(EXTRA_HOST_FLAGS) ; do \
9094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9095 done; \
9096 echo "Doing distclean in fileutils" ; \
9097 (cd $(HOST_SUBDIR)/fileutils && \
9098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9100 "RANLIB=$${RANLIB}" \
9101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9102 distclean) \
9103 || exit 1
9105 @endif fileutils
9107 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
9108 maybe-maintainer-clean-fileutils:
9109 @if fileutils
9110 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
9112 maintainer-clean-fileutils:
9113 @$(unstage)
9114 @[ -f ./fileutils/Makefile ] || exit 0; \
9115 r=`${PWD_COMMAND}`; export r; \
9116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9117 $(HOST_EXPORTS) \
9118 for flag in $(EXTRA_HOST_FLAGS) ; do \
9119 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9120 done; \
9121 echo "Doing maintainer-clean in fileutils" ; \
9122 (cd $(HOST_SUBDIR)/fileutils && \
9123 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9124 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9125 "RANLIB=$${RANLIB}" \
9126 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9127 maintainer-clean) \
9128 || exit 1
9130 @endif fileutils
9134 .PHONY: configure-findutils maybe-configure-findutils
9135 maybe-configure-findutils:
9136 @if findutils
9137 maybe-configure-findutils: configure-findutils
9138 configure-findutils:
9139 @$(unstage)
9140 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
9141 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
9142 r=`${PWD_COMMAND}`; export r; \
9143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9144 $(HOST_EXPORTS) \
9145 echo Configuring in $(HOST_SUBDIR)/findutils; \
9146 cd "$(HOST_SUBDIR)/findutils" || exit 1; \
9147 case $(srcdir) in \
9148 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9149 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
9150 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9151 esac; \
9152 srcdiroption="--srcdir=$${topdir}/findutils"; \
9153 libsrcdir="$$s/findutils"; \
9154 $(SHELL) $${libsrcdir}/configure \
9155 $(HOST_CONFIGARGS) $${srcdiroption} \
9156 || exit 1
9157 @endif findutils
9163 .PHONY: all-findutils maybe-all-findutils
9164 maybe-all-findutils:
9165 @if findutils
9166 TARGET-findutils=all
9167 maybe-all-findutils: all-findutils
9168 all-findutils: configure-findutils
9169 @$(unstage)
9170 @r=`${PWD_COMMAND}`; export r; \
9171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9172 $(HOST_EXPORTS) \
9173 (cd $(HOST_SUBDIR)/findutils && \
9174 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
9175 @endif findutils
9180 .PHONY: check-findutils maybe-check-findutils
9181 maybe-check-findutils:
9182 @if findutils
9183 maybe-check-findutils: check-findutils
9185 check-findutils:
9186 @$(unstage)
9187 @r=`${PWD_COMMAND}`; export r; \
9188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9189 $(HOST_EXPORTS) \
9190 (cd $(HOST_SUBDIR)/findutils && \
9191 $(MAKE) $(FLAGS_TO_PASS) check)
9193 @endif findutils
9195 .PHONY: install-findutils maybe-install-findutils
9196 maybe-install-findutils:
9197 @if findutils
9198 maybe-install-findutils: install-findutils
9200 install-findutils: installdirs
9201 @$(unstage)
9202 @r=`${PWD_COMMAND}`; export r; \
9203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9204 $(HOST_EXPORTS) \
9205 (cd $(HOST_SUBDIR)/findutils && \
9206 $(MAKE) $(FLAGS_TO_PASS) install)
9208 @endif findutils
9210 # Other targets (info, dvi, etc.)
9212 .PHONY: maybe-info-findutils info-findutils
9213 maybe-info-findutils:
9214 @if findutils
9215 maybe-info-findutils: info-findutils
9217 info-findutils: \
9218 configure-findutils
9219 @$(unstage)
9220 @[ -f ./findutils/Makefile ] || exit 0; \
9221 r=`${PWD_COMMAND}`; export r; \
9222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9223 $(HOST_EXPORTS) \
9224 for flag in $(EXTRA_HOST_FLAGS) ; do \
9225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9226 done; \
9227 echo "Doing info in findutils" ; \
9228 (cd $(HOST_SUBDIR)/findutils && \
9229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9231 "RANLIB=$${RANLIB}" \
9232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9233 info) \
9234 || exit 1
9236 @endif findutils
9238 .PHONY: maybe-dvi-findutils dvi-findutils
9239 maybe-dvi-findutils:
9240 @if findutils
9241 maybe-dvi-findutils: dvi-findutils
9243 dvi-findutils: \
9244 configure-findutils
9245 @$(unstage)
9246 @[ -f ./findutils/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(HOST_EXPORTS) \
9250 for flag in $(EXTRA_HOST_FLAGS) ; do \
9251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9252 done; \
9253 echo "Doing dvi in findutils" ; \
9254 (cd $(HOST_SUBDIR)/findutils && \
9255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9257 "RANLIB=$${RANLIB}" \
9258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9259 dvi) \
9260 || exit 1
9262 @endif findutils
9264 .PHONY: maybe-html-findutils html-findutils
9265 maybe-html-findutils:
9266 @if findutils
9267 maybe-html-findutils: html-findutils
9269 html-findutils: \
9270 configure-findutils
9271 @$(unstage)
9272 @[ -f ./findutils/Makefile ] || exit 0; \
9273 r=`${PWD_COMMAND}`; export r; \
9274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9275 $(HOST_EXPORTS) \
9276 for flag in $(EXTRA_HOST_FLAGS) ; do \
9277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9278 done; \
9279 echo "Doing html in findutils" ; \
9280 (cd $(HOST_SUBDIR)/findutils && \
9281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9283 "RANLIB=$${RANLIB}" \
9284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9285 html) \
9286 || exit 1
9288 @endif findutils
9290 .PHONY: maybe-TAGS-findutils TAGS-findutils
9291 maybe-TAGS-findutils:
9292 @if findutils
9293 maybe-TAGS-findutils: TAGS-findutils
9295 TAGS-findutils: \
9296 configure-findutils
9297 @$(unstage)
9298 @[ -f ./findutils/Makefile ] || exit 0; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 for flag in $(EXTRA_HOST_FLAGS) ; do \
9303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9304 done; \
9305 echo "Doing TAGS in findutils" ; \
9306 (cd $(HOST_SUBDIR)/findutils && \
9307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9309 "RANLIB=$${RANLIB}" \
9310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9311 TAGS) \
9312 || exit 1
9314 @endif findutils
9316 .PHONY: maybe-install-info-findutils install-info-findutils
9317 maybe-install-info-findutils:
9318 @if findutils
9319 maybe-install-info-findutils: install-info-findutils
9321 install-info-findutils: \
9322 configure-findutils \
9323 info-findutils
9324 @$(unstage)
9325 @[ -f ./findutils/Makefile ] || exit 0; \
9326 r=`${PWD_COMMAND}`; export r; \
9327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9328 $(HOST_EXPORTS) \
9329 for flag in $(EXTRA_HOST_FLAGS) ; do \
9330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9331 done; \
9332 echo "Doing install-info in findutils" ; \
9333 (cd $(HOST_SUBDIR)/findutils && \
9334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9336 "RANLIB=$${RANLIB}" \
9337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9338 install-info) \
9339 || exit 1
9341 @endif findutils
9343 .PHONY: maybe-installcheck-findutils installcheck-findutils
9344 maybe-installcheck-findutils:
9345 @if findutils
9346 maybe-installcheck-findutils: installcheck-findutils
9348 installcheck-findutils: \
9349 configure-findutils
9350 @$(unstage)
9351 @[ -f ./findutils/Makefile ] || exit 0; \
9352 r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(HOST_EXPORTS) \
9355 for flag in $(EXTRA_HOST_FLAGS) ; do \
9356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9357 done; \
9358 echo "Doing installcheck in findutils" ; \
9359 (cd $(HOST_SUBDIR)/findutils && \
9360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9362 "RANLIB=$${RANLIB}" \
9363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9364 installcheck) \
9365 || exit 1
9367 @endif findutils
9369 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
9370 maybe-mostlyclean-findutils:
9371 @if findutils
9372 maybe-mostlyclean-findutils: mostlyclean-findutils
9374 mostlyclean-findutils:
9375 @$(unstage)
9376 @[ -f ./findutils/Makefile ] || exit 0; \
9377 r=`${PWD_COMMAND}`; export r; \
9378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9379 $(HOST_EXPORTS) \
9380 for flag in $(EXTRA_HOST_FLAGS) ; do \
9381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9382 done; \
9383 echo "Doing mostlyclean in findutils" ; \
9384 (cd $(HOST_SUBDIR)/findutils && \
9385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9387 "RANLIB=$${RANLIB}" \
9388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9389 mostlyclean) \
9390 || exit 1
9392 @endif findutils
9394 .PHONY: maybe-clean-findutils clean-findutils
9395 maybe-clean-findutils:
9396 @if findutils
9397 maybe-clean-findutils: clean-findutils
9399 clean-findutils:
9400 @$(unstage)
9401 @[ -f ./findutils/Makefile ] || exit 0; \
9402 r=`${PWD_COMMAND}`; export r; \
9403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9404 $(HOST_EXPORTS) \
9405 for flag in $(EXTRA_HOST_FLAGS) ; do \
9406 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9407 done; \
9408 echo "Doing clean in findutils" ; \
9409 (cd $(HOST_SUBDIR)/findutils && \
9410 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9411 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9412 "RANLIB=$${RANLIB}" \
9413 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9414 clean) \
9415 || exit 1
9417 @endif findutils
9419 .PHONY: maybe-distclean-findutils distclean-findutils
9420 maybe-distclean-findutils:
9421 @if findutils
9422 maybe-distclean-findutils: distclean-findutils
9424 distclean-findutils:
9425 @$(unstage)
9426 @[ -f ./findutils/Makefile ] || exit 0; \
9427 r=`${PWD_COMMAND}`; export r; \
9428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9429 $(HOST_EXPORTS) \
9430 for flag in $(EXTRA_HOST_FLAGS) ; do \
9431 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9432 done; \
9433 echo "Doing distclean in findutils" ; \
9434 (cd $(HOST_SUBDIR)/findutils && \
9435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9437 "RANLIB=$${RANLIB}" \
9438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9439 distclean) \
9440 || exit 1
9442 @endif findutils
9444 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
9445 maybe-maintainer-clean-findutils:
9446 @if findutils
9447 maybe-maintainer-clean-findutils: maintainer-clean-findutils
9449 maintainer-clean-findutils:
9450 @$(unstage)
9451 @[ -f ./findutils/Makefile ] || exit 0; \
9452 r=`${PWD_COMMAND}`; export r; \
9453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9454 $(HOST_EXPORTS) \
9455 for flag in $(EXTRA_HOST_FLAGS) ; do \
9456 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9457 done; \
9458 echo "Doing maintainer-clean in findutils" ; \
9459 (cd $(HOST_SUBDIR)/findutils && \
9460 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9461 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9462 "RANLIB=$${RANLIB}" \
9463 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9464 maintainer-clean) \
9465 || exit 1
9467 @endif findutils
9471 .PHONY: configure-find maybe-configure-find
9472 maybe-configure-find:
9473 @if find
9474 maybe-configure-find: configure-find
9475 configure-find:
9476 @$(unstage)
9477 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
9478 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
9479 r=`${PWD_COMMAND}`; export r; \
9480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9481 $(HOST_EXPORTS) \
9482 echo Configuring in $(HOST_SUBDIR)/find; \
9483 cd "$(HOST_SUBDIR)/find" || exit 1; \
9484 case $(srcdir) in \
9485 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9486 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
9487 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9488 esac; \
9489 srcdiroption="--srcdir=$${topdir}/find"; \
9490 libsrcdir="$$s/find"; \
9491 $(SHELL) $${libsrcdir}/configure \
9492 $(HOST_CONFIGARGS) $${srcdiroption} \
9493 || exit 1
9494 @endif find
9500 .PHONY: all-find maybe-all-find
9501 maybe-all-find:
9502 @if find
9503 TARGET-find=all
9504 maybe-all-find: all-find
9505 all-find: configure-find
9506 @$(unstage)
9507 @r=`${PWD_COMMAND}`; export r; \
9508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9509 $(HOST_EXPORTS) \
9510 (cd $(HOST_SUBDIR)/find && \
9511 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
9512 @endif find
9517 .PHONY: check-find maybe-check-find
9518 maybe-check-find:
9519 @if find
9520 maybe-check-find: check-find
9522 check-find:
9523 @$(unstage)
9524 @r=`${PWD_COMMAND}`; export r; \
9525 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9526 $(HOST_EXPORTS) \
9527 (cd $(HOST_SUBDIR)/find && \
9528 $(MAKE) $(FLAGS_TO_PASS) check)
9530 @endif find
9532 .PHONY: install-find maybe-install-find
9533 maybe-install-find:
9534 @if find
9535 maybe-install-find: install-find
9537 install-find: installdirs
9538 @$(unstage)
9539 @r=`${PWD_COMMAND}`; export r; \
9540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9541 $(HOST_EXPORTS) \
9542 (cd $(HOST_SUBDIR)/find && \
9543 $(MAKE) $(FLAGS_TO_PASS) install)
9545 @endif find
9547 # Other targets (info, dvi, etc.)
9549 .PHONY: maybe-info-find info-find
9550 maybe-info-find:
9551 @if find
9552 maybe-info-find: info-find
9554 info-find: \
9555 configure-find
9556 @$(unstage)
9557 @[ -f ./find/Makefile ] || exit 0; \
9558 r=`${PWD_COMMAND}`; export r; \
9559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9560 $(HOST_EXPORTS) \
9561 for flag in $(EXTRA_HOST_FLAGS) ; do \
9562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9563 done; \
9564 echo "Doing info in find" ; \
9565 (cd $(HOST_SUBDIR)/find && \
9566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9568 "RANLIB=$${RANLIB}" \
9569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9570 info) \
9571 || exit 1
9573 @endif find
9575 .PHONY: maybe-dvi-find dvi-find
9576 maybe-dvi-find:
9577 @if find
9578 maybe-dvi-find: dvi-find
9580 dvi-find: \
9581 configure-find
9582 @$(unstage)
9583 @[ -f ./find/Makefile ] || exit 0; \
9584 r=`${PWD_COMMAND}`; export r; \
9585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9586 $(HOST_EXPORTS) \
9587 for flag in $(EXTRA_HOST_FLAGS) ; do \
9588 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9589 done; \
9590 echo "Doing dvi in find" ; \
9591 (cd $(HOST_SUBDIR)/find && \
9592 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9593 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9594 "RANLIB=$${RANLIB}" \
9595 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9596 dvi) \
9597 || exit 1
9599 @endif find
9601 .PHONY: maybe-html-find html-find
9602 maybe-html-find:
9603 @if find
9604 maybe-html-find: html-find
9606 html-find: \
9607 configure-find
9608 @$(unstage)
9609 @[ -f ./find/Makefile ] || exit 0; \
9610 r=`${PWD_COMMAND}`; export r; \
9611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9612 $(HOST_EXPORTS) \
9613 for flag in $(EXTRA_HOST_FLAGS) ; do \
9614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9615 done; \
9616 echo "Doing html in find" ; \
9617 (cd $(HOST_SUBDIR)/find && \
9618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9620 "RANLIB=$${RANLIB}" \
9621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9622 html) \
9623 || exit 1
9625 @endif find
9627 .PHONY: maybe-TAGS-find TAGS-find
9628 maybe-TAGS-find:
9629 @if find
9630 maybe-TAGS-find: TAGS-find
9632 TAGS-find: \
9633 configure-find
9634 @$(unstage)
9635 @[ -f ./find/Makefile ] || exit 0; \
9636 r=`${PWD_COMMAND}`; export r; \
9637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9638 $(HOST_EXPORTS) \
9639 for flag in $(EXTRA_HOST_FLAGS) ; do \
9640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9641 done; \
9642 echo "Doing TAGS in find" ; \
9643 (cd $(HOST_SUBDIR)/find && \
9644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9646 "RANLIB=$${RANLIB}" \
9647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9648 TAGS) \
9649 || exit 1
9651 @endif find
9653 .PHONY: maybe-install-info-find install-info-find
9654 maybe-install-info-find:
9655 @if find
9656 maybe-install-info-find: install-info-find
9658 install-info-find: \
9659 configure-find \
9660 info-find
9661 @$(unstage)
9662 @[ -f ./find/Makefile ] || exit 0; \
9663 r=`${PWD_COMMAND}`; export r; \
9664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9665 $(HOST_EXPORTS) \
9666 for flag in $(EXTRA_HOST_FLAGS) ; do \
9667 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9668 done; \
9669 echo "Doing install-info in find" ; \
9670 (cd $(HOST_SUBDIR)/find && \
9671 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9672 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9673 "RANLIB=$${RANLIB}" \
9674 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9675 install-info) \
9676 || exit 1
9678 @endif find
9680 .PHONY: maybe-installcheck-find installcheck-find
9681 maybe-installcheck-find:
9682 @if find
9683 maybe-installcheck-find: installcheck-find
9685 installcheck-find: \
9686 configure-find
9687 @$(unstage)
9688 @[ -f ./find/Makefile ] || exit 0; \
9689 r=`${PWD_COMMAND}`; export r; \
9690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9691 $(HOST_EXPORTS) \
9692 for flag in $(EXTRA_HOST_FLAGS) ; do \
9693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9694 done; \
9695 echo "Doing installcheck in find" ; \
9696 (cd $(HOST_SUBDIR)/find && \
9697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9699 "RANLIB=$${RANLIB}" \
9700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9701 installcheck) \
9702 || exit 1
9704 @endif find
9706 .PHONY: maybe-mostlyclean-find mostlyclean-find
9707 maybe-mostlyclean-find:
9708 @if find
9709 maybe-mostlyclean-find: mostlyclean-find
9711 mostlyclean-find:
9712 @$(unstage)
9713 @[ -f ./find/Makefile ] || exit 0; \
9714 r=`${PWD_COMMAND}`; export r; \
9715 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9716 $(HOST_EXPORTS) \
9717 for flag in $(EXTRA_HOST_FLAGS) ; do \
9718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9719 done; \
9720 echo "Doing mostlyclean in find" ; \
9721 (cd $(HOST_SUBDIR)/find && \
9722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9724 "RANLIB=$${RANLIB}" \
9725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9726 mostlyclean) \
9727 || exit 1
9729 @endif find
9731 .PHONY: maybe-clean-find clean-find
9732 maybe-clean-find:
9733 @if find
9734 maybe-clean-find: clean-find
9736 clean-find:
9737 @$(unstage)
9738 @[ -f ./find/Makefile ] || exit 0; \
9739 r=`${PWD_COMMAND}`; export r; \
9740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9741 $(HOST_EXPORTS) \
9742 for flag in $(EXTRA_HOST_FLAGS) ; do \
9743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9744 done; \
9745 echo "Doing clean in find" ; \
9746 (cd $(HOST_SUBDIR)/find && \
9747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9749 "RANLIB=$${RANLIB}" \
9750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9751 clean) \
9752 || exit 1
9754 @endif find
9756 .PHONY: maybe-distclean-find distclean-find
9757 maybe-distclean-find:
9758 @if find
9759 maybe-distclean-find: distclean-find
9761 distclean-find:
9762 @$(unstage)
9763 @[ -f ./find/Makefile ] || exit 0; \
9764 r=`${PWD_COMMAND}`; export r; \
9765 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9766 $(HOST_EXPORTS) \
9767 for flag in $(EXTRA_HOST_FLAGS) ; do \
9768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9769 done; \
9770 echo "Doing distclean in find" ; \
9771 (cd $(HOST_SUBDIR)/find && \
9772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9774 "RANLIB=$${RANLIB}" \
9775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9776 distclean) \
9777 || exit 1
9779 @endif find
9781 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
9782 maybe-maintainer-clean-find:
9783 @if find
9784 maybe-maintainer-clean-find: maintainer-clean-find
9786 maintainer-clean-find:
9787 @$(unstage)
9788 @[ -f ./find/Makefile ] || exit 0; \
9789 r=`${PWD_COMMAND}`; export r; \
9790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9791 $(HOST_EXPORTS) \
9792 for flag in $(EXTRA_HOST_FLAGS) ; do \
9793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9794 done; \
9795 echo "Doing maintainer-clean in find" ; \
9796 (cd $(HOST_SUBDIR)/find && \
9797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9799 "RANLIB=$${RANLIB}" \
9800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9801 maintainer-clean) \
9802 || exit 1
9804 @endif find
9808 .PHONY: configure-fixincludes maybe-configure-fixincludes
9809 maybe-configure-fixincludes:
9810 @if fixincludes
9811 maybe-configure-fixincludes: configure-fixincludes
9812 configure-fixincludes:
9813 @$(unstage)
9814 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
9815 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
9816 r=`${PWD_COMMAND}`; export r; \
9817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9818 $(HOST_EXPORTS) \
9819 echo Configuring in $(HOST_SUBDIR)/fixincludes; \
9820 cd "$(HOST_SUBDIR)/fixincludes" || exit 1; \
9821 case $(srcdir) in \
9822 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9823 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
9824 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9825 esac; \
9826 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
9827 libsrcdir="$$s/fixincludes"; \
9828 $(SHELL) $${libsrcdir}/configure \
9829 $(HOST_CONFIGARGS) $${srcdiroption} \
9830 || exit 1
9831 @endif fixincludes
9837 .PHONY: all-fixincludes maybe-all-fixincludes
9838 maybe-all-fixincludes:
9839 @if fixincludes
9840 TARGET-fixincludes=all
9841 maybe-all-fixincludes: all-fixincludes
9842 all-fixincludes: configure-fixincludes
9843 @$(unstage)
9844 @r=`${PWD_COMMAND}`; export r; \
9845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9846 $(HOST_EXPORTS) \
9847 (cd $(HOST_SUBDIR)/fixincludes && \
9848 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
9849 @endif fixincludes
9854 .PHONY: check-fixincludes maybe-check-fixincludes
9855 maybe-check-fixincludes:
9856 @if fixincludes
9857 maybe-check-fixincludes: check-fixincludes
9859 check-fixincludes:
9860 @$(unstage)
9861 @r=`${PWD_COMMAND}`; export r; \
9862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9863 $(HOST_EXPORTS) \
9864 (cd $(HOST_SUBDIR)/fixincludes && \
9865 $(MAKE) $(FLAGS_TO_PASS) check)
9867 @endif fixincludes
9869 .PHONY: install-fixincludes maybe-install-fixincludes
9870 maybe-install-fixincludes:
9871 @if fixincludes
9872 maybe-install-fixincludes: install-fixincludes
9874 install-fixincludes: installdirs
9875 @$(unstage)
9876 @r=`${PWD_COMMAND}`; export r; \
9877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9878 $(HOST_EXPORTS) \
9879 (cd $(HOST_SUBDIR)/fixincludes && \
9880 $(MAKE) $(FLAGS_TO_PASS) install)
9882 @endif fixincludes
9884 # Other targets (info, dvi, etc.)
9886 .PHONY: maybe-info-fixincludes info-fixincludes
9887 maybe-info-fixincludes:
9888 @if fixincludes
9889 maybe-info-fixincludes: info-fixincludes
9891 # fixincludes doesn't support info.
9892 info-fixincludes:
9894 @endif fixincludes
9896 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
9897 maybe-dvi-fixincludes:
9898 @if fixincludes
9899 maybe-dvi-fixincludes: dvi-fixincludes
9901 # fixincludes doesn't support dvi.
9902 dvi-fixincludes:
9904 @endif fixincludes
9906 .PHONY: maybe-html-fixincludes html-fixincludes
9907 maybe-html-fixincludes:
9908 @if fixincludes
9909 maybe-html-fixincludes: html-fixincludes
9911 html-fixincludes: \
9912 configure-fixincludes
9913 @$(unstage)
9914 @[ -f ./fixincludes/Makefile ] || exit 0; \
9915 r=`${PWD_COMMAND}`; export r; \
9916 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9917 $(HOST_EXPORTS) \
9918 for flag in $(EXTRA_HOST_FLAGS) ; do \
9919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9920 done; \
9921 echo "Doing html in fixincludes" ; \
9922 (cd $(HOST_SUBDIR)/fixincludes && \
9923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9925 "RANLIB=$${RANLIB}" \
9926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9927 html) \
9928 || exit 1
9930 @endif fixincludes
9932 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
9933 maybe-TAGS-fixincludes:
9934 @if fixincludes
9935 maybe-TAGS-fixincludes: TAGS-fixincludes
9937 # fixincludes doesn't support TAGS.
9938 TAGS-fixincludes:
9940 @endif fixincludes
9942 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
9943 maybe-install-info-fixincludes:
9944 @if fixincludes
9945 maybe-install-info-fixincludes: install-info-fixincludes
9947 # fixincludes doesn't support install-info.
9948 install-info-fixincludes:
9950 @endif fixincludes
9952 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
9953 maybe-installcheck-fixincludes:
9954 @if fixincludes
9955 maybe-installcheck-fixincludes: installcheck-fixincludes
9957 # fixincludes doesn't support installcheck.
9958 installcheck-fixincludes:
9960 @endif fixincludes
9962 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
9963 maybe-mostlyclean-fixincludes:
9964 @if fixincludes
9965 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
9967 mostlyclean-fixincludes:
9968 @$(unstage)
9969 @[ -f ./fixincludes/Makefile ] || exit 0; \
9970 r=`${PWD_COMMAND}`; export r; \
9971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9972 $(HOST_EXPORTS) \
9973 for flag in $(EXTRA_HOST_FLAGS) ; do \
9974 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9975 done; \
9976 echo "Doing mostlyclean in fixincludes" ; \
9977 (cd $(HOST_SUBDIR)/fixincludes && \
9978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9980 "RANLIB=$${RANLIB}" \
9981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9982 mostlyclean) \
9983 || exit 1
9985 @endif fixincludes
9987 .PHONY: maybe-clean-fixincludes clean-fixincludes
9988 maybe-clean-fixincludes:
9989 @if fixincludes
9990 maybe-clean-fixincludes: clean-fixincludes
9992 clean-fixincludes:
9993 @$(unstage)
9994 @[ -f ./fixincludes/Makefile ] || exit 0; \
9995 r=`${PWD_COMMAND}`; export r; \
9996 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9997 $(HOST_EXPORTS) \
9998 for flag in $(EXTRA_HOST_FLAGS) ; do \
9999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10000 done; \
10001 echo "Doing clean in fixincludes" ; \
10002 (cd $(HOST_SUBDIR)/fixincludes && \
10003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10005 "RANLIB=$${RANLIB}" \
10006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10007 clean) \
10008 || exit 1
10010 @endif fixincludes
10012 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
10013 maybe-distclean-fixincludes:
10014 @if fixincludes
10015 maybe-distclean-fixincludes: distclean-fixincludes
10017 distclean-fixincludes:
10018 @$(unstage)
10019 @[ -f ./fixincludes/Makefile ] || exit 0; \
10020 r=`${PWD_COMMAND}`; export r; \
10021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10022 $(HOST_EXPORTS) \
10023 for flag in $(EXTRA_HOST_FLAGS) ; do \
10024 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10025 done; \
10026 echo "Doing distclean in fixincludes" ; \
10027 (cd $(HOST_SUBDIR)/fixincludes && \
10028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10030 "RANLIB=$${RANLIB}" \
10031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10032 distclean) \
10033 || exit 1
10035 @endif fixincludes
10037 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
10038 maybe-maintainer-clean-fixincludes:
10039 @if fixincludes
10040 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
10042 maintainer-clean-fixincludes:
10043 @$(unstage)
10044 @[ -f ./fixincludes/Makefile ] || exit 0; \
10045 r=`${PWD_COMMAND}`; export r; \
10046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10047 $(HOST_EXPORTS) \
10048 for flag in $(EXTRA_HOST_FLAGS) ; do \
10049 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10050 done; \
10051 echo "Doing maintainer-clean in fixincludes" ; \
10052 (cd $(HOST_SUBDIR)/fixincludes && \
10053 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10054 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10055 "RANLIB=$${RANLIB}" \
10056 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10057 maintainer-clean) \
10058 || exit 1
10060 @endif fixincludes
10064 .PHONY: configure-flex maybe-configure-flex
10065 maybe-configure-flex:
10066 @if flex
10067 maybe-configure-flex: configure-flex
10068 configure-flex:
10069 @$(unstage)
10070 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
10071 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
10072 r=`${PWD_COMMAND}`; export r; \
10073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10074 $(HOST_EXPORTS) \
10075 echo Configuring in $(HOST_SUBDIR)/flex; \
10076 cd "$(HOST_SUBDIR)/flex" || exit 1; \
10077 case $(srcdir) in \
10078 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10079 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
10080 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10081 esac; \
10082 srcdiroption="--srcdir=$${topdir}/flex"; \
10083 libsrcdir="$$s/flex"; \
10084 $(SHELL) $${libsrcdir}/configure \
10085 $(HOST_CONFIGARGS) $${srcdiroption} \
10086 || exit 1
10087 @endif flex
10093 .PHONY: all-flex maybe-all-flex
10094 maybe-all-flex:
10095 @if flex
10096 TARGET-flex=all
10097 maybe-all-flex: all-flex
10098 all-flex: configure-flex
10099 @$(unstage)
10100 @r=`${PWD_COMMAND}`; export r; \
10101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10102 $(HOST_EXPORTS) \
10103 (cd $(HOST_SUBDIR)/flex && \
10104 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
10105 @endif flex
10110 .PHONY: check-flex maybe-check-flex
10111 maybe-check-flex:
10112 @if flex
10113 maybe-check-flex: check-flex
10115 # This module is only tested in a native toolchain.
10116 check-flex:
10117 @$(unstage)
10118 @if [ '$(host)' = '$(target)' ] ; then \
10119 r=`${PWD_COMMAND}`; export r; \
10120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10121 $(HOST_EXPORTS) \
10122 (cd $(HOST_SUBDIR)/flex && \
10123 $(MAKE) $(FLAGS_TO_PASS) check); \
10126 @endif flex
10128 .PHONY: install-flex maybe-install-flex
10129 maybe-install-flex:
10130 @if flex
10131 maybe-install-flex: install-flex
10133 install-flex: installdirs
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) install)
10141 @endif flex
10143 # Other targets (info, dvi, etc.)
10145 .PHONY: maybe-info-flex info-flex
10146 maybe-info-flex:
10147 @if flex
10148 maybe-info-flex: info-flex
10150 info-flex: \
10151 configure-flex
10152 @$(unstage)
10153 @[ -f ./flex/Makefile ] || exit 0; \
10154 r=`${PWD_COMMAND}`; export r; \
10155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10156 $(HOST_EXPORTS) \
10157 for flag in $(EXTRA_HOST_FLAGS) ; do \
10158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10159 done; \
10160 echo "Doing info in flex" ; \
10161 (cd $(HOST_SUBDIR)/flex && \
10162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10164 "RANLIB=$${RANLIB}" \
10165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10166 info) \
10167 || exit 1
10169 @endif flex
10171 .PHONY: maybe-dvi-flex dvi-flex
10172 maybe-dvi-flex:
10173 @if flex
10174 maybe-dvi-flex: dvi-flex
10176 dvi-flex: \
10177 configure-flex
10178 @$(unstage)
10179 @[ -f ./flex/Makefile ] || exit 0; \
10180 r=`${PWD_COMMAND}`; export r; \
10181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10182 $(HOST_EXPORTS) \
10183 for flag in $(EXTRA_HOST_FLAGS) ; do \
10184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10185 done; \
10186 echo "Doing dvi in flex" ; \
10187 (cd $(HOST_SUBDIR)/flex && \
10188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10190 "RANLIB=$${RANLIB}" \
10191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10192 dvi) \
10193 || exit 1
10195 @endif flex
10197 .PHONY: maybe-html-flex html-flex
10198 maybe-html-flex:
10199 @if flex
10200 maybe-html-flex: html-flex
10202 html-flex: \
10203 configure-flex
10204 @$(unstage)
10205 @[ -f ./flex/Makefile ] || exit 0; \
10206 r=`${PWD_COMMAND}`; export r; \
10207 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10208 $(HOST_EXPORTS) \
10209 for flag in $(EXTRA_HOST_FLAGS) ; do \
10210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10211 done; \
10212 echo "Doing html in flex" ; \
10213 (cd $(HOST_SUBDIR)/flex && \
10214 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10215 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10216 "RANLIB=$${RANLIB}" \
10217 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10218 html) \
10219 || exit 1
10221 @endif flex
10223 .PHONY: maybe-TAGS-flex TAGS-flex
10224 maybe-TAGS-flex:
10225 @if flex
10226 maybe-TAGS-flex: TAGS-flex
10228 TAGS-flex: \
10229 configure-flex
10230 @$(unstage)
10231 @[ -f ./flex/Makefile ] || exit 0; \
10232 r=`${PWD_COMMAND}`; export r; \
10233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10234 $(HOST_EXPORTS) \
10235 for flag in $(EXTRA_HOST_FLAGS) ; do \
10236 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10237 done; \
10238 echo "Doing TAGS in flex" ; \
10239 (cd $(HOST_SUBDIR)/flex && \
10240 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10241 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10242 "RANLIB=$${RANLIB}" \
10243 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10244 TAGS) \
10245 || exit 1
10247 @endif flex
10249 .PHONY: maybe-install-info-flex install-info-flex
10250 maybe-install-info-flex:
10251 @if flex
10252 maybe-install-info-flex: install-info-flex
10254 install-info-flex: \
10255 configure-flex \
10256 info-flex
10257 @$(unstage)
10258 @[ -f ./flex/Makefile ] || exit 0; \
10259 r=`${PWD_COMMAND}`; export r; \
10260 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10261 $(HOST_EXPORTS) \
10262 for flag in $(EXTRA_HOST_FLAGS) ; do \
10263 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10264 done; \
10265 echo "Doing install-info in flex" ; \
10266 (cd $(HOST_SUBDIR)/flex && \
10267 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10268 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10269 "RANLIB=$${RANLIB}" \
10270 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10271 install-info) \
10272 || exit 1
10274 @endif flex
10276 .PHONY: maybe-installcheck-flex installcheck-flex
10277 maybe-installcheck-flex:
10278 @if flex
10279 maybe-installcheck-flex: installcheck-flex
10281 installcheck-flex: \
10282 configure-flex
10283 @$(unstage)
10284 @[ -f ./flex/Makefile ] || exit 0; \
10285 r=`${PWD_COMMAND}`; export r; \
10286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10287 $(HOST_EXPORTS) \
10288 for flag in $(EXTRA_HOST_FLAGS) ; do \
10289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10290 done; \
10291 echo "Doing installcheck in flex" ; \
10292 (cd $(HOST_SUBDIR)/flex && \
10293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10295 "RANLIB=$${RANLIB}" \
10296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10297 installcheck) \
10298 || exit 1
10300 @endif flex
10302 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
10303 maybe-mostlyclean-flex:
10304 @if flex
10305 maybe-mostlyclean-flex: mostlyclean-flex
10307 mostlyclean-flex:
10308 @$(unstage)
10309 @[ -f ./flex/Makefile ] || exit 0; \
10310 r=`${PWD_COMMAND}`; export r; \
10311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10312 $(HOST_EXPORTS) \
10313 for flag in $(EXTRA_HOST_FLAGS) ; do \
10314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10315 done; \
10316 echo "Doing mostlyclean in flex" ; \
10317 (cd $(HOST_SUBDIR)/flex && \
10318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10320 "RANLIB=$${RANLIB}" \
10321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10322 mostlyclean) \
10323 || exit 1
10325 @endif flex
10327 .PHONY: maybe-clean-flex clean-flex
10328 maybe-clean-flex:
10329 @if flex
10330 maybe-clean-flex: clean-flex
10332 clean-flex:
10333 @$(unstage)
10334 @[ -f ./flex/Makefile ] || exit 0; \
10335 r=`${PWD_COMMAND}`; export r; \
10336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10337 $(HOST_EXPORTS) \
10338 for flag in $(EXTRA_HOST_FLAGS) ; do \
10339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10340 done; \
10341 echo "Doing clean in flex" ; \
10342 (cd $(HOST_SUBDIR)/flex && \
10343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10345 "RANLIB=$${RANLIB}" \
10346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10347 clean) \
10348 || exit 1
10350 @endif flex
10352 .PHONY: maybe-distclean-flex distclean-flex
10353 maybe-distclean-flex:
10354 @if flex
10355 maybe-distclean-flex: distclean-flex
10357 distclean-flex:
10358 @$(unstage)
10359 @[ -f ./flex/Makefile ] || exit 0; \
10360 r=`${PWD_COMMAND}`; export r; \
10361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10362 $(HOST_EXPORTS) \
10363 for flag in $(EXTRA_HOST_FLAGS) ; do \
10364 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10365 done; \
10366 echo "Doing distclean in flex" ; \
10367 (cd $(HOST_SUBDIR)/flex && \
10368 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10369 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10370 "RANLIB=$${RANLIB}" \
10371 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10372 distclean) \
10373 || exit 1
10375 @endif flex
10377 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
10378 maybe-maintainer-clean-flex:
10379 @if flex
10380 maybe-maintainer-clean-flex: maintainer-clean-flex
10382 maintainer-clean-flex:
10383 @$(unstage)
10384 @[ -f ./flex/Makefile ] || exit 0; \
10385 r=`${PWD_COMMAND}`; export r; \
10386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10387 $(HOST_EXPORTS) \
10388 for flag in $(EXTRA_HOST_FLAGS) ; do \
10389 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10390 done; \
10391 echo "Doing maintainer-clean in flex" ; \
10392 (cd $(HOST_SUBDIR)/flex && \
10393 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10394 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10395 "RANLIB=$${RANLIB}" \
10396 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10397 maintainer-clean) \
10398 || exit 1
10400 @endif flex
10404 .PHONY: configure-gas maybe-configure-gas
10405 maybe-configure-gas:
10406 @if gas
10407 maybe-configure-gas: configure-gas
10408 configure-gas:
10409 @test -f stage_last && exit 0; \
10410 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
10411 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
10412 r=`${PWD_COMMAND}`; export r; \
10413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10414 $(HOST_EXPORTS) \
10415 echo Configuring in $(HOST_SUBDIR)/gas; \
10416 cd "$(HOST_SUBDIR)/gas" || exit 1; \
10417 case $(srcdir) in \
10418 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10419 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10420 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10421 esac; \
10422 srcdiroption="--srcdir=$${topdir}/gas"; \
10423 libsrcdir="$$s/gas"; \
10424 $(SHELL) $${libsrcdir}/configure \
10425 $(HOST_CONFIGARGS) $${srcdiroption} \
10426 || exit 1
10427 @endif gas
10431 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
10432 maybe-configure-stage1-gas:
10433 @if gas-bootstrap
10434 maybe-configure-stage1-gas: configure-stage1-gas
10435 configure-stage1-gas:
10436 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10437 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10438 r=`${PWD_COMMAND}`; export r; \
10439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10440 $(HOST_EXPORTS) \
10441 echo Configuring stage 1 in $(HOST_SUBDIR)/gas ; \
10442 cd $(HOST_SUBDIR)/gas || exit 1; \
10443 case $(srcdir) in \
10444 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10445 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10446 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10447 esac; \
10448 srcdiroption="--srcdir=$${topdir}/gas"; \
10449 libsrcdir="$$s/gas"; \
10450 $(SHELL) $${libsrcdir}/configure \
10451 $(HOST_CONFIGARGS) $${srcdiroption} \
10452 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
10453 @endif gas-bootstrap
10455 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
10456 maybe-configure-stage2-gas:
10457 @if gas-bootstrap
10458 maybe-configure-stage2-gas: configure-stage2-gas
10459 configure-stage2-gas:
10460 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10461 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10462 r=`${PWD_COMMAND}`; export r; \
10463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10464 $(HOST_EXPORTS) \
10465 $(POSTSTAGE1_HOST_EXPORTS) \
10466 echo Configuring stage 2 in $(HOST_SUBDIR)/gas ; \
10467 cd $(HOST_SUBDIR)/gas || exit 1; \
10468 case $(srcdir) in \
10469 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10470 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10471 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10472 esac; \
10473 srcdiroption="--srcdir=$${topdir}/gas"; \
10474 libsrcdir="$$s/gas"; \
10475 $(SHELL) $${libsrcdir}/configure \
10476 $(HOST_CONFIGARGS) $${srcdiroption} \
10477 @stage2_werror_flag@
10478 @endif gas-bootstrap
10480 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
10481 maybe-configure-stage3-gas:
10482 @if gas-bootstrap
10483 maybe-configure-stage3-gas: configure-stage3-gas
10484 configure-stage3-gas:
10485 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10486 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10487 r=`${PWD_COMMAND}`; export r; \
10488 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10489 $(HOST_EXPORTS) \
10490 $(POSTSTAGE1_HOST_EXPORTS) \
10491 echo Configuring stage 3 in $(HOST_SUBDIR)/gas ; \
10492 cd $(HOST_SUBDIR)/gas || exit 1; \
10493 case $(srcdir) in \
10494 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10495 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10496 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10497 esac; \
10498 srcdiroption="--srcdir=$${topdir}/gas"; \
10499 libsrcdir="$$s/gas"; \
10500 $(SHELL) $${libsrcdir}/configure \
10501 $(HOST_CONFIGARGS) $${srcdiroption} \
10502 @stage2_werror_flag@
10503 @endif gas-bootstrap
10505 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
10506 maybe-configure-stage4-gas:
10507 @if gas-bootstrap
10508 maybe-configure-stage4-gas: configure-stage4-gas
10509 configure-stage4-gas:
10510 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10511 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10512 r=`${PWD_COMMAND}`; export r; \
10513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10514 $(HOST_EXPORTS) \
10515 $(POSTSTAGE1_HOST_EXPORTS) \
10516 echo Configuring stage 4 in $(HOST_SUBDIR)/gas ; \
10517 cd $(HOST_SUBDIR)/gas || exit 1; \
10518 case $(srcdir) in \
10519 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10520 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10521 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10522 esac; \
10523 srcdiroption="--srcdir=$${topdir}/gas"; \
10524 libsrcdir="$$s/gas"; \
10525 $(SHELL) $${libsrcdir}/configure \
10526 $(HOST_CONFIGARGS) $${srcdiroption} \
10527 @stage2_werror_flag@
10528 @endif gas-bootstrap
10530 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
10531 maybe-configure-stageprofile-gas:
10532 @if gas-bootstrap
10533 maybe-configure-stageprofile-gas: configure-stageprofile-gas
10534 configure-stageprofile-gas:
10535 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10536 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10537 r=`${PWD_COMMAND}`; export r; \
10538 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10539 $(HOST_EXPORTS) \
10540 $(POSTSTAGE1_HOST_EXPORTS) \
10541 echo Configuring stage profile in $(HOST_SUBDIR)/gas ; \
10542 cd $(HOST_SUBDIR)/gas || exit 1; \
10543 case $(srcdir) in \
10544 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10545 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10546 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10547 esac; \
10548 srcdiroption="--srcdir=$${topdir}/gas"; \
10549 libsrcdir="$$s/gas"; \
10550 $(SHELL) $${libsrcdir}/configure \
10551 $(HOST_CONFIGARGS) $${srcdiroption} \
10552 @stage2_werror_flag@
10553 @endif gas-bootstrap
10555 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
10556 maybe-configure-stagefeedback-gas:
10557 @if gas-bootstrap
10558 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
10559 configure-stagefeedback-gas:
10560 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10561 @[ -f $(HOST_SUBDIR)/gas/Makefile ] && exit 0 || : ; \
10562 r=`${PWD_COMMAND}`; export r; \
10563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10564 $(HOST_EXPORTS) \
10565 $(POSTSTAGE1_HOST_EXPORTS) \
10566 echo Configuring stage feedback in $(HOST_SUBDIR)/gas ; \
10567 cd $(HOST_SUBDIR)/gas || exit 1; \
10568 case $(srcdir) in \
10569 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10570 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
10571 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10572 esac; \
10573 srcdiroption="--srcdir=$${topdir}/gas"; \
10574 libsrcdir="$$s/gas"; \
10575 $(SHELL) $${libsrcdir}/configure \
10576 $(HOST_CONFIGARGS) $${srcdiroption} \
10577 @stage2_werror_flag@
10578 @endif gas-bootstrap
10584 .PHONY: all-gas maybe-all-gas
10585 maybe-all-gas:
10586 @if gas
10587 TARGET-gas=all
10588 maybe-all-gas: all-gas
10589 all-gas: configure-gas
10590 @test -f stage_last && exit 0; \
10591 r=`${PWD_COMMAND}`; export r; \
10592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10593 $(HOST_EXPORTS) \
10594 (cd $(HOST_SUBDIR)/gas && \
10595 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
10596 @endif gas
10600 .PHONY: all-stage1-gas maybe-all-stage1-gas
10601 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
10602 maybe-all-stage1-gas:
10603 maybe-clean-stage1-gas:
10604 @if gas-bootstrap
10605 maybe-all-stage1-gas: all-stage1-gas
10606 all-stage1: all-stage1-gas
10607 TARGET-stage1-gas = $(TARGET-gas)
10608 all-stage1-gas: configure-stage1-gas
10609 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10610 @r=`${PWD_COMMAND}`; export r; \
10611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10612 $(HOST_EXPORTS) \
10613 cd $(HOST_SUBDIR)/gas && \
10614 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
10615 $(TARGET-stage1-gas)
10617 maybe-clean-stage1-gas: clean-stage1-gas
10618 clean-stage1: clean-stage1-gas
10619 clean-stage1-gas:
10620 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gas/Makefile ] \
10621 || exit 0 ; \
10622 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
10623 cd $(HOST_SUBDIR)/gas && \
10624 $(MAKE) $(FLAGS_TO_PASS) \
10625 CFLAGS="$(STAGE1_CFLAGS)" clean
10626 @endif gas-bootstrap
10629 .PHONY: all-stage2-gas maybe-all-stage2-gas
10630 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
10631 maybe-all-stage2-gas:
10632 maybe-clean-stage2-gas:
10633 @if gas-bootstrap
10634 maybe-all-stage2-gas: all-stage2-gas
10635 all-stage2: all-stage2-gas
10636 TARGET-stage2-gas = $(TARGET-gas)
10637 all-stage2-gas: configure-stage2-gas
10638 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10639 @r=`${PWD_COMMAND}`; export r; \
10640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10641 $(HOST_EXPORTS) \
10642 $(POSTSTAGE1_HOST_EXPORTS) \
10643 cd $(HOST_SUBDIR)/gas && \
10644 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10645 $(TARGET-stage2-gas)
10647 maybe-clean-stage2-gas: clean-stage2-gas
10648 clean-stage2: clean-stage2-gas
10649 clean-stage2-gas:
10650 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gas/Makefile ] \
10651 || exit 0 ; \
10652 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
10653 cd $(HOST_SUBDIR)/gas && \
10654 $(MAKE) $(FLAGS_TO_PASS) \
10655 $(POSTSTAGE1_FLAGS_TO_PASS) \
10656 clean
10657 @endif gas-bootstrap
10660 .PHONY: all-stage3-gas maybe-all-stage3-gas
10661 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
10662 maybe-all-stage3-gas:
10663 maybe-clean-stage3-gas:
10664 @if gas-bootstrap
10665 maybe-all-stage3-gas: all-stage3-gas
10666 all-stage3: all-stage3-gas
10667 TARGET-stage3-gas = $(TARGET-gas)
10668 all-stage3-gas: configure-stage3-gas
10669 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10670 @r=`${PWD_COMMAND}`; export r; \
10671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10672 $(HOST_EXPORTS) \
10673 $(POSTSTAGE1_HOST_EXPORTS) \
10674 cd $(HOST_SUBDIR)/gas && \
10675 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10676 $(TARGET-stage3-gas)
10678 maybe-clean-stage3-gas: clean-stage3-gas
10679 clean-stage3: clean-stage3-gas
10680 clean-stage3-gas:
10681 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gas/Makefile ] \
10682 || exit 0 ; \
10683 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
10684 cd $(HOST_SUBDIR)/gas && \
10685 $(MAKE) $(FLAGS_TO_PASS) \
10686 $(POSTSTAGE1_FLAGS_TO_PASS) \
10687 clean
10688 @endif gas-bootstrap
10691 .PHONY: all-stage4-gas maybe-all-stage4-gas
10692 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
10693 maybe-all-stage4-gas:
10694 maybe-clean-stage4-gas:
10695 @if gas-bootstrap
10696 maybe-all-stage4-gas: all-stage4-gas
10697 all-stage4: all-stage4-gas
10698 TARGET-stage4-gas = $(TARGET-gas)
10699 all-stage4-gas: configure-stage4-gas
10700 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10701 @r=`${PWD_COMMAND}`; export r; \
10702 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10703 $(HOST_EXPORTS) \
10704 $(POSTSTAGE1_HOST_EXPORTS) \
10705 cd $(HOST_SUBDIR)/gas && \
10706 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
10707 $(TARGET-stage4-gas)
10709 maybe-clean-stage4-gas: clean-stage4-gas
10710 clean-stage4: clean-stage4-gas
10711 clean-stage4-gas:
10712 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gas/Makefile ] \
10713 || exit 0 ; \
10714 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
10715 cd $(HOST_SUBDIR)/gas && \
10716 $(MAKE) $(FLAGS_TO_PASS) \
10717 $(POSTSTAGE1_FLAGS_TO_PASS) \
10718 clean
10719 @endif gas-bootstrap
10722 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
10723 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
10724 maybe-all-stageprofile-gas:
10725 maybe-clean-stageprofile-gas:
10726 @if gas-bootstrap
10727 maybe-all-stageprofile-gas: all-stageprofile-gas
10728 all-stageprofile: all-stageprofile-gas
10729 TARGET-stageprofile-gas = $(TARGET-gas)
10730 all-stageprofile-gas: configure-stageprofile-gas
10731 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10732 @r=`${PWD_COMMAND}`; export r; \
10733 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10734 $(HOST_EXPORTS) \
10735 $(POSTSTAGE1_HOST_EXPORTS) \
10736 cd $(HOST_SUBDIR)/gas && \
10737 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
10738 $(TARGET-stageprofile-gas)
10740 maybe-clean-stageprofile-gas: clean-stageprofile-gas
10741 clean-stageprofile: clean-stageprofile-gas
10742 clean-stageprofile-gas:
10743 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gas/Makefile ] \
10744 || exit 0 ; \
10745 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
10746 cd $(HOST_SUBDIR)/gas && \
10747 $(MAKE) $(FLAGS_TO_PASS) \
10748 $(POSTSTAGE1_FLAGS_TO_PASS) \
10749 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
10750 @endif gas-bootstrap
10753 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
10754 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
10755 maybe-all-stagefeedback-gas:
10756 maybe-clean-stagefeedback-gas:
10757 @if gas-bootstrap
10758 maybe-all-stagefeedback-gas: all-stagefeedback-gas
10759 all-stagefeedback: all-stagefeedback-gas
10760 TARGET-stagefeedback-gas = $(TARGET-gas)
10761 all-stagefeedback-gas: configure-stagefeedback-gas
10762 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10763 @r=`${PWD_COMMAND}`; export r; \
10764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10765 $(HOST_EXPORTS) \
10766 $(POSTSTAGE1_HOST_EXPORTS) \
10767 cd $(HOST_SUBDIR)/gas && \
10768 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
10769 $(TARGET-stagefeedback-gas)
10771 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
10772 clean-stagefeedback: clean-stagefeedback-gas
10773 clean-stagefeedback-gas:
10774 @[ -f $(HOST_SUBDIR)/gas/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gas/Makefile ] \
10775 || exit 0 ; \
10776 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
10777 cd $(HOST_SUBDIR)/gas && \
10778 $(MAKE) $(FLAGS_TO_PASS) \
10779 $(POSTSTAGE1_FLAGS_TO_PASS) \
10780 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
10781 @endif gas-bootstrap
10787 .PHONY: check-gas maybe-check-gas
10788 maybe-check-gas:
10789 @if gas
10790 maybe-check-gas: check-gas
10792 check-gas:
10793 @$(unstage)
10794 @r=`${PWD_COMMAND}`; export r; \
10795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10796 $(HOST_EXPORTS) \
10797 (cd $(HOST_SUBDIR)/gas && \
10798 $(MAKE) $(FLAGS_TO_PASS) check)
10800 @endif gas
10802 .PHONY: install-gas maybe-install-gas
10803 maybe-install-gas:
10804 @if gas
10805 maybe-install-gas: install-gas
10807 install-gas: installdirs
10808 @$(unstage)
10809 @r=`${PWD_COMMAND}`; export r; \
10810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10811 $(HOST_EXPORTS) \
10812 (cd $(HOST_SUBDIR)/gas && \
10813 $(MAKE) $(FLAGS_TO_PASS) install)
10815 @endif gas
10817 # Other targets (info, dvi, etc.)
10819 .PHONY: maybe-info-gas info-gas
10820 maybe-info-gas:
10821 @if gas
10822 maybe-info-gas: info-gas
10824 info-gas: \
10825 configure-gas
10826 @[ -f ./gas/Makefile ] || exit 0; \
10827 r=`${PWD_COMMAND}`; export r; \
10828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10829 $(HOST_EXPORTS) \
10830 for flag in $(EXTRA_HOST_FLAGS) ; do \
10831 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10832 done; \
10833 echo "Doing info in gas" ; \
10834 (cd $(HOST_SUBDIR)/gas && \
10835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10837 "RANLIB=$${RANLIB}" \
10838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10839 info) \
10840 || exit 1
10842 @endif gas
10844 .PHONY: maybe-dvi-gas dvi-gas
10845 maybe-dvi-gas:
10846 @if gas
10847 maybe-dvi-gas: dvi-gas
10849 dvi-gas: \
10850 configure-gas
10851 @[ -f ./gas/Makefile ] || exit 0; \
10852 r=`${PWD_COMMAND}`; export r; \
10853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10854 $(HOST_EXPORTS) \
10855 for flag in $(EXTRA_HOST_FLAGS) ; do \
10856 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10857 done; \
10858 echo "Doing dvi in gas" ; \
10859 (cd $(HOST_SUBDIR)/gas && \
10860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10862 "RANLIB=$${RANLIB}" \
10863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10864 dvi) \
10865 || exit 1
10867 @endif gas
10869 .PHONY: maybe-html-gas html-gas
10870 maybe-html-gas:
10871 @if gas
10872 maybe-html-gas: html-gas
10874 html-gas: \
10875 configure-gas
10876 @[ -f ./gas/Makefile ] || exit 0; \
10877 r=`${PWD_COMMAND}`; export r; \
10878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10879 $(HOST_EXPORTS) \
10880 for flag in $(EXTRA_HOST_FLAGS) ; do \
10881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10882 done; \
10883 echo "Doing html in gas" ; \
10884 (cd $(HOST_SUBDIR)/gas && \
10885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10887 "RANLIB=$${RANLIB}" \
10888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10889 html) \
10890 || exit 1
10892 @endif gas
10894 .PHONY: maybe-TAGS-gas TAGS-gas
10895 maybe-TAGS-gas:
10896 @if gas
10897 maybe-TAGS-gas: TAGS-gas
10899 TAGS-gas: \
10900 configure-gas
10901 @[ -f ./gas/Makefile ] || exit 0; \
10902 r=`${PWD_COMMAND}`; export r; \
10903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10904 $(HOST_EXPORTS) \
10905 for flag in $(EXTRA_HOST_FLAGS) ; do \
10906 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10907 done; \
10908 echo "Doing TAGS in gas" ; \
10909 (cd $(HOST_SUBDIR)/gas && \
10910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10912 "RANLIB=$${RANLIB}" \
10913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10914 TAGS) \
10915 || exit 1
10917 @endif gas
10919 .PHONY: maybe-install-info-gas install-info-gas
10920 maybe-install-info-gas:
10921 @if gas
10922 maybe-install-info-gas: install-info-gas
10924 install-info-gas: \
10925 configure-gas \
10926 info-gas
10927 @[ -f ./gas/Makefile ] || exit 0; \
10928 r=`${PWD_COMMAND}`; export r; \
10929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10930 $(HOST_EXPORTS) \
10931 for flag in $(EXTRA_HOST_FLAGS) ; do \
10932 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10933 done; \
10934 echo "Doing install-info in gas" ; \
10935 (cd $(HOST_SUBDIR)/gas && \
10936 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10937 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10938 "RANLIB=$${RANLIB}" \
10939 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10940 install-info) \
10941 || exit 1
10943 @endif gas
10945 .PHONY: maybe-installcheck-gas installcheck-gas
10946 maybe-installcheck-gas:
10947 @if gas
10948 maybe-installcheck-gas: installcheck-gas
10950 installcheck-gas: \
10951 configure-gas
10952 @[ -f ./gas/Makefile ] || exit 0; \
10953 r=`${PWD_COMMAND}`; export r; \
10954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10955 $(HOST_EXPORTS) \
10956 for flag in $(EXTRA_HOST_FLAGS) ; do \
10957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10958 done; \
10959 echo "Doing installcheck in gas" ; \
10960 (cd $(HOST_SUBDIR)/gas && \
10961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10963 "RANLIB=$${RANLIB}" \
10964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10965 installcheck) \
10966 || exit 1
10968 @endif gas
10970 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
10971 maybe-mostlyclean-gas:
10972 @if gas
10973 maybe-mostlyclean-gas: mostlyclean-gas
10975 mostlyclean-gas:
10976 @[ -f ./gas/Makefile ] || exit 0; \
10977 r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(HOST_EXPORTS) \
10980 for flag in $(EXTRA_HOST_FLAGS) ; do \
10981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10982 done; \
10983 echo "Doing mostlyclean in gas" ; \
10984 (cd $(HOST_SUBDIR)/gas && \
10985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10987 "RANLIB=$${RANLIB}" \
10988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10989 mostlyclean) \
10990 || exit 1
10992 @endif gas
10994 .PHONY: maybe-clean-gas clean-gas
10995 maybe-clean-gas:
10996 @if gas
10997 maybe-clean-gas: clean-gas
10999 clean-gas:
11000 @[ -f ./gas/Makefile ] || exit 0; \
11001 r=`${PWD_COMMAND}`; export r; \
11002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11003 $(HOST_EXPORTS) \
11004 for flag in $(EXTRA_HOST_FLAGS) ; do \
11005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11006 done; \
11007 echo "Doing clean in gas" ; \
11008 (cd $(HOST_SUBDIR)/gas && \
11009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11011 "RANLIB=$${RANLIB}" \
11012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11013 clean) \
11014 || exit 1
11016 @endif gas
11018 .PHONY: maybe-distclean-gas distclean-gas
11019 maybe-distclean-gas:
11020 @if gas
11021 maybe-distclean-gas: distclean-gas
11023 distclean-gas:
11024 @[ -f ./gas/Makefile ] || exit 0; \
11025 r=`${PWD_COMMAND}`; export r; \
11026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11027 $(HOST_EXPORTS) \
11028 for flag in $(EXTRA_HOST_FLAGS) ; do \
11029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11030 done; \
11031 echo "Doing distclean in gas" ; \
11032 (cd $(HOST_SUBDIR)/gas && \
11033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11035 "RANLIB=$${RANLIB}" \
11036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11037 distclean) \
11038 || exit 1
11040 @endif gas
11042 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
11043 maybe-maintainer-clean-gas:
11044 @if gas
11045 maybe-maintainer-clean-gas: maintainer-clean-gas
11047 maintainer-clean-gas:
11048 @[ -f ./gas/Makefile ] || exit 0; \
11049 r=`${PWD_COMMAND}`; export r; \
11050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11051 $(HOST_EXPORTS) \
11052 for flag in $(EXTRA_HOST_FLAGS) ; do \
11053 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11054 done; \
11055 echo "Doing maintainer-clean in gas" ; \
11056 (cd $(HOST_SUBDIR)/gas && \
11057 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11058 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11059 "RANLIB=$${RANLIB}" \
11060 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11061 maintainer-clean) \
11062 || exit 1
11064 @endif gas
11068 .PHONY: configure-gcc maybe-configure-gcc
11069 maybe-configure-gcc:
11070 @if gcc
11071 maybe-configure-gcc: configure-gcc
11072 configure-gcc:
11073 @test -f stage_last && exit 0; \
11074 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
11075 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
11076 r=`${PWD_COMMAND}`; export r; \
11077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11078 $(HOST_EXPORTS) \
11079 echo Configuring in $(HOST_SUBDIR)/gcc; \
11080 cd "$(HOST_SUBDIR)/gcc" || exit 1; \
11081 case $(srcdir) in \
11082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11083 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11085 esac; \
11086 srcdiroption="--srcdir=$${topdir}/gcc"; \
11087 libsrcdir="$$s/gcc"; \
11088 $(SHELL) $${libsrcdir}/configure \
11089 $(HOST_CONFIGARGS) $${srcdiroption} \
11090 || exit 1
11091 @endif gcc
11095 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
11096 maybe-configure-stage1-gcc:
11097 @if gcc-bootstrap
11098 maybe-configure-stage1-gcc: configure-stage1-gcc
11099 configure-stage1-gcc:
11100 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11101 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11102 r=`${PWD_COMMAND}`; export r; \
11103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11104 $(HOST_EXPORTS) \
11105 echo Configuring stage 1 in $(HOST_SUBDIR)/gcc ; \
11106 cd $(HOST_SUBDIR)/gcc || exit 1; \
11107 case $(srcdir) in \
11108 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11109 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11110 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11111 esac; \
11112 srcdiroption="--srcdir=$${topdir}/gcc"; \
11113 libsrcdir="$$s/gcc"; \
11114 $(SHELL) $${libsrcdir}/configure \
11115 $(HOST_CONFIGARGS) $${srcdiroption} \
11116 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
11117 @endif gcc-bootstrap
11119 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
11120 maybe-configure-stage2-gcc:
11121 @if gcc-bootstrap
11122 maybe-configure-stage2-gcc: configure-stage2-gcc
11123 configure-stage2-gcc:
11124 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11125 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11126 r=`${PWD_COMMAND}`; export r; \
11127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11128 $(HOST_EXPORTS) \
11129 $(POSTSTAGE1_HOST_EXPORTS) \
11130 echo Configuring stage 2 in $(HOST_SUBDIR)/gcc ; \
11131 cd $(HOST_SUBDIR)/gcc || exit 1; \
11132 case $(srcdir) in \
11133 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11134 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11135 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11136 esac; \
11137 srcdiroption="--srcdir=$${topdir}/gcc"; \
11138 libsrcdir="$$s/gcc"; \
11139 $(SHELL) $${libsrcdir}/configure \
11140 $(HOST_CONFIGARGS) $${srcdiroption} \
11141 @stage2_werror_flag@
11142 @endif gcc-bootstrap
11144 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
11145 maybe-configure-stage3-gcc:
11146 @if gcc-bootstrap
11147 maybe-configure-stage3-gcc: configure-stage3-gcc
11148 configure-stage3-gcc:
11149 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11150 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11151 r=`${PWD_COMMAND}`; export r; \
11152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11153 $(HOST_EXPORTS) \
11154 $(POSTSTAGE1_HOST_EXPORTS) \
11155 echo Configuring stage 3 in $(HOST_SUBDIR)/gcc ; \
11156 cd $(HOST_SUBDIR)/gcc || exit 1; \
11157 case $(srcdir) in \
11158 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11159 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11160 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11161 esac; \
11162 srcdiroption="--srcdir=$${topdir}/gcc"; \
11163 libsrcdir="$$s/gcc"; \
11164 $(SHELL) $${libsrcdir}/configure \
11165 $(HOST_CONFIGARGS) $${srcdiroption} \
11166 @stage2_werror_flag@
11167 @endif gcc-bootstrap
11169 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
11170 maybe-configure-stage4-gcc:
11171 @if gcc-bootstrap
11172 maybe-configure-stage4-gcc: configure-stage4-gcc
11173 configure-stage4-gcc:
11174 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11175 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11176 r=`${PWD_COMMAND}`; export r; \
11177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11178 $(HOST_EXPORTS) \
11179 $(POSTSTAGE1_HOST_EXPORTS) \
11180 echo Configuring stage 4 in $(HOST_SUBDIR)/gcc ; \
11181 cd $(HOST_SUBDIR)/gcc || exit 1; \
11182 case $(srcdir) in \
11183 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11184 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11185 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11186 esac; \
11187 srcdiroption="--srcdir=$${topdir}/gcc"; \
11188 libsrcdir="$$s/gcc"; \
11189 $(SHELL) $${libsrcdir}/configure \
11190 $(HOST_CONFIGARGS) $${srcdiroption} \
11191 @stage2_werror_flag@
11192 @endif gcc-bootstrap
11194 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
11195 maybe-configure-stageprofile-gcc:
11196 @if gcc-bootstrap
11197 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
11198 configure-stageprofile-gcc:
11199 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11200 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11201 r=`${PWD_COMMAND}`; export r; \
11202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11203 $(HOST_EXPORTS) \
11204 $(POSTSTAGE1_HOST_EXPORTS) \
11205 echo Configuring stage profile in $(HOST_SUBDIR)/gcc ; \
11206 cd $(HOST_SUBDIR)/gcc || exit 1; \
11207 case $(srcdir) in \
11208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11209 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11211 esac; \
11212 srcdiroption="--srcdir=$${topdir}/gcc"; \
11213 libsrcdir="$$s/gcc"; \
11214 $(SHELL) $${libsrcdir}/configure \
11215 $(HOST_CONFIGARGS) $${srcdiroption} \
11216 @stage2_werror_flag@
11217 @endif gcc-bootstrap
11219 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
11220 maybe-configure-stagefeedback-gcc:
11221 @if gcc-bootstrap
11222 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
11223 configure-stagefeedback-gcc:
11224 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11225 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] && exit 0 || : ; \
11226 r=`${PWD_COMMAND}`; export r; \
11227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11228 $(HOST_EXPORTS) \
11229 $(POSTSTAGE1_HOST_EXPORTS) \
11230 echo Configuring stage feedback in $(HOST_SUBDIR)/gcc ; \
11231 cd $(HOST_SUBDIR)/gcc || exit 1; \
11232 case $(srcdir) in \
11233 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11234 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
11235 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11236 esac; \
11237 srcdiroption="--srcdir=$${topdir}/gcc"; \
11238 libsrcdir="$$s/gcc"; \
11239 $(SHELL) $${libsrcdir}/configure \
11240 $(HOST_CONFIGARGS) $${srcdiroption} \
11241 @stage2_werror_flag@
11242 @endif gcc-bootstrap
11248 .PHONY: all-gcc maybe-all-gcc
11249 maybe-all-gcc:
11250 @if gcc
11251 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
11252 maybe-all-gcc: all-gcc
11253 all-gcc: configure-gcc
11254 @test -f stage_last && exit 0; \
11255 r=`${PWD_COMMAND}`; export r; \
11256 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11257 $(HOST_EXPORTS) \
11258 (cd $(HOST_SUBDIR)/gcc && \
11259 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
11260 @endif gcc
11264 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
11265 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
11266 maybe-all-stage1-gcc:
11267 maybe-clean-stage1-gcc:
11268 @if gcc-bootstrap
11269 maybe-all-stage1-gcc: all-stage1-gcc
11270 all-stage1: all-stage1-gcc
11271 TARGET-stage1-gcc = $(TARGET-gcc)
11272 all-stage1-gcc: configure-stage1-gcc
11273 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11274 @r=`${PWD_COMMAND}`; export r; \
11275 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11276 $(HOST_EXPORTS) \
11277 cd $(HOST_SUBDIR)/gcc && \
11278 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) \
11279 $(TARGET-stage1-gcc)
11281 maybe-clean-stage1-gcc: clean-stage1-gcc
11282 clean-stage1: clean-stage1-gcc
11283 clean-stage1-gcc:
11284 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-gcc/Makefile ] \
11285 || exit 0 ; \
11286 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
11287 cd $(HOST_SUBDIR)/gcc && \
11288 $(MAKE) $(FLAGS_TO_PASS) \
11289 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
11290 @endif gcc-bootstrap
11293 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
11294 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
11295 maybe-all-stage2-gcc:
11296 maybe-clean-stage2-gcc:
11297 @if gcc-bootstrap
11298 maybe-all-stage2-gcc: all-stage2-gcc
11299 all-stage2: all-stage2-gcc
11300 TARGET-stage2-gcc = $(TARGET-gcc)
11301 all-stage2-gcc: configure-stage2-gcc
11302 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11303 @r=`${PWD_COMMAND}`; export r; \
11304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11305 $(HOST_EXPORTS) \
11306 $(POSTSTAGE1_HOST_EXPORTS) \
11307 cd $(HOST_SUBDIR)/gcc && \
11308 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11309 $(TARGET-stage2-gcc)
11311 maybe-clean-stage2-gcc: clean-stage2-gcc
11312 clean-stage2: clean-stage2-gcc
11313 clean-stage2-gcc:
11314 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-gcc/Makefile ] \
11315 || exit 0 ; \
11316 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
11317 cd $(HOST_SUBDIR)/gcc && \
11318 $(MAKE) $(FLAGS_TO_PASS) \
11319 $(POSTSTAGE1_FLAGS_TO_PASS) \
11320 $(EXTRA_GCC_FLAGS) clean
11321 @endif gcc-bootstrap
11324 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
11325 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
11326 maybe-all-stage3-gcc:
11327 maybe-clean-stage3-gcc:
11328 @if gcc-bootstrap
11329 maybe-all-stage3-gcc: all-stage3-gcc
11330 all-stage3: all-stage3-gcc
11331 TARGET-stage3-gcc = $(TARGET-gcc)
11332 all-stage3-gcc: configure-stage3-gcc
11333 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11334 @r=`${PWD_COMMAND}`; export r; \
11335 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11336 $(HOST_EXPORTS) \
11337 $(POSTSTAGE1_HOST_EXPORTS) \
11338 cd $(HOST_SUBDIR)/gcc && \
11339 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11340 $(TARGET-stage3-gcc)
11342 maybe-clean-stage3-gcc: clean-stage3-gcc
11343 clean-stage3: clean-stage3-gcc
11344 clean-stage3-gcc:
11345 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-gcc/Makefile ] \
11346 || exit 0 ; \
11347 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
11348 cd $(HOST_SUBDIR)/gcc && \
11349 $(MAKE) $(FLAGS_TO_PASS) \
11350 $(POSTSTAGE1_FLAGS_TO_PASS) \
11351 $(EXTRA_GCC_FLAGS) clean
11352 @endif gcc-bootstrap
11355 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
11356 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
11357 maybe-all-stage4-gcc:
11358 maybe-clean-stage4-gcc:
11359 @if gcc-bootstrap
11360 maybe-all-stage4-gcc: all-stage4-gcc
11361 all-stage4: all-stage4-gcc
11362 TARGET-stage4-gcc = $(TARGET-gcc)
11363 all-stage4-gcc: configure-stage4-gcc
11364 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11365 @r=`${PWD_COMMAND}`; export r; \
11366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11367 $(HOST_EXPORTS) \
11368 $(POSTSTAGE1_HOST_EXPORTS) \
11369 cd $(HOST_SUBDIR)/gcc && \
11370 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) \
11371 $(TARGET-stage4-gcc)
11373 maybe-clean-stage4-gcc: clean-stage4-gcc
11374 clean-stage4: clean-stage4-gcc
11375 clean-stage4-gcc:
11376 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-gcc/Makefile ] \
11377 || exit 0 ; \
11378 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
11379 cd $(HOST_SUBDIR)/gcc && \
11380 $(MAKE) $(FLAGS_TO_PASS) \
11381 $(POSTSTAGE1_FLAGS_TO_PASS) \
11382 $(EXTRA_GCC_FLAGS) clean
11383 @endif gcc-bootstrap
11386 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
11387 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
11388 maybe-all-stageprofile-gcc:
11389 maybe-clean-stageprofile-gcc:
11390 @if gcc-bootstrap
11391 maybe-all-stageprofile-gcc: all-stageprofile-gcc
11392 all-stageprofile: all-stageprofile-gcc
11393 TARGET-stageprofile-gcc = $(TARGET-gcc)
11394 all-stageprofile-gcc: configure-stageprofile-gcc
11395 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11396 @r=`${PWD_COMMAND}`; export r; \
11397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11398 $(HOST_EXPORTS) \
11399 $(POSTSTAGE1_HOST_EXPORTS) \
11400 cd $(HOST_SUBDIR)/gcc && \
11401 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) \
11402 $(TARGET-stageprofile-gcc)
11404 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
11405 clean-stageprofile: clean-stageprofile-gcc
11406 clean-stageprofile-gcc:
11407 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-gcc/Makefile ] \
11408 || exit 0 ; \
11409 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
11410 cd $(HOST_SUBDIR)/gcc && \
11411 $(MAKE) $(FLAGS_TO_PASS) \
11412 $(POSTSTAGE1_FLAGS_TO_PASS) \
11413 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
11414 @endif gcc-bootstrap
11417 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
11418 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
11419 maybe-all-stagefeedback-gcc:
11420 maybe-clean-stagefeedback-gcc:
11421 @if gcc-bootstrap
11422 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
11423 all-stagefeedback: all-stagefeedback-gcc
11424 TARGET-stagefeedback-gcc = $(TARGET-gcc)
11425 all-stagefeedback-gcc: configure-stagefeedback-gcc
11426 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11427 @r=`${PWD_COMMAND}`; export r; \
11428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11429 $(HOST_EXPORTS) \
11430 $(POSTSTAGE1_HOST_EXPORTS) \
11431 cd $(HOST_SUBDIR)/gcc && \
11432 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) \
11433 $(TARGET-stagefeedback-gcc)
11435 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
11436 clean-stagefeedback: clean-stagefeedback-gcc
11437 clean-stagefeedback-gcc:
11438 @[ -f $(HOST_SUBDIR)/gcc/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-gcc/Makefile ] \
11439 || exit 0 ; \
11440 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
11441 cd $(HOST_SUBDIR)/gcc && \
11442 $(MAKE) $(FLAGS_TO_PASS) \
11443 $(POSTSTAGE1_FLAGS_TO_PASS) \
11444 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
11445 @endif gcc-bootstrap
11451 .PHONY: check-gcc maybe-check-gcc
11452 maybe-check-gcc:
11453 @if gcc
11454 maybe-check-gcc: check-gcc
11456 check-gcc:
11457 @$(unstage)
11458 @r=`${PWD_COMMAND}`; export r; \
11459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11460 $(HOST_EXPORTS) \
11461 (cd $(HOST_SUBDIR)/gcc && \
11462 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
11464 @endif gcc
11466 .PHONY: install-gcc maybe-install-gcc
11467 maybe-install-gcc:
11468 @if gcc
11469 maybe-install-gcc: install-gcc
11471 install-gcc: installdirs
11472 @$(unstage)
11473 @r=`${PWD_COMMAND}`; export r; \
11474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11475 $(HOST_EXPORTS) \
11476 (cd $(HOST_SUBDIR)/gcc && \
11477 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
11479 @endif gcc
11481 # Other targets (info, dvi, etc.)
11483 .PHONY: maybe-info-gcc info-gcc
11484 maybe-info-gcc:
11485 @if gcc
11486 maybe-info-gcc: info-gcc
11488 info-gcc: \
11489 configure-gcc
11490 @[ -f ./gcc/Makefile ] || exit 0; \
11491 r=`${PWD_COMMAND}`; export r; \
11492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11493 $(HOST_EXPORTS) \
11494 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11496 done; \
11497 echo "Doing info in gcc" ; \
11498 (cd $(HOST_SUBDIR)/gcc && \
11499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11501 "RANLIB=$${RANLIB}" \
11502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11503 info) \
11504 || exit 1
11506 @endif gcc
11508 .PHONY: maybe-dvi-gcc dvi-gcc
11509 maybe-dvi-gcc:
11510 @if gcc
11511 maybe-dvi-gcc: dvi-gcc
11513 dvi-gcc: \
11514 configure-gcc
11515 @[ -f ./gcc/Makefile ] || exit 0; \
11516 r=`${PWD_COMMAND}`; export r; \
11517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11518 $(HOST_EXPORTS) \
11519 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11521 done; \
11522 echo "Doing dvi in gcc" ; \
11523 (cd $(HOST_SUBDIR)/gcc && \
11524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11526 "RANLIB=$${RANLIB}" \
11527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11528 dvi) \
11529 || exit 1
11531 @endif gcc
11533 .PHONY: maybe-html-gcc html-gcc
11534 maybe-html-gcc:
11535 @if gcc
11536 maybe-html-gcc: html-gcc
11538 html-gcc: \
11539 configure-gcc
11540 @[ -f ./gcc/Makefile ] || exit 0; \
11541 r=`${PWD_COMMAND}`; export r; \
11542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11543 $(HOST_EXPORTS) \
11544 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11546 done; \
11547 echo "Doing html in gcc" ; \
11548 (cd $(HOST_SUBDIR)/gcc && \
11549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11551 "RANLIB=$${RANLIB}" \
11552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11553 html) \
11554 || exit 1
11556 @endif gcc
11558 .PHONY: maybe-TAGS-gcc TAGS-gcc
11559 maybe-TAGS-gcc:
11560 @if gcc
11561 maybe-TAGS-gcc: TAGS-gcc
11563 TAGS-gcc: \
11564 configure-gcc
11565 @[ -f ./gcc/Makefile ] || exit 0; \
11566 r=`${PWD_COMMAND}`; export r; \
11567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11568 $(HOST_EXPORTS) \
11569 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11570 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11571 done; \
11572 echo "Doing TAGS in gcc" ; \
11573 (cd $(HOST_SUBDIR)/gcc && \
11574 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11575 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11576 "RANLIB=$${RANLIB}" \
11577 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11578 TAGS) \
11579 || exit 1
11581 @endif gcc
11583 .PHONY: maybe-install-info-gcc install-info-gcc
11584 maybe-install-info-gcc:
11585 @if gcc
11586 maybe-install-info-gcc: install-info-gcc
11588 install-info-gcc: \
11589 configure-gcc \
11590 info-gcc
11591 @[ -f ./gcc/Makefile ] || exit 0; \
11592 r=`${PWD_COMMAND}`; export r; \
11593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11594 $(HOST_EXPORTS) \
11595 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11596 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11597 done; \
11598 echo "Doing install-info in gcc" ; \
11599 (cd $(HOST_SUBDIR)/gcc && \
11600 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11601 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11602 "RANLIB=$${RANLIB}" \
11603 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11604 install-info) \
11605 || exit 1
11607 @endif gcc
11609 .PHONY: maybe-installcheck-gcc installcheck-gcc
11610 maybe-installcheck-gcc:
11611 @if gcc
11612 maybe-installcheck-gcc: installcheck-gcc
11614 installcheck-gcc: \
11615 configure-gcc
11616 @[ -f ./gcc/Makefile ] || exit 0; \
11617 r=`${PWD_COMMAND}`; export r; \
11618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11619 $(HOST_EXPORTS) \
11620 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11622 done; \
11623 echo "Doing installcheck in gcc" ; \
11624 (cd $(HOST_SUBDIR)/gcc && \
11625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11627 "RANLIB=$${RANLIB}" \
11628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11629 installcheck) \
11630 || exit 1
11632 @endif gcc
11634 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
11635 maybe-mostlyclean-gcc:
11636 @if gcc
11637 maybe-mostlyclean-gcc: mostlyclean-gcc
11639 mostlyclean-gcc:
11640 @[ -f ./gcc/Makefile ] || exit 0; \
11641 r=`${PWD_COMMAND}`; export r; \
11642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11643 $(HOST_EXPORTS) \
11644 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11645 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11646 done; \
11647 echo "Doing mostlyclean in gcc" ; \
11648 (cd $(HOST_SUBDIR)/gcc && \
11649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11651 "RANLIB=$${RANLIB}" \
11652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11653 mostlyclean) \
11654 || exit 1
11656 @endif gcc
11658 .PHONY: maybe-clean-gcc clean-gcc
11659 maybe-clean-gcc:
11660 @if gcc
11661 maybe-clean-gcc: clean-gcc
11663 clean-gcc:
11664 @[ -f ./gcc/Makefile ] || exit 0; \
11665 r=`${PWD_COMMAND}`; export r; \
11666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11667 $(HOST_EXPORTS) \
11668 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11670 done; \
11671 echo "Doing clean in gcc" ; \
11672 (cd $(HOST_SUBDIR)/gcc && \
11673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11675 "RANLIB=$${RANLIB}" \
11676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11677 clean) \
11678 || exit 1
11680 @endif gcc
11682 .PHONY: maybe-distclean-gcc distclean-gcc
11683 maybe-distclean-gcc:
11684 @if gcc
11685 maybe-distclean-gcc: distclean-gcc
11687 distclean-gcc:
11688 @[ -f ./gcc/Makefile ] || exit 0; \
11689 r=`${PWD_COMMAND}`; export r; \
11690 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11691 $(HOST_EXPORTS) \
11692 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11694 done; \
11695 echo "Doing distclean in gcc" ; \
11696 (cd $(HOST_SUBDIR)/gcc && \
11697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11699 "RANLIB=$${RANLIB}" \
11700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11701 distclean) \
11702 || exit 1
11704 @endif gcc
11706 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
11707 maybe-maintainer-clean-gcc:
11708 @if gcc
11709 maybe-maintainer-clean-gcc: maintainer-clean-gcc
11711 maintainer-clean-gcc:
11712 @[ -f ./gcc/Makefile ] || exit 0; \
11713 r=`${PWD_COMMAND}`; export r; \
11714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11715 $(HOST_EXPORTS) \
11716 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
11717 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11718 done; \
11719 echo "Doing maintainer-clean in gcc" ; \
11720 (cd $(HOST_SUBDIR)/gcc && \
11721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11723 "RANLIB=$${RANLIB}" \
11724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11725 maintainer-clean) \
11726 || exit 1
11728 @endif gcc
11732 .PHONY: configure-gawk maybe-configure-gawk
11733 maybe-configure-gawk:
11734 @if gawk
11735 maybe-configure-gawk: configure-gawk
11736 configure-gawk:
11737 @$(unstage)
11738 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
11739 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
11740 r=`${PWD_COMMAND}`; export r; \
11741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11742 $(HOST_EXPORTS) \
11743 echo Configuring in $(HOST_SUBDIR)/gawk; \
11744 cd "$(HOST_SUBDIR)/gawk" || exit 1; \
11745 case $(srcdir) in \
11746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11747 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
11748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11749 esac; \
11750 srcdiroption="--srcdir=$${topdir}/gawk"; \
11751 libsrcdir="$$s/gawk"; \
11752 $(SHELL) $${libsrcdir}/configure \
11753 $(HOST_CONFIGARGS) $${srcdiroption} \
11754 || exit 1
11755 @endif gawk
11761 .PHONY: all-gawk maybe-all-gawk
11762 maybe-all-gawk:
11763 @if gawk
11764 TARGET-gawk=all
11765 maybe-all-gawk: all-gawk
11766 all-gawk: configure-gawk
11767 @$(unstage)
11768 @r=`${PWD_COMMAND}`; export r; \
11769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11770 $(HOST_EXPORTS) \
11771 (cd $(HOST_SUBDIR)/gawk && \
11772 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
11773 @endif gawk
11778 .PHONY: check-gawk maybe-check-gawk
11779 maybe-check-gawk:
11780 @if gawk
11781 maybe-check-gawk: check-gawk
11783 check-gawk:
11784 @$(unstage)
11785 @r=`${PWD_COMMAND}`; export r; \
11786 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11787 $(HOST_EXPORTS) \
11788 (cd $(HOST_SUBDIR)/gawk && \
11789 $(MAKE) $(FLAGS_TO_PASS) check)
11791 @endif gawk
11793 .PHONY: install-gawk maybe-install-gawk
11794 maybe-install-gawk:
11795 @if gawk
11796 maybe-install-gawk: install-gawk
11798 install-gawk: installdirs
11799 @$(unstage)
11800 @r=`${PWD_COMMAND}`; export r; \
11801 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11802 $(HOST_EXPORTS) \
11803 (cd $(HOST_SUBDIR)/gawk && \
11804 $(MAKE) $(FLAGS_TO_PASS) install)
11806 @endif gawk
11808 # Other targets (info, dvi, etc.)
11810 .PHONY: maybe-info-gawk info-gawk
11811 maybe-info-gawk:
11812 @if gawk
11813 maybe-info-gawk: info-gawk
11815 info-gawk: \
11816 configure-gawk
11817 @$(unstage)
11818 @[ -f ./gawk/Makefile ] || exit 0; \
11819 r=`${PWD_COMMAND}`; export r; \
11820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11821 $(HOST_EXPORTS) \
11822 for flag in $(EXTRA_HOST_FLAGS) ; do \
11823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11824 done; \
11825 echo "Doing info in gawk" ; \
11826 (cd $(HOST_SUBDIR)/gawk && \
11827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11829 "RANLIB=$${RANLIB}" \
11830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11831 info) \
11832 || exit 1
11834 @endif gawk
11836 .PHONY: maybe-dvi-gawk dvi-gawk
11837 maybe-dvi-gawk:
11838 @if gawk
11839 maybe-dvi-gawk: dvi-gawk
11841 dvi-gawk: \
11842 configure-gawk
11843 @$(unstage)
11844 @[ -f ./gawk/Makefile ] || exit 0; \
11845 r=`${PWD_COMMAND}`; export r; \
11846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11847 $(HOST_EXPORTS) \
11848 for flag in $(EXTRA_HOST_FLAGS) ; do \
11849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11850 done; \
11851 echo "Doing dvi in gawk" ; \
11852 (cd $(HOST_SUBDIR)/gawk && \
11853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11855 "RANLIB=$${RANLIB}" \
11856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11857 dvi) \
11858 || exit 1
11860 @endif gawk
11862 .PHONY: maybe-html-gawk html-gawk
11863 maybe-html-gawk:
11864 @if gawk
11865 maybe-html-gawk: html-gawk
11867 html-gawk: \
11868 configure-gawk
11869 @$(unstage)
11870 @[ -f ./gawk/Makefile ] || exit 0; \
11871 r=`${PWD_COMMAND}`; export r; \
11872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11873 $(HOST_EXPORTS) \
11874 for flag in $(EXTRA_HOST_FLAGS) ; do \
11875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11876 done; \
11877 echo "Doing html in gawk" ; \
11878 (cd $(HOST_SUBDIR)/gawk && \
11879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11881 "RANLIB=$${RANLIB}" \
11882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11883 html) \
11884 || exit 1
11886 @endif gawk
11888 .PHONY: maybe-TAGS-gawk TAGS-gawk
11889 maybe-TAGS-gawk:
11890 @if gawk
11891 maybe-TAGS-gawk: TAGS-gawk
11893 TAGS-gawk: \
11894 configure-gawk
11895 @$(unstage)
11896 @[ -f ./gawk/Makefile ] || exit 0; \
11897 r=`${PWD_COMMAND}`; export r; \
11898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11899 $(HOST_EXPORTS) \
11900 for flag in $(EXTRA_HOST_FLAGS) ; do \
11901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11902 done; \
11903 echo "Doing TAGS in gawk" ; \
11904 (cd $(HOST_SUBDIR)/gawk && \
11905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11907 "RANLIB=$${RANLIB}" \
11908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11909 TAGS) \
11910 || exit 1
11912 @endif gawk
11914 .PHONY: maybe-install-info-gawk install-info-gawk
11915 maybe-install-info-gawk:
11916 @if gawk
11917 maybe-install-info-gawk: install-info-gawk
11919 install-info-gawk: \
11920 configure-gawk \
11921 info-gawk
11922 @$(unstage)
11923 @[ -f ./gawk/Makefile ] || exit 0; \
11924 r=`${PWD_COMMAND}`; export r; \
11925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11926 $(HOST_EXPORTS) \
11927 for flag in $(EXTRA_HOST_FLAGS) ; do \
11928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11929 done; \
11930 echo "Doing install-info in gawk" ; \
11931 (cd $(HOST_SUBDIR)/gawk && \
11932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11934 "RANLIB=$${RANLIB}" \
11935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11936 install-info) \
11937 || exit 1
11939 @endif gawk
11941 .PHONY: maybe-installcheck-gawk installcheck-gawk
11942 maybe-installcheck-gawk:
11943 @if gawk
11944 maybe-installcheck-gawk: installcheck-gawk
11946 installcheck-gawk: \
11947 configure-gawk
11948 @$(unstage)
11949 @[ -f ./gawk/Makefile ] || exit 0; \
11950 r=`${PWD_COMMAND}`; export r; \
11951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11952 $(HOST_EXPORTS) \
11953 for flag in $(EXTRA_HOST_FLAGS) ; do \
11954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11955 done; \
11956 echo "Doing installcheck in gawk" ; \
11957 (cd $(HOST_SUBDIR)/gawk && \
11958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11960 "RANLIB=$${RANLIB}" \
11961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11962 installcheck) \
11963 || exit 1
11965 @endif gawk
11967 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
11968 maybe-mostlyclean-gawk:
11969 @if gawk
11970 maybe-mostlyclean-gawk: mostlyclean-gawk
11972 mostlyclean-gawk:
11973 @$(unstage)
11974 @[ -f ./gawk/Makefile ] || exit 0; \
11975 r=`${PWD_COMMAND}`; export r; \
11976 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11977 $(HOST_EXPORTS) \
11978 for flag in $(EXTRA_HOST_FLAGS) ; do \
11979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11980 done; \
11981 echo "Doing mostlyclean in gawk" ; \
11982 (cd $(HOST_SUBDIR)/gawk && \
11983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11985 "RANLIB=$${RANLIB}" \
11986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11987 mostlyclean) \
11988 || exit 1
11990 @endif gawk
11992 .PHONY: maybe-clean-gawk clean-gawk
11993 maybe-clean-gawk:
11994 @if gawk
11995 maybe-clean-gawk: clean-gawk
11997 clean-gawk:
11998 @$(unstage)
11999 @[ -f ./gawk/Makefile ] || exit 0; \
12000 r=`${PWD_COMMAND}`; export r; \
12001 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12002 $(HOST_EXPORTS) \
12003 for flag in $(EXTRA_HOST_FLAGS) ; do \
12004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12005 done; \
12006 echo "Doing clean in gawk" ; \
12007 (cd $(HOST_SUBDIR)/gawk && \
12008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12010 "RANLIB=$${RANLIB}" \
12011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12012 clean) \
12013 || exit 1
12015 @endif gawk
12017 .PHONY: maybe-distclean-gawk distclean-gawk
12018 maybe-distclean-gawk:
12019 @if gawk
12020 maybe-distclean-gawk: distclean-gawk
12022 distclean-gawk:
12023 @$(unstage)
12024 @[ -f ./gawk/Makefile ] || exit 0; \
12025 r=`${PWD_COMMAND}`; export r; \
12026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12027 $(HOST_EXPORTS) \
12028 for flag in $(EXTRA_HOST_FLAGS) ; do \
12029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12030 done; \
12031 echo "Doing distclean in gawk" ; \
12032 (cd $(HOST_SUBDIR)/gawk && \
12033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12035 "RANLIB=$${RANLIB}" \
12036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12037 distclean) \
12038 || exit 1
12040 @endif gawk
12042 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
12043 maybe-maintainer-clean-gawk:
12044 @if gawk
12045 maybe-maintainer-clean-gawk: maintainer-clean-gawk
12047 maintainer-clean-gawk:
12048 @$(unstage)
12049 @[ -f ./gawk/Makefile ] || exit 0; \
12050 r=`${PWD_COMMAND}`; export r; \
12051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12052 $(HOST_EXPORTS) \
12053 for flag in $(EXTRA_HOST_FLAGS) ; do \
12054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12055 done; \
12056 echo "Doing maintainer-clean in gawk" ; \
12057 (cd $(HOST_SUBDIR)/gawk && \
12058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12060 "RANLIB=$${RANLIB}" \
12061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12062 maintainer-clean) \
12063 || exit 1
12065 @endif gawk
12069 .PHONY: configure-gettext maybe-configure-gettext
12070 maybe-configure-gettext:
12071 @if gettext
12072 maybe-configure-gettext: configure-gettext
12073 configure-gettext:
12074 @$(unstage)
12075 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
12076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
12077 r=`${PWD_COMMAND}`; export r; \
12078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12079 $(HOST_EXPORTS) \
12080 echo Configuring in $(HOST_SUBDIR)/gettext; \
12081 cd "$(HOST_SUBDIR)/gettext" || exit 1; \
12082 case $(srcdir) in \
12083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12084 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
12085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12086 esac; \
12087 srcdiroption="--srcdir=$${topdir}/gettext"; \
12088 libsrcdir="$$s/gettext"; \
12089 $(SHELL) $${libsrcdir}/configure \
12090 $(HOST_CONFIGARGS) $${srcdiroption} \
12091 || exit 1
12092 @endif gettext
12098 .PHONY: all-gettext maybe-all-gettext
12099 maybe-all-gettext:
12100 @if gettext
12101 TARGET-gettext=all
12102 maybe-all-gettext: all-gettext
12103 all-gettext: configure-gettext
12104 @$(unstage)
12105 @r=`${PWD_COMMAND}`; export r; \
12106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12107 $(HOST_EXPORTS) \
12108 (cd $(HOST_SUBDIR)/gettext && \
12109 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
12110 @endif gettext
12115 .PHONY: check-gettext maybe-check-gettext
12116 maybe-check-gettext:
12117 @if gettext
12118 maybe-check-gettext: check-gettext
12120 check-gettext:
12121 @$(unstage)
12122 @r=`${PWD_COMMAND}`; export r; \
12123 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12124 $(HOST_EXPORTS) \
12125 (cd $(HOST_SUBDIR)/gettext && \
12126 $(MAKE) $(FLAGS_TO_PASS) check)
12128 @endif gettext
12130 .PHONY: install-gettext maybe-install-gettext
12131 maybe-install-gettext:
12132 @if gettext
12133 maybe-install-gettext: install-gettext
12135 install-gettext: installdirs
12136 @$(unstage)
12137 @r=`${PWD_COMMAND}`; export r; \
12138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12139 $(HOST_EXPORTS) \
12140 (cd $(HOST_SUBDIR)/gettext && \
12141 $(MAKE) $(FLAGS_TO_PASS) install)
12143 @endif gettext
12145 # Other targets (info, dvi, etc.)
12147 .PHONY: maybe-info-gettext info-gettext
12148 maybe-info-gettext:
12149 @if gettext
12150 maybe-info-gettext: info-gettext
12152 info-gettext: \
12153 configure-gettext
12154 @$(unstage)
12155 @[ -f ./gettext/Makefile ] || exit 0; \
12156 r=`${PWD_COMMAND}`; export r; \
12157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12158 $(HOST_EXPORTS) \
12159 for flag in $(EXTRA_HOST_FLAGS) ; do \
12160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12161 done; \
12162 echo "Doing info in gettext" ; \
12163 (cd $(HOST_SUBDIR)/gettext && \
12164 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12165 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12166 "RANLIB=$${RANLIB}" \
12167 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12168 info) \
12169 || exit 1
12171 @endif gettext
12173 .PHONY: maybe-dvi-gettext dvi-gettext
12174 maybe-dvi-gettext:
12175 @if gettext
12176 maybe-dvi-gettext: dvi-gettext
12178 dvi-gettext: \
12179 configure-gettext
12180 @$(unstage)
12181 @[ -f ./gettext/Makefile ] || exit 0; \
12182 r=`${PWD_COMMAND}`; export r; \
12183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12184 $(HOST_EXPORTS) \
12185 for flag in $(EXTRA_HOST_FLAGS) ; do \
12186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12187 done; \
12188 echo "Doing dvi in gettext" ; \
12189 (cd $(HOST_SUBDIR)/gettext && \
12190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12192 "RANLIB=$${RANLIB}" \
12193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12194 dvi) \
12195 || exit 1
12197 @endif gettext
12199 .PHONY: maybe-html-gettext html-gettext
12200 maybe-html-gettext:
12201 @if gettext
12202 maybe-html-gettext: html-gettext
12204 html-gettext: \
12205 configure-gettext
12206 @$(unstage)
12207 @[ -f ./gettext/Makefile ] || exit 0; \
12208 r=`${PWD_COMMAND}`; export r; \
12209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12210 $(HOST_EXPORTS) \
12211 for flag in $(EXTRA_HOST_FLAGS) ; do \
12212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12213 done; \
12214 echo "Doing html in gettext" ; \
12215 (cd $(HOST_SUBDIR)/gettext && \
12216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12218 "RANLIB=$${RANLIB}" \
12219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12220 html) \
12221 || exit 1
12223 @endif gettext
12225 .PHONY: maybe-TAGS-gettext TAGS-gettext
12226 maybe-TAGS-gettext:
12227 @if gettext
12228 maybe-TAGS-gettext: TAGS-gettext
12230 TAGS-gettext: \
12231 configure-gettext
12232 @$(unstage)
12233 @[ -f ./gettext/Makefile ] || exit 0; \
12234 r=`${PWD_COMMAND}`; export r; \
12235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12236 $(HOST_EXPORTS) \
12237 for flag in $(EXTRA_HOST_FLAGS) ; do \
12238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12239 done; \
12240 echo "Doing TAGS in gettext" ; \
12241 (cd $(HOST_SUBDIR)/gettext && \
12242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12244 "RANLIB=$${RANLIB}" \
12245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12246 TAGS) \
12247 || exit 1
12249 @endif gettext
12251 .PHONY: maybe-install-info-gettext install-info-gettext
12252 maybe-install-info-gettext:
12253 @if gettext
12254 maybe-install-info-gettext: install-info-gettext
12256 install-info-gettext: \
12257 configure-gettext \
12258 info-gettext
12259 @$(unstage)
12260 @[ -f ./gettext/Makefile ] || exit 0; \
12261 r=`${PWD_COMMAND}`; export r; \
12262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12263 $(HOST_EXPORTS) \
12264 for flag in $(EXTRA_HOST_FLAGS) ; do \
12265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12266 done; \
12267 echo "Doing install-info in gettext" ; \
12268 (cd $(HOST_SUBDIR)/gettext && \
12269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12271 "RANLIB=$${RANLIB}" \
12272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12273 install-info) \
12274 || exit 1
12276 @endif gettext
12278 .PHONY: maybe-installcheck-gettext installcheck-gettext
12279 maybe-installcheck-gettext:
12280 @if gettext
12281 maybe-installcheck-gettext: installcheck-gettext
12283 installcheck-gettext: \
12284 configure-gettext
12285 @$(unstage)
12286 @[ -f ./gettext/Makefile ] || exit 0; \
12287 r=`${PWD_COMMAND}`; export r; \
12288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12289 $(HOST_EXPORTS) \
12290 for flag in $(EXTRA_HOST_FLAGS) ; do \
12291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12292 done; \
12293 echo "Doing installcheck in gettext" ; \
12294 (cd $(HOST_SUBDIR)/gettext && \
12295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12297 "RANLIB=$${RANLIB}" \
12298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12299 installcheck) \
12300 || exit 1
12302 @endif gettext
12304 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
12305 maybe-mostlyclean-gettext:
12306 @if gettext
12307 maybe-mostlyclean-gettext: mostlyclean-gettext
12309 mostlyclean-gettext:
12310 @$(unstage)
12311 @[ -f ./gettext/Makefile ] || exit 0; \
12312 r=`${PWD_COMMAND}`; export r; \
12313 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12314 $(HOST_EXPORTS) \
12315 for flag in $(EXTRA_HOST_FLAGS) ; do \
12316 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12317 done; \
12318 echo "Doing mostlyclean in gettext" ; \
12319 (cd $(HOST_SUBDIR)/gettext && \
12320 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12321 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12322 "RANLIB=$${RANLIB}" \
12323 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12324 mostlyclean) \
12325 || exit 1
12327 @endif gettext
12329 .PHONY: maybe-clean-gettext clean-gettext
12330 maybe-clean-gettext:
12331 @if gettext
12332 maybe-clean-gettext: clean-gettext
12334 clean-gettext:
12335 @$(unstage)
12336 @[ -f ./gettext/Makefile ] || exit 0; \
12337 r=`${PWD_COMMAND}`; export r; \
12338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12339 $(HOST_EXPORTS) \
12340 for flag in $(EXTRA_HOST_FLAGS) ; do \
12341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12342 done; \
12343 echo "Doing clean in gettext" ; \
12344 (cd $(HOST_SUBDIR)/gettext && \
12345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12347 "RANLIB=$${RANLIB}" \
12348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12349 clean) \
12350 || exit 1
12352 @endif gettext
12354 .PHONY: maybe-distclean-gettext distclean-gettext
12355 maybe-distclean-gettext:
12356 @if gettext
12357 maybe-distclean-gettext: distclean-gettext
12359 distclean-gettext:
12360 @$(unstage)
12361 @[ -f ./gettext/Makefile ] || exit 0; \
12362 r=`${PWD_COMMAND}`; export r; \
12363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12364 $(HOST_EXPORTS) \
12365 for flag in $(EXTRA_HOST_FLAGS) ; do \
12366 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12367 done; \
12368 echo "Doing distclean in gettext" ; \
12369 (cd $(HOST_SUBDIR)/gettext && \
12370 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12371 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12372 "RANLIB=$${RANLIB}" \
12373 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12374 distclean) \
12375 || exit 1
12377 @endif gettext
12379 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
12380 maybe-maintainer-clean-gettext:
12381 @if gettext
12382 maybe-maintainer-clean-gettext: maintainer-clean-gettext
12384 maintainer-clean-gettext:
12385 @$(unstage)
12386 @[ -f ./gettext/Makefile ] || exit 0; \
12387 r=`${PWD_COMMAND}`; export r; \
12388 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12389 $(HOST_EXPORTS) \
12390 for flag in $(EXTRA_HOST_FLAGS) ; do \
12391 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12392 done; \
12393 echo "Doing maintainer-clean in gettext" ; \
12394 (cd $(HOST_SUBDIR)/gettext && \
12395 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12396 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12397 "RANLIB=$${RANLIB}" \
12398 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12399 maintainer-clean) \
12400 || exit 1
12402 @endif gettext
12406 .PHONY: configure-gnuserv maybe-configure-gnuserv
12407 maybe-configure-gnuserv:
12408 @if gnuserv
12409 maybe-configure-gnuserv: configure-gnuserv
12410 configure-gnuserv:
12411 @$(unstage)
12412 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
12413 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
12414 r=`${PWD_COMMAND}`; export r; \
12415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12416 $(HOST_EXPORTS) \
12417 echo Configuring in $(HOST_SUBDIR)/gnuserv; \
12418 cd "$(HOST_SUBDIR)/gnuserv" || exit 1; \
12419 case $(srcdir) in \
12420 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12421 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
12422 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12423 esac; \
12424 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
12425 libsrcdir="$$s/gnuserv"; \
12426 $(SHELL) $${libsrcdir}/configure \
12427 $(HOST_CONFIGARGS) $${srcdiroption} \
12428 || exit 1
12429 @endif gnuserv
12435 .PHONY: all-gnuserv maybe-all-gnuserv
12436 maybe-all-gnuserv:
12437 @if gnuserv
12438 TARGET-gnuserv=all
12439 maybe-all-gnuserv: all-gnuserv
12440 all-gnuserv: configure-gnuserv
12441 @$(unstage)
12442 @r=`${PWD_COMMAND}`; export r; \
12443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12444 $(HOST_EXPORTS) \
12445 (cd $(HOST_SUBDIR)/gnuserv && \
12446 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
12447 @endif gnuserv
12452 .PHONY: check-gnuserv maybe-check-gnuserv
12453 maybe-check-gnuserv:
12454 @if gnuserv
12455 maybe-check-gnuserv: check-gnuserv
12457 check-gnuserv:
12458 @$(unstage)
12459 @r=`${PWD_COMMAND}`; export r; \
12460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12461 $(HOST_EXPORTS) \
12462 (cd $(HOST_SUBDIR)/gnuserv && \
12463 $(MAKE) $(FLAGS_TO_PASS) check)
12465 @endif gnuserv
12467 .PHONY: install-gnuserv maybe-install-gnuserv
12468 maybe-install-gnuserv:
12469 @if gnuserv
12470 maybe-install-gnuserv: install-gnuserv
12472 install-gnuserv: installdirs
12473 @$(unstage)
12474 @r=`${PWD_COMMAND}`; export r; \
12475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12476 $(HOST_EXPORTS) \
12477 (cd $(HOST_SUBDIR)/gnuserv && \
12478 $(MAKE) $(FLAGS_TO_PASS) install)
12480 @endif gnuserv
12482 # Other targets (info, dvi, etc.)
12484 .PHONY: maybe-info-gnuserv info-gnuserv
12485 maybe-info-gnuserv:
12486 @if gnuserv
12487 maybe-info-gnuserv: info-gnuserv
12489 info-gnuserv: \
12490 configure-gnuserv
12491 @$(unstage)
12492 @[ -f ./gnuserv/Makefile ] || exit 0; \
12493 r=`${PWD_COMMAND}`; export r; \
12494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12495 $(HOST_EXPORTS) \
12496 for flag in $(EXTRA_HOST_FLAGS) ; do \
12497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12498 done; \
12499 echo "Doing info in gnuserv" ; \
12500 (cd $(HOST_SUBDIR)/gnuserv && \
12501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12503 "RANLIB=$${RANLIB}" \
12504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12505 info) \
12506 || exit 1
12508 @endif gnuserv
12510 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
12511 maybe-dvi-gnuserv:
12512 @if gnuserv
12513 maybe-dvi-gnuserv: dvi-gnuserv
12515 dvi-gnuserv: \
12516 configure-gnuserv
12517 @$(unstage)
12518 @[ -f ./gnuserv/Makefile ] || exit 0; \
12519 r=`${PWD_COMMAND}`; export r; \
12520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12521 $(HOST_EXPORTS) \
12522 for flag in $(EXTRA_HOST_FLAGS) ; do \
12523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12524 done; \
12525 echo "Doing dvi in gnuserv" ; \
12526 (cd $(HOST_SUBDIR)/gnuserv && \
12527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12529 "RANLIB=$${RANLIB}" \
12530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12531 dvi) \
12532 || exit 1
12534 @endif gnuserv
12536 .PHONY: maybe-html-gnuserv html-gnuserv
12537 maybe-html-gnuserv:
12538 @if gnuserv
12539 maybe-html-gnuserv: html-gnuserv
12541 html-gnuserv: \
12542 configure-gnuserv
12543 @$(unstage)
12544 @[ -f ./gnuserv/Makefile ] || exit 0; \
12545 r=`${PWD_COMMAND}`; export r; \
12546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12547 $(HOST_EXPORTS) \
12548 for flag in $(EXTRA_HOST_FLAGS) ; do \
12549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12550 done; \
12551 echo "Doing html in gnuserv" ; \
12552 (cd $(HOST_SUBDIR)/gnuserv && \
12553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12555 "RANLIB=$${RANLIB}" \
12556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12557 html) \
12558 || exit 1
12560 @endif gnuserv
12562 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
12563 maybe-TAGS-gnuserv:
12564 @if gnuserv
12565 maybe-TAGS-gnuserv: TAGS-gnuserv
12567 TAGS-gnuserv: \
12568 configure-gnuserv
12569 @$(unstage)
12570 @[ -f ./gnuserv/Makefile ] || exit 0; \
12571 r=`${PWD_COMMAND}`; export r; \
12572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12573 $(HOST_EXPORTS) \
12574 for flag in $(EXTRA_HOST_FLAGS) ; do \
12575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12576 done; \
12577 echo "Doing TAGS in gnuserv" ; \
12578 (cd $(HOST_SUBDIR)/gnuserv && \
12579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12581 "RANLIB=$${RANLIB}" \
12582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12583 TAGS) \
12584 || exit 1
12586 @endif gnuserv
12588 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
12589 maybe-install-info-gnuserv:
12590 @if gnuserv
12591 maybe-install-info-gnuserv: install-info-gnuserv
12593 install-info-gnuserv: \
12594 configure-gnuserv \
12595 info-gnuserv
12596 @$(unstage)
12597 @[ -f ./gnuserv/Makefile ] || exit 0; \
12598 r=`${PWD_COMMAND}`; export r; \
12599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12600 $(HOST_EXPORTS) \
12601 for flag in $(EXTRA_HOST_FLAGS) ; do \
12602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12603 done; \
12604 echo "Doing install-info in gnuserv" ; \
12605 (cd $(HOST_SUBDIR)/gnuserv && \
12606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12608 "RANLIB=$${RANLIB}" \
12609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12610 install-info) \
12611 || exit 1
12613 @endif gnuserv
12615 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
12616 maybe-installcheck-gnuserv:
12617 @if gnuserv
12618 maybe-installcheck-gnuserv: installcheck-gnuserv
12620 installcheck-gnuserv: \
12621 configure-gnuserv
12622 @$(unstage)
12623 @[ -f ./gnuserv/Makefile ] || exit 0; \
12624 r=`${PWD_COMMAND}`; export r; \
12625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12626 $(HOST_EXPORTS) \
12627 for flag in $(EXTRA_HOST_FLAGS) ; do \
12628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12629 done; \
12630 echo "Doing installcheck in gnuserv" ; \
12631 (cd $(HOST_SUBDIR)/gnuserv && \
12632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12634 "RANLIB=$${RANLIB}" \
12635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12636 installcheck) \
12637 || exit 1
12639 @endif gnuserv
12641 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
12642 maybe-mostlyclean-gnuserv:
12643 @if gnuserv
12644 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
12646 mostlyclean-gnuserv:
12647 @$(unstage)
12648 @[ -f ./gnuserv/Makefile ] || exit 0; \
12649 r=`${PWD_COMMAND}`; export r; \
12650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12651 $(HOST_EXPORTS) \
12652 for flag in $(EXTRA_HOST_FLAGS) ; do \
12653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12654 done; \
12655 echo "Doing mostlyclean in gnuserv" ; \
12656 (cd $(HOST_SUBDIR)/gnuserv && \
12657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12659 "RANLIB=$${RANLIB}" \
12660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12661 mostlyclean) \
12662 || exit 1
12664 @endif gnuserv
12666 .PHONY: maybe-clean-gnuserv clean-gnuserv
12667 maybe-clean-gnuserv:
12668 @if gnuserv
12669 maybe-clean-gnuserv: clean-gnuserv
12671 clean-gnuserv:
12672 @$(unstage)
12673 @[ -f ./gnuserv/Makefile ] || exit 0; \
12674 r=`${PWD_COMMAND}`; export r; \
12675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12676 $(HOST_EXPORTS) \
12677 for flag in $(EXTRA_HOST_FLAGS) ; do \
12678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12679 done; \
12680 echo "Doing clean in gnuserv" ; \
12681 (cd $(HOST_SUBDIR)/gnuserv && \
12682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12684 "RANLIB=$${RANLIB}" \
12685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12686 clean) \
12687 || exit 1
12689 @endif gnuserv
12691 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
12692 maybe-distclean-gnuserv:
12693 @if gnuserv
12694 maybe-distclean-gnuserv: distclean-gnuserv
12696 distclean-gnuserv:
12697 @$(unstage)
12698 @[ -f ./gnuserv/Makefile ] || exit 0; \
12699 r=`${PWD_COMMAND}`; export r; \
12700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12701 $(HOST_EXPORTS) \
12702 for flag in $(EXTRA_HOST_FLAGS) ; do \
12703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12704 done; \
12705 echo "Doing distclean in gnuserv" ; \
12706 (cd $(HOST_SUBDIR)/gnuserv && \
12707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12709 "RANLIB=$${RANLIB}" \
12710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12711 distclean) \
12712 || exit 1
12714 @endif gnuserv
12716 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
12717 maybe-maintainer-clean-gnuserv:
12718 @if gnuserv
12719 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
12721 maintainer-clean-gnuserv:
12722 @$(unstage)
12723 @[ -f ./gnuserv/Makefile ] || exit 0; \
12724 r=`${PWD_COMMAND}`; export r; \
12725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12726 $(HOST_EXPORTS) \
12727 for flag in $(EXTRA_HOST_FLAGS) ; do \
12728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12729 done; \
12730 echo "Doing maintainer-clean in gnuserv" ; \
12731 (cd $(HOST_SUBDIR)/gnuserv && \
12732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12734 "RANLIB=$${RANLIB}" \
12735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12736 maintainer-clean) \
12737 || exit 1
12739 @endif gnuserv
12743 .PHONY: configure-gprof maybe-configure-gprof
12744 maybe-configure-gprof:
12745 @if gprof
12746 maybe-configure-gprof: configure-gprof
12747 configure-gprof:
12748 @$(unstage)
12749 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
12750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
12751 r=`${PWD_COMMAND}`; export r; \
12752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12753 $(HOST_EXPORTS) \
12754 echo Configuring in $(HOST_SUBDIR)/gprof; \
12755 cd "$(HOST_SUBDIR)/gprof" || exit 1; \
12756 case $(srcdir) in \
12757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12758 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
12759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12760 esac; \
12761 srcdiroption="--srcdir=$${topdir}/gprof"; \
12762 libsrcdir="$$s/gprof"; \
12763 $(SHELL) $${libsrcdir}/configure \
12764 $(HOST_CONFIGARGS) $${srcdiroption} \
12765 || exit 1
12766 @endif gprof
12772 .PHONY: all-gprof maybe-all-gprof
12773 maybe-all-gprof:
12774 @if gprof
12775 TARGET-gprof=all
12776 maybe-all-gprof: all-gprof
12777 all-gprof: configure-gprof
12778 @$(unstage)
12779 @r=`${PWD_COMMAND}`; export r; \
12780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12781 $(HOST_EXPORTS) \
12782 (cd $(HOST_SUBDIR)/gprof && \
12783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
12784 @endif gprof
12789 .PHONY: check-gprof maybe-check-gprof
12790 maybe-check-gprof:
12791 @if gprof
12792 maybe-check-gprof: check-gprof
12794 check-gprof:
12795 @$(unstage)
12796 @r=`${PWD_COMMAND}`; export r; \
12797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12798 $(HOST_EXPORTS) \
12799 (cd $(HOST_SUBDIR)/gprof && \
12800 $(MAKE) $(FLAGS_TO_PASS) check)
12802 @endif gprof
12804 .PHONY: install-gprof maybe-install-gprof
12805 maybe-install-gprof:
12806 @if gprof
12807 maybe-install-gprof: install-gprof
12809 install-gprof: installdirs
12810 @$(unstage)
12811 @r=`${PWD_COMMAND}`; export r; \
12812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12813 $(HOST_EXPORTS) \
12814 (cd $(HOST_SUBDIR)/gprof && \
12815 $(MAKE) $(FLAGS_TO_PASS) install)
12817 @endif gprof
12819 # Other targets (info, dvi, etc.)
12821 .PHONY: maybe-info-gprof info-gprof
12822 maybe-info-gprof:
12823 @if gprof
12824 maybe-info-gprof: info-gprof
12826 info-gprof: \
12827 configure-gprof
12828 @$(unstage)
12829 @[ -f ./gprof/Makefile ] || exit 0; \
12830 r=`${PWD_COMMAND}`; export r; \
12831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12832 $(HOST_EXPORTS) \
12833 for flag in $(EXTRA_HOST_FLAGS) ; do \
12834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12835 done; \
12836 echo "Doing info in gprof" ; \
12837 (cd $(HOST_SUBDIR)/gprof && \
12838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12840 "RANLIB=$${RANLIB}" \
12841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12842 info) \
12843 || exit 1
12845 @endif gprof
12847 .PHONY: maybe-dvi-gprof dvi-gprof
12848 maybe-dvi-gprof:
12849 @if gprof
12850 maybe-dvi-gprof: dvi-gprof
12852 dvi-gprof: \
12853 configure-gprof
12854 @$(unstage)
12855 @[ -f ./gprof/Makefile ] || exit 0; \
12856 r=`${PWD_COMMAND}`; export r; \
12857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12858 $(HOST_EXPORTS) \
12859 for flag in $(EXTRA_HOST_FLAGS) ; do \
12860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12861 done; \
12862 echo "Doing dvi in gprof" ; \
12863 (cd $(HOST_SUBDIR)/gprof && \
12864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12866 "RANLIB=$${RANLIB}" \
12867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12868 dvi) \
12869 || exit 1
12871 @endif gprof
12873 .PHONY: maybe-html-gprof html-gprof
12874 maybe-html-gprof:
12875 @if gprof
12876 maybe-html-gprof: html-gprof
12878 html-gprof: \
12879 configure-gprof
12880 @$(unstage)
12881 @[ -f ./gprof/Makefile ] || exit 0; \
12882 r=`${PWD_COMMAND}`; export r; \
12883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12884 $(HOST_EXPORTS) \
12885 for flag in $(EXTRA_HOST_FLAGS) ; do \
12886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12887 done; \
12888 echo "Doing html in gprof" ; \
12889 (cd $(HOST_SUBDIR)/gprof && \
12890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12892 "RANLIB=$${RANLIB}" \
12893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12894 html) \
12895 || exit 1
12897 @endif gprof
12899 .PHONY: maybe-TAGS-gprof TAGS-gprof
12900 maybe-TAGS-gprof:
12901 @if gprof
12902 maybe-TAGS-gprof: TAGS-gprof
12904 TAGS-gprof: \
12905 configure-gprof
12906 @$(unstage)
12907 @[ -f ./gprof/Makefile ] || exit 0; \
12908 r=`${PWD_COMMAND}`; export r; \
12909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12910 $(HOST_EXPORTS) \
12911 for flag in $(EXTRA_HOST_FLAGS) ; do \
12912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12913 done; \
12914 echo "Doing TAGS in gprof" ; \
12915 (cd $(HOST_SUBDIR)/gprof && \
12916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12918 "RANLIB=$${RANLIB}" \
12919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12920 TAGS) \
12921 || exit 1
12923 @endif gprof
12925 .PHONY: maybe-install-info-gprof install-info-gprof
12926 maybe-install-info-gprof:
12927 @if gprof
12928 maybe-install-info-gprof: install-info-gprof
12930 install-info-gprof: \
12931 configure-gprof \
12932 info-gprof
12933 @$(unstage)
12934 @[ -f ./gprof/Makefile ] || exit 0; \
12935 r=`${PWD_COMMAND}`; export r; \
12936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12937 $(HOST_EXPORTS) \
12938 for flag in $(EXTRA_HOST_FLAGS) ; do \
12939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12940 done; \
12941 echo "Doing install-info in gprof" ; \
12942 (cd $(HOST_SUBDIR)/gprof && \
12943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12945 "RANLIB=$${RANLIB}" \
12946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12947 install-info) \
12948 || exit 1
12950 @endif gprof
12952 .PHONY: maybe-installcheck-gprof installcheck-gprof
12953 maybe-installcheck-gprof:
12954 @if gprof
12955 maybe-installcheck-gprof: installcheck-gprof
12957 installcheck-gprof: \
12958 configure-gprof
12959 @$(unstage)
12960 @[ -f ./gprof/Makefile ] || exit 0; \
12961 r=`${PWD_COMMAND}`; export r; \
12962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12963 $(HOST_EXPORTS) \
12964 for flag in $(EXTRA_HOST_FLAGS) ; do \
12965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12966 done; \
12967 echo "Doing installcheck in gprof" ; \
12968 (cd $(HOST_SUBDIR)/gprof && \
12969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12971 "RANLIB=$${RANLIB}" \
12972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12973 installcheck) \
12974 || exit 1
12976 @endif gprof
12978 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
12979 maybe-mostlyclean-gprof:
12980 @if gprof
12981 maybe-mostlyclean-gprof: mostlyclean-gprof
12983 mostlyclean-gprof:
12984 @$(unstage)
12985 @[ -f ./gprof/Makefile ] || exit 0; \
12986 r=`${PWD_COMMAND}`; export r; \
12987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12988 $(HOST_EXPORTS) \
12989 for flag in $(EXTRA_HOST_FLAGS) ; do \
12990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12991 done; \
12992 echo "Doing mostlyclean in gprof" ; \
12993 (cd $(HOST_SUBDIR)/gprof && \
12994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12996 "RANLIB=$${RANLIB}" \
12997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12998 mostlyclean) \
12999 || exit 1
13001 @endif gprof
13003 .PHONY: maybe-clean-gprof clean-gprof
13004 maybe-clean-gprof:
13005 @if gprof
13006 maybe-clean-gprof: clean-gprof
13008 clean-gprof:
13009 @$(unstage)
13010 @[ -f ./gprof/Makefile ] || exit 0; \
13011 r=`${PWD_COMMAND}`; export r; \
13012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13013 $(HOST_EXPORTS) \
13014 for flag in $(EXTRA_HOST_FLAGS) ; do \
13015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13016 done; \
13017 echo "Doing clean in gprof" ; \
13018 (cd $(HOST_SUBDIR)/gprof && \
13019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13021 "RANLIB=$${RANLIB}" \
13022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13023 clean) \
13024 || exit 1
13026 @endif gprof
13028 .PHONY: maybe-distclean-gprof distclean-gprof
13029 maybe-distclean-gprof:
13030 @if gprof
13031 maybe-distclean-gprof: distclean-gprof
13033 distclean-gprof:
13034 @$(unstage)
13035 @[ -f ./gprof/Makefile ] || exit 0; \
13036 r=`${PWD_COMMAND}`; export r; \
13037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13038 $(HOST_EXPORTS) \
13039 for flag in $(EXTRA_HOST_FLAGS) ; do \
13040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13041 done; \
13042 echo "Doing distclean in gprof" ; \
13043 (cd $(HOST_SUBDIR)/gprof && \
13044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13046 "RANLIB=$${RANLIB}" \
13047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13048 distclean) \
13049 || exit 1
13051 @endif gprof
13053 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
13054 maybe-maintainer-clean-gprof:
13055 @if gprof
13056 maybe-maintainer-clean-gprof: maintainer-clean-gprof
13058 maintainer-clean-gprof:
13059 @$(unstage)
13060 @[ -f ./gprof/Makefile ] || exit 0; \
13061 r=`${PWD_COMMAND}`; export r; \
13062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13063 $(HOST_EXPORTS) \
13064 for flag in $(EXTRA_HOST_FLAGS) ; do \
13065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13066 done; \
13067 echo "Doing maintainer-clean in gprof" ; \
13068 (cd $(HOST_SUBDIR)/gprof && \
13069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13071 "RANLIB=$${RANLIB}" \
13072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13073 maintainer-clean) \
13074 || exit 1
13076 @endif gprof
13080 .PHONY: configure-gzip maybe-configure-gzip
13081 maybe-configure-gzip:
13082 @if gzip
13083 maybe-configure-gzip: configure-gzip
13084 configure-gzip:
13085 @$(unstage)
13086 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
13087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
13088 r=`${PWD_COMMAND}`; export r; \
13089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13090 $(HOST_EXPORTS) \
13091 echo Configuring in $(HOST_SUBDIR)/gzip; \
13092 cd "$(HOST_SUBDIR)/gzip" || exit 1; \
13093 case $(srcdir) in \
13094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13095 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
13096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13097 esac; \
13098 srcdiroption="--srcdir=$${topdir}/gzip"; \
13099 libsrcdir="$$s/gzip"; \
13100 $(SHELL) $${libsrcdir}/configure \
13101 $(HOST_CONFIGARGS) $${srcdiroption} \
13102 || exit 1
13103 @endif gzip
13109 .PHONY: all-gzip maybe-all-gzip
13110 maybe-all-gzip:
13111 @if gzip
13112 TARGET-gzip=all
13113 maybe-all-gzip: all-gzip
13114 all-gzip: configure-gzip
13115 @$(unstage)
13116 @r=`${PWD_COMMAND}`; export r; \
13117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13118 $(HOST_EXPORTS) \
13119 (cd $(HOST_SUBDIR)/gzip && \
13120 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
13121 @endif gzip
13126 .PHONY: check-gzip maybe-check-gzip
13127 maybe-check-gzip:
13128 @if gzip
13129 maybe-check-gzip: check-gzip
13131 check-gzip:
13132 @$(unstage)
13133 @r=`${PWD_COMMAND}`; export r; \
13134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13135 $(HOST_EXPORTS) \
13136 (cd $(HOST_SUBDIR)/gzip && \
13137 $(MAKE) $(FLAGS_TO_PASS) check)
13139 @endif gzip
13141 .PHONY: install-gzip maybe-install-gzip
13142 maybe-install-gzip:
13143 @if gzip
13144 maybe-install-gzip: install-gzip
13146 install-gzip: installdirs
13147 @$(unstage)
13148 @r=`${PWD_COMMAND}`; export r; \
13149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13150 $(HOST_EXPORTS) \
13151 (cd $(HOST_SUBDIR)/gzip && \
13152 $(MAKE) $(FLAGS_TO_PASS) install)
13154 @endif gzip
13156 # Other targets (info, dvi, etc.)
13158 .PHONY: maybe-info-gzip info-gzip
13159 maybe-info-gzip:
13160 @if gzip
13161 maybe-info-gzip: info-gzip
13163 info-gzip: \
13164 configure-gzip
13165 @$(unstage)
13166 @[ -f ./gzip/Makefile ] || exit 0; \
13167 r=`${PWD_COMMAND}`; export r; \
13168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13169 $(HOST_EXPORTS) \
13170 for flag in $(EXTRA_HOST_FLAGS) ; do \
13171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13172 done; \
13173 echo "Doing info in gzip" ; \
13174 (cd $(HOST_SUBDIR)/gzip && \
13175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13177 "RANLIB=$${RANLIB}" \
13178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13179 info) \
13180 || exit 1
13182 @endif gzip
13184 .PHONY: maybe-dvi-gzip dvi-gzip
13185 maybe-dvi-gzip:
13186 @if gzip
13187 maybe-dvi-gzip: dvi-gzip
13189 dvi-gzip: \
13190 configure-gzip
13191 @$(unstage)
13192 @[ -f ./gzip/Makefile ] || exit 0; \
13193 r=`${PWD_COMMAND}`; export r; \
13194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13195 $(HOST_EXPORTS) \
13196 for flag in $(EXTRA_HOST_FLAGS) ; do \
13197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13198 done; \
13199 echo "Doing dvi in gzip" ; \
13200 (cd $(HOST_SUBDIR)/gzip && \
13201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13203 "RANLIB=$${RANLIB}" \
13204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13205 dvi) \
13206 || exit 1
13208 @endif gzip
13210 .PHONY: maybe-html-gzip html-gzip
13211 maybe-html-gzip:
13212 @if gzip
13213 maybe-html-gzip: html-gzip
13215 html-gzip: \
13216 configure-gzip
13217 @$(unstage)
13218 @[ -f ./gzip/Makefile ] || exit 0; \
13219 r=`${PWD_COMMAND}`; export r; \
13220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13221 $(HOST_EXPORTS) \
13222 for flag in $(EXTRA_HOST_FLAGS) ; do \
13223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13224 done; \
13225 echo "Doing html in gzip" ; \
13226 (cd $(HOST_SUBDIR)/gzip && \
13227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13229 "RANLIB=$${RANLIB}" \
13230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13231 html) \
13232 || exit 1
13234 @endif gzip
13236 .PHONY: maybe-TAGS-gzip TAGS-gzip
13237 maybe-TAGS-gzip:
13238 @if gzip
13239 maybe-TAGS-gzip: TAGS-gzip
13241 TAGS-gzip: \
13242 configure-gzip
13243 @$(unstage)
13244 @[ -f ./gzip/Makefile ] || exit 0; \
13245 r=`${PWD_COMMAND}`; export r; \
13246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13247 $(HOST_EXPORTS) \
13248 for flag in $(EXTRA_HOST_FLAGS) ; do \
13249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13250 done; \
13251 echo "Doing TAGS in gzip" ; \
13252 (cd $(HOST_SUBDIR)/gzip && \
13253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13255 "RANLIB=$${RANLIB}" \
13256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13257 TAGS) \
13258 || exit 1
13260 @endif gzip
13262 .PHONY: maybe-install-info-gzip install-info-gzip
13263 maybe-install-info-gzip:
13264 @if gzip
13265 maybe-install-info-gzip: install-info-gzip
13267 install-info-gzip: \
13268 configure-gzip \
13269 info-gzip
13270 @$(unstage)
13271 @[ -f ./gzip/Makefile ] || exit 0; \
13272 r=`${PWD_COMMAND}`; export r; \
13273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13274 $(HOST_EXPORTS) \
13275 for flag in $(EXTRA_HOST_FLAGS) ; do \
13276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13277 done; \
13278 echo "Doing install-info in gzip" ; \
13279 (cd $(HOST_SUBDIR)/gzip && \
13280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13282 "RANLIB=$${RANLIB}" \
13283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13284 install-info) \
13285 || exit 1
13287 @endif gzip
13289 .PHONY: maybe-installcheck-gzip installcheck-gzip
13290 maybe-installcheck-gzip:
13291 @if gzip
13292 maybe-installcheck-gzip: installcheck-gzip
13294 installcheck-gzip: \
13295 configure-gzip
13296 @$(unstage)
13297 @[ -f ./gzip/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(HOST_EXPORTS) \
13301 for flag in $(EXTRA_HOST_FLAGS) ; do \
13302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13303 done; \
13304 echo "Doing installcheck in gzip" ; \
13305 (cd $(HOST_SUBDIR)/gzip && \
13306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13308 "RANLIB=$${RANLIB}" \
13309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13310 installcheck) \
13311 || exit 1
13313 @endif gzip
13315 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
13316 maybe-mostlyclean-gzip:
13317 @if gzip
13318 maybe-mostlyclean-gzip: mostlyclean-gzip
13320 mostlyclean-gzip:
13321 @$(unstage)
13322 @[ -f ./gzip/Makefile ] || exit 0; \
13323 r=`${PWD_COMMAND}`; export r; \
13324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13325 $(HOST_EXPORTS) \
13326 for flag in $(EXTRA_HOST_FLAGS) ; do \
13327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13328 done; \
13329 echo "Doing mostlyclean in gzip" ; \
13330 (cd $(HOST_SUBDIR)/gzip && \
13331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13333 "RANLIB=$${RANLIB}" \
13334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13335 mostlyclean) \
13336 || exit 1
13338 @endif gzip
13340 .PHONY: maybe-clean-gzip clean-gzip
13341 maybe-clean-gzip:
13342 @if gzip
13343 maybe-clean-gzip: clean-gzip
13345 clean-gzip:
13346 @$(unstage)
13347 @[ -f ./gzip/Makefile ] || exit 0; \
13348 r=`${PWD_COMMAND}`; export r; \
13349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13350 $(HOST_EXPORTS) \
13351 for flag in $(EXTRA_HOST_FLAGS) ; do \
13352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13353 done; \
13354 echo "Doing clean in gzip" ; \
13355 (cd $(HOST_SUBDIR)/gzip && \
13356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13358 "RANLIB=$${RANLIB}" \
13359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13360 clean) \
13361 || exit 1
13363 @endif gzip
13365 .PHONY: maybe-distclean-gzip distclean-gzip
13366 maybe-distclean-gzip:
13367 @if gzip
13368 maybe-distclean-gzip: distclean-gzip
13370 distclean-gzip:
13371 @$(unstage)
13372 @[ -f ./gzip/Makefile ] || exit 0; \
13373 r=`${PWD_COMMAND}`; export r; \
13374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13375 $(HOST_EXPORTS) \
13376 for flag in $(EXTRA_HOST_FLAGS) ; do \
13377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13378 done; \
13379 echo "Doing distclean in gzip" ; \
13380 (cd $(HOST_SUBDIR)/gzip && \
13381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13383 "RANLIB=$${RANLIB}" \
13384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13385 distclean) \
13386 || exit 1
13388 @endif gzip
13390 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
13391 maybe-maintainer-clean-gzip:
13392 @if gzip
13393 maybe-maintainer-clean-gzip: maintainer-clean-gzip
13395 maintainer-clean-gzip:
13396 @$(unstage)
13397 @[ -f ./gzip/Makefile ] || exit 0; \
13398 r=`${PWD_COMMAND}`; export r; \
13399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13400 $(HOST_EXPORTS) \
13401 for flag in $(EXTRA_HOST_FLAGS) ; do \
13402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13403 done; \
13404 echo "Doing maintainer-clean in gzip" ; \
13405 (cd $(HOST_SUBDIR)/gzip && \
13406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13408 "RANLIB=$${RANLIB}" \
13409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13410 maintainer-clean) \
13411 || exit 1
13413 @endif gzip
13417 .PHONY: configure-hello maybe-configure-hello
13418 maybe-configure-hello:
13419 @if hello
13420 maybe-configure-hello: configure-hello
13421 configure-hello:
13422 @$(unstage)
13423 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
13424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
13425 r=`${PWD_COMMAND}`; export r; \
13426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13427 $(HOST_EXPORTS) \
13428 echo Configuring in $(HOST_SUBDIR)/hello; \
13429 cd "$(HOST_SUBDIR)/hello" || exit 1; \
13430 case $(srcdir) in \
13431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13432 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
13433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13434 esac; \
13435 srcdiroption="--srcdir=$${topdir}/hello"; \
13436 libsrcdir="$$s/hello"; \
13437 $(SHELL) $${libsrcdir}/configure \
13438 $(HOST_CONFIGARGS) $${srcdiroption} \
13439 || exit 1
13440 @endif hello
13446 .PHONY: all-hello maybe-all-hello
13447 maybe-all-hello:
13448 @if hello
13449 TARGET-hello=all
13450 maybe-all-hello: all-hello
13451 all-hello: configure-hello
13452 @$(unstage)
13453 @r=`${PWD_COMMAND}`; export r; \
13454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13455 $(HOST_EXPORTS) \
13456 (cd $(HOST_SUBDIR)/hello && \
13457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
13458 @endif hello
13463 .PHONY: check-hello maybe-check-hello
13464 maybe-check-hello:
13465 @if hello
13466 maybe-check-hello: check-hello
13468 check-hello:
13469 @$(unstage)
13470 @r=`${PWD_COMMAND}`; export r; \
13471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13472 $(HOST_EXPORTS) \
13473 (cd $(HOST_SUBDIR)/hello && \
13474 $(MAKE) $(FLAGS_TO_PASS) check)
13476 @endif hello
13478 .PHONY: install-hello maybe-install-hello
13479 maybe-install-hello:
13480 @if hello
13481 maybe-install-hello: install-hello
13483 install-hello: installdirs
13484 @$(unstage)
13485 @r=`${PWD_COMMAND}`; export r; \
13486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13487 $(HOST_EXPORTS) \
13488 (cd $(HOST_SUBDIR)/hello && \
13489 $(MAKE) $(FLAGS_TO_PASS) install)
13491 @endif hello
13493 # Other targets (info, dvi, etc.)
13495 .PHONY: maybe-info-hello info-hello
13496 maybe-info-hello:
13497 @if hello
13498 maybe-info-hello: info-hello
13500 info-hello: \
13501 configure-hello
13502 @$(unstage)
13503 @[ -f ./hello/Makefile ] || exit 0; \
13504 r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13506 $(HOST_EXPORTS) \
13507 for flag in $(EXTRA_HOST_FLAGS) ; do \
13508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13509 done; \
13510 echo "Doing info in hello" ; \
13511 (cd $(HOST_SUBDIR)/hello && \
13512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13514 "RANLIB=$${RANLIB}" \
13515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13516 info) \
13517 || exit 1
13519 @endif hello
13521 .PHONY: maybe-dvi-hello dvi-hello
13522 maybe-dvi-hello:
13523 @if hello
13524 maybe-dvi-hello: dvi-hello
13526 dvi-hello: \
13527 configure-hello
13528 @$(unstage)
13529 @[ -f ./hello/Makefile ] || exit 0; \
13530 r=`${PWD_COMMAND}`; export r; \
13531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13532 $(HOST_EXPORTS) \
13533 for flag in $(EXTRA_HOST_FLAGS) ; do \
13534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13535 done; \
13536 echo "Doing dvi in hello" ; \
13537 (cd $(HOST_SUBDIR)/hello && \
13538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13540 "RANLIB=$${RANLIB}" \
13541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13542 dvi) \
13543 || exit 1
13545 @endif hello
13547 .PHONY: maybe-html-hello html-hello
13548 maybe-html-hello:
13549 @if hello
13550 maybe-html-hello: html-hello
13552 html-hello: \
13553 configure-hello
13554 @$(unstage)
13555 @[ -f ./hello/Makefile ] || exit 0; \
13556 r=`${PWD_COMMAND}`; export r; \
13557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13558 $(HOST_EXPORTS) \
13559 for flag in $(EXTRA_HOST_FLAGS) ; do \
13560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13561 done; \
13562 echo "Doing html in hello" ; \
13563 (cd $(HOST_SUBDIR)/hello && \
13564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13566 "RANLIB=$${RANLIB}" \
13567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13568 html) \
13569 || exit 1
13571 @endif hello
13573 .PHONY: maybe-TAGS-hello TAGS-hello
13574 maybe-TAGS-hello:
13575 @if hello
13576 maybe-TAGS-hello: TAGS-hello
13578 TAGS-hello: \
13579 configure-hello
13580 @$(unstage)
13581 @[ -f ./hello/Makefile ] || exit 0; \
13582 r=`${PWD_COMMAND}`; export r; \
13583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13584 $(HOST_EXPORTS) \
13585 for flag in $(EXTRA_HOST_FLAGS) ; do \
13586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13587 done; \
13588 echo "Doing TAGS in hello" ; \
13589 (cd $(HOST_SUBDIR)/hello && \
13590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13592 "RANLIB=$${RANLIB}" \
13593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13594 TAGS) \
13595 || exit 1
13597 @endif hello
13599 .PHONY: maybe-install-info-hello install-info-hello
13600 maybe-install-info-hello:
13601 @if hello
13602 maybe-install-info-hello: install-info-hello
13604 install-info-hello: \
13605 configure-hello \
13606 info-hello
13607 @$(unstage)
13608 @[ -f ./hello/Makefile ] || exit 0; \
13609 r=`${PWD_COMMAND}`; export r; \
13610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13611 $(HOST_EXPORTS) \
13612 for flag in $(EXTRA_HOST_FLAGS) ; do \
13613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13614 done; \
13615 echo "Doing install-info in hello" ; \
13616 (cd $(HOST_SUBDIR)/hello && \
13617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13619 "RANLIB=$${RANLIB}" \
13620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13621 install-info) \
13622 || exit 1
13624 @endif hello
13626 .PHONY: maybe-installcheck-hello installcheck-hello
13627 maybe-installcheck-hello:
13628 @if hello
13629 maybe-installcheck-hello: installcheck-hello
13631 installcheck-hello: \
13632 configure-hello
13633 @$(unstage)
13634 @[ -f ./hello/Makefile ] || exit 0; \
13635 r=`${PWD_COMMAND}`; export r; \
13636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13637 $(HOST_EXPORTS) \
13638 for flag in $(EXTRA_HOST_FLAGS) ; do \
13639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13640 done; \
13641 echo "Doing installcheck in hello" ; \
13642 (cd $(HOST_SUBDIR)/hello && \
13643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13645 "RANLIB=$${RANLIB}" \
13646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13647 installcheck) \
13648 || exit 1
13650 @endif hello
13652 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
13653 maybe-mostlyclean-hello:
13654 @if hello
13655 maybe-mostlyclean-hello: mostlyclean-hello
13657 mostlyclean-hello:
13658 @$(unstage)
13659 @[ -f ./hello/Makefile ] || exit 0; \
13660 r=`${PWD_COMMAND}`; export r; \
13661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13662 $(HOST_EXPORTS) \
13663 for flag in $(EXTRA_HOST_FLAGS) ; do \
13664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13665 done; \
13666 echo "Doing mostlyclean in hello" ; \
13667 (cd $(HOST_SUBDIR)/hello && \
13668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13670 "RANLIB=$${RANLIB}" \
13671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13672 mostlyclean) \
13673 || exit 1
13675 @endif hello
13677 .PHONY: maybe-clean-hello clean-hello
13678 maybe-clean-hello:
13679 @if hello
13680 maybe-clean-hello: clean-hello
13682 clean-hello:
13683 @$(unstage)
13684 @[ -f ./hello/Makefile ] || exit 0; \
13685 r=`${PWD_COMMAND}`; export r; \
13686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13687 $(HOST_EXPORTS) \
13688 for flag in $(EXTRA_HOST_FLAGS) ; do \
13689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13690 done; \
13691 echo "Doing clean in hello" ; \
13692 (cd $(HOST_SUBDIR)/hello && \
13693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13695 "RANLIB=$${RANLIB}" \
13696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13697 clean) \
13698 || exit 1
13700 @endif hello
13702 .PHONY: maybe-distclean-hello distclean-hello
13703 maybe-distclean-hello:
13704 @if hello
13705 maybe-distclean-hello: distclean-hello
13707 distclean-hello:
13708 @$(unstage)
13709 @[ -f ./hello/Makefile ] || exit 0; \
13710 r=`${PWD_COMMAND}`; export r; \
13711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13712 $(HOST_EXPORTS) \
13713 for flag in $(EXTRA_HOST_FLAGS) ; do \
13714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13715 done; \
13716 echo "Doing distclean in hello" ; \
13717 (cd $(HOST_SUBDIR)/hello && \
13718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13720 "RANLIB=$${RANLIB}" \
13721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13722 distclean) \
13723 || exit 1
13725 @endif hello
13727 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
13728 maybe-maintainer-clean-hello:
13729 @if hello
13730 maybe-maintainer-clean-hello: maintainer-clean-hello
13732 maintainer-clean-hello:
13733 @$(unstage)
13734 @[ -f ./hello/Makefile ] || exit 0; \
13735 r=`${PWD_COMMAND}`; export r; \
13736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13737 $(HOST_EXPORTS) \
13738 for flag in $(EXTRA_HOST_FLAGS) ; do \
13739 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13740 done; \
13741 echo "Doing maintainer-clean in hello" ; \
13742 (cd $(HOST_SUBDIR)/hello && \
13743 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13744 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13745 "RANLIB=$${RANLIB}" \
13746 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13747 maintainer-clean) \
13748 || exit 1
13750 @endif hello
13754 .PHONY: configure-indent maybe-configure-indent
13755 maybe-configure-indent:
13756 @if indent
13757 maybe-configure-indent: configure-indent
13758 configure-indent:
13759 @$(unstage)
13760 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
13761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
13762 r=`${PWD_COMMAND}`; export r; \
13763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13764 $(HOST_EXPORTS) \
13765 echo Configuring in $(HOST_SUBDIR)/indent; \
13766 cd "$(HOST_SUBDIR)/indent" || exit 1; \
13767 case $(srcdir) in \
13768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13769 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
13770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13771 esac; \
13772 srcdiroption="--srcdir=$${topdir}/indent"; \
13773 libsrcdir="$$s/indent"; \
13774 $(SHELL) $${libsrcdir}/configure \
13775 $(HOST_CONFIGARGS) $${srcdiroption} \
13776 || exit 1
13777 @endif indent
13783 .PHONY: all-indent maybe-all-indent
13784 maybe-all-indent:
13785 @if indent
13786 TARGET-indent=all
13787 maybe-all-indent: all-indent
13788 all-indent: configure-indent
13789 @$(unstage)
13790 @r=`${PWD_COMMAND}`; export r; \
13791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13792 $(HOST_EXPORTS) \
13793 (cd $(HOST_SUBDIR)/indent && \
13794 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
13795 @endif indent
13800 .PHONY: check-indent maybe-check-indent
13801 maybe-check-indent:
13802 @if indent
13803 maybe-check-indent: check-indent
13805 check-indent:
13806 @$(unstage)
13807 @r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809 $(HOST_EXPORTS) \
13810 (cd $(HOST_SUBDIR)/indent && \
13811 $(MAKE) $(FLAGS_TO_PASS) check)
13813 @endif indent
13815 .PHONY: install-indent maybe-install-indent
13816 maybe-install-indent:
13817 @if indent
13818 maybe-install-indent: install-indent
13820 install-indent: installdirs
13821 @$(unstage)
13822 @r=`${PWD_COMMAND}`; export r; \
13823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13824 $(HOST_EXPORTS) \
13825 (cd $(HOST_SUBDIR)/indent && \
13826 $(MAKE) $(FLAGS_TO_PASS) install)
13828 @endif indent
13830 # Other targets (info, dvi, etc.)
13832 .PHONY: maybe-info-indent info-indent
13833 maybe-info-indent:
13834 @if indent
13835 maybe-info-indent: info-indent
13837 info-indent: \
13838 configure-indent
13839 @$(unstage)
13840 @[ -f ./indent/Makefile ] || exit 0; \
13841 r=`${PWD_COMMAND}`; export r; \
13842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13843 $(HOST_EXPORTS) \
13844 for flag in $(EXTRA_HOST_FLAGS) ; do \
13845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13846 done; \
13847 echo "Doing info in indent" ; \
13848 (cd $(HOST_SUBDIR)/indent && \
13849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13851 "RANLIB=$${RANLIB}" \
13852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13853 info) \
13854 || exit 1
13856 @endif indent
13858 .PHONY: maybe-dvi-indent dvi-indent
13859 maybe-dvi-indent:
13860 @if indent
13861 maybe-dvi-indent: dvi-indent
13863 dvi-indent: \
13864 configure-indent
13865 @$(unstage)
13866 @[ -f ./indent/Makefile ] || exit 0; \
13867 r=`${PWD_COMMAND}`; export r; \
13868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13869 $(HOST_EXPORTS) \
13870 for flag in $(EXTRA_HOST_FLAGS) ; do \
13871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13872 done; \
13873 echo "Doing dvi in indent" ; \
13874 (cd $(HOST_SUBDIR)/indent && \
13875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13877 "RANLIB=$${RANLIB}" \
13878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13879 dvi) \
13880 || exit 1
13882 @endif indent
13884 .PHONY: maybe-html-indent html-indent
13885 maybe-html-indent:
13886 @if indent
13887 maybe-html-indent: html-indent
13889 html-indent: \
13890 configure-indent
13891 @$(unstage)
13892 @[ -f ./indent/Makefile ] || exit 0; \
13893 r=`${PWD_COMMAND}`; export r; \
13894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13895 $(HOST_EXPORTS) \
13896 for flag in $(EXTRA_HOST_FLAGS) ; do \
13897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13898 done; \
13899 echo "Doing html in indent" ; \
13900 (cd $(HOST_SUBDIR)/indent && \
13901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13903 "RANLIB=$${RANLIB}" \
13904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13905 html) \
13906 || exit 1
13908 @endif indent
13910 .PHONY: maybe-TAGS-indent TAGS-indent
13911 maybe-TAGS-indent:
13912 @if indent
13913 maybe-TAGS-indent: TAGS-indent
13915 TAGS-indent: \
13916 configure-indent
13917 @$(unstage)
13918 @[ -f ./indent/Makefile ] || exit 0; \
13919 r=`${PWD_COMMAND}`; export r; \
13920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13921 $(HOST_EXPORTS) \
13922 for flag in $(EXTRA_HOST_FLAGS) ; do \
13923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13924 done; \
13925 echo "Doing TAGS in indent" ; \
13926 (cd $(HOST_SUBDIR)/indent && \
13927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13929 "RANLIB=$${RANLIB}" \
13930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13931 TAGS) \
13932 || exit 1
13934 @endif indent
13936 .PHONY: maybe-install-info-indent install-info-indent
13937 maybe-install-info-indent:
13938 @if indent
13939 maybe-install-info-indent: install-info-indent
13941 install-info-indent: \
13942 configure-indent \
13943 info-indent
13944 @$(unstage)
13945 @[ -f ./indent/Makefile ] || exit 0; \
13946 r=`${PWD_COMMAND}`; export r; \
13947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13948 $(HOST_EXPORTS) \
13949 for flag in $(EXTRA_HOST_FLAGS) ; do \
13950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13951 done; \
13952 echo "Doing install-info in indent" ; \
13953 (cd $(HOST_SUBDIR)/indent && \
13954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13956 "RANLIB=$${RANLIB}" \
13957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13958 install-info) \
13959 || exit 1
13961 @endif indent
13963 .PHONY: maybe-installcheck-indent installcheck-indent
13964 maybe-installcheck-indent:
13965 @if indent
13966 maybe-installcheck-indent: installcheck-indent
13968 installcheck-indent: \
13969 configure-indent
13970 @$(unstage)
13971 @[ -f ./indent/Makefile ] || exit 0; \
13972 r=`${PWD_COMMAND}`; export r; \
13973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13974 $(HOST_EXPORTS) \
13975 for flag in $(EXTRA_HOST_FLAGS) ; do \
13976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13977 done; \
13978 echo "Doing installcheck in indent" ; \
13979 (cd $(HOST_SUBDIR)/indent && \
13980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13982 "RANLIB=$${RANLIB}" \
13983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13984 installcheck) \
13985 || exit 1
13987 @endif indent
13989 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
13990 maybe-mostlyclean-indent:
13991 @if indent
13992 maybe-mostlyclean-indent: mostlyclean-indent
13994 mostlyclean-indent:
13995 @$(unstage)
13996 @[ -f ./indent/Makefile ] || exit 0; \
13997 r=`${PWD_COMMAND}`; export r; \
13998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13999 $(HOST_EXPORTS) \
14000 for flag in $(EXTRA_HOST_FLAGS) ; do \
14001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14002 done; \
14003 echo "Doing mostlyclean in indent" ; \
14004 (cd $(HOST_SUBDIR)/indent && \
14005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14007 "RANLIB=$${RANLIB}" \
14008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14009 mostlyclean) \
14010 || exit 1
14012 @endif indent
14014 .PHONY: maybe-clean-indent clean-indent
14015 maybe-clean-indent:
14016 @if indent
14017 maybe-clean-indent: clean-indent
14019 clean-indent:
14020 @$(unstage)
14021 @[ -f ./indent/Makefile ] || exit 0; \
14022 r=`${PWD_COMMAND}`; export r; \
14023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14024 $(HOST_EXPORTS) \
14025 for flag in $(EXTRA_HOST_FLAGS) ; do \
14026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14027 done; \
14028 echo "Doing clean in indent" ; \
14029 (cd $(HOST_SUBDIR)/indent && \
14030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14032 "RANLIB=$${RANLIB}" \
14033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14034 clean) \
14035 || exit 1
14037 @endif indent
14039 .PHONY: maybe-distclean-indent distclean-indent
14040 maybe-distclean-indent:
14041 @if indent
14042 maybe-distclean-indent: distclean-indent
14044 distclean-indent:
14045 @$(unstage)
14046 @[ -f ./indent/Makefile ] || exit 0; \
14047 r=`${PWD_COMMAND}`; export r; \
14048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14049 $(HOST_EXPORTS) \
14050 for flag in $(EXTRA_HOST_FLAGS) ; do \
14051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14052 done; \
14053 echo "Doing distclean in indent" ; \
14054 (cd $(HOST_SUBDIR)/indent && \
14055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14057 "RANLIB=$${RANLIB}" \
14058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14059 distclean) \
14060 || exit 1
14062 @endif indent
14064 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
14065 maybe-maintainer-clean-indent:
14066 @if indent
14067 maybe-maintainer-clean-indent: maintainer-clean-indent
14069 maintainer-clean-indent:
14070 @$(unstage)
14071 @[ -f ./indent/Makefile ] || exit 0; \
14072 r=`${PWD_COMMAND}`; export r; \
14073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14074 $(HOST_EXPORTS) \
14075 for flag in $(EXTRA_HOST_FLAGS) ; do \
14076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14077 done; \
14078 echo "Doing maintainer-clean in indent" ; \
14079 (cd $(HOST_SUBDIR)/indent && \
14080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14082 "RANLIB=$${RANLIB}" \
14083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14084 maintainer-clean) \
14085 || exit 1
14087 @endif indent
14091 .PHONY: configure-intl maybe-configure-intl
14092 maybe-configure-intl:
14093 @if intl
14094 maybe-configure-intl: configure-intl
14095 configure-intl:
14096 @test -f stage_last && exit 0; \
14097 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
14098 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
14099 r=`${PWD_COMMAND}`; export r; \
14100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14101 $(HOST_EXPORTS) \
14102 echo Configuring in $(HOST_SUBDIR)/intl; \
14103 cd "$(HOST_SUBDIR)/intl" || exit 1; \
14104 case $(srcdir) in \
14105 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14106 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14107 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14108 esac; \
14109 srcdiroption="--srcdir=$${topdir}/intl"; \
14110 libsrcdir="$$s/intl"; \
14111 $(SHELL) $${libsrcdir}/configure \
14112 $(HOST_CONFIGARGS) $${srcdiroption} \
14113 || exit 1
14114 @endif intl
14118 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
14119 maybe-configure-stage1-intl:
14120 @if intl-bootstrap
14121 maybe-configure-stage1-intl: configure-stage1-intl
14122 configure-stage1-intl:
14123 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14124 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14125 r=`${PWD_COMMAND}`; export r; \
14126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14127 $(HOST_EXPORTS) \
14128 echo Configuring stage 1 in $(HOST_SUBDIR)/intl ; \
14129 cd $(HOST_SUBDIR)/intl || exit 1; \
14130 case $(srcdir) in \
14131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14132 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14134 esac; \
14135 srcdiroption="--srcdir=$${topdir}/intl"; \
14136 libsrcdir="$$s/intl"; \
14137 $(SHELL) $${libsrcdir}/configure \
14138 $(HOST_CONFIGARGS) $${srcdiroption} \
14139 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
14140 @endif intl-bootstrap
14142 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
14143 maybe-configure-stage2-intl:
14144 @if intl-bootstrap
14145 maybe-configure-stage2-intl: configure-stage2-intl
14146 configure-stage2-intl:
14147 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14148 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14149 r=`${PWD_COMMAND}`; export r; \
14150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14151 $(HOST_EXPORTS) \
14152 $(POSTSTAGE1_HOST_EXPORTS) \
14153 echo Configuring stage 2 in $(HOST_SUBDIR)/intl ; \
14154 cd $(HOST_SUBDIR)/intl || exit 1; \
14155 case $(srcdir) in \
14156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14157 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14159 esac; \
14160 srcdiroption="--srcdir=$${topdir}/intl"; \
14161 libsrcdir="$$s/intl"; \
14162 $(SHELL) $${libsrcdir}/configure \
14163 $(HOST_CONFIGARGS) $${srcdiroption} \
14164 @stage2_werror_flag@
14165 @endif intl-bootstrap
14167 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
14168 maybe-configure-stage3-intl:
14169 @if intl-bootstrap
14170 maybe-configure-stage3-intl: configure-stage3-intl
14171 configure-stage3-intl:
14172 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14173 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14174 r=`${PWD_COMMAND}`; export r; \
14175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14176 $(HOST_EXPORTS) \
14177 $(POSTSTAGE1_HOST_EXPORTS) \
14178 echo Configuring stage 3 in $(HOST_SUBDIR)/intl ; \
14179 cd $(HOST_SUBDIR)/intl || exit 1; \
14180 case $(srcdir) in \
14181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14182 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14184 esac; \
14185 srcdiroption="--srcdir=$${topdir}/intl"; \
14186 libsrcdir="$$s/intl"; \
14187 $(SHELL) $${libsrcdir}/configure \
14188 $(HOST_CONFIGARGS) $${srcdiroption} \
14189 @stage2_werror_flag@
14190 @endif intl-bootstrap
14192 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
14193 maybe-configure-stage4-intl:
14194 @if intl-bootstrap
14195 maybe-configure-stage4-intl: configure-stage4-intl
14196 configure-stage4-intl:
14197 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14198 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14199 r=`${PWD_COMMAND}`; export r; \
14200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14201 $(HOST_EXPORTS) \
14202 $(POSTSTAGE1_HOST_EXPORTS) \
14203 echo Configuring stage 4 in $(HOST_SUBDIR)/intl ; \
14204 cd $(HOST_SUBDIR)/intl || exit 1; \
14205 case $(srcdir) in \
14206 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14207 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14208 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14209 esac; \
14210 srcdiroption="--srcdir=$${topdir}/intl"; \
14211 libsrcdir="$$s/intl"; \
14212 $(SHELL) $${libsrcdir}/configure \
14213 $(HOST_CONFIGARGS) $${srcdiroption} \
14214 @stage2_werror_flag@
14215 @endif intl-bootstrap
14217 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
14218 maybe-configure-stageprofile-intl:
14219 @if intl-bootstrap
14220 maybe-configure-stageprofile-intl: configure-stageprofile-intl
14221 configure-stageprofile-intl:
14222 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14223 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14224 r=`${PWD_COMMAND}`; export r; \
14225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14226 $(HOST_EXPORTS) \
14227 $(POSTSTAGE1_HOST_EXPORTS) \
14228 echo Configuring stage profile in $(HOST_SUBDIR)/intl ; \
14229 cd $(HOST_SUBDIR)/intl || exit 1; \
14230 case $(srcdir) in \
14231 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14232 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14233 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14234 esac; \
14235 srcdiroption="--srcdir=$${topdir}/intl"; \
14236 libsrcdir="$$s/intl"; \
14237 $(SHELL) $${libsrcdir}/configure \
14238 $(HOST_CONFIGARGS) $${srcdiroption} \
14239 @stage2_werror_flag@
14240 @endif intl-bootstrap
14242 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
14243 maybe-configure-stagefeedback-intl:
14244 @if intl-bootstrap
14245 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
14246 configure-stagefeedback-intl:
14247 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14248 @[ -f $(HOST_SUBDIR)/intl/Makefile ] && exit 0 || : ; \
14249 r=`${PWD_COMMAND}`; export r; \
14250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14251 $(HOST_EXPORTS) \
14252 $(POSTSTAGE1_HOST_EXPORTS) \
14253 echo Configuring stage feedback in $(HOST_SUBDIR)/intl ; \
14254 cd $(HOST_SUBDIR)/intl || exit 1; \
14255 case $(srcdir) in \
14256 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14257 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
14258 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14259 esac; \
14260 srcdiroption="--srcdir=$${topdir}/intl"; \
14261 libsrcdir="$$s/intl"; \
14262 $(SHELL) $${libsrcdir}/configure \
14263 $(HOST_CONFIGARGS) $${srcdiroption} \
14264 @stage2_werror_flag@
14265 @endif intl-bootstrap
14271 .PHONY: all-intl maybe-all-intl
14272 maybe-all-intl:
14273 @if intl
14274 TARGET-intl=all
14275 maybe-all-intl: all-intl
14276 all-intl: configure-intl
14277 @test -f stage_last && exit 0; \
14278 r=`${PWD_COMMAND}`; export r; \
14279 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14280 $(HOST_EXPORTS) \
14281 (cd $(HOST_SUBDIR)/intl && \
14282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
14283 @endif intl
14287 .PHONY: all-stage1-intl maybe-all-stage1-intl
14288 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
14289 maybe-all-stage1-intl:
14290 maybe-clean-stage1-intl:
14291 @if intl-bootstrap
14292 maybe-all-stage1-intl: all-stage1-intl
14293 all-stage1: all-stage1-intl
14294 TARGET-stage1-intl = $(TARGET-intl)
14295 all-stage1-intl: configure-stage1-intl
14296 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14297 @r=`${PWD_COMMAND}`; export r; \
14298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14299 $(HOST_EXPORTS) \
14300 cd $(HOST_SUBDIR)/intl && \
14301 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
14302 $(TARGET-stage1-intl)
14304 maybe-clean-stage1-intl: clean-stage1-intl
14305 clean-stage1: clean-stage1-intl
14306 clean-stage1-intl:
14307 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-intl/Makefile ] \
14308 || exit 0 ; \
14309 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
14310 cd $(HOST_SUBDIR)/intl && \
14311 $(MAKE) $(FLAGS_TO_PASS) \
14312 CFLAGS="$(STAGE1_CFLAGS)" clean
14313 @endif intl-bootstrap
14316 .PHONY: all-stage2-intl maybe-all-stage2-intl
14317 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
14318 maybe-all-stage2-intl:
14319 maybe-clean-stage2-intl:
14320 @if intl-bootstrap
14321 maybe-all-stage2-intl: all-stage2-intl
14322 all-stage2: all-stage2-intl
14323 TARGET-stage2-intl = $(TARGET-intl)
14324 all-stage2-intl: configure-stage2-intl
14325 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14326 @r=`${PWD_COMMAND}`; export r; \
14327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14328 $(HOST_EXPORTS) \
14329 $(POSTSTAGE1_HOST_EXPORTS) \
14330 cd $(HOST_SUBDIR)/intl && \
14331 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14332 $(TARGET-stage2-intl)
14334 maybe-clean-stage2-intl: clean-stage2-intl
14335 clean-stage2: clean-stage2-intl
14336 clean-stage2-intl:
14337 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-intl/Makefile ] \
14338 || exit 0 ; \
14339 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
14340 cd $(HOST_SUBDIR)/intl && \
14341 $(MAKE) $(FLAGS_TO_PASS) \
14342 $(POSTSTAGE1_FLAGS_TO_PASS) \
14343 clean
14344 @endif intl-bootstrap
14347 .PHONY: all-stage3-intl maybe-all-stage3-intl
14348 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
14349 maybe-all-stage3-intl:
14350 maybe-clean-stage3-intl:
14351 @if intl-bootstrap
14352 maybe-all-stage3-intl: all-stage3-intl
14353 all-stage3: all-stage3-intl
14354 TARGET-stage3-intl = $(TARGET-intl)
14355 all-stage3-intl: configure-stage3-intl
14356 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14357 @r=`${PWD_COMMAND}`; export r; \
14358 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14359 $(HOST_EXPORTS) \
14360 $(POSTSTAGE1_HOST_EXPORTS) \
14361 cd $(HOST_SUBDIR)/intl && \
14362 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14363 $(TARGET-stage3-intl)
14365 maybe-clean-stage3-intl: clean-stage3-intl
14366 clean-stage3: clean-stage3-intl
14367 clean-stage3-intl:
14368 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-intl/Makefile ] \
14369 || exit 0 ; \
14370 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
14371 cd $(HOST_SUBDIR)/intl && \
14372 $(MAKE) $(FLAGS_TO_PASS) \
14373 $(POSTSTAGE1_FLAGS_TO_PASS) \
14374 clean
14375 @endif intl-bootstrap
14378 .PHONY: all-stage4-intl maybe-all-stage4-intl
14379 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
14380 maybe-all-stage4-intl:
14381 maybe-clean-stage4-intl:
14382 @if intl-bootstrap
14383 maybe-all-stage4-intl: all-stage4-intl
14384 all-stage4: all-stage4-intl
14385 TARGET-stage4-intl = $(TARGET-intl)
14386 all-stage4-intl: configure-stage4-intl
14387 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14388 @r=`${PWD_COMMAND}`; export r; \
14389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14390 $(HOST_EXPORTS) \
14391 $(POSTSTAGE1_HOST_EXPORTS) \
14392 cd $(HOST_SUBDIR)/intl && \
14393 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
14394 $(TARGET-stage4-intl)
14396 maybe-clean-stage4-intl: clean-stage4-intl
14397 clean-stage4: clean-stage4-intl
14398 clean-stage4-intl:
14399 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-intl/Makefile ] \
14400 || exit 0 ; \
14401 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
14402 cd $(HOST_SUBDIR)/intl && \
14403 $(MAKE) $(FLAGS_TO_PASS) \
14404 $(POSTSTAGE1_FLAGS_TO_PASS) \
14405 clean
14406 @endif intl-bootstrap
14409 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
14410 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
14411 maybe-all-stageprofile-intl:
14412 maybe-clean-stageprofile-intl:
14413 @if intl-bootstrap
14414 maybe-all-stageprofile-intl: all-stageprofile-intl
14415 all-stageprofile: all-stageprofile-intl
14416 TARGET-stageprofile-intl = $(TARGET-intl)
14417 all-stageprofile-intl: configure-stageprofile-intl
14418 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14419 @r=`${PWD_COMMAND}`; export r; \
14420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14421 $(HOST_EXPORTS) \
14422 $(POSTSTAGE1_HOST_EXPORTS) \
14423 cd $(HOST_SUBDIR)/intl && \
14424 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
14425 $(TARGET-stageprofile-intl)
14427 maybe-clean-stageprofile-intl: clean-stageprofile-intl
14428 clean-stageprofile: clean-stageprofile-intl
14429 clean-stageprofile-intl:
14430 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-intl/Makefile ] \
14431 || exit 0 ; \
14432 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
14433 cd $(HOST_SUBDIR)/intl && \
14434 $(MAKE) $(FLAGS_TO_PASS) \
14435 $(POSTSTAGE1_FLAGS_TO_PASS) \
14436 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
14437 @endif intl-bootstrap
14440 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
14441 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
14442 maybe-all-stagefeedback-intl:
14443 maybe-clean-stagefeedback-intl:
14444 @if intl-bootstrap
14445 maybe-all-stagefeedback-intl: all-stagefeedback-intl
14446 all-stagefeedback: all-stagefeedback-intl
14447 TARGET-stagefeedback-intl = $(TARGET-intl)
14448 all-stagefeedback-intl: configure-stagefeedback-intl
14449 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14450 @r=`${PWD_COMMAND}`; export r; \
14451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14452 $(HOST_EXPORTS) \
14453 $(POSTSTAGE1_HOST_EXPORTS) \
14454 cd $(HOST_SUBDIR)/intl && \
14455 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
14456 $(TARGET-stagefeedback-intl)
14458 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
14459 clean-stagefeedback: clean-stagefeedback-intl
14460 clean-stagefeedback-intl:
14461 @[ -f $(HOST_SUBDIR)/intl/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-intl/Makefile ] \
14462 || exit 0 ; \
14463 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
14464 cd $(HOST_SUBDIR)/intl && \
14465 $(MAKE) $(FLAGS_TO_PASS) \
14466 $(POSTSTAGE1_FLAGS_TO_PASS) \
14467 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
14468 @endif intl-bootstrap
14474 .PHONY: check-intl maybe-check-intl
14475 maybe-check-intl:
14476 @if intl
14477 maybe-check-intl: check-intl
14479 check-intl:
14480 @$(unstage)
14481 @r=`${PWD_COMMAND}`; export r; \
14482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14483 $(HOST_EXPORTS) \
14484 (cd $(HOST_SUBDIR)/intl && \
14485 $(MAKE) $(FLAGS_TO_PASS) check)
14487 @endif intl
14489 .PHONY: install-intl maybe-install-intl
14490 maybe-install-intl:
14491 @if intl
14492 maybe-install-intl: install-intl
14494 install-intl: installdirs
14495 @$(unstage)
14496 @r=`${PWD_COMMAND}`; export r; \
14497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14498 $(HOST_EXPORTS) \
14499 (cd $(HOST_SUBDIR)/intl && \
14500 $(MAKE) $(FLAGS_TO_PASS) install)
14502 @endif intl
14504 # Other targets (info, dvi, etc.)
14506 .PHONY: maybe-info-intl info-intl
14507 maybe-info-intl:
14508 @if intl
14509 maybe-info-intl: info-intl
14511 info-intl: \
14512 configure-intl
14513 @[ -f ./intl/Makefile ] || exit 0; \
14514 r=`${PWD_COMMAND}`; export r; \
14515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14516 $(HOST_EXPORTS) \
14517 for flag in $(EXTRA_HOST_FLAGS) ; do \
14518 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14519 done; \
14520 echo "Doing info in intl" ; \
14521 (cd $(HOST_SUBDIR)/intl && \
14522 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14523 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14524 "RANLIB=$${RANLIB}" \
14525 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14526 info) \
14527 || exit 1
14529 @endif intl
14531 .PHONY: maybe-dvi-intl dvi-intl
14532 maybe-dvi-intl:
14533 @if intl
14534 maybe-dvi-intl: dvi-intl
14536 dvi-intl: \
14537 configure-intl
14538 @[ -f ./intl/Makefile ] || exit 0; \
14539 r=`${PWD_COMMAND}`; export r; \
14540 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14541 $(HOST_EXPORTS) \
14542 for flag in $(EXTRA_HOST_FLAGS) ; do \
14543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14544 done; \
14545 echo "Doing dvi in intl" ; \
14546 (cd $(HOST_SUBDIR)/intl && \
14547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14549 "RANLIB=$${RANLIB}" \
14550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14551 dvi) \
14552 || exit 1
14554 @endif intl
14556 .PHONY: maybe-html-intl html-intl
14557 maybe-html-intl:
14558 @if intl
14559 maybe-html-intl: html-intl
14561 html-intl: \
14562 configure-intl
14563 @[ -f ./intl/Makefile ] || exit 0; \
14564 r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(HOST_EXPORTS) \
14567 for flag in $(EXTRA_HOST_FLAGS) ; do \
14568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14569 done; \
14570 echo "Doing html in intl" ; \
14571 (cd $(HOST_SUBDIR)/intl && \
14572 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14573 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14574 "RANLIB=$${RANLIB}" \
14575 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14576 html) \
14577 || exit 1
14579 @endif intl
14581 .PHONY: maybe-TAGS-intl TAGS-intl
14582 maybe-TAGS-intl:
14583 @if intl
14584 maybe-TAGS-intl: TAGS-intl
14586 TAGS-intl: \
14587 configure-intl
14588 @[ -f ./intl/Makefile ] || exit 0; \
14589 r=`${PWD_COMMAND}`; export r; \
14590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14591 $(HOST_EXPORTS) \
14592 for flag in $(EXTRA_HOST_FLAGS) ; do \
14593 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14594 done; \
14595 echo "Doing TAGS in intl" ; \
14596 (cd $(HOST_SUBDIR)/intl && \
14597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14599 "RANLIB=$${RANLIB}" \
14600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14601 TAGS) \
14602 || exit 1
14604 @endif intl
14606 .PHONY: maybe-install-info-intl install-info-intl
14607 maybe-install-info-intl:
14608 @if intl
14609 maybe-install-info-intl: install-info-intl
14611 install-info-intl: \
14612 configure-intl \
14613 info-intl
14614 @[ -f ./intl/Makefile ] || exit 0; \
14615 r=`${PWD_COMMAND}`; export r; \
14616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14617 $(HOST_EXPORTS) \
14618 for flag in $(EXTRA_HOST_FLAGS) ; do \
14619 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14620 done; \
14621 echo "Doing install-info in intl" ; \
14622 (cd $(HOST_SUBDIR)/intl && \
14623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14625 "RANLIB=$${RANLIB}" \
14626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14627 install-info) \
14628 || exit 1
14630 @endif intl
14632 .PHONY: maybe-installcheck-intl installcheck-intl
14633 maybe-installcheck-intl:
14634 @if intl
14635 maybe-installcheck-intl: installcheck-intl
14637 installcheck-intl: \
14638 configure-intl
14639 @[ -f ./intl/Makefile ] || exit 0; \
14640 r=`${PWD_COMMAND}`; export r; \
14641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14642 $(HOST_EXPORTS) \
14643 for flag in $(EXTRA_HOST_FLAGS) ; do \
14644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14645 done; \
14646 echo "Doing installcheck in intl" ; \
14647 (cd $(HOST_SUBDIR)/intl && \
14648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14650 "RANLIB=$${RANLIB}" \
14651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14652 installcheck) \
14653 || exit 1
14655 @endif intl
14657 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
14658 maybe-mostlyclean-intl:
14659 @if intl
14660 maybe-mostlyclean-intl: mostlyclean-intl
14662 mostlyclean-intl:
14663 @[ -f ./intl/Makefile ] || exit 0; \
14664 r=`${PWD_COMMAND}`; export r; \
14665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 $(HOST_EXPORTS) \
14667 for flag in $(EXTRA_HOST_FLAGS) ; do \
14668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14669 done; \
14670 echo "Doing mostlyclean in intl" ; \
14671 (cd $(HOST_SUBDIR)/intl && \
14672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14674 "RANLIB=$${RANLIB}" \
14675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14676 mostlyclean) \
14677 || exit 1
14679 @endif intl
14681 .PHONY: maybe-clean-intl clean-intl
14682 maybe-clean-intl:
14683 @if intl
14684 maybe-clean-intl: clean-intl
14686 clean-intl:
14687 @[ -f ./intl/Makefile ] || exit 0; \
14688 r=`${PWD_COMMAND}`; export r; \
14689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14690 $(HOST_EXPORTS) \
14691 for flag in $(EXTRA_HOST_FLAGS) ; do \
14692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14693 done; \
14694 echo "Doing clean in intl" ; \
14695 (cd $(HOST_SUBDIR)/intl && \
14696 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14697 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14698 "RANLIB=$${RANLIB}" \
14699 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14700 clean) \
14701 || exit 1
14703 @endif intl
14705 .PHONY: maybe-distclean-intl distclean-intl
14706 maybe-distclean-intl:
14707 @if intl
14708 maybe-distclean-intl: distclean-intl
14710 distclean-intl:
14711 @[ -f ./intl/Makefile ] || exit 0; \
14712 r=`${PWD_COMMAND}`; export r; \
14713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14714 $(HOST_EXPORTS) \
14715 for flag in $(EXTRA_HOST_FLAGS) ; do \
14716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14717 done; \
14718 echo "Doing distclean in intl" ; \
14719 (cd $(HOST_SUBDIR)/intl && \
14720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14722 "RANLIB=$${RANLIB}" \
14723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14724 distclean) \
14725 || exit 1
14727 @endif intl
14729 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
14730 maybe-maintainer-clean-intl:
14731 @if intl
14732 maybe-maintainer-clean-intl: maintainer-clean-intl
14734 maintainer-clean-intl:
14735 @[ -f ./intl/Makefile ] || exit 0; \
14736 r=`${PWD_COMMAND}`; export r; \
14737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14738 $(HOST_EXPORTS) \
14739 for flag in $(EXTRA_HOST_FLAGS) ; do \
14740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14741 done; \
14742 echo "Doing maintainer-clean in intl" ; \
14743 (cd $(HOST_SUBDIR)/intl && \
14744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14746 "RANLIB=$${RANLIB}" \
14747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14748 maintainer-clean) \
14749 || exit 1
14751 @endif intl
14755 .PHONY: configure-tcl maybe-configure-tcl
14756 maybe-configure-tcl:
14757 @if tcl
14758 maybe-configure-tcl: configure-tcl
14759 configure-tcl:
14760 @$(unstage)
14761 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
14762 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
14763 r=`${PWD_COMMAND}`; export r; \
14764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14765 $(HOST_EXPORTS) \
14766 echo Configuring in $(HOST_SUBDIR)/tcl; \
14767 cd "$(HOST_SUBDIR)/tcl" || exit 1; \
14768 case $(srcdir) in \
14769 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14770 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
14771 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14772 esac; \
14773 srcdiroption="--srcdir=$${topdir}/tcl"; \
14774 libsrcdir="$$s/tcl"; \
14775 $(SHELL) $${libsrcdir}/configure \
14776 $(HOST_CONFIGARGS) $${srcdiroption} \
14777 || exit 1
14778 @endif tcl
14784 .PHONY: all-tcl maybe-all-tcl
14785 maybe-all-tcl:
14786 @if tcl
14787 TARGET-tcl=all
14788 maybe-all-tcl: all-tcl
14789 all-tcl: configure-tcl
14790 @$(unstage)
14791 @r=`${PWD_COMMAND}`; export r; \
14792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14793 $(HOST_EXPORTS) \
14794 (cd $(HOST_SUBDIR)/tcl && \
14795 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
14796 @endif tcl
14801 .PHONY: check-tcl maybe-check-tcl
14802 maybe-check-tcl:
14803 @if tcl
14804 maybe-check-tcl: check-tcl
14806 check-tcl:
14807 @$(unstage)
14808 @r=`${PWD_COMMAND}`; export r; \
14809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14810 $(HOST_EXPORTS) \
14811 (cd $(HOST_SUBDIR)/tcl && \
14812 $(MAKE) $(FLAGS_TO_PASS) check)
14814 @endif tcl
14816 .PHONY: install-tcl maybe-install-tcl
14817 maybe-install-tcl:
14818 @if tcl
14819 maybe-install-tcl: install-tcl
14821 install-tcl: installdirs
14822 @$(unstage)
14823 @r=`${PWD_COMMAND}`; export r; \
14824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14825 $(HOST_EXPORTS) \
14826 (cd $(HOST_SUBDIR)/tcl && \
14827 $(MAKE) $(FLAGS_TO_PASS) install)
14829 @endif tcl
14831 # Other targets (info, dvi, etc.)
14833 .PHONY: maybe-info-tcl info-tcl
14834 maybe-info-tcl:
14835 @if tcl
14836 maybe-info-tcl: info-tcl
14838 info-tcl: \
14839 configure-tcl
14840 @$(unstage)
14841 @[ -f ./tcl/Makefile ] || exit 0; \
14842 r=`${PWD_COMMAND}`; export r; \
14843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14844 $(HOST_EXPORTS) \
14845 for flag in $(EXTRA_HOST_FLAGS) ; do \
14846 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14847 done; \
14848 echo "Doing info in tcl" ; \
14849 (cd $(HOST_SUBDIR)/tcl && \
14850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14852 "RANLIB=$${RANLIB}" \
14853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14854 info) \
14855 || exit 1
14857 @endif tcl
14859 .PHONY: maybe-dvi-tcl dvi-tcl
14860 maybe-dvi-tcl:
14861 @if tcl
14862 maybe-dvi-tcl: dvi-tcl
14864 dvi-tcl: \
14865 configure-tcl
14866 @$(unstage)
14867 @[ -f ./tcl/Makefile ] || exit 0; \
14868 r=`${PWD_COMMAND}`; export r; \
14869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14870 $(HOST_EXPORTS) \
14871 for flag in $(EXTRA_HOST_FLAGS) ; do \
14872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14873 done; \
14874 echo "Doing dvi in tcl" ; \
14875 (cd $(HOST_SUBDIR)/tcl && \
14876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14878 "RANLIB=$${RANLIB}" \
14879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14880 dvi) \
14881 || exit 1
14883 @endif tcl
14885 .PHONY: maybe-html-tcl html-tcl
14886 maybe-html-tcl:
14887 @if tcl
14888 maybe-html-tcl: html-tcl
14890 html-tcl: \
14891 configure-tcl
14892 @$(unstage)
14893 @[ -f ./tcl/Makefile ] || exit 0; \
14894 r=`${PWD_COMMAND}`; export r; \
14895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14896 $(HOST_EXPORTS) \
14897 for flag in $(EXTRA_HOST_FLAGS) ; do \
14898 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14899 done; \
14900 echo "Doing html in tcl" ; \
14901 (cd $(HOST_SUBDIR)/tcl && \
14902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14904 "RANLIB=$${RANLIB}" \
14905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14906 html) \
14907 || exit 1
14909 @endif tcl
14911 .PHONY: maybe-TAGS-tcl TAGS-tcl
14912 maybe-TAGS-tcl:
14913 @if tcl
14914 maybe-TAGS-tcl: TAGS-tcl
14916 TAGS-tcl: \
14917 configure-tcl
14918 @$(unstage)
14919 @[ -f ./tcl/Makefile ] || exit 0; \
14920 r=`${PWD_COMMAND}`; export r; \
14921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14922 $(HOST_EXPORTS) \
14923 for flag in $(EXTRA_HOST_FLAGS) ; do \
14924 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14925 done; \
14926 echo "Doing TAGS in tcl" ; \
14927 (cd $(HOST_SUBDIR)/tcl && \
14928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14930 "RANLIB=$${RANLIB}" \
14931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14932 TAGS) \
14933 || exit 1
14935 @endif tcl
14937 .PHONY: maybe-install-info-tcl install-info-tcl
14938 maybe-install-info-tcl:
14939 @if tcl
14940 maybe-install-info-tcl: install-info-tcl
14942 install-info-tcl: \
14943 configure-tcl \
14944 info-tcl
14945 @$(unstage)
14946 @[ -f ./tcl/Makefile ] || exit 0; \
14947 r=`${PWD_COMMAND}`; export r; \
14948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14949 $(HOST_EXPORTS) \
14950 for flag in $(EXTRA_HOST_FLAGS) ; do \
14951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14952 done; \
14953 echo "Doing install-info in tcl" ; \
14954 (cd $(HOST_SUBDIR)/tcl && \
14955 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14956 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14957 "RANLIB=$${RANLIB}" \
14958 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14959 install-info) \
14960 || exit 1
14962 @endif tcl
14964 .PHONY: maybe-installcheck-tcl installcheck-tcl
14965 maybe-installcheck-tcl:
14966 @if tcl
14967 maybe-installcheck-tcl: installcheck-tcl
14969 installcheck-tcl: \
14970 configure-tcl
14971 @$(unstage)
14972 @[ -f ./tcl/Makefile ] || exit 0; \
14973 r=`${PWD_COMMAND}`; export r; \
14974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14975 $(HOST_EXPORTS) \
14976 for flag in $(EXTRA_HOST_FLAGS) ; do \
14977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14978 done; \
14979 echo "Doing installcheck in tcl" ; \
14980 (cd $(HOST_SUBDIR)/tcl && \
14981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14983 "RANLIB=$${RANLIB}" \
14984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14985 installcheck) \
14986 || exit 1
14988 @endif tcl
14990 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
14991 maybe-mostlyclean-tcl:
14992 @if tcl
14993 maybe-mostlyclean-tcl: mostlyclean-tcl
14995 # tcl doesn't support mostlyclean.
14996 mostlyclean-tcl:
14998 @endif tcl
15000 .PHONY: maybe-clean-tcl clean-tcl
15001 maybe-clean-tcl:
15002 @if tcl
15003 maybe-clean-tcl: clean-tcl
15005 clean-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 clean 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 clean) \
15021 || exit 1
15023 @endif tcl
15025 .PHONY: maybe-distclean-tcl distclean-tcl
15026 maybe-distclean-tcl:
15027 @if tcl
15028 maybe-distclean-tcl: distclean-tcl
15030 distclean-tcl:
15031 @$(unstage)
15032 @[ -f ./tcl/Makefile ] || exit 0; \
15033 r=`${PWD_COMMAND}`; export r; \
15034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15035 $(HOST_EXPORTS) \
15036 for flag in $(EXTRA_HOST_FLAGS) ; do \
15037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15038 done; \
15039 echo "Doing distclean in tcl" ; \
15040 (cd $(HOST_SUBDIR)/tcl && \
15041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15043 "RANLIB=$${RANLIB}" \
15044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15045 distclean) \
15046 || exit 1
15048 @endif tcl
15050 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
15051 maybe-maintainer-clean-tcl:
15052 @if tcl
15053 maybe-maintainer-clean-tcl: maintainer-clean-tcl
15055 maintainer-clean-tcl:
15056 @$(unstage)
15057 @[ -f ./tcl/Makefile ] || exit 0; \
15058 r=`${PWD_COMMAND}`; export r; \
15059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15060 $(HOST_EXPORTS) \
15061 for flag in $(EXTRA_HOST_FLAGS) ; do \
15062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15063 done; \
15064 echo "Doing maintainer-clean in tcl" ; \
15065 (cd $(HOST_SUBDIR)/tcl && \
15066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15068 "RANLIB=$${RANLIB}" \
15069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15070 maintainer-clean) \
15071 || exit 1
15073 @endif tcl
15077 .PHONY: configure-itcl maybe-configure-itcl
15078 maybe-configure-itcl:
15079 @if itcl
15080 maybe-configure-itcl: configure-itcl
15081 configure-itcl:
15082 @$(unstage)
15083 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
15084 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
15085 r=`${PWD_COMMAND}`; export r; \
15086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15087 $(HOST_EXPORTS) \
15088 echo Configuring in $(HOST_SUBDIR)/itcl; \
15089 cd "$(HOST_SUBDIR)/itcl" || exit 1; \
15090 case $(srcdir) in \
15091 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15092 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
15093 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15094 esac; \
15095 srcdiroption="--srcdir=$${topdir}/itcl"; \
15096 libsrcdir="$$s/itcl"; \
15097 $(SHELL) $${libsrcdir}/configure \
15098 $(HOST_CONFIGARGS) $${srcdiroption} \
15099 || exit 1
15100 @endif itcl
15106 .PHONY: all-itcl maybe-all-itcl
15107 maybe-all-itcl:
15108 @if itcl
15109 TARGET-itcl=all
15110 maybe-all-itcl: all-itcl
15111 all-itcl: configure-itcl
15112 @$(unstage)
15113 @r=`${PWD_COMMAND}`; export r; \
15114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15115 $(HOST_EXPORTS) \
15116 (cd $(HOST_SUBDIR)/itcl && \
15117 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
15118 @endif itcl
15123 .PHONY: check-itcl maybe-check-itcl
15124 maybe-check-itcl:
15125 @if itcl
15126 maybe-check-itcl: check-itcl
15128 check-itcl:
15129 @$(unstage)
15130 @r=`${PWD_COMMAND}`; export r; \
15131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15132 $(HOST_EXPORTS) \
15133 (cd $(HOST_SUBDIR)/itcl && \
15134 $(MAKE) $(FLAGS_TO_PASS) check)
15136 @endif itcl
15138 .PHONY: install-itcl maybe-install-itcl
15139 maybe-install-itcl:
15140 @if itcl
15141 maybe-install-itcl: install-itcl
15143 install-itcl: installdirs
15144 @$(unstage)
15145 @r=`${PWD_COMMAND}`; export r; \
15146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15147 $(HOST_EXPORTS) \
15148 (cd $(HOST_SUBDIR)/itcl && \
15149 $(MAKE) $(FLAGS_TO_PASS) install)
15151 @endif itcl
15153 # Other targets (info, dvi, etc.)
15155 .PHONY: maybe-info-itcl info-itcl
15156 maybe-info-itcl:
15157 @if itcl
15158 maybe-info-itcl: info-itcl
15160 info-itcl: \
15161 configure-itcl
15162 @$(unstage)
15163 @[ -f ./itcl/Makefile ] || exit 0; \
15164 r=`${PWD_COMMAND}`; export r; \
15165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15166 $(HOST_EXPORTS) \
15167 for flag in $(EXTRA_HOST_FLAGS) ; do \
15168 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15169 done; \
15170 echo "Doing info in itcl" ; \
15171 (cd $(HOST_SUBDIR)/itcl && \
15172 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15173 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15174 "RANLIB=$${RANLIB}" \
15175 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15176 info) \
15177 || exit 1
15179 @endif itcl
15181 .PHONY: maybe-dvi-itcl dvi-itcl
15182 maybe-dvi-itcl:
15183 @if itcl
15184 maybe-dvi-itcl: dvi-itcl
15186 dvi-itcl: \
15187 configure-itcl
15188 @$(unstage)
15189 @[ -f ./itcl/Makefile ] || exit 0; \
15190 r=`${PWD_COMMAND}`; export r; \
15191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15192 $(HOST_EXPORTS) \
15193 for flag in $(EXTRA_HOST_FLAGS) ; do \
15194 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15195 done; \
15196 echo "Doing dvi in itcl" ; \
15197 (cd $(HOST_SUBDIR)/itcl && \
15198 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15199 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15200 "RANLIB=$${RANLIB}" \
15201 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15202 dvi) \
15203 || exit 1
15205 @endif itcl
15207 .PHONY: maybe-html-itcl html-itcl
15208 maybe-html-itcl:
15209 @if itcl
15210 maybe-html-itcl: html-itcl
15212 html-itcl: \
15213 configure-itcl
15214 @$(unstage)
15215 @[ -f ./itcl/Makefile ] || exit 0; \
15216 r=`${PWD_COMMAND}`; export r; \
15217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15218 $(HOST_EXPORTS) \
15219 for flag in $(EXTRA_HOST_FLAGS) ; do \
15220 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15221 done; \
15222 echo "Doing html in itcl" ; \
15223 (cd $(HOST_SUBDIR)/itcl && \
15224 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15225 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15226 "RANLIB=$${RANLIB}" \
15227 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15228 html) \
15229 || exit 1
15231 @endif itcl
15233 .PHONY: maybe-TAGS-itcl TAGS-itcl
15234 maybe-TAGS-itcl:
15235 @if itcl
15236 maybe-TAGS-itcl: TAGS-itcl
15238 TAGS-itcl: \
15239 configure-itcl
15240 @$(unstage)
15241 @[ -f ./itcl/Makefile ] || exit 0; \
15242 r=`${PWD_COMMAND}`; export r; \
15243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15244 $(HOST_EXPORTS) \
15245 for flag in $(EXTRA_HOST_FLAGS) ; do \
15246 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15247 done; \
15248 echo "Doing TAGS in itcl" ; \
15249 (cd $(HOST_SUBDIR)/itcl && \
15250 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15251 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15252 "RANLIB=$${RANLIB}" \
15253 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15254 TAGS) \
15255 || exit 1
15257 @endif itcl
15259 .PHONY: maybe-install-info-itcl install-info-itcl
15260 maybe-install-info-itcl:
15261 @if itcl
15262 maybe-install-info-itcl: install-info-itcl
15264 install-info-itcl: \
15265 configure-itcl \
15266 info-itcl
15267 @$(unstage)
15268 @[ -f ./itcl/Makefile ] || exit 0; \
15269 r=`${PWD_COMMAND}`; export r; \
15270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15271 $(HOST_EXPORTS) \
15272 for flag in $(EXTRA_HOST_FLAGS) ; do \
15273 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15274 done; \
15275 echo "Doing install-info in itcl" ; \
15276 (cd $(HOST_SUBDIR)/itcl && \
15277 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15278 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15279 "RANLIB=$${RANLIB}" \
15280 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15281 install-info) \
15282 || exit 1
15284 @endif itcl
15286 .PHONY: maybe-installcheck-itcl installcheck-itcl
15287 maybe-installcheck-itcl:
15288 @if itcl
15289 maybe-installcheck-itcl: installcheck-itcl
15291 installcheck-itcl: \
15292 configure-itcl
15293 @$(unstage)
15294 @[ -f ./itcl/Makefile ] || exit 0; \
15295 r=`${PWD_COMMAND}`; export r; \
15296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15297 $(HOST_EXPORTS) \
15298 for flag in $(EXTRA_HOST_FLAGS) ; do \
15299 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15300 done; \
15301 echo "Doing installcheck in itcl" ; \
15302 (cd $(HOST_SUBDIR)/itcl && \
15303 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15304 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15305 "RANLIB=$${RANLIB}" \
15306 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15307 installcheck) \
15308 || exit 1
15310 @endif itcl
15312 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
15313 maybe-mostlyclean-itcl:
15314 @if itcl
15315 maybe-mostlyclean-itcl: mostlyclean-itcl
15317 mostlyclean-itcl:
15318 @$(unstage)
15319 @[ -f ./itcl/Makefile ] || exit 0; \
15320 r=`${PWD_COMMAND}`; export r; \
15321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15322 $(HOST_EXPORTS) \
15323 for flag in $(EXTRA_HOST_FLAGS) ; do \
15324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15325 done; \
15326 echo "Doing mostlyclean in itcl" ; \
15327 (cd $(HOST_SUBDIR)/itcl && \
15328 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15329 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15330 "RANLIB=$${RANLIB}" \
15331 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15332 mostlyclean) \
15333 || exit 1
15335 @endif itcl
15337 .PHONY: maybe-clean-itcl clean-itcl
15338 maybe-clean-itcl:
15339 @if itcl
15340 maybe-clean-itcl: clean-itcl
15342 clean-itcl:
15343 @$(unstage)
15344 @[ -f ./itcl/Makefile ] || exit 0; \
15345 r=`${PWD_COMMAND}`; export r; \
15346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15347 $(HOST_EXPORTS) \
15348 for flag in $(EXTRA_HOST_FLAGS) ; do \
15349 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15350 done; \
15351 echo "Doing clean in itcl" ; \
15352 (cd $(HOST_SUBDIR)/itcl && \
15353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15355 "RANLIB=$${RANLIB}" \
15356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15357 clean) \
15358 || exit 1
15360 @endif itcl
15362 .PHONY: maybe-distclean-itcl distclean-itcl
15363 maybe-distclean-itcl:
15364 @if itcl
15365 maybe-distclean-itcl: distclean-itcl
15367 distclean-itcl:
15368 @$(unstage)
15369 @[ -f ./itcl/Makefile ] || exit 0; \
15370 r=`${PWD_COMMAND}`; export r; \
15371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15372 $(HOST_EXPORTS) \
15373 for flag in $(EXTRA_HOST_FLAGS) ; do \
15374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15375 done; \
15376 echo "Doing distclean in itcl" ; \
15377 (cd $(HOST_SUBDIR)/itcl && \
15378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15380 "RANLIB=$${RANLIB}" \
15381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15382 distclean) \
15383 || exit 1
15385 @endif itcl
15387 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
15388 maybe-maintainer-clean-itcl:
15389 @if itcl
15390 maybe-maintainer-clean-itcl: maintainer-clean-itcl
15392 maintainer-clean-itcl:
15393 @$(unstage)
15394 @[ -f ./itcl/Makefile ] || exit 0; \
15395 r=`${PWD_COMMAND}`; export r; \
15396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15397 $(HOST_EXPORTS) \
15398 for flag in $(EXTRA_HOST_FLAGS) ; do \
15399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15400 done; \
15401 echo "Doing maintainer-clean in itcl" ; \
15402 (cd $(HOST_SUBDIR)/itcl && \
15403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15405 "RANLIB=$${RANLIB}" \
15406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15407 maintainer-clean) \
15408 || exit 1
15410 @endif itcl
15414 .PHONY: configure-ld maybe-configure-ld
15415 maybe-configure-ld:
15416 @if ld
15417 maybe-configure-ld: configure-ld
15418 configure-ld:
15419 @test -f stage_last && exit 0; \
15420 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
15421 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
15422 r=`${PWD_COMMAND}`; export r; \
15423 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15424 $(HOST_EXPORTS) \
15425 echo Configuring in $(HOST_SUBDIR)/ld; \
15426 cd "$(HOST_SUBDIR)/ld" || exit 1; \
15427 case $(srcdir) in \
15428 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15429 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15430 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15431 esac; \
15432 srcdiroption="--srcdir=$${topdir}/ld"; \
15433 libsrcdir="$$s/ld"; \
15434 $(SHELL) $${libsrcdir}/configure \
15435 $(HOST_CONFIGARGS) $${srcdiroption} \
15436 || exit 1
15437 @endif ld
15441 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
15442 maybe-configure-stage1-ld:
15443 @if ld-bootstrap
15444 maybe-configure-stage1-ld: configure-stage1-ld
15445 configure-stage1-ld:
15446 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15447 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15448 r=`${PWD_COMMAND}`; export r; \
15449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15450 $(HOST_EXPORTS) \
15451 echo Configuring stage 1 in $(HOST_SUBDIR)/ld ; \
15452 cd $(HOST_SUBDIR)/ld || exit 1; \
15453 case $(srcdir) in \
15454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15455 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15457 esac; \
15458 srcdiroption="--srcdir=$${topdir}/ld"; \
15459 libsrcdir="$$s/ld"; \
15460 $(SHELL) $${libsrcdir}/configure \
15461 $(HOST_CONFIGARGS) $${srcdiroption} \
15462 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
15463 @endif ld-bootstrap
15465 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
15466 maybe-configure-stage2-ld:
15467 @if ld-bootstrap
15468 maybe-configure-stage2-ld: configure-stage2-ld
15469 configure-stage2-ld:
15470 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15471 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15472 r=`${PWD_COMMAND}`; export r; \
15473 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15474 $(HOST_EXPORTS) \
15475 $(POSTSTAGE1_HOST_EXPORTS) \
15476 echo Configuring stage 2 in $(HOST_SUBDIR)/ld ; \
15477 cd $(HOST_SUBDIR)/ld || exit 1; \
15478 case $(srcdir) in \
15479 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15480 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15481 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15482 esac; \
15483 srcdiroption="--srcdir=$${topdir}/ld"; \
15484 libsrcdir="$$s/ld"; \
15485 $(SHELL) $${libsrcdir}/configure \
15486 $(HOST_CONFIGARGS) $${srcdiroption} \
15487 @stage2_werror_flag@
15488 @endif ld-bootstrap
15490 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
15491 maybe-configure-stage3-ld:
15492 @if ld-bootstrap
15493 maybe-configure-stage3-ld: configure-stage3-ld
15494 configure-stage3-ld:
15495 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15496 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15497 r=`${PWD_COMMAND}`; export r; \
15498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15499 $(HOST_EXPORTS) \
15500 $(POSTSTAGE1_HOST_EXPORTS) \
15501 echo Configuring stage 3 in $(HOST_SUBDIR)/ld ; \
15502 cd $(HOST_SUBDIR)/ld || exit 1; \
15503 case $(srcdir) in \
15504 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15505 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15506 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15507 esac; \
15508 srcdiroption="--srcdir=$${topdir}/ld"; \
15509 libsrcdir="$$s/ld"; \
15510 $(SHELL) $${libsrcdir}/configure \
15511 $(HOST_CONFIGARGS) $${srcdiroption} \
15512 @stage2_werror_flag@
15513 @endif ld-bootstrap
15515 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
15516 maybe-configure-stage4-ld:
15517 @if ld-bootstrap
15518 maybe-configure-stage4-ld: configure-stage4-ld
15519 configure-stage4-ld:
15520 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15521 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15522 r=`${PWD_COMMAND}`; export r; \
15523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15524 $(HOST_EXPORTS) \
15525 $(POSTSTAGE1_HOST_EXPORTS) \
15526 echo Configuring stage 4 in $(HOST_SUBDIR)/ld ; \
15527 cd $(HOST_SUBDIR)/ld || exit 1; \
15528 case $(srcdir) in \
15529 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15530 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15531 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15532 esac; \
15533 srcdiroption="--srcdir=$${topdir}/ld"; \
15534 libsrcdir="$$s/ld"; \
15535 $(SHELL) $${libsrcdir}/configure \
15536 $(HOST_CONFIGARGS) $${srcdiroption} \
15537 @stage2_werror_flag@
15538 @endif ld-bootstrap
15540 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
15541 maybe-configure-stageprofile-ld:
15542 @if ld-bootstrap
15543 maybe-configure-stageprofile-ld: configure-stageprofile-ld
15544 configure-stageprofile-ld:
15545 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15546 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15547 r=`${PWD_COMMAND}`; export r; \
15548 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15549 $(HOST_EXPORTS) \
15550 $(POSTSTAGE1_HOST_EXPORTS) \
15551 echo Configuring stage profile in $(HOST_SUBDIR)/ld ; \
15552 cd $(HOST_SUBDIR)/ld || exit 1; \
15553 case $(srcdir) in \
15554 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15555 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15556 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15557 esac; \
15558 srcdiroption="--srcdir=$${topdir}/ld"; \
15559 libsrcdir="$$s/ld"; \
15560 $(SHELL) $${libsrcdir}/configure \
15561 $(HOST_CONFIGARGS) $${srcdiroption} \
15562 @stage2_werror_flag@
15563 @endif ld-bootstrap
15565 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
15566 maybe-configure-stagefeedback-ld:
15567 @if ld-bootstrap
15568 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
15569 configure-stagefeedback-ld:
15570 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15571 @[ -f $(HOST_SUBDIR)/ld/Makefile ] && exit 0 || : ; \
15572 r=`${PWD_COMMAND}`; export r; \
15573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15574 $(HOST_EXPORTS) \
15575 $(POSTSTAGE1_HOST_EXPORTS) \
15576 echo Configuring stage feedback in $(HOST_SUBDIR)/ld ; \
15577 cd $(HOST_SUBDIR)/ld || exit 1; \
15578 case $(srcdir) in \
15579 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15580 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
15581 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15582 esac; \
15583 srcdiroption="--srcdir=$${topdir}/ld"; \
15584 libsrcdir="$$s/ld"; \
15585 $(SHELL) $${libsrcdir}/configure \
15586 $(HOST_CONFIGARGS) $${srcdiroption} \
15587 @stage2_werror_flag@
15588 @endif ld-bootstrap
15594 .PHONY: all-ld maybe-all-ld
15595 maybe-all-ld:
15596 @if ld
15597 TARGET-ld=all
15598 maybe-all-ld: all-ld
15599 all-ld: configure-ld
15600 @test -f stage_last && exit 0; \
15601 r=`${PWD_COMMAND}`; export r; \
15602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15603 $(HOST_EXPORTS) \
15604 (cd $(HOST_SUBDIR)/ld && \
15605 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
15606 @endif ld
15610 .PHONY: all-stage1-ld maybe-all-stage1-ld
15611 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
15612 maybe-all-stage1-ld:
15613 maybe-clean-stage1-ld:
15614 @if ld-bootstrap
15615 maybe-all-stage1-ld: all-stage1-ld
15616 all-stage1: all-stage1-ld
15617 TARGET-stage1-ld = $(TARGET-ld)
15618 all-stage1-ld: configure-stage1-ld
15619 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15620 @r=`${PWD_COMMAND}`; export r; \
15621 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15622 $(HOST_EXPORTS) \
15623 cd $(HOST_SUBDIR)/ld && \
15624 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
15625 $(TARGET-stage1-ld)
15627 maybe-clean-stage1-ld: clean-stage1-ld
15628 clean-stage1: clean-stage1-ld
15629 clean-stage1-ld:
15630 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-ld/Makefile ] \
15631 || exit 0 ; \
15632 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
15633 cd $(HOST_SUBDIR)/ld && \
15634 $(MAKE) $(FLAGS_TO_PASS) \
15635 CFLAGS="$(STAGE1_CFLAGS)" clean
15636 @endif ld-bootstrap
15639 .PHONY: all-stage2-ld maybe-all-stage2-ld
15640 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
15641 maybe-all-stage2-ld:
15642 maybe-clean-stage2-ld:
15643 @if ld-bootstrap
15644 maybe-all-stage2-ld: all-stage2-ld
15645 all-stage2: all-stage2-ld
15646 TARGET-stage2-ld = $(TARGET-ld)
15647 all-stage2-ld: configure-stage2-ld
15648 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15649 @r=`${PWD_COMMAND}`; export r; \
15650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15651 $(HOST_EXPORTS) \
15652 $(POSTSTAGE1_HOST_EXPORTS) \
15653 cd $(HOST_SUBDIR)/ld && \
15654 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15655 $(TARGET-stage2-ld)
15657 maybe-clean-stage2-ld: clean-stage2-ld
15658 clean-stage2: clean-stage2-ld
15659 clean-stage2-ld:
15660 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-ld/Makefile ] \
15661 || exit 0 ; \
15662 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
15663 cd $(HOST_SUBDIR)/ld && \
15664 $(MAKE) $(FLAGS_TO_PASS) \
15665 $(POSTSTAGE1_FLAGS_TO_PASS) \
15666 clean
15667 @endif ld-bootstrap
15670 .PHONY: all-stage3-ld maybe-all-stage3-ld
15671 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
15672 maybe-all-stage3-ld:
15673 maybe-clean-stage3-ld:
15674 @if ld-bootstrap
15675 maybe-all-stage3-ld: all-stage3-ld
15676 all-stage3: all-stage3-ld
15677 TARGET-stage3-ld = $(TARGET-ld)
15678 all-stage3-ld: configure-stage3-ld
15679 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15680 @r=`${PWD_COMMAND}`; export r; \
15681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15682 $(HOST_EXPORTS) \
15683 $(POSTSTAGE1_HOST_EXPORTS) \
15684 cd $(HOST_SUBDIR)/ld && \
15685 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15686 $(TARGET-stage3-ld)
15688 maybe-clean-stage3-ld: clean-stage3-ld
15689 clean-stage3: clean-stage3-ld
15690 clean-stage3-ld:
15691 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-ld/Makefile ] \
15692 || exit 0 ; \
15693 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
15694 cd $(HOST_SUBDIR)/ld && \
15695 $(MAKE) $(FLAGS_TO_PASS) \
15696 $(POSTSTAGE1_FLAGS_TO_PASS) \
15697 clean
15698 @endif ld-bootstrap
15701 .PHONY: all-stage4-ld maybe-all-stage4-ld
15702 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
15703 maybe-all-stage4-ld:
15704 maybe-clean-stage4-ld:
15705 @if ld-bootstrap
15706 maybe-all-stage4-ld: all-stage4-ld
15707 all-stage4: all-stage4-ld
15708 TARGET-stage4-ld = $(TARGET-ld)
15709 all-stage4-ld: configure-stage4-ld
15710 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15711 @r=`${PWD_COMMAND}`; export r; \
15712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15713 $(HOST_EXPORTS) \
15714 $(POSTSTAGE1_HOST_EXPORTS) \
15715 cd $(HOST_SUBDIR)/ld && \
15716 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
15717 $(TARGET-stage4-ld)
15719 maybe-clean-stage4-ld: clean-stage4-ld
15720 clean-stage4: clean-stage4-ld
15721 clean-stage4-ld:
15722 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-ld/Makefile ] \
15723 || exit 0 ; \
15724 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
15725 cd $(HOST_SUBDIR)/ld && \
15726 $(MAKE) $(FLAGS_TO_PASS) \
15727 $(POSTSTAGE1_FLAGS_TO_PASS) \
15728 clean
15729 @endif ld-bootstrap
15732 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
15733 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
15734 maybe-all-stageprofile-ld:
15735 maybe-clean-stageprofile-ld:
15736 @if ld-bootstrap
15737 maybe-all-stageprofile-ld: all-stageprofile-ld
15738 all-stageprofile: all-stageprofile-ld
15739 TARGET-stageprofile-ld = $(TARGET-ld)
15740 all-stageprofile-ld: configure-stageprofile-ld
15741 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15742 @r=`${PWD_COMMAND}`; export r; \
15743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15744 $(HOST_EXPORTS) \
15745 $(POSTSTAGE1_HOST_EXPORTS) \
15746 cd $(HOST_SUBDIR)/ld && \
15747 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
15748 $(TARGET-stageprofile-ld)
15750 maybe-clean-stageprofile-ld: clean-stageprofile-ld
15751 clean-stageprofile: clean-stageprofile-ld
15752 clean-stageprofile-ld:
15753 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-ld/Makefile ] \
15754 || exit 0 ; \
15755 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
15756 cd $(HOST_SUBDIR)/ld && \
15757 $(MAKE) $(FLAGS_TO_PASS) \
15758 $(POSTSTAGE1_FLAGS_TO_PASS) \
15759 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
15760 @endif ld-bootstrap
15763 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
15764 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
15765 maybe-all-stagefeedback-ld:
15766 maybe-clean-stagefeedback-ld:
15767 @if ld-bootstrap
15768 maybe-all-stagefeedback-ld: all-stagefeedback-ld
15769 all-stagefeedback: all-stagefeedback-ld
15770 TARGET-stagefeedback-ld = $(TARGET-ld)
15771 all-stagefeedback-ld: configure-stagefeedback-ld
15772 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15773 @r=`${PWD_COMMAND}`; export r; \
15774 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15775 $(HOST_EXPORTS) \
15776 $(POSTSTAGE1_HOST_EXPORTS) \
15777 cd $(HOST_SUBDIR)/ld && \
15778 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
15779 $(TARGET-stagefeedback-ld)
15781 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
15782 clean-stagefeedback: clean-stagefeedback-ld
15783 clean-stagefeedback-ld:
15784 @[ -f $(HOST_SUBDIR)/ld/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-ld/Makefile ] \
15785 || exit 0 ; \
15786 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
15787 cd $(HOST_SUBDIR)/ld && \
15788 $(MAKE) $(FLAGS_TO_PASS) \
15789 $(POSTSTAGE1_FLAGS_TO_PASS) \
15790 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
15791 @endif ld-bootstrap
15797 .PHONY: check-ld maybe-check-ld
15798 maybe-check-ld:
15799 @if ld
15800 maybe-check-ld: check-ld
15802 check-ld:
15803 @$(unstage)
15804 @r=`${PWD_COMMAND}`; export r; \
15805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15806 $(HOST_EXPORTS) \
15807 (cd $(HOST_SUBDIR)/ld && \
15808 $(MAKE) $(FLAGS_TO_PASS) check)
15810 @endif ld
15812 .PHONY: install-ld maybe-install-ld
15813 maybe-install-ld:
15814 @if ld
15815 maybe-install-ld: install-ld
15817 install-ld: installdirs
15818 @$(unstage)
15819 @r=`${PWD_COMMAND}`; export r; \
15820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15821 $(HOST_EXPORTS) \
15822 (cd $(HOST_SUBDIR)/ld && \
15823 $(MAKE) $(FLAGS_TO_PASS) install)
15825 @endif ld
15827 # Other targets (info, dvi, etc.)
15829 .PHONY: maybe-info-ld info-ld
15830 maybe-info-ld:
15831 @if ld
15832 maybe-info-ld: info-ld
15834 info-ld: \
15835 configure-ld
15836 @[ -f ./ld/Makefile ] || exit 0; \
15837 r=`${PWD_COMMAND}`; export r; \
15838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15839 $(HOST_EXPORTS) \
15840 for flag in $(EXTRA_HOST_FLAGS) ; do \
15841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15842 done; \
15843 echo "Doing info in ld" ; \
15844 (cd $(HOST_SUBDIR)/ld && \
15845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15847 "RANLIB=$${RANLIB}" \
15848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15849 info) \
15850 || exit 1
15852 @endif ld
15854 .PHONY: maybe-dvi-ld dvi-ld
15855 maybe-dvi-ld:
15856 @if ld
15857 maybe-dvi-ld: dvi-ld
15859 dvi-ld: \
15860 configure-ld
15861 @[ -f ./ld/Makefile ] || exit 0; \
15862 r=`${PWD_COMMAND}`; export r; \
15863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15864 $(HOST_EXPORTS) \
15865 for flag in $(EXTRA_HOST_FLAGS) ; do \
15866 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15867 done; \
15868 echo "Doing dvi in ld" ; \
15869 (cd $(HOST_SUBDIR)/ld && \
15870 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15871 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15872 "RANLIB=$${RANLIB}" \
15873 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15874 dvi) \
15875 || exit 1
15877 @endif ld
15879 .PHONY: maybe-html-ld html-ld
15880 maybe-html-ld:
15881 @if ld
15882 maybe-html-ld: html-ld
15884 html-ld: \
15885 configure-ld
15886 @[ -f ./ld/Makefile ] || exit 0; \
15887 r=`${PWD_COMMAND}`; export r; \
15888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15889 $(HOST_EXPORTS) \
15890 for flag in $(EXTRA_HOST_FLAGS) ; do \
15891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15892 done; \
15893 echo "Doing html in ld" ; \
15894 (cd $(HOST_SUBDIR)/ld && \
15895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15897 "RANLIB=$${RANLIB}" \
15898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15899 html) \
15900 || exit 1
15902 @endif ld
15904 .PHONY: maybe-TAGS-ld TAGS-ld
15905 maybe-TAGS-ld:
15906 @if ld
15907 maybe-TAGS-ld: TAGS-ld
15909 TAGS-ld: \
15910 configure-ld
15911 @[ -f ./ld/Makefile ] || exit 0; \
15912 r=`${PWD_COMMAND}`; export r; \
15913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15914 $(HOST_EXPORTS) \
15915 for flag in $(EXTRA_HOST_FLAGS) ; do \
15916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15917 done; \
15918 echo "Doing TAGS in ld" ; \
15919 (cd $(HOST_SUBDIR)/ld && \
15920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15922 "RANLIB=$${RANLIB}" \
15923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15924 TAGS) \
15925 || exit 1
15927 @endif ld
15929 .PHONY: maybe-install-info-ld install-info-ld
15930 maybe-install-info-ld:
15931 @if ld
15932 maybe-install-info-ld: install-info-ld
15934 install-info-ld: \
15935 configure-ld \
15936 info-ld
15937 @[ -f ./ld/Makefile ] || exit 0; \
15938 r=`${PWD_COMMAND}`; export r; \
15939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15940 $(HOST_EXPORTS) \
15941 for flag in $(EXTRA_HOST_FLAGS) ; do \
15942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15943 done; \
15944 echo "Doing install-info in ld" ; \
15945 (cd $(HOST_SUBDIR)/ld && \
15946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15948 "RANLIB=$${RANLIB}" \
15949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15950 install-info) \
15951 || exit 1
15953 @endif ld
15955 .PHONY: maybe-installcheck-ld installcheck-ld
15956 maybe-installcheck-ld:
15957 @if ld
15958 maybe-installcheck-ld: installcheck-ld
15960 installcheck-ld: \
15961 configure-ld
15962 @[ -f ./ld/Makefile ] || exit 0; \
15963 r=`${PWD_COMMAND}`; export r; \
15964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15965 $(HOST_EXPORTS) \
15966 for flag in $(EXTRA_HOST_FLAGS) ; do \
15967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15968 done; \
15969 echo "Doing installcheck in ld" ; \
15970 (cd $(HOST_SUBDIR)/ld && \
15971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15973 "RANLIB=$${RANLIB}" \
15974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15975 installcheck) \
15976 || exit 1
15978 @endif ld
15980 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
15981 maybe-mostlyclean-ld:
15982 @if ld
15983 maybe-mostlyclean-ld: mostlyclean-ld
15985 mostlyclean-ld:
15986 @[ -f ./ld/Makefile ] || exit 0; \
15987 r=`${PWD_COMMAND}`; export r; \
15988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15989 $(HOST_EXPORTS) \
15990 for flag in $(EXTRA_HOST_FLAGS) ; do \
15991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15992 done; \
15993 echo "Doing mostlyclean in ld" ; \
15994 (cd $(HOST_SUBDIR)/ld && \
15995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15997 "RANLIB=$${RANLIB}" \
15998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15999 mostlyclean) \
16000 || exit 1
16002 @endif ld
16004 .PHONY: maybe-clean-ld clean-ld
16005 maybe-clean-ld:
16006 @if ld
16007 maybe-clean-ld: clean-ld
16009 clean-ld:
16010 @[ -f ./ld/Makefile ] || exit 0; \
16011 r=`${PWD_COMMAND}`; export r; \
16012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16013 $(HOST_EXPORTS) \
16014 for flag in $(EXTRA_HOST_FLAGS) ; do \
16015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16016 done; \
16017 echo "Doing clean in ld" ; \
16018 (cd $(HOST_SUBDIR)/ld && \
16019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16021 "RANLIB=$${RANLIB}" \
16022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16023 clean) \
16024 || exit 1
16026 @endif ld
16028 .PHONY: maybe-distclean-ld distclean-ld
16029 maybe-distclean-ld:
16030 @if ld
16031 maybe-distclean-ld: distclean-ld
16033 distclean-ld:
16034 @[ -f ./ld/Makefile ] || exit 0; \
16035 r=`${PWD_COMMAND}`; export r; \
16036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16037 $(HOST_EXPORTS) \
16038 for flag in $(EXTRA_HOST_FLAGS) ; do \
16039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16040 done; \
16041 echo "Doing distclean in ld" ; \
16042 (cd $(HOST_SUBDIR)/ld && \
16043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16045 "RANLIB=$${RANLIB}" \
16046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16047 distclean) \
16048 || exit 1
16050 @endif ld
16052 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
16053 maybe-maintainer-clean-ld:
16054 @if ld
16055 maybe-maintainer-clean-ld: maintainer-clean-ld
16057 maintainer-clean-ld:
16058 @[ -f ./ld/Makefile ] || exit 0; \
16059 r=`${PWD_COMMAND}`; export r; \
16060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16061 $(HOST_EXPORTS) \
16062 for flag in $(EXTRA_HOST_FLAGS) ; do \
16063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16064 done; \
16065 echo "Doing maintainer-clean in ld" ; \
16066 (cd $(HOST_SUBDIR)/ld && \
16067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16069 "RANLIB=$${RANLIB}" \
16070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16071 maintainer-clean) \
16072 || exit 1
16074 @endif ld
16078 .PHONY: configure-libcpp maybe-configure-libcpp
16079 maybe-configure-libcpp:
16080 @if libcpp
16081 maybe-configure-libcpp: configure-libcpp
16082 configure-libcpp:
16083 @test -f stage_last && exit 0; \
16084 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
16085 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
16086 r=`${PWD_COMMAND}`; export r; \
16087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16088 $(HOST_EXPORTS) \
16089 echo Configuring in $(HOST_SUBDIR)/libcpp; \
16090 cd "$(HOST_SUBDIR)/libcpp" || exit 1; \
16091 case $(srcdir) in \
16092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16093 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16095 esac; \
16096 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16097 libsrcdir="$$s/libcpp"; \
16098 $(SHELL) $${libsrcdir}/configure \
16099 $(HOST_CONFIGARGS) $${srcdiroption} \
16100 || exit 1
16101 @endif libcpp
16105 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
16106 maybe-configure-stage1-libcpp:
16107 @if libcpp-bootstrap
16108 maybe-configure-stage1-libcpp: configure-stage1-libcpp
16109 configure-stage1-libcpp:
16110 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16111 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16112 r=`${PWD_COMMAND}`; export r; \
16113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16114 $(HOST_EXPORTS) \
16115 echo Configuring stage 1 in $(HOST_SUBDIR)/libcpp ; \
16116 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16117 case $(srcdir) in \
16118 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16119 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16120 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16121 esac; \
16122 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16123 libsrcdir="$$s/libcpp"; \
16124 $(SHELL) $${libsrcdir}/configure \
16125 $(HOST_CONFIGARGS) $${srcdiroption} \
16126 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
16127 @endif libcpp-bootstrap
16129 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
16130 maybe-configure-stage2-libcpp:
16131 @if libcpp-bootstrap
16132 maybe-configure-stage2-libcpp: configure-stage2-libcpp
16133 configure-stage2-libcpp:
16134 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16135 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16136 r=`${PWD_COMMAND}`; export r; \
16137 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16138 $(HOST_EXPORTS) \
16139 $(POSTSTAGE1_HOST_EXPORTS) \
16140 echo Configuring stage 2 in $(HOST_SUBDIR)/libcpp ; \
16141 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16142 case $(srcdir) in \
16143 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16144 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16145 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16146 esac; \
16147 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16148 libsrcdir="$$s/libcpp"; \
16149 $(SHELL) $${libsrcdir}/configure \
16150 $(HOST_CONFIGARGS) $${srcdiroption} \
16151 @stage2_werror_flag@
16152 @endif libcpp-bootstrap
16154 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
16155 maybe-configure-stage3-libcpp:
16156 @if libcpp-bootstrap
16157 maybe-configure-stage3-libcpp: configure-stage3-libcpp
16158 configure-stage3-libcpp:
16159 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16160 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16161 r=`${PWD_COMMAND}`; export r; \
16162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16163 $(HOST_EXPORTS) \
16164 $(POSTSTAGE1_HOST_EXPORTS) \
16165 echo Configuring stage 3 in $(HOST_SUBDIR)/libcpp ; \
16166 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16167 case $(srcdir) in \
16168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16169 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16171 esac; \
16172 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16173 libsrcdir="$$s/libcpp"; \
16174 $(SHELL) $${libsrcdir}/configure \
16175 $(HOST_CONFIGARGS) $${srcdiroption} \
16176 @stage2_werror_flag@
16177 @endif libcpp-bootstrap
16179 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
16180 maybe-configure-stage4-libcpp:
16181 @if libcpp-bootstrap
16182 maybe-configure-stage4-libcpp: configure-stage4-libcpp
16183 configure-stage4-libcpp:
16184 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16185 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16186 r=`${PWD_COMMAND}`; export r; \
16187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16188 $(HOST_EXPORTS) \
16189 $(POSTSTAGE1_HOST_EXPORTS) \
16190 echo Configuring stage 4 in $(HOST_SUBDIR)/libcpp ; \
16191 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16192 case $(srcdir) in \
16193 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16194 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16195 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16196 esac; \
16197 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16198 libsrcdir="$$s/libcpp"; \
16199 $(SHELL) $${libsrcdir}/configure \
16200 $(HOST_CONFIGARGS) $${srcdiroption} \
16201 @stage2_werror_flag@
16202 @endif libcpp-bootstrap
16204 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
16205 maybe-configure-stageprofile-libcpp:
16206 @if libcpp-bootstrap
16207 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
16208 configure-stageprofile-libcpp:
16209 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16210 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16211 r=`${PWD_COMMAND}`; export r; \
16212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16213 $(HOST_EXPORTS) \
16214 $(POSTSTAGE1_HOST_EXPORTS) \
16215 echo Configuring stage profile in $(HOST_SUBDIR)/libcpp ; \
16216 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16217 case $(srcdir) in \
16218 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16219 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16220 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16221 esac; \
16222 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16223 libsrcdir="$$s/libcpp"; \
16224 $(SHELL) $${libsrcdir}/configure \
16225 $(HOST_CONFIGARGS) $${srcdiroption} \
16226 @stage2_werror_flag@
16227 @endif libcpp-bootstrap
16229 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
16230 maybe-configure-stagefeedback-libcpp:
16231 @if libcpp-bootstrap
16232 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
16233 configure-stagefeedback-libcpp:
16234 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16235 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] && exit 0 || : ; \
16236 r=`${PWD_COMMAND}`; export r; \
16237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16238 $(HOST_EXPORTS) \
16239 $(POSTSTAGE1_HOST_EXPORTS) \
16240 echo Configuring stage feedback in $(HOST_SUBDIR)/libcpp ; \
16241 cd $(HOST_SUBDIR)/libcpp || exit 1; \
16242 case $(srcdir) in \
16243 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16244 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
16245 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16246 esac; \
16247 srcdiroption="--srcdir=$${topdir}/libcpp"; \
16248 libsrcdir="$$s/libcpp"; \
16249 $(SHELL) $${libsrcdir}/configure \
16250 $(HOST_CONFIGARGS) $${srcdiroption} \
16251 @stage2_werror_flag@
16252 @endif libcpp-bootstrap
16258 .PHONY: all-libcpp maybe-all-libcpp
16259 maybe-all-libcpp:
16260 @if libcpp
16261 TARGET-libcpp=all
16262 maybe-all-libcpp: all-libcpp
16263 all-libcpp: configure-libcpp
16264 @test -f stage_last && exit 0; \
16265 r=`${PWD_COMMAND}`; export r; \
16266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16267 $(HOST_EXPORTS) \
16268 (cd $(HOST_SUBDIR)/libcpp && \
16269 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
16270 @endif libcpp
16274 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
16275 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
16276 maybe-all-stage1-libcpp:
16277 maybe-clean-stage1-libcpp:
16278 @if libcpp-bootstrap
16279 maybe-all-stage1-libcpp: all-stage1-libcpp
16280 all-stage1: all-stage1-libcpp
16281 TARGET-stage1-libcpp = $(TARGET-libcpp)
16282 all-stage1-libcpp: configure-stage1-libcpp
16283 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16284 @r=`${PWD_COMMAND}`; export r; \
16285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16286 $(HOST_EXPORTS) \
16287 cd $(HOST_SUBDIR)/libcpp && \
16288 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
16289 $(TARGET-stage1-libcpp)
16291 maybe-clean-stage1-libcpp: clean-stage1-libcpp
16292 clean-stage1: clean-stage1-libcpp
16293 clean-stage1-libcpp:
16294 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libcpp/Makefile ] \
16295 || exit 0 ; \
16296 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
16297 cd $(HOST_SUBDIR)/libcpp && \
16298 $(MAKE) $(FLAGS_TO_PASS) \
16299 CFLAGS="$(STAGE1_CFLAGS)" clean
16300 @endif libcpp-bootstrap
16303 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
16304 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
16305 maybe-all-stage2-libcpp:
16306 maybe-clean-stage2-libcpp:
16307 @if libcpp-bootstrap
16308 maybe-all-stage2-libcpp: all-stage2-libcpp
16309 all-stage2: all-stage2-libcpp
16310 TARGET-stage2-libcpp = $(TARGET-libcpp)
16311 all-stage2-libcpp: configure-stage2-libcpp
16312 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16313 @r=`${PWD_COMMAND}`; export r; \
16314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16315 $(HOST_EXPORTS) \
16316 $(POSTSTAGE1_HOST_EXPORTS) \
16317 cd $(HOST_SUBDIR)/libcpp && \
16318 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16319 $(TARGET-stage2-libcpp)
16321 maybe-clean-stage2-libcpp: clean-stage2-libcpp
16322 clean-stage2: clean-stage2-libcpp
16323 clean-stage2-libcpp:
16324 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libcpp/Makefile ] \
16325 || exit 0 ; \
16326 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
16327 cd $(HOST_SUBDIR)/libcpp && \
16328 $(MAKE) $(FLAGS_TO_PASS) \
16329 $(POSTSTAGE1_FLAGS_TO_PASS) \
16330 clean
16331 @endif libcpp-bootstrap
16334 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
16335 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
16336 maybe-all-stage3-libcpp:
16337 maybe-clean-stage3-libcpp:
16338 @if libcpp-bootstrap
16339 maybe-all-stage3-libcpp: all-stage3-libcpp
16340 all-stage3: all-stage3-libcpp
16341 TARGET-stage3-libcpp = $(TARGET-libcpp)
16342 all-stage3-libcpp: configure-stage3-libcpp
16343 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16344 @r=`${PWD_COMMAND}`; export r; \
16345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16346 $(HOST_EXPORTS) \
16347 $(POSTSTAGE1_HOST_EXPORTS) \
16348 cd $(HOST_SUBDIR)/libcpp && \
16349 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16350 $(TARGET-stage3-libcpp)
16352 maybe-clean-stage3-libcpp: clean-stage3-libcpp
16353 clean-stage3: clean-stage3-libcpp
16354 clean-stage3-libcpp:
16355 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libcpp/Makefile ] \
16356 || exit 0 ; \
16357 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
16358 cd $(HOST_SUBDIR)/libcpp && \
16359 $(MAKE) $(FLAGS_TO_PASS) \
16360 $(POSTSTAGE1_FLAGS_TO_PASS) \
16361 clean
16362 @endif libcpp-bootstrap
16365 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
16366 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
16367 maybe-all-stage4-libcpp:
16368 maybe-clean-stage4-libcpp:
16369 @if libcpp-bootstrap
16370 maybe-all-stage4-libcpp: all-stage4-libcpp
16371 all-stage4: all-stage4-libcpp
16372 TARGET-stage4-libcpp = $(TARGET-libcpp)
16373 all-stage4-libcpp: configure-stage4-libcpp
16374 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16375 @r=`${PWD_COMMAND}`; export r; \
16376 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16377 $(HOST_EXPORTS) \
16378 $(POSTSTAGE1_HOST_EXPORTS) \
16379 cd $(HOST_SUBDIR)/libcpp && \
16380 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
16381 $(TARGET-stage4-libcpp)
16383 maybe-clean-stage4-libcpp: clean-stage4-libcpp
16384 clean-stage4: clean-stage4-libcpp
16385 clean-stage4-libcpp:
16386 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libcpp/Makefile ] \
16387 || exit 0 ; \
16388 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
16389 cd $(HOST_SUBDIR)/libcpp && \
16390 $(MAKE) $(FLAGS_TO_PASS) \
16391 $(POSTSTAGE1_FLAGS_TO_PASS) \
16392 clean
16393 @endif libcpp-bootstrap
16396 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
16397 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
16398 maybe-all-stageprofile-libcpp:
16399 maybe-clean-stageprofile-libcpp:
16400 @if libcpp-bootstrap
16401 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
16402 all-stageprofile: all-stageprofile-libcpp
16403 TARGET-stageprofile-libcpp = $(TARGET-libcpp)
16404 all-stageprofile-libcpp: configure-stageprofile-libcpp
16405 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16406 @r=`${PWD_COMMAND}`; export r; \
16407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16408 $(HOST_EXPORTS) \
16409 $(POSTSTAGE1_HOST_EXPORTS) \
16410 cd $(HOST_SUBDIR)/libcpp && \
16411 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
16412 $(TARGET-stageprofile-libcpp)
16414 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
16415 clean-stageprofile: clean-stageprofile-libcpp
16416 clean-stageprofile-libcpp:
16417 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libcpp/Makefile ] \
16418 || exit 0 ; \
16419 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
16420 cd $(HOST_SUBDIR)/libcpp && \
16421 $(MAKE) $(FLAGS_TO_PASS) \
16422 $(POSTSTAGE1_FLAGS_TO_PASS) \
16423 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
16424 @endif libcpp-bootstrap
16427 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
16428 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
16429 maybe-all-stagefeedback-libcpp:
16430 maybe-clean-stagefeedback-libcpp:
16431 @if libcpp-bootstrap
16432 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
16433 all-stagefeedback: all-stagefeedback-libcpp
16434 TARGET-stagefeedback-libcpp = $(TARGET-libcpp)
16435 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
16436 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16437 @r=`${PWD_COMMAND}`; export r; \
16438 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16439 $(HOST_EXPORTS) \
16440 $(POSTSTAGE1_HOST_EXPORTS) \
16441 cd $(HOST_SUBDIR)/libcpp && \
16442 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
16443 $(TARGET-stagefeedback-libcpp)
16445 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
16446 clean-stagefeedback: clean-stagefeedback-libcpp
16447 clean-stagefeedback-libcpp:
16448 @[ -f $(HOST_SUBDIR)/libcpp/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libcpp/Makefile ] \
16449 || exit 0 ; \
16450 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
16451 cd $(HOST_SUBDIR)/libcpp && \
16452 $(MAKE) $(FLAGS_TO_PASS) \
16453 $(POSTSTAGE1_FLAGS_TO_PASS) \
16454 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
16455 @endif libcpp-bootstrap
16461 .PHONY: check-libcpp maybe-check-libcpp
16462 maybe-check-libcpp:
16463 @if libcpp
16464 maybe-check-libcpp: check-libcpp
16466 check-libcpp:
16467 @$(unstage)
16468 @r=`${PWD_COMMAND}`; export r; \
16469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16470 $(HOST_EXPORTS) \
16471 (cd $(HOST_SUBDIR)/libcpp && \
16472 $(MAKE) $(FLAGS_TO_PASS) check)
16474 @endif libcpp
16476 .PHONY: install-libcpp maybe-install-libcpp
16477 maybe-install-libcpp:
16478 @if libcpp
16479 maybe-install-libcpp: install-libcpp
16481 install-libcpp: installdirs
16482 @$(unstage)
16483 @r=`${PWD_COMMAND}`; export r; \
16484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16485 $(HOST_EXPORTS) \
16486 (cd $(HOST_SUBDIR)/libcpp && \
16487 $(MAKE) $(FLAGS_TO_PASS) install)
16489 @endif libcpp
16491 # Other targets (info, dvi, etc.)
16493 .PHONY: maybe-info-libcpp info-libcpp
16494 maybe-info-libcpp:
16495 @if libcpp
16496 maybe-info-libcpp: info-libcpp
16498 info-libcpp: \
16499 configure-libcpp
16500 @[ -f ./libcpp/Makefile ] || exit 0; \
16501 r=`${PWD_COMMAND}`; export r; \
16502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16503 $(HOST_EXPORTS) \
16504 for flag in $(EXTRA_HOST_FLAGS) ; do \
16505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16506 done; \
16507 echo "Doing info in libcpp" ; \
16508 (cd $(HOST_SUBDIR)/libcpp && \
16509 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16510 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16511 "RANLIB=$${RANLIB}" \
16512 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16513 info) \
16514 || exit 1
16516 @endif libcpp
16518 .PHONY: maybe-dvi-libcpp dvi-libcpp
16519 maybe-dvi-libcpp:
16520 @if libcpp
16521 maybe-dvi-libcpp: dvi-libcpp
16523 dvi-libcpp: \
16524 configure-libcpp
16525 @[ -f ./libcpp/Makefile ] || exit 0; \
16526 r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(HOST_EXPORTS) \
16529 for flag in $(EXTRA_HOST_FLAGS) ; do \
16530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16531 done; \
16532 echo "Doing dvi in libcpp" ; \
16533 (cd $(HOST_SUBDIR)/libcpp && \
16534 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16535 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16536 "RANLIB=$${RANLIB}" \
16537 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16538 dvi) \
16539 || exit 1
16541 @endif libcpp
16543 .PHONY: maybe-html-libcpp html-libcpp
16544 maybe-html-libcpp:
16545 @if libcpp
16546 maybe-html-libcpp: html-libcpp
16548 html-libcpp: \
16549 configure-libcpp
16550 @[ -f ./libcpp/Makefile ] || exit 0; \
16551 r=`${PWD_COMMAND}`; export r; \
16552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16553 $(HOST_EXPORTS) \
16554 for flag in $(EXTRA_HOST_FLAGS) ; do \
16555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16556 done; \
16557 echo "Doing html in libcpp" ; \
16558 (cd $(HOST_SUBDIR)/libcpp && \
16559 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16560 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16561 "RANLIB=$${RANLIB}" \
16562 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16563 html) \
16564 || exit 1
16566 @endif libcpp
16568 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
16569 maybe-TAGS-libcpp:
16570 @if libcpp
16571 maybe-TAGS-libcpp: TAGS-libcpp
16573 TAGS-libcpp: \
16574 configure-libcpp
16575 @[ -f ./libcpp/Makefile ] || exit 0; \
16576 r=`${PWD_COMMAND}`; export r; \
16577 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16578 $(HOST_EXPORTS) \
16579 for flag in $(EXTRA_HOST_FLAGS) ; do \
16580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16581 done; \
16582 echo "Doing TAGS in libcpp" ; \
16583 (cd $(HOST_SUBDIR)/libcpp && \
16584 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16585 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16586 "RANLIB=$${RANLIB}" \
16587 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16588 TAGS) \
16589 || exit 1
16591 @endif libcpp
16593 .PHONY: maybe-install-info-libcpp install-info-libcpp
16594 maybe-install-info-libcpp:
16595 @if libcpp
16596 maybe-install-info-libcpp: install-info-libcpp
16598 install-info-libcpp: \
16599 configure-libcpp \
16600 info-libcpp
16601 @[ -f ./libcpp/Makefile ] || exit 0; \
16602 r=`${PWD_COMMAND}`; export r; \
16603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16604 $(HOST_EXPORTS) \
16605 for flag in $(EXTRA_HOST_FLAGS) ; do \
16606 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16607 done; \
16608 echo "Doing install-info in libcpp" ; \
16609 (cd $(HOST_SUBDIR)/libcpp && \
16610 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16611 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16612 "RANLIB=$${RANLIB}" \
16613 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16614 install-info) \
16615 || exit 1
16617 @endif libcpp
16619 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
16620 maybe-installcheck-libcpp:
16621 @if libcpp
16622 maybe-installcheck-libcpp: installcheck-libcpp
16624 installcheck-libcpp: \
16625 configure-libcpp
16626 @[ -f ./libcpp/Makefile ] || exit 0; \
16627 r=`${PWD_COMMAND}`; export r; \
16628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16629 $(HOST_EXPORTS) \
16630 for flag in $(EXTRA_HOST_FLAGS) ; do \
16631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16632 done; \
16633 echo "Doing installcheck in libcpp" ; \
16634 (cd $(HOST_SUBDIR)/libcpp && \
16635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16637 "RANLIB=$${RANLIB}" \
16638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16639 installcheck) \
16640 || exit 1
16642 @endif libcpp
16644 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
16645 maybe-mostlyclean-libcpp:
16646 @if libcpp
16647 maybe-mostlyclean-libcpp: mostlyclean-libcpp
16649 mostlyclean-libcpp:
16650 @[ -f ./libcpp/Makefile ] || exit 0; \
16651 r=`${PWD_COMMAND}`; export r; \
16652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16653 $(HOST_EXPORTS) \
16654 for flag in $(EXTRA_HOST_FLAGS) ; do \
16655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16656 done; \
16657 echo "Doing mostlyclean in libcpp" ; \
16658 (cd $(HOST_SUBDIR)/libcpp && \
16659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16661 "RANLIB=$${RANLIB}" \
16662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16663 mostlyclean) \
16664 || exit 1
16666 @endif libcpp
16668 .PHONY: maybe-clean-libcpp clean-libcpp
16669 maybe-clean-libcpp:
16670 @if libcpp
16671 maybe-clean-libcpp: clean-libcpp
16673 clean-libcpp:
16674 @[ -f ./libcpp/Makefile ] || exit 0; \
16675 r=`${PWD_COMMAND}`; export r; \
16676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16677 $(HOST_EXPORTS) \
16678 for flag in $(EXTRA_HOST_FLAGS) ; do \
16679 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16680 done; \
16681 echo "Doing clean in libcpp" ; \
16682 (cd $(HOST_SUBDIR)/libcpp && \
16683 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16684 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16685 "RANLIB=$${RANLIB}" \
16686 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16687 clean) \
16688 || exit 1
16690 @endif libcpp
16692 .PHONY: maybe-distclean-libcpp distclean-libcpp
16693 maybe-distclean-libcpp:
16694 @if libcpp
16695 maybe-distclean-libcpp: distclean-libcpp
16697 distclean-libcpp:
16698 @[ -f ./libcpp/Makefile ] || exit 0; \
16699 r=`${PWD_COMMAND}`; export r; \
16700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16701 $(HOST_EXPORTS) \
16702 for flag in $(EXTRA_HOST_FLAGS) ; do \
16703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16704 done; \
16705 echo "Doing distclean in libcpp" ; \
16706 (cd $(HOST_SUBDIR)/libcpp && \
16707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16709 "RANLIB=$${RANLIB}" \
16710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16711 distclean) \
16712 || exit 1
16714 @endif libcpp
16716 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
16717 maybe-maintainer-clean-libcpp:
16718 @if libcpp
16719 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
16721 maintainer-clean-libcpp:
16722 @[ -f ./libcpp/Makefile ] || exit 0; \
16723 r=`${PWD_COMMAND}`; export r; \
16724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16725 $(HOST_EXPORTS) \
16726 for flag in $(EXTRA_HOST_FLAGS) ; do \
16727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16728 done; \
16729 echo "Doing maintainer-clean in libcpp" ; \
16730 (cd $(HOST_SUBDIR)/libcpp && \
16731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16733 "RANLIB=$${RANLIB}" \
16734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16735 maintainer-clean) \
16736 || exit 1
16738 @endif libcpp
16742 .PHONY: configure-libgui maybe-configure-libgui
16743 maybe-configure-libgui:
16744 @if libgui
16745 maybe-configure-libgui: configure-libgui
16746 configure-libgui:
16747 @$(unstage)
16748 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
16749 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
16750 r=`${PWD_COMMAND}`; export r; \
16751 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16752 $(HOST_EXPORTS) \
16753 echo Configuring in $(HOST_SUBDIR)/libgui; \
16754 cd "$(HOST_SUBDIR)/libgui" || exit 1; \
16755 case $(srcdir) in \
16756 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16757 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
16758 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16759 esac; \
16760 srcdiroption="--srcdir=$${topdir}/libgui"; \
16761 libsrcdir="$$s/libgui"; \
16762 $(SHELL) $${libsrcdir}/configure \
16763 $(HOST_CONFIGARGS) $${srcdiroption} \
16764 || exit 1
16765 @endif libgui
16771 .PHONY: all-libgui maybe-all-libgui
16772 maybe-all-libgui:
16773 @if libgui
16774 TARGET-libgui=all
16775 maybe-all-libgui: all-libgui
16776 all-libgui: configure-libgui
16777 @$(unstage)
16778 @r=`${PWD_COMMAND}`; export r; \
16779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16780 $(HOST_EXPORTS) \
16781 (cd $(HOST_SUBDIR)/libgui && \
16782 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
16783 @endif libgui
16788 .PHONY: check-libgui maybe-check-libgui
16789 maybe-check-libgui:
16790 @if libgui
16791 maybe-check-libgui: check-libgui
16793 check-libgui:
16794 @$(unstage)
16795 @r=`${PWD_COMMAND}`; export r; \
16796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16797 $(HOST_EXPORTS) \
16798 (cd $(HOST_SUBDIR)/libgui && \
16799 $(MAKE) $(FLAGS_TO_PASS) check)
16801 @endif libgui
16803 .PHONY: install-libgui maybe-install-libgui
16804 maybe-install-libgui:
16805 @if libgui
16806 maybe-install-libgui: install-libgui
16808 install-libgui: installdirs
16809 @$(unstage)
16810 @r=`${PWD_COMMAND}`; export r; \
16811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16812 $(HOST_EXPORTS) \
16813 (cd $(HOST_SUBDIR)/libgui && \
16814 $(MAKE) $(FLAGS_TO_PASS) install)
16816 @endif libgui
16818 # Other targets (info, dvi, etc.)
16820 .PHONY: maybe-info-libgui info-libgui
16821 maybe-info-libgui:
16822 @if libgui
16823 maybe-info-libgui: info-libgui
16825 info-libgui: \
16826 configure-libgui
16827 @$(unstage)
16828 @[ -f ./libgui/Makefile ] || exit 0; \
16829 r=`${PWD_COMMAND}`; export r; \
16830 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16831 $(HOST_EXPORTS) \
16832 for flag in $(EXTRA_HOST_FLAGS) ; do \
16833 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16834 done; \
16835 echo "Doing info in libgui" ; \
16836 (cd $(HOST_SUBDIR)/libgui && \
16837 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16838 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16839 "RANLIB=$${RANLIB}" \
16840 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16841 info) \
16842 || exit 1
16844 @endif libgui
16846 .PHONY: maybe-dvi-libgui dvi-libgui
16847 maybe-dvi-libgui:
16848 @if libgui
16849 maybe-dvi-libgui: dvi-libgui
16851 dvi-libgui: \
16852 configure-libgui
16853 @$(unstage)
16854 @[ -f ./libgui/Makefile ] || exit 0; \
16855 r=`${PWD_COMMAND}`; export r; \
16856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16857 $(HOST_EXPORTS) \
16858 for flag in $(EXTRA_HOST_FLAGS) ; do \
16859 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16860 done; \
16861 echo "Doing dvi in libgui" ; \
16862 (cd $(HOST_SUBDIR)/libgui && \
16863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16865 "RANLIB=$${RANLIB}" \
16866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16867 dvi) \
16868 || exit 1
16870 @endif libgui
16872 .PHONY: maybe-html-libgui html-libgui
16873 maybe-html-libgui:
16874 @if libgui
16875 maybe-html-libgui: html-libgui
16877 html-libgui: \
16878 configure-libgui
16879 @$(unstage)
16880 @[ -f ./libgui/Makefile ] || exit 0; \
16881 r=`${PWD_COMMAND}`; export r; \
16882 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16883 $(HOST_EXPORTS) \
16884 for flag in $(EXTRA_HOST_FLAGS) ; do \
16885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16886 done; \
16887 echo "Doing html in libgui" ; \
16888 (cd $(HOST_SUBDIR)/libgui && \
16889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16891 "RANLIB=$${RANLIB}" \
16892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16893 html) \
16894 || exit 1
16896 @endif libgui
16898 .PHONY: maybe-TAGS-libgui TAGS-libgui
16899 maybe-TAGS-libgui:
16900 @if libgui
16901 maybe-TAGS-libgui: TAGS-libgui
16903 TAGS-libgui: \
16904 configure-libgui
16905 @$(unstage)
16906 @[ -f ./libgui/Makefile ] || exit 0; \
16907 r=`${PWD_COMMAND}`; export r; \
16908 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16909 $(HOST_EXPORTS) \
16910 for flag in $(EXTRA_HOST_FLAGS) ; do \
16911 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16912 done; \
16913 echo "Doing TAGS in libgui" ; \
16914 (cd $(HOST_SUBDIR)/libgui && \
16915 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16916 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16917 "RANLIB=$${RANLIB}" \
16918 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16919 TAGS) \
16920 || exit 1
16922 @endif libgui
16924 .PHONY: maybe-install-info-libgui install-info-libgui
16925 maybe-install-info-libgui:
16926 @if libgui
16927 maybe-install-info-libgui: install-info-libgui
16929 install-info-libgui: \
16930 configure-libgui \
16931 info-libgui
16932 @$(unstage)
16933 @[ -f ./libgui/Makefile ] || exit 0; \
16934 r=`${PWD_COMMAND}`; export r; \
16935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16936 $(HOST_EXPORTS) \
16937 for flag in $(EXTRA_HOST_FLAGS) ; do \
16938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16939 done; \
16940 echo "Doing install-info in libgui" ; \
16941 (cd $(HOST_SUBDIR)/libgui && \
16942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16944 "RANLIB=$${RANLIB}" \
16945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16946 install-info) \
16947 || exit 1
16949 @endif libgui
16951 .PHONY: maybe-installcheck-libgui installcheck-libgui
16952 maybe-installcheck-libgui:
16953 @if libgui
16954 maybe-installcheck-libgui: installcheck-libgui
16956 installcheck-libgui: \
16957 configure-libgui
16958 @$(unstage)
16959 @[ -f ./libgui/Makefile ] || exit 0; \
16960 r=`${PWD_COMMAND}`; export r; \
16961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16962 $(HOST_EXPORTS) \
16963 for flag in $(EXTRA_HOST_FLAGS) ; do \
16964 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16965 done; \
16966 echo "Doing installcheck in libgui" ; \
16967 (cd $(HOST_SUBDIR)/libgui && \
16968 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16969 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16970 "RANLIB=$${RANLIB}" \
16971 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16972 installcheck) \
16973 || exit 1
16975 @endif libgui
16977 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
16978 maybe-mostlyclean-libgui:
16979 @if libgui
16980 maybe-mostlyclean-libgui: mostlyclean-libgui
16982 mostlyclean-libgui:
16983 @$(unstage)
16984 @[ -f ./libgui/Makefile ] || exit 0; \
16985 r=`${PWD_COMMAND}`; export r; \
16986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16987 $(HOST_EXPORTS) \
16988 for flag in $(EXTRA_HOST_FLAGS) ; do \
16989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16990 done; \
16991 echo "Doing mostlyclean in libgui" ; \
16992 (cd $(HOST_SUBDIR)/libgui && \
16993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16995 "RANLIB=$${RANLIB}" \
16996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16997 mostlyclean) \
16998 || exit 1
17000 @endif libgui
17002 .PHONY: maybe-clean-libgui clean-libgui
17003 maybe-clean-libgui:
17004 @if libgui
17005 maybe-clean-libgui: clean-libgui
17007 clean-libgui:
17008 @$(unstage)
17009 @[ -f ./libgui/Makefile ] || exit 0; \
17010 r=`${PWD_COMMAND}`; export r; \
17011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17012 $(HOST_EXPORTS) \
17013 for flag in $(EXTRA_HOST_FLAGS) ; do \
17014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17015 done; \
17016 echo "Doing clean in libgui" ; \
17017 (cd $(HOST_SUBDIR)/libgui && \
17018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17020 "RANLIB=$${RANLIB}" \
17021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17022 clean) \
17023 || exit 1
17025 @endif libgui
17027 .PHONY: maybe-distclean-libgui distclean-libgui
17028 maybe-distclean-libgui:
17029 @if libgui
17030 maybe-distclean-libgui: distclean-libgui
17032 distclean-libgui:
17033 @$(unstage)
17034 @[ -f ./libgui/Makefile ] || exit 0; \
17035 r=`${PWD_COMMAND}`; export r; \
17036 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17037 $(HOST_EXPORTS) \
17038 for flag in $(EXTRA_HOST_FLAGS) ; do \
17039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17040 done; \
17041 echo "Doing distclean in libgui" ; \
17042 (cd $(HOST_SUBDIR)/libgui && \
17043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17045 "RANLIB=$${RANLIB}" \
17046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17047 distclean) \
17048 || exit 1
17050 @endif libgui
17052 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
17053 maybe-maintainer-clean-libgui:
17054 @if libgui
17055 maybe-maintainer-clean-libgui: maintainer-clean-libgui
17057 maintainer-clean-libgui:
17058 @$(unstage)
17059 @[ -f ./libgui/Makefile ] || exit 0; \
17060 r=`${PWD_COMMAND}`; export r; \
17061 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17062 $(HOST_EXPORTS) \
17063 for flag in $(EXTRA_HOST_FLAGS) ; do \
17064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17065 done; \
17066 echo "Doing maintainer-clean in libgui" ; \
17067 (cd $(HOST_SUBDIR)/libgui && \
17068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17070 "RANLIB=$${RANLIB}" \
17071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17072 maintainer-clean) \
17073 || exit 1
17075 @endif libgui
17079 .PHONY: configure-libiberty maybe-configure-libiberty
17080 maybe-configure-libiberty:
17081 @if libiberty
17082 maybe-configure-libiberty: configure-libiberty
17083 configure-libiberty:
17084 @test -f stage_last && exit 0; \
17085 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
17086 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
17087 r=`${PWD_COMMAND}`; export r; \
17088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17089 $(HOST_EXPORTS) \
17090 echo Configuring in $(HOST_SUBDIR)/libiberty; \
17091 cd "$(HOST_SUBDIR)/libiberty" || exit 1; \
17092 case $(srcdir) in \
17093 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17094 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17095 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17096 esac; \
17097 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17098 libsrcdir="$$s/libiberty"; \
17099 $(SHELL) $${libsrcdir}/configure \
17100 $(HOST_CONFIGARGS) $${srcdiroption} \
17101 || exit 1
17102 @endif libiberty
17106 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
17107 maybe-configure-stage1-libiberty:
17108 @if libiberty-bootstrap
17109 maybe-configure-stage1-libiberty: configure-stage1-libiberty
17110 configure-stage1-libiberty:
17111 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17112 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17113 r=`${PWD_COMMAND}`; export r; \
17114 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17115 $(HOST_EXPORTS) \
17116 echo Configuring stage 1 in $(HOST_SUBDIR)/libiberty ; \
17117 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17118 case $(srcdir) in \
17119 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17120 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17121 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17122 esac; \
17123 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17124 libsrcdir="$$s/libiberty"; \
17125 $(SHELL) $${libsrcdir}/configure \
17126 $(HOST_CONFIGARGS) $${srcdiroption} \
17127 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
17128 @endif libiberty-bootstrap
17130 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
17131 maybe-configure-stage2-libiberty:
17132 @if libiberty-bootstrap
17133 maybe-configure-stage2-libiberty: configure-stage2-libiberty
17134 configure-stage2-libiberty:
17135 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17136 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17137 r=`${PWD_COMMAND}`; export r; \
17138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17139 $(HOST_EXPORTS) \
17140 $(POSTSTAGE1_HOST_EXPORTS) \
17141 echo Configuring stage 2 in $(HOST_SUBDIR)/libiberty ; \
17142 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17143 case $(srcdir) in \
17144 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17145 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17146 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17147 esac; \
17148 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17149 libsrcdir="$$s/libiberty"; \
17150 $(SHELL) $${libsrcdir}/configure \
17151 $(HOST_CONFIGARGS) $${srcdiroption} \
17152 @stage2_werror_flag@
17153 @endif libiberty-bootstrap
17155 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
17156 maybe-configure-stage3-libiberty:
17157 @if libiberty-bootstrap
17158 maybe-configure-stage3-libiberty: configure-stage3-libiberty
17159 configure-stage3-libiberty:
17160 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17161 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17162 r=`${PWD_COMMAND}`; export r; \
17163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17164 $(HOST_EXPORTS) \
17165 $(POSTSTAGE1_HOST_EXPORTS) \
17166 echo Configuring stage 3 in $(HOST_SUBDIR)/libiberty ; \
17167 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17168 case $(srcdir) in \
17169 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17170 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17171 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17172 esac; \
17173 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17174 libsrcdir="$$s/libiberty"; \
17175 $(SHELL) $${libsrcdir}/configure \
17176 $(HOST_CONFIGARGS) $${srcdiroption} \
17177 @stage2_werror_flag@
17178 @endif libiberty-bootstrap
17180 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
17181 maybe-configure-stage4-libiberty:
17182 @if libiberty-bootstrap
17183 maybe-configure-stage4-libiberty: configure-stage4-libiberty
17184 configure-stage4-libiberty:
17185 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17186 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17187 r=`${PWD_COMMAND}`; export r; \
17188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17189 $(HOST_EXPORTS) \
17190 $(POSTSTAGE1_HOST_EXPORTS) \
17191 echo Configuring stage 4 in $(HOST_SUBDIR)/libiberty ; \
17192 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17193 case $(srcdir) in \
17194 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17195 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17196 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17197 esac; \
17198 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17199 libsrcdir="$$s/libiberty"; \
17200 $(SHELL) $${libsrcdir}/configure \
17201 $(HOST_CONFIGARGS) $${srcdiroption} \
17202 @stage2_werror_flag@
17203 @endif libiberty-bootstrap
17205 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
17206 maybe-configure-stageprofile-libiberty:
17207 @if libiberty-bootstrap
17208 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
17209 configure-stageprofile-libiberty:
17210 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17211 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17212 r=`${PWD_COMMAND}`; export r; \
17213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17214 $(HOST_EXPORTS) \
17215 $(POSTSTAGE1_HOST_EXPORTS) \
17216 echo Configuring stage profile in $(HOST_SUBDIR)/libiberty ; \
17217 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17218 case $(srcdir) in \
17219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17220 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17222 esac; \
17223 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17224 libsrcdir="$$s/libiberty"; \
17225 $(SHELL) $${libsrcdir}/configure \
17226 $(HOST_CONFIGARGS) $${srcdiroption} \
17227 @stage2_werror_flag@
17228 @endif libiberty-bootstrap
17230 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
17231 maybe-configure-stagefeedback-libiberty:
17232 @if libiberty-bootstrap
17233 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
17234 configure-stagefeedback-libiberty:
17235 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17236 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] && exit 0 || : ; \
17237 r=`${PWD_COMMAND}`; export r; \
17238 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17239 $(HOST_EXPORTS) \
17240 $(POSTSTAGE1_HOST_EXPORTS) \
17241 echo Configuring stage feedback in $(HOST_SUBDIR)/libiberty ; \
17242 cd $(HOST_SUBDIR)/libiberty || exit 1; \
17243 case $(srcdir) in \
17244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17245 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
17246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17247 esac; \
17248 srcdiroption="--srcdir=$${topdir}/libiberty"; \
17249 libsrcdir="$$s/libiberty"; \
17250 $(SHELL) $${libsrcdir}/configure \
17251 $(HOST_CONFIGARGS) $${srcdiroption} \
17252 @stage2_werror_flag@
17253 @endif libiberty-bootstrap
17259 .PHONY: all-libiberty maybe-all-libiberty
17260 maybe-all-libiberty:
17261 @if libiberty
17262 TARGET-libiberty=all
17263 maybe-all-libiberty: all-libiberty
17264 all-libiberty: configure-libiberty
17265 @test -f stage_last && exit 0; \
17266 r=`${PWD_COMMAND}`; export r; \
17267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17268 $(HOST_EXPORTS) \
17269 (cd $(HOST_SUBDIR)/libiberty && \
17270 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
17271 @endif libiberty
17275 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
17276 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
17277 maybe-all-stage1-libiberty:
17278 maybe-clean-stage1-libiberty:
17279 @if libiberty-bootstrap
17280 maybe-all-stage1-libiberty: all-stage1-libiberty
17281 all-stage1: all-stage1-libiberty
17282 TARGET-stage1-libiberty = $(TARGET-libiberty)
17283 all-stage1-libiberty: configure-stage1-libiberty
17284 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17285 @r=`${PWD_COMMAND}`; export r; \
17286 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17287 $(HOST_EXPORTS) \
17288 cd $(HOST_SUBDIR)/libiberty && \
17289 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
17290 $(TARGET-stage1-libiberty)
17292 maybe-clean-stage1-libiberty: clean-stage1-libiberty
17293 clean-stage1: clean-stage1-libiberty
17294 clean-stage1-libiberty:
17295 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-libiberty/Makefile ] \
17296 || exit 0 ; \
17297 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
17298 cd $(HOST_SUBDIR)/libiberty && \
17299 $(MAKE) $(FLAGS_TO_PASS) \
17300 CFLAGS="$(STAGE1_CFLAGS)" clean
17301 @endif libiberty-bootstrap
17304 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
17305 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
17306 maybe-all-stage2-libiberty:
17307 maybe-clean-stage2-libiberty:
17308 @if libiberty-bootstrap
17309 maybe-all-stage2-libiberty: all-stage2-libiberty
17310 all-stage2: all-stage2-libiberty
17311 TARGET-stage2-libiberty = $(TARGET-libiberty)
17312 all-stage2-libiberty: configure-stage2-libiberty
17313 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17314 @r=`${PWD_COMMAND}`; export r; \
17315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17316 $(HOST_EXPORTS) \
17317 $(POSTSTAGE1_HOST_EXPORTS) \
17318 cd $(HOST_SUBDIR)/libiberty && \
17319 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17320 $(TARGET-stage2-libiberty)
17322 maybe-clean-stage2-libiberty: clean-stage2-libiberty
17323 clean-stage2: clean-stage2-libiberty
17324 clean-stage2-libiberty:
17325 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-libiberty/Makefile ] \
17326 || exit 0 ; \
17327 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
17328 cd $(HOST_SUBDIR)/libiberty && \
17329 $(MAKE) $(FLAGS_TO_PASS) \
17330 $(POSTSTAGE1_FLAGS_TO_PASS) \
17331 clean
17332 @endif libiberty-bootstrap
17335 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
17336 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
17337 maybe-all-stage3-libiberty:
17338 maybe-clean-stage3-libiberty:
17339 @if libiberty-bootstrap
17340 maybe-all-stage3-libiberty: all-stage3-libiberty
17341 all-stage3: all-stage3-libiberty
17342 TARGET-stage3-libiberty = $(TARGET-libiberty)
17343 all-stage3-libiberty: configure-stage3-libiberty
17344 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17345 @r=`${PWD_COMMAND}`; export r; \
17346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17347 $(HOST_EXPORTS) \
17348 $(POSTSTAGE1_HOST_EXPORTS) \
17349 cd $(HOST_SUBDIR)/libiberty && \
17350 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17351 $(TARGET-stage3-libiberty)
17353 maybe-clean-stage3-libiberty: clean-stage3-libiberty
17354 clean-stage3: clean-stage3-libiberty
17355 clean-stage3-libiberty:
17356 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-libiberty/Makefile ] \
17357 || exit 0 ; \
17358 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
17359 cd $(HOST_SUBDIR)/libiberty && \
17360 $(MAKE) $(FLAGS_TO_PASS) \
17361 $(POSTSTAGE1_FLAGS_TO_PASS) \
17362 clean
17363 @endif libiberty-bootstrap
17366 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
17367 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
17368 maybe-all-stage4-libiberty:
17369 maybe-clean-stage4-libiberty:
17370 @if libiberty-bootstrap
17371 maybe-all-stage4-libiberty: all-stage4-libiberty
17372 all-stage4: all-stage4-libiberty
17373 TARGET-stage4-libiberty = $(TARGET-libiberty)
17374 all-stage4-libiberty: configure-stage4-libiberty
17375 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17376 @r=`${PWD_COMMAND}`; export r; \
17377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17378 $(HOST_EXPORTS) \
17379 $(POSTSTAGE1_HOST_EXPORTS) \
17380 cd $(HOST_SUBDIR)/libiberty && \
17381 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
17382 $(TARGET-stage4-libiberty)
17384 maybe-clean-stage4-libiberty: clean-stage4-libiberty
17385 clean-stage4: clean-stage4-libiberty
17386 clean-stage4-libiberty:
17387 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-libiberty/Makefile ] \
17388 || exit 0 ; \
17389 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
17390 cd $(HOST_SUBDIR)/libiberty && \
17391 $(MAKE) $(FLAGS_TO_PASS) \
17392 $(POSTSTAGE1_FLAGS_TO_PASS) \
17393 clean
17394 @endif libiberty-bootstrap
17397 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
17398 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
17399 maybe-all-stageprofile-libiberty:
17400 maybe-clean-stageprofile-libiberty:
17401 @if libiberty-bootstrap
17402 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
17403 all-stageprofile: all-stageprofile-libiberty
17404 TARGET-stageprofile-libiberty = $(TARGET-libiberty)
17405 all-stageprofile-libiberty: configure-stageprofile-libiberty
17406 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17407 @r=`${PWD_COMMAND}`; export r; \
17408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17409 $(HOST_EXPORTS) \
17410 $(POSTSTAGE1_HOST_EXPORTS) \
17411 cd $(HOST_SUBDIR)/libiberty && \
17412 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
17413 $(TARGET-stageprofile-libiberty)
17415 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
17416 clean-stageprofile: clean-stageprofile-libiberty
17417 clean-stageprofile-libiberty:
17418 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-libiberty/Makefile ] \
17419 || exit 0 ; \
17420 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
17421 cd $(HOST_SUBDIR)/libiberty && \
17422 $(MAKE) $(FLAGS_TO_PASS) \
17423 $(POSTSTAGE1_FLAGS_TO_PASS) \
17424 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
17425 @endif libiberty-bootstrap
17428 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
17429 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
17430 maybe-all-stagefeedback-libiberty:
17431 maybe-clean-stagefeedback-libiberty:
17432 @if libiberty-bootstrap
17433 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
17434 all-stagefeedback: all-stagefeedback-libiberty
17435 TARGET-stagefeedback-libiberty = $(TARGET-libiberty)
17436 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
17437 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17438 @r=`${PWD_COMMAND}`; export r; \
17439 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17440 $(HOST_EXPORTS) \
17441 $(POSTSTAGE1_HOST_EXPORTS) \
17442 cd $(HOST_SUBDIR)/libiberty && \
17443 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
17444 $(TARGET-stagefeedback-libiberty)
17446 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
17447 clean-stagefeedback: clean-stagefeedback-libiberty
17448 clean-stagefeedback-libiberty:
17449 @[ -f $(HOST_SUBDIR)/libiberty/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-libiberty/Makefile ] \
17450 || exit 0 ; \
17451 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
17452 cd $(HOST_SUBDIR)/libiberty && \
17453 $(MAKE) $(FLAGS_TO_PASS) \
17454 $(POSTSTAGE1_FLAGS_TO_PASS) \
17455 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
17456 @endif libiberty-bootstrap
17462 .PHONY: check-libiberty maybe-check-libiberty
17463 maybe-check-libiberty:
17464 @if libiberty
17465 maybe-check-libiberty: check-libiberty
17467 check-libiberty:
17468 @$(unstage)
17469 @r=`${PWD_COMMAND}`; export r; \
17470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17471 $(HOST_EXPORTS) \
17472 (cd $(HOST_SUBDIR)/libiberty && \
17473 $(MAKE) $(FLAGS_TO_PASS) check)
17475 @endif libiberty
17477 .PHONY: install-libiberty maybe-install-libiberty
17478 maybe-install-libiberty:
17479 @if libiberty
17480 maybe-install-libiberty: install-libiberty
17482 install-libiberty: installdirs
17483 @$(unstage)
17484 @r=`${PWD_COMMAND}`; export r; \
17485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17486 $(HOST_EXPORTS) \
17487 (cd $(HOST_SUBDIR)/libiberty && \
17488 $(MAKE) $(FLAGS_TO_PASS) install)
17490 @endif libiberty
17492 # Other targets (info, dvi, etc.)
17494 .PHONY: maybe-info-libiberty info-libiberty
17495 maybe-info-libiberty:
17496 @if libiberty
17497 maybe-info-libiberty: info-libiberty
17499 info-libiberty: \
17500 configure-libiberty
17501 @[ -f ./libiberty/Makefile ] || exit 0; \
17502 r=`${PWD_COMMAND}`; export r; \
17503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17504 $(HOST_EXPORTS) \
17505 for flag in $(EXTRA_HOST_FLAGS) ; do \
17506 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17507 done; \
17508 echo "Doing info in libiberty" ; \
17509 (cd $(HOST_SUBDIR)/libiberty && \
17510 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17511 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17512 "RANLIB=$${RANLIB}" \
17513 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17514 info) \
17515 || exit 1
17517 @endif libiberty
17519 .PHONY: maybe-dvi-libiberty dvi-libiberty
17520 maybe-dvi-libiberty:
17521 @if libiberty
17522 maybe-dvi-libiberty: dvi-libiberty
17524 dvi-libiberty: \
17525 configure-libiberty
17526 @[ -f ./libiberty/Makefile ] || exit 0; \
17527 r=`${PWD_COMMAND}`; export r; \
17528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17529 $(HOST_EXPORTS) \
17530 for flag in $(EXTRA_HOST_FLAGS) ; do \
17531 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17532 done; \
17533 echo "Doing dvi in libiberty" ; \
17534 (cd $(HOST_SUBDIR)/libiberty && \
17535 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17536 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17537 "RANLIB=$${RANLIB}" \
17538 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17539 dvi) \
17540 || exit 1
17542 @endif libiberty
17544 .PHONY: maybe-html-libiberty html-libiberty
17545 maybe-html-libiberty:
17546 @if libiberty
17547 maybe-html-libiberty: html-libiberty
17549 html-libiberty: \
17550 configure-libiberty
17551 @[ -f ./libiberty/Makefile ] || exit 0; \
17552 r=`${PWD_COMMAND}`; export r; \
17553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17554 $(HOST_EXPORTS) \
17555 for flag in $(EXTRA_HOST_FLAGS) ; do \
17556 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17557 done; \
17558 echo "Doing html in libiberty" ; \
17559 (cd $(HOST_SUBDIR)/libiberty && \
17560 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17561 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17562 "RANLIB=$${RANLIB}" \
17563 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17564 html) \
17565 || exit 1
17567 @endif libiberty
17569 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
17570 maybe-TAGS-libiberty:
17571 @if libiberty
17572 maybe-TAGS-libiberty: TAGS-libiberty
17574 TAGS-libiberty: \
17575 configure-libiberty
17576 @[ -f ./libiberty/Makefile ] || exit 0; \
17577 r=`${PWD_COMMAND}`; export r; \
17578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17579 $(HOST_EXPORTS) \
17580 for flag in $(EXTRA_HOST_FLAGS) ; do \
17581 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17582 done; \
17583 echo "Doing TAGS in libiberty" ; \
17584 (cd $(HOST_SUBDIR)/libiberty && \
17585 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17586 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17587 "RANLIB=$${RANLIB}" \
17588 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17589 TAGS) \
17590 || exit 1
17592 @endif libiberty
17594 .PHONY: maybe-install-info-libiberty install-info-libiberty
17595 maybe-install-info-libiberty:
17596 @if libiberty
17597 maybe-install-info-libiberty: install-info-libiberty
17599 install-info-libiberty: \
17600 configure-libiberty \
17601 info-libiberty
17602 @[ -f ./libiberty/Makefile ] || exit 0; \
17603 r=`${PWD_COMMAND}`; export r; \
17604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17605 $(HOST_EXPORTS) \
17606 for flag in $(EXTRA_HOST_FLAGS) ; do \
17607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17608 done; \
17609 echo "Doing install-info in libiberty" ; \
17610 (cd $(HOST_SUBDIR)/libiberty && \
17611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17613 "RANLIB=$${RANLIB}" \
17614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17615 install-info) \
17616 || exit 1
17618 @endif libiberty
17620 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
17621 maybe-installcheck-libiberty:
17622 @if libiberty
17623 maybe-installcheck-libiberty: installcheck-libiberty
17625 installcheck-libiberty: \
17626 configure-libiberty
17627 @[ -f ./libiberty/Makefile ] || exit 0; \
17628 r=`${PWD_COMMAND}`; export r; \
17629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17630 $(HOST_EXPORTS) \
17631 for flag in $(EXTRA_HOST_FLAGS) ; do \
17632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17633 done; \
17634 echo "Doing installcheck in libiberty" ; \
17635 (cd $(HOST_SUBDIR)/libiberty && \
17636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17638 "RANLIB=$${RANLIB}" \
17639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17640 installcheck) \
17641 || exit 1
17643 @endif libiberty
17645 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
17646 maybe-mostlyclean-libiberty:
17647 @if libiberty
17648 maybe-mostlyclean-libiberty: mostlyclean-libiberty
17650 mostlyclean-libiberty:
17651 @[ -f ./libiberty/Makefile ] || exit 0; \
17652 r=`${PWD_COMMAND}`; export r; \
17653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17654 $(HOST_EXPORTS) \
17655 for flag in $(EXTRA_HOST_FLAGS) ; do \
17656 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17657 done; \
17658 echo "Doing mostlyclean in libiberty" ; \
17659 (cd $(HOST_SUBDIR)/libiberty && \
17660 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17661 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17662 "RANLIB=$${RANLIB}" \
17663 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17664 mostlyclean) \
17665 || exit 1
17667 @endif libiberty
17669 .PHONY: maybe-clean-libiberty clean-libiberty
17670 maybe-clean-libiberty:
17671 @if libiberty
17672 maybe-clean-libiberty: clean-libiberty
17674 clean-libiberty:
17675 @[ -f ./libiberty/Makefile ] || exit 0; \
17676 r=`${PWD_COMMAND}`; export r; \
17677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17678 $(HOST_EXPORTS) \
17679 for flag in $(EXTRA_HOST_FLAGS) ; do \
17680 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17681 done; \
17682 echo "Doing clean in libiberty" ; \
17683 (cd $(HOST_SUBDIR)/libiberty && \
17684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17686 "RANLIB=$${RANLIB}" \
17687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17688 clean) \
17689 || exit 1
17691 @endif libiberty
17693 .PHONY: maybe-distclean-libiberty distclean-libiberty
17694 maybe-distclean-libiberty:
17695 @if libiberty
17696 maybe-distclean-libiberty: distclean-libiberty
17698 distclean-libiberty:
17699 @[ -f ./libiberty/Makefile ] || exit 0; \
17700 r=`${PWD_COMMAND}`; export r; \
17701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17702 $(HOST_EXPORTS) \
17703 for flag in $(EXTRA_HOST_FLAGS) ; do \
17704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17705 done; \
17706 echo "Doing distclean in libiberty" ; \
17707 (cd $(HOST_SUBDIR)/libiberty && \
17708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17710 "RANLIB=$${RANLIB}" \
17711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17712 distclean) \
17713 || exit 1
17715 @endif libiberty
17717 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
17718 maybe-maintainer-clean-libiberty:
17719 @if libiberty
17720 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
17722 maintainer-clean-libiberty:
17723 @[ -f ./libiberty/Makefile ] || exit 0; \
17724 r=`${PWD_COMMAND}`; export r; \
17725 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17726 $(HOST_EXPORTS) \
17727 for flag in $(EXTRA_HOST_FLAGS) ; do \
17728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17729 done; \
17730 echo "Doing maintainer-clean in libiberty" ; \
17731 (cd $(HOST_SUBDIR)/libiberty && \
17732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17734 "RANLIB=$${RANLIB}" \
17735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17736 maintainer-clean) \
17737 || exit 1
17739 @endif libiberty
17743 .PHONY: configure-libtool maybe-configure-libtool
17744 maybe-configure-libtool:
17745 @if libtool
17746 maybe-configure-libtool: configure-libtool
17747 configure-libtool:
17748 @$(unstage)
17749 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
17750 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
17751 r=`${PWD_COMMAND}`; export r; \
17752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17753 $(HOST_EXPORTS) \
17754 echo Configuring in $(HOST_SUBDIR)/libtool; \
17755 cd "$(HOST_SUBDIR)/libtool" || exit 1; \
17756 case $(srcdir) in \
17757 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17758 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
17759 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17760 esac; \
17761 srcdiroption="--srcdir=$${topdir}/libtool"; \
17762 libsrcdir="$$s/libtool"; \
17763 $(SHELL) $${libsrcdir}/configure \
17764 $(HOST_CONFIGARGS) $${srcdiroption} \
17765 || exit 1
17766 @endif libtool
17772 .PHONY: all-libtool maybe-all-libtool
17773 maybe-all-libtool:
17774 @if libtool
17775 TARGET-libtool=all
17776 maybe-all-libtool: all-libtool
17777 all-libtool: configure-libtool
17778 @$(unstage)
17779 @r=`${PWD_COMMAND}`; export r; \
17780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17781 $(HOST_EXPORTS) \
17782 (cd $(HOST_SUBDIR)/libtool && \
17783 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
17784 @endif libtool
17789 .PHONY: check-libtool maybe-check-libtool
17790 maybe-check-libtool:
17791 @if libtool
17792 maybe-check-libtool: check-libtool
17794 check-libtool:
17795 @$(unstage)
17796 @r=`${PWD_COMMAND}`; export r; \
17797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17798 $(HOST_EXPORTS) \
17799 (cd $(HOST_SUBDIR)/libtool && \
17800 $(MAKE) $(FLAGS_TO_PASS) check)
17802 @endif libtool
17804 .PHONY: install-libtool maybe-install-libtool
17805 maybe-install-libtool:
17806 @if libtool
17807 maybe-install-libtool: install-libtool
17809 install-libtool: installdirs
17810 @$(unstage)
17811 @r=`${PWD_COMMAND}`; export r; \
17812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17813 $(HOST_EXPORTS) \
17814 (cd $(HOST_SUBDIR)/libtool && \
17815 $(MAKE) $(FLAGS_TO_PASS) install)
17817 @endif libtool
17819 # Other targets (info, dvi, etc.)
17821 .PHONY: maybe-info-libtool info-libtool
17822 maybe-info-libtool:
17823 @if libtool
17824 maybe-info-libtool: info-libtool
17826 info-libtool: \
17827 configure-libtool
17828 @$(unstage)
17829 @[ -f ./libtool/Makefile ] || exit 0; \
17830 r=`${PWD_COMMAND}`; export r; \
17831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17832 $(HOST_EXPORTS) \
17833 for flag in $(EXTRA_HOST_FLAGS) ; do \
17834 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17835 done; \
17836 echo "Doing info in libtool" ; \
17837 (cd $(HOST_SUBDIR)/libtool && \
17838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17840 "RANLIB=$${RANLIB}" \
17841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17842 info) \
17843 || exit 1
17845 @endif libtool
17847 .PHONY: maybe-dvi-libtool dvi-libtool
17848 maybe-dvi-libtool:
17849 @if libtool
17850 maybe-dvi-libtool: dvi-libtool
17852 dvi-libtool: \
17853 configure-libtool
17854 @$(unstage)
17855 @[ -f ./libtool/Makefile ] || exit 0; \
17856 r=`${PWD_COMMAND}`; export r; \
17857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17858 $(HOST_EXPORTS) \
17859 for flag in $(EXTRA_HOST_FLAGS) ; do \
17860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17861 done; \
17862 echo "Doing dvi in libtool" ; \
17863 (cd $(HOST_SUBDIR)/libtool && \
17864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17866 "RANLIB=$${RANLIB}" \
17867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17868 dvi) \
17869 || exit 1
17871 @endif libtool
17873 .PHONY: maybe-html-libtool html-libtool
17874 maybe-html-libtool:
17875 @if libtool
17876 maybe-html-libtool: html-libtool
17878 html-libtool: \
17879 configure-libtool
17880 @$(unstage)
17881 @[ -f ./libtool/Makefile ] || exit 0; \
17882 r=`${PWD_COMMAND}`; export r; \
17883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17884 $(HOST_EXPORTS) \
17885 for flag in $(EXTRA_HOST_FLAGS) ; do \
17886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17887 done; \
17888 echo "Doing html in libtool" ; \
17889 (cd $(HOST_SUBDIR)/libtool && \
17890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17892 "RANLIB=$${RANLIB}" \
17893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17894 html) \
17895 || exit 1
17897 @endif libtool
17899 .PHONY: maybe-TAGS-libtool TAGS-libtool
17900 maybe-TAGS-libtool:
17901 @if libtool
17902 maybe-TAGS-libtool: TAGS-libtool
17904 TAGS-libtool: \
17905 configure-libtool
17906 @$(unstage)
17907 @[ -f ./libtool/Makefile ] || exit 0; \
17908 r=`${PWD_COMMAND}`; export r; \
17909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17910 $(HOST_EXPORTS) \
17911 for flag in $(EXTRA_HOST_FLAGS) ; do \
17912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17913 done; \
17914 echo "Doing TAGS in libtool" ; \
17915 (cd $(HOST_SUBDIR)/libtool && \
17916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17918 "RANLIB=$${RANLIB}" \
17919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17920 TAGS) \
17921 || exit 1
17923 @endif libtool
17925 .PHONY: maybe-install-info-libtool install-info-libtool
17926 maybe-install-info-libtool:
17927 @if libtool
17928 maybe-install-info-libtool: install-info-libtool
17930 install-info-libtool: \
17931 configure-libtool \
17932 info-libtool
17933 @$(unstage)
17934 @[ -f ./libtool/Makefile ] || exit 0; \
17935 r=`${PWD_COMMAND}`; export r; \
17936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17937 $(HOST_EXPORTS) \
17938 for flag in $(EXTRA_HOST_FLAGS) ; do \
17939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17940 done; \
17941 echo "Doing install-info in libtool" ; \
17942 (cd $(HOST_SUBDIR)/libtool && \
17943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17945 "RANLIB=$${RANLIB}" \
17946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17947 install-info) \
17948 || exit 1
17950 @endif libtool
17952 .PHONY: maybe-installcheck-libtool installcheck-libtool
17953 maybe-installcheck-libtool:
17954 @if libtool
17955 maybe-installcheck-libtool: installcheck-libtool
17957 installcheck-libtool: \
17958 configure-libtool
17959 @$(unstage)
17960 @[ -f ./libtool/Makefile ] || exit 0; \
17961 r=`${PWD_COMMAND}`; export r; \
17962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17963 $(HOST_EXPORTS) \
17964 for flag in $(EXTRA_HOST_FLAGS) ; do \
17965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17966 done; \
17967 echo "Doing installcheck in libtool" ; \
17968 (cd $(HOST_SUBDIR)/libtool && \
17969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17971 "RANLIB=$${RANLIB}" \
17972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17973 installcheck) \
17974 || exit 1
17976 @endif libtool
17978 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
17979 maybe-mostlyclean-libtool:
17980 @if libtool
17981 maybe-mostlyclean-libtool: mostlyclean-libtool
17983 mostlyclean-libtool:
17984 @$(unstage)
17985 @[ -f ./libtool/Makefile ] || exit 0; \
17986 r=`${PWD_COMMAND}`; export r; \
17987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17988 $(HOST_EXPORTS) \
17989 for flag in $(EXTRA_HOST_FLAGS) ; do \
17990 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17991 done; \
17992 echo "Doing mostlyclean in libtool" ; \
17993 (cd $(HOST_SUBDIR)/libtool && \
17994 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17995 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17996 "RANLIB=$${RANLIB}" \
17997 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17998 mostlyclean) \
17999 || exit 1
18001 @endif libtool
18003 .PHONY: maybe-clean-libtool clean-libtool
18004 maybe-clean-libtool:
18005 @if libtool
18006 maybe-clean-libtool: clean-libtool
18008 clean-libtool:
18009 @$(unstage)
18010 @[ -f ./libtool/Makefile ] || exit 0; \
18011 r=`${PWD_COMMAND}`; export r; \
18012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18013 $(HOST_EXPORTS) \
18014 for flag in $(EXTRA_HOST_FLAGS) ; do \
18015 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18016 done; \
18017 echo "Doing clean in libtool" ; \
18018 (cd $(HOST_SUBDIR)/libtool && \
18019 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18020 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18021 "RANLIB=$${RANLIB}" \
18022 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18023 clean) \
18024 || exit 1
18026 @endif libtool
18028 .PHONY: maybe-distclean-libtool distclean-libtool
18029 maybe-distclean-libtool:
18030 @if libtool
18031 maybe-distclean-libtool: distclean-libtool
18033 distclean-libtool:
18034 @$(unstage)
18035 @[ -f ./libtool/Makefile ] || exit 0; \
18036 r=`${PWD_COMMAND}`; export r; \
18037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18038 $(HOST_EXPORTS) \
18039 for flag in $(EXTRA_HOST_FLAGS) ; do \
18040 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18041 done; \
18042 echo "Doing distclean in libtool" ; \
18043 (cd $(HOST_SUBDIR)/libtool && \
18044 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18045 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18046 "RANLIB=$${RANLIB}" \
18047 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18048 distclean) \
18049 || exit 1
18051 @endif libtool
18053 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
18054 maybe-maintainer-clean-libtool:
18055 @if libtool
18056 maybe-maintainer-clean-libtool: maintainer-clean-libtool
18058 maintainer-clean-libtool:
18059 @$(unstage)
18060 @[ -f ./libtool/Makefile ] || exit 0; \
18061 r=`${PWD_COMMAND}`; export r; \
18062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18063 $(HOST_EXPORTS) \
18064 for flag in $(EXTRA_HOST_FLAGS) ; do \
18065 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18066 done; \
18067 echo "Doing maintainer-clean in libtool" ; \
18068 (cd $(HOST_SUBDIR)/libtool && \
18069 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18070 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18071 "RANLIB=$${RANLIB}" \
18072 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18073 maintainer-clean) \
18074 || exit 1
18076 @endif libtool
18080 .PHONY: configure-m4 maybe-configure-m4
18081 maybe-configure-m4:
18082 @if m4
18083 maybe-configure-m4: configure-m4
18084 configure-m4:
18085 @$(unstage)
18086 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
18087 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
18088 r=`${PWD_COMMAND}`; export r; \
18089 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18090 $(HOST_EXPORTS) \
18091 echo Configuring in $(HOST_SUBDIR)/m4; \
18092 cd "$(HOST_SUBDIR)/m4" || exit 1; \
18093 case $(srcdir) in \
18094 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18095 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
18096 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18097 esac; \
18098 srcdiroption="--srcdir=$${topdir}/m4"; \
18099 libsrcdir="$$s/m4"; \
18100 $(SHELL) $${libsrcdir}/configure \
18101 $(HOST_CONFIGARGS) $${srcdiroption} \
18102 || exit 1
18103 @endif m4
18109 .PHONY: all-m4 maybe-all-m4
18110 maybe-all-m4:
18111 @if m4
18112 TARGET-m4=all
18113 maybe-all-m4: all-m4
18114 all-m4: configure-m4
18115 @$(unstage)
18116 @r=`${PWD_COMMAND}`; export r; \
18117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18118 $(HOST_EXPORTS) \
18119 (cd $(HOST_SUBDIR)/m4 && \
18120 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
18121 @endif m4
18126 .PHONY: check-m4 maybe-check-m4
18127 maybe-check-m4:
18128 @if m4
18129 maybe-check-m4: check-m4
18131 check-m4:
18132 @$(unstage)
18133 @r=`${PWD_COMMAND}`; export r; \
18134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18135 $(HOST_EXPORTS) \
18136 (cd $(HOST_SUBDIR)/m4 && \
18137 $(MAKE) $(FLAGS_TO_PASS) check)
18139 @endif m4
18141 .PHONY: install-m4 maybe-install-m4
18142 maybe-install-m4:
18143 @if m4
18144 maybe-install-m4: install-m4
18146 install-m4: installdirs
18147 @$(unstage)
18148 @r=`${PWD_COMMAND}`; export r; \
18149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18150 $(HOST_EXPORTS) \
18151 (cd $(HOST_SUBDIR)/m4 && \
18152 $(MAKE) $(FLAGS_TO_PASS) install)
18154 @endif m4
18156 # Other targets (info, dvi, etc.)
18158 .PHONY: maybe-info-m4 info-m4
18159 maybe-info-m4:
18160 @if m4
18161 maybe-info-m4: info-m4
18163 info-m4: \
18164 configure-m4
18165 @$(unstage)
18166 @[ -f ./m4/Makefile ] || exit 0; \
18167 r=`${PWD_COMMAND}`; export r; \
18168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18169 $(HOST_EXPORTS) \
18170 for flag in $(EXTRA_HOST_FLAGS) ; do \
18171 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18172 done; \
18173 echo "Doing info in m4" ; \
18174 (cd $(HOST_SUBDIR)/m4 && \
18175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18177 "RANLIB=$${RANLIB}" \
18178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18179 info) \
18180 || exit 1
18182 @endif m4
18184 .PHONY: maybe-dvi-m4 dvi-m4
18185 maybe-dvi-m4:
18186 @if m4
18187 maybe-dvi-m4: dvi-m4
18189 dvi-m4: \
18190 configure-m4
18191 @$(unstage)
18192 @[ -f ./m4/Makefile ] || exit 0; \
18193 r=`${PWD_COMMAND}`; export r; \
18194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18195 $(HOST_EXPORTS) \
18196 for flag in $(EXTRA_HOST_FLAGS) ; do \
18197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18198 done; \
18199 echo "Doing dvi in m4" ; \
18200 (cd $(HOST_SUBDIR)/m4 && \
18201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18203 "RANLIB=$${RANLIB}" \
18204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18205 dvi) \
18206 || exit 1
18208 @endif m4
18210 .PHONY: maybe-html-m4 html-m4
18211 maybe-html-m4:
18212 @if m4
18213 maybe-html-m4: html-m4
18215 html-m4: \
18216 configure-m4
18217 @$(unstage)
18218 @[ -f ./m4/Makefile ] || exit 0; \
18219 r=`${PWD_COMMAND}`; export r; \
18220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18221 $(HOST_EXPORTS) \
18222 for flag in $(EXTRA_HOST_FLAGS) ; do \
18223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18224 done; \
18225 echo "Doing html in m4" ; \
18226 (cd $(HOST_SUBDIR)/m4 && \
18227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18229 "RANLIB=$${RANLIB}" \
18230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18231 html) \
18232 || exit 1
18234 @endif m4
18236 .PHONY: maybe-TAGS-m4 TAGS-m4
18237 maybe-TAGS-m4:
18238 @if m4
18239 maybe-TAGS-m4: TAGS-m4
18241 TAGS-m4: \
18242 configure-m4
18243 @$(unstage)
18244 @[ -f ./m4/Makefile ] || exit 0; \
18245 r=`${PWD_COMMAND}`; export r; \
18246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18247 $(HOST_EXPORTS) \
18248 for flag in $(EXTRA_HOST_FLAGS) ; do \
18249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18250 done; \
18251 echo "Doing TAGS in m4" ; \
18252 (cd $(HOST_SUBDIR)/m4 && \
18253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18255 "RANLIB=$${RANLIB}" \
18256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18257 TAGS) \
18258 || exit 1
18260 @endif m4
18262 .PHONY: maybe-install-info-m4 install-info-m4
18263 maybe-install-info-m4:
18264 @if m4
18265 maybe-install-info-m4: install-info-m4
18267 install-info-m4: \
18268 configure-m4 \
18269 info-m4
18270 @$(unstage)
18271 @[ -f ./m4/Makefile ] || exit 0; \
18272 r=`${PWD_COMMAND}`; export r; \
18273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18274 $(HOST_EXPORTS) \
18275 for flag in $(EXTRA_HOST_FLAGS) ; do \
18276 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18277 done; \
18278 echo "Doing install-info in m4" ; \
18279 (cd $(HOST_SUBDIR)/m4 && \
18280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18282 "RANLIB=$${RANLIB}" \
18283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18284 install-info) \
18285 || exit 1
18287 @endif m4
18289 .PHONY: maybe-installcheck-m4 installcheck-m4
18290 maybe-installcheck-m4:
18291 @if m4
18292 maybe-installcheck-m4: installcheck-m4
18294 installcheck-m4: \
18295 configure-m4
18296 @$(unstage)
18297 @[ -f ./m4/Makefile ] || exit 0; \
18298 r=`${PWD_COMMAND}`; export r; \
18299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18300 $(HOST_EXPORTS) \
18301 for flag in $(EXTRA_HOST_FLAGS) ; do \
18302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18303 done; \
18304 echo "Doing installcheck in m4" ; \
18305 (cd $(HOST_SUBDIR)/m4 && \
18306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18308 "RANLIB=$${RANLIB}" \
18309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18310 installcheck) \
18311 || exit 1
18313 @endif m4
18315 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
18316 maybe-mostlyclean-m4:
18317 @if m4
18318 maybe-mostlyclean-m4: mostlyclean-m4
18320 mostlyclean-m4:
18321 @$(unstage)
18322 @[ -f ./m4/Makefile ] || exit 0; \
18323 r=`${PWD_COMMAND}`; export r; \
18324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18325 $(HOST_EXPORTS) \
18326 for flag in $(EXTRA_HOST_FLAGS) ; do \
18327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18328 done; \
18329 echo "Doing mostlyclean in m4" ; \
18330 (cd $(HOST_SUBDIR)/m4 && \
18331 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18332 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18333 "RANLIB=$${RANLIB}" \
18334 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18335 mostlyclean) \
18336 || exit 1
18338 @endif m4
18340 .PHONY: maybe-clean-m4 clean-m4
18341 maybe-clean-m4:
18342 @if m4
18343 maybe-clean-m4: clean-m4
18345 clean-m4:
18346 @$(unstage)
18347 @[ -f ./m4/Makefile ] || exit 0; \
18348 r=`${PWD_COMMAND}`; export r; \
18349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18350 $(HOST_EXPORTS) \
18351 for flag in $(EXTRA_HOST_FLAGS) ; do \
18352 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18353 done; \
18354 echo "Doing clean in m4" ; \
18355 (cd $(HOST_SUBDIR)/m4 && \
18356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18358 "RANLIB=$${RANLIB}" \
18359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18360 clean) \
18361 || exit 1
18363 @endif m4
18365 .PHONY: maybe-distclean-m4 distclean-m4
18366 maybe-distclean-m4:
18367 @if m4
18368 maybe-distclean-m4: distclean-m4
18370 distclean-m4:
18371 @$(unstage)
18372 @[ -f ./m4/Makefile ] || exit 0; \
18373 r=`${PWD_COMMAND}`; export r; \
18374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18375 $(HOST_EXPORTS) \
18376 for flag in $(EXTRA_HOST_FLAGS) ; do \
18377 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18378 done; \
18379 echo "Doing distclean in m4" ; \
18380 (cd $(HOST_SUBDIR)/m4 && \
18381 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18382 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18383 "RANLIB=$${RANLIB}" \
18384 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18385 distclean) \
18386 || exit 1
18388 @endif m4
18390 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
18391 maybe-maintainer-clean-m4:
18392 @if m4
18393 maybe-maintainer-clean-m4: maintainer-clean-m4
18395 maintainer-clean-m4:
18396 @$(unstage)
18397 @[ -f ./m4/Makefile ] || exit 0; \
18398 r=`${PWD_COMMAND}`; export r; \
18399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18400 $(HOST_EXPORTS) \
18401 for flag in $(EXTRA_HOST_FLAGS) ; do \
18402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18403 done; \
18404 echo "Doing maintainer-clean in m4" ; \
18405 (cd $(HOST_SUBDIR)/m4 && \
18406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18408 "RANLIB=$${RANLIB}" \
18409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18410 maintainer-clean) \
18411 || exit 1
18413 @endif m4
18417 .PHONY: configure-make maybe-configure-make
18418 maybe-configure-make:
18419 @if make
18420 maybe-configure-make: configure-make
18421 configure-make:
18422 @$(unstage)
18423 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
18424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
18425 r=`${PWD_COMMAND}`; export r; \
18426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18427 $(HOST_EXPORTS) \
18428 echo Configuring in $(HOST_SUBDIR)/make; \
18429 cd "$(HOST_SUBDIR)/make" || exit 1; \
18430 case $(srcdir) in \
18431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18432 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
18433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18434 esac; \
18435 srcdiroption="--srcdir=$${topdir}/make"; \
18436 libsrcdir="$$s/make"; \
18437 $(SHELL) $${libsrcdir}/configure \
18438 $(HOST_CONFIGARGS) $${srcdiroption} \
18439 || exit 1
18440 @endif make
18446 .PHONY: all-make maybe-all-make
18447 maybe-all-make:
18448 @if make
18449 TARGET-make=all
18450 maybe-all-make: all-make
18451 all-make: configure-make
18452 @$(unstage)
18453 @r=`${PWD_COMMAND}`; export r; \
18454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18455 $(HOST_EXPORTS) \
18456 (cd $(HOST_SUBDIR)/make && \
18457 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
18458 @endif make
18463 .PHONY: check-make maybe-check-make
18464 maybe-check-make:
18465 @if make
18466 maybe-check-make: check-make
18468 check-make:
18469 @$(unstage)
18470 @r=`${PWD_COMMAND}`; export r; \
18471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18472 $(HOST_EXPORTS) \
18473 (cd $(HOST_SUBDIR)/make && \
18474 $(MAKE) $(FLAGS_TO_PASS) check)
18476 @endif make
18478 .PHONY: install-make maybe-install-make
18479 maybe-install-make:
18480 @if make
18481 maybe-install-make: install-make
18483 install-make: installdirs
18484 @$(unstage)
18485 @r=`${PWD_COMMAND}`; export r; \
18486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18487 $(HOST_EXPORTS) \
18488 (cd $(HOST_SUBDIR)/make && \
18489 $(MAKE) $(FLAGS_TO_PASS) install)
18491 @endif make
18493 # Other targets (info, dvi, etc.)
18495 .PHONY: maybe-info-make info-make
18496 maybe-info-make:
18497 @if make
18498 maybe-info-make: info-make
18500 info-make: \
18501 configure-make
18502 @$(unstage)
18503 @[ -f ./make/Makefile ] || exit 0; \
18504 r=`${PWD_COMMAND}`; export r; \
18505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18506 $(HOST_EXPORTS) \
18507 for flag in $(EXTRA_HOST_FLAGS) ; do \
18508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18509 done; \
18510 echo "Doing info in make" ; \
18511 (cd $(HOST_SUBDIR)/make && \
18512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18514 "RANLIB=$${RANLIB}" \
18515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18516 info) \
18517 || exit 1
18519 @endif make
18521 .PHONY: maybe-dvi-make dvi-make
18522 maybe-dvi-make:
18523 @if make
18524 maybe-dvi-make: dvi-make
18526 dvi-make: \
18527 configure-make
18528 @$(unstage)
18529 @[ -f ./make/Makefile ] || exit 0; \
18530 r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(HOST_EXPORTS) \
18533 for flag in $(EXTRA_HOST_FLAGS) ; do \
18534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18535 done; \
18536 echo "Doing dvi in make" ; \
18537 (cd $(HOST_SUBDIR)/make && \
18538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18540 "RANLIB=$${RANLIB}" \
18541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18542 dvi) \
18543 || exit 1
18545 @endif make
18547 .PHONY: maybe-html-make html-make
18548 maybe-html-make:
18549 @if make
18550 maybe-html-make: html-make
18552 html-make: \
18553 configure-make
18554 @$(unstage)
18555 @[ -f ./make/Makefile ] || exit 0; \
18556 r=`${PWD_COMMAND}`; export r; \
18557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 $(HOST_EXPORTS) \
18559 for flag in $(EXTRA_HOST_FLAGS) ; do \
18560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18561 done; \
18562 echo "Doing html in make" ; \
18563 (cd $(HOST_SUBDIR)/make && \
18564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18566 "RANLIB=$${RANLIB}" \
18567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18568 html) \
18569 || exit 1
18571 @endif make
18573 .PHONY: maybe-TAGS-make TAGS-make
18574 maybe-TAGS-make:
18575 @if make
18576 maybe-TAGS-make: TAGS-make
18578 TAGS-make: \
18579 configure-make
18580 @$(unstage)
18581 @[ -f ./make/Makefile ] || exit 0; \
18582 r=`${PWD_COMMAND}`; export r; \
18583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18584 $(HOST_EXPORTS) \
18585 for flag in $(EXTRA_HOST_FLAGS) ; do \
18586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18587 done; \
18588 echo "Doing TAGS in make" ; \
18589 (cd $(HOST_SUBDIR)/make && \
18590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18592 "RANLIB=$${RANLIB}" \
18593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18594 TAGS) \
18595 || exit 1
18597 @endif make
18599 .PHONY: maybe-install-info-make install-info-make
18600 maybe-install-info-make:
18601 @if make
18602 maybe-install-info-make: install-info-make
18604 install-info-make: \
18605 configure-make \
18606 info-make
18607 @$(unstage)
18608 @[ -f ./make/Makefile ] || exit 0; \
18609 r=`${PWD_COMMAND}`; export r; \
18610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18611 $(HOST_EXPORTS) \
18612 for flag in $(EXTRA_HOST_FLAGS) ; do \
18613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18614 done; \
18615 echo "Doing install-info in make" ; \
18616 (cd $(HOST_SUBDIR)/make && \
18617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18619 "RANLIB=$${RANLIB}" \
18620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18621 install-info) \
18622 || exit 1
18624 @endif make
18626 .PHONY: maybe-installcheck-make installcheck-make
18627 maybe-installcheck-make:
18628 @if make
18629 maybe-installcheck-make: installcheck-make
18631 installcheck-make: \
18632 configure-make
18633 @$(unstage)
18634 @[ -f ./make/Makefile ] || exit 0; \
18635 r=`${PWD_COMMAND}`; export r; \
18636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18637 $(HOST_EXPORTS) \
18638 for flag in $(EXTRA_HOST_FLAGS) ; do \
18639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18640 done; \
18641 echo "Doing installcheck in make" ; \
18642 (cd $(HOST_SUBDIR)/make && \
18643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18645 "RANLIB=$${RANLIB}" \
18646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18647 installcheck) \
18648 || exit 1
18650 @endif make
18652 .PHONY: maybe-mostlyclean-make mostlyclean-make
18653 maybe-mostlyclean-make:
18654 @if make
18655 maybe-mostlyclean-make: mostlyclean-make
18657 mostlyclean-make:
18658 @$(unstage)
18659 @[ -f ./make/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 mostlyclean in make" ; \
18667 (cd $(HOST_SUBDIR)/make && \
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 mostlyclean) \
18673 || exit 1
18675 @endif make
18677 .PHONY: maybe-clean-make clean-make
18678 maybe-clean-make:
18679 @if make
18680 maybe-clean-make: clean-make
18682 clean-make:
18683 @$(unstage)
18684 @[ -f ./make/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 clean in make" ; \
18692 (cd $(HOST_SUBDIR)/make && \
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 clean) \
18698 || exit 1
18700 @endif make
18702 .PHONY: maybe-distclean-make distclean-make
18703 maybe-distclean-make:
18704 @if make
18705 maybe-distclean-make: distclean-make
18707 distclean-make:
18708 @$(unstage)
18709 @[ -f ./make/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 distclean in make" ; \
18717 (cd $(HOST_SUBDIR)/make && \
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 distclean) \
18723 || exit 1
18725 @endif make
18727 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
18728 maybe-maintainer-clean-make:
18729 @if make
18730 maybe-maintainer-clean-make: maintainer-clean-make
18732 maintainer-clean-make:
18733 @$(unstage)
18734 @[ -f ./make/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 maintainer-clean in make" ; \
18742 (cd $(HOST_SUBDIR)/make && \
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 maintainer-clean) \
18748 || exit 1
18750 @endif make
18754 .PHONY: configure-mmalloc maybe-configure-mmalloc
18755 maybe-configure-mmalloc:
18756 @if mmalloc
18757 maybe-configure-mmalloc: configure-mmalloc
18758 configure-mmalloc:
18759 @$(unstage)
18760 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
18761 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
18762 r=`${PWD_COMMAND}`; export r; \
18763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18764 $(HOST_EXPORTS) \
18765 echo Configuring in $(HOST_SUBDIR)/mmalloc; \
18766 cd "$(HOST_SUBDIR)/mmalloc" || exit 1; \
18767 case $(srcdir) in \
18768 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18769 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
18770 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18771 esac; \
18772 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
18773 libsrcdir="$$s/mmalloc"; \
18774 $(SHELL) $${libsrcdir}/configure \
18775 $(HOST_CONFIGARGS) $${srcdiroption} \
18776 || exit 1
18777 @endif mmalloc
18783 .PHONY: all-mmalloc maybe-all-mmalloc
18784 maybe-all-mmalloc:
18785 @if mmalloc
18786 TARGET-mmalloc=all
18787 maybe-all-mmalloc: all-mmalloc
18788 all-mmalloc: configure-mmalloc
18789 @$(unstage)
18790 @r=`${PWD_COMMAND}`; export r; \
18791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18792 $(HOST_EXPORTS) \
18793 (cd $(HOST_SUBDIR)/mmalloc && \
18794 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
18795 @endif mmalloc
18800 .PHONY: check-mmalloc maybe-check-mmalloc
18801 maybe-check-mmalloc:
18802 @if mmalloc
18803 maybe-check-mmalloc: check-mmalloc
18805 check-mmalloc:
18807 @endif mmalloc
18809 .PHONY: install-mmalloc maybe-install-mmalloc
18810 maybe-install-mmalloc:
18811 @if mmalloc
18812 maybe-install-mmalloc: install-mmalloc
18814 install-mmalloc: installdirs
18815 @$(unstage)
18816 @r=`${PWD_COMMAND}`; export r; \
18817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18818 $(HOST_EXPORTS) \
18819 (cd $(HOST_SUBDIR)/mmalloc && \
18820 $(MAKE) $(FLAGS_TO_PASS) install)
18822 @endif mmalloc
18824 # Other targets (info, dvi, etc.)
18826 .PHONY: maybe-info-mmalloc info-mmalloc
18827 maybe-info-mmalloc:
18828 @if mmalloc
18829 maybe-info-mmalloc: info-mmalloc
18831 info-mmalloc: \
18832 configure-mmalloc
18833 @$(unstage)
18834 @[ -f ./mmalloc/Makefile ] || exit 0; \
18835 r=`${PWD_COMMAND}`; export r; \
18836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18837 $(HOST_EXPORTS) \
18838 for flag in $(EXTRA_HOST_FLAGS) ; do \
18839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18840 done; \
18841 echo "Doing info in mmalloc" ; \
18842 (cd $(HOST_SUBDIR)/mmalloc && \
18843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18845 "RANLIB=$${RANLIB}" \
18846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18847 info) \
18848 || exit 1
18850 @endif mmalloc
18852 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
18853 maybe-dvi-mmalloc:
18854 @if mmalloc
18855 maybe-dvi-mmalloc: dvi-mmalloc
18857 dvi-mmalloc: \
18858 configure-mmalloc
18859 @$(unstage)
18860 @[ -f ./mmalloc/Makefile ] || exit 0; \
18861 r=`${PWD_COMMAND}`; export r; \
18862 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18863 $(HOST_EXPORTS) \
18864 for flag in $(EXTRA_HOST_FLAGS) ; do \
18865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18866 done; \
18867 echo "Doing dvi in mmalloc" ; \
18868 (cd $(HOST_SUBDIR)/mmalloc && \
18869 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18870 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18871 "RANLIB=$${RANLIB}" \
18872 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18873 dvi) \
18874 || exit 1
18876 @endif mmalloc
18878 .PHONY: maybe-html-mmalloc html-mmalloc
18879 maybe-html-mmalloc:
18880 @if mmalloc
18881 maybe-html-mmalloc: html-mmalloc
18883 html-mmalloc: \
18884 configure-mmalloc
18885 @$(unstage)
18886 @[ -f ./mmalloc/Makefile ] || exit 0; \
18887 r=`${PWD_COMMAND}`; export r; \
18888 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18889 $(HOST_EXPORTS) \
18890 for flag in $(EXTRA_HOST_FLAGS) ; do \
18891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18892 done; \
18893 echo "Doing html in mmalloc" ; \
18894 (cd $(HOST_SUBDIR)/mmalloc && \
18895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18897 "RANLIB=$${RANLIB}" \
18898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18899 html) \
18900 || exit 1
18902 @endif mmalloc
18904 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
18905 maybe-TAGS-mmalloc:
18906 @if mmalloc
18907 maybe-TAGS-mmalloc: TAGS-mmalloc
18909 TAGS-mmalloc: \
18910 configure-mmalloc
18911 @$(unstage)
18912 @[ -f ./mmalloc/Makefile ] || exit 0; \
18913 r=`${PWD_COMMAND}`; export r; \
18914 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18915 $(HOST_EXPORTS) \
18916 for flag in $(EXTRA_HOST_FLAGS) ; do \
18917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18918 done; \
18919 echo "Doing TAGS in mmalloc" ; \
18920 (cd $(HOST_SUBDIR)/mmalloc && \
18921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18923 "RANLIB=$${RANLIB}" \
18924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18925 TAGS) \
18926 || exit 1
18928 @endif mmalloc
18930 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
18931 maybe-install-info-mmalloc:
18932 @if mmalloc
18933 maybe-install-info-mmalloc: install-info-mmalloc
18935 install-info-mmalloc: \
18936 configure-mmalloc \
18937 info-mmalloc
18938 @$(unstage)
18939 @[ -f ./mmalloc/Makefile ] || exit 0; \
18940 r=`${PWD_COMMAND}`; export r; \
18941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18942 $(HOST_EXPORTS) \
18943 for flag in $(EXTRA_HOST_FLAGS) ; do \
18944 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18945 done; \
18946 echo "Doing install-info in mmalloc" ; \
18947 (cd $(HOST_SUBDIR)/mmalloc && \
18948 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18949 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18950 "RANLIB=$${RANLIB}" \
18951 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18952 install-info) \
18953 || exit 1
18955 @endif mmalloc
18957 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
18958 maybe-installcheck-mmalloc:
18959 @if mmalloc
18960 maybe-installcheck-mmalloc: installcheck-mmalloc
18962 installcheck-mmalloc: \
18963 configure-mmalloc
18964 @$(unstage)
18965 @[ -f ./mmalloc/Makefile ] || exit 0; \
18966 r=`${PWD_COMMAND}`; export r; \
18967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18968 $(HOST_EXPORTS) \
18969 for flag in $(EXTRA_HOST_FLAGS) ; do \
18970 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18971 done; \
18972 echo "Doing installcheck in mmalloc" ; \
18973 (cd $(HOST_SUBDIR)/mmalloc && \
18974 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18975 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18976 "RANLIB=$${RANLIB}" \
18977 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18978 installcheck) \
18979 || exit 1
18981 @endif mmalloc
18983 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
18984 maybe-mostlyclean-mmalloc:
18985 @if mmalloc
18986 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
18988 mostlyclean-mmalloc:
18989 @$(unstage)
18990 @[ -f ./mmalloc/Makefile ] || exit 0; \
18991 r=`${PWD_COMMAND}`; export r; \
18992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18993 $(HOST_EXPORTS) \
18994 for flag in $(EXTRA_HOST_FLAGS) ; do \
18995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18996 done; \
18997 echo "Doing mostlyclean in mmalloc" ; \
18998 (cd $(HOST_SUBDIR)/mmalloc && \
18999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19001 "RANLIB=$${RANLIB}" \
19002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19003 mostlyclean) \
19004 || exit 1
19006 @endif mmalloc
19008 .PHONY: maybe-clean-mmalloc clean-mmalloc
19009 maybe-clean-mmalloc:
19010 @if mmalloc
19011 maybe-clean-mmalloc: clean-mmalloc
19013 clean-mmalloc:
19014 @$(unstage)
19015 @[ -f ./mmalloc/Makefile ] || exit 0; \
19016 r=`${PWD_COMMAND}`; export r; \
19017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19018 $(HOST_EXPORTS) \
19019 for flag in $(EXTRA_HOST_FLAGS) ; do \
19020 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19021 done; \
19022 echo "Doing clean in mmalloc" ; \
19023 (cd $(HOST_SUBDIR)/mmalloc && \
19024 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19025 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19026 "RANLIB=$${RANLIB}" \
19027 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19028 clean) \
19029 || exit 1
19031 @endif mmalloc
19033 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
19034 maybe-distclean-mmalloc:
19035 @if mmalloc
19036 maybe-distclean-mmalloc: distclean-mmalloc
19038 distclean-mmalloc:
19039 @$(unstage)
19040 @[ -f ./mmalloc/Makefile ] || exit 0; \
19041 r=`${PWD_COMMAND}`; export r; \
19042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19043 $(HOST_EXPORTS) \
19044 for flag in $(EXTRA_HOST_FLAGS) ; do \
19045 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19046 done; \
19047 echo "Doing distclean in mmalloc" ; \
19048 (cd $(HOST_SUBDIR)/mmalloc && \
19049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19051 "RANLIB=$${RANLIB}" \
19052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19053 distclean) \
19054 || exit 1
19056 @endif mmalloc
19058 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
19059 maybe-maintainer-clean-mmalloc:
19060 @if mmalloc
19061 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
19063 maintainer-clean-mmalloc:
19064 @$(unstage)
19065 @[ -f ./mmalloc/Makefile ] || exit 0; \
19066 r=`${PWD_COMMAND}`; export r; \
19067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19068 $(HOST_EXPORTS) \
19069 for flag in $(EXTRA_HOST_FLAGS) ; do \
19070 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19071 done; \
19072 echo "Doing maintainer-clean in mmalloc" ; \
19073 (cd $(HOST_SUBDIR)/mmalloc && \
19074 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19075 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19076 "RANLIB=$${RANLIB}" \
19077 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19078 maintainer-clean) \
19079 || exit 1
19081 @endif mmalloc
19085 .PHONY: configure-patch maybe-configure-patch
19086 maybe-configure-patch:
19087 @if patch
19088 maybe-configure-patch: configure-patch
19089 configure-patch:
19090 @$(unstage)
19091 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
19092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
19093 r=`${PWD_COMMAND}`; export r; \
19094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19095 $(HOST_EXPORTS) \
19096 echo Configuring in $(HOST_SUBDIR)/patch; \
19097 cd "$(HOST_SUBDIR)/patch" || exit 1; \
19098 case $(srcdir) in \
19099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19100 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
19101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19102 esac; \
19103 srcdiroption="--srcdir=$${topdir}/patch"; \
19104 libsrcdir="$$s/patch"; \
19105 $(SHELL) $${libsrcdir}/configure \
19106 $(HOST_CONFIGARGS) $${srcdiroption} \
19107 || exit 1
19108 @endif patch
19114 .PHONY: all-patch maybe-all-patch
19115 maybe-all-patch:
19116 @if patch
19117 TARGET-patch=all
19118 maybe-all-patch: all-patch
19119 all-patch: configure-patch
19120 @$(unstage)
19121 @r=`${PWD_COMMAND}`; export r; \
19122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19123 $(HOST_EXPORTS) \
19124 (cd $(HOST_SUBDIR)/patch && \
19125 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
19126 @endif patch
19131 .PHONY: check-patch maybe-check-patch
19132 maybe-check-patch:
19133 @if patch
19134 maybe-check-patch: check-patch
19136 check-patch:
19137 @$(unstage)
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(HOST_EXPORTS) \
19141 (cd $(HOST_SUBDIR)/patch && \
19142 $(MAKE) $(FLAGS_TO_PASS) check)
19144 @endif patch
19146 .PHONY: install-patch maybe-install-patch
19147 maybe-install-patch:
19148 @if patch
19149 maybe-install-patch: install-patch
19151 install-patch: installdirs
19152 @$(unstage)
19153 @r=`${PWD_COMMAND}`; export r; \
19154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19155 $(HOST_EXPORTS) \
19156 (cd $(HOST_SUBDIR)/patch && \
19157 $(MAKE) $(FLAGS_TO_PASS) install)
19159 @endif patch
19161 # Other targets (info, dvi, etc.)
19163 .PHONY: maybe-info-patch info-patch
19164 maybe-info-patch:
19165 @if patch
19166 maybe-info-patch: info-patch
19168 info-patch: \
19169 configure-patch
19170 @$(unstage)
19171 @[ -f ./patch/Makefile ] || exit 0; \
19172 r=`${PWD_COMMAND}`; export r; \
19173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19174 $(HOST_EXPORTS) \
19175 for flag in $(EXTRA_HOST_FLAGS) ; do \
19176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19177 done; \
19178 echo "Doing info in patch" ; \
19179 (cd $(HOST_SUBDIR)/patch && \
19180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19182 "RANLIB=$${RANLIB}" \
19183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19184 info) \
19185 || exit 1
19187 @endif patch
19189 .PHONY: maybe-dvi-patch dvi-patch
19190 maybe-dvi-patch:
19191 @if patch
19192 maybe-dvi-patch: dvi-patch
19194 dvi-patch: \
19195 configure-patch
19196 @$(unstage)
19197 @[ -f ./patch/Makefile ] || exit 0; \
19198 r=`${PWD_COMMAND}`; export r; \
19199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19200 $(HOST_EXPORTS) \
19201 for flag in $(EXTRA_HOST_FLAGS) ; do \
19202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19203 done; \
19204 echo "Doing dvi in patch" ; \
19205 (cd $(HOST_SUBDIR)/patch && \
19206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19208 "RANLIB=$${RANLIB}" \
19209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19210 dvi) \
19211 || exit 1
19213 @endif patch
19215 .PHONY: maybe-html-patch html-patch
19216 maybe-html-patch:
19217 @if patch
19218 maybe-html-patch: html-patch
19220 html-patch: \
19221 configure-patch
19222 @$(unstage)
19223 @[ -f ./patch/Makefile ] || exit 0; \
19224 r=`${PWD_COMMAND}`; export r; \
19225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19226 $(HOST_EXPORTS) \
19227 for flag in $(EXTRA_HOST_FLAGS) ; do \
19228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19229 done; \
19230 echo "Doing html in patch" ; \
19231 (cd $(HOST_SUBDIR)/patch && \
19232 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19233 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19234 "RANLIB=$${RANLIB}" \
19235 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19236 html) \
19237 || exit 1
19239 @endif patch
19241 .PHONY: maybe-TAGS-patch TAGS-patch
19242 maybe-TAGS-patch:
19243 @if patch
19244 maybe-TAGS-patch: TAGS-patch
19246 TAGS-patch: \
19247 configure-patch
19248 @$(unstage)
19249 @[ -f ./patch/Makefile ] || exit 0; \
19250 r=`${PWD_COMMAND}`; export r; \
19251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19252 $(HOST_EXPORTS) \
19253 for flag in $(EXTRA_HOST_FLAGS) ; do \
19254 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19255 done; \
19256 echo "Doing TAGS in patch" ; \
19257 (cd $(HOST_SUBDIR)/patch && \
19258 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19259 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19260 "RANLIB=$${RANLIB}" \
19261 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19262 TAGS) \
19263 || exit 1
19265 @endif patch
19267 .PHONY: maybe-install-info-patch install-info-patch
19268 maybe-install-info-patch:
19269 @if patch
19270 maybe-install-info-patch: install-info-patch
19272 install-info-patch: \
19273 configure-patch \
19274 info-patch
19275 @$(unstage)
19276 @[ -f ./patch/Makefile ] || exit 0; \
19277 r=`${PWD_COMMAND}`; export r; \
19278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19279 $(HOST_EXPORTS) \
19280 for flag in $(EXTRA_HOST_FLAGS) ; do \
19281 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19282 done; \
19283 echo "Doing install-info in patch" ; \
19284 (cd $(HOST_SUBDIR)/patch && \
19285 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19286 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19287 "RANLIB=$${RANLIB}" \
19288 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19289 install-info) \
19290 || exit 1
19292 @endif patch
19294 .PHONY: maybe-installcheck-patch installcheck-patch
19295 maybe-installcheck-patch:
19296 @if patch
19297 maybe-installcheck-patch: installcheck-patch
19299 installcheck-patch: \
19300 configure-patch
19301 @$(unstage)
19302 @[ -f ./patch/Makefile ] || exit 0; \
19303 r=`${PWD_COMMAND}`; export r; \
19304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19305 $(HOST_EXPORTS) \
19306 for flag in $(EXTRA_HOST_FLAGS) ; do \
19307 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19308 done; \
19309 echo "Doing installcheck in patch" ; \
19310 (cd $(HOST_SUBDIR)/patch && \
19311 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19312 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19313 "RANLIB=$${RANLIB}" \
19314 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19315 installcheck) \
19316 || exit 1
19318 @endif patch
19320 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
19321 maybe-mostlyclean-patch:
19322 @if patch
19323 maybe-mostlyclean-patch: mostlyclean-patch
19325 mostlyclean-patch:
19326 @$(unstage)
19327 @[ -f ./patch/Makefile ] || exit 0; \
19328 r=`${PWD_COMMAND}`; export r; \
19329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19330 $(HOST_EXPORTS) \
19331 for flag in $(EXTRA_HOST_FLAGS) ; do \
19332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19333 done; \
19334 echo "Doing mostlyclean in patch" ; \
19335 (cd $(HOST_SUBDIR)/patch && \
19336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19338 "RANLIB=$${RANLIB}" \
19339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19340 mostlyclean) \
19341 || exit 1
19343 @endif patch
19345 .PHONY: maybe-clean-patch clean-patch
19346 maybe-clean-patch:
19347 @if patch
19348 maybe-clean-patch: clean-patch
19350 clean-patch:
19351 @$(unstage)
19352 @[ -f ./patch/Makefile ] || exit 0; \
19353 r=`${PWD_COMMAND}`; export r; \
19354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19355 $(HOST_EXPORTS) \
19356 for flag in $(EXTRA_HOST_FLAGS) ; do \
19357 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19358 done; \
19359 echo "Doing clean in patch" ; \
19360 (cd $(HOST_SUBDIR)/patch && \
19361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19363 "RANLIB=$${RANLIB}" \
19364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19365 clean) \
19366 || exit 1
19368 @endif patch
19370 .PHONY: maybe-distclean-patch distclean-patch
19371 maybe-distclean-patch:
19372 @if patch
19373 maybe-distclean-patch: distclean-patch
19375 distclean-patch:
19376 @$(unstage)
19377 @[ -f ./patch/Makefile ] || exit 0; \
19378 r=`${PWD_COMMAND}`; export r; \
19379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19380 $(HOST_EXPORTS) \
19381 for flag in $(EXTRA_HOST_FLAGS) ; do \
19382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19383 done; \
19384 echo "Doing distclean in patch" ; \
19385 (cd $(HOST_SUBDIR)/patch && \
19386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19388 "RANLIB=$${RANLIB}" \
19389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19390 distclean) \
19391 || exit 1
19393 @endif patch
19395 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
19396 maybe-maintainer-clean-patch:
19397 @if patch
19398 maybe-maintainer-clean-patch: maintainer-clean-patch
19400 maintainer-clean-patch:
19401 @$(unstage)
19402 @[ -f ./patch/Makefile ] || exit 0; \
19403 r=`${PWD_COMMAND}`; export r; \
19404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19405 $(HOST_EXPORTS) \
19406 for flag in $(EXTRA_HOST_FLAGS) ; do \
19407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19408 done; \
19409 echo "Doing maintainer-clean in patch" ; \
19410 (cd $(HOST_SUBDIR)/patch && \
19411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19413 "RANLIB=$${RANLIB}" \
19414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19415 maintainer-clean) \
19416 || exit 1
19418 @endif patch
19422 .PHONY: configure-perl maybe-configure-perl
19423 maybe-configure-perl:
19424 @if perl
19425 maybe-configure-perl: configure-perl
19426 configure-perl:
19427 @$(unstage)
19428 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
19429 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
19430 r=`${PWD_COMMAND}`; export r; \
19431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19432 $(HOST_EXPORTS) \
19433 echo Configuring in $(HOST_SUBDIR)/perl; \
19434 cd "$(HOST_SUBDIR)/perl" || exit 1; \
19435 case $(srcdir) in \
19436 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19437 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
19438 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19439 esac; \
19440 srcdiroption="--srcdir=$${topdir}/perl"; \
19441 libsrcdir="$$s/perl"; \
19442 $(SHELL) $${libsrcdir}/configure \
19443 $(HOST_CONFIGARGS) $${srcdiroption} \
19444 || exit 1
19445 @endif perl
19451 .PHONY: all-perl maybe-all-perl
19452 maybe-all-perl:
19453 @if perl
19454 TARGET-perl=all
19455 maybe-all-perl: all-perl
19456 all-perl: configure-perl
19457 @$(unstage)
19458 @r=`${PWD_COMMAND}`; export r; \
19459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19460 $(HOST_EXPORTS) \
19461 (cd $(HOST_SUBDIR)/perl && \
19462 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
19463 @endif perl
19468 .PHONY: check-perl maybe-check-perl
19469 maybe-check-perl:
19470 @if perl
19471 maybe-check-perl: check-perl
19473 check-perl:
19474 @$(unstage)
19475 @r=`${PWD_COMMAND}`; export r; \
19476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19477 $(HOST_EXPORTS) \
19478 (cd $(HOST_SUBDIR)/perl && \
19479 $(MAKE) $(FLAGS_TO_PASS) check)
19481 @endif perl
19483 .PHONY: install-perl maybe-install-perl
19484 maybe-install-perl:
19485 @if perl
19486 maybe-install-perl: install-perl
19488 install-perl: installdirs
19489 @$(unstage)
19490 @r=`${PWD_COMMAND}`; export r; \
19491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19492 $(HOST_EXPORTS) \
19493 (cd $(HOST_SUBDIR)/perl && \
19494 $(MAKE) $(FLAGS_TO_PASS) install)
19496 @endif perl
19498 # Other targets (info, dvi, etc.)
19500 .PHONY: maybe-info-perl info-perl
19501 maybe-info-perl:
19502 @if perl
19503 maybe-info-perl: info-perl
19505 info-perl: \
19506 configure-perl
19507 @$(unstage)
19508 @[ -f ./perl/Makefile ] || exit 0; \
19509 r=`${PWD_COMMAND}`; export r; \
19510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19511 $(HOST_EXPORTS) \
19512 for flag in $(EXTRA_HOST_FLAGS) ; do \
19513 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19514 done; \
19515 echo "Doing info in perl" ; \
19516 (cd $(HOST_SUBDIR)/perl && \
19517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19519 "RANLIB=$${RANLIB}" \
19520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19521 info) \
19522 || exit 1
19524 @endif perl
19526 .PHONY: maybe-dvi-perl dvi-perl
19527 maybe-dvi-perl:
19528 @if perl
19529 maybe-dvi-perl: dvi-perl
19531 dvi-perl: \
19532 configure-perl
19533 @$(unstage)
19534 @[ -f ./perl/Makefile ] || exit 0; \
19535 r=`${PWD_COMMAND}`; export r; \
19536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19537 $(HOST_EXPORTS) \
19538 for flag in $(EXTRA_HOST_FLAGS) ; do \
19539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19540 done; \
19541 echo "Doing dvi in perl" ; \
19542 (cd $(HOST_SUBDIR)/perl && \
19543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19545 "RANLIB=$${RANLIB}" \
19546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19547 dvi) \
19548 || exit 1
19550 @endif perl
19552 .PHONY: maybe-html-perl html-perl
19553 maybe-html-perl:
19554 @if perl
19555 maybe-html-perl: html-perl
19557 html-perl: \
19558 configure-perl
19559 @$(unstage)
19560 @[ -f ./perl/Makefile ] || exit 0; \
19561 r=`${PWD_COMMAND}`; export r; \
19562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19563 $(HOST_EXPORTS) \
19564 for flag in $(EXTRA_HOST_FLAGS) ; do \
19565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19566 done; \
19567 echo "Doing html in perl" ; \
19568 (cd $(HOST_SUBDIR)/perl && \
19569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19571 "RANLIB=$${RANLIB}" \
19572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19573 html) \
19574 || exit 1
19576 @endif perl
19578 .PHONY: maybe-TAGS-perl TAGS-perl
19579 maybe-TAGS-perl:
19580 @if perl
19581 maybe-TAGS-perl: TAGS-perl
19583 TAGS-perl: \
19584 configure-perl
19585 @$(unstage)
19586 @[ -f ./perl/Makefile ] || exit 0; \
19587 r=`${PWD_COMMAND}`; export r; \
19588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19589 $(HOST_EXPORTS) \
19590 for flag in $(EXTRA_HOST_FLAGS) ; do \
19591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19592 done; \
19593 echo "Doing TAGS in perl" ; \
19594 (cd $(HOST_SUBDIR)/perl && \
19595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19597 "RANLIB=$${RANLIB}" \
19598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19599 TAGS) \
19600 || exit 1
19602 @endif perl
19604 .PHONY: maybe-install-info-perl install-info-perl
19605 maybe-install-info-perl:
19606 @if perl
19607 maybe-install-info-perl: install-info-perl
19609 install-info-perl: \
19610 configure-perl \
19611 info-perl
19612 @$(unstage)
19613 @[ -f ./perl/Makefile ] || exit 0; \
19614 r=`${PWD_COMMAND}`; export r; \
19615 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19616 $(HOST_EXPORTS) \
19617 for flag in $(EXTRA_HOST_FLAGS) ; do \
19618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19619 done; \
19620 echo "Doing install-info in perl" ; \
19621 (cd $(HOST_SUBDIR)/perl && \
19622 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19623 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19624 "RANLIB=$${RANLIB}" \
19625 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19626 install-info) \
19627 || exit 1
19629 @endif perl
19631 .PHONY: maybe-installcheck-perl installcheck-perl
19632 maybe-installcheck-perl:
19633 @if perl
19634 maybe-installcheck-perl: installcheck-perl
19636 installcheck-perl: \
19637 configure-perl
19638 @$(unstage)
19639 @[ -f ./perl/Makefile ] || exit 0; \
19640 r=`${PWD_COMMAND}`; export r; \
19641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19642 $(HOST_EXPORTS) \
19643 for flag in $(EXTRA_HOST_FLAGS) ; do \
19644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19645 done; \
19646 echo "Doing installcheck in perl" ; \
19647 (cd $(HOST_SUBDIR)/perl && \
19648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19650 "RANLIB=$${RANLIB}" \
19651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19652 installcheck) \
19653 || exit 1
19655 @endif perl
19657 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
19658 maybe-mostlyclean-perl:
19659 @if perl
19660 maybe-mostlyclean-perl: mostlyclean-perl
19662 mostlyclean-perl:
19663 @$(unstage)
19664 @[ -f ./perl/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 mostlyclean in perl" ; \
19672 (cd $(HOST_SUBDIR)/perl && \
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 mostlyclean) \
19678 || exit 1
19680 @endif perl
19682 .PHONY: maybe-clean-perl clean-perl
19683 maybe-clean-perl:
19684 @if perl
19685 maybe-clean-perl: clean-perl
19687 clean-perl:
19688 @$(unstage)
19689 @[ -f ./perl/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 clean in perl" ; \
19697 (cd $(HOST_SUBDIR)/perl && \
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 clean) \
19703 || exit 1
19705 @endif perl
19707 .PHONY: maybe-distclean-perl distclean-perl
19708 maybe-distclean-perl:
19709 @if perl
19710 maybe-distclean-perl: distclean-perl
19712 distclean-perl:
19713 @$(unstage)
19714 @[ -f ./perl/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 distclean in perl" ; \
19722 (cd $(HOST_SUBDIR)/perl && \
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 distclean) \
19728 || exit 1
19730 @endif perl
19732 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
19733 maybe-maintainer-clean-perl:
19734 @if perl
19735 maybe-maintainer-clean-perl: maintainer-clean-perl
19737 maintainer-clean-perl:
19738 @$(unstage)
19739 @[ -f ./perl/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 maintainer-clean in perl" ; \
19747 (cd $(HOST_SUBDIR)/perl && \
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 maintainer-clean) \
19753 || exit 1
19755 @endif perl
19759 .PHONY: configure-prms maybe-configure-prms
19760 maybe-configure-prms:
19761 @if prms
19762 maybe-configure-prms: configure-prms
19763 configure-prms:
19764 @$(unstage)
19765 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
19766 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
19767 r=`${PWD_COMMAND}`; export r; \
19768 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19769 $(HOST_EXPORTS) \
19770 echo Configuring in $(HOST_SUBDIR)/prms; \
19771 cd "$(HOST_SUBDIR)/prms" || exit 1; \
19772 case $(srcdir) in \
19773 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19774 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
19775 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19776 esac; \
19777 srcdiroption="--srcdir=$${topdir}/prms"; \
19778 libsrcdir="$$s/prms"; \
19779 $(SHELL) $${libsrcdir}/configure \
19780 $(HOST_CONFIGARGS) $${srcdiroption} \
19781 || exit 1
19782 @endif prms
19788 .PHONY: all-prms maybe-all-prms
19789 maybe-all-prms:
19790 @if prms
19791 TARGET-prms=all
19792 maybe-all-prms: all-prms
19793 all-prms: configure-prms
19794 @$(unstage)
19795 @r=`${PWD_COMMAND}`; export r; \
19796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19797 $(HOST_EXPORTS) \
19798 (cd $(HOST_SUBDIR)/prms && \
19799 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
19800 @endif prms
19805 .PHONY: check-prms maybe-check-prms
19806 maybe-check-prms:
19807 @if prms
19808 maybe-check-prms: check-prms
19810 check-prms:
19811 @$(unstage)
19812 @r=`${PWD_COMMAND}`; export r; \
19813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19814 $(HOST_EXPORTS) \
19815 (cd $(HOST_SUBDIR)/prms && \
19816 $(MAKE) $(FLAGS_TO_PASS) check)
19818 @endif prms
19820 .PHONY: install-prms maybe-install-prms
19821 maybe-install-prms:
19822 @if prms
19823 maybe-install-prms: install-prms
19825 install-prms: installdirs
19826 @$(unstage)
19827 @r=`${PWD_COMMAND}`; export r; \
19828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19829 $(HOST_EXPORTS) \
19830 (cd $(HOST_SUBDIR)/prms && \
19831 $(MAKE) $(FLAGS_TO_PASS) install)
19833 @endif prms
19835 # Other targets (info, dvi, etc.)
19837 .PHONY: maybe-info-prms info-prms
19838 maybe-info-prms:
19839 @if prms
19840 maybe-info-prms: info-prms
19842 info-prms: \
19843 configure-prms
19844 @$(unstage)
19845 @[ -f ./prms/Makefile ] || exit 0; \
19846 r=`${PWD_COMMAND}`; export r; \
19847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19848 $(HOST_EXPORTS) \
19849 for flag in $(EXTRA_HOST_FLAGS) ; do \
19850 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19851 done; \
19852 echo "Doing info in prms" ; \
19853 (cd $(HOST_SUBDIR)/prms && \
19854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19856 "RANLIB=$${RANLIB}" \
19857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19858 info) \
19859 || exit 1
19861 @endif prms
19863 .PHONY: maybe-dvi-prms dvi-prms
19864 maybe-dvi-prms:
19865 @if prms
19866 maybe-dvi-prms: dvi-prms
19868 dvi-prms: \
19869 configure-prms
19870 @$(unstage)
19871 @[ -f ./prms/Makefile ] || exit 0; \
19872 r=`${PWD_COMMAND}`; export r; \
19873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19874 $(HOST_EXPORTS) \
19875 for flag in $(EXTRA_HOST_FLAGS) ; do \
19876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19877 done; \
19878 echo "Doing dvi in prms" ; \
19879 (cd $(HOST_SUBDIR)/prms && \
19880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19882 "RANLIB=$${RANLIB}" \
19883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19884 dvi) \
19885 || exit 1
19887 @endif prms
19889 .PHONY: maybe-html-prms html-prms
19890 maybe-html-prms:
19891 @if prms
19892 maybe-html-prms: html-prms
19894 html-prms: \
19895 configure-prms
19896 @$(unstage)
19897 @[ -f ./prms/Makefile ] || exit 0; \
19898 r=`${PWD_COMMAND}`; export r; \
19899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19900 $(HOST_EXPORTS) \
19901 for flag in $(EXTRA_HOST_FLAGS) ; do \
19902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19903 done; \
19904 echo "Doing html in prms" ; \
19905 (cd $(HOST_SUBDIR)/prms && \
19906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19908 "RANLIB=$${RANLIB}" \
19909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19910 html) \
19911 || exit 1
19913 @endif prms
19915 .PHONY: maybe-TAGS-prms TAGS-prms
19916 maybe-TAGS-prms:
19917 @if prms
19918 maybe-TAGS-prms: TAGS-prms
19920 TAGS-prms: \
19921 configure-prms
19922 @$(unstage)
19923 @[ -f ./prms/Makefile ] || exit 0; \
19924 r=`${PWD_COMMAND}`; export r; \
19925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19926 $(HOST_EXPORTS) \
19927 for flag in $(EXTRA_HOST_FLAGS) ; do \
19928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19929 done; \
19930 echo "Doing TAGS in prms" ; \
19931 (cd $(HOST_SUBDIR)/prms && \
19932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19934 "RANLIB=$${RANLIB}" \
19935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19936 TAGS) \
19937 || exit 1
19939 @endif prms
19941 .PHONY: maybe-install-info-prms install-info-prms
19942 maybe-install-info-prms:
19943 @if prms
19944 maybe-install-info-prms: install-info-prms
19946 install-info-prms: \
19947 configure-prms \
19948 info-prms
19949 @$(unstage)
19950 @[ -f ./prms/Makefile ] || exit 0; \
19951 r=`${PWD_COMMAND}`; export r; \
19952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19953 $(HOST_EXPORTS) \
19954 for flag in $(EXTRA_HOST_FLAGS) ; do \
19955 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19956 done; \
19957 echo "Doing install-info in prms" ; \
19958 (cd $(HOST_SUBDIR)/prms && \
19959 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19960 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19961 "RANLIB=$${RANLIB}" \
19962 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19963 install-info) \
19964 || exit 1
19966 @endif prms
19968 .PHONY: maybe-installcheck-prms installcheck-prms
19969 maybe-installcheck-prms:
19970 @if prms
19971 maybe-installcheck-prms: installcheck-prms
19973 installcheck-prms: \
19974 configure-prms
19975 @$(unstage)
19976 @[ -f ./prms/Makefile ] || exit 0; \
19977 r=`${PWD_COMMAND}`; export r; \
19978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19979 $(HOST_EXPORTS) \
19980 for flag in $(EXTRA_HOST_FLAGS) ; do \
19981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19982 done; \
19983 echo "Doing installcheck in prms" ; \
19984 (cd $(HOST_SUBDIR)/prms && \
19985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19987 "RANLIB=$${RANLIB}" \
19988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19989 installcheck) \
19990 || exit 1
19992 @endif prms
19994 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
19995 maybe-mostlyclean-prms:
19996 @if prms
19997 maybe-mostlyclean-prms: mostlyclean-prms
19999 mostlyclean-prms:
20000 @$(unstage)
20001 @[ -f ./prms/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 mostlyclean in prms" ; \
20009 (cd $(HOST_SUBDIR)/prms && \
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 mostlyclean) \
20015 || exit 1
20017 @endif prms
20019 .PHONY: maybe-clean-prms clean-prms
20020 maybe-clean-prms:
20021 @if prms
20022 maybe-clean-prms: clean-prms
20024 clean-prms:
20025 @$(unstage)
20026 @[ -f ./prms/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 clean in prms" ; \
20034 (cd $(HOST_SUBDIR)/prms && \
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 clean) \
20040 || exit 1
20042 @endif prms
20044 .PHONY: maybe-distclean-prms distclean-prms
20045 maybe-distclean-prms:
20046 @if prms
20047 maybe-distclean-prms: distclean-prms
20049 distclean-prms:
20050 @$(unstage)
20051 @[ -f ./prms/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 distclean in prms" ; \
20059 (cd $(HOST_SUBDIR)/prms && \
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 distclean) \
20065 || exit 1
20067 @endif prms
20069 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
20070 maybe-maintainer-clean-prms:
20071 @if prms
20072 maybe-maintainer-clean-prms: maintainer-clean-prms
20074 maintainer-clean-prms:
20075 @$(unstage)
20076 @[ -f ./prms/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 maintainer-clean in prms" ; \
20084 (cd $(HOST_SUBDIR)/prms && \
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 maintainer-clean) \
20090 || exit 1
20092 @endif prms
20096 .PHONY: configure-rcs maybe-configure-rcs
20097 maybe-configure-rcs:
20098 @if rcs
20099 maybe-configure-rcs: configure-rcs
20100 configure-rcs:
20101 @$(unstage)
20102 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
20103 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
20104 r=`${PWD_COMMAND}`; export r; \
20105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20106 $(HOST_EXPORTS) \
20107 echo Configuring in $(HOST_SUBDIR)/rcs; \
20108 cd "$(HOST_SUBDIR)/rcs" || exit 1; \
20109 case $(srcdir) in \
20110 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20111 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
20112 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20113 esac; \
20114 srcdiroption="--srcdir=$${topdir}/rcs"; \
20115 libsrcdir="$$s/rcs"; \
20116 $(SHELL) $${libsrcdir}/configure \
20117 $(HOST_CONFIGARGS) $${srcdiroption} \
20118 || exit 1
20119 @endif rcs
20125 .PHONY: all-rcs maybe-all-rcs
20126 maybe-all-rcs:
20127 @if rcs
20128 TARGET-rcs=all
20129 maybe-all-rcs: all-rcs
20130 all-rcs: configure-rcs
20131 @$(unstage)
20132 @r=`${PWD_COMMAND}`; export r; \
20133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20134 $(HOST_EXPORTS) \
20135 (cd $(HOST_SUBDIR)/rcs && \
20136 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
20137 @endif rcs
20142 .PHONY: check-rcs maybe-check-rcs
20143 maybe-check-rcs:
20144 @if rcs
20145 maybe-check-rcs: check-rcs
20147 check-rcs:
20148 @$(unstage)
20149 @r=`${PWD_COMMAND}`; export r; \
20150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20151 $(HOST_EXPORTS) \
20152 (cd $(HOST_SUBDIR)/rcs && \
20153 $(MAKE) $(FLAGS_TO_PASS) check)
20155 @endif rcs
20157 .PHONY: install-rcs maybe-install-rcs
20158 maybe-install-rcs:
20159 @if rcs
20160 maybe-install-rcs: install-rcs
20162 install-rcs: installdirs
20163 @$(unstage)
20164 @r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 $(HOST_EXPORTS) \
20167 (cd $(HOST_SUBDIR)/rcs && \
20168 $(MAKE) $(FLAGS_TO_PASS) install)
20170 @endif rcs
20172 # Other targets (info, dvi, etc.)
20174 .PHONY: maybe-info-rcs info-rcs
20175 maybe-info-rcs:
20176 @if rcs
20177 maybe-info-rcs: info-rcs
20179 info-rcs: \
20180 configure-rcs
20181 @$(unstage)
20182 @[ -f ./rcs/Makefile ] || exit 0; \
20183 r=`${PWD_COMMAND}`; export r; \
20184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20185 $(HOST_EXPORTS) \
20186 for flag in $(EXTRA_HOST_FLAGS) ; do \
20187 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20188 done; \
20189 echo "Doing info in rcs" ; \
20190 (cd $(HOST_SUBDIR)/rcs && \
20191 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20192 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20193 "RANLIB=$${RANLIB}" \
20194 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20195 info) \
20196 || exit 1
20198 @endif rcs
20200 .PHONY: maybe-dvi-rcs dvi-rcs
20201 maybe-dvi-rcs:
20202 @if rcs
20203 maybe-dvi-rcs: dvi-rcs
20205 dvi-rcs: \
20206 configure-rcs
20207 @$(unstage)
20208 @[ -f ./rcs/Makefile ] || exit 0; \
20209 r=`${PWD_COMMAND}`; export r; \
20210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20211 $(HOST_EXPORTS) \
20212 for flag in $(EXTRA_HOST_FLAGS) ; do \
20213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20214 done; \
20215 echo "Doing dvi in rcs" ; \
20216 (cd $(HOST_SUBDIR)/rcs && \
20217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20219 "RANLIB=$${RANLIB}" \
20220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20221 dvi) \
20222 || exit 1
20224 @endif rcs
20226 .PHONY: maybe-html-rcs html-rcs
20227 maybe-html-rcs:
20228 @if rcs
20229 maybe-html-rcs: html-rcs
20231 html-rcs: \
20232 configure-rcs
20233 @$(unstage)
20234 @[ -f ./rcs/Makefile ] || exit 0; \
20235 r=`${PWD_COMMAND}`; export r; \
20236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20237 $(HOST_EXPORTS) \
20238 for flag in $(EXTRA_HOST_FLAGS) ; do \
20239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20240 done; \
20241 echo "Doing html in rcs" ; \
20242 (cd $(HOST_SUBDIR)/rcs && \
20243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20245 "RANLIB=$${RANLIB}" \
20246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20247 html) \
20248 || exit 1
20250 @endif rcs
20252 .PHONY: maybe-TAGS-rcs TAGS-rcs
20253 maybe-TAGS-rcs:
20254 @if rcs
20255 maybe-TAGS-rcs: TAGS-rcs
20257 TAGS-rcs: \
20258 configure-rcs
20259 @$(unstage)
20260 @[ -f ./rcs/Makefile ] || exit 0; \
20261 r=`${PWD_COMMAND}`; export r; \
20262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20263 $(HOST_EXPORTS) \
20264 for flag in $(EXTRA_HOST_FLAGS) ; do \
20265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20266 done; \
20267 echo "Doing TAGS in rcs" ; \
20268 (cd $(HOST_SUBDIR)/rcs && \
20269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20271 "RANLIB=$${RANLIB}" \
20272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20273 TAGS) \
20274 || exit 1
20276 @endif rcs
20278 .PHONY: maybe-install-info-rcs install-info-rcs
20279 maybe-install-info-rcs:
20280 @if rcs
20281 maybe-install-info-rcs: install-info-rcs
20283 install-info-rcs: \
20284 configure-rcs \
20285 info-rcs
20286 @$(unstage)
20287 @[ -f ./rcs/Makefile ] || exit 0; \
20288 r=`${PWD_COMMAND}`; export r; \
20289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20290 $(HOST_EXPORTS) \
20291 for flag in $(EXTRA_HOST_FLAGS) ; do \
20292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20293 done; \
20294 echo "Doing install-info in rcs" ; \
20295 (cd $(HOST_SUBDIR)/rcs && \
20296 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20297 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20298 "RANLIB=$${RANLIB}" \
20299 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20300 install-info) \
20301 || exit 1
20303 @endif rcs
20305 .PHONY: maybe-installcheck-rcs installcheck-rcs
20306 maybe-installcheck-rcs:
20307 @if rcs
20308 maybe-installcheck-rcs: installcheck-rcs
20310 installcheck-rcs: \
20311 configure-rcs
20312 @$(unstage)
20313 @[ -f ./rcs/Makefile ] || exit 0; \
20314 r=`${PWD_COMMAND}`; export r; \
20315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20316 $(HOST_EXPORTS) \
20317 for flag in $(EXTRA_HOST_FLAGS) ; do \
20318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20319 done; \
20320 echo "Doing installcheck in rcs" ; \
20321 (cd $(HOST_SUBDIR)/rcs && \
20322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20324 "RANLIB=$${RANLIB}" \
20325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20326 installcheck) \
20327 || exit 1
20329 @endif rcs
20331 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
20332 maybe-mostlyclean-rcs:
20333 @if rcs
20334 maybe-mostlyclean-rcs: mostlyclean-rcs
20336 mostlyclean-rcs:
20337 @$(unstage)
20338 @[ -f ./rcs/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 mostlyclean in rcs" ; \
20346 (cd $(HOST_SUBDIR)/rcs && \
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 mostlyclean) \
20352 || exit 1
20354 @endif rcs
20356 .PHONY: maybe-clean-rcs clean-rcs
20357 maybe-clean-rcs:
20358 @if rcs
20359 maybe-clean-rcs: clean-rcs
20361 clean-rcs:
20362 @$(unstage)
20363 @[ -f ./rcs/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 clean in rcs" ; \
20371 (cd $(HOST_SUBDIR)/rcs && \
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 clean) \
20377 || exit 1
20379 @endif rcs
20381 .PHONY: maybe-distclean-rcs distclean-rcs
20382 maybe-distclean-rcs:
20383 @if rcs
20384 maybe-distclean-rcs: distclean-rcs
20386 distclean-rcs:
20387 @$(unstage)
20388 @[ -f ./rcs/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 distclean in rcs" ; \
20396 (cd $(HOST_SUBDIR)/rcs && \
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 distclean) \
20402 || exit 1
20404 @endif rcs
20406 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
20407 maybe-maintainer-clean-rcs:
20408 @if rcs
20409 maybe-maintainer-clean-rcs: maintainer-clean-rcs
20411 maintainer-clean-rcs:
20412 @$(unstage)
20413 @[ -f ./rcs/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 maintainer-clean in rcs" ; \
20421 (cd $(HOST_SUBDIR)/rcs && \
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 maintainer-clean) \
20427 || exit 1
20429 @endif rcs
20433 .PHONY: configure-readline maybe-configure-readline
20434 maybe-configure-readline:
20435 @if readline
20436 maybe-configure-readline: configure-readline
20437 configure-readline:
20438 @$(unstage)
20439 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
20440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
20441 r=`${PWD_COMMAND}`; export r; \
20442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20443 $(HOST_EXPORTS) \
20444 echo Configuring in $(HOST_SUBDIR)/readline; \
20445 cd "$(HOST_SUBDIR)/readline" || exit 1; \
20446 case $(srcdir) in \
20447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20448 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
20449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20450 esac; \
20451 srcdiroption="--srcdir=$${topdir}/readline"; \
20452 libsrcdir="$$s/readline"; \
20453 $(SHELL) $${libsrcdir}/configure \
20454 $(HOST_CONFIGARGS) $${srcdiroption} \
20455 || exit 1
20456 @endif readline
20462 .PHONY: all-readline maybe-all-readline
20463 maybe-all-readline:
20464 @if readline
20465 TARGET-readline=all
20466 maybe-all-readline: all-readline
20467 all-readline: configure-readline
20468 @$(unstage)
20469 @r=`${PWD_COMMAND}`; export r; \
20470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20471 $(HOST_EXPORTS) \
20472 (cd $(HOST_SUBDIR)/readline && \
20473 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
20474 @endif readline
20479 .PHONY: check-readline maybe-check-readline
20480 maybe-check-readline:
20481 @if readline
20482 maybe-check-readline: check-readline
20484 check-readline:
20485 @$(unstage)
20486 @r=`${PWD_COMMAND}`; export r; \
20487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20488 $(HOST_EXPORTS) \
20489 (cd $(HOST_SUBDIR)/readline && \
20490 $(MAKE) $(FLAGS_TO_PASS) check)
20492 @endif readline
20494 .PHONY: install-readline maybe-install-readline
20495 maybe-install-readline:
20496 @if readline
20497 maybe-install-readline: install-readline
20499 install-readline: installdirs
20500 @$(unstage)
20501 @r=`${PWD_COMMAND}`; export r; \
20502 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20503 $(HOST_EXPORTS) \
20504 (cd $(HOST_SUBDIR)/readline && \
20505 $(MAKE) $(FLAGS_TO_PASS) install)
20507 @endif readline
20509 # Other targets (info, dvi, etc.)
20511 .PHONY: maybe-info-readline info-readline
20512 maybe-info-readline:
20513 @if readline
20514 maybe-info-readline: info-readline
20516 info-readline: \
20517 configure-readline
20518 @$(unstage)
20519 @[ -f ./readline/Makefile ] || exit 0; \
20520 r=`${PWD_COMMAND}`; export r; \
20521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20522 $(HOST_EXPORTS) \
20523 for flag in $(EXTRA_HOST_FLAGS) ; do \
20524 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20525 done; \
20526 echo "Doing info in readline" ; \
20527 (cd $(HOST_SUBDIR)/readline && \
20528 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20529 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20530 "RANLIB=$${RANLIB}" \
20531 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20532 info) \
20533 || exit 1
20535 @endif readline
20537 .PHONY: maybe-dvi-readline dvi-readline
20538 maybe-dvi-readline:
20539 @if readline
20540 maybe-dvi-readline: dvi-readline
20542 dvi-readline: \
20543 configure-readline
20544 @$(unstage)
20545 @[ -f ./readline/Makefile ] || exit 0; \
20546 r=`${PWD_COMMAND}`; export r; \
20547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20548 $(HOST_EXPORTS) \
20549 for flag in $(EXTRA_HOST_FLAGS) ; do \
20550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20551 done; \
20552 echo "Doing dvi in readline" ; \
20553 (cd $(HOST_SUBDIR)/readline && \
20554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20556 "RANLIB=$${RANLIB}" \
20557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20558 dvi) \
20559 || exit 1
20561 @endif readline
20563 .PHONY: maybe-html-readline html-readline
20564 maybe-html-readline:
20565 @if readline
20566 maybe-html-readline: html-readline
20568 html-readline: \
20569 configure-readline
20570 @$(unstage)
20571 @[ -f ./readline/Makefile ] || exit 0; \
20572 r=`${PWD_COMMAND}`; export r; \
20573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20574 $(HOST_EXPORTS) \
20575 for flag in $(EXTRA_HOST_FLAGS) ; do \
20576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20577 done; \
20578 echo "Doing html in readline" ; \
20579 (cd $(HOST_SUBDIR)/readline && \
20580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20582 "RANLIB=$${RANLIB}" \
20583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20584 html) \
20585 || exit 1
20587 @endif readline
20589 .PHONY: maybe-TAGS-readline TAGS-readline
20590 maybe-TAGS-readline:
20591 @if readline
20592 maybe-TAGS-readline: TAGS-readline
20594 TAGS-readline: \
20595 configure-readline
20596 @$(unstage)
20597 @[ -f ./readline/Makefile ] || exit 0; \
20598 r=`${PWD_COMMAND}`; export r; \
20599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20600 $(HOST_EXPORTS) \
20601 for flag in $(EXTRA_HOST_FLAGS) ; do \
20602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20603 done; \
20604 echo "Doing TAGS in readline" ; \
20605 (cd $(HOST_SUBDIR)/readline && \
20606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20608 "RANLIB=$${RANLIB}" \
20609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20610 TAGS) \
20611 || exit 1
20613 @endif readline
20615 .PHONY: maybe-install-info-readline install-info-readline
20616 maybe-install-info-readline:
20617 @if readline
20618 maybe-install-info-readline: install-info-readline
20620 install-info-readline: \
20621 configure-readline \
20622 info-readline
20623 @$(unstage)
20624 @[ -f ./readline/Makefile ] || exit 0; \
20625 r=`${PWD_COMMAND}`; export r; \
20626 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20627 $(HOST_EXPORTS) \
20628 for flag in $(EXTRA_HOST_FLAGS) ; do \
20629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20630 done; \
20631 echo "Doing install-info in readline" ; \
20632 (cd $(HOST_SUBDIR)/readline && \
20633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20635 "RANLIB=$${RANLIB}" \
20636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20637 install-info) \
20638 || exit 1
20640 @endif readline
20642 .PHONY: maybe-installcheck-readline installcheck-readline
20643 maybe-installcheck-readline:
20644 @if readline
20645 maybe-installcheck-readline: installcheck-readline
20647 installcheck-readline: \
20648 configure-readline
20649 @$(unstage)
20650 @[ -f ./readline/Makefile ] || exit 0; \
20651 r=`${PWD_COMMAND}`; export r; \
20652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20653 $(HOST_EXPORTS) \
20654 for flag in $(EXTRA_HOST_FLAGS) ; do \
20655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20656 done; \
20657 echo "Doing installcheck in readline" ; \
20658 (cd $(HOST_SUBDIR)/readline && \
20659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20661 "RANLIB=$${RANLIB}" \
20662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20663 installcheck) \
20664 || exit 1
20666 @endif readline
20668 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
20669 maybe-mostlyclean-readline:
20670 @if readline
20671 maybe-mostlyclean-readline: mostlyclean-readline
20673 mostlyclean-readline:
20674 @$(unstage)
20675 @[ -f ./readline/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 mostlyclean in readline" ; \
20683 (cd $(HOST_SUBDIR)/readline && \
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 mostlyclean) \
20689 || exit 1
20691 @endif readline
20693 .PHONY: maybe-clean-readline clean-readline
20694 maybe-clean-readline:
20695 @if readline
20696 maybe-clean-readline: clean-readline
20698 clean-readline:
20699 @$(unstage)
20700 @[ -f ./readline/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 clean in readline" ; \
20708 (cd $(HOST_SUBDIR)/readline && \
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 clean) \
20714 || exit 1
20716 @endif readline
20718 .PHONY: maybe-distclean-readline distclean-readline
20719 maybe-distclean-readline:
20720 @if readline
20721 maybe-distclean-readline: distclean-readline
20723 distclean-readline:
20724 @$(unstage)
20725 @[ -f ./readline/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 distclean in readline" ; \
20733 (cd $(HOST_SUBDIR)/readline && \
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 distclean) \
20739 || exit 1
20741 @endif readline
20743 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
20744 maybe-maintainer-clean-readline:
20745 @if readline
20746 maybe-maintainer-clean-readline: maintainer-clean-readline
20748 maintainer-clean-readline:
20749 @$(unstage)
20750 @[ -f ./readline/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 maintainer-clean in readline" ; \
20758 (cd $(HOST_SUBDIR)/readline && \
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 maintainer-clean) \
20764 || exit 1
20766 @endif readline
20770 .PHONY: configure-release maybe-configure-release
20771 maybe-configure-release:
20772 @if release
20773 maybe-configure-release: configure-release
20774 configure-release:
20775 @$(unstage)
20776 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
20777 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
20778 r=`${PWD_COMMAND}`; export r; \
20779 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20780 $(HOST_EXPORTS) \
20781 echo Configuring in $(HOST_SUBDIR)/release; \
20782 cd "$(HOST_SUBDIR)/release" || exit 1; \
20783 case $(srcdir) in \
20784 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20785 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
20786 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20787 esac; \
20788 srcdiroption="--srcdir=$${topdir}/release"; \
20789 libsrcdir="$$s/release"; \
20790 $(SHELL) $${libsrcdir}/configure \
20791 $(HOST_CONFIGARGS) $${srcdiroption} \
20792 || exit 1
20793 @endif release
20799 .PHONY: all-release maybe-all-release
20800 maybe-all-release:
20801 @if release
20802 TARGET-release=all
20803 maybe-all-release: all-release
20804 all-release: configure-release
20805 @$(unstage)
20806 @r=`${PWD_COMMAND}`; export r; \
20807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20808 $(HOST_EXPORTS) \
20809 (cd $(HOST_SUBDIR)/release && \
20810 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
20811 @endif release
20816 .PHONY: check-release maybe-check-release
20817 maybe-check-release:
20818 @if release
20819 maybe-check-release: check-release
20821 check-release:
20823 @endif release
20825 .PHONY: install-release maybe-install-release
20826 maybe-install-release:
20827 @if release
20828 maybe-install-release: install-release
20830 install-release:
20832 @endif release
20834 # Other targets (info, dvi, etc.)
20836 .PHONY: maybe-info-release info-release
20837 maybe-info-release:
20838 @if release
20839 maybe-info-release: info-release
20841 info-release: \
20842 configure-release
20843 @$(unstage)
20844 @[ -f ./release/Makefile ] || exit 0; \
20845 r=`${PWD_COMMAND}`; export r; \
20846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20847 $(HOST_EXPORTS) \
20848 for flag in $(EXTRA_HOST_FLAGS) ; do \
20849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20850 done; \
20851 echo "Doing info in release" ; \
20852 (cd $(HOST_SUBDIR)/release && \
20853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20855 "RANLIB=$${RANLIB}" \
20856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20857 info) \
20858 || exit 1
20860 @endif release
20862 .PHONY: maybe-dvi-release dvi-release
20863 maybe-dvi-release:
20864 @if release
20865 maybe-dvi-release: dvi-release
20867 dvi-release: \
20868 configure-release
20869 @$(unstage)
20870 @[ -f ./release/Makefile ] || exit 0; \
20871 r=`${PWD_COMMAND}`; export r; \
20872 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20873 $(HOST_EXPORTS) \
20874 for flag in $(EXTRA_HOST_FLAGS) ; do \
20875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20876 done; \
20877 echo "Doing dvi in release" ; \
20878 (cd $(HOST_SUBDIR)/release && \
20879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20881 "RANLIB=$${RANLIB}" \
20882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20883 dvi) \
20884 || exit 1
20886 @endif release
20888 .PHONY: maybe-html-release html-release
20889 maybe-html-release:
20890 @if release
20891 maybe-html-release: html-release
20893 html-release: \
20894 configure-release
20895 @$(unstage)
20896 @[ -f ./release/Makefile ] || exit 0; \
20897 r=`${PWD_COMMAND}`; export r; \
20898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20899 $(HOST_EXPORTS) \
20900 for flag in $(EXTRA_HOST_FLAGS) ; do \
20901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20902 done; \
20903 echo "Doing html in release" ; \
20904 (cd $(HOST_SUBDIR)/release && \
20905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20907 "RANLIB=$${RANLIB}" \
20908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20909 html) \
20910 || exit 1
20912 @endif release
20914 .PHONY: maybe-TAGS-release TAGS-release
20915 maybe-TAGS-release:
20916 @if release
20917 maybe-TAGS-release: TAGS-release
20919 TAGS-release: \
20920 configure-release
20921 @$(unstage)
20922 @[ -f ./release/Makefile ] || exit 0; \
20923 r=`${PWD_COMMAND}`; export r; \
20924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20925 $(HOST_EXPORTS) \
20926 for flag in $(EXTRA_HOST_FLAGS) ; do \
20927 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20928 done; \
20929 echo "Doing TAGS in release" ; \
20930 (cd $(HOST_SUBDIR)/release && \
20931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20933 "RANLIB=$${RANLIB}" \
20934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20935 TAGS) \
20936 || exit 1
20938 @endif release
20940 .PHONY: maybe-install-info-release install-info-release
20941 maybe-install-info-release:
20942 @if release
20943 maybe-install-info-release: install-info-release
20945 install-info-release: \
20946 configure-release \
20947 info-release
20948 @$(unstage)
20949 @[ -f ./release/Makefile ] || exit 0; \
20950 r=`${PWD_COMMAND}`; export r; \
20951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20952 $(HOST_EXPORTS) \
20953 for flag in $(EXTRA_HOST_FLAGS) ; do \
20954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20955 done; \
20956 echo "Doing install-info in release" ; \
20957 (cd $(HOST_SUBDIR)/release && \
20958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20960 "RANLIB=$${RANLIB}" \
20961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20962 install-info) \
20963 || exit 1
20965 @endif release
20967 .PHONY: maybe-installcheck-release installcheck-release
20968 maybe-installcheck-release:
20969 @if release
20970 maybe-installcheck-release: installcheck-release
20972 installcheck-release: \
20973 configure-release
20974 @$(unstage)
20975 @[ -f ./release/Makefile ] || exit 0; \
20976 r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20978 $(HOST_EXPORTS) \
20979 for flag in $(EXTRA_HOST_FLAGS) ; do \
20980 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20981 done; \
20982 echo "Doing installcheck in release" ; \
20983 (cd $(HOST_SUBDIR)/release && \
20984 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20985 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20986 "RANLIB=$${RANLIB}" \
20987 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20988 installcheck) \
20989 || exit 1
20991 @endif release
20993 .PHONY: maybe-mostlyclean-release mostlyclean-release
20994 maybe-mostlyclean-release:
20995 @if release
20996 maybe-mostlyclean-release: mostlyclean-release
20998 mostlyclean-release:
20999 @$(unstage)
21000 @[ -f ./release/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(HOST_EXPORTS) \
21004 for flag in $(EXTRA_HOST_FLAGS) ; do \
21005 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21006 done; \
21007 echo "Doing mostlyclean in release" ; \
21008 (cd $(HOST_SUBDIR)/release && \
21009 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21010 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21011 "RANLIB=$${RANLIB}" \
21012 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21013 mostlyclean) \
21014 || exit 1
21016 @endif release
21018 .PHONY: maybe-clean-release clean-release
21019 maybe-clean-release:
21020 @if release
21021 maybe-clean-release: clean-release
21023 clean-release:
21024 @$(unstage)
21025 @[ -f ./release/Makefile ] || exit 0; \
21026 r=`${PWD_COMMAND}`; export r; \
21027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21028 $(HOST_EXPORTS) \
21029 for flag in $(EXTRA_HOST_FLAGS) ; do \
21030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21031 done; \
21032 echo "Doing clean in release" ; \
21033 (cd $(HOST_SUBDIR)/release && \
21034 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21035 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21036 "RANLIB=$${RANLIB}" \
21037 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21038 clean) \
21039 || exit 1
21041 @endif release
21043 .PHONY: maybe-distclean-release distclean-release
21044 maybe-distclean-release:
21045 @if release
21046 maybe-distclean-release: distclean-release
21048 distclean-release:
21049 @$(unstage)
21050 @[ -f ./release/Makefile ] || exit 0; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 $(HOST_EXPORTS) \
21054 for flag in $(EXTRA_HOST_FLAGS) ; do \
21055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21056 done; \
21057 echo "Doing distclean in release" ; \
21058 (cd $(HOST_SUBDIR)/release && \
21059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21061 "RANLIB=$${RANLIB}" \
21062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21063 distclean) \
21064 || exit 1
21066 @endif release
21068 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
21069 maybe-maintainer-clean-release:
21070 @if release
21071 maybe-maintainer-clean-release: maintainer-clean-release
21073 maintainer-clean-release:
21074 @$(unstage)
21075 @[ -f ./release/Makefile ] || exit 0; \
21076 r=`${PWD_COMMAND}`; export r; \
21077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21078 $(HOST_EXPORTS) \
21079 for flag in $(EXTRA_HOST_FLAGS) ; do \
21080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21081 done; \
21082 echo "Doing maintainer-clean in release" ; \
21083 (cd $(HOST_SUBDIR)/release && \
21084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21086 "RANLIB=$${RANLIB}" \
21087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21088 maintainer-clean) \
21089 || exit 1
21091 @endif release
21095 .PHONY: configure-recode maybe-configure-recode
21096 maybe-configure-recode:
21097 @if recode
21098 maybe-configure-recode: configure-recode
21099 configure-recode:
21100 @$(unstage)
21101 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
21102 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
21103 r=`${PWD_COMMAND}`; export r; \
21104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21105 $(HOST_EXPORTS) \
21106 echo Configuring in $(HOST_SUBDIR)/recode; \
21107 cd "$(HOST_SUBDIR)/recode" || exit 1; \
21108 case $(srcdir) in \
21109 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21110 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
21111 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21112 esac; \
21113 srcdiroption="--srcdir=$${topdir}/recode"; \
21114 libsrcdir="$$s/recode"; \
21115 $(SHELL) $${libsrcdir}/configure \
21116 $(HOST_CONFIGARGS) $${srcdiroption} \
21117 || exit 1
21118 @endif recode
21124 .PHONY: all-recode maybe-all-recode
21125 maybe-all-recode:
21126 @if recode
21127 TARGET-recode=all
21128 maybe-all-recode: all-recode
21129 all-recode: configure-recode
21130 @$(unstage)
21131 @r=`${PWD_COMMAND}`; export r; \
21132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21133 $(HOST_EXPORTS) \
21134 (cd $(HOST_SUBDIR)/recode && \
21135 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
21136 @endif recode
21141 .PHONY: check-recode maybe-check-recode
21142 maybe-check-recode:
21143 @if recode
21144 maybe-check-recode: check-recode
21146 check-recode:
21147 @$(unstage)
21148 @r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(HOST_EXPORTS) \
21151 (cd $(HOST_SUBDIR)/recode && \
21152 $(MAKE) $(FLAGS_TO_PASS) check)
21154 @endif recode
21156 .PHONY: install-recode maybe-install-recode
21157 maybe-install-recode:
21158 @if recode
21159 maybe-install-recode: install-recode
21161 install-recode: installdirs
21162 @$(unstage)
21163 @r=`${PWD_COMMAND}`; export r; \
21164 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21165 $(HOST_EXPORTS) \
21166 (cd $(HOST_SUBDIR)/recode && \
21167 $(MAKE) $(FLAGS_TO_PASS) install)
21169 @endif recode
21171 # Other targets (info, dvi, etc.)
21173 .PHONY: maybe-info-recode info-recode
21174 maybe-info-recode:
21175 @if recode
21176 maybe-info-recode: info-recode
21178 info-recode: \
21179 configure-recode
21180 @$(unstage)
21181 @[ -f ./recode/Makefile ] || exit 0; \
21182 r=`${PWD_COMMAND}`; export r; \
21183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21184 $(HOST_EXPORTS) \
21185 for flag in $(EXTRA_HOST_FLAGS) ; do \
21186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21187 done; \
21188 echo "Doing info in recode" ; \
21189 (cd $(HOST_SUBDIR)/recode && \
21190 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21191 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21192 "RANLIB=$${RANLIB}" \
21193 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21194 info) \
21195 || exit 1
21197 @endif recode
21199 .PHONY: maybe-dvi-recode dvi-recode
21200 maybe-dvi-recode:
21201 @if recode
21202 maybe-dvi-recode: dvi-recode
21204 dvi-recode: \
21205 configure-recode
21206 @$(unstage)
21207 @[ -f ./recode/Makefile ] || exit 0; \
21208 r=`${PWD_COMMAND}`; export r; \
21209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21210 $(HOST_EXPORTS) \
21211 for flag in $(EXTRA_HOST_FLAGS) ; do \
21212 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21213 done; \
21214 echo "Doing dvi in recode" ; \
21215 (cd $(HOST_SUBDIR)/recode && \
21216 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21217 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21218 "RANLIB=$${RANLIB}" \
21219 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21220 dvi) \
21221 || exit 1
21223 @endif recode
21225 .PHONY: maybe-html-recode html-recode
21226 maybe-html-recode:
21227 @if recode
21228 maybe-html-recode: html-recode
21230 html-recode: \
21231 configure-recode
21232 @$(unstage)
21233 @[ -f ./recode/Makefile ] || exit 0; \
21234 r=`${PWD_COMMAND}`; export r; \
21235 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21236 $(HOST_EXPORTS) \
21237 for flag in $(EXTRA_HOST_FLAGS) ; do \
21238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21239 done; \
21240 echo "Doing html in recode" ; \
21241 (cd $(HOST_SUBDIR)/recode && \
21242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21244 "RANLIB=$${RANLIB}" \
21245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21246 html) \
21247 || exit 1
21249 @endif recode
21251 .PHONY: maybe-TAGS-recode TAGS-recode
21252 maybe-TAGS-recode:
21253 @if recode
21254 maybe-TAGS-recode: TAGS-recode
21256 TAGS-recode: \
21257 configure-recode
21258 @$(unstage)
21259 @[ -f ./recode/Makefile ] || exit 0; \
21260 r=`${PWD_COMMAND}`; export r; \
21261 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21262 $(HOST_EXPORTS) \
21263 for flag in $(EXTRA_HOST_FLAGS) ; do \
21264 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21265 done; \
21266 echo "Doing TAGS in recode" ; \
21267 (cd $(HOST_SUBDIR)/recode && \
21268 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21269 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21270 "RANLIB=$${RANLIB}" \
21271 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21272 TAGS) \
21273 || exit 1
21275 @endif recode
21277 .PHONY: maybe-install-info-recode install-info-recode
21278 maybe-install-info-recode:
21279 @if recode
21280 maybe-install-info-recode: install-info-recode
21282 install-info-recode: \
21283 configure-recode \
21284 info-recode
21285 @$(unstage)
21286 @[ -f ./recode/Makefile ] || exit 0; \
21287 r=`${PWD_COMMAND}`; export r; \
21288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21289 $(HOST_EXPORTS) \
21290 for flag in $(EXTRA_HOST_FLAGS) ; do \
21291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21292 done; \
21293 echo "Doing install-info in recode" ; \
21294 (cd $(HOST_SUBDIR)/recode && \
21295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21297 "RANLIB=$${RANLIB}" \
21298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21299 install-info) \
21300 || exit 1
21302 @endif recode
21304 .PHONY: maybe-installcheck-recode installcheck-recode
21305 maybe-installcheck-recode:
21306 @if recode
21307 maybe-installcheck-recode: installcheck-recode
21309 installcheck-recode: \
21310 configure-recode
21311 @$(unstage)
21312 @[ -f ./recode/Makefile ] || exit 0; \
21313 r=`${PWD_COMMAND}`; export r; \
21314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21315 $(HOST_EXPORTS) \
21316 for flag in $(EXTRA_HOST_FLAGS) ; do \
21317 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21318 done; \
21319 echo "Doing installcheck in recode" ; \
21320 (cd $(HOST_SUBDIR)/recode && \
21321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21323 "RANLIB=$${RANLIB}" \
21324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21325 installcheck) \
21326 || exit 1
21328 @endif recode
21330 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
21331 maybe-mostlyclean-recode:
21332 @if recode
21333 maybe-mostlyclean-recode: mostlyclean-recode
21335 mostlyclean-recode:
21336 @$(unstage)
21337 @[ -f ./recode/Makefile ] || exit 0; \
21338 r=`${PWD_COMMAND}`; export r; \
21339 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21340 $(HOST_EXPORTS) \
21341 for flag in $(EXTRA_HOST_FLAGS) ; do \
21342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21343 done; \
21344 echo "Doing mostlyclean in recode" ; \
21345 (cd $(HOST_SUBDIR)/recode && \
21346 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21347 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21348 "RANLIB=$${RANLIB}" \
21349 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21350 mostlyclean) \
21351 || exit 1
21353 @endif recode
21355 .PHONY: maybe-clean-recode clean-recode
21356 maybe-clean-recode:
21357 @if recode
21358 maybe-clean-recode: clean-recode
21360 clean-recode:
21361 @$(unstage)
21362 @[ -f ./recode/Makefile ] || exit 0; \
21363 r=`${PWD_COMMAND}`; export r; \
21364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21365 $(HOST_EXPORTS) \
21366 for flag in $(EXTRA_HOST_FLAGS) ; do \
21367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21368 done; \
21369 echo "Doing clean in recode" ; \
21370 (cd $(HOST_SUBDIR)/recode && \
21371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21373 "RANLIB=$${RANLIB}" \
21374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21375 clean) \
21376 || exit 1
21378 @endif recode
21380 .PHONY: maybe-distclean-recode distclean-recode
21381 maybe-distclean-recode:
21382 @if recode
21383 maybe-distclean-recode: distclean-recode
21385 distclean-recode:
21386 @$(unstage)
21387 @[ -f ./recode/Makefile ] || exit 0; \
21388 r=`${PWD_COMMAND}`; export r; \
21389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21390 $(HOST_EXPORTS) \
21391 for flag in $(EXTRA_HOST_FLAGS) ; do \
21392 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21393 done; \
21394 echo "Doing distclean in recode" ; \
21395 (cd $(HOST_SUBDIR)/recode && \
21396 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21397 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21398 "RANLIB=$${RANLIB}" \
21399 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21400 distclean) \
21401 || exit 1
21403 @endif recode
21405 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
21406 maybe-maintainer-clean-recode:
21407 @if recode
21408 maybe-maintainer-clean-recode: maintainer-clean-recode
21410 maintainer-clean-recode:
21411 @$(unstage)
21412 @[ -f ./recode/Makefile ] || exit 0; \
21413 r=`${PWD_COMMAND}`; export r; \
21414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21415 $(HOST_EXPORTS) \
21416 for flag in $(EXTRA_HOST_FLAGS) ; do \
21417 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21418 done; \
21419 echo "Doing maintainer-clean in recode" ; \
21420 (cd $(HOST_SUBDIR)/recode && \
21421 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21422 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21423 "RANLIB=$${RANLIB}" \
21424 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21425 maintainer-clean) \
21426 || exit 1
21428 @endif recode
21432 .PHONY: configure-sed maybe-configure-sed
21433 maybe-configure-sed:
21434 @if sed
21435 maybe-configure-sed: configure-sed
21436 configure-sed:
21437 @$(unstage)
21438 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
21439 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
21440 r=`${PWD_COMMAND}`; export r; \
21441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21442 $(HOST_EXPORTS) \
21443 echo Configuring in $(HOST_SUBDIR)/sed; \
21444 cd "$(HOST_SUBDIR)/sed" || exit 1; \
21445 case $(srcdir) in \
21446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21447 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
21448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21449 esac; \
21450 srcdiroption="--srcdir=$${topdir}/sed"; \
21451 libsrcdir="$$s/sed"; \
21452 $(SHELL) $${libsrcdir}/configure \
21453 $(HOST_CONFIGARGS) $${srcdiroption} \
21454 || exit 1
21455 @endif sed
21461 .PHONY: all-sed maybe-all-sed
21462 maybe-all-sed:
21463 @if sed
21464 TARGET-sed=all
21465 maybe-all-sed: all-sed
21466 all-sed: configure-sed
21467 @$(unstage)
21468 @r=`${PWD_COMMAND}`; export r; \
21469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21470 $(HOST_EXPORTS) \
21471 (cd $(HOST_SUBDIR)/sed && \
21472 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
21473 @endif sed
21478 .PHONY: check-sed maybe-check-sed
21479 maybe-check-sed:
21480 @if sed
21481 maybe-check-sed: check-sed
21483 check-sed:
21484 @$(unstage)
21485 @r=`${PWD_COMMAND}`; export r; \
21486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21487 $(HOST_EXPORTS) \
21488 (cd $(HOST_SUBDIR)/sed && \
21489 $(MAKE) $(FLAGS_TO_PASS) check)
21491 @endif sed
21493 .PHONY: install-sed maybe-install-sed
21494 maybe-install-sed:
21495 @if sed
21496 maybe-install-sed: install-sed
21498 install-sed: installdirs
21499 @$(unstage)
21500 @r=`${PWD_COMMAND}`; export r; \
21501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21502 $(HOST_EXPORTS) \
21503 (cd $(HOST_SUBDIR)/sed && \
21504 $(MAKE) $(FLAGS_TO_PASS) install)
21506 @endif sed
21508 # Other targets (info, dvi, etc.)
21510 .PHONY: maybe-info-sed info-sed
21511 maybe-info-sed:
21512 @if sed
21513 maybe-info-sed: info-sed
21515 info-sed: \
21516 configure-sed
21517 @$(unstage)
21518 @[ -f ./sed/Makefile ] || exit 0; \
21519 r=`${PWD_COMMAND}`; export r; \
21520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21521 $(HOST_EXPORTS) \
21522 for flag in $(EXTRA_HOST_FLAGS) ; do \
21523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21524 done; \
21525 echo "Doing info in sed" ; \
21526 (cd $(HOST_SUBDIR)/sed && \
21527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21529 "RANLIB=$${RANLIB}" \
21530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21531 info) \
21532 || exit 1
21534 @endif sed
21536 .PHONY: maybe-dvi-sed dvi-sed
21537 maybe-dvi-sed:
21538 @if sed
21539 maybe-dvi-sed: dvi-sed
21541 dvi-sed: \
21542 configure-sed
21543 @$(unstage)
21544 @[ -f ./sed/Makefile ] || exit 0; \
21545 r=`${PWD_COMMAND}`; export r; \
21546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21547 $(HOST_EXPORTS) \
21548 for flag in $(EXTRA_HOST_FLAGS) ; do \
21549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21550 done; \
21551 echo "Doing dvi in sed" ; \
21552 (cd $(HOST_SUBDIR)/sed && \
21553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21555 "RANLIB=$${RANLIB}" \
21556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21557 dvi) \
21558 || exit 1
21560 @endif sed
21562 .PHONY: maybe-html-sed html-sed
21563 maybe-html-sed:
21564 @if sed
21565 maybe-html-sed: html-sed
21567 html-sed: \
21568 configure-sed
21569 @$(unstage)
21570 @[ -f ./sed/Makefile ] || exit 0; \
21571 r=`${PWD_COMMAND}`; export r; \
21572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21573 $(HOST_EXPORTS) \
21574 for flag in $(EXTRA_HOST_FLAGS) ; do \
21575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21576 done; \
21577 echo "Doing html in sed" ; \
21578 (cd $(HOST_SUBDIR)/sed && \
21579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21581 "RANLIB=$${RANLIB}" \
21582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21583 html) \
21584 || exit 1
21586 @endif sed
21588 .PHONY: maybe-TAGS-sed TAGS-sed
21589 maybe-TAGS-sed:
21590 @if sed
21591 maybe-TAGS-sed: TAGS-sed
21593 TAGS-sed: \
21594 configure-sed
21595 @$(unstage)
21596 @[ -f ./sed/Makefile ] || exit 0; \
21597 r=`${PWD_COMMAND}`; export r; \
21598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21599 $(HOST_EXPORTS) \
21600 for flag in $(EXTRA_HOST_FLAGS) ; do \
21601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21602 done; \
21603 echo "Doing TAGS in sed" ; \
21604 (cd $(HOST_SUBDIR)/sed && \
21605 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21606 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21607 "RANLIB=$${RANLIB}" \
21608 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21609 TAGS) \
21610 || exit 1
21612 @endif sed
21614 .PHONY: maybe-install-info-sed install-info-sed
21615 maybe-install-info-sed:
21616 @if sed
21617 maybe-install-info-sed: install-info-sed
21619 install-info-sed: \
21620 configure-sed \
21621 info-sed
21622 @$(unstage)
21623 @[ -f ./sed/Makefile ] || exit 0; \
21624 r=`${PWD_COMMAND}`; export r; \
21625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21626 $(HOST_EXPORTS) \
21627 for flag in $(EXTRA_HOST_FLAGS) ; do \
21628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21629 done; \
21630 echo "Doing install-info in sed" ; \
21631 (cd $(HOST_SUBDIR)/sed && \
21632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21634 "RANLIB=$${RANLIB}" \
21635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21636 install-info) \
21637 || exit 1
21639 @endif sed
21641 .PHONY: maybe-installcheck-sed installcheck-sed
21642 maybe-installcheck-sed:
21643 @if sed
21644 maybe-installcheck-sed: installcheck-sed
21646 installcheck-sed: \
21647 configure-sed
21648 @$(unstage)
21649 @[ -f ./sed/Makefile ] || exit 0; \
21650 r=`${PWD_COMMAND}`; export r; \
21651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21652 $(HOST_EXPORTS) \
21653 for flag in $(EXTRA_HOST_FLAGS) ; do \
21654 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21655 done; \
21656 echo "Doing installcheck in sed" ; \
21657 (cd $(HOST_SUBDIR)/sed && \
21658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21660 "RANLIB=$${RANLIB}" \
21661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21662 installcheck) \
21663 || exit 1
21665 @endif sed
21667 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
21668 maybe-mostlyclean-sed:
21669 @if sed
21670 maybe-mostlyclean-sed: mostlyclean-sed
21672 mostlyclean-sed:
21673 @$(unstage)
21674 @[ -f ./sed/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 mostlyclean in sed" ; \
21682 (cd $(HOST_SUBDIR)/sed && \
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 mostlyclean) \
21688 || exit 1
21690 @endif sed
21692 .PHONY: maybe-clean-sed clean-sed
21693 maybe-clean-sed:
21694 @if sed
21695 maybe-clean-sed: clean-sed
21697 clean-sed:
21698 @$(unstage)
21699 @[ -f ./sed/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 clean in sed" ; \
21707 (cd $(HOST_SUBDIR)/sed && \
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 clean) \
21713 || exit 1
21715 @endif sed
21717 .PHONY: maybe-distclean-sed distclean-sed
21718 maybe-distclean-sed:
21719 @if sed
21720 maybe-distclean-sed: distclean-sed
21722 distclean-sed:
21723 @$(unstage)
21724 @[ -f ./sed/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 distclean in sed" ; \
21732 (cd $(HOST_SUBDIR)/sed && \
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 distclean) \
21738 || exit 1
21740 @endif sed
21742 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
21743 maybe-maintainer-clean-sed:
21744 @if sed
21745 maybe-maintainer-clean-sed: maintainer-clean-sed
21747 maintainer-clean-sed:
21748 @$(unstage)
21749 @[ -f ./sed/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 maintainer-clean in sed" ; \
21757 (cd $(HOST_SUBDIR)/sed && \
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 maintainer-clean) \
21763 || exit 1
21765 @endif sed
21769 .PHONY: configure-send-pr maybe-configure-send-pr
21770 maybe-configure-send-pr:
21771 @if send-pr
21772 maybe-configure-send-pr: configure-send-pr
21773 configure-send-pr:
21774 @$(unstage)
21775 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
21776 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
21777 r=`${PWD_COMMAND}`; export r; \
21778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21779 $(HOST_EXPORTS) \
21780 echo Configuring in $(HOST_SUBDIR)/send-pr; \
21781 cd "$(HOST_SUBDIR)/send-pr" || exit 1; \
21782 case $(srcdir) in \
21783 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21784 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
21785 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21786 esac; \
21787 srcdiroption="--srcdir=$${topdir}/send-pr"; \
21788 libsrcdir="$$s/send-pr"; \
21789 $(SHELL) $${libsrcdir}/configure \
21790 $(HOST_CONFIGARGS) $${srcdiroption} \
21791 || exit 1
21792 @endif send-pr
21798 .PHONY: all-send-pr maybe-all-send-pr
21799 maybe-all-send-pr:
21800 @if send-pr
21801 TARGET-send-pr=all
21802 maybe-all-send-pr: all-send-pr
21803 all-send-pr: configure-send-pr
21804 @$(unstage)
21805 @r=`${PWD_COMMAND}`; export r; \
21806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21807 $(HOST_EXPORTS) \
21808 (cd $(HOST_SUBDIR)/send-pr && \
21809 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
21810 @endif send-pr
21815 .PHONY: check-send-pr maybe-check-send-pr
21816 maybe-check-send-pr:
21817 @if send-pr
21818 maybe-check-send-pr: check-send-pr
21820 check-send-pr:
21821 @$(unstage)
21822 @r=`${PWD_COMMAND}`; export r; \
21823 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21824 $(HOST_EXPORTS) \
21825 (cd $(HOST_SUBDIR)/send-pr && \
21826 $(MAKE) $(FLAGS_TO_PASS) check)
21828 @endif send-pr
21830 .PHONY: install-send-pr maybe-install-send-pr
21831 maybe-install-send-pr:
21832 @if send-pr
21833 maybe-install-send-pr: install-send-pr
21835 install-send-pr: installdirs
21836 @$(unstage)
21837 @r=`${PWD_COMMAND}`; export r; \
21838 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21839 $(HOST_EXPORTS) \
21840 (cd $(HOST_SUBDIR)/send-pr && \
21841 $(MAKE) $(FLAGS_TO_PASS) install)
21843 @endif send-pr
21845 # Other targets (info, dvi, etc.)
21847 .PHONY: maybe-info-send-pr info-send-pr
21848 maybe-info-send-pr:
21849 @if send-pr
21850 maybe-info-send-pr: info-send-pr
21852 info-send-pr: \
21853 configure-send-pr
21854 @$(unstage)
21855 @[ -f ./send-pr/Makefile ] || exit 0; \
21856 r=`${PWD_COMMAND}`; export r; \
21857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21858 $(HOST_EXPORTS) \
21859 for flag in $(EXTRA_HOST_FLAGS) ; do \
21860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21861 done; \
21862 echo "Doing info in send-pr" ; \
21863 (cd $(HOST_SUBDIR)/send-pr && \
21864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21866 "RANLIB=$${RANLIB}" \
21867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21868 info) \
21869 || exit 1
21871 @endif send-pr
21873 .PHONY: maybe-dvi-send-pr dvi-send-pr
21874 maybe-dvi-send-pr:
21875 @if send-pr
21876 maybe-dvi-send-pr: dvi-send-pr
21878 dvi-send-pr: \
21879 configure-send-pr
21880 @$(unstage)
21881 @[ -f ./send-pr/Makefile ] || exit 0; \
21882 r=`${PWD_COMMAND}`; export r; \
21883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21884 $(HOST_EXPORTS) \
21885 for flag in $(EXTRA_HOST_FLAGS) ; do \
21886 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21887 done; \
21888 echo "Doing dvi in send-pr" ; \
21889 (cd $(HOST_SUBDIR)/send-pr && \
21890 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21891 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21892 "RANLIB=$${RANLIB}" \
21893 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21894 dvi) \
21895 || exit 1
21897 @endif send-pr
21899 .PHONY: maybe-html-send-pr html-send-pr
21900 maybe-html-send-pr:
21901 @if send-pr
21902 maybe-html-send-pr: html-send-pr
21904 html-send-pr: \
21905 configure-send-pr
21906 @$(unstage)
21907 @[ -f ./send-pr/Makefile ] || exit 0; \
21908 r=`${PWD_COMMAND}`; export r; \
21909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21910 $(HOST_EXPORTS) \
21911 for flag in $(EXTRA_HOST_FLAGS) ; do \
21912 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21913 done; \
21914 echo "Doing html in send-pr" ; \
21915 (cd $(HOST_SUBDIR)/send-pr && \
21916 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21917 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21918 "RANLIB=$${RANLIB}" \
21919 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21920 html) \
21921 || exit 1
21923 @endif send-pr
21925 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
21926 maybe-TAGS-send-pr:
21927 @if send-pr
21928 maybe-TAGS-send-pr: TAGS-send-pr
21930 TAGS-send-pr: \
21931 configure-send-pr
21932 @$(unstage)
21933 @[ -f ./send-pr/Makefile ] || exit 0; \
21934 r=`${PWD_COMMAND}`; export r; \
21935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21936 $(HOST_EXPORTS) \
21937 for flag in $(EXTRA_HOST_FLAGS) ; do \
21938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21939 done; \
21940 echo "Doing TAGS in send-pr" ; \
21941 (cd $(HOST_SUBDIR)/send-pr && \
21942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21944 "RANLIB=$${RANLIB}" \
21945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21946 TAGS) \
21947 || exit 1
21949 @endif send-pr
21951 .PHONY: maybe-install-info-send-pr install-info-send-pr
21952 maybe-install-info-send-pr:
21953 @if send-pr
21954 maybe-install-info-send-pr: install-info-send-pr
21956 install-info-send-pr: \
21957 configure-send-pr \
21958 info-send-pr
21959 @$(unstage)
21960 @[ -f ./send-pr/Makefile ] || exit 0; \
21961 r=`${PWD_COMMAND}`; export r; \
21962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21963 $(HOST_EXPORTS) \
21964 for flag in $(EXTRA_HOST_FLAGS) ; do \
21965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21966 done; \
21967 echo "Doing install-info in send-pr" ; \
21968 (cd $(HOST_SUBDIR)/send-pr && \
21969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21971 "RANLIB=$${RANLIB}" \
21972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21973 install-info) \
21974 || exit 1
21976 @endif send-pr
21978 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
21979 maybe-installcheck-send-pr:
21980 @if send-pr
21981 maybe-installcheck-send-pr: installcheck-send-pr
21983 installcheck-send-pr: \
21984 configure-send-pr
21985 @$(unstage)
21986 @[ -f ./send-pr/Makefile ] || exit 0; \
21987 r=`${PWD_COMMAND}`; export r; \
21988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21989 $(HOST_EXPORTS) \
21990 for flag in $(EXTRA_HOST_FLAGS) ; do \
21991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21992 done; \
21993 echo "Doing installcheck in send-pr" ; \
21994 (cd $(HOST_SUBDIR)/send-pr && \
21995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21997 "RANLIB=$${RANLIB}" \
21998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21999 installcheck) \
22000 || exit 1
22002 @endif send-pr
22004 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
22005 maybe-mostlyclean-send-pr:
22006 @if send-pr
22007 maybe-mostlyclean-send-pr: mostlyclean-send-pr
22009 mostlyclean-send-pr:
22010 @$(unstage)
22011 @[ -f ./send-pr/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 mostlyclean in send-pr" ; \
22019 (cd $(HOST_SUBDIR)/send-pr && \
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 mostlyclean) \
22025 || exit 1
22027 @endif send-pr
22029 .PHONY: maybe-clean-send-pr clean-send-pr
22030 maybe-clean-send-pr:
22031 @if send-pr
22032 maybe-clean-send-pr: clean-send-pr
22034 clean-send-pr:
22035 @$(unstage)
22036 @[ -f ./send-pr/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 clean in send-pr" ; \
22044 (cd $(HOST_SUBDIR)/send-pr && \
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 clean) \
22050 || exit 1
22052 @endif send-pr
22054 .PHONY: maybe-distclean-send-pr distclean-send-pr
22055 maybe-distclean-send-pr:
22056 @if send-pr
22057 maybe-distclean-send-pr: distclean-send-pr
22059 distclean-send-pr:
22060 @$(unstage)
22061 @[ -f ./send-pr/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 distclean in send-pr" ; \
22069 (cd $(HOST_SUBDIR)/send-pr && \
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 distclean) \
22075 || exit 1
22077 @endif send-pr
22079 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
22080 maybe-maintainer-clean-send-pr:
22081 @if send-pr
22082 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
22084 maintainer-clean-send-pr:
22085 @$(unstage)
22086 @[ -f ./send-pr/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 maintainer-clean in send-pr" ; \
22094 (cd $(HOST_SUBDIR)/send-pr && \
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 maintainer-clean) \
22100 || exit 1
22102 @endif send-pr
22106 .PHONY: configure-shellutils maybe-configure-shellutils
22107 maybe-configure-shellutils:
22108 @if shellutils
22109 maybe-configure-shellutils: configure-shellutils
22110 configure-shellutils:
22111 @$(unstage)
22112 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
22113 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
22114 r=`${PWD_COMMAND}`; export r; \
22115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22116 $(HOST_EXPORTS) \
22117 echo Configuring in $(HOST_SUBDIR)/shellutils; \
22118 cd "$(HOST_SUBDIR)/shellutils" || exit 1; \
22119 case $(srcdir) in \
22120 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22121 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
22122 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22123 esac; \
22124 srcdiroption="--srcdir=$${topdir}/shellutils"; \
22125 libsrcdir="$$s/shellutils"; \
22126 $(SHELL) $${libsrcdir}/configure \
22127 $(HOST_CONFIGARGS) $${srcdiroption} \
22128 || exit 1
22129 @endif shellutils
22135 .PHONY: all-shellutils maybe-all-shellutils
22136 maybe-all-shellutils:
22137 @if shellutils
22138 TARGET-shellutils=all
22139 maybe-all-shellutils: all-shellutils
22140 all-shellutils: configure-shellutils
22141 @$(unstage)
22142 @r=`${PWD_COMMAND}`; export r; \
22143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22144 $(HOST_EXPORTS) \
22145 (cd $(HOST_SUBDIR)/shellutils && \
22146 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
22147 @endif shellutils
22152 .PHONY: check-shellutils maybe-check-shellutils
22153 maybe-check-shellutils:
22154 @if shellutils
22155 maybe-check-shellutils: check-shellutils
22157 check-shellutils:
22158 @$(unstage)
22159 @r=`${PWD_COMMAND}`; export r; \
22160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22161 $(HOST_EXPORTS) \
22162 (cd $(HOST_SUBDIR)/shellutils && \
22163 $(MAKE) $(FLAGS_TO_PASS) check)
22165 @endif shellutils
22167 .PHONY: install-shellutils maybe-install-shellutils
22168 maybe-install-shellutils:
22169 @if shellutils
22170 maybe-install-shellutils: install-shellutils
22172 install-shellutils: installdirs
22173 @$(unstage)
22174 @r=`${PWD_COMMAND}`; export r; \
22175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22176 $(HOST_EXPORTS) \
22177 (cd $(HOST_SUBDIR)/shellutils && \
22178 $(MAKE) $(FLAGS_TO_PASS) install)
22180 @endif shellutils
22182 # Other targets (info, dvi, etc.)
22184 .PHONY: maybe-info-shellutils info-shellutils
22185 maybe-info-shellutils:
22186 @if shellutils
22187 maybe-info-shellutils: info-shellutils
22189 info-shellutils: \
22190 configure-shellutils
22191 @$(unstage)
22192 @[ -f ./shellutils/Makefile ] || exit 0; \
22193 r=`${PWD_COMMAND}`; export r; \
22194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22195 $(HOST_EXPORTS) \
22196 for flag in $(EXTRA_HOST_FLAGS) ; do \
22197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22198 done; \
22199 echo "Doing info in shellutils" ; \
22200 (cd $(HOST_SUBDIR)/shellutils && \
22201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22203 "RANLIB=$${RANLIB}" \
22204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22205 info) \
22206 || exit 1
22208 @endif shellutils
22210 .PHONY: maybe-dvi-shellutils dvi-shellutils
22211 maybe-dvi-shellutils:
22212 @if shellutils
22213 maybe-dvi-shellutils: dvi-shellutils
22215 dvi-shellutils: \
22216 configure-shellutils
22217 @$(unstage)
22218 @[ -f ./shellutils/Makefile ] || exit 0; \
22219 r=`${PWD_COMMAND}`; export r; \
22220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22221 $(HOST_EXPORTS) \
22222 for flag in $(EXTRA_HOST_FLAGS) ; do \
22223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22224 done; \
22225 echo "Doing dvi in shellutils" ; \
22226 (cd $(HOST_SUBDIR)/shellutils && \
22227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22229 "RANLIB=$${RANLIB}" \
22230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22231 dvi) \
22232 || exit 1
22234 @endif shellutils
22236 .PHONY: maybe-html-shellutils html-shellutils
22237 maybe-html-shellutils:
22238 @if shellutils
22239 maybe-html-shellutils: html-shellutils
22241 html-shellutils: \
22242 configure-shellutils
22243 @$(unstage)
22244 @[ -f ./shellutils/Makefile ] || exit 0; \
22245 r=`${PWD_COMMAND}`; export r; \
22246 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22247 $(HOST_EXPORTS) \
22248 for flag in $(EXTRA_HOST_FLAGS) ; do \
22249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22250 done; \
22251 echo "Doing html in shellutils" ; \
22252 (cd $(HOST_SUBDIR)/shellutils && \
22253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22255 "RANLIB=$${RANLIB}" \
22256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22257 html) \
22258 || exit 1
22260 @endif shellutils
22262 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
22263 maybe-TAGS-shellutils:
22264 @if shellutils
22265 maybe-TAGS-shellutils: TAGS-shellutils
22267 TAGS-shellutils: \
22268 configure-shellutils
22269 @$(unstage)
22270 @[ -f ./shellutils/Makefile ] || exit 0; \
22271 r=`${PWD_COMMAND}`; export r; \
22272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22273 $(HOST_EXPORTS) \
22274 for flag in $(EXTRA_HOST_FLAGS) ; do \
22275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22276 done; \
22277 echo "Doing TAGS in shellutils" ; \
22278 (cd $(HOST_SUBDIR)/shellutils && \
22279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22281 "RANLIB=$${RANLIB}" \
22282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22283 TAGS) \
22284 || exit 1
22286 @endif shellutils
22288 .PHONY: maybe-install-info-shellutils install-info-shellutils
22289 maybe-install-info-shellutils:
22290 @if shellutils
22291 maybe-install-info-shellutils: install-info-shellutils
22293 install-info-shellutils: \
22294 configure-shellutils \
22295 info-shellutils
22296 @$(unstage)
22297 @[ -f ./shellutils/Makefile ] || exit 0; \
22298 r=`${PWD_COMMAND}`; export r; \
22299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22300 $(HOST_EXPORTS) \
22301 for flag in $(EXTRA_HOST_FLAGS) ; do \
22302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22303 done; \
22304 echo "Doing install-info in shellutils" ; \
22305 (cd $(HOST_SUBDIR)/shellutils && \
22306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22308 "RANLIB=$${RANLIB}" \
22309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22310 install-info) \
22311 || exit 1
22313 @endif shellutils
22315 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
22316 maybe-installcheck-shellutils:
22317 @if shellutils
22318 maybe-installcheck-shellutils: installcheck-shellutils
22320 installcheck-shellutils: \
22321 configure-shellutils
22322 @$(unstage)
22323 @[ -f ./shellutils/Makefile ] || exit 0; \
22324 r=`${PWD_COMMAND}`; export r; \
22325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22326 $(HOST_EXPORTS) \
22327 for flag in $(EXTRA_HOST_FLAGS) ; do \
22328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22329 done; \
22330 echo "Doing installcheck in shellutils" ; \
22331 (cd $(HOST_SUBDIR)/shellutils && \
22332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22334 "RANLIB=$${RANLIB}" \
22335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22336 installcheck) \
22337 || exit 1
22339 @endif shellutils
22341 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
22342 maybe-mostlyclean-shellutils:
22343 @if shellutils
22344 maybe-mostlyclean-shellutils: mostlyclean-shellutils
22346 mostlyclean-shellutils:
22347 @$(unstage)
22348 @[ -f ./shellutils/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 mostlyclean in shellutils" ; \
22356 (cd $(HOST_SUBDIR)/shellutils && \
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 mostlyclean) \
22362 || exit 1
22364 @endif shellutils
22366 .PHONY: maybe-clean-shellutils clean-shellutils
22367 maybe-clean-shellutils:
22368 @if shellutils
22369 maybe-clean-shellutils: clean-shellutils
22371 clean-shellutils:
22372 @$(unstage)
22373 @[ -f ./shellutils/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 clean in shellutils" ; \
22381 (cd $(HOST_SUBDIR)/shellutils && \
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 clean) \
22387 || exit 1
22389 @endif shellutils
22391 .PHONY: maybe-distclean-shellutils distclean-shellutils
22392 maybe-distclean-shellutils:
22393 @if shellutils
22394 maybe-distclean-shellutils: distclean-shellutils
22396 distclean-shellutils:
22397 @$(unstage)
22398 @[ -f ./shellutils/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 distclean in shellutils" ; \
22406 (cd $(HOST_SUBDIR)/shellutils && \
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 distclean) \
22412 || exit 1
22414 @endif shellutils
22416 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
22417 maybe-maintainer-clean-shellutils:
22418 @if shellutils
22419 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
22421 maintainer-clean-shellutils:
22422 @$(unstage)
22423 @[ -f ./shellutils/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 maintainer-clean in shellutils" ; \
22431 (cd $(HOST_SUBDIR)/shellutils && \
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 maintainer-clean) \
22437 || exit 1
22439 @endif shellutils
22443 .PHONY: configure-sid maybe-configure-sid
22444 maybe-configure-sid:
22445 @if sid
22446 maybe-configure-sid: configure-sid
22447 configure-sid:
22448 @$(unstage)
22449 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
22450 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
22451 r=`${PWD_COMMAND}`; export r; \
22452 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22453 $(HOST_EXPORTS) \
22454 echo Configuring in $(HOST_SUBDIR)/sid; \
22455 cd "$(HOST_SUBDIR)/sid" || exit 1; \
22456 case $(srcdir) in \
22457 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22458 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
22459 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22460 esac; \
22461 srcdiroption="--srcdir=$${topdir}/sid"; \
22462 libsrcdir="$$s/sid"; \
22463 $(SHELL) $${libsrcdir}/configure \
22464 $(HOST_CONFIGARGS) $${srcdiroption} \
22465 || exit 1
22466 @endif sid
22472 .PHONY: all-sid maybe-all-sid
22473 maybe-all-sid:
22474 @if sid
22475 TARGET-sid=all
22476 maybe-all-sid: all-sid
22477 all-sid: configure-sid
22478 @$(unstage)
22479 @r=`${PWD_COMMAND}`; export r; \
22480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22481 $(HOST_EXPORTS) \
22482 (cd $(HOST_SUBDIR)/sid && \
22483 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
22484 @endif sid
22489 .PHONY: check-sid maybe-check-sid
22490 maybe-check-sid:
22491 @if sid
22492 maybe-check-sid: check-sid
22494 check-sid:
22495 @$(unstage)
22496 @r=`${PWD_COMMAND}`; export r; \
22497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22498 $(HOST_EXPORTS) \
22499 (cd $(HOST_SUBDIR)/sid && \
22500 $(MAKE) $(FLAGS_TO_PASS) check)
22502 @endif sid
22504 .PHONY: install-sid maybe-install-sid
22505 maybe-install-sid:
22506 @if sid
22507 maybe-install-sid: install-sid
22509 install-sid: installdirs
22510 @$(unstage)
22511 @r=`${PWD_COMMAND}`; export r; \
22512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22513 $(HOST_EXPORTS) \
22514 (cd $(HOST_SUBDIR)/sid && \
22515 $(MAKE) $(FLAGS_TO_PASS) install)
22517 @endif sid
22519 # Other targets (info, dvi, etc.)
22521 .PHONY: maybe-info-sid info-sid
22522 maybe-info-sid:
22523 @if sid
22524 maybe-info-sid: info-sid
22526 info-sid: \
22527 configure-sid
22528 @$(unstage)
22529 @[ -f ./sid/Makefile ] || exit 0; \
22530 r=`${PWD_COMMAND}`; export r; \
22531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22532 $(HOST_EXPORTS) \
22533 for flag in $(EXTRA_HOST_FLAGS) ; do \
22534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22535 done; \
22536 echo "Doing info in sid" ; \
22537 (cd $(HOST_SUBDIR)/sid && \
22538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22540 "RANLIB=$${RANLIB}" \
22541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22542 info) \
22543 || exit 1
22545 @endif sid
22547 .PHONY: maybe-dvi-sid dvi-sid
22548 maybe-dvi-sid:
22549 @if sid
22550 maybe-dvi-sid: dvi-sid
22552 dvi-sid: \
22553 configure-sid
22554 @$(unstage)
22555 @[ -f ./sid/Makefile ] || exit 0; \
22556 r=`${PWD_COMMAND}`; export r; \
22557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22558 $(HOST_EXPORTS) \
22559 for flag in $(EXTRA_HOST_FLAGS) ; do \
22560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22561 done; \
22562 echo "Doing dvi in sid" ; \
22563 (cd $(HOST_SUBDIR)/sid && \
22564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22566 "RANLIB=$${RANLIB}" \
22567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22568 dvi) \
22569 || exit 1
22571 @endif sid
22573 .PHONY: maybe-html-sid html-sid
22574 maybe-html-sid:
22575 @if sid
22576 maybe-html-sid: html-sid
22578 html-sid: \
22579 configure-sid
22580 @$(unstage)
22581 @[ -f ./sid/Makefile ] || exit 0; \
22582 r=`${PWD_COMMAND}`; export r; \
22583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22584 $(HOST_EXPORTS) \
22585 for flag in $(EXTRA_HOST_FLAGS) ; do \
22586 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22587 done; \
22588 echo "Doing html in sid" ; \
22589 (cd $(HOST_SUBDIR)/sid && \
22590 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22591 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22592 "RANLIB=$${RANLIB}" \
22593 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22594 html) \
22595 || exit 1
22597 @endif sid
22599 .PHONY: maybe-TAGS-sid TAGS-sid
22600 maybe-TAGS-sid:
22601 @if sid
22602 maybe-TAGS-sid: TAGS-sid
22604 TAGS-sid: \
22605 configure-sid
22606 @$(unstage)
22607 @[ -f ./sid/Makefile ] || exit 0; \
22608 r=`${PWD_COMMAND}`; export r; \
22609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22610 $(HOST_EXPORTS) \
22611 for flag in $(EXTRA_HOST_FLAGS) ; do \
22612 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22613 done; \
22614 echo "Doing TAGS in sid" ; \
22615 (cd $(HOST_SUBDIR)/sid && \
22616 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22617 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22618 "RANLIB=$${RANLIB}" \
22619 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22620 TAGS) \
22621 || exit 1
22623 @endif sid
22625 .PHONY: maybe-install-info-sid install-info-sid
22626 maybe-install-info-sid:
22627 @if sid
22628 maybe-install-info-sid: install-info-sid
22630 install-info-sid: \
22631 configure-sid \
22632 info-sid
22633 @$(unstage)
22634 @[ -f ./sid/Makefile ] || exit 0; \
22635 r=`${PWD_COMMAND}`; export r; \
22636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22637 $(HOST_EXPORTS) \
22638 for flag in $(EXTRA_HOST_FLAGS) ; do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640 done; \
22641 echo "Doing install-info in sid" ; \
22642 (cd $(HOST_SUBDIR)/sid && \
22643 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22644 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22645 "RANLIB=$${RANLIB}" \
22646 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22647 install-info) \
22648 || exit 1
22650 @endif sid
22652 .PHONY: maybe-installcheck-sid installcheck-sid
22653 maybe-installcheck-sid:
22654 @if sid
22655 maybe-installcheck-sid: installcheck-sid
22657 installcheck-sid: \
22658 configure-sid
22659 @$(unstage)
22660 @[ -f ./sid/Makefile ] || exit 0; \
22661 r=`${PWD_COMMAND}`; export r; \
22662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22663 $(HOST_EXPORTS) \
22664 for flag in $(EXTRA_HOST_FLAGS) ; do \
22665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22666 done; \
22667 echo "Doing installcheck in sid" ; \
22668 (cd $(HOST_SUBDIR)/sid && \
22669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22671 "RANLIB=$${RANLIB}" \
22672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22673 installcheck) \
22674 || exit 1
22676 @endif sid
22678 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
22679 maybe-mostlyclean-sid:
22680 @if sid
22681 maybe-mostlyclean-sid: mostlyclean-sid
22683 mostlyclean-sid:
22684 @$(unstage)
22685 @[ -f ./sid/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 mostlyclean in sid" ; \
22693 (cd $(HOST_SUBDIR)/sid && \
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 mostlyclean) \
22699 || exit 1
22701 @endif sid
22703 .PHONY: maybe-clean-sid clean-sid
22704 maybe-clean-sid:
22705 @if sid
22706 maybe-clean-sid: clean-sid
22708 clean-sid:
22709 @$(unstage)
22710 @[ -f ./sid/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 clean in sid" ; \
22718 (cd $(HOST_SUBDIR)/sid && \
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 clean) \
22724 || exit 1
22726 @endif sid
22728 .PHONY: maybe-distclean-sid distclean-sid
22729 maybe-distclean-sid:
22730 @if sid
22731 maybe-distclean-sid: distclean-sid
22733 distclean-sid:
22734 @$(unstage)
22735 @[ -f ./sid/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 distclean in sid" ; \
22743 (cd $(HOST_SUBDIR)/sid && \
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 distclean) \
22749 || exit 1
22751 @endif sid
22753 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
22754 maybe-maintainer-clean-sid:
22755 @if sid
22756 maybe-maintainer-clean-sid: maintainer-clean-sid
22758 maintainer-clean-sid:
22759 @$(unstage)
22760 @[ -f ./sid/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 maintainer-clean in sid" ; \
22768 (cd $(HOST_SUBDIR)/sid && \
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 maintainer-clean) \
22774 || exit 1
22776 @endif sid
22780 .PHONY: configure-sim maybe-configure-sim
22781 maybe-configure-sim:
22782 @if sim
22783 maybe-configure-sim: configure-sim
22784 configure-sim:
22785 @$(unstage)
22786 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
22787 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
22788 r=`${PWD_COMMAND}`; export r; \
22789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22790 $(HOST_EXPORTS) \
22791 echo Configuring in $(HOST_SUBDIR)/sim; \
22792 cd "$(HOST_SUBDIR)/sim" || exit 1; \
22793 case $(srcdir) in \
22794 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22795 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
22796 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22797 esac; \
22798 srcdiroption="--srcdir=$${topdir}/sim"; \
22799 libsrcdir="$$s/sim"; \
22800 $(SHELL) $${libsrcdir}/configure \
22801 $(HOST_CONFIGARGS) $${srcdiroption} \
22802 || exit 1
22803 @endif sim
22809 .PHONY: all-sim maybe-all-sim
22810 maybe-all-sim:
22811 @if sim
22812 TARGET-sim=all
22813 maybe-all-sim: all-sim
22814 all-sim: configure-sim
22815 @$(unstage)
22816 @r=`${PWD_COMMAND}`; export r; \
22817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22818 $(HOST_EXPORTS) \
22819 (cd $(HOST_SUBDIR)/sim && \
22820 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
22821 @endif sim
22826 .PHONY: check-sim maybe-check-sim
22827 maybe-check-sim:
22828 @if sim
22829 maybe-check-sim: check-sim
22831 check-sim:
22832 @$(unstage)
22833 @r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 $(HOST_EXPORTS) \
22836 (cd $(HOST_SUBDIR)/sim && \
22837 $(MAKE) $(FLAGS_TO_PASS) check)
22839 @endif sim
22841 .PHONY: install-sim maybe-install-sim
22842 maybe-install-sim:
22843 @if sim
22844 maybe-install-sim: install-sim
22846 install-sim: installdirs
22847 @$(unstage)
22848 @r=`${PWD_COMMAND}`; export r; \
22849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22850 $(HOST_EXPORTS) \
22851 (cd $(HOST_SUBDIR)/sim && \
22852 $(MAKE) $(FLAGS_TO_PASS) install)
22854 @endif sim
22856 # Other targets (info, dvi, etc.)
22858 .PHONY: maybe-info-sim info-sim
22859 maybe-info-sim:
22860 @if sim
22861 maybe-info-sim: info-sim
22863 info-sim: \
22864 configure-sim
22865 @$(unstage)
22866 @[ -f ./sim/Makefile ] || exit 0; \
22867 r=`${PWD_COMMAND}`; export r; \
22868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22869 $(HOST_EXPORTS) \
22870 for flag in $(EXTRA_HOST_FLAGS) ; do \
22871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22872 done; \
22873 echo "Doing info in sim" ; \
22874 (cd $(HOST_SUBDIR)/sim && \
22875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22877 "RANLIB=$${RANLIB}" \
22878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22879 info) \
22880 || exit 1
22882 @endif sim
22884 .PHONY: maybe-dvi-sim dvi-sim
22885 maybe-dvi-sim:
22886 @if sim
22887 maybe-dvi-sim: dvi-sim
22889 dvi-sim: \
22890 configure-sim
22891 @$(unstage)
22892 @[ -f ./sim/Makefile ] || exit 0; \
22893 r=`${PWD_COMMAND}`; export r; \
22894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22895 $(HOST_EXPORTS) \
22896 for flag in $(EXTRA_HOST_FLAGS) ; do \
22897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22898 done; \
22899 echo "Doing dvi in sim" ; \
22900 (cd $(HOST_SUBDIR)/sim && \
22901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22903 "RANLIB=$${RANLIB}" \
22904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22905 dvi) \
22906 || exit 1
22908 @endif sim
22910 .PHONY: maybe-html-sim html-sim
22911 maybe-html-sim:
22912 @if sim
22913 maybe-html-sim: html-sim
22915 html-sim: \
22916 configure-sim
22917 @$(unstage)
22918 @[ -f ./sim/Makefile ] || exit 0; \
22919 r=`${PWD_COMMAND}`; export r; \
22920 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22921 $(HOST_EXPORTS) \
22922 for flag in $(EXTRA_HOST_FLAGS) ; do \
22923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22924 done; \
22925 echo "Doing html in sim" ; \
22926 (cd $(HOST_SUBDIR)/sim && \
22927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22929 "RANLIB=$${RANLIB}" \
22930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22931 html) \
22932 || exit 1
22934 @endif sim
22936 .PHONY: maybe-TAGS-sim TAGS-sim
22937 maybe-TAGS-sim:
22938 @if sim
22939 maybe-TAGS-sim: TAGS-sim
22941 TAGS-sim: \
22942 configure-sim
22943 @$(unstage)
22944 @[ -f ./sim/Makefile ] || exit 0; \
22945 r=`${PWD_COMMAND}`; export r; \
22946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22947 $(HOST_EXPORTS) \
22948 for flag in $(EXTRA_HOST_FLAGS) ; do \
22949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22950 done; \
22951 echo "Doing TAGS in sim" ; \
22952 (cd $(HOST_SUBDIR)/sim && \
22953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22955 "RANLIB=$${RANLIB}" \
22956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22957 TAGS) \
22958 || exit 1
22960 @endif sim
22962 .PHONY: maybe-install-info-sim install-info-sim
22963 maybe-install-info-sim:
22964 @if sim
22965 maybe-install-info-sim: install-info-sim
22967 install-info-sim: \
22968 configure-sim \
22969 info-sim
22970 @$(unstage)
22971 @[ -f ./sim/Makefile ] || exit 0; \
22972 r=`${PWD_COMMAND}`; export r; \
22973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22974 $(HOST_EXPORTS) \
22975 for flag in $(EXTRA_HOST_FLAGS) ; do \
22976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22977 done; \
22978 echo "Doing install-info in sim" ; \
22979 (cd $(HOST_SUBDIR)/sim && \
22980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22982 "RANLIB=$${RANLIB}" \
22983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22984 install-info) \
22985 || exit 1
22987 @endif sim
22989 .PHONY: maybe-installcheck-sim installcheck-sim
22990 maybe-installcheck-sim:
22991 @if sim
22992 maybe-installcheck-sim: installcheck-sim
22994 installcheck-sim: \
22995 configure-sim
22996 @$(unstage)
22997 @[ -f ./sim/Makefile ] || exit 0; \
22998 r=`${PWD_COMMAND}`; export r; \
22999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23000 $(HOST_EXPORTS) \
23001 for flag in $(EXTRA_HOST_FLAGS) ; do \
23002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23003 done; \
23004 echo "Doing installcheck in sim" ; \
23005 (cd $(HOST_SUBDIR)/sim && \
23006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23008 "RANLIB=$${RANLIB}" \
23009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23010 installcheck) \
23011 || exit 1
23013 @endif sim
23015 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
23016 maybe-mostlyclean-sim:
23017 @if sim
23018 maybe-mostlyclean-sim: mostlyclean-sim
23020 mostlyclean-sim:
23021 @$(unstage)
23022 @[ -f ./sim/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 mostlyclean in sim" ; \
23030 (cd $(HOST_SUBDIR)/sim && \
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 mostlyclean) \
23036 || exit 1
23038 @endif sim
23040 .PHONY: maybe-clean-sim clean-sim
23041 maybe-clean-sim:
23042 @if sim
23043 maybe-clean-sim: clean-sim
23045 clean-sim:
23046 @$(unstage)
23047 @[ -f ./sim/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 clean in sim" ; \
23055 (cd $(HOST_SUBDIR)/sim && \
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 clean) \
23061 || exit 1
23063 @endif sim
23065 .PHONY: maybe-distclean-sim distclean-sim
23066 maybe-distclean-sim:
23067 @if sim
23068 maybe-distclean-sim: distclean-sim
23070 distclean-sim:
23071 @$(unstage)
23072 @[ -f ./sim/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 distclean in sim" ; \
23080 (cd $(HOST_SUBDIR)/sim && \
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 distclean) \
23086 || exit 1
23088 @endif sim
23090 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
23091 maybe-maintainer-clean-sim:
23092 @if sim
23093 maybe-maintainer-clean-sim: maintainer-clean-sim
23095 maintainer-clean-sim:
23096 @$(unstage)
23097 @[ -f ./sim/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 maintainer-clean in sim" ; \
23105 (cd $(HOST_SUBDIR)/sim && \
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 maintainer-clean) \
23111 || exit 1
23113 @endif sim
23117 .PHONY: configure-tar maybe-configure-tar
23118 maybe-configure-tar:
23119 @if tar
23120 maybe-configure-tar: configure-tar
23121 configure-tar:
23122 @$(unstage)
23123 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
23124 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
23125 r=`${PWD_COMMAND}`; export r; \
23126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23127 $(HOST_EXPORTS) \
23128 echo Configuring in $(HOST_SUBDIR)/tar; \
23129 cd "$(HOST_SUBDIR)/tar" || exit 1; \
23130 case $(srcdir) in \
23131 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23132 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
23133 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23134 esac; \
23135 srcdiroption="--srcdir=$${topdir}/tar"; \
23136 libsrcdir="$$s/tar"; \
23137 $(SHELL) $${libsrcdir}/configure \
23138 $(HOST_CONFIGARGS) $${srcdiroption} \
23139 || exit 1
23140 @endif tar
23146 .PHONY: all-tar maybe-all-tar
23147 maybe-all-tar:
23148 @if tar
23149 TARGET-tar=all
23150 maybe-all-tar: all-tar
23151 all-tar: configure-tar
23152 @$(unstage)
23153 @r=`${PWD_COMMAND}`; export r; \
23154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23155 $(HOST_EXPORTS) \
23156 (cd $(HOST_SUBDIR)/tar && \
23157 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
23158 @endif tar
23163 .PHONY: check-tar maybe-check-tar
23164 maybe-check-tar:
23165 @if tar
23166 maybe-check-tar: check-tar
23168 check-tar:
23169 @$(unstage)
23170 @r=`${PWD_COMMAND}`; export r; \
23171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23172 $(HOST_EXPORTS) \
23173 (cd $(HOST_SUBDIR)/tar && \
23174 $(MAKE) $(FLAGS_TO_PASS) check)
23176 @endif tar
23178 .PHONY: install-tar maybe-install-tar
23179 maybe-install-tar:
23180 @if tar
23181 maybe-install-tar: install-tar
23183 install-tar: installdirs
23184 @$(unstage)
23185 @r=`${PWD_COMMAND}`; export r; \
23186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23187 $(HOST_EXPORTS) \
23188 (cd $(HOST_SUBDIR)/tar && \
23189 $(MAKE) $(FLAGS_TO_PASS) install)
23191 @endif tar
23193 # Other targets (info, dvi, etc.)
23195 .PHONY: maybe-info-tar info-tar
23196 maybe-info-tar:
23197 @if tar
23198 maybe-info-tar: info-tar
23200 info-tar: \
23201 configure-tar
23202 @$(unstage)
23203 @[ -f ./tar/Makefile ] || exit 0; \
23204 r=`${PWD_COMMAND}`; export r; \
23205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23206 $(HOST_EXPORTS) \
23207 for flag in $(EXTRA_HOST_FLAGS) ; do \
23208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23209 done; \
23210 echo "Doing info in tar" ; \
23211 (cd $(HOST_SUBDIR)/tar && \
23212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23214 "RANLIB=$${RANLIB}" \
23215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23216 info) \
23217 || exit 1
23219 @endif tar
23221 .PHONY: maybe-dvi-tar dvi-tar
23222 maybe-dvi-tar:
23223 @if tar
23224 maybe-dvi-tar: dvi-tar
23226 dvi-tar: \
23227 configure-tar
23228 @$(unstage)
23229 @[ -f ./tar/Makefile ] || exit 0; \
23230 r=`${PWD_COMMAND}`; export r; \
23231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23232 $(HOST_EXPORTS) \
23233 for flag in $(EXTRA_HOST_FLAGS) ; do \
23234 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23235 done; \
23236 echo "Doing dvi in tar" ; \
23237 (cd $(HOST_SUBDIR)/tar && \
23238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23240 "RANLIB=$${RANLIB}" \
23241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23242 dvi) \
23243 || exit 1
23245 @endif tar
23247 .PHONY: maybe-html-tar html-tar
23248 maybe-html-tar:
23249 @if tar
23250 maybe-html-tar: html-tar
23252 html-tar: \
23253 configure-tar
23254 @$(unstage)
23255 @[ -f ./tar/Makefile ] || exit 0; \
23256 r=`${PWD_COMMAND}`; export r; \
23257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23258 $(HOST_EXPORTS) \
23259 for flag in $(EXTRA_HOST_FLAGS) ; do \
23260 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23261 done; \
23262 echo "Doing html in tar" ; \
23263 (cd $(HOST_SUBDIR)/tar && \
23264 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23265 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23266 "RANLIB=$${RANLIB}" \
23267 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23268 html) \
23269 || exit 1
23271 @endif tar
23273 .PHONY: maybe-TAGS-tar TAGS-tar
23274 maybe-TAGS-tar:
23275 @if tar
23276 maybe-TAGS-tar: TAGS-tar
23278 TAGS-tar: \
23279 configure-tar
23280 @$(unstage)
23281 @[ -f ./tar/Makefile ] || exit 0; \
23282 r=`${PWD_COMMAND}`; export r; \
23283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23284 $(HOST_EXPORTS) \
23285 for flag in $(EXTRA_HOST_FLAGS) ; do \
23286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23287 done; \
23288 echo "Doing TAGS in tar" ; \
23289 (cd $(HOST_SUBDIR)/tar && \
23290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23292 "RANLIB=$${RANLIB}" \
23293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23294 TAGS) \
23295 || exit 1
23297 @endif tar
23299 .PHONY: maybe-install-info-tar install-info-tar
23300 maybe-install-info-tar:
23301 @if tar
23302 maybe-install-info-tar: install-info-tar
23304 install-info-tar: \
23305 configure-tar \
23306 info-tar
23307 @$(unstage)
23308 @[ -f ./tar/Makefile ] || exit 0; \
23309 r=`${PWD_COMMAND}`; export r; \
23310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23311 $(HOST_EXPORTS) \
23312 for flag in $(EXTRA_HOST_FLAGS) ; do \
23313 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23314 done; \
23315 echo "Doing install-info in tar" ; \
23316 (cd $(HOST_SUBDIR)/tar && \
23317 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23318 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23319 "RANLIB=$${RANLIB}" \
23320 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23321 install-info) \
23322 || exit 1
23324 @endif tar
23326 .PHONY: maybe-installcheck-tar installcheck-tar
23327 maybe-installcheck-tar:
23328 @if tar
23329 maybe-installcheck-tar: installcheck-tar
23331 installcheck-tar: \
23332 configure-tar
23333 @$(unstage)
23334 @[ -f ./tar/Makefile ] || exit 0; \
23335 r=`${PWD_COMMAND}`; export r; \
23336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23337 $(HOST_EXPORTS) \
23338 for flag in $(EXTRA_HOST_FLAGS) ; do \
23339 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23340 done; \
23341 echo "Doing installcheck in tar" ; \
23342 (cd $(HOST_SUBDIR)/tar && \
23343 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23344 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23345 "RANLIB=$${RANLIB}" \
23346 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23347 installcheck) \
23348 || exit 1
23350 @endif tar
23352 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
23353 maybe-mostlyclean-tar:
23354 @if tar
23355 maybe-mostlyclean-tar: mostlyclean-tar
23357 mostlyclean-tar:
23358 @$(unstage)
23359 @[ -f ./tar/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 mostlyclean in tar" ; \
23367 (cd $(HOST_SUBDIR)/tar && \
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 mostlyclean) \
23373 || exit 1
23375 @endif tar
23377 .PHONY: maybe-clean-tar clean-tar
23378 maybe-clean-tar:
23379 @if tar
23380 maybe-clean-tar: clean-tar
23382 clean-tar:
23383 @$(unstage)
23384 @[ -f ./tar/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 clean in tar" ; \
23392 (cd $(HOST_SUBDIR)/tar && \
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 clean) \
23398 || exit 1
23400 @endif tar
23402 .PHONY: maybe-distclean-tar distclean-tar
23403 maybe-distclean-tar:
23404 @if tar
23405 maybe-distclean-tar: distclean-tar
23407 distclean-tar:
23408 @$(unstage)
23409 @[ -f ./tar/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 distclean in tar" ; \
23417 (cd $(HOST_SUBDIR)/tar && \
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 distclean) \
23423 || exit 1
23425 @endif tar
23427 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
23428 maybe-maintainer-clean-tar:
23429 @if tar
23430 maybe-maintainer-clean-tar: maintainer-clean-tar
23432 maintainer-clean-tar:
23433 @$(unstage)
23434 @[ -f ./tar/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 maintainer-clean in tar" ; \
23442 (cd $(HOST_SUBDIR)/tar && \
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 maintainer-clean) \
23448 || exit 1
23450 @endif tar
23454 .PHONY: configure-texinfo maybe-configure-texinfo
23455 maybe-configure-texinfo:
23456 @if texinfo
23457 maybe-configure-texinfo: configure-texinfo
23458 configure-texinfo:
23459 @$(unstage)
23460 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
23461 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
23462 r=`${PWD_COMMAND}`; export r; \
23463 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23464 $(HOST_EXPORTS) \
23465 echo Configuring in $(HOST_SUBDIR)/texinfo; \
23466 cd "$(HOST_SUBDIR)/texinfo" || exit 1; \
23467 case $(srcdir) in \
23468 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23469 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
23470 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23471 esac; \
23472 srcdiroption="--srcdir=$${topdir}/texinfo"; \
23473 libsrcdir="$$s/texinfo"; \
23474 $(SHELL) $${libsrcdir}/configure \
23475 $(HOST_CONFIGARGS) $${srcdiroption} \
23476 || exit 1
23477 @endif texinfo
23483 .PHONY: all-texinfo maybe-all-texinfo
23484 maybe-all-texinfo:
23485 @if texinfo
23486 TARGET-texinfo=all
23487 maybe-all-texinfo: all-texinfo
23488 all-texinfo: configure-texinfo
23489 @$(unstage)
23490 @r=`${PWD_COMMAND}`; export r; \
23491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23492 $(HOST_EXPORTS) \
23493 (cd $(HOST_SUBDIR)/texinfo && \
23494 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
23495 @endif texinfo
23500 .PHONY: check-texinfo maybe-check-texinfo
23501 maybe-check-texinfo:
23502 @if texinfo
23503 maybe-check-texinfo: check-texinfo
23505 check-texinfo:
23506 @$(unstage)
23507 @r=`${PWD_COMMAND}`; export r; \
23508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23509 $(HOST_EXPORTS) \
23510 (cd $(HOST_SUBDIR)/texinfo && \
23511 $(MAKE) $(FLAGS_TO_PASS) check)
23513 @endif texinfo
23515 .PHONY: install-texinfo maybe-install-texinfo
23516 maybe-install-texinfo:
23517 @if texinfo
23518 maybe-install-texinfo: install-texinfo
23520 install-texinfo:
23522 @endif texinfo
23524 # Other targets (info, dvi, etc.)
23526 .PHONY: maybe-info-texinfo info-texinfo
23527 maybe-info-texinfo:
23528 @if texinfo
23529 maybe-info-texinfo: info-texinfo
23531 info-texinfo: \
23532 configure-texinfo
23533 @$(unstage)
23534 @[ -f ./texinfo/Makefile ] || exit 0; \
23535 r=`${PWD_COMMAND}`; export r; \
23536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23537 $(HOST_EXPORTS) \
23538 for flag in $(EXTRA_HOST_FLAGS) ; do \
23539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23540 done; \
23541 echo "Doing info in texinfo" ; \
23542 (cd $(HOST_SUBDIR)/texinfo && \
23543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23545 "RANLIB=$${RANLIB}" \
23546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23547 info) \
23548 || exit 1
23550 @endif texinfo
23552 .PHONY: maybe-dvi-texinfo dvi-texinfo
23553 maybe-dvi-texinfo:
23554 @if texinfo
23555 maybe-dvi-texinfo: dvi-texinfo
23557 dvi-texinfo: \
23558 configure-texinfo
23559 @$(unstage)
23560 @[ -f ./texinfo/Makefile ] || exit 0; \
23561 r=`${PWD_COMMAND}`; export r; \
23562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23563 $(HOST_EXPORTS) \
23564 for flag in $(EXTRA_HOST_FLAGS) ; do \
23565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23566 done; \
23567 echo "Doing dvi in texinfo" ; \
23568 (cd $(HOST_SUBDIR)/texinfo && \
23569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23571 "RANLIB=$${RANLIB}" \
23572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23573 dvi) \
23574 || exit 1
23576 @endif texinfo
23578 .PHONY: maybe-html-texinfo html-texinfo
23579 maybe-html-texinfo:
23580 @if texinfo
23581 maybe-html-texinfo: html-texinfo
23583 html-texinfo: \
23584 configure-texinfo
23585 @$(unstage)
23586 @[ -f ./texinfo/Makefile ] || exit 0; \
23587 r=`${PWD_COMMAND}`; export r; \
23588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23589 $(HOST_EXPORTS) \
23590 for flag in $(EXTRA_HOST_FLAGS) ; do \
23591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23592 done; \
23593 echo "Doing html in texinfo" ; \
23594 (cd $(HOST_SUBDIR)/texinfo && \
23595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23597 "RANLIB=$${RANLIB}" \
23598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23599 html) \
23600 || exit 1
23602 @endif texinfo
23604 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
23605 maybe-TAGS-texinfo:
23606 @if texinfo
23607 maybe-TAGS-texinfo: TAGS-texinfo
23609 TAGS-texinfo: \
23610 configure-texinfo
23611 @$(unstage)
23612 @[ -f ./texinfo/Makefile ] || exit 0; \
23613 r=`${PWD_COMMAND}`; export r; \
23614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23615 $(HOST_EXPORTS) \
23616 for flag in $(EXTRA_HOST_FLAGS) ; do \
23617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23618 done; \
23619 echo "Doing TAGS in texinfo" ; \
23620 (cd $(HOST_SUBDIR)/texinfo && \
23621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23623 "RANLIB=$${RANLIB}" \
23624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23625 TAGS) \
23626 || exit 1
23628 @endif texinfo
23630 .PHONY: maybe-install-info-texinfo install-info-texinfo
23631 maybe-install-info-texinfo:
23632 @if texinfo
23633 maybe-install-info-texinfo: install-info-texinfo
23635 install-info-texinfo: \
23636 configure-texinfo \
23637 info-texinfo
23638 @$(unstage)
23639 @[ -f ./texinfo/Makefile ] || exit 0; \
23640 r=`${PWD_COMMAND}`; export r; \
23641 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23642 $(HOST_EXPORTS) \
23643 for flag in $(EXTRA_HOST_FLAGS) ; do \
23644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23645 done; \
23646 echo "Doing install-info in texinfo" ; \
23647 (cd $(HOST_SUBDIR)/texinfo && \
23648 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23649 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23650 "RANLIB=$${RANLIB}" \
23651 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23652 install-info) \
23653 || exit 1
23655 @endif texinfo
23657 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
23658 maybe-installcheck-texinfo:
23659 @if texinfo
23660 maybe-installcheck-texinfo: installcheck-texinfo
23662 installcheck-texinfo: \
23663 configure-texinfo
23664 @$(unstage)
23665 @[ -f ./texinfo/Makefile ] || exit 0; \
23666 r=`${PWD_COMMAND}`; export r; \
23667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23668 $(HOST_EXPORTS) \
23669 for flag in $(EXTRA_HOST_FLAGS) ; do \
23670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23671 done; \
23672 echo "Doing installcheck in texinfo" ; \
23673 (cd $(HOST_SUBDIR)/texinfo && \
23674 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23675 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23676 "RANLIB=$${RANLIB}" \
23677 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23678 installcheck) \
23679 || exit 1
23681 @endif texinfo
23683 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
23684 maybe-mostlyclean-texinfo:
23685 @if texinfo
23686 maybe-mostlyclean-texinfo: mostlyclean-texinfo
23688 mostlyclean-texinfo:
23689 @$(unstage)
23690 @[ -f ./texinfo/Makefile ] || exit 0; \
23691 r=`${PWD_COMMAND}`; export r; \
23692 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23693 $(HOST_EXPORTS) \
23694 for flag in $(EXTRA_HOST_FLAGS) ; do \
23695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23696 done; \
23697 echo "Doing mostlyclean in texinfo" ; \
23698 (cd $(HOST_SUBDIR)/texinfo && \
23699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23701 "RANLIB=$${RANLIB}" \
23702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23703 mostlyclean) \
23704 || exit 1
23706 @endif texinfo
23708 .PHONY: maybe-clean-texinfo clean-texinfo
23709 maybe-clean-texinfo:
23710 @if texinfo
23711 maybe-clean-texinfo: clean-texinfo
23713 clean-texinfo:
23714 @$(unstage)
23715 @[ -f ./texinfo/Makefile ] || exit 0; \
23716 r=`${PWD_COMMAND}`; export r; \
23717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23718 $(HOST_EXPORTS) \
23719 for flag in $(EXTRA_HOST_FLAGS) ; do \
23720 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23721 done; \
23722 echo "Doing clean in texinfo" ; \
23723 (cd $(HOST_SUBDIR)/texinfo && \
23724 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23725 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23726 "RANLIB=$${RANLIB}" \
23727 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23728 clean) \
23729 || exit 1
23731 @endif texinfo
23733 .PHONY: maybe-distclean-texinfo distclean-texinfo
23734 maybe-distclean-texinfo:
23735 @if texinfo
23736 maybe-distclean-texinfo: distclean-texinfo
23738 distclean-texinfo:
23739 @$(unstage)
23740 @[ -f ./texinfo/Makefile ] || exit 0; \
23741 r=`${PWD_COMMAND}`; export r; \
23742 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23743 $(HOST_EXPORTS) \
23744 for flag in $(EXTRA_HOST_FLAGS) ; do \
23745 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23746 done; \
23747 echo "Doing distclean in texinfo" ; \
23748 (cd $(HOST_SUBDIR)/texinfo && \
23749 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23750 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23751 "RANLIB=$${RANLIB}" \
23752 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23753 distclean) \
23754 || exit 1
23756 @endif texinfo
23758 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
23759 maybe-maintainer-clean-texinfo:
23760 @if texinfo
23761 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
23763 maintainer-clean-texinfo:
23764 @$(unstage)
23765 @[ -f ./texinfo/Makefile ] || exit 0; \
23766 r=`${PWD_COMMAND}`; export r; \
23767 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23768 $(HOST_EXPORTS) \
23769 for flag in $(EXTRA_HOST_FLAGS) ; do \
23770 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23771 done; \
23772 echo "Doing maintainer-clean in texinfo" ; \
23773 (cd $(HOST_SUBDIR)/texinfo && \
23774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23776 "RANLIB=$${RANLIB}" \
23777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23778 maintainer-clean) \
23779 || exit 1
23781 @endif texinfo
23785 .PHONY: configure-textutils maybe-configure-textutils
23786 maybe-configure-textutils:
23787 @if textutils
23788 maybe-configure-textutils: configure-textutils
23789 configure-textutils:
23790 @$(unstage)
23791 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
23792 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
23793 r=`${PWD_COMMAND}`; export r; \
23794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23795 $(HOST_EXPORTS) \
23796 echo Configuring in $(HOST_SUBDIR)/textutils; \
23797 cd "$(HOST_SUBDIR)/textutils" || exit 1; \
23798 case $(srcdir) in \
23799 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23800 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
23801 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23802 esac; \
23803 srcdiroption="--srcdir=$${topdir}/textutils"; \
23804 libsrcdir="$$s/textutils"; \
23805 $(SHELL) $${libsrcdir}/configure \
23806 $(HOST_CONFIGARGS) $${srcdiroption} \
23807 || exit 1
23808 @endif textutils
23814 .PHONY: all-textutils maybe-all-textutils
23815 maybe-all-textutils:
23816 @if textutils
23817 TARGET-textutils=all
23818 maybe-all-textutils: all-textutils
23819 all-textutils: configure-textutils
23820 @$(unstage)
23821 @r=`${PWD_COMMAND}`; export r; \
23822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23823 $(HOST_EXPORTS) \
23824 (cd $(HOST_SUBDIR)/textutils && \
23825 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
23826 @endif textutils
23831 .PHONY: check-textutils maybe-check-textutils
23832 maybe-check-textutils:
23833 @if textutils
23834 maybe-check-textutils: check-textutils
23836 check-textutils:
23837 @$(unstage)
23838 @r=`${PWD_COMMAND}`; export r; \
23839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23840 $(HOST_EXPORTS) \
23841 (cd $(HOST_SUBDIR)/textutils && \
23842 $(MAKE) $(FLAGS_TO_PASS) check)
23844 @endif textutils
23846 .PHONY: install-textutils maybe-install-textutils
23847 maybe-install-textutils:
23848 @if textutils
23849 maybe-install-textutils: install-textutils
23851 install-textutils: installdirs
23852 @$(unstage)
23853 @r=`${PWD_COMMAND}`; export r; \
23854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23855 $(HOST_EXPORTS) \
23856 (cd $(HOST_SUBDIR)/textutils && \
23857 $(MAKE) $(FLAGS_TO_PASS) install)
23859 @endif textutils
23861 # Other targets (info, dvi, etc.)
23863 .PHONY: maybe-info-textutils info-textutils
23864 maybe-info-textutils:
23865 @if textutils
23866 maybe-info-textutils: info-textutils
23868 info-textutils: \
23869 configure-textutils
23870 @$(unstage)
23871 @[ -f ./textutils/Makefile ] || exit 0; \
23872 r=`${PWD_COMMAND}`; export r; \
23873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23874 $(HOST_EXPORTS) \
23875 for flag in $(EXTRA_HOST_FLAGS) ; do \
23876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23877 done; \
23878 echo "Doing info in textutils" ; \
23879 (cd $(HOST_SUBDIR)/textutils && \
23880 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23881 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23882 "RANLIB=$${RANLIB}" \
23883 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23884 info) \
23885 || exit 1
23887 @endif textutils
23889 .PHONY: maybe-dvi-textutils dvi-textutils
23890 maybe-dvi-textutils:
23891 @if textutils
23892 maybe-dvi-textutils: dvi-textutils
23894 dvi-textutils: \
23895 configure-textutils
23896 @$(unstage)
23897 @[ -f ./textutils/Makefile ] || exit 0; \
23898 r=`${PWD_COMMAND}`; export r; \
23899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23900 $(HOST_EXPORTS) \
23901 for flag in $(EXTRA_HOST_FLAGS) ; do \
23902 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23903 done; \
23904 echo "Doing dvi in textutils" ; \
23905 (cd $(HOST_SUBDIR)/textutils && \
23906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23908 "RANLIB=$${RANLIB}" \
23909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23910 dvi) \
23911 || exit 1
23913 @endif textutils
23915 .PHONY: maybe-html-textutils html-textutils
23916 maybe-html-textutils:
23917 @if textutils
23918 maybe-html-textutils: html-textutils
23920 html-textutils: \
23921 configure-textutils
23922 @$(unstage)
23923 @[ -f ./textutils/Makefile ] || exit 0; \
23924 r=`${PWD_COMMAND}`; export r; \
23925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23926 $(HOST_EXPORTS) \
23927 for flag in $(EXTRA_HOST_FLAGS) ; do \
23928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23929 done; \
23930 echo "Doing html in textutils" ; \
23931 (cd $(HOST_SUBDIR)/textutils && \
23932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23934 "RANLIB=$${RANLIB}" \
23935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23936 html) \
23937 || exit 1
23939 @endif textutils
23941 .PHONY: maybe-TAGS-textutils TAGS-textutils
23942 maybe-TAGS-textutils:
23943 @if textutils
23944 maybe-TAGS-textutils: TAGS-textutils
23946 TAGS-textutils: \
23947 configure-textutils
23948 @$(unstage)
23949 @[ -f ./textutils/Makefile ] || exit 0; \
23950 r=`${PWD_COMMAND}`; export r; \
23951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 $(HOST_EXPORTS) \
23953 for flag in $(EXTRA_HOST_FLAGS) ; do \
23954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23955 done; \
23956 echo "Doing TAGS in textutils" ; \
23957 (cd $(HOST_SUBDIR)/textutils && \
23958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23960 "RANLIB=$${RANLIB}" \
23961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23962 TAGS) \
23963 || exit 1
23965 @endif textutils
23967 .PHONY: maybe-install-info-textutils install-info-textutils
23968 maybe-install-info-textutils:
23969 @if textutils
23970 maybe-install-info-textutils: install-info-textutils
23972 install-info-textutils: \
23973 configure-textutils \
23974 info-textutils
23975 @$(unstage)
23976 @[ -f ./textutils/Makefile ] || exit 0; \
23977 r=`${PWD_COMMAND}`; export r; \
23978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23979 $(HOST_EXPORTS) \
23980 for flag in $(EXTRA_HOST_FLAGS) ; do \
23981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23982 done; \
23983 echo "Doing install-info in textutils" ; \
23984 (cd $(HOST_SUBDIR)/textutils && \
23985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23987 "RANLIB=$${RANLIB}" \
23988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23989 install-info) \
23990 || exit 1
23992 @endif textutils
23994 .PHONY: maybe-installcheck-textutils installcheck-textutils
23995 maybe-installcheck-textutils:
23996 @if textutils
23997 maybe-installcheck-textutils: installcheck-textutils
23999 installcheck-textutils: \
24000 configure-textutils
24001 @$(unstage)
24002 @[ -f ./textutils/Makefile ] || exit 0; \
24003 r=`${PWD_COMMAND}`; export r; \
24004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24005 $(HOST_EXPORTS) \
24006 for flag in $(EXTRA_HOST_FLAGS) ; do \
24007 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24008 done; \
24009 echo "Doing installcheck in textutils" ; \
24010 (cd $(HOST_SUBDIR)/textutils && \
24011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24013 "RANLIB=$${RANLIB}" \
24014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24015 installcheck) \
24016 || exit 1
24018 @endif textutils
24020 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
24021 maybe-mostlyclean-textutils:
24022 @if textutils
24023 maybe-mostlyclean-textutils: mostlyclean-textutils
24025 mostlyclean-textutils:
24026 @$(unstage)
24027 @[ -f ./textutils/Makefile ] || exit 0; \
24028 r=`${PWD_COMMAND}`; export r; \
24029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24030 $(HOST_EXPORTS) \
24031 for flag in $(EXTRA_HOST_FLAGS) ; do \
24032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24033 done; \
24034 echo "Doing mostlyclean in textutils" ; \
24035 (cd $(HOST_SUBDIR)/textutils && \
24036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24038 "RANLIB=$${RANLIB}" \
24039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24040 mostlyclean) \
24041 || exit 1
24043 @endif textutils
24045 .PHONY: maybe-clean-textutils clean-textutils
24046 maybe-clean-textutils:
24047 @if textutils
24048 maybe-clean-textutils: clean-textutils
24050 clean-textutils:
24051 @$(unstage)
24052 @[ -f ./textutils/Makefile ] || exit 0; \
24053 r=`${PWD_COMMAND}`; export r; \
24054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24055 $(HOST_EXPORTS) \
24056 for flag in $(EXTRA_HOST_FLAGS) ; do \
24057 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24058 done; \
24059 echo "Doing clean in textutils" ; \
24060 (cd $(HOST_SUBDIR)/textutils && \
24061 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24062 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24063 "RANLIB=$${RANLIB}" \
24064 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24065 clean) \
24066 || exit 1
24068 @endif textutils
24070 .PHONY: maybe-distclean-textutils distclean-textutils
24071 maybe-distclean-textutils:
24072 @if textutils
24073 maybe-distclean-textutils: distclean-textutils
24075 distclean-textutils:
24076 @$(unstage)
24077 @[ -f ./textutils/Makefile ] || exit 0; \
24078 r=`${PWD_COMMAND}`; export r; \
24079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24080 $(HOST_EXPORTS) \
24081 for flag in $(EXTRA_HOST_FLAGS) ; do \
24082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24083 done; \
24084 echo "Doing distclean in textutils" ; \
24085 (cd $(HOST_SUBDIR)/textutils && \
24086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24088 "RANLIB=$${RANLIB}" \
24089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24090 distclean) \
24091 || exit 1
24093 @endif textutils
24095 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
24096 maybe-maintainer-clean-textutils:
24097 @if textutils
24098 maybe-maintainer-clean-textutils: maintainer-clean-textutils
24100 maintainer-clean-textutils:
24101 @$(unstage)
24102 @[ -f ./textutils/Makefile ] || exit 0; \
24103 r=`${PWD_COMMAND}`; export r; \
24104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24105 $(HOST_EXPORTS) \
24106 for flag in $(EXTRA_HOST_FLAGS) ; do \
24107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24108 done; \
24109 echo "Doing maintainer-clean in textutils" ; \
24110 (cd $(HOST_SUBDIR)/textutils && \
24111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24113 "RANLIB=$${RANLIB}" \
24114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24115 maintainer-clean) \
24116 || exit 1
24118 @endif textutils
24122 .PHONY: configure-time maybe-configure-time
24123 maybe-configure-time:
24124 @if time
24125 maybe-configure-time: configure-time
24126 configure-time:
24127 @$(unstage)
24128 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
24129 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
24130 r=`${PWD_COMMAND}`; export r; \
24131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24132 $(HOST_EXPORTS) \
24133 echo Configuring in $(HOST_SUBDIR)/time; \
24134 cd "$(HOST_SUBDIR)/time" || exit 1; \
24135 case $(srcdir) in \
24136 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24137 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
24138 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24139 esac; \
24140 srcdiroption="--srcdir=$${topdir}/time"; \
24141 libsrcdir="$$s/time"; \
24142 $(SHELL) $${libsrcdir}/configure \
24143 $(HOST_CONFIGARGS) $${srcdiroption} \
24144 || exit 1
24145 @endif time
24151 .PHONY: all-time maybe-all-time
24152 maybe-all-time:
24153 @if time
24154 TARGET-time=all
24155 maybe-all-time: all-time
24156 all-time: configure-time
24157 @$(unstage)
24158 @r=`${PWD_COMMAND}`; export r; \
24159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24160 $(HOST_EXPORTS) \
24161 (cd $(HOST_SUBDIR)/time && \
24162 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
24163 @endif time
24168 .PHONY: check-time maybe-check-time
24169 maybe-check-time:
24170 @if time
24171 maybe-check-time: check-time
24173 check-time:
24174 @$(unstage)
24175 @r=`${PWD_COMMAND}`; export r; \
24176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24177 $(HOST_EXPORTS) \
24178 (cd $(HOST_SUBDIR)/time && \
24179 $(MAKE) $(FLAGS_TO_PASS) check)
24181 @endif time
24183 .PHONY: install-time maybe-install-time
24184 maybe-install-time:
24185 @if time
24186 maybe-install-time: install-time
24188 install-time: installdirs
24189 @$(unstage)
24190 @r=`${PWD_COMMAND}`; export r; \
24191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24192 $(HOST_EXPORTS) \
24193 (cd $(HOST_SUBDIR)/time && \
24194 $(MAKE) $(FLAGS_TO_PASS) install)
24196 @endif time
24198 # Other targets (info, dvi, etc.)
24200 .PHONY: maybe-info-time info-time
24201 maybe-info-time:
24202 @if time
24203 maybe-info-time: info-time
24205 info-time: \
24206 configure-time
24207 @$(unstage)
24208 @[ -f ./time/Makefile ] || exit 0; \
24209 r=`${PWD_COMMAND}`; export r; \
24210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24211 $(HOST_EXPORTS) \
24212 for flag in $(EXTRA_HOST_FLAGS) ; do \
24213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24214 done; \
24215 echo "Doing info in time" ; \
24216 (cd $(HOST_SUBDIR)/time && \
24217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24219 "RANLIB=$${RANLIB}" \
24220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24221 info) \
24222 || exit 1
24224 @endif time
24226 .PHONY: maybe-dvi-time dvi-time
24227 maybe-dvi-time:
24228 @if time
24229 maybe-dvi-time: dvi-time
24231 dvi-time: \
24232 configure-time
24233 @$(unstage)
24234 @[ -f ./time/Makefile ] || exit 0; \
24235 r=`${PWD_COMMAND}`; export r; \
24236 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24237 $(HOST_EXPORTS) \
24238 for flag in $(EXTRA_HOST_FLAGS) ; do \
24239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24240 done; \
24241 echo "Doing dvi in time" ; \
24242 (cd $(HOST_SUBDIR)/time && \
24243 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24244 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24245 "RANLIB=$${RANLIB}" \
24246 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24247 dvi) \
24248 || exit 1
24250 @endif time
24252 .PHONY: maybe-html-time html-time
24253 maybe-html-time:
24254 @if time
24255 maybe-html-time: html-time
24257 html-time: \
24258 configure-time
24259 @$(unstage)
24260 @[ -f ./time/Makefile ] || exit 0; \
24261 r=`${PWD_COMMAND}`; export r; \
24262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24263 $(HOST_EXPORTS) \
24264 for flag in $(EXTRA_HOST_FLAGS) ; do \
24265 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24266 done; \
24267 echo "Doing html in time" ; \
24268 (cd $(HOST_SUBDIR)/time && \
24269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24271 "RANLIB=$${RANLIB}" \
24272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24273 html) \
24274 || exit 1
24276 @endif time
24278 .PHONY: maybe-TAGS-time TAGS-time
24279 maybe-TAGS-time:
24280 @if time
24281 maybe-TAGS-time: TAGS-time
24283 TAGS-time: \
24284 configure-time
24285 @$(unstage)
24286 @[ -f ./time/Makefile ] || exit 0; \
24287 r=`${PWD_COMMAND}`; export r; \
24288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24289 $(HOST_EXPORTS) \
24290 for flag in $(EXTRA_HOST_FLAGS) ; do \
24291 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24292 done; \
24293 echo "Doing TAGS in time" ; \
24294 (cd $(HOST_SUBDIR)/time && \
24295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24297 "RANLIB=$${RANLIB}" \
24298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24299 TAGS) \
24300 || exit 1
24302 @endif time
24304 .PHONY: maybe-install-info-time install-info-time
24305 maybe-install-info-time:
24306 @if time
24307 maybe-install-info-time: install-info-time
24309 install-info-time: \
24310 configure-time \
24311 info-time
24312 @$(unstage)
24313 @[ -f ./time/Makefile ] || exit 0; \
24314 r=`${PWD_COMMAND}`; export r; \
24315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24316 $(HOST_EXPORTS) \
24317 for flag in $(EXTRA_HOST_FLAGS) ; do \
24318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24319 done; \
24320 echo "Doing install-info in time" ; \
24321 (cd $(HOST_SUBDIR)/time && \
24322 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24323 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24324 "RANLIB=$${RANLIB}" \
24325 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24326 install-info) \
24327 || exit 1
24329 @endif time
24331 .PHONY: maybe-installcheck-time installcheck-time
24332 maybe-installcheck-time:
24333 @if time
24334 maybe-installcheck-time: installcheck-time
24336 installcheck-time: \
24337 configure-time
24338 @$(unstage)
24339 @[ -f ./time/Makefile ] || exit 0; \
24340 r=`${PWD_COMMAND}`; export r; \
24341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24342 $(HOST_EXPORTS) \
24343 for flag in $(EXTRA_HOST_FLAGS) ; do \
24344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24345 done; \
24346 echo "Doing installcheck in time" ; \
24347 (cd $(HOST_SUBDIR)/time && \
24348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24350 "RANLIB=$${RANLIB}" \
24351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24352 installcheck) \
24353 || exit 1
24355 @endif time
24357 .PHONY: maybe-mostlyclean-time mostlyclean-time
24358 maybe-mostlyclean-time:
24359 @if time
24360 maybe-mostlyclean-time: mostlyclean-time
24362 mostlyclean-time:
24363 @$(unstage)
24364 @[ -f ./time/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 mostlyclean in time" ; \
24372 (cd $(HOST_SUBDIR)/time && \
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 mostlyclean) \
24378 || exit 1
24380 @endif time
24382 .PHONY: maybe-clean-time clean-time
24383 maybe-clean-time:
24384 @if time
24385 maybe-clean-time: clean-time
24387 clean-time:
24388 @$(unstage)
24389 @[ -f ./time/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 clean in time" ; \
24397 (cd $(HOST_SUBDIR)/time && \
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 clean) \
24403 || exit 1
24405 @endif time
24407 .PHONY: maybe-distclean-time distclean-time
24408 maybe-distclean-time:
24409 @if time
24410 maybe-distclean-time: distclean-time
24412 distclean-time:
24413 @$(unstage)
24414 @[ -f ./time/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 distclean in time" ; \
24422 (cd $(HOST_SUBDIR)/time && \
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 distclean) \
24428 || exit 1
24430 @endif time
24432 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
24433 maybe-maintainer-clean-time:
24434 @if time
24435 maybe-maintainer-clean-time: maintainer-clean-time
24437 maintainer-clean-time:
24438 @$(unstage)
24439 @[ -f ./time/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 maintainer-clean in time" ; \
24447 (cd $(HOST_SUBDIR)/time && \
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 maintainer-clean) \
24453 || exit 1
24455 @endif time
24459 .PHONY: configure-uudecode maybe-configure-uudecode
24460 maybe-configure-uudecode:
24461 @if uudecode
24462 maybe-configure-uudecode: configure-uudecode
24463 configure-uudecode:
24464 @$(unstage)
24465 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
24466 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
24467 r=`${PWD_COMMAND}`; export r; \
24468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24469 $(HOST_EXPORTS) \
24470 echo Configuring in $(HOST_SUBDIR)/uudecode; \
24471 cd "$(HOST_SUBDIR)/uudecode" || exit 1; \
24472 case $(srcdir) in \
24473 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24474 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
24475 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24476 esac; \
24477 srcdiroption="--srcdir=$${topdir}/uudecode"; \
24478 libsrcdir="$$s/uudecode"; \
24479 $(SHELL) $${libsrcdir}/configure \
24480 $(HOST_CONFIGARGS) $${srcdiroption} \
24481 || exit 1
24482 @endif uudecode
24488 .PHONY: all-uudecode maybe-all-uudecode
24489 maybe-all-uudecode:
24490 @if uudecode
24491 TARGET-uudecode=all
24492 maybe-all-uudecode: all-uudecode
24493 all-uudecode: configure-uudecode
24494 @$(unstage)
24495 @r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(HOST_EXPORTS) \
24498 (cd $(HOST_SUBDIR)/uudecode && \
24499 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
24500 @endif uudecode
24505 .PHONY: check-uudecode maybe-check-uudecode
24506 maybe-check-uudecode:
24507 @if uudecode
24508 maybe-check-uudecode: check-uudecode
24510 check-uudecode:
24511 @$(unstage)
24512 @r=`${PWD_COMMAND}`; export r; \
24513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24514 $(HOST_EXPORTS) \
24515 (cd $(HOST_SUBDIR)/uudecode && \
24516 $(MAKE) $(FLAGS_TO_PASS) check)
24518 @endif uudecode
24520 .PHONY: install-uudecode maybe-install-uudecode
24521 maybe-install-uudecode:
24522 @if uudecode
24523 maybe-install-uudecode: install-uudecode
24525 install-uudecode: installdirs
24526 @$(unstage)
24527 @r=`${PWD_COMMAND}`; export r; \
24528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24529 $(HOST_EXPORTS) \
24530 (cd $(HOST_SUBDIR)/uudecode && \
24531 $(MAKE) $(FLAGS_TO_PASS) install)
24533 @endif uudecode
24535 # Other targets (info, dvi, etc.)
24537 .PHONY: maybe-info-uudecode info-uudecode
24538 maybe-info-uudecode:
24539 @if uudecode
24540 maybe-info-uudecode: info-uudecode
24542 info-uudecode: \
24543 configure-uudecode
24544 @$(unstage)
24545 @[ -f ./uudecode/Makefile ] || exit 0; \
24546 r=`${PWD_COMMAND}`; export r; \
24547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24548 $(HOST_EXPORTS) \
24549 for flag in $(EXTRA_HOST_FLAGS) ; do \
24550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24551 done; \
24552 echo "Doing info in uudecode" ; \
24553 (cd $(HOST_SUBDIR)/uudecode && \
24554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24556 "RANLIB=$${RANLIB}" \
24557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24558 info) \
24559 || exit 1
24561 @endif uudecode
24563 .PHONY: maybe-dvi-uudecode dvi-uudecode
24564 maybe-dvi-uudecode:
24565 @if uudecode
24566 maybe-dvi-uudecode: dvi-uudecode
24568 dvi-uudecode: \
24569 configure-uudecode
24570 @$(unstage)
24571 @[ -f ./uudecode/Makefile ] || exit 0; \
24572 r=`${PWD_COMMAND}`; export r; \
24573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24574 $(HOST_EXPORTS) \
24575 for flag in $(EXTRA_HOST_FLAGS) ; do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 echo "Doing dvi in uudecode" ; \
24579 (cd $(HOST_SUBDIR)/uudecode && \
24580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24582 "RANLIB=$${RANLIB}" \
24583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24584 dvi) \
24585 || exit 1
24587 @endif uudecode
24589 .PHONY: maybe-html-uudecode html-uudecode
24590 maybe-html-uudecode:
24591 @if uudecode
24592 maybe-html-uudecode: html-uudecode
24594 html-uudecode: \
24595 configure-uudecode
24596 @$(unstage)
24597 @[ -f ./uudecode/Makefile ] || exit 0; \
24598 r=`${PWD_COMMAND}`; export r; \
24599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24600 $(HOST_EXPORTS) \
24601 for flag in $(EXTRA_HOST_FLAGS) ; do \
24602 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24603 done; \
24604 echo "Doing html in uudecode" ; \
24605 (cd $(HOST_SUBDIR)/uudecode && \
24606 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24607 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24608 "RANLIB=$${RANLIB}" \
24609 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24610 html) \
24611 || exit 1
24613 @endif uudecode
24615 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
24616 maybe-TAGS-uudecode:
24617 @if uudecode
24618 maybe-TAGS-uudecode: TAGS-uudecode
24620 TAGS-uudecode: \
24621 configure-uudecode
24622 @$(unstage)
24623 @[ -f ./uudecode/Makefile ] || exit 0; \
24624 r=`${PWD_COMMAND}`; export r; \
24625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24626 $(HOST_EXPORTS) \
24627 for flag in $(EXTRA_HOST_FLAGS) ; do \
24628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24629 done; \
24630 echo "Doing TAGS in uudecode" ; \
24631 (cd $(HOST_SUBDIR)/uudecode && \
24632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24634 "RANLIB=$${RANLIB}" \
24635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24636 TAGS) \
24637 || exit 1
24639 @endif uudecode
24641 .PHONY: maybe-install-info-uudecode install-info-uudecode
24642 maybe-install-info-uudecode:
24643 @if uudecode
24644 maybe-install-info-uudecode: install-info-uudecode
24646 install-info-uudecode: \
24647 configure-uudecode \
24648 info-uudecode
24649 @$(unstage)
24650 @[ -f ./uudecode/Makefile ] || exit 0; \
24651 r=`${PWD_COMMAND}`; export r; \
24652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24653 $(HOST_EXPORTS) \
24654 for flag in $(EXTRA_HOST_FLAGS) ; do \
24655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24656 done; \
24657 echo "Doing install-info in uudecode" ; \
24658 (cd $(HOST_SUBDIR)/uudecode && \
24659 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24660 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24661 "RANLIB=$${RANLIB}" \
24662 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24663 install-info) \
24664 || exit 1
24666 @endif uudecode
24668 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
24669 maybe-installcheck-uudecode:
24670 @if uudecode
24671 maybe-installcheck-uudecode: installcheck-uudecode
24673 installcheck-uudecode: \
24674 configure-uudecode
24675 @$(unstage)
24676 @[ -f ./uudecode/Makefile ] || exit 0; \
24677 r=`${PWD_COMMAND}`; export r; \
24678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24679 $(HOST_EXPORTS) \
24680 for flag in $(EXTRA_HOST_FLAGS) ; do \
24681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24682 done; \
24683 echo "Doing installcheck in uudecode" ; \
24684 (cd $(HOST_SUBDIR)/uudecode && \
24685 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24686 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24687 "RANLIB=$${RANLIB}" \
24688 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24689 installcheck) \
24690 || exit 1
24692 @endif uudecode
24694 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
24695 maybe-mostlyclean-uudecode:
24696 @if uudecode
24697 maybe-mostlyclean-uudecode: mostlyclean-uudecode
24699 mostlyclean-uudecode:
24700 @$(unstage)
24701 @[ -f ./uudecode/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 mostlyclean in uudecode" ; \
24709 (cd $(HOST_SUBDIR)/uudecode && \
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 mostlyclean) \
24715 || exit 1
24717 @endif uudecode
24719 .PHONY: maybe-clean-uudecode clean-uudecode
24720 maybe-clean-uudecode:
24721 @if uudecode
24722 maybe-clean-uudecode: clean-uudecode
24724 clean-uudecode:
24725 @$(unstage)
24726 @[ -f ./uudecode/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 clean in uudecode" ; \
24734 (cd $(HOST_SUBDIR)/uudecode && \
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 clean) \
24740 || exit 1
24742 @endif uudecode
24744 .PHONY: maybe-distclean-uudecode distclean-uudecode
24745 maybe-distclean-uudecode:
24746 @if uudecode
24747 maybe-distclean-uudecode: distclean-uudecode
24749 distclean-uudecode:
24750 @$(unstage)
24751 @[ -f ./uudecode/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 distclean in uudecode" ; \
24759 (cd $(HOST_SUBDIR)/uudecode && \
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 distclean) \
24765 || exit 1
24767 @endif uudecode
24769 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
24770 maybe-maintainer-clean-uudecode:
24771 @if uudecode
24772 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
24774 maintainer-clean-uudecode:
24775 @$(unstage)
24776 @[ -f ./uudecode/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 maintainer-clean in uudecode" ; \
24784 (cd $(HOST_SUBDIR)/uudecode && \
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 maintainer-clean) \
24790 || exit 1
24792 @endif uudecode
24796 .PHONY: configure-wdiff maybe-configure-wdiff
24797 maybe-configure-wdiff:
24798 @if wdiff
24799 maybe-configure-wdiff: configure-wdiff
24800 configure-wdiff:
24801 @$(unstage)
24802 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
24803 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
24804 r=`${PWD_COMMAND}`; export r; \
24805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24806 $(HOST_EXPORTS) \
24807 echo Configuring in $(HOST_SUBDIR)/wdiff; \
24808 cd "$(HOST_SUBDIR)/wdiff" || exit 1; \
24809 case $(srcdir) in \
24810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24811 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
24812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24813 esac; \
24814 srcdiroption="--srcdir=$${topdir}/wdiff"; \
24815 libsrcdir="$$s/wdiff"; \
24816 $(SHELL) $${libsrcdir}/configure \
24817 $(HOST_CONFIGARGS) $${srcdiroption} \
24818 || exit 1
24819 @endif wdiff
24825 .PHONY: all-wdiff maybe-all-wdiff
24826 maybe-all-wdiff:
24827 @if wdiff
24828 TARGET-wdiff=all
24829 maybe-all-wdiff: all-wdiff
24830 all-wdiff: configure-wdiff
24831 @$(unstage)
24832 @r=`${PWD_COMMAND}`; export r; \
24833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24834 $(HOST_EXPORTS) \
24835 (cd $(HOST_SUBDIR)/wdiff && \
24836 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
24837 @endif wdiff
24842 .PHONY: check-wdiff maybe-check-wdiff
24843 maybe-check-wdiff:
24844 @if wdiff
24845 maybe-check-wdiff: check-wdiff
24847 check-wdiff:
24848 @$(unstage)
24849 @r=`${PWD_COMMAND}`; export r; \
24850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24851 $(HOST_EXPORTS) \
24852 (cd $(HOST_SUBDIR)/wdiff && \
24853 $(MAKE) $(FLAGS_TO_PASS) check)
24855 @endif wdiff
24857 .PHONY: install-wdiff maybe-install-wdiff
24858 maybe-install-wdiff:
24859 @if wdiff
24860 maybe-install-wdiff: install-wdiff
24862 install-wdiff: installdirs
24863 @$(unstage)
24864 @r=`${PWD_COMMAND}`; export r; \
24865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24866 $(HOST_EXPORTS) \
24867 (cd $(HOST_SUBDIR)/wdiff && \
24868 $(MAKE) $(FLAGS_TO_PASS) install)
24870 @endif wdiff
24872 # Other targets (info, dvi, etc.)
24874 .PHONY: maybe-info-wdiff info-wdiff
24875 maybe-info-wdiff:
24876 @if wdiff
24877 maybe-info-wdiff: info-wdiff
24879 info-wdiff: \
24880 configure-wdiff
24881 @$(unstage)
24882 @[ -f ./wdiff/Makefile ] || exit 0; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(HOST_EXPORTS) \
24886 for flag in $(EXTRA_HOST_FLAGS) ; do \
24887 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24888 done; \
24889 echo "Doing info in wdiff" ; \
24890 (cd $(HOST_SUBDIR)/wdiff && \
24891 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24892 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24893 "RANLIB=$${RANLIB}" \
24894 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24895 info) \
24896 || exit 1
24898 @endif wdiff
24900 .PHONY: maybe-dvi-wdiff dvi-wdiff
24901 maybe-dvi-wdiff:
24902 @if wdiff
24903 maybe-dvi-wdiff: dvi-wdiff
24905 dvi-wdiff: \
24906 configure-wdiff
24907 @$(unstage)
24908 @[ -f ./wdiff/Makefile ] || exit 0; \
24909 r=`${PWD_COMMAND}`; export r; \
24910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24911 $(HOST_EXPORTS) \
24912 for flag in $(EXTRA_HOST_FLAGS) ; do \
24913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24914 done; \
24915 echo "Doing dvi in wdiff" ; \
24916 (cd $(HOST_SUBDIR)/wdiff && \
24917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24919 "RANLIB=$${RANLIB}" \
24920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24921 dvi) \
24922 || exit 1
24924 @endif wdiff
24926 .PHONY: maybe-html-wdiff html-wdiff
24927 maybe-html-wdiff:
24928 @if wdiff
24929 maybe-html-wdiff: html-wdiff
24931 html-wdiff: \
24932 configure-wdiff
24933 @$(unstage)
24934 @[ -f ./wdiff/Makefile ] || exit 0; \
24935 r=`${PWD_COMMAND}`; export r; \
24936 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24937 $(HOST_EXPORTS) \
24938 for flag in $(EXTRA_HOST_FLAGS) ; do \
24939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24940 done; \
24941 echo "Doing html in wdiff" ; \
24942 (cd $(HOST_SUBDIR)/wdiff && \
24943 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24944 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24945 "RANLIB=$${RANLIB}" \
24946 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24947 html) \
24948 || exit 1
24950 @endif wdiff
24952 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
24953 maybe-TAGS-wdiff:
24954 @if wdiff
24955 maybe-TAGS-wdiff: TAGS-wdiff
24957 TAGS-wdiff: \
24958 configure-wdiff
24959 @$(unstage)
24960 @[ -f ./wdiff/Makefile ] || exit 0; \
24961 r=`${PWD_COMMAND}`; export r; \
24962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24963 $(HOST_EXPORTS) \
24964 for flag in $(EXTRA_HOST_FLAGS) ; do \
24965 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24966 done; \
24967 echo "Doing TAGS in wdiff" ; \
24968 (cd $(HOST_SUBDIR)/wdiff && \
24969 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24970 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24971 "RANLIB=$${RANLIB}" \
24972 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24973 TAGS) \
24974 || exit 1
24976 @endif wdiff
24978 .PHONY: maybe-install-info-wdiff install-info-wdiff
24979 maybe-install-info-wdiff:
24980 @if wdiff
24981 maybe-install-info-wdiff: install-info-wdiff
24983 install-info-wdiff: \
24984 configure-wdiff \
24985 info-wdiff
24986 @$(unstage)
24987 @[ -f ./wdiff/Makefile ] || exit 0; \
24988 r=`${PWD_COMMAND}`; export r; \
24989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24990 $(HOST_EXPORTS) \
24991 for flag in $(EXTRA_HOST_FLAGS) ; do \
24992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24993 done; \
24994 echo "Doing install-info in wdiff" ; \
24995 (cd $(HOST_SUBDIR)/wdiff && \
24996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24998 "RANLIB=$${RANLIB}" \
24999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25000 install-info) \
25001 || exit 1
25003 @endif wdiff
25005 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
25006 maybe-installcheck-wdiff:
25007 @if wdiff
25008 maybe-installcheck-wdiff: installcheck-wdiff
25010 installcheck-wdiff: \
25011 configure-wdiff
25012 @$(unstage)
25013 @[ -f ./wdiff/Makefile ] || exit 0; \
25014 r=`${PWD_COMMAND}`; export r; \
25015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25016 $(HOST_EXPORTS) \
25017 for flag in $(EXTRA_HOST_FLAGS) ; do \
25018 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25019 done; \
25020 echo "Doing installcheck in wdiff" ; \
25021 (cd $(HOST_SUBDIR)/wdiff && \
25022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25024 "RANLIB=$${RANLIB}" \
25025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25026 installcheck) \
25027 || exit 1
25029 @endif wdiff
25031 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
25032 maybe-mostlyclean-wdiff:
25033 @if wdiff
25034 maybe-mostlyclean-wdiff: mostlyclean-wdiff
25036 mostlyclean-wdiff:
25037 @$(unstage)
25038 @[ -f ./wdiff/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 mostlyclean in wdiff" ; \
25046 (cd $(HOST_SUBDIR)/wdiff && \
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 mostlyclean) \
25052 || exit 1
25054 @endif wdiff
25056 .PHONY: maybe-clean-wdiff clean-wdiff
25057 maybe-clean-wdiff:
25058 @if wdiff
25059 maybe-clean-wdiff: clean-wdiff
25061 clean-wdiff:
25062 @$(unstage)
25063 @[ -f ./wdiff/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 clean in wdiff" ; \
25071 (cd $(HOST_SUBDIR)/wdiff && \
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 clean) \
25077 || exit 1
25079 @endif wdiff
25081 .PHONY: maybe-distclean-wdiff distclean-wdiff
25082 maybe-distclean-wdiff:
25083 @if wdiff
25084 maybe-distclean-wdiff: distclean-wdiff
25086 distclean-wdiff:
25087 @$(unstage)
25088 @[ -f ./wdiff/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 distclean in wdiff" ; \
25096 (cd $(HOST_SUBDIR)/wdiff && \
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 distclean) \
25102 || exit 1
25104 @endif wdiff
25106 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
25107 maybe-maintainer-clean-wdiff:
25108 @if wdiff
25109 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
25111 maintainer-clean-wdiff:
25112 @$(unstage)
25113 @[ -f ./wdiff/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 maintainer-clean in wdiff" ; \
25121 (cd $(HOST_SUBDIR)/wdiff && \
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 maintainer-clean) \
25127 || exit 1
25129 @endif wdiff
25133 .PHONY: configure-zip maybe-configure-zip
25134 maybe-configure-zip:
25135 @if zip
25136 maybe-configure-zip: configure-zip
25137 configure-zip:
25138 @$(unstage)
25139 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
25140 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
25141 r=`${PWD_COMMAND}`; export r; \
25142 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25143 $(HOST_EXPORTS) \
25144 echo Configuring in $(HOST_SUBDIR)/zip; \
25145 cd "$(HOST_SUBDIR)/zip" || exit 1; \
25146 case $(srcdir) in \
25147 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25148 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
25149 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25150 esac; \
25151 srcdiroption="--srcdir=$${topdir}/zip"; \
25152 libsrcdir="$$s/zip"; \
25153 $(SHELL) $${libsrcdir}/configure \
25154 $(HOST_CONFIGARGS) $${srcdiroption} \
25155 || exit 1
25156 @endif zip
25162 .PHONY: all-zip maybe-all-zip
25163 maybe-all-zip:
25164 @if zip
25165 TARGET-zip=all
25166 maybe-all-zip: all-zip
25167 all-zip: configure-zip
25168 @$(unstage)
25169 @r=`${PWD_COMMAND}`; export r; \
25170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25171 $(HOST_EXPORTS) \
25172 (cd $(HOST_SUBDIR)/zip && \
25173 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
25174 @endif zip
25179 .PHONY: check-zip maybe-check-zip
25180 maybe-check-zip:
25181 @if zip
25182 maybe-check-zip: check-zip
25184 # This module is only tested in a native toolchain.
25185 check-zip:
25186 @$(unstage)
25187 @if [ '$(host)' = '$(target)' ] ; then \
25188 r=`${PWD_COMMAND}`; export r; \
25189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25190 $(HOST_EXPORTS) \
25191 (cd $(HOST_SUBDIR)/zip && \
25192 $(MAKE) $(FLAGS_TO_PASS) check); \
25195 @endif zip
25197 .PHONY: install-zip maybe-install-zip
25198 maybe-install-zip:
25199 @if zip
25200 maybe-install-zip: install-zip
25202 install-zip: installdirs
25203 @$(unstage)
25204 @r=`${PWD_COMMAND}`; export r; \
25205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25206 $(HOST_EXPORTS) \
25207 (cd $(HOST_SUBDIR)/zip && \
25208 $(MAKE) $(FLAGS_TO_PASS) install)
25210 @endif zip
25212 # Other targets (info, dvi, etc.)
25214 .PHONY: maybe-info-zip info-zip
25215 maybe-info-zip:
25216 @if zip
25217 maybe-info-zip: info-zip
25219 info-zip: \
25220 configure-zip
25221 @$(unstage)
25222 @[ -f ./zip/Makefile ] || exit 0; \
25223 r=`${PWD_COMMAND}`; export r; \
25224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25225 $(HOST_EXPORTS) \
25226 for flag in $(EXTRA_HOST_FLAGS) ; do \
25227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25228 done; \
25229 echo "Doing info in zip" ; \
25230 (cd $(HOST_SUBDIR)/zip && \
25231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25233 "RANLIB=$${RANLIB}" \
25234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25235 info) \
25236 || exit 1
25238 @endif zip
25240 .PHONY: maybe-dvi-zip dvi-zip
25241 maybe-dvi-zip:
25242 @if zip
25243 maybe-dvi-zip: dvi-zip
25245 dvi-zip: \
25246 configure-zip
25247 @$(unstage)
25248 @[ -f ./zip/Makefile ] || exit 0; \
25249 r=`${PWD_COMMAND}`; export r; \
25250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25251 $(HOST_EXPORTS) \
25252 for flag in $(EXTRA_HOST_FLAGS) ; do \
25253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25254 done; \
25255 echo "Doing dvi in zip" ; \
25256 (cd $(HOST_SUBDIR)/zip && \
25257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25259 "RANLIB=$${RANLIB}" \
25260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25261 dvi) \
25262 || exit 1
25264 @endif zip
25266 .PHONY: maybe-html-zip html-zip
25267 maybe-html-zip:
25268 @if zip
25269 maybe-html-zip: html-zip
25271 html-zip: \
25272 configure-zip
25273 @$(unstage)
25274 @[ -f ./zip/Makefile ] || exit 0; \
25275 r=`${PWD_COMMAND}`; export r; \
25276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25277 $(HOST_EXPORTS) \
25278 for flag in $(EXTRA_HOST_FLAGS) ; do \
25279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25280 done; \
25281 echo "Doing html in zip" ; \
25282 (cd $(HOST_SUBDIR)/zip && \
25283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25285 "RANLIB=$${RANLIB}" \
25286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25287 html) \
25288 || exit 1
25290 @endif zip
25292 .PHONY: maybe-TAGS-zip TAGS-zip
25293 maybe-TAGS-zip:
25294 @if zip
25295 maybe-TAGS-zip: TAGS-zip
25297 TAGS-zip: \
25298 configure-zip
25299 @$(unstage)
25300 @[ -f ./zip/Makefile ] || exit 0; \
25301 r=`${PWD_COMMAND}`; export r; \
25302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25303 $(HOST_EXPORTS) \
25304 for flag in $(EXTRA_HOST_FLAGS) ; do \
25305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25306 done; \
25307 echo "Doing TAGS in zip" ; \
25308 (cd $(HOST_SUBDIR)/zip && \
25309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25311 "RANLIB=$${RANLIB}" \
25312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25313 TAGS) \
25314 || exit 1
25316 @endif zip
25318 .PHONY: maybe-install-info-zip install-info-zip
25319 maybe-install-info-zip:
25320 @if zip
25321 maybe-install-info-zip: install-info-zip
25323 install-info-zip: \
25324 configure-zip \
25325 info-zip
25326 @$(unstage)
25327 @[ -f ./zip/Makefile ] || exit 0; \
25328 r=`${PWD_COMMAND}`; export r; \
25329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25330 $(HOST_EXPORTS) \
25331 for flag in $(EXTRA_HOST_FLAGS) ; do \
25332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25333 done; \
25334 echo "Doing install-info in zip" ; \
25335 (cd $(HOST_SUBDIR)/zip && \
25336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25338 "RANLIB=$${RANLIB}" \
25339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25340 install-info) \
25341 || exit 1
25343 @endif zip
25345 .PHONY: maybe-installcheck-zip installcheck-zip
25346 maybe-installcheck-zip:
25347 @if zip
25348 maybe-installcheck-zip: installcheck-zip
25350 installcheck-zip: \
25351 configure-zip
25352 @$(unstage)
25353 @[ -f ./zip/Makefile ] || exit 0; \
25354 r=`${PWD_COMMAND}`; export r; \
25355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25356 $(HOST_EXPORTS) \
25357 for flag in $(EXTRA_HOST_FLAGS) ; do \
25358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25359 done; \
25360 echo "Doing installcheck in zip" ; \
25361 (cd $(HOST_SUBDIR)/zip && \
25362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25364 "RANLIB=$${RANLIB}" \
25365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25366 installcheck) \
25367 || exit 1
25369 @endif zip
25371 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
25372 maybe-mostlyclean-zip:
25373 @if zip
25374 maybe-mostlyclean-zip: mostlyclean-zip
25376 mostlyclean-zip:
25377 @$(unstage)
25378 @[ -f ./zip/Makefile ] || exit 0; \
25379 r=`${PWD_COMMAND}`; export r; \
25380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25381 $(HOST_EXPORTS) \
25382 for flag in $(EXTRA_HOST_FLAGS) ; do \
25383 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25384 done; \
25385 echo "Doing mostlyclean in zip" ; \
25386 (cd $(HOST_SUBDIR)/zip && \
25387 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25388 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25389 "RANLIB=$${RANLIB}" \
25390 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25391 mostlyclean) \
25392 || exit 1
25394 @endif zip
25396 .PHONY: maybe-clean-zip clean-zip
25397 maybe-clean-zip:
25398 @if zip
25399 maybe-clean-zip: clean-zip
25401 clean-zip:
25402 @$(unstage)
25403 @[ -f ./zip/Makefile ] || exit 0; \
25404 r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 $(HOST_EXPORTS) \
25407 for flag in $(EXTRA_HOST_FLAGS) ; do \
25408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25409 done; \
25410 echo "Doing clean in zip" ; \
25411 (cd $(HOST_SUBDIR)/zip && \
25412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25414 "RANLIB=$${RANLIB}" \
25415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25416 clean) \
25417 || exit 1
25419 @endif zip
25421 .PHONY: maybe-distclean-zip distclean-zip
25422 maybe-distclean-zip:
25423 @if zip
25424 maybe-distclean-zip: distclean-zip
25426 distclean-zip:
25427 @$(unstage)
25428 @[ -f ./zip/Makefile ] || exit 0; \
25429 r=`${PWD_COMMAND}`; export r; \
25430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25431 $(HOST_EXPORTS) \
25432 for flag in $(EXTRA_HOST_FLAGS) ; do \
25433 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25434 done; \
25435 echo "Doing distclean in zip" ; \
25436 (cd $(HOST_SUBDIR)/zip && \
25437 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25438 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25439 "RANLIB=$${RANLIB}" \
25440 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25441 distclean) \
25442 || exit 1
25444 @endif zip
25446 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
25447 maybe-maintainer-clean-zip:
25448 @if zip
25449 maybe-maintainer-clean-zip: maintainer-clean-zip
25451 maintainer-clean-zip:
25452 @$(unstage)
25453 @[ -f ./zip/Makefile ] || exit 0; \
25454 r=`${PWD_COMMAND}`; export r; \
25455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25456 $(HOST_EXPORTS) \
25457 for flag in $(EXTRA_HOST_FLAGS) ; do \
25458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25459 done; \
25460 echo "Doing maintainer-clean in zip" ; \
25461 (cd $(HOST_SUBDIR)/zip && \
25462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25464 "RANLIB=$${RANLIB}" \
25465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25466 maintainer-clean) \
25467 || exit 1
25469 @endif zip
25473 .PHONY: configure-zlib maybe-configure-zlib
25474 maybe-configure-zlib:
25475 @if zlib
25476 maybe-configure-zlib: configure-zlib
25477 configure-zlib:
25478 @test -f stage_last && exit 0; \
25479 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
25480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
25481 r=`${PWD_COMMAND}`; export r; \
25482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25483 $(HOST_EXPORTS) \
25484 echo Configuring in $(HOST_SUBDIR)/zlib; \
25485 cd "$(HOST_SUBDIR)/zlib" || exit 1; \
25486 case $(srcdir) in \
25487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25488 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25490 esac; \
25491 srcdiroption="--srcdir=$${topdir}/zlib"; \
25492 libsrcdir="$$s/zlib"; \
25493 $(SHELL) $${libsrcdir}/configure \
25494 $(HOST_CONFIGARGS) $${srcdiroption} \
25495 || exit 1
25496 @endif zlib
25500 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
25501 maybe-configure-stage1-zlib:
25502 @if zlib-bootstrap
25503 maybe-configure-stage1-zlib: configure-stage1-zlib
25504 configure-stage1-zlib:
25505 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25506 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25507 r=`${PWD_COMMAND}`; export r; \
25508 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25509 $(HOST_EXPORTS) \
25510 echo Configuring stage 1 in $(HOST_SUBDIR)/zlib ; \
25511 cd $(HOST_SUBDIR)/zlib || exit 1; \
25512 case $(srcdir) in \
25513 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25514 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25515 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25516 esac; \
25517 srcdiroption="--srcdir=$${topdir}/zlib"; \
25518 libsrcdir="$$s/zlib"; \
25519 $(SHELL) $${libsrcdir}/configure \
25520 $(HOST_CONFIGARGS) $${srcdiroption} \
25521 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
25522 @endif zlib-bootstrap
25524 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
25525 maybe-configure-stage2-zlib:
25526 @if zlib-bootstrap
25527 maybe-configure-stage2-zlib: configure-stage2-zlib
25528 configure-stage2-zlib:
25529 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25530 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25531 r=`${PWD_COMMAND}`; export r; \
25532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25533 $(HOST_EXPORTS) \
25534 $(POSTSTAGE1_HOST_EXPORTS) \
25535 echo Configuring stage 2 in $(HOST_SUBDIR)/zlib ; \
25536 cd $(HOST_SUBDIR)/zlib || exit 1; \
25537 case $(srcdir) in \
25538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25539 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25541 esac; \
25542 srcdiroption="--srcdir=$${topdir}/zlib"; \
25543 libsrcdir="$$s/zlib"; \
25544 $(SHELL) $${libsrcdir}/configure \
25545 $(HOST_CONFIGARGS) $${srcdiroption} \
25546 @stage2_werror_flag@
25547 @endif zlib-bootstrap
25549 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
25550 maybe-configure-stage3-zlib:
25551 @if zlib-bootstrap
25552 maybe-configure-stage3-zlib: configure-stage3-zlib
25553 configure-stage3-zlib:
25554 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25555 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25556 r=`${PWD_COMMAND}`; export r; \
25557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25558 $(HOST_EXPORTS) \
25559 $(POSTSTAGE1_HOST_EXPORTS) \
25560 echo Configuring stage 3 in $(HOST_SUBDIR)/zlib ; \
25561 cd $(HOST_SUBDIR)/zlib || exit 1; \
25562 case $(srcdir) in \
25563 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25564 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25565 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25566 esac; \
25567 srcdiroption="--srcdir=$${topdir}/zlib"; \
25568 libsrcdir="$$s/zlib"; \
25569 $(SHELL) $${libsrcdir}/configure \
25570 $(HOST_CONFIGARGS) $${srcdiroption} \
25571 @stage2_werror_flag@
25572 @endif zlib-bootstrap
25574 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
25575 maybe-configure-stage4-zlib:
25576 @if zlib-bootstrap
25577 maybe-configure-stage4-zlib: configure-stage4-zlib
25578 configure-stage4-zlib:
25579 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25580 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25581 r=`${PWD_COMMAND}`; export r; \
25582 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25583 $(HOST_EXPORTS) \
25584 $(POSTSTAGE1_HOST_EXPORTS) \
25585 echo Configuring stage 4 in $(HOST_SUBDIR)/zlib ; \
25586 cd $(HOST_SUBDIR)/zlib || exit 1; \
25587 case $(srcdir) in \
25588 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25589 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25590 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25591 esac; \
25592 srcdiroption="--srcdir=$${topdir}/zlib"; \
25593 libsrcdir="$$s/zlib"; \
25594 $(SHELL) $${libsrcdir}/configure \
25595 $(HOST_CONFIGARGS) $${srcdiroption} \
25596 @stage2_werror_flag@
25597 @endif zlib-bootstrap
25599 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
25600 maybe-configure-stageprofile-zlib:
25601 @if zlib-bootstrap
25602 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
25603 configure-stageprofile-zlib:
25604 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25605 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25606 r=`${PWD_COMMAND}`; export r; \
25607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25608 $(HOST_EXPORTS) \
25609 $(POSTSTAGE1_HOST_EXPORTS) \
25610 echo Configuring stage profile in $(HOST_SUBDIR)/zlib ; \
25611 cd $(HOST_SUBDIR)/zlib || exit 1; \
25612 case $(srcdir) in \
25613 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25614 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25615 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25616 esac; \
25617 srcdiroption="--srcdir=$${topdir}/zlib"; \
25618 libsrcdir="$$s/zlib"; \
25619 $(SHELL) $${libsrcdir}/configure \
25620 $(HOST_CONFIGARGS) $${srcdiroption} \
25621 @stage2_werror_flag@
25622 @endif zlib-bootstrap
25624 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
25625 maybe-configure-stagefeedback-zlib:
25626 @if zlib-bootstrap
25627 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
25628 configure-stagefeedback-zlib:
25629 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25630 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] && exit 0 || : ; \
25631 r=`${PWD_COMMAND}`; export r; \
25632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25633 $(HOST_EXPORTS) \
25634 $(POSTSTAGE1_HOST_EXPORTS) \
25635 echo Configuring stage feedback in $(HOST_SUBDIR)/zlib ; \
25636 cd $(HOST_SUBDIR)/zlib || exit 1; \
25637 case $(srcdir) in \
25638 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25639 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
25640 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25641 esac; \
25642 srcdiroption="--srcdir=$${topdir}/zlib"; \
25643 libsrcdir="$$s/zlib"; \
25644 $(SHELL) $${libsrcdir}/configure \
25645 $(HOST_CONFIGARGS) $${srcdiroption} \
25646 @stage2_werror_flag@
25647 @endif zlib-bootstrap
25653 .PHONY: all-zlib maybe-all-zlib
25654 maybe-all-zlib:
25655 @if zlib
25656 TARGET-zlib=all
25657 maybe-all-zlib: all-zlib
25658 all-zlib: configure-zlib
25659 @test -f stage_last && exit 0; \
25660 r=`${PWD_COMMAND}`; export r; \
25661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25662 $(HOST_EXPORTS) \
25663 (cd $(HOST_SUBDIR)/zlib && \
25664 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
25665 @endif zlib
25669 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
25670 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
25671 maybe-all-stage1-zlib:
25672 maybe-clean-stage1-zlib:
25673 @if zlib-bootstrap
25674 maybe-all-stage1-zlib: all-stage1-zlib
25675 all-stage1: all-stage1-zlib
25676 TARGET-stage1-zlib = $(TARGET-zlib)
25677 all-stage1-zlib: configure-stage1-zlib
25678 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25679 @r=`${PWD_COMMAND}`; export r; \
25680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25681 $(HOST_EXPORTS) \
25682 cd $(HOST_SUBDIR)/zlib && \
25683 $(MAKE) $(FLAGS_TO_PASS) CFLAGS="$(STAGE1_CFLAGS)" \
25684 $(TARGET-stage1-zlib)
25686 maybe-clean-stage1-zlib: clean-stage1-zlib
25687 clean-stage1: clean-stage1-zlib
25688 clean-stage1-zlib:
25689 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage1-zlib/Makefile ] \
25690 || exit 0 ; \
25691 @[ `cat stage_current` = stage1 ] || $(MAKE) stage1-start
25692 cd $(HOST_SUBDIR)/zlib && \
25693 $(MAKE) $(FLAGS_TO_PASS) \
25694 CFLAGS="$(STAGE1_CFLAGS)" clean
25695 @endif zlib-bootstrap
25698 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
25699 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
25700 maybe-all-stage2-zlib:
25701 maybe-clean-stage2-zlib:
25702 @if zlib-bootstrap
25703 maybe-all-stage2-zlib: all-stage2-zlib
25704 all-stage2: all-stage2-zlib
25705 TARGET-stage2-zlib = $(TARGET-zlib)
25706 all-stage2-zlib: configure-stage2-zlib
25707 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25708 @r=`${PWD_COMMAND}`; export r; \
25709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25710 $(HOST_EXPORTS) \
25711 $(POSTSTAGE1_HOST_EXPORTS) \
25712 cd $(HOST_SUBDIR)/zlib && \
25713 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25714 $(TARGET-stage2-zlib)
25716 maybe-clean-stage2-zlib: clean-stage2-zlib
25717 clean-stage2: clean-stage2-zlib
25718 clean-stage2-zlib:
25719 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage2-zlib/Makefile ] \
25720 || exit 0 ; \
25721 @[ `cat stage_current` = stage2 ] || $(MAKE) stage2-start
25722 cd $(HOST_SUBDIR)/zlib && \
25723 $(MAKE) $(FLAGS_TO_PASS) \
25724 $(POSTSTAGE1_FLAGS_TO_PASS) \
25725 clean
25726 @endif zlib-bootstrap
25729 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
25730 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
25731 maybe-all-stage3-zlib:
25732 maybe-clean-stage3-zlib:
25733 @if zlib-bootstrap
25734 maybe-all-stage3-zlib: all-stage3-zlib
25735 all-stage3: all-stage3-zlib
25736 TARGET-stage3-zlib = $(TARGET-zlib)
25737 all-stage3-zlib: configure-stage3-zlib
25738 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25739 @r=`${PWD_COMMAND}`; export r; \
25740 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25741 $(HOST_EXPORTS) \
25742 $(POSTSTAGE1_HOST_EXPORTS) \
25743 cd $(HOST_SUBDIR)/zlib && \
25744 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25745 $(TARGET-stage3-zlib)
25747 maybe-clean-stage3-zlib: clean-stage3-zlib
25748 clean-stage3: clean-stage3-zlib
25749 clean-stage3-zlib:
25750 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage3-zlib/Makefile ] \
25751 || exit 0 ; \
25752 @[ `cat stage_current` = stage3 ] || $(MAKE) stage3-start
25753 cd $(HOST_SUBDIR)/zlib && \
25754 $(MAKE) $(FLAGS_TO_PASS) \
25755 $(POSTSTAGE1_FLAGS_TO_PASS) \
25756 clean
25757 @endif zlib-bootstrap
25760 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
25761 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
25762 maybe-all-stage4-zlib:
25763 maybe-clean-stage4-zlib:
25764 @if zlib-bootstrap
25765 maybe-all-stage4-zlib: all-stage4-zlib
25766 all-stage4: all-stage4-zlib
25767 TARGET-stage4-zlib = $(TARGET-zlib)
25768 all-stage4-zlib: configure-stage4-zlib
25769 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25770 @r=`${PWD_COMMAND}`; export r; \
25771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25772 $(HOST_EXPORTS) \
25773 $(POSTSTAGE1_HOST_EXPORTS) \
25774 cd $(HOST_SUBDIR)/zlib && \
25775 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) \
25776 $(TARGET-stage4-zlib)
25778 maybe-clean-stage4-zlib: clean-stage4-zlib
25779 clean-stage4: clean-stage4-zlib
25780 clean-stage4-zlib:
25781 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stage4-zlib/Makefile ] \
25782 || exit 0 ; \
25783 @[ `cat stage_current` = stage4 ] || $(MAKE) stage4-start
25784 cd $(HOST_SUBDIR)/zlib && \
25785 $(MAKE) $(FLAGS_TO_PASS) \
25786 $(POSTSTAGE1_FLAGS_TO_PASS) \
25787 clean
25788 @endif zlib-bootstrap
25791 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
25792 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
25793 maybe-all-stageprofile-zlib:
25794 maybe-clean-stageprofile-zlib:
25795 @if zlib-bootstrap
25796 maybe-all-stageprofile-zlib: all-stageprofile-zlib
25797 all-stageprofile: all-stageprofile-zlib
25798 TARGET-stageprofile-zlib = $(TARGET-zlib)
25799 all-stageprofile-zlib: configure-stageprofile-zlib
25800 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25801 @r=`${PWD_COMMAND}`; export r; \
25802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25803 $(HOST_EXPORTS) \
25804 $(POSTSTAGE1_HOST_EXPORTS) \
25805 cd $(HOST_SUBDIR)/zlib && \
25806 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" \
25807 $(TARGET-stageprofile-zlib)
25809 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
25810 clean-stageprofile: clean-stageprofile-zlib
25811 clean-stageprofile-zlib:
25812 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stageprofile-zlib/Makefile ] \
25813 || exit 0 ; \
25814 @[ `cat stage_current` = stageprofile ] || $(MAKE) stageprofile-start
25815 cd $(HOST_SUBDIR)/zlib && \
25816 $(MAKE) $(FLAGS_TO_PASS) \
25817 $(POSTSTAGE1_FLAGS_TO_PASS) \
25818 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
25819 @endif zlib-bootstrap
25822 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
25823 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
25824 maybe-all-stagefeedback-zlib:
25825 maybe-clean-stagefeedback-zlib:
25826 @if zlib-bootstrap
25827 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
25828 all-stagefeedback: all-stagefeedback-zlib
25829 TARGET-stagefeedback-zlib = $(TARGET-zlib)
25830 all-stagefeedback-zlib: configure-stagefeedback-zlib
25831 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25832 @r=`${PWD_COMMAND}`; export r; \
25833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25834 $(HOST_EXPORTS) \
25835 $(POSTSTAGE1_HOST_EXPORTS) \
25836 cd $(HOST_SUBDIR)/zlib && \
25837 $(MAKE) $(FLAGS_TO_PASS) $(POSTSTAGE1_FLAGS_TO_PASS) CFLAGS="$(BOOT_CFLAGS) -fprofile-use" \
25838 $(TARGET-stagefeedback-zlib)
25840 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
25841 clean-stagefeedback: clean-stagefeedback-zlib
25842 clean-stagefeedback-zlib:
25843 @[ -f $(HOST_SUBDIR)/zlib/Makefile ] || [ -f $(HOST_SUBDIR)/stagefeedback-zlib/Makefile ] \
25844 || exit 0 ; \
25845 @[ `cat stage_current` = stagefeedback ] || $(MAKE) stagefeedback-start
25846 cd $(HOST_SUBDIR)/zlib && \
25847 $(MAKE) $(FLAGS_TO_PASS) \
25848 $(POSTSTAGE1_FLAGS_TO_PASS) \
25849 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
25850 @endif zlib-bootstrap
25856 .PHONY: check-zlib maybe-check-zlib
25857 maybe-check-zlib:
25858 @if zlib
25859 maybe-check-zlib: check-zlib
25861 check-zlib:
25863 @endif zlib
25865 .PHONY: install-zlib maybe-install-zlib
25866 maybe-install-zlib:
25867 @if zlib
25868 maybe-install-zlib: install-zlib
25870 install-zlib:
25872 @endif zlib
25874 # Other targets (info, dvi, etc.)
25876 .PHONY: maybe-info-zlib info-zlib
25877 maybe-info-zlib:
25878 @if zlib
25879 maybe-info-zlib: info-zlib
25881 info-zlib: \
25882 configure-zlib
25883 @[ -f ./zlib/Makefile ] || exit 0; \
25884 r=`${PWD_COMMAND}`; export r; \
25885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25886 $(HOST_EXPORTS) \
25887 for flag in $(EXTRA_HOST_FLAGS) ; do \
25888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25889 done; \
25890 echo "Doing info in zlib" ; \
25891 (cd $(HOST_SUBDIR)/zlib && \
25892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25894 "RANLIB=$${RANLIB}" \
25895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25896 info) \
25897 || exit 1
25899 @endif zlib
25901 .PHONY: maybe-dvi-zlib dvi-zlib
25902 maybe-dvi-zlib:
25903 @if zlib
25904 maybe-dvi-zlib: dvi-zlib
25906 dvi-zlib: \
25907 configure-zlib
25908 @[ -f ./zlib/Makefile ] || exit 0; \
25909 r=`${PWD_COMMAND}`; export r; \
25910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25911 $(HOST_EXPORTS) \
25912 for flag in $(EXTRA_HOST_FLAGS) ; do \
25913 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25914 done; \
25915 echo "Doing dvi in zlib" ; \
25916 (cd $(HOST_SUBDIR)/zlib && \
25917 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25918 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25919 "RANLIB=$${RANLIB}" \
25920 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25921 dvi) \
25922 || exit 1
25924 @endif zlib
25926 .PHONY: maybe-html-zlib html-zlib
25927 maybe-html-zlib:
25928 @if zlib
25929 maybe-html-zlib: html-zlib
25931 html-zlib: \
25932 configure-zlib
25933 @[ -f ./zlib/Makefile ] || exit 0; \
25934 r=`${PWD_COMMAND}`; export r; \
25935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25936 $(HOST_EXPORTS) \
25937 for flag in $(EXTRA_HOST_FLAGS) ; do \
25938 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25939 done; \
25940 echo "Doing html in zlib" ; \
25941 (cd $(HOST_SUBDIR)/zlib && \
25942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25944 "RANLIB=$${RANLIB}" \
25945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25946 html) \
25947 || exit 1
25949 @endif zlib
25951 .PHONY: maybe-TAGS-zlib TAGS-zlib
25952 maybe-TAGS-zlib:
25953 @if zlib
25954 maybe-TAGS-zlib: TAGS-zlib
25956 TAGS-zlib: \
25957 configure-zlib
25958 @[ -f ./zlib/Makefile ] || exit 0; \
25959 r=`${PWD_COMMAND}`; export r; \
25960 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25961 $(HOST_EXPORTS) \
25962 for flag in $(EXTRA_HOST_FLAGS) ; do \
25963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25964 done; \
25965 echo "Doing TAGS in zlib" ; \
25966 (cd $(HOST_SUBDIR)/zlib && \
25967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25969 "RANLIB=$${RANLIB}" \
25970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25971 TAGS) \
25972 || exit 1
25974 @endif zlib
25976 .PHONY: maybe-install-info-zlib install-info-zlib
25977 maybe-install-info-zlib:
25978 @if zlib
25979 maybe-install-info-zlib: install-info-zlib
25981 install-info-zlib: \
25982 configure-zlib \
25983 info-zlib
25984 @[ -f ./zlib/Makefile ] || exit 0; \
25985 r=`${PWD_COMMAND}`; export r; \
25986 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25987 $(HOST_EXPORTS) \
25988 for flag in $(EXTRA_HOST_FLAGS) ; do \
25989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25990 done; \
25991 echo "Doing install-info in zlib" ; \
25992 (cd $(HOST_SUBDIR)/zlib && \
25993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25995 "RANLIB=$${RANLIB}" \
25996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25997 install-info) \
25998 || exit 1
26000 @endif zlib
26002 .PHONY: maybe-installcheck-zlib installcheck-zlib
26003 maybe-installcheck-zlib:
26004 @if zlib
26005 maybe-installcheck-zlib: installcheck-zlib
26007 installcheck-zlib: \
26008 configure-zlib
26009 @[ -f ./zlib/Makefile ] || exit 0; \
26010 r=`${PWD_COMMAND}`; export r; \
26011 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26012 $(HOST_EXPORTS) \
26013 for flag in $(EXTRA_HOST_FLAGS) ; do \
26014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26015 done; \
26016 echo "Doing installcheck in zlib" ; \
26017 (cd $(HOST_SUBDIR)/zlib && \
26018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26020 "RANLIB=$${RANLIB}" \
26021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26022 installcheck) \
26023 || exit 1
26025 @endif zlib
26027 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
26028 maybe-mostlyclean-zlib:
26029 @if zlib
26030 maybe-mostlyclean-zlib: mostlyclean-zlib
26032 mostlyclean-zlib:
26033 @[ -f ./zlib/Makefile ] || exit 0; \
26034 r=`${PWD_COMMAND}`; export r; \
26035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26036 $(HOST_EXPORTS) \
26037 for flag in $(EXTRA_HOST_FLAGS) ; do \
26038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26039 done; \
26040 echo "Doing mostlyclean in zlib" ; \
26041 (cd $(HOST_SUBDIR)/zlib && \
26042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26044 "RANLIB=$${RANLIB}" \
26045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26046 mostlyclean) \
26047 || exit 1
26049 @endif zlib
26051 .PHONY: maybe-clean-zlib clean-zlib
26052 maybe-clean-zlib:
26053 @if zlib
26054 maybe-clean-zlib: clean-zlib
26056 clean-zlib:
26057 @[ -f ./zlib/Makefile ] || exit 0; \
26058 r=`${PWD_COMMAND}`; export r; \
26059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26060 $(HOST_EXPORTS) \
26061 for flag in $(EXTRA_HOST_FLAGS) ; do \
26062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26063 done; \
26064 echo "Doing clean in zlib" ; \
26065 (cd $(HOST_SUBDIR)/zlib && \
26066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26068 "RANLIB=$${RANLIB}" \
26069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26070 clean) \
26071 || exit 1
26073 @endif zlib
26075 .PHONY: maybe-distclean-zlib distclean-zlib
26076 maybe-distclean-zlib:
26077 @if zlib
26078 maybe-distclean-zlib: distclean-zlib
26080 distclean-zlib:
26081 @[ -f ./zlib/Makefile ] || exit 0; \
26082 r=`${PWD_COMMAND}`; export r; \
26083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26084 $(HOST_EXPORTS) \
26085 for flag in $(EXTRA_HOST_FLAGS) ; do \
26086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26087 done; \
26088 echo "Doing distclean in zlib" ; \
26089 (cd $(HOST_SUBDIR)/zlib && \
26090 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26091 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26092 "RANLIB=$${RANLIB}" \
26093 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26094 distclean) \
26095 || exit 1
26097 @endif zlib
26099 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
26100 maybe-maintainer-clean-zlib:
26101 @if zlib
26102 maybe-maintainer-clean-zlib: maintainer-clean-zlib
26104 maintainer-clean-zlib:
26105 @[ -f ./zlib/Makefile ] || exit 0; \
26106 r=`${PWD_COMMAND}`; export r; \
26107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26108 $(HOST_EXPORTS) \
26109 for flag in $(EXTRA_HOST_FLAGS) ; do \
26110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26111 done; \
26112 echo "Doing maintainer-clean in zlib" ; \
26113 (cd $(HOST_SUBDIR)/zlib && \
26114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26116 "RANLIB=$${RANLIB}" \
26117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26118 maintainer-clean) \
26119 || exit 1
26121 @endif zlib
26125 .PHONY: configure-gdb maybe-configure-gdb
26126 maybe-configure-gdb:
26127 @if gdb
26128 maybe-configure-gdb: configure-gdb
26129 configure-gdb:
26130 @$(unstage)
26131 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
26132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
26133 r=`${PWD_COMMAND}`; export r; \
26134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26135 $(HOST_EXPORTS) \
26136 echo Configuring in $(HOST_SUBDIR)/gdb; \
26137 cd "$(HOST_SUBDIR)/gdb" || exit 1; \
26138 case $(srcdir) in \
26139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26140 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
26141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26142 esac; \
26143 srcdiroption="--srcdir=$${topdir}/gdb"; \
26144 libsrcdir="$$s/gdb"; \
26145 $(SHELL) $${libsrcdir}/configure \
26146 $(HOST_CONFIGARGS) $${srcdiroption} \
26147 || exit 1
26148 @endif gdb
26154 .PHONY: all-gdb maybe-all-gdb
26155 maybe-all-gdb:
26156 @if gdb
26157 TARGET-gdb=all
26158 maybe-all-gdb: all-gdb
26159 all-gdb: configure-gdb
26160 @$(unstage)
26161 @r=`${PWD_COMMAND}`; export r; \
26162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26163 $(HOST_EXPORTS) \
26164 (cd $(HOST_SUBDIR)/gdb && \
26165 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
26166 @endif gdb
26171 .PHONY: check-gdb maybe-check-gdb
26172 maybe-check-gdb:
26173 @if gdb
26174 maybe-check-gdb: check-gdb
26176 check-gdb:
26177 @$(unstage)
26178 @r=`${PWD_COMMAND}`; export r; \
26179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26180 $(HOST_EXPORTS) \
26181 (cd $(HOST_SUBDIR)/gdb && \
26182 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26184 @endif gdb
26186 .PHONY: install-gdb maybe-install-gdb
26187 maybe-install-gdb:
26188 @if gdb
26189 maybe-install-gdb: install-gdb
26191 install-gdb: installdirs
26192 @$(unstage)
26193 @r=`${PWD_COMMAND}`; export r; \
26194 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26195 $(HOST_EXPORTS) \
26196 (cd $(HOST_SUBDIR)/gdb && \
26197 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26199 @endif gdb
26201 # Other targets (info, dvi, etc.)
26203 .PHONY: maybe-info-gdb info-gdb
26204 maybe-info-gdb:
26205 @if gdb
26206 maybe-info-gdb: info-gdb
26208 info-gdb: \
26209 configure-gdb
26210 @$(unstage)
26211 @[ -f ./gdb/Makefile ] || exit 0; \
26212 r=`${PWD_COMMAND}`; export r; \
26213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26214 $(HOST_EXPORTS) \
26215 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26217 done; \
26218 echo "Doing info in gdb" ; \
26219 (cd $(HOST_SUBDIR)/gdb && \
26220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26222 "RANLIB=$${RANLIB}" \
26223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26224 info) \
26225 || exit 1
26227 @endif gdb
26229 .PHONY: maybe-dvi-gdb dvi-gdb
26230 maybe-dvi-gdb:
26231 @if gdb
26232 maybe-dvi-gdb: dvi-gdb
26234 dvi-gdb: \
26235 configure-gdb
26236 @$(unstage)
26237 @[ -f ./gdb/Makefile ] || exit 0; \
26238 r=`${PWD_COMMAND}`; export r; \
26239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26240 $(HOST_EXPORTS) \
26241 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26243 done; \
26244 echo "Doing dvi in gdb" ; \
26245 (cd $(HOST_SUBDIR)/gdb && \
26246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26248 "RANLIB=$${RANLIB}" \
26249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26250 dvi) \
26251 || exit 1
26253 @endif gdb
26255 .PHONY: maybe-html-gdb html-gdb
26256 maybe-html-gdb:
26257 @if gdb
26258 maybe-html-gdb: html-gdb
26260 html-gdb: \
26261 configure-gdb
26262 @$(unstage)
26263 @[ -f ./gdb/Makefile ] || exit 0; \
26264 r=`${PWD_COMMAND}`; export r; \
26265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26266 $(HOST_EXPORTS) \
26267 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26268 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26269 done; \
26270 echo "Doing html in gdb" ; \
26271 (cd $(HOST_SUBDIR)/gdb && \
26272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26274 "RANLIB=$${RANLIB}" \
26275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26276 html) \
26277 || exit 1
26279 @endif gdb
26281 .PHONY: maybe-TAGS-gdb TAGS-gdb
26282 maybe-TAGS-gdb:
26283 @if gdb
26284 maybe-TAGS-gdb: TAGS-gdb
26286 TAGS-gdb: \
26287 configure-gdb
26288 @$(unstage)
26289 @[ -f ./gdb/Makefile ] || exit 0; \
26290 r=`${PWD_COMMAND}`; export r; \
26291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26292 $(HOST_EXPORTS) \
26293 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26295 done; \
26296 echo "Doing TAGS in gdb" ; \
26297 (cd $(HOST_SUBDIR)/gdb && \
26298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26300 "RANLIB=$${RANLIB}" \
26301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26302 TAGS) \
26303 || exit 1
26305 @endif gdb
26307 .PHONY: maybe-install-info-gdb install-info-gdb
26308 maybe-install-info-gdb:
26309 @if gdb
26310 maybe-install-info-gdb: install-info-gdb
26312 install-info-gdb: \
26313 configure-gdb \
26314 info-gdb
26315 @$(unstage)
26316 @[ -f ./gdb/Makefile ] || exit 0; \
26317 r=`${PWD_COMMAND}`; export r; \
26318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26319 $(HOST_EXPORTS) \
26320 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26322 done; \
26323 echo "Doing install-info in gdb" ; \
26324 (cd $(HOST_SUBDIR)/gdb && \
26325 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26326 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26327 "RANLIB=$${RANLIB}" \
26328 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26329 install-info) \
26330 || exit 1
26332 @endif gdb
26334 .PHONY: maybe-installcheck-gdb installcheck-gdb
26335 maybe-installcheck-gdb:
26336 @if gdb
26337 maybe-installcheck-gdb: installcheck-gdb
26339 installcheck-gdb: \
26340 configure-gdb
26341 @$(unstage)
26342 @[ -f ./gdb/Makefile ] || exit 0; \
26343 r=`${PWD_COMMAND}`; export r; \
26344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26345 $(HOST_EXPORTS) \
26346 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26348 done; \
26349 echo "Doing installcheck in gdb" ; \
26350 (cd $(HOST_SUBDIR)/gdb && \
26351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26353 "RANLIB=$${RANLIB}" \
26354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26355 installcheck) \
26356 || exit 1
26358 @endif gdb
26360 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
26361 maybe-mostlyclean-gdb:
26362 @if gdb
26363 maybe-mostlyclean-gdb: mostlyclean-gdb
26365 mostlyclean-gdb:
26366 @$(unstage)
26367 @[ -f ./gdb/Makefile ] || exit 0; \
26368 r=`${PWD_COMMAND}`; export r; \
26369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26370 $(HOST_EXPORTS) \
26371 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26373 done; \
26374 echo "Doing mostlyclean in gdb" ; \
26375 (cd $(HOST_SUBDIR)/gdb && \
26376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26378 "RANLIB=$${RANLIB}" \
26379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26380 mostlyclean) \
26381 || exit 1
26383 @endif gdb
26385 .PHONY: maybe-clean-gdb clean-gdb
26386 maybe-clean-gdb:
26387 @if gdb
26388 maybe-clean-gdb: clean-gdb
26390 clean-gdb:
26391 @$(unstage)
26392 @[ -f ./gdb/Makefile ] || exit 0; \
26393 r=`${PWD_COMMAND}`; export r; \
26394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26395 $(HOST_EXPORTS) \
26396 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26398 done; \
26399 echo "Doing clean in gdb" ; \
26400 (cd $(HOST_SUBDIR)/gdb && \
26401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26403 "RANLIB=$${RANLIB}" \
26404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26405 clean) \
26406 || exit 1
26408 @endif gdb
26410 .PHONY: maybe-distclean-gdb distclean-gdb
26411 maybe-distclean-gdb:
26412 @if gdb
26413 maybe-distclean-gdb: distclean-gdb
26415 distclean-gdb:
26416 @$(unstage)
26417 @[ -f ./gdb/Makefile ] || exit 0; \
26418 r=`${PWD_COMMAND}`; export r; \
26419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26420 $(HOST_EXPORTS) \
26421 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26423 done; \
26424 echo "Doing distclean in gdb" ; \
26425 (cd $(HOST_SUBDIR)/gdb && \
26426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26428 "RANLIB=$${RANLIB}" \
26429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26430 distclean) \
26431 || exit 1
26433 @endif gdb
26435 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
26436 maybe-maintainer-clean-gdb:
26437 @if gdb
26438 maybe-maintainer-clean-gdb: maintainer-clean-gdb
26440 maintainer-clean-gdb:
26441 @$(unstage)
26442 @[ -f ./gdb/Makefile ] || exit 0; \
26443 r=`${PWD_COMMAND}`; export r; \
26444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26445 $(HOST_EXPORTS) \
26446 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26448 done; \
26449 echo "Doing maintainer-clean in gdb" ; \
26450 (cd $(HOST_SUBDIR)/gdb && \
26451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26453 "RANLIB=$${RANLIB}" \
26454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26455 maintainer-clean) \
26456 || exit 1
26458 @endif gdb
26462 .PHONY: configure-expect maybe-configure-expect
26463 maybe-configure-expect:
26464 @if expect
26465 maybe-configure-expect: configure-expect
26466 configure-expect:
26467 @$(unstage)
26468 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
26469 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
26470 r=`${PWD_COMMAND}`; export r; \
26471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26472 $(HOST_EXPORTS) \
26473 echo Configuring in $(HOST_SUBDIR)/expect; \
26474 cd "$(HOST_SUBDIR)/expect" || exit 1; \
26475 case $(srcdir) in \
26476 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26477 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
26478 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26479 esac; \
26480 srcdiroption="--srcdir=$${topdir}/expect"; \
26481 libsrcdir="$$s/expect"; \
26482 $(SHELL) $${libsrcdir}/configure \
26483 $(HOST_CONFIGARGS) $${srcdiroption} \
26484 || exit 1
26485 @endif expect
26491 .PHONY: all-expect maybe-all-expect
26492 maybe-all-expect:
26493 @if expect
26494 TARGET-expect=all
26495 maybe-all-expect: all-expect
26496 all-expect: configure-expect
26497 @$(unstage)
26498 @r=`${PWD_COMMAND}`; export r; \
26499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26500 $(HOST_EXPORTS) \
26501 (cd $(HOST_SUBDIR)/expect && \
26502 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
26503 @endif expect
26508 .PHONY: check-expect maybe-check-expect
26509 maybe-check-expect:
26510 @if expect
26511 maybe-check-expect: check-expect
26513 check-expect:
26514 @$(unstage)
26515 @r=`${PWD_COMMAND}`; export r; \
26516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26517 $(HOST_EXPORTS) \
26518 (cd $(HOST_SUBDIR)/expect && \
26519 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26521 @endif expect
26523 .PHONY: install-expect maybe-install-expect
26524 maybe-install-expect:
26525 @if expect
26526 maybe-install-expect: install-expect
26528 install-expect: installdirs
26529 @$(unstage)
26530 @r=`${PWD_COMMAND}`; export r; \
26531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26532 $(HOST_EXPORTS) \
26533 (cd $(HOST_SUBDIR)/expect && \
26534 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26536 @endif expect
26538 # Other targets (info, dvi, etc.)
26540 .PHONY: maybe-info-expect info-expect
26541 maybe-info-expect:
26542 @if expect
26543 maybe-info-expect: info-expect
26545 info-expect: \
26546 configure-expect
26547 @$(unstage)
26548 @[ -f ./expect/Makefile ] || exit 0; \
26549 r=`${PWD_COMMAND}`; export r; \
26550 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26551 $(HOST_EXPORTS) \
26552 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26554 done; \
26555 echo "Doing info in expect" ; \
26556 (cd $(HOST_SUBDIR)/expect && \
26557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26559 "RANLIB=$${RANLIB}" \
26560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26561 info) \
26562 || exit 1
26564 @endif expect
26566 .PHONY: maybe-dvi-expect dvi-expect
26567 maybe-dvi-expect:
26568 @if expect
26569 maybe-dvi-expect: dvi-expect
26571 dvi-expect: \
26572 configure-expect
26573 @$(unstage)
26574 @[ -f ./expect/Makefile ] || exit 0; \
26575 r=`${PWD_COMMAND}`; export r; \
26576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26577 $(HOST_EXPORTS) \
26578 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26580 done; \
26581 echo "Doing dvi in expect" ; \
26582 (cd $(HOST_SUBDIR)/expect && \
26583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26585 "RANLIB=$${RANLIB}" \
26586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26587 dvi) \
26588 || exit 1
26590 @endif expect
26592 .PHONY: maybe-html-expect html-expect
26593 maybe-html-expect:
26594 @if expect
26595 maybe-html-expect: html-expect
26597 html-expect: \
26598 configure-expect
26599 @$(unstage)
26600 @[ -f ./expect/Makefile ] || exit 0; \
26601 r=`${PWD_COMMAND}`; export r; \
26602 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26603 $(HOST_EXPORTS) \
26604 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26606 done; \
26607 echo "Doing html in expect" ; \
26608 (cd $(HOST_SUBDIR)/expect && \
26609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26611 "RANLIB=$${RANLIB}" \
26612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26613 html) \
26614 || exit 1
26616 @endif expect
26618 .PHONY: maybe-TAGS-expect TAGS-expect
26619 maybe-TAGS-expect:
26620 @if expect
26621 maybe-TAGS-expect: TAGS-expect
26623 TAGS-expect: \
26624 configure-expect
26625 @$(unstage)
26626 @[ -f ./expect/Makefile ] || exit 0; \
26627 r=`${PWD_COMMAND}`; export r; \
26628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26629 $(HOST_EXPORTS) \
26630 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26632 done; \
26633 echo "Doing TAGS in expect" ; \
26634 (cd $(HOST_SUBDIR)/expect && \
26635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26637 "RANLIB=$${RANLIB}" \
26638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26639 TAGS) \
26640 || exit 1
26642 @endif expect
26644 .PHONY: maybe-install-info-expect install-info-expect
26645 maybe-install-info-expect:
26646 @if expect
26647 maybe-install-info-expect: install-info-expect
26649 install-info-expect: \
26650 configure-expect \
26651 info-expect
26652 @$(unstage)
26653 @[ -f ./expect/Makefile ] || exit 0; \
26654 r=`${PWD_COMMAND}`; export r; \
26655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26656 $(HOST_EXPORTS) \
26657 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26659 done; \
26660 echo "Doing install-info in expect" ; \
26661 (cd $(HOST_SUBDIR)/expect && \
26662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26664 "RANLIB=$${RANLIB}" \
26665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26666 install-info) \
26667 || exit 1
26669 @endif expect
26671 .PHONY: maybe-installcheck-expect installcheck-expect
26672 maybe-installcheck-expect:
26673 @if expect
26674 maybe-installcheck-expect: installcheck-expect
26676 installcheck-expect: \
26677 configure-expect
26678 @$(unstage)
26679 @[ -f ./expect/Makefile ] || exit 0; \
26680 r=`${PWD_COMMAND}`; export r; \
26681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26682 $(HOST_EXPORTS) \
26683 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26685 done; \
26686 echo "Doing installcheck in expect" ; \
26687 (cd $(HOST_SUBDIR)/expect && \
26688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26690 "RANLIB=$${RANLIB}" \
26691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26692 installcheck) \
26693 || exit 1
26695 @endif expect
26697 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
26698 maybe-mostlyclean-expect:
26699 @if expect
26700 maybe-mostlyclean-expect: mostlyclean-expect
26702 mostlyclean-expect:
26703 @$(unstage)
26704 @[ -f ./expect/Makefile ] || exit 0; \
26705 r=`${PWD_COMMAND}`; export r; \
26706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26707 $(HOST_EXPORTS) \
26708 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26710 done; \
26711 echo "Doing mostlyclean in expect" ; \
26712 (cd $(HOST_SUBDIR)/expect && \
26713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26715 "RANLIB=$${RANLIB}" \
26716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26717 mostlyclean) \
26718 || exit 1
26720 @endif expect
26722 .PHONY: maybe-clean-expect clean-expect
26723 maybe-clean-expect:
26724 @if expect
26725 maybe-clean-expect: clean-expect
26727 clean-expect:
26728 @$(unstage)
26729 @[ -f ./expect/Makefile ] || exit 0; \
26730 r=`${PWD_COMMAND}`; export r; \
26731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26732 $(HOST_EXPORTS) \
26733 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26735 done; \
26736 echo "Doing clean in expect" ; \
26737 (cd $(HOST_SUBDIR)/expect && \
26738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26740 "RANLIB=$${RANLIB}" \
26741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26742 clean) \
26743 || exit 1
26745 @endif expect
26747 .PHONY: maybe-distclean-expect distclean-expect
26748 maybe-distclean-expect:
26749 @if expect
26750 maybe-distclean-expect: distclean-expect
26752 distclean-expect:
26753 @$(unstage)
26754 @[ -f ./expect/Makefile ] || exit 0; \
26755 r=`${PWD_COMMAND}`; export r; \
26756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26757 $(HOST_EXPORTS) \
26758 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26760 done; \
26761 echo "Doing distclean in expect" ; \
26762 (cd $(HOST_SUBDIR)/expect && \
26763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26765 "RANLIB=$${RANLIB}" \
26766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26767 distclean) \
26768 || exit 1
26770 @endif expect
26772 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
26773 maybe-maintainer-clean-expect:
26774 @if expect
26775 maybe-maintainer-clean-expect: maintainer-clean-expect
26777 maintainer-clean-expect:
26778 @$(unstage)
26779 @[ -f ./expect/Makefile ] || exit 0; \
26780 r=`${PWD_COMMAND}`; export r; \
26781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26782 $(HOST_EXPORTS) \
26783 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26785 done; \
26786 echo "Doing maintainer-clean in expect" ; \
26787 (cd $(HOST_SUBDIR)/expect && \
26788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26790 "RANLIB=$${RANLIB}" \
26791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26792 maintainer-clean) \
26793 || exit 1
26795 @endif expect
26799 .PHONY: configure-guile maybe-configure-guile
26800 maybe-configure-guile:
26801 @if guile
26802 maybe-configure-guile: configure-guile
26803 configure-guile:
26804 @$(unstage)
26805 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
26806 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
26807 r=`${PWD_COMMAND}`; export r; \
26808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26809 $(HOST_EXPORTS) \
26810 echo Configuring in $(HOST_SUBDIR)/guile; \
26811 cd "$(HOST_SUBDIR)/guile" || exit 1; \
26812 case $(srcdir) in \
26813 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26814 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
26815 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26816 esac; \
26817 srcdiroption="--srcdir=$${topdir}/guile"; \
26818 libsrcdir="$$s/guile"; \
26819 $(SHELL) $${libsrcdir}/configure \
26820 $(HOST_CONFIGARGS) $${srcdiroption} \
26821 || exit 1
26822 @endif guile
26828 .PHONY: all-guile maybe-all-guile
26829 maybe-all-guile:
26830 @if guile
26831 TARGET-guile=all
26832 maybe-all-guile: all-guile
26833 all-guile: configure-guile
26834 @$(unstage)
26835 @r=`${PWD_COMMAND}`; export r; \
26836 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26837 $(HOST_EXPORTS) \
26838 (cd $(HOST_SUBDIR)/guile && \
26839 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
26840 @endif guile
26845 .PHONY: check-guile maybe-check-guile
26846 maybe-check-guile:
26847 @if guile
26848 maybe-check-guile: check-guile
26850 check-guile:
26851 @$(unstage)
26852 @r=`${PWD_COMMAND}`; export r; \
26853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26854 $(HOST_EXPORTS) \
26855 (cd $(HOST_SUBDIR)/guile && \
26856 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
26858 @endif guile
26860 .PHONY: install-guile maybe-install-guile
26861 maybe-install-guile:
26862 @if guile
26863 maybe-install-guile: install-guile
26865 install-guile: installdirs
26866 @$(unstage)
26867 @r=`${PWD_COMMAND}`; export r; \
26868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26869 $(HOST_EXPORTS) \
26870 (cd $(HOST_SUBDIR)/guile && \
26871 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
26873 @endif guile
26875 # Other targets (info, dvi, etc.)
26877 .PHONY: maybe-info-guile info-guile
26878 maybe-info-guile:
26879 @if guile
26880 maybe-info-guile: info-guile
26882 info-guile: \
26883 configure-guile
26884 @$(unstage)
26885 @[ -f ./guile/Makefile ] || exit 0; \
26886 r=`${PWD_COMMAND}`; export r; \
26887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26888 $(HOST_EXPORTS) \
26889 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26891 done; \
26892 echo "Doing info in guile" ; \
26893 (cd $(HOST_SUBDIR)/guile && \
26894 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26895 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26896 "RANLIB=$${RANLIB}" \
26897 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26898 info) \
26899 || exit 1
26901 @endif guile
26903 .PHONY: maybe-dvi-guile dvi-guile
26904 maybe-dvi-guile:
26905 @if guile
26906 maybe-dvi-guile: dvi-guile
26908 dvi-guile: \
26909 configure-guile
26910 @$(unstage)
26911 @[ -f ./guile/Makefile ] || exit 0; \
26912 r=`${PWD_COMMAND}`; export r; \
26913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26914 $(HOST_EXPORTS) \
26915 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26916 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26917 done; \
26918 echo "Doing dvi in guile" ; \
26919 (cd $(HOST_SUBDIR)/guile && \
26920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26922 "RANLIB=$${RANLIB}" \
26923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26924 dvi) \
26925 || exit 1
26927 @endif guile
26929 .PHONY: maybe-html-guile html-guile
26930 maybe-html-guile:
26931 @if guile
26932 maybe-html-guile: html-guile
26934 html-guile: \
26935 configure-guile
26936 @$(unstage)
26937 @[ -f ./guile/Makefile ] || exit 0; \
26938 r=`${PWD_COMMAND}`; export r; \
26939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26940 $(HOST_EXPORTS) \
26941 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26943 done; \
26944 echo "Doing html in guile" ; \
26945 (cd $(HOST_SUBDIR)/guile && \
26946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26948 "RANLIB=$${RANLIB}" \
26949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26950 html) \
26951 || exit 1
26953 @endif guile
26955 .PHONY: maybe-TAGS-guile TAGS-guile
26956 maybe-TAGS-guile:
26957 @if guile
26958 maybe-TAGS-guile: TAGS-guile
26960 TAGS-guile: \
26961 configure-guile
26962 @$(unstage)
26963 @[ -f ./guile/Makefile ] || exit 0; \
26964 r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(HOST_EXPORTS) \
26967 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26969 done; \
26970 echo "Doing TAGS in guile" ; \
26971 (cd $(HOST_SUBDIR)/guile && \
26972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26974 "RANLIB=$${RANLIB}" \
26975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26976 TAGS) \
26977 || exit 1
26979 @endif guile
26981 .PHONY: maybe-install-info-guile install-info-guile
26982 maybe-install-info-guile:
26983 @if guile
26984 maybe-install-info-guile: install-info-guile
26986 install-info-guile: \
26987 configure-guile \
26988 info-guile
26989 @$(unstage)
26990 @[ -f ./guile/Makefile ] || exit 0; \
26991 r=`${PWD_COMMAND}`; export r; \
26992 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26993 $(HOST_EXPORTS) \
26994 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
26995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26996 done; \
26997 echo "Doing install-info in guile" ; \
26998 (cd $(HOST_SUBDIR)/guile && \
26999 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27000 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27001 "RANLIB=$${RANLIB}" \
27002 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27003 install-info) \
27004 || exit 1
27006 @endif guile
27008 .PHONY: maybe-installcheck-guile installcheck-guile
27009 maybe-installcheck-guile:
27010 @if guile
27011 maybe-installcheck-guile: installcheck-guile
27013 installcheck-guile: \
27014 configure-guile
27015 @$(unstage)
27016 @[ -f ./guile/Makefile ] || exit 0; \
27017 r=`${PWD_COMMAND}`; export r; \
27018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27019 $(HOST_EXPORTS) \
27020 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27021 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27022 done; \
27023 echo "Doing installcheck in guile" ; \
27024 (cd $(HOST_SUBDIR)/guile && \
27025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27027 "RANLIB=$${RANLIB}" \
27028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27029 installcheck) \
27030 || exit 1
27032 @endif guile
27034 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
27035 maybe-mostlyclean-guile:
27036 @if guile
27037 maybe-mostlyclean-guile: mostlyclean-guile
27039 mostlyclean-guile:
27040 @$(unstage)
27041 @[ -f ./guile/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 mostlyclean in guile" ; \
27049 (cd $(HOST_SUBDIR)/guile && \
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 mostlyclean) \
27055 || exit 1
27057 @endif guile
27059 .PHONY: maybe-clean-guile clean-guile
27060 maybe-clean-guile:
27061 @if guile
27062 maybe-clean-guile: clean-guile
27064 clean-guile:
27065 @$(unstage)
27066 @[ -f ./guile/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 clean in guile" ; \
27074 (cd $(HOST_SUBDIR)/guile && \
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 clean) \
27080 || exit 1
27082 @endif guile
27084 .PHONY: maybe-distclean-guile distclean-guile
27085 maybe-distclean-guile:
27086 @if guile
27087 maybe-distclean-guile: distclean-guile
27089 distclean-guile:
27090 @$(unstage)
27091 @[ -f ./guile/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 distclean in guile" ; \
27099 (cd $(HOST_SUBDIR)/guile && \
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 distclean) \
27105 || exit 1
27107 @endif guile
27109 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
27110 maybe-maintainer-clean-guile:
27111 @if guile
27112 maybe-maintainer-clean-guile: maintainer-clean-guile
27114 maintainer-clean-guile:
27115 @$(unstage)
27116 @[ -f ./guile/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 maintainer-clean in guile" ; \
27124 (cd $(HOST_SUBDIR)/guile && \
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 maintainer-clean) \
27130 || exit 1
27132 @endif guile
27136 .PHONY: configure-tk maybe-configure-tk
27137 maybe-configure-tk:
27138 @if tk
27139 maybe-configure-tk: configure-tk
27140 configure-tk:
27141 @$(unstage)
27142 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
27143 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
27144 r=`${PWD_COMMAND}`; export r; \
27145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27146 $(HOST_EXPORTS) \
27147 echo Configuring in $(HOST_SUBDIR)/tk; \
27148 cd "$(HOST_SUBDIR)/tk" || exit 1; \
27149 case $(srcdir) in \
27150 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27151 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
27152 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27153 esac; \
27154 srcdiroption="--srcdir=$${topdir}/tk"; \
27155 libsrcdir="$$s/tk"; \
27156 $(SHELL) $${libsrcdir}/configure \
27157 $(HOST_CONFIGARGS) $${srcdiroption} \
27158 || exit 1
27159 @endif tk
27165 .PHONY: all-tk maybe-all-tk
27166 maybe-all-tk:
27167 @if tk
27168 TARGET-tk=all
27169 maybe-all-tk: all-tk
27170 all-tk: configure-tk
27171 @$(unstage)
27172 @r=`${PWD_COMMAND}`; export r; \
27173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27174 $(HOST_EXPORTS) \
27175 (cd $(HOST_SUBDIR)/tk && \
27176 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
27177 @endif tk
27182 .PHONY: check-tk maybe-check-tk
27183 maybe-check-tk:
27184 @if tk
27185 maybe-check-tk: check-tk
27187 check-tk:
27188 @$(unstage)
27189 @r=`${PWD_COMMAND}`; export r; \
27190 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27191 $(HOST_EXPORTS) \
27192 (cd $(HOST_SUBDIR)/tk && \
27193 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
27195 @endif tk
27197 .PHONY: install-tk maybe-install-tk
27198 maybe-install-tk:
27199 @if tk
27200 maybe-install-tk: install-tk
27202 install-tk: installdirs
27203 @$(unstage)
27204 @r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(HOST_EXPORTS) \
27207 (cd $(HOST_SUBDIR)/tk && \
27208 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
27210 @endif tk
27212 # Other targets (info, dvi, etc.)
27214 .PHONY: maybe-info-tk info-tk
27215 maybe-info-tk:
27216 @if tk
27217 maybe-info-tk: info-tk
27219 info-tk: \
27220 configure-tk
27221 @$(unstage)
27222 @[ -f ./tk/Makefile ] || exit 0; \
27223 r=`${PWD_COMMAND}`; export r; \
27224 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27225 $(HOST_EXPORTS) \
27226 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27228 done; \
27229 echo "Doing info in tk" ; \
27230 (cd $(HOST_SUBDIR)/tk && \
27231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27233 "RANLIB=$${RANLIB}" \
27234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27235 info) \
27236 || exit 1
27238 @endif tk
27240 .PHONY: maybe-dvi-tk dvi-tk
27241 maybe-dvi-tk:
27242 @if tk
27243 maybe-dvi-tk: dvi-tk
27245 dvi-tk: \
27246 configure-tk
27247 @$(unstage)
27248 @[ -f ./tk/Makefile ] || exit 0; \
27249 r=`${PWD_COMMAND}`; export r; \
27250 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27251 $(HOST_EXPORTS) \
27252 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27254 done; \
27255 echo "Doing dvi in tk" ; \
27256 (cd $(HOST_SUBDIR)/tk && \
27257 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27258 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27259 "RANLIB=$${RANLIB}" \
27260 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27261 dvi) \
27262 || exit 1
27264 @endif tk
27266 .PHONY: maybe-html-tk html-tk
27267 maybe-html-tk:
27268 @if tk
27269 maybe-html-tk: html-tk
27271 html-tk: \
27272 configure-tk
27273 @$(unstage)
27274 @[ -f ./tk/Makefile ] || exit 0; \
27275 r=`${PWD_COMMAND}`; export r; \
27276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27277 $(HOST_EXPORTS) \
27278 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27279 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27280 done; \
27281 echo "Doing html in tk" ; \
27282 (cd $(HOST_SUBDIR)/tk && \
27283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27285 "RANLIB=$${RANLIB}" \
27286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27287 html) \
27288 || exit 1
27290 @endif tk
27292 .PHONY: maybe-TAGS-tk TAGS-tk
27293 maybe-TAGS-tk:
27294 @if tk
27295 maybe-TAGS-tk: TAGS-tk
27297 TAGS-tk: \
27298 configure-tk
27299 @$(unstage)
27300 @[ -f ./tk/Makefile ] || exit 0; \
27301 r=`${PWD_COMMAND}`; export r; \
27302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27303 $(HOST_EXPORTS) \
27304 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27305 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27306 done; \
27307 echo "Doing TAGS in tk" ; \
27308 (cd $(HOST_SUBDIR)/tk && \
27309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27311 "RANLIB=$${RANLIB}" \
27312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27313 TAGS) \
27314 || exit 1
27316 @endif tk
27318 .PHONY: maybe-install-info-tk install-info-tk
27319 maybe-install-info-tk:
27320 @if tk
27321 maybe-install-info-tk: install-info-tk
27323 install-info-tk: \
27324 configure-tk \
27325 info-tk
27326 @$(unstage)
27327 @[ -f ./tk/Makefile ] || exit 0; \
27328 r=`${PWD_COMMAND}`; export r; \
27329 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27330 $(HOST_EXPORTS) \
27331 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27333 done; \
27334 echo "Doing install-info in tk" ; \
27335 (cd $(HOST_SUBDIR)/tk && \
27336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27338 "RANLIB=$${RANLIB}" \
27339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27340 install-info) \
27341 || exit 1
27343 @endif tk
27345 .PHONY: maybe-installcheck-tk installcheck-tk
27346 maybe-installcheck-tk:
27347 @if tk
27348 maybe-installcheck-tk: installcheck-tk
27350 installcheck-tk: \
27351 configure-tk
27352 @$(unstage)
27353 @[ -f ./tk/Makefile ] || exit 0; \
27354 r=`${PWD_COMMAND}`; export r; \
27355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27356 $(HOST_EXPORTS) \
27357 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
27358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27359 done; \
27360 echo "Doing installcheck in tk" ; \
27361 (cd $(HOST_SUBDIR)/tk && \
27362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27364 "RANLIB=$${RANLIB}" \
27365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27366 installcheck) \
27367 || exit 1
27369 @endif tk
27371 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
27372 maybe-mostlyclean-tk:
27373 @if tk
27374 maybe-mostlyclean-tk: mostlyclean-tk
27376 mostlyclean-tk:
27377 @$(unstage)
27378 @[ -f ./tk/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 mostlyclean in tk" ; \
27386 (cd $(HOST_SUBDIR)/tk && \
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 mostlyclean) \
27392 || exit 1
27394 @endif tk
27396 .PHONY: maybe-clean-tk clean-tk
27397 maybe-clean-tk:
27398 @if tk
27399 maybe-clean-tk: clean-tk
27401 clean-tk:
27402 @$(unstage)
27403 @[ -f ./tk/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 clean in tk" ; \
27411 (cd $(HOST_SUBDIR)/tk && \
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 clean) \
27417 || exit 1
27419 @endif tk
27421 .PHONY: maybe-distclean-tk distclean-tk
27422 maybe-distclean-tk:
27423 @if tk
27424 maybe-distclean-tk: distclean-tk
27426 distclean-tk:
27427 @$(unstage)
27428 @[ -f ./tk/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 distclean in tk" ; \
27436 (cd $(HOST_SUBDIR)/tk && \
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 distclean) \
27442 || exit 1
27444 @endif tk
27446 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
27447 maybe-maintainer-clean-tk:
27448 @if tk
27449 maybe-maintainer-clean-tk: maintainer-clean-tk
27451 maintainer-clean-tk:
27452 @$(unstage)
27453 @[ -f ./tk/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 maintainer-clean in tk" ; \
27461 (cd $(HOST_SUBDIR)/tk && \
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 maintainer-clean) \
27467 || exit 1
27469 @endif tk
27473 .PHONY: configure-libtermcap maybe-configure-libtermcap
27474 maybe-configure-libtermcap:
27475 @if libtermcap
27476 maybe-configure-libtermcap: configure-libtermcap
27477 configure-libtermcap:
27478 @$(unstage)
27479 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
27480 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
27481 r=`${PWD_COMMAND}`; export r; \
27482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27483 $(HOST_EXPORTS) \
27484 echo Configuring in $(HOST_SUBDIR)/libtermcap; \
27485 cd "$(HOST_SUBDIR)/libtermcap" || exit 1; \
27486 case $(srcdir) in \
27487 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27488 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
27489 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27490 esac; \
27491 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
27492 libsrcdir="$$s/libtermcap"; \
27493 $(SHELL) $${libsrcdir}/configure \
27494 $(HOST_CONFIGARGS) $${srcdiroption} \
27495 || exit 1
27496 @endif libtermcap
27502 .PHONY: all-libtermcap maybe-all-libtermcap
27503 maybe-all-libtermcap:
27504 @if libtermcap
27505 TARGET-libtermcap=all
27506 maybe-all-libtermcap: all-libtermcap
27507 all-libtermcap: configure-libtermcap
27508 @$(unstage)
27509 @r=`${PWD_COMMAND}`; export r; \
27510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27511 $(HOST_EXPORTS) \
27512 (cd $(HOST_SUBDIR)/libtermcap && \
27513 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
27514 @endif libtermcap
27519 .PHONY: check-libtermcap maybe-check-libtermcap
27520 maybe-check-libtermcap:
27521 @if libtermcap
27522 maybe-check-libtermcap: check-libtermcap
27524 check-libtermcap:
27526 @endif libtermcap
27528 .PHONY: install-libtermcap maybe-install-libtermcap
27529 maybe-install-libtermcap:
27530 @if libtermcap
27531 maybe-install-libtermcap: install-libtermcap
27533 install-libtermcap: installdirs
27534 @$(unstage)
27535 @r=`${PWD_COMMAND}`; export r; \
27536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27537 $(HOST_EXPORTS) \
27538 (cd $(HOST_SUBDIR)/libtermcap && \
27539 $(MAKE) $(FLAGS_TO_PASS) install)
27541 @endif libtermcap
27543 # Other targets (info, dvi, etc.)
27545 .PHONY: maybe-info-libtermcap info-libtermcap
27546 maybe-info-libtermcap:
27547 @if libtermcap
27548 maybe-info-libtermcap: info-libtermcap
27550 info-libtermcap: \
27551 configure-libtermcap
27552 @$(unstage)
27553 @[ -f ./libtermcap/Makefile ] || exit 0; \
27554 r=`${PWD_COMMAND}`; export r; \
27555 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27556 $(HOST_EXPORTS) \
27557 for flag in $(EXTRA_HOST_FLAGS) ; do \
27558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27559 done; \
27560 echo "Doing info in libtermcap" ; \
27561 (cd $(HOST_SUBDIR)/libtermcap && \
27562 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27563 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27564 "RANLIB=$${RANLIB}" \
27565 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27566 info) \
27567 || exit 1
27569 @endif libtermcap
27571 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
27572 maybe-dvi-libtermcap:
27573 @if libtermcap
27574 maybe-dvi-libtermcap: dvi-libtermcap
27576 dvi-libtermcap: \
27577 configure-libtermcap
27578 @$(unstage)
27579 @[ -f ./libtermcap/Makefile ] || exit 0; \
27580 r=`${PWD_COMMAND}`; export r; \
27581 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27582 $(HOST_EXPORTS) \
27583 for flag in $(EXTRA_HOST_FLAGS) ; do \
27584 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27585 done; \
27586 echo "Doing dvi in libtermcap" ; \
27587 (cd $(HOST_SUBDIR)/libtermcap && \
27588 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27589 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27590 "RANLIB=$${RANLIB}" \
27591 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27592 dvi) \
27593 || exit 1
27595 @endif libtermcap
27597 .PHONY: maybe-html-libtermcap html-libtermcap
27598 maybe-html-libtermcap:
27599 @if libtermcap
27600 maybe-html-libtermcap: html-libtermcap
27602 html-libtermcap: \
27603 configure-libtermcap
27604 @$(unstage)
27605 @[ -f ./libtermcap/Makefile ] || exit 0; \
27606 r=`${PWD_COMMAND}`; export r; \
27607 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27608 $(HOST_EXPORTS) \
27609 for flag in $(EXTRA_HOST_FLAGS) ; do \
27610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27611 done; \
27612 echo "Doing html in libtermcap" ; \
27613 (cd $(HOST_SUBDIR)/libtermcap && \
27614 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27615 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27616 "RANLIB=$${RANLIB}" \
27617 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27618 html) \
27619 || exit 1
27621 @endif libtermcap
27623 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
27624 maybe-TAGS-libtermcap:
27625 @if libtermcap
27626 maybe-TAGS-libtermcap: TAGS-libtermcap
27628 TAGS-libtermcap: \
27629 configure-libtermcap
27630 @$(unstage)
27631 @[ -f ./libtermcap/Makefile ] || exit 0; \
27632 r=`${PWD_COMMAND}`; export r; \
27633 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27634 $(HOST_EXPORTS) \
27635 for flag in $(EXTRA_HOST_FLAGS) ; do \
27636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27637 done; \
27638 echo "Doing TAGS in libtermcap" ; \
27639 (cd $(HOST_SUBDIR)/libtermcap && \
27640 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27641 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27642 "RANLIB=$${RANLIB}" \
27643 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27644 TAGS) \
27645 || exit 1
27647 @endif libtermcap
27649 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
27650 maybe-install-info-libtermcap:
27651 @if libtermcap
27652 maybe-install-info-libtermcap: install-info-libtermcap
27654 install-info-libtermcap: \
27655 configure-libtermcap \
27656 info-libtermcap
27657 @$(unstage)
27658 @[ -f ./libtermcap/Makefile ] || exit 0; \
27659 r=`${PWD_COMMAND}`; export r; \
27660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27661 $(HOST_EXPORTS) \
27662 for flag in $(EXTRA_HOST_FLAGS) ; do \
27663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27664 done; \
27665 echo "Doing install-info in libtermcap" ; \
27666 (cd $(HOST_SUBDIR)/libtermcap && \
27667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27669 "RANLIB=$${RANLIB}" \
27670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27671 install-info) \
27672 || exit 1
27674 @endif libtermcap
27676 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
27677 maybe-installcheck-libtermcap:
27678 @if libtermcap
27679 maybe-installcheck-libtermcap: installcheck-libtermcap
27681 installcheck-libtermcap: \
27682 configure-libtermcap
27683 @$(unstage)
27684 @[ -f ./libtermcap/Makefile ] || exit 0; \
27685 r=`${PWD_COMMAND}`; export r; \
27686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27687 $(HOST_EXPORTS) \
27688 for flag in $(EXTRA_HOST_FLAGS) ; do \
27689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27690 done; \
27691 echo "Doing installcheck in libtermcap" ; \
27692 (cd $(HOST_SUBDIR)/libtermcap && \
27693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27695 "RANLIB=$${RANLIB}" \
27696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27697 installcheck) \
27698 || exit 1
27700 @endif libtermcap
27702 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
27703 maybe-mostlyclean-libtermcap:
27704 @if libtermcap
27705 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
27707 # libtermcap doesn't support mostlyclean.
27708 mostlyclean-libtermcap:
27710 @endif libtermcap
27712 .PHONY: maybe-clean-libtermcap clean-libtermcap
27713 maybe-clean-libtermcap:
27714 @if libtermcap
27715 maybe-clean-libtermcap: clean-libtermcap
27717 # libtermcap doesn't support clean.
27718 clean-libtermcap:
27720 @endif libtermcap
27722 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
27723 maybe-distclean-libtermcap:
27724 @if libtermcap
27725 maybe-distclean-libtermcap: distclean-libtermcap
27727 # libtermcap doesn't support distclean.
27728 distclean-libtermcap:
27730 @endif libtermcap
27732 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
27733 maybe-maintainer-clean-libtermcap:
27734 @if libtermcap
27735 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
27737 # libtermcap doesn't support maintainer-clean.
27738 maintainer-clean-libtermcap:
27740 @endif libtermcap
27744 .PHONY: configure-utils maybe-configure-utils
27745 maybe-configure-utils:
27746 @if utils
27747 maybe-configure-utils: configure-utils
27748 configure-utils:
27749 @$(unstage)
27750 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
27751 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
27752 r=`${PWD_COMMAND}`; export r; \
27753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27754 $(HOST_EXPORTS) \
27755 echo Configuring in $(HOST_SUBDIR)/utils; \
27756 cd "$(HOST_SUBDIR)/utils" || exit 1; \
27757 case $(srcdir) in \
27758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27759 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
27760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27761 esac; \
27762 srcdiroption="--srcdir=$${topdir}/utils"; \
27763 libsrcdir="$$s/utils"; \
27764 $(SHELL) $${libsrcdir}/configure \
27765 $(HOST_CONFIGARGS) $${srcdiroption} \
27766 || exit 1
27767 @endif utils
27773 .PHONY: all-utils maybe-all-utils
27774 maybe-all-utils:
27775 @if utils
27776 TARGET-utils=all
27777 maybe-all-utils: all-utils
27778 all-utils: configure-utils
27779 @$(unstage)
27780 @r=`${PWD_COMMAND}`; export r; \
27781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27782 $(HOST_EXPORTS) \
27783 (cd $(HOST_SUBDIR)/utils && \
27784 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
27785 @endif utils
27790 .PHONY: check-utils maybe-check-utils
27791 maybe-check-utils:
27792 @if utils
27793 maybe-check-utils: check-utils
27795 check-utils:
27797 @endif utils
27799 .PHONY: install-utils maybe-install-utils
27800 maybe-install-utils:
27801 @if utils
27802 maybe-install-utils: install-utils
27804 install-utils: installdirs
27805 @$(unstage)
27806 @r=`${PWD_COMMAND}`; export r; \
27807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27808 $(HOST_EXPORTS) \
27809 (cd $(HOST_SUBDIR)/utils && \
27810 $(MAKE) $(FLAGS_TO_PASS) install)
27812 @endif utils
27814 # Other targets (info, dvi, etc.)
27816 .PHONY: maybe-info-utils info-utils
27817 maybe-info-utils:
27818 @if utils
27819 maybe-info-utils: info-utils
27821 info-utils: \
27822 configure-utils
27823 @$(unstage)
27824 @[ -f ./utils/Makefile ] || exit 0; \
27825 r=`${PWD_COMMAND}`; export r; \
27826 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27827 $(HOST_EXPORTS) \
27828 for flag in $(EXTRA_HOST_FLAGS) ; do \
27829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27830 done; \
27831 echo "Doing info in utils" ; \
27832 (cd $(HOST_SUBDIR)/utils && \
27833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27835 "RANLIB=$${RANLIB}" \
27836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27837 info) \
27838 || exit 1
27840 @endif utils
27842 .PHONY: maybe-dvi-utils dvi-utils
27843 maybe-dvi-utils:
27844 @if utils
27845 maybe-dvi-utils: dvi-utils
27847 dvi-utils: \
27848 configure-utils
27849 @$(unstage)
27850 @[ -f ./utils/Makefile ] || exit 0; \
27851 r=`${PWD_COMMAND}`; export r; \
27852 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27853 $(HOST_EXPORTS) \
27854 for flag in $(EXTRA_HOST_FLAGS) ; do \
27855 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27856 done; \
27857 echo "Doing dvi in utils" ; \
27858 (cd $(HOST_SUBDIR)/utils && \
27859 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27860 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27861 "RANLIB=$${RANLIB}" \
27862 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27863 dvi) \
27864 || exit 1
27866 @endif utils
27868 .PHONY: maybe-html-utils html-utils
27869 maybe-html-utils:
27870 @if utils
27871 maybe-html-utils: html-utils
27873 html-utils: \
27874 configure-utils
27875 @$(unstage)
27876 @[ -f ./utils/Makefile ] || exit 0; \
27877 r=`${PWD_COMMAND}`; export r; \
27878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27879 $(HOST_EXPORTS) \
27880 for flag in $(EXTRA_HOST_FLAGS) ; do \
27881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27882 done; \
27883 echo "Doing html in utils" ; \
27884 (cd $(HOST_SUBDIR)/utils && \
27885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27887 "RANLIB=$${RANLIB}" \
27888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27889 html) \
27890 || exit 1
27892 @endif utils
27894 .PHONY: maybe-TAGS-utils TAGS-utils
27895 maybe-TAGS-utils:
27896 @if utils
27897 maybe-TAGS-utils: TAGS-utils
27899 TAGS-utils: \
27900 configure-utils
27901 @$(unstage)
27902 @[ -f ./utils/Makefile ] || exit 0; \
27903 r=`${PWD_COMMAND}`; export r; \
27904 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27905 $(HOST_EXPORTS) \
27906 for flag in $(EXTRA_HOST_FLAGS) ; do \
27907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27908 done; \
27909 echo "Doing TAGS in utils" ; \
27910 (cd $(HOST_SUBDIR)/utils && \
27911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27913 "RANLIB=$${RANLIB}" \
27914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27915 TAGS) \
27916 || exit 1
27918 @endif utils
27920 .PHONY: maybe-install-info-utils install-info-utils
27921 maybe-install-info-utils:
27922 @if utils
27923 maybe-install-info-utils: install-info-utils
27925 install-info-utils: \
27926 configure-utils \
27927 info-utils
27928 @$(unstage)
27929 @[ -f ./utils/Makefile ] || exit 0; \
27930 r=`${PWD_COMMAND}`; export r; \
27931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27932 $(HOST_EXPORTS) \
27933 for flag in $(EXTRA_HOST_FLAGS) ; do \
27934 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27935 done; \
27936 echo "Doing install-info in utils" ; \
27937 (cd $(HOST_SUBDIR)/utils && \
27938 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27939 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27940 "RANLIB=$${RANLIB}" \
27941 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27942 install-info) \
27943 || exit 1
27945 @endif utils
27947 .PHONY: maybe-installcheck-utils installcheck-utils
27948 maybe-installcheck-utils:
27949 @if utils
27950 maybe-installcheck-utils: installcheck-utils
27952 installcheck-utils: \
27953 configure-utils
27954 @$(unstage)
27955 @[ -f ./utils/Makefile ] || exit 0; \
27956 r=`${PWD_COMMAND}`; export r; \
27957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27958 $(HOST_EXPORTS) \
27959 for flag in $(EXTRA_HOST_FLAGS) ; do \
27960 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27961 done; \
27962 echo "Doing installcheck in utils" ; \
27963 (cd $(HOST_SUBDIR)/utils && \
27964 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27965 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27966 "RANLIB=$${RANLIB}" \
27967 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27968 installcheck) \
27969 || exit 1
27971 @endif utils
27973 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
27974 maybe-mostlyclean-utils:
27975 @if utils
27976 maybe-mostlyclean-utils: mostlyclean-utils
27978 mostlyclean-utils:
27979 @$(unstage)
27980 @[ -f ./utils/Makefile ] || exit 0; \
27981 r=`${PWD_COMMAND}`; export r; \
27982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27983 $(HOST_EXPORTS) \
27984 for flag in $(EXTRA_HOST_FLAGS) ; do \
27985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27986 done; \
27987 echo "Doing mostlyclean in utils" ; \
27988 (cd $(HOST_SUBDIR)/utils && \
27989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27991 "RANLIB=$${RANLIB}" \
27992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27993 mostlyclean) \
27994 || exit 1
27996 @endif utils
27998 .PHONY: maybe-clean-utils clean-utils
27999 maybe-clean-utils:
28000 @if utils
28001 maybe-clean-utils: clean-utils
28003 clean-utils:
28004 @$(unstage)
28005 @[ -f ./utils/Makefile ] || exit 0; \
28006 r=`${PWD_COMMAND}`; export r; \
28007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28008 $(HOST_EXPORTS) \
28009 for flag in $(EXTRA_HOST_FLAGS) ; do \
28010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28011 done; \
28012 echo "Doing clean in utils" ; \
28013 (cd $(HOST_SUBDIR)/utils && \
28014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28016 "RANLIB=$${RANLIB}" \
28017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28018 clean) \
28019 || exit 1
28021 @endif utils
28023 .PHONY: maybe-distclean-utils distclean-utils
28024 maybe-distclean-utils:
28025 @if utils
28026 maybe-distclean-utils: distclean-utils
28028 distclean-utils:
28029 @$(unstage)
28030 @[ -f ./utils/Makefile ] || exit 0; \
28031 r=`${PWD_COMMAND}`; export r; \
28032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28033 $(HOST_EXPORTS) \
28034 for flag in $(EXTRA_HOST_FLAGS) ; do \
28035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28036 done; \
28037 echo "Doing distclean in utils" ; \
28038 (cd $(HOST_SUBDIR)/utils && \
28039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28041 "RANLIB=$${RANLIB}" \
28042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28043 distclean) \
28044 || exit 1
28046 @endif utils
28048 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
28049 maybe-maintainer-clean-utils:
28050 @if utils
28051 maybe-maintainer-clean-utils: maintainer-clean-utils
28053 maintainer-clean-utils:
28054 @$(unstage)
28055 @[ -f ./utils/Makefile ] || exit 0; \
28056 r=`${PWD_COMMAND}`; export r; \
28057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28058 $(HOST_EXPORTS) \
28059 for flag in $(EXTRA_HOST_FLAGS) ; do \
28060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28061 done; \
28062 echo "Doing maintainer-clean in utils" ; \
28063 (cd $(HOST_SUBDIR)/utils && \
28064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28066 "RANLIB=$${RANLIB}" \
28067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28068 maintainer-clean) \
28069 || exit 1
28071 @endif utils
28075 .PHONY: configure-gnattools maybe-configure-gnattools
28076 maybe-configure-gnattools:
28077 @if gnattools
28078 maybe-configure-gnattools: configure-gnattools
28079 configure-gnattools:
28080 @$(unstage)
28081 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
28082 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
28083 r=`${PWD_COMMAND}`; export r; \
28084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28085 $(HOST_EXPORTS) \
28086 echo Configuring in $(HOST_SUBDIR)/gnattools; \
28087 cd "$(HOST_SUBDIR)/gnattools" || exit 1; \
28088 case $(srcdir) in \
28089 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28090 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
28091 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28092 esac; \
28093 srcdiroption="--srcdir=$${topdir}/gnattools"; \
28094 libsrcdir="$$s/gnattools"; \
28095 $(SHELL) $${libsrcdir}/configure \
28096 $(HOST_CONFIGARGS) $${srcdiroption} \
28097 || exit 1
28098 @endif gnattools
28104 .PHONY: all-gnattools maybe-all-gnattools
28105 maybe-all-gnattools:
28106 @if gnattools
28107 TARGET-gnattools=all
28108 maybe-all-gnattools: all-gnattools
28109 all-gnattools: configure-gnattools
28110 @$(unstage)
28111 @r=`${PWD_COMMAND}`; export r; \
28112 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28113 $(HOST_EXPORTS) \
28114 (cd $(HOST_SUBDIR)/gnattools && \
28115 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
28116 @endif gnattools
28121 .PHONY: check-gnattools maybe-check-gnattools
28122 maybe-check-gnattools:
28123 @if gnattools
28124 maybe-check-gnattools: check-gnattools
28126 check-gnattools:
28127 @$(unstage)
28128 @r=`${PWD_COMMAND}`; export r; \
28129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28130 $(HOST_EXPORTS) \
28131 (cd $(HOST_SUBDIR)/gnattools && \
28132 $(MAKE) $(FLAGS_TO_PASS) check)
28134 @endif gnattools
28136 .PHONY: install-gnattools maybe-install-gnattools
28137 maybe-install-gnattools:
28138 @if gnattools
28139 maybe-install-gnattools: install-gnattools
28141 install-gnattools: installdirs
28142 @$(unstage)
28143 @r=`${PWD_COMMAND}`; export r; \
28144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28145 $(HOST_EXPORTS) \
28146 (cd $(HOST_SUBDIR)/gnattools && \
28147 $(MAKE) $(FLAGS_TO_PASS) install)
28149 @endif gnattools
28151 # Other targets (info, dvi, etc.)
28153 .PHONY: maybe-info-gnattools info-gnattools
28154 maybe-info-gnattools:
28155 @if gnattools
28156 maybe-info-gnattools: info-gnattools
28158 info-gnattools: \
28159 configure-gnattools
28160 @$(unstage)
28161 @[ -f ./gnattools/Makefile ] || exit 0; \
28162 r=`${PWD_COMMAND}`; export r; \
28163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28164 $(HOST_EXPORTS) \
28165 for flag in $(EXTRA_HOST_FLAGS) ; do \
28166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28167 done; \
28168 echo "Doing info in gnattools" ; \
28169 (cd $(HOST_SUBDIR)/gnattools && \
28170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28172 "RANLIB=$${RANLIB}" \
28173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28174 info) \
28175 || exit 1
28177 @endif gnattools
28179 .PHONY: maybe-dvi-gnattools dvi-gnattools
28180 maybe-dvi-gnattools:
28181 @if gnattools
28182 maybe-dvi-gnattools: dvi-gnattools
28184 dvi-gnattools: \
28185 configure-gnattools
28186 @$(unstage)
28187 @[ -f ./gnattools/Makefile ] || exit 0; \
28188 r=`${PWD_COMMAND}`; export r; \
28189 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28190 $(HOST_EXPORTS) \
28191 for flag in $(EXTRA_HOST_FLAGS) ; do \
28192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28193 done; \
28194 echo "Doing dvi in gnattools" ; \
28195 (cd $(HOST_SUBDIR)/gnattools && \
28196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28198 "RANLIB=$${RANLIB}" \
28199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28200 dvi) \
28201 || exit 1
28203 @endif gnattools
28205 .PHONY: maybe-html-gnattools html-gnattools
28206 maybe-html-gnattools:
28207 @if gnattools
28208 maybe-html-gnattools: html-gnattools
28210 html-gnattools: \
28211 configure-gnattools
28212 @$(unstage)
28213 @[ -f ./gnattools/Makefile ] || exit 0; \
28214 r=`${PWD_COMMAND}`; export r; \
28215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28216 $(HOST_EXPORTS) \
28217 for flag in $(EXTRA_HOST_FLAGS) ; do \
28218 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28219 done; \
28220 echo "Doing html in gnattools" ; \
28221 (cd $(HOST_SUBDIR)/gnattools && \
28222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28224 "RANLIB=$${RANLIB}" \
28225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28226 html) \
28227 || exit 1
28229 @endif gnattools
28231 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
28232 maybe-TAGS-gnattools:
28233 @if gnattools
28234 maybe-TAGS-gnattools: TAGS-gnattools
28236 TAGS-gnattools: \
28237 configure-gnattools
28238 @$(unstage)
28239 @[ -f ./gnattools/Makefile ] || exit 0; \
28240 r=`${PWD_COMMAND}`; export r; \
28241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28242 $(HOST_EXPORTS) \
28243 for flag in $(EXTRA_HOST_FLAGS) ; do \
28244 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28245 done; \
28246 echo "Doing TAGS in gnattools" ; \
28247 (cd $(HOST_SUBDIR)/gnattools && \
28248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28250 "RANLIB=$${RANLIB}" \
28251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28252 TAGS) \
28253 || exit 1
28255 @endif gnattools
28257 .PHONY: maybe-install-info-gnattools install-info-gnattools
28258 maybe-install-info-gnattools:
28259 @if gnattools
28260 maybe-install-info-gnattools: install-info-gnattools
28262 install-info-gnattools: \
28263 configure-gnattools \
28264 info-gnattools
28265 @$(unstage)
28266 @[ -f ./gnattools/Makefile ] || exit 0; \
28267 r=`${PWD_COMMAND}`; export r; \
28268 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28269 $(HOST_EXPORTS) \
28270 for flag in $(EXTRA_HOST_FLAGS) ; do \
28271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28272 done; \
28273 echo "Doing install-info in gnattools" ; \
28274 (cd $(HOST_SUBDIR)/gnattools && \
28275 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28276 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28277 "RANLIB=$${RANLIB}" \
28278 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28279 install-info) \
28280 || exit 1
28282 @endif gnattools
28284 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
28285 maybe-installcheck-gnattools:
28286 @if gnattools
28287 maybe-installcheck-gnattools: installcheck-gnattools
28289 installcheck-gnattools: \
28290 configure-gnattools
28291 @$(unstage)
28292 @[ -f ./gnattools/Makefile ] || exit 0; \
28293 r=`${PWD_COMMAND}`; export r; \
28294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28295 $(HOST_EXPORTS) \
28296 for flag in $(EXTRA_HOST_FLAGS) ; do \
28297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28298 done; \
28299 echo "Doing installcheck in gnattools" ; \
28300 (cd $(HOST_SUBDIR)/gnattools && \
28301 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28302 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28303 "RANLIB=$${RANLIB}" \
28304 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28305 installcheck) \
28306 || exit 1
28308 @endif gnattools
28310 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
28311 maybe-mostlyclean-gnattools:
28312 @if gnattools
28313 maybe-mostlyclean-gnattools: mostlyclean-gnattools
28315 mostlyclean-gnattools:
28316 @$(unstage)
28317 @[ -f ./gnattools/Makefile ] || exit 0; \
28318 r=`${PWD_COMMAND}`; export r; \
28319 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28320 $(HOST_EXPORTS) \
28321 for flag in $(EXTRA_HOST_FLAGS) ; do \
28322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28323 done; \
28324 echo "Doing mostlyclean in gnattools" ; \
28325 (cd $(HOST_SUBDIR)/gnattools && \
28326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28328 "RANLIB=$${RANLIB}" \
28329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28330 mostlyclean) \
28331 || exit 1
28333 @endif gnattools
28335 .PHONY: maybe-clean-gnattools clean-gnattools
28336 maybe-clean-gnattools:
28337 @if gnattools
28338 maybe-clean-gnattools: clean-gnattools
28340 clean-gnattools:
28341 @$(unstage)
28342 @[ -f ./gnattools/Makefile ] || exit 0; \
28343 r=`${PWD_COMMAND}`; export r; \
28344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28345 $(HOST_EXPORTS) \
28346 for flag in $(EXTRA_HOST_FLAGS) ; do \
28347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28348 done; \
28349 echo "Doing clean in gnattools" ; \
28350 (cd $(HOST_SUBDIR)/gnattools && \
28351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28353 "RANLIB=$${RANLIB}" \
28354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28355 clean) \
28356 || exit 1
28358 @endif gnattools
28360 .PHONY: maybe-distclean-gnattools distclean-gnattools
28361 maybe-distclean-gnattools:
28362 @if gnattools
28363 maybe-distclean-gnattools: distclean-gnattools
28365 distclean-gnattools:
28366 @$(unstage)
28367 @[ -f ./gnattools/Makefile ] || exit 0; \
28368 r=`${PWD_COMMAND}`; export r; \
28369 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28370 $(HOST_EXPORTS) \
28371 for flag in $(EXTRA_HOST_FLAGS) ; do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 echo "Doing distclean in gnattools" ; \
28375 (cd $(HOST_SUBDIR)/gnattools && \
28376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28378 "RANLIB=$${RANLIB}" \
28379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28380 distclean) \
28381 || exit 1
28383 @endif gnattools
28385 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
28386 maybe-maintainer-clean-gnattools:
28387 @if gnattools
28388 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
28390 maintainer-clean-gnattools:
28391 @$(unstage)
28392 @[ -f ./gnattools/Makefile ] || exit 0; \
28393 r=`${PWD_COMMAND}`; export r; \
28394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28395 $(HOST_EXPORTS) \
28396 for flag in $(EXTRA_HOST_FLAGS) ; do \
28397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28398 done; \
28399 echo "Doing maintainer-clean in gnattools" ; \
28400 (cd $(HOST_SUBDIR)/gnattools && \
28401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28403 "RANLIB=$${RANLIB}" \
28404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28405 maintainer-clean) \
28406 || exit 1
28408 @endif gnattools
28412 # ---------------------------------------
28413 # Modules which run on the target machine
28414 # ---------------------------------------
28417 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28418 @if target-libstdc++-v3
28419 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
28420 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28421 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
28422 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28423 @endif target-libstdc++-v3
28427 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
28428 maybe-configure-target-libstdc++-v3:
28429 @if target-libstdc++-v3
28430 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
28431 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
28432 @$(unstage)
28433 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
28434 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
28435 r=`${PWD_COMMAND}`; export r; \
28436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28437 $(RAW_CXX_TARGET_EXPORTS) \
28438 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
28439 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
28440 case $(srcdir) in \
28441 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28442 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
28443 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28444 esac; \
28445 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
28446 libsrcdir="$$s/libstdc++-v3"; \
28447 rm -f no-such-file || : ; \
28448 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28449 $(TARGET_CONFIGARGS) $${srcdiroption} \
28450 || exit 1
28451 @endif target-libstdc++-v3
28457 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
28458 maybe-all-target-libstdc++-v3:
28459 @if target-libstdc++-v3
28460 TARGET-target-libstdc++-v3=all
28461 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
28462 all-target-libstdc++-v3: configure-target-libstdc++-v3
28463 @$(unstage)
28464 @r=`${PWD_COMMAND}`; export r; \
28465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28466 $(RAW_CXX_TARGET_EXPORTS) \
28467 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28468 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
28469 @endif target-libstdc++-v3
28475 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
28476 maybe-check-target-libstdc++-v3:
28477 @if target-libstdc++-v3
28478 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
28480 check-target-libstdc++-v3:
28481 @$(unstage)
28482 @r=`${PWD_COMMAND}`; export r; \
28483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28484 $(RAW_CXX_TARGET_EXPORTS) \
28485 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28486 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28488 @endif target-libstdc++-v3
28490 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
28491 maybe-install-target-libstdc++-v3:
28492 @if target-libstdc++-v3
28493 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
28495 install-target-libstdc++-v3: installdirs
28496 @$(unstage)
28497 @r=`${PWD_COMMAND}`; export r; \
28498 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28499 $(RAW_CXX_TARGET_EXPORTS) \
28500 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28501 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28503 @endif target-libstdc++-v3
28505 # Other targets (info, dvi, etc.)
28507 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
28508 maybe-info-target-libstdc++-v3:
28509 @if target-libstdc++-v3
28510 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
28512 info-target-libstdc++-v3: \
28513 configure-target-libstdc++-v3
28514 @$(unstage)
28515 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28516 r=`${PWD_COMMAND}`; export r; \
28517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28518 $(RAW_CXX_TARGET_EXPORTS) \
28519 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28520 for flag in $(EXTRA_TARGET_FLAGS); do \
28521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28522 done; \
28523 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28526 "RANLIB=$${RANLIB}" \
28527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28528 info) \
28529 || exit 1
28531 @endif target-libstdc++-v3
28533 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
28534 maybe-dvi-target-libstdc++-v3:
28535 @if target-libstdc++-v3
28536 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
28538 dvi-target-libstdc++-v3: \
28539 configure-target-libstdc++-v3
28540 @$(unstage)
28541 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28542 r=`${PWD_COMMAND}`; export r; \
28543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28544 $(RAW_CXX_TARGET_EXPORTS) \
28545 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28546 for flag in $(EXTRA_TARGET_FLAGS); do \
28547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28548 done; \
28549 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28552 "RANLIB=$${RANLIB}" \
28553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28554 dvi) \
28555 || exit 1
28557 @endif target-libstdc++-v3
28559 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
28560 maybe-html-target-libstdc++-v3:
28561 @if target-libstdc++-v3
28562 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
28564 html-target-libstdc++-v3: \
28565 configure-target-libstdc++-v3
28566 @$(unstage)
28567 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28568 r=`${PWD_COMMAND}`; export r; \
28569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28570 $(RAW_CXX_TARGET_EXPORTS) \
28571 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28572 for flag in $(EXTRA_TARGET_FLAGS); do \
28573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28574 done; \
28575 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28578 "RANLIB=$${RANLIB}" \
28579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28580 html) \
28581 || exit 1
28583 @endif target-libstdc++-v3
28585 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
28586 maybe-TAGS-target-libstdc++-v3:
28587 @if target-libstdc++-v3
28588 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
28590 TAGS-target-libstdc++-v3: \
28591 configure-target-libstdc++-v3
28592 @$(unstage)
28593 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28594 r=`${PWD_COMMAND}`; export r; \
28595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28596 $(RAW_CXX_TARGET_EXPORTS) \
28597 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28598 for flag in $(EXTRA_TARGET_FLAGS); do \
28599 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28600 done; \
28601 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28602 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28603 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28604 "RANLIB=$${RANLIB}" \
28605 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28606 TAGS) \
28607 || exit 1
28609 @endif target-libstdc++-v3
28611 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
28612 maybe-install-info-target-libstdc++-v3:
28613 @if target-libstdc++-v3
28614 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
28616 install-info-target-libstdc++-v3: \
28617 configure-target-libstdc++-v3 \
28618 info-target-libstdc++-v3
28619 @$(unstage)
28620 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28621 r=`${PWD_COMMAND}`; export r; \
28622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28623 $(RAW_CXX_TARGET_EXPORTS) \
28624 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28625 for flag in $(EXTRA_TARGET_FLAGS); do \
28626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28627 done; \
28628 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28629 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28630 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28631 "RANLIB=$${RANLIB}" \
28632 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28633 install-info) \
28634 || exit 1
28636 @endif target-libstdc++-v3
28638 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
28639 maybe-installcheck-target-libstdc++-v3:
28640 @if target-libstdc++-v3
28641 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
28643 installcheck-target-libstdc++-v3: \
28644 configure-target-libstdc++-v3
28645 @$(unstage)
28646 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28647 r=`${PWD_COMMAND}`; export r; \
28648 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28649 $(RAW_CXX_TARGET_EXPORTS) \
28650 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28651 for flag in $(EXTRA_TARGET_FLAGS); do \
28652 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28653 done; \
28654 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28657 "RANLIB=$${RANLIB}" \
28658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28659 installcheck) \
28660 || exit 1
28662 @endif target-libstdc++-v3
28664 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
28665 maybe-mostlyclean-target-libstdc++-v3:
28666 @if target-libstdc++-v3
28667 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
28669 mostlyclean-target-libstdc++-v3:
28670 @$(unstage)
28671 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28672 r=`${PWD_COMMAND}`; export r; \
28673 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28674 $(RAW_CXX_TARGET_EXPORTS) \
28675 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28676 for flag in $(EXTRA_TARGET_FLAGS); do \
28677 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28678 done; \
28679 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28682 "RANLIB=$${RANLIB}" \
28683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28684 mostlyclean) \
28685 || exit 1
28687 @endif target-libstdc++-v3
28689 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
28690 maybe-clean-target-libstdc++-v3:
28691 @if target-libstdc++-v3
28692 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
28694 clean-target-libstdc++-v3:
28695 @$(unstage)
28696 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28697 r=`${PWD_COMMAND}`; export r; \
28698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28699 $(RAW_CXX_TARGET_EXPORTS) \
28700 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28701 for flag in $(EXTRA_TARGET_FLAGS); do \
28702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28703 done; \
28704 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28707 "RANLIB=$${RANLIB}" \
28708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28709 clean) \
28710 || exit 1
28712 @endif target-libstdc++-v3
28714 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
28715 maybe-distclean-target-libstdc++-v3:
28716 @if target-libstdc++-v3
28717 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
28719 distclean-target-libstdc++-v3:
28720 @$(unstage)
28721 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28722 r=`${PWD_COMMAND}`; export r; \
28723 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28724 $(RAW_CXX_TARGET_EXPORTS) \
28725 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28726 for flag in $(EXTRA_TARGET_FLAGS); do \
28727 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28728 done; \
28729 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28732 "RANLIB=$${RANLIB}" \
28733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28734 distclean) \
28735 || exit 1
28737 @endif target-libstdc++-v3
28739 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
28740 maybe-maintainer-clean-target-libstdc++-v3:
28741 @if target-libstdc++-v3
28742 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
28744 maintainer-clean-target-libstdc++-v3:
28745 @$(unstage)
28746 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
28747 r=`${PWD_COMMAND}`; export r; \
28748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28749 $(RAW_CXX_TARGET_EXPORTS) \
28750 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
28751 for flag in $(EXTRA_TARGET_FLAGS); do \
28752 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28753 done; \
28754 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
28755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28757 "RANLIB=$${RANLIB}" \
28758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28759 maintainer-clean) \
28760 || exit 1
28762 @endif target-libstdc++-v3
28766 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28767 @if target-libmudflap
28768 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
28769 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28770 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
28771 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
28772 @endif target-libmudflap
28776 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
28777 maybe-configure-target-libmudflap:
28778 @if target-libmudflap
28779 maybe-configure-target-libmudflap: configure-target-libmudflap
28780 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
28781 @$(unstage)
28782 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
28783 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
28784 r=`${PWD_COMMAND}`; export r; \
28785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28786 $(NORMAL_TARGET_EXPORTS) \
28787 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
28788 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
28789 case $(srcdir) in \
28790 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28791 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
28792 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28793 esac; \
28794 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
28795 libsrcdir="$$s/libmudflap"; \
28796 rm -f no-such-file || : ; \
28797 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28798 $(TARGET_CONFIGARGS) $${srcdiroption} \
28799 || exit 1
28800 @endif target-libmudflap
28806 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
28807 maybe-all-target-libmudflap:
28808 @if target-libmudflap
28809 TARGET-target-libmudflap=all
28810 maybe-all-target-libmudflap: all-target-libmudflap
28811 all-target-libmudflap: configure-target-libmudflap
28812 @$(unstage)
28813 @r=`${PWD_COMMAND}`; export r; \
28814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28815 $(NORMAL_TARGET_EXPORTS) \
28816 (cd $(TARGET_SUBDIR)/libmudflap && \
28817 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
28818 @endif target-libmudflap
28824 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
28825 maybe-check-target-libmudflap:
28826 @if target-libmudflap
28827 maybe-check-target-libmudflap: check-target-libmudflap
28829 check-target-libmudflap:
28830 @$(unstage)
28831 @r=`${PWD_COMMAND}`; export r; \
28832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28833 $(NORMAL_TARGET_EXPORTS) \
28834 (cd $(TARGET_SUBDIR)/libmudflap && \
28835 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28837 @endif target-libmudflap
28839 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
28840 maybe-install-target-libmudflap:
28841 @if target-libmudflap
28842 maybe-install-target-libmudflap: install-target-libmudflap
28844 install-target-libmudflap: installdirs
28845 @$(unstage)
28846 @r=`${PWD_COMMAND}`; export r; \
28847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28848 $(NORMAL_TARGET_EXPORTS) \
28849 (cd $(TARGET_SUBDIR)/libmudflap && \
28850 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28852 @endif target-libmudflap
28854 # Other targets (info, dvi, etc.)
28856 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
28857 maybe-info-target-libmudflap:
28858 @if target-libmudflap
28859 maybe-info-target-libmudflap: info-target-libmudflap
28861 info-target-libmudflap: \
28862 configure-target-libmudflap
28863 @$(unstage)
28864 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28865 r=`${PWD_COMMAND}`; export r; \
28866 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28867 $(NORMAL_TARGET_EXPORTS) \
28868 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
28869 for flag in $(EXTRA_TARGET_FLAGS); do \
28870 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28871 done; \
28872 (cd $(TARGET_SUBDIR)/libmudflap && \
28873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28875 "RANLIB=$${RANLIB}" \
28876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28877 info) \
28878 || exit 1
28880 @endif target-libmudflap
28882 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
28883 maybe-dvi-target-libmudflap:
28884 @if target-libmudflap
28885 maybe-dvi-target-libmudflap: dvi-target-libmudflap
28887 dvi-target-libmudflap: \
28888 configure-target-libmudflap
28889 @$(unstage)
28890 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28891 r=`${PWD_COMMAND}`; export r; \
28892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28893 $(NORMAL_TARGET_EXPORTS) \
28894 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
28895 for flag in $(EXTRA_TARGET_FLAGS); do \
28896 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28897 done; \
28898 (cd $(TARGET_SUBDIR)/libmudflap && \
28899 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28900 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28901 "RANLIB=$${RANLIB}" \
28902 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28903 dvi) \
28904 || exit 1
28906 @endif target-libmudflap
28908 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
28909 maybe-html-target-libmudflap:
28910 @if target-libmudflap
28911 maybe-html-target-libmudflap: html-target-libmudflap
28913 html-target-libmudflap: \
28914 configure-target-libmudflap
28915 @$(unstage)
28916 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28917 r=`${PWD_COMMAND}`; export r; \
28918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28919 $(NORMAL_TARGET_EXPORTS) \
28920 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
28921 for flag in $(EXTRA_TARGET_FLAGS); do \
28922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28923 done; \
28924 (cd $(TARGET_SUBDIR)/libmudflap && \
28925 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28926 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28927 "RANLIB=$${RANLIB}" \
28928 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28929 html) \
28930 || exit 1
28932 @endif target-libmudflap
28934 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
28935 maybe-TAGS-target-libmudflap:
28936 @if target-libmudflap
28937 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
28939 TAGS-target-libmudflap: \
28940 configure-target-libmudflap
28941 @$(unstage)
28942 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28943 r=`${PWD_COMMAND}`; export r; \
28944 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28945 $(NORMAL_TARGET_EXPORTS) \
28946 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
28947 for flag in $(EXTRA_TARGET_FLAGS); do \
28948 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28949 done; \
28950 (cd $(TARGET_SUBDIR)/libmudflap && \
28951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28953 "RANLIB=$${RANLIB}" \
28954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28955 TAGS) \
28956 || exit 1
28958 @endif target-libmudflap
28960 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
28961 maybe-install-info-target-libmudflap:
28962 @if target-libmudflap
28963 maybe-install-info-target-libmudflap: install-info-target-libmudflap
28965 install-info-target-libmudflap: \
28966 configure-target-libmudflap \
28967 info-target-libmudflap
28968 @$(unstage)
28969 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28970 r=`${PWD_COMMAND}`; export r; \
28971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28972 $(NORMAL_TARGET_EXPORTS) \
28973 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
28974 for flag in $(EXTRA_TARGET_FLAGS); do \
28975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28976 done; \
28977 (cd $(TARGET_SUBDIR)/libmudflap && \
28978 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28979 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28980 "RANLIB=$${RANLIB}" \
28981 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28982 install-info) \
28983 || exit 1
28985 @endif target-libmudflap
28987 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
28988 maybe-installcheck-target-libmudflap:
28989 @if target-libmudflap
28990 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
28992 installcheck-target-libmudflap: \
28993 configure-target-libmudflap
28994 @$(unstage)
28995 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
28996 r=`${PWD_COMMAND}`; export r; \
28997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28998 $(NORMAL_TARGET_EXPORTS) \
28999 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
29000 for flag in $(EXTRA_TARGET_FLAGS); do \
29001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29002 done; \
29003 (cd $(TARGET_SUBDIR)/libmudflap && \
29004 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29005 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29006 "RANLIB=$${RANLIB}" \
29007 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29008 installcheck) \
29009 || exit 1
29011 @endif target-libmudflap
29013 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
29014 maybe-mostlyclean-target-libmudflap:
29015 @if target-libmudflap
29016 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
29018 mostlyclean-target-libmudflap:
29019 @$(unstage)
29020 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29021 r=`${PWD_COMMAND}`; export r; \
29022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29023 $(NORMAL_TARGET_EXPORTS) \
29024 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
29025 for flag in $(EXTRA_TARGET_FLAGS); do \
29026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29027 done; \
29028 (cd $(TARGET_SUBDIR)/libmudflap && \
29029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29031 "RANLIB=$${RANLIB}" \
29032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29033 mostlyclean) \
29034 || exit 1
29036 @endif target-libmudflap
29038 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
29039 maybe-clean-target-libmudflap:
29040 @if target-libmudflap
29041 maybe-clean-target-libmudflap: clean-target-libmudflap
29043 clean-target-libmudflap:
29044 @$(unstage)
29045 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29046 r=`${PWD_COMMAND}`; export r; \
29047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29048 $(NORMAL_TARGET_EXPORTS) \
29049 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
29050 for flag in $(EXTRA_TARGET_FLAGS); do \
29051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29052 done; \
29053 (cd $(TARGET_SUBDIR)/libmudflap && \
29054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29056 "RANLIB=$${RANLIB}" \
29057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29058 clean) \
29059 || exit 1
29061 @endif target-libmudflap
29063 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
29064 maybe-distclean-target-libmudflap:
29065 @if target-libmudflap
29066 maybe-distclean-target-libmudflap: distclean-target-libmudflap
29068 distclean-target-libmudflap:
29069 @$(unstage)
29070 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29071 r=`${PWD_COMMAND}`; export r; \
29072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29073 $(NORMAL_TARGET_EXPORTS) \
29074 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
29075 for flag in $(EXTRA_TARGET_FLAGS); do \
29076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29077 done; \
29078 (cd $(TARGET_SUBDIR)/libmudflap && \
29079 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29080 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29081 "RANLIB=$${RANLIB}" \
29082 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29083 distclean) \
29084 || exit 1
29086 @endif target-libmudflap
29088 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
29089 maybe-maintainer-clean-target-libmudflap:
29090 @if target-libmudflap
29091 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
29093 maintainer-clean-target-libmudflap:
29094 @$(unstage)
29095 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
29096 r=`${PWD_COMMAND}`; export r; \
29097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29098 $(NORMAL_TARGET_EXPORTS) \
29099 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
29100 for flag in $(EXTRA_TARGET_FLAGS); do \
29101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29102 done; \
29103 (cd $(TARGET_SUBDIR)/libmudflap && \
29104 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29105 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29106 "RANLIB=$${RANLIB}" \
29107 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29108 maintainer-clean) \
29109 || exit 1
29111 @endif target-libmudflap
29115 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29116 @if target-libssp
29117 $(TARGET_SUBDIR)/libssp/multilib.out: multilib.out
29118 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29119 rm -f $(TARGET_SUBDIR)/libssp/Makefile || : ; \
29120 cp multilib.out $(TARGET_SUBDIR)/libssp/multilib.out
29121 @endif target-libssp
29125 .PHONY: configure-target-libssp maybe-configure-target-libssp
29126 maybe-configure-target-libssp:
29127 @if target-libssp
29128 maybe-configure-target-libssp: configure-target-libssp
29129 configure-target-libssp: $(TARGET_SUBDIR)/libssp/multilib.out
29130 @$(unstage)
29131 @test ! -f $(TARGET_SUBDIR)/libssp/Makefile || exit 0; \
29132 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libssp ; \
29133 r=`${PWD_COMMAND}`; export r; \
29134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29135 $(NORMAL_TARGET_EXPORTS) \
29136 echo Configuring in $(TARGET_SUBDIR)/libssp; \
29137 cd "$(TARGET_SUBDIR)/libssp" || exit 1; \
29138 case $(srcdir) in \
29139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29140 *) topdir=`echo $(TARGET_SUBDIR)/libssp/ | \
29141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29142 esac; \
29143 srcdiroption="--srcdir=$${topdir}/libssp"; \
29144 libsrcdir="$$s/libssp"; \
29145 rm -f no-such-file || : ; \
29146 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29147 $(TARGET_CONFIGARGS) $${srcdiroption} \
29148 || exit 1
29149 @endif target-libssp
29155 .PHONY: all-target-libssp maybe-all-target-libssp
29156 maybe-all-target-libssp:
29157 @if target-libssp
29158 TARGET-target-libssp=all
29159 maybe-all-target-libssp: all-target-libssp
29160 all-target-libssp: configure-target-libssp
29161 @$(unstage)
29162 @r=`${PWD_COMMAND}`; export r; \
29163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29164 $(NORMAL_TARGET_EXPORTS) \
29165 (cd $(TARGET_SUBDIR)/libssp && \
29166 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libssp))
29167 @endif target-libssp
29173 .PHONY: check-target-libssp maybe-check-target-libssp
29174 maybe-check-target-libssp:
29175 @if target-libssp
29176 maybe-check-target-libssp: check-target-libssp
29178 check-target-libssp:
29179 @$(unstage)
29180 @r=`${PWD_COMMAND}`; export r; \
29181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29182 $(NORMAL_TARGET_EXPORTS) \
29183 (cd $(TARGET_SUBDIR)/libssp && \
29184 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29186 @endif target-libssp
29188 .PHONY: install-target-libssp maybe-install-target-libssp
29189 maybe-install-target-libssp:
29190 @if target-libssp
29191 maybe-install-target-libssp: install-target-libssp
29193 install-target-libssp: installdirs
29194 @$(unstage)
29195 @r=`${PWD_COMMAND}`; export r; \
29196 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29197 $(NORMAL_TARGET_EXPORTS) \
29198 (cd $(TARGET_SUBDIR)/libssp && \
29199 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29201 @endif target-libssp
29203 # Other targets (info, dvi, etc.)
29205 .PHONY: maybe-info-target-libssp info-target-libssp
29206 maybe-info-target-libssp:
29207 @if target-libssp
29208 maybe-info-target-libssp: info-target-libssp
29210 info-target-libssp: \
29211 configure-target-libssp
29212 @$(unstage)
29213 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29214 r=`${PWD_COMMAND}`; export r; \
29215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29216 $(NORMAL_TARGET_EXPORTS) \
29217 echo "Doing info in $(TARGET_SUBDIR)/libssp" ; \
29218 for flag in $(EXTRA_TARGET_FLAGS); do \
29219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29220 done; \
29221 (cd $(TARGET_SUBDIR)/libssp && \
29222 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29223 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29224 "RANLIB=$${RANLIB}" \
29225 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29226 info) \
29227 || exit 1
29229 @endif target-libssp
29231 .PHONY: maybe-dvi-target-libssp dvi-target-libssp
29232 maybe-dvi-target-libssp:
29233 @if target-libssp
29234 maybe-dvi-target-libssp: dvi-target-libssp
29236 dvi-target-libssp: \
29237 configure-target-libssp
29238 @$(unstage)
29239 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29240 r=`${PWD_COMMAND}`; export r; \
29241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29242 $(NORMAL_TARGET_EXPORTS) \
29243 echo "Doing dvi in $(TARGET_SUBDIR)/libssp" ; \
29244 for flag in $(EXTRA_TARGET_FLAGS); do \
29245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29246 done; \
29247 (cd $(TARGET_SUBDIR)/libssp && \
29248 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29249 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29250 "RANLIB=$${RANLIB}" \
29251 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29252 dvi) \
29253 || exit 1
29255 @endif target-libssp
29257 .PHONY: maybe-html-target-libssp html-target-libssp
29258 maybe-html-target-libssp:
29259 @if target-libssp
29260 maybe-html-target-libssp: html-target-libssp
29262 html-target-libssp: \
29263 configure-target-libssp
29264 @$(unstage)
29265 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29266 r=`${PWD_COMMAND}`; export r; \
29267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29268 $(NORMAL_TARGET_EXPORTS) \
29269 echo "Doing html in $(TARGET_SUBDIR)/libssp" ; \
29270 for flag in $(EXTRA_TARGET_FLAGS); do \
29271 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29272 done; \
29273 (cd $(TARGET_SUBDIR)/libssp && \
29274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29276 "RANLIB=$${RANLIB}" \
29277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29278 html) \
29279 || exit 1
29281 @endif target-libssp
29283 .PHONY: maybe-TAGS-target-libssp TAGS-target-libssp
29284 maybe-TAGS-target-libssp:
29285 @if target-libssp
29286 maybe-TAGS-target-libssp: TAGS-target-libssp
29288 TAGS-target-libssp: \
29289 configure-target-libssp
29290 @$(unstage)
29291 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29292 r=`${PWD_COMMAND}`; export r; \
29293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29294 $(NORMAL_TARGET_EXPORTS) \
29295 echo "Doing TAGS in $(TARGET_SUBDIR)/libssp" ; \
29296 for flag in $(EXTRA_TARGET_FLAGS); do \
29297 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29298 done; \
29299 (cd $(TARGET_SUBDIR)/libssp && \
29300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29302 "RANLIB=$${RANLIB}" \
29303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29304 TAGS) \
29305 || exit 1
29307 @endif target-libssp
29309 .PHONY: maybe-install-info-target-libssp install-info-target-libssp
29310 maybe-install-info-target-libssp:
29311 @if target-libssp
29312 maybe-install-info-target-libssp: install-info-target-libssp
29314 install-info-target-libssp: \
29315 configure-target-libssp \
29316 info-target-libssp
29317 @$(unstage)
29318 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29319 r=`${PWD_COMMAND}`; export r; \
29320 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29321 $(NORMAL_TARGET_EXPORTS) \
29322 echo "Doing install-info in $(TARGET_SUBDIR)/libssp" ; \
29323 for flag in $(EXTRA_TARGET_FLAGS); do \
29324 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29325 done; \
29326 (cd $(TARGET_SUBDIR)/libssp && \
29327 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29328 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29329 "RANLIB=$${RANLIB}" \
29330 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29331 install-info) \
29332 || exit 1
29334 @endif target-libssp
29336 .PHONY: maybe-installcheck-target-libssp installcheck-target-libssp
29337 maybe-installcheck-target-libssp:
29338 @if target-libssp
29339 maybe-installcheck-target-libssp: installcheck-target-libssp
29341 installcheck-target-libssp: \
29342 configure-target-libssp
29343 @$(unstage)
29344 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29345 r=`${PWD_COMMAND}`; export r; \
29346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29347 $(NORMAL_TARGET_EXPORTS) \
29348 echo "Doing installcheck in $(TARGET_SUBDIR)/libssp" ; \
29349 for flag in $(EXTRA_TARGET_FLAGS); do \
29350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29351 done; \
29352 (cd $(TARGET_SUBDIR)/libssp && \
29353 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29354 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29355 "RANLIB=$${RANLIB}" \
29356 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29357 installcheck) \
29358 || exit 1
29360 @endif target-libssp
29362 .PHONY: maybe-mostlyclean-target-libssp mostlyclean-target-libssp
29363 maybe-mostlyclean-target-libssp:
29364 @if target-libssp
29365 maybe-mostlyclean-target-libssp: mostlyclean-target-libssp
29367 mostlyclean-target-libssp:
29368 @$(unstage)
29369 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29370 r=`${PWD_COMMAND}`; export r; \
29371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29372 $(NORMAL_TARGET_EXPORTS) \
29373 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libssp" ; \
29374 for flag in $(EXTRA_TARGET_FLAGS); do \
29375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29376 done; \
29377 (cd $(TARGET_SUBDIR)/libssp && \
29378 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29379 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29380 "RANLIB=$${RANLIB}" \
29381 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29382 mostlyclean) \
29383 || exit 1
29385 @endif target-libssp
29387 .PHONY: maybe-clean-target-libssp clean-target-libssp
29388 maybe-clean-target-libssp:
29389 @if target-libssp
29390 maybe-clean-target-libssp: clean-target-libssp
29392 clean-target-libssp:
29393 @$(unstage)
29394 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29395 r=`${PWD_COMMAND}`; export r; \
29396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29397 $(NORMAL_TARGET_EXPORTS) \
29398 echo "Doing clean in $(TARGET_SUBDIR)/libssp" ; \
29399 for flag in $(EXTRA_TARGET_FLAGS); do \
29400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29401 done; \
29402 (cd $(TARGET_SUBDIR)/libssp && \
29403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29405 "RANLIB=$${RANLIB}" \
29406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29407 clean) \
29408 || exit 1
29410 @endif target-libssp
29412 .PHONY: maybe-distclean-target-libssp distclean-target-libssp
29413 maybe-distclean-target-libssp:
29414 @if target-libssp
29415 maybe-distclean-target-libssp: distclean-target-libssp
29417 distclean-target-libssp:
29418 @$(unstage)
29419 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29420 r=`${PWD_COMMAND}`; export r; \
29421 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29422 $(NORMAL_TARGET_EXPORTS) \
29423 echo "Doing distclean in $(TARGET_SUBDIR)/libssp" ; \
29424 for flag in $(EXTRA_TARGET_FLAGS); do \
29425 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29426 done; \
29427 (cd $(TARGET_SUBDIR)/libssp && \
29428 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29429 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29430 "RANLIB=$${RANLIB}" \
29431 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29432 distclean) \
29433 || exit 1
29435 @endif target-libssp
29437 .PHONY: maybe-maintainer-clean-target-libssp maintainer-clean-target-libssp
29438 maybe-maintainer-clean-target-libssp:
29439 @if target-libssp
29440 maybe-maintainer-clean-target-libssp: maintainer-clean-target-libssp
29442 maintainer-clean-target-libssp:
29443 @$(unstage)
29444 @[ -f $(TARGET_SUBDIR)/libssp/Makefile ] || exit 0 ; \
29445 r=`${PWD_COMMAND}`; export r; \
29446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29447 $(NORMAL_TARGET_EXPORTS) \
29448 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libssp" ; \
29449 for flag in $(EXTRA_TARGET_FLAGS); do \
29450 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29451 done; \
29452 (cd $(TARGET_SUBDIR)/libssp && \
29453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29455 "RANLIB=$${RANLIB}" \
29456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29457 maintainer-clean) \
29458 || exit 1
29460 @endif target-libssp
29464 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29465 @if target-newlib
29466 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
29467 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29468 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
29469 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
29470 @endif target-newlib
29474 .PHONY: configure-target-newlib maybe-configure-target-newlib
29475 maybe-configure-target-newlib:
29476 @if target-newlib
29477 maybe-configure-target-newlib: configure-target-newlib
29478 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
29479 @$(unstage)
29480 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
29481 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
29482 r=`${PWD_COMMAND}`; export r; \
29483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29484 $(NORMAL_TARGET_EXPORTS) \
29485 echo Configuring in $(TARGET_SUBDIR)/newlib; \
29486 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
29487 case $(srcdir) in \
29488 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29489 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
29490 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29491 esac; \
29492 srcdiroption="--srcdir=$${topdir}/newlib"; \
29493 libsrcdir="$$s/newlib"; \
29494 rm -f no-such-file || : ; \
29495 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29496 $(TARGET_CONFIGARGS) $${srcdiroption} \
29497 || exit 1
29498 @endif target-newlib
29504 .PHONY: all-target-newlib maybe-all-target-newlib
29505 maybe-all-target-newlib:
29506 @if target-newlib
29507 TARGET-target-newlib=all
29508 maybe-all-target-newlib: all-target-newlib
29509 all-target-newlib: configure-target-newlib
29510 @$(unstage)
29511 @r=`${PWD_COMMAND}`; export r; \
29512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29513 $(NORMAL_TARGET_EXPORTS) \
29514 (cd $(TARGET_SUBDIR)/newlib && \
29515 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
29516 @endif target-newlib
29522 .PHONY: check-target-newlib maybe-check-target-newlib
29523 maybe-check-target-newlib:
29524 @if target-newlib
29525 maybe-check-target-newlib: check-target-newlib
29527 check-target-newlib:
29528 @$(unstage)
29529 @r=`${PWD_COMMAND}`; export r; \
29530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29531 $(NORMAL_TARGET_EXPORTS) \
29532 (cd $(TARGET_SUBDIR)/newlib && \
29533 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29535 @endif target-newlib
29537 .PHONY: install-target-newlib maybe-install-target-newlib
29538 maybe-install-target-newlib:
29539 @if target-newlib
29540 maybe-install-target-newlib: install-target-newlib
29542 install-target-newlib: installdirs
29543 @$(unstage)
29544 @r=`${PWD_COMMAND}`; export r; \
29545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29546 $(NORMAL_TARGET_EXPORTS) \
29547 (cd $(TARGET_SUBDIR)/newlib && \
29548 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29550 @endif target-newlib
29552 # Other targets (info, dvi, etc.)
29554 .PHONY: maybe-info-target-newlib info-target-newlib
29555 maybe-info-target-newlib:
29556 @if target-newlib
29557 maybe-info-target-newlib: info-target-newlib
29559 info-target-newlib: \
29560 configure-target-newlib
29561 @$(unstage)
29562 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29563 r=`${PWD_COMMAND}`; export r; \
29564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29565 $(NORMAL_TARGET_EXPORTS) \
29566 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
29567 for flag in $(EXTRA_TARGET_FLAGS); do \
29568 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29569 done; \
29570 (cd $(TARGET_SUBDIR)/newlib && \
29571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29573 "RANLIB=$${RANLIB}" \
29574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29575 info) \
29576 || exit 1
29578 @endif target-newlib
29580 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
29581 maybe-dvi-target-newlib:
29582 @if target-newlib
29583 maybe-dvi-target-newlib: dvi-target-newlib
29585 dvi-target-newlib: \
29586 configure-target-newlib
29587 @$(unstage)
29588 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29589 r=`${PWD_COMMAND}`; export r; \
29590 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29591 $(NORMAL_TARGET_EXPORTS) \
29592 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
29593 for flag in $(EXTRA_TARGET_FLAGS); do \
29594 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29595 done; \
29596 (cd $(TARGET_SUBDIR)/newlib && \
29597 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29598 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29599 "RANLIB=$${RANLIB}" \
29600 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29601 dvi) \
29602 || exit 1
29604 @endif target-newlib
29606 .PHONY: maybe-html-target-newlib html-target-newlib
29607 maybe-html-target-newlib:
29608 @if target-newlib
29609 maybe-html-target-newlib: html-target-newlib
29611 html-target-newlib: \
29612 configure-target-newlib
29613 @$(unstage)
29614 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29615 r=`${PWD_COMMAND}`; export r; \
29616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29617 $(NORMAL_TARGET_EXPORTS) \
29618 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
29619 for flag in $(EXTRA_TARGET_FLAGS); do \
29620 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29621 done; \
29622 (cd $(TARGET_SUBDIR)/newlib && \
29623 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29624 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29625 "RANLIB=$${RANLIB}" \
29626 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29627 html) \
29628 || exit 1
29630 @endif target-newlib
29632 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
29633 maybe-TAGS-target-newlib:
29634 @if target-newlib
29635 maybe-TAGS-target-newlib: TAGS-target-newlib
29637 TAGS-target-newlib: \
29638 configure-target-newlib
29639 @$(unstage)
29640 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29641 r=`${PWD_COMMAND}`; export r; \
29642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29643 $(NORMAL_TARGET_EXPORTS) \
29644 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
29645 for flag in $(EXTRA_TARGET_FLAGS); do \
29646 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29647 done; \
29648 (cd $(TARGET_SUBDIR)/newlib && \
29649 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29650 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29651 "RANLIB=$${RANLIB}" \
29652 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29653 TAGS) \
29654 || exit 1
29656 @endif target-newlib
29658 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
29659 maybe-install-info-target-newlib:
29660 @if target-newlib
29661 maybe-install-info-target-newlib: install-info-target-newlib
29663 install-info-target-newlib: \
29664 configure-target-newlib \
29665 info-target-newlib
29666 @$(unstage)
29667 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29668 r=`${PWD_COMMAND}`; export r; \
29669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29670 $(NORMAL_TARGET_EXPORTS) \
29671 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
29672 for flag in $(EXTRA_TARGET_FLAGS); do \
29673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29674 done; \
29675 (cd $(TARGET_SUBDIR)/newlib && \
29676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29678 "RANLIB=$${RANLIB}" \
29679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29680 install-info) \
29681 || exit 1
29683 @endif target-newlib
29685 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
29686 maybe-installcheck-target-newlib:
29687 @if target-newlib
29688 maybe-installcheck-target-newlib: installcheck-target-newlib
29690 installcheck-target-newlib: \
29691 configure-target-newlib
29692 @$(unstage)
29693 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29694 r=`${PWD_COMMAND}`; export r; \
29695 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29696 $(NORMAL_TARGET_EXPORTS) \
29697 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
29698 for flag in $(EXTRA_TARGET_FLAGS); do \
29699 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29700 done; \
29701 (cd $(TARGET_SUBDIR)/newlib && \
29702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29704 "RANLIB=$${RANLIB}" \
29705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29706 installcheck) \
29707 || exit 1
29709 @endif target-newlib
29711 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
29712 maybe-mostlyclean-target-newlib:
29713 @if target-newlib
29714 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
29716 mostlyclean-target-newlib:
29717 @$(unstage)
29718 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29719 r=`${PWD_COMMAND}`; export r; \
29720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29721 $(NORMAL_TARGET_EXPORTS) \
29722 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
29723 for flag in $(EXTRA_TARGET_FLAGS); do \
29724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29725 done; \
29726 (cd $(TARGET_SUBDIR)/newlib && \
29727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29729 "RANLIB=$${RANLIB}" \
29730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29731 mostlyclean) \
29732 || exit 1
29734 @endif target-newlib
29736 .PHONY: maybe-clean-target-newlib clean-target-newlib
29737 maybe-clean-target-newlib:
29738 @if target-newlib
29739 maybe-clean-target-newlib: clean-target-newlib
29741 clean-target-newlib:
29742 @$(unstage)
29743 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(NORMAL_TARGET_EXPORTS) \
29747 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
29748 for flag in $(EXTRA_TARGET_FLAGS); do \
29749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29750 done; \
29751 (cd $(TARGET_SUBDIR)/newlib && \
29752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29754 "RANLIB=$${RANLIB}" \
29755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29756 clean) \
29757 || exit 1
29759 @endif target-newlib
29761 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
29762 maybe-distclean-target-newlib:
29763 @if target-newlib
29764 maybe-distclean-target-newlib: distclean-target-newlib
29766 distclean-target-newlib:
29767 @$(unstage)
29768 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29769 r=`${PWD_COMMAND}`; export r; \
29770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29771 $(NORMAL_TARGET_EXPORTS) \
29772 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
29773 for flag in $(EXTRA_TARGET_FLAGS); do \
29774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29775 done; \
29776 (cd $(TARGET_SUBDIR)/newlib && \
29777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29779 "RANLIB=$${RANLIB}" \
29780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29781 distclean) \
29782 || exit 1
29784 @endif target-newlib
29786 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
29787 maybe-maintainer-clean-target-newlib:
29788 @if target-newlib
29789 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
29791 maintainer-clean-target-newlib:
29792 @$(unstage)
29793 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
29794 r=`${PWD_COMMAND}`; export r; \
29795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29796 $(NORMAL_TARGET_EXPORTS) \
29797 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
29798 for flag in $(EXTRA_TARGET_FLAGS); do \
29799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29800 done; \
29801 (cd $(TARGET_SUBDIR)/newlib && \
29802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29804 "RANLIB=$${RANLIB}" \
29805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29806 maintainer-clean) \
29807 || exit 1
29809 @endif target-newlib
29813 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29814 @if target-libgfortran
29815 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
29816 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29817 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
29818 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
29819 @endif target-libgfortran
29823 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
29824 maybe-configure-target-libgfortran:
29825 @if target-libgfortran
29826 maybe-configure-target-libgfortran: configure-target-libgfortran
29827 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
29828 @$(unstage)
29829 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
29830 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
29831 r=`${PWD_COMMAND}`; export r; \
29832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29833 $(NORMAL_TARGET_EXPORTS) \
29834 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
29835 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
29836 case $(srcdir) in \
29837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29838 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
29839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29840 esac; \
29841 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
29842 libsrcdir="$$s/libgfortran"; \
29843 rm -f no-such-file || : ; \
29844 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29845 $(TARGET_CONFIGARGS) $${srcdiroption} \
29846 || exit 1
29847 @endif target-libgfortran
29853 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
29854 maybe-all-target-libgfortran:
29855 @if target-libgfortran
29856 TARGET-target-libgfortran=all
29857 maybe-all-target-libgfortran: all-target-libgfortran
29858 all-target-libgfortran: configure-target-libgfortran
29859 @$(unstage)
29860 @r=`${PWD_COMMAND}`; export r; \
29861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29862 $(NORMAL_TARGET_EXPORTS) \
29863 (cd $(TARGET_SUBDIR)/libgfortran && \
29864 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
29865 @endif target-libgfortran
29871 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
29872 maybe-check-target-libgfortran:
29873 @if target-libgfortran
29874 maybe-check-target-libgfortran: check-target-libgfortran
29876 check-target-libgfortran:
29877 @$(unstage)
29878 @r=`${PWD_COMMAND}`; export r; \
29879 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29880 $(NORMAL_TARGET_EXPORTS) \
29881 (cd $(TARGET_SUBDIR)/libgfortran && \
29882 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29884 @endif target-libgfortran
29886 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
29887 maybe-install-target-libgfortran:
29888 @if target-libgfortran
29889 maybe-install-target-libgfortran: install-target-libgfortran
29891 install-target-libgfortran: installdirs
29892 @$(unstage)
29893 @r=`${PWD_COMMAND}`; export r; \
29894 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29895 $(NORMAL_TARGET_EXPORTS) \
29896 (cd $(TARGET_SUBDIR)/libgfortran && \
29897 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29899 @endif target-libgfortran
29901 # Other targets (info, dvi, etc.)
29903 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
29904 maybe-info-target-libgfortran:
29905 @if target-libgfortran
29906 maybe-info-target-libgfortran: info-target-libgfortran
29908 info-target-libgfortran: \
29909 configure-target-libgfortran
29910 @$(unstage)
29911 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29912 r=`${PWD_COMMAND}`; export r; \
29913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29914 $(NORMAL_TARGET_EXPORTS) \
29915 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
29916 for flag in $(EXTRA_TARGET_FLAGS); do \
29917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29918 done; \
29919 (cd $(TARGET_SUBDIR)/libgfortran && \
29920 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29921 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29922 "RANLIB=$${RANLIB}" \
29923 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29924 info) \
29925 || exit 1
29927 @endif target-libgfortran
29929 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
29930 maybe-dvi-target-libgfortran:
29931 @if target-libgfortran
29932 maybe-dvi-target-libgfortran: dvi-target-libgfortran
29934 dvi-target-libgfortran: \
29935 configure-target-libgfortran
29936 @$(unstage)
29937 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29938 r=`${PWD_COMMAND}`; export r; \
29939 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29940 $(NORMAL_TARGET_EXPORTS) \
29941 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
29942 for flag in $(EXTRA_TARGET_FLAGS); do \
29943 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29944 done; \
29945 (cd $(TARGET_SUBDIR)/libgfortran && \
29946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29948 "RANLIB=$${RANLIB}" \
29949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29950 dvi) \
29951 || exit 1
29953 @endif target-libgfortran
29955 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
29956 maybe-html-target-libgfortran:
29957 @if target-libgfortran
29958 maybe-html-target-libgfortran: html-target-libgfortran
29960 html-target-libgfortran: \
29961 configure-target-libgfortran
29962 @$(unstage)
29963 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29964 r=`${PWD_COMMAND}`; export r; \
29965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29966 $(NORMAL_TARGET_EXPORTS) \
29967 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
29968 for flag in $(EXTRA_TARGET_FLAGS); do \
29969 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29970 done; \
29971 (cd $(TARGET_SUBDIR)/libgfortran && \
29972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29974 "RANLIB=$${RANLIB}" \
29975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29976 html) \
29977 || exit 1
29979 @endif target-libgfortran
29981 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
29982 maybe-TAGS-target-libgfortran:
29983 @if target-libgfortran
29984 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
29986 TAGS-target-libgfortran: \
29987 configure-target-libgfortran
29988 @$(unstage)
29989 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
29990 r=`${PWD_COMMAND}`; export r; \
29991 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29992 $(NORMAL_TARGET_EXPORTS) \
29993 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
29994 for flag in $(EXTRA_TARGET_FLAGS); do \
29995 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29996 done; \
29997 (cd $(TARGET_SUBDIR)/libgfortran && \
29998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30000 "RANLIB=$${RANLIB}" \
30001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30002 TAGS) \
30003 || exit 1
30005 @endif target-libgfortran
30007 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
30008 maybe-install-info-target-libgfortran:
30009 @if target-libgfortran
30010 maybe-install-info-target-libgfortran: install-info-target-libgfortran
30012 install-info-target-libgfortran: \
30013 configure-target-libgfortran \
30014 info-target-libgfortran
30015 @$(unstage)
30016 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30017 r=`${PWD_COMMAND}`; export r; \
30018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30019 $(NORMAL_TARGET_EXPORTS) \
30020 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
30021 for flag in $(EXTRA_TARGET_FLAGS); do \
30022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30023 done; \
30024 (cd $(TARGET_SUBDIR)/libgfortran && \
30025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30027 "RANLIB=$${RANLIB}" \
30028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30029 install-info) \
30030 || exit 1
30032 @endif target-libgfortran
30034 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
30035 maybe-installcheck-target-libgfortran:
30036 @if target-libgfortran
30037 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
30039 installcheck-target-libgfortran: \
30040 configure-target-libgfortran
30041 @$(unstage)
30042 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30043 r=`${PWD_COMMAND}`; export r; \
30044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30045 $(NORMAL_TARGET_EXPORTS) \
30046 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
30047 for flag in $(EXTRA_TARGET_FLAGS); do \
30048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30049 done; \
30050 (cd $(TARGET_SUBDIR)/libgfortran && \
30051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30053 "RANLIB=$${RANLIB}" \
30054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30055 installcheck) \
30056 || exit 1
30058 @endif target-libgfortran
30060 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
30061 maybe-mostlyclean-target-libgfortran:
30062 @if target-libgfortran
30063 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
30065 mostlyclean-target-libgfortran:
30066 @$(unstage)
30067 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30068 r=`${PWD_COMMAND}`; export r; \
30069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30070 $(NORMAL_TARGET_EXPORTS) \
30071 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
30072 for flag in $(EXTRA_TARGET_FLAGS); do \
30073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30074 done; \
30075 (cd $(TARGET_SUBDIR)/libgfortran && \
30076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30078 "RANLIB=$${RANLIB}" \
30079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30080 mostlyclean) \
30081 || exit 1
30083 @endif target-libgfortran
30085 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
30086 maybe-clean-target-libgfortran:
30087 @if target-libgfortran
30088 maybe-clean-target-libgfortran: clean-target-libgfortran
30090 clean-target-libgfortran:
30091 @$(unstage)
30092 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30093 r=`${PWD_COMMAND}`; export r; \
30094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30095 $(NORMAL_TARGET_EXPORTS) \
30096 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
30097 for flag in $(EXTRA_TARGET_FLAGS); do \
30098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30099 done; \
30100 (cd $(TARGET_SUBDIR)/libgfortran && \
30101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30103 "RANLIB=$${RANLIB}" \
30104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30105 clean) \
30106 || exit 1
30108 @endif target-libgfortran
30110 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
30111 maybe-distclean-target-libgfortran:
30112 @if target-libgfortran
30113 maybe-distclean-target-libgfortran: distclean-target-libgfortran
30115 distclean-target-libgfortran:
30116 @$(unstage)
30117 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30118 r=`${PWD_COMMAND}`; export r; \
30119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30120 $(NORMAL_TARGET_EXPORTS) \
30121 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
30122 for flag in $(EXTRA_TARGET_FLAGS); do \
30123 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30124 done; \
30125 (cd $(TARGET_SUBDIR)/libgfortran && \
30126 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30127 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30128 "RANLIB=$${RANLIB}" \
30129 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30130 distclean) \
30131 || exit 1
30133 @endif target-libgfortran
30135 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
30136 maybe-maintainer-clean-target-libgfortran:
30137 @if target-libgfortran
30138 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
30140 maintainer-clean-target-libgfortran:
30141 @$(unstage)
30142 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
30143 r=`${PWD_COMMAND}`; export r; \
30144 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30145 $(NORMAL_TARGET_EXPORTS) \
30146 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
30147 for flag in $(EXTRA_TARGET_FLAGS); do \
30148 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30149 done; \
30150 (cd $(TARGET_SUBDIR)/libgfortran && \
30151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30153 "RANLIB=$${RANLIB}" \
30154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30155 maintainer-clean) \
30156 || exit 1
30158 @endif target-libgfortran
30162 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30163 @if target-libobjc
30164 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
30165 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30166 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
30167 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
30168 @endif target-libobjc
30172 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
30173 maybe-configure-target-libobjc:
30174 @if target-libobjc
30175 maybe-configure-target-libobjc: configure-target-libobjc
30176 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
30177 @$(unstage)
30178 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
30179 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
30180 r=`${PWD_COMMAND}`; export r; \
30181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30182 $(NORMAL_TARGET_EXPORTS) \
30183 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
30184 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
30185 case $(srcdir) in \
30186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30187 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
30188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30189 esac; \
30190 srcdiroption="--srcdir=$${topdir}/libobjc"; \
30191 libsrcdir="$$s/libobjc"; \
30192 rm -f no-such-file || : ; \
30193 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30194 $(TARGET_CONFIGARGS) $${srcdiroption} \
30195 || exit 1
30196 @endif target-libobjc
30202 .PHONY: all-target-libobjc maybe-all-target-libobjc
30203 maybe-all-target-libobjc:
30204 @if target-libobjc
30205 TARGET-target-libobjc=all
30206 maybe-all-target-libobjc: all-target-libobjc
30207 all-target-libobjc: configure-target-libobjc
30208 @$(unstage)
30209 @r=`${PWD_COMMAND}`; export r; \
30210 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30211 $(NORMAL_TARGET_EXPORTS) \
30212 (cd $(TARGET_SUBDIR)/libobjc && \
30213 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
30214 @endif target-libobjc
30220 .PHONY: check-target-libobjc maybe-check-target-libobjc
30221 maybe-check-target-libobjc:
30222 @if target-libobjc
30223 maybe-check-target-libobjc: check-target-libobjc
30225 check-target-libobjc:
30226 @$(unstage)
30227 @r=`${PWD_COMMAND}`; export r; \
30228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30229 $(NORMAL_TARGET_EXPORTS) \
30230 (cd $(TARGET_SUBDIR)/libobjc && \
30231 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30233 @endif target-libobjc
30235 .PHONY: install-target-libobjc maybe-install-target-libobjc
30236 maybe-install-target-libobjc:
30237 @if target-libobjc
30238 maybe-install-target-libobjc: install-target-libobjc
30240 install-target-libobjc: installdirs
30241 @$(unstage)
30242 @r=`${PWD_COMMAND}`; export r; \
30243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30244 $(NORMAL_TARGET_EXPORTS) \
30245 (cd $(TARGET_SUBDIR)/libobjc && \
30246 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30248 @endif target-libobjc
30250 # Other targets (info, dvi, etc.)
30252 .PHONY: maybe-info-target-libobjc info-target-libobjc
30253 maybe-info-target-libobjc:
30254 @if target-libobjc
30255 maybe-info-target-libobjc: info-target-libobjc
30257 info-target-libobjc: \
30258 configure-target-libobjc
30259 @$(unstage)
30260 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30261 r=`${PWD_COMMAND}`; export r; \
30262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30263 $(NORMAL_TARGET_EXPORTS) \
30264 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
30265 for flag in $(EXTRA_TARGET_FLAGS); do \
30266 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30267 done; \
30268 (cd $(TARGET_SUBDIR)/libobjc && \
30269 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30270 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30271 "RANLIB=$${RANLIB}" \
30272 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30273 info) \
30274 || exit 1
30276 @endif target-libobjc
30278 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
30279 maybe-dvi-target-libobjc:
30280 @if target-libobjc
30281 maybe-dvi-target-libobjc: dvi-target-libobjc
30283 dvi-target-libobjc: \
30284 configure-target-libobjc
30285 @$(unstage)
30286 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30287 r=`${PWD_COMMAND}`; export r; \
30288 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30289 $(NORMAL_TARGET_EXPORTS) \
30290 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
30291 for flag in $(EXTRA_TARGET_FLAGS); do \
30292 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30293 done; \
30294 (cd $(TARGET_SUBDIR)/libobjc && \
30295 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30296 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30297 "RANLIB=$${RANLIB}" \
30298 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30299 dvi) \
30300 || exit 1
30302 @endif target-libobjc
30304 .PHONY: maybe-html-target-libobjc html-target-libobjc
30305 maybe-html-target-libobjc:
30306 @if target-libobjc
30307 maybe-html-target-libobjc: html-target-libobjc
30309 html-target-libobjc: \
30310 configure-target-libobjc
30311 @$(unstage)
30312 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30313 r=`${PWD_COMMAND}`; export r; \
30314 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30315 $(NORMAL_TARGET_EXPORTS) \
30316 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
30317 for flag in $(EXTRA_TARGET_FLAGS); do \
30318 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30319 done; \
30320 (cd $(TARGET_SUBDIR)/libobjc && \
30321 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30322 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30323 "RANLIB=$${RANLIB}" \
30324 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30325 html) \
30326 || exit 1
30328 @endif target-libobjc
30330 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
30331 maybe-TAGS-target-libobjc:
30332 @if target-libobjc
30333 maybe-TAGS-target-libobjc: TAGS-target-libobjc
30335 TAGS-target-libobjc: \
30336 configure-target-libobjc
30337 @$(unstage)
30338 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30339 r=`${PWD_COMMAND}`; export r; \
30340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30341 $(NORMAL_TARGET_EXPORTS) \
30342 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
30343 for flag in $(EXTRA_TARGET_FLAGS); do \
30344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30345 done; \
30346 (cd $(TARGET_SUBDIR)/libobjc && \
30347 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30348 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30349 "RANLIB=$${RANLIB}" \
30350 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30351 TAGS) \
30352 || exit 1
30354 @endif target-libobjc
30356 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
30357 maybe-install-info-target-libobjc:
30358 @if target-libobjc
30359 maybe-install-info-target-libobjc: install-info-target-libobjc
30361 install-info-target-libobjc: \
30362 configure-target-libobjc \
30363 info-target-libobjc
30364 @$(unstage)
30365 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30366 r=`${PWD_COMMAND}`; export r; \
30367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30368 $(NORMAL_TARGET_EXPORTS) \
30369 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
30370 for flag in $(EXTRA_TARGET_FLAGS); do \
30371 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30372 done; \
30373 (cd $(TARGET_SUBDIR)/libobjc && \
30374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30376 "RANLIB=$${RANLIB}" \
30377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30378 install-info) \
30379 || exit 1
30381 @endif target-libobjc
30383 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
30384 maybe-installcheck-target-libobjc:
30385 @if target-libobjc
30386 maybe-installcheck-target-libobjc: installcheck-target-libobjc
30388 installcheck-target-libobjc: \
30389 configure-target-libobjc
30390 @$(unstage)
30391 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30392 r=`${PWD_COMMAND}`; export r; \
30393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30394 $(NORMAL_TARGET_EXPORTS) \
30395 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
30396 for flag in $(EXTRA_TARGET_FLAGS); do \
30397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30398 done; \
30399 (cd $(TARGET_SUBDIR)/libobjc && \
30400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30402 "RANLIB=$${RANLIB}" \
30403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30404 installcheck) \
30405 || exit 1
30407 @endif target-libobjc
30409 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
30410 maybe-mostlyclean-target-libobjc:
30411 @if target-libobjc
30412 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
30414 mostlyclean-target-libobjc:
30415 @$(unstage)
30416 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30417 r=`${PWD_COMMAND}`; export r; \
30418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30419 $(NORMAL_TARGET_EXPORTS) \
30420 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
30421 for flag in $(EXTRA_TARGET_FLAGS); do \
30422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30423 done; \
30424 (cd $(TARGET_SUBDIR)/libobjc && \
30425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30427 "RANLIB=$${RANLIB}" \
30428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30429 mostlyclean) \
30430 || exit 1
30432 @endif target-libobjc
30434 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
30435 maybe-clean-target-libobjc:
30436 @if target-libobjc
30437 maybe-clean-target-libobjc: clean-target-libobjc
30439 clean-target-libobjc:
30440 @$(unstage)
30441 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30442 r=`${PWD_COMMAND}`; export r; \
30443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30444 $(NORMAL_TARGET_EXPORTS) \
30445 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
30446 for flag in $(EXTRA_TARGET_FLAGS); do \
30447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30448 done; \
30449 (cd $(TARGET_SUBDIR)/libobjc && \
30450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30452 "RANLIB=$${RANLIB}" \
30453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30454 clean) \
30455 || exit 1
30457 @endif target-libobjc
30459 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
30460 maybe-distclean-target-libobjc:
30461 @if target-libobjc
30462 maybe-distclean-target-libobjc: distclean-target-libobjc
30464 distclean-target-libobjc:
30465 @$(unstage)
30466 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30467 r=`${PWD_COMMAND}`; export r; \
30468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30469 $(NORMAL_TARGET_EXPORTS) \
30470 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
30471 for flag in $(EXTRA_TARGET_FLAGS); do \
30472 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30473 done; \
30474 (cd $(TARGET_SUBDIR)/libobjc && \
30475 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30476 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30477 "RANLIB=$${RANLIB}" \
30478 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30479 distclean) \
30480 || exit 1
30482 @endif target-libobjc
30484 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
30485 maybe-maintainer-clean-target-libobjc:
30486 @if target-libobjc
30487 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
30489 maintainer-clean-target-libobjc:
30490 @$(unstage)
30491 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
30492 r=`${PWD_COMMAND}`; export r; \
30493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30494 $(NORMAL_TARGET_EXPORTS) \
30495 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
30496 for flag in $(EXTRA_TARGET_FLAGS); do \
30497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30498 done; \
30499 (cd $(TARGET_SUBDIR)/libobjc && \
30500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30502 "RANLIB=$${RANLIB}" \
30503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30504 maintainer-clean) \
30505 || exit 1
30507 @endif target-libobjc
30511 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30512 @if target-libtermcap
30513 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
30514 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30515 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
30516 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
30517 @endif target-libtermcap
30521 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
30522 maybe-configure-target-libtermcap:
30523 @if target-libtermcap
30524 maybe-configure-target-libtermcap: configure-target-libtermcap
30525 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
30526 @$(unstage)
30527 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
30528 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
30529 r=`${PWD_COMMAND}`; export r; \
30530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30531 $(NORMAL_TARGET_EXPORTS) \
30532 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
30533 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
30534 case $(srcdir) in \
30535 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30536 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
30537 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30538 esac; \
30539 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
30540 libsrcdir="$$s/libtermcap"; \
30541 rm -f no-such-file || : ; \
30542 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30543 $(TARGET_CONFIGARGS) $${srcdiroption} \
30544 || exit 1
30545 @endif target-libtermcap
30551 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
30552 maybe-all-target-libtermcap:
30553 @if target-libtermcap
30554 TARGET-target-libtermcap=all
30555 maybe-all-target-libtermcap: all-target-libtermcap
30556 all-target-libtermcap: configure-target-libtermcap
30557 @$(unstage)
30558 @r=`${PWD_COMMAND}`; export r; \
30559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30560 $(NORMAL_TARGET_EXPORTS) \
30561 (cd $(TARGET_SUBDIR)/libtermcap && \
30562 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
30563 @endif target-libtermcap
30569 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
30570 maybe-check-target-libtermcap:
30571 @if target-libtermcap
30572 maybe-check-target-libtermcap: check-target-libtermcap
30574 # Dummy target for uncheckable module.
30575 check-target-libtermcap:
30577 @endif target-libtermcap
30579 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
30580 maybe-install-target-libtermcap:
30581 @if target-libtermcap
30582 maybe-install-target-libtermcap: install-target-libtermcap
30584 install-target-libtermcap: installdirs
30585 @$(unstage)
30586 @r=`${PWD_COMMAND}`; export r; \
30587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30588 $(NORMAL_TARGET_EXPORTS) \
30589 (cd $(TARGET_SUBDIR)/libtermcap && \
30590 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30592 @endif target-libtermcap
30594 # Other targets (info, dvi, etc.)
30596 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
30597 maybe-info-target-libtermcap:
30598 @if target-libtermcap
30599 maybe-info-target-libtermcap: info-target-libtermcap
30601 info-target-libtermcap: \
30602 configure-target-libtermcap
30603 @$(unstage)
30604 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30605 r=`${PWD_COMMAND}`; export r; \
30606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30607 $(NORMAL_TARGET_EXPORTS) \
30608 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
30609 for flag in $(EXTRA_TARGET_FLAGS); do \
30610 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30611 done; \
30612 (cd $(TARGET_SUBDIR)/libtermcap && \
30613 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30614 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30615 "RANLIB=$${RANLIB}" \
30616 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30617 info) \
30618 || exit 1
30620 @endif target-libtermcap
30622 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
30623 maybe-dvi-target-libtermcap:
30624 @if target-libtermcap
30625 maybe-dvi-target-libtermcap: dvi-target-libtermcap
30627 dvi-target-libtermcap: \
30628 configure-target-libtermcap
30629 @$(unstage)
30630 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30631 r=`${PWD_COMMAND}`; export r; \
30632 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30633 $(NORMAL_TARGET_EXPORTS) \
30634 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
30635 for flag in $(EXTRA_TARGET_FLAGS); do \
30636 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30637 done; \
30638 (cd $(TARGET_SUBDIR)/libtermcap && \
30639 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30640 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30641 "RANLIB=$${RANLIB}" \
30642 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30643 dvi) \
30644 || exit 1
30646 @endif target-libtermcap
30648 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
30649 maybe-html-target-libtermcap:
30650 @if target-libtermcap
30651 maybe-html-target-libtermcap: html-target-libtermcap
30653 html-target-libtermcap: \
30654 configure-target-libtermcap
30655 @$(unstage)
30656 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30657 r=`${PWD_COMMAND}`; export r; \
30658 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30659 $(NORMAL_TARGET_EXPORTS) \
30660 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
30661 for flag in $(EXTRA_TARGET_FLAGS); do \
30662 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30663 done; \
30664 (cd $(TARGET_SUBDIR)/libtermcap && \
30665 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30666 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30667 "RANLIB=$${RANLIB}" \
30668 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30669 html) \
30670 || exit 1
30672 @endif target-libtermcap
30674 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
30675 maybe-TAGS-target-libtermcap:
30676 @if target-libtermcap
30677 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
30679 TAGS-target-libtermcap: \
30680 configure-target-libtermcap
30681 @$(unstage)
30682 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30683 r=`${PWD_COMMAND}`; export r; \
30684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30685 $(NORMAL_TARGET_EXPORTS) \
30686 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
30687 for flag in $(EXTRA_TARGET_FLAGS); do \
30688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30689 done; \
30690 (cd $(TARGET_SUBDIR)/libtermcap && \
30691 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30692 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30693 "RANLIB=$${RANLIB}" \
30694 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30695 TAGS) \
30696 || exit 1
30698 @endif target-libtermcap
30700 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
30701 maybe-install-info-target-libtermcap:
30702 @if target-libtermcap
30703 maybe-install-info-target-libtermcap: install-info-target-libtermcap
30705 install-info-target-libtermcap: \
30706 configure-target-libtermcap \
30707 info-target-libtermcap
30708 @$(unstage)
30709 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30710 r=`${PWD_COMMAND}`; export r; \
30711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30712 $(NORMAL_TARGET_EXPORTS) \
30713 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
30714 for flag in $(EXTRA_TARGET_FLAGS); do \
30715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30716 done; \
30717 (cd $(TARGET_SUBDIR)/libtermcap && \
30718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30720 "RANLIB=$${RANLIB}" \
30721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30722 install-info) \
30723 || exit 1
30725 @endif target-libtermcap
30727 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
30728 maybe-installcheck-target-libtermcap:
30729 @if target-libtermcap
30730 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
30732 installcheck-target-libtermcap: \
30733 configure-target-libtermcap
30734 @$(unstage)
30735 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
30736 r=`${PWD_COMMAND}`; export r; \
30737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30738 $(NORMAL_TARGET_EXPORTS) \
30739 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
30740 for flag in $(EXTRA_TARGET_FLAGS); do \
30741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30742 done; \
30743 (cd $(TARGET_SUBDIR)/libtermcap && \
30744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30746 "RANLIB=$${RANLIB}" \
30747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30748 installcheck) \
30749 || exit 1
30751 @endif target-libtermcap
30753 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
30754 maybe-mostlyclean-target-libtermcap:
30755 @if target-libtermcap
30756 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
30758 # libtermcap doesn't support mostlyclean.
30759 mostlyclean-target-libtermcap:
30761 @endif target-libtermcap
30763 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
30764 maybe-clean-target-libtermcap:
30765 @if target-libtermcap
30766 maybe-clean-target-libtermcap: clean-target-libtermcap
30768 # libtermcap doesn't support clean.
30769 clean-target-libtermcap:
30771 @endif target-libtermcap
30773 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
30774 maybe-distclean-target-libtermcap:
30775 @if target-libtermcap
30776 maybe-distclean-target-libtermcap: distclean-target-libtermcap
30778 # libtermcap doesn't support distclean.
30779 distclean-target-libtermcap:
30781 @endif target-libtermcap
30783 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
30784 maybe-maintainer-clean-target-libtermcap:
30785 @if target-libtermcap
30786 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
30788 # libtermcap doesn't support maintainer-clean.
30789 maintainer-clean-target-libtermcap:
30791 @endif target-libtermcap
30795 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
30796 @if target-winsup
30797 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
30798 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30799 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
30800 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
30801 @endif target-winsup
30805 .PHONY: configure-target-winsup maybe-configure-target-winsup
30806 maybe-configure-target-winsup:
30807 @if target-winsup
30808 maybe-configure-target-winsup: configure-target-winsup
30809 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
30810 @$(unstage)
30811 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
30812 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
30813 r=`${PWD_COMMAND}`; export r; \
30814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30815 $(NORMAL_TARGET_EXPORTS) \
30816 echo Configuring in $(TARGET_SUBDIR)/winsup; \
30817 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
30818 case $(srcdir) in \
30819 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30820 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
30821 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30822 esac; \
30823 srcdiroption="--srcdir=$${topdir}/winsup"; \
30824 libsrcdir="$$s/winsup"; \
30825 rm -f no-such-file || : ; \
30826 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
30827 $(TARGET_CONFIGARGS) $${srcdiroption} \
30828 || exit 1
30829 @endif target-winsup
30835 .PHONY: all-target-winsup maybe-all-target-winsup
30836 maybe-all-target-winsup:
30837 @if target-winsup
30838 TARGET-target-winsup=all
30839 maybe-all-target-winsup: all-target-winsup
30840 all-target-winsup: configure-target-winsup
30841 @$(unstage)
30842 @r=`${PWD_COMMAND}`; export r; \
30843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30844 $(NORMAL_TARGET_EXPORTS) \
30845 (cd $(TARGET_SUBDIR)/winsup && \
30846 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
30847 @endif target-winsup
30853 .PHONY: check-target-winsup maybe-check-target-winsup
30854 maybe-check-target-winsup:
30855 @if target-winsup
30856 maybe-check-target-winsup: check-target-winsup
30858 check-target-winsup:
30859 @$(unstage)
30860 @r=`${PWD_COMMAND}`; export r; \
30861 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30862 $(NORMAL_TARGET_EXPORTS) \
30863 (cd $(TARGET_SUBDIR)/winsup && \
30864 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30866 @endif target-winsup
30868 .PHONY: install-target-winsup maybe-install-target-winsup
30869 maybe-install-target-winsup:
30870 @if target-winsup
30871 maybe-install-target-winsup: install-target-winsup
30873 install-target-winsup: installdirs
30874 @$(unstage)
30875 @r=`${PWD_COMMAND}`; export r; \
30876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30877 $(NORMAL_TARGET_EXPORTS) \
30878 (cd $(TARGET_SUBDIR)/winsup && \
30879 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30881 @endif target-winsup
30883 # Other targets (info, dvi, etc.)
30885 .PHONY: maybe-info-target-winsup info-target-winsup
30886 maybe-info-target-winsup:
30887 @if target-winsup
30888 maybe-info-target-winsup: info-target-winsup
30890 info-target-winsup: \
30891 configure-target-winsup
30892 @$(unstage)
30893 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30894 r=`${PWD_COMMAND}`; export r; \
30895 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30896 $(NORMAL_TARGET_EXPORTS) \
30897 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
30898 for flag in $(EXTRA_TARGET_FLAGS); do \
30899 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30900 done; \
30901 (cd $(TARGET_SUBDIR)/winsup && \
30902 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30903 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30904 "RANLIB=$${RANLIB}" \
30905 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30906 info) \
30907 || exit 1
30909 @endif target-winsup
30911 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
30912 maybe-dvi-target-winsup:
30913 @if target-winsup
30914 maybe-dvi-target-winsup: dvi-target-winsup
30916 dvi-target-winsup: \
30917 configure-target-winsup
30918 @$(unstage)
30919 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30920 r=`${PWD_COMMAND}`; export r; \
30921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30922 $(NORMAL_TARGET_EXPORTS) \
30923 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
30924 for flag in $(EXTRA_TARGET_FLAGS); do \
30925 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30926 done; \
30927 (cd $(TARGET_SUBDIR)/winsup && \
30928 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30929 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30930 "RANLIB=$${RANLIB}" \
30931 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30932 dvi) \
30933 || exit 1
30935 @endif target-winsup
30937 .PHONY: maybe-html-target-winsup html-target-winsup
30938 maybe-html-target-winsup:
30939 @if target-winsup
30940 maybe-html-target-winsup: html-target-winsup
30942 html-target-winsup: \
30943 configure-target-winsup
30944 @$(unstage)
30945 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30946 r=`${PWD_COMMAND}`; export r; \
30947 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30948 $(NORMAL_TARGET_EXPORTS) \
30949 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
30950 for flag in $(EXTRA_TARGET_FLAGS); do \
30951 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30952 done; \
30953 (cd $(TARGET_SUBDIR)/winsup && \
30954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30956 "RANLIB=$${RANLIB}" \
30957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30958 html) \
30959 || exit 1
30961 @endif target-winsup
30963 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
30964 maybe-TAGS-target-winsup:
30965 @if target-winsup
30966 maybe-TAGS-target-winsup: TAGS-target-winsup
30968 TAGS-target-winsup: \
30969 configure-target-winsup
30970 @$(unstage)
30971 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30972 r=`${PWD_COMMAND}`; export r; \
30973 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30974 $(NORMAL_TARGET_EXPORTS) \
30975 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
30976 for flag in $(EXTRA_TARGET_FLAGS); do \
30977 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30978 done; \
30979 (cd $(TARGET_SUBDIR)/winsup && \
30980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30982 "RANLIB=$${RANLIB}" \
30983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30984 TAGS) \
30985 || exit 1
30987 @endif target-winsup
30989 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
30990 maybe-install-info-target-winsup:
30991 @if target-winsup
30992 maybe-install-info-target-winsup: install-info-target-winsup
30994 install-info-target-winsup: \
30995 configure-target-winsup \
30996 info-target-winsup
30997 @$(unstage)
30998 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
30999 r=`${PWD_COMMAND}`; export r; \
31000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31001 $(NORMAL_TARGET_EXPORTS) \
31002 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
31003 for flag in $(EXTRA_TARGET_FLAGS); do \
31004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31005 done; \
31006 (cd $(TARGET_SUBDIR)/winsup && \
31007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31009 "RANLIB=$${RANLIB}" \
31010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31011 install-info) \
31012 || exit 1
31014 @endif target-winsup
31016 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
31017 maybe-installcheck-target-winsup:
31018 @if target-winsup
31019 maybe-installcheck-target-winsup: installcheck-target-winsup
31021 installcheck-target-winsup: \
31022 configure-target-winsup
31023 @$(unstage)
31024 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31025 r=`${PWD_COMMAND}`; export r; \
31026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31027 $(NORMAL_TARGET_EXPORTS) \
31028 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
31029 for flag in $(EXTRA_TARGET_FLAGS); do \
31030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31031 done; \
31032 (cd $(TARGET_SUBDIR)/winsup && \
31033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31035 "RANLIB=$${RANLIB}" \
31036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31037 installcheck) \
31038 || exit 1
31040 @endif target-winsup
31042 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
31043 maybe-mostlyclean-target-winsup:
31044 @if target-winsup
31045 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
31047 mostlyclean-target-winsup:
31048 @$(unstage)
31049 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31050 r=`${PWD_COMMAND}`; export r; \
31051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31052 $(NORMAL_TARGET_EXPORTS) \
31053 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
31054 for flag in $(EXTRA_TARGET_FLAGS); do \
31055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31056 done; \
31057 (cd $(TARGET_SUBDIR)/winsup && \
31058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31060 "RANLIB=$${RANLIB}" \
31061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31062 mostlyclean) \
31063 || exit 1
31065 @endif target-winsup
31067 .PHONY: maybe-clean-target-winsup clean-target-winsup
31068 maybe-clean-target-winsup:
31069 @if target-winsup
31070 maybe-clean-target-winsup: clean-target-winsup
31072 clean-target-winsup:
31073 @$(unstage)
31074 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31075 r=`${PWD_COMMAND}`; export r; \
31076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31077 $(NORMAL_TARGET_EXPORTS) \
31078 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
31079 for flag in $(EXTRA_TARGET_FLAGS); do \
31080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31081 done; \
31082 (cd $(TARGET_SUBDIR)/winsup && \
31083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31085 "RANLIB=$${RANLIB}" \
31086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31087 clean) \
31088 || exit 1
31090 @endif target-winsup
31092 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
31093 maybe-distclean-target-winsup:
31094 @if target-winsup
31095 maybe-distclean-target-winsup: distclean-target-winsup
31097 distclean-target-winsup:
31098 @$(unstage)
31099 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31100 r=`${PWD_COMMAND}`; export r; \
31101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31102 $(NORMAL_TARGET_EXPORTS) \
31103 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
31104 for flag in $(EXTRA_TARGET_FLAGS); do \
31105 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31106 done; \
31107 (cd $(TARGET_SUBDIR)/winsup && \
31108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31110 "RANLIB=$${RANLIB}" \
31111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31112 distclean) \
31113 || exit 1
31115 @endif target-winsup
31117 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
31118 maybe-maintainer-clean-target-winsup:
31119 @if target-winsup
31120 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
31122 maintainer-clean-target-winsup:
31123 @$(unstage)
31124 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
31125 r=`${PWD_COMMAND}`; export r; \
31126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31127 $(NORMAL_TARGET_EXPORTS) \
31128 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
31129 for flag in $(EXTRA_TARGET_FLAGS); do \
31130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31131 done; \
31132 (cd $(TARGET_SUBDIR)/winsup && \
31133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31135 "RANLIB=$${RANLIB}" \
31136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31137 maintainer-clean) \
31138 || exit 1
31140 @endif target-winsup
31144 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31145 @if target-libgloss
31146 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
31147 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31148 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
31149 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
31150 @endif target-libgloss
31154 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
31155 maybe-configure-target-libgloss:
31156 @if target-libgloss
31157 maybe-configure-target-libgloss: configure-target-libgloss
31158 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
31159 @$(unstage)
31160 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
31161 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
31162 r=`${PWD_COMMAND}`; export r; \
31163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31164 $(NORMAL_TARGET_EXPORTS) \
31165 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
31166 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
31167 case $(srcdir) in \
31168 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31169 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
31170 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31171 esac; \
31172 srcdiroption="--srcdir=$${topdir}/libgloss"; \
31173 libsrcdir="$$s/libgloss"; \
31174 rm -f no-such-file || : ; \
31175 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31176 $(TARGET_CONFIGARGS) $${srcdiroption} \
31177 || exit 1
31178 @endif target-libgloss
31184 .PHONY: all-target-libgloss maybe-all-target-libgloss
31185 maybe-all-target-libgloss:
31186 @if target-libgloss
31187 TARGET-target-libgloss=all
31188 maybe-all-target-libgloss: all-target-libgloss
31189 all-target-libgloss: configure-target-libgloss
31190 @$(unstage)
31191 @r=`${PWD_COMMAND}`; export r; \
31192 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31193 $(NORMAL_TARGET_EXPORTS) \
31194 (cd $(TARGET_SUBDIR)/libgloss && \
31195 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
31196 @endif target-libgloss
31202 .PHONY: check-target-libgloss maybe-check-target-libgloss
31203 maybe-check-target-libgloss:
31204 @if target-libgloss
31205 maybe-check-target-libgloss: check-target-libgloss
31207 # Dummy target for uncheckable module.
31208 check-target-libgloss:
31210 @endif target-libgloss
31212 .PHONY: install-target-libgloss maybe-install-target-libgloss
31213 maybe-install-target-libgloss:
31214 @if target-libgloss
31215 maybe-install-target-libgloss: install-target-libgloss
31217 install-target-libgloss: installdirs
31218 @$(unstage)
31219 @r=`${PWD_COMMAND}`; export r; \
31220 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31221 $(NORMAL_TARGET_EXPORTS) \
31222 (cd $(TARGET_SUBDIR)/libgloss && \
31223 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31225 @endif target-libgloss
31227 # Other targets (info, dvi, etc.)
31229 .PHONY: maybe-info-target-libgloss info-target-libgloss
31230 maybe-info-target-libgloss:
31231 @if target-libgloss
31232 maybe-info-target-libgloss: info-target-libgloss
31234 info-target-libgloss: \
31235 configure-target-libgloss
31236 @$(unstage)
31237 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31238 r=`${PWD_COMMAND}`; export r; \
31239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31240 $(NORMAL_TARGET_EXPORTS) \
31241 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
31242 for flag in $(EXTRA_TARGET_FLAGS); do \
31243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31244 done; \
31245 (cd $(TARGET_SUBDIR)/libgloss && \
31246 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31247 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31248 "RANLIB=$${RANLIB}" \
31249 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31250 info) \
31251 || exit 1
31253 @endif target-libgloss
31255 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
31256 maybe-dvi-target-libgloss:
31257 @if target-libgloss
31258 maybe-dvi-target-libgloss: dvi-target-libgloss
31260 dvi-target-libgloss: \
31261 configure-target-libgloss
31262 @$(unstage)
31263 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31264 r=`${PWD_COMMAND}`; export r; \
31265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31266 $(NORMAL_TARGET_EXPORTS) \
31267 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
31268 for flag in $(EXTRA_TARGET_FLAGS); do \
31269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31270 done; \
31271 (cd $(TARGET_SUBDIR)/libgloss && \
31272 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31273 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31274 "RANLIB=$${RANLIB}" \
31275 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31276 dvi) \
31277 || exit 1
31279 @endif target-libgloss
31281 .PHONY: maybe-html-target-libgloss html-target-libgloss
31282 maybe-html-target-libgloss:
31283 @if target-libgloss
31284 maybe-html-target-libgloss: html-target-libgloss
31286 html-target-libgloss: \
31287 configure-target-libgloss
31288 @$(unstage)
31289 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31290 r=`${PWD_COMMAND}`; export r; \
31291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31292 $(NORMAL_TARGET_EXPORTS) \
31293 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
31294 for flag in $(EXTRA_TARGET_FLAGS); do \
31295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31296 done; \
31297 (cd $(TARGET_SUBDIR)/libgloss && \
31298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31300 "RANLIB=$${RANLIB}" \
31301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31302 html) \
31303 || exit 1
31305 @endif target-libgloss
31307 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
31308 maybe-TAGS-target-libgloss:
31309 @if target-libgloss
31310 maybe-TAGS-target-libgloss: TAGS-target-libgloss
31312 TAGS-target-libgloss: \
31313 configure-target-libgloss
31314 @$(unstage)
31315 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31316 r=`${PWD_COMMAND}`; export r; \
31317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31318 $(NORMAL_TARGET_EXPORTS) \
31319 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
31320 for flag in $(EXTRA_TARGET_FLAGS); do \
31321 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31322 done; \
31323 (cd $(TARGET_SUBDIR)/libgloss && \
31324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31326 "RANLIB=$${RANLIB}" \
31327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31328 TAGS) \
31329 || exit 1
31331 @endif target-libgloss
31333 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
31334 maybe-install-info-target-libgloss:
31335 @if target-libgloss
31336 maybe-install-info-target-libgloss: install-info-target-libgloss
31338 install-info-target-libgloss: \
31339 configure-target-libgloss \
31340 info-target-libgloss
31341 @$(unstage)
31342 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31343 r=`${PWD_COMMAND}`; export r; \
31344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31345 $(NORMAL_TARGET_EXPORTS) \
31346 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
31347 for flag in $(EXTRA_TARGET_FLAGS); do \
31348 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31349 done; \
31350 (cd $(TARGET_SUBDIR)/libgloss && \
31351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31353 "RANLIB=$${RANLIB}" \
31354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31355 install-info) \
31356 || exit 1
31358 @endif target-libgloss
31360 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
31361 maybe-installcheck-target-libgloss:
31362 @if target-libgloss
31363 maybe-installcheck-target-libgloss: installcheck-target-libgloss
31365 installcheck-target-libgloss: \
31366 configure-target-libgloss
31367 @$(unstage)
31368 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31369 r=`${PWD_COMMAND}`; export r; \
31370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31371 $(NORMAL_TARGET_EXPORTS) \
31372 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
31373 for flag in $(EXTRA_TARGET_FLAGS); do \
31374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31375 done; \
31376 (cd $(TARGET_SUBDIR)/libgloss && \
31377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31379 "RANLIB=$${RANLIB}" \
31380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31381 installcheck) \
31382 || exit 1
31384 @endif target-libgloss
31386 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
31387 maybe-mostlyclean-target-libgloss:
31388 @if target-libgloss
31389 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
31391 mostlyclean-target-libgloss:
31392 @$(unstage)
31393 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31394 r=`${PWD_COMMAND}`; export r; \
31395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31396 $(NORMAL_TARGET_EXPORTS) \
31397 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
31398 for flag in $(EXTRA_TARGET_FLAGS); do \
31399 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31400 done; \
31401 (cd $(TARGET_SUBDIR)/libgloss && \
31402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31404 "RANLIB=$${RANLIB}" \
31405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31406 mostlyclean) \
31407 || exit 1
31409 @endif target-libgloss
31411 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
31412 maybe-clean-target-libgloss:
31413 @if target-libgloss
31414 maybe-clean-target-libgloss: clean-target-libgloss
31416 clean-target-libgloss:
31417 @$(unstage)
31418 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31419 r=`${PWD_COMMAND}`; export r; \
31420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31421 $(NORMAL_TARGET_EXPORTS) \
31422 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
31423 for flag in $(EXTRA_TARGET_FLAGS); do \
31424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31425 done; \
31426 (cd $(TARGET_SUBDIR)/libgloss && \
31427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31429 "RANLIB=$${RANLIB}" \
31430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31431 clean) \
31432 || exit 1
31434 @endif target-libgloss
31436 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
31437 maybe-distclean-target-libgloss:
31438 @if target-libgloss
31439 maybe-distclean-target-libgloss: distclean-target-libgloss
31441 distclean-target-libgloss:
31442 @$(unstage)
31443 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31444 r=`${PWD_COMMAND}`; export r; \
31445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31446 $(NORMAL_TARGET_EXPORTS) \
31447 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
31448 for flag in $(EXTRA_TARGET_FLAGS); do \
31449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31450 done; \
31451 (cd $(TARGET_SUBDIR)/libgloss && \
31452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31454 "RANLIB=$${RANLIB}" \
31455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31456 distclean) \
31457 || exit 1
31459 @endif target-libgloss
31461 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
31462 maybe-maintainer-clean-target-libgloss:
31463 @if target-libgloss
31464 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
31466 maintainer-clean-target-libgloss:
31467 @$(unstage)
31468 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
31469 r=`${PWD_COMMAND}`; export r; \
31470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31471 $(NORMAL_TARGET_EXPORTS) \
31472 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
31473 for flag in $(EXTRA_TARGET_FLAGS); do \
31474 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31475 done; \
31476 (cd $(TARGET_SUBDIR)/libgloss && \
31477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31479 "RANLIB=$${RANLIB}" \
31480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31481 maintainer-clean) \
31482 || exit 1
31484 @endif target-libgloss
31488 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31489 @if target-libiberty
31490 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
31491 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31492 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
31493 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
31494 @endif target-libiberty
31498 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
31499 maybe-configure-target-libiberty:
31500 @if target-libiberty
31501 maybe-configure-target-libiberty: configure-target-libiberty
31502 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
31503 @$(unstage)
31504 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
31505 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
31506 r=`${PWD_COMMAND}`; export r; \
31507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31508 $(NORMAL_TARGET_EXPORTS) \
31509 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
31510 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
31511 case $(srcdir) in \
31512 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31513 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
31514 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31515 esac; \
31516 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31517 libsrcdir="$$s/libiberty"; \
31518 rm -f no-such-file || : ; \
31519 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31520 $(TARGET_CONFIGARGS) $${srcdiroption} \
31521 || exit 1
31522 @endif target-libiberty
31528 .PHONY: all-target-libiberty maybe-all-target-libiberty
31529 maybe-all-target-libiberty:
31530 @if target-libiberty
31531 TARGET-target-libiberty=all
31532 maybe-all-target-libiberty: all-target-libiberty
31533 all-target-libiberty: configure-target-libiberty
31534 @$(unstage)
31535 @r=`${PWD_COMMAND}`; export r; \
31536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31537 $(NORMAL_TARGET_EXPORTS) \
31538 (cd $(TARGET_SUBDIR)/libiberty && \
31539 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
31540 @endif target-libiberty
31546 .PHONY: check-target-libiberty maybe-check-target-libiberty
31547 maybe-check-target-libiberty:
31548 @if target-libiberty
31549 maybe-check-target-libiberty: check-target-libiberty
31551 check-target-libiberty:
31552 @$(unstage)
31553 @r=`${PWD_COMMAND}`; export r; \
31554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31555 $(NORMAL_TARGET_EXPORTS) \
31556 (cd $(TARGET_SUBDIR)/libiberty && \
31557 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31559 @endif target-libiberty
31561 .PHONY: install-target-libiberty maybe-install-target-libiberty
31562 maybe-install-target-libiberty:
31563 @if target-libiberty
31564 maybe-install-target-libiberty: install-target-libiberty
31566 install-target-libiberty: installdirs
31567 @$(unstage)
31568 @r=`${PWD_COMMAND}`; export r; \
31569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31570 $(NORMAL_TARGET_EXPORTS) \
31571 (cd $(TARGET_SUBDIR)/libiberty && \
31572 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31574 @endif target-libiberty
31576 # Other targets (info, dvi, etc.)
31578 .PHONY: maybe-info-target-libiberty info-target-libiberty
31579 maybe-info-target-libiberty:
31580 @if target-libiberty
31581 maybe-info-target-libiberty: info-target-libiberty
31583 info-target-libiberty: \
31584 configure-target-libiberty
31585 @$(unstage)
31586 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31587 r=`${PWD_COMMAND}`; export r; \
31588 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31589 $(NORMAL_TARGET_EXPORTS) \
31590 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
31591 for flag in $(EXTRA_TARGET_FLAGS); do \
31592 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31593 done; \
31594 (cd $(TARGET_SUBDIR)/libiberty && \
31595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31597 "RANLIB=$${RANLIB}" \
31598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31599 info) \
31600 || exit 1
31602 @endif target-libiberty
31604 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
31605 maybe-dvi-target-libiberty:
31606 @if target-libiberty
31607 maybe-dvi-target-libiberty: dvi-target-libiberty
31609 dvi-target-libiberty: \
31610 configure-target-libiberty
31611 @$(unstage)
31612 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31613 r=`${PWD_COMMAND}`; export r; \
31614 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31615 $(NORMAL_TARGET_EXPORTS) \
31616 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
31617 for flag in $(EXTRA_TARGET_FLAGS); do \
31618 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31619 done; \
31620 (cd $(TARGET_SUBDIR)/libiberty && \
31621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31623 "RANLIB=$${RANLIB}" \
31624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31625 dvi) \
31626 || exit 1
31628 @endif target-libiberty
31630 .PHONY: maybe-html-target-libiberty html-target-libiberty
31631 maybe-html-target-libiberty:
31632 @if target-libiberty
31633 maybe-html-target-libiberty: html-target-libiberty
31635 html-target-libiberty: \
31636 configure-target-libiberty
31637 @$(unstage)
31638 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31639 r=`${PWD_COMMAND}`; export r; \
31640 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31641 $(NORMAL_TARGET_EXPORTS) \
31642 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
31643 for flag in $(EXTRA_TARGET_FLAGS); do \
31644 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31645 done; \
31646 (cd $(TARGET_SUBDIR)/libiberty && \
31647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31649 "RANLIB=$${RANLIB}" \
31650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31651 html) \
31652 || exit 1
31654 @endif target-libiberty
31656 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
31657 maybe-TAGS-target-libiberty:
31658 @if target-libiberty
31659 maybe-TAGS-target-libiberty: TAGS-target-libiberty
31661 TAGS-target-libiberty: \
31662 configure-target-libiberty
31663 @$(unstage)
31664 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31665 r=`${PWD_COMMAND}`; export r; \
31666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31667 $(NORMAL_TARGET_EXPORTS) \
31668 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
31669 for flag in $(EXTRA_TARGET_FLAGS); do \
31670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31671 done; \
31672 (cd $(TARGET_SUBDIR)/libiberty && \
31673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31675 "RANLIB=$${RANLIB}" \
31676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31677 TAGS) \
31678 || exit 1
31680 @endif target-libiberty
31682 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
31683 maybe-install-info-target-libiberty:
31684 @if target-libiberty
31685 maybe-install-info-target-libiberty: install-info-target-libiberty
31687 install-info-target-libiberty: \
31688 configure-target-libiberty \
31689 info-target-libiberty
31690 @$(unstage)
31691 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31692 r=`${PWD_COMMAND}`; export r; \
31693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31694 $(NORMAL_TARGET_EXPORTS) \
31695 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
31696 for flag in $(EXTRA_TARGET_FLAGS); do \
31697 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31698 done; \
31699 (cd $(TARGET_SUBDIR)/libiberty && \
31700 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31701 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31702 "RANLIB=$${RANLIB}" \
31703 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31704 install-info) \
31705 || exit 1
31707 @endif target-libiberty
31709 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
31710 maybe-installcheck-target-libiberty:
31711 @if target-libiberty
31712 maybe-installcheck-target-libiberty: installcheck-target-libiberty
31714 installcheck-target-libiberty: \
31715 configure-target-libiberty
31716 @$(unstage)
31717 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31718 r=`${PWD_COMMAND}`; export r; \
31719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31720 $(NORMAL_TARGET_EXPORTS) \
31721 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
31722 for flag in $(EXTRA_TARGET_FLAGS); do \
31723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31724 done; \
31725 (cd $(TARGET_SUBDIR)/libiberty && \
31726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31728 "RANLIB=$${RANLIB}" \
31729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31730 installcheck) \
31731 || exit 1
31733 @endif target-libiberty
31735 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
31736 maybe-mostlyclean-target-libiberty:
31737 @if target-libiberty
31738 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
31740 mostlyclean-target-libiberty:
31741 @$(unstage)
31742 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31743 r=`${PWD_COMMAND}`; export r; \
31744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31745 $(NORMAL_TARGET_EXPORTS) \
31746 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
31747 for flag in $(EXTRA_TARGET_FLAGS); do \
31748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31749 done; \
31750 (cd $(TARGET_SUBDIR)/libiberty && \
31751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31753 "RANLIB=$${RANLIB}" \
31754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31755 mostlyclean) \
31756 || exit 1
31758 @endif target-libiberty
31760 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
31761 maybe-clean-target-libiberty:
31762 @if target-libiberty
31763 maybe-clean-target-libiberty: clean-target-libiberty
31765 clean-target-libiberty:
31766 @$(unstage)
31767 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31768 r=`${PWD_COMMAND}`; export r; \
31769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31770 $(NORMAL_TARGET_EXPORTS) \
31771 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
31772 for flag in $(EXTRA_TARGET_FLAGS); do \
31773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31774 done; \
31775 (cd $(TARGET_SUBDIR)/libiberty && \
31776 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31777 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31778 "RANLIB=$${RANLIB}" \
31779 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31780 clean) \
31781 || exit 1
31783 @endif target-libiberty
31785 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
31786 maybe-distclean-target-libiberty:
31787 @if target-libiberty
31788 maybe-distclean-target-libiberty: distclean-target-libiberty
31790 distclean-target-libiberty:
31791 @$(unstage)
31792 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31793 r=`${PWD_COMMAND}`; export r; \
31794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31795 $(NORMAL_TARGET_EXPORTS) \
31796 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
31797 for flag in $(EXTRA_TARGET_FLAGS); do \
31798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31799 done; \
31800 (cd $(TARGET_SUBDIR)/libiberty && \
31801 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31802 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31803 "RANLIB=$${RANLIB}" \
31804 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31805 distclean) \
31806 || exit 1
31808 @endif target-libiberty
31810 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
31811 maybe-maintainer-clean-target-libiberty:
31812 @if target-libiberty
31813 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
31815 maintainer-clean-target-libiberty:
31816 @$(unstage)
31817 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
31818 r=`${PWD_COMMAND}`; export r; \
31819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31820 $(NORMAL_TARGET_EXPORTS) \
31821 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
31822 for flag in $(EXTRA_TARGET_FLAGS); do \
31823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31824 done; \
31825 (cd $(TARGET_SUBDIR)/libiberty && \
31826 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31827 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31828 "RANLIB=$${RANLIB}" \
31829 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31830 maintainer-clean) \
31831 || exit 1
31833 @endif target-libiberty
31837 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
31838 @if target-gperf
31839 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
31840 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31841 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
31842 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
31843 @endif target-gperf
31847 .PHONY: configure-target-gperf maybe-configure-target-gperf
31848 maybe-configure-target-gperf:
31849 @if target-gperf
31850 maybe-configure-target-gperf: configure-target-gperf
31851 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
31852 @$(unstage)
31853 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
31854 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
31855 r=`${PWD_COMMAND}`; export r; \
31856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31857 $(NORMAL_TARGET_EXPORTS) \
31858 echo Configuring in $(TARGET_SUBDIR)/gperf; \
31859 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
31860 case $(srcdir) in \
31861 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31862 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
31863 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31864 esac; \
31865 srcdiroption="--srcdir=$${topdir}/gperf"; \
31866 libsrcdir="$$s/gperf"; \
31867 rm -f no-such-file || : ; \
31868 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
31869 $(TARGET_CONFIGARGS) $${srcdiroption} \
31870 || exit 1
31871 @endif target-gperf
31877 .PHONY: all-target-gperf maybe-all-target-gperf
31878 maybe-all-target-gperf:
31879 @if target-gperf
31880 TARGET-target-gperf=all
31881 maybe-all-target-gperf: all-target-gperf
31882 all-target-gperf: configure-target-gperf
31883 @$(unstage)
31884 @r=`${PWD_COMMAND}`; export r; \
31885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31886 $(NORMAL_TARGET_EXPORTS) \
31887 (cd $(TARGET_SUBDIR)/gperf && \
31888 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
31889 @endif target-gperf
31895 .PHONY: check-target-gperf maybe-check-target-gperf
31896 maybe-check-target-gperf:
31897 @if target-gperf
31898 maybe-check-target-gperf: check-target-gperf
31900 check-target-gperf:
31901 @$(unstage)
31902 @r=`${PWD_COMMAND}`; export r; \
31903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31904 $(NORMAL_TARGET_EXPORTS) \
31905 (cd $(TARGET_SUBDIR)/gperf && \
31906 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
31908 @endif target-gperf
31910 .PHONY: install-target-gperf maybe-install-target-gperf
31911 maybe-install-target-gperf:
31912 @if target-gperf
31913 maybe-install-target-gperf: install-target-gperf
31915 install-target-gperf: installdirs
31916 @$(unstage)
31917 @r=`${PWD_COMMAND}`; export r; \
31918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31919 $(NORMAL_TARGET_EXPORTS) \
31920 (cd $(TARGET_SUBDIR)/gperf && \
31921 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
31923 @endif target-gperf
31925 # Other targets (info, dvi, etc.)
31927 .PHONY: maybe-info-target-gperf info-target-gperf
31928 maybe-info-target-gperf:
31929 @if target-gperf
31930 maybe-info-target-gperf: info-target-gperf
31932 info-target-gperf: \
31933 configure-target-gperf
31934 @$(unstage)
31935 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31936 r=`${PWD_COMMAND}`; export r; \
31937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31938 $(NORMAL_TARGET_EXPORTS) \
31939 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
31940 for flag in $(EXTRA_TARGET_FLAGS); do \
31941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31942 done; \
31943 (cd $(TARGET_SUBDIR)/gperf && \
31944 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31945 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31946 "RANLIB=$${RANLIB}" \
31947 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31948 info) \
31949 || exit 1
31951 @endif target-gperf
31953 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
31954 maybe-dvi-target-gperf:
31955 @if target-gperf
31956 maybe-dvi-target-gperf: dvi-target-gperf
31958 dvi-target-gperf: \
31959 configure-target-gperf
31960 @$(unstage)
31961 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31962 r=`${PWD_COMMAND}`; export r; \
31963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31964 $(NORMAL_TARGET_EXPORTS) \
31965 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
31966 for flag in $(EXTRA_TARGET_FLAGS); do \
31967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31968 done; \
31969 (cd $(TARGET_SUBDIR)/gperf && \
31970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31972 "RANLIB=$${RANLIB}" \
31973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
31974 dvi) \
31975 || exit 1
31977 @endif target-gperf
31979 .PHONY: maybe-html-target-gperf html-target-gperf
31980 maybe-html-target-gperf:
31981 @if target-gperf
31982 maybe-html-target-gperf: html-target-gperf
31984 html-target-gperf: \
31985 configure-target-gperf
31986 @$(unstage)
31987 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
31988 r=`${PWD_COMMAND}`; export r; \
31989 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31990 $(NORMAL_TARGET_EXPORTS) \
31991 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
31992 for flag in $(EXTRA_TARGET_FLAGS); do \
31993 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
31994 done; \
31995 (cd $(TARGET_SUBDIR)/gperf && \
31996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
31997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
31998 "RANLIB=$${RANLIB}" \
31999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32000 html) \
32001 || exit 1
32003 @endif target-gperf
32005 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
32006 maybe-TAGS-target-gperf:
32007 @if target-gperf
32008 maybe-TAGS-target-gperf: TAGS-target-gperf
32010 TAGS-target-gperf: \
32011 configure-target-gperf
32012 @$(unstage)
32013 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32014 r=`${PWD_COMMAND}`; export r; \
32015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32016 $(NORMAL_TARGET_EXPORTS) \
32017 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
32018 for flag in $(EXTRA_TARGET_FLAGS); do \
32019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32020 done; \
32021 (cd $(TARGET_SUBDIR)/gperf && \
32022 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32023 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32024 "RANLIB=$${RANLIB}" \
32025 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32026 TAGS) \
32027 || exit 1
32029 @endif target-gperf
32031 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
32032 maybe-install-info-target-gperf:
32033 @if target-gperf
32034 maybe-install-info-target-gperf: install-info-target-gperf
32036 install-info-target-gperf: \
32037 configure-target-gperf \
32038 info-target-gperf
32039 @$(unstage)
32040 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32041 r=`${PWD_COMMAND}`; export r; \
32042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32043 $(NORMAL_TARGET_EXPORTS) \
32044 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
32045 for flag in $(EXTRA_TARGET_FLAGS); do \
32046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32047 done; \
32048 (cd $(TARGET_SUBDIR)/gperf && \
32049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32051 "RANLIB=$${RANLIB}" \
32052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32053 install-info) \
32054 || exit 1
32056 @endif target-gperf
32058 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
32059 maybe-installcheck-target-gperf:
32060 @if target-gperf
32061 maybe-installcheck-target-gperf: installcheck-target-gperf
32063 installcheck-target-gperf: \
32064 configure-target-gperf
32065 @$(unstage)
32066 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32067 r=`${PWD_COMMAND}`; export r; \
32068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32069 $(NORMAL_TARGET_EXPORTS) \
32070 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
32071 for flag in $(EXTRA_TARGET_FLAGS); do \
32072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32073 done; \
32074 (cd $(TARGET_SUBDIR)/gperf && \
32075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32077 "RANLIB=$${RANLIB}" \
32078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32079 installcheck) \
32080 || exit 1
32082 @endif target-gperf
32084 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
32085 maybe-mostlyclean-target-gperf:
32086 @if target-gperf
32087 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
32089 mostlyclean-target-gperf:
32090 @$(unstage)
32091 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32092 r=`${PWD_COMMAND}`; export r; \
32093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32094 $(NORMAL_TARGET_EXPORTS) \
32095 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
32096 for flag in $(EXTRA_TARGET_FLAGS); do \
32097 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32098 done; \
32099 (cd $(TARGET_SUBDIR)/gperf && \
32100 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32101 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32102 "RANLIB=$${RANLIB}" \
32103 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32104 mostlyclean) \
32105 || exit 1
32107 @endif target-gperf
32109 .PHONY: maybe-clean-target-gperf clean-target-gperf
32110 maybe-clean-target-gperf:
32111 @if target-gperf
32112 maybe-clean-target-gperf: clean-target-gperf
32114 clean-target-gperf:
32115 @$(unstage)
32116 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32117 r=`${PWD_COMMAND}`; export r; \
32118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32119 $(NORMAL_TARGET_EXPORTS) \
32120 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
32121 for flag in $(EXTRA_TARGET_FLAGS); do \
32122 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32123 done; \
32124 (cd $(TARGET_SUBDIR)/gperf && \
32125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32127 "RANLIB=$${RANLIB}" \
32128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32129 clean) \
32130 || exit 1
32132 @endif target-gperf
32134 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
32135 maybe-distclean-target-gperf:
32136 @if target-gperf
32137 maybe-distclean-target-gperf: distclean-target-gperf
32139 distclean-target-gperf:
32140 @$(unstage)
32141 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32142 r=`${PWD_COMMAND}`; export r; \
32143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32144 $(NORMAL_TARGET_EXPORTS) \
32145 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
32146 for flag in $(EXTRA_TARGET_FLAGS); do \
32147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32148 done; \
32149 (cd $(TARGET_SUBDIR)/gperf && \
32150 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32151 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32152 "RANLIB=$${RANLIB}" \
32153 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32154 distclean) \
32155 || exit 1
32157 @endif target-gperf
32159 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
32160 maybe-maintainer-clean-target-gperf:
32161 @if target-gperf
32162 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
32164 maintainer-clean-target-gperf:
32165 @$(unstage)
32166 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
32167 r=`${PWD_COMMAND}`; export r; \
32168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32169 $(NORMAL_TARGET_EXPORTS) \
32170 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
32171 for flag in $(EXTRA_TARGET_FLAGS); do \
32172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32173 done; \
32174 (cd $(TARGET_SUBDIR)/gperf && \
32175 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32176 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32177 "RANLIB=$${RANLIB}" \
32178 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32179 maintainer-clean) \
32180 || exit 1
32182 @endif target-gperf
32186 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32187 @if target-examples
32188 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
32189 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32190 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
32191 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
32192 @endif target-examples
32196 .PHONY: configure-target-examples maybe-configure-target-examples
32197 maybe-configure-target-examples:
32198 @if target-examples
32199 maybe-configure-target-examples: configure-target-examples
32200 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
32201 @$(unstage)
32202 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
32203 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
32204 r=`${PWD_COMMAND}`; export r; \
32205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32206 $(NORMAL_TARGET_EXPORTS) \
32207 echo Configuring in $(TARGET_SUBDIR)/examples; \
32208 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
32209 case $(srcdir) in \
32210 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32211 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
32212 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32213 esac; \
32214 srcdiroption="--srcdir=$${topdir}/examples"; \
32215 libsrcdir="$$s/examples"; \
32216 rm -f no-such-file || : ; \
32217 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32218 $(TARGET_CONFIGARGS) $${srcdiroption} \
32219 || exit 1
32220 @endif target-examples
32226 .PHONY: all-target-examples maybe-all-target-examples
32227 maybe-all-target-examples:
32228 @if target-examples
32229 TARGET-target-examples=all
32230 maybe-all-target-examples: all-target-examples
32231 all-target-examples: configure-target-examples
32232 @$(unstage)
32233 @r=`${PWD_COMMAND}`; export r; \
32234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32235 $(NORMAL_TARGET_EXPORTS) \
32236 (cd $(TARGET_SUBDIR)/examples && \
32237 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
32238 @endif target-examples
32244 .PHONY: check-target-examples maybe-check-target-examples
32245 maybe-check-target-examples:
32246 @if target-examples
32247 maybe-check-target-examples: check-target-examples
32249 # Dummy target for uncheckable module.
32250 check-target-examples:
32252 @endif target-examples
32254 .PHONY: install-target-examples maybe-install-target-examples
32255 maybe-install-target-examples:
32256 @if target-examples
32257 maybe-install-target-examples: install-target-examples
32259 # Dummy target for uninstallable.
32260 install-target-examples:
32262 @endif target-examples
32264 # Other targets (info, dvi, etc.)
32266 .PHONY: maybe-info-target-examples info-target-examples
32267 maybe-info-target-examples:
32268 @if target-examples
32269 maybe-info-target-examples: info-target-examples
32271 info-target-examples: \
32272 configure-target-examples
32273 @$(unstage)
32274 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32275 r=`${PWD_COMMAND}`; export r; \
32276 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32277 $(NORMAL_TARGET_EXPORTS) \
32278 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
32279 for flag in $(EXTRA_TARGET_FLAGS); do \
32280 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32281 done; \
32282 (cd $(TARGET_SUBDIR)/examples && \
32283 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32284 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32285 "RANLIB=$${RANLIB}" \
32286 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32287 info) \
32288 || exit 1
32290 @endif target-examples
32292 .PHONY: maybe-dvi-target-examples dvi-target-examples
32293 maybe-dvi-target-examples:
32294 @if target-examples
32295 maybe-dvi-target-examples: dvi-target-examples
32297 dvi-target-examples: \
32298 configure-target-examples
32299 @$(unstage)
32300 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32301 r=`${PWD_COMMAND}`; export r; \
32302 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32303 $(NORMAL_TARGET_EXPORTS) \
32304 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
32305 for flag in $(EXTRA_TARGET_FLAGS); do \
32306 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32307 done; \
32308 (cd $(TARGET_SUBDIR)/examples && \
32309 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32310 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32311 "RANLIB=$${RANLIB}" \
32312 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32313 dvi) \
32314 || exit 1
32316 @endif target-examples
32318 .PHONY: maybe-html-target-examples html-target-examples
32319 maybe-html-target-examples:
32320 @if target-examples
32321 maybe-html-target-examples: html-target-examples
32323 html-target-examples: \
32324 configure-target-examples
32325 @$(unstage)
32326 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32327 r=`${PWD_COMMAND}`; export r; \
32328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32329 $(NORMAL_TARGET_EXPORTS) \
32330 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
32331 for flag in $(EXTRA_TARGET_FLAGS); do \
32332 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32333 done; \
32334 (cd $(TARGET_SUBDIR)/examples && \
32335 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32336 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32337 "RANLIB=$${RANLIB}" \
32338 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32339 html) \
32340 || exit 1
32342 @endif target-examples
32344 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
32345 maybe-TAGS-target-examples:
32346 @if target-examples
32347 maybe-TAGS-target-examples: TAGS-target-examples
32349 TAGS-target-examples: \
32350 configure-target-examples
32351 @$(unstage)
32352 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32353 r=`${PWD_COMMAND}`; export r; \
32354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32355 $(NORMAL_TARGET_EXPORTS) \
32356 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
32357 for flag in $(EXTRA_TARGET_FLAGS); do \
32358 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32359 done; \
32360 (cd $(TARGET_SUBDIR)/examples && \
32361 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32362 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32363 "RANLIB=$${RANLIB}" \
32364 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32365 TAGS) \
32366 || exit 1
32368 @endif target-examples
32370 .PHONY: maybe-install-info-target-examples install-info-target-examples
32371 maybe-install-info-target-examples:
32372 @if target-examples
32373 maybe-install-info-target-examples: install-info-target-examples
32375 install-info-target-examples: \
32376 configure-target-examples \
32377 info-target-examples
32378 @$(unstage)
32379 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32380 r=`${PWD_COMMAND}`; export r; \
32381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32382 $(NORMAL_TARGET_EXPORTS) \
32383 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
32384 for flag in $(EXTRA_TARGET_FLAGS); do \
32385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32386 done; \
32387 (cd $(TARGET_SUBDIR)/examples && \
32388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32390 "RANLIB=$${RANLIB}" \
32391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32392 install-info) \
32393 || exit 1
32395 @endif target-examples
32397 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
32398 maybe-installcheck-target-examples:
32399 @if target-examples
32400 maybe-installcheck-target-examples: installcheck-target-examples
32402 installcheck-target-examples: \
32403 configure-target-examples
32404 @$(unstage)
32405 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32406 r=`${PWD_COMMAND}`; export r; \
32407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32408 $(NORMAL_TARGET_EXPORTS) \
32409 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
32410 for flag in $(EXTRA_TARGET_FLAGS); do \
32411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32412 done; \
32413 (cd $(TARGET_SUBDIR)/examples && \
32414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32416 "RANLIB=$${RANLIB}" \
32417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32418 installcheck) \
32419 || exit 1
32421 @endif target-examples
32423 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
32424 maybe-mostlyclean-target-examples:
32425 @if target-examples
32426 maybe-mostlyclean-target-examples: mostlyclean-target-examples
32428 mostlyclean-target-examples:
32429 @$(unstage)
32430 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32431 r=`${PWD_COMMAND}`; export r; \
32432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32433 $(NORMAL_TARGET_EXPORTS) \
32434 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
32435 for flag in $(EXTRA_TARGET_FLAGS); do \
32436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32437 done; \
32438 (cd $(TARGET_SUBDIR)/examples && \
32439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32441 "RANLIB=$${RANLIB}" \
32442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32443 mostlyclean) \
32444 || exit 1
32446 @endif target-examples
32448 .PHONY: maybe-clean-target-examples clean-target-examples
32449 maybe-clean-target-examples:
32450 @if target-examples
32451 maybe-clean-target-examples: clean-target-examples
32453 clean-target-examples:
32454 @$(unstage)
32455 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32456 r=`${PWD_COMMAND}`; export r; \
32457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32458 $(NORMAL_TARGET_EXPORTS) \
32459 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
32460 for flag in $(EXTRA_TARGET_FLAGS); do \
32461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32462 done; \
32463 (cd $(TARGET_SUBDIR)/examples && \
32464 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32465 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32466 "RANLIB=$${RANLIB}" \
32467 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32468 clean) \
32469 || exit 1
32471 @endif target-examples
32473 .PHONY: maybe-distclean-target-examples distclean-target-examples
32474 maybe-distclean-target-examples:
32475 @if target-examples
32476 maybe-distclean-target-examples: distclean-target-examples
32478 distclean-target-examples:
32479 @$(unstage)
32480 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32481 r=`${PWD_COMMAND}`; export r; \
32482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32483 $(NORMAL_TARGET_EXPORTS) \
32484 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
32485 for flag in $(EXTRA_TARGET_FLAGS); do \
32486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32487 done; \
32488 (cd $(TARGET_SUBDIR)/examples && \
32489 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32490 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32491 "RANLIB=$${RANLIB}" \
32492 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32493 distclean) \
32494 || exit 1
32496 @endif target-examples
32498 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
32499 maybe-maintainer-clean-target-examples:
32500 @if target-examples
32501 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
32503 maintainer-clean-target-examples:
32504 @$(unstage)
32505 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
32506 r=`${PWD_COMMAND}`; export r; \
32507 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32508 $(NORMAL_TARGET_EXPORTS) \
32509 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
32510 for flag in $(EXTRA_TARGET_FLAGS); do \
32511 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32512 done; \
32513 (cd $(TARGET_SUBDIR)/examples && \
32514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32516 "RANLIB=$${RANLIB}" \
32517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32518 maintainer-clean) \
32519 || exit 1
32521 @endif target-examples
32525 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32526 @if target-libffi
32527 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
32528 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32529 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
32530 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
32531 @endif target-libffi
32535 .PHONY: configure-target-libffi maybe-configure-target-libffi
32536 maybe-configure-target-libffi:
32537 @if target-libffi
32538 maybe-configure-target-libffi: configure-target-libffi
32539 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
32540 @$(unstage)
32541 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
32542 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
32543 r=`${PWD_COMMAND}`; export r; \
32544 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32545 $(NORMAL_TARGET_EXPORTS) \
32546 echo Configuring in $(TARGET_SUBDIR)/libffi; \
32547 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
32548 case $(srcdir) in \
32549 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32550 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
32551 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32552 esac; \
32553 srcdiroption="--srcdir=$${topdir}/libffi"; \
32554 libsrcdir="$$s/libffi"; \
32555 rm -f no-such-file || : ; \
32556 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32557 $(TARGET_CONFIGARGS) $${srcdiroption} \
32558 || exit 1
32559 @endif target-libffi
32565 .PHONY: all-target-libffi maybe-all-target-libffi
32566 maybe-all-target-libffi:
32567 @if target-libffi
32568 TARGET-target-libffi=all
32569 maybe-all-target-libffi: all-target-libffi
32570 all-target-libffi: configure-target-libffi
32571 @$(unstage)
32572 @r=`${PWD_COMMAND}`; export r; \
32573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32574 $(NORMAL_TARGET_EXPORTS) \
32575 (cd $(TARGET_SUBDIR)/libffi && \
32576 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
32577 @endif target-libffi
32583 .PHONY: check-target-libffi maybe-check-target-libffi
32584 maybe-check-target-libffi:
32585 @if target-libffi
32586 maybe-check-target-libffi: check-target-libffi
32588 check-target-libffi:
32589 @$(unstage)
32590 @r=`${PWD_COMMAND}`; export r; \
32591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32592 $(NORMAL_TARGET_EXPORTS) \
32593 (cd $(TARGET_SUBDIR)/libffi && \
32594 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
32596 @endif target-libffi
32598 .PHONY: install-target-libffi maybe-install-target-libffi
32599 maybe-install-target-libffi:
32600 @if target-libffi
32601 maybe-install-target-libffi: install-target-libffi
32603 install-target-libffi: installdirs
32604 @$(unstage)
32605 @r=`${PWD_COMMAND}`; export r; \
32606 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32607 $(NORMAL_TARGET_EXPORTS) \
32608 (cd $(TARGET_SUBDIR)/libffi && \
32609 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32611 @endif target-libffi
32613 # Other targets (info, dvi, etc.)
32615 .PHONY: maybe-info-target-libffi info-target-libffi
32616 maybe-info-target-libffi:
32617 @if target-libffi
32618 maybe-info-target-libffi: info-target-libffi
32620 info-target-libffi: \
32621 configure-target-libffi
32622 @$(unstage)
32623 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32624 r=`${PWD_COMMAND}`; export r; \
32625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32626 $(NORMAL_TARGET_EXPORTS) \
32627 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
32628 for flag in $(EXTRA_TARGET_FLAGS); do \
32629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32630 done; \
32631 (cd $(TARGET_SUBDIR)/libffi && \
32632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32634 "RANLIB=$${RANLIB}" \
32635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32636 info) \
32637 || exit 1
32639 @endif target-libffi
32641 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
32642 maybe-dvi-target-libffi:
32643 @if target-libffi
32644 maybe-dvi-target-libffi: dvi-target-libffi
32646 dvi-target-libffi: \
32647 configure-target-libffi
32648 @$(unstage)
32649 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32650 r=`${PWD_COMMAND}`; export r; \
32651 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32652 $(NORMAL_TARGET_EXPORTS) \
32653 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
32654 for flag in $(EXTRA_TARGET_FLAGS); do \
32655 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32656 done; \
32657 (cd $(TARGET_SUBDIR)/libffi && \
32658 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32659 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32660 "RANLIB=$${RANLIB}" \
32661 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32662 dvi) \
32663 || exit 1
32665 @endif target-libffi
32667 .PHONY: maybe-html-target-libffi html-target-libffi
32668 maybe-html-target-libffi:
32669 @if target-libffi
32670 maybe-html-target-libffi: html-target-libffi
32672 html-target-libffi: \
32673 configure-target-libffi
32674 @$(unstage)
32675 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32676 r=`${PWD_COMMAND}`; export r; \
32677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32678 $(NORMAL_TARGET_EXPORTS) \
32679 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
32680 for flag in $(EXTRA_TARGET_FLAGS); do \
32681 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32682 done; \
32683 (cd $(TARGET_SUBDIR)/libffi && \
32684 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32685 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32686 "RANLIB=$${RANLIB}" \
32687 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32688 html) \
32689 || exit 1
32691 @endif target-libffi
32693 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
32694 maybe-TAGS-target-libffi:
32695 @if target-libffi
32696 maybe-TAGS-target-libffi: TAGS-target-libffi
32698 TAGS-target-libffi: \
32699 configure-target-libffi
32700 @$(unstage)
32701 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32702 r=`${PWD_COMMAND}`; export r; \
32703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32704 $(NORMAL_TARGET_EXPORTS) \
32705 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
32706 for flag in $(EXTRA_TARGET_FLAGS); do \
32707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32708 done; \
32709 (cd $(TARGET_SUBDIR)/libffi && \
32710 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32711 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32712 "RANLIB=$${RANLIB}" \
32713 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32714 TAGS) \
32715 || exit 1
32717 @endif target-libffi
32719 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
32720 maybe-install-info-target-libffi:
32721 @if target-libffi
32722 maybe-install-info-target-libffi: install-info-target-libffi
32724 install-info-target-libffi: \
32725 configure-target-libffi \
32726 info-target-libffi
32727 @$(unstage)
32728 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32729 r=`${PWD_COMMAND}`; export r; \
32730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32731 $(NORMAL_TARGET_EXPORTS) \
32732 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
32733 for flag in $(EXTRA_TARGET_FLAGS); do \
32734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32735 done; \
32736 (cd $(TARGET_SUBDIR)/libffi && \
32737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32739 "RANLIB=$${RANLIB}" \
32740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32741 install-info) \
32742 || exit 1
32744 @endif target-libffi
32746 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
32747 maybe-installcheck-target-libffi:
32748 @if target-libffi
32749 maybe-installcheck-target-libffi: installcheck-target-libffi
32751 installcheck-target-libffi: \
32752 configure-target-libffi
32753 @$(unstage)
32754 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32755 r=`${PWD_COMMAND}`; export r; \
32756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32757 $(NORMAL_TARGET_EXPORTS) \
32758 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
32759 for flag in $(EXTRA_TARGET_FLAGS); do \
32760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32761 done; \
32762 (cd $(TARGET_SUBDIR)/libffi && \
32763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32765 "RANLIB=$${RANLIB}" \
32766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32767 installcheck) \
32768 || exit 1
32770 @endif target-libffi
32772 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
32773 maybe-mostlyclean-target-libffi:
32774 @if target-libffi
32775 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
32777 mostlyclean-target-libffi:
32778 @$(unstage)
32779 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32780 r=`${PWD_COMMAND}`; export r; \
32781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32782 $(NORMAL_TARGET_EXPORTS) \
32783 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
32784 for flag in $(EXTRA_TARGET_FLAGS); do \
32785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32786 done; \
32787 (cd $(TARGET_SUBDIR)/libffi && \
32788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32790 "RANLIB=$${RANLIB}" \
32791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32792 mostlyclean) \
32793 || exit 1
32795 @endif target-libffi
32797 .PHONY: maybe-clean-target-libffi clean-target-libffi
32798 maybe-clean-target-libffi:
32799 @if target-libffi
32800 maybe-clean-target-libffi: clean-target-libffi
32802 clean-target-libffi:
32803 @$(unstage)
32804 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32805 r=`${PWD_COMMAND}`; export r; \
32806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32807 $(NORMAL_TARGET_EXPORTS) \
32808 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
32809 for flag in $(EXTRA_TARGET_FLAGS); do \
32810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32811 done; \
32812 (cd $(TARGET_SUBDIR)/libffi && \
32813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32815 "RANLIB=$${RANLIB}" \
32816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32817 clean) \
32818 || exit 1
32820 @endif target-libffi
32822 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
32823 maybe-distclean-target-libffi:
32824 @if target-libffi
32825 maybe-distclean-target-libffi: distclean-target-libffi
32827 distclean-target-libffi:
32828 @$(unstage)
32829 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32830 r=`${PWD_COMMAND}`; export r; \
32831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32832 $(NORMAL_TARGET_EXPORTS) \
32833 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
32834 for flag in $(EXTRA_TARGET_FLAGS); do \
32835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32836 done; \
32837 (cd $(TARGET_SUBDIR)/libffi && \
32838 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32839 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32840 "RANLIB=$${RANLIB}" \
32841 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32842 distclean) \
32843 || exit 1
32845 @endif target-libffi
32847 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
32848 maybe-maintainer-clean-target-libffi:
32849 @if target-libffi
32850 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
32852 maintainer-clean-target-libffi:
32853 @$(unstage)
32854 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
32855 r=`${PWD_COMMAND}`; export r; \
32856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32857 $(NORMAL_TARGET_EXPORTS) \
32858 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
32859 for flag in $(EXTRA_TARGET_FLAGS); do \
32860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32861 done; \
32862 (cd $(TARGET_SUBDIR)/libffi && \
32863 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32864 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32865 "RANLIB=$${RANLIB}" \
32866 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32867 maintainer-clean) \
32868 || exit 1
32870 @endif target-libffi
32874 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
32875 @if target-libjava
32876 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
32877 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32878 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
32879 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
32880 @endif target-libjava
32884 .PHONY: configure-target-libjava maybe-configure-target-libjava
32885 maybe-configure-target-libjava:
32886 @if target-libjava
32887 maybe-configure-target-libjava: configure-target-libjava
32888 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
32889 @$(unstage)
32890 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
32891 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
32892 r=`${PWD_COMMAND}`; export r; \
32893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32894 $(RAW_CXX_TARGET_EXPORTS) \
32895 echo Configuring in $(TARGET_SUBDIR)/libjava; \
32896 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
32897 case $(srcdir) in \
32898 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32899 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
32900 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32901 esac; \
32902 srcdiroption="--srcdir=$${topdir}/libjava"; \
32903 libsrcdir="$$s/libjava"; \
32904 rm -f no-such-file || : ; \
32905 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
32906 $(TARGET_CONFIGARGS) $${srcdiroption} \
32907 || exit 1
32908 @endif target-libjava
32914 .PHONY: all-target-libjava maybe-all-target-libjava
32915 maybe-all-target-libjava:
32916 @if target-libjava
32917 TARGET-target-libjava=all
32918 maybe-all-target-libjava: all-target-libjava
32919 all-target-libjava: configure-target-libjava
32920 @$(unstage)
32921 @r=`${PWD_COMMAND}`; export r; \
32922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32923 $(RAW_CXX_TARGET_EXPORTS) \
32924 (cd $(TARGET_SUBDIR)/libjava && \
32925 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
32926 @endif target-libjava
32932 .PHONY: check-target-libjava maybe-check-target-libjava
32933 maybe-check-target-libjava:
32934 @if target-libjava
32935 maybe-check-target-libjava: check-target-libjava
32937 check-target-libjava:
32938 @$(unstage)
32939 @r=`${PWD_COMMAND}`; export r; \
32940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32941 $(RAW_CXX_TARGET_EXPORTS) \
32942 (cd $(TARGET_SUBDIR)/libjava && \
32943 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
32945 @endif target-libjava
32947 .PHONY: install-target-libjava maybe-install-target-libjava
32948 maybe-install-target-libjava:
32949 @if target-libjava
32950 maybe-install-target-libjava: install-target-libjava
32952 install-target-libjava: installdirs
32953 @$(unstage)
32954 @r=`${PWD_COMMAND}`; export r; \
32955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32956 $(RAW_CXX_TARGET_EXPORTS) \
32957 (cd $(TARGET_SUBDIR)/libjava && \
32958 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
32960 @endif target-libjava
32962 # Other targets (info, dvi, etc.)
32964 .PHONY: maybe-info-target-libjava info-target-libjava
32965 maybe-info-target-libjava:
32966 @if target-libjava
32967 maybe-info-target-libjava: info-target-libjava
32969 info-target-libjava: \
32970 configure-target-libjava
32971 @$(unstage)
32972 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
32973 r=`${PWD_COMMAND}`; export r; \
32974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32975 $(RAW_CXX_TARGET_EXPORTS) \
32976 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
32977 for flag in $(EXTRA_TARGET_FLAGS); do \
32978 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
32979 done; \
32980 (cd $(TARGET_SUBDIR)/libjava && \
32981 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
32982 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
32983 "RANLIB=$${RANLIB}" \
32984 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
32985 info) \
32986 || exit 1
32988 @endif target-libjava
32990 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
32991 maybe-dvi-target-libjava:
32992 @if target-libjava
32993 maybe-dvi-target-libjava: dvi-target-libjava
32995 dvi-target-libjava: \
32996 configure-target-libjava
32997 @$(unstage)
32998 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
32999 r=`${PWD_COMMAND}`; export r; \
33000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33001 $(RAW_CXX_TARGET_EXPORTS) \
33002 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
33003 for flag in $(EXTRA_TARGET_FLAGS); do \
33004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33005 done; \
33006 (cd $(TARGET_SUBDIR)/libjava && \
33007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33009 "RANLIB=$${RANLIB}" \
33010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33011 dvi) \
33012 || exit 1
33014 @endif target-libjava
33016 .PHONY: maybe-html-target-libjava html-target-libjava
33017 maybe-html-target-libjava:
33018 @if target-libjava
33019 maybe-html-target-libjava: html-target-libjava
33021 html-target-libjava: \
33022 configure-target-libjava
33023 @$(unstage)
33024 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33025 r=`${PWD_COMMAND}`; export r; \
33026 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33027 $(RAW_CXX_TARGET_EXPORTS) \
33028 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
33029 for flag in $(EXTRA_TARGET_FLAGS); do \
33030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33031 done; \
33032 (cd $(TARGET_SUBDIR)/libjava && \
33033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33035 "RANLIB=$${RANLIB}" \
33036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33037 html) \
33038 || exit 1
33040 @endif target-libjava
33042 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
33043 maybe-TAGS-target-libjava:
33044 @if target-libjava
33045 maybe-TAGS-target-libjava: TAGS-target-libjava
33047 TAGS-target-libjava: \
33048 configure-target-libjava
33049 @$(unstage)
33050 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33051 r=`${PWD_COMMAND}`; export r; \
33052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33053 $(RAW_CXX_TARGET_EXPORTS) \
33054 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
33055 for flag in $(EXTRA_TARGET_FLAGS); do \
33056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33057 done; \
33058 (cd $(TARGET_SUBDIR)/libjava && \
33059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33061 "RANLIB=$${RANLIB}" \
33062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33063 TAGS) \
33064 || exit 1
33066 @endif target-libjava
33068 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
33069 maybe-install-info-target-libjava:
33070 @if target-libjava
33071 maybe-install-info-target-libjava: install-info-target-libjava
33073 install-info-target-libjava: \
33074 configure-target-libjava \
33075 info-target-libjava
33076 @$(unstage)
33077 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33078 r=`${PWD_COMMAND}`; export r; \
33079 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33080 $(RAW_CXX_TARGET_EXPORTS) \
33081 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
33082 for flag in $(EXTRA_TARGET_FLAGS); do \
33083 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33084 done; \
33085 (cd $(TARGET_SUBDIR)/libjava && \
33086 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33087 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33088 "RANLIB=$${RANLIB}" \
33089 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33090 install-info) \
33091 || exit 1
33093 @endif target-libjava
33095 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
33096 maybe-installcheck-target-libjava:
33097 @if target-libjava
33098 maybe-installcheck-target-libjava: installcheck-target-libjava
33100 installcheck-target-libjava: \
33101 configure-target-libjava
33102 @$(unstage)
33103 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33104 r=`${PWD_COMMAND}`; export r; \
33105 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33106 $(RAW_CXX_TARGET_EXPORTS) \
33107 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
33108 for flag in $(EXTRA_TARGET_FLAGS); do \
33109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33110 done; \
33111 (cd $(TARGET_SUBDIR)/libjava && \
33112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33114 "RANLIB=$${RANLIB}" \
33115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33116 installcheck) \
33117 || exit 1
33119 @endif target-libjava
33121 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
33122 maybe-mostlyclean-target-libjava:
33123 @if target-libjava
33124 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
33126 mostlyclean-target-libjava:
33127 @$(unstage)
33128 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33129 r=`${PWD_COMMAND}`; export r; \
33130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33131 $(RAW_CXX_TARGET_EXPORTS) \
33132 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
33133 for flag in $(EXTRA_TARGET_FLAGS); do \
33134 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33135 done; \
33136 (cd $(TARGET_SUBDIR)/libjava && \
33137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33139 "RANLIB=$${RANLIB}" \
33140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33141 mostlyclean) \
33142 || exit 1
33144 @endif target-libjava
33146 .PHONY: maybe-clean-target-libjava clean-target-libjava
33147 maybe-clean-target-libjava:
33148 @if target-libjava
33149 maybe-clean-target-libjava: clean-target-libjava
33151 clean-target-libjava:
33152 @$(unstage)
33153 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33154 r=`${PWD_COMMAND}`; export r; \
33155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33156 $(RAW_CXX_TARGET_EXPORTS) \
33157 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
33158 for flag in $(EXTRA_TARGET_FLAGS); do \
33159 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33160 done; \
33161 (cd $(TARGET_SUBDIR)/libjava && \
33162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33164 "RANLIB=$${RANLIB}" \
33165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33166 clean) \
33167 || exit 1
33169 @endif target-libjava
33171 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
33172 maybe-distclean-target-libjava:
33173 @if target-libjava
33174 maybe-distclean-target-libjava: distclean-target-libjava
33176 distclean-target-libjava:
33177 @$(unstage)
33178 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33179 r=`${PWD_COMMAND}`; export r; \
33180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33181 $(RAW_CXX_TARGET_EXPORTS) \
33182 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
33183 for flag in $(EXTRA_TARGET_FLAGS); do \
33184 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33185 done; \
33186 (cd $(TARGET_SUBDIR)/libjava && \
33187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33189 "RANLIB=$${RANLIB}" \
33190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33191 distclean) \
33192 || exit 1
33194 @endif target-libjava
33196 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
33197 maybe-maintainer-clean-target-libjava:
33198 @if target-libjava
33199 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
33201 maintainer-clean-target-libjava:
33202 @$(unstage)
33203 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
33204 r=`${PWD_COMMAND}`; export r; \
33205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33206 $(RAW_CXX_TARGET_EXPORTS) \
33207 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
33208 for flag in $(EXTRA_TARGET_FLAGS); do \
33209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33210 done; \
33211 (cd $(TARGET_SUBDIR)/libjava && \
33212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33214 "RANLIB=$${RANLIB}" \
33215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33216 maintainer-clean) \
33217 || exit 1
33219 @endif target-libjava
33223 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33224 @if target-zlib
33225 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
33226 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33227 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
33228 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
33229 @endif target-zlib
33233 .PHONY: configure-target-zlib maybe-configure-target-zlib
33234 maybe-configure-target-zlib:
33235 @if target-zlib
33236 maybe-configure-target-zlib: configure-target-zlib
33237 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
33238 @$(unstage)
33239 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
33240 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
33241 r=`${PWD_COMMAND}`; export r; \
33242 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33243 $(NORMAL_TARGET_EXPORTS) \
33244 echo Configuring in $(TARGET_SUBDIR)/zlib; \
33245 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
33246 case $(srcdir) in \
33247 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33248 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
33249 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33250 esac; \
33251 srcdiroption="--srcdir=$${topdir}/zlib"; \
33252 libsrcdir="$$s/zlib"; \
33253 rm -f no-such-file || : ; \
33254 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33255 $(TARGET_CONFIGARGS) $${srcdiroption} \
33256 || exit 1
33257 @endif target-zlib
33263 .PHONY: all-target-zlib maybe-all-target-zlib
33264 maybe-all-target-zlib:
33265 @if target-zlib
33266 TARGET-target-zlib=all
33267 maybe-all-target-zlib: all-target-zlib
33268 all-target-zlib: configure-target-zlib
33269 @$(unstage)
33270 @r=`${PWD_COMMAND}`; export r; \
33271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33272 $(NORMAL_TARGET_EXPORTS) \
33273 (cd $(TARGET_SUBDIR)/zlib && \
33274 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
33275 @endif target-zlib
33281 .PHONY: check-target-zlib maybe-check-target-zlib
33282 maybe-check-target-zlib:
33283 @if target-zlib
33284 maybe-check-target-zlib: check-target-zlib
33286 check-target-zlib:
33287 @$(unstage)
33288 @r=`${PWD_COMMAND}`; export r; \
33289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33290 $(NORMAL_TARGET_EXPORTS) \
33291 (cd $(TARGET_SUBDIR)/zlib && \
33292 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33294 @endif target-zlib
33296 .PHONY: install-target-zlib maybe-install-target-zlib
33297 maybe-install-target-zlib:
33298 @if target-zlib
33299 maybe-install-target-zlib: install-target-zlib
33301 install-target-zlib: installdirs
33302 @$(unstage)
33303 @r=`${PWD_COMMAND}`; export r; \
33304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33305 $(NORMAL_TARGET_EXPORTS) \
33306 (cd $(TARGET_SUBDIR)/zlib && \
33307 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33309 @endif target-zlib
33311 # Other targets (info, dvi, etc.)
33313 .PHONY: maybe-info-target-zlib info-target-zlib
33314 maybe-info-target-zlib:
33315 @if target-zlib
33316 maybe-info-target-zlib: info-target-zlib
33318 info-target-zlib: \
33319 configure-target-zlib
33320 @$(unstage)
33321 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33322 r=`${PWD_COMMAND}`; export r; \
33323 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33324 $(NORMAL_TARGET_EXPORTS) \
33325 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
33326 for flag in $(EXTRA_TARGET_FLAGS); do \
33327 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33328 done; \
33329 (cd $(TARGET_SUBDIR)/zlib && \
33330 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33331 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33332 "RANLIB=$${RANLIB}" \
33333 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33334 info) \
33335 || exit 1
33337 @endif target-zlib
33339 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
33340 maybe-dvi-target-zlib:
33341 @if target-zlib
33342 maybe-dvi-target-zlib: dvi-target-zlib
33344 dvi-target-zlib: \
33345 configure-target-zlib
33346 @$(unstage)
33347 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33348 r=`${PWD_COMMAND}`; export r; \
33349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33350 $(NORMAL_TARGET_EXPORTS) \
33351 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
33352 for flag in $(EXTRA_TARGET_FLAGS); do \
33353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33354 done; \
33355 (cd $(TARGET_SUBDIR)/zlib && \
33356 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33357 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33358 "RANLIB=$${RANLIB}" \
33359 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33360 dvi) \
33361 || exit 1
33363 @endif target-zlib
33365 .PHONY: maybe-html-target-zlib html-target-zlib
33366 maybe-html-target-zlib:
33367 @if target-zlib
33368 maybe-html-target-zlib: html-target-zlib
33370 html-target-zlib: \
33371 configure-target-zlib
33372 @$(unstage)
33373 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33374 r=`${PWD_COMMAND}`; export r; \
33375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33376 $(NORMAL_TARGET_EXPORTS) \
33377 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
33378 for flag in $(EXTRA_TARGET_FLAGS); do \
33379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33380 done; \
33381 (cd $(TARGET_SUBDIR)/zlib && \
33382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33384 "RANLIB=$${RANLIB}" \
33385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33386 html) \
33387 || exit 1
33389 @endif target-zlib
33391 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
33392 maybe-TAGS-target-zlib:
33393 @if target-zlib
33394 maybe-TAGS-target-zlib: TAGS-target-zlib
33396 TAGS-target-zlib: \
33397 configure-target-zlib
33398 @$(unstage)
33399 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33400 r=`${PWD_COMMAND}`; export r; \
33401 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33402 $(NORMAL_TARGET_EXPORTS) \
33403 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
33404 for flag in $(EXTRA_TARGET_FLAGS); do \
33405 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33406 done; \
33407 (cd $(TARGET_SUBDIR)/zlib && \
33408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33410 "RANLIB=$${RANLIB}" \
33411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33412 TAGS) \
33413 || exit 1
33415 @endif target-zlib
33417 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
33418 maybe-install-info-target-zlib:
33419 @if target-zlib
33420 maybe-install-info-target-zlib: install-info-target-zlib
33422 install-info-target-zlib: \
33423 configure-target-zlib \
33424 info-target-zlib
33425 @$(unstage)
33426 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33427 r=`${PWD_COMMAND}`; export r; \
33428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33429 $(NORMAL_TARGET_EXPORTS) \
33430 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
33431 for flag in $(EXTRA_TARGET_FLAGS); do \
33432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33433 done; \
33434 (cd $(TARGET_SUBDIR)/zlib && \
33435 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33436 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33437 "RANLIB=$${RANLIB}" \
33438 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33439 install-info) \
33440 || exit 1
33442 @endif target-zlib
33444 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
33445 maybe-installcheck-target-zlib:
33446 @if target-zlib
33447 maybe-installcheck-target-zlib: installcheck-target-zlib
33449 installcheck-target-zlib: \
33450 configure-target-zlib
33451 @$(unstage)
33452 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33453 r=`${PWD_COMMAND}`; export r; \
33454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33455 $(NORMAL_TARGET_EXPORTS) \
33456 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
33457 for flag in $(EXTRA_TARGET_FLAGS); do \
33458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33459 done; \
33460 (cd $(TARGET_SUBDIR)/zlib && \
33461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33463 "RANLIB=$${RANLIB}" \
33464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33465 installcheck) \
33466 || exit 1
33468 @endif target-zlib
33470 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
33471 maybe-mostlyclean-target-zlib:
33472 @if target-zlib
33473 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
33475 mostlyclean-target-zlib:
33476 @$(unstage)
33477 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33478 r=`${PWD_COMMAND}`; export r; \
33479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33480 $(NORMAL_TARGET_EXPORTS) \
33481 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
33482 for flag in $(EXTRA_TARGET_FLAGS); do \
33483 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33484 done; \
33485 (cd $(TARGET_SUBDIR)/zlib && \
33486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33488 "RANLIB=$${RANLIB}" \
33489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33490 mostlyclean) \
33491 || exit 1
33493 @endif target-zlib
33495 .PHONY: maybe-clean-target-zlib clean-target-zlib
33496 maybe-clean-target-zlib:
33497 @if target-zlib
33498 maybe-clean-target-zlib: clean-target-zlib
33500 clean-target-zlib:
33501 @$(unstage)
33502 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33503 r=`${PWD_COMMAND}`; export r; \
33504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33505 $(NORMAL_TARGET_EXPORTS) \
33506 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
33507 for flag in $(EXTRA_TARGET_FLAGS); do \
33508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33509 done; \
33510 (cd $(TARGET_SUBDIR)/zlib && \
33511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33513 "RANLIB=$${RANLIB}" \
33514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33515 clean) \
33516 || exit 1
33518 @endif target-zlib
33520 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
33521 maybe-distclean-target-zlib:
33522 @if target-zlib
33523 maybe-distclean-target-zlib: distclean-target-zlib
33525 distclean-target-zlib:
33526 @$(unstage)
33527 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33528 r=`${PWD_COMMAND}`; export r; \
33529 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33530 $(NORMAL_TARGET_EXPORTS) \
33531 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
33532 for flag in $(EXTRA_TARGET_FLAGS); do \
33533 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33534 done; \
33535 (cd $(TARGET_SUBDIR)/zlib && \
33536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33538 "RANLIB=$${RANLIB}" \
33539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33540 distclean) \
33541 || exit 1
33543 @endif target-zlib
33545 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
33546 maybe-maintainer-clean-target-zlib:
33547 @if target-zlib
33548 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
33550 maintainer-clean-target-zlib:
33551 @$(unstage)
33552 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
33553 r=`${PWD_COMMAND}`; export r; \
33554 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33555 $(NORMAL_TARGET_EXPORTS) \
33556 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
33557 for flag in $(EXTRA_TARGET_FLAGS); do \
33558 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33559 done; \
33560 (cd $(TARGET_SUBDIR)/zlib && \
33561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33563 "RANLIB=$${RANLIB}" \
33564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33565 maintainer-clean) \
33566 || exit 1
33568 @endif target-zlib
33572 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33573 @if target-boehm-gc
33574 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
33575 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33576 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
33577 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
33578 @endif target-boehm-gc
33582 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
33583 maybe-configure-target-boehm-gc:
33584 @if target-boehm-gc
33585 maybe-configure-target-boehm-gc: configure-target-boehm-gc
33586 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
33587 @$(unstage)
33588 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
33589 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
33590 r=`${PWD_COMMAND}`; export r; \
33591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33592 $(NORMAL_TARGET_EXPORTS) \
33593 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
33594 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
33595 case $(srcdir) in \
33596 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33597 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
33598 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33599 esac; \
33600 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
33601 libsrcdir="$$s/boehm-gc"; \
33602 rm -f no-such-file || : ; \
33603 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33604 $(TARGET_CONFIGARGS) $${srcdiroption} \
33605 || exit 1
33606 @endif target-boehm-gc
33612 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
33613 maybe-all-target-boehm-gc:
33614 @if target-boehm-gc
33615 TARGET-target-boehm-gc=all
33616 maybe-all-target-boehm-gc: all-target-boehm-gc
33617 all-target-boehm-gc: configure-target-boehm-gc
33618 @$(unstage)
33619 @r=`${PWD_COMMAND}`; export r; \
33620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33621 $(NORMAL_TARGET_EXPORTS) \
33622 (cd $(TARGET_SUBDIR)/boehm-gc && \
33623 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
33624 @endif target-boehm-gc
33630 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
33631 maybe-check-target-boehm-gc:
33632 @if target-boehm-gc
33633 maybe-check-target-boehm-gc: check-target-boehm-gc
33635 check-target-boehm-gc:
33636 @$(unstage)
33637 @r=`${PWD_COMMAND}`; export r; \
33638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33639 $(NORMAL_TARGET_EXPORTS) \
33640 (cd $(TARGET_SUBDIR)/boehm-gc && \
33641 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33643 @endif target-boehm-gc
33645 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
33646 maybe-install-target-boehm-gc:
33647 @if target-boehm-gc
33648 maybe-install-target-boehm-gc: install-target-boehm-gc
33650 install-target-boehm-gc: installdirs
33651 @$(unstage)
33652 @r=`${PWD_COMMAND}`; export r; \
33653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33654 $(NORMAL_TARGET_EXPORTS) \
33655 (cd $(TARGET_SUBDIR)/boehm-gc && \
33656 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
33658 @endif target-boehm-gc
33660 # Other targets (info, dvi, etc.)
33662 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
33663 maybe-info-target-boehm-gc:
33664 @if target-boehm-gc
33665 maybe-info-target-boehm-gc: info-target-boehm-gc
33667 info-target-boehm-gc: \
33668 configure-target-boehm-gc
33669 @$(unstage)
33670 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33671 r=`${PWD_COMMAND}`; export r; \
33672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33673 $(NORMAL_TARGET_EXPORTS) \
33674 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
33675 for flag in $(EXTRA_TARGET_FLAGS); do \
33676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33677 done; \
33678 (cd $(TARGET_SUBDIR)/boehm-gc && \
33679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33681 "RANLIB=$${RANLIB}" \
33682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33683 info) \
33684 || exit 1
33686 @endif target-boehm-gc
33688 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
33689 maybe-dvi-target-boehm-gc:
33690 @if target-boehm-gc
33691 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
33693 dvi-target-boehm-gc: \
33694 configure-target-boehm-gc
33695 @$(unstage)
33696 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33697 r=`${PWD_COMMAND}`; export r; \
33698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33699 $(NORMAL_TARGET_EXPORTS) \
33700 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
33701 for flag in $(EXTRA_TARGET_FLAGS); do \
33702 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33703 done; \
33704 (cd $(TARGET_SUBDIR)/boehm-gc && \
33705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33707 "RANLIB=$${RANLIB}" \
33708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33709 dvi) \
33710 || exit 1
33712 @endif target-boehm-gc
33714 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
33715 maybe-html-target-boehm-gc:
33716 @if target-boehm-gc
33717 maybe-html-target-boehm-gc: html-target-boehm-gc
33719 html-target-boehm-gc: \
33720 configure-target-boehm-gc
33721 @$(unstage)
33722 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33723 r=`${PWD_COMMAND}`; export r; \
33724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33725 $(NORMAL_TARGET_EXPORTS) \
33726 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
33727 for flag in $(EXTRA_TARGET_FLAGS); do \
33728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33729 done; \
33730 (cd $(TARGET_SUBDIR)/boehm-gc && \
33731 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33732 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33733 "RANLIB=$${RANLIB}" \
33734 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33735 html) \
33736 || exit 1
33738 @endif target-boehm-gc
33740 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
33741 maybe-TAGS-target-boehm-gc:
33742 @if target-boehm-gc
33743 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
33745 TAGS-target-boehm-gc: \
33746 configure-target-boehm-gc
33747 @$(unstage)
33748 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33749 r=`${PWD_COMMAND}`; export r; \
33750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33751 $(NORMAL_TARGET_EXPORTS) \
33752 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
33753 for flag in $(EXTRA_TARGET_FLAGS); do \
33754 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33755 done; \
33756 (cd $(TARGET_SUBDIR)/boehm-gc && \
33757 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33758 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33759 "RANLIB=$${RANLIB}" \
33760 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33761 TAGS) \
33762 || exit 1
33764 @endif target-boehm-gc
33766 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
33767 maybe-install-info-target-boehm-gc:
33768 @if target-boehm-gc
33769 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
33771 install-info-target-boehm-gc: \
33772 configure-target-boehm-gc \
33773 info-target-boehm-gc
33774 @$(unstage)
33775 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33776 r=`${PWD_COMMAND}`; export r; \
33777 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33778 $(NORMAL_TARGET_EXPORTS) \
33779 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
33780 for flag in $(EXTRA_TARGET_FLAGS); do \
33781 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33782 done; \
33783 (cd $(TARGET_SUBDIR)/boehm-gc && \
33784 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33785 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33786 "RANLIB=$${RANLIB}" \
33787 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33788 install-info) \
33789 || exit 1
33791 @endif target-boehm-gc
33793 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
33794 maybe-installcheck-target-boehm-gc:
33795 @if target-boehm-gc
33796 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
33798 installcheck-target-boehm-gc: \
33799 configure-target-boehm-gc
33800 @$(unstage)
33801 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33802 r=`${PWD_COMMAND}`; export r; \
33803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33804 $(NORMAL_TARGET_EXPORTS) \
33805 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
33806 for flag in $(EXTRA_TARGET_FLAGS); do \
33807 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33808 done; \
33809 (cd $(TARGET_SUBDIR)/boehm-gc && \
33810 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33811 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33812 "RANLIB=$${RANLIB}" \
33813 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33814 installcheck) \
33815 || exit 1
33817 @endif target-boehm-gc
33819 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
33820 maybe-mostlyclean-target-boehm-gc:
33821 @if target-boehm-gc
33822 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
33824 mostlyclean-target-boehm-gc:
33825 @$(unstage)
33826 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33827 r=`${PWD_COMMAND}`; export r; \
33828 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33829 $(NORMAL_TARGET_EXPORTS) \
33830 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
33831 for flag in $(EXTRA_TARGET_FLAGS); do \
33832 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33833 done; \
33834 (cd $(TARGET_SUBDIR)/boehm-gc && \
33835 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33836 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33837 "RANLIB=$${RANLIB}" \
33838 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33839 mostlyclean) \
33840 || exit 1
33842 @endif target-boehm-gc
33844 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
33845 maybe-clean-target-boehm-gc:
33846 @if target-boehm-gc
33847 maybe-clean-target-boehm-gc: clean-target-boehm-gc
33849 clean-target-boehm-gc:
33850 @$(unstage)
33851 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33852 r=`${PWD_COMMAND}`; export r; \
33853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33854 $(NORMAL_TARGET_EXPORTS) \
33855 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33856 for flag in $(EXTRA_TARGET_FLAGS); do \
33857 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33858 done; \
33859 (cd $(TARGET_SUBDIR)/boehm-gc && \
33860 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33861 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33862 "RANLIB=$${RANLIB}" \
33863 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33864 clean) \
33865 || exit 1
33867 @endif target-boehm-gc
33869 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
33870 maybe-distclean-target-boehm-gc:
33871 @if target-boehm-gc
33872 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
33874 distclean-target-boehm-gc:
33875 @$(unstage)
33876 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33877 r=`${PWD_COMMAND}`; export r; \
33878 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33879 $(NORMAL_TARGET_EXPORTS) \
33880 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
33881 for flag in $(EXTRA_TARGET_FLAGS); do \
33882 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33883 done; \
33884 (cd $(TARGET_SUBDIR)/boehm-gc && \
33885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33887 "RANLIB=$${RANLIB}" \
33888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33889 distclean) \
33890 || exit 1
33892 @endif target-boehm-gc
33894 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
33895 maybe-maintainer-clean-target-boehm-gc:
33896 @if target-boehm-gc
33897 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
33899 maintainer-clean-target-boehm-gc:
33900 @$(unstage)
33901 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
33902 r=`${PWD_COMMAND}`; export r; \
33903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33904 $(NORMAL_TARGET_EXPORTS) \
33905 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
33906 for flag in $(EXTRA_TARGET_FLAGS); do \
33907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
33908 done; \
33909 (cd $(TARGET_SUBDIR)/boehm-gc && \
33910 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
33911 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
33912 "RANLIB=$${RANLIB}" \
33913 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
33914 maintainer-clean) \
33915 || exit 1
33917 @endif target-boehm-gc
33921 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
33922 @if target-qthreads
33923 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
33924 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33925 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
33926 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
33927 @endif target-qthreads
33931 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
33932 maybe-configure-target-qthreads:
33933 @if target-qthreads
33934 maybe-configure-target-qthreads: configure-target-qthreads
33935 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
33936 @$(unstage)
33937 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
33938 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
33939 r=`${PWD_COMMAND}`; export r; \
33940 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33941 $(NORMAL_TARGET_EXPORTS) \
33942 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
33943 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
33944 case $(srcdir) in \
33945 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33946 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
33947 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33948 esac; \
33949 srcdiroption="--srcdir=$${topdir}/qthreads"; \
33950 libsrcdir="$$s/qthreads"; \
33951 rm -f no-such-file || : ; \
33952 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
33953 $(TARGET_CONFIGARGS) $${srcdiroption} \
33954 || exit 1
33955 @endif target-qthreads
33961 .PHONY: all-target-qthreads maybe-all-target-qthreads
33962 maybe-all-target-qthreads:
33963 @if target-qthreads
33964 TARGET-target-qthreads=all
33965 maybe-all-target-qthreads: all-target-qthreads
33966 all-target-qthreads: configure-target-qthreads
33967 @$(unstage)
33968 @r=`${PWD_COMMAND}`; export r; \
33969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33970 $(NORMAL_TARGET_EXPORTS) \
33971 (cd $(TARGET_SUBDIR)/qthreads && \
33972 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
33973 @endif target-qthreads
33979 .PHONY: check-target-qthreads maybe-check-target-qthreads
33980 maybe-check-target-qthreads:
33981 @if target-qthreads
33982 maybe-check-target-qthreads: check-target-qthreads
33984 check-target-qthreads:
33985 @$(unstage)
33986 @r=`${PWD_COMMAND}`; export r; \
33987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33988 $(NORMAL_TARGET_EXPORTS) \
33989 (cd $(TARGET_SUBDIR)/qthreads && \
33990 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
33992 @endif target-qthreads
33994 .PHONY: install-target-qthreads maybe-install-target-qthreads
33995 maybe-install-target-qthreads:
33996 @if target-qthreads
33997 maybe-install-target-qthreads: install-target-qthreads
33999 install-target-qthreads: installdirs
34000 @$(unstage)
34001 @r=`${PWD_COMMAND}`; export r; \
34002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34003 $(NORMAL_TARGET_EXPORTS) \
34004 (cd $(TARGET_SUBDIR)/qthreads && \
34005 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34007 @endif target-qthreads
34009 # Other targets (info, dvi, etc.)
34011 .PHONY: maybe-info-target-qthreads info-target-qthreads
34012 maybe-info-target-qthreads:
34013 @if target-qthreads
34014 maybe-info-target-qthreads: info-target-qthreads
34016 info-target-qthreads: \
34017 configure-target-qthreads
34018 @$(unstage)
34019 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34020 r=`${PWD_COMMAND}`; export r; \
34021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34022 $(NORMAL_TARGET_EXPORTS) \
34023 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
34024 for flag in $(EXTRA_TARGET_FLAGS); do \
34025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34026 done; \
34027 (cd $(TARGET_SUBDIR)/qthreads && \
34028 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34029 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34030 "RANLIB=$${RANLIB}" \
34031 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34032 info) \
34033 || exit 1
34035 @endif target-qthreads
34037 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
34038 maybe-dvi-target-qthreads:
34039 @if target-qthreads
34040 maybe-dvi-target-qthreads: dvi-target-qthreads
34042 dvi-target-qthreads: \
34043 configure-target-qthreads
34044 @$(unstage)
34045 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34046 r=`${PWD_COMMAND}`; export r; \
34047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34048 $(NORMAL_TARGET_EXPORTS) \
34049 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
34050 for flag in $(EXTRA_TARGET_FLAGS); do \
34051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34052 done; \
34053 (cd $(TARGET_SUBDIR)/qthreads && \
34054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34056 "RANLIB=$${RANLIB}" \
34057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34058 dvi) \
34059 || exit 1
34061 @endif target-qthreads
34063 .PHONY: maybe-html-target-qthreads html-target-qthreads
34064 maybe-html-target-qthreads:
34065 @if target-qthreads
34066 maybe-html-target-qthreads: html-target-qthreads
34068 html-target-qthreads: \
34069 configure-target-qthreads
34070 @$(unstage)
34071 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34072 r=`${PWD_COMMAND}`; export r; \
34073 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34074 $(NORMAL_TARGET_EXPORTS) \
34075 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
34076 for flag in $(EXTRA_TARGET_FLAGS); do \
34077 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34078 done; \
34079 (cd $(TARGET_SUBDIR)/qthreads && \
34080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34082 "RANLIB=$${RANLIB}" \
34083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34084 html) \
34085 || exit 1
34087 @endif target-qthreads
34089 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
34090 maybe-TAGS-target-qthreads:
34091 @if target-qthreads
34092 maybe-TAGS-target-qthreads: TAGS-target-qthreads
34094 TAGS-target-qthreads: \
34095 configure-target-qthreads
34096 @$(unstage)
34097 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34098 r=`${PWD_COMMAND}`; export r; \
34099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34100 $(NORMAL_TARGET_EXPORTS) \
34101 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
34102 for flag in $(EXTRA_TARGET_FLAGS); do \
34103 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34104 done; \
34105 (cd $(TARGET_SUBDIR)/qthreads && \
34106 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34107 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34108 "RANLIB=$${RANLIB}" \
34109 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34110 TAGS) \
34111 || exit 1
34113 @endif target-qthreads
34115 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
34116 maybe-install-info-target-qthreads:
34117 @if target-qthreads
34118 maybe-install-info-target-qthreads: install-info-target-qthreads
34120 install-info-target-qthreads: \
34121 configure-target-qthreads \
34122 info-target-qthreads
34123 @$(unstage)
34124 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34125 r=`${PWD_COMMAND}`; export r; \
34126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34127 $(NORMAL_TARGET_EXPORTS) \
34128 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
34129 for flag in $(EXTRA_TARGET_FLAGS); do \
34130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34131 done; \
34132 (cd $(TARGET_SUBDIR)/qthreads && \
34133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34135 "RANLIB=$${RANLIB}" \
34136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34137 install-info) \
34138 || exit 1
34140 @endif target-qthreads
34142 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
34143 maybe-installcheck-target-qthreads:
34144 @if target-qthreads
34145 maybe-installcheck-target-qthreads: installcheck-target-qthreads
34147 installcheck-target-qthreads: \
34148 configure-target-qthreads
34149 @$(unstage)
34150 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34151 r=`${PWD_COMMAND}`; export r; \
34152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34153 $(NORMAL_TARGET_EXPORTS) \
34154 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
34155 for flag in $(EXTRA_TARGET_FLAGS); do \
34156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34157 done; \
34158 (cd $(TARGET_SUBDIR)/qthreads && \
34159 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34160 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34161 "RANLIB=$${RANLIB}" \
34162 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34163 installcheck) \
34164 || exit 1
34166 @endif target-qthreads
34168 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
34169 maybe-mostlyclean-target-qthreads:
34170 @if target-qthreads
34171 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
34173 mostlyclean-target-qthreads:
34174 @$(unstage)
34175 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34176 r=`${PWD_COMMAND}`; export r; \
34177 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34178 $(NORMAL_TARGET_EXPORTS) \
34179 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
34180 for flag in $(EXTRA_TARGET_FLAGS); do \
34181 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34182 done; \
34183 (cd $(TARGET_SUBDIR)/qthreads && \
34184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34186 "RANLIB=$${RANLIB}" \
34187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34188 mostlyclean) \
34189 || exit 1
34191 @endif target-qthreads
34193 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
34194 maybe-clean-target-qthreads:
34195 @if target-qthreads
34196 maybe-clean-target-qthreads: clean-target-qthreads
34198 clean-target-qthreads:
34199 @$(unstage)
34200 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34201 r=`${PWD_COMMAND}`; export r; \
34202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34203 $(NORMAL_TARGET_EXPORTS) \
34204 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
34205 for flag in $(EXTRA_TARGET_FLAGS); do \
34206 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34207 done; \
34208 (cd $(TARGET_SUBDIR)/qthreads && \
34209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34211 "RANLIB=$${RANLIB}" \
34212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34213 clean) \
34214 || exit 1
34216 @endif target-qthreads
34218 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
34219 maybe-distclean-target-qthreads:
34220 @if target-qthreads
34221 maybe-distclean-target-qthreads: distclean-target-qthreads
34223 distclean-target-qthreads:
34224 @$(unstage)
34225 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34226 r=`${PWD_COMMAND}`; export r; \
34227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34228 $(NORMAL_TARGET_EXPORTS) \
34229 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
34230 for flag in $(EXTRA_TARGET_FLAGS); do \
34231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34232 done; \
34233 (cd $(TARGET_SUBDIR)/qthreads && \
34234 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34235 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34236 "RANLIB=$${RANLIB}" \
34237 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34238 distclean) \
34239 || exit 1
34241 @endif target-qthreads
34243 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
34244 maybe-maintainer-clean-target-qthreads:
34245 @if target-qthreads
34246 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
34248 maintainer-clean-target-qthreads:
34249 @$(unstage)
34250 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
34251 r=`${PWD_COMMAND}`; export r; \
34252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34253 $(NORMAL_TARGET_EXPORTS) \
34254 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
34255 for flag in $(EXTRA_TARGET_FLAGS); do \
34256 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34257 done; \
34258 (cd $(TARGET_SUBDIR)/qthreads && \
34259 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34260 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34261 "RANLIB=$${RANLIB}" \
34262 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34263 maintainer-clean) \
34264 || exit 1
34266 @endif target-qthreads
34270 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34271 @if target-rda
34272 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
34273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34274 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
34275 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
34276 @endif target-rda
34280 .PHONY: configure-target-rda maybe-configure-target-rda
34281 maybe-configure-target-rda:
34282 @if target-rda
34283 maybe-configure-target-rda: configure-target-rda
34284 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
34285 @$(unstage)
34286 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
34287 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
34288 r=`${PWD_COMMAND}`; export r; \
34289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34290 $(NORMAL_TARGET_EXPORTS) \
34291 echo Configuring in $(TARGET_SUBDIR)/rda; \
34292 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
34293 case $(srcdir) in \
34294 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34295 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
34296 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34297 esac; \
34298 srcdiroption="--srcdir=$${topdir}/rda"; \
34299 libsrcdir="$$s/rda"; \
34300 rm -f no-such-file || : ; \
34301 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34302 $(TARGET_CONFIGARGS) $${srcdiroption} \
34303 || exit 1
34304 @endif target-rda
34310 .PHONY: all-target-rda maybe-all-target-rda
34311 maybe-all-target-rda:
34312 @if target-rda
34313 TARGET-target-rda=all
34314 maybe-all-target-rda: all-target-rda
34315 all-target-rda: configure-target-rda
34316 @$(unstage)
34317 @r=`${PWD_COMMAND}`; export r; \
34318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34319 $(NORMAL_TARGET_EXPORTS) \
34320 (cd $(TARGET_SUBDIR)/rda && \
34321 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
34322 @endif target-rda
34328 .PHONY: check-target-rda maybe-check-target-rda
34329 maybe-check-target-rda:
34330 @if target-rda
34331 maybe-check-target-rda: check-target-rda
34333 check-target-rda:
34334 @$(unstage)
34335 @r=`${PWD_COMMAND}`; export r; \
34336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34337 $(NORMAL_TARGET_EXPORTS) \
34338 (cd $(TARGET_SUBDIR)/rda && \
34339 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34341 @endif target-rda
34343 .PHONY: install-target-rda maybe-install-target-rda
34344 maybe-install-target-rda:
34345 @if target-rda
34346 maybe-install-target-rda: install-target-rda
34348 install-target-rda: installdirs
34349 @$(unstage)
34350 @r=`${PWD_COMMAND}`; export r; \
34351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34352 $(NORMAL_TARGET_EXPORTS) \
34353 (cd $(TARGET_SUBDIR)/rda && \
34354 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34356 @endif target-rda
34358 # Other targets (info, dvi, etc.)
34360 .PHONY: maybe-info-target-rda info-target-rda
34361 maybe-info-target-rda:
34362 @if target-rda
34363 maybe-info-target-rda: info-target-rda
34365 info-target-rda: \
34366 configure-target-rda
34367 @$(unstage)
34368 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34369 r=`${PWD_COMMAND}`; export r; \
34370 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34371 $(NORMAL_TARGET_EXPORTS) \
34372 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
34373 for flag in $(EXTRA_TARGET_FLAGS); do \
34374 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34375 done; \
34376 (cd $(TARGET_SUBDIR)/rda && \
34377 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34378 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34379 "RANLIB=$${RANLIB}" \
34380 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34381 info) \
34382 || exit 1
34384 @endif target-rda
34386 .PHONY: maybe-dvi-target-rda dvi-target-rda
34387 maybe-dvi-target-rda:
34388 @if target-rda
34389 maybe-dvi-target-rda: dvi-target-rda
34391 dvi-target-rda: \
34392 configure-target-rda
34393 @$(unstage)
34394 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34395 r=`${PWD_COMMAND}`; export r; \
34396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34397 $(NORMAL_TARGET_EXPORTS) \
34398 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
34399 for flag in $(EXTRA_TARGET_FLAGS); do \
34400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34401 done; \
34402 (cd $(TARGET_SUBDIR)/rda && \
34403 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34404 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34405 "RANLIB=$${RANLIB}" \
34406 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34407 dvi) \
34408 || exit 1
34410 @endif target-rda
34412 .PHONY: maybe-html-target-rda html-target-rda
34413 maybe-html-target-rda:
34414 @if target-rda
34415 maybe-html-target-rda: html-target-rda
34417 html-target-rda: \
34418 configure-target-rda
34419 @$(unstage)
34420 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34421 r=`${PWD_COMMAND}`; export r; \
34422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34423 $(NORMAL_TARGET_EXPORTS) \
34424 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
34425 for flag in $(EXTRA_TARGET_FLAGS); do \
34426 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34427 done; \
34428 (cd $(TARGET_SUBDIR)/rda && \
34429 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34430 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34431 "RANLIB=$${RANLIB}" \
34432 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34433 html) \
34434 || exit 1
34436 @endif target-rda
34438 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
34439 maybe-TAGS-target-rda:
34440 @if target-rda
34441 maybe-TAGS-target-rda: TAGS-target-rda
34443 TAGS-target-rda: \
34444 configure-target-rda
34445 @$(unstage)
34446 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34447 r=`${PWD_COMMAND}`; export r; \
34448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34449 $(NORMAL_TARGET_EXPORTS) \
34450 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
34451 for flag in $(EXTRA_TARGET_FLAGS); do \
34452 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34453 done; \
34454 (cd $(TARGET_SUBDIR)/rda && \
34455 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34456 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34457 "RANLIB=$${RANLIB}" \
34458 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34459 TAGS) \
34460 || exit 1
34462 @endif target-rda
34464 .PHONY: maybe-install-info-target-rda install-info-target-rda
34465 maybe-install-info-target-rda:
34466 @if target-rda
34467 maybe-install-info-target-rda: install-info-target-rda
34469 install-info-target-rda: \
34470 configure-target-rda \
34471 info-target-rda
34472 @$(unstage)
34473 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34474 r=`${PWD_COMMAND}`; export r; \
34475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34476 $(NORMAL_TARGET_EXPORTS) \
34477 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
34478 for flag in $(EXTRA_TARGET_FLAGS); do \
34479 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34480 done; \
34481 (cd $(TARGET_SUBDIR)/rda && \
34482 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34483 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34484 "RANLIB=$${RANLIB}" \
34485 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34486 install-info) \
34487 || exit 1
34489 @endif target-rda
34491 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
34492 maybe-installcheck-target-rda:
34493 @if target-rda
34494 maybe-installcheck-target-rda: installcheck-target-rda
34496 installcheck-target-rda: \
34497 configure-target-rda
34498 @$(unstage)
34499 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34500 r=`${PWD_COMMAND}`; export r; \
34501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34502 $(NORMAL_TARGET_EXPORTS) \
34503 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
34504 for flag in $(EXTRA_TARGET_FLAGS); do \
34505 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34506 done; \
34507 (cd $(TARGET_SUBDIR)/rda && \
34508 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34509 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34510 "RANLIB=$${RANLIB}" \
34511 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34512 installcheck) \
34513 || exit 1
34515 @endif target-rda
34517 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
34518 maybe-mostlyclean-target-rda:
34519 @if target-rda
34520 maybe-mostlyclean-target-rda: mostlyclean-target-rda
34522 mostlyclean-target-rda:
34523 @$(unstage)
34524 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34525 r=`${PWD_COMMAND}`; export r; \
34526 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34527 $(NORMAL_TARGET_EXPORTS) \
34528 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
34529 for flag in $(EXTRA_TARGET_FLAGS); do \
34530 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34531 done; \
34532 (cd $(TARGET_SUBDIR)/rda && \
34533 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34534 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34535 "RANLIB=$${RANLIB}" \
34536 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34537 mostlyclean) \
34538 || exit 1
34540 @endif target-rda
34542 .PHONY: maybe-clean-target-rda clean-target-rda
34543 maybe-clean-target-rda:
34544 @if target-rda
34545 maybe-clean-target-rda: clean-target-rda
34547 clean-target-rda:
34548 @$(unstage)
34549 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34550 r=`${PWD_COMMAND}`; export r; \
34551 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34552 $(NORMAL_TARGET_EXPORTS) \
34553 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
34554 for flag in $(EXTRA_TARGET_FLAGS); do \
34555 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34556 done; \
34557 (cd $(TARGET_SUBDIR)/rda && \
34558 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34559 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34560 "RANLIB=$${RANLIB}" \
34561 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34562 clean) \
34563 || exit 1
34565 @endif target-rda
34567 .PHONY: maybe-distclean-target-rda distclean-target-rda
34568 maybe-distclean-target-rda:
34569 @if target-rda
34570 maybe-distclean-target-rda: distclean-target-rda
34572 distclean-target-rda:
34573 @$(unstage)
34574 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34575 r=`${PWD_COMMAND}`; export r; \
34576 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34577 $(NORMAL_TARGET_EXPORTS) \
34578 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
34579 for flag in $(EXTRA_TARGET_FLAGS); do \
34580 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34581 done; \
34582 (cd $(TARGET_SUBDIR)/rda && \
34583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34585 "RANLIB=$${RANLIB}" \
34586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34587 distclean) \
34588 || exit 1
34590 @endif target-rda
34592 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
34593 maybe-maintainer-clean-target-rda:
34594 @if target-rda
34595 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
34597 maintainer-clean-target-rda:
34598 @$(unstage)
34599 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
34600 r=`${PWD_COMMAND}`; export r; \
34601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34602 $(NORMAL_TARGET_EXPORTS) \
34603 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
34604 for flag in $(EXTRA_TARGET_FLAGS); do \
34605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34606 done; \
34607 (cd $(TARGET_SUBDIR)/rda && \
34608 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34609 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34610 "RANLIB=$${RANLIB}" \
34611 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34612 maintainer-clean) \
34613 || exit 1
34615 @endif target-rda
34619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
34620 @if target-libada
34621 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
34622 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34623 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
34624 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
34625 @endif target-libada
34629 .PHONY: configure-target-libada maybe-configure-target-libada
34630 maybe-configure-target-libada:
34631 @if target-libada
34632 maybe-configure-target-libada: configure-target-libada
34633 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
34634 @$(unstage)
34635 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
34636 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
34637 r=`${PWD_COMMAND}`; export r; \
34638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34639 $(NORMAL_TARGET_EXPORTS) \
34640 echo Configuring in $(TARGET_SUBDIR)/libada; \
34641 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
34642 case $(srcdir) in \
34643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34644 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
34645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34646 esac; \
34647 srcdiroption="--srcdir=$${topdir}/libada"; \
34648 libsrcdir="$$s/libada"; \
34649 rm -f no-such-file || : ; \
34650 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
34651 $(TARGET_CONFIGARGS) $${srcdiroption} \
34652 || exit 1
34653 @endif target-libada
34659 .PHONY: all-target-libada maybe-all-target-libada
34660 maybe-all-target-libada:
34661 @if target-libada
34662 TARGET-target-libada=all
34663 maybe-all-target-libada: all-target-libada
34664 all-target-libada: configure-target-libada
34665 @$(unstage)
34666 @r=`${PWD_COMMAND}`; export r; \
34667 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34668 $(NORMAL_TARGET_EXPORTS) \
34669 (cd $(TARGET_SUBDIR)/libada && \
34670 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
34671 @endif target-libada
34677 .PHONY: check-target-libada maybe-check-target-libada
34678 maybe-check-target-libada:
34679 @if target-libada
34680 maybe-check-target-libada: check-target-libada
34682 check-target-libada:
34683 @$(unstage)
34684 @r=`${PWD_COMMAND}`; export r; \
34685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34686 $(NORMAL_TARGET_EXPORTS) \
34687 (cd $(TARGET_SUBDIR)/libada && \
34688 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
34690 @endif target-libada
34692 .PHONY: install-target-libada maybe-install-target-libada
34693 maybe-install-target-libada:
34694 @if target-libada
34695 maybe-install-target-libada: install-target-libada
34697 install-target-libada: installdirs
34698 @$(unstage)
34699 @r=`${PWD_COMMAND}`; export r; \
34700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34701 $(NORMAL_TARGET_EXPORTS) \
34702 (cd $(TARGET_SUBDIR)/libada && \
34703 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
34705 @endif target-libada
34707 # Other targets (info, dvi, etc.)
34709 .PHONY: maybe-info-target-libada info-target-libada
34710 maybe-info-target-libada:
34711 @if target-libada
34712 maybe-info-target-libada: info-target-libada
34714 info-target-libada: \
34715 configure-target-libada
34716 @$(unstage)
34717 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34718 r=`${PWD_COMMAND}`; export r; \
34719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34720 $(NORMAL_TARGET_EXPORTS) \
34721 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
34722 for flag in $(EXTRA_TARGET_FLAGS); do \
34723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34724 done; \
34725 (cd $(TARGET_SUBDIR)/libada && \
34726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34728 "RANLIB=$${RANLIB}" \
34729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34730 info) \
34731 || exit 1
34733 @endif target-libada
34735 .PHONY: maybe-dvi-target-libada dvi-target-libada
34736 maybe-dvi-target-libada:
34737 @if target-libada
34738 maybe-dvi-target-libada: dvi-target-libada
34740 dvi-target-libada: \
34741 configure-target-libada
34742 @$(unstage)
34743 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34744 r=`${PWD_COMMAND}`; export r; \
34745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34746 $(NORMAL_TARGET_EXPORTS) \
34747 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
34748 for flag in $(EXTRA_TARGET_FLAGS); do \
34749 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34750 done; \
34751 (cd $(TARGET_SUBDIR)/libada && \
34752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34754 "RANLIB=$${RANLIB}" \
34755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34756 dvi) \
34757 || exit 1
34759 @endif target-libada
34761 .PHONY: maybe-html-target-libada html-target-libada
34762 maybe-html-target-libada:
34763 @if target-libada
34764 maybe-html-target-libada: html-target-libada
34766 html-target-libada: \
34767 configure-target-libada
34768 @$(unstage)
34769 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34770 r=`${PWD_COMMAND}`; export r; \
34771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34772 $(NORMAL_TARGET_EXPORTS) \
34773 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
34774 for flag in $(EXTRA_TARGET_FLAGS); do \
34775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34776 done; \
34777 (cd $(TARGET_SUBDIR)/libada && \
34778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34780 "RANLIB=$${RANLIB}" \
34781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34782 html) \
34783 || exit 1
34785 @endif target-libada
34787 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
34788 maybe-TAGS-target-libada:
34789 @if target-libada
34790 maybe-TAGS-target-libada: TAGS-target-libada
34792 TAGS-target-libada: \
34793 configure-target-libada
34794 @$(unstage)
34795 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34796 r=`${PWD_COMMAND}`; export r; \
34797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34798 $(NORMAL_TARGET_EXPORTS) \
34799 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
34800 for flag in $(EXTRA_TARGET_FLAGS); do \
34801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34802 done; \
34803 (cd $(TARGET_SUBDIR)/libada && \
34804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34806 "RANLIB=$${RANLIB}" \
34807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34808 TAGS) \
34809 || exit 1
34811 @endif target-libada
34813 .PHONY: maybe-install-info-target-libada install-info-target-libada
34814 maybe-install-info-target-libada:
34815 @if target-libada
34816 maybe-install-info-target-libada: install-info-target-libada
34818 install-info-target-libada: \
34819 configure-target-libada \
34820 info-target-libada
34821 @$(unstage)
34822 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34823 r=`${PWD_COMMAND}`; export r; \
34824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34825 $(NORMAL_TARGET_EXPORTS) \
34826 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
34827 for flag in $(EXTRA_TARGET_FLAGS); do \
34828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34829 done; \
34830 (cd $(TARGET_SUBDIR)/libada && \
34831 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34832 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34833 "RANLIB=$${RANLIB}" \
34834 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34835 install-info) \
34836 || exit 1
34838 @endif target-libada
34840 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
34841 maybe-installcheck-target-libada:
34842 @if target-libada
34843 maybe-installcheck-target-libada: installcheck-target-libada
34845 installcheck-target-libada: \
34846 configure-target-libada
34847 @$(unstage)
34848 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34849 r=`${PWD_COMMAND}`; export r; \
34850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34851 $(NORMAL_TARGET_EXPORTS) \
34852 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
34853 for flag in $(EXTRA_TARGET_FLAGS); do \
34854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34855 done; \
34856 (cd $(TARGET_SUBDIR)/libada && \
34857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34859 "RANLIB=$${RANLIB}" \
34860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34861 installcheck) \
34862 || exit 1
34864 @endif target-libada
34866 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
34867 maybe-mostlyclean-target-libada:
34868 @if target-libada
34869 maybe-mostlyclean-target-libada: mostlyclean-target-libada
34871 mostlyclean-target-libada:
34872 @$(unstage)
34873 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34874 r=`${PWD_COMMAND}`; export r; \
34875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34876 $(NORMAL_TARGET_EXPORTS) \
34877 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
34878 for flag in $(EXTRA_TARGET_FLAGS); do \
34879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34880 done; \
34881 (cd $(TARGET_SUBDIR)/libada && \
34882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34884 "RANLIB=$${RANLIB}" \
34885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34886 mostlyclean) \
34887 || exit 1
34889 @endif target-libada
34891 .PHONY: maybe-clean-target-libada clean-target-libada
34892 maybe-clean-target-libada:
34893 @if target-libada
34894 maybe-clean-target-libada: clean-target-libada
34896 clean-target-libada:
34897 @$(unstage)
34898 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34899 r=`${PWD_COMMAND}`; export r; \
34900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34901 $(NORMAL_TARGET_EXPORTS) \
34902 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
34903 for flag in $(EXTRA_TARGET_FLAGS); do \
34904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34905 done; \
34906 (cd $(TARGET_SUBDIR)/libada && \
34907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34909 "RANLIB=$${RANLIB}" \
34910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34911 clean) \
34912 || exit 1
34914 @endif target-libada
34916 .PHONY: maybe-distclean-target-libada distclean-target-libada
34917 maybe-distclean-target-libada:
34918 @if target-libada
34919 maybe-distclean-target-libada: distclean-target-libada
34921 distclean-target-libada:
34922 @$(unstage)
34923 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34924 r=`${PWD_COMMAND}`; export r; \
34925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34926 $(NORMAL_TARGET_EXPORTS) \
34927 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
34928 for flag in $(EXTRA_TARGET_FLAGS); do \
34929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34930 done; \
34931 (cd $(TARGET_SUBDIR)/libada && \
34932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34934 "RANLIB=$${RANLIB}" \
34935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34936 distclean) \
34937 || exit 1
34939 @endif target-libada
34941 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
34942 maybe-maintainer-clean-target-libada:
34943 @if target-libada
34944 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
34946 maintainer-clean-target-libada:
34947 @$(unstage)
34948 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
34949 r=`${PWD_COMMAND}`; export r; \
34950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34951 $(NORMAL_TARGET_EXPORTS) \
34952 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
34953 for flag in $(EXTRA_TARGET_FLAGS); do \
34954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
34955 done; \
34956 (cd $(TARGET_SUBDIR)/libada && \
34957 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
34958 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
34959 "RANLIB=$${RANLIB}" \
34960 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
34961 maintainer-clean) \
34962 || exit 1
34964 @endif target-libada
34968 # ----------
34969 # GCC module
34970 # ----------
34972 @if gcc-no-bootstrap
34973 # GCC has some more recursive targets, which trigger the old
34974 # (but still current, until the toplevel bootstrap project
34975 # is finished) compiler bootstrapping rules.
34977 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
34978 .PHONY: $(GCC_STRAP_TARGETS)
34979 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
34980 @r=`${PWD_COMMAND}`; export r; \
34981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34982 $(HOST_EXPORTS) \
34983 echo "Bootstrapping the compiler"; \
34984 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
34985 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
34986 @r=`${PWD_COMMAND}`; export r; \
34987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34988 case "$@" in \
34989 *bootstrap4-lean ) \
34990 msg="Comparing stage3 and stage4 of the compiler"; \
34991 compare=compare3-lean ;; \
34992 *bootstrap4 ) \
34993 msg="Comparing stage3 and stage4 of the compiler"; \
34994 compare=compare3 ;; \
34995 *-lean ) \
34996 msg="Comparing stage2 and stage3 of the compiler"; \
34997 compare=compare-lean ;; \
34998 * ) \
34999 msg="Comparing stage2 and stage3 of the compiler"; \
35000 compare=compare ;; \
35001 esac; \
35002 $(HOST_EXPORTS) \
35003 echo "$$msg"; \
35004 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
35005 @r=`${PWD_COMMAND}`; export r; \
35006 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35007 echo "Building runtime libraries"; \
35008 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35010 profiledbootstrap: all-prebootstrap configure-gcc
35011 @r=`${PWD_COMMAND}`; export r; \
35012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35013 $(HOST_EXPORTS) \
35014 $(RPATH_ENVVAR)=`echo "$(TARGET_LIB_PATH)$$$(RPATH_ENVVAR)" | sed 's,:[ :]*,:,g;s,^[ :]*,,;s,:*$$,,'`; export $(RPATH_ENVVAR); \
35015 echo "Bootstrapping training compiler"; \
35016 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
35017 @r=`${PWD_COMMAND}`; export r; \
35018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35019 $(HOST_EXPORTS) \
35020 echo "Building feedback based compiler"; \
35021 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
35022 @r=`${PWD_COMMAND}`; export r; \
35023 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35024 echo "Building runtime libraries"; \
35025 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35027 .PHONY: cross
35028 cross: all-build all-gas all-ld
35029 @r=`${PWD_COMMAND}`; export r; \
35030 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35031 $(HOST_EXPORTS) \
35032 echo "Building the C and C++ compiler"; \
35033 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
35034 @r=`${PWD_COMMAND}`; export r; \
35035 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35036 echo "Building runtime libraries"; \
35037 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
35038 @endif gcc-no-bootstrap
35040 @if gcc
35041 .PHONY: check-gcc-c++
35042 check-gcc-c++:
35043 @if [ -f ./gcc/Makefile ] ; then \
35044 r=`${PWD_COMMAND}`; export r; \
35045 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35046 $(HOST_EXPORTS) \
35047 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
35048 else \
35049 true; \
35052 .PHONY: check-c++
35053 check-c++: check-target-libstdc++-v3 check-gcc-c++
35055 # Install the gcc headers files, but not the fixed include files,
35056 # which Cygnus is not allowed to distribute. This rule is very
35057 # dependent on the workings of the gcc Makefile.in.
35058 .PHONY: gcc-no-fixedincludes
35059 gcc-no-fixedincludes:
35060 @if [ -f ./gcc/Makefile ]; then \
35061 rm -rf gcc/tmp-include; \
35062 mv gcc/include gcc/tmp-include 2>/dev/null; \
35063 mkdir gcc/include; \
35064 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
35065 touch gcc/stmp-fixinc gcc/include/fixed; \
35066 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
35067 r=`${PWD_COMMAND}`; export r; \
35068 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
35069 $(HOST_EXPORTS) \
35070 (cd ./gcc && \
35071 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
35072 rm -rf gcc/include; \
35073 mv gcc/tmp-include gcc/include 2>/dev/null; \
35074 else true; fi
35075 @endif gcc
35077 # ---------------------
35078 # GCC bootstrap support
35079 # ---------------------
35081 # We track the current stage (the one in 'gcc') in the stage_current file.
35082 # stage_last instead tracks the stage that was built last. These targets
35083 # are dummy when toplevel bootstrap is not active.
35085 # While making host and target tools, symlinks to the final stage must be
35086 # there, so $(MAKE) $(unstage) should be run at various points. To avoid
35087 # excessive recursive invocations of make, we "inline" them using a variable.
35089 unstage = :
35090 stage = :
35092 @if gcc-bootstrap
35093 unstage = [ -f stage_current ] || $(MAKE) `cat stage_last`-start
35094 stage = $(MAKE) `cat stage_current`-end
35095 @endif gcc-bootstrap
35097 .PHONY: unstage stage
35098 unstage:
35099 @$(unstage)
35100 stage:
35101 @$(stage)
35103 # We name the build directories for the various stages "stage1-gcc",
35104 # "stage2-gcc","stage3-gcc", etc.
35106 # Since the 'compare' process will fail (on debugging information) if any
35107 # directory names are different, we need to link the gcc directory for
35108 # the previous stage to a constant name ('gcc-prev'), and to make the name of
35109 # the build directories constant as well. For the latter, we use naked names
35110 # like 'gcc', because the scripts in that directory assume it. We use
35111 # mv on platforms where symlinks to directories do not work or are not
35112 # reliable.
35114 # 'touch' doesn't work right on some platforms.
35115 STAMP = echo timestamp >
35117 # Only build the C compiler for stage1, because that is the only one that
35118 # we can guarantee will build with the native compiler, and also it is the
35119 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
35120 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
35121 # overrideable (for a bootstrap build stage1 also builds gcc.info).
35123 STAGE1_CFLAGS=@stage1_cflags@
35124 STAGE1_LANGUAGES=@stage1_languages@
35126 # We only want to compare .o files, so set this!
35127 objext = .o
35129 # Flags to pass to stage2 and later makes.
35130 POSTSTAGE1_FLAGS_TO_PASS = \
35131 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
35132 STAGE_PREFIX=$$r/prev-gcc/ \
35133 CFLAGS="$(BOOT_CFLAGS)" \
35134 ADAC="\$$(CC)"
35136 # For stage 1:
35137 # * We force-disable intermodule optimizations, even if
35138 # --enable-intermodule was passed, since the installed compiler probably
35139 # can't handle them. Luckily, autoconf always respects
35140 # the last argument when conflicting --enable arguments are passed.
35141 # * Likewise, we force-disable coverage flags, since the installed compiler
35142 # probably has never heard of them.
35143 # * We build only C (and possibly Ada).
35146 .PHONY: stage1-start stage1-end
35148 stage1-start::
35149 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35150 echo stage1 > stage_current ; \
35151 echo stage1 > stage_last; \
35152 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35153 @if bfd
35154 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
35155 mkdir stage1-bfd; \
35156 set stage1-bfd bfd ; \
35157 @CREATE_LINK_TO_DIR@
35158 @endif bfd
35159 @if opcodes
35160 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
35161 mkdir stage1-opcodes; \
35162 set stage1-opcodes opcodes ; \
35163 @CREATE_LINK_TO_DIR@
35164 @endif opcodes
35165 @if binutils
35166 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
35167 mkdir stage1-binutils; \
35168 set stage1-binutils binutils ; \
35169 @CREATE_LINK_TO_DIR@
35170 @endif binutils
35171 @if gas
35172 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
35173 mkdir stage1-gas; \
35174 set stage1-gas gas ; \
35175 @CREATE_LINK_TO_DIR@
35176 @endif gas
35177 @if gcc
35178 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
35179 mkdir stage1-gcc; \
35180 set stage1-gcc gcc ; \
35181 @CREATE_LINK_TO_DIR@
35182 @endif gcc
35183 @if intl
35184 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
35185 mkdir stage1-intl; \
35186 set stage1-intl intl ; \
35187 @CREATE_LINK_TO_DIR@
35188 @endif intl
35189 @if ld
35190 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
35191 mkdir stage1-ld; \
35192 set stage1-ld ld ; \
35193 @CREATE_LINK_TO_DIR@
35194 @endif ld
35195 @if libcpp
35196 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
35197 mkdir stage1-libcpp; \
35198 set stage1-libcpp libcpp ; \
35199 @CREATE_LINK_TO_DIR@
35200 @endif libcpp
35201 @if libiberty
35202 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
35203 mkdir stage1-libiberty; \
35204 set stage1-libiberty libiberty ; \
35205 @CREATE_LINK_TO_DIR@
35206 @endif libiberty
35207 @if zlib
35208 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
35209 mkdir stage1-zlib; \
35210 set stage1-zlib zlib ; \
35211 @CREATE_LINK_TO_DIR@
35212 @endif zlib
35214 stage1-end::
35215 @rm -f stage_current
35216 @if bfd
35217 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
35218 @UNDO_LINK_TO_DIR@
35219 @endif bfd
35220 @if opcodes
35221 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
35222 @UNDO_LINK_TO_DIR@
35223 @endif opcodes
35224 @if binutils
35225 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
35226 @UNDO_LINK_TO_DIR@
35227 @endif binutils
35228 @if gas
35229 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
35230 @UNDO_LINK_TO_DIR@
35231 @endif gas
35232 @if gcc
35233 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
35234 @UNDO_LINK_TO_DIR@
35235 @endif gcc
35236 @if intl
35237 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
35238 @UNDO_LINK_TO_DIR@
35239 @endif intl
35240 @if ld
35241 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
35242 @UNDO_LINK_TO_DIR@
35243 @endif ld
35244 @if libcpp
35245 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
35246 @UNDO_LINK_TO_DIR@
35247 @endif libcpp
35248 @if libiberty
35249 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
35250 @UNDO_LINK_TO_DIR@
35251 @endif libiberty
35252 @if zlib
35253 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
35254 @UNDO_LINK_TO_DIR@
35255 @endif zlib
35257 # Bubble a bugfix through all the stages up to stage 1. They
35258 # are remade, but not reconfigured. The next stage (if any) will not
35259 # be reconfigured as well.
35260 .PHONY: stage1-bubble
35261 stage1-bubble::
35262 @if test -f stage1-lean ; then \
35263 echo Skipping rebuild of stage1 ; \
35264 else \
35265 $(MAKE) stage1-start; \
35266 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage1; \
35269 .PHONY: all-stage1 clean-stage1
35270 do-clean: clean-stage1
35272 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35273 # only possibility, but now it conflicts with no-bootstrap rules
35274 @if gcc-bootstrap
35279 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35281 .PHONY: distclean-stage1
35282 distclean-stage1::
35283 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35284 rm -rf stage1-*
35287 @endif gcc-bootstrap
35290 .PHONY: stage2-start stage2-end
35292 stage2-start::
35293 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35294 echo stage2 > stage_current ; \
35295 echo stage2 > stage_last; \
35296 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35297 @if bfd
35298 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
35299 mkdir stage2-bfd; \
35300 set stage2-bfd bfd ; \
35301 @CREATE_LINK_TO_DIR@ ; \
35302 set stage1-bfd prev-bfd ; \
35303 @CREATE_LINK_TO_DIR@
35304 @endif bfd
35305 @if opcodes
35306 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
35307 mkdir stage2-opcodes; \
35308 set stage2-opcodes opcodes ; \
35309 @CREATE_LINK_TO_DIR@ ; \
35310 set stage1-opcodes prev-opcodes ; \
35311 @CREATE_LINK_TO_DIR@
35312 @endif opcodes
35313 @if binutils
35314 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
35315 mkdir stage2-binutils; \
35316 set stage2-binutils binutils ; \
35317 @CREATE_LINK_TO_DIR@ ; \
35318 set stage1-binutils prev-binutils ; \
35319 @CREATE_LINK_TO_DIR@
35320 @endif binutils
35321 @if gas
35322 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
35323 mkdir stage2-gas; \
35324 set stage2-gas gas ; \
35325 @CREATE_LINK_TO_DIR@ ; \
35326 set stage1-gas prev-gas ; \
35327 @CREATE_LINK_TO_DIR@
35328 @endif gas
35329 @if gcc
35330 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
35331 mkdir stage2-gcc; \
35332 set stage2-gcc gcc ; \
35333 @CREATE_LINK_TO_DIR@ ; \
35334 set stage1-gcc prev-gcc ; \
35335 @CREATE_LINK_TO_DIR@
35336 @endif gcc
35337 @if intl
35338 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
35339 mkdir stage2-intl; \
35340 set stage2-intl intl ; \
35341 @CREATE_LINK_TO_DIR@ ; \
35342 set stage1-intl prev-intl ; \
35343 @CREATE_LINK_TO_DIR@
35344 @endif intl
35345 @if ld
35346 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
35347 mkdir stage2-ld; \
35348 set stage2-ld ld ; \
35349 @CREATE_LINK_TO_DIR@ ; \
35350 set stage1-ld prev-ld ; \
35351 @CREATE_LINK_TO_DIR@
35352 @endif ld
35353 @if libcpp
35354 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
35355 mkdir stage2-libcpp; \
35356 set stage2-libcpp libcpp ; \
35357 @CREATE_LINK_TO_DIR@ ; \
35358 set stage1-libcpp prev-libcpp ; \
35359 @CREATE_LINK_TO_DIR@
35360 @endif libcpp
35361 @if libiberty
35362 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
35363 mkdir stage2-libiberty; \
35364 set stage2-libiberty libiberty ; \
35365 @CREATE_LINK_TO_DIR@ ; \
35366 set stage1-libiberty prev-libiberty ; \
35367 @CREATE_LINK_TO_DIR@
35368 @endif libiberty
35369 @if zlib
35370 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
35371 mkdir stage2-zlib; \
35372 set stage2-zlib zlib ; \
35373 @CREATE_LINK_TO_DIR@ ; \
35374 set stage1-zlib prev-zlib ; \
35375 @CREATE_LINK_TO_DIR@
35376 @endif zlib
35378 stage2-end::
35379 @rm -f stage_current
35380 @if bfd
35381 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
35382 @UNDO_LINK_TO_DIR@ ; \
35383 set prev-bfd stage1-bfd ; \
35384 @UNDO_LINK_TO_DIR@
35385 @endif bfd
35386 @if opcodes
35387 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
35388 @UNDO_LINK_TO_DIR@ ; \
35389 set prev-opcodes stage1-opcodes ; \
35390 @UNDO_LINK_TO_DIR@
35391 @endif opcodes
35392 @if binutils
35393 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
35394 @UNDO_LINK_TO_DIR@ ; \
35395 set prev-binutils stage1-binutils ; \
35396 @UNDO_LINK_TO_DIR@
35397 @endif binutils
35398 @if gas
35399 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
35400 @UNDO_LINK_TO_DIR@ ; \
35401 set prev-gas stage1-gas ; \
35402 @UNDO_LINK_TO_DIR@
35403 @endif gas
35404 @if gcc
35405 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
35406 @UNDO_LINK_TO_DIR@ ; \
35407 set prev-gcc stage1-gcc ; \
35408 @UNDO_LINK_TO_DIR@
35409 @endif gcc
35410 @if intl
35411 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
35412 @UNDO_LINK_TO_DIR@ ; \
35413 set prev-intl stage1-intl ; \
35414 @UNDO_LINK_TO_DIR@
35415 @endif intl
35416 @if ld
35417 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
35418 @UNDO_LINK_TO_DIR@ ; \
35419 set prev-ld stage1-ld ; \
35420 @UNDO_LINK_TO_DIR@
35421 @endif ld
35422 @if libcpp
35423 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
35424 @UNDO_LINK_TO_DIR@ ; \
35425 set prev-libcpp stage1-libcpp ; \
35426 @UNDO_LINK_TO_DIR@
35427 @endif libcpp
35428 @if libiberty
35429 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
35430 @UNDO_LINK_TO_DIR@ ; \
35431 set prev-libiberty stage1-libiberty ; \
35432 @UNDO_LINK_TO_DIR@
35433 @endif libiberty
35434 @if zlib
35435 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
35436 @UNDO_LINK_TO_DIR@ ; \
35437 set prev-zlib stage1-zlib ; \
35438 @UNDO_LINK_TO_DIR@
35439 @endif zlib
35441 # Bubble a bugfix through all the stages up to stage 2. They
35442 # are remade, but not reconfigured. The next stage (if any) will not
35443 # be reconfigured as well.
35444 .PHONY: stage2-bubble
35445 stage2-bubble:: stage1-bubble
35446 @if test -f stage2-lean || test -f stage1-lean ; then \
35447 echo Skipping rebuild of stage2 ; \
35448 else \
35449 $(MAKE) stage2-start; \
35450 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage2; \
35453 .PHONY: all-stage2 clean-stage2
35454 do-clean: clean-stage2
35456 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35457 # only possibility, but now it conflicts with no-bootstrap rules
35458 @if gcc-bootstrap
35462 .PHONY: bootstrap2
35463 bootstrap2: stage2-bubble
35464 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35467 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35468 distclean-stage1:: distclean-stage2
35469 .PHONY: distclean-stage2
35470 distclean-stage2::
35471 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35472 rm -rf stage2-*
35475 @endif gcc-bootstrap
35478 .PHONY: stage3-start stage3-end
35480 stage3-start::
35481 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35482 echo stage3 > stage_current ; \
35483 echo stage3 > stage_last; \
35484 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35485 @if bfd
35486 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
35487 mkdir stage3-bfd; \
35488 set stage3-bfd bfd ; \
35489 @CREATE_LINK_TO_DIR@ ; \
35490 set stage2-bfd prev-bfd ; \
35491 @CREATE_LINK_TO_DIR@
35492 @endif bfd
35493 @if opcodes
35494 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
35495 mkdir stage3-opcodes; \
35496 set stage3-opcodes opcodes ; \
35497 @CREATE_LINK_TO_DIR@ ; \
35498 set stage2-opcodes prev-opcodes ; \
35499 @CREATE_LINK_TO_DIR@
35500 @endif opcodes
35501 @if binutils
35502 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
35503 mkdir stage3-binutils; \
35504 set stage3-binutils binutils ; \
35505 @CREATE_LINK_TO_DIR@ ; \
35506 set stage2-binutils prev-binutils ; \
35507 @CREATE_LINK_TO_DIR@
35508 @endif binutils
35509 @if gas
35510 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
35511 mkdir stage3-gas; \
35512 set stage3-gas gas ; \
35513 @CREATE_LINK_TO_DIR@ ; \
35514 set stage2-gas prev-gas ; \
35515 @CREATE_LINK_TO_DIR@
35516 @endif gas
35517 @if gcc
35518 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
35519 mkdir stage3-gcc; \
35520 set stage3-gcc gcc ; \
35521 @CREATE_LINK_TO_DIR@ ; \
35522 set stage2-gcc prev-gcc ; \
35523 @CREATE_LINK_TO_DIR@
35524 @endif gcc
35525 @if intl
35526 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
35527 mkdir stage3-intl; \
35528 set stage3-intl intl ; \
35529 @CREATE_LINK_TO_DIR@ ; \
35530 set stage2-intl prev-intl ; \
35531 @CREATE_LINK_TO_DIR@
35532 @endif intl
35533 @if ld
35534 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
35535 mkdir stage3-ld; \
35536 set stage3-ld ld ; \
35537 @CREATE_LINK_TO_DIR@ ; \
35538 set stage2-ld prev-ld ; \
35539 @CREATE_LINK_TO_DIR@
35540 @endif ld
35541 @if libcpp
35542 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
35543 mkdir stage3-libcpp; \
35544 set stage3-libcpp libcpp ; \
35545 @CREATE_LINK_TO_DIR@ ; \
35546 set stage2-libcpp prev-libcpp ; \
35547 @CREATE_LINK_TO_DIR@
35548 @endif libcpp
35549 @if libiberty
35550 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
35551 mkdir stage3-libiberty; \
35552 set stage3-libiberty libiberty ; \
35553 @CREATE_LINK_TO_DIR@ ; \
35554 set stage2-libiberty prev-libiberty ; \
35555 @CREATE_LINK_TO_DIR@
35556 @endif libiberty
35557 @if zlib
35558 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
35559 mkdir stage3-zlib; \
35560 set stage3-zlib zlib ; \
35561 @CREATE_LINK_TO_DIR@ ; \
35562 set stage2-zlib prev-zlib ; \
35563 @CREATE_LINK_TO_DIR@
35564 @endif zlib
35566 stage3-end::
35567 @rm -f stage_current
35568 @if bfd
35569 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
35570 @UNDO_LINK_TO_DIR@ ; \
35571 set prev-bfd stage2-bfd ; \
35572 @UNDO_LINK_TO_DIR@
35573 @endif bfd
35574 @if opcodes
35575 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
35576 @UNDO_LINK_TO_DIR@ ; \
35577 set prev-opcodes stage2-opcodes ; \
35578 @UNDO_LINK_TO_DIR@
35579 @endif opcodes
35580 @if binutils
35581 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
35582 @UNDO_LINK_TO_DIR@ ; \
35583 set prev-binutils stage2-binutils ; \
35584 @UNDO_LINK_TO_DIR@
35585 @endif binutils
35586 @if gas
35587 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
35588 @UNDO_LINK_TO_DIR@ ; \
35589 set prev-gas stage2-gas ; \
35590 @UNDO_LINK_TO_DIR@
35591 @endif gas
35592 @if gcc
35593 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
35594 @UNDO_LINK_TO_DIR@ ; \
35595 set prev-gcc stage2-gcc ; \
35596 @UNDO_LINK_TO_DIR@
35597 @endif gcc
35598 @if intl
35599 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
35600 @UNDO_LINK_TO_DIR@ ; \
35601 set prev-intl stage2-intl ; \
35602 @UNDO_LINK_TO_DIR@
35603 @endif intl
35604 @if ld
35605 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
35606 @UNDO_LINK_TO_DIR@ ; \
35607 set prev-ld stage2-ld ; \
35608 @UNDO_LINK_TO_DIR@
35609 @endif ld
35610 @if libcpp
35611 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
35612 @UNDO_LINK_TO_DIR@ ; \
35613 set prev-libcpp stage2-libcpp ; \
35614 @UNDO_LINK_TO_DIR@
35615 @endif libcpp
35616 @if libiberty
35617 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
35618 @UNDO_LINK_TO_DIR@ ; \
35619 set prev-libiberty stage2-libiberty ; \
35620 @UNDO_LINK_TO_DIR@
35621 @endif libiberty
35622 @if zlib
35623 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
35624 @UNDO_LINK_TO_DIR@ ; \
35625 set prev-zlib stage2-zlib ; \
35626 @UNDO_LINK_TO_DIR@
35627 @endif zlib
35629 # Bubble a bugfix through all the stages up to stage 3. They
35630 # are remade, but not reconfigured. The next stage (if any) will not
35631 # be reconfigured as well.
35632 .PHONY: stage3-bubble
35633 stage3-bubble:: stage2-bubble
35634 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
35635 @if test -f stage3-lean || test -f stage2-lean ; then \
35636 echo Skipping rebuild of stage3 ; \
35637 else \
35638 $(MAKE) stage3-start; \
35639 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage3; \
35642 .PHONY: all-stage3 clean-stage3
35643 do-clean: clean-stage3
35645 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35646 # only possibility, but now it conflicts with no-bootstrap rules
35647 @if gcc-bootstrap
35649 compare:
35650 @if test -f stage2-lean; then \
35651 echo Cannot compare object files as stage 2 was deleted. ; \
35652 exit 0 ; \
35653 fi; \
35654 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35655 @r=`${PWD_COMMAND}`; export r; \
35656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35657 rm -f .bad_compare ; \
35658 cd stage3-gcc; \
35659 files=`find . -name "*$(objext)" -print` ; \
35660 cd .. ; \
35661 for file in $${files} ; do \
35662 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
35663 @do_compare@ > /dev/null 2>&1; \
35664 if test $$? -eq 1; then \
35665 case $$file in \
35666 ./cc*-checksum$(objext) | ./libgcc/* ) \
35667 echo warning: $$file differs ;; \
35668 *) \
35669 echo $$file differs >> .bad_compare ;; \
35670 esac ; \
35671 fi ; \
35672 done ; \
35673 if [ -f .bad_compare ]; then \
35674 echo "Bootstrap comparison failure!"; \
35675 cat .bad_compare; \
35676 exit 1; \
35677 else \
35678 true; \
35679 fi ; \
35680 $(STAMP) compare
35681 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35685 .PHONY: bootstrap
35686 bootstrap: stage3-bubble
35687 $(MAKE) compare
35688 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35691 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35692 distclean-stage2:: distclean-stage3
35693 .PHONY: distclean-stage3
35694 distclean-stage3::
35695 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35696 rm -rf stage3-* compare
35699 .PHONY: cleanstrap
35700 cleanstrap: distclean bootstrap
35702 @endif gcc-bootstrap
35705 .PHONY: stage4-start stage4-end
35707 stage4-start::
35708 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35709 echo stage4 > stage_current ; \
35710 echo stage4 > stage_last; \
35711 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35712 @if bfd
35713 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
35714 mkdir stage4-bfd; \
35715 set stage4-bfd bfd ; \
35716 @CREATE_LINK_TO_DIR@ ; \
35717 set stage3-bfd prev-bfd ; \
35718 @CREATE_LINK_TO_DIR@
35719 @endif bfd
35720 @if opcodes
35721 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
35722 mkdir stage4-opcodes; \
35723 set stage4-opcodes opcodes ; \
35724 @CREATE_LINK_TO_DIR@ ; \
35725 set stage3-opcodes prev-opcodes ; \
35726 @CREATE_LINK_TO_DIR@
35727 @endif opcodes
35728 @if binutils
35729 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
35730 mkdir stage4-binutils; \
35731 set stage4-binutils binutils ; \
35732 @CREATE_LINK_TO_DIR@ ; \
35733 set stage3-binutils prev-binutils ; \
35734 @CREATE_LINK_TO_DIR@
35735 @endif binutils
35736 @if gas
35737 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
35738 mkdir stage4-gas; \
35739 set stage4-gas gas ; \
35740 @CREATE_LINK_TO_DIR@ ; \
35741 set stage3-gas prev-gas ; \
35742 @CREATE_LINK_TO_DIR@
35743 @endif gas
35744 @if gcc
35745 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
35746 mkdir stage4-gcc; \
35747 set stage4-gcc gcc ; \
35748 @CREATE_LINK_TO_DIR@ ; \
35749 set stage3-gcc prev-gcc ; \
35750 @CREATE_LINK_TO_DIR@
35751 @endif gcc
35752 @if intl
35753 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
35754 mkdir stage4-intl; \
35755 set stage4-intl intl ; \
35756 @CREATE_LINK_TO_DIR@ ; \
35757 set stage3-intl prev-intl ; \
35758 @CREATE_LINK_TO_DIR@
35759 @endif intl
35760 @if ld
35761 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
35762 mkdir stage4-ld; \
35763 set stage4-ld ld ; \
35764 @CREATE_LINK_TO_DIR@ ; \
35765 set stage3-ld prev-ld ; \
35766 @CREATE_LINK_TO_DIR@
35767 @endif ld
35768 @if libcpp
35769 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
35770 mkdir stage4-libcpp; \
35771 set stage4-libcpp libcpp ; \
35772 @CREATE_LINK_TO_DIR@ ; \
35773 set stage3-libcpp prev-libcpp ; \
35774 @CREATE_LINK_TO_DIR@
35775 @endif libcpp
35776 @if libiberty
35777 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
35778 mkdir stage4-libiberty; \
35779 set stage4-libiberty libiberty ; \
35780 @CREATE_LINK_TO_DIR@ ; \
35781 set stage3-libiberty prev-libiberty ; \
35782 @CREATE_LINK_TO_DIR@
35783 @endif libiberty
35784 @if zlib
35785 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
35786 mkdir stage4-zlib; \
35787 set stage4-zlib zlib ; \
35788 @CREATE_LINK_TO_DIR@ ; \
35789 set stage3-zlib prev-zlib ; \
35790 @CREATE_LINK_TO_DIR@
35791 @endif zlib
35793 stage4-end::
35794 @rm -f stage_current
35795 @if bfd
35796 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
35797 @UNDO_LINK_TO_DIR@ ; \
35798 set prev-bfd stage3-bfd ; \
35799 @UNDO_LINK_TO_DIR@
35800 @endif bfd
35801 @if opcodes
35802 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
35803 @UNDO_LINK_TO_DIR@ ; \
35804 set prev-opcodes stage3-opcodes ; \
35805 @UNDO_LINK_TO_DIR@
35806 @endif opcodes
35807 @if binutils
35808 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
35809 @UNDO_LINK_TO_DIR@ ; \
35810 set prev-binutils stage3-binutils ; \
35811 @UNDO_LINK_TO_DIR@
35812 @endif binutils
35813 @if gas
35814 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
35815 @UNDO_LINK_TO_DIR@ ; \
35816 set prev-gas stage3-gas ; \
35817 @UNDO_LINK_TO_DIR@
35818 @endif gas
35819 @if gcc
35820 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
35821 @UNDO_LINK_TO_DIR@ ; \
35822 set prev-gcc stage3-gcc ; \
35823 @UNDO_LINK_TO_DIR@
35824 @endif gcc
35825 @if intl
35826 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
35827 @UNDO_LINK_TO_DIR@ ; \
35828 set prev-intl stage3-intl ; \
35829 @UNDO_LINK_TO_DIR@
35830 @endif intl
35831 @if ld
35832 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
35833 @UNDO_LINK_TO_DIR@ ; \
35834 set prev-ld stage3-ld ; \
35835 @UNDO_LINK_TO_DIR@
35836 @endif ld
35837 @if libcpp
35838 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
35839 @UNDO_LINK_TO_DIR@ ; \
35840 set prev-libcpp stage3-libcpp ; \
35841 @UNDO_LINK_TO_DIR@
35842 @endif libcpp
35843 @if libiberty
35844 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
35845 @UNDO_LINK_TO_DIR@ ; \
35846 set prev-libiberty stage3-libiberty ; \
35847 @UNDO_LINK_TO_DIR@
35848 @endif libiberty
35849 @if zlib
35850 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
35851 @UNDO_LINK_TO_DIR@ ; \
35852 set prev-zlib stage3-zlib ; \
35853 @UNDO_LINK_TO_DIR@
35854 @endif zlib
35856 # Bubble a bugfix through all the stages up to stage 4. They
35857 # are remade, but not reconfigured. The next stage (if any) will not
35858 # be reconfigured as well.
35859 .PHONY: stage4-bubble
35860 stage4-bubble:: stage3-bubble
35861 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
35862 @if test -f stage4-lean || test -f stage3-lean ; then \
35863 echo Skipping rebuild of stage4 ; \
35864 else \
35865 $(MAKE) stage4-start; \
35866 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stage4; \
35869 .PHONY: all-stage4 clean-stage4
35870 do-clean: clean-stage4
35872 # FIXME: Will not need to be conditional when toplevel bootstrap is the
35873 # only possibility, but now it conflicts with no-bootstrap rules
35874 @if gcc-bootstrap
35876 compare3:
35877 @if test -f stage3-lean; then \
35878 echo Cannot compare object files as stage 3 was deleted. ; \
35879 exit 0 ; \
35880 fi; \
35881 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35882 @r=`${PWD_COMMAND}`; export r; \
35883 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
35884 rm -f .bad_compare ; \
35885 cd stage4-gcc; \
35886 files=`find . -name "*$(objext)" -print` ; \
35887 cd .. ; \
35888 for file in $${files} ; do \
35889 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
35890 @do_compare@ > /dev/null 2>&1; \
35891 if test $$? -eq 1; then \
35892 case $$file in \
35893 ./cc*-checksum$(objext) | ./libgcc/* ) \
35894 echo warning: $$file differs ;; \
35895 *) \
35896 echo $$file differs >> .bad_compare ;; \
35897 esac ; \
35898 fi ; \
35899 done ; \
35900 if [ -f .bad_compare ]; then \
35901 echo "Bootstrap comparison failure!"; \
35902 cat .bad_compare; \
35903 exit 1; \
35904 else \
35905 true; \
35906 fi ; \
35907 $(STAMP) compare3
35908 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
35912 .PHONY: bootstrap4
35913 bootstrap4: stage4-bubble
35914 $(MAKE) compare3
35915 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
35918 # Rules to wipe a stage and all the following ones, also used for cleanstrap
35919 distclean-stage3:: distclean-stage4
35920 .PHONY: distclean-stage4
35921 distclean-stage4::
35922 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
35923 rm -rf stage4-* compare3
35926 @endif gcc-bootstrap
35929 .PHONY: stageprofile-start stageprofile-end
35931 stageprofile-start::
35932 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
35933 echo stageprofile > stage_current ; \
35934 echo stageprofile > stage_last; \
35935 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
35936 @if bfd
35937 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
35938 mkdir stageprofile-bfd; \
35939 set stageprofile-bfd bfd ; \
35940 @CREATE_LINK_TO_DIR@ ; \
35941 set stage1-bfd prev-bfd ; \
35942 @CREATE_LINK_TO_DIR@
35943 @endif bfd
35944 @if opcodes
35945 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
35946 mkdir stageprofile-opcodes; \
35947 set stageprofile-opcodes opcodes ; \
35948 @CREATE_LINK_TO_DIR@ ; \
35949 set stage1-opcodes prev-opcodes ; \
35950 @CREATE_LINK_TO_DIR@
35951 @endif opcodes
35952 @if binutils
35953 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
35954 mkdir stageprofile-binutils; \
35955 set stageprofile-binutils binutils ; \
35956 @CREATE_LINK_TO_DIR@ ; \
35957 set stage1-binutils prev-binutils ; \
35958 @CREATE_LINK_TO_DIR@
35959 @endif binutils
35960 @if gas
35961 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
35962 mkdir stageprofile-gas; \
35963 set stageprofile-gas gas ; \
35964 @CREATE_LINK_TO_DIR@ ; \
35965 set stage1-gas prev-gas ; \
35966 @CREATE_LINK_TO_DIR@
35967 @endif gas
35968 @if gcc
35969 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
35970 mkdir stageprofile-gcc; \
35971 set stageprofile-gcc gcc ; \
35972 @CREATE_LINK_TO_DIR@ ; \
35973 set stage1-gcc prev-gcc ; \
35974 @CREATE_LINK_TO_DIR@
35975 @endif gcc
35976 @if intl
35977 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
35978 mkdir stageprofile-intl; \
35979 set stageprofile-intl intl ; \
35980 @CREATE_LINK_TO_DIR@ ; \
35981 set stage1-intl prev-intl ; \
35982 @CREATE_LINK_TO_DIR@
35983 @endif intl
35984 @if ld
35985 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
35986 mkdir stageprofile-ld; \
35987 set stageprofile-ld ld ; \
35988 @CREATE_LINK_TO_DIR@ ; \
35989 set stage1-ld prev-ld ; \
35990 @CREATE_LINK_TO_DIR@
35991 @endif ld
35992 @if libcpp
35993 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
35994 mkdir stageprofile-libcpp; \
35995 set stageprofile-libcpp libcpp ; \
35996 @CREATE_LINK_TO_DIR@ ; \
35997 set stage1-libcpp prev-libcpp ; \
35998 @CREATE_LINK_TO_DIR@
35999 @endif libcpp
36000 @if libiberty
36001 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
36002 mkdir stageprofile-libiberty; \
36003 set stageprofile-libiberty libiberty ; \
36004 @CREATE_LINK_TO_DIR@ ; \
36005 set stage1-libiberty prev-libiberty ; \
36006 @CREATE_LINK_TO_DIR@
36007 @endif libiberty
36008 @if zlib
36009 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
36010 mkdir stageprofile-zlib; \
36011 set stageprofile-zlib zlib ; \
36012 @CREATE_LINK_TO_DIR@ ; \
36013 set stage1-zlib prev-zlib ; \
36014 @CREATE_LINK_TO_DIR@
36015 @endif zlib
36017 stageprofile-end::
36018 @rm -f stage_current
36019 @if bfd
36020 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
36021 @UNDO_LINK_TO_DIR@ ; \
36022 set prev-bfd stage1-bfd ; \
36023 @UNDO_LINK_TO_DIR@
36024 @endif bfd
36025 @if opcodes
36026 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
36027 @UNDO_LINK_TO_DIR@ ; \
36028 set prev-opcodes stage1-opcodes ; \
36029 @UNDO_LINK_TO_DIR@
36030 @endif opcodes
36031 @if binutils
36032 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
36033 @UNDO_LINK_TO_DIR@ ; \
36034 set prev-binutils stage1-binutils ; \
36035 @UNDO_LINK_TO_DIR@
36036 @endif binutils
36037 @if gas
36038 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
36039 @UNDO_LINK_TO_DIR@ ; \
36040 set prev-gas stage1-gas ; \
36041 @UNDO_LINK_TO_DIR@
36042 @endif gas
36043 @if gcc
36044 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
36045 @UNDO_LINK_TO_DIR@ ; \
36046 set prev-gcc stage1-gcc ; \
36047 @UNDO_LINK_TO_DIR@
36048 @endif gcc
36049 @if intl
36050 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
36051 @UNDO_LINK_TO_DIR@ ; \
36052 set prev-intl stage1-intl ; \
36053 @UNDO_LINK_TO_DIR@
36054 @endif intl
36055 @if ld
36056 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
36057 @UNDO_LINK_TO_DIR@ ; \
36058 set prev-ld stage1-ld ; \
36059 @UNDO_LINK_TO_DIR@
36060 @endif ld
36061 @if libcpp
36062 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
36063 @UNDO_LINK_TO_DIR@ ; \
36064 set prev-libcpp stage1-libcpp ; \
36065 @UNDO_LINK_TO_DIR@
36066 @endif libcpp
36067 @if libiberty
36068 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
36069 @UNDO_LINK_TO_DIR@ ; \
36070 set prev-libiberty stage1-libiberty ; \
36071 @UNDO_LINK_TO_DIR@
36072 @endif libiberty
36073 @if zlib
36074 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
36075 @UNDO_LINK_TO_DIR@ ; \
36076 set prev-zlib stage1-zlib ; \
36077 @UNDO_LINK_TO_DIR@
36078 @endif zlib
36080 # Bubble a bugfix through all the stages up to stage profile. They
36081 # are remade, but not reconfigured. The next stage (if any) will not
36082 # be reconfigured as well.
36083 .PHONY: stageprofile-bubble
36084 stageprofile-bubble:: stage1-bubble
36085 @if test -f stageprofile-lean || test -f stage1-lean ; then \
36086 echo Skipping rebuild of stageprofile ; \
36087 else \
36088 $(MAKE) stageprofile-start; \
36089 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stageprofile; \
36092 .PHONY: all-stageprofile clean-stageprofile
36093 do-clean: clean-stageprofile
36095 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36096 # only possibility, but now it conflicts with no-bootstrap rules
36097 @if gcc-bootstrap
36102 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36103 distclean-stage1:: distclean-stageprofile
36104 .PHONY: distclean-stageprofile
36105 distclean-stageprofile::
36106 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36107 rm -rf stageprofile-*
36110 @endif gcc-bootstrap
36113 .PHONY: stagefeedback-start stagefeedback-end
36115 stagefeedback-start::
36116 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
36117 echo stagefeedback > stage_current ; \
36118 echo stagefeedback > stage_last; \
36119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR) $(TARGET_SUBDIR)
36120 @if bfd
36121 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
36122 mkdir stagefeedback-bfd; \
36123 set stagefeedback-bfd bfd ; \
36124 @CREATE_LINK_TO_DIR@ ; \
36125 set stageprofile-bfd prev-bfd ; \
36126 @CREATE_LINK_TO_DIR@
36127 @endif bfd
36128 @if opcodes
36129 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
36130 mkdir stagefeedback-opcodes; \
36131 set stagefeedback-opcodes opcodes ; \
36132 @CREATE_LINK_TO_DIR@ ; \
36133 set stageprofile-opcodes prev-opcodes ; \
36134 @CREATE_LINK_TO_DIR@
36135 @endif opcodes
36136 @if binutils
36137 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
36138 mkdir stagefeedback-binutils; \
36139 set stagefeedback-binutils binutils ; \
36140 @CREATE_LINK_TO_DIR@ ; \
36141 set stageprofile-binutils prev-binutils ; \
36142 @CREATE_LINK_TO_DIR@
36143 @endif binutils
36144 @if gas
36145 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
36146 mkdir stagefeedback-gas; \
36147 set stagefeedback-gas gas ; \
36148 @CREATE_LINK_TO_DIR@ ; \
36149 set stageprofile-gas prev-gas ; \
36150 @CREATE_LINK_TO_DIR@
36151 @endif gas
36152 @if gcc
36153 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
36154 mkdir stagefeedback-gcc; \
36155 set stagefeedback-gcc gcc ; \
36156 @CREATE_LINK_TO_DIR@ ; \
36157 set stageprofile-gcc prev-gcc ; \
36158 @CREATE_LINK_TO_DIR@
36159 @endif gcc
36160 @if intl
36161 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
36162 mkdir stagefeedback-intl; \
36163 set stagefeedback-intl intl ; \
36164 @CREATE_LINK_TO_DIR@ ; \
36165 set stageprofile-intl prev-intl ; \
36166 @CREATE_LINK_TO_DIR@
36167 @endif intl
36168 @if ld
36169 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
36170 mkdir stagefeedback-ld; \
36171 set stagefeedback-ld ld ; \
36172 @CREATE_LINK_TO_DIR@ ; \
36173 set stageprofile-ld prev-ld ; \
36174 @CREATE_LINK_TO_DIR@
36175 @endif ld
36176 @if libcpp
36177 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
36178 mkdir stagefeedback-libcpp; \
36179 set stagefeedback-libcpp libcpp ; \
36180 @CREATE_LINK_TO_DIR@ ; \
36181 set stageprofile-libcpp prev-libcpp ; \
36182 @CREATE_LINK_TO_DIR@
36183 @endif libcpp
36184 @if libiberty
36185 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
36186 mkdir stagefeedback-libiberty; \
36187 set stagefeedback-libiberty libiberty ; \
36188 @CREATE_LINK_TO_DIR@ ; \
36189 set stageprofile-libiberty prev-libiberty ; \
36190 @CREATE_LINK_TO_DIR@
36191 @endif libiberty
36192 @if zlib
36193 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
36194 mkdir stagefeedback-zlib; \
36195 set stagefeedback-zlib zlib ; \
36196 @CREATE_LINK_TO_DIR@ ; \
36197 set stageprofile-zlib prev-zlib ; \
36198 @CREATE_LINK_TO_DIR@
36199 @endif zlib
36201 stagefeedback-end::
36202 @rm -f stage_current
36203 @if bfd
36204 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
36205 @UNDO_LINK_TO_DIR@ ; \
36206 set prev-bfd stageprofile-bfd ; \
36207 @UNDO_LINK_TO_DIR@
36208 @endif bfd
36209 @if opcodes
36210 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
36211 @UNDO_LINK_TO_DIR@ ; \
36212 set prev-opcodes stageprofile-opcodes ; \
36213 @UNDO_LINK_TO_DIR@
36214 @endif opcodes
36215 @if binutils
36216 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
36217 @UNDO_LINK_TO_DIR@ ; \
36218 set prev-binutils stageprofile-binutils ; \
36219 @UNDO_LINK_TO_DIR@
36220 @endif binutils
36221 @if gas
36222 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
36223 @UNDO_LINK_TO_DIR@ ; \
36224 set prev-gas stageprofile-gas ; \
36225 @UNDO_LINK_TO_DIR@
36226 @endif gas
36227 @if gcc
36228 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
36229 @UNDO_LINK_TO_DIR@ ; \
36230 set prev-gcc stageprofile-gcc ; \
36231 @UNDO_LINK_TO_DIR@
36232 @endif gcc
36233 @if intl
36234 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
36235 @UNDO_LINK_TO_DIR@ ; \
36236 set prev-intl stageprofile-intl ; \
36237 @UNDO_LINK_TO_DIR@
36238 @endif intl
36239 @if ld
36240 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
36241 @UNDO_LINK_TO_DIR@ ; \
36242 set prev-ld stageprofile-ld ; \
36243 @UNDO_LINK_TO_DIR@
36244 @endif ld
36245 @if libcpp
36246 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
36247 @UNDO_LINK_TO_DIR@ ; \
36248 set prev-libcpp stageprofile-libcpp ; \
36249 @UNDO_LINK_TO_DIR@
36250 @endif libcpp
36251 @if libiberty
36252 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
36253 @UNDO_LINK_TO_DIR@ ; \
36254 set prev-libiberty stageprofile-libiberty ; \
36255 @UNDO_LINK_TO_DIR@
36256 @endif libiberty
36257 @if zlib
36258 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
36259 @UNDO_LINK_TO_DIR@ ; \
36260 set prev-zlib stageprofile-zlib ; \
36261 @UNDO_LINK_TO_DIR@
36262 @endif zlib
36264 # Bubble a bugfix through all the stages up to stage feedback. They
36265 # are remade, but not reconfigured. The next stage (if any) will not
36266 # be reconfigured as well.
36267 .PHONY: stagefeedback-bubble
36268 stagefeedback-bubble:: stageprofile-bubble
36269 @if test -f stagefeedback-lean || test -f stageprofile-lean ; then \
36270 echo Skipping rebuild of stagefeedback ; \
36271 else \
36272 $(MAKE) stagefeedback-start; \
36273 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all-stagefeedback; \
36276 .PHONY: all-stagefeedback clean-stagefeedback
36277 do-clean: clean-stagefeedback
36279 # FIXME: Will not need to be conditional when toplevel bootstrap is the
36280 # only possibility, but now it conflicts with no-bootstrap rules
36281 @if gcc-bootstrap
36285 .PHONY: profiledbootstrap
36286 profiledbootstrap: stagefeedback-bubble
36287 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
36290 # Rules to wipe a stage and all the following ones, also used for cleanstrap
36291 distclean-stageprofile:: distclean-stagefeedback
36292 .PHONY: distclean-stagefeedback
36293 distclean-stagefeedback::
36294 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
36295 rm -rf stagefeedback-*
36298 @endif gcc-bootstrap
36302 stageprofile-end::
36303 $(MAKE) distclean-stagefeedback
36305 stagefeedback-start::
36306 @r=`${PWD_COMMAND}`; export r; \
36307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
36308 for i in prev-*; do \
36309 j=`echo $$i | sed s/^prev-//` ; \
36310 cd $$r/$$i && \
36311 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../'$$j'/&",' | $(SHELL) ; } && \
36312 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../'$$j'/&",' | $(SHELL) ; } ; \
36313 done
36315 @if gcc-bootstrap
36316 do-distclean: distclean-stage1
36317 @endif gcc-bootstrap
36319 # --------------------------------------
36320 # Dependencies between different modules
36321 # --------------------------------------
36323 # Generic dependencies for target modules on host stuff, especially gcc
36325 configure-target-libstdc++-v3: maybe-all-gcc
36327 configure-target-libmudflap: maybe-all-gcc
36329 configure-target-libssp: maybe-all-gcc
36331 configure-target-newlib: maybe-all-gcc
36333 configure-target-libgfortran: maybe-all-gcc
36335 configure-target-libobjc: maybe-all-gcc
36337 configure-target-libtermcap: maybe-all-gcc
36339 configure-target-winsup: maybe-all-gcc
36341 configure-target-libgloss: maybe-all-gcc
36343 configure-target-libiberty: maybe-all-gcc
36345 configure-target-gperf: maybe-all-gcc
36347 configure-target-examples: maybe-all-gcc
36349 configure-target-libffi: maybe-all-gcc
36351 configure-target-libjava: maybe-all-gcc
36353 configure-target-zlib: maybe-all-gcc
36355 configure-target-boehm-gc: maybe-all-gcc
36357 configure-target-qthreads: maybe-all-gcc
36359 configure-target-rda: maybe-all-gcc
36361 configure-target-libada: maybe-all-gcc
36365 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
36367 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
36368 configure-target-gperf: maybe-all-target-libstdc++-v3
36370 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
36372 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
36374 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
36376 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
36377 configure-target-libjava: maybe-all-target-libstdc++-v3
36379 configure-target-libmudflap: maybe-all-target-newlib maybe-all-target-libgloss
36381 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
36383 configure-target-libssp: maybe-all-target-newlib maybe-all-target-libgloss
36385 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
36387 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
36389 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
36391 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
36393 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
36395 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
36397 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
36400 # There are two types of dependencies here: 'hard' dependencies, where one
36401 # module simply won't build without the other; and 'soft' dependencies, where
36402 # if the depended-on module is missing, the depending module will do without
36403 # or find a substitute somewhere (perhaps installed). Soft dependencies
36404 # are made here to depend on a 'maybe-' target. If you're not sure,
36405 # it's safer to use a soft dependency.
36412 # With all the machinery above in place, it is pretty easy to generate
36413 # dependencies. Host dependencies are a bit more complex because we have
36414 # to check for bootstrap/prebootstrap dependencies. To resolve
36415 # prebootstrap dependencies, prebootstrap modules are gathered in
36416 # a hash table.
36417 all-build-bison: maybe-all-build-texinfo
36418 all-build-byacc: maybe-all-build-texinfo
36419 all-build-flex: maybe-all-build-texinfo
36420 all-build-flex: maybe-all-build-bison
36421 all-build-flex: maybe-all-build-byacc
36422 all-build-flex: maybe-all-build-m4
36423 all-build-libiberty: maybe-all-build-texinfo
36424 all-build-m4: maybe-all-build-texinfo
36425 all-build-fixincludes: maybe-all-build-libiberty
36426 configure-gcc: maybe-configure-intl
36428 configure-stage1-gcc: maybe-configure-stage1-intl
36429 configure-stage2-gcc: maybe-configure-stage2-intl
36430 configure-stage3-gcc: maybe-configure-stage3-intl
36431 configure-stage4-gcc: maybe-configure-stage4-intl
36432 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
36433 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
36434 configure-gcc: maybe-all-binutils
36436 configure-stage1-gcc: maybe-all-stage1-binutils
36437 configure-stage2-gcc: maybe-all-stage2-binutils
36438 configure-stage3-gcc: maybe-all-stage3-binutils
36439 configure-stage4-gcc: maybe-all-stage4-binutils
36440 configure-stageprofile-gcc: maybe-all-stageprofile-binutils
36441 configure-stagefeedback-gcc: maybe-all-stagefeedback-binutils
36442 configure-gcc: maybe-all-gas
36444 configure-stage1-gcc: maybe-all-stage1-gas
36445 configure-stage2-gcc: maybe-all-stage2-gas
36446 configure-stage3-gcc: maybe-all-stage3-gas
36447 configure-stage4-gcc: maybe-all-stage4-gas
36448 configure-stageprofile-gcc: maybe-all-stageprofile-gas
36449 configure-stagefeedback-gcc: maybe-all-stagefeedback-gas
36450 configure-gcc: maybe-all-ld
36452 configure-stage1-gcc: maybe-all-stage1-ld
36453 configure-stage2-gcc: maybe-all-stage2-ld
36454 configure-stage3-gcc: maybe-all-stage3-ld
36455 configure-stage4-gcc: maybe-all-stage4-ld
36456 configure-stageprofile-gcc: maybe-all-stageprofile-ld
36457 configure-stagefeedback-gcc: maybe-all-stagefeedback-ld
36458 all-gcc: all-libiberty
36460 all-stage1-gcc: all-stage1-libiberty
36461 all-stage2-gcc: all-stage2-libiberty
36462 all-stage3-gcc: all-stage3-libiberty
36463 all-stage4-gcc: all-stage4-libiberty
36464 all-stageprofile-gcc: all-stageprofile-libiberty
36465 all-stagefeedback-gcc: all-stagefeedback-libiberty
36466 all-gcc: maybe-all-intl
36468 all-stage1-gcc: maybe-all-stage1-intl
36469 all-stage2-gcc: maybe-all-stage2-intl
36470 all-stage3-gcc: maybe-all-stage3-intl
36471 all-stage4-gcc: maybe-all-stage4-intl
36472 all-stageprofile-gcc: maybe-all-stageprofile-intl
36473 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
36474 all-gcc: maybe-all-build-texinfo
36476 all-stage1-gcc: maybe-all-build-texinfo
36477 all-stage2-gcc: maybe-all-build-texinfo
36478 all-stage3-gcc: maybe-all-build-texinfo
36479 all-stage4-gcc: maybe-all-build-texinfo
36480 all-stageprofile-gcc: maybe-all-build-texinfo
36481 all-stagefeedback-gcc: maybe-all-build-texinfo
36482 all-prebootstrap: maybe-all-build-texinfo
36483 all-gcc: maybe-all-build-bison
36485 all-stage1-gcc: maybe-all-build-bison
36486 all-stage2-gcc: maybe-all-build-bison
36487 all-stage3-gcc: maybe-all-build-bison
36488 all-stage4-gcc: maybe-all-build-bison
36489 all-stageprofile-gcc: maybe-all-build-bison
36490 all-stagefeedback-gcc: maybe-all-build-bison
36491 all-prebootstrap: maybe-all-build-bison
36492 all-gcc: maybe-all-build-byacc
36494 all-stage1-gcc: maybe-all-build-byacc
36495 all-stage2-gcc: maybe-all-build-byacc
36496 all-stage3-gcc: maybe-all-build-byacc
36497 all-stage4-gcc: maybe-all-build-byacc
36498 all-stageprofile-gcc: maybe-all-build-byacc
36499 all-stagefeedback-gcc: maybe-all-build-byacc
36500 all-prebootstrap: maybe-all-build-byacc
36501 all-gcc: maybe-all-build-flex
36503 all-stage1-gcc: maybe-all-build-flex
36504 all-stage2-gcc: maybe-all-build-flex
36505 all-stage3-gcc: maybe-all-build-flex
36506 all-stage4-gcc: maybe-all-build-flex
36507 all-stageprofile-gcc: maybe-all-build-flex
36508 all-stagefeedback-gcc: maybe-all-build-flex
36509 all-prebootstrap: maybe-all-build-flex
36510 all-gcc: maybe-all-build-libiberty
36512 all-stage1-gcc: maybe-all-build-libiberty
36513 all-stage2-gcc: maybe-all-build-libiberty
36514 all-stage3-gcc: maybe-all-build-libiberty
36515 all-stage4-gcc: maybe-all-build-libiberty
36516 all-stageprofile-gcc: maybe-all-build-libiberty
36517 all-stagefeedback-gcc: maybe-all-build-libiberty
36518 all-prebootstrap: maybe-all-build-libiberty
36519 all-gcc: maybe-all-build-fixincludes
36521 all-stage1-gcc: maybe-all-build-fixincludes
36522 all-stage2-gcc: maybe-all-build-fixincludes
36523 all-stage3-gcc: maybe-all-build-fixincludes
36524 all-stage4-gcc: maybe-all-build-fixincludes
36525 all-stageprofile-gcc: maybe-all-build-fixincludes
36526 all-stagefeedback-gcc: maybe-all-build-fixincludes
36527 all-prebootstrap: maybe-all-build-fixincludes
36528 all-gcc: maybe-all-zlib
36530 all-stage1-gcc: maybe-all-stage1-zlib
36531 all-stage2-gcc: maybe-all-stage2-zlib
36532 all-stage3-gcc: maybe-all-stage3-zlib
36533 all-stage4-gcc: maybe-all-stage4-zlib
36534 all-stageprofile-gcc: maybe-all-stageprofile-zlib
36535 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
36536 all-gcc: all-libcpp
36538 all-stage1-gcc: all-stage1-libcpp
36539 all-stage2-gcc: all-stage2-libcpp
36540 all-stage3-gcc: all-stage3-libcpp
36541 all-stage4-gcc: all-stage4-libcpp
36542 all-stageprofile-gcc: all-stageprofile-libcpp
36543 all-stagefeedback-gcc: all-stagefeedback-libcpp
36544 all-gcc: maybe-all-libiberty
36546 all-stage1-gcc: maybe-all-stage1-libiberty
36547 all-stage2-gcc: maybe-all-stage2-libiberty
36548 all-stage3-gcc: maybe-all-stage3-libiberty
36549 all-stage4-gcc: maybe-all-stage4-libiberty
36550 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
36551 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
36552 all-gcc: maybe-all-fixincludes
36553 install-gcc: maybe-install-fixincludes
36554 configure-libcpp: configure-libiberty
36556 configure-stage1-libcpp: configure-stage1-libiberty
36557 configure-stage2-libcpp: configure-stage2-libiberty
36558 configure-stage3-libcpp: configure-stage3-libiberty
36559 configure-stage4-libcpp: configure-stage4-libiberty
36560 configure-stageprofile-libcpp: configure-stageprofile-libiberty
36561 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
36562 configure-libcpp: maybe-configure-intl
36564 configure-stage1-libcpp: maybe-configure-stage1-intl
36565 configure-stage2-libcpp: maybe-configure-stage2-intl
36566 configure-stage3-libcpp: maybe-configure-stage3-intl
36567 configure-stage4-libcpp: maybe-configure-stage4-intl
36568 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
36569 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
36570 all-libcpp: all-libiberty
36572 all-stage1-libcpp: all-stage1-libiberty
36573 all-stage2-libcpp: all-stage2-libiberty
36574 all-stage3-libcpp: all-stage3-libiberty
36575 all-stage4-libcpp: all-stage4-libiberty
36576 all-stageprofile-libcpp: all-stageprofile-libiberty
36577 all-stagefeedback-libcpp: all-stagefeedback-libiberty
36578 all-libcpp: maybe-all-intl
36580 all-stage1-libcpp: maybe-all-stage1-intl
36581 all-stage2-libcpp: maybe-all-stage2-intl
36582 all-stage3-libcpp: maybe-all-stage3-intl
36583 all-stage4-libcpp: maybe-all-stage4-intl
36584 all-stageprofile-libcpp: maybe-all-stageprofile-intl
36585 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
36586 all-fixincludes: maybe-all-libiberty
36587 all-gnattools: maybe-all-target-libada
36588 configure-gdb: maybe-configure-itcl
36589 configure-gdb: maybe-configure-tcl
36590 configure-gdb: maybe-configure-tk
36591 configure-gdb: maybe-configure-sim
36592 all-gdb: maybe-all-libiberty
36593 all-gdb: maybe-all-opcodes
36594 all-gdb: maybe-all-bfd
36595 all-gdb: maybe-all-readline
36596 all-gdb: maybe-all-build-bison
36597 all-gdb: maybe-all-build-byacc
36598 all-gdb: maybe-all-sim
36599 install-gdb: maybe-install-tcl
36600 install-gdb: maybe-install-tk
36601 install-gdb: maybe-install-itcl
36602 install-gdb: maybe-install-libgui
36603 configure-libgui: maybe-configure-tcl
36604 configure-libgui: maybe-configure-tk
36605 all-libgui: maybe-all-tcl
36606 all-libgui: maybe-all-tk
36607 all-libgui: maybe-all-itcl
36608 configure-bfd: configure-libiberty
36610 configure-stage1-bfd: configure-stage1-libiberty
36611 configure-stage2-bfd: configure-stage2-libiberty
36612 configure-stage3-bfd: configure-stage3-libiberty
36613 configure-stage4-bfd: configure-stage4-libiberty
36614 configure-stageprofile-bfd: configure-stageprofile-libiberty
36615 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
36616 all-bfd: maybe-all-libiberty
36618 all-stage1-bfd: maybe-all-stage1-libiberty
36619 all-stage2-bfd: maybe-all-stage2-libiberty
36620 all-stage3-bfd: maybe-all-stage3-libiberty
36621 all-stage4-bfd: maybe-all-stage4-libiberty
36622 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
36623 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
36624 all-bfd: maybe-all-intl
36626 all-stage1-bfd: maybe-all-stage1-intl
36627 all-stage2-bfd: maybe-all-stage2-intl
36628 all-stage3-bfd: maybe-all-stage3-intl
36629 all-stage4-bfd: maybe-all-stage4-intl
36630 all-stageprofile-bfd: maybe-all-stageprofile-intl
36631 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
36632 all-binutils: maybe-all-libiberty
36634 all-stage1-binutils: maybe-all-stage1-libiberty
36635 all-stage2-binutils: maybe-all-stage2-libiberty
36636 all-stage3-binutils: maybe-all-stage3-libiberty
36637 all-stage4-binutils: maybe-all-stage4-libiberty
36638 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
36639 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
36640 all-binutils: maybe-all-opcodes
36642 all-stage1-binutils: maybe-all-stage1-opcodes
36643 all-stage2-binutils: maybe-all-stage2-opcodes
36644 all-stage3-binutils: maybe-all-stage3-opcodes
36645 all-stage4-binutils: maybe-all-stage4-opcodes
36646 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
36647 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
36648 all-binutils: maybe-all-bfd
36650 all-stage1-binutils: maybe-all-stage1-bfd
36651 all-stage2-binutils: maybe-all-stage2-bfd
36652 all-stage3-binutils: maybe-all-stage3-bfd
36653 all-stage4-binutils: maybe-all-stage4-bfd
36654 all-stageprofile-binutils: maybe-all-stageprofile-bfd
36655 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
36656 all-binutils: maybe-all-build-flex
36658 all-stage1-binutils: maybe-all-build-flex
36659 all-stage2-binutils: maybe-all-build-flex
36660 all-stage3-binutils: maybe-all-build-flex
36661 all-stage4-binutils: maybe-all-build-flex
36662 all-stageprofile-binutils: maybe-all-build-flex
36663 all-stagefeedback-binutils: maybe-all-build-flex
36664 all-prebootstrap: maybe-all-build-flex
36665 all-binutils: maybe-all-build-bison
36667 all-stage1-binutils: maybe-all-build-bison
36668 all-stage2-binutils: maybe-all-build-bison
36669 all-stage3-binutils: maybe-all-build-bison
36670 all-stage4-binutils: maybe-all-build-bison
36671 all-stageprofile-binutils: maybe-all-build-bison
36672 all-stagefeedback-binutils: maybe-all-build-bison
36673 all-prebootstrap: maybe-all-build-bison
36674 all-binutils: maybe-all-build-byacc
36676 all-stage1-binutils: maybe-all-build-byacc
36677 all-stage2-binutils: maybe-all-build-byacc
36678 all-stage3-binutils: maybe-all-build-byacc
36679 all-stage4-binutils: maybe-all-build-byacc
36680 all-stageprofile-binutils: maybe-all-build-byacc
36681 all-stagefeedback-binutils: maybe-all-build-byacc
36682 all-prebootstrap: maybe-all-build-byacc
36683 all-binutils: maybe-all-intl
36685 all-stage1-binutils: maybe-all-stage1-intl
36686 all-stage2-binutils: maybe-all-stage2-intl
36687 all-stage3-binutils: maybe-all-stage3-intl
36688 all-stage4-binutils: maybe-all-stage4-intl
36689 all-stageprofile-binutils: maybe-all-stageprofile-intl
36690 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
36691 install-binutils: maybe-install-opcodes
36692 install-opcodes: maybe-install-bfd
36693 all-gas: maybe-all-libiberty
36695 all-stage1-gas: maybe-all-stage1-libiberty
36696 all-stage2-gas: maybe-all-stage2-libiberty
36697 all-stage3-gas: maybe-all-stage3-libiberty
36698 all-stage4-gas: maybe-all-stage4-libiberty
36699 all-stageprofile-gas: maybe-all-stageprofile-libiberty
36700 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
36701 all-gas: maybe-all-opcodes
36703 all-stage1-gas: maybe-all-stage1-opcodes
36704 all-stage2-gas: maybe-all-stage2-opcodes
36705 all-stage3-gas: maybe-all-stage3-opcodes
36706 all-stage4-gas: maybe-all-stage4-opcodes
36707 all-stageprofile-gas: maybe-all-stageprofile-opcodes
36708 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
36709 all-gas: maybe-all-bfd
36711 all-stage1-gas: maybe-all-stage1-bfd
36712 all-stage2-gas: maybe-all-stage2-bfd
36713 all-stage3-gas: maybe-all-stage3-bfd
36714 all-stage4-gas: maybe-all-stage4-bfd
36715 all-stageprofile-gas: maybe-all-stageprofile-bfd
36716 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
36717 all-gas: maybe-all-intl
36719 all-stage1-gas: maybe-all-stage1-intl
36720 all-stage2-gas: maybe-all-stage2-intl
36721 all-stage3-gas: maybe-all-stage3-intl
36722 all-stage4-gas: maybe-all-stage4-intl
36723 all-stageprofile-gas: maybe-all-stageprofile-intl
36724 all-stagefeedback-gas: maybe-all-stagefeedback-intl
36725 all-gprof: maybe-all-libiberty
36726 all-gprof: maybe-all-bfd
36727 all-gprof: maybe-all-opcodes
36728 all-gprof: maybe-all-intl
36729 all-ld: maybe-all-libiberty
36731 all-stage1-ld: maybe-all-stage1-libiberty
36732 all-stage2-ld: maybe-all-stage2-libiberty
36733 all-stage3-ld: maybe-all-stage3-libiberty
36734 all-stage4-ld: maybe-all-stage4-libiberty
36735 all-stageprofile-ld: maybe-all-stageprofile-libiberty
36736 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
36737 all-ld: maybe-all-bfd
36739 all-stage1-ld: maybe-all-stage1-bfd
36740 all-stage2-ld: maybe-all-stage2-bfd
36741 all-stage3-ld: maybe-all-stage3-bfd
36742 all-stage4-ld: maybe-all-stage4-bfd
36743 all-stageprofile-ld: maybe-all-stageprofile-bfd
36744 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
36745 all-ld: maybe-all-opcodes
36747 all-stage1-ld: maybe-all-stage1-opcodes
36748 all-stage2-ld: maybe-all-stage2-opcodes
36749 all-stage3-ld: maybe-all-stage3-opcodes
36750 all-stage4-ld: maybe-all-stage4-opcodes
36751 all-stageprofile-ld: maybe-all-stageprofile-opcodes
36752 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
36753 all-ld: maybe-all-build-bison
36755 all-stage1-ld: maybe-all-build-bison
36756 all-stage2-ld: maybe-all-build-bison
36757 all-stage3-ld: maybe-all-build-bison
36758 all-stage4-ld: maybe-all-build-bison
36759 all-stageprofile-ld: maybe-all-build-bison
36760 all-stagefeedback-ld: maybe-all-build-bison
36761 all-prebootstrap: maybe-all-build-bison
36762 all-ld: maybe-all-build-byacc
36764 all-stage1-ld: maybe-all-build-byacc
36765 all-stage2-ld: maybe-all-build-byacc
36766 all-stage3-ld: maybe-all-build-byacc
36767 all-stage4-ld: maybe-all-build-byacc
36768 all-stageprofile-ld: maybe-all-build-byacc
36769 all-stagefeedback-ld: maybe-all-build-byacc
36770 all-prebootstrap: maybe-all-build-byacc
36771 all-ld: maybe-all-build-flex
36773 all-stage1-ld: maybe-all-build-flex
36774 all-stage2-ld: maybe-all-build-flex
36775 all-stage3-ld: maybe-all-build-flex
36776 all-stage4-ld: maybe-all-build-flex
36777 all-stageprofile-ld: maybe-all-build-flex
36778 all-stagefeedback-ld: maybe-all-build-flex
36779 all-prebootstrap: maybe-all-build-flex
36780 all-ld: maybe-all-intl
36782 all-stage1-ld: maybe-all-stage1-intl
36783 all-stage2-ld: maybe-all-stage2-intl
36784 all-stage3-ld: maybe-all-stage3-intl
36785 all-stage4-ld: maybe-all-stage4-intl
36786 all-stageprofile-ld: maybe-all-stageprofile-intl
36787 all-stagefeedback-ld: maybe-all-stagefeedback-intl
36788 all-opcodes: maybe-all-bfd
36790 all-stage1-opcodes: maybe-all-stage1-bfd
36791 all-stage2-opcodes: maybe-all-stage2-bfd
36792 all-stage3-opcodes: maybe-all-stage3-bfd
36793 all-stage4-opcodes: maybe-all-stage4-bfd
36794 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
36795 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
36796 all-opcodes: maybe-all-libiberty
36798 all-stage1-opcodes: maybe-all-stage1-libiberty
36799 all-stage2-opcodes: maybe-all-stage2-libiberty
36800 all-stage3-opcodes: maybe-all-stage3-libiberty
36801 all-stage4-opcodes: maybe-all-stage4-libiberty
36802 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
36803 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
36804 all-dejagnu: maybe-all-tcl
36805 all-dejagnu: maybe-all-expect
36806 all-dejagnu: maybe-all-tk
36807 configure-expect: maybe-configure-tcl
36808 configure-expect: maybe-configure-tk
36809 all-expect: maybe-all-tcl
36810 all-expect: maybe-all-tk
36811 configure-itcl: maybe-configure-tcl
36812 configure-itcl: maybe-configure-tk
36813 all-itcl: maybe-all-tcl
36814 all-itcl: maybe-all-tk
36815 install-itcl: maybe-install-tcl
36816 configure-tk: maybe-configure-tcl
36817 all-tk: maybe-all-tcl
36818 all-sid: maybe-all-libiberty
36819 all-sid: maybe-all-bfd
36820 all-sid: maybe-all-opcodes
36821 all-sid: maybe-all-tcl
36822 all-sid: maybe-all-tk
36823 install-sid: maybe-install-tcl
36824 install-sid: maybe-install-tk
36825 all-sim: maybe-all-libiberty
36826 all-sim: maybe-all-bfd
36827 all-sim: maybe-all-opcodes
36828 all-sim: maybe-all-readline
36829 all-sim: maybe-configure-gdb
36830 all-fastjar: maybe-all-zlib
36831 all-fastjar: maybe-all-build-texinfo
36832 all-fastjar: maybe-all-libiberty
36833 all-autoconf: maybe-all-m4
36834 all-autoconf: maybe-all-build-texinfo
36835 all-automake: maybe-all-m4
36836 all-automake: maybe-all-build-texinfo
36837 all-automake: maybe-all-autoconf
36838 all-bison: maybe-all-intl
36839 all-bison: maybe-all-build-texinfo
36840 all-diff: maybe-all-intl
36841 all-diff: maybe-all-build-texinfo
36842 all-fileutils: maybe-all-intl
36843 all-fileutils: maybe-all-build-texinfo
36844 all-flex: maybe-all-build-bison
36845 all-flex: maybe-all-build-byacc
36846 all-flex: maybe-all-intl
36847 all-flex: maybe-all-m4
36848 all-flex: maybe-all-build-texinfo
36849 all-gzip: maybe-all-intl
36850 all-gzip: maybe-all-zlib
36851 all-gzip: maybe-all-build-texinfo
36852 all-hello: maybe-all-intl
36853 all-hello: maybe-all-build-texinfo
36854 all-m4: maybe-all-intl
36855 all-m4: maybe-all-build-texinfo
36856 all-make: maybe-all-intl
36857 all-make: maybe-all-build-texinfo
36858 all-patch: maybe-all-build-texinfo
36859 all-make: maybe-all-build-texinfo
36860 all-prms: maybe-all-libiberty
36861 all-recode: maybe-all-build-texinfo
36862 all-sed: maybe-all-build-texinfo
36863 all-send-pr: maybe-all-prms
36864 all-tar: maybe-all-build-texinfo
36865 all-uudecode: maybe-all-build-texinfo
36866 configure-target-boehm-gc: maybe-configure-target-qthreads
36867 configure-target-fastjar: maybe-configure-target-zlib
36868 all-target-fastjar: maybe-all-target-zlib
36869 all-target-fastjar: maybe-all-target-libiberty
36870 configure-target-libjava: maybe-configure-target-zlib
36871 configure-target-libjava: maybe-configure-target-boehm-gc
36872 configure-target-libjava: maybe-configure-target-qthreads
36873 configure-target-libjava: maybe-configure-target-libffi
36874 all-target-libjava: maybe-all-fastjar
36875 all-target-libjava: maybe-all-target-zlib
36876 all-target-libjava: maybe-all-target-boehm-gc
36877 all-target-libjava: maybe-all-target-qthreads
36878 all-target-libjava: maybe-all-target-libffi
36879 all-target-libobjc: maybe-all-target-libiberty
36880 all-target-libstdc++-v3: maybe-all-target-libiberty
36881 all-target-libgloss: maybe-configure-target-newlib
36882 all-target-winsup: maybe-all-target-libiberty
36883 all-target-winsup: maybe-all-target-libtermcap
36886 # Non-toplevel bootstrap rules must depend on several packages, to be built
36887 # before gcc. Another wart that will go away, hopefully soon.
36888 @if gcc-no-bootstrap
36890 all-prebootstrap: maybe-all-bfd
36891 all-prebootstrap: maybe-all-opcodes
36892 all-prebootstrap: maybe-all-binutils
36893 all-prebootstrap: maybe-all-gas
36894 all-prebootstrap: maybe-all-intl
36895 all-prebootstrap: maybe-all-ld
36896 all-prebootstrap: maybe-all-libcpp
36897 all-prebootstrap: maybe-all-libiberty
36898 all-prebootstrap: maybe-all-zlib
36899 @endif gcc-no-bootstrap
36901 GDB_TK = @GDB_TK@
36902 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
36904 # Serialization dependencies. Host configures don't work well in parallel to
36905 # each other, due to contention over config.cache. Target configures and
36906 # build configures are similar.
36907 @serialization_dependencies@
36909 # --------------------------------
36910 # Regenerating top level configury
36911 # --------------------------------
36913 # Multilib.out tells target dirs what multilibs they should build.
36914 # There is really only one copy. We use the 'timestamp' method to
36915 # work around various timestamp bugs on some systems.
36916 # We use move-if-change so that it's only considered updated when it
36917 # actually changes, because it has to depend on a phony target.
36918 multilib.out: maybe-all-gcc
36919 @r=`${PWD_COMMAND}`; export r; \
36920 echo "Checking multilib configuration..."; \
36921 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
36922 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
36924 # Rebuilding Makefile.in, using autogen.
36925 AUTOGEN = autogen
36926 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
36927 cd $(srcdir) && $(AUTOGEN) Makefile.def
36929 # Rebuilding Makefile.
36930 Makefile: $(srcdir)/Makefile.in config.status
36931 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
36933 config.status: configure
36934 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
36936 # Rebuilding configure.
36937 AUTOCONF = autoconf
36938 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
36939 cd $(srcdir) && $(AUTOCONF)
36941 # ------------------------------
36942 # Special directives to GNU Make
36943 # ------------------------------
36945 # Don't pass command-line variables to submakes.
36946 .NOEXPORT:
36947 MAKEOVERRIDES=
36949 # end of Makefile.in