* configure.in: Bump version to 2.16.90.
[binutils.git] / Makefile.in
bloba6d28ac0e80dea305a5869206fdec04af623a80b
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., 59 Temple Place - Suite 330, Boston, MA 02111-1307, 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 file containing GCC's version number.
76 gcc_version_trigger = @gcc_version_trigger@
77 gcc_version = @gcc_version@
79 # The gcc driver likes to know the arguments it was configured with.
80 TOPLEVEL_CONFIGURE_ARGUMENTS=@TOPLEVEL_CONFIGURE_ARGUMENTS@
82 gxx_include_dir = @gxx_include_dir@
83 libstdcxx_incdir = @libstdcxx_incdir@
85 tooldir = @tooldir@
86 build_tooldir = @build_tooldir@
88 # Directory in which the compiler finds executables, libraries, etc.
89 libsubdir = $(libdir)/gcc/$(target_alias)/$(gcc_version)
90 GDB_NLM_DEPS =
92 # This is the name of the environment variable used for the path to
93 # the libraries.
94 RPATH_ENVVAR = @RPATH_ENVVAR@
96 # This is set by configure to REALLY_SET_LIB_PATH if --enable-shared
97 # was used.
98 SET_LIB_PATH = @SET_LIB_PATH@
100 # configure.in sets SET_LIB_PATH to this if --enable-shared was used.
101 # Some platforms don't like blank entries, so we remove duplicate,
102 # leading and trailing colons.
103 REALLY_SET_LIB_PATH = \
104 @SET_GCC_LIB_PATH@ \
105 $(RPATH_ENVVAR)=`echo "$(HOST_LIB_PATH):$(TARGET_LIB_PATH):$$$(RPATH_ENVVAR)" | sed 's,::*,:,g;s,^:*,,;s,:*$$,,'`; export $(RPATH_ENVVAR);
107 # This is the list of directories to be built for the build system.
108 BUILD_CONFIGDIRS = libiberty
109 # Build programs are put under this directory.
110 BUILD_SUBDIR = @build_subdir@
111 # This is set by the configure script to the arguments to use when configuring
112 # directories built for the build system.
113 BUILD_CONFIGARGS = @build_configargs@
115 # This is the list of variables to export in the environment when
116 # configuring any subdirectory. It must also be exported whenever
117 # recursing into a build directory in case that directory's Makefile
118 # re-runs configure.
119 BASE_EXPORTS = \
120 FLEX="$(FLEX)"; export FLEX; \
121 LEX="$(LEX)"; export LEX; \
122 BISON="$(BISON)"; export BISON; \
123 YACC="$(YACC)"; export YACC; \
124 M4="$(M4)"; export M4; \
125 MAKEINFO="$(MAKEINFO)"; export MAKEINFO;
127 # This is the list of variables to export in the environment when
128 # configuring subdirectories for the build system.
129 BUILD_EXPORTS = \
130 $(BASE_EXPORTS) \
131 AR="$(AR_FOR_BUILD)"; export AR; \
132 AS="$(AS_FOR_BUILD)"; export AS; \
133 CC="$(CC_FOR_BUILD)"; export CC; \
134 CFLAGS="$(CFLAGS_FOR_BUILD)"; export CFLAGS; \
135 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
136 CXX="$(CXX_FOR_BUILD)"; export CXX; \
137 CXXFLAGS="$(CXXFLAGS_FOR_BUILD)"; export CXXFLAGS; \
138 GCJ="$(GCJ_FOR_BUILD)"; export GCJ; \
139 GFORTRAN="$(GFORTRAN_FOR_BUILD)"; export GFORTRAN; \
140 DLLTOOL="$(DLLTOOL_FOR_BUILD)"; export DLLTOOL; \
141 LD="$(LD_FOR_BUILD)"; export LD; \
142 LDFLAGS="$(LDFLAGS_FOR_BUILD)"; export LDFLAGS; \
143 NM="$(NM_FOR_BUILD)"; export NM; \
144 RANLIB="$(RANLIB_FOR_BUILD)"; export RANLIB; \
145 WINDRES="$(WINDRES_FOR_BUILD)"; export WINDRES;
147 # This is the list of directories to built for the host system.
148 SUBDIRS = @configdirs@
149 # This is set by the configure script to the arguments to use when configuring
150 # directories built for the host system.
151 HOST_CONFIGARGS = @host_configargs@
152 # Host programs are put under this directory, which is . except if building
153 # with srcdir=..
154 HOST_SUBDIR = @host_subdir@
155 # This is the list of variables to export in the environment when
156 # configuring subdirectories for the host system.
157 HOST_EXPORTS = \
158 $(BASE_EXPORTS) \
159 CC="$(CC)"; export CC; \
160 CFLAGS="$(CFLAGS)"; export CFLAGS; \
161 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
162 CXX="$(CXX)"; export CXX; \
163 CXXFLAGS="$(CXXFLAGS)"; export CXXFLAGS; \
164 AR="$(AR)"; export AR; \
165 AS="$(AS)"; export AS; \
166 CC_FOR_BUILD="$(CC_FOR_BUILD)"; export CC_FOR_BUILD; \
167 DLLTOOL="$(DLLTOOL)"; export DLLTOOL; \
168 LD="$(LD)"; export LD; \
169 LDFLAGS="$(LDFLAGS)"; export LDFLAGS; \
170 NM="$(NM)"; export NM; \
171 RANLIB="$(RANLIB)"; export RANLIB; \
172 WINDRES="$(WINDRES)"; export WINDRES; \
173 OBJCOPY="$(OBJCOPY)"; export OBJCOPY; \
174 OBJDUMP="$(OBJDUMP)"; export OBJDUMP; \
175 TOPLEVEL_CONFIGURE_ARGUMENTS="$(TOPLEVEL_CONFIGURE_ARGUMENTS)"; export TOPLEVEL_CONFIGURE_ARGUMENTS; \
176 GMPLIBS="$(HOST_GMPLIBS)"; export GMPLIBS; \
177 GMPINC="$(HOST_GMPINC)"; export GMPINC; \
178 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
179 @SET_GCC_LIB_PATH@
181 # Similar, for later GCC stages.
182 STAGE_HOST_EXPORTS = \
183 $(HOST_EXPORTS) \
184 CC="$(STAGE_CC_WRAPPER) $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
185 -B$$r/$(HOST_SUBDIR)/prev-gcc/ -B$(build_tooldir)/bin/"; export CC; \
186 CC_FOR_BUILD="$(STAGE_CC_WRAPPER) \
187 $$r/$(HOST_SUBDIR)/prev-gcc/xgcc$(exeext) \
188 -B$$r/$(HOST_SUBDIR)/prev-gcc/ \
189 -B$(build_tooldir)/bin/"; export CC_FOR_BUILD;
191 # This is set by the configure script to the list of directories which
192 # should be built using the target tools.
193 TARGET_CONFIGDIRS = @target_configdirs@
194 # Target libraries are put under this directory:
195 TARGET_SUBDIR = @target_subdir@
196 # This is set by the configure script to the arguments to use when configuring
197 # directories built for the target.
198 TARGET_CONFIGARGS = @target_configargs@
199 # This is the list of variables to export in the environment when
200 # configuring subdirectories for the host system.
201 BASE_TARGET_EXPORTS = \
202 $(BASE_EXPORTS) \
203 AR="$(AR_FOR_TARGET)"; export AR; \
204 AS="$(AS_FOR_TARGET)"; export AS; \
205 CC="$(CC_FOR_TARGET)"; export CC; \
206 CFLAGS="$(CFLAGS_FOR_TARGET)"; export CFLAGS; \
207 CONFIG_SHELL="$(SHELL)"; export CONFIG_SHELL; \
208 CPPFLAGS="$(CPPFLAGS_FOR_TARGET)"; export CPPFLAGS; \
209 CXXFLAGS="$(CXXFLAGS_FOR_TARGET)"; export CXXFLAGS; \
210 GCJ="$(GCJ_FOR_TARGET)"; export GCJ; \
211 GFORTRAN="$(GFORTRAN_FOR_TARGET)"; export GFORTRAN; \
212 DLLTOOL="$(DLLTOOL_FOR_TARGET)"; export DLLTOOL; \
213 LD="$(LD_FOR_TARGET)"; export LD; \
214 LDFLAGS="$(LDFLAGS_FOR_TARGET)"; export LDFLAGS; \
215 NM="$(NM_FOR_TARGET)"; export NM; \
216 RANLIB="$(RANLIB_FOR_TARGET)"; export RANLIB; \
217 WINDRES="$(WINDRES_FOR_TARGET)"; export WINDRES; \
218 SET_GCC_LIB_PATH_CMD="@SET_GCC_LIB_PATH@"; export SET_GCC_LIB_PATH_CMD; \
219 @SET_GCC_LIB_PATH@
221 RAW_CXX_TARGET_EXPORTS = \
222 $(BASE_TARGET_EXPORTS) \
223 CXX_FOR_TARGET="$(RAW_CXX_FOR_TARGET)"; export CXX_FOR_TARGET; \
224 CXX="$(RAW_CXX_FOR_TARGET)"; export CXX;
226 NORMAL_TARGET_EXPORTS = \
227 $(BASE_TARGET_EXPORTS) \
228 CXX="$(CXX_FOR_TARGET)"; export CXX;
230 # Where to find GMP
231 HOST_GMPLIBS = @gmplibs@
232 HOST_GMPINC = @gmpinc@
234 # ----------------------------------------------
235 # Programs producing files for the BUILD machine
236 # ----------------------------------------------
238 SHELL = @config_shell@
240 # pwd command to use. Allow user to override default by setting PWDCMD in
241 # the environment to account for automounters. The make variable must not
242 # be called PWDCMD, otherwise the value set here is passed to make
243 # subprocesses and overrides the setting from the user's environment.
244 # Don't use PWD since it is a common shell environment variable and we
245 # don't want to corrupt it.
246 PWD_COMMAND = $${PWDCMD-pwd}
248 # compilers to use to create programs which must be run in the build
249 # environment.
250 CC_FOR_BUILD = @CC_FOR_BUILD@
251 CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@
253 CXX_FOR_BUILD = $(CXX)
255 # Special variables passed down in EXTRA_GCC_FLAGS. They are defined
256 # here so that they can be overridden by Makefile fragments.
257 BUILD_PREFIX = @BUILD_PREFIX@
258 BUILD_PREFIX_1 = @BUILD_PREFIX_1@
260 # Flags to pass to stage2 and later makes. They are defined
261 # here so that they can be overridden by Makefile fragments.
262 BOOT_CFLAGS= -g -O2
264 CONFIGURED_BISON = @CONFIGURED_BISON@
265 BISON = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
266 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison ; \
267 else \
268 echo ${CONFIGURED_BISON} ; \
271 CONFIGURED_YACC = @CONFIGURED_YACC@
272 YACC = `if [ -f $$r/$(BUILD_SUBDIR)/bison/tests/bison ] ; then \
273 echo $$r/$(BUILD_SUBDIR)/bison/tests/bison -y ; \
274 elif [ -f $$r/$(BUILD_SUBDIR)/byacc/byacc ] ; then \
275 echo $$r/$(BUILD_SUBDIR)/byacc/byacc ; \
276 else \
277 echo ${CONFIGURED_YACC} ; \
280 CONFIGURED_FLEX = @CONFIGURED_FLEX@
281 FLEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
282 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
283 else echo ${CONFIGURED_FLEX} ; fi`
285 CONFIGURED_LEX = @CONFIGURED_LEX@
286 LEX = `if [ -f $$r/$(BUILD_SUBDIR)/flex/flex ] ; \
287 then echo $$r/$(BUILD_SUBDIR)/flex/flex ; \
288 else echo ${CONFIGURED_LEX} ; fi`
290 CONFIGURED_M4 = @CONFIGURED_M4@
291 M4 = `if [ -f $$r/$(BUILD_SUBDIR)/m4/m4 ] ; \
292 then echo $$r/$(BUILD_SUBDIR)/m4/m4 ; \
293 else echo ${CONFIGURED_M4} ; fi`
295 # For an installed makeinfo, we require it to be from texinfo 4.2 or
296 # higher, else we use the "missing" dummy. We also pass the subdirectory
297 # makeinfo even if only the Makefile is there, because Texinfo builds its
298 # manual when made, and it requires its own version.
299 CONFIGURED_MAKEINFO = @CONFIGURED_MAKEINFO@
300 MAKEINFO = `if [ -f $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/Makefile ] ; \
301 then echo $$r/$(BUILD_SUBDIR)/texinfo/makeinfo/makeinfo ; \
302 else if (${CONFIGURED_MAKEINFO} --version \
303 | egrep 'texinfo[^0-9]*([1-3][0-9]|4\.[2-9]|[5-9])') >/dev/null 2>&1; \
304 then echo ${CONFIGURED_MAKEINFO}; else echo $$s/missing makeinfo; fi; fi`
306 # This just becomes part of the MAKEINFO definition passed down to
307 # sub-makes. It lets flags be given on the command line while still
308 # using the makeinfo from the object tree.
309 # (Default to avoid splitting info files by setting the threshold high.)
310 MAKEINFOFLAGS = --split-size=5000000
312 # FIXME: expect may become a build tool?
313 EXPECT = `if [ -f $$r/$(HOST_SUBDIR)/expect/expect ] ; \
314 then echo $$r/$(HOST_SUBDIR)/expect/expect ; \
315 else echo expect ; fi`
317 RUNTEST = `if [ -f $$s/dejagnu/runtest ] ; \
318 then echo $$s/dejagnu/runtest ; \
319 else echo runtest ; fi`
321 # ---------------------------------------------
322 # Programs producing files for the HOST machine
323 # ---------------------------------------------
325 # This is the list of directories that may be needed in RPATH_ENVVAR
326 # so that programs built for the host machine work.
327 HOST_LIB_PATH = $$r/$(HOST_SUBDIR)/bfd:$$r/$(HOST_SUBDIR)/opcodes
329 AS = @AS@
331 AR = @AR@
332 AR_FLAGS = rc
334 CC = @CC@
335 CFLAGS = @CFLAGS@
336 LIBCFLAGS = $(CFLAGS)
338 CXX = @CXX@
339 CXXFLAGS = @CXXFLAGS@
340 LIBCXXFLAGS = $(CXXFLAGS) -fno-implicit-templates
342 DLLTOOL = @DLLTOOL@
344 NM = @NM@
346 LD = @LD@
347 LDFLAGS =
349 RANLIB = @RANLIB@
351 WINDRES = @WINDRES@
353 PICFLAG =
355 # -----------------------------------------------
356 # Programs producing files for the TARGET machine
357 # -----------------------------------------------
359 # This is the list of directories that may be needed in RPATH_ENVVAR
360 # so that prorgams built for the target machine work.
361 TARGET_LIB_PATH = $$r/$(TARGET_SUBDIR)/libstdc++-v3/src/.libs:$$r/$(TARGET_SUBDIR)/libmudflap/.libs
363 FLAGS_FOR_TARGET = @FLAGS_FOR_TARGET@
365 AR_FOR_TARGET=@AR_FOR_TARGET@
366 CONFIGURED_AR_FOR_TARGET=@CONFIGURED_AR_FOR_TARGET@
367 USUAL_AR_FOR_TARGET = ` \
368 if [ -f $$r/$(HOST_SUBDIR)/binutils/ar ] ; then \
369 echo $$r/$(HOST_SUBDIR)/binutils/ar ; \
370 else \
371 if [ '$(host)' = '$(target)' ] ; then \
372 echo $(AR); \
373 else \
374 echo $(CONFIGURED_AR_FOR_TARGET) ; \
375 fi; \
378 AS_FOR_TARGET=@AS_FOR_TARGET@
379 CONFIGURED_AS_FOR_TARGET=@CONFIGURED_AS_FOR_TARGET@
380 USUAL_AS_FOR_TARGET = ` \
381 if [ -f $$r/$(HOST_SUBDIR)/gas/as-new ] ; then \
382 echo $$r/$(HOST_SUBDIR)/gas/as-new ; \
383 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
384 $(CC_FOR_TARGET) -print-prog-name=as ; \
385 else \
386 if [ '$(host)' = '$(target)' ] ; then \
387 echo $(AS); \
388 else \
389 echo $(CONFIGURED_AS_FOR_TARGET) ; \
390 fi; \
393 CC_FOR_TARGET = @CC_FOR_TARGET@
394 # During gcc bootstrap, if we use some random cc for stage1 then
395 # CFLAGS will be just -g. We want to ensure that TARGET libraries
396 # (which we know are built with gcc) are built with optimizations so
397 # prepend -O2 when setting CFLAGS_FOR_TARGET.
398 CFLAGS_FOR_TARGET = -O2 $(CFLAGS)
399 # If GCC_FOR_TARGET is not overriden on the command line, then this
400 # variable is passed down to the gcc Makefile, where it is used to
401 # build libgcc2.a. We define it here so that it can itself be
402 # overridden on the command line.
403 GCC_FOR_TARGET=@GCC_FOR_TARGET@
404 USUAL_GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) \
405 $$r/$(HOST_SUBDIR)/gcc/xgcc -B$$r/$(HOST_SUBDIR)/gcc/ $(FLAGS_FOR_TARGET)
406 LIBCFLAGS_FOR_TARGET = $(CFLAGS_FOR_TARGET)
408 CXX_FOR_TARGET = @CXX_FOR_TARGET@
409 RAW_CXX_FOR_TARGET = @RAW_CXX_FOR_TARGET@
410 CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
411 RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE = @RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE@
412 CXXFLAGS_FOR_TARGET = $(CXXFLAGS)
413 LIBCXXFLAGS_FOR_TARGET = $(CXXFLAGS_FOR_TARGET) -fno-implicit-templates
415 DLLTOOL_FOR_TARGET=@DLLTOOL_FOR_TARGET@
416 CONFIGURED_DLLTOOL_FOR_TARGET=@CONFIGURED_DLLTOOL_FOR_TARGET@
417 USUAL_DLLTOOL_FOR_TARGET = ` \
418 if [ -f $$r/$(HOST_SUBDIR)/binutils/dlltool ] ; then \
419 echo $$r/$(HOST_SUBDIR)/binutils/dlltool ; \
420 else \
421 if [ '$(host)' = '$(target)' ] ; then \
422 echo $(DLLTOOL); \
423 else \
424 echo $(CONFIGURED_DLLTOOL_FOR_TARGET) ; \
425 fi; \
428 GCJ_FOR_TARGET = @GCJ_FOR_TARGET@
429 GFORTRAN_FOR_TARGET = @GFORTRAN_FOR_TARGET@
431 LD_FOR_TARGET=@LD_FOR_TARGET@
432 CONFIGURED_LD_FOR_TARGET=@CONFIGURED_LD_FOR_TARGET@
433 USUAL_LD_FOR_TARGET = ` \
434 if [ -f $$r/$(HOST_SUBDIR)/ld/ld-new ] ; then \
435 echo $$r/$(HOST_SUBDIR)/ld/ld-new ; \
436 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
437 $(CC_FOR_TARGET) -print-prog-name=ld ; \
438 else \
439 if [ '$(host)' = '$(target)' ] ; then \
440 echo $(LD); \
441 else \
442 echo $(CONFIGURED_LD_FOR_TARGET) ; \
443 fi; \
446 LDFLAGS_FOR_TARGET =
448 NM_FOR_TARGET=@NM_FOR_TARGET@
449 CONFIGURED_NM_FOR_TARGET=@CONFIGURED_NM_FOR_TARGET@
450 USUAL_NM_FOR_TARGET = ` \
451 if [ -f $$r/$(HOST_SUBDIR)/binutils/nm-new ] ; then \
452 echo $$r/$(HOST_SUBDIR)/binutils/nm-new ; \
453 elif [ -f $$r/$(HOST_SUBDIR)/gcc/xgcc ]; then \
454 $(CC_FOR_TARGET) -print-prog-name=nm ; \
455 else \
456 if [ '$(host)' = '$(target)' ] ; then \
457 echo $(NM); \
458 else \
459 echo $(CONFIGURED_NM_FOR_TARGET) ; \
460 fi; \
463 RANLIB_FOR_TARGET=@RANLIB_FOR_TARGET@
464 CONFIGURED_RANLIB_FOR_TARGET=@CONFIGURED_RANLIB_FOR_TARGET@
465 USUAL_RANLIB_FOR_TARGET = ` \
466 if [ -f $$r/$(HOST_SUBDIR)/binutils/ranlib ] ; then \
467 echo $$r/$(HOST_SUBDIR)/binutils/ranlib ; \
468 else \
469 if [ '$(host)' = '$(target)' ] ; then \
470 if [ x'$(RANLIB)' != x ]; then \
471 echo $(RANLIB); \
472 else \
473 echo ranlib; \
474 fi; \
475 else \
476 echo $(CONFIGURED_RANLIB_FOR_TARGET) ; \
477 fi; \
480 WINDRES_FOR_TARGET=@WINDRES_FOR_TARGET@
481 CONFIGURED_WINDRES_FOR_TARGET=@CONFIGURED_WINDRES_FOR_TARGET@
482 USUAL_WINDRES_FOR_TARGET = ` \
483 if [ -f $$r/$(HOST_SUBDIR)/binutils/windres ] ; then \
484 echo $$r/$(HOST_SUBDIR)/binutils/windres ; \
485 else \
486 if [ '$(host)' = '$(target)' ] ; then \
487 echo $(WINDRES); \
488 else \
489 echo $(CONFIGURED_WINDRES_FOR_TARGET) ; \
490 fi; \
493 PICFLAG_FOR_TARGET =
495 # ------------------------------------
496 # Miscellaneous targets and flag lists
497 # ------------------------------------
499 # The first rule in the file had better be this one. Don't put any above it.
500 # This lives here to allow makefile fragments to contain dependencies.
501 @default_target@:
503 #### host and target specific makefile fragments come in here.
504 @target_makefile_frag@
505 @alphaieee_frag@
506 @ospace_frag@
507 @host_makefile_frag@
510 # Flags to pass down to all sub-makes.
511 BASE_FLAGS_TO_PASS = \
512 "DESTDIR=$(DESTDIR)" \
513 "RPATH_ENVVAR=$(RPATH_ENVVAR)" \
514 "TARGET_SUBDIR=$(TARGET_SUBDIR)" \
515 "bindir=$(bindir)" \
516 "datadir=$(datadir)" \
517 "exec_prefix=$(exec_prefix)" \
518 "includedir=$(includedir)" \
519 "infodir=$(infodir)" \
520 "libdir=$(libdir)" \
521 "libexecdir=$(libexecdir)" \
522 "lispdir=$(lispdir)" \
523 "libstdcxx_incdir=$(libstdcxx_incdir)" \
524 "libsubdir=$(libsubdir)" \
525 "localstatedir=$(localstatedir)" \
526 "mandir=$(mandir)" \
527 "oldincludedir=$(oldincludedir)" \
528 "prefix=$(prefix)" \
529 "sbindir=$(sbindir)" \
530 "sharedstatedir=$(sharedstatedir)" \
531 "sysconfdir=$(sysconfdir)" \
532 "tooldir=$(tooldir)" \
533 "build_tooldir=$(build_tooldir)" \
534 "gxx_include_dir=$(gxx_include_dir)" \
535 "gcc_version=$(gcc_version)" \
536 "gcc_version_trigger=$(gcc_version_trigger)" \
537 "target_alias=$(target_alias)" \
538 "BISON=$(BISON)" \
539 "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
540 "CXX_FOR_BUILD=$(CXX_FOR_BUILD)" \
541 "EXPECT=$(EXPECT)" \
542 "FLEX=$(FLEX)" \
543 "INSTALL=$(INSTALL)" \
544 "INSTALL_DATA=$(INSTALL_DATA)" \
545 "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
546 "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
547 "LEX=$(LEX)" \
548 "M4=$(M4)" \
549 "MAKE=$(MAKE)" \
550 "RUNTEST=$(RUNTEST)" \
551 "RUNTESTFLAGS=$(RUNTESTFLAGS)" \
552 "SHELL=$(SHELL)" \
553 "YACC=$(YACC)" \
554 "AR_FLAGS=$(AR_FLAGS)" \
555 "CFLAGS=$(CFLAGS)" \
556 "CXXFLAGS=$(CXXFLAGS)" \
557 "LDFLAGS=$(LDFLAGS)" \
558 "LIBCFLAGS=$(LIBCFLAGS)" \
559 "LIBCXXFLAGS=$(LIBCXXFLAGS)" \
560 "AR_FOR_TARGET=$(AR_FOR_TARGET)" \
561 "AS_FOR_TARGET=$(AS_FOR_TARGET)" \
562 "CC_FOR_TARGET=$(CC_FOR_TARGET)" \
563 "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
564 "CPPFLAGS_FOR_TARGET=$(CPPFLAGS_FOR_TARGET)" \
565 "CXX_FOR_TARGET=$(CXX_FOR_TARGET)" \
566 "CXXFLAGS_FOR_TARGET=$(CXXFLAGS_FOR_TARGET)" \
567 "DLLTOOL_FOR_TARGET=$(DLLTOOL_FOR_TARGET)" \
568 "GCJ_FOR_TARGET=$(GCJ_FOR_TARGET)" \
569 "GFORTRAN_FOR_TARGET=$(GFORTRAN_FOR_TARGET)" \
570 "LD_FOR_TARGET=$(LD_FOR_TARGET)" \
571 "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
572 "LIBCXXFLAGS_FOR_TARGET=$(LIBCXXFLAGS_FOR_TARGET)" \
573 "NM_FOR_TARGET=$(NM_FOR_TARGET)" \
574 "RANLIB_FOR_TARGET=$(RANLIB_FOR_TARGET)" \
575 "WINDRES_FOR_TARGET=$(WINDRES_FOR_TARGET)" \
576 "CONFIG_SHELL=$(SHELL)" \
577 "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"
579 # For any flags above that may contain shell code that varies from one
580 # target library to another. When doing recursive invocations of the
581 # top-level Makefile, we don't want the outer make to evaluate them,
582 # so we pass these variables down unchanged. They must not contain
583 # single nor double quotes.
584 RECURSE_FLAGS = \
585 CXX_FOR_TARGET='$(CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
586 RAW_CXX_FOR_TARGET='$(RAW_CXX_FOR_TARGET_FOR_RECURSIVE_MAKE)' \
588 RECURSE_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS)
590 # Flags to pass down to most sub-makes, in which we're building with
591 # the host environment.
592 EXTRA_HOST_FLAGS = \
593 'AR=$(AR)' \
594 'AS=$(AS)' \
595 'CC=$(CC)' \
596 'CXX=$(CXX)' \
597 'DLLTOOL=$(DLLTOOL)' \
598 'LD=$(LD)' \
599 'NM=$(NM)' \
600 'RANLIB=$(RANLIB)' \
601 'WINDRES=$(WINDRES)'
603 FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS)
605 # Flags that are concerned with the location of the X11 include files
606 # and library files
608 # NOTE: until the top-level is getting the values via autoconf, it only
609 # causes problems to have this top-level Makefile overriding the autoconf-set
610 # values in child directories. Only variables that don't conflict with
611 # autoconf'ed ones should be passed by X11_FLAGS_TO_PASS for now.
613 X11_FLAGS_TO_PASS = \
614 'X11_EXTRA_CFLAGS=$(X11_EXTRA_CFLAGS)' \
615 'X11_EXTRA_LIBS=$(X11_EXTRA_LIBS)'
617 # Flags to pass down to makes which are built with the target environment.
618 # The double $ decreases the length of the command line; the variables
619 # are set in BASE_FLAGS_TO_PASS, and the sub-make will expand them.
620 EXTRA_TARGET_FLAGS = \
621 'AR=$$(AR_FOR_TARGET)' \
622 'AS=$$(AS_FOR_TARGET)' \
623 'CC=$$(CC_FOR_TARGET)' \
624 'CFLAGS=$$(CFLAGS_FOR_TARGET)' \
625 'CXX=$$(CXX_FOR_TARGET)' \
626 'CXXFLAGS=$$(CXXFLAGS_FOR_TARGET)' \
627 'DLLTOOL=$$(DLLTOOL_FOR_TARGET)' \
628 'LD=$$(LD_FOR_TARGET)' \
629 'LIBCFLAGS=$$(LIBCFLAGS_FOR_TARGET)' \
630 'LIBCXXFLAGS=$$(LIBCXXFLAGS_FOR_TARGET)' \
631 'NM=$$(NM_FOR_TARGET)' \
632 'RANLIB=$$(RANLIB_FOR_TARGET)' \
633 'WINDRES=$$(WINDRES_FOR_TARGET)'
635 TARGET_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_TARGET_FLAGS)
637 # Flags to pass down to gcc. gcc builds a library, libgcc.a, so it
638 # unfortunately needs the native compiler and the target ar and
639 # ranlib.
640 # If any variables are added here, they must be added to do-*, below.
641 # The BUILD_* variables are a special case, which are used for the gcc
642 # cross-building scheme.
643 EXTRA_GCC_FLAGS = \
644 'BUILD_PREFIX=$(BUILD_PREFIX)' \
645 'BUILD_PREFIX_1=$(BUILD_PREFIX_1)' \
646 "GCC_FOR_TARGET=$(GCC_FOR_TARGET)" \
647 "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
648 "`echo 'LANGUAGES=$(LANGUAGES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
649 "`echo 'STMP_FIXPROTO=$(STMP_FIXPROTO)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
650 "`echo 'LIMITS_H_TEST=$(LIMITS_H_TEST)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
651 "`echo 'LIBGCC2_CFLAGS=$(LIBGCC2_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
652 "`echo 'LIBGCC2_DEBUG_CFLAGS=$(LIBGCC2_DEBUG_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
653 "`echo 'LIBGCC2_INCLUDES=$(LIBGCC2_INCLUDES)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
654 "`echo 'STAGE1_CFLAGS=$(STAGE1_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
655 "`echo 'BOOT_CFLAGS=$(BOOT_CFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`" \
656 "`echo 'BOOT_ADAFLAGS=$(BOOT_ADAFLAGS)' | sed -e s'/[^=][^=]*=$$/XFOO=/'`"
658 GCC_FLAGS_TO_PASS = $(BASE_FLAGS_TO_PASS) $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS)
660 .PHONY: configure-host
661 configure-host: \
662 maybe-configure-ash \
663 maybe-configure-autoconf \
664 maybe-configure-automake \
665 maybe-configure-bash \
666 maybe-configure-bfd \
667 maybe-configure-opcodes \
668 maybe-configure-binutils \
669 maybe-configure-bison \
670 maybe-configure-byacc \
671 maybe-configure-bzip2 \
672 maybe-configure-dejagnu \
673 maybe-configure-diff \
674 maybe-configure-dosutils \
675 maybe-configure-etc \
676 maybe-configure-fastjar \
677 maybe-configure-fileutils \
678 maybe-configure-findutils \
679 maybe-configure-find \
680 maybe-configure-fixincludes \
681 maybe-configure-flex \
682 maybe-configure-gas \
683 maybe-configure-gcc \
684 maybe-configure-gawk \
685 maybe-configure-gettext \
686 maybe-configure-gnuserv \
687 maybe-configure-gprof \
688 maybe-configure-gzip \
689 maybe-configure-hello \
690 maybe-configure-indent \
691 maybe-configure-intl \
692 maybe-configure-tcl \
693 maybe-configure-itcl \
694 maybe-configure-ld \
695 maybe-configure-libcpp \
696 maybe-configure-libgui \
697 maybe-configure-libiberty \
698 maybe-configure-libtool \
699 maybe-configure-m4 \
700 maybe-configure-make \
701 maybe-configure-mmalloc \
702 maybe-configure-patch \
703 maybe-configure-perl \
704 maybe-configure-prms \
705 maybe-configure-rcs \
706 maybe-configure-readline \
707 maybe-configure-release \
708 maybe-configure-recode \
709 maybe-configure-sed \
710 maybe-configure-send-pr \
711 maybe-configure-shellutils \
712 maybe-configure-sid \
713 maybe-configure-sim \
714 maybe-configure-tar \
715 maybe-configure-texinfo \
716 maybe-configure-textutils \
717 maybe-configure-time \
718 maybe-configure-uudecode \
719 maybe-configure-wdiff \
720 maybe-configure-zip \
721 maybe-configure-zlib \
722 maybe-configure-gdb \
723 maybe-configure-expect \
724 maybe-configure-guile \
725 maybe-configure-tk \
726 maybe-configure-libtermcap \
727 maybe-configure-utils \
728 maybe-configure-gnattools
729 .PHONY: configure-target
730 configure-target: \
731 maybe-configure-target-libstdc++-v3 \
732 maybe-configure-target-libmudflap \
733 maybe-configure-target-newlib \
734 maybe-configure-target-libgfortran \
735 maybe-configure-target-libobjc \
736 maybe-configure-target-libtermcap \
737 maybe-configure-target-winsup \
738 maybe-configure-target-libgloss \
739 maybe-configure-target-libiberty \
740 maybe-configure-target-gperf \
741 maybe-configure-target-examples \
742 maybe-configure-target-libffi \
743 maybe-configure-target-libjava \
744 maybe-configure-target-zlib \
745 maybe-configure-target-boehm-gc \
746 maybe-configure-target-qthreads \
747 maybe-configure-target-rda \
748 maybe-configure-target-libada
750 # The target built for a native non-bootstrap build.
751 .PHONY: all
752 all: unstage all-host all-target stage
754 .PHONY: all-build
755 all-build: \
756 maybe-all-build-libiberty \
757 maybe-all-build-bison \
758 maybe-all-build-byacc \
759 maybe-all-build-flex \
760 maybe-all-build-m4 \
761 maybe-all-build-texinfo \
762 maybe-all-build-fixincludes
763 .PHONY: all-host
764 all-host: \
765 maybe-all-ash \
766 maybe-all-autoconf \
767 maybe-all-automake \
768 maybe-all-bash \
769 maybe-all-bfd \
770 maybe-all-opcodes \
771 maybe-all-binutils \
772 maybe-all-bison \
773 maybe-all-byacc \
774 maybe-all-bzip2 \
775 maybe-all-dejagnu \
776 maybe-all-diff \
777 maybe-all-dosutils \
778 maybe-all-etc \
779 maybe-all-fastjar \
780 maybe-all-fileutils \
781 maybe-all-findutils \
782 maybe-all-find \
783 maybe-all-fixincludes \
784 maybe-all-flex \
785 maybe-all-gas \
786 maybe-all-gcc \
787 maybe-all-gawk \
788 maybe-all-gettext \
789 maybe-all-gnuserv \
790 maybe-all-gprof \
791 maybe-all-gzip \
792 maybe-all-hello \
793 maybe-all-indent \
794 maybe-all-intl \
795 maybe-all-tcl \
796 maybe-all-itcl \
797 maybe-all-ld \
798 maybe-all-libcpp \
799 maybe-all-libgui \
800 maybe-all-libiberty \
801 maybe-all-libtool \
802 maybe-all-m4 \
803 maybe-all-make \
804 maybe-all-mmalloc \
805 maybe-all-patch \
806 maybe-all-perl \
807 maybe-all-prms \
808 maybe-all-rcs \
809 maybe-all-readline \
810 maybe-all-release \
811 maybe-all-recode \
812 maybe-all-sed \
813 maybe-all-send-pr \
814 maybe-all-shellutils \
815 maybe-all-sid \
816 maybe-all-sim \
817 maybe-all-tar \
818 maybe-all-texinfo \
819 maybe-all-textutils \
820 maybe-all-time \
821 maybe-all-uudecode \
822 maybe-all-wdiff \
823 maybe-all-zip \
824 maybe-all-zlib \
825 maybe-all-gdb \
826 maybe-all-expect \
827 maybe-all-guile \
828 maybe-all-tk \
829 maybe-all-libtermcap \
830 maybe-all-utils \
831 maybe-all-gnattools
832 .PHONY: all-target
833 all-target: \
834 maybe-all-target-libstdc++-v3 \
835 maybe-all-target-libmudflap \
836 maybe-all-target-newlib \
837 maybe-all-target-libgfortran \
838 maybe-all-target-libobjc \
839 maybe-all-target-libtermcap \
840 maybe-all-target-winsup \
841 maybe-all-target-libgloss \
842 maybe-all-target-libiberty \
843 maybe-all-target-gperf \
844 maybe-all-target-examples \
845 maybe-all-target-libffi \
846 maybe-all-target-libjava \
847 maybe-all-target-zlib \
848 maybe-all-target-boehm-gc \
849 maybe-all-target-qthreads \
850 maybe-all-target-rda \
851 maybe-all-target-libada
853 # Do a target for all the subdirectories. A ``make do-X'' will do a
854 # ``make X'' in all subdirectories (because, in general, there is a
855 # dependency (below) of X upon do-X, a ``make X'' will also do this,
856 # but it may do additional work as well).
858 .PHONY: do-info
859 do-info: unstage info-host info-target stage
861 .PHONY: info-host
862 info-host: \
863 maybe-info-ash \
864 maybe-info-autoconf \
865 maybe-info-automake \
866 maybe-info-bash \
867 maybe-info-bfd \
868 maybe-info-opcodes \
869 maybe-info-binutils \
870 maybe-info-bison \
871 maybe-info-byacc \
872 maybe-info-bzip2 \
873 maybe-info-dejagnu \
874 maybe-info-diff \
875 maybe-info-dosutils \
876 maybe-info-etc \
877 maybe-info-fastjar \
878 maybe-info-fileutils \
879 maybe-info-findutils \
880 maybe-info-find \
881 maybe-info-fixincludes \
882 maybe-info-flex \
883 maybe-info-gas \
884 maybe-info-gcc \
885 maybe-info-gawk \
886 maybe-info-gettext \
887 maybe-info-gnuserv \
888 maybe-info-gprof \
889 maybe-info-gzip \
890 maybe-info-hello \
891 maybe-info-indent \
892 maybe-info-intl \
893 maybe-info-tcl \
894 maybe-info-itcl \
895 maybe-info-ld \
896 maybe-info-libcpp \
897 maybe-info-libgui \
898 maybe-info-libiberty \
899 maybe-info-libtool \
900 maybe-info-m4 \
901 maybe-info-make \
902 maybe-info-mmalloc \
903 maybe-info-patch \
904 maybe-info-perl \
905 maybe-info-prms \
906 maybe-info-rcs \
907 maybe-info-readline \
908 maybe-info-release \
909 maybe-info-recode \
910 maybe-info-sed \
911 maybe-info-send-pr \
912 maybe-info-shellutils \
913 maybe-info-sid \
914 maybe-info-sim \
915 maybe-info-tar \
916 maybe-info-texinfo \
917 maybe-info-textutils \
918 maybe-info-time \
919 maybe-info-uudecode \
920 maybe-info-wdiff \
921 maybe-info-zip \
922 maybe-info-zlib \
923 maybe-info-gdb \
924 maybe-info-expect \
925 maybe-info-guile \
926 maybe-info-tk \
927 maybe-info-libtermcap \
928 maybe-info-utils \
929 maybe-info-gnattools
931 .PHONY: info-target
932 info-target: \
933 maybe-info-target-libstdc++-v3 \
934 maybe-info-target-libmudflap \
935 maybe-info-target-newlib \
936 maybe-info-target-libgfortran \
937 maybe-info-target-libobjc \
938 maybe-info-target-libtermcap \
939 maybe-info-target-winsup \
940 maybe-info-target-libgloss \
941 maybe-info-target-libiberty \
942 maybe-info-target-gperf \
943 maybe-info-target-examples \
944 maybe-info-target-libffi \
945 maybe-info-target-libjava \
946 maybe-info-target-zlib \
947 maybe-info-target-boehm-gc \
948 maybe-info-target-qthreads \
949 maybe-info-target-rda \
950 maybe-info-target-libada
952 .PHONY: do-dvi
953 do-dvi: unstage dvi-host dvi-target stage
955 .PHONY: dvi-host
956 dvi-host: \
957 maybe-dvi-ash \
958 maybe-dvi-autoconf \
959 maybe-dvi-automake \
960 maybe-dvi-bash \
961 maybe-dvi-bfd \
962 maybe-dvi-opcodes \
963 maybe-dvi-binutils \
964 maybe-dvi-bison \
965 maybe-dvi-byacc \
966 maybe-dvi-bzip2 \
967 maybe-dvi-dejagnu \
968 maybe-dvi-diff \
969 maybe-dvi-dosutils \
970 maybe-dvi-etc \
971 maybe-dvi-fastjar \
972 maybe-dvi-fileutils \
973 maybe-dvi-findutils \
974 maybe-dvi-find \
975 maybe-dvi-fixincludes \
976 maybe-dvi-flex \
977 maybe-dvi-gas \
978 maybe-dvi-gcc \
979 maybe-dvi-gawk \
980 maybe-dvi-gettext \
981 maybe-dvi-gnuserv \
982 maybe-dvi-gprof \
983 maybe-dvi-gzip \
984 maybe-dvi-hello \
985 maybe-dvi-indent \
986 maybe-dvi-intl \
987 maybe-dvi-tcl \
988 maybe-dvi-itcl \
989 maybe-dvi-ld \
990 maybe-dvi-libcpp \
991 maybe-dvi-libgui \
992 maybe-dvi-libiberty \
993 maybe-dvi-libtool \
994 maybe-dvi-m4 \
995 maybe-dvi-make \
996 maybe-dvi-mmalloc \
997 maybe-dvi-patch \
998 maybe-dvi-perl \
999 maybe-dvi-prms \
1000 maybe-dvi-rcs \
1001 maybe-dvi-readline \
1002 maybe-dvi-release \
1003 maybe-dvi-recode \
1004 maybe-dvi-sed \
1005 maybe-dvi-send-pr \
1006 maybe-dvi-shellutils \
1007 maybe-dvi-sid \
1008 maybe-dvi-sim \
1009 maybe-dvi-tar \
1010 maybe-dvi-texinfo \
1011 maybe-dvi-textutils \
1012 maybe-dvi-time \
1013 maybe-dvi-uudecode \
1014 maybe-dvi-wdiff \
1015 maybe-dvi-zip \
1016 maybe-dvi-zlib \
1017 maybe-dvi-gdb \
1018 maybe-dvi-expect \
1019 maybe-dvi-guile \
1020 maybe-dvi-tk \
1021 maybe-dvi-libtermcap \
1022 maybe-dvi-utils \
1023 maybe-dvi-gnattools
1025 .PHONY: dvi-target
1026 dvi-target: \
1027 maybe-dvi-target-libstdc++-v3 \
1028 maybe-dvi-target-libmudflap \
1029 maybe-dvi-target-newlib \
1030 maybe-dvi-target-libgfortran \
1031 maybe-dvi-target-libobjc \
1032 maybe-dvi-target-libtermcap \
1033 maybe-dvi-target-winsup \
1034 maybe-dvi-target-libgloss \
1035 maybe-dvi-target-libiberty \
1036 maybe-dvi-target-gperf \
1037 maybe-dvi-target-examples \
1038 maybe-dvi-target-libffi \
1039 maybe-dvi-target-libjava \
1040 maybe-dvi-target-zlib \
1041 maybe-dvi-target-boehm-gc \
1042 maybe-dvi-target-qthreads \
1043 maybe-dvi-target-rda \
1044 maybe-dvi-target-libada
1046 .PHONY: do-html
1047 do-html: unstage html-host html-target stage
1049 .PHONY: html-host
1050 html-host: \
1051 maybe-html-ash \
1052 maybe-html-autoconf \
1053 maybe-html-automake \
1054 maybe-html-bash \
1055 maybe-html-bfd \
1056 maybe-html-opcodes \
1057 maybe-html-binutils \
1058 maybe-html-bison \
1059 maybe-html-byacc \
1060 maybe-html-bzip2 \
1061 maybe-html-dejagnu \
1062 maybe-html-diff \
1063 maybe-html-dosutils \
1064 maybe-html-etc \
1065 maybe-html-fastjar \
1066 maybe-html-fileutils \
1067 maybe-html-findutils \
1068 maybe-html-find \
1069 maybe-html-fixincludes \
1070 maybe-html-flex \
1071 maybe-html-gas \
1072 maybe-html-gcc \
1073 maybe-html-gawk \
1074 maybe-html-gettext \
1075 maybe-html-gnuserv \
1076 maybe-html-gprof \
1077 maybe-html-gzip \
1078 maybe-html-hello \
1079 maybe-html-indent \
1080 maybe-html-intl \
1081 maybe-html-tcl \
1082 maybe-html-itcl \
1083 maybe-html-ld \
1084 maybe-html-libcpp \
1085 maybe-html-libgui \
1086 maybe-html-libiberty \
1087 maybe-html-libtool \
1088 maybe-html-m4 \
1089 maybe-html-make \
1090 maybe-html-mmalloc \
1091 maybe-html-patch \
1092 maybe-html-perl \
1093 maybe-html-prms \
1094 maybe-html-rcs \
1095 maybe-html-readline \
1096 maybe-html-release \
1097 maybe-html-recode \
1098 maybe-html-sed \
1099 maybe-html-send-pr \
1100 maybe-html-shellutils \
1101 maybe-html-sid \
1102 maybe-html-sim \
1103 maybe-html-tar \
1104 maybe-html-texinfo \
1105 maybe-html-textutils \
1106 maybe-html-time \
1107 maybe-html-uudecode \
1108 maybe-html-wdiff \
1109 maybe-html-zip \
1110 maybe-html-zlib \
1111 maybe-html-gdb \
1112 maybe-html-expect \
1113 maybe-html-guile \
1114 maybe-html-tk \
1115 maybe-html-libtermcap \
1116 maybe-html-utils \
1117 maybe-html-gnattools
1119 .PHONY: html-target
1120 html-target: \
1121 maybe-html-target-libstdc++-v3 \
1122 maybe-html-target-libmudflap \
1123 maybe-html-target-newlib \
1124 maybe-html-target-libgfortran \
1125 maybe-html-target-libobjc \
1126 maybe-html-target-libtermcap \
1127 maybe-html-target-winsup \
1128 maybe-html-target-libgloss \
1129 maybe-html-target-libiberty \
1130 maybe-html-target-gperf \
1131 maybe-html-target-examples \
1132 maybe-html-target-libffi \
1133 maybe-html-target-libjava \
1134 maybe-html-target-zlib \
1135 maybe-html-target-boehm-gc \
1136 maybe-html-target-qthreads \
1137 maybe-html-target-rda \
1138 maybe-html-target-libada
1140 .PHONY: do-TAGS
1141 do-TAGS: unstage TAGS-host TAGS-target stage
1143 .PHONY: TAGS-host
1144 TAGS-host: \
1145 maybe-TAGS-ash \
1146 maybe-TAGS-autoconf \
1147 maybe-TAGS-automake \
1148 maybe-TAGS-bash \
1149 maybe-TAGS-bfd \
1150 maybe-TAGS-opcodes \
1151 maybe-TAGS-binutils \
1152 maybe-TAGS-bison \
1153 maybe-TAGS-byacc \
1154 maybe-TAGS-bzip2 \
1155 maybe-TAGS-dejagnu \
1156 maybe-TAGS-diff \
1157 maybe-TAGS-dosutils \
1158 maybe-TAGS-etc \
1159 maybe-TAGS-fastjar \
1160 maybe-TAGS-fileutils \
1161 maybe-TAGS-findutils \
1162 maybe-TAGS-find \
1163 maybe-TAGS-fixincludes \
1164 maybe-TAGS-flex \
1165 maybe-TAGS-gas \
1166 maybe-TAGS-gcc \
1167 maybe-TAGS-gawk \
1168 maybe-TAGS-gettext \
1169 maybe-TAGS-gnuserv \
1170 maybe-TAGS-gprof \
1171 maybe-TAGS-gzip \
1172 maybe-TAGS-hello \
1173 maybe-TAGS-indent \
1174 maybe-TAGS-intl \
1175 maybe-TAGS-tcl \
1176 maybe-TAGS-itcl \
1177 maybe-TAGS-ld \
1178 maybe-TAGS-libcpp \
1179 maybe-TAGS-libgui \
1180 maybe-TAGS-libiberty \
1181 maybe-TAGS-libtool \
1182 maybe-TAGS-m4 \
1183 maybe-TAGS-make \
1184 maybe-TAGS-mmalloc \
1185 maybe-TAGS-patch \
1186 maybe-TAGS-perl \
1187 maybe-TAGS-prms \
1188 maybe-TAGS-rcs \
1189 maybe-TAGS-readline \
1190 maybe-TAGS-release \
1191 maybe-TAGS-recode \
1192 maybe-TAGS-sed \
1193 maybe-TAGS-send-pr \
1194 maybe-TAGS-shellutils \
1195 maybe-TAGS-sid \
1196 maybe-TAGS-sim \
1197 maybe-TAGS-tar \
1198 maybe-TAGS-texinfo \
1199 maybe-TAGS-textutils \
1200 maybe-TAGS-time \
1201 maybe-TAGS-uudecode \
1202 maybe-TAGS-wdiff \
1203 maybe-TAGS-zip \
1204 maybe-TAGS-zlib \
1205 maybe-TAGS-gdb \
1206 maybe-TAGS-expect \
1207 maybe-TAGS-guile \
1208 maybe-TAGS-tk \
1209 maybe-TAGS-libtermcap \
1210 maybe-TAGS-utils \
1211 maybe-TAGS-gnattools
1213 .PHONY: TAGS-target
1214 TAGS-target: \
1215 maybe-TAGS-target-libstdc++-v3 \
1216 maybe-TAGS-target-libmudflap \
1217 maybe-TAGS-target-newlib \
1218 maybe-TAGS-target-libgfortran \
1219 maybe-TAGS-target-libobjc \
1220 maybe-TAGS-target-libtermcap \
1221 maybe-TAGS-target-winsup \
1222 maybe-TAGS-target-libgloss \
1223 maybe-TAGS-target-libiberty \
1224 maybe-TAGS-target-gperf \
1225 maybe-TAGS-target-examples \
1226 maybe-TAGS-target-libffi \
1227 maybe-TAGS-target-libjava \
1228 maybe-TAGS-target-zlib \
1229 maybe-TAGS-target-boehm-gc \
1230 maybe-TAGS-target-qthreads \
1231 maybe-TAGS-target-rda \
1232 maybe-TAGS-target-libada
1234 .PHONY: do-install-info
1235 do-install-info: unstage install-info-host install-info-target stage
1237 .PHONY: install-info-host
1238 install-info-host: \
1239 maybe-install-info-ash \
1240 maybe-install-info-autoconf \
1241 maybe-install-info-automake \
1242 maybe-install-info-bash \
1243 maybe-install-info-bfd \
1244 maybe-install-info-opcodes \
1245 maybe-install-info-binutils \
1246 maybe-install-info-bison \
1247 maybe-install-info-byacc \
1248 maybe-install-info-bzip2 \
1249 maybe-install-info-dejagnu \
1250 maybe-install-info-diff \
1251 maybe-install-info-dosutils \
1252 maybe-install-info-etc \
1253 maybe-install-info-fastjar \
1254 maybe-install-info-fileutils \
1255 maybe-install-info-findutils \
1256 maybe-install-info-find \
1257 maybe-install-info-fixincludes \
1258 maybe-install-info-flex \
1259 maybe-install-info-gas \
1260 maybe-install-info-gcc \
1261 maybe-install-info-gawk \
1262 maybe-install-info-gettext \
1263 maybe-install-info-gnuserv \
1264 maybe-install-info-gprof \
1265 maybe-install-info-gzip \
1266 maybe-install-info-hello \
1267 maybe-install-info-indent \
1268 maybe-install-info-intl \
1269 maybe-install-info-tcl \
1270 maybe-install-info-itcl \
1271 maybe-install-info-ld \
1272 maybe-install-info-libcpp \
1273 maybe-install-info-libgui \
1274 maybe-install-info-libiberty \
1275 maybe-install-info-libtool \
1276 maybe-install-info-m4 \
1277 maybe-install-info-make \
1278 maybe-install-info-mmalloc \
1279 maybe-install-info-patch \
1280 maybe-install-info-perl \
1281 maybe-install-info-prms \
1282 maybe-install-info-rcs \
1283 maybe-install-info-readline \
1284 maybe-install-info-release \
1285 maybe-install-info-recode \
1286 maybe-install-info-sed \
1287 maybe-install-info-send-pr \
1288 maybe-install-info-shellutils \
1289 maybe-install-info-sid \
1290 maybe-install-info-sim \
1291 maybe-install-info-tar \
1292 maybe-install-info-texinfo \
1293 maybe-install-info-textutils \
1294 maybe-install-info-time \
1295 maybe-install-info-uudecode \
1296 maybe-install-info-wdiff \
1297 maybe-install-info-zip \
1298 maybe-install-info-zlib \
1299 maybe-install-info-gdb \
1300 maybe-install-info-expect \
1301 maybe-install-info-guile \
1302 maybe-install-info-tk \
1303 maybe-install-info-libtermcap \
1304 maybe-install-info-utils \
1305 maybe-install-info-gnattools
1307 .PHONY: install-info-target
1308 install-info-target: \
1309 maybe-install-info-target-libstdc++-v3 \
1310 maybe-install-info-target-libmudflap \
1311 maybe-install-info-target-newlib \
1312 maybe-install-info-target-libgfortran \
1313 maybe-install-info-target-libobjc \
1314 maybe-install-info-target-libtermcap \
1315 maybe-install-info-target-winsup \
1316 maybe-install-info-target-libgloss \
1317 maybe-install-info-target-libiberty \
1318 maybe-install-info-target-gperf \
1319 maybe-install-info-target-examples \
1320 maybe-install-info-target-libffi \
1321 maybe-install-info-target-libjava \
1322 maybe-install-info-target-zlib \
1323 maybe-install-info-target-boehm-gc \
1324 maybe-install-info-target-qthreads \
1325 maybe-install-info-target-rda \
1326 maybe-install-info-target-libada
1328 .PHONY: do-installcheck
1329 do-installcheck: unstage installcheck-host installcheck-target stage
1331 .PHONY: installcheck-host
1332 installcheck-host: \
1333 maybe-installcheck-ash \
1334 maybe-installcheck-autoconf \
1335 maybe-installcheck-automake \
1336 maybe-installcheck-bash \
1337 maybe-installcheck-bfd \
1338 maybe-installcheck-opcodes \
1339 maybe-installcheck-binutils \
1340 maybe-installcheck-bison \
1341 maybe-installcheck-byacc \
1342 maybe-installcheck-bzip2 \
1343 maybe-installcheck-dejagnu \
1344 maybe-installcheck-diff \
1345 maybe-installcheck-dosutils \
1346 maybe-installcheck-etc \
1347 maybe-installcheck-fastjar \
1348 maybe-installcheck-fileutils \
1349 maybe-installcheck-findutils \
1350 maybe-installcheck-find \
1351 maybe-installcheck-fixincludes \
1352 maybe-installcheck-flex \
1353 maybe-installcheck-gas \
1354 maybe-installcheck-gcc \
1355 maybe-installcheck-gawk \
1356 maybe-installcheck-gettext \
1357 maybe-installcheck-gnuserv \
1358 maybe-installcheck-gprof \
1359 maybe-installcheck-gzip \
1360 maybe-installcheck-hello \
1361 maybe-installcheck-indent \
1362 maybe-installcheck-intl \
1363 maybe-installcheck-tcl \
1364 maybe-installcheck-itcl \
1365 maybe-installcheck-ld \
1366 maybe-installcheck-libcpp \
1367 maybe-installcheck-libgui \
1368 maybe-installcheck-libiberty \
1369 maybe-installcheck-libtool \
1370 maybe-installcheck-m4 \
1371 maybe-installcheck-make \
1372 maybe-installcheck-mmalloc \
1373 maybe-installcheck-patch \
1374 maybe-installcheck-perl \
1375 maybe-installcheck-prms \
1376 maybe-installcheck-rcs \
1377 maybe-installcheck-readline \
1378 maybe-installcheck-release \
1379 maybe-installcheck-recode \
1380 maybe-installcheck-sed \
1381 maybe-installcheck-send-pr \
1382 maybe-installcheck-shellutils \
1383 maybe-installcheck-sid \
1384 maybe-installcheck-sim \
1385 maybe-installcheck-tar \
1386 maybe-installcheck-texinfo \
1387 maybe-installcheck-textutils \
1388 maybe-installcheck-time \
1389 maybe-installcheck-uudecode \
1390 maybe-installcheck-wdiff \
1391 maybe-installcheck-zip \
1392 maybe-installcheck-zlib \
1393 maybe-installcheck-gdb \
1394 maybe-installcheck-expect \
1395 maybe-installcheck-guile \
1396 maybe-installcheck-tk \
1397 maybe-installcheck-libtermcap \
1398 maybe-installcheck-utils \
1399 maybe-installcheck-gnattools
1401 .PHONY: installcheck-target
1402 installcheck-target: \
1403 maybe-installcheck-target-libstdc++-v3 \
1404 maybe-installcheck-target-libmudflap \
1405 maybe-installcheck-target-newlib \
1406 maybe-installcheck-target-libgfortran \
1407 maybe-installcheck-target-libobjc \
1408 maybe-installcheck-target-libtermcap \
1409 maybe-installcheck-target-winsup \
1410 maybe-installcheck-target-libgloss \
1411 maybe-installcheck-target-libiberty \
1412 maybe-installcheck-target-gperf \
1413 maybe-installcheck-target-examples \
1414 maybe-installcheck-target-libffi \
1415 maybe-installcheck-target-libjava \
1416 maybe-installcheck-target-zlib \
1417 maybe-installcheck-target-boehm-gc \
1418 maybe-installcheck-target-qthreads \
1419 maybe-installcheck-target-rda \
1420 maybe-installcheck-target-libada
1422 .PHONY: do-mostlyclean
1423 do-mostlyclean: unstage mostlyclean-host mostlyclean-target stage
1425 .PHONY: mostlyclean-host
1426 mostlyclean-host: \
1427 maybe-mostlyclean-ash \
1428 maybe-mostlyclean-autoconf \
1429 maybe-mostlyclean-automake \
1430 maybe-mostlyclean-bash \
1431 maybe-mostlyclean-bfd \
1432 maybe-mostlyclean-opcodes \
1433 maybe-mostlyclean-binutils \
1434 maybe-mostlyclean-bison \
1435 maybe-mostlyclean-byacc \
1436 maybe-mostlyclean-bzip2 \
1437 maybe-mostlyclean-dejagnu \
1438 maybe-mostlyclean-diff \
1439 maybe-mostlyclean-dosutils \
1440 maybe-mostlyclean-etc \
1441 maybe-mostlyclean-fastjar \
1442 maybe-mostlyclean-fileutils \
1443 maybe-mostlyclean-findutils \
1444 maybe-mostlyclean-find \
1445 maybe-mostlyclean-fixincludes \
1446 maybe-mostlyclean-flex \
1447 maybe-mostlyclean-gas \
1448 maybe-mostlyclean-gcc \
1449 maybe-mostlyclean-gawk \
1450 maybe-mostlyclean-gettext \
1451 maybe-mostlyclean-gnuserv \
1452 maybe-mostlyclean-gprof \
1453 maybe-mostlyclean-gzip \
1454 maybe-mostlyclean-hello \
1455 maybe-mostlyclean-indent \
1456 maybe-mostlyclean-intl \
1457 maybe-mostlyclean-tcl \
1458 maybe-mostlyclean-itcl \
1459 maybe-mostlyclean-ld \
1460 maybe-mostlyclean-libcpp \
1461 maybe-mostlyclean-libgui \
1462 maybe-mostlyclean-libiberty \
1463 maybe-mostlyclean-libtool \
1464 maybe-mostlyclean-m4 \
1465 maybe-mostlyclean-make \
1466 maybe-mostlyclean-mmalloc \
1467 maybe-mostlyclean-patch \
1468 maybe-mostlyclean-perl \
1469 maybe-mostlyclean-prms \
1470 maybe-mostlyclean-rcs \
1471 maybe-mostlyclean-readline \
1472 maybe-mostlyclean-release \
1473 maybe-mostlyclean-recode \
1474 maybe-mostlyclean-sed \
1475 maybe-mostlyclean-send-pr \
1476 maybe-mostlyclean-shellutils \
1477 maybe-mostlyclean-sid \
1478 maybe-mostlyclean-sim \
1479 maybe-mostlyclean-tar \
1480 maybe-mostlyclean-texinfo \
1481 maybe-mostlyclean-textutils \
1482 maybe-mostlyclean-time \
1483 maybe-mostlyclean-uudecode \
1484 maybe-mostlyclean-wdiff \
1485 maybe-mostlyclean-zip \
1486 maybe-mostlyclean-zlib \
1487 maybe-mostlyclean-gdb \
1488 maybe-mostlyclean-expect \
1489 maybe-mostlyclean-guile \
1490 maybe-mostlyclean-tk \
1491 maybe-mostlyclean-libtermcap \
1492 maybe-mostlyclean-utils \
1493 maybe-mostlyclean-gnattools
1495 .PHONY: mostlyclean-target
1496 mostlyclean-target: \
1497 maybe-mostlyclean-target-libstdc++-v3 \
1498 maybe-mostlyclean-target-libmudflap \
1499 maybe-mostlyclean-target-newlib \
1500 maybe-mostlyclean-target-libgfortran \
1501 maybe-mostlyclean-target-libobjc \
1502 maybe-mostlyclean-target-libtermcap \
1503 maybe-mostlyclean-target-winsup \
1504 maybe-mostlyclean-target-libgloss \
1505 maybe-mostlyclean-target-libiberty \
1506 maybe-mostlyclean-target-gperf \
1507 maybe-mostlyclean-target-examples \
1508 maybe-mostlyclean-target-libffi \
1509 maybe-mostlyclean-target-libjava \
1510 maybe-mostlyclean-target-zlib \
1511 maybe-mostlyclean-target-boehm-gc \
1512 maybe-mostlyclean-target-qthreads \
1513 maybe-mostlyclean-target-rda \
1514 maybe-mostlyclean-target-libada
1516 .PHONY: do-clean
1517 do-clean: unstage clean-host clean-target stage
1519 .PHONY: clean-host
1520 clean-host: \
1521 maybe-clean-ash \
1522 maybe-clean-autoconf \
1523 maybe-clean-automake \
1524 maybe-clean-bash \
1525 maybe-clean-bfd \
1526 maybe-clean-opcodes \
1527 maybe-clean-binutils \
1528 maybe-clean-bison \
1529 maybe-clean-byacc \
1530 maybe-clean-bzip2 \
1531 maybe-clean-dejagnu \
1532 maybe-clean-diff \
1533 maybe-clean-dosutils \
1534 maybe-clean-etc \
1535 maybe-clean-fastjar \
1536 maybe-clean-fileutils \
1537 maybe-clean-findutils \
1538 maybe-clean-find \
1539 maybe-clean-fixincludes \
1540 maybe-clean-flex \
1541 maybe-clean-gas \
1542 maybe-clean-gcc \
1543 maybe-clean-gawk \
1544 maybe-clean-gettext \
1545 maybe-clean-gnuserv \
1546 maybe-clean-gprof \
1547 maybe-clean-gzip \
1548 maybe-clean-hello \
1549 maybe-clean-indent \
1550 maybe-clean-intl \
1551 maybe-clean-tcl \
1552 maybe-clean-itcl \
1553 maybe-clean-ld \
1554 maybe-clean-libcpp \
1555 maybe-clean-libgui \
1556 maybe-clean-libiberty \
1557 maybe-clean-libtool \
1558 maybe-clean-m4 \
1559 maybe-clean-make \
1560 maybe-clean-mmalloc \
1561 maybe-clean-patch \
1562 maybe-clean-perl \
1563 maybe-clean-prms \
1564 maybe-clean-rcs \
1565 maybe-clean-readline \
1566 maybe-clean-release \
1567 maybe-clean-recode \
1568 maybe-clean-sed \
1569 maybe-clean-send-pr \
1570 maybe-clean-shellutils \
1571 maybe-clean-sid \
1572 maybe-clean-sim \
1573 maybe-clean-tar \
1574 maybe-clean-texinfo \
1575 maybe-clean-textutils \
1576 maybe-clean-time \
1577 maybe-clean-uudecode \
1578 maybe-clean-wdiff \
1579 maybe-clean-zip \
1580 maybe-clean-zlib \
1581 maybe-clean-gdb \
1582 maybe-clean-expect \
1583 maybe-clean-guile \
1584 maybe-clean-tk \
1585 maybe-clean-libtermcap \
1586 maybe-clean-utils \
1587 maybe-clean-gnattools
1589 .PHONY: clean-target
1590 clean-target: \
1591 maybe-clean-target-libstdc++-v3 \
1592 maybe-clean-target-libmudflap \
1593 maybe-clean-target-newlib \
1594 maybe-clean-target-libgfortran \
1595 maybe-clean-target-libobjc \
1596 maybe-clean-target-libtermcap \
1597 maybe-clean-target-winsup \
1598 maybe-clean-target-libgloss \
1599 maybe-clean-target-libiberty \
1600 maybe-clean-target-gperf \
1601 maybe-clean-target-examples \
1602 maybe-clean-target-libffi \
1603 maybe-clean-target-libjava \
1604 maybe-clean-target-zlib \
1605 maybe-clean-target-boehm-gc \
1606 maybe-clean-target-qthreads \
1607 maybe-clean-target-rda \
1608 maybe-clean-target-libada
1610 .PHONY: do-distclean
1611 do-distclean: unstage distclean-host distclean-target stage
1613 .PHONY: distclean-host
1614 distclean-host: \
1615 maybe-distclean-ash \
1616 maybe-distclean-autoconf \
1617 maybe-distclean-automake \
1618 maybe-distclean-bash \
1619 maybe-distclean-bfd \
1620 maybe-distclean-opcodes \
1621 maybe-distclean-binutils \
1622 maybe-distclean-bison \
1623 maybe-distclean-byacc \
1624 maybe-distclean-bzip2 \
1625 maybe-distclean-dejagnu \
1626 maybe-distclean-diff \
1627 maybe-distclean-dosutils \
1628 maybe-distclean-etc \
1629 maybe-distclean-fastjar \
1630 maybe-distclean-fileutils \
1631 maybe-distclean-findutils \
1632 maybe-distclean-find \
1633 maybe-distclean-fixincludes \
1634 maybe-distclean-flex \
1635 maybe-distclean-gas \
1636 maybe-distclean-gcc \
1637 maybe-distclean-gawk \
1638 maybe-distclean-gettext \
1639 maybe-distclean-gnuserv \
1640 maybe-distclean-gprof \
1641 maybe-distclean-gzip \
1642 maybe-distclean-hello \
1643 maybe-distclean-indent \
1644 maybe-distclean-intl \
1645 maybe-distclean-tcl \
1646 maybe-distclean-itcl \
1647 maybe-distclean-ld \
1648 maybe-distclean-libcpp \
1649 maybe-distclean-libgui \
1650 maybe-distclean-libiberty \
1651 maybe-distclean-libtool \
1652 maybe-distclean-m4 \
1653 maybe-distclean-make \
1654 maybe-distclean-mmalloc \
1655 maybe-distclean-patch \
1656 maybe-distclean-perl \
1657 maybe-distclean-prms \
1658 maybe-distclean-rcs \
1659 maybe-distclean-readline \
1660 maybe-distclean-release \
1661 maybe-distclean-recode \
1662 maybe-distclean-sed \
1663 maybe-distclean-send-pr \
1664 maybe-distclean-shellutils \
1665 maybe-distclean-sid \
1666 maybe-distclean-sim \
1667 maybe-distclean-tar \
1668 maybe-distclean-texinfo \
1669 maybe-distclean-textutils \
1670 maybe-distclean-time \
1671 maybe-distclean-uudecode \
1672 maybe-distclean-wdiff \
1673 maybe-distclean-zip \
1674 maybe-distclean-zlib \
1675 maybe-distclean-gdb \
1676 maybe-distclean-expect \
1677 maybe-distclean-guile \
1678 maybe-distclean-tk \
1679 maybe-distclean-libtermcap \
1680 maybe-distclean-utils \
1681 maybe-distclean-gnattools
1683 .PHONY: distclean-target
1684 distclean-target: \
1685 maybe-distclean-target-libstdc++-v3 \
1686 maybe-distclean-target-libmudflap \
1687 maybe-distclean-target-newlib \
1688 maybe-distclean-target-libgfortran \
1689 maybe-distclean-target-libobjc \
1690 maybe-distclean-target-libtermcap \
1691 maybe-distclean-target-winsup \
1692 maybe-distclean-target-libgloss \
1693 maybe-distclean-target-libiberty \
1694 maybe-distclean-target-gperf \
1695 maybe-distclean-target-examples \
1696 maybe-distclean-target-libffi \
1697 maybe-distclean-target-libjava \
1698 maybe-distclean-target-zlib \
1699 maybe-distclean-target-boehm-gc \
1700 maybe-distclean-target-qthreads \
1701 maybe-distclean-target-rda \
1702 maybe-distclean-target-libada
1704 .PHONY: do-maintainer-clean
1705 do-maintainer-clean: unstage maintainer-clean-host maintainer-clean-target stage
1707 .PHONY: maintainer-clean-host
1708 maintainer-clean-host: \
1709 maybe-maintainer-clean-ash \
1710 maybe-maintainer-clean-autoconf \
1711 maybe-maintainer-clean-automake \
1712 maybe-maintainer-clean-bash \
1713 maybe-maintainer-clean-bfd \
1714 maybe-maintainer-clean-opcodes \
1715 maybe-maintainer-clean-binutils \
1716 maybe-maintainer-clean-bison \
1717 maybe-maintainer-clean-byacc \
1718 maybe-maintainer-clean-bzip2 \
1719 maybe-maintainer-clean-dejagnu \
1720 maybe-maintainer-clean-diff \
1721 maybe-maintainer-clean-dosutils \
1722 maybe-maintainer-clean-etc \
1723 maybe-maintainer-clean-fastjar \
1724 maybe-maintainer-clean-fileutils \
1725 maybe-maintainer-clean-findutils \
1726 maybe-maintainer-clean-find \
1727 maybe-maintainer-clean-fixincludes \
1728 maybe-maintainer-clean-flex \
1729 maybe-maintainer-clean-gas \
1730 maybe-maintainer-clean-gcc \
1731 maybe-maintainer-clean-gawk \
1732 maybe-maintainer-clean-gettext \
1733 maybe-maintainer-clean-gnuserv \
1734 maybe-maintainer-clean-gprof \
1735 maybe-maintainer-clean-gzip \
1736 maybe-maintainer-clean-hello \
1737 maybe-maintainer-clean-indent \
1738 maybe-maintainer-clean-intl \
1739 maybe-maintainer-clean-tcl \
1740 maybe-maintainer-clean-itcl \
1741 maybe-maintainer-clean-ld \
1742 maybe-maintainer-clean-libcpp \
1743 maybe-maintainer-clean-libgui \
1744 maybe-maintainer-clean-libiberty \
1745 maybe-maintainer-clean-libtool \
1746 maybe-maintainer-clean-m4 \
1747 maybe-maintainer-clean-make \
1748 maybe-maintainer-clean-mmalloc \
1749 maybe-maintainer-clean-patch \
1750 maybe-maintainer-clean-perl \
1751 maybe-maintainer-clean-prms \
1752 maybe-maintainer-clean-rcs \
1753 maybe-maintainer-clean-readline \
1754 maybe-maintainer-clean-release \
1755 maybe-maintainer-clean-recode \
1756 maybe-maintainer-clean-sed \
1757 maybe-maintainer-clean-send-pr \
1758 maybe-maintainer-clean-shellutils \
1759 maybe-maintainer-clean-sid \
1760 maybe-maintainer-clean-sim \
1761 maybe-maintainer-clean-tar \
1762 maybe-maintainer-clean-texinfo \
1763 maybe-maintainer-clean-textutils \
1764 maybe-maintainer-clean-time \
1765 maybe-maintainer-clean-uudecode \
1766 maybe-maintainer-clean-wdiff \
1767 maybe-maintainer-clean-zip \
1768 maybe-maintainer-clean-zlib \
1769 maybe-maintainer-clean-gdb \
1770 maybe-maintainer-clean-expect \
1771 maybe-maintainer-clean-guile \
1772 maybe-maintainer-clean-tk \
1773 maybe-maintainer-clean-libtermcap \
1774 maybe-maintainer-clean-utils \
1775 maybe-maintainer-clean-gnattools
1777 .PHONY: maintainer-clean-target
1778 maintainer-clean-target: \
1779 maybe-maintainer-clean-target-libstdc++-v3 \
1780 maybe-maintainer-clean-target-libmudflap \
1781 maybe-maintainer-clean-target-newlib \
1782 maybe-maintainer-clean-target-libgfortran \
1783 maybe-maintainer-clean-target-libobjc \
1784 maybe-maintainer-clean-target-libtermcap \
1785 maybe-maintainer-clean-target-winsup \
1786 maybe-maintainer-clean-target-libgloss \
1787 maybe-maintainer-clean-target-libiberty \
1788 maybe-maintainer-clean-target-gperf \
1789 maybe-maintainer-clean-target-examples \
1790 maybe-maintainer-clean-target-libffi \
1791 maybe-maintainer-clean-target-libjava \
1792 maybe-maintainer-clean-target-zlib \
1793 maybe-maintainer-clean-target-boehm-gc \
1794 maybe-maintainer-clean-target-qthreads \
1795 maybe-maintainer-clean-target-rda \
1796 maybe-maintainer-clean-target-libada
1799 # Here are the targets which correspond to the do-X targets.
1801 .PHONY: info installcheck dvi html install-info
1802 .PHONY: clean distclean mostlyclean maintainer-clean realclean
1803 .PHONY: local-clean local-distclean local-maintainer-clean
1804 info: do-info
1805 installcheck: do-installcheck
1806 dvi: do-dvi
1807 html: do-html
1809 # Make sure makeinfo is built before we do a `make info', if we're
1810 # in fact building texinfo.
1811 do-info: maybe-all-texinfo
1813 install-info: do-install-info dir.info
1814 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
1815 if [ -f dir.info ] ; then \
1816 $(INSTALL_DATA) dir.info $(DESTDIR)$(infodir)/dir.info ; \
1817 else true ; fi
1819 local-clean:
1820 -rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log
1822 local-distclean:
1823 -rm -f Makefile config.status config.cache mh-frag mt-frag
1824 -rm -f multilib.out multilib.tmp maybedep.tmp serdep.tmp
1825 -if [ "$(TARGET_SUBDIR)" != "." ]; then \
1826 rm -rf $(TARGET_SUBDIR); \
1827 else true; fi
1828 -rm -rf $(BUILD_SUBDIR)
1829 -if [ "$(HOST_SUBDIR)" != "." ]; then \
1830 rm -rf $(HOST_SUBDIR); \
1831 else true; fi
1832 -rm -f texinfo/po/Makefile texinfo/po/Makefile.in texinfo/info/Makefile
1833 -rm -f texinfo/doc/Makefile texinfo/po/POTFILES
1834 -rmdir texinfo/doc texinfo/info texinfo/intl texinfo/lib 2>/dev/null
1835 -rmdir texinfo/makeinfo texinfo/po texinfo/util 2>/dev/null
1836 -rmdir fastjar gcc libiberty texinfo zlib 2>/dev/null
1838 local-maintainer-clean:
1839 @echo "This command is intended for maintainers to use;"
1840 @echo "it deletes files that may require special tools to rebuild."
1842 clean: do-clean local-clean
1843 mostlyclean: do-mostlyclean local-clean
1844 distclean: do-distclean local-clean local-distclean
1845 maintainer-clean: local-maintainer-clean do-maintainer-clean local-clean
1846 maintainer-clean: local-distclean
1847 realclean: maintainer-clean
1849 # Extra dependency for clean-target, owing to the mixed nature of gcc
1850 clean-target: clean-target-libgcc
1851 clean-target-libgcc:
1852 test ! -d gcc/libgcc || \
1853 (cd gcc/libgcc && find . -type d -print) | \
1854 while read d; do rm -f gcc/$$d/libgcc.a || : ; done
1855 -rm -rf gcc/libgcc
1856 -rm -f gcc/stmp-dirs
1858 # Check target.
1860 .PHONY: check do-check
1861 check: do-check
1863 # Only include modules actually being configured and built.
1864 do-check: unstage \
1865 maybe-check-ash \
1866 maybe-check-autoconf \
1867 maybe-check-automake \
1868 maybe-check-bash \
1869 maybe-check-bfd \
1870 maybe-check-opcodes \
1871 maybe-check-binutils \
1872 maybe-check-bison \
1873 maybe-check-byacc \
1874 maybe-check-bzip2 \
1875 maybe-check-dejagnu \
1876 maybe-check-diff \
1877 maybe-check-dosutils \
1878 maybe-check-etc \
1879 maybe-check-fastjar \
1880 maybe-check-fileutils \
1881 maybe-check-findutils \
1882 maybe-check-find \
1883 maybe-check-fixincludes \
1884 maybe-check-flex \
1885 maybe-check-gas \
1886 maybe-check-gcc \
1887 maybe-check-gawk \
1888 maybe-check-gettext \
1889 maybe-check-gnuserv \
1890 maybe-check-gprof \
1891 maybe-check-gzip \
1892 maybe-check-hello \
1893 maybe-check-indent \
1894 maybe-check-intl \
1895 maybe-check-tcl \
1896 maybe-check-itcl \
1897 maybe-check-ld \
1898 maybe-check-libcpp \
1899 maybe-check-libgui \
1900 maybe-check-libiberty \
1901 maybe-check-libtool \
1902 maybe-check-m4 \
1903 maybe-check-make \
1904 maybe-check-mmalloc \
1905 maybe-check-patch \
1906 maybe-check-perl \
1907 maybe-check-prms \
1908 maybe-check-rcs \
1909 maybe-check-readline \
1910 maybe-check-release \
1911 maybe-check-recode \
1912 maybe-check-sed \
1913 maybe-check-send-pr \
1914 maybe-check-shellutils \
1915 maybe-check-sid \
1916 maybe-check-sim \
1917 maybe-check-tar \
1918 maybe-check-texinfo \
1919 maybe-check-textutils \
1920 maybe-check-time \
1921 maybe-check-uudecode \
1922 maybe-check-wdiff \
1923 maybe-check-zip \
1924 maybe-check-zlib \
1925 maybe-check-gdb \
1926 maybe-check-expect \
1927 maybe-check-guile \
1928 maybe-check-tk \
1929 maybe-check-libtermcap \
1930 maybe-check-utils \
1931 maybe-check-gnattools \
1932 maybe-check-target-libstdc++-v3 \
1933 maybe-check-target-libmudflap \
1934 maybe-check-target-newlib \
1935 maybe-check-target-libgfortran \
1936 maybe-check-target-libobjc \
1937 maybe-check-target-libtermcap \
1938 maybe-check-target-winsup \
1939 maybe-check-target-libgloss \
1940 maybe-check-target-libiberty \
1941 maybe-check-target-gperf \
1942 maybe-check-target-examples \
1943 maybe-check-target-libffi \
1944 maybe-check-target-libjava \
1945 maybe-check-target-zlib \
1946 maybe-check-target-boehm-gc \
1947 maybe-check-target-qthreads \
1948 maybe-check-target-rda \
1949 maybe-check-target-libada stage
1951 # Automated reporting of test results.
1953 warning.log: build.log
1954 $(srcdir)/contrib/warn_summary build.log > $@
1956 mail-report.log:
1957 if test x'$(BOOT_CFLAGS)' != x''; then \
1958 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1959 fi; \
1960 $(srcdir)/contrib/test_summary -t >$@
1961 chmod +x $@
1962 echo If you really want to send e-mail, run ./$@ now
1964 mail-report-with-warnings.log: warning.log
1965 if test x'$(BOOT_CFLAGS)' != x''; then \
1966 BOOT_CFLAGS='$(BOOT_CFLAGS)'; export BOOT_CFLAGS; \
1967 fi; \
1968 $(srcdir)/contrib/test_summary -t -i warning.log >$@
1969 chmod +x $@
1970 echo If you really want to send e-mail, run ./$@ now
1972 # Installation targets.
1974 .PHONY: install uninstall
1975 install: installdirs install-host install-target
1977 .PHONY: install-host-nogcc
1978 install-host-nogcc: \
1979 maybe-install-ash \
1980 maybe-install-autoconf \
1981 maybe-install-automake \
1982 maybe-install-bash \
1983 maybe-install-bfd \
1984 maybe-install-opcodes \
1985 maybe-install-binutils \
1986 maybe-install-bison \
1987 maybe-install-byacc \
1988 maybe-install-bzip2 \
1989 maybe-install-dejagnu \
1990 maybe-install-diff \
1991 maybe-install-dosutils \
1992 maybe-install-etc \
1993 maybe-install-fastjar \
1994 maybe-install-fileutils \
1995 maybe-install-findutils \
1996 maybe-install-find \
1997 maybe-install-fixincludes \
1998 maybe-install-flex \
1999 maybe-install-gas \
2000 maybe-install-gawk \
2001 maybe-install-gettext \
2002 maybe-install-gnuserv \
2003 maybe-install-gprof \
2004 maybe-install-gzip \
2005 maybe-install-hello \
2006 maybe-install-indent \
2007 maybe-install-intl \
2008 maybe-install-tcl \
2009 maybe-install-itcl \
2010 maybe-install-ld \
2011 maybe-install-libcpp \
2012 maybe-install-libgui \
2013 maybe-install-libiberty \
2014 maybe-install-libtool \
2015 maybe-install-m4 \
2016 maybe-install-make \
2017 maybe-install-mmalloc \
2018 maybe-install-patch \
2019 maybe-install-perl \
2020 maybe-install-prms \
2021 maybe-install-rcs \
2022 maybe-install-readline \
2023 maybe-install-release \
2024 maybe-install-recode \
2025 maybe-install-sed \
2026 maybe-install-send-pr \
2027 maybe-install-shellutils \
2028 maybe-install-sid \
2029 maybe-install-sim \
2030 maybe-install-tar \
2031 maybe-install-texinfo \
2032 maybe-install-textutils \
2033 maybe-install-time \
2034 maybe-install-uudecode \
2035 maybe-install-wdiff \
2036 maybe-install-zip \
2037 maybe-install-zlib \
2038 maybe-install-gdb \
2039 maybe-install-expect \
2040 maybe-install-guile \
2041 maybe-install-tk \
2042 maybe-install-libtermcap \
2043 maybe-install-utils \
2044 maybe-install-gnattools
2046 .PHONY: install-host
2047 install-host: \
2048 maybe-install-ash \
2049 maybe-install-autoconf \
2050 maybe-install-automake \
2051 maybe-install-bash \
2052 maybe-install-bfd \
2053 maybe-install-opcodes \
2054 maybe-install-binutils \
2055 maybe-install-bison \
2056 maybe-install-byacc \
2057 maybe-install-bzip2 \
2058 maybe-install-dejagnu \
2059 maybe-install-diff \
2060 maybe-install-dosutils \
2061 maybe-install-etc \
2062 maybe-install-fastjar \
2063 maybe-install-fileutils \
2064 maybe-install-findutils \
2065 maybe-install-find \
2066 maybe-install-fixincludes \
2067 maybe-install-flex \
2068 maybe-install-gas \
2069 maybe-install-gcc \
2070 maybe-install-gawk \
2071 maybe-install-gettext \
2072 maybe-install-gnuserv \
2073 maybe-install-gprof \
2074 maybe-install-gzip \
2075 maybe-install-hello \
2076 maybe-install-indent \
2077 maybe-install-intl \
2078 maybe-install-tcl \
2079 maybe-install-itcl \
2080 maybe-install-ld \
2081 maybe-install-libcpp \
2082 maybe-install-libgui \
2083 maybe-install-libiberty \
2084 maybe-install-libtool \
2085 maybe-install-m4 \
2086 maybe-install-make \
2087 maybe-install-mmalloc \
2088 maybe-install-patch \
2089 maybe-install-perl \
2090 maybe-install-prms \
2091 maybe-install-rcs \
2092 maybe-install-readline \
2093 maybe-install-release \
2094 maybe-install-recode \
2095 maybe-install-sed \
2096 maybe-install-send-pr \
2097 maybe-install-shellutils \
2098 maybe-install-sid \
2099 maybe-install-sim \
2100 maybe-install-tar \
2101 maybe-install-texinfo \
2102 maybe-install-textutils \
2103 maybe-install-time \
2104 maybe-install-uudecode \
2105 maybe-install-wdiff \
2106 maybe-install-zip \
2107 maybe-install-zlib \
2108 maybe-install-gdb \
2109 maybe-install-expect \
2110 maybe-install-guile \
2111 maybe-install-tk \
2112 maybe-install-libtermcap \
2113 maybe-install-utils \
2114 maybe-install-gnattools
2116 .PHONY: install-target
2117 install-target: \
2118 maybe-install-target-libstdc++-v3 \
2119 maybe-install-target-libmudflap \
2120 maybe-install-target-newlib \
2121 maybe-install-target-libgfortran \
2122 maybe-install-target-libobjc \
2123 maybe-install-target-libtermcap \
2124 maybe-install-target-winsup \
2125 maybe-install-target-libgloss \
2126 maybe-install-target-libiberty \
2127 maybe-install-target-gperf \
2128 maybe-install-target-examples \
2129 maybe-install-target-libffi \
2130 maybe-install-target-libjava \
2131 maybe-install-target-zlib \
2132 maybe-install-target-boehm-gc \
2133 maybe-install-target-qthreads \
2134 maybe-install-target-rda \
2135 maybe-install-target-libada
2137 uninstall:
2138 @echo "the uninstall target is not supported in this tree"
2140 .PHONY: install.all
2141 install.all: install-no-fixedincludes
2142 @if [ -f ./gcc/Makefile ] ; then \
2143 r=`${PWD_COMMAND}` ; export r ; \
2144 $(SET_LIB_PATH) \
2145 $(HOST_EXPORTS) \
2146 (cd ./gcc && \
2147 $(MAKE) $(FLAGS_TO_PASS) install-headers) ; \
2148 else \
2149 true ; \
2152 # install-no-fixedincludes is used because Cygnus can not distribute
2153 # the fixed header files.
2154 .PHONY: install-no-fixedincludes
2155 install-no-fixedincludes: installdirs install-host-nogcc \
2156 install-target gcc-no-fixedincludes
2158 ### other supporting targets
2160 MAKEDIRS= \
2161 $(DESTDIR)$(prefix) \
2162 $(DESTDIR)$(exec_prefix)
2163 .PHONY: installdirs
2164 installdirs: mkinstalldirs
2165 $(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)
2167 dir.info: do-install-info
2168 if [ -f $(srcdir)/texinfo/gen-info-dir ] ; then \
2169 $(srcdir)/texinfo/gen-info-dir $(DESTDIR)$(infodir) $(srcdir)/texinfo/dir.info-template > dir.info.new ; \
2170 mv -f dir.info.new dir.info ; \
2171 else true ; \
2174 dist:
2175 @echo "Building a full distribution of this tree isn't done"
2176 @echo "via 'make dist'. Check out the etc/ subdirectory"
2178 etags tags: TAGS
2180 # Right now this just builds TAGS in each subdirectory. emacs19 has the
2181 # ability to use several tags files at once, so there is probably no need
2182 # to combine them into one big TAGS file (like CVS 1.3 does). We could
2183 # (if we felt like it) have this Makefile write a piece of elisp which
2184 # the user could load to tell emacs19 where all the TAGS files we just
2185 # built are.
2186 TAGS: do-TAGS
2188 # --------------------------------------
2189 # Modules which run on the build machine
2190 # --------------------------------------
2192 .PHONY: configure-build-libiberty maybe-configure-build-libiberty
2193 maybe-configure-build-libiberty:
2194 @if build-libiberty
2195 maybe-configure-build-libiberty: configure-build-libiberty
2196 configure-build-libiberty:
2197 @test ! -f $(BUILD_SUBDIR)/libiberty/Makefile || exit 0; \
2198 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/libiberty ; \
2199 r=`${PWD_COMMAND}`; export r; \
2200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2201 $(BUILD_EXPORTS) \
2202 echo Configuring in $(BUILD_SUBDIR)/libiberty; \
2203 cd "$(BUILD_SUBDIR)/libiberty" || exit 1; \
2204 case $(srcdir) in \
2205 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2206 *) topdir=`echo $(BUILD_SUBDIR)/libiberty/ | \
2207 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2208 esac; \
2209 srcdiroption="--srcdir=$${topdir}/libiberty"; \
2210 libsrcdir="$$s/libiberty"; \
2211 rm -f no-such-file || : ; \
2212 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2213 $(BUILD_CONFIGARGS) $${srcdiroption} \
2214 --with-build-subdir="$(BUILD_SUBDIR)" \
2215 || exit 1
2216 @endif build-libiberty
2218 .PHONY: all-build-libiberty maybe-all-build-libiberty
2219 maybe-all-build-libiberty:
2220 @if build-libiberty
2221 TARGET-build-libiberty=all
2222 maybe-all-build-libiberty: all-build-libiberty
2223 all-build-libiberty: configure-build-libiberty
2224 @r=`${PWD_COMMAND}`; export r; \
2225 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2226 $(BUILD_EXPORTS) \
2227 (cd $(BUILD_SUBDIR)/libiberty && \
2228 $(MAKE) $(TARGET-build-libiberty))
2229 @endif build-libiberty
2231 .PHONY: configure-build-bison maybe-configure-build-bison
2232 maybe-configure-build-bison:
2233 @if build-bison
2234 maybe-configure-build-bison: configure-build-bison
2235 configure-build-bison:
2236 @test ! -f $(BUILD_SUBDIR)/bison/Makefile || exit 0; \
2237 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/bison ; \
2238 r=`${PWD_COMMAND}`; export r; \
2239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2240 $(BUILD_EXPORTS) \
2241 echo Configuring in $(BUILD_SUBDIR)/bison; \
2242 cd "$(BUILD_SUBDIR)/bison" || exit 1; \
2243 case $(srcdir) in \
2244 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2245 *) topdir=`echo $(BUILD_SUBDIR)/bison/ | \
2246 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2247 esac; \
2248 srcdiroption="--srcdir=$${topdir}/bison"; \
2249 libsrcdir="$$s/bison"; \
2250 rm -f no-such-file || : ; \
2251 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2252 $(BUILD_CONFIGARGS) $${srcdiroption} \
2253 --with-build-subdir="$(BUILD_SUBDIR)" \
2254 || exit 1
2255 @endif build-bison
2257 .PHONY: all-build-bison maybe-all-build-bison
2258 maybe-all-build-bison:
2259 @if build-bison
2260 TARGET-build-bison=all
2261 maybe-all-build-bison: all-build-bison
2262 all-build-bison: configure-build-bison
2263 @r=`${PWD_COMMAND}`; export r; \
2264 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2265 $(BUILD_EXPORTS) \
2266 (cd $(BUILD_SUBDIR)/bison && \
2267 $(MAKE) $(TARGET-build-bison))
2268 @endif build-bison
2270 .PHONY: configure-build-byacc maybe-configure-build-byacc
2271 maybe-configure-build-byacc:
2272 @if build-byacc
2273 maybe-configure-build-byacc: configure-build-byacc
2274 configure-build-byacc:
2275 @test ! -f $(BUILD_SUBDIR)/byacc/Makefile || exit 0; \
2276 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/byacc ; \
2277 r=`${PWD_COMMAND}`; export r; \
2278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2279 $(BUILD_EXPORTS) \
2280 echo Configuring in $(BUILD_SUBDIR)/byacc; \
2281 cd "$(BUILD_SUBDIR)/byacc" || exit 1; \
2282 case $(srcdir) in \
2283 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2284 *) topdir=`echo $(BUILD_SUBDIR)/byacc/ | \
2285 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2286 esac; \
2287 srcdiroption="--srcdir=$${topdir}/byacc"; \
2288 libsrcdir="$$s/byacc"; \
2289 rm -f no-such-file || : ; \
2290 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2291 $(BUILD_CONFIGARGS) $${srcdiroption} \
2292 --with-build-subdir="$(BUILD_SUBDIR)" \
2293 || exit 1
2294 @endif build-byacc
2296 .PHONY: all-build-byacc maybe-all-build-byacc
2297 maybe-all-build-byacc:
2298 @if build-byacc
2299 TARGET-build-byacc=all
2300 maybe-all-build-byacc: all-build-byacc
2301 all-build-byacc: configure-build-byacc
2302 @r=`${PWD_COMMAND}`; export r; \
2303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2304 $(BUILD_EXPORTS) \
2305 (cd $(BUILD_SUBDIR)/byacc && \
2306 $(MAKE) $(TARGET-build-byacc))
2307 @endif build-byacc
2309 .PHONY: configure-build-flex maybe-configure-build-flex
2310 maybe-configure-build-flex:
2311 @if build-flex
2312 maybe-configure-build-flex: configure-build-flex
2313 configure-build-flex:
2314 @test ! -f $(BUILD_SUBDIR)/flex/Makefile || exit 0; \
2315 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/flex ; \
2316 r=`${PWD_COMMAND}`; export r; \
2317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2318 $(BUILD_EXPORTS) \
2319 echo Configuring in $(BUILD_SUBDIR)/flex; \
2320 cd "$(BUILD_SUBDIR)/flex" || exit 1; \
2321 case $(srcdir) in \
2322 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2323 *) topdir=`echo $(BUILD_SUBDIR)/flex/ | \
2324 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2325 esac; \
2326 srcdiroption="--srcdir=$${topdir}/flex"; \
2327 libsrcdir="$$s/flex"; \
2328 rm -f no-such-file || : ; \
2329 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2330 $(BUILD_CONFIGARGS) $${srcdiroption} \
2331 --with-build-subdir="$(BUILD_SUBDIR)" \
2332 || exit 1
2333 @endif build-flex
2335 .PHONY: all-build-flex maybe-all-build-flex
2336 maybe-all-build-flex:
2337 @if build-flex
2338 TARGET-build-flex=all
2339 maybe-all-build-flex: all-build-flex
2340 all-build-flex: configure-build-flex
2341 @r=`${PWD_COMMAND}`; export r; \
2342 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2343 $(BUILD_EXPORTS) \
2344 (cd $(BUILD_SUBDIR)/flex && \
2345 $(MAKE) $(TARGET-build-flex))
2346 @endif build-flex
2348 .PHONY: configure-build-m4 maybe-configure-build-m4
2349 maybe-configure-build-m4:
2350 @if build-m4
2351 maybe-configure-build-m4: configure-build-m4
2352 configure-build-m4:
2353 @test ! -f $(BUILD_SUBDIR)/m4/Makefile || exit 0; \
2354 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/m4 ; \
2355 r=`${PWD_COMMAND}`; export r; \
2356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2357 $(BUILD_EXPORTS) \
2358 echo Configuring in $(BUILD_SUBDIR)/m4; \
2359 cd "$(BUILD_SUBDIR)/m4" || exit 1; \
2360 case $(srcdir) in \
2361 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2362 *) topdir=`echo $(BUILD_SUBDIR)/m4/ | \
2363 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2364 esac; \
2365 srcdiroption="--srcdir=$${topdir}/m4"; \
2366 libsrcdir="$$s/m4"; \
2367 rm -f no-such-file || : ; \
2368 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2369 $(BUILD_CONFIGARGS) $${srcdiroption} \
2370 --with-build-subdir="$(BUILD_SUBDIR)" \
2371 || exit 1
2372 @endif build-m4
2374 .PHONY: all-build-m4 maybe-all-build-m4
2375 maybe-all-build-m4:
2376 @if build-m4
2377 TARGET-build-m4=all
2378 maybe-all-build-m4: all-build-m4
2379 all-build-m4: configure-build-m4
2380 @r=`${PWD_COMMAND}`; export r; \
2381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2382 $(BUILD_EXPORTS) \
2383 (cd $(BUILD_SUBDIR)/m4 && \
2384 $(MAKE) $(TARGET-build-m4))
2385 @endif build-m4
2387 .PHONY: configure-build-texinfo maybe-configure-build-texinfo
2388 maybe-configure-build-texinfo:
2389 @if build-texinfo
2390 maybe-configure-build-texinfo: configure-build-texinfo
2391 configure-build-texinfo:
2392 @test ! -f $(BUILD_SUBDIR)/texinfo/Makefile || exit 0; \
2393 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/texinfo ; \
2394 r=`${PWD_COMMAND}`; export r; \
2395 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2396 $(BUILD_EXPORTS) \
2397 echo Configuring in $(BUILD_SUBDIR)/texinfo; \
2398 cd "$(BUILD_SUBDIR)/texinfo" || exit 1; \
2399 case $(srcdir) in \
2400 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2401 *) topdir=`echo $(BUILD_SUBDIR)/texinfo/ | \
2402 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2403 esac; \
2404 srcdiroption="--srcdir=$${topdir}/texinfo"; \
2405 libsrcdir="$$s/texinfo"; \
2406 rm -f no-such-file || : ; \
2407 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2408 $(BUILD_CONFIGARGS) $${srcdiroption} \
2409 --with-build-subdir="$(BUILD_SUBDIR)" \
2410 || exit 1
2411 @endif build-texinfo
2413 .PHONY: all-build-texinfo maybe-all-build-texinfo
2414 maybe-all-build-texinfo:
2415 @if build-texinfo
2416 TARGET-build-texinfo=all
2417 maybe-all-build-texinfo: all-build-texinfo
2418 all-build-texinfo: configure-build-texinfo
2419 @r=`${PWD_COMMAND}`; export r; \
2420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2421 $(BUILD_EXPORTS) \
2422 (cd $(BUILD_SUBDIR)/texinfo && \
2423 $(MAKE) $(TARGET-build-texinfo))
2424 @endif build-texinfo
2426 .PHONY: configure-build-fixincludes maybe-configure-build-fixincludes
2427 maybe-configure-build-fixincludes:
2428 @if build-fixincludes
2429 maybe-configure-build-fixincludes: configure-build-fixincludes
2430 configure-build-fixincludes:
2431 @test ! -f $(BUILD_SUBDIR)/fixincludes/Makefile || exit 0; \
2432 $(SHELL) $(srcdir)/mkinstalldirs $(BUILD_SUBDIR)/fixincludes ; \
2433 r=`${PWD_COMMAND}`; export r; \
2434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2435 $(BUILD_EXPORTS) \
2436 echo Configuring in $(BUILD_SUBDIR)/fixincludes; \
2437 cd "$(BUILD_SUBDIR)/fixincludes" || exit 1; \
2438 case $(srcdir) in \
2439 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2440 *) topdir=`echo $(BUILD_SUBDIR)/fixincludes/ | \
2441 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2442 esac; \
2443 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
2444 libsrcdir="$$s/fixincludes"; \
2445 rm -f no-such-file || : ; \
2446 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
2447 $(BUILD_CONFIGARGS) $${srcdiroption} \
2448 --with-build-subdir="$(BUILD_SUBDIR)" \
2449 || exit 1
2450 @endif build-fixincludes
2452 .PHONY: all-build-fixincludes maybe-all-build-fixincludes
2453 maybe-all-build-fixincludes:
2454 @if build-fixincludes
2455 TARGET-build-fixincludes=all
2456 maybe-all-build-fixincludes: all-build-fixincludes
2457 all-build-fixincludes: configure-build-fixincludes
2458 @r=`${PWD_COMMAND}`; export r; \
2459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2460 $(BUILD_EXPORTS) \
2461 (cd $(BUILD_SUBDIR)/fixincludes && \
2462 $(MAKE) $(TARGET-build-fixincludes))
2463 @endif build-fixincludes
2466 # --------------------------------------
2467 # Modules which run on the host machine
2468 # --------------------------------------
2470 .PHONY: configure-ash maybe-configure-ash
2471 maybe-configure-ash:
2472 @if ash
2473 maybe-configure-ash: configure-ash
2474 configure-ash:
2475 @test ! -f $(HOST_SUBDIR)/ash/Makefile || exit 0; \
2476 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ash ; \
2477 r=`${PWD_COMMAND}`; export r; \
2478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2479 $(HOST_EXPORTS) \
2480 echo Configuring in ash; \
2481 cd $(HOST_SUBDIR)/ash || exit 1; \
2482 case $(srcdir) in \
2483 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2484 *) topdir=`echo $(HOST_SUBDIR)/ash/ | \
2485 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2486 esac; \
2487 srcdiroption="--srcdir=$${topdir}/ash"; \
2488 libsrcdir="$$s/ash"; \
2489 $(SHELL) $${libsrcdir}/configure \
2490 $(HOST_CONFIGARGS) $${srcdiroption} \
2491 || exit 1
2492 @endif ash
2494 .PHONY: all-ash maybe-all-ash
2495 maybe-all-ash:
2496 @if ash
2497 TARGET-ash=all
2498 maybe-all-ash: all-ash
2499 all-ash: configure-ash
2500 @r=`${PWD_COMMAND}`; export r; \
2501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2502 $(SET_LIB_PATH) \
2503 $(HOST_EXPORTS) \
2504 (cd $(HOST_SUBDIR)/ash && \
2505 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ash))
2506 @endif ash
2508 .PHONY: check-ash maybe-check-ash
2509 maybe-check-ash:
2510 @if ash
2511 maybe-check-ash: check-ash
2513 check-ash:
2514 @r=`${PWD_COMMAND}`; export r; \
2515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2516 $(SET_LIB_PATH) \
2517 $(HOST_EXPORTS) \
2518 (cd $(HOST_SUBDIR)/ash && \
2519 $(MAKE) $(FLAGS_TO_PASS) check)
2521 @endif ash
2523 .PHONY: install-ash maybe-install-ash
2524 maybe-install-ash:
2525 @if ash
2526 maybe-install-ash: install-ash
2528 install-ash: installdirs
2529 @r=`${PWD_COMMAND}`; export r; \
2530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2531 $(SET_LIB_PATH) \
2532 $(HOST_EXPORTS) \
2533 (cd $(HOST_SUBDIR)/ash && \
2534 $(MAKE) $(FLAGS_TO_PASS) install)
2536 @endif ash
2538 # Other targets (info, dvi, etc.)
2540 .PHONY: maybe-info-ash info-ash
2541 maybe-info-ash:
2542 @if ash
2543 maybe-info-ash: info-ash
2545 info-ash: \
2546 configure-ash
2547 @[ -f ./ash/Makefile ] || exit 0; \
2548 r=`${PWD_COMMAND}`; export r; \
2549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2550 $(SET_LIB_PATH) \
2551 $(HOST_EXPORTS) \
2552 for flag in $(EXTRA_HOST_FLAGS) ; do \
2553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2554 done; \
2555 echo "Doing info in ash" ; \
2556 (cd $(HOST_SUBDIR)/ash && \
2557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2559 "RANLIB=$${RANLIB}" \
2560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2561 info) \
2562 || exit 1
2564 @endif ash
2566 .PHONY: maybe-dvi-ash dvi-ash
2567 maybe-dvi-ash:
2568 @if ash
2569 maybe-dvi-ash: dvi-ash
2571 dvi-ash: \
2572 configure-ash
2573 @[ -f ./ash/Makefile ] || exit 0; \
2574 r=`${PWD_COMMAND}`; export r; \
2575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2576 $(SET_LIB_PATH) \
2577 $(HOST_EXPORTS) \
2578 for flag in $(EXTRA_HOST_FLAGS) ; do \
2579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2580 done; \
2581 echo "Doing dvi in ash" ; \
2582 (cd $(HOST_SUBDIR)/ash && \
2583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2585 "RANLIB=$${RANLIB}" \
2586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2587 dvi) \
2588 || exit 1
2590 @endif ash
2592 .PHONY: maybe-html-ash html-ash
2593 maybe-html-ash:
2594 @if ash
2595 maybe-html-ash: html-ash
2597 html-ash: \
2598 configure-ash
2599 @[ -f ./ash/Makefile ] || exit 0; \
2600 r=`${PWD_COMMAND}`; export r; \
2601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2602 $(SET_LIB_PATH) \
2603 $(HOST_EXPORTS) \
2604 for flag in $(EXTRA_HOST_FLAGS) ; do \
2605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2606 done; \
2607 echo "Doing html in ash" ; \
2608 (cd $(HOST_SUBDIR)/ash && \
2609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2611 "RANLIB=$${RANLIB}" \
2612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2613 html) \
2614 || exit 1
2616 @endif ash
2618 .PHONY: maybe-TAGS-ash TAGS-ash
2619 maybe-TAGS-ash:
2620 @if ash
2621 maybe-TAGS-ash: TAGS-ash
2623 TAGS-ash: \
2624 configure-ash
2625 @[ -f ./ash/Makefile ] || exit 0; \
2626 r=`${PWD_COMMAND}`; export r; \
2627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2628 $(SET_LIB_PATH) \
2629 $(HOST_EXPORTS) \
2630 for flag in $(EXTRA_HOST_FLAGS) ; do \
2631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2632 done; \
2633 echo "Doing TAGS in ash" ; \
2634 (cd $(HOST_SUBDIR)/ash && \
2635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2637 "RANLIB=$${RANLIB}" \
2638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2639 TAGS) \
2640 || exit 1
2642 @endif ash
2644 .PHONY: maybe-install-info-ash install-info-ash
2645 maybe-install-info-ash:
2646 @if ash
2647 maybe-install-info-ash: install-info-ash
2649 install-info-ash: \
2650 configure-ash \
2651 info-ash
2652 @[ -f ./ash/Makefile ] || exit 0; \
2653 r=`${PWD_COMMAND}`; export r; \
2654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2655 $(SET_LIB_PATH) \
2656 $(HOST_EXPORTS) \
2657 for flag in $(EXTRA_HOST_FLAGS) ; do \
2658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2659 done; \
2660 echo "Doing install-info in ash" ; \
2661 (cd $(HOST_SUBDIR)/ash && \
2662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2664 "RANLIB=$${RANLIB}" \
2665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2666 install-info) \
2667 || exit 1
2669 @endif ash
2671 .PHONY: maybe-installcheck-ash installcheck-ash
2672 maybe-installcheck-ash:
2673 @if ash
2674 maybe-installcheck-ash: installcheck-ash
2676 installcheck-ash: \
2677 configure-ash
2678 @[ -f ./ash/Makefile ] || exit 0; \
2679 r=`${PWD_COMMAND}`; export r; \
2680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2681 $(SET_LIB_PATH) \
2682 $(HOST_EXPORTS) \
2683 for flag in $(EXTRA_HOST_FLAGS) ; do \
2684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2685 done; \
2686 echo "Doing installcheck in ash" ; \
2687 (cd $(HOST_SUBDIR)/ash && \
2688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2690 "RANLIB=$${RANLIB}" \
2691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2692 installcheck) \
2693 || exit 1
2695 @endif ash
2697 .PHONY: maybe-mostlyclean-ash mostlyclean-ash
2698 maybe-mostlyclean-ash:
2699 @if ash
2700 maybe-mostlyclean-ash: mostlyclean-ash
2702 mostlyclean-ash:
2703 @[ -f ./ash/Makefile ] || exit 0; \
2704 r=`${PWD_COMMAND}`; export r; \
2705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2706 $(SET_LIB_PATH) \
2707 $(HOST_EXPORTS) \
2708 for flag in $(EXTRA_HOST_FLAGS) ; do \
2709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2710 done; \
2711 echo "Doing mostlyclean in ash" ; \
2712 (cd $(HOST_SUBDIR)/ash && \
2713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2715 "RANLIB=$${RANLIB}" \
2716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2717 mostlyclean) \
2718 || exit 1
2720 @endif ash
2722 .PHONY: maybe-clean-ash clean-ash
2723 maybe-clean-ash:
2724 @if ash
2725 maybe-clean-ash: clean-ash
2727 clean-ash:
2728 @[ -f ./ash/Makefile ] || exit 0; \
2729 r=`${PWD_COMMAND}`; export r; \
2730 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2731 $(SET_LIB_PATH) \
2732 $(HOST_EXPORTS) \
2733 for flag in $(EXTRA_HOST_FLAGS) ; do \
2734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2735 done; \
2736 echo "Doing clean in ash" ; \
2737 (cd $(HOST_SUBDIR)/ash && \
2738 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2739 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2740 "RANLIB=$${RANLIB}" \
2741 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2742 clean) \
2743 || exit 1
2745 @endif ash
2747 .PHONY: maybe-distclean-ash distclean-ash
2748 maybe-distclean-ash:
2749 @if ash
2750 maybe-distclean-ash: distclean-ash
2752 distclean-ash:
2753 @[ -f ./ash/Makefile ] || exit 0; \
2754 r=`${PWD_COMMAND}`; export r; \
2755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2756 $(SET_LIB_PATH) \
2757 $(HOST_EXPORTS) \
2758 for flag in $(EXTRA_HOST_FLAGS) ; do \
2759 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2760 done; \
2761 echo "Doing distclean in ash" ; \
2762 (cd $(HOST_SUBDIR)/ash && \
2763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2765 "RANLIB=$${RANLIB}" \
2766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2767 distclean) \
2768 || exit 1
2770 @endif ash
2772 .PHONY: maybe-maintainer-clean-ash maintainer-clean-ash
2773 maybe-maintainer-clean-ash:
2774 @if ash
2775 maybe-maintainer-clean-ash: maintainer-clean-ash
2777 maintainer-clean-ash:
2778 @[ -f ./ash/Makefile ] || exit 0; \
2779 r=`${PWD_COMMAND}`; export r; \
2780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2781 $(SET_LIB_PATH) \
2782 $(HOST_EXPORTS) \
2783 for flag in $(EXTRA_HOST_FLAGS) ; do \
2784 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2785 done; \
2786 echo "Doing maintainer-clean in ash" ; \
2787 (cd $(HOST_SUBDIR)/ash && \
2788 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2789 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2790 "RANLIB=$${RANLIB}" \
2791 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2792 maintainer-clean) \
2793 || exit 1
2795 @endif ash
2798 .PHONY: configure-autoconf maybe-configure-autoconf
2799 maybe-configure-autoconf:
2800 @if autoconf
2801 maybe-configure-autoconf: configure-autoconf
2802 configure-autoconf:
2803 @test ! -f $(HOST_SUBDIR)/autoconf/Makefile || exit 0; \
2804 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/autoconf ; \
2805 r=`${PWD_COMMAND}`; export r; \
2806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2807 $(HOST_EXPORTS) \
2808 echo Configuring in autoconf; \
2809 cd $(HOST_SUBDIR)/autoconf || exit 1; \
2810 case $(srcdir) in \
2811 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
2812 *) topdir=`echo $(HOST_SUBDIR)/autoconf/ | \
2813 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
2814 esac; \
2815 srcdiroption="--srcdir=$${topdir}/autoconf"; \
2816 libsrcdir="$$s/autoconf"; \
2817 $(SHELL) $${libsrcdir}/configure \
2818 $(HOST_CONFIGARGS) $${srcdiroption} \
2819 || exit 1
2820 @endif autoconf
2822 .PHONY: all-autoconf maybe-all-autoconf
2823 maybe-all-autoconf:
2824 @if autoconf
2825 TARGET-autoconf=all
2826 maybe-all-autoconf: all-autoconf
2827 all-autoconf: configure-autoconf
2828 @r=`${PWD_COMMAND}`; export r; \
2829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2830 $(SET_LIB_PATH) \
2831 $(HOST_EXPORTS) \
2832 (cd $(HOST_SUBDIR)/autoconf && \
2833 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-autoconf))
2834 @endif autoconf
2836 .PHONY: check-autoconf maybe-check-autoconf
2837 maybe-check-autoconf:
2838 @if autoconf
2839 maybe-check-autoconf: check-autoconf
2841 check-autoconf:
2842 @r=`${PWD_COMMAND}`; export r; \
2843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2844 $(SET_LIB_PATH) \
2845 $(HOST_EXPORTS) \
2846 (cd $(HOST_SUBDIR)/autoconf && \
2847 $(MAKE) $(FLAGS_TO_PASS) check)
2849 @endif autoconf
2851 .PHONY: install-autoconf maybe-install-autoconf
2852 maybe-install-autoconf:
2853 @if autoconf
2854 maybe-install-autoconf: install-autoconf
2856 install-autoconf: installdirs
2857 @r=`${PWD_COMMAND}`; export r; \
2858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2859 $(SET_LIB_PATH) \
2860 $(HOST_EXPORTS) \
2861 (cd $(HOST_SUBDIR)/autoconf && \
2862 $(MAKE) $(FLAGS_TO_PASS) install)
2864 @endif autoconf
2866 # Other targets (info, dvi, etc.)
2868 .PHONY: maybe-info-autoconf info-autoconf
2869 maybe-info-autoconf:
2870 @if autoconf
2871 maybe-info-autoconf: info-autoconf
2873 info-autoconf: \
2874 configure-autoconf
2875 @[ -f ./autoconf/Makefile ] || exit 0; \
2876 r=`${PWD_COMMAND}`; export r; \
2877 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2878 $(SET_LIB_PATH) \
2879 $(HOST_EXPORTS) \
2880 for flag in $(EXTRA_HOST_FLAGS) ; do \
2881 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2882 done; \
2883 echo "Doing info in autoconf" ; \
2884 (cd $(HOST_SUBDIR)/autoconf && \
2885 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2886 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2887 "RANLIB=$${RANLIB}" \
2888 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2889 info) \
2890 || exit 1
2892 @endif autoconf
2894 .PHONY: maybe-dvi-autoconf dvi-autoconf
2895 maybe-dvi-autoconf:
2896 @if autoconf
2897 maybe-dvi-autoconf: dvi-autoconf
2899 dvi-autoconf: \
2900 configure-autoconf
2901 @[ -f ./autoconf/Makefile ] || exit 0; \
2902 r=`${PWD_COMMAND}`; export r; \
2903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2904 $(SET_LIB_PATH) \
2905 $(HOST_EXPORTS) \
2906 for flag in $(EXTRA_HOST_FLAGS) ; do \
2907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2908 done; \
2909 echo "Doing dvi in autoconf" ; \
2910 (cd $(HOST_SUBDIR)/autoconf && \
2911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2913 "RANLIB=$${RANLIB}" \
2914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2915 dvi) \
2916 || exit 1
2918 @endif autoconf
2920 .PHONY: maybe-html-autoconf html-autoconf
2921 maybe-html-autoconf:
2922 @if autoconf
2923 maybe-html-autoconf: html-autoconf
2925 html-autoconf: \
2926 configure-autoconf
2927 @[ -f ./autoconf/Makefile ] || exit 0; \
2928 r=`${PWD_COMMAND}`; export r; \
2929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2930 $(SET_LIB_PATH) \
2931 $(HOST_EXPORTS) \
2932 for flag in $(EXTRA_HOST_FLAGS) ; do \
2933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2934 done; \
2935 echo "Doing html in autoconf" ; \
2936 (cd $(HOST_SUBDIR)/autoconf && \
2937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2939 "RANLIB=$${RANLIB}" \
2940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2941 html) \
2942 || exit 1
2944 @endif autoconf
2946 .PHONY: maybe-TAGS-autoconf TAGS-autoconf
2947 maybe-TAGS-autoconf:
2948 @if autoconf
2949 maybe-TAGS-autoconf: TAGS-autoconf
2951 TAGS-autoconf: \
2952 configure-autoconf
2953 @[ -f ./autoconf/Makefile ] || exit 0; \
2954 r=`${PWD_COMMAND}`; export r; \
2955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2956 $(SET_LIB_PATH) \
2957 $(HOST_EXPORTS) \
2958 for flag in $(EXTRA_HOST_FLAGS) ; do \
2959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2960 done; \
2961 echo "Doing TAGS in autoconf" ; \
2962 (cd $(HOST_SUBDIR)/autoconf && \
2963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2965 "RANLIB=$${RANLIB}" \
2966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2967 TAGS) \
2968 || exit 1
2970 @endif autoconf
2972 .PHONY: maybe-install-info-autoconf install-info-autoconf
2973 maybe-install-info-autoconf:
2974 @if autoconf
2975 maybe-install-info-autoconf: install-info-autoconf
2977 install-info-autoconf: \
2978 configure-autoconf \
2979 info-autoconf
2980 @[ -f ./autoconf/Makefile ] || exit 0; \
2981 r=`${PWD_COMMAND}`; export r; \
2982 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
2983 $(SET_LIB_PATH) \
2984 $(HOST_EXPORTS) \
2985 for flag in $(EXTRA_HOST_FLAGS) ; do \
2986 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
2987 done; \
2988 echo "Doing install-info in autoconf" ; \
2989 (cd $(HOST_SUBDIR)/autoconf && \
2990 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
2991 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
2992 "RANLIB=$${RANLIB}" \
2993 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
2994 install-info) \
2995 || exit 1
2997 @endif autoconf
2999 .PHONY: maybe-installcheck-autoconf installcheck-autoconf
3000 maybe-installcheck-autoconf:
3001 @if autoconf
3002 maybe-installcheck-autoconf: installcheck-autoconf
3004 installcheck-autoconf: \
3005 configure-autoconf
3006 @[ -f ./autoconf/Makefile ] || exit 0; \
3007 r=`${PWD_COMMAND}`; export r; \
3008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3009 $(SET_LIB_PATH) \
3010 $(HOST_EXPORTS) \
3011 for flag in $(EXTRA_HOST_FLAGS) ; do \
3012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3013 done; \
3014 echo "Doing installcheck in autoconf" ; \
3015 (cd $(HOST_SUBDIR)/autoconf && \
3016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3018 "RANLIB=$${RANLIB}" \
3019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3020 installcheck) \
3021 || exit 1
3023 @endif autoconf
3025 .PHONY: maybe-mostlyclean-autoconf mostlyclean-autoconf
3026 maybe-mostlyclean-autoconf:
3027 @if autoconf
3028 maybe-mostlyclean-autoconf: mostlyclean-autoconf
3030 mostlyclean-autoconf:
3031 @[ -f ./autoconf/Makefile ] || exit 0; \
3032 r=`${PWD_COMMAND}`; export r; \
3033 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3034 $(SET_LIB_PATH) \
3035 $(HOST_EXPORTS) \
3036 for flag in $(EXTRA_HOST_FLAGS) ; do \
3037 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3038 done; \
3039 echo "Doing mostlyclean in autoconf" ; \
3040 (cd $(HOST_SUBDIR)/autoconf && \
3041 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3042 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3043 "RANLIB=$${RANLIB}" \
3044 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3045 mostlyclean) \
3046 || exit 1
3048 @endif autoconf
3050 .PHONY: maybe-clean-autoconf clean-autoconf
3051 maybe-clean-autoconf:
3052 @if autoconf
3053 maybe-clean-autoconf: clean-autoconf
3055 clean-autoconf:
3056 @[ -f ./autoconf/Makefile ] || exit 0; \
3057 r=`${PWD_COMMAND}`; export r; \
3058 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3059 $(SET_LIB_PATH) \
3060 $(HOST_EXPORTS) \
3061 for flag in $(EXTRA_HOST_FLAGS) ; do \
3062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3063 done; \
3064 echo "Doing clean in autoconf" ; \
3065 (cd $(HOST_SUBDIR)/autoconf && \
3066 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3067 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3068 "RANLIB=$${RANLIB}" \
3069 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3070 clean) \
3071 || exit 1
3073 @endif autoconf
3075 .PHONY: maybe-distclean-autoconf distclean-autoconf
3076 maybe-distclean-autoconf:
3077 @if autoconf
3078 maybe-distclean-autoconf: distclean-autoconf
3080 distclean-autoconf:
3081 @[ -f ./autoconf/Makefile ] || exit 0; \
3082 r=`${PWD_COMMAND}`; export r; \
3083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3084 $(SET_LIB_PATH) \
3085 $(HOST_EXPORTS) \
3086 for flag in $(EXTRA_HOST_FLAGS) ; do \
3087 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3088 done; \
3089 echo "Doing distclean in autoconf" ; \
3090 (cd $(HOST_SUBDIR)/autoconf && \
3091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3093 "RANLIB=$${RANLIB}" \
3094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3095 distclean) \
3096 || exit 1
3098 @endif autoconf
3100 .PHONY: maybe-maintainer-clean-autoconf maintainer-clean-autoconf
3101 maybe-maintainer-clean-autoconf:
3102 @if autoconf
3103 maybe-maintainer-clean-autoconf: maintainer-clean-autoconf
3105 maintainer-clean-autoconf:
3106 @[ -f ./autoconf/Makefile ] || exit 0; \
3107 r=`${PWD_COMMAND}`; export r; \
3108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3109 $(SET_LIB_PATH) \
3110 $(HOST_EXPORTS) \
3111 for flag in $(EXTRA_HOST_FLAGS) ; do \
3112 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3113 done; \
3114 echo "Doing maintainer-clean in autoconf" ; \
3115 (cd $(HOST_SUBDIR)/autoconf && \
3116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3118 "RANLIB=$${RANLIB}" \
3119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3120 maintainer-clean) \
3121 || exit 1
3123 @endif autoconf
3126 .PHONY: configure-automake maybe-configure-automake
3127 maybe-configure-automake:
3128 @if automake
3129 maybe-configure-automake: configure-automake
3130 configure-automake:
3131 @test ! -f $(HOST_SUBDIR)/automake/Makefile || exit 0; \
3132 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/automake ; \
3133 r=`${PWD_COMMAND}`; export r; \
3134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3135 $(HOST_EXPORTS) \
3136 echo Configuring in automake; \
3137 cd $(HOST_SUBDIR)/automake || exit 1; \
3138 case $(srcdir) in \
3139 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3140 *) topdir=`echo $(HOST_SUBDIR)/automake/ | \
3141 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3142 esac; \
3143 srcdiroption="--srcdir=$${topdir}/automake"; \
3144 libsrcdir="$$s/automake"; \
3145 $(SHELL) $${libsrcdir}/configure \
3146 $(HOST_CONFIGARGS) $${srcdiroption} \
3147 || exit 1
3148 @endif automake
3150 .PHONY: all-automake maybe-all-automake
3151 maybe-all-automake:
3152 @if automake
3153 TARGET-automake=all
3154 maybe-all-automake: all-automake
3155 all-automake: configure-automake
3156 @r=`${PWD_COMMAND}`; export r; \
3157 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3158 $(SET_LIB_PATH) \
3159 $(HOST_EXPORTS) \
3160 (cd $(HOST_SUBDIR)/automake && \
3161 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-automake))
3162 @endif automake
3164 .PHONY: check-automake maybe-check-automake
3165 maybe-check-automake:
3166 @if automake
3167 maybe-check-automake: check-automake
3169 check-automake:
3170 @r=`${PWD_COMMAND}`; export r; \
3171 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3172 $(SET_LIB_PATH) \
3173 $(HOST_EXPORTS) \
3174 (cd $(HOST_SUBDIR)/automake && \
3175 $(MAKE) $(FLAGS_TO_PASS) check)
3177 @endif automake
3179 .PHONY: install-automake maybe-install-automake
3180 maybe-install-automake:
3181 @if automake
3182 maybe-install-automake: install-automake
3184 install-automake: installdirs
3185 @r=`${PWD_COMMAND}`; export r; \
3186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3187 $(SET_LIB_PATH) \
3188 $(HOST_EXPORTS) \
3189 (cd $(HOST_SUBDIR)/automake && \
3190 $(MAKE) $(FLAGS_TO_PASS) install)
3192 @endif automake
3194 # Other targets (info, dvi, etc.)
3196 .PHONY: maybe-info-automake info-automake
3197 maybe-info-automake:
3198 @if automake
3199 maybe-info-automake: info-automake
3201 info-automake: \
3202 configure-automake
3203 @[ -f ./automake/Makefile ] || exit 0; \
3204 r=`${PWD_COMMAND}`; export r; \
3205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3206 $(SET_LIB_PATH) \
3207 $(HOST_EXPORTS) \
3208 for flag in $(EXTRA_HOST_FLAGS) ; do \
3209 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3210 done; \
3211 echo "Doing info in automake" ; \
3212 (cd $(HOST_SUBDIR)/automake && \
3213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3215 "RANLIB=$${RANLIB}" \
3216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3217 info) \
3218 || exit 1
3220 @endif automake
3222 .PHONY: maybe-dvi-automake dvi-automake
3223 maybe-dvi-automake:
3224 @if automake
3225 maybe-dvi-automake: dvi-automake
3227 dvi-automake: \
3228 configure-automake
3229 @[ -f ./automake/Makefile ] || exit 0; \
3230 r=`${PWD_COMMAND}`; export r; \
3231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3232 $(SET_LIB_PATH) \
3233 $(HOST_EXPORTS) \
3234 for flag in $(EXTRA_HOST_FLAGS) ; do \
3235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3236 done; \
3237 echo "Doing dvi in automake" ; \
3238 (cd $(HOST_SUBDIR)/automake && \
3239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3241 "RANLIB=$${RANLIB}" \
3242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3243 dvi) \
3244 || exit 1
3246 @endif automake
3248 .PHONY: maybe-html-automake html-automake
3249 maybe-html-automake:
3250 @if automake
3251 maybe-html-automake: html-automake
3253 html-automake: \
3254 configure-automake
3255 @[ -f ./automake/Makefile ] || exit 0; \
3256 r=`${PWD_COMMAND}`; export r; \
3257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3258 $(SET_LIB_PATH) \
3259 $(HOST_EXPORTS) \
3260 for flag in $(EXTRA_HOST_FLAGS) ; do \
3261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3262 done; \
3263 echo "Doing html in automake" ; \
3264 (cd $(HOST_SUBDIR)/automake && \
3265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3267 "RANLIB=$${RANLIB}" \
3268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3269 html) \
3270 || exit 1
3272 @endif automake
3274 .PHONY: maybe-TAGS-automake TAGS-automake
3275 maybe-TAGS-automake:
3276 @if automake
3277 maybe-TAGS-automake: TAGS-automake
3279 TAGS-automake: \
3280 configure-automake
3281 @[ -f ./automake/Makefile ] || exit 0; \
3282 r=`${PWD_COMMAND}`; export r; \
3283 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3284 $(SET_LIB_PATH) \
3285 $(HOST_EXPORTS) \
3286 for flag in $(EXTRA_HOST_FLAGS) ; do \
3287 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3288 done; \
3289 echo "Doing TAGS in automake" ; \
3290 (cd $(HOST_SUBDIR)/automake && \
3291 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3292 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3293 "RANLIB=$${RANLIB}" \
3294 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3295 TAGS) \
3296 || exit 1
3298 @endif automake
3300 .PHONY: maybe-install-info-automake install-info-automake
3301 maybe-install-info-automake:
3302 @if automake
3303 maybe-install-info-automake: install-info-automake
3305 install-info-automake: \
3306 configure-automake \
3307 info-automake
3308 @[ -f ./automake/Makefile ] || exit 0; \
3309 r=`${PWD_COMMAND}`; export r; \
3310 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3311 $(SET_LIB_PATH) \
3312 $(HOST_EXPORTS) \
3313 for flag in $(EXTRA_HOST_FLAGS) ; do \
3314 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3315 done; \
3316 echo "Doing install-info in automake" ; \
3317 (cd $(HOST_SUBDIR)/automake && \
3318 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3319 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3320 "RANLIB=$${RANLIB}" \
3321 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3322 install-info) \
3323 || exit 1
3325 @endif automake
3327 .PHONY: maybe-installcheck-automake installcheck-automake
3328 maybe-installcheck-automake:
3329 @if automake
3330 maybe-installcheck-automake: installcheck-automake
3332 installcheck-automake: \
3333 configure-automake
3334 @[ -f ./automake/Makefile ] || exit 0; \
3335 r=`${PWD_COMMAND}`; export r; \
3336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3337 $(SET_LIB_PATH) \
3338 $(HOST_EXPORTS) \
3339 for flag in $(EXTRA_HOST_FLAGS) ; do \
3340 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3341 done; \
3342 echo "Doing installcheck in automake" ; \
3343 (cd $(HOST_SUBDIR)/automake && \
3344 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3345 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3346 "RANLIB=$${RANLIB}" \
3347 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3348 installcheck) \
3349 || exit 1
3351 @endif automake
3353 .PHONY: maybe-mostlyclean-automake mostlyclean-automake
3354 maybe-mostlyclean-automake:
3355 @if automake
3356 maybe-mostlyclean-automake: mostlyclean-automake
3358 mostlyclean-automake:
3359 @[ -f ./automake/Makefile ] || exit 0; \
3360 r=`${PWD_COMMAND}`; export r; \
3361 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3362 $(SET_LIB_PATH) \
3363 $(HOST_EXPORTS) \
3364 for flag in $(EXTRA_HOST_FLAGS) ; do \
3365 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3366 done; \
3367 echo "Doing mostlyclean in automake" ; \
3368 (cd $(HOST_SUBDIR)/automake && \
3369 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3370 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3371 "RANLIB=$${RANLIB}" \
3372 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3373 mostlyclean) \
3374 || exit 1
3376 @endif automake
3378 .PHONY: maybe-clean-automake clean-automake
3379 maybe-clean-automake:
3380 @if automake
3381 maybe-clean-automake: clean-automake
3383 clean-automake:
3384 @[ -f ./automake/Makefile ] || exit 0; \
3385 r=`${PWD_COMMAND}`; export r; \
3386 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3387 $(SET_LIB_PATH) \
3388 $(HOST_EXPORTS) \
3389 for flag in $(EXTRA_HOST_FLAGS) ; do \
3390 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3391 done; \
3392 echo "Doing clean in automake" ; \
3393 (cd $(HOST_SUBDIR)/automake && \
3394 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3395 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3396 "RANLIB=$${RANLIB}" \
3397 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3398 clean) \
3399 || exit 1
3401 @endif automake
3403 .PHONY: maybe-distclean-automake distclean-automake
3404 maybe-distclean-automake:
3405 @if automake
3406 maybe-distclean-automake: distclean-automake
3408 distclean-automake:
3409 @[ -f ./automake/Makefile ] || exit 0; \
3410 r=`${PWD_COMMAND}`; export r; \
3411 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3412 $(SET_LIB_PATH) \
3413 $(HOST_EXPORTS) \
3414 for flag in $(EXTRA_HOST_FLAGS) ; do \
3415 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3416 done; \
3417 echo "Doing distclean in automake" ; \
3418 (cd $(HOST_SUBDIR)/automake && \
3419 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3420 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3421 "RANLIB=$${RANLIB}" \
3422 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3423 distclean) \
3424 || exit 1
3426 @endif automake
3428 .PHONY: maybe-maintainer-clean-automake maintainer-clean-automake
3429 maybe-maintainer-clean-automake:
3430 @if automake
3431 maybe-maintainer-clean-automake: maintainer-clean-automake
3433 maintainer-clean-automake:
3434 @[ -f ./automake/Makefile ] || exit 0; \
3435 r=`${PWD_COMMAND}`; export r; \
3436 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3437 $(SET_LIB_PATH) \
3438 $(HOST_EXPORTS) \
3439 for flag in $(EXTRA_HOST_FLAGS) ; do \
3440 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3441 done; \
3442 echo "Doing maintainer-clean in automake" ; \
3443 (cd $(HOST_SUBDIR)/automake && \
3444 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3445 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3446 "RANLIB=$${RANLIB}" \
3447 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3448 maintainer-clean) \
3449 || exit 1
3451 @endif automake
3454 .PHONY: configure-bash maybe-configure-bash
3455 maybe-configure-bash:
3456 @if bash
3457 maybe-configure-bash: configure-bash
3458 configure-bash:
3459 @test ! -f $(HOST_SUBDIR)/bash/Makefile || exit 0; \
3460 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bash ; \
3461 r=`${PWD_COMMAND}`; export r; \
3462 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3463 $(HOST_EXPORTS) \
3464 echo Configuring in bash; \
3465 cd $(HOST_SUBDIR)/bash || exit 1; \
3466 case $(srcdir) in \
3467 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3468 *) topdir=`echo $(HOST_SUBDIR)/bash/ | \
3469 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3470 esac; \
3471 srcdiroption="--srcdir=$${topdir}/bash"; \
3472 libsrcdir="$$s/bash"; \
3473 $(SHELL) $${libsrcdir}/configure \
3474 $(HOST_CONFIGARGS) $${srcdiroption} \
3475 || exit 1
3476 @endif bash
3478 .PHONY: all-bash maybe-all-bash
3479 maybe-all-bash:
3480 @if bash
3481 TARGET-bash=all
3482 maybe-all-bash: all-bash
3483 all-bash: configure-bash
3484 @r=`${PWD_COMMAND}`; export r; \
3485 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3486 $(SET_LIB_PATH) \
3487 $(HOST_EXPORTS) \
3488 (cd $(HOST_SUBDIR)/bash && \
3489 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bash))
3490 @endif bash
3492 .PHONY: check-bash maybe-check-bash
3493 maybe-check-bash:
3494 @if bash
3495 maybe-check-bash: check-bash
3497 check-bash:
3498 @r=`${PWD_COMMAND}`; export r; \
3499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3500 $(SET_LIB_PATH) \
3501 $(HOST_EXPORTS) \
3502 (cd $(HOST_SUBDIR)/bash && \
3503 $(MAKE) $(FLAGS_TO_PASS) check)
3505 @endif bash
3507 .PHONY: install-bash maybe-install-bash
3508 maybe-install-bash:
3509 @if bash
3510 maybe-install-bash: install-bash
3512 install-bash: installdirs
3513 @r=`${PWD_COMMAND}`; export r; \
3514 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3515 $(SET_LIB_PATH) \
3516 $(HOST_EXPORTS) \
3517 (cd $(HOST_SUBDIR)/bash && \
3518 $(MAKE) $(FLAGS_TO_PASS) install)
3520 @endif bash
3522 # Other targets (info, dvi, etc.)
3524 .PHONY: maybe-info-bash info-bash
3525 maybe-info-bash:
3526 @if bash
3527 maybe-info-bash: info-bash
3529 info-bash: \
3530 configure-bash
3531 @[ -f ./bash/Makefile ] || exit 0; \
3532 r=`${PWD_COMMAND}`; export r; \
3533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3534 $(SET_LIB_PATH) \
3535 $(HOST_EXPORTS) \
3536 for flag in $(EXTRA_HOST_FLAGS) ; do \
3537 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3538 done; \
3539 echo "Doing info in bash" ; \
3540 (cd $(HOST_SUBDIR)/bash && \
3541 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3542 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3543 "RANLIB=$${RANLIB}" \
3544 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3545 info) \
3546 || exit 1
3548 @endif bash
3550 .PHONY: maybe-dvi-bash dvi-bash
3551 maybe-dvi-bash:
3552 @if bash
3553 maybe-dvi-bash: dvi-bash
3555 dvi-bash: \
3556 configure-bash
3557 @[ -f ./bash/Makefile ] || exit 0; \
3558 r=`${PWD_COMMAND}`; export r; \
3559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3560 $(SET_LIB_PATH) \
3561 $(HOST_EXPORTS) \
3562 for flag in $(EXTRA_HOST_FLAGS) ; do \
3563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3564 done; \
3565 echo "Doing dvi in bash" ; \
3566 (cd $(HOST_SUBDIR)/bash && \
3567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3569 "RANLIB=$${RANLIB}" \
3570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3571 dvi) \
3572 || exit 1
3574 @endif bash
3576 .PHONY: maybe-html-bash html-bash
3577 maybe-html-bash:
3578 @if bash
3579 maybe-html-bash: html-bash
3581 html-bash: \
3582 configure-bash
3583 @[ -f ./bash/Makefile ] || exit 0; \
3584 r=`${PWD_COMMAND}`; export r; \
3585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3586 $(SET_LIB_PATH) \
3587 $(HOST_EXPORTS) \
3588 for flag in $(EXTRA_HOST_FLAGS) ; do \
3589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3590 done; \
3591 echo "Doing html in bash" ; \
3592 (cd $(HOST_SUBDIR)/bash && \
3593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3595 "RANLIB=$${RANLIB}" \
3596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3597 html) \
3598 || exit 1
3600 @endif bash
3602 .PHONY: maybe-TAGS-bash TAGS-bash
3603 maybe-TAGS-bash:
3604 @if bash
3605 maybe-TAGS-bash: TAGS-bash
3607 TAGS-bash: \
3608 configure-bash
3609 @[ -f ./bash/Makefile ] || exit 0; \
3610 r=`${PWD_COMMAND}`; export r; \
3611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3612 $(SET_LIB_PATH) \
3613 $(HOST_EXPORTS) \
3614 for flag in $(EXTRA_HOST_FLAGS) ; do \
3615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3616 done; \
3617 echo "Doing TAGS in bash" ; \
3618 (cd $(HOST_SUBDIR)/bash && \
3619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3621 "RANLIB=$${RANLIB}" \
3622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3623 TAGS) \
3624 || exit 1
3626 @endif bash
3628 .PHONY: maybe-install-info-bash install-info-bash
3629 maybe-install-info-bash:
3630 @if bash
3631 maybe-install-info-bash: install-info-bash
3633 install-info-bash: \
3634 configure-bash \
3635 info-bash
3636 @[ -f ./bash/Makefile ] || exit 0; \
3637 r=`${PWD_COMMAND}`; export r; \
3638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3639 $(SET_LIB_PATH) \
3640 $(HOST_EXPORTS) \
3641 for flag in $(EXTRA_HOST_FLAGS) ; do \
3642 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3643 done; \
3644 echo "Doing install-info in bash" ; \
3645 (cd $(HOST_SUBDIR)/bash && \
3646 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3647 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3648 "RANLIB=$${RANLIB}" \
3649 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3650 install-info) \
3651 || exit 1
3653 @endif bash
3655 .PHONY: maybe-installcheck-bash installcheck-bash
3656 maybe-installcheck-bash:
3657 @if bash
3658 maybe-installcheck-bash: installcheck-bash
3660 installcheck-bash: \
3661 configure-bash
3662 @[ -f ./bash/Makefile ] || exit 0; \
3663 r=`${PWD_COMMAND}`; export r; \
3664 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3665 $(SET_LIB_PATH) \
3666 $(HOST_EXPORTS) \
3667 for flag in $(EXTRA_HOST_FLAGS) ; do \
3668 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3669 done; \
3670 echo "Doing installcheck in bash" ; \
3671 (cd $(HOST_SUBDIR)/bash && \
3672 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3673 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3674 "RANLIB=$${RANLIB}" \
3675 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3676 installcheck) \
3677 || exit 1
3679 @endif bash
3681 .PHONY: maybe-mostlyclean-bash mostlyclean-bash
3682 maybe-mostlyclean-bash:
3683 @if bash
3684 maybe-mostlyclean-bash: mostlyclean-bash
3686 mostlyclean-bash:
3687 @[ -f ./bash/Makefile ] || exit 0; \
3688 r=`${PWD_COMMAND}`; export r; \
3689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3690 $(SET_LIB_PATH) \
3691 $(HOST_EXPORTS) \
3692 for flag in $(EXTRA_HOST_FLAGS) ; do \
3693 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3694 done; \
3695 echo "Doing mostlyclean in bash" ; \
3696 (cd $(HOST_SUBDIR)/bash && \
3697 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3698 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3699 "RANLIB=$${RANLIB}" \
3700 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3701 mostlyclean) \
3702 || exit 1
3704 @endif bash
3706 .PHONY: maybe-clean-bash clean-bash
3707 maybe-clean-bash:
3708 @if bash
3709 maybe-clean-bash: clean-bash
3711 clean-bash:
3712 @[ -f ./bash/Makefile ] || exit 0; \
3713 r=`${PWD_COMMAND}`; export r; \
3714 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3715 $(SET_LIB_PATH) \
3716 $(HOST_EXPORTS) \
3717 for flag in $(EXTRA_HOST_FLAGS) ; do \
3718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3719 done; \
3720 echo "Doing clean in bash" ; \
3721 (cd $(HOST_SUBDIR)/bash && \
3722 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3723 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3724 "RANLIB=$${RANLIB}" \
3725 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3726 clean) \
3727 || exit 1
3729 @endif bash
3731 .PHONY: maybe-distclean-bash distclean-bash
3732 maybe-distclean-bash:
3733 @if bash
3734 maybe-distclean-bash: distclean-bash
3736 distclean-bash:
3737 @[ -f ./bash/Makefile ] || exit 0; \
3738 r=`${PWD_COMMAND}`; export r; \
3739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3740 $(SET_LIB_PATH) \
3741 $(HOST_EXPORTS) \
3742 for flag in $(EXTRA_HOST_FLAGS) ; do \
3743 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3744 done; \
3745 echo "Doing distclean in bash" ; \
3746 (cd $(HOST_SUBDIR)/bash && \
3747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3749 "RANLIB=$${RANLIB}" \
3750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3751 distclean) \
3752 || exit 1
3754 @endif bash
3756 .PHONY: maybe-maintainer-clean-bash maintainer-clean-bash
3757 maybe-maintainer-clean-bash:
3758 @if bash
3759 maybe-maintainer-clean-bash: maintainer-clean-bash
3761 maintainer-clean-bash:
3762 @[ -f ./bash/Makefile ] || exit 0; \
3763 r=`${PWD_COMMAND}`; export r; \
3764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3765 $(SET_LIB_PATH) \
3766 $(HOST_EXPORTS) \
3767 for flag in $(EXTRA_HOST_FLAGS) ; do \
3768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3769 done; \
3770 echo "Doing maintainer-clean in bash" ; \
3771 (cd $(HOST_SUBDIR)/bash && \
3772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3774 "RANLIB=$${RANLIB}" \
3775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3776 maintainer-clean) \
3777 || exit 1
3779 @endif bash
3782 .PHONY: configure-bfd maybe-configure-bfd
3783 maybe-configure-bfd:
3784 @if bfd
3785 maybe-configure-bfd: configure-bfd
3786 configure-bfd:
3787 @test -f stage_last && exit 0; \
3788 test ! -f $(HOST_SUBDIR)/bfd/Makefile || exit 0; \
3789 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bfd ; \
3790 r=`${PWD_COMMAND}`; export r; \
3791 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3792 $(HOST_EXPORTS) \
3793 echo Configuring in bfd; \
3794 cd $(HOST_SUBDIR)/bfd || exit 1; \
3795 case $(srcdir) in \
3796 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
3797 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
3798 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
3799 esac; \
3800 srcdiroption="--srcdir=$${topdir}/bfd"; \
3801 libsrcdir="$$s/bfd"; \
3802 $(SHELL) $${libsrcdir}/configure \
3803 $(HOST_CONFIGARGS) $${srcdiroption} \
3804 || exit 1
3805 @endif bfd
3807 .PHONY: all-bfd maybe-all-bfd
3808 maybe-all-bfd:
3809 @if bfd
3810 TARGET-bfd=all
3811 maybe-all-bfd: all-bfd
3812 all-bfd: configure-bfd
3813 @test -f stage_last && exit 0; \
3814 r=`${PWD_COMMAND}`; export r; \
3815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3816 $(SET_LIB_PATH) \
3817 $(HOST_EXPORTS) \
3818 (cd $(HOST_SUBDIR)/bfd && \
3819 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bfd))
3820 @endif bfd
3822 .PHONY: check-bfd maybe-check-bfd
3823 maybe-check-bfd:
3824 @if bfd
3825 maybe-check-bfd: check-bfd
3827 check-bfd:
3828 @r=`${PWD_COMMAND}`; export r; \
3829 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3830 $(SET_LIB_PATH) \
3831 $(HOST_EXPORTS) \
3832 (cd $(HOST_SUBDIR)/bfd && \
3833 $(MAKE) $(FLAGS_TO_PASS) check)
3835 @endif bfd
3837 .PHONY: install-bfd maybe-install-bfd
3838 maybe-install-bfd:
3839 @if bfd
3840 maybe-install-bfd: install-bfd
3842 install-bfd: installdirs
3843 @r=`${PWD_COMMAND}`; export r; \
3844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3845 $(SET_LIB_PATH) \
3846 $(HOST_EXPORTS) \
3847 (cd $(HOST_SUBDIR)/bfd && \
3848 $(MAKE) $(FLAGS_TO_PASS) install)
3850 @endif bfd
3852 # Other targets (info, dvi, etc.)
3854 .PHONY: maybe-info-bfd info-bfd
3855 maybe-info-bfd:
3856 @if bfd
3857 maybe-info-bfd: info-bfd
3859 info-bfd: \
3860 configure-bfd
3861 @[ -f ./bfd/Makefile ] || exit 0; \
3862 r=`${PWD_COMMAND}`; export r; \
3863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3864 $(SET_LIB_PATH) \
3865 $(HOST_EXPORTS) \
3866 for flag in $(EXTRA_HOST_FLAGS) ; do \
3867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3868 done; \
3869 echo "Doing info in bfd" ; \
3870 (cd $(HOST_SUBDIR)/bfd && \
3871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3873 "RANLIB=$${RANLIB}" \
3874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3875 info) \
3876 || exit 1
3878 @endif bfd
3880 .PHONY: maybe-dvi-bfd dvi-bfd
3881 maybe-dvi-bfd:
3882 @if bfd
3883 maybe-dvi-bfd: dvi-bfd
3885 dvi-bfd: \
3886 configure-bfd
3887 @[ -f ./bfd/Makefile ] || exit 0; \
3888 r=`${PWD_COMMAND}`; export r; \
3889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3890 $(SET_LIB_PATH) \
3891 $(HOST_EXPORTS) \
3892 for flag in $(EXTRA_HOST_FLAGS) ; do \
3893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3894 done; \
3895 echo "Doing dvi in bfd" ; \
3896 (cd $(HOST_SUBDIR)/bfd && \
3897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3899 "RANLIB=$${RANLIB}" \
3900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3901 dvi) \
3902 || exit 1
3904 @endif bfd
3906 .PHONY: maybe-html-bfd html-bfd
3907 maybe-html-bfd:
3908 @if bfd
3909 maybe-html-bfd: html-bfd
3911 html-bfd: \
3912 configure-bfd
3913 @[ -f ./bfd/Makefile ] || exit 0; \
3914 r=`${PWD_COMMAND}`; export r; \
3915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3916 $(SET_LIB_PATH) \
3917 $(HOST_EXPORTS) \
3918 for flag in $(EXTRA_HOST_FLAGS) ; do \
3919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3920 done; \
3921 echo "Doing html in bfd" ; \
3922 (cd $(HOST_SUBDIR)/bfd && \
3923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3925 "RANLIB=$${RANLIB}" \
3926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3927 html) \
3928 || exit 1
3930 @endif bfd
3932 .PHONY: maybe-TAGS-bfd TAGS-bfd
3933 maybe-TAGS-bfd:
3934 @if bfd
3935 maybe-TAGS-bfd: TAGS-bfd
3937 TAGS-bfd: \
3938 configure-bfd
3939 @[ -f ./bfd/Makefile ] || exit 0; \
3940 r=`${PWD_COMMAND}`; export r; \
3941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3942 $(SET_LIB_PATH) \
3943 $(HOST_EXPORTS) \
3944 for flag in $(EXTRA_HOST_FLAGS) ; do \
3945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3946 done; \
3947 echo "Doing TAGS in bfd" ; \
3948 (cd $(HOST_SUBDIR)/bfd && \
3949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3951 "RANLIB=$${RANLIB}" \
3952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3953 TAGS) \
3954 || exit 1
3956 @endif bfd
3958 .PHONY: maybe-install-info-bfd install-info-bfd
3959 maybe-install-info-bfd:
3960 @if bfd
3961 maybe-install-info-bfd: install-info-bfd
3963 install-info-bfd: \
3964 configure-bfd \
3965 info-bfd
3966 @[ -f ./bfd/Makefile ] || exit 0; \
3967 r=`${PWD_COMMAND}`; export r; \
3968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3969 $(SET_LIB_PATH) \
3970 $(HOST_EXPORTS) \
3971 for flag in $(EXTRA_HOST_FLAGS) ; do \
3972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3973 done; \
3974 echo "Doing install-info in bfd" ; \
3975 (cd $(HOST_SUBDIR)/bfd && \
3976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
3977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
3978 "RANLIB=$${RANLIB}" \
3979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
3980 install-info) \
3981 || exit 1
3983 @endif bfd
3985 .PHONY: maybe-installcheck-bfd installcheck-bfd
3986 maybe-installcheck-bfd:
3987 @if bfd
3988 maybe-installcheck-bfd: installcheck-bfd
3990 installcheck-bfd: \
3991 configure-bfd
3992 @[ -f ./bfd/Makefile ] || exit 0; \
3993 r=`${PWD_COMMAND}`; export r; \
3994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
3995 $(SET_LIB_PATH) \
3996 $(HOST_EXPORTS) \
3997 for flag in $(EXTRA_HOST_FLAGS) ; do \
3998 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
3999 done; \
4000 echo "Doing installcheck in bfd" ; \
4001 (cd $(HOST_SUBDIR)/bfd && \
4002 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4003 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4004 "RANLIB=$${RANLIB}" \
4005 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4006 installcheck) \
4007 || exit 1
4009 @endif bfd
4011 .PHONY: maybe-mostlyclean-bfd mostlyclean-bfd
4012 maybe-mostlyclean-bfd:
4013 @if bfd
4014 maybe-mostlyclean-bfd: mostlyclean-bfd
4016 mostlyclean-bfd:
4017 @[ -f ./bfd/Makefile ] || exit 0; \
4018 r=`${PWD_COMMAND}`; export r; \
4019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4020 $(SET_LIB_PATH) \
4021 $(HOST_EXPORTS) \
4022 for flag in $(EXTRA_HOST_FLAGS) ; do \
4023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4024 done; \
4025 echo "Doing mostlyclean in bfd" ; \
4026 (cd $(HOST_SUBDIR)/bfd && \
4027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4029 "RANLIB=$${RANLIB}" \
4030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4031 mostlyclean) \
4032 || exit 1
4034 @endif bfd
4036 .PHONY: maybe-clean-bfd clean-bfd
4037 maybe-clean-bfd:
4038 @if bfd
4039 maybe-clean-bfd: clean-bfd
4041 clean-bfd:
4042 @[ -f ./bfd/Makefile ] || exit 0; \
4043 r=`${PWD_COMMAND}`; export r; \
4044 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4045 $(SET_LIB_PATH) \
4046 $(HOST_EXPORTS) \
4047 for flag in $(EXTRA_HOST_FLAGS) ; do \
4048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4049 done; \
4050 echo "Doing clean in bfd" ; \
4051 (cd $(HOST_SUBDIR)/bfd && \
4052 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4053 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4054 "RANLIB=$${RANLIB}" \
4055 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4056 clean) \
4057 || exit 1
4059 @endif bfd
4061 .PHONY: maybe-distclean-bfd distclean-bfd
4062 maybe-distclean-bfd:
4063 @if bfd
4064 maybe-distclean-bfd: distclean-bfd
4066 distclean-bfd:
4067 @[ -f ./bfd/Makefile ] || exit 0; \
4068 r=`${PWD_COMMAND}`; export r; \
4069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4070 $(SET_LIB_PATH) \
4071 $(HOST_EXPORTS) \
4072 for flag in $(EXTRA_HOST_FLAGS) ; do \
4073 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4074 done; \
4075 echo "Doing distclean in bfd" ; \
4076 (cd $(HOST_SUBDIR)/bfd && \
4077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4079 "RANLIB=$${RANLIB}" \
4080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4081 distclean) \
4082 || exit 1
4084 @endif bfd
4086 .PHONY: maybe-maintainer-clean-bfd maintainer-clean-bfd
4087 maybe-maintainer-clean-bfd:
4088 @if bfd
4089 maybe-maintainer-clean-bfd: maintainer-clean-bfd
4091 maintainer-clean-bfd:
4092 @[ -f ./bfd/Makefile ] || exit 0; \
4093 r=`${PWD_COMMAND}`; export r; \
4094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4095 $(SET_LIB_PATH) \
4096 $(HOST_EXPORTS) \
4097 for flag in $(EXTRA_HOST_FLAGS) ; do \
4098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4099 done; \
4100 echo "Doing maintainer-clean in bfd" ; \
4101 (cd $(HOST_SUBDIR)/bfd && \
4102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4104 "RANLIB=$${RANLIB}" \
4105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4106 maintainer-clean) \
4107 || exit 1
4109 @endif bfd
4112 .PHONY: configure-opcodes maybe-configure-opcodes
4113 maybe-configure-opcodes:
4114 @if opcodes
4115 maybe-configure-opcodes: configure-opcodes
4116 configure-opcodes:
4117 @test -f stage_last && exit 0; \
4118 test ! -f $(HOST_SUBDIR)/opcodes/Makefile || exit 0; \
4119 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/opcodes ; \
4120 r=`${PWD_COMMAND}`; export r; \
4121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4122 $(HOST_EXPORTS) \
4123 echo Configuring in opcodes; \
4124 cd $(HOST_SUBDIR)/opcodes || exit 1; \
4125 case $(srcdir) in \
4126 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4127 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
4128 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4129 esac; \
4130 srcdiroption="--srcdir=$${topdir}/opcodes"; \
4131 libsrcdir="$$s/opcodes"; \
4132 $(SHELL) $${libsrcdir}/configure \
4133 $(HOST_CONFIGARGS) $${srcdiroption} \
4134 || exit 1
4135 @endif opcodes
4137 .PHONY: all-opcodes maybe-all-opcodes
4138 maybe-all-opcodes:
4139 @if opcodes
4140 TARGET-opcodes=all
4141 maybe-all-opcodes: all-opcodes
4142 all-opcodes: configure-opcodes
4143 @test -f stage_last && exit 0; \
4144 r=`${PWD_COMMAND}`; export r; \
4145 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4146 $(SET_LIB_PATH) \
4147 $(HOST_EXPORTS) \
4148 (cd $(HOST_SUBDIR)/opcodes && \
4149 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-opcodes))
4150 @endif opcodes
4152 .PHONY: check-opcodes maybe-check-opcodes
4153 maybe-check-opcodes:
4154 @if opcodes
4155 maybe-check-opcodes: check-opcodes
4157 check-opcodes:
4158 @r=`${PWD_COMMAND}`; export r; \
4159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4160 $(SET_LIB_PATH) \
4161 $(HOST_EXPORTS) \
4162 (cd $(HOST_SUBDIR)/opcodes && \
4163 $(MAKE) $(FLAGS_TO_PASS) check)
4165 @endif opcodes
4167 .PHONY: install-opcodes maybe-install-opcodes
4168 maybe-install-opcodes:
4169 @if opcodes
4170 maybe-install-opcodes: install-opcodes
4172 install-opcodes: installdirs
4173 @r=`${PWD_COMMAND}`; export r; \
4174 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4175 $(SET_LIB_PATH) \
4176 $(HOST_EXPORTS) \
4177 (cd $(HOST_SUBDIR)/opcodes && \
4178 $(MAKE) $(FLAGS_TO_PASS) install)
4180 @endif opcodes
4182 # Other targets (info, dvi, etc.)
4184 .PHONY: maybe-info-opcodes info-opcodes
4185 maybe-info-opcodes:
4186 @if opcodes
4187 maybe-info-opcodes: info-opcodes
4189 info-opcodes: \
4190 configure-opcodes
4191 @[ -f ./opcodes/Makefile ] || exit 0; \
4192 r=`${PWD_COMMAND}`; export r; \
4193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4194 $(SET_LIB_PATH) \
4195 $(HOST_EXPORTS) \
4196 for flag in $(EXTRA_HOST_FLAGS) ; do \
4197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4198 done; \
4199 echo "Doing info in opcodes" ; \
4200 (cd $(HOST_SUBDIR)/opcodes && \
4201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4203 "RANLIB=$${RANLIB}" \
4204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4205 info) \
4206 || exit 1
4208 @endif opcodes
4210 .PHONY: maybe-dvi-opcodes dvi-opcodes
4211 maybe-dvi-opcodes:
4212 @if opcodes
4213 maybe-dvi-opcodes: dvi-opcodes
4215 dvi-opcodes: \
4216 configure-opcodes
4217 @[ -f ./opcodes/Makefile ] || exit 0; \
4218 r=`${PWD_COMMAND}`; export r; \
4219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4220 $(SET_LIB_PATH) \
4221 $(HOST_EXPORTS) \
4222 for flag in $(EXTRA_HOST_FLAGS) ; do \
4223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4224 done; \
4225 echo "Doing dvi in opcodes" ; \
4226 (cd $(HOST_SUBDIR)/opcodes && \
4227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4229 "RANLIB=$${RANLIB}" \
4230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4231 dvi) \
4232 || exit 1
4234 @endif opcodes
4236 .PHONY: maybe-html-opcodes html-opcodes
4237 maybe-html-opcodes:
4238 @if opcodes
4239 maybe-html-opcodes: html-opcodes
4241 html-opcodes: \
4242 configure-opcodes
4243 @[ -f ./opcodes/Makefile ] || exit 0; \
4244 r=`${PWD_COMMAND}`; export r; \
4245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4246 $(SET_LIB_PATH) \
4247 $(HOST_EXPORTS) \
4248 for flag in $(EXTRA_HOST_FLAGS) ; do \
4249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4250 done; \
4251 echo "Doing html in opcodes" ; \
4252 (cd $(HOST_SUBDIR)/opcodes && \
4253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4255 "RANLIB=$${RANLIB}" \
4256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4257 html) \
4258 || exit 1
4260 @endif opcodes
4262 .PHONY: maybe-TAGS-opcodes TAGS-opcodes
4263 maybe-TAGS-opcodes:
4264 @if opcodes
4265 maybe-TAGS-opcodes: TAGS-opcodes
4267 TAGS-opcodes: \
4268 configure-opcodes
4269 @[ -f ./opcodes/Makefile ] || exit 0; \
4270 r=`${PWD_COMMAND}`; export r; \
4271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4272 $(SET_LIB_PATH) \
4273 $(HOST_EXPORTS) \
4274 for flag in $(EXTRA_HOST_FLAGS) ; do \
4275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4276 done; \
4277 echo "Doing TAGS in opcodes" ; \
4278 (cd $(HOST_SUBDIR)/opcodes && \
4279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4281 "RANLIB=$${RANLIB}" \
4282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4283 TAGS) \
4284 || exit 1
4286 @endif opcodes
4288 .PHONY: maybe-install-info-opcodes install-info-opcodes
4289 maybe-install-info-opcodes:
4290 @if opcodes
4291 maybe-install-info-opcodes: install-info-opcodes
4293 install-info-opcodes: \
4294 configure-opcodes \
4295 info-opcodes
4296 @[ -f ./opcodes/Makefile ] || exit 0; \
4297 r=`${PWD_COMMAND}`; export r; \
4298 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4299 $(SET_LIB_PATH) \
4300 $(HOST_EXPORTS) \
4301 for flag in $(EXTRA_HOST_FLAGS) ; do \
4302 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4303 done; \
4304 echo "Doing install-info in opcodes" ; \
4305 (cd $(HOST_SUBDIR)/opcodes && \
4306 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4307 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4308 "RANLIB=$${RANLIB}" \
4309 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4310 install-info) \
4311 || exit 1
4313 @endif opcodes
4315 .PHONY: maybe-installcheck-opcodes installcheck-opcodes
4316 maybe-installcheck-opcodes:
4317 @if opcodes
4318 maybe-installcheck-opcodes: installcheck-opcodes
4320 installcheck-opcodes: \
4321 configure-opcodes
4322 @[ -f ./opcodes/Makefile ] || exit 0; \
4323 r=`${PWD_COMMAND}`; export r; \
4324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4325 $(SET_LIB_PATH) \
4326 $(HOST_EXPORTS) \
4327 for flag in $(EXTRA_HOST_FLAGS) ; do \
4328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4329 done; \
4330 echo "Doing installcheck in opcodes" ; \
4331 (cd $(HOST_SUBDIR)/opcodes && \
4332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4334 "RANLIB=$${RANLIB}" \
4335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4336 installcheck) \
4337 || exit 1
4339 @endif opcodes
4341 .PHONY: maybe-mostlyclean-opcodes mostlyclean-opcodes
4342 maybe-mostlyclean-opcodes:
4343 @if opcodes
4344 maybe-mostlyclean-opcodes: mostlyclean-opcodes
4346 mostlyclean-opcodes:
4347 @[ -f ./opcodes/Makefile ] || exit 0; \
4348 r=`${PWD_COMMAND}`; export r; \
4349 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4350 $(SET_LIB_PATH) \
4351 $(HOST_EXPORTS) \
4352 for flag in $(EXTRA_HOST_FLAGS) ; do \
4353 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4354 done; \
4355 echo "Doing mostlyclean in opcodes" ; \
4356 (cd $(HOST_SUBDIR)/opcodes && \
4357 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4358 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4359 "RANLIB=$${RANLIB}" \
4360 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4361 mostlyclean) \
4362 || exit 1
4364 @endif opcodes
4366 .PHONY: maybe-clean-opcodes clean-opcodes
4367 maybe-clean-opcodes:
4368 @if opcodes
4369 maybe-clean-opcodes: clean-opcodes
4371 clean-opcodes:
4372 @[ -f ./opcodes/Makefile ] || exit 0; \
4373 r=`${PWD_COMMAND}`; export r; \
4374 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4375 $(SET_LIB_PATH) \
4376 $(HOST_EXPORTS) \
4377 for flag in $(EXTRA_HOST_FLAGS) ; do \
4378 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4379 done; \
4380 echo "Doing clean in opcodes" ; \
4381 (cd $(HOST_SUBDIR)/opcodes && \
4382 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4383 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4384 "RANLIB=$${RANLIB}" \
4385 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4386 clean) \
4387 || exit 1
4389 @endif opcodes
4391 .PHONY: maybe-distclean-opcodes distclean-opcodes
4392 maybe-distclean-opcodes:
4393 @if opcodes
4394 maybe-distclean-opcodes: distclean-opcodes
4396 distclean-opcodes:
4397 @[ -f ./opcodes/Makefile ] || exit 0; \
4398 r=`${PWD_COMMAND}`; export r; \
4399 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4400 $(SET_LIB_PATH) \
4401 $(HOST_EXPORTS) \
4402 for flag in $(EXTRA_HOST_FLAGS) ; do \
4403 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4404 done; \
4405 echo "Doing distclean in opcodes" ; \
4406 (cd $(HOST_SUBDIR)/opcodes && \
4407 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4408 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4409 "RANLIB=$${RANLIB}" \
4410 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4411 distclean) \
4412 || exit 1
4414 @endif opcodes
4416 .PHONY: maybe-maintainer-clean-opcodes maintainer-clean-opcodes
4417 maybe-maintainer-clean-opcodes:
4418 @if opcodes
4419 maybe-maintainer-clean-opcodes: maintainer-clean-opcodes
4421 maintainer-clean-opcodes:
4422 @[ -f ./opcodes/Makefile ] || exit 0; \
4423 r=`${PWD_COMMAND}`; export r; \
4424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4425 $(SET_LIB_PATH) \
4426 $(HOST_EXPORTS) \
4427 for flag in $(EXTRA_HOST_FLAGS) ; do \
4428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4429 done; \
4430 echo "Doing maintainer-clean in opcodes" ; \
4431 (cd $(HOST_SUBDIR)/opcodes && \
4432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4434 "RANLIB=$${RANLIB}" \
4435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4436 maintainer-clean) \
4437 || exit 1
4439 @endif opcodes
4442 .PHONY: configure-binutils maybe-configure-binutils
4443 maybe-configure-binutils:
4444 @if binutils
4445 maybe-configure-binutils: configure-binutils
4446 configure-binutils:
4447 @test -f stage_last && exit 0; \
4448 test ! -f $(HOST_SUBDIR)/binutils/Makefile || exit 0; \
4449 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/binutils ; \
4450 r=`${PWD_COMMAND}`; export r; \
4451 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4452 $(HOST_EXPORTS) \
4453 echo Configuring in binutils; \
4454 cd $(HOST_SUBDIR)/binutils || exit 1; \
4455 case $(srcdir) in \
4456 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4457 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
4458 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4459 esac; \
4460 srcdiroption="--srcdir=$${topdir}/binutils"; \
4461 libsrcdir="$$s/binutils"; \
4462 $(SHELL) $${libsrcdir}/configure \
4463 $(HOST_CONFIGARGS) $${srcdiroption} \
4464 || exit 1
4465 @endif binutils
4467 .PHONY: all-binutils maybe-all-binutils
4468 maybe-all-binutils:
4469 @if binutils
4470 TARGET-binutils=all
4471 maybe-all-binutils: all-binutils
4472 all-binutils: configure-binutils
4473 @test -f stage_last && exit 0; \
4474 r=`${PWD_COMMAND}`; export r; \
4475 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4476 $(SET_LIB_PATH) \
4477 $(HOST_EXPORTS) \
4478 (cd $(HOST_SUBDIR)/binutils && \
4479 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-binutils))
4480 @endif binutils
4482 .PHONY: check-binutils maybe-check-binutils
4483 maybe-check-binutils:
4484 @if binutils
4485 maybe-check-binutils: check-binutils
4487 check-binutils:
4488 @r=`${PWD_COMMAND}`; export r; \
4489 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4490 $(SET_LIB_PATH) \
4491 $(HOST_EXPORTS) \
4492 (cd $(HOST_SUBDIR)/binutils && \
4493 $(MAKE) $(FLAGS_TO_PASS) check)
4495 @endif binutils
4497 .PHONY: install-binutils maybe-install-binutils
4498 maybe-install-binutils:
4499 @if binutils
4500 maybe-install-binutils: install-binutils
4502 install-binutils: installdirs
4503 @r=`${PWD_COMMAND}`; export r; \
4504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4505 $(SET_LIB_PATH) \
4506 $(HOST_EXPORTS) \
4507 (cd $(HOST_SUBDIR)/binutils && \
4508 $(MAKE) $(FLAGS_TO_PASS) install)
4510 @endif binutils
4512 # Other targets (info, dvi, etc.)
4514 .PHONY: maybe-info-binutils info-binutils
4515 maybe-info-binutils:
4516 @if binutils
4517 maybe-info-binutils: info-binutils
4519 info-binutils: \
4520 configure-binutils
4521 @[ -f ./binutils/Makefile ] || exit 0; \
4522 r=`${PWD_COMMAND}`; export r; \
4523 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4524 $(SET_LIB_PATH) \
4525 $(HOST_EXPORTS) \
4526 for flag in $(EXTRA_HOST_FLAGS) ; do \
4527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4528 done; \
4529 echo "Doing info in binutils" ; \
4530 (cd $(HOST_SUBDIR)/binutils && \
4531 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4532 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4533 "RANLIB=$${RANLIB}" \
4534 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4535 info) \
4536 || exit 1
4538 @endif binutils
4540 .PHONY: maybe-dvi-binutils dvi-binutils
4541 maybe-dvi-binutils:
4542 @if binutils
4543 maybe-dvi-binutils: dvi-binutils
4545 dvi-binutils: \
4546 configure-binutils
4547 @[ -f ./binutils/Makefile ] || exit 0; \
4548 r=`${PWD_COMMAND}`; export r; \
4549 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4550 $(SET_LIB_PATH) \
4551 $(HOST_EXPORTS) \
4552 for flag in $(EXTRA_HOST_FLAGS) ; do \
4553 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4554 done; \
4555 echo "Doing dvi in binutils" ; \
4556 (cd $(HOST_SUBDIR)/binutils && \
4557 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4558 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4559 "RANLIB=$${RANLIB}" \
4560 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4561 dvi) \
4562 || exit 1
4564 @endif binutils
4566 .PHONY: maybe-html-binutils html-binutils
4567 maybe-html-binutils:
4568 @if binutils
4569 maybe-html-binutils: html-binutils
4571 html-binutils: \
4572 configure-binutils
4573 @[ -f ./binutils/Makefile ] || exit 0; \
4574 r=`${PWD_COMMAND}`; export r; \
4575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4576 $(SET_LIB_PATH) \
4577 $(HOST_EXPORTS) \
4578 for flag in $(EXTRA_HOST_FLAGS) ; do \
4579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4580 done; \
4581 echo "Doing html in binutils" ; \
4582 (cd $(HOST_SUBDIR)/binutils && \
4583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4585 "RANLIB=$${RANLIB}" \
4586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4587 html) \
4588 || exit 1
4590 @endif binutils
4592 .PHONY: maybe-TAGS-binutils TAGS-binutils
4593 maybe-TAGS-binutils:
4594 @if binutils
4595 maybe-TAGS-binutils: TAGS-binutils
4597 TAGS-binutils: \
4598 configure-binutils
4599 @[ -f ./binutils/Makefile ] || exit 0; \
4600 r=`${PWD_COMMAND}`; export r; \
4601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4602 $(SET_LIB_PATH) \
4603 $(HOST_EXPORTS) \
4604 for flag in $(EXTRA_HOST_FLAGS) ; do \
4605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4606 done; \
4607 echo "Doing TAGS in binutils" ; \
4608 (cd $(HOST_SUBDIR)/binutils && \
4609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4611 "RANLIB=$${RANLIB}" \
4612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4613 TAGS) \
4614 || exit 1
4616 @endif binutils
4618 .PHONY: maybe-install-info-binutils install-info-binutils
4619 maybe-install-info-binutils:
4620 @if binutils
4621 maybe-install-info-binutils: install-info-binutils
4623 install-info-binutils: \
4624 configure-binutils \
4625 info-binutils
4626 @[ -f ./binutils/Makefile ] || exit 0; \
4627 r=`${PWD_COMMAND}`; export r; \
4628 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4629 $(SET_LIB_PATH) \
4630 $(HOST_EXPORTS) \
4631 for flag in $(EXTRA_HOST_FLAGS) ; do \
4632 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4633 done; \
4634 echo "Doing install-info in binutils" ; \
4635 (cd $(HOST_SUBDIR)/binutils && \
4636 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4637 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4638 "RANLIB=$${RANLIB}" \
4639 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4640 install-info) \
4641 || exit 1
4643 @endif binutils
4645 .PHONY: maybe-installcheck-binutils installcheck-binutils
4646 maybe-installcheck-binutils:
4647 @if binutils
4648 maybe-installcheck-binutils: installcheck-binutils
4650 installcheck-binutils: \
4651 configure-binutils
4652 @[ -f ./binutils/Makefile ] || exit 0; \
4653 r=`${PWD_COMMAND}`; export r; \
4654 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4655 $(SET_LIB_PATH) \
4656 $(HOST_EXPORTS) \
4657 for flag in $(EXTRA_HOST_FLAGS) ; do \
4658 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4659 done; \
4660 echo "Doing installcheck in binutils" ; \
4661 (cd $(HOST_SUBDIR)/binutils && \
4662 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4663 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4664 "RANLIB=$${RANLIB}" \
4665 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4666 installcheck) \
4667 || exit 1
4669 @endif binutils
4671 .PHONY: maybe-mostlyclean-binutils mostlyclean-binutils
4672 maybe-mostlyclean-binutils:
4673 @if binutils
4674 maybe-mostlyclean-binutils: mostlyclean-binutils
4676 mostlyclean-binutils:
4677 @[ -f ./binutils/Makefile ] || exit 0; \
4678 r=`${PWD_COMMAND}`; export r; \
4679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4680 $(SET_LIB_PATH) \
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 binutils" ; \
4686 (cd $(HOST_SUBDIR)/binutils && \
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 binutils
4696 .PHONY: maybe-clean-binutils clean-binutils
4697 maybe-clean-binutils:
4698 @if binutils
4699 maybe-clean-binutils: clean-binutils
4701 clean-binutils:
4702 @[ -f ./binutils/Makefile ] || exit 0; \
4703 r=`${PWD_COMMAND}`; export r; \
4704 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4705 $(SET_LIB_PATH) \
4706 $(HOST_EXPORTS) \
4707 for flag in $(EXTRA_HOST_FLAGS) ; do \
4708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4709 done; \
4710 echo "Doing clean in binutils" ; \
4711 (cd $(HOST_SUBDIR)/binutils && \
4712 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4713 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4714 "RANLIB=$${RANLIB}" \
4715 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4716 clean) \
4717 || exit 1
4719 @endif binutils
4721 .PHONY: maybe-distclean-binutils distclean-binutils
4722 maybe-distclean-binutils:
4723 @if binutils
4724 maybe-distclean-binutils: distclean-binutils
4726 distclean-binutils:
4727 @[ -f ./binutils/Makefile ] || exit 0; \
4728 r=`${PWD_COMMAND}`; export r; \
4729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4730 $(SET_LIB_PATH) \
4731 $(HOST_EXPORTS) \
4732 for flag in $(EXTRA_HOST_FLAGS) ; do \
4733 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4734 done; \
4735 echo "Doing distclean in binutils" ; \
4736 (cd $(HOST_SUBDIR)/binutils && \
4737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4739 "RANLIB=$${RANLIB}" \
4740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4741 distclean) \
4742 || exit 1
4744 @endif binutils
4746 .PHONY: maybe-maintainer-clean-binutils maintainer-clean-binutils
4747 maybe-maintainer-clean-binutils:
4748 @if binutils
4749 maybe-maintainer-clean-binutils: maintainer-clean-binutils
4751 maintainer-clean-binutils:
4752 @[ -f ./binutils/Makefile ] || exit 0; \
4753 r=`${PWD_COMMAND}`; export r; \
4754 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4755 $(SET_LIB_PATH) \
4756 $(HOST_EXPORTS) \
4757 for flag in $(EXTRA_HOST_FLAGS) ; do \
4758 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4759 done; \
4760 echo "Doing maintainer-clean in binutils" ; \
4761 (cd $(HOST_SUBDIR)/binutils && \
4762 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4763 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4764 "RANLIB=$${RANLIB}" \
4765 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4766 maintainer-clean) \
4767 || exit 1
4769 @endif binutils
4772 .PHONY: configure-bison maybe-configure-bison
4773 maybe-configure-bison:
4774 @if bison
4775 maybe-configure-bison: configure-bison
4776 configure-bison:
4777 @test ! -f $(HOST_SUBDIR)/bison/Makefile || exit 0; \
4778 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bison ; \
4779 r=`${PWD_COMMAND}`; export r; \
4780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4781 $(HOST_EXPORTS) \
4782 echo Configuring in bison; \
4783 cd $(HOST_SUBDIR)/bison || exit 1; \
4784 case $(srcdir) in \
4785 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
4786 *) topdir=`echo $(HOST_SUBDIR)/bison/ | \
4787 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
4788 esac; \
4789 srcdiroption="--srcdir=$${topdir}/bison"; \
4790 libsrcdir="$$s/bison"; \
4791 $(SHELL) $${libsrcdir}/configure \
4792 $(HOST_CONFIGARGS) $${srcdiroption} \
4793 || exit 1
4794 @endif bison
4796 .PHONY: all-bison maybe-all-bison
4797 maybe-all-bison:
4798 @if bison
4799 TARGET-bison=all
4800 maybe-all-bison: all-bison
4801 all-bison: configure-bison
4802 @r=`${PWD_COMMAND}`; export r; \
4803 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4804 $(SET_LIB_PATH) \
4805 $(HOST_EXPORTS) \
4806 (cd $(HOST_SUBDIR)/bison && \
4807 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bison))
4808 @endif bison
4810 .PHONY: check-bison maybe-check-bison
4811 maybe-check-bison:
4812 @if bison
4813 maybe-check-bison: check-bison
4815 # This module is only tested in a native toolchain.
4816 check-bison:
4817 @if [ '$(host)' = '$(target)' ] ; then \
4818 r=`${PWD_COMMAND}`; export r; \
4819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4820 $(SET_LIB_PATH) \
4821 $(HOST_EXPORTS) \
4822 (cd $(HOST_SUBDIR)/bison && \
4823 $(MAKE) $(FLAGS_TO_PASS) check)
4826 @endif bison
4828 .PHONY: install-bison maybe-install-bison
4829 maybe-install-bison:
4830 @if bison
4831 maybe-install-bison: install-bison
4833 install-bison: installdirs
4834 @r=`${PWD_COMMAND}`; export r; \
4835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4836 $(SET_LIB_PATH) \
4837 $(HOST_EXPORTS) \
4838 (cd $(HOST_SUBDIR)/bison && \
4839 $(MAKE) $(FLAGS_TO_PASS) install)
4841 @endif bison
4843 # Other targets (info, dvi, etc.)
4845 .PHONY: maybe-info-bison info-bison
4846 maybe-info-bison:
4847 @if bison
4848 maybe-info-bison: info-bison
4850 info-bison: \
4851 configure-bison
4852 @[ -f ./bison/Makefile ] || exit 0; \
4853 r=`${PWD_COMMAND}`; export r; \
4854 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4855 $(SET_LIB_PATH) \
4856 $(HOST_EXPORTS) \
4857 for flag in $(EXTRA_HOST_FLAGS) ; do \
4858 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4859 done; \
4860 echo "Doing info in bison" ; \
4861 (cd $(HOST_SUBDIR)/bison && \
4862 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4863 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4864 "RANLIB=$${RANLIB}" \
4865 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4866 info) \
4867 || exit 1
4869 @endif bison
4871 .PHONY: maybe-dvi-bison dvi-bison
4872 maybe-dvi-bison:
4873 @if bison
4874 maybe-dvi-bison: dvi-bison
4876 dvi-bison: \
4877 configure-bison
4878 @[ -f ./bison/Makefile ] || exit 0; \
4879 r=`${PWD_COMMAND}`; export r; \
4880 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4881 $(SET_LIB_PATH) \
4882 $(HOST_EXPORTS) \
4883 for flag in $(EXTRA_HOST_FLAGS) ; do \
4884 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4885 done; \
4886 echo "Doing dvi in bison" ; \
4887 (cd $(HOST_SUBDIR)/bison && \
4888 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4889 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4890 "RANLIB=$${RANLIB}" \
4891 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4892 dvi) \
4893 || exit 1
4895 @endif bison
4897 .PHONY: maybe-html-bison html-bison
4898 maybe-html-bison:
4899 @if bison
4900 maybe-html-bison: html-bison
4902 html-bison: \
4903 configure-bison
4904 @[ -f ./bison/Makefile ] || exit 0; \
4905 r=`${PWD_COMMAND}`; export r; \
4906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4907 $(SET_LIB_PATH) \
4908 $(HOST_EXPORTS) \
4909 for flag in $(EXTRA_HOST_FLAGS) ; do \
4910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4911 done; \
4912 echo "Doing html in bison" ; \
4913 (cd $(HOST_SUBDIR)/bison && \
4914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4916 "RANLIB=$${RANLIB}" \
4917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4918 html) \
4919 || exit 1
4921 @endif bison
4923 .PHONY: maybe-TAGS-bison TAGS-bison
4924 maybe-TAGS-bison:
4925 @if bison
4926 maybe-TAGS-bison: TAGS-bison
4928 TAGS-bison: \
4929 configure-bison
4930 @[ -f ./bison/Makefile ] || exit 0; \
4931 r=`${PWD_COMMAND}`; export r; \
4932 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4933 $(SET_LIB_PATH) \
4934 $(HOST_EXPORTS) \
4935 for flag in $(EXTRA_HOST_FLAGS) ; do \
4936 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4937 done; \
4938 echo "Doing TAGS in bison" ; \
4939 (cd $(HOST_SUBDIR)/bison && \
4940 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4941 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4942 "RANLIB=$${RANLIB}" \
4943 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4944 TAGS) \
4945 || exit 1
4947 @endif bison
4949 .PHONY: maybe-install-info-bison install-info-bison
4950 maybe-install-info-bison:
4951 @if bison
4952 maybe-install-info-bison: install-info-bison
4954 install-info-bison: \
4955 configure-bison \
4956 info-bison
4957 @[ -f ./bison/Makefile ] || exit 0; \
4958 r=`${PWD_COMMAND}`; export r; \
4959 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4960 $(SET_LIB_PATH) \
4961 $(HOST_EXPORTS) \
4962 for flag in $(EXTRA_HOST_FLAGS) ; do \
4963 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4964 done; \
4965 echo "Doing install-info in bison" ; \
4966 (cd $(HOST_SUBDIR)/bison && \
4967 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4968 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4969 "RANLIB=$${RANLIB}" \
4970 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4971 install-info) \
4972 || exit 1
4974 @endif bison
4976 .PHONY: maybe-installcheck-bison installcheck-bison
4977 maybe-installcheck-bison:
4978 @if bison
4979 maybe-installcheck-bison: installcheck-bison
4981 installcheck-bison: \
4982 configure-bison
4983 @[ -f ./bison/Makefile ] || exit 0; \
4984 r=`${PWD_COMMAND}`; export r; \
4985 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
4986 $(SET_LIB_PATH) \
4987 $(HOST_EXPORTS) \
4988 for flag in $(EXTRA_HOST_FLAGS) ; do \
4989 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
4990 done; \
4991 echo "Doing installcheck in bison" ; \
4992 (cd $(HOST_SUBDIR)/bison && \
4993 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
4994 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
4995 "RANLIB=$${RANLIB}" \
4996 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
4997 installcheck) \
4998 || exit 1
5000 @endif bison
5002 .PHONY: maybe-mostlyclean-bison mostlyclean-bison
5003 maybe-mostlyclean-bison:
5004 @if bison
5005 maybe-mostlyclean-bison: mostlyclean-bison
5007 mostlyclean-bison:
5008 @[ -f ./bison/Makefile ] || exit 0; \
5009 r=`${PWD_COMMAND}`; export r; \
5010 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5011 $(SET_LIB_PATH) \
5012 $(HOST_EXPORTS) \
5013 for flag in $(EXTRA_HOST_FLAGS) ; do \
5014 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5015 done; \
5016 echo "Doing mostlyclean in bison" ; \
5017 (cd $(HOST_SUBDIR)/bison && \
5018 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5019 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5020 "RANLIB=$${RANLIB}" \
5021 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5022 mostlyclean) \
5023 || exit 1
5025 @endif bison
5027 .PHONY: maybe-clean-bison clean-bison
5028 maybe-clean-bison:
5029 @if bison
5030 maybe-clean-bison: clean-bison
5032 clean-bison:
5033 @[ -f ./bison/Makefile ] || exit 0; \
5034 r=`${PWD_COMMAND}`; export r; \
5035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5036 $(SET_LIB_PATH) \
5037 $(HOST_EXPORTS) \
5038 for flag in $(EXTRA_HOST_FLAGS) ; do \
5039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5040 done; \
5041 echo "Doing clean in bison" ; \
5042 (cd $(HOST_SUBDIR)/bison && \
5043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5045 "RANLIB=$${RANLIB}" \
5046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5047 clean) \
5048 || exit 1
5050 @endif bison
5052 .PHONY: maybe-distclean-bison distclean-bison
5053 maybe-distclean-bison:
5054 @if bison
5055 maybe-distclean-bison: distclean-bison
5057 distclean-bison:
5058 @[ -f ./bison/Makefile ] || exit 0; \
5059 r=`${PWD_COMMAND}`; export r; \
5060 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5061 $(SET_LIB_PATH) \
5062 $(HOST_EXPORTS) \
5063 for flag in $(EXTRA_HOST_FLAGS) ; do \
5064 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5065 done; \
5066 echo "Doing distclean in bison" ; \
5067 (cd $(HOST_SUBDIR)/bison && \
5068 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5069 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5070 "RANLIB=$${RANLIB}" \
5071 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5072 distclean) \
5073 || exit 1
5075 @endif bison
5077 .PHONY: maybe-maintainer-clean-bison maintainer-clean-bison
5078 maybe-maintainer-clean-bison:
5079 @if bison
5080 maybe-maintainer-clean-bison: maintainer-clean-bison
5082 maintainer-clean-bison:
5083 @[ -f ./bison/Makefile ] || exit 0; \
5084 r=`${PWD_COMMAND}`; export r; \
5085 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5086 $(SET_LIB_PATH) \
5087 $(HOST_EXPORTS) \
5088 for flag in $(EXTRA_HOST_FLAGS) ; do \
5089 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5090 done; \
5091 echo "Doing maintainer-clean in bison" ; \
5092 (cd $(HOST_SUBDIR)/bison && \
5093 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5094 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5095 "RANLIB=$${RANLIB}" \
5096 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5097 maintainer-clean) \
5098 || exit 1
5100 @endif bison
5103 .PHONY: configure-byacc maybe-configure-byacc
5104 maybe-configure-byacc:
5105 @if byacc
5106 maybe-configure-byacc: configure-byacc
5107 configure-byacc:
5108 @test ! -f $(HOST_SUBDIR)/byacc/Makefile || exit 0; \
5109 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/byacc ; \
5110 r=`${PWD_COMMAND}`; export r; \
5111 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5112 $(HOST_EXPORTS) \
5113 echo Configuring in byacc; \
5114 cd $(HOST_SUBDIR)/byacc || exit 1; \
5115 case $(srcdir) in \
5116 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5117 *) topdir=`echo $(HOST_SUBDIR)/byacc/ | \
5118 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5119 esac; \
5120 srcdiroption="--srcdir=$${topdir}/byacc"; \
5121 libsrcdir="$$s/byacc"; \
5122 $(SHELL) $${libsrcdir}/configure \
5123 $(HOST_CONFIGARGS) $${srcdiroption} \
5124 || exit 1
5125 @endif byacc
5127 .PHONY: all-byacc maybe-all-byacc
5128 maybe-all-byacc:
5129 @if byacc
5130 TARGET-byacc=all
5131 maybe-all-byacc: all-byacc
5132 all-byacc: configure-byacc
5133 @r=`${PWD_COMMAND}`; export r; \
5134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5135 $(SET_LIB_PATH) \
5136 $(HOST_EXPORTS) \
5137 (cd $(HOST_SUBDIR)/byacc && \
5138 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-byacc))
5139 @endif byacc
5141 .PHONY: check-byacc maybe-check-byacc
5142 maybe-check-byacc:
5143 @if byacc
5144 maybe-check-byacc: check-byacc
5146 # This module is only tested in a native toolchain.
5147 check-byacc:
5148 @if [ '$(host)' = '$(target)' ] ; then \
5149 r=`${PWD_COMMAND}`; export r; \
5150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5151 $(SET_LIB_PATH) \
5152 $(HOST_EXPORTS) \
5153 (cd $(HOST_SUBDIR)/byacc && \
5154 $(MAKE) $(FLAGS_TO_PASS) check)
5157 @endif byacc
5159 .PHONY: install-byacc maybe-install-byacc
5160 maybe-install-byacc:
5161 @if byacc
5162 maybe-install-byacc: install-byacc
5164 install-byacc: installdirs
5165 @r=`${PWD_COMMAND}`; export r; \
5166 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5167 $(SET_LIB_PATH) \
5168 $(HOST_EXPORTS) \
5169 (cd $(HOST_SUBDIR)/byacc && \
5170 $(MAKE) $(FLAGS_TO_PASS) install)
5172 @endif byacc
5174 # Other targets (info, dvi, etc.)
5176 .PHONY: maybe-info-byacc info-byacc
5177 maybe-info-byacc:
5178 @if byacc
5179 maybe-info-byacc: info-byacc
5181 info-byacc: \
5182 configure-byacc
5183 @[ -f ./byacc/Makefile ] || exit 0; \
5184 r=`${PWD_COMMAND}`; export r; \
5185 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5186 $(SET_LIB_PATH) \
5187 $(HOST_EXPORTS) \
5188 for flag in $(EXTRA_HOST_FLAGS) ; do \
5189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5190 done; \
5191 echo "Doing info in byacc" ; \
5192 (cd $(HOST_SUBDIR)/byacc && \
5193 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5194 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5195 "RANLIB=$${RANLIB}" \
5196 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5197 info) \
5198 || exit 1
5200 @endif byacc
5202 .PHONY: maybe-dvi-byacc dvi-byacc
5203 maybe-dvi-byacc:
5204 @if byacc
5205 maybe-dvi-byacc: dvi-byacc
5207 dvi-byacc: \
5208 configure-byacc
5209 @[ -f ./byacc/Makefile ] || exit 0; \
5210 r=`${PWD_COMMAND}`; export r; \
5211 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5212 $(SET_LIB_PATH) \
5213 $(HOST_EXPORTS) \
5214 for flag in $(EXTRA_HOST_FLAGS) ; do \
5215 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5216 done; \
5217 echo "Doing dvi in byacc" ; \
5218 (cd $(HOST_SUBDIR)/byacc && \
5219 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5220 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5221 "RANLIB=$${RANLIB}" \
5222 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5223 dvi) \
5224 || exit 1
5226 @endif byacc
5228 .PHONY: maybe-html-byacc html-byacc
5229 maybe-html-byacc:
5230 @if byacc
5231 maybe-html-byacc: html-byacc
5233 html-byacc: \
5234 configure-byacc
5235 @[ -f ./byacc/Makefile ] || exit 0; \
5236 r=`${PWD_COMMAND}`; export r; \
5237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5238 $(SET_LIB_PATH) \
5239 $(HOST_EXPORTS) \
5240 for flag in $(EXTRA_HOST_FLAGS) ; do \
5241 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5242 done; \
5243 echo "Doing html in byacc" ; \
5244 (cd $(HOST_SUBDIR)/byacc && \
5245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5247 "RANLIB=$${RANLIB}" \
5248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5249 html) \
5250 || exit 1
5252 @endif byacc
5254 .PHONY: maybe-TAGS-byacc TAGS-byacc
5255 maybe-TAGS-byacc:
5256 @if byacc
5257 maybe-TAGS-byacc: TAGS-byacc
5259 TAGS-byacc: \
5260 configure-byacc
5261 @[ -f ./byacc/Makefile ] || exit 0; \
5262 r=`${PWD_COMMAND}`; export r; \
5263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5264 $(SET_LIB_PATH) \
5265 $(HOST_EXPORTS) \
5266 for flag in $(EXTRA_HOST_FLAGS) ; do \
5267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5268 done; \
5269 echo "Doing TAGS in byacc" ; \
5270 (cd $(HOST_SUBDIR)/byacc && \
5271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5273 "RANLIB=$${RANLIB}" \
5274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5275 TAGS) \
5276 || exit 1
5278 @endif byacc
5280 .PHONY: maybe-install-info-byacc install-info-byacc
5281 maybe-install-info-byacc:
5282 @if byacc
5283 maybe-install-info-byacc: install-info-byacc
5285 install-info-byacc: \
5286 configure-byacc \
5287 info-byacc
5288 @[ -f ./byacc/Makefile ] || exit 0; \
5289 r=`${PWD_COMMAND}`; export r; \
5290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5291 $(SET_LIB_PATH) \
5292 $(HOST_EXPORTS) \
5293 for flag in $(EXTRA_HOST_FLAGS) ; do \
5294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5295 done; \
5296 echo "Doing install-info in byacc" ; \
5297 (cd $(HOST_SUBDIR)/byacc && \
5298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5300 "RANLIB=$${RANLIB}" \
5301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5302 install-info) \
5303 || exit 1
5305 @endif byacc
5307 .PHONY: maybe-installcheck-byacc installcheck-byacc
5308 maybe-installcheck-byacc:
5309 @if byacc
5310 maybe-installcheck-byacc: installcheck-byacc
5312 installcheck-byacc: \
5313 configure-byacc
5314 @[ -f ./byacc/Makefile ] || exit 0; \
5315 r=`${PWD_COMMAND}`; export r; \
5316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5317 $(SET_LIB_PATH) \
5318 $(HOST_EXPORTS) \
5319 for flag in $(EXTRA_HOST_FLAGS) ; do \
5320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5321 done; \
5322 echo "Doing installcheck in byacc" ; \
5323 (cd $(HOST_SUBDIR)/byacc && \
5324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5326 "RANLIB=$${RANLIB}" \
5327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5328 installcheck) \
5329 || exit 1
5331 @endif byacc
5333 .PHONY: maybe-mostlyclean-byacc mostlyclean-byacc
5334 maybe-mostlyclean-byacc:
5335 @if byacc
5336 maybe-mostlyclean-byacc: mostlyclean-byacc
5338 mostlyclean-byacc:
5339 @[ -f ./byacc/Makefile ] || exit 0; \
5340 r=`${PWD_COMMAND}`; export r; \
5341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5342 $(SET_LIB_PATH) \
5343 $(HOST_EXPORTS) \
5344 for flag in $(EXTRA_HOST_FLAGS) ; do \
5345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5346 done; \
5347 echo "Doing mostlyclean in byacc" ; \
5348 (cd $(HOST_SUBDIR)/byacc && \
5349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5351 "RANLIB=$${RANLIB}" \
5352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5353 mostlyclean) \
5354 || exit 1
5356 @endif byacc
5358 .PHONY: maybe-clean-byacc clean-byacc
5359 maybe-clean-byacc:
5360 @if byacc
5361 maybe-clean-byacc: clean-byacc
5363 clean-byacc:
5364 @[ -f ./byacc/Makefile ] || exit 0; \
5365 r=`${PWD_COMMAND}`; export r; \
5366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5367 $(SET_LIB_PATH) \
5368 $(HOST_EXPORTS) \
5369 for flag in $(EXTRA_HOST_FLAGS) ; do \
5370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5371 done; \
5372 echo "Doing clean in byacc" ; \
5373 (cd $(HOST_SUBDIR)/byacc && \
5374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5376 "RANLIB=$${RANLIB}" \
5377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5378 clean) \
5379 || exit 1
5381 @endif byacc
5383 .PHONY: maybe-distclean-byacc distclean-byacc
5384 maybe-distclean-byacc:
5385 @if byacc
5386 maybe-distclean-byacc: distclean-byacc
5388 distclean-byacc:
5389 @[ -f ./byacc/Makefile ] || exit 0; \
5390 r=`${PWD_COMMAND}`; export r; \
5391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5392 $(SET_LIB_PATH) \
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 byacc" ; \
5398 (cd $(HOST_SUBDIR)/byacc && \
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 byacc
5408 .PHONY: maybe-maintainer-clean-byacc maintainer-clean-byacc
5409 maybe-maintainer-clean-byacc:
5410 @if byacc
5411 maybe-maintainer-clean-byacc: maintainer-clean-byacc
5413 maintainer-clean-byacc:
5414 @[ -f ./byacc/Makefile ] || exit 0; \
5415 r=`${PWD_COMMAND}`; export r; \
5416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5417 $(SET_LIB_PATH) \
5418 $(HOST_EXPORTS) \
5419 for flag in $(EXTRA_HOST_FLAGS) ; do \
5420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5421 done; \
5422 echo "Doing maintainer-clean in byacc" ; \
5423 (cd $(HOST_SUBDIR)/byacc && \
5424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5426 "RANLIB=$${RANLIB}" \
5427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5428 maintainer-clean) \
5429 || exit 1
5431 @endif byacc
5434 .PHONY: configure-bzip2 maybe-configure-bzip2
5435 maybe-configure-bzip2:
5436 @if bzip2
5437 maybe-configure-bzip2: configure-bzip2
5438 configure-bzip2:
5439 @test ! -f $(HOST_SUBDIR)/bzip2/Makefile || exit 0; \
5440 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/bzip2 ; \
5441 r=`${PWD_COMMAND}`; export r; \
5442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5443 $(HOST_EXPORTS) \
5444 echo Configuring in bzip2; \
5445 cd $(HOST_SUBDIR)/bzip2 || exit 1; \
5446 case $(srcdir) in \
5447 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5448 *) topdir=`echo $(HOST_SUBDIR)/bzip2/ | \
5449 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5450 esac; \
5451 srcdiroption="--srcdir=$${topdir}/bzip2"; \
5452 libsrcdir="$$s/bzip2"; \
5453 $(SHELL) $${libsrcdir}/configure \
5454 $(HOST_CONFIGARGS) $${srcdiroption} \
5455 || exit 1
5456 @endif bzip2
5458 .PHONY: all-bzip2 maybe-all-bzip2
5459 maybe-all-bzip2:
5460 @if bzip2
5461 TARGET-bzip2=all
5462 maybe-all-bzip2: all-bzip2
5463 all-bzip2: configure-bzip2
5464 @r=`${PWD_COMMAND}`; export r; \
5465 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5466 $(SET_LIB_PATH) \
5467 $(HOST_EXPORTS) \
5468 (cd $(HOST_SUBDIR)/bzip2 && \
5469 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-bzip2))
5470 @endif bzip2
5472 .PHONY: check-bzip2 maybe-check-bzip2
5473 maybe-check-bzip2:
5474 @if bzip2
5475 maybe-check-bzip2: check-bzip2
5477 check-bzip2:
5478 @r=`${PWD_COMMAND}`; export r; \
5479 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5480 $(SET_LIB_PATH) \
5481 $(HOST_EXPORTS) \
5482 (cd $(HOST_SUBDIR)/bzip2 && \
5483 $(MAKE) $(FLAGS_TO_PASS) check)
5485 @endif bzip2
5487 .PHONY: install-bzip2 maybe-install-bzip2
5488 maybe-install-bzip2:
5489 @if bzip2
5490 maybe-install-bzip2: install-bzip2
5492 install-bzip2: installdirs
5493 @r=`${PWD_COMMAND}`; export r; \
5494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5495 $(SET_LIB_PATH) \
5496 $(HOST_EXPORTS) \
5497 (cd $(HOST_SUBDIR)/bzip2 && \
5498 $(MAKE) $(FLAGS_TO_PASS) install)
5500 @endif bzip2
5502 # Other targets (info, dvi, etc.)
5504 .PHONY: maybe-info-bzip2 info-bzip2
5505 maybe-info-bzip2:
5506 @if bzip2
5507 maybe-info-bzip2: info-bzip2
5509 info-bzip2: \
5510 configure-bzip2
5511 @[ -f ./bzip2/Makefile ] || exit 0; \
5512 r=`${PWD_COMMAND}`; export r; \
5513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5514 $(SET_LIB_PATH) \
5515 $(HOST_EXPORTS) \
5516 for flag in $(EXTRA_HOST_FLAGS) ; do \
5517 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5518 done; \
5519 echo "Doing info in bzip2" ; \
5520 (cd $(HOST_SUBDIR)/bzip2 && \
5521 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5522 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5523 "RANLIB=$${RANLIB}" \
5524 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5525 info) \
5526 || exit 1
5528 @endif bzip2
5530 .PHONY: maybe-dvi-bzip2 dvi-bzip2
5531 maybe-dvi-bzip2:
5532 @if bzip2
5533 maybe-dvi-bzip2: dvi-bzip2
5535 dvi-bzip2: \
5536 configure-bzip2
5537 @[ -f ./bzip2/Makefile ] || exit 0; \
5538 r=`${PWD_COMMAND}`; export r; \
5539 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5540 $(SET_LIB_PATH) \
5541 $(HOST_EXPORTS) \
5542 for flag in $(EXTRA_HOST_FLAGS) ; do \
5543 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5544 done; \
5545 echo "Doing dvi in bzip2" ; \
5546 (cd $(HOST_SUBDIR)/bzip2 && \
5547 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5548 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5549 "RANLIB=$${RANLIB}" \
5550 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5551 dvi) \
5552 || exit 1
5554 @endif bzip2
5556 .PHONY: maybe-html-bzip2 html-bzip2
5557 maybe-html-bzip2:
5558 @if bzip2
5559 maybe-html-bzip2: html-bzip2
5561 html-bzip2: \
5562 configure-bzip2
5563 @[ -f ./bzip2/Makefile ] || exit 0; \
5564 r=`${PWD_COMMAND}`; export r; \
5565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5566 $(SET_LIB_PATH) \
5567 $(HOST_EXPORTS) \
5568 for flag in $(EXTRA_HOST_FLAGS) ; do \
5569 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5570 done; \
5571 echo "Doing html in bzip2" ; \
5572 (cd $(HOST_SUBDIR)/bzip2 && \
5573 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5574 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5575 "RANLIB=$${RANLIB}" \
5576 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5577 html) \
5578 || exit 1
5580 @endif bzip2
5582 .PHONY: maybe-TAGS-bzip2 TAGS-bzip2
5583 maybe-TAGS-bzip2:
5584 @if bzip2
5585 maybe-TAGS-bzip2: TAGS-bzip2
5587 TAGS-bzip2: \
5588 configure-bzip2
5589 @[ -f ./bzip2/Makefile ] || exit 0; \
5590 r=`${PWD_COMMAND}`; export r; \
5591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5592 $(SET_LIB_PATH) \
5593 $(HOST_EXPORTS) \
5594 for flag in $(EXTRA_HOST_FLAGS) ; do \
5595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5596 done; \
5597 echo "Doing TAGS in bzip2" ; \
5598 (cd $(HOST_SUBDIR)/bzip2 && \
5599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5601 "RANLIB=$${RANLIB}" \
5602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5603 TAGS) \
5604 || exit 1
5606 @endif bzip2
5608 .PHONY: maybe-install-info-bzip2 install-info-bzip2
5609 maybe-install-info-bzip2:
5610 @if bzip2
5611 maybe-install-info-bzip2: install-info-bzip2
5613 install-info-bzip2: \
5614 configure-bzip2 \
5615 info-bzip2
5616 @[ -f ./bzip2/Makefile ] || exit 0; \
5617 r=`${PWD_COMMAND}`; export r; \
5618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5619 $(SET_LIB_PATH) \
5620 $(HOST_EXPORTS) \
5621 for flag in $(EXTRA_HOST_FLAGS) ; do \
5622 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5623 done; \
5624 echo "Doing install-info in bzip2" ; \
5625 (cd $(HOST_SUBDIR)/bzip2 && \
5626 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5627 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5628 "RANLIB=$${RANLIB}" \
5629 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5630 install-info) \
5631 || exit 1
5633 @endif bzip2
5635 .PHONY: maybe-installcheck-bzip2 installcheck-bzip2
5636 maybe-installcheck-bzip2:
5637 @if bzip2
5638 maybe-installcheck-bzip2: installcheck-bzip2
5640 installcheck-bzip2: \
5641 configure-bzip2
5642 @[ -f ./bzip2/Makefile ] || exit 0; \
5643 r=`${PWD_COMMAND}`; export r; \
5644 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5645 $(SET_LIB_PATH) \
5646 $(HOST_EXPORTS) \
5647 for flag in $(EXTRA_HOST_FLAGS) ; do \
5648 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5649 done; \
5650 echo "Doing installcheck in bzip2" ; \
5651 (cd $(HOST_SUBDIR)/bzip2 && \
5652 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5653 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5654 "RANLIB=$${RANLIB}" \
5655 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5656 installcheck) \
5657 || exit 1
5659 @endif bzip2
5661 .PHONY: maybe-mostlyclean-bzip2 mostlyclean-bzip2
5662 maybe-mostlyclean-bzip2:
5663 @if bzip2
5664 maybe-mostlyclean-bzip2: mostlyclean-bzip2
5666 mostlyclean-bzip2:
5667 @[ -f ./bzip2/Makefile ] || exit 0; \
5668 r=`${PWD_COMMAND}`; export r; \
5669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5670 $(SET_LIB_PATH) \
5671 $(HOST_EXPORTS) \
5672 for flag in $(EXTRA_HOST_FLAGS) ; do \
5673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5674 done; \
5675 echo "Doing mostlyclean in bzip2" ; \
5676 (cd $(HOST_SUBDIR)/bzip2 && \
5677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5679 "RANLIB=$${RANLIB}" \
5680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5681 mostlyclean) \
5682 || exit 1
5684 @endif bzip2
5686 .PHONY: maybe-clean-bzip2 clean-bzip2
5687 maybe-clean-bzip2:
5688 @if bzip2
5689 maybe-clean-bzip2: clean-bzip2
5691 clean-bzip2:
5692 @[ -f ./bzip2/Makefile ] || exit 0; \
5693 r=`${PWD_COMMAND}`; export r; \
5694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5695 $(SET_LIB_PATH) \
5696 $(HOST_EXPORTS) \
5697 for flag in $(EXTRA_HOST_FLAGS) ; do \
5698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5699 done; \
5700 echo "Doing clean in bzip2" ; \
5701 (cd $(HOST_SUBDIR)/bzip2 && \
5702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5704 "RANLIB=$${RANLIB}" \
5705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5706 clean) \
5707 || exit 1
5709 @endif bzip2
5711 .PHONY: maybe-distclean-bzip2 distclean-bzip2
5712 maybe-distclean-bzip2:
5713 @if bzip2
5714 maybe-distclean-bzip2: distclean-bzip2
5716 distclean-bzip2:
5717 @[ -f ./bzip2/Makefile ] || exit 0; \
5718 r=`${PWD_COMMAND}`; export r; \
5719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5720 $(SET_LIB_PATH) \
5721 $(HOST_EXPORTS) \
5722 for flag in $(EXTRA_HOST_FLAGS) ; do \
5723 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5724 done; \
5725 echo "Doing distclean in bzip2" ; \
5726 (cd $(HOST_SUBDIR)/bzip2 && \
5727 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5728 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5729 "RANLIB=$${RANLIB}" \
5730 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5731 distclean) \
5732 || exit 1
5734 @endif bzip2
5736 .PHONY: maybe-maintainer-clean-bzip2 maintainer-clean-bzip2
5737 maybe-maintainer-clean-bzip2:
5738 @if bzip2
5739 maybe-maintainer-clean-bzip2: maintainer-clean-bzip2
5741 maintainer-clean-bzip2:
5742 @[ -f ./bzip2/Makefile ] || exit 0; \
5743 r=`${PWD_COMMAND}`; export r; \
5744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5745 $(SET_LIB_PATH) \
5746 $(HOST_EXPORTS) \
5747 for flag in $(EXTRA_HOST_FLAGS) ; do \
5748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5749 done; \
5750 echo "Doing maintainer-clean in bzip2" ; \
5751 (cd $(HOST_SUBDIR)/bzip2 && \
5752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5754 "RANLIB=$${RANLIB}" \
5755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5756 maintainer-clean) \
5757 || exit 1
5759 @endif bzip2
5762 .PHONY: configure-dejagnu maybe-configure-dejagnu
5763 maybe-configure-dejagnu:
5764 @if dejagnu
5765 maybe-configure-dejagnu: configure-dejagnu
5766 configure-dejagnu:
5767 @test ! -f $(HOST_SUBDIR)/dejagnu/Makefile || exit 0; \
5768 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dejagnu ; \
5769 r=`${PWD_COMMAND}`; export r; \
5770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5771 $(HOST_EXPORTS) \
5772 echo Configuring in dejagnu; \
5773 cd $(HOST_SUBDIR)/dejagnu || exit 1; \
5774 case $(srcdir) in \
5775 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
5776 *) topdir=`echo $(HOST_SUBDIR)/dejagnu/ | \
5777 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
5778 esac; \
5779 srcdiroption="--srcdir=$${topdir}/dejagnu"; \
5780 libsrcdir="$$s/dejagnu"; \
5781 $(SHELL) $${libsrcdir}/configure \
5782 $(HOST_CONFIGARGS) $${srcdiroption} \
5783 || exit 1
5784 @endif dejagnu
5786 .PHONY: all-dejagnu maybe-all-dejagnu
5787 maybe-all-dejagnu:
5788 @if dejagnu
5789 TARGET-dejagnu=all
5790 maybe-all-dejagnu: all-dejagnu
5791 all-dejagnu: configure-dejagnu
5792 @r=`${PWD_COMMAND}`; export r; \
5793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5794 $(SET_LIB_PATH) \
5795 $(HOST_EXPORTS) \
5796 (cd $(HOST_SUBDIR)/dejagnu && \
5797 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dejagnu))
5798 @endif dejagnu
5800 .PHONY: check-dejagnu maybe-check-dejagnu
5801 maybe-check-dejagnu:
5802 @if dejagnu
5803 maybe-check-dejagnu: check-dejagnu
5805 check-dejagnu:
5806 @r=`${PWD_COMMAND}`; export r; \
5807 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5808 $(SET_LIB_PATH) \
5809 $(HOST_EXPORTS) \
5810 (cd $(HOST_SUBDIR)/dejagnu && \
5811 $(MAKE) $(FLAGS_TO_PASS) check)
5813 @endif dejagnu
5815 .PHONY: install-dejagnu maybe-install-dejagnu
5816 maybe-install-dejagnu:
5817 @if dejagnu
5818 maybe-install-dejagnu: install-dejagnu
5820 install-dejagnu: installdirs
5821 @r=`${PWD_COMMAND}`; export r; \
5822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5823 $(SET_LIB_PATH) \
5824 $(HOST_EXPORTS) \
5825 (cd $(HOST_SUBDIR)/dejagnu && \
5826 $(MAKE) $(FLAGS_TO_PASS) install)
5828 @endif dejagnu
5830 # Other targets (info, dvi, etc.)
5832 .PHONY: maybe-info-dejagnu info-dejagnu
5833 maybe-info-dejagnu:
5834 @if dejagnu
5835 maybe-info-dejagnu: info-dejagnu
5837 info-dejagnu: \
5838 configure-dejagnu
5839 @[ -f ./dejagnu/Makefile ] || exit 0; \
5840 r=`${PWD_COMMAND}`; export r; \
5841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5842 $(SET_LIB_PATH) \
5843 $(HOST_EXPORTS) \
5844 for flag in $(EXTRA_HOST_FLAGS) ; do \
5845 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5846 done; \
5847 echo "Doing info in dejagnu" ; \
5848 (cd $(HOST_SUBDIR)/dejagnu && \
5849 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5850 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5851 "RANLIB=$${RANLIB}" \
5852 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5853 info) \
5854 || exit 1
5856 @endif dejagnu
5858 .PHONY: maybe-dvi-dejagnu dvi-dejagnu
5859 maybe-dvi-dejagnu:
5860 @if dejagnu
5861 maybe-dvi-dejagnu: dvi-dejagnu
5863 dvi-dejagnu: \
5864 configure-dejagnu
5865 @[ -f ./dejagnu/Makefile ] || exit 0; \
5866 r=`${PWD_COMMAND}`; export r; \
5867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5868 $(SET_LIB_PATH) \
5869 $(HOST_EXPORTS) \
5870 for flag in $(EXTRA_HOST_FLAGS) ; do \
5871 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5872 done; \
5873 echo "Doing dvi in dejagnu" ; \
5874 (cd $(HOST_SUBDIR)/dejagnu && \
5875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5877 "RANLIB=$${RANLIB}" \
5878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5879 dvi) \
5880 || exit 1
5882 @endif dejagnu
5884 .PHONY: maybe-html-dejagnu html-dejagnu
5885 maybe-html-dejagnu:
5886 @if dejagnu
5887 maybe-html-dejagnu: html-dejagnu
5889 html-dejagnu: \
5890 configure-dejagnu
5891 @[ -f ./dejagnu/Makefile ] || exit 0; \
5892 r=`${PWD_COMMAND}`; export r; \
5893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5894 $(SET_LIB_PATH) \
5895 $(HOST_EXPORTS) \
5896 for flag in $(EXTRA_HOST_FLAGS) ; do \
5897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5898 done; \
5899 echo "Doing html in dejagnu" ; \
5900 (cd $(HOST_SUBDIR)/dejagnu && \
5901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5903 "RANLIB=$${RANLIB}" \
5904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5905 html) \
5906 || exit 1
5908 @endif dejagnu
5910 .PHONY: maybe-TAGS-dejagnu TAGS-dejagnu
5911 maybe-TAGS-dejagnu:
5912 @if dejagnu
5913 maybe-TAGS-dejagnu: TAGS-dejagnu
5915 TAGS-dejagnu: \
5916 configure-dejagnu
5917 @[ -f ./dejagnu/Makefile ] || exit 0; \
5918 r=`${PWD_COMMAND}`; export r; \
5919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5920 $(SET_LIB_PATH) \
5921 $(HOST_EXPORTS) \
5922 for flag in $(EXTRA_HOST_FLAGS) ; do \
5923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5924 done; \
5925 echo "Doing TAGS in dejagnu" ; \
5926 (cd $(HOST_SUBDIR)/dejagnu && \
5927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5929 "RANLIB=$${RANLIB}" \
5930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5931 TAGS) \
5932 || exit 1
5934 @endif dejagnu
5936 .PHONY: maybe-install-info-dejagnu install-info-dejagnu
5937 maybe-install-info-dejagnu:
5938 @if dejagnu
5939 maybe-install-info-dejagnu: install-info-dejagnu
5941 install-info-dejagnu: \
5942 configure-dejagnu \
5943 info-dejagnu
5944 @[ -f ./dejagnu/Makefile ] || exit 0; \
5945 r=`${PWD_COMMAND}`; export r; \
5946 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5947 $(SET_LIB_PATH) \
5948 $(HOST_EXPORTS) \
5949 for flag in $(EXTRA_HOST_FLAGS) ; do \
5950 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5951 done; \
5952 echo "Doing install-info in dejagnu" ; \
5953 (cd $(HOST_SUBDIR)/dejagnu && \
5954 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5955 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5956 "RANLIB=$${RANLIB}" \
5957 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5958 install-info) \
5959 || exit 1
5961 @endif dejagnu
5963 .PHONY: maybe-installcheck-dejagnu installcheck-dejagnu
5964 maybe-installcheck-dejagnu:
5965 @if dejagnu
5966 maybe-installcheck-dejagnu: installcheck-dejagnu
5968 installcheck-dejagnu: \
5969 configure-dejagnu
5970 @[ -f ./dejagnu/Makefile ] || exit 0; \
5971 r=`${PWD_COMMAND}`; export r; \
5972 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5973 $(SET_LIB_PATH) \
5974 $(HOST_EXPORTS) \
5975 for flag in $(EXTRA_HOST_FLAGS) ; do \
5976 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
5977 done; \
5978 echo "Doing installcheck in dejagnu" ; \
5979 (cd $(HOST_SUBDIR)/dejagnu && \
5980 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
5981 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
5982 "RANLIB=$${RANLIB}" \
5983 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
5984 installcheck) \
5985 || exit 1
5987 @endif dejagnu
5989 .PHONY: maybe-mostlyclean-dejagnu mostlyclean-dejagnu
5990 maybe-mostlyclean-dejagnu:
5991 @if dejagnu
5992 maybe-mostlyclean-dejagnu: mostlyclean-dejagnu
5994 mostlyclean-dejagnu:
5995 @[ -f ./dejagnu/Makefile ] || exit 0; \
5996 r=`${PWD_COMMAND}`; export r; \
5997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
5998 $(SET_LIB_PATH) \
5999 $(HOST_EXPORTS) \
6000 for flag in $(EXTRA_HOST_FLAGS) ; do \
6001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6002 done; \
6003 echo "Doing mostlyclean in dejagnu" ; \
6004 (cd $(HOST_SUBDIR)/dejagnu && \
6005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6007 "RANLIB=$${RANLIB}" \
6008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6009 mostlyclean) \
6010 || exit 1
6012 @endif dejagnu
6014 .PHONY: maybe-clean-dejagnu clean-dejagnu
6015 maybe-clean-dejagnu:
6016 @if dejagnu
6017 maybe-clean-dejagnu: clean-dejagnu
6019 clean-dejagnu:
6020 @[ -f ./dejagnu/Makefile ] || exit 0; \
6021 r=`${PWD_COMMAND}`; export r; \
6022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6023 $(SET_LIB_PATH) \
6024 $(HOST_EXPORTS) \
6025 for flag in $(EXTRA_HOST_FLAGS) ; do \
6026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6027 done; \
6028 echo "Doing clean in dejagnu" ; \
6029 (cd $(HOST_SUBDIR)/dejagnu && \
6030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6032 "RANLIB=$${RANLIB}" \
6033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6034 clean) \
6035 || exit 1
6037 @endif dejagnu
6039 .PHONY: maybe-distclean-dejagnu distclean-dejagnu
6040 maybe-distclean-dejagnu:
6041 @if dejagnu
6042 maybe-distclean-dejagnu: distclean-dejagnu
6044 distclean-dejagnu:
6045 @[ -f ./dejagnu/Makefile ] || exit 0; \
6046 r=`${PWD_COMMAND}`; export r; \
6047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6048 $(SET_LIB_PATH) \
6049 $(HOST_EXPORTS) \
6050 for flag in $(EXTRA_HOST_FLAGS) ; do \
6051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6052 done; \
6053 echo "Doing distclean in dejagnu" ; \
6054 (cd $(HOST_SUBDIR)/dejagnu && \
6055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6057 "RANLIB=$${RANLIB}" \
6058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6059 distclean) \
6060 || exit 1
6062 @endif dejagnu
6064 .PHONY: maybe-maintainer-clean-dejagnu maintainer-clean-dejagnu
6065 maybe-maintainer-clean-dejagnu:
6066 @if dejagnu
6067 maybe-maintainer-clean-dejagnu: maintainer-clean-dejagnu
6069 maintainer-clean-dejagnu:
6070 @[ -f ./dejagnu/Makefile ] || exit 0; \
6071 r=`${PWD_COMMAND}`; export r; \
6072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6073 $(SET_LIB_PATH) \
6074 $(HOST_EXPORTS) \
6075 for flag in $(EXTRA_HOST_FLAGS) ; do \
6076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6077 done; \
6078 echo "Doing maintainer-clean in dejagnu" ; \
6079 (cd $(HOST_SUBDIR)/dejagnu && \
6080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6082 "RANLIB=$${RANLIB}" \
6083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6084 maintainer-clean) \
6085 || exit 1
6087 @endif dejagnu
6090 .PHONY: configure-diff maybe-configure-diff
6091 maybe-configure-diff:
6092 @if diff
6093 maybe-configure-diff: configure-diff
6094 configure-diff:
6095 @test ! -f $(HOST_SUBDIR)/diff/Makefile || exit 0; \
6096 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/diff ; \
6097 r=`${PWD_COMMAND}`; export r; \
6098 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6099 $(HOST_EXPORTS) \
6100 echo Configuring in diff; \
6101 cd $(HOST_SUBDIR)/diff || exit 1; \
6102 case $(srcdir) in \
6103 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6104 *) topdir=`echo $(HOST_SUBDIR)/diff/ | \
6105 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6106 esac; \
6107 srcdiroption="--srcdir=$${topdir}/diff"; \
6108 libsrcdir="$$s/diff"; \
6109 $(SHELL) $${libsrcdir}/configure \
6110 $(HOST_CONFIGARGS) $${srcdiroption} \
6111 || exit 1
6112 @endif diff
6114 .PHONY: all-diff maybe-all-diff
6115 maybe-all-diff:
6116 @if diff
6117 TARGET-diff=all
6118 maybe-all-diff: all-diff
6119 all-diff: configure-diff
6120 @r=`${PWD_COMMAND}`; export r; \
6121 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6122 $(SET_LIB_PATH) \
6123 $(HOST_EXPORTS) \
6124 (cd $(HOST_SUBDIR)/diff && \
6125 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-diff))
6126 @endif diff
6128 .PHONY: check-diff maybe-check-diff
6129 maybe-check-diff:
6130 @if diff
6131 maybe-check-diff: check-diff
6133 check-diff:
6134 @r=`${PWD_COMMAND}`; export r; \
6135 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6136 $(SET_LIB_PATH) \
6137 $(HOST_EXPORTS) \
6138 (cd $(HOST_SUBDIR)/diff && \
6139 $(MAKE) $(FLAGS_TO_PASS) check)
6141 @endif diff
6143 .PHONY: install-diff maybe-install-diff
6144 maybe-install-diff:
6145 @if diff
6146 maybe-install-diff: install-diff
6148 install-diff: installdirs
6149 @r=`${PWD_COMMAND}`; export r; \
6150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6151 $(SET_LIB_PATH) \
6152 $(HOST_EXPORTS) \
6153 (cd $(HOST_SUBDIR)/diff && \
6154 $(MAKE) $(FLAGS_TO_PASS) install)
6156 @endif diff
6158 # Other targets (info, dvi, etc.)
6160 .PHONY: maybe-info-diff info-diff
6161 maybe-info-diff:
6162 @if diff
6163 maybe-info-diff: info-diff
6165 info-diff: \
6166 configure-diff
6167 @[ -f ./diff/Makefile ] || exit 0; \
6168 r=`${PWD_COMMAND}`; export r; \
6169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6170 $(SET_LIB_PATH) \
6171 $(HOST_EXPORTS) \
6172 for flag in $(EXTRA_HOST_FLAGS) ; do \
6173 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6174 done; \
6175 echo "Doing info in diff" ; \
6176 (cd $(HOST_SUBDIR)/diff && \
6177 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6178 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6179 "RANLIB=$${RANLIB}" \
6180 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6181 info) \
6182 || exit 1
6184 @endif diff
6186 .PHONY: maybe-dvi-diff dvi-diff
6187 maybe-dvi-diff:
6188 @if diff
6189 maybe-dvi-diff: dvi-diff
6191 dvi-diff: \
6192 configure-diff
6193 @[ -f ./diff/Makefile ] || exit 0; \
6194 r=`${PWD_COMMAND}`; export r; \
6195 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6196 $(SET_LIB_PATH) \
6197 $(HOST_EXPORTS) \
6198 for flag in $(EXTRA_HOST_FLAGS) ; do \
6199 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6200 done; \
6201 echo "Doing dvi in diff" ; \
6202 (cd $(HOST_SUBDIR)/diff && \
6203 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6204 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6205 "RANLIB=$${RANLIB}" \
6206 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6207 dvi) \
6208 || exit 1
6210 @endif diff
6212 .PHONY: maybe-html-diff html-diff
6213 maybe-html-diff:
6214 @if diff
6215 maybe-html-diff: html-diff
6217 html-diff: \
6218 configure-diff
6219 @[ -f ./diff/Makefile ] || exit 0; \
6220 r=`${PWD_COMMAND}`; export r; \
6221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6222 $(SET_LIB_PATH) \
6223 $(HOST_EXPORTS) \
6224 for flag in $(EXTRA_HOST_FLAGS) ; do \
6225 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6226 done; \
6227 echo "Doing html in diff" ; \
6228 (cd $(HOST_SUBDIR)/diff && \
6229 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6230 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6231 "RANLIB=$${RANLIB}" \
6232 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6233 html) \
6234 || exit 1
6236 @endif diff
6238 .PHONY: maybe-TAGS-diff TAGS-diff
6239 maybe-TAGS-diff:
6240 @if diff
6241 maybe-TAGS-diff: TAGS-diff
6243 TAGS-diff: \
6244 configure-diff
6245 @[ -f ./diff/Makefile ] || exit 0; \
6246 r=`${PWD_COMMAND}`; export r; \
6247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6248 $(SET_LIB_PATH) \
6249 $(HOST_EXPORTS) \
6250 for flag in $(EXTRA_HOST_FLAGS) ; do \
6251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6252 done; \
6253 echo "Doing TAGS in diff" ; \
6254 (cd $(HOST_SUBDIR)/diff && \
6255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6257 "RANLIB=$${RANLIB}" \
6258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6259 TAGS) \
6260 || exit 1
6262 @endif diff
6264 .PHONY: maybe-install-info-diff install-info-diff
6265 maybe-install-info-diff:
6266 @if diff
6267 maybe-install-info-diff: install-info-diff
6269 install-info-diff: \
6270 configure-diff \
6271 info-diff
6272 @[ -f ./diff/Makefile ] || exit 0; \
6273 r=`${PWD_COMMAND}`; export r; \
6274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6275 $(SET_LIB_PATH) \
6276 $(HOST_EXPORTS) \
6277 for flag in $(EXTRA_HOST_FLAGS) ; do \
6278 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6279 done; \
6280 echo "Doing install-info in diff" ; \
6281 (cd $(HOST_SUBDIR)/diff && \
6282 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6283 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6284 "RANLIB=$${RANLIB}" \
6285 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6286 install-info) \
6287 || exit 1
6289 @endif diff
6291 .PHONY: maybe-installcheck-diff installcheck-diff
6292 maybe-installcheck-diff:
6293 @if diff
6294 maybe-installcheck-diff: installcheck-diff
6296 installcheck-diff: \
6297 configure-diff
6298 @[ -f ./diff/Makefile ] || exit 0; \
6299 r=`${PWD_COMMAND}`; export r; \
6300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6301 $(SET_LIB_PATH) \
6302 $(HOST_EXPORTS) \
6303 for flag in $(EXTRA_HOST_FLAGS) ; do \
6304 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6305 done; \
6306 echo "Doing installcheck in diff" ; \
6307 (cd $(HOST_SUBDIR)/diff && \
6308 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6309 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6310 "RANLIB=$${RANLIB}" \
6311 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6312 installcheck) \
6313 || exit 1
6315 @endif diff
6317 .PHONY: maybe-mostlyclean-diff mostlyclean-diff
6318 maybe-mostlyclean-diff:
6319 @if diff
6320 maybe-mostlyclean-diff: mostlyclean-diff
6322 mostlyclean-diff:
6323 @[ -f ./diff/Makefile ] || exit 0; \
6324 r=`${PWD_COMMAND}`; export r; \
6325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6326 $(SET_LIB_PATH) \
6327 $(HOST_EXPORTS) \
6328 for flag in $(EXTRA_HOST_FLAGS) ; do \
6329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6330 done; \
6331 echo "Doing mostlyclean in diff" ; \
6332 (cd $(HOST_SUBDIR)/diff && \
6333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6335 "RANLIB=$${RANLIB}" \
6336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6337 mostlyclean) \
6338 || exit 1
6340 @endif diff
6342 .PHONY: maybe-clean-diff clean-diff
6343 maybe-clean-diff:
6344 @if diff
6345 maybe-clean-diff: clean-diff
6347 clean-diff:
6348 @[ -f ./diff/Makefile ] || exit 0; \
6349 r=`${PWD_COMMAND}`; export r; \
6350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6351 $(SET_LIB_PATH) \
6352 $(HOST_EXPORTS) \
6353 for flag in $(EXTRA_HOST_FLAGS) ; do \
6354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6355 done; \
6356 echo "Doing clean in diff" ; \
6357 (cd $(HOST_SUBDIR)/diff && \
6358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6360 "RANLIB=$${RANLIB}" \
6361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6362 clean) \
6363 || exit 1
6365 @endif diff
6367 .PHONY: maybe-distclean-diff distclean-diff
6368 maybe-distclean-diff:
6369 @if diff
6370 maybe-distclean-diff: distclean-diff
6372 distclean-diff:
6373 @[ -f ./diff/Makefile ] || exit 0; \
6374 r=`${PWD_COMMAND}`; export r; \
6375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6376 $(SET_LIB_PATH) \
6377 $(HOST_EXPORTS) \
6378 for flag in $(EXTRA_HOST_FLAGS) ; do \
6379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6380 done; \
6381 echo "Doing distclean in diff" ; \
6382 (cd $(HOST_SUBDIR)/diff && \
6383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6385 "RANLIB=$${RANLIB}" \
6386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6387 distclean) \
6388 || exit 1
6390 @endif diff
6392 .PHONY: maybe-maintainer-clean-diff maintainer-clean-diff
6393 maybe-maintainer-clean-diff:
6394 @if diff
6395 maybe-maintainer-clean-diff: maintainer-clean-diff
6397 maintainer-clean-diff:
6398 @[ -f ./diff/Makefile ] || exit 0; \
6399 r=`${PWD_COMMAND}`; export r; \
6400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6401 $(SET_LIB_PATH) \
6402 $(HOST_EXPORTS) \
6403 for flag in $(EXTRA_HOST_FLAGS) ; do \
6404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6405 done; \
6406 echo "Doing maintainer-clean in diff" ; \
6407 (cd $(HOST_SUBDIR)/diff && \
6408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6410 "RANLIB=$${RANLIB}" \
6411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6412 maintainer-clean) \
6413 || exit 1
6415 @endif diff
6418 .PHONY: configure-dosutils maybe-configure-dosutils
6419 maybe-configure-dosutils:
6420 @if dosutils
6421 maybe-configure-dosutils: configure-dosutils
6422 configure-dosutils:
6423 @test ! -f $(HOST_SUBDIR)/dosutils/Makefile || exit 0; \
6424 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/dosutils ; \
6425 r=`${PWD_COMMAND}`; export r; \
6426 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6427 $(HOST_EXPORTS) \
6428 echo Configuring in dosutils; \
6429 cd $(HOST_SUBDIR)/dosutils || exit 1; \
6430 case $(srcdir) in \
6431 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6432 *) topdir=`echo $(HOST_SUBDIR)/dosutils/ | \
6433 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6434 esac; \
6435 srcdiroption="--srcdir=$${topdir}/dosutils"; \
6436 libsrcdir="$$s/dosutils"; \
6437 $(SHELL) $${libsrcdir}/configure \
6438 $(HOST_CONFIGARGS) $${srcdiroption} \
6439 || exit 1
6440 @endif dosutils
6442 .PHONY: all-dosutils maybe-all-dosutils
6443 maybe-all-dosutils:
6444 @if dosutils
6445 TARGET-dosutils=all
6446 maybe-all-dosutils: all-dosutils
6447 all-dosutils: configure-dosutils
6448 @r=`${PWD_COMMAND}`; export r; \
6449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6450 $(SET_LIB_PATH) \
6451 $(HOST_EXPORTS) \
6452 (cd $(HOST_SUBDIR)/dosutils && \
6453 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-dosutils))
6454 @endif dosutils
6456 .PHONY: check-dosutils maybe-check-dosutils
6457 maybe-check-dosutils:
6458 @if dosutils
6459 maybe-check-dosutils: check-dosutils
6461 check-dosutils:
6463 @endif dosutils
6465 .PHONY: install-dosutils maybe-install-dosutils
6466 maybe-install-dosutils:
6467 @if dosutils
6468 maybe-install-dosutils: install-dosutils
6470 install-dosutils: installdirs
6471 @r=`${PWD_COMMAND}`; export r; \
6472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6473 $(SET_LIB_PATH) \
6474 $(HOST_EXPORTS) \
6475 (cd $(HOST_SUBDIR)/dosutils && \
6476 $(MAKE) $(FLAGS_TO_PASS) install)
6478 @endif dosutils
6480 # Other targets (info, dvi, etc.)
6482 .PHONY: maybe-info-dosutils info-dosutils
6483 maybe-info-dosutils:
6484 @if dosutils
6485 maybe-info-dosutils: info-dosutils
6487 info-dosutils: \
6488 configure-dosutils
6489 @[ -f ./dosutils/Makefile ] || exit 0; \
6490 r=`${PWD_COMMAND}`; export r; \
6491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6492 $(SET_LIB_PATH) \
6493 $(HOST_EXPORTS) \
6494 for flag in $(EXTRA_HOST_FLAGS) ; do \
6495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6496 done; \
6497 echo "Doing info in dosutils" ; \
6498 (cd $(HOST_SUBDIR)/dosutils && \
6499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6501 "RANLIB=$${RANLIB}" \
6502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6503 info) \
6504 || exit 1
6506 @endif dosutils
6508 .PHONY: maybe-dvi-dosutils dvi-dosutils
6509 maybe-dvi-dosutils:
6510 @if dosutils
6511 maybe-dvi-dosutils: dvi-dosutils
6513 dvi-dosutils: \
6514 configure-dosutils
6515 @[ -f ./dosutils/Makefile ] || exit 0; \
6516 r=`${PWD_COMMAND}`; export r; \
6517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6518 $(SET_LIB_PATH) \
6519 $(HOST_EXPORTS) \
6520 for flag in $(EXTRA_HOST_FLAGS) ; do \
6521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6522 done; \
6523 echo "Doing dvi in dosutils" ; \
6524 (cd $(HOST_SUBDIR)/dosutils && \
6525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6527 "RANLIB=$${RANLIB}" \
6528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6529 dvi) \
6530 || exit 1
6532 @endif dosutils
6534 .PHONY: maybe-html-dosutils html-dosutils
6535 maybe-html-dosutils:
6536 @if dosutils
6537 maybe-html-dosutils: html-dosutils
6539 html-dosutils: \
6540 configure-dosutils
6541 @[ -f ./dosutils/Makefile ] || exit 0; \
6542 r=`${PWD_COMMAND}`; export r; \
6543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6544 $(SET_LIB_PATH) \
6545 $(HOST_EXPORTS) \
6546 for flag in $(EXTRA_HOST_FLAGS) ; do \
6547 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6548 done; \
6549 echo "Doing html in dosutils" ; \
6550 (cd $(HOST_SUBDIR)/dosutils && \
6551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6553 "RANLIB=$${RANLIB}" \
6554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6555 html) \
6556 || exit 1
6558 @endif dosutils
6560 .PHONY: maybe-TAGS-dosutils TAGS-dosutils
6561 maybe-TAGS-dosutils:
6562 @if dosutils
6563 maybe-TAGS-dosutils: TAGS-dosutils
6565 TAGS-dosutils: \
6566 configure-dosutils
6567 @[ -f ./dosutils/Makefile ] || exit 0; \
6568 r=`${PWD_COMMAND}`; export r; \
6569 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6570 $(SET_LIB_PATH) \
6571 $(HOST_EXPORTS) \
6572 for flag in $(EXTRA_HOST_FLAGS) ; do \
6573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6574 done; \
6575 echo "Doing TAGS in dosutils" ; \
6576 (cd $(HOST_SUBDIR)/dosutils && \
6577 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6578 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6579 "RANLIB=$${RANLIB}" \
6580 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6581 TAGS) \
6582 || exit 1
6584 @endif dosutils
6586 .PHONY: maybe-install-info-dosutils install-info-dosutils
6587 maybe-install-info-dosutils:
6588 @if dosutils
6589 maybe-install-info-dosutils: install-info-dosutils
6591 install-info-dosutils: \
6592 configure-dosutils \
6593 info-dosutils
6594 @[ -f ./dosutils/Makefile ] || exit 0; \
6595 r=`${PWD_COMMAND}`; export r; \
6596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6597 $(SET_LIB_PATH) \
6598 $(HOST_EXPORTS) \
6599 for flag in $(EXTRA_HOST_FLAGS) ; do \
6600 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6601 done; \
6602 echo "Doing install-info in dosutils" ; \
6603 (cd $(HOST_SUBDIR)/dosutils && \
6604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6606 "RANLIB=$${RANLIB}" \
6607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6608 install-info) \
6609 || exit 1
6611 @endif dosutils
6613 .PHONY: maybe-installcheck-dosutils installcheck-dosutils
6614 maybe-installcheck-dosutils:
6615 @if dosutils
6616 maybe-installcheck-dosutils: installcheck-dosutils
6618 installcheck-dosutils: \
6619 configure-dosutils
6620 @[ -f ./dosutils/Makefile ] || exit 0; \
6621 r=`${PWD_COMMAND}`; export r; \
6622 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6623 $(SET_LIB_PATH) \
6624 $(HOST_EXPORTS) \
6625 for flag in $(EXTRA_HOST_FLAGS) ; do \
6626 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6627 done; \
6628 echo "Doing installcheck in dosutils" ; \
6629 (cd $(HOST_SUBDIR)/dosutils && \
6630 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6631 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6632 "RANLIB=$${RANLIB}" \
6633 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6634 installcheck) \
6635 || exit 1
6637 @endif dosutils
6639 .PHONY: maybe-mostlyclean-dosutils mostlyclean-dosutils
6640 maybe-mostlyclean-dosutils:
6641 @if dosutils
6642 maybe-mostlyclean-dosutils: mostlyclean-dosutils
6644 mostlyclean-dosutils:
6645 @[ -f ./dosutils/Makefile ] || exit 0; \
6646 r=`${PWD_COMMAND}`; export r; \
6647 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6648 $(SET_LIB_PATH) \
6649 $(HOST_EXPORTS) \
6650 for flag in $(EXTRA_HOST_FLAGS) ; do \
6651 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6652 done; \
6653 echo "Doing mostlyclean in dosutils" ; \
6654 (cd $(HOST_SUBDIR)/dosutils && \
6655 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6656 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6657 "RANLIB=$${RANLIB}" \
6658 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6659 mostlyclean) \
6660 || exit 1
6662 @endif dosutils
6664 .PHONY: maybe-clean-dosutils clean-dosutils
6665 maybe-clean-dosutils:
6666 @if dosutils
6667 maybe-clean-dosutils: clean-dosutils
6669 clean-dosutils:
6670 @[ -f ./dosutils/Makefile ] || exit 0; \
6671 r=`${PWD_COMMAND}`; export r; \
6672 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6673 $(SET_LIB_PATH) \
6674 $(HOST_EXPORTS) \
6675 for flag in $(EXTRA_HOST_FLAGS) ; do \
6676 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6677 done; \
6678 echo "Doing clean in dosutils" ; \
6679 (cd $(HOST_SUBDIR)/dosutils && \
6680 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6681 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6682 "RANLIB=$${RANLIB}" \
6683 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6684 clean) \
6685 || exit 1
6687 @endif dosutils
6689 .PHONY: maybe-distclean-dosutils distclean-dosutils
6690 maybe-distclean-dosutils:
6691 @if dosutils
6692 maybe-distclean-dosutils: distclean-dosutils
6694 distclean-dosutils:
6695 @[ -f ./dosutils/Makefile ] || exit 0; \
6696 r=`${PWD_COMMAND}`; export r; \
6697 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6698 $(SET_LIB_PATH) \
6699 $(HOST_EXPORTS) \
6700 for flag in $(EXTRA_HOST_FLAGS) ; do \
6701 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6702 done; \
6703 echo "Doing distclean in dosutils" ; \
6704 (cd $(HOST_SUBDIR)/dosutils && \
6705 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6706 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6707 "RANLIB=$${RANLIB}" \
6708 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6709 distclean) \
6710 || exit 1
6712 @endif dosutils
6714 .PHONY: maybe-maintainer-clean-dosutils maintainer-clean-dosutils
6715 maybe-maintainer-clean-dosutils:
6716 @if dosutils
6717 maybe-maintainer-clean-dosutils: maintainer-clean-dosutils
6719 maintainer-clean-dosutils:
6720 @[ -f ./dosutils/Makefile ] || exit 0; \
6721 r=`${PWD_COMMAND}`; export r; \
6722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6723 $(SET_LIB_PATH) \
6724 $(HOST_EXPORTS) \
6725 for flag in $(EXTRA_HOST_FLAGS) ; do \
6726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6727 done; \
6728 echo "Doing maintainer-clean in dosutils" ; \
6729 (cd $(HOST_SUBDIR)/dosutils && \
6730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6732 "RANLIB=$${RANLIB}" \
6733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6734 maintainer-clean) \
6735 || exit 1
6737 @endif dosutils
6740 .PHONY: configure-etc maybe-configure-etc
6741 maybe-configure-etc:
6742 @if etc
6743 maybe-configure-etc: configure-etc
6744 configure-etc:
6745 @test ! -f $(HOST_SUBDIR)/etc/Makefile || exit 0; \
6746 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/etc ; \
6747 r=`${PWD_COMMAND}`; export r; \
6748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6749 $(HOST_EXPORTS) \
6750 echo Configuring in etc; \
6751 cd $(HOST_SUBDIR)/etc || exit 1; \
6752 case $(srcdir) in \
6753 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
6754 *) topdir=`echo $(HOST_SUBDIR)/etc/ | \
6755 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
6756 esac; \
6757 srcdiroption="--srcdir=$${topdir}/etc"; \
6758 libsrcdir="$$s/etc"; \
6759 $(SHELL) $${libsrcdir}/configure \
6760 $(HOST_CONFIGARGS) $${srcdiroption} \
6761 || exit 1
6762 @endif etc
6764 .PHONY: all-etc maybe-all-etc
6765 maybe-all-etc:
6766 @if etc
6767 TARGET-etc=all
6768 maybe-all-etc: all-etc
6769 all-etc: configure-etc
6770 @r=`${PWD_COMMAND}`; export r; \
6771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6772 $(SET_LIB_PATH) \
6773 $(HOST_EXPORTS) \
6774 (cd $(HOST_SUBDIR)/etc && \
6775 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-etc))
6776 @endif etc
6778 .PHONY: check-etc maybe-check-etc
6779 maybe-check-etc:
6780 @if etc
6781 maybe-check-etc: check-etc
6783 check-etc:
6784 @r=`${PWD_COMMAND}`; export r; \
6785 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6786 $(SET_LIB_PATH) \
6787 $(HOST_EXPORTS) \
6788 (cd $(HOST_SUBDIR)/etc && \
6789 $(MAKE) $(FLAGS_TO_PASS) check)
6791 @endif etc
6793 .PHONY: install-etc maybe-install-etc
6794 maybe-install-etc:
6795 @if etc
6796 maybe-install-etc: install-etc
6798 install-etc: installdirs
6799 @r=`${PWD_COMMAND}`; export r; \
6800 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6801 $(SET_LIB_PATH) \
6802 $(HOST_EXPORTS) \
6803 (cd $(HOST_SUBDIR)/etc && \
6804 $(MAKE) $(FLAGS_TO_PASS) install)
6806 @endif etc
6808 # Other targets (info, dvi, etc.)
6810 .PHONY: maybe-info-etc info-etc
6811 maybe-info-etc:
6812 @if etc
6813 maybe-info-etc: info-etc
6815 info-etc: \
6816 configure-etc
6817 @[ -f ./etc/Makefile ] || exit 0; \
6818 r=`${PWD_COMMAND}`; export r; \
6819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6820 $(SET_LIB_PATH) \
6821 $(HOST_EXPORTS) \
6822 for flag in $(EXTRA_HOST_FLAGS) ; do \
6823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6824 done; \
6825 echo "Doing info in etc" ; \
6826 (cd $(HOST_SUBDIR)/etc && \
6827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6829 "RANLIB=$${RANLIB}" \
6830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6831 info) \
6832 || exit 1
6834 @endif etc
6836 .PHONY: maybe-dvi-etc dvi-etc
6837 maybe-dvi-etc:
6838 @if etc
6839 maybe-dvi-etc: dvi-etc
6841 dvi-etc: \
6842 configure-etc
6843 @[ -f ./etc/Makefile ] || exit 0; \
6844 r=`${PWD_COMMAND}`; export r; \
6845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6846 $(SET_LIB_PATH) \
6847 $(HOST_EXPORTS) \
6848 for flag in $(EXTRA_HOST_FLAGS) ; do \
6849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6850 done; \
6851 echo "Doing dvi in etc" ; \
6852 (cd $(HOST_SUBDIR)/etc && \
6853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6855 "RANLIB=$${RANLIB}" \
6856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6857 dvi) \
6858 || exit 1
6860 @endif etc
6862 .PHONY: maybe-html-etc html-etc
6863 maybe-html-etc:
6864 @if etc
6865 maybe-html-etc: html-etc
6867 html-etc: \
6868 configure-etc
6869 @[ -f ./etc/Makefile ] || exit 0; \
6870 r=`${PWD_COMMAND}`; export r; \
6871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6872 $(SET_LIB_PATH) \
6873 $(HOST_EXPORTS) \
6874 for flag in $(EXTRA_HOST_FLAGS) ; do \
6875 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6876 done; \
6877 echo "Doing html in etc" ; \
6878 (cd $(HOST_SUBDIR)/etc && \
6879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6881 "RANLIB=$${RANLIB}" \
6882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6883 html) \
6884 || exit 1
6886 @endif etc
6888 .PHONY: maybe-TAGS-etc TAGS-etc
6889 maybe-TAGS-etc:
6890 @if etc
6891 maybe-TAGS-etc: TAGS-etc
6893 TAGS-etc: \
6894 configure-etc
6895 @[ -f ./etc/Makefile ] || exit 0; \
6896 r=`${PWD_COMMAND}`; export r; \
6897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6898 $(SET_LIB_PATH) \
6899 $(HOST_EXPORTS) \
6900 for flag in $(EXTRA_HOST_FLAGS) ; do \
6901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6902 done; \
6903 echo "Doing TAGS in etc" ; \
6904 (cd $(HOST_SUBDIR)/etc && \
6905 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6906 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6907 "RANLIB=$${RANLIB}" \
6908 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6909 TAGS) \
6910 || exit 1
6912 @endif etc
6914 .PHONY: maybe-install-info-etc install-info-etc
6915 maybe-install-info-etc:
6916 @if etc
6917 maybe-install-info-etc: install-info-etc
6919 install-info-etc: \
6920 configure-etc \
6921 info-etc
6922 @[ -f ./etc/Makefile ] || exit 0; \
6923 r=`${PWD_COMMAND}`; export r; \
6924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6925 $(SET_LIB_PATH) \
6926 $(HOST_EXPORTS) \
6927 for flag in $(EXTRA_HOST_FLAGS) ; do \
6928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6929 done; \
6930 echo "Doing install-info in etc" ; \
6931 (cd $(HOST_SUBDIR)/etc && \
6932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6934 "RANLIB=$${RANLIB}" \
6935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6936 install-info) \
6937 || exit 1
6939 @endif etc
6941 .PHONY: maybe-installcheck-etc installcheck-etc
6942 maybe-installcheck-etc:
6943 @if etc
6944 maybe-installcheck-etc: installcheck-etc
6946 installcheck-etc: \
6947 configure-etc
6948 @[ -f ./etc/Makefile ] || exit 0; \
6949 r=`${PWD_COMMAND}`; export r; \
6950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6951 $(SET_LIB_PATH) \
6952 $(HOST_EXPORTS) \
6953 for flag in $(EXTRA_HOST_FLAGS) ; do \
6954 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6955 done; \
6956 echo "Doing installcheck in etc" ; \
6957 (cd $(HOST_SUBDIR)/etc && \
6958 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6959 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6960 "RANLIB=$${RANLIB}" \
6961 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6962 installcheck) \
6963 || exit 1
6965 @endif etc
6967 .PHONY: maybe-mostlyclean-etc mostlyclean-etc
6968 maybe-mostlyclean-etc:
6969 @if etc
6970 maybe-mostlyclean-etc: mostlyclean-etc
6972 mostlyclean-etc:
6973 @[ -f ./etc/Makefile ] || exit 0; \
6974 r=`${PWD_COMMAND}`; export r; \
6975 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
6976 $(SET_LIB_PATH) \
6977 $(HOST_EXPORTS) \
6978 for flag in $(EXTRA_HOST_FLAGS) ; do \
6979 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
6980 done; \
6981 echo "Doing mostlyclean in etc" ; \
6982 (cd $(HOST_SUBDIR)/etc && \
6983 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
6984 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
6985 "RANLIB=$${RANLIB}" \
6986 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
6987 mostlyclean) \
6988 || exit 1
6990 @endif etc
6992 .PHONY: maybe-clean-etc clean-etc
6993 maybe-clean-etc:
6994 @if etc
6995 maybe-clean-etc: clean-etc
6997 clean-etc:
6998 @[ -f ./etc/Makefile ] || exit 0; \
6999 r=`${PWD_COMMAND}`; export r; \
7000 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7001 $(SET_LIB_PATH) \
7002 $(HOST_EXPORTS) \
7003 for flag in $(EXTRA_HOST_FLAGS) ; do \
7004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7005 done; \
7006 echo "Doing clean in etc" ; \
7007 (cd $(HOST_SUBDIR)/etc && \
7008 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7009 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7010 "RANLIB=$${RANLIB}" \
7011 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7012 clean) \
7013 || exit 1
7015 @endif etc
7017 .PHONY: maybe-distclean-etc distclean-etc
7018 maybe-distclean-etc:
7019 @if etc
7020 maybe-distclean-etc: distclean-etc
7022 distclean-etc:
7023 @[ -f ./etc/Makefile ] || exit 0; \
7024 r=`${PWD_COMMAND}`; export r; \
7025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7026 $(SET_LIB_PATH) \
7027 $(HOST_EXPORTS) \
7028 for flag in $(EXTRA_HOST_FLAGS) ; do \
7029 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7030 done; \
7031 echo "Doing distclean in etc" ; \
7032 (cd $(HOST_SUBDIR)/etc && \
7033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7035 "RANLIB=$${RANLIB}" \
7036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7037 distclean) \
7038 || exit 1
7040 @endif etc
7042 .PHONY: maybe-maintainer-clean-etc maintainer-clean-etc
7043 maybe-maintainer-clean-etc:
7044 @if etc
7045 maybe-maintainer-clean-etc: maintainer-clean-etc
7047 maintainer-clean-etc:
7048 @[ -f ./etc/Makefile ] || exit 0; \
7049 r=`${PWD_COMMAND}`; export r; \
7050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7051 $(SET_LIB_PATH) \
7052 $(HOST_EXPORTS) \
7053 for flag in $(EXTRA_HOST_FLAGS) ; do \
7054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7055 done; \
7056 echo "Doing maintainer-clean in etc" ; \
7057 (cd $(HOST_SUBDIR)/etc && \
7058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7060 "RANLIB=$${RANLIB}" \
7061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7062 maintainer-clean) \
7063 || exit 1
7065 @endif etc
7068 .PHONY: configure-fastjar maybe-configure-fastjar
7069 maybe-configure-fastjar:
7070 @if fastjar
7071 maybe-configure-fastjar: configure-fastjar
7072 configure-fastjar:
7073 @test ! -f $(HOST_SUBDIR)/fastjar/Makefile || exit 0; \
7074 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fastjar ; \
7075 r=`${PWD_COMMAND}`; export r; \
7076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7077 $(HOST_EXPORTS) \
7078 echo Configuring in fastjar; \
7079 cd $(HOST_SUBDIR)/fastjar || exit 1; \
7080 case $(srcdir) in \
7081 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7082 *) topdir=`echo $(HOST_SUBDIR)/fastjar/ | \
7083 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7084 esac; \
7085 srcdiroption="--srcdir=$${topdir}/fastjar"; \
7086 libsrcdir="$$s/fastjar"; \
7087 $(SHELL) $${libsrcdir}/configure \
7088 $(HOST_CONFIGARGS) $${srcdiroption} \
7089 || exit 1
7090 @endif fastjar
7092 .PHONY: all-fastjar maybe-all-fastjar
7093 maybe-all-fastjar:
7094 @if fastjar
7095 TARGET-fastjar=all
7096 maybe-all-fastjar: all-fastjar
7097 all-fastjar: configure-fastjar
7098 @r=`${PWD_COMMAND}`; export r; \
7099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7100 $(SET_LIB_PATH) \
7101 $(HOST_EXPORTS) \
7102 (cd $(HOST_SUBDIR)/fastjar && \
7103 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fastjar))
7104 @endif fastjar
7106 .PHONY: check-fastjar maybe-check-fastjar
7107 maybe-check-fastjar:
7108 @if fastjar
7109 maybe-check-fastjar: check-fastjar
7111 # This module is only tested in a native toolchain.
7112 check-fastjar:
7113 @if [ '$(host)' = '$(target)' ] ; then \
7114 r=`${PWD_COMMAND}`; export r; \
7115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7116 $(SET_LIB_PATH) \
7117 $(HOST_EXPORTS) \
7118 (cd $(HOST_SUBDIR)/fastjar && \
7119 $(MAKE) $(FLAGS_TO_PASS) check)
7122 @endif fastjar
7124 .PHONY: install-fastjar maybe-install-fastjar
7125 maybe-install-fastjar:
7126 @if fastjar
7127 maybe-install-fastjar: install-fastjar
7129 install-fastjar: installdirs
7130 @r=`${PWD_COMMAND}`; export r; \
7131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7132 $(SET_LIB_PATH) \
7133 $(HOST_EXPORTS) \
7134 (cd $(HOST_SUBDIR)/fastjar && \
7135 $(MAKE) $(FLAGS_TO_PASS) install)
7137 @endif fastjar
7139 # Other targets (info, dvi, etc.)
7141 .PHONY: maybe-info-fastjar info-fastjar
7142 maybe-info-fastjar:
7143 @if fastjar
7144 maybe-info-fastjar: info-fastjar
7146 info-fastjar: \
7147 configure-fastjar
7148 @[ -f ./fastjar/Makefile ] || exit 0; \
7149 r=`${PWD_COMMAND}`; export r; \
7150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7151 $(SET_LIB_PATH) \
7152 $(HOST_EXPORTS) \
7153 for flag in $(EXTRA_HOST_FLAGS) ; do \
7154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7155 done; \
7156 echo "Doing info in fastjar" ; \
7157 (cd $(HOST_SUBDIR)/fastjar && \
7158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7160 "RANLIB=$${RANLIB}" \
7161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7162 info) \
7163 || exit 1
7165 @endif fastjar
7167 .PHONY: maybe-dvi-fastjar dvi-fastjar
7168 maybe-dvi-fastjar:
7169 @if fastjar
7170 maybe-dvi-fastjar: dvi-fastjar
7172 dvi-fastjar: \
7173 configure-fastjar
7174 @[ -f ./fastjar/Makefile ] || exit 0; \
7175 r=`${PWD_COMMAND}`; export r; \
7176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7177 $(SET_LIB_PATH) \
7178 $(HOST_EXPORTS) \
7179 for flag in $(EXTRA_HOST_FLAGS) ; do \
7180 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7181 done; \
7182 echo "Doing dvi in fastjar" ; \
7183 (cd $(HOST_SUBDIR)/fastjar && \
7184 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7185 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7186 "RANLIB=$${RANLIB}" \
7187 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7188 dvi) \
7189 || exit 1
7191 @endif fastjar
7193 .PHONY: maybe-html-fastjar html-fastjar
7194 maybe-html-fastjar:
7195 @if fastjar
7196 maybe-html-fastjar: html-fastjar
7198 html-fastjar: \
7199 configure-fastjar
7200 @[ -f ./fastjar/Makefile ] || exit 0; \
7201 r=`${PWD_COMMAND}`; export r; \
7202 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7203 $(SET_LIB_PATH) \
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 html in fastjar" ; \
7209 (cd $(HOST_SUBDIR)/fastjar && \
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 html) \
7215 || exit 1
7217 @endif fastjar
7219 .PHONY: maybe-TAGS-fastjar TAGS-fastjar
7220 maybe-TAGS-fastjar:
7221 @if fastjar
7222 maybe-TAGS-fastjar: TAGS-fastjar
7224 TAGS-fastjar: \
7225 configure-fastjar
7226 @[ -f ./fastjar/Makefile ] || exit 0; \
7227 r=`${PWD_COMMAND}`; export r; \
7228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7229 $(SET_LIB_PATH) \
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 TAGS in fastjar" ; \
7235 (cd $(HOST_SUBDIR)/fastjar && \
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 TAGS) \
7241 || exit 1
7243 @endif fastjar
7245 .PHONY: maybe-install-info-fastjar install-info-fastjar
7246 maybe-install-info-fastjar:
7247 @if fastjar
7248 maybe-install-info-fastjar: install-info-fastjar
7250 install-info-fastjar: \
7251 configure-fastjar \
7252 info-fastjar
7253 @[ -f ./fastjar/Makefile ] || exit 0; \
7254 r=`${PWD_COMMAND}`; export r; \
7255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7256 $(SET_LIB_PATH) \
7257 $(HOST_EXPORTS) \
7258 for flag in $(EXTRA_HOST_FLAGS) ; do \
7259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7260 done; \
7261 echo "Doing install-info in fastjar" ; \
7262 (cd $(HOST_SUBDIR)/fastjar && \
7263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7265 "RANLIB=$${RANLIB}" \
7266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7267 install-info) \
7268 || exit 1
7270 @endif fastjar
7272 .PHONY: maybe-installcheck-fastjar installcheck-fastjar
7273 maybe-installcheck-fastjar:
7274 @if fastjar
7275 maybe-installcheck-fastjar: installcheck-fastjar
7277 installcheck-fastjar: \
7278 configure-fastjar
7279 @[ -f ./fastjar/Makefile ] || exit 0; \
7280 r=`${PWD_COMMAND}`; export r; \
7281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7282 $(SET_LIB_PATH) \
7283 $(HOST_EXPORTS) \
7284 for flag in $(EXTRA_HOST_FLAGS) ; do \
7285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7286 done; \
7287 echo "Doing installcheck in fastjar" ; \
7288 (cd $(HOST_SUBDIR)/fastjar && \
7289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7291 "RANLIB=$${RANLIB}" \
7292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7293 installcheck) \
7294 || exit 1
7296 @endif fastjar
7298 .PHONY: maybe-mostlyclean-fastjar mostlyclean-fastjar
7299 maybe-mostlyclean-fastjar:
7300 @if fastjar
7301 maybe-mostlyclean-fastjar: mostlyclean-fastjar
7303 mostlyclean-fastjar:
7304 @[ -f ./fastjar/Makefile ] || exit 0; \
7305 r=`${PWD_COMMAND}`; export r; \
7306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7307 $(SET_LIB_PATH) \
7308 $(HOST_EXPORTS) \
7309 for flag in $(EXTRA_HOST_FLAGS) ; do \
7310 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7311 done; \
7312 echo "Doing mostlyclean in fastjar" ; \
7313 (cd $(HOST_SUBDIR)/fastjar && \
7314 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7315 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7316 "RANLIB=$${RANLIB}" \
7317 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7318 mostlyclean) \
7319 || exit 1
7321 @endif fastjar
7323 .PHONY: maybe-clean-fastjar clean-fastjar
7324 maybe-clean-fastjar:
7325 @if fastjar
7326 maybe-clean-fastjar: clean-fastjar
7328 clean-fastjar:
7329 @[ -f ./fastjar/Makefile ] || exit 0; \
7330 r=`${PWD_COMMAND}`; export r; \
7331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7332 $(SET_LIB_PATH) \
7333 $(HOST_EXPORTS) \
7334 for flag in $(EXTRA_HOST_FLAGS) ; do \
7335 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7336 done; \
7337 echo "Doing clean in fastjar" ; \
7338 (cd $(HOST_SUBDIR)/fastjar && \
7339 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7340 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7341 "RANLIB=$${RANLIB}" \
7342 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7343 clean) \
7344 || exit 1
7346 @endif fastjar
7348 .PHONY: maybe-distclean-fastjar distclean-fastjar
7349 maybe-distclean-fastjar:
7350 @if fastjar
7351 maybe-distclean-fastjar: distclean-fastjar
7353 distclean-fastjar:
7354 @[ -f ./fastjar/Makefile ] || exit 0; \
7355 r=`${PWD_COMMAND}`; export r; \
7356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7357 $(SET_LIB_PATH) \
7358 $(HOST_EXPORTS) \
7359 for flag in $(EXTRA_HOST_FLAGS) ; do \
7360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7361 done; \
7362 echo "Doing distclean in fastjar" ; \
7363 (cd $(HOST_SUBDIR)/fastjar && \
7364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7366 "RANLIB=$${RANLIB}" \
7367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7368 distclean) \
7369 || exit 1
7371 @endif fastjar
7373 .PHONY: maybe-maintainer-clean-fastjar maintainer-clean-fastjar
7374 maybe-maintainer-clean-fastjar:
7375 @if fastjar
7376 maybe-maintainer-clean-fastjar: maintainer-clean-fastjar
7378 maintainer-clean-fastjar:
7379 @[ -f ./fastjar/Makefile ] || exit 0; \
7380 r=`${PWD_COMMAND}`; export r; \
7381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7382 $(SET_LIB_PATH) \
7383 $(HOST_EXPORTS) \
7384 for flag in $(EXTRA_HOST_FLAGS) ; do \
7385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7386 done; \
7387 echo "Doing maintainer-clean in fastjar" ; \
7388 (cd $(HOST_SUBDIR)/fastjar && \
7389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7391 "RANLIB=$${RANLIB}" \
7392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7393 maintainer-clean) \
7394 || exit 1
7396 @endif fastjar
7399 .PHONY: configure-fileutils maybe-configure-fileutils
7400 maybe-configure-fileutils:
7401 @if fileutils
7402 maybe-configure-fileutils: configure-fileutils
7403 configure-fileutils:
7404 @test ! -f $(HOST_SUBDIR)/fileutils/Makefile || exit 0; \
7405 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fileutils ; \
7406 r=`${PWD_COMMAND}`; export r; \
7407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7408 $(HOST_EXPORTS) \
7409 echo Configuring in fileutils; \
7410 cd $(HOST_SUBDIR)/fileutils || exit 1; \
7411 case $(srcdir) in \
7412 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7413 *) topdir=`echo $(HOST_SUBDIR)/fileutils/ | \
7414 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7415 esac; \
7416 srcdiroption="--srcdir=$${topdir}/fileutils"; \
7417 libsrcdir="$$s/fileutils"; \
7418 $(SHELL) $${libsrcdir}/configure \
7419 $(HOST_CONFIGARGS) $${srcdiroption} \
7420 || exit 1
7421 @endif fileutils
7423 .PHONY: all-fileutils maybe-all-fileutils
7424 maybe-all-fileutils:
7425 @if fileutils
7426 TARGET-fileutils=all
7427 maybe-all-fileutils: all-fileutils
7428 all-fileutils: configure-fileutils
7429 @r=`${PWD_COMMAND}`; export r; \
7430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7431 $(SET_LIB_PATH) \
7432 $(HOST_EXPORTS) \
7433 (cd $(HOST_SUBDIR)/fileutils && \
7434 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fileutils))
7435 @endif fileutils
7437 .PHONY: check-fileutils maybe-check-fileutils
7438 maybe-check-fileutils:
7439 @if fileutils
7440 maybe-check-fileutils: check-fileutils
7442 check-fileutils:
7443 @r=`${PWD_COMMAND}`; export r; \
7444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7445 $(SET_LIB_PATH) \
7446 $(HOST_EXPORTS) \
7447 (cd $(HOST_SUBDIR)/fileutils && \
7448 $(MAKE) $(FLAGS_TO_PASS) check)
7450 @endif fileutils
7452 .PHONY: install-fileutils maybe-install-fileutils
7453 maybe-install-fileutils:
7454 @if fileutils
7455 maybe-install-fileutils: install-fileutils
7457 install-fileutils: installdirs
7458 @r=`${PWD_COMMAND}`; export r; \
7459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7460 $(SET_LIB_PATH) \
7461 $(HOST_EXPORTS) \
7462 (cd $(HOST_SUBDIR)/fileutils && \
7463 $(MAKE) $(FLAGS_TO_PASS) install)
7465 @endif fileutils
7467 # Other targets (info, dvi, etc.)
7469 .PHONY: maybe-info-fileutils info-fileutils
7470 maybe-info-fileutils:
7471 @if fileutils
7472 maybe-info-fileutils: info-fileutils
7474 info-fileutils: \
7475 configure-fileutils
7476 @[ -f ./fileutils/Makefile ] || exit 0; \
7477 r=`${PWD_COMMAND}`; export r; \
7478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7479 $(SET_LIB_PATH) \
7480 $(HOST_EXPORTS) \
7481 for flag in $(EXTRA_HOST_FLAGS) ; do \
7482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7483 done; \
7484 echo "Doing info in fileutils" ; \
7485 (cd $(HOST_SUBDIR)/fileutils && \
7486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7488 "RANLIB=$${RANLIB}" \
7489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7490 info) \
7491 || exit 1
7493 @endif fileutils
7495 .PHONY: maybe-dvi-fileutils dvi-fileutils
7496 maybe-dvi-fileutils:
7497 @if fileutils
7498 maybe-dvi-fileutils: dvi-fileutils
7500 dvi-fileutils: \
7501 configure-fileutils
7502 @[ -f ./fileutils/Makefile ] || exit 0; \
7503 r=`${PWD_COMMAND}`; export r; \
7504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7505 $(SET_LIB_PATH) \
7506 $(HOST_EXPORTS) \
7507 for flag in $(EXTRA_HOST_FLAGS) ; do \
7508 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7509 done; \
7510 echo "Doing dvi in fileutils" ; \
7511 (cd $(HOST_SUBDIR)/fileutils && \
7512 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7513 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7514 "RANLIB=$${RANLIB}" \
7515 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7516 dvi) \
7517 || exit 1
7519 @endif fileutils
7521 .PHONY: maybe-html-fileutils html-fileutils
7522 maybe-html-fileutils:
7523 @if fileutils
7524 maybe-html-fileutils: html-fileutils
7526 html-fileutils: \
7527 configure-fileutils
7528 @[ -f ./fileutils/Makefile ] || exit 0; \
7529 r=`${PWD_COMMAND}`; export r; \
7530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7531 $(SET_LIB_PATH) \
7532 $(HOST_EXPORTS) \
7533 for flag in $(EXTRA_HOST_FLAGS) ; do \
7534 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7535 done; \
7536 echo "Doing html in fileutils" ; \
7537 (cd $(HOST_SUBDIR)/fileutils && \
7538 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7539 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7540 "RANLIB=$${RANLIB}" \
7541 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7542 html) \
7543 || exit 1
7545 @endif fileutils
7547 .PHONY: maybe-TAGS-fileutils TAGS-fileutils
7548 maybe-TAGS-fileutils:
7549 @if fileutils
7550 maybe-TAGS-fileutils: TAGS-fileutils
7552 TAGS-fileutils: \
7553 configure-fileutils
7554 @[ -f ./fileutils/Makefile ] || exit 0; \
7555 r=`${PWD_COMMAND}`; export r; \
7556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7557 $(SET_LIB_PATH) \
7558 $(HOST_EXPORTS) \
7559 for flag in $(EXTRA_HOST_FLAGS) ; do \
7560 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7561 done; \
7562 echo "Doing TAGS in fileutils" ; \
7563 (cd $(HOST_SUBDIR)/fileutils && \
7564 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7565 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7566 "RANLIB=$${RANLIB}" \
7567 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7568 TAGS) \
7569 || exit 1
7571 @endif fileutils
7573 .PHONY: maybe-install-info-fileutils install-info-fileutils
7574 maybe-install-info-fileutils:
7575 @if fileutils
7576 maybe-install-info-fileutils: install-info-fileutils
7578 install-info-fileutils: \
7579 configure-fileutils \
7580 info-fileutils
7581 @[ -f ./fileutils/Makefile ] || exit 0; \
7582 r=`${PWD_COMMAND}`; export r; \
7583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7584 $(SET_LIB_PATH) \
7585 $(HOST_EXPORTS) \
7586 for flag in $(EXTRA_HOST_FLAGS) ; do \
7587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7588 done; \
7589 echo "Doing install-info in fileutils" ; \
7590 (cd $(HOST_SUBDIR)/fileutils && \
7591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7593 "RANLIB=$${RANLIB}" \
7594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7595 install-info) \
7596 || exit 1
7598 @endif fileutils
7600 .PHONY: maybe-installcheck-fileutils installcheck-fileutils
7601 maybe-installcheck-fileutils:
7602 @if fileutils
7603 maybe-installcheck-fileutils: installcheck-fileutils
7605 installcheck-fileutils: \
7606 configure-fileutils
7607 @[ -f ./fileutils/Makefile ] || exit 0; \
7608 r=`${PWD_COMMAND}`; export r; \
7609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7610 $(SET_LIB_PATH) \
7611 $(HOST_EXPORTS) \
7612 for flag in $(EXTRA_HOST_FLAGS) ; do \
7613 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7614 done; \
7615 echo "Doing installcheck in fileutils" ; \
7616 (cd $(HOST_SUBDIR)/fileutils && \
7617 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7618 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7619 "RANLIB=$${RANLIB}" \
7620 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7621 installcheck) \
7622 || exit 1
7624 @endif fileutils
7626 .PHONY: maybe-mostlyclean-fileutils mostlyclean-fileutils
7627 maybe-mostlyclean-fileutils:
7628 @if fileutils
7629 maybe-mostlyclean-fileutils: mostlyclean-fileutils
7631 mostlyclean-fileutils:
7632 @[ -f ./fileutils/Makefile ] || exit 0; \
7633 r=`${PWD_COMMAND}`; export r; \
7634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7635 $(SET_LIB_PATH) \
7636 $(HOST_EXPORTS) \
7637 for flag in $(EXTRA_HOST_FLAGS) ; do \
7638 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7639 done; \
7640 echo "Doing mostlyclean in fileutils" ; \
7641 (cd $(HOST_SUBDIR)/fileutils && \
7642 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7643 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7644 "RANLIB=$${RANLIB}" \
7645 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7646 mostlyclean) \
7647 || exit 1
7649 @endif fileutils
7651 .PHONY: maybe-clean-fileutils clean-fileutils
7652 maybe-clean-fileutils:
7653 @if fileutils
7654 maybe-clean-fileutils: clean-fileutils
7656 clean-fileutils:
7657 @[ -f ./fileutils/Makefile ] || exit 0; \
7658 r=`${PWD_COMMAND}`; export r; \
7659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7660 $(SET_LIB_PATH) \
7661 $(HOST_EXPORTS) \
7662 for flag in $(EXTRA_HOST_FLAGS) ; do \
7663 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7664 done; \
7665 echo "Doing clean in fileutils" ; \
7666 (cd $(HOST_SUBDIR)/fileutils && \
7667 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7668 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7669 "RANLIB=$${RANLIB}" \
7670 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7671 clean) \
7672 || exit 1
7674 @endif fileutils
7676 .PHONY: maybe-distclean-fileutils distclean-fileutils
7677 maybe-distclean-fileutils:
7678 @if fileutils
7679 maybe-distclean-fileutils: distclean-fileutils
7681 distclean-fileutils:
7682 @[ -f ./fileutils/Makefile ] || exit 0; \
7683 r=`${PWD_COMMAND}`; export r; \
7684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7685 $(SET_LIB_PATH) \
7686 $(HOST_EXPORTS) \
7687 for flag in $(EXTRA_HOST_FLAGS) ; do \
7688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7689 done; \
7690 echo "Doing distclean in fileutils" ; \
7691 (cd $(HOST_SUBDIR)/fileutils && \
7692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7694 "RANLIB=$${RANLIB}" \
7695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7696 distclean) \
7697 || exit 1
7699 @endif fileutils
7701 .PHONY: maybe-maintainer-clean-fileutils maintainer-clean-fileutils
7702 maybe-maintainer-clean-fileutils:
7703 @if fileutils
7704 maybe-maintainer-clean-fileutils: maintainer-clean-fileutils
7706 maintainer-clean-fileutils:
7707 @[ -f ./fileutils/Makefile ] || exit 0; \
7708 r=`${PWD_COMMAND}`; export r; \
7709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7710 $(SET_LIB_PATH) \
7711 $(HOST_EXPORTS) \
7712 for flag in $(EXTRA_HOST_FLAGS) ; do \
7713 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7714 done; \
7715 echo "Doing maintainer-clean in fileutils" ; \
7716 (cd $(HOST_SUBDIR)/fileutils && \
7717 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7718 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7719 "RANLIB=$${RANLIB}" \
7720 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7721 maintainer-clean) \
7722 || exit 1
7724 @endif fileutils
7727 .PHONY: configure-findutils maybe-configure-findutils
7728 maybe-configure-findutils:
7729 @if findutils
7730 maybe-configure-findutils: configure-findutils
7731 configure-findutils:
7732 @test ! -f $(HOST_SUBDIR)/findutils/Makefile || exit 0; \
7733 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/findutils ; \
7734 r=`${PWD_COMMAND}`; export r; \
7735 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7736 $(HOST_EXPORTS) \
7737 echo Configuring in findutils; \
7738 cd $(HOST_SUBDIR)/findutils || exit 1; \
7739 case $(srcdir) in \
7740 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
7741 *) topdir=`echo $(HOST_SUBDIR)/findutils/ | \
7742 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
7743 esac; \
7744 srcdiroption="--srcdir=$${topdir}/findutils"; \
7745 libsrcdir="$$s/findutils"; \
7746 $(SHELL) $${libsrcdir}/configure \
7747 $(HOST_CONFIGARGS) $${srcdiroption} \
7748 || exit 1
7749 @endif findutils
7751 .PHONY: all-findutils maybe-all-findutils
7752 maybe-all-findutils:
7753 @if findutils
7754 TARGET-findutils=all
7755 maybe-all-findutils: all-findutils
7756 all-findutils: configure-findutils
7757 @r=`${PWD_COMMAND}`; export r; \
7758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7759 $(SET_LIB_PATH) \
7760 $(HOST_EXPORTS) \
7761 (cd $(HOST_SUBDIR)/findutils && \
7762 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-findutils))
7763 @endif findutils
7765 .PHONY: check-findutils maybe-check-findutils
7766 maybe-check-findutils:
7767 @if findutils
7768 maybe-check-findutils: check-findutils
7770 check-findutils:
7771 @r=`${PWD_COMMAND}`; export r; \
7772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7773 $(SET_LIB_PATH) \
7774 $(HOST_EXPORTS) \
7775 (cd $(HOST_SUBDIR)/findutils && \
7776 $(MAKE) $(FLAGS_TO_PASS) check)
7778 @endif findutils
7780 .PHONY: install-findutils maybe-install-findutils
7781 maybe-install-findutils:
7782 @if findutils
7783 maybe-install-findutils: install-findutils
7785 install-findutils: installdirs
7786 @r=`${PWD_COMMAND}`; export r; \
7787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7788 $(SET_LIB_PATH) \
7789 $(HOST_EXPORTS) \
7790 (cd $(HOST_SUBDIR)/findutils && \
7791 $(MAKE) $(FLAGS_TO_PASS) install)
7793 @endif findutils
7795 # Other targets (info, dvi, etc.)
7797 .PHONY: maybe-info-findutils info-findutils
7798 maybe-info-findutils:
7799 @if findutils
7800 maybe-info-findutils: info-findutils
7802 info-findutils: \
7803 configure-findutils
7804 @[ -f ./findutils/Makefile ] || exit 0; \
7805 r=`${PWD_COMMAND}`; export r; \
7806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7807 $(SET_LIB_PATH) \
7808 $(HOST_EXPORTS) \
7809 for flag in $(EXTRA_HOST_FLAGS) ; do \
7810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7811 done; \
7812 echo "Doing info in findutils" ; \
7813 (cd $(HOST_SUBDIR)/findutils && \
7814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7816 "RANLIB=$${RANLIB}" \
7817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7818 info) \
7819 || exit 1
7821 @endif findutils
7823 .PHONY: maybe-dvi-findutils dvi-findutils
7824 maybe-dvi-findutils:
7825 @if findutils
7826 maybe-dvi-findutils: dvi-findutils
7828 dvi-findutils: \
7829 configure-findutils
7830 @[ -f ./findutils/Makefile ] || exit 0; \
7831 r=`${PWD_COMMAND}`; export r; \
7832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7833 $(SET_LIB_PATH) \
7834 $(HOST_EXPORTS) \
7835 for flag in $(EXTRA_HOST_FLAGS) ; do \
7836 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7837 done; \
7838 echo "Doing dvi in findutils" ; \
7839 (cd $(HOST_SUBDIR)/findutils && \
7840 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7841 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7842 "RANLIB=$${RANLIB}" \
7843 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7844 dvi) \
7845 || exit 1
7847 @endif findutils
7849 .PHONY: maybe-html-findutils html-findutils
7850 maybe-html-findutils:
7851 @if findutils
7852 maybe-html-findutils: html-findutils
7854 html-findutils: \
7855 configure-findutils
7856 @[ -f ./findutils/Makefile ] || exit 0; \
7857 r=`${PWD_COMMAND}`; export r; \
7858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7859 $(SET_LIB_PATH) \
7860 $(HOST_EXPORTS) \
7861 for flag in $(EXTRA_HOST_FLAGS) ; do \
7862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7863 done; \
7864 echo "Doing html in findutils" ; \
7865 (cd $(HOST_SUBDIR)/findutils && \
7866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7868 "RANLIB=$${RANLIB}" \
7869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7870 html) \
7871 || exit 1
7873 @endif findutils
7875 .PHONY: maybe-TAGS-findutils TAGS-findutils
7876 maybe-TAGS-findutils:
7877 @if findutils
7878 maybe-TAGS-findutils: TAGS-findutils
7880 TAGS-findutils: \
7881 configure-findutils
7882 @[ -f ./findutils/Makefile ] || exit 0; \
7883 r=`${PWD_COMMAND}`; export r; \
7884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7885 $(SET_LIB_PATH) \
7886 $(HOST_EXPORTS) \
7887 for flag in $(EXTRA_HOST_FLAGS) ; do \
7888 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7889 done; \
7890 echo "Doing TAGS in findutils" ; \
7891 (cd $(HOST_SUBDIR)/findutils && \
7892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7894 "RANLIB=$${RANLIB}" \
7895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7896 TAGS) \
7897 || exit 1
7899 @endif findutils
7901 .PHONY: maybe-install-info-findutils install-info-findutils
7902 maybe-install-info-findutils:
7903 @if findutils
7904 maybe-install-info-findutils: install-info-findutils
7906 install-info-findutils: \
7907 configure-findutils \
7908 info-findutils
7909 @[ -f ./findutils/Makefile ] || exit 0; \
7910 r=`${PWD_COMMAND}`; export r; \
7911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7912 $(SET_LIB_PATH) \
7913 $(HOST_EXPORTS) \
7914 for flag in $(EXTRA_HOST_FLAGS) ; do \
7915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7916 done; \
7917 echo "Doing install-info in findutils" ; \
7918 (cd $(HOST_SUBDIR)/findutils && \
7919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7921 "RANLIB=$${RANLIB}" \
7922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7923 install-info) \
7924 || exit 1
7926 @endif findutils
7928 .PHONY: maybe-installcheck-findutils installcheck-findutils
7929 maybe-installcheck-findutils:
7930 @if findutils
7931 maybe-installcheck-findutils: installcheck-findutils
7933 installcheck-findutils: \
7934 configure-findutils
7935 @[ -f ./findutils/Makefile ] || exit 0; \
7936 r=`${PWD_COMMAND}`; export r; \
7937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7938 $(SET_LIB_PATH) \
7939 $(HOST_EXPORTS) \
7940 for flag in $(EXTRA_HOST_FLAGS) ; do \
7941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7942 done; \
7943 echo "Doing installcheck in findutils" ; \
7944 (cd $(HOST_SUBDIR)/findutils && \
7945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7947 "RANLIB=$${RANLIB}" \
7948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7949 installcheck) \
7950 || exit 1
7952 @endif findutils
7954 .PHONY: maybe-mostlyclean-findutils mostlyclean-findutils
7955 maybe-mostlyclean-findutils:
7956 @if findutils
7957 maybe-mostlyclean-findutils: mostlyclean-findutils
7959 mostlyclean-findutils:
7960 @[ -f ./findutils/Makefile ] || exit 0; \
7961 r=`${PWD_COMMAND}`; export r; \
7962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7963 $(SET_LIB_PATH) \
7964 $(HOST_EXPORTS) \
7965 for flag in $(EXTRA_HOST_FLAGS) ; do \
7966 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7967 done; \
7968 echo "Doing mostlyclean in findutils" ; \
7969 (cd $(HOST_SUBDIR)/findutils && \
7970 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7971 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7972 "RANLIB=$${RANLIB}" \
7973 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7974 mostlyclean) \
7975 || exit 1
7977 @endif findutils
7979 .PHONY: maybe-clean-findutils clean-findutils
7980 maybe-clean-findutils:
7981 @if findutils
7982 maybe-clean-findutils: clean-findutils
7984 clean-findutils:
7985 @[ -f ./findutils/Makefile ] || exit 0; \
7986 r=`${PWD_COMMAND}`; export r; \
7987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
7988 $(SET_LIB_PATH) \
7989 $(HOST_EXPORTS) \
7990 for flag in $(EXTRA_HOST_FLAGS) ; do \
7991 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
7992 done; \
7993 echo "Doing clean in findutils" ; \
7994 (cd $(HOST_SUBDIR)/findutils && \
7995 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
7996 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
7997 "RANLIB=$${RANLIB}" \
7998 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
7999 clean) \
8000 || exit 1
8002 @endif findutils
8004 .PHONY: maybe-distclean-findutils distclean-findutils
8005 maybe-distclean-findutils:
8006 @if findutils
8007 maybe-distclean-findutils: distclean-findutils
8009 distclean-findutils:
8010 @[ -f ./findutils/Makefile ] || exit 0; \
8011 r=`${PWD_COMMAND}`; export r; \
8012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8013 $(SET_LIB_PATH) \
8014 $(HOST_EXPORTS) \
8015 for flag in $(EXTRA_HOST_FLAGS) ; do \
8016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8017 done; \
8018 echo "Doing distclean in findutils" ; \
8019 (cd $(HOST_SUBDIR)/findutils && \
8020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8022 "RANLIB=$${RANLIB}" \
8023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8024 distclean) \
8025 || exit 1
8027 @endif findutils
8029 .PHONY: maybe-maintainer-clean-findutils maintainer-clean-findutils
8030 maybe-maintainer-clean-findutils:
8031 @if findutils
8032 maybe-maintainer-clean-findutils: maintainer-clean-findutils
8034 maintainer-clean-findutils:
8035 @[ -f ./findutils/Makefile ] || exit 0; \
8036 r=`${PWD_COMMAND}`; export r; \
8037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8038 $(SET_LIB_PATH) \
8039 $(HOST_EXPORTS) \
8040 for flag in $(EXTRA_HOST_FLAGS) ; do \
8041 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8042 done; \
8043 echo "Doing maintainer-clean in findutils" ; \
8044 (cd $(HOST_SUBDIR)/findutils && \
8045 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8046 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8047 "RANLIB=$${RANLIB}" \
8048 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8049 maintainer-clean) \
8050 || exit 1
8052 @endif findutils
8055 .PHONY: configure-find maybe-configure-find
8056 maybe-configure-find:
8057 @if find
8058 maybe-configure-find: configure-find
8059 configure-find:
8060 @test ! -f $(HOST_SUBDIR)/find/Makefile || exit 0; \
8061 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/find ; \
8062 r=`${PWD_COMMAND}`; export r; \
8063 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8064 $(HOST_EXPORTS) \
8065 echo Configuring in find; \
8066 cd $(HOST_SUBDIR)/find || exit 1; \
8067 case $(srcdir) in \
8068 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8069 *) topdir=`echo $(HOST_SUBDIR)/find/ | \
8070 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8071 esac; \
8072 srcdiroption="--srcdir=$${topdir}/find"; \
8073 libsrcdir="$$s/find"; \
8074 $(SHELL) $${libsrcdir}/configure \
8075 $(HOST_CONFIGARGS) $${srcdiroption} \
8076 || exit 1
8077 @endif find
8079 .PHONY: all-find maybe-all-find
8080 maybe-all-find:
8081 @if find
8082 TARGET-find=all
8083 maybe-all-find: all-find
8084 all-find: configure-find
8085 @r=`${PWD_COMMAND}`; export r; \
8086 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8087 $(SET_LIB_PATH) \
8088 $(HOST_EXPORTS) \
8089 (cd $(HOST_SUBDIR)/find && \
8090 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-find))
8091 @endif find
8093 .PHONY: check-find maybe-check-find
8094 maybe-check-find:
8095 @if find
8096 maybe-check-find: check-find
8098 check-find:
8099 @r=`${PWD_COMMAND}`; export r; \
8100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8101 $(SET_LIB_PATH) \
8102 $(HOST_EXPORTS) \
8103 (cd $(HOST_SUBDIR)/find && \
8104 $(MAKE) $(FLAGS_TO_PASS) check)
8106 @endif find
8108 .PHONY: install-find maybe-install-find
8109 maybe-install-find:
8110 @if find
8111 maybe-install-find: install-find
8113 install-find: installdirs
8114 @r=`${PWD_COMMAND}`; export r; \
8115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8116 $(SET_LIB_PATH) \
8117 $(HOST_EXPORTS) \
8118 (cd $(HOST_SUBDIR)/find && \
8119 $(MAKE) $(FLAGS_TO_PASS) install)
8121 @endif find
8123 # Other targets (info, dvi, etc.)
8125 .PHONY: maybe-info-find info-find
8126 maybe-info-find:
8127 @if find
8128 maybe-info-find: info-find
8130 info-find: \
8131 configure-find
8132 @[ -f ./find/Makefile ] || exit 0; \
8133 r=`${PWD_COMMAND}`; export r; \
8134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8135 $(SET_LIB_PATH) \
8136 $(HOST_EXPORTS) \
8137 for flag in $(EXTRA_HOST_FLAGS) ; do \
8138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8139 done; \
8140 echo "Doing info in find" ; \
8141 (cd $(HOST_SUBDIR)/find && \
8142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8144 "RANLIB=$${RANLIB}" \
8145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8146 info) \
8147 || exit 1
8149 @endif find
8151 .PHONY: maybe-dvi-find dvi-find
8152 maybe-dvi-find:
8153 @if find
8154 maybe-dvi-find: dvi-find
8156 dvi-find: \
8157 configure-find
8158 @[ -f ./find/Makefile ] || exit 0; \
8159 r=`${PWD_COMMAND}`; export r; \
8160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8161 $(SET_LIB_PATH) \
8162 $(HOST_EXPORTS) \
8163 for flag in $(EXTRA_HOST_FLAGS) ; do \
8164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8165 done; \
8166 echo "Doing dvi in find" ; \
8167 (cd $(HOST_SUBDIR)/find && \
8168 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8169 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8170 "RANLIB=$${RANLIB}" \
8171 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8172 dvi) \
8173 || exit 1
8175 @endif find
8177 .PHONY: maybe-html-find html-find
8178 maybe-html-find:
8179 @if find
8180 maybe-html-find: html-find
8182 html-find: \
8183 configure-find
8184 @[ -f ./find/Makefile ] || exit 0; \
8185 r=`${PWD_COMMAND}`; export r; \
8186 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8187 $(SET_LIB_PATH) \
8188 $(HOST_EXPORTS) \
8189 for flag in $(EXTRA_HOST_FLAGS) ; do \
8190 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8191 done; \
8192 echo "Doing html in find" ; \
8193 (cd $(HOST_SUBDIR)/find && \
8194 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8195 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8196 "RANLIB=$${RANLIB}" \
8197 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8198 html) \
8199 || exit 1
8201 @endif find
8203 .PHONY: maybe-TAGS-find TAGS-find
8204 maybe-TAGS-find:
8205 @if find
8206 maybe-TAGS-find: TAGS-find
8208 TAGS-find: \
8209 configure-find
8210 @[ -f ./find/Makefile ] || exit 0; \
8211 r=`${PWD_COMMAND}`; export r; \
8212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8213 $(SET_LIB_PATH) \
8214 $(HOST_EXPORTS) \
8215 for flag in $(EXTRA_HOST_FLAGS) ; do \
8216 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8217 done; \
8218 echo "Doing TAGS in find" ; \
8219 (cd $(HOST_SUBDIR)/find && \
8220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8222 "RANLIB=$${RANLIB}" \
8223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8224 TAGS) \
8225 || exit 1
8227 @endif find
8229 .PHONY: maybe-install-info-find install-info-find
8230 maybe-install-info-find:
8231 @if find
8232 maybe-install-info-find: install-info-find
8234 install-info-find: \
8235 configure-find \
8236 info-find
8237 @[ -f ./find/Makefile ] || exit 0; \
8238 r=`${PWD_COMMAND}`; export r; \
8239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8240 $(SET_LIB_PATH) \
8241 $(HOST_EXPORTS) \
8242 for flag in $(EXTRA_HOST_FLAGS) ; do \
8243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8244 done; \
8245 echo "Doing install-info in find" ; \
8246 (cd $(HOST_SUBDIR)/find && \
8247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8249 "RANLIB=$${RANLIB}" \
8250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8251 install-info) \
8252 || exit 1
8254 @endif find
8256 .PHONY: maybe-installcheck-find installcheck-find
8257 maybe-installcheck-find:
8258 @if find
8259 maybe-installcheck-find: installcheck-find
8261 installcheck-find: \
8262 configure-find
8263 @[ -f ./find/Makefile ] || exit 0; \
8264 r=`${PWD_COMMAND}`; export r; \
8265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8266 $(SET_LIB_PATH) \
8267 $(HOST_EXPORTS) \
8268 for flag in $(EXTRA_HOST_FLAGS) ; do \
8269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8270 done; \
8271 echo "Doing installcheck in find" ; \
8272 (cd $(HOST_SUBDIR)/find && \
8273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8275 "RANLIB=$${RANLIB}" \
8276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8277 installcheck) \
8278 || exit 1
8280 @endif find
8282 .PHONY: maybe-mostlyclean-find mostlyclean-find
8283 maybe-mostlyclean-find:
8284 @if find
8285 maybe-mostlyclean-find: mostlyclean-find
8287 mostlyclean-find:
8288 @[ -f ./find/Makefile ] || exit 0; \
8289 r=`${PWD_COMMAND}`; export r; \
8290 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8291 $(SET_LIB_PATH) \
8292 $(HOST_EXPORTS) \
8293 for flag in $(EXTRA_HOST_FLAGS) ; do \
8294 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8295 done; \
8296 echo "Doing mostlyclean in find" ; \
8297 (cd $(HOST_SUBDIR)/find && \
8298 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8299 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8300 "RANLIB=$${RANLIB}" \
8301 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8302 mostlyclean) \
8303 || exit 1
8305 @endif find
8307 .PHONY: maybe-clean-find clean-find
8308 maybe-clean-find:
8309 @if find
8310 maybe-clean-find: clean-find
8312 clean-find:
8313 @[ -f ./find/Makefile ] || exit 0; \
8314 r=`${PWD_COMMAND}`; export r; \
8315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8316 $(SET_LIB_PATH) \
8317 $(HOST_EXPORTS) \
8318 for flag in $(EXTRA_HOST_FLAGS) ; do \
8319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8320 done; \
8321 echo "Doing clean in find" ; \
8322 (cd $(HOST_SUBDIR)/find && \
8323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8325 "RANLIB=$${RANLIB}" \
8326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8327 clean) \
8328 || exit 1
8330 @endif find
8332 .PHONY: maybe-distclean-find distclean-find
8333 maybe-distclean-find:
8334 @if find
8335 maybe-distclean-find: distclean-find
8337 distclean-find:
8338 @[ -f ./find/Makefile ] || exit 0; \
8339 r=`${PWD_COMMAND}`; export r; \
8340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8341 $(SET_LIB_PATH) \
8342 $(HOST_EXPORTS) \
8343 for flag in $(EXTRA_HOST_FLAGS) ; do \
8344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8345 done; \
8346 echo "Doing distclean in find" ; \
8347 (cd $(HOST_SUBDIR)/find && \
8348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8350 "RANLIB=$${RANLIB}" \
8351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8352 distclean) \
8353 || exit 1
8355 @endif find
8357 .PHONY: maybe-maintainer-clean-find maintainer-clean-find
8358 maybe-maintainer-clean-find:
8359 @if find
8360 maybe-maintainer-clean-find: maintainer-clean-find
8362 maintainer-clean-find:
8363 @[ -f ./find/Makefile ] || exit 0; \
8364 r=`${PWD_COMMAND}`; export r; \
8365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8366 $(SET_LIB_PATH) \
8367 $(HOST_EXPORTS) \
8368 for flag in $(EXTRA_HOST_FLAGS) ; do \
8369 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8370 done; \
8371 echo "Doing maintainer-clean in find" ; \
8372 (cd $(HOST_SUBDIR)/find && \
8373 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8374 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8375 "RANLIB=$${RANLIB}" \
8376 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8377 maintainer-clean) \
8378 || exit 1
8380 @endif find
8383 .PHONY: configure-fixincludes maybe-configure-fixincludes
8384 maybe-configure-fixincludes:
8385 @if fixincludes
8386 maybe-configure-fixincludes: configure-fixincludes
8387 configure-fixincludes:
8388 @test ! -f $(HOST_SUBDIR)/fixincludes/Makefile || exit 0; \
8389 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/fixincludes ; \
8390 r=`${PWD_COMMAND}`; export r; \
8391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8392 $(HOST_EXPORTS) \
8393 echo Configuring in fixincludes; \
8394 cd $(HOST_SUBDIR)/fixincludes || exit 1; \
8395 case $(srcdir) in \
8396 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8397 *) topdir=`echo $(HOST_SUBDIR)/fixincludes/ | \
8398 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8399 esac; \
8400 srcdiroption="--srcdir=$${topdir}/fixincludes"; \
8401 libsrcdir="$$s/fixincludes"; \
8402 $(SHELL) $${libsrcdir}/configure \
8403 $(HOST_CONFIGARGS) $${srcdiroption} \
8404 || exit 1
8405 @endif fixincludes
8407 .PHONY: all-fixincludes maybe-all-fixincludes
8408 maybe-all-fixincludes:
8409 @if fixincludes
8410 TARGET-fixincludes=all
8411 maybe-all-fixincludes: all-fixincludes
8412 all-fixincludes: configure-fixincludes
8413 @r=`${PWD_COMMAND}`; export r; \
8414 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8415 $(SET_LIB_PATH) \
8416 $(HOST_EXPORTS) \
8417 (cd $(HOST_SUBDIR)/fixincludes && \
8418 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-fixincludes))
8419 @endif fixincludes
8421 .PHONY: check-fixincludes maybe-check-fixincludes
8422 maybe-check-fixincludes:
8423 @if fixincludes
8424 maybe-check-fixincludes: check-fixincludes
8426 check-fixincludes:
8427 @r=`${PWD_COMMAND}`; export r; \
8428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8429 $(SET_LIB_PATH) \
8430 $(HOST_EXPORTS) \
8431 (cd $(HOST_SUBDIR)/fixincludes && \
8432 $(MAKE) $(FLAGS_TO_PASS) check)
8434 @endif fixincludes
8436 .PHONY: install-fixincludes maybe-install-fixincludes
8437 maybe-install-fixincludes:
8438 @if fixincludes
8439 maybe-install-fixincludes: install-fixincludes
8441 install-fixincludes: installdirs
8442 @r=`${PWD_COMMAND}`; export r; \
8443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8444 $(SET_LIB_PATH) \
8445 $(HOST_EXPORTS) \
8446 (cd $(HOST_SUBDIR)/fixincludes && \
8447 $(MAKE) $(FLAGS_TO_PASS) install)
8449 @endif fixincludes
8451 # Other targets (info, dvi, etc.)
8453 .PHONY: maybe-info-fixincludes info-fixincludes
8454 maybe-info-fixincludes:
8455 @if fixincludes
8456 maybe-info-fixincludes: info-fixincludes
8458 # fixincludes doesn't support info.
8459 info-fixincludes:
8461 @endif fixincludes
8463 .PHONY: maybe-dvi-fixincludes dvi-fixincludes
8464 maybe-dvi-fixincludes:
8465 @if fixincludes
8466 maybe-dvi-fixincludes: dvi-fixincludes
8468 # fixincludes doesn't support dvi.
8469 dvi-fixincludes:
8471 @endif fixincludes
8473 .PHONY: maybe-html-fixincludes html-fixincludes
8474 maybe-html-fixincludes:
8475 @if fixincludes
8476 maybe-html-fixincludes: html-fixincludes
8478 html-fixincludes: \
8479 configure-fixincludes
8480 @[ -f ./fixincludes/Makefile ] || exit 0; \
8481 r=`${PWD_COMMAND}`; export r; \
8482 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8483 $(SET_LIB_PATH) \
8484 $(HOST_EXPORTS) \
8485 for flag in $(EXTRA_HOST_FLAGS) ; do \
8486 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8487 done; \
8488 echo "Doing html in fixincludes" ; \
8489 (cd $(HOST_SUBDIR)/fixincludes && \
8490 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8491 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8492 "RANLIB=$${RANLIB}" \
8493 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8494 html) \
8495 || exit 1
8497 @endif fixincludes
8499 .PHONY: maybe-TAGS-fixincludes TAGS-fixincludes
8500 maybe-TAGS-fixincludes:
8501 @if fixincludes
8502 maybe-TAGS-fixincludes: TAGS-fixincludes
8504 # fixincludes doesn't support TAGS.
8505 TAGS-fixincludes:
8507 @endif fixincludes
8509 .PHONY: maybe-install-info-fixincludes install-info-fixincludes
8510 maybe-install-info-fixincludes:
8511 @if fixincludes
8512 maybe-install-info-fixincludes: install-info-fixincludes
8514 # fixincludes doesn't support install-info.
8515 install-info-fixincludes:
8517 @endif fixincludes
8519 .PHONY: maybe-installcheck-fixincludes installcheck-fixincludes
8520 maybe-installcheck-fixincludes:
8521 @if fixincludes
8522 maybe-installcheck-fixincludes: installcheck-fixincludes
8524 # fixincludes doesn't support installcheck.
8525 installcheck-fixincludes:
8527 @endif fixincludes
8529 .PHONY: maybe-mostlyclean-fixincludes mostlyclean-fixincludes
8530 maybe-mostlyclean-fixincludes:
8531 @if fixincludes
8532 maybe-mostlyclean-fixincludes: mostlyclean-fixincludes
8534 mostlyclean-fixincludes:
8535 @[ -f ./fixincludes/Makefile ] || exit 0; \
8536 r=`${PWD_COMMAND}`; export r; \
8537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8538 $(SET_LIB_PATH) \
8539 $(HOST_EXPORTS) \
8540 for flag in $(EXTRA_HOST_FLAGS) ; do \
8541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8542 done; \
8543 echo "Doing mostlyclean in fixincludes" ; \
8544 (cd $(HOST_SUBDIR)/fixincludes && \
8545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8547 "RANLIB=$${RANLIB}" \
8548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8549 mostlyclean) \
8550 || exit 1
8552 @endif fixincludes
8554 .PHONY: maybe-clean-fixincludes clean-fixincludes
8555 maybe-clean-fixincludes:
8556 @if fixincludes
8557 maybe-clean-fixincludes: clean-fixincludes
8559 clean-fixincludes:
8560 @[ -f ./fixincludes/Makefile ] || exit 0; \
8561 r=`${PWD_COMMAND}`; export r; \
8562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8563 $(SET_LIB_PATH) \
8564 $(HOST_EXPORTS) \
8565 for flag in $(EXTRA_HOST_FLAGS) ; do \
8566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8567 done; \
8568 echo "Doing clean in fixincludes" ; \
8569 (cd $(HOST_SUBDIR)/fixincludes && \
8570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8572 "RANLIB=$${RANLIB}" \
8573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8574 clean) \
8575 || exit 1
8577 @endif fixincludes
8579 .PHONY: maybe-distclean-fixincludes distclean-fixincludes
8580 maybe-distclean-fixincludes:
8581 @if fixincludes
8582 maybe-distclean-fixincludes: distclean-fixincludes
8584 distclean-fixincludes:
8585 @[ -f ./fixincludes/Makefile ] || exit 0; \
8586 r=`${PWD_COMMAND}`; export r; \
8587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8588 $(SET_LIB_PATH) \
8589 $(HOST_EXPORTS) \
8590 for flag in $(EXTRA_HOST_FLAGS) ; do \
8591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8592 done; \
8593 echo "Doing distclean in fixincludes" ; \
8594 (cd $(HOST_SUBDIR)/fixincludes && \
8595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8597 "RANLIB=$${RANLIB}" \
8598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8599 distclean) \
8600 || exit 1
8602 @endif fixincludes
8604 .PHONY: maybe-maintainer-clean-fixincludes maintainer-clean-fixincludes
8605 maybe-maintainer-clean-fixincludes:
8606 @if fixincludes
8607 maybe-maintainer-clean-fixincludes: maintainer-clean-fixincludes
8609 maintainer-clean-fixincludes:
8610 @[ -f ./fixincludes/Makefile ] || exit 0; \
8611 r=`${PWD_COMMAND}`; export r; \
8612 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8613 $(SET_LIB_PATH) \
8614 $(HOST_EXPORTS) \
8615 for flag in $(EXTRA_HOST_FLAGS) ; do \
8616 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8617 done; \
8618 echo "Doing maintainer-clean in fixincludes" ; \
8619 (cd $(HOST_SUBDIR)/fixincludes && \
8620 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8621 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8622 "RANLIB=$${RANLIB}" \
8623 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8624 maintainer-clean) \
8625 || exit 1
8627 @endif fixincludes
8630 .PHONY: configure-flex maybe-configure-flex
8631 maybe-configure-flex:
8632 @if flex
8633 maybe-configure-flex: configure-flex
8634 configure-flex:
8635 @test ! -f $(HOST_SUBDIR)/flex/Makefile || exit 0; \
8636 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/flex ; \
8637 r=`${PWD_COMMAND}`; export r; \
8638 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8639 $(HOST_EXPORTS) \
8640 echo Configuring in flex; \
8641 cd $(HOST_SUBDIR)/flex || exit 1; \
8642 case $(srcdir) in \
8643 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8644 *) topdir=`echo $(HOST_SUBDIR)/flex/ | \
8645 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8646 esac; \
8647 srcdiroption="--srcdir=$${topdir}/flex"; \
8648 libsrcdir="$$s/flex"; \
8649 $(SHELL) $${libsrcdir}/configure \
8650 $(HOST_CONFIGARGS) $${srcdiroption} \
8651 || exit 1
8652 @endif flex
8654 .PHONY: all-flex maybe-all-flex
8655 maybe-all-flex:
8656 @if flex
8657 TARGET-flex=all
8658 maybe-all-flex: all-flex
8659 all-flex: configure-flex
8660 @r=`${PWD_COMMAND}`; export r; \
8661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8662 $(SET_LIB_PATH) \
8663 $(HOST_EXPORTS) \
8664 (cd $(HOST_SUBDIR)/flex && \
8665 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-flex))
8666 @endif flex
8668 .PHONY: check-flex maybe-check-flex
8669 maybe-check-flex:
8670 @if flex
8671 maybe-check-flex: check-flex
8673 # This module is only tested in a native toolchain.
8674 check-flex:
8675 @if [ '$(host)' = '$(target)' ] ; then \
8676 r=`${PWD_COMMAND}`; export r; \
8677 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8678 $(SET_LIB_PATH) \
8679 $(HOST_EXPORTS) \
8680 (cd $(HOST_SUBDIR)/flex && \
8681 $(MAKE) $(FLAGS_TO_PASS) check)
8684 @endif flex
8686 .PHONY: install-flex maybe-install-flex
8687 maybe-install-flex:
8688 @if flex
8689 maybe-install-flex: install-flex
8691 install-flex: installdirs
8692 @r=`${PWD_COMMAND}`; export r; \
8693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8694 $(SET_LIB_PATH) \
8695 $(HOST_EXPORTS) \
8696 (cd $(HOST_SUBDIR)/flex && \
8697 $(MAKE) $(FLAGS_TO_PASS) install)
8699 @endif flex
8701 # Other targets (info, dvi, etc.)
8703 .PHONY: maybe-info-flex info-flex
8704 maybe-info-flex:
8705 @if flex
8706 maybe-info-flex: info-flex
8708 info-flex: \
8709 configure-flex
8710 @[ -f ./flex/Makefile ] || exit 0; \
8711 r=`${PWD_COMMAND}`; export r; \
8712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8713 $(SET_LIB_PATH) \
8714 $(HOST_EXPORTS) \
8715 for flag in $(EXTRA_HOST_FLAGS) ; do \
8716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8717 done; \
8718 echo "Doing info in flex" ; \
8719 (cd $(HOST_SUBDIR)/flex && \
8720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8722 "RANLIB=$${RANLIB}" \
8723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8724 info) \
8725 || exit 1
8727 @endif flex
8729 .PHONY: maybe-dvi-flex dvi-flex
8730 maybe-dvi-flex:
8731 @if flex
8732 maybe-dvi-flex: dvi-flex
8734 dvi-flex: \
8735 configure-flex
8736 @[ -f ./flex/Makefile ] || exit 0; \
8737 r=`${PWD_COMMAND}`; export r; \
8738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8739 $(SET_LIB_PATH) \
8740 $(HOST_EXPORTS) \
8741 for flag in $(EXTRA_HOST_FLAGS) ; do \
8742 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8743 done; \
8744 echo "Doing dvi in flex" ; \
8745 (cd $(HOST_SUBDIR)/flex && \
8746 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8747 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8748 "RANLIB=$${RANLIB}" \
8749 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8750 dvi) \
8751 || exit 1
8753 @endif flex
8755 .PHONY: maybe-html-flex html-flex
8756 maybe-html-flex:
8757 @if flex
8758 maybe-html-flex: html-flex
8760 html-flex: \
8761 configure-flex
8762 @[ -f ./flex/Makefile ] || exit 0; \
8763 r=`${PWD_COMMAND}`; export r; \
8764 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8765 $(SET_LIB_PATH) \
8766 $(HOST_EXPORTS) \
8767 for flag in $(EXTRA_HOST_FLAGS) ; do \
8768 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8769 done; \
8770 echo "Doing html in flex" ; \
8771 (cd $(HOST_SUBDIR)/flex && \
8772 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8773 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8774 "RANLIB=$${RANLIB}" \
8775 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8776 html) \
8777 || exit 1
8779 @endif flex
8781 .PHONY: maybe-TAGS-flex TAGS-flex
8782 maybe-TAGS-flex:
8783 @if flex
8784 maybe-TAGS-flex: TAGS-flex
8786 TAGS-flex: \
8787 configure-flex
8788 @[ -f ./flex/Makefile ] || exit 0; \
8789 r=`${PWD_COMMAND}`; export r; \
8790 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8791 $(SET_LIB_PATH) \
8792 $(HOST_EXPORTS) \
8793 for flag in $(EXTRA_HOST_FLAGS) ; do \
8794 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8795 done; \
8796 echo "Doing TAGS in flex" ; \
8797 (cd $(HOST_SUBDIR)/flex && \
8798 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8799 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8800 "RANLIB=$${RANLIB}" \
8801 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8802 TAGS) \
8803 || exit 1
8805 @endif flex
8807 .PHONY: maybe-install-info-flex install-info-flex
8808 maybe-install-info-flex:
8809 @if flex
8810 maybe-install-info-flex: install-info-flex
8812 install-info-flex: \
8813 configure-flex \
8814 info-flex
8815 @[ -f ./flex/Makefile ] || exit 0; \
8816 r=`${PWD_COMMAND}`; export r; \
8817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8818 $(SET_LIB_PATH) \
8819 $(HOST_EXPORTS) \
8820 for flag in $(EXTRA_HOST_FLAGS) ; do \
8821 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8822 done; \
8823 echo "Doing install-info in flex" ; \
8824 (cd $(HOST_SUBDIR)/flex && \
8825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8827 "RANLIB=$${RANLIB}" \
8828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8829 install-info) \
8830 || exit 1
8832 @endif flex
8834 .PHONY: maybe-installcheck-flex installcheck-flex
8835 maybe-installcheck-flex:
8836 @if flex
8837 maybe-installcheck-flex: installcheck-flex
8839 installcheck-flex: \
8840 configure-flex
8841 @[ -f ./flex/Makefile ] || exit 0; \
8842 r=`${PWD_COMMAND}`; export r; \
8843 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8844 $(SET_LIB_PATH) \
8845 $(HOST_EXPORTS) \
8846 for flag in $(EXTRA_HOST_FLAGS) ; do \
8847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8848 done; \
8849 echo "Doing installcheck in flex" ; \
8850 (cd $(HOST_SUBDIR)/flex && \
8851 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8852 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8853 "RANLIB=$${RANLIB}" \
8854 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8855 installcheck) \
8856 || exit 1
8858 @endif flex
8860 .PHONY: maybe-mostlyclean-flex mostlyclean-flex
8861 maybe-mostlyclean-flex:
8862 @if flex
8863 maybe-mostlyclean-flex: mostlyclean-flex
8865 mostlyclean-flex:
8866 @[ -f ./flex/Makefile ] || exit 0; \
8867 r=`${PWD_COMMAND}`; export r; \
8868 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8869 $(SET_LIB_PATH) \
8870 $(HOST_EXPORTS) \
8871 for flag in $(EXTRA_HOST_FLAGS) ; do \
8872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8873 done; \
8874 echo "Doing mostlyclean in flex" ; \
8875 (cd $(HOST_SUBDIR)/flex && \
8876 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8877 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8878 "RANLIB=$${RANLIB}" \
8879 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8880 mostlyclean) \
8881 || exit 1
8883 @endif flex
8885 .PHONY: maybe-clean-flex clean-flex
8886 maybe-clean-flex:
8887 @if flex
8888 maybe-clean-flex: clean-flex
8890 clean-flex:
8891 @[ -f ./flex/Makefile ] || exit 0; \
8892 r=`${PWD_COMMAND}`; export r; \
8893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8894 $(SET_LIB_PATH) \
8895 $(HOST_EXPORTS) \
8896 for flag in $(EXTRA_HOST_FLAGS) ; do \
8897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8898 done; \
8899 echo "Doing clean in flex" ; \
8900 (cd $(HOST_SUBDIR)/flex && \
8901 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8902 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8903 "RANLIB=$${RANLIB}" \
8904 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8905 clean) \
8906 || exit 1
8908 @endif flex
8910 .PHONY: maybe-distclean-flex distclean-flex
8911 maybe-distclean-flex:
8912 @if flex
8913 maybe-distclean-flex: distclean-flex
8915 distclean-flex:
8916 @[ -f ./flex/Makefile ] || exit 0; \
8917 r=`${PWD_COMMAND}`; export r; \
8918 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8919 $(SET_LIB_PATH) \
8920 $(HOST_EXPORTS) \
8921 for flag in $(EXTRA_HOST_FLAGS) ; do \
8922 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8923 done; \
8924 echo "Doing distclean in flex" ; \
8925 (cd $(HOST_SUBDIR)/flex && \
8926 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8927 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8928 "RANLIB=$${RANLIB}" \
8929 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8930 distclean) \
8931 || exit 1
8933 @endif flex
8935 .PHONY: maybe-maintainer-clean-flex maintainer-clean-flex
8936 maybe-maintainer-clean-flex:
8937 @if flex
8938 maybe-maintainer-clean-flex: maintainer-clean-flex
8940 maintainer-clean-flex:
8941 @[ -f ./flex/Makefile ] || exit 0; \
8942 r=`${PWD_COMMAND}`; export r; \
8943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8944 $(SET_LIB_PATH) \
8945 $(HOST_EXPORTS) \
8946 for flag in $(EXTRA_HOST_FLAGS) ; do \
8947 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
8948 done; \
8949 echo "Doing maintainer-clean in flex" ; \
8950 (cd $(HOST_SUBDIR)/flex && \
8951 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
8952 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
8953 "RANLIB=$${RANLIB}" \
8954 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
8955 maintainer-clean) \
8956 || exit 1
8958 @endif flex
8961 .PHONY: configure-gas maybe-configure-gas
8962 maybe-configure-gas:
8963 @if gas
8964 maybe-configure-gas: configure-gas
8965 configure-gas:
8966 @test -f stage_last && exit 0; \
8967 test ! -f $(HOST_SUBDIR)/gas/Makefile || exit 0; \
8968 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gas ; \
8969 r=`${PWD_COMMAND}`; export r; \
8970 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8971 $(HOST_EXPORTS) \
8972 echo Configuring in gas; \
8973 cd $(HOST_SUBDIR)/gas || exit 1; \
8974 case $(srcdir) in \
8975 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
8976 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
8977 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
8978 esac; \
8979 srcdiroption="--srcdir=$${topdir}/gas"; \
8980 libsrcdir="$$s/gas"; \
8981 $(SHELL) $${libsrcdir}/configure \
8982 $(HOST_CONFIGARGS) $${srcdiroption} \
8983 || exit 1
8984 @endif gas
8986 .PHONY: all-gas maybe-all-gas
8987 maybe-all-gas:
8988 @if gas
8989 TARGET-gas=all
8990 maybe-all-gas: all-gas
8991 all-gas: configure-gas
8992 @test -f stage_last && exit 0; \
8993 r=`${PWD_COMMAND}`; export r; \
8994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
8995 $(SET_LIB_PATH) \
8996 $(HOST_EXPORTS) \
8997 (cd $(HOST_SUBDIR)/gas && \
8998 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gas))
8999 @endif gas
9001 .PHONY: check-gas maybe-check-gas
9002 maybe-check-gas:
9003 @if gas
9004 maybe-check-gas: check-gas
9006 check-gas:
9007 @r=`${PWD_COMMAND}`; export r; \
9008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9009 $(SET_LIB_PATH) \
9010 $(HOST_EXPORTS) \
9011 (cd $(HOST_SUBDIR)/gas && \
9012 $(MAKE) $(FLAGS_TO_PASS) check)
9014 @endif gas
9016 .PHONY: install-gas maybe-install-gas
9017 maybe-install-gas:
9018 @if gas
9019 maybe-install-gas: install-gas
9021 install-gas: installdirs
9022 @r=`${PWD_COMMAND}`; export r; \
9023 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9024 $(SET_LIB_PATH) \
9025 $(HOST_EXPORTS) \
9026 (cd $(HOST_SUBDIR)/gas && \
9027 $(MAKE) $(FLAGS_TO_PASS) install)
9029 @endif gas
9031 # Other targets (info, dvi, etc.)
9033 .PHONY: maybe-info-gas info-gas
9034 maybe-info-gas:
9035 @if gas
9036 maybe-info-gas: info-gas
9038 info-gas: \
9039 configure-gas
9040 @[ -f ./gas/Makefile ] || exit 0; \
9041 r=`${PWD_COMMAND}`; export r; \
9042 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9043 $(SET_LIB_PATH) \
9044 $(HOST_EXPORTS) \
9045 for flag in $(EXTRA_HOST_FLAGS) ; do \
9046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9047 done; \
9048 echo "Doing info in gas" ; \
9049 (cd $(HOST_SUBDIR)/gas && \
9050 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9051 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9052 "RANLIB=$${RANLIB}" \
9053 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9054 info) \
9055 || exit 1
9057 @endif gas
9059 .PHONY: maybe-dvi-gas dvi-gas
9060 maybe-dvi-gas:
9061 @if gas
9062 maybe-dvi-gas: dvi-gas
9064 dvi-gas: \
9065 configure-gas
9066 @[ -f ./gas/Makefile ] || exit 0; \
9067 r=`${PWD_COMMAND}`; export r; \
9068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9069 $(SET_LIB_PATH) \
9070 $(HOST_EXPORTS) \
9071 for flag in $(EXTRA_HOST_FLAGS) ; do \
9072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9073 done; \
9074 echo "Doing dvi in gas" ; \
9075 (cd $(HOST_SUBDIR)/gas && \
9076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9078 "RANLIB=$${RANLIB}" \
9079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9080 dvi) \
9081 || exit 1
9083 @endif gas
9085 .PHONY: maybe-html-gas html-gas
9086 maybe-html-gas:
9087 @if gas
9088 maybe-html-gas: html-gas
9090 html-gas: \
9091 configure-gas
9092 @[ -f ./gas/Makefile ] || exit 0; \
9093 r=`${PWD_COMMAND}`; export r; \
9094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9095 $(SET_LIB_PATH) \
9096 $(HOST_EXPORTS) \
9097 for flag in $(EXTRA_HOST_FLAGS) ; do \
9098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9099 done; \
9100 echo "Doing html in gas" ; \
9101 (cd $(HOST_SUBDIR)/gas && \
9102 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9103 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9104 "RANLIB=$${RANLIB}" \
9105 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9106 html) \
9107 || exit 1
9109 @endif gas
9111 .PHONY: maybe-TAGS-gas TAGS-gas
9112 maybe-TAGS-gas:
9113 @if gas
9114 maybe-TAGS-gas: TAGS-gas
9116 TAGS-gas: \
9117 configure-gas
9118 @[ -f ./gas/Makefile ] || exit 0; \
9119 r=`${PWD_COMMAND}`; export r; \
9120 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9121 $(SET_LIB_PATH) \
9122 $(HOST_EXPORTS) \
9123 for flag in $(EXTRA_HOST_FLAGS) ; do \
9124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9125 done; \
9126 echo "Doing TAGS in gas" ; \
9127 (cd $(HOST_SUBDIR)/gas && \
9128 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9129 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9130 "RANLIB=$${RANLIB}" \
9131 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9132 TAGS) \
9133 || exit 1
9135 @endif gas
9137 .PHONY: maybe-install-info-gas install-info-gas
9138 maybe-install-info-gas:
9139 @if gas
9140 maybe-install-info-gas: install-info-gas
9142 install-info-gas: \
9143 configure-gas \
9144 info-gas
9145 @[ -f ./gas/Makefile ] || exit 0; \
9146 r=`${PWD_COMMAND}`; export r; \
9147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9148 $(SET_LIB_PATH) \
9149 $(HOST_EXPORTS) \
9150 for flag in $(EXTRA_HOST_FLAGS) ; do \
9151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9152 done; \
9153 echo "Doing install-info in gas" ; \
9154 (cd $(HOST_SUBDIR)/gas && \
9155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9157 "RANLIB=$${RANLIB}" \
9158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9159 install-info) \
9160 || exit 1
9162 @endif gas
9164 .PHONY: maybe-installcheck-gas installcheck-gas
9165 maybe-installcheck-gas:
9166 @if gas
9167 maybe-installcheck-gas: installcheck-gas
9169 installcheck-gas: \
9170 configure-gas
9171 @[ -f ./gas/Makefile ] || exit 0; \
9172 r=`${PWD_COMMAND}`; export r; \
9173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9174 $(SET_LIB_PATH) \
9175 $(HOST_EXPORTS) \
9176 for flag in $(EXTRA_HOST_FLAGS) ; do \
9177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9178 done; \
9179 echo "Doing installcheck in gas" ; \
9180 (cd $(HOST_SUBDIR)/gas && \
9181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9183 "RANLIB=$${RANLIB}" \
9184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9185 installcheck) \
9186 || exit 1
9188 @endif gas
9190 .PHONY: maybe-mostlyclean-gas mostlyclean-gas
9191 maybe-mostlyclean-gas:
9192 @if gas
9193 maybe-mostlyclean-gas: mostlyclean-gas
9195 mostlyclean-gas:
9196 @[ -f ./gas/Makefile ] || exit 0; \
9197 r=`${PWD_COMMAND}`; export r; \
9198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9199 $(SET_LIB_PATH) \
9200 $(HOST_EXPORTS) \
9201 for flag in $(EXTRA_HOST_FLAGS) ; do \
9202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9203 done; \
9204 echo "Doing mostlyclean in gas" ; \
9205 (cd $(HOST_SUBDIR)/gas && \
9206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9208 "RANLIB=$${RANLIB}" \
9209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9210 mostlyclean) \
9211 || exit 1
9213 @endif gas
9215 .PHONY: maybe-clean-gas clean-gas
9216 maybe-clean-gas:
9217 @if gas
9218 maybe-clean-gas: clean-gas
9220 clean-gas:
9221 @[ -f ./gas/Makefile ] || exit 0; \
9222 r=`${PWD_COMMAND}`; export r; \
9223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9224 $(SET_LIB_PATH) \
9225 $(HOST_EXPORTS) \
9226 for flag in $(EXTRA_HOST_FLAGS) ; do \
9227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9228 done; \
9229 echo "Doing clean in gas" ; \
9230 (cd $(HOST_SUBDIR)/gas && \
9231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9233 "RANLIB=$${RANLIB}" \
9234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9235 clean) \
9236 || exit 1
9238 @endif gas
9240 .PHONY: maybe-distclean-gas distclean-gas
9241 maybe-distclean-gas:
9242 @if gas
9243 maybe-distclean-gas: distclean-gas
9245 distclean-gas:
9246 @[ -f ./gas/Makefile ] || exit 0; \
9247 r=`${PWD_COMMAND}`; export r; \
9248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9249 $(SET_LIB_PATH) \
9250 $(HOST_EXPORTS) \
9251 for flag in $(EXTRA_HOST_FLAGS) ; do \
9252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9253 done; \
9254 echo "Doing distclean in gas" ; \
9255 (cd $(HOST_SUBDIR)/gas && \
9256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9258 "RANLIB=$${RANLIB}" \
9259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9260 distclean) \
9261 || exit 1
9263 @endif gas
9265 .PHONY: maybe-maintainer-clean-gas maintainer-clean-gas
9266 maybe-maintainer-clean-gas:
9267 @if gas
9268 maybe-maintainer-clean-gas: maintainer-clean-gas
9270 maintainer-clean-gas:
9271 @[ -f ./gas/Makefile ] || exit 0; \
9272 r=`${PWD_COMMAND}`; export r; \
9273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9274 $(SET_LIB_PATH) \
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 maintainer-clean in gas" ; \
9280 (cd $(HOST_SUBDIR)/gas && \
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 maintainer-clean) \
9286 || exit 1
9288 @endif gas
9291 .PHONY: configure-gcc maybe-configure-gcc
9292 maybe-configure-gcc:
9293 @if gcc
9294 maybe-configure-gcc: configure-gcc
9295 configure-gcc:
9296 @test -f stage_last && exit 0; \
9297 test ! -f $(HOST_SUBDIR)/gcc/Makefile || exit 0; \
9298 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gcc ; \
9299 r=`${PWD_COMMAND}`; export r; \
9300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9301 $(HOST_EXPORTS) \
9302 echo Configuring in gcc; \
9303 cd $(HOST_SUBDIR)/gcc || exit 1; \
9304 case $(srcdir) in \
9305 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9306 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
9307 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9308 esac; \
9309 srcdiroption="--srcdir=$${topdir}/gcc"; \
9310 libsrcdir="$$s/gcc"; \
9311 $(SHELL) $${libsrcdir}/configure \
9312 $(HOST_CONFIGARGS) $${srcdiroption} \
9313 || exit 1
9314 @endif gcc
9316 .PHONY: all-gcc maybe-all-gcc
9317 maybe-all-gcc:
9318 @if gcc
9319 TARGET-gcc=`if [ -f gcc/stage_last ]; then echo quickstrap ; else echo all; fi`
9320 maybe-all-gcc: all-gcc
9321 all-gcc: configure-gcc
9322 @test -f stage_last && exit 0; \
9323 r=`${PWD_COMMAND}`; export r; \
9324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9325 $(SET_LIB_PATH) \
9326 $(HOST_EXPORTS) \
9327 (cd $(HOST_SUBDIR)/gcc && \
9328 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) $(TARGET-gcc))
9329 @endif gcc
9331 .PHONY: check-gcc maybe-check-gcc
9332 maybe-check-gcc:
9333 @if gcc
9334 maybe-check-gcc: check-gcc
9336 check-gcc:
9337 @r=`${PWD_COMMAND}`; export r; \
9338 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9339 $(SET_LIB_PATH) \
9340 $(HOST_EXPORTS) \
9341 (cd $(HOST_SUBDIR)/gcc && \
9342 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) check)
9344 @endif gcc
9346 .PHONY: install-gcc maybe-install-gcc
9347 maybe-install-gcc:
9348 @if gcc
9349 maybe-install-gcc: install-gcc
9351 install-gcc: installdirs
9352 @r=`${PWD_COMMAND}`; export r; \
9353 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9354 $(SET_LIB_PATH) \
9355 $(HOST_EXPORTS) \
9356 (cd $(HOST_SUBDIR)/gcc && \
9357 $(MAKE) $(FLAGS_TO_PASS) $(EXTRA_GCC_FLAGS) install)
9359 @endif gcc
9361 # Other targets (info, dvi, etc.)
9363 .PHONY: maybe-info-gcc info-gcc
9364 maybe-info-gcc:
9365 @if gcc
9366 maybe-info-gcc: info-gcc
9368 info-gcc: \
9369 configure-gcc
9370 @[ -f ./gcc/Makefile ] || exit 0; \
9371 r=`${PWD_COMMAND}`; export r; \
9372 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9373 $(SET_LIB_PATH) \
9374 $(HOST_EXPORTS) \
9375 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9376 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9377 done; \
9378 echo "Doing info in gcc" ; \
9379 (cd $(HOST_SUBDIR)/gcc && \
9380 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9381 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9382 "RANLIB=$${RANLIB}" \
9383 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9384 info) \
9385 || exit 1
9387 @endif gcc
9389 .PHONY: maybe-dvi-gcc dvi-gcc
9390 maybe-dvi-gcc:
9391 @if gcc
9392 maybe-dvi-gcc: dvi-gcc
9394 dvi-gcc: \
9395 configure-gcc
9396 @[ -f ./gcc/Makefile ] || exit 0; \
9397 r=`${PWD_COMMAND}`; export r; \
9398 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9399 $(SET_LIB_PATH) \
9400 $(HOST_EXPORTS) \
9401 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9402 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9403 done; \
9404 echo "Doing dvi in gcc" ; \
9405 (cd $(HOST_SUBDIR)/gcc && \
9406 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9407 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9408 "RANLIB=$${RANLIB}" \
9409 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9410 dvi) \
9411 || exit 1
9413 @endif gcc
9415 .PHONY: maybe-html-gcc html-gcc
9416 maybe-html-gcc:
9417 @if gcc
9418 maybe-html-gcc: html-gcc
9420 html-gcc: \
9421 configure-gcc
9422 @[ -f ./gcc/Makefile ] || exit 0; \
9423 r=`${PWD_COMMAND}`; export r; \
9424 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9425 $(SET_LIB_PATH) \
9426 $(HOST_EXPORTS) \
9427 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9428 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9429 done; \
9430 echo "Doing html in gcc" ; \
9431 (cd $(HOST_SUBDIR)/gcc && \
9432 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9433 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9434 "RANLIB=$${RANLIB}" \
9435 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9436 html) \
9437 || exit 1
9439 @endif gcc
9441 .PHONY: maybe-TAGS-gcc TAGS-gcc
9442 maybe-TAGS-gcc:
9443 @if gcc
9444 maybe-TAGS-gcc: TAGS-gcc
9446 TAGS-gcc: \
9447 configure-gcc
9448 @[ -f ./gcc/Makefile ] || exit 0; \
9449 r=`${PWD_COMMAND}`; export r; \
9450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9451 $(SET_LIB_PATH) \
9452 $(HOST_EXPORTS) \
9453 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9455 done; \
9456 echo "Doing TAGS in gcc" ; \
9457 (cd $(HOST_SUBDIR)/gcc && \
9458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9460 "RANLIB=$${RANLIB}" \
9461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9462 TAGS) \
9463 || exit 1
9465 @endif gcc
9467 .PHONY: maybe-install-info-gcc install-info-gcc
9468 maybe-install-info-gcc:
9469 @if gcc
9470 maybe-install-info-gcc: install-info-gcc
9472 install-info-gcc: \
9473 configure-gcc \
9474 info-gcc
9475 @[ -f ./gcc/Makefile ] || exit 0; \
9476 r=`${PWD_COMMAND}`; export r; \
9477 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9478 $(SET_LIB_PATH) \
9479 $(HOST_EXPORTS) \
9480 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9481 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9482 done; \
9483 echo "Doing install-info in gcc" ; \
9484 (cd $(HOST_SUBDIR)/gcc && \
9485 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9486 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9487 "RANLIB=$${RANLIB}" \
9488 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9489 install-info) \
9490 || exit 1
9492 @endif gcc
9494 .PHONY: maybe-installcheck-gcc installcheck-gcc
9495 maybe-installcheck-gcc:
9496 @if gcc
9497 maybe-installcheck-gcc: installcheck-gcc
9499 installcheck-gcc: \
9500 configure-gcc
9501 @[ -f ./gcc/Makefile ] || exit 0; \
9502 r=`${PWD_COMMAND}`; export r; \
9503 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9504 $(SET_LIB_PATH) \
9505 $(HOST_EXPORTS) \
9506 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9507 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9508 done; \
9509 echo "Doing installcheck in gcc" ; \
9510 (cd $(HOST_SUBDIR)/gcc && \
9511 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9512 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9513 "RANLIB=$${RANLIB}" \
9514 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9515 installcheck) \
9516 || exit 1
9518 @endif gcc
9520 .PHONY: maybe-mostlyclean-gcc mostlyclean-gcc
9521 maybe-mostlyclean-gcc:
9522 @if gcc
9523 maybe-mostlyclean-gcc: mostlyclean-gcc
9525 mostlyclean-gcc:
9526 @[ -f ./gcc/Makefile ] || exit 0; \
9527 r=`${PWD_COMMAND}`; export r; \
9528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9529 $(SET_LIB_PATH) \
9530 $(HOST_EXPORTS) \
9531 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9532 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9533 done; \
9534 echo "Doing mostlyclean in gcc" ; \
9535 (cd $(HOST_SUBDIR)/gcc && \
9536 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9537 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9538 "RANLIB=$${RANLIB}" \
9539 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9540 mostlyclean) \
9541 || exit 1
9543 @endif gcc
9545 .PHONY: maybe-clean-gcc clean-gcc
9546 maybe-clean-gcc:
9547 @if gcc
9548 maybe-clean-gcc: clean-gcc
9550 clean-gcc:
9551 @[ -f ./gcc/Makefile ] || exit 0; \
9552 r=`${PWD_COMMAND}`; export r; \
9553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9554 $(SET_LIB_PATH) \
9555 $(HOST_EXPORTS) \
9556 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9557 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9558 done; \
9559 echo "Doing clean in gcc" ; \
9560 (cd $(HOST_SUBDIR)/gcc && \
9561 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9562 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9563 "RANLIB=$${RANLIB}" \
9564 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9565 clean) \
9566 || exit 1
9568 @endif gcc
9570 .PHONY: maybe-distclean-gcc distclean-gcc
9571 maybe-distclean-gcc:
9572 @if gcc
9573 maybe-distclean-gcc: distclean-gcc
9575 distclean-gcc:
9576 @[ -f ./gcc/Makefile ] || exit 0; \
9577 r=`${PWD_COMMAND}`; export r; \
9578 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9579 $(SET_LIB_PATH) \
9580 $(HOST_EXPORTS) \
9581 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9582 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9583 done; \
9584 echo "Doing distclean in gcc" ; \
9585 (cd $(HOST_SUBDIR)/gcc && \
9586 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9587 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9588 "RANLIB=$${RANLIB}" \
9589 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9590 distclean) \
9591 || exit 1
9593 @endif gcc
9595 .PHONY: maybe-maintainer-clean-gcc maintainer-clean-gcc
9596 maybe-maintainer-clean-gcc:
9597 @if gcc
9598 maybe-maintainer-clean-gcc: maintainer-clean-gcc
9600 maintainer-clean-gcc:
9601 @[ -f ./gcc/Makefile ] || exit 0; \
9602 r=`${PWD_COMMAND}`; export r; \
9603 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9604 $(SET_LIB_PATH) \
9605 $(HOST_EXPORTS) \
9606 for flag in $(EXTRA_HOST_FLAGS) $(EXTRA_GCC_FLAGS); do \
9607 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9608 done; \
9609 echo "Doing maintainer-clean in gcc" ; \
9610 (cd $(HOST_SUBDIR)/gcc && \
9611 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9612 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9613 "RANLIB=$${RANLIB}" \
9614 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9615 maintainer-clean) \
9616 || exit 1
9618 @endif gcc
9621 .PHONY: configure-gawk maybe-configure-gawk
9622 maybe-configure-gawk:
9623 @if gawk
9624 maybe-configure-gawk: configure-gawk
9625 configure-gawk:
9626 @test ! -f $(HOST_SUBDIR)/gawk/Makefile || exit 0; \
9627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gawk ; \
9628 r=`${PWD_COMMAND}`; export r; \
9629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9630 $(HOST_EXPORTS) \
9631 echo Configuring in gawk; \
9632 cd $(HOST_SUBDIR)/gawk || exit 1; \
9633 case $(srcdir) in \
9634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9635 *) topdir=`echo $(HOST_SUBDIR)/gawk/ | \
9636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9637 esac; \
9638 srcdiroption="--srcdir=$${topdir}/gawk"; \
9639 libsrcdir="$$s/gawk"; \
9640 $(SHELL) $${libsrcdir}/configure \
9641 $(HOST_CONFIGARGS) $${srcdiroption} \
9642 || exit 1
9643 @endif gawk
9645 .PHONY: all-gawk maybe-all-gawk
9646 maybe-all-gawk:
9647 @if gawk
9648 TARGET-gawk=all
9649 maybe-all-gawk: all-gawk
9650 all-gawk: configure-gawk
9651 @r=`${PWD_COMMAND}`; export r; \
9652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9653 $(SET_LIB_PATH) \
9654 $(HOST_EXPORTS) \
9655 (cd $(HOST_SUBDIR)/gawk && \
9656 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gawk))
9657 @endif gawk
9659 .PHONY: check-gawk maybe-check-gawk
9660 maybe-check-gawk:
9661 @if gawk
9662 maybe-check-gawk: check-gawk
9664 check-gawk:
9665 @r=`${PWD_COMMAND}`; export r; \
9666 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9667 $(SET_LIB_PATH) \
9668 $(HOST_EXPORTS) \
9669 (cd $(HOST_SUBDIR)/gawk && \
9670 $(MAKE) $(FLAGS_TO_PASS) check)
9672 @endif gawk
9674 .PHONY: install-gawk maybe-install-gawk
9675 maybe-install-gawk:
9676 @if gawk
9677 maybe-install-gawk: install-gawk
9679 install-gawk: installdirs
9680 @r=`${PWD_COMMAND}`; export r; \
9681 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9682 $(SET_LIB_PATH) \
9683 $(HOST_EXPORTS) \
9684 (cd $(HOST_SUBDIR)/gawk && \
9685 $(MAKE) $(FLAGS_TO_PASS) install)
9687 @endif gawk
9689 # Other targets (info, dvi, etc.)
9691 .PHONY: maybe-info-gawk info-gawk
9692 maybe-info-gawk:
9693 @if gawk
9694 maybe-info-gawk: info-gawk
9696 info-gawk: \
9697 configure-gawk
9698 @[ -f ./gawk/Makefile ] || exit 0; \
9699 r=`${PWD_COMMAND}`; export r; \
9700 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9701 $(SET_LIB_PATH) \
9702 $(HOST_EXPORTS) \
9703 for flag in $(EXTRA_HOST_FLAGS) ; do \
9704 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9705 done; \
9706 echo "Doing info in gawk" ; \
9707 (cd $(HOST_SUBDIR)/gawk && \
9708 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9709 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9710 "RANLIB=$${RANLIB}" \
9711 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9712 info) \
9713 || exit 1
9715 @endif gawk
9717 .PHONY: maybe-dvi-gawk dvi-gawk
9718 maybe-dvi-gawk:
9719 @if gawk
9720 maybe-dvi-gawk: dvi-gawk
9722 dvi-gawk: \
9723 configure-gawk
9724 @[ -f ./gawk/Makefile ] || exit 0; \
9725 r=`${PWD_COMMAND}`; export r; \
9726 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9727 $(SET_LIB_PATH) \
9728 $(HOST_EXPORTS) \
9729 for flag in $(EXTRA_HOST_FLAGS) ; do \
9730 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9731 done; \
9732 echo "Doing dvi in gawk" ; \
9733 (cd $(HOST_SUBDIR)/gawk && \
9734 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9735 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9736 "RANLIB=$${RANLIB}" \
9737 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9738 dvi) \
9739 || exit 1
9741 @endif gawk
9743 .PHONY: maybe-html-gawk html-gawk
9744 maybe-html-gawk:
9745 @if gawk
9746 maybe-html-gawk: html-gawk
9748 html-gawk: \
9749 configure-gawk
9750 @[ -f ./gawk/Makefile ] || exit 0; \
9751 r=`${PWD_COMMAND}`; export r; \
9752 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9753 $(SET_LIB_PATH) \
9754 $(HOST_EXPORTS) \
9755 for flag in $(EXTRA_HOST_FLAGS) ; do \
9756 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9757 done; \
9758 echo "Doing html in gawk" ; \
9759 (cd $(HOST_SUBDIR)/gawk && \
9760 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9761 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9762 "RANLIB=$${RANLIB}" \
9763 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9764 html) \
9765 || exit 1
9767 @endif gawk
9769 .PHONY: maybe-TAGS-gawk TAGS-gawk
9770 maybe-TAGS-gawk:
9771 @if gawk
9772 maybe-TAGS-gawk: TAGS-gawk
9774 TAGS-gawk: \
9775 configure-gawk
9776 @[ -f ./gawk/Makefile ] || exit 0; \
9777 r=`${PWD_COMMAND}`; export r; \
9778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9779 $(SET_LIB_PATH) \
9780 $(HOST_EXPORTS) \
9781 for flag in $(EXTRA_HOST_FLAGS) ; do \
9782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9783 done; \
9784 echo "Doing TAGS in gawk" ; \
9785 (cd $(HOST_SUBDIR)/gawk && \
9786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9788 "RANLIB=$${RANLIB}" \
9789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9790 TAGS) \
9791 || exit 1
9793 @endif gawk
9795 .PHONY: maybe-install-info-gawk install-info-gawk
9796 maybe-install-info-gawk:
9797 @if gawk
9798 maybe-install-info-gawk: install-info-gawk
9800 install-info-gawk: \
9801 configure-gawk \
9802 info-gawk
9803 @[ -f ./gawk/Makefile ] || exit 0; \
9804 r=`${PWD_COMMAND}`; export r; \
9805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9806 $(SET_LIB_PATH) \
9807 $(HOST_EXPORTS) \
9808 for flag in $(EXTRA_HOST_FLAGS) ; do \
9809 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9810 done; \
9811 echo "Doing install-info in gawk" ; \
9812 (cd $(HOST_SUBDIR)/gawk && \
9813 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9814 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9815 "RANLIB=$${RANLIB}" \
9816 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9817 install-info) \
9818 || exit 1
9820 @endif gawk
9822 .PHONY: maybe-installcheck-gawk installcheck-gawk
9823 maybe-installcheck-gawk:
9824 @if gawk
9825 maybe-installcheck-gawk: installcheck-gawk
9827 installcheck-gawk: \
9828 configure-gawk
9829 @[ -f ./gawk/Makefile ] || exit 0; \
9830 r=`${PWD_COMMAND}`; export r; \
9831 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9832 $(SET_LIB_PATH) \
9833 $(HOST_EXPORTS) \
9834 for flag in $(EXTRA_HOST_FLAGS) ; do \
9835 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9836 done; \
9837 echo "Doing installcheck in gawk" ; \
9838 (cd $(HOST_SUBDIR)/gawk && \
9839 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9840 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9841 "RANLIB=$${RANLIB}" \
9842 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9843 installcheck) \
9844 || exit 1
9846 @endif gawk
9848 .PHONY: maybe-mostlyclean-gawk mostlyclean-gawk
9849 maybe-mostlyclean-gawk:
9850 @if gawk
9851 maybe-mostlyclean-gawk: mostlyclean-gawk
9853 mostlyclean-gawk:
9854 @[ -f ./gawk/Makefile ] || exit 0; \
9855 r=`${PWD_COMMAND}`; export r; \
9856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9857 $(SET_LIB_PATH) \
9858 $(HOST_EXPORTS) \
9859 for flag in $(EXTRA_HOST_FLAGS) ; do \
9860 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9861 done; \
9862 echo "Doing mostlyclean in gawk" ; \
9863 (cd $(HOST_SUBDIR)/gawk && \
9864 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9865 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9866 "RANLIB=$${RANLIB}" \
9867 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9868 mostlyclean) \
9869 || exit 1
9871 @endif gawk
9873 .PHONY: maybe-clean-gawk clean-gawk
9874 maybe-clean-gawk:
9875 @if gawk
9876 maybe-clean-gawk: clean-gawk
9878 clean-gawk:
9879 @[ -f ./gawk/Makefile ] || exit 0; \
9880 r=`${PWD_COMMAND}`; export r; \
9881 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9882 $(SET_LIB_PATH) \
9883 $(HOST_EXPORTS) \
9884 for flag in $(EXTRA_HOST_FLAGS) ; do \
9885 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9886 done; \
9887 echo "Doing clean in gawk" ; \
9888 (cd $(HOST_SUBDIR)/gawk && \
9889 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9890 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9891 "RANLIB=$${RANLIB}" \
9892 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9893 clean) \
9894 || exit 1
9896 @endif gawk
9898 .PHONY: maybe-distclean-gawk distclean-gawk
9899 maybe-distclean-gawk:
9900 @if gawk
9901 maybe-distclean-gawk: distclean-gawk
9903 distclean-gawk:
9904 @[ -f ./gawk/Makefile ] || exit 0; \
9905 r=`${PWD_COMMAND}`; export r; \
9906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9907 $(SET_LIB_PATH) \
9908 $(HOST_EXPORTS) \
9909 for flag in $(EXTRA_HOST_FLAGS) ; do \
9910 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9911 done; \
9912 echo "Doing distclean in gawk" ; \
9913 (cd $(HOST_SUBDIR)/gawk && \
9914 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9915 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9916 "RANLIB=$${RANLIB}" \
9917 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9918 distclean) \
9919 || exit 1
9921 @endif gawk
9923 .PHONY: maybe-maintainer-clean-gawk maintainer-clean-gawk
9924 maybe-maintainer-clean-gawk:
9925 @if gawk
9926 maybe-maintainer-clean-gawk: maintainer-clean-gawk
9928 maintainer-clean-gawk:
9929 @[ -f ./gawk/Makefile ] || exit 0; \
9930 r=`${PWD_COMMAND}`; export r; \
9931 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9932 $(SET_LIB_PATH) \
9933 $(HOST_EXPORTS) \
9934 for flag in $(EXTRA_HOST_FLAGS) ; do \
9935 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
9936 done; \
9937 echo "Doing maintainer-clean in gawk" ; \
9938 (cd $(HOST_SUBDIR)/gawk && \
9939 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
9940 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
9941 "RANLIB=$${RANLIB}" \
9942 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
9943 maintainer-clean) \
9944 || exit 1
9946 @endif gawk
9949 .PHONY: configure-gettext maybe-configure-gettext
9950 maybe-configure-gettext:
9951 @if gettext
9952 maybe-configure-gettext: configure-gettext
9953 configure-gettext:
9954 @test ! -f $(HOST_SUBDIR)/gettext/Makefile || exit 0; \
9955 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gettext ; \
9956 r=`${PWD_COMMAND}`; export r; \
9957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9958 $(HOST_EXPORTS) \
9959 echo Configuring in gettext; \
9960 cd $(HOST_SUBDIR)/gettext || exit 1; \
9961 case $(srcdir) in \
9962 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
9963 *) topdir=`echo $(HOST_SUBDIR)/gettext/ | \
9964 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
9965 esac; \
9966 srcdiroption="--srcdir=$${topdir}/gettext"; \
9967 libsrcdir="$$s/gettext"; \
9968 $(SHELL) $${libsrcdir}/configure \
9969 $(HOST_CONFIGARGS) $${srcdiroption} \
9970 || exit 1
9971 @endif gettext
9973 .PHONY: all-gettext maybe-all-gettext
9974 maybe-all-gettext:
9975 @if gettext
9976 TARGET-gettext=all
9977 maybe-all-gettext: all-gettext
9978 all-gettext: configure-gettext
9979 @r=`${PWD_COMMAND}`; export r; \
9980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9981 $(SET_LIB_PATH) \
9982 $(HOST_EXPORTS) \
9983 (cd $(HOST_SUBDIR)/gettext && \
9984 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gettext))
9985 @endif gettext
9987 .PHONY: check-gettext maybe-check-gettext
9988 maybe-check-gettext:
9989 @if gettext
9990 maybe-check-gettext: check-gettext
9992 check-gettext:
9993 @r=`${PWD_COMMAND}`; export r; \
9994 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
9995 $(SET_LIB_PATH) \
9996 $(HOST_EXPORTS) \
9997 (cd $(HOST_SUBDIR)/gettext && \
9998 $(MAKE) $(FLAGS_TO_PASS) check)
10000 @endif gettext
10002 .PHONY: install-gettext maybe-install-gettext
10003 maybe-install-gettext:
10004 @if gettext
10005 maybe-install-gettext: install-gettext
10007 install-gettext: installdirs
10008 @r=`${PWD_COMMAND}`; export r; \
10009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10010 $(SET_LIB_PATH) \
10011 $(HOST_EXPORTS) \
10012 (cd $(HOST_SUBDIR)/gettext && \
10013 $(MAKE) $(FLAGS_TO_PASS) install)
10015 @endif gettext
10017 # Other targets (info, dvi, etc.)
10019 .PHONY: maybe-info-gettext info-gettext
10020 maybe-info-gettext:
10021 @if gettext
10022 maybe-info-gettext: info-gettext
10024 info-gettext: \
10025 configure-gettext
10026 @[ -f ./gettext/Makefile ] || exit 0; \
10027 r=`${PWD_COMMAND}`; export r; \
10028 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10029 $(SET_LIB_PATH) \
10030 $(HOST_EXPORTS) \
10031 for flag in $(EXTRA_HOST_FLAGS) ; do \
10032 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10033 done; \
10034 echo "Doing info in gettext" ; \
10035 (cd $(HOST_SUBDIR)/gettext && \
10036 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10037 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10038 "RANLIB=$${RANLIB}" \
10039 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10040 info) \
10041 || exit 1
10043 @endif gettext
10045 .PHONY: maybe-dvi-gettext dvi-gettext
10046 maybe-dvi-gettext:
10047 @if gettext
10048 maybe-dvi-gettext: dvi-gettext
10050 dvi-gettext: \
10051 configure-gettext
10052 @[ -f ./gettext/Makefile ] || exit 0; \
10053 r=`${PWD_COMMAND}`; export r; \
10054 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10055 $(SET_LIB_PATH) \
10056 $(HOST_EXPORTS) \
10057 for flag in $(EXTRA_HOST_FLAGS) ; do \
10058 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10059 done; \
10060 echo "Doing dvi in gettext" ; \
10061 (cd $(HOST_SUBDIR)/gettext && \
10062 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10063 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10064 "RANLIB=$${RANLIB}" \
10065 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10066 dvi) \
10067 || exit 1
10069 @endif gettext
10071 .PHONY: maybe-html-gettext html-gettext
10072 maybe-html-gettext:
10073 @if gettext
10074 maybe-html-gettext: html-gettext
10076 html-gettext: \
10077 configure-gettext
10078 @[ -f ./gettext/Makefile ] || exit 0; \
10079 r=`${PWD_COMMAND}`; export r; \
10080 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10081 $(SET_LIB_PATH) \
10082 $(HOST_EXPORTS) \
10083 for flag in $(EXTRA_HOST_FLAGS) ; do \
10084 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10085 done; \
10086 echo "Doing html in gettext" ; \
10087 (cd $(HOST_SUBDIR)/gettext && \
10088 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10089 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10090 "RANLIB=$${RANLIB}" \
10091 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10092 html) \
10093 || exit 1
10095 @endif gettext
10097 .PHONY: maybe-TAGS-gettext TAGS-gettext
10098 maybe-TAGS-gettext:
10099 @if gettext
10100 maybe-TAGS-gettext: TAGS-gettext
10102 TAGS-gettext: \
10103 configure-gettext
10104 @[ -f ./gettext/Makefile ] || exit 0; \
10105 r=`${PWD_COMMAND}`; export r; \
10106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10107 $(SET_LIB_PATH) \
10108 $(HOST_EXPORTS) \
10109 for flag in $(EXTRA_HOST_FLAGS) ; do \
10110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10111 done; \
10112 echo "Doing TAGS in gettext" ; \
10113 (cd $(HOST_SUBDIR)/gettext && \
10114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10116 "RANLIB=$${RANLIB}" \
10117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10118 TAGS) \
10119 || exit 1
10121 @endif gettext
10123 .PHONY: maybe-install-info-gettext install-info-gettext
10124 maybe-install-info-gettext:
10125 @if gettext
10126 maybe-install-info-gettext: install-info-gettext
10128 install-info-gettext: \
10129 configure-gettext \
10130 info-gettext
10131 @[ -f ./gettext/Makefile ] || exit 0; \
10132 r=`${PWD_COMMAND}`; export r; \
10133 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10134 $(SET_LIB_PATH) \
10135 $(HOST_EXPORTS) \
10136 for flag in $(EXTRA_HOST_FLAGS) ; do \
10137 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10138 done; \
10139 echo "Doing install-info in gettext" ; \
10140 (cd $(HOST_SUBDIR)/gettext && \
10141 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10142 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10143 "RANLIB=$${RANLIB}" \
10144 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10145 install-info) \
10146 || exit 1
10148 @endif gettext
10150 .PHONY: maybe-installcheck-gettext installcheck-gettext
10151 maybe-installcheck-gettext:
10152 @if gettext
10153 maybe-installcheck-gettext: installcheck-gettext
10155 installcheck-gettext: \
10156 configure-gettext
10157 @[ -f ./gettext/Makefile ] || exit 0; \
10158 r=`${PWD_COMMAND}`; export r; \
10159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10160 $(SET_LIB_PATH) \
10161 $(HOST_EXPORTS) \
10162 for flag in $(EXTRA_HOST_FLAGS) ; do \
10163 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10164 done; \
10165 echo "Doing installcheck in gettext" ; \
10166 (cd $(HOST_SUBDIR)/gettext && \
10167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10169 "RANLIB=$${RANLIB}" \
10170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10171 installcheck) \
10172 || exit 1
10174 @endif gettext
10176 .PHONY: maybe-mostlyclean-gettext mostlyclean-gettext
10177 maybe-mostlyclean-gettext:
10178 @if gettext
10179 maybe-mostlyclean-gettext: mostlyclean-gettext
10181 mostlyclean-gettext:
10182 @[ -f ./gettext/Makefile ] || exit 0; \
10183 r=`${PWD_COMMAND}`; export r; \
10184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10185 $(SET_LIB_PATH) \
10186 $(HOST_EXPORTS) \
10187 for flag in $(EXTRA_HOST_FLAGS) ; do \
10188 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10189 done; \
10190 echo "Doing mostlyclean in gettext" ; \
10191 (cd $(HOST_SUBDIR)/gettext && \
10192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10194 "RANLIB=$${RANLIB}" \
10195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10196 mostlyclean) \
10197 || exit 1
10199 @endif gettext
10201 .PHONY: maybe-clean-gettext clean-gettext
10202 maybe-clean-gettext:
10203 @if gettext
10204 maybe-clean-gettext: clean-gettext
10206 clean-gettext:
10207 @[ -f ./gettext/Makefile ] || exit 0; \
10208 r=`${PWD_COMMAND}`; export r; \
10209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10210 $(SET_LIB_PATH) \
10211 $(HOST_EXPORTS) \
10212 for flag in $(EXTRA_HOST_FLAGS) ; do \
10213 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10214 done; \
10215 echo "Doing clean in gettext" ; \
10216 (cd $(HOST_SUBDIR)/gettext && \
10217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10219 "RANLIB=$${RANLIB}" \
10220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10221 clean) \
10222 || exit 1
10224 @endif gettext
10226 .PHONY: maybe-distclean-gettext distclean-gettext
10227 maybe-distclean-gettext:
10228 @if gettext
10229 maybe-distclean-gettext: distclean-gettext
10231 distclean-gettext:
10232 @[ -f ./gettext/Makefile ] || exit 0; \
10233 r=`${PWD_COMMAND}`; export r; \
10234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10235 $(SET_LIB_PATH) \
10236 $(HOST_EXPORTS) \
10237 for flag in $(EXTRA_HOST_FLAGS) ; do \
10238 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10239 done; \
10240 echo "Doing distclean in gettext" ; \
10241 (cd $(HOST_SUBDIR)/gettext && \
10242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10244 "RANLIB=$${RANLIB}" \
10245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10246 distclean) \
10247 || exit 1
10249 @endif gettext
10251 .PHONY: maybe-maintainer-clean-gettext maintainer-clean-gettext
10252 maybe-maintainer-clean-gettext:
10253 @if gettext
10254 maybe-maintainer-clean-gettext: maintainer-clean-gettext
10256 maintainer-clean-gettext:
10257 @[ -f ./gettext/Makefile ] || exit 0; \
10258 r=`${PWD_COMMAND}`; export r; \
10259 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10260 $(SET_LIB_PATH) \
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 maintainer-clean in gettext" ; \
10266 (cd $(HOST_SUBDIR)/gettext && \
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 maintainer-clean) \
10272 || exit 1
10274 @endif gettext
10277 .PHONY: configure-gnuserv maybe-configure-gnuserv
10278 maybe-configure-gnuserv:
10279 @if gnuserv
10280 maybe-configure-gnuserv: configure-gnuserv
10281 configure-gnuserv:
10282 @test ! -f $(HOST_SUBDIR)/gnuserv/Makefile || exit 0; \
10283 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnuserv ; \
10284 r=`${PWD_COMMAND}`; export r; \
10285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10286 $(HOST_EXPORTS) \
10287 echo Configuring in gnuserv; \
10288 cd $(HOST_SUBDIR)/gnuserv || exit 1; \
10289 case $(srcdir) in \
10290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10291 *) topdir=`echo $(HOST_SUBDIR)/gnuserv/ | \
10292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10293 esac; \
10294 srcdiroption="--srcdir=$${topdir}/gnuserv"; \
10295 libsrcdir="$$s/gnuserv"; \
10296 $(SHELL) $${libsrcdir}/configure \
10297 $(HOST_CONFIGARGS) $${srcdiroption} \
10298 || exit 1
10299 @endif gnuserv
10301 .PHONY: all-gnuserv maybe-all-gnuserv
10302 maybe-all-gnuserv:
10303 @if gnuserv
10304 TARGET-gnuserv=all
10305 maybe-all-gnuserv: all-gnuserv
10306 all-gnuserv: configure-gnuserv
10307 @r=`${PWD_COMMAND}`; export r; \
10308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10309 $(SET_LIB_PATH) \
10310 $(HOST_EXPORTS) \
10311 (cd $(HOST_SUBDIR)/gnuserv && \
10312 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnuserv))
10313 @endif gnuserv
10315 .PHONY: check-gnuserv maybe-check-gnuserv
10316 maybe-check-gnuserv:
10317 @if gnuserv
10318 maybe-check-gnuserv: check-gnuserv
10320 check-gnuserv:
10321 @r=`${PWD_COMMAND}`; export r; \
10322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10323 $(SET_LIB_PATH) \
10324 $(HOST_EXPORTS) \
10325 (cd $(HOST_SUBDIR)/gnuserv && \
10326 $(MAKE) $(FLAGS_TO_PASS) check)
10328 @endif gnuserv
10330 .PHONY: install-gnuserv maybe-install-gnuserv
10331 maybe-install-gnuserv:
10332 @if gnuserv
10333 maybe-install-gnuserv: install-gnuserv
10335 install-gnuserv: installdirs
10336 @r=`${PWD_COMMAND}`; export r; \
10337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10338 $(SET_LIB_PATH) \
10339 $(HOST_EXPORTS) \
10340 (cd $(HOST_SUBDIR)/gnuserv && \
10341 $(MAKE) $(FLAGS_TO_PASS) install)
10343 @endif gnuserv
10345 # Other targets (info, dvi, etc.)
10347 .PHONY: maybe-info-gnuserv info-gnuserv
10348 maybe-info-gnuserv:
10349 @if gnuserv
10350 maybe-info-gnuserv: info-gnuserv
10352 info-gnuserv: \
10353 configure-gnuserv
10354 @[ -f ./gnuserv/Makefile ] || exit 0; \
10355 r=`${PWD_COMMAND}`; export r; \
10356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10357 $(SET_LIB_PATH) \
10358 $(HOST_EXPORTS) \
10359 for flag in $(EXTRA_HOST_FLAGS) ; do \
10360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10361 done; \
10362 echo "Doing info in gnuserv" ; \
10363 (cd $(HOST_SUBDIR)/gnuserv && \
10364 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10365 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10366 "RANLIB=$${RANLIB}" \
10367 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10368 info) \
10369 || exit 1
10371 @endif gnuserv
10373 .PHONY: maybe-dvi-gnuserv dvi-gnuserv
10374 maybe-dvi-gnuserv:
10375 @if gnuserv
10376 maybe-dvi-gnuserv: dvi-gnuserv
10378 dvi-gnuserv: \
10379 configure-gnuserv
10380 @[ -f ./gnuserv/Makefile ] || exit 0; \
10381 r=`${PWD_COMMAND}`; export r; \
10382 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10383 $(SET_LIB_PATH) \
10384 $(HOST_EXPORTS) \
10385 for flag in $(EXTRA_HOST_FLAGS) ; do \
10386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10387 done; \
10388 echo "Doing dvi in gnuserv" ; \
10389 (cd $(HOST_SUBDIR)/gnuserv && \
10390 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10391 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10392 "RANLIB=$${RANLIB}" \
10393 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10394 dvi) \
10395 || exit 1
10397 @endif gnuserv
10399 .PHONY: maybe-html-gnuserv html-gnuserv
10400 maybe-html-gnuserv:
10401 @if gnuserv
10402 maybe-html-gnuserv: html-gnuserv
10404 html-gnuserv: \
10405 configure-gnuserv
10406 @[ -f ./gnuserv/Makefile ] || exit 0; \
10407 r=`${PWD_COMMAND}`; export r; \
10408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10409 $(SET_LIB_PATH) \
10410 $(HOST_EXPORTS) \
10411 for flag in $(EXTRA_HOST_FLAGS) ; do \
10412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10413 done; \
10414 echo "Doing html in gnuserv" ; \
10415 (cd $(HOST_SUBDIR)/gnuserv && \
10416 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10417 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10418 "RANLIB=$${RANLIB}" \
10419 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10420 html) \
10421 || exit 1
10423 @endif gnuserv
10425 .PHONY: maybe-TAGS-gnuserv TAGS-gnuserv
10426 maybe-TAGS-gnuserv:
10427 @if gnuserv
10428 maybe-TAGS-gnuserv: TAGS-gnuserv
10430 TAGS-gnuserv: \
10431 configure-gnuserv
10432 @[ -f ./gnuserv/Makefile ] || exit 0; \
10433 r=`${PWD_COMMAND}`; export r; \
10434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10435 $(SET_LIB_PATH) \
10436 $(HOST_EXPORTS) \
10437 for flag in $(EXTRA_HOST_FLAGS) ; do \
10438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10439 done; \
10440 echo "Doing TAGS in gnuserv" ; \
10441 (cd $(HOST_SUBDIR)/gnuserv && \
10442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10444 "RANLIB=$${RANLIB}" \
10445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10446 TAGS) \
10447 || exit 1
10449 @endif gnuserv
10451 .PHONY: maybe-install-info-gnuserv install-info-gnuserv
10452 maybe-install-info-gnuserv:
10453 @if gnuserv
10454 maybe-install-info-gnuserv: install-info-gnuserv
10456 install-info-gnuserv: \
10457 configure-gnuserv \
10458 info-gnuserv
10459 @[ -f ./gnuserv/Makefile ] || exit 0; \
10460 r=`${PWD_COMMAND}`; export r; \
10461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10462 $(SET_LIB_PATH) \
10463 $(HOST_EXPORTS) \
10464 for flag in $(EXTRA_HOST_FLAGS) ; do \
10465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10466 done; \
10467 echo "Doing install-info in gnuserv" ; \
10468 (cd $(HOST_SUBDIR)/gnuserv && \
10469 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10470 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10471 "RANLIB=$${RANLIB}" \
10472 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10473 install-info) \
10474 || exit 1
10476 @endif gnuserv
10478 .PHONY: maybe-installcheck-gnuserv installcheck-gnuserv
10479 maybe-installcheck-gnuserv:
10480 @if gnuserv
10481 maybe-installcheck-gnuserv: installcheck-gnuserv
10483 installcheck-gnuserv: \
10484 configure-gnuserv
10485 @[ -f ./gnuserv/Makefile ] || exit 0; \
10486 r=`${PWD_COMMAND}`; export r; \
10487 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10488 $(SET_LIB_PATH) \
10489 $(HOST_EXPORTS) \
10490 for flag in $(EXTRA_HOST_FLAGS) ; do \
10491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10492 done; \
10493 echo "Doing installcheck in gnuserv" ; \
10494 (cd $(HOST_SUBDIR)/gnuserv && \
10495 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10496 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10497 "RANLIB=$${RANLIB}" \
10498 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10499 installcheck) \
10500 || exit 1
10502 @endif gnuserv
10504 .PHONY: maybe-mostlyclean-gnuserv mostlyclean-gnuserv
10505 maybe-mostlyclean-gnuserv:
10506 @if gnuserv
10507 maybe-mostlyclean-gnuserv: mostlyclean-gnuserv
10509 mostlyclean-gnuserv:
10510 @[ -f ./gnuserv/Makefile ] || exit 0; \
10511 r=`${PWD_COMMAND}`; export r; \
10512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10513 $(SET_LIB_PATH) \
10514 $(HOST_EXPORTS) \
10515 for flag in $(EXTRA_HOST_FLAGS) ; do \
10516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10517 done; \
10518 echo "Doing mostlyclean in gnuserv" ; \
10519 (cd $(HOST_SUBDIR)/gnuserv && \
10520 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10521 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10522 "RANLIB=$${RANLIB}" \
10523 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10524 mostlyclean) \
10525 || exit 1
10527 @endif gnuserv
10529 .PHONY: maybe-clean-gnuserv clean-gnuserv
10530 maybe-clean-gnuserv:
10531 @if gnuserv
10532 maybe-clean-gnuserv: clean-gnuserv
10534 clean-gnuserv:
10535 @[ -f ./gnuserv/Makefile ] || exit 0; \
10536 r=`${PWD_COMMAND}`; export r; \
10537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10538 $(SET_LIB_PATH) \
10539 $(HOST_EXPORTS) \
10540 for flag in $(EXTRA_HOST_FLAGS) ; do \
10541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10542 done; \
10543 echo "Doing clean in gnuserv" ; \
10544 (cd $(HOST_SUBDIR)/gnuserv && \
10545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10547 "RANLIB=$${RANLIB}" \
10548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10549 clean) \
10550 || exit 1
10552 @endif gnuserv
10554 .PHONY: maybe-distclean-gnuserv distclean-gnuserv
10555 maybe-distclean-gnuserv:
10556 @if gnuserv
10557 maybe-distclean-gnuserv: distclean-gnuserv
10559 distclean-gnuserv:
10560 @[ -f ./gnuserv/Makefile ] || exit 0; \
10561 r=`${PWD_COMMAND}`; export r; \
10562 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10563 $(SET_LIB_PATH) \
10564 $(HOST_EXPORTS) \
10565 for flag in $(EXTRA_HOST_FLAGS) ; do \
10566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10567 done; \
10568 echo "Doing distclean in gnuserv" ; \
10569 (cd $(HOST_SUBDIR)/gnuserv && \
10570 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10571 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10572 "RANLIB=$${RANLIB}" \
10573 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10574 distclean) \
10575 || exit 1
10577 @endif gnuserv
10579 .PHONY: maybe-maintainer-clean-gnuserv maintainer-clean-gnuserv
10580 maybe-maintainer-clean-gnuserv:
10581 @if gnuserv
10582 maybe-maintainer-clean-gnuserv: maintainer-clean-gnuserv
10584 maintainer-clean-gnuserv:
10585 @[ -f ./gnuserv/Makefile ] || exit 0; \
10586 r=`${PWD_COMMAND}`; export r; \
10587 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10588 $(SET_LIB_PATH) \
10589 $(HOST_EXPORTS) \
10590 for flag in $(EXTRA_HOST_FLAGS) ; do \
10591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10592 done; \
10593 echo "Doing maintainer-clean in gnuserv" ; \
10594 (cd $(HOST_SUBDIR)/gnuserv && \
10595 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10596 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10597 "RANLIB=$${RANLIB}" \
10598 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10599 maintainer-clean) \
10600 || exit 1
10602 @endif gnuserv
10605 .PHONY: configure-gprof maybe-configure-gprof
10606 maybe-configure-gprof:
10607 @if gprof
10608 maybe-configure-gprof: configure-gprof
10609 configure-gprof:
10610 @test ! -f $(HOST_SUBDIR)/gprof/Makefile || exit 0; \
10611 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gprof ; \
10612 r=`${PWD_COMMAND}`; export r; \
10613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10614 $(HOST_EXPORTS) \
10615 echo Configuring in gprof; \
10616 cd $(HOST_SUBDIR)/gprof || exit 1; \
10617 case $(srcdir) in \
10618 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10619 *) topdir=`echo $(HOST_SUBDIR)/gprof/ | \
10620 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10621 esac; \
10622 srcdiroption="--srcdir=$${topdir}/gprof"; \
10623 libsrcdir="$$s/gprof"; \
10624 $(SHELL) $${libsrcdir}/configure \
10625 $(HOST_CONFIGARGS) $${srcdiroption} \
10626 || exit 1
10627 @endif gprof
10629 .PHONY: all-gprof maybe-all-gprof
10630 maybe-all-gprof:
10631 @if gprof
10632 TARGET-gprof=all
10633 maybe-all-gprof: all-gprof
10634 all-gprof: configure-gprof
10635 @r=`${PWD_COMMAND}`; export r; \
10636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10637 $(SET_LIB_PATH) \
10638 $(HOST_EXPORTS) \
10639 (cd $(HOST_SUBDIR)/gprof && \
10640 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gprof))
10641 @endif gprof
10643 .PHONY: check-gprof maybe-check-gprof
10644 maybe-check-gprof:
10645 @if gprof
10646 maybe-check-gprof: check-gprof
10648 check-gprof:
10649 @r=`${PWD_COMMAND}`; export r; \
10650 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10651 $(SET_LIB_PATH) \
10652 $(HOST_EXPORTS) \
10653 (cd $(HOST_SUBDIR)/gprof && \
10654 $(MAKE) $(FLAGS_TO_PASS) check)
10656 @endif gprof
10658 .PHONY: install-gprof maybe-install-gprof
10659 maybe-install-gprof:
10660 @if gprof
10661 maybe-install-gprof: install-gprof
10663 install-gprof: installdirs
10664 @r=`${PWD_COMMAND}`; export r; \
10665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10666 $(SET_LIB_PATH) \
10667 $(HOST_EXPORTS) \
10668 (cd $(HOST_SUBDIR)/gprof && \
10669 $(MAKE) $(FLAGS_TO_PASS) install)
10671 @endif gprof
10673 # Other targets (info, dvi, etc.)
10675 .PHONY: maybe-info-gprof info-gprof
10676 maybe-info-gprof:
10677 @if gprof
10678 maybe-info-gprof: info-gprof
10680 info-gprof: \
10681 configure-gprof
10682 @[ -f ./gprof/Makefile ] || exit 0; \
10683 r=`${PWD_COMMAND}`; export r; \
10684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10685 $(SET_LIB_PATH) \
10686 $(HOST_EXPORTS) \
10687 for flag in $(EXTRA_HOST_FLAGS) ; do \
10688 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10689 done; \
10690 echo "Doing info in gprof" ; \
10691 (cd $(HOST_SUBDIR)/gprof && \
10692 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10693 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10694 "RANLIB=$${RANLIB}" \
10695 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10696 info) \
10697 || exit 1
10699 @endif gprof
10701 .PHONY: maybe-dvi-gprof dvi-gprof
10702 maybe-dvi-gprof:
10703 @if gprof
10704 maybe-dvi-gprof: dvi-gprof
10706 dvi-gprof: \
10707 configure-gprof
10708 @[ -f ./gprof/Makefile ] || exit 0; \
10709 r=`${PWD_COMMAND}`; export r; \
10710 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10711 $(SET_LIB_PATH) \
10712 $(HOST_EXPORTS) \
10713 for flag in $(EXTRA_HOST_FLAGS) ; do \
10714 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10715 done; \
10716 echo "Doing dvi in gprof" ; \
10717 (cd $(HOST_SUBDIR)/gprof && \
10718 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10719 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10720 "RANLIB=$${RANLIB}" \
10721 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10722 dvi) \
10723 || exit 1
10725 @endif gprof
10727 .PHONY: maybe-html-gprof html-gprof
10728 maybe-html-gprof:
10729 @if gprof
10730 maybe-html-gprof: html-gprof
10732 html-gprof: \
10733 configure-gprof
10734 @[ -f ./gprof/Makefile ] || exit 0; \
10735 r=`${PWD_COMMAND}`; export r; \
10736 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10737 $(SET_LIB_PATH) \
10738 $(HOST_EXPORTS) \
10739 for flag in $(EXTRA_HOST_FLAGS) ; do \
10740 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10741 done; \
10742 echo "Doing html in gprof" ; \
10743 (cd $(HOST_SUBDIR)/gprof && \
10744 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10745 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10746 "RANLIB=$${RANLIB}" \
10747 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10748 html) \
10749 || exit 1
10751 @endif gprof
10753 .PHONY: maybe-TAGS-gprof TAGS-gprof
10754 maybe-TAGS-gprof:
10755 @if gprof
10756 maybe-TAGS-gprof: TAGS-gprof
10758 TAGS-gprof: \
10759 configure-gprof
10760 @[ -f ./gprof/Makefile ] || exit 0; \
10761 r=`${PWD_COMMAND}`; export r; \
10762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10763 $(SET_LIB_PATH) \
10764 $(HOST_EXPORTS) \
10765 for flag in $(EXTRA_HOST_FLAGS) ; do \
10766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10767 done; \
10768 echo "Doing TAGS in gprof" ; \
10769 (cd $(HOST_SUBDIR)/gprof && \
10770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10772 "RANLIB=$${RANLIB}" \
10773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10774 TAGS) \
10775 || exit 1
10777 @endif gprof
10779 .PHONY: maybe-install-info-gprof install-info-gprof
10780 maybe-install-info-gprof:
10781 @if gprof
10782 maybe-install-info-gprof: install-info-gprof
10784 install-info-gprof: \
10785 configure-gprof \
10786 info-gprof
10787 @[ -f ./gprof/Makefile ] || exit 0; \
10788 r=`${PWD_COMMAND}`; export r; \
10789 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10790 $(SET_LIB_PATH) \
10791 $(HOST_EXPORTS) \
10792 for flag in $(EXTRA_HOST_FLAGS) ; do \
10793 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10794 done; \
10795 echo "Doing install-info in gprof" ; \
10796 (cd $(HOST_SUBDIR)/gprof && \
10797 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10798 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10799 "RANLIB=$${RANLIB}" \
10800 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10801 install-info) \
10802 || exit 1
10804 @endif gprof
10806 .PHONY: maybe-installcheck-gprof installcheck-gprof
10807 maybe-installcheck-gprof:
10808 @if gprof
10809 maybe-installcheck-gprof: installcheck-gprof
10811 installcheck-gprof: \
10812 configure-gprof
10813 @[ -f ./gprof/Makefile ] || exit 0; \
10814 r=`${PWD_COMMAND}`; export r; \
10815 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10816 $(SET_LIB_PATH) \
10817 $(HOST_EXPORTS) \
10818 for flag in $(EXTRA_HOST_FLAGS) ; do \
10819 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10820 done; \
10821 echo "Doing installcheck in gprof" ; \
10822 (cd $(HOST_SUBDIR)/gprof && \
10823 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10824 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10825 "RANLIB=$${RANLIB}" \
10826 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10827 installcheck) \
10828 || exit 1
10830 @endif gprof
10832 .PHONY: maybe-mostlyclean-gprof mostlyclean-gprof
10833 maybe-mostlyclean-gprof:
10834 @if gprof
10835 maybe-mostlyclean-gprof: mostlyclean-gprof
10837 mostlyclean-gprof:
10838 @[ -f ./gprof/Makefile ] || exit 0; \
10839 r=`${PWD_COMMAND}`; export r; \
10840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10841 $(SET_LIB_PATH) \
10842 $(HOST_EXPORTS) \
10843 for flag in $(EXTRA_HOST_FLAGS) ; do \
10844 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10845 done; \
10846 echo "Doing mostlyclean in gprof" ; \
10847 (cd $(HOST_SUBDIR)/gprof && \
10848 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10849 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10850 "RANLIB=$${RANLIB}" \
10851 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10852 mostlyclean) \
10853 || exit 1
10855 @endif gprof
10857 .PHONY: maybe-clean-gprof clean-gprof
10858 maybe-clean-gprof:
10859 @if gprof
10860 maybe-clean-gprof: clean-gprof
10862 clean-gprof:
10863 @[ -f ./gprof/Makefile ] || exit 0; \
10864 r=`${PWD_COMMAND}`; export r; \
10865 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10866 $(SET_LIB_PATH) \
10867 $(HOST_EXPORTS) \
10868 for flag in $(EXTRA_HOST_FLAGS) ; do \
10869 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10870 done; \
10871 echo "Doing clean in gprof" ; \
10872 (cd $(HOST_SUBDIR)/gprof && \
10873 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10874 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10875 "RANLIB=$${RANLIB}" \
10876 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10877 clean) \
10878 || exit 1
10880 @endif gprof
10882 .PHONY: maybe-distclean-gprof distclean-gprof
10883 maybe-distclean-gprof:
10884 @if gprof
10885 maybe-distclean-gprof: distclean-gprof
10887 distclean-gprof:
10888 @[ -f ./gprof/Makefile ] || exit 0; \
10889 r=`${PWD_COMMAND}`; export r; \
10890 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10891 $(SET_LIB_PATH) \
10892 $(HOST_EXPORTS) \
10893 for flag in $(EXTRA_HOST_FLAGS) ; do \
10894 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10895 done; \
10896 echo "Doing distclean in gprof" ; \
10897 (cd $(HOST_SUBDIR)/gprof && \
10898 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10899 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10900 "RANLIB=$${RANLIB}" \
10901 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10902 distclean) \
10903 || exit 1
10905 @endif gprof
10907 .PHONY: maybe-maintainer-clean-gprof maintainer-clean-gprof
10908 maybe-maintainer-clean-gprof:
10909 @if gprof
10910 maybe-maintainer-clean-gprof: maintainer-clean-gprof
10912 maintainer-clean-gprof:
10913 @[ -f ./gprof/Makefile ] || exit 0; \
10914 r=`${PWD_COMMAND}`; export r; \
10915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10916 $(SET_LIB_PATH) \
10917 $(HOST_EXPORTS) \
10918 for flag in $(EXTRA_HOST_FLAGS) ; do \
10919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
10920 done; \
10921 echo "Doing maintainer-clean in gprof" ; \
10922 (cd $(HOST_SUBDIR)/gprof && \
10923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
10924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
10925 "RANLIB=$${RANLIB}" \
10926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
10927 maintainer-clean) \
10928 || exit 1
10930 @endif gprof
10933 .PHONY: configure-gzip maybe-configure-gzip
10934 maybe-configure-gzip:
10935 @if gzip
10936 maybe-configure-gzip: configure-gzip
10937 configure-gzip:
10938 @test ! -f $(HOST_SUBDIR)/gzip/Makefile || exit 0; \
10939 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gzip ; \
10940 r=`${PWD_COMMAND}`; export r; \
10941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10942 $(HOST_EXPORTS) \
10943 echo Configuring in gzip; \
10944 cd $(HOST_SUBDIR)/gzip || exit 1; \
10945 case $(srcdir) in \
10946 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
10947 *) topdir=`echo $(HOST_SUBDIR)/gzip/ | \
10948 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
10949 esac; \
10950 srcdiroption="--srcdir=$${topdir}/gzip"; \
10951 libsrcdir="$$s/gzip"; \
10952 $(SHELL) $${libsrcdir}/configure \
10953 $(HOST_CONFIGARGS) $${srcdiroption} \
10954 || exit 1
10955 @endif gzip
10957 .PHONY: all-gzip maybe-all-gzip
10958 maybe-all-gzip:
10959 @if gzip
10960 TARGET-gzip=all
10961 maybe-all-gzip: all-gzip
10962 all-gzip: configure-gzip
10963 @r=`${PWD_COMMAND}`; export r; \
10964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10965 $(SET_LIB_PATH) \
10966 $(HOST_EXPORTS) \
10967 (cd $(HOST_SUBDIR)/gzip && \
10968 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gzip))
10969 @endif gzip
10971 .PHONY: check-gzip maybe-check-gzip
10972 maybe-check-gzip:
10973 @if gzip
10974 maybe-check-gzip: check-gzip
10976 check-gzip:
10977 @r=`${PWD_COMMAND}`; export r; \
10978 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10979 $(SET_LIB_PATH) \
10980 $(HOST_EXPORTS) \
10981 (cd $(HOST_SUBDIR)/gzip && \
10982 $(MAKE) $(FLAGS_TO_PASS) check)
10984 @endif gzip
10986 .PHONY: install-gzip maybe-install-gzip
10987 maybe-install-gzip:
10988 @if gzip
10989 maybe-install-gzip: install-gzip
10991 install-gzip: installdirs
10992 @r=`${PWD_COMMAND}`; export r; \
10993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
10994 $(SET_LIB_PATH) \
10995 $(HOST_EXPORTS) \
10996 (cd $(HOST_SUBDIR)/gzip && \
10997 $(MAKE) $(FLAGS_TO_PASS) install)
10999 @endif gzip
11001 # Other targets (info, dvi, etc.)
11003 .PHONY: maybe-info-gzip info-gzip
11004 maybe-info-gzip:
11005 @if gzip
11006 maybe-info-gzip: info-gzip
11008 info-gzip: \
11009 configure-gzip
11010 @[ -f ./gzip/Makefile ] || exit 0; \
11011 r=`${PWD_COMMAND}`; export r; \
11012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11013 $(SET_LIB_PATH) \
11014 $(HOST_EXPORTS) \
11015 for flag in $(EXTRA_HOST_FLAGS) ; do \
11016 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11017 done; \
11018 echo "Doing info in gzip" ; \
11019 (cd $(HOST_SUBDIR)/gzip && \
11020 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11021 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11022 "RANLIB=$${RANLIB}" \
11023 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11024 info) \
11025 || exit 1
11027 @endif gzip
11029 .PHONY: maybe-dvi-gzip dvi-gzip
11030 maybe-dvi-gzip:
11031 @if gzip
11032 maybe-dvi-gzip: dvi-gzip
11034 dvi-gzip: \
11035 configure-gzip
11036 @[ -f ./gzip/Makefile ] || exit 0; \
11037 r=`${PWD_COMMAND}`; export r; \
11038 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11039 $(SET_LIB_PATH) \
11040 $(HOST_EXPORTS) \
11041 for flag in $(EXTRA_HOST_FLAGS) ; do \
11042 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11043 done; \
11044 echo "Doing dvi in gzip" ; \
11045 (cd $(HOST_SUBDIR)/gzip && \
11046 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11047 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11048 "RANLIB=$${RANLIB}" \
11049 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11050 dvi) \
11051 || exit 1
11053 @endif gzip
11055 .PHONY: maybe-html-gzip html-gzip
11056 maybe-html-gzip:
11057 @if gzip
11058 maybe-html-gzip: html-gzip
11060 html-gzip: \
11061 configure-gzip
11062 @[ -f ./gzip/Makefile ] || exit 0; \
11063 r=`${PWD_COMMAND}`; export r; \
11064 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11065 $(SET_LIB_PATH) \
11066 $(HOST_EXPORTS) \
11067 for flag in $(EXTRA_HOST_FLAGS) ; do \
11068 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11069 done; \
11070 echo "Doing html in gzip" ; \
11071 (cd $(HOST_SUBDIR)/gzip && \
11072 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11073 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11074 "RANLIB=$${RANLIB}" \
11075 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11076 html) \
11077 || exit 1
11079 @endif gzip
11081 .PHONY: maybe-TAGS-gzip TAGS-gzip
11082 maybe-TAGS-gzip:
11083 @if gzip
11084 maybe-TAGS-gzip: TAGS-gzip
11086 TAGS-gzip: \
11087 configure-gzip
11088 @[ -f ./gzip/Makefile ] || exit 0; \
11089 r=`${PWD_COMMAND}`; export r; \
11090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11091 $(SET_LIB_PATH) \
11092 $(HOST_EXPORTS) \
11093 for flag in $(EXTRA_HOST_FLAGS) ; do \
11094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11095 done; \
11096 echo "Doing TAGS in gzip" ; \
11097 (cd $(HOST_SUBDIR)/gzip && \
11098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11100 "RANLIB=$${RANLIB}" \
11101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11102 TAGS) \
11103 || exit 1
11105 @endif gzip
11107 .PHONY: maybe-install-info-gzip install-info-gzip
11108 maybe-install-info-gzip:
11109 @if gzip
11110 maybe-install-info-gzip: install-info-gzip
11112 install-info-gzip: \
11113 configure-gzip \
11114 info-gzip
11115 @[ -f ./gzip/Makefile ] || exit 0; \
11116 r=`${PWD_COMMAND}`; export r; \
11117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11118 $(SET_LIB_PATH) \
11119 $(HOST_EXPORTS) \
11120 for flag in $(EXTRA_HOST_FLAGS) ; do \
11121 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11122 done; \
11123 echo "Doing install-info in gzip" ; \
11124 (cd $(HOST_SUBDIR)/gzip && \
11125 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11126 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11127 "RANLIB=$${RANLIB}" \
11128 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11129 install-info) \
11130 || exit 1
11132 @endif gzip
11134 .PHONY: maybe-installcheck-gzip installcheck-gzip
11135 maybe-installcheck-gzip:
11136 @if gzip
11137 maybe-installcheck-gzip: installcheck-gzip
11139 installcheck-gzip: \
11140 configure-gzip
11141 @[ -f ./gzip/Makefile ] || exit 0; \
11142 r=`${PWD_COMMAND}`; export r; \
11143 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11144 $(SET_LIB_PATH) \
11145 $(HOST_EXPORTS) \
11146 for flag in $(EXTRA_HOST_FLAGS) ; do \
11147 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11148 done; \
11149 echo "Doing installcheck in gzip" ; \
11150 (cd $(HOST_SUBDIR)/gzip && \
11151 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11152 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11153 "RANLIB=$${RANLIB}" \
11154 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11155 installcheck) \
11156 || exit 1
11158 @endif gzip
11160 .PHONY: maybe-mostlyclean-gzip mostlyclean-gzip
11161 maybe-mostlyclean-gzip:
11162 @if gzip
11163 maybe-mostlyclean-gzip: mostlyclean-gzip
11165 mostlyclean-gzip:
11166 @[ -f ./gzip/Makefile ] || exit 0; \
11167 r=`${PWD_COMMAND}`; export r; \
11168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11169 $(SET_LIB_PATH) \
11170 $(HOST_EXPORTS) \
11171 for flag in $(EXTRA_HOST_FLAGS) ; do \
11172 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11173 done; \
11174 echo "Doing mostlyclean in gzip" ; \
11175 (cd $(HOST_SUBDIR)/gzip && \
11176 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11177 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11178 "RANLIB=$${RANLIB}" \
11179 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11180 mostlyclean) \
11181 || exit 1
11183 @endif gzip
11185 .PHONY: maybe-clean-gzip clean-gzip
11186 maybe-clean-gzip:
11187 @if gzip
11188 maybe-clean-gzip: clean-gzip
11190 clean-gzip:
11191 @[ -f ./gzip/Makefile ] || exit 0; \
11192 r=`${PWD_COMMAND}`; export r; \
11193 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11194 $(SET_LIB_PATH) \
11195 $(HOST_EXPORTS) \
11196 for flag in $(EXTRA_HOST_FLAGS) ; do \
11197 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11198 done; \
11199 echo "Doing clean in gzip" ; \
11200 (cd $(HOST_SUBDIR)/gzip && \
11201 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11202 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11203 "RANLIB=$${RANLIB}" \
11204 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11205 clean) \
11206 || exit 1
11208 @endif gzip
11210 .PHONY: maybe-distclean-gzip distclean-gzip
11211 maybe-distclean-gzip:
11212 @if gzip
11213 maybe-distclean-gzip: distclean-gzip
11215 distclean-gzip:
11216 @[ -f ./gzip/Makefile ] || exit 0; \
11217 r=`${PWD_COMMAND}`; export r; \
11218 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11219 $(SET_LIB_PATH) \
11220 $(HOST_EXPORTS) \
11221 for flag in $(EXTRA_HOST_FLAGS) ; do \
11222 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11223 done; \
11224 echo "Doing distclean in gzip" ; \
11225 (cd $(HOST_SUBDIR)/gzip && \
11226 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11227 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11228 "RANLIB=$${RANLIB}" \
11229 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11230 distclean) \
11231 || exit 1
11233 @endif gzip
11235 .PHONY: maybe-maintainer-clean-gzip maintainer-clean-gzip
11236 maybe-maintainer-clean-gzip:
11237 @if gzip
11238 maybe-maintainer-clean-gzip: maintainer-clean-gzip
11240 maintainer-clean-gzip:
11241 @[ -f ./gzip/Makefile ] || exit 0; \
11242 r=`${PWD_COMMAND}`; export r; \
11243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11244 $(SET_LIB_PATH) \
11245 $(HOST_EXPORTS) \
11246 for flag in $(EXTRA_HOST_FLAGS) ; do \
11247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11248 done; \
11249 echo "Doing maintainer-clean in gzip" ; \
11250 (cd $(HOST_SUBDIR)/gzip && \
11251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11253 "RANLIB=$${RANLIB}" \
11254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11255 maintainer-clean) \
11256 || exit 1
11258 @endif gzip
11261 .PHONY: configure-hello maybe-configure-hello
11262 maybe-configure-hello:
11263 @if hello
11264 maybe-configure-hello: configure-hello
11265 configure-hello:
11266 @test ! -f $(HOST_SUBDIR)/hello/Makefile || exit 0; \
11267 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/hello ; \
11268 r=`${PWD_COMMAND}`; export r; \
11269 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11270 $(HOST_EXPORTS) \
11271 echo Configuring in hello; \
11272 cd $(HOST_SUBDIR)/hello || exit 1; \
11273 case $(srcdir) in \
11274 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11275 *) topdir=`echo $(HOST_SUBDIR)/hello/ | \
11276 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11277 esac; \
11278 srcdiroption="--srcdir=$${topdir}/hello"; \
11279 libsrcdir="$$s/hello"; \
11280 $(SHELL) $${libsrcdir}/configure \
11281 $(HOST_CONFIGARGS) $${srcdiroption} \
11282 || exit 1
11283 @endif hello
11285 .PHONY: all-hello maybe-all-hello
11286 maybe-all-hello:
11287 @if hello
11288 TARGET-hello=all
11289 maybe-all-hello: all-hello
11290 all-hello: configure-hello
11291 @r=`${PWD_COMMAND}`; export r; \
11292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11293 $(SET_LIB_PATH) \
11294 $(HOST_EXPORTS) \
11295 (cd $(HOST_SUBDIR)/hello && \
11296 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-hello))
11297 @endif hello
11299 .PHONY: check-hello maybe-check-hello
11300 maybe-check-hello:
11301 @if hello
11302 maybe-check-hello: check-hello
11304 check-hello:
11305 @r=`${PWD_COMMAND}`; export r; \
11306 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11307 $(SET_LIB_PATH) \
11308 $(HOST_EXPORTS) \
11309 (cd $(HOST_SUBDIR)/hello && \
11310 $(MAKE) $(FLAGS_TO_PASS) check)
11312 @endif hello
11314 .PHONY: install-hello maybe-install-hello
11315 maybe-install-hello:
11316 @if hello
11317 maybe-install-hello: install-hello
11319 install-hello: installdirs
11320 @r=`${PWD_COMMAND}`; export r; \
11321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11322 $(SET_LIB_PATH) \
11323 $(HOST_EXPORTS) \
11324 (cd $(HOST_SUBDIR)/hello && \
11325 $(MAKE) $(FLAGS_TO_PASS) install)
11327 @endif hello
11329 # Other targets (info, dvi, etc.)
11331 .PHONY: maybe-info-hello info-hello
11332 maybe-info-hello:
11333 @if hello
11334 maybe-info-hello: info-hello
11336 info-hello: \
11337 configure-hello
11338 @[ -f ./hello/Makefile ] || exit 0; \
11339 r=`${PWD_COMMAND}`; export r; \
11340 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11341 $(SET_LIB_PATH) \
11342 $(HOST_EXPORTS) \
11343 for flag in $(EXTRA_HOST_FLAGS) ; do \
11344 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11345 done; \
11346 echo "Doing info in hello" ; \
11347 (cd $(HOST_SUBDIR)/hello && \
11348 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11349 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11350 "RANLIB=$${RANLIB}" \
11351 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11352 info) \
11353 || exit 1
11355 @endif hello
11357 .PHONY: maybe-dvi-hello dvi-hello
11358 maybe-dvi-hello:
11359 @if hello
11360 maybe-dvi-hello: dvi-hello
11362 dvi-hello: \
11363 configure-hello
11364 @[ -f ./hello/Makefile ] || exit 0; \
11365 r=`${PWD_COMMAND}`; export r; \
11366 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11367 $(SET_LIB_PATH) \
11368 $(HOST_EXPORTS) \
11369 for flag in $(EXTRA_HOST_FLAGS) ; do \
11370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11371 done; \
11372 echo "Doing dvi in hello" ; \
11373 (cd $(HOST_SUBDIR)/hello && \
11374 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11375 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11376 "RANLIB=$${RANLIB}" \
11377 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11378 dvi) \
11379 || exit 1
11381 @endif hello
11383 .PHONY: maybe-html-hello html-hello
11384 maybe-html-hello:
11385 @if hello
11386 maybe-html-hello: html-hello
11388 html-hello: \
11389 configure-hello
11390 @[ -f ./hello/Makefile ] || exit 0; \
11391 r=`${PWD_COMMAND}`; export r; \
11392 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11393 $(SET_LIB_PATH) \
11394 $(HOST_EXPORTS) \
11395 for flag in $(EXTRA_HOST_FLAGS) ; do \
11396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11397 done; \
11398 echo "Doing html in hello" ; \
11399 (cd $(HOST_SUBDIR)/hello && \
11400 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11401 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11402 "RANLIB=$${RANLIB}" \
11403 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11404 html) \
11405 || exit 1
11407 @endif hello
11409 .PHONY: maybe-TAGS-hello TAGS-hello
11410 maybe-TAGS-hello:
11411 @if hello
11412 maybe-TAGS-hello: TAGS-hello
11414 TAGS-hello: \
11415 configure-hello
11416 @[ -f ./hello/Makefile ] || exit 0; \
11417 r=`${PWD_COMMAND}`; export r; \
11418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11419 $(SET_LIB_PATH) \
11420 $(HOST_EXPORTS) \
11421 for flag in $(EXTRA_HOST_FLAGS) ; do \
11422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11423 done; \
11424 echo "Doing TAGS in hello" ; \
11425 (cd $(HOST_SUBDIR)/hello && \
11426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11428 "RANLIB=$${RANLIB}" \
11429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11430 TAGS) \
11431 || exit 1
11433 @endif hello
11435 .PHONY: maybe-install-info-hello install-info-hello
11436 maybe-install-info-hello:
11437 @if hello
11438 maybe-install-info-hello: install-info-hello
11440 install-info-hello: \
11441 configure-hello \
11442 info-hello
11443 @[ -f ./hello/Makefile ] || exit 0; \
11444 r=`${PWD_COMMAND}`; export r; \
11445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11446 $(SET_LIB_PATH) \
11447 $(HOST_EXPORTS) \
11448 for flag in $(EXTRA_HOST_FLAGS) ; do \
11449 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11450 done; \
11451 echo "Doing install-info in hello" ; \
11452 (cd $(HOST_SUBDIR)/hello && \
11453 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11454 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11455 "RANLIB=$${RANLIB}" \
11456 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11457 install-info) \
11458 || exit 1
11460 @endif hello
11462 .PHONY: maybe-installcheck-hello installcheck-hello
11463 maybe-installcheck-hello:
11464 @if hello
11465 maybe-installcheck-hello: installcheck-hello
11467 installcheck-hello: \
11468 configure-hello
11469 @[ -f ./hello/Makefile ] || exit 0; \
11470 r=`${PWD_COMMAND}`; export r; \
11471 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11472 $(SET_LIB_PATH) \
11473 $(HOST_EXPORTS) \
11474 for flag in $(EXTRA_HOST_FLAGS) ; do \
11475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11476 done; \
11477 echo "Doing installcheck in hello" ; \
11478 (cd $(HOST_SUBDIR)/hello && \
11479 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11480 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11481 "RANLIB=$${RANLIB}" \
11482 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11483 installcheck) \
11484 || exit 1
11486 @endif hello
11488 .PHONY: maybe-mostlyclean-hello mostlyclean-hello
11489 maybe-mostlyclean-hello:
11490 @if hello
11491 maybe-mostlyclean-hello: mostlyclean-hello
11493 mostlyclean-hello:
11494 @[ -f ./hello/Makefile ] || exit 0; \
11495 r=`${PWD_COMMAND}`; export r; \
11496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11497 $(SET_LIB_PATH) \
11498 $(HOST_EXPORTS) \
11499 for flag in $(EXTRA_HOST_FLAGS) ; do \
11500 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11501 done; \
11502 echo "Doing mostlyclean in hello" ; \
11503 (cd $(HOST_SUBDIR)/hello && \
11504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11506 "RANLIB=$${RANLIB}" \
11507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11508 mostlyclean) \
11509 || exit 1
11511 @endif hello
11513 .PHONY: maybe-clean-hello clean-hello
11514 maybe-clean-hello:
11515 @if hello
11516 maybe-clean-hello: clean-hello
11518 clean-hello:
11519 @[ -f ./hello/Makefile ] || exit 0; \
11520 r=`${PWD_COMMAND}`; export r; \
11521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11522 $(SET_LIB_PATH) \
11523 $(HOST_EXPORTS) \
11524 for flag in $(EXTRA_HOST_FLAGS) ; do \
11525 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11526 done; \
11527 echo "Doing clean in hello" ; \
11528 (cd $(HOST_SUBDIR)/hello && \
11529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11531 "RANLIB=$${RANLIB}" \
11532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11533 clean) \
11534 || exit 1
11536 @endif hello
11538 .PHONY: maybe-distclean-hello distclean-hello
11539 maybe-distclean-hello:
11540 @if hello
11541 maybe-distclean-hello: distclean-hello
11543 distclean-hello:
11544 @[ -f ./hello/Makefile ] || exit 0; \
11545 r=`${PWD_COMMAND}`; export r; \
11546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11547 $(SET_LIB_PATH) \
11548 $(HOST_EXPORTS) \
11549 for flag in $(EXTRA_HOST_FLAGS) ; do \
11550 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11551 done; \
11552 echo "Doing distclean in hello" ; \
11553 (cd $(HOST_SUBDIR)/hello && \
11554 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11555 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11556 "RANLIB=$${RANLIB}" \
11557 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11558 distclean) \
11559 || exit 1
11561 @endif hello
11563 .PHONY: maybe-maintainer-clean-hello maintainer-clean-hello
11564 maybe-maintainer-clean-hello:
11565 @if hello
11566 maybe-maintainer-clean-hello: maintainer-clean-hello
11568 maintainer-clean-hello:
11569 @[ -f ./hello/Makefile ] || exit 0; \
11570 r=`${PWD_COMMAND}`; export r; \
11571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11572 $(SET_LIB_PATH) \
11573 $(HOST_EXPORTS) \
11574 for flag in $(EXTRA_HOST_FLAGS) ; do \
11575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11576 done; \
11577 echo "Doing maintainer-clean in hello" ; \
11578 (cd $(HOST_SUBDIR)/hello && \
11579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11581 "RANLIB=$${RANLIB}" \
11582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11583 maintainer-clean) \
11584 || exit 1
11586 @endif hello
11589 .PHONY: configure-indent maybe-configure-indent
11590 maybe-configure-indent:
11591 @if indent
11592 maybe-configure-indent: configure-indent
11593 configure-indent:
11594 @test ! -f $(HOST_SUBDIR)/indent/Makefile || exit 0; \
11595 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/indent ; \
11596 r=`${PWD_COMMAND}`; export r; \
11597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11598 $(HOST_EXPORTS) \
11599 echo Configuring in indent; \
11600 cd $(HOST_SUBDIR)/indent || exit 1; \
11601 case $(srcdir) in \
11602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11603 *) topdir=`echo $(HOST_SUBDIR)/indent/ | \
11604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11605 esac; \
11606 srcdiroption="--srcdir=$${topdir}/indent"; \
11607 libsrcdir="$$s/indent"; \
11608 $(SHELL) $${libsrcdir}/configure \
11609 $(HOST_CONFIGARGS) $${srcdiroption} \
11610 || exit 1
11611 @endif indent
11613 .PHONY: all-indent maybe-all-indent
11614 maybe-all-indent:
11615 @if indent
11616 TARGET-indent=all
11617 maybe-all-indent: all-indent
11618 all-indent: configure-indent
11619 @r=`${PWD_COMMAND}`; export r; \
11620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11621 $(SET_LIB_PATH) \
11622 $(HOST_EXPORTS) \
11623 (cd $(HOST_SUBDIR)/indent && \
11624 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-indent))
11625 @endif indent
11627 .PHONY: check-indent maybe-check-indent
11628 maybe-check-indent:
11629 @if indent
11630 maybe-check-indent: check-indent
11632 check-indent:
11633 @r=`${PWD_COMMAND}`; export r; \
11634 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11635 $(SET_LIB_PATH) \
11636 $(HOST_EXPORTS) \
11637 (cd $(HOST_SUBDIR)/indent && \
11638 $(MAKE) $(FLAGS_TO_PASS) check)
11640 @endif indent
11642 .PHONY: install-indent maybe-install-indent
11643 maybe-install-indent:
11644 @if indent
11645 maybe-install-indent: install-indent
11647 install-indent: installdirs
11648 @r=`${PWD_COMMAND}`; export r; \
11649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11650 $(SET_LIB_PATH) \
11651 $(HOST_EXPORTS) \
11652 (cd $(HOST_SUBDIR)/indent && \
11653 $(MAKE) $(FLAGS_TO_PASS) install)
11655 @endif indent
11657 # Other targets (info, dvi, etc.)
11659 .PHONY: maybe-info-indent info-indent
11660 maybe-info-indent:
11661 @if indent
11662 maybe-info-indent: info-indent
11664 info-indent: \
11665 configure-indent
11666 @[ -f ./indent/Makefile ] || exit 0; \
11667 r=`${PWD_COMMAND}`; export r; \
11668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11669 $(SET_LIB_PATH) \
11670 $(HOST_EXPORTS) \
11671 for flag in $(EXTRA_HOST_FLAGS) ; do \
11672 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11673 done; \
11674 echo "Doing info in indent" ; \
11675 (cd $(HOST_SUBDIR)/indent && \
11676 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11677 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11678 "RANLIB=$${RANLIB}" \
11679 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11680 info) \
11681 || exit 1
11683 @endif indent
11685 .PHONY: maybe-dvi-indent dvi-indent
11686 maybe-dvi-indent:
11687 @if indent
11688 maybe-dvi-indent: dvi-indent
11690 dvi-indent: \
11691 configure-indent
11692 @[ -f ./indent/Makefile ] || exit 0; \
11693 r=`${PWD_COMMAND}`; export r; \
11694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11695 $(SET_LIB_PATH) \
11696 $(HOST_EXPORTS) \
11697 for flag in $(EXTRA_HOST_FLAGS) ; do \
11698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11699 done; \
11700 echo "Doing dvi in indent" ; \
11701 (cd $(HOST_SUBDIR)/indent && \
11702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11704 "RANLIB=$${RANLIB}" \
11705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11706 dvi) \
11707 || exit 1
11709 @endif indent
11711 .PHONY: maybe-html-indent html-indent
11712 maybe-html-indent:
11713 @if indent
11714 maybe-html-indent: html-indent
11716 html-indent: \
11717 configure-indent
11718 @[ -f ./indent/Makefile ] || exit 0; \
11719 r=`${PWD_COMMAND}`; export r; \
11720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11721 $(SET_LIB_PATH) \
11722 $(HOST_EXPORTS) \
11723 for flag in $(EXTRA_HOST_FLAGS) ; do \
11724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11725 done; \
11726 echo "Doing html in indent" ; \
11727 (cd $(HOST_SUBDIR)/indent && \
11728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11730 "RANLIB=$${RANLIB}" \
11731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11732 html) \
11733 || exit 1
11735 @endif indent
11737 .PHONY: maybe-TAGS-indent TAGS-indent
11738 maybe-TAGS-indent:
11739 @if indent
11740 maybe-TAGS-indent: TAGS-indent
11742 TAGS-indent: \
11743 configure-indent
11744 @[ -f ./indent/Makefile ] || exit 0; \
11745 r=`${PWD_COMMAND}`; export r; \
11746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11747 $(SET_LIB_PATH) \
11748 $(HOST_EXPORTS) \
11749 for flag in $(EXTRA_HOST_FLAGS) ; do \
11750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11751 done; \
11752 echo "Doing TAGS in indent" ; \
11753 (cd $(HOST_SUBDIR)/indent && \
11754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11756 "RANLIB=$${RANLIB}" \
11757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11758 TAGS) \
11759 || exit 1
11761 @endif indent
11763 .PHONY: maybe-install-info-indent install-info-indent
11764 maybe-install-info-indent:
11765 @if indent
11766 maybe-install-info-indent: install-info-indent
11768 install-info-indent: \
11769 configure-indent \
11770 info-indent
11771 @[ -f ./indent/Makefile ] || exit 0; \
11772 r=`${PWD_COMMAND}`; export r; \
11773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11774 $(SET_LIB_PATH) \
11775 $(HOST_EXPORTS) \
11776 for flag in $(EXTRA_HOST_FLAGS) ; do \
11777 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11778 done; \
11779 echo "Doing install-info in indent" ; \
11780 (cd $(HOST_SUBDIR)/indent && \
11781 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11782 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11783 "RANLIB=$${RANLIB}" \
11784 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11785 install-info) \
11786 || exit 1
11788 @endif indent
11790 .PHONY: maybe-installcheck-indent installcheck-indent
11791 maybe-installcheck-indent:
11792 @if indent
11793 maybe-installcheck-indent: installcheck-indent
11795 installcheck-indent: \
11796 configure-indent
11797 @[ -f ./indent/Makefile ] || exit 0; \
11798 r=`${PWD_COMMAND}`; export r; \
11799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11800 $(SET_LIB_PATH) \
11801 $(HOST_EXPORTS) \
11802 for flag in $(EXTRA_HOST_FLAGS) ; do \
11803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11804 done; \
11805 echo "Doing installcheck in indent" ; \
11806 (cd $(HOST_SUBDIR)/indent && \
11807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11809 "RANLIB=$${RANLIB}" \
11810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11811 installcheck) \
11812 || exit 1
11814 @endif indent
11816 .PHONY: maybe-mostlyclean-indent mostlyclean-indent
11817 maybe-mostlyclean-indent:
11818 @if indent
11819 maybe-mostlyclean-indent: mostlyclean-indent
11821 mostlyclean-indent:
11822 @[ -f ./indent/Makefile ] || exit 0; \
11823 r=`${PWD_COMMAND}`; export r; \
11824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11825 $(SET_LIB_PATH) \
11826 $(HOST_EXPORTS) \
11827 for flag in $(EXTRA_HOST_FLAGS) ; do \
11828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11829 done; \
11830 echo "Doing mostlyclean in indent" ; \
11831 (cd $(HOST_SUBDIR)/indent && \
11832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11834 "RANLIB=$${RANLIB}" \
11835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11836 mostlyclean) \
11837 || exit 1
11839 @endif indent
11841 .PHONY: maybe-clean-indent clean-indent
11842 maybe-clean-indent:
11843 @if indent
11844 maybe-clean-indent: clean-indent
11846 clean-indent:
11847 @[ -f ./indent/Makefile ] || exit 0; \
11848 r=`${PWD_COMMAND}`; export r; \
11849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11850 $(SET_LIB_PATH) \
11851 $(HOST_EXPORTS) \
11852 for flag in $(EXTRA_HOST_FLAGS) ; do \
11853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11854 done; \
11855 echo "Doing clean in indent" ; \
11856 (cd $(HOST_SUBDIR)/indent && \
11857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11859 "RANLIB=$${RANLIB}" \
11860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11861 clean) \
11862 || exit 1
11864 @endif indent
11866 .PHONY: maybe-distclean-indent distclean-indent
11867 maybe-distclean-indent:
11868 @if indent
11869 maybe-distclean-indent: distclean-indent
11871 distclean-indent:
11872 @[ -f ./indent/Makefile ] || exit 0; \
11873 r=`${PWD_COMMAND}`; export r; \
11874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11875 $(SET_LIB_PATH) \
11876 $(HOST_EXPORTS) \
11877 for flag in $(EXTRA_HOST_FLAGS) ; do \
11878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11879 done; \
11880 echo "Doing distclean in indent" ; \
11881 (cd $(HOST_SUBDIR)/indent && \
11882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11884 "RANLIB=$${RANLIB}" \
11885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11886 distclean) \
11887 || exit 1
11889 @endif indent
11891 .PHONY: maybe-maintainer-clean-indent maintainer-clean-indent
11892 maybe-maintainer-clean-indent:
11893 @if indent
11894 maybe-maintainer-clean-indent: maintainer-clean-indent
11896 maintainer-clean-indent:
11897 @[ -f ./indent/Makefile ] || exit 0; \
11898 r=`${PWD_COMMAND}`; export r; \
11899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11900 $(SET_LIB_PATH) \
11901 $(HOST_EXPORTS) \
11902 for flag in $(EXTRA_HOST_FLAGS) ; do \
11903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
11904 done; \
11905 echo "Doing maintainer-clean in indent" ; \
11906 (cd $(HOST_SUBDIR)/indent && \
11907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
11908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
11909 "RANLIB=$${RANLIB}" \
11910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
11911 maintainer-clean) \
11912 || exit 1
11914 @endif indent
11917 .PHONY: configure-intl maybe-configure-intl
11918 maybe-configure-intl:
11919 @if intl
11920 maybe-configure-intl: configure-intl
11921 configure-intl:
11922 @test -f stage_last && exit 0; \
11923 test ! -f $(HOST_SUBDIR)/intl/Makefile || exit 0; \
11924 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/intl ; \
11925 r=`${PWD_COMMAND}`; export r; \
11926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11927 $(HOST_EXPORTS) \
11928 echo Configuring in intl; \
11929 cd $(HOST_SUBDIR)/intl || exit 1; \
11930 case $(srcdir) in \
11931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
11932 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
11933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
11934 esac; \
11935 srcdiroption="--srcdir=$${topdir}/intl"; \
11936 libsrcdir="$$s/intl"; \
11937 $(SHELL) $${libsrcdir}/configure \
11938 $(HOST_CONFIGARGS) $${srcdiroption} \
11939 || exit 1
11940 @endif intl
11942 .PHONY: all-intl maybe-all-intl
11943 maybe-all-intl:
11944 @if intl
11945 TARGET-intl=all
11946 maybe-all-intl: all-intl
11947 all-intl: configure-intl
11948 @test -f stage_last && exit 0; \
11949 r=`${PWD_COMMAND}`; export r; \
11950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11951 $(SET_LIB_PATH) \
11952 $(HOST_EXPORTS) \
11953 (cd $(HOST_SUBDIR)/intl && \
11954 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-intl))
11955 @endif intl
11957 .PHONY: check-intl maybe-check-intl
11958 maybe-check-intl:
11959 @if intl
11960 maybe-check-intl: check-intl
11962 check-intl:
11963 @r=`${PWD_COMMAND}`; export r; \
11964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11965 $(SET_LIB_PATH) \
11966 $(HOST_EXPORTS) \
11967 (cd $(HOST_SUBDIR)/intl && \
11968 $(MAKE) $(FLAGS_TO_PASS) check)
11970 @endif intl
11972 .PHONY: install-intl maybe-install-intl
11973 maybe-install-intl:
11974 @if intl
11975 maybe-install-intl: install-intl
11977 install-intl: installdirs
11978 @r=`${PWD_COMMAND}`; export r; \
11979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11980 $(SET_LIB_PATH) \
11981 $(HOST_EXPORTS) \
11982 (cd $(HOST_SUBDIR)/intl && \
11983 $(MAKE) $(FLAGS_TO_PASS) install)
11985 @endif intl
11987 # Other targets (info, dvi, etc.)
11989 .PHONY: maybe-info-intl info-intl
11990 maybe-info-intl:
11991 @if intl
11992 maybe-info-intl: info-intl
11994 info-intl: \
11995 configure-intl
11996 @[ -f ./intl/Makefile ] || exit 0; \
11997 r=`${PWD_COMMAND}`; export r; \
11998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
11999 $(SET_LIB_PATH) \
12000 $(HOST_EXPORTS) \
12001 for flag in $(EXTRA_HOST_FLAGS) ; do \
12002 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12003 done; \
12004 echo "Doing info in intl" ; \
12005 (cd $(HOST_SUBDIR)/intl && \
12006 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12007 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12008 "RANLIB=$${RANLIB}" \
12009 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12010 info) \
12011 || exit 1
12013 @endif intl
12015 .PHONY: maybe-dvi-intl dvi-intl
12016 maybe-dvi-intl:
12017 @if intl
12018 maybe-dvi-intl: dvi-intl
12020 dvi-intl: \
12021 configure-intl
12022 @[ -f ./intl/Makefile ] || exit 0; \
12023 r=`${PWD_COMMAND}`; export r; \
12024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12025 $(SET_LIB_PATH) \
12026 $(HOST_EXPORTS) \
12027 for flag in $(EXTRA_HOST_FLAGS) ; do \
12028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12029 done; \
12030 echo "Doing dvi in intl" ; \
12031 (cd $(HOST_SUBDIR)/intl && \
12032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12034 "RANLIB=$${RANLIB}" \
12035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12036 dvi) \
12037 || exit 1
12039 @endif intl
12041 .PHONY: maybe-html-intl html-intl
12042 maybe-html-intl:
12043 @if intl
12044 maybe-html-intl: html-intl
12046 html-intl: \
12047 configure-intl
12048 @[ -f ./intl/Makefile ] || exit 0; \
12049 r=`${PWD_COMMAND}`; export r; \
12050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12051 $(SET_LIB_PATH) \
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 html in intl" ; \
12057 (cd $(HOST_SUBDIR)/intl && \
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 html) \
12063 || exit 1
12065 @endif intl
12067 .PHONY: maybe-TAGS-intl TAGS-intl
12068 maybe-TAGS-intl:
12069 @if intl
12070 maybe-TAGS-intl: TAGS-intl
12072 TAGS-intl: \
12073 configure-intl
12074 @[ -f ./intl/Makefile ] || exit 0; \
12075 r=`${PWD_COMMAND}`; export r; \
12076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12077 $(SET_LIB_PATH) \
12078 $(HOST_EXPORTS) \
12079 for flag in $(EXTRA_HOST_FLAGS) ; do \
12080 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12081 done; \
12082 echo "Doing TAGS in intl" ; \
12083 (cd $(HOST_SUBDIR)/intl && \
12084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12086 "RANLIB=$${RANLIB}" \
12087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12088 TAGS) \
12089 || exit 1
12091 @endif intl
12093 .PHONY: maybe-install-info-intl install-info-intl
12094 maybe-install-info-intl:
12095 @if intl
12096 maybe-install-info-intl: install-info-intl
12098 install-info-intl: \
12099 configure-intl \
12100 info-intl
12101 @[ -f ./intl/Makefile ] || exit 0; \
12102 r=`${PWD_COMMAND}`; export r; \
12103 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12104 $(SET_LIB_PATH) \
12105 $(HOST_EXPORTS) \
12106 for flag in $(EXTRA_HOST_FLAGS) ; do \
12107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12108 done; \
12109 echo "Doing install-info in intl" ; \
12110 (cd $(HOST_SUBDIR)/intl && \
12111 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12112 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12113 "RANLIB=$${RANLIB}" \
12114 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12115 install-info) \
12116 || exit 1
12118 @endif intl
12120 .PHONY: maybe-installcheck-intl installcheck-intl
12121 maybe-installcheck-intl:
12122 @if intl
12123 maybe-installcheck-intl: installcheck-intl
12125 installcheck-intl: \
12126 configure-intl
12127 @[ -f ./intl/Makefile ] || exit 0; \
12128 r=`${PWD_COMMAND}`; export r; \
12129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12130 $(SET_LIB_PATH) \
12131 $(HOST_EXPORTS) \
12132 for flag in $(EXTRA_HOST_FLAGS) ; do \
12133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12134 done; \
12135 echo "Doing installcheck in intl" ; \
12136 (cd $(HOST_SUBDIR)/intl && \
12137 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12138 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12139 "RANLIB=$${RANLIB}" \
12140 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12141 installcheck) \
12142 || exit 1
12144 @endif intl
12146 .PHONY: maybe-mostlyclean-intl mostlyclean-intl
12147 maybe-mostlyclean-intl:
12148 @if intl
12149 maybe-mostlyclean-intl: mostlyclean-intl
12151 mostlyclean-intl:
12152 @[ -f ./intl/Makefile ] || exit 0; \
12153 r=`${PWD_COMMAND}`; export r; \
12154 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12155 $(SET_LIB_PATH) \
12156 $(HOST_EXPORTS) \
12157 for flag in $(EXTRA_HOST_FLAGS) ; do \
12158 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12159 done; \
12160 echo "Doing mostlyclean in intl" ; \
12161 (cd $(HOST_SUBDIR)/intl && \
12162 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12163 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12164 "RANLIB=$${RANLIB}" \
12165 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12166 mostlyclean) \
12167 || exit 1
12169 @endif intl
12171 .PHONY: maybe-clean-intl clean-intl
12172 maybe-clean-intl:
12173 @if intl
12174 maybe-clean-intl: clean-intl
12176 clean-intl:
12177 @[ -f ./intl/Makefile ] || exit 0; \
12178 r=`${PWD_COMMAND}`; export r; \
12179 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12180 $(SET_LIB_PATH) \
12181 $(HOST_EXPORTS) \
12182 for flag in $(EXTRA_HOST_FLAGS) ; do \
12183 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12184 done; \
12185 echo "Doing clean in intl" ; \
12186 (cd $(HOST_SUBDIR)/intl && \
12187 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12188 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12189 "RANLIB=$${RANLIB}" \
12190 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12191 clean) \
12192 || exit 1
12194 @endif intl
12196 .PHONY: maybe-distclean-intl distclean-intl
12197 maybe-distclean-intl:
12198 @if intl
12199 maybe-distclean-intl: distclean-intl
12201 distclean-intl:
12202 @[ -f ./intl/Makefile ] || exit 0; \
12203 r=`${PWD_COMMAND}`; export r; \
12204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12205 $(SET_LIB_PATH) \
12206 $(HOST_EXPORTS) \
12207 for flag in $(EXTRA_HOST_FLAGS) ; do \
12208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12209 done; \
12210 echo "Doing distclean in intl" ; \
12211 (cd $(HOST_SUBDIR)/intl && \
12212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12214 "RANLIB=$${RANLIB}" \
12215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12216 distclean) \
12217 || exit 1
12219 @endif intl
12221 .PHONY: maybe-maintainer-clean-intl maintainer-clean-intl
12222 maybe-maintainer-clean-intl:
12223 @if intl
12224 maybe-maintainer-clean-intl: maintainer-clean-intl
12226 maintainer-clean-intl:
12227 @[ -f ./intl/Makefile ] || exit 0; \
12228 r=`${PWD_COMMAND}`; export r; \
12229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12230 $(SET_LIB_PATH) \
12231 $(HOST_EXPORTS) \
12232 for flag in $(EXTRA_HOST_FLAGS) ; do \
12233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12234 done; \
12235 echo "Doing maintainer-clean in intl" ; \
12236 (cd $(HOST_SUBDIR)/intl && \
12237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12239 "RANLIB=$${RANLIB}" \
12240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12241 maintainer-clean) \
12242 || exit 1
12244 @endif intl
12247 .PHONY: configure-tcl maybe-configure-tcl
12248 maybe-configure-tcl:
12249 @if tcl
12250 maybe-configure-tcl: configure-tcl
12251 configure-tcl:
12252 @test ! -f $(HOST_SUBDIR)/tcl/Makefile || exit 0; \
12253 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tcl ; \
12254 r=`${PWD_COMMAND}`; export r; \
12255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12256 $(HOST_EXPORTS) \
12257 echo Configuring in tcl; \
12258 cd $(HOST_SUBDIR)/tcl || exit 1; \
12259 case $(srcdir) in \
12260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12261 *) topdir=`echo $(HOST_SUBDIR)/tcl/ | \
12262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12263 esac; \
12264 srcdiroption="--srcdir=$${topdir}/tcl"; \
12265 libsrcdir="$$s/tcl"; \
12266 $(SHELL) $${libsrcdir}/configure \
12267 $(HOST_CONFIGARGS) $${srcdiroption} \
12268 || exit 1
12269 @endif tcl
12271 .PHONY: all-tcl maybe-all-tcl
12272 maybe-all-tcl:
12273 @if tcl
12274 TARGET-tcl=all
12275 maybe-all-tcl: all-tcl
12276 all-tcl: configure-tcl
12277 @r=`${PWD_COMMAND}`; export r; \
12278 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12279 $(SET_LIB_PATH) \
12280 $(HOST_EXPORTS) \
12281 (cd $(HOST_SUBDIR)/tcl && \
12282 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tcl))
12283 @endif tcl
12285 .PHONY: check-tcl maybe-check-tcl
12286 maybe-check-tcl:
12287 @if tcl
12288 maybe-check-tcl: check-tcl
12290 check-tcl:
12291 @r=`${PWD_COMMAND}`; export r; \
12292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12293 $(SET_LIB_PATH) \
12294 $(HOST_EXPORTS) \
12295 (cd $(HOST_SUBDIR)/tcl && \
12296 $(MAKE) $(FLAGS_TO_PASS) check)
12298 @endif tcl
12300 .PHONY: install-tcl maybe-install-tcl
12301 maybe-install-tcl:
12302 @if tcl
12303 maybe-install-tcl: install-tcl
12305 install-tcl: installdirs
12306 @r=`${PWD_COMMAND}`; export r; \
12307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12308 $(SET_LIB_PATH) \
12309 $(HOST_EXPORTS) \
12310 (cd $(HOST_SUBDIR)/tcl && \
12311 $(MAKE) $(FLAGS_TO_PASS) install)
12313 @endif tcl
12315 # Other targets (info, dvi, etc.)
12317 .PHONY: maybe-info-tcl info-tcl
12318 maybe-info-tcl:
12319 @if tcl
12320 maybe-info-tcl: info-tcl
12322 info-tcl: \
12323 configure-tcl
12324 @[ -f ./tcl/Makefile ] || exit 0; \
12325 r=`${PWD_COMMAND}`; export r; \
12326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12327 $(SET_LIB_PATH) \
12328 $(HOST_EXPORTS) \
12329 for flag in $(EXTRA_HOST_FLAGS) ; do \
12330 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12331 done; \
12332 echo "Doing info in tcl" ; \
12333 (cd $(HOST_SUBDIR)/tcl && \
12334 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12335 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12336 "RANLIB=$${RANLIB}" \
12337 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12338 info) \
12339 || exit 1
12341 @endif tcl
12343 .PHONY: maybe-dvi-tcl dvi-tcl
12344 maybe-dvi-tcl:
12345 @if tcl
12346 maybe-dvi-tcl: dvi-tcl
12348 dvi-tcl: \
12349 configure-tcl
12350 @[ -f ./tcl/Makefile ] || exit 0; \
12351 r=`${PWD_COMMAND}`; export r; \
12352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12353 $(SET_LIB_PATH) \
12354 $(HOST_EXPORTS) \
12355 for flag in $(EXTRA_HOST_FLAGS) ; do \
12356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12357 done; \
12358 echo "Doing dvi in tcl" ; \
12359 (cd $(HOST_SUBDIR)/tcl && \
12360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12362 "RANLIB=$${RANLIB}" \
12363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12364 dvi) \
12365 || exit 1
12367 @endif tcl
12369 .PHONY: maybe-html-tcl html-tcl
12370 maybe-html-tcl:
12371 @if tcl
12372 maybe-html-tcl: html-tcl
12374 html-tcl: \
12375 configure-tcl
12376 @[ -f ./tcl/Makefile ] || exit 0; \
12377 r=`${PWD_COMMAND}`; export r; \
12378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12379 $(SET_LIB_PATH) \
12380 $(HOST_EXPORTS) \
12381 for flag in $(EXTRA_HOST_FLAGS) ; do \
12382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12383 done; \
12384 echo "Doing html in tcl" ; \
12385 (cd $(HOST_SUBDIR)/tcl && \
12386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12388 "RANLIB=$${RANLIB}" \
12389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12390 html) \
12391 || exit 1
12393 @endif tcl
12395 .PHONY: maybe-TAGS-tcl TAGS-tcl
12396 maybe-TAGS-tcl:
12397 @if tcl
12398 maybe-TAGS-tcl: TAGS-tcl
12400 TAGS-tcl: \
12401 configure-tcl
12402 @[ -f ./tcl/Makefile ] || exit 0; \
12403 r=`${PWD_COMMAND}`; export r; \
12404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12405 $(SET_LIB_PATH) \
12406 $(HOST_EXPORTS) \
12407 for flag in $(EXTRA_HOST_FLAGS) ; do \
12408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12409 done; \
12410 echo "Doing TAGS in tcl" ; \
12411 (cd $(HOST_SUBDIR)/tcl && \
12412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12414 "RANLIB=$${RANLIB}" \
12415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12416 TAGS) \
12417 || exit 1
12419 @endif tcl
12421 .PHONY: maybe-install-info-tcl install-info-tcl
12422 maybe-install-info-tcl:
12423 @if tcl
12424 maybe-install-info-tcl: install-info-tcl
12426 install-info-tcl: \
12427 configure-tcl \
12428 info-tcl
12429 @[ -f ./tcl/Makefile ] || exit 0; \
12430 r=`${PWD_COMMAND}`; export r; \
12431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12432 $(SET_LIB_PATH) \
12433 $(HOST_EXPORTS) \
12434 for flag in $(EXTRA_HOST_FLAGS) ; do \
12435 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12436 done; \
12437 echo "Doing install-info in tcl" ; \
12438 (cd $(HOST_SUBDIR)/tcl && \
12439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12441 "RANLIB=$${RANLIB}" \
12442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12443 install-info) \
12444 || exit 1
12446 @endif tcl
12448 .PHONY: maybe-installcheck-tcl installcheck-tcl
12449 maybe-installcheck-tcl:
12450 @if tcl
12451 maybe-installcheck-tcl: installcheck-tcl
12453 installcheck-tcl: \
12454 configure-tcl
12455 @[ -f ./tcl/Makefile ] || exit 0; \
12456 r=`${PWD_COMMAND}`; export r; \
12457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12458 $(SET_LIB_PATH) \
12459 $(HOST_EXPORTS) \
12460 for flag in $(EXTRA_HOST_FLAGS) ; do \
12461 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12462 done; \
12463 echo "Doing installcheck in tcl" ; \
12464 (cd $(HOST_SUBDIR)/tcl && \
12465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12467 "RANLIB=$${RANLIB}" \
12468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12469 installcheck) \
12470 || exit 1
12472 @endif tcl
12474 .PHONY: maybe-mostlyclean-tcl mostlyclean-tcl
12475 maybe-mostlyclean-tcl:
12476 @if tcl
12477 maybe-mostlyclean-tcl: mostlyclean-tcl
12479 # tcl doesn't support mostlyclean.
12480 mostlyclean-tcl:
12482 @endif tcl
12484 .PHONY: maybe-clean-tcl clean-tcl
12485 maybe-clean-tcl:
12486 @if tcl
12487 maybe-clean-tcl: clean-tcl
12489 clean-tcl:
12490 @[ -f ./tcl/Makefile ] || exit 0; \
12491 r=`${PWD_COMMAND}`; export r; \
12492 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12493 $(SET_LIB_PATH) \
12494 $(HOST_EXPORTS) \
12495 for flag in $(EXTRA_HOST_FLAGS) ; do \
12496 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12497 done; \
12498 echo "Doing clean in tcl" ; \
12499 (cd $(HOST_SUBDIR)/tcl && \
12500 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12501 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12502 "RANLIB=$${RANLIB}" \
12503 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12504 clean) \
12505 || exit 1
12507 @endif tcl
12509 .PHONY: maybe-distclean-tcl distclean-tcl
12510 maybe-distclean-tcl:
12511 @if tcl
12512 maybe-distclean-tcl: distclean-tcl
12514 distclean-tcl:
12515 @[ -f ./tcl/Makefile ] || exit 0; \
12516 r=`${PWD_COMMAND}`; export r; \
12517 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12518 $(SET_LIB_PATH) \
12519 $(HOST_EXPORTS) \
12520 for flag in $(EXTRA_HOST_FLAGS) ; do \
12521 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12522 done; \
12523 echo "Doing distclean in tcl" ; \
12524 (cd $(HOST_SUBDIR)/tcl && \
12525 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12526 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12527 "RANLIB=$${RANLIB}" \
12528 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12529 distclean) \
12530 || exit 1
12532 @endif tcl
12534 .PHONY: maybe-maintainer-clean-tcl maintainer-clean-tcl
12535 maybe-maintainer-clean-tcl:
12536 @if tcl
12537 maybe-maintainer-clean-tcl: maintainer-clean-tcl
12539 maintainer-clean-tcl:
12540 @[ -f ./tcl/Makefile ] || exit 0; \
12541 r=`${PWD_COMMAND}`; export r; \
12542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12543 $(SET_LIB_PATH) \
12544 $(HOST_EXPORTS) \
12545 for flag in $(EXTRA_HOST_FLAGS) ; do \
12546 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12547 done; \
12548 echo "Doing maintainer-clean in tcl" ; \
12549 (cd $(HOST_SUBDIR)/tcl && \
12550 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12551 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12552 "RANLIB=$${RANLIB}" \
12553 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12554 maintainer-clean) \
12555 || exit 1
12557 @endif tcl
12560 .PHONY: configure-itcl maybe-configure-itcl
12561 maybe-configure-itcl:
12562 @if itcl
12563 maybe-configure-itcl: configure-itcl
12564 configure-itcl:
12565 @test ! -f $(HOST_SUBDIR)/itcl/Makefile || exit 0; \
12566 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/itcl ; \
12567 r=`${PWD_COMMAND}`; export r; \
12568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12569 $(HOST_EXPORTS) \
12570 echo Configuring in itcl; \
12571 cd $(HOST_SUBDIR)/itcl || exit 1; \
12572 case $(srcdir) in \
12573 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12574 *) topdir=`echo $(HOST_SUBDIR)/itcl/ | \
12575 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12576 esac; \
12577 srcdiroption="--srcdir=$${topdir}/itcl"; \
12578 libsrcdir="$$s/itcl"; \
12579 $(SHELL) $${libsrcdir}/configure \
12580 $(HOST_CONFIGARGS) $${srcdiroption} \
12581 || exit 1
12582 @endif itcl
12584 .PHONY: all-itcl maybe-all-itcl
12585 maybe-all-itcl:
12586 @if itcl
12587 TARGET-itcl=all
12588 maybe-all-itcl: all-itcl
12589 all-itcl: configure-itcl
12590 @r=`${PWD_COMMAND}`; export r; \
12591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12592 $(SET_LIB_PATH) \
12593 $(HOST_EXPORTS) \
12594 (cd $(HOST_SUBDIR)/itcl && \
12595 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-itcl))
12596 @endif itcl
12598 .PHONY: check-itcl maybe-check-itcl
12599 maybe-check-itcl:
12600 @if itcl
12601 maybe-check-itcl: check-itcl
12603 check-itcl:
12604 @r=`${PWD_COMMAND}`; export r; \
12605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12606 $(SET_LIB_PATH) \
12607 $(HOST_EXPORTS) \
12608 (cd $(HOST_SUBDIR)/itcl && \
12609 $(MAKE) $(FLAGS_TO_PASS) check)
12611 @endif itcl
12613 .PHONY: install-itcl maybe-install-itcl
12614 maybe-install-itcl:
12615 @if itcl
12616 maybe-install-itcl: install-itcl
12618 install-itcl: installdirs
12619 @r=`${PWD_COMMAND}`; export r; \
12620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12621 $(SET_LIB_PATH) \
12622 $(HOST_EXPORTS) \
12623 (cd $(HOST_SUBDIR)/itcl && \
12624 $(MAKE) $(FLAGS_TO_PASS) install)
12626 @endif itcl
12628 # Other targets (info, dvi, etc.)
12630 .PHONY: maybe-info-itcl info-itcl
12631 maybe-info-itcl:
12632 @if itcl
12633 maybe-info-itcl: info-itcl
12635 info-itcl: \
12636 configure-itcl
12637 @[ -f ./itcl/Makefile ] || exit 0; \
12638 r=`${PWD_COMMAND}`; export r; \
12639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12640 $(SET_LIB_PATH) \
12641 $(HOST_EXPORTS) \
12642 for flag in $(EXTRA_HOST_FLAGS) ; do \
12643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12644 done; \
12645 echo "Doing info in itcl" ; \
12646 (cd $(HOST_SUBDIR)/itcl && \
12647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12649 "RANLIB=$${RANLIB}" \
12650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12651 info) \
12652 || exit 1
12654 @endif itcl
12656 .PHONY: maybe-dvi-itcl dvi-itcl
12657 maybe-dvi-itcl:
12658 @if itcl
12659 maybe-dvi-itcl: dvi-itcl
12661 dvi-itcl: \
12662 configure-itcl
12663 @[ -f ./itcl/Makefile ] || exit 0; \
12664 r=`${PWD_COMMAND}`; export r; \
12665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12666 $(SET_LIB_PATH) \
12667 $(HOST_EXPORTS) \
12668 for flag in $(EXTRA_HOST_FLAGS) ; do \
12669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12670 done; \
12671 echo "Doing dvi in itcl" ; \
12672 (cd $(HOST_SUBDIR)/itcl && \
12673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12675 "RANLIB=$${RANLIB}" \
12676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12677 dvi) \
12678 || exit 1
12680 @endif itcl
12682 .PHONY: maybe-html-itcl html-itcl
12683 maybe-html-itcl:
12684 @if itcl
12685 maybe-html-itcl: html-itcl
12687 html-itcl: \
12688 configure-itcl
12689 @[ -f ./itcl/Makefile ] || exit 0; \
12690 r=`${PWD_COMMAND}`; export r; \
12691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12692 $(SET_LIB_PATH) \
12693 $(HOST_EXPORTS) \
12694 for flag in $(EXTRA_HOST_FLAGS) ; do \
12695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12696 done; \
12697 echo "Doing html in itcl" ; \
12698 (cd $(HOST_SUBDIR)/itcl && \
12699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12701 "RANLIB=$${RANLIB}" \
12702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12703 html) \
12704 || exit 1
12706 @endif itcl
12708 .PHONY: maybe-TAGS-itcl TAGS-itcl
12709 maybe-TAGS-itcl:
12710 @if itcl
12711 maybe-TAGS-itcl: TAGS-itcl
12713 TAGS-itcl: \
12714 configure-itcl
12715 @[ -f ./itcl/Makefile ] || exit 0; \
12716 r=`${PWD_COMMAND}`; export r; \
12717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12718 $(SET_LIB_PATH) \
12719 $(HOST_EXPORTS) \
12720 for flag in $(EXTRA_HOST_FLAGS) ; do \
12721 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12722 done; \
12723 echo "Doing TAGS in itcl" ; \
12724 (cd $(HOST_SUBDIR)/itcl && \
12725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12727 "RANLIB=$${RANLIB}" \
12728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12729 TAGS) \
12730 || exit 1
12732 @endif itcl
12734 .PHONY: maybe-install-info-itcl install-info-itcl
12735 maybe-install-info-itcl:
12736 @if itcl
12737 maybe-install-info-itcl: install-info-itcl
12739 install-info-itcl: \
12740 configure-itcl \
12741 info-itcl
12742 @[ -f ./itcl/Makefile ] || exit 0; \
12743 r=`${PWD_COMMAND}`; export r; \
12744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12745 $(SET_LIB_PATH) \
12746 $(HOST_EXPORTS) \
12747 for flag in $(EXTRA_HOST_FLAGS) ; do \
12748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12749 done; \
12750 echo "Doing install-info in itcl" ; \
12751 (cd $(HOST_SUBDIR)/itcl && \
12752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12754 "RANLIB=$${RANLIB}" \
12755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12756 install-info) \
12757 || exit 1
12759 @endif itcl
12761 .PHONY: maybe-installcheck-itcl installcheck-itcl
12762 maybe-installcheck-itcl:
12763 @if itcl
12764 maybe-installcheck-itcl: installcheck-itcl
12766 installcheck-itcl: \
12767 configure-itcl
12768 @[ -f ./itcl/Makefile ] || exit 0; \
12769 r=`${PWD_COMMAND}`; export r; \
12770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12771 $(SET_LIB_PATH) \
12772 $(HOST_EXPORTS) \
12773 for flag in $(EXTRA_HOST_FLAGS) ; do \
12774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12775 done; \
12776 echo "Doing installcheck in itcl" ; \
12777 (cd $(HOST_SUBDIR)/itcl && \
12778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12780 "RANLIB=$${RANLIB}" \
12781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12782 installcheck) \
12783 || exit 1
12785 @endif itcl
12787 .PHONY: maybe-mostlyclean-itcl mostlyclean-itcl
12788 maybe-mostlyclean-itcl:
12789 @if itcl
12790 maybe-mostlyclean-itcl: mostlyclean-itcl
12792 mostlyclean-itcl:
12793 @[ -f ./itcl/Makefile ] || exit 0; \
12794 r=`${PWD_COMMAND}`; export r; \
12795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12796 $(SET_LIB_PATH) \
12797 $(HOST_EXPORTS) \
12798 for flag in $(EXTRA_HOST_FLAGS) ; do \
12799 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12800 done; \
12801 echo "Doing mostlyclean in itcl" ; \
12802 (cd $(HOST_SUBDIR)/itcl && \
12803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12805 "RANLIB=$${RANLIB}" \
12806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12807 mostlyclean) \
12808 || exit 1
12810 @endif itcl
12812 .PHONY: maybe-clean-itcl clean-itcl
12813 maybe-clean-itcl:
12814 @if itcl
12815 maybe-clean-itcl: clean-itcl
12817 clean-itcl:
12818 @[ -f ./itcl/Makefile ] || exit 0; \
12819 r=`${PWD_COMMAND}`; export r; \
12820 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12821 $(SET_LIB_PATH) \
12822 $(HOST_EXPORTS) \
12823 for flag in $(EXTRA_HOST_FLAGS) ; do \
12824 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12825 done; \
12826 echo "Doing clean in itcl" ; \
12827 (cd $(HOST_SUBDIR)/itcl && \
12828 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12829 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12830 "RANLIB=$${RANLIB}" \
12831 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12832 clean) \
12833 || exit 1
12835 @endif itcl
12837 .PHONY: maybe-distclean-itcl distclean-itcl
12838 maybe-distclean-itcl:
12839 @if itcl
12840 maybe-distclean-itcl: distclean-itcl
12842 distclean-itcl:
12843 @[ -f ./itcl/Makefile ] || exit 0; \
12844 r=`${PWD_COMMAND}`; export r; \
12845 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12846 $(SET_LIB_PATH) \
12847 $(HOST_EXPORTS) \
12848 for flag in $(EXTRA_HOST_FLAGS) ; do \
12849 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12850 done; \
12851 echo "Doing distclean in itcl" ; \
12852 (cd $(HOST_SUBDIR)/itcl && \
12853 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12854 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12855 "RANLIB=$${RANLIB}" \
12856 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12857 distclean) \
12858 || exit 1
12860 @endif itcl
12862 .PHONY: maybe-maintainer-clean-itcl maintainer-clean-itcl
12863 maybe-maintainer-clean-itcl:
12864 @if itcl
12865 maybe-maintainer-clean-itcl: maintainer-clean-itcl
12867 maintainer-clean-itcl:
12868 @[ -f ./itcl/Makefile ] || exit 0; \
12869 r=`${PWD_COMMAND}`; export r; \
12870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12871 $(SET_LIB_PATH) \
12872 $(HOST_EXPORTS) \
12873 for flag in $(EXTRA_HOST_FLAGS) ; do \
12874 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12875 done; \
12876 echo "Doing maintainer-clean in itcl" ; \
12877 (cd $(HOST_SUBDIR)/itcl && \
12878 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12879 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12880 "RANLIB=$${RANLIB}" \
12881 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12882 maintainer-clean) \
12883 || exit 1
12885 @endif itcl
12888 .PHONY: configure-ld maybe-configure-ld
12889 maybe-configure-ld:
12890 @if ld
12891 maybe-configure-ld: configure-ld
12892 configure-ld:
12893 @test -f stage_last && exit 0; \
12894 test ! -f $(HOST_SUBDIR)/ld/Makefile || exit 0; \
12895 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/ld ; \
12896 r=`${PWD_COMMAND}`; export r; \
12897 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12898 $(HOST_EXPORTS) \
12899 echo Configuring in ld; \
12900 cd $(HOST_SUBDIR)/ld || exit 1; \
12901 case $(srcdir) in \
12902 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
12903 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
12904 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
12905 esac; \
12906 srcdiroption="--srcdir=$${topdir}/ld"; \
12907 libsrcdir="$$s/ld"; \
12908 $(SHELL) $${libsrcdir}/configure \
12909 $(HOST_CONFIGARGS) $${srcdiroption} \
12910 || exit 1
12911 @endif ld
12913 .PHONY: all-ld maybe-all-ld
12914 maybe-all-ld:
12915 @if ld
12916 TARGET-ld=all
12917 maybe-all-ld: all-ld
12918 all-ld: configure-ld
12919 @test -f stage_last && exit 0; \
12920 r=`${PWD_COMMAND}`; export r; \
12921 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12922 $(SET_LIB_PATH) \
12923 $(HOST_EXPORTS) \
12924 (cd $(HOST_SUBDIR)/ld && \
12925 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-ld))
12926 @endif ld
12928 .PHONY: check-ld maybe-check-ld
12929 maybe-check-ld:
12930 @if ld
12931 maybe-check-ld: check-ld
12933 check-ld:
12934 @r=`${PWD_COMMAND}`; export r; \
12935 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12936 $(SET_LIB_PATH) \
12937 $(HOST_EXPORTS) \
12938 (cd $(HOST_SUBDIR)/ld && \
12939 $(MAKE) $(FLAGS_TO_PASS) check)
12941 @endif ld
12943 .PHONY: install-ld maybe-install-ld
12944 maybe-install-ld:
12945 @if ld
12946 maybe-install-ld: install-ld
12948 install-ld: installdirs
12949 @r=`${PWD_COMMAND}`; export r; \
12950 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12951 $(SET_LIB_PATH) \
12952 $(HOST_EXPORTS) \
12953 (cd $(HOST_SUBDIR)/ld && \
12954 $(MAKE) $(FLAGS_TO_PASS) install)
12956 @endif ld
12958 # Other targets (info, dvi, etc.)
12960 .PHONY: maybe-info-ld info-ld
12961 maybe-info-ld:
12962 @if ld
12963 maybe-info-ld: info-ld
12965 info-ld: \
12966 configure-ld
12967 @[ -f ./ld/Makefile ] || exit 0; \
12968 r=`${PWD_COMMAND}`; export r; \
12969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12970 $(SET_LIB_PATH) \
12971 $(HOST_EXPORTS) \
12972 for flag in $(EXTRA_HOST_FLAGS) ; do \
12973 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
12974 done; \
12975 echo "Doing info in ld" ; \
12976 (cd $(HOST_SUBDIR)/ld && \
12977 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
12978 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
12979 "RANLIB=$${RANLIB}" \
12980 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
12981 info) \
12982 || exit 1
12984 @endif ld
12986 .PHONY: maybe-dvi-ld dvi-ld
12987 maybe-dvi-ld:
12988 @if ld
12989 maybe-dvi-ld: dvi-ld
12991 dvi-ld: \
12992 configure-ld
12993 @[ -f ./ld/Makefile ] || exit 0; \
12994 r=`${PWD_COMMAND}`; export r; \
12995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
12996 $(SET_LIB_PATH) \
12997 $(HOST_EXPORTS) \
12998 for flag in $(EXTRA_HOST_FLAGS) ; do \
12999 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13000 done; \
13001 echo "Doing dvi in ld" ; \
13002 (cd $(HOST_SUBDIR)/ld && \
13003 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13004 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13005 "RANLIB=$${RANLIB}" \
13006 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13007 dvi) \
13008 || exit 1
13010 @endif ld
13012 .PHONY: maybe-html-ld html-ld
13013 maybe-html-ld:
13014 @if ld
13015 maybe-html-ld: html-ld
13017 html-ld: \
13018 configure-ld
13019 @[ -f ./ld/Makefile ] || exit 0; \
13020 r=`${PWD_COMMAND}`; export r; \
13021 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13022 $(SET_LIB_PATH) \
13023 $(HOST_EXPORTS) \
13024 for flag in $(EXTRA_HOST_FLAGS) ; do \
13025 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13026 done; \
13027 echo "Doing html in ld" ; \
13028 (cd $(HOST_SUBDIR)/ld && \
13029 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13030 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13031 "RANLIB=$${RANLIB}" \
13032 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13033 html) \
13034 || exit 1
13036 @endif ld
13038 .PHONY: maybe-TAGS-ld TAGS-ld
13039 maybe-TAGS-ld:
13040 @if ld
13041 maybe-TAGS-ld: TAGS-ld
13043 TAGS-ld: \
13044 configure-ld
13045 @[ -f ./ld/Makefile ] || exit 0; \
13046 r=`${PWD_COMMAND}`; export r; \
13047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13048 $(SET_LIB_PATH) \
13049 $(HOST_EXPORTS) \
13050 for flag in $(EXTRA_HOST_FLAGS) ; do \
13051 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13052 done; \
13053 echo "Doing TAGS in ld" ; \
13054 (cd $(HOST_SUBDIR)/ld && \
13055 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13056 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13057 "RANLIB=$${RANLIB}" \
13058 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13059 TAGS) \
13060 || exit 1
13062 @endif ld
13064 .PHONY: maybe-install-info-ld install-info-ld
13065 maybe-install-info-ld:
13066 @if ld
13067 maybe-install-info-ld: install-info-ld
13069 install-info-ld: \
13070 configure-ld \
13071 info-ld
13072 @[ -f ./ld/Makefile ] || exit 0; \
13073 r=`${PWD_COMMAND}`; export r; \
13074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13075 $(SET_LIB_PATH) \
13076 $(HOST_EXPORTS) \
13077 for flag in $(EXTRA_HOST_FLAGS) ; do \
13078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13079 done; \
13080 echo "Doing install-info in ld" ; \
13081 (cd $(HOST_SUBDIR)/ld && \
13082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13084 "RANLIB=$${RANLIB}" \
13085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13086 install-info) \
13087 || exit 1
13089 @endif ld
13091 .PHONY: maybe-installcheck-ld installcheck-ld
13092 maybe-installcheck-ld:
13093 @if ld
13094 maybe-installcheck-ld: installcheck-ld
13096 installcheck-ld: \
13097 configure-ld
13098 @[ -f ./ld/Makefile ] || exit 0; \
13099 r=`${PWD_COMMAND}`; export r; \
13100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13101 $(SET_LIB_PATH) \
13102 $(HOST_EXPORTS) \
13103 for flag in $(EXTRA_HOST_FLAGS) ; do \
13104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13105 done; \
13106 echo "Doing installcheck in ld" ; \
13107 (cd $(HOST_SUBDIR)/ld && \
13108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13110 "RANLIB=$${RANLIB}" \
13111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13112 installcheck) \
13113 || exit 1
13115 @endif ld
13117 .PHONY: maybe-mostlyclean-ld mostlyclean-ld
13118 maybe-mostlyclean-ld:
13119 @if ld
13120 maybe-mostlyclean-ld: mostlyclean-ld
13122 mostlyclean-ld:
13123 @[ -f ./ld/Makefile ] || exit 0; \
13124 r=`${PWD_COMMAND}`; export r; \
13125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13126 $(SET_LIB_PATH) \
13127 $(HOST_EXPORTS) \
13128 for flag in $(EXTRA_HOST_FLAGS) ; do \
13129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13130 done; \
13131 echo "Doing mostlyclean in ld" ; \
13132 (cd $(HOST_SUBDIR)/ld && \
13133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13135 "RANLIB=$${RANLIB}" \
13136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13137 mostlyclean) \
13138 || exit 1
13140 @endif ld
13142 .PHONY: maybe-clean-ld clean-ld
13143 maybe-clean-ld:
13144 @if ld
13145 maybe-clean-ld: clean-ld
13147 clean-ld:
13148 @[ -f ./ld/Makefile ] || exit 0; \
13149 r=`${PWD_COMMAND}`; export r; \
13150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13151 $(SET_LIB_PATH) \
13152 $(HOST_EXPORTS) \
13153 for flag in $(EXTRA_HOST_FLAGS) ; do \
13154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13155 done; \
13156 echo "Doing clean in ld" ; \
13157 (cd $(HOST_SUBDIR)/ld && \
13158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13160 "RANLIB=$${RANLIB}" \
13161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13162 clean) \
13163 || exit 1
13165 @endif ld
13167 .PHONY: maybe-distclean-ld distclean-ld
13168 maybe-distclean-ld:
13169 @if ld
13170 maybe-distclean-ld: distclean-ld
13172 distclean-ld:
13173 @[ -f ./ld/Makefile ] || exit 0; \
13174 r=`${PWD_COMMAND}`; export r; \
13175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13176 $(SET_LIB_PATH) \
13177 $(HOST_EXPORTS) \
13178 for flag in $(EXTRA_HOST_FLAGS) ; do \
13179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13180 done; \
13181 echo "Doing distclean in ld" ; \
13182 (cd $(HOST_SUBDIR)/ld && \
13183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13185 "RANLIB=$${RANLIB}" \
13186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13187 distclean) \
13188 || exit 1
13190 @endif ld
13192 .PHONY: maybe-maintainer-clean-ld maintainer-clean-ld
13193 maybe-maintainer-clean-ld:
13194 @if ld
13195 maybe-maintainer-clean-ld: maintainer-clean-ld
13197 maintainer-clean-ld:
13198 @[ -f ./ld/Makefile ] || exit 0; \
13199 r=`${PWD_COMMAND}`; export r; \
13200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13201 $(SET_LIB_PATH) \
13202 $(HOST_EXPORTS) \
13203 for flag in $(EXTRA_HOST_FLAGS) ; do \
13204 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13205 done; \
13206 echo "Doing maintainer-clean in ld" ; \
13207 (cd $(HOST_SUBDIR)/ld && \
13208 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13209 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13210 "RANLIB=$${RANLIB}" \
13211 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13212 maintainer-clean) \
13213 || exit 1
13215 @endif ld
13218 .PHONY: configure-libcpp maybe-configure-libcpp
13219 maybe-configure-libcpp:
13220 @if libcpp
13221 maybe-configure-libcpp: configure-libcpp
13222 configure-libcpp:
13223 @test -f stage_last && exit 0; \
13224 test ! -f $(HOST_SUBDIR)/libcpp/Makefile || exit 0; \
13225 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libcpp ; \
13226 r=`${PWD_COMMAND}`; export r; \
13227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13228 $(HOST_EXPORTS) \
13229 echo Configuring in libcpp; \
13230 cd $(HOST_SUBDIR)/libcpp || exit 1; \
13231 case $(srcdir) in \
13232 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13233 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
13234 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13235 esac; \
13236 srcdiroption="--srcdir=$${topdir}/libcpp"; \
13237 libsrcdir="$$s/libcpp"; \
13238 $(SHELL) $${libsrcdir}/configure \
13239 $(HOST_CONFIGARGS) $${srcdiroption} \
13240 || exit 1
13241 @endif libcpp
13243 .PHONY: all-libcpp maybe-all-libcpp
13244 maybe-all-libcpp:
13245 @if libcpp
13246 TARGET-libcpp=all
13247 maybe-all-libcpp: all-libcpp
13248 all-libcpp: configure-libcpp
13249 @test -f stage_last && exit 0; \
13250 r=`${PWD_COMMAND}`; export r; \
13251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13252 $(SET_LIB_PATH) \
13253 $(HOST_EXPORTS) \
13254 (cd $(HOST_SUBDIR)/libcpp && \
13255 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libcpp))
13256 @endif libcpp
13258 .PHONY: check-libcpp maybe-check-libcpp
13259 maybe-check-libcpp:
13260 @if libcpp
13261 maybe-check-libcpp: check-libcpp
13263 check-libcpp:
13264 @r=`${PWD_COMMAND}`; export r; \
13265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13266 $(SET_LIB_PATH) \
13267 $(HOST_EXPORTS) \
13268 (cd $(HOST_SUBDIR)/libcpp && \
13269 $(MAKE) $(FLAGS_TO_PASS) check)
13271 @endif libcpp
13273 .PHONY: install-libcpp maybe-install-libcpp
13274 maybe-install-libcpp:
13275 @if libcpp
13276 maybe-install-libcpp: install-libcpp
13278 install-libcpp: installdirs
13279 @r=`${PWD_COMMAND}`; export r; \
13280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13281 $(SET_LIB_PATH) \
13282 $(HOST_EXPORTS) \
13283 (cd $(HOST_SUBDIR)/libcpp && \
13284 $(MAKE) $(FLAGS_TO_PASS) install)
13286 @endif libcpp
13288 # Other targets (info, dvi, etc.)
13290 .PHONY: maybe-info-libcpp info-libcpp
13291 maybe-info-libcpp:
13292 @if libcpp
13293 maybe-info-libcpp: info-libcpp
13295 info-libcpp: \
13296 configure-libcpp
13297 @[ -f ./libcpp/Makefile ] || exit 0; \
13298 r=`${PWD_COMMAND}`; export r; \
13299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13300 $(SET_LIB_PATH) \
13301 $(HOST_EXPORTS) \
13302 for flag in $(EXTRA_HOST_FLAGS) ; do \
13303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13304 done; \
13305 echo "Doing info in libcpp" ; \
13306 (cd $(HOST_SUBDIR)/libcpp && \
13307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13309 "RANLIB=$${RANLIB}" \
13310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13311 info) \
13312 || exit 1
13314 @endif libcpp
13316 .PHONY: maybe-dvi-libcpp dvi-libcpp
13317 maybe-dvi-libcpp:
13318 @if libcpp
13319 maybe-dvi-libcpp: dvi-libcpp
13321 dvi-libcpp: \
13322 configure-libcpp
13323 @[ -f ./libcpp/Makefile ] || exit 0; \
13324 r=`${PWD_COMMAND}`; export r; \
13325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13326 $(SET_LIB_PATH) \
13327 $(HOST_EXPORTS) \
13328 for flag in $(EXTRA_HOST_FLAGS) ; do \
13329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13330 done; \
13331 echo "Doing dvi in libcpp" ; \
13332 (cd $(HOST_SUBDIR)/libcpp && \
13333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13335 "RANLIB=$${RANLIB}" \
13336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13337 dvi) \
13338 || exit 1
13340 @endif libcpp
13342 .PHONY: maybe-html-libcpp html-libcpp
13343 maybe-html-libcpp:
13344 @if libcpp
13345 maybe-html-libcpp: html-libcpp
13347 html-libcpp: \
13348 configure-libcpp
13349 @[ -f ./libcpp/Makefile ] || exit 0; \
13350 r=`${PWD_COMMAND}`; export r; \
13351 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13352 $(SET_LIB_PATH) \
13353 $(HOST_EXPORTS) \
13354 for flag in $(EXTRA_HOST_FLAGS) ; do \
13355 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13356 done; \
13357 echo "Doing html in libcpp" ; \
13358 (cd $(HOST_SUBDIR)/libcpp && \
13359 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13360 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13361 "RANLIB=$${RANLIB}" \
13362 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13363 html) \
13364 || exit 1
13366 @endif libcpp
13368 .PHONY: maybe-TAGS-libcpp TAGS-libcpp
13369 maybe-TAGS-libcpp:
13370 @if libcpp
13371 maybe-TAGS-libcpp: TAGS-libcpp
13373 TAGS-libcpp: \
13374 configure-libcpp
13375 @[ -f ./libcpp/Makefile ] || exit 0; \
13376 r=`${PWD_COMMAND}`; export r; \
13377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13378 $(SET_LIB_PATH) \
13379 $(HOST_EXPORTS) \
13380 for flag in $(EXTRA_HOST_FLAGS) ; do \
13381 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13382 done; \
13383 echo "Doing TAGS in libcpp" ; \
13384 (cd $(HOST_SUBDIR)/libcpp && \
13385 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13386 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13387 "RANLIB=$${RANLIB}" \
13388 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13389 TAGS) \
13390 || exit 1
13392 @endif libcpp
13394 .PHONY: maybe-install-info-libcpp install-info-libcpp
13395 maybe-install-info-libcpp:
13396 @if libcpp
13397 maybe-install-info-libcpp: install-info-libcpp
13399 install-info-libcpp: \
13400 configure-libcpp \
13401 info-libcpp
13402 @[ -f ./libcpp/Makefile ] || exit 0; \
13403 r=`${PWD_COMMAND}`; export r; \
13404 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13405 $(SET_LIB_PATH) \
13406 $(HOST_EXPORTS) \
13407 for flag in $(EXTRA_HOST_FLAGS) ; do \
13408 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13409 done; \
13410 echo "Doing install-info in libcpp" ; \
13411 (cd $(HOST_SUBDIR)/libcpp && \
13412 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13413 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13414 "RANLIB=$${RANLIB}" \
13415 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13416 install-info) \
13417 || exit 1
13419 @endif libcpp
13421 .PHONY: maybe-installcheck-libcpp installcheck-libcpp
13422 maybe-installcheck-libcpp:
13423 @if libcpp
13424 maybe-installcheck-libcpp: installcheck-libcpp
13426 installcheck-libcpp: \
13427 configure-libcpp
13428 @[ -f ./libcpp/Makefile ] || exit 0; \
13429 r=`${PWD_COMMAND}`; export r; \
13430 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13431 $(SET_LIB_PATH) \
13432 $(HOST_EXPORTS) \
13433 for flag in $(EXTRA_HOST_FLAGS) ; do \
13434 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13435 done; \
13436 echo "Doing installcheck in libcpp" ; \
13437 (cd $(HOST_SUBDIR)/libcpp && \
13438 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13439 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13440 "RANLIB=$${RANLIB}" \
13441 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13442 installcheck) \
13443 || exit 1
13445 @endif libcpp
13447 .PHONY: maybe-mostlyclean-libcpp mostlyclean-libcpp
13448 maybe-mostlyclean-libcpp:
13449 @if libcpp
13450 maybe-mostlyclean-libcpp: mostlyclean-libcpp
13452 mostlyclean-libcpp:
13453 @[ -f ./libcpp/Makefile ] || exit 0; \
13454 r=`${PWD_COMMAND}`; export r; \
13455 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13456 $(SET_LIB_PATH) \
13457 $(HOST_EXPORTS) \
13458 for flag in $(EXTRA_HOST_FLAGS) ; do \
13459 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13460 done; \
13461 echo "Doing mostlyclean in libcpp" ; \
13462 (cd $(HOST_SUBDIR)/libcpp && \
13463 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13464 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13465 "RANLIB=$${RANLIB}" \
13466 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13467 mostlyclean) \
13468 || exit 1
13470 @endif libcpp
13472 .PHONY: maybe-clean-libcpp clean-libcpp
13473 maybe-clean-libcpp:
13474 @if libcpp
13475 maybe-clean-libcpp: clean-libcpp
13477 clean-libcpp:
13478 @[ -f ./libcpp/Makefile ] || exit 0; \
13479 r=`${PWD_COMMAND}`; export r; \
13480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13481 $(SET_LIB_PATH) \
13482 $(HOST_EXPORTS) \
13483 for flag in $(EXTRA_HOST_FLAGS) ; do \
13484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13485 done; \
13486 echo "Doing clean in libcpp" ; \
13487 (cd $(HOST_SUBDIR)/libcpp && \
13488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13490 "RANLIB=$${RANLIB}" \
13491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13492 clean) \
13493 || exit 1
13495 @endif libcpp
13497 .PHONY: maybe-distclean-libcpp distclean-libcpp
13498 maybe-distclean-libcpp:
13499 @if libcpp
13500 maybe-distclean-libcpp: distclean-libcpp
13502 distclean-libcpp:
13503 @[ -f ./libcpp/Makefile ] || exit 0; \
13504 r=`${PWD_COMMAND}`; export r; \
13505 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13506 $(SET_LIB_PATH) \
13507 $(HOST_EXPORTS) \
13508 for flag in $(EXTRA_HOST_FLAGS) ; do \
13509 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13510 done; \
13511 echo "Doing distclean in libcpp" ; \
13512 (cd $(HOST_SUBDIR)/libcpp && \
13513 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13514 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13515 "RANLIB=$${RANLIB}" \
13516 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13517 distclean) \
13518 || exit 1
13520 @endif libcpp
13522 .PHONY: maybe-maintainer-clean-libcpp maintainer-clean-libcpp
13523 maybe-maintainer-clean-libcpp:
13524 @if libcpp
13525 maybe-maintainer-clean-libcpp: maintainer-clean-libcpp
13527 maintainer-clean-libcpp:
13528 @[ -f ./libcpp/Makefile ] || exit 0; \
13529 r=`${PWD_COMMAND}`; export r; \
13530 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13531 $(SET_LIB_PATH) \
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 maintainer-clean in libcpp" ; \
13537 (cd $(HOST_SUBDIR)/libcpp && \
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 maintainer-clean) \
13543 || exit 1
13545 @endif libcpp
13548 .PHONY: configure-libgui maybe-configure-libgui
13549 maybe-configure-libgui:
13550 @if libgui
13551 maybe-configure-libgui: configure-libgui
13552 configure-libgui:
13553 @test ! -f $(HOST_SUBDIR)/libgui/Makefile || exit 0; \
13554 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libgui ; \
13555 r=`${PWD_COMMAND}`; export r; \
13556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13557 $(HOST_EXPORTS) \
13558 echo Configuring in libgui; \
13559 cd $(HOST_SUBDIR)/libgui || exit 1; \
13560 case $(srcdir) in \
13561 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13562 *) topdir=`echo $(HOST_SUBDIR)/libgui/ | \
13563 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13564 esac; \
13565 srcdiroption="--srcdir=$${topdir}/libgui"; \
13566 libsrcdir="$$s/libgui"; \
13567 $(SHELL) $${libsrcdir}/configure \
13568 $(HOST_CONFIGARGS) $${srcdiroption} \
13569 || exit 1
13570 @endif libgui
13572 .PHONY: all-libgui maybe-all-libgui
13573 maybe-all-libgui:
13574 @if libgui
13575 TARGET-libgui=all
13576 maybe-all-libgui: all-libgui
13577 all-libgui: configure-libgui
13578 @r=`${PWD_COMMAND}`; export r; \
13579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13580 $(SET_LIB_PATH) \
13581 $(HOST_EXPORTS) \
13582 (cd $(HOST_SUBDIR)/libgui && \
13583 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libgui))
13584 @endif libgui
13586 .PHONY: check-libgui maybe-check-libgui
13587 maybe-check-libgui:
13588 @if libgui
13589 maybe-check-libgui: check-libgui
13591 check-libgui:
13592 @r=`${PWD_COMMAND}`; export r; \
13593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13594 $(SET_LIB_PATH) \
13595 $(HOST_EXPORTS) \
13596 (cd $(HOST_SUBDIR)/libgui && \
13597 $(MAKE) $(FLAGS_TO_PASS) check)
13599 @endif libgui
13601 .PHONY: install-libgui maybe-install-libgui
13602 maybe-install-libgui:
13603 @if libgui
13604 maybe-install-libgui: install-libgui
13606 install-libgui: installdirs
13607 @r=`${PWD_COMMAND}`; export r; \
13608 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13609 $(SET_LIB_PATH) \
13610 $(HOST_EXPORTS) \
13611 (cd $(HOST_SUBDIR)/libgui && \
13612 $(MAKE) $(FLAGS_TO_PASS) install)
13614 @endif libgui
13616 # Other targets (info, dvi, etc.)
13618 .PHONY: maybe-info-libgui info-libgui
13619 maybe-info-libgui:
13620 @if libgui
13621 maybe-info-libgui: info-libgui
13623 info-libgui: \
13624 configure-libgui
13625 @[ -f ./libgui/Makefile ] || exit 0; \
13626 r=`${PWD_COMMAND}`; export r; \
13627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13628 $(SET_LIB_PATH) \
13629 $(HOST_EXPORTS) \
13630 for flag in $(EXTRA_HOST_FLAGS) ; do \
13631 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13632 done; \
13633 echo "Doing info in libgui" ; \
13634 (cd $(HOST_SUBDIR)/libgui && \
13635 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13636 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13637 "RANLIB=$${RANLIB}" \
13638 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13639 info) \
13640 || exit 1
13642 @endif libgui
13644 .PHONY: maybe-dvi-libgui dvi-libgui
13645 maybe-dvi-libgui:
13646 @if libgui
13647 maybe-dvi-libgui: dvi-libgui
13649 dvi-libgui: \
13650 configure-libgui
13651 @[ -f ./libgui/Makefile ] || exit 0; \
13652 r=`${PWD_COMMAND}`; export r; \
13653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13654 $(SET_LIB_PATH) \
13655 $(HOST_EXPORTS) \
13656 for flag in $(EXTRA_HOST_FLAGS) ; do \
13657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13658 done; \
13659 echo "Doing dvi in libgui" ; \
13660 (cd $(HOST_SUBDIR)/libgui && \
13661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13663 "RANLIB=$${RANLIB}" \
13664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13665 dvi) \
13666 || exit 1
13668 @endif libgui
13670 .PHONY: maybe-html-libgui html-libgui
13671 maybe-html-libgui:
13672 @if libgui
13673 maybe-html-libgui: html-libgui
13675 html-libgui: \
13676 configure-libgui
13677 @[ -f ./libgui/Makefile ] || exit 0; \
13678 r=`${PWD_COMMAND}`; export r; \
13679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13680 $(SET_LIB_PATH) \
13681 $(HOST_EXPORTS) \
13682 for flag in $(EXTRA_HOST_FLAGS) ; do \
13683 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13684 done; \
13685 echo "Doing html in libgui" ; \
13686 (cd $(HOST_SUBDIR)/libgui && \
13687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13689 "RANLIB=$${RANLIB}" \
13690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13691 html) \
13692 || exit 1
13694 @endif libgui
13696 .PHONY: maybe-TAGS-libgui TAGS-libgui
13697 maybe-TAGS-libgui:
13698 @if libgui
13699 maybe-TAGS-libgui: TAGS-libgui
13701 TAGS-libgui: \
13702 configure-libgui
13703 @[ -f ./libgui/Makefile ] || exit 0; \
13704 r=`${PWD_COMMAND}`; export r; \
13705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13706 $(SET_LIB_PATH) \
13707 $(HOST_EXPORTS) \
13708 for flag in $(EXTRA_HOST_FLAGS) ; do \
13709 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13710 done; \
13711 echo "Doing TAGS in libgui" ; \
13712 (cd $(HOST_SUBDIR)/libgui && \
13713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13715 "RANLIB=$${RANLIB}" \
13716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13717 TAGS) \
13718 || exit 1
13720 @endif libgui
13722 .PHONY: maybe-install-info-libgui install-info-libgui
13723 maybe-install-info-libgui:
13724 @if libgui
13725 maybe-install-info-libgui: install-info-libgui
13727 install-info-libgui: \
13728 configure-libgui \
13729 info-libgui
13730 @[ -f ./libgui/Makefile ] || exit 0; \
13731 r=`${PWD_COMMAND}`; export r; \
13732 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13733 $(SET_LIB_PATH) \
13734 $(HOST_EXPORTS) \
13735 for flag in $(EXTRA_HOST_FLAGS) ; do \
13736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13737 done; \
13738 echo "Doing install-info in libgui" ; \
13739 (cd $(HOST_SUBDIR)/libgui && \
13740 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13741 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13742 "RANLIB=$${RANLIB}" \
13743 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13744 install-info) \
13745 || exit 1
13747 @endif libgui
13749 .PHONY: maybe-installcheck-libgui installcheck-libgui
13750 maybe-installcheck-libgui:
13751 @if libgui
13752 maybe-installcheck-libgui: installcheck-libgui
13754 installcheck-libgui: \
13755 configure-libgui
13756 @[ -f ./libgui/Makefile ] || exit 0; \
13757 r=`${PWD_COMMAND}`; export r; \
13758 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13759 $(SET_LIB_PATH) \
13760 $(HOST_EXPORTS) \
13761 for flag in $(EXTRA_HOST_FLAGS) ; do \
13762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13763 done; \
13764 echo "Doing installcheck in libgui" ; \
13765 (cd $(HOST_SUBDIR)/libgui && \
13766 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13767 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13768 "RANLIB=$${RANLIB}" \
13769 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13770 installcheck) \
13771 || exit 1
13773 @endif libgui
13775 .PHONY: maybe-mostlyclean-libgui mostlyclean-libgui
13776 maybe-mostlyclean-libgui:
13777 @if libgui
13778 maybe-mostlyclean-libgui: mostlyclean-libgui
13780 mostlyclean-libgui:
13781 @[ -f ./libgui/Makefile ] || exit 0; \
13782 r=`${PWD_COMMAND}`; export r; \
13783 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13784 $(SET_LIB_PATH) \
13785 $(HOST_EXPORTS) \
13786 for flag in $(EXTRA_HOST_FLAGS) ; do \
13787 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13788 done; \
13789 echo "Doing mostlyclean in libgui" ; \
13790 (cd $(HOST_SUBDIR)/libgui && \
13791 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13792 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13793 "RANLIB=$${RANLIB}" \
13794 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13795 mostlyclean) \
13796 || exit 1
13798 @endif libgui
13800 .PHONY: maybe-clean-libgui clean-libgui
13801 maybe-clean-libgui:
13802 @if libgui
13803 maybe-clean-libgui: clean-libgui
13805 clean-libgui:
13806 @[ -f ./libgui/Makefile ] || exit 0; \
13807 r=`${PWD_COMMAND}`; export r; \
13808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13809 $(SET_LIB_PATH) \
13810 $(HOST_EXPORTS) \
13811 for flag in $(EXTRA_HOST_FLAGS) ; do \
13812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13813 done; \
13814 echo "Doing clean in libgui" ; \
13815 (cd $(HOST_SUBDIR)/libgui && \
13816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13818 "RANLIB=$${RANLIB}" \
13819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13820 clean) \
13821 || exit 1
13823 @endif libgui
13825 .PHONY: maybe-distclean-libgui distclean-libgui
13826 maybe-distclean-libgui:
13827 @if libgui
13828 maybe-distclean-libgui: distclean-libgui
13830 distclean-libgui:
13831 @[ -f ./libgui/Makefile ] || exit 0; \
13832 r=`${PWD_COMMAND}`; export r; \
13833 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13834 $(SET_LIB_PATH) \
13835 $(HOST_EXPORTS) \
13836 for flag in $(EXTRA_HOST_FLAGS) ; do \
13837 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13838 done; \
13839 echo "Doing distclean in libgui" ; \
13840 (cd $(HOST_SUBDIR)/libgui && \
13841 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13842 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13843 "RANLIB=$${RANLIB}" \
13844 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13845 distclean) \
13846 || exit 1
13848 @endif libgui
13850 .PHONY: maybe-maintainer-clean-libgui maintainer-clean-libgui
13851 maybe-maintainer-clean-libgui:
13852 @if libgui
13853 maybe-maintainer-clean-libgui: maintainer-clean-libgui
13855 maintainer-clean-libgui:
13856 @[ -f ./libgui/Makefile ] || exit 0; \
13857 r=`${PWD_COMMAND}`; export r; \
13858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13859 $(SET_LIB_PATH) \
13860 $(HOST_EXPORTS) \
13861 for flag in $(EXTRA_HOST_FLAGS) ; do \
13862 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13863 done; \
13864 echo "Doing maintainer-clean in libgui" ; \
13865 (cd $(HOST_SUBDIR)/libgui && \
13866 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13867 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13868 "RANLIB=$${RANLIB}" \
13869 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13870 maintainer-clean) \
13871 || exit 1
13873 @endif libgui
13876 .PHONY: configure-libiberty maybe-configure-libiberty
13877 maybe-configure-libiberty:
13878 @if libiberty
13879 maybe-configure-libiberty: configure-libiberty
13880 configure-libiberty:
13881 @test -f stage_last && exit 0; \
13882 test ! -f $(HOST_SUBDIR)/libiberty/Makefile || exit 0; \
13883 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libiberty ; \
13884 r=`${PWD_COMMAND}`; export r; \
13885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13886 $(HOST_EXPORTS) \
13887 echo Configuring in libiberty; \
13888 cd $(HOST_SUBDIR)/libiberty || exit 1; \
13889 case $(srcdir) in \
13890 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
13891 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
13892 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
13893 esac; \
13894 srcdiroption="--srcdir=$${topdir}/libiberty"; \
13895 libsrcdir="$$s/libiberty"; \
13896 $(SHELL) $${libsrcdir}/configure \
13897 $(HOST_CONFIGARGS) $${srcdiroption} \
13898 || exit 1
13899 @endif libiberty
13901 .PHONY: all-libiberty maybe-all-libiberty
13902 maybe-all-libiberty:
13903 @if libiberty
13904 TARGET-libiberty=all
13905 maybe-all-libiberty: all-libiberty
13906 all-libiberty: configure-libiberty
13907 @test -f stage_last && exit 0; \
13908 r=`${PWD_COMMAND}`; export r; \
13909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13910 $(SET_LIB_PATH) \
13911 $(HOST_EXPORTS) \
13912 (cd $(HOST_SUBDIR)/libiberty && \
13913 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libiberty))
13914 @endif libiberty
13916 .PHONY: check-libiberty maybe-check-libiberty
13917 maybe-check-libiberty:
13918 @if libiberty
13919 maybe-check-libiberty: check-libiberty
13921 check-libiberty:
13922 @r=`${PWD_COMMAND}`; export r; \
13923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13924 $(SET_LIB_PATH) \
13925 $(HOST_EXPORTS) \
13926 (cd $(HOST_SUBDIR)/libiberty && \
13927 $(MAKE) $(FLAGS_TO_PASS) check)
13929 @endif libiberty
13931 .PHONY: install-libiberty maybe-install-libiberty
13932 maybe-install-libiberty:
13933 @if libiberty
13934 maybe-install-libiberty: install-libiberty
13936 install-libiberty: installdirs
13937 @r=`${PWD_COMMAND}`; export r; \
13938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13939 $(SET_LIB_PATH) \
13940 $(HOST_EXPORTS) \
13941 (cd $(HOST_SUBDIR)/libiberty && \
13942 $(MAKE) $(FLAGS_TO_PASS) install)
13944 @endif libiberty
13946 # Other targets (info, dvi, etc.)
13948 .PHONY: maybe-info-libiberty info-libiberty
13949 maybe-info-libiberty:
13950 @if libiberty
13951 maybe-info-libiberty: info-libiberty
13953 info-libiberty: \
13954 configure-libiberty
13955 @[ -f ./libiberty/Makefile ] || exit 0; \
13956 r=`${PWD_COMMAND}`; export r; \
13957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13958 $(SET_LIB_PATH) \
13959 $(HOST_EXPORTS) \
13960 for flag in $(EXTRA_HOST_FLAGS) ; do \
13961 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13962 done; \
13963 echo "Doing info in libiberty" ; \
13964 (cd $(HOST_SUBDIR)/libiberty && \
13965 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13966 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13967 "RANLIB=$${RANLIB}" \
13968 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13969 info) \
13970 || exit 1
13972 @endif libiberty
13974 .PHONY: maybe-dvi-libiberty dvi-libiberty
13975 maybe-dvi-libiberty:
13976 @if libiberty
13977 maybe-dvi-libiberty: dvi-libiberty
13979 dvi-libiberty: \
13980 configure-libiberty
13981 @[ -f ./libiberty/Makefile ] || exit 0; \
13982 r=`${PWD_COMMAND}`; export r; \
13983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
13984 $(SET_LIB_PATH) \
13985 $(HOST_EXPORTS) \
13986 for flag in $(EXTRA_HOST_FLAGS) ; do \
13987 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
13988 done; \
13989 echo "Doing dvi in libiberty" ; \
13990 (cd $(HOST_SUBDIR)/libiberty && \
13991 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
13992 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
13993 "RANLIB=$${RANLIB}" \
13994 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
13995 dvi) \
13996 || exit 1
13998 @endif libiberty
14000 .PHONY: maybe-html-libiberty html-libiberty
14001 maybe-html-libiberty:
14002 @if libiberty
14003 maybe-html-libiberty: html-libiberty
14005 html-libiberty: \
14006 configure-libiberty
14007 @[ -f ./libiberty/Makefile ] || exit 0; \
14008 r=`${PWD_COMMAND}`; export r; \
14009 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14010 $(SET_LIB_PATH) \
14011 $(HOST_EXPORTS) \
14012 for flag in $(EXTRA_HOST_FLAGS) ; do \
14013 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14014 done; \
14015 echo "Doing html in libiberty" ; \
14016 (cd $(HOST_SUBDIR)/libiberty && \
14017 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14018 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14019 "RANLIB=$${RANLIB}" \
14020 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14021 html) \
14022 || exit 1
14024 @endif libiberty
14026 .PHONY: maybe-TAGS-libiberty TAGS-libiberty
14027 maybe-TAGS-libiberty:
14028 @if libiberty
14029 maybe-TAGS-libiberty: TAGS-libiberty
14031 TAGS-libiberty: \
14032 configure-libiberty
14033 @[ -f ./libiberty/Makefile ] || exit 0; \
14034 r=`${PWD_COMMAND}`; export r; \
14035 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14036 $(SET_LIB_PATH) \
14037 $(HOST_EXPORTS) \
14038 for flag in $(EXTRA_HOST_FLAGS) ; do \
14039 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14040 done; \
14041 echo "Doing TAGS in libiberty" ; \
14042 (cd $(HOST_SUBDIR)/libiberty && \
14043 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14044 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14045 "RANLIB=$${RANLIB}" \
14046 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14047 TAGS) \
14048 || exit 1
14050 @endif libiberty
14052 .PHONY: maybe-install-info-libiberty install-info-libiberty
14053 maybe-install-info-libiberty:
14054 @if libiberty
14055 maybe-install-info-libiberty: install-info-libiberty
14057 install-info-libiberty: \
14058 configure-libiberty \
14059 info-libiberty
14060 @[ -f ./libiberty/Makefile ] || exit 0; \
14061 r=`${PWD_COMMAND}`; export r; \
14062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14063 $(SET_LIB_PATH) \
14064 $(HOST_EXPORTS) \
14065 for flag in $(EXTRA_HOST_FLAGS) ; do \
14066 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14067 done; \
14068 echo "Doing install-info in libiberty" ; \
14069 (cd $(HOST_SUBDIR)/libiberty && \
14070 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14071 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14072 "RANLIB=$${RANLIB}" \
14073 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14074 install-info) \
14075 || exit 1
14077 @endif libiberty
14079 .PHONY: maybe-installcheck-libiberty installcheck-libiberty
14080 maybe-installcheck-libiberty:
14081 @if libiberty
14082 maybe-installcheck-libiberty: installcheck-libiberty
14084 installcheck-libiberty: \
14085 configure-libiberty
14086 @[ -f ./libiberty/Makefile ] || exit 0; \
14087 r=`${PWD_COMMAND}`; export r; \
14088 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14089 $(SET_LIB_PATH) \
14090 $(HOST_EXPORTS) \
14091 for flag in $(EXTRA_HOST_FLAGS) ; do \
14092 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14093 done; \
14094 echo "Doing installcheck in libiberty" ; \
14095 (cd $(HOST_SUBDIR)/libiberty && \
14096 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14097 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14098 "RANLIB=$${RANLIB}" \
14099 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14100 installcheck) \
14101 || exit 1
14103 @endif libiberty
14105 .PHONY: maybe-mostlyclean-libiberty mostlyclean-libiberty
14106 maybe-mostlyclean-libiberty:
14107 @if libiberty
14108 maybe-mostlyclean-libiberty: mostlyclean-libiberty
14110 mostlyclean-libiberty:
14111 @[ -f ./libiberty/Makefile ] || exit 0; \
14112 r=`${PWD_COMMAND}`; export r; \
14113 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14114 $(SET_LIB_PATH) \
14115 $(HOST_EXPORTS) \
14116 for flag in $(EXTRA_HOST_FLAGS) ; do \
14117 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14118 done; \
14119 echo "Doing mostlyclean in libiberty" ; \
14120 (cd $(HOST_SUBDIR)/libiberty && \
14121 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14122 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14123 "RANLIB=$${RANLIB}" \
14124 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14125 mostlyclean) \
14126 || exit 1
14128 @endif libiberty
14130 .PHONY: maybe-clean-libiberty clean-libiberty
14131 maybe-clean-libiberty:
14132 @if libiberty
14133 maybe-clean-libiberty: clean-libiberty
14135 clean-libiberty:
14136 @[ -f ./libiberty/Makefile ] || exit 0; \
14137 r=`${PWD_COMMAND}`; export r; \
14138 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14139 $(SET_LIB_PATH) \
14140 $(HOST_EXPORTS) \
14141 for flag in $(EXTRA_HOST_FLAGS) ; do \
14142 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14143 done; \
14144 echo "Doing clean in libiberty" ; \
14145 (cd $(HOST_SUBDIR)/libiberty && \
14146 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14147 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14148 "RANLIB=$${RANLIB}" \
14149 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14150 clean) \
14151 || exit 1
14153 @endif libiberty
14155 .PHONY: maybe-distclean-libiberty distclean-libiberty
14156 maybe-distclean-libiberty:
14157 @if libiberty
14158 maybe-distclean-libiberty: distclean-libiberty
14160 distclean-libiberty:
14161 @[ -f ./libiberty/Makefile ] || exit 0; \
14162 r=`${PWD_COMMAND}`; export r; \
14163 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14164 $(SET_LIB_PATH) \
14165 $(HOST_EXPORTS) \
14166 for flag in $(EXTRA_HOST_FLAGS) ; do \
14167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14168 done; \
14169 echo "Doing distclean in libiberty" ; \
14170 (cd $(HOST_SUBDIR)/libiberty && \
14171 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14172 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14173 "RANLIB=$${RANLIB}" \
14174 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14175 distclean) \
14176 || exit 1
14178 @endif libiberty
14180 .PHONY: maybe-maintainer-clean-libiberty maintainer-clean-libiberty
14181 maybe-maintainer-clean-libiberty:
14182 @if libiberty
14183 maybe-maintainer-clean-libiberty: maintainer-clean-libiberty
14185 maintainer-clean-libiberty:
14186 @[ -f ./libiberty/Makefile ] || exit 0; \
14187 r=`${PWD_COMMAND}`; export r; \
14188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14189 $(SET_LIB_PATH) \
14190 $(HOST_EXPORTS) \
14191 for flag in $(EXTRA_HOST_FLAGS) ; do \
14192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14193 done; \
14194 echo "Doing maintainer-clean in libiberty" ; \
14195 (cd $(HOST_SUBDIR)/libiberty && \
14196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14198 "RANLIB=$${RANLIB}" \
14199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14200 maintainer-clean) \
14201 || exit 1
14203 @endif libiberty
14206 .PHONY: configure-libtool maybe-configure-libtool
14207 maybe-configure-libtool:
14208 @if libtool
14209 maybe-configure-libtool: configure-libtool
14210 configure-libtool:
14211 @test ! -f $(HOST_SUBDIR)/libtool/Makefile || exit 0; \
14212 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtool ; \
14213 r=`${PWD_COMMAND}`; export r; \
14214 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14215 $(HOST_EXPORTS) \
14216 echo Configuring in libtool; \
14217 cd $(HOST_SUBDIR)/libtool || exit 1; \
14218 case $(srcdir) in \
14219 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14220 *) topdir=`echo $(HOST_SUBDIR)/libtool/ | \
14221 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14222 esac; \
14223 srcdiroption="--srcdir=$${topdir}/libtool"; \
14224 libsrcdir="$$s/libtool"; \
14225 $(SHELL) $${libsrcdir}/configure \
14226 $(HOST_CONFIGARGS) $${srcdiroption} \
14227 || exit 1
14228 @endif libtool
14230 .PHONY: all-libtool maybe-all-libtool
14231 maybe-all-libtool:
14232 @if libtool
14233 TARGET-libtool=all
14234 maybe-all-libtool: all-libtool
14235 all-libtool: configure-libtool
14236 @r=`${PWD_COMMAND}`; export r; \
14237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14238 $(SET_LIB_PATH) \
14239 $(HOST_EXPORTS) \
14240 (cd $(HOST_SUBDIR)/libtool && \
14241 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtool))
14242 @endif libtool
14244 .PHONY: check-libtool maybe-check-libtool
14245 maybe-check-libtool:
14246 @if libtool
14247 maybe-check-libtool: check-libtool
14249 check-libtool:
14250 @r=`${PWD_COMMAND}`; export r; \
14251 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14252 $(SET_LIB_PATH) \
14253 $(HOST_EXPORTS) \
14254 (cd $(HOST_SUBDIR)/libtool && \
14255 $(MAKE) $(FLAGS_TO_PASS) check)
14257 @endif libtool
14259 .PHONY: install-libtool maybe-install-libtool
14260 maybe-install-libtool:
14261 @if libtool
14262 maybe-install-libtool: install-libtool
14264 install-libtool: installdirs
14265 @r=`${PWD_COMMAND}`; export r; \
14266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14267 $(SET_LIB_PATH) \
14268 $(HOST_EXPORTS) \
14269 (cd $(HOST_SUBDIR)/libtool && \
14270 $(MAKE) $(FLAGS_TO_PASS) install)
14272 @endif libtool
14274 # Other targets (info, dvi, etc.)
14276 .PHONY: maybe-info-libtool info-libtool
14277 maybe-info-libtool:
14278 @if libtool
14279 maybe-info-libtool: info-libtool
14281 info-libtool: \
14282 configure-libtool
14283 @[ -f ./libtool/Makefile ] || exit 0; \
14284 r=`${PWD_COMMAND}`; export r; \
14285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14286 $(SET_LIB_PATH) \
14287 $(HOST_EXPORTS) \
14288 for flag in $(EXTRA_HOST_FLAGS) ; do \
14289 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14290 done; \
14291 echo "Doing info in libtool" ; \
14292 (cd $(HOST_SUBDIR)/libtool && \
14293 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14294 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14295 "RANLIB=$${RANLIB}" \
14296 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14297 info) \
14298 || exit 1
14300 @endif libtool
14302 .PHONY: maybe-dvi-libtool dvi-libtool
14303 maybe-dvi-libtool:
14304 @if libtool
14305 maybe-dvi-libtool: dvi-libtool
14307 dvi-libtool: \
14308 configure-libtool
14309 @[ -f ./libtool/Makefile ] || exit 0; \
14310 r=`${PWD_COMMAND}`; export r; \
14311 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14312 $(SET_LIB_PATH) \
14313 $(HOST_EXPORTS) \
14314 for flag in $(EXTRA_HOST_FLAGS) ; do \
14315 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14316 done; \
14317 echo "Doing dvi in libtool" ; \
14318 (cd $(HOST_SUBDIR)/libtool && \
14319 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14320 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14321 "RANLIB=$${RANLIB}" \
14322 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14323 dvi) \
14324 || exit 1
14326 @endif libtool
14328 .PHONY: maybe-html-libtool html-libtool
14329 maybe-html-libtool:
14330 @if libtool
14331 maybe-html-libtool: html-libtool
14333 html-libtool: \
14334 configure-libtool
14335 @[ -f ./libtool/Makefile ] || exit 0; \
14336 r=`${PWD_COMMAND}`; export r; \
14337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14338 $(SET_LIB_PATH) \
14339 $(HOST_EXPORTS) \
14340 for flag in $(EXTRA_HOST_FLAGS) ; do \
14341 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14342 done; \
14343 echo "Doing html in libtool" ; \
14344 (cd $(HOST_SUBDIR)/libtool && \
14345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14347 "RANLIB=$${RANLIB}" \
14348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14349 html) \
14350 || exit 1
14352 @endif libtool
14354 .PHONY: maybe-TAGS-libtool TAGS-libtool
14355 maybe-TAGS-libtool:
14356 @if libtool
14357 maybe-TAGS-libtool: TAGS-libtool
14359 TAGS-libtool: \
14360 configure-libtool
14361 @[ -f ./libtool/Makefile ] || exit 0; \
14362 r=`${PWD_COMMAND}`; export r; \
14363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14364 $(SET_LIB_PATH) \
14365 $(HOST_EXPORTS) \
14366 for flag in $(EXTRA_HOST_FLAGS) ; do \
14367 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14368 done; \
14369 echo "Doing TAGS in libtool" ; \
14370 (cd $(HOST_SUBDIR)/libtool && \
14371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14373 "RANLIB=$${RANLIB}" \
14374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14375 TAGS) \
14376 || exit 1
14378 @endif libtool
14380 .PHONY: maybe-install-info-libtool install-info-libtool
14381 maybe-install-info-libtool:
14382 @if libtool
14383 maybe-install-info-libtool: install-info-libtool
14385 install-info-libtool: \
14386 configure-libtool \
14387 info-libtool
14388 @[ -f ./libtool/Makefile ] || exit 0; \
14389 r=`${PWD_COMMAND}`; export r; \
14390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14391 $(SET_LIB_PATH) \
14392 $(HOST_EXPORTS) \
14393 for flag in $(EXTRA_HOST_FLAGS) ; do \
14394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14395 done; \
14396 echo "Doing install-info in libtool" ; \
14397 (cd $(HOST_SUBDIR)/libtool && \
14398 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14399 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14400 "RANLIB=$${RANLIB}" \
14401 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14402 install-info) \
14403 || exit 1
14405 @endif libtool
14407 .PHONY: maybe-installcheck-libtool installcheck-libtool
14408 maybe-installcheck-libtool:
14409 @if libtool
14410 maybe-installcheck-libtool: installcheck-libtool
14412 installcheck-libtool: \
14413 configure-libtool
14414 @[ -f ./libtool/Makefile ] || exit 0; \
14415 r=`${PWD_COMMAND}`; export r; \
14416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14417 $(SET_LIB_PATH) \
14418 $(HOST_EXPORTS) \
14419 for flag in $(EXTRA_HOST_FLAGS) ; do \
14420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14421 done; \
14422 echo "Doing installcheck in libtool" ; \
14423 (cd $(HOST_SUBDIR)/libtool && \
14424 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14425 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14426 "RANLIB=$${RANLIB}" \
14427 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14428 installcheck) \
14429 || exit 1
14431 @endif libtool
14433 .PHONY: maybe-mostlyclean-libtool mostlyclean-libtool
14434 maybe-mostlyclean-libtool:
14435 @if libtool
14436 maybe-mostlyclean-libtool: mostlyclean-libtool
14438 mostlyclean-libtool:
14439 @[ -f ./libtool/Makefile ] || exit 0; \
14440 r=`${PWD_COMMAND}`; export r; \
14441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14442 $(SET_LIB_PATH) \
14443 $(HOST_EXPORTS) \
14444 for flag in $(EXTRA_HOST_FLAGS) ; do \
14445 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14446 done; \
14447 echo "Doing mostlyclean in libtool" ; \
14448 (cd $(HOST_SUBDIR)/libtool && \
14449 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14450 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14451 "RANLIB=$${RANLIB}" \
14452 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14453 mostlyclean) \
14454 || exit 1
14456 @endif libtool
14458 .PHONY: maybe-clean-libtool clean-libtool
14459 maybe-clean-libtool:
14460 @if libtool
14461 maybe-clean-libtool: clean-libtool
14463 clean-libtool:
14464 @[ -f ./libtool/Makefile ] || exit 0; \
14465 r=`${PWD_COMMAND}`; export r; \
14466 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14467 $(SET_LIB_PATH) \
14468 $(HOST_EXPORTS) \
14469 for flag in $(EXTRA_HOST_FLAGS) ; do \
14470 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14471 done; \
14472 echo "Doing clean in libtool" ; \
14473 (cd $(HOST_SUBDIR)/libtool && \
14474 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14475 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14476 "RANLIB=$${RANLIB}" \
14477 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14478 clean) \
14479 || exit 1
14481 @endif libtool
14483 .PHONY: maybe-distclean-libtool distclean-libtool
14484 maybe-distclean-libtool:
14485 @if libtool
14486 maybe-distclean-libtool: distclean-libtool
14488 distclean-libtool:
14489 @[ -f ./libtool/Makefile ] || exit 0; \
14490 r=`${PWD_COMMAND}`; export r; \
14491 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14492 $(SET_LIB_PATH) \
14493 $(HOST_EXPORTS) \
14494 for flag in $(EXTRA_HOST_FLAGS) ; do \
14495 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14496 done; \
14497 echo "Doing distclean in libtool" ; \
14498 (cd $(HOST_SUBDIR)/libtool && \
14499 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14500 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14501 "RANLIB=$${RANLIB}" \
14502 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14503 distclean) \
14504 || exit 1
14506 @endif libtool
14508 .PHONY: maybe-maintainer-clean-libtool maintainer-clean-libtool
14509 maybe-maintainer-clean-libtool:
14510 @if libtool
14511 maybe-maintainer-clean-libtool: maintainer-clean-libtool
14513 maintainer-clean-libtool:
14514 @[ -f ./libtool/Makefile ] || exit 0; \
14515 r=`${PWD_COMMAND}`; export r; \
14516 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14517 $(SET_LIB_PATH) \
14518 $(HOST_EXPORTS) \
14519 for flag in $(EXTRA_HOST_FLAGS) ; do \
14520 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14521 done; \
14522 echo "Doing maintainer-clean in libtool" ; \
14523 (cd $(HOST_SUBDIR)/libtool && \
14524 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14525 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14526 "RANLIB=$${RANLIB}" \
14527 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14528 maintainer-clean) \
14529 || exit 1
14531 @endif libtool
14534 .PHONY: configure-m4 maybe-configure-m4
14535 maybe-configure-m4:
14536 @if m4
14537 maybe-configure-m4: configure-m4
14538 configure-m4:
14539 @test ! -f $(HOST_SUBDIR)/m4/Makefile || exit 0; \
14540 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/m4 ; \
14541 r=`${PWD_COMMAND}`; export r; \
14542 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14543 $(HOST_EXPORTS) \
14544 echo Configuring in m4; \
14545 cd $(HOST_SUBDIR)/m4 || exit 1; \
14546 case $(srcdir) in \
14547 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14548 *) topdir=`echo $(HOST_SUBDIR)/m4/ | \
14549 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14550 esac; \
14551 srcdiroption="--srcdir=$${topdir}/m4"; \
14552 libsrcdir="$$s/m4"; \
14553 $(SHELL) $${libsrcdir}/configure \
14554 $(HOST_CONFIGARGS) $${srcdiroption} \
14555 || exit 1
14556 @endif m4
14558 .PHONY: all-m4 maybe-all-m4
14559 maybe-all-m4:
14560 @if m4
14561 TARGET-m4=all
14562 maybe-all-m4: all-m4
14563 all-m4: configure-m4
14564 @r=`${PWD_COMMAND}`; export r; \
14565 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14566 $(SET_LIB_PATH) \
14567 $(HOST_EXPORTS) \
14568 (cd $(HOST_SUBDIR)/m4 && \
14569 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-m4))
14570 @endif m4
14572 .PHONY: check-m4 maybe-check-m4
14573 maybe-check-m4:
14574 @if m4
14575 maybe-check-m4: check-m4
14577 check-m4:
14578 @r=`${PWD_COMMAND}`; export r; \
14579 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14580 $(SET_LIB_PATH) \
14581 $(HOST_EXPORTS) \
14582 (cd $(HOST_SUBDIR)/m4 && \
14583 $(MAKE) $(FLAGS_TO_PASS) check)
14585 @endif m4
14587 .PHONY: install-m4 maybe-install-m4
14588 maybe-install-m4:
14589 @if m4
14590 maybe-install-m4: install-m4
14592 install-m4: installdirs
14593 @r=`${PWD_COMMAND}`; export r; \
14594 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14595 $(SET_LIB_PATH) \
14596 $(HOST_EXPORTS) \
14597 (cd $(HOST_SUBDIR)/m4 && \
14598 $(MAKE) $(FLAGS_TO_PASS) install)
14600 @endif m4
14602 # Other targets (info, dvi, etc.)
14604 .PHONY: maybe-info-m4 info-m4
14605 maybe-info-m4:
14606 @if m4
14607 maybe-info-m4: info-m4
14609 info-m4: \
14610 configure-m4
14611 @[ -f ./m4/Makefile ] || exit 0; \
14612 r=`${PWD_COMMAND}`; export r; \
14613 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14614 $(SET_LIB_PATH) \
14615 $(HOST_EXPORTS) \
14616 for flag in $(EXTRA_HOST_FLAGS) ; do \
14617 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14618 done; \
14619 echo "Doing info in m4" ; \
14620 (cd $(HOST_SUBDIR)/m4 && \
14621 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14622 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14623 "RANLIB=$${RANLIB}" \
14624 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14625 info) \
14626 || exit 1
14628 @endif m4
14630 .PHONY: maybe-dvi-m4 dvi-m4
14631 maybe-dvi-m4:
14632 @if m4
14633 maybe-dvi-m4: dvi-m4
14635 dvi-m4: \
14636 configure-m4
14637 @[ -f ./m4/Makefile ] || exit 0; \
14638 r=`${PWD_COMMAND}`; export r; \
14639 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14640 $(SET_LIB_PATH) \
14641 $(HOST_EXPORTS) \
14642 for flag in $(EXTRA_HOST_FLAGS) ; do \
14643 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14644 done; \
14645 echo "Doing dvi in m4" ; \
14646 (cd $(HOST_SUBDIR)/m4 && \
14647 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14648 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14649 "RANLIB=$${RANLIB}" \
14650 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14651 dvi) \
14652 || exit 1
14654 @endif m4
14656 .PHONY: maybe-html-m4 html-m4
14657 maybe-html-m4:
14658 @if m4
14659 maybe-html-m4: html-m4
14661 html-m4: \
14662 configure-m4
14663 @[ -f ./m4/Makefile ] || exit 0; \
14664 r=`${PWD_COMMAND}`; export r; \
14665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14666 $(SET_LIB_PATH) \
14667 $(HOST_EXPORTS) \
14668 for flag in $(EXTRA_HOST_FLAGS) ; do \
14669 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14670 done; \
14671 echo "Doing html in m4" ; \
14672 (cd $(HOST_SUBDIR)/m4 && \
14673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14675 "RANLIB=$${RANLIB}" \
14676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14677 html) \
14678 || exit 1
14680 @endif m4
14682 .PHONY: maybe-TAGS-m4 TAGS-m4
14683 maybe-TAGS-m4:
14684 @if m4
14685 maybe-TAGS-m4: TAGS-m4
14687 TAGS-m4: \
14688 configure-m4
14689 @[ -f ./m4/Makefile ] || exit 0; \
14690 r=`${PWD_COMMAND}`; export r; \
14691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14692 $(SET_LIB_PATH) \
14693 $(HOST_EXPORTS) \
14694 for flag in $(EXTRA_HOST_FLAGS) ; do \
14695 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14696 done; \
14697 echo "Doing TAGS in m4" ; \
14698 (cd $(HOST_SUBDIR)/m4 && \
14699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14701 "RANLIB=$${RANLIB}" \
14702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14703 TAGS) \
14704 || exit 1
14706 @endif m4
14708 .PHONY: maybe-install-info-m4 install-info-m4
14709 maybe-install-info-m4:
14710 @if m4
14711 maybe-install-info-m4: install-info-m4
14713 install-info-m4: \
14714 configure-m4 \
14715 info-m4
14716 @[ -f ./m4/Makefile ] || exit 0; \
14717 r=`${PWD_COMMAND}`; export r; \
14718 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14719 $(SET_LIB_PATH) \
14720 $(HOST_EXPORTS) \
14721 for flag in $(EXTRA_HOST_FLAGS) ; do \
14722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14723 done; \
14724 echo "Doing install-info in m4" ; \
14725 (cd $(HOST_SUBDIR)/m4 && \
14726 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14727 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14728 "RANLIB=$${RANLIB}" \
14729 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14730 install-info) \
14731 || exit 1
14733 @endif m4
14735 .PHONY: maybe-installcheck-m4 installcheck-m4
14736 maybe-installcheck-m4:
14737 @if m4
14738 maybe-installcheck-m4: installcheck-m4
14740 installcheck-m4: \
14741 configure-m4
14742 @[ -f ./m4/Makefile ] || exit 0; \
14743 r=`${PWD_COMMAND}`; export r; \
14744 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14745 $(SET_LIB_PATH) \
14746 $(HOST_EXPORTS) \
14747 for flag in $(EXTRA_HOST_FLAGS) ; do \
14748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14749 done; \
14750 echo "Doing installcheck in m4" ; \
14751 (cd $(HOST_SUBDIR)/m4 && \
14752 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14753 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14754 "RANLIB=$${RANLIB}" \
14755 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14756 installcheck) \
14757 || exit 1
14759 @endif m4
14761 .PHONY: maybe-mostlyclean-m4 mostlyclean-m4
14762 maybe-mostlyclean-m4:
14763 @if m4
14764 maybe-mostlyclean-m4: mostlyclean-m4
14766 mostlyclean-m4:
14767 @[ -f ./m4/Makefile ] || exit 0; \
14768 r=`${PWD_COMMAND}`; export r; \
14769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14770 $(SET_LIB_PATH) \
14771 $(HOST_EXPORTS) \
14772 for flag in $(EXTRA_HOST_FLAGS) ; do \
14773 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14774 done; \
14775 echo "Doing mostlyclean in m4" ; \
14776 (cd $(HOST_SUBDIR)/m4 && \
14777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14779 "RANLIB=$${RANLIB}" \
14780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14781 mostlyclean) \
14782 || exit 1
14784 @endif m4
14786 .PHONY: maybe-clean-m4 clean-m4
14787 maybe-clean-m4:
14788 @if m4
14789 maybe-clean-m4: clean-m4
14791 clean-m4:
14792 @[ -f ./m4/Makefile ] || exit 0; \
14793 r=`${PWD_COMMAND}`; export r; \
14794 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14795 $(SET_LIB_PATH) \
14796 $(HOST_EXPORTS) \
14797 for flag in $(EXTRA_HOST_FLAGS) ; do \
14798 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14799 done; \
14800 echo "Doing clean in m4" ; \
14801 (cd $(HOST_SUBDIR)/m4 && \
14802 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14803 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14804 "RANLIB=$${RANLIB}" \
14805 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14806 clean) \
14807 || exit 1
14809 @endif m4
14811 .PHONY: maybe-distclean-m4 distclean-m4
14812 maybe-distclean-m4:
14813 @if m4
14814 maybe-distclean-m4: distclean-m4
14816 distclean-m4:
14817 @[ -f ./m4/Makefile ] || exit 0; \
14818 r=`${PWD_COMMAND}`; export r; \
14819 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14820 $(SET_LIB_PATH) \
14821 $(HOST_EXPORTS) \
14822 for flag in $(EXTRA_HOST_FLAGS) ; do \
14823 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14824 done; \
14825 echo "Doing distclean in m4" ; \
14826 (cd $(HOST_SUBDIR)/m4 && \
14827 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14828 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14829 "RANLIB=$${RANLIB}" \
14830 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14831 distclean) \
14832 || exit 1
14834 @endif m4
14836 .PHONY: maybe-maintainer-clean-m4 maintainer-clean-m4
14837 maybe-maintainer-clean-m4:
14838 @if m4
14839 maybe-maintainer-clean-m4: maintainer-clean-m4
14841 maintainer-clean-m4:
14842 @[ -f ./m4/Makefile ] || exit 0; \
14843 r=`${PWD_COMMAND}`; export r; \
14844 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14845 $(SET_LIB_PATH) \
14846 $(HOST_EXPORTS) \
14847 for flag in $(EXTRA_HOST_FLAGS) ; do \
14848 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14849 done; \
14850 echo "Doing maintainer-clean in m4" ; \
14851 (cd $(HOST_SUBDIR)/m4 && \
14852 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14853 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14854 "RANLIB=$${RANLIB}" \
14855 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14856 maintainer-clean) \
14857 || exit 1
14859 @endif m4
14862 .PHONY: configure-make maybe-configure-make
14863 maybe-configure-make:
14864 @if make
14865 maybe-configure-make: configure-make
14866 configure-make:
14867 @test ! -f $(HOST_SUBDIR)/make/Makefile || exit 0; \
14868 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/make ; \
14869 r=`${PWD_COMMAND}`; export r; \
14870 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14871 $(HOST_EXPORTS) \
14872 echo Configuring in make; \
14873 cd $(HOST_SUBDIR)/make || exit 1; \
14874 case $(srcdir) in \
14875 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
14876 *) topdir=`echo $(HOST_SUBDIR)/make/ | \
14877 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
14878 esac; \
14879 srcdiroption="--srcdir=$${topdir}/make"; \
14880 libsrcdir="$$s/make"; \
14881 $(SHELL) $${libsrcdir}/configure \
14882 $(HOST_CONFIGARGS) $${srcdiroption} \
14883 || exit 1
14884 @endif make
14886 .PHONY: all-make maybe-all-make
14887 maybe-all-make:
14888 @if make
14889 TARGET-make=all
14890 maybe-all-make: all-make
14891 all-make: configure-make
14892 @r=`${PWD_COMMAND}`; export r; \
14893 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14894 $(SET_LIB_PATH) \
14895 $(HOST_EXPORTS) \
14896 (cd $(HOST_SUBDIR)/make && \
14897 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-make))
14898 @endif make
14900 .PHONY: check-make maybe-check-make
14901 maybe-check-make:
14902 @if make
14903 maybe-check-make: check-make
14905 check-make:
14906 @r=`${PWD_COMMAND}`; export r; \
14907 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14908 $(SET_LIB_PATH) \
14909 $(HOST_EXPORTS) \
14910 (cd $(HOST_SUBDIR)/make && \
14911 $(MAKE) $(FLAGS_TO_PASS) check)
14913 @endif make
14915 .PHONY: install-make maybe-install-make
14916 maybe-install-make:
14917 @if make
14918 maybe-install-make: install-make
14920 install-make: installdirs
14921 @r=`${PWD_COMMAND}`; export r; \
14922 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14923 $(SET_LIB_PATH) \
14924 $(HOST_EXPORTS) \
14925 (cd $(HOST_SUBDIR)/make && \
14926 $(MAKE) $(FLAGS_TO_PASS) install)
14928 @endif make
14930 # Other targets (info, dvi, etc.)
14932 .PHONY: maybe-info-make info-make
14933 maybe-info-make:
14934 @if make
14935 maybe-info-make: info-make
14937 info-make: \
14938 configure-make
14939 @[ -f ./make/Makefile ] || exit 0; \
14940 r=`${PWD_COMMAND}`; export r; \
14941 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14942 $(SET_LIB_PATH) \
14943 $(HOST_EXPORTS) \
14944 for flag in $(EXTRA_HOST_FLAGS) ; do \
14945 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14946 done; \
14947 echo "Doing info in make" ; \
14948 (cd $(HOST_SUBDIR)/make && \
14949 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14950 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14951 "RANLIB=$${RANLIB}" \
14952 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14953 info) \
14954 || exit 1
14956 @endif make
14958 .PHONY: maybe-dvi-make dvi-make
14959 maybe-dvi-make:
14960 @if make
14961 maybe-dvi-make: dvi-make
14963 dvi-make: \
14964 configure-make
14965 @[ -f ./make/Makefile ] || exit 0; \
14966 r=`${PWD_COMMAND}`; export r; \
14967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14968 $(SET_LIB_PATH) \
14969 $(HOST_EXPORTS) \
14970 for flag in $(EXTRA_HOST_FLAGS) ; do \
14971 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14972 done; \
14973 echo "Doing dvi in make" ; \
14974 (cd $(HOST_SUBDIR)/make && \
14975 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
14976 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
14977 "RANLIB=$${RANLIB}" \
14978 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
14979 dvi) \
14980 || exit 1
14982 @endif make
14984 .PHONY: maybe-html-make html-make
14985 maybe-html-make:
14986 @if make
14987 maybe-html-make: html-make
14989 html-make: \
14990 configure-make
14991 @[ -f ./make/Makefile ] || exit 0; \
14992 r=`${PWD_COMMAND}`; export r; \
14993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
14994 $(SET_LIB_PATH) \
14995 $(HOST_EXPORTS) \
14996 for flag in $(EXTRA_HOST_FLAGS) ; do \
14997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
14998 done; \
14999 echo "Doing html in make" ; \
15000 (cd $(HOST_SUBDIR)/make && \
15001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15003 "RANLIB=$${RANLIB}" \
15004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15005 html) \
15006 || exit 1
15008 @endif make
15010 .PHONY: maybe-TAGS-make TAGS-make
15011 maybe-TAGS-make:
15012 @if make
15013 maybe-TAGS-make: TAGS-make
15015 TAGS-make: \
15016 configure-make
15017 @[ -f ./make/Makefile ] || exit 0; \
15018 r=`${PWD_COMMAND}`; export r; \
15019 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15020 $(SET_LIB_PATH) \
15021 $(HOST_EXPORTS) \
15022 for flag in $(EXTRA_HOST_FLAGS) ; do \
15023 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15024 done; \
15025 echo "Doing TAGS in make" ; \
15026 (cd $(HOST_SUBDIR)/make && \
15027 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15028 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15029 "RANLIB=$${RANLIB}" \
15030 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15031 TAGS) \
15032 || exit 1
15034 @endif make
15036 .PHONY: maybe-install-info-make install-info-make
15037 maybe-install-info-make:
15038 @if make
15039 maybe-install-info-make: install-info-make
15041 install-info-make: \
15042 configure-make \
15043 info-make
15044 @[ -f ./make/Makefile ] || exit 0; \
15045 r=`${PWD_COMMAND}`; export r; \
15046 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15047 $(SET_LIB_PATH) \
15048 $(HOST_EXPORTS) \
15049 for flag in $(EXTRA_HOST_FLAGS) ; do \
15050 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15051 done; \
15052 echo "Doing install-info in make" ; \
15053 (cd $(HOST_SUBDIR)/make && \
15054 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15055 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15056 "RANLIB=$${RANLIB}" \
15057 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15058 install-info) \
15059 || exit 1
15061 @endif make
15063 .PHONY: maybe-installcheck-make installcheck-make
15064 maybe-installcheck-make:
15065 @if make
15066 maybe-installcheck-make: installcheck-make
15068 installcheck-make: \
15069 configure-make
15070 @[ -f ./make/Makefile ] || exit 0; \
15071 r=`${PWD_COMMAND}`; export r; \
15072 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15073 $(SET_LIB_PATH) \
15074 $(HOST_EXPORTS) \
15075 for flag in $(EXTRA_HOST_FLAGS) ; do \
15076 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15077 done; \
15078 echo "Doing installcheck in make" ; \
15079 (cd $(HOST_SUBDIR)/make && \
15080 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15081 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15082 "RANLIB=$${RANLIB}" \
15083 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15084 installcheck) \
15085 || exit 1
15087 @endif make
15089 .PHONY: maybe-mostlyclean-make mostlyclean-make
15090 maybe-mostlyclean-make:
15091 @if make
15092 maybe-mostlyclean-make: mostlyclean-make
15094 mostlyclean-make:
15095 @[ -f ./make/Makefile ] || exit 0; \
15096 r=`${PWD_COMMAND}`; export r; \
15097 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15098 $(SET_LIB_PATH) \
15099 $(HOST_EXPORTS) \
15100 for flag in $(EXTRA_HOST_FLAGS) ; do \
15101 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15102 done; \
15103 echo "Doing mostlyclean in make" ; \
15104 (cd $(HOST_SUBDIR)/make && \
15105 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15106 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15107 "RANLIB=$${RANLIB}" \
15108 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15109 mostlyclean) \
15110 || exit 1
15112 @endif make
15114 .PHONY: maybe-clean-make clean-make
15115 maybe-clean-make:
15116 @if make
15117 maybe-clean-make: clean-make
15119 clean-make:
15120 @[ -f ./make/Makefile ] || exit 0; \
15121 r=`${PWD_COMMAND}`; export r; \
15122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15123 $(SET_LIB_PATH) \
15124 $(HOST_EXPORTS) \
15125 for flag in $(EXTRA_HOST_FLAGS) ; do \
15126 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15127 done; \
15128 echo "Doing clean in make" ; \
15129 (cd $(HOST_SUBDIR)/make && \
15130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15132 "RANLIB=$${RANLIB}" \
15133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15134 clean) \
15135 || exit 1
15137 @endif make
15139 .PHONY: maybe-distclean-make distclean-make
15140 maybe-distclean-make:
15141 @if make
15142 maybe-distclean-make: distclean-make
15144 distclean-make:
15145 @[ -f ./make/Makefile ] || exit 0; \
15146 r=`${PWD_COMMAND}`; export r; \
15147 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15148 $(SET_LIB_PATH) \
15149 $(HOST_EXPORTS) \
15150 for flag in $(EXTRA_HOST_FLAGS) ; do \
15151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15152 done; \
15153 echo "Doing distclean in make" ; \
15154 (cd $(HOST_SUBDIR)/make && \
15155 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15156 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15157 "RANLIB=$${RANLIB}" \
15158 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15159 distclean) \
15160 || exit 1
15162 @endif make
15164 .PHONY: maybe-maintainer-clean-make maintainer-clean-make
15165 maybe-maintainer-clean-make:
15166 @if make
15167 maybe-maintainer-clean-make: maintainer-clean-make
15169 maintainer-clean-make:
15170 @[ -f ./make/Makefile ] || exit 0; \
15171 r=`${PWD_COMMAND}`; export r; \
15172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15173 $(SET_LIB_PATH) \
15174 $(HOST_EXPORTS) \
15175 for flag in $(EXTRA_HOST_FLAGS) ; do \
15176 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15177 done; \
15178 echo "Doing maintainer-clean in make" ; \
15179 (cd $(HOST_SUBDIR)/make && \
15180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15182 "RANLIB=$${RANLIB}" \
15183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15184 maintainer-clean) \
15185 || exit 1
15187 @endif make
15190 .PHONY: configure-mmalloc maybe-configure-mmalloc
15191 maybe-configure-mmalloc:
15192 @if mmalloc
15193 maybe-configure-mmalloc: configure-mmalloc
15194 configure-mmalloc:
15195 @test ! -f $(HOST_SUBDIR)/mmalloc/Makefile || exit 0; \
15196 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/mmalloc ; \
15197 r=`${PWD_COMMAND}`; export r; \
15198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15199 $(HOST_EXPORTS) \
15200 echo Configuring in mmalloc; \
15201 cd $(HOST_SUBDIR)/mmalloc || exit 1; \
15202 case $(srcdir) in \
15203 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15204 *) topdir=`echo $(HOST_SUBDIR)/mmalloc/ | \
15205 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15206 esac; \
15207 srcdiroption="--srcdir=$${topdir}/mmalloc"; \
15208 libsrcdir="$$s/mmalloc"; \
15209 $(SHELL) $${libsrcdir}/configure \
15210 $(HOST_CONFIGARGS) $${srcdiroption} \
15211 || exit 1
15212 @endif mmalloc
15214 .PHONY: all-mmalloc maybe-all-mmalloc
15215 maybe-all-mmalloc:
15216 @if mmalloc
15217 TARGET-mmalloc=all
15218 maybe-all-mmalloc: all-mmalloc
15219 all-mmalloc: configure-mmalloc
15220 @r=`${PWD_COMMAND}`; export r; \
15221 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15222 $(SET_LIB_PATH) \
15223 $(HOST_EXPORTS) \
15224 (cd $(HOST_SUBDIR)/mmalloc && \
15225 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-mmalloc))
15226 @endif mmalloc
15228 .PHONY: check-mmalloc maybe-check-mmalloc
15229 maybe-check-mmalloc:
15230 @if mmalloc
15231 maybe-check-mmalloc: check-mmalloc
15233 check-mmalloc:
15235 @endif mmalloc
15237 .PHONY: install-mmalloc maybe-install-mmalloc
15238 maybe-install-mmalloc:
15239 @if mmalloc
15240 maybe-install-mmalloc: install-mmalloc
15242 install-mmalloc: installdirs
15243 @r=`${PWD_COMMAND}`; export r; \
15244 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15245 $(SET_LIB_PATH) \
15246 $(HOST_EXPORTS) \
15247 (cd $(HOST_SUBDIR)/mmalloc && \
15248 $(MAKE) $(FLAGS_TO_PASS) install)
15250 @endif mmalloc
15252 # Other targets (info, dvi, etc.)
15254 .PHONY: maybe-info-mmalloc info-mmalloc
15255 maybe-info-mmalloc:
15256 @if mmalloc
15257 maybe-info-mmalloc: info-mmalloc
15259 info-mmalloc: \
15260 configure-mmalloc
15261 @[ -f ./mmalloc/Makefile ] || exit 0; \
15262 r=`${PWD_COMMAND}`; export r; \
15263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15264 $(SET_LIB_PATH) \
15265 $(HOST_EXPORTS) \
15266 for flag in $(EXTRA_HOST_FLAGS) ; do \
15267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15268 done; \
15269 echo "Doing info in mmalloc" ; \
15270 (cd $(HOST_SUBDIR)/mmalloc && \
15271 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15272 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15273 "RANLIB=$${RANLIB}" \
15274 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15275 info) \
15276 || exit 1
15278 @endif mmalloc
15280 .PHONY: maybe-dvi-mmalloc dvi-mmalloc
15281 maybe-dvi-mmalloc:
15282 @if mmalloc
15283 maybe-dvi-mmalloc: dvi-mmalloc
15285 dvi-mmalloc: \
15286 configure-mmalloc
15287 @[ -f ./mmalloc/Makefile ] || exit 0; \
15288 r=`${PWD_COMMAND}`; export r; \
15289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15290 $(SET_LIB_PATH) \
15291 $(HOST_EXPORTS) \
15292 for flag in $(EXTRA_HOST_FLAGS) ; do \
15293 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15294 done; \
15295 echo "Doing dvi in mmalloc" ; \
15296 (cd $(HOST_SUBDIR)/mmalloc && \
15297 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15298 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15299 "RANLIB=$${RANLIB}" \
15300 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15301 dvi) \
15302 || exit 1
15304 @endif mmalloc
15306 .PHONY: maybe-html-mmalloc html-mmalloc
15307 maybe-html-mmalloc:
15308 @if mmalloc
15309 maybe-html-mmalloc: html-mmalloc
15311 html-mmalloc: \
15312 configure-mmalloc
15313 @[ -f ./mmalloc/Makefile ] || exit 0; \
15314 r=`${PWD_COMMAND}`; export r; \
15315 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15316 $(SET_LIB_PATH) \
15317 $(HOST_EXPORTS) \
15318 for flag in $(EXTRA_HOST_FLAGS) ; do \
15319 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15320 done; \
15321 echo "Doing html in mmalloc" ; \
15322 (cd $(HOST_SUBDIR)/mmalloc && \
15323 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15324 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15325 "RANLIB=$${RANLIB}" \
15326 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15327 html) \
15328 || exit 1
15330 @endif mmalloc
15332 .PHONY: maybe-TAGS-mmalloc TAGS-mmalloc
15333 maybe-TAGS-mmalloc:
15334 @if mmalloc
15335 maybe-TAGS-mmalloc: TAGS-mmalloc
15337 TAGS-mmalloc: \
15338 configure-mmalloc
15339 @[ -f ./mmalloc/Makefile ] || exit 0; \
15340 r=`${PWD_COMMAND}`; export r; \
15341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15342 $(SET_LIB_PATH) \
15343 $(HOST_EXPORTS) \
15344 for flag in $(EXTRA_HOST_FLAGS) ; do \
15345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15346 done; \
15347 echo "Doing TAGS in mmalloc" ; \
15348 (cd $(HOST_SUBDIR)/mmalloc && \
15349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15351 "RANLIB=$${RANLIB}" \
15352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15353 TAGS) \
15354 || exit 1
15356 @endif mmalloc
15358 .PHONY: maybe-install-info-mmalloc install-info-mmalloc
15359 maybe-install-info-mmalloc:
15360 @if mmalloc
15361 maybe-install-info-mmalloc: install-info-mmalloc
15363 install-info-mmalloc: \
15364 configure-mmalloc \
15365 info-mmalloc
15366 @[ -f ./mmalloc/Makefile ] || exit 0; \
15367 r=`${PWD_COMMAND}`; export r; \
15368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15369 $(SET_LIB_PATH) \
15370 $(HOST_EXPORTS) \
15371 for flag in $(EXTRA_HOST_FLAGS) ; do \
15372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15373 done; \
15374 echo "Doing install-info in mmalloc" ; \
15375 (cd $(HOST_SUBDIR)/mmalloc && \
15376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15378 "RANLIB=$${RANLIB}" \
15379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15380 install-info) \
15381 || exit 1
15383 @endif mmalloc
15385 .PHONY: maybe-installcheck-mmalloc installcheck-mmalloc
15386 maybe-installcheck-mmalloc:
15387 @if mmalloc
15388 maybe-installcheck-mmalloc: installcheck-mmalloc
15390 installcheck-mmalloc: \
15391 configure-mmalloc
15392 @[ -f ./mmalloc/Makefile ] || exit 0; \
15393 r=`${PWD_COMMAND}`; export r; \
15394 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15395 $(SET_LIB_PATH) \
15396 $(HOST_EXPORTS) \
15397 for flag in $(EXTRA_HOST_FLAGS) ; do \
15398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15399 done; \
15400 echo "Doing installcheck in mmalloc" ; \
15401 (cd $(HOST_SUBDIR)/mmalloc && \
15402 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15403 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15404 "RANLIB=$${RANLIB}" \
15405 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15406 installcheck) \
15407 || exit 1
15409 @endif mmalloc
15411 .PHONY: maybe-mostlyclean-mmalloc mostlyclean-mmalloc
15412 maybe-mostlyclean-mmalloc:
15413 @if mmalloc
15414 maybe-mostlyclean-mmalloc: mostlyclean-mmalloc
15416 mostlyclean-mmalloc:
15417 @[ -f ./mmalloc/Makefile ] || exit 0; \
15418 r=`${PWD_COMMAND}`; export r; \
15419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15420 $(SET_LIB_PATH) \
15421 $(HOST_EXPORTS) \
15422 for flag in $(EXTRA_HOST_FLAGS) ; do \
15423 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15424 done; \
15425 echo "Doing mostlyclean in mmalloc" ; \
15426 (cd $(HOST_SUBDIR)/mmalloc && \
15427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15429 "RANLIB=$${RANLIB}" \
15430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15431 mostlyclean) \
15432 || exit 1
15434 @endif mmalloc
15436 .PHONY: maybe-clean-mmalloc clean-mmalloc
15437 maybe-clean-mmalloc:
15438 @if mmalloc
15439 maybe-clean-mmalloc: clean-mmalloc
15441 clean-mmalloc:
15442 @[ -f ./mmalloc/Makefile ] || exit 0; \
15443 r=`${PWD_COMMAND}`; export r; \
15444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15445 $(SET_LIB_PATH) \
15446 $(HOST_EXPORTS) \
15447 for flag in $(EXTRA_HOST_FLAGS) ; do \
15448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15449 done; \
15450 echo "Doing clean in mmalloc" ; \
15451 (cd $(HOST_SUBDIR)/mmalloc && \
15452 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15453 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15454 "RANLIB=$${RANLIB}" \
15455 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15456 clean) \
15457 || exit 1
15459 @endif mmalloc
15461 .PHONY: maybe-distclean-mmalloc distclean-mmalloc
15462 maybe-distclean-mmalloc:
15463 @if mmalloc
15464 maybe-distclean-mmalloc: distclean-mmalloc
15466 distclean-mmalloc:
15467 @[ -f ./mmalloc/Makefile ] || exit 0; \
15468 r=`${PWD_COMMAND}`; export r; \
15469 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15470 $(SET_LIB_PATH) \
15471 $(HOST_EXPORTS) \
15472 for flag in $(EXTRA_HOST_FLAGS) ; do \
15473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15474 done; \
15475 echo "Doing distclean in mmalloc" ; \
15476 (cd $(HOST_SUBDIR)/mmalloc && \
15477 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15478 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15479 "RANLIB=$${RANLIB}" \
15480 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15481 distclean) \
15482 || exit 1
15484 @endif mmalloc
15486 .PHONY: maybe-maintainer-clean-mmalloc maintainer-clean-mmalloc
15487 maybe-maintainer-clean-mmalloc:
15488 @if mmalloc
15489 maybe-maintainer-clean-mmalloc: maintainer-clean-mmalloc
15491 maintainer-clean-mmalloc:
15492 @[ -f ./mmalloc/Makefile ] || exit 0; \
15493 r=`${PWD_COMMAND}`; export r; \
15494 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15495 $(SET_LIB_PATH) \
15496 $(HOST_EXPORTS) \
15497 for flag in $(EXTRA_HOST_FLAGS) ; do \
15498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15499 done; \
15500 echo "Doing maintainer-clean in mmalloc" ; \
15501 (cd $(HOST_SUBDIR)/mmalloc && \
15502 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15503 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15504 "RANLIB=$${RANLIB}" \
15505 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15506 maintainer-clean) \
15507 || exit 1
15509 @endif mmalloc
15512 .PHONY: configure-patch maybe-configure-patch
15513 maybe-configure-patch:
15514 @if patch
15515 maybe-configure-patch: configure-patch
15516 configure-patch:
15517 @test ! -f $(HOST_SUBDIR)/patch/Makefile || exit 0; \
15518 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/patch ; \
15519 r=`${PWD_COMMAND}`; export r; \
15520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15521 $(HOST_EXPORTS) \
15522 echo Configuring in patch; \
15523 cd $(HOST_SUBDIR)/patch || exit 1; \
15524 case $(srcdir) in \
15525 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15526 *) topdir=`echo $(HOST_SUBDIR)/patch/ | \
15527 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15528 esac; \
15529 srcdiroption="--srcdir=$${topdir}/patch"; \
15530 libsrcdir="$$s/patch"; \
15531 $(SHELL) $${libsrcdir}/configure \
15532 $(HOST_CONFIGARGS) $${srcdiroption} \
15533 || exit 1
15534 @endif patch
15536 .PHONY: all-patch maybe-all-patch
15537 maybe-all-patch:
15538 @if patch
15539 TARGET-patch=all
15540 maybe-all-patch: all-patch
15541 all-patch: configure-patch
15542 @r=`${PWD_COMMAND}`; export r; \
15543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15544 $(SET_LIB_PATH) \
15545 $(HOST_EXPORTS) \
15546 (cd $(HOST_SUBDIR)/patch && \
15547 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-patch))
15548 @endif patch
15550 .PHONY: check-patch maybe-check-patch
15551 maybe-check-patch:
15552 @if patch
15553 maybe-check-patch: check-patch
15555 check-patch:
15556 @r=`${PWD_COMMAND}`; export r; \
15557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15558 $(SET_LIB_PATH) \
15559 $(HOST_EXPORTS) \
15560 (cd $(HOST_SUBDIR)/patch && \
15561 $(MAKE) $(FLAGS_TO_PASS) check)
15563 @endif patch
15565 .PHONY: install-patch maybe-install-patch
15566 maybe-install-patch:
15567 @if patch
15568 maybe-install-patch: install-patch
15570 install-patch: installdirs
15571 @r=`${PWD_COMMAND}`; export r; \
15572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15573 $(SET_LIB_PATH) \
15574 $(HOST_EXPORTS) \
15575 (cd $(HOST_SUBDIR)/patch && \
15576 $(MAKE) $(FLAGS_TO_PASS) install)
15578 @endif patch
15580 # Other targets (info, dvi, etc.)
15582 .PHONY: maybe-info-patch info-patch
15583 maybe-info-patch:
15584 @if patch
15585 maybe-info-patch: info-patch
15587 info-patch: \
15588 configure-patch
15589 @[ -f ./patch/Makefile ] || exit 0; \
15590 r=`${PWD_COMMAND}`; export r; \
15591 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15592 $(SET_LIB_PATH) \
15593 $(HOST_EXPORTS) \
15594 for flag in $(EXTRA_HOST_FLAGS) ; do \
15595 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15596 done; \
15597 echo "Doing info in patch" ; \
15598 (cd $(HOST_SUBDIR)/patch && \
15599 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15600 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15601 "RANLIB=$${RANLIB}" \
15602 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15603 info) \
15604 || exit 1
15606 @endif patch
15608 .PHONY: maybe-dvi-patch dvi-patch
15609 maybe-dvi-patch:
15610 @if patch
15611 maybe-dvi-patch: dvi-patch
15613 dvi-patch: \
15614 configure-patch
15615 @[ -f ./patch/Makefile ] || exit 0; \
15616 r=`${PWD_COMMAND}`; export r; \
15617 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15618 $(SET_LIB_PATH) \
15619 $(HOST_EXPORTS) \
15620 for flag in $(EXTRA_HOST_FLAGS) ; do \
15621 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15622 done; \
15623 echo "Doing dvi in patch" ; \
15624 (cd $(HOST_SUBDIR)/patch && \
15625 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15626 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15627 "RANLIB=$${RANLIB}" \
15628 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15629 dvi) \
15630 || exit 1
15632 @endif patch
15634 .PHONY: maybe-html-patch html-patch
15635 maybe-html-patch:
15636 @if patch
15637 maybe-html-patch: html-patch
15639 html-patch: \
15640 configure-patch
15641 @[ -f ./patch/Makefile ] || exit 0; \
15642 r=`${PWD_COMMAND}`; export r; \
15643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15644 $(SET_LIB_PATH) \
15645 $(HOST_EXPORTS) \
15646 for flag in $(EXTRA_HOST_FLAGS) ; do \
15647 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15648 done; \
15649 echo "Doing html in patch" ; \
15650 (cd $(HOST_SUBDIR)/patch && \
15651 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15652 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15653 "RANLIB=$${RANLIB}" \
15654 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15655 html) \
15656 || exit 1
15658 @endif patch
15660 .PHONY: maybe-TAGS-patch TAGS-patch
15661 maybe-TAGS-patch:
15662 @if patch
15663 maybe-TAGS-patch: TAGS-patch
15665 TAGS-patch: \
15666 configure-patch
15667 @[ -f ./patch/Makefile ] || exit 0; \
15668 r=`${PWD_COMMAND}`; export r; \
15669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15670 $(SET_LIB_PATH) \
15671 $(HOST_EXPORTS) \
15672 for flag in $(EXTRA_HOST_FLAGS) ; do \
15673 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15674 done; \
15675 echo "Doing TAGS in patch" ; \
15676 (cd $(HOST_SUBDIR)/patch && \
15677 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15678 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15679 "RANLIB=$${RANLIB}" \
15680 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15681 TAGS) \
15682 || exit 1
15684 @endif patch
15686 .PHONY: maybe-install-info-patch install-info-patch
15687 maybe-install-info-patch:
15688 @if patch
15689 maybe-install-info-patch: install-info-patch
15691 install-info-patch: \
15692 configure-patch \
15693 info-patch
15694 @[ -f ./patch/Makefile ] || exit 0; \
15695 r=`${PWD_COMMAND}`; export r; \
15696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15697 $(SET_LIB_PATH) \
15698 $(HOST_EXPORTS) \
15699 for flag in $(EXTRA_HOST_FLAGS) ; do \
15700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15701 done; \
15702 echo "Doing install-info in patch" ; \
15703 (cd $(HOST_SUBDIR)/patch && \
15704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15706 "RANLIB=$${RANLIB}" \
15707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15708 install-info) \
15709 || exit 1
15711 @endif patch
15713 .PHONY: maybe-installcheck-patch installcheck-patch
15714 maybe-installcheck-patch:
15715 @if patch
15716 maybe-installcheck-patch: installcheck-patch
15718 installcheck-patch: \
15719 configure-patch
15720 @[ -f ./patch/Makefile ] || exit 0; \
15721 r=`${PWD_COMMAND}`; export r; \
15722 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15723 $(SET_LIB_PATH) \
15724 $(HOST_EXPORTS) \
15725 for flag in $(EXTRA_HOST_FLAGS) ; do \
15726 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15727 done; \
15728 echo "Doing installcheck in patch" ; \
15729 (cd $(HOST_SUBDIR)/patch && \
15730 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15731 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15732 "RANLIB=$${RANLIB}" \
15733 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15734 installcheck) \
15735 || exit 1
15737 @endif patch
15739 .PHONY: maybe-mostlyclean-patch mostlyclean-patch
15740 maybe-mostlyclean-patch:
15741 @if patch
15742 maybe-mostlyclean-patch: mostlyclean-patch
15744 mostlyclean-patch:
15745 @[ -f ./patch/Makefile ] || exit 0; \
15746 r=`${PWD_COMMAND}`; export r; \
15747 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15748 $(SET_LIB_PATH) \
15749 $(HOST_EXPORTS) \
15750 for flag in $(EXTRA_HOST_FLAGS) ; do \
15751 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15752 done; \
15753 echo "Doing mostlyclean in patch" ; \
15754 (cd $(HOST_SUBDIR)/patch && \
15755 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15756 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15757 "RANLIB=$${RANLIB}" \
15758 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15759 mostlyclean) \
15760 || exit 1
15762 @endif patch
15764 .PHONY: maybe-clean-patch clean-patch
15765 maybe-clean-patch:
15766 @if patch
15767 maybe-clean-patch: clean-patch
15769 clean-patch:
15770 @[ -f ./patch/Makefile ] || exit 0; \
15771 r=`${PWD_COMMAND}`; export r; \
15772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15773 $(SET_LIB_PATH) \
15774 $(HOST_EXPORTS) \
15775 for flag in $(EXTRA_HOST_FLAGS) ; do \
15776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15777 done; \
15778 echo "Doing clean in patch" ; \
15779 (cd $(HOST_SUBDIR)/patch && \
15780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15782 "RANLIB=$${RANLIB}" \
15783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15784 clean) \
15785 || exit 1
15787 @endif patch
15789 .PHONY: maybe-distclean-patch distclean-patch
15790 maybe-distclean-patch:
15791 @if patch
15792 maybe-distclean-patch: distclean-patch
15794 distclean-patch:
15795 @[ -f ./patch/Makefile ] || exit 0; \
15796 r=`${PWD_COMMAND}`; export r; \
15797 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15798 $(SET_LIB_PATH) \
15799 $(HOST_EXPORTS) \
15800 for flag in $(EXTRA_HOST_FLAGS) ; do \
15801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15802 done; \
15803 echo "Doing distclean in patch" ; \
15804 (cd $(HOST_SUBDIR)/patch && \
15805 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15806 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15807 "RANLIB=$${RANLIB}" \
15808 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15809 distclean) \
15810 || exit 1
15812 @endif patch
15814 .PHONY: maybe-maintainer-clean-patch maintainer-clean-patch
15815 maybe-maintainer-clean-patch:
15816 @if patch
15817 maybe-maintainer-clean-patch: maintainer-clean-patch
15819 maintainer-clean-patch:
15820 @[ -f ./patch/Makefile ] || exit 0; \
15821 r=`${PWD_COMMAND}`; export r; \
15822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15823 $(SET_LIB_PATH) \
15824 $(HOST_EXPORTS) \
15825 for flag in $(EXTRA_HOST_FLAGS) ; do \
15826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15827 done; \
15828 echo "Doing maintainer-clean in patch" ; \
15829 (cd $(HOST_SUBDIR)/patch && \
15830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15832 "RANLIB=$${RANLIB}" \
15833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15834 maintainer-clean) \
15835 || exit 1
15837 @endif patch
15840 .PHONY: configure-perl maybe-configure-perl
15841 maybe-configure-perl:
15842 @if perl
15843 maybe-configure-perl: configure-perl
15844 configure-perl:
15845 @test ! -f $(HOST_SUBDIR)/perl/Makefile || exit 0; \
15846 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/perl ; \
15847 r=`${PWD_COMMAND}`; export r; \
15848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15849 $(HOST_EXPORTS) \
15850 echo Configuring in perl; \
15851 cd $(HOST_SUBDIR)/perl || exit 1; \
15852 case $(srcdir) in \
15853 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
15854 *) topdir=`echo $(HOST_SUBDIR)/perl/ | \
15855 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
15856 esac; \
15857 srcdiroption="--srcdir=$${topdir}/perl"; \
15858 libsrcdir="$$s/perl"; \
15859 $(SHELL) $${libsrcdir}/configure \
15860 $(HOST_CONFIGARGS) $${srcdiroption} \
15861 || exit 1
15862 @endif perl
15864 .PHONY: all-perl maybe-all-perl
15865 maybe-all-perl:
15866 @if perl
15867 TARGET-perl=all
15868 maybe-all-perl: all-perl
15869 all-perl: configure-perl
15870 @r=`${PWD_COMMAND}`; export r; \
15871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15872 $(SET_LIB_PATH) \
15873 $(HOST_EXPORTS) \
15874 (cd $(HOST_SUBDIR)/perl && \
15875 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-perl))
15876 @endif perl
15878 .PHONY: check-perl maybe-check-perl
15879 maybe-check-perl:
15880 @if perl
15881 maybe-check-perl: check-perl
15883 check-perl:
15884 @r=`${PWD_COMMAND}`; export r; \
15885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15886 $(SET_LIB_PATH) \
15887 $(HOST_EXPORTS) \
15888 (cd $(HOST_SUBDIR)/perl && \
15889 $(MAKE) $(FLAGS_TO_PASS) check)
15891 @endif perl
15893 .PHONY: install-perl maybe-install-perl
15894 maybe-install-perl:
15895 @if perl
15896 maybe-install-perl: install-perl
15898 install-perl: installdirs
15899 @r=`${PWD_COMMAND}`; export r; \
15900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15901 $(SET_LIB_PATH) \
15902 $(HOST_EXPORTS) \
15903 (cd $(HOST_SUBDIR)/perl && \
15904 $(MAKE) $(FLAGS_TO_PASS) install)
15906 @endif perl
15908 # Other targets (info, dvi, etc.)
15910 .PHONY: maybe-info-perl info-perl
15911 maybe-info-perl:
15912 @if perl
15913 maybe-info-perl: info-perl
15915 info-perl: \
15916 configure-perl
15917 @[ -f ./perl/Makefile ] || exit 0; \
15918 r=`${PWD_COMMAND}`; export r; \
15919 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15920 $(SET_LIB_PATH) \
15921 $(HOST_EXPORTS) \
15922 for flag in $(EXTRA_HOST_FLAGS) ; do \
15923 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15924 done; \
15925 echo "Doing info in perl" ; \
15926 (cd $(HOST_SUBDIR)/perl && \
15927 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15928 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15929 "RANLIB=$${RANLIB}" \
15930 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15931 info) \
15932 || exit 1
15934 @endif perl
15936 .PHONY: maybe-dvi-perl dvi-perl
15937 maybe-dvi-perl:
15938 @if perl
15939 maybe-dvi-perl: dvi-perl
15941 dvi-perl: \
15942 configure-perl
15943 @[ -f ./perl/Makefile ] || exit 0; \
15944 r=`${PWD_COMMAND}`; export r; \
15945 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15946 $(SET_LIB_PATH) \
15947 $(HOST_EXPORTS) \
15948 for flag in $(EXTRA_HOST_FLAGS) ; do \
15949 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15950 done; \
15951 echo "Doing dvi in perl" ; \
15952 (cd $(HOST_SUBDIR)/perl && \
15953 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15954 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15955 "RANLIB=$${RANLIB}" \
15956 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15957 dvi) \
15958 || exit 1
15960 @endif perl
15962 .PHONY: maybe-html-perl html-perl
15963 maybe-html-perl:
15964 @if perl
15965 maybe-html-perl: html-perl
15967 html-perl: \
15968 configure-perl
15969 @[ -f ./perl/Makefile ] || exit 0; \
15970 r=`${PWD_COMMAND}`; export r; \
15971 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15972 $(SET_LIB_PATH) \
15973 $(HOST_EXPORTS) \
15974 for flag in $(EXTRA_HOST_FLAGS) ; do \
15975 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
15976 done; \
15977 echo "Doing html in perl" ; \
15978 (cd $(HOST_SUBDIR)/perl && \
15979 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
15980 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
15981 "RANLIB=$${RANLIB}" \
15982 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
15983 html) \
15984 || exit 1
15986 @endif perl
15988 .PHONY: maybe-TAGS-perl TAGS-perl
15989 maybe-TAGS-perl:
15990 @if perl
15991 maybe-TAGS-perl: TAGS-perl
15993 TAGS-perl: \
15994 configure-perl
15995 @[ -f ./perl/Makefile ] || exit 0; \
15996 r=`${PWD_COMMAND}`; export r; \
15997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
15998 $(SET_LIB_PATH) \
15999 $(HOST_EXPORTS) \
16000 for flag in $(EXTRA_HOST_FLAGS) ; do \
16001 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16002 done; \
16003 echo "Doing TAGS in perl" ; \
16004 (cd $(HOST_SUBDIR)/perl && \
16005 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16006 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16007 "RANLIB=$${RANLIB}" \
16008 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16009 TAGS) \
16010 || exit 1
16012 @endif perl
16014 .PHONY: maybe-install-info-perl install-info-perl
16015 maybe-install-info-perl:
16016 @if perl
16017 maybe-install-info-perl: install-info-perl
16019 install-info-perl: \
16020 configure-perl \
16021 info-perl
16022 @[ -f ./perl/Makefile ] || exit 0; \
16023 r=`${PWD_COMMAND}`; export r; \
16024 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16025 $(SET_LIB_PATH) \
16026 $(HOST_EXPORTS) \
16027 for flag in $(EXTRA_HOST_FLAGS) ; do \
16028 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16029 done; \
16030 echo "Doing install-info in perl" ; \
16031 (cd $(HOST_SUBDIR)/perl && \
16032 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16033 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16034 "RANLIB=$${RANLIB}" \
16035 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16036 install-info) \
16037 || exit 1
16039 @endif perl
16041 .PHONY: maybe-installcheck-perl installcheck-perl
16042 maybe-installcheck-perl:
16043 @if perl
16044 maybe-installcheck-perl: installcheck-perl
16046 installcheck-perl: \
16047 configure-perl
16048 @[ -f ./perl/Makefile ] || exit 0; \
16049 r=`${PWD_COMMAND}`; export r; \
16050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16051 $(SET_LIB_PATH) \
16052 $(HOST_EXPORTS) \
16053 for flag in $(EXTRA_HOST_FLAGS) ; do \
16054 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16055 done; \
16056 echo "Doing installcheck in perl" ; \
16057 (cd $(HOST_SUBDIR)/perl && \
16058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16060 "RANLIB=$${RANLIB}" \
16061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16062 installcheck) \
16063 || exit 1
16065 @endif perl
16067 .PHONY: maybe-mostlyclean-perl mostlyclean-perl
16068 maybe-mostlyclean-perl:
16069 @if perl
16070 maybe-mostlyclean-perl: mostlyclean-perl
16072 mostlyclean-perl:
16073 @[ -f ./perl/Makefile ] || exit 0; \
16074 r=`${PWD_COMMAND}`; export r; \
16075 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16076 $(SET_LIB_PATH) \
16077 $(HOST_EXPORTS) \
16078 for flag in $(EXTRA_HOST_FLAGS) ; do \
16079 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16080 done; \
16081 echo "Doing mostlyclean in perl" ; \
16082 (cd $(HOST_SUBDIR)/perl && \
16083 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16084 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16085 "RANLIB=$${RANLIB}" \
16086 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16087 mostlyclean) \
16088 || exit 1
16090 @endif perl
16092 .PHONY: maybe-clean-perl clean-perl
16093 maybe-clean-perl:
16094 @if perl
16095 maybe-clean-perl: clean-perl
16097 clean-perl:
16098 @[ -f ./perl/Makefile ] || exit 0; \
16099 r=`${PWD_COMMAND}`; export r; \
16100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16101 $(SET_LIB_PATH) \
16102 $(HOST_EXPORTS) \
16103 for flag in $(EXTRA_HOST_FLAGS) ; do \
16104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16105 done; \
16106 echo "Doing clean in perl" ; \
16107 (cd $(HOST_SUBDIR)/perl && \
16108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16110 "RANLIB=$${RANLIB}" \
16111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16112 clean) \
16113 || exit 1
16115 @endif perl
16117 .PHONY: maybe-distclean-perl distclean-perl
16118 maybe-distclean-perl:
16119 @if perl
16120 maybe-distclean-perl: distclean-perl
16122 distclean-perl:
16123 @[ -f ./perl/Makefile ] || exit 0; \
16124 r=`${PWD_COMMAND}`; export r; \
16125 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16126 $(SET_LIB_PATH) \
16127 $(HOST_EXPORTS) \
16128 for flag in $(EXTRA_HOST_FLAGS) ; do \
16129 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16130 done; \
16131 echo "Doing distclean in perl" ; \
16132 (cd $(HOST_SUBDIR)/perl && \
16133 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16134 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16135 "RANLIB=$${RANLIB}" \
16136 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16137 distclean) \
16138 || exit 1
16140 @endif perl
16142 .PHONY: maybe-maintainer-clean-perl maintainer-clean-perl
16143 maybe-maintainer-clean-perl:
16144 @if perl
16145 maybe-maintainer-clean-perl: maintainer-clean-perl
16147 maintainer-clean-perl:
16148 @[ -f ./perl/Makefile ] || exit 0; \
16149 r=`${PWD_COMMAND}`; export r; \
16150 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16151 $(SET_LIB_PATH) \
16152 $(HOST_EXPORTS) \
16153 for flag in $(EXTRA_HOST_FLAGS) ; do \
16154 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16155 done; \
16156 echo "Doing maintainer-clean in perl" ; \
16157 (cd $(HOST_SUBDIR)/perl && \
16158 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16159 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16160 "RANLIB=$${RANLIB}" \
16161 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16162 maintainer-clean) \
16163 || exit 1
16165 @endif perl
16168 .PHONY: configure-prms maybe-configure-prms
16169 maybe-configure-prms:
16170 @if prms
16171 maybe-configure-prms: configure-prms
16172 configure-prms:
16173 @test ! -f $(HOST_SUBDIR)/prms/Makefile || exit 0; \
16174 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/prms ; \
16175 r=`${PWD_COMMAND}`; export r; \
16176 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16177 $(HOST_EXPORTS) \
16178 echo Configuring in prms; \
16179 cd $(HOST_SUBDIR)/prms || exit 1; \
16180 case $(srcdir) in \
16181 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16182 *) topdir=`echo $(HOST_SUBDIR)/prms/ | \
16183 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16184 esac; \
16185 srcdiroption="--srcdir=$${topdir}/prms"; \
16186 libsrcdir="$$s/prms"; \
16187 $(SHELL) $${libsrcdir}/configure \
16188 $(HOST_CONFIGARGS) $${srcdiroption} \
16189 || exit 1
16190 @endif prms
16192 .PHONY: all-prms maybe-all-prms
16193 maybe-all-prms:
16194 @if prms
16195 TARGET-prms=all
16196 maybe-all-prms: all-prms
16197 all-prms: configure-prms
16198 @r=`${PWD_COMMAND}`; export r; \
16199 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16200 $(SET_LIB_PATH) \
16201 $(HOST_EXPORTS) \
16202 (cd $(HOST_SUBDIR)/prms && \
16203 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-prms))
16204 @endif prms
16206 .PHONY: check-prms maybe-check-prms
16207 maybe-check-prms:
16208 @if prms
16209 maybe-check-prms: check-prms
16211 check-prms:
16212 @r=`${PWD_COMMAND}`; export r; \
16213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16214 $(SET_LIB_PATH) \
16215 $(HOST_EXPORTS) \
16216 (cd $(HOST_SUBDIR)/prms && \
16217 $(MAKE) $(FLAGS_TO_PASS) check)
16219 @endif prms
16221 .PHONY: install-prms maybe-install-prms
16222 maybe-install-prms:
16223 @if prms
16224 maybe-install-prms: install-prms
16226 install-prms: installdirs
16227 @r=`${PWD_COMMAND}`; export r; \
16228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16229 $(SET_LIB_PATH) \
16230 $(HOST_EXPORTS) \
16231 (cd $(HOST_SUBDIR)/prms && \
16232 $(MAKE) $(FLAGS_TO_PASS) install)
16234 @endif prms
16236 # Other targets (info, dvi, etc.)
16238 .PHONY: maybe-info-prms info-prms
16239 maybe-info-prms:
16240 @if prms
16241 maybe-info-prms: info-prms
16243 info-prms: \
16244 configure-prms
16245 @[ -f ./prms/Makefile ] || exit 0; \
16246 r=`${PWD_COMMAND}`; export r; \
16247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16248 $(SET_LIB_PATH) \
16249 $(HOST_EXPORTS) \
16250 for flag in $(EXTRA_HOST_FLAGS) ; do \
16251 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16252 done; \
16253 echo "Doing info in prms" ; \
16254 (cd $(HOST_SUBDIR)/prms && \
16255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16257 "RANLIB=$${RANLIB}" \
16258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16259 info) \
16260 || exit 1
16262 @endif prms
16264 .PHONY: maybe-dvi-prms dvi-prms
16265 maybe-dvi-prms:
16266 @if prms
16267 maybe-dvi-prms: dvi-prms
16269 dvi-prms: \
16270 configure-prms
16271 @[ -f ./prms/Makefile ] || exit 0; \
16272 r=`${PWD_COMMAND}`; export r; \
16273 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16274 $(SET_LIB_PATH) \
16275 $(HOST_EXPORTS) \
16276 for flag in $(EXTRA_HOST_FLAGS) ; do \
16277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16278 done; \
16279 echo "Doing dvi in prms" ; \
16280 (cd $(HOST_SUBDIR)/prms && \
16281 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16282 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16283 "RANLIB=$${RANLIB}" \
16284 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16285 dvi) \
16286 || exit 1
16288 @endif prms
16290 .PHONY: maybe-html-prms html-prms
16291 maybe-html-prms:
16292 @if prms
16293 maybe-html-prms: html-prms
16295 html-prms: \
16296 configure-prms
16297 @[ -f ./prms/Makefile ] || exit 0; \
16298 r=`${PWD_COMMAND}`; export r; \
16299 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16300 $(SET_LIB_PATH) \
16301 $(HOST_EXPORTS) \
16302 for flag in $(EXTRA_HOST_FLAGS) ; do \
16303 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16304 done; \
16305 echo "Doing html in prms" ; \
16306 (cd $(HOST_SUBDIR)/prms && \
16307 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16308 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16309 "RANLIB=$${RANLIB}" \
16310 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16311 html) \
16312 || exit 1
16314 @endif prms
16316 .PHONY: maybe-TAGS-prms TAGS-prms
16317 maybe-TAGS-prms:
16318 @if prms
16319 maybe-TAGS-prms: TAGS-prms
16321 TAGS-prms: \
16322 configure-prms
16323 @[ -f ./prms/Makefile ] || exit 0; \
16324 r=`${PWD_COMMAND}`; export r; \
16325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16326 $(SET_LIB_PATH) \
16327 $(HOST_EXPORTS) \
16328 for flag in $(EXTRA_HOST_FLAGS) ; do \
16329 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16330 done; \
16331 echo "Doing TAGS in prms" ; \
16332 (cd $(HOST_SUBDIR)/prms && \
16333 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16334 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16335 "RANLIB=$${RANLIB}" \
16336 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16337 TAGS) \
16338 || exit 1
16340 @endif prms
16342 .PHONY: maybe-install-info-prms install-info-prms
16343 maybe-install-info-prms:
16344 @if prms
16345 maybe-install-info-prms: install-info-prms
16347 install-info-prms: \
16348 configure-prms \
16349 info-prms
16350 @[ -f ./prms/Makefile ] || exit 0; \
16351 r=`${PWD_COMMAND}`; export r; \
16352 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16353 $(SET_LIB_PATH) \
16354 $(HOST_EXPORTS) \
16355 for flag in $(EXTRA_HOST_FLAGS) ; do \
16356 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16357 done; \
16358 echo "Doing install-info in prms" ; \
16359 (cd $(HOST_SUBDIR)/prms && \
16360 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16361 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16362 "RANLIB=$${RANLIB}" \
16363 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16364 install-info) \
16365 || exit 1
16367 @endif prms
16369 .PHONY: maybe-installcheck-prms installcheck-prms
16370 maybe-installcheck-prms:
16371 @if prms
16372 maybe-installcheck-prms: installcheck-prms
16374 installcheck-prms: \
16375 configure-prms
16376 @[ -f ./prms/Makefile ] || exit 0; \
16377 r=`${PWD_COMMAND}`; export r; \
16378 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16379 $(SET_LIB_PATH) \
16380 $(HOST_EXPORTS) \
16381 for flag in $(EXTRA_HOST_FLAGS) ; do \
16382 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16383 done; \
16384 echo "Doing installcheck in prms" ; \
16385 (cd $(HOST_SUBDIR)/prms && \
16386 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16387 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16388 "RANLIB=$${RANLIB}" \
16389 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16390 installcheck) \
16391 || exit 1
16393 @endif prms
16395 .PHONY: maybe-mostlyclean-prms mostlyclean-prms
16396 maybe-mostlyclean-prms:
16397 @if prms
16398 maybe-mostlyclean-prms: mostlyclean-prms
16400 mostlyclean-prms:
16401 @[ -f ./prms/Makefile ] || exit 0; \
16402 r=`${PWD_COMMAND}`; export r; \
16403 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16404 $(SET_LIB_PATH) \
16405 $(HOST_EXPORTS) \
16406 for flag in $(EXTRA_HOST_FLAGS) ; do \
16407 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16408 done; \
16409 echo "Doing mostlyclean in prms" ; \
16410 (cd $(HOST_SUBDIR)/prms && \
16411 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16412 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16413 "RANLIB=$${RANLIB}" \
16414 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16415 mostlyclean) \
16416 || exit 1
16418 @endif prms
16420 .PHONY: maybe-clean-prms clean-prms
16421 maybe-clean-prms:
16422 @if prms
16423 maybe-clean-prms: clean-prms
16425 clean-prms:
16426 @[ -f ./prms/Makefile ] || exit 0; \
16427 r=`${PWD_COMMAND}`; export r; \
16428 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16429 $(SET_LIB_PATH) \
16430 $(HOST_EXPORTS) \
16431 for flag in $(EXTRA_HOST_FLAGS) ; do \
16432 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16433 done; \
16434 echo "Doing clean in prms" ; \
16435 (cd $(HOST_SUBDIR)/prms && \
16436 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16437 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16438 "RANLIB=$${RANLIB}" \
16439 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16440 clean) \
16441 || exit 1
16443 @endif prms
16445 .PHONY: maybe-distclean-prms distclean-prms
16446 maybe-distclean-prms:
16447 @if prms
16448 maybe-distclean-prms: distclean-prms
16450 distclean-prms:
16451 @[ -f ./prms/Makefile ] || exit 0; \
16452 r=`${PWD_COMMAND}`; export r; \
16453 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16454 $(SET_LIB_PATH) \
16455 $(HOST_EXPORTS) \
16456 for flag in $(EXTRA_HOST_FLAGS) ; do \
16457 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16458 done; \
16459 echo "Doing distclean in prms" ; \
16460 (cd $(HOST_SUBDIR)/prms && \
16461 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16462 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16463 "RANLIB=$${RANLIB}" \
16464 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16465 distclean) \
16466 || exit 1
16468 @endif prms
16470 .PHONY: maybe-maintainer-clean-prms maintainer-clean-prms
16471 maybe-maintainer-clean-prms:
16472 @if prms
16473 maybe-maintainer-clean-prms: maintainer-clean-prms
16475 maintainer-clean-prms:
16476 @[ -f ./prms/Makefile ] || exit 0; \
16477 r=`${PWD_COMMAND}`; export r; \
16478 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16479 $(SET_LIB_PATH) \
16480 $(HOST_EXPORTS) \
16481 for flag in $(EXTRA_HOST_FLAGS) ; do \
16482 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16483 done; \
16484 echo "Doing maintainer-clean in prms" ; \
16485 (cd $(HOST_SUBDIR)/prms && \
16486 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16487 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16488 "RANLIB=$${RANLIB}" \
16489 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16490 maintainer-clean) \
16491 || exit 1
16493 @endif prms
16496 .PHONY: configure-rcs maybe-configure-rcs
16497 maybe-configure-rcs:
16498 @if rcs
16499 maybe-configure-rcs: configure-rcs
16500 configure-rcs:
16501 @test ! -f $(HOST_SUBDIR)/rcs/Makefile || exit 0; \
16502 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/rcs ; \
16503 r=`${PWD_COMMAND}`; export r; \
16504 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16505 $(HOST_EXPORTS) \
16506 echo Configuring in rcs; \
16507 cd $(HOST_SUBDIR)/rcs || exit 1; \
16508 case $(srcdir) in \
16509 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16510 *) topdir=`echo $(HOST_SUBDIR)/rcs/ | \
16511 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16512 esac; \
16513 srcdiroption="--srcdir=$${topdir}/rcs"; \
16514 libsrcdir="$$s/rcs"; \
16515 $(SHELL) $${libsrcdir}/configure \
16516 $(HOST_CONFIGARGS) $${srcdiroption} \
16517 || exit 1
16518 @endif rcs
16520 .PHONY: all-rcs maybe-all-rcs
16521 maybe-all-rcs:
16522 @if rcs
16523 TARGET-rcs=all
16524 maybe-all-rcs: all-rcs
16525 all-rcs: configure-rcs
16526 @r=`${PWD_COMMAND}`; export r; \
16527 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16528 $(SET_LIB_PATH) \
16529 $(HOST_EXPORTS) \
16530 (cd $(HOST_SUBDIR)/rcs && \
16531 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-rcs))
16532 @endif rcs
16534 .PHONY: check-rcs maybe-check-rcs
16535 maybe-check-rcs:
16536 @if rcs
16537 maybe-check-rcs: check-rcs
16539 check-rcs:
16540 @r=`${PWD_COMMAND}`; export r; \
16541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16542 $(SET_LIB_PATH) \
16543 $(HOST_EXPORTS) \
16544 (cd $(HOST_SUBDIR)/rcs && \
16545 $(MAKE) $(FLAGS_TO_PASS) check)
16547 @endif rcs
16549 .PHONY: install-rcs maybe-install-rcs
16550 maybe-install-rcs:
16551 @if rcs
16552 maybe-install-rcs: install-rcs
16554 install-rcs: installdirs
16555 @r=`${PWD_COMMAND}`; export r; \
16556 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16557 $(SET_LIB_PATH) \
16558 $(HOST_EXPORTS) \
16559 (cd $(HOST_SUBDIR)/rcs && \
16560 $(MAKE) $(FLAGS_TO_PASS) install)
16562 @endif rcs
16564 # Other targets (info, dvi, etc.)
16566 .PHONY: maybe-info-rcs info-rcs
16567 maybe-info-rcs:
16568 @if rcs
16569 maybe-info-rcs: info-rcs
16571 info-rcs: \
16572 configure-rcs
16573 @[ -f ./rcs/Makefile ] || exit 0; \
16574 r=`${PWD_COMMAND}`; export r; \
16575 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16576 $(SET_LIB_PATH) \
16577 $(HOST_EXPORTS) \
16578 for flag in $(EXTRA_HOST_FLAGS) ; do \
16579 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16580 done; \
16581 echo "Doing info in rcs" ; \
16582 (cd $(HOST_SUBDIR)/rcs && \
16583 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16584 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16585 "RANLIB=$${RANLIB}" \
16586 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16587 info) \
16588 || exit 1
16590 @endif rcs
16592 .PHONY: maybe-dvi-rcs dvi-rcs
16593 maybe-dvi-rcs:
16594 @if rcs
16595 maybe-dvi-rcs: dvi-rcs
16597 dvi-rcs: \
16598 configure-rcs
16599 @[ -f ./rcs/Makefile ] || exit 0; \
16600 r=`${PWD_COMMAND}`; export r; \
16601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16602 $(SET_LIB_PATH) \
16603 $(HOST_EXPORTS) \
16604 for flag in $(EXTRA_HOST_FLAGS) ; do \
16605 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16606 done; \
16607 echo "Doing dvi in rcs" ; \
16608 (cd $(HOST_SUBDIR)/rcs && \
16609 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16610 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16611 "RANLIB=$${RANLIB}" \
16612 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16613 dvi) \
16614 || exit 1
16616 @endif rcs
16618 .PHONY: maybe-html-rcs html-rcs
16619 maybe-html-rcs:
16620 @if rcs
16621 maybe-html-rcs: html-rcs
16623 html-rcs: \
16624 configure-rcs
16625 @[ -f ./rcs/Makefile ] || exit 0; \
16626 r=`${PWD_COMMAND}`; export r; \
16627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16628 $(SET_LIB_PATH) \
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 html in rcs" ; \
16634 (cd $(HOST_SUBDIR)/rcs && \
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 html) \
16640 || exit 1
16642 @endif rcs
16644 .PHONY: maybe-TAGS-rcs TAGS-rcs
16645 maybe-TAGS-rcs:
16646 @if rcs
16647 maybe-TAGS-rcs: TAGS-rcs
16649 TAGS-rcs: \
16650 configure-rcs
16651 @[ -f ./rcs/Makefile ] || exit 0; \
16652 r=`${PWD_COMMAND}`; export r; \
16653 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16654 $(SET_LIB_PATH) \
16655 $(HOST_EXPORTS) \
16656 for flag in $(EXTRA_HOST_FLAGS) ; do \
16657 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16658 done; \
16659 echo "Doing TAGS in rcs" ; \
16660 (cd $(HOST_SUBDIR)/rcs && \
16661 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16662 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16663 "RANLIB=$${RANLIB}" \
16664 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16665 TAGS) \
16666 || exit 1
16668 @endif rcs
16670 .PHONY: maybe-install-info-rcs install-info-rcs
16671 maybe-install-info-rcs:
16672 @if rcs
16673 maybe-install-info-rcs: install-info-rcs
16675 install-info-rcs: \
16676 configure-rcs \
16677 info-rcs
16678 @[ -f ./rcs/Makefile ] || exit 0; \
16679 r=`${PWD_COMMAND}`; export r; \
16680 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16681 $(SET_LIB_PATH) \
16682 $(HOST_EXPORTS) \
16683 for flag in $(EXTRA_HOST_FLAGS) ; do \
16684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16685 done; \
16686 echo "Doing install-info in rcs" ; \
16687 (cd $(HOST_SUBDIR)/rcs && \
16688 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16689 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16690 "RANLIB=$${RANLIB}" \
16691 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16692 install-info) \
16693 || exit 1
16695 @endif rcs
16697 .PHONY: maybe-installcheck-rcs installcheck-rcs
16698 maybe-installcheck-rcs:
16699 @if rcs
16700 maybe-installcheck-rcs: installcheck-rcs
16702 installcheck-rcs: \
16703 configure-rcs
16704 @[ -f ./rcs/Makefile ] || exit 0; \
16705 r=`${PWD_COMMAND}`; export r; \
16706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16707 $(SET_LIB_PATH) \
16708 $(HOST_EXPORTS) \
16709 for flag in $(EXTRA_HOST_FLAGS) ; do \
16710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16711 done; \
16712 echo "Doing installcheck in rcs" ; \
16713 (cd $(HOST_SUBDIR)/rcs && \
16714 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16715 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16716 "RANLIB=$${RANLIB}" \
16717 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16718 installcheck) \
16719 || exit 1
16721 @endif rcs
16723 .PHONY: maybe-mostlyclean-rcs mostlyclean-rcs
16724 maybe-mostlyclean-rcs:
16725 @if rcs
16726 maybe-mostlyclean-rcs: mostlyclean-rcs
16728 mostlyclean-rcs:
16729 @[ -f ./rcs/Makefile ] || exit 0; \
16730 r=`${PWD_COMMAND}`; export r; \
16731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16732 $(SET_LIB_PATH) \
16733 $(HOST_EXPORTS) \
16734 for flag in $(EXTRA_HOST_FLAGS) ; do \
16735 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16736 done; \
16737 echo "Doing mostlyclean in rcs" ; \
16738 (cd $(HOST_SUBDIR)/rcs && \
16739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16741 "RANLIB=$${RANLIB}" \
16742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16743 mostlyclean) \
16744 || exit 1
16746 @endif rcs
16748 .PHONY: maybe-clean-rcs clean-rcs
16749 maybe-clean-rcs:
16750 @if rcs
16751 maybe-clean-rcs: clean-rcs
16753 clean-rcs:
16754 @[ -f ./rcs/Makefile ] || exit 0; \
16755 r=`${PWD_COMMAND}`; export r; \
16756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16757 $(SET_LIB_PATH) \
16758 $(HOST_EXPORTS) \
16759 for flag in $(EXTRA_HOST_FLAGS) ; do \
16760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16761 done; \
16762 echo "Doing clean in rcs" ; \
16763 (cd $(HOST_SUBDIR)/rcs && \
16764 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16765 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16766 "RANLIB=$${RANLIB}" \
16767 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16768 clean) \
16769 || exit 1
16771 @endif rcs
16773 .PHONY: maybe-distclean-rcs distclean-rcs
16774 maybe-distclean-rcs:
16775 @if rcs
16776 maybe-distclean-rcs: distclean-rcs
16778 distclean-rcs:
16779 @[ -f ./rcs/Makefile ] || exit 0; \
16780 r=`${PWD_COMMAND}`; export r; \
16781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16782 $(SET_LIB_PATH) \
16783 $(HOST_EXPORTS) \
16784 for flag in $(EXTRA_HOST_FLAGS) ; do \
16785 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16786 done; \
16787 echo "Doing distclean in rcs" ; \
16788 (cd $(HOST_SUBDIR)/rcs && \
16789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16791 "RANLIB=$${RANLIB}" \
16792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16793 distclean) \
16794 || exit 1
16796 @endif rcs
16798 .PHONY: maybe-maintainer-clean-rcs maintainer-clean-rcs
16799 maybe-maintainer-clean-rcs:
16800 @if rcs
16801 maybe-maintainer-clean-rcs: maintainer-clean-rcs
16803 maintainer-clean-rcs:
16804 @[ -f ./rcs/Makefile ] || exit 0; \
16805 r=`${PWD_COMMAND}`; export r; \
16806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16807 $(SET_LIB_PATH) \
16808 $(HOST_EXPORTS) \
16809 for flag in $(EXTRA_HOST_FLAGS) ; do \
16810 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16811 done; \
16812 echo "Doing maintainer-clean in rcs" ; \
16813 (cd $(HOST_SUBDIR)/rcs && \
16814 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16815 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16816 "RANLIB=$${RANLIB}" \
16817 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16818 maintainer-clean) \
16819 || exit 1
16821 @endif rcs
16824 .PHONY: configure-readline maybe-configure-readline
16825 maybe-configure-readline:
16826 @if readline
16827 maybe-configure-readline: configure-readline
16828 configure-readline:
16829 @test ! -f $(HOST_SUBDIR)/readline/Makefile || exit 0; \
16830 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/readline ; \
16831 r=`${PWD_COMMAND}`; export r; \
16832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16833 $(HOST_EXPORTS) \
16834 echo Configuring in readline; \
16835 cd $(HOST_SUBDIR)/readline || exit 1; \
16836 case $(srcdir) in \
16837 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
16838 *) topdir=`echo $(HOST_SUBDIR)/readline/ | \
16839 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
16840 esac; \
16841 srcdiroption="--srcdir=$${topdir}/readline"; \
16842 libsrcdir="$$s/readline"; \
16843 $(SHELL) $${libsrcdir}/configure \
16844 $(HOST_CONFIGARGS) $${srcdiroption} \
16845 || exit 1
16846 @endif readline
16848 .PHONY: all-readline maybe-all-readline
16849 maybe-all-readline:
16850 @if readline
16851 TARGET-readline=all
16852 maybe-all-readline: all-readline
16853 all-readline: configure-readline
16854 @r=`${PWD_COMMAND}`; export r; \
16855 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16856 $(SET_LIB_PATH) \
16857 $(HOST_EXPORTS) \
16858 (cd $(HOST_SUBDIR)/readline && \
16859 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-readline))
16860 @endif readline
16862 .PHONY: check-readline maybe-check-readline
16863 maybe-check-readline:
16864 @if readline
16865 maybe-check-readline: check-readline
16867 check-readline:
16868 @r=`${PWD_COMMAND}`; export r; \
16869 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16870 $(SET_LIB_PATH) \
16871 $(HOST_EXPORTS) \
16872 (cd $(HOST_SUBDIR)/readline && \
16873 $(MAKE) $(FLAGS_TO_PASS) check)
16875 @endif readline
16877 .PHONY: install-readline maybe-install-readline
16878 maybe-install-readline:
16879 @if readline
16880 maybe-install-readline: install-readline
16882 install-readline: installdirs
16883 @r=`${PWD_COMMAND}`; export r; \
16884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16885 $(SET_LIB_PATH) \
16886 $(HOST_EXPORTS) \
16887 (cd $(HOST_SUBDIR)/readline && \
16888 $(MAKE) $(FLAGS_TO_PASS) install)
16890 @endif readline
16892 # Other targets (info, dvi, etc.)
16894 .PHONY: maybe-info-readline info-readline
16895 maybe-info-readline:
16896 @if readline
16897 maybe-info-readline: info-readline
16899 info-readline: \
16900 configure-readline
16901 @[ -f ./readline/Makefile ] || exit 0; \
16902 r=`${PWD_COMMAND}`; export r; \
16903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16904 $(SET_LIB_PATH) \
16905 $(HOST_EXPORTS) \
16906 for flag in $(EXTRA_HOST_FLAGS) ; do \
16907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16908 done; \
16909 echo "Doing info in readline" ; \
16910 (cd $(HOST_SUBDIR)/readline && \
16911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16913 "RANLIB=$${RANLIB}" \
16914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16915 info) \
16916 || exit 1
16918 @endif readline
16920 .PHONY: maybe-dvi-readline dvi-readline
16921 maybe-dvi-readline:
16922 @if readline
16923 maybe-dvi-readline: dvi-readline
16925 dvi-readline: \
16926 configure-readline
16927 @[ -f ./readline/Makefile ] || exit 0; \
16928 r=`${PWD_COMMAND}`; export r; \
16929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16930 $(SET_LIB_PATH) \
16931 $(HOST_EXPORTS) \
16932 for flag in $(EXTRA_HOST_FLAGS) ; do \
16933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16934 done; \
16935 echo "Doing dvi in readline" ; \
16936 (cd $(HOST_SUBDIR)/readline && \
16937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16939 "RANLIB=$${RANLIB}" \
16940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16941 dvi) \
16942 || exit 1
16944 @endif readline
16946 .PHONY: maybe-html-readline html-readline
16947 maybe-html-readline:
16948 @if readline
16949 maybe-html-readline: html-readline
16951 html-readline: \
16952 configure-readline
16953 @[ -f ./readline/Makefile ] || exit 0; \
16954 r=`${PWD_COMMAND}`; export r; \
16955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16956 $(SET_LIB_PATH) \
16957 $(HOST_EXPORTS) \
16958 for flag in $(EXTRA_HOST_FLAGS) ; do \
16959 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16960 done; \
16961 echo "Doing html in readline" ; \
16962 (cd $(HOST_SUBDIR)/readline && \
16963 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16964 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16965 "RANLIB=$${RANLIB}" \
16966 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16967 html) \
16968 || exit 1
16970 @endif readline
16972 .PHONY: maybe-TAGS-readline TAGS-readline
16973 maybe-TAGS-readline:
16974 @if readline
16975 maybe-TAGS-readline: TAGS-readline
16977 TAGS-readline: \
16978 configure-readline
16979 @[ -f ./readline/Makefile ] || exit 0; \
16980 r=`${PWD_COMMAND}`; export r; \
16981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
16982 $(SET_LIB_PATH) \
16983 $(HOST_EXPORTS) \
16984 for flag in $(EXTRA_HOST_FLAGS) ; do \
16985 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
16986 done; \
16987 echo "Doing TAGS in readline" ; \
16988 (cd $(HOST_SUBDIR)/readline && \
16989 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
16990 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
16991 "RANLIB=$${RANLIB}" \
16992 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
16993 TAGS) \
16994 || exit 1
16996 @endif readline
16998 .PHONY: maybe-install-info-readline install-info-readline
16999 maybe-install-info-readline:
17000 @if readline
17001 maybe-install-info-readline: install-info-readline
17003 install-info-readline: \
17004 configure-readline \
17005 info-readline
17006 @[ -f ./readline/Makefile ] || exit 0; \
17007 r=`${PWD_COMMAND}`; export r; \
17008 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17009 $(SET_LIB_PATH) \
17010 $(HOST_EXPORTS) \
17011 for flag in $(EXTRA_HOST_FLAGS) ; do \
17012 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17013 done; \
17014 echo "Doing install-info in readline" ; \
17015 (cd $(HOST_SUBDIR)/readline && \
17016 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17017 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17018 "RANLIB=$${RANLIB}" \
17019 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17020 install-info) \
17021 || exit 1
17023 @endif readline
17025 .PHONY: maybe-installcheck-readline installcheck-readline
17026 maybe-installcheck-readline:
17027 @if readline
17028 maybe-installcheck-readline: installcheck-readline
17030 installcheck-readline: \
17031 configure-readline
17032 @[ -f ./readline/Makefile ] || exit 0; \
17033 r=`${PWD_COMMAND}`; export r; \
17034 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17035 $(SET_LIB_PATH) \
17036 $(HOST_EXPORTS) \
17037 for flag in $(EXTRA_HOST_FLAGS) ; do \
17038 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17039 done; \
17040 echo "Doing installcheck in readline" ; \
17041 (cd $(HOST_SUBDIR)/readline && \
17042 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17043 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17044 "RANLIB=$${RANLIB}" \
17045 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17046 installcheck) \
17047 || exit 1
17049 @endif readline
17051 .PHONY: maybe-mostlyclean-readline mostlyclean-readline
17052 maybe-mostlyclean-readline:
17053 @if readline
17054 maybe-mostlyclean-readline: mostlyclean-readline
17056 mostlyclean-readline:
17057 @[ -f ./readline/Makefile ] || exit 0; \
17058 r=`${PWD_COMMAND}`; export r; \
17059 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17060 $(SET_LIB_PATH) \
17061 $(HOST_EXPORTS) \
17062 for flag in $(EXTRA_HOST_FLAGS) ; do \
17063 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17064 done; \
17065 echo "Doing mostlyclean in readline" ; \
17066 (cd $(HOST_SUBDIR)/readline && \
17067 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17068 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17069 "RANLIB=$${RANLIB}" \
17070 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17071 mostlyclean) \
17072 || exit 1
17074 @endif readline
17076 .PHONY: maybe-clean-readline clean-readline
17077 maybe-clean-readline:
17078 @if readline
17079 maybe-clean-readline: clean-readline
17081 clean-readline:
17082 @[ -f ./readline/Makefile ] || exit 0; \
17083 r=`${PWD_COMMAND}`; export r; \
17084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17085 $(SET_LIB_PATH) \
17086 $(HOST_EXPORTS) \
17087 for flag in $(EXTRA_HOST_FLAGS) ; do \
17088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17089 done; \
17090 echo "Doing clean in readline" ; \
17091 (cd $(HOST_SUBDIR)/readline && \
17092 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17093 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17094 "RANLIB=$${RANLIB}" \
17095 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17096 clean) \
17097 || exit 1
17099 @endif readline
17101 .PHONY: maybe-distclean-readline distclean-readline
17102 maybe-distclean-readline:
17103 @if readline
17104 maybe-distclean-readline: distclean-readline
17106 distclean-readline:
17107 @[ -f ./readline/Makefile ] || exit 0; \
17108 r=`${PWD_COMMAND}`; export r; \
17109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17110 $(SET_LIB_PATH) \
17111 $(HOST_EXPORTS) \
17112 for flag in $(EXTRA_HOST_FLAGS) ; do \
17113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17114 done; \
17115 echo "Doing distclean in readline" ; \
17116 (cd $(HOST_SUBDIR)/readline && \
17117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17119 "RANLIB=$${RANLIB}" \
17120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17121 distclean) \
17122 || exit 1
17124 @endif readline
17126 .PHONY: maybe-maintainer-clean-readline maintainer-clean-readline
17127 maybe-maintainer-clean-readline:
17128 @if readline
17129 maybe-maintainer-clean-readline: maintainer-clean-readline
17131 maintainer-clean-readline:
17132 @[ -f ./readline/Makefile ] || exit 0; \
17133 r=`${PWD_COMMAND}`; export r; \
17134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17135 $(SET_LIB_PATH) \
17136 $(HOST_EXPORTS) \
17137 for flag in $(EXTRA_HOST_FLAGS) ; do \
17138 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17139 done; \
17140 echo "Doing maintainer-clean in readline" ; \
17141 (cd $(HOST_SUBDIR)/readline && \
17142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17144 "RANLIB=$${RANLIB}" \
17145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17146 maintainer-clean) \
17147 || exit 1
17149 @endif readline
17152 .PHONY: configure-release maybe-configure-release
17153 maybe-configure-release:
17154 @if release
17155 maybe-configure-release: configure-release
17156 configure-release:
17157 @test ! -f $(HOST_SUBDIR)/release/Makefile || exit 0; \
17158 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/release ; \
17159 r=`${PWD_COMMAND}`; export r; \
17160 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17161 $(HOST_EXPORTS) \
17162 echo Configuring in release; \
17163 cd $(HOST_SUBDIR)/release || exit 1; \
17164 case $(srcdir) in \
17165 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17166 *) topdir=`echo $(HOST_SUBDIR)/release/ | \
17167 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17168 esac; \
17169 srcdiroption="--srcdir=$${topdir}/release"; \
17170 libsrcdir="$$s/release"; \
17171 $(SHELL) $${libsrcdir}/configure \
17172 $(HOST_CONFIGARGS) $${srcdiroption} \
17173 || exit 1
17174 @endif release
17176 .PHONY: all-release maybe-all-release
17177 maybe-all-release:
17178 @if release
17179 TARGET-release=all
17180 maybe-all-release: all-release
17181 all-release: configure-release
17182 @r=`${PWD_COMMAND}`; export r; \
17183 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17184 $(SET_LIB_PATH) \
17185 $(HOST_EXPORTS) \
17186 (cd $(HOST_SUBDIR)/release && \
17187 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-release))
17188 @endif release
17190 .PHONY: check-release maybe-check-release
17191 maybe-check-release:
17192 @if release
17193 maybe-check-release: check-release
17195 check-release:
17197 @endif release
17199 .PHONY: install-release maybe-install-release
17200 maybe-install-release:
17201 @if release
17202 maybe-install-release: install-release
17204 install-release:
17206 @endif release
17208 # Other targets (info, dvi, etc.)
17210 .PHONY: maybe-info-release info-release
17211 maybe-info-release:
17212 @if release
17213 maybe-info-release: info-release
17215 info-release: \
17216 configure-release
17217 @[ -f ./release/Makefile ] || exit 0; \
17218 r=`${PWD_COMMAND}`; export r; \
17219 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17220 $(SET_LIB_PATH) \
17221 $(HOST_EXPORTS) \
17222 for flag in $(EXTRA_HOST_FLAGS) ; do \
17223 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17224 done; \
17225 echo "Doing info in release" ; \
17226 (cd $(HOST_SUBDIR)/release && \
17227 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17228 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17229 "RANLIB=$${RANLIB}" \
17230 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17231 info) \
17232 || exit 1
17234 @endif release
17236 .PHONY: maybe-dvi-release dvi-release
17237 maybe-dvi-release:
17238 @if release
17239 maybe-dvi-release: dvi-release
17241 dvi-release: \
17242 configure-release
17243 @[ -f ./release/Makefile ] || exit 0; \
17244 r=`${PWD_COMMAND}`; export r; \
17245 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17246 $(SET_LIB_PATH) \
17247 $(HOST_EXPORTS) \
17248 for flag in $(EXTRA_HOST_FLAGS) ; do \
17249 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17250 done; \
17251 echo "Doing dvi in release" ; \
17252 (cd $(HOST_SUBDIR)/release && \
17253 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17254 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17255 "RANLIB=$${RANLIB}" \
17256 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17257 dvi) \
17258 || exit 1
17260 @endif release
17262 .PHONY: maybe-html-release html-release
17263 maybe-html-release:
17264 @if release
17265 maybe-html-release: html-release
17267 html-release: \
17268 configure-release
17269 @[ -f ./release/Makefile ] || exit 0; \
17270 r=`${PWD_COMMAND}`; export r; \
17271 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17272 $(SET_LIB_PATH) \
17273 $(HOST_EXPORTS) \
17274 for flag in $(EXTRA_HOST_FLAGS) ; do \
17275 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17276 done; \
17277 echo "Doing html in release" ; \
17278 (cd $(HOST_SUBDIR)/release && \
17279 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17280 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17281 "RANLIB=$${RANLIB}" \
17282 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17283 html) \
17284 || exit 1
17286 @endif release
17288 .PHONY: maybe-TAGS-release TAGS-release
17289 maybe-TAGS-release:
17290 @if release
17291 maybe-TAGS-release: TAGS-release
17293 TAGS-release: \
17294 configure-release
17295 @[ -f ./release/Makefile ] || exit 0; \
17296 r=`${PWD_COMMAND}`; export r; \
17297 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17298 $(SET_LIB_PATH) \
17299 $(HOST_EXPORTS) \
17300 for flag in $(EXTRA_HOST_FLAGS) ; do \
17301 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17302 done; \
17303 echo "Doing TAGS in release" ; \
17304 (cd $(HOST_SUBDIR)/release && \
17305 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17306 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17307 "RANLIB=$${RANLIB}" \
17308 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17309 TAGS) \
17310 || exit 1
17312 @endif release
17314 .PHONY: maybe-install-info-release install-info-release
17315 maybe-install-info-release:
17316 @if release
17317 maybe-install-info-release: install-info-release
17319 install-info-release: \
17320 configure-release \
17321 info-release
17322 @[ -f ./release/Makefile ] || exit 0; \
17323 r=`${PWD_COMMAND}`; export r; \
17324 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17325 $(SET_LIB_PATH) \
17326 $(HOST_EXPORTS) \
17327 for flag in $(EXTRA_HOST_FLAGS) ; do \
17328 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17329 done; \
17330 echo "Doing install-info in release" ; \
17331 (cd $(HOST_SUBDIR)/release && \
17332 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17333 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17334 "RANLIB=$${RANLIB}" \
17335 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17336 install-info) \
17337 || exit 1
17339 @endif release
17341 .PHONY: maybe-installcheck-release installcheck-release
17342 maybe-installcheck-release:
17343 @if release
17344 maybe-installcheck-release: installcheck-release
17346 installcheck-release: \
17347 configure-release
17348 @[ -f ./release/Makefile ] || exit 0; \
17349 r=`${PWD_COMMAND}`; export r; \
17350 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17351 $(SET_LIB_PATH) \
17352 $(HOST_EXPORTS) \
17353 for flag in $(EXTRA_HOST_FLAGS) ; do \
17354 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17355 done; \
17356 echo "Doing installcheck in release" ; \
17357 (cd $(HOST_SUBDIR)/release && \
17358 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17359 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17360 "RANLIB=$${RANLIB}" \
17361 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17362 installcheck) \
17363 || exit 1
17365 @endif release
17367 .PHONY: maybe-mostlyclean-release mostlyclean-release
17368 maybe-mostlyclean-release:
17369 @if release
17370 maybe-mostlyclean-release: mostlyclean-release
17372 mostlyclean-release:
17373 @[ -f ./release/Makefile ] || exit 0; \
17374 r=`${PWD_COMMAND}`; export r; \
17375 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17376 $(SET_LIB_PATH) \
17377 $(HOST_EXPORTS) \
17378 for flag in $(EXTRA_HOST_FLAGS) ; do \
17379 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17380 done; \
17381 echo "Doing mostlyclean in release" ; \
17382 (cd $(HOST_SUBDIR)/release && \
17383 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17384 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17385 "RANLIB=$${RANLIB}" \
17386 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17387 mostlyclean) \
17388 || exit 1
17390 @endif release
17392 .PHONY: maybe-clean-release clean-release
17393 maybe-clean-release:
17394 @if release
17395 maybe-clean-release: clean-release
17397 clean-release:
17398 @[ -f ./release/Makefile ] || exit 0; \
17399 r=`${PWD_COMMAND}`; export r; \
17400 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17401 $(SET_LIB_PATH) \
17402 $(HOST_EXPORTS) \
17403 for flag in $(EXTRA_HOST_FLAGS) ; do \
17404 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17405 done; \
17406 echo "Doing clean in release" ; \
17407 (cd $(HOST_SUBDIR)/release && \
17408 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17409 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17410 "RANLIB=$${RANLIB}" \
17411 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17412 clean) \
17413 || exit 1
17415 @endif release
17417 .PHONY: maybe-distclean-release distclean-release
17418 maybe-distclean-release:
17419 @if release
17420 maybe-distclean-release: distclean-release
17422 distclean-release:
17423 @[ -f ./release/Makefile ] || exit 0; \
17424 r=`${PWD_COMMAND}`; export r; \
17425 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17426 $(SET_LIB_PATH) \
17427 $(HOST_EXPORTS) \
17428 for flag in $(EXTRA_HOST_FLAGS) ; do \
17429 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17430 done; \
17431 echo "Doing distclean in release" ; \
17432 (cd $(HOST_SUBDIR)/release && \
17433 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17434 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17435 "RANLIB=$${RANLIB}" \
17436 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17437 distclean) \
17438 || exit 1
17440 @endif release
17442 .PHONY: maybe-maintainer-clean-release maintainer-clean-release
17443 maybe-maintainer-clean-release:
17444 @if release
17445 maybe-maintainer-clean-release: maintainer-clean-release
17447 maintainer-clean-release:
17448 @[ -f ./release/Makefile ] || exit 0; \
17449 r=`${PWD_COMMAND}`; export r; \
17450 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17451 $(SET_LIB_PATH) \
17452 $(HOST_EXPORTS) \
17453 for flag in $(EXTRA_HOST_FLAGS) ; do \
17454 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17455 done; \
17456 echo "Doing maintainer-clean in release" ; \
17457 (cd $(HOST_SUBDIR)/release && \
17458 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17459 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17460 "RANLIB=$${RANLIB}" \
17461 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17462 maintainer-clean) \
17463 || exit 1
17465 @endif release
17468 .PHONY: configure-recode maybe-configure-recode
17469 maybe-configure-recode:
17470 @if recode
17471 maybe-configure-recode: configure-recode
17472 configure-recode:
17473 @test ! -f $(HOST_SUBDIR)/recode/Makefile || exit 0; \
17474 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/recode ; \
17475 r=`${PWD_COMMAND}`; export r; \
17476 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17477 $(HOST_EXPORTS) \
17478 echo Configuring in recode; \
17479 cd $(HOST_SUBDIR)/recode || exit 1; \
17480 case $(srcdir) in \
17481 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17482 *) topdir=`echo $(HOST_SUBDIR)/recode/ | \
17483 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17484 esac; \
17485 srcdiroption="--srcdir=$${topdir}/recode"; \
17486 libsrcdir="$$s/recode"; \
17487 $(SHELL) $${libsrcdir}/configure \
17488 $(HOST_CONFIGARGS) $${srcdiroption} \
17489 || exit 1
17490 @endif recode
17492 .PHONY: all-recode maybe-all-recode
17493 maybe-all-recode:
17494 @if recode
17495 TARGET-recode=all
17496 maybe-all-recode: all-recode
17497 all-recode: configure-recode
17498 @r=`${PWD_COMMAND}`; export r; \
17499 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17500 $(SET_LIB_PATH) \
17501 $(HOST_EXPORTS) \
17502 (cd $(HOST_SUBDIR)/recode && \
17503 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-recode))
17504 @endif recode
17506 .PHONY: check-recode maybe-check-recode
17507 maybe-check-recode:
17508 @if recode
17509 maybe-check-recode: check-recode
17511 check-recode:
17512 @r=`${PWD_COMMAND}`; export r; \
17513 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17514 $(SET_LIB_PATH) \
17515 $(HOST_EXPORTS) \
17516 (cd $(HOST_SUBDIR)/recode && \
17517 $(MAKE) $(FLAGS_TO_PASS) check)
17519 @endif recode
17521 .PHONY: install-recode maybe-install-recode
17522 maybe-install-recode:
17523 @if recode
17524 maybe-install-recode: install-recode
17526 install-recode: installdirs
17527 @r=`${PWD_COMMAND}`; export r; \
17528 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17529 $(SET_LIB_PATH) \
17530 $(HOST_EXPORTS) \
17531 (cd $(HOST_SUBDIR)/recode && \
17532 $(MAKE) $(FLAGS_TO_PASS) install)
17534 @endif recode
17536 # Other targets (info, dvi, etc.)
17538 .PHONY: maybe-info-recode info-recode
17539 maybe-info-recode:
17540 @if recode
17541 maybe-info-recode: info-recode
17543 info-recode: \
17544 configure-recode
17545 @[ -f ./recode/Makefile ] || exit 0; \
17546 r=`${PWD_COMMAND}`; export r; \
17547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17548 $(SET_LIB_PATH) \
17549 $(HOST_EXPORTS) \
17550 for flag in $(EXTRA_HOST_FLAGS) ; do \
17551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17552 done; \
17553 echo "Doing info in recode" ; \
17554 (cd $(HOST_SUBDIR)/recode && \
17555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17557 "RANLIB=$${RANLIB}" \
17558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17559 info) \
17560 || exit 1
17562 @endif recode
17564 .PHONY: maybe-dvi-recode dvi-recode
17565 maybe-dvi-recode:
17566 @if recode
17567 maybe-dvi-recode: dvi-recode
17569 dvi-recode: \
17570 configure-recode
17571 @[ -f ./recode/Makefile ] || exit 0; \
17572 r=`${PWD_COMMAND}`; export r; \
17573 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17574 $(SET_LIB_PATH) \
17575 $(HOST_EXPORTS) \
17576 for flag in $(EXTRA_HOST_FLAGS) ; do \
17577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17578 done; \
17579 echo "Doing dvi in recode" ; \
17580 (cd $(HOST_SUBDIR)/recode && \
17581 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17582 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17583 "RANLIB=$${RANLIB}" \
17584 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17585 dvi) \
17586 || exit 1
17588 @endif recode
17590 .PHONY: maybe-html-recode html-recode
17591 maybe-html-recode:
17592 @if recode
17593 maybe-html-recode: html-recode
17595 html-recode: \
17596 configure-recode
17597 @[ -f ./recode/Makefile ] || exit 0; \
17598 r=`${PWD_COMMAND}`; export r; \
17599 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17600 $(SET_LIB_PATH) \
17601 $(HOST_EXPORTS) \
17602 for flag in $(EXTRA_HOST_FLAGS) ; do \
17603 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17604 done; \
17605 echo "Doing html in recode" ; \
17606 (cd $(HOST_SUBDIR)/recode && \
17607 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17608 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17609 "RANLIB=$${RANLIB}" \
17610 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17611 html) \
17612 || exit 1
17614 @endif recode
17616 .PHONY: maybe-TAGS-recode TAGS-recode
17617 maybe-TAGS-recode:
17618 @if recode
17619 maybe-TAGS-recode: TAGS-recode
17621 TAGS-recode: \
17622 configure-recode
17623 @[ -f ./recode/Makefile ] || exit 0; \
17624 r=`${PWD_COMMAND}`; export r; \
17625 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17626 $(SET_LIB_PATH) \
17627 $(HOST_EXPORTS) \
17628 for flag in $(EXTRA_HOST_FLAGS) ; do \
17629 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17630 done; \
17631 echo "Doing TAGS in recode" ; \
17632 (cd $(HOST_SUBDIR)/recode && \
17633 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17634 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17635 "RANLIB=$${RANLIB}" \
17636 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17637 TAGS) \
17638 || exit 1
17640 @endif recode
17642 .PHONY: maybe-install-info-recode install-info-recode
17643 maybe-install-info-recode:
17644 @if recode
17645 maybe-install-info-recode: install-info-recode
17647 install-info-recode: \
17648 configure-recode \
17649 info-recode
17650 @[ -f ./recode/Makefile ] || exit 0; \
17651 r=`${PWD_COMMAND}`; export r; \
17652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17653 $(SET_LIB_PATH) \
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 install-info in recode" ; \
17659 (cd $(HOST_SUBDIR)/recode && \
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 install-info) \
17665 || exit 1
17667 @endif recode
17669 .PHONY: maybe-installcheck-recode installcheck-recode
17670 maybe-installcheck-recode:
17671 @if recode
17672 maybe-installcheck-recode: installcheck-recode
17674 installcheck-recode: \
17675 configure-recode
17676 @[ -f ./recode/Makefile ] || exit 0; \
17677 r=`${PWD_COMMAND}`; export r; \
17678 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17679 $(SET_LIB_PATH) \
17680 $(HOST_EXPORTS) \
17681 for flag in $(EXTRA_HOST_FLAGS) ; do \
17682 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17683 done; \
17684 echo "Doing installcheck in recode" ; \
17685 (cd $(HOST_SUBDIR)/recode && \
17686 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17687 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17688 "RANLIB=$${RANLIB}" \
17689 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17690 installcheck) \
17691 || exit 1
17693 @endif recode
17695 .PHONY: maybe-mostlyclean-recode mostlyclean-recode
17696 maybe-mostlyclean-recode:
17697 @if recode
17698 maybe-mostlyclean-recode: mostlyclean-recode
17700 mostlyclean-recode:
17701 @[ -f ./recode/Makefile ] || exit 0; \
17702 r=`${PWD_COMMAND}`; export r; \
17703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17704 $(SET_LIB_PATH) \
17705 $(HOST_EXPORTS) \
17706 for flag in $(EXTRA_HOST_FLAGS) ; do \
17707 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17708 done; \
17709 echo "Doing mostlyclean in recode" ; \
17710 (cd $(HOST_SUBDIR)/recode && \
17711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17713 "RANLIB=$${RANLIB}" \
17714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17715 mostlyclean) \
17716 || exit 1
17718 @endif recode
17720 .PHONY: maybe-clean-recode clean-recode
17721 maybe-clean-recode:
17722 @if recode
17723 maybe-clean-recode: clean-recode
17725 clean-recode:
17726 @[ -f ./recode/Makefile ] || exit 0; \
17727 r=`${PWD_COMMAND}`; export r; \
17728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17729 $(SET_LIB_PATH) \
17730 $(HOST_EXPORTS) \
17731 for flag in $(EXTRA_HOST_FLAGS) ; do \
17732 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17733 done; \
17734 echo "Doing clean in recode" ; \
17735 (cd $(HOST_SUBDIR)/recode && \
17736 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17737 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17738 "RANLIB=$${RANLIB}" \
17739 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17740 clean) \
17741 || exit 1
17743 @endif recode
17745 .PHONY: maybe-distclean-recode distclean-recode
17746 maybe-distclean-recode:
17747 @if recode
17748 maybe-distclean-recode: distclean-recode
17750 distclean-recode:
17751 @[ -f ./recode/Makefile ] || exit 0; \
17752 r=`${PWD_COMMAND}`; export r; \
17753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17754 $(SET_LIB_PATH) \
17755 $(HOST_EXPORTS) \
17756 for flag in $(EXTRA_HOST_FLAGS) ; do \
17757 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17758 done; \
17759 echo "Doing distclean in recode" ; \
17760 (cd $(HOST_SUBDIR)/recode && \
17761 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17762 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17763 "RANLIB=$${RANLIB}" \
17764 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17765 distclean) \
17766 || exit 1
17768 @endif recode
17770 .PHONY: maybe-maintainer-clean-recode maintainer-clean-recode
17771 maybe-maintainer-clean-recode:
17772 @if recode
17773 maybe-maintainer-clean-recode: maintainer-clean-recode
17775 maintainer-clean-recode:
17776 @[ -f ./recode/Makefile ] || exit 0; \
17777 r=`${PWD_COMMAND}`; export r; \
17778 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17779 $(SET_LIB_PATH) \
17780 $(HOST_EXPORTS) \
17781 for flag in $(EXTRA_HOST_FLAGS) ; do \
17782 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17783 done; \
17784 echo "Doing maintainer-clean in recode" ; \
17785 (cd $(HOST_SUBDIR)/recode && \
17786 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17787 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17788 "RANLIB=$${RANLIB}" \
17789 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17790 maintainer-clean) \
17791 || exit 1
17793 @endif recode
17796 .PHONY: configure-sed maybe-configure-sed
17797 maybe-configure-sed:
17798 @if sed
17799 maybe-configure-sed: configure-sed
17800 configure-sed:
17801 @test ! -f $(HOST_SUBDIR)/sed/Makefile || exit 0; \
17802 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sed ; \
17803 r=`${PWD_COMMAND}`; export r; \
17804 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17805 $(HOST_EXPORTS) \
17806 echo Configuring in sed; \
17807 cd $(HOST_SUBDIR)/sed || exit 1; \
17808 case $(srcdir) in \
17809 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
17810 *) topdir=`echo $(HOST_SUBDIR)/sed/ | \
17811 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
17812 esac; \
17813 srcdiroption="--srcdir=$${topdir}/sed"; \
17814 libsrcdir="$$s/sed"; \
17815 $(SHELL) $${libsrcdir}/configure \
17816 $(HOST_CONFIGARGS) $${srcdiroption} \
17817 || exit 1
17818 @endif sed
17820 .PHONY: all-sed maybe-all-sed
17821 maybe-all-sed:
17822 @if sed
17823 TARGET-sed=all
17824 maybe-all-sed: all-sed
17825 all-sed: configure-sed
17826 @r=`${PWD_COMMAND}`; export r; \
17827 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17828 $(SET_LIB_PATH) \
17829 $(HOST_EXPORTS) \
17830 (cd $(HOST_SUBDIR)/sed && \
17831 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sed))
17832 @endif sed
17834 .PHONY: check-sed maybe-check-sed
17835 maybe-check-sed:
17836 @if sed
17837 maybe-check-sed: check-sed
17839 check-sed:
17840 @r=`${PWD_COMMAND}`; export r; \
17841 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17842 $(SET_LIB_PATH) \
17843 $(HOST_EXPORTS) \
17844 (cd $(HOST_SUBDIR)/sed && \
17845 $(MAKE) $(FLAGS_TO_PASS) check)
17847 @endif sed
17849 .PHONY: install-sed maybe-install-sed
17850 maybe-install-sed:
17851 @if sed
17852 maybe-install-sed: install-sed
17854 install-sed: installdirs
17855 @r=`${PWD_COMMAND}`; export r; \
17856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17857 $(SET_LIB_PATH) \
17858 $(HOST_EXPORTS) \
17859 (cd $(HOST_SUBDIR)/sed && \
17860 $(MAKE) $(FLAGS_TO_PASS) install)
17862 @endif sed
17864 # Other targets (info, dvi, etc.)
17866 .PHONY: maybe-info-sed info-sed
17867 maybe-info-sed:
17868 @if sed
17869 maybe-info-sed: info-sed
17871 info-sed: \
17872 configure-sed
17873 @[ -f ./sed/Makefile ] || exit 0; \
17874 r=`${PWD_COMMAND}`; export r; \
17875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17876 $(SET_LIB_PATH) \
17877 $(HOST_EXPORTS) \
17878 for flag in $(EXTRA_HOST_FLAGS) ; do \
17879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17880 done; \
17881 echo "Doing info in sed" ; \
17882 (cd $(HOST_SUBDIR)/sed && \
17883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17885 "RANLIB=$${RANLIB}" \
17886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17887 info) \
17888 || exit 1
17890 @endif sed
17892 .PHONY: maybe-dvi-sed dvi-sed
17893 maybe-dvi-sed:
17894 @if sed
17895 maybe-dvi-sed: dvi-sed
17897 dvi-sed: \
17898 configure-sed
17899 @[ -f ./sed/Makefile ] || exit 0; \
17900 r=`${PWD_COMMAND}`; export r; \
17901 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17902 $(SET_LIB_PATH) \
17903 $(HOST_EXPORTS) \
17904 for flag in $(EXTRA_HOST_FLAGS) ; do \
17905 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17906 done; \
17907 echo "Doing dvi in sed" ; \
17908 (cd $(HOST_SUBDIR)/sed && \
17909 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17910 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17911 "RANLIB=$${RANLIB}" \
17912 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17913 dvi) \
17914 || exit 1
17916 @endif sed
17918 .PHONY: maybe-html-sed html-sed
17919 maybe-html-sed:
17920 @if sed
17921 maybe-html-sed: html-sed
17923 html-sed: \
17924 configure-sed
17925 @[ -f ./sed/Makefile ] || exit 0; \
17926 r=`${PWD_COMMAND}`; export r; \
17927 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17928 $(SET_LIB_PATH) \
17929 $(HOST_EXPORTS) \
17930 for flag in $(EXTRA_HOST_FLAGS) ; do \
17931 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17932 done; \
17933 echo "Doing html in sed" ; \
17934 (cd $(HOST_SUBDIR)/sed && \
17935 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17936 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17937 "RANLIB=$${RANLIB}" \
17938 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17939 html) \
17940 || exit 1
17942 @endif sed
17944 .PHONY: maybe-TAGS-sed TAGS-sed
17945 maybe-TAGS-sed:
17946 @if sed
17947 maybe-TAGS-sed: TAGS-sed
17949 TAGS-sed: \
17950 configure-sed
17951 @[ -f ./sed/Makefile ] || exit 0; \
17952 r=`${PWD_COMMAND}`; export r; \
17953 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17954 $(SET_LIB_PATH) \
17955 $(HOST_EXPORTS) \
17956 for flag in $(EXTRA_HOST_FLAGS) ; do \
17957 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17958 done; \
17959 echo "Doing TAGS in sed" ; \
17960 (cd $(HOST_SUBDIR)/sed && \
17961 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17962 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17963 "RANLIB=$${RANLIB}" \
17964 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17965 TAGS) \
17966 || exit 1
17968 @endif sed
17970 .PHONY: maybe-install-info-sed install-info-sed
17971 maybe-install-info-sed:
17972 @if sed
17973 maybe-install-info-sed: install-info-sed
17975 install-info-sed: \
17976 configure-sed \
17977 info-sed
17978 @[ -f ./sed/Makefile ] || exit 0; \
17979 r=`${PWD_COMMAND}`; export r; \
17980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
17981 $(SET_LIB_PATH) \
17982 $(HOST_EXPORTS) \
17983 for flag in $(EXTRA_HOST_FLAGS) ; do \
17984 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
17985 done; \
17986 echo "Doing install-info in sed" ; \
17987 (cd $(HOST_SUBDIR)/sed && \
17988 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
17989 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
17990 "RANLIB=$${RANLIB}" \
17991 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
17992 install-info) \
17993 || exit 1
17995 @endif sed
17997 .PHONY: maybe-installcheck-sed installcheck-sed
17998 maybe-installcheck-sed:
17999 @if sed
18000 maybe-installcheck-sed: installcheck-sed
18002 installcheck-sed: \
18003 configure-sed
18004 @[ -f ./sed/Makefile ] || exit 0; \
18005 r=`${PWD_COMMAND}`; export r; \
18006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18007 $(SET_LIB_PATH) \
18008 $(HOST_EXPORTS) \
18009 for flag in $(EXTRA_HOST_FLAGS) ; do \
18010 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18011 done; \
18012 echo "Doing installcheck in sed" ; \
18013 (cd $(HOST_SUBDIR)/sed && \
18014 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18015 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18016 "RANLIB=$${RANLIB}" \
18017 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18018 installcheck) \
18019 || exit 1
18021 @endif sed
18023 .PHONY: maybe-mostlyclean-sed mostlyclean-sed
18024 maybe-mostlyclean-sed:
18025 @if sed
18026 maybe-mostlyclean-sed: mostlyclean-sed
18028 mostlyclean-sed:
18029 @[ -f ./sed/Makefile ] || exit 0; \
18030 r=`${PWD_COMMAND}`; export r; \
18031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18032 $(SET_LIB_PATH) \
18033 $(HOST_EXPORTS) \
18034 for flag in $(EXTRA_HOST_FLAGS) ; do \
18035 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18036 done; \
18037 echo "Doing mostlyclean in sed" ; \
18038 (cd $(HOST_SUBDIR)/sed && \
18039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18041 "RANLIB=$${RANLIB}" \
18042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18043 mostlyclean) \
18044 || exit 1
18046 @endif sed
18048 .PHONY: maybe-clean-sed clean-sed
18049 maybe-clean-sed:
18050 @if sed
18051 maybe-clean-sed: clean-sed
18053 clean-sed:
18054 @[ -f ./sed/Makefile ] || exit 0; \
18055 r=`${PWD_COMMAND}`; export r; \
18056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18057 $(SET_LIB_PATH) \
18058 $(HOST_EXPORTS) \
18059 for flag in $(EXTRA_HOST_FLAGS) ; do \
18060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18061 done; \
18062 echo "Doing clean in sed" ; \
18063 (cd $(HOST_SUBDIR)/sed && \
18064 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18065 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18066 "RANLIB=$${RANLIB}" \
18067 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18068 clean) \
18069 || exit 1
18071 @endif sed
18073 .PHONY: maybe-distclean-sed distclean-sed
18074 maybe-distclean-sed:
18075 @if sed
18076 maybe-distclean-sed: distclean-sed
18078 distclean-sed:
18079 @[ -f ./sed/Makefile ] || exit 0; \
18080 r=`${PWD_COMMAND}`; export r; \
18081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18082 $(SET_LIB_PATH) \
18083 $(HOST_EXPORTS) \
18084 for flag in $(EXTRA_HOST_FLAGS) ; do \
18085 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18086 done; \
18087 echo "Doing distclean in sed" ; \
18088 (cd $(HOST_SUBDIR)/sed && \
18089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18091 "RANLIB=$${RANLIB}" \
18092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18093 distclean) \
18094 || exit 1
18096 @endif sed
18098 .PHONY: maybe-maintainer-clean-sed maintainer-clean-sed
18099 maybe-maintainer-clean-sed:
18100 @if sed
18101 maybe-maintainer-clean-sed: maintainer-clean-sed
18103 maintainer-clean-sed:
18104 @[ -f ./sed/Makefile ] || exit 0; \
18105 r=`${PWD_COMMAND}`; export r; \
18106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18107 $(SET_LIB_PATH) \
18108 $(HOST_EXPORTS) \
18109 for flag in $(EXTRA_HOST_FLAGS) ; do \
18110 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18111 done; \
18112 echo "Doing maintainer-clean in sed" ; \
18113 (cd $(HOST_SUBDIR)/sed && \
18114 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18115 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18116 "RANLIB=$${RANLIB}" \
18117 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18118 maintainer-clean) \
18119 || exit 1
18121 @endif sed
18124 .PHONY: configure-send-pr maybe-configure-send-pr
18125 maybe-configure-send-pr:
18126 @if send-pr
18127 maybe-configure-send-pr: configure-send-pr
18128 configure-send-pr:
18129 @test ! -f $(HOST_SUBDIR)/send-pr/Makefile || exit 0; \
18130 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/send-pr ; \
18131 r=`${PWD_COMMAND}`; export r; \
18132 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18133 $(HOST_EXPORTS) \
18134 echo Configuring in send-pr; \
18135 cd $(HOST_SUBDIR)/send-pr || exit 1; \
18136 case $(srcdir) in \
18137 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18138 *) topdir=`echo $(HOST_SUBDIR)/send-pr/ | \
18139 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18140 esac; \
18141 srcdiroption="--srcdir=$${topdir}/send-pr"; \
18142 libsrcdir="$$s/send-pr"; \
18143 $(SHELL) $${libsrcdir}/configure \
18144 $(HOST_CONFIGARGS) $${srcdiroption} \
18145 || exit 1
18146 @endif send-pr
18148 .PHONY: all-send-pr maybe-all-send-pr
18149 maybe-all-send-pr:
18150 @if send-pr
18151 TARGET-send-pr=all
18152 maybe-all-send-pr: all-send-pr
18153 all-send-pr: configure-send-pr
18154 @r=`${PWD_COMMAND}`; export r; \
18155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18156 $(SET_LIB_PATH) \
18157 $(HOST_EXPORTS) \
18158 (cd $(HOST_SUBDIR)/send-pr && \
18159 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-send-pr))
18160 @endif send-pr
18162 .PHONY: check-send-pr maybe-check-send-pr
18163 maybe-check-send-pr:
18164 @if send-pr
18165 maybe-check-send-pr: check-send-pr
18167 check-send-pr:
18168 @r=`${PWD_COMMAND}`; export r; \
18169 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18170 $(SET_LIB_PATH) \
18171 $(HOST_EXPORTS) \
18172 (cd $(HOST_SUBDIR)/send-pr && \
18173 $(MAKE) $(FLAGS_TO_PASS) check)
18175 @endif send-pr
18177 .PHONY: install-send-pr maybe-install-send-pr
18178 maybe-install-send-pr:
18179 @if send-pr
18180 maybe-install-send-pr: install-send-pr
18182 install-send-pr: installdirs
18183 @r=`${PWD_COMMAND}`; export r; \
18184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18185 $(SET_LIB_PATH) \
18186 $(HOST_EXPORTS) \
18187 (cd $(HOST_SUBDIR)/send-pr && \
18188 $(MAKE) $(FLAGS_TO_PASS) install)
18190 @endif send-pr
18192 # Other targets (info, dvi, etc.)
18194 .PHONY: maybe-info-send-pr info-send-pr
18195 maybe-info-send-pr:
18196 @if send-pr
18197 maybe-info-send-pr: info-send-pr
18199 info-send-pr: \
18200 configure-send-pr
18201 @[ -f ./send-pr/Makefile ] || exit 0; \
18202 r=`${PWD_COMMAND}`; export r; \
18203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18204 $(SET_LIB_PATH) \
18205 $(HOST_EXPORTS) \
18206 for flag in $(EXTRA_HOST_FLAGS) ; do \
18207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18208 done; \
18209 echo "Doing info in send-pr" ; \
18210 (cd $(HOST_SUBDIR)/send-pr && \
18211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18213 "RANLIB=$${RANLIB}" \
18214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18215 info) \
18216 || exit 1
18218 @endif send-pr
18220 .PHONY: maybe-dvi-send-pr dvi-send-pr
18221 maybe-dvi-send-pr:
18222 @if send-pr
18223 maybe-dvi-send-pr: dvi-send-pr
18225 dvi-send-pr: \
18226 configure-send-pr
18227 @[ -f ./send-pr/Makefile ] || exit 0; \
18228 r=`${PWD_COMMAND}`; export r; \
18229 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18230 $(SET_LIB_PATH) \
18231 $(HOST_EXPORTS) \
18232 for flag in $(EXTRA_HOST_FLAGS) ; do \
18233 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18234 done; \
18235 echo "Doing dvi in send-pr" ; \
18236 (cd $(HOST_SUBDIR)/send-pr && \
18237 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18238 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18239 "RANLIB=$${RANLIB}" \
18240 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18241 dvi) \
18242 || exit 1
18244 @endif send-pr
18246 .PHONY: maybe-html-send-pr html-send-pr
18247 maybe-html-send-pr:
18248 @if send-pr
18249 maybe-html-send-pr: html-send-pr
18251 html-send-pr: \
18252 configure-send-pr
18253 @[ -f ./send-pr/Makefile ] || exit 0; \
18254 r=`${PWD_COMMAND}`; export r; \
18255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18256 $(SET_LIB_PATH) \
18257 $(HOST_EXPORTS) \
18258 for flag in $(EXTRA_HOST_FLAGS) ; do \
18259 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18260 done; \
18261 echo "Doing html in send-pr" ; \
18262 (cd $(HOST_SUBDIR)/send-pr && \
18263 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18264 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18265 "RANLIB=$${RANLIB}" \
18266 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18267 html) \
18268 || exit 1
18270 @endif send-pr
18272 .PHONY: maybe-TAGS-send-pr TAGS-send-pr
18273 maybe-TAGS-send-pr:
18274 @if send-pr
18275 maybe-TAGS-send-pr: TAGS-send-pr
18277 TAGS-send-pr: \
18278 configure-send-pr
18279 @[ -f ./send-pr/Makefile ] || exit 0; \
18280 r=`${PWD_COMMAND}`; export r; \
18281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18282 $(SET_LIB_PATH) \
18283 $(HOST_EXPORTS) \
18284 for flag in $(EXTRA_HOST_FLAGS) ; do \
18285 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18286 done; \
18287 echo "Doing TAGS in send-pr" ; \
18288 (cd $(HOST_SUBDIR)/send-pr && \
18289 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18290 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18291 "RANLIB=$${RANLIB}" \
18292 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18293 TAGS) \
18294 || exit 1
18296 @endif send-pr
18298 .PHONY: maybe-install-info-send-pr install-info-send-pr
18299 maybe-install-info-send-pr:
18300 @if send-pr
18301 maybe-install-info-send-pr: install-info-send-pr
18303 install-info-send-pr: \
18304 configure-send-pr \
18305 info-send-pr
18306 @[ -f ./send-pr/Makefile ] || exit 0; \
18307 r=`${PWD_COMMAND}`; export r; \
18308 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18309 $(SET_LIB_PATH) \
18310 $(HOST_EXPORTS) \
18311 for flag in $(EXTRA_HOST_FLAGS) ; do \
18312 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18313 done; \
18314 echo "Doing install-info in send-pr" ; \
18315 (cd $(HOST_SUBDIR)/send-pr && \
18316 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18317 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18318 "RANLIB=$${RANLIB}" \
18319 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18320 install-info) \
18321 || exit 1
18323 @endif send-pr
18325 .PHONY: maybe-installcheck-send-pr installcheck-send-pr
18326 maybe-installcheck-send-pr:
18327 @if send-pr
18328 maybe-installcheck-send-pr: installcheck-send-pr
18330 installcheck-send-pr: \
18331 configure-send-pr
18332 @[ -f ./send-pr/Makefile ] || exit 0; \
18333 r=`${PWD_COMMAND}`; export r; \
18334 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18335 $(SET_LIB_PATH) \
18336 $(HOST_EXPORTS) \
18337 for flag in $(EXTRA_HOST_FLAGS) ; do \
18338 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18339 done; \
18340 echo "Doing installcheck in send-pr" ; \
18341 (cd $(HOST_SUBDIR)/send-pr && \
18342 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18343 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18344 "RANLIB=$${RANLIB}" \
18345 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18346 installcheck) \
18347 || exit 1
18349 @endif send-pr
18351 .PHONY: maybe-mostlyclean-send-pr mostlyclean-send-pr
18352 maybe-mostlyclean-send-pr:
18353 @if send-pr
18354 maybe-mostlyclean-send-pr: mostlyclean-send-pr
18356 mostlyclean-send-pr:
18357 @[ -f ./send-pr/Makefile ] || exit 0; \
18358 r=`${PWD_COMMAND}`; export r; \
18359 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18360 $(SET_LIB_PATH) \
18361 $(HOST_EXPORTS) \
18362 for flag in $(EXTRA_HOST_FLAGS) ; do \
18363 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18364 done; \
18365 echo "Doing mostlyclean in send-pr" ; \
18366 (cd $(HOST_SUBDIR)/send-pr && \
18367 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18368 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18369 "RANLIB=$${RANLIB}" \
18370 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18371 mostlyclean) \
18372 || exit 1
18374 @endif send-pr
18376 .PHONY: maybe-clean-send-pr clean-send-pr
18377 maybe-clean-send-pr:
18378 @if send-pr
18379 maybe-clean-send-pr: clean-send-pr
18381 clean-send-pr:
18382 @[ -f ./send-pr/Makefile ] || exit 0; \
18383 r=`${PWD_COMMAND}`; export r; \
18384 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18385 $(SET_LIB_PATH) \
18386 $(HOST_EXPORTS) \
18387 for flag in $(EXTRA_HOST_FLAGS) ; do \
18388 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18389 done; \
18390 echo "Doing clean in send-pr" ; \
18391 (cd $(HOST_SUBDIR)/send-pr && \
18392 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18393 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18394 "RANLIB=$${RANLIB}" \
18395 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18396 clean) \
18397 || exit 1
18399 @endif send-pr
18401 .PHONY: maybe-distclean-send-pr distclean-send-pr
18402 maybe-distclean-send-pr:
18403 @if send-pr
18404 maybe-distclean-send-pr: distclean-send-pr
18406 distclean-send-pr:
18407 @[ -f ./send-pr/Makefile ] || exit 0; \
18408 r=`${PWD_COMMAND}`; export r; \
18409 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18410 $(SET_LIB_PATH) \
18411 $(HOST_EXPORTS) \
18412 for flag in $(EXTRA_HOST_FLAGS) ; do \
18413 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18414 done; \
18415 echo "Doing distclean in send-pr" ; \
18416 (cd $(HOST_SUBDIR)/send-pr && \
18417 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18418 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18419 "RANLIB=$${RANLIB}" \
18420 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18421 distclean) \
18422 || exit 1
18424 @endif send-pr
18426 .PHONY: maybe-maintainer-clean-send-pr maintainer-clean-send-pr
18427 maybe-maintainer-clean-send-pr:
18428 @if send-pr
18429 maybe-maintainer-clean-send-pr: maintainer-clean-send-pr
18431 maintainer-clean-send-pr:
18432 @[ -f ./send-pr/Makefile ] || exit 0; \
18433 r=`${PWD_COMMAND}`; export r; \
18434 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18435 $(SET_LIB_PATH) \
18436 $(HOST_EXPORTS) \
18437 for flag in $(EXTRA_HOST_FLAGS) ; do \
18438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18439 done; \
18440 echo "Doing maintainer-clean in send-pr" ; \
18441 (cd $(HOST_SUBDIR)/send-pr && \
18442 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18443 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18444 "RANLIB=$${RANLIB}" \
18445 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18446 maintainer-clean) \
18447 || exit 1
18449 @endif send-pr
18452 .PHONY: configure-shellutils maybe-configure-shellutils
18453 maybe-configure-shellutils:
18454 @if shellutils
18455 maybe-configure-shellutils: configure-shellutils
18456 configure-shellutils:
18457 @test ! -f $(HOST_SUBDIR)/shellutils/Makefile || exit 0; \
18458 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/shellutils ; \
18459 r=`${PWD_COMMAND}`; export r; \
18460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18461 $(HOST_EXPORTS) \
18462 echo Configuring in shellutils; \
18463 cd $(HOST_SUBDIR)/shellutils || exit 1; \
18464 case $(srcdir) in \
18465 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18466 *) topdir=`echo $(HOST_SUBDIR)/shellutils/ | \
18467 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18468 esac; \
18469 srcdiroption="--srcdir=$${topdir}/shellutils"; \
18470 libsrcdir="$$s/shellutils"; \
18471 $(SHELL) $${libsrcdir}/configure \
18472 $(HOST_CONFIGARGS) $${srcdiroption} \
18473 || exit 1
18474 @endif shellutils
18476 .PHONY: all-shellutils maybe-all-shellutils
18477 maybe-all-shellutils:
18478 @if shellutils
18479 TARGET-shellutils=all
18480 maybe-all-shellutils: all-shellutils
18481 all-shellutils: configure-shellutils
18482 @r=`${PWD_COMMAND}`; export r; \
18483 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18484 $(SET_LIB_PATH) \
18485 $(HOST_EXPORTS) \
18486 (cd $(HOST_SUBDIR)/shellutils && \
18487 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-shellutils))
18488 @endif shellutils
18490 .PHONY: check-shellutils maybe-check-shellutils
18491 maybe-check-shellutils:
18492 @if shellutils
18493 maybe-check-shellutils: check-shellutils
18495 check-shellutils:
18496 @r=`${PWD_COMMAND}`; export r; \
18497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18498 $(SET_LIB_PATH) \
18499 $(HOST_EXPORTS) \
18500 (cd $(HOST_SUBDIR)/shellutils && \
18501 $(MAKE) $(FLAGS_TO_PASS) check)
18503 @endif shellutils
18505 .PHONY: install-shellutils maybe-install-shellutils
18506 maybe-install-shellutils:
18507 @if shellutils
18508 maybe-install-shellutils: install-shellutils
18510 install-shellutils: installdirs
18511 @r=`${PWD_COMMAND}`; export r; \
18512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18513 $(SET_LIB_PATH) \
18514 $(HOST_EXPORTS) \
18515 (cd $(HOST_SUBDIR)/shellutils && \
18516 $(MAKE) $(FLAGS_TO_PASS) install)
18518 @endif shellutils
18520 # Other targets (info, dvi, etc.)
18522 .PHONY: maybe-info-shellutils info-shellutils
18523 maybe-info-shellutils:
18524 @if shellutils
18525 maybe-info-shellutils: info-shellutils
18527 info-shellutils: \
18528 configure-shellutils
18529 @[ -f ./shellutils/Makefile ] || exit 0; \
18530 r=`${PWD_COMMAND}`; export r; \
18531 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18532 $(SET_LIB_PATH) \
18533 $(HOST_EXPORTS) \
18534 for flag in $(EXTRA_HOST_FLAGS) ; do \
18535 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18536 done; \
18537 echo "Doing info in shellutils" ; \
18538 (cd $(HOST_SUBDIR)/shellutils && \
18539 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18540 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18541 "RANLIB=$${RANLIB}" \
18542 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18543 info) \
18544 || exit 1
18546 @endif shellutils
18548 .PHONY: maybe-dvi-shellutils dvi-shellutils
18549 maybe-dvi-shellutils:
18550 @if shellutils
18551 maybe-dvi-shellutils: dvi-shellutils
18553 dvi-shellutils: \
18554 configure-shellutils
18555 @[ -f ./shellutils/Makefile ] || exit 0; \
18556 r=`${PWD_COMMAND}`; export r; \
18557 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18558 $(SET_LIB_PATH) \
18559 $(HOST_EXPORTS) \
18560 for flag in $(EXTRA_HOST_FLAGS) ; do \
18561 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18562 done; \
18563 echo "Doing dvi in shellutils" ; \
18564 (cd $(HOST_SUBDIR)/shellutils && \
18565 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18566 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18567 "RANLIB=$${RANLIB}" \
18568 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18569 dvi) \
18570 || exit 1
18572 @endif shellutils
18574 .PHONY: maybe-html-shellutils html-shellutils
18575 maybe-html-shellutils:
18576 @if shellutils
18577 maybe-html-shellutils: html-shellutils
18579 html-shellutils: \
18580 configure-shellutils
18581 @[ -f ./shellutils/Makefile ] || exit 0; \
18582 r=`${PWD_COMMAND}`; export r; \
18583 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18584 $(SET_LIB_PATH) \
18585 $(HOST_EXPORTS) \
18586 for flag in $(EXTRA_HOST_FLAGS) ; do \
18587 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18588 done; \
18589 echo "Doing html in shellutils" ; \
18590 (cd $(HOST_SUBDIR)/shellutils && \
18591 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18592 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18593 "RANLIB=$${RANLIB}" \
18594 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18595 html) \
18596 || exit 1
18598 @endif shellutils
18600 .PHONY: maybe-TAGS-shellutils TAGS-shellutils
18601 maybe-TAGS-shellutils:
18602 @if shellutils
18603 maybe-TAGS-shellutils: TAGS-shellutils
18605 TAGS-shellutils: \
18606 configure-shellutils
18607 @[ -f ./shellutils/Makefile ] || exit 0; \
18608 r=`${PWD_COMMAND}`; export r; \
18609 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18610 $(SET_LIB_PATH) \
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 TAGS in shellutils" ; \
18616 (cd $(HOST_SUBDIR)/shellutils && \
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 TAGS) \
18622 || exit 1
18624 @endif shellutils
18626 .PHONY: maybe-install-info-shellutils install-info-shellutils
18627 maybe-install-info-shellutils:
18628 @if shellutils
18629 maybe-install-info-shellutils: install-info-shellutils
18631 install-info-shellutils: \
18632 configure-shellutils \
18633 info-shellutils
18634 @[ -f ./shellutils/Makefile ] || exit 0; \
18635 r=`${PWD_COMMAND}`; export r; \
18636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18637 $(SET_LIB_PATH) \
18638 $(HOST_EXPORTS) \
18639 for flag in $(EXTRA_HOST_FLAGS) ; do \
18640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18641 done; \
18642 echo "Doing install-info in shellutils" ; \
18643 (cd $(HOST_SUBDIR)/shellutils && \
18644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18646 "RANLIB=$${RANLIB}" \
18647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18648 install-info) \
18649 || exit 1
18651 @endif shellutils
18653 .PHONY: maybe-installcheck-shellutils installcheck-shellutils
18654 maybe-installcheck-shellutils:
18655 @if shellutils
18656 maybe-installcheck-shellutils: installcheck-shellutils
18658 installcheck-shellutils: \
18659 configure-shellutils
18660 @[ -f ./shellutils/Makefile ] || exit 0; \
18661 r=`${PWD_COMMAND}`; export r; \
18662 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18663 $(SET_LIB_PATH) \
18664 $(HOST_EXPORTS) \
18665 for flag in $(EXTRA_HOST_FLAGS) ; do \
18666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18667 done; \
18668 echo "Doing installcheck in shellutils" ; \
18669 (cd $(HOST_SUBDIR)/shellutils && \
18670 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18671 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18672 "RANLIB=$${RANLIB}" \
18673 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18674 installcheck) \
18675 || exit 1
18677 @endif shellutils
18679 .PHONY: maybe-mostlyclean-shellutils mostlyclean-shellutils
18680 maybe-mostlyclean-shellutils:
18681 @if shellutils
18682 maybe-mostlyclean-shellutils: mostlyclean-shellutils
18684 mostlyclean-shellutils:
18685 @[ -f ./shellutils/Makefile ] || exit 0; \
18686 r=`${PWD_COMMAND}`; export r; \
18687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18688 $(SET_LIB_PATH) \
18689 $(HOST_EXPORTS) \
18690 for flag in $(EXTRA_HOST_FLAGS) ; do \
18691 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18692 done; \
18693 echo "Doing mostlyclean in shellutils" ; \
18694 (cd $(HOST_SUBDIR)/shellutils && \
18695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18697 "RANLIB=$${RANLIB}" \
18698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18699 mostlyclean) \
18700 || exit 1
18702 @endif shellutils
18704 .PHONY: maybe-clean-shellutils clean-shellutils
18705 maybe-clean-shellutils:
18706 @if shellutils
18707 maybe-clean-shellutils: clean-shellutils
18709 clean-shellutils:
18710 @[ -f ./shellutils/Makefile ] || exit 0; \
18711 r=`${PWD_COMMAND}`; export r; \
18712 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18713 $(SET_LIB_PATH) \
18714 $(HOST_EXPORTS) \
18715 for flag in $(EXTRA_HOST_FLAGS) ; do \
18716 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18717 done; \
18718 echo "Doing clean in shellutils" ; \
18719 (cd $(HOST_SUBDIR)/shellutils && \
18720 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18721 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18722 "RANLIB=$${RANLIB}" \
18723 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18724 clean) \
18725 || exit 1
18727 @endif shellutils
18729 .PHONY: maybe-distclean-shellutils distclean-shellutils
18730 maybe-distclean-shellutils:
18731 @if shellutils
18732 maybe-distclean-shellutils: distclean-shellutils
18734 distclean-shellutils:
18735 @[ -f ./shellutils/Makefile ] || exit 0; \
18736 r=`${PWD_COMMAND}`; export r; \
18737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18738 $(SET_LIB_PATH) \
18739 $(HOST_EXPORTS) \
18740 for flag in $(EXTRA_HOST_FLAGS) ; do \
18741 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18742 done; \
18743 echo "Doing distclean in shellutils" ; \
18744 (cd $(HOST_SUBDIR)/shellutils && \
18745 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18746 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18747 "RANLIB=$${RANLIB}" \
18748 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18749 distclean) \
18750 || exit 1
18752 @endif shellutils
18754 .PHONY: maybe-maintainer-clean-shellutils maintainer-clean-shellutils
18755 maybe-maintainer-clean-shellutils:
18756 @if shellutils
18757 maybe-maintainer-clean-shellutils: maintainer-clean-shellutils
18759 maintainer-clean-shellutils:
18760 @[ -f ./shellutils/Makefile ] || exit 0; \
18761 r=`${PWD_COMMAND}`; export r; \
18762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18763 $(SET_LIB_PATH) \
18764 $(HOST_EXPORTS) \
18765 for flag in $(EXTRA_HOST_FLAGS) ; do \
18766 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18767 done; \
18768 echo "Doing maintainer-clean in shellutils" ; \
18769 (cd $(HOST_SUBDIR)/shellutils && \
18770 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18771 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18772 "RANLIB=$${RANLIB}" \
18773 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18774 maintainer-clean) \
18775 || exit 1
18777 @endif shellutils
18780 .PHONY: configure-sid maybe-configure-sid
18781 maybe-configure-sid:
18782 @if sid
18783 maybe-configure-sid: configure-sid
18784 configure-sid:
18785 @test ! -f $(HOST_SUBDIR)/sid/Makefile || exit 0; \
18786 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sid ; \
18787 r=`${PWD_COMMAND}`; export r; \
18788 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18789 $(HOST_EXPORTS) \
18790 echo Configuring in sid; \
18791 cd $(HOST_SUBDIR)/sid || exit 1; \
18792 case $(srcdir) in \
18793 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
18794 *) topdir=`echo $(HOST_SUBDIR)/sid/ | \
18795 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
18796 esac; \
18797 srcdiroption="--srcdir=$${topdir}/sid"; \
18798 libsrcdir="$$s/sid"; \
18799 $(SHELL) $${libsrcdir}/configure \
18800 $(HOST_CONFIGARGS) $${srcdiroption} \
18801 || exit 1
18802 @endif sid
18804 .PHONY: all-sid maybe-all-sid
18805 maybe-all-sid:
18806 @if sid
18807 TARGET-sid=all
18808 maybe-all-sid: all-sid
18809 all-sid: configure-sid
18810 @r=`${PWD_COMMAND}`; export r; \
18811 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18812 $(SET_LIB_PATH) \
18813 $(HOST_EXPORTS) \
18814 (cd $(HOST_SUBDIR)/sid && \
18815 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sid))
18816 @endif sid
18818 .PHONY: check-sid maybe-check-sid
18819 maybe-check-sid:
18820 @if sid
18821 maybe-check-sid: check-sid
18823 check-sid:
18824 @r=`${PWD_COMMAND}`; export r; \
18825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18826 $(SET_LIB_PATH) \
18827 $(HOST_EXPORTS) \
18828 (cd $(HOST_SUBDIR)/sid && \
18829 $(MAKE) $(FLAGS_TO_PASS) check)
18831 @endif sid
18833 .PHONY: install-sid maybe-install-sid
18834 maybe-install-sid:
18835 @if sid
18836 maybe-install-sid: install-sid
18838 install-sid: installdirs
18839 @r=`${PWD_COMMAND}`; export r; \
18840 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18841 $(SET_LIB_PATH) \
18842 $(HOST_EXPORTS) \
18843 (cd $(HOST_SUBDIR)/sid && \
18844 $(MAKE) $(FLAGS_TO_PASS) install)
18846 @endif sid
18848 # Other targets (info, dvi, etc.)
18850 .PHONY: maybe-info-sid info-sid
18851 maybe-info-sid:
18852 @if sid
18853 maybe-info-sid: info-sid
18855 info-sid: \
18856 configure-sid
18857 @[ -f ./sid/Makefile ] || exit 0; \
18858 r=`${PWD_COMMAND}`; export r; \
18859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18860 $(SET_LIB_PATH) \
18861 $(HOST_EXPORTS) \
18862 for flag in $(EXTRA_HOST_FLAGS) ; do \
18863 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18864 done; \
18865 echo "Doing info in sid" ; \
18866 (cd $(HOST_SUBDIR)/sid && \
18867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18869 "RANLIB=$${RANLIB}" \
18870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18871 info) \
18872 || exit 1
18874 @endif sid
18876 .PHONY: maybe-dvi-sid dvi-sid
18877 maybe-dvi-sid:
18878 @if sid
18879 maybe-dvi-sid: dvi-sid
18881 dvi-sid: \
18882 configure-sid
18883 @[ -f ./sid/Makefile ] || exit 0; \
18884 r=`${PWD_COMMAND}`; export r; \
18885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18886 $(SET_LIB_PATH) \
18887 $(HOST_EXPORTS) \
18888 for flag in $(EXTRA_HOST_FLAGS) ; do \
18889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18890 done; \
18891 echo "Doing dvi in sid" ; \
18892 (cd $(HOST_SUBDIR)/sid && \
18893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18895 "RANLIB=$${RANLIB}" \
18896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18897 dvi) \
18898 || exit 1
18900 @endif sid
18902 .PHONY: maybe-html-sid html-sid
18903 maybe-html-sid:
18904 @if sid
18905 maybe-html-sid: html-sid
18907 html-sid: \
18908 configure-sid
18909 @[ -f ./sid/Makefile ] || exit 0; \
18910 r=`${PWD_COMMAND}`; export r; \
18911 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18912 $(SET_LIB_PATH) \
18913 $(HOST_EXPORTS) \
18914 for flag in $(EXTRA_HOST_FLAGS) ; do \
18915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18916 done; \
18917 echo "Doing html in sid" ; \
18918 (cd $(HOST_SUBDIR)/sid && \
18919 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18920 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18921 "RANLIB=$${RANLIB}" \
18922 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18923 html) \
18924 || exit 1
18926 @endif sid
18928 .PHONY: maybe-TAGS-sid TAGS-sid
18929 maybe-TAGS-sid:
18930 @if sid
18931 maybe-TAGS-sid: TAGS-sid
18933 TAGS-sid: \
18934 configure-sid
18935 @[ -f ./sid/Makefile ] || exit 0; \
18936 r=`${PWD_COMMAND}`; export r; \
18937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18938 $(SET_LIB_PATH) \
18939 $(HOST_EXPORTS) \
18940 for flag in $(EXTRA_HOST_FLAGS) ; do \
18941 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18942 done; \
18943 echo "Doing TAGS in sid" ; \
18944 (cd $(HOST_SUBDIR)/sid && \
18945 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18946 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18947 "RANLIB=$${RANLIB}" \
18948 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18949 TAGS) \
18950 || exit 1
18952 @endif sid
18954 .PHONY: maybe-install-info-sid install-info-sid
18955 maybe-install-info-sid:
18956 @if sid
18957 maybe-install-info-sid: install-info-sid
18959 install-info-sid: \
18960 configure-sid \
18961 info-sid
18962 @[ -f ./sid/Makefile ] || exit 0; \
18963 r=`${PWD_COMMAND}`; export r; \
18964 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18965 $(SET_LIB_PATH) \
18966 $(HOST_EXPORTS) \
18967 for flag in $(EXTRA_HOST_FLAGS) ; do \
18968 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18969 done; \
18970 echo "Doing install-info in sid" ; \
18971 (cd $(HOST_SUBDIR)/sid && \
18972 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18973 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
18974 "RANLIB=$${RANLIB}" \
18975 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
18976 install-info) \
18977 || exit 1
18979 @endif sid
18981 .PHONY: maybe-installcheck-sid installcheck-sid
18982 maybe-installcheck-sid:
18983 @if sid
18984 maybe-installcheck-sid: installcheck-sid
18986 installcheck-sid: \
18987 configure-sid
18988 @[ -f ./sid/Makefile ] || exit 0; \
18989 r=`${PWD_COMMAND}`; export r; \
18990 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
18991 $(SET_LIB_PATH) \
18992 $(HOST_EXPORTS) \
18993 for flag in $(EXTRA_HOST_FLAGS) ; do \
18994 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
18995 done; \
18996 echo "Doing installcheck in sid" ; \
18997 (cd $(HOST_SUBDIR)/sid && \
18998 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
18999 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19000 "RANLIB=$${RANLIB}" \
19001 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19002 installcheck) \
19003 || exit 1
19005 @endif sid
19007 .PHONY: maybe-mostlyclean-sid mostlyclean-sid
19008 maybe-mostlyclean-sid:
19009 @if sid
19010 maybe-mostlyclean-sid: mostlyclean-sid
19012 mostlyclean-sid:
19013 @[ -f ./sid/Makefile ] || exit 0; \
19014 r=`${PWD_COMMAND}`; export r; \
19015 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19016 $(SET_LIB_PATH) \
19017 $(HOST_EXPORTS) \
19018 for flag in $(EXTRA_HOST_FLAGS) ; do \
19019 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19020 done; \
19021 echo "Doing mostlyclean in sid" ; \
19022 (cd $(HOST_SUBDIR)/sid && \
19023 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19024 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19025 "RANLIB=$${RANLIB}" \
19026 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19027 mostlyclean) \
19028 || exit 1
19030 @endif sid
19032 .PHONY: maybe-clean-sid clean-sid
19033 maybe-clean-sid:
19034 @if sid
19035 maybe-clean-sid: clean-sid
19037 clean-sid:
19038 @[ -f ./sid/Makefile ] || exit 0; \
19039 r=`${PWD_COMMAND}`; export r; \
19040 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19041 $(SET_LIB_PATH) \
19042 $(HOST_EXPORTS) \
19043 for flag in $(EXTRA_HOST_FLAGS) ; do \
19044 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19045 done; \
19046 echo "Doing clean in sid" ; \
19047 (cd $(HOST_SUBDIR)/sid && \
19048 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19049 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19050 "RANLIB=$${RANLIB}" \
19051 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19052 clean) \
19053 || exit 1
19055 @endif sid
19057 .PHONY: maybe-distclean-sid distclean-sid
19058 maybe-distclean-sid:
19059 @if sid
19060 maybe-distclean-sid: distclean-sid
19062 distclean-sid:
19063 @[ -f ./sid/Makefile ] || exit 0; \
19064 r=`${PWD_COMMAND}`; export r; \
19065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19066 $(SET_LIB_PATH) \
19067 $(HOST_EXPORTS) \
19068 for flag in $(EXTRA_HOST_FLAGS) ; do \
19069 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19070 done; \
19071 echo "Doing distclean in sid" ; \
19072 (cd $(HOST_SUBDIR)/sid && \
19073 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19074 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19075 "RANLIB=$${RANLIB}" \
19076 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19077 distclean) \
19078 || exit 1
19080 @endif sid
19082 .PHONY: maybe-maintainer-clean-sid maintainer-clean-sid
19083 maybe-maintainer-clean-sid:
19084 @if sid
19085 maybe-maintainer-clean-sid: maintainer-clean-sid
19087 maintainer-clean-sid:
19088 @[ -f ./sid/Makefile ] || exit 0; \
19089 r=`${PWD_COMMAND}`; export r; \
19090 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19091 $(SET_LIB_PATH) \
19092 $(HOST_EXPORTS) \
19093 for flag in $(EXTRA_HOST_FLAGS) ; do \
19094 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19095 done; \
19096 echo "Doing maintainer-clean in sid" ; \
19097 (cd $(HOST_SUBDIR)/sid && \
19098 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19099 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19100 "RANLIB=$${RANLIB}" \
19101 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19102 maintainer-clean) \
19103 || exit 1
19105 @endif sid
19108 .PHONY: configure-sim maybe-configure-sim
19109 maybe-configure-sim:
19110 @if sim
19111 maybe-configure-sim: configure-sim
19112 configure-sim:
19113 @test ! -f $(HOST_SUBDIR)/sim/Makefile || exit 0; \
19114 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/sim ; \
19115 r=`${PWD_COMMAND}`; export r; \
19116 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19117 $(HOST_EXPORTS) \
19118 echo Configuring in sim; \
19119 cd $(HOST_SUBDIR)/sim || exit 1; \
19120 case $(srcdir) in \
19121 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19122 *) topdir=`echo $(HOST_SUBDIR)/sim/ | \
19123 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19124 esac; \
19125 srcdiroption="--srcdir=$${topdir}/sim"; \
19126 libsrcdir="$$s/sim"; \
19127 $(SHELL) $${libsrcdir}/configure \
19128 $(HOST_CONFIGARGS) $${srcdiroption} \
19129 || exit 1
19130 @endif sim
19132 .PHONY: all-sim maybe-all-sim
19133 maybe-all-sim:
19134 @if sim
19135 TARGET-sim=all
19136 maybe-all-sim: all-sim
19137 all-sim: configure-sim
19138 @r=`${PWD_COMMAND}`; export r; \
19139 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19140 $(SET_LIB_PATH) \
19141 $(HOST_EXPORTS) \
19142 (cd $(HOST_SUBDIR)/sim && \
19143 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-sim))
19144 @endif sim
19146 .PHONY: check-sim maybe-check-sim
19147 maybe-check-sim:
19148 @if sim
19149 maybe-check-sim: check-sim
19151 check-sim:
19152 @r=`${PWD_COMMAND}`; export r; \
19153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19154 $(SET_LIB_PATH) \
19155 $(HOST_EXPORTS) \
19156 (cd $(HOST_SUBDIR)/sim && \
19157 $(MAKE) $(FLAGS_TO_PASS) check)
19159 @endif sim
19161 .PHONY: install-sim maybe-install-sim
19162 maybe-install-sim:
19163 @if sim
19164 maybe-install-sim: install-sim
19166 install-sim: installdirs
19167 @r=`${PWD_COMMAND}`; export r; \
19168 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19169 $(SET_LIB_PATH) \
19170 $(HOST_EXPORTS) \
19171 (cd $(HOST_SUBDIR)/sim && \
19172 $(MAKE) $(FLAGS_TO_PASS) install)
19174 @endif sim
19176 # Other targets (info, dvi, etc.)
19178 .PHONY: maybe-info-sim info-sim
19179 maybe-info-sim:
19180 @if sim
19181 maybe-info-sim: info-sim
19183 info-sim: \
19184 configure-sim
19185 @[ -f ./sim/Makefile ] || exit 0; \
19186 r=`${PWD_COMMAND}`; export r; \
19187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19188 $(SET_LIB_PATH) \
19189 $(HOST_EXPORTS) \
19190 for flag in $(EXTRA_HOST_FLAGS) ; do \
19191 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19192 done; \
19193 echo "Doing info in sim" ; \
19194 (cd $(HOST_SUBDIR)/sim && \
19195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19197 "RANLIB=$${RANLIB}" \
19198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19199 info) \
19200 || exit 1
19202 @endif sim
19204 .PHONY: maybe-dvi-sim dvi-sim
19205 maybe-dvi-sim:
19206 @if sim
19207 maybe-dvi-sim: dvi-sim
19209 dvi-sim: \
19210 configure-sim
19211 @[ -f ./sim/Makefile ] || exit 0; \
19212 r=`${PWD_COMMAND}`; export r; \
19213 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19214 $(SET_LIB_PATH) \
19215 $(HOST_EXPORTS) \
19216 for flag in $(EXTRA_HOST_FLAGS) ; do \
19217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19218 done; \
19219 echo "Doing dvi in sim" ; \
19220 (cd $(HOST_SUBDIR)/sim && \
19221 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19222 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19223 "RANLIB=$${RANLIB}" \
19224 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19225 dvi) \
19226 || exit 1
19228 @endif sim
19230 .PHONY: maybe-html-sim html-sim
19231 maybe-html-sim:
19232 @if sim
19233 maybe-html-sim: html-sim
19235 html-sim: \
19236 configure-sim
19237 @[ -f ./sim/Makefile ] || exit 0; \
19238 r=`${PWD_COMMAND}`; export r; \
19239 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19240 $(SET_LIB_PATH) \
19241 $(HOST_EXPORTS) \
19242 for flag in $(EXTRA_HOST_FLAGS) ; do \
19243 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19244 done; \
19245 echo "Doing html in sim" ; \
19246 (cd $(HOST_SUBDIR)/sim && \
19247 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19248 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19249 "RANLIB=$${RANLIB}" \
19250 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19251 html) \
19252 || exit 1
19254 @endif sim
19256 .PHONY: maybe-TAGS-sim TAGS-sim
19257 maybe-TAGS-sim:
19258 @if sim
19259 maybe-TAGS-sim: TAGS-sim
19261 TAGS-sim: \
19262 configure-sim
19263 @[ -f ./sim/Makefile ] || exit 0; \
19264 r=`${PWD_COMMAND}`; export r; \
19265 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19266 $(SET_LIB_PATH) \
19267 $(HOST_EXPORTS) \
19268 for flag in $(EXTRA_HOST_FLAGS) ; do \
19269 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19270 done; \
19271 echo "Doing TAGS in sim" ; \
19272 (cd $(HOST_SUBDIR)/sim && \
19273 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19274 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19275 "RANLIB=$${RANLIB}" \
19276 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19277 TAGS) \
19278 || exit 1
19280 @endif sim
19282 .PHONY: maybe-install-info-sim install-info-sim
19283 maybe-install-info-sim:
19284 @if sim
19285 maybe-install-info-sim: install-info-sim
19287 install-info-sim: \
19288 configure-sim \
19289 info-sim
19290 @[ -f ./sim/Makefile ] || exit 0; \
19291 r=`${PWD_COMMAND}`; export r; \
19292 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19293 $(SET_LIB_PATH) \
19294 $(HOST_EXPORTS) \
19295 for flag in $(EXTRA_HOST_FLAGS) ; do \
19296 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19297 done; \
19298 echo "Doing install-info in sim" ; \
19299 (cd $(HOST_SUBDIR)/sim && \
19300 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19301 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19302 "RANLIB=$${RANLIB}" \
19303 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19304 install-info) \
19305 || exit 1
19307 @endif sim
19309 .PHONY: maybe-installcheck-sim installcheck-sim
19310 maybe-installcheck-sim:
19311 @if sim
19312 maybe-installcheck-sim: installcheck-sim
19314 installcheck-sim: \
19315 configure-sim
19316 @[ -f ./sim/Makefile ] || exit 0; \
19317 r=`${PWD_COMMAND}`; export r; \
19318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19319 $(SET_LIB_PATH) \
19320 $(HOST_EXPORTS) \
19321 for flag in $(EXTRA_HOST_FLAGS) ; do \
19322 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19323 done; \
19324 echo "Doing installcheck in sim" ; \
19325 (cd $(HOST_SUBDIR)/sim && \
19326 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19327 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19328 "RANLIB=$${RANLIB}" \
19329 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19330 installcheck) \
19331 || exit 1
19333 @endif sim
19335 .PHONY: maybe-mostlyclean-sim mostlyclean-sim
19336 maybe-mostlyclean-sim:
19337 @if sim
19338 maybe-mostlyclean-sim: mostlyclean-sim
19340 mostlyclean-sim:
19341 @[ -f ./sim/Makefile ] || exit 0; \
19342 r=`${PWD_COMMAND}`; export r; \
19343 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19344 $(SET_LIB_PATH) \
19345 $(HOST_EXPORTS) \
19346 for flag in $(EXTRA_HOST_FLAGS) ; do \
19347 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19348 done; \
19349 echo "Doing mostlyclean in sim" ; \
19350 (cd $(HOST_SUBDIR)/sim && \
19351 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19352 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19353 "RANLIB=$${RANLIB}" \
19354 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19355 mostlyclean) \
19356 || exit 1
19358 @endif sim
19360 .PHONY: maybe-clean-sim clean-sim
19361 maybe-clean-sim:
19362 @if sim
19363 maybe-clean-sim: clean-sim
19365 clean-sim:
19366 @[ -f ./sim/Makefile ] || exit 0; \
19367 r=`${PWD_COMMAND}`; export r; \
19368 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19369 $(SET_LIB_PATH) \
19370 $(HOST_EXPORTS) \
19371 for flag in $(EXTRA_HOST_FLAGS) ; do \
19372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19373 done; \
19374 echo "Doing clean in sim" ; \
19375 (cd $(HOST_SUBDIR)/sim && \
19376 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19377 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19378 "RANLIB=$${RANLIB}" \
19379 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19380 clean) \
19381 || exit 1
19383 @endif sim
19385 .PHONY: maybe-distclean-sim distclean-sim
19386 maybe-distclean-sim:
19387 @if sim
19388 maybe-distclean-sim: distclean-sim
19390 distclean-sim:
19391 @[ -f ./sim/Makefile ] || exit 0; \
19392 r=`${PWD_COMMAND}`; export r; \
19393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19394 $(SET_LIB_PATH) \
19395 $(HOST_EXPORTS) \
19396 for flag in $(EXTRA_HOST_FLAGS) ; do \
19397 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19398 done; \
19399 echo "Doing distclean in sim" ; \
19400 (cd $(HOST_SUBDIR)/sim && \
19401 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19402 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19403 "RANLIB=$${RANLIB}" \
19404 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19405 distclean) \
19406 || exit 1
19408 @endif sim
19410 .PHONY: maybe-maintainer-clean-sim maintainer-clean-sim
19411 maybe-maintainer-clean-sim:
19412 @if sim
19413 maybe-maintainer-clean-sim: maintainer-clean-sim
19415 maintainer-clean-sim:
19416 @[ -f ./sim/Makefile ] || exit 0; \
19417 r=`${PWD_COMMAND}`; export r; \
19418 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19419 $(SET_LIB_PATH) \
19420 $(HOST_EXPORTS) \
19421 for flag in $(EXTRA_HOST_FLAGS) ; do \
19422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19423 done; \
19424 echo "Doing maintainer-clean in sim" ; \
19425 (cd $(HOST_SUBDIR)/sim && \
19426 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19427 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19428 "RANLIB=$${RANLIB}" \
19429 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19430 maintainer-clean) \
19431 || exit 1
19433 @endif sim
19436 .PHONY: configure-tar maybe-configure-tar
19437 maybe-configure-tar:
19438 @if tar
19439 maybe-configure-tar: configure-tar
19440 configure-tar:
19441 @test ! -f $(HOST_SUBDIR)/tar/Makefile || exit 0; \
19442 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tar ; \
19443 r=`${PWD_COMMAND}`; export r; \
19444 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19445 $(HOST_EXPORTS) \
19446 echo Configuring in tar; \
19447 cd $(HOST_SUBDIR)/tar || exit 1; \
19448 case $(srcdir) in \
19449 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19450 *) topdir=`echo $(HOST_SUBDIR)/tar/ | \
19451 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19452 esac; \
19453 srcdiroption="--srcdir=$${topdir}/tar"; \
19454 libsrcdir="$$s/tar"; \
19455 $(SHELL) $${libsrcdir}/configure \
19456 $(HOST_CONFIGARGS) $${srcdiroption} \
19457 || exit 1
19458 @endif tar
19460 .PHONY: all-tar maybe-all-tar
19461 maybe-all-tar:
19462 @if tar
19463 TARGET-tar=all
19464 maybe-all-tar: all-tar
19465 all-tar: configure-tar
19466 @r=`${PWD_COMMAND}`; export r; \
19467 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19468 $(SET_LIB_PATH) \
19469 $(HOST_EXPORTS) \
19470 (cd $(HOST_SUBDIR)/tar && \
19471 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-tar))
19472 @endif tar
19474 .PHONY: check-tar maybe-check-tar
19475 maybe-check-tar:
19476 @if tar
19477 maybe-check-tar: check-tar
19479 check-tar:
19480 @r=`${PWD_COMMAND}`; export r; \
19481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19482 $(SET_LIB_PATH) \
19483 $(HOST_EXPORTS) \
19484 (cd $(HOST_SUBDIR)/tar && \
19485 $(MAKE) $(FLAGS_TO_PASS) check)
19487 @endif tar
19489 .PHONY: install-tar maybe-install-tar
19490 maybe-install-tar:
19491 @if tar
19492 maybe-install-tar: install-tar
19494 install-tar: installdirs
19495 @r=`${PWD_COMMAND}`; export r; \
19496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19497 $(SET_LIB_PATH) \
19498 $(HOST_EXPORTS) \
19499 (cd $(HOST_SUBDIR)/tar && \
19500 $(MAKE) $(FLAGS_TO_PASS) install)
19502 @endif tar
19504 # Other targets (info, dvi, etc.)
19506 .PHONY: maybe-info-tar info-tar
19507 maybe-info-tar:
19508 @if tar
19509 maybe-info-tar: info-tar
19511 info-tar: \
19512 configure-tar
19513 @[ -f ./tar/Makefile ] || exit 0; \
19514 r=`${PWD_COMMAND}`; export r; \
19515 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19516 $(SET_LIB_PATH) \
19517 $(HOST_EXPORTS) \
19518 for flag in $(EXTRA_HOST_FLAGS) ; do \
19519 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19520 done; \
19521 echo "Doing info in tar" ; \
19522 (cd $(HOST_SUBDIR)/tar && \
19523 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19524 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19525 "RANLIB=$${RANLIB}" \
19526 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19527 info) \
19528 || exit 1
19530 @endif tar
19532 .PHONY: maybe-dvi-tar dvi-tar
19533 maybe-dvi-tar:
19534 @if tar
19535 maybe-dvi-tar: dvi-tar
19537 dvi-tar: \
19538 configure-tar
19539 @[ -f ./tar/Makefile ] || exit 0; \
19540 r=`${PWD_COMMAND}`; export r; \
19541 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19542 $(SET_LIB_PATH) \
19543 $(HOST_EXPORTS) \
19544 for flag in $(EXTRA_HOST_FLAGS) ; do \
19545 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19546 done; \
19547 echo "Doing dvi in tar" ; \
19548 (cd $(HOST_SUBDIR)/tar && \
19549 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19550 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19551 "RANLIB=$${RANLIB}" \
19552 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19553 dvi) \
19554 || exit 1
19556 @endif tar
19558 .PHONY: maybe-html-tar html-tar
19559 maybe-html-tar:
19560 @if tar
19561 maybe-html-tar: html-tar
19563 html-tar: \
19564 configure-tar
19565 @[ -f ./tar/Makefile ] || exit 0; \
19566 r=`${PWD_COMMAND}`; export r; \
19567 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19568 $(SET_LIB_PATH) \
19569 $(HOST_EXPORTS) \
19570 for flag in $(EXTRA_HOST_FLAGS) ; do \
19571 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19572 done; \
19573 echo "Doing html in tar" ; \
19574 (cd $(HOST_SUBDIR)/tar && \
19575 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19576 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19577 "RANLIB=$${RANLIB}" \
19578 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19579 html) \
19580 || exit 1
19582 @endif tar
19584 .PHONY: maybe-TAGS-tar TAGS-tar
19585 maybe-TAGS-tar:
19586 @if tar
19587 maybe-TAGS-tar: TAGS-tar
19589 TAGS-tar: \
19590 configure-tar
19591 @[ -f ./tar/Makefile ] || exit 0; \
19592 r=`${PWD_COMMAND}`; export r; \
19593 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19594 $(SET_LIB_PATH) \
19595 $(HOST_EXPORTS) \
19596 for flag in $(EXTRA_HOST_FLAGS) ; do \
19597 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19598 done; \
19599 echo "Doing TAGS in tar" ; \
19600 (cd $(HOST_SUBDIR)/tar && \
19601 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19602 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19603 "RANLIB=$${RANLIB}" \
19604 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19605 TAGS) \
19606 || exit 1
19608 @endif tar
19610 .PHONY: maybe-install-info-tar install-info-tar
19611 maybe-install-info-tar:
19612 @if tar
19613 maybe-install-info-tar: install-info-tar
19615 install-info-tar: \
19616 configure-tar \
19617 info-tar
19618 @[ -f ./tar/Makefile ] || exit 0; \
19619 r=`${PWD_COMMAND}`; export r; \
19620 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19621 $(SET_LIB_PATH) \
19622 $(HOST_EXPORTS) \
19623 for flag in $(EXTRA_HOST_FLAGS) ; do \
19624 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19625 done; \
19626 echo "Doing install-info in tar" ; \
19627 (cd $(HOST_SUBDIR)/tar && \
19628 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19629 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19630 "RANLIB=$${RANLIB}" \
19631 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19632 install-info) \
19633 || exit 1
19635 @endif tar
19637 .PHONY: maybe-installcheck-tar installcheck-tar
19638 maybe-installcheck-tar:
19639 @if tar
19640 maybe-installcheck-tar: installcheck-tar
19642 installcheck-tar: \
19643 configure-tar
19644 @[ -f ./tar/Makefile ] || exit 0; \
19645 r=`${PWD_COMMAND}`; export r; \
19646 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19647 $(SET_LIB_PATH) \
19648 $(HOST_EXPORTS) \
19649 for flag in $(EXTRA_HOST_FLAGS) ; do \
19650 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19651 done; \
19652 echo "Doing installcheck in tar" ; \
19653 (cd $(HOST_SUBDIR)/tar && \
19654 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19655 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19656 "RANLIB=$${RANLIB}" \
19657 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19658 installcheck) \
19659 || exit 1
19661 @endif tar
19663 .PHONY: maybe-mostlyclean-tar mostlyclean-tar
19664 maybe-mostlyclean-tar:
19665 @if tar
19666 maybe-mostlyclean-tar: mostlyclean-tar
19668 mostlyclean-tar:
19669 @[ -f ./tar/Makefile ] || exit 0; \
19670 r=`${PWD_COMMAND}`; export r; \
19671 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19672 $(SET_LIB_PATH) \
19673 $(HOST_EXPORTS) \
19674 for flag in $(EXTRA_HOST_FLAGS) ; do \
19675 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19676 done; \
19677 echo "Doing mostlyclean in tar" ; \
19678 (cd $(HOST_SUBDIR)/tar && \
19679 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19680 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19681 "RANLIB=$${RANLIB}" \
19682 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19683 mostlyclean) \
19684 || exit 1
19686 @endif tar
19688 .PHONY: maybe-clean-tar clean-tar
19689 maybe-clean-tar:
19690 @if tar
19691 maybe-clean-tar: clean-tar
19693 clean-tar:
19694 @[ -f ./tar/Makefile ] || exit 0; \
19695 r=`${PWD_COMMAND}`; export r; \
19696 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19697 $(SET_LIB_PATH) \
19698 $(HOST_EXPORTS) \
19699 for flag in $(EXTRA_HOST_FLAGS) ; do \
19700 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19701 done; \
19702 echo "Doing clean in tar" ; \
19703 (cd $(HOST_SUBDIR)/tar && \
19704 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19705 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19706 "RANLIB=$${RANLIB}" \
19707 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19708 clean) \
19709 || exit 1
19711 @endif tar
19713 .PHONY: maybe-distclean-tar distclean-tar
19714 maybe-distclean-tar:
19715 @if tar
19716 maybe-distclean-tar: distclean-tar
19718 distclean-tar:
19719 @[ -f ./tar/Makefile ] || exit 0; \
19720 r=`${PWD_COMMAND}`; export r; \
19721 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19722 $(SET_LIB_PATH) \
19723 $(HOST_EXPORTS) \
19724 for flag in $(EXTRA_HOST_FLAGS) ; do \
19725 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19726 done; \
19727 echo "Doing distclean in tar" ; \
19728 (cd $(HOST_SUBDIR)/tar && \
19729 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19730 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19731 "RANLIB=$${RANLIB}" \
19732 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19733 distclean) \
19734 || exit 1
19736 @endif tar
19738 .PHONY: maybe-maintainer-clean-tar maintainer-clean-tar
19739 maybe-maintainer-clean-tar:
19740 @if tar
19741 maybe-maintainer-clean-tar: maintainer-clean-tar
19743 maintainer-clean-tar:
19744 @[ -f ./tar/Makefile ] || exit 0; \
19745 r=`${PWD_COMMAND}`; export r; \
19746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19747 $(SET_LIB_PATH) \
19748 $(HOST_EXPORTS) \
19749 for flag in $(EXTRA_HOST_FLAGS) ; do \
19750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19751 done; \
19752 echo "Doing maintainer-clean in tar" ; \
19753 (cd $(HOST_SUBDIR)/tar && \
19754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19756 "RANLIB=$${RANLIB}" \
19757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19758 maintainer-clean) \
19759 || exit 1
19761 @endif tar
19764 .PHONY: configure-texinfo maybe-configure-texinfo
19765 maybe-configure-texinfo:
19766 @if texinfo
19767 maybe-configure-texinfo: configure-texinfo
19768 configure-texinfo:
19769 @test ! -f $(HOST_SUBDIR)/texinfo/Makefile || exit 0; \
19770 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/texinfo ; \
19771 r=`${PWD_COMMAND}`; export r; \
19772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19773 $(HOST_EXPORTS) \
19774 echo Configuring in texinfo; \
19775 cd $(HOST_SUBDIR)/texinfo || exit 1; \
19776 case $(srcdir) in \
19777 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
19778 *) topdir=`echo $(HOST_SUBDIR)/texinfo/ | \
19779 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
19780 esac; \
19781 srcdiroption="--srcdir=$${topdir}/texinfo"; \
19782 libsrcdir="$$s/texinfo"; \
19783 $(SHELL) $${libsrcdir}/configure \
19784 $(HOST_CONFIGARGS) $${srcdiroption} \
19785 || exit 1
19786 @endif texinfo
19788 .PHONY: all-texinfo maybe-all-texinfo
19789 maybe-all-texinfo:
19790 @if texinfo
19791 TARGET-texinfo=all
19792 maybe-all-texinfo: all-texinfo
19793 all-texinfo: configure-texinfo
19794 @r=`${PWD_COMMAND}`; export r; \
19795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19796 $(SET_LIB_PATH) \
19797 $(HOST_EXPORTS) \
19798 (cd $(HOST_SUBDIR)/texinfo && \
19799 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-texinfo))
19800 @endif texinfo
19802 .PHONY: check-texinfo maybe-check-texinfo
19803 maybe-check-texinfo:
19804 @if texinfo
19805 maybe-check-texinfo: check-texinfo
19807 check-texinfo:
19808 @r=`${PWD_COMMAND}`; export r; \
19809 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19810 $(SET_LIB_PATH) \
19811 $(HOST_EXPORTS) \
19812 (cd $(HOST_SUBDIR)/texinfo && \
19813 $(MAKE) $(FLAGS_TO_PASS) check)
19815 @endif texinfo
19817 .PHONY: install-texinfo maybe-install-texinfo
19818 maybe-install-texinfo:
19819 @if texinfo
19820 maybe-install-texinfo: install-texinfo
19822 install-texinfo:
19824 @endif texinfo
19826 # Other targets (info, dvi, etc.)
19828 .PHONY: maybe-info-texinfo info-texinfo
19829 maybe-info-texinfo:
19830 @if texinfo
19831 maybe-info-texinfo: info-texinfo
19833 info-texinfo: \
19834 configure-texinfo
19835 @[ -f ./texinfo/Makefile ] || exit 0; \
19836 r=`${PWD_COMMAND}`; export r; \
19837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19838 $(SET_LIB_PATH) \
19839 $(HOST_EXPORTS) \
19840 for flag in $(EXTRA_HOST_FLAGS) ; do \
19841 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19842 done; \
19843 echo "Doing info in texinfo" ; \
19844 (cd $(HOST_SUBDIR)/texinfo && \
19845 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19846 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19847 "RANLIB=$${RANLIB}" \
19848 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19849 info) \
19850 || exit 1
19852 @endif texinfo
19854 .PHONY: maybe-dvi-texinfo dvi-texinfo
19855 maybe-dvi-texinfo:
19856 @if texinfo
19857 maybe-dvi-texinfo: dvi-texinfo
19859 dvi-texinfo: \
19860 configure-texinfo
19861 @[ -f ./texinfo/Makefile ] || exit 0; \
19862 r=`${PWD_COMMAND}`; export r; \
19863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19864 $(SET_LIB_PATH) \
19865 $(HOST_EXPORTS) \
19866 for flag in $(EXTRA_HOST_FLAGS) ; do \
19867 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19868 done; \
19869 echo "Doing dvi in texinfo" ; \
19870 (cd $(HOST_SUBDIR)/texinfo && \
19871 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19872 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19873 "RANLIB=$${RANLIB}" \
19874 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19875 dvi) \
19876 || exit 1
19878 @endif texinfo
19880 .PHONY: maybe-html-texinfo html-texinfo
19881 maybe-html-texinfo:
19882 @if texinfo
19883 maybe-html-texinfo: html-texinfo
19885 html-texinfo: \
19886 configure-texinfo
19887 @[ -f ./texinfo/Makefile ] || exit 0; \
19888 r=`${PWD_COMMAND}`; export r; \
19889 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19890 $(SET_LIB_PATH) \
19891 $(HOST_EXPORTS) \
19892 for flag in $(EXTRA_HOST_FLAGS) ; do \
19893 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19894 done; \
19895 echo "Doing html in texinfo" ; \
19896 (cd $(HOST_SUBDIR)/texinfo && \
19897 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19898 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19899 "RANLIB=$${RANLIB}" \
19900 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19901 html) \
19902 || exit 1
19904 @endif texinfo
19906 .PHONY: maybe-TAGS-texinfo TAGS-texinfo
19907 maybe-TAGS-texinfo:
19908 @if texinfo
19909 maybe-TAGS-texinfo: TAGS-texinfo
19911 TAGS-texinfo: \
19912 configure-texinfo
19913 @[ -f ./texinfo/Makefile ] || exit 0; \
19914 r=`${PWD_COMMAND}`; export r; \
19915 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19916 $(SET_LIB_PATH) \
19917 $(HOST_EXPORTS) \
19918 for flag in $(EXTRA_HOST_FLAGS) ; do \
19919 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19920 done; \
19921 echo "Doing TAGS in texinfo" ; \
19922 (cd $(HOST_SUBDIR)/texinfo && \
19923 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19924 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19925 "RANLIB=$${RANLIB}" \
19926 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19927 TAGS) \
19928 || exit 1
19930 @endif texinfo
19932 .PHONY: maybe-install-info-texinfo install-info-texinfo
19933 maybe-install-info-texinfo:
19934 @if texinfo
19935 maybe-install-info-texinfo: install-info-texinfo
19937 install-info-texinfo: \
19938 configure-texinfo \
19939 info-texinfo
19940 @[ -f ./texinfo/Makefile ] || exit 0; \
19941 r=`${PWD_COMMAND}`; export r; \
19942 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19943 $(SET_LIB_PATH) \
19944 $(HOST_EXPORTS) \
19945 for flag in $(EXTRA_HOST_FLAGS) ; do \
19946 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19947 done; \
19948 echo "Doing install-info in texinfo" ; \
19949 (cd $(HOST_SUBDIR)/texinfo && \
19950 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19951 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19952 "RANLIB=$${RANLIB}" \
19953 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19954 install-info) \
19955 || exit 1
19957 @endif texinfo
19959 .PHONY: maybe-installcheck-texinfo installcheck-texinfo
19960 maybe-installcheck-texinfo:
19961 @if texinfo
19962 maybe-installcheck-texinfo: installcheck-texinfo
19964 installcheck-texinfo: \
19965 configure-texinfo
19966 @[ -f ./texinfo/Makefile ] || exit 0; \
19967 r=`${PWD_COMMAND}`; export r; \
19968 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19969 $(SET_LIB_PATH) \
19970 $(HOST_EXPORTS) \
19971 for flag in $(EXTRA_HOST_FLAGS) ; do \
19972 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19973 done; \
19974 echo "Doing installcheck in texinfo" ; \
19975 (cd $(HOST_SUBDIR)/texinfo && \
19976 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
19977 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
19978 "RANLIB=$${RANLIB}" \
19979 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
19980 installcheck) \
19981 || exit 1
19983 @endif texinfo
19985 .PHONY: maybe-mostlyclean-texinfo mostlyclean-texinfo
19986 maybe-mostlyclean-texinfo:
19987 @if texinfo
19988 maybe-mostlyclean-texinfo: mostlyclean-texinfo
19990 mostlyclean-texinfo:
19991 @[ -f ./texinfo/Makefile ] || exit 0; \
19992 r=`${PWD_COMMAND}`; export r; \
19993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
19994 $(SET_LIB_PATH) \
19995 $(HOST_EXPORTS) \
19996 for flag in $(EXTRA_HOST_FLAGS) ; do \
19997 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
19998 done; \
19999 echo "Doing mostlyclean in texinfo" ; \
20000 (cd $(HOST_SUBDIR)/texinfo && \
20001 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20002 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20003 "RANLIB=$${RANLIB}" \
20004 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20005 mostlyclean) \
20006 || exit 1
20008 @endif texinfo
20010 .PHONY: maybe-clean-texinfo clean-texinfo
20011 maybe-clean-texinfo:
20012 @if texinfo
20013 maybe-clean-texinfo: clean-texinfo
20015 clean-texinfo:
20016 @[ -f ./texinfo/Makefile ] || exit 0; \
20017 r=`${PWD_COMMAND}`; export r; \
20018 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20019 $(SET_LIB_PATH) \
20020 $(HOST_EXPORTS) \
20021 for flag in $(EXTRA_HOST_FLAGS) ; do \
20022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20023 done; \
20024 echo "Doing clean in texinfo" ; \
20025 (cd $(HOST_SUBDIR)/texinfo && \
20026 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20027 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20028 "RANLIB=$${RANLIB}" \
20029 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20030 clean) \
20031 || exit 1
20033 @endif texinfo
20035 .PHONY: maybe-distclean-texinfo distclean-texinfo
20036 maybe-distclean-texinfo:
20037 @if texinfo
20038 maybe-distclean-texinfo: distclean-texinfo
20040 distclean-texinfo:
20041 @[ -f ./texinfo/Makefile ] || exit 0; \
20042 r=`${PWD_COMMAND}`; export r; \
20043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20044 $(SET_LIB_PATH) \
20045 $(HOST_EXPORTS) \
20046 for flag in $(EXTRA_HOST_FLAGS) ; do \
20047 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20048 done; \
20049 echo "Doing distclean in texinfo" ; \
20050 (cd $(HOST_SUBDIR)/texinfo && \
20051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20053 "RANLIB=$${RANLIB}" \
20054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20055 distclean) \
20056 || exit 1
20058 @endif texinfo
20060 .PHONY: maybe-maintainer-clean-texinfo maintainer-clean-texinfo
20061 maybe-maintainer-clean-texinfo:
20062 @if texinfo
20063 maybe-maintainer-clean-texinfo: maintainer-clean-texinfo
20065 maintainer-clean-texinfo:
20066 @[ -f ./texinfo/Makefile ] || exit 0; \
20067 r=`${PWD_COMMAND}`; export r; \
20068 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20069 $(SET_LIB_PATH) \
20070 $(HOST_EXPORTS) \
20071 for flag in $(EXTRA_HOST_FLAGS) ; do \
20072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20073 done; \
20074 echo "Doing maintainer-clean in texinfo" ; \
20075 (cd $(HOST_SUBDIR)/texinfo && \
20076 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20077 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20078 "RANLIB=$${RANLIB}" \
20079 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20080 maintainer-clean) \
20081 || exit 1
20083 @endif texinfo
20086 .PHONY: configure-textutils maybe-configure-textutils
20087 maybe-configure-textutils:
20088 @if textutils
20089 maybe-configure-textutils: configure-textutils
20090 configure-textutils:
20091 @test ! -f $(HOST_SUBDIR)/textutils/Makefile || exit 0; \
20092 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/textutils ; \
20093 r=`${PWD_COMMAND}`; export r; \
20094 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20095 $(HOST_EXPORTS) \
20096 echo Configuring in textutils; \
20097 cd $(HOST_SUBDIR)/textutils || exit 1; \
20098 case $(srcdir) in \
20099 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20100 *) topdir=`echo $(HOST_SUBDIR)/textutils/ | \
20101 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20102 esac; \
20103 srcdiroption="--srcdir=$${topdir}/textutils"; \
20104 libsrcdir="$$s/textutils"; \
20105 $(SHELL) $${libsrcdir}/configure \
20106 $(HOST_CONFIGARGS) $${srcdiroption} \
20107 || exit 1
20108 @endif textutils
20110 .PHONY: all-textutils maybe-all-textutils
20111 maybe-all-textutils:
20112 @if textutils
20113 TARGET-textutils=all
20114 maybe-all-textutils: all-textutils
20115 all-textutils: configure-textutils
20116 @r=`${PWD_COMMAND}`; export r; \
20117 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20118 $(SET_LIB_PATH) \
20119 $(HOST_EXPORTS) \
20120 (cd $(HOST_SUBDIR)/textutils && \
20121 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-textutils))
20122 @endif textutils
20124 .PHONY: check-textutils maybe-check-textutils
20125 maybe-check-textutils:
20126 @if textutils
20127 maybe-check-textutils: check-textutils
20129 check-textutils:
20130 @r=`${PWD_COMMAND}`; export r; \
20131 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20132 $(SET_LIB_PATH) \
20133 $(HOST_EXPORTS) \
20134 (cd $(HOST_SUBDIR)/textutils && \
20135 $(MAKE) $(FLAGS_TO_PASS) check)
20137 @endif textutils
20139 .PHONY: install-textutils maybe-install-textutils
20140 maybe-install-textutils:
20141 @if textutils
20142 maybe-install-textutils: install-textutils
20144 install-textutils: installdirs
20145 @r=`${PWD_COMMAND}`; export r; \
20146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20147 $(SET_LIB_PATH) \
20148 $(HOST_EXPORTS) \
20149 (cd $(HOST_SUBDIR)/textutils && \
20150 $(MAKE) $(FLAGS_TO_PASS) install)
20152 @endif textutils
20154 # Other targets (info, dvi, etc.)
20156 .PHONY: maybe-info-textutils info-textutils
20157 maybe-info-textutils:
20158 @if textutils
20159 maybe-info-textutils: info-textutils
20161 info-textutils: \
20162 configure-textutils
20163 @[ -f ./textutils/Makefile ] || exit 0; \
20164 r=`${PWD_COMMAND}`; export r; \
20165 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20166 $(SET_LIB_PATH) \
20167 $(HOST_EXPORTS) \
20168 for flag in $(EXTRA_HOST_FLAGS) ; do \
20169 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20170 done; \
20171 echo "Doing info in textutils" ; \
20172 (cd $(HOST_SUBDIR)/textutils && \
20173 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20174 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20175 "RANLIB=$${RANLIB}" \
20176 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20177 info) \
20178 || exit 1
20180 @endif textutils
20182 .PHONY: maybe-dvi-textutils dvi-textutils
20183 maybe-dvi-textutils:
20184 @if textutils
20185 maybe-dvi-textutils: dvi-textutils
20187 dvi-textutils: \
20188 configure-textutils
20189 @[ -f ./textutils/Makefile ] || exit 0; \
20190 r=`${PWD_COMMAND}`; export r; \
20191 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20192 $(SET_LIB_PATH) \
20193 $(HOST_EXPORTS) \
20194 for flag in $(EXTRA_HOST_FLAGS) ; do \
20195 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20196 done; \
20197 echo "Doing dvi in textutils" ; \
20198 (cd $(HOST_SUBDIR)/textutils && \
20199 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20200 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20201 "RANLIB=$${RANLIB}" \
20202 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20203 dvi) \
20204 || exit 1
20206 @endif textutils
20208 .PHONY: maybe-html-textutils html-textutils
20209 maybe-html-textutils:
20210 @if textutils
20211 maybe-html-textutils: html-textutils
20213 html-textutils: \
20214 configure-textutils
20215 @[ -f ./textutils/Makefile ] || exit 0; \
20216 r=`${PWD_COMMAND}`; export r; \
20217 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20218 $(SET_LIB_PATH) \
20219 $(HOST_EXPORTS) \
20220 for flag in $(EXTRA_HOST_FLAGS) ; do \
20221 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20222 done; \
20223 echo "Doing html in textutils" ; \
20224 (cd $(HOST_SUBDIR)/textutils && \
20225 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20226 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20227 "RANLIB=$${RANLIB}" \
20228 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20229 html) \
20230 || exit 1
20232 @endif textutils
20234 .PHONY: maybe-TAGS-textutils TAGS-textutils
20235 maybe-TAGS-textutils:
20236 @if textutils
20237 maybe-TAGS-textutils: TAGS-textutils
20239 TAGS-textutils: \
20240 configure-textutils
20241 @[ -f ./textutils/Makefile ] || exit 0; \
20242 r=`${PWD_COMMAND}`; export r; \
20243 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20244 $(SET_LIB_PATH) \
20245 $(HOST_EXPORTS) \
20246 for flag in $(EXTRA_HOST_FLAGS) ; do \
20247 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20248 done; \
20249 echo "Doing TAGS in textutils" ; \
20250 (cd $(HOST_SUBDIR)/textutils && \
20251 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20252 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20253 "RANLIB=$${RANLIB}" \
20254 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20255 TAGS) \
20256 || exit 1
20258 @endif textutils
20260 .PHONY: maybe-install-info-textutils install-info-textutils
20261 maybe-install-info-textutils:
20262 @if textutils
20263 maybe-install-info-textutils: install-info-textutils
20265 install-info-textutils: \
20266 configure-textutils \
20267 info-textutils
20268 @[ -f ./textutils/Makefile ] || exit 0; \
20269 r=`${PWD_COMMAND}`; export r; \
20270 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20271 $(SET_LIB_PATH) \
20272 $(HOST_EXPORTS) \
20273 for flag in $(EXTRA_HOST_FLAGS) ; do \
20274 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20275 done; \
20276 echo "Doing install-info in textutils" ; \
20277 (cd $(HOST_SUBDIR)/textutils && \
20278 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20279 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20280 "RANLIB=$${RANLIB}" \
20281 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20282 install-info) \
20283 || exit 1
20285 @endif textutils
20287 .PHONY: maybe-installcheck-textutils installcheck-textutils
20288 maybe-installcheck-textutils:
20289 @if textutils
20290 maybe-installcheck-textutils: installcheck-textutils
20292 installcheck-textutils: \
20293 configure-textutils
20294 @[ -f ./textutils/Makefile ] || exit 0; \
20295 r=`${PWD_COMMAND}`; export r; \
20296 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20297 $(SET_LIB_PATH) \
20298 $(HOST_EXPORTS) \
20299 for flag in $(EXTRA_HOST_FLAGS) ; do \
20300 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20301 done; \
20302 echo "Doing installcheck in textutils" ; \
20303 (cd $(HOST_SUBDIR)/textutils && \
20304 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20305 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20306 "RANLIB=$${RANLIB}" \
20307 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20308 installcheck) \
20309 || exit 1
20311 @endif textutils
20313 .PHONY: maybe-mostlyclean-textutils mostlyclean-textutils
20314 maybe-mostlyclean-textutils:
20315 @if textutils
20316 maybe-mostlyclean-textutils: mostlyclean-textutils
20318 mostlyclean-textutils:
20319 @[ -f ./textutils/Makefile ] || exit 0; \
20320 r=`${PWD_COMMAND}`; export r; \
20321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20322 $(SET_LIB_PATH) \
20323 $(HOST_EXPORTS) \
20324 for flag in $(EXTRA_HOST_FLAGS) ; do \
20325 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20326 done; \
20327 echo "Doing mostlyclean in textutils" ; \
20328 (cd $(HOST_SUBDIR)/textutils && \
20329 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20330 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20331 "RANLIB=$${RANLIB}" \
20332 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20333 mostlyclean) \
20334 || exit 1
20336 @endif textutils
20338 .PHONY: maybe-clean-textutils clean-textutils
20339 maybe-clean-textutils:
20340 @if textutils
20341 maybe-clean-textutils: clean-textutils
20343 clean-textutils:
20344 @[ -f ./textutils/Makefile ] || exit 0; \
20345 r=`${PWD_COMMAND}`; export r; \
20346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20347 $(SET_LIB_PATH) \
20348 $(HOST_EXPORTS) \
20349 for flag in $(EXTRA_HOST_FLAGS) ; do \
20350 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20351 done; \
20352 echo "Doing clean in textutils" ; \
20353 (cd $(HOST_SUBDIR)/textutils && \
20354 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20355 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20356 "RANLIB=$${RANLIB}" \
20357 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20358 clean) \
20359 || exit 1
20361 @endif textutils
20363 .PHONY: maybe-distclean-textutils distclean-textutils
20364 maybe-distclean-textutils:
20365 @if textutils
20366 maybe-distclean-textutils: distclean-textutils
20368 distclean-textutils:
20369 @[ -f ./textutils/Makefile ] || exit 0; \
20370 r=`${PWD_COMMAND}`; export r; \
20371 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20372 $(SET_LIB_PATH) \
20373 $(HOST_EXPORTS) \
20374 for flag in $(EXTRA_HOST_FLAGS) ; do \
20375 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20376 done; \
20377 echo "Doing distclean in textutils" ; \
20378 (cd $(HOST_SUBDIR)/textutils && \
20379 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20380 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20381 "RANLIB=$${RANLIB}" \
20382 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20383 distclean) \
20384 || exit 1
20386 @endif textutils
20388 .PHONY: maybe-maintainer-clean-textutils maintainer-clean-textutils
20389 maybe-maintainer-clean-textutils:
20390 @if textutils
20391 maybe-maintainer-clean-textutils: maintainer-clean-textutils
20393 maintainer-clean-textutils:
20394 @[ -f ./textutils/Makefile ] || exit 0; \
20395 r=`${PWD_COMMAND}`; export r; \
20396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20397 $(SET_LIB_PATH) \
20398 $(HOST_EXPORTS) \
20399 for flag in $(EXTRA_HOST_FLAGS) ; do \
20400 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20401 done; \
20402 echo "Doing maintainer-clean in textutils" ; \
20403 (cd $(HOST_SUBDIR)/textutils && \
20404 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20405 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20406 "RANLIB=$${RANLIB}" \
20407 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20408 maintainer-clean) \
20409 || exit 1
20411 @endif textutils
20414 .PHONY: configure-time maybe-configure-time
20415 maybe-configure-time:
20416 @if time
20417 maybe-configure-time: configure-time
20418 configure-time:
20419 @test ! -f $(HOST_SUBDIR)/time/Makefile || exit 0; \
20420 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/time ; \
20421 r=`${PWD_COMMAND}`; export r; \
20422 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20423 $(HOST_EXPORTS) \
20424 echo Configuring in time; \
20425 cd $(HOST_SUBDIR)/time || exit 1; \
20426 case $(srcdir) in \
20427 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20428 *) topdir=`echo $(HOST_SUBDIR)/time/ | \
20429 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20430 esac; \
20431 srcdiroption="--srcdir=$${topdir}/time"; \
20432 libsrcdir="$$s/time"; \
20433 $(SHELL) $${libsrcdir}/configure \
20434 $(HOST_CONFIGARGS) $${srcdiroption} \
20435 || exit 1
20436 @endif time
20438 .PHONY: all-time maybe-all-time
20439 maybe-all-time:
20440 @if time
20441 TARGET-time=all
20442 maybe-all-time: all-time
20443 all-time: configure-time
20444 @r=`${PWD_COMMAND}`; export r; \
20445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20446 $(SET_LIB_PATH) \
20447 $(HOST_EXPORTS) \
20448 (cd $(HOST_SUBDIR)/time && \
20449 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-time))
20450 @endif time
20452 .PHONY: check-time maybe-check-time
20453 maybe-check-time:
20454 @if time
20455 maybe-check-time: check-time
20457 check-time:
20458 @r=`${PWD_COMMAND}`; export r; \
20459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20460 $(SET_LIB_PATH) \
20461 $(HOST_EXPORTS) \
20462 (cd $(HOST_SUBDIR)/time && \
20463 $(MAKE) $(FLAGS_TO_PASS) check)
20465 @endif time
20467 .PHONY: install-time maybe-install-time
20468 maybe-install-time:
20469 @if time
20470 maybe-install-time: install-time
20472 install-time: installdirs
20473 @r=`${PWD_COMMAND}`; export r; \
20474 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20475 $(SET_LIB_PATH) \
20476 $(HOST_EXPORTS) \
20477 (cd $(HOST_SUBDIR)/time && \
20478 $(MAKE) $(FLAGS_TO_PASS) install)
20480 @endif time
20482 # Other targets (info, dvi, etc.)
20484 .PHONY: maybe-info-time info-time
20485 maybe-info-time:
20486 @if time
20487 maybe-info-time: info-time
20489 info-time: \
20490 configure-time
20491 @[ -f ./time/Makefile ] || exit 0; \
20492 r=`${PWD_COMMAND}`; export r; \
20493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20494 $(SET_LIB_PATH) \
20495 $(HOST_EXPORTS) \
20496 for flag in $(EXTRA_HOST_FLAGS) ; do \
20497 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20498 done; \
20499 echo "Doing info in time" ; \
20500 (cd $(HOST_SUBDIR)/time && \
20501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20503 "RANLIB=$${RANLIB}" \
20504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20505 info) \
20506 || exit 1
20508 @endif time
20510 .PHONY: maybe-dvi-time dvi-time
20511 maybe-dvi-time:
20512 @if time
20513 maybe-dvi-time: dvi-time
20515 dvi-time: \
20516 configure-time
20517 @[ -f ./time/Makefile ] || exit 0; \
20518 r=`${PWD_COMMAND}`; export r; \
20519 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20520 $(SET_LIB_PATH) \
20521 $(HOST_EXPORTS) \
20522 for flag in $(EXTRA_HOST_FLAGS) ; do \
20523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20524 done; \
20525 echo "Doing dvi in time" ; \
20526 (cd $(HOST_SUBDIR)/time && \
20527 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20528 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20529 "RANLIB=$${RANLIB}" \
20530 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20531 dvi) \
20532 || exit 1
20534 @endif time
20536 .PHONY: maybe-html-time html-time
20537 maybe-html-time:
20538 @if time
20539 maybe-html-time: html-time
20541 html-time: \
20542 configure-time
20543 @[ -f ./time/Makefile ] || exit 0; \
20544 r=`${PWD_COMMAND}`; export r; \
20545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20546 $(SET_LIB_PATH) \
20547 $(HOST_EXPORTS) \
20548 for flag in $(EXTRA_HOST_FLAGS) ; do \
20549 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20550 done; \
20551 echo "Doing html in time" ; \
20552 (cd $(HOST_SUBDIR)/time && \
20553 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20554 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20555 "RANLIB=$${RANLIB}" \
20556 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20557 html) \
20558 || exit 1
20560 @endif time
20562 .PHONY: maybe-TAGS-time TAGS-time
20563 maybe-TAGS-time:
20564 @if time
20565 maybe-TAGS-time: TAGS-time
20567 TAGS-time: \
20568 configure-time
20569 @[ -f ./time/Makefile ] || exit 0; \
20570 r=`${PWD_COMMAND}`; export r; \
20571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20572 $(SET_LIB_PATH) \
20573 $(HOST_EXPORTS) \
20574 for flag in $(EXTRA_HOST_FLAGS) ; do \
20575 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20576 done; \
20577 echo "Doing TAGS in time" ; \
20578 (cd $(HOST_SUBDIR)/time && \
20579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20581 "RANLIB=$${RANLIB}" \
20582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20583 TAGS) \
20584 || exit 1
20586 @endif time
20588 .PHONY: maybe-install-info-time install-info-time
20589 maybe-install-info-time:
20590 @if time
20591 maybe-install-info-time: install-info-time
20593 install-info-time: \
20594 configure-time \
20595 info-time
20596 @[ -f ./time/Makefile ] || exit 0; \
20597 r=`${PWD_COMMAND}`; export r; \
20598 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20599 $(SET_LIB_PATH) \
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 install-info in time" ; \
20605 (cd $(HOST_SUBDIR)/time && \
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 install-info) \
20611 || exit 1
20613 @endif time
20615 .PHONY: maybe-installcheck-time installcheck-time
20616 maybe-installcheck-time:
20617 @if time
20618 maybe-installcheck-time: installcheck-time
20620 installcheck-time: \
20621 configure-time
20622 @[ -f ./time/Makefile ] || exit 0; \
20623 r=`${PWD_COMMAND}`; export r; \
20624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20625 $(SET_LIB_PATH) \
20626 $(HOST_EXPORTS) \
20627 for flag in $(EXTRA_HOST_FLAGS) ; do \
20628 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20629 done; \
20630 echo "Doing installcheck in time" ; \
20631 (cd $(HOST_SUBDIR)/time && \
20632 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20633 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20634 "RANLIB=$${RANLIB}" \
20635 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20636 installcheck) \
20637 || exit 1
20639 @endif time
20641 .PHONY: maybe-mostlyclean-time mostlyclean-time
20642 maybe-mostlyclean-time:
20643 @if time
20644 maybe-mostlyclean-time: mostlyclean-time
20646 mostlyclean-time:
20647 @[ -f ./time/Makefile ] || exit 0; \
20648 r=`${PWD_COMMAND}`; export r; \
20649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20650 $(SET_LIB_PATH) \
20651 $(HOST_EXPORTS) \
20652 for flag in $(EXTRA_HOST_FLAGS) ; do \
20653 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20654 done; \
20655 echo "Doing mostlyclean in time" ; \
20656 (cd $(HOST_SUBDIR)/time && \
20657 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20658 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20659 "RANLIB=$${RANLIB}" \
20660 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20661 mostlyclean) \
20662 || exit 1
20664 @endif time
20666 .PHONY: maybe-clean-time clean-time
20667 maybe-clean-time:
20668 @if time
20669 maybe-clean-time: clean-time
20671 clean-time:
20672 @[ -f ./time/Makefile ] || exit 0; \
20673 r=`${PWD_COMMAND}`; export r; \
20674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20675 $(SET_LIB_PATH) \
20676 $(HOST_EXPORTS) \
20677 for flag in $(EXTRA_HOST_FLAGS) ; do \
20678 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20679 done; \
20680 echo "Doing clean in time" ; \
20681 (cd $(HOST_SUBDIR)/time && \
20682 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20683 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20684 "RANLIB=$${RANLIB}" \
20685 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20686 clean) \
20687 || exit 1
20689 @endif time
20691 .PHONY: maybe-distclean-time distclean-time
20692 maybe-distclean-time:
20693 @if time
20694 maybe-distclean-time: distclean-time
20696 distclean-time:
20697 @[ -f ./time/Makefile ] || exit 0; \
20698 r=`${PWD_COMMAND}`; export r; \
20699 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20700 $(SET_LIB_PATH) \
20701 $(HOST_EXPORTS) \
20702 for flag in $(EXTRA_HOST_FLAGS) ; do \
20703 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20704 done; \
20705 echo "Doing distclean in time" ; \
20706 (cd $(HOST_SUBDIR)/time && \
20707 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20708 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20709 "RANLIB=$${RANLIB}" \
20710 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20711 distclean) \
20712 || exit 1
20714 @endif time
20716 .PHONY: maybe-maintainer-clean-time maintainer-clean-time
20717 maybe-maintainer-clean-time:
20718 @if time
20719 maybe-maintainer-clean-time: maintainer-clean-time
20721 maintainer-clean-time:
20722 @[ -f ./time/Makefile ] || exit 0; \
20723 r=`${PWD_COMMAND}`; export r; \
20724 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20725 $(SET_LIB_PATH) \
20726 $(HOST_EXPORTS) \
20727 for flag in $(EXTRA_HOST_FLAGS) ; do \
20728 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20729 done; \
20730 echo "Doing maintainer-clean in time" ; \
20731 (cd $(HOST_SUBDIR)/time && \
20732 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20733 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20734 "RANLIB=$${RANLIB}" \
20735 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20736 maintainer-clean) \
20737 || exit 1
20739 @endif time
20742 .PHONY: configure-uudecode maybe-configure-uudecode
20743 maybe-configure-uudecode:
20744 @if uudecode
20745 maybe-configure-uudecode: configure-uudecode
20746 configure-uudecode:
20747 @test ! -f $(HOST_SUBDIR)/uudecode/Makefile || exit 0; \
20748 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/uudecode ; \
20749 r=`${PWD_COMMAND}`; export r; \
20750 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20751 $(HOST_EXPORTS) \
20752 echo Configuring in uudecode; \
20753 cd $(HOST_SUBDIR)/uudecode || exit 1; \
20754 case $(srcdir) in \
20755 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
20756 *) topdir=`echo $(HOST_SUBDIR)/uudecode/ | \
20757 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
20758 esac; \
20759 srcdiroption="--srcdir=$${topdir}/uudecode"; \
20760 libsrcdir="$$s/uudecode"; \
20761 $(SHELL) $${libsrcdir}/configure \
20762 $(HOST_CONFIGARGS) $${srcdiroption} \
20763 || exit 1
20764 @endif uudecode
20766 .PHONY: all-uudecode maybe-all-uudecode
20767 maybe-all-uudecode:
20768 @if uudecode
20769 TARGET-uudecode=all
20770 maybe-all-uudecode: all-uudecode
20771 all-uudecode: configure-uudecode
20772 @r=`${PWD_COMMAND}`; export r; \
20773 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20774 $(SET_LIB_PATH) \
20775 $(HOST_EXPORTS) \
20776 (cd $(HOST_SUBDIR)/uudecode && \
20777 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-uudecode))
20778 @endif uudecode
20780 .PHONY: check-uudecode maybe-check-uudecode
20781 maybe-check-uudecode:
20782 @if uudecode
20783 maybe-check-uudecode: check-uudecode
20785 check-uudecode:
20786 @r=`${PWD_COMMAND}`; export r; \
20787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20788 $(SET_LIB_PATH) \
20789 $(HOST_EXPORTS) \
20790 (cd $(HOST_SUBDIR)/uudecode && \
20791 $(MAKE) $(FLAGS_TO_PASS) check)
20793 @endif uudecode
20795 .PHONY: install-uudecode maybe-install-uudecode
20796 maybe-install-uudecode:
20797 @if uudecode
20798 maybe-install-uudecode: install-uudecode
20800 install-uudecode: installdirs
20801 @r=`${PWD_COMMAND}`; export r; \
20802 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20803 $(SET_LIB_PATH) \
20804 $(HOST_EXPORTS) \
20805 (cd $(HOST_SUBDIR)/uudecode && \
20806 $(MAKE) $(FLAGS_TO_PASS) install)
20808 @endif uudecode
20810 # Other targets (info, dvi, etc.)
20812 .PHONY: maybe-info-uudecode info-uudecode
20813 maybe-info-uudecode:
20814 @if uudecode
20815 maybe-info-uudecode: info-uudecode
20817 info-uudecode: \
20818 configure-uudecode
20819 @[ -f ./uudecode/Makefile ] || exit 0; \
20820 r=`${PWD_COMMAND}`; export r; \
20821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20822 $(SET_LIB_PATH) \
20823 $(HOST_EXPORTS) \
20824 for flag in $(EXTRA_HOST_FLAGS) ; do \
20825 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20826 done; \
20827 echo "Doing info in uudecode" ; \
20828 (cd $(HOST_SUBDIR)/uudecode && \
20829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20831 "RANLIB=$${RANLIB}" \
20832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20833 info) \
20834 || exit 1
20836 @endif uudecode
20838 .PHONY: maybe-dvi-uudecode dvi-uudecode
20839 maybe-dvi-uudecode:
20840 @if uudecode
20841 maybe-dvi-uudecode: dvi-uudecode
20843 dvi-uudecode: \
20844 configure-uudecode
20845 @[ -f ./uudecode/Makefile ] || exit 0; \
20846 r=`${PWD_COMMAND}`; export r; \
20847 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20848 $(SET_LIB_PATH) \
20849 $(HOST_EXPORTS) \
20850 for flag in $(EXTRA_HOST_FLAGS) ; do \
20851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20852 done; \
20853 echo "Doing dvi in uudecode" ; \
20854 (cd $(HOST_SUBDIR)/uudecode && \
20855 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20856 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20857 "RANLIB=$${RANLIB}" \
20858 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20859 dvi) \
20860 || exit 1
20862 @endif uudecode
20864 .PHONY: maybe-html-uudecode html-uudecode
20865 maybe-html-uudecode:
20866 @if uudecode
20867 maybe-html-uudecode: html-uudecode
20869 html-uudecode: \
20870 configure-uudecode
20871 @[ -f ./uudecode/Makefile ] || exit 0; \
20872 r=`${PWD_COMMAND}`; export r; \
20873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20874 $(SET_LIB_PATH) \
20875 $(HOST_EXPORTS) \
20876 for flag in $(EXTRA_HOST_FLAGS) ; do \
20877 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20878 done; \
20879 echo "Doing html in uudecode" ; \
20880 (cd $(HOST_SUBDIR)/uudecode && \
20881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20883 "RANLIB=$${RANLIB}" \
20884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20885 html) \
20886 || exit 1
20888 @endif uudecode
20890 .PHONY: maybe-TAGS-uudecode TAGS-uudecode
20891 maybe-TAGS-uudecode:
20892 @if uudecode
20893 maybe-TAGS-uudecode: TAGS-uudecode
20895 TAGS-uudecode: \
20896 configure-uudecode
20897 @[ -f ./uudecode/Makefile ] || exit 0; \
20898 r=`${PWD_COMMAND}`; export r; \
20899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20900 $(SET_LIB_PATH) \
20901 $(HOST_EXPORTS) \
20902 for flag in $(EXTRA_HOST_FLAGS) ; do \
20903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20904 done; \
20905 echo "Doing TAGS in uudecode" ; \
20906 (cd $(HOST_SUBDIR)/uudecode && \
20907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20909 "RANLIB=$${RANLIB}" \
20910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20911 TAGS) \
20912 || exit 1
20914 @endif uudecode
20916 .PHONY: maybe-install-info-uudecode install-info-uudecode
20917 maybe-install-info-uudecode:
20918 @if uudecode
20919 maybe-install-info-uudecode: install-info-uudecode
20921 install-info-uudecode: \
20922 configure-uudecode \
20923 info-uudecode
20924 @[ -f ./uudecode/Makefile ] || exit 0; \
20925 r=`${PWD_COMMAND}`; export r; \
20926 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20927 $(SET_LIB_PATH) \
20928 $(HOST_EXPORTS) \
20929 for flag in $(EXTRA_HOST_FLAGS) ; do \
20930 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20931 done; \
20932 echo "Doing install-info in uudecode" ; \
20933 (cd $(HOST_SUBDIR)/uudecode && \
20934 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20935 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20936 "RANLIB=$${RANLIB}" \
20937 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20938 install-info) \
20939 || exit 1
20941 @endif uudecode
20943 .PHONY: maybe-installcheck-uudecode installcheck-uudecode
20944 maybe-installcheck-uudecode:
20945 @if uudecode
20946 maybe-installcheck-uudecode: installcheck-uudecode
20948 installcheck-uudecode: \
20949 configure-uudecode
20950 @[ -f ./uudecode/Makefile ] || exit 0; \
20951 r=`${PWD_COMMAND}`; export r; \
20952 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20953 $(SET_LIB_PATH) \
20954 $(HOST_EXPORTS) \
20955 for flag in $(EXTRA_HOST_FLAGS) ; do \
20956 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20957 done; \
20958 echo "Doing installcheck in uudecode" ; \
20959 (cd $(HOST_SUBDIR)/uudecode && \
20960 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20961 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20962 "RANLIB=$${RANLIB}" \
20963 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20964 installcheck) \
20965 || exit 1
20967 @endif uudecode
20969 .PHONY: maybe-mostlyclean-uudecode mostlyclean-uudecode
20970 maybe-mostlyclean-uudecode:
20971 @if uudecode
20972 maybe-mostlyclean-uudecode: mostlyclean-uudecode
20974 mostlyclean-uudecode:
20975 @[ -f ./uudecode/Makefile ] || exit 0; \
20976 r=`${PWD_COMMAND}`; export r; \
20977 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
20978 $(SET_LIB_PATH) \
20979 $(HOST_EXPORTS) \
20980 for flag in $(EXTRA_HOST_FLAGS) ; do \
20981 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
20982 done; \
20983 echo "Doing mostlyclean in uudecode" ; \
20984 (cd $(HOST_SUBDIR)/uudecode && \
20985 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
20986 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
20987 "RANLIB=$${RANLIB}" \
20988 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
20989 mostlyclean) \
20990 || exit 1
20992 @endif uudecode
20994 .PHONY: maybe-clean-uudecode clean-uudecode
20995 maybe-clean-uudecode:
20996 @if uudecode
20997 maybe-clean-uudecode: clean-uudecode
20999 clean-uudecode:
21000 @[ -f ./uudecode/Makefile ] || exit 0; \
21001 r=`${PWD_COMMAND}`; export r; \
21002 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21003 $(SET_LIB_PATH) \
21004 $(HOST_EXPORTS) \
21005 for flag in $(EXTRA_HOST_FLAGS) ; do \
21006 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21007 done; \
21008 echo "Doing clean in uudecode" ; \
21009 (cd $(HOST_SUBDIR)/uudecode && \
21010 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21011 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21012 "RANLIB=$${RANLIB}" \
21013 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21014 clean) \
21015 || exit 1
21017 @endif uudecode
21019 .PHONY: maybe-distclean-uudecode distclean-uudecode
21020 maybe-distclean-uudecode:
21021 @if uudecode
21022 maybe-distclean-uudecode: distclean-uudecode
21024 distclean-uudecode:
21025 @[ -f ./uudecode/Makefile ] || exit 0; \
21026 r=`${PWD_COMMAND}`; export r; \
21027 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21028 $(SET_LIB_PATH) \
21029 $(HOST_EXPORTS) \
21030 for flag in $(EXTRA_HOST_FLAGS) ; do \
21031 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21032 done; \
21033 echo "Doing distclean in uudecode" ; \
21034 (cd $(HOST_SUBDIR)/uudecode && \
21035 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21036 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21037 "RANLIB=$${RANLIB}" \
21038 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21039 distclean) \
21040 || exit 1
21042 @endif uudecode
21044 .PHONY: maybe-maintainer-clean-uudecode maintainer-clean-uudecode
21045 maybe-maintainer-clean-uudecode:
21046 @if uudecode
21047 maybe-maintainer-clean-uudecode: maintainer-clean-uudecode
21049 maintainer-clean-uudecode:
21050 @[ -f ./uudecode/Makefile ] || exit 0; \
21051 r=`${PWD_COMMAND}`; export r; \
21052 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21053 $(SET_LIB_PATH) \
21054 $(HOST_EXPORTS) \
21055 for flag in $(EXTRA_HOST_FLAGS) ; do \
21056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21057 done; \
21058 echo "Doing maintainer-clean in uudecode" ; \
21059 (cd $(HOST_SUBDIR)/uudecode && \
21060 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21061 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21062 "RANLIB=$${RANLIB}" \
21063 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21064 maintainer-clean) \
21065 || exit 1
21067 @endif uudecode
21070 .PHONY: configure-wdiff maybe-configure-wdiff
21071 maybe-configure-wdiff:
21072 @if wdiff
21073 maybe-configure-wdiff: configure-wdiff
21074 configure-wdiff:
21075 @test ! -f $(HOST_SUBDIR)/wdiff/Makefile || exit 0; \
21076 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/wdiff ; \
21077 r=`${PWD_COMMAND}`; export r; \
21078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21079 $(HOST_EXPORTS) \
21080 echo Configuring in wdiff; \
21081 cd $(HOST_SUBDIR)/wdiff || exit 1; \
21082 case $(srcdir) in \
21083 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21084 *) topdir=`echo $(HOST_SUBDIR)/wdiff/ | \
21085 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21086 esac; \
21087 srcdiroption="--srcdir=$${topdir}/wdiff"; \
21088 libsrcdir="$$s/wdiff"; \
21089 $(SHELL) $${libsrcdir}/configure \
21090 $(HOST_CONFIGARGS) $${srcdiroption} \
21091 || exit 1
21092 @endif wdiff
21094 .PHONY: all-wdiff maybe-all-wdiff
21095 maybe-all-wdiff:
21096 @if wdiff
21097 TARGET-wdiff=all
21098 maybe-all-wdiff: all-wdiff
21099 all-wdiff: configure-wdiff
21100 @r=`${PWD_COMMAND}`; export r; \
21101 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21102 $(SET_LIB_PATH) \
21103 $(HOST_EXPORTS) \
21104 (cd $(HOST_SUBDIR)/wdiff && \
21105 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-wdiff))
21106 @endif wdiff
21108 .PHONY: check-wdiff maybe-check-wdiff
21109 maybe-check-wdiff:
21110 @if wdiff
21111 maybe-check-wdiff: check-wdiff
21113 check-wdiff:
21114 @r=`${PWD_COMMAND}`; export r; \
21115 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21116 $(SET_LIB_PATH) \
21117 $(HOST_EXPORTS) \
21118 (cd $(HOST_SUBDIR)/wdiff && \
21119 $(MAKE) $(FLAGS_TO_PASS) check)
21121 @endif wdiff
21123 .PHONY: install-wdiff maybe-install-wdiff
21124 maybe-install-wdiff:
21125 @if wdiff
21126 maybe-install-wdiff: install-wdiff
21128 install-wdiff: installdirs
21129 @r=`${PWD_COMMAND}`; export r; \
21130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21131 $(SET_LIB_PATH) \
21132 $(HOST_EXPORTS) \
21133 (cd $(HOST_SUBDIR)/wdiff && \
21134 $(MAKE) $(FLAGS_TO_PASS) install)
21136 @endif wdiff
21138 # Other targets (info, dvi, etc.)
21140 .PHONY: maybe-info-wdiff info-wdiff
21141 maybe-info-wdiff:
21142 @if wdiff
21143 maybe-info-wdiff: info-wdiff
21145 info-wdiff: \
21146 configure-wdiff
21147 @[ -f ./wdiff/Makefile ] || exit 0; \
21148 r=`${PWD_COMMAND}`; export r; \
21149 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21150 $(SET_LIB_PATH) \
21151 $(HOST_EXPORTS) \
21152 for flag in $(EXTRA_HOST_FLAGS) ; do \
21153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21154 done; \
21155 echo "Doing info in wdiff" ; \
21156 (cd $(HOST_SUBDIR)/wdiff && \
21157 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21158 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21159 "RANLIB=$${RANLIB}" \
21160 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21161 info) \
21162 || exit 1
21164 @endif wdiff
21166 .PHONY: maybe-dvi-wdiff dvi-wdiff
21167 maybe-dvi-wdiff:
21168 @if wdiff
21169 maybe-dvi-wdiff: dvi-wdiff
21171 dvi-wdiff: \
21172 configure-wdiff
21173 @[ -f ./wdiff/Makefile ] || exit 0; \
21174 r=`${PWD_COMMAND}`; export r; \
21175 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21176 $(SET_LIB_PATH) \
21177 $(HOST_EXPORTS) \
21178 for flag in $(EXTRA_HOST_FLAGS) ; do \
21179 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21180 done; \
21181 echo "Doing dvi in wdiff" ; \
21182 (cd $(HOST_SUBDIR)/wdiff && \
21183 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21184 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21185 "RANLIB=$${RANLIB}" \
21186 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21187 dvi) \
21188 || exit 1
21190 @endif wdiff
21192 .PHONY: maybe-html-wdiff html-wdiff
21193 maybe-html-wdiff:
21194 @if wdiff
21195 maybe-html-wdiff: html-wdiff
21197 html-wdiff: \
21198 configure-wdiff
21199 @[ -f ./wdiff/Makefile ] || exit 0; \
21200 r=`${PWD_COMMAND}`; export r; \
21201 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21202 $(SET_LIB_PATH) \
21203 $(HOST_EXPORTS) \
21204 for flag in $(EXTRA_HOST_FLAGS) ; do \
21205 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21206 done; \
21207 echo "Doing html in wdiff" ; \
21208 (cd $(HOST_SUBDIR)/wdiff && \
21209 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21210 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21211 "RANLIB=$${RANLIB}" \
21212 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21213 html) \
21214 || exit 1
21216 @endif wdiff
21218 .PHONY: maybe-TAGS-wdiff TAGS-wdiff
21219 maybe-TAGS-wdiff:
21220 @if wdiff
21221 maybe-TAGS-wdiff: TAGS-wdiff
21223 TAGS-wdiff: \
21224 configure-wdiff
21225 @[ -f ./wdiff/Makefile ] || exit 0; \
21226 r=`${PWD_COMMAND}`; export r; \
21227 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21228 $(SET_LIB_PATH) \
21229 $(HOST_EXPORTS) \
21230 for flag in $(EXTRA_HOST_FLAGS) ; do \
21231 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21232 done; \
21233 echo "Doing TAGS in wdiff" ; \
21234 (cd $(HOST_SUBDIR)/wdiff && \
21235 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21236 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21237 "RANLIB=$${RANLIB}" \
21238 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21239 TAGS) \
21240 || exit 1
21242 @endif wdiff
21244 .PHONY: maybe-install-info-wdiff install-info-wdiff
21245 maybe-install-info-wdiff:
21246 @if wdiff
21247 maybe-install-info-wdiff: install-info-wdiff
21249 install-info-wdiff: \
21250 configure-wdiff \
21251 info-wdiff
21252 @[ -f ./wdiff/Makefile ] || exit 0; \
21253 r=`${PWD_COMMAND}`; export r; \
21254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21255 $(SET_LIB_PATH) \
21256 $(HOST_EXPORTS) \
21257 for flag in $(EXTRA_HOST_FLAGS) ; do \
21258 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21259 done; \
21260 echo "Doing install-info in wdiff" ; \
21261 (cd $(HOST_SUBDIR)/wdiff && \
21262 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21263 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21264 "RANLIB=$${RANLIB}" \
21265 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21266 install-info) \
21267 || exit 1
21269 @endif wdiff
21271 .PHONY: maybe-installcheck-wdiff installcheck-wdiff
21272 maybe-installcheck-wdiff:
21273 @if wdiff
21274 maybe-installcheck-wdiff: installcheck-wdiff
21276 installcheck-wdiff: \
21277 configure-wdiff
21278 @[ -f ./wdiff/Makefile ] || exit 0; \
21279 r=`${PWD_COMMAND}`; export r; \
21280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21281 $(SET_LIB_PATH) \
21282 $(HOST_EXPORTS) \
21283 for flag in $(EXTRA_HOST_FLAGS) ; do \
21284 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21285 done; \
21286 echo "Doing installcheck in wdiff" ; \
21287 (cd $(HOST_SUBDIR)/wdiff && \
21288 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21289 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21290 "RANLIB=$${RANLIB}" \
21291 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21292 installcheck) \
21293 || exit 1
21295 @endif wdiff
21297 .PHONY: maybe-mostlyclean-wdiff mostlyclean-wdiff
21298 maybe-mostlyclean-wdiff:
21299 @if wdiff
21300 maybe-mostlyclean-wdiff: mostlyclean-wdiff
21302 mostlyclean-wdiff:
21303 @[ -f ./wdiff/Makefile ] || exit 0; \
21304 r=`${PWD_COMMAND}`; export r; \
21305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21306 $(SET_LIB_PATH) \
21307 $(HOST_EXPORTS) \
21308 for flag in $(EXTRA_HOST_FLAGS) ; do \
21309 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21310 done; \
21311 echo "Doing mostlyclean in wdiff" ; \
21312 (cd $(HOST_SUBDIR)/wdiff && \
21313 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21314 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21315 "RANLIB=$${RANLIB}" \
21316 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21317 mostlyclean) \
21318 || exit 1
21320 @endif wdiff
21322 .PHONY: maybe-clean-wdiff clean-wdiff
21323 maybe-clean-wdiff:
21324 @if wdiff
21325 maybe-clean-wdiff: clean-wdiff
21327 clean-wdiff:
21328 @[ -f ./wdiff/Makefile ] || exit 0; \
21329 r=`${PWD_COMMAND}`; export r; \
21330 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21331 $(SET_LIB_PATH) \
21332 $(HOST_EXPORTS) \
21333 for flag in $(EXTRA_HOST_FLAGS) ; do \
21334 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21335 done; \
21336 echo "Doing clean in wdiff" ; \
21337 (cd $(HOST_SUBDIR)/wdiff && \
21338 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21339 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21340 "RANLIB=$${RANLIB}" \
21341 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21342 clean) \
21343 || exit 1
21345 @endif wdiff
21347 .PHONY: maybe-distclean-wdiff distclean-wdiff
21348 maybe-distclean-wdiff:
21349 @if wdiff
21350 maybe-distclean-wdiff: distclean-wdiff
21352 distclean-wdiff:
21353 @[ -f ./wdiff/Makefile ] || exit 0; \
21354 r=`${PWD_COMMAND}`; export r; \
21355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21356 $(SET_LIB_PATH) \
21357 $(HOST_EXPORTS) \
21358 for flag in $(EXTRA_HOST_FLAGS) ; do \
21359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21360 done; \
21361 echo "Doing distclean in wdiff" ; \
21362 (cd $(HOST_SUBDIR)/wdiff && \
21363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21365 "RANLIB=$${RANLIB}" \
21366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21367 distclean) \
21368 || exit 1
21370 @endif wdiff
21372 .PHONY: maybe-maintainer-clean-wdiff maintainer-clean-wdiff
21373 maybe-maintainer-clean-wdiff:
21374 @if wdiff
21375 maybe-maintainer-clean-wdiff: maintainer-clean-wdiff
21377 maintainer-clean-wdiff:
21378 @[ -f ./wdiff/Makefile ] || exit 0; \
21379 r=`${PWD_COMMAND}`; export r; \
21380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21381 $(SET_LIB_PATH) \
21382 $(HOST_EXPORTS) \
21383 for flag in $(EXTRA_HOST_FLAGS) ; do \
21384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21385 done; \
21386 echo "Doing maintainer-clean in wdiff" ; \
21387 (cd $(HOST_SUBDIR)/wdiff && \
21388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21390 "RANLIB=$${RANLIB}" \
21391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21392 maintainer-clean) \
21393 || exit 1
21395 @endif wdiff
21398 .PHONY: configure-zip maybe-configure-zip
21399 maybe-configure-zip:
21400 @if zip
21401 maybe-configure-zip: configure-zip
21402 configure-zip:
21403 @test ! -f $(HOST_SUBDIR)/zip/Makefile || exit 0; \
21404 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zip ; \
21405 r=`${PWD_COMMAND}`; export r; \
21406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21407 $(HOST_EXPORTS) \
21408 echo Configuring in zip; \
21409 cd $(HOST_SUBDIR)/zip || exit 1; \
21410 case $(srcdir) in \
21411 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21412 *) topdir=`echo $(HOST_SUBDIR)/zip/ | \
21413 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21414 esac; \
21415 srcdiroption="--srcdir=$${topdir}/zip"; \
21416 libsrcdir="$$s/zip"; \
21417 $(SHELL) $${libsrcdir}/configure \
21418 $(HOST_CONFIGARGS) $${srcdiroption} \
21419 || exit 1
21420 @endif zip
21422 .PHONY: all-zip maybe-all-zip
21423 maybe-all-zip:
21424 @if zip
21425 TARGET-zip=all
21426 maybe-all-zip: all-zip
21427 all-zip: configure-zip
21428 @r=`${PWD_COMMAND}`; export r; \
21429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21430 $(SET_LIB_PATH) \
21431 $(HOST_EXPORTS) \
21432 (cd $(HOST_SUBDIR)/zip && \
21433 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zip))
21434 @endif zip
21436 .PHONY: check-zip maybe-check-zip
21437 maybe-check-zip:
21438 @if zip
21439 maybe-check-zip: check-zip
21441 # This module is only tested in a native toolchain.
21442 check-zip:
21443 @if [ '$(host)' = '$(target)' ] ; then \
21444 r=`${PWD_COMMAND}`; export r; \
21445 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21446 $(SET_LIB_PATH) \
21447 $(HOST_EXPORTS) \
21448 (cd $(HOST_SUBDIR)/zip && \
21449 $(MAKE) $(FLAGS_TO_PASS) check)
21452 @endif zip
21454 .PHONY: install-zip maybe-install-zip
21455 maybe-install-zip:
21456 @if zip
21457 maybe-install-zip: install-zip
21459 install-zip: installdirs
21460 @r=`${PWD_COMMAND}`; export r; \
21461 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21462 $(SET_LIB_PATH) \
21463 $(HOST_EXPORTS) \
21464 (cd $(HOST_SUBDIR)/zip && \
21465 $(MAKE) $(FLAGS_TO_PASS) install)
21467 @endif zip
21469 # Other targets (info, dvi, etc.)
21471 .PHONY: maybe-info-zip info-zip
21472 maybe-info-zip:
21473 @if zip
21474 maybe-info-zip: info-zip
21476 info-zip: \
21477 configure-zip
21478 @[ -f ./zip/Makefile ] || exit 0; \
21479 r=`${PWD_COMMAND}`; export r; \
21480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21481 $(SET_LIB_PATH) \
21482 $(HOST_EXPORTS) \
21483 for flag in $(EXTRA_HOST_FLAGS) ; do \
21484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21485 done; \
21486 echo "Doing info in zip" ; \
21487 (cd $(HOST_SUBDIR)/zip && \
21488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21490 "RANLIB=$${RANLIB}" \
21491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21492 info) \
21493 || exit 1
21495 @endif zip
21497 .PHONY: maybe-dvi-zip dvi-zip
21498 maybe-dvi-zip:
21499 @if zip
21500 maybe-dvi-zip: dvi-zip
21502 dvi-zip: \
21503 configure-zip
21504 @[ -f ./zip/Makefile ] || exit 0; \
21505 r=`${PWD_COMMAND}`; export r; \
21506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21507 $(SET_LIB_PATH) \
21508 $(HOST_EXPORTS) \
21509 for flag in $(EXTRA_HOST_FLAGS) ; do \
21510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21511 done; \
21512 echo "Doing dvi in zip" ; \
21513 (cd $(HOST_SUBDIR)/zip && \
21514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21516 "RANLIB=$${RANLIB}" \
21517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21518 dvi) \
21519 || exit 1
21521 @endif zip
21523 .PHONY: maybe-html-zip html-zip
21524 maybe-html-zip:
21525 @if zip
21526 maybe-html-zip: html-zip
21528 html-zip: \
21529 configure-zip
21530 @[ -f ./zip/Makefile ] || exit 0; \
21531 r=`${PWD_COMMAND}`; export r; \
21532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21533 $(SET_LIB_PATH) \
21534 $(HOST_EXPORTS) \
21535 for flag in $(EXTRA_HOST_FLAGS) ; do \
21536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21537 done; \
21538 echo "Doing html in zip" ; \
21539 (cd $(HOST_SUBDIR)/zip && \
21540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21542 "RANLIB=$${RANLIB}" \
21543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21544 html) \
21545 || exit 1
21547 @endif zip
21549 .PHONY: maybe-TAGS-zip TAGS-zip
21550 maybe-TAGS-zip:
21551 @if zip
21552 maybe-TAGS-zip: TAGS-zip
21554 TAGS-zip: \
21555 configure-zip
21556 @[ -f ./zip/Makefile ] || exit 0; \
21557 r=`${PWD_COMMAND}`; export r; \
21558 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21559 $(SET_LIB_PATH) \
21560 $(HOST_EXPORTS) \
21561 for flag in $(EXTRA_HOST_FLAGS) ; do \
21562 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21563 done; \
21564 echo "Doing TAGS in zip" ; \
21565 (cd $(HOST_SUBDIR)/zip && \
21566 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21567 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21568 "RANLIB=$${RANLIB}" \
21569 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21570 TAGS) \
21571 || exit 1
21573 @endif zip
21575 .PHONY: maybe-install-info-zip install-info-zip
21576 maybe-install-info-zip:
21577 @if zip
21578 maybe-install-info-zip: install-info-zip
21580 install-info-zip: \
21581 configure-zip \
21582 info-zip
21583 @[ -f ./zip/Makefile ] || exit 0; \
21584 r=`${PWD_COMMAND}`; export r; \
21585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21586 $(SET_LIB_PATH) \
21587 $(HOST_EXPORTS) \
21588 for flag in $(EXTRA_HOST_FLAGS) ; do \
21589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21590 done; \
21591 echo "Doing install-info in zip" ; \
21592 (cd $(HOST_SUBDIR)/zip && \
21593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21595 "RANLIB=$${RANLIB}" \
21596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21597 install-info) \
21598 || exit 1
21600 @endif zip
21602 .PHONY: maybe-installcheck-zip installcheck-zip
21603 maybe-installcheck-zip:
21604 @if zip
21605 maybe-installcheck-zip: installcheck-zip
21607 installcheck-zip: \
21608 configure-zip
21609 @[ -f ./zip/Makefile ] || exit 0; \
21610 r=`${PWD_COMMAND}`; export r; \
21611 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21612 $(SET_LIB_PATH) \
21613 $(HOST_EXPORTS) \
21614 for flag in $(EXTRA_HOST_FLAGS) ; do \
21615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21616 done; \
21617 echo "Doing installcheck in zip" ; \
21618 (cd $(HOST_SUBDIR)/zip && \
21619 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21620 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21621 "RANLIB=$${RANLIB}" \
21622 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21623 installcheck) \
21624 || exit 1
21626 @endif zip
21628 .PHONY: maybe-mostlyclean-zip mostlyclean-zip
21629 maybe-mostlyclean-zip:
21630 @if zip
21631 maybe-mostlyclean-zip: mostlyclean-zip
21633 mostlyclean-zip:
21634 @[ -f ./zip/Makefile ] || exit 0; \
21635 r=`${PWD_COMMAND}`; export r; \
21636 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21637 $(SET_LIB_PATH) \
21638 $(HOST_EXPORTS) \
21639 for flag in $(EXTRA_HOST_FLAGS) ; do \
21640 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21641 done; \
21642 echo "Doing mostlyclean in zip" ; \
21643 (cd $(HOST_SUBDIR)/zip && \
21644 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21645 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21646 "RANLIB=$${RANLIB}" \
21647 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21648 mostlyclean) \
21649 || exit 1
21651 @endif zip
21653 .PHONY: maybe-clean-zip clean-zip
21654 maybe-clean-zip:
21655 @if zip
21656 maybe-clean-zip: clean-zip
21658 clean-zip:
21659 @[ -f ./zip/Makefile ] || exit 0; \
21660 r=`${PWD_COMMAND}`; export r; \
21661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21662 $(SET_LIB_PATH) \
21663 $(HOST_EXPORTS) \
21664 for flag in $(EXTRA_HOST_FLAGS) ; do \
21665 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21666 done; \
21667 echo "Doing clean in zip" ; \
21668 (cd $(HOST_SUBDIR)/zip && \
21669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21671 "RANLIB=$${RANLIB}" \
21672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21673 clean) \
21674 || exit 1
21676 @endif zip
21678 .PHONY: maybe-distclean-zip distclean-zip
21679 maybe-distclean-zip:
21680 @if zip
21681 maybe-distclean-zip: distclean-zip
21683 distclean-zip:
21684 @[ -f ./zip/Makefile ] || exit 0; \
21685 r=`${PWD_COMMAND}`; export r; \
21686 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21687 $(SET_LIB_PATH) \
21688 $(HOST_EXPORTS) \
21689 for flag in $(EXTRA_HOST_FLAGS) ; do \
21690 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21691 done; \
21692 echo "Doing distclean in zip" ; \
21693 (cd $(HOST_SUBDIR)/zip && \
21694 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21695 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21696 "RANLIB=$${RANLIB}" \
21697 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21698 distclean) \
21699 || exit 1
21701 @endif zip
21703 .PHONY: maybe-maintainer-clean-zip maintainer-clean-zip
21704 maybe-maintainer-clean-zip:
21705 @if zip
21706 maybe-maintainer-clean-zip: maintainer-clean-zip
21708 maintainer-clean-zip:
21709 @[ -f ./zip/Makefile ] || exit 0; \
21710 r=`${PWD_COMMAND}`; export r; \
21711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21712 $(SET_LIB_PATH) \
21713 $(HOST_EXPORTS) \
21714 for flag in $(EXTRA_HOST_FLAGS) ; do \
21715 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21716 done; \
21717 echo "Doing maintainer-clean in zip" ; \
21718 (cd $(HOST_SUBDIR)/zip && \
21719 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21720 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21721 "RANLIB=$${RANLIB}" \
21722 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21723 maintainer-clean) \
21724 || exit 1
21726 @endif zip
21729 .PHONY: configure-zlib maybe-configure-zlib
21730 maybe-configure-zlib:
21731 @if zlib
21732 maybe-configure-zlib: configure-zlib
21733 configure-zlib:
21734 @test -f stage_last && exit 0; \
21735 test ! -f $(HOST_SUBDIR)/zlib/Makefile || exit 0; \
21736 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/zlib ; \
21737 r=`${PWD_COMMAND}`; export r; \
21738 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21739 $(HOST_EXPORTS) \
21740 echo Configuring in zlib; \
21741 cd $(HOST_SUBDIR)/zlib || exit 1; \
21742 case $(srcdir) in \
21743 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
21744 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
21745 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
21746 esac; \
21747 srcdiroption="--srcdir=$${topdir}/zlib"; \
21748 libsrcdir="$$s/zlib"; \
21749 $(SHELL) $${libsrcdir}/configure \
21750 $(HOST_CONFIGARGS) $${srcdiroption} \
21751 || exit 1
21752 @endif zlib
21754 .PHONY: all-zlib maybe-all-zlib
21755 maybe-all-zlib:
21756 @if zlib
21757 TARGET-zlib=all
21758 maybe-all-zlib: all-zlib
21759 all-zlib: configure-zlib
21760 @test -f stage_last && exit 0; \
21761 r=`${PWD_COMMAND}`; export r; \
21762 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21763 $(SET_LIB_PATH) \
21764 $(HOST_EXPORTS) \
21765 (cd $(HOST_SUBDIR)/zlib && \
21766 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-zlib))
21767 @endif zlib
21769 .PHONY: check-zlib maybe-check-zlib
21770 maybe-check-zlib:
21771 @if zlib
21772 maybe-check-zlib: check-zlib
21774 check-zlib:
21776 @endif zlib
21778 .PHONY: install-zlib maybe-install-zlib
21779 maybe-install-zlib:
21780 @if zlib
21781 maybe-install-zlib: install-zlib
21783 install-zlib:
21785 @endif zlib
21787 # Other targets (info, dvi, etc.)
21789 .PHONY: maybe-info-zlib info-zlib
21790 maybe-info-zlib:
21791 @if zlib
21792 maybe-info-zlib: info-zlib
21794 info-zlib: \
21795 configure-zlib
21796 @[ -f ./zlib/Makefile ] || exit 0; \
21797 r=`${PWD_COMMAND}`; export r; \
21798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21799 $(SET_LIB_PATH) \
21800 $(HOST_EXPORTS) \
21801 for flag in $(EXTRA_HOST_FLAGS) ; do \
21802 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21803 done; \
21804 echo "Doing info in zlib" ; \
21805 (cd $(HOST_SUBDIR)/zlib && \
21806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21808 "RANLIB=$${RANLIB}" \
21809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21810 info) \
21811 || exit 1
21813 @endif zlib
21815 .PHONY: maybe-dvi-zlib dvi-zlib
21816 maybe-dvi-zlib:
21817 @if zlib
21818 maybe-dvi-zlib: dvi-zlib
21820 dvi-zlib: \
21821 configure-zlib
21822 @[ -f ./zlib/Makefile ] || exit 0; \
21823 r=`${PWD_COMMAND}`; export r; \
21824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21825 $(SET_LIB_PATH) \
21826 $(HOST_EXPORTS) \
21827 for flag in $(EXTRA_HOST_FLAGS) ; do \
21828 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21829 done; \
21830 echo "Doing dvi in zlib" ; \
21831 (cd $(HOST_SUBDIR)/zlib && \
21832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21834 "RANLIB=$${RANLIB}" \
21835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21836 dvi) \
21837 || exit 1
21839 @endif zlib
21841 .PHONY: maybe-html-zlib html-zlib
21842 maybe-html-zlib:
21843 @if zlib
21844 maybe-html-zlib: html-zlib
21846 html-zlib: \
21847 configure-zlib
21848 @[ -f ./zlib/Makefile ] || exit 0; \
21849 r=`${PWD_COMMAND}`; export r; \
21850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21851 $(SET_LIB_PATH) \
21852 $(HOST_EXPORTS) \
21853 for flag in $(EXTRA_HOST_FLAGS) ; do \
21854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21855 done; \
21856 echo "Doing html in zlib" ; \
21857 (cd $(HOST_SUBDIR)/zlib && \
21858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21860 "RANLIB=$${RANLIB}" \
21861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21862 html) \
21863 || exit 1
21865 @endif zlib
21867 .PHONY: maybe-TAGS-zlib TAGS-zlib
21868 maybe-TAGS-zlib:
21869 @if zlib
21870 maybe-TAGS-zlib: TAGS-zlib
21872 TAGS-zlib: \
21873 configure-zlib
21874 @[ -f ./zlib/Makefile ] || exit 0; \
21875 r=`${PWD_COMMAND}`; export r; \
21876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21877 $(SET_LIB_PATH) \
21878 $(HOST_EXPORTS) \
21879 for flag in $(EXTRA_HOST_FLAGS) ; do \
21880 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21881 done; \
21882 echo "Doing TAGS in zlib" ; \
21883 (cd $(HOST_SUBDIR)/zlib && \
21884 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21885 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21886 "RANLIB=$${RANLIB}" \
21887 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21888 TAGS) \
21889 || exit 1
21891 @endif zlib
21893 .PHONY: maybe-install-info-zlib install-info-zlib
21894 maybe-install-info-zlib:
21895 @if zlib
21896 maybe-install-info-zlib: install-info-zlib
21898 install-info-zlib: \
21899 configure-zlib \
21900 info-zlib
21901 @[ -f ./zlib/Makefile ] || exit 0; \
21902 r=`${PWD_COMMAND}`; export r; \
21903 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21904 $(SET_LIB_PATH) \
21905 $(HOST_EXPORTS) \
21906 for flag in $(EXTRA_HOST_FLAGS) ; do \
21907 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21908 done; \
21909 echo "Doing install-info in zlib" ; \
21910 (cd $(HOST_SUBDIR)/zlib && \
21911 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21912 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21913 "RANLIB=$${RANLIB}" \
21914 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21915 install-info) \
21916 || exit 1
21918 @endif zlib
21920 .PHONY: maybe-installcheck-zlib installcheck-zlib
21921 maybe-installcheck-zlib:
21922 @if zlib
21923 maybe-installcheck-zlib: installcheck-zlib
21925 installcheck-zlib: \
21926 configure-zlib
21927 @[ -f ./zlib/Makefile ] || exit 0; \
21928 r=`${PWD_COMMAND}`; export r; \
21929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21930 $(SET_LIB_PATH) \
21931 $(HOST_EXPORTS) \
21932 for flag in $(EXTRA_HOST_FLAGS) ; do \
21933 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21934 done; \
21935 echo "Doing installcheck in zlib" ; \
21936 (cd $(HOST_SUBDIR)/zlib && \
21937 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21938 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21939 "RANLIB=$${RANLIB}" \
21940 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21941 installcheck) \
21942 || exit 1
21944 @endif zlib
21946 .PHONY: maybe-mostlyclean-zlib mostlyclean-zlib
21947 maybe-mostlyclean-zlib:
21948 @if zlib
21949 maybe-mostlyclean-zlib: mostlyclean-zlib
21951 mostlyclean-zlib:
21952 @[ -f ./zlib/Makefile ] || exit 0; \
21953 r=`${PWD_COMMAND}`; export r; \
21954 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21955 $(SET_LIB_PATH) \
21956 $(HOST_EXPORTS) \
21957 for flag in $(EXTRA_HOST_FLAGS) ; do \
21958 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21959 done; \
21960 echo "Doing mostlyclean in zlib" ; \
21961 (cd $(HOST_SUBDIR)/zlib && \
21962 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21963 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21964 "RANLIB=$${RANLIB}" \
21965 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21966 mostlyclean) \
21967 || exit 1
21969 @endif zlib
21971 .PHONY: maybe-clean-zlib clean-zlib
21972 maybe-clean-zlib:
21973 @if zlib
21974 maybe-clean-zlib: clean-zlib
21976 clean-zlib:
21977 @[ -f ./zlib/Makefile ] || exit 0; \
21978 r=`${PWD_COMMAND}`; export r; \
21979 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
21980 $(SET_LIB_PATH) \
21981 $(HOST_EXPORTS) \
21982 for flag in $(EXTRA_HOST_FLAGS) ; do \
21983 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
21984 done; \
21985 echo "Doing clean in zlib" ; \
21986 (cd $(HOST_SUBDIR)/zlib && \
21987 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
21988 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
21989 "RANLIB=$${RANLIB}" \
21990 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
21991 clean) \
21992 || exit 1
21994 @endif zlib
21996 .PHONY: maybe-distclean-zlib distclean-zlib
21997 maybe-distclean-zlib:
21998 @if zlib
21999 maybe-distclean-zlib: distclean-zlib
22001 distclean-zlib:
22002 @[ -f ./zlib/Makefile ] || exit 0; \
22003 r=`${PWD_COMMAND}`; export r; \
22004 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22005 $(SET_LIB_PATH) \
22006 $(HOST_EXPORTS) \
22007 for flag in $(EXTRA_HOST_FLAGS) ; do \
22008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22009 done; \
22010 echo "Doing distclean in zlib" ; \
22011 (cd $(HOST_SUBDIR)/zlib && \
22012 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22013 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22014 "RANLIB=$${RANLIB}" \
22015 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22016 distclean) \
22017 || exit 1
22019 @endif zlib
22021 .PHONY: maybe-maintainer-clean-zlib maintainer-clean-zlib
22022 maybe-maintainer-clean-zlib:
22023 @if zlib
22024 maybe-maintainer-clean-zlib: maintainer-clean-zlib
22026 maintainer-clean-zlib:
22027 @[ -f ./zlib/Makefile ] || exit 0; \
22028 r=`${PWD_COMMAND}`; export r; \
22029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22030 $(SET_LIB_PATH) \
22031 $(HOST_EXPORTS) \
22032 for flag in $(EXTRA_HOST_FLAGS) ; do \
22033 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22034 done; \
22035 echo "Doing maintainer-clean in zlib" ; \
22036 (cd $(HOST_SUBDIR)/zlib && \
22037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22039 "RANLIB=$${RANLIB}" \
22040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22041 maintainer-clean) \
22042 || exit 1
22044 @endif zlib
22047 .PHONY: configure-gdb maybe-configure-gdb
22048 maybe-configure-gdb:
22049 @if gdb
22050 maybe-configure-gdb: configure-gdb
22051 configure-gdb:
22052 @test ! -f $(HOST_SUBDIR)/gdb/Makefile || exit 0; \
22053 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gdb ; \
22054 r=`${PWD_COMMAND}`; export r; \
22055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22056 $(HOST_EXPORTS) \
22057 echo Configuring in gdb; \
22058 cd $(HOST_SUBDIR)/gdb || exit 1; \
22059 case $(srcdir) in \
22060 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22061 *) topdir=`echo $(HOST_SUBDIR)/gdb/ | \
22062 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22063 esac; \
22064 srcdiroption="--srcdir=$${topdir}/gdb"; \
22065 libsrcdir="$$s/gdb"; \
22066 $(SHELL) $${libsrcdir}/configure \
22067 $(HOST_CONFIGARGS) $${srcdiroption} \
22068 || exit 1
22069 @endif gdb
22071 .PHONY: all-gdb maybe-all-gdb
22072 maybe-all-gdb:
22073 @if gdb
22074 TARGET-gdb=all
22075 maybe-all-gdb: all-gdb
22076 all-gdb: configure-gdb
22077 @r=`${PWD_COMMAND}`; export r; \
22078 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22079 $(SET_LIB_PATH) \
22080 $(HOST_EXPORTS) \
22081 (cd $(HOST_SUBDIR)/gdb && \
22082 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-gdb))
22083 @endif gdb
22085 .PHONY: check-gdb maybe-check-gdb
22086 maybe-check-gdb:
22087 @if gdb
22088 maybe-check-gdb: check-gdb
22090 check-gdb:
22091 @r=`${PWD_COMMAND}`; export r; \
22092 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22093 $(SET_LIB_PATH) \
22094 $(HOST_EXPORTS) \
22095 (cd $(HOST_SUBDIR)/gdb && \
22096 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22098 @endif gdb
22100 .PHONY: install-gdb maybe-install-gdb
22101 maybe-install-gdb:
22102 @if gdb
22103 maybe-install-gdb: install-gdb
22105 install-gdb: installdirs
22106 @r=`${PWD_COMMAND}`; export r; \
22107 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22108 $(SET_LIB_PATH) \
22109 $(HOST_EXPORTS) \
22110 (cd $(HOST_SUBDIR)/gdb && \
22111 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22113 @endif gdb
22115 # Other targets (info, dvi, etc.)
22117 .PHONY: maybe-info-gdb info-gdb
22118 maybe-info-gdb:
22119 @if gdb
22120 maybe-info-gdb: info-gdb
22122 info-gdb: \
22123 configure-gdb
22124 @[ -f ./gdb/Makefile ] || exit 0; \
22125 r=`${PWD_COMMAND}`; export r; \
22126 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22127 $(SET_LIB_PATH) \
22128 $(HOST_EXPORTS) \
22129 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22130 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22131 done; \
22132 echo "Doing info in gdb" ; \
22133 (cd $(HOST_SUBDIR)/gdb && \
22134 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22135 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22136 "RANLIB=$${RANLIB}" \
22137 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22138 info) \
22139 || exit 1
22141 @endif gdb
22143 .PHONY: maybe-dvi-gdb dvi-gdb
22144 maybe-dvi-gdb:
22145 @if gdb
22146 maybe-dvi-gdb: dvi-gdb
22148 dvi-gdb: \
22149 configure-gdb
22150 @[ -f ./gdb/Makefile ] || exit 0; \
22151 r=`${PWD_COMMAND}`; export r; \
22152 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22153 $(SET_LIB_PATH) \
22154 $(HOST_EXPORTS) \
22155 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22156 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22157 done; \
22158 echo "Doing dvi in gdb" ; \
22159 (cd $(HOST_SUBDIR)/gdb && \
22160 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22161 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22162 "RANLIB=$${RANLIB}" \
22163 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22164 dvi) \
22165 || exit 1
22167 @endif gdb
22169 .PHONY: maybe-html-gdb html-gdb
22170 maybe-html-gdb:
22171 @if gdb
22172 maybe-html-gdb: html-gdb
22174 html-gdb: \
22175 configure-gdb
22176 @[ -f ./gdb/Makefile ] || exit 0; \
22177 r=`${PWD_COMMAND}`; export r; \
22178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22179 $(SET_LIB_PATH) \
22180 $(HOST_EXPORTS) \
22181 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22183 done; \
22184 echo "Doing html in gdb" ; \
22185 (cd $(HOST_SUBDIR)/gdb && \
22186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22188 "RANLIB=$${RANLIB}" \
22189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22190 html) \
22191 || exit 1
22193 @endif gdb
22195 .PHONY: maybe-TAGS-gdb TAGS-gdb
22196 maybe-TAGS-gdb:
22197 @if gdb
22198 maybe-TAGS-gdb: TAGS-gdb
22200 TAGS-gdb: \
22201 configure-gdb
22202 @[ -f ./gdb/Makefile ] || exit 0; \
22203 r=`${PWD_COMMAND}`; export r; \
22204 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22205 $(SET_LIB_PATH) \
22206 $(HOST_EXPORTS) \
22207 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22208 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22209 done; \
22210 echo "Doing TAGS in gdb" ; \
22211 (cd $(HOST_SUBDIR)/gdb && \
22212 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22213 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22214 "RANLIB=$${RANLIB}" \
22215 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22216 TAGS) \
22217 || exit 1
22219 @endif gdb
22221 .PHONY: maybe-install-info-gdb install-info-gdb
22222 maybe-install-info-gdb:
22223 @if gdb
22224 maybe-install-info-gdb: install-info-gdb
22226 install-info-gdb: \
22227 configure-gdb \
22228 info-gdb
22229 @[ -f ./gdb/Makefile ] || exit 0; \
22230 r=`${PWD_COMMAND}`; export r; \
22231 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22232 $(SET_LIB_PATH) \
22233 $(HOST_EXPORTS) \
22234 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22236 done; \
22237 echo "Doing install-info in gdb" ; \
22238 (cd $(HOST_SUBDIR)/gdb && \
22239 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22240 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22241 "RANLIB=$${RANLIB}" \
22242 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22243 install-info) \
22244 || exit 1
22246 @endif gdb
22248 .PHONY: maybe-installcheck-gdb installcheck-gdb
22249 maybe-installcheck-gdb:
22250 @if gdb
22251 maybe-installcheck-gdb: installcheck-gdb
22253 installcheck-gdb: \
22254 configure-gdb
22255 @[ -f ./gdb/Makefile ] || exit 0; \
22256 r=`${PWD_COMMAND}`; export r; \
22257 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22258 $(SET_LIB_PATH) \
22259 $(HOST_EXPORTS) \
22260 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22261 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22262 done; \
22263 echo "Doing installcheck in gdb" ; \
22264 (cd $(HOST_SUBDIR)/gdb && \
22265 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22266 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22267 "RANLIB=$${RANLIB}" \
22268 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22269 installcheck) \
22270 || exit 1
22272 @endif gdb
22274 .PHONY: maybe-mostlyclean-gdb mostlyclean-gdb
22275 maybe-mostlyclean-gdb:
22276 @if gdb
22277 maybe-mostlyclean-gdb: mostlyclean-gdb
22279 mostlyclean-gdb:
22280 @[ -f ./gdb/Makefile ] || exit 0; \
22281 r=`${PWD_COMMAND}`; export r; \
22282 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22283 $(SET_LIB_PATH) \
22284 $(HOST_EXPORTS) \
22285 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22286 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22287 done; \
22288 echo "Doing mostlyclean in gdb" ; \
22289 (cd $(HOST_SUBDIR)/gdb && \
22290 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22291 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22292 "RANLIB=$${RANLIB}" \
22293 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22294 mostlyclean) \
22295 || exit 1
22297 @endif gdb
22299 .PHONY: maybe-clean-gdb clean-gdb
22300 maybe-clean-gdb:
22301 @if gdb
22302 maybe-clean-gdb: clean-gdb
22304 clean-gdb:
22305 @[ -f ./gdb/Makefile ] || exit 0; \
22306 r=`${PWD_COMMAND}`; export r; \
22307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22308 $(SET_LIB_PATH) \
22309 $(HOST_EXPORTS) \
22310 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22311 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22312 done; \
22313 echo "Doing clean in gdb" ; \
22314 (cd $(HOST_SUBDIR)/gdb && \
22315 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22316 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22317 "RANLIB=$${RANLIB}" \
22318 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22319 clean) \
22320 || exit 1
22322 @endif gdb
22324 .PHONY: maybe-distclean-gdb distclean-gdb
22325 maybe-distclean-gdb:
22326 @if gdb
22327 maybe-distclean-gdb: distclean-gdb
22329 distclean-gdb:
22330 @[ -f ./gdb/Makefile ] || exit 0; \
22331 r=`${PWD_COMMAND}`; export r; \
22332 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22333 $(SET_LIB_PATH) \
22334 $(HOST_EXPORTS) \
22335 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22336 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22337 done; \
22338 echo "Doing distclean in gdb" ; \
22339 (cd $(HOST_SUBDIR)/gdb && \
22340 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22341 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22342 "RANLIB=$${RANLIB}" \
22343 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22344 distclean) \
22345 || exit 1
22347 @endif gdb
22349 .PHONY: maybe-maintainer-clean-gdb maintainer-clean-gdb
22350 maybe-maintainer-clean-gdb:
22351 @if gdb
22352 maybe-maintainer-clean-gdb: maintainer-clean-gdb
22354 maintainer-clean-gdb:
22355 @[ -f ./gdb/Makefile ] || exit 0; \
22356 r=`${PWD_COMMAND}`; export r; \
22357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22358 $(SET_LIB_PATH) \
22359 $(HOST_EXPORTS) \
22360 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22361 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22362 done; \
22363 echo "Doing maintainer-clean in gdb" ; \
22364 (cd $(HOST_SUBDIR)/gdb && \
22365 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22366 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22367 "RANLIB=$${RANLIB}" \
22368 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22369 maintainer-clean) \
22370 || exit 1
22372 @endif gdb
22375 .PHONY: configure-expect maybe-configure-expect
22376 maybe-configure-expect:
22377 @if expect
22378 maybe-configure-expect: configure-expect
22379 configure-expect:
22380 @test ! -f $(HOST_SUBDIR)/expect/Makefile || exit 0; \
22381 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/expect ; \
22382 r=`${PWD_COMMAND}`; export r; \
22383 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22384 $(HOST_EXPORTS) \
22385 echo Configuring in expect; \
22386 cd $(HOST_SUBDIR)/expect || exit 1; \
22387 case $(srcdir) in \
22388 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22389 *) topdir=`echo $(HOST_SUBDIR)/expect/ | \
22390 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22391 esac; \
22392 srcdiroption="--srcdir=$${topdir}/expect"; \
22393 libsrcdir="$$s/expect"; \
22394 $(SHELL) $${libsrcdir}/configure \
22395 $(HOST_CONFIGARGS) $${srcdiroption} \
22396 || exit 1
22397 @endif expect
22399 .PHONY: all-expect maybe-all-expect
22400 maybe-all-expect:
22401 @if expect
22402 TARGET-expect=all
22403 maybe-all-expect: all-expect
22404 all-expect: configure-expect
22405 @r=`${PWD_COMMAND}`; export r; \
22406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22407 $(SET_LIB_PATH) \
22408 $(HOST_EXPORTS) \
22409 (cd $(HOST_SUBDIR)/expect && \
22410 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-expect))
22411 @endif expect
22413 .PHONY: check-expect maybe-check-expect
22414 maybe-check-expect:
22415 @if expect
22416 maybe-check-expect: check-expect
22418 check-expect:
22419 @r=`${PWD_COMMAND}`; export r; \
22420 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22421 $(SET_LIB_PATH) \
22422 $(HOST_EXPORTS) \
22423 (cd $(HOST_SUBDIR)/expect && \
22424 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22426 @endif expect
22428 .PHONY: install-expect maybe-install-expect
22429 maybe-install-expect:
22430 @if expect
22431 maybe-install-expect: install-expect
22433 install-expect: installdirs
22434 @r=`${PWD_COMMAND}`; export r; \
22435 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22436 $(SET_LIB_PATH) \
22437 $(HOST_EXPORTS) \
22438 (cd $(HOST_SUBDIR)/expect && \
22439 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22441 @endif expect
22443 # Other targets (info, dvi, etc.)
22445 .PHONY: maybe-info-expect info-expect
22446 maybe-info-expect:
22447 @if expect
22448 maybe-info-expect: info-expect
22450 info-expect: \
22451 configure-expect
22452 @[ -f ./expect/Makefile ] || exit 0; \
22453 r=`${PWD_COMMAND}`; export r; \
22454 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22455 $(SET_LIB_PATH) \
22456 $(HOST_EXPORTS) \
22457 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22458 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22459 done; \
22460 echo "Doing info in expect" ; \
22461 (cd $(HOST_SUBDIR)/expect && \
22462 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22463 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22464 "RANLIB=$${RANLIB}" \
22465 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22466 info) \
22467 || exit 1
22469 @endif expect
22471 .PHONY: maybe-dvi-expect dvi-expect
22472 maybe-dvi-expect:
22473 @if expect
22474 maybe-dvi-expect: dvi-expect
22476 dvi-expect: \
22477 configure-expect
22478 @[ -f ./expect/Makefile ] || exit 0; \
22479 r=`${PWD_COMMAND}`; export r; \
22480 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22481 $(SET_LIB_PATH) \
22482 $(HOST_EXPORTS) \
22483 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22484 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22485 done; \
22486 echo "Doing dvi in expect" ; \
22487 (cd $(HOST_SUBDIR)/expect && \
22488 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22489 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22490 "RANLIB=$${RANLIB}" \
22491 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22492 dvi) \
22493 || exit 1
22495 @endif expect
22497 .PHONY: maybe-html-expect html-expect
22498 maybe-html-expect:
22499 @if expect
22500 maybe-html-expect: html-expect
22502 html-expect: \
22503 configure-expect
22504 @[ -f ./expect/Makefile ] || exit 0; \
22505 r=`${PWD_COMMAND}`; export r; \
22506 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22507 $(SET_LIB_PATH) \
22508 $(HOST_EXPORTS) \
22509 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22510 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22511 done; \
22512 echo "Doing html in expect" ; \
22513 (cd $(HOST_SUBDIR)/expect && \
22514 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22515 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22516 "RANLIB=$${RANLIB}" \
22517 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22518 html) \
22519 || exit 1
22521 @endif expect
22523 .PHONY: maybe-TAGS-expect TAGS-expect
22524 maybe-TAGS-expect:
22525 @if expect
22526 maybe-TAGS-expect: TAGS-expect
22528 TAGS-expect: \
22529 configure-expect
22530 @[ -f ./expect/Makefile ] || exit 0; \
22531 r=`${PWD_COMMAND}`; export r; \
22532 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22533 $(SET_LIB_PATH) \
22534 $(HOST_EXPORTS) \
22535 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22536 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22537 done; \
22538 echo "Doing TAGS in expect" ; \
22539 (cd $(HOST_SUBDIR)/expect && \
22540 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22541 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22542 "RANLIB=$${RANLIB}" \
22543 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22544 TAGS) \
22545 || exit 1
22547 @endif expect
22549 .PHONY: maybe-install-info-expect install-info-expect
22550 maybe-install-info-expect:
22551 @if expect
22552 maybe-install-info-expect: install-info-expect
22554 install-info-expect: \
22555 configure-expect \
22556 info-expect
22557 @[ -f ./expect/Makefile ] || exit 0; \
22558 r=`${PWD_COMMAND}`; export r; \
22559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22560 $(SET_LIB_PATH) \
22561 $(HOST_EXPORTS) \
22562 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22563 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22564 done; \
22565 echo "Doing install-info in expect" ; \
22566 (cd $(HOST_SUBDIR)/expect && \
22567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22569 "RANLIB=$${RANLIB}" \
22570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22571 install-info) \
22572 || exit 1
22574 @endif expect
22576 .PHONY: maybe-installcheck-expect installcheck-expect
22577 maybe-installcheck-expect:
22578 @if expect
22579 maybe-installcheck-expect: installcheck-expect
22581 installcheck-expect: \
22582 configure-expect
22583 @[ -f ./expect/Makefile ] || exit 0; \
22584 r=`${PWD_COMMAND}`; export r; \
22585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22586 $(SET_LIB_PATH) \
22587 $(HOST_EXPORTS) \
22588 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22589 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22590 done; \
22591 echo "Doing installcheck in expect" ; \
22592 (cd $(HOST_SUBDIR)/expect && \
22593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22595 "RANLIB=$${RANLIB}" \
22596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22597 installcheck) \
22598 || exit 1
22600 @endif expect
22602 .PHONY: maybe-mostlyclean-expect mostlyclean-expect
22603 maybe-mostlyclean-expect:
22604 @if expect
22605 maybe-mostlyclean-expect: mostlyclean-expect
22607 mostlyclean-expect:
22608 @[ -f ./expect/Makefile ] || exit 0; \
22609 r=`${PWD_COMMAND}`; export r; \
22610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22611 $(SET_LIB_PATH) \
22612 $(HOST_EXPORTS) \
22613 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22614 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22615 done; \
22616 echo "Doing mostlyclean in expect" ; \
22617 (cd $(HOST_SUBDIR)/expect && \
22618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22620 "RANLIB=$${RANLIB}" \
22621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22622 mostlyclean) \
22623 || exit 1
22625 @endif expect
22627 .PHONY: maybe-clean-expect clean-expect
22628 maybe-clean-expect:
22629 @if expect
22630 maybe-clean-expect: clean-expect
22632 clean-expect:
22633 @[ -f ./expect/Makefile ] || exit 0; \
22634 r=`${PWD_COMMAND}`; export r; \
22635 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22636 $(SET_LIB_PATH) \
22637 $(HOST_EXPORTS) \
22638 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22639 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22640 done; \
22641 echo "Doing clean in expect" ; \
22642 (cd $(HOST_SUBDIR)/expect && \
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 clean) \
22648 || exit 1
22650 @endif expect
22652 .PHONY: maybe-distclean-expect distclean-expect
22653 maybe-distclean-expect:
22654 @if expect
22655 maybe-distclean-expect: distclean-expect
22657 distclean-expect:
22658 @[ -f ./expect/Makefile ] || exit 0; \
22659 r=`${PWD_COMMAND}`; export r; \
22660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22661 $(SET_LIB_PATH) \
22662 $(HOST_EXPORTS) \
22663 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22664 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22665 done; \
22666 echo "Doing distclean in expect" ; \
22667 (cd $(HOST_SUBDIR)/expect && \
22668 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22669 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22670 "RANLIB=$${RANLIB}" \
22671 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22672 distclean) \
22673 || exit 1
22675 @endif expect
22677 .PHONY: maybe-maintainer-clean-expect maintainer-clean-expect
22678 maybe-maintainer-clean-expect:
22679 @if expect
22680 maybe-maintainer-clean-expect: maintainer-clean-expect
22682 maintainer-clean-expect:
22683 @[ -f ./expect/Makefile ] || exit 0; \
22684 r=`${PWD_COMMAND}`; export r; \
22685 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22686 $(SET_LIB_PATH) \
22687 $(HOST_EXPORTS) \
22688 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22689 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22690 done; \
22691 echo "Doing maintainer-clean in expect" ; \
22692 (cd $(HOST_SUBDIR)/expect && \
22693 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22694 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22695 "RANLIB=$${RANLIB}" \
22696 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22697 maintainer-clean) \
22698 || exit 1
22700 @endif expect
22703 .PHONY: configure-guile maybe-configure-guile
22704 maybe-configure-guile:
22705 @if guile
22706 maybe-configure-guile: configure-guile
22707 configure-guile:
22708 @test ! -f $(HOST_SUBDIR)/guile/Makefile || exit 0; \
22709 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/guile ; \
22710 r=`${PWD_COMMAND}`; export r; \
22711 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22712 $(HOST_EXPORTS) \
22713 echo Configuring in guile; \
22714 cd $(HOST_SUBDIR)/guile || exit 1; \
22715 case $(srcdir) in \
22716 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
22717 *) topdir=`echo $(HOST_SUBDIR)/guile/ | \
22718 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
22719 esac; \
22720 srcdiroption="--srcdir=$${topdir}/guile"; \
22721 libsrcdir="$$s/guile"; \
22722 $(SHELL) $${libsrcdir}/configure \
22723 $(HOST_CONFIGARGS) $${srcdiroption} \
22724 || exit 1
22725 @endif guile
22727 .PHONY: all-guile maybe-all-guile
22728 maybe-all-guile:
22729 @if guile
22730 TARGET-guile=all
22731 maybe-all-guile: all-guile
22732 all-guile: configure-guile
22733 @r=`${PWD_COMMAND}`; export r; \
22734 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22735 $(SET_LIB_PATH) \
22736 $(HOST_EXPORTS) \
22737 (cd $(HOST_SUBDIR)/guile && \
22738 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-guile))
22739 @endif guile
22741 .PHONY: check-guile maybe-check-guile
22742 maybe-check-guile:
22743 @if guile
22744 maybe-check-guile: check-guile
22746 check-guile:
22747 @r=`${PWD_COMMAND}`; export r; \
22748 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22749 $(SET_LIB_PATH) \
22750 $(HOST_EXPORTS) \
22751 (cd $(HOST_SUBDIR)/guile && \
22752 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
22754 @endif guile
22756 .PHONY: install-guile maybe-install-guile
22757 maybe-install-guile:
22758 @if guile
22759 maybe-install-guile: install-guile
22761 install-guile: installdirs
22762 @r=`${PWD_COMMAND}`; export r; \
22763 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22764 $(SET_LIB_PATH) \
22765 $(HOST_EXPORTS) \
22766 (cd $(HOST_SUBDIR)/guile && \
22767 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
22769 @endif guile
22771 # Other targets (info, dvi, etc.)
22773 .PHONY: maybe-info-guile info-guile
22774 maybe-info-guile:
22775 @if guile
22776 maybe-info-guile: info-guile
22778 info-guile: \
22779 configure-guile
22780 @[ -f ./guile/Makefile ] || exit 0; \
22781 r=`${PWD_COMMAND}`; export r; \
22782 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22783 $(SET_LIB_PATH) \
22784 $(HOST_EXPORTS) \
22785 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22787 done; \
22788 echo "Doing info in guile" ; \
22789 (cd $(HOST_SUBDIR)/guile && \
22790 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22791 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22792 "RANLIB=$${RANLIB}" \
22793 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22794 info) \
22795 || exit 1
22797 @endif guile
22799 .PHONY: maybe-dvi-guile dvi-guile
22800 maybe-dvi-guile:
22801 @if guile
22802 maybe-dvi-guile: dvi-guile
22804 dvi-guile: \
22805 configure-guile
22806 @[ -f ./guile/Makefile ] || exit 0; \
22807 r=`${PWD_COMMAND}`; export r; \
22808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22809 $(SET_LIB_PATH) \
22810 $(HOST_EXPORTS) \
22811 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22812 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22813 done; \
22814 echo "Doing dvi in guile" ; \
22815 (cd $(HOST_SUBDIR)/guile && \
22816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22818 "RANLIB=$${RANLIB}" \
22819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22820 dvi) \
22821 || exit 1
22823 @endif guile
22825 .PHONY: maybe-html-guile html-guile
22826 maybe-html-guile:
22827 @if guile
22828 maybe-html-guile: html-guile
22830 html-guile: \
22831 configure-guile
22832 @[ -f ./guile/Makefile ] || exit 0; \
22833 r=`${PWD_COMMAND}`; export r; \
22834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22835 $(SET_LIB_PATH) \
22836 $(HOST_EXPORTS) \
22837 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22838 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22839 done; \
22840 echo "Doing html in guile" ; \
22841 (cd $(HOST_SUBDIR)/guile && \
22842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22844 "RANLIB=$${RANLIB}" \
22845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22846 html) \
22847 || exit 1
22849 @endif guile
22851 .PHONY: maybe-TAGS-guile TAGS-guile
22852 maybe-TAGS-guile:
22853 @if guile
22854 maybe-TAGS-guile: TAGS-guile
22856 TAGS-guile: \
22857 configure-guile
22858 @[ -f ./guile/Makefile ] || exit 0; \
22859 r=`${PWD_COMMAND}`; export r; \
22860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22861 $(SET_LIB_PATH) \
22862 $(HOST_EXPORTS) \
22863 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22865 done; \
22866 echo "Doing TAGS in guile" ; \
22867 (cd $(HOST_SUBDIR)/guile && \
22868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22870 "RANLIB=$${RANLIB}" \
22871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22872 TAGS) \
22873 || exit 1
22875 @endif guile
22877 .PHONY: maybe-install-info-guile install-info-guile
22878 maybe-install-info-guile:
22879 @if guile
22880 maybe-install-info-guile: install-info-guile
22882 install-info-guile: \
22883 configure-guile \
22884 info-guile
22885 @[ -f ./guile/Makefile ] || exit 0; \
22886 r=`${PWD_COMMAND}`; export r; \
22887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22888 $(SET_LIB_PATH) \
22889 $(HOST_EXPORTS) \
22890 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22891 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22892 done; \
22893 echo "Doing install-info in guile" ; \
22894 (cd $(HOST_SUBDIR)/guile && \
22895 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22896 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22897 "RANLIB=$${RANLIB}" \
22898 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22899 install-info) \
22900 || exit 1
22902 @endif guile
22904 .PHONY: maybe-installcheck-guile installcheck-guile
22905 maybe-installcheck-guile:
22906 @if guile
22907 maybe-installcheck-guile: installcheck-guile
22909 installcheck-guile: \
22910 configure-guile
22911 @[ -f ./guile/Makefile ] || exit 0; \
22912 r=`${PWD_COMMAND}`; export r; \
22913 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22914 $(SET_LIB_PATH) \
22915 $(HOST_EXPORTS) \
22916 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22917 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22918 done; \
22919 echo "Doing installcheck in guile" ; \
22920 (cd $(HOST_SUBDIR)/guile && \
22921 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22922 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22923 "RANLIB=$${RANLIB}" \
22924 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22925 installcheck) \
22926 || exit 1
22928 @endif guile
22930 .PHONY: maybe-mostlyclean-guile mostlyclean-guile
22931 maybe-mostlyclean-guile:
22932 @if guile
22933 maybe-mostlyclean-guile: mostlyclean-guile
22935 mostlyclean-guile:
22936 @[ -f ./guile/Makefile ] || exit 0; \
22937 r=`${PWD_COMMAND}`; export r; \
22938 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22939 $(SET_LIB_PATH) \
22940 $(HOST_EXPORTS) \
22941 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22942 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22943 done; \
22944 echo "Doing mostlyclean in guile" ; \
22945 (cd $(HOST_SUBDIR)/guile && \
22946 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22947 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22948 "RANLIB=$${RANLIB}" \
22949 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22950 mostlyclean) \
22951 || exit 1
22953 @endif guile
22955 .PHONY: maybe-clean-guile clean-guile
22956 maybe-clean-guile:
22957 @if guile
22958 maybe-clean-guile: clean-guile
22960 clean-guile:
22961 @[ -f ./guile/Makefile ] || exit 0; \
22962 r=`${PWD_COMMAND}`; export r; \
22963 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22964 $(SET_LIB_PATH) \
22965 $(HOST_EXPORTS) \
22966 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22967 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22968 done; \
22969 echo "Doing clean in guile" ; \
22970 (cd $(HOST_SUBDIR)/guile && \
22971 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22972 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22973 "RANLIB=$${RANLIB}" \
22974 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
22975 clean) \
22976 || exit 1
22978 @endif guile
22980 .PHONY: maybe-distclean-guile distclean-guile
22981 maybe-distclean-guile:
22982 @if guile
22983 maybe-distclean-guile: distclean-guile
22985 distclean-guile:
22986 @[ -f ./guile/Makefile ] || exit 0; \
22987 r=`${PWD_COMMAND}`; export r; \
22988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
22989 $(SET_LIB_PATH) \
22990 $(HOST_EXPORTS) \
22991 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
22992 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
22993 done; \
22994 echo "Doing distclean in guile" ; \
22995 (cd $(HOST_SUBDIR)/guile && \
22996 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
22997 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
22998 "RANLIB=$${RANLIB}" \
22999 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23000 distclean) \
23001 || exit 1
23003 @endif guile
23005 .PHONY: maybe-maintainer-clean-guile maintainer-clean-guile
23006 maybe-maintainer-clean-guile:
23007 @if guile
23008 maybe-maintainer-clean-guile: maintainer-clean-guile
23010 maintainer-clean-guile:
23011 @[ -f ./guile/Makefile ] || exit 0; \
23012 r=`${PWD_COMMAND}`; export r; \
23013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23014 $(SET_LIB_PATH) \
23015 $(HOST_EXPORTS) \
23016 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23017 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23018 done; \
23019 echo "Doing maintainer-clean in guile" ; \
23020 (cd $(HOST_SUBDIR)/guile && \
23021 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23022 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23023 "RANLIB=$${RANLIB}" \
23024 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23025 maintainer-clean) \
23026 || exit 1
23028 @endif guile
23031 .PHONY: configure-tk maybe-configure-tk
23032 maybe-configure-tk:
23033 @if tk
23034 maybe-configure-tk: configure-tk
23035 configure-tk:
23036 @test ! -f $(HOST_SUBDIR)/tk/Makefile || exit 0; \
23037 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/tk ; \
23038 r=`${PWD_COMMAND}`; export r; \
23039 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23040 $(HOST_EXPORTS) \
23041 echo Configuring in tk; \
23042 cd $(HOST_SUBDIR)/tk || exit 1; \
23043 case $(srcdir) in \
23044 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23045 *) topdir=`echo $(HOST_SUBDIR)/tk/ | \
23046 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23047 esac; \
23048 srcdiroption="--srcdir=$${topdir}/tk"; \
23049 libsrcdir="$$s/tk"; \
23050 $(SHELL) $${libsrcdir}/configure \
23051 $(HOST_CONFIGARGS) $${srcdiroption} \
23052 || exit 1
23053 @endif tk
23055 .PHONY: all-tk maybe-all-tk
23056 maybe-all-tk:
23057 @if tk
23058 TARGET-tk=all
23059 maybe-all-tk: all-tk
23060 all-tk: configure-tk
23061 @r=`${PWD_COMMAND}`; export r; \
23062 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23063 $(SET_LIB_PATH) \
23064 $(HOST_EXPORTS) \
23065 (cd $(HOST_SUBDIR)/tk && \
23066 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) $(TARGET-tk))
23067 @endif tk
23069 .PHONY: check-tk maybe-check-tk
23070 maybe-check-tk:
23071 @if tk
23072 maybe-check-tk: check-tk
23074 check-tk:
23075 @r=`${PWD_COMMAND}`; export r; \
23076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23077 $(SET_LIB_PATH) \
23078 $(HOST_EXPORTS) \
23079 (cd $(HOST_SUBDIR)/tk && \
23080 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) check)
23082 @endif tk
23084 .PHONY: install-tk maybe-install-tk
23085 maybe-install-tk:
23086 @if tk
23087 maybe-install-tk: install-tk
23089 install-tk: installdirs
23090 @r=`${PWD_COMMAND}`; export r; \
23091 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23092 $(SET_LIB_PATH) \
23093 $(HOST_EXPORTS) \
23094 (cd $(HOST_SUBDIR)/tk && \
23095 $(MAKE) $(FLAGS_TO_PASS) $(X11_FLAGS_TO_PASS) install)
23097 @endif tk
23099 # Other targets (info, dvi, etc.)
23101 .PHONY: maybe-info-tk info-tk
23102 maybe-info-tk:
23103 @if tk
23104 maybe-info-tk: info-tk
23106 info-tk: \
23107 configure-tk
23108 @[ -f ./tk/Makefile ] || exit 0; \
23109 r=`${PWD_COMMAND}`; export r; \
23110 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23111 $(SET_LIB_PATH) \
23112 $(HOST_EXPORTS) \
23113 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23115 done; \
23116 echo "Doing info in tk" ; \
23117 (cd $(HOST_SUBDIR)/tk && \
23118 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23119 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23120 "RANLIB=$${RANLIB}" \
23121 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23122 info) \
23123 || exit 1
23125 @endif tk
23127 .PHONY: maybe-dvi-tk dvi-tk
23128 maybe-dvi-tk:
23129 @if tk
23130 maybe-dvi-tk: dvi-tk
23132 dvi-tk: \
23133 configure-tk
23134 @[ -f ./tk/Makefile ] || exit 0; \
23135 r=`${PWD_COMMAND}`; export r; \
23136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23137 $(SET_LIB_PATH) \
23138 $(HOST_EXPORTS) \
23139 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23140 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23141 done; \
23142 echo "Doing dvi in tk" ; \
23143 (cd $(HOST_SUBDIR)/tk && \
23144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23146 "RANLIB=$${RANLIB}" \
23147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23148 dvi) \
23149 || exit 1
23151 @endif tk
23153 .PHONY: maybe-html-tk html-tk
23154 maybe-html-tk:
23155 @if tk
23156 maybe-html-tk: html-tk
23158 html-tk: \
23159 configure-tk
23160 @[ -f ./tk/Makefile ] || exit 0; \
23161 r=`${PWD_COMMAND}`; export r; \
23162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23163 $(SET_LIB_PATH) \
23164 $(HOST_EXPORTS) \
23165 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23166 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23167 done; \
23168 echo "Doing html in tk" ; \
23169 (cd $(HOST_SUBDIR)/tk && \
23170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23172 "RANLIB=$${RANLIB}" \
23173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23174 html) \
23175 || exit 1
23177 @endif tk
23179 .PHONY: maybe-TAGS-tk TAGS-tk
23180 maybe-TAGS-tk:
23181 @if tk
23182 maybe-TAGS-tk: TAGS-tk
23184 TAGS-tk: \
23185 configure-tk
23186 @[ -f ./tk/Makefile ] || exit 0; \
23187 r=`${PWD_COMMAND}`; export r; \
23188 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23189 $(SET_LIB_PATH) \
23190 $(HOST_EXPORTS) \
23191 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23193 done; \
23194 echo "Doing TAGS in tk" ; \
23195 (cd $(HOST_SUBDIR)/tk && \
23196 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23197 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23198 "RANLIB=$${RANLIB}" \
23199 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23200 TAGS) \
23201 || exit 1
23203 @endif tk
23205 .PHONY: maybe-install-info-tk install-info-tk
23206 maybe-install-info-tk:
23207 @if tk
23208 maybe-install-info-tk: install-info-tk
23210 install-info-tk: \
23211 configure-tk \
23212 info-tk
23213 @[ -f ./tk/Makefile ] || exit 0; \
23214 r=`${PWD_COMMAND}`; export r; \
23215 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23216 $(SET_LIB_PATH) \
23217 $(HOST_EXPORTS) \
23218 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23219 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23220 done; \
23221 echo "Doing install-info in tk" ; \
23222 (cd $(HOST_SUBDIR)/tk && \
23223 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23224 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23225 "RANLIB=$${RANLIB}" \
23226 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23227 install-info) \
23228 || exit 1
23230 @endif tk
23232 .PHONY: maybe-installcheck-tk installcheck-tk
23233 maybe-installcheck-tk:
23234 @if tk
23235 maybe-installcheck-tk: installcheck-tk
23237 installcheck-tk: \
23238 configure-tk
23239 @[ -f ./tk/Makefile ] || exit 0; \
23240 r=`${PWD_COMMAND}`; export r; \
23241 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23242 $(SET_LIB_PATH) \
23243 $(HOST_EXPORTS) \
23244 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23245 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23246 done; \
23247 echo "Doing installcheck in tk" ; \
23248 (cd $(HOST_SUBDIR)/tk && \
23249 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23250 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23251 "RANLIB=$${RANLIB}" \
23252 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23253 installcheck) \
23254 || exit 1
23256 @endif tk
23258 .PHONY: maybe-mostlyclean-tk mostlyclean-tk
23259 maybe-mostlyclean-tk:
23260 @if tk
23261 maybe-mostlyclean-tk: mostlyclean-tk
23263 mostlyclean-tk:
23264 @[ -f ./tk/Makefile ] || exit 0; \
23265 r=`${PWD_COMMAND}`; export r; \
23266 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23267 $(SET_LIB_PATH) \
23268 $(HOST_EXPORTS) \
23269 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23270 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23271 done; \
23272 echo "Doing mostlyclean in tk" ; \
23273 (cd $(HOST_SUBDIR)/tk && \
23274 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23275 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23276 "RANLIB=$${RANLIB}" \
23277 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23278 mostlyclean) \
23279 || exit 1
23281 @endif tk
23283 .PHONY: maybe-clean-tk clean-tk
23284 maybe-clean-tk:
23285 @if tk
23286 maybe-clean-tk: clean-tk
23288 clean-tk:
23289 @[ -f ./tk/Makefile ] || exit 0; \
23290 r=`${PWD_COMMAND}`; export r; \
23291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23292 $(SET_LIB_PATH) \
23293 $(HOST_EXPORTS) \
23294 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23295 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23296 done; \
23297 echo "Doing clean in tk" ; \
23298 (cd $(HOST_SUBDIR)/tk && \
23299 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23300 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23301 "RANLIB=$${RANLIB}" \
23302 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23303 clean) \
23304 || exit 1
23306 @endif tk
23308 .PHONY: maybe-distclean-tk distclean-tk
23309 maybe-distclean-tk:
23310 @if tk
23311 maybe-distclean-tk: distclean-tk
23313 distclean-tk:
23314 @[ -f ./tk/Makefile ] || exit 0; \
23315 r=`${PWD_COMMAND}`; export r; \
23316 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23317 $(SET_LIB_PATH) \
23318 $(HOST_EXPORTS) \
23319 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23320 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23321 done; \
23322 echo "Doing distclean in tk" ; \
23323 (cd $(HOST_SUBDIR)/tk && \
23324 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23325 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23326 "RANLIB=$${RANLIB}" \
23327 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23328 distclean) \
23329 || exit 1
23331 @endif tk
23333 .PHONY: maybe-maintainer-clean-tk maintainer-clean-tk
23334 maybe-maintainer-clean-tk:
23335 @if tk
23336 maybe-maintainer-clean-tk: maintainer-clean-tk
23338 maintainer-clean-tk:
23339 @[ -f ./tk/Makefile ] || exit 0; \
23340 r=`${PWD_COMMAND}`; export r; \
23341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23342 $(SET_LIB_PATH) \
23343 $(HOST_EXPORTS) \
23344 for flag in $(EXTRA_HOST_FLAGS) $(X11_FLAGS_TO_PASS); do \
23345 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23346 done; \
23347 echo "Doing maintainer-clean in tk" ; \
23348 (cd $(HOST_SUBDIR)/tk && \
23349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23351 "RANLIB=$${RANLIB}" \
23352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23353 maintainer-clean) \
23354 || exit 1
23356 @endif tk
23359 .PHONY: configure-libtermcap maybe-configure-libtermcap
23360 maybe-configure-libtermcap:
23361 @if libtermcap
23362 maybe-configure-libtermcap: configure-libtermcap
23363 configure-libtermcap:
23364 @test ! -f $(HOST_SUBDIR)/libtermcap/Makefile || exit 0; \
23365 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/libtermcap ; \
23366 r=`${PWD_COMMAND}`; export r; \
23367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23368 $(HOST_EXPORTS) \
23369 echo Configuring in libtermcap; \
23370 cd $(HOST_SUBDIR)/libtermcap || exit 1; \
23371 case $(srcdir) in \
23372 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23373 *) topdir=`echo $(HOST_SUBDIR)/libtermcap/ | \
23374 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23375 esac; \
23376 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
23377 libsrcdir="$$s/libtermcap"; \
23378 $(SHELL) $${libsrcdir}/configure \
23379 $(HOST_CONFIGARGS) $${srcdiroption} \
23380 || exit 1
23381 @endif libtermcap
23383 .PHONY: all-libtermcap maybe-all-libtermcap
23384 maybe-all-libtermcap:
23385 @if libtermcap
23386 TARGET-libtermcap=all
23387 maybe-all-libtermcap: all-libtermcap
23388 all-libtermcap: configure-libtermcap
23389 @r=`${PWD_COMMAND}`; export r; \
23390 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23391 $(SET_LIB_PATH) \
23392 $(HOST_EXPORTS) \
23393 (cd $(HOST_SUBDIR)/libtermcap && \
23394 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-libtermcap))
23395 @endif libtermcap
23397 .PHONY: check-libtermcap maybe-check-libtermcap
23398 maybe-check-libtermcap:
23399 @if libtermcap
23400 maybe-check-libtermcap: check-libtermcap
23402 check-libtermcap:
23404 @endif libtermcap
23406 .PHONY: install-libtermcap maybe-install-libtermcap
23407 maybe-install-libtermcap:
23408 @if libtermcap
23409 maybe-install-libtermcap: install-libtermcap
23411 install-libtermcap: installdirs
23412 @r=`${PWD_COMMAND}`; export r; \
23413 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23414 $(SET_LIB_PATH) \
23415 $(HOST_EXPORTS) \
23416 (cd $(HOST_SUBDIR)/libtermcap && \
23417 $(MAKE) $(FLAGS_TO_PASS) install)
23419 @endif libtermcap
23421 # Other targets (info, dvi, etc.)
23423 .PHONY: maybe-info-libtermcap info-libtermcap
23424 maybe-info-libtermcap:
23425 @if libtermcap
23426 maybe-info-libtermcap: info-libtermcap
23428 info-libtermcap: \
23429 configure-libtermcap
23430 @[ -f ./libtermcap/Makefile ] || exit 0; \
23431 r=`${PWD_COMMAND}`; export r; \
23432 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23433 $(SET_LIB_PATH) \
23434 $(HOST_EXPORTS) \
23435 for flag in $(EXTRA_HOST_FLAGS) ; do \
23436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23437 done; \
23438 echo "Doing info in libtermcap" ; \
23439 (cd $(HOST_SUBDIR)/libtermcap && \
23440 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23441 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23442 "RANLIB=$${RANLIB}" \
23443 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23444 info) \
23445 || exit 1
23447 @endif libtermcap
23449 .PHONY: maybe-dvi-libtermcap dvi-libtermcap
23450 maybe-dvi-libtermcap:
23451 @if libtermcap
23452 maybe-dvi-libtermcap: dvi-libtermcap
23454 dvi-libtermcap: \
23455 configure-libtermcap
23456 @[ -f ./libtermcap/Makefile ] || exit 0; \
23457 r=`${PWD_COMMAND}`; export r; \
23458 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23459 $(SET_LIB_PATH) \
23460 $(HOST_EXPORTS) \
23461 for flag in $(EXTRA_HOST_FLAGS) ; do \
23462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23463 done; \
23464 echo "Doing dvi in libtermcap" ; \
23465 (cd $(HOST_SUBDIR)/libtermcap && \
23466 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23467 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23468 "RANLIB=$${RANLIB}" \
23469 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23470 dvi) \
23471 || exit 1
23473 @endif libtermcap
23475 .PHONY: maybe-html-libtermcap html-libtermcap
23476 maybe-html-libtermcap:
23477 @if libtermcap
23478 maybe-html-libtermcap: html-libtermcap
23480 html-libtermcap: \
23481 configure-libtermcap
23482 @[ -f ./libtermcap/Makefile ] || exit 0; \
23483 r=`${PWD_COMMAND}`; export r; \
23484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23485 $(SET_LIB_PATH) \
23486 $(HOST_EXPORTS) \
23487 for flag in $(EXTRA_HOST_FLAGS) ; do \
23488 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23489 done; \
23490 echo "Doing html in libtermcap" ; \
23491 (cd $(HOST_SUBDIR)/libtermcap && \
23492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23494 "RANLIB=$${RANLIB}" \
23495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23496 html) \
23497 || exit 1
23499 @endif libtermcap
23501 .PHONY: maybe-TAGS-libtermcap TAGS-libtermcap
23502 maybe-TAGS-libtermcap:
23503 @if libtermcap
23504 maybe-TAGS-libtermcap: TAGS-libtermcap
23506 TAGS-libtermcap: \
23507 configure-libtermcap
23508 @[ -f ./libtermcap/Makefile ] || exit 0; \
23509 r=`${PWD_COMMAND}`; export r; \
23510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23511 $(SET_LIB_PATH) \
23512 $(HOST_EXPORTS) \
23513 for flag in $(EXTRA_HOST_FLAGS) ; do \
23514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23515 done; \
23516 echo "Doing TAGS in libtermcap" ; \
23517 (cd $(HOST_SUBDIR)/libtermcap && \
23518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23520 "RANLIB=$${RANLIB}" \
23521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23522 TAGS) \
23523 || exit 1
23525 @endif libtermcap
23527 .PHONY: maybe-install-info-libtermcap install-info-libtermcap
23528 maybe-install-info-libtermcap:
23529 @if libtermcap
23530 maybe-install-info-libtermcap: install-info-libtermcap
23532 install-info-libtermcap: \
23533 configure-libtermcap \
23534 info-libtermcap
23535 @[ -f ./libtermcap/Makefile ] || exit 0; \
23536 r=`${PWD_COMMAND}`; export r; \
23537 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23538 $(SET_LIB_PATH) \
23539 $(HOST_EXPORTS) \
23540 for flag in $(EXTRA_HOST_FLAGS) ; do \
23541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23542 done; \
23543 echo "Doing install-info in libtermcap" ; \
23544 (cd $(HOST_SUBDIR)/libtermcap && \
23545 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23546 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23547 "RANLIB=$${RANLIB}" \
23548 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23549 install-info) \
23550 || exit 1
23552 @endif libtermcap
23554 .PHONY: maybe-installcheck-libtermcap installcheck-libtermcap
23555 maybe-installcheck-libtermcap:
23556 @if libtermcap
23557 maybe-installcheck-libtermcap: installcheck-libtermcap
23559 installcheck-libtermcap: \
23560 configure-libtermcap
23561 @[ -f ./libtermcap/Makefile ] || exit 0; \
23562 r=`${PWD_COMMAND}`; export r; \
23563 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23564 $(SET_LIB_PATH) \
23565 $(HOST_EXPORTS) \
23566 for flag in $(EXTRA_HOST_FLAGS) ; do \
23567 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23568 done; \
23569 echo "Doing installcheck in libtermcap" ; \
23570 (cd $(HOST_SUBDIR)/libtermcap && \
23571 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23572 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23573 "RANLIB=$${RANLIB}" \
23574 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23575 installcheck) \
23576 || exit 1
23578 @endif libtermcap
23580 .PHONY: maybe-mostlyclean-libtermcap mostlyclean-libtermcap
23581 maybe-mostlyclean-libtermcap:
23582 @if libtermcap
23583 maybe-mostlyclean-libtermcap: mostlyclean-libtermcap
23585 # libtermcap doesn't support mostlyclean.
23586 mostlyclean-libtermcap:
23588 @endif libtermcap
23590 .PHONY: maybe-clean-libtermcap clean-libtermcap
23591 maybe-clean-libtermcap:
23592 @if libtermcap
23593 maybe-clean-libtermcap: clean-libtermcap
23595 # libtermcap doesn't support clean.
23596 clean-libtermcap:
23598 @endif libtermcap
23600 .PHONY: maybe-distclean-libtermcap distclean-libtermcap
23601 maybe-distclean-libtermcap:
23602 @if libtermcap
23603 maybe-distclean-libtermcap: distclean-libtermcap
23605 # libtermcap doesn't support distclean.
23606 distclean-libtermcap:
23608 @endif libtermcap
23610 .PHONY: maybe-maintainer-clean-libtermcap maintainer-clean-libtermcap
23611 maybe-maintainer-clean-libtermcap:
23612 @if libtermcap
23613 maybe-maintainer-clean-libtermcap: maintainer-clean-libtermcap
23615 # libtermcap doesn't support maintainer-clean.
23616 maintainer-clean-libtermcap:
23618 @endif libtermcap
23621 .PHONY: configure-utils maybe-configure-utils
23622 maybe-configure-utils:
23623 @if utils
23624 maybe-configure-utils: configure-utils
23625 configure-utils:
23626 @test ! -f $(HOST_SUBDIR)/utils/Makefile || exit 0; \
23627 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/utils ; \
23628 r=`${PWD_COMMAND}`; export r; \
23629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23630 $(HOST_EXPORTS) \
23631 echo Configuring in utils; \
23632 cd $(HOST_SUBDIR)/utils || exit 1; \
23633 case $(srcdir) in \
23634 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23635 *) topdir=`echo $(HOST_SUBDIR)/utils/ | \
23636 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23637 esac; \
23638 srcdiroption="--srcdir=$${topdir}/utils"; \
23639 libsrcdir="$$s/utils"; \
23640 $(SHELL) $${libsrcdir}/configure \
23641 $(HOST_CONFIGARGS) $${srcdiroption} \
23642 || exit 1
23643 @endif utils
23645 .PHONY: all-utils maybe-all-utils
23646 maybe-all-utils:
23647 @if utils
23648 TARGET-utils=all
23649 maybe-all-utils: all-utils
23650 all-utils: configure-utils
23651 @r=`${PWD_COMMAND}`; export r; \
23652 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23653 $(SET_LIB_PATH) \
23654 $(HOST_EXPORTS) \
23655 (cd $(HOST_SUBDIR)/utils && \
23656 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-utils))
23657 @endif utils
23659 .PHONY: check-utils maybe-check-utils
23660 maybe-check-utils:
23661 @if utils
23662 maybe-check-utils: check-utils
23664 check-utils:
23666 @endif utils
23668 .PHONY: install-utils maybe-install-utils
23669 maybe-install-utils:
23670 @if utils
23671 maybe-install-utils: install-utils
23673 install-utils: installdirs
23674 @r=`${PWD_COMMAND}`; export r; \
23675 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23676 $(SET_LIB_PATH) \
23677 $(HOST_EXPORTS) \
23678 (cd $(HOST_SUBDIR)/utils && \
23679 $(MAKE) $(FLAGS_TO_PASS) install)
23681 @endif utils
23683 # Other targets (info, dvi, etc.)
23685 .PHONY: maybe-info-utils info-utils
23686 maybe-info-utils:
23687 @if utils
23688 maybe-info-utils: info-utils
23690 info-utils: \
23691 configure-utils
23692 @[ -f ./utils/Makefile ] || exit 0; \
23693 r=`${PWD_COMMAND}`; export r; \
23694 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23695 $(SET_LIB_PATH) \
23696 $(HOST_EXPORTS) \
23697 for flag in $(EXTRA_HOST_FLAGS) ; do \
23698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23699 done; \
23700 echo "Doing info in utils" ; \
23701 (cd $(HOST_SUBDIR)/utils && \
23702 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23703 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23704 "RANLIB=$${RANLIB}" \
23705 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23706 info) \
23707 || exit 1
23709 @endif utils
23711 .PHONY: maybe-dvi-utils dvi-utils
23712 maybe-dvi-utils:
23713 @if utils
23714 maybe-dvi-utils: dvi-utils
23716 dvi-utils: \
23717 configure-utils
23718 @[ -f ./utils/Makefile ] || exit 0; \
23719 r=`${PWD_COMMAND}`; export r; \
23720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23721 $(SET_LIB_PATH) \
23722 $(HOST_EXPORTS) \
23723 for flag in $(EXTRA_HOST_FLAGS) ; do \
23724 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23725 done; \
23726 echo "Doing dvi in utils" ; \
23727 (cd $(HOST_SUBDIR)/utils && \
23728 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23729 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23730 "RANLIB=$${RANLIB}" \
23731 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23732 dvi) \
23733 || exit 1
23735 @endif utils
23737 .PHONY: maybe-html-utils html-utils
23738 maybe-html-utils:
23739 @if utils
23740 maybe-html-utils: html-utils
23742 html-utils: \
23743 configure-utils
23744 @[ -f ./utils/Makefile ] || exit 0; \
23745 r=`${PWD_COMMAND}`; export r; \
23746 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23747 $(SET_LIB_PATH) \
23748 $(HOST_EXPORTS) \
23749 for flag in $(EXTRA_HOST_FLAGS) ; do \
23750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23751 done; \
23752 echo "Doing html in utils" ; \
23753 (cd $(HOST_SUBDIR)/utils && \
23754 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23755 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23756 "RANLIB=$${RANLIB}" \
23757 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23758 html) \
23759 || exit 1
23761 @endif utils
23763 .PHONY: maybe-TAGS-utils TAGS-utils
23764 maybe-TAGS-utils:
23765 @if utils
23766 maybe-TAGS-utils: TAGS-utils
23768 TAGS-utils: \
23769 configure-utils
23770 @[ -f ./utils/Makefile ] || exit 0; \
23771 r=`${PWD_COMMAND}`; export r; \
23772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23773 $(SET_LIB_PATH) \
23774 $(HOST_EXPORTS) \
23775 for flag in $(EXTRA_HOST_FLAGS) ; do \
23776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23777 done; \
23778 echo "Doing TAGS in utils" ; \
23779 (cd $(HOST_SUBDIR)/utils && \
23780 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23781 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23782 "RANLIB=$${RANLIB}" \
23783 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23784 TAGS) \
23785 || exit 1
23787 @endif utils
23789 .PHONY: maybe-install-info-utils install-info-utils
23790 maybe-install-info-utils:
23791 @if utils
23792 maybe-install-info-utils: install-info-utils
23794 install-info-utils: \
23795 configure-utils \
23796 info-utils
23797 @[ -f ./utils/Makefile ] || exit 0; \
23798 r=`${PWD_COMMAND}`; export r; \
23799 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23800 $(SET_LIB_PATH) \
23801 $(HOST_EXPORTS) \
23802 for flag in $(EXTRA_HOST_FLAGS) ; do \
23803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23804 done; \
23805 echo "Doing install-info in utils" ; \
23806 (cd $(HOST_SUBDIR)/utils && \
23807 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23808 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23809 "RANLIB=$${RANLIB}" \
23810 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23811 install-info) \
23812 || exit 1
23814 @endif utils
23816 .PHONY: maybe-installcheck-utils installcheck-utils
23817 maybe-installcheck-utils:
23818 @if utils
23819 maybe-installcheck-utils: installcheck-utils
23821 installcheck-utils: \
23822 configure-utils
23823 @[ -f ./utils/Makefile ] || exit 0; \
23824 r=`${PWD_COMMAND}`; export r; \
23825 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23826 $(SET_LIB_PATH) \
23827 $(HOST_EXPORTS) \
23828 for flag in $(EXTRA_HOST_FLAGS) ; do \
23829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23830 done; \
23831 echo "Doing installcheck in utils" ; \
23832 (cd $(HOST_SUBDIR)/utils && \
23833 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23834 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23835 "RANLIB=$${RANLIB}" \
23836 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23837 installcheck) \
23838 || exit 1
23840 @endif utils
23842 .PHONY: maybe-mostlyclean-utils mostlyclean-utils
23843 maybe-mostlyclean-utils:
23844 @if utils
23845 maybe-mostlyclean-utils: mostlyclean-utils
23847 mostlyclean-utils:
23848 @[ -f ./utils/Makefile ] || exit 0; \
23849 r=`${PWD_COMMAND}`; export r; \
23850 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23851 $(SET_LIB_PATH) \
23852 $(HOST_EXPORTS) \
23853 for flag in $(EXTRA_HOST_FLAGS) ; do \
23854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23855 done; \
23856 echo "Doing mostlyclean in utils" ; \
23857 (cd $(HOST_SUBDIR)/utils && \
23858 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23859 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23860 "RANLIB=$${RANLIB}" \
23861 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23862 mostlyclean) \
23863 || exit 1
23865 @endif utils
23867 .PHONY: maybe-clean-utils clean-utils
23868 maybe-clean-utils:
23869 @if utils
23870 maybe-clean-utils: clean-utils
23872 clean-utils:
23873 @[ -f ./utils/Makefile ] || exit 0; \
23874 r=`${PWD_COMMAND}`; export r; \
23875 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23876 $(SET_LIB_PATH) \
23877 $(HOST_EXPORTS) \
23878 for flag in $(EXTRA_HOST_FLAGS) ; do \
23879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23880 done; \
23881 echo "Doing clean in utils" ; \
23882 (cd $(HOST_SUBDIR)/utils && \
23883 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23884 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23885 "RANLIB=$${RANLIB}" \
23886 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23887 clean) \
23888 || exit 1
23890 @endif utils
23892 .PHONY: maybe-distclean-utils distclean-utils
23893 maybe-distclean-utils:
23894 @if utils
23895 maybe-distclean-utils: distclean-utils
23897 distclean-utils:
23898 @[ -f ./utils/Makefile ] || exit 0; \
23899 r=`${PWD_COMMAND}`; export r; \
23900 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23901 $(SET_LIB_PATH) \
23902 $(HOST_EXPORTS) \
23903 for flag in $(EXTRA_HOST_FLAGS) ; do \
23904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23905 done; \
23906 echo "Doing distclean in utils" ; \
23907 (cd $(HOST_SUBDIR)/utils && \
23908 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23909 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23910 "RANLIB=$${RANLIB}" \
23911 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23912 distclean) \
23913 || exit 1
23915 @endif utils
23917 .PHONY: maybe-maintainer-clean-utils maintainer-clean-utils
23918 maybe-maintainer-clean-utils:
23919 @if utils
23920 maybe-maintainer-clean-utils: maintainer-clean-utils
23922 maintainer-clean-utils:
23923 @[ -f ./utils/Makefile ] || exit 0; \
23924 r=`${PWD_COMMAND}`; export r; \
23925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23926 $(SET_LIB_PATH) \
23927 $(HOST_EXPORTS) \
23928 for flag in $(EXTRA_HOST_FLAGS) ; do \
23929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
23930 done; \
23931 echo "Doing maintainer-clean in utils" ; \
23932 (cd $(HOST_SUBDIR)/utils && \
23933 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
23934 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
23935 "RANLIB=$${RANLIB}" \
23936 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
23937 maintainer-clean) \
23938 || exit 1
23940 @endif utils
23943 .PHONY: configure-gnattools maybe-configure-gnattools
23944 maybe-configure-gnattools:
23945 @if gnattools
23946 maybe-configure-gnattools: configure-gnattools
23947 configure-gnattools:
23948 @test ! -f $(HOST_SUBDIR)/gnattools/Makefile || exit 0; \
23949 $(SHELL) $(srcdir)/mkinstalldirs $(HOST_SUBDIR)/gnattools ; \
23950 r=`${PWD_COMMAND}`; export r; \
23951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23952 $(HOST_EXPORTS) \
23953 echo Configuring in gnattools; \
23954 cd $(HOST_SUBDIR)/gnattools || exit 1; \
23955 case $(srcdir) in \
23956 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
23957 *) topdir=`echo $(HOST_SUBDIR)/gnattools/ | \
23958 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
23959 esac; \
23960 srcdiroption="--srcdir=$${topdir}/gnattools"; \
23961 libsrcdir="$$s/gnattools"; \
23962 $(SHELL) $${libsrcdir}/configure \
23963 $(HOST_CONFIGARGS) $${srcdiroption} \
23964 || exit 1
23965 @endif gnattools
23967 .PHONY: all-gnattools maybe-all-gnattools
23968 maybe-all-gnattools:
23969 @if gnattools
23970 TARGET-gnattools=all
23971 maybe-all-gnattools: all-gnattools
23972 all-gnattools: configure-gnattools
23973 @r=`${PWD_COMMAND}`; export r; \
23974 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23975 $(SET_LIB_PATH) \
23976 $(HOST_EXPORTS) \
23977 (cd $(HOST_SUBDIR)/gnattools && \
23978 $(MAKE) $(FLAGS_TO_PASS) $(TARGET-gnattools))
23979 @endif gnattools
23981 .PHONY: check-gnattools maybe-check-gnattools
23982 maybe-check-gnattools:
23983 @if gnattools
23984 maybe-check-gnattools: check-gnattools
23986 check-gnattools:
23987 @r=`${PWD_COMMAND}`; export r; \
23988 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
23989 $(SET_LIB_PATH) \
23990 $(HOST_EXPORTS) \
23991 (cd $(HOST_SUBDIR)/gnattools && \
23992 $(MAKE) $(FLAGS_TO_PASS) check)
23994 @endif gnattools
23996 .PHONY: install-gnattools maybe-install-gnattools
23997 maybe-install-gnattools:
23998 @if gnattools
23999 maybe-install-gnattools: install-gnattools
24001 install-gnattools: installdirs
24002 @r=`${PWD_COMMAND}`; export r; \
24003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24004 $(SET_LIB_PATH) \
24005 $(HOST_EXPORTS) \
24006 (cd $(HOST_SUBDIR)/gnattools && \
24007 $(MAKE) $(FLAGS_TO_PASS) install)
24009 @endif gnattools
24011 # Other targets (info, dvi, etc.)
24013 .PHONY: maybe-info-gnattools info-gnattools
24014 maybe-info-gnattools:
24015 @if gnattools
24016 maybe-info-gnattools: info-gnattools
24018 info-gnattools: \
24019 configure-gnattools
24020 @[ -f ./gnattools/Makefile ] || exit 0; \
24021 r=`${PWD_COMMAND}`; export r; \
24022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24023 $(SET_LIB_PATH) \
24024 $(HOST_EXPORTS) \
24025 for flag in $(EXTRA_HOST_FLAGS) ; do \
24026 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24027 done; \
24028 echo "Doing info in gnattools" ; \
24029 (cd $(HOST_SUBDIR)/gnattools && \
24030 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24031 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24032 "RANLIB=$${RANLIB}" \
24033 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24034 info) \
24035 || exit 1
24037 @endif gnattools
24039 .PHONY: maybe-dvi-gnattools dvi-gnattools
24040 maybe-dvi-gnattools:
24041 @if gnattools
24042 maybe-dvi-gnattools: dvi-gnattools
24044 dvi-gnattools: \
24045 configure-gnattools
24046 @[ -f ./gnattools/Makefile ] || exit 0; \
24047 r=`${PWD_COMMAND}`; export r; \
24048 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24049 $(SET_LIB_PATH) \
24050 $(HOST_EXPORTS) \
24051 for flag in $(EXTRA_HOST_FLAGS) ; do \
24052 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24053 done; \
24054 echo "Doing dvi in gnattools" ; \
24055 (cd $(HOST_SUBDIR)/gnattools && \
24056 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24057 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24058 "RANLIB=$${RANLIB}" \
24059 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24060 dvi) \
24061 || exit 1
24063 @endif gnattools
24065 .PHONY: maybe-html-gnattools html-gnattools
24066 maybe-html-gnattools:
24067 @if gnattools
24068 maybe-html-gnattools: html-gnattools
24070 html-gnattools: \
24071 configure-gnattools
24072 @[ -f ./gnattools/Makefile ] || exit 0; \
24073 r=`${PWD_COMMAND}`; export r; \
24074 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24075 $(SET_LIB_PATH) \
24076 $(HOST_EXPORTS) \
24077 for flag in $(EXTRA_HOST_FLAGS) ; do \
24078 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24079 done; \
24080 echo "Doing html in gnattools" ; \
24081 (cd $(HOST_SUBDIR)/gnattools && \
24082 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24083 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24084 "RANLIB=$${RANLIB}" \
24085 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24086 html) \
24087 || exit 1
24089 @endif gnattools
24091 .PHONY: maybe-TAGS-gnattools TAGS-gnattools
24092 maybe-TAGS-gnattools:
24093 @if gnattools
24094 maybe-TAGS-gnattools: TAGS-gnattools
24096 TAGS-gnattools: \
24097 configure-gnattools
24098 @[ -f ./gnattools/Makefile ] || exit 0; \
24099 r=`${PWD_COMMAND}`; export r; \
24100 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24101 $(SET_LIB_PATH) \
24102 $(HOST_EXPORTS) \
24103 for flag in $(EXTRA_HOST_FLAGS) ; do \
24104 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24105 done; \
24106 echo "Doing TAGS in gnattools" ; \
24107 (cd $(HOST_SUBDIR)/gnattools && \
24108 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24109 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24110 "RANLIB=$${RANLIB}" \
24111 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24112 TAGS) \
24113 || exit 1
24115 @endif gnattools
24117 .PHONY: maybe-install-info-gnattools install-info-gnattools
24118 maybe-install-info-gnattools:
24119 @if gnattools
24120 maybe-install-info-gnattools: install-info-gnattools
24122 install-info-gnattools: \
24123 configure-gnattools \
24124 info-gnattools
24125 @[ -f ./gnattools/Makefile ] || exit 0; \
24126 r=`${PWD_COMMAND}`; export r; \
24127 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24128 $(SET_LIB_PATH) \
24129 $(HOST_EXPORTS) \
24130 for flag in $(EXTRA_HOST_FLAGS) ; do \
24131 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24132 done; \
24133 echo "Doing install-info in gnattools" ; \
24134 (cd $(HOST_SUBDIR)/gnattools && \
24135 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24136 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24137 "RANLIB=$${RANLIB}" \
24138 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24139 install-info) \
24140 || exit 1
24142 @endif gnattools
24144 .PHONY: maybe-installcheck-gnattools installcheck-gnattools
24145 maybe-installcheck-gnattools:
24146 @if gnattools
24147 maybe-installcheck-gnattools: installcheck-gnattools
24149 installcheck-gnattools: \
24150 configure-gnattools
24151 @[ -f ./gnattools/Makefile ] || exit 0; \
24152 r=`${PWD_COMMAND}`; export r; \
24153 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24154 $(SET_LIB_PATH) \
24155 $(HOST_EXPORTS) \
24156 for flag in $(EXTRA_HOST_FLAGS) ; do \
24157 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24158 done; \
24159 echo "Doing installcheck in gnattools" ; \
24160 (cd $(HOST_SUBDIR)/gnattools && \
24161 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24162 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24163 "RANLIB=$${RANLIB}" \
24164 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24165 installcheck) \
24166 || exit 1
24168 @endif gnattools
24170 .PHONY: maybe-mostlyclean-gnattools mostlyclean-gnattools
24171 maybe-mostlyclean-gnattools:
24172 @if gnattools
24173 maybe-mostlyclean-gnattools: mostlyclean-gnattools
24175 mostlyclean-gnattools:
24176 @[ -f ./gnattools/Makefile ] || exit 0; \
24177 r=`${PWD_COMMAND}`; export r; \
24178 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24179 $(SET_LIB_PATH) \
24180 $(HOST_EXPORTS) \
24181 for flag in $(EXTRA_HOST_FLAGS) ; do \
24182 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24183 done; \
24184 echo "Doing mostlyclean in gnattools" ; \
24185 (cd $(HOST_SUBDIR)/gnattools && \
24186 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24187 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24188 "RANLIB=$${RANLIB}" \
24189 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24190 mostlyclean) \
24191 || exit 1
24193 @endif gnattools
24195 .PHONY: maybe-clean-gnattools clean-gnattools
24196 maybe-clean-gnattools:
24197 @if gnattools
24198 maybe-clean-gnattools: clean-gnattools
24200 clean-gnattools:
24201 @[ -f ./gnattools/Makefile ] || exit 0; \
24202 r=`${PWD_COMMAND}`; export r; \
24203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24204 $(SET_LIB_PATH) \
24205 $(HOST_EXPORTS) \
24206 for flag in $(EXTRA_HOST_FLAGS) ; do \
24207 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24208 done; \
24209 echo "Doing clean in gnattools" ; \
24210 (cd $(HOST_SUBDIR)/gnattools && \
24211 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24212 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24213 "RANLIB=$${RANLIB}" \
24214 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24215 clean) \
24216 || exit 1
24218 @endif gnattools
24220 .PHONY: maybe-distclean-gnattools distclean-gnattools
24221 maybe-distclean-gnattools:
24222 @if gnattools
24223 maybe-distclean-gnattools: distclean-gnattools
24225 distclean-gnattools:
24226 @[ -f ./gnattools/Makefile ] || exit 0; \
24227 r=`${PWD_COMMAND}`; export r; \
24228 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24229 $(SET_LIB_PATH) \
24230 $(HOST_EXPORTS) \
24231 for flag in $(EXTRA_HOST_FLAGS) ; do \
24232 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24233 done; \
24234 echo "Doing distclean in gnattools" ; \
24235 (cd $(HOST_SUBDIR)/gnattools && \
24236 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24237 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24238 "RANLIB=$${RANLIB}" \
24239 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24240 distclean) \
24241 || exit 1
24243 @endif gnattools
24245 .PHONY: maybe-maintainer-clean-gnattools maintainer-clean-gnattools
24246 maybe-maintainer-clean-gnattools:
24247 @if gnattools
24248 maybe-maintainer-clean-gnattools: maintainer-clean-gnattools
24250 maintainer-clean-gnattools:
24251 @[ -f ./gnattools/Makefile ] || exit 0; \
24252 r=`${PWD_COMMAND}`; export r; \
24253 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24254 $(SET_LIB_PATH) \
24255 $(HOST_EXPORTS) \
24256 for flag in $(EXTRA_HOST_FLAGS) ; do \
24257 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24258 done; \
24259 echo "Doing maintainer-clean in gnattools" ; \
24260 (cd $(HOST_SUBDIR)/gnattools && \
24261 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24262 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24263 "RANLIB=$${RANLIB}" \
24264 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24265 maintainer-clean) \
24266 || exit 1
24268 @endif gnattools
24272 # ---------------------------------------
24273 # Modules which run on the target machine
24274 # ---------------------------------------
24276 .PHONY: configure-target-libstdc++-v3 maybe-configure-target-libstdc++-v3
24277 maybe-configure-target-libstdc++-v3:
24278 @if target-libstdc++-v3
24279 maybe-configure-target-libstdc++-v3: configure-target-libstdc++-v3
24281 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24282 $(TARGET_SUBDIR)/libstdc++-v3/multilib.out: multilib.out
24283 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24284 rm -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || : ; \
24285 cp multilib.out $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24287 configure-target-libstdc++-v3: $(TARGET_SUBDIR)/libstdc++-v3/multilib.out
24288 @test ! -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile || exit 0; \
24289 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libstdc++-v3 ; \
24290 r=`${PWD_COMMAND}`; export r; \
24291 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24292 $(SET_LIB_PATH) \
24293 $(RAW_CXX_TARGET_EXPORTS) \
24294 echo Configuring in $(TARGET_SUBDIR)/libstdc++-v3; \
24295 cd "$(TARGET_SUBDIR)/libstdc++-v3" || exit 1; \
24296 case $(srcdir) in \
24297 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24298 *) topdir=`echo $(TARGET_SUBDIR)/libstdc++-v3/ | \
24299 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24300 esac; \
24301 srcdiroption="--srcdir=$${topdir}/libstdc++-v3"; \
24302 libsrcdir="$$s/libstdc++-v3"; \
24303 rm -f no-such-file || : ; \
24304 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24305 $(TARGET_CONFIGARGS) $${srcdiroption} \
24306 --with-target-subdir="$(TARGET_SUBDIR)" \
24307 || exit 1
24308 @endif target-libstdc++-v3
24310 .PHONY: all-target-libstdc++-v3 maybe-all-target-libstdc++-v3
24311 maybe-all-target-libstdc++-v3:
24312 @if target-libstdc++-v3
24313 TARGET-target-libstdc++-v3=all
24314 maybe-all-target-libstdc++-v3: all-target-libstdc++-v3
24315 all-target-libstdc++-v3: configure-target-libstdc++-v3
24316 @r=`${PWD_COMMAND}`; export r; \
24317 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24318 $(SET_LIB_PATH) \
24319 $(RAW_CXX_TARGET_EXPORTS) \
24320 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24321 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libstdc++-v3))
24322 @endif target-libstdc++-v3
24324 .PHONY: check-target-libstdc++-v3 maybe-check-target-libstdc++-v3
24325 maybe-check-target-libstdc++-v3:
24326 @if target-libstdc++-v3
24327 maybe-check-target-libstdc++-v3: check-target-libstdc++-v3
24329 check-target-libstdc++-v3:
24330 @r=`${PWD_COMMAND}`; export r; \
24331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24332 $(SET_LIB_PATH) \
24333 $(RAW_CXX_TARGET_EXPORTS) \
24334 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24335 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
24337 @endif target-libstdc++-v3
24339 .PHONY: install-target-libstdc++-v3 maybe-install-target-libstdc++-v3
24340 maybe-install-target-libstdc++-v3:
24341 @if target-libstdc++-v3
24342 maybe-install-target-libstdc++-v3: install-target-libstdc++-v3
24344 install-target-libstdc++-v3: installdirs
24345 @r=`${PWD_COMMAND}`; export r; \
24346 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24347 $(SET_LIB_PATH) \
24348 $(RAW_CXX_TARGET_EXPORTS) \
24349 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24350 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24352 @endif target-libstdc++-v3
24354 # Other targets (info, dvi, etc.)
24356 .PHONY: maybe-info-target-libstdc++-v3 info-target-libstdc++-v3
24357 maybe-info-target-libstdc++-v3:
24358 @if target-libstdc++-v3
24359 maybe-info-target-libstdc++-v3: info-target-libstdc++-v3
24361 info-target-libstdc++-v3: \
24362 configure-target-libstdc++-v3
24363 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24364 r=`${PWD_COMMAND}`; export r; \
24365 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24366 $(SET_LIB_PATH) \
24367 $(RAW_CXX_TARGET_EXPORTS) \
24368 echo "Doing info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24369 for flag in $(EXTRA_TARGET_FLAGS); do \
24370 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24371 done; \
24372 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 info) \
24378 || exit 1
24380 @endif target-libstdc++-v3
24382 .PHONY: maybe-dvi-target-libstdc++-v3 dvi-target-libstdc++-v3
24383 maybe-dvi-target-libstdc++-v3:
24384 @if target-libstdc++-v3
24385 maybe-dvi-target-libstdc++-v3: dvi-target-libstdc++-v3
24387 dvi-target-libstdc++-v3: \
24388 configure-target-libstdc++-v3
24389 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24390 r=`${PWD_COMMAND}`; export r; \
24391 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24392 $(SET_LIB_PATH) \
24393 $(RAW_CXX_TARGET_EXPORTS) \
24394 echo "Doing dvi in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24395 for flag in $(EXTRA_TARGET_FLAGS); do \
24396 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24397 done; \
24398 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24399 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24400 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24401 "RANLIB=$${RANLIB}" \
24402 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24403 dvi) \
24404 || exit 1
24406 @endif target-libstdc++-v3
24408 .PHONY: maybe-html-target-libstdc++-v3 html-target-libstdc++-v3
24409 maybe-html-target-libstdc++-v3:
24410 @if target-libstdc++-v3
24411 maybe-html-target-libstdc++-v3: html-target-libstdc++-v3
24413 html-target-libstdc++-v3: \
24414 configure-target-libstdc++-v3
24415 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24416 r=`${PWD_COMMAND}`; export r; \
24417 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24418 $(SET_LIB_PATH) \
24419 $(RAW_CXX_TARGET_EXPORTS) \
24420 echo "Doing html in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24421 for flag in $(EXTRA_TARGET_FLAGS); do \
24422 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24423 done; \
24424 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24425 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24426 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24427 "RANLIB=$${RANLIB}" \
24428 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24429 html) \
24430 || exit 1
24432 @endif target-libstdc++-v3
24434 .PHONY: maybe-TAGS-target-libstdc++-v3 TAGS-target-libstdc++-v3
24435 maybe-TAGS-target-libstdc++-v3:
24436 @if target-libstdc++-v3
24437 maybe-TAGS-target-libstdc++-v3: TAGS-target-libstdc++-v3
24439 TAGS-target-libstdc++-v3: \
24440 configure-target-libstdc++-v3
24441 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24442 r=`${PWD_COMMAND}`; export r; \
24443 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24444 $(SET_LIB_PATH) \
24445 $(RAW_CXX_TARGET_EXPORTS) \
24446 echo "Doing TAGS in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24447 for flag in $(EXTRA_TARGET_FLAGS); do \
24448 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24449 done; \
24450 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24451 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24452 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24453 "RANLIB=$${RANLIB}" \
24454 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24455 TAGS) \
24456 || exit 1
24458 @endif target-libstdc++-v3
24460 .PHONY: maybe-install-info-target-libstdc++-v3 install-info-target-libstdc++-v3
24461 maybe-install-info-target-libstdc++-v3:
24462 @if target-libstdc++-v3
24463 maybe-install-info-target-libstdc++-v3: install-info-target-libstdc++-v3
24465 install-info-target-libstdc++-v3: \
24466 configure-target-libstdc++-v3 \
24467 info-target-libstdc++-v3
24468 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24469 r=`${PWD_COMMAND}`; export r; \
24470 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24471 $(SET_LIB_PATH) \
24472 $(RAW_CXX_TARGET_EXPORTS) \
24473 echo "Doing install-info in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24474 for flag in $(EXTRA_TARGET_FLAGS); do \
24475 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24476 done; \
24477 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24478 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24479 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24480 "RANLIB=$${RANLIB}" \
24481 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24482 install-info) \
24483 || exit 1
24485 @endif target-libstdc++-v3
24487 .PHONY: maybe-installcheck-target-libstdc++-v3 installcheck-target-libstdc++-v3
24488 maybe-installcheck-target-libstdc++-v3:
24489 @if target-libstdc++-v3
24490 maybe-installcheck-target-libstdc++-v3: installcheck-target-libstdc++-v3
24492 installcheck-target-libstdc++-v3: \
24493 configure-target-libstdc++-v3
24494 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24495 r=`${PWD_COMMAND}`; export r; \
24496 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24497 $(SET_LIB_PATH) \
24498 $(RAW_CXX_TARGET_EXPORTS) \
24499 echo "Doing installcheck in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24500 for flag in $(EXTRA_TARGET_FLAGS); do \
24501 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24502 done; \
24503 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24504 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24505 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24506 "RANLIB=$${RANLIB}" \
24507 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24508 installcheck) \
24509 || exit 1
24511 @endif target-libstdc++-v3
24513 .PHONY: maybe-mostlyclean-target-libstdc++-v3 mostlyclean-target-libstdc++-v3
24514 maybe-mostlyclean-target-libstdc++-v3:
24515 @if target-libstdc++-v3
24516 maybe-mostlyclean-target-libstdc++-v3: mostlyclean-target-libstdc++-v3
24518 mostlyclean-target-libstdc++-v3:
24519 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24520 r=`${PWD_COMMAND}`; export r; \
24521 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24522 $(SET_LIB_PATH) \
24523 $(RAW_CXX_TARGET_EXPORTS) \
24524 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24525 for flag in $(EXTRA_TARGET_FLAGS); do \
24526 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24527 done; \
24528 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24529 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24530 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24531 "RANLIB=$${RANLIB}" \
24532 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24533 mostlyclean) \
24534 || exit 1
24536 @endif target-libstdc++-v3
24538 .PHONY: maybe-clean-target-libstdc++-v3 clean-target-libstdc++-v3
24539 maybe-clean-target-libstdc++-v3:
24540 @if target-libstdc++-v3
24541 maybe-clean-target-libstdc++-v3: clean-target-libstdc++-v3
24543 clean-target-libstdc++-v3:
24544 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24545 r=`${PWD_COMMAND}`; export r; \
24546 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24547 $(SET_LIB_PATH) \
24548 $(RAW_CXX_TARGET_EXPORTS) \
24549 echo "Doing clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24550 for flag in $(EXTRA_TARGET_FLAGS); do \
24551 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24552 done; \
24553 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
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 clean) \
24559 || exit 1
24561 @endif target-libstdc++-v3
24563 .PHONY: maybe-distclean-target-libstdc++-v3 distclean-target-libstdc++-v3
24564 maybe-distclean-target-libstdc++-v3:
24565 @if target-libstdc++-v3
24566 maybe-distclean-target-libstdc++-v3: distclean-target-libstdc++-v3
24568 distclean-target-libstdc++-v3:
24569 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24570 r=`${PWD_COMMAND}`; export r; \
24571 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24572 $(SET_LIB_PATH) \
24573 $(RAW_CXX_TARGET_EXPORTS) \
24574 echo "Doing distclean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24575 for flag in $(EXTRA_TARGET_FLAGS); do \
24576 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24577 done; \
24578 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24579 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24580 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24581 "RANLIB=$${RANLIB}" \
24582 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24583 distclean) \
24584 || exit 1
24586 @endif target-libstdc++-v3
24588 .PHONY: maybe-maintainer-clean-target-libstdc++-v3 maintainer-clean-target-libstdc++-v3
24589 maybe-maintainer-clean-target-libstdc++-v3:
24590 @if target-libstdc++-v3
24591 maybe-maintainer-clean-target-libstdc++-v3: maintainer-clean-target-libstdc++-v3
24593 maintainer-clean-target-libstdc++-v3:
24594 @[ -f $(TARGET_SUBDIR)/libstdc++-v3/Makefile ] || exit 0 ; \
24595 r=`${PWD_COMMAND}`; export r; \
24596 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24597 $(SET_LIB_PATH) \
24598 $(RAW_CXX_TARGET_EXPORTS) \
24599 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libstdc++-v3" ; \
24600 for flag in $(EXTRA_TARGET_FLAGS); do \
24601 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24602 done; \
24603 (cd $(TARGET_SUBDIR)/libstdc++-v3 && \
24604 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24605 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24606 "RANLIB=$${RANLIB}" \
24607 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24608 maintainer-clean) \
24609 || exit 1
24611 @endif target-libstdc++-v3
24614 .PHONY: configure-target-libmudflap maybe-configure-target-libmudflap
24615 maybe-configure-target-libmudflap:
24616 @if target-libmudflap
24617 maybe-configure-target-libmudflap: configure-target-libmudflap
24619 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24620 $(TARGET_SUBDIR)/libmudflap/multilib.out: multilib.out
24621 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24622 rm -f $(TARGET_SUBDIR)/libmudflap/Makefile || : ; \
24623 cp multilib.out $(TARGET_SUBDIR)/libmudflap/multilib.out
24625 configure-target-libmudflap: $(TARGET_SUBDIR)/libmudflap/multilib.out
24626 @test ! -f $(TARGET_SUBDIR)/libmudflap/Makefile || exit 0; \
24627 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libmudflap ; \
24628 r=`${PWD_COMMAND}`; export r; \
24629 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24630 $(SET_LIB_PATH) \
24631 $(NORMAL_TARGET_EXPORTS) \
24632 echo Configuring in $(TARGET_SUBDIR)/libmudflap; \
24633 cd "$(TARGET_SUBDIR)/libmudflap" || exit 1; \
24634 case $(srcdir) in \
24635 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24636 *) topdir=`echo $(TARGET_SUBDIR)/libmudflap/ | \
24637 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24638 esac; \
24639 srcdiroption="--srcdir=$${topdir}/libmudflap"; \
24640 libsrcdir="$$s/libmudflap"; \
24641 rm -f no-such-file || : ; \
24642 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24643 $(TARGET_CONFIGARGS) $${srcdiroption} \
24644 --with-target-subdir="$(TARGET_SUBDIR)" \
24645 || exit 1
24646 @endif target-libmudflap
24648 .PHONY: all-target-libmudflap maybe-all-target-libmudflap
24649 maybe-all-target-libmudflap:
24650 @if target-libmudflap
24651 TARGET-target-libmudflap=all
24652 maybe-all-target-libmudflap: all-target-libmudflap
24653 all-target-libmudflap: configure-target-libmudflap
24654 @r=`${PWD_COMMAND}`; export r; \
24655 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24656 $(SET_LIB_PATH) \
24657 $(NORMAL_TARGET_EXPORTS) \
24658 (cd $(TARGET_SUBDIR)/libmudflap && \
24659 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libmudflap))
24660 @endif target-libmudflap
24662 .PHONY: check-target-libmudflap maybe-check-target-libmudflap
24663 maybe-check-target-libmudflap:
24664 @if target-libmudflap
24665 maybe-check-target-libmudflap: check-target-libmudflap
24667 check-target-libmudflap:
24668 @r=`${PWD_COMMAND}`; export r; \
24669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24670 $(SET_LIB_PATH) \
24671 $(NORMAL_TARGET_EXPORTS) \
24672 (cd $(TARGET_SUBDIR)/libmudflap && \
24673 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
24675 @endif target-libmudflap
24677 .PHONY: install-target-libmudflap maybe-install-target-libmudflap
24678 maybe-install-target-libmudflap:
24679 @if target-libmudflap
24680 maybe-install-target-libmudflap: install-target-libmudflap
24682 install-target-libmudflap: installdirs
24683 @r=`${PWD_COMMAND}`; export r; \
24684 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24685 $(SET_LIB_PATH) \
24686 $(NORMAL_TARGET_EXPORTS) \
24687 (cd $(TARGET_SUBDIR)/libmudflap && \
24688 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
24690 @endif target-libmudflap
24692 # Other targets (info, dvi, etc.)
24694 .PHONY: maybe-info-target-libmudflap info-target-libmudflap
24695 maybe-info-target-libmudflap:
24696 @if target-libmudflap
24697 maybe-info-target-libmudflap: info-target-libmudflap
24699 info-target-libmudflap: \
24700 configure-target-libmudflap
24701 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24702 r=`${PWD_COMMAND}`; export r; \
24703 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24704 $(SET_LIB_PATH) \
24705 $(NORMAL_TARGET_EXPORTS) \
24706 echo "Doing info in $(TARGET_SUBDIR)/libmudflap" ; \
24707 for flag in $(EXTRA_TARGET_FLAGS); do \
24708 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24709 done; \
24710 (cd $(TARGET_SUBDIR)/libmudflap && \
24711 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24712 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24713 "RANLIB=$${RANLIB}" \
24714 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24715 info) \
24716 || exit 1
24718 @endif target-libmudflap
24720 .PHONY: maybe-dvi-target-libmudflap dvi-target-libmudflap
24721 maybe-dvi-target-libmudflap:
24722 @if target-libmudflap
24723 maybe-dvi-target-libmudflap: dvi-target-libmudflap
24725 dvi-target-libmudflap: \
24726 configure-target-libmudflap
24727 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24728 r=`${PWD_COMMAND}`; export r; \
24729 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24730 $(SET_LIB_PATH) \
24731 $(NORMAL_TARGET_EXPORTS) \
24732 echo "Doing dvi in $(TARGET_SUBDIR)/libmudflap" ; \
24733 for flag in $(EXTRA_TARGET_FLAGS); do \
24734 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24735 done; \
24736 (cd $(TARGET_SUBDIR)/libmudflap && \
24737 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24738 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24739 "RANLIB=$${RANLIB}" \
24740 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24741 dvi) \
24742 || exit 1
24744 @endif target-libmudflap
24746 .PHONY: maybe-html-target-libmudflap html-target-libmudflap
24747 maybe-html-target-libmudflap:
24748 @if target-libmudflap
24749 maybe-html-target-libmudflap: html-target-libmudflap
24751 html-target-libmudflap: \
24752 configure-target-libmudflap
24753 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24754 r=`${PWD_COMMAND}`; export r; \
24755 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24756 $(SET_LIB_PATH) \
24757 $(NORMAL_TARGET_EXPORTS) \
24758 echo "Doing html in $(TARGET_SUBDIR)/libmudflap" ; \
24759 for flag in $(EXTRA_TARGET_FLAGS); do \
24760 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24761 done; \
24762 (cd $(TARGET_SUBDIR)/libmudflap && \
24763 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24764 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24765 "RANLIB=$${RANLIB}" \
24766 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24767 html) \
24768 || exit 1
24770 @endif target-libmudflap
24772 .PHONY: maybe-TAGS-target-libmudflap TAGS-target-libmudflap
24773 maybe-TAGS-target-libmudflap:
24774 @if target-libmudflap
24775 maybe-TAGS-target-libmudflap: TAGS-target-libmudflap
24777 TAGS-target-libmudflap: \
24778 configure-target-libmudflap
24779 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24780 r=`${PWD_COMMAND}`; export r; \
24781 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24782 $(SET_LIB_PATH) \
24783 $(NORMAL_TARGET_EXPORTS) \
24784 echo "Doing TAGS in $(TARGET_SUBDIR)/libmudflap" ; \
24785 for flag in $(EXTRA_TARGET_FLAGS); do \
24786 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24787 done; \
24788 (cd $(TARGET_SUBDIR)/libmudflap && \
24789 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24790 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24791 "RANLIB=$${RANLIB}" \
24792 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24793 TAGS) \
24794 || exit 1
24796 @endif target-libmudflap
24798 .PHONY: maybe-install-info-target-libmudflap install-info-target-libmudflap
24799 maybe-install-info-target-libmudflap:
24800 @if target-libmudflap
24801 maybe-install-info-target-libmudflap: install-info-target-libmudflap
24803 install-info-target-libmudflap: \
24804 configure-target-libmudflap \
24805 info-target-libmudflap
24806 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24807 r=`${PWD_COMMAND}`; export r; \
24808 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24809 $(SET_LIB_PATH) \
24810 $(NORMAL_TARGET_EXPORTS) \
24811 echo "Doing install-info in $(TARGET_SUBDIR)/libmudflap" ; \
24812 for flag in $(EXTRA_TARGET_FLAGS); do \
24813 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24814 done; \
24815 (cd $(TARGET_SUBDIR)/libmudflap && \
24816 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24817 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24818 "RANLIB=$${RANLIB}" \
24819 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24820 install-info) \
24821 || exit 1
24823 @endif target-libmudflap
24825 .PHONY: maybe-installcheck-target-libmudflap installcheck-target-libmudflap
24826 maybe-installcheck-target-libmudflap:
24827 @if target-libmudflap
24828 maybe-installcheck-target-libmudflap: installcheck-target-libmudflap
24830 installcheck-target-libmudflap: \
24831 configure-target-libmudflap
24832 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24833 r=`${PWD_COMMAND}`; export r; \
24834 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24835 $(SET_LIB_PATH) \
24836 $(NORMAL_TARGET_EXPORTS) \
24837 echo "Doing installcheck in $(TARGET_SUBDIR)/libmudflap" ; \
24838 for flag in $(EXTRA_TARGET_FLAGS); do \
24839 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24840 done; \
24841 (cd $(TARGET_SUBDIR)/libmudflap && \
24842 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24843 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24844 "RANLIB=$${RANLIB}" \
24845 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24846 installcheck) \
24847 || exit 1
24849 @endif target-libmudflap
24851 .PHONY: maybe-mostlyclean-target-libmudflap mostlyclean-target-libmudflap
24852 maybe-mostlyclean-target-libmudflap:
24853 @if target-libmudflap
24854 maybe-mostlyclean-target-libmudflap: mostlyclean-target-libmudflap
24856 mostlyclean-target-libmudflap:
24857 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24858 r=`${PWD_COMMAND}`; export r; \
24859 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24860 $(SET_LIB_PATH) \
24861 $(NORMAL_TARGET_EXPORTS) \
24862 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libmudflap" ; \
24863 for flag in $(EXTRA_TARGET_FLAGS); do \
24864 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24865 done; \
24866 (cd $(TARGET_SUBDIR)/libmudflap && \
24867 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24868 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24869 "RANLIB=$${RANLIB}" \
24870 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24871 mostlyclean) \
24872 || exit 1
24874 @endif target-libmudflap
24876 .PHONY: maybe-clean-target-libmudflap clean-target-libmudflap
24877 maybe-clean-target-libmudflap:
24878 @if target-libmudflap
24879 maybe-clean-target-libmudflap: clean-target-libmudflap
24881 clean-target-libmudflap:
24882 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24883 r=`${PWD_COMMAND}`; export r; \
24884 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24885 $(SET_LIB_PATH) \
24886 $(NORMAL_TARGET_EXPORTS) \
24887 echo "Doing clean in $(TARGET_SUBDIR)/libmudflap" ; \
24888 for flag in $(EXTRA_TARGET_FLAGS); do \
24889 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24890 done; \
24891 (cd $(TARGET_SUBDIR)/libmudflap && \
24892 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24893 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24894 "RANLIB=$${RANLIB}" \
24895 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24896 clean) \
24897 || exit 1
24899 @endif target-libmudflap
24901 .PHONY: maybe-distclean-target-libmudflap distclean-target-libmudflap
24902 maybe-distclean-target-libmudflap:
24903 @if target-libmudflap
24904 maybe-distclean-target-libmudflap: distclean-target-libmudflap
24906 distclean-target-libmudflap:
24907 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24908 r=`${PWD_COMMAND}`; export r; \
24909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24910 $(SET_LIB_PATH) \
24911 $(NORMAL_TARGET_EXPORTS) \
24912 echo "Doing distclean in $(TARGET_SUBDIR)/libmudflap" ; \
24913 for flag in $(EXTRA_TARGET_FLAGS); do \
24914 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24915 done; \
24916 (cd $(TARGET_SUBDIR)/libmudflap && \
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 distclean) \
24922 || exit 1
24924 @endif target-libmudflap
24926 .PHONY: maybe-maintainer-clean-target-libmudflap maintainer-clean-target-libmudflap
24927 maybe-maintainer-clean-target-libmudflap:
24928 @if target-libmudflap
24929 maybe-maintainer-clean-target-libmudflap: maintainer-clean-target-libmudflap
24931 maintainer-clean-target-libmudflap:
24932 @[ -f $(TARGET_SUBDIR)/libmudflap/Makefile ] || exit 0 ; \
24933 r=`${PWD_COMMAND}`; export r; \
24934 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24935 $(SET_LIB_PATH) \
24936 $(NORMAL_TARGET_EXPORTS) \
24937 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libmudflap" ; \
24938 for flag in $(EXTRA_TARGET_FLAGS); do \
24939 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
24940 done; \
24941 (cd $(TARGET_SUBDIR)/libmudflap && \
24942 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
24943 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
24944 "RANLIB=$${RANLIB}" \
24945 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
24946 maintainer-clean) \
24947 || exit 1
24949 @endif target-libmudflap
24952 .PHONY: configure-target-newlib maybe-configure-target-newlib
24953 maybe-configure-target-newlib:
24954 @if target-newlib
24955 maybe-configure-target-newlib: configure-target-newlib
24957 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
24958 $(TARGET_SUBDIR)/newlib/multilib.out: multilib.out
24959 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24960 rm -f $(TARGET_SUBDIR)/newlib/Makefile || : ; \
24961 cp multilib.out $(TARGET_SUBDIR)/newlib/multilib.out
24963 configure-target-newlib: $(TARGET_SUBDIR)/newlib/multilib.out
24964 @test ! -f $(TARGET_SUBDIR)/newlib/Makefile || exit 0; \
24965 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/newlib ; \
24966 r=`${PWD_COMMAND}`; export r; \
24967 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24968 $(SET_LIB_PATH) \
24969 $(NORMAL_TARGET_EXPORTS) \
24970 echo Configuring in $(TARGET_SUBDIR)/newlib; \
24971 cd "$(TARGET_SUBDIR)/newlib" || exit 1; \
24972 case $(srcdir) in \
24973 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
24974 *) topdir=`echo $(TARGET_SUBDIR)/newlib/ | \
24975 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
24976 esac; \
24977 srcdiroption="--srcdir=$${topdir}/newlib"; \
24978 libsrcdir="$$s/newlib"; \
24979 rm -f no-such-file || : ; \
24980 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
24981 $(TARGET_CONFIGARGS) $${srcdiroption} \
24982 --with-target-subdir="$(TARGET_SUBDIR)" \
24983 || exit 1
24984 @endif target-newlib
24986 .PHONY: all-target-newlib maybe-all-target-newlib
24987 maybe-all-target-newlib:
24988 @if target-newlib
24989 TARGET-target-newlib=all
24990 maybe-all-target-newlib: all-target-newlib
24991 all-target-newlib: configure-target-newlib
24992 @r=`${PWD_COMMAND}`; export r; \
24993 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
24994 $(SET_LIB_PATH) \
24995 $(NORMAL_TARGET_EXPORTS) \
24996 (cd $(TARGET_SUBDIR)/newlib && \
24997 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-newlib))
24998 @endif target-newlib
25000 .PHONY: check-target-newlib maybe-check-target-newlib
25001 maybe-check-target-newlib:
25002 @if target-newlib
25003 maybe-check-target-newlib: check-target-newlib
25005 check-target-newlib:
25006 @r=`${PWD_COMMAND}`; export r; \
25007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25008 $(SET_LIB_PATH) \
25009 $(NORMAL_TARGET_EXPORTS) \
25010 (cd $(TARGET_SUBDIR)/newlib && \
25011 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25013 @endif target-newlib
25015 .PHONY: install-target-newlib maybe-install-target-newlib
25016 maybe-install-target-newlib:
25017 @if target-newlib
25018 maybe-install-target-newlib: install-target-newlib
25020 install-target-newlib: installdirs
25021 @r=`${PWD_COMMAND}`; export r; \
25022 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25023 $(SET_LIB_PATH) \
25024 $(NORMAL_TARGET_EXPORTS) \
25025 (cd $(TARGET_SUBDIR)/newlib && \
25026 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25028 @endif target-newlib
25030 # Other targets (info, dvi, etc.)
25032 .PHONY: maybe-info-target-newlib info-target-newlib
25033 maybe-info-target-newlib:
25034 @if target-newlib
25035 maybe-info-target-newlib: info-target-newlib
25037 info-target-newlib: \
25038 configure-target-newlib
25039 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25040 r=`${PWD_COMMAND}`; export r; \
25041 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25042 $(SET_LIB_PATH) \
25043 $(NORMAL_TARGET_EXPORTS) \
25044 echo "Doing info in $(TARGET_SUBDIR)/newlib" ; \
25045 for flag in $(EXTRA_TARGET_FLAGS); do \
25046 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25047 done; \
25048 (cd $(TARGET_SUBDIR)/newlib && \
25049 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25050 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25051 "RANLIB=$${RANLIB}" \
25052 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25053 info) \
25054 || exit 1
25056 @endif target-newlib
25058 .PHONY: maybe-dvi-target-newlib dvi-target-newlib
25059 maybe-dvi-target-newlib:
25060 @if target-newlib
25061 maybe-dvi-target-newlib: dvi-target-newlib
25063 dvi-target-newlib: \
25064 configure-target-newlib
25065 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25066 r=`${PWD_COMMAND}`; export r; \
25067 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25068 $(SET_LIB_PATH) \
25069 $(NORMAL_TARGET_EXPORTS) \
25070 echo "Doing dvi in $(TARGET_SUBDIR)/newlib" ; \
25071 for flag in $(EXTRA_TARGET_FLAGS); do \
25072 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25073 done; \
25074 (cd $(TARGET_SUBDIR)/newlib && \
25075 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25076 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25077 "RANLIB=$${RANLIB}" \
25078 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25079 dvi) \
25080 || exit 1
25082 @endif target-newlib
25084 .PHONY: maybe-html-target-newlib html-target-newlib
25085 maybe-html-target-newlib:
25086 @if target-newlib
25087 maybe-html-target-newlib: html-target-newlib
25089 html-target-newlib: \
25090 configure-target-newlib
25091 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25092 r=`${PWD_COMMAND}`; export r; \
25093 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25094 $(SET_LIB_PATH) \
25095 $(NORMAL_TARGET_EXPORTS) \
25096 echo "Doing html in $(TARGET_SUBDIR)/newlib" ; \
25097 for flag in $(EXTRA_TARGET_FLAGS); do \
25098 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25099 done; \
25100 (cd $(TARGET_SUBDIR)/newlib && \
25101 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25102 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25103 "RANLIB=$${RANLIB}" \
25104 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25105 html) \
25106 || exit 1
25108 @endif target-newlib
25110 .PHONY: maybe-TAGS-target-newlib TAGS-target-newlib
25111 maybe-TAGS-target-newlib:
25112 @if target-newlib
25113 maybe-TAGS-target-newlib: TAGS-target-newlib
25115 TAGS-target-newlib: \
25116 configure-target-newlib
25117 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25118 r=`${PWD_COMMAND}`; export r; \
25119 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25120 $(SET_LIB_PATH) \
25121 $(NORMAL_TARGET_EXPORTS) \
25122 echo "Doing TAGS in $(TARGET_SUBDIR)/newlib" ; \
25123 for flag in $(EXTRA_TARGET_FLAGS); do \
25124 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25125 done; \
25126 (cd $(TARGET_SUBDIR)/newlib && \
25127 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25128 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25129 "RANLIB=$${RANLIB}" \
25130 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25131 TAGS) \
25132 || exit 1
25134 @endif target-newlib
25136 .PHONY: maybe-install-info-target-newlib install-info-target-newlib
25137 maybe-install-info-target-newlib:
25138 @if target-newlib
25139 maybe-install-info-target-newlib: install-info-target-newlib
25141 install-info-target-newlib: \
25142 configure-target-newlib \
25143 info-target-newlib
25144 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25145 r=`${PWD_COMMAND}`; export r; \
25146 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25147 $(SET_LIB_PATH) \
25148 $(NORMAL_TARGET_EXPORTS) \
25149 echo "Doing install-info in $(TARGET_SUBDIR)/newlib" ; \
25150 for flag in $(EXTRA_TARGET_FLAGS); do \
25151 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25152 done; \
25153 (cd $(TARGET_SUBDIR)/newlib && \
25154 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25155 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25156 "RANLIB=$${RANLIB}" \
25157 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25158 install-info) \
25159 || exit 1
25161 @endif target-newlib
25163 .PHONY: maybe-installcheck-target-newlib installcheck-target-newlib
25164 maybe-installcheck-target-newlib:
25165 @if target-newlib
25166 maybe-installcheck-target-newlib: installcheck-target-newlib
25168 installcheck-target-newlib: \
25169 configure-target-newlib
25170 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25171 r=`${PWD_COMMAND}`; export r; \
25172 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25173 $(SET_LIB_PATH) \
25174 $(NORMAL_TARGET_EXPORTS) \
25175 echo "Doing installcheck in $(TARGET_SUBDIR)/newlib" ; \
25176 for flag in $(EXTRA_TARGET_FLAGS); do \
25177 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25178 done; \
25179 (cd $(TARGET_SUBDIR)/newlib && \
25180 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25181 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25182 "RANLIB=$${RANLIB}" \
25183 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25184 installcheck) \
25185 || exit 1
25187 @endif target-newlib
25189 .PHONY: maybe-mostlyclean-target-newlib mostlyclean-target-newlib
25190 maybe-mostlyclean-target-newlib:
25191 @if target-newlib
25192 maybe-mostlyclean-target-newlib: mostlyclean-target-newlib
25194 mostlyclean-target-newlib:
25195 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25196 r=`${PWD_COMMAND}`; export r; \
25197 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25198 $(SET_LIB_PATH) \
25199 $(NORMAL_TARGET_EXPORTS) \
25200 echo "Doing mostlyclean in $(TARGET_SUBDIR)/newlib" ; \
25201 for flag in $(EXTRA_TARGET_FLAGS); do \
25202 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25203 done; \
25204 (cd $(TARGET_SUBDIR)/newlib && \
25205 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25206 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25207 "RANLIB=$${RANLIB}" \
25208 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25209 mostlyclean) \
25210 || exit 1
25212 @endif target-newlib
25214 .PHONY: maybe-clean-target-newlib clean-target-newlib
25215 maybe-clean-target-newlib:
25216 @if target-newlib
25217 maybe-clean-target-newlib: clean-target-newlib
25219 clean-target-newlib:
25220 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25221 r=`${PWD_COMMAND}`; export r; \
25222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25223 $(SET_LIB_PATH) \
25224 $(NORMAL_TARGET_EXPORTS) \
25225 echo "Doing clean in $(TARGET_SUBDIR)/newlib" ; \
25226 for flag in $(EXTRA_TARGET_FLAGS); do \
25227 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25228 done; \
25229 (cd $(TARGET_SUBDIR)/newlib && \
25230 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25231 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25232 "RANLIB=$${RANLIB}" \
25233 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25234 clean) \
25235 || exit 1
25237 @endif target-newlib
25239 .PHONY: maybe-distclean-target-newlib distclean-target-newlib
25240 maybe-distclean-target-newlib:
25241 @if target-newlib
25242 maybe-distclean-target-newlib: distclean-target-newlib
25244 distclean-target-newlib:
25245 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25246 r=`${PWD_COMMAND}`; export r; \
25247 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25248 $(SET_LIB_PATH) \
25249 $(NORMAL_TARGET_EXPORTS) \
25250 echo "Doing distclean in $(TARGET_SUBDIR)/newlib" ; \
25251 for flag in $(EXTRA_TARGET_FLAGS); do \
25252 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25253 done; \
25254 (cd $(TARGET_SUBDIR)/newlib && \
25255 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25256 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25257 "RANLIB=$${RANLIB}" \
25258 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25259 distclean) \
25260 || exit 1
25262 @endif target-newlib
25264 .PHONY: maybe-maintainer-clean-target-newlib maintainer-clean-target-newlib
25265 maybe-maintainer-clean-target-newlib:
25266 @if target-newlib
25267 maybe-maintainer-clean-target-newlib: maintainer-clean-target-newlib
25269 maintainer-clean-target-newlib:
25270 @[ -f $(TARGET_SUBDIR)/newlib/Makefile ] || exit 0 ; \
25271 r=`${PWD_COMMAND}`; export r; \
25272 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25273 $(SET_LIB_PATH) \
25274 $(NORMAL_TARGET_EXPORTS) \
25275 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/newlib" ; \
25276 for flag in $(EXTRA_TARGET_FLAGS); do \
25277 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25278 done; \
25279 (cd $(TARGET_SUBDIR)/newlib && \
25280 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25281 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25282 "RANLIB=$${RANLIB}" \
25283 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25284 maintainer-clean) \
25285 || exit 1
25287 @endif target-newlib
25290 .PHONY: configure-target-libgfortran maybe-configure-target-libgfortran
25291 maybe-configure-target-libgfortran:
25292 @if target-libgfortran
25293 maybe-configure-target-libgfortran: configure-target-libgfortran
25295 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25296 $(TARGET_SUBDIR)/libgfortran/multilib.out: multilib.out
25297 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25298 rm -f $(TARGET_SUBDIR)/libgfortran/Makefile || : ; \
25299 cp multilib.out $(TARGET_SUBDIR)/libgfortran/multilib.out
25301 configure-target-libgfortran: $(TARGET_SUBDIR)/libgfortran/multilib.out
25302 @test ! -f $(TARGET_SUBDIR)/libgfortran/Makefile || exit 0; \
25303 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgfortran ; \
25304 r=`${PWD_COMMAND}`; export r; \
25305 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25306 $(SET_LIB_PATH) \
25307 $(NORMAL_TARGET_EXPORTS) \
25308 echo Configuring in $(TARGET_SUBDIR)/libgfortran; \
25309 cd "$(TARGET_SUBDIR)/libgfortran" || exit 1; \
25310 case $(srcdir) in \
25311 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25312 *) topdir=`echo $(TARGET_SUBDIR)/libgfortran/ | \
25313 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25314 esac; \
25315 srcdiroption="--srcdir=$${topdir}/libgfortran"; \
25316 libsrcdir="$$s/libgfortran"; \
25317 rm -f no-such-file || : ; \
25318 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25319 $(TARGET_CONFIGARGS) $${srcdiroption} \
25320 --with-target-subdir="$(TARGET_SUBDIR)" \
25321 || exit 1
25322 @endif target-libgfortran
25324 .PHONY: all-target-libgfortran maybe-all-target-libgfortran
25325 maybe-all-target-libgfortran:
25326 @if target-libgfortran
25327 TARGET-target-libgfortran=all
25328 maybe-all-target-libgfortran: all-target-libgfortran
25329 all-target-libgfortran: configure-target-libgfortran
25330 @r=`${PWD_COMMAND}`; export r; \
25331 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25332 $(SET_LIB_PATH) \
25333 $(NORMAL_TARGET_EXPORTS) \
25334 (cd $(TARGET_SUBDIR)/libgfortran && \
25335 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgfortran))
25336 @endif target-libgfortran
25338 .PHONY: check-target-libgfortran maybe-check-target-libgfortran
25339 maybe-check-target-libgfortran:
25340 @if target-libgfortran
25341 maybe-check-target-libgfortran: check-target-libgfortran
25343 check-target-libgfortran:
25344 @r=`${PWD_COMMAND}`; export r; \
25345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25346 $(SET_LIB_PATH) \
25347 $(NORMAL_TARGET_EXPORTS) \
25348 (cd $(TARGET_SUBDIR)/libgfortran && \
25349 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25351 @endif target-libgfortran
25353 .PHONY: install-target-libgfortran maybe-install-target-libgfortran
25354 maybe-install-target-libgfortran:
25355 @if target-libgfortran
25356 maybe-install-target-libgfortran: install-target-libgfortran
25358 install-target-libgfortran: installdirs
25359 @r=`${PWD_COMMAND}`; export r; \
25360 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25361 $(SET_LIB_PATH) \
25362 $(NORMAL_TARGET_EXPORTS) \
25363 (cd $(TARGET_SUBDIR)/libgfortran && \
25364 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25366 @endif target-libgfortran
25368 # Other targets (info, dvi, etc.)
25370 .PHONY: maybe-info-target-libgfortran info-target-libgfortran
25371 maybe-info-target-libgfortran:
25372 @if target-libgfortran
25373 maybe-info-target-libgfortran: info-target-libgfortran
25375 info-target-libgfortran: \
25376 configure-target-libgfortran
25377 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25378 r=`${PWD_COMMAND}`; export r; \
25379 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25380 $(SET_LIB_PATH) \
25381 $(NORMAL_TARGET_EXPORTS) \
25382 echo "Doing info in $(TARGET_SUBDIR)/libgfortran" ; \
25383 for flag in $(EXTRA_TARGET_FLAGS); do \
25384 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25385 done; \
25386 (cd $(TARGET_SUBDIR)/libgfortran && \
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 info) \
25392 || exit 1
25394 @endif target-libgfortran
25396 .PHONY: maybe-dvi-target-libgfortran dvi-target-libgfortran
25397 maybe-dvi-target-libgfortran:
25398 @if target-libgfortran
25399 maybe-dvi-target-libgfortran: dvi-target-libgfortran
25401 dvi-target-libgfortran: \
25402 configure-target-libgfortran
25403 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25404 r=`${PWD_COMMAND}`; export r; \
25405 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25406 $(SET_LIB_PATH) \
25407 $(NORMAL_TARGET_EXPORTS) \
25408 echo "Doing dvi in $(TARGET_SUBDIR)/libgfortran" ; \
25409 for flag in $(EXTRA_TARGET_FLAGS); do \
25410 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25411 done; \
25412 (cd $(TARGET_SUBDIR)/libgfortran && \
25413 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25414 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25415 "RANLIB=$${RANLIB}" \
25416 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25417 dvi) \
25418 || exit 1
25420 @endif target-libgfortran
25422 .PHONY: maybe-html-target-libgfortran html-target-libgfortran
25423 maybe-html-target-libgfortran:
25424 @if target-libgfortran
25425 maybe-html-target-libgfortran: html-target-libgfortran
25427 html-target-libgfortran: \
25428 configure-target-libgfortran
25429 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25430 r=`${PWD_COMMAND}`; export r; \
25431 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25432 $(SET_LIB_PATH) \
25433 $(NORMAL_TARGET_EXPORTS) \
25434 echo "Doing html in $(TARGET_SUBDIR)/libgfortran" ; \
25435 for flag in $(EXTRA_TARGET_FLAGS); do \
25436 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25437 done; \
25438 (cd $(TARGET_SUBDIR)/libgfortran && \
25439 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25440 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25441 "RANLIB=$${RANLIB}" \
25442 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25443 html) \
25444 || exit 1
25446 @endif target-libgfortran
25448 .PHONY: maybe-TAGS-target-libgfortran TAGS-target-libgfortran
25449 maybe-TAGS-target-libgfortran:
25450 @if target-libgfortran
25451 maybe-TAGS-target-libgfortran: TAGS-target-libgfortran
25453 TAGS-target-libgfortran: \
25454 configure-target-libgfortran
25455 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25456 r=`${PWD_COMMAND}`; export r; \
25457 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25458 $(SET_LIB_PATH) \
25459 $(NORMAL_TARGET_EXPORTS) \
25460 echo "Doing TAGS in $(TARGET_SUBDIR)/libgfortran" ; \
25461 for flag in $(EXTRA_TARGET_FLAGS); do \
25462 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25463 done; \
25464 (cd $(TARGET_SUBDIR)/libgfortran && \
25465 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25466 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25467 "RANLIB=$${RANLIB}" \
25468 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25469 TAGS) \
25470 || exit 1
25472 @endif target-libgfortran
25474 .PHONY: maybe-install-info-target-libgfortran install-info-target-libgfortran
25475 maybe-install-info-target-libgfortran:
25476 @if target-libgfortran
25477 maybe-install-info-target-libgfortran: install-info-target-libgfortran
25479 install-info-target-libgfortran: \
25480 configure-target-libgfortran \
25481 info-target-libgfortran
25482 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25483 r=`${PWD_COMMAND}`; export r; \
25484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25485 $(SET_LIB_PATH) \
25486 $(NORMAL_TARGET_EXPORTS) \
25487 echo "Doing install-info in $(TARGET_SUBDIR)/libgfortran" ; \
25488 for flag in $(EXTRA_TARGET_FLAGS); do \
25489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25490 done; \
25491 (cd $(TARGET_SUBDIR)/libgfortran && \
25492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25494 "RANLIB=$${RANLIB}" \
25495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25496 install-info) \
25497 || exit 1
25499 @endif target-libgfortran
25501 .PHONY: maybe-installcheck-target-libgfortran installcheck-target-libgfortran
25502 maybe-installcheck-target-libgfortran:
25503 @if target-libgfortran
25504 maybe-installcheck-target-libgfortran: installcheck-target-libgfortran
25506 installcheck-target-libgfortran: \
25507 configure-target-libgfortran
25508 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25509 r=`${PWD_COMMAND}`; export r; \
25510 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25511 $(SET_LIB_PATH) \
25512 $(NORMAL_TARGET_EXPORTS) \
25513 echo "Doing installcheck in $(TARGET_SUBDIR)/libgfortran" ; \
25514 for flag in $(EXTRA_TARGET_FLAGS); do \
25515 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25516 done; \
25517 (cd $(TARGET_SUBDIR)/libgfortran && \
25518 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25519 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25520 "RANLIB=$${RANLIB}" \
25521 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25522 installcheck) \
25523 || exit 1
25525 @endif target-libgfortran
25527 .PHONY: maybe-mostlyclean-target-libgfortran mostlyclean-target-libgfortran
25528 maybe-mostlyclean-target-libgfortran:
25529 @if target-libgfortran
25530 maybe-mostlyclean-target-libgfortran: mostlyclean-target-libgfortran
25532 mostlyclean-target-libgfortran:
25533 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25534 r=`${PWD_COMMAND}`; export r; \
25535 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25536 $(SET_LIB_PATH) \
25537 $(NORMAL_TARGET_EXPORTS) \
25538 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgfortran" ; \
25539 for flag in $(EXTRA_TARGET_FLAGS); do \
25540 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25541 done; \
25542 (cd $(TARGET_SUBDIR)/libgfortran && \
25543 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25544 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25545 "RANLIB=$${RANLIB}" \
25546 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25547 mostlyclean) \
25548 || exit 1
25550 @endif target-libgfortran
25552 .PHONY: maybe-clean-target-libgfortran clean-target-libgfortran
25553 maybe-clean-target-libgfortran:
25554 @if target-libgfortran
25555 maybe-clean-target-libgfortran: clean-target-libgfortran
25557 clean-target-libgfortran:
25558 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25559 r=`${PWD_COMMAND}`; export r; \
25560 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25561 $(SET_LIB_PATH) \
25562 $(NORMAL_TARGET_EXPORTS) \
25563 echo "Doing clean in $(TARGET_SUBDIR)/libgfortran" ; \
25564 for flag in $(EXTRA_TARGET_FLAGS); do \
25565 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25566 done; \
25567 (cd $(TARGET_SUBDIR)/libgfortran && \
25568 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25569 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25570 "RANLIB=$${RANLIB}" \
25571 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25572 clean) \
25573 || exit 1
25575 @endif target-libgfortran
25577 .PHONY: maybe-distclean-target-libgfortran distclean-target-libgfortran
25578 maybe-distclean-target-libgfortran:
25579 @if target-libgfortran
25580 maybe-distclean-target-libgfortran: distclean-target-libgfortran
25582 distclean-target-libgfortran:
25583 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25584 r=`${PWD_COMMAND}`; export r; \
25585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25586 $(SET_LIB_PATH) \
25587 $(NORMAL_TARGET_EXPORTS) \
25588 echo "Doing distclean in $(TARGET_SUBDIR)/libgfortran" ; \
25589 for flag in $(EXTRA_TARGET_FLAGS); do \
25590 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25591 done; \
25592 (cd $(TARGET_SUBDIR)/libgfortran && \
25593 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25594 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25595 "RANLIB=$${RANLIB}" \
25596 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25597 distclean) \
25598 || exit 1
25600 @endif target-libgfortran
25602 .PHONY: maybe-maintainer-clean-target-libgfortran maintainer-clean-target-libgfortran
25603 maybe-maintainer-clean-target-libgfortran:
25604 @if target-libgfortran
25605 maybe-maintainer-clean-target-libgfortran: maintainer-clean-target-libgfortran
25607 maintainer-clean-target-libgfortran:
25608 @[ -f $(TARGET_SUBDIR)/libgfortran/Makefile ] || exit 0 ; \
25609 r=`${PWD_COMMAND}`; export r; \
25610 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25611 $(SET_LIB_PATH) \
25612 $(NORMAL_TARGET_EXPORTS) \
25613 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgfortran" ; \
25614 for flag in $(EXTRA_TARGET_FLAGS); do \
25615 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25616 done; \
25617 (cd $(TARGET_SUBDIR)/libgfortran && \
25618 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25619 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25620 "RANLIB=$${RANLIB}" \
25621 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25622 maintainer-clean) \
25623 || exit 1
25625 @endif target-libgfortran
25628 .PHONY: configure-target-libobjc maybe-configure-target-libobjc
25629 maybe-configure-target-libobjc:
25630 @if target-libobjc
25631 maybe-configure-target-libobjc: configure-target-libobjc
25633 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25634 $(TARGET_SUBDIR)/libobjc/multilib.out: multilib.out
25635 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25636 rm -f $(TARGET_SUBDIR)/libobjc/Makefile || : ; \
25637 cp multilib.out $(TARGET_SUBDIR)/libobjc/multilib.out
25639 configure-target-libobjc: $(TARGET_SUBDIR)/libobjc/multilib.out
25640 @test ! -f $(TARGET_SUBDIR)/libobjc/Makefile || exit 0; \
25641 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libobjc ; \
25642 r=`${PWD_COMMAND}`; export r; \
25643 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25644 $(SET_LIB_PATH) \
25645 $(NORMAL_TARGET_EXPORTS) \
25646 echo Configuring in $(TARGET_SUBDIR)/libobjc; \
25647 cd "$(TARGET_SUBDIR)/libobjc" || exit 1; \
25648 case $(srcdir) in \
25649 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25650 *) topdir=`echo $(TARGET_SUBDIR)/libobjc/ | \
25651 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25652 esac; \
25653 srcdiroption="--srcdir=$${topdir}/libobjc"; \
25654 libsrcdir="$$s/libobjc"; \
25655 rm -f no-such-file || : ; \
25656 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25657 $(TARGET_CONFIGARGS) $${srcdiroption} \
25658 --with-target-subdir="$(TARGET_SUBDIR)" \
25659 || exit 1
25660 @endif target-libobjc
25662 .PHONY: all-target-libobjc maybe-all-target-libobjc
25663 maybe-all-target-libobjc:
25664 @if target-libobjc
25665 TARGET-target-libobjc=all
25666 maybe-all-target-libobjc: all-target-libobjc
25667 all-target-libobjc: configure-target-libobjc
25668 @r=`${PWD_COMMAND}`; export r; \
25669 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25670 $(SET_LIB_PATH) \
25671 $(NORMAL_TARGET_EXPORTS) \
25672 (cd $(TARGET_SUBDIR)/libobjc && \
25673 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libobjc))
25674 @endif target-libobjc
25676 .PHONY: check-target-libobjc maybe-check-target-libobjc
25677 maybe-check-target-libobjc:
25678 @if target-libobjc
25679 maybe-check-target-libobjc: check-target-libobjc
25681 check-target-libobjc:
25682 @r=`${PWD_COMMAND}`; export r; \
25683 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25684 $(SET_LIB_PATH) \
25685 $(NORMAL_TARGET_EXPORTS) \
25686 (cd $(TARGET_SUBDIR)/libobjc && \
25687 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
25689 @endif target-libobjc
25691 .PHONY: install-target-libobjc maybe-install-target-libobjc
25692 maybe-install-target-libobjc:
25693 @if target-libobjc
25694 maybe-install-target-libobjc: install-target-libobjc
25696 install-target-libobjc: installdirs
25697 @r=`${PWD_COMMAND}`; export r; \
25698 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25699 $(SET_LIB_PATH) \
25700 $(NORMAL_TARGET_EXPORTS) \
25701 (cd $(TARGET_SUBDIR)/libobjc && \
25702 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
25704 @endif target-libobjc
25706 # Other targets (info, dvi, etc.)
25708 .PHONY: maybe-info-target-libobjc info-target-libobjc
25709 maybe-info-target-libobjc:
25710 @if target-libobjc
25711 maybe-info-target-libobjc: info-target-libobjc
25713 info-target-libobjc: \
25714 configure-target-libobjc
25715 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25716 r=`${PWD_COMMAND}`; export r; \
25717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25718 $(SET_LIB_PATH) \
25719 $(NORMAL_TARGET_EXPORTS) \
25720 echo "Doing info in $(TARGET_SUBDIR)/libobjc" ; \
25721 for flag in $(EXTRA_TARGET_FLAGS); do \
25722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25723 done; \
25724 (cd $(TARGET_SUBDIR)/libobjc && \
25725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25727 "RANLIB=$${RANLIB}" \
25728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25729 info) \
25730 || exit 1
25732 @endif target-libobjc
25734 .PHONY: maybe-dvi-target-libobjc dvi-target-libobjc
25735 maybe-dvi-target-libobjc:
25736 @if target-libobjc
25737 maybe-dvi-target-libobjc: dvi-target-libobjc
25739 dvi-target-libobjc: \
25740 configure-target-libobjc
25741 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25742 r=`${PWD_COMMAND}`; export r; \
25743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25744 $(SET_LIB_PATH) \
25745 $(NORMAL_TARGET_EXPORTS) \
25746 echo "Doing dvi in $(TARGET_SUBDIR)/libobjc" ; \
25747 for flag in $(EXTRA_TARGET_FLAGS); do \
25748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25749 done; \
25750 (cd $(TARGET_SUBDIR)/libobjc && \
25751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25753 "RANLIB=$${RANLIB}" \
25754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25755 dvi) \
25756 || exit 1
25758 @endif target-libobjc
25760 .PHONY: maybe-html-target-libobjc html-target-libobjc
25761 maybe-html-target-libobjc:
25762 @if target-libobjc
25763 maybe-html-target-libobjc: html-target-libobjc
25765 html-target-libobjc: \
25766 configure-target-libobjc
25767 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25768 r=`${PWD_COMMAND}`; export r; \
25769 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25770 $(SET_LIB_PATH) \
25771 $(NORMAL_TARGET_EXPORTS) \
25772 echo "Doing html in $(TARGET_SUBDIR)/libobjc" ; \
25773 for flag in $(EXTRA_TARGET_FLAGS); do \
25774 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25775 done; \
25776 (cd $(TARGET_SUBDIR)/libobjc && \
25777 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25778 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25779 "RANLIB=$${RANLIB}" \
25780 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25781 html) \
25782 || exit 1
25784 @endif target-libobjc
25786 .PHONY: maybe-TAGS-target-libobjc TAGS-target-libobjc
25787 maybe-TAGS-target-libobjc:
25788 @if target-libobjc
25789 maybe-TAGS-target-libobjc: TAGS-target-libobjc
25791 TAGS-target-libobjc: \
25792 configure-target-libobjc
25793 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25794 r=`${PWD_COMMAND}`; export r; \
25795 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25796 $(SET_LIB_PATH) \
25797 $(NORMAL_TARGET_EXPORTS) \
25798 echo "Doing TAGS in $(TARGET_SUBDIR)/libobjc" ; \
25799 for flag in $(EXTRA_TARGET_FLAGS); do \
25800 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25801 done; \
25802 (cd $(TARGET_SUBDIR)/libobjc && \
25803 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25804 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25805 "RANLIB=$${RANLIB}" \
25806 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25807 TAGS) \
25808 || exit 1
25810 @endif target-libobjc
25812 .PHONY: maybe-install-info-target-libobjc install-info-target-libobjc
25813 maybe-install-info-target-libobjc:
25814 @if target-libobjc
25815 maybe-install-info-target-libobjc: install-info-target-libobjc
25817 install-info-target-libobjc: \
25818 configure-target-libobjc \
25819 info-target-libobjc
25820 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25821 r=`${PWD_COMMAND}`; export r; \
25822 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25823 $(SET_LIB_PATH) \
25824 $(NORMAL_TARGET_EXPORTS) \
25825 echo "Doing install-info in $(TARGET_SUBDIR)/libobjc" ; \
25826 for flag in $(EXTRA_TARGET_FLAGS); do \
25827 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25828 done; \
25829 (cd $(TARGET_SUBDIR)/libobjc && \
25830 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25831 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25832 "RANLIB=$${RANLIB}" \
25833 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25834 install-info) \
25835 || exit 1
25837 @endif target-libobjc
25839 .PHONY: maybe-installcheck-target-libobjc installcheck-target-libobjc
25840 maybe-installcheck-target-libobjc:
25841 @if target-libobjc
25842 maybe-installcheck-target-libobjc: installcheck-target-libobjc
25844 installcheck-target-libobjc: \
25845 configure-target-libobjc
25846 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25847 r=`${PWD_COMMAND}`; export r; \
25848 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25849 $(SET_LIB_PATH) \
25850 $(NORMAL_TARGET_EXPORTS) \
25851 echo "Doing installcheck in $(TARGET_SUBDIR)/libobjc" ; \
25852 for flag in $(EXTRA_TARGET_FLAGS); do \
25853 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25854 done; \
25855 (cd $(TARGET_SUBDIR)/libobjc && \
25856 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25857 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25858 "RANLIB=$${RANLIB}" \
25859 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25860 installcheck) \
25861 || exit 1
25863 @endif target-libobjc
25865 .PHONY: maybe-mostlyclean-target-libobjc mostlyclean-target-libobjc
25866 maybe-mostlyclean-target-libobjc:
25867 @if target-libobjc
25868 maybe-mostlyclean-target-libobjc: mostlyclean-target-libobjc
25870 mostlyclean-target-libobjc:
25871 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25872 r=`${PWD_COMMAND}`; export r; \
25873 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25874 $(SET_LIB_PATH) \
25875 $(NORMAL_TARGET_EXPORTS) \
25876 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libobjc" ; \
25877 for flag in $(EXTRA_TARGET_FLAGS); do \
25878 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25879 done; \
25880 (cd $(TARGET_SUBDIR)/libobjc && \
25881 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25882 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25883 "RANLIB=$${RANLIB}" \
25884 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25885 mostlyclean) \
25886 || exit 1
25888 @endif target-libobjc
25890 .PHONY: maybe-clean-target-libobjc clean-target-libobjc
25891 maybe-clean-target-libobjc:
25892 @if target-libobjc
25893 maybe-clean-target-libobjc: clean-target-libobjc
25895 clean-target-libobjc:
25896 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25897 r=`${PWD_COMMAND}`; export r; \
25898 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25899 $(SET_LIB_PATH) \
25900 $(NORMAL_TARGET_EXPORTS) \
25901 echo "Doing clean in $(TARGET_SUBDIR)/libobjc" ; \
25902 for flag in $(EXTRA_TARGET_FLAGS); do \
25903 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25904 done; \
25905 (cd $(TARGET_SUBDIR)/libobjc && \
25906 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25907 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25908 "RANLIB=$${RANLIB}" \
25909 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25910 clean) \
25911 || exit 1
25913 @endif target-libobjc
25915 .PHONY: maybe-distclean-target-libobjc distclean-target-libobjc
25916 maybe-distclean-target-libobjc:
25917 @if target-libobjc
25918 maybe-distclean-target-libobjc: distclean-target-libobjc
25920 distclean-target-libobjc:
25921 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25922 r=`${PWD_COMMAND}`; export r; \
25923 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25924 $(SET_LIB_PATH) \
25925 $(NORMAL_TARGET_EXPORTS) \
25926 echo "Doing distclean in $(TARGET_SUBDIR)/libobjc" ; \
25927 for flag in $(EXTRA_TARGET_FLAGS); do \
25928 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25929 done; \
25930 (cd $(TARGET_SUBDIR)/libobjc && \
25931 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25932 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25933 "RANLIB=$${RANLIB}" \
25934 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25935 distclean) \
25936 || exit 1
25938 @endif target-libobjc
25940 .PHONY: maybe-maintainer-clean-target-libobjc maintainer-clean-target-libobjc
25941 maybe-maintainer-clean-target-libobjc:
25942 @if target-libobjc
25943 maybe-maintainer-clean-target-libobjc: maintainer-clean-target-libobjc
25945 maintainer-clean-target-libobjc:
25946 @[ -f $(TARGET_SUBDIR)/libobjc/Makefile ] || exit 0 ; \
25947 r=`${PWD_COMMAND}`; export r; \
25948 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25949 $(SET_LIB_PATH) \
25950 $(NORMAL_TARGET_EXPORTS) \
25951 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libobjc" ; \
25952 for flag in $(EXTRA_TARGET_FLAGS); do \
25953 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
25954 done; \
25955 (cd $(TARGET_SUBDIR)/libobjc && \
25956 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
25957 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
25958 "RANLIB=$${RANLIB}" \
25959 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
25960 maintainer-clean) \
25961 || exit 1
25963 @endif target-libobjc
25966 .PHONY: configure-target-libtermcap maybe-configure-target-libtermcap
25967 maybe-configure-target-libtermcap:
25968 @if target-libtermcap
25969 maybe-configure-target-libtermcap: configure-target-libtermcap
25971 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
25972 $(TARGET_SUBDIR)/libtermcap/multilib.out: multilib.out
25973 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25974 rm -f $(TARGET_SUBDIR)/libtermcap/Makefile || : ; \
25975 cp multilib.out $(TARGET_SUBDIR)/libtermcap/multilib.out
25977 configure-target-libtermcap: $(TARGET_SUBDIR)/libtermcap/multilib.out
25978 @test ! -f $(TARGET_SUBDIR)/libtermcap/Makefile || exit 0; \
25979 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libtermcap ; \
25980 r=`${PWD_COMMAND}`; export r; \
25981 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
25982 $(SET_LIB_PATH) \
25983 $(NORMAL_TARGET_EXPORTS) \
25984 echo Configuring in $(TARGET_SUBDIR)/libtermcap; \
25985 cd "$(TARGET_SUBDIR)/libtermcap" || exit 1; \
25986 case $(srcdir) in \
25987 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
25988 *) topdir=`echo $(TARGET_SUBDIR)/libtermcap/ | \
25989 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
25990 esac; \
25991 srcdiroption="--srcdir=$${topdir}/libtermcap"; \
25992 libsrcdir="$$s/libtermcap"; \
25993 rm -f no-such-file || : ; \
25994 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
25995 $(TARGET_CONFIGARGS) $${srcdiroption} \
25996 --with-target-subdir="$(TARGET_SUBDIR)" \
25997 || exit 1
25998 @endif target-libtermcap
26000 .PHONY: all-target-libtermcap maybe-all-target-libtermcap
26001 maybe-all-target-libtermcap:
26002 @if target-libtermcap
26003 TARGET-target-libtermcap=all
26004 maybe-all-target-libtermcap: all-target-libtermcap
26005 all-target-libtermcap: configure-target-libtermcap
26006 @r=`${PWD_COMMAND}`; export r; \
26007 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26008 $(SET_LIB_PATH) \
26009 $(NORMAL_TARGET_EXPORTS) \
26010 (cd $(TARGET_SUBDIR)/libtermcap && \
26011 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libtermcap))
26012 @endif target-libtermcap
26014 .PHONY: check-target-libtermcap maybe-check-target-libtermcap
26015 maybe-check-target-libtermcap:
26016 @if target-libtermcap
26017 maybe-check-target-libtermcap: check-target-libtermcap
26019 # Dummy target for uncheckable module.
26020 check-target-libtermcap:
26022 @endif target-libtermcap
26024 .PHONY: install-target-libtermcap maybe-install-target-libtermcap
26025 maybe-install-target-libtermcap:
26026 @if target-libtermcap
26027 maybe-install-target-libtermcap: install-target-libtermcap
26029 install-target-libtermcap: installdirs
26030 @r=`${PWD_COMMAND}`; export r; \
26031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26032 $(SET_LIB_PATH) \
26033 $(NORMAL_TARGET_EXPORTS) \
26034 (cd $(TARGET_SUBDIR)/libtermcap && \
26035 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26037 @endif target-libtermcap
26039 # Other targets (info, dvi, etc.)
26041 .PHONY: maybe-info-target-libtermcap info-target-libtermcap
26042 maybe-info-target-libtermcap:
26043 @if target-libtermcap
26044 maybe-info-target-libtermcap: info-target-libtermcap
26046 info-target-libtermcap: \
26047 configure-target-libtermcap
26048 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26049 r=`${PWD_COMMAND}`; export r; \
26050 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26051 $(SET_LIB_PATH) \
26052 $(NORMAL_TARGET_EXPORTS) \
26053 echo "Doing info in $(TARGET_SUBDIR)/libtermcap" ; \
26054 for flag in $(EXTRA_TARGET_FLAGS); do \
26055 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26056 done; \
26057 (cd $(TARGET_SUBDIR)/libtermcap && \
26058 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26059 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26060 "RANLIB=$${RANLIB}" \
26061 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26062 info) \
26063 || exit 1
26065 @endif target-libtermcap
26067 .PHONY: maybe-dvi-target-libtermcap dvi-target-libtermcap
26068 maybe-dvi-target-libtermcap:
26069 @if target-libtermcap
26070 maybe-dvi-target-libtermcap: dvi-target-libtermcap
26072 dvi-target-libtermcap: \
26073 configure-target-libtermcap
26074 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26075 r=`${PWD_COMMAND}`; export r; \
26076 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26077 $(SET_LIB_PATH) \
26078 $(NORMAL_TARGET_EXPORTS) \
26079 echo "Doing dvi in $(TARGET_SUBDIR)/libtermcap" ; \
26080 for flag in $(EXTRA_TARGET_FLAGS); do \
26081 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26082 done; \
26083 (cd $(TARGET_SUBDIR)/libtermcap && \
26084 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26085 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26086 "RANLIB=$${RANLIB}" \
26087 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26088 dvi) \
26089 || exit 1
26091 @endif target-libtermcap
26093 .PHONY: maybe-html-target-libtermcap html-target-libtermcap
26094 maybe-html-target-libtermcap:
26095 @if target-libtermcap
26096 maybe-html-target-libtermcap: html-target-libtermcap
26098 html-target-libtermcap: \
26099 configure-target-libtermcap
26100 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26101 r=`${PWD_COMMAND}`; export r; \
26102 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26103 $(SET_LIB_PATH) \
26104 $(NORMAL_TARGET_EXPORTS) \
26105 echo "Doing html in $(TARGET_SUBDIR)/libtermcap" ; \
26106 for flag in $(EXTRA_TARGET_FLAGS); do \
26107 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26108 done; \
26109 (cd $(TARGET_SUBDIR)/libtermcap && \
26110 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26111 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26112 "RANLIB=$${RANLIB}" \
26113 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26114 html) \
26115 || exit 1
26117 @endif target-libtermcap
26119 .PHONY: maybe-TAGS-target-libtermcap TAGS-target-libtermcap
26120 maybe-TAGS-target-libtermcap:
26121 @if target-libtermcap
26122 maybe-TAGS-target-libtermcap: TAGS-target-libtermcap
26124 TAGS-target-libtermcap: \
26125 configure-target-libtermcap
26126 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26127 r=`${PWD_COMMAND}`; export r; \
26128 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26129 $(SET_LIB_PATH) \
26130 $(NORMAL_TARGET_EXPORTS) \
26131 echo "Doing TAGS in $(TARGET_SUBDIR)/libtermcap" ; \
26132 for flag in $(EXTRA_TARGET_FLAGS); do \
26133 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26134 done; \
26135 (cd $(TARGET_SUBDIR)/libtermcap && \
26136 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26137 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26138 "RANLIB=$${RANLIB}" \
26139 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26140 TAGS) \
26141 || exit 1
26143 @endif target-libtermcap
26145 .PHONY: maybe-install-info-target-libtermcap install-info-target-libtermcap
26146 maybe-install-info-target-libtermcap:
26147 @if target-libtermcap
26148 maybe-install-info-target-libtermcap: install-info-target-libtermcap
26150 install-info-target-libtermcap: \
26151 configure-target-libtermcap \
26152 info-target-libtermcap
26153 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26154 r=`${PWD_COMMAND}`; export r; \
26155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26156 $(SET_LIB_PATH) \
26157 $(NORMAL_TARGET_EXPORTS) \
26158 echo "Doing install-info in $(TARGET_SUBDIR)/libtermcap" ; \
26159 for flag in $(EXTRA_TARGET_FLAGS); do \
26160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26161 done; \
26162 (cd $(TARGET_SUBDIR)/libtermcap && \
26163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26165 "RANLIB=$${RANLIB}" \
26166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26167 install-info) \
26168 || exit 1
26170 @endif target-libtermcap
26172 .PHONY: maybe-installcheck-target-libtermcap installcheck-target-libtermcap
26173 maybe-installcheck-target-libtermcap:
26174 @if target-libtermcap
26175 maybe-installcheck-target-libtermcap: installcheck-target-libtermcap
26177 installcheck-target-libtermcap: \
26178 configure-target-libtermcap
26179 @[ -f $(TARGET_SUBDIR)/libtermcap/Makefile ] || exit 0 ; \
26180 r=`${PWD_COMMAND}`; export r; \
26181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26182 $(SET_LIB_PATH) \
26183 $(NORMAL_TARGET_EXPORTS) \
26184 echo "Doing installcheck in $(TARGET_SUBDIR)/libtermcap" ; \
26185 for flag in $(EXTRA_TARGET_FLAGS); do \
26186 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26187 done; \
26188 (cd $(TARGET_SUBDIR)/libtermcap && \
26189 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26190 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26191 "RANLIB=$${RANLIB}" \
26192 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26193 installcheck) \
26194 || exit 1
26196 @endif target-libtermcap
26198 .PHONY: maybe-mostlyclean-target-libtermcap mostlyclean-target-libtermcap
26199 maybe-mostlyclean-target-libtermcap:
26200 @if target-libtermcap
26201 maybe-mostlyclean-target-libtermcap: mostlyclean-target-libtermcap
26203 # libtermcap doesn't support mostlyclean.
26204 mostlyclean-target-libtermcap:
26206 @endif target-libtermcap
26208 .PHONY: maybe-clean-target-libtermcap clean-target-libtermcap
26209 maybe-clean-target-libtermcap:
26210 @if target-libtermcap
26211 maybe-clean-target-libtermcap: clean-target-libtermcap
26213 # libtermcap doesn't support clean.
26214 clean-target-libtermcap:
26216 @endif target-libtermcap
26218 .PHONY: maybe-distclean-target-libtermcap distclean-target-libtermcap
26219 maybe-distclean-target-libtermcap:
26220 @if target-libtermcap
26221 maybe-distclean-target-libtermcap: distclean-target-libtermcap
26223 # libtermcap doesn't support distclean.
26224 distclean-target-libtermcap:
26226 @endif target-libtermcap
26228 .PHONY: maybe-maintainer-clean-target-libtermcap maintainer-clean-target-libtermcap
26229 maybe-maintainer-clean-target-libtermcap:
26230 @if target-libtermcap
26231 maybe-maintainer-clean-target-libtermcap: maintainer-clean-target-libtermcap
26233 # libtermcap doesn't support maintainer-clean.
26234 maintainer-clean-target-libtermcap:
26236 @endif target-libtermcap
26239 .PHONY: configure-target-winsup maybe-configure-target-winsup
26240 maybe-configure-target-winsup:
26241 @if target-winsup
26242 maybe-configure-target-winsup: configure-target-winsup
26244 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26245 $(TARGET_SUBDIR)/winsup/multilib.out: multilib.out
26246 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26247 rm -f $(TARGET_SUBDIR)/winsup/Makefile || : ; \
26248 cp multilib.out $(TARGET_SUBDIR)/winsup/multilib.out
26250 configure-target-winsup: $(TARGET_SUBDIR)/winsup/multilib.out
26251 @test ! -f $(TARGET_SUBDIR)/winsup/Makefile || exit 0; \
26252 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/winsup ; \
26253 r=`${PWD_COMMAND}`; export r; \
26254 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26255 $(SET_LIB_PATH) \
26256 $(NORMAL_TARGET_EXPORTS) \
26257 echo Configuring in $(TARGET_SUBDIR)/winsup; \
26258 cd "$(TARGET_SUBDIR)/winsup" || exit 1; \
26259 case $(srcdir) in \
26260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26261 *) topdir=`echo $(TARGET_SUBDIR)/winsup/ | \
26262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26263 esac; \
26264 srcdiroption="--srcdir=$${topdir}/winsup"; \
26265 libsrcdir="$$s/winsup"; \
26266 rm -f no-such-file || : ; \
26267 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26268 $(TARGET_CONFIGARGS) $${srcdiroption} \
26269 --with-target-subdir="$(TARGET_SUBDIR)" \
26270 || exit 1
26271 @endif target-winsup
26273 .PHONY: all-target-winsup maybe-all-target-winsup
26274 maybe-all-target-winsup:
26275 @if target-winsup
26276 TARGET-target-winsup=all
26277 maybe-all-target-winsup: all-target-winsup
26278 all-target-winsup: configure-target-winsup
26279 @r=`${PWD_COMMAND}`; export r; \
26280 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26281 $(SET_LIB_PATH) \
26282 $(NORMAL_TARGET_EXPORTS) \
26283 (cd $(TARGET_SUBDIR)/winsup && \
26284 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-winsup))
26285 @endif target-winsup
26287 .PHONY: check-target-winsup maybe-check-target-winsup
26288 maybe-check-target-winsup:
26289 @if target-winsup
26290 maybe-check-target-winsup: check-target-winsup
26292 check-target-winsup:
26293 @r=`${PWD_COMMAND}`; export r; \
26294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26295 $(SET_LIB_PATH) \
26296 $(NORMAL_TARGET_EXPORTS) \
26297 (cd $(TARGET_SUBDIR)/winsup && \
26298 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26300 @endif target-winsup
26302 .PHONY: install-target-winsup maybe-install-target-winsup
26303 maybe-install-target-winsup:
26304 @if target-winsup
26305 maybe-install-target-winsup: install-target-winsup
26307 install-target-winsup: installdirs
26308 @r=`${PWD_COMMAND}`; export r; \
26309 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26310 $(SET_LIB_PATH) \
26311 $(NORMAL_TARGET_EXPORTS) \
26312 (cd $(TARGET_SUBDIR)/winsup && \
26313 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26315 @endif target-winsup
26317 # Other targets (info, dvi, etc.)
26319 .PHONY: maybe-info-target-winsup info-target-winsup
26320 maybe-info-target-winsup:
26321 @if target-winsup
26322 maybe-info-target-winsup: info-target-winsup
26324 info-target-winsup: \
26325 configure-target-winsup
26326 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26327 r=`${PWD_COMMAND}`; export r; \
26328 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26329 $(SET_LIB_PATH) \
26330 $(NORMAL_TARGET_EXPORTS) \
26331 echo "Doing info in $(TARGET_SUBDIR)/winsup" ; \
26332 for flag in $(EXTRA_TARGET_FLAGS); do \
26333 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26334 done; \
26335 (cd $(TARGET_SUBDIR)/winsup && \
26336 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26337 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26338 "RANLIB=$${RANLIB}" \
26339 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26340 info) \
26341 || exit 1
26343 @endif target-winsup
26345 .PHONY: maybe-dvi-target-winsup dvi-target-winsup
26346 maybe-dvi-target-winsup:
26347 @if target-winsup
26348 maybe-dvi-target-winsup: dvi-target-winsup
26350 dvi-target-winsup: \
26351 configure-target-winsup
26352 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26353 r=`${PWD_COMMAND}`; export r; \
26354 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26355 $(SET_LIB_PATH) \
26356 $(NORMAL_TARGET_EXPORTS) \
26357 echo "Doing dvi in $(TARGET_SUBDIR)/winsup" ; \
26358 for flag in $(EXTRA_TARGET_FLAGS); do \
26359 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26360 done; \
26361 (cd $(TARGET_SUBDIR)/winsup && \
26362 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26363 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26364 "RANLIB=$${RANLIB}" \
26365 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26366 dvi) \
26367 || exit 1
26369 @endif target-winsup
26371 .PHONY: maybe-html-target-winsup html-target-winsup
26372 maybe-html-target-winsup:
26373 @if target-winsup
26374 maybe-html-target-winsup: html-target-winsup
26376 html-target-winsup: \
26377 configure-target-winsup
26378 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26379 r=`${PWD_COMMAND}`; export r; \
26380 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26381 $(SET_LIB_PATH) \
26382 $(NORMAL_TARGET_EXPORTS) \
26383 echo "Doing html in $(TARGET_SUBDIR)/winsup" ; \
26384 for flag in $(EXTRA_TARGET_FLAGS); do \
26385 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26386 done; \
26387 (cd $(TARGET_SUBDIR)/winsup && \
26388 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26389 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26390 "RANLIB=$${RANLIB}" \
26391 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26392 html) \
26393 || exit 1
26395 @endif target-winsup
26397 .PHONY: maybe-TAGS-target-winsup TAGS-target-winsup
26398 maybe-TAGS-target-winsup:
26399 @if target-winsup
26400 maybe-TAGS-target-winsup: TAGS-target-winsup
26402 TAGS-target-winsup: \
26403 configure-target-winsup
26404 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26405 r=`${PWD_COMMAND}`; export r; \
26406 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26407 $(SET_LIB_PATH) \
26408 $(NORMAL_TARGET_EXPORTS) \
26409 echo "Doing TAGS in $(TARGET_SUBDIR)/winsup" ; \
26410 for flag in $(EXTRA_TARGET_FLAGS); do \
26411 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26412 done; \
26413 (cd $(TARGET_SUBDIR)/winsup && \
26414 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26415 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26416 "RANLIB=$${RANLIB}" \
26417 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26418 TAGS) \
26419 || exit 1
26421 @endif target-winsup
26423 .PHONY: maybe-install-info-target-winsup install-info-target-winsup
26424 maybe-install-info-target-winsup:
26425 @if target-winsup
26426 maybe-install-info-target-winsup: install-info-target-winsup
26428 install-info-target-winsup: \
26429 configure-target-winsup \
26430 info-target-winsup
26431 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26432 r=`${PWD_COMMAND}`; export r; \
26433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26434 $(SET_LIB_PATH) \
26435 $(NORMAL_TARGET_EXPORTS) \
26436 echo "Doing install-info in $(TARGET_SUBDIR)/winsup" ; \
26437 for flag in $(EXTRA_TARGET_FLAGS); do \
26438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26439 done; \
26440 (cd $(TARGET_SUBDIR)/winsup && \
26441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26443 "RANLIB=$${RANLIB}" \
26444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26445 install-info) \
26446 || exit 1
26448 @endif target-winsup
26450 .PHONY: maybe-installcheck-target-winsup installcheck-target-winsup
26451 maybe-installcheck-target-winsup:
26452 @if target-winsup
26453 maybe-installcheck-target-winsup: installcheck-target-winsup
26455 installcheck-target-winsup: \
26456 configure-target-winsup
26457 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26458 r=`${PWD_COMMAND}`; export r; \
26459 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26460 $(SET_LIB_PATH) \
26461 $(NORMAL_TARGET_EXPORTS) \
26462 echo "Doing installcheck in $(TARGET_SUBDIR)/winsup" ; \
26463 for flag in $(EXTRA_TARGET_FLAGS); do \
26464 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26465 done; \
26466 (cd $(TARGET_SUBDIR)/winsup && \
26467 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26468 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26469 "RANLIB=$${RANLIB}" \
26470 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26471 installcheck) \
26472 || exit 1
26474 @endif target-winsup
26476 .PHONY: maybe-mostlyclean-target-winsup mostlyclean-target-winsup
26477 maybe-mostlyclean-target-winsup:
26478 @if target-winsup
26479 maybe-mostlyclean-target-winsup: mostlyclean-target-winsup
26481 mostlyclean-target-winsup:
26482 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26483 r=`${PWD_COMMAND}`; export r; \
26484 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26485 $(SET_LIB_PATH) \
26486 $(NORMAL_TARGET_EXPORTS) \
26487 echo "Doing mostlyclean in $(TARGET_SUBDIR)/winsup" ; \
26488 for flag in $(EXTRA_TARGET_FLAGS); do \
26489 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26490 done; \
26491 (cd $(TARGET_SUBDIR)/winsup && \
26492 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26493 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26494 "RANLIB=$${RANLIB}" \
26495 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26496 mostlyclean) \
26497 || exit 1
26499 @endif target-winsup
26501 .PHONY: maybe-clean-target-winsup clean-target-winsup
26502 maybe-clean-target-winsup:
26503 @if target-winsup
26504 maybe-clean-target-winsup: clean-target-winsup
26506 clean-target-winsup:
26507 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26508 r=`${PWD_COMMAND}`; export r; \
26509 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26510 $(SET_LIB_PATH) \
26511 $(NORMAL_TARGET_EXPORTS) \
26512 echo "Doing clean in $(TARGET_SUBDIR)/winsup" ; \
26513 for flag in $(EXTRA_TARGET_FLAGS); do \
26514 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26515 done; \
26516 (cd $(TARGET_SUBDIR)/winsup && \
26517 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26518 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26519 "RANLIB=$${RANLIB}" \
26520 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26521 clean) \
26522 || exit 1
26524 @endif target-winsup
26526 .PHONY: maybe-distclean-target-winsup distclean-target-winsup
26527 maybe-distclean-target-winsup:
26528 @if target-winsup
26529 maybe-distclean-target-winsup: distclean-target-winsup
26531 distclean-target-winsup:
26532 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26533 r=`${PWD_COMMAND}`; export r; \
26534 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26535 $(SET_LIB_PATH) \
26536 $(NORMAL_TARGET_EXPORTS) \
26537 echo "Doing distclean in $(TARGET_SUBDIR)/winsup" ; \
26538 for flag in $(EXTRA_TARGET_FLAGS); do \
26539 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26540 done; \
26541 (cd $(TARGET_SUBDIR)/winsup && \
26542 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26543 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26544 "RANLIB=$${RANLIB}" \
26545 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26546 distclean) \
26547 || exit 1
26549 @endif target-winsup
26551 .PHONY: maybe-maintainer-clean-target-winsup maintainer-clean-target-winsup
26552 maybe-maintainer-clean-target-winsup:
26553 @if target-winsup
26554 maybe-maintainer-clean-target-winsup: maintainer-clean-target-winsup
26556 maintainer-clean-target-winsup:
26557 @[ -f $(TARGET_SUBDIR)/winsup/Makefile ] || exit 0 ; \
26558 r=`${PWD_COMMAND}`; export r; \
26559 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26560 $(SET_LIB_PATH) \
26561 $(NORMAL_TARGET_EXPORTS) \
26562 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/winsup" ; \
26563 for flag in $(EXTRA_TARGET_FLAGS); do \
26564 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26565 done; \
26566 (cd $(TARGET_SUBDIR)/winsup && \
26567 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26568 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26569 "RANLIB=$${RANLIB}" \
26570 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26571 maintainer-clean) \
26572 || exit 1
26574 @endif target-winsup
26577 .PHONY: configure-target-libgloss maybe-configure-target-libgloss
26578 maybe-configure-target-libgloss:
26579 @if target-libgloss
26580 maybe-configure-target-libgloss: configure-target-libgloss
26582 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26583 $(TARGET_SUBDIR)/libgloss/multilib.out: multilib.out
26584 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26585 rm -f $(TARGET_SUBDIR)/libgloss/Makefile || : ; \
26586 cp multilib.out $(TARGET_SUBDIR)/libgloss/multilib.out
26588 configure-target-libgloss: $(TARGET_SUBDIR)/libgloss/multilib.out
26589 @test ! -f $(TARGET_SUBDIR)/libgloss/Makefile || exit 0; \
26590 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libgloss ; \
26591 r=`${PWD_COMMAND}`; export r; \
26592 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26593 $(SET_LIB_PATH) \
26594 $(NORMAL_TARGET_EXPORTS) \
26595 echo Configuring in $(TARGET_SUBDIR)/libgloss; \
26596 cd "$(TARGET_SUBDIR)/libgloss" || exit 1; \
26597 case $(srcdir) in \
26598 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26599 *) topdir=`echo $(TARGET_SUBDIR)/libgloss/ | \
26600 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26601 esac; \
26602 srcdiroption="--srcdir=$${topdir}/libgloss"; \
26603 libsrcdir="$$s/libgloss"; \
26604 rm -f no-such-file || : ; \
26605 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26606 $(TARGET_CONFIGARGS) $${srcdiroption} \
26607 --with-target-subdir="$(TARGET_SUBDIR)" \
26608 || exit 1
26609 @endif target-libgloss
26611 .PHONY: all-target-libgloss maybe-all-target-libgloss
26612 maybe-all-target-libgloss:
26613 @if target-libgloss
26614 TARGET-target-libgloss=all
26615 maybe-all-target-libgloss: all-target-libgloss
26616 all-target-libgloss: configure-target-libgloss
26617 @r=`${PWD_COMMAND}`; export r; \
26618 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26619 $(SET_LIB_PATH) \
26620 $(NORMAL_TARGET_EXPORTS) \
26621 (cd $(TARGET_SUBDIR)/libgloss && \
26622 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libgloss))
26623 @endif target-libgloss
26625 .PHONY: check-target-libgloss maybe-check-target-libgloss
26626 maybe-check-target-libgloss:
26627 @if target-libgloss
26628 maybe-check-target-libgloss: check-target-libgloss
26630 # Dummy target for uncheckable module.
26631 check-target-libgloss:
26633 @endif target-libgloss
26635 .PHONY: install-target-libgloss maybe-install-target-libgloss
26636 maybe-install-target-libgloss:
26637 @if target-libgloss
26638 maybe-install-target-libgloss: install-target-libgloss
26640 install-target-libgloss: installdirs
26641 @r=`${PWD_COMMAND}`; export r; \
26642 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26643 $(SET_LIB_PATH) \
26644 $(NORMAL_TARGET_EXPORTS) \
26645 (cd $(TARGET_SUBDIR)/libgloss && \
26646 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26648 @endif target-libgloss
26650 # Other targets (info, dvi, etc.)
26652 .PHONY: maybe-info-target-libgloss info-target-libgloss
26653 maybe-info-target-libgloss:
26654 @if target-libgloss
26655 maybe-info-target-libgloss: info-target-libgloss
26657 info-target-libgloss: \
26658 configure-target-libgloss
26659 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26660 r=`${PWD_COMMAND}`; export r; \
26661 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26662 $(SET_LIB_PATH) \
26663 $(NORMAL_TARGET_EXPORTS) \
26664 echo "Doing info in $(TARGET_SUBDIR)/libgloss" ; \
26665 for flag in $(EXTRA_TARGET_FLAGS); do \
26666 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26667 done; \
26668 (cd $(TARGET_SUBDIR)/libgloss && \
26669 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26670 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26671 "RANLIB=$${RANLIB}" \
26672 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26673 info) \
26674 || exit 1
26676 @endif target-libgloss
26678 .PHONY: maybe-dvi-target-libgloss dvi-target-libgloss
26679 maybe-dvi-target-libgloss:
26680 @if target-libgloss
26681 maybe-dvi-target-libgloss: dvi-target-libgloss
26683 dvi-target-libgloss: \
26684 configure-target-libgloss
26685 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26686 r=`${PWD_COMMAND}`; export r; \
26687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26688 $(SET_LIB_PATH) \
26689 $(NORMAL_TARGET_EXPORTS) \
26690 echo "Doing dvi in $(TARGET_SUBDIR)/libgloss" ; \
26691 for flag in $(EXTRA_TARGET_FLAGS); do \
26692 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26693 done; \
26694 (cd $(TARGET_SUBDIR)/libgloss && \
26695 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26696 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26697 "RANLIB=$${RANLIB}" \
26698 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26699 dvi) \
26700 || exit 1
26702 @endif target-libgloss
26704 .PHONY: maybe-html-target-libgloss html-target-libgloss
26705 maybe-html-target-libgloss:
26706 @if target-libgloss
26707 maybe-html-target-libgloss: html-target-libgloss
26709 html-target-libgloss: \
26710 configure-target-libgloss
26711 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26712 r=`${PWD_COMMAND}`; export r; \
26713 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26714 $(SET_LIB_PATH) \
26715 $(NORMAL_TARGET_EXPORTS) \
26716 echo "Doing html in $(TARGET_SUBDIR)/libgloss" ; \
26717 for flag in $(EXTRA_TARGET_FLAGS); do \
26718 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26719 done; \
26720 (cd $(TARGET_SUBDIR)/libgloss && \
26721 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26722 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26723 "RANLIB=$${RANLIB}" \
26724 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26725 html) \
26726 || exit 1
26728 @endif target-libgloss
26730 .PHONY: maybe-TAGS-target-libgloss TAGS-target-libgloss
26731 maybe-TAGS-target-libgloss:
26732 @if target-libgloss
26733 maybe-TAGS-target-libgloss: TAGS-target-libgloss
26735 TAGS-target-libgloss: \
26736 configure-target-libgloss
26737 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26738 r=`${PWD_COMMAND}`; export r; \
26739 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26740 $(SET_LIB_PATH) \
26741 $(NORMAL_TARGET_EXPORTS) \
26742 echo "Doing TAGS in $(TARGET_SUBDIR)/libgloss" ; \
26743 for flag in $(EXTRA_TARGET_FLAGS); do \
26744 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26745 done; \
26746 (cd $(TARGET_SUBDIR)/libgloss && \
26747 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26748 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26749 "RANLIB=$${RANLIB}" \
26750 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26751 TAGS) \
26752 || exit 1
26754 @endif target-libgloss
26756 .PHONY: maybe-install-info-target-libgloss install-info-target-libgloss
26757 maybe-install-info-target-libgloss:
26758 @if target-libgloss
26759 maybe-install-info-target-libgloss: install-info-target-libgloss
26761 install-info-target-libgloss: \
26762 configure-target-libgloss \
26763 info-target-libgloss
26764 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26765 r=`${PWD_COMMAND}`; export r; \
26766 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26767 $(SET_LIB_PATH) \
26768 $(NORMAL_TARGET_EXPORTS) \
26769 echo "Doing install-info in $(TARGET_SUBDIR)/libgloss" ; \
26770 for flag in $(EXTRA_TARGET_FLAGS); do \
26771 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26772 done; \
26773 (cd $(TARGET_SUBDIR)/libgloss && \
26774 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26775 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26776 "RANLIB=$${RANLIB}" \
26777 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26778 install-info) \
26779 || exit 1
26781 @endif target-libgloss
26783 .PHONY: maybe-installcheck-target-libgloss installcheck-target-libgloss
26784 maybe-installcheck-target-libgloss:
26785 @if target-libgloss
26786 maybe-installcheck-target-libgloss: installcheck-target-libgloss
26788 installcheck-target-libgloss: \
26789 configure-target-libgloss
26790 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26791 r=`${PWD_COMMAND}`; export r; \
26792 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26793 $(SET_LIB_PATH) \
26794 $(NORMAL_TARGET_EXPORTS) \
26795 echo "Doing installcheck in $(TARGET_SUBDIR)/libgloss" ; \
26796 for flag in $(EXTRA_TARGET_FLAGS); do \
26797 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26798 done; \
26799 (cd $(TARGET_SUBDIR)/libgloss && \
26800 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26801 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26802 "RANLIB=$${RANLIB}" \
26803 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26804 installcheck) \
26805 || exit 1
26807 @endif target-libgloss
26809 .PHONY: maybe-mostlyclean-target-libgloss mostlyclean-target-libgloss
26810 maybe-mostlyclean-target-libgloss:
26811 @if target-libgloss
26812 maybe-mostlyclean-target-libgloss: mostlyclean-target-libgloss
26814 mostlyclean-target-libgloss:
26815 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26816 r=`${PWD_COMMAND}`; export r; \
26817 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26818 $(SET_LIB_PATH) \
26819 $(NORMAL_TARGET_EXPORTS) \
26820 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libgloss" ; \
26821 for flag in $(EXTRA_TARGET_FLAGS); do \
26822 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26823 done; \
26824 (cd $(TARGET_SUBDIR)/libgloss && \
26825 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26826 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26827 "RANLIB=$${RANLIB}" \
26828 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26829 mostlyclean) \
26830 || exit 1
26832 @endif target-libgloss
26834 .PHONY: maybe-clean-target-libgloss clean-target-libgloss
26835 maybe-clean-target-libgloss:
26836 @if target-libgloss
26837 maybe-clean-target-libgloss: clean-target-libgloss
26839 clean-target-libgloss:
26840 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26841 r=`${PWD_COMMAND}`; export r; \
26842 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26843 $(SET_LIB_PATH) \
26844 $(NORMAL_TARGET_EXPORTS) \
26845 echo "Doing clean in $(TARGET_SUBDIR)/libgloss" ; \
26846 for flag in $(EXTRA_TARGET_FLAGS); do \
26847 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26848 done; \
26849 (cd $(TARGET_SUBDIR)/libgloss && \
26850 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26851 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26852 "RANLIB=$${RANLIB}" \
26853 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26854 clean) \
26855 || exit 1
26857 @endif target-libgloss
26859 .PHONY: maybe-distclean-target-libgloss distclean-target-libgloss
26860 maybe-distclean-target-libgloss:
26861 @if target-libgloss
26862 maybe-distclean-target-libgloss: distclean-target-libgloss
26864 distclean-target-libgloss:
26865 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26866 r=`${PWD_COMMAND}`; export r; \
26867 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26868 $(SET_LIB_PATH) \
26869 $(NORMAL_TARGET_EXPORTS) \
26870 echo "Doing distclean in $(TARGET_SUBDIR)/libgloss" ; \
26871 for flag in $(EXTRA_TARGET_FLAGS); do \
26872 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26873 done; \
26874 (cd $(TARGET_SUBDIR)/libgloss && \
26875 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26876 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26877 "RANLIB=$${RANLIB}" \
26878 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26879 distclean) \
26880 || exit 1
26882 @endif target-libgloss
26884 .PHONY: maybe-maintainer-clean-target-libgloss maintainer-clean-target-libgloss
26885 maybe-maintainer-clean-target-libgloss:
26886 @if target-libgloss
26887 maybe-maintainer-clean-target-libgloss: maintainer-clean-target-libgloss
26889 maintainer-clean-target-libgloss:
26890 @[ -f $(TARGET_SUBDIR)/libgloss/Makefile ] || exit 0 ; \
26891 r=`${PWD_COMMAND}`; export r; \
26892 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26893 $(SET_LIB_PATH) \
26894 $(NORMAL_TARGET_EXPORTS) \
26895 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libgloss" ; \
26896 for flag in $(EXTRA_TARGET_FLAGS); do \
26897 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
26898 done; \
26899 (cd $(TARGET_SUBDIR)/libgloss && \
26900 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
26901 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
26902 "RANLIB=$${RANLIB}" \
26903 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
26904 maintainer-clean) \
26905 || exit 1
26907 @endif target-libgloss
26910 .PHONY: configure-target-libiberty maybe-configure-target-libiberty
26911 maybe-configure-target-libiberty:
26912 @if target-libiberty
26913 maybe-configure-target-libiberty: configure-target-libiberty
26915 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
26916 $(TARGET_SUBDIR)/libiberty/multilib.out: multilib.out
26917 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26918 rm -f $(TARGET_SUBDIR)/libiberty/Makefile || : ; \
26919 cp multilib.out $(TARGET_SUBDIR)/libiberty/multilib.out
26921 configure-target-libiberty: $(TARGET_SUBDIR)/libiberty/multilib.out
26922 @test ! -f $(TARGET_SUBDIR)/libiberty/Makefile || exit 0; \
26923 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libiberty ; \
26924 r=`${PWD_COMMAND}`; export r; \
26925 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26926 $(SET_LIB_PATH) \
26927 $(NORMAL_TARGET_EXPORTS) \
26928 echo Configuring in $(TARGET_SUBDIR)/libiberty; \
26929 cd "$(TARGET_SUBDIR)/libiberty" || exit 1; \
26930 case $(srcdir) in \
26931 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
26932 *) topdir=`echo $(TARGET_SUBDIR)/libiberty/ | \
26933 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
26934 esac; \
26935 srcdiroption="--srcdir=$${topdir}/libiberty"; \
26936 libsrcdir="$$s/libiberty"; \
26937 rm -f no-such-file || : ; \
26938 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
26939 $(TARGET_CONFIGARGS) $${srcdiroption} \
26940 --with-target-subdir="$(TARGET_SUBDIR)" \
26941 || exit 1
26942 @endif target-libiberty
26944 .PHONY: all-target-libiberty maybe-all-target-libiberty
26945 maybe-all-target-libiberty:
26946 @if target-libiberty
26947 TARGET-target-libiberty=all
26948 maybe-all-target-libiberty: all-target-libiberty
26949 all-target-libiberty: configure-target-libiberty
26950 @r=`${PWD_COMMAND}`; export r; \
26951 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26952 $(SET_LIB_PATH) \
26953 $(NORMAL_TARGET_EXPORTS) \
26954 (cd $(TARGET_SUBDIR)/libiberty && \
26955 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libiberty))
26956 @endif target-libiberty
26958 .PHONY: check-target-libiberty maybe-check-target-libiberty
26959 maybe-check-target-libiberty:
26960 @if target-libiberty
26961 maybe-check-target-libiberty: check-target-libiberty
26963 check-target-libiberty:
26964 @r=`${PWD_COMMAND}`; export r; \
26965 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26966 $(SET_LIB_PATH) \
26967 $(NORMAL_TARGET_EXPORTS) \
26968 (cd $(TARGET_SUBDIR)/libiberty && \
26969 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
26971 @endif target-libiberty
26973 .PHONY: install-target-libiberty maybe-install-target-libiberty
26974 maybe-install-target-libiberty:
26975 @if target-libiberty
26976 maybe-install-target-libiberty: install-target-libiberty
26978 install-target-libiberty: installdirs
26979 @r=`${PWD_COMMAND}`; export r; \
26980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
26981 $(SET_LIB_PATH) \
26982 $(NORMAL_TARGET_EXPORTS) \
26983 (cd $(TARGET_SUBDIR)/libiberty && \
26984 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
26986 @endif target-libiberty
26988 # Other targets (info, dvi, etc.)
26990 .PHONY: maybe-info-target-libiberty info-target-libiberty
26991 maybe-info-target-libiberty:
26992 @if target-libiberty
26993 maybe-info-target-libiberty: info-target-libiberty
26995 info-target-libiberty: \
26996 configure-target-libiberty
26997 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
26998 r=`${PWD_COMMAND}`; export r; \
26999 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27000 $(SET_LIB_PATH) \
27001 $(NORMAL_TARGET_EXPORTS) \
27002 echo "Doing info in $(TARGET_SUBDIR)/libiberty" ; \
27003 for flag in $(EXTRA_TARGET_FLAGS); do \
27004 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27005 done; \
27006 (cd $(TARGET_SUBDIR)/libiberty && \
27007 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27008 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27009 "RANLIB=$${RANLIB}" \
27010 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27011 info) \
27012 || exit 1
27014 @endif target-libiberty
27016 .PHONY: maybe-dvi-target-libiberty dvi-target-libiberty
27017 maybe-dvi-target-libiberty:
27018 @if target-libiberty
27019 maybe-dvi-target-libiberty: dvi-target-libiberty
27021 dvi-target-libiberty: \
27022 configure-target-libiberty
27023 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27024 r=`${PWD_COMMAND}`; export r; \
27025 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27026 $(SET_LIB_PATH) \
27027 $(NORMAL_TARGET_EXPORTS) \
27028 echo "Doing dvi in $(TARGET_SUBDIR)/libiberty" ; \
27029 for flag in $(EXTRA_TARGET_FLAGS); do \
27030 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27031 done; \
27032 (cd $(TARGET_SUBDIR)/libiberty && \
27033 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27034 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27035 "RANLIB=$${RANLIB}" \
27036 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27037 dvi) \
27038 || exit 1
27040 @endif target-libiberty
27042 .PHONY: maybe-html-target-libiberty html-target-libiberty
27043 maybe-html-target-libiberty:
27044 @if target-libiberty
27045 maybe-html-target-libiberty: html-target-libiberty
27047 html-target-libiberty: \
27048 configure-target-libiberty
27049 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27050 r=`${PWD_COMMAND}`; export r; \
27051 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27052 $(SET_LIB_PATH) \
27053 $(NORMAL_TARGET_EXPORTS) \
27054 echo "Doing html in $(TARGET_SUBDIR)/libiberty" ; \
27055 for flag in $(EXTRA_TARGET_FLAGS); do \
27056 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27057 done; \
27058 (cd $(TARGET_SUBDIR)/libiberty && \
27059 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27060 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27061 "RANLIB=$${RANLIB}" \
27062 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27063 html) \
27064 || exit 1
27066 @endif target-libiberty
27068 .PHONY: maybe-TAGS-target-libiberty TAGS-target-libiberty
27069 maybe-TAGS-target-libiberty:
27070 @if target-libiberty
27071 maybe-TAGS-target-libiberty: TAGS-target-libiberty
27073 TAGS-target-libiberty: \
27074 configure-target-libiberty
27075 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27076 r=`${PWD_COMMAND}`; export r; \
27077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27078 $(SET_LIB_PATH) \
27079 $(NORMAL_TARGET_EXPORTS) \
27080 echo "Doing TAGS in $(TARGET_SUBDIR)/libiberty" ; \
27081 for flag in $(EXTRA_TARGET_FLAGS); do \
27082 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27083 done; \
27084 (cd $(TARGET_SUBDIR)/libiberty && \
27085 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27086 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27087 "RANLIB=$${RANLIB}" \
27088 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27089 TAGS) \
27090 || exit 1
27092 @endif target-libiberty
27094 .PHONY: maybe-install-info-target-libiberty install-info-target-libiberty
27095 maybe-install-info-target-libiberty:
27096 @if target-libiberty
27097 maybe-install-info-target-libiberty: install-info-target-libiberty
27099 install-info-target-libiberty: \
27100 configure-target-libiberty \
27101 info-target-libiberty
27102 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27103 r=`${PWD_COMMAND}`; export r; \
27104 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27105 $(SET_LIB_PATH) \
27106 $(NORMAL_TARGET_EXPORTS) \
27107 echo "Doing install-info in $(TARGET_SUBDIR)/libiberty" ; \
27108 for flag in $(EXTRA_TARGET_FLAGS); do \
27109 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27110 done; \
27111 (cd $(TARGET_SUBDIR)/libiberty && \
27112 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27113 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27114 "RANLIB=$${RANLIB}" \
27115 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27116 install-info) \
27117 || exit 1
27119 @endif target-libiberty
27121 .PHONY: maybe-installcheck-target-libiberty installcheck-target-libiberty
27122 maybe-installcheck-target-libiberty:
27123 @if target-libiberty
27124 maybe-installcheck-target-libiberty: installcheck-target-libiberty
27126 installcheck-target-libiberty: \
27127 configure-target-libiberty
27128 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27129 r=`${PWD_COMMAND}`; export r; \
27130 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27131 $(SET_LIB_PATH) \
27132 $(NORMAL_TARGET_EXPORTS) \
27133 echo "Doing installcheck in $(TARGET_SUBDIR)/libiberty" ; \
27134 for flag in $(EXTRA_TARGET_FLAGS); do \
27135 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27136 done; \
27137 (cd $(TARGET_SUBDIR)/libiberty && \
27138 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27139 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27140 "RANLIB=$${RANLIB}" \
27141 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27142 installcheck) \
27143 || exit 1
27145 @endif target-libiberty
27147 .PHONY: maybe-mostlyclean-target-libiberty mostlyclean-target-libiberty
27148 maybe-mostlyclean-target-libiberty:
27149 @if target-libiberty
27150 maybe-mostlyclean-target-libiberty: mostlyclean-target-libiberty
27152 mostlyclean-target-libiberty:
27153 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27154 r=`${PWD_COMMAND}`; export r; \
27155 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27156 $(SET_LIB_PATH) \
27157 $(NORMAL_TARGET_EXPORTS) \
27158 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libiberty" ; \
27159 for flag in $(EXTRA_TARGET_FLAGS); do \
27160 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27161 done; \
27162 (cd $(TARGET_SUBDIR)/libiberty && \
27163 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27164 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27165 "RANLIB=$${RANLIB}" \
27166 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27167 mostlyclean) \
27168 || exit 1
27170 @endif target-libiberty
27172 .PHONY: maybe-clean-target-libiberty clean-target-libiberty
27173 maybe-clean-target-libiberty:
27174 @if target-libiberty
27175 maybe-clean-target-libiberty: clean-target-libiberty
27177 clean-target-libiberty:
27178 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27179 r=`${PWD_COMMAND}`; export r; \
27180 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27181 $(SET_LIB_PATH) \
27182 $(NORMAL_TARGET_EXPORTS) \
27183 echo "Doing clean in $(TARGET_SUBDIR)/libiberty" ; \
27184 for flag in $(EXTRA_TARGET_FLAGS); do \
27185 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27186 done; \
27187 (cd $(TARGET_SUBDIR)/libiberty && \
27188 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27189 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27190 "RANLIB=$${RANLIB}" \
27191 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27192 clean) \
27193 || exit 1
27195 @endif target-libiberty
27197 .PHONY: maybe-distclean-target-libiberty distclean-target-libiberty
27198 maybe-distclean-target-libiberty:
27199 @if target-libiberty
27200 maybe-distclean-target-libiberty: distclean-target-libiberty
27202 distclean-target-libiberty:
27203 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27204 r=`${PWD_COMMAND}`; export r; \
27205 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27206 $(SET_LIB_PATH) \
27207 $(NORMAL_TARGET_EXPORTS) \
27208 echo "Doing distclean in $(TARGET_SUBDIR)/libiberty" ; \
27209 for flag in $(EXTRA_TARGET_FLAGS); do \
27210 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27211 done; \
27212 (cd $(TARGET_SUBDIR)/libiberty && \
27213 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27214 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27215 "RANLIB=$${RANLIB}" \
27216 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27217 distclean) \
27218 || exit 1
27220 @endif target-libiberty
27222 .PHONY: maybe-maintainer-clean-target-libiberty maintainer-clean-target-libiberty
27223 maybe-maintainer-clean-target-libiberty:
27224 @if target-libiberty
27225 maybe-maintainer-clean-target-libiberty: maintainer-clean-target-libiberty
27227 maintainer-clean-target-libiberty:
27228 @[ -f $(TARGET_SUBDIR)/libiberty/Makefile ] || exit 0 ; \
27229 r=`${PWD_COMMAND}`; export r; \
27230 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27231 $(SET_LIB_PATH) \
27232 $(NORMAL_TARGET_EXPORTS) \
27233 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libiberty" ; \
27234 for flag in $(EXTRA_TARGET_FLAGS); do \
27235 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27236 done; \
27237 (cd $(TARGET_SUBDIR)/libiberty && \
27238 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27239 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27240 "RANLIB=$${RANLIB}" \
27241 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27242 maintainer-clean) \
27243 || exit 1
27245 @endif target-libiberty
27248 .PHONY: configure-target-gperf maybe-configure-target-gperf
27249 maybe-configure-target-gperf:
27250 @if target-gperf
27251 maybe-configure-target-gperf: configure-target-gperf
27253 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27254 $(TARGET_SUBDIR)/gperf/multilib.out: multilib.out
27255 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27256 rm -f $(TARGET_SUBDIR)/gperf/Makefile || : ; \
27257 cp multilib.out $(TARGET_SUBDIR)/gperf/multilib.out
27259 configure-target-gperf: $(TARGET_SUBDIR)/gperf/multilib.out
27260 @test ! -f $(TARGET_SUBDIR)/gperf/Makefile || exit 0; \
27261 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/gperf ; \
27262 r=`${PWD_COMMAND}`; export r; \
27263 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27264 $(SET_LIB_PATH) \
27265 $(NORMAL_TARGET_EXPORTS) \
27266 echo Configuring in $(TARGET_SUBDIR)/gperf; \
27267 cd "$(TARGET_SUBDIR)/gperf" || exit 1; \
27268 case $(srcdir) in \
27269 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27270 *) topdir=`echo $(TARGET_SUBDIR)/gperf/ | \
27271 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27272 esac; \
27273 srcdiroption="--srcdir=$${topdir}/gperf"; \
27274 libsrcdir="$$s/gperf"; \
27275 rm -f no-such-file || : ; \
27276 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27277 $(TARGET_CONFIGARGS) $${srcdiroption} \
27278 --with-target-subdir="$(TARGET_SUBDIR)" \
27279 || exit 1
27280 @endif target-gperf
27282 .PHONY: all-target-gperf maybe-all-target-gperf
27283 maybe-all-target-gperf:
27284 @if target-gperf
27285 TARGET-target-gperf=all
27286 maybe-all-target-gperf: all-target-gperf
27287 all-target-gperf: configure-target-gperf
27288 @r=`${PWD_COMMAND}`; export r; \
27289 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27290 $(SET_LIB_PATH) \
27291 $(NORMAL_TARGET_EXPORTS) \
27292 (cd $(TARGET_SUBDIR)/gperf && \
27293 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-gperf))
27294 @endif target-gperf
27296 .PHONY: check-target-gperf maybe-check-target-gperf
27297 maybe-check-target-gperf:
27298 @if target-gperf
27299 maybe-check-target-gperf: check-target-gperf
27301 check-target-gperf:
27302 @r=`${PWD_COMMAND}`; export r; \
27303 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27304 $(SET_LIB_PATH) \
27305 $(NORMAL_TARGET_EXPORTS) \
27306 (cd $(TARGET_SUBDIR)/gperf && \
27307 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27309 @endif target-gperf
27311 .PHONY: install-target-gperf maybe-install-target-gperf
27312 maybe-install-target-gperf:
27313 @if target-gperf
27314 maybe-install-target-gperf: install-target-gperf
27316 install-target-gperf: installdirs
27317 @r=`${PWD_COMMAND}`; export r; \
27318 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27319 $(SET_LIB_PATH) \
27320 $(NORMAL_TARGET_EXPORTS) \
27321 (cd $(TARGET_SUBDIR)/gperf && \
27322 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27324 @endif target-gperf
27326 # Other targets (info, dvi, etc.)
27328 .PHONY: maybe-info-target-gperf info-target-gperf
27329 maybe-info-target-gperf:
27330 @if target-gperf
27331 maybe-info-target-gperf: info-target-gperf
27333 info-target-gperf: \
27334 configure-target-gperf
27335 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27336 r=`${PWD_COMMAND}`; export r; \
27337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27338 $(SET_LIB_PATH) \
27339 $(NORMAL_TARGET_EXPORTS) \
27340 echo "Doing info in $(TARGET_SUBDIR)/gperf" ; \
27341 for flag in $(EXTRA_TARGET_FLAGS); do \
27342 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27343 done; \
27344 (cd $(TARGET_SUBDIR)/gperf && \
27345 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27346 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27347 "RANLIB=$${RANLIB}" \
27348 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27349 info) \
27350 || exit 1
27352 @endif target-gperf
27354 .PHONY: maybe-dvi-target-gperf dvi-target-gperf
27355 maybe-dvi-target-gperf:
27356 @if target-gperf
27357 maybe-dvi-target-gperf: dvi-target-gperf
27359 dvi-target-gperf: \
27360 configure-target-gperf
27361 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27362 r=`${PWD_COMMAND}`; export r; \
27363 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27364 $(SET_LIB_PATH) \
27365 $(NORMAL_TARGET_EXPORTS) \
27366 echo "Doing dvi in $(TARGET_SUBDIR)/gperf" ; \
27367 for flag in $(EXTRA_TARGET_FLAGS); do \
27368 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27369 done; \
27370 (cd $(TARGET_SUBDIR)/gperf && \
27371 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27372 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27373 "RANLIB=$${RANLIB}" \
27374 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27375 dvi) \
27376 || exit 1
27378 @endif target-gperf
27380 .PHONY: maybe-html-target-gperf html-target-gperf
27381 maybe-html-target-gperf:
27382 @if target-gperf
27383 maybe-html-target-gperf: html-target-gperf
27385 html-target-gperf: \
27386 configure-target-gperf
27387 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27388 r=`${PWD_COMMAND}`; export r; \
27389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27390 $(SET_LIB_PATH) \
27391 $(NORMAL_TARGET_EXPORTS) \
27392 echo "Doing html in $(TARGET_SUBDIR)/gperf" ; \
27393 for flag in $(EXTRA_TARGET_FLAGS); do \
27394 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27395 done; \
27396 (cd $(TARGET_SUBDIR)/gperf && \
27397 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27398 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27399 "RANLIB=$${RANLIB}" \
27400 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27401 html) \
27402 || exit 1
27404 @endif target-gperf
27406 .PHONY: maybe-TAGS-target-gperf TAGS-target-gperf
27407 maybe-TAGS-target-gperf:
27408 @if target-gperf
27409 maybe-TAGS-target-gperf: TAGS-target-gperf
27411 TAGS-target-gperf: \
27412 configure-target-gperf
27413 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27414 r=`${PWD_COMMAND}`; export r; \
27415 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27416 $(SET_LIB_PATH) \
27417 $(NORMAL_TARGET_EXPORTS) \
27418 echo "Doing TAGS in $(TARGET_SUBDIR)/gperf" ; \
27419 for flag in $(EXTRA_TARGET_FLAGS); do \
27420 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27421 done; \
27422 (cd $(TARGET_SUBDIR)/gperf && \
27423 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27424 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27425 "RANLIB=$${RANLIB}" \
27426 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27427 TAGS) \
27428 || exit 1
27430 @endif target-gperf
27432 .PHONY: maybe-install-info-target-gperf install-info-target-gperf
27433 maybe-install-info-target-gperf:
27434 @if target-gperf
27435 maybe-install-info-target-gperf: install-info-target-gperf
27437 install-info-target-gperf: \
27438 configure-target-gperf \
27439 info-target-gperf
27440 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27441 r=`${PWD_COMMAND}`; export r; \
27442 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27443 $(SET_LIB_PATH) \
27444 $(NORMAL_TARGET_EXPORTS) \
27445 echo "Doing install-info in $(TARGET_SUBDIR)/gperf" ; \
27446 for flag in $(EXTRA_TARGET_FLAGS); do \
27447 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27448 done; \
27449 (cd $(TARGET_SUBDIR)/gperf && \
27450 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27451 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27452 "RANLIB=$${RANLIB}" \
27453 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27454 install-info) \
27455 || exit 1
27457 @endif target-gperf
27459 .PHONY: maybe-installcheck-target-gperf installcheck-target-gperf
27460 maybe-installcheck-target-gperf:
27461 @if target-gperf
27462 maybe-installcheck-target-gperf: installcheck-target-gperf
27464 installcheck-target-gperf: \
27465 configure-target-gperf
27466 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27467 r=`${PWD_COMMAND}`; export r; \
27468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27469 $(SET_LIB_PATH) \
27470 $(NORMAL_TARGET_EXPORTS) \
27471 echo "Doing installcheck in $(TARGET_SUBDIR)/gperf" ; \
27472 for flag in $(EXTRA_TARGET_FLAGS); do \
27473 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27474 done; \
27475 (cd $(TARGET_SUBDIR)/gperf && \
27476 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27477 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27478 "RANLIB=$${RANLIB}" \
27479 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27480 installcheck) \
27481 || exit 1
27483 @endif target-gperf
27485 .PHONY: maybe-mostlyclean-target-gperf mostlyclean-target-gperf
27486 maybe-mostlyclean-target-gperf:
27487 @if target-gperf
27488 maybe-mostlyclean-target-gperf: mostlyclean-target-gperf
27490 mostlyclean-target-gperf:
27491 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27492 r=`${PWD_COMMAND}`; export r; \
27493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27494 $(SET_LIB_PATH) \
27495 $(NORMAL_TARGET_EXPORTS) \
27496 echo "Doing mostlyclean in $(TARGET_SUBDIR)/gperf" ; \
27497 for flag in $(EXTRA_TARGET_FLAGS); do \
27498 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27499 done; \
27500 (cd $(TARGET_SUBDIR)/gperf && \
27501 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27502 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27503 "RANLIB=$${RANLIB}" \
27504 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27505 mostlyclean) \
27506 || exit 1
27508 @endif target-gperf
27510 .PHONY: maybe-clean-target-gperf clean-target-gperf
27511 maybe-clean-target-gperf:
27512 @if target-gperf
27513 maybe-clean-target-gperf: clean-target-gperf
27515 clean-target-gperf:
27516 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27517 r=`${PWD_COMMAND}`; export r; \
27518 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27519 $(SET_LIB_PATH) \
27520 $(NORMAL_TARGET_EXPORTS) \
27521 echo "Doing clean in $(TARGET_SUBDIR)/gperf" ; \
27522 for flag in $(EXTRA_TARGET_FLAGS); do \
27523 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27524 done; \
27525 (cd $(TARGET_SUBDIR)/gperf && \
27526 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27527 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27528 "RANLIB=$${RANLIB}" \
27529 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27530 clean) \
27531 || exit 1
27533 @endif target-gperf
27535 .PHONY: maybe-distclean-target-gperf distclean-target-gperf
27536 maybe-distclean-target-gperf:
27537 @if target-gperf
27538 maybe-distclean-target-gperf: distclean-target-gperf
27540 distclean-target-gperf:
27541 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27542 r=`${PWD_COMMAND}`; export r; \
27543 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27544 $(SET_LIB_PATH) \
27545 $(NORMAL_TARGET_EXPORTS) \
27546 echo "Doing distclean in $(TARGET_SUBDIR)/gperf" ; \
27547 for flag in $(EXTRA_TARGET_FLAGS); do \
27548 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27549 done; \
27550 (cd $(TARGET_SUBDIR)/gperf && \
27551 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27552 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27553 "RANLIB=$${RANLIB}" \
27554 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27555 distclean) \
27556 || exit 1
27558 @endif target-gperf
27560 .PHONY: maybe-maintainer-clean-target-gperf maintainer-clean-target-gperf
27561 maybe-maintainer-clean-target-gperf:
27562 @if target-gperf
27563 maybe-maintainer-clean-target-gperf: maintainer-clean-target-gperf
27565 maintainer-clean-target-gperf:
27566 @[ -f $(TARGET_SUBDIR)/gperf/Makefile ] || exit 0 ; \
27567 r=`${PWD_COMMAND}`; export r; \
27568 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27569 $(SET_LIB_PATH) \
27570 $(NORMAL_TARGET_EXPORTS) \
27571 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/gperf" ; \
27572 for flag in $(EXTRA_TARGET_FLAGS); do \
27573 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27574 done; \
27575 (cd $(TARGET_SUBDIR)/gperf && \
27576 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27577 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27578 "RANLIB=$${RANLIB}" \
27579 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27580 maintainer-clean) \
27581 || exit 1
27583 @endif target-gperf
27586 .PHONY: configure-target-examples maybe-configure-target-examples
27587 maybe-configure-target-examples:
27588 @if target-examples
27589 maybe-configure-target-examples: configure-target-examples
27591 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27592 $(TARGET_SUBDIR)/examples/multilib.out: multilib.out
27593 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27594 rm -f $(TARGET_SUBDIR)/examples/Makefile || : ; \
27595 cp multilib.out $(TARGET_SUBDIR)/examples/multilib.out
27597 configure-target-examples: $(TARGET_SUBDIR)/examples/multilib.out
27598 @test ! -f $(TARGET_SUBDIR)/examples/Makefile || exit 0; \
27599 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/examples ; \
27600 r=`${PWD_COMMAND}`; export r; \
27601 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27602 $(SET_LIB_PATH) \
27603 $(NORMAL_TARGET_EXPORTS) \
27604 echo Configuring in $(TARGET_SUBDIR)/examples; \
27605 cd "$(TARGET_SUBDIR)/examples" || exit 1; \
27606 case $(srcdir) in \
27607 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27608 *) topdir=`echo $(TARGET_SUBDIR)/examples/ | \
27609 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27610 esac; \
27611 srcdiroption="--srcdir=$${topdir}/examples"; \
27612 libsrcdir="$$s/examples"; \
27613 rm -f no-such-file || : ; \
27614 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27615 $(TARGET_CONFIGARGS) $${srcdiroption} \
27616 --with-target-subdir="$(TARGET_SUBDIR)" \
27617 || exit 1
27618 @endif target-examples
27620 .PHONY: all-target-examples maybe-all-target-examples
27621 maybe-all-target-examples:
27622 @if target-examples
27623 TARGET-target-examples=all
27624 maybe-all-target-examples: all-target-examples
27625 all-target-examples: configure-target-examples
27626 @r=`${PWD_COMMAND}`; export r; \
27627 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27628 $(SET_LIB_PATH) \
27629 $(NORMAL_TARGET_EXPORTS) \
27630 (cd $(TARGET_SUBDIR)/examples && \
27631 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-examples))
27632 @endif target-examples
27634 .PHONY: check-target-examples maybe-check-target-examples
27635 maybe-check-target-examples:
27636 @if target-examples
27637 maybe-check-target-examples: check-target-examples
27639 # Dummy target for uncheckable module.
27640 check-target-examples:
27642 @endif target-examples
27644 .PHONY: install-target-examples maybe-install-target-examples
27645 maybe-install-target-examples:
27646 @if target-examples
27647 maybe-install-target-examples: install-target-examples
27649 # Dummy target for uninstallable.
27650 install-target-examples:
27652 @endif target-examples
27654 # Other targets (info, dvi, etc.)
27656 .PHONY: maybe-info-target-examples info-target-examples
27657 maybe-info-target-examples:
27658 @if target-examples
27659 maybe-info-target-examples: info-target-examples
27661 info-target-examples: \
27662 configure-target-examples
27663 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27664 r=`${PWD_COMMAND}`; export r; \
27665 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27666 $(SET_LIB_PATH) \
27667 $(NORMAL_TARGET_EXPORTS) \
27668 echo "Doing info in $(TARGET_SUBDIR)/examples" ; \
27669 for flag in $(EXTRA_TARGET_FLAGS); do \
27670 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27671 done; \
27672 (cd $(TARGET_SUBDIR)/examples && \
27673 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27674 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27675 "RANLIB=$${RANLIB}" \
27676 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27677 info) \
27678 || exit 1
27680 @endif target-examples
27682 .PHONY: maybe-dvi-target-examples dvi-target-examples
27683 maybe-dvi-target-examples:
27684 @if target-examples
27685 maybe-dvi-target-examples: dvi-target-examples
27687 dvi-target-examples: \
27688 configure-target-examples
27689 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27690 r=`${PWD_COMMAND}`; export r; \
27691 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27692 $(SET_LIB_PATH) \
27693 $(NORMAL_TARGET_EXPORTS) \
27694 echo "Doing dvi in $(TARGET_SUBDIR)/examples" ; \
27695 for flag in $(EXTRA_TARGET_FLAGS); do \
27696 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27697 done; \
27698 (cd $(TARGET_SUBDIR)/examples && \
27699 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27700 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27701 "RANLIB=$${RANLIB}" \
27702 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27703 dvi) \
27704 || exit 1
27706 @endif target-examples
27708 .PHONY: maybe-html-target-examples html-target-examples
27709 maybe-html-target-examples:
27710 @if target-examples
27711 maybe-html-target-examples: html-target-examples
27713 html-target-examples: \
27714 configure-target-examples
27715 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27716 r=`${PWD_COMMAND}`; export r; \
27717 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27718 $(SET_LIB_PATH) \
27719 $(NORMAL_TARGET_EXPORTS) \
27720 echo "Doing html in $(TARGET_SUBDIR)/examples" ; \
27721 for flag in $(EXTRA_TARGET_FLAGS); do \
27722 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27723 done; \
27724 (cd $(TARGET_SUBDIR)/examples && \
27725 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27726 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27727 "RANLIB=$${RANLIB}" \
27728 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27729 html) \
27730 || exit 1
27732 @endif target-examples
27734 .PHONY: maybe-TAGS-target-examples TAGS-target-examples
27735 maybe-TAGS-target-examples:
27736 @if target-examples
27737 maybe-TAGS-target-examples: TAGS-target-examples
27739 TAGS-target-examples: \
27740 configure-target-examples
27741 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27742 r=`${PWD_COMMAND}`; export r; \
27743 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27744 $(SET_LIB_PATH) \
27745 $(NORMAL_TARGET_EXPORTS) \
27746 echo "Doing TAGS in $(TARGET_SUBDIR)/examples" ; \
27747 for flag in $(EXTRA_TARGET_FLAGS); do \
27748 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27749 done; \
27750 (cd $(TARGET_SUBDIR)/examples && \
27751 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27752 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27753 "RANLIB=$${RANLIB}" \
27754 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27755 TAGS) \
27756 || exit 1
27758 @endif target-examples
27760 .PHONY: maybe-install-info-target-examples install-info-target-examples
27761 maybe-install-info-target-examples:
27762 @if target-examples
27763 maybe-install-info-target-examples: install-info-target-examples
27765 install-info-target-examples: \
27766 configure-target-examples \
27767 info-target-examples
27768 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27769 r=`${PWD_COMMAND}`; export r; \
27770 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27771 $(SET_LIB_PATH) \
27772 $(NORMAL_TARGET_EXPORTS) \
27773 echo "Doing install-info in $(TARGET_SUBDIR)/examples" ; \
27774 for flag in $(EXTRA_TARGET_FLAGS); do \
27775 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27776 done; \
27777 (cd $(TARGET_SUBDIR)/examples && \
27778 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27779 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27780 "RANLIB=$${RANLIB}" \
27781 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27782 install-info) \
27783 || exit 1
27785 @endif target-examples
27787 .PHONY: maybe-installcheck-target-examples installcheck-target-examples
27788 maybe-installcheck-target-examples:
27789 @if target-examples
27790 maybe-installcheck-target-examples: installcheck-target-examples
27792 installcheck-target-examples: \
27793 configure-target-examples
27794 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27795 r=`${PWD_COMMAND}`; export r; \
27796 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27797 $(SET_LIB_PATH) \
27798 $(NORMAL_TARGET_EXPORTS) \
27799 echo "Doing installcheck in $(TARGET_SUBDIR)/examples" ; \
27800 for flag in $(EXTRA_TARGET_FLAGS); do \
27801 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27802 done; \
27803 (cd $(TARGET_SUBDIR)/examples && \
27804 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27805 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27806 "RANLIB=$${RANLIB}" \
27807 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27808 installcheck) \
27809 || exit 1
27811 @endif target-examples
27813 .PHONY: maybe-mostlyclean-target-examples mostlyclean-target-examples
27814 maybe-mostlyclean-target-examples:
27815 @if target-examples
27816 maybe-mostlyclean-target-examples: mostlyclean-target-examples
27818 mostlyclean-target-examples:
27819 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27820 r=`${PWD_COMMAND}`; export r; \
27821 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27822 $(SET_LIB_PATH) \
27823 $(NORMAL_TARGET_EXPORTS) \
27824 echo "Doing mostlyclean in $(TARGET_SUBDIR)/examples" ; \
27825 for flag in $(EXTRA_TARGET_FLAGS); do \
27826 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27827 done; \
27828 (cd $(TARGET_SUBDIR)/examples && \
27829 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27830 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27831 "RANLIB=$${RANLIB}" \
27832 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27833 mostlyclean) \
27834 || exit 1
27836 @endif target-examples
27838 .PHONY: maybe-clean-target-examples clean-target-examples
27839 maybe-clean-target-examples:
27840 @if target-examples
27841 maybe-clean-target-examples: clean-target-examples
27843 clean-target-examples:
27844 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27845 r=`${PWD_COMMAND}`; export r; \
27846 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27847 $(SET_LIB_PATH) \
27848 $(NORMAL_TARGET_EXPORTS) \
27849 echo "Doing clean in $(TARGET_SUBDIR)/examples" ; \
27850 for flag in $(EXTRA_TARGET_FLAGS); do \
27851 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27852 done; \
27853 (cd $(TARGET_SUBDIR)/examples && \
27854 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27855 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27856 "RANLIB=$${RANLIB}" \
27857 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27858 clean) \
27859 || exit 1
27861 @endif target-examples
27863 .PHONY: maybe-distclean-target-examples distclean-target-examples
27864 maybe-distclean-target-examples:
27865 @if target-examples
27866 maybe-distclean-target-examples: distclean-target-examples
27868 distclean-target-examples:
27869 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27870 r=`${PWD_COMMAND}`; export r; \
27871 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27872 $(SET_LIB_PATH) \
27873 $(NORMAL_TARGET_EXPORTS) \
27874 echo "Doing distclean in $(TARGET_SUBDIR)/examples" ; \
27875 for flag in $(EXTRA_TARGET_FLAGS); do \
27876 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27877 done; \
27878 (cd $(TARGET_SUBDIR)/examples && \
27879 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27880 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27881 "RANLIB=$${RANLIB}" \
27882 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27883 distclean) \
27884 || exit 1
27886 @endif target-examples
27888 .PHONY: maybe-maintainer-clean-target-examples maintainer-clean-target-examples
27889 maybe-maintainer-clean-target-examples:
27890 @if target-examples
27891 maybe-maintainer-clean-target-examples: maintainer-clean-target-examples
27893 maintainer-clean-target-examples:
27894 @[ -f $(TARGET_SUBDIR)/examples/Makefile ] || exit 0 ; \
27895 r=`${PWD_COMMAND}`; export r; \
27896 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27897 $(SET_LIB_PATH) \
27898 $(NORMAL_TARGET_EXPORTS) \
27899 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/examples" ; \
27900 for flag in $(EXTRA_TARGET_FLAGS); do \
27901 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
27902 done; \
27903 (cd $(TARGET_SUBDIR)/examples && \
27904 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
27905 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
27906 "RANLIB=$${RANLIB}" \
27907 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
27908 maintainer-clean) \
27909 || exit 1
27911 @endif target-examples
27914 .PHONY: configure-target-libffi maybe-configure-target-libffi
27915 maybe-configure-target-libffi:
27916 @if target-libffi
27917 maybe-configure-target-libffi: configure-target-libffi
27919 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
27920 $(TARGET_SUBDIR)/libffi/multilib.out: multilib.out
27921 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27922 rm -f $(TARGET_SUBDIR)/libffi/Makefile || : ; \
27923 cp multilib.out $(TARGET_SUBDIR)/libffi/multilib.out
27925 configure-target-libffi: $(TARGET_SUBDIR)/libffi/multilib.out
27926 @test ! -f $(TARGET_SUBDIR)/libffi/Makefile || exit 0; \
27927 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libffi ; \
27928 r=`${PWD_COMMAND}`; export r; \
27929 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27930 $(SET_LIB_PATH) \
27931 $(NORMAL_TARGET_EXPORTS) \
27932 echo Configuring in $(TARGET_SUBDIR)/libffi; \
27933 cd "$(TARGET_SUBDIR)/libffi" || exit 1; \
27934 case $(srcdir) in \
27935 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
27936 *) topdir=`echo $(TARGET_SUBDIR)/libffi/ | \
27937 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
27938 esac; \
27939 srcdiroption="--srcdir=$${topdir}/libffi"; \
27940 libsrcdir="$$s/libffi"; \
27941 rm -f no-such-file || : ; \
27942 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
27943 $(TARGET_CONFIGARGS) $${srcdiroption} \
27944 --with-target-subdir="$(TARGET_SUBDIR)" \
27945 || exit 1
27946 @endif target-libffi
27948 .PHONY: all-target-libffi maybe-all-target-libffi
27949 maybe-all-target-libffi:
27950 @if target-libffi
27951 TARGET-target-libffi=all
27952 maybe-all-target-libffi: all-target-libffi
27953 all-target-libffi: configure-target-libffi
27954 @r=`${PWD_COMMAND}`; export r; \
27955 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27956 $(SET_LIB_PATH) \
27957 $(NORMAL_TARGET_EXPORTS) \
27958 (cd $(TARGET_SUBDIR)/libffi && \
27959 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libffi))
27960 @endif target-libffi
27962 .PHONY: check-target-libffi maybe-check-target-libffi
27963 maybe-check-target-libffi:
27964 @if target-libffi
27965 maybe-check-target-libffi: check-target-libffi
27967 check-target-libffi:
27968 @r=`${PWD_COMMAND}`; export r; \
27969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27970 $(SET_LIB_PATH) \
27971 $(NORMAL_TARGET_EXPORTS) \
27972 (cd $(TARGET_SUBDIR)/libffi && \
27973 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
27975 @endif target-libffi
27977 .PHONY: install-target-libffi maybe-install-target-libffi
27978 maybe-install-target-libffi:
27979 @if target-libffi
27980 maybe-install-target-libffi: install-target-libffi
27982 install-target-libffi: installdirs
27983 @r=`${PWD_COMMAND}`; export r; \
27984 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
27985 $(SET_LIB_PATH) \
27986 $(NORMAL_TARGET_EXPORTS) \
27987 (cd $(TARGET_SUBDIR)/libffi && \
27988 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
27990 @endif target-libffi
27992 # Other targets (info, dvi, etc.)
27994 .PHONY: maybe-info-target-libffi info-target-libffi
27995 maybe-info-target-libffi:
27996 @if target-libffi
27997 maybe-info-target-libffi: info-target-libffi
27999 info-target-libffi: \
28000 configure-target-libffi
28001 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28002 r=`${PWD_COMMAND}`; export r; \
28003 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28004 $(SET_LIB_PATH) \
28005 $(NORMAL_TARGET_EXPORTS) \
28006 echo "Doing info in $(TARGET_SUBDIR)/libffi" ; \
28007 for flag in $(EXTRA_TARGET_FLAGS); do \
28008 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28009 done; \
28010 (cd $(TARGET_SUBDIR)/libffi && \
28011 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28012 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28013 "RANLIB=$${RANLIB}" \
28014 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28015 info) \
28016 || exit 1
28018 @endif target-libffi
28020 .PHONY: maybe-dvi-target-libffi dvi-target-libffi
28021 maybe-dvi-target-libffi:
28022 @if target-libffi
28023 maybe-dvi-target-libffi: dvi-target-libffi
28025 dvi-target-libffi: \
28026 configure-target-libffi
28027 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28028 r=`${PWD_COMMAND}`; export r; \
28029 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28030 $(SET_LIB_PATH) \
28031 $(NORMAL_TARGET_EXPORTS) \
28032 echo "Doing dvi in $(TARGET_SUBDIR)/libffi" ; \
28033 for flag in $(EXTRA_TARGET_FLAGS); do \
28034 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28035 done; \
28036 (cd $(TARGET_SUBDIR)/libffi && \
28037 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28038 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28039 "RANLIB=$${RANLIB}" \
28040 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28041 dvi) \
28042 || exit 1
28044 @endif target-libffi
28046 .PHONY: maybe-html-target-libffi html-target-libffi
28047 maybe-html-target-libffi:
28048 @if target-libffi
28049 maybe-html-target-libffi: html-target-libffi
28051 html-target-libffi: \
28052 configure-target-libffi
28053 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28054 r=`${PWD_COMMAND}`; export r; \
28055 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28056 $(SET_LIB_PATH) \
28057 $(NORMAL_TARGET_EXPORTS) \
28058 echo "Doing html in $(TARGET_SUBDIR)/libffi" ; \
28059 for flag in $(EXTRA_TARGET_FLAGS); do \
28060 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28061 done; \
28062 (cd $(TARGET_SUBDIR)/libffi && \
28063 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28064 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28065 "RANLIB=$${RANLIB}" \
28066 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28067 html) \
28068 || exit 1
28070 @endif target-libffi
28072 .PHONY: maybe-TAGS-target-libffi TAGS-target-libffi
28073 maybe-TAGS-target-libffi:
28074 @if target-libffi
28075 maybe-TAGS-target-libffi: TAGS-target-libffi
28077 TAGS-target-libffi: \
28078 configure-target-libffi
28079 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28080 r=`${PWD_COMMAND}`; export r; \
28081 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28082 $(SET_LIB_PATH) \
28083 $(NORMAL_TARGET_EXPORTS) \
28084 echo "Doing TAGS in $(TARGET_SUBDIR)/libffi" ; \
28085 for flag in $(EXTRA_TARGET_FLAGS); do \
28086 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28087 done; \
28088 (cd $(TARGET_SUBDIR)/libffi && \
28089 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28090 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28091 "RANLIB=$${RANLIB}" \
28092 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28093 TAGS) \
28094 || exit 1
28096 @endif target-libffi
28098 .PHONY: maybe-install-info-target-libffi install-info-target-libffi
28099 maybe-install-info-target-libffi:
28100 @if target-libffi
28101 maybe-install-info-target-libffi: install-info-target-libffi
28103 install-info-target-libffi: \
28104 configure-target-libffi \
28105 info-target-libffi
28106 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28107 r=`${PWD_COMMAND}`; export r; \
28108 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28109 $(SET_LIB_PATH) \
28110 $(NORMAL_TARGET_EXPORTS) \
28111 echo "Doing install-info in $(TARGET_SUBDIR)/libffi" ; \
28112 for flag in $(EXTRA_TARGET_FLAGS); do \
28113 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28114 done; \
28115 (cd $(TARGET_SUBDIR)/libffi && \
28116 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28117 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28118 "RANLIB=$${RANLIB}" \
28119 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28120 install-info) \
28121 || exit 1
28123 @endif target-libffi
28125 .PHONY: maybe-installcheck-target-libffi installcheck-target-libffi
28126 maybe-installcheck-target-libffi:
28127 @if target-libffi
28128 maybe-installcheck-target-libffi: installcheck-target-libffi
28130 installcheck-target-libffi: \
28131 configure-target-libffi
28132 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28133 r=`${PWD_COMMAND}`; export r; \
28134 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28135 $(SET_LIB_PATH) \
28136 $(NORMAL_TARGET_EXPORTS) \
28137 echo "Doing installcheck in $(TARGET_SUBDIR)/libffi" ; \
28138 for flag in $(EXTRA_TARGET_FLAGS); do \
28139 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28140 done; \
28141 (cd $(TARGET_SUBDIR)/libffi && \
28142 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28143 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28144 "RANLIB=$${RANLIB}" \
28145 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28146 installcheck) \
28147 || exit 1
28149 @endif target-libffi
28151 .PHONY: maybe-mostlyclean-target-libffi mostlyclean-target-libffi
28152 maybe-mostlyclean-target-libffi:
28153 @if target-libffi
28154 maybe-mostlyclean-target-libffi: mostlyclean-target-libffi
28156 mostlyclean-target-libffi:
28157 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28158 r=`${PWD_COMMAND}`; export r; \
28159 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28160 $(SET_LIB_PATH) \
28161 $(NORMAL_TARGET_EXPORTS) \
28162 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libffi" ; \
28163 for flag in $(EXTRA_TARGET_FLAGS); do \
28164 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28165 done; \
28166 (cd $(TARGET_SUBDIR)/libffi && \
28167 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28168 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28169 "RANLIB=$${RANLIB}" \
28170 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28171 mostlyclean) \
28172 || exit 1
28174 @endif target-libffi
28176 .PHONY: maybe-clean-target-libffi clean-target-libffi
28177 maybe-clean-target-libffi:
28178 @if target-libffi
28179 maybe-clean-target-libffi: clean-target-libffi
28181 clean-target-libffi:
28182 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28183 r=`${PWD_COMMAND}`; export r; \
28184 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28185 $(SET_LIB_PATH) \
28186 $(NORMAL_TARGET_EXPORTS) \
28187 echo "Doing clean in $(TARGET_SUBDIR)/libffi" ; \
28188 for flag in $(EXTRA_TARGET_FLAGS); do \
28189 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28190 done; \
28191 (cd $(TARGET_SUBDIR)/libffi && \
28192 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28193 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28194 "RANLIB=$${RANLIB}" \
28195 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28196 clean) \
28197 || exit 1
28199 @endif target-libffi
28201 .PHONY: maybe-distclean-target-libffi distclean-target-libffi
28202 maybe-distclean-target-libffi:
28203 @if target-libffi
28204 maybe-distclean-target-libffi: distclean-target-libffi
28206 distclean-target-libffi:
28207 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28208 r=`${PWD_COMMAND}`; export r; \
28209 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28210 $(SET_LIB_PATH) \
28211 $(NORMAL_TARGET_EXPORTS) \
28212 echo "Doing distclean in $(TARGET_SUBDIR)/libffi" ; \
28213 for flag in $(EXTRA_TARGET_FLAGS); do \
28214 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28215 done; \
28216 (cd $(TARGET_SUBDIR)/libffi && \
28217 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28218 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28219 "RANLIB=$${RANLIB}" \
28220 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28221 distclean) \
28222 || exit 1
28224 @endif target-libffi
28226 .PHONY: maybe-maintainer-clean-target-libffi maintainer-clean-target-libffi
28227 maybe-maintainer-clean-target-libffi:
28228 @if target-libffi
28229 maybe-maintainer-clean-target-libffi: maintainer-clean-target-libffi
28231 maintainer-clean-target-libffi:
28232 @[ -f $(TARGET_SUBDIR)/libffi/Makefile ] || exit 0 ; \
28233 r=`${PWD_COMMAND}`; export r; \
28234 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28235 $(SET_LIB_PATH) \
28236 $(NORMAL_TARGET_EXPORTS) \
28237 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libffi" ; \
28238 for flag in $(EXTRA_TARGET_FLAGS); do \
28239 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28240 done; \
28241 (cd $(TARGET_SUBDIR)/libffi && \
28242 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28243 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28244 "RANLIB=$${RANLIB}" \
28245 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28246 maintainer-clean) \
28247 || exit 1
28249 @endif target-libffi
28252 .PHONY: configure-target-libjava maybe-configure-target-libjava
28253 maybe-configure-target-libjava:
28254 @if target-libjava
28255 maybe-configure-target-libjava: configure-target-libjava
28257 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28258 $(TARGET_SUBDIR)/libjava/multilib.out: multilib.out
28259 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28260 rm -f $(TARGET_SUBDIR)/libjava/Makefile || : ; \
28261 cp multilib.out $(TARGET_SUBDIR)/libjava/multilib.out
28263 configure-target-libjava: $(TARGET_SUBDIR)/libjava/multilib.out
28264 @test ! -f $(TARGET_SUBDIR)/libjava/Makefile || exit 0; \
28265 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libjava ; \
28266 r=`${PWD_COMMAND}`; export r; \
28267 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28268 $(SET_LIB_PATH) \
28269 $(RAW_CXX_TARGET_EXPORTS) \
28270 echo Configuring in $(TARGET_SUBDIR)/libjava; \
28271 cd "$(TARGET_SUBDIR)/libjava" || exit 1; \
28272 case $(srcdir) in \
28273 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28274 *) topdir=`echo $(TARGET_SUBDIR)/libjava/ | \
28275 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28276 esac; \
28277 srcdiroption="--srcdir=$${topdir}/libjava"; \
28278 libsrcdir="$$s/libjava"; \
28279 rm -f no-such-file || : ; \
28280 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28281 $(TARGET_CONFIGARGS) $${srcdiroption} \
28282 --with-target-subdir="$(TARGET_SUBDIR)" \
28283 || exit 1
28284 @endif target-libjava
28286 .PHONY: all-target-libjava maybe-all-target-libjava
28287 maybe-all-target-libjava:
28288 @if target-libjava
28289 TARGET-target-libjava=all
28290 maybe-all-target-libjava: all-target-libjava
28291 all-target-libjava: configure-target-libjava
28292 @r=`${PWD_COMMAND}`; export r; \
28293 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28294 $(SET_LIB_PATH) \
28295 $(RAW_CXX_TARGET_EXPORTS) \
28296 (cd $(TARGET_SUBDIR)/libjava && \
28297 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' $(TARGET-target-libjava))
28298 @endif target-libjava
28300 .PHONY: check-target-libjava maybe-check-target-libjava
28301 maybe-check-target-libjava:
28302 @if target-libjava
28303 maybe-check-target-libjava: check-target-libjava
28305 check-target-libjava:
28306 @r=`${PWD_COMMAND}`; export r; \
28307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28308 $(SET_LIB_PATH) \
28309 $(RAW_CXX_TARGET_EXPORTS) \
28310 (cd $(TARGET_SUBDIR)/libjava && \
28311 $(MAKE) $(TARGET_FLAGS_TO_PASS) 'CXX=$$(RAW_CXX_FOR_TARGET)' 'CXX_FOR_TARGET=$$(RAW_CXX_FOR_TARGET)' check)
28313 @endif target-libjava
28315 .PHONY: install-target-libjava maybe-install-target-libjava
28316 maybe-install-target-libjava:
28317 @if target-libjava
28318 maybe-install-target-libjava: install-target-libjava
28320 install-target-libjava: installdirs
28321 @r=`${PWD_COMMAND}`; export r; \
28322 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28323 $(SET_LIB_PATH) \
28324 $(RAW_CXX_TARGET_EXPORTS) \
28325 (cd $(TARGET_SUBDIR)/libjava && \
28326 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28328 @endif target-libjava
28330 # Other targets (info, dvi, etc.)
28332 .PHONY: maybe-info-target-libjava info-target-libjava
28333 maybe-info-target-libjava:
28334 @if target-libjava
28335 maybe-info-target-libjava: info-target-libjava
28337 info-target-libjava: \
28338 configure-target-libjava
28339 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28340 r=`${PWD_COMMAND}`; export r; \
28341 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28342 $(SET_LIB_PATH) \
28343 $(RAW_CXX_TARGET_EXPORTS) \
28344 echo "Doing info in $(TARGET_SUBDIR)/libjava" ; \
28345 for flag in $(EXTRA_TARGET_FLAGS); do \
28346 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28347 done; \
28348 (cd $(TARGET_SUBDIR)/libjava && \
28349 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28350 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28351 "RANLIB=$${RANLIB}" \
28352 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28353 info) \
28354 || exit 1
28356 @endif target-libjava
28358 .PHONY: maybe-dvi-target-libjava dvi-target-libjava
28359 maybe-dvi-target-libjava:
28360 @if target-libjava
28361 maybe-dvi-target-libjava: dvi-target-libjava
28363 dvi-target-libjava: \
28364 configure-target-libjava
28365 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28366 r=`${PWD_COMMAND}`; export r; \
28367 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28368 $(SET_LIB_PATH) \
28369 $(RAW_CXX_TARGET_EXPORTS) \
28370 echo "Doing dvi in $(TARGET_SUBDIR)/libjava" ; \
28371 for flag in $(EXTRA_TARGET_FLAGS); do \
28372 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28373 done; \
28374 (cd $(TARGET_SUBDIR)/libjava && \
28375 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28376 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28377 "RANLIB=$${RANLIB}" \
28378 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28379 dvi) \
28380 || exit 1
28382 @endif target-libjava
28384 .PHONY: maybe-html-target-libjava html-target-libjava
28385 maybe-html-target-libjava:
28386 @if target-libjava
28387 maybe-html-target-libjava: html-target-libjava
28389 html-target-libjava: \
28390 configure-target-libjava
28391 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28392 r=`${PWD_COMMAND}`; export r; \
28393 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28394 $(SET_LIB_PATH) \
28395 $(RAW_CXX_TARGET_EXPORTS) \
28396 echo "Doing html in $(TARGET_SUBDIR)/libjava" ; \
28397 for flag in $(EXTRA_TARGET_FLAGS); do \
28398 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28399 done; \
28400 (cd $(TARGET_SUBDIR)/libjava && \
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 html) \
28406 || exit 1
28408 @endif target-libjava
28410 .PHONY: maybe-TAGS-target-libjava TAGS-target-libjava
28411 maybe-TAGS-target-libjava:
28412 @if target-libjava
28413 maybe-TAGS-target-libjava: TAGS-target-libjava
28415 TAGS-target-libjava: \
28416 configure-target-libjava
28417 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28418 r=`${PWD_COMMAND}`; export r; \
28419 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28420 $(SET_LIB_PATH) \
28421 $(RAW_CXX_TARGET_EXPORTS) \
28422 echo "Doing TAGS in $(TARGET_SUBDIR)/libjava" ; \
28423 for flag in $(EXTRA_TARGET_FLAGS); do \
28424 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28425 done; \
28426 (cd $(TARGET_SUBDIR)/libjava && \
28427 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28428 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28429 "RANLIB=$${RANLIB}" \
28430 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28431 TAGS) \
28432 || exit 1
28434 @endif target-libjava
28436 .PHONY: maybe-install-info-target-libjava install-info-target-libjava
28437 maybe-install-info-target-libjava:
28438 @if target-libjava
28439 maybe-install-info-target-libjava: install-info-target-libjava
28441 install-info-target-libjava: \
28442 configure-target-libjava \
28443 info-target-libjava
28444 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28445 r=`${PWD_COMMAND}`; export r; \
28446 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28447 $(SET_LIB_PATH) \
28448 $(RAW_CXX_TARGET_EXPORTS) \
28449 echo "Doing install-info in $(TARGET_SUBDIR)/libjava" ; \
28450 for flag in $(EXTRA_TARGET_FLAGS); do \
28451 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28452 done; \
28453 (cd $(TARGET_SUBDIR)/libjava && \
28454 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28455 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28456 "RANLIB=$${RANLIB}" \
28457 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28458 install-info) \
28459 || exit 1
28461 @endif target-libjava
28463 .PHONY: maybe-installcheck-target-libjava installcheck-target-libjava
28464 maybe-installcheck-target-libjava:
28465 @if target-libjava
28466 maybe-installcheck-target-libjava: installcheck-target-libjava
28468 installcheck-target-libjava: \
28469 configure-target-libjava
28470 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28471 r=`${PWD_COMMAND}`; export r; \
28472 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28473 $(SET_LIB_PATH) \
28474 $(RAW_CXX_TARGET_EXPORTS) \
28475 echo "Doing installcheck in $(TARGET_SUBDIR)/libjava" ; \
28476 for flag in $(EXTRA_TARGET_FLAGS); do \
28477 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28478 done; \
28479 (cd $(TARGET_SUBDIR)/libjava && \
28480 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28481 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28482 "RANLIB=$${RANLIB}" \
28483 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28484 installcheck) \
28485 || exit 1
28487 @endif target-libjava
28489 .PHONY: maybe-mostlyclean-target-libjava mostlyclean-target-libjava
28490 maybe-mostlyclean-target-libjava:
28491 @if target-libjava
28492 maybe-mostlyclean-target-libjava: mostlyclean-target-libjava
28494 mostlyclean-target-libjava:
28495 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28496 r=`${PWD_COMMAND}`; export r; \
28497 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28498 $(SET_LIB_PATH) \
28499 $(RAW_CXX_TARGET_EXPORTS) \
28500 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libjava" ; \
28501 for flag in $(EXTRA_TARGET_FLAGS); do \
28502 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28503 done; \
28504 (cd $(TARGET_SUBDIR)/libjava && \
28505 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28506 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28507 "RANLIB=$${RANLIB}" \
28508 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28509 mostlyclean) \
28510 || exit 1
28512 @endif target-libjava
28514 .PHONY: maybe-clean-target-libjava clean-target-libjava
28515 maybe-clean-target-libjava:
28516 @if target-libjava
28517 maybe-clean-target-libjava: clean-target-libjava
28519 clean-target-libjava:
28520 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28521 r=`${PWD_COMMAND}`; export r; \
28522 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28523 $(SET_LIB_PATH) \
28524 $(RAW_CXX_TARGET_EXPORTS) \
28525 echo "Doing clean in $(TARGET_SUBDIR)/libjava" ; \
28526 for flag in $(EXTRA_TARGET_FLAGS); do \
28527 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28528 done; \
28529 (cd $(TARGET_SUBDIR)/libjava && \
28530 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28531 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28532 "RANLIB=$${RANLIB}" \
28533 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28534 clean) \
28535 || exit 1
28537 @endif target-libjava
28539 .PHONY: maybe-distclean-target-libjava distclean-target-libjava
28540 maybe-distclean-target-libjava:
28541 @if target-libjava
28542 maybe-distclean-target-libjava: distclean-target-libjava
28544 distclean-target-libjava:
28545 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28546 r=`${PWD_COMMAND}`; export r; \
28547 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28548 $(SET_LIB_PATH) \
28549 $(RAW_CXX_TARGET_EXPORTS) \
28550 echo "Doing distclean in $(TARGET_SUBDIR)/libjava" ; \
28551 for flag in $(EXTRA_TARGET_FLAGS); do \
28552 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28553 done; \
28554 (cd $(TARGET_SUBDIR)/libjava && \
28555 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28556 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28557 "RANLIB=$${RANLIB}" \
28558 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28559 distclean) \
28560 || exit 1
28562 @endif target-libjava
28564 .PHONY: maybe-maintainer-clean-target-libjava maintainer-clean-target-libjava
28565 maybe-maintainer-clean-target-libjava:
28566 @if target-libjava
28567 maybe-maintainer-clean-target-libjava: maintainer-clean-target-libjava
28569 maintainer-clean-target-libjava:
28570 @[ -f $(TARGET_SUBDIR)/libjava/Makefile ] || exit 0 ; \
28571 r=`${PWD_COMMAND}`; export r; \
28572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28573 $(SET_LIB_PATH) \
28574 $(RAW_CXX_TARGET_EXPORTS) \
28575 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libjava" ; \
28576 for flag in $(EXTRA_TARGET_FLAGS); do \
28577 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28578 done; \
28579 (cd $(TARGET_SUBDIR)/libjava && \
28580 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28581 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28582 "RANLIB=$${RANLIB}" \
28583 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28584 maintainer-clean) \
28585 || exit 1
28587 @endif target-libjava
28590 .PHONY: configure-target-zlib maybe-configure-target-zlib
28591 maybe-configure-target-zlib:
28592 @if target-zlib
28593 maybe-configure-target-zlib: configure-target-zlib
28595 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28596 $(TARGET_SUBDIR)/zlib/multilib.out: multilib.out
28597 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28598 rm -f $(TARGET_SUBDIR)/zlib/Makefile || : ; \
28599 cp multilib.out $(TARGET_SUBDIR)/zlib/multilib.out
28601 configure-target-zlib: $(TARGET_SUBDIR)/zlib/multilib.out
28602 @test ! -f $(TARGET_SUBDIR)/zlib/Makefile || exit 0; \
28603 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/zlib ; \
28604 r=`${PWD_COMMAND}`; export r; \
28605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28606 $(SET_LIB_PATH) \
28607 $(NORMAL_TARGET_EXPORTS) \
28608 echo Configuring in $(TARGET_SUBDIR)/zlib; \
28609 cd "$(TARGET_SUBDIR)/zlib" || exit 1; \
28610 case $(srcdir) in \
28611 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28612 *) topdir=`echo $(TARGET_SUBDIR)/zlib/ | \
28613 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28614 esac; \
28615 srcdiroption="--srcdir=$${topdir}/zlib"; \
28616 libsrcdir="$$s/zlib"; \
28617 rm -f no-such-file || : ; \
28618 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28619 $(TARGET_CONFIGARGS) $${srcdiroption} \
28620 --with-target-subdir="$(TARGET_SUBDIR)" \
28621 || exit 1
28622 @endif target-zlib
28624 .PHONY: all-target-zlib maybe-all-target-zlib
28625 maybe-all-target-zlib:
28626 @if target-zlib
28627 TARGET-target-zlib=all
28628 maybe-all-target-zlib: all-target-zlib
28629 all-target-zlib: configure-target-zlib
28630 @r=`${PWD_COMMAND}`; export r; \
28631 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28632 $(SET_LIB_PATH) \
28633 $(NORMAL_TARGET_EXPORTS) \
28634 (cd $(TARGET_SUBDIR)/zlib && \
28635 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-zlib))
28636 @endif target-zlib
28638 .PHONY: check-target-zlib maybe-check-target-zlib
28639 maybe-check-target-zlib:
28640 @if target-zlib
28641 maybe-check-target-zlib: check-target-zlib
28643 check-target-zlib:
28644 @r=`${PWD_COMMAND}`; export r; \
28645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28646 $(SET_LIB_PATH) \
28647 $(NORMAL_TARGET_EXPORTS) \
28648 (cd $(TARGET_SUBDIR)/zlib && \
28649 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28651 @endif target-zlib
28653 .PHONY: install-target-zlib maybe-install-target-zlib
28654 maybe-install-target-zlib:
28655 @if target-zlib
28656 maybe-install-target-zlib: install-target-zlib
28658 install-target-zlib: installdirs
28659 @r=`${PWD_COMMAND}`; export r; \
28660 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28661 $(SET_LIB_PATH) \
28662 $(NORMAL_TARGET_EXPORTS) \
28663 (cd $(TARGET_SUBDIR)/zlib && \
28664 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
28666 @endif target-zlib
28668 # Other targets (info, dvi, etc.)
28670 .PHONY: maybe-info-target-zlib info-target-zlib
28671 maybe-info-target-zlib:
28672 @if target-zlib
28673 maybe-info-target-zlib: info-target-zlib
28675 info-target-zlib: \
28676 configure-target-zlib
28677 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28678 r=`${PWD_COMMAND}`; export r; \
28679 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28680 $(SET_LIB_PATH) \
28681 $(NORMAL_TARGET_EXPORTS) \
28682 echo "Doing info in $(TARGET_SUBDIR)/zlib" ; \
28683 for flag in $(EXTRA_TARGET_FLAGS); do \
28684 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28685 done; \
28686 (cd $(TARGET_SUBDIR)/zlib && \
28687 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28688 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28689 "RANLIB=$${RANLIB}" \
28690 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28691 info) \
28692 || exit 1
28694 @endif target-zlib
28696 .PHONY: maybe-dvi-target-zlib dvi-target-zlib
28697 maybe-dvi-target-zlib:
28698 @if target-zlib
28699 maybe-dvi-target-zlib: dvi-target-zlib
28701 dvi-target-zlib: \
28702 configure-target-zlib
28703 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28704 r=`${PWD_COMMAND}`; export r; \
28705 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28706 $(SET_LIB_PATH) \
28707 $(NORMAL_TARGET_EXPORTS) \
28708 echo "Doing dvi in $(TARGET_SUBDIR)/zlib" ; \
28709 for flag in $(EXTRA_TARGET_FLAGS); do \
28710 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28711 done; \
28712 (cd $(TARGET_SUBDIR)/zlib && \
28713 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28714 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28715 "RANLIB=$${RANLIB}" \
28716 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28717 dvi) \
28718 || exit 1
28720 @endif target-zlib
28722 .PHONY: maybe-html-target-zlib html-target-zlib
28723 maybe-html-target-zlib:
28724 @if target-zlib
28725 maybe-html-target-zlib: html-target-zlib
28727 html-target-zlib: \
28728 configure-target-zlib
28729 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28730 r=`${PWD_COMMAND}`; export r; \
28731 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28732 $(SET_LIB_PATH) \
28733 $(NORMAL_TARGET_EXPORTS) \
28734 echo "Doing html in $(TARGET_SUBDIR)/zlib" ; \
28735 for flag in $(EXTRA_TARGET_FLAGS); do \
28736 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28737 done; \
28738 (cd $(TARGET_SUBDIR)/zlib && \
28739 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28740 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28741 "RANLIB=$${RANLIB}" \
28742 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28743 html) \
28744 || exit 1
28746 @endif target-zlib
28748 .PHONY: maybe-TAGS-target-zlib TAGS-target-zlib
28749 maybe-TAGS-target-zlib:
28750 @if target-zlib
28751 maybe-TAGS-target-zlib: TAGS-target-zlib
28753 TAGS-target-zlib: \
28754 configure-target-zlib
28755 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28756 r=`${PWD_COMMAND}`; export r; \
28757 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28758 $(SET_LIB_PATH) \
28759 $(NORMAL_TARGET_EXPORTS) \
28760 echo "Doing TAGS in $(TARGET_SUBDIR)/zlib" ; \
28761 for flag in $(EXTRA_TARGET_FLAGS); do \
28762 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28763 done; \
28764 (cd $(TARGET_SUBDIR)/zlib && \
28765 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28766 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28767 "RANLIB=$${RANLIB}" \
28768 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28769 TAGS) \
28770 || exit 1
28772 @endif target-zlib
28774 .PHONY: maybe-install-info-target-zlib install-info-target-zlib
28775 maybe-install-info-target-zlib:
28776 @if target-zlib
28777 maybe-install-info-target-zlib: install-info-target-zlib
28779 install-info-target-zlib: \
28780 configure-target-zlib \
28781 info-target-zlib
28782 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28783 r=`${PWD_COMMAND}`; export r; \
28784 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28785 $(SET_LIB_PATH) \
28786 $(NORMAL_TARGET_EXPORTS) \
28787 echo "Doing install-info in $(TARGET_SUBDIR)/zlib" ; \
28788 for flag in $(EXTRA_TARGET_FLAGS); do \
28789 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28790 done; \
28791 (cd $(TARGET_SUBDIR)/zlib && \
28792 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28793 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28794 "RANLIB=$${RANLIB}" \
28795 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28796 install-info) \
28797 || exit 1
28799 @endif target-zlib
28801 .PHONY: maybe-installcheck-target-zlib installcheck-target-zlib
28802 maybe-installcheck-target-zlib:
28803 @if target-zlib
28804 maybe-installcheck-target-zlib: installcheck-target-zlib
28806 installcheck-target-zlib: \
28807 configure-target-zlib
28808 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28809 r=`${PWD_COMMAND}`; export r; \
28810 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28811 $(SET_LIB_PATH) \
28812 $(NORMAL_TARGET_EXPORTS) \
28813 echo "Doing installcheck in $(TARGET_SUBDIR)/zlib" ; \
28814 for flag in $(EXTRA_TARGET_FLAGS); do \
28815 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28816 done; \
28817 (cd $(TARGET_SUBDIR)/zlib && \
28818 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28819 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28820 "RANLIB=$${RANLIB}" \
28821 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28822 installcheck) \
28823 || exit 1
28825 @endif target-zlib
28827 .PHONY: maybe-mostlyclean-target-zlib mostlyclean-target-zlib
28828 maybe-mostlyclean-target-zlib:
28829 @if target-zlib
28830 maybe-mostlyclean-target-zlib: mostlyclean-target-zlib
28832 mostlyclean-target-zlib:
28833 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28834 r=`${PWD_COMMAND}`; export r; \
28835 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28836 $(SET_LIB_PATH) \
28837 $(NORMAL_TARGET_EXPORTS) \
28838 echo "Doing mostlyclean in $(TARGET_SUBDIR)/zlib" ; \
28839 for flag in $(EXTRA_TARGET_FLAGS); do \
28840 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28841 done; \
28842 (cd $(TARGET_SUBDIR)/zlib && \
28843 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28844 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28845 "RANLIB=$${RANLIB}" \
28846 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28847 mostlyclean) \
28848 || exit 1
28850 @endif target-zlib
28852 .PHONY: maybe-clean-target-zlib clean-target-zlib
28853 maybe-clean-target-zlib:
28854 @if target-zlib
28855 maybe-clean-target-zlib: clean-target-zlib
28857 clean-target-zlib:
28858 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28859 r=`${PWD_COMMAND}`; export r; \
28860 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28861 $(SET_LIB_PATH) \
28862 $(NORMAL_TARGET_EXPORTS) \
28863 echo "Doing clean in $(TARGET_SUBDIR)/zlib" ; \
28864 for flag in $(EXTRA_TARGET_FLAGS); do \
28865 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28866 done; \
28867 (cd $(TARGET_SUBDIR)/zlib && \
28868 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28869 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28870 "RANLIB=$${RANLIB}" \
28871 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28872 clean) \
28873 || exit 1
28875 @endif target-zlib
28877 .PHONY: maybe-distclean-target-zlib distclean-target-zlib
28878 maybe-distclean-target-zlib:
28879 @if target-zlib
28880 maybe-distclean-target-zlib: distclean-target-zlib
28882 distclean-target-zlib:
28883 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28884 r=`${PWD_COMMAND}`; export r; \
28885 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28886 $(SET_LIB_PATH) \
28887 $(NORMAL_TARGET_EXPORTS) \
28888 echo "Doing distclean in $(TARGET_SUBDIR)/zlib" ; \
28889 for flag in $(EXTRA_TARGET_FLAGS); do \
28890 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28891 done; \
28892 (cd $(TARGET_SUBDIR)/zlib && \
28893 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28894 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28895 "RANLIB=$${RANLIB}" \
28896 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28897 distclean) \
28898 || exit 1
28900 @endif target-zlib
28902 .PHONY: maybe-maintainer-clean-target-zlib maintainer-clean-target-zlib
28903 maybe-maintainer-clean-target-zlib:
28904 @if target-zlib
28905 maybe-maintainer-clean-target-zlib: maintainer-clean-target-zlib
28907 maintainer-clean-target-zlib:
28908 @[ -f $(TARGET_SUBDIR)/zlib/Makefile ] || exit 0 ; \
28909 r=`${PWD_COMMAND}`; export r; \
28910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28911 $(SET_LIB_PATH) \
28912 $(NORMAL_TARGET_EXPORTS) \
28913 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/zlib" ; \
28914 for flag in $(EXTRA_TARGET_FLAGS); do \
28915 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
28916 done; \
28917 (cd $(TARGET_SUBDIR)/zlib && \
28918 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
28919 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
28920 "RANLIB=$${RANLIB}" \
28921 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
28922 maintainer-clean) \
28923 || exit 1
28925 @endif target-zlib
28928 .PHONY: configure-target-boehm-gc maybe-configure-target-boehm-gc
28929 maybe-configure-target-boehm-gc:
28930 @if target-boehm-gc
28931 maybe-configure-target-boehm-gc: configure-target-boehm-gc
28933 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
28934 $(TARGET_SUBDIR)/boehm-gc/multilib.out: multilib.out
28935 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28936 rm -f $(TARGET_SUBDIR)/boehm-gc/Makefile || : ; \
28937 cp multilib.out $(TARGET_SUBDIR)/boehm-gc/multilib.out
28939 configure-target-boehm-gc: $(TARGET_SUBDIR)/boehm-gc/multilib.out
28940 @test ! -f $(TARGET_SUBDIR)/boehm-gc/Makefile || exit 0; \
28941 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/boehm-gc ; \
28942 r=`${PWD_COMMAND}`; export r; \
28943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28944 $(SET_LIB_PATH) \
28945 $(NORMAL_TARGET_EXPORTS) \
28946 echo Configuring in $(TARGET_SUBDIR)/boehm-gc; \
28947 cd "$(TARGET_SUBDIR)/boehm-gc" || exit 1; \
28948 case $(srcdir) in \
28949 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
28950 *) topdir=`echo $(TARGET_SUBDIR)/boehm-gc/ | \
28951 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
28952 esac; \
28953 srcdiroption="--srcdir=$${topdir}/boehm-gc"; \
28954 libsrcdir="$$s/boehm-gc"; \
28955 rm -f no-such-file || : ; \
28956 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
28957 $(TARGET_CONFIGARGS) $${srcdiroption} \
28958 --with-target-subdir="$(TARGET_SUBDIR)" \
28959 || exit 1
28960 @endif target-boehm-gc
28962 .PHONY: all-target-boehm-gc maybe-all-target-boehm-gc
28963 maybe-all-target-boehm-gc:
28964 @if target-boehm-gc
28965 TARGET-target-boehm-gc=all
28966 maybe-all-target-boehm-gc: all-target-boehm-gc
28967 all-target-boehm-gc: configure-target-boehm-gc
28968 @r=`${PWD_COMMAND}`; export r; \
28969 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28970 $(SET_LIB_PATH) \
28971 $(NORMAL_TARGET_EXPORTS) \
28972 (cd $(TARGET_SUBDIR)/boehm-gc && \
28973 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-boehm-gc))
28974 @endif target-boehm-gc
28976 .PHONY: check-target-boehm-gc maybe-check-target-boehm-gc
28977 maybe-check-target-boehm-gc:
28978 @if target-boehm-gc
28979 maybe-check-target-boehm-gc: check-target-boehm-gc
28981 check-target-boehm-gc:
28982 @r=`${PWD_COMMAND}`; export r; \
28983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28984 $(SET_LIB_PATH) \
28985 $(NORMAL_TARGET_EXPORTS) \
28986 (cd $(TARGET_SUBDIR)/boehm-gc && \
28987 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
28989 @endif target-boehm-gc
28991 .PHONY: install-target-boehm-gc maybe-install-target-boehm-gc
28992 maybe-install-target-boehm-gc:
28993 @if target-boehm-gc
28994 maybe-install-target-boehm-gc: install-target-boehm-gc
28996 install-target-boehm-gc: installdirs
28997 @r=`${PWD_COMMAND}`; export r; \
28998 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
28999 $(SET_LIB_PATH) \
29000 $(NORMAL_TARGET_EXPORTS) \
29001 (cd $(TARGET_SUBDIR)/boehm-gc && \
29002 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29004 @endif target-boehm-gc
29006 # Other targets (info, dvi, etc.)
29008 .PHONY: maybe-info-target-boehm-gc info-target-boehm-gc
29009 maybe-info-target-boehm-gc:
29010 @if target-boehm-gc
29011 maybe-info-target-boehm-gc: info-target-boehm-gc
29013 info-target-boehm-gc: \
29014 configure-target-boehm-gc
29015 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29016 r=`${PWD_COMMAND}`; export r; \
29017 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29018 $(SET_LIB_PATH) \
29019 $(NORMAL_TARGET_EXPORTS) \
29020 echo "Doing info in $(TARGET_SUBDIR)/boehm-gc" ; \
29021 for flag in $(EXTRA_TARGET_FLAGS); do \
29022 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29023 done; \
29024 (cd $(TARGET_SUBDIR)/boehm-gc && \
29025 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29026 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29027 "RANLIB=$${RANLIB}" \
29028 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29029 info) \
29030 || exit 1
29032 @endif target-boehm-gc
29034 .PHONY: maybe-dvi-target-boehm-gc dvi-target-boehm-gc
29035 maybe-dvi-target-boehm-gc:
29036 @if target-boehm-gc
29037 maybe-dvi-target-boehm-gc: dvi-target-boehm-gc
29039 dvi-target-boehm-gc: \
29040 configure-target-boehm-gc
29041 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29042 r=`${PWD_COMMAND}`; export r; \
29043 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29044 $(SET_LIB_PATH) \
29045 $(NORMAL_TARGET_EXPORTS) \
29046 echo "Doing dvi in $(TARGET_SUBDIR)/boehm-gc" ; \
29047 for flag in $(EXTRA_TARGET_FLAGS); do \
29048 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29049 done; \
29050 (cd $(TARGET_SUBDIR)/boehm-gc && \
29051 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29052 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29053 "RANLIB=$${RANLIB}" \
29054 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29055 dvi) \
29056 || exit 1
29058 @endif target-boehm-gc
29060 .PHONY: maybe-html-target-boehm-gc html-target-boehm-gc
29061 maybe-html-target-boehm-gc:
29062 @if target-boehm-gc
29063 maybe-html-target-boehm-gc: html-target-boehm-gc
29065 html-target-boehm-gc: \
29066 configure-target-boehm-gc
29067 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29068 r=`${PWD_COMMAND}`; export r; \
29069 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29070 $(SET_LIB_PATH) \
29071 $(NORMAL_TARGET_EXPORTS) \
29072 echo "Doing html in $(TARGET_SUBDIR)/boehm-gc" ; \
29073 for flag in $(EXTRA_TARGET_FLAGS); do \
29074 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29075 done; \
29076 (cd $(TARGET_SUBDIR)/boehm-gc && \
29077 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29078 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29079 "RANLIB=$${RANLIB}" \
29080 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29081 html) \
29082 || exit 1
29084 @endif target-boehm-gc
29086 .PHONY: maybe-TAGS-target-boehm-gc TAGS-target-boehm-gc
29087 maybe-TAGS-target-boehm-gc:
29088 @if target-boehm-gc
29089 maybe-TAGS-target-boehm-gc: TAGS-target-boehm-gc
29091 TAGS-target-boehm-gc: \
29092 configure-target-boehm-gc
29093 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29094 r=`${PWD_COMMAND}`; export r; \
29095 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29096 $(SET_LIB_PATH) \
29097 $(NORMAL_TARGET_EXPORTS) \
29098 echo "Doing TAGS in $(TARGET_SUBDIR)/boehm-gc" ; \
29099 for flag in $(EXTRA_TARGET_FLAGS); do \
29100 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29101 done; \
29102 (cd $(TARGET_SUBDIR)/boehm-gc && \
29103 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29104 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29105 "RANLIB=$${RANLIB}" \
29106 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29107 TAGS) \
29108 || exit 1
29110 @endif target-boehm-gc
29112 .PHONY: maybe-install-info-target-boehm-gc install-info-target-boehm-gc
29113 maybe-install-info-target-boehm-gc:
29114 @if target-boehm-gc
29115 maybe-install-info-target-boehm-gc: install-info-target-boehm-gc
29117 install-info-target-boehm-gc: \
29118 configure-target-boehm-gc \
29119 info-target-boehm-gc
29120 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29121 r=`${PWD_COMMAND}`; export r; \
29122 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29123 $(SET_LIB_PATH) \
29124 $(NORMAL_TARGET_EXPORTS) \
29125 echo "Doing install-info in $(TARGET_SUBDIR)/boehm-gc" ; \
29126 for flag in $(EXTRA_TARGET_FLAGS); do \
29127 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29128 done; \
29129 (cd $(TARGET_SUBDIR)/boehm-gc && \
29130 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29131 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29132 "RANLIB=$${RANLIB}" \
29133 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29134 install-info) \
29135 || exit 1
29137 @endif target-boehm-gc
29139 .PHONY: maybe-installcheck-target-boehm-gc installcheck-target-boehm-gc
29140 maybe-installcheck-target-boehm-gc:
29141 @if target-boehm-gc
29142 maybe-installcheck-target-boehm-gc: installcheck-target-boehm-gc
29144 installcheck-target-boehm-gc: \
29145 configure-target-boehm-gc
29146 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29147 r=`${PWD_COMMAND}`; export r; \
29148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29149 $(SET_LIB_PATH) \
29150 $(NORMAL_TARGET_EXPORTS) \
29151 echo "Doing installcheck in $(TARGET_SUBDIR)/boehm-gc" ; \
29152 for flag in $(EXTRA_TARGET_FLAGS); do \
29153 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29154 done; \
29155 (cd $(TARGET_SUBDIR)/boehm-gc && \
29156 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29157 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29158 "RANLIB=$${RANLIB}" \
29159 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29160 installcheck) \
29161 || exit 1
29163 @endif target-boehm-gc
29165 .PHONY: maybe-mostlyclean-target-boehm-gc mostlyclean-target-boehm-gc
29166 maybe-mostlyclean-target-boehm-gc:
29167 @if target-boehm-gc
29168 maybe-mostlyclean-target-boehm-gc: mostlyclean-target-boehm-gc
29170 mostlyclean-target-boehm-gc:
29171 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29172 r=`${PWD_COMMAND}`; export r; \
29173 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29174 $(SET_LIB_PATH) \
29175 $(NORMAL_TARGET_EXPORTS) \
29176 echo "Doing mostlyclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29177 for flag in $(EXTRA_TARGET_FLAGS); do \
29178 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29179 done; \
29180 (cd $(TARGET_SUBDIR)/boehm-gc && \
29181 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29182 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29183 "RANLIB=$${RANLIB}" \
29184 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29185 mostlyclean) \
29186 || exit 1
29188 @endif target-boehm-gc
29190 .PHONY: maybe-clean-target-boehm-gc clean-target-boehm-gc
29191 maybe-clean-target-boehm-gc:
29192 @if target-boehm-gc
29193 maybe-clean-target-boehm-gc: clean-target-boehm-gc
29195 clean-target-boehm-gc:
29196 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29197 r=`${PWD_COMMAND}`; export r; \
29198 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29199 $(SET_LIB_PATH) \
29200 $(NORMAL_TARGET_EXPORTS) \
29201 echo "Doing clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29202 for flag in $(EXTRA_TARGET_FLAGS); do \
29203 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29204 done; \
29205 (cd $(TARGET_SUBDIR)/boehm-gc && \
29206 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29207 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29208 "RANLIB=$${RANLIB}" \
29209 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29210 clean) \
29211 || exit 1
29213 @endif target-boehm-gc
29215 .PHONY: maybe-distclean-target-boehm-gc distclean-target-boehm-gc
29216 maybe-distclean-target-boehm-gc:
29217 @if target-boehm-gc
29218 maybe-distclean-target-boehm-gc: distclean-target-boehm-gc
29220 distclean-target-boehm-gc:
29221 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29222 r=`${PWD_COMMAND}`; export r; \
29223 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29224 $(SET_LIB_PATH) \
29225 $(NORMAL_TARGET_EXPORTS) \
29226 echo "Doing distclean in $(TARGET_SUBDIR)/boehm-gc" ; \
29227 for flag in $(EXTRA_TARGET_FLAGS); do \
29228 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29229 done; \
29230 (cd $(TARGET_SUBDIR)/boehm-gc && \
29231 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29232 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29233 "RANLIB=$${RANLIB}" \
29234 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29235 distclean) \
29236 || exit 1
29238 @endif target-boehm-gc
29240 .PHONY: maybe-maintainer-clean-target-boehm-gc maintainer-clean-target-boehm-gc
29241 maybe-maintainer-clean-target-boehm-gc:
29242 @if target-boehm-gc
29243 maybe-maintainer-clean-target-boehm-gc: maintainer-clean-target-boehm-gc
29245 maintainer-clean-target-boehm-gc:
29246 @[ -f $(TARGET_SUBDIR)/boehm-gc/Makefile ] || exit 0 ; \
29247 r=`${PWD_COMMAND}`; export r; \
29248 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29249 $(SET_LIB_PATH) \
29250 $(NORMAL_TARGET_EXPORTS) \
29251 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/boehm-gc" ; \
29252 for flag in $(EXTRA_TARGET_FLAGS); do \
29253 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29254 done; \
29255 (cd $(TARGET_SUBDIR)/boehm-gc && \
29256 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29257 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29258 "RANLIB=$${RANLIB}" \
29259 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29260 maintainer-clean) \
29261 || exit 1
29263 @endif target-boehm-gc
29266 .PHONY: configure-target-qthreads maybe-configure-target-qthreads
29267 maybe-configure-target-qthreads:
29268 @if target-qthreads
29269 maybe-configure-target-qthreads: configure-target-qthreads
29271 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29272 $(TARGET_SUBDIR)/qthreads/multilib.out: multilib.out
29273 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29274 rm -f $(TARGET_SUBDIR)/qthreads/Makefile || : ; \
29275 cp multilib.out $(TARGET_SUBDIR)/qthreads/multilib.out
29277 configure-target-qthreads: $(TARGET_SUBDIR)/qthreads/multilib.out
29278 @test ! -f $(TARGET_SUBDIR)/qthreads/Makefile || exit 0; \
29279 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/qthreads ; \
29280 r=`${PWD_COMMAND}`; export r; \
29281 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29282 $(SET_LIB_PATH) \
29283 $(NORMAL_TARGET_EXPORTS) \
29284 echo Configuring in $(TARGET_SUBDIR)/qthreads; \
29285 cd "$(TARGET_SUBDIR)/qthreads" || exit 1; \
29286 case $(srcdir) in \
29287 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29288 *) topdir=`echo $(TARGET_SUBDIR)/qthreads/ | \
29289 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29290 esac; \
29291 srcdiroption="--srcdir=$${topdir}/qthreads"; \
29292 libsrcdir="$$s/qthreads"; \
29293 rm -f no-such-file || : ; \
29294 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29295 $(TARGET_CONFIGARGS) $${srcdiroption} \
29296 --with-target-subdir="$(TARGET_SUBDIR)" \
29297 || exit 1
29298 @endif target-qthreads
29300 .PHONY: all-target-qthreads maybe-all-target-qthreads
29301 maybe-all-target-qthreads:
29302 @if target-qthreads
29303 TARGET-target-qthreads=all
29304 maybe-all-target-qthreads: all-target-qthreads
29305 all-target-qthreads: configure-target-qthreads
29306 @r=`${PWD_COMMAND}`; export r; \
29307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29308 $(SET_LIB_PATH) \
29309 $(NORMAL_TARGET_EXPORTS) \
29310 (cd $(TARGET_SUBDIR)/qthreads && \
29311 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-qthreads))
29312 @endif target-qthreads
29314 .PHONY: check-target-qthreads maybe-check-target-qthreads
29315 maybe-check-target-qthreads:
29316 @if target-qthreads
29317 maybe-check-target-qthreads: check-target-qthreads
29319 check-target-qthreads:
29320 @r=`${PWD_COMMAND}`; export r; \
29321 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29322 $(SET_LIB_PATH) \
29323 $(NORMAL_TARGET_EXPORTS) \
29324 (cd $(TARGET_SUBDIR)/qthreads && \
29325 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29327 @endif target-qthreads
29329 .PHONY: install-target-qthreads maybe-install-target-qthreads
29330 maybe-install-target-qthreads:
29331 @if target-qthreads
29332 maybe-install-target-qthreads: install-target-qthreads
29334 install-target-qthreads: installdirs
29335 @r=`${PWD_COMMAND}`; export r; \
29336 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29337 $(SET_LIB_PATH) \
29338 $(NORMAL_TARGET_EXPORTS) \
29339 (cd $(TARGET_SUBDIR)/qthreads && \
29340 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29342 @endif target-qthreads
29344 # Other targets (info, dvi, etc.)
29346 .PHONY: maybe-info-target-qthreads info-target-qthreads
29347 maybe-info-target-qthreads:
29348 @if target-qthreads
29349 maybe-info-target-qthreads: info-target-qthreads
29351 info-target-qthreads: \
29352 configure-target-qthreads
29353 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29354 r=`${PWD_COMMAND}`; export r; \
29355 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29356 $(SET_LIB_PATH) \
29357 $(NORMAL_TARGET_EXPORTS) \
29358 echo "Doing info in $(TARGET_SUBDIR)/qthreads" ; \
29359 for flag in $(EXTRA_TARGET_FLAGS); do \
29360 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29361 done; \
29362 (cd $(TARGET_SUBDIR)/qthreads && \
29363 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29364 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29365 "RANLIB=$${RANLIB}" \
29366 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29367 info) \
29368 || exit 1
29370 @endif target-qthreads
29372 .PHONY: maybe-dvi-target-qthreads dvi-target-qthreads
29373 maybe-dvi-target-qthreads:
29374 @if target-qthreads
29375 maybe-dvi-target-qthreads: dvi-target-qthreads
29377 dvi-target-qthreads: \
29378 configure-target-qthreads
29379 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29380 r=`${PWD_COMMAND}`; export r; \
29381 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29382 $(SET_LIB_PATH) \
29383 $(NORMAL_TARGET_EXPORTS) \
29384 echo "Doing dvi in $(TARGET_SUBDIR)/qthreads" ; \
29385 for flag in $(EXTRA_TARGET_FLAGS); do \
29386 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29387 done; \
29388 (cd $(TARGET_SUBDIR)/qthreads && \
29389 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29390 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29391 "RANLIB=$${RANLIB}" \
29392 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29393 dvi) \
29394 || exit 1
29396 @endif target-qthreads
29398 .PHONY: maybe-html-target-qthreads html-target-qthreads
29399 maybe-html-target-qthreads:
29400 @if target-qthreads
29401 maybe-html-target-qthreads: html-target-qthreads
29403 html-target-qthreads: \
29404 configure-target-qthreads
29405 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29406 r=`${PWD_COMMAND}`; export r; \
29407 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29408 $(SET_LIB_PATH) \
29409 $(NORMAL_TARGET_EXPORTS) \
29410 echo "Doing html in $(TARGET_SUBDIR)/qthreads" ; \
29411 for flag in $(EXTRA_TARGET_FLAGS); do \
29412 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29413 done; \
29414 (cd $(TARGET_SUBDIR)/qthreads && \
29415 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29416 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29417 "RANLIB=$${RANLIB}" \
29418 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29419 html) \
29420 || exit 1
29422 @endif target-qthreads
29424 .PHONY: maybe-TAGS-target-qthreads TAGS-target-qthreads
29425 maybe-TAGS-target-qthreads:
29426 @if target-qthreads
29427 maybe-TAGS-target-qthreads: TAGS-target-qthreads
29429 TAGS-target-qthreads: \
29430 configure-target-qthreads
29431 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29432 r=`${PWD_COMMAND}`; export r; \
29433 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29434 $(SET_LIB_PATH) \
29435 $(NORMAL_TARGET_EXPORTS) \
29436 echo "Doing TAGS in $(TARGET_SUBDIR)/qthreads" ; \
29437 for flag in $(EXTRA_TARGET_FLAGS); do \
29438 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29439 done; \
29440 (cd $(TARGET_SUBDIR)/qthreads && \
29441 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29442 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29443 "RANLIB=$${RANLIB}" \
29444 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29445 TAGS) \
29446 || exit 1
29448 @endif target-qthreads
29450 .PHONY: maybe-install-info-target-qthreads install-info-target-qthreads
29451 maybe-install-info-target-qthreads:
29452 @if target-qthreads
29453 maybe-install-info-target-qthreads: install-info-target-qthreads
29455 install-info-target-qthreads: \
29456 configure-target-qthreads \
29457 info-target-qthreads
29458 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29459 r=`${PWD_COMMAND}`; export r; \
29460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29461 $(SET_LIB_PATH) \
29462 $(NORMAL_TARGET_EXPORTS) \
29463 echo "Doing install-info in $(TARGET_SUBDIR)/qthreads" ; \
29464 for flag in $(EXTRA_TARGET_FLAGS); do \
29465 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29466 done; \
29467 (cd $(TARGET_SUBDIR)/qthreads && \
29468 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29469 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29470 "RANLIB=$${RANLIB}" \
29471 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29472 install-info) \
29473 || exit 1
29475 @endif target-qthreads
29477 .PHONY: maybe-installcheck-target-qthreads installcheck-target-qthreads
29478 maybe-installcheck-target-qthreads:
29479 @if target-qthreads
29480 maybe-installcheck-target-qthreads: installcheck-target-qthreads
29482 installcheck-target-qthreads: \
29483 configure-target-qthreads
29484 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29485 r=`${PWD_COMMAND}`; export r; \
29486 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29487 $(SET_LIB_PATH) \
29488 $(NORMAL_TARGET_EXPORTS) \
29489 echo "Doing installcheck in $(TARGET_SUBDIR)/qthreads" ; \
29490 for flag in $(EXTRA_TARGET_FLAGS); do \
29491 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29492 done; \
29493 (cd $(TARGET_SUBDIR)/qthreads && \
29494 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29495 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29496 "RANLIB=$${RANLIB}" \
29497 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29498 installcheck) \
29499 || exit 1
29501 @endif target-qthreads
29503 .PHONY: maybe-mostlyclean-target-qthreads mostlyclean-target-qthreads
29504 maybe-mostlyclean-target-qthreads:
29505 @if target-qthreads
29506 maybe-mostlyclean-target-qthreads: mostlyclean-target-qthreads
29508 mostlyclean-target-qthreads:
29509 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29510 r=`${PWD_COMMAND}`; export r; \
29511 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29512 $(SET_LIB_PATH) \
29513 $(NORMAL_TARGET_EXPORTS) \
29514 echo "Doing mostlyclean in $(TARGET_SUBDIR)/qthreads" ; \
29515 for flag in $(EXTRA_TARGET_FLAGS); do \
29516 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29517 done; \
29518 (cd $(TARGET_SUBDIR)/qthreads && \
29519 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29520 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29521 "RANLIB=$${RANLIB}" \
29522 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29523 mostlyclean) \
29524 || exit 1
29526 @endif target-qthreads
29528 .PHONY: maybe-clean-target-qthreads clean-target-qthreads
29529 maybe-clean-target-qthreads:
29530 @if target-qthreads
29531 maybe-clean-target-qthreads: clean-target-qthreads
29533 clean-target-qthreads:
29534 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29535 r=`${PWD_COMMAND}`; export r; \
29536 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29537 $(SET_LIB_PATH) \
29538 $(NORMAL_TARGET_EXPORTS) \
29539 echo "Doing clean in $(TARGET_SUBDIR)/qthreads" ; \
29540 for flag in $(EXTRA_TARGET_FLAGS); do \
29541 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29542 done; \
29543 (cd $(TARGET_SUBDIR)/qthreads && \
29544 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29545 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29546 "RANLIB=$${RANLIB}" \
29547 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29548 clean) \
29549 || exit 1
29551 @endif target-qthreads
29553 .PHONY: maybe-distclean-target-qthreads distclean-target-qthreads
29554 maybe-distclean-target-qthreads:
29555 @if target-qthreads
29556 maybe-distclean-target-qthreads: distclean-target-qthreads
29558 distclean-target-qthreads:
29559 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29560 r=`${PWD_COMMAND}`; export r; \
29561 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29562 $(SET_LIB_PATH) \
29563 $(NORMAL_TARGET_EXPORTS) \
29564 echo "Doing distclean in $(TARGET_SUBDIR)/qthreads" ; \
29565 for flag in $(EXTRA_TARGET_FLAGS); do \
29566 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29567 done; \
29568 (cd $(TARGET_SUBDIR)/qthreads && \
29569 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29570 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29571 "RANLIB=$${RANLIB}" \
29572 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29573 distclean) \
29574 || exit 1
29576 @endif target-qthreads
29578 .PHONY: maybe-maintainer-clean-target-qthreads maintainer-clean-target-qthreads
29579 maybe-maintainer-clean-target-qthreads:
29580 @if target-qthreads
29581 maybe-maintainer-clean-target-qthreads: maintainer-clean-target-qthreads
29583 maintainer-clean-target-qthreads:
29584 @[ -f $(TARGET_SUBDIR)/qthreads/Makefile ] || exit 0 ; \
29585 r=`${PWD_COMMAND}`; export r; \
29586 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29587 $(SET_LIB_PATH) \
29588 $(NORMAL_TARGET_EXPORTS) \
29589 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/qthreads" ; \
29590 for flag in $(EXTRA_TARGET_FLAGS); do \
29591 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29592 done; \
29593 (cd $(TARGET_SUBDIR)/qthreads && \
29594 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29595 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29596 "RANLIB=$${RANLIB}" \
29597 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29598 maintainer-clean) \
29599 || exit 1
29601 @endif target-qthreads
29604 .PHONY: configure-target-rda maybe-configure-target-rda
29605 maybe-configure-target-rda:
29606 @if target-rda
29607 maybe-configure-target-rda: configure-target-rda
29609 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29610 $(TARGET_SUBDIR)/rda/multilib.out: multilib.out
29611 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29612 rm -f $(TARGET_SUBDIR)/rda/Makefile || : ; \
29613 cp multilib.out $(TARGET_SUBDIR)/rda/multilib.out
29615 configure-target-rda: $(TARGET_SUBDIR)/rda/multilib.out
29616 @test ! -f $(TARGET_SUBDIR)/rda/Makefile || exit 0; \
29617 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/rda ; \
29618 r=`${PWD_COMMAND}`; export r; \
29619 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29620 $(SET_LIB_PATH) \
29621 $(NORMAL_TARGET_EXPORTS) \
29622 echo Configuring in $(TARGET_SUBDIR)/rda; \
29623 cd "$(TARGET_SUBDIR)/rda" || exit 1; \
29624 case $(srcdir) in \
29625 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29626 *) topdir=`echo $(TARGET_SUBDIR)/rda/ | \
29627 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29628 esac; \
29629 srcdiroption="--srcdir=$${topdir}/rda"; \
29630 libsrcdir="$$s/rda"; \
29631 rm -f no-such-file || : ; \
29632 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29633 $(TARGET_CONFIGARGS) $${srcdiroption} \
29634 --with-target-subdir="$(TARGET_SUBDIR)" \
29635 || exit 1
29636 @endif target-rda
29638 .PHONY: all-target-rda maybe-all-target-rda
29639 maybe-all-target-rda:
29640 @if target-rda
29641 TARGET-target-rda=all
29642 maybe-all-target-rda: all-target-rda
29643 all-target-rda: configure-target-rda
29644 @r=`${PWD_COMMAND}`; export r; \
29645 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29646 $(SET_LIB_PATH) \
29647 $(NORMAL_TARGET_EXPORTS) \
29648 (cd $(TARGET_SUBDIR)/rda && \
29649 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-rda))
29650 @endif target-rda
29652 .PHONY: check-target-rda maybe-check-target-rda
29653 maybe-check-target-rda:
29654 @if target-rda
29655 maybe-check-target-rda: check-target-rda
29657 check-target-rda:
29658 @r=`${PWD_COMMAND}`; export r; \
29659 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29660 $(SET_LIB_PATH) \
29661 $(NORMAL_TARGET_EXPORTS) \
29662 (cd $(TARGET_SUBDIR)/rda && \
29663 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
29665 @endif target-rda
29667 .PHONY: install-target-rda maybe-install-target-rda
29668 maybe-install-target-rda:
29669 @if target-rda
29670 maybe-install-target-rda: install-target-rda
29672 install-target-rda: installdirs
29673 @r=`${PWD_COMMAND}`; export r; \
29674 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29675 $(SET_LIB_PATH) \
29676 $(NORMAL_TARGET_EXPORTS) \
29677 (cd $(TARGET_SUBDIR)/rda && \
29678 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
29680 @endif target-rda
29682 # Other targets (info, dvi, etc.)
29684 .PHONY: maybe-info-target-rda info-target-rda
29685 maybe-info-target-rda:
29686 @if target-rda
29687 maybe-info-target-rda: info-target-rda
29689 info-target-rda: \
29690 configure-target-rda
29691 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29692 r=`${PWD_COMMAND}`; export r; \
29693 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29694 $(SET_LIB_PATH) \
29695 $(NORMAL_TARGET_EXPORTS) \
29696 echo "Doing info in $(TARGET_SUBDIR)/rda" ; \
29697 for flag in $(EXTRA_TARGET_FLAGS); do \
29698 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29699 done; \
29700 (cd $(TARGET_SUBDIR)/rda && \
29701 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29702 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29703 "RANLIB=$${RANLIB}" \
29704 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29705 info) \
29706 || exit 1
29708 @endif target-rda
29710 .PHONY: maybe-dvi-target-rda dvi-target-rda
29711 maybe-dvi-target-rda:
29712 @if target-rda
29713 maybe-dvi-target-rda: dvi-target-rda
29715 dvi-target-rda: \
29716 configure-target-rda
29717 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29718 r=`${PWD_COMMAND}`; export r; \
29719 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29720 $(SET_LIB_PATH) \
29721 $(NORMAL_TARGET_EXPORTS) \
29722 echo "Doing dvi in $(TARGET_SUBDIR)/rda" ; \
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)/rda && \
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 dvi) \
29732 || exit 1
29734 @endif target-rda
29736 .PHONY: maybe-html-target-rda html-target-rda
29737 maybe-html-target-rda:
29738 @if target-rda
29739 maybe-html-target-rda: html-target-rda
29741 html-target-rda: \
29742 configure-target-rda
29743 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29744 r=`${PWD_COMMAND}`; export r; \
29745 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29746 $(SET_LIB_PATH) \
29747 $(NORMAL_TARGET_EXPORTS) \
29748 echo "Doing html in $(TARGET_SUBDIR)/rda" ; \
29749 for flag in $(EXTRA_TARGET_FLAGS); do \
29750 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29751 done; \
29752 (cd $(TARGET_SUBDIR)/rda && \
29753 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29754 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29755 "RANLIB=$${RANLIB}" \
29756 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29757 html) \
29758 || exit 1
29760 @endif target-rda
29762 .PHONY: maybe-TAGS-target-rda TAGS-target-rda
29763 maybe-TAGS-target-rda:
29764 @if target-rda
29765 maybe-TAGS-target-rda: TAGS-target-rda
29767 TAGS-target-rda: \
29768 configure-target-rda
29769 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29770 r=`${PWD_COMMAND}`; export r; \
29771 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29772 $(SET_LIB_PATH) \
29773 $(NORMAL_TARGET_EXPORTS) \
29774 echo "Doing TAGS in $(TARGET_SUBDIR)/rda" ; \
29775 for flag in $(EXTRA_TARGET_FLAGS); do \
29776 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29777 done; \
29778 (cd $(TARGET_SUBDIR)/rda && \
29779 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29780 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29781 "RANLIB=$${RANLIB}" \
29782 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29783 TAGS) \
29784 || exit 1
29786 @endif target-rda
29788 .PHONY: maybe-install-info-target-rda install-info-target-rda
29789 maybe-install-info-target-rda:
29790 @if target-rda
29791 maybe-install-info-target-rda: install-info-target-rda
29793 install-info-target-rda: \
29794 configure-target-rda \
29795 info-target-rda
29796 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29797 r=`${PWD_COMMAND}`; export r; \
29798 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29799 $(SET_LIB_PATH) \
29800 $(NORMAL_TARGET_EXPORTS) \
29801 echo "Doing install-info in $(TARGET_SUBDIR)/rda" ; \
29802 for flag in $(EXTRA_TARGET_FLAGS); do \
29803 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29804 done; \
29805 (cd $(TARGET_SUBDIR)/rda && \
29806 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29807 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29808 "RANLIB=$${RANLIB}" \
29809 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29810 install-info) \
29811 || exit 1
29813 @endif target-rda
29815 .PHONY: maybe-installcheck-target-rda installcheck-target-rda
29816 maybe-installcheck-target-rda:
29817 @if target-rda
29818 maybe-installcheck-target-rda: installcheck-target-rda
29820 installcheck-target-rda: \
29821 configure-target-rda
29822 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29823 r=`${PWD_COMMAND}`; export r; \
29824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29825 $(SET_LIB_PATH) \
29826 $(NORMAL_TARGET_EXPORTS) \
29827 echo "Doing installcheck in $(TARGET_SUBDIR)/rda" ; \
29828 for flag in $(EXTRA_TARGET_FLAGS); do \
29829 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29830 done; \
29831 (cd $(TARGET_SUBDIR)/rda && \
29832 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29833 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29834 "RANLIB=$${RANLIB}" \
29835 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29836 installcheck) \
29837 || exit 1
29839 @endif target-rda
29841 .PHONY: maybe-mostlyclean-target-rda mostlyclean-target-rda
29842 maybe-mostlyclean-target-rda:
29843 @if target-rda
29844 maybe-mostlyclean-target-rda: mostlyclean-target-rda
29846 mostlyclean-target-rda:
29847 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29848 r=`${PWD_COMMAND}`; export r; \
29849 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29850 $(SET_LIB_PATH) \
29851 $(NORMAL_TARGET_EXPORTS) \
29852 echo "Doing mostlyclean in $(TARGET_SUBDIR)/rda" ; \
29853 for flag in $(EXTRA_TARGET_FLAGS); do \
29854 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29855 done; \
29856 (cd $(TARGET_SUBDIR)/rda && \
29857 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29858 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29859 "RANLIB=$${RANLIB}" \
29860 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29861 mostlyclean) \
29862 || exit 1
29864 @endif target-rda
29866 .PHONY: maybe-clean-target-rda clean-target-rda
29867 maybe-clean-target-rda:
29868 @if target-rda
29869 maybe-clean-target-rda: clean-target-rda
29871 clean-target-rda:
29872 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29873 r=`${PWD_COMMAND}`; export r; \
29874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29875 $(SET_LIB_PATH) \
29876 $(NORMAL_TARGET_EXPORTS) \
29877 echo "Doing clean in $(TARGET_SUBDIR)/rda" ; \
29878 for flag in $(EXTRA_TARGET_FLAGS); do \
29879 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29880 done; \
29881 (cd $(TARGET_SUBDIR)/rda && \
29882 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29883 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29884 "RANLIB=$${RANLIB}" \
29885 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29886 clean) \
29887 || exit 1
29889 @endif target-rda
29891 .PHONY: maybe-distclean-target-rda distclean-target-rda
29892 maybe-distclean-target-rda:
29893 @if target-rda
29894 maybe-distclean-target-rda: distclean-target-rda
29896 distclean-target-rda:
29897 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29898 r=`${PWD_COMMAND}`; export r; \
29899 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29900 $(SET_LIB_PATH) \
29901 $(NORMAL_TARGET_EXPORTS) \
29902 echo "Doing distclean in $(TARGET_SUBDIR)/rda" ; \
29903 for flag in $(EXTRA_TARGET_FLAGS); do \
29904 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29905 done; \
29906 (cd $(TARGET_SUBDIR)/rda && \
29907 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29908 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29909 "RANLIB=$${RANLIB}" \
29910 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29911 distclean) \
29912 || exit 1
29914 @endif target-rda
29916 .PHONY: maybe-maintainer-clean-target-rda maintainer-clean-target-rda
29917 maybe-maintainer-clean-target-rda:
29918 @if target-rda
29919 maybe-maintainer-clean-target-rda: maintainer-clean-target-rda
29921 maintainer-clean-target-rda:
29922 @[ -f $(TARGET_SUBDIR)/rda/Makefile ] || exit 0 ; \
29923 r=`${PWD_COMMAND}`; export r; \
29924 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29925 $(SET_LIB_PATH) \
29926 $(NORMAL_TARGET_EXPORTS) \
29927 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/rda" ; \
29928 for flag in $(EXTRA_TARGET_FLAGS); do \
29929 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
29930 done; \
29931 (cd $(TARGET_SUBDIR)/rda && \
29932 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
29933 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
29934 "RANLIB=$${RANLIB}" \
29935 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
29936 maintainer-clean) \
29937 || exit 1
29939 @endif target-rda
29942 .PHONY: configure-target-libada maybe-configure-target-libada
29943 maybe-configure-target-libada:
29944 @if target-libada
29945 maybe-configure-target-libada: configure-target-libada
29947 # There's only one multilib.out. Cleverer subdirs shouldn't need it copied.
29948 $(TARGET_SUBDIR)/libada/multilib.out: multilib.out
29949 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29950 rm -f $(TARGET_SUBDIR)/libada/Makefile || : ; \
29951 cp multilib.out $(TARGET_SUBDIR)/libada/multilib.out
29953 configure-target-libada: $(TARGET_SUBDIR)/libada/multilib.out
29954 @test ! -f $(TARGET_SUBDIR)/libada/Makefile || exit 0; \
29955 $(SHELL) $(srcdir)/mkinstalldirs $(TARGET_SUBDIR)/libada ; \
29956 r=`${PWD_COMMAND}`; export r; \
29957 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29958 $(SET_LIB_PATH) \
29959 $(NORMAL_TARGET_EXPORTS) \
29960 echo Configuring in $(TARGET_SUBDIR)/libada; \
29961 cd "$(TARGET_SUBDIR)/libada" || exit 1; \
29962 case $(srcdir) in \
29963 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
29964 *) topdir=`echo $(TARGET_SUBDIR)/libada/ | \
29965 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
29966 esac; \
29967 srcdiroption="--srcdir=$${topdir}/libada"; \
29968 libsrcdir="$$s/libada"; \
29969 rm -f no-such-file || : ; \
29970 CONFIG_SITE=no-such-file $(SHELL) $${libsrcdir}/configure \
29971 $(TARGET_CONFIGARGS) $${srcdiroption} \
29972 --with-target-subdir="$(TARGET_SUBDIR)" \
29973 || exit 1
29974 @endif target-libada
29976 .PHONY: all-target-libada maybe-all-target-libada
29977 maybe-all-target-libada:
29978 @if target-libada
29979 TARGET-target-libada=all
29980 maybe-all-target-libada: all-target-libada
29981 all-target-libada: configure-target-libada
29982 @r=`${PWD_COMMAND}`; export r; \
29983 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29984 $(SET_LIB_PATH) \
29985 $(NORMAL_TARGET_EXPORTS) \
29986 (cd $(TARGET_SUBDIR)/libada && \
29987 $(MAKE) $(TARGET_FLAGS_TO_PASS) $(TARGET-target-libada))
29988 @endif target-libada
29990 .PHONY: check-target-libada maybe-check-target-libada
29991 maybe-check-target-libada:
29992 @if target-libada
29993 maybe-check-target-libada: check-target-libada
29995 check-target-libada:
29996 @r=`${PWD_COMMAND}`; export r; \
29997 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
29998 $(SET_LIB_PATH) \
29999 $(NORMAL_TARGET_EXPORTS) \
30000 (cd $(TARGET_SUBDIR)/libada && \
30001 $(MAKE) $(TARGET_FLAGS_TO_PASS) check)
30003 @endif target-libada
30005 .PHONY: install-target-libada maybe-install-target-libada
30006 maybe-install-target-libada:
30007 @if target-libada
30008 maybe-install-target-libada: install-target-libada
30010 install-target-libada: installdirs
30011 @r=`${PWD_COMMAND}`; export r; \
30012 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30013 $(SET_LIB_PATH) \
30014 $(NORMAL_TARGET_EXPORTS) \
30015 (cd $(TARGET_SUBDIR)/libada && \
30016 $(MAKE) $(TARGET_FLAGS_TO_PASS) install)
30018 @endif target-libada
30020 # Other targets (info, dvi, etc.)
30022 .PHONY: maybe-info-target-libada info-target-libada
30023 maybe-info-target-libada:
30024 @if target-libada
30025 maybe-info-target-libada: info-target-libada
30027 info-target-libada: \
30028 configure-target-libada
30029 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30030 r=`${PWD_COMMAND}`; export r; \
30031 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30032 $(SET_LIB_PATH) \
30033 $(NORMAL_TARGET_EXPORTS) \
30034 echo "Doing info in $(TARGET_SUBDIR)/libada" ; \
30035 for flag in $(EXTRA_TARGET_FLAGS); do \
30036 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30037 done; \
30038 (cd $(TARGET_SUBDIR)/libada && \
30039 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30040 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30041 "RANLIB=$${RANLIB}" \
30042 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30043 info) \
30044 || exit 1
30046 @endif target-libada
30048 .PHONY: maybe-dvi-target-libada dvi-target-libada
30049 maybe-dvi-target-libada:
30050 @if target-libada
30051 maybe-dvi-target-libada: dvi-target-libada
30053 dvi-target-libada: \
30054 configure-target-libada
30055 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30056 r=`${PWD_COMMAND}`; export r; \
30057 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30058 $(SET_LIB_PATH) \
30059 $(NORMAL_TARGET_EXPORTS) \
30060 echo "Doing dvi in $(TARGET_SUBDIR)/libada" ; \
30061 for flag in $(EXTRA_TARGET_FLAGS); do \
30062 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30063 done; \
30064 (cd $(TARGET_SUBDIR)/libada && \
30065 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30066 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30067 "RANLIB=$${RANLIB}" \
30068 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30069 dvi) \
30070 || exit 1
30072 @endif target-libada
30074 .PHONY: maybe-html-target-libada html-target-libada
30075 maybe-html-target-libada:
30076 @if target-libada
30077 maybe-html-target-libada: html-target-libada
30079 html-target-libada: \
30080 configure-target-libada
30081 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30082 r=`${PWD_COMMAND}`; export r; \
30083 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30084 $(SET_LIB_PATH) \
30085 $(NORMAL_TARGET_EXPORTS) \
30086 echo "Doing html in $(TARGET_SUBDIR)/libada" ; \
30087 for flag in $(EXTRA_TARGET_FLAGS); do \
30088 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30089 done; \
30090 (cd $(TARGET_SUBDIR)/libada && \
30091 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30092 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30093 "RANLIB=$${RANLIB}" \
30094 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30095 html) \
30096 || exit 1
30098 @endif target-libada
30100 .PHONY: maybe-TAGS-target-libada TAGS-target-libada
30101 maybe-TAGS-target-libada:
30102 @if target-libada
30103 maybe-TAGS-target-libada: TAGS-target-libada
30105 TAGS-target-libada: \
30106 configure-target-libada
30107 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30108 r=`${PWD_COMMAND}`; export r; \
30109 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30110 $(SET_LIB_PATH) \
30111 $(NORMAL_TARGET_EXPORTS) \
30112 echo "Doing TAGS in $(TARGET_SUBDIR)/libada" ; \
30113 for flag in $(EXTRA_TARGET_FLAGS); do \
30114 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30115 done; \
30116 (cd $(TARGET_SUBDIR)/libada && \
30117 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30118 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30119 "RANLIB=$${RANLIB}" \
30120 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30121 TAGS) \
30122 || exit 1
30124 @endif target-libada
30126 .PHONY: maybe-install-info-target-libada install-info-target-libada
30127 maybe-install-info-target-libada:
30128 @if target-libada
30129 maybe-install-info-target-libada: install-info-target-libada
30131 install-info-target-libada: \
30132 configure-target-libada \
30133 info-target-libada
30134 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30135 r=`${PWD_COMMAND}`; export r; \
30136 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30137 $(SET_LIB_PATH) \
30138 $(NORMAL_TARGET_EXPORTS) \
30139 echo "Doing install-info in $(TARGET_SUBDIR)/libada" ; \
30140 for flag in $(EXTRA_TARGET_FLAGS); do \
30141 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30142 done; \
30143 (cd $(TARGET_SUBDIR)/libada && \
30144 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30145 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30146 "RANLIB=$${RANLIB}" \
30147 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30148 install-info) \
30149 || exit 1
30151 @endif target-libada
30153 .PHONY: maybe-installcheck-target-libada installcheck-target-libada
30154 maybe-installcheck-target-libada:
30155 @if target-libada
30156 maybe-installcheck-target-libada: installcheck-target-libada
30158 installcheck-target-libada: \
30159 configure-target-libada
30160 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30161 r=`${PWD_COMMAND}`; export r; \
30162 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30163 $(SET_LIB_PATH) \
30164 $(NORMAL_TARGET_EXPORTS) \
30165 echo "Doing installcheck in $(TARGET_SUBDIR)/libada" ; \
30166 for flag in $(EXTRA_TARGET_FLAGS); do \
30167 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30168 done; \
30169 (cd $(TARGET_SUBDIR)/libada && \
30170 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30171 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30172 "RANLIB=$${RANLIB}" \
30173 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30174 installcheck) \
30175 || exit 1
30177 @endif target-libada
30179 .PHONY: maybe-mostlyclean-target-libada mostlyclean-target-libada
30180 maybe-mostlyclean-target-libada:
30181 @if target-libada
30182 maybe-mostlyclean-target-libada: mostlyclean-target-libada
30184 mostlyclean-target-libada:
30185 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30186 r=`${PWD_COMMAND}`; export r; \
30187 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30188 $(SET_LIB_PATH) \
30189 $(NORMAL_TARGET_EXPORTS) \
30190 echo "Doing mostlyclean in $(TARGET_SUBDIR)/libada" ; \
30191 for flag in $(EXTRA_TARGET_FLAGS); do \
30192 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30193 done; \
30194 (cd $(TARGET_SUBDIR)/libada && \
30195 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30196 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30197 "RANLIB=$${RANLIB}" \
30198 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30199 mostlyclean) \
30200 || exit 1
30202 @endif target-libada
30204 .PHONY: maybe-clean-target-libada clean-target-libada
30205 maybe-clean-target-libada:
30206 @if target-libada
30207 maybe-clean-target-libada: clean-target-libada
30209 clean-target-libada:
30210 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30211 r=`${PWD_COMMAND}`; export r; \
30212 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30213 $(SET_LIB_PATH) \
30214 $(NORMAL_TARGET_EXPORTS) \
30215 echo "Doing clean in $(TARGET_SUBDIR)/libada" ; \
30216 for flag in $(EXTRA_TARGET_FLAGS); do \
30217 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30218 done; \
30219 (cd $(TARGET_SUBDIR)/libada && \
30220 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30221 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30222 "RANLIB=$${RANLIB}" \
30223 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30224 clean) \
30225 || exit 1
30227 @endif target-libada
30229 .PHONY: maybe-distclean-target-libada distclean-target-libada
30230 maybe-distclean-target-libada:
30231 @if target-libada
30232 maybe-distclean-target-libada: distclean-target-libada
30234 distclean-target-libada:
30235 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30236 r=`${PWD_COMMAND}`; export r; \
30237 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30238 $(SET_LIB_PATH) \
30239 $(NORMAL_TARGET_EXPORTS) \
30240 echo "Doing distclean in $(TARGET_SUBDIR)/libada" ; \
30241 for flag in $(EXTRA_TARGET_FLAGS); do \
30242 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30243 done; \
30244 (cd $(TARGET_SUBDIR)/libada && \
30245 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30246 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30247 "RANLIB=$${RANLIB}" \
30248 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30249 distclean) \
30250 || exit 1
30252 @endif target-libada
30254 .PHONY: maybe-maintainer-clean-target-libada maintainer-clean-target-libada
30255 maybe-maintainer-clean-target-libada:
30256 @if target-libada
30257 maybe-maintainer-clean-target-libada: maintainer-clean-target-libada
30259 maintainer-clean-target-libada:
30260 @[ -f $(TARGET_SUBDIR)/libada/Makefile ] || exit 0 ; \
30261 r=`${PWD_COMMAND}`; export r; \
30262 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30263 $(SET_LIB_PATH) \
30264 $(NORMAL_TARGET_EXPORTS) \
30265 echo "Doing maintainer-clean in $(TARGET_SUBDIR)/libada" ; \
30266 for flag in $(EXTRA_TARGET_FLAGS); do \
30267 eval `echo "$$flag" | sed -e "s|^\([^=]*\)=\(.*\)|\1='\2'; export \1|"`; \
30268 done; \
30269 (cd $(TARGET_SUBDIR)/libada && \
30270 $(MAKE) $(BASE_FLAGS_TO_PASS) "AR=$${AR}" "AS=$${AS}" \
30271 "CC=$${CC}" "CXX=$${CXX}" "LD=$${LD}" "NM=$${NM}" \
30272 "RANLIB=$${RANLIB}" \
30273 "DLLTOOL=$${DLLTOOL}" "WINDRES=$${WINDRES}" \
30274 maintainer-clean) \
30275 || exit 1
30277 @endif target-libada
30281 # ----------
30282 # GCC module
30283 # ----------
30285 @if gcc-no-bootstrap
30286 # GCC has some more recursive targets, which trigger the old
30287 # (but still current, until the toplevel bootstrap project
30288 # is finished) compiler bootstrapping rules.
30290 GCC_STRAP_TARGETS = bootstrap bootstrap-lean bootstrap2 bootstrap2-lean bootstrap3 bootstrap3-lean bootstrap4 bootstrap4-lean bubblestrap quickstrap cleanstrap restrap
30291 .PHONY: $(GCC_STRAP_TARGETS)
30292 $(GCC_STRAP_TARGETS): all-prebootstrap configure-gcc
30293 @r=`${PWD_COMMAND}`; export r; \
30294 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30295 $(SET_LIB_PATH) \
30296 $(HOST_EXPORTS) \
30297 echo "Bootstrapping the compiler"; \
30298 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $@
30299 @r=`${PWD_COMMAND}`; export r; \
30300 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30301 case "$@" in \
30302 *bootstrap4-lean ) \
30303 msg="Comparing stage3 and stage4 of the compiler"; \
30304 compare=compare3-lean ;; \
30305 *bootstrap4 ) \
30306 msg="Comparing stage3 and stage4 of the compiler"; \
30307 compare=compare3 ;; \
30308 *-lean ) \
30309 msg="Comparing stage2 and stage3 of the compiler"; \
30310 compare=compare-lean ;; \
30311 * ) \
30312 msg="Comparing stage2 and stage3 of the compiler"; \
30313 compare=compare ;; \
30314 esac; \
30315 $(SET_LIB_PATH) \
30316 $(HOST_EXPORTS) \
30317 echo "$$msg"; \
30318 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) $$compare
30319 @r=`${PWD_COMMAND}`; export r; \
30320 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30321 $(SET_LIB_PATH) \
30322 echo "Building runtime libraries"; \
30323 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30325 profiledbootstrap: all-prebootstrap configure-gcc
30326 @r=`${PWD_COMMAND}`; export r; \
30327 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30328 $(SET_LIB_PATH) \
30329 $(HOST_EXPORTS) \
30330 echo "Bootstrapping training compiler"; \
30331 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stageprofile_build
30332 @r=`${PWD_COMMAND}`; export r; \
30333 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30334 $(SET_LIB_PATH) \
30335 $(HOST_EXPORTS) \
30336 echo "Building feedback based compiler"; \
30337 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) stagefeedback_build
30338 @r=`${PWD_COMMAND}`; export r; \
30339 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30340 $(SET_LIB_PATH) \
30341 echo "Building runtime libraries"; \
30342 $(MAKE) $(RECURSE_FLAGS_TO_PASS) all
30344 .PHONY: cross
30345 cross: all-build all-gas all-ld
30346 @r=`${PWD_COMMAND}`; export r; \
30347 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30348 $(SET_LIB_PATH) \
30349 $(HOST_EXPORTS) \
30350 echo "Building the C and C++ compiler"; \
30351 cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) LANGUAGES="c c++"
30352 @r=`${PWD_COMMAND}`; export r; \
30353 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30354 $(SET_LIB_PATH) \
30355 echo "Building runtime libraries"; \
30356 $(MAKE) $(RECURSE_FLAGS_TO_PASS) LANGUAGES="c c++" all
30357 @endif gcc-no-bootstrap
30359 @if gcc
30360 .PHONY: check-gcc-c++
30361 check-gcc-c++:
30362 @if [ -f ./gcc/Makefile ] ; then \
30363 r=`${PWD_COMMAND}`; export r; \
30364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30365 $(SET_LIB_PATH) \
30366 $(HOST_EXPORTS) \
30367 (cd gcc && $(MAKE) $(GCC_FLAGS_TO_PASS) check-c++); \
30368 else \
30369 true; \
30372 .PHONY: check-c++
30373 check-c++: check-target-libstdc++-v3 check-gcc-c++
30375 # Install the gcc headers files, but not the fixed include files,
30376 # which Cygnus is not allowed to distribute. This rule is very
30377 # dependent on the workings of the gcc Makefile.in.
30378 .PHONY: gcc-no-fixedincludes
30379 gcc-no-fixedincludes:
30380 @if [ -f ./gcc/Makefile ]; then \
30381 rm -rf gcc/tmp-include; \
30382 mv gcc/include gcc/tmp-include 2>/dev/null; \
30383 mkdir gcc/include; \
30384 cp $(srcdir)/gcc/gsyslimits.h gcc/include/syslimits.h; \
30385 touch gcc/stmp-fixinc gcc/include/fixed; \
30386 rm -f gcc/stmp-headers gcc/stmp-int-hdrs; \
30387 r=`${PWD_COMMAND}`; export r; \
30388 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
30389 $(SET_LIB_PATH) \
30390 $(HOST_EXPORTS) \
30391 (cd ./gcc && \
30392 $(MAKE) $(GCC_FLAGS_TO_PASS) install); \
30393 rm -rf gcc/include; \
30394 mv gcc/tmp-include gcc/include 2>/dev/null; \
30395 else true; fi
30396 @endif gcc
30398 # ---------------------
30399 # GCC bootstrap support
30400 # ---------------------
30402 # We track the current stage (the one in 'gcc') in the stage_current file.
30403 # stage_last instead tracks the stage that was built last. These targets
30404 # are dummy when toplevel bootstrap is not active.
30406 .PHONY: unstage
30407 unstage:
30408 @if gcc-bootstrap
30409 @[ -f stage_current ] || $(MAKE) `cat stage_last`-start
30410 @endif gcc-bootstrap
30412 .PHONY: stage
30413 stage:
30414 @if gcc-bootstrap
30415 @$(MAKE) `cat stage_current`-end
30416 @endif gcc-bootstrap
30418 # We name the build directories for the various stages "stage1-gcc",
30419 # "stage2-gcc","stage3-gcc", etc.
30421 # Since the 'compare' process will fail (on debugging information) if any
30422 # directory names are different, we need to link the gcc directory for
30423 # the previous stage to a constant name ('gcc-prev'), and to make the name of
30424 # the build directories constant as well. For the latter, we use naked names
30425 # like 'gcc', because the scripts in that directory assume it. We use
30426 # mv on platforms where symlinks to directories do not work or are not
30427 # reliable.
30429 # At the end of the bootstrap, a symlink to 'stage3-gcc' named 'gcc' must
30430 # be kept, so that libraries can find it. Ick!
30432 # It would be best to preinstall gcc into a staging area (and in the
30433 # future, gather there all prebootstrap packages). This would allow
30434 # assemblers and linkers can be bootstrapped as well as the compiler
30435 # (both in a combined tree, or separately). This however requires some
30436 # change to the gcc driver, again in order to avoid comparison failures.
30438 # Bugs: This is crippled when doing parallel make, the `make all-host'
30439 # and `make all-target' phases can be parallelized.
30442 # 'touch' doesn't work right on some platforms.
30443 STAMP = echo timestamp >
30445 # Only build the C compiler for stage1, because that is the only one that
30446 # we can guarantee will build with the native compiler, and also it is the
30447 # only thing useful for building stage2. STAGE1_CFLAGS (via CFLAGS),
30448 # MAKEINFO and MAKEINFOFLAGS are explicitly passed here to make them
30449 # overrideable (for a bootstrap build stage1 also builds gcc.info).
30451 STAGE1_CFLAGS=@stage1_cflags@
30452 STAGE1_LANGUAGES=@stage1_languages@
30454 # We only want to compare .o files, so set this!
30455 objext = .o
30457 # Flags to pass to stage2 and later makes.
30458 POSTSTAGE1_FLAGS_TO_PASS = \
30459 CC="$${CC}" CC_FOR_BUILD="$${CC_FOR_BUILD}" \
30460 STAGE_PREFIX=$$r/stage-gcc/ \
30461 CFLAGS="$(BOOT_CFLAGS)" \
30462 ADAC="\$$(CC)"
30464 # For stage 1:
30465 # * We force-disable intermodule optimizations, even if
30466 # --enable-intermodule was passed, since the installed compiler probably
30467 # can't handle them. Luckily, autoconf always respects
30468 # the last argument when conflicting --enable arguments are passed.
30469 # * Likewise, we force-disable coverage flags, since the installed compiler
30470 # probably has never heard of them.
30471 # * We build only C (and possibly Ada).
30474 .PHONY: stage1-start stage1-end
30476 stage1-start::
30477 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
30478 echo stage1 > stage_current ; \
30479 echo stage1 > stage_last; \
30480 $(mkinstalldirs) $(HOST_SUBDIR)
30481 @if bfd
30482 @cd $(HOST_SUBDIR); [ -d stage1-bfd ] || \
30483 mkdir stage1-bfd; \
30484 set stage1-bfd bfd ; \
30485 @CREATE_LINK_TO_DIR@
30486 @endif bfd
30487 @if opcodes
30488 @cd $(HOST_SUBDIR); [ -d stage1-opcodes ] || \
30489 mkdir stage1-opcodes; \
30490 set stage1-opcodes opcodes ; \
30491 @CREATE_LINK_TO_DIR@
30492 @endif opcodes
30493 @if binutils
30494 @cd $(HOST_SUBDIR); [ -d stage1-binutils ] || \
30495 mkdir stage1-binutils; \
30496 set stage1-binutils binutils ; \
30497 @CREATE_LINK_TO_DIR@
30498 @endif binutils
30499 @if gas
30500 @cd $(HOST_SUBDIR); [ -d stage1-gas ] || \
30501 mkdir stage1-gas; \
30502 set stage1-gas gas ; \
30503 @CREATE_LINK_TO_DIR@
30504 @endif gas
30505 @if gcc
30506 @cd $(HOST_SUBDIR); [ -d stage1-gcc ] || \
30507 mkdir stage1-gcc; \
30508 set stage1-gcc gcc ; \
30509 @CREATE_LINK_TO_DIR@
30510 @endif gcc
30511 @if intl
30512 @cd $(HOST_SUBDIR); [ -d stage1-intl ] || \
30513 mkdir stage1-intl; \
30514 set stage1-intl intl ; \
30515 @CREATE_LINK_TO_DIR@
30516 @endif intl
30517 @if ld
30518 @cd $(HOST_SUBDIR); [ -d stage1-ld ] || \
30519 mkdir stage1-ld; \
30520 set stage1-ld ld ; \
30521 @CREATE_LINK_TO_DIR@
30522 @endif ld
30523 @if libcpp
30524 @cd $(HOST_SUBDIR); [ -d stage1-libcpp ] || \
30525 mkdir stage1-libcpp; \
30526 set stage1-libcpp libcpp ; \
30527 @CREATE_LINK_TO_DIR@
30528 @endif libcpp
30529 @if libiberty
30530 @cd $(HOST_SUBDIR); [ -d stage1-libiberty ] || \
30531 mkdir stage1-libiberty; \
30532 set stage1-libiberty libiberty ; \
30533 @CREATE_LINK_TO_DIR@
30534 @endif libiberty
30535 @if zlib
30536 @cd $(HOST_SUBDIR); [ -d stage1-zlib ] || \
30537 mkdir stage1-zlib; \
30538 set stage1-zlib zlib ; \
30539 @CREATE_LINK_TO_DIR@
30540 @endif zlib
30542 stage1-end::
30543 @rm -f stage_current
30544 @if bfd
30545 @cd $(HOST_SUBDIR); set bfd stage1-bfd ; \
30546 @UNDO_LINK_TO_DIR@
30547 @endif bfd
30548 @if opcodes
30549 @cd $(HOST_SUBDIR); set opcodes stage1-opcodes ; \
30550 @UNDO_LINK_TO_DIR@
30551 @endif opcodes
30552 @if binutils
30553 @cd $(HOST_SUBDIR); set binutils stage1-binutils ; \
30554 @UNDO_LINK_TO_DIR@
30555 @endif binutils
30556 @if gas
30557 @cd $(HOST_SUBDIR); set gas stage1-gas ; \
30558 @UNDO_LINK_TO_DIR@
30559 @endif gas
30560 @if gcc
30561 @cd $(HOST_SUBDIR); set gcc stage1-gcc ; \
30562 @UNDO_LINK_TO_DIR@
30563 @endif gcc
30564 @if intl
30565 @cd $(HOST_SUBDIR); set intl stage1-intl ; \
30566 @UNDO_LINK_TO_DIR@
30567 @endif intl
30568 @if ld
30569 @cd $(HOST_SUBDIR); set ld stage1-ld ; \
30570 @UNDO_LINK_TO_DIR@
30571 @endif ld
30572 @if libcpp
30573 @cd $(HOST_SUBDIR); set libcpp stage1-libcpp ; \
30574 @UNDO_LINK_TO_DIR@
30575 @endif libcpp
30576 @if libiberty
30577 @cd $(HOST_SUBDIR); set libiberty stage1-libiberty ; \
30578 @UNDO_LINK_TO_DIR@
30579 @endif libiberty
30580 @if zlib
30581 @cd $(HOST_SUBDIR); set zlib stage1-zlib ; \
30582 @UNDO_LINK_TO_DIR@
30583 @endif zlib
30585 # Bubble a bugfix through all the stages up to stage 1. They
30586 # are remade, but not reconfigured. The next stage (if any) will not
30587 # be reconfigured as well.
30588 .PHONY: stage1-bubble
30589 stage1-bubble::
30590 @if test -f stage1-lean ; then \
30591 echo Skipping rebuild of stage1 ; \
30592 else \
30593 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage1; \
30596 .PHONY: all-stage1 clean-stage1
30597 all-stage1: \
30598 maybe-all-stage1-bfd \
30599 maybe-all-stage1-opcodes \
30600 maybe-all-stage1-binutils \
30601 maybe-all-stage1-gas \
30602 maybe-all-stage1-gcc \
30603 maybe-all-stage1-intl \
30604 maybe-all-stage1-ld \
30605 maybe-all-stage1-libcpp \
30606 maybe-all-stage1-libiberty \
30607 maybe-all-stage1-zlib
30609 do-clean: clean-stage1
30610 clean-stage1: \
30611 maybe-clean-stage1-bfd \
30612 maybe-clean-stage1-opcodes \
30613 maybe-clean-stage1-binutils \
30614 maybe-clean-stage1-gas \
30615 maybe-clean-stage1-gcc \
30616 maybe-clean-stage1-intl \
30617 maybe-clean-stage1-ld \
30618 maybe-clean-stage1-libcpp \
30619 maybe-clean-stage1-libiberty \
30620 maybe-clean-stage1-zlib
30623 .PHONY: configure-stage1-bfd maybe-configure-stage1-bfd
30624 .PHONY: all-stage1-bfd maybe-all-stage1-bfd
30625 .PHONY: clean-stage1-bfd maybe-clean-stage1-bfd
30627 maybe-configure-stage1-bfd:
30628 maybe-all-stage1-bfd:
30629 maybe-clean-stage1-bfd:
30631 @if bfd-bootstrap
30632 maybe-configure-stage1-bfd: configure-stage1-bfd
30633 configure-stage1-bfd:
30634 @$(MAKE) stage1-start
30635 @[ -f bfd/Makefile ] && exit 0 || : ; \
30636 r=`${PWD_COMMAND}`; export r; \
30637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30638 $(HOST_EXPORTS) \
30639 echo Configuring stage 1 in bfd ; \
30640 cd $(HOST_SUBDIR)/bfd || exit 1; \
30641 case $(srcdir) in \
30642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30643 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
30644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30645 esac; \
30646 srcdiroption="--srcdir=$${topdir}/bfd"; \
30647 libsrcdir="$$s/bfd"; \
30648 $(SHELL) $${libsrcdir}/configure \
30649 $(HOST_CONFIGARGS) $${srcdiroption} \
30650 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30652 maybe-all-stage1-bfd: all-stage1-bfd
30653 all-stage1-bfd: configure-stage1-bfd
30654 @$(MAKE) stage1-start
30655 @r=`${PWD_COMMAND}`; export r; \
30656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30657 $(HOST_EXPORTS) \
30658 cd $(HOST_SUBDIR)/bfd && \
30659 $(MAKE) $(FLAGS_TO_PASS) \
30660 CFLAGS="$(STAGE1_CFLAGS)"
30662 maybe-clean-stage1-bfd: clean-stage1-bfd
30663 clean-stage1-bfd:
30664 @[ -f bfd/Makefile ] || [ -f stage1-bfd/Makefile ] \
30665 || exit 0 ; \
30666 [ -f bfd/Makefile ] || $(MAKE) stage1-start ; \
30667 cd $(HOST_SUBDIR)/bfd && \
30668 $(MAKE) $(FLAGS_TO_PASS) \
30669 CFLAGS="$(STAGE1_CFLAGS)" clean
30670 @endif bfd-bootstrap
30673 .PHONY: configure-stage1-opcodes maybe-configure-stage1-opcodes
30674 .PHONY: all-stage1-opcodes maybe-all-stage1-opcodes
30675 .PHONY: clean-stage1-opcodes maybe-clean-stage1-opcodes
30677 maybe-configure-stage1-opcodes:
30678 maybe-all-stage1-opcodes:
30679 maybe-clean-stage1-opcodes:
30681 @if opcodes-bootstrap
30682 maybe-configure-stage1-opcodes: configure-stage1-opcodes
30683 configure-stage1-opcodes:
30684 @$(MAKE) stage1-start
30685 @[ -f opcodes/Makefile ] && exit 0 || : ; \
30686 r=`${PWD_COMMAND}`; export r; \
30687 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30688 $(HOST_EXPORTS) \
30689 echo Configuring stage 1 in opcodes ; \
30690 cd $(HOST_SUBDIR)/opcodes || exit 1; \
30691 case $(srcdir) in \
30692 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30693 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
30694 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30695 esac; \
30696 srcdiroption="--srcdir=$${topdir}/opcodes"; \
30697 libsrcdir="$$s/opcodes"; \
30698 $(SHELL) $${libsrcdir}/configure \
30699 $(HOST_CONFIGARGS) $${srcdiroption} \
30700 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30702 maybe-all-stage1-opcodes: all-stage1-opcodes
30703 all-stage1-opcodes: configure-stage1-opcodes
30704 @$(MAKE) stage1-start
30705 @r=`${PWD_COMMAND}`; export r; \
30706 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30707 $(HOST_EXPORTS) \
30708 cd $(HOST_SUBDIR)/opcodes && \
30709 $(MAKE) $(FLAGS_TO_PASS) \
30710 CFLAGS="$(STAGE1_CFLAGS)"
30712 maybe-clean-stage1-opcodes: clean-stage1-opcodes
30713 clean-stage1-opcodes:
30714 @[ -f opcodes/Makefile ] || [ -f stage1-opcodes/Makefile ] \
30715 || exit 0 ; \
30716 [ -f opcodes/Makefile ] || $(MAKE) stage1-start ; \
30717 cd $(HOST_SUBDIR)/opcodes && \
30718 $(MAKE) $(FLAGS_TO_PASS) \
30719 CFLAGS="$(STAGE1_CFLAGS)" clean
30720 @endif opcodes-bootstrap
30723 .PHONY: configure-stage1-binutils maybe-configure-stage1-binutils
30724 .PHONY: all-stage1-binutils maybe-all-stage1-binutils
30725 .PHONY: clean-stage1-binutils maybe-clean-stage1-binutils
30727 maybe-configure-stage1-binutils:
30728 maybe-all-stage1-binutils:
30729 maybe-clean-stage1-binutils:
30731 @if binutils-bootstrap
30732 maybe-configure-stage1-binutils: configure-stage1-binutils
30733 configure-stage1-binutils:
30734 @$(MAKE) stage1-start
30735 @[ -f binutils/Makefile ] && exit 0 || : ; \
30736 r=`${PWD_COMMAND}`; export r; \
30737 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30738 $(HOST_EXPORTS) \
30739 echo Configuring stage 1 in binutils ; \
30740 cd $(HOST_SUBDIR)/binutils || exit 1; \
30741 case $(srcdir) in \
30742 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30743 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
30744 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30745 esac; \
30746 srcdiroption="--srcdir=$${topdir}/binutils"; \
30747 libsrcdir="$$s/binutils"; \
30748 $(SHELL) $${libsrcdir}/configure \
30749 $(HOST_CONFIGARGS) $${srcdiroption} \
30750 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30752 maybe-all-stage1-binutils: all-stage1-binutils
30753 all-stage1-binutils: configure-stage1-binutils
30754 @$(MAKE) stage1-start
30755 @r=`${PWD_COMMAND}`; export r; \
30756 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30757 $(HOST_EXPORTS) \
30758 cd $(HOST_SUBDIR)/binutils && \
30759 $(MAKE) $(FLAGS_TO_PASS) \
30760 CFLAGS="$(STAGE1_CFLAGS)"
30762 maybe-clean-stage1-binutils: clean-stage1-binutils
30763 clean-stage1-binutils:
30764 @[ -f binutils/Makefile ] || [ -f stage1-binutils/Makefile ] \
30765 || exit 0 ; \
30766 [ -f binutils/Makefile ] || $(MAKE) stage1-start ; \
30767 cd $(HOST_SUBDIR)/binutils && \
30768 $(MAKE) $(FLAGS_TO_PASS) \
30769 CFLAGS="$(STAGE1_CFLAGS)" clean
30770 @endif binutils-bootstrap
30773 .PHONY: configure-stage1-gas maybe-configure-stage1-gas
30774 .PHONY: all-stage1-gas maybe-all-stage1-gas
30775 .PHONY: clean-stage1-gas maybe-clean-stage1-gas
30777 maybe-configure-stage1-gas:
30778 maybe-all-stage1-gas:
30779 maybe-clean-stage1-gas:
30781 @if gas-bootstrap
30782 maybe-configure-stage1-gas: configure-stage1-gas
30783 configure-stage1-gas:
30784 @$(MAKE) stage1-start
30785 @[ -f gas/Makefile ] && exit 0 || : ; \
30786 r=`${PWD_COMMAND}`; export r; \
30787 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30788 $(HOST_EXPORTS) \
30789 echo Configuring stage 1 in gas ; \
30790 cd $(HOST_SUBDIR)/gas || exit 1; \
30791 case $(srcdir) in \
30792 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30793 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
30794 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30795 esac; \
30796 srcdiroption="--srcdir=$${topdir}/gas"; \
30797 libsrcdir="$$s/gas"; \
30798 $(SHELL) $${libsrcdir}/configure \
30799 $(HOST_CONFIGARGS) $${srcdiroption} \
30800 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30802 maybe-all-stage1-gas: all-stage1-gas
30803 all-stage1-gas: configure-stage1-gas
30804 @$(MAKE) stage1-start
30805 @r=`${PWD_COMMAND}`; export r; \
30806 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30807 $(HOST_EXPORTS) \
30808 cd $(HOST_SUBDIR)/gas && \
30809 $(MAKE) $(FLAGS_TO_PASS) \
30810 CFLAGS="$(STAGE1_CFLAGS)"
30812 maybe-clean-stage1-gas: clean-stage1-gas
30813 clean-stage1-gas:
30814 @[ -f gas/Makefile ] || [ -f stage1-gas/Makefile ] \
30815 || exit 0 ; \
30816 [ -f gas/Makefile ] || $(MAKE) stage1-start ; \
30817 cd $(HOST_SUBDIR)/gas && \
30818 $(MAKE) $(FLAGS_TO_PASS) \
30819 CFLAGS="$(STAGE1_CFLAGS)" clean
30820 @endif gas-bootstrap
30823 .PHONY: configure-stage1-gcc maybe-configure-stage1-gcc
30824 .PHONY: all-stage1-gcc maybe-all-stage1-gcc
30825 .PHONY: clean-stage1-gcc maybe-clean-stage1-gcc
30827 maybe-configure-stage1-gcc:
30828 maybe-all-stage1-gcc:
30829 maybe-clean-stage1-gcc:
30831 @if gcc-bootstrap
30832 maybe-configure-stage1-gcc: configure-stage1-gcc
30833 configure-stage1-gcc:
30834 @$(MAKE) stage1-start
30835 @[ -f gcc/Makefile ] && exit 0 || : ; \
30836 r=`${PWD_COMMAND}`; export r; \
30837 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30838 $(HOST_EXPORTS) \
30839 echo Configuring stage 1 in gcc ; \
30840 cd $(HOST_SUBDIR)/gcc || exit 1; \
30841 case $(srcdir) in \
30842 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30843 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
30844 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30845 esac; \
30846 srcdiroption="--srcdir=$${topdir}/gcc"; \
30847 libsrcdir="$$s/gcc"; \
30848 $(SHELL) $${libsrcdir}/configure \
30849 $(HOST_CONFIGARGS) $${srcdiroption} \
30850 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30852 maybe-all-stage1-gcc: all-stage1-gcc
30853 all-stage1-gcc: configure-stage1-gcc
30854 @$(MAKE) stage1-start
30855 @r=`${PWD_COMMAND}`; export r; \
30856 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30857 $(HOST_EXPORTS) \
30858 cd $(HOST_SUBDIR)/gcc && \
30859 $(MAKE) $(FLAGS_TO_PASS) \
30860 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS)
30862 maybe-clean-stage1-gcc: clean-stage1-gcc
30863 clean-stage1-gcc:
30864 @[ -f gcc/Makefile ] || [ -f stage1-gcc/Makefile ] \
30865 || exit 0 ; \
30866 [ -f gcc/Makefile ] || $(MAKE) stage1-start ; \
30867 cd $(HOST_SUBDIR)/gcc && \
30868 $(MAKE) $(FLAGS_TO_PASS) \
30869 CFLAGS="$(STAGE1_CFLAGS)" $(EXTRA_GCC_FLAGS) clean
30870 @endif gcc-bootstrap
30873 .PHONY: configure-stage1-intl maybe-configure-stage1-intl
30874 .PHONY: all-stage1-intl maybe-all-stage1-intl
30875 .PHONY: clean-stage1-intl maybe-clean-stage1-intl
30877 maybe-configure-stage1-intl:
30878 maybe-all-stage1-intl:
30879 maybe-clean-stage1-intl:
30881 @if intl-bootstrap
30882 maybe-configure-stage1-intl: configure-stage1-intl
30883 configure-stage1-intl:
30884 @$(MAKE) stage1-start
30885 @[ -f intl/Makefile ] && exit 0 || : ; \
30886 r=`${PWD_COMMAND}`; export r; \
30887 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30888 $(HOST_EXPORTS) \
30889 echo Configuring stage 1 in intl ; \
30890 cd $(HOST_SUBDIR)/intl || exit 1; \
30891 case $(srcdir) in \
30892 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30893 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
30894 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30895 esac; \
30896 srcdiroption="--srcdir=$${topdir}/intl"; \
30897 libsrcdir="$$s/intl"; \
30898 $(SHELL) $${libsrcdir}/configure \
30899 $(HOST_CONFIGARGS) $${srcdiroption} \
30900 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30902 maybe-all-stage1-intl: all-stage1-intl
30903 all-stage1-intl: configure-stage1-intl
30904 @$(MAKE) stage1-start
30905 @r=`${PWD_COMMAND}`; export r; \
30906 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30907 $(HOST_EXPORTS) \
30908 cd $(HOST_SUBDIR)/intl && \
30909 $(MAKE) $(FLAGS_TO_PASS) \
30910 CFLAGS="$(STAGE1_CFLAGS)"
30912 maybe-clean-stage1-intl: clean-stage1-intl
30913 clean-stage1-intl:
30914 @[ -f intl/Makefile ] || [ -f stage1-intl/Makefile ] \
30915 || exit 0 ; \
30916 [ -f intl/Makefile ] || $(MAKE) stage1-start ; \
30917 cd $(HOST_SUBDIR)/intl && \
30918 $(MAKE) $(FLAGS_TO_PASS) \
30919 CFLAGS="$(STAGE1_CFLAGS)" clean
30920 @endif intl-bootstrap
30923 .PHONY: configure-stage1-ld maybe-configure-stage1-ld
30924 .PHONY: all-stage1-ld maybe-all-stage1-ld
30925 .PHONY: clean-stage1-ld maybe-clean-stage1-ld
30927 maybe-configure-stage1-ld:
30928 maybe-all-stage1-ld:
30929 maybe-clean-stage1-ld:
30931 @if ld-bootstrap
30932 maybe-configure-stage1-ld: configure-stage1-ld
30933 configure-stage1-ld:
30934 @$(MAKE) stage1-start
30935 @[ -f ld/Makefile ] && exit 0 || : ; \
30936 r=`${PWD_COMMAND}`; export r; \
30937 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30938 $(HOST_EXPORTS) \
30939 echo Configuring stage 1 in ld ; \
30940 cd $(HOST_SUBDIR)/ld || exit 1; \
30941 case $(srcdir) in \
30942 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30943 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
30944 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30945 esac; \
30946 srcdiroption="--srcdir=$${topdir}/ld"; \
30947 libsrcdir="$$s/ld"; \
30948 $(SHELL) $${libsrcdir}/configure \
30949 $(HOST_CONFIGARGS) $${srcdiroption} \
30950 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
30952 maybe-all-stage1-ld: all-stage1-ld
30953 all-stage1-ld: configure-stage1-ld
30954 @$(MAKE) stage1-start
30955 @r=`${PWD_COMMAND}`; export r; \
30956 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30957 $(HOST_EXPORTS) \
30958 cd $(HOST_SUBDIR)/ld && \
30959 $(MAKE) $(FLAGS_TO_PASS) \
30960 CFLAGS="$(STAGE1_CFLAGS)"
30962 maybe-clean-stage1-ld: clean-stage1-ld
30963 clean-stage1-ld:
30964 @[ -f ld/Makefile ] || [ -f stage1-ld/Makefile ] \
30965 || exit 0 ; \
30966 [ -f ld/Makefile ] || $(MAKE) stage1-start ; \
30967 cd $(HOST_SUBDIR)/ld && \
30968 $(MAKE) $(FLAGS_TO_PASS) \
30969 CFLAGS="$(STAGE1_CFLAGS)" clean
30970 @endif ld-bootstrap
30973 .PHONY: configure-stage1-libcpp maybe-configure-stage1-libcpp
30974 .PHONY: all-stage1-libcpp maybe-all-stage1-libcpp
30975 .PHONY: clean-stage1-libcpp maybe-clean-stage1-libcpp
30977 maybe-configure-stage1-libcpp:
30978 maybe-all-stage1-libcpp:
30979 maybe-clean-stage1-libcpp:
30981 @if libcpp-bootstrap
30982 maybe-configure-stage1-libcpp: configure-stage1-libcpp
30983 configure-stage1-libcpp:
30984 @$(MAKE) stage1-start
30985 @[ -f libcpp/Makefile ] && exit 0 || : ; \
30986 r=`${PWD_COMMAND}`; export r; \
30987 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
30988 $(HOST_EXPORTS) \
30989 echo Configuring stage 1 in libcpp ; \
30990 cd $(HOST_SUBDIR)/libcpp || exit 1; \
30991 case $(srcdir) in \
30992 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
30993 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
30994 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
30995 esac; \
30996 srcdiroption="--srcdir=$${topdir}/libcpp"; \
30997 libsrcdir="$$s/libcpp"; \
30998 $(SHELL) $${libsrcdir}/configure \
30999 $(HOST_CONFIGARGS) $${srcdiroption} \
31000 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31002 maybe-all-stage1-libcpp: all-stage1-libcpp
31003 all-stage1-libcpp: configure-stage1-libcpp
31004 @$(MAKE) stage1-start
31005 @r=`${PWD_COMMAND}`; export r; \
31006 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31007 $(HOST_EXPORTS) \
31008 cd $(HOST_SUBDIR)/libcpp && \
31009 $(MAKE) $(FLAGS_TO_PASS) \
31010 CFLAGS="$(STAGE1_CFLAGS)"
31012 maybe-clean-stage1-libcpp: clean-stage1-libcpp
31013 clean-stage1-libcpp:
31014 @[ -f libcpp/Makefile ] || [ -f stage1-libcpp/Makefile ] \
31015 || exit 0 ; \
31016 [ -f libcpp/Makefile ] || $(MAKE) stage1-start ; \
31017 cd $(HOST_SUBDIR)/libcpp && \
31018 $(MAKE) $(FLAGS_TO_PASS) \
31019 CFLAGS="$(STAGE1_CFLAGS)" clean
31020 @endif libcpp-bootstrap
31023 .PHONY: configure-stage1-libiberty maybe-configure-stage1-libiberty
31024 .PHONY: all-stage1-libiberty maybe-all-stage1-libiberty
31025 .PHONY: clean-stage1-libiberty maybe-clean-stage1-libiberty
31027 maybe-configure-stage1-libiberty:
31028 maybe-all-stage1-libiberty:
31029 maybe-clean-stage1-libiberty:
31031 @if libiberty-bootstrap
31032 maybe-configure-stage1-libiberty: configure-stage1-libiberty
31033 configure-stage1-libiberty:
31034 @$(MAKE) stage1-start
31035 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31036 r=`${PWD_COMMAND}`; export r; \
31037 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31038 $(HOST_EXPORTS) \
31039 echo Configuring stage 1 in libiberty ; \
31040 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31041 case $(srcdir) in \
31042 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31043 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31044 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31045 esac; \
31046 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31047 libsrcdir="$$s/libiberty"; \
31048 $(SHELL) $${libsrcdir}/configure \
31049 $(HOST_CONFIGARGS) $${srcdiroption} \
31050 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31052 maybe-all-stage1-libiberty: all-stage1-libiberty
31053 all-stage1-libiberty: configure-stage1-libiberty
31054 @$(MAKE) stage1-start
31055 @r=`${PWD_COMMAND}`; export r; \
31056 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31057 $(HOST_EXPORTS) \
31058 cd $(HOST_SUBDIR)/libiberty && \
31059 $(MAKE) $(FLAGS_TO_PASS) \
31060 CFLAGS="$(STAGE1_CFLAGS)"
31062 maybe-clean-stage1-libiberty: clean-stage1-libiberty
31063 clean-stage1-libiberty:
31064 @[ -f libiberty/Makefile ] || [ -f stage1-libiberty/Makefile ] \
31065 || exit 0 ; \
31066 [ -f libiberty/Makefile ] || $(MAKE) stage1-start ; \
31067 cd $(HOST_SUBDIR)/libiberty && \
31068 $(MAKE) $(FLAGS_TO_PASS) \
31069 CFLAGS="$(STAGE1_CFLAGS)" clean
31070 @endif libiberty-bootstrap
31073 .PHONY: configure-stage1-zlib maybe-configure-stage1-zlib
31074 .PHONY: all-stage1-zlib maybe-all-stage1-zlib
31075 .PHONY: clean-stage1-zlib maybe-clean-stage1-zlib
31077 maybe-configure-stage1-zlib:
31078 maybe-all-stage1-zlib:
31079 maybe-clean-stage1-zlib:
31081 @if zlib-bootstrap
31082 maybe-configure-stage1-zlib: configure-stage1-zlib
31083 configure-stage1-zlib:
31084 @$(MAKE) stage1-start
31085 @[ -f zlib/Makefile ] && exit 0 || : ; \
31086 r=`${PWD_COMMAND}`; export r; \
31087 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31088 $(HOST_EXPORTS) \
31089 echo Configuring stage 1 in zlib ; \
31090 cd $(HOST_SUBDIR)/zlib || exit 1; \
31091 case $(srcdir) in \
31092 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31093 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31094 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31095 esac; \
31096 srcdiroption="--srcdir=$${topdir}/zlib"; \
31097 libsrcdir="$$s/zlib"; \
31098 $(SHELL) $${libsrcdir}/configure \
31099 $(HOST_CONFIGARGS) $${srcdiroption} \
31100 --disable-intermodule --disable-coverage --enable-languages="$(STAGE1_LANGUAGES)"
31102 maybe-all-stage1-zlib: all-stage1-zlib
31103 all-stage1-zlib: configure-stage1-zlib
31104 @$(MAKE) stage1-start
31105 @r=`${PWD_COMMAND}`; export r; \
31106 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31107 $(HOST_EXPORTS) \
31108 cd $(HOST_SUBDIR)/zlib && \
31109 $(MAKE) $(FLAGS_TO_PASS) \
31110 CFLAGS="$(STAGE1_CFLAGS)"
31112 maybe-clean-stage1-zlib: clean-stage1-zlib
31113 clean-stage1-zlib:
31114 @[ -f zlib/Makefile ] || [ -f stage1-zlib/Makefile ] \
31115 || exit 0 ; \
31116 [ -f zlib/Makefile ] || $(MAKE) stage1-start ; \
31117 cd $(HOST_SUBDIR)/zlib && \
31118 $(MAKE) $(FLAGS_TO_PASS) \
31119 CFLAGS="$(STAGE1_CFLAGS)" clean
31120 @endif zlib-bootstrap
31124 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31125 # only possibility, but now it conflicts with no-bootstrap rules
31126 @if gcc-bootstrap
31131 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31133 .PHONY: distclean-stage1
31134 distclean-stage1::
31135 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31136 rm -rf stage1-*
31139 @endif gcc-bootstrap
31142 .PHONY: stage2-start stage2-end
31144 stage2-start::
31145 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31146 echo stage2 > stage_current ; \
31147 echo stage2 > stage_last; \
31148 $(mkinstalldirs) $(HOST_SUBDIR)
31149 @if bfd
31150 @cd $(HOST_SUBDIR); [ -d stage2-bfd ] || \
31151 mkdir stage2-bfd; \
31152 set stage2-bfd bfd ; \
31153 @CREATE_LINK_TO_DIR@ ; \
31154 set stage1-bfd prev-bfd ; \
31155 @CREATE_LINK_TO_DIR@
31156 @endif bfd
31157 @if opcodes
31158 @cd $(HOST_SUBDIR); [ -d stage2-opcodes ] || \
31159 mkdir stage2-opcodes; \
31160 set stage2-opcodes opcodes ; \
31161 @CREATE_LINK_TO_DIR@ ; \
31162 set stage1-opcodes prev-opcodes ; \
31163 @CREATE_LINK_TO_DIR@
31164 @endif opcodes
31165 @if binutils
31166 @cd $(HOST_SUBDIR); [ -d stage2-binutils ] || \
31167 mkdir stage2-binutils; \
31168 set stage2-binutils binutils ; \
31169 @CREATE_LINK_TO_DIR@ ; \
31170 set stage1-binutils prev-binutils ; \
31171 @CREATE_LINK_TO_DIR@
31172 @endif binutils
31173 @if gas
31174 @cd $(HOST_SUBDIR); [ -d stage2-gas ] || \
31175 mkdir stage2-gas; \
31176 set stage2-gas gas ; \
31177 @CREATE_LINK_TO_DIR@ ; \
31178 set stage1-gas prev-gas ; \
31179 @CREATE_LINK_TO_DIR@
31180 @endif gas
31181 @if gcc
31182 @cd $(HOST_SUBDIR); [ -d stage2-gcc ] || \
31183 mkdir stage2-gcc; \
31184 set stage2-gcc gcc ; \
31185 @CREATE_LINK_TO_DIR@ ; \
31186 set stage1-gcc prev-gcc ; \
31187 @CREATE_LINK_TO_DIR@
31188 @endif gcc
31189 @if intl
31190 @cd $(HOST_SUBDIR); [ -d stage2-intl ] || \
31191 mkdir stage2-intl; \
31192 set stage2-intl intl ; \
31193 @CREATE_LINK_TO_DIR@ ; \
31194 set stage1-intl prev-intl ; \
31195 @CREATE_LINK_TO_DIR@
31196 @endif intl
31197 @if ld
31198 @cd $(HOST_SUBDIR); [ -d stage2-ld ] || \
31199 mkdir stage2-ld; \
31200 set stage2-ld ld ; \
31201 @CREATE_LINK_TO_DIR@ ; \
31202 set stage1-ld prev-ld ; \
31203 @CREATE_LINK_TO_DIR@
31204 @endif ld
31205 @if libcpp
31206 @cd $(HOST_SUBDIR); [ -d stage2-libcpp ] || \
31207 mkdir stage2-libcpp; \
31208 set stage2-libcpp libcpp ; \
31209 @CREATE_LINK_TO_DIR@ ; \
31210 set stage1-libcpp prev-libcpp ; \
31211 @CREATE_LINK_TO_DIR@
31212 @endif libcpp
31213 @if libiberty
31214 @cd $(HOST_SUBDIR); [ -d stage2-libiberty ] || \
31215 mkdir stage2-libiberty; \
31216 set stage2-libiberty libiberty ; \
31217 @CREATE_LINK_TO_DIR@ ; \
31218 set stage1-libiberty prev-libiberty ; \
31219 @CREATE_LINK_TO_DIR@
31220 @endif libiberty
31221 @if zlib
31222 @cd $(HOST_SUBDIR); [ -d stage2-zlib ] || \
31223 mkdir stage2-zlib; \
31224 set stage2-zlib zlib ; \
31225 @CREATE_LINK_TO_DIR@ ; \
31226 set stage1-zlib prev-zlib ; \
31227 @CREATE_LINK_TO_DIR@
31228 @endif zlib
31230 stage2-end::
31231 @rm -f stage_current
31232 @if bfd
31233 @cd $(HOST_SUBDIR); set bfd stage2-bfd ; \
31234 @UNDO_LINK_TO_DIR@ ; \
31235 set prev-bfd stage1-bfd ; \
31236 @UNDO_LINK_TO_DIR@
31237 @endif bfd
31238 @if opcodes
31239 @cd $(HOST_SUBDIR); set opcodes stage2-opcodes ; \
31240 @UNDO_LINK_TO_DIR@ ; \
31241 set prev-opcodes stage1-opcodes ; \
31242 @UNDO_LINK_TO_DIR@
31243 @endif opcodes
31244 @if binutils
31245 @cd $(HOST_SUBDIR); set binutils stage2-binutils ; \
31246 @UNDO_LINK_TO_DIR@ ; \
31247 set prev-binutils stage1-binutils ; \
31248 @UNDO_LINK_TO_DIR@
31249 @endif binutils
31250 @if gas
31251 @cd $(HOST_SUBDIR); set gas stage2-gas ; \
31252 @UNDO_LINK_TO_DIR@ ; \
31253 set prev-gas stage1-gas ; \
31254 @UNDO_LINK_TO_DIR@
31255 @endif gas
31256 @if gcc
31257 @cd $(HOST_SUBDIR); set gcc stage2-gcc ; \
31258 @UNDO_LINK_TO_DIR@ ; \
31259 set prev-gcc stage1-gcc ; \
31260 @UNDO_LINK_TO_DIR@
31261 @endif gcc
31262 @if intl
31263 @cd $(HOST_SUBDIR); set intl stage2-intl ; \
31264 @UNDO_LINK_TO_DIR@ ; \
31265 set prev-intl stage1-intl ; \
31266 @UNDO_LINK_TO_DIR@
31267 @endif intl
31268 @if ld
31269 @cd $(HOST_SUBDIR); set ld stage2-ld ; \
31270 @UNDO_LINK_TO_DIR@ ; \
31271 set prev-ld stage1-ld ; \
31272 @UNDO_LINK_TO_DIR@
31273 @endif ld
31274 @if libcpp
31275 @cd $(HOST_SUBDIR); set libcpp stage2-libcpp ; \
31276 @UNDO_LINK_TO_DIR@ ; \
31277 set prev-libcpp stage1-libcpp ; \
31278 @UNDO_LINK_TO_DIR@
31279 @endif libcpp
31280 @if libiberty
31281 @cd $(HOST_SUBDIR); set libiberty stage2-libiberty ; \
31282 @UNDO_LINK_TO_DIR@ ; \
31283 set prev-libiberty stage1-libiberty ; \
31284 @UNDO_LINK_TO_DIR@
31285 @endif libiberty
31286 @if zlib
31287 @cd $(HOST_SUBDIR); set zlib stage2-zlib ; \
31288 @UNDO_LINK_TO_DIR@ ; \
31289 set prev-zlib stage1-zlib ; \
31290 @UNDO_LINK_TO_DIR@
31291 @endif zlib
31293 # Bubble a bugfix through all the stages up to stage 2. They
31294 # are remade, but not reconfigured. The next stage (if any) will not
31295 # be reconfigured as well.
31296 .PHONY: stage2-bubble
31297 stage2-bubble:: stage1-bubble
31298 @if test -f stage2-lean || test -f stage1-lean ; then \
31299 echo Skipping rebuild of stage2 ; \
31300 else \
31301 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage2; \
31304 .PHONY: all-stage2 clean-stage2
31305 all-stage2: \
31306 maybe-all-stage2-bfd \
31307 maybe-all-stage2-opcodes \
31308 maybe-all-stage2-binutils \
31309 maybe-all-stage2-gas \
31310 maybe-all-stage2-gcc \
31311 maybe-all-stage2-intl \
31312 maybe-all-stage2-ld \
31313 maybe-all-stage2-libcpp \
31314 maybe-all-stage2-libiberty \
31315 maybe-all-stage2-zlib
31317 do-clean: clean-stage2
31318 clean-stage2: \
31319 maybe-clean-stage2-bfd \
31320 maybe-clean-stage2-opcodes \
31321 maybe-clean-stage2-binutils \
31322 maybe-clean-stage2-gas \
31323 maybe-clean-stage2-gcc \
31324 maybe-clean-stage2-intl \
31325 maybe-clean-stage2-ld \
31326 maybe-clean-stage2-libcpp \
31327 maybe-clean-stage2-libiberty \
31328 maybe-clean-stage2-zlib
31331 .PHONY: configure-stage2-bfd maybe-configure-stage2-bfd
31332 .PHONY: all-stage2-bfd maybe-all-stage2-bfd
31333 .PHONY: clean-stage2-bfd maybe-clean-stage2-bfd
31335 maybe-configure-stage2-bfd:
31336 maybe-all-stage2-bfd:
31337 maybe-clean-stage2-bfd:
31339 @if bfd-bootstrap
31340 maybe-configure-stage2-bfd: configure-stage2-bfd
31341 configure-stage2-bfd:
31342 @$(MAKE) stage2-start
31343 @[ -f bfd/Makefile ] && exit 0 || : ; \
31344 r=`${PWD_COMMAND}`; export r; \
31345 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31346 $(STAGE_HOST_EXPORTS) \
31347 echo Configuring stage 2 in bfd ; \
31348 cd $(HOST_SUBDIR)/bfd || exit 1; \
31349 case $(srcdir) in \
31350 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31351 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
31352 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31353 esac; \
31354 srcdiroption="--srcdir=$${topdir}/bfd"; \
31355 libsrcdir="$$s/bfd"; \
31356 $(SHELL) $${libsrcdir}/configure \
31357 $(HOST_CONFIGARGS) $${srcdiroption} \
31358 @stage2_werror_flag@
31360 maybe-all-stage2-bfd: all-stage2-bfd
31361 all-stage2-bfd: configure-stage2-bfd
31362 @$(MAKE) stage2-start
31363 @r=`${PWD_COMMAND}`; export r; \
31364 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31365 $(STAGE_HOST_EXPORTS) \
31366 cd $(HOST_SUBDIR)/bfd && \
31367 $(MAKE) $(FLAGS_TO_PASS) \
31368 $(POSTSTAGE1_FLAGS_TO_PASS) \
31371 maybe-clean-stage2-bfd: clean-stage2-bfd
31372 clean-stage2-bfd:
31373 @[ -f bfd/Makefile ] || [ -f stage2-bfd/Makefile ] \
31374 || exit 0 ; \
31375 [ -f bfd/Makefile ] || $(MAKE) stage2-start ; \
31376 cd $(HOST_SUBDIR)/bfd && \
31377 $(MAKE) $(FLAGS_TO_PASS) \
31378 $(POSTSTAGE1_FLAGS_TO_PASS) \
31379 clean
31380 @endif bfd-bootstrap
31383 .PHONY: configure-stage2-opcodes maybe-configure-stage2-opcodes
31384 .PHONY: all-stage2-opcodes maybe-all-stage2-opcodes
31385 .PHONY: clean-stage2-opcodes maybe-clean-stage2-opcodes
31387 maybe-configure-stage2-opcodes:
31388 maybe-all-stage2-opcodes:
31389 maybe-clean-stage2-opcodes:
31391 @if opcodes-bootstrap
31392 maybe-configure-stage2-opcodes: configure-stage2-opcodes
31393 configure-stage2-opcodes:
31394 @$(MAKE) stage2-start
31395 @[ -f opcodes/Makefile ] && exit 0 || : ; \
31396 r=`${PWD_COMMAND}`; export r; \
31397 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31398 $(STAGE_HOST_EXPORTS) \
31399 echo Configuring stage 2 in opcodes ; \
31400 cd $(HOST_SUBDIR)/opcodes || exit 1; \
31401 case $(srcdir) in \
31402 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31403 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
31404 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31405 esac; \
31406 srcdiroption="--srcdir=$${topdir}/opcodes"; \
31407 libsrcdir="$$s/opcodes"; \
31408 $(SHELL) $${libsrcdir}/configure \
31409 $(HOST_CONFIGARGS) $${srcdiroption} \
31410 @stage2_werror_flag@
31412 maybe-all-stage2-opcodes: all-stage2-opcodes
31413 all-stage2-opcodes: configure-stage2-opcodes
31414 @$(MAKE) stage2-start
31415 @r=`${PWD_COMMAND}`; export r; \
31416 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31417 $(STAGE_HOST_EXPORTS) \
31418 cd $(HOST_SUBDIR)/opcodes && \
31419 $(MAKE) $(FLAGS_TO_PASS) \
31420 $(POSTSTAGE1_FLAGS_TO_PASS) \
31423 maybe-clean-stage2-opcodes: clean-stage2-opcodes
31424 clean-stage2-opcodes:
31425 @[ -f opcodes/Makefile ] || [ -f stage2-opcodes/Makefile ] \
31426 || exit 0 ; \
31427 [ -f opcodes/Makefile ] || $(MAKE) stage2-start ; \
31428 cd $(HOST_SUBDIR)/opcodes && \
31429 $(MAKE) $(FLAGS_TO_PASS) \
31430 $(POSTSTAGE1_FLAGS_TO_PASS) \
31431 clean
31432 @endif opcodes-bootstrap
31435 .PHONY: configure-stage2-binutils maybe-configure-stage2-binutils
31436 .PHONY: all-stage2-binutils maybe-all-stage2-binutils
31437 .PHONY: clean-stage2-binutils maybe-clean-stage2-binutils
31439 maybe-configure-stage2-binutils:
31440 maybe-all-stage2-binutils:
31441 maybe-clean-stage2-binutils:
31443 @if binutils-bootstrap
31444 maybe-configure-stage2-binutils: configure-stage2-binutils
31445 configure-stage2-binutils:
31446 @$(MAKE) stage2-start
31447 @[ -f binutils/Makefile ] && exit 0 || : ; \
31448 r=`${PWD_COMMAND}`; export r; \
31449 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31450 $(STAGE_HOST_EXPORTS) \
31451 echo Configuring stage 2 in binutils ; \
31452 cd $(HOST_SUBDIR)/binutils || exit 1; \
31453 case $(srcdir) in \
31454 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31455 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
31456 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31457 esac; \
31458 srcdiroption="--srcdir=$${topdir}/binutils"; \
31459 libsrcdir="$$s/binutils"; \
31460 $(SHELL) $${libsrcdir}/configure \
31461 $(HOST_CONFIGARGS) $${srcdiroption} \
31462 @stage2_werror_flag@
31464 maybe-all-stage2-binutils: all-stage2-binutils
31465 all-stage2-binutils: configure-stage2-binutils
31466 @$(MAKE) stage2-start
31467 @r=`${PWD_COMMAND}`; export r; \
31468 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31469 $(STAGE_HOST_EXPORTS) \
31470 cd $(HOST_SUBDIR)/binutils && \
31471 $(MAKE) $(FLAGS_TO_PASS) \
31472 $(POSTSTAGE1_FLAGS_TO_PASS) \
31475 maybe-clean-stage2-binutils: clean-stage2-binutils
31476 clean-stage2-binutils:
31477 @[ -f binutils/Makefile ] || [ -f stage2-binutils/Makefile ] \
31478 || exit 0 ; \
31479 [ -f binutils/Makefile ] || $(MAKE) stage2-start ; \
31480 cd $(HOST_SUBDIR)/binutils && \
31481 $(MAKE) $(FLAGS_TO_PASS) \
31482 $(POSTSTAGE1_FLAGS_TO_PASS) \
31483 clean
31484 @endif binutils-bootstrap
31487 .PHONY: configure-stage2-gas maybe-configure-stage2-gas
31488 .PHONY: all-stage2-gas maybe-all-stage2-gas
31489 .PHONY: clean-stage2-gas maybe-clean-stage2-gas
31491 maybe-configure-stage2-gas:
31492 maybe-all-stage2-gas:
31493 maybe-clean-stage2-gas:
31495 @if gas-bootstrap
31496 maybe-configure-stage2-gas: configure-stage2-gas
31497 configure-stage2-gas:
31498 @$(MAKE) stage2-start
31499 @[ -f gas/Makefile ] && exit 0 || : ; \
31500 r=`${PWD_COMMAND}`; export r; \
31501 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31502 $(STAGE_HOST_EXPORTS) \
31503 echo Configuring stage 2 in gas ; \
31504 cd $(HOST_SUBDIR)/gas || exit 1; \
31505 case $(srcdir) in \
31506 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31507 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
31508 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31509 esac; \
31510 srcdiroption="--srcdir=$${topdir}/gas"; \
31511 libsrcdir="$$s/gas"; \
31512 $(SHELL) $${libsrcdir}/configure \
31513 $(HOST_CONFIGARGS) $${srcdiroption} \
31514 @stage2_werror_flag@
31516 maybe-all-stage2-gas: all-stage2-gas
31517 all-stage2-gas: configure-stage2-gas
31518 @$(MAKE) stage2-start
31519 @r=`${PWD_COMMAND}`; export r; \
31520 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31521 $(STAGE_HOST_EXPORTS) \
31522 cd $(HOST_SUBDIR)/gas && \
31523 $(MAKE) $(FLAGS_TO_PASS) \
31524 $(POSTSTAGE1_FLAGS_TO_PASS) \
31527 maybe-clean-stage2-gas: clean-stage2-gas
31528 clean-stage2-gas:
31529 @[ -f gas/Makefile ] || [ -f stage2-gas/Makefile ] \
31530 || exit 0 ; \
31531 [ -f gas/Makefile ] || $(MAKE) stage2-start ; \
31532 cd $(HOST_SUBDIR)/gas && \
31533 $(MAKE) $(FLAGS_TO_PASS) \
31534 $(POSTSTAGE1_FLAGS_TO_PASS) \
31535 clean
31536 @endif gas-bootstrap
31539 .PHONY: configure-stage2-gcc maybe-configure-stage2-gcc
31540 .PHONY: all-stage2-gcc maybe-all-stage2-gcc
31541 .PHONY: clean-stage2-gcc maybe-clean-stage2-gcc
31543 maybe-configure-stage2-gcc:
31544 maybe-all-stage2-gcc:
31545 maybe-clean-stage2-gcc:
31547 @if gcc-bootstrap
31548 maybe-configure-stage2-gcc: configure-stage2-gcc
31549 configure-stage2-gcc:
31550 @$(MAKE) stage2-start
31551 @[ -f gcc/Makefile ] && exit 0 || : ; \
31552 r=`${PWD_COMMAND}`; export r; \
31553 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31554 $(STAGE_HOST_EXPORTS) \
31555 echo Configuring stage 2 in gcc ; \
31556 cd $(HOST_SUBDIR)/gcc || exit 1; \
31557 case $(srcdir) in \
31558 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31559 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
31560 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31561 esac; \
31562 srcdiroption="--srcdir=$${topdir}/gcc"; \
31563 libsrcdir="$$s/gcc"; \
31564 $(SHELL) $${libsrcdir}/configure \
31565 $(HOST_CONFIGARGS) $${srcdiroption} \
31566 @stage2_werror_flag@
31568 maybe-all-stage2-gcc: all-stage2-gcc
31569 all-stage2-gcc: configure-stage2-gcc
31570 @$(MAKE) stage2-start
31571 @r=`${PWD_COMMAND}`; export r; \
31572 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31573 $(STAGE_HOST_EXPORTS) \
31574 cd $(HOST_SUBDIR)/gcc && \
31575 $(MAKE) $(FLAGS_TO_PASS) \
31576 $(POSTSTAGE1_FLAGS_TO_PASS) \
31577 $(EXTRA_GCC_FLAGS)
31579 maybe-clean-stage2-gcc: clean-stage2-gcc
31580 clean-stage2-gcc:
31581 @[ -f gcc/Makefile ] || [ -f stage2-gcc/Makefile ] \
31582 || exit 0 ; \
31583 [ -f gcc/Makefile ] || $(MAKE) stage2-start ; \
31584 cd $(HOST_SUBDIR)/gcc && \
31585 $(MAKE) $(FLAGS_TO_PASS) \
31586 $(POSTSTAGE1_FLAGS_TO_PASS) \
31587 $(EXTRA_GCC_FLAGS) clean
31588 @endif gcc-bootstrap
31591 .PHONY: configure-stage2-intl maybe-configure-stage2-intl
31592 .PHONY: all-stage2-intl maybe-all-stage2-intl
31593 .PHONY: clean-stage2-intl maybe-clean-stage2-intl
31595 maybe-configure-stage2-intl:
31596 maybe-all-stage2-intl:
31597 maybe-clean-stage2-intl:
31599 @if intl-bootstrap
31600 maybe-configure-stage2-intl: configure-stage2-intl
31601 configure-stage2-intl:
31602 @$(MAKE) stage2-start
31603 @[ -f intl/Makefile ] && exit 0 || : ; \
31604 r=`${PWD_COMMAND}`; export r; \
31605 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31606 $(STAGE_HOST_EXPORTS) \
31607 echo Configuring stage 2 in intl ; \
31608 cd $(HOST_SUBDIR)/intl || exit 1; \
31609 case $(srcdir) in \
31610 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31611 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
31612 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31613 esac; \
31614 srcdiroption="--srcdir=$${topdir}/intl"; \
31615 libsrcdir="$$s/intl"; \
31616 $(SHELL) $${libsrcdir}/configure \
31617 $(HOST_CONFIGARGS) $${srcdiroption} \
31618 @stage2_werror_flag@
31620 maybe-all-stage2-intl: all-stage2-intl
31621 all-stage2-intl: configure-stage2-intl
31622 @$(MAKE) stage2-start
31623 @r=`${PWD_COMMAND}`; export r; \
31624 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31625 $(STAGE_HOST_EXPORTS) \
31626 cd $(HOST_SUBDIR)/intl && \
31627 $(MAKE) $(FLAGS_TO_PASS) \
31628 $(POSTSTAGE1_FLAGS_TO_PASS) \
31631 maybe-clean-stage2-intl: clean-stage2-intl
31632 clean-stage2-intl:
31633 @[ -f intl/Makefile ] || [ -f stage2-intl/Makefile ] \
31634 || exit 0 ; \
31635 [ -f intl/Makefile ] || $(MAKE) stage2-start ; \
31636 cd $(HOST_SUBDIR)/intl && \
31637 $(MAKE) $(FLAGS_TO_PASS) \
31638 $(POSTSTAGE1_FLAGS_TO_PASS) \
31639 clean
31640 @endif intl-bootstrap
31643 .PHONY: configure-stage2-ld maybe-configure-stage2-ld
31644 .PHONY: all-stage2-ld maybe-all-stage2-ld
31645 .PHONY: clean-stage2-ld maybe-clean-stage2-ld
31647 maybe-configure-stage2-ld:
31648 maybe-all-stage2-ld:
31649 maybe-clean-stage2-ld:
31651 @if ld-bootstrap
31652 maybe-configure-stage2-ld: configure-stage2-ld
31653 configure-stage2-ld:
31654 @$(MAKE) stage2-start
31655 @[ -f ld/Makefile ] && exit 0 || : ; \
31656 r=`${PWD_COMMAND}`; export r; \
31657 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31658 $(STAGE_HOST_EXPORTS) \
31659 echo Configuring stage 2 in ld ; \
31660 cd $(HOST_SUBDIR)/ld || exit 1; \
31661 case $(srcdir) in \
31662 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31663 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
31664 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31665 esac; \
31666 srcdiroption="--srcdir=$${topdir}/ld"; \
31667 libsrcdir="$$s/ld"; \
31668 $(SHELL) $${libsrcdir}/configure \
31669 $(HOST_CONFIGARGS) $${srcdiroption} \
31670 @stage2_werror_flag@
31672 maybe-all-stage2-ld: all-stage2-ld
31673 all-stage2-ld: configure-stage2-ld
31674 @$(MAKE) stage2-start
31675 @r=`${PWD_COMMAND}`; export r; \
31676 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31677 $(STAGE_HOST_EXPORTS) \
31678 cd $(HOST_SUBDIR)/ld && \
31679 $(MAKE) $(FLAGS_TO_PASS) \
31680 $(POSTSTAGE1_FLAGS_TO_PASS) \
31683 maybe-clean-stage2-ld: clean-stage2-ld
31684 clean-stage2-ld:
31685 @[ -f ld/Makefile ] || [ -f stage2-ld/Makefile ] \
31686 || exit 0 ; \
31687 [ -f ld/Makefile ] || $(MAKE) stage2-start ; \
31688 cd $(HOST_SUBDIR)/ld && \
31689 $(MAKE) $(FLAGS_TO_PASS) \
31690 $(POSTSTAGE1_FLAGS_TO_PASS) \
31691 clean
31692 @endif ld-bootstrap
31695 .PHONY: configure-stage2-libcpp maybe-configure-stage2-libcpp
31696 .PHONY: all-stage2-libcpp maybe-all-stage2-libcpp
31697 .PHONY: clean-stage2-libcpp maybe-clean-stage2-libcpp
31699 maybe-configure-stage2-libcpp:
31700 maybe-all-stage2-libcpp:
31701 maybe-clean-stage2-libcpp:
31703 @if libcpp-bootstrap
31704 maybe-configure-stage2-libcpp: configure-stage2-libcpp
31705 configure-stage2-libcpp:
31706 @$(MAKE) stage2-start
31707 @[ -f libcpp/Makefile ] && exit 0 || : ; \
31708 r=`${PWD_COMMAND}`; export r; \
31709 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31710 $(STAGE_HOST_EXPORTS) \
31711 echo Configuring stage 2 in libcpp ; \
31712 cd $(HOST_SUBDIR)/libcpp || exit 1; \
31713 case $(srcdir) in \
31714 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31715 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
31716 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31717 esac; \
31718 srcdiroption="--srcdir=$${topdir}/libcpp"; \
31719 libsrcdir="$$s/libcpp"; \
31720 $(SHELL) $${libsrcdir}/configure \
31721 $(HOST_CONFIGARGS) $${srcdiroption} \
31722 @stage2_werror_flag@
31724 maybe-all-stage2-libcpp: all-stage2-libcpp
31725 all-stage2-libcpp: configure-stage2-libcpp
31726 @$(MAKE) stage2-start
31727 @r=`${PWD_COMMAND}`; export r; \
31728 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31729 $(STAGE_HOST_EXPORTS) \
31730 cd $(HOST_SUBDIR)/libcpp && \
31731 $(MAKE) $(FLAGS_TO_PASS) \
31732 $(POSTSTAGE1_FLAGS_TO_PASS) \
31735 maybe-clean-stage2-libcpp: clean-stage2-libcpp
31736 clean-stage2-libcpp:
31737 @[ -f libcpp/Makefile ] || [ -f stage2-libcpp/Makefile ] \
31738 || exit 0 ; \
31739 [ -f libcpp/Makefile ] || $(MAKE) stage2-start ; \
31740 cd $(HOST_SUBDIR)/libcpp && \
31741 $(MAKE) $(FLAGS_TO_PASS) \
31742 $(POSTSTAGE1_FLAGS_TO_PASS) \
31743 clean
31744 @endif libcpp-bootstrap
31747 .PHONY: configure-stage2-libiberty maybe-configure-stage2-libiberty
31748 .PHONY: all-stage2-libiberty maybe-all-stage2-libiberty
31749 .PHONY: clean-stage2-libiberty maybe-clean-stage2-libiberty
31751 maybe-configure-stage2-libiberty:
31752 maybe-all-stage2-libiberty:
31753 maybe-clean-stage2-libiberty:
31755 @if libiberty-bootstrap
31756 maybe-configure-stage2-libiberty: configure-stage2-libiberty
31757 configure-stage2-libiberty:
31758 @$(MAKE) stage2-start
31759 @[ -f libiberty/Makefile ] && exit 0 || : ; \
31760 r=`${PWD_COMMAND}`; export r; \
31761 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31762 $(STAGE_HOST_EXPORTS) \
31763 echo Configuring stage 2 in libiberty ; \
31764 cd $(HOST_SUBDIR)/libiberty || exit 1; \
31765 case $(srcdir) in \
31766 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31767 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
31768 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31769 esac; \
31770 srcdiroption="--srcdir=$${topdir}/libiberty"; \
31771 libsrcdir="$$s/libiberty"; \
31772 $(SHELL) $${libsrcdir}/configure \
31773 $(HOST_CONFIGARGS) $${srcdiroption} \
31774 @stage2_werror_flag@
31776 maybe-all-stage2-libiberty: all-stage2-libiberty
31777 all-stage2-libiberty: configure-stage2-libiberty
31778 @$(MAKE) stage2-start
31779 @r=`${PWD_COMMAND}`; export r; \
31780 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31781 $(STAGE_HOST_EXPORTS) \
31782 cd $(HOST_SUBDIR)/libiberty && \
31783 $(MAKE) $(FLAGS_TO_PASS) \
31784 $(POSTSTAGE1_FLAGS_TO_PASS) \
31787 maybe-clean-stage2-libiberty: clean-stage2-libiberty
31788 clean-stage2-libiberty:
31789 @[ -f libiberty/Makefile ] || [ -f stage2-libiberty/Makefile ] \
31790 || exit 0 ; \
31791 [ -f libiberty/Makefile ] || $(MAKE) stage2-start ; \
31792 cd $(HOST_SUBDIR)/libiberty && \
31793 $(MAKE) $(FLAGS_TO_PASS) \
31794 $(POSTSTAGE1_FLAGS_TO_PASS) \
31795 clean
31796 @endif libiberty-bootstrap
31799 .PHONY: configure-stage2-zlib maybe-configure-stage2-zlib
31800 .PHONY: all-stage2-zlib maybe-all-stage2-zlib
31801 .PHONY: clean-stage2-zlib maybe-clean-stage2-zlib
31803 maybe-configure-stage2-zlib:
31804 maybe-all-stage2-zlib:
31805 maybe-clean-stage2-zlib:
31807 @if zlib-bootstrap
31808 maybe-configure-stage2-zlib: configure-stage2-zlib
31809 configure-stage2-zlib:
31810 @$(MAKE) stage2-start
31811 @[ -f zlib/Makefile ] && exit 0 || : ; \
31812 r=`${PWD_COMMAND}`; export r; \
31813 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31814 $(STAGE_HOST_EXPORTS) \
31815 echo Configuring stage 2 in zlib ; \
31816 cd $(HOST_SUBDIR)/zlib || exit 1; \
31817 case $(srcdir) in \
31818 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
31819 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
31820 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
31821 esac; \
31822 srcdiroption="--srcdir=$${topdir}/zlib"; \
31823 libsrcdir="$$s/zlib"; \
31824 $(SHELL) $${libsrcdir}/configure \
31825 $(HOST_CONFIGARGS) $${srcdiroption} \
31826 @stage2_werror_flag@
31828 maybe-all-stage2-zlib: all-stage2-zlib
31829 all-stage2-zlib: configure-stage2-zlib
31830 @$(MAKE) stage2-start
31831 @r=`${PWD_COMMAND}`; export r; \
31832 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
31833 $(STAGE_HOST_EXPORTS) \
31834 cd $(HOST_SUBDIR)/zlib && \
31835 $(MAKE) $(FLAGS_TO_PASS) \
31836 $(POSTSTAGE1_FLAGS_TO_PASS) \
31839 maybe-clean-stage2-zlib: clean-stage2-zlib
31840 clean-stage2-zlib:
31841 @[ -f zlib/Makefile ] || [ -f stage2-zlib/Makefile ] \
31842 || exit 0 ; \
31843 [ -f zlib/Makefile ] || $(MAKE) stage2-start ; \
31844 cd $(HOST_SUBDIR)/zlib && \
31845 $(MAKE) $(FLAGS_TO_PASS) \
31846 $(POSTSTAGE1_FLAGS_TO_PASS) \
31847 clean
31848 @endif zlib-bootstrap
31852 # FIXME: Will not need to be conditional when toplevel bootstrap is the
31853 # only possibility, but now it conflicts with no-bootstrap rules
31854 @if gcc-bootstrap
31858 .PHONY: bootstrap2
31859 bootstrap2: stage2-bubble all
31862 # Rules to wipe a stage and all the following ones, also used for cleanstrap
31863 distclean-stage1:: distclean-stage2
31864 .PHONY: distclean-stage2
31865 distclean-stage2::
31866 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
31867 rm -rf stage2-*
31870 @endif gcc-bootstrap
31873 .PHONY: stage3-start stage3-end
31875 stage3-start::
31876 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
31877 echo stage3 > stage_current ; \
31878 echo stage3 > stage_last; \
31879 $(mkinstalldirs) $(HOST_SUBDIR)
31880 @if bfd
31881 @cd $(HOST_SUBDIR); [ -d stage3-bfd ] || \
31882 mkdir stage3-bfd; \
31883 set stage3-bfd bfd ; \
31884 @CREATE_LINK_TO_DIR@ ; \
31885 set stage2-bfd prev-bfd ; \
31886 @CREATE_LINK_TO_DIR@
31887 @endif bfd
31888 @if opcodes
31889 @cd $(HOST_SUBDIR); [ -d stage3-opcodes ] || \
31890 mkdir stage3-opcodes; \
31891 set stage3-opcodes opcodes ; \
31892 @CREATE_LINK_TO_DIR@ ; \
31893 set stage2-opcodes prev-opcodes ; \
31894 @CREATE_LINK_TO_DIR@
31895 @endif opcodes
31896 @if binutils
31897 @cd $(HOST_SUBDIR); [ -d stage3-binutils ] || \
31898 mkdir stage3-binutils; \
31899 set stage3-binutils binutils ; \
31900 @CREATE_LINK_TO_DIR@ ; \
31901 set stage2-binutils prev-binutils ; \
31902 @CREATE_LINK_TO_DIR@
31903 @endif binutils
31904 @if gas
31905 @cd $(HOST_SUBDIR); [ -d stage3-gas ] || \
31906 mkdir stage3-gas; \
31907 set stage3-gas gas ; \
31908 @CREATE_LINK_TO_DIR@ ; \
31909 set stage2-gas prev-gas ; \
31910 @CREATE_LINK_TO_DIR@
31911 @endif gas
31912 @if gcc
31913 @cd $(HOST_SUBDIR); [ -d stage3-gcc ] || \
31914 mkdir stage3-gcc; \
31915 set stage3-gcc gcc ; \
31916 @CREATE_LINK_TO_DIR@ ; \
31917 set stage2-gcc prev-gcc ; \
31918 @CREATE_LINK_TO_DIR@
31919 @endif gcc
31920 @if intl
31921 @cd $(HOST_SUBDIR); [ -d stage3-intl ] || \
31922 mkdir stage3-intl; \
31923 set stage3-intl intl ; \
31924 @CREATE_LINK_TO_DIR@ ; \
31925 set stage2-intl prev-intl ; \
31926 @CREATE_LINK_TO_DIR@
31927 @endif intl
31928 @if ld
31929 @cd $(HOST_SUBDIR); [ -d stage3-ld ] || \
31930 mkdir stage3-ld; \
31931 set stage3-ld ld ; \
31932 @CREATE_LINK_TO_DIR@ ; \
31933 set stage2-ld prev-ld ; \
31934 @CREATE_LINK_TO_DIR@
31935 @endif ld
31936 @if libcpp
31937 @cd $(HOST_SUBDIR); [ -d stage3-libcpp ] || \
31938 mkdir stage3-libcpp; \
31939 set stage3-libcpp libcpp ; \
31940 @CREATE_LINK_TO_DIR@ ; \
31941 set stage2-libcpp prev-libcpp ; \
31942 @CREATE_LINK_TO_DIR@
31943 @endif libcpp
31944 @if libiberty
31945 @cd $(HOST_SUBDIR); [ -d stage3-libiberty ] || \
31946 mkdir stage3-libiberty; \
31947 set stage3-libiberty libiberty ; \
31948 @CREATE_LINK_TO_DIR@ ; \
31949 set stage2-libiberty prev-libiberty ; \
31950 @CREATE_LINK_TO_DIR@
31951 @endif libiberty
31952 @if zlib
31953 @cd $(HOST_SUBDIR); [ -d stage3-zlib ] || \
31954 mkdir stage3-zlib; \
31955 set stage3-zlib zlib ; \
31956 @CREATE_LINK_TO_DIR@ ; \
31957 set stage2-zlib prev-zlib ; \
31958 @CREATE_LINK_TO_DIR@
31959 @endif zlib
31961 stage3-end::
31962 @rm -f stage_current
31963 @if bfd
31964 @cd $(HOST_SUBDIR); set bfd stage3-bfd ; \
31965 @UNDO_LINK_TO_DIR@ ; \
31966 set prev-bfd stage2-bfd ; \
31967 @UNDO_LINK_TO_DIR@
31968 @endif bfd
31969 @if opcodes
31970 @cd $(HOST_SUBDIR); set opcodes stage3-opcodes ; \
31971 @UNDO_LINK_TO_DIR@ ; \
31972 set prev-opcodes stage2-opcodes ; \
31973 @UNDO_LINK_TO_DIR@
31974 @endif opcodes
31975 @if binutils
31976 @cd $(HOST_SUBDIR); set binutils stage3-binutils ; \
31977 @UNDO_LINK_TO_DIR@ ; \
31978 set prev-binutils stage2-binutils ; \
31979 @UNDO_LINK_TO_DIR@
31980 @endif binutils
31981 @if gas
31982 @cd $(HOST_SUBDIR); set gas stage3-gas ; \
31983 @UNDO_LINK_TO_DIR@ ; \
31984 set prev-gas stage2-gas ; \
31985 @UNDO_LINK_TO_DIR@
31986 @endif gas
31987 @if gcc
31988 @cd $(HOST_SUBDIR); set gcc stage3-gcc ; \
31989 @UNDO_LINK_TO_DIR@ ; \
31990 set prev-gcc stage2-gcc ; \
31991 @UNDO_LINK_TO_DIR@
31992 @endif gcc
31993 @if intl
31994 @cd $(HOST_SUBDIR); set intl stage3-intl ; \
31995 @UNDO_LINK_TO_DIR@ ; \
31996 set prev-intl stage2-intl ; \
31997 @UNDO_LINK_TO_DIR@
31998 @endif intl
31999 @if ld
32000 @cd $(HOST_SUBDIR); set ld stage3-ld ; \
32001 @UNDO_LINK_TO_DIR@ ; \
32002 set prev-ld stage2-ld ; \
32003 @UNDO_LINK_TO_DIR@
32004 @endif ld
32005 @if libcpp
32006 @cd $(HOST_SUBDIR); set libcpp stage3-libcpp ; \
32007 @UNDO_LINK_TO_DIR@ ; \
32008 set prev-libcpp stage2-libcpp ; \
32009 @UNDO_LINK_TO_DIR@
32010 @endif libcpp
32011 @if libiberty
32012 @cd $(HOST_SUBDIR); set libiberty stage3-libiberty ; \
32013 @UNDO_LINK_TO_DIR@ ; \
32014 set prev-libiberty stage2-libiberty ; \
32015 @UNDO_LINK_TO_DIR@
32016 @endif libiberty
32017 @if zlib
32018 @cd $(HOST_SUBDIR); set zlib stage3-zlib ; \
32019 @UNDO_LINK_TO_DIR@ ; \
32020 set prev-zlib stage2-zlib ; \
32021 @UNDO_LINK_TO_DIR@
32022 @endif zlib
32024 # Bubble a bugfix through all the stages up to stage 3. They
32025 # are remade, but not reconfigured. The next stage (if any) will not
32026 # be reconfigured as well.
32027 .PHONY: stage3-bubble
32028 stage3-bubble:: stage2-bubble
32029 @bootstrap_lean@-rm -rf stage1-* ; $(STAMP) stage1-lean
32030 @if test -f stage3-lean || test -f stage2-lean ; then \
32031 echo Skipping rebuild of stage3 ; \
32032 else \
32033 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage3; \
32036 .PHONY: all-stage3 clean-stage3
32037 all-stage3: \
32038 maybe-all-stage3-bfd \
32039 maybe-all-stage3-opcodes \
32040 maybe-all-stage3-binutils \
32041 maybe-all-stage3-gas \
32042 maybe-all-stage3-gcc \
32043 maybe-all-stage3-intl \
32044 maybe-all-stage3-ld \
32045 maybe-all-stage3-libcpp \
32046 maybe-all-stage3-libiberty \
32047 maybe-all-stage3-zlib
32049 do-clean: clean-stage3
32050 clean-stage3: \
32051 maybe-clean-stage3-bfd \
32052 maybe-clean-stage3-opcodes \
32053 maybe-clean-stage3-binutils \
32054 maybe-clean-stage3-gas \
32055 maybe-clean-stage3-gcc \
32056 maybe-clean-stage3-intl \
32057 maybe-clean-stage3-ld \
32058 maybe-clean-stage3-libcpp \
32059 maybe-clean-stage3-libiberty \
32060 maybe-clean-stage3-zlib
32063 .PHONY: configure-stage3-bfd maybe-configure-stage3-bfd
32064 .PHONY: all-stage3-bfd maybe-all-stage3-bfd
32065 .PHONY: clean-stage3-bfd maybe-clean-stage3-bfd
32067 maybe-configure-stage3-bfd:
32068 maybe-all-stage3-bfd:
32069 maybe-clean-stage3-bfd:
32071 @if bfd-bootstrap
32072 maybe-configure-stage3-bfd: configure-stage3-bfd
32073 configure-stage3-bfd:
32074 @$(MAKE) stage3-start
32075 @[ -f bfd/Makefile ] && exit 0 || : ; \
32076 r=`${PWD_COMMAND}`; export r; \
32077 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32078 $(STAGE_HOST_EXPORTS) \
32079 echo Configuring stage 3 in bfd ; \
32080 cd $(HOST_SUBDIR)/bfd || exit 1; \
32081 case $(srcdir) in \
32082 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32083 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32084 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32085 esac; \
32086 srcdiroption="--srcdir=$${topdir}/bfd"; \
32087 libsrcdir="$$s/bfd"; \
32088 $(SHELL) $${libsrcdir}/configure \
32089 $(HOST_CONFIGARGS) $${srcdiroption} \
32090 @stage2_werror_flag@
32092 maybe-all-stage3-bfd: all-stage3-bfd
32093 all-stage3-bfd: configure-stage3-bfd
32094 @$(MAKE) stage3-start
32095 @r=`${PWD_COMMAND}`; export r; \
32096 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32097 $(STAGE_HOST_EXPORTS) \
32098 cd $(HOST_SUBDIR)/bfd && \
32099 $(MAKE) $(FLAGS_TO_PASS) \
32100 $(POSTSTAGE1_FLAGS_TO_PASS) \
32103 maybe-clean-stage3-bfd: clean-stage3-bfd
32104 clean-stage3-bfd:
32105 @[ -f bfd/Makefile ] || [ -f stage3-bfd/Makefile ] \
32106 || exit 0 ; \
32107 [ -f bfd/Makefile ] || $(MAKE) stage3-start ; \
32108 cd $(HOST_SUBDIR)/bfd && \
32109 $(MAKE) $(FLAGS_TO_PASS) \
32110 $(POSTSTAGE1_FLAGS_TO_PASS) \
32111 clean
32112 @endif bfd-bootstrap
32115 .PHONY: configure-stage3-opcodes maybe-configure-stage3-opcodes
32116 .PHONY: all-stage3-opcodes maybe-all-stage3-opcodes
32117 .PHONY: clean-stage3-opcodes maybe-clean-stage3-opcodes
32119 maybe-configure-stage3-opcodes:
32120 maybe-all-stage3-opcodes:
32121 maybe-clean-stage3-opcodes:
32123 @if opcodes-bootstrap
32124 maybe-configure-stage3-opcodes: configure-stage3-opcodes
32125 configure-stage3-opcodes:
32126 @$(MAKE) stage3-start
32127 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32128 r=`${PWD_COMMAND}`; export r; \
32129 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32130 $(STAGE_HOST_EXPORTS) \
32131 echo Configuring stage 3 in opcodes ; \
32132 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32133 case $(srcdir) in \
32134 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32135 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32136 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32137 esac; \
32138 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32139 libsrcdir="$$s/opcodes"; \
32140 $(SHELL) $${libsrcdir}/configure \
32141 $(HOST_CONFIGARGS) $${srcdiroption} \
32142 @stage2_werror_flag@
32144 maybe-all-stage3-opcodes: all-stage3-opcodes
32145 all-stage3-opcodes: configure-stage3-opcodes
32146 @$(MAKE) stage3-start
32147 @r=`${PWD_COMMAND}`; export r; \
32148 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32149 $(STAGE_HOST_EXPORTS) \
32150 cd $(HOST_SUBDIR)/opcodes && \
32151 $(MAKE) $(FLAGS_TO_PASS) \
32152 $(POSTSTAGE1_FLAGS_TO_PASS) \
32155 maybe-clean-stage3-opcodes: clean-stage3-opcodes
32156 clean-stage3-opcodes:
32157 @[ -f opcodes/Makefile ] || [ -f stage3-opcodes/Makefile ] \
32158 || exit 0 ; \
32159 [ -f opcodes/Makefile ] || $(MAKE) stage3-start ; \
32160 cd $(HOST_SUBDIR)/opcodes && \
32161 $(MAKE) $(FLAGS_TO_PASS) \
32162 $(POSTSTAGE1_FLAGS_TO_PASS) \
32163 clean
32164 @endif opcodes-bootstrap
32167 .PHONY: configure-stage3-binutils maybe-configure-stage3-binutils
32168 .PHONY: all-stage3-binutils maybe-all-stage3-binutils
32169 .PHONY: clean-stage3-binutils maybe-clean-stage3-binutils
32171 maybe-configure-stage3-binutils:
32172 maybe-all-stage3-binutils:
32173 maybe-clean-stage3-binutils:
32175 @if binutils-bootstrap
32176 maybe-configure-stage3-binutils: configure-stage3-binutils
32177 configure-stage3-binutils:
32178 @$(MAKE) stage3-start
32179 @[ -f binutils/Makefile ] && exit 0 || : ; \
32180 r=`${PWD_COMMAND}`; export r; \
32181 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32182 $(STAGE_HOST_EXPORTS) \
32183 echo Configuring stage 3 in binutils ; \
32184 cd $(HOST_SUBDIR)/binutils || exit 1; \
32185 case $(srcdir) in \
32186 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32187 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32188 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32189 esac; \
32190 srcdiroption="--srcdir=$${topdir}/binutils"; \
32191 libsrcdir="$$s/binutils"; \
32192 $(SHELL) $${libsrcdir}/configure \
32193 $(HOST_CONFIGARGS) $${srcdiroption} \
32194 @stage2_werror_flag@
32196 maybe-all-stage3-binutils: all-stage3-binutils
32197 all-stage3-binutils: configure-stage3-binutils
32198 @$(MAKE) stage3-start
32199 @r=`${PWD_COMMAND}`; export r; \
32200 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32201 $(STAGE_HOST_EXPORTS) \
32202 cd $(HOST_SUBDIR)/binutils && \
32203 $(MAKE) $(FLAGS_TO_PASS) \
32204 $(POSTSTAGE1_FLAGS_TO_PASS) \
32207 maybe-clean-stage3-binutils: clean-stage3-binutils
32208 clean-stage3-binutils:
32209 @[ -f binutils/Makefile ] || [ -f stage3-binutils/Makefile ] \
32210 || exit 0 ; \
32211 [ -f binutils/Makefile ] || $(MAKE) stage3-start ; \
32212 cd $(HOST_SUBDIR)/binutils && \
32213 $(MAKE) $(FLAGS_TO_PASS) \
32214 $(POSTSTAGE1_FLAGS_TO_PASS) \
32215 clean
32216 @endif binutils-bootstrap
32219 .PHONY: configure-stage3-gas maybe-configure-stage3-gas
32220 .PHONY: all-stage3-gas maybe-all-stage3-gas
32221 .PHONY: clean-stage3-gas maybe-clean-stage3-gas
32223 maybe-configure-stage3-gas:
32224 maybe-all-stage3-gas:
32225 maybe-clean-stage3-gas:
32227 @if gas-bootstrap
32228 maybe-configure-stage3-gas: configure-stage3-gas
32229 configure-stage3-gas:
32230 @$(MAKE) stage3-start
32231 @[ -f gas/Makefile ] && exit 0 || : ; \
32232 r=`${PWD_COMMAND}`; export r; \
32233 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32234 $(STAGE_HOST_EXPORTS) \
32235 echo Configuring stage 3 in gas ; \
32236 cd $(HOST_SUBDIR)/gas || exit 1; \
32237 case $(srcdir) in \
32238 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32239 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
32240 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32241 esac; \
32242 srcdiroption="--srcdir=$${topdir}/gas"; \
32243 libsrcdir="$$s/gas"; \
32244 $(SHELL) $${libsrcdir}/configure \
32245 $(HOST_CONFIGARGS) $${srcdiroption} \
32246 @stage2_werror_flag@
32248 maybe-all-stage3-gas: all-stage3-gas
32249 all-stage3-gas: configure-stage3-gas
32250 @$(MAKE) stage3-start
32251 @r=`${PWD_COMMAND}`; export r; \
32252 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32253 $(STAGE_HOST_EXPORTS) \
32254 cd $(HOST_SUBDIR)/gas && \
32255 $(MAKE) $(FLAGS_TO_PASS) \
32256 $(POSTSTAGE1_FLAGS_TO_PASS) \
32259 maybe-clean-stage3-gas: clean-stage3-gas
32260 clean-stage3-gas:
32261 @[ -f gas/Makefile ] || [ -f stage3-gas/Makefile ] \
32262 || exit 0 ; \
32263 [ -f gas/Makefile ] || $(MAKE) stage3-start ; \
32264 cd $(HOST_SUBDIR)/gas && \
32265 $(MAKE) $(FLAGS_TO_PASS) \
32266 $(POSTSTAGE1_FLAGS_TO_PASS) \
32267 clean
32268 @endif gas-bootstrap
32271 .PHONY: configure-stage3-gcc maybe-configure-stage3-gcc
32272 .PHONY: all-stage3-gcc maybe-all-stage3-gcc
32273 .PHONY: clean-stage3-gcc maybe-clean-stage3-gcc
32275 maybe-configure-stage3-gcc:
32276 maybe-all-stage3-gcc:
32277 maybe-clean-stage3-gcc:
32279 @if gcc-bootstrap
32280 maybe-configure-stage3-gcc: configure-stage3-gcc
32281 configure-stage3-gcc:
32282 @$(MAKE) stage3-start
32283 @[ -f gcc/Makefile ] && exit 0 || : ; \
32284 r=`${PWD_COMMAND}`; export r; \
32285 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32286 $(STAGE_HOST_EXPORTS) \
32287 echo Configuring stage 3 in gcc ; \
32288 cd $(HOST_SUBDIR)/gcc || exit 1; \
32289 case $(srcdir) in \
32290 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32291 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
32292 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32293 esac; \
32294 srcdiroption="--srcdir=$${topdir}/gcc"; \
32295 libsrcdir="$$s/gcc"; \
32296 $(SHELL) $${libsrcdir}/configure \
32297 $(HOST_CONFIGARGS) $${srcdiroption} \
32298 @stage2_werror_flag@
32300 maybe-all-stage3-gcc: all-stage3-gcc
32301 all-stage3-gcc: configure-stage3-gcc
32302 @$(MAKE) stage3-start
32303 @r=`${PWD_COMMAND}`; export r; \
32304 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32305 $(STAGE_HOST_EXPORTS) \
32306 cd $(HOST_SUBDIR)/gcc && \
32307 $(MAKE) $(FLAGS_TO_PASS) \
32308 $(POSTSTAGE1_FLAGS_TO_PASS) \
32309 $(EXTRA_GCC_FLAGS)
32311 maybe-clean-stage3-gcc: clean-stage3-gcc
32312 clean-stage3-gcc:
32313 @[ -f gcc/Makefile ] || [ -f stage3-gcc/Makefile ] \
32314 || exit 0 ; \
32315 [ -f gcc/Makefile ] || $(MAKE) stage3-start ; \
32316 cd $(HOST_SUBDIR)/gcc && \
32317 $(MAKE) $(FLAGS_TO_PASS) \
32318 $(POSTSTAGE1_FLAGS_TO_PASS) \
32319 $(EXTRA_GCC_FLAGS) clean
32320 @endif gcc-bootstrap
32323 .PHONY: configure-stage3-intl maybe-configure-stage3-intl
32324 .PHONY: all-stage3-intl maybe-all-stage3-intl
32325 .PHONY: clean-stage3-intl maybe-clean-stage3-intl
32327 maybe-configure-stage3-intl:
32328 maybe-all-stage3-intl:
32329 maybe-clean-stage3-intl:
32331 @if intl-bootstrap
32332 maybe-configure-stage3-intl: configure-stage3-intl
32333 configure-stage3-intl:
32334 @$(MAKE) stage3-start
32335 @[ -f intl/Makefile ] && exit 0 || : ; \
32336 r=`${PWD_COMMAND}`; export r; \
32337 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32338 $(STAGE_HOST_EXPORTS) \
32339 echo Configuring stage 3 in intl ; \
32340 cd $(HOST_SUBDIR)/intl || exit 1; \
32341 case $(srcdir) in \
32342 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32343 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
32344 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32345 esac; \
32346 srcdiroption="--srcdir=$${topdir}/intl"; \
32347 libsrcdir="$$s/intl"; \
32348 $(SHELL) $${libsrcdir}/configure \
32349 $(HOST_CONFIGARGS) $${srcdiroption} \
32350 @stage2_werror_flag@
32352 maybe-all-stage3-intl: all-stage3-intl
32353 all-stage3-intl: configure-stage3-intl
32354 @$(MAKE) stage3-start
32355 @r=`${PWD_COMMAND}`; export r; \
32356 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32357 $(STAGE_HOST_EXPORTS) \
32358 cd $(HOST_SUBDIR)/intl && \
32359 $(MAKE) $(FLAGS_TO_PASS) \
32360 $(POSTSTAGE1_FLAGS_TO_PASS) \
32363 maybe-clean-stage3-intl: clean-stage3-intl
32364 clean-stage3-intl:
32365 @[ -f intl/Makefile ] || [ -f stage3-intl/Makefile ] \
32366 || exit 0 ; \
32367 [ -f intl/Makefile ] || $(MAKE) stage3-start ; \
32368 cd $(HOST_SUBDIR)/intl && \
32369 $(MAKE) $(FLAGS_TO_PASS) \
32370 $(POSTSTAGE1_FLAGS_TO_PASS) \
32371 clean
32372 @endif intl-bootstrap
32375 .PHONY: configure-stage3-ld maybe-configure-stage3-ld
32376 .PHONY: all-stage3-ld maybe-all-stage3-ld
32377 .PHONY: clean-stage3-ld maybe-clean-stage3-ld
32379 maybe-configure-stage3-ld:
32380 maybe-all-stage3-ld:
32381 maybe-clean-stage3-ld:
32383 @if ld-bootstrap
32384 maybe-configure-stage3-ld: configure-stage3-ld
32385 configure-stage3-ld:
32386 @$(MAKE) stage3-start
32387 @[ -f ld/Makefile ] && exit 0 || : ; \
32388 r=`${PWD_COMMAND}`; export r; \
32389 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32390 $(STAGE_HOST_EXPORTS) \
32391 echo Configuring stage 3 in ld ; \
32392 cd $(HOST_SUBDIR)/ld || exit 1; \
32393 case $(srcdir) in \
32394 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32395 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
32396 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32397 esac; \
32398 srcdiroption="--srcdir=$${topdir}/ld"; \
32399 libsrcdir="$$s/ld"; \
32400 $(SHELL) $${libsrcdir}/configure \
32401 $(HOST_CONFIGARGS) $${srcdiroption} \
32402 @stage2_werror_flag@
32404 maybe-all-stage3-ld: all-stage3-ld
32405 all-stage3-ld: configure-stage3-ld
32406 @$(MAKE) stage3-start
32407 @r=`${PWD_COMMAND}`; export r; \
32408 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32409 $(STAGE_HOST_EXPORTS) \
32410 cd $(HOST_SUBDIR)/ld && \
32411 $(MAKE) $(FLAGS_TO_PASS) \
32412 $(POSTSTAGE1_FLAGS_TO_PASS) \
32415 maybe-clean-stage3-ld: clean-stage3-ld
32416 clean-stage3-ld:
32417 @[ -f ld/Makefile ] || [ -f stage3-ld/Makefile ] \
32418 || exit 0 ; \
32419 [ -f ld/Makefile ] || $(MAKE) stage3-start ; \
32420 cd $(HOST_SUBDIR)/ld && \
32421 $(MAKE) $(FLAGS_TO_PASS) \
32422 $(POSTSTAGE1_FLAGS_TO_PASS) \
32423 clean
32424 @endif ld-bootstrap
32427 .PHONY: configure-stage3-libcpp maybe-configure-stage3-libcpp
32428 .PHONY: all-stage3-libcpp maybe-all-stage3-libcpp
32429 .PHONY: clean-stage3-libcpp maybe-clean-stage3-libcpp
32431 maybe-configure-stage3-libcpp:
32432 maybe-all-stage3-libcpp:
32433 maybe-clean-stage3-libcpp:
32435 @if libcpp-bootstrap
32436 maybe-configure-stage3-libcpp: configure-stage3-libcpp
32437 configure-stage3-libcpp:
32438 @$(MAKE) stage3-start
32439 @[ -f libcpp/Makefile ] && exit 0 || : ; \
32440 r=`${PWD_COMMAND}`; export r; \
32441 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32442 $(STAGE_HOST_EXPORTS) \
32443 echo Configuring stage 3 in libcpp ; \
32444 cd $(HOST_SUBDIR)/libcpp || exit 1; \
32445 case $(srcdir) in \
32446 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32447 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
32448 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32449 esac; \
32450 srcdiroption="--srcdir=$${topdir}/libcpp"; \
32451 libsrcdir="$$s/libcpp"; \
32452 $(SHELL) $${libsrcdir}/configure \
32453 $(HOST_CONFIGARGS) $${srcdiroption} \
32454 @stage2_werror_flag@
32456 maybe-all-stage3-libcpp: all-stage3-libcpp
32457 all-stage3-libcpp: configure-stage3-libcpp
32458 @$(MAKE) stage3-start
32459 @r=`${PWD_COMMAND}`; export r; \
32460 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32461 $(STAGE_HOST_EXPORTS) \
32462 cd $(HOST_SUBDIR)/libcpp && \
32463 $(MAKE) $(FLAGS_TO_PASS) \
32464 $(POSTSTAGE1_FLAGS_TO_PASS) \
32467 maybe-clean-stage3-libcpp: clean-stage3-libcpp
32468 clean-stage3-libcpp:
32469 @[ -f libcpp/Makefile ] || [ -f stage3-libcpp/Makefile ] \
32470 || exit 0 ; \
32471 [ -f libcpp/Makefile ] || $(MAKE) stage3-start ; \
32472 cd $(HOST_SUBDIR)/libcpp && \
32473 $(MAKE) $(FLAGS_TO_PASS) \
32474 $(POSTSTAGE1_FLAGS_TO_PASS) \
32475 clean
32476 @endif libcpp-bootstrap
32479 .PHONY: configure-stage3-libiberty maybe-configure-stage3-libiberty
32480 .PHONY: all-stage3-libiberty maybe-all-stage3-libiberty
32481 .PHONY: clean-stage3-libiberty maybe-clean-stage3-libiberty
32483 maybe-configure-stage3-libiberty:
32484 maybe-all-stage3-libiberty:
32485 maybe-clean-stage3-libiberty:
32487 @if libiberty-bootstrap
32488 maybe-configure-stage3-libiberty: configure-stage3-libiberty
32489 configure-stage3-libiberty:
32490 @$(MAKE) stage3-start
32491 @[ -f libiberty/Makefile ] && exit 0 || : ; \
32492 r=`${PWD_COMMAND}`; export r; \
32493 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32494 $(STAGE_HOST_EXPORTS) \
32495 echo Configuring stage 3 in libiberty ; \
32496 cd $(HOST_SUBDIR)/libiberty || exit 1; \
32497 case $(srcdir) in \
32498 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32499 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
32500 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32501 esac; \
32502 srcdiroption="--srcdir=$${topdir}/libiberty"; \
32503 libsrcdir="$$s/libiberty"; \
32504 $(SHELL) $${libsrcdir}/configure \
32505 $(HOST_CONFIGARGS) $${srcdiroption} \
32506 @stage2_werror_flag@
32508 maybe-all-stage3-libiberty: all-stage3-libiberty
32509 all-stage3-libiberty: configure-stage3-libiberty
32510 @$(MAKE) stage3-start
32511 @r=`${PWD_COMMAND}`; export r; \
32512 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32513 $(STAGE_HOST_EXPORTS) \
32514 cd $(HOST_SUBDIR)/libiberty && \
32515 $(MAKE) $(FLAGS_TO_PASS) \
32516 $(POSTSTAGE1_FLAGS_TO_PASS) \
32519 maybe-clean-stage3-libiberty: clean-stage3-libiberty
32520 clean-stage3-libiberty:
32521 @[ -f libiberty/Makefile ] || [ -f stage3-libiberty/Makefile ] \
32522 || exit 0 ; \
32523 [ -f libiberty/Makefile ] || $(MAKE) stage3-start ; \
32524 cd $(HOST_SUBDIR)/libiberty && \
32525 $(MAKE) $(FLAGS_TO_PASS) \
32526 $(POSTSTAGE1_FLAGS_TO_PASS) \
32527 clean
32528 @endif libiberty-bootstrap
32531 .PHONY: configure-stage3-zlib maybe-configure-stage3-zlib
32532 .PHONY: all-stage3-zlib maybe-all-stage3-zlib
32533 .PHONY: clean-stage3-zlib maybe-clean-stage3-zlib
32535 maybe-configure-stage3-zlib:
32536 maybe-all-stage3-zlib:
32537 maybe-clean-stage3-zlib:
32539 @if zlib-bootstrap
32540 maybe-configure-stage3-zlib: configure-stage3-zlib
32541 configure-stage3-zlib:
32542 @$(MAKE) stage3-start
32543 @[ -f zlib/Makefile ] && exit 0 || : ; \
32544 r=`${PWD_COMMAND}`; export r; \
32545 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32546 $(STAGE_HOST_EXPORTS) \
32547 echo Configuring stage 3 in zlib ; \
32548 cd $(HOST_SUBDIR)/zlib || exit 1; \
32549 case $(srcdir) in \
32550 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32551 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
32552 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32553 esac; \
32554 srcdiroption="--srcdir=$${topdir}/zlib"; \
32555 libsrcdir="$$s/zlib"; \
32556 $(SHELL) $${libsrcdir}/configure \
32557 $(HOST_CONFIGARGS) $${srcdiroption} \
32558 @stage2_werror_flag@
32560 maybe-all-stage3-zlib: all-stage3-zlib
32561 all-stage3-zlib: configure-stage3-zlib
32562 @$(MAKE) stage3-start
32563 @r=`${PWD_COMMAND}`; export r; \
32564 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32565 $(STAGE_HOST_EXPORTS) \
32566 cd $(HOST_SUBDIR)/zlib && \
32567 $(MAKE) $(FLAGS_TO_PASS) \
32568 $(POSTSTAGE1_FLAGS_TO_PASS) \
32571 maybe-clean-stage3-zlib: clean-stage3-zlib
32572 clean-stage3-zlib:
32573 @[ -f zlib/Makefile ] || [ -f stage3-zlib/Makefile ] \
32574 || exit 0 ; \
32575 [ -f zlib/Makefile ] || $(MAKE) stage3-start ; \
32576 cd $(HOST_SUBDIR)/zlib && \
32577 $(MAKE) $(FLAGS_TO_PASS) \
32578 $(POSTSTAGE1_FLAGS_TO_PASS) \
32579 clean
32580 @endif zlib-bootstrap
32584 # FIXME: Will not need to be conditional when toplevel bootstrap is the
32585 # only possibility, but now it conflicts with no-bootstrap rules
32586 @if gcc-bootstrap
32588 compare:
32589 @if test -f stage2-lean; then \
32590 echo Cannot compare object files as stage 2 was deleted. ; \
32591 exit 0 ; \
32592 fi; \
32593 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32594 @r=`${PWD_COMMAND}`; export r; \
32595 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32596 rm -f .bad_compare ; \
32597 cd stage3-gcc; \
32598 files=`find . -name "*$(objext)" -print` ; \
32599 cd .. ; \
32600 for file in $${files} ; do \
32601 f1=$$r/stage2-gcc/$$file; f2=$$r/stage3-gcc/$$file; \
32602 @do_compare@ > /dev/null 2>&1; \
32603 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
32604 done ; \
32605 if [ -f .bad_compare ]; then \
32606 echo "Bootstrap comparison failure!"; \
32607 cat .bad_compare; \
32608 exit 1; \
32609 else \
32610 true; \
32611 fi ; \
32612 $(STAMP) compare
32613 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32617 .PHONY: bootstrap
32618 bootstrap: stage3-bubble compare all
32621 # Rules to wipe a stage and all the following ones, also used for cleanstrap
32622 distclean-stage2:: distclean-stage3
32623 .PHONY: distclean-stage3
32624 distclean-stage3::
32625 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
32626 rm -rf stage3-* compare
32629 .PHONY: cleanstrap
32630 cleanstrap: distclean bootstrap
32632 @endif gcc-bootstrap
32635 .PHONY: stage4-start stage4-end
32637 stage4-start::
32638 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
32639 echo stage4 > stage_current ; \
32640 echo stage4 > stage_last; \
32641 $(mkinstalldirs) $(HOST_SUBDIR)
32642 @if bfd
32643 @cd $(HOST_SUBDIR); [ -d stage4-bfd ] || \
32644 mkdir stage4-bfd; \
32645 set stage4-bfd bfd ; \
32646 @CREATE_LINK_TO_DIR@ ; \
32647 set stage3-bfd prev-bfd ; \
32648 @CREATE_LINK_TO_DIR@
32649 @endif bfd
32650 @if opcodes
32651 @cd $(HOST_SUBDIR); [ -d stage4-opcodes ] || \
32652 mkdir stage4-opcodes; \
32653 set stage4-opcodes opcodes ; \
32654 @CREATE_LINK_TO_DIR@ ; \
32655 set stage3-opcodes prev-opcodes ; \
32656 @CREATE_LINK_TO_DIR@
32657 @endif opcodes
32658 @if binutils
32659 @cd $(HOST_SUBDIR); [ -d stage4-binutils ] || \
32660 mkdir stage4-binutils; \
32661 set stage4-binutils binutils ; \
32662 @CREATE_LINK_TO_DIR@ ; \
32663 set stage3-binutils prev-binutils ; \
32664 @CREATE_LINK_TO_DIR@
32665 @endif binutils
32666 @if gas
32667 @cd $(HOST_SUBDIR); [ -d stage4-gas ] || \
32668 mkdir stage4-gas; \
32669 set stage4-gas gas ; \
32670 @CREATE_LINK_TO_DIR@ ; \
32671 set stage3-gas prev-gas ; \
32672 @CREATE_LINK_TO_DIR@
32673 @endif gas
32674 @if gcc
32675 @cd $(HOST_SUBDIR); [ -d stage4-gcc ] || \
32676 mkdir stage4-gcc; \
32677 set stage4-gcc gcc ; \
32678 @CREATE_LINK_TO_DIR@ ; \
32679 set stage3-gcc prev-gcc ; \
32680 @CREATE_LINK_TO_DIR@
32681 @endif gcc
32682 @if intl
32683 @cd $(HOST_SUBDIR); [ -d stage4-intl ] || \
32684 mkdir stage4-intl; \
32685 set stage4-intl intl ; \
32686 @CREATE_LINK_TO_DIR@ ; \
32687 set stage3-intl prev-intl ; \
32688 @CREATE_LINK_TO_DIR@
32689 @endif intl
32690 @if ld
32691 @cd $(HOST_SUBDIR); [ -d stage4-ld ] || \
32692 mkdir stage4-ld; \
32693 set stage4-ld ld ; \
32694 @CREATE_LINK_TO_DIR@ ; \
32695 set stage3-ld prev-ld ; \
32696 @CREATE_LINK_TO_DIR@
32697 @endif ld
32698 @if libcpp
32699 @cd $(HOST_SUBDIR); [ -d stage4-libcpp ] || \
32700 mkdir stage4-libcpp; \
32701 set stage4-libcpp libcpp ; \
32702 @CREATE_LINK_TO_DIR@ ; \
32703 set stage3-libcpp prev-libcpp ; \
32704 @CREATE_LINK_TO_DIR@
32705 @endif libcpp
32706 @if libiberty
32707 @cd $(HOST_SUBDIR); [ -d stage4-libiberty ] || \
32708 mkdir stage4-libiberty; \
32709 set stage4-libiberty libiberty ; \
32710 @CREATE_LINK_TO_DIR@ ; \
32711 set stage3-libiberty prev-libiberty ; \
32712 @CREATE_LINK_TO_DIR@
32713 @endif libiberty
32714 @if zlib
32715 @cd $(HOST_SUBDIR); [ -d stage4-zlib ] || \
32716 mkdir stage4-zlib; \
32717 set stage4-zlib zlib ; \
32718 @CREATE_LINK_TO_DIR@ ; \
32719 set stage3-zlib prev-zlib ; \
32720 @CREATE_LINK_TO_DIR@
32721 @endif zlib
32723 stage4-end::
32724 @rm -f stage_current
32725 @if bfd
32726 @cd $(HOST_SUBDIR); set bfd stage4-bfd ; \
32727 @UNDO_LINK_TO_DIR@ ; \
32728 set prev-bfd stage3-bfd ; \
32729 @UNDO_LINK_TO_DIR@
32730 @endif bfd
32731 @if opcodes
32732 @cd $(HOST_SUBDIR); set opcodes stage4-opcodes ; \
32733 @UNDO_LINK_TO_DIR@ ; \
32734 set prev-opcodes stage3-opcodes ; \
32735 @UNDO_LINK_TO_DIR@
32736 @endif opcodes
32737 @if binutils
32738 @cd $(HOST_SUBDIR); set binutils stage4-binutils ; \
32739 @UNDO_LINK_TO_DIR@ ; \
32740 set prev-binutils stage3-binutils ; \
32741 @UNDO_LINK_TO_DIR@
32742 @endif binutils
32743 @if gas
32744 @cd $(HOST_SUBDIR); set gas stage4-gas ; \
32745 @UNDO_LINK_TO_DIR@ ; \
32746 set prev-gas stage3-gas ; \
32747 @UNDO_LINK_TO_DIR@
32748 @endif gas
32749 @if gcc
32750 @cd $(HOST_SUBDIR); set gcc stage4-gcc ; \
32751 @UNDO_LINK_TO_DIR@ ; \
32752 set prev-gcc stage3-gcc ; \
32753 @UNDO_LINK_TO_DIR@
32754 @endif gcc
32755 @if intl
32756 @cd $(HOST_SUBDIR); set intl stage4-intl ; \
32757 @UNDO_LINK_TO_DIR@ ; \
32758 set prev-intl stage3-intl ; \
32759 @UNDO_LINK_TO_DIR@
32760 @endif intl
32761 @if ld
32762 @cd $(HOST_SUBDIR); set ld stage4-ld ; \
32763 @UNDO_LINK_TO_DIR@ ; \
32764 set prev-ld stage3-ld ; \
32765 @UNDO_LINK_TO_DIR@
32766 @endif ld
32767 @if libcpp
32768 @cd $(HOST_SUBDIR); set libcpp stage4-libcpp ; \
32769 @UNDO_LINK_TO_DIR@ ; \
32770 set prev-libcpp stage3-libcpp ; \
32771 @UNDO_LINK_TO_DIR@
32772 @endif libcpp
32773 @if libiberty
32774 @cd $(HOST_SUBDIR); set libiberty stage4-libiberty ; \
32775 @UNDO_LINK_TO_DIR@ ; \
32776 set prev-libiberty stage3-libiberty ; \
32777 @UNDO_LINK_TO_DIR@
32778 @endif libiberty
32779 @if zlib
32780 @cd $(HOST_SUBDIR); set zlib stage4-zlib ; \
32781 @UNDO_LINK_TO_DIR@ ; \
32782 set prev-zlib stage3-zlib ; \
32783 @UNDO_LINK_TO_DIR@
32784 @endif zlib
32786 # Bubble a bugfix through all the stages up to stage 4. They
32787 # are remade, but not reconfigured. The next stage (if any) will not
32788 # be reconfigured as well.
32789 .PHONY: stage4-bubble
32790 stage4-bubble:: stage3-bubble
32791 @bootstrap_lean@-rm -rf stage2-* ; $(STAMP) stage2-lean
32792 @if test -f stage4-lean || test -f stage3-lean ; then \
32793 echo Skipping rebuild of stage4 ; \
32794 else \
32795 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stage4; \
32798 .PHONY: all-stage4 clean-stage4
32799 all-stage4: \
32800 maybe-all-stage4-bfd \
32801 maybe-all-stage4-opcodes \
32802 maybe-all-stage4-binutils \
32803 maybe-all-stage4-gas \
32804 maybe-all-stage4-gcc \
32805 maybe-all-stage4-intl \
32806 maybe-all-stage4-ld \
32807 maybe-all-stage4-libcpp \
32808 maybe-all-stage4-libiberty \
32809 maybe-all-stage4-zlib
32811 do-clean: clean-stage4
32812 clean-stage4: \
32813 maybe-clean-stage4-bfd \
32814 maybe-clean-stage4-opcodes \
32815 maybe-clean-stage4-binutils \
32816 maybe-clean-stage4-gas \
32817 maybe-clean-stage4-gcc \
32818 maybe-clean-stage4-intl \
32819 maybe-clean-stage4-ld \
32820 maybe-clean-stage4-libcpp \
32821 maybe-clean-stage4-libiberty \
32822 maybe-clean-stage4-zlib
32825 .PHONY: configure-stage4-bfd maybe-configure-stage4-bfd
32826 .PHONY: all-stage4-bfd maybe-all-stage4-bfd
32827 .PHONY: clean-stage4-bfd maybe-clean-stage4-bfd
32829 maybe-configure-stage4-bfd:
32830 maybe-all-stage4-bfd:
32831 maybe-clean-stage4-bfd:
32833 @if bfd-bootstrap
32834 maybe-configure-stage4-bfd: configure-stage4-bfd
32835 configure-stage4-bfd:
32836 @$(MAKE) stage4-start
32837 @[ -f bfd/Makefile ] && exit 0 || : ; \
32838 r=`${PWD_COMMAND}`; export r; \
32839 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32840 $(STAGE_HOST_EXPORTS) \
32841 echo Configuring stage 4 in bfd ; \
32842 cd $(HOST_SUBDIR)/bfd || exit 1; \
32843 case $(srcdir) in \
32844 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32845 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
32846 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32847 esac; \
32848 srcdiroption="--srcdir=$${topdir}/bfd"; \
32849 libsrcdir="$$s/bfd"; \
32850 $(SHELL) $${libsrcdir}/configure \
32851 $(HOST_CONFIGARGS) $${srcdiroption} \
32852 @stage2_werror_flag@
32854 maybe-all-stage4-bfd: all-stage4-bfd
32855 all-stage4-bfd: configure-stage4-bfd
32856 @$(MAKE) stage4-start
32857 @r=`${PWD_COMMAND}`; export r; \
32858 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32859 $(STAGE_HOST_EXPORTS) \
32860 cd $(HOST_SUBDIR)/bfd && \
32861 $(MAKE) $(FLAGS_TO_PASS) \
32862 $(POSTSTAGE1_FLAGS_TO_PASS) \
32865 maybe-clean-stage4-bfd: clean-stage4-bfd
32866 clean-stage4-bfd:
32867 @[ -f bfd/Makefile ] || [ -f stage4-bfd/Makefile ] \
32868 || exit 0 ; \
32869 [ -f bfd/Makefile ] || $(MAKE) stage4-start ; \
32870 cd $(HOST_SUBDIR)/bfd && \
32871 $(MAKE) $(FLAGS_TO_PASS) \
32872 $(POSTSTAGE1_FLAGS_TO_PASS) \
32873 clean
32874 @endif bfd-bootstrap
32877 .PHONY: configure-stage4-opcodes maybe-configure-stage4-opcodes
32878 .PHONY: all-stage4-opcodes maybe-all-stage4-opcodes
32879 .PHONY: clean-stage4-opcodes maybe-clean-stage4-opcodes
32881 maybe-configure-stage4-opcodes:
32882 maybe-all-stage4-opcodes:
32883 maybe-clean-stage4-opcodes:
32885 @if opcodes-bootstrap
32886 maybe-configure-stage4-opcodes: configure-stage4-opcodes
32887 configure-stage4-opcodes:
32888 @$(MAKE) stage4-start
32889 @[ -f opcodes/Makefile ] && exit 0 || : ; \
32890 r=`${PWD_COMMAND}`; export r; \
32891 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32892 $(STAGE_HOST_EXPORTS) \
32893 echo Configuring stage 4 in opcodes ; \
32894 cd $(HOST_SUBDIR)/opcodes || exit 1; \
32895 case $(srcdir) in \
32896 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32897 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
32898 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32899 esac; \
32900 srcdiroption="--srcdir=$${topdir}/opcodes"; \
32901 libsrcdir="$$s/opcodes"; \
32902 $(SHELL) $${libsrcdir}/configure \
32903 $(HOST_CONFIGARGS) $${srcdiroption} \
32904 @stage2_werror_flag@
32906 maybe-all-stage4-opcodes: all-stage4-opcodes
32907 all-stage4-opcodes: configure-stage4-opcodes
32908 @$(MAKE) stage4-start
32909 @r=`${PWD_COMMAND}`; export r; \
32910 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32911 $(STAGE_HOST_EXPORTS) \
32912 cd $(HOST_SUBDIR)/opcodes && \
32913 $(MAKE) $(FLAGS_TO_PASS) \
32914 $(POSTSTAGE1_FLAGS_TO_PASS) \
32917 maybe-clean-stage4-opcodes: clean-stage4-opcodes
32918 clean-stage4-opcodes:
32919 @[ -f opcodes/Makefile ] || [ -f stage4-opcodes/Makefile ] \
32920 || exit 0 ; \
32921 [ -f opcodes/Makefile ] || $(MAKE) stage4-start ; \
32922 cd $(HOST_SUBDIR)/opcodes && \
32923 $(MAKE) $(FLAGS_TO_PASS) \
32924 $(POSTSTAGE1_FLAGS_TO_PASS) \
32925 clean
32926 @endif opcodes-bootstrap
32929 .PHONY: configure-stage4-binutils maybe-configure-stage4-binutils
32930 .PHONY: all-stage4-binutils maybe-all-stage4-binutils
32931 .PHONY: clean-stage4-binutils maybe-clean-stage4-binutils
32933 maybe-configure-stage4-binutils:
32934 maybe-all-stage4-binutils:
32935 maybe-clean-stage4-binutils:
32937 @if binutils-bootstrap
32938 maybe-configure-stage4-binutils: configure-stage4-binutils
32939 configure-stage4-binutils:
32940 @$(MAKE) stage4-start
32941 @[ -f binutils/Makefile ] && exit 0 || : ; \
32942 r=`${PWD_COMMAND}`; export r; \
32943 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32944 $(STAGE_HOST_EXPORTS) \
32945 echo Configuring stage 4 in binutils ; \
32946 cd $(HOST_SUBDIR)/binutils || exit 1; \
32947 case $(srcdir) in \
32948 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
32949 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
32950 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
32951 esac; \
32952 srcdiroption="--srcdir=$${topdir}/binutils"; \
32953 libsrcdir="$$s/binutils"; \
32954 $(SHELL) $${libsrcdir}/configure \
32955 $(HOST_CONFIGARGS) $${srcdiroption} \
32956 @stage2_werror_flag@
32958 maybe-all-stage4-binutils: all-stage4-binutils
32959 all-stage4-binutils: configure-stage4-binutils
32960 @$(MAKE) stage4-start
32961 @r=`${PWD_COMMAND}`; export r; \
32962 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32963 $(STAGE_HOST_EXPORTS) \
32964 cd $(HOST_SUBDIR)/binutils && \
32965 $(MAKE) $(FLAGS_TO_PASS) \
32966 $(POSTSTAGE1_FLAGS_TO_PASS) \
32969 maybe-clean-stage4-binutils: clean-stage4-binutils
32970 clean-stage4-binutils:
32971 @[ -f binutils/Makefile ] || [ -f stage4-binutils/Makefile ] \
32972 || exit 0 ; \
32973 [ -f binutils/Makefile ] || $(MAKE) stage4-start ; \
32974 cd $(HOST_SUBDIR)/binutils && \
32975 $(MAKE) $(FLAGS_TO_PASS) \
32976 $(POSTSTAGE1_FLAGS_TO_PASS) \
32977 clean
32978 @endif binutils-bootstrap
32981 .PHONY: configure-stage4-gas maybe-configure-stage4-gas
32982 .PHONY: all-stage4-gas maybe-all-stage4-gas
32983 .PHONY: clean-stage4-gas maybe-clean-stage4-gas
32985 maybe-configure-stage4-gas:
32986 maybe-all-stage4-gas:
32987 maybe-clean-stage4-gas:
32989 @if gas-bootstrap
32990 maybe-configure-stage4-gas: configure-stage4-gas
32991 configure-stage4-gas:
32992 @$(MAKE) stage4-start
32993 @[ -f gas/Makefile ] && exit 0 || : ; \
32994 r=`${PWD_COMMAND}`; export r; \
32995 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
32996 $(STAGE_HOST_EXPORTS) \
32997 echo Configuring stage 4 in gas ; \
32998 cd $(HOST_SUBDIR)/gas || exit 1; \
32999 case $(srcdir) in \
33000 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33001 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33002 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33003 esac; \
33004 srcdiroption="--srcdir=$${topdir}/gas"; \
33005 libsrcdir="$$s/gas"; \
33006 $(SHELL) $${libsrcdir}/configure \
33007 $(HOST_CONFIGARGS) $${srcdiroption} \
33008 @stage2_werror_flag@
33010 maybe-all-stage4-gas: all-stage4-gas
33011 all-stage4-gas: configure-stage4-gas
33012 @$(MAKE) stage4-start
33013 @r=`${PWD_COMMAND}`; export r; \
33014 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33015 $(STAGE_HOST_EXPORTS) \
33016 cd $(HOST_SUBDIR)/gas && \
33017 $(MAKE) $(FLAGS_TO_PASS) \
33018 $(POSTSTAGE1_FLAGS_TO_PASS) \
33021 maybe-clean-stage4-gas: clean-stage4-gas
33022 clean-stage4-gas:
33023 @[ -f gas/Makefile ] || [ -f stage4-gas/Makefile ] \
33024 || exit 0 ; \
33025 [ -f gas/Makefile ] || $(MAKE) stage4-start ; \
33026 cd $(HOST_SUBDIR)/gas && \
33027 $(MAKE) $(FLAGS_TO_PASS) \
33028 $(POSTSTAGE1_FLAGS_TO_PASS) \
33029 clean
33030 @endif gas-bootstrap
33033 .PHONY: configure-stage4-gcc maybe-configure-stage4-gcc
33034 .PHONY: all-stage4-gcc maybe-all-stage4-gcc
33035 .PHONY: clean-stage4-gcc maybe-clean-stage4-gcc
33037 maybe-configure-stage4-gcc:
33038 maybe-all-stage4-gcc:
33039 maybe-clean-stage4-gcc:
33041 @if gcc-bootstrap
33042 maybe-configure-stage4-gcc: configure-stage4-gcc
33043 configure-stage4-gcc:
33044 @$(MAKE) stage4-start
33045 @[ -f gcc/Makefile ] && exit 0 || : ; \
33046 r=`${PWD_COMMAND}`; export r; \
33047 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33048 $(STAGE_HOST_EXPORTS) \
33049 echo Configuring stage 4 in gcc ; \
33050 cd $(HOST_SUBDIR)/gcc || exit 1; \
33051 case $(srcdir) in \
33052 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33053 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33054 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33055 esac; \
33056 srcdiroption="--srcdir=$${topdir}/gcc"; \
33057 libsrcdir="$$s/gcc"; \
33058 $(SHELL) $${libsrcdir}/configure \
33059 $(HOST_CONFIGARGS) $${srcdiroption} \
33060 @stage2_werror_flag@
33062 maybe-all-stage4-gcc: all-stage4-gcc
33063 all-stage4-gcc: configure-stage4-gcc
33064 @$(MAKE) stage4-start
33065 @r=`${PWD_COMMAND}`; export r; \
33066 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33067 $(STAGE_HOST_EXPORTS) \
33068 cd $(HOST_SUBDIR)/gcc && \
33069 $(MAKE) $(FLAGS_TO_PASS) \
33070 $(POSTSTAGE1_FLAGS_TO_PASS) \
33071 $(EXTRA_GCC_FLAGS)
33073 maybe-clean-stage4-gcc: clean-stage4-gcc
33074 clean-stage4-gcc:
33075 @[ -f gcc/Makefile ] || [ -f stage4-gcc/Makefile ] \
33076 || exit 0 ; \
33077 [ -f gcc/Makefile ] || $(MAKE) stage4-start ; \
33078 cd $(HOST_SUBDIR)/gcc && \
33079 $(MAKE) $(FLAGS_TO_PASS) \
33080 $(POSTSTAGE1_FLAGS_TO_PASS) \
33081 $(EXTRA_GCC_FLAGS) clean
33082 @endif gcc-bootstrap
33085 .PHONY: configure-stage4-intl maybe-configure-stage4-intl
33086 .PHONY: all-stage4-intl maybe-all-stage4-intl
33087 .PHONY: clean-stage4-intl maybe-clean-stage4-intl
33089 maybe-configure-stage4-intl:
33090 maybe-all-stage4-intl:
33091 maybe-clean-stage4-intl:
33093 @if intl-bootstrap
33094 maybe-configure-stage4-intl: configure-stage4-intl
33095 configure-stage4-intl:
33096 @$(MAKE) stage4-start
33097 @[ -f intl/Makefile ] && exit 0 || : ; \
33098 r=`${PWD_COMMAND}`; export r; \
33099 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33100 $(STAGE_HOST_EXPORTS) \
33101 echo Configuring stage 4 in intl ; \
33102 cd $(HOST_SUBDIR)/intl || exit 1; \
33103 case $(srcdir) in \
33104 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33105 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33106 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33107 esac; \
33108 srcdiroption="--srcdir=$${topdir}/intl"; \
33109 libsrcdir="$$s/intl"; \
33110 $(SHELL) $${libsrcdir}/configure \
33111 $(HOST_CONFIGARGS) $${srcdiroption} \
33112 @stage2_werror_flag@
33114 maybe-all-stage4-intl: all-stage4-intl
33115 all-stage4-intl: configure-stage4-intl
33116 @$(MAKE) stage4-start
33117 @r=`${PWD_COMMAND}`; export r; \
33118 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33119 $(STAGE_HOST_EXPORTS) \
33120 cd $(HOST_SUBDIR)/intl && \
33121 $(MAKE) $(FLAGS_TO_PASS) \
33122 $(POSTSTAGE1_FLAGS_TO_PASS) \
33125 maybe-clean-stage4-intl: clean-stage4-intl
33126 clean-stage4-intl:
33127 @[ -f intl/Makefile ] || [ -f stage4-intl/Makefile ] \
33128 || exit 0 ; \
33129 [ -f intl/Makefile ] || $(MAKE) stage4-start ; \
33130 cd $(HOST_SUBDIR)/intl && \
33131 $(MAKE) $(FLAGS_TO_PASS) \
33132 $(POSTSTAGE1_FLAGS_TO_PASS) \
33133 clean
33134 @endif intl-bootstrap
33137 .PHONY: configure-stage4-ld maybe-configure-stage4-ld
33138 .PHONY: all-stage4-ld maybe-all-stage4-ld
33139 .PHONY: clean-stage4-ld maybe-clean-stage4-ld
33141 maybe-configure-stage4-ld:
33142 maybe-all-stage4-ld:
33143 maybe-clean-stage4-ld:
33145 @if ld-bootstrap
33146 maybe-configure-stage4-ld: configure-stage4-ld
33147 configure-stage4-ld:
33148 @$(MAKE) stage4-start
33149 @[ -f ld/Makefile ] && exit 0 || : ; \
33150 r=`${PWD_COMMAND}`; export r; \
33151 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33152 $(STAGE_HOST_EXPORTS) \
33153 echo Configuring stage 4 in ld ; \
33154 cd $(HOST_SUBDIR)/ld || exit 1; \
33155 case $(srcdir) in \
33156 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33157 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33158 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33159 esac; \
33160 srcdiroption="--srcdir=$${topdir}/ld"; \
33161 libsrcdir="$$s/ld"; \
33162 $(SHELL) $${libsrcdir}/configure \
33163 $(HOST_CONFIGARGS) $${srcdiroption} \
33164 @stage2_werror_flag@
33166 maybe-all-stage4-ld: all-stage4-ld
33167 all-stage4-ld: configure-stage4-ld
33168 @$(MAKE) stage4-start
33169 @r=`${PWD_COMMAND}`; export r; \
33170 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33171 $(STAGE_HOST_EXPORTS) \
33172 cd $(HOST_SUBDIR)/ld && \
33173 $(MAKE) $(FLAGS_TO_PASS) \
33174 $(POSTSTAGE1_FLAGS_TO_PASS) \
33177 maybe-clean-stage4-ld: clean-stage4-ld
33178 clean-stage4-ld:
33179 @[ -f ld/Makefile ] || [ -f stage4-ld/Makefile ] \
33180 || exit 0 ; \
33181 [ -f ld/Makefile ] || $(MAKE) stage4-start ; \
33182 cd $(HOST_SUBDIR)/ld && \
33183 $(MAKE) $(FLAGS_TO_PASS) \
33184 $(POSTSTAGE1_FLAGS_TO_PASS) \
33185 clean
33186 @endif ld-bootstrap
33189 .PHONY: configure-stage4-libcpp maybe-configure-stage4-libcpp
33190 .PHONY: all-stage4-libcpp maybe-all-stage4-libcpp
33191 .PHONY: clean-stage4-libcpp maybe-clean-stage4-libcpp
33193 maybe-configure-stage4-libcpp:
33194 maybe-all-stage4-libcpp:
33195 maybe-clean-stage4-libcpp:
33197 @if libcpp-bootstrap
33198 maybe-configure-stage4-libcpp: configure-stage4-libcpp
33199 configure-stage4-libcpp:
33200 @$(MAKE) stage4-start
33201 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33202 r=`${PWD_COMMAND}`; export r; \
33203 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33204 $(STAGE_HOST_EXPORTS) \
33205 echo Configuring stage 4 in libcpp ; \
33206 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33207 case $(srcdir) in \
33208 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33209 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33210 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33211 esac; \
33212 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33213 libsrcdir="$$s/libcpp"; \
33214 $(SHELL) $${libsrcdir}/configure \
33215 $(HOST_CONFIGARGS) $${srcdiroption} \
33216 @stage2_werror_flag@
33218 maybe-all-stage4-libcpp: all-stage4-libcpp
33219 all-stage4-libcpp: configure-stage4-libcpp
33220 @$(MAKE) stage4-start
33221 @r=`${PWD_COMMAND}`; export r; \
33222 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33223 $(STAGE_HOST_EXPORTS) \
33224 cd $(HOST_SUBDIR)/libcpp && \
33225 $(MAKE) $(FLAGS_TO_PASS) \
33226 $(POSTSTAGE1_FLAGS_TO_PASS) \
33229 maybe-clean-stage4-libcpp: clean-stage4-libcpp
33230 clean-stage4-libcpp:
33231 @[ -f libcpp/Makefile ] || [ -f stage4-libcpp/Makefile ] \
33232 || exit 0 ; \
33233 [ -f libcpp/Makefile ] || $(MAKE) stage4-start ; \
33234 cd $(HOST_SUBDIR)/libcpp && \
33235 $(MAKE) $(FLAGS_TO_PASS) \
33236 $(POSTSTAGE1_FLAGS_TO_PASS) \
33237 clean
33238 @endif libcpp-bootstrap
33241 .PHONY: configure-stage4-libiberty maybe-configure-stage4-libiberty
33242 .PHONY: all-stage4-libiberty maybe-all-stage4-libiberty
33243 .PHONY: clean-stage4-libiberty maybe-clean-stage4-libiberty
33245 maybe-configure-stage4-libiberty:
33246 maybe-all-stage4-libiberty:
33247 maybe-clean-stage4-libiberty:
33249 @if libiberty-bootstrap
33250 maybe-configure-stage4-libiberty: configure-stage4-libiberty
33251 configure-stage4-libiberty:
33252 @$(MAKE) stage4-start
33253 @[ -f libiberty/Makefile ] && exit 0 || : ; \
33254 r=`${PWD_COMMAND}`; export r; \
33255 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33256 $(STAGE_HOST_EXPORTS) \
33257 echo Configuring stage 4 in libiberty ; \
33258 cd $(HOST_SUBDIR)/libiberty || exit 1; \
33259 case $(srcdir) in \
33260 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33261 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
33262 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33263 esac; \
33264 srcdiroption="--srcdir=$${topdir}/libiberty"; \
33265 libsrcdir="$$s/libiberty"; \
33266 $(SHELL) $${libsrcdir}/configure \
33267 $(HOST_CONFIGARGS) $${srcdiroption} \
33268 @stage2_werror_flag@
33270 maybe-all-stage4-libiberty: all-stage4-libiberty
33271 all-stage4-libiberty: configure-stage4-libiberty
33272 @$(MAKE) stage4-start
33273 @r=`${PWD_COMMAND}`; export r; \
33274 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33275 $(STAGE_HOST_EXPORTS) \
33276 cd $(HOST_SUBDIR)/libiberty && \
33277 $(MAKE) $(FLAGS_TO_PASS) \
33278 $(POSTSTAGE1_FLAGS_TO_PASS) \
33281 maybe-clean-stage4-libiberty: clean-stage4-libiberty
33282 clean-stage4-libiberty:
33283 @[ -f libiberty/Makefile ] || [ -f stage4-libiberty/Makefile ] \
33284 || exit 0 ; \
33285 [ -f libiberty/Makefile ] || $(MAKE) stage4-start ; \
33286 cd $(HOST_SUBDIR)/libiberty && \
33287 $(MAKE) $(FLAGS_TO_PASS) \
33288 $(POSTSTAGE1_FLAGS_TO_PASS) \
33289 clean
33290 @endif libiberty-bootstrap
33293 .PHONY: configure-stage4-zlib maybe-configure-stage4-zlib
33294 .PHONY: all-stage4-zlib maybe-all-stage4-zlib
33295 .PHONY: clean-stage4-zlib maybe-clean-stage4-zlib
33297 maybe-configure-stage4-zlib:
33298 maybe-all-stage4-zlib:
33299 maybe-clean-stage4-zlib:
33301 @if zlib-bootstrap
33302 maybe-configure-stage4-zlib: configure-stage4-zlib
33303 configure-stage4-zlib:
33304 @$(MAKE) stage4-start
33305 @[ -f zlib/Makefile ] && exit 0 || : ; \
33306 r=`${PWD_COMMAND}`; export r; \
33307 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33308 $(STAGE_HOST_EXPORTS) \
33309 echo Configuring stage 4 in zlib ; \
33310 cd $(HOST_SUBDIR)/zlib || exit 1; \
33311 case $(srcdir) in \
33312 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33313 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
33314 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33315 esac; \
33316 srcdiroption="--srcdir=$${topdir}/zlib"; \
33317 libsrcdir="$$s/zlib"; \
33318 $(SHELL) $${libsrcdir}/configure \
33319 $(HOST_CONFIGARGS) $${srcdiroption} \
33320 @stage2_werror_flag@
33322 maybe-all-stage4-zlib: all-stage4-zlib
33323 all-stage4-zlib: configure-stage4-zlib
33324 @$(MAKE) stage4-start
33325 @r=`${PWD_COMMAND}`; export r; \
33326 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33327 $(STAGE_HOST_EXPORTS) \
33328 cd $(HOST_SUBDIR)/zlib && \
33329 $(MAKE) $(FLAGS_TO_PASS) \
33330 $(POSTSTAGE1_FLAGS_TO_PASS) \
33333 maybe-clean-stage4-zlib: clean-stage4-zlib
33334 clean-stage4-zlib:
33335 @[ -f zlib/Makefile ] || [ -f stage4-zlib/Makefile ] \
33336 || exit 0 ; \
33337 [ -f zlib/Makefile ] || $(MAKE) stage4-start ; \
33338 cd $(HOST_SUBDIR)/zlib && \
33339 $(MAKE) $(FLAGS_TO_PASS) \
33340 $(POSTSTAGE1_FLAGS_TO_PASS) \
33341 clean
33342 @endif zlib-bootstrap
33346 # FIXME: Will not need to be conditional when toplevel bootstrap is the
33347 # only possibility, but now it conflicts with no-bootstrap rules
33348 @if gcc-bootstrap
33350 compare3:
33351 @if test -f stage3-lean; then \
33352 echo Cannot compare object files as stage 3 was deleted. ; \
33353 exit 0 ; \
33354 fi; \
33355 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33356 @r=`${PWD_COMMAND}`; export r; \
33357 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33358 rm -f .bad_compare ; \
33359 cd stage4-gcc; \
33360 files=`find . -name "*$(objext)" -print` ; \
33361 cd .. ; \
33362 for file in $${files} ; do \
33363 f1=$$r/stage3-gcc/$$file; f2=$$r/stage4-gcc/$$file; \
33364 @do_compare@ > /dev/null 2>&1; \
33365 test $$? -eq 1 && echo $$file differs >> .bad_compare || true; \
33366 done ; \
33367 if [ -f .bad_compare ]; then \
33368 echo "Bootstrap comparison failure!"; \
33369 cat .bad_compare; \
33370 exit 1; \
33371 else \
33372 true; \
33373 fi ; \
33374 $(STAMP) compare3
33375 @bootstrap_lean@-rm -rf stage3-* ; $(STAMP) stage3-lean
33379 .PHONY: bootstrap4
33380 bootstrap4: stage4-bubble compare3 all
33383 # Rules to wipe a stage and all the following ones, also used for cleanstrap
33384 distclean-stage3:: distclean-stage4
33385 .PHONY: distclean-stage4
33386 distclean-stage4::
33387 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
33388 rm -rf stage4-* compare3
33391 @endif gcc-bootstrap
33394 .PHONY: stageprofile-start stageprofile-end
33396 stageprofile-start::
33397 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
33398 echo stageprofile > stage_current ; \
33399 echo stageprofile > stage_last; \
33400 $(mkinstalldirs) $(HOST_SUBDIR)
33401 @if bfd
33402 @cd $(HOST_SUBDIR); [ -d stageprofile-bfd ] || \
33403 mkdir stageprofile-bfd; \
33404 set stageprofile-bfd bfd ; \
33405 @CREATE_LINK_TO_DIR@ ; \
33406 set stage1-bfd prev-bfd ; \
33407 @CREATE_LINK_TO_DIR@
33408 @endif bfd
33409 @if opcodes
33410 @cd $(HOST_SUBDIR); [ -d stageprofile-opcodes ] || \
33411 mkdir stageprofile-opcodes; \
33412 set stageprofile-opcodes opcodes ; \
33413 @CREATE_LINK_TO_DIR@ ; \
33414 set stage1-opcodes prev-opcodes ; \
33415 @CREATE_LINK_TO_DIR@
33416 @endif opcodes
33417 @if binutils
33418 @cd $(HOST_SUBDIR); [ -d stageprofile-binutils ] || \
33419 mkdir stageprofile-binutils; \
33420 set stageprofile-binutils binutils ; \
33421 @CREATE_LINK_TO_DIR@ ; \
33422 set stage1-binutils prev-binutils ; \
33423 @CREATE_LINK_TO_DIR@
33424 @endif binutils
33425 @if gas
33426 @cd $(HOST_SUBDIR); [ -d stageprofile-gas ] || \
33427 mkdir stageprofile-gas; \
33428 set stageprofile-gas gas ; \
33429 @CREATE_LINK_TO_DIR@ ; \
33430 set stage1-gas prev-gas ; \
33431 @CREATE_LINK_TO_DIR@
33432 @endif gas
33433 @if gcc
33434 @cd $(HOST_SUBDIR); [ -d stageprofile-gcc ] || \
33435 mkdir stageprofile-gcc; \
33436 set stageprofile-gcc gcc ; \
33437 @CREATE_LINK_TO_DIR@ ; \
33438 set stage1-gcc prev-gcc ; \
33439 @CREATE_LINK_TO_DIR@
33440 @endif gcc
33441 @if intl
33442 @cd $(HOST_SUBDIR); [ -d stageprofile-intl ] || \
33443 mkdir stageprofile-intl; \
33444 set stageprofile-intl intl ; \
33445 @CREATE_LINK_TO_DIR@ ; \
33446 set stage1-intl prev-intl ; \
33447 @CREATE_LINK_TO_DIR@
33448 @endif intl
33449 @if ld
33450 @cd $(HOST_SUBDIR); [ -d stageprofile-ld ] || \
33451 mkdir stageprofile-ld; \
33452 set stageprofile-ld ld ; \
33453 @CREATE_LINK_TO_DIR@ ; \
33454 set stage1-ld prev-ld ; \
33455 @CREATE_LINK_TO_DIR@
33456 @endif ld
33457 @if libcpp
33458 @cd $(HOST_SUBDIR); [ -d stageprofile-libcpp ] || \
33459 mkdir stageprofile-libcpp; \
33460 set stageprofile-libcpp libcpp ; \
33461 @CREATE_LINK_TO_DIR@ ; \
33462 set stage1-libcpp prev-libcpp ; \
33463 @CREATE_LINK_TO_DIR@
33464 @endif libcpp
33465 @if libiberty
33466 @cd $(HOST_SUBDIR); [ -d stageprofile-libiberty ] || \
33467 mkdir stageprofile-libiberty; \
33468 set stageprofile-libiberty libiberty ; \
33469 @CREATE_LINK_TO_DIR@ ; \
33470 set stage1-libiberty prev-libiberty ; \
33471 @CREATE_LINK_TO_DIR@
33472 @endif libiberty
33473 @if zlib
33474 @cd $(HOST_SUBDIR); [ -d stageprofile-zlib ] || \
33475 mkdir stageprofile-zlib; \
33476 set stageprofile-zlib zlib ; \
33477 @CREATE_LINK_TO_DIR@ ; \
33478 set stage1-zlib prev-zlib ; \
33479 @CREATE_LINK_TO_DIR@
33480 @endif zlib
33482 stageprofile-end::
33483 @rm -f stage_current
33484 @if bfd
33485 @cd $(HOST_SUBDIR); set bfd stageprofile-bfd ; \
33486 @UNDO_LINK_TO_DIR@ ; \
33487 set prev-bfd stage1-bfd ; \
33488 @UNDO_LINK_TO_DIR@
33489 @endif bfd
33490 @if opcodes
33491 @cd $(HOST_SUBDIR); set opcodes stageprofile-opcodes ; \
33492 @UNDO_LINK_TO_DIR@ ; \
33493 set prev-opcodes stage1-opcodes ; \
33494 @UNDO_LINK_TO_DIR@
33495 @endif opcodes
33496 @if binutils
33497 @cd $(HOST_SUBDIR); set binutils stageprofile-binutils ; \
33498 @UNDO_LINK_TO_DIR@ ; \
33499 set prev-binutils stage1-binutils ; \
33500 @UNDO_LINK_TO_DIR@
33501 @endif binutils
33502 @if gas
33503 @cd $(HOST_SUBDIR); set gas stageprofile-gas ; \
33504 @UNDO_LINK_TO_DIR@ ; \
33505 set prev-gas stage1-gas ; \
33506 @UNDO_LINK_TO_DIR@
33507 @endif gas
33508 @if gcc
33509 @cd $(HOST_SUBDIR); set gcc stageprofile-gcc ; \
33510 @UNDO_LINK_TO_DIR@ ; \
33511 set prev-gcc stage1-gcc ; \
33512 @UNDO_LINK_TO_DIR@
33513 @endif gcc
33514 @if intl
33515 @cd $(HOST_SUBDIR); set intl stageprofile-intl ; \
33516 @UNDO_LINK_TO_DIR@ ; \
33517 set prev-intl stage1-intl ; \
33518 @UNDO_LINK_TO_DIR@
33519 @endif intl
33520 @if ld
33521 @cd $(HOST_SUBDIR); set ld stageprofile-ld ; \
33522 @UNDO_LINK_TO_DIR@ ; \
33523 set prev-ld stage1-ld ; \
33524 @UNDO_LINK_TO_DIR@
33525 @endif ld
33526 @if libcpp
33527 @cd $(HOST_SUBDIR); set libcpp stageprofile-libcpp ; \
33528 @UNDO_LINK_TO_DIR@ ; \
33529 set prev-libcpp stage1-libcpp ; \
33530 @UNDO_LINK_TO_DIR@
33531 @endif libcpp
33532 @if libiberty
33533 @cd $(HOST_SUBDIR); set libiberty stageprofile-libiberty ; \
33534 @UNDO_LINK_TO_DIR@ ; \
33535 set prev-libiberty stage1-libiberty ; \
33536 @UNDO_LINK_TO_DIR@
33537 @endif libiberty
33538 @if zlib
33539 @cd $(HOST_SUBDIR); set zlib stageprofile-zlib ; \
33540 @UNDO_LINK_TO_DIR@ ; \
33541 set prev-zlib stage1-zlib ; \
33542 @UNDO_LINK_TO_DIR@
33543 @endif zlib
33545 # Bubble a bugfix through all the stages up to stage profile. They
33546 # are remade, but not reconfigured. The next stage (if any) will not
33547 # be reconfigured as well.
33548 .PHONY: stageprofile-bubble
33549 stageprofile-bubble:: stage1-bubble
33550 @if test -f stageprofile-lean || test -f stage1-lean ; then \
33551 echo Skipping rebuild of stageprofile ; \
33552 else \
33553 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stageprofile; \
33556 .PHONY: all-stageprofile clean-stageprofile
33557 all-stageprofile: \
33558 maybe-all-stageprofile-bfd \
33559 maybe-all-stageprofile-opcodes \
33560 maybe-all-stageprofile-binutils \
33561 maybe-all-stageprofile-gas \
33562 maybe-all-stageprofile-gcc \
33563 maybe-all-stageprofile-intl \
33564 maybe-all-stageprofile-ld \
33565 maybe-all-stageprofile-libcpp \
33566 maybe-all-stageprofile-libiberty \
33567 maybe-all-stageprofile-zlib
33569 do-clean: clean-stageprofile
33570 clean-stageprofile: \
33571 maybe-clean-stageprofile-bfd \
33572 maybe-clean-stageprofile-opcodes \
33573 maybe-clean-stageprofile-binutils \
33574 maybe-clean-stageprofile-gas \
33575 maybe-clean-stageprofile-gcc \
33576 maybe-clean-stageprofile-intl \
33577 maybe-clean-stageprofile-ld \
33578 maybe-clean-stageprofile-libcpp \
33579 maybe-clean-stageprofile-libiberty \
33580 maybe-clean-stageprofile-zlib
33583 .PHONY: configure-stageprofile-bfd maybe-configure-stageprofile-bfd
33584 .PHONY: all-stageprofile-bfd maybe-all-stageprofile-bfd
33585 .PHONY: clean-stageprofile-bfd maybe-clean-stageprofile-bfd
33587 maybe-configure-stageprofile-bfd:
33588 maybe-all-stageprofile-bfd:
33589 maybe-clean-stageprofile-bfd:
33591 @if bfd-bootstrap
33592 maybe-configure-stageprofile-bfd: configure-stageprofile-bfd
33593 configure-stageprofile-bfd:
33594 @$(MAKE) stageprofile-start
33595 @[ -f bfd/Makefile ] && exit 0 || : ; \
33596 r=`${PWD_COMMAND}`; export r; \
33597 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33598 $(STAGE_HOST_EXPORTS) \
33599 echo Configuring stage profile in bfd ; \
33600 cd $(HOST_SUBDIR)/bfd || exit 1; \
33601 case $(srcdir) in \
33602 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33603 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
33604 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33605 esac; \
33606 srcdiroption="--srcdir=$${topdir}/bfd"; \
33607 libsrcdir="$$s/bfd"; \
33608 $(SHELL) $${libsrcdir}/configure \
33609 $(HOST_CONFIGARGS) $${srcdiroption} \
33610 @stage2_werror_flag@
33612 maybe-all-stageprofile-bfd: all-stageprofile-bfd
33613 all-stageprofile-bfd: configure-stageprofile-bfd
33614 @$(MAKE) stageprofile-start
33615 @r=`${PWD_COMMAND}`; export r; \
33616 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33617 $(STAGE_HOST_EXPORTS) \
33618 cd $(HOST_SUBDIR)/bfd && \
33619 $(MAKE) $(FLAGS_TO_PASS) \
33620 $(POSTSTAGE1_FLAGS_TO_PASS) \
33621 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33623 maybe-clean-stageprofile-bfd: clean-stageprofile-bfd
33624 clean-stageprofile-bfd:
33625 @[ -f bfd/Makefile ] || [ -f stageprofile-bfd/Makefile ] \
33626 || exit 0 ; \
33627 [ -f bfd/Makefile ] || $(MAKE) stageprofile-start ; \
33628 cd $(HOST_SUBDIR)/bfd && \
33629 $(MAKE) $(FLAGS_TO_PASS) \
33630 $(POSTSTAGE1_FLAGS_TO_PASS) \
33631 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33632 @endif bfd-bootstrap
33635 .PHONY: configure-stageprofile-opcodes maybe-configure-stageprofile-opcodes
33636 .PHONY: all-stageprofile-opcodes maybe-all-stageprofile-opcodes
33637 .PHONY: clean-stageprofile-opcodes maybe-clean-stageprofile-opcodes
33639 maybe-configure-stageprofile-opcodes:
33640 maybe-all-stageprofile-opcodes:
33641 maybe-clean-stageprofile-opcodes:
33643 @if opcodes-bootstrap
33644 maybe-configure-stageprofile-opcodes: configure-stageprofile-opcodes
33645 configure-stageprofile-opcodes:
33646 @$(MAKE) stageprofile-start
33647 @[ -f opcodes/Makefile ] && exit 0 || : ; \
33648 r=`${PWD_COMMAND}`; export r; \
33649 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33650 $(STAGE_HOST_EXPORTS) \
33651 echo Configuring stage profile in opcodes ; \
33652 cd $(HOST_SUBDIR)/opcodes || exit 1; \
33653 case $(srcdir) in \
33654 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33655 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
33656 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33657 esac; \
33658 srcdiroption="--srcdir=$${topdir}/opcodes"; \
33659 libsrcdir="$$s/opcodes"; \
33660 $(SHELL) $${libsrcdir}/configure \
33661 $(HOST_CONFIGARGS) $${srcdiroption} \
33662 @stage2_werror_flag@
33664 maybe-all-stageprofile-opcodes: all-stageprofile-opcodes
33665 all-stageprofile-opcodes: configure-stageprofile-opcodes
33666 @$(MAKE) stageprofile-start
33667 @r=`${PWD_COMMAND}`; export r; \
33668 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33669 $(STAGE_HOST_EXPORTS) \
33670 cd $(HOST_SUBDIR)/opcodes && \
33671 $(MAKE) $(FLAGS_TO_PASS) \
33672 $(POSTSTAGE1_FLAGS_TO_PASS) \
33673 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33675 maybe-clean-stageprofile-opcodes: clean-stageprofile-opcodes
33676 clean-stageprofile-opcodes:
33677 @[ -f opcodes/Makefile ] || [ -f stageprofile-opcodes/Makefile ] \
33678 || exit 0 ; \
33679 [ -f opcodes/Makefile ] || $(MAKE) stageprofile-start ; \
33680 cd $(HOST_SUBDIR)/opcodes && \
33681 $(MAKE) $(FLAGS_TO_PASS) \
33682 $(POSTSTAGE1_FLAGS_TO_PASS) \
33683 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33684 @endif opcodes-bootstrap
33687 .PHONY: configure-stageprofile-binutils maybe-configure-stageprofile-binutils
33688 .PHONY: all-stageprofile-binutils maybe-all-stageprofile-binutils
33689 .PHONY: clean-stageprofile-binutils maybe-clean-stageprofile-binutils
33691 maybe-configure-stageprofile-binutils:
33692 maybe-all-stageprofile-binutils:
33693 maybe-clean-stageprofile-binutils:
33695 @if binutils-bootstrap
33696 maybe-configure-stageprofile-binutils: configure-stageprofile-binutils
33697 configure-stageprofile-binutils:
33698 @$(MAKE) stageprofile-start
33699 @[ -f binutils/Makefile ] && exit 0 || : ; \
33700 r=`${PWD_COMMAND}`; export r; \
33701 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33702 $(STAGE_HOST_EXPORTS) \
33703 echo Configuring stage profile in binutils ; \
33704 cd $(HOST_SUBDIR)/binutils || exit 1; \
33705 case $(srcdir) in \
33706 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33707 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
33708 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33709 esac; \
33710 srcdiroption="--srcdir=$${topdir}/binutils"; \
33711 libsrcdir="$$s/binutils"; \
33712 $(SHELL) $${libsrcdir}/configure \
33713 $(HOST_CONFIGARGS) $${srcdiroption} \
33714 @stage2_werror_flag@
33716 maybe-all-stageprofile-binutils: all-stageprofile-binutils
33717 all-stageprofile-binutils: configure-stageprofile-binutils
33718 @$(MAKE) stageprofile-start
33719 @r=`${PWD_COMMAND}`; export r; \
33720 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33721 $(STAGE_HOST_EXPORTS) \
33722 cd $(HOST_SUBDIR)/binutils && \
33723 $(MAKE) $(FLAGS_TO_PASS) \
33724 $(POSTSTAGE1_FLAGS_TO_PASS) \
33725 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33727 maybe-clean-stageprofile-binutils: clean-stageprofile-binutils
33728 clean-stageprofile-binutils:
33729 @[ -f binutils/Makefile ] || [ -f stageprofile-binutils/Makefile ] \
33730 || exit 0 ; \
33731 [ -f binutils/Makefile ] || $(MAKE) stageprofile-start ; \
33732 cd $(HOST_SUBDIR)/binutils && \
33733 $(MAKE) $(FLAGS_TO_PASS) \
33734 $(POSTSTAGE1_FLAGS_TO_PASS) \
33735 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33736 @endif binutils-bootstrap
33739 .PHONY: configure-stageprofile-gas maybe-configure-stageprofile-gas
33740 .PHONY: all-stageprofile-gas maybe-all-stageprofile-gas
33741 .PHONY: clean-stageprofile-gas maybe-clean-stageprofile-gas
33743 maybe-configure-stageprofile-gas:
33744 maybe-all-stageprofile-gas:
33745 maybe-clean-stageprofile-gas:
33747 @if gas-bootstrap
33748 maybe-configure-stageprofile-gas: configure-stageprofile-gas
33749 configure-stageprofile-gas:
33750 @$(MAKE) stageprofile-start
33751 @[ -f gas/Makefile ] && exit 0 || : ; \
33752 r=`${PWD_COMMAND}`; export r; \
33753 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33754 $(STAGE_HOST_EXPORTS) \
33755 echo Configuring stage profile in gas ; \
33756 cd $(HOST_SUBDIR)/gas || exit 1; \
33757 case $(srcdir) in \
33758 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33759 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
33760 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33761 esac; \
33762 srcdiroption="--srcdir=$${topdir}/gas"; \
33763 libsrcdir="$$s/gas"; \
33764 $(SHELL) $${libsrcdir}/configure \
33765 $(HOST_CONFIGARGS) $${srcdiroption} \
33766 @stage2_werror_flag@
33768 maybe-all-stageprofile-gas: all-stageprofile-gas
33769 all-stageprofile-gas: configure-stageprofile-gas
33770 @$(MAKE) stageprofile-start
33771 @r=`${PWD_COMMAND}`; export r; \
33772 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33773 $(STAGE_HOST_EXPORTS) \
33774 cd $(HOST_SUBDIR)/gas && \
33775 $(MAKE) $(FLAGS_TO_PASS) \
33776 $(POSTSTAGE1_FLAGS_TO_PASS) \
33777 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33779 maybe-clean-stageprofile-gas: clean-stageprofile-gas
33780 clean-stageprofile-gas:
33781 @[ -f gas/Makefile ] || [ -f stageprofile-gas/Makefile ] \
33782 || exit 0 ; \
33783 [ -f gas/Makefile ] || $(MAKE) stageprofile-start ; \
33784 cd $(HOST_SUBDIR)/gas && \
33785 $(MAKE) $(FLAGS_TO_PASS) \
33786 $(POSTSTAGE1_FLAGS_TO_PASS) \
33787 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33788 @endif gas-bootstrap
33791 .PHONY: configure-stageprofile-gcc maybe-configure-stageprofile-gcc
33792 .PHONY: all-stageprofile-gcc maybe-all-stageprofile-gcc
33793 .PHONY: clean-stageprofile-gcc maybe-clean-stageprofile-gcc
33795 maybe-configure-stageprofile-gcc:
33796 maybe-all-stageprofile-gcc:
33797 maybe-clean-stageprofile-gcc:
33799 @if gcc-bootstrap
33800 maybe-configure-stageprofile-gcc: configure-stageprofile-gcc
33801 configure-stageprofile-gcc:
33802 @$(MAKE) stageprofile-start
33803 @[ -f gcc/Makefile ] && exit 0 || : ; \
33804 r=`${PWD_COMMAND}`; export r; \
33805 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33806 $(STAGE_HOST_EXPORTS) \
33807 echo Configuring stage profile in gcc ; \
33808 cd $(HOST_SUBDIR)/gcc || exit 1; \
33809 case $(srcdir) in \
33810 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33811 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
33812 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33813 esac; \
33814 srcdiroption="--srcdir=$${topdir}/gcc"; \
33815 libsrcdir="$$s/gcc"; \
33816 $(SHELL) $${libsrcdir}/configure \
33817 $(HOST_CONFIGARGS) $${srcdiroption} \
33818 @stage2_werror_flag@
33820 maybe-all-stageprofile-gcc: all-stageprofile-gcc
33821 all-stageprofile-gcc: configure-stageprofile-gcc
33822 @$(MAKE) stageprofile-start
33823 @r=`${PWD_COMMAND}`; export r; \
33824 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33825 $(STAGE_HOST_EXPORTS) \
33826 cd $(HOST_SUBDIR)/gcc && \
33827 $(MAKE) $(FLAGS_TO_PASS) \
33828 $(POSTSTAGE1_FLAGS_TO_PASS) \
33829 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS)
33831 maybe-clean-stageprofile-gcc: clean-stageprofile-gcc
33832 clean-stageprofile-gcc:
33833 @[ -f gcc/Makefile ] || [ -f stageprofile-gcc/Makefile ] \
33834 || exit 0 ; \
33835 [ -f gcc/Makefile ] || $(MAKE) stageprofile-start ; \
33836 cd $(HOST_SUBDIR)/gcc && \
33837 $(MAKE) $(FLAGS_TO_PASS) \
33838 $(POSTSTAGE1_FLAGS_TO_PASS) \
33839 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" $(EXTRA_GCC_FLAGS) clean
33840 @endif gcc-bootstrap
33843 .PHONY: configure-stageprofile-intl maybe-configure-stageprofile-intl
33844 .PHONY: all-stageprofile-intl maybe-all-stageprofile-intl
33845 .PHONY: clean-stageprofile-intl maybe-clean-stageprofile-intl
33847 maybe-configure-stageprofile-intl:
33848 maybe-all-stageprofile-intl:
33849 maybe-clean-stageprofile-intl:
33851 @if intl-bootstrap
33852 maybe-configure-stageprofile-intl: configure-stageprofile-intl
33853 configure-stageprofile-intl:
33854 @$(MAKE) stageprofile-start
33855 @[ -f intl/Makefile ] && exit 0 || : ; \
33856 r=`${PWD_COMMAND}`; export r; \
33857 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33858 $(STAGE_HOST_EXPORTS) \
33859 echo Configuring stage profile in intl ; \
33860 cd $(HOST_SUBDIR)/intl || exit 1; \
33861 case $(srcdir) in \
33862 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33863 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
33864 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33865 esac; \
33866 srcdiroption="--srcdir=$${topdir}/intl"; \
33867 libsrcdir="$$s/intl"; \
33868 $(SHELL) $${libsrcdir}/configure \
33869 $(HOST_CONFIGARGS) $${srcdiroption} \
33870 @stage2_werror_flag@
33872 maybe-all-stageprofile-intl: all-stageprofile-intl
33873 all-stageprofile-intl: configure-stageprofile-intl
33874 @$(MAKE) stageprofile-start
33875 @r=`${PWD_COMMAND}`; export r; \
33876 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33877 $(STAGE_HOST_EXPORTS) \
33878 cd $(HOST_SUBDIR)/intl && \
33879 $(MAKE) $(FLAGS_TO_PASS) \
33880 $(POSTSTAGE1_FLAGS_TO_PASS) \
33881 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33883 maybe-clean-stageprofile-intl: clean-stageprofile-intl
33884 clean-stageprofile-intl:
33885 @[ -f intl/Makefile ] || [ -f stageprofile-intl/Makefile ] \
33886 || exit 0 ; \
33887 [ -f intl/Makefile ] || $(MAKE) stageprofile-start ; \
33888 cd $(HOST_SUBDIR)/intl && \
33889 $(MAKE) $(FLAGS_TO_PASS) \
33890 $(POSTSTAGE1_FLAGS_TO_PASS) \
33891 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33892 @endif intl-bootstrap
33895 .PHONY: configure-stageprofile-ld maybe-configure-stageprofile-ld
33896 .PHONY: all-stageprofile-ld maybe-all-stageprofile-ld
33897 .PHONY: clean-stageprofile-ld maybe-clean-stageprofile-ld
33899 maybe-configure-stageprofile-ld:
33900 maybe-all-stageprofile-ld:
33901 maybe-clean-stageprofile-ld:
33903 @if ld-bootstrap
33904 maybe-configure-stageprofile-ld: configure-stageprofile-ld
33905 configure-stageprofile-ld:
33906 @$(MAKE) stageprofile-start
33907 @[ -f ld/Makefile ] && exit 0 || : ; \
33908 r=`${PWD_COMMAND}`; export r; \
33909 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33910 $(STAGE_HOST_EXPORTS) \
33911 echo Configuring stage profile in ld ; \
33912 cd $(HOST_SUBDIR)/ld || exit 1; \
33913 case $(srcdir) in \
33914 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33915 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
33916 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33917 esac; \
33918 srcdiroption="--srcdir=$${topdir}/ld"; \
33919 libsrcdir="$$s/ld"; \
33920 $(SHELL) $${libsrcdir}/configure \
33921 $(HOST_CONFIGARGS) $${srcdiroption} \
33922 @stage2_werror_flag@
33924 maybe-all-stageprofile-ld: all-stageprofile-ld
33925 all-stageprofile-ld: configure-stageprofile-ld
33926 @$(MAKE) stageprofile-start
33927 @r=`${PWD_COMMAND}`; export r; \
33928 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33929 $(STAGE_HOST_EXPORTS) \
33930 cd $(HOST_SUBDIR)/ld && \
33931 $(MAKE) $(FLAGS_TO_PASS) \
33932 $(POSTSTAGE1_FLAGS_TO_PASS) \
33933 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33935 maybe-clean-stageprofile-ld: clean-stageprofile-ld
33936 clean-stageprofile-ld:
33937 @[ -f ld/Makefile ] || [ -f stageprofile-ld/Makefile ] \
33938 || exit 0 ; \
33939 [ -f ld/Makefile ] || $(MAKE) stageprofile-start ; \
33940 cd $(HOST_SUBDIR)/ld && \
33941 $(MAKE) $(FLAGS_TO_PASS) \
33942 $(POSTSTAGE1_FLAGS_TO_PASS) \
33943 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33944 @endif ld-bootstrap
33947 .PHONY: configure-stageprofile-libcpp maybe-configure-stageprofile-libcpp
33948 .PHONY: all-stageprofile-libcpp maybe-all-stageprofile-libcpp
33949 .PHONY: clean-stageprofile-libcpp maybe-clean-stageprofile-libcpp
33951 maybe-configure-stageprofile-libcpp:
33952 maybe-all-stageprofile-libcpp:
33953 maybe-clean-stageprofile-libcpp:
33955 @if libcpp-bootstrap
33956 maybe-configure-stageprofile-libcpp: configure-stageprofile-libcpp
33957 configure-stageprofile-libcpp:
33958 @$(MAKE) stageprofile-start
33959 @[ -f libcpp/Makefile ] && exit 0 || : ; \
33960 r=`${PWD_COMMAND}`; export r; \
33961 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33962 $(STAGE_HOST_EXPORTS) \
33963 echo Configuring stage profile in libcpp ; \
33964 cd $(HOST_SUBDIR)/libcpp || exit 1; \
33965 case $(srcdir) in \
33966 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
33967 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
33968 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
33969 esac; \
33970 srcdiroption="--srcdir=$${topdir}/libcpp"; \
33971 libsrcdir="$$s/libcpp"; \
33972 $(SHELL) $${libsrcdir}/configure \
33973 $(HOST_CONFIGARGS) $${srcdiroption} \
33974 @stage2_werror_flag@
33976 maybe-all-stageprofile-libcpp: all-stageprofile-libcpp
33977 all-stageprofile-libcpp: configure-stageprofile-libcpp
33978 @$(MAKE) stageprofile-start
33979 @r=`${PWD_COMMAND}`; export r; \
33980 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
33981 $(STAGE_HOST_EXPORTS) \
33982 cd $(HOST_SUBDIR)/libcpp && \
33983 $(MAKE) $(FLAGS_TO_PASS) \
33984 $(POSTSTAGE1_FLAGS_TO_PASS) \
33985 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
33987 maybe-clean-stageprofile-libcpp: clean-stageprofile-libcpp
33988 clean-stageprofile-libcpp:
33989 @[ -f libcpp/Makefile ] || [ -f stageprofile-libcpp/Makefile ] \
33990 || exit 0 ; \
33991 [ -f libcpp/Makefile ] || $(MAKE) stageprofile-start ; \
33992 cd $(HOST_SUBDIR)/libcpp && \
33993 $(MAKE) $(FLAGS_TO_PASS) \
33994 $(POSTSTAGE1_FLAGS_TO_PASS) \
33995 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
33996 @endif libcpp-bootstrap
33999 .PHONY: configure-stageprofile-libiberty maybe-configure-stageprofile-libiberty
34000 .PHONY: all-stageprofile-libiberty maybe-all-stageprofile-libiberty
34001 .PHONY: clean-stageprofile-libiberty maybe-clean-stageprofile-libiberty
34003 maybe-configure-stageprofile-libiberty:
34004 maybe-all-stageprofile-libiberty:
34005 maybe-clean-stageprofile-libiberty:
34007 @if libiberty-bootstrap
34008 maybe-configure-stageprofile-libiberty: configure-stageprofile-libiberty
34009 configure-stageprofile-libiberty:
34010 @$(MAKE) stageprofile-start
34011 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34012 r=`${PWD_COMMAND}`; export r; \
34013 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34014 $(STAGE_HOST_EXPORTS) \
34015 echo Configuring stage profile in libiberty ; \
34016 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34017 case $(srcdir) in \
34018 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34019 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34020 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34021 esac; \
34022 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34023 libsrcdir="$$s/libiberty"; \
34024 $(SHELL) $${libsrcdir}/configure \
34025 $(HOST_CONFIGARGS) $${srcdiroption} \
34026 @stage2_werror_flag@
34028 maybe-all-stageprofile-libiberty: all-stageprofile-libiberty
34029 all-stageprofile-libiberty: configure-stageprofile-libiberty
34030 @$(MAKE) stageprofile-start
34031 @r=`${PWD_COMMAND}`; export r; \
34032 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34033 $(STAGE_HOST_EXPORTS) \
34034 cd $(HOST_SUBDIR)/libiberty && \
34035 $(MAKE) $(FLAGS_TO_PASS) \
34036 $(POSTSTAGE1_FLAGS_TO_PASS) \
34037 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34039 maybe-clean-stageprofile-libiberty: clean-stageprofile-libiberty
34040 clean-stageprofile-libiberty:
34041 @[ -f libiberty/Makefile ] || [ -f stageprofile-libiberty/Makefile ] \
34042 || exit 0 ; \
34043 [ -f libiberty/Makefile ] || $(MAKE) stageprofile-start ; \
34044 cd $(HOST_SUBDIR)/libiberty && \
34045 $(MAKE) $(FLAGS_TO_PASS) \
34046 $(POSTSTAGE1_FLAGS_TO_PASS) \
34047 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34048 @endif libiberty-bootstrap
34051 .PHONY: configure-stageprofile-zlib maybe-configure-stageprofile-zlib
34052 .PHONY: all-stageprofile-zlib maybe-all-stageprofile-zlib
34053 .PHONY: clean-stageprofile-zlib maybe-clean-stageprofile-zlib
34055 maybe-configure-stageprofile-zlib:
34056 maybe-all-stageprofile-zlib:
34057 maybe-clean-stageprofile-zlib:
34059 @if zlib-bootstrap
34060 maybe-configure-stageprofile-zlib: configure-stageprofile-zlib
34061 configure-stageprofile-zlib:
34062 @$(MAKE) stageprofile-start
34063 @[ -f zlib/Makefile ] && exit 0 || : ; \
34064 r=`${PWD_COMMAND}`; export r; \
34065 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34066 $(STAGE_HOST_EXPORTS) \
34067 echo Configuring stage profile in zlib ; \
34068 cd $(HOST_SUBDIR)/zlib || exit 1; \
34069 case $(srcdir) in \
34070 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34071 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34072 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34073 esac; \
34074 srcdiroption="--srcdir=$${topdir}/zlib"; \
34075 libsrcdir="$$s/zlib"; \
34076 $(SHELL) $${libsrcdir}/configure \
34077 $(HOST_CONFIGARGS) $${srcdiroption} \
34078 @stage2_werror_flag@
34080 maybe-all-stageprofile-zlib: all-stageprofile-zlib
34081 all-stageprofile-zlib: configure-stageprofile-zlib
34082 @$(MAKE) stageprofile-start
34083 @r=`${PWD_COMMAND}`; export r; \
34084 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34085 $(STAGE_HOST_EXPORTS) \
34086 cd $(HOST_SUBDIR)/zlib && \
34087 $(MAKE) $(FLAGS_TO_PASS) \
34088 $(POSTSTAGE1_FLAGS_TO_PASS) \
34089 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
34091 maybe-clean-stageprofile-zlib: clean-stageprofile-zlib
34092 clean-stageprofile-zlib:
34093 @[ -f zlib/Makefile ] || [ -f stageprofile-zlib/Makefile ] \
34094 || exit 0 ; \
34095 [ -f zlib/Makefile ] || $(MAKE) stageprofile-start ; \
34096 cd $(HOST_SUBDIR)/zlib && \
34097 $(MAKE) $(FLAGS_TO_PASS) \
34098 $(POSTSTAGE1_FLAGS_TO_PASS) \
34099 CFLAGS="$(BOOT_CFLAGS) -fprofile-generate" clean
34100 @endif zlib-bootstrap
34104 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34105 # only possibility, but now it conflicts with no-bootstrap rules
34106 @if gcc-bootstrap
34111 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34112 distclean-stage1:: distclean-stageprofile
34113 .PHONY: distclean-stageprofile
34114 distclean-stageprofile::
34115 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34116 rm -rf stageprofile-*
34119 @endif gcc-bootstrap
34122 .PHONY: stagefeedback-start stagefeedback-end
34124 stagefeedback-start::
34125 @[ -f stage_current ] && $(MAKE) `cat stage_current`-end || : ; \
34126 echo stagefeedback > stage_current ; \
34127 echo stagefeedback > stage_last; \
34128 $(mkinstalldirs) $(HOST_SUBDIR)
34129 @if bfd
34130 @cd $(HOST_SUBDIR); [ -d stagefeedback-bfd ] || \
34131 mkdir stagefeedback-bfd; \
34132 set stagefeedback-bfd bfd ; \
34133 @CREATE_LINK_TO_DIR@ ; \
34134 set stage1-bfd prev-bfd ; \
34135 @CREATE_LINK_TO_DIR@
34136 @endif bfd
34137 @if opcodes
34138 @cd $(HOST_SUBDIR); [ -d stagefeedback-opcodes ] || \
34139 mkdir stagefeedback-opcodes; \
34140 set stagefeedback-opcodes opcodes ; \
34141 @CREATE_LINK_TO_DIR@ ; \
34142 set stage1-opcodes prev-opcodes ; \
34143 @CREATE_LINK_TO_DIR@
34144 @endif opcodes
34145 @if binutils
34146 @cd $(HOST_SUBDIR); [ -d stagefeedback-binutils ] || \
34147 mkdir stagefeedback-binutils; \
34148 set stagefeedback-binutils binutils ; \
34149 @CREATE_LINK_TO_DIR@ ; \
34150 set stage1-binutils prev-binutils ; \
34151 @CREATE_LINK_TO_DIR@
34152 @endif binutils
34153 @if gas
34154 @cd $(HOST_SUBDIR); [ -d stagefeedback-gas ] || \
34155 mkdir stagefeedback-gas; \
34156 set stagefeedback-gas gas ; \
34157 @CREATE_LINK_TO_DIR@ ; \
34158 set stage1-gas prev-gas ; \
34159 @CREATE_LINK_TO_DIR@
34160 @endif gas
34161 @if gcc
34162 @cd $(HOST_SUBDIR); [ -d stagefeedback-gcc ] || \
34163 mkdir stagefeedback-gcc; \
34164 set stagefeedback-gcc gcc ; \
34165 @CREATE_LINK_TO_DIR@ ; \
34166 set stage1-gcc prev-gcc ; \
34167 @CREATE_LINK_TO_DIR@
34168 @endif gcc
34169 @if intl
34170 @cd $(HOST_SUBDIR); [ -d stagefeedback-intl ] || \
34171 mkdir stagefeedback-intl; \
34172 set stagefeedback-intl intl ; \
34173 @CREATE_LINK_TO_DIR@ ; \
34174 set stage1-intl prev-intl ; \
34175 @CREATE_LINK_TO_DIR@
34176 @endif intl
34177 @if ld
34178 @cd $(HOST_SUBDIR); [ -d stagefeedback-ld ] || \
34179 mkdir stagefeedback-ld; \
34180 set stagefeedback-ld ld ; \
34181 @CREATE_LINK_TO_DIR@ ; \
34182 set stage1-ld prev-ld ; \
34183 @CREATE_LINK_TO_DIR@
34184 @endif ld
34185 @if libcpp
34186 @cd $(HOST_SUBDIR); [ -d stagefeedback-libcpp ] || \
34187 mkdir stagefeedback-libcpp; \
34188 set stagefeedback-libcpp libcpp ; \
34189 @CREATE_LINK_TO_DIR@ ; \
34190 set stage1-libcpp prev-libcpp ; \
34191 @CREATE_LINK_TO_DIR@
34192 @endif libcpp
34193 @if libiberty
34194 @cd $(HOST_SUBDIR); [ -d stagefeedback-libiberty ] || \
34195 mkdir stagefeedback-libiberty; \
34196 set stagefeedback-libiberty libiberty ; \
34197 @CREATE_LINK_TO_DIR@ ; \
34198 set stage1-libiberty prev-libiberty ; \
34199 @CREATE_LINK_TO_DIR@
34200 @endif libiberty
34201 @if zlib
34202 @cd $(HOST_SUBDIR); [ -d stagefeedback-zlib ] || \
34203 mkdir stagefeedback-zlib; \
34204 set stagefeedback-zlib zlib ; \
34205 @CREATE_LINK_TO_DIR@ ; \
34206 set stage1-zlib prev-zlib ; \
34207 @CREATE_LINK_TO_DIR@
34208 @endif zlib
34210 stagefeedback-end::
34211 @rm -f stage_current
34212 @if bfd
34213 @cd $(HOST_SUBDIR); set bfd stagefeedback-bfd ; \
34214 @UNDO_LINK_TO_DIR@ ; \
34215 set prev-bfd stage1-bfd ; \
34216 @UNDO_LINK_TO_DIR@
34217 @endif bfd
34218 @if opcodes
34219 @cd $(HOST_SUBDIR); set opcodes stagefeedback-opcodes ; \
34220 @UNDO_LINK_TO_DIR@ ; \
34221 set prev-opcodes stage1-opcodes ; \
34222 @UNDO_LINK_TO_DIR@
34223 @endif opcodes
34224 @if binutils
34225 @cd $(HOST_SUBDIR); set binutils stagefeedback-binutils ; \
34226 @UNDO_LINK_TO_DIR@ ; \
34227 set prev-binutils stage1-binutils ; \
34228 @UNDO_LINK_TO_DIR@
34229 @endif binutils
34230 @if gas
34231 @cd $(HOST_SUBDIR); set gas stagefeedback-gas ; \
34232 @UNDO_LINK_TO_DIR@ ; \
34233 set prev-gas stage1-gas ; \
34234 @UNDO_LINK_TO_DIR@
34235 @endif gas
34236 @if gcc
34237 @cd $(HOST_SUBDIR); set gcc stagefeedback-gcc ; \
34238 @UNDO_LINK_TO_DIR@ ; \
34239 set prev-gcc stage1-gcc ; \
34240 @UNDO_LINK_TO_DIR@
34241 @endif gcc
34242 @if intl
34243 @cd $(HOST_SUBDIR); set intl stagefeedback-intl ; \
34244 @UNDO_LINK_TO_DIR@ ; \
34245 set prev-intl stage1-intl ; \
34246 @UNDO_LINK_TO_DIR@
34247 @endif intl
34248 @if ld
34249 @cd $(HOST_SUBDIR); set ld stagefeedback-ld ; \
34250 @UNDO_LINK_TO_DIR@ ; \
34251 set prev-ld stage1-ld ; \
34252 @UNDO_LINK_TO_DIR@
34253 @endif ld
34254 @if libcpp
34255 @cd $(HOST_SUBDIR); set libcpp stagefeedback-libcpp ; \
34256 @UNDO_LINK_TO_DIR@ ; \
34257 set prev-libcpp stage1-libcpp ; \
34258 @UNDO_LINK_TO_DIR@
34259 @endif libcpp
34260 @if libiberty
34261 @cd $(HOST_SUBDIR); set libiberty stagefeedback-libiberty ; \
34262 @UNDO_LINK_TO_DIR@ ; \
34263 set prev-libiberty stage1-libiberty ; \
34264 @UNDO_LINK_TO_DIR@
34265 @endif libiberty
34266 @if zlib
34267 @cd $(HOST_SUBDIR); set zlib stagefeedback-zlib ; \
34268 @UNDO_LINK_TO_DIR@ ; \
34269 set prev-zlib stage1-zlib ; \
34270 @UNDO_LINK_TO_DIR@
34271 @endif zlib
34273 # Bubble a bugfix through all the stages up to stage feedback. They
34274 # are remade, but not reconfigured. The next stage (if any) will not
34275 # be reconfigured as well.
34276 .PHONY: stagefeedback-bubble
34277 stagefeedback-bubble:: stage1-bubble
34278 @if test -f stagefeedback-lean || test -f stage1-lean ; then \
34279 echo Skipping rebuild of stagefeedback ; \
34280 else \
34281 $(MAKE) $(RECURSE_FLAGS_TO_PASS) NOTPARALLEL= all-stagefeedback; \
34284 .PHONY: all-stagefeedback clean-stagefeedback
34285 all-stagefeedback: \
34286 maybe-all-stagefeedback-bfd \
34287 maybe-all-stagefeedback-opcodes \
34288 maybe-all-stagefeedback-binutils \
34289 maybe-all-stagefeedback-gas \
34290 maybe-all-stagefeedback-gcc \
34291 maybe-all-stagefeedback-intl \
34292 maybe-all-stagefeedback-ld \
34293 maybe-all-stagefeedback-libcpp \
34294 maybe-all-stagefeedback-libiberty \
34295 maybe-all-stagefeedback-zlib
34297 do-clean: clean-stagefeedback
34298 clean-stagefeedback: \
34299 maybe-clean-stagefeedback-bfd \
34300 maybe-clean-stagefeedback-opcodes \
34301 maybe-clean-stagefeedback-binutils \
34302 maybe-clean-stagefeedback-gas \
34303 maybe-clean-stagefeedback-gcc \
34304 maybe-clean-stagefeedback-intl \
34305 maybe-clean-stagefeedback-ld \
34306 maybe-clean-stagefeedback-libcpp \
34307 maybe-clean-stagefeedback-libiberty \
34308 maybe-clean-stagefeedback-zlib
34311 .PHONY: configure-stagefeedback-bfd maybe-configure-stagefeedback-bfd
34312 .PHONY: all-stagefeedback-bfd maybe-all-stagefeedback-bfd
34313 .PHONY: clean-stagefeedback-bfd maybe-clean-stagefeedback-bfd
34315 maybe-configure-stagefeedback-bfd:
34316 maybe-all-stagefeedback-bfd:
34317 maybe-clean-stagefeedback-bfd:
34319 @if bfd-bootstrap
34320 maybe-configure-stagefeedback-bfd: configure-stagefeedback-bfd
34321 configure-stagefeedback-bfd:
34322 @$(MAKE) stagefeedback-start
34323 @[ -f bfd/Makefile ] && exit 0 || : ; \
34324 r=`${PWD_COMMAND}`; export r; \
34325 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34326 $(STAGE_HOST_EXPORTS) \
34327 echo Configuring stage feedback in bfd ; \
34328 cd $(HOST_SUBDIR)/bfd || exit 1; \
34329 case $(srcdir) in \
34330 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34331 *) topdir=`echo $(HOST_SUBDIR)/bfd/ | \
34332 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34333 esac; \
34334 srcdiroption="--srcdir=$${topdir}/bfd"; \
34335 libsrcdir="$$s/bfd"; \
34336 $(SHELL) $${libsrcdir}/configure \
34337 $(HOST_CONFIGARGS) $${srcdiroption} \
34338 @stage2_werror_flag@
34340 maybe-all-stagefeedback-bfd: all-stagefeedback-bfd
34341 all-stagefeedback-bfd: configure-stagefeedback-bfd
34342 @$(MAKE) stagefeedback-start
34343 @r=`${PWD_COMMAND}`; export r; \
34344 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34345 $(STAGE_HOST_EXPORTS) \
34346 cd $(HOST_SUBDIR)/bfd && \
34347 $(MAKE) $(FLAGS_TO_PASS) \
34348 $(POSTSTAGE1_FLAGS_TO_PASS) \
34349 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34351 maybe-clean-stagefeedback-bfd: clean-stagefeedback-bfd
34352 clean-stagefeedback-bfd:
34353 @[ -f bfd/Makefile ] || [ -f stagefeedback-bfd/Makefile ] \
34354 || exit 0 ; \
34355 [ -f bfd/Makefile ] || $(MAKE) stagefeedback-start ; \
34356 cd $(HOST_SUBDIR)/bfd && \
34357 $(MAKE) $(FLAGS_TO_PASS) \
34358 $(POSTSTAGE1_FLAGS_TO_PASS) \
34359 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34360 @endif bfd-bootstrap
34363 .PHONY: configure-stagefeedback-opcodes maybe-configure-stagefeedback-opcodes
34364 .PHONY: all-stagefeedback-opcodes maybe-all-stagefeedback-opcodes
34365 .PHONY: clean-stagefeedback-opcodes maybe-clean-stagefeedback-opcodes
34367 maybe-configure-stagefeedback-opcodes:
34368 maybe-all-stagefeedback-opcodes:
34369 maybe-clean-stagefeedback-opcodes:
34371 @if opcodes-bootstrap
34372 maybe-configure-stagefeedback-opcodes: configure-stagefeedback-opcodes
34373 configure-stagefeedback-opcodes:
34374 @$(MAKE) stagefeedback-start
34375 @[ -f opcodes/Makefile ] && exit 0 || : ; \
34376 r=`${PWD_COMMAND}`; export r; \
34377 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34378 $(STAGE_HOST_EXPORTS) \
34379 echo Configuring stage feedback in opcodes ; \
34380 cd $(HOST_SUBDIR)/opcodes || exit 1; \
34381 case $(srcdir) in \
34382 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34383 *) topdir=`echo $(HOST_SUBDIR)/opcodes/ | \
34384 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34385 esac; \
34386 srcdiroption="--srcdir=$${topdir}/opcodes"; \
34387 libsrcdir="$$s/opcodes"; \
34388 $(SHELL) $${libsrcdir}/configure \
34389 $(HOST_CONFIGARGS) $${srcdiroption} \
34390 @stage2_werror_flag@
34392 maybe-all-stagefeedback-opcodes: all-stagefeedback-opcodes
34393 all-stagefeedback-opcodes: configure-stagefeedback-opcodes
34394 @$(MAKE) stagefeedback-start
34395 @r=`${PWD_COMMAND}`; export r; \
34396 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34397 $(STAGE_HOST_EXPORTS) \
34398 cd $(HOST_SUBDIR)/opcodes && \
34399 $(MAKE) $(FLAGS_TO_PASS) \
34400 $(POSTSTAGE1_FLAGS_TO_PASS) \
34401 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34403 maybe-clean-stagefeedback-opcodes: clean-stagefeedback-opcodes
34404 clean-stagefeedback-opcodes:
34405 @[ -f opcodes/Makefile ] || [ -f stagefeedback-opcodes/Makefile ] \
34406 || exit 0 ; \
34407 [ -f opcodes/Makefile ] || $(MAKE) stagefeedback-start ; \
34408 cd $(HOST_SUBDIR)/opcodes && \
34409 $(MAKE) $(FLAGS_TO_PASS) \
34410 $(POSTSTAGE1_FLAGS_TO_PASS) \
34411 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34412 @endif opcodes-bootstrap
34415 .PHONY: configure-stagefeedback-binutils maybe-configure-stagefeedback-binutils
34416 .PHONY: all-stagefeedback-binutils maybe-all-stagefeedback-binutils
34417 .PHONY: clean-stagefeedback-binutils maybe-clean-stagefeedback-binutils
34419 maybe-configure-stagefeedback-binutils:
34420 maybe-all-stagefeedback-binutils:
34421 maybe-clean-stagefeedback-binutils:
34423 @if binutils-bootstrap
34424 maybe-configure-stagefeedback-binutils: configure-stagefeedback-binutils
34425 configure-stagefeedback-binutils:
34426 @$(MAKE) stagefeedback-start
34427 @[ -f binutils/Makefile ] && exit 0 || : ; \
34428 r=`${PWD_COMMAND}`; export r; \
34429 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34430 $(STAGE_HOST_EXPORTS) \
34431 echo Configuring stage feedback in binutils ; \
34432 cd $(HOST_SUBDIR)/binutils || exit 1; \
34433 case $(srcdir) in \
34434 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34435 *) topdir=`echo $(HOST_SUBDIR)/binutils/ | \
34436 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34437 esac; \
34438 srcdiroption="--srcdir=$${topdir}/binutils"; \
34439 libsrcdir="$$s/binutils"; \
34440 $(SHELL) $${libsrcdir}/configure \
34441 $(HOST_CONFIGARGS) $${srcdiroption} \
34442 @stage2_werror_flag@
34444 maybe-all-stagefeedback-binutils: all-stagefeedback-binutils
34445 all-stagefeedback-binutils: configure-stagefeedback-binutils
34446 @$(MAKE) stagefeedback-start
34447 @r=`${PWD_COMMAND}`; export r; \
34448 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34449 $(STAGE_HOST_EXPORTS) \
34450 cd $(HOST_SUBDIR)/binutils && \
34451 $(MAKE) $(FLAGS_TO_PASS) \
34452 $(POSTSTAGE1_FLAGS_TO_PASS) \
34453 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34455 maybe-clean-stagefeedback-binutils: clean-stagefeedback-binutils
34456 clean-stagefeedback-binutils:
34457 @[ -f binutils/Makefile ] || [ -f stagefeedback-binutils/Makefile ] \
34458 || exit 0 ; \
34459 [ -f binutils/Makefile ] || $(MAKE) stagefeedback-start ; \
34460 cd $(HOST_SUBDIR)/binutils && \
34461 $(MAKE) $(FLAGS_TO_PASS) \
34462 $(POSTSTAGE1_FLAGS_TO_PASS) \
34463 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34464 @endif binutils-bootstrap
34467 .PHONY: configure-stagefeedback-gas maybe-configure-stagefeedback-gas
34468 .PHONY: all-stagefeedback-gas maybe-all-stagefeedback-gas
34469 .PHONY: clean-stagefeedback-gas maybe-clean-stagefeedback-gas
34471 maybe-configure-stagefeedback-gas:
34472 maybe-all-stagefeedback-gas:
34473 maybe-clean-stagefeedback-gas:
34475 @if gas-bootstrap
34476 maybe-configure-stagefeedback-gas: configure-stagefeedback-gas
34477 configure-stagefeedback-gas:
34478 @$(MAKE) stagefeedback-start
34479 @[ -f gas/Makefile ] && exit 0 || : ; \
34480 r=`${PWD_COMMAND}`; export r; \
34481 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34482 $(STAGE_HOST_EXPORTS) \
34483 echo Configuring stage feedback in gas ; \
34484 cd $(HOST_SUBDIR)/gas || exit 1; \
34485 case $(srcdir) in \
34486 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34487 *) topdir=`echo $(HOST_SUBDIR)/gas/ | \
34488 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34489 esac; \
34490 srcdiroption="--srcdir=$${topdir}/gas"; \
34491 libsrcdir="$$s/gas"; \
34492 $(SHELL) $${libsrcdir}/configure \
34493 $(HOST_CONFIGARGS) $${srcdiroption} \
34494 @stage2_werror_flag@
34496 maybe-all-stagefeedback-gas: all-stagefeedback-gas
34497 all-stagefeedback-gas: configure-stagefeedback-gas
34498 @$(MAKE) stagefeedback-start
34499 @r=`${PWD_COMMAND}`; export r; \
34500 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34501 $(STAGE_HOST_EXPORTS) \
34502 cd $(HOST_SUBDIR)/gas && \
34503 $(MAKE) $(FLAGS_TO_PASS) \
34504 $(POSTSTAGE1_FLAGS_TO_PASS) \
34505 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34507 maybe-clean-stagefeedback-gas: clean-stagefeedback-gas
34508 clean-stagefeedback-gas:
34509 @[ -f gas/Makefile ] || [ -f stagefeedback-gas/Makefile ] \
34510 || exit 0 ; \
34511 [ -f gas/Makefile ] || $(MAKE) stagefeedback-start ; \
34512 cd $(HOST_SUBDIR)/gas && \
34513 $(MAKE) $(FLAGS_TO_PASS) \
34514 $(POSTSTAGE1_FLAGS_TO_PASS) \
34515 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34516 @endif gas-bootstrap
34519 .PHONY: configure-stagefeedback-gcc maybe-configure-stagefeedback-gcc
34520 .PHONY: all-stagefeedback-gcc maybe-all-stagefeedback-gcc
34521 .PHONY: clean-stagefeedback-gcc maybe-clean-stagefeedback-gcc
34523 maybe-configure-stagefeedback-gcc:
34524 maybe-all-stagefeedback-gcc:
34525 maybe-clean-stagefeedback-gcc:
34527 @if gcc-bootstrap
34528 maybe-configure-stagefeedback-gcc: configure-stagefeedback-gcc
34529 configure-stagefeedback-gcc:
34530 @$(MAKE) stagefeedback-start
34531 @[ -f gcc/Makefile ] && exit 0 || : ; \
34532 r=`${PWD_COMMAND}`; export r; \
34533 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34534 $(STAGE_HOST_EXPORTS) \
34535 echo Configuring stage feedback in gcc ; \
34536 cd $(HOST_SUBDIR)/gcc || exit 1; \
34537 case $(srcdir) in \
34538 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34539 *) topdir=`echo $(HOST_SUBDIR)/gcc/ | \
34540 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34541 esac; \
34542 srcdiroption="--srcdir=$${topdir}/gcc"; \
34543 libsrcdir="$$s/gcc"; \
34544 $(SHELL) $${libsrcdir}/configure \
34545 $(HOST_CONFIGARGS) $${srcdiroption} \
34546 @stage2_werror_flag@
34548 maybe-all-stagefeedback-gcc: all-stagefeedback-gcc
34549 all-stagefeedback-gcc: configure-stagefeedback-gcc
34550 @$(MAKE) stagefeedback-start
34551 @r=`${PWD_COMMAND}`; export r; \
34552 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34553 $(STAGE_HOST_EXPORTS) \
34554 cd $(HOST_SUBDIR)/gcc && \
34555 $(MAKE) $(FLAGS_TO_PASS) \
34556 $(POSTSTAGE1_FLAGS_TO_PASS) \
34557 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS)
34559 maybe-clean-stagefeedback-gcc: clean-stagefeedback-gcc
34560 clean-stagefeedback-gcc:
34561 @[ -f gcc/Makefile ] || [ -f stagefeedback-gcc/Makefile ] \
34562 || exit 0 ; \
34563 [ -f gcc/Makefile ] || $(MAKE) stagefeedback-start ; \
34564 cd $(HOST_SUBDIR)/gcc && \
34565 $(MAKE) $(FLAGS_TO_PASS) \
34566 $(POSTSTAGE1_FLAGS_TO_PASS) \
34567 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" $(EXTRA_GCC_FLAGS) clean
34568 @endif gcc-bootstrap
34571 .PHONY: configure-stagefeedback-intl maybe-configure-stagefeedback-intl
34572 .PHONY: all-stagefeedback-intl maybe-all-stagefeedback-intl
34573 .PHONY: clean-stagefeedback-intl maybe-clean-stagefeedback-intl
34575 maybe-configure-stagefeedback-intl:
34576 maybe-all-stagefeedback-intl:
34577 maybe-clean-stagefeedback-intl:
34579 @if intl-bootstrap
34580 maybe-configure-stagefeedback-intl: configure-stagefeedback-intl
34581 configure-stagefeedback-intl:
34582 @$(MAKE) stagefeedback-start
34583 @[ -f intl/Makefile ] && exit 0 || : ; \
34584 r=`${PWD_COMMAND}`; export r; \
34585 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34586 $(STAGE_HOST_EXPORTS) \
34587 echo Configuring stage feedback in intl ; \
34588 cd $(HOST_SUBDIR)/intl || exit 1; \
34589 case $(srcdir) in \
34590 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34591 *) topdir=`echo $(HOST_SUBDIR)/intl/ | \
34592 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34593 esac; \
34594 srcdiroption="--srcdir=$${topdir}/intl"; \
34595 libsrcdir="$$s/intl"; \
34596 $(SHELL) $${libsrcdir}/configure \
34597 $(HOST_CONFIGARGS) $${srcdiroption} \
34598 @stage2_werror_flag@
34600 maybe-all-stagefeedback-intl: all-stagefeedback-intl
34601 all-stagefeedback-intl: configure-stagefeedback-intl
34602 @$(MAKE) stagefeedback-start
34603 @r=`${PWD_COMMAND}`; export r; \
34604 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34605 $(STAGE_HOST_EXPORTS) \
34606 cd $(HOST_SUBDIR)/intl && \
34607 $(MAKE) $(FLAGS_TO_PASS) \
34608 $(POSTSTAGE1_FLAGS_TO_PASS) \
34609 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34611 maybe-clean-stagefeedback-intl: clean-stagefeedback-intl
34612 clean-stagefeedback-intl:
34613 @[ -f intl/Makefile ] || [ -f stagefeedback-intl/Makefile ] \
34614 || exit 0 ; \
34615 [ -f intl/Makefile ] || $(MAKE) stagefeedback-start ; \
34616 cd $(HOST_SUBDIR)/intl && \
34617 $(MAKE) $(FLAGS_TO_PASS) \
34618 $(POSTSTAGE1_FLAGS_TO_PASS) \
34619 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34620 @endif intl-bootstrap
34623 .PHONY: configure-stagefeedback-ld maybe-configure-stagefeedback-ld
34624 .PHONY: all-stagefeedback-ld maybe-all-stagefeedback-ld
34625 .PHONY: clean-stagefeedback-ld maybe-clean-stagefeedback-ld
34627 maybe-configure-stagefeedback-ld:
34628 maybe-all-stagefeedback-ld:
34629 maybe-clean-stagefeedback-ld:
34631 @if ld-bootstrap
34632 maybe-configure-stagefeedback-ld: configure-stagefeedback-ld
34633 configure-stagefeedback-ld:
34634 @$(MAKE) stagefeedback-start
34635 @[ -f ld/Makefile ] && exit 0 || : ; \
34636 r=`${PWD_COMMAND}`; export r; \
34637 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34638 $(STAGE_HOST_EXPORTS) \
34639 echo Configuring stage feedback in ld ; \
34640 cd $(HOST_SUBDIR)/ld || exit 1; \
34641 case $(srcdir) in \
34642 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34643 *) topdir=`echo $(HOST_SUBDIR)/ld/ | \
34644 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34645 esac; \
34646 srcdiroption="--srcdir=$${topdir}/ld"; \
34647 libsrcdir="$$s/ld"; \
34648 $(SHELL) $${libsrcdir}/configure \
34649 $(HOST_CONFIGARGS) $${srcdiroption} \
34650 @stage2_werror_flag@
34652 maybe-all-stagefeedback-ld: all-stagefeedback-ld
34653 all-stagefeedback-ld: configure-stagefeedback-ld
34654 @$(MAKE) stagefeedback-start
34655 @r=`${PWD_COMMAND}`; export r; \
34656 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34657 $(STAGE_HOST_EXPORTS) \
34658 cd $(HOST_SUBDIR)/ld && \
34659 $(MAKE) $(FLAGS_TO_PASS) \
34660 $(POSTSTAGE1_FLAGS_TO_PASS) \
34661 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34663 maybe-clean-stagefeedback-ld: clean-stagefeedback-ld
34664 clean-stagefeedback-ld:
34665 @[ -f ld/Makefile ] || [ -f stagefeedback-ld/Makefile ] \
34666 || exit 0 ; \
34667 [ -f ld/Makefile ] || $(MAKE) stagefeedback-start ; \
34668 cd $(HOST_SUBDIR)/ld && \
34669 $(MAKE) $(FLAGS_TO_PASS) \
34670 $(POSTSTAGE1_FLAGS_TO_PASS) \
34671 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34672 @endif ld-bootstrap
34675 .PHONY: configure-stagefeedback-libcpp maybe-configure-stagefeedback-libcpp
34676 .PHONY: all-stagefeedback-libcpp maybe-all-stagefeedback-libcpp
34677 .PHONY: clean-stagefeedback-libcpp maybe-clean-stagefeedback-libcpp
34679 maybe-configure-stagefeedback-libcpp:
34680 maybe-all-stagefeedback-libcpp:
34681 maybe-clean-stagefeedback-libcpp:
34683 @if libcpp-bootstrap
34684 maybe-configure-stagefeedback-libcpp: configure-stagefeedback-libcpp
34685 configure-stagefeedback-libcpp:
34686 @$(MAKE) stagefeedback-start
34687 @[ -f libcpp/Makefile ] && exit 0 || : ; \
34688 r=`${PWD_COMMAND}`; export r; \
34689 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34690 $(STAGE_HOST_EXPORTS) \
34691 echo Configuring stage feedback in libcpp ; \
34692 cd $(HOST_SUBDIR)/libcpp || exit 1; \
34693 case $(srcdir) in \
34694 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34695 *) topdir=`echo $(HOST_SUBDIR)/libcpp/ | \
34696 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34697 esac; \
34698 srcdiroption="--srcdir=$${topdir}/libcpp"; \
34699 libsrcdir="$$s/libcpp"; \
34700 $(SHELL) $${libsrcdir}/configure \
34701 $(HOST_CONFIGARGS) $${srcdiroption} \
34702 @stage2_werror_flag@
34704 maybe-all-stagefeedback-libcpp: all-stagefeedback-libcpp
34705 all-stagefeedback-libcpp: configure-stagefeedback-libcpp
34706 @$(MAKE) stagefeedback-start
34707 @r=`${PWD_COMMAND}`; export r; \
34708 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34709 $(STAGE_HOST_EXPORTS) \
34710 cd $(HOST_SUBDIR)/libcpp && \
34711 $(MAKE) $(FLAGS_TO_PASS) \
34712 $(POSTSTAGE1_FLAGS_TO_PASS) \
34713 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34715 maybe-clean-stagefeedback-libcpp: clean-stagefeedback-libcpp
34716 clean-stagefeedback-libcpp:
34717 @[ -f libcpp/Makefile ] || [ -f stagefeedback-libcpp/Makefile ] \
34718 || exit 0 ; \
34719 [ -f libcpp/Makefile ] || $(MAKE) stagefeedback-start ; \
34720 cd $(HOST_SUBDIR)/libcpp && \
34721 $(MAKE) $(FLAGS_TO_PASS) \
34722 $(POSTSTAGE1_FLAGS_TO_PASS) \
34723 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34724 @endif libcpp-bootstrap
34727 .PHONY: configure-stagefeedback-libiberty maybe-configure-stagefeedback-libiberty
34728 .PHONY: all-stagefeedback-libiberty maybe-all-stagefeedback-libiberty
34729 .PHONY: clean-stagefeedback-libiberty maybe-clean-stagefeedback-libiberty
34731 maybe-configure-stagefeedback-libiberty:
34732 maybe-all-stagefeedback-libiberty:
34733 maybe-clean-stagefeedback-libiberty:
34735 @if libiberty-bootstrap
34736 maybe-configure-stagefeedback-libiberty: configure-stagefeedback-libiberty
34737 configure-stagefeedback-libiberty:
34738 @$(MAKE) stagefeedback-start
34739 @[ -f libiberty/Makefile ] && exit 0 || : ; \
34740 r=`${PWD_COMMAND}`; export r; \
34741 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34742 $(STAGE_HOST_EXPORTS) \
34743 echo Configuring stage feedback in libiberty ; \
34744 cd $(HOST_SUBDIR)/libiberty || exit 1; \
34745 case $(srcdir) in \
34746 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34747 *) topdir=`echo $(HOST_SUBDIR)/libiberty/ | \
34748 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34749 esac; \
34750 srcdiroption="--srcdir=$${topdir}/libiberty"; \
34751 libsrcdir="$$s/libiberty"; \
34752 $(SHELL) $${libsrcdir}/configure \
34753 $(HOST_CONFIGARGS) $${srcdiroption} \
34754 @stage2_werror_flag@
34756 maybe-all-stagefeedback-libiberty: all-stagefeedback-libiberty
34757 all-stagefeedback-libiberty: configure-stagefeedback-libiberty
34758 @$(MAKE) stagefeedback-start
34759 @r=`${PWD_COMMAND}`; export r; \
34760 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34761 $(STAGE_HOST_EXPORTS) \
34762 cd $(HOST_SUBDIR)/libiberty && \
34763 $(MAKE) $(FLAGS_TO_PASS) \
34764 $(POSTSTAGE1_FLAGS_TO_PASS) \
34765 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34767 maybe-clean-stagefeedback-libiberty: clean-stagefeedback-libiberty
34768 clean-stagefeedback-libiberty:
34769 @[ -f libiberty/Makefile ] || [ -f stagefeedback-libiberty/Makefile ] \
34770 || exit 0 ; \
34771 [ -f libiberty/Makefile ] || $(MAKE) stagefeedback-start ; \
34772 cd $(HOST_SUBDIR)/libiberty && \
34773 $(MAKE) $(FLAGS_TO_PASS) \
34774 $(POSTSTAGE1_FLAGS_TO_PASS) \
34775 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34776 @endif libiberty-bootstrap
34779 .PHONY: configure-stagefeedback-zlib maybe-configure-stagefeedback-zlib
34780 .PHONY: all-stagefeedback-zlib maybe-all-stagefeedback-zlib
34781 .PHONY: clean-stagefeedback-zlib maybe-clean-stagefeedback-zlib
34783 maybe-configure-stagefeedback-zlib:
34784 maybe-all-stagefeedback-zlib:
34785 maybe-clean-stagefeedback-zlib:
34787 @if zlib-bootstrap
34788 maybe-configure-stagefeedback-zlib: configure-stagefeedback-zlib
34789 configure-stagefeedback-zlib:
34790 @$(MAKE) stagefeedback-start
34791 @[ -f zlib/Makefile ] && exit 0 || : ; \
34792 r=`${PWD_COMMAND}`; export r; \
34793 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34794 $(STAGE_HOST_EXPORTS) \
34795 echo Configuring stage feedback in zlib ; \
34796 cd $(HOST_SUBDIR)/zlib || exit 1; \
34797 case $(srcdir) in \
34798 /* | [A-Za-z]:[\\/]*) topdir=$(srcdir) ;; \
34799 *) topdir=`echo $(HOST_SUBDIR)/zlib/ | \
34800 sed -e 's,\./,,g' -e 's,[^/]*/,../,g' `$(srcdir) ;; \
34801 esac; \
34802 srcdiroption="--srcdir=$${topdir}/zlib"; \
34803 libsrcdir="$$s/zlib"; \
34804 $(SHELL) $${libsrcdir}/configure \
34805 $(HOST_CONFIGARGS) $${srcdiroption} \
34806 @stage2_werror_flag@
34808 maybe-all-stagefeedback-zlib: all-stagefeedback-zlib
34809 all-stagefeedback-zlib: configure-stagefeedback-zlib
34810 @$(MAKE) stagefeedback-start
34811 @r=`${PWD_COMMAND}`; export r; \
34812 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34813 $(STAGE_HOST_EXPORTS) \
34814 cd $(HOST_SUBDIR)/zlib && \
34815 $(MAKE) $(FLAGS_TO_PASS) \
34816 $(POSTSTAGE1_FLAGS_TO_PASS) \
34817 CFLAGS="$(BOOT_CFLAGS) -fprofile-use"
34819 maybe-clean-stagefeedback-zlib: clean-stagefeedback-zlib
34820 clean-stagefeedback-zlib:
34821 @[ -f zlib/Makefile ] || [ -f stagefeedback-zlib/Makefile ] \
34822 || exit 0 ; \
34823 [ -f zlib/Makefile ] || $(MAKE) stagefeedback-start ; \
34824 cd $(HOST_SUBDIR)/zlib && \
34825 $(MAKE) $(FLAGS_TO_PASS) \
34826 $(POSTSTAGE1_FLAGS_TO_PASS) \
34827 CFLAGS="$(BOOT_CFLAGS) -fprofile-use" clean
34828 @endif zlib-bootstrap
34832 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34833 # only possibility, but now it conflicts with no-bootstrap rules
34834 @if gcc-bootstrap
34839 # Rules to wipe a stage and all the following ones, also used for cleanstrap
34840 distclean-stage1:: distclean-stagefeedback
34841 .PHONY: distclean-stagefeedback
34842 distclean-stagefeedback::
34843 [ -f stage_current ] && $(MAKE) `cat stage_current`-end || :
34844 rm -rf stagefeedback-*
34847 @endif gcc-bootstrap
34851 stagefeedback-start::
34852 @r=`${PWD_COMMAND}`; export r; \
34853 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34854 cd stageprofile-gcc && \
34855 { find . -type d | sort | sed 's,.*,$(SHELL) '"$$s"'/mkinstalldirs "../gcc/&",' | $(SHELL); } && \
34856 { find . -name '*.*da' | sed 's,.*,$(LN) -f "&" "../gcc/&",' | $(SHELL); }
34858 # FIXME: Will not need to be conditional when toplevel bootstrap is the
34859 # only possibility, but now it conflicts with no-bootstrap rules
34860 @if gcc-bootstrap
34861 profiledbootstrap:
34862 @r=`${PWD_COMMAND}`; export r; \
34863 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34864 $(SET_LIB_PATH) \
34865 $(HOST_EXPORTS) \
34866 echo "Bootstrapping the compiler"; \
34867 $(MAKE) stageprofile-bubble distclean-stagefeedback
34868 @r=`${PWD_COMMAND}`; export r; \
34869 s=`cd $(srcdir); ${PWD_COMMAND}` ; export s; \
34870 $(SET_LIB_PATH) \
34871 echo "Building runtime libraries and training compiler"; \
34872 $(MAKE) $(BASE_FLAGS_TO_PASS) $(RECURSE_FLAGS) all
34873 @r=`${PWD_COMMAND}`; export r; \
34874 s=`cd $(srcdir); ${PWD_COMMAND}`; export s; \
34875 $(SET_LIB_PATH) \
34876 $(HOST_EXPORTS) \
34877 echo "Building feedback based compiler"; \
34878 $(MAKE) stagefeedback-bubble stagefeedback-end
34879 @endif gcc-bootstrap
34881 @if gcc-bootstrap
34882 NOTPARALLEL = .NOTPARALLEL
34883 $(NOTPARALLEL):
34884 do-distclean: distclean-stage1
34885 @endif gcc-bootstrap
34887 # --------------------------------------
34888 # Dependencies between different modules
34889 # --------------------------------------
34891 # Generic dependencies for target modules on host stuff, especially gcc
34893 configure-target-libstdc++-v3: maybe-all-gcc
34895 configure-target-libmudflap: maybe-all-gcc
34897 configure-target-newlib: maybe-all-gcc
34899 configure-target-libgfortran: maybe-all-gcc
34901 configure-target-libobjc: maybe-all-gcc
34903 configure-target-libtermcap: maybe-all-gcc
34905 configure-target-winsup: maybe-all-gcc
34907 configure-target-libgloss: maybe-all-gcc
34909 configure-target-libiberty: maybe-all-gcc
34911 configure-target-gperf: maybe-all-gcc
34913 configure-target-examples: maybe-all-gcc
34915 configure-target-libffi: maybe-all-gcc
34917 configure-target-libjava: maybe-all-gcc
34919 configure-target-zlib: maybe-all-gcc
34921 configure-target-boehm-gc: maybe-all-gcc
34923 configure-target-qthreads: maybe-all-gcc
34925 configure-target-rda: maybe-all-gcc
34927 configure-target-libada: maybe-all-gcc
34931 configure-target-boehm-gc: maybe-all-target-newlib maybe-all-target-libgloss
34933 configure-target-gperf: maybe-all-target-newlib maybe-all-target-libgloss
34934 configure-target-gperf: maybe-all-target-libstdc++-v3
34936 configure-target-libada: maybe-all-target-newlib maybe-all-target-libgloss
34938 configure-target-libgfortran: maybe-all-target-newlib maybe-all-target-libgloss
34940 configure-target-libffi: maybe-all-target-newlib maybe-all-target-libgloss
34942 configure-target-libjava: maybe-all-target-newlib maybe-all-target-libgloss
34943 configure-target-libjava: maybe-all-target-libstdc++-v3
34945 configure-target-libobjc: maybe-all-target-newlib maybe-all-target-libgloss
34947 configure-target-libstdc++-v3: maybe-all-target-newlib maybe-all-target-libgloss
34949 configure-target-zlib: maybe-all-target-newlib maybe-all-target-libgloss
34951 configure-target-examples: maybe-all-target-newlib maybe-all-target-libgloss
34953 configure-target-libtermcap: maybe-all-target-newlib maybe-all-target-libgloss
34955 configure-target-rda: maybe-all-target-newlib maybe-all-target-libgloss
34957 configure-target-winsup: maybe-all-target-newlib maybe-all-target-libgloss
34959 configure-target-qthreads: maybe-all-target-newlib maybe-all-target-libgloss
34962 # There are two types of dependencies here: 'hard' dependencies, where one
34963 # module simply won't build without the other; and 'soft' dependencies, where
34964 # if the depended-on module is missing, the depending module will do without
34965 # or find a substitute somewhere (perhaps installed). Soft dependencies
34966 # are made here to depend on a 'maybe-' target. If you're not sure,
34967 # it's safer to use a soft dependency.
34973 # With all the machinery above in place, it is pretty easy to generate
34974 # dependencies. Host dependencies are a bit more complex because we have
34975 # to check for bootstrap/prebootstrap dependencies. To resolve
34976 # prebootstrap dependencies, prebootstrap modules are gathered in
34977 # a hash table.
34978 all-build-bison: maybe-all-build-texinfo
34979 all-build-byacc: maybe-all-build-texinfo
34980 all-build-flex: maybe-all-build-texinfo
34981 all-build-flex: maybe-all-build-bison
34982 all-build-flex: maybe-all-build-byacc
34983 all-build-flex: maybe-all-build-m4
34984 all-build-libiberty: maybe-all-build-texinfo
34985 all-build-m4: maybe-all-build-texinfo
34986 all-build-fixincludes: maybe-all-build-libiberty
34987 configure-gcc: maybe-configure-intl
34989 configure-stage1-gcc: maybe-configure-stage1-intl
34990 configure-stage2-gcc: maybe-configure-stage2-intl
34991 configure-stage3-gcc: maybe-configure-stage3-intl
34992 configure-stage4-gcc: maybe-configure-stage4-intl
34993 configure-stageprofile-gcc: maybe-configure-stageprofile-intl
34994 configure-stagefeedback-gcc: maybe-configure-stagefeedback-intl
34995 configure-gcc: maybe-configure-binutils
34997 configure-stage1-gcc: maybe-configure-stage1-binutils
34998 configure-stage2-gcc: maybe-configure-stage2-binutils
34999 configure-stage3-gcc: maybe-configure-stage3-binutils
35000 configure-stage4-gcc: maybe-configure-stage4-binutils
35001 configure-stageprofile-gcc: maybe-configure-stageprofile-binutils
35002 configure-stagefeedback-gcc: maybe-configure-stagefeedback-binutils
35003 configure-gcc: maybe-configure-gas
35005 configure-stage1-gcc: maybe-configure-stage1-gas
35006 configure-stage2-gcc: maybe-configure-stage2-gas
35007 configure-stage3-gcc: maybe-configure-stage3-gas
35008 configure-stage4-gcc: maybe-configure-stage4-gas
35009 configure-stageprofile-gcc: maybe-configure-stageprofile-gas
35010 configure-stagefeedback-gcc: maybe-configure-stagefeedback-gas
35011 configure-gcc: maybe-configure-ld
35013 configure-stage1-gcc: maybe-configure-stage1-ld
35014 configure-stage2-gcc: maybe-configure-stage2-ld
35015 configure-stage3-gcc: maybe-configure-stage3-ld
35016 configure-stage4-gcc: maybe-configure-stage4-ld
35017 configure-stageprofile-gcc: maybe-configure-stageprofile-ld
35018 configure-stagefeedback-gcc: maybe-configure-stagefeedback-ld
35019 all-gcc: all-libiberty
35021 all-stage1-gcc: all-stage1-libiberty
35022 all-stage2-gcc: all-stage2-libiberty
35023 all-stage3-gcc: all-stage3-libiberty
35024 all-stage4-gcc: all-stage4-libiberty
35025 all-stageprofile-gcc: all-stageprofile-libiberty
35026 all-stagefeedback-gcc: all-stagefeedback-libiberty
35027 all-gcc: maybe-all-intl
35029 all-stage1-gcc: maybe-all-stage1-intl
35030 all-stage2-gcc: maybe-all-stage2-intl
35031 all-stage3-gcc: maybe-all-stage3-intl
35032 all-stage4-gcc: maybe-all-stage4-intl
35033 all-stageprofile-gcc: maybe-all-stageprofile-intl
35034 all-stagefeedback-gcc: maybe-all-stagefeedback-intl
35035 all-gcc: maybe-all-build-texinfo
35037 all-stage1-gcc: maybe-all-build-texinfo
35038 all-stage2-gcc: maybe-all-build-texinfo
35039 all-stage3-gcc: maybe-all-build-texinfo
35040 all-stage4-gcc: maybe-all-build-texinfo
35041 all-stageprofile-gcc: maybe-all-build-texinfo
35042 all-stagefeedback-gcc: maybe-all-build-texinfo
35043 all-prebootstrap: maybe-all-build-texinfo
35044 all-gcc: maybe-all-build-bison
35046 all-stage1-gcc: maybe-all-build-bison
35047 all-stage2-gcc: maybe-all-build-bison
35048 all-stage3-gcc: maybe-all-build-bison
35049 all-stage4-gcc: maybe-all-build-bison
35050 all-stageprofile-gcc: maybe-all-build-bison
35051 all-stagefeedback-gcc: maybe-all-build-bison
35052 all-prebootstrap: maybe-all-build-bison
35053 all-gcc: maybe-all-build-byacc
35055 all-stage1-gcc: maybe-all-build-byacc
35056 all-stage2-gcc: maybe-all-build-byacc
35057 all-stage3-gcc: maybe-all-build-byacc
35058 all-stage4-gcc: maybe-all-build-byacc
35059 all-stageprofile-gcc: maybe-all-build-byacc
35060 all-stagefeedback-gcc: maybe-all-build-byacc
35061 all-prebootstrap: maybe-all-build-byacc
35062 all-gcc: maybe-all-build-flex
35064 all-stage1-gcc: maybe-all-build-flex
35065 all-stage2-gcc: maybe-all-build-flex
35066 all-stage3-gcc: maybe-all-build-flex
35067 all-stage4-gcc: maybe-all-build-flex
35068 all-stageprofile-gcc: maybe-all-build-flex
35069 all-stagefeedback-gcc: maybe-all-build-flex
35070 all-prebootstrap: maybe-all-build-flex
35071 all-gcc: maybe-all-build-libiberty
35073 all-stage1-gcc: maybe-all-build-libiberty
35074 all-stage2-gcc: maybe-all-build-libiberty
35075 all-stage3-gcc: maybe-all-build-libiberty
35076 all-stage4-gcc: maybe-all-build-libiberty
35077 all-stageprofile-gcc: maybe-all-build-libiberty
35078 all-stagefeedback-gcc: maybe-all-build-libiberty
35079 all-prebootstrap: maybe-all-build-libiberty
35080 all-gcc: maybe-all-build-fixincludes
35082 all-stage1-gcc: maybe-all-build-fixincludes
35083 all-stage2-gcc: maybe-all-build-fixincludes
35084 all-stage3-gcc: maybe-all-build-fixincludes
35085 all-stage4-gcc: maybe-all-build-fixincludes
35086 all-stageprofile-gcc: maybe-all-build-fixincludes
35087 all-stagefeedback-gcc: maybe-all-build-fixincludes
35088 all-prebootstrap: maybe-all-build-fixincludes
35089 all-gcc: maybe-all-binutils
35091 all-stage1-gcc: maybe-all-stage1-binutils
35092 all-stage2-gcc: maybe-all-stage2-binutils
35093 all-stage3-gcc: maybe-all-stage3-binutils
35094 all-stage4-gcc: maybe-all-stage4-binutils
35095 all-stageprofile-gcc: maybe-all-stageprofile-binutils
35096 all-stagefeedback-gcc: maybe-all-stagefeedback-binutils
35097 all-gcc: maybe-all-gas
35099 all-stage1-gcc: maybe-all-stage1-gas
35100 all-stage2-gcc: maybe-all-stage2-gas
35101 all-stage3-gcc: maybe-all-stage3-gas
35102 all-stage4-gcc: maybe-all-stage4-gas
35103 all-stageprofile-gcc: maybe-all-stageprofile-gas
35104 all-stagefeedback-gcc: maybe-all-stagefeedback-gas
35105 all-gcc: maybe-all-ld
35107 all-stage1-gcc: maybe-all-stage1-ld
35108 all-stage2-gcc: maybe-all-stage2-ld
35109 all-stage3-gcc: maybe-all-stage3-ld
35110 all-stage4-gcc: maybe-all-stage4-ld
35111 all-stageprofile-gcc: maybe-all-stageprofile-ld
35112 all-stagefeedback-gcc: maybe-all-stagefeedback-ld
35113 all-gcc: maybe-all-zlib
35115 all-stage1-gcc: maybe-all-stage1-zlib
35116 all-stage2-gcc: maybe-all-stage2-zlib
35117 all-stage3-gcc: maybe-all-stage3-zlib
35118 all-stage4-gcc: maybe-all-stage4-zlib
35119 all-stageprofile-gcc: maybe-all-stageprofile-zlib
35120 all-stagefeedback-gcc: maybe-all-stagefeedback-zlib
35121 all-gcc: all-libcpp
35123 all-stage1-gcc: all-stage1-libcpp
35124 all-stage2-gcc: all-stage2-libcpp
35125 all-stage3-gcc: all-stage3-libcpp
35126 all-stage4-gcc: all-stage4-libcpp
35127 all-stageprofile-gcc: all-stageprofile-libcpp
35128 all-stagefeedback-gcc: all-stagefeedback-libcpp
35129 all-gcc: maybe-all-libiberty
35131 all-stage1-gcc: maybe-all-stage1-libiberty
35132 all-stage2-gcc: maybe-all-stage2-libiberty
35133 all-stage3-gcc: maybe-all-stage3-libiberty
35134 all-stage4-gcc: maybe-all-stage4-libiberty
35135 all-stageprofile-gcc: maybe-all-stageprofile-libiberty
35136 all-stagefeedback-gcc: maybe-all-stagefeedback-libiberty
35137 all-gcc: maybe-all-fixincludes
35138 install-gcc: maybe-install-fixincludes
35139 configure-libcpp: configure-libiberty
35141 configure-stage1-libcpp: configure-stage1-libiberty
35142 configure-stage2-libcpp: configure-stage2-libiberty
35143 configure-stage3-libcpp: configure-stage3-libiberty
35144 configure-stage4-libcpp: configure-stage4-libiberty
35145 configure-stageprofile-libcpp: configure-stageprofile-libiberty
35146 configure-stagefeedback-libcpp: configure-stagefeedback-libiberty
35147 configure-libcpp: maybe-configure-intl
35149 configure-stage1-libcpp: maybe-configure-stage1-intl
35150 configure-stage2-libcpp: maybe-configure-stage2-intl
35151 configure-stage3-libcpp: maybe-configure-stage3-intl
35152 configure-stage4-libcpp: maybe-configure-stage4-intl
35153 configure-stageprofile-libcpp: maybe-configure-stageprofile-intl
35154 configure-stagefeedback-libcpp: maybe-configure-stagefeedback-intl
35155 all-libcpp: all-libiberty
35157 all-stage1-libcpp: all-stage1-libiberty
35158 all-stage2-libcpp: all-stage2-libiberty
35159 all-stage3-libcpp: all-stage3-libiberty
35160 all-stage4-libcpp: all-stage4-libiberty
35161 all-stageprofile-libcpp: all-stageprofile-libiberty
35162 all-stagefeedback-libcpp: all-stagefeedback-libiberty
35163 all-libcpp: maybe-all-intl
35165 all-stage1-libcpp: maybe-all-stage1-intl
35166 all-stage2-libcpp: maybe-all-stage2-intl
35167 all-stage3-libcpp: maybe-all-stage3-intl
35168 all-stage4-libcpp: maybe-all-stage4-intl
35169 all-stageprofile-libcpp: maybe-all-stageprofile-intl
35170 all-stagefeedback-libcpp: maybe-all-stagefeedback-intl
35171 all-fixincludes: maybe-all-libiberty
35172 all-gnattools: maybe-all-target-libada
35173 configure-gdb: maybe-configure-itcl
35174 configure-gdb: maybe-configure-tcl
35175 configure-gdb: maybe-configure-tk
35176 configure-gdb: maybe-configure-sim
35177 all-gdb: maybe-all-libiberty
35178 all-gdb: maybe-all-opcodes
35179 all-gdb: maybe-all-bfd
35180 all-gdb: maybe-all-readline
35181 all-gdb: maybe-all-build-bison
35182 all-gdb: maybe-all-build-byacc
35183 all-gdb: maybe-all-sim
35184 install-gdb: maybe-install-tcl
35185 install-gdb: maybe-install-tk
35186 install-gdb: maybe-install-itcl
35187 install-gdb: maybe-install-libgui
35188 configure-libgui: maybe-configure-tcl
35189 configure-libgui: maybe-configure-tk
35190 all-libgui: maybe-all-tcl
35191 all-libgui: maybe-all-tk
35192 all-libgui: maybe-all-itcl
35193 configure-bfd: configure-libiberty
35195 configure-stage1-bfd: configure-stage1-libiberty
35196 configure-stage2-bfd: configure-stage2-libiberty
35197 configure-stage3-bfd: configure-stage3-libiberty
35198 configure-stage4-bfd: configure-stage4-libiberty
35199 configure-stageprofile-bfd: configure-stageprofile-libiberty
35200 configure-stagefeedback-bfd: configure-stagefeedback-libiberty
35201 all-bfd: maybe-all-libiberty
35203 all-stage1-bfd: maybe-all-stage1-libiberty
35204 all-stage2-bfd: maybe-all-stage2-libiberty
35205 all-stage3-bfd: maybe-all-stage3-libiberty
35206 all-stage4-bfd: maybe-all-stage4-libiberty
35207 all-stageprofile-bfd: maybe-all-stageprofile-libiberty
35208 all-stagefeedback-bfd: maybe-all-stagefeedback-libiberty
35209 all-bfd: maybe-all-intl
35211 all-stage1-bfd: maybe-all-stage1-intl
35212 all-stage2-bfd: maybe-all-stage2-intl
35213 all-stage3-bfd: maybe-all-stage3-intl
35214 all-stage4-bfd: maybe-all-stage4-intl
35215 all-stageprofile-bfd: maybe-all-stageprofile-intl
35216 all-stagefeedback-bfd: maybe-all-stagefeedback-intl
35217 all-binutils: maybe-all-libiberty
35219 all-stage1-binutils: maybe-all-stage1-libiberty
35220 all-stage2-binutils: maybe-all-stage2-libiberty
35221 all-stage3-binutils: maybe-all-stage3-libiberty
35222 all-stage4-binutils: maybe-all-stage4-libiberty
35223 all-stageprofile-binutils: maybe-all-stageprofile-libiberty
35224 all-stagefeedback-binutils: maybe-all-stagefeedback-libiberty
35225 all-binutils: maybe-all-opcodes
35227 all-stage1-binutils: maybe-all-stage1-opcodes
35228 all-stage2-binutils: maybe-all-stage2-opcodes
35229 all-stage3-binutils: maybe-all-stage3-opcodes
35230 all-stage4-binutils: maybe-all-stage4-opcodes
35231 all-stageprofile-binutils: maybe-all-stageprofile-opcodes
35232 all-stagefeedback-binutils: maybe-all-stagefeedback-opcodes
35233 all-binutils: maybe-all-bfd
35235 all-stage1-binutils: maybe-all-stage1-bfd
35236 all-stage2-binutils: maybe-all-stage2-bfd
35237 all-stage3-binutils: maybe-all-stage3-bfd
35238 all-stage4-binutils: maybe-all-stage4-bfd
35239 all-stageprofile-binutils: maybe-all-stageprofile-bfd
35240 all-stagefeedback-binutils: maybe-all-stagefeedback-bfd
35241 all-binutils: maybe-all-build-flex
35243 all-stage1-binutils: maybe-all-build-flex
35244 all-stage2-binutils: maybe-all-build-flex
35245 all-stage3-binutils: maybe-all-build-flex
35246 all-stage4-binutils: maybe-all-build-flex
35247 all-stageprofile-binutils: maybe-all-build-flex
35248 all-stagefeedback-binutils: maybe-all-build-flex
35249 all-prebootstrap: maybe-all-build-flex
35250 all-binutils: maybe-all-build-bison
35252 all-stage1-binutils: maybe-all-build-bison
35253 all-stage2-binutils: maybe-all-build-bison
35254 all-stage3-binutils: maybe-all-build-bison
35255 all-stage4-binutils: maybe-all-build-bison
35256 all-stageprofile-binutils: maybe-all-build-bison
35257 all-stagefeedback-binutils: maybe-all-build-bison
35258 all-prebootstrap: maybe-all-build-bison
35259 all-binutils: maybe-all-build-byacc
35261 all-stage1-binutils: maybe-all-build-byacc
35262 all-stage2-binutils: maybe-all-build-byacc
35263 all-stage3-binutils: maybe-all-build-byacc
35264 all-stage4-binutils: maybe-all-build-byacc
35265 all-stageprofile-binutils: maybe-all-build-byacc
35266 all-stagefeedback-binutils: maybe-all-build-byacc
35267 all-prebootstrap: maybe-all-build-byacc
35268 all-binutils: maybe-all-intl
35270 all-stage1-binutils: maybe-all-stage1-intl
35271 all-stage2-binutils: maybe-all-stage2-intl
35272 all-stage3-binutils: maybe-all-stage3-intl
35273 all-stage4-binutils: maybe-all-stage4-intl
35274 all-stageprofile-binutils: maybe-all-stageprofile-intl
35275 all-stagefeedback-binutils: maybe-all-stagefeedback-intl
35276 install-binutils: maybe-install-opcodes
35277 install-opcodes: maybe-install-bfd
35278 all-gas: maybe-all-libiberty
35280 all-stage1-gas: maybe-all-stage1-libiberty
35281 all-stage2-gas: maybe-all-stage2-libiberty
35282 all-stage3-gas: maybe-all-stage3-libiberty
35283 all-stage4-gas: maybe-all-stage4-libiberty
35284 all-stageprofile-gas: maybe-all-stageprofile-libiberty
35285 all-stagefeedback-gas: maybe-all-stagefeedback-libiberty
35286 all-gas: maybe-all-opcodes
35288 all-stage1-gas: maybe-all-stage1-opcodes
35289 all-stage2-gas: maybe-all-stage2-opcodes
35290 all-stage3-gas: maybe-all-stage3-opcodes
35291 all-stage4-gas: maybe-all-stage4-opcodes
35292 all-stageprofile-gas: maybe-all-stageprofile-opcodes
35293 all-stagefeedback-gas: maybe-all-stagefeedback-opcodes
35294 all-gas: maybe-all-bfd
35296 all-stage1-gas: maybe-all-stage1-bfd
35297 all-stage2-gas: maybe-all-stage2-bfd
35298 all-stage3-gas: maybe-all-stage3-bfd
35299 all-stage4-gas: maybe-all-stage4-bfd
35300 all-stageprofile-gas: maybe-all-stageprofile-bfd
35301 all-stagefeedback-gas: maybe-all-stagefeedback-bfd
35302 all-gas: maybe-all-intl
35304 all-stage1-gas: maybe-all-stage1-intl
35305 all-stage2-gas: maybe-all-stage2-intl
35306 all-stage3-gas: maybe-all-stage3-intl
35307 all-stage4-gas: maybe-all-stage4-intl
35308 all-stageprofile-gas: maybe-all-stageprofile-intl
35309 all-stagefeedback-gas: maybe-all-stagefeedback-intl
35310 all-gprof: maybe-all-libiberty
35311 all-gprof: maybe-all-bfd
35312 all-gprof: maybe-all-opcodes
35313 all-gprof: maybe-all-intl
35314 all-ld: maybe-all-libiberty
35316 all-stage1-ld: maybe-all-stage1-libiberty
35317 all-stage2-ld: maybe-all-stage2-libiberty
35318 all-stage3-ld: maybe-all-stage3-libiberty
35319 all-stage4-ld: maybe-all-stage4-libiberty
35320 all-stageprofile-ld: maybe-all-stageprofile-libiberty
35321 all-stagefeedback-ld: maybe-all-stagefeedback-libiberty
35322 all-ld: maybe-all-bfd
35324 all-stage1-ld: maybe-all-stage1-bfd
35325 all-stage2-ld: maybe-all-stage2-bfd
35326 all-stage3-ld: maybe-all-stage3-bfd
35327 all-stage4-ld: maybe-all-stage4-bfd
35328 all-stageprofile-ld: maybe-all-stageprofile-bfd
35329 all-stagefeedback-ld: maybe-all-stagefeedback-bfd
35330 all-ld: maybe-all-opcodes
35332 all-stage1-ld: maybe-all-stage1-opcodes
35333 all-stage2-ld: maybe-all-stage2-opcodes
35334 all-stage3-ld: maybe-all-stage3-opcodes
35335 all-stage4-ld: maybe-all-stage4-opcodes
35336 all-stageprofile-ld: maybe-all-stageprofile-opcodes
35337 all-stagefeedback-ld: maybe-all-stagefeedback-opcodes
35338 all-ld: maybe-all-build-bison
35340 all-stage1-ld: maybe-all-build-bison
35341 all-stage2-ld: maybe-all-build-bison
35342 all-stage3-ld: maybe-all-build-bison
35343 all-stage4-ld: maybe-all-build-bison
35344 all-stageprofile-ld: maybe-all-build-bison
35345 all-stagefeedback-ld: maybe-all-build-bison
35346 all-prebootstrap: maybe-all-build-bison
35347 all-ld: maybe-all-build-byacc
35349 all-stage1-ld: maybe-all-build-byacc
35350 all-stage2-ld: maybe-all-build-byacc
35351 all-stage3-ld: maybe-all-build-byacc
35352 all-stage4-ld: maybe-all-build-byacc
35353 all-stageprofile-ld: maybe-all-build-byacc
35354 all-stagefeedback-ld: maybe-all-build-byacc
35355 all-prebootstrap: maybe-all-build-byacc
35356 all-ld: maybe-all-build-flex
35358 all-stage1-ld: maybe-all-build-flex
35359 all-stage2-ld: maybe-all-build-flex
35360 all-stage3-ld: maybe-all-build-flex
35361 all-stage4-ld: maybe-all-build-flex
35362 all-stageprofile-ld: maybe-all-build-flex
35363 all-stagefeedback-ld: maybe-all-build-flex
35364 all-prebootstrap: maybe-all-build-flex
35365 all-ld: maybe-all-intl
35367 all-stage1-ld: maybe-all-stage1-intl
35368 all-stage2-ld: maybe-all-stage2-intl
35369 all-stage3-ld: maybe-all-stage3-intl
35370 all-stage4-ld: maybe-all-stage4-intl
35371 all-stageprofile-ld: maybe-all-stageprofile-intl
35372 all-stagefeedback-ld: maybe-all-stagefeedback-intl
35373 all-opcodes: maybe-all-bfd
35375 all-stage1-opcodes: maybe-all-stage1-bfd
35376 all-stage2-opcodes: maybe-all-stage2-bfd
35377 all-stage3-opcodes: maybe-all-stage3-bfd
35378 all-stage4-opcodes: maybe-all-stage4-bfd
35379 all-stageprofile-opcodes: maybe-all-stageprofile-bfd
35380 all-stagefeedback-opcodes: maybe-all-stagefeedback-bfd
35381 all-opcodes: maybe-all-libiberty
35383 all-stage1-opcodes: maybe-all-stage1-libiberty
35384 all-stage2-opcodes: maybe-all-stage2-libiberty
35385 all-stage3-opcodes: maybe-all-stage3-libiberty
35386 all-stage4-opcodes: maybe-all-stage4-libiberty
35387 all-stageprofile-opcodes: maybe-all-stageprofile-libiberty
35388 all-stagefeedback-opcodes: maybe-all-stagefeedback-libiberty
35389 all-dejagnu: maybe-all-tcl
35390 all-dejagnu: maybe-all-expect
35391 all-dejagnu: maybe-all-tk
35392 configure-expect: maybe-configure-tcl
35393 configure-expect: maybe-configure-tk
35394 all-expect: maybe-all-tcl
35395 all-expect: maybe-all-tk
35396 configure-itcl: maybe-configure-tcl
35397 configure-itcl: maybe-configure-tk
35398 all-itcl: maybe-all-tcl
35399 all-itcl: maybe-all-tk
35400 install-itcl: maybe-install-tcl
35401 configure-tk: maybe-configure-tcl
35402 all-tk: maybe-all-tcl
35403 all-sid: maybe-all-libiberty
35404 all-sid: maybe-all-bfd
35405 all-sid: maybe-all-opcodes
35406 all-sid: maybe-all-tcl
35407 all-sid: maybe-all-tk
35408 install-sid: maybe-install-tcl
35409 install-sid: maybe-install-tk
35410 all-sim: maybe-all-libiberty
35411 all-sim: maybe-all-bfd
35412 all-sim: maybe-all-opcodes
35413 all-sim: maybe-all-readline
35414 all-sim: maybe-configure-gdb
35415 all-fastjar: maybe-all-zlib
35416 all-fastjar: maybe-all-build-texinfo
35417 all-fastjar: maybe-all-libiberty
35418 all-autoconf: maybe-all-m4
35419 all-autoconf: maybe-all-build-texinfo
35420 all-automake: maybe-all-m4
35421 all-automake: maybe-all-build-texinfo
35422 all-automake: maybe-all-autoconf
35423 all-bison: maybe-all-intl
35424 all-bison: maybe-all-build-texinfo
35425 all-diff: maybe-all-intl
35426 all-diff: maybe-all-build-texinfo
35427 all-fileutils: maybe-all-intl
35428 all-fileutils: maybe-all-build-texinfo
35429 all-flex: maybe-all-build-bison
35430 all-flex: maybe-all-build-byacc
35431 all-flex: maybe-all-intl
35432 all-flex: maybe-all-m4
35433 all-flex: maybe-all-build-texinfo
35434 all-gzip: maybe-all-intl
35435 all-gzip: maybe-all-zlib
35436 all-gzip: maybe-all-build-texinfo
35437 all-hello: maybe-all-intl
35438 all-hello: maybe-all-build-texinfo
35439 all-m4: maybe-all-intl
35440 all-m4: maybe-all-build-texinfo
35441 all-make: maybe-all-intl
35442 all-make: maybe-all-build-texinfo
35443 all-patch: maybe-all-build-texinfo
35444 all-make: maybe-all-build-texinfo
35445 all-prms: maybe-all-libiberty
35446 all-recode: maybe-all-build-texinfo
35447 all-sed: maybe-all-build-texinfo
35448 all-send-pr: maybe-all-prms
35449 all-tar: maybe-all-build-texinfo
35450 all-uudecode: maybe-all-build-texinfo
35451 configure-target-boehm-gc: maybe-configure-target-qthreads
35452 configure-target-fastjar: maybe-configure-target-zlib
35453 all-target-fastjar: maybe-all-target-zlib
35454 all-target-fastjar: maybe-all-target-libiberty
35455 configure-target-libjava: maybe-configure-target-zlib
35456 configure-target-libjava: maybe-configure-target-boehm-gc
35457 configure-target-libjava: maybe-configure-target-qthreads
35458 configure-target-libjava: maybe-configure-target-libffi
35459 all-target-libjava: maybe-all-fastjar
35460 all-target-libjava: maybe-all-target-zlib
35461 all-target-libjava: maybe-all-target-boehm-gc
35462 all-target-libjava: maybe-all-target-qthreads
35463 all-target-libjava: maybe-all-target-libffi
35464 all-target-libobjc: maybe-all-target-libiberty
35465 all-target-libstdc++-v3: maybe-all-target-libiberty
35466 all-target-libgloss: maybe-configure-target-newlib
35467 all-target-winsup: maybe-all-target-libiberty
35468 all-target-winsup: maybe-all-target-libtermcap
35471 # Non-toplevel bootstrap rules must depend on several packages, to be built
35472 # before gcc. Another wart that will go away, hopefully soon.
35473 @if gcc-no-bootstrap
35475 all-prebootstrap: maybe-all-bfd
35476 all-prebootstrap: maybe-all-opcodes
35477 all-prebootstrap: maybe-all-binutils
35478 all-prebootstrap: maybe-all-gas
35479 all-prebootstrap: maybe-all-intl
35480 all-prebootstrap: maybe-all-ld
35481 all-prebootstrap: maybe-all-libcpp
35482 all-prebootstrap: maybe-all-libiberty
35483 all-prebootstrap: maybe-all-zlib
35484 @endif gcc-no-bootstrap
35486 GDB_TK = @GDB_TK@
35487 all-gdb: $(gdbnlmrequirements) $(GDB_TK)
35489 # Serialization dependencies. Host configures don't work well in parallel to
35490 # each other, due to contention over config.cache. Target configures and
35491 # build configures are similar.
35492 @serialization_dependencies@
35494 # --------------------------------
35495 # Regenerating top level configury
35496 # --------------------------------
35498 # Multilib.out tells target dirs what multilibs they should build.
35499 # There is really only one copy. We use the 'timestamp' method to
35500 # work around various timestamp bugs on some systems.
35501 # We use move-if-change so that it's only considered updated when it
35502 # actually changes, because it has to depend on a phony target.
35503 multilib.out: maybe-all-gcc
35504 @r=`${PWD_COMMAND}`; export r; \
35505 echo "Checking multilib configuration..."; \
35506 $(CC_FOR_TARGET) --print-multi-lib > multilib.tmp 2> /dev/null ; \
35507 $(SHELL) $(srcdir)/move-if-change multilib.tmp multilib.out ; \
35509 # Rebuilding Makefile.in, using autogen.
35510 AUTOGEN = autogen
35511 $(srcdir)/Makefile.in: @MAINT@ $(srcdir)/Makefile.tpl $(srcdir)/Makefile.def
35512 cd $(srcdir) && $(AUTOGEN) Makefile.def
35514 # Rebuilding Makefile.
35515 Makefile: $(srcdir)/Makefile.in config.status
35516 CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
35518 config.status: configure $(gcc_version_trigger)
35519 CONFIG_SHELL="$(SHELL)" $(SHELL) ./config.status --recheck
35521 # Rebuilding configure.
35522 AUTOCONF = autoconf
35523 $(srcdir)/configure: @MAINT@ $(srcdir)/configure.in $(srcdir)/config/acx.m4
35524 cd $(srcdir) && $(AUTOCONF)
35526 # ------------------------------
35527 # Special directives to GNU Make
35528 # ------------------------------
35530 # Don't pass command-line variables to submakes.
35531 .NOEXPORT:
35532 MAKEOVERRIDES=
35534 # end of Makefile.in